@das-fed/utils 7.0.7-hot.10 → 7.0.7-hot.11
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/modules/app-manage/index.js +725 -743
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/index.js +725 -743
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/iot/index.js +1001 -987
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/justauth/index.js +703 -717
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/knowledge/index.js +743 -725
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/permission/index.js +725 -743
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/space-manage/index.js +743 -725
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/index.js +743 -725
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/create-api-service/sso/index.d.ts +1 -1
- package/create-api-service/sso/index.js +212 -212
- package/create-api-service/sso/index.js.gz +0 -0
- package/package.json +4 -4
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { unref as
|
|
2
|
-
import { encryption as
|
|
1
|
+
import { unref as Dt, getCurrentScope as vt, onScopeDispose as It, ref as te, watch as Ae } from "vue";
|
|
2
|
+
import { encryption as Bt } from "@das-fed/utils/atob";
|
|
3
3
|
import { getConfig as _e } from "@das-fed/utils/config";
|
|
4
|
-
import { getAccessToken as
|
|
5
|
-
import { appendQueryParams as
|
|
4
|
+
import { getAccessToken as H, removeAccessToken as jt, setAccessToken as qt, getAccessTokenInfo as fe } from "@das-fed/utils/token-tools";
|
|
5
|
+
import { appendQueryParams as nt } from "@das-fed/utils/common-tools";
|
|
6
6
|
import { removeProcessEngineToken as Mt, setProcessEngineToken as Ht } from "@das-fed/utils/process-engine-info";
|
|
7
|
-
import { setPersonalInfo as
|
|
8
|
-
function
|
|
7
|
+
import { setPersonalInfo as rt } from "@das-fed/utils/common-info/set-personal-info";
|
|
8
|
+
function ot(e, t) {
|
|
9
9
|
return function() {
|
|
10
10
|
return e.apply(t, arguments);
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
-
const { toString: $t } = Object.prototype, { getPrototypeOf: xe } = Object, { iterator:
|
|
13
|
+
const { toString: $t } = Object.prototype, { getPrototypeOf: xe } = Object, { iterator: oe, toStringTag: st } = Symbol, se = /* @__PURE__ */ ((e) => (t) => {
|
|
14
14
|
const n = $t.call(t);
|
|
15
15
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
16
|
-
})(/* @__PURE__ */ Object.create(null)), x = (e) => (e = e.toLowerCase(), (t) =>
|
|
17
|
-
function
|
|
18
|
-
return e !== null &&
|
|
16
|
+
})(/* @__PURE__ */ Object.create(null)), x = (e) => (e = e.toLowerCase(), (t) => se(t) === e), ie = (e) => (t) => typeof t === e, { isArray: v } = Array, $ = ie("undefined");
|
|
17
|
+
function J(e) {
|
|
18
|
+
return e !== null && !$(e) && e.constructor !== null && !$(e.constructor) && A(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
19
19
|
}
|
|
20
|
-
const
|
|
20
|
+
const it = x("ArrayBuffer");
|
|
21
21
|
function zt(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 && it(e.buffer), t;
|
|
24
24
|
}
|
|
25
|
-
const Jt =
|
|
26
|
-
if (
|
|
25
|
+
const Jt = ie("string"), A = ie("function"), at = ie("number"), V = (e) => e !== null && typeof e == "object", Vt = (e) => e === !0 || e === !1, Z = (e) => {
|
|
26
|
+
if (se(e) !== "object")
|
|
27
27
|
return !1;
|
|
28
28
|
const t = xe(e);
|
|
29
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(
|
|
29
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(st in e) && !(oe in e);
|
|
30
30
|
}, Wt = (e) => {
|
|
31
|
-
if (!
|
|
31
|
+
if (!V(e) || J(e))
|
|
32
32
|
return !1;
|
|
33
33
|
try {
|
|
34
34
|
return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
|
|
35
35
|
} catch {
|
|
36
36
|
return !1;
|
|
37
37
|
}
|
|
38
|
-
}, Kt = x("Date"), Qt = x("File"), Xt = x("Blob"), Gt = x("FileList"), Zt = (e) =>
|
|
38
|
+
}, Kt = x("Date"), Qt = x("File"), Xt = x("Blob"), Gt = x("FileList"), Zt = (e) => V(e) && A(e.pipe), Yt = (e) => {
|
|
39
39
|
let t;
|
|
40
|
-
return e && (typeof FormData == "function" && e instanceof FormData || A(e.append) && ((t =
|
|
40
|
+
return e && (typeof FormData == "function" && e instanceof FormData || A(e.append) && ((t = se(e)) === "formdata" || // detect form-data instance
|
|
41
41
|
t === "object" && A(e.toString) && e.toString() === "[object FormData]"));
|
|
42
42
|
}, en = x("URLSearchParams"), [tn, nn, rn, on] = ["ReadableStream", "Request", "Response", "Headers"].map(x), sn = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
43
|
-
function
|
|
43
|
+
function W(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
44
44
|
if (e === null || typeof e > "u")
|
|
45
45
|
return;
|
|
46
46
|
let r, o;
|
|
@@ -48,7 +48,7 @@ function V(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
|
48
48
|
for (r = 0, o = e.length; r < o; r++)
|
|
49
49
|
t.call(null, e[r], r, e);
|
|
50
50
|
else {
|
|
51
|
-
if (
|
|
51
|
+
if (J(e))
|
|
52
52
|
return;
|
|
53
53
|
const s = n ? Object.getOwnPropertyNames(e) : Object.keys(e), i = s.length;
|
|
54
54
|
let c;
|
|
@@ -56,8 +56,8 @@ function V(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
|
56
56
|
c = s[r], t.call(null, e[c], c, e);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
if (
|
|
59
|
+
function ct(e, t) {
|
|
60
|
+
if (J(e))
|
|
61
61
|
return null;
|
|
62
62
|
t = t.toLowerCase();
|
|
63
63
|
const n = Object.keys(e);
|
|
@@ -67,18 +67,18 @@ function at(e, t) {
|
|
|
67
67
|
return o;
|
|
68
68
|
return null;
|
|
69
69
|
}
|
|
70
|
-
const U = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global,
|
|
70
|
+
const U = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, ut = (e) => !$(e) && e !== U;
|
|
71
71
|
function ye() {
|
|
72
|
-
const { caseless: e } =
|
|
73
|
-
const s = e &&
|
|
74
|
-
|
|
72
|
+
const { caseless: e } = ut(this) && this || {}, t = {}, n = (r, o) => {
|
|
73
|
+
const s = e && ct(t, o) || o;
|
|
74
|
+
Z(t[s]) && Z(r) ? t[s] = ye(t[s], r) : Z(r) ? t[s] = ye({}, r) : v(r) ? t[s] = r.slice() : t[s] = r;
|
|
75
75
|
};
|
|
76
76
|
for (let r = 0, o = arguments.length; r < o; r++)
|
|
77
|
-
arguments[r] &&
|
|
77
|
+
arguments[r] && W(arguments[r], n);
|
|
78
78
|
return t;
|
|
79
79
|
}
|
|
80
|
-
const an = (e, t, n, { allOwnKeys: r } = {}) => (
|
|
81
|
-
n && A(o) ? e[s] =
|
|
80
|
+
const an = (e, t, n, { allOwnKeys: r } = {}) => (W(t, (o, s) => {
|
|
81
|
+
n && A(o) ? e[s] = ot(o, n) : e[s] = o;
|
|
82
82
|
}, { allOwnKeys: r }), e), cn = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), un = (e, t, n, r) => {
|
|
83
83
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
84
84
|
value: t.prototype
|
|
@@ -101,13 +101,13 @@ const an = (e, t, n, { allOwnKeys: r } = {}) => (V(t, (o, s) => {
|
|
|
101
101
|
if (!e) return null;
|
|
102
102
|
if (v(e)) return e;
|
|
103
103
|
let t = e.length;
|
|
104
|
-
if (!
|
|
104
|
+
if (!at(t)) return null;
|
|
105
105
|
const n = new Array(t);
|
|
106
106
|
for (; t-- > 0; )
|
|
107
107
|
n[t] = e[t];
|
|
108
108
|
return n;
|
|
109
109
|
}, pn = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && xe(Uint8Array)), hn = (e, t) => {
|
|
110
|
-
const r = (e && e[
|
|
110
|
+
const r = (e && e[oe]).call(e);
|
|
111
111
|
let o;
|
|
112
112
|
for (; (o = r.next()) && !o.done; ) {
|
|
113
113
|
const s = o.value;
|
|
@@ -124,14 +124,14 @@ const an = (e, t, n, { allOwnKeys: r } = {}) => (V(t, (o, s) => {
|
|
|
124
124
|
function(n, r, o) {
|
|
125
125
|
return r.toUpperCase() + o;
|
|
126
126
|
}
|
|
127
|
-
), Ue = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), gn = x("RegExp"),
|
|
127
|
+
), Ue = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), gn = x("RegExp"), lt = (e, t) => {
|
|
128
128
|
const n = Object.getOwnPropertyDescriptors(e), r = {};
|
|
129
|
-
|
|
129
|
+
W(n, (o, s) => {
|
|
130
130
|
let i;
|
|
131
131
|
(i = t(o, s, e)) !== !1 && (r[s] = i || o);
|
|
132
132
|
}), Object.defineProperties(e, r);
|
|
133
133
|
}, bn = (e) => {
|
|
134
|
-
|
|
134
|
+
lt(e, (t, n) => {
|
|
135
135
|
if (A(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
136
136
|
return !1;
|
|
137
137
|
const r = e[n];
|
|
@@ -155,51 +155,51 @@ const an = (e, t, n, { allOwnKeys: r } = {}) => (V(t, (o, s) => {
|
|
|
155
155
|
}, Sn = () => {
|
|
156
156
|
}, Rn = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
157
157
|
function Tn(e) {
|
|
158
|
-
return !!(e && A(e.append) && e[
|
|
158
|
+
return !!(e && A(e.append) && e[st] === "FormData" && e[oe]);
|
|
159
159
|
}
|
|
160
160
|
const On = (e) => {
|
|
161
161
|
const t = new Array(10), n = (r, o) => {
|
|
162
|
-
if (
|
|
162
|
+
if (V(r)) {
|
|
163
163
|
if (t.indexOf(r) >= 0)
|
|
164
164
|
return;
|
|
165
|
-
if (
|
|
165
|
+
if (J(r))
|
|
166
166
|
return r;
|
|
167
167
|
if (!("toJSON" in r)) {
|
|
168
168
|
t[o] = r;
|
|
169
169
|
const s = v(r) ? [] : {};
|
|
170
|
-
return
|
|
170
|
+
return W(r, (i, c) => {
|
|
171
171
|
const f = n(i, o + 1);
|
|
172
|
-
|
|
172
|
+
!$(f) && (s[c] = f);
|
|
173
173
|
}), t[o] = void 0, s;
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
return r;
|
|
177
177
|
};
|
|
178
178
|
return n(e, 0);
|
|
179
|
-
}, An = x("AsyncFunction"), _n = (e) => e && (
|
|
179
|
+
}, An = x("AsyncFunction"), _n = (e) => e && (V(e) || A(e)) && A(e.then) && A(e.catch), ft = ((e, t) => e ? setImmediate : t ? ((n, r) => (U.addEventListener("message", ({ source: o, data: s }) => {
|
|
180
180
|
o === U && s === n && r.length && r.shift()();
|
|
181
181
|
}, !1), (o) => {
|
|
182
182
|
r.push(o), U.postMessage(n, "*");
|
|
183
183
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
184
184
|
typeof setImmediate == "function",
|
|
185
185
|
A(U.postMessage)
|
|
186
|
-
), xn = typeof queueMicrotask < "u" ? queueMicrotask.bind(U) : typeof process < "u" && process.nextTick ||
|
|
186
|
+
), xn = typeof queueMicrotask < "u" ? queueMicrotask.bind(U) : typeof process < "u" && process.nextTick || ft, kn = (e) => e != null && A(e[oe]), a = {
|
|
187
187
|
isArray: v,
|
|
188
|
-
isArrayBuffer:
|
|
189
|
-
isBuffer:
|
|
188
|
+
isArrayBuffer: it,
|
|
189
|
+
isBuffer: J,
|
|
190
190
|
isFormData: Yt,
|
|
191
191
|
isArrayBufferView: zt,
|
|
192
192
|
isString: Jt,
|
|
193
|
-
isNumber:
|
|
193
|
+
isNumber: at,
|
|
194
194
|
isBoolean: Vt,
|
|
195
|
-
isObject:
|
|
196
|
-
isPlainObject:
|
|
195
|
+
isObject: V,
|
|
196
|
+
isPlainObject: Z,
|
|
197
197
|
isEmptyObject: Wt,
|
|
198
198
|
isReadableStream: tn,
|
|
199
199
|
isRequest: nn,
|
|
200
200
|
isResponse: rn,
|
|
201
201
|
isHeaders: on,
|
|
202
|
-
isUndefined:
|
|
202
|
+
isUndefined: $,
|
|
203
203
|
isDate: Kt,
|
|
204
204
|
isFile: Qt,
|
|
205
205
|
isBlob: Xt,
|
|
@@ -209,14 +209,14 @@ const On = (e) => {
|
|
|
209
209
|
isURLSearchParams: en,
|
|
210
210
|
isTypedArray: pn,
|
|
211
211
|
isFileList: Gt,
|
|
212
|
-
forEach:
|
|
212
|
+
forEach: W,
|
|
213
213
|
merge: ye,
|
|
214
214
|
extend: an,
|
|
215
215
|
trim: sn,
|
|
216
216
|
stripBOM: cn,
|
|
217
217
|
inherits: un,
|
|
218
218
|
toFlatObject: ln,
|
|
219
|
-
kindOf:
|
|
219
|
+
kindOf: se,
|
|
220
220
|
kindOfTest: x,
|
|
221
221
|
endsWith: fn,
|
|
222
222
|
toArray: dn,
|
|
@@ -226,20 +226,20 @@ const On = (e) => {
|
|
|
226
226
|
hasOwnProperty: Ue,
|
|
227
227
|
hasOwnProp: Ue,
|
|
228
228
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
229
|
-
reduceDescriptors:
|
|
229
|
+
reduceDescriptors: lt,
|
|
230
230
|
freezeMethods: bn,
|
|
231
231
|
toObjectSet: En,
|
|
232
232
|
toCamelCase: wn,
|
|
233
233
|
noop: Sn,
|
|
234
234
|
toFiniteNumber: Rn,
|
|
235
|
-
findKey:
|
|
235
|
+
findKey: ct,
|
|
236
236
|
global: U,
|
|
237
|
-
isContextDefined:
|
|
237
|
+
isContextDefined: ut,
|
|
238
238
|
isSpecCompliantForm: Tn,
|
|
239
239
|
toJSONObject: On,
|
|
240
240
|
isAsyncFn: An,
|
|
241
241
|
isThenable: _n,
|
|
242
|
-
setImmediate:
|
|
242
|
+
setImmediate: ft,
|
|
243
243
|
asap: xn,
|
|
244
244
|
isIterable: kn
|
|
245
245
|
};
|
|
@@ -267,7 +267,7 @@ a.inherits(y, Error, {
|
|
|
267
267
|
};
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
|
-
const
|
|
270
|
+
const dt = y.prototype, pt = {};
|
|
271
271
|
[
|
|
272
272
|
"ERR_BAD_OPTION_VALUE",
|
|
273
273
|
"ERR_BAD_OPTION",
|
|
@@ -283,12 +283,12 @@ const ft = y.prototype, dt = {};
|
|
|
283
283
|
"ERR_INVALID_URL"
|
|
284
284
|
// eslint-disable-next-line func-names
|
|
285
285
|
].forEach((e) => {
|
|
286
|
-
|
|
286
|
+
pt[e] = { value: e };
|
|
287
287
|
});
|
|
288
|
-
Object.defineProperties(y,
|
|
289
|
-
Object.defineProperty(
|
|
288
|
+
Object.defineProperties(y, pt);
|
|
289
|
+
Object.defineProperty(dt, "isAxiosError", { value: !0 });
|
|
290
290
|
y.from = (e, t, n, r, o, s) => {
|
|
291
|
-
const i = Object.create(
|
|
291
|
+
const i = Object.create(dt);
|
|
292
292
|
return a.toFlatObject(e, i, function(f) {
|
|
293
293
|
return f !== Error.prototype;
|
|
294
294
|
}, (c) => c !== "isAxiosError"), y.call(i, e.message, t, n, r, o), i.cause = e, i.name = e.name, s && Object.assign(i, s), i;
|
|
@@ -297,12 +297,12 @@ const Cn = null;
|
|
|
297
297
|
function we(e) {
|
|
298
298
|
return a.isPlainObject(e) || a.isArray(e);
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function ht(e) {
|
|
301
301
|
return a.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
302
302
|
}
|
|
303
303
|
function Ne(e, t, n) {
|
|
304
304
|
return e ? e.concat(t).map(function(o, s) {
|
|
305
|
-
return o =
|
|
305
|
+
return o = ht(o), !n && s ? "[" + o + "]" : o;
|
|
306
306
|
}).join(n ? "." : "") : t;
|
|
307
307
|
}
|
|
308
308
|
function Pn(e) {
|
|
@@ -311,7 +311,7 @@ function Pn(e) {
|
|
|
311
311
|
const Ln = a.toFlatObject(a, {}, null, function(t) {
|
|
312
312
|
return /^is[A-Z]/.test(t);
|
|
313
313
|
});
|
|
314
|
-
function
|
|
314
|
+
function ae(e, t, n) {
|
|
315
315
|
if (!a.isObject(e))
|
|
316
316
|
throw new TypeError("target must be an object");
|
|
317
317
|
t = t || new FormData(), n = a.toFlatObject(n, {
|
|
@@ -340,7 +340,7 @@ function ie(e, t, n) {
|
|
|
340
340
|
if (a.endsWith(m, "{}"))
|
|
341
341
|
m = r ? m : m.slice(0, -2), p = JSON.stringify(p);
|
|
342
342
|
else if (a.isArray(p) && Pn(p) || (a.isFileList(p) || a.endsWith(m, "[]")) && (E = a.toArray(p)))
|
|
343
|
-
return m =
|
|
343
|
+
return m = ht(m), E.forEach(function(R, C) {
|
|
344
344
|
!(a.isUndefined(R) || R === null) && t.append(
|
|
345
345
|
// eslint-disable-next-line no-nested-ternary
|
|
346
346
|
i === !0 ? Ne([m], C, s) : i === null ? m : m + "[]",
|
|
@@ -389,13 +389,13 @@ function Fe(e) {
|
|
|
389
389
|
});
|
|
390
390
|
}
|
|
391
391
|
function ke(e, t) {
|
|
392
|
-
this._pairs = [], e &&
|
|
392
|
+
this._pairs = [], e && ae(e, this, t);
|
|
393
393
|
}
|
|
394
|
-
const
|
|
395
|
-
|
|
394
|
+
const mt = ke.prototype;
|
|
395
|
+
mt.append = function(t, n) {
|
|
396
396
|
this._pairs.push([t, n]);
|
|
397
397
|
};
|
|
398
|
-
|
|
398
|
+
mt.toString = function(t) {
|
|
399
399
|
const n = t ? function(r) {
|
|
400
400
|
return t.call(this, r, Fe);
|
|
401
401
|
} : Fe;
|
|
@@ -406,7 +406,7 @@ ht.toString = function(t) {
|
|
|
406
406
|
function Un(e) {
|
|
407
407
|
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
408
408
|
}
|
|
409
|
-
function
|
|
409
|
+
function yt(e, t, n) {
|
|
410
410
|
if (!t)
|
|
411
411
|
return e;
|
|
412
412
|
const r = n && n.encode || Un;
|
|
@@ -475,7 +475,7 @@ class De {
|
|
|
475
475
|
});
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
|
-
const
|
|
478
|
+
const wt = {
|
|
479
479
|
silentJSONParsing: !0,
|
|
480
480
|
forcedJSONParsing: !0,
|
|
481
481
|
clarifyTimeoutError: !1
|
|
@@ -500,7 +500,7 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", jn
|
|
|
500
500
|
...vn
|
|
501
501
|
};
|
|
502
502
|
function Mn(e, t) {
|
|
503
|
-
return
|
|
503
|
+
return ae(e, new T.classes.URLSearchParams(), {
|
|
504
504
|
visitor: function(n, r, o, s) {
|
|
505
505
|
return T.isNode && a.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
|
|
506
506
|
},
|
|
@@ -519,7 +519,7 @@ function $n(e) {
|
|
|
519
519
|
s = n[r], t[s] = e[s];
|
|
520
520
|
return t;
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function gt(e) {
|
|
523
523
|
function t(n, r, o, s) {
|
|
524
524
|
let i = n[s++];
|
|
525
525
|
if (i === "__proto__") return !0;
|
|
@@ -544,13 +544,13 @@ function zn(e, t, n) {
|
|
|
544
544
|
}
|
|
545
545
|
return (n || JSON.stringify)(e);
|
|
546
546
|
}
|
|
547
|
-
const
|
|
548
|
-
transitional:
|
|
547
|
+
const K = {
|
|
548
|
+
transitional: wt,
|
|
549
549
|
adapter: ["xhr", "http", "fetch"],
|
|
550
550
|
transformRequest: [function(t, n) {
|
|
551
551
|
const r = n.getContentType() || "", o = r.indexOf("application/json") > -1, s = a.isObject(t);
|
|
552
552
|
if (s && a.isHTMLForm(t) && (t = new FormData(t)), a.isFormData(t))
|
|
553
|
-
return o ? JSON.stringify(
|
|
553
|
+
return o ? JSON.stringify(gt(t)) : t;
|
|
554
554
|
if (a.isArrayBuffer(t) || a.isBuffer(t) || a.isStream(t) || a.isFile(t) || a.isBlob(t) || a.isReadableStream(t))
|
|
555
555
|
return t;
|
|
556
556
|
if (a.isArrayBufferView(t))
|
|
@@ -563,7 +563,7 @@ const W = {
|
|
|
563
563
|
return Mn(t, this.formSerializer).toString();
|
|
564
564
|
if ((c = a.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
|
|
565
565
|
const f = this.env && this.env.FormData;
|
|
566
|
-
return
|
|
566
|
+
return ae(
|
|
567
567
|
c ? { "files[]": t } : t,
|
|
568
568
|
f && new f(),
|
|
569
569
|
this.formSerializer
|
|
@@ -573,7 +573,7 @@ const W = {
|
|
|
573
573
|
return s || o ? (n.setContentType("application/json", !1), zn(t)) : t;
|
|
574
574
|
}],
|
|
575
575
|
transformResponse: [function(t) {
|
|
576
|
-
const n = this.transitional ||
|
|
576
|
+
const n = this.transitional || K.transitional, r = n && n.forcedJSONParsing, o = this.responseType === "json";
|
|
577
577
|
if (a.isResponse(t) || a.isReadableStream(t))
|
|
578
578
|
return t;
|
|
579
579
|
if (t && a.isString(t) && (r && !this.responseType || o)) {
|
|
@@ -611,7 +611,7 @@ const W = {
|
|
|
611
611
|
}
|
|
612
612
|
};
|
|
613
613
|
a.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
614
|
-
|
|
614
|
+
K.headers[e] = {};
|
|
615
615
|
});
|
|
616
616
|
const Jn = a.toObjectSet([
|
|
617
617
|
"age",
|
|
@@ -642,8 +642,8 @@ const Jn = a.toObjectSet([
|
|
|
642
642
|
function B(e) {
|
|
643
643
|
return e && String(e).trim().toLowerCase();
|
|
644
644
|
}
|
|
645
|
-
function
|
|
646
|
-
return e === !1 || e == null ? e : a.isArray(e) ? e.map(
|
|
645
|
+
function Y(e) {
|
|
646
|
+
return e === !1 || e == null ? e : a.isArray(e) ? e.map(Y) : String(e);
|
|
647
647
|
}
|
|
648
648
|
function Wn(e) {
|
|
649
649
|
const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
@@ -653,7 +653,7 @@ function Wn(e) {
|
|
|
653
653
|
return t;
|
|
654
654
|
}
|
|
655
655
|
const Kn = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
656
|
-
function
|
|
656
|
+
function de(e, t, n, r, o) {
|
|
657
657
|
if (a.isFunction(r))
|
|
658
658
|
return r.call(this, t, n);
|
|
659
659
|
if (o && (t = n), !!a.isString(t)) {
|
|
@@ -688,7 +688,7 @@ let _ = class {
|
|
|
688
688
|
if (!u)
|
|
689
689
|
throw new Error("header name must be a non-empty string");
|
|
690
690
|
const d = a.findKey(o, u);
|
|
691
|
-
(!d || o[d] === void 0 || l === !0 || l === void 0 && o[d] !== !1) && (o[d || f] =
|
|
691
|
+
(!d || o[d] === void 0 || l === !0 || l === void 0 && o[d] !== !1) && (o[d || f] = Y(c));
|
|
692
692
|
}
|
|
693
693
|
const i = (c, f) => a.forEach(c, (l, u) => s(l, u, f));
|
|
694
694
|
if (a.isPlainObject(t) || t instanceof this.constructor)
|
|
@@ -727,7 +727,7 @@ let _ = class {
|
|
|
727
727
|
has(t, n) {
|
|
728
728
|
if (t = B(t), t) {
|
|
729
729
|
const r = a.findKey(this, t);
|
|
730
|
-
return !!(r && this[r] !== void 0 && (!n ||
|
|
730
|
+
return !!(r && this[r] !== void 0 && (!n || de(this, this[r], r, n)));
|
|
731
731
|
}
|
|
732
732
|
return !1;
|
|
733
733
|
}
|
|
@@ -737,7 +737,7 @@ let _ = class {
|
|
|
737
737
|
function s(i) {
|
|
738
738
|
if (i = B(i), i) {
|
|
739
739
|
const c = a.findKey(r, i);
|
|
740
|
-
c && (!n ||
|
|
740
|
+
c && (!n || de(r, r[c], c, n)) && (delete r[c], o = !0);
|
|
741
741
|
}
|
|
742
742
|
}
|
|
743
743
|
return a.isArray(t) ? t.forEach(s) : s(t), o;
|
|
@@ -747,7 +747,7 @@ let _ = class {
|
|
|
747
747
|
let r = n.length, o = !1;
|
|
748
748
|
for (; r--; ) {
|
|
749
749
|
const s = n[r];
|
|
750
|
-
(!t ||
|
|
750
|
+
(!t || de(this, this[s], s, t, !0)) && (delete this[s], o = !0);
|
|
751
751
|
}
|
|
752
752
|
return o;
|
|
753
753
|
}
|
|
@@ -756,11 +756,11 @@ let _ = class {
|
|
|
756
756
|
return a.forEach(this, (o, s) => {
|
|
757
757
|
const i = a.findKey(r, s);
|
|
758
758
|
if (i) {
|
|
759
|
-
n[i] =
|
|
759
|
+
n[i] = Y(o), delete n[s];
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
762
762
|
const c = t ? Qn(s) : String(s).trim();
|
|
763
|
-
c !== s && delete n[s], n[c] =
|
|
763
|
+
c !== s && delete n[s], n[c] = Y(o), r[c] = !0;
|
|
764
764
|
}), this;
|
|
765
765
|
}
|
|
766
766
|
concat(...t) {
|
|
@@ -814,14 +814,14 @@ a.reduceDescriptors(_.prototype, ({ value: e }, t) => {
|
|
|
814
814
|
};
|
|
815
815
|
});
|
|
816
816
|
a.freezeMethods(_);
|
|
817
|
-
function
|
|
818
|
-
const n = this ||
|
|
817
|
+
function pe(e, t) {
|
|
818
|
+
const n = this || K, r = t || n, o = _.from(r.headers);
|
|
819
819
|
let s = r.data;
|
|
820
820
|
return a.forEach(e, function(c) {
|
|
821
821
|
s = c.call(n, s, o.normalize(), t ? t.status : void 0);
|
|
822
822
|
}), o.normalize(), s;
|
|
823
823
|
}
|
|
824
|
-
function
|
|
824
|
+
function bt(e) {
|
|
825
825
|
return !!(e && e.__CANCEL__);
|
|
826
826
|
}
|
|
827
827
|
function I(e, t, n) {
|
|
@@ -830,7 +830,7 @@ function I(e, t, n) {
|
|
|
830
830
|
a.inherits(I, y, {
|
|
831
831
|
__CANCEL__: !0
|
|
832
832
|
});
|
|
833
|
-
function
|
|
833
|
+
function Et(e, t, n) {
|
|
834
834
|
const r = n.config.validateStatus;
|
|
835
835
|
!n.status || !r || r(n.status) ? e(n) : t(new y(
|
|
836
836
|
"Request failed with status code " + n.status,
|
|
@@ -872,7 +872,7 @@ function Yn(e, t) {
|
|
|
872
872
|
}, r - d)));
|
|
873
873
|
}, () => o && i(o)];
|
|
874
874
|
}
|
|
875
|
-
const
|
|
875
|
+
const ne = (e, t, n = 3) => {
|
|
876
876
|
let r = 0;
|
|
877
877
|
const o = Zn(50, 250);
|
|
878
878
|
return Yn((s) => {
|
|
@@ -934,7 +934,7 @@ function nr(e) {
|
|
|
934
934
|
function rr(e, t) {
|
|
935
935
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
936
936
|
}
|
|
937
|
-
function
|
|
937
|
+
function St(e, t, n) {
|
|
938
938
|
let r = !nr(t);
|
|
939
939
|
return e && (r || n == !1) ? rr(e, t) : t;
|
|
940
940
|
}
|
|
@@ -1003,10 +1003,10 @@ function F(e, t) {
|
|
|
1003
1003
|
a.isUndefined(w) && d !== c || (n[u] = w);
|
|
1004
1004
|
}), n;
|
|
1005
1005
|
}
|
|
1006
|
-
const
|
|
1006
|
+
const Rt = (e) => {
|
|
1007
1007
|
const t = F({}, e);
|
|
1008
1008
|
let { data: n, withXSRFToken: r, xsrfHeaderName: o, xsrfCookieName: s, headers: i, auth: c } = t;
|
|
1009
|
-
t.headers = i = _.from(i), t.url =
|
|
1009
|
+
t.headers = i = _.from(i), t.url = yt(St(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), c && i.set(
|
|
1010
1010
|
"Authorization",
|
|
1011
1011
|
"Basic " + btoa((c.username || "") + ":" + (c.password ? unescape(encodeURIComponent(c.password)) : ""))
|
|
1012
1012
|
);
|
|
@@ -1026,7 +1026,7 @@ const St = (e) => {
|
|
|
1026
1026
|
return t;
|
|
1027
1027
|
}, or = typeof XMLHttpRequest < "u", sr = or && function(e) {
|
|
1028
1028
|
return new Promise(function(n, r) {
|
|
1029
|
-
const o =
|
|
1029
|
+
const o = Rt(e);
|
|
1030
1030
|
let s = o.data;
|
|
1031
1031
|
const i = _.from(o.headers).normalize();
|
|
1032
1032
|
let { responseType: c, onUploadProgress: f, onDownloadProgress: l } = o, u, d, w, g, p;
|
|
@@ -1048,7 +1048,7 @@ const St = (e) => {
|
|
|
1048
1048
|
config: e,
|
|
1049
1049
|
request: h
|
|
1050
1050
|
};
|
|
1051
|
-
|
|
1051
|
+
Et(function(L) {
|
|
1052
1052
|
n(L), m();
|
|
1053
1053
|
}, function(L) {
|
|
1054
1054
|
r(L), m();
|
|
@@ -1062,7 +1062,7 @@ const St = (e) => {
|
|
|
1062
1062
|
r(new y("Network Error", y.ERR_NETWORK, e, h)), h = null;
|
|
1063
1063
|
}, h.ontimeout = function() {
|
|
1064
1064
|
let C = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
1065
|
-
const O = o.transitional ||
|
|
1065
|
+
const O = o.transitional || wt;
|
|
1066
1066
|
o.timeoutErrorMessage && (C = o.timeoutErrorMessage), r(new y(
|
|
1067
1067
|
C,
|
|
1068
1068
|
O.clarifyTimeoutError ? y.ETIMEDOUT : y.ECONNABORTED,
|
|
@@ -1071,7 +1071,7 @@ const St = (e) => {
|
|
|
1071
1071
|
)), h = null;
|
|
1072
1072
|
}, s === void 0 && i.setContentType(null), "setRequestHeader" in h && a.forEach(i.toJSON(), function(C, O) {
|
|
1073
1073
|
h.setRequestHeader(O, C);
|
|
1074
|
-
}), a.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), c && c !== "json" && (h.responseType = o.responseType), l && ([w, p] =
|
|
1074
|
+
}), a.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), c && c !== "json" && (h.responseType = o.responseType), l && ([w, p] = ne(l, !0), h.addEventListener("progress", w)), f && h.upload && ([d, g] = ne(f), h.upload.addEventListener("progress", d), h.upload.addEventListener("loadend", g)), (o.cancelToken || o.signal) && (u = (R) => {
|
|
1075
1075
|
h && (r(!R || R.type ? new I(null, e, h) : R), h.abort(), h = null);
|
|
1076
1076
|
}, o.cancelToken && o.cancelToken.subscribe(u), o.signal && (o.signal.aborted ? u() : o.signal.addEventListener("abort", u)));
|
|
1077
1077
|
const S = Gn(o.url);
|
|
@@ -1161,13 +1161,13 @@ const St = (e) => {
|
|
|
1161
1161
|
}, {
|
|
1162
1162
|
highWaterMark: 2
|
|
1163
1163
|
});
|
|
1164
|
-
},
|
|
1164
|
+
}, ce = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Tt = ce && typeof ReadableStream == "function", lr = ce && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), Ot = (e, ...t) => {
|
|
1165
1165
|
try {
|
|
1166
1166
|
return !!e(...t);
|
|
1167
1167
|
} catch {
|
|
1168
1168
|
return !1;
|
|
1169
1169
|
}
|
|
1170
|
-
}, fr =
|
|
1170
|
+
}, fr = Tt && Ot(() => {
|
|
1171
1171
|
let e = !1;
|
|
1172
1172
|
const t = new Request(T.origin, {
|
|
1173
1173
|
body: new ReadableStream(),
|
|
@@ -1177,12 +1177,12 @@ const St = (e) => {
|
|
|
1177
1177
|
}
|
|
1178
1178
|
}).headers.has("Content-Type");
|
|
1179
1179
|
return e && !t;
|
|
1180
|
-
}), Me = 64 * 1024, be =
|
|
1180
|
+
}), Me = 64 * 1024, be = Tt && Ot(() => a.isReadableStream(new Response("").body)), re = {
|
|
1181
1181
|
stream: be && ((e) => e.body)
|
|
1182
1182
|
};
|
|
1183
|
-
|
|
1183
|
+
ce && ((e) => {
|
|
1184
1184
|
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
|
|
1185
|
-
!
|
|
1185
|
+
!re[t] && (re[t] = a.isFunction(e[t]) ? (n) => n[t]() : (n, r) => {
|
|
1186
1186
|
throw new y(`Response type '${t}' is not supported`, y.ERR_NOT_SUPPORT, r);
|
|
1187
1187
|
});
|
|
1188
1188
|
});
|
|
@@ -1204,7 +1204,7 @@ const dr = async (e) => {
|
|
|
1204
1204
|
}, pr = async (e, t) => {
|
|
1205
1205
|
const n = a.toFiniteNumber(e.getContentLength());
|
|
1206
1206
|
return n ?? dr(t);
|
|
1207
|
-
}, hr =
|
|
1207
|
+
}, hr = ce && (async (e) => {
|
|
1208
1208
|
let {
|
|
1209
1209
|
url: t,
|
|
1210
1210
|
method: n,
|
|
@@ -1218,7 +1218,7 @@ const dr = async (e) => {
|
|
|
1218
1218
|
headers: u,
|
|
1219
1219
|
withCredentials: d = "same-origin",
|
|
1220
1220
|
fetchOptions: w
|
|
1221
|
-
} =
|
|
1221
|
+
} = Rt(e);
|
|
1222
1222
|
l = l ? (l + "").toLowerCase() : "text";
|
|
1223
1223
|
let g = ir([o, s && s.toAbortSignal()], i), p;
|
|
1224
1224
|
const m = g && g.unsubscribe && (() => {
|
|
@@ -1233,11 +1233,11 @@ const dr = async (e) => {
|
|
|
1233
1233
|
duplex: "half"
|
|
1234
1234
|
}), P;
|
|
1235
1235
|
if (a.isFormData(r) && (P = O.headers.get("content-type")) && u.setContentType(P), O.body) {
|
|
1236
|
-
const [L,
|
|
1236
|
+
const [L, Q] = Ie(
|
|
1237
1237
|
h,
|
|
1238
|
-
|
|
1238
|
+
ne(Be(f))
|
|
1239
1239
|
);
|
|
1240
|
-
r = qe(O.body, Me, L,
|
|
1240
|
+
r = qe(O.body, Me, L, Q);
|
|
1241
1241
|
}
|
|
1242
1242
|
}
|
|
1243
1243
|
a.isString(d) || (d = d ? "include" : "omit");
|
|
@@ -1258,21 +1258,21 @@ const dr = async (e) => {
|
|
|
1258
1258
|
["status", "statusText", "headers"].forEach((Le) => {
|
|
1259
1259
|
O[Le] = S[Le];
|
|
1260
1260
|
});
|
|
1261
|
-
const P = a.toFiniteNumber(S.headers.get("content-length")), [L,
|
|
1261
|
+
const P = a.toFiniteNumber(S.headers.get("content-length")), [L, Q] = c && Ie(
|
|
1262
1262
|
P,
|
|
1263
|
-
|
|
1263
|
+
ne(Be(c), !0)
|
|
1264
1264
|
) || [];
|
|
1265
1265
|
S = new Response(
|
|
1266
1266
|
qe(S.body, Me, L, () => {
|
|
1267
|
-
|
|
1267
|
+
Q && Q(), m && m();
|
|
1268
1268
|
}),
|
|
1269
1269
|
O
|
|
1270
1270
|
);
|
|
1271
1271
|
}
|
|
1272
1272
|
l = l || "text";
|
|
1273
|
-
let C = await
|
|
1273
|
+
let C = await re[a.findKey(re, l) || "text"](S, e);
|
|
1274
1274
|
return !R && m && m(), await new Promise((O, P) => {
|
|
1275
|
-
|
|
1275
|
+
Et(O, P, {
|
|
1276
1276
|
data: C,
|
|
1277
1277
|
headers: _.from(S.headers),
|
|
1278
1278
|
status: S.status,
|
|
@@ -1303,7 +1303,7 @@ a.forEach(Ee, (e, t) => {
|
|
|
1303
1303
|
Object.defineProperty(e, "adapterName", { value: t });
|
|
1304
1304
|
}
|
|
1305
1305
|
});
|
|
1306
|
-
const He = (e) => `- ${e}`, mr = (e) => a.isFunction(e) || e === null || e === !1,
|
|
1306
|
+
const He = (e) => `- ${e}`, mr = (e) => a.isFunction(e) || e === null || e === !1, At = {
|
|
1307
1307
|
getAdapter: (e) => {
|
|
1308
1308
|
e = a.isArray(e) ? e : [e];
|
|
1309
1309
|
const { length: t } = e;
|
|
@@ -1334,38 +1334,38 @@ const He = (e) => `- ${e}`, mr = (e) => a.isFunction(e) || e === null || e === !
|
|
|
1334
1334
|
},
|
|
1335
1335
|
adapters: Ee
|
|
1336
1336
|
};
|
|
1337
|
-
function
|
|
1337
|
+
function he(e) {
|
|
1338
1338
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
1339
1339
|
throw new I(null, e);
|
|
1340
1340
|
}
|
|
1341
1341
|
function $e(e) {
|
|
1342
|
-
return
|
|
1342
|
+
return he(e), e.headers = _.from(e.headers), e.data = pe.call(
|
|
1343
1343
|
e,
|
|
1344
1344
|
e.transformRequest
|
|
1345
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
1346
|
-
return
|
|
1345
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), At.getAdapter(e.adapter || K.adapter)(e).then(function(r) {
|
|
1346
|
+
return he(e), r.data = pe.call(
|
|
1347
1347
|
e,
|
|
1348
1348
|
e.transformResponse,
|
|
1349
1349
|
r
|
|
1350
1350
|
), r.headers = _.from(r.headers), r;
|
|
1351
1351
|
}, function(r) {
|
|
1352
|
-
return
|
|
1352
|
+
return bt(r) || (he(e), r && r.response && (r.response.data = pe.call(
|
|
1353
1353
|
e,
|
|
1354
1354
|
e.transformResponse,
|
|
1355
1355
|
r.response
|
|
1356
1356
|
), r.response.headers = _.from(r.response.headers))), Promise.reject(r);
|
|
1357
1357
|
});
|
|
1358
1358
|
}
|
|
1359
|
-
const
|
|
1359
|
+
const _t = "1.11.0", ue = {};
|
|
1360
1360
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
1361
|
-
|
|
1361
|
+
ue[e] = function(r) {
|
|
1362
1362
|
return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
1363
1363
|
};
|
|
1364
1364
|
});
|
|
1365
1365
|
const ze = {};
|
|
1366
|
-
|
|
1366
|
+
ue.transitional = function(t, n, r) {
|
|
1367
1367
|
function o(s, i) {
|
|
1368
|
-
return "[Axios v" +
|
|
1368
|
+
return "[Axios v" + _t + "] Transitional option '" + s + "'" + i + (r ? ". " + r : "");
|
|
1369
1369
|
}
|
|
1370
1370
|
return (s, i, c) => {
|
|
1371
1371
|
if (t === !1)
|
|
@@ -1376,7 +1376,7 @@ ce.transitional = function(t, n, r) {
|
|
|
1376
1376
|
return n && !ze[i] && (ze[i] = !0), t ? t(s, i, c) : !0;
|
|
1377
1377
|
};
|
|
1378
1378
|
};
|
|
1379
|
-
|
|
1379
|
+
ue.spelling = function(t) {
|
|
1380
1380
|
return (n, r) => !0;
|
|
1381
1381
|
};
|
|
1382
1382
|
function yr(e, t, n) {
|
|
@@ -1396,10 +1396,10 @@ function yr(e, t, n) {
|
|
|
1396
1396
|
throw new y("Unknown option " + s, y.ERR_BAD_OPTION);
|
|
1397
1397
|
}
|
|
1398
1398
|
}
|
|
1399
|
-
const
|
|
1399
|
+
const ee = {
|
|
1400
1400
|
assertOptions: yr,
|
|
1401
|
-
validators:
|
|
1402
|
-
}, k =
|
|
1401
|
+
validators: ue
|
|
1402
|
+
}, k = ee.validators;
|
|
1403
1403
|
let N = class {
|
|
1404
1404
|
constructor(t) {
|
|
1405
1405
|
this.defaults = t || {}, this.interceptors = {
|
|
@@ -1435,16 +1435,16 @@ let N = class {
|
|
|
1435
1435
|
_request(t, n) {
|
|
1436
1436
|
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = F(this.defaults, n);
|
|
1437
1437
|
const { transitional: r, paramsSerializer: o, headers: s } = n;
|
|
1438
|
-
r !== void 0 &&
|
|
1438
|
+
r !== void 0 && ee.assertOptions(r, {
|
|
1439
1439
|
silentJSONParsing: k.transitional(k.boolean),
|
|
1440
1440
|
forcedJSONParsing: k.transitional(k.boolean),
|
|
1441
1441
|
clarifyTimeoutError: k.transitional(k.boolean)
|
|
1442
1442
|
}, !1), o != null && (a.isFunction(o) ? n.paramsSerializer = {
|
|
1443
1443
|
serialize: o
|
|
1444
|
-
} :
|
|
1444
|
+
} : ee.assertOptions(o, {
|
|
1445
1445
|
encode: k.function,
|
|
1446
1446
|
serialize: k.function
|
|
1447
|
-
}, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0),
|
|
1447
|
+
}, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), ee.assertOptions(n, {
|
|
1448
1448
|
baseUrl: k.spelling("baseURL"),
|
|
1449
1449
|
withXsrfToken: k.spelling("withXSRFToken")
|
|
1450
1450
|
}, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
|
|
@@ -1496,8 +1496,8 @@ let N = class {
|
|
|
1496
1496
|
}
|
|
1497
1497
|
getUri(t) {
|
|
1498
1498
|
t = F(this.defaults, t);
|
|
1499
|
-
const n =
|
|
1500
|
-
return
|
|
1499
|
+
const n = St(t.baseURL, t.url, t.allowAbsoluteUrls);
|
|
1500
|
+
return yt(n, t.params, t.paramsSerializer);
|
|
1501
1501
|
}
|
|
1502
1502
|
};
|
|
1503
1503
|
a.forEach(["delete", "get", "head", "options"], function(t) {
|
|
@@ -1524,7 +1524,7 @@ a.forEach(["post", "put", "patch"], function(t) {
|
|
|
1524
1524
|
}
|
|
1525
1525
|
N.prototype[t] = n(), N.prototype[t + "Form"] = n(!0);
|
|
1526
1526
|
});
|
|
1527
|
-
let wr = class
|
|
1527
|
+
let wr = class xt {
|
|
1528
1528
|
constructor(t) {
|
|
1529
1529
|
if (typeof t != "function")
|
|
1530
1530
|
throw new TypeError("executor must be a function.");
|
|
@@ -1590,7 +1590,7 @@ let wr = class _t {
|
|
|
1590
1590
|
static source() {
|
|
1591
1591
|
let t;
|
|
1592
1592
|
return {
|
|
1593
|
-
token: new
|
|
1593
|
+
token: new xt(function(o) {
|
|
1594
1594
|
t = o;
|
|
1595
1595
|
}),
|
|
1596
1596
|
cancel: t
|
|
@@ -1673,19 +1673,19 @@ const Se = {
|
|
|
1673
1673
|
Object.entries(Se).forEach(([e, t]) => {
|
|
1674
1674
|
Se[t] = e;
|
|
1675
1675
|
});
|
|
1676
|
-
function
|
|
1677
|
-
const t = new N(e), n =
|
|
1676
|
+
function kt(e) {
|
|
1677
|
+
const t = new N(e), n = ot(N.prototype.request, t);
|
|
1678
1678
|
return a.extend(n, N.prototype, t, { allOwnKeys: !0 }), a.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
|
|
1679
|
-
return
|
|
1679
|
+
return kt(F(e, o));
|
|
1680
1680
|
}, n;
|
|
1681
1681
|
}
|
|
1682
|
-
const b =
|
|
1682
|
+
const b = kt(K);
|
|
1683
1683
|
b.Axios = N;
|
|
1684
1684
|
b.CanceledError = I;
|
|
1685
1685
|
b.CancelToken = wr;
|
|
1686
|
-
b.isCancel =
|
|
1687
|
-
b.VERSION =
|
|
1688
|
-
b.toFormData =
|
|
1686
|
+
b.isCancel = bt;
|
|
1687
|
+
b.VERSION = _t;
|
|
1688
|
+
b.toFormData = ae;
|
|
1689
1689
|
b.AxiosError = y;
|
|
1690
1690
|
b.Cancel = b.CanceledError;
|
|
1691
1691
|
b.all = function(t) {
|
|
@@ -1695,8 +1695,8 @@ b.spread = gr;
|
|
|
1695
1695
|
b.isAxiosError = br;
|
|
1696
1696
|
b.mergeConfig = F;
|
|
1697
1697
|
b.AxiosHeaders = _;
|
|
1698
|
-
b.formToJSON = (e) =>
|
|
1699
|
-
b.getAdapter =
|
|
1698
|
+
b.formToJSON = (e) => gt(a.isHTMLForm(e) ? new FormData(e) : e);
|
|
1699
|
+
b.getAdapter = At.getAdapter;
|
|
1700
1700
|
b.HttpStatusCode = Se;
|
|
1701
1701
|
b.default = b;
|
|
1702
1702
|
const {
|
|
@@ -1718,7 +1718,7 @@ const {
|
|
|
1718
1718
|
mergeConfig: ho
|
|
1719
1719
|
} = b;
|
|
1720
1720
|
/*! js-cookie v3.0.5 | MIT */
|
|
1721
|
-
function
|
|
1721
|
+
function X(e) {
|
|
1722
1722
|
for (var t = 1; t < arguments.length; t++) {
|
|
1723
1723
|
var n = arguments[t];
|
|
1724
1724
|
for (var r in n)
|
|
@@ -1740,7 +1740,7 @@ var Er = {
|
|
|
1740
1740
|
function Re(e, t) {
|
|
1741
1741
|
function n(o, s, i) {
|
|
1742
1742
|
if (!(typeof document > "u")) {
|
|
1743
|
-
i =
|
|
1743
|
+
i = X({}, 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);
|
|
1744
1744
|
var c = "";
|
|
1745
1745
|
for (var f in i)
|
|
1746
1746
|
i[f] && (c += "; " + f, i[f] !== !0 && (c += "=" + i[f].split(";")[0]));
|
|
@@ -1769,16 +1769,16 @@ function Re(e, t) {
|
|
|
1769
1769
|
n(
|
|
1770
1770
|
o,
|
|
1771
1771
|
"",
|
|
1772
|
-
|
|
1772
|
+
X({}, s, {
|
|
1773
1773
|
expires: -1
|
|
1774
1774
|
})
|
|
1775
1775
|
);
|
|
1776
1776
|
},
|
|
1777
1777
|
withAttributes: function(o) {
|
|
1778
|
-
return Re(this.converter,
|
|
1778
|
+
return Re(this.converter, X({}, this.attributes, o));
|
|
1779
1779
|
},
|
|
1780
1780
|
withConverter: function(o) {
|
|
1781
|
-
return Re(
|
|
1781
|
+
return Re(X({}, this.converter, o), this.attributes);
|
|
1782
1782
|
}
|
|
1783
1783
|
},
|
|
1784
1784
|
{
|
|
@@ -1788,11 +1788,11 @@ function Re(e, t) {
|
|
|
1788
1788
|
);
|
|
1789
1789
|
}
|
|
1790
1790
|
var Sr = Re(Er, { path: "/" }), Je;
|
|
1791
|
-
const
|
|
1791
|
+
const Ct = typeof window < "u", Rr = (e) => typeof e == "string", Ve = () => +Date.now(), Te = () => {
|
|
1792
1792
|
};
|
|
1793
|
-
|
|
1793
|
+
Ct && ((Je = window == null ? void 0 : window.navigator) != null && Je.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
1794
1794
|
function Pe(e) {
|
|
1795
|
-
return typeof e == "function" ? e() :
|
|
1795
|
+
return typeof e == "function" ? e() : Dt(e);
|
|
1796
1796
|
}
|
|
1797
1797
|
function Tr(e, t) {
|
|
1798
1798
|
function n(...r) {
|
|
@@ -1820,17 +1820,17 @@ function Ar(e) {
|
|
|
1820
1820
|
return e;
|
|
1821
1821
|
}
|
|
1822
1822
|
function _r(e) {
|
|
1823
|
-
return
|
|
1823
|
+
return vt() ? (It(e), !0) : !1;
|
|
1824
1824
|
}
|
|
1825
1825
|
function xr(e) {
|
|
1826
1826
|
var t;
|
|
1827
1827
|
const n = Pe(e);
|
|
1828
1828
|
return (t = n == null ? void 0 : n.$el) != null ? t : n;
|
|
1829
1829
|
}
|
|
1830
|
-
const
|
|
1830
|
+
const Pt = Ct ? window : void 0;
|
|
1831
1831
|
function We(...e) {
|
|
1832
1832
|
let t, n, r, o;
|
|
1833
|
-
if (Rr(e[0]) || Array.isArray(e[0]) ? ([n, r, o] = e, t =
|
|
1833
|
+
if (Rr(e[0]) || Array.isArray(e[0]) ? ([n, r, o] = e, t = Pt) : [t, n, r, o] = e, !t)
|
|
1834
1834
|
return Te;
|
|
1835
1835
|
Array.isArray(n) || (n = [n]), Array.isArray(r) || (r = [r]);
|
|
1836
1836
|
const s = [], i = () => {
|
|
@@ -1850,9 +1850,9 @@ function Pr(e = Cr, t = {}) {
|
|
|
1850
1850
|
initialState: n = !1,
|
|
1851
1851
|
listenForVisibilityChange: r = !0,
|
|
1852
1852
|
events: o = kr,
|
|
1853
|
-
window: s =
|
|
1853
|
+
window: s = Pt,
|
|
1854
1854
|
eventFilter: i = Or(50)
|
|
1855
|
-
} = t, c =
|
|
1855
|
+
} = t, c = te(n), f = te(Ve());
|
|
1856
1856
|
let l;
|
|
1857
1857
|
const u = Tr(i, () => {
|
|
1858
1858
|
c.value = !1, f.value = Ve(), clearTimeout(l), l = setTimeout(() => c.value = !0, e);
|
|
@@ -1909,23 +1909,23 @@ Fr({
|
|
|
1909
1909
|
linear: Ar
|
|
1910
1910
|
}, Dr);
|
|
1911
1911
|
let Oe;
|
|
1912
|
-
const
|
|
1912
|
+
const Lt = { triggerProxySso: "triggerProxySso" }, vr = () => {
|
|
1913
1913
|
Oe = (e) => {
|
|
1914
1914
|
var n;
|
|
1915
1915
|
const { origin: t } = new URL(location.href);
|
|
1916
1916
|
(n = window.top) == null || n.postMessage(
|
|
1917
|
-
{ type:
|
|
1917
|
+
{ type: Lt.triggerProxySso, data: { ...e || {}, redirect_uri: `${t}/` } },
|
|
1918
1918
|
t
|
|
1919
1919
|
);
|
|
1920
1920
|
};
|
|
1921
1921
|
}, Ir = (e) => {
|
|
1922
1922
|
window.top === window.self && window.addEventListener("message", (t) => {
|
|
1923
1923
|
const { type: n, data: r } = t.data;
|
|
1924
|
-
n ===
|
|
1924
|
+
n === Lt.triggerProxySso && (e == null || e(r));
|
|
1925
1925
|
});
|
|
1926
1926
|
};
|
|
1927
1927
|
window.top !== window.self && vr();
|
|
1928
|
-
let
|
|
1928
|
+
let Ut = (e = 21) => {
|
|
1929
1929
|
let t = "", n = crypto.getRandomValues(new Uint8Array(e));
|
|
1930
1930
|
for (; e--; ) {
|
|
1931
1931
|
let r = n[e] & 63;
|
|
@@ -1933,103 +1933,103 @@ let Lt = (e = 21) => {
|
|
|
1933
1933
|
}
|
|
1934
1934
|
return t;
|
|
1935
1935
|
};
|
|
1936
|
-
const
|
|
1936
|
+
const G = (e) => new URL(location.href).searchParams.get(e), D = {
|
|
1937
1937
|
oauth: "/api/justauth/oauth-server/v1/visitor/oauth/authorize",
|
|
1938
1938
|
// 重定向到登录页
|
|
1939
1939
|
logoutCurpage: "/api/justauth/oauth-server/v1/visitor/logout-curpage",
|
|
1940
1940
|
// 清除登录信息
|
|
1941
1941
|
token: "/api/justauth/oauth-server/v1/visitor/oauth/token"
|
|
1942
1942
|
// 通过code获取token
|
|
1943
|
-
}, { baseURL: Ye, noRedireLogin: Br = !1 } = _e(),
|
|
1943
|
+
}, { baseURL: Ye, noRedireLogin: Br = !1 } = _e(), q = location.origin + "/home", M = {
|
|
1944
1944
|
response_type: "code",
|
|
1945
1945
|
scope: "sever",
|
|
1946
1946
|
client_id: "sys",
|
|
1947
|
-
client_secret:
|
|
1947
|
+
client_secret: Bt("das123"),
|
|
1948
1948
|
state: +/* @__PURE__ */ new Date()
|
|
1949
1949
|
}, et = (e) => {
|
|
1950
1950
|
const t = new URL(window.location.href), n = new URLSearchParams(t.search);
|
|
1951
1951
|
e.forEach((r) => {
|
|
1952
1952
|
n.delete(r);
|
|
1953
1953
|
}), t.search = n.toString(), window.history.replaceState({}, "", t);
|
|
1954
|
-
},
|
|
1954
|
+
}, Nt = te(!1), Ft = (e) => {
|
|
1955
1955
|
if (e <= 0) return;
|
|
1956
1956
|
const { idle: t } = Pr(e);
|
|
1957
1957
|
Ae(
|
|
1958
1958
|
() => t.value,
|
|
1959
1959
|
(n) => {
|
|
1960
|
-
n === !0 && (
|
|
1960
|
+
n === !0 && (Nt.value = !0);
|
|
1961
1961
|
}
|
|
1962
1962
|
);
|
|
1963
1963
|
};
|
|
1964
|
-
localStorage.getItem("idelTime") &&
|
|
1964
|
+
localStorage.getItem("idelTime") && Ft(Number(localStorage.getItem("idelTime")));
|
|
1965
1965
|
let tt = "";
|
|
1966
1966
|
const jr = async () => {
|
|
1967
|
-
const e =
|
|
1968
|
-
if (!e) return
|
|
1967
|
+
const e = G("code") || "", t = G("redirect_url") || "/", n = G("kingdee_token") || "", r = G("loginType") || "";
|
|
1968
|
+
if (!e) return H();
|
|
1969
1969
|
if (e === tt)
|
|
1970
|
-
return et(["code", "state", "kingdee_token", "redirect_url"]), window.__isAutoCloseApp = !1, window.location.replace(decodeURIComponent(t)),
|
|
1970
|
+
return et(["code", "state", "kingdee_token", "redirect_url"]), window.__isAutoCloseApp = !1, window.location.replace(decodeURIComponent(t)), H();
|
|
1971
1971
|
tt = e, et(["code", "state", "kingdee_token", "redirect_url"]);
|
|
1972
|
-
let
|
|
1973
|
-
const
|
|
1972
|
+
let o = {};
|
|
1973
|
+
const s = {
|
|
1974
1974
|
grant_type: "authorization_code",
|
|
1975
1975
|
code: e,
|
|
1976
|
-
client_id:
|
|
1977
|
-
client_secret:
|
|
1978
|
-
redirect_uri:
|
|
1976
|
+
client_id: M.client_id,
|
|
1977
|
+
client_secret: M.client_secret,
|
|
1978
|
+
redirect_uri: r ? nt(q, { loginType: r }) : q,
|
|
1979
1979
|
timestamp: (/* @__PURE__ */ new Date()).getTime(),
|
|
1980
|
-
nonce:
|
|
1980
|
+
nonce: Ut()
|
|
1981
1981
|
};
|
|
1982
|
-
n && (sessionStorage.setItem("kingdee_token", n),
|
|
1982
|
+
n && (sessionStorage.setItem("kingdee_token", n), s.redirect_uri = `${s.redirect_uri}?kingdee_token=${n}`);
|
|
1983
1983
|
try {
|
|
1984
1984
|
await b.create().get(D.token, { baseURL: Ye });
|
|
1985
1985
|
} catch {
|
|
1986
1986
|
}
|
|
1987
1987
|
try {
|
|
1988
|
-
|
|
1988
|
+
o = await b.create().post(
|
|
1989
1989
|
D.token,
|
|
1990
1990
|
{},
|
|
1991
1991
|
{
|
|
1992
1992
|
baseURL: Ye,
|
|
1993
|
-
params:
|
|
1993
|
+
params: s,
|
|
1994
1994
|
headers: {
|
|
1995
1995
|
"Content-Type": "application/x-www-form-urlencoded",
|
|
1996
1996
|
"csrf-token": Sr.get("csrf-token")
|
|
1997
1997
|
}
|
|
1998
1998
|
}
|
|
1999
1999
|
);
|
|
2000
|
-
const { access_token:
|
|
2001
|
-
accessToken:
|
|
2002
|
-
accessTokenExpiredAt: +/* @__PURE__ */ new Date() + Number(
|
|
2003
|
-
refreshToken:
|
|
2004
|
-
info:
|
|
2000
|
+
const { access_token: i = "", expires_in: c = 0, refresh_token: f = "", refresh_exp: l = 0 } = o.data, u = {
|
|
2001
|
+
accessToken: i,
|
|
2002
|
+
accessTokenExpiredAt: +/* @__PURE__ */ new Date() + Number(c) * 1e3,
|
|
2003
|
+
refreshToken: f,
|
|
2004
|
+
info: o.data
|
|
2005
2005
|
};
|
|
2006
|
-
|
|
2007
|
-
const
|
|
2008
|
-
return
|
|
2006
|
+
z().save(u), await rt(i);
|
|
2007
|
+
const d = Number(l) - (/* @__PURE__ */ new Date()).getTime();
|
|
2008
|
+
return d && d > 0 && (Ft(d), d && localStorage.setItem("idelTime", d.toString())), t && (window.__isAutoCloseApp = !1, window.location.replace(decodeURIComponent(t))), i;
|
|
2009
2009
|
} catch {
|
|
2010
|
-
return
|
|
2010
|
+
return le({ ...M, redirect_uri: q });
|
|
2011
2011
|
}
|
|
2012
|
-
}, j =
|
|
2012
|
+
}, j = te(!1), mo = async (e) => {
|
|
2013
2013
|
if (e.public) return "";
|
|
2014
|
-
if (
|
|
2015
|
-
return
|
|
2014
|
+
if (Nt.value)
|
|
2015
|
+
return le({ ...M, redirect_uri: q });
|
|
2016
2016
|
if (j.value)
|
|
2017
2017
|
return await new Promise(async (r) => {
|
|
2018
2018
|
Ae(
|
|
2019
2019
|
() => j.value,
|
|
2020
2020
|
(o) => {
|
|
2021
2021
|
if (!o) {
|
|
2022
|
-
const s =
|
|
2022
|
+
const s = H();
|
|
2023
2023
|
r(s);
|
|
2024
2024
|
}
|
|
2025
2025
|
}
|
|
2026
2026
|
);
|
|
2027
2027
|
});
|
|
2028
|
-
const { accessTokenExpiredAt: t } =
|
|
2029
|
-
let n =
|
|
2028
|
+
const { accessTokenExpiredAt: t } = z().getData();
|
|
2029
|
+
let n = H();
|
|
2030
2030
|
j.value = !0;
|
|
2031
2031
|
try {
|
|
2032
|
-
typeof t == "number" && t > 0 && +/* @__PURE__ */ new Date() + 6e4 > t && (n = await Hr(
|
|
2032
|
+
typeof t == "number" && t > 0 && +/* @__PURE__ */ new Date() + 6e4 > t && (n = await Hr(M)), n = await jr(), j.value = !1;
|
|
2033
2033
|
} catch {
|
|
2034
2034
|
j.value = !1;
|
|
2035
2035
|
}
|
|
@@ -2044,12 +2044,12 @@ const jr = async () => {
|
|
|
2044
2044
|
}
|
|
2045
2045
|
};
|
|
2046
2046
|
let me = !1;
|
|
2047
|
-
const
|
|
2047
|
+
const le = (e) => {
|
|
2048
2048
|
if (!Br && !me) {
|
|
2049
2049
|
me = !0;
|
|
2050
2050
|
try {
|
|
2051
2051
|
const t = { ...e }, n = localStorage.getItem("loginType") || "";
|
|
2052
|
-
n && (t.redirect_uri =
|
|
2052
|
+
n && (t.redirect_uri = nt(t.redirect_uri, { loginType: n }));
|
|
2053
2053
|
const { baseURL: r, ssoLocale: o } = _e();
|
|
2054
2054
|
if (Oe) return Oe(t);
|
|
2055
2055
|
t.logout = "true", o && (t.locale = "locale");
|
|
@@ -2058,7 +2058,7 @@ const ue = (e) => {
|
|
|
2058
2058
|
f !== "client_secret" && s.set(f, String(l));
|
|
2059
2059
|
});
|
|
2060
2060
|
const i = s.toString(), c = `${r}${D.oauth}?${i}`;
|
|
2061
|
-
if (localStorage.removeItem("idelTime"), sessionStorage.clear(),
|
|
2061
|
+
if (localStorage.removeItem("idelTime"), sessionStorage.clear(), z().remove(), qr())
|
|
2062
2062
|
Mr(c);
|
|
2063
2063
|
else {
|
|
2064
2064
|
try {
|
|
@@ -2072,9 +2072,9 @@ const ue = (e) => {
|
|
|
2072
2072
|
}
|
|
2073
2073
|
}
|
|
2074
2074
|
};
|
|
2075
|
-
Ir(
|
|
2075
|
+
Ir(le);
|
|
2076
2076
|
const Hr = async (e) => {
|
|
2077
|
-
const { baseURL: t } = _e(), { refreshToken: n } =
|
|
2077
|
+
const { baseURL: t } = _e(), { refreshToken: n } = z().getData();
|
|
2078
2078
|
try {
|
|
2079
2079
|
await b.create().get(D.token, { baseURL: t });
|
|
2080
2080
|
} catch {
|
|
@@ -2091,7 +2091,7 @@ const Hr = async (e) => {
|
|
|
2091
2091
|
client_id: e.client_id,
|
|
2092
2092
|
client_secret: e.client_secret,
|
|
2093
2093
|
timestamp: (/* @__PURE__ */ new Date()).getTime(),
|
|
2094
|
-
nonce:
|
|
2094
|
+
nonce: Ut()
|
|
2095
2095
|
}
|
|
2096
2096
|
}
|
|
2097
2097
|
), { access_token: o = "", expires_in: s = 0, refresh_token: i = "" } = r.data, c = {
|
|
@@ -2100,32 +2100,32 @@ const Hr = async (e) => {
|
|
|
2100
2100
|
refreshToken: i,
|
|
2101
2101
|
info: r.data
|
|
2102
2102
|
};
|
|
2103
|
-
return
|
|
2103
|
+
return z().save(c), await rt(o), o;
|
|
2104
2104
|
} catch {
|
|
2105
|
-
return
|
|
2105
|
+
return le({ ...e, redirect_uri: q });
|
|
2106
2106
|
}
|
|
2107
|
-
},
|
|
2107
|
+
}, z = () => ({
|
|
2108
2108
|
getData: () => ({
|
|
2109
|
-
accessToken:
|
|
2110
|
-
accessTokenExpiredAt:
|
|
2111
|
-
refreshToken:
|
|
2109
|
+
accessToken: H(),
|
|
2110
|
+
accessTokenExpiredAt: fe("accessTokenExpiredAt") ? Number(fe("accessTokenExpiredAt")) : "",
|
|
2111
|
+
refreshToken: fe("refreshToken")
|
|
2112
2112
|
}),
|
|
2113
2113
|
save: (e) => {
|
|
2114
|
-
|
|
2114
|
+
qt(e.accessToken ?? "", {
|
|
2115
2115
|
accessTokenExpiredAt: e.accessTokenExpiredAt,
|
|
2116
2116
|
refreshToken: e.refreshToken
|
|
2117
2117
|
}), Ht(e);
|
|
2118
2118
|
},
|
|
2119
2119
|
remove: () => {
|
|
2120
|
-
|
|
2120
|
+
jt(), Mt();
|
|
2121
2121
|
}
|
|
2122
2122
|
});
|
|
2123
2123
|
export {
|
|
2124
|
-
|
|
2124
|
+
G as getQuery,
|
|
2125
2125
|
mo as getToken,
|
|
2126
2126
|
jr as getTokenFromCode,
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2127
|
+
M as getTokenParams,
|
|
2128
|
+
le as login,
|
|
2129
|
+
q as real_uri,
|
|
2130
|
+
z as tokenStorage
|
|
2131
2131
|
};
|