var e = require("@babel/runtime/helpers/interopRequireDefault.js")(require("@babel/runtime/helpers/typeof.js"));
(global.webpackJsonp = global.webpackJsonp || []).push([ [ "common/vendor" ], [
/*!************************************************************!*\
!*** ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js ***!
\************************************************************/
/*! no static exports found */
/*!**********************************************************************************************************!*\
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js ***!
\**********************************************************************************************************/
/*! exports provided: default */
/*!********************************!*\
!*** ./src/utils/wxSaveImg.js ***!
\********************************/
/*! no static exports found */
, function(e, t, n) {
Object.defineProperty(t, "__esModule", {
value: !0
}), t.createApp = ze, t.createComponent = Ze, t.createPage = Qe, t.createPlugin = tt,
t.createSubpackageApp = et, t.default = void 0;
var r, o = (r = n(
/*! vue */
2)) && r.__esModule ? r : {
default: r
};
function i(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
t && (r = r.filter(function(t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable;
})), n.push.apply(n, r);
}
return n;
}
function a(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {};
t % 2 ? i(Object(n), !0).forEach(function(t) {
c(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
function s(e, t) {
return function(e) {
if (Array.isArray(e)) return e;
}(e) || function(e, t) {
var n = null == e ? null : "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
if (null != n) {
var r, o, i = [], a = !0, s = !1;
try {
for (n = n.call(e); !(a = (r = n.next()).done) && (i.push(r.value), !t || i.length !== t); a = !0) ;
} catch (e) {
s = !0, o = e;
} finally {
try {
a || null == n.return || n.return();
} finally {
if (s) throw o;
}
}
return i;
}
}(e, t) || f(e, t) || function() {
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 c(e, t, n) {
return t in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
function u(e) {
return function(e) {
if (Array.isArray(e)) return l(e);
}(e) || function(e) {
if ("undefined" != typeof Symbol && null != e[Symbol.iterator] || null != e["@@iterator"]) return Array.from(e);
}(e) || f(e) || function() {
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 f(e, t) {
if (e) {
if ("string" == typeof e) return l(e, t);
var n = Object.prototype.toString.call(e).slice(8, -1);
return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? l(e, t) : void 0;
}
}
function l(e, t) {
(null == t || t > e.length) && (t = e.length);
for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
return r;
}
function p(e) {
return (p = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
return typeof e;
} : function(e) {
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
})(e);
}
function d() {
var e, t, n = wx.getStorageSync("uni_id_token") || "", r = n.split(".");
if (!n || 3 !== r.length) return {
uid: null,
role: [],
permission: [],
tokenExpired: 0
};
try {
e = JSON.parse((t = r[1], decodeURIComponent(atob(t).split("").map(function(e) {
return "%" + ("00" + e.charCodeAt(0).toString(16)).slice(-2);
}).join(""))));
} catch (e) {
throw new Error("获取当前用户信息出错,详细错误信息为:" + e.message);
}
return e.tokenExpired = 1e3 * e.exp, delete e.exp, delete e.iat, e;
}
var h = Object.prototype.toString, v = Object.prototype.hasOwnProperty;
function y(e) {
return "function" == typeof e;
}
function _(e) {
return "string" == typeof e;
}
function m(e) {
return "[object Object]" === h.call(e);
}
function g(e, t) {
return v.call(e, t);
}
function b() {}
function $(e) {
var t = Object.create(null);
return function(n) {
return t[n] || (t[n] = e(n));
};
}
var w = /-(\w)/g, A = $(function(e) {
return e.replace(w, function(e, t) {
return t ? t.toUpperCase() : "";
});
}), O = [ "invoke", "success", "fail", "complete", "returnValue" ], x = {}, j = {};
function S(e, t) {
Object.keys(t).forEach(function(n) {
var r, o, i;
-1 !== O.indexOf(n) && y(t[n]) && (e[n] = (r = e[n], (i = (o = t[n]) ? r ? r.concat(o) : Array.isArray(o) ? o : [ o ] : r) ? function(e) {
for (var t = [], n = 0; n < e.length; n++) -1 === t.indexOf(e[n]) && t.push(e[n]);
return t;
}(i) : i));
});
}
function k(e, t) {
e && t && Object.keys(t).forEach(function(n) {
-1 !== O.indexOf(n) && y(t[n]) && function(e, t) {
var n = e.indexOf(t);
-1 !== n && e.splice(n, 1);
}(e[n], t[n]);
});
}
function P(e) {
return function(t) {
return e(t) || t;
};
}
function E(e) {
return !!e && ("object" === p(e) || "function" == typeof e) && "function" == typeof e.then;
}
function C(e, t) {
for (var n = !1, r = 0; r < e.length; r++) {
var o = e[r];
if (n) n = Promise.resolve(P(o)); else {
var i = o(t);
if (E(i) && (n = Promise.resolve(i)), !1 === i) return {
then: function() {}
};
}
}
return n || {
then: function(e) {
return e(t);
}
};
}
function I(e) {
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
return [ "success", "fail", "complete" ].forEach(function(n) {
if (Array.isArray(e[n])) {
var r = t[n];
t[n] = function(t) {
C(e[n], t).then(function(e) {
return y(r) && r(e) || e;
});
};
}
}), t;
}
function D(e, t) {