@das-fed/utils 6.4.0-test.2.1 → 6.4.0-test.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api-services/i18n/index.d.ts +53 -0
- package/api-services/i18n/index.js +27 -0
- package/api-services/i18n/index.js.gz +0 -0
- package/api-services/index.js +1092 -1019
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/index.js +876 -833
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/index.js +876 -833
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/index.js +879 -836
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/contract/index.js +876 -833
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/index.js +886 -843
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/index.js +876 -833
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/file/index.d.ts +1 -0
- package/api-services/modules/file/index.js +2978 -154
- package/api-services/modules/file/index.js.gz +0 -0
- package/api-services/modules/gateway-edge/index.js +876 -833
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/index.js +1044 -996
- package/api-services/modules/index.js.gz +0 -0
- package/api-services/modules/iot/index.d.ts +1 -0
- package/api-services/modules/iot/index.js +917 -873
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/justauth/index.js +877 -834
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/knowledge/index.js +886 -843
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/index.js +876 -833
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/index.js +876 -833
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/index.js +846 -803
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/index.js +876 -833
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/space-manage/index.js +876 -833
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/super-admin/index.js +897 -854
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplier/index.js +883 -840
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/index.js +876 -833
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/api-services/modules/systemConfiguration/index.js +876 -833
- package/api-services/modules/systemConfiguration/index.js.gz +0 -0
- package/api-services/modules/tool/index.js +876 -833
- package/api-services/modules/tool/index.js.gz +0 -0
- package/api-services/src/create-service/index.js +874 -831
- package/api-services/src/create-service/index.js.gz +0 -0
- package/common-info/index.d.ts +9 -3
- package/common-info/index.js +110 -55
- package/common-info/index.js.gz +0 -0
- package/common-info/set-personal-info/index.js +16 -12
- package/common-info/set-personal-info/index.js.gz +0 -0
- package/common-info/type.d.ts +116 -6
- package/common-tools/calc-text-width/index.d.ts +1 -0
- package/common-tools/calc-text-width/index.js +10 -0
- package/common-tools/index.d.ts +2 -0
- package/common-tools/index.js +2 -0
- package/common-tools/nest-tree-format/index.d.ts +1 -1
- package/common-tools/nest-tree-format/index.js +15 -15
- package/common-tools/update-browser-title/index.d.ts +1 -0
- package/common-tools/update-browser-title/index.js +12 -0
- package/create-api-service/i18n/index.d.ts +33 -0
- package/create-api-service/i18n/index.js +15 -0
- package/create-api-service/index.js +874 -831
- package/create-api-service/index.js.gz +0 -0
- package/create-api-service/sso/index.d.ts +0 -2
- package/create-api-service/sso/index.js +716 -620
- package/create-api-service/sso/index.js.gz +0 -0
- package/directive/hoverInside/index.d.ts +1 -1
- package/dom-check-in/index.js +2 -2
- package/dom-watcher/index.d.ts +1 -1
- package/esm-map.json +6 -2
- package/package.json +4 -3
- package/token-tools/index.d.ts +6 -6
- package/token-tools/index.js +8 -84
- package/token-tools/index.js.gz +0 -0
|
@@ -1,129 +1,129 @@
|
|
|
1
|
-
import { unref as
|
|
2
|
-
import { encryption as
|
|
3
|
-
import { getConfig as
|
|
4
|
-
import { getUrlParams as
|
|
5
|
-
import { getAccessToken as L,
|
|
6
|
-
import { setProcessEngineToken as
|
|
7
|
-
import { setPersonalInfo as
|
|
8
|
-
function
|
|
1
|
+
import { unref as ht, getCurrentScope as mt, onScopeDispose as yt, ref as V, watch as le } from "vue";
|
|
2
|
+
import { encryption as wt } from "@das-fed/utils/atob";
|
|
3
|
+
import { getConfig as fe } from "@das-fed/utils/config";
|
|
4
|
+
import { getUrlParams as Be, funcUrlDel as Et } from "@das-fed/utils/common-tools";
|
|
5
|
+
import { getAccessToken as L, getAccessTokenInfo as X, setAccessToken as gt, removeAccessToken as bt } from "@das-fed/utils/token-tools";
|
|
6
|
+
import { setProcessEngineToken as St, removeProcessEngineToken as Ot } from "@das-fed/utils/process-engine-info";
|
|
7
|
+
import { setPersonalInfo as Ie } from "@das-fed/utils/common-info/set-personal-info";
|
|
8
|
+
function je(e, t) {
|
|
9
9
|
return function() {
|
|
10
10
|
return e.apply(t, arguments);
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
-
const { toString:
|
|
14
|
-
const n =
|
|
13
|
+
const { toString: Rt } = Object.prototype, { getPrototypeOf: de } = Object, W = /* @__PURE__ */ ((e) => (t) => {
|
|
14
|
+
const n = Rt.call(t);
|
|
15
15
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
16
|
-
})(/* @__PURE__ */ Object.create(null)),
|
|
17
|
-
function
|
|
18
|
-
return e !== null && !
|
|
16
|
+
})(/* @__PURE__ */ Object.create(null)), T = (e) => (e = e.toLowerCase(), (t) => W(t) === e), K = (e) => (t) => typeof t === e, { isArray: U } = Array, v = K("undefined");
|
|
17
|
+
function Tt(e) {
|
|
18
|
+
return e !== null && !v(e) && e.constructor !== null && !v(e.constructor) && S(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
19
19
|
}
|
|
20
|
-
const
|
|
21
|
-
function
|
|
20
|
+
const He = T("ArrayBuffer");
|
|
21
|
+
function At(e) {
|
|
22
22
|
let t;
|
|
23
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer &&
|
|
23
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && He(e.buffer), t;
|
|
24
24
|
}
|
|
25
|
-
const
|
|
26
|
-
if (
|
|
25
|
+
const _t = K("string"), S = K("function"), Me = K("number"), Q = (e) => e !== null && typeof e == "object", kt = (e) => e === !0 || e === !1, $ = (e) => {
|
|
26
|
+
if (W(e) !== "object")
|
|
27
27
|
return !1;
|
|
28
|
-
const t =
|
|
28
|
+
const t = de(e);
|
|
29
29
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
30
|
-
},
|
|
30
|
+
}, xt = T("Date"), Pt = T("File"), Ct = T("Blob"), Nt = T("FileList"), Ut = (e) => Q(e) && S(e.pipe), Dt = (e) => {
|
|
31
31
|
let t;
|
|
32
|
-
return e && (typeof FormData == "function" && e instanceof FormData ||
|
|
33
|
-
t === "object" &&
|
|
34
|
-
},
|
|
35
|
-
function
|
|
32
|
+
return e && (typeof FormData == "function" && e instanceof FormData || S(e.append) && ((t = W(e)) === "formdata" || // detect form-data instance
|
|
33
|
+
t === "object" && S(e.toString) && e.toString() === "[object FormData]"));
|
|
34
|
+
}, Ft = T("URLSearchParams"), Lt = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
35
|
+
function H(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
36
36
|
if (e === null || typeof e > "u")
|
|
37
37
|
return;
|
|
38
|
-
let r,
|
|
38
|
+
let r, o;
|
|
39
39
|
if (typeof e != "object" && (e = [e]), U(e))
|
|
40
|
-
for (r = 0,
|
|
40
|
+
for (r = 0, o = e.length; r < o; r++)
|
|
41
41
|
t.call(null, e[r], r, e);
|
|
42
42
|
else {
|
|
43
|
-
const
|
|
43
|
+
const s = n ? Object.getOwnPropertyNames(e) : Object.keys(e), i = s.length;
|
|
44
44
|
let c;
|
|
45
45
|
for (r = 0; r < i; r++)
|
|
46
|
-
c =
|
|
46
|
+
c = s[r], t.call(null, e[c], c, e);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function qe(e, t) {
|
|
50
50
|
t = t.toLowerCase();
|
|
51
51
|
const n = Object.keys(e);
|
|
52
|
-
let r = n.length,
|
|
52
|
+
let r = n.length, o;
|
|
53
53
|
for (; r-- > 0; )
|
|
54
|
-
if (
|
|
55
|
-
return
|
|
54
|
+
if (o = n[r], t === o.toLowerCase())
|
|
55
|
+
return o;
|
|
56
56
|
return null;
|
|
57
57
|
}
|
|
58
|
-
const
|
|
59
|
-
function
|
|
60
|
-
const { caseless: e } =
|
|
61
|
-
const
|
|
62
|
-
|
|
58
|
+
const ze = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, $e = (e) => !v(e) && e !== ze;
|
|
59
|
+
function ne() {
|
|
60
|
+
const { caseless: e } = $e(this) && this || {}, t = {}, n = (r, o) => {
|
|
61
|
+
const s = e && qe(t, o) || o;
|
|
62
|
+
$(t[s]) && $(r) ? t[s] = ne(t[s], r) : $(r) ? t[s] = ne({}, r) : U(r) ? t[s] = r.slice() : t[s] = r;
|
|
63
63
|
};
|
|
64
|
-
for (let r = 0,
|
|
65
|
-
arguments[r] &&
|
|
64
|
+
for (let r = 0, o = arguments.length; r < o; r++)
|
|
65
|
+
arguments[r] && H(arguments[r], n);
|
|
66
66
|
return t;
|
|
67
67
|
}
|
|
68
|
-
const
|
|
69
|
-
n &&
|
|
70
|
-
}, { allOwnKeys: r }), e),
|
|
68
|
+
const vt = (e, t, n, { allOwnKeys: r } = {}) => (H(t, (o, s) => {
|
|
69
|
+
n && S(o) ? e[s] = je(o, n) : e[s] = o;
|
|
70
|
+
}, { allOwnKeys: r }), e), Bt = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), It = (e, t, n, r) => {
|
|
71
71
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
72
72
|
value: t.prototype
|
|
73
73
|
}), n && Object.assign(e.prototype, n);
|
|
74
|
-
},
|
|
75
|
-
let
|
|
74
|
+
}, jt = (e, t, n, r) => {
|
|
75
|
+
let o, s, i;
|
|
76
76
|
const c = {};
|
|
77
77
|
if (t = t || {}, e == null) return t;
|
|
78
78
|
do {
|
|
79
|
-
for (
|
|
80
|
-
i = s
|
|
81
|
-
e = n !== !1 &&
|
|
79
|
+
for (o = Object.getOwnPropertyNames(e), s = o.length; s-- > 0; )
|
|
80
|
+
i = o[s], (!r || r(i, e, t)) && !c[i] && (t[i] = e[i], c[i] = !0);
|
|
81
|
+
e = n !== !1 && de(e);
|
|
82
82
|
} while (e && (!n || n(e, t)) && e !== Object.prototype);
|
|
83
83
|
return t;
|
|
84
|
-
},
|
|
84
|
+
}, Ht = (e, t, n) => {
|
|
85
85
|
e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
|
|
86
86
|
const r = e.indexOf(t, n);
|
|
87
87
|
return r !== -1 && r === n;
|
|
88
|
-
},
|
|
88
|
+
}, Mt = (e) => {
|
|
89
89
|
if (!e) return null;
|
|
90
90
|
if (U(e)) return e;
|
|
91
91
|
let t = e.length;
|
|
92
|
-
if (!
|
|
92
|
+
if (!Me(t)) return null;
|
|
93
93
|
const n = new Array(t);
|
|
94
94
|
for (; t-- > 0; )
|
|
95
95
|
n[t] = e[t];
|
|
96
96
|
return n;
|
|
97
|
-
},
|
|
97
|
+
}, qt = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && de(Uint8Array)), zt = (e, t) => {
|
|
98
98
|
const r = (e && e[Symbol.iterator]).call(e);
|
|
99
|
-
let
|
|
100
|
-
for (; (
|
|
101
|
-
const
|
|
102
|
-
t.call(e,
|
|
99
|
+
let o;
|
|
100
|
+
for (; (o = r.next()) && !o.done; ) {
|
|
101
|
+
const s = o.value;
|
|
102
|
+
t.call(e, s[0], s[1]);
|
|
103
103
|
}
|
|
104
|
-
},
|
|
104
|
+
}, $t = (e, t) => {
|
|
105
105
|
let n;
|
|
106
106
|
const r = [];
|
|
107
107
|
for (; (n = e.exec(t)) !== null; )
|
|
108
108
|
r.push(n);
|
|
109
109
|
return r;
|
|
110
|
-
},
|
|
110
|
+
}, Jt = T("HTMLFormElement"), Vt = (e) => e.toLowerCase().replace(
|
|
111
111
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
112
|
-
function(n, r,
|
|
113
|
-
return r.toUpperCase() +
|
|
112
|
+
function(n, r, o) {
|
|
113
|
+
return r.toUpperCase() + o;
|
|
114
114
|
}
|
|
115
|
-
),
|
|
115
|
+
), we = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Wt = T("RegExp"), Je = (e, t) => {
|
|
116
116
|
const n = Object.getOwnPropertyDescriptors(e), r = {};
|
|
117
|
-
|
|
117
|
+
H(n, (o, s) => {
|
|
118
118
|
let i;
|
|
119
|
-
(i = t(
|
|
119
|
+
(i = t(o, s, e)) !== !1 && (r[s] = i || o);
|
|
120
120
|
}), Object.defineProperties(e, r);
|
|
121
|
-
},
|
|
122
|
-
|
|
123
|
-
if (
|
|
121
|
+
}, Kt = (e) => {
|
|
122
|
+
Je(e, (t, n) => {
|
|
123
|
+
if (S(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
124
124
|
return !1;
|
|
125
125
|
const r = e[n];
|
|
126
|
-
if (
|
|
126
|
+
if (S(r)) {
|
|
127
127
|
if (t.enumerable = !1, "writable" in t) {
|
|
128
128
|
t.writable = !1;
|
|
129
129
|
return;
|
|
@@ -133,101 +133,101 @@ const Ut = (e, t, n, { allOwnKeys: r } = {}) => (v(t, (s, o) => {
|
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
135
|
});
|
|
136
|
-
},
|
|
137
|
-
const n = {}, r = (
|
|
138
|
-
|
|
139
|
-
n[
|
|
136
|
+
}, Qt = (e, t) => {
|
|
137
|
+
const n = {}, r = (o) => {
|
|
138
|
+
o.forEach((s) => {
|
|
139
|
+
n[s] = !0;
|
|
140
140
|
});
|
|
141
141
|
};
|
|
142
142
|
return U(e) ? r(e) : r(String(e).split(t)), n;
|
|
143
|
-
},
|
|
144
|
-
},
|
|
145
|
-
DIGIT:
|
|
146
|
-
ALPHA:
|
|
147
|
-
ALPHA_DIGIT:
|
|
148
|
-
},
|
|
143
|
+
}, Gt = () => {
|
|
144
|
+
}, Xt = (e, t) => (e = +e, Number.isFinite(e) ? e : t), Z = "abcdefghijklmnopqrstuvwxyz", Ee = "0123456789", Ve = {
|
|
145
|
+
DIGIT: Ee,
|
|
146
|
+
ALPHA: Z,
|
|
147
|
+
ALPHA_DIGIT: Z + Z.toUpperCase() + Ee
|
|
148
|
+
}, Zt = (e = 16, t = Ve.ALPHA_DIGIT) => {
|
|
149
149
|
let n = "";
|
|
150
150
|
const { length: r } = t;
|
|
151
151
|
for (; e--; )
|
|
152
152
|
n += t[Math.random() * r | 0];
|
|
153
153
|
return n;
|
|
154
154
|
};
|
|
155
|
-
function
|
|
156
|
-
return !!(e &&
|
|
155
|
+
function Yt(e) {
|
|
156
|
+
return !!(e && S(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
|
|
157
157
|
}
|
|
158
|
-
const
|
|
159
|
-
const t = new Array(10), n = (r,
|
|
160
|
-
if (
|
|
158
|
+
const en = (e) => {
|
|
159
|
+
const t = new Array(10), n = (r, o) => {
|
|
160
|
+
if (Q(r)) {
|
|
161
161
|
if (t.indexOf(r) >= 0)
|
|
162
162
|
return;
|
|
163
163
|
if (!("toJSON" in r)) {
|
|
164
|
-
t[
|
|
165
|
-
const
|
|
166
|
-
return
|
|
167
|
-
const f = n(i,
|
|
168
|
-
!
|
|
169
|
-
}), t[
|
|
164
|
+
t[o] = r;
|
|
165
|
+
const s = U(r) ? [] : {};
|
|
166
|
+
return H(r, (i, c) => {
|
|
167
|
+
const f = n(i, o + 1);
|
|
168
|
+
!v(f) && (s[c] = f);
|
|
169
|
+
}), t[o] = void 0, s;
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
return r;
|
|
173
173
|
};
|
|
174
174
|
return n(e, 0);
|
|
175
|
-
},
|
|
175
|
+
}, tn = T("AsyncFunction"), nn = (e) => e && (Q(e) || S(e)) && S(e.then) && S(e.catch), a = {
|
|
176
176
|
isArray: U,
|
|
177
|
-
isArrayBuffer:
|
|
178
|
-
isBuffer:
|
|
179
|
-
isFormData:
|
|
180
|
-
isArrayBufferView:
|
|
181
|
-
isString:
|
|
182
|
-
isNumber:
|
|
183
|
-
isBoolean:
|
|
184
|
-
isObject:
|
|
185
|
-
isPlainObject:
|
|
186
|
-
isUndefined:
|
|
187
|
-
isDate:
|
|
188
|
-
isFile:
|
|
189
|
-
isBlob:
|
|
190
|
-
isRegExp:
|
|
191
|
-
isFunction:
|
|
192
|
-
isStream:
|
|
193
|
-
isURLSearchParams:
|
|
194
|
-
isTypedArray:
|
|
195
|
-
isFileList:
|
|
196
|
-
forEach:
|
|
197
|
-
merge:
|
|
198
|
-
extend:
|
|
199
|
-
trim:
|
|
200
|
-
stripBOM:
|
|
201
|
-
inherits:
|
|
202
|
-
toFlatObject:
|
|
203
|
-
kindOf:
|
|
204
|
-
kindOfTest:
|
|
205
|
-
endsWith:
|
|
206
|
-
toArray:
|
|
207
|
-
forEachEntry:
|
|
208
|
-
matchAll:
|
|
209
|
-
isHTMLForm:
|
|
210
|
-
hasOwnProperty:
|
|
211
|
-
hasOwnProp:
|
|
177
|
+
isArrayBuffer: He,
|
|
178
|
+
isBuffer: Tt,
|
|
179
|
+
isFormData: Dt,
|
|
180
|
+
isArrayBufferView: At,
|
|
181
|
+
isString: _t,
|
|
182
|
+
isNumber: Me,
|
|
183
|
+
isBoolean: kt,
|
|
184
|
+
isObject: Q,
|
|
185
|
+
isPlainObject: $,
|
|
186
|
+
isUndefined: v,
|
|
187
|
+
isDate: xt,
|
|
188
|
+
isFile: Pt,
|
|
189
|
+
isBlob: Ct,
|
|
190
|
+
isRegExp: Wt,
|
|
191
|
+
isFunction: S,
|
|
192
|
+
isStream: Ut,
|
|
193
|
+
isURLSearchParams: Ft,
|
|
194
|
+
isTypedArray: qt,
|
|
195
|
+
isFileList: Nt,
|
|
196
|
+
forEach: H,
|
|
197
|
+
merge: ne,
|
|
198
|
+
extend: vt,
|
|
199
|
+
trim: Lt,
|
|
200
|
+
stripBOM: Bt,
|
|
201
|
+
inherits: It,
|
|
202
|
+
toFlatObject: jt,
|
|
203
|
+
kindOf: W,
|
|
204
|
+
kindOfTest: T,
|
|
205
|
+
endsWith: Ht,
|
|
206
|
+
toArray: Mt,
|
|
207
|
+
forEachEntry: zt,
|
|
208
|
+
matchAll: $t,
|
|
209
|
+
isHTMLForm: Jt,
|
|
210
|
+
hasOwnProperty: we,
|
|
211
|
+
hasOwnProp: we,
|
|
212
212
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
213
|
-
reduceDescriptors:
|
|
214
|
-
freezeMethods:
|
|
215
|
-
toObjectSet:
|
|
216
|
-
toCamelCase:
|
|
217
|
-
noop:
|
|
218
|
-
toFiniteNumber:
|
|
219
|
-
findKey:
|
|
220
|
-
global:
|
|
221
|
-
isContextDefined:
|
|
222
|
-
ALPHABET:
|
|
223
|
-
generateString:
|
|
224
|
-
isSpecCompliantForm:
|
|
225
|
-
toJSONObject:
|
|
226
|
-
isAsyncFn:
|
|
227
|
-
isThenable:
|
|
213
|
+
reduceDescriptors: Je,
|
|
214
|
+
freezeMethods: Kt,
|
|
215
|
+
toObjectSet: Qt,
|
|
216
|
+
toCamelCase: Vt,
|
|
217
|
+
noop: Gt,
|
|
218
|
+
toFiniteNumber: Xt,
|
|
219
|
+
findKey: qe,
|
|
220
|
+
global: ze,
|
|
221
|
+
isContextDefined: $e,
|
|
222
|
+
ALPHABET: Ve,
|
|
223
|
+
generateString: Zt,
|
|
224
|
+
isSpecCompliantForm: Yt,
|
|
225
|
+
toJSONObject: en,
|
|
226
|
+
isAsyncFn: tn,
|
|
227
|
+
isThenable: nn
|
|
228
228
|
};
|
|
229
|
-
function m(e, t, n, r,
|
|
230
|
-
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r),
|
|
229
|
+
function m(e, t, n, r, o) {
|
|
230
|
+
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), o && (this.response = o);
|
|
231
231
|
}
|
|
232
232
|
a.inherits(m, Error, {
|
|
233
233
|
toJSON: function() {
|
|
@@ -250,7 +250,7 @@ a.inherits(m, Error, {
|
|
|
250
250
|
};
|
|
251
251
|
}
|
|
252
252
|
});
|
|
253
|
-
const
|
|
253
|
+
const We = m.prototype, Ke = {};
|
|
254
254
|
[
|
|
255
255
|
"ERR_BAD_OPTION_VALUE",
|
|
256
256
|
"ERR_BAD_OPTION",
|
|
@@ -266,46 +266,46 @@ const Je = m.prototype, Ve = {};
|
|
|
266
266
|
"ERR_INVALID_URL"
|
|
267
267
|
// eslint-disable-next-line func-names
|
|
268
268
|
].forEach((e) => {
|
|
269
|
-
|
|
269
|
+
Ke[e] = { value: e };
|
|
270
270
|
});
|
|
271
|
-
Object.defineProperties(m,
|
|
272
|
-
Object.defineProperty(
|
|
273
|
-
m.from = (e, t, n, r,
|
|
274
|
-
const i = Object.create(
|
|
271
|
+
Object.defineProperties(m, Ke);
|
|
272
|
+
Object.defineProperty(We, "isAxiosError", { value: !0 });
|
|
273
|
+
m.from = (e, t, n, r, o, s) => {
|
|
274
|
+
const i = Object.create(We);
|
|
275
275
|
return a.toFlatObject(e, i, function(f) {
|
|
276
276
|
return f !== Error.prototype;
|
|
277
|
-
}, (c) => c !== "isAxiosError"), m.call(i, e.message, t, n, r,
|
|
277
|
+
}, (c) => c !== "isAxiosError"), m.call(i, e.message, t, n, r, o), i.cause = e, i.name = e.name, s && Object.assign(i, s), i;
|
|
278
278
|
};
|
|
279
|
-
const
|
|
280
|
-
function
|
|
279
|
+
const rn = null;
|
|
280
|
+
function re(e) {
|
|
281
281
|
return a.isPlainObject(e) || a.isArray(e);
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function Qe(e) {
|
|
284
284
|
return a.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
285
285
|
}
|
|
286
|
-
function
|
|
287
|
-
return e ? e.concat(t).map(function(
|
|
288
|
-
return
|
|
286
|
+
function ge(e, t, n) {
|
|
287
|
+
return e ? e.concat(t).map(function(o, s) {
|
|
288
|
+
return o = Qe(o), !n && s ? "[" + o + "]" : o;
|
|
289
289
|
}).join(n ? "." : "") : t;
|
|
290
290
|
}
|
|
291
|
-
function
|
|
292
|
-
return a.isArray(e) && !e.some(
|
|
291
|
+
function on(e) {
|
|
292
|
+
return a.isArray(e) && !e.some(re);
|
|
293
293
|
}
|
|
294
|
-
const
|
|
294
|
+
const sn = a.toFlatObject(a, {}, null, function(t) {
|
|
295
295
|
return /^is[A-Z]/.test(t);
|
|
296
296
|
});
|
|
297
|
-
function
|
|
297
|
+
function G(e, t, n) {
|
|
298
298
|
if (!a.isObject(e))
|
|
299
299
|
throw new TypeError("target must be an object");
|
|
300
300
|
t = t || new FormData(), n = a.toFlatObject(n, {
|
|
301
301
|
metaTokens: !0,
|
|
302
302
|
dots: !1,
|
|
303
303
|
indexes: !1
|
|
304
|
-
}, !1, function(h,
|
|
305
|
-
return !a.isUndefined(
|
|
304
|
+
}, !1, function(h, g) {
|
|
305
|
+
return !a.isUndefined(g[h]);
|
|
306
306
|
});
|
|
307
|
-
const r = n.metaTokens,
|
|
308
|
-
if (!a.isFunction(
|
|
307
|
+
const r = n.metaTokens, o = n.visitor || l, s = n.dots, i = n.indexes, f = (n.Blob || typeof Blob < "u" && Blob) && a.isSpecCompliantForm(t);
|
|
308
|
+
if (!a.isFunction(o))
|
|
309
309
|
throw new TypeError("visitor must be a function");
|
|
310
310
|
function d(p) {
|
|
311
311
|
if (p === null) return "";
|
|
@@ -315,39 +315,39 @@ function Q(e, t, n) {
|
|
|
315
315
|
throw new m("Blob is not supported. Use a Buffer instead.");
|
|
316
316
|
return a.isArrayBuffer(p) || a.isTypedArray(p) ? f && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
|
|
317
317
|
}
|
|
318
|
-
function l(p, h,
|
|
319
|
-
let
|
|
320
|
-
if (p && !
|
|
318
|
+
function l(p, h, g) {
|
|
319
|
+
let b = p;
|
|
320
|
+
if (p && !g && typeof p == "object") {
|
|
321
321
|
if (a.endsWith(h, "{}"))
|
|
322
322
|
h = r ? h : h.slice(0, -2), p = JSON.stringify(p);
|
|
323
|
-
else if (a.isArray(p) &&
|
|
324
|
-
return h =
|
|
323
|
+
else if (a.isArray(p) && on(p) || (a.isFileList(p) || a.endsWith(h, "[]")) && (b = a.toArray(p)))
|
|
324
|
+
return h = Qe(h), b.forEach(function(_, pt) {
|
|
325
325
|
!(a.isUndefined(_) || _ === null) && t.append(
|
|
326
326
|
// eslint-disable-next-line no-nested-ternary
|
|
327
|
-
i === !0 ?
|
|
327
|
+
i === !0 ? ge([h], pt, s) : i === null ? h : h + "[]",
|
|
328
328
|
d(_)
|
|
329
329
|
);
|
|
330
330
|
}), !1;
|
|
331
331
|
}
|
|
332
|
-
return
|
|
332
|
+
return re(p) ? !0 : (t.append(ge(g, h, s), d(p)), !1);
|
|
333
333
|
}
|
|
334
|
-
const u = [], y = Object.assign(
|
|
334
|
+
const u = [], y = Object.assign(sn, {
|
|
335
335
|
defaultVisitor: l,
|
|
336
336
|
convertValue: d,
|
|
337
|
-
isVisitable:
|
|
337
|
+
isVisitable: re
|
|
338
338
|
});
|
|
339
339
|
function E(p, h) {
|
|
340
340
|
if (!a.isUndefined(p)) {
|
|
341
341
|
if (u.indexOf(p) !== -1)
|
|
342
342
|
throw Error("Circular reference detected in " + h.join("."));
|
|
343
|
-
u.push(p), a.forEach(p, function(
|
|
344
|
-
(!(a.isUndefined(
|
|
343
|
+
u.push(p), a.forEach(p, function(b, A) {
|
|
344
|
+
(!(a.isUndefined(b) || b === null) && o.call(
|
|
345
345
|
t,
|
|
346
|
-
|
|
346
|
+
b,
|
|
347
347
|
a.isString(A) ? A.trim() : A,
|
|
348
348
|
h,
|
|
349
349
|
y
|
|
350
|
-
)) === !0 && E(
|
|
350
|
+
)) === !0 && E(b, h ? h.concat(A) : [A]);
|
|
351
351
|
}), u.pop();
|
|
352
352
|
}
|
|
353
353
|
}
|
|
@@ -355,7 +355,7 @@ function Q(e, t, n) {
|
|
|
355
355
|
throw new TypeError("data must be an object");
|
|
356
356
|
return E(e), t;
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function be(e) {
|
|
359
359
|
const t = {
|
|
360
360
|
"!": "%21",
|
|
361
361
|
"'": "%27",
|
|
@@ -369,36 +369,36 @@ function Ee(e) {
|
|
|
369
369
|
return t[r];
|
|
370
370
|
});
|
|
371
371
|
}
|
|
372
|
-
function
|
|
373
|
-
this._pairs = [], e &&
|
|
372
|
+
function pe(e, t) {
|
|
373
|
+
this._pairs = [], e && G(e, this, t);
|
|
374
374
|
}
|
|
375
|
-
const
|
|
376
|
-
|
|
375
|
+
const Ge = pe.prototype;
|
|
376
|
+
Ge.append = function(t, n) {
|
|
377
377
|
this._pairs.push([t, n]);
|
|
378
378
|
};
|
|
379
|
-
|
|
379
|
+
Ge.toString = function(t) {
|
|
380
380
|
const n = t ? function(r) {
|
|
381
|
-
return t.call(this, r,
|
|
382
|
-
} :
|
|
383
|
-
return this._pairs.map(function(
|
|
384
|
-
return n(
|
|
381
|
+
return t.call(this, r, be);
|
|
382
|
+
} : be;
|
|
383
|
+
return this._pairs.map(function(o) {
|
|
384
|
+
return n(o[0]) + "=" + n(o[1]);
|
|
385
385
|
}, "").join("&");
|
|
386
386
|
};
|
|
387
|
-
function
|
|
387
|
+
function an(e) {
|
|
388
388
|
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
389
389
|
}
|
|
390
|
-
function
|
|
390
|
+
function Xe(e, t, n) {
|
|
391
391
|
if (!t)
|
|
392
392
|
return e;
|
|
393
|
-
const r = n && n.encode ||
|
|
394
|
-
let
|
|
395
|
-
if (
|
|
393
|
+
const r = n && n.encode || an, o = n && n.serialize;
|
|
394
|
+
let s;
|
|
395
|
+
if (o ? s = o(t, n) : s = a.isURLSearchParams(t) ? t.toString() : new pe(t, n).toString(r), s) {
|
|
396
396
|
const i = e.indexOf("#");
|
|
397
|
-
i !== -1 && (e = e.slice(0, i)), e += (e.indexOf("?") === -1 ? "?" : "&") +
|
|
397
|
+
i !== -1 && (e = e.slice(0, i)), e += (e.indexOf("?") === -1 ? "?" : "&") + s;
|
|
398
398
|
}
|
|
399
399
|
return e;
|
|
400
400
|
}
|
|
401
|
-
class
|
|
401
|
+
class Se {
|
|
402
402
|
constructor() {
|
|
403
403
|
this.handlers = [];
|
|
404
404
|
}
|
|
@@ -452,63 +452,63 @@ class be {
|
|
|
452
452
|
});
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
|
-
const
|
|
455
|
+
const Ze = {
|
|
456
456
|
silentJSONParsing: !0,
|
|
457
457
|
forcedJSONParsing: !0,
|
|
458
458
|
clarifyTimeoutError: !1
|
|
459
|
-
},
|
|
459
|
+
}, cn = typeof URLSearchParams < "u" ? URLSearchParams : pe, un = typeof FormData < "u" ? FormData : null, ln = typeof Blob < "u" ? Blob : null, fn = {
|
|
460
460
|
isBrowser: !0,
|
|
461
461
|
classes: {
|
|
462
|
-
URLSearchParams:
|
|
463
|
-
FormData:
|
|
464
|
-
Blob:
|
|
462
|
+
URLSearchParams: cn,
|
|
463
|
+
FormData: un,
|
|
464
|
+
Blob: ln
|
|
465
465
|
},
|
|
466
466
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
467
|
-
},
|
|
468
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
|
|
467
|
+
}, Ye = typeof window < "u" && typeof document < "u", dn = ((e) => Ye && ["ReactNative", "NativeScript", "NS"].indexOf(e) < 0)(typeof navigator < "u" && navigator.product), pn = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
468
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
469
469
|
__proto__: null,
|
|
470
|
-
hasBrowserEnv:
|
|
471
|
-
hasStandardBrowserEnv:
|
|
472
|
-
hasStandardBrowserWebWorkerEnv:
|
|
473
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
474
|
-
...
|
|
475
|
-
...
|
|
470
|
+
hasBrowserEnv: Ye,
|
|
471
|
+
hasStandardBrowserEnv: dn,
|
|
472
|
+
hasStandardBrowserWebWorkerEnv: pn
|
|
473
|
+
}, Symbol.toStringTag, { value: "Module" })), R = {
|
|
474
|
+
...hn,
|
|
475
|
+
...fn
|
|
476
476
|
};
|
|
477
|
-
function
|
|
478
|
-
return
|
|
479
|
-
visitor: function(n, r,
|
|
480
|
-
return
|
|
477
|
+
function mn(e, t) {
|
|
478
|
+
return G(e, new R.classes.URLSearchParams(), Object.assign({
|
|
479
|
+
visitor: function(n, r, o, s) {
|
|
480
|
+
return R.isNode && a.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
|
|
481
481
|
}
|
|
482
482
|
}, t));
|
|
483
483
|
}
|
|
484
|
-
function
|
|
484
|
+
function yn(e) {
|
|
485
485
|
return a.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function wn(e) {
|
|
488
488
|
const t = {}, n = Object.keys(e);
|
|
489
489
|
let r;
|
|
490
|
-
const
|
|
491
|
-
let
|
|
492
|
-
for (r = 0; r <
|
|
493
|
-
|
|
490
|
+
const o = n.length;
|
|
491
|
+
let s;
|
|
492
|
+
for (r = 0; r < o; r++)
|
|
493
|
+
s = n[r], t[s] = e[s];
|
|
494
494
|
return t;
|
|
495
495
|
}
|
|
496
|
-
function
|
|
497
|
-
function t(n, r,
|
|
498
|
-
let i = n[
|
|
496
|
+
function et(e) {
|
|
497
|
+
function t(n, r, o, s) {
|
|
498
|
+
let i = n[s++];
|
|
499
499
|
if (i === "__proto__") return !0;
|
|
500
|
-
const c = Number.isFinite(+i), f =
|
|
501
|
-
return i = !i && a.isArray(
|
|
500
|
+
const c = Number.isFinite(+i), f = s >= n.length;
|
|
501
|
+
return i = !i && a.isArray(o) ? o.length : i, f ? (a.hasOwnProp(o, i) ? o[i] = [o[i], r] : o[i] = r, !c) : ((!o[i] || !a.isObject(o[i])) && (o[i] = []), t(n, r, o[i], s) && a.isArray(o[i]) && (o[i] = wn(o[i])), !c);
|
|
502
502
|
}
|
|
503
503
|
if (a.isFormData(e) && a.isFunction(e.entries)) {
|
|
504
504
|
const n = {};
|
|
505
|
-
return a.forEachEntry(e, (r,
|
|
506
|
-
t(
|
|
505
|
+
return a.forEachEntry(e, (r, o) => {
|
|
506
|
+
t(yn(r), o, n, 0);
|
|
507
507
|
}), n;
|
|
508
508
|
}
|
|
509
509
|
return null;
|
|
510
510
|
}
|
|
511
|
-
function
|
|
511
|
+
function En(e, t, n) {
|
|
512
512
|
if (a.isString(e))
|
|
513
513
|
try {
|
|
514
514
|
return (t || JSON.parse)(e), a.trim(e);
|
|
@@ -518,13 +518,13 @@ function hn(e, t, n) {
|
|
|
518
518
|
}
|
|
519
519
|
return (n || JSON.stringify)(e);
|
|
520
520
|
}
|
|
521
|
-
const
|
|
522
|
-
transitional:
|
|
521
|
+
const M = {
|
|
522
|
+
transitional: Ze,
|
|
523
523
|
adapter: ["xhr", "http"],
|
|
524
524
|
transformRequest: [function(t, n) {
|
|
525
|
-
const r = n.getContentType() || "",
|
|
526
|
-
if (
|
|
527
|
-
return
|
|
525
|
+
const r = n.getContentType() || "", o = r.indexOf("application/json") > -1, s = a.isObject(t);
|
|
526
|
+
if (s && a.isHTMLForm(t) && (t = new FormData(t)), a.isFormData(t))
|
|
527
|
+
return o ? JSON.stringify(et(t)) : t;
|
|
528
528
|
if (a.isArrayBuffer(t) || a.isBuffer(t) || a.isStream(t) || a.isFile(t) || a.isBlob(t))
|
|
529
529
|
return t;
|
|
530
530
|
if (a.isArrayBufferView(t))
|
|
@@ -532,24 +532,24 @@ const H = {
|
|
|
532
532
|
if (a.isURLSearchParams(t))
|
|
533
533
|
return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
|
|
534
534
|
let c;
|
|
535
|
-
if (
|
|
535
|
+
if (s) {
|
|
536
536
|
if (r.indexOf("application/x-www-form-urlencoded") > -1)
|
|
537
|
-
return
|
|
537
|
+
return mn(t, this.formSerializer).toString();
|
|
538
538
|
if ((c = a.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
|
|
539
539
|
const f = this.env && this.env.FormData;
|
|
540
|
-
return
|
|
540
|
+
return G(
|
|
541
541
|
c ? { "files[]": t } : t,
|
|
542
542
|
f && new f(),
|
|
543
543
|
this.formSerializer
|
|
544
544
|
);
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
|
-
return
|
|
547
|
+
return s || o ? (n.setContentType("application/json", !1), En(t)) : t;
|
|
548
548
|
}],
|
|
549
549
|
transformResponse: [function(t) {
|
|
550
|
-
const n = this.transitional ||
|
|
551
|
-
if (t && a.isString(t) && (r && !this.responseType ||
|
|
552
|
-
const i = !(n && n.silentJSONParsing) &&
|
|
550
|
+
const n = this.transitional || M.transitional, r = n && n.forcedJSONParsing, o = this.responseType === "json";
|
|
551
|
+
if (t && a.isString(t) && (r && !this.responseType || o)) {
|
|
552
|
+
const i = !(n && n.silentJSONParsing) && o;
|
|
553
553
|
try {
|
|
554
554
|
return JSON.parse(t);
|
|
555
555
|
} catch (c) {
|
|
@@ -569,8 +569,8 @@ const H = {
|
|
|
569
569
|
maxContentLength: -1,
|
|
570
570
|
maxBodyLength: -1,
|
|
571
571
|
env: {
|
|
572
|
-
FormData:
|
|
573
|
-
Blob:
|
|
572
|
+
FormData: R.classes.FormData,
|
|
573
|
+
Blob: R.classes.Blob
|
|
574
574
|
},
|
|
575
575
|
validateStatus: function(t) {
|
|
576
576
|
return t >= 200 && t < 300;
|
|
@@ -583,9 +583,9 @@ const H = {
|
|
|
583
583
|
}
|
|
584
584
|
};
|
|
585
585
|
a.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
586
|
-
|
|
586
|
+
M.headers[e] = {};
|
|
587
587
|
});
|
|
588
|
-
const
|
|
588
|
+
const gn = a.toObjectSet([
|
|
589
589
|
"age",
|
|
590
590
|
"authorization",
|
|
591
591
|
"content-length",
|
|
@@ -603,47 +603,47 @@ const mn = a.toObjectSet([
|
|
|
603
603
|
"referer",
|
|
604
604
|
"retry-after",
|
|
605
605
|
"user-agent"
|
|
606
|
-
]),
|
|
606
|
+
]), bn = (e) => {
|
|
607
607
|
const t = {};
|
|
608
|
-
let n, r,
|
|
608
|
+
let n, r, o;
|
|
609
609
|
return e && e.split(`
|
|
610
610
|
`).forEach(function(i) {
|
|
611
|
-
|
|
611
|
+
o = i.indexOf(":"), n = i.substring(0, o).trim().toLowerCase(), r = i.substring(o + 1).trim(), !(!n || t[n] && gn[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
|
|
612
612
|
}), t;
|
|
613
|
-
},
|
|
614
|
-
function
|
|
613
|
+
}, Oe = Symbol("internals");
|
|
614
|
+
function D(e) {
|
|
615
615
|
return e && String(e).trim().toLowerCase();
|
|
616
616
|
}
|
|
617
|
-
function
|
|
618
|
-
return e === !1 || e == null ? e : a.isArray(e) ? e.map(
|
|
617
|
+
function J(e) {
|
|
618
|
+
return e === !1 || e == null ? e : a.isArray(e) ? e.map(J) : String(e);
|
|
619
619
|
}
|
|
620
|
-
function
|
|
620
|
+
function Sn(e) {
|
|
621
621
|
const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
622
622
|
let r;
|
|
623
623
|
for (; r = n.exec(e); )
|
|
624
624
|
t[r[1]] = r[2];
|
|
625
625
|
return t;
|
|
626
626
|
}
|
|
627
|
-
const
|
|
628
|
-
function
|
|
627
|
+
const On = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
628
|
+
function Y(e, t, n, r, o) {
|
|
629
629
|
if (a.isFunction(r))
|
|
630
630
|
return r.call(this, t, n);
|
|
631
|
-
if (
|
|
631
|
+
if (o && (t = n), !!a.isString(t)) {
|
|
632
632
|
if (a.isString(r))
|
|
633
633
|
return t.indexOf(r) !== -1;
|
|
634
634
|
if (a.isRegExp(r))
|
|
635
635
|
return r.test(t);
|
|
636
636
|
}
|
|
637
637
|
}
|
|
638
|
-
function
|
|
638
|
+
function Rn(e) {
|
|
639
639
|
return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, r) => n.toUpperCase() + r);
|
|
640
640
|
}
|
|
641
|
-
function
|
|
641
|
+
function Tn(e, t) {
|
|
642
642
|
const n = a.toCamelCase(" " + t);
|
|
643
643
|
["get", "set", "has"].forEach((r) => {
|
|
644
644
|
Object.defineProperty(e, r + n, {
|
|
645
|
-
value: function(
|
|
646
|
-
return this[r].call(this, t,
|
|
645
|
+
value: function(o, s, i) {
|
|
646
|
+
return this[r].call(this, t, o, s, i);
|
|
647
647
|
},
|
|
648
648
|
configurable: !0
|
|
649
649
|
});
|
|
@@ -654,71 +654,71 @@ class O {
|
|
|
654
654
|
t && this.set(t);
|
|
655
655
|
}
|
|
656
656
|
set(t, n, r) {
|
|
657
|
-
const
|
|
658
|
-
function
|
|
659
|
-
const l =
|
|
657
|
+
const o = this;
|
|
658
|
+
function s(c, f, d) {
|
|
659
|
+
const l = D(f);
|
|
660
660
|
if (!l)
|
|
661
661
|
throw new Error("header name must be a non-empty string");
|
|
662
|
-
const u = a.findKey(
|
|
663
|
-
(!u ||
|
|
662
|
+
const u = a.findKey(o, l);
|
|
663
|
+
(!u || o[u] === void 0 || d === !0 || d === void 0 && o[u] !== !1) && (o[u || f] = J(c));
|
|
664
664
|
}
|
|
665
|
-
const i = (c, f) => a.forEach(c, (d, l) =>
|
|
666
|
-
return a.isPlainObject(t) || t instanceof this.constructor ? i(t, n) : a.isString(t) && (t = t.trim()) && !
|
|
665
|
+
const i = (c, f) => a.forEach(c, (d, l) => s(d, l, f));
|
|
666
|
+
return a.isPlainObject(t) || t instanceof this.constructor ? i(t, n) : a.isString(t) && (t = t.trim()) && !On(t) ? i(bn(t), n) : t != null && s(n, t, r), this;
|
|
667
667
|
}
|
|
668
668
|
get(t, n) {
|
|
669
|
-
if (t =
|
|
669
|
+
if (t = D(t), t) {
|
|
670
670
|
const r = a.findKey(this, t);
|
|
671
671
|
if (r) {
|
|
672
|
-
const
|
|
672
|
+
const o = this[r];
|
|
673
673
|
if (!n)
|
|
674
|
-
return
|
|
674
|
+
return o;
|
|
675
675
|
if (n === !0)
|
|
676
|
-
return
|
|
676
|
+
return Sn(o);
|
|
677
677
|
if (a.isFunction(n))
|
|
678
|
-
return n.call(this,
|
|
678
|
+
return n.call(this, o, r);
|
|
679
679
|
if (a.isRegExp(n))
|
|
680
|
-
return n.exec(
|
|
680
|
+
return n.exec(o);
|
|
681
681
|
throw new TypeError("parser must be boolean|regexp|function");
|
|
682
682
|
}
|
|
683
683
|
}
|
|
684
684
|
}
|
|
685
685
|
has(t, n) {
|
|
686
|
-
if (t =
|
|
686
|
+
if (t = D(t), t) {
|
|
687
687
|
const r = a.findKey(this, t);
|
|
688
|
-
return !!(r && this[r] !== void 0 && (!n ||
|
|
688
|
+
return !!(r && this[r] !== void 0 && (!n || Y(this, this[r], r, n)));
|
|
689
689
|
}
|
|
690
690
|
return !1;
|
|
691
691
|
}
|
|
692
692
|
delete(t, n) {
|
|
693
693
|
const r = this;
|
|
694
|
-
let
|
|
695
|
-
function
|
|
696
|
-
if (i =
|
|
694
|
+
let o = !1;
|
|
695
|
+
function s(i) {
|
|
696
|
+
if (i = D(i), i) {
|
|
697
697
|
const c = a.findKey(r, i);
|
|
698
|
-
c && (!n ||
|
|
698
|
+
c && (!n || Y(r, r[c], c, n)) && (delete r[c], o = !0);
|
|
699
699
|
}
|
|
700
700
|
}
|
|
701
|
-
return a.isArray(t) ? t.forEach(
|
|
701
|
+
return a.isArray(t) ? t.forEach(s) : s(t), o;
|
|
702
702
|
}
|
|
703
703
|
clear(t) {
|
|
704
704
|
const n = Object.keys(this);
|
|
705
|
-
let r = n.length,
|
|
705
|
+
let r = n.length, o = !1;
|
|
706
706
|
for (; r--; ) {
|
|
707
|
-
const
|
|
708
|
-
(!t ||
|
|
707
|
+
const s = n[r];
|
|
708
|
+
(!t || Y(this, this[s], s, t, !0)) && (delete this[s], o = !0);
|
|
709
709
|
}
|
|
710
|
-
return
|
|
710
|
+
return o;
|
|
711
711
|
}
|
|
712
712
|
normalize(t) {
|
|
713
713
|
const n = this, r = {};
|
|
714
|
-
return a.forEach(this, (
|
|
715
|
-
const i = a.findKey(r,
|
|
714
|
+
return a.forEach(this, (o, s) => {
|
|
715
|
+
const i = a.findKey(r, s);
|
|
716
716
|
if (i) {
|
|
717
|
-
n[i] =
|
|
717
|
+
n[i] = J(o), delete n[s];
|
|
718
718
|
return;
|
|
719
719
|
}
|
|
720
|
-
const c = t ?
|
|
721
|
-
c !==
|
|
720
|
+
const c = t ? Rn(s) : String(s).trim();
|
|
721
|
+
c !== s && delete n[s], n[c] = J(o), r[c] = !0;
|
|
722
722
|
}), this;
|
|
723
723
|
}
|
|
724
724
|
concat(...t) {
|
|
@@ -726,8 +726,8 @@ class O {
|
|
|
726
726
|
}
|
|
727
727
|
toJSON(t) {
|
|
728
728
|
const n = /* @__PURE__ */ Object.create(null);
|
|
729
|
-
return a.forEach(this, (r,
|
|
730
|
-
r != null && r !== !1 && (n[
|
|
729
|
+
return a.forEach(this, (r, o) => {
|
|
730
|
+
r != null && r !== !1 && (n[o] = t && a.isArray(r) ? r.join(", ") : r);
|
|
731
731
|
}), n;
|
|
732
732
|
}
|
|
733
733
|
[Symbol.iterator]() {
|
|
@@ -745,17 +745,17 @@ class O {
|
|
|
745
745
|
}
|
|
746
746
|
static concat(t, ...n) {
|
|
747
747
|
const r = new this(t);
|
|
748
|
-
return n.forEach((
|
|
748
|
+
return n.forEach((o) => r.set(o)), r;
|
|
749
749
|
}
|
|
750
750
|
static accessor(t) {
|
|
751
|
-
const r = (this[
|
|
751
|
+
const r = (this[Oe] = this[Oe] = {
|
|
752
752
|
accessors: {}
|
|
753
|
-
}).accessors,
|
|
754
|
-
function
|
|
755
|
-
const c =
|
|
756
|
-
r[c] || (
|
|
753
|
+
}).accessors, o = this.prototype;
|
|
754
|
+
function s(i) {
|
|
755
|
+
const c = D(i);
|
|
756
|
+
r[c] || (Tn(o, i), r[c] = !0);
|
|
757
757
|
}
|
|
758
|
-
return a.isArray(t) ? t.forEach(
|
|
758
|
+
return a.isArray(t) ? t.forEach(s) : s(t), this;
|
|
759
759
|
}
|
|
760
760
|
}
|
|
761
761
|
O.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
@@ -769,23 +769,23 @@ a.reduceDescriptors(O.prototype, ({ value: e }, t) => {
|
|
|
769
769
|
};
|
|
770
770
|
});
|
|
771
771
|
a.freezeMethods(O);
|
|
772
|
-
function
|
|
773
|
-
const n = this ||
|
|
774
|
-
let
|
|
772
|
+
function ee(e, t) {
|
|
773
|
+
const n = this || M, r = t || n, o = O.from(r.headers);
|
|
774
|
+
let s = r.data;
|
|
775
775
|
return a.forEach(e, function(c) {
|
|
776
|
-
|
|
777
|
-
}),
|
|
776
|
+
s = c.call(n, s, o.normalize(), t ? t.status : void 0);
|
|
777
|
+
}), o.normalize(), s;
|
|
778
778
|
}
|
|
779
|
-
function
|
|
779
|
+
function tt(e) {
|
|
780
780
|
return !!(e && e.__CANCEL__);
|
|
781
781
|
}
|
|
782
|
-
function
|
|
782
|
+
function q(e, t, n) {
|
|
783
783
|
m.call(this, e ?? "canceled", m.ERR_CANCELED, t, n), this.name = "CanceledError";
|
|
784
784
|
}
|
|
785
|
-
a.inherits(
|
|
785
|
+
a.inherits(q, m, {
|
|
786
786
|
__CANCEL__: !0
|
|
787
787
|
});
|
|
788
|
-
function
|
|
788
|
+
function An(e, t, n) {
|
|
789
789
|
const r = n.config.validateStatus;
|
|
790
790
|
!n.status || !r || r(n.status) ? e(n) : t(new m(
|
|
791
791
|
"Request failed with status code " + n.status,
|
|
@@ -795,12 +795,12 @@ function gn(e, t, n) {
|
|
|
795
795
|
n
|
|
796
796
|
));
|
|
797
797
|
}
|
|
798
|
-
const
|
|
798
|
+
const _n = R.hasStandardBrowserEnv ? (
|
|
799
799
|
// Standard browser envs support document.cookie
|
|
800
800
|
{
|
|
801
|
-
write(e, t, n, r,
|
|
801
|
+
write(e, t, n, r, o, s) {
|
|
802
802
|
const i = [e + "=" + encodeURIComponent(t)];
|
|
803
|
-
a.isNumber(n) && i.push("expires=" + new Date(n).toGMTString()), a.isString(r) && i.push("path=" + r), a.isString(
|
|
803
|
+
a.isNumber(n) && i.push("expires=" + new Date(n).toGMTString()), a.isString(r) && i.push("path=" + r), a.isString(o) && i.push("domain=" + o), s === !0 && i.push("secure"), document.cookie = i.join("; ");
|
|
804
804
|
},
|
|
805
805
|
read(e) {
|
|
806
806
|
const t = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)"));
|
|
@@ -822,23 +822,23 @@ const On = T.hasStandardBrowserEnv ? (
|
|
|
822
822
|
}
|
|
823
823
|
}
|
|
824
824
|
);
|
|
825
|
-
function
|
|
825
|
+
function kn(e) {
|
|
826
826
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
|
|
827
827
|
}
|
|
828
|
-
function
|
|
828
|
+
function xn(e, t) {
|
|
829
829
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
830
830
|
}
|
|
831
|
-
function
|
|
832
|
-
return e && !
|
|
831
|
+
function nt(e, t) {
|
|
832
|
+
return e && !kn(t) ? xn(e, t) : t;
|
|
833
833
|
}
|
|
834
|
-
const
|
|
834
|
+
const Pn = R.hasStandardBrowserEnv ? (
|
|
835
835
|
// Standard browser envs have full support of the APIs needed to test
|
|
836
836
|
// whether the request URL is of the same origin as current location.
|
|
837
837
|
function() {
|
|
838
838
|
const t = /(msie|trident)/i.test(navigator.userAgent), n = document.createElement("a");
|
|
839
839
|
let r;
|
|
840
|
-
function s
|
|
841
|
-
let i =
|
|
840
|
+
function o(s) {
|
|
841
|
+
let i = s;
|
|
842
842
|
return t && (n.setAttribute("href", i), i = n.href), n.setAttribute("href", i), {
|
|
843
843
|
href: n.href,
|
|
844
844
|
protocol: n.protocol ? n.protocol.replace(/:$/, "") : "",
|
|
@@ -850,8 +850,8 @@ const An = T.hasStandardBrowserEnv ? (
|
|
|
850
850
|
pathname: n.pathname.charAt(0) === "/" ? n.pathname : "/" + n.pathname
|
|
851
851
|
};
|
|
852
852
|
}
|
|
853
|
-
return r =
|
|
854
|
-
const c = a.isString(i) ?
|
|
853
|
+
return r = o(window.location.href), function(i) {
|
|
854
|
+
const c = a.isString(i) ? o(i) : i;
|
|
855
855
|
return c.protocol === r.protocol && c.host === r.host;
|
|
856
856
|
};
|
|
857
857
|
}()
|
|
@@ -863,74 +863,74 @@ const An = T.hasStandardBrowserEnv ? (
|
|
|
863
863
|
};
|
|
864
864
|
}()
|
|
865
865
|
);
|
|
866
|
-
function
|
|
866
|
+
function Cn(e) {
|
|
867
867
|
const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
|
|
868
868
|
return t && t[1] || "";
|
|
869
869
|
}
|
|
870
|
-
function
|
|
870
|
+
function Nn(e, t) {
|
|
871
871
|
e = e || 10;
|
|
872
872
|
const n = new Array(e), r = new Array(e);
|
|
873
|
-
let
|
|
873
|
+
let o = 0, s = 0, i;
|
|
874
874
|
return t = t !== void 0 ? t : 1e3, function(f) {
|
|
875
|
-
const d = Date.now(), l = r[
|
|
876
|
-
i || (i = d), n[
|
|
877
|
-
let u =
|
|
878
|
-
for (; u !==
|
|
875
|
+
const d = Date.now(), l = r[s];
|
|
876
|
+
i || (i = d), n[o] = f, r[o] = d;
|
|
877
|
+
let u = s, y = 0;
|
|
878
|
+
for (; u !== o; )
|
|
879
879
|
y += n[u++], u = u % e;
|
|
880
|
-
if (
|
|
880
|
+
if (o = (o + 1) % e, o === s && (s = (s + 1) % e), d - i < t)
|
|
881
881
|
return;
|
|
882
882
|
const E = l && d - l;
|
|
883
883
|
return E ? Math.round(y * 1e3 / E) : void 0;
|
|
884
884
|
};
|
|
885
885
|
}
|
|
886
|
-
function
|
|
886
|
+
function Re(e, t) {
|
|
887
887
|
let n = 0;
|
|
888
|
-
const r =
|
|
889
|
-
return (
|
|
890
|
-
const
|
|
891
|
-
n =
|
|
888
|
+
const r = Nn(50, 250);
|
|
889
|
+
return (o) => {
|
|
890
|
+
const s = o.loaded, i = o.lengthComputable ? o.total : void 0, c = s - n, f = r(c), d = s <= i;
|
|
891
|
+
n = s;
|
|
892
892
|
const l = {
|
|
893
|
-
loaded:
|
|
893
|
+
loaded: s,
|
|
894
894
|
total: i,
|
|
895
|
-
progress: i ?
|
|
895
|
+
progress: i ? s / i : void 0,
|
|
896
896
|
bytes: c,
|
|
897
897
|
rate: f || void 0,
|
|
898
|
-
estimated: f && i && d ? (i -
|
|
899
|
-
event:
|
|
898
|
+
estimated: f && i && d ? (i - s) / f : void 0,
|
|
899
|
+
event: o
|
|
900
900
|
};
|
|
901
901
|
l[t ? "download" : "upload"] = !0, e(l);
|
|
902
902
|
};
|
|
903
903
|
}
|
|
904
|
-
const
|
|
904
|
+
const Un = typeof XMLHttpRequest < "u", Dn = Un && function(e) {
|
|
905
905
|
return new Promise(function(n, r) {
|
|
906
|
-
let
|
|
907
|
-
const
|
|
906
|
+
let o = e.data;
|
|
907
|
+
const s = O.from(e.headers).normalize();
|
|
908
908
|
let { responseType: i, withXSRFToken: c } = e, f;
|
|
909
909
|
function d() {
|
|
910
910
|
e.cancelToken && e.cancelToken.unsubscribe(f), e.signal && e.signal.removeEventListener("abort", f);
|
|
911
911
|
}
|
|
912
912
|
let l;
|
|
913
|
-
if (a.isFormData(
|
|
914
|
-
if (
|
|
915
|
-
|
|
916
|
-
else if ((l =
|
|
917
|
-
const [h, ...
|
|
918
|
-
|
|
913
|
+
if (a.isFormData(o)) {
|
|
914
|
+
if (R.hasStandardBrowserEnv || R.hasStandardBrowserWebWorkerEnv)
|
|
915
|
+
s.setContentType(!1);
|
|
916
|
+
else if ((l = s.getContentType()) !== !1) {
|
|
917
|
+
const [h, ...g] = l ? l.split(";").map((b) => b.trim()).filter(Boolean) : [];
|
|
918
|
+
s.setContentType([h || "multipart/form-data", ...g].join("; "));
|
|
919
919
|
}
|
|
920
920
|
}
|
|
921
921
|
let u = new XMLHttpRequest();
|
|
922
922
|
if (e.auth) {
|
|
923
|
-
const h = e.auth.username || "",
|
|
924
|
-
|
|
923
|
+
const h = e.auth.username || "", g = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
|
|
924
|
+
s.set("Authorization", "Basic " + btoa(h + ":" + g));
|
|
925
925
|
}
|
|
926
|
-
const y =
|
|
927
|
-
u.open(e.method.toUpperCase(),
|
|
926
|
+
const y = nt(e.baseURL, e.url);
|
|
927
|
+
u.open(e.method.toUpperCase(), Xe(y, e.params, e.paramsSerializer), !0), u.timeout = e.timeout;
|
|
928
928
|
function E() {
|
|
929
929
|
if (!u)
|
|
930
930
|
return;
|
|
931
931
|
const h = O.from(
|
|
932
932
|
"getAllResponseHeaders" in u && u.getAllResponseHeaders()
|
|
933
|
-
),
|
|
933
|
+
), b = {
|
|
934
934
|
data: !i || i === "text" || i === "json" ? u.responseText : u.response,
|
|
935
935
|
status: u.status,
|
|
936
936
|
statusText: u.statusText,
|
|
@@ -938,11 +938,11 @@ const xn = typeof XMLHttpRequest < "u", Pn = xn && function(e) {
|
|
|
938
938
|
config: e,
|
|
939
939
|
request: u
|
|
940
940
|
};
|
|
941
|
-
|
|
941
|
+
An(function(_) {
|
|
942
942
|
n(_), d();
|
|
943
943
|
}, function(_) {
|
|
944
944
|
r(_), d();
|
|
945
|
-
},
|
|
945
|
+
}, b), u = null;
|
|
946
946
|
}
|
|
947
947
|
if ("onloadend" in u ? u.onloadend = E : u.onreadystatechange = function() {
|
|
948
948
|
!u || u.readyState !== 4 || u.status === 0 && !(u.responseURL && u.responseURL.indexOf("file:") === 0) || setTimeout(E);
|
|
@@ -951,35 +951,35 @@ const xn = typeof XMLHttpRequest < "u", Pn = xn && function(e) {
|
|
|
951
951
|
}, u.onerror = function() {
|
|
952
952
|
r(new m("Network Error", m.ERR_NETWORK, e, u)), u = null;
|
|
953
953
|
}, u.ontimeout = function() {
|
|
954
|
-
let
|
|
955
|
-
const
|
|
956
|
-
e.timeoutErrorMessage && (
|
|
957
|
-
|
|
958
|
-
|
|
954
|
+
let g = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
|
|
955
|
+
const b = e.transitional || Ze;
|
|
956
|
+
e.timeoutErrorMessage && (g = e.timeoutErrorMessage), r(new m(
|
|
957
|
+
g,
|
|
958
|
+
b.clarifyTimeoutError ? m.ETIMEDOUT : m.ECONNABORTED,
|
|
959
959
|
e,
|
|
960
960
|
u
|
|
961
961
|
)), u = null;
|
|
962
|
-
},
|
|
963
|
-
const h = e.xsrfHeaderName && e.xsrfCookieName &&
|
|
964
|
-
h &&
|
|
962
|
+
}, R.hasStandardBrowserEnv && (c && a.isFunction(c) && (c = c(e)), c || c !== !1 && Pn(y))) {
|
|
963
|
+
const h = e.xsrfHeaderName && e.xsrfCookieName && _n.read(e.xsrfCookieName);
|
|
964
|
+
h && s.set(e.xsrfHeaderName, h);
|
|
965
965
|
}
|
|
966
|
-
|
|
967
|
-
u.setRequestHeader(
|
|
968
|
-
}), a.isUndefined(e.withCredentials) || (u.withCredentials = !!e.withCredentials), i && i !== "json" && (u.responseType = e.responseType), typeof e.onDownloadProgress == "function" && u.addEventListener("progress",
|
|
969
|
-
u && (r(!h || h.type ? new
|
|
966
|
+
o === void 0 && s.setContentType(null), "setRequestHeader" in u && a.forEach(s.toJSON(), function(g, b) {
|
|
967
|
+
u.setRequestHeader(b, g);
|
|
968
|
+
}), a.isUndefined(e.withCredentials) || (u.withCredentials = !!e.withCredentials), i && i !== "json" && (u.responseType = e.responseType), typeof e.onDownloadProgress == "function" && u.addEventListener("progress", Re(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && u.upload && u.upload.addEventListener("progress", Re(e.onUploadProgress)), (e.cancelToken || e.signal) && (f = (h) => {
|
|
969
|
+
u && (r(!h || h.type ? new q(null, e, u) : h), u.abort(), u = null);
|
|
970
970
|
}, e.cancelToken && e.cancelToken.subscribe(f), e.signal && (e.signal.aborted ? f() : e.signal.addEventListener("abort", f)));
|
|
971
|
-
const p =
|
|
972
|
-
if (p &&
|
|
971
|
+
const p = Cn(y);
|
|
972
|
+
if (p && R.protocols.indexOf(p) === -1) {
|
|
973
973
|
r(new m("Unsupported protocol " + p + ":", m.ERR_BAD_REQUEST, e));
|
|
974
974
|
return;
|
|
975
975
|
}
|
|
976
|
-
u.send(
|
|
976
|
+
u.send(o || null);
|
|
977
977
|
});
|
|
978
|
-
},
|
|
979
|
-
http:
|
|
980
|
-
xhr:
|
|
978
|
+
}, oe = {
|
|
979
|
+
http: rn,
|
|
980
|
+
xhr: Dn
|
|
981
981
|
};
|
|
982
|
-
a.forEach(
|
|
982
|
+
a.forEach(oe, (e, t) => {
|
|
983
983
|
if (e) {
|
|
984
984
|
try {
|
|
985
985
|
Object.defineProperty(e, "name", { value: t });
|
|
@@ -988,28 +988,28 @@ a.forEach(ne, (e, t) => {
|
|
|
988
988
|
Object.defineProperty(e, "adapterName", { value: t });
|
|
989
989
|
}
|
|
990
990
|
});
|
|
991
|
-
const
|
|
991
|
+
const Te = (e) => `- ${e}`, Fn = (e) => a.isFunction(e) || e === null || e === !1, rt = {
|
|
992
992
|
getAdapter: (e) => {
|
|
993
993
|
e = a.isArray(e) ? e : [e];
|
|
994
994
|
const { length: t } = e;
|
|
995
995
|
let n, r;
|
|
996
|
-
const
|
|
997
|
-
for (let
|
|
998
|
-
n = e[
|
|
996
|
+
const o = {};
|
|
997
|
+
for (let s = 0; s < t; s++) {
|
|
998
|
+
n = e[s];
|
|
999
999
|
let i;
|
|
1000
|
-
if (r = n, !
|
|
1000
|
+
if (r = n, !Fn(n) && (r = oe[(i = String(n)).toLowerCase()], r === void 0))
|
|
1001
1001
|
throw new m(`Unknown adapter '${i}'`);
|
|
1002
1002
|
if (r)
|
|
1003
1003
|
break;
|
|
1004
|
-
|
|
1004
|
+
o[i || "#" + s] = r;
|
|
1005
1005
|
}
|
|
1006
1006
|
if (!r) {
|
|
1007
|
-
const
|
|
1007
|
+
const s = Object.entries(o).map(
|
|
1008
1008
|
([c, f]) => `adapter ${c} ` + (f === !1 ? "is not supported by the environment" : "is not available in the build")
|
|
1009
1009
|
);
|
|
1010
|
-
let i = t ?
|
|
1011
|
-
` +
|
|
1012
|
-
`) : " " +
|
|
1010
|
+
let i = t ? s.length > 1 ? `since :
|
|
1011
|
+
` + s.map(Te).join(`
|
|
1012
|
+
`) : " " + Te(s[0]) : "as no adapter specified";
|
|
1013
1013
|
throw new m(
|
|
1014
1014
|
"There is no suitable adapter to dispatch the request " + i,
|
|
1015
1015
|
"ERR_NOT_SUPPORT"
|
|
@@ -1017,44 +1017,44 @@ const Oe = (e) => `- ${e}`, Nn = (e) => a.isFunction(e) || e === null || e === !
|
|
|
1017
1017
|
}
|
|
1018
1018
|
return r;
|
|
1019
1019
|
},
|
|
1020
|
-
adapters:
|
|
1020
|
+
adapters: oe
|
|
1021
1021
|
};
|
|
1022
|
-
function
|
|
1022
|
+
function te(e) {
|
|
1023
1023
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
1024
|
-
throw new
|
|
1024
|
+
throw new q(null, e);
|
|
1025
1025
|
}
|
|
1026
|
-
function
|
|
1027
|
-
return
|
|
1026
|
+
function Ae(e) {
|
|
1027
|
+
return te(e), e.headers = O.from(e.headers), e.data = ee.call(
|
|
1028
1028
|
e,
|
|
1029
1029
|
e.transformRequest
|
|
1030
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
1031
|
-
return
|
|
1030
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), rt.getAdapter(e.adapter || M.adapter)(e).then(function(r) {
|
|
1031
|
+
return te(e), r.data = ee.call(
|
|
1032
1032
|
e,
|
|
1033
1033
|
e.transformResponse,
|
|
1034
1034
|
r
|
|
1035
1035
|
), r.headers = O.from(r.headers), r;
|
|
1036
1036
|
}, function(r) {
|
|
1037
|
-
return
|
|
1037
|
+
return tt(r) || (te(e), r && r.response && (r.response.data = ee.call(
|
|
1038
1038
|
e,
|
|
1039
1039
|
e.transformResponse,
|
|
1040
1040
|
r.response
|
|
1041
1041
|
), r.response.headers = O.from(r.response.headers))), Promise.reject(r);
|
|
1042
1042
|
});
|
|
1043
1043
|
}
|
|
1044
|
-
const
|
|
1045
|
-
function
|
|
1044
|
+
const _e = (e) => e instanceof O ? e.toJSON() : e;
|
|
1045
|
+
function C(e, t) {
|
|
1046
1046
|
t = t || {};
|
|
1047
1047
|
const n = {};
|
|
1048
1048
|
function r(d, l, u) {
|
|
1049
1049
|
return a.isPlainObject(d) && a.isPlainObject(l) ? a.merge.call({ caseless: u }, d, l) : a.isPlainObject(l) ? a.merge({}, l) : a.isArray(l) ? l.slice() : l;
|
|
1050
1050
|
}
|
|
1051
|
-
function
|
|
1051
|
+
function o(d, l, u) {
|
|
1052
1052
|
if (a.isUndefined(l)) {
|
|
1053
1053
|
if (!a.isUndefined(d))
|
|
1054
1054
|
return r(void 0, d, u);
|
|
1055
1055
|
} else return r(d, l, u);
|
|
1056
1056
|
}
|
|
1057
|
-
function
|
|
1057
|
+
function s(d, l) {
|
|
1058
1058
|
if (!a.isUndefined(l))
|
|
1059
1059
|
return r(void 0, l);
|
|
1060
1060
|
}
|
|
@@ -1071,9 +1071,9 @@ function N(e, t) {
|
|
|
1071
1071
|
return r(void 0, d);
|
|
1072
1072
|
}
|
|
1073
1073
|
const f = {
|
|
1074
|
-
url:
|
|
1075
|
-
method:
|
|
1076
|
-
data:
|
|
1074
|
+
url: s,
|
|
1075
|
+
method: s,
|
|
1076
|
+
data: s,
|
|
1077
1077
|
baseURL: i,
|
|
1078
1078
|
transformRequest: i,
|
|
1079
1079
|
transformResponse: i,
|
|
@@ -1099,59 +1099,59 @@ function N(e, t) {
|
|
|
1099
1099
|
socketPath: i,
|
|
1100
1100
|
responseEncoding: i,
|
|
1101
1101
|
validateStatus: c,
|
|
1102
|
-
headers: (d, l) =>
|
|
1102
|
+
headers: (d, l) => o(_e(d), _e(l), !0)
|
|
1103
1103
|
};
|
|
1104
1104
|
return a.forEach(Object.keys(Object.assign({}, e, t)), function(l) {
|
|
1105
|
-
const u = f[l] ||
|
|
1105
|
+
const u = f[l] || o, y = u(e[l], t[l], l);
|
|
1106
1106
|
a.isUndefined(y) && u !== c || (n[l] = y);
|
|
1107
1107
|
}), n;
|
|
1108
1108
|
}
|
|
1109
|
-
const
|
|
1109
|
+
const ot = "1.6.7", he = {};
|
|
1110
1110
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
1111
|
-
|
|
1111
|
+
he[e] = function(r) {
|
|
1112
1112
|
return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
1113
1113
|
};
|
|
1114
1114
|
});
|
|
1115
|
-
const
|
|
1116
|
-
|
|
1117
|
-
function s
|
|
1118
|
-
return "[Axios v" +
|
|
1115
|
+
const ke = {};
|
|
1116
|
+
he.transitional = function(t, n, r) {
|
|
1117
|
+
function o(s, i) {
|
|
1118
|
+
return "[Axios v" + ot + "] Transitional option '" + s + "'" + i + (r ? ". " + r : "");
|
|
1119
1119
|
}
|
|
1120
|
-
return (
|
|
1120
|
+
return (s, i, c) => {
|
|
1121
1121
|
if (t === !1)
|
|
1122
1122
|
throw new m(
|
|
1123
|
-
|
|
1123
|
+
o(i, " has been removed" + (n ? " in " + n : "")),
|
|
1124
1124
|
m.ERR_DEPRECATED
|
|
1125
1125
|
);
|
|
1126
|
-
return n && !
|
|
1126
|
+
return n && !ke[i] && (ke[i] = !0), t ? t(s, i, c) : !0;
|
|
1127
1127
|
};
|
|
1128
1128
|
};
|
|
1129
|
-
function
|
|
1129
|
+
function Ln(e, t, n) {
|
|
1130
1130
|
if (typeof e != "object")
|
|
1131
1131
|
throw new m("options must be an object", m.ERR_BAD_OPTION_VALUE);
|
|
1132
1132
|
const r = Object.keys(e);
|
|
1133
|
-
let
|
|
1134
|
-
for (;
|
|
1135
|
-
const
|
|
1133
|
+
let o = r.length;
|
|
1134
|
+
for (; o-- > 0; ) {
|
|
1135
|
+
const s = r[o], i = t[s];
|
|
1136
1136
|
if (i) {
|
|
1137
|
-
const c = e[
|
|
1137
|
+
const c = e[s], f = c === void 0 || i(c, s, e);
|
|
1138
1138
|
if (f !== !0)
|
|
1139
|
-
throw new m("option " +
|
|
1139
|
+
throw new m("option " + s + " must be " + f, m.ERR_BAD_OPTION_VALUE);
|
|
1140
1140
|
continue;
|
|
1141
1141
|
}
|
|
1142
1142
|
if (n !== !0)
|
|
1143
|
-
throw new m("Unknown option " +
|
|
1143
|
+
throw new m("Unknown option " + s, m.ERR_BAD_OPTION);
|
|
1144
1144
|
}
|
|
1145
1145
|
}
|
|
1146
|
-
const
|
|
1147
|
-
assertOptions:
|
|
1148
|
-
validators:
|
|
1149
|
-
}, k =
|
|
1146
|
+
const se = {
|
|
1147
|
+
assertOptions: Ln,
|
|
1148
|
+
validators: he
|
|
1149
|
+
}, k = se.validators;
|
|
1150
1150
|
class x {
|
|
1151
1151
|
constructor(t) {
|
|
1152
1152
|
this.defaults = t, this.interceptors = {
|
|
1153
|
-
request: new
|
|
1154
|
-
response: new
|
|
1153
|
+
request: new Se(),
|
|
1154
|
+
response: new Se()
|
|
1155
1155
|
};
|
|
1156
1156
|
}
|
|
1157
1157
|
/**
|
|
@@ -1167,38 +1167,38 @@ class x {
|
|
|
1167
1167
|
return await this._request(t, n);
|
|
1168
1168
|
} catch (r) {
|
|
1169
1169
|
if (r instanceof Error) {
|
|
1170
|
-
let
|
|
1171
|
-
Error.captureStackTrace ? Error.captureStackTrace(
|
|
1172
|
-
const
|
|
1173
|
-
r.stack ?
|
|
1174
|
-
` +
|
|
1170
|
+
let o;
|
|
1171
|
+
Error.captureStackTrace ? Error.captureStackTrace(o = {}) : o = new Error();
|
|
1172
|
+
const s = o.stack ? o.stack.replace(/^.+\n/, "") : "";
|
|
1173
|
+
r.stack ? s && !String(r.stack).endsWith(s.replace(/^.+\n.+\n/, "")) && (r.stack += `
|
|
1174
|
+
` + s) : r.stack = s;
|
|
1175
1175
|
}
|
|
1176
1176
|
throw r;
|
|
1177
1177
|
}
|
|
1178
1178
|
}
|
|
1179
1179
|
_request(t, n) {
|
|
1180
|
-
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n =
|
|
1181
|
-
const { transitional: r, paramsSerializer:
|
|
1182
|
-
r !== void 0 &&
|
|
1180
|
+
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = C(this.defaults, n);
|
|
1181
|
+
const { transitional: r, paramsSerializer: o, headers: s } = n;
|
|
1182
|
+
r !== void 0 && se.assertOptions(r, {
|
|
1183
1183
|
silentJSONParsing: k.transitional(k.boolean),
|
|
1184
1184
|
forcedJSONParsing: k.transitional(k.boolean),
|
|
1185
1185
|
clarifyTimeoutError: k.transitional(k.boolean)
|
|
1186
|
-
}, !1),
|
|
1187
|
-
serialize:
|
|
1188
|
-
} :
|
|
1186
|
+
}, !1), o != null && (a.isFunction(o) ? n.paramsSerializer = {
|
|
1187
|
+
serialize: o
|
|
1188
|
+
} : se.assertOptions(o, {
|
|
1189
1189
|
encode: k.function,
|
|
1190
1190
|
serialize: k.function
|
|
1191
1191
|
}, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase();
|
|
1192
|
-
let i =
|
|
1193
|
-
|
|
1194
|
-
|
|
1192
|
+
let i = s && a.merge(
|
|
1193
|
+
s.common,
|
|
1194
|
+
s[n.method]
|
|
1195
1195
|
);
|
|
1196
|
-
|
|
1196
|
+
s && a.forEach(
|
|
1197
1197
|
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
1198
1198
|
(p) => {
|
|
1199
|
-
delete
|
|
1199
|
+
delete s[p];
|
|
1200
1200
|
}
|
|
1201
|
-
), n.headers = O.concat(i,
|
|
1201
|
+
), n.headers = O.concat(i, s);
|
|
1202
1202
|
const c = [];
|
|
1203
1203
|
let f = !0;
|
|
1204
1204
|
this.interceptors.request.forEach(function(h) {
|
|
@@ -1210,7 +1210,7 @@ class x {
|
|
|
1210
1210
|
});
|
|
1211
1211
|
let l, u = 0, y;
|
|
1212
1212
|
if (!f) {
|
|
1213
|
-
const p = [
|
|
1213
|
+
const p = [Ae.bind(this), void 0];
|
|
1214
1214
|
for (p.unshift.apply(p, c), p.push.apply(p, d), y = p.length, l = Promise.resolve(n); u < y; )
|
|
1215
1215
|
l = l.then(p[u++], p[u++]);
|
|
1216
1216
|
return l;
|
|
@@ -1221,13 +1221,13 @@ class x {
|
|
|
1221
1221
|
const p = c[u++], h = c[u++];
|
|
1222
1222
|
try {
|
|
1223
1223
|
E = p(E);
|
|
1224
|
-
} catch (
|
|
1225
|
-
h.call(this,
|
|
1224
|
+
} catch (g) {
|
|
1225
|
+
h.call(this, g);
|
|
1226
1226
|
break;
|
|
1227
1227
|
}
|
|
1228
1228
|
}
|
|
1229
1229
|
try {
|
|
1230
|
-
l =
|
|
1230
|
+
l = Ae.call(this, E);
|
|
1231
1231
|
} catch (p) {
|
|
1232
1232
|
return Promise.reject(p);
|
|
1233
1233
|
}
|
|
@@ -1236,14 +1236,14 @@ class x {
|
|
|
1236
1236
|
return l;
|
|
1237
1237
|
}
|
|
1238
1238
|
getUri(t) {
|
|
1239
|
-
t =
|
|
1240
|
-
const n =
|
|
1241
|
-
return
|
|
1239
|
+
t = C(this.defaults, t);
|
|
1240
|
+
const n = nt(t.baseURL, t.url);
|
|
1241
|
+
return Xe(n, t.params, t.paramsSerializer);
|
|
1242
1242
|
}
|
|
1243
1243
|
}
|
|
1244
1244
|
a.forEach(["delete", "get", "head", "options"], function(t) {
|
|
1245
1245
|
x.prototype[t] = function(n, r) {
|
|
1246
|
-
return this.request(
|
|
1246
|
+
return this.request(C(r || {}, {
|
|
1247
1247
|
method: t,
|
|
1248
1248
|
url: n,
|
|
1249
1249
|
data: (r || {}).data
|
|
@@ -1252,44 +1252,44 @@ a.forEach(["delete", "get", "head", "options"], function(t) {
|
|
|
1252
1252
|
});
|
|
1253
1253
|
a.forEach(["post", "put", "patch"], function(t) {
|
|
1254
1254
|
function n(r) {
|
|
1255
|
-
return function(
|
|
1256
|
-
return this.request(
|
|
1255
|
+
return function(s, i, c) {
|
|
1256
|
+
return this.request(C(c || {}, {
|
|
1257
1257
|
method: t,
|
|
1258
1258
|
headers: r ? {
|
|
1259
1259
|
"Content-Type": "multipart/form-data"
|
|
1260
1260
|
} : {},
|
|
1261
|
-
url:
|
|
1261
|
+
url: s,
|
|
1262
1262
|
data: i
|
|
1263
1263
|
}));
|
|
1264
1264
|
};
|
|
1265
1265
|
}
|
|
1266
1266
|
x.prototype[t] = n(), x.prototype[t + "Form"] = n(!0);
|
|
1267
1267
|
});
|
|
1268
|
-
class
|
|
1268
|
+
class me {
|
|
1269
1269
|
constructor(t) {
|
|
1270
1270
|
if (typeof t != "function")
|
|
1271
1271
|
throw new TypeError("executor must be a function.");
|
|
1272
1272
|
let n;
|
|
1273
|
-
this.promise = new Promise(function(
|
|
1274
|
-
n =
|
|
1273
|
+
this.promise = new Promise(function(s) {
|
|
1274
|
+
n = s;
|
|
1275
1275
|
});
|
|
1276
1276
|
const r = this;
|
|
1277
|
-
this.promise.then((
|
|
1277
|
+
this.promise.then((o) => {
|
|
1278
1278
|
if (!r._listeners) return;
|
|
1279
|
-
let
|
|
1280
|
-
for (;
|
|
1281
|
-
r._listeners[
|
|
1279
|
+
let s = r._listeners.length;
|
|
1280
|
+
for (; s-- > 0; )
|
|
1281
|
+
r._listeners[s](o);
|
|
1282
1282
|
r._listeners = null;
|
|
1283
|
-
}), this.promise.then = (
|
|
1284
|
-
let
|
|
1283
|
+
}), this.promise.then = (o) => {
|
|
1284
|
+
let s;
|
|
1285
1285
|
const i = new Promise((c) => {
|
|
1286
|
-
r.subscribe(c),
|
|
1287
|
-
}).then(
|
|
1286
|
+
r.subscribe(c), s = c;
|
|
1287
|
+
}).then(o);
|
|
1288
1288
|
return i.cancel = function() {
|
|
1289
|
-
r.unsubscribe(
|
|
1289
|
+
r.unsubscribe(s);
|
|
1290
1290
|
}, i;
|
|
1291
|
-
}, t(function(
|
|
1292
|
-
r.reason || (r.reason = new
|
|
1291
|
+
}, t(function(s, i, c) {
|
|
1292
|
+
r.reason || (r.reason = new q(s, i, c), n(r.reason));
|
|
1293
1293
|
});
|
|
1294
1294
|
}
|
|
1295
1295
|
/**
|
|
@@ -1325,22 +1325,22 @@ class de {
|
|
|
1325
1325
|
static source() {
|
|
1326
1326
|
let t;
|
|
1327
1327
|
return {
|
|
1328
|
-
token: new
|
|
1329
|
-
t =
|
|
1328
|
+
token: new me(function(o) {
|
|
1329
|
+
t = o;
|
|
1330
1330
|
}),
|
|
1331
1331
|
cancel: t
|
|
1332
1332
|
};
|
|
1333
1333
|
}
|
|
1334
1334
|
}
|
|
1335
|
-
function
|
|
1335
|
+
function vn(e) {
|
|
1336
1336
|
return function(n) {
|
|
1337
1337
|
return e.apply(null, n);
|
|
1338
1338
|
};
|
|
1339
1339
|
}
|
|
1340
|
-
function
|
|
1340
|
+
function Bn(e) {
|
|
1341
1341
|
return a.isObject(e) && e.isAxiosError === !0;
|
|
1342
1342
|
}
|
|
1343
|
-
const
|
|
1343
|
+
const ie = {
|
|
1344
1344
|
Continue: 100,
|
|
1345
1345
|
SwitchingProtocols: 101,
|
|
1346
1346
|
Processing: 102,
|
|
@@ -1405,128 +1405,198 @@ const se = {
|
|
|
1405
1405
|
NotExtended: 510,
|
|
1406
1406
|
NetworkAuthenticationRequired: 511
|
|
1407
1407
|
};
|
|
1408
|
-
Object.entries(
|
|
1409
|
-
|
|
1408
|
+
Object.entries(ie).forEach(([e, t]) => {
|
|
1409
|
+
ie[t] = e;
|
|
1410
1410
|
});
|
|
1411
|
-
function
|
|
1412
|
-
const t = new x(e), n =
|
|
1413
|
-
return a.extend(n, x.prototype, t, { allOwnKeys: !0 }), a.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(
|
|
1414
|
-
return
|
|
1411
|
+
function st(e) {
|
|
1412
|
+
const t = new x(e), n = je(x.prototype.request, t);
|
|
1413
|
+
return a.extend(n, x.prototype, t, { allOwnKeys: !0 }), a.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
|
|
1414
|
+
return st(C(e, o));
|
|
1415
1415
|
}, n;
|
|
1416
1416
|
}
|
|
1417
|
-
const w =
|
|
1417
|
+
const w = st(M);
|
|
1418
1418
|
w.Axios = x;
|
|
1419
|
-
w.CanceledError =
|
|
1420
|
-
w.CancelToken =
|
|
1421
|
-
w.isCancel =
|
|
1422
|
-
w.VERSION =
|
|
1423
|
-
w.toFormData =
|
|
1419
|
+
w.CanceledError = q;
|
|
1420
|
+
w.CancelToken = me;
|
|
1421
|
+
w.isCancel = tt;
|
|
1422
|
+
w.VERSION = ot;
|
|
1423
|
+
w.toFormData = G;
|
|
1424
1424
|
w.AxiosError = m;
|
|
1425
1425
|
w.Cancel = w.CanceledError;
|
|
1426
1426
|
w.all = function(t) {
|
|
1427
1427
|
return Promise.all(t);
|
|
1428
1428
|
};
|
|
1429
|
-
w.spread =
|
|
1430
|
-
w.isAxiosError =
|
|
1431
|
-
w.mergeConfig =
|
|
1429
|
+
w.spread = vn;
|
|
1430
|
+
w.isAxiosError = Bn;
|
|
1431
|
+
w.mergeConfig = C;
|
|
1432
1432
|
w.AxiosHeaders = O;
|
|
1433
|
-
w.formToJSON = (e) =>
|
|
1434
|
-
w.getAdapter =
|
|
1435
|
-
w.HttpStatusCode =
|
|
1433
|
+
w.formToJSON = (e) => et(a.isHTMLForm(e) ? new FormData(e) : e);
|
|
1434
|
+
w.getAdapter = rt.getAdapter;
|
|
1435
|
+
w.HttpStatusCode = ie;
|
|
1436
1436
|
w.default = w;
|
|
1437
|
-
|
|
1438
|
-
|
|
1437
|
+
/*! js-cookie v3.0.5 | MIT */
|
|
1438
|
+
function z(e) {
|
|
1439
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
1440
|
+
var n = arguments[t];
|
|
1441
|
+
for (var r in n)
|
|
1442
|
+
e[r] = n[r];
|
|
1443
|
+
}
|
|
1444
|
+
return e;
|
|
1445
|
+
}
|
|
1446
|
+
var In = {
|
|
1447
|
+
read: function(e) {
|
|
1448
|
+
return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
|
|
1449
|
+
},
|
|
1450
|
+
write: function(e) {
|
|
1451
|
+
return encodeURIComponent(e).replace(
|
|
1452
|
+
/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,
|
|
1453
|
+
decodeURIComponent
|
|
1454
|
+
);
|
|
1455
|
+
}
|
|
1439
1456
|
};
|
|
1440
|
-
|
|
1441
|
-
function
|
|
1442
|
-
|
|
1457
|
+
function ae(e, t) {
|
|
1458
|
+
function n(o, s, i) {
|
|
1459
|
+
if (!(typeof document > "u")) {
|
|
1460
|
+
i = z({}, t, i), typeof i.expires == "number" && (i.expires = new Date(Date.now() + i.expires * 864e5)), i.expires && (i.expires = i.expires.toUTCString()), o = encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
|
|
1461
|
+
var c = "";
|
|
1462
|
+
for (var f in i)
|
|
1463
|
+
i[f] && (c += "; " + f, i[f] !== !0 && (c += "=" + i[f].split(";")[0]));
|
|
1464
|
+
return document.cookie = o + "=" + e.write(s, o) + c;
|
|
1465
|
+
}
|
|
1466
|
+
}
|
|
1467
|
+
function r(o) {
|
|
1468
|
+
if (!(typeof document > "u" || arguments.length && !o)) {
|
|
1469
|
+
for (var s = document.cookie ? document.cookie.split("; ") : [], i = {}, c = 0; c < s.length; c++) {
|
|
1470
|
+
var f = s[c].split("="), d = f.slice(1).join("=");
|
|
1471
|
+
try {
|
|
1472
|
+
var l = decodeURIComponent(f[0]);
|
|
1473
|
+
if (i[l] = e.read(d, l), o === l)
|
|
1474
|
+
break;
|
|
1475
|
+
} catch {
|
|
1476
|
+
}
|
|
1477
|
+
}
|
|
1478
|
+
return o ? i[o] : i;
|
|
1479
|
+
}
|
|
1480
|
+
}
|
|
1481
|
+
return Object.create(
|
|
1482
|
+
{
|
|
1483
|
+
set: n,
|
|
1484
|
+
get: r,
|
|
1485
|
+
remove: function(o, s) {
|
|
1486
|
+
n(
|
|
1487
|
+
o,
|
|
1488
|
+
"",
|
|
1489
|
+
z({}, s, {
|
|
1490
|
+
expires: -1
|
|
1491
|
+
})
|
|
1492
|
+
);
|
|
1493
|
+
},
|
|
1494
|
+
withAttributes: function(o) {
|
|
1495
|
+
return ae(this.converter, z({}, this.attributes, o));
|
|
1496
|
+
},
|
|
1497
|
+
withConverter: function(o) {
|
|
1498
|
+
return ae(z({}, this.converter, o), this.attributes);
|
|
1499
|
+
}
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
attributes: { value: Object.freeze(t) },
|
|
1503
|
+
converter: { value: Object.freeze(e) }
|
|
1504
|
+
}
|
|
1505
|
+
);
|
|
1506
|
+
}
|
|
1507
|
+
var jn = ae(In, { path: "/" }), xe;
|
|
1508
|
+
const it = typeof window < "u", Hn = (e) => typeof e == "string", Pe = () => +Date.now(), ce = () => {
|
|
1509
|
+
};
|
|
1510
|
+
it && ((xe = window == null ? void 0 : window.navigator) != null && xe.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
1511
|
+
function ye(e) {
|
|
1512
|
+
return typeof e == "function" ? e() : ht(e);
|
|
1443
1513
|
}
|
|
1444
|
-
function
|
|
1514
|
+
function Mn(e, t) {
|
|
1445
1515
|
function n(...r) {
|
|
1446
|
-
return new Promise((
|
|
1447
|
-
Promise.resolve(e(() => t.apply(this, r), { fn: t, thisArg: this, args: r })).then(
|
|
1516
|
+
return new Promise((o, s) => {
|
|
1517
|
+
Promise.resolve(e(() => t.apply(this, r), { fn: t, thisArg: this, args: r })).then(o).catch(s);
|
|
1448
1518
|
});
|
|
1449
1519
|
}
|
|
1450
1520
|
return n;
|
|
1451
1521
|
}
|
|
1452
|
-
function
|
|
1453
|
-
let
|
|
1522
|
+
function qn(e, t = !0, n = !0, r = !1) {
|
|
1523
|
+
let o = 0, s, i = !0, c = ce, f;
|
|
1454
1524
|
const d = () => {
|
|
1455
|
-
|
|
1525
|
+
s && (clearTimeout(s), s = void 0, c(), c = ce);
|
|
1456
1526
|
};
|
|
1457
1527
|
return (u) => {
|
|
1458
|
-
const y =
|
|
1459
|
-
return d(), y <= 0 ? (
|
|
1460
|
-
c = r ?
|
|
1461
|
-
|
|
1528
|
+
const y = ye(e), E = Date.now() - o, p = () => f = u();
|
|
1529
|
+
return d(), y <= 0 ? (o = Date.now(), p()) : (E > y && (n || !i) ? (o = Date.now(), p()) : t && (f = new Promise((h, g) => {
|
|
1530
|
+
c = r ? g : h, s = setTimeout(() => {
|
|
1531
|
+
o = Date.now(), i = !0, h(p()), d();
|
|
1462
1532
|
}, Math.max(0, y - E));
|
|
1463
|
-
})), !n && !
|
|
1533
|
+
})), !n && !s && (s = setTimeout(() => i = !0, y)), i = !1, f);
|
|
1464
1534
|
};
|
|
1465
1535
|
}
|
|
1466
|
-
function
|
|
1536
|
+
function zn(e) {
|
|
1467
1537
|
return e;
|
|
1468
1538
|
}
|
|
1469
|
-
function
|
|
1470
|
-
return
|
|
1539
|
+
function $n(e) {
|
|
1540
|
+
return mt() ? (yt(e), !0) : !1;
|
|
1471
1541
|
}
|
|
1472
|
-
function
|
|
1542
|
+
function Jn(e) {
|
|
1473
1543
|
var t;
|
|
1474
|
-
const n =
|
|
1544
|
+
const n = ye(e);
|
|
1475
1545
|
return (t = n == null ? void 0 : n.$el) != null ? t : n;
|
|
1476
1546
|
}
|
|
1477
|
-
const
|
|
1478
|
-
function
|
|
1479
|
-
let t, n, r,
|
|
1480
|
-
if (
|
|
1481
|
-
return
|
|
1547
|
+
const at = it ? window : void 0;
|
|
1548
|
+
function Ce(...e) {
|
|
1549
|
+
let t, n, r, o;
|
|
1550
|
+
if (Hn(e[0]) || Array.isArray(e[0]) ? ([n, r, o] = e, t = at) : [t, n, r, o] = e, !t)
|
|
1551
|
+
return ce;
|
|
1482
1552
|
Array.isArray(n) || (n = [n]), Array.isArray(r) || (r = [r]);
|
|
1483
|
-
const
|
|
1484
|
-
|
|
1485
|
-
}, c = (l, u, y, E) => (l.addEventListener(u, y, E), () => l.removeEventListener(u, y, E)), f =
|
|
1486
|
-
i(), l &&
|
|
1553
|
+
const s = [], i = () => {
|
|
1554
|
+
s.forEach((l) => l()), s.length = 0;
|
|
1555
|
+
}, c = (l, u, y, E) => (l.addEventListener(u, y, E), () => l.removeEventListener(u, y, E)), f = le(() => [Jn(t), ye(o)], ([l, u]) => {
|
|
1556
|
+
i(), l && s.push(...n.flatMap((y) => r.map((E) => c(l, y, E, u))));
|
|
1487
1557
|
}, { immediate: !0, flush: "post" }), d = () => {
|
|
1488
1558
|
f(), i();
|
|
1489
1559
|
};
|
|
1490
|
-
return
|
|
1560
|
+
return $n(d), d;
|
|
1491
1561
|
}
|
|
1492
|
-
const
|
|
1493
|
-
|
|
1494
|
-
const
|
|
1495
|
-
function
|
|
1562
|
+
const Ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ue = "__vueuse_ssr_handlers__";
|
|
1563
|
+
Ne[Ue] = Ne[Ue] || {};
|
|
1564
|
+
const Vn = ["mousemove", "mousedown", "resize", "keydown", "touchstart", "wheel"], Wn = 6e4;
|
|
1565
|
+
function Kn(e = Wn, t = {}) {
|
|
1496
1566
|
const {
|
|
1497
1567
|
initialState: n = !1,
|
|
1498
1568
|
listenForVisibilityChange: r = !0,
|
|
1499
|
-
events:
|
|
1500
|
-
window:
|
|
1501
|
-
eventFilter: i =
|
|
1502
|
-
} = t, c =
|
|
1569
|
+
events: o = Vn,
|
|
1570
|
+
window: s = at,
|
|
1571
|
+
eventFilter: i = qn(50)
|
|
1572
|
+
} = t, c = V(n), f = V(Pe());
|
|
1503
1573
|
let d;
|
|
1504
|
-
const l =
|
|
1505
|
-
c.value = !1, f.value =
|
|
1574
|
+
const l = Mn(i, () => {
|
|
1575
|
+
c.value = !1, f.value = Pe(), clearTimeout(d), d = setTimeout(() => c.value = !0, e);
|
|
1506
1576
|
});
|
|
1507
|
-
if (
|
|
1508
|
-
const u =
|
|
1509
|
-
for (const y of
|
|
1510
|
-
|
|
1511
|
-
r &&
|
|
1577
|
+
if (s) {
|
|
1578
|
+
const u = s.document;
|
|
1579
|
+
for (const y of o)
|
|
1580
|
+
Ce(s, y, l, { passive: !0 });
|
|
1581
|
+
r && Ce(u, "visibilitychange", () => {
|
|
1512
1582
|
u.hidden || l();
|
|
1513
1583
|
});
|
|
1514
1584
|
}
|
|
1515
1585
|
return d = setTimeout(() => c.value = !0, e), { idle: c, lastActive: f };
|
|
1516
1586
|
}
|
|
1517
|
-
var
|
|
1587
|
+
var De;
|
|
1518
1588
|
(function(e) {
|
|
1519
1589
|
e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE";
|
|
1520
|
-
})(
|
|
1521
|
-
var
|
|
1590
|
+
})(De || (De = {}));
|
|
1591
|
+
var Qn = Object.defineProperty, Fe = Object.getOwnPropertySymbols, Gn = Object.prototype.hasOwnProperty, Xn = Object.prototype.propertyIsEnumerable, Le = (e, t, n) => t in e ? Qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Zn = (e, t) => {
|
|
1522
1592
|
for (var n in t || (t = {}))
|
|
1523
|
-
|
|
1524
|
-
if (
|
|
1525
|
-
for (var n of
|
|
1526
|
-
|
|
1593
|
+
Gn.call(t, n) && Le(e, n, t[n]);
|
|
1594
|
+
if (Fe)
|
|
1595
|
+
for (var n of Fe(t))
|
|
1596
|
+
Xn.call(t, n) && Le(e, n, t[n]);
|
|
1527
1597
|
return e;
|
|
1528
1598
|
};
|
|
1529
|
-
const
|
|
1599
|
+
const Yn = {
|
|
1530
1600
|
easeInSine: [0.12, 0, 0.39, 0],
|
|
1531
1601
|
easeOutSine: [0.61, 1, 0.88, 1],
|
|
1532
1602
|
easeInOutSine: [0.37, 0, 0.63, 1],
|
|
@@ -1552,133 +1622,159 @@ const Wn = {
|
|
|
1552
1622
|
easeOutBack: [0.34, 1.56, 0.64, 1],
|
|
1553
1623
|
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
|
|
1554
1624
|
};
|
|
1555
|
-
|
|
1556
|
-
linear:
|
|
1557
|
-
},
|
|
1558
|
-
let
|
|
1559
|
-
const
|
|
1560
|
-
|
|
1625
|
+
Zn({
|
|
1626
|
+
linear: zn
|
|
1627
|
+
}, Yn);
|
|
1628
|
+
let ue;
|
|
1629
|
+
const ct = { triggerProxySso: "triggerProxySso" }, er = () => {
|
|
1630
|
+
ue = (e) => {
|
|
1561
1631
|
var n;
|
|
1562
1632
|
const { origin: t } = new URL(location.href);
|
|
1563
1633
|
(n = window.top) == null || n.postMessage(
|
|
1564
|
-
{ type:
|
|
1634
|
+
{ type: ct.triggerProxySso, data: { ...e || {}, redirect_uri: `${t}/` } },
|
|
1565
1635
|
t
|
|
1566
1636
|
);
|
|
1567
1637
|
};
|
|
1568
|
-
},
|
|
1638
|
+
}, tr = (e) => {
|
|
1569
1639
|
window.top === window.self && window.addEventListener("message", (t) => {
|
|
1570
1640
|
const { type: n, data: r } = t.data;
|
|
1571
|
-
n ===
|
|
1641
|
+
n === ct.triggerProxySso && (e == null || e(r));
|
|
1572
1642
|
});
|
|
1573
1643
|
};
|
|
1574
|
-
window.top !== window.self &&
|
|
1575
|
-
|
|
1644
|
+
window.top !== window.self && er();
|
|
1645
|
+
let ut = (e = 21) => {
|
|
1646
|
+
let t = "", n = crypto.getRandomValues(new Uint8Array(e));
|
|
1647
|
+
for (; e--; ) {
|
|
1648
|
+
let r = n[e] & 63;
|
|
1649
|
+
r < 36 ? t += r.toString(36) : r < 62 ? t += (r - 26).toString(36).toUpperCase() : r < 63 ? t += "_" : t += "-";
|
|
1650
|
+
}
|
|
1651
|
+
return t;
|
|
1652
|
+
};
|
|
1653
|
+
const lt = (e) => new URL(location.href).searchParams.get(e), N = {
|
|
1576
1654
|
oauth: "/api/justauth/oauth-server/v1/visitor/oauth/authorize",
|
|
1577
1655
|
// 重定向到登录页
|
|
1656
|
+
logoutCurpage: "/api/justauth/oauth-server/v1/visitor/logout-curpage",
|
|
1657
|
+
// 清除登录信息
|
|
1578
1658
|
token: "/api/justauth/oauth-server/v1/visitor/oauth/token"
|
|
1579
1659
|
// 通过code获取token
|
|
1580
|
-
}, { baseURL:
|
|
1660
|
+
}, { baseURL: ve, noRedireLogin: nr = !1 } = fe(), B = location.origin + "/home", P = {
|
|
1581
1661
|
response_type: "code",
|
|
1582
1662
|
scope: "sever",
|
|
1583
1663
|
client_id: "sys",
|
|
1584
|
-
client_secret:
|
|
1664
|
+
client_secret: wt("das123"),
|
|
1585
1665
|
state: +/* @__PURE__ */ new Date()
|
|
1586
|
-
},
|
|
1587
|
-
const e =
|
|
1666
|
+
}, rr = () => {
|
|
1667
|
+
const e = Be(location.href, "redirect_url") || "";
|
|
1588
1668
|
if (e)
|
|
1589
1669
|
window.__isAutoCloseApp = !1, window.location.replace(decodeURIComponent(e));
|
|
1590
1670
|
else {
|
|
1591
1671
|
const t = ["code", "state", "kingdee_token", "redirect_url"];
|
|
1592
|
-
window.history.replaceState(
|
|
1672
|
+
window.history.replaceState({}, "", Et(t));
|
|
1593
1673
|
}
|
|
1594
|
-
},
|
|
1674
|
+
}, ft = V(!1), dt = (e) => {
|
|
1595
1675
|
if (e <= 0) return;
|
|
1596
|
-
const { idle: t } =
|
|
1597
|
-
|
|
1676
|
+
const { idle: t } = Kn(e);
|
|
1677
|
+
le(
|
|
1598
1678
|
() => t.value,
|
|
1599
1679
|
(n) => {
|
|
1600
|
-
n === !0 && (
|
|
1680
|
+
n === !0 && (ft.value = !0);
|
|
1601
1681
|
}
|
|
1602
1682
|
);
|
|
1603
1683
|
};
|
|
1604
|
-
localStorage.getItem("idelTime") &&
|
|
1605
|
-
const
|
|
1606
|
-
const e =
|
|
1684
|
+
localStorage.getItem("idelTime") && dt(Number(localStorage.getItem("idelTime")));
|
|
1685
|
+
const or = async () => {
|
|
1686
|
+
const e = lt("code") || "";
|
|
1607
1687
|
if (!e) return L();
|
|
1608
|
-
const
|
|
1609
|
-
let
|
|
1610
|
-
const
|
|
1688
|
+
const t = Be(location.href, "kingdee_token") || "";
|
|
1689
|
+
let n = {};
|
|
1690
|
+
const r = {
|
|
1611
1691
|
grant_type: "authorization_code",
|
|
1612
1692
|
code: e,
|
|
1613
1693
|
client_id: P.client_id,
|
|
1614
1694
|
client_secret: P.client_secret,
|
|
1615
|
-
redirect_uri:
|
|
1695
|
+
redirect_uri: B,
|
|
1696
|
+
timestamp: (/* @__PURE__ */ new Date()).getTime(),
|
|
1697
|
+
nonce: ut()
|
|
1616
1698
|
};
|
|
1617
|
-
|
|
1699
|
+
t && (sessionStorage.setItem("kingdee_token", t), r.redirect_uri = `${r.redirect_uri}?kingdee_token=${t}`);
|
|
1700
|
+
try {
|
|
1701
|
+
await w.create().get(N.token, { baseURL: ve });
|
|
1702
|
+
} catch {
|
|
1703
|
+
}
|
|
1618
1704
|
try {
|
|
1619
|
-
|
|
1620
|
-
|
|
1705
|
+
n = await w.create().post(
|
|
1706
|
+
N.token,
|
|
1621
1707
|
{},
|
|
1622
1708
|
{
|
|
1623
|
-
baseURL:
|
|
1624
|
-
params:
|
|
1709
|
+
baseURL: ve,
|
|
1710
|
+
params: r,
|
|
1625
1711
|
headers: {
|
|
1626
|
-
"Content-Type": "application/x-www-form-urlencoded"
|
|
1712
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
1713
|
+
"csrf-token": jn.get("csrf-token")
|
|
1627
1714
|
}
|
|
1628
1715
|
}
|
|
1629
1716
|
);
|
|
1630
|
-
const { access_token: o = "", expires_in:
|
|
1717
|
+
const { access_token: o = "", expires_in: s = 0, refresh_token: i = "", refresh_exp: c = 0 } = n.data, f = {
|
|
1631
1718
|
accessToken: o,
|
|
1632
|
-
accessTokenExpiredAt: +/* @__PURE__ */ new Date() + Number(
|
|
1633
|
-
refreshToken:
|
|
1634
|
-
info:
|
|
1719
|
+
accessTokenExpiredAt: +/* @__PURE__ */ new Date() + Number(s) * 1e3,
|
|
1720
|
+
refreshToken: i,
|
|
1721
|
+
info: n.data
|
|
1635
1722
|
};
|
|
1636
|
-
|
|
1637
|
-
const
|
|
1638
|
-
return
|
|
1723
|
+
j().save(f), await Ie(o);
|
|
1724
|
+
const d = Number(c) - (/* @__PURE__ */ new Date()).getTime();
|
|
1725
|
+
return d && d > 0 && (dt(d), d && localStorage.setItem("idelTime", d.toString())), rr(), o;
|
|
1639
1726
|
} catch {
|
|
1640
|
-
return
|
|
1727
|
+
return I({ ...P, redirect_uri: B });
|
|
1641
1728
|
}
|
|
1642
|
-
},
|
|
1729
|
+
}, F = V(!1), pr = async (e) => {
|
|
1643
1730
|
if (e.public) return "";
|
|
1644
|
-
if (
|
|
1645
|
-
if (
|
|
1646
|
-
return await new Promise(async (
|
|
1647
|
-
|
|
1648
|
-
() =>
|
|
1649
|
-
(
|
|
1650
|
-
if (!
|
|
1731
|
+
if (ft.value) return I({ ...P, redirect_uri: B });
|
|
1732
|
+
if (F.value)
|
|
1733
|
+
return await new Promise(async (o) => {
|
|
1734
|
+
le(
|
|
1735
|
+
() => F.value,
|
|
1736
|
+
(s) => {
|
|
1737
|
+
if (!s) {
|
|
1651
1738
|
const i = L();
|
|
1652
|
-
|
|
1739
|
+
o(i);
|
|
1653
1740
|
}
|
|
1654
1741
|
}
|
|
1655
1742
|
);
|
|
1656
1743
|
});
|
|
1657
|
-
const { accessTokenExpiredAt: t } =
|
|
1744
|
+
const { accessTokenExpiredAt: t } = j().getData(), n = lt("code") || "";
|
|
1658
1745
|
if ((!L() || t === 0) && !n)
|
|
1659
|
-
return
|
|
1746
|
+
return I({ ...P, redirect_uri: B });
|
|
1660
1747
|
let r = L();
|
|
1661
|
-
|
|
1748
|
+
F.value = !0;
|
|
1662
1749
|
try {
|
|
1663
|
-
typeof t == "number" && t > 0 && +/* @__PURE__ */ new Date() + 6e4 > t && (r = await
|
|
1750
|
+
typeof t == "number" && t > 0 && +/* @__PURE__ */ new Date() + 6e4 > t && (r = await sr(P)), r = await or(), F.value = !1;
|
|
1664
1751
|
} catch {
|
|
1665
|
-
|
|
1752
|
+
F.value = !1;
|
|
1666
1753
|
}
|
|
1667
1754
|
return r;
|
|
1668
|
-
},
|
|
1669
|
-
if (
|
|
1670
|
-
const { baseURL: t, ssoLocale: n } =
|
|
1671
|
-
if (
|
|
1755
|
+
}, I = (e) => {
|
|
1756
|
+
if (nr) return;
|
|
1757
|
+
const { baseURL: t, ssoLocale: n } = fe();
|
|
1758
|
+
if (ue) return ue(e);
|
|
1672
1759
|
e.logout = "true", n && (e.locale = "locale");
|
|
1673
|
-
const r = Object.keys(e).filter((
|
|
1674
|
-
|
|
1760
|
+
const r = Object.keys(e).filter((s) => s !== "client_secret").map((s) => `${s}=${e[s]}`).join("&"), o = `${t}${N.oauth}?${r}`;
|
|
1761
|
+
localStorage.removeItem("idelTime"), sessionStorage.clear(), j().remove();
|
|
1762
|
+
try {
|
|
1763
|
+
w.create().get(N.logoutCurpage, { baseURL: t });
|
|
1764
|
+
} catch {
|
|
1765
|
+
}
|
|
1766
|
+
window.__isAutoCloseApp = !1, location.replace(o);
|
|
1675
1767
|
};
|
|
1676
|
-
|
|
1677
|
-
const
|
|
1678
|
-
const { baseURL: t } =
|
|
1768
|
+
tr(I);
|
|
1769
|
+
const sr = async (e) => {
|
|
1770
|
+
const { baseURL: t } = fe(), { refreshToken: n } = j().getData();
|
|
1771
|
+
try {
|
|
1772
|
+
await w.create().get(N.token, { baseURL: t });
|
|
1773
|
+
} catch {
|
|
1774
|
+
}
|
|
1679
1775
|
try {
|
|
1680
|
-
const
|
|
1681
|
-
|
|
1776
|
+
const r = await w.create().post(
|
|
1777
|
+
N.token,
|
|
1682
1778
|
{},
|
|
1683
1779
|
{
|
|
1684
1780
|
baseURL: t,
|
|
@@ -1686,46 +1782,46 @@ const er = async (e) => {
|
|
|
1686
1782
|
refresh_token: n,
|
|
1687
1783
|
grant_type: "refresh_token",
|
|
1688
1784
|
client_id: e.client_id,
|
|
1689
|
-
client_secret: e.client_secret
|
|
1785
|
+
client_secret: e.client_secret,
|
|
1786
|
+
timestamp: (/* @__PURE__ */ new Date()).getTime(),
|
|
1787
|
+
nonce: ut()
|
|
1690
1788
|
}
|
|
1691
1789
|
}
|
|
1692
|
-
), { access_token: o = "", expires_in:
|
|
1790
|
+
), { access_token: o = "", expires_in: s = 0, refresh_token: i = "" } = r.data, c = {
|
|
1693
1791
|
accessToken: o,
|
|
1694
|
-
accessTokenExpiredAt: +/* @__PURE__ */ new Date() + Number(
|
|
1695
|
-
refreshToken:
|
|
1696
|
-
info:
|
|
1792
|
+
accessTokenExpiredAt: +/* @__PURE__ */ new Date() + Number(s) * 1e3,
|
|
1793
|
+
refreshToken: i,
|
|
1794
|
+
info: r.data
|
|
1697
1795
|
};
|
|
1698
|
-
return
|
|
1796
|
+
return j().save(c), await Ie(o), o;
|
|
1699
1797
|
} catch {
|
|
1700
|
-
return
|
|
1798
|
+
return I({ ...e, redirect_uri: B });
|
|
1701
1799
|
}
|
|
1702
|
-
},
|
|
1800
|
+
}, j = () => ({
|
|
1703
1801
|
getData: () => ({
|
|
1704
1802
|
accessToken: L(),
|
|
1705
|
-
accessTokenExpiredAt:
|
|
1706
|
-
refreshToken:
|
|
1707
|
-
redirectUri: q("redirectUri")
|
|
1803
|
+
accessTokenExpiredAt: X("accessTokenExpiredAt") ? Number(X("accessTokenExpiredAt")) : "",
|
|
1804
|
+
refreshToken: X("refreshToken")
|
|
1708
1805
|
}),
|
|
1709
1806
|
save: (e) => {
|
|
1710
|
-
|
|
1807
|
+
gt(
|
|
1711
1808
|
e.accessToken || "",
|
|
1712
1809
|
{
|
|
1713
1810
|
accessTokenExpiredAt: e.accessTokenExpiredAt,
|
|
1714
|
-
refreshToken: e.refreshToken
|
|
1715
|
-
redirectUri: e.redirectUri
|
|
1811
|
+
refreshToken: e.refreshToken
|
|
1716
1812
|
}
|
|
1717
|
-
),
|
|
1813
|
+
), St(e);
|
|
1718
1814
|
},
|
|
1719
1815
|
remove: () => {
|
|
1720
|
-
|
|
1816
|
+
bt(), Ot();
|
|
1721
1817
|
}
|
|
1722
1818
|
});
|
|
1723
1819
|
export {
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1820
|
+
lt as getQuery,
|
|
1821
|
+
pr as getToken,
|
|
1822
|
+
or as getTokenFromCode,
|
|
1727
1823
|
P as getTokenParams,
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1824
|
+
I as login,
|
|
1825
|
+
B as real_uri,
|
|
1826
|
+
j as tokenStorage
|
|
1731
1827
|
};
|