tyy-game-assiss 2.3.3 → 2.3.4
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/dist/favicon.ico +0 -0
- package/dist/rem.js +54 -0
- package/dist/style.css +1 -0
- package/dist/tyy-game-assis.js +4586 -0
- package/dist/tyy-game-assis.umd.cjs +9 -0
- package/package.json +53 -53
- package/dist/package.json +0 -13
|
@@ -0,0 +1,4586 @@
|
|
|
1
|
+
import { openBlock as p, createElementBlock as h, createElementVNode as c, withModifiers as q, normalizeStyle as Fe, createCommentVNode as v, normalizeClass as S, Fragment as C, renderList as N, toDisplayString as T, withDirectives as jr, vShow as Gr } from "vue";
|
|
2
|
+
function $n(t, e) {
|
|
3
|
+
return function() {
|
|
4
|
+
return t.apply(e, arguments);
|
|
5
|
+
};
|
|
6
|
+
}
|
|
7
|
+
const { toString: Kr } = Object.prototype, { getPrototypeOf: Wt } = Object, rt = ((t) => (e) => {
|
|
8
|
+
const n = Kr.call(e);
|
|
9
|
+
return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
|
|
10
|
+
})(/* @__PURE__ */ Object.create(null)), J = (t) => (t = t.toLowerCase(), (e) => rt(e) === t), it = (t) => (e) => typeof e === t, { isArray: ve } = Array, Oe = it("undefined");
|
|
11
|
+
function Yr(t) {
|
|
12
|
+
return t !== null && !Oe(t) && t.constructor !== null && !Oe(t.constructor) && z(t.constructor.isBuffer) && t.constructor.isBuffer(t);
|
|
13
|
+
}
|
|
14
|
+
const er = J("ArrayBuffer");
|
|
15
|
+
function Xr(t) {
|
|
16
|
+
let e;
|
|
17
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && er(t.buffer), e;
|
|
18
|
+
}
|
|
19
|
+
const Zr = it("string"), z = it("function"), tr = it("number"), ot = (t) => t !== null && typeof t == "object", $r = (t) => t === !0 || t === !1, Je = (t) => {
|
|
20
|
+
if (rt(t) !== "object")
|
|
21
|
+
return !1;
|
|
22
|
+
const e = Wt(t);
|
|
23
|
+
return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
|
|
24
|
+
}, ei = J("Date"), ti = J("File"), ni = J("Blob"), ri = J("FileList"), ii = (t) => ot(t) && z(t.pipe), oi = (t) => {
|
|
25
|
+
let e;
|
|
26
|
+
return t && (typeof FormData == "function" && t instanceof FormData || z(t.append) && ((e = rt(t)) === "formdata" || // detect form-data instance
|
|
27
|
+
e === "object" && z(t.toString) && t.toString() === "[object FormData]"));
|
|
28
|
+
}, si = J("URLSearchParams"), [ai, li, ci, ui] = ["ReadableStream", "Request", "Response", "Headers"].map(J), fi = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
29
|
+
function Ie(t, e, { allOwnKeys: n = !1 } = {}) {
|
|
30
|
+
if (t === null || typeof t > "u")
|
|
31
|
+
return;
|
|
32
|
+
let r, i;
|
|
33
|
+
if (typeof t != "object" && (t = [t]), ve(t))
|
|
34
|
+
for (r = 0, i = t.length; r < i; r++)
|
|
35
|
+
e.call(null, t[r], r, t);
|
|
36
|
+
else {
|
|
37
|
+
const s = n ? Object.getOwnPropertyNames(t) : Object.keys(t), o = s.length;
|
|
38
|
+
let a;
|
|
39
|
+
for (r = 0; r < o; r++)
|
|
40
|
+
a = s[r], e.call(null, t[a], a, t);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
function nr(t, e) {
|
|
44
|
+
e = e.toLowerCase();
|
|
45
|
+
const n = Object.keys(t);
|
|
46
|
+
let r = n.length, i;
|
|
47
|
+
for (; r-- > 0; )
|
|
48
|
+
if (i = n[r], e === i.toLowerCase())
|
|
49
|
+
return i;
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
const oe = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), rr = (t) => !Oe(t) && t !== oe;
|
|
53
|
+
function Rt() {
|
|
54
|
+
const { caseless: t } = rr(this) && this || {}, e = {}, n = (r, i) => {
|
|
55
|
+
const s = t && nr(e, i) || i;
|
|
56
|
+
Je(e[s]) && Je(r) ? e[s] = Rt(e[s], r) : Je(r) ? e[s] = Rt({}, r) : ve(r) ? e[s] = r.slice() : e[s] = r;
|
|
57
|
+
};
|
|
58
|
+
for (let r = 0, i = arguments.length; r < i; r++)
|
|
59
|
+
arguments[r] && Ie(arguments[r], n);
|
|
60
|
+
return e;
|
|
61
|
+
}
|
|
62
|
+
const di = (t, e, n, { allOwnKeys: r } = {}) => (Ie(e, (i, s) => {
|
|
63
|
+
n && z(i) ? t[s] = $n(i, n) : t[s] = i;
|
|
64
|
+
}, { allOwnKeys: r }), t), pi = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), hi = (t, e, n, r) => {
|
|
65
|
+
t.prototype = Object.create(e.prototype, r), t.prototype.constructor = t, Object.defineProperty(t, "super", {
|
|
66
|
+
value: e.prototype
|
|
67
|
+
}), n && Object.assign(t.prototype, n);
|
|
68
|
+
}, yi = (t, e, n, r) => {
|
|
69
|
+
let i, s, o;
|
|
70
|
+
const a = {};
|
|
71
|
+
if (e = e || {}, t == null)
|
|
72
|
+
return e;
|
|
73
|
+
do {
|
|
74
|
+
for (i = Object.getOwnPropertyNames(t), s = i.length; s-- > 0; )
|
|
75
|
+
o = i[s], (!r || r(o, t, e)) && !a[o] && (e[o] = t[o], a[o] = !0);
|
|
76
|
+
t = n !== !1 && Wt(t);
|
|
77
|
+
} while (t && (!n || n(t, e)) && t !== Object.prototype);
|
|
78
|
+
return e;
|
|
79
|
+
}, mi = (t, e, n) => {
|
|
80
|
+
t = String(t), (n === void 0 || n > t.length) && (n = t.length), n -= e.length;
|
|
81
|
+
const r = t.indexOf(e, n);
|
|
82
|
+
return r !== -1 && r === n;
|
|
83
|
+
}, gi = (t) => {
|
|
84
|
+
if (!t)
|
|
85
|
+
return null;
|
|
86
|
+
if (ve(t))
|
|
87
|
+
return t;
|
|
88
|
+
let e = t.length;
|
|
89
|
+
if (!tr(e))
|
|
90
|
+
return null;
|
|
91
|
+
const n = new Array(e);
|
|
92
|
+
for (; e-- > 0; )
|
|
93
|
+
n[e] = t[e];
|
|
94
|
+
return n;
|
|
95
|
+
}, _i = ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && Wt(Uint8Array)), vi = (t, e) => {
|
|
96
|
+
const r = (t && t[Symbol.iterator]).call(t);
|
|
97
|
+
let i;
|
|
98
|
+
for (; (i = r.next()) && !i.done; ) {
|
|
99
|
+
const s = i.value;
|
|
100
|
+
e.call(t, s[0], s[1]);
|
|
101
|
+
}
|
|
102
|
+
}, wi = (t, e) => {
|
|
103
|
+
let n;
|
|
104
|
+
const r = [];
|
|
105
|
+
for (; (n = t.exec(e)) !== null; )
|
|
106
|
+
r.push(n);
|
|
107
|
+
return r;
|
|
108
|
+
}, bi = J("HTMLFormElement"), Ai = (t) => t.toLowerCase().replace(
|
|
109
|
+
/[-_\s]([a-z\d])(\w*)/g,
|
|
110
|
+
function(n, r, i) {
|
|
111
|
+
return r.toUpperCase() + i;
|
|
112
|
+
}
|
|
113
|
+
), un = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), Si = J("RegExp"), ir = (t, e) => {
|
|
114
|
+
const n = Object.getOwnPropertyDescriptors(t), r = {};
|
|
115
|
+
Ie(n, (i, s) => {
|
|
116
|
+
let o;
|
|
117
|
+
(o = e(i, s, t)) !== !1 && (r[s] = o || i);
|
|
118
|
+
}), Object.defineProperties(t, r);
|
|
119
|
+
}, Ei = (t) => {
|
|
120
|
+
ir(t, (e, n) => {
|
|
121
|
+
if (z(t) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
122
|
+
return !1;
|
|
123
|
+
const r = t[n];
|
|
124
|
+
if (z(r)) {
|
|
125
|
+
if (e.enumerable = !1, "writable" in e) {
|
|
126
|
+
e.writable = !1;
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
e.set || (e.set = () => {
|
|
130
|
+
throw Error("Can not rewrite read-only method '" + n + "'");
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
}, Ti = (t, e) => {
|
|
135
|
+
const n = {}, r = (i) => {
|
|
136
|
+
i.forEach((s) => {
|
|
137
|
+
n[s] = !0;
|
|
138
|
+
});
|
|
139
|
+
};
|
|
140
|
+
return ve(t) ? r(t) : r(String(t).split(e)), n;
|
|
141
|
+
}, xi = () => {
|
|
142
|
+
}, ki = (t, e) => t != null && Number.isFinite(t = +t) ? t : e, dt = "abcdefghijklmnopqrstuvwxyz", fn = "0123456789", or = {
|
|
143
|
+
DIGIT: fn,
|
|
144
|
+
ALPHA: dt,
|
|
145
|
+
ALPHA_DIGIT: dt + dt.toUpperCase() + fn
|
|
146
|
+
}, Ri = (t = 16, e = or.ALPHA_DIGIT) => {
|
|
147
|
+
let n = "";
|
|
148
|
+
const { length: r } = e;
|
|
149
|
+
for (; t--; )
|
|
150
|
+
n += e[Math.random() * r | 0];
|
|
151
|
+
return n;
|
|
152
|
+
};
|
|
153
|
+
function Oi(t) {
|
|
154
|
+
return !!(t && z(t.append) && t[Symbol.toStringTag] === "FormData" && t[Symbol.iterator]);
|
|
155
|
+
}
|
|
156
|
+
const Ii = (t) => {
|
|
157
|
+
const e = new Array(10), n = (r, i) => {
|
|
158
|
+
if (ot(r)) {
|
|
159
|
+
if (e.indexOf(r) >= 0)
|
|
160
|
+
return;
|
|
161
|
+
if (!("toJSON" in r)) {
|
|
162
|
+
e[i] = r;
|
|
163
|
+
const s = ve(r) ? [] : {};
|
|
164
|
+
return Ie(r, (o, a) => {
|
|
165
|
+
const l = n(o, i + 1);
|
|
166
|
+
!Oe(l) && (s[a] = l);
|
|
167
|
+
}), e[i] = void 0, s;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
return r;
|
|
171
|
+
};
|
|
172
|
+
return n(t, 0);
|
|
173
|
+
}, Ci = J("AsyncFunction"), Pi = (t) => t && (ot(t) || z(t)) && z(t.then) && z(t.catch), sr = ((t, e) => t ? setImmediate : e ? ((n, r) => (oe.addEventListener("message", ({ source: i, data: s }) => {
|
|
174
|
+
i === oe && s === n && r.length && r.shift()();
|
|
175
|
+
}, !1), (i) => {
|
|
176
|
+
r.push(i), oe.postMessage(n, "*");
|
|
177
|
+
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
178
|
+
typeof setImmediate == "function",
|
|
179
|
+
z(oe.postMessage)
|
|
180
|
+
), Bi = typeof queueMicrotask < "u" ? queueMicrotask.bind(oe) : typeof process < "u" && process.nextTick || sr, d = {
|
|
181
|
+
isArray: ve,
|
|
182
|
+
isArrayBuffer: er,
|
|
183
|
+
isBuffer: Yr,
|
|
184
|
+
isFormData: oi,
|
|
185
|
+
isArrayBufferView: Xr,
|
|
186
|
+
isString: Zr,
|
|
187
|
+
isNumber: tr,
|
|
188
|
+
isBoolean: $r,
|
|
189
|
+
isObject: ot,
|
|
190
|
+
isPlainObject: Je,
|
|
191
|
+
isReadableStream: ai,
|
|
192
|
+
isRequest: li,
|
|
193
|
+
isResponse: ci,
|
|
194
|
+
isHeaders: ui,
|
|
195
|
+
isUndefined: Oe,
|
|
196
|
+
isDate: ei,
|
|
197
|
+
isFile: ti,
|
|
198
|
+
isBlob: ni,
|
|
199
|
+
isRegExp: Si,
|
|
200
|
+
isFunction: z,
|
|
201
|
+
isStream: ii,
|
|
202
|
+
isURLSearchParams: si,
|
|
203
|
+
isTypedArray: _i,
|
|
204
|
+
isFileList: ri,
|
|
205
|
+
forEach: Ie,
|
|
206
|
+
merge: Rt,
|
|
207
|
+
extend: di,
|
|
208
|
+
trim: fi,
|
|
209
|
+
stripBOM: pi,
|
|
210
|
+
inherits: hi,
|
|
211
|
+
toFlatObject: yi,
|
|
212
|
+
kindOf: rt,
|
|
213
|
+
kindOfTest: J,
|
|
214
|
+
endsWith: mi,
|
|
215
|
+
toArray: gi,
|
|
216
|
+
forEachEntry: vi,
|
|
217
|
+
matchAll: wi,
|
|
218
|
+
isHTMLForm: bi,
|
|
219
|
+
hasOwnProperty: un,
|
|
220
|
+
hasOwnProp: un,
|
|
221
|
+
// an alias to avoid ESLint no-prototype-builtins detection
|
|
222
|
+
reduceDescriptors: ir,
|
|
223
|
+
freezeMethods: Ei,
|
|
224
|
+
toObjectSet: Ti,
|
|
225
|
+
toCamelCase: Ai,
|
|
226
|
+
noop: xi,
|
|
227
|
+
toFiniteNumber: ki,
|
|
228
|
+
findKey: nr,
|
|
229
|
+
global: oe,
|
|
230
|
+
isContextDefined: rr,
|
|
231
|
+
ALPHABET: or,
|
|
232
|
+
generateString: Ri,
|
|
233
|
+
isSpecCompliantForm: Oi,
|
|
234
|
+
toJSONObject: Ii,
|
|
235
|
+
isAsyncFn: Ci,
|
|
236
|
+
isThenable: Pi,
|
|
237
|
+
setImmediate: sr,
|
|
238
|
+
asap: Bi
|
|
239
|
+
};
|
|
240
|
+
function E(t, e, n, r, i) {
|
|
241
|
+
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", e && (this.code = e), n && (this.config = n), r && (this.request = r), i && (this.response = i, this.status = i.status ? i.status : null);
|
|
242
|
+
}
|
|
243
|
+
d.inherits(E, Error, {
|
|
244
|
+
toJSON: function() {
|
|
245
|
+
return {
|
|
246
|
+
// Standard
|
|
247
|
+
message: this.message,
|
|
248
|
+
name: this.name,
|
|
249
|
+
// Microsoft
|
|
250
|
+
description: this.description,
|
|
251
|
+
number: this.number,
|
|
252
|
+
// Mozilla
|
|
253
|
+
fileName: this.fileName,
|
|
254
|
+
lineNumber: this.lineNumber,
|
|
255
|
+
columnNumber: this.columnNumber,
|
|
256
|
+
stack: this.stack,
|
|
257
|
+
// Axios
|
|
258
|
+
config: d.toJSONObject(this.config),
|
|
259
|
+
code: this.code,
|
|
260
|
+
status: this.status
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
});
|
|
264
|
+
const ar = E.prototype, lr = {};
|
|
265
|
+
[
|
|
266
|
+
"ERR_BAD_OPTION_VALUE",
|
|
267
|
+
"ERR_BAD_OPTION",
|
|
268
|
+
"ECONNABORTED",
|
|
269
|
+
"ETIMEDOUT",
|
|
270
|
+
"ERR_NETWORK",
|
|
271
|
+
"ERR_FR_TOO_MANY_REDIRECTS",
|
|
272
|
+
"ERR_DEPRECATED",
|
|
273
|
+
"ERR_BAD_RESPONSE",
|
|
274
|
+
"ERR_BAD_REQUEST",
|
|
275
|
+
"ERR_CANCELED",
|
|
276
|
+
"ERR_NOT_SUPPORT",
|
|
277
|
+
"ERR_INVALID_URL"
|
|
278
|
+
// eslint-disable-next-line func-names
|
|
279
|
+
].forEach((t) => {
|
|
280
|
+
lr[t] = { value: t };
|
|
281
|
+
});
|
|
282
|
+
Object.defineProperties(E, lr);
|
|
283
|
+
Object.defineProperty(ar, "isAxiosError", { value: !0 });
|
|
284
|
+
E.from = (t, e, n, r, i, s) => {
|
|
285
|
+
const o = Object.create(ar);
|
|
286
|
+
return d.toFlatObject(t, o, function(l) {
|
|
287
|
+
return l !== Error.prototype;
|
|
288
|
+
}, (a) => a !== "isAxiosError"), E.call(o, t.message, e, n, r, i), o.cause = t, o.name = t.name, s && Object.assign(o, s), o;
|
|
289
|
+
};
|
|
290
|
+
const Di = null;
|
|
291
|
+
function Ot(t) {
|
|
292
|
+
return d.isPlainObject(t) || d.isArray(t);
|
|
293
|
+
}
|
|
294
|
+
function cr(t) {
|
|
295
|
+
return d.endsWith(t, "[]") ? t.slice(0, -2) : t;
|
|
296
|
+
}
|
|
297
|
+
function dn(t, e, n) {
|
|
298
|
+
return t ? t.concat(e).map(function(i, s) {
|
|
299
|
+
return i = cr(i), !n && s ? "[" + i + "]" : i;
|
|
300
|
+
}).join(n ? "." : "") : e;
|
|
301
|
+
}
|
|
302
|
+
function Fi(t) {
|
|
303
|
+
return d.isArray(t) && !t.some(Ot);
|
|
304
|
+
}
|
|
305
|
+
const Ni = d.toFlatObject(d, {}, null, function(e) {
|
|
306
|
+
return /^is[A-Z]/.test(e);
|
|
307
|
+
});
|
|
308
|
+
function st(t, e, n) {
|
|
309
|
+
if (!d.isObject(t))
|
|
310
|
+
throw new TypeError("target must be an object");
|
|
311
|
+
e = e || new FormData(), n = d.toFlatObject(n, {
|
|
312
|
+
metaTokens: !0,
|
|
313
|
+
dots: !1,
|
|
314
|
+
indexes: !1
|
|
315
|
+
}, !1, function(w, _) {
|
|
316
|
+
return !d.isUndefined(_[w]);
|
|
317
|
+
});
|
|
318
|
+
const r = n.metaTokens, i = n.visitor || u, s = n.dots, o = n.indexes, l = (n.Blob || typeof Blob < "u" && Blob) && d.isSpecCompliantForm(e);
|
|
319
|
+
if (!d.isFunction(i))
|
|
320
|
+
throw new TypeError("visitor must be a function");
|
|
321
|
+
function f(g) {
|
|
322
|
+
if (g === null)
|
|
323
|
+
return "";
|
|
324
|
+
if (d.isDate(g))
|
|
325
|
+
return g.toISOString();
|
|
326
|
+
if (!l && d.isBlob(g))
|
|
327
|
+
throw new E("Blob is not supported. Use a Buffer instead.");
|
|
328
|
+
return d.isArrayBuffer(g) || d.isTypedArray(g) ? l && typeof Blob == "function" ? new Blob([g]) : Buffer.from(g) : g;
|
|
329
|
+
}
|
|
330
|
+
function u(g, w, _) {
|
|
331
|
+
let k = g;
|
|
332
|
+
if (g && !_ && typeof g == "object") {
|
|
333
|
+
if (d.endsWith(w, "{}"))
|
|
334
|
+
w = r ? w : w.slice(0, -2), g = JSON.stringify(g);
|
|
335
|
+
else if (d.isArray(g) && Fi(g) || (d.isFileList(g) || d.endsWith(w, "[]")) && (k = d.toArray(g)))
|
|
336
|
+
return w = cr(w), k.forEach(function(b, D) {
|
|
337
|
+
!(d.isUndefined(b) || b === null) && e.append(
|
|
338
|
+
// eslint-disable-next-line no-nested-ternary
|
|
339
|
+
o === !0 ? dn([w], D, s) : o === null ? w : w + "[]",
|
|
340
|
+
f(b)
|
|
341
|
+
);
|
|
342
|
+
}), !1;
|
|
343
|
+
}
|
|
344
|
+
return Ot(g) ? !0 : (e.append(dn(_, w, s), f(g)), !1);
|
|
345
|
+
}
|
|
346
|
+
const y = [], m = Object.assign(Ni, {
|
|
347
|
+
defaultVisitor: u,
|
|
348
|
+
convertValue: f,
|
|
349
|
+
isVisitable: Ot
|
|
350
|
+
});
|
|
351
|
+
function A(g, w) {
|
|
352
|
+
if (!d.isUndefined(g)) {
|
|
353
|
+
if (y.indexOf(g) !== -1)
|
|
354
|
+
throw Error("Circular reference detected in " + w.join("."));
|
|
355
|
+
y.push(g), d.forEach(g, function(k, R) {
|
|
356
|
+
(!(d.isUndefined(k) || k === null) && i.call(
|
|
357
|
+
e,
|
|
358
|
+
k,
|
|
359
|
+
d.isString(R) ? R.trim() : R,
|
|
360
|
+
w,
|
|
361
|
+
m
|
|
362
|
+
)) === !0 && A(k, w ? w.concat(R) : [R]);
|
|
363
|
+
}), y.pop();
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
if (!d.isObject(t))
|
|
367
|
+
throw new TypeError("data must be an object");
|
|
368
|
+
return A(t), e;
|
|
369
|
+
}
|
|
370
|
+
function pn(t) {
|
|
371
|
+
const e = {
|
|
372
|
+
"!": "%21",
|
|
373
|
+
"'": "%27",
|
|
374
|
+
"(": "%28",
|
|
375
|
+
")": "%29",
|
|
376
|
+
"~": "%7E",
|
|
377
|
+
"%20": "+",
|
|
378
|
+
"%00": "\0"
|
|
379
|
+
};
|
|
380
|
+
return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g, function(r) {
|
|
381
|
+
return e[r];
|
|
382
|
+
});
|
|
383
|
+
}
|
|
384
|
+
function Qt(t, e) {
|
|
385
|
+
this._pairs = [], t && st(t, this, e);
|
|
386
|
+
}
|
|
387
|
+
const ur = Qt.prototype;
|
|
388
|
+
ur.append = function(e, n) {
|
|
389
|
+
this._pairs.push([e, n]);
|
|
390
|
+
};
|
|
391
|
+
ur.toString = function(e) {
|
|
392
|
+
const n = e ? function(r) {
|
|
393
|
+
return e.call(this, r, pn);
|
|
394
|
+
} : pn;
|
|
395
|
+
return this._pairs.map(function(i) {
|
|
396
|
+
return n(i[0]) + "=" + n(i[1]);
|
|
397
|
+
}, "").join("&");
|
|
398
|
+
};
|
|
399
|
+
function Ui(t) {
|
|
400
|
+
return encodeURIComponent(t).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
401
|
+
}
|
|
402
|
+
function fr(t, e, n) {
|
|
403
|
+
if (!e)
|
|
404
|
+
return t;
|
|
405
|
+
const r = n && n.encode || Ui, i = n && n.serialize;
|
|
406
|
+
let s;
|
|
407
|
+
if (i ? s = i(e, n) : s = d.isURLSearchParams(e) ? e.toString() : new Qt(e, n).toString(r), s) {
|
|
408
|
+
const o = t.indexOf("#");
|
|
409
|
+
o !== -1 && (t = t.slice(0, o)), t += (t.indexOf("?") === -1 ? "?" : "&") + s;
|
|
410
|
+
}
|
|
411
|
+
return t;
|
|
412
|
+
}
|
|
413
|
+
class Li {
|
|
414
|
+
constructor() {
|
|
415
|
+
this.handlers = [];
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* Add a new interceptor to the stack
|
|
419
|
+
*
|
|
420
|
+
* @param {Function} fulfilled The function to handle `then` for a `Promise`
|
|
421
|
+
* @param {Function} rejected The function to handle `reject` for a `Promise`
|
|
422
|
+
*
|
|
423
|
+
* @return {Number} An ID used to remove interceptor later
|
|
424
|
+
*/
|
|
425
|
+
use(e, n, r) {
|
|
426
|
+
return this.handlers.push({
|
|
427
|
+
fulfilled: e,
|
|
428
|
+
rejected: n,
|
|
429
|
+
synchronous: r ? r.synchronous : !1,
|
|
430
|
+
runWhen: r ? r.runWhen : null
|
|
431
|
+
}), this.handlers.length - 1;
|
|
432
|
+
}
|
|
433
|
+
/**
|
|
434
|
+
* Remove an interceptor from the stack
|
|
435
|
+
*
|
|
436
|
+
* @param {Number} id The ID that was returned by `use`
|
|
437
|
+
*
|
|
438
|
+
* @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
|
|
439
|
+
*/
|
|
440
|
+
eject(e) {
|
|
441
|
+
this.handlers[e] && (this.handlers[e] = null);
|
|
442
|
+
}
|
|
443
|
+
/**
|
|
444
|
+
* Clear all interceptors from the stack
|
|
445
|
+
*
|
|
446
|
+
* @returns {void}
|
|
447
|
+
*/
|
|
448
|
+
clear() {
|
|
449
|
+
this.handlers && (this.handlers = []);
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* Iterate over all the registered interceptors
|
|
453
|
+
*
|
|
454
|
+
* This method is particularly useful for skipping over any
|
|
455
|
+
* interceptors that may have become `null` calling `eject`.
|
|
456
|
+
*
|
|
457
|
+
* @param {Function} fn The function to call for each interceptor
|
|
458
|
+
*
|
|
459
|
+
* @returns {void}
|
|
460
|
+
*/
|
|
461
|
+
forEach(e) {
|
|
462
|
+
d.forEach(this.handlers, function(r) {
|
|
463
|
+
r !== null && e(r);
|
|
464
|
+
});
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
const hn = Li, dr = {
|
|
468
|
+
silentJSONParsing: !0,
|
|
469
|
+
forcedJSONParsing: !0,
|
|
470
|
+
clarifyTimeoutError: !1
|
|
471
|
+
}, Mi = typeof URLSearchParams < "u" ? URLSearchParams : Qt, Hi = typeof FormData < "u" ? FormData : null, zi = typeof Blob < "u" ? Blob : null, qi = {
|
|
472
|
+
isBrowser: !0,
|
|
473
|
+
classes: {
|
|
474
|
+
URLSearchParams: Mi,
|
|
475
|
+
FormData: Hi,
|
|
476
|
+
Blob: zi
|
|
477
|
+
},
|
|
478
|
+
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
479
|
+
}, Jt = typeof window < "u" && typeof document < "u", It = typeof navigator == "object" && navigator || void 0, Wi = Jt && (!It || ["ReactNative", "NativeScript", "NS"].indexOf(It.product) < 0), Qi = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
480
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), Ji = Jt && window.location.href || "http://localhost", Vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
481
|
+
__proto__: null,
|
|
482
|
+
hasBrowserEnv: Jt,
|
|
483
|
+
hasStandardBrowserEnv: Wi,
|
|
484
|
+
hasStandardBrowserWebWorkerEnv: Qi,
|
|
485
|
+
navigator: It,
|
|
486
|
+
origin: Ji
|
|
487
|
+
}, Symbol.toStringTag, { value: "Module" })), H = {
|
|
488
|
+
...Vi,
|
|
489
|
+
...qi
|
|
490
|
+
};
|
|
491
|
+
function ji(t, e) {
|
|
492
|
+
return st(t, new H.classes.URLSearchParams(), Object.assign({
|
|
493
|
+
visitor: function(n, r, i, s) {
|
|
494
|
+
return H.isNode && d.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
|
|
495
|
+
}
|
|
496
|
+
}, e));
|
|
497
|
+
}
|
|
498
|
+
function Gi(t) {
|
|
499
|
+
return d.matchAll(/\w+|\[(\w*)]/g, t).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
|
|
500
|
+
}
|
|
501
|
+
function Ki(t) {
|
|
502
|
+
const e = {}, n = Object.keys(t);
|
|
503
|
+
let r;
|
|
504
|
+
const i = n.length;
|
|
505
|
+
let s;
|
|
506
|
+
for (r = 0; r < i; r++)
|
|
507
|
+
s = n[r], e[s] = t[s];
|
|
508
|
+
return e;
|
|
509
|
+
}
|
|
510
|
+
function pr(t) {
|
|
511
|
+
function e(n, r, i, s) {
|
|
512
|
+
let o = n[s++];
|
|
513
|
+
if (o === "__proto__")
|
|
514
|
+
return !0;
|
|
515
|
+
const a = Number.isFinite(+o), l = s >= n.length;
|
|
516
|
+
return o = !o && d.isArray(i) ? i.length : o, l ? (d.hasOwnProp(i, o) ? i[o] = [i[o], r] : i[o] = r, !a) : ((!i[o] || !d.isObject(i[o])) && (i[o] = []), e(n, r, i[o], s) && d.isArray(i[o]) && (i[o] = Ki(i[o])), !a);
|
|
517
|
+
}
|
|
518
|
+
if (d.isFormData(t) && d.isFunction(t.entries)) {
|
|
519
|
+
const n = {};
|
|
520
|
+
return d.forEachEntry(t, (r, i) => {
|
|
521
|
+
e(Gi(r), i, n, 0);
|
|
522
|
+
}), n;
|
|
523
|
+
}
|
|
524
|
+
return null;
|
|
525
|
+
}
|
|
526
|
+
function Yi(t, e, n) {
|
|
527
|
+
if (d.isString(t))
|
|
528
|
+
try {
|
|
529
|
+
return (e || JSON.parse)(t), d.trim(t);
|
|
530
|
+
} catch (r) {
|
|
531
|
+
if (r.name !== "SyntaxError")
|
|
532
|
+
throw r;
|
|
533
|
+
}
|
|
534
|
+
return (n || JSON.stringify)(t);
|
|
535
|
+
}
|
|
536
|
+
const Vt = {
|
|
537
|
+
transitional: dr,
|
|
538
|
+
adapter: ["xhr", "http", "fetch"],
|
|
539
|
+
transformRequest: [function(e, n) {
|
|
540
|
+
const r = n.getContentType() || "", i = r.indexOf("application/json") > -1, s = d.isObject(e);
|
|
541
|
+
if (s && d.isHTMLForm(e) && (e = new FormData(e)), d.isFormData(e))
|
|
542
|
+
return i ? JSON.stringify(pr(e)) : e;
|
|
543
|
+
if (d.isArrayBuffer(e) || d.isBuffer(e) || d.isStream(e) || d.isFile(e) || d.isBlob(e) || d.isReadableStream(e))
|
|
544
|
+
return e;
|
|
545
|
+
if (d.isArrayBufferView(e))
|
|
546
|
+
return e.buffer;
|
|
547
|
+
if (d.isURLSearchParams(e))
|
|
548
|
+
return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), e.toString();
|
|
549
|
+
let a;
|
|
550
|
+
if (s) {
|
|
551
|
+
if (r.indexOf("application/x-www-form-urlencoded") > -1)
|
|
552
|
+
return ji(e, this.formSerializer).toString();
|
|
553
|
+
if ((a = d.isFileList(e)) || r.indexOf("multipart/form-data") > -1) {
|
|
554
|
+
const l = this.env && this.env.FormData;
|
|
555
|
+
return st(
|
|
556
|
+
a ? { "files[]": e } : e,
|
|
557
|
+
l && new l(),
|
|
558
|
+
this.formSerializer
|
|
559
|
+
);
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
return s || i ? (n.setContentType("application/json", !1), Yi(e)) : e;
|
|
563
|
+
}],
|
|
564
|
+
transformResponse: [function(e) {
|
|
565
|
+
const n = this.transitional || Vt.transitional, r = n && n.forcedJSONParsing, i = this.responseType === "json";
|
|
566
|
+
if (d.isResponse(e) || d.isReadableStream(e))
|
|
567
|
+
return e;
|
|
568
|
+
if (e && d.isString(e) && (r && !this.responseType || i)) {
|
|
569
|
+
const o = !(n && n.silentJSONParsing) && i;
|
|
570
|
+
try {
|
|
571
|
+
return JSON.parse(e);
|
|
572
|
+
} catch (a) {
|
|
573
|
+
if (o)
|
|
574
|
+
throw a.name === "SyntaxError" ? E.from(a, E.ERR_BAD_RESPONSE, this, null, this.response) : a;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
return e;
|
|
578
|
+
}],
|
|
579
|
+
/**
|
|
580
|
+
* A timeout in milliseconds to abort a request. If set to 0 (default) a
|
|
581
|
+
* timeout is not created.
|
|
582
|
+
*/
|
|
583
|
+
timeout: 0,
|
|
584
|
+
xsrfCookieName: "XSRF-TOKEN",
|
|
585
|
+
xsrfHeaderName: "X-XSRF-TOKEN",
|
|
586
|
+
maxContentLength: -1,
|
|
587
|
+
maxBodyLength: -1,
|
|
588
|
+
env: {
|
|
589
|
+
FormData: H.classes.FormData,
|
|
590
|
+
Blob: H.classes.Blob
|
|
591
|
+
},
|
|
592
|
+
validateStatus: function(e) {
|
|
593
|
+
return e >= 200 && e < 300;
|
|
594
|
+
},
|
|
595
|
+
headers: {
|
|
596
|
+
common: {
|
|
597
|
+
Accept: "application/json, text/plain, */*",
|
|
598
|
+
"Content-Type": void 0
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
};
|
|
602
|
+
d.forEach(["delete", "get", "head", "post", "put", "patch"], (t) => {
|
|
603
|
+
Vt.headers[t] = {};
|
|
604
|
+
});
|
|
605
|
+
const jt = Vt, Xi = d.toObjectSet([
|
|
606
|
+
"age",
|
|
607
|
+
"authorization",
|
|
608
|
+
"content-length",
|
|
609
|
+
"content-type",
|
|
610
|
+
"etag",
|
|
611
|
+
"expires",
|
|
612
|
+
"from",
|
|
613
|
+
"host",
|
|
614
|
+
"if-modified-since",
|
|
615
|
+
"if-unmodified-since",
|
|
616
|
+
"last-modified",
|
|
617
|
+
"location",
|
|
618
|
+
"max-forwards",
|
|
619
|
+
"proxy-authorization",
|
|
620
|
+
"referer",
|
|
621
|
+
"retry-after",
|
|
622
|
+
"user-agent"
|
|
623
|
+
]), Zi = (t) => {
|
|
624
|
+
const e = {};
|
|
625
|
+
let n, r, i;
|
|
626
|
+
return t && t.split(`
|
|
627
|
+
`).forEach(function(o) {
|
|
628
|
+
i = o.indexOf(":"), n = o.substring(0, i).trim().toLowerCase(), r = o.substring(i + 1).trim(), !(!n || e[n] && Xi[n]) && (n === "set-cookie" ? e[n] ? e[n].push(r) : e[n] = [r] : e[n] = e[n] ? e[n] + ", " + r : r);
|
|
629
|
+
}), e;
|
|
630
|
+
}, yn = Symbol("internals");
|
|
631
|
+
function Ee(t) {
|
|
632
|
+
return t && String(t).trim().toLowerCase();
|
|
633
|
+
}
|
|
634
|
+
function Ve(t) {
|
|
635
|
+
return t === !1 || t == null ? t : d.isArray(t) ? t.map(Ve) : String(t);
|
|
636
|
+
}
|
|
637
|
+
function $i(t) {
|
|
638
|
+
const e = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
639
|
+
let r;
|
|
640
|
+
for (; r = n.exec(t); )
|
|
641
|
+
e[r[1]] = r[2];
|
|
642
|
+
return e;
|
|
643
|
+
}
|
|
644
|
+
const eo = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
|
|
645
|
+
function pt(t, e, n, r, i) {
|
|
646
|
+
if (d.isFunction(r))
|
|
647
|
+
return r.call(this, e, n);
|
|
648
|
+
if (i && (e = n), !!d.isString(e)) {
|
|
649
|
+
if (d.isString(r))
|
|
650
|
+
return e.indexOf(r) !== -1;
|
|
651
|
+
if (d.isRegExp(r))
|
|
652
|
+
return r.test(e);
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
function to(t) {
|
|
656
|
+
return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, n, r) => n.toUpperCase() + r);
|
|
657
|
+
}
|
|
658
|
+
function no(t, e) {
|
|
659
|
+
const n = d.toCamelCase(" " + e);
|
|
660
|
+
["get", "set", "has"].forEach((r) => {
|
|
661
|
+
Object.defineProperty(t, r + n, {
|
|
662
|
+
value: function(i, s, o) {
|
|
663
|
+
return this[r].call(this, e, i, s, o);
|
|
664
|
+
},
|
|
665
|
+
configurable: !0
|
|
666
|
+
});
|
|
667
|
+
});
|
|
668
|
+
}
|
|
669
|
+
class at {
|
|
670
|
+
constructor(e) {
|
|
671
|
+
e && this.set(e);
|
|
672
|
+
}
|
|
673
|
+
set(e, n, r) {
|
|
674
|
+
const i = this;
|
|
675
|
+
function s(a, l, f) {
|
|
676
|
+
const u = Ee(l);
|
|
677
|
+
if (!u)
|
|
678
|
+
throw new Error("header name must be a non-empty string");
|
|
679
|
+
const y = d.findKey(i, u);
|
|
680
|
+
(!y || i[y] === void 0 || f === !0 || f === void 0 && i[y] !== !1) && (i[y || l] = Ve(a));
|
|
681
|
+
}
|
|
682
|
+
const o = (a, l) => d.forEach(a, (f, u) => s(f, u, l));
|
|
683
|
+
if (d.isPlainObject(e) || e instanceof this.constructor)
|
|
684
|
+
o(e, n);
|
|
685
|
+
else if (d.isString(e) && (e = e.trim()) && !eo(e))
|
|
686
|
+
o(Zi(e), n);
|
|
687
|
+
else if (d.isHeaders(e))
|
|
688
|
+
for (const [a, l] of e.entries())
|
|
689
|
+
s(l, a, r);
|
|
690
|
+
else
|
|
691
|
+
e != null && s(n, e, r);
|
|
692
|
+
return this;
|
|
693
|
+
}
|
|
694
|
+
get(e, n) {
|
|
695
|
+
if (e = Ee(e), e) {
|
|
696
|
+
const r = d.findKey(this, e);
|
|
697
|
+
if (r) {
|
|
698
|
+
const i = this[r];
|
|
699
|
+
if (!n)
|
|
700
|
+
return i;
|
|
701
|
+
if (n === !0)
|
|
702
|
+
return $i(i);
|
|
703
|
+
if (d.isFunction(n))
|
|
704
|
+
return n.call(this, i, r);
|
|
705
|
+
if (d.isRegExp(n))
|
|
706
|
+
return n.exec(i);
|
|
707
|
+
throw new TypeError("parser must be boolean|regexp|function");
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
has(e, n) {
|
|
712
|
+
if (e = Ee(e), e) {
|
|
713
|
+
const r = d.findKey(this, e);
|
|
714
|
+
return !!(r && this[r] !== void 0 && (!n || pt(this, this[r], r, n)));
|
|
715
|
+
}
|
|
716
|
+
return !1;
|
|
717
|
+
}
|
|
718
|
+
delete(e, n) {
|
|
719
|
+
const r = this;
|
|
720
|
+
let i = !1;
|
|
721
|
+
function s(o) {
|
|
722
|
+
if (o = Ee(o), o) {
|
|
723
|
+
const a = d.findKey(r, o);
|
|
724
|
+
a && (!n || pt(r, r[a], a, n)) && (delete r[a], i = !0);
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
return d.isArray(e) ? e.forEach(s) : s(e), i;
|
|
728
|
+
}
|
|
729
|
+
clear(e) {
|
|
730
|
+
const n = Object.keys(this);
|
|
731
|
+
let r = n.length, i = !1;
|
|
732
|
+
for (; r--; ) {
|
|
733
|
+
const s = n[r];
|
|
734
|
+
(!e || pt(this, this[s], s, e, !0)) && (delete this[s], i = !0);
|
|
735
|
+
}
|
|
736
|
+
return i;
|
|
737
|
+
}
|
|
738
|
+
normalize(e) {
|
|
739
|
+
const n = this, r = {};
|
|
740
|
+
return d.forEach(this, (i, s) => {
|
|
741
|
+
const o = d.findKey(r, s);
|
|
742
|
+
if (o) {
|
|
743
|
+
n[o] = Ve(i), delete n[s];
|
|
744
|
+
return;
|
|
745
|
+
}
|
|
746
|
+
const a = e ? to(s) : String(s).trim();
|
|
747
|
+
a !== s && delete n[s], n[a] = Ve(i), r[a] = !0;
|
|
748
|
+
}), this;
|
|
749
|
+
}
|
|
750
|
+
concat(...e) {
|
|
751
|
+
return this.constructor.concat(this, ...e);
|
|
752
|
+
}
|
|
753
|
+
toJSON(e) {
|
|
754
|
+
const n = /* @__PURE__ */ Object.create(null);
|
|
755
|
+
return d.forEach(this, (r, i) => {
|
|
756
|
+
r != null && r !== !1 && (n[i] = e && d.isArray(r) ? r.join(", ") : r);
|
|
757
|
+
}), n;
|
|
758
|
+
}
|
|
759
|
+
[Symbol.iterator]() {
|
|
760
|
+
return Object.entries(this.toJSON())[Symbol.iterator]();
|
|
761
|
+
}
|
|
762
|
+
toString() {
|
|
763
|
+
return Object.entries(this.toJSON()).map(([e, n]) => e + ": " + n).join(`
|
|
764
|
+
`);
|
|
765
|
+
}
|
|
766
|
+
get [Symbol.toStringTag]() {
|
|
767
|
+
return "AxiosHeaders";
|
|
768
|
+
}
|
|
769
|
+
static from(e) {
|
|
770
|
+
return e instanceof this ? e : new this(e);
|
|
771
|
+
}
|
|
772
|
+
static concat(e, ...n) {
|
|
773
|
+
const r = new this(e);
|
|
774
|
+
return n.forEach((i) => r.set(i)), r;
|
|
775
|
+
}
|
|
776
|
+
static accessor(e) {
|
|
777
|
+
const r = (this[yn] = this[yn] = {
|
|
778
|
+
accessors: {}
|
|
779
|
+
}).accessors, i = this.prototype;
|
|
780
|
+
function s(o) {
|
|
781
|
+
const a = Ee(o);
|
|
782
|
+
r[a] || (no(i, o), r[a] = !0);
|
|
783
|
+
}
|
|
784
|
+
return d.isArray(e) ? e.forEach(s) : s(e), this;
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
at.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
788
|
+
d.reduceDescriptors(at.prototype, ({ value: t }, e) => {
|
|
789
|
+
let n = e[0].toUpperCase() + e.slice(1);
|
|
790
|
+
return {
|
|
791
|
+
get: () => t,
|
|
792
|
+
set(r) {
|
|
793
|
+
this[n] = r;
|
|
794
|
+
}
|
|
795
|
+
};
|
|
796
|
+
});
|
|
797
|
+
d.freezeMethods(at);
|
|
798
|
+
const Q = at;
|
|
799
|
+
function ht(t, e) {
|
|
800
|
+
const n = this || jt, r = e || n, i = Q.from(r.headers);
|
|
801
|
+
let s = r.data;
|
|
802
|
+
return d.forEach(t, function(a) {
|
|
803
|
+
s = a.call(n, s, i.normalize(), e ? e.status : void 0);
|
|
804
|
+
}), i.normalize(), s;
|
|
805
|
+
}
|
|
806
|
+
function hr(t) {
|
|
807
|
+
return !!(t && t.__CANCEL__);
|
|
808
|
+
}
|
|
809
|
+
function we(t, e, n) {
|
|
810
|
+
E.call(this, t ?? "canceled", E.ERR_CANCELED, e, n), this.name = "CanceledError";
|
|
811
|
+
}
|
|
812
|
+
d.inherits(we, E, {
|
|
813
|
+
__CANCEL__: !0
|
|
814
|
+
});
|
|
815
|
+
function yr(t, e, n) {
|
|
816
|
+
const r = n.config.validateStatus;
|
|
817
|
+
!n.status || !r || r(n.status) ? t(n) : e(new E(
|
|
818
|
+
"Request failed with status code " + n.status,
|
|
819
|
+
[E.ERR_BAD_REQUEST, E.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
|
|
820
|
+
n.config,
|
|
821
|
+
n.request,
|
|
822
|
+
n
|
|
823
|
+
));
|
|
824
|
+
}
|
|
825
|
+
function ro(t) {
|
|
826
|
+
const e = /^([-+\w]{1,25})(:?\/\/|:)/.exec(t);
|
|
827
|
+
return e && e[1] || "";
|
|
828
|
+
}
|
|
829
|
+
function io(t, e) {
|
|
830
|
+
t = t || 10;
|
|
831
|
+
const n = new Array(t), r = new Array(t);
|
|
832
|
+
let i = 0, s = 0, o;
|
|
833
|
+
return e = e !== void 0 ? e : 1e3, function(l) {
|
|
834
|
+
const f = Date.now(), u = r[s];
|
|
835
|
+
o || (o = f), n[i] = l, r[i] = f;
|
|
836
|
+
let y = s, m = 0;
|
|
837
|
+
for (; y !== i; )
|
|
838
|
+
m += n[y++], y = y % t;
|
|
839
|
+
if (i = (i + 1) % t, i === s && (s = (s + 1) % t), f - o < e)
|
|
840
|
+
return;
|
|
841
|
+
const A = u && f - u;
|
|
842
|
+
return A ? Math.round(m * 1e3 / A) : void 0;
|
|
843
|
+
};
|
|
844
|
+
}
|
|
845
|
+
function oo(t, e) {
|
|
846
|
+
let n = 0, r = 1e3 / e, i, s;
|
|
847
|
+
const o = (f, u = Date.now()) => {
|
|
848
|
+
n = u, i = null, s && (clearTimeout(s), s = null), t.apply(null, f);
|
|
849
|
+
};
|
|
850
|
+
return [(...f) => {
|
|
851
|
+
const u = Date.now(), y = u - n;
|
|
852
|
+
y >= r ? o(f, u) : (i = f, s || (s = setTimeout(() => {
|
|
853
|
+
s = null, o(i);
|
|
854
|
+
}, r - y)));
|
|
855
|
+
}, () => i && o(i)];
|
|
856
|
+
}
|
|
857
|
+
const Ye = (t, e, n = 3) => {
|
|
858
|
+
let r = 0;
|
|
859
|
+
const i = io(50, 250);
|
|
860
|
+
return oo((s) => {
|
|
861
|
+
const o = s.loaded, a = s.lengthComputable ? s.total : void 0, l = o - r, f = i(l), u = o <= a;
|
|
862
|
+
r = o;
|
|
863
|
+
const y = {
|
|
864
|
+
loaded: o,
|
|
865
|
+
total: a,
|
|
866
|
+
progress: a ? o / a : void 0,
|
|
867
|
+
bytes: l,
|
|
868
|
+
rate: f || void 0,
|
|
869
|
+
estimated: f && a && u ? (a - o) / f : void 0,
|
|
870
|
+
event: s,
|
|
871
|
+
lengthComputable: a != null,
|
|
872
|
+
[e ? "download" : "upload"]: !0
|
|
873
|
+
};
|
|
874
|
+
t(y);
|
|
875
|
+
}, n);
|
|
876
|
+
}, mn = (t, e) => {
|
|
877
|
+
const n = t != null;
|
|
878
|
+
return [(r) => e[0]({
|
|
879
|
+
lengthComputable: n,
|
|
880
|
+
total: t,
|
|
881
|
+
loaded: r
|
|
882
|
+
}), e[1]];
|
|
883
|
+
}, gn = (t) => (...e) => d.asap(() => t(...e)), so = H.hasStandardBrowserEnv ? (
|
|
884
|
+
// Standard browser envs have full support of the APIs needed to test
|
|
885
|
+
// whether the request URL is of the same origin as current location.
|
|
886
|
+
function() {
|
|
887
|
+
const e = H.navigator && /(msie|trident)/i.test(H.navigator.userAgent), n = document.createElement("a");
|
|
888
|
+
let r;
|
|
889
|
+
function i(s) {
|
|
890
|
+
let o = s;
|
|
891
|
+
return e && (n.setAttribute("href", o), o = n.href), n.setAttribute("href", o), {
|
|
892
|
+
href: n.href,
|
|
893
|
+
protocol: n.protocol ? n.protocol.replace(/:$/, "") : "",
|
|
894
|
+
host: n.host,
|
|
895
|
+
search: n.search ? n.search.replace(/^\?/, "") : "",
|
|
896
|
+
hash: n.hash ? n.hash.replace(/^#/, "") : "",
|
|
897
|
+
hostname: n.hostname,
|
|
898
|
+
port: n.port,
|
|
899
|
+
pathname: n.pathname.charAt(0) === "/" ? n.pathname : "/" + n.pathname
|
|
900
|
+
};
|
|
901
|
+
}
|
|
902
|
+
return r = i(window.location.href), function(o) {
|
|
903
|
+
const a = d.isString(o) ? i(o) : o;
|
|
904
|
+
return a.protocol === r.protocol && a.host === r.host;
|
|
905
|
+
};
|
|
906
|
+
}()
|
|
907
|
+
) : (
|
|
908
|
+
// Non standard browser envs (web workers, react-native) lack needed support.
|
|
909
|
+
function() {
|
|
910
|
+
return function() {
|
|
911
|
+
return !0;
|
|
912
|
+
};
|
|
913
|
+
}()
|
|
914
|
+
), ao = H.hasStandardBrowserEnv ? (
|
|
915
|
+
// Standard browser envs support document.cookie
|
|
916
|
+
{
|
|
917
|
+
write(t, e, n, r, i, s) {
|
|
918
|
+
const o = [t + "=" + encodeURIComponent(e)];
|
|
919
|
+
d.isNumber(n) && o.push("expires=" + new Date(n).toGMTString()), d.isString(r) && o.push("path=" + r), d.isString(i) && o.push("domain=" + i), s === !0 && o.push("secure"), document.cookie = o.join("; ");
|
|
920
|
+
},
|
|
921
|
+
read(t) {
|
|
922
|
+
const e = document.cookie.match(new RegExp("(^|;\\s*)(" + t + ")=([^;]*)"));
|
|
923
|
+
return e ? decodeURIComponent(e[3]) : null;
|
|
924
|
+
},
|
|
925
|
+
remove(t) {
|
|
926
|
+
this.write(t, "", Date.now() - 864e5);
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
) : (
|
|
930
|
+
// Non-standard browser env (web workers, react-native) lack needed support.
|
|
931
|
+
{
|
|
932
|
+
write() {
|
|
933
|
+
},
|
|
934
|
+
read() {
|
|
935
|
+
return null;
|
|
936
|
+
},
|
|
937
|
+
remove() {
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
);
|
|
941
|
+
function lo(t) {
|
|
942
|
+
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
|
|
943
|
+
}
|
|
944
|
+
function co(t, e) {
|
|
945
|
+
return e ? t.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : t;
|
|
946
|
+
}
|
|
947
|
+
function mr(t, e) {
|
|
948
|
+
return t && !lo(e) ? co(t, e) : e;
|
|
949
|
+
}
|
|
950
|
+
const _n = (t) => t instanceof Q ? { ...t } : t;
|
|
951
|
+
function le(t, e) {
|
|
952
|
+
e = e || {};
|
|
953
|
+
const n = {};
|
|
954
|
+
function r(f, u, y) {
|
|
955
|
+
return d.isPlainObject(f) && d.isPlainObject(u) ? d.merge.call({ caseless: y }, f, u) : d.isPlainObject(u) ? d.merge({}, u) : d.isArray(u) ? u.slice() : u;
|
|
956
|
+
}
|
|
957
|
+
function i(f, u, y) {
|
|
958
|
+
if (d.isUndefined(u)) {
|
|
959
|
+
if (!d.isUndefined(f))
|
|
960
|
+
return r(void 0, f, y);
|
|
961
|
+
} else
|
|
962
|
+
return r(f, u, y);
|
|
963
|
+
}
|
|
964
|
+
function s(f, u) {
|
|
965
|
+
if (!d.isUndefined(u))
|
|
966
|
+
return r(void 0, u);
|
|
967
|
+
}
|
|
968
|
+
function o(f, u) {
|
|
969
|
+
if (d.isUndefined(u)) {
|
|
970
|
+
if (!d.isUndefined(f))
|
|
971
|
+
return r(void 0, f);
|
|
972
|
+
} else
|
|
973
|
+
return r(void 0, u);
|
|
974
|
+
}
|
|
975
|
+
function a(f, u, y) {
|
|
976
|
+
if (y in e)
|
|
977
|
+
return r(f, u);
|
|
978
|
+
if (y in t)
|
|
979
|
+
return r(void 0, f);
|
|
980
|
+
}
|
|
981
|
+
const l = {
|
|
982
|
+
url: s,
|
|
983
|
+
method: s,
|
|
984
|
+
data: s,
|
|
985
|
+
baseURL: o,
|
|
986
|
+
transformRequest: o,
|
|
987
|
+
transformResponse: o,
|
|
988
|
+
paramsSerializer: o,
|
|
989
|
+
timeout: o,
|
|
990
|
+
timeoutMessage: o,
|
|
991
|
+
withCredentials: o,
|
|
992
|
+
withXSRFToken: o,
|
|
993
|
+
adapter: o,
|
|
994
|
+
responseType: o,
|
|
995
|
+
xsrfCookieName: o,
|
|
996
|
+
xsrfHeaderName: o,
|
|
997
|
+
onUploadProgress: o,
|
|
998
|
+
onDownloadProgress: o,
|
|
999
|
+
decompress: o,
|
|
1000
|
+
maxContentLength: o,
|
|
1001
|
+
maxBodyLength: o,
|
|
1002
|
+
beforeRedirect: o,
|
|
1003
|
+
transport: o,
|
|
1004
|
+
httpAgent: o,
|
|
1005
|
+
httpsAgent: o,
|
|
1006
|
+
cancelToken: o,
|
|
1007
|
+
socketPath: o,
|
|
1008
|
+
responseEncoding: o,
|
|
1009
|
+
validateStatus: a,
|
|
1010
|
+
headers: (f, u) => i(_n(f), _n(u), !0)
|
|
1011
|
+
};
|
|
1012
|
+
return d.forEach(Object.keys(Object.assign({}, t, e)), function(u) {
|
|
1013
|
+
const y = l[u] || i, m = y(t[u], e[u], u);
|
|
1014
|
+
d.isUndefined(m) && y !== a || (n[u] = m);
|
|
1015
|
+
}), n;
|
|
1016
|
+
}
|
|
1017
|
+
const gr = (t) => {
|
|
1018
|
+
const e = le({}, t);
|
|
1019
|
+
let { data: n, withXSRFToken: r, xsrfHeaderName: i, xsrfCookieName: s, headers: o, auth: a } = e;
|
|
1020
|
+
e.headers = o = Q.from(o), e.url = fr(mr(e.baseURL, e.url), t.params, t.paramsSerializer), a && o.set(
|
|
1021
|
+
"Authorization",
|
|
1022
|
+
"Basic " + btoa((a.username || "") + ":" + (a.password ? unescape(encodeURIComponent(a.password)) : ""))
|
|
1023
|
+
);
|
|
1024
|
+
let l;
|
|
1025
|
+
if (d.isFormData(n)) {
|
|
1026
|
+
if (H.hasStandardBrowserEnv || H.hasStandardBrowserWebWorkerEnv)
|
|
1027
|
+
o.setContentType(void 0);
|
|
1028
|
+
else if ((l = o.getContentType()) !== !1) {
|
|
1029
|
+
const [f, ...u] = l ? l.split(";").map((y) => y.trim()).filter(Boolean) : [];
|
|
1030
|
+
o.setContentType([f || "multipart/form-data", ...u].join("; "));
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
if (H.hasStandardBrowserEnv && (r && d.isFunction(r) && (r = r(e)), r || r !== !1 && so(e.url))) {
|
|
1034
|
+
const f = i && s && ao.read(s);
|
|
1035
|
+
f && o.set(i, f);
|
|
1036
|
+
}
|
|
1037
|
+
return e;
|
|
1038
|
+
}, uo = typeof XMLHttpRequest < "u", fo = uo && function(t) {
|
|
1039
|
+
return new Promise(function(n, r) {
|
|
1040
|
+
const i = gr(t);
|
|
1041
|
+
let s = i.data;
|
|
1042
|
+
const o = Q.from(i.headers).normalize();
|
|
1043
|
+
let { responseType: a, onUploadProgress: l, onDownloadProgress: f } = i, u, y, m, A, g;
|
|
1044
|
+
function w() {
|
|
1045
|
+
A && A(), g && g(), i.cancelToken && i.cancelToken.unsubscribe(u), i.signal && i.signal.removeEventListener("abort", u);
|
|
1046
|
+
}
|
|
1047
|
+
let _ = new XMLHttpRequest();
|
|
1048
|
+
_.open(i.method.toUpperCase(), i.url, !0), _.timeout = i.timeout;
|
|
1049
|
+
function k() {
|
|
1050
|
+
if (!_)
|
|
1051
|
+
return;
|
|
1052
|
+
const b = Q.from(
|
|
1053
|
+
"getAllResponseHeaders" in _ && _.getAllResponseHeaders()
|
|
1054
|
+
), O = {
|
|
1055
|
+
data: !a || a === "text" || a === "json" ? _.responseText : _.response,
|
|
1056
|
+
status: _.status,
|
|
1057
|
+
statusText: _.statusText,
|
|
1058
|
+
headers: b,
|
|
1059
|
+
config: t,
|
|
1060
|
+
request: _
|
|
1061
|
+
};
|
|
1062
|
+
yr(function(M) {
|
|
1063
|
+
n(M), w();
|
|
1064
|
+
}, function(M) {
|
|
1065
|
+
r(M), w();
|
|
1066
|
+
}, O), _ = null;
|
|
1067
|
+
}
|
|
1068
|
+
"onloadend" in _ ? _.onloadend = k : _.onreadystatechange = function() {
|
|
1069
|
+
!_ || _.readyState !== 4 || _.status === 0 && !(_.responseURL && _.responseURL.indexOf("file:") === 0) || setTimeout(k);
|
|
1070
|
+
}, _.onabort = function() {
|
|
1071
|
+
_ && (r(new E("Request aborted", E.ECONNABORTED, t, _)), _ = null);
|
|
1072
|
+
}, _.onerror = function() {
|
|
1073
|
+
r(new E("Network Error", E.ERR_NETWORK, t, _)), _ = null;
|
|
1074
|
+
}, _.ontimeout = function() {
|
|
1075
|
+
let D = i.timeout ? "timeout of " + i.timeout + "ms exceeded" : "timeout exceeded";
|
|
1076
|
+
const O = i.transitional || dr;
|
|
1077
|
+
i.timeoutErrorMessage && (D = i.timeoutErrorMessage), r(new E(
|
|
1078
|
+
D,
|
|
1079
|
+
O.clarifyTimeoutError ? E.ETIMEDOUT : E.ECONNABORTED,
|
|
1080
|
+
t,
|
|
1081
|
+
_
|
|
1082
|
+
)), _ = null;
|
|
1083
|
+
}, s === void 0 && o.setContentType(null), "setRequestHeader" in _ && d.forEach(o.toJSON(), function(D, O) {
|
|
1084
|
+
_.setRequestHeader(O, D);
|
|
1085
|
+
}), d.isUndefined(i.withCredentials) || (_.withCredentials = !!i.withCredentials), a && a !== "json" && (_.responseType = i.responseType), f && ([m, g] = Ye(f, !0), _.addEventListener("progress", m)), l && _.upload && ([y, A] = Ye(l), _.upload.addEventListener("progress", y), _.upload.addEventListener("loadend", A)), (i.cancelToken || i.signal) && (u = (b) => {
|
|
1086
|
+
_ && (r(!b || b.type ? new we(null, t, _) : b), _.abort(), _ = null);
|
|
1087
|
+
}, i.cancelToken && i.cancelToken.subscribe(u), i.signal && (i.signal.aborted ? u() : i.signal.addEventListener("abort", u)));
|
|
1088
|
+
const R = ro(i.url);
|
|
1089
|
+
if (R && H.protocols.indexOf(R) === -1) {
|
|
1090
|
+
r(new E("Unsupported protocol " + R + ":", E.ERR_BAD_REQUEST, t));
|
|
1091
|
+
return;
|
|
1092
|
+
}
|
|
1093
|
+
_.send(s || null);
|
|
1094
|
+
});
|
|
1095
|
+
}, po = (t, e) => {
|
|
1096
|
+
const { length: n } = t = t ? t.filter(Boolean) : [];
|
|
1097
|
+
if (e || n) {
|
|
1098
|
+
let r = new AbortController(), i;
|
|
1099
|
+
const s = function(f) {
|
|
1100
|
+
if (!i) {
|
|
1101
|
+
i = !0, a();
|
|
1102
|
+
const u = f instanceof Error ? f : this.reason;
|
|
1103
|
+
r.abort(u instanceof E ? u : new we(u instanceof Error ? u.message : u));
|
|
1104
|
+
}
|
|
1105
|
+
};
|
|
1106
|
+
let o = e && setTimeout(() => {
|
|
1107
|
+
o = null, s(new E(`timeout ${e} of ms exceeded`, E.ETIMEDOUT));
|
|
1108
|
+
}, e);
|
|
1109
|
+
const a = () => {
|
|
1110
|
+
t && (o && clearTimeout(o), o = null, t.forEach((f) => {
|
|
1111
|
+
f.unsubscribe ? f.unsubscribe(s) : f.removeEventListener("abort", s);
|
|
1112
|
+
}), t = null);
|
|
1113
|
+
};
|
|
1114
|
+
t.forEach((f) => f.addEventListener("abort", s));
|
|
1115
|
+
const { signal: l } = r;
|
|
1116
|
+
return l.unsubscribe = () => d.asap(a), l;
|
|
1117
|
+
}
|
|
1118
|
+
}, ho = po, yo = function* (t, e) {
|
|
1119
|
+
let n = t.byteLength;
|
|
1120
|
+
if (!e || n < e) {
|
|
1121
|
+
yield t;
|
|
1122
|
+
return;
|
|
1123
|
+
}
|
|
1124
|
+
let r = 0, i;
|
|
1125
|
+
for (; r < n; )
|
|
1126
|
+
i = r + e, yield t.slice(r, i), r = i;
|
|
1127
|
+
}, mo = async function* (t, e) {
|
|
1128
|
+
for await (const n of go(t))
|
|
1129
|
+
yield* yo(n, e);
|
|
1130
|
+
}, go = async function* (t) {
|
|
1131
|
+
if (t[Symbol.asyncIterator]) {
|
|
1132
|
+
yield* t;
|
|
1133
|
+
return;
|
|
1134
|
+
}
|
|
1135
|
+
const e = t.getReader();
|
|
1136
|
+
try {
|
|
1137
|
+
for (; ; ) {
|
|
1138
|
+
const { done: n, value: r } = await e.read();
|
|
1139
|
+
if (n)
|
|
1140
|
+
break;
|
|
1141
|
+
yield r;
|
|
1142
|
+
}
|
|
1143
|
+
} finally {
|
|
1144
|
+
await e.cancel();
|
|
1145
|
+
}
|
|
1146
|
+
}, vn = (t, e, n, r) => {
|
|
1147
|
+
const i = mo(t, e);
|
|
1148
|
+
let s = 0, o, a = (l) => {
|
|
1149
|
+
o || (o = !0, r && r(l));
|
|
1150
|
+
};
|
|
1151
|
+
return new ReadableStream({
|
|
1152
|
+
async pull(l) {
|
|
1153
|
+
try {
|
|
1154
|
+
const { done: f, value: u } = await i.next();
|
|
1155
|
+
if (f) {
|
|
1156
|
+
a(), l.close();
|
|
1157
|
+
return;
|
|
1158
|
+
}
|
|
1159
|
+
let y = u.byteLength;
|
|
1160
|
+
if (n) {
|
|
1161
|
+
let m = s += y;
|
|
1162
|
+
n(m);
|
|
1163
|
+
}
|
|
1164
|
+
l.enqueue(new Uint8Array(u));
|
|
1165
|
+
} catch (f) {
|
|
1166
|
+
throw a(f), f;
|
|
1167
|
+
}
|
|
1168
|
+
},
|
|
1169
|
+
cancel(l) {
|
|
1170
|
+
return a(l), i.return();
|
|
1171
|
+
}
|
|
1172
|
+
}, {
|
|
1173
|
+
highWaterMark: 2
|
|
1174
|
+
});
|
|
1175
|
+
}, lt = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", _r = lt && typeof ReadableStream == "function", _o = lt && (typeof TextEncoder == "function" ? ((t) => (e) => t.encode(e))(new TextEncoder()) : async (t) => new Uint8Array(await new Response(t).arrayBuffer())), vr = (t, ...e) => {
|
|
1176
|
+
try {
|
|
1177
|
+
return !!t(...e);
|
|
1178
|
+
} catch {
|
|
1179
|
+
return !1;
|
|
1180
|
+
}
|
|
1181
|
+
}, vo = _r && vr(() => {
|
|
1182
|
+
let t = !1;
|
|
1183
|
+
const e = new Request(H.origin, {
|
|
1184
|
+
body: new ReadableStream(),
|
|
1185
|
+
method: "POST",
|
|
1186
|
+
get duplex() {
|
|
1187
|
+
return t = !0, "half";
|
|
1188
|
+
}
|
|
1189
|
+
}).headers.has("Content-Type");
|
|
1190
|
+
return t && !e;
|
|
1191
|
+
}), wn = 64 * 1024, Ct = _r && vr(() => d.isReadableStream(new Response("").body)), Xe = {
|
|
1192
|
+
stream: Ct && ((t) => t.body)
|
|
1193
|
+
};
|
|
1194
|
+
lt && ((t) => {
|
|
1195
|
+
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((e) => {
|
|
1196
|
+
!Xe[e] && (Xe[e] = d.isFunction(t[e]) ? (n) => n[e]() : (n, r) => {
|
|
1197
|
+
throw new E(`Response type '${e}' is not supported`, E.ERR_NOT_SUPPORT, r);
|
|
1198
|
+
});
|
|
1199
|
+
});
|
|
1200
|
+
})(new Response());
|
|
1201
|
+
const wo = async (t) => {
|
|
1202
|
+
if (t == null)
|
|
1203
|
+
return 0;
|
|
1204
|
+
if (d.isBlob(t))
|
|
1205
|
+
return t.size;
|
|
1206
|
+
if (d.isSpecCompliantForm(t))
|
|
1207
|
+
return (await new Request(H.origin, {
|
|
1208
|
+
method: "POST",
|
|
1209
|
+
body: t
|
|
1210
|
+
}).arrayBuffer()).byteLength;
|
|
1211
|
+
if (d.isArrayBufferView(t) || d.isArrayBuffer(t))
|
|
1212
|
+
return t.byteLength;
|
|
1213
|
+
if (d.isURLSearchParams(t) && (t = t + ""), d.isString(t))
|
|
1214
|
+
return (await _o(t)).byteLength;
|
|
1215
|
+
}, bo = async (t, e) => {
|
|
1216
|
+
const n = d.toFiniteNumber(t.getContentLength());
|
|
1217
|
+
return n ?? wo(e);
|
|
1218
|
+
}, Ao = lt && (async (t) => {
|
|
1219
|
+
let {
|
|
1220
|
+
url: e,
|
|
1221
|
+
method: n,
|
|
1222
|
+
data: r,
|
|
1223
|
+
signal: i,
|
|
1224
|
+
cancelToken: s,
|
|
1225
|
+
timeout: o,
|
|
1226
|
+
onDownloadProgress: a,
|
|
1227
|
+
onUploadProgress: l,
|
|
1228
|
+
responseType: f,
|
|
1229
|
+
headers: u,
|
|
1230
|
+
withCredentials: y = "same-origin",
|
|
1231
|
+
fetchOptions: m
|
|
1232
|
+
} = gr(t);
|
|
1233
|
+
f = f ? (f + "").toLowerCase() : "text";
|
|
1234
|
+
let A = ho([i, s && s.toAbortSignal()], o), g;
|
|
1235
|
+
const w = A && A.unsubscribe && (() => {
|
|
1236
|
+
A.unsubscribe();
|
|
1237
|
+
});
|
|
1238
|
+
let _;
|
|
1239
|
+
try {
|
|
1240
|
+
if (l && vo && n !== "get" && n !== "head" && (_ = await bo(u, r)) !== 0) {
|
|
1241
|
+
let O = new Request(e, {
|
|
1242
|
+
method: "POST",
|
|
1243
|
+
body: r,
|
|
1244
|
+
duplex: "half"
|
|
1245
|
+
}), L;
|
|
1246
|
+
if (d.isFormData(r) && (L = O.headers.get("content-type")) && u.setContentType(L), O.body) {
|
|
1247
|
+
const [M, Y] = mn(
|
|
1248
|
+
_,
|
|
1249
|
+
Ye(gn(l))
|
|
1250
|
+
);
|
|
1251
|
+
r = vn(O.body, wn, M, Y);
|
|
1252
|
+
}
|
|
1253
|
+
}
|
|
1254
|
+
d.isString(y) || (y = y ? "include" : "omit");
|
|
1255
|
+
const k = "credentials" in Request.prototype;
|
|
1256
|
+
g = new Request(e, {
|
|
1257
|
+
...m,
|
|
1258
|
+
signal: A,
|
|
1259
|
+
method: n.toUpperCase(),
|
|
1260
|
+
headers: u.normalize().toJSON(),
|
|
1261
|
+
body: r,
|
|
1262
|
+
duplex: "half",
|
|
1263
|
+
credentials: k ? y : void 0
|
|
1264
|
+
});
|
|
1265
|
+
let R = await fetch(g);
|
|
1266
|
+
const b = Ct && (f === "stream" || f === "response");
|
|
1267
|
+
if (Ct && (a || b && w)) {
|
|
1268
|
+
const O = {};
|
|
1269
|
+
["status", "statusText", "headers"].forEach((V) => {
|
|
1270
|
+
O[V] = R[V];
|
|
1271
|
+
});
|
|
1272
|
+
const L = d.toFiniteNumber(R.headers.get("content-length")), [M, Y] = a && mn(
|
|
1273
|
+
L,
|
|
1274
|
+
Ye(gn(a), !0)
|
|
1275
|
+
) || [];
|
|
1276
|
+
R = new Response(
|
|
1277
|
+
vn(R.body, wn, M, () => {
|
|
1278
|
+
Y && Y(), w && w();
|
|
1279
|
+
}),
|
|
1280
|
+
O
|
|
1281
|
+
);
|
|
1282
|
+
}
|
|
1283
|
+
f = f || "text";
|
|
1284
|
+
let D = await Xe[d.findKey(Xe, f) || "text"](R, t);
|
|
1285
|
+
return !b && w && w(), await new Promise((O, L) => {
|
|
1286
|
+
yr(O, L, {
|
|
1287
|
+
data: D,
|
|
1288
|
+
headers: Q.from(R.headers),
|
|
1289
|
+
status: R.status,
|
|
1290
|
+
statusText: R.statusText,
|
|
1291
|
+
config: t,
|
|
1292
|
+
request: g
|
|
1293
|
+
});
|
|
1294
|
+
});
|
|
1295
|
+
} catch (k) {
|
|
1296
|
+
throw w && w(), k && k.name === "TypeError" && /fetch/i.test(k.message) ? Object.assign(
|
|
1297
|
+
new E("Network Error", E.ERR_NETWORK, t, g),
|
|
1298
|
+
{
|
|
1299
|
+
cause: k.cause || k
|
|
1300
|
+
}
|
|
1301
|
+
) : E.from(k, k && k.code, t, g);
|
|
1302
|
+
}
|
|
1303
|
+
}), Pt = {
|
|
1304
|
+
http: Di,
|
|
1305
|
+
xhr: fo,
|
|
1306
|
+
fetch: Ao
|
|
1307
|
+
};
|
|
1308
|
+
d.forEach(Pt, (t, e) => {
|
|
1309
|
+
if (t) {
|
|
1310
|
+
try {
|
|
1311
|
+
Object.defineProperty(t, "name", { value: e });
|
|
1312
|
+
} catch {
|
|
1313
|
+
}
|
|
1314
|
+
Object.defineProperty(t, "adapterName", { value: e });
|
|
1315
|
+
}
|
|
1316
|
+
});
|
|
1317
|
+
const bn = (t) => `- ${t}`, So = (t) => d.isFunction(t) || t === null || t === !1, wr = {
|
|
1318
|
+
getAdapter: (t) => {
|
|
1319
|
+
t = d.isArray(t) ? t : [t];
|
|
1320
|
+
const { length: e } = t;
|
|
1321
|
+
let n, r;
|
|
1322
|
+
const i = {};
|
|
1323
|
+
for (let s = 0; s < e; s++) {
|
|
1324
|
+
n = t[s];
|
|
1325
|
+
let o;
|
|
1326
|
+
if (r = n, !So(n) && (r = Pt[(o = String(n)).toLowerCase()], r === void 0))
|
|
1327
|
+
throw new E(`Unknown adapter '${o}'`);
|
|
1328
|
+
if (r)
|
|
1329
|
+
break;
|
|
1330
|
+
i[o || "#" + s] = r;
|
|
1331
|
+
}
|
|
1332
|
+
if (!r) {
|
|
1333
|
+
const s = Object.entries(i).map(
|
|
1334
|
+
([a, l]) => `adapter ${a} ` + (l === !1 ? "is not supported by the environment" : "is not available in the build")
|
|
1335
|
+
);
|
|
1336
|
+
let o = e ? s.length > 1 ? `since :
|
|
1337
|
+
` + s.map(bn).join(`
|
|
1338
|
+
`) : " " + bn(s[0]) : "as no adapter specified";
|
|
1339
|
+
throw new E(
|
|
1340
|
+
"There is no suitable adapter to dispatch the request " + o,
|
|
1341
|
+
"ERR_NOT_SUPPORT"
|
|
1342
|
+
);
|
|
1343
|
+
}
|
|
1344
|
+
return r;
|
|
1345
|
+
},
|
|
1346
|
+
adapters: Pt
|
|
1347
|
+
};
|
|
1348
|
+
function yt(t) {
|
|
1349
|
+
if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
|
|
1350
|
+
throw new we(null, t);
|
|
1351
|
+
}
|
|
1352
|
+
function An(t) {
|
|
1353
|
+
return yt(t), t.headers = Q.from(t.headers), t.data = ht.call(
|
|
1354
|
+
t,
|
|
1355
|
+
t.transformRequest
|
|
1356
|
+
), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), wr.getAdapter(t.adapter || jt.adapter)(t).then(function(r) {
|
|
1357
|
+
return yt(t), r.data = ht.call(
|
|
1358
|
+
t,
|
|
1359
|
+
t.transformResponse,
|
|
1360
|
+
r
|
|
1361
|
+
), r.headers = Q.from(r.headers), r;
|
|
1362
|
+
}, function(r) {
|
|
1363
|
+
return hr(r) || (yt(t), r && r.response && (r.response.data = ht.call(
|
|
1364
|
+
t,
|
|
1365
|
+
t.transformResponse,
|
|
1366
|
+
r.response
|
|
1367
|
+
), r.response.headers = Q.from(r.response.headers))), Promise.reject(r);
|
|
1368
|
+
});
|
|
1369
|
+
}
|
|
1370
|
+
const br = "1.7.7", Gt = {};
|
|
1371
|
+
["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => {
|
|
1372
|
+
Gt[t] = function(r) {
|
|
1373
|
+
return typeof r === t || "a" + (e < 1 ? "n " : " ") + t;
|
|
1374
|
+
};
|
|
1375
|
+
});
|
|
1376
|
+
const Sn = {};
|
|
1377
|
+
Gt.transitional = function(e, n, r) {
|
|
1378
|
+
function i(s, o) {
|
|
1379
|
+
return "[Axios v" + br + "] Transitional option '" + s + "'" + o + (r ? ". " + r : "");
|
|
1380
|
+
}
|
|
1381
|
+
return (s, o, a) => {
|
|
1382
|
+
if (e === !1)
|
|
1383
|
+
throw new E(
|
|
1384
|
+
i(o, " has been removed" + (n ? " in " + n : "")),
|
|
1385
|
+
E.ERR_DEPRECATED
|
|
1386
|
+
);
|
|
1387
|
+
return n && !Sn[o] && (Sn[o] = !0, console.warn(
|
|
1388
|
+
i(
|
|
1389
|
+
o,
|
|
1390
|
+
" has been deprecated since v" + n + " and will be removed in the near future"
|
|
1391
|
+
)
|
|
1392
|
+
)), e ? e(s, o, a) : !0;
|
|
1393
|
+
};
|
|
1394
|
+
};
|
|
1395
|
+
function Eo(t, e, n) {
|
|
1396
|
+
if (typeof t != "object")
|
|
1397
|
+
throw new E("options must be an object", E.ERR_BAD_OPTION_VALUE);
|
|
1398
|
+
const r = Object.keys(t);
|
|
1399
|
+
let i = r.length;
|
|
1400
|
+
for (; i-- > 0; ) {
|
|
1401
|
+
const s = r[i], o = e[s];
|
|
1402
|
+
if (o) {
|
|
1403
|
+
const a = t[s], l = a === void 0 || o(a, s, t);
|
|
1404
|
+
if (l !== !0)
|
|
1405
|
+
throw new E("option " + s + " must be " + l, E.ERR_BAD_OPTION_VALUE);
|
|
1406
|
+
continue;
|
|
1407
|
+
}
|
|
1408
|
+
if (n !== !0)
|
|
1409
|
+
throw new E("Unknown option " + s, E.ERR_BAD_OPTION);
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1412
|
+
const Bt = {
|
|
1413
|
+
assertOptions: Eo,
|
|
1414
|
+
validators: Gt
|
|
1415
|
+
}, ee = Bt.validators;
|
|
1416
|
+
class Ze {
|
|
1417
|
+
constructor(e) {
|
|
1418
|
+
this.defaults = e, this.interceptors = {
|
|
1419
|
+
request: new hn(),
|
|
1420
|
+
response: new hn()
|
|
1421
|
+
};
|
|
1422
|
+
}
|
|
1423
|
+
/**
|
|
1424
|
+
* Dispatch a request
|
|
1425
|
+
*
|
|
1426
|
+
* @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
|
|
1427
|
+
* @param {?Object} config
|
|
1428
|
+
*
|
|
1429
|
+
* @returns {Promise} The Promise to be fulfilled
|
|
1430
|
+
*/
|
|
1431
|
+
async request(e, n) {
|
|
1432
|
+
try {
|
|
1433
|
+
return await this._request(e, n);
|
|
1434
|
+
} catch (r) {
|
|
1435
|
+
if (r instanceof Error) {
|
|
1436
|
+
let i;
|
|
1437
|
+
Error.captureStackTrace ? Error.captureStackTrace(i = {}) : i = new Error();
|
|
1438
|
+
const s = i.stack ? i.stack.replace(/^.+\n/, "") : "";
|
|
1439
|
+
try {
|
|
1440
|
+
r.stack ? s && !String(r.stack).endsWith(s.replace(/^.+\n.+\n/, "")) && (r.stack += `
|
|
1441
|
+
` + s) : r.stack = s;
|
|
1442
|
+
} catch {
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
throw r;
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
_request(e, n) {
|
|
1449
|
+
typeof e == "string" ? (n = n || {}, n.url = e) : n = e || {}, n = le(this.defaults, n);
|
|
1450
|
+
const { transitional: r, paramsSerializer: i, headers: s } = n;
|
|
1451
|
+
r !== void 0 && Bt.assertOptions(r, {
|
|
1452
|
+
silentJSONParsing: ee.transitional(ee.boolean),
|
|
1453
|
+
forcedJSONParsing: ee.transitional(ee.boolean),
|
|
1454
|
+
clarifyTimeoutError: ee.transitional(ee.boolean)
|
|
1455
|
+
}, !1), i != null && (d.isFunction(i) ? n.paramsSerializer = {
|
|
1456
|
+
serialize: i
|
|
1457
|
+
} : Bt.assertOptions(i, {
|
|
1458
|
+
encode: ee.function,
|
|
1459
|
+
serialize: ee.function
|
|
1460
|
+
}, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase();
|
|
1461
|
+
let o = s && d.merge(
|
|
1462
|
+
s.common,
|
|
1463
|
+
s[n.method]
|
|
1464
|
+
);
|
|
1465
|
+
s && d.forEach(
|
|
1466
|
+
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
1467
|
+
(g) => {
|
|
1468
|
+
delete s[g];
|
|
1469
|
+
}
|
|
1470
|
+
), n.headers = Q.concat(o, s);
|
|
1471
|
+
const a = [];
|
|
1472
|
+
let l = !0;
|
|
1473
|
+
this.interceptors.request.forEach(function(w) {
|
|
1474
|
+
typeof w.runWhen == "function" && w.runWhen(n) === !1 || (l = l && w.synchronous, a.unshift(w.fulfilled, w.rejected));
|
|
1475
|
+
});
|
|
1476
|
+
const f = [];
|
|
1477
|
+
this.interceptors.response.forEach(function(w) {
|
|
1478
|
+
f.push(w.fulfilled, w.rejected);
|
|
1479
|
+
});
|
|
1480
|
+
let u, y = 0, m;
|
|
1481
|
+
if (!l) {
|
|
1482
|
+
const g = [An.bind(this), void 0];
|
|
1483
|
+
for (g.unshift.apply(g, a), g.push.apply(g, f), m = g.length, u = Promise.resolve(n); y < m; )
|
|
1484
|
+
u = u.then(g[y++], g[y++]);
|
|
1485
|
+
return u;
|
|
1486
|
+
}
|
|
1487
|
+
m = a.length;
|
|
1488
|
+
let A = n;
|
|
1489
|
+
for (y = 0; y < m; ) {
|
|
1490
|
+
const g = a[y++], w = a[y++];
|
|
1491
|
+
try {
|
|
1492
|
+
A = g(A);
|
|
1493
|
+
} catch (_) {
|
|
1494
|
+
w.call(this, _);
|
|
1495
|
+
break;
|
|
1496
|
+
}
|
|
1497
|
+
}
|
|
1498
|
+
try {
|
|
1499
|
+
u = An.call(this, A);
|
|
1500
|
+
} catch (g) {
|
|
1501
|
+
return Promise.reject(g);
|
|
1502
|
+
}
|
|
1503
|
+
for (y = 0, m = f.length; y < m; )
|
|
1504
|
+
u = u.then(f[y++], f[y++]);
|
|
1505
|
+
return u;
|
|
1506
|
+
}
|
|
1507
|
+
getUri(e) {
|
|
1508
|
+
e = le(this.defaults, e);
|
|
1509
|
+
const n = mr(e.baseURL, e.url);
|
|
1510
|
+
return fr(n, e.params, e.paramsSerializer);
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
d.forEach(["delete", "get", "head", "options"], function(e) {
|
|
1514
|
+
Ze.prototype[e] = function(n, r) {
|
|
1515
|
+
return this.request(le(r || {}, {
|
|
1516
|
+
method: e,
|
|
1517
|
+
url: n,
|
|
1518
|
+
data: (r || {}).data
|
|
1519
|
+
}));
|
|
1520
|
+
};
|
|
1521
|
+
});
|
|
1522
|
+
d.forEach(["post", "put", "patch"], function(e) {
|
|
1523
|
+
function n(r) {
|
|
1524
|
+
return function(s, o, a) {
|
|
1525
|
+
return this.request(le(a || {}, {
|
|
1526
|
+
method: e,
|
|
1527
|
+
headers: r ? {
|
|
1528
|
+
"Content-Type": "multipart/form-data"
|
|
1529
|
+
} : {},
|
|
1530
|
+
url: s,
|
|
1531
|
+
data: o
|
|
1532
|
+
}));
|
|
1533
|
+
};
|
|
1534
|
+
}
|
|
1535
|
+
Ze.prototype[e] = n(), Ze.prototype[e + "Form"] = n(!0);
|
|
1536
|
+
});
|
|
1537
|
+
const je = Ze;
|
|
1538
|
+
class Kt {
|
|
1539
|
+
constructor(e) {
|
|
1540
|
+
if (typeof e != "function")
|
|
1541
|
+
throw new TypeError("executor must be a function.");
|
|
1542
|
+
let n;
|
|
1543
|
+
this.promise = new Promise(function(s) {
|
|
1544
|
+
n = s;
|
|
1545
|
+
});
|
|
1546
|
+
const r = this;
|
|
1547
|
+
this.promise.then((i) => {
|
|
1548
|
+
if (!r._listeners)
|
|
1549
|
+
return;
|
|
1550
|
+
let s = r._listeners.length;
|
|
1551
|
+
for (; s-- > 0; )
|
|
1552
|
+
r._listeners[s](i);
|
|
1553
|
+
r._listeners = null;
|
|
1554
|
+
}), this.promise.then = (i) => {
|
|
1555
|
+
let s;
|
|
1556
|
+
const o = new Promise((a) => {
|
|
1557
|
+
r.subscribe(a), s = a;
|
|
1558
|
+
}).then(i);
|
|
1559
|
+
return o.cancel = function() {
|
|
1560
|
+
r.unsubscribe(s);
|
|
1561
|
+
}, o;
|
|
1562
|
+
}, e(function(s, o, a) {
|
|
1563
|
+
r.reason || (r.reason = new we(s, o, a), n(r.reason));
|
|
1564
|
+
});
|
|
1565
|
+
}
|
|
1566
|
+
/**
|
|
1567
|
+
* Throws a `CanceledError` if cancellation has been requested.
|
|
1568
|
+
*/
|
|
1569
|
+
throwIfRequested() {
|
|
1570
|
+
if (this.reason)
|
|
1571
|
+
throw this.reason;
|
|
1572
|
+
}
|
|
1573
|
+
/**
|
|
1574
|
+
* Subscribe to the cancel signal
|
|
1575
|
+
*/
|
|
1576
|
+
subscribe(e) {
|
|
1577
|
+
if (this.reason) {
|
|
1578
|
+
e(this.reason);
|
|
1579
|
+
return;
|
|
1580
|
+
}
|
|
1581
|
+
this._listeners ? this._listeners.push(e) : this._listeners = [e];
|
|
1582
|
+
}
|
|
1583
|
+
/**
|
|
1584
|
+
* Unsubscribe from the cancel signal
|
|
1585
|
+
*/
|
|
1586
|
+
unsubscribe(e) {
|
|
1587
|
+
if (!this._listeners)
|
|
1588
|
+
return;
|
|
1589
|
+
const n = this._listeners.indexOf(e);
|
|
1590
|
+
n !== -1 && this._listeners.splice(n, 1);
|
|
1591
|
+
}
|
|
1592
|
+
toAbortSignal() {
|
|
1593
|
+
const e = new AbortController(), n = (r) => {
|
|
1594
|
+
e.abort(r);
|
|
1595
|
+
};
|
|
1596
|
+
return this.subscribe(n), e.signal.unsubscribe = () => this.unsubscribe(n), e.signal;
|
|
1597
|
+
}
|
|
1598
|
+
/**
|
|
1599
|
+
* Returns an object that contains a new `CancelToken` and a function that, when called,
|
|
1600
|
+
* cancels the `CancelToken`.
|
|
1601
|
+
*/
|
|
1602
|
+
static source() {
|
|
1603
|
+
let e;
|
|
1604
|
+
return {
|
|
1605
|
+
token: new Kt(function(i) {
|
|
1606
|
+
e = i;
|
|
1607
|
+
}),
|
|
1608
|
+
cancel: e
|
|
1609
|
+
};
|
|
1610
|
+
}
|
|
1611
|
+
}
|
|
1612
|
+
const To = Kt;
|
|
1613
|
+
function xo(t) {
|
|
1614
|
+
return function(n) {
|
|
1615
|
+
return t.apply(null, n);
|
|
1616
|
+
};
|
|
1617
|
+
}
|
|
1618
|
+
function ko(t) {
|
|
1619
|
+
return d.isObject(t) && t.isAxiosError === !0;
|
|
1620
|
+
}
|
|
1621
|
+
const Dt = {
|
|
1622
|
+
Continue: 100,
|
|
1623
|
+
SwitchingProtocols: 101,
|
|
1624
|
+
Processing: 102,
|
|
1625
|
+
EarlyHints: 103,
|
|
1626
|
+
Ok: 200,
|
|
1627
|
+
Created: 201,
|
|
1628
|
+
Accepted: 202,
|
|
1629
|
+
NonAuthoritativeInformation: 203,
|
|
1630
|
+
NoContent: 204,
|
|
1631
|
+
ResetContent: 205,
|
|
1632
|
+
PartialContent: 206,
|
|
1633
|
+
MultiStatus: 207,
|
|
1634
|
+
AlreadyReported: 208,
|
|
1635
|
+
ImUsed: 226,
|
|
1636
|
+
MultipleChoices: 300,
|
|
1637
|
+
MovedPermanently: 301,
|
|
1638
|
+
Found: 302,
|
|
1639
|
+
SeeOther: 303,
|
|
1640
|
+
NotModified: 304,
|
|
1641
|
+
UseProxy: 305,
|
|
1642
|
+
Unused: 306,
|
|
1643
|
+
TemporaryRedirect: 307,
|
|
1644
|
+
PermanentRedirect: 308,
|
|
1645
|
+
BadRequest: 400,
|
|
1646
|
+
Unauthorized: 401,
|
|
1647
|
+
PaymentRequired: 402,
|
|
1648
|
+
Forbidden: 403,
|
|
1649
|
+
NotFound: 404,
|
|
1650
|
+
MethodNotAllowed: 405,
|
|
1651
|
+
NotAcceptable: 406,
|
|
1652
|
+
ProxyAuthenticationRequired: 407,
|
|
1653
|
+
RequestTimeout: 408,
|
|
1654
|
+
Conflict: 409,
|
|
1655
|
+
Gone: 410,
|
|
1656
|
+
LengthRequired: 411,
|
|
1657
|
+
PreconditionFailed: 412,
|
|
1658
|
+
PayloadTooLarge: 413,
|
|
1659
|
+
UriTooLong: 414,
|
|
1660
|
+
UnsupportedMediaType: 415,
|
|
1661
|
+
RangeNotSatisfiable: 416,
|
|
1662
|
+
ExpectationFailed: 417,
|
|
1663
|
+
ImATeapot: 418,
|
|
1664
|
+
MisdirectedRequest: 421,
|
|
1665
|
+
UnprocessableEntity: 422,
|
|
1666
|
+
Locked: 423,
|
|
1667
|
+
FailedDependency: 424,
|
|
1668
|
+
TooEarly: 425,
|
|
1669
|
+
UpgradeRequired: 426,
|
|
1670
|
+
PreconditionRequired: 428,
|
|
1671
|
+
TooManyRequests: 429,
|
|
1672
|
+
RequestHeaderFieldsTooLarge: 431,
|
|
1673
|
+
UnavailableForLegalReasons: 451,
|
|
1674
|
+
InternalServerError: 500,
|
|
1675
|
+
NotImplemented: 501,
|
|
1676
|
+
BadGateway: 502,
|
|
1677
|
+
ServiceUnavailable: 503,
|
|
1678
|
+
GatewayTimeout: 504,
|
|
1679
|
+
HttpVersionNotSupported: 505,
|
|
1680
|
+
VariantAlsoNegotiates: 506,
|
|
1681
|
+
InsufficientStorage: 507,
|
|
1682
|
+
LoopDetected: 508,
|
|
1683
|
+
NotExtended: 510,
|
|
1684
|
+
NetworkAuthenticationRequired: 511
|
|
1685
|
+
};
|
|
1686
|
+
Object.entries(Dt).forEach(([t, e]) => {
|
|
1687
|
+
Dt[e] = t;
|
|
1688
|
+
});
|
|
1689
|
+
const Ro = Dt;
|
|
1690
|
+
function Ar(t) {
|
|
1691
|
+
const e = new je(t), n = $n(je.prototype.request, e);
|
|
1692
|
+
return d.extend(n, je.prototype, e, { allOwnKeys: !0 }), d.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(i) {
|
|
1693
|
+
return Ar(le(t, i));
|
|
1694
|
+
}, n;
|
|
1695
|
+
}
|
|
1696
|
+
const P = Ar(jt);
|
|
1697
|
+
P.Axios = je;
|
|
1698
|
+
P.CanceledError = we;
|
|
1699
|
+
P.CancelToken = To;
|
|
1700
|
+
P.isCancel = hr;
|
|
1701
|
+
P.VERSION = br;
|
|
1702
|
+
P.toFormData = st;
|
|
1703
|
+
P.AxiosError = E;
|
|
1704
|
+
P.Cancel = P.CanceledError;
|
|
1705
|
+
P.all = function(e) {
|
|
1706
|
+
return Promise.all(e);
|
|
1707
|
+
};
|
|
1708
|
+
P.spread = xo;
|
|
1709
|
+
P.isAxiosError = ko;
|
|
1710
|
+
P.mergeConfig = le;
|
|
1711
|
+
P.AxiosHeaders = Q;
|
|
1712
|
+
P.formToJSON = (t) => pr(d.isHTMLForm(t) ? new FormData(t) : t);
|
|
1713
|
+
P.getAdapter = wr.getAdapter;
|
|
1714
|
+
P.HttpStatusCode = Ro;
|
|
1715
|
+
P.default = P;
|
|
1716
|
+
const Sr = P;
|
|
1717
|
+
var pe = window.navigator.userAgent, Er = "ActiveXObject" in window, Oo = pe.match(/Chrome/i), Io = !!(pe.match(/(iPhone|iPad|iPod)/i) || pe.match(/Android/i) || pe.match(/Windows Phone/i) || pe.match(
|
|
1718
|
+
/IEMobile/i
|
|
1719
|
+
)), Tr = null, Yt, Xt, Zt, $t;
|
|
1720
|
+
Yt = Xt = Zt = $t = !1;
|
|
1721
|
+
var Co = navigator.appName;
|
|
1722
|
+
if (Co == "Microsoft Internet Explorer" || Er) {
|
|
1723
|
+
var En = pe.match(/MSIE (\d+[.\d]*)/);
|
|
1724
|
+
if (En) {
|
|
1725
|
+
var Tn = En[1];
|
|
1726
|
+
Tr = Tn;
|
|
1727
|
+
var Ne = parseInt(Tn, 10);
|
|
1728
|
+
Yt = Ne === 8, Xt = Ne == 9, Zt = Ne == 10, $t = Ne == 11;
|
|
1729
|
+
}
|
|
1730
|
+
}
|
|
1731
|
+
const Po = {
|
|
1732
|
+
isChrome: Oo,
|
|
1733
|
+
// 是否Chrome浏览器
|
|
1734
|
+
isIE: Er,
|
|
1735
|
+
// 是否IE浏览器
|
|
1736
|
+
isMobile: Io,
|
|
1737
|
+
// 是否移动端
|
|
1738
|
+
IEVersion: Tr,
|
|
1739
|
+
isIE8: Yt,
|
|
1740
|
+
isIE9: Xt,
|
|
1741
|
+
isIE10: Zt,
|
|
1742
|
+
isIE11: $t
|
|
1743
|
+
};
|
|
1744
|
+
/*! js-cookie v3.0.5 | MIT */
|
|
1745
|
+
function Ue(t) {
|
|
1746
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
1747
|
+
var n = arguments[e];
|
|
1748
|
+
for (var r in n)
|
|
1749
|
+
t[r] = n[r];
|
|
1750
|
+
}
|
|
1751
|
+
return t;
|
|
1752
|
+
}
|
|
1753
|
+
var Bo = {
|
|
1754
|
+
read: function(t) {
|
|
1755
|
+
return t[0] === '"' && (t = t.slice(1, -1)), t.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
|
|
1756
|
+
},
|
|
1757
|
+
write: function(t) {
|
|
1758
|
+
return encodeURIComponent(t).replace(
|
|
1759
|
+
/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,
|
|
1760
|
+
decodeURIComponent
|
|
1761
|
+
);
|
|
1762
|
+
}
|
|
1763
|
+
};
|
|
1764
|
+
function Ft(t, e) {
|
|
1765
|
+
function n(i, s, o) {
|
|
1766
|
+
if (!(typeof document > "u")) {
|
|
1767
|
+
o = Ue({}, e, o), typeof o.expires == "number" && (o.expires = new Date(Date.now() + o.expires * 864e5)), o.expires && (o.expires = o.expires.toUTCString()), i = encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
|
|
1768
|
+
var a = "";
|
|
1769
|
+
for (var l in o)
|
|
1770
|
+
o[l] && (a += "; " + l, o[l] !== !0 && (a += "=" + o[l].split(";")[0]));
|
|
1771
|
+
return document.cookie = i + "=" + t.write(s, i) + a;
|
|
1772
|
+
}
|
|
1773
|
+
}
|
|
1774
|
+
function r(i) {
|
|
1775
|
+
if (!(typeof document > "u" || arguments.length && !i)) {
|
|
1776
|
+
for (var s = document.cookie ? document.cookie.split("; ") : [], o = {}, a = 0; a < s.length; a++) {
|
|
1777
|
+
var l = s[a].split("="), f = l.slice(1).join("=");
|
|
1778
|
+
try {
|
|
1779
|
+
var u = decodeURIComponent(l[0]);
|
|
1780
|
+
if (o[u] = t.read(f, u), i === u)
|
|
1781
|
+
break;
|
|
1782
|
+
} catch {
|
|
1783
|
+
}
|
|
1784
|
+
}
|
|
1785
|
+
return i ? o[i] : o;
|
|
1786
|
+
}
|
|
1787
|
+
}
|
|
1788
|
+
return Object.create(
|
|
1789
|
+
{
|
|
1790
|
+
set: n,
|
|
1791
|
+
get: r,
|
|
1792
|
+
remove: function(i, s) {
|
|
1793
|
+
n(
|
|
1794
|
+
i,
|
|
1795
|
+
"",
|
|
1796
|
+
Ue({}, s, {
|
|
1797
|
+
expires: -1
|
|
1798
|
+
})
|
|
1799
|
+
);
|
|
1800
|
+
},
|
|
1801
|
+
withAttributes: function(i) {
|
|
1802
|
+
return Ft(this.converter, Ue({}, this.attributes, i));
|
|
1803
|
+
},
|
|
1804
|
+
withConverter: function(i) {
|
|
1805
|
+
return Ft(Ue({}, this.converter, i), this.attributes);
|
|
1806
|
+
}
|
|
1807
|
+
},
|
|
1808
|
+
{
|
|
1809
|
+
attributes: { value: Object.freeze(e) },
|
|
1810
|
+
converter: { value: Object.freeze(t) }
|
|
1811
|
+
}
|
|
1812
|
+
);
|
|
1813
|
+
}
|
|
1814
|
+
var he = Ft(Bo, { path: "/" });
|
|
1815
|
+
let en = Sr.create({
|
|
1816
|
+
baseURL: "https://api.play.cn/",
|
|
1817
|
+
//Util.newDom
|
|
1818
|
+
timeout: 3e4,
|
|
1819
|
+
retry: 3,
|
|
1820
|
+
retryDelay: 1e3
|
|
1821
|
+
});
|
|
1822
|
+
en.interceptors.request.use((t) => {
|
|
1823
|
+
if (t.headers.vc = 5e4, t.headers.channel_code = he.get("ass_channel_code"), t.headers.channel_code = "80000000", t.headers.user_id = he.get("ass_user_id"), t.headers.access_token = he.get("ass_access_token"), t.headers.access_token = "52ab7885a210219e13f43818374f1596", t.url == "/api/v1/user/info.json" && (t.baseURL = "https://open.play.cn"), !(t.method === "post" || t.method === "put")) {
|
|
1824
|
+
if (t.method === "get" && Po.isIE) {
|
|
1825
|
+
let e = t.url.indexOf("?") >= 0 ? "&" : "?";
|
|
1826
|
+
t.url += e + "_=" + Date.now();
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1829
|
+
return t;
|
|
1830
|
+
}, (t) => Promise.reject(t));
|
|
1831
|
+
en.interceptors.response.use((t) => {
|
|
1832
|
+
let { data: e } = t;
|
|
1833
|
+
return e;
|
|
1834
|
+
}, (t) => Promise.reject(t));
|
|
1835
|
+
function Do() {
|
|
1836
|
+
return en;
|
|
1837
|
+
}
|
|
1838
|
+
var xn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1839
|
+
function Fo(t) {
|
|
1840
|
+
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
1841
|
+
}
|
|
1842
|
+
function No(t) {
|
|
1843
|
+
if (t.__esModule)
|
|
1844
|
+
return t;
|
|
1845
|
+
var e = t.default;
|
|
1846
|
+
if (typeof e == "function") {
|
|
1847
|
+
var n = function r() {
|
|
1848
|
+
return this instanceof r ? Reflect.construct(e, arguments, this.constructor) : e.apply(this, arguments);
|
|
1849
|
+
};
|
|
1850
|
+
n.prototype = e.prototype;
|
|
1851
|
+
} else
|
|
1852
|
+
n = {};
|
|
1853
|
+
return Object.defineProperty(n, "__esModule", { value: !0 }), Object.keys(t).forEach(function(r) {
|
|
1854
|
+
var i = Object.getOwnPropertyDescriptor(t, r);
|
|
1855
|
+
Object.defineProperty(n, r, i.get ? i : {
|
|
1856
|
+
enumerable: !0,
|
|
1857
|
+
get: function() {
|
|
1858
|
+
return t[r];
|
|
1859
|
+
}
|
|
1860
|
+
});
|
|
1861
|
+
}), n;
|
|
1862
|
+
}
|
|
1863
|
+
var Uo = Error, Lo = EvalError, Mo = RangeError, Ho = ReferenceError, xr = SyntaxError, Ce = TypeError, zo = URIError, qo = function() {
|
|
1864
|
+
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
|
|
1865
|
+
return !1;
|
|
1866
|
+
if (typeof Symbol.iterator == "symbol")
|
|
1867
|
+
return !0;
|
|
1868
|
+
var e = {}, n = Symbol("test"), r = Object(n);
|
|
1869
|
+
if (typeof n == "string" || Object.prototype.toString.call(n) !== "[object Symbol]" || Object.prototype.toString.call(r) !== "[object Symbol]")
|
|
1870
|
+
return !1;
|
|
1871
|
+
var i = 42;
|
|
1872
|
+
e[n] = i;
|
|
1873
|
+
for (n in e)
|
|
1874
|
+
return !1;
|
|
1875
|
+
if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0)
|
|
1876
|
+
return !1;
|
|
1877
|
+
var s = Object.getOwnPropertySymbols(e);
|
|
1878
|
+
if (s.length !== 1 || s[0] !== n || !Object.prototype.propertyIsEnumerable.call(e, n))
|
|
1879
|
+
return !1;
|
|
1880
|
+
if (typeof Object.getOwnPropertyDescriptor == "function") {
|
|
1881
|
+
var o = Object.getOwnPropertyDescriptor(e, n);
|
|
1882
|
+
if (o.value !== i || o.enumerable !== !0)
|
|
1883
|
+
return !1;
|
|
1884
|
+
}
|
|
1885
|
+
return !0;
|
|
1886
|
+
}, kn = typeof Symbol < "u" && Symbol, Wo = qo, Qo = function() {
|
|
1887
|
+
return typeof kn != "function" || typeof Symbol != "function" || typeof kn("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : Wo();
|
|
1888
|
+
}, mt = {
|
|
1889
|
+
__proto__: null,
|
|
1890
|
+
foo: {}
|
|
1891
|
+
}, Jo = Object, Vo = function() {
|
|
1892
|
+
return { __proto__: mt }.foo === mt.foo && !(mt instanceof Jo);
|
|
1893
|
+
}, jo = "Function.prototype.bind called on incompatible ", Go = Object.prototype.toString, Ko = Math.max, Yo = "[object Function]", Rn = function(e, n) {
|
|
1894
|
+
for (var r = [], i = 0; i < e.length; i += 1)
|
|
1895
|
+
r[i] = e[i];
|
|
1896
|
+
for (var s = 0; s < n.length; s += 1)
|
|
1897
|
+
r[s + e.length] = n[s];
|
|
1898
|
+
return r;
|
|
1899
|
+
}, Xo = function(e, n) {
|
|
1900
|
+
for (var r = [], i = n || 0, s = 0; i < e.length; i += 1, s += 1)
|
|
1901
|
+
r[s] = e[i];
|
|
1902
|
+
return r;
|
|
1903
|
+
}, Zo = function(t, e) {
|
|
1904
|
+
for (var n = "", r = 0; r < t.length; r += 1)
|
|
1905
|
+
n += t[r], r + 1 < t.length && (n += e);
|
|
1906
|
+
return n;
|
|
1907
|
+
}, $o = function(e) {
|
|
1908
|
+
var n = this;
|
|
1909
|
+
if (typeof n != "function" || Go.apply(n) !== Yo)
|
|
1910
|
+
throw new TypeError(jo + n);
|
|
1911
|
+
for (var r = Xo(arguments, 1), i, s = function() {
|
|
1912
|
+
if (this instanceof i) {
|
|
1913
|
+
var u = n.apply(
|
|
1914
|
+
this,
|
|
1915
|
+
Rn(r, arguments)
|
|
1916
|
+
);
|
|
1917
|
+
return Object(u) === u ? u : this;
|
|
1918
|
+
}
|
|
1919
|
+
return n.apply(
|
|
1920
|
+
e,
|
|
1921
|
+
Rn(r, arguments)
|
|
1922
|
+
);
|
|
1923
|
+
}, o = Ko(0, n.length - r.length), a = [], l = 0; l < o; l++)
|
|
1924
|
+
a[l] = "$" + l;
|
|
1925
|
+
if (i = Function("binder", "return function (" + Zo(a, ",") + "){ return binder.apply(this,arguments); }")(s), n.prototype) {
|
|
1926
|
+
var f = function() {
|
|
1927
|
+
};
|
|
1928
|
+
f.prototype = n.prototype, i.prototype = new f(), f.prototype = null;
|
|
1929
|
+
}
|
|
1930
|
+
return i;
|
|
1931
|
+
}, es = $o, tn = Function.prototype.bind || es, ts = Function.prototype.call, ns = Object.prototype.hasOwnProperty, rs = tn, is = rs.call(ts, ns), x, os = Uo, ss = Lo, as = Mo, ls = Ho, me = xr, ye = Ce, cs = zo, kr = Function, gt = function(t) {
|
|
1932
|
+
try {
|
|
1933
|
+
return kr('"use strict"; return (' + t + ").constructor;")();
|
|
1934
|
+
} catch {
|
|
1935
|
+
}
|
|
1936
|
+
}, se = Object.getOwnPropertyDescriptor;
|
|
1937
|
+
if (se)
|
|
1938
|
+
try {
|
|
1939
|
+
se({}, "");
|
|
1940
|
+
} catch {
|
|
1941
|
+
se = null;
|
|
1942
|
+
}
|
|
1943
|
+
var _t = function() {
|
|
1944
|
+
throw new ye();
|
|
1945
|
+
}, us = se ? function() {
|
|
1946
|
+
try {
|
|
1947
|
+
return arguments.callee, _t;
|
|
1948
|
+
} catch {
|
|
1949
|
+
try {
|
|
1950
|
+
return se(arguments, "callee").get;
|
|
1951
|
+
} catch {
|
|
1952
|
+
return _t;
|
|
1953
|
+
}
|
|
1954
|
+
}
|
|
1955
|
+
}() : _t, ue = Qo(), fs = Vo(), F = Object.getPrototypeOf || (fs ? function(t) {
|
|
1956
|
+
return t.__proto__;
|
|
1957
|
+
} : null), de = {}, ds = typeof Uint8Array > "u" || !F ? x : F(Uint8Array), ae = {
|
|
1958
|
+
__proto__: null,
|
|
1959
|
+
"%AggregateError%": typeof AggregateError > "u" ? x : AggregateError,
|
|
1960
|
+
"%Array%": Array,
|
|
1961
|
+
"%ArrayBuffer%": typeof ArrayBuffer > "u" ? x : ArrayBuffer,
|
|
1962
|
+
"%ArrayIteratorPrototype%": ue && F ? F([][Symbol.iterator]()) : x,
|
|
1963
|
+
"%AsyncFromSyncIteratorPrototype%": x,
|
|
1964
|
+
"%AsyncFunction%": de,
|
|
1965
|
+
"%AsyncGenerator%": de,
|
|
1966
|
+
"%AsyncGeneratorFunction%": de,
|
|
1967
|
+
"%AsyncIteratorPrototype%": de,
|
|
1968
|
+
"%Atomics%": typeof Atomics > "u" ? x : Atomics,
|
|
1969
|
+
"%BigInt%": typeof BigInt > "u" ? x : BigInt,
|
|
1970
|
+
"%BigInt64Array%": typeof BigInt64Array > "u" ? x : BigInt64Array,
|
|
1971
|
+
"%BigUint64Array%": typeof BigUint64Array > "u" ? x : BigUint64Array,
|
|
1972
|
+
"%Boolean%": Boolean,
|
|
1973
|
+
"%DataView%": typeof DataView > "u" ? x : DataView,
|
|
1974
|
+
"%Date%": Date,
|
|
1975
|
+
"%decodeURI%": decodeURI,
|
|
1976
|
+
"%decodeURIComponent%": decodeURIComponent,
|
|
1977
|
+
"%encodeURI%": encodeURI,
|
|
1978
|
+
"%encodeURIComponent%": encodeURIComponent,
|
|
1979
|
+
"%Error%": os,
|
|
1980
|
+
"%eval%": eval,
|
|
1981
|
+
// eslint-disable-line no-eval
|
|
1982
|
+
"%EvalError%": ss,
|
|
1983
|
+
"%Float32Array%": typeof Float32Array > "u" ? x : Float32Array,
|
|
1984
|
+
"%Float64Array%": typeof Float64Array > "u" ? x : Float64Array,
|
|
1985
|
+
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? x : FinalizationRegistry,
|
|
1986
|
+
"%Function%": kr,
|
|
1987
|
+
"%GeneratorFunction%": de,
|
|
1988
|
+
"%Int8Array%": typeof Int8Array > "u" ? x : Int8Array,
|
|
1989
|
+
"%Int16Array%": typeof Int16Array > "u" ? x : Int16Array,
|
|
1990
|
+
"%Int32Array%": typeof Int32Array > "u" ? x : Int32Array,
|
|
1991
|
+
"%isFinite%": isFinite,
|
|
1992
|
+
"%isNaN%": isNaN,
|
|
1993
|
+
"%IteratorPrototype%": ue && F ? F(F([][Symbol.iterator]())) : x,
|
|
1994
|
+
"%JSON%": typeof JSON == "object" ? JSON : x,
|
|
1995
|
+
"%Map%": typeof Map > "u" ? x : Map,
|
|
1996
|
+
"%MapIteratorPrototype%": typeof Map > "u" || !ue || !F ? x : F((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
1997
|
+
"%Math%": Math,
|
|
1998
|
+
"%Number%": Number,
|
|
1999
|
+
"%Object%": Object,
|
|
2000
|
+
"%parseFloat%": parseFloat,
|
|
2001
|
+
"%parseInt%": parseInt,
|
|
2002
|
+
"%Promise%": typeof Promise > "u" ? x : Promise,
|
|
2003
|
+
"%Proxy%": typeof Proxy > "u" ? x : Proxy,
|
|
2004
|
+
"%RangeError%": as,
|
|
2005
|
+
"%ReferenceError%": ls,
|
|
2006
|
+
"%Reflect%": typeof Reflect > "u" ? x : Reflect,
|
|
2007
|
+
"%RegExp%": RegExp,
|
|
2008
|
+
"%Set%": typeof Set > "u" ? x : Set,
|
|
2009
|
+
"%SetIteratorPrototype%": typeof Set > "u" || !ue || !F ? x : F((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
2010
|
+
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? x : SharedArrayBuffer,
|
|
2011
|
+
"%String%": String,
|
|
2012
|
+
"%StringIteratorPrototype%": ue && F ? F(""[Symbol.iterator]()) : x,
|
|
2013
|
+
"%Symbol%": ue ? Symbol : x,
|
|
2014
|
+
"%SyntaxError%": me,
|
|
2015
|
+
"%ThrowTypeError%": us,
|
|
2016
|
+
"%TypedArray%": ds,
|
|
2017
|
+
"%TypeError%": ye,
|
|
2018
|
+
"%Uint8Array%": typeof Uint8Array > "u" ? x : Uint8Array,
|
|
2019
|
+
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? x : Uint8ClampedArray,
|
|
2020
|
+
"%Uint16Array%": typeof Uint16Array > "u" ? x : Uint16Array,
|
|
2021
|
+
"%Uint32Array%": typeof Uint32Array > "u" ? x : Uint32Array,
|
|
2022
|
+
"%URIError%": cs,
|
|
2023
|
+
"%WeakMap%": typeof WeakMap > "u" ? x : WeakMap,
|
|
2024
|
+
"%WeakRef%": typeof WeakRef > "u" ? x : WeakRef,
|
|
2025
|
+
"%WeakSet%": typeof WeakSet > "u" ? x : WeakSet
|
|
2026
|
+
};
|
|
2027
|
+
if (F)
|
|
2028
|
+
try {
|
|
2029
|
+
null.error;
|
|
2030
|
+
} catch (t) {
|
|
2031
|
+
var ps = F(F(t));
|
|
2032
|
+
ae["%Error.prototype%"] = ps;
|
|
2033
|
+
}
|
|
2034
|
+
var hs = function t(e) {
|
|
2035
|
+
var n;
|
|
2036
|
+
if (e === "%AsyncFunction%")
|
|
2037
|
+
n = gt("async function () {}");
|
|
2038
|
+
else if (e === "%GeneratorFunction%")
|
|
2039
|
+
n = gt("function* () {}");
|
|
2040
|
+
else if (e === "%AsyncGeneratorFunction%")
|
|
2041
|
+
n = gt("async function* () {}");
|
|
2042
|
+
else if (e === "%AsyncGenerator%") {
|
|
2043
|
+
var r = t("%AsyncGeneratorFunction%");
|
|
2044
|
+
r && (n = r.prototype);
|
|
2045
|
+
} else if (e === "%AsyncIteratorPrototype%") {
|
|
2046
|
+
var i = t("%AsyncGenerator%");
|
|
2047
|
+
i && F && (n = F(i.prototype));
|
|
2048
|
+
}
|
|
2049
|
+
return ae[e] = n, n;
|
|
2050
|
+
}, On = {
|
|
2051
|
+
__proto__: null,
|
|
2052
|
+
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
2053
|
+
"%ArrayPrototype%": ["Array", "prototype"],
|
|
2054
|
+
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
2055
|
+
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
|
2056
|
+
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
|
2057
|
+
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
|
2058
|
+
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
2059
|
+
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
2060
|
+
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
|
2061
|
+
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
2062
|
+
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
2063
|
+
"%DatePrototype%": ["Date", "prototype"],
|
|
2064
|
+
"%ErrorPrototype%": ["Error", "prototype"],
|
|
2065
|
+
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
2066
|
+
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
2067
|
+
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
2068
|
+
"%FunctionPrototype%": ["Function", "prototype"],
|
|
2069
|
+
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
2070
|
+
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
|
2071
|
+
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
2072
|
+
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
2073
|
+
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
2074
|
+
"%JSONParse%": ["JSON", "parse"],
|
|
2075
|
+
"%JSONStringify%": ["JSON", "stringify"],
|
|
2076
|
+
"%MapPrototype%": ["Map", "prototype"],
|
|
2077
|
+
"%NumberPrototype%": ["Number", "prototype"],
|
|
2078
|
+
"%ObjectPrototype%": ["Object", "prototype"],
|
|
2079
|
+
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
|
2080
|
+
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
|
2081
|
+
"%PromisePrototype%": ["Promise", "prototype"],
|
|
2082
|
+
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
|
2083
|
+
"%Promise_all%": ["Promise", "all"],
|
|
2084
|
+
"%Promise_reject%": ["Promise", "reject"],
|
|
2085
|
+
"%Promise_resolve%": ["Promise", "resolve"],
|
|
2086
|
+
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
2087
|
+
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
2088
|
+
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
2089
|
+
"%SetPrototype%": ["Set", "prototype"],
|
|
2090
|
+
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
2091
|
+
"%StringPrototype%": ["String", "prototype"],
|
|
2092
|
+
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
2093
|
+
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
2094
|
+
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
2095
|
+
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
2096
|
+
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
2097
|
+
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
2098
|
+
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
2099
|
+
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
2100
|
+
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
2101
|
+
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
2102
|
+
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
2103
|
+
}, Pe = tn, $e = is, ys = Pe.call(Function.call, Array.prototype.concat), ms = Pe.call(Function.apply, Array.prototype.splice), In = Pe.call(Function.call, String.prototype.replace), et = Pe.call(Function.call, String.prototype.slice), gs = Pe.call(Function.call, RegExp.prototype.exec), _s = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, vs = /\\(\\)?/g, ws = function(e) {
|
|
2104
|
+
var n = et(e, 0, 1), r = et(e, -1);
|
|
2105
|
+
if (n === "%" && r !== "%")
|
|
2106
|
+
throw new me("invalid intrinsic syntax, expected closing `%`");
|
|
2107
|
+
if (r === "%" && n !== "%")
|
|
2108
|
+
throw new me("invalid intrinsic syntax, expected opening `%`");
|
|
2109
|
+
var i = [];
|
|
2110
|
+
return In(e, _s, function(s, o, a, l) {
|
|
2111
|
+
i[i.length] = a ? In(l, vs, "$1") : o || s;
|
|
2112
|
+
}), i;
|
|
2113
|
+
}, bs = function(e, n) {
|
|
2114
|
+
var r = e, i;
|
|
2115
|
+
if ($e(On, r) && (i = On[r], r = "%" + i[0] + "%"), $e(ae, r)) {
|
|
2116
|
+
var s = ae[r];
|
|
2117
|
+
if (s === de && (s = hs(r)), typeof s > "u" && !n)
|
|
2118
|
+
throw new ye("intrinsic " + e + " exists, but is not available. Please file an issue!");
|
|
2119
|
+
return {
|
|
2120
|
+
alias: i,
|
|
2121
|
+
name: r,
|
|
2122
|
+
value: s
|
|
2123
|
+
};
|
|
2124
|
+
}
|
|
2125
|
+
throw new me("intrinsic " + e + " does not exist!");
|
|
2126
|
+
}, be = function(e, n) {
|
|
2127
|
+
if (typeof e != "string" || e.length === 0)
|
|
2128
|
+
throw new ye("intrinsic name must be a non-empty string");
|
|
2129
|
+
if (arguments.length > 1 && typeof n != "boolean")
|
|
2130
|
+
throw new ye('"allowMissing" argument must be a boolean');
|
|
2131
|
+
if (gs(/^%?[^%]*%?$/, e) === null)
|
|
2132
|
+
throw new me("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
2133
|
+
var r = ws(e), i = r.length > 0 ? r[0] : "", s = bs("%" + i + "%", n), o = s.name, a = s.value, l = !1, f = s.alias;
|
|
2134
|
+
f && (i = f[0], ms(r, ys([0, 1], f)));
|
|
2135
|
+
for (var u = 1, y = !0; u < r.length; u += 1) {
|
|
2136
|
+
var m = r[u], A = et(m, 0, 1), g = et(m, -1);
|
|
2137
|
+
if ((A === '"' || A === "'" || A === "`" || g === '"' || g === "'" || g === "`") && A !== g)
|
|
2138
|
+
throw new me("property names with quotes must have matching quotes");
|
|
2139
|
+
if ((m === "constructor" || !y) && (l = !0), i += "." + m, o = "%" + i + "%", $e(ae, o))
|
|
2140
|
+
a = ae[o];
|
|
2141
|
+
else if (a != null) {
|
|
2142
|
+
if (!(m in a)) {
|
|
2143
|
+
if (!n)
|
|
2144
|
+
throw new ye("base intrinsic for " + e + " exists, but the property is not available.");
|
|
2145
|
+
return;
|
|
2146
|
+
}
|
|
2147
|
+
if (se && u + 1 >= r.length) {
|
|
2148
|
+
var w = se(a, m);
|
|
2149
|
+
y = !!w, y && "get" in w && !("originalValue" in w.get) ? a = w.get : a = a[m];
|
|
2150
|
+
} else
|
|
2151
|
+
y = $e(a, m), a = a[m];
|
|
2152
|
+
y && !l && (ae[o] = a);
|
|
2153
|
+
}
|
|
2154
|
+
}
|
|
2155
|
+
return a;
|
|
2156
|
+
}, Rr = { exports: {} }, vt, Cn;
|
|
2157
|
+
function nn() {
|
|
2158
|
+
if (Cn)
|
|
2159
|
+
return vt;
|
|
2160
|
+
Cn = 1;
|
|
2161
|
+
var t = be, e = t("%Object.defineProperty%", !0) || !1;
|
|
2162
|
+
if (e)
|
|
2163
|
+
try {
|
|
2164
|
+
e({}, "a", { value: 1 });
|
|
2165
|
+
} catch {
|
|
2166
|
+
e = !1;
|
|
2167
|
+
}
|
|
2168
|
+
return vt = e, vt;
|
|
2169
|
+
}
|
|
2170
|
+
var As = be, Ge = As("%Object.getOwnPropertyDescriptor%", !0);
|
|
2171
|
+
if (Ge)
|
|
2172
|
+
try {
|
|
2173
|
+
Ge([], "length");
|
|
2174
|
+
} catch {
|
|
2175
|
+
Ge = null;
|
|
2176
|
+
}
|
|
2177
|
+
var Or = Ge, Pn = nn(), Ss = xr, fe = Ce, Bn = Or, Es = function(e, n, r) {
|
|
2178
|
+
if (!e || typeof e != "object" && typeof e != "function")
|
|
2179
|
+
throw new fe("`obj` must be an object or a function`");
|
|
2180
|
+
if (typeof n != "string" && typeof n != "symbol")
|
|
2181
|
+
throw new fe("`property` must be a string or a symbol`");
|
|
2182
|
+
if (arguments.length > 3 && typeof arguments[3] != "boolean" && arguments[3] !== null)
|
|
2183
|
+
throw new fe("`nonEnumerable`, if provided, must be a boolean or null");
|
|
2184
|
+
if (arguments.length > 4 && typeof arguments[4] != "boolean" && arguments[4] !== null)
|
|
2185
|
+
throw new fe("`nonWritable`, if provided, must be a boolean or null");
|
|
2186
|
+
if (arguments.length > 5 && typeof arguments[5] != "boolean" && arguments[5] !== null)
|
|
2187
|
+
throw new fe("`nonConfigurable`, if provided, must be a boolean or null");
|
|
2188
|
+
if (arguments.length > 6 && typeof arguments[6] != "boolean")
|
|
2189
|
+
throw new fe("`loose`, if provided, must be a boolean");
|
|
2190
|
+
var i = arguments.length > 3 ? arguments[3] : null, s = arguments.length > 4 ? arguments[4] : null, o = arguments.length > 5 ? arguments[5] : null, a = arguments.length > 6 ? arguments[6] : !1, l = !!Bn && Bn(e, n);
|
|
2191
|
+
if (Pn)
|
|
2192
|
+
Pn(e, n, {
|
|
2193
|
+
configurable: o === null && l ? l.configurable : !o,
|
|
2194
|
+
enumerable: i === null && l ? l.enumerable : !i,
|
|
2195
|
+
value: r,
|
|
2196
|
+
writable: s === null && l ? l.writable : !s
|
|
2197
|
+
});
|
|
2198
|
+
else if (a || !i && !s && !o)
|
|
2199
|
+
e[n] = r;
|
|
2200
|
+
else
|
|
2201
|
+
throw new Ss("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
2202
|
+
}, Nt = nn(), Ir = function() {
|
|
2203
|
+
return !!Nt;
|
|
2204
|
+
};
|
|
2205
|
+
Ir.hasArrayLengthDefineBug = function() {
|
|
2206
|
+
if (!Nt)
|
|
2207
|
+
return null;
|
|
2208
|
+
try {
|
|
2209
|
+
return Nt([], "length", { value: 1 }).length !== 1;
|
|
2210
|
+
} catch {
|
|
2211
|
+
return !0;
|
|
2212
|
+
}
|
|
2213
|
+
};
|
|
2214
|
+
var Ts = Ir, xs = be, Dn = Es, ks = Ts(), Fn = Or, Nn = Ce, Rs = xs("%Math.floor%"), Os = function(e, n) {
|
|
2215
|
+
if (typeof e != "function")
|
|
2216
|
+
throw new Nn("`fn` is not a function");
|
|
2217
|
+
if (typeof n != "number" || n < 0 || n > 4294967295 || Rs(n) !== n)
|
|
2218
|
+
throw new Nn("`length` must be a positive 32-bit integer");
|
|
2219
|
+
var r = arguments.length > 2 && !!arguments[2], i = !0, s = !0;
|
|
2220
|
+
if ("length" in e && Fn) {
|
|
2221
|
+
var o = Fn(e, "length");
|
|
2222
|
+
o && !o.configurable && (i = !1), o && !o.writable && (s = !1);
|
|
2223
|
+
}
|
|
2224
|
+
return (i || s || !r) && (ks ? Dn(
|
|
2225
|
+
/** @type {Parameters<define>[0]} */
|
|
2226
|
+
e,
|
|
2227
|
+
"length",
|
|
2228
|
+
n,
|
|
2229
|
+
!0,
|
|
2230
|
+
!0
|
|
2231
|
+
) : Dn(
|
|
2232
|
+
/** @type {Parameters<define>[0]} */
|
|
2233
|
+
e,
|
|
2234
|
+
"length",
|
|
2235
|
+
n
|
|
2236
|
+
)), e;
|
|
2237
|
+
};
|
|
2238
|
+
(function(t) {
|
|
2239
|
+
var e = tn, n = be, r = Os, i = Ce, s = n("%Function.prototype.apply%"), o = n("%Function.prototype.call%"), a = n("%Reflect.apply%", !0) || e.call(o, s), l = nn(), f = n("%Math.max%");
|
|
2240
|
+
t.exports = function(m) {
|
|
2241
|
+
if (typeof m != "function")
|
|
2242
|
+
throw new i("a function is required");
|
|
2243
|
+
var A = a(e, o, arguments);
|
|
2244
|
+
return r(
|
|
2245
|
+
A,
|
|
2246
|
+
1 + f(0, m.length - (arguments.length - 1)),
|
|
2247
|
+
!0
|
|
2248
|
+
);
|
|
2249
|
+
};
|
|
2250
|
+
var u = function() {
|
|
2251
|
+
return a(e, s, arguments);
|
|
2252
|
+
};
|
|
2253
|
+
l ? l(t.exports, "apply", { value: u }) : t.exports.apply = u;
|
|
2254
|
+
})(Rr);
|
|
2255
|
+
var Is = Rr.exports, Cr = be, Pr = Is, Cs = Pr(Cr("String.prototype.indexOf")), Ps = function(e, n) {
|
|
2256
|
+
var r = Cr(e, !!n);
|
|
2257
|
+
return typeof r == "function" && Cs(e, ".prototype.") > -1 ? Pr(r) : r;
|
|
2258
|
+
};
|
|
2259
|
+
const Bs = {}, Ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2260
|
+
__proto__: null,
|
|
2261
|
+
default: Bs
|
|
2262
|
+
}, Symbol.toStringTag, { value: "Module" })), Fs = /* @__PURE__ */ No(Ds);
|
|
2263
|
+
var rn = typeof Map == "function" && Map.prototype, wt = Object.getOwnPropertyDescriptor && rn ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, tt = rn && wt && typeof wt.get == "function" ? wt.get : null, Un = rn && Map.prototype.forEach, on = typeof Set == "function" && Set.prototype, bt = Object.getOwnPropertyDescriptor && on ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, nt = on && bt && typeof bt.get == "function" ? bt.get : null, Ln = on && Set.prototype.forEach, Ns = typeof WeakMap == "function" && WeakMap.prototype, xe = Ns ? WeakMap.prototype.has : null, Us = typeof WeakSet == "function" && WeakSet.prototype, ke = Us ? WeakSet.prototype.has : null, Ls = typeof WeakRef == "function" && WeakRef.prototype, Mn = Ls ? WeakRef.prototype.deref : null, Ms = Boolean.prototype.valueOf, Hs = Object.prototype.toString, zs = Function.prototype.toString, qs = String.prototype.match, sn = String.prototype.slice, ne = String.prototype.replace, Ws = String.prototype.toUpperCase, Hn = String.prototype.toLowerCase, Br = RegExp.prototype.test, zn = Array.prototype.concat, K = Array.prototype.join, Qs = Array.prototype.slice, qn = Math.floor, Ut = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, At = Object.getOwnPropertySymbols, Lt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, ge = typeof Symbol == "function" && typeof Symbol.iterator == "object", U = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === ge || "symbol") ? Symbol.toStringTag : null, Dr = Object.prototype.propertyIsEnumerable, Wn = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
|
|
2264
|
+
return t.__proto__;
|
|
2265
|
+
} : null);
|
|
2266
|
+
function Qn(t, e) {
|
|
2267
|
+
if (t === 1 / 0 || t === -1 / 0 || t !== t || t && t > -1e3 && t < 1e3 || Br.call(/e/, e))
|
|
2268
|
+
return e;
|
|
2269
|
+
var n = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
|
|
2270
|
+
if (typeof t == "number") {
|
|
2271
|
+
var r = t < 0 ? -qn(-t) : qn(t);
|
|
2272
|
+
if (r !== t) {
|
|
2273
|
+
var i = String(r), s = sn.call(e, i.length + 1);
|
|
2274
|
+
return ne.call(i, n, "$&_") + "." + ne.call(ne.call(s, /([0-9]{3})/g, "$&_"), /_$/, "");
|
|
2275
|
+
}
|
|
2276
|
+
}
|
|
2277
|
+
return ne.call(e, n, "$&_");
|
|
2278
|
+
}
|
|
2279
|
+
var Mt = Fs, Jn = Mt.custom, Vn = Nr(Jn) ? Jn : null, Js = function t(e, n, r, i) {
|
|
2280
|
+
var s = n || {};
|
|
2281
|
+
if (te(s, "quoteStyle") && s.quoteStyle !== "single" && s.quoteStyle !== "double")
|
|
2282
|
+
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
2283
|
+
if (te(s, "maxStringLength") && (typeof s.maxStringLength == "number" ? s.maxStringLength < 0 && s.maxStringLength !== 1 / 0 : s.maxStringLength !== null))
|
|
2284
|
+
throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
|
|
2285
|
+
var o = te(s, "customInspect") ? s.customInspect : !0;
|
|
2286
|
+
if (typeof o != "boolean" && o !== "symbol")
|
|
2287
|
+
throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
|
|
2288
|
+
if (te(s, "indent") && s.indent !== null && s.indent !== " " && !(parseInt(s.indent, 10) === s.indent && s.indent > 0))
|
|
2289
|
+
throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
|
|
2290
|
+
if (te(s, "numericSeparator") && typeof s.numericSeparator != "boolean")
|
|
2291
|
+
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
|
2292
|
+
var a = s.numericSeparator;
|
|
2293
|
+
if (typeof e > "u")
|
|
2294
|
+
return "undefined";
|
|
2295
|
+
if (e === null)
|
|
2296
|
+
return "null";
|
|
2297
|
+
if (typeof e == "boolean")
|
|
2298
|
+
return e ? "true" : "false";
|
|
2299
|
+
if (typeof e == "string")
|
|
2300
|
+
return Lr(e, s);
|
|
2301
|
+
if (typeof e == "number") {
|
|
2302
|
+
if (e === 0)
|
|
2303
|
+
return 1 / 0 / e > 0 ? "0" : "-0";
|
|
2304
|
+
var l = String(e);
|
|
2305
|
+
return a ? Qn(e, l) : l;
|
|
2306
|
+
}
|
|
2307
|
+
if (typeof e == "bigint") {
|
|
2308
|
+
var f = String(e) + "n";
|
|
2309
|
+
return a ? Qn(e, f) : f;
|
|
2310
|
+
}
|
|
2311
|
+
var u = typeof s.depth > "u" ? 5 : s.depth;
|
|
2312
|
+
if (typeof r > "u" && (r = 0), r >= u && u > 0 && typeof e == "object")
|
|
2313
|
+
return Ht(e) ? "[Array]" : "[Object]";
|
|
2314
|
+
var y = ca(s, r);
|
|
2315
|
+
if (typeof i > "u")
|
|
2316
|
+
i = [];
|
|
2317
|
+
else if (Ur(i, e) >= 0)
|
|
2318
|
+
return "[Circular]";
|
|
2319
|
+
function m(W, Z, $) {
|
|
2320
|
+
if (Z && (i = Qs.call(i), i.push(Z)), $) {
|
|
2321
|
+
var Se = {
|
|
2322
|
+
depth: s.depth
|
|
2323
|
+
};
|
|
2324
|
+
return te(s, "quoteStyle") && (Se.quoteStyle = s.quoteStyle), t(W, Se, r + 1, i);
|
|
2325
|
+
}
|
|
2326
|
+
return t(W, s, r + 1, i);
|
|
2327
|
+
}
|
|
2328
|
+
if (typeof e == "function" && !jn(e)) {
|
|
2329
|
+
var A = ea(e), g = Le(e, m);
|
|
2330
|
+
return "[Function" + (A ? ": " + A : " (anonymous)") + "]" + (g.length > 0 ? " { " + K.call(g, ", ") + " }" : "");
|
|
2331
|
+
}
|
|
2332
|
+
if (Nr(e)) {
|
|
2333
|
+
var w = ge ? ne.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : Lt.call(e);
|
|
2334
|
+
return typeof e == "object" && !ge ? Te(w) : w;
|
|
2335
|
+
}
|
|
2336
|
+
if (sa(e)) {
|
|
2337
|
+
for (var _ = "<" + Hn.call(String(e.nodeName)), k = e.attributes || [], R = 0; R < k.length; R++)
|
|
2338
|
+
_ += " " + k[R].name + "=" + Fr(Vs(k[R].value), "double", s);
|
|
2339
|
+
return _ += ">", e.childNodes && e.childNodes.length && (_ += "..."), _ += "</" + Hn.call(String(e.nodeName)) + ">", _;
|
|
2340
|
+
}
|
|
2341
|
+
if (Ht(e)) {
|
|
2342
|
+
if (e.length === 0)
|
|
2343
|
+
return "[]";
|
|
2344
|
+
var b = Le(e, m);
|
|
2345
|
+
return y && !la(b) ? "[" + zt(b, y) + "]" : "[ " + K.call(b, ", ") + " ]";
|
|
2346
|
+
}
|
|
2347
|
+
if (Gs(e)) {
|
|
2348
|
+
var D = Le(e, m);
|
|
2349
|
+
return !("cause" in Error.prototype) && "cause" in e && !Dr.call(e, "cause") ? "{ [" + String(e) + "] " + K.call(zn.call("[cause]: " + m(e.cause), D), ", ") + " }" : D.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + K.call(D, ", ") + " }";
|
|
2350
|
+
}
|
|
2351
|
+
if (typeof e == "object" && o) {
|
|
2352
|
+
if (Vn && typeof e[Vn] == "function" && Mt)
|
|
2353
|
+
return Mt(e, { depth: u - r });
|
|
2354
|
+
if (o !== "symbol" && typeof e.inspect == "function")
|
|
2355
|
+
return e.inspect();
|
|
2356
|
+
}
|
|
2357
|
+
if (ta(e)) {
|
|
2358
|
+
var O = [];
|
|
2359
|
+
return Un && Un.call(e, function(W, Z) {
|
|
2360
|
+
O.push(m(Z, e, !0) + " => " + m(W, e));
|
|
2361
|
+
}), Gn("Map", tt.call(e), O, y);
|
|
2362
|
+
}
|
|
2363
|
+
if (ia(e)) {
|
|
2364
|
+
var L = [];
|
|
2365
|
+
return Ln && Ln.call(e, function(W) {
|
|
2366
|
+
L.push(m(W, e));
|
|
2367
|
+
}), Gn("Set", nt.call(e), L, y);
|
|
2368
|
+
}
|
|
2369
|
+
if (na(e))
|
|
2370
|
+
return St("WeakMap");
|
|
2371
|
+
if (oa(e))
|
|
2372
|
+
return St("WeakSet");
|
|
2373
|
+
if (ra(e))
|
|
2374
|
+
return St("WeakRef");
|
|
2375
|
+
if (Ys(e))
|
|
2376
|
+
return Te(m(Number(e)));
|
|
2377
|
+
if (Zs(e))
|
|
2378
|
+
return Te(m(Ut.call(e)));
|
|
2379
|
+
if (Xs(e))
|
|
2380
|
+
return Te(Ms.call(e));
|
|
2381
|
+
if (Ks(e))
|
|
2382
|
+
return Te(m(String(e)));
|
|
2383
|
+
if (typeof window < "u" && e === window)
|
|
2384
|
+
return "{ [object Window] }";
|
|
2385
|
+
if (typeof globalThis < "u" && e === globalThis || typeof xn < "u" && e === xn)
|
|
2386
|
+
return "{ [object globalThis] }";
|
|
2387
|
+
if (!js(e) && !jn(e)) {
|
|
2388
|
+
var M = Le(e, m), Y = Wn ? Wn(e) === Object.prototype : e instanceof Object || e.constructor === Object, V = e instanceof Object ? "" : "null prototype", X = !Y && U && Object(e) === e && U in e ? sn.call(re(e), 8, -1) : V ? "Object" : "", De = Y || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", ce = De + (X || V ? "[" + K.call(zn.call([], X || [], V || []), ": ") + "] " : "");
|
|
2389
|
+
return M.length === 0 ? ce + "{}" : y ? ce + "{" + zt(M, y) + "}" : ce + "{ " + K.call(M, ", ") + " }";
|
|
2390
|
+
}
|
|
2391
|
+
return String(e);
|
|
2392
|
+
};
|
|
2393
|
+
function Fr(t, e, n) {
|
|
2394
|
+
var r = (n.quoteStyle || e) === "double" ? '"' : "'";
|
|
2395
|
+
return r + t + r;
|
|
2396
|
+
}
|
|
2397
|
+
function Vs(t) {
|
|
2398
|
+
return ne.call(String(t), /"/g, """);
|
|
2399
|
+
}
|
|
2400
|
+
function Ht(t) {
|
|
2401
|
+
return re(t) === "[object Array]" && (!U || !(typeof t == "object" && U in t));
|
|
2402
|
+
}
|
|
2403
|
+
function js(t) {
|
|
2404
|
+
return re(t) === "[object Date]" && (!U || !(typeof t == "object" && U in t));
|
|
2405
|
+
}
|
|
2406
|
+
function jn(t) {
|
|
2407
|
+
return re(t) === "[object RegExp]" && (!U || !(typeof t == "object" && U in t));
|
|
2408
|
+
}
|
|
2409
|
+
function Gs(t) {
|
|
2410
|
+
return re(t) === "[object Error]" && (!U || !(typeof t == "object" && U in t));
|
|
2411
|
+
}
|
|
2412
|
+
function Ks(t) {
|
|
2413
|
+
return re(t) === "[object String]" && (!U || !(typeof t == "object" && U in t));
|
|
2414
|
+
}
|
|
2415
|
+
function Ys(t) {
|
|
2416
|
+
return re(t) === "[object Number]" && (!U || !(typeof t == "object" && U in t));
|
|
2417
|
+
}
|
|
2418
|
+
function Xs(t) {
|
|
2419
|
+
return re(t) === "[object Boolean]" && (!U || !(typeof t == "object" && U in t));
|
|
2420
|
+
}
|
|
2421
|
+
function Nr(t) {
|
|
2422
|
+
if (ge)
|
|
2423
|
+
return t && typeof t == "object" && t instanceof Symbol;
|
|
2424
|
+
if (typeof t == "symbol")
|
|
2425
|
+
return !0;
|
|
2426
|
+
if (!t || typeof t != "object" || !Lt)
|
|
2427
|
+
return !1;
|
|
2428
|
+
try {
|
|
2429
|
+
return Lt.call(t), !0;
|
|
2430
|
+
} catch {
|
|
2431
|
+
}
|
|
2432
|
+
return !1;
|
|
2433
|
+
}
|
|
2434
|
+
function Zs(t) {
|
|
2435
|
+
if (!t || typeof t != "object" || !Ut)
|
|
2436
|
+
return !1;
|
|
2437
|
+
try {
|
|
2438
|
+
return Ut.call(t), !0;
|
|
2439
|
+
} catch {
|
|
2440
|
+
}
|
|
2441
|
+
return !1;
|
|
2442
|
+
}
|
|
2443
|
+
var $s = Object.prototype.hasOwnProperty || function(t) {
|
|
2444
|
+
return t in this;
|
|
2445
|
+
};
|
|
2446
|
+
function te(t, e) {
|
|
2447
|
+
return $s.call(t, e);
|
|
2448
|
+
}
|
|
2449
|
+
function re(t) {
|
|
2450
|
+
return Hs.call(t);
|
|
2451
|
+
}
|
|
2452
|
+
function ea(t) {
|
|
2453
|
+
if (t.name)
|
|
2454
|
+
return t.name;
|
|
2455
|
+
var e = qs.call(zs.call(t), /^function\s*([\w$]+)/);
|
|
2456
|
+
return e ? e[1] : null;
|
|
2457
|
+
}
|
|
2458
|
+
function Ur(t, e) {
|
|
2459
|
+
if (t.indexOf)
|
|
2460
|
+
return t.indexOf(e);
|
|
2461
|
+
for (var n = 0, r = t.length; n < r; n++)
|
|
2462
|
+
if (t[n] === e)
|
|
2463
|
+
return n;
|
|
2464
|
+
return -1;
|
|
2465
|
+
}
|
|
2466
|
+
function ta(t) {
|
|
2467
|
+
if (!tt || !t || typeof t != "object")
|
|
2468
|
+
return !1;
|
|
2469
|
+
try {
|
|
2470
|
+
tt.call(t);
|
|
2471
|
+
try {
|
|
2472
|
+
nt.call(t);
|
|
2473
|
+
} catch {
|
|
2474
|
+
return !0;
|
|
2475
|
+
}
|
|
2476
|
+
return t instanceof Map;
|
|
2477
|
+
} catch {
|
|
2478
|
+
}
|
|
2479
|
+
return !1;
|
|
2480
|
+
}
|
|
2481
|
+
function na(t) {
|
|
2482
|
+
if (!xe || !t || typeof t != "object")
|
|
2483
|
+
return !1;
|
|
2484
|
+
try {
|
|
2485
|
+
xe.call(t, xe);
|
|
2486
|
+
try {
|
|
2487
|
+
ke.call(t, ke);
|
|
2488
|
+
} catch {
|
|
2489
|
+
return !0;
|
|
2490
|
+
}
|
|
2491
|
+
return t instanceof WeakMap;
|
|
2492
|
+
} catch {
|
|
2493
|
+
}
|
|
2494
|
+
return !1;
|
|
2495
|
+
}
|
|
2496
|
+
function ra(t) {
|
|
2497
|
+
if (!Mn || !t || typeof t != "object")
|
|
2498
|
+
return !1;
|
|
2499
|
+
try {
|
|
2500
|
+
return Mn.call(t), !0;
|
|
2501
|
+
} catch {
|
|
2502
|
+
}
|
|
2503
|
+
return !1;
|
|
2504
|
+
}
|
|
2505
|
+
function ia(t) {
|
|
2506
|
+
if (!nt || !t || typeof t != "object")
|
|
2507
|
+
return !1;
|
|
2508
|
+
try {
|
|
2509
|
+
nt.call(t);
|
|
2510
|
+
try {
|
|
2511
|
+
tt.call(t);
|
|
2512
|
+
} catch {
|
|
2513
|
+
return !0;
|
|
2514
|
+
}
|
|
2515
|
+
return t instanceof Set;
|
|
2516
|
+
} catch {
|
|
2517
|
+
}
|
|
2518
|
+
return !1;
|
|
2519
|
+
}
|
|
2520
|
+
function oa(t) {
|
|
2521
|
+
if (!ke || !t || typeof t != "object")
|
|
2522
|
+
return !1;
|
|
2523
|
+
try {
|
|
2524
|
+
ke.call(t, ke);
|
|
2525
|
+
try {
|
|
2526
|
+
xe.call(t, xe);
|
|
2527
|
+
} catch {
|
|
2528
|
+
return !0;
|
|
2529
|
+
}
|
|
2530
|
+
return t instanceof WeakSet;
|
|
2531
|
+
} catch {
|
|
2532
|
+
}
|
|
2533
|
+
return !1;
|
|
2534
|
+
}
|
|
2535
|
+
function sa(t) {
|
|
2536
|
+
return !t || typeof t != "object" ? !1 : typeof HTMLElement < "u" && t instanceof HTMLElement ? !0 : typeof t.nodeName == "string" && typeof t.getAttribute == "function";
|
|
2537
|
+
}
|
|
2538
|
+
function Lr(t, e) {
|
|
2539
|
+
if (t.length > e.maxStringLength) {
|
|
2540
|
+
var n = t.length - e.maxStringLength, r = "... " + n + " more character" + (n > 1 ? "s" : "");
|
|
2541
|
+
return Lr(sn.call(t, 0, e.maxStringLength), e) + r;
|
|
2542
|
+
}
|
|
2543
|
+
var i = ne.call(ne.call(t, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, aa);
|
|
2544
|
+
return Fr(i, "single", e);
|
|
2545
|
+
}
|
|
2546
|
+
function aa(t) {
|
|
2547
|
+
var e = t.charCodeAt(0), n = {
|
|
2548
|
+
8: "b",
|
|
2549
|
+
9: "t",
|
|
2550
|
+
10: "n",
|
|
2551
|
+
12: "f",
|
|
2552
|
+
13: "r"
|
|
2553
|
+
}[e];
|
|
2554
|
+
return n ? "\\" + n : "\\x" + (e < 16 ? "0" : "") + Ws.call(e.toString(16));
|
|
2555
|
+
}
|
|
2556
|
+
function Te(t) {
|
|
2557
|
+
return "Object(" + t + ")";
|
|
2558
|
+
}
|
|
2559
|
+
function St(t) {
|
|
2560
|
+
return t + " { ? }";
|
|
2561
|
+
}
|
|
2562
|
+
function Gn(t, e, n, r) {
|
|
2563
|
+
var i = r ? zt(n, r) : K.call(n, ", ");
|
|
2564
|
+
return t + " (" + e + ") {" + i + "}";
|
|
2565
|
+
}
|
|
2566
|
+
function la(t) {
|
|
2567
|
+
for (var e = 0; e < t.length; e++)
|
|
2568
|
+
if (Ur(t[e], `
|
|
2569
|
+
`) >= 0)
|
|
2570
|
+
return !1;
|
|
2571
|
+
return !0;
|
|
2572
|
+
}
|
|
2573
|
+
function ca(t, e) {
|
|
2574
|
+
var n;
|
|
2575
|
+
if (t.indent === " ")
|
|
2576
|
+
n = " ";
|
|
2577
|
+
else if (typeof t.indent == "number" && t.indent > 0)
|
|
2578
|
+
n = K.call(Array(t.indent + 1), " ");
|
|
2579
|
+
else
|
|
2580
|
+
return null;
|
|
2581
|
+
return {
|
|
2582
|
+
base: n,
|
|
2583
|
+
prev: K.call(Array(e + 1), n)
|
|
2584
|
+
};
|
|
2585
|
+
}
|
|
2586
|
+
function zt(t, e) {
|
|
2587
|
+
if (t.length === 0)
|
|
2588
|
+
return "";
|
|
2589
|
+
var n = `
|
|
2590
|
+
` + e.prev + e.base;
|
|
2591
|
+
return n + K.call(t, "," + n) + `
|
|
2592
|
+
` + e.prev;
|
|
2593
|
+
}
|
|
2594
|
+
function Le(t, e) {
|
|
2595
|
+
var n = Ht(t), r = [];
|
|
2596
|
+
if (n) {
|
|
2597
|
+
r.length = t.length;
|
|
2598
|
+
for (var i = 0; i < t.length; i++)
|
|
2599
|
+
r[i] = te(t, i) ? e(t[i], t) : "";
|
|
2600
|
+
}
|
|
2601
|
+
var s = typeof At == "function" ? At(t) : [], o;
|
|
2602
|
+
if (ge) {
|
|
2603
|
+
o = {};
|
|
2604
|
+
for (var a = 0; a < s.length; a++)
|
|
2605
|
+
o["$" + s[a]] = s[a];
|
|
2606
|
+
}
|
|
2607
|
+
for (var l in t)
|
|
2608
|
+
te(t, l) && (n && String(Number(l)) === l && l < t.length || ge && o["$" + l] instanceof Symbol || (Br.call(/[^\w$]/, l) ? r.push(e(l, t) + ": " + e(t[l], t)) : r.push(l + ": " + e(t[l], t))));
|
|
2609
|
+
if (typeof At == "function")
|
|
2610
|
+
for (var f = 0; f < s.length; f++)
|
|
2611
|
+
Dr.call(t, s[f]) && r.push("[" + e(s[f]) + "]: " + e(t[s[f]], t));
|
|
2612
|
+
return r;
|
|
2613
|
+
}
|
|
2614
|
+
var Mr = be, Ae = Ps, ua = Js, fa = Ce, Me = Mr("%WeakMap%", !0), He = Mr("%Map%", !0), da = Ae("WeakMap.prototype.get", !0), pa = Ae("WeakMap.prototype.set", !0), ha = Ae("WeakMap.prototype.has", !0), ya = Ae("Map.prototype.get", !0), ma = Ae("Map.prototype.set", !0), ga = Ae("Map.prototype.has", !0), an = function(t, e) {
|
|
2615
|
+
for (var n = t, r; (r = n.next) !== null; n = r)
|
|
2616
|
+
if (r.key === e)
|
|
2617
|
+
return n.next = r.next, r.next = /** @type {NonNullable<typeof list.next>} */
|
|
2618
|
+
t.next, t.next = r, r;
|
|
2619
|
+
}, _a = function(t, e) {
|
|
2620
|
+
var n = an(t, e);
|
|
2621
|
+
return n && n.value;
|
|
2622
|
+
}, va = function(t, e, n) {
|
|
2623
|
+
var r = an(t, e);
|
|
2624
|
+
r ? r.value = n : t.next = /** @type {import('.').ListNode<typeof value>} */
|
|
2625
|
+
{
|
|
2626
|
+
// eslint-disable-line no-param-reassign, no-extra-parens
|
|
2627
|
+
key: e,
|
|
2628
|
+
next: t.next,
|
|
2629
|
+
value: n
|
|
2630
|
+
};
|
|
2631
|
+
}, wa = function(t, e) {
|
|
2632
|
+
return !!an(t, e);
|
|
2633
|
+
}, ba = function() {
|
|
2634
|
+
var e, n, r, i = {
|
|
2635
|
+
assert: function(s) {
|
|
2636
|
+
if (!i.has(s))
|
|
2637
|
+
throw new fa("Side channel does not contain " + ua(s));
|
|
2638
|
+
},
|
|
2639
|
+
get: function(s) {
|
|
2640
|
+
if (Me && s && (typeof s == "object" || typeof s == "function")) {
|
|
2641
|
+
if (e)
|
|
2642
|
+
return da(e, s);
|
|
2643
|
+
} else if (He) {
|
|
2644
|
+
if (n)
|
|
2645
|
+
return ya(n, s);
|
|
2646
|
+
} else if (r)
|
|
2647
|
+
return _a(r, s);
|
|
2648
|
+
},
|
|
2649
|
+
has: function(s) {
|
|
2650
|
+
if (Me && s && (typeof s == "object" || typeof s == "function")) {
|
|
2651
|
+
if (e)
|
|
2652
|
+
return ha(e, s);
|
|
2653
|
+
} else if (He) {
|
|
2654
|
+
if (n)
|
|
2655
|
+
return ga(n, s);
|
|
2656
|
+
} else if (r)
|
|
2657
|
+
return wa(r, s);
|
|
2658
|
+
return !1;
|
|
2659
|
+
},
|
|
2660
|
+
set: function(s, o) {
|
|
2661
|
+
Me && s && (typeof s == "object" || typeof s == "function") ? (e || (e = new Me()), pa(e, s, o)) : He ? (n || (n = new He()), ma(n, s, o)) : (r || (r = { key: {}, next: null }), va(r, s, o));
|
|
2662
|
+
}
|
|
2663
|
+
};
|
|
2664
|
+
return i;
|
|
2665
|
+
}, Aa = String.prototype.replace, Sa = /%20/g, Et = {
|
|
2666
|
+
RFC1738: "RFC1738",
|
|
2667
|
+
RFC3986: "RFC3986"
|
|
2668
|
+
}, ln = {
|
|
2669
|
+
default: Et.RFC3986,
|
|
2670
|
+
formatters: {
|
|
2671
|
+
RFC1738: function(t) {
|
|
2672
|
+
return Aa.call(t, Sa, "+");
|
|
2673
|
+
},
|
|
2674
|
+
RFC3986: function(t) {
|
|
2675
|
+
return String(t);
|
|
2676
|
+
}
|
|
2677
|
+
},
|
|
2678
|
+
RFC1738: Et.RFC1738,
|
|
2679
|
+
RFC3986: Et.RFC3986
|
|
2680
|
+
}, Ea = ln, Tt = Object.prototype.hasOwnProperty, ie = Array.isArray, j = function() {
|
|
2681
|
+
for (var t = [], e = 0; e < 256; ++e)
|
|
2682
|
+
t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
|
|
2683
|
+
return t;
|
|
2684
|
+
}(), Ta = function(e) {
|
|
2685
|
+
for (; e.length > 1; ) {
|
|
2686
|
+
var n = e.pop(), r = n.obj[n.prop];
|
|
2687
|
+
if (ie(r)) {
|
|
2688
|
+
for (var i = [], s = 0; s < r.length; ++s)
|
|
2689
|
+
typeof r[s] < "u" && i.push(r[s]);
|
|
2690
|
+
n.obj[n.prop] = i;
|
|
2691
|
+
}
|
|
2692
|
+
}
|
|
2693
|
+
}, Hr = function(e, n) {
|
|
2694
|
+
for (var r = n && n.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, i = 0; i < e.length; ++i)
|
|
2695
|
+
typeof e[i] < "u" && (r[i] = e[i]);
|
|
2696
|
+
return r;
|
|
2697
|
+
}, xa = function t(e, n, r) {
|
|
2698
|
+
if (!n)
|
|
2699
|
+
return e;
|
|
2700
|
+
if (typeof n != "object") {
|
|
2701
|
+
if (ie(e))
|
|
2702
|
+
e.push(n);
|
|
2703
|
+
else if (e && typeof e == "object")
|
|
2704
|
+
(r && (r.plainObjects || r.allowPrototypes) || !Tt.call(Object.prototype, n)) && (e[n] = !0);
|
|
2705
|
+
else
|
|
2706
|
+
return [e, n];
|
|
2707
|
+
return e;
|
|
2708
|
+
}
|
|
2709
|
+
if (!e || typeof e != "object")
|
|
2710
|
+
return [e].concat(n);
|
|
2711
|
+
var i = e;
|
|
2712
|
+
return ie(e) && !ie(n) && (i = Hr(e, r)), ie(e) && ie(n) ? (n.forEach(function(s, o) {
|
|
2713
|
+
if (Tt.call(e, o)) {
|
|
2714
|
+
var a = e[o];
|
|
2715
|
+
a && typeof a == "object" && s && typeof s == "object" ? e[o] = t(a, s, r) : e.push(s);
|
|
2716
|
+
} else
|
|
2717
|
+
e[o] = s;
|
|
2718
|
+
}), e) : Object.keys(n).reduce(function(s, o) {
|
|
2719
|
+
var a = n[o];
|
|
2720
|
+
return Tt.call(s, o) ? s[o] = t(s[o], a, r) : s[o] = a, s;
|
|
2721
|
+
}, i);
|
|
2722
|
+
}, ka = function(e, n) {
|
|
2723
|
+
return Object.keys(n).reduce(function(r, i) {
|
|
2724
|
+
return r[i] = n[i], r;
|
|
2725
|
+
}, e);
|
|
2726
|
+
}, Ra = function(t, e, n) {
|
|
2727
|
+
var r = t.replace(/\+/g, " ");
|
|
2728
|
+
if (n === "iso-8859-1")
|
|
2729
|
+
return r.replace(/%[0-9a-f]{2}/gi, unescape);
|
|
2730
|
+
try {
|
|
2731
|
+
return decodeURIComponent(r);
|
|
2732
|
+
} catch {
|
|
2733
|
+
return r;
|
|
2734
|
+
}
|
|
2735
|
+
}, xt = 1024, Oa = function(e, n, r, i, s) {
|
|
2736
|
+
if (e.length === 0)
|
|
2737
|
+
return e;
|
|
2738
|
+
var o = e;
|
|
2739
|
+
if (typeof e == "symbol" ? o = Symbol.prototype.toString.call(e) : typeof e != "string" && (o = String(e)), r === "iso-8859-1")
|
|
2740
|
+
return escape(o).replace(/%u[0-9a-f]{4}/gi, function(A) {
|
|
2741
|
+
return "%26%23" + parseInt(A.slice(2), 16) + "%3B";
|
|
2742
|
+
});
|
|
2743
|
+
for (var a = "", l = 0; l < o.length; l += xt) {
|
|
2744
|
+
for (var f = o.length >= xt ? o.slice(l, l + xt) : o, u = [], y = 0; y < f.length; ++y) {
|
|
2745
|
+
var m = f.charCodeAt(y);
|
|
2746
|
+
if (m === 45 || m === 46 || m === 95 || m === 126 || m >= 48 && m <= 57 || m >= 65 && m <= 90 || m >= 97 && m <= 122 || s === Ea.RFC1738 && (m === 40 || m === 41)) {
|
|
2747
|
+
u[u.length] = f.charAt(y);
|
|
2748
|
+
continue;
|
|
2749
|
+
}
|
|
2750
|
+
if (m < 128) {
|
|
2751
|
+
u[u.length] = j[m];
|
|
2752
|
+
continue;
|
|
2753
|
+
}
|
|
2754
|
+
if (m < 2048) {
|
|
2755
|
+
u[u.length] = j[192 | m >> 6] + j[128 | m & 63];
|
|
2756
|
+
continue;
|
|
2757
|
+
}
|
|
2758
|
+
if (m < 55296 || m >= 57344) {
|
|
2759
|
+
u[u.length] = j[224 | m >> 12] + j[128 | m >> 6 & 63] + j[128 | m & 63];
|
|
2760
|
+
continue;
|
|
2761
|
+
}
|
|
2762
|
+
y += 1, m = 65536 + ((m & 1023) << 10 | f.charCodeAt(y) & 1023), u[u.length] = j[240 | m >> 18] + j[128 | m >> 12 & 63] + j[128 | m >> 6 & 63] + j[128 | m & 63];
|
|
2763
|
+
}
|
|
2764
|
+
a += u.join("");
|
|
2765
|
+
}
|
|
2766
|
+
return a;
|
|
2767
|
+
}, Ia = function(e) {
|
|
2768
|
+
for (var n = [{ obj: { o: e }, prop: "o" }], r = [], i = 0; i < n.length; ++i)
|
|
2769
|
+
for (var s = n[i], o = s.obj[s.prop], a = Object.keys(o), l = 0; l < a.length; ++l) {
|
|
2770
|
+
var f = a[l], u = o[f];
|
|
2771
|
+
typeof u == "object" && u !== null && r.indexOf(u) === -1 && (n.push({ obj: o, prop: f }), r.push(u));
|
|
2772
|
+
}
|
|
2773
|
+
return Ta(n), e;
|
|
2774
|
+
}, Ca = function(e) {
|
|
2775
|
+
return Object.prototype.toString.call(e) === "[object RegExp]";
|
|
2776
|
+
}, Pa = function(e) {
|
|
2777
|
+
return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
|
|
2778
|
+
}, Ba = function(e, n) {
|
|
2779
|
+
return [].concat(e, n);
|
|
2780
|
+
}, Da = function(e, n) {
|
|
2781
|
+
if (ie(e)) {
|
|
2782
|
+
for (var r = [], i = 0; i < e.length; i += 1)
|
|
2783
|
+
r.push(n(e[i]));
|
|
2784
|
+
return r;
|
|
2785
|
+
}
|
|
2786
|
+
return n(e);
|
|
2787
|
+
}, zr = {
|
|
2788
|
+
arrayToObject: Hr,
|
|
2789
|
+
assign: ka,
|
|
2790
|
+
combine: Ba,
|
|
2791
|
+
compact: Ia,
|
|
2792
|
+
decode: Ra,
|
|
2793
|
+
encode: Oa,
|
|
2794
|
+
isBuffer: Pa,
|
|
2795
|
+
isRegExp: Ca,
|
|
2796
|
+
maybeMap: Da,
|
|
2797
|
+
merge: xa
|
|
2798
|
+
}, qr = ba, Ke = zr, Re = ln, Fa = Object.prototype.hasOwnProperty, Wr = {
|
|
2799
|
+
brackets: function(e) {
|
|
2800
|
+
return e + "[]";
|
|
2801
|
+
},
|
|
2802
|
+
comma: "comma",
|
|
2803
|
+
indices: function(e, n) {
|
|
2804
|
+
return e + "[" + n + "]";
|
|
2805
|
+
},
|
|
2806
|
+
repeat: function(e) {
|
|
2807
|
+
return e;
|
|
2808
|
+
}
|
|
2809
|
+
}, G = Array.isArray, Na = Array.prototype.push, Qr = function(t, e) {
|
|
2810
|
+
Na.apply(t, G(e) ? e : [e]);
|
|
2811
|
+
}, Ua = Date.prototype.toISOString, Kn = Re.default, B = {
|
|
2812
|
+
addQueryPrefix: !1,
|
|
2813
|
+
allowDots: !1,
|
|
2814
|
+
allowEmptyArrays: !1,
|
|
2815
|
+
arrayFormat: "indices",
|
|
2816
|
+
charset: "utf-8",
|
|
2817
|
+
charsetSentinel: !1,
|
|
2818
|
+
delimiter: "&",
|
|
2819
|
+
encode: !0,
|
|
2820
|
+
encodeDotInKeys: !1,
|
|
2821
|
+
encoder: Ke.encode,
|
|
2822
|
+
encodeValuesOnly: !1,
|
|
2823
|
+
format: Kn,
|
|
2824
|
+
formatter: Re.formatters[Kn],
|
|
2825
|
+
// deprecated
|
|
2826
|
+
indices: !1,
|
|
2827
|
+
serializeDate: function(e) {
|
|
2828
|
+
return Ua.call(e);
|
|
2829
|
+
},
|
|
2830
|
+
skipNulls: !1,
|
|
2831
|
+
strictNullHandling: !1
|
|
2832
|
+
}, La = function(e) {
|
|
2833
|
+
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
|
|
2834
|
+
}, kt = {}, Ma = function t(e, n, r, i, s, o, a, l, f, u, y, m, A, g, w, _, k, R) {
|
|
2835
|
+
for (var b = e, D = R, O = 0, L = !1; (D = D.get(kt)) !== void 0 && !L; ) {
|
|
2836
|
+
var M = D.get(e);
|
|
2837
|
+
if (O += 1, typeof M < "u") {
|
|
2838
|
+
if (M === O)
|
|
2839
|
+
throw new RangeError("Cyclic object value");
|
|
2840
|
+
L = !0;
|
|
2841
|
+
}
|
|
2842
|
+
typeof D.get(kt) > "u" && (O = 0);
|
|
2843
|
+
}
|
|
2844
|
+
if (typeof u == "function" ? b = u(n, b) : b instanceof Date ? b = A(b) : r === "comma" && G(b) && (b = Ke.maybeMap(b, function(ft) {
|
|
2845
|
+
return ft instanceof Date ? A(ft) : ft;
|
|
2846
|
+
})), b === null) {
|
|
2847
|
+
if (o)
|
|
2848
|
+
return f && !_ ? f(n, B.encoder, k, "key", g) : n;
|
|
2849
|
+
b = "";
|
|
2850
|
+
}
|
|
2851
|
+
if (La(b) || Ke.isBuffer(b)) {
|
|
2852
|
+
if (f) {
|
|
2853
|
+
var Y = _ ? n : f(n, B.encoder, k, "key", g);
|
|
2854
|
+
return [w(Y) + "=" + w(f(b, B.encoder, k, "value", g))];
|
|
2855
|
+
}
|
|
2856
|
+
return [w(n) + "=" + w(String(b))];
|
|
2857
|
+
}
|
|
2858
|
+
var V = [];
|
|
2859
|
+
if (typeof b > "u")
|
|
2860
|
+
return V;
|
|
2861
|
+
var X;
|
|
2862
|
+
if (r === "comma" && G(b))
|
|
2863
|
+
_ && f && (b = Ke.maybeMap(b, f)), X = [{ value: b.length > 0 ? b.join(",") || null : void 0 }];
|
|
2864
|
+
else if (G(u))
|
|
2865
|
+
X = u;
|
|
2866
|
+
else {
|
|
2867
|
+
var De = Object.keys(b);
|
|
2868
|
+
X = y ? De.sort(y) : De;
|
|
2869
|
+
}
|
|
2870
|
+
var ce = l ? n.replace(/\./g, "%2E") : n, W = i && G(b) && b.length === 1 ? ce + "[]" : ce;
|
|
2871
|
+
if (s && G(b) && b.length === 0)
|
|
2872
|
+
return W + "[]";
|
|
2873
|
+
for (var Z = 0; Z < X.length; ++Z) {
|
|
2874
|
+
var $ = X[Z], Se = typeof $ == "object" && typeof $.value < "u" ? $.value : b[$];
|
|
2875
|
+
if (!(a && Se === null)) {
|
|
2876
|
+
var ut = m && l ? $.replace(/\./g, "%2E") : $, Vr = G(b) ? typeof r == "function" ? r(W, ut) : W : W + (m ? "." + ut : "[" + ut + "]");
|
|
2877
|
+
R.set(e, O);
|
|
2878
|
+
var cn = qr();
|
|
2879
|
+
cn.set(kt, R), Qr(V, t(
|
|
2880
|
+
Se,
|
|
2881
|
+
Vr,
|
|
2882
|
+
r,
|
|
2883
|
+
i,
|
|
2884
|
+
s,
|
|
2885
|
+
o,
|
|
2886
|
+
a,
|
|
2887
|
+
l,
|
|
2888
|
+
r === "comma" && _ && G(b) ? null : f,
|
|
2889
|
+
u,
|
|
2890
|
+
y,
|
|
2891
|
+
m,
|
|
2892
|
+
A,
|
|
2893
|
+
g,
|
|
2894
|
+
w,
|
|
2895
|
+
_,
|
|
2896
|
+
k,
|
|
2897
|
+
cn
|
|
2898
|
+
));
|
|
2899
|
+
}
|
|
2900
|
+
}
|
|
2901
|
+
return V;
|
|
2902
|
+
}, Ha = function(e) {
|
|
2903
|
+
if (!e)
|
|
2904
|
+
return B;
|
|
2905
|
+
if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
|
|
2906
|
+
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
2907
|
+
if (typeof e.encodeDotInKeys < "u" && typeof e.encodeDotInKeys != "boolean")
|
|
2908
|
+
throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
2909
|
+
if (e.encoder !== null && typeof e.encoder < "u" && typeof e.encoder != "function")
|
|
2910
|
+
throw new TypeError("Encoder has to be a function.");
|
|
2911
|
+
var n = e.charset || B.charset;
|
|
2912
|
+
if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
|
|
2913
|
+
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
2914
|
+
var r = Re.default;
|
|
2915
|
+
if (typeof e.format < "u") {
|
|
2916
|
+
if (!Fa.call(Re.formatters, e.format))
|
|
2917
|
+
throw new TypeError("Unknown format option provided.");
|
|
2918
|
+
r = e.format;
|
|
2919
|
+
}
|
|
2920
|
+
var i = Re.formatters[r], s = B.filter;
|
|
2921
|
+
(typeof e.filter == "function" || G(e.filter)) && (s = e.filter);
|
|
2922
|
+
var o;
|
|
2923
|
+
if (e.arrayFormat in Wr ? o = e.arrayFormat : "indices" in e ? o = e.indices ? "indices" : "repeat" : o = B.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
|
|
2924
|
+
throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
|
|
2925
|
+
var a = typeof e.allowDots > "u" ? e.encodeDotInKeys === !0 ? !0 : B.allowDots : !!e.allowDots;
|
|
2926
|
+
return {
|
|
2927
|
+
addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : B.addQueryPrefix,
|
|
2928
|
+
allowDots: a,
|
|
2929
|
+
allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : B.allowEmptyArrays,
|
|
2930
|
+
arrayFormat: o,
|
|
2931
|
+
charset: n,
|
|
2932
|
+
charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : B.charsetSentinel,
|
|
2933
|
+
commaRoundTrip: e.commaRoundTrip,
|
|
2934
|
+
delimiter: typeof e.delimiter > "u" ? B.delimiter : e.delimiter,
|
|
2935
|
+
encode: typeof e.encode == "boolean" ? e.encode : B.encode,
|
|
2936
|
+
encodeDotInKeys: typeof e.encodeDotInKeys == "boolean" ? e.encodeDotInKeys : B.encodeDotInKeys,
|
|
2937
|
+
encoder: typeof e.encoder == "function" ? e.encoder : B.encoder,
|
|
2938
|
+
encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly : B.encodeValuesOnly,
|
|
2939
|
+
filter: s,
|
|
2940
|
+
format: r,
|
|
2941
|
+
formatter: i,
|
|
2942
|
+
serializeDate: typeof e.serializeDate == "function" ? e.serializeDate : B.serializeDate,
|
|
2943
|
+
skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls : B.skipNulls,
|
|
2944
|
+
sort: typeof e.sort == "function" ? e.sort : null,
|
|
2945
|
+
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : B.strictNullHandling
|
|
2946
|
+
};
|
|
2947
|
+
}, za = function(t, e) {
|
|
2948
|
+
var n = t, r = Ha(e), i, s;
|
|
2949
|
+
typeof r.filter == "function" ? (s = r.filter, n = s("", n)) : G(r.filter) && (s = r.filter, i = s);
|
|
2950
|
+
var o = [];
|
|
2951
|
+
if (typeof n != "object" || n === null)
|
|
2952
|
+
return "";
|
|
2953
|
+
var a = Wr[r.arrayFormat], l = a === "comma" && r.commaRoundTrip;
|
|
2954
|
+
i || (i = Object.keys(n)), r.sort && i.sort(r.sort);
|
|
2955
|
+
for (var f = qr(), u = 0; u < i.length; ++u) {
|
|
2956
|
+
var y = i[u];
|
|
2957
|
+
r.skipNulls && n[y] === null || Qr(o, Ma(
|
|
2958
|
+
n[y],
|
|
2959
|
+
y,
|
|
2960
|
+
a,
|
|
2961
|
+
l,
|
|
2962
|
+
r.allowEmptyArrays,
|
|
2963
|
+
r.strictNullHandling,
|
|
2964
|
+
r.skipNulls,
|
|
2965
|
+
r.encodeDotInKeys,
|
|
2966
|
+
r.encode ? r.encoder : null,
|
|
2967
|
+
r.filter,
|
|
2968
|
+
r.sort,
|
|
2969
|
+
r.allowDots,
|
|
2970
|
+
r.serializeDate,
|
|
2971
|
+
r.format,
|
|
2972
|
+
r.formatter,
|
|
2973
|
+
r.encodeValuesOnly,
|
|
2974
|
+
r.charset,
|
|
2975
|
+
f
|
|
2976
|
+
));
|
|
2977
|
+
}
|
|
2978
|
+
var m = o.join(r.delimiter), A = r.addQueryPrefix === !0 ? "?" : "";
|
|
2979
|
+
return r.charsetSentinel && (r.charset === "iso-8859-1" ? A += "utf8=%26%2310003%3B&" : A += "utf8=%E2%9C%93&"), m.length > 0 ? A + m : "";
|
|
2980
|
+
}, _e = zr, qt = Object.prototype.hasOwnProperty, qa = Array.isArray, I = {
|
|
2981
|
+
allowDots: !1,
|
|
2982
|
+
allowEmptyArrays: !1,
|
|
2983
|
+
allowPrototypes: !1,
|
|
2984
|
+
allowSparse: !1,
|
|
2985
|
+
arrayLimit: 20,
|
|
2986
|
+
charset: "utf-8",
|
|
2987
|
+
charsetSentinel: !1,
|
|
2988
|
+
comma: !1,
|
|
2989
|
+
decodeDotInKeys: !1,
|
|
2990
|
+
decoder: _e.decode,
|
|
2991
|
+
delimiter: "&",
|
|
2992
|
+
depth: 5,
|
|
2993
|
+
duplicates: "combine",
|
|
2994
|
+
ignoreQueryPrefix: !1,
|
|
2995
|
+
interpretNumericEntities: !1,
|
|
2996
|
+
parameterLimit: 1e3,
|
|
2997
|
+
parseArrays: !0,
|
|
2998
|
+
plainObjects: !1,
|
|
2999
|
+
strictDepth: !1,
|
|
3000
|
+
strictNullHandling: !1
|
|
3001
|
+
}, Wa = function(t) {
|
|
3002
|
+
return t.replace(/&#(\d+);/g, function(e, n) {
|
|
3003
|
+
return String.fromCharCode(parseInt(n, 10));
|
|
3004
|
+
});
|
|
3005
|
+
}, Jr = function(t, e) {
|
|
3006
|
+
return t && typeof t == "string" && e.comma && t.indexOf(",") > -1 ? t.split(",") : t;
|
|
3007
|
+
}, Qa = "utf8=%26%2310003%3B", Ja = "utf8=%E2%9C%93", Va = function(e, n) {
|
|
3008
|
+
var r = { __proto__: null }, i = n.ignoreQueryPrefix ? e.replace(/^\?/, "") : e;
|
|
3009
|
+
i = i.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
3010
|
+
var s = n.parameterLimit === 1 / 0 ? void 0 : n.parameterLimit, o = i.split(n.delimiter, s), a = -1, l, f = n.charset;
|
|
3011
|
+
if (n.charsetSentinel)
|
|
3012
|
+
for (l = 0; l < o.length; ++l)
|
|
3013
|
+
o[l].indexOf("utf8=") === 0 && (o[l] === Ja ? f = "utf-8" : o[l] === Qa && (f = "iso-8859-1"), a = l, l = o.length);
|
|
3014
|
+
for (l = 0; l < o.length; ++l)
|
|
3015
|
+
if (l !== a) {
|
|
3016
|
+
var u = o[l], y = u.indexOf("]="), m = y === -1 ? u.indexOf("=") : y + 1, A, g;
|
|
3017
|
+
m === -1 ? (A = n.decoder(u, I.decoder, f, "key"), g = n.strictNullHandling ? null : "") : (A = n.decoder(u.slice(0, m), I.decoder, f, "key"), g = _e.maybeMap(
|
|
3018
|
+
Jr(u.slice(m + 1), n),
|
|
3019
|
+
function(_) {
|
|
3020
|
+
return n.decoder(_, I.decoder, f, "value");
|
|
3021
|
+
}
|
|
3022
|
+
)), g && n.interpretNumericEntities && f === "iso-8859-1" && (g = Wa(g)), u.indexOf("[]=") > -1 && (g = qa(g) ? [g] : g);
|
|
3023
|
+
var w = qt.call(r, A);
|
|
3024
|
+
w && n.duplicates === "combine" ? r[A] = _e.combine(r[A], g) : (!w || n.duplicates === "last") && (r[A] = g);
|
|
3025
|
+
}
|
|
3026
|
+
return r;
|
|
3027
|
+
}, ja = function(t, e, n, r) {
|
|
3028
|
+
for (var i = r ? e : Jr(e, n), s = t.length - 1; s >= 0; --s) {
|
|
3029
|
+
var o, a = t[s];
|
|
3030
|
+
if (a === "[]" && n.parseArrays)
|
|
3031
|
+
o = n.allowEmptyArrays && (i === "" || n.strictNullHandling && i === null) ? [] : [].concat(i);
|
|
3032
|
+
else {
|
|
3033
|
+
o = n.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
|
|
3034
|
+
var l = a.charAt(0) === "[" && a.charAt(a.length - 1) === "]" ? a.slice(1, -1) : a, f = n.decodeDotInKeys ? l.replace(/%2E/g, ".") : l, u = parseInt(f, 10);
|
|
3035
|
+
!n.parseArrays && f === "" ? o = { 0: i } : !isNaN(u) && a !== f && String(u) === f && u >= 0 && n.parseArrays && u <= n.arrayLimit ? (o = [], o[u] = i) : f !== "__proto__" && (o[f] = i);
|
|
3036
|
+
}
|
|
3037
|
+
i = o;
|
|
3038
|
+
}
|
|
3039
|
+
return i;
|
|
3040
|
+
}, Ga = function(e, n, r, i) {
|
|
3041
|
+
if (e) {
|
|
3042
|
+
var s = r.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, o = /(\[[^[\]]*])/, a = /(\[[^[\]]*])/g, l = r.depth > 0 && o.exec(s), f = l ? s.slice(0, l.index) : s, u = [];
|
|
3043
|
+
if (f) {
|
|
3044
|
+
if (!r.plainObjects && qt.call(Object.prototype, f) && !r.allowPrototypes)
|
|
3045
|
+
return;
|
|
3046
|
+
u.push(f);
|
|
3047
|
+
}
|
|
3048
|
+
for (var y = 0; r.depth > 0 && (l = a.exec(s)) !== null && y < r.depth; ) {
|
|
3049
|
+
if (y += 1, !r.plainObjects && qt.call(Object.prototype, l[1].slice(1, -1)) && !r.allowPrototypes)
|
|
3050
|
+
return;
|
|
3051
|
+
u.push(l[1]);
|
|
3052
|
+
}
|
|
3053
|
+
if (l) {
|
|
3054
|
+
if (r.strictDepth === !0)
|
|
3055
|
+
throw new RangeError("Input depth exceeded depth option of " + r.depth + " and strictDepth is true");
|
|
3056
|
+
u.push("[" + s.slice(l.index) + "]");
|
|
3057
|
+
}
|
|
3058
|
+
return ja(u, n, r, i);
|
|
3059
|
+
}
|
|
3060
|
+
}, Ka = function(e) {
|
|
3061
|
+
if (!e)
|
|
3062
|
+
return I;
|
|
3063
|
+
if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
|
|
3064
|
+
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
3065
|
+
if (typeof e.decodeDotInKeys < "u" && typeof e.decodeDotInKeys != "boolean")
|
|
3066
|
+
throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
3067
|
+
if (e.decoder !== null && typeof e.decoder < "u" && typeof e.decoder != "function")
|
|
3068
|
+
throw new TypeError("Decoder has to be a function.");
|
|
3069
|
+
if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
|
|
3070
|
+
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
3071
|
+
var n = typeof e.charset > "u" ? I.charset : e.charset, r = typeof e.duplicates > "u" ? I.duplicates : e.duplicates;
|
|
3072
|
+
if (r !== "combine" && r !== "first" && r !== "last")
|
|
3073
|
+
throw new TypeError("The duplicates option must be either combine, first, or last");
|
|
3074
|
+
var i = typeof e.allowDots > "u" ? e.decodeDotInKeys === !0 ? !0 : I.allowDots : !!e.allowDots;
|
|
3075
|
+
return {
|
|
3076
|
+
allowDots: i,
|
|
3077
|
+
allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : I.allowEmptyArrays,
|
|
3078
|
+
allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes : I.allowPrototypes,
|
|
3079
|
+
allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse : I.allowSparse,
|
|
3080
|
+
arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit : I.arrayLimit,
|
|
3081
|
+
charset: n,
|
|
3082
|
+
charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : I.charsetSentinel,
|
|
3083
|
+
comma: typeof e.comma == "boolean" ? e.comma : I.comma,
|
|
3084
|
+
decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : I.decodeDotInKeys,
|
|
3085
|
+
decoder: typeof e.decoder == "function" ? e.decoder : I.decoder,
|
|
3086
|
+
delimiter: typeof e.delimiter == "string" || _e.isRegExp(e.delimiter) ? e.delimiter : I.delimiter,
|
|
3087
|
+
// eslint-disable-next-line no-implicit-coercion, no-extra-parens
|
|
3088
|
+
depth: typeof e.depth == "number" || e.depth === !1 ? +e.depth : I.depth,
|
|
3089
|
+
duplicates: r,
|
|
3090
|
+
ignoreQueryPrefix: e.ignoreQueryPrefix === !0,
|
|
3091
|
+
interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities : I.interpretNumericEntities,
|
|
3092
|
+
parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit : I.parameterLimit,
|
|
3093
|
+
parseArrays: e.parseArrays !== !1,
|
|
3094
|
+
plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : I.plainObjects,
|
|
3095
|
+
strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth : I.strictDepth,
|
|
3096
|
+
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : I.strictNullHandling
|
|
3097
|
+
};
|
|
3098
|
+
}, Ya = function(t, e) {
|
|
3099
|
+
var n = Ka(e);
|
|
3100
|
+
if (t === "" || t === null || typeof t > "u")
|
|
3101
|
+
return n.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
|
|
3102
|
+
for (var r = typeof t == "string" ? Va(t, n) : t, i = n.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, s = Object.keys(r), o = 0; o < s.length; ++o) {
|
|
3103
|
+
var a = s[o], l = Ga(a, r[a], n, typeof t == "string");
|
|
3104
|
+
i = _e.merge(i, l, n);
|
|
3105
|
+
}
|
|
3106
|
+
return n.allowSparse === !0 ? i : _e.compact(i);
|
|
3107
|
+
}, Xa = za, Za = Ya, $a = ln, el = {
|
|
3108
|
+
formats: $a,
|
|
3109
|
+
parse: Za,
|
|
3110
|
+
stringify: Xa
|
|
3111
|
+
};
|
|
3112
|
+
const tl = /* @__PURE__ */ Fo(el);
|
|
3113
|
+
let Yn = Do();
|
|
3114
|
+
Sr.CancelToken;
|
|
3115
|
+
let Be = ({ url: t, params: e, method: n, ourl: r }) => {
|
|
3116
|
+
let i = r + t;
|
|
3117
|
+
if (n === "get")
|
|
3118
|
+
return Yn.get(i, { params: e }, { headers: { "Content-Type": "application/x-www-form-urlencoded" } });
|
|
3119
|
+
if (n === "post")
|
|
3120
|
+
return Yn.post(i, tl.stringify(e), { headers: { "Content-Type": "application/x-www-form-urlencoded" } });
|
|
3121
|
+
};
|
|
3122
|
+
function ze(t) {
|
|
3123
|
+
return Be({
|
|
3124
|
+
url: "/api/v6/terminal/configs/by_name",
|
|
3125
|
+
method: "get",
|
|
3126
|
+
params: t,
|
|
3127
|
+
ourl: ""
|
|
3128
|
+
});
|
|
3129
|
+
}
|
|
3130
|
+
function nl(t) {
|
|
3131
|
+
return Be({
|
|
3132
|
+
url: "/api/v1/user/info.json",
|
|
3133
|
+
method: "get",
|
|
3134
|
+
params: t,
|
|
3135
|
+
ourl: ""
|
|
3136
|
+
});
|
|
3137
|
+
}
|
|
3138
|
+
function rl(t) {
|
|
3139
|
+
return Be({
|
|
3140
|
+
url: "/api/v1/users/mobile/members/information",
|
|
3141
|
+
method: "get",
|
|
3142
|
+
params: t,
|
|
3143
|
+
ourl: ""
|
|
3144
|
+
});
|
|
3145
|
+
}
|
|
3146
|
+
function Xn(t) {
|
|
3147
|
+
return Be({
|
|
3148
|
+
url: `/api/v6/contents/${t || 1981}`,
|
|
3149
|
+
method: "get",
|
|
3150
|
+
params,
|
|
3151
|
+
ourl: ""
|
|
3152
|
+
});
|
|
3153
|
+
}
|
|
3154
|
+
function il(t) {
|
|
3155
|
+
return Be({
|
|
3156
|
+
url: "/apis/logs",
|
|
3157
|
+
params: t,
|
|
3158
|
+
method: "get",
|
|
3159
|
+
ourl: ""
|
|
3160
|
+
});
|
|
3161
|
+
}
|
|
3162
|
+
const ct = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAB7FJREFUWEell3uMXFUdx7+/c8+9c3d3dnd22t0usNJduwULSisFtFX6EHz8YTRReSTGUmMMakMQNDYEoktAA4lgTayGGINFSMAHCYqJD2iXpm4UNH0I+KDdndLS6e62u7Ozj7mvc37mnDuz7UxfC97sJpO5957f5/f7fn+/c4bwDi8+ekcPpP8hQAHkD9KS742+k6Xo7b7EIwM57cf3EvGdxJCcLhAw02PlcPb+jr5tpbez5oIBeNeAVCu828DqISJalAaphke6DAHHmcT94vXoZ7RxIFkIyIIAePzR9YnS2whYRUQcnZzGxJ7XaK4wBgiC37MI+TUr4Hd3pESEfZroLrfz7pcuBHFegODI9n6ZEQ8w+BYwkwojTA0dwOy+g5BkY9tLM5AQoeWqZcitXcmO71Xjil/Hir/VdNFXC+cCOSvA2Nj2bAdlvwHWW0HwWTNmXv0PTe15BTJJ4AmCdEQVgKCZEWtGrDRUJoO2Nas4+94VIEPICLRwHjk2rb7b1/fFoBHkDIBw9BefB9jofImRODxWxMTgX4hKJXiS4DrC/tsKVEugNUMZCMWIlEaUMJDPI7duDfsXd5NZhwnHQfz1TNdtz5wOMQ9gTJb09/wKgj5tXojKZSq9vBfx4TdtYE8KeCawyV6QzZ4ofd1UgI0MWiPRbAFSEA23dynyH1jNMput+pafkweP3lQz6TxANPzjLSD8iEA8/cZBlF7ZS54AMtJkbDI3gQUckQYm3wW9pwfc3A8c+Bt4pmxBtDYgqRwGIkwYMQPt16xGa3+vdahD/BWnb8tj1c5JweL/btsFYENYmsLYzpfgS2H/Tfa1wMIEtpkDWLUMeNdioPlaoHgY2P28rQIbCDaSAElVjiBRCBJG14Z1nMnnQKA98rI719UBRK89PCKIlp7c/yqp40U0ucJmL2VqNmG6PP1Lr9XLgSW5FODkcWDXs6cmg4GodYepQqwxFynIiy5G/qorjcIF78qtfXUAyb4HRwAsPbl3H4m5aTR7DlxpSk42aFXuU/5p8cHXXQZqWwsMPQ+MH52/VxtPphpKw3qhEimo5lYsfv8qJkLBWXnfu+sB/v7tEWjunfz3vyDDWTQZAIdArpO2U2xyqi0NcFcLeHkeIvth4NDrwMH9p+DMY74PjmPoJLHdEUQKid/MHZdfYSw04lz7QAPA0NYRMHpLI4cgk4qVQDa5EKuXpBPnn+PAdJyW2RfgK1rt96J1LQAH2DcETJ5IB/LiTmDl1UBQgf7rEOIwRBBpJJ7Pub5+U8yCs/bhegn07ruHmXXv5FtHyFUh/IwDmfUgVnalmR2cBE7MmX6GXu4AmdQNjgEgBwhD4MA/gCgCei4F+lekLTo0iGSuYiVInAzyl1zKTFRw1j1aXwH1wtdGAFpaGi+SRALfE5AOQXS2QOciaDUDKhPgMbjV2t0aw2n7IAgyhSyXgakpoKsLTAJUHIceLdr5YCUglzs6u81UKogbt9cD6D98eRjg3smpCZKkqgBpByTZCSCf2OoaeVNbsv0s2w2Ac/pwSzMfH4Uomtlg2jH1QKwF8rlFhrwgPvHTegD+7aZhJvROzk2TdBm+56QVIEC5J6Dz5TOCmC9k+3UgI8H8lcLp4hhE2cwEIEkYQayQxISO5lZDXhCfeqIB4De3DrOpgA5JZgi+66QzAICiCajcm9UQaYDa5dYBpPWxFSiWIMIMzD5Rq4CKmTvIN7cL9NmnGyR4+jNmDvROSg3Z5NRJoNU04uz+6jAw+qfhTSg3d01DBdJ7+lgIgaytQJxoWwFV0cgnxAw6LG59tr4L+MlPDjNz30SzhGyRVgKz6wkBsFYIxZ/SedBwebmrzwrAYy0gx7d7g50DYYJkLsaiijJj8jBt+n0DwM8/Pgygr9TiAe0Z24YpQDr/g7nfgUWlTmpigtf+PpCoeaBqziQBRZfDDHB7Vog1glAB5RC52dCY8DBt/mMjwMd2A7g+kgLlriyaMg4814HjpK4Piy9Dh8aIp3Q+qyuNNDIDv+d626lKa0SxRiVQaB+fgZvYiTpIm/+8sSajXYd3fPR2AD8Bg4Ksy8HiLHmegCud+b1/fic8V2SzTtUfxnw2e3M2CBNkxmfRVIlM9kbTO2jzi9vrAQY2SPQ66YHEtJF0UFnUQtzu224wm5KVo7ox2U+nNYSdCpyeD+12rIz7NUQpQObkLByl08HB/BwK6iYaGLSn5jNcxTtuuAWEH4DQbV5ImlwKlrSCmj07Fxw7G0S6O9benj8HwAZWSoMrMWeKZZJhbAKbJ4+AcA994cWnTi/gWQ+l/PgGH464F8A3QciYusUdTRx1tpHjG1+YCZma01bUZG36PdHQkYI3Wma3FBCZO4wQhIdQ1o/QlsGZRvXOeyznpz6yFFp/HxCfs6NXEgeL2yjpbIFT9YbteWM2peGOzSAzPs2k2JzsGEzPQOE+2rzz0DkNex4/zd/iJzauh+BtAFaaL5XvIuhqI92aYdYgZyaAP1qGE1V/DDH2guku2rTr//thcjocG5Muw5dA+A6IuxvsUxWCzIHgHryBHTWTXSjBBf00qwP55Y3tiKIBEN1ujibV+RwD/EO43oN08wtTFwp6QRMuZAF+fEM3XL3ePuvJPXTzzrcW8l7jM/8DY7aLTvxM4VYAAAAASUVORK5CYII=", qe = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABNCAYAAADjCemwAAAAAXNSR0IArs4c6QAABuRJREFUeF7lnI1x3DYQhXc7iCqIXUGiCmJXELmC2BVEriByBZEriFxB7ApiVxCngjgVxB0g8ziLGx4FYB9AgKQUzNzcjA4kwE/78wACUNmphBC+FxF8vhORJ/b5xr7nvfoqIvh8se/PIvKXiHxWVfxt86JbtRhCAJgfReTKYAHQ2gJoH+3zQVUBd3gZCi2EADA/Gahnw59G5L2IvFNVfA8rQ6CZVf0sIi9FpIdF1QKABd6o6rvaC5n6XaGZZf1qsJj2R9cZAq8btBDCjYjAuvawLA8+4F2r6gevIvP7amiWBX+z4M60uWedOxF5szbrroIWQrgWEbhjjxIlRZQXuCesNn6QfXtYMdp5oaqQLk2lCZrFLlgX5ENLAZgoFSbdxcgFaxe6Dpk4flraxzWwOISU6lINzTLjHwkR6jUeQd2q6ievMvO79QXwIGtaJE0TuCpojcAA61ZE3jLWxMBK1bG+/dKQue9U9VVNuzS0BmCbwFo+bCO8KnAUtAZgiFev1mapmv9+Ah6ENSwPCYQpNDgXmgXfP8nGYV1Q4m+ZXo6uY30HOGR5plAxjoH2O5klkcqf72ldOSqV0uilN/wqQjOVj/+UVyAboH12marxOoffTYQj63taD95yWXqWLDSLY38THQIwWNgm0zJEf7JVKsBhru4yd6MSNADzguiDARYBVIBDbH6TApeERrrlYWOYZ40hBAhhuKpXnqbc9B40c0tky5Lvu37v9Sb1u2U7ZDrM8KKgHUiB7vNiZHL4qKrPl31NQcOYEhqnVDDN0l1WhBByIeG1qmJU0bWEEGBt3vAL8Rq681TOoJHBnxaBNU8YQsDgH/ImVb6q6kXN/Zi6pFfds7YlNM/KhrglHjCEAGlTmnV4oqr/MDBq6pBuemZtJ2iklWUzSk1HM/FsF2j2D/Pc9Mza5tAQx2BpuYJsCdE3RI/tZWkGjcmmF/HZ59CQMfHyNleGBP/Y2J7QSGs7edkEjXTNpGZZ65YHgoaXQqUMfXLRCM27YEjGnAM/gKVBl0LylPTp5KIRmhcIn/Waos5Z5t7QzOPwkqg0jTSFqAjt3wLhIRppCe8g0LyEMHmc2gAWSSBX3qvqi16x6+CW5rnoF1V9Cmie1BiaNY+SCGb98ELVBaB5fjw8nu05IkiECY/HJaD5ZAcJ2iNlz5mleZ73EtBKonaTJHAwS/OSwQ2glWZok/NJI5LCEbInKfRvAS0UIPwfoSGDQoLlyp0HbRO5cST3tL6UDMmFNnz4VCE5sI52zQwLrv3ErMd1vM+FdiRL6xVK3bfoDLTSEOpIMa0XNNznNDeW0GlUTCtlz2nY0LO3K4ZRPbtxlVt/SwwrJ8nxUHTaVtA8nXYNaN7LlCEvNBJu4SnxntAwbZ9ccxtC8OYWrwDNe6GRNeWeT1G5pGtN08WQE0LwVklNY0/vP4w1sq/X9JK91qbdMWCGi3ire9jbxnrT23pboJyVLk64EkUh3g9slkFrKfSuz7JgZm6LKbp3x/e8H+t1EZqXDDaZiNwTmA2fvGmyKb5HaF5ce/QuSrjmyeMiNG9uHBfcWz2zt2X0bJ+YwT4NKedv2D3T3Gzw3hMGey9nXhG3OS1gnkPzlDAuHPqWnX3A3vWIlZ9n2m651Ko0eEdfH11sIzeWnHnZEpo3Onh0sY0YRt7zsCU0JiEMXXLV2/VK9yMXLN+L5ak1t4y1bTa0GgWRdMtkHM8tiWf2EAxZPDwK0vK+xMAclyRXfuagMZn0wcY3Ilvi2bJhqLRjxXs9jxtjtgCit3k/+FaWFdshgZ3psmUfS9CQFJgtiw8GXAWwYsz2duGxbgpw2BQ79LiaNVYZQsDSUMzKesVVB8x+z5pjJNzXY16Pe/9uM8KYjfV2psQ45u5ZdaHhTsRgdv6ssDZk1t33fpoOw7SXt5sw9p9aVkZBM3CYKsZRDkwZcsYP07D1FfE4HuPDXubuKI43oqE1gIvmPux0qYT2AiyEk9ozj6omWaugNbhqfK6hljfb8lgLqygtciZaDc3AMUOtVJvIsoh5OF0KMybNC1o6HGiHtjF9XX0aTRM0Awc3ALw1r9qwjzKe8QhrnA5pmsO0MSKaxBakb+0bmZAN7ql/3qpd0c3QDBw63nLuEBucR9SDXoM0arbyVdDiExFv6Uc8fO09YV3IkNXuuGyoC7SZ1WG82no8WC0Etn73M4+6QZtZ3Q+mkRgFzj54a70uJ/MNs7SEZgI8vE/1DhFoBZK7rrtlbQZtZnlIFrA6aKjSJtw18AAKWRhBHutqm4M804nu7llqdHayHs7dAMxWiPHcSEgW6D7qeEQGCFNnU2gJF4bGwxmP+AbAeGjmsmo8ZBPfOAeo+6kJDKxY5z/fJoSGTJsFQQAAAABJRU5ErkJggg==", We = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAYCAYAAAAPtVbGAAAAAXNSR0IArs4c6QAABPxJREFUSEuVlltsFFUYx3/fzM7M3rrdFsqlLbRI0XKHEgIvGvAWFHkwQWOMvBkxIRreJJoQTHzwARMwhqiJMRoNJiqJ+IBBITEmcokFDJeUUrq0pbSyvWwvO7O7MzvHzC69EAqESfZhz3zn/L7zff/zPyM84FGpNUlE347wEopmoAEIo9QI0I5wBvzDpC6clc1491tKZnqhUruTyKkPwH0HxHpQIuV3qgO0PdL4z88zxd4DUTdf20p42bcUR6tx/sL38mSHMrhZG7+QLy8pIYyIRaQqgRmLIjKxjDqCq96WJefT02F3QVRXy06UfI7RhB96nLHO32D4PBFDYRp351hwIZsDx7dILphPtDo5EdCGcjbLoiv9EwOTEDX4/nNk/z6OP4ZrO9g9PSRMm8kk71Mz34ehMZCKaqob6xFNA6UuYslGqW21g2kliLq2qZ7k5qvgRQsDv+N2txKz/Ie3YlrEaBbyZiWzFzeUQXBIGlt3TUHS731PIfV6URpwLh4ibuUeCTARPDgKevU8kvXzykMhf43Un/9X1M0X6rE29ECR8Y7DxPOp+wJ8q4q8VomnxxHlEs71EiqOT8YrBX1DULN8KUY4EKX6ThrP7RCVWvcuodkHi9oK3MsHCJvTGKJDoh5icyAyC8/zyRWbCM/fhfIGGe3cS8XIGUycyUnjDrjRGqoa6oKxHFmnRlT3M0fwMy/nR2ys4fYpQgBY+BQktwc1wB3+EUPPQd1R6D0Eepx0LoqZ2U98uBVdU2V5K7g1rFO7dkVZ2uI/Kyr94U1yZ+tyva2Ec9PkXVEHi/dBdBs41ylGmtFv7yhDnOsgJkMDrVTxFYX+Nszxzsnz0jcIs5c1Y0TCgbR2i0rvVaBht39D1O2eqm/NctTCA2jpk1C4jd/0KfnrWwkn1+PG3sB1+jHtQxi6W5pT6DiJSVkwtzOQeKyJcCIe/P1IVPfTBcIbDafzVyK5K5MQO96MF1tFxZIvIddLuu8PTPuHUrYViSiiG9NOOnjZYaT3dKlsd0FE7RN1oyWFxBpzaZvw+IWpBsaX4RmVpRrnXR1LxvEzPZj+GLrKowloVgVaYj7E56JbceyrJ4gZLv1DMGvp9HJ1tRxFybZCZhgz0zUJGatYSTFU2i7KyaANXCYR02Z0AN9XFIoaIc0npAu9Qxq1a1eWd6qpLaI6W95Cky+KBZdi9xXMUFklo4kWfN1C5UbQ0peojJdO8UMfJw+5yByqFtZOk3Dn2gY07Rpg5G73E7bLvjYeX44nJvSdIxmf8UaYEVgq1ZrtGFon4P8kja2vlL3rRstnILt8z6PQ1UZY9+70AiyDh5rkBG0kC2rWOpJN28Dtg+Kpsq2UID2r6/D0y4hUuraN6uvA1B/NIAPbt/U7BhleDWbjQZm9b3ew/pTVp1q2IHIsGHQdh3x3B3Gr+NAeBAHBDrzKtVTXBbIulK3em7telhwr3XIzX1pBNYtF7P5byOggEQvK7j31BPeInQdH5hKbv4Bo7YugXMifbsPs3yRzL/03EX3v9du15jmUdgSkpN+i62EPj+A7NvgVpXm+GkVMg3D1Iqya55HgG8JNgdl0BHNspyQ+GZie0MwfEkPrKhn194P25l3pm80Q/FTQgD+DAwTGIjCXt+Pn9zDn419EuKeZD9Sm6lg1h1DoVRRPAhsQaShBzCcyqEI72eNnkcJRvr5wQvbdu/hEgv8DpQoQIxZU4UcAAAAASUVORK5CYII=", Qe = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAvJJREFUWEe9mPF1EzEMxvVt0EwA3YBu0E5AOwFlgqYT0E5AmYAwAe0EhAkaJqBMQDYQ77tn39Pp5Ds7R+r38kdaW/5Z+izJgSwcqnonIjfJzAbA7RKTWLJYVdci8tnZuANwf6jdpUA/ROTcbb4FcHEUIFV9JyInALbRBqraBKSqHXzJXve/0klU9cFoIzx1C5CqPosID8jxUNJaCKSqGxH54GDPAOzs32qBkmfoTTt4AT56h4yACjBcdwrg5UCgExH5G0RjBDUASlf4k1u4F5E1gG/eYK2HuE5Vr0XkawB1C4Dy6EYPpKpvReR3AHPhQ5XntAAlKGqIoaPH7OjlYIGs6PLkKwCPE8JvumUJ6lJEvjub/aXpgFQ1mjSb4Fo9ZDzLZMqkagcjsc1A/qQvAE5Lnjk0ZGYdQ0Z52NB1XkJBO9eRiJeIOljLy8M6aMeKQJH6VwB4uybHoSFLMom8tCYQBUYN5fEI4GoOJhltFrW1GxxoQyB/u5hzvrwSENuWPgeJyI5AzKBWXJcAnl4JyN/uPYHUbX4O4GclkA83l7WEnNV/UOOWAvnMy4vArDuoeaXDRUV3UciSsFly2BkQ5qkWJq31HupCxgRFo3lUi7omrFNzVDUUtddB2Kcs3TxaH6acgHIPYHUMAG8zjE7qm5mL7OgK3TGhChXirFRcF70cag4SeGcHoAeK6tmgk6vZpHZO4T3XFXTboPnb1pRTGmB4oykRWx36dscCjbKmiDDBUU9ViW4OKrU6zMw2zXBZ3+74Jj96/vwXqAmYQZrxQHQj3elPwPDd29fBnDdcm8F2lQ2Zb+55WJaavveK3mWEidzKPWiAvfboSVRIfJQBQfz7P9sayaH0cp2CysaYp/iS/WVg6IE36cnM1sJ7JE8tymDqbU9jPJ1/HbREK5rLhozhD1vk2Z9jUkYlmNdVKxi9wts02WvNAuVdExirc/4FoxaIoeVNqtJdNZABo6co0vfJa/yetcIw8JP1xe7xTy055/0DfJmj9v76688AAAAASUVORK5CYII=", ol = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIYAAABtCAYAAABk+hnQAAAAAXNSR0IArs4c6QAAB7FJREFUeF7tnYtx3DYQhncrcNSBXEHsCmJXYKuCyBXYriB2BZEriFRB5AqiVBC7gsQVRKkAmZ8DnkEeH1gQxIuLmZub0YEgsPtpsYsnk6YzCRhjLonoBRE9IaJnRPQDEeFv+O4/7nOPROR+/iEifL7im5m/1CZmrq3CsetrjIGiofxX9rsHIfarHogIgPxJRA/MDJCKTYcEw8LwMxG9dixCaiUBlFuAwsywLkWlw4BhYQAIAALdREmph+RzKZakeTAsEO+I6K31D0oCYlwXdC/3RPQxtxVpFgzrQP5CRNclk7BQN3Qz2QBpDgxrIT5YC1EpE4NqZwGkGTAq6zJCgP1IRDepfJAmwDDGwJn8zY41hAi9lmcQvXxg5ru9K1w1GA12G776Rvfyfk/rUS0Y1rn84wBWYg4WWI+Xe0UvVYJhjEGk8WsF4aevBdiSD5ELnO2oqTowjDEQAsJQTd8lAKf0fUyBVAOG9Sdu7MhlTBm0UhbmYdC1RJmDqQIMCwX8CUxwaZqXQDS/o3gwrJP5u0Lh/f8QBY6iwVBL4Q3DOONmOIoFQ8PRYCj6BwHH81Cfo0gwjDHwJdB9YNWUpnAJBDukxYGhYxThFMw8ecvMb6SlFgWGjlFI1eedH8PnCPW9UzFgGGNQcSym0bSPBDDGgZViXik7GDbygD9R2nI7LwFWlEnkjGYFQyOP5FjdM/OVz1uzgaGRh496dslzxcxYV7qYsoChkceaWnb9HXMpT9fGN5KDoZHHrkr3LXx1NjYpGBp5+OotSb7FKCUJGBp5JFG09CXYJvly7qHdwdDIQ6qvpPlnrcauYGjkkVTJIS+btRq7gaGRR4iesjwzaTV2AUMjjywKDn3ppNWIDoZGHqH6yfrcxXhcIxoYGnlkVezWl2N3G7ZAnlIUMDTy2KqX7M8/MvNFVDA08siu1FgVGDihmyyGRh6xdFJEOYNh8mAwNPIoQpkxKzHoToLA0Mgjpj6KKguryrujJ0VgCCOP7kQ6e25FUa3XysxK4B0zfxKBIYw8TiuTrR+CQ000lS+B0wovL4shjDwGy9UVjPJpcGp48jNWwRBGHgPPVqGoCoq+spfM/G0RDGHkMRg9UyiqhAKVfs3Mn2fBEEYeCkW1HJxVvNPlGRjCyAOlKhTtQIGWdD7iAAxh5KFQtAVE35ovzPz8BIYw8lAo2oQCrcL9Kk87MKyl+EtwCt64+8Ah7jhFT1MDEmAkC8bfgrMoxlDoKXoNwDBqwgULw0qFoj0Iplp0CTBwGp7PTnOF4hhQoJUdGP96+BaDXdL2UHcApalNCXRgGM+2DU5lMcbgdN7oRxV71kWz7SsBb4vRV2NwbrXCsa92MpYu8jEUjoyaSvzqDoyQLkEtR2JNJX5dF67iQlqMY+BbkhQOibQqyusOcIWOXCocFSncs6rdYh13riSkS8G7FA5PiVeSrdvLOp5dxU3GWJ+p3UolWtyhmt2Y1dR6DJzfHXLXmFqOHbSUocjphTqoyIY7QhSODJqM/MrlpX0WEEylwzGVJIVDIq3y8nabjnxWiYc4pSc4hLO35YnpWDXy3z5gLUeIU4rzFrDdDeeEa6pDAqfTdVYtRt+egPWgdYhCa+lK4LS0whuMjU6pir8OCbxgZuw3lm1qdqxHiFNah2iOW8vtxyBY6xHilB5X7OW3fLDnWNSVjNtmjAlxSssX0TFr2I1f9E3fBIbjd4SMlB5T/GW2Ov7hbOqUlqlpYa3OblrcbDHcChhj1CkVaqSQ7KcjlqJ1JRN+hzqlhWjbsxrdXtVx3qgWwwln4ZTCeuhNy57ayZjtmpnvkoChTmlGNcte3W1gnnpkF4vhWA5YDCz88dnpJmuS5o4hgUlrgYJ3BcMBRP2OGGqMW8astUgGhu1aFI64it1a2qy1SAqGhQNdCroWdUq3qnXb84sX5SUHQ53SbdqM+DQu5MVd77MpiY8xfrvd5ATLgbBWU1oJnF1akzwqWWtv4PbItWL193kJLDqc7mNZLIZbAWNM6C44BUAugdUupC8yOxjW73hm14aqUypXtu8TXl1IUWCoU+qr2+B8Z7OnayUVYTH6SqpTuqauoN8RfWD29FHydFFgOIDoYJhEiwvOJhHhErzF0LS4qGSp7eqUbiYDFgKWQgwF3lykxXAsB5xSLBuU7r7fLNXKCwAUsBTd/WYhqWgwnIhF4fDX7mYoircYjuUIPZrBX5xt5IwCRTVgaDjrRS18iast3Yf7luK7EreyG87t8JJsxZkARVD0MdfmqsBwuhZdjf5do/dE9EY6TrH2T1AlGLZrwRwLxjuOHLGcLtBdU7T092rBOLjfEdWfmIKmajCcruVII6U39ghN0RD3oSzGhGMK36PVxT8P9sbK7vyKvVMTFmMEyLX1PVqZwke3gSnzs01Be8LRHBhO91I7IOgq0G18ih1x+ADVLBgjQN4SEeZdakiY37glorscQPQCah4MB5CfiAhWBD5IaSEurAN8iJv+DKzcBB8GDAcQQAE4XmV2VAEDrAMGqLJah2bD1S3/XcYYWBKAgs1Qe3c3AAGWATB8zdlVrMnscBZjSSB2aeGPFhBENQAF39IIB5FE/wEM+BQNwlguCsbav4793ULzZAaS/4gI15QSM3/zLLLobP8DM+bWTnMnDDwAAAAASUVORK5CYII=", Zn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAMCAYAAABBV8wuAAAAAXNSR0IArs4c6QAAAHdJREFUKFOFkGERgmAQRN82MIJVTCANkCTSQCNAAxpAA4hABBusfM7JfMgw3q+be7O3tyfbNdBJmshKtu/ADbhImr9MqbH9AIocfkDAHjgFfOUgDUdgkFStIFRnICnbI9D8X2V7b277uRhfN+dG8nIXMMK1vy95AxCKOwb9TpvIAAAAAElFTkSuQmCC", sl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAcCAYAAAAnbDzKAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFSSURBVHgBzZeNbYMwEIXvCLN0ga7RBdoB0gG6QBboAizQBTpGu0BHiQLuGYWXRDH+wXeKn2QJ8Jn7PskgIDKMc27vBxmmJ6PM4Gd4OSZmHsggTAa5hr904sFCQl0gCI9u+hKqAlF4dNSVUBPIgkdXPQkVgSJ4dNaR6KgyUXjnfmX8rcypvGKrBBLw37zbvct488crNdUSm7dQBvzh5tI4HmTbvATrK7bTJoFSeEwZSBQLbIVHibJEkUAtPEoVJbIFtOCxREkiS0AbHksVJJICVvC4RaVEVMAaHreqkFgVSMB/CfwnKUYkPgT2NTgZkeAwXwR+mgbue5OfE3c67anrij7F7wQeBY/+hRI3Ao+GB0eBBARagQdPpsQs0Br8khwJbhV+SUqio3EMr2wA3mdmEJbg5MLuLd00/WB468aSZERBg/BLkozueHymxiPP7NP1+T8OxHF5nfcjnQAAAABJRU5ErkJggg==";
|
|
3163
|
+
const al = (t, e) => {
|
|
3164
|
+
const n = t.__vccOpts || t;
|
|
3165
|
+
for (const [r, i] of e)
|
|
3166
|
+
n[r] = i;
|
|
3167
|
+
return n;
|
|
3168
|
+
}, ll = {
|
|
3169
|
+
name: "gameassis",
|
|
3170
|
+
props: ["access_token", "client_id", "channel_code", "game_id", "game_cloud_service"],
|
|
3171
|
+
data() {
|
|
3172
|
+
return {
|
|
3173
|
+
timer: null,
|
|
3174
|
+
currentTop: 0,
|
|
3175
|
+
clientWidth: 0,
|
|
3176
|
+
clientHeight: 0,
|
|
3177
|
+
itemWidth: 40,
|
|
3178
|
+
itemHeight: 40,
|
|
3179
|
+
coefficientHeight: 0.1,
|
|
3180
|
+
gapWidth: 10,
|
|
3181
|
+
left: 0,
|
|
3182
|
+
top: 0,
|
|
3183
|
+
timeOutEvent: 0,
|
|
3184
|
+
numi: 1,
|
|
3185
|
+
contentTab: 1,
|
|
3186
|
+
//tab切换画质与偏好
|
|
3187
|
+
anyhow: 1,
|
|
3188
|
+
//判断横竖屏幕
|
|
3189
|
+
typesOf: 1,
|
|
3190
|
+
//判断是否为pad
|
|
3191
|
+
computerTop: !0,
|
|
3192
|
+
computerOne: !1,
|
|
3193
|
+
//电脑端显示隐藏
|
|
3194
|
+
computerTwo: !1,
|
|
3195
|
+
//电脑端显示隐藏
|
|
3196
|
+
custom_menu: !1,
|
|
3197
|
+
isPad: "",
|
|
3198
|
+
isiPad: "",
|
|
3199
|
+
mobileOne: !1,
|
|
3200
|
+
//手机端显示隐藏
|
|
3201
|
+
mobileTwo: !1,
|
|
3202
|
+
//手机端显示隐藏
|
|
3203
|
+
expandShow: !0,
|
|
3204
|
+
setupTab: "",
|
|
3205
|
+
//选中
|
|
3206
|
+
comTab: "",
|
|
3207
|
+
terminal_id: 0,
|
|
3208
|
+
//传参端口号0-手机 1-TV 2-PC 3-PAD 4-H5
|
|
3209
|
+
vc: 5e4,
|
|
3210
|
+
//传参
|
|
3211
|
+
gameList: [],
|
|
3212
|
+
bitrateList: [],
|
|
3213
|
+
clearList: [],
|
|
3214
|
+
aspectList: [],
|
|
3215
|
+
codeTab: "",
|
|
3216
|
+
clearTab: "",
|
|
3217
|
+
aspectTab: "",
|
|
3218
|
+
wifiTab: 1,
|
|
3219
|
+
honeyTab: 1,
|
|
3220
|
+
head_url: "",
|
|
3221
|
+
//头像
|
|
3222
|
+
nickname: "",
|
|
3223
|
+
//名称
|
|
3224
|
+
duration: "",
|
|
3225
|
+
//时长
|
|
3226
|
+
points: "",
|
|
3227
|
+
//积分
|
|
3228
|
+
level: "",
|
|
3229
|
+
//会员等级
|
|
3230
|
+
durationflag: !1,
|
|
3231
|
+
pointsflag: !1,
|
|
3232
|
+
vip_centerflag: !1,
|
|
3233
|
+
dialogVisible: !1,
|
|
3234
|
+
screenImg: null,
|
|
3235
|
+
state_show: !1,
|
|
3236
|
+
user_id: "",
|
|
3237
|
+
phone: "",
|
|
3238
|
+
isHarmony: !1,
|
|
3239
|
+
//是否为鸿蒙
|
|
3240
|
+
isShowOperation: !1,
|
|
3241
|
+
//是否展示操作说明
|
|
3242
|
+
remainder: null
|
|
3243
|
+
//剩余时间
|
|
3244
|
+
};
|
|
3245
|
+
},
|
|
3246
|
+
created() {
|
|
3247
|
+
if (this.clientWidth = document.documentElement.clientWidth, this.clientHeight = document.documentElement.clientHeight, this.left = this.clientWidth - this.itemWidth, this.top = this.clientHeight * this.coefficientHeight, he.set("ass_channel_code", this.channel_code), he.set("ass_access_token", this.access_token), !navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))
|
|
3248
|
+
this.typesOf = 3;
|
|
3249
|
+
else {
|
|
3250
|
+
const t = navigator.userAgent.toLowerCase();
|
|
3251
|
+
this.isPad = /ipad/i.test(t), this.isiPad = /iphone/i.test(t) && /os [6-9]_\d+ like mac os/i.test(t), this.isPad || this.isiPad ? this.typesOf = 2 : this.typesOf = 1;
|
|
3252
|
+
}
|
|
3253
|
+
this.isHarmonyOS() && (this.isHarmony = !0), console.log(this.game_cloud_service, "game_cloud_service"), Xn(this.game_id).then((t) => {
|
|
3254
|
+
this.comTab = "", this.retract(), this.screenImg = t.ext.open_img_handle && t.ext.open_img_handle[0], this.screenImg && this.screenImg != "" && (this.isShowOperation = !0);
|
|
3255
|
+
}), this.getUserId(), this.getconfig(), this.getBitrate(), this.getClear(), this.getAspect();
|
|
3256
|
+
},
|
|
3257
|
+
mounted() {
|
|
3258
|
+
document.addEventListener("click", this.bodyCloseMenus), window.matchMedia("(orientation: landscape)").matches ? this.anyhow = 2 : this.anyhow = 1, this.$nextTick(() => {
|
|
3259
|
+
window.addEventListener("resize", this.renderResize, !1), document.body.addEventListener(
|
|
3260
|
+
"touchmove",
|
|
3261
|
+
function(e) {
|
|
3262
|
+
e.preventDefault();
|
|
3263
|
+
},
|
|
3264
|
+
{ passive: !1 }
|
|
3265
|
+
);
|
|
3266
|
+
const t = this.$refs.div;
|
|
3267
|
+
t.addEventListener("touchstart", (e) => {
|
|
3268
|
+
if (e.stopPropagation(), e.targetTouches.length === 1) {
|
|
3269
|
+
const r = e.targetTouches[0].clientX - this.left;
|
|
3270
|
+
(r > 60 || r == 60) && e.preventDefault();
|
|
3271
|
+
}
|
|
3272
|
+
t.style.transition = "none";
|
|
3273
|
+
}), t.addEventListener(
|
|
3274
|
+
"touchmove",
|
|
3275
|
+
(e) => {
|
|
3276
|
+
if (e.stopPropagation(), e.preventDefault(), e.targetTouches.length === 1) {
|
|
3277
|
+
let n = event.targetTouches[0];
|
|
3278
|
+
this.left = n.clientX - this.itemWidth / 2, this.top = n.clientY - this.itemHeight / 2;
|
|
3279
|
+
}
|
|
3280
|
+
},
|
|
3281
|
+
!1
|
|
3282
|
+
), t.addEventListener(
|
|
3283
|
+
"touchend",
|
|
3284
|
+
(e) => {
|
|
3285
|
+
if (e.stopPropagation(), t.style.transition = "all 0.3s", this.clientWidth = document.documentElement.clientWidth, this.clientHeight = document.documentElement.clientHeight, this.left > this.clientWidth / 2 ? this.left = this.clientWidth - this.itemWidth : this.left = 0, this.top <= 36)
|
|
3286
|
+
this.top = 36 + this.gapWidth;
|
|
3287
|
+
else {
|
|
3288
|
+
let n = this.clientHeight - 50 - this.itemHeight - this.gapWidth;
|
|
3289
|
+
this.top >= n && (this.top = n);
|
|
3290
|
+
}
|
|
3291
|
+
},
|
|
3292
|
+
!1
|
|
3293
|
+
);
|
|
3294
|
+
});
|
|
3295
|
+
},
|
|
3296
|
+
methods: {
|
|
3297
|
+
isHarmonyOS() {
|
|
3298
|
+
return (navigator.userAgent || navigator.vendor || window.opera).toLowerCase().includes("harmonyos");
|
|
3299
|
+
},
|
|
3300
|
+
// 埋点方法
|
|
3301
|
+
logReport(t) {
|
|
3302
|
+
let e = navigator.userAgent, n = e.indexOf("Android") > -1 || e.indexOf("Adr") > -1;
|
|
3303
|
+
var r = "android";
|
|
3304
|
+
n || (r = "ios");
|
|
3305
|
+
let i = {
|
|
3306
|
+
channel_code: this.channel_code,
|
|
3307
|
+
//渠道号
|
|
3308
|
+
into_type: t.into_type,
|
|
3309
|
+
//事件类型,参考产品埋点文档
|
|
3310
|
+
phone: this.phone,
|
|
3311
|
+
//手机号
|
|
3312
|
+
event_from_id: t.event_from_id,
|
|
3313
|
+
//事件类型
|
|
3314
|
+
into_type_id: t.into_type_id,
|
|
3315
|
+
//事件类型
|
|
3316
|
+
event_from: t.event_from,
|
|
3317
|
+
//事件类型
|
|
3318
|
+
user_id: this.user_id,
|
|
3319
|
+
//userId
|
|
3320
|
+
visit_id: Date.now(),
|
|
3321
|
+
//自定义生成,保持唯一就行
|
|
3322
|
+
version_code: "50000",
|
|
3323
|
+
//版本号
|
|
3324
|
+
login_state: this.access_token ? 1 : 0,
|
|
3325
|
+
//登录状态
|
|
3326
|
+
is_vip: sessionStorage.getItem("isVip"),
|
|
3327
|
+
//是否会员
|
|
3328
|
+
dev_code: 0,
|
|
3329
|
+
//设备号uacode
|
|
3330
|
+
mac_addr: ""
|
|
3331
|
+
//Mac地址非必填
|
|
3332
|
+
}, s = {
|
|
3333
|
+
version: "50000",
|
|
3334
|
+
//版本号
|
|
3335
|
+
app_key: "8888107",
|
|
3336
|
+
//app_key
|
|
3337
|
+
from: "wap_cloud5g",
|
|
3338
|
+
//来源
|
|
3339
|
+
channel_code: this.channel_code,
|
|
3340
|
+
//渠道号
|
|
3341
|
+
req_time: Date.now(),
|
|
3342
|
+
//事件请求时间戳
|
|
3343
|
+
timestamp: Date.now(),
|
|
3344
|
+
//事件发生时间戳
|
|
3345
|
+
user_id: this.user_id,
|
|
3346
|
+
ip: "",
|
|
3347
|
+
//用户IP
|
|
3348
|
+
screen_px: window.screen.width + "*" + window.screen.height,
|
|
3349
|
+
//分辨率
|
|
3350
|
+
osStr: r,
|
|
3351
|
+
//操作系统
|
|
3352
|
+
event_key: t.event_key,
|
|
3353
|
+
//事件类型
|
|
3354
|
+
event_value: JSON.stringify(i)
|
|
3355
|
+
};
|
|
3356
|
+
il(s);
|
|
3357
|
+
},
|
|
3358
|
+
// 获取个人信息
|
|
3359
|
+
getUserId() {
|
|
3360
|
+
let t = {
|
|
3361
|
+
client_id: this.client_id,
|
|
3362
|
+
access_token: this.access_token
|
|
3363
|
+
// client_id: '8888107',
|
|
3364
|
+
// access_token: '7c510e647deac338324abb5f0201f87a'
|
|
3365
|
+
};
|
|
3366
|
+
nl(t).then((e) => {
|
|
3367
|
+
e.code == 0 && (this.user_id = e.ext[0].id, he.set("ass_user_id", this.user_id), this.phone = e.ext[0].phone, this.getinformation(), this.head_url = e.ext[0].head_url ? e.ext[0].head_url : "../assets/image/head.png", this.nickname = e.ext[0].nickname);
|
|
3368
|
+
});
|
|
3369
|
+
},
|
|
3370
|
+
// 获取时长积分
|
|
3371
|
+
getinformation() {
|
|
3372
|
+
let t = {
|
|
3373
|
+
user_id: this.user_id
|
|
3374
|
+
// access_token:this.access_token,
|
|
3375
|
+
};
|
|
3376
|
+
rl(t).then((e) => {
|
|
3377
|
+
e.code == 200 && (this.points = e.ext.points, this.level = e.ext.level, this.countdownTimer(e.ext.duration));
|
|
3378
|
+
});
|
|
3379
|
+
},
|
|
3380
|
+
countdownTimer(t) {
|
|
3381
|
+
if (t && t === 0) {
|
|
3382
|
+
clearInterval(this.remainder);
|
|
3383
|
+
return;
|
|
3384
|
+
}
|
|
3385
|
+
this.remainder || (this.duration = (t / 60 / 1e3).toFixed(0), this.remainder = setInterval(() => {
|
|
3386
|
+
if (t -= 1e3, t <= 0)
|
|
3387
|
+
this.duration = 0, clearInterval(this.remainder), this.remainder = 0;
|
|
3388
|
+
else {
|
|
3389
|
+
const e = (t / 60 / 1e3).toFixed(0);
|
|
3390
|
+
e != this.duration && (this.duration = e), console.log(t, "remainingTime");
|
|
3391
|
+
}
|
|
3392
|
+
}, 1e3));
|
|
3393
|
+
},
|
|
3394
|
+
getconfig() {
|
|
3395
|
+
ze({ name: "game_header_menus" }).then((t) => {
|
|
3396
|
+
if (t.code == 200) {
|
|
3397
|
+
let r = [];
|
|
3398
|
+
for (var e = 0; e < t.ext.value.length; e++) {
|
|
3399
|
+
let i = !0;
|
|
3400
|
+
t.ext.value[e].link == "points" && (this.pointsflag = !0, i = !1), t.ext.value[e].link == "duration" && (this.durationflag = !0, i = !1), t.ext.value[e].link == "vip_center" && (this.vip_centerflag = !0, i = !1), t.ext.value[e].link == "game_quit" && (i = !1), i && r.push(t.ext.value[e]);
|
|
3401
|
+
}
|
|
3402
|
+
for (var n = 0; n < r.length; n++)
|
|
3403
|
+
r[n].flag = !1, this.typesOf == 1 && this.anyhow == 1 && (n + 1) % 4 == 0 && (r[n].flag = !0), this.typesOf == 1 && this.anyhow == 2 || this.typesOf == 2 ? (n + 1) % 2 == 0 && (r[n].flag = !0) : (n + 1) % 4 == 0 && (r[n].flag = !0);
|
|
3404
|
+
this.gameList = r;
|
|
3405
|
+
}
|
|
3406
|
+
});
|
|
3407
|
+
},
|
|
3408
|
+
// 获取清晰度
|
|
3409
|
+
getClear() {
|
|
3410
|
+
ze({ name: "new_resolution" }).then((t) => {
|
|
3411
|
+
if (t.code == 200) {
|
|
3412
|
+
this.clearList = t.ext.value;
|
|
3413
|
+
var e = {};
|
|
3414
|
+
localStorage.getItem("new_resolution") ? (this.clearTab = localStorage.getItem("new_resolution"), e = {
|
|
3415
|
+
name: "new_resolution",
|
|
3416
|
+
item_id: localStorage.getItem("new_resolution")
|
|
3417
|
+
}, this.$emit("set_qualitys", e)) : (this.clearTab = t.ext.active_item, e = {
|
|
3418
|
+
name: "new_resolution",
|
|
3419
|
+
item_id: t.ext.active_item
|
|
3420
|
+
}, this.$emit("set_qualitys", e));
|
|
3421
|
+
}
|
|
3422
|
+
});
|
|
3423
|
+
},
|
|
3424
|
+
// 获取清晰度
|
|
3425
|
+
getBitrate() {
|
|
3426
|
+
ze({ name: "new_bitrate" }).then((t) => {
|
|
3427
|
+
if (t.code == 200) {
|
|
3428
|
+
this.bitrateList = t.ext.value;
|
|
3429
|
+
var e = {};
|
|
3430
|
+
localStorage.getItem("new_bitrate") ? (this.codeTab = localStorage.getItem("new_bitrate"), e = {
|
|
3431
|
+
name: "new_bitrate",
|
|
3432
|
+
item_id: localStorage.getItem("new_bitrate")
|
|
3433
|
+
}, this.$emit("set_qualitys", e)) : (this.codeTab = t.ext.active_item, e = {
|
|
3434
|
+
name: "new_bitrate",
|
|
3435
|
+
item_id: t.ext.active_item
|
|
3436
|
+
}, this.$emit("set_qualitys", e));
|
|
3437
|
+
}
|
|
3438
|
+
});
|
|
3439
|
+
},
|
|
3440
|
+
// 获取画面比例
|
|
3441
|
+
getAspect() {
|
|
3442
|
+
ze({ name: "aspect_ratio" }).then((t) => {
|
|
3443
|
+
if (t.code == 200) {
|
|
3444
|
+
this.aspectList = t.ext.value;
|
|
3445
|
+
var e = {};
|
|
3446
|
+
localStorage.getItem("aspect_ratio") ? (this.aspectTab = localStorage.getItem("aspect_ratio"), e = {
|
|
3447
|
+
name: "aspect_ratio",
|
|
3448
|
+
item_id: localStorage.getItem("aspect_ratio")
|
|
3449
|
+
}, this.$emit("set_qualitys", e)) : (this.aspectTab = t.ext.active_item, e = {
|
|
3450
|
+
name: "aspect_ratio",
|
|
3451
|
+
item_id: t.ext.active_item
|
|
3452
|
+
}, this.$emit("set_qualitys", e));
|
|
3453
|
+
}
|
|
3454
|
+
});
|
|
3455
|
+
},
|
|
3456
|
+
bodyCloseMenus() {
|
|
3457
|
+
this.mobileOne === !0 && (this.mobileOne = !1, this.mobileTwo = !1, this.setupTab = "", this.expandShow = !0, this.$emit("setting_show", 0), this.drag());
|
|
3458
|
+
},
|
|
3459
|
+
onBtnClicked() {
|
|
3460
|
+
(this.typesOf == 1 || this.typesOf == 2) && (this.mobileOne = !0, this.expandShow = !1, this.$emit("setting_show", 1)), this.durationflag && this.getinformation();
|
|
3461
|
+
},
|
|
3462
|
+
// 电脑端点击显示
|
|
3463
|
+
computerHeader(t) {
|
|
3464
|
+
t.stopPropagation(), this.computerOne = !0, this.computerTop = !1;
|
|
3465
|
+
},
|
|
3466
|
+
closeDialog() {
|
|
3467
|
+
this.dialogVisible = !1, this.drag();
|
|
3468
|
+
},
|
|
3469
|
+
computerSetup(t) {
|
|
3470
|
+
if (t.link == "setting_center") {
|
|
3471
|
+
let e = {
|
|
3472
|
+
event_from: "6",
|
|
3473
|
+
event_from_id: this.game_id,
|
|
3474
|
+
event_key: "c_assistant",
|
|
3475
|
+
into_type: "4",
|
|
3476
|
+
into_type_id: ""
|
|
3477
|
+
};
|
|
3478
|
+
this.logReport(e), this.computerTwo = !this.computerTwo, this.dialogVisible = !1, this.computerTwo ? this.comTab = t.link : this.comTab = "";
|
|
3479
|
+
} else if (t.link == "AIHelper") {
|
|
3480
|
+
let e = {
|
|
3481
|
+
event_from: "6",
|
|
3482
|
+
event_from_id: this.game_id,
|
|
3483
|
+
event_key: "c_assistant",
|
|
3484
|
+
into_type: "9",
|
|
3485
|
+
into_type_id: ""
|
|
3486
|
+
};
|
|
3487
|
+
this.logReport(e), this.custom_menu = !this.custom_menu, this.dialogVisible = !1, this.custom_menu ? this.comTab = t.link : this.comTab = "";
|
|
3488
|
+
} else if (t.link == "share") {
|
|
3489
|
+
let e = {
|
|
3490
|
+
event_from: "6",
|
|
3491
|
+
event_from_id: this.game_id,
|
|
3492
|
+
event_key: "c_assistant",
|
|
3493
|
+
into_type: "5",
|
|
3494
|
+
into_type_id: ""
|
|
3495
|
+
};
|
|
3496
|
+
this.logReport(e), navigator.share ? navigator.share({ url: window.location.href }) : alert("该浏览器暂不支持分享功能");
|
|
3497
|
+
} else if (t.link == "state_monitor") {
|
|
3498
|
+
let e = {
|
|
3499
|
+
event_from: "6",
|
|
3500
|
+
event_from_id: this.game_id,
|
|
3501
|
+
event_key: "c_assistant",
|
|
3502
|
+
into_type: "7",
|
|
3503
|
+
into_type_id: ""
|
|
3504
|
+
};
|
|
3505
|
+
this.logReport(e);
|
|
3506
|
+
let n = (this.state_show = !this.state_show) ? 1 : 0, r = {
|
|
3507
|
+
event_from: "6",
|
|
3508
|
+
event_from_id: this.game_id,
|
|
3509
|
+
event_key: "e_assistant",
|
|
3510
|
+
into_type: n == 1 ? 3 : 4,
|
|
3511
|
+
into_type_id: ""
|
|
3512
|
+
};
|
|
3513
|
+
this.logReport(r), this.$emit("state_show", n);
|
|
3514
|
+
} else if (t.link == "feedback") {
|
|
3515
|
+
let e = {
|
|
3516
|
+
event_from: "6",
|
|
3517
|
+
event_from_id: this.game_id,
|
|
3518
|
+
event_key: "c_assistant",
|
|
3519
|
+
into_type: "8",
|
|
3520
|
+
into_type_id: ""
|
|
3521
|
+
};
|
|
3522
|
+
this.logReport(e), window.open("https://act.play.cn/hd/t/feedback_test/?access_token=" + this.access_token + "&caf=" + this.channel_code, "_blank");
|
|
3523
|
+
} else if (t.link == "instructions") {
|
|
3524
|
+
let e = {
|
|
3525
|
+
event_from: "6",
|
|
3526
|
+
event_from_id: this.game_id,
|
|
3527
|
+
event_key: "c_assistant",
|
|
3528
|
+
into_type: "6",
|
|
3529
|
+
into_type_id: ""
|
|
3530
|
+
};
|
|
3531
|
+
this.logReport(e), this.dialogVisible = !0;
|
|
3532
|
+
}
|
|
3533
|
+
},
|
|
3534
|
+
// 电脑端收起
|
|
3535
|
+
retract() {
|
|
3536
|
+
this.computerOne = !1, this.computerTwo = !1, this.computerTop = !0;
|
|
3537
|
+
},
|
|
3538
|
+
mobileSetup(t) {
|
|
3539
|
+
if (t.link == "setting_center") {
|
|
3540
|
+
let e = {
|
|
3541
|
+
event_from: "6",
|
|
3542
|
+
event_from_id: this.game_id,
|
|
3543
|
+
event_key: "c_assistant",
|
|
3544
|
+
into_type: "4",
|
|
3545
|
+
into_type_id: ""
|
|
3546
|
+
};
|
|
3547
|
+
this.logReport(e), this.mobileTwo = !this.mobileTwo, this.dialogVisible = !1, this.mobileTwo ? this.setupTab = t.link : this.setupTab = "";
|
|
3548
|
+
} else if (t.link == "AIHelper") {
|
|
3549
|
+
let e = {
|
|
3550
|
+
event_from: "6",
|
|
3551
|
+
event_from_id: this.game_id,
|
|
3552
|
+
event_key: "c_assistant",
|
|
3553
|
+
into_type: "9",
|
|
3554
|
+
into_type_id: ""
|
|
3555
|
+
};
|
|
3556
|
+
this.logReport(e), this.custom_menu = !this.custom_menu, this.dialogVisible = !1, this.custom_menu ? this.setupTab = t.link : this.setupTab = "";
|
|
3557
|
+
} else if (t.link == "share") {
|
|
3558
|
+
let e = {
|
|
3559
|
+
event_from: "6",
|
|
3560
|
+
event_from_id: this.game_id,
|
|
3561
|
+
event_key: "c_assistant",
|
|
3562
|
+
into_type: "5",
|
|
3563
|
+
into_type_id: ""
|
|
3564
|
+
};
|
|
3565
|
+
this.logReport(e), navigator.share ? navigator.share({ url: window.location.href }) : alert("该浏览器暂不支持分享功能");
|
|
3566
|
+
} else if (t.link == "state_monitor") {
|
|
3567
|
+
let e = {
|
|
3568
|
+
event_from: "6",
|
|
3569
|
+
event_from_id: this.game_id,
|
|
3570
|
+
event_key: "c_assistant",
|
|
3571
|
+
into_type: "7",
|
|
3572
|
+
into_type_id: ""
|
|
3573
|
+
};
|
|
3574
|
+
this.logReport(e);
|
|
3575
|
+
let n = (this.state_show = !this.state_show) ? 1 : 0, r = {
|
|
3576
|
+
event_from: "6",
|
|
3577
|
+
event_from_id: this.game_id,
|
|
3578
|
+
event_key: "e_assistant",
|
|
3579
|
+
into_type: n == 1 ? 3 : 4,
|
|
3580
|
+
into_type_id: ""
|
|
3581
|
+
};
|
|
3582
|
+
this.logReport(r), this.$emit("state_show", n);
|
|
3583
|
+
} else if (t.link == "feedback") {
|
|
3584
|
+
let e = {
|
|
3585
|
+
event_from: "6",
|
|
3586
|
+
event_from_id: this.game_id,
|
|
3587
|
+
event_key: "c_assistant",
|
|
3588
|
+
into_type: "8",
|
|
3589
|
+
into_type_id: ""
|
|
3590
|
+
};
|
|
3591
|
+
this.logReport(e), window.open("https://act.play.cn/hd/t/feedback_test/?access_token=" + this.access_token + "&caf=" + this.channel_code, "_blank");
|
|
3592
|
+
} else if (t.link == "instructions") {
|
|
3593
|
+
let e = {
|
|
3594
|
+
event_from: "6",
|
|
3595
|
+
event_from_id: this.game_id,
|
|
3596
|
+
event_key: "c_assistant",
|
|
3597
|
+
into_type: "6",
|
|
3598
|
+
into_type_id: ""
|
|
3599
|
+
};
|
|
3600
|
+
this.logReport(e), Xn(this.game_id).then((n) => {
|
|
3601
|
+
this.dialogVisible = !0, this.mobileTwo = !1, this.setupTab = "", this.mobileOne = !1, this.expandShow = !0, this.screenImg = n.ext.open_img_handle && n.ext.open_img_handle[0];
|
|
3602
|
+
});
|
|
3603
|
+
}
|
|
3604
|
+
},
|
|
3605
|
+
// 时长
|
|
3606
|
+
durationT() {
|
|
3607
|
+
let t = {
|
|
3608
|
+
event_from: "6",
|
|
3609
|
+
event_from_id: this.game_id,
|
|
3610
|
+
event_key: "c_assistant",
|
|
3611
|
+
into_type: "3",
|
|
3612
|
+
into_type_id: ""
|
|
3613
|
+
};
|
|
3614
|
+
this.logReport(t), this.client_id == "8888107" ? window.open("https://h5.play.cn/h5/home/setUp?link=duration", "_blank") : window.open("https://h5.play.cn/c/dmg/home/setUp?link=duration");
|
|
3615
|
+
},
|
|
3616
|
+
// 积分
|
|
3617
|
+
pointsT() {
|
|
3618
|
+
let t = {
|
|
3619
|
+
event_from: "6",
|
|
3620
|
+
event_from_id: this.game_id,
|
|
3621
|
+
event_key: "c_assistant",
|
|
3622
|
+
into_type: "8",
|
|
3623
|
+
into_type_id: ""
|
|
3624
|
+
};
|
|
3625
|
+
this.logReport(t), this.client_id == "8888107" ? window.open("https://h5.play.cn/h5/home/setUp?link=points") : window.open("https://h5.play.cn/c/dmg/home/setUp?link=points");
|
|
3626
|
+
},
|
|
3627
|
+
// 头像
|
|
3628
|
+
head_urlT() {
|
|
3629
|
+
let t = {
|
|
3630
|
+
event_from: "6",
|
|
3631
|
+
event_from_id: this.game_id,
|
|
3632
|
+
event_key: "c_assistant",
|
|
3633
|
+
into_type: "1",
|
|
3634
|
+
into_type_id: ""
|
|
3635
|
+
};
|
|
3636
|
+
this.logReport(t);
|
|
3637
|
+
let e = localStorage.getItem("topRouterId");
|
|
3638
|
+
this.client_id == "8888107" ? window.open("https://h5.play.cn/h5/home/personalCtr?topRouterId=" + e) : window.open("https://h5.play.cn/c/dmg/home/personalCtr?topRouterId=" + e);
|
|
3639
|
+
},
|
|
3640
|
+
// 退出
|
|
3641
|
+
logout() {
|
|
3642
|
+
let t = {
|
|
3643
|
+
event_from: "6",
|
|
3644
|
+
event_from_id: this.game_id,
|
|
3645
|
+
event_key: "c_assistant",
|
|
3646
|
+
into_type: "2",
|
|
3647
|
+
into_type_id: ""
|
|
3648
|
+
};
|
|
3649
|
+
this.logReport(t), this.computerOne = !1, this.computerTwo = !1, this.computerTop = !0, this.mobileOne = !1, this.mobileTwo = !1, this.setupTab = "", this.expandShow = !0, this.dialogVisible = !1, this.$emit("set_exit"), this.$emit("setting_show", 0);
|
|
3650
|
+
},
|
|
3651
|
+
codeClear(t) {
|
|
3652
|
+
let e = {
|
|
3653
|
+
event_from: "6",
|
|
3654
|
+
event_from_id: this.game_id,
|
|
3655
|
+
event_key: "g_exchange_px",
|
|
3656
|
+
into_type: "",
|
|
3657
|
+
into_type_id: ""
|
|
3658
|
+
};
|
|
3659
|
+
this.logReport(e), this.clearTab = t.item_id;
|
|
3660
|
+
var n = {
|
|
3661
|
+
name: "new_resolution",
|
|
3662
|
+
item_id: t.item_id
|
|
3663
|
+
};
|
|
3664
|
+
localStorage.setItem("new_resolution", t.item_id), this.$emit("set_qualitys", n);
|
|
3665
|
+
},
|
|
3666
|
+
codeRate(t) {
|
|
3667
|
+
let e = {
|
|
3668
|
+
event_from: "6",
|
|
3669
|
+
event_from_id: this.game_id,
|
|
3670
|
+
event_key: "fps",
|
|
3671
|
+
into_type: "",
|
|
3672
|
+
into_type_id: ""
|
|
3673
|
+
};
|
|
3674
|
+
this.logReport(e), this.codeTab = t.item_id;
|
|
3675
|
+
var n = {
|
|
3676
|
+
name: "new_bitrate",
|
|
3677
|
+
item_id: t.item_id
|
|
3678
|
+
};
|
|
3679
|
+
localStorage.setItem("new_bitrate", t.item_id), this.$emit("set_qualitys", n);
|
|
3680
|
+
},
|
|
3681
|
+
codeAspect(t) {
|
|
3682
|
+
this.aspectTab = t.item_id;
|
|
3683
|
+
var e = {
|
|
3684
|
+
name: "aspect_ratio",
|
|
3685
|
+
item_id: t.item_id
|
|
3686
|
+
};
|
|
3687
|
+
localStorage.setItem("aspect_ratio", t.item_id), this.$emit("set_qualitys", e);
|
|
3688
|
+
},
|
|
3689
|
+
renderResize() {
|
|
3690
|
+
window.matchMedia("(orientation: landscape)").matches ? (this.anyhow = 2, this.clientWidth = document.documentElement.clientWidth, this.clientHeight = document.documentElement.clientHeight, this.left = this.clientWidth - this.itemWidth, this.top = this.clientHeight * this.coefficientHeight) : (this.clientWidth = document.documentElement.clientWidth, this.clientHeight = document.documentElement.clientHeight, this.left = this.clientWidth - this.itemWidth, this.top = this.clientHeight * this.coefficientHeight, this.anyhow = 1);
|
|
3691
|
+
for (var t = 0; t < this.gameList.length; t++)
|
|
3692
|
+
this.gameList[t].flag = !1, this.typesOf == 1 && this.anyhow == 1 && (t + 1) % 4 == 0 && (this.gameList[t].flag = !0), this.typesOf == 1 && this.anyhow == 2 && (t + 1) % 2 == 0 && (this.gameList[t].flag = !0), this.typesOf == 2 && (t + 1) % 2 == 0 && (this.gameList[t].flag = !0);
|
|
3693
|
+
},
|
|
3694
|
+
// 拖动效果
|
|
3695
|
+
drag() {
|
|
3696
|
+
this.$nextTick(() => {
|
|
3697
|
+
document.body.addEventListener(
|
|
3698
|
+
"touchmove",
|
|
3699
|
+
function(e) {
|
|
3700
|
+
e.preventDefault();
|
|
3701
|
+
},
|
|
3702
|
+
{
|
|
3703
|
+
passive: !1
|
|
3704
|
+
}
|
|
3705
|
+
);
|
|
3706
|
+
const t = this.$refs.div;
|
|
3707
|
+
t.addEventListener("touchstart", (e) => {
|
|
3708
|
+
if (e.stopPropagation(), e.targetTouches.length === 1) {
|
|
3709
|
+
const r = e.targetTouches[0].clientX - this.left;
|
|
3710
|
+
(r > 60 || r == 60) && e.preventDefault();
|
|
3711
|
+
}
|
|
3712
|
+
t.style.transition = "none";
|
|
3713
|
+
}), t.addEventListener(
|
|
3714
|
+
"touchmove",
|
|
3715
|
+
(e) => {
|
|
3716
|
+
if (e.stopPropagation(), e.preventDefault(), e.targetTouches.length === 1) {
|
|
3717
|
+
let n = event.targetTouches[0];
|
|
3718
|
+
this.left = n.clientX - this.itemWidth / 2, this.top = n.clientY - this.itemHeight / 2;
|
|
3719
|
+
}
|
|
3720
|
+
},
|
|
3721
|
+
!1
|
|
3722
|
+
), t.addEventListener(
|
|
3723
|
+
"touchend",
|
|
3724
|
+
(e) => {
|
|
3725
|
+
if (e.stopPropagation(), t.style.transition = "all 0.3s", this.left > this.clientWidth / 2 ? this.left = this.clientWidth - this.itemWidth : this.left = 0, this.top <= 36)
|
|
3726
|
+
this.top = 36 + this.gapWidth;
|
|
3727
|
+
else {
|
|
3728
|
+
let n = this.clientHeight - 50 - this.itemHeight - this.gapWidth;
|
|
3729
|
+
this.top >= n && (this.top = n);
|
|
3730
|
+
}
|
|
3731
|
+
},
|
|
3732
|
+
!1
|
|
3733
|
+
);
|
|
3734
|
+
});
|
|
3735
|
+
},
|
|
3736
|
+
tabacTive(t) {
|
|
3737
|
+
this.contentTab = t;
|
|
3738
|
+
}
|
|
3739
|
+
}
|
|
3740
|
+
}, cl = ["src"], ul = { key: 1 }, fl = {
|
|
3741
|
+
key: 0,
|
|
3742
|
+
class: "setup"
|
|
3743
|
+
}, dl = {
|
|
3744
|
+
key: 0,
|
|
3745
|
+
class: "content"
|
|
3746
|
+
}, pl = { class: "content_top" }, hl = {
|
|
3747
|
+
key: 0,
|
|
3748
|
+
class: "content_m"
|
|
3749
|
+
}, yl = { class: "content_m_n" }, ml = ["onClick"], gl = {
|
|
3750
|
+
key: 0,
|
|
3751
|
+
class: "content_sxy"
|
|
3752
|
+
}, _l = {
|
|
3753
|
+
key: 0,
|
|
3754
|
+
class: "zxhy"
|
|
3755
|
+
}, vl = { class: "content_m_n" }, wl = ["onClick"], bl = {
|
|
3756
|
+
key: 0,
|
|
3757
|
+
class: "content_sxy"
|
|
3758
|
+
}, Al = {
|
|
3759
|
+
key: 0,
|
|
3760
|
+
class: "zxhy"
|
|
3761
|
+
}, Sl = { class: "content_m_n" }, El = ["onClick"], Tl = {
|
|
3762
|
+
key: 0,
|
|
3763
|
+
class: "content_sxy"
|
|
3764
|
+
}, xl = {
|
|
3765
|
+
key: 0,
|
|
3766
|
+
class: "zxhy"
|
|
3767
|
+
}, kl = { class: "setup_con" }, Rl = ["onClick"], Ol = ["src"], Il = { class: "setup_text" }, Cl = { class: "info" }, Pl = { class: "info_left" }, Bl = ["src"], Dl = {
|
|
3768
|
+
key: 1,
|
|
3769
|
+
src: ct,
|
|
3770
|
+
class: "member",
|
|
3771
|
+
alt: ""
|
|
3772
|
+
}, Fl = { class: "info_left_cont" }, Nl = { class: "info_left_cont1" }, Ul = { class: "info_left_cont2" }, Ll = { class: "info_left_cont2_text" }, Ml = { class: "info_left_cont2_text" }, Hl = { key: 1 }, zl = { class: "horiz" }, ql = {
|
|
3773
|
+
class: "horiz_cont",
|
|
3774
|
+
style: { width: "250px" }
|
|
3775
|
+
}, Wl = { class: "horiz_cont_info" }, Ql = { class: "info_left" }, Jl = ["src"], Vl = {
|
|
3776
|
+
key: 1,
|
|
3777
|
+
src: ct,
|
|
3778
|
+
class: "member",
|
|
3779
|
+
alt: ""
|
|
3780
|
+
}, jl = { class: "info_left_cont" }, Gl = { class: "info_left_cont1" }, Kl = { class: "info_left_cont2" }, Yl = { class: "info_left_cont2_text" }, Xl = { class: "info_left_cont2_text" }, Zl = {
|
|
3781
|
+
class: "horiz_setup_con",
|
|
3782
|
+
style: { "padding-top": "23px" }
|
|
3783
|
+
}, $l = ["onClick"], ec = ["src"], tc = { class: "setup_text" }, nc = {
|
|
3784
|
+
key: 0,
|
|
3785
|
+
class: "horiz_set"
|
|
3786
|
+
}, rc = { class: "content_top" }, ic = {
|
|
3787
|
+
key: 0,
|
|
3788
|
+
class: "horiz_m"
|
|
3789
|
+
}, oc = { class: "content_m_n" }, sc = ["onClick"], ac = {
|
|
3790
|
+
key: 0,
|
|
3791
|
+
class: "content_sxy"
|
|
3792
|
+
}, lc = {
|
|
3793
|
+
key: 0,
|
|
3794
|
+
class: "zxhy"
|
|
3795
|
+
}, cc = { class: "content_m_n" }, uc = ["onClick"], fc = {
|
|
3796
|
+
key: 0,
|
|
3797
|
+
class: "content_sxy"
|
|
3798
|
+
}, dc = {
|
|
3799
|
+
key: 0,
|
|
3800
|
+
class: "zxhy"
|
|
3801
|
+
}, pc = { class: "content_m_n" }, hc = ["onClick"], yc = {
|
|
3802
|
+
key: 0,
|
|
3803
|
+
class: "content_sxy"
|
|
3804
|
+
}, mc = {
|
|
3805
|
+
key: 0,
|
|
3806
|
+
class: "zxhy"
|
|
3807
|
+
}, gc = { key: 2 }, _c = { class: "horiz" }, vc = {
|
|
3808
|
+
key: 0,
|
|
3809
|
+
class: "ipad_cont"
|
|
3810
|
+
}, wc = { class: "horiz_cont_info" }, bc = { class: "info_left" }, Ac = ["src"], Sc = {
|
|
3811
|
+
key: 1,
|
|
3812
|
+
src: ct,
|
|
3813
|
+
class: "member",
|
|
3814
|
+
style: { left: "30px", width: "35px" },
|
|
3815
|
+
alt: ""
|
|
3816
|
+
}, Ec = { class: "info_left_cont" }, Tc = {
|
|
3817
|
+
class: "info_left_cont1",
|
|
3818
|
+
style: { "font-size": "22px" }
|
|
3819
|
+
}, xc = { class: "info_left_cont2" }, kc = {
|
|
3820
|
+
class: "info_left_cont2_text",
|
|
3821
|
+
style: { "font-size": "18px" }
|
|
3822
|
+
}, Rc = {
|
|
3823
|
+
class: "info_left_cont2_text",
|
|
3824
|
+
style: { "font-size": "18px" }
|
|
3825
|
+
}, Oc = {
|
|
3826
|
+
class: "horiz_setup_con",
|
|
3827
|
+
style: { "padding-top": "23px" }
|
|
3828
|
+
}, Ic = ["onClick"], Cc = ["src"], Pc = { class: "setup_text" }, Bc = {
|
|
3829
|
+
key: 1,
|
|
3830
|
+
class: "horiz_set"
|
|
3831
|
+
}, Dc = { class: "content_top" }, Fc = {
|
|
3832
|
+
key: 0,
|
|
3833
|
+
class: "horiz_m",
|
|
3834
|
+
style: { "margin-top": "56px", "margin-left": "24px" }
|
|
3835
|
+
}, Nc = {
|
|
3836
|
+
class: "content_m_n",
|
|
3837
|
+
style: { "margin-top": "20px" }
|
|
3838
|
+
}, Uc = ["onClick"], Lc = {
|
|
3839
|
+
key: 0,
|
|
3840
|
+
class: "content_sxy"
|
|
3841
|
+
}, Mc = {
|
|
3842
|
+
key: 0,
|
|
3843
|
+
class: "zxhy"
|
|
3844
|
+
}, Hc = {
|
|
3845
|
+
class: "content_m_n",
|
|
3846
|
+
style: { "margin-top": "20px" }
|
|
3847
|
+
}, zc = ["onClick"], qc = {
|
|
3848
|
+
key: 0,
|
|
3849
|
+
class: "content_sxy"
|
|
3850
|
+
}, Wc = {
|
|
3851
|
+
key: 0,
|
|
3852
|
+
class: "zxhy"
|
|
3853
|
+
}, Qc = {
|
|
3854
|
+
class: "content_m_n",
|
|
3855
|
+
style: { "margin-top": "20px" }
|
|
3856
|
+
}, Jc = ["onClick"], Vc = {
|
|
3857
|
+
key: 0,
|
|
3858
|
+
class: "content_sxy"
|
|
3859
|
+
}, jc = {
|
|
3860
|
+
key: 0,
|
|
3861
|
+
class: "zxhy"
|
|
3862
|
+
}, Gc = ["src"], Kc = {
|
|
3863
|
+
key: 1,
|
|
3864
|
+
class: "computer_content"
|
|
3865
|
+
}, Yc = { class: "computer_c_header" }, Xc = ["src"], Zc = {
|
|
3866
|
+
key: 1,
|
|
3867
|
+
class: "computer_c_two",
|
|
3868
|
+
src: ct,
|
|
3869
|
+
alt: ""
|
|
3870
|
+
}, $c = { class: "computer_c_time" }, eu = { class: "computer_c_time" }, tu = { class: "computer_c_data" }, nu = ["onMousedown"], ru = ["src"], iu = { class: "computer_c_item_text" }, ou = { class: "content_top" }, su = {
|
|
3871
|
+
key: 0,
|
|
3872
|
+
class: "horiz_m"
|
|
3873
|
+
}, au = { class: "content_m_n" }, lu = ["onClick"], cu = {
|
|
3874
|
+
key: 0,
|
|
3875
|
+
class: "content_sxy"
|
|
3876
|
+
}, uu = {
|
|
3877
|
+
key: 0,
|
|
3878
|
+
class: "zxhy"
|
|
3879
|
+
}, fu = { class: "content_m_n" }, du = ["onClick"], pu = {
|
|
3880
|
+
key: 0,
|
|
3881
|
+
class: "content_sxy"
|
|
3882
|
+
}, hu = {
|
|
3883
|
+
key: 0,
|
|
3884
|
+
class: "zxhy"
|
|
3885
|
+
}, yu = { class: "content_m_n" }, mu = ["onClick"], gu = {
|
|
3886
|
+
key: 0,
|
|
3887
|
+
class: "content_sxy"
|
|
3888
|
+
}, _u = {
|
|
3889
|
+
key: 0,
|
|
3890
|
+
class: "zxhy"
|
|
3891
|
+
}, vu = { class: "mask" }, wu = { class: "mask_img" }, bu = ["src"];
|
|
3892
|
+
function Au(t, e, n, r, i, s) {
|
|
3893
|
+
return p(), h("div", null, [
|
|
3894
|
+
c("div", {
|
|
3895
|
+
onClick: e[26] || (e[26] = q(() => {
|
|
3896
|
+
}, ["stop"]))
|
|
3897
|
+
}, [
|
|
3898
|
+
i.typesOf != 3 && i.expandShow ? (p(), h("div", {
|
|
3899
|
+
key: 0,
|
|
3900
|
+
class: "ys-float-btn",
|
|
3901
|
+
style: Fe({
|
|
3902
|
+
width: i.itemWidth + "px",
|
|
3903
|
+
height: i.itemHeight + "px",
|
|
3904
|
+
left: i.left + "px",
|
|
3905
|
+
top: i.top + "px"
|
|
3906
|
+
}),
|
|
3907
|
+
ref: "div",
|
|
3908
|
+
onClick: e[0] || (e[0] = (...o) => s.onBtnClicked && s.onBtnClicked(...o))
|
|
3909
|
+
}, [
|
|
3910
|
+
c("img", {
|
|
3911
|
+
src: i.head_url,
|
|
3912
|
+
alt: "",
|
|
3913
|
+
style: { width: "100%", height: "100%", "border-radius": "100px" }
|
|
3914
|
+
}, null, 8, cl)
|
|
3915
|
+
], 4)) : v("", !0),
|
|
3916
|
+
i.typesOf == 1 ? (p(), h("div", ul, [
|
|
3917
|
+
i.anyhow == 1 && i.mobileOne ? (p(), h("div", fl, [
|
|
3918
|
+
i.mobileTwo ? (p(), h("div", dl, [
|
|
3919
|
+
c("div", pl, [
|
|
3920
|
+
c("div", {
|
|
3921
|
+
onClick: e[1] || (e[1] = (o) => s.tabacTive(1)),
|
|
3922
|
+
class: S(["content_tab", [i.contentTab == 1 ? "tabactive" : ""]])
|
|
3923
|
+
}, "画质", 2)
|
|
3924
|
+
]),
|
|
3925
|
+
i.contentTab == 1 ? (p(), h("div", hl, [
|
|
3926
|
+
e[28] || (e[28] = c("div", { class: "content_mtitle" }, [
|
|
3927
|
+
c("div", { class: "content_mtitle1" }, "分辨率"),
|
|
3928
|
+
c("div", { class: "content_mtitle2" }, "(游戏内设置,下次启动游戏生效)")
|
|
3929
|
+
], -1)),
|
|
3930
|
+
c("div", yl, [
|
|
3931
|
+
(p(!0), h(C, null, N(i.clearList, (o, a) => (p(), h("div", {
|
|
3932
|
+
class: S(["content_m_item", [i.clearTab == o.item_id ? "content_iactive" : ""]]),
|
|
3933
|
+
key: a,
|
|
3934
|
+
onClick: (l) => s.codeClear(o)
|
|
3935
|
+
}, [
|
|
3936
|
+
c("div", {
|
|
3937
|
+
class: S(["content_m_y", [i.clearTab == o.item_id ? "content_yactive" : ""]])
|
|
3938
|
+
}, [
|
|
3939
|
+
i.clearTab == o.item_id ? (p(), h("div", gl)) : v("", !0)
|
|
3940
|
+
], 2),
|
|
3941
|
+
c("div", {
|
|
3942
|
+
class: S(["content_m_w", [i.clearTab == o.item_id ? "content_wactive" : ""]])
|
|
3943
|
+
}, T(o.resolution_name), 3),
|
|
3944
|
+
o.condition_name ? (p(), h("div", _l, T(o.condition_name), 1)) : v("", !0)
|
|
3945
|
+
], 10, ml))), 128))
|
|
3946
|
+
]),
|
|
3947
|
+
e[29] || (e[29] = c("div", { class: "content_mtitle" }, [
|
|
3948
|
+
c("div", { class: "content_mtitle1" }, "清晰度"),
|
|
3949
|
+
c("div", { class: "content_mtitle2" }, "(游戏内设置,立即生效)")
|
|
3950
|
+
], -1)),
|
|
3951
|
+
c("div", vl, [
|
|
3952
|
+
(p(!0), h(C, null, N(i.bitrateList, (o, a) => (p(), h("div", {
|
|
3953
|
+
class: S(["content_m_item", [i.codeTab == o.item_id ? "content_iactive" : ""]]),
|
|
3954
|
+
key: a,
|
|
3955
|
+
onClick: (l) => s.codeRate(o)
|
|
3956
|
+
}, [
|
|
3957
|
+
c("div", {
|
|
3958
|
+
class: S(["content_m_y", [i.codeTab == o.item_id ? "content_yactive" : ""]])
|
|
3959
|
+
}, [
|
|
3960
|
+
i.codeTab == o.item_id ? (p(), h("div", bl)) : v("", !0)
|
|
3961
|
+
], 2),
|
|
3962
|
+
c("div", {
|
|
3963
|
+
class: S(["content_m_w", [i.codeTab == o.item_id ? "content_wactive" : ""]])
|
|
3964
|
+
}, T(o.item_name), 3),
|
|
3965
|
+
o.condition_name ? (p(), h("div", Al, T(o.condition_name), 1)) : v("", !0)
|
|
3966
|
+
], 10, wl))), 128))
|
|
3967
|
+
]),
|
|
3968
|
+
e[30] || (e[30] = c("div", { class: "content_mtitle" }, [
|
|
3969
|
+
c("div", { class: "content_mtitle1" }, "画面比例")
|
|
3970
|
+
], -1)),
|
|
3971
|
+
c("div", Sl, [
|
|
3972
|
+
(p(!0), h(C, null, N(i.aspectList, (o, a) => (p(), h("div", {
|
|
3973
|
+
class: S(["content_m_item", [i.aspectTab == o.item_id ? "content_iactive" : ""]]),
|
|
3974
|
+
key: a,
|
|
3975
|
+
onClick: (l) => s.codeAspect(o)
|
|
3976
|
+
}, [
|
|
3977
|
+
c("div", {
|
|
3978
|
+
class: S(["content_m_y", [i.aspectTab == o.item_id ? "content_yactive" : ""]])
|
|
3979
|
+
}, [
|
|
3980
|
+
i.aspectTab == o.item_id ? (p(), h("div", Tl)) : v("", !0)
|
|
3981
|
+
], 2),
|
|
3982
|
+
c("div", {
|
|
3983
|
+
class: S(["content_m_w", [i.aspectTab == o.item_id ? "content_wactive" : ""]])
|
|
3984
|
+
}, T(o.item_name), 3),
|
|
3985
|
+
o.condition_name ? (p(), h("div", xl, T(o.condition_name), 1)) : v("", !0)
|
|
3986
|
+
], 10, El))), 128))
|
|
3987
|
+
])
|
|
3988
|
+
])) : v("", !0)
|
|
3989
|
+
])) : v("", !0),
|
|
3990
|
+
c("div", kl, [
|
|
3991
|
+
(p(!0), h(C, null, N(i.gameList, (o, a) => (p(), h(C, { key: a }, [
|
|
3992
|
+
(n.game_cloud_service == 3 ? o.link === "feedback" || o.link === "game_quit" : !(i.isHarmony && o.link === "share") && !(o.link === "instructions" && !i.isShowOperation)) ? (p(), h("div", {
|
|
3993
|
+
key: 0,
|
|
3994
|
+
class: S(["setup_item", [i.setupTab == o.link ? "setupactive" : ""]]),
|
|
3995
|
+
style: Fe({ "margin-right": o.flag ? "0px" : "1%" }),
|
|
3996
|
+
onClick: (l) => s.mobileSetup(o)
|
|
3997
|
+
}, [
|
|
3998
|
+
c("img", {
|
|
3999
|
+
src: o.icon,
|
|
4000
|
+
alt: ""
|
|
4001
|
+
}, null, 8, Ol),
|
|
4002
|
+
c("div", Il, T(o.title), 1)
|
|
4003
|
+
], 14, Rl)) : v("", !0)
|
|
4004
|
+
], 64))), 128))
|
|
4005
|
+
]),
|
|
4006
|
+
c("div", Cl, [
|
|
4007
|
+
c("div", Pl, [
|
|
4008
|
+
i.vip_centerflag ? (p(), h("img", {
|
|
4009
|
+
key: 0,
|
|
4010
|
+
class: "info_left_img",
|
|
4011
|
+
onClick: e[2] || (e[2] = (...o) => s.head_urlT && s.head_urlT(...o)),
|
|
4012
|
+
src: i.head_url,
|
|
4013
|
+
alt: ""
|
|
4014
|
+
}, null, 8, Bl)) : v("", !0),
|
|
4015
|
+
i.level == 2 ? (p(), h("img", Dl)) : v("", !0),
|
|
4016
|
+
c("div", Fl, [
|
|
4017
|
+
c("div", Nl, T(i.nickname), 1),
|
|
4018
|
+
c("div", Ul, [
|
|
4019
|
+
i.durationflag ? (p(), h("div", {
|
|
4020
|
+
key: 0,
|
|
4021
|
+
class: "info_left_cont2_1",
|
|
4022
|
+
onClick: e[3] || (e[3] = (...o) => s.durationT && s.durationT(...o))
|
|
4023
|
+
}, [
|
|
4024
|
+
e[31] || (e[31] = c("img", {
|
|
4025
|
+
src: qe,
|
|
4026
|
+
alt: ""
|
|
4027
|
+
}, null, -1)),
|
|
4028
|
+
c("div", Ll, T(i.duration ? i.duration : "0") + "分钟", 1)
|
|
4029
|
+
])) : v("", !0),
|
|
4030
|
+
i.pointsflag ? (p(), h("div", {
|
|
4031
|
+
key: 1,
|
|
4032
|
+
class: "info_left_cont2_1",
|
|
4033
|
+
style: { "margin-left": "10px" },
|
|
4034
|
+
onClick: e[4] || (e[4] = (...o) => s.pointsT && s.pointsT(...o))
|
|
4035
|
+
}, [
|
|
4036
|
+
e[32] || (e[32] = c("img", {
|
|
4037
|
+
src: We,
|
|
4038
|
+
alt: ""
|
|
4039
|
+
}, null, -1)),
|
|
4040
|
+
c("div", Ml, T(i.points), 1)
|
|
4041
|
+
])) : v("", !0)
|
|
4042
|
+
])
|
|
4043
|
+
])
|
|
4044
|
+
]),
|
|
4045
|
+
c("div", {
|
|
4046
|
+
class: "info_right",
|
|
4047
|
+
onClick: e[5] || (e[5] = (...o) => s.logout && s.logout(...o))
|
|
4048
|
+
}, e[33] || (e[33] = [
|
|
4049
|
+
c("img", {
|
|
4050
|
+
src: Qe,
|
|
4051
|
+
alt: ""
|
|
4052
|
+
}, null, -1),
|
|
4053
|
+
c("div", { class: "info_right_exit" }, "退出", -1)
|
|
4054
|
+
]))
|
|
4055
|
+
])
|
|
4056
|
+
])) : v("", !0),
|
|
4057
|
+
i.anyhow == 2 && i.mobileOne ? (p(), h("div", Hl, [
|
|
4058
|
+
c("div", zl, [
|
|
4059
|
+
c("div", ql, [
|
|
4060
|
+
c("div", Wl, [
|
|
4061
|
+
c("div", Ql, [
|
|
4062
|
+
i.vip_centerflag ? (p(), h("img", {
|
|
4063
|
+
key: 0,
|
|
4064
|
+
class: "info_left_img",
|
|
4065
|
+
src: i.head_url,
|
|
4066
|
+
onClick: e[6] || (e[6] = (...o) => s.head_urlT && s.head_urlT(...o)),
|
|
4067
|
+
alt: ""
|
|
4068
|
+
}, null, 8, Jl)) : v("", !0),
|
|
4069
|
+
i.level == 2 ? (p(), h("img", Vl)) : v("", !0),
|
|
4070
|
+
c("div", jl, [
|
|
4071
|
+
c("div", Gl, T(i.nickname), 1),
|
|
4072
|
+
c("div", Kl, [
|
|
4073
|
+
i.durationflag ? (p(), h("div", {
|
|
4074
|
+
key: 0,
|
|
4075
|
+
class: "info_left_cont2_1",
|
|
4076
|
+
onClick: e[7] || (e[7] = (...o) => s.durationT && s.durationT(...o))
|
|
4077
|
+
}, [
|
|
4078
|
+
e[34] || (e[34] = c("img", {
|
|
4079
|
+
src: qe,
|
|
4080
|
+
alt: ""
|
|
4081
|
+
}, null, -1)),
|
|
4082
|
+
c("div", Yl, T(i.duration ? i.duration : "0") + "分钟 ", 1)
|
|
4083
|
+
])) : v("", !0),
|
|
4084
|
+
i.pointsflag ? (p(), h("div", {
|
|
4085
|
+
key: 1,
|
|
4086
|
+
class: "info_left_cont2_1",
|
|
4087
|
+
style: { "margin-left": "10px" },
|
|
4088
|
+
onClick: e[8] || (e[8] = (...o) => s.pointsT && s.pointsT(...o))
|
|
4089
|
+
}, [
|
|
4090
|
+
e[35] || (e[35] = c("img", {
|
|
4091
|
+
src: We,
|
|
4092
|
+
alt: ""
|
|
4093
|
+
}, null, -1)),
|
|
4094
|
+
c("div", Xl, T(i.points), 1)
|
|
4095
|
+
])) : v("", !0)
|
|
4096
|
+
])
|
|
4097
|
+
])
|
|
4098
|
+
]),
|
|
4099
|
+
c("div", {
|
|
4100
|
+
class: "info_right",
|
|
4101
|
+
onClick: e[9] || (e[9] = (...o) => s.logout && s.logout(...o))
|
|
4102
|
+
}, e[36] || (e[36] = [
|
|
4103
|
+
c("img", {
|
|
4104
|
+
src: Qe,
|
|
4105
|
+
alt: ""
|
|
4106
|
+
}, null, -1),
|
|
4107
|
+
c("div", { class: "info_right_exit" }, "退出", -1)
|
|
4108
|
+
]))
|
|
4109
|
+
]),
|
|
4110
|
+
c("div", null, [
|
|
4111
|
+
c("div", Zl, [
|
|
4112
|
+
(p(!0), h(C, null, N(i.gameList, (o, a) => (p(), h(C, { key: a }, [
|
|
4113
|
+
(n.game_cloud_service == 3 ? o.link === "feedback" || o.link === "game_quit" : !(i.isHarmony && o.link === "share") && !(o.link === "instructions" && !i.isShowOperation)) ? (p(), h("div", {
|
|
4114
|
+
key: 0,
|
|
4115
|
+
class: S(["horiz_item", [i.setupTab == o.link ? "setupactive" : ""]]),
|
|
4116
|
+
onClick: (l) => s.mobileSetup(o),
|
|
4117
|
+
style: Fe({ "margin-right": o.flag ? "0px" : "15px" })
|
|
4118
|
+
}, [
|
|
4119
|
+
c("img", {
|
|
4120
|
+
src: o.icon,
|
|
4121
|
+
alt: ""
|
|
4122
|
+
}, null, 8, ec),
|
|
4123
|
+
c("div", tc, T(o.title), 1)
|
|
4124
|
+
], 14, $l)) : v("", !0)
|
|
4125
|
+
], 64))), 128))
|
|
4126
|
+
])
|
|
4127
|
+
])
|
|
4128
|
+
]),
|
|
4129
|
+
i.mobileTwo ? (p(), h("div", nc, [
|
|
4130
|
+
c("div", rc, [
|
|
4131
|
+
c("div", {
|
|
4132
|
+
onClick: e[10] || (e[10] = (o) => s.tabacTive(1)),
|
|
4133
|
+
class: S(["content_tab", [i.contentTab == 1 ? "tabactive" : ""]])
|
|
4134
|
+
}, "画质1", 2)
|
|
4135
|
+
]),
|
|
4136
|
+
i.contentTab == 1 ? (p(), h("div", ic, [
|
|
4137
|
+
e[37] || (e[37] = c("div", { class: "content_mtitle" }, [
|
|
4138
|
+
c("div", { class: "content_mtitle1" }, "分辨率"),
|
|
4139
|
+
c("div", { class: "content_mtitle2" }, "(游戏内设置,下次启动游戏生效)")
|
|
4140
|
+
], -1)),
|
|
4141
|
+
c("div", oc, [
|
|
4142
|
+
(p(!0), h(C, null, N(i.clearList, (o, a) => (p(), h("div", {
|
|
4143
|
+
class: S(["content_m_item", [i.clearTab == o.item_id ? "content_iactive" : ""]]),
|
|
4144
|
+
key: a,
|
|
4145
|
+
onClick: (l) => s.codeClear(o)
|
|
4146
|
+
}, [
|
|
4147
|
+
c("div", {
|
|
4148
|
+
class: S(["content_m_y", [i.clearTab == o.item_id ? "content_yactive" : ""]])
|
|
4149
|
+
}, [
|
|
4150
|
+
i.clearTab == o.item_id ? (p(), h("div", ac)) : v("", !0)
|
|
4151
|
+
], 2),
|
|
4152
|
+
c("div", {
|
|
4153
|
+
class: S(["content_m_w", [i.clearTab == o.item_id ? "content_wactive" : ""]])
|
|
4154
|
+
}, T(o.resolution_name), 3),
|
|
4155
|
+
o.condition_name ? (p(), h("div", lc, T(o.condition_name), 1)) : v("", !0)
|
|
4156
|
+
], 10, sc))), 128))
|
|
4157
|
+
]),
|
|
4158
|
+
e[38] || (e[38] = c("div", { class: "content_mtitle" }, [
|
|
4159
|
+
c("div", { class: "content_mtitle1" }, "清晰度"),
|
|
4160
|
+
c("div", { class: "content_mtitle2" }, "(游戏内设置,立即生效)")
|
|
4161
|
+
], -1)),
|
|
4162
|
+
c("div", cc, [
|
|
4163
|
+
(p(!0), h(C, null, N(i.bitrateList, (o, a) => (p(), h("div", {
|
|
4164
|
+
class: S(["content_m_item", [i.codeTab == o.item_id ? "content_iactive" : ""]]),
|
|
4165
|
+
key: a,
|
|
4166
|
+
onClick: (l) => s.codeRate(o)
|
|
4167
|
+
}, [
|
|
4168
|
+
c("div", {
|
|
4169
|
+
class: S(["content_m_y", [i.codeTab == o.item_id ? "content_yactive" : ""]])
|
|
4170
|
+
}, [
|
|
4171
|
+
i.codeTab == o.item_id ? (p(), h("div", fc)) : v("", !0)
|
|
4172
|
+
], 2),
|
|
4173
|
+
c("div", {
|
|
4174
|
+
class: S(["content_m_w", [i.codeTab == o.item_id ? "content_wactive" : ""]])
|
|
4175
|
+
}, T(o.item_name), 3),
|
|
4176
|
+
o.condition_name ? (p(), h("div", dc, T(o.condition_name), 1)) : v("", !0)
|
|
4177
|
+
], 10, uc))), 128))
|
|
4178
|
+
]),
|
|
4179
|
+
e[39] || (e[39] = c("div", { class: "content_mtitle" }, [
|
|
4180
|
+
c("div", { class: "content_mtitle1" }, "画面比例")
|
|
4181
|
+
], -1)),
|
|
4182
|
+
c("div", pc, [
|
|
4183
|
+
(p(!0), h(C, null, N(i.aspectList, (o, a) => (p(), h("div", {
|
|
4184
|
+
class: S(["content_m_item", [i.aspectTab == o.item_id ? "content_iactive" : ""]]),
|
|
4185
|
+
key: a,
|
|
4186
|
+
onClick: (l) => s.codeAspect(o)
|
|
4187
|
+
}, [
|
|
4188
|
+
c("div", {
|
|
4189
|
+
class: S(["content_m_y", [i.aspectTab == o.item_id ? "content_yactive" : ""]])
|
|
4190
|
+
}, [
|
|
4191
|
+
i.aspectTab == o.item_id ? (p(), h("div", yc)) : v("", !0)
|
|
4192
|
+
], 2),
|
|
4193
|
+
c("div", {
|
|
4194
|
+
class: S(["content_m_w", [i.aspectTab == o.item_id ? "content_wactive" : ""]])
|
|
4195
|
+
}, T(o.item_name), 3),
|
|
4196
|
+
o.condition_name ? (p(), h("div", mc, T(o.condition_name), 1)) : v("", !0)
|
|
4197
|
+
], 10, hc))), 128))
|
|
4198
|
+
])
|
|
4199
|
+
])) : v("", !0)
|
|
4200
|
+
])) : v("", !0)
|
|
4201
|
+
])
|
|
4202
|
+
])) : v("", !0)
|
|
4203
|
+
])) : v("", !0),
|
|
4204
|
+
i.typesOf == 2 ? (p(), h("div", gc, [
|
|
4205
|
+
c("div", _c, [
|
|
4206
|
+
i.mobileOne ? (p(), h("div", vc, [
|
|
4207
|
+
c("div", wc, [
|
|
4208
|
+
c("div", bc, [
|
|
4209
|
+
i.vip_centerflag ? (p(), h("img", {
|
|
4210
|
+
key: 0,
|
|
4211
|
+
style: { width: "65px", height: "65px" },
|
|
4212
|
+
class: "info_left_img",
|
|
4213
|
+
onClick: e[11] || (e[11] = (...o) => s.head_urlT && s.head_urlT(...o)),
|
|
4214
|
+
src: i.head_url,
|
|
4215
|
+
alt: ""
|
|
4216
|
+
}, null, 8, Ac)) : v("", !0),
|
|
4217
|
+
i.level == 2 ? (p(), h("img", Sc)) : v("", !0),
|
|
4218
|
+
c("div", Ec, [
|
|
4219
|
+
c("div", Tc, T(i.nickname), 1),
|
|
4220
|
+
c("div", xc, [
|
|
4221
|
+
i.durationflag ? (p(), h("div", {
|
|
4222
|
+
key: 0,
|
|
4223
|
+
class: "info_left_cont2_1",
|
|
4224
|
+
onClick: e[12] || (e[12] = (...o) => s.durationT && s.durationT(...o))
|
|
4225
|
+
}, [
|
|
4226
|
+
e[40] || (e[40] = c("img", {
|
|
4227
|
+
src: qe,
|
|
4228
|
+
style: { width: "16px", height: "16px" },
|
|
4229
|
+
alt: ""
|
|
4230
|
+
}, null, -1)),
|
|
4231
|
+
c("div", kc, T(i.duration ? i.duration : "0") + "分钟", 1)
|
|
4232
|
+
])) : v("", !0),
|
|
4233
|
+
i.pointsflag ? (p(), h("div", {
|
|
4234
|
+
key: 1,
|
|
4235
|
+
class: "info_left_cont2_1",
|
|
4236
|
+
style: { "margin-left": "10px" },
|
|
4237
|
+
onClick: e[13] || (e[13] = (...o) => s.pointsT && s.pointsT(...o))
|
|
4238
|
+
}, [
|
|
4239
|
+
e[41] || (e[41] = c("img", {
|
|
4240
|
+
src: We,
|
|
4241
|
+
style: { width: "16px", height: "16px" },
|
|
4242
|
+
alt: ""
|
|
4243
|
+
}, null, -1)),
|
|
4244
|
+
c("div", Rc, T(i.points), 1)
|
|
4245
|
+
])) : v("", !0)
|
|
4246
|
+
])
|
|
4247
|
+
])
|
|
4248
|
+
]),
|
|
4249
|
+
c("div", {
|
|
4250
|
+
class: "info_right",
|
|
4251
|
+
onClick: e[14] || (e[14] = (...o) => s.logout && s.logout(...o))
|
|
4252
|
+
}, e[42] || (e[42] = [
|
|
4253
|
+
c("img", {
|
|
4254
|
+
src: Qe,
|
|
4255
|
+
style: { width: "22px", height: "22px" },
|
|
4256
|
+
alt: ""
|
|
4257
|
+
}, null, -1),
|
|
4258
|
+
c("div", {
|
|
4259
|
+
class: "info_right_exit",
|
|
4260
|
+
style: { "font-size": "22px" }
|
|
4261
|
+
}, "退出", -1)
|
|
4262
|
+
]))
|
|
4263
|
+
]),
|
|
4264
|
+
c("div", null, [
|
|
4265
|
+
c("div", Oc, [
|
|
4266
|
+
(p(!0), h(C, null, N(i.gameList, (o, a) => (p(), h(C, { key: a }, [
|
|
4267
|
+
(n.game_cloud_service == 3 ? o.link === "feedback" || o.link === "game_quit" : !(i.isHarmony && o.link === "share") && !(o.link === "instructions" && !i.isShowOperation)) ? (p(), h("div", {
|
|
4268
|
+
key: 0,
|
|
4269
|
+
class: S(["ipad_item", [i.setupTab == o.link ? "setupactive" : ""]]),
|
|
4270
|
+
style: Fe({ "margin-right": o.flag ? "0px" : "9%" }),
|
|
4271
|
+
onClick: (l) => s.mobileSetup(o)
|
|
4272
|
+
}, [
|
|
4273
|
+
c("img", {
|
|
4274
|
+
src: o.icon,
|
|
4275
|
+
alt: ""
|
|
4276
|
+
}, null, 8, Cc),
|
|
4277
|
+
c("div", Pc, T(o.title), 1)
|
|
4278
|
+
], 14, Ic)) : v("", !0)
|
|
4279
|
+
], 64))), 128))
|
|
4280
|
+
])
|
|
4281
|
+
])
|
|
4282
|
+
])) : v("", !0),
|
|
4283
|
+
i.mobileTwo ? (p(), h("div", Bc, [
|
|
4284
|
+
c("div", Dc, [
|
|
4285
|
+
c("div", {
|
|
4286
|
+
onClick: e[15] || (e[15] = (o) => s.tabacTive(1)),
|
|
4287
|
+
class: S(["content_tab", [i.contentTab == 1 ? "tabactive" : ""]])
|
|
4288
|
+
}, "画质3", 2)
|
|
4289
|
+
]),
|
|
4290
|
+
i.contentTab == 1 ? (p(), h("div", Fc, [
|
|
4291
|
+
e[43] || (e[43] = c("div", { class: "content_mtitle" }, [
|
|
4292
|
+
c("div", { class: "content_mtitle1" }, "分辨率"),
|
|
4293
|
+
c("div", { class: "content_mtitle2" }, "(游戏内设置,下次启动游戏生效)")
|
|
4294
|
+
], -1)),
|
|
4295
|
+
c("div", Nc, [
|
|
4296
|
+
(p(!0), h(C, null, N(i.clearList, (o, a) => (p(), h("div", {
|
|
4297
|
+
class: S(["content_m_item", [i.clearTab == o.item_id ? "content_iactive" : ""]]),
|
|
4298
|
+
key: a,
|
|
4299
|
+
onClick: (l) => s.codeClear(o),
|
|
4300
|
+
style: { width: "116px", height: "48px" }
|
|
4301
|
+
}, [
|
|
4302
|
+
c("div", {
|
|
4303
|
+
class: S(["content_m_y", [i.clearTab == o.item_id ? "content_yactive" : ""]]),
|
|
4304
|
+
style: { "margin-left": "17px" }
|
|
4305
|
+
}, [
|
|
4306
|
+
i.clearTab == o.item_id ? (p(), h("div", Lc)) : v("", !0)
|
|
4307
|
+
], 2),
|
|
4308
|
+
c("div", {
|
|
4309
|
+
class: S(["content_m_w", [i.clearTab == o.item_id ? "content_wactive" : ""]]),
|
|
4310
|
+
style: { "font-size": "22px" }
|
|
4311
|
+
}, T(o.resolution_name), 3),
|
|
4312
|
+
o.condition_name ? (p(), h("div", Mc, T(o.condition_name), 1)) : v("", !0)
|
|
4313
|
+
], 10, Uc))), 128))
|
|
4314
|
+
]),
|
|
4315
|
+
e[44] || (e[44] = c("div", {
|
|
4316
|
+
class: "content_mtitle",
|
|
4317
|
+
style: { "margin-top": "100px" }
|
|
4318
|
+
}, [
|
|
4319
|
+
c("div", { class: "content_mtitle1" }, "清晰度"),
|
|
4320
|
+
c("div", { class: "content_mtitle2" }, "(游戏内设置,立即生效)")
|
|
4321
|
+
], -1)),
|
|
4322
|
+
c("div", Hc, [
|
|
4323
|
+
(p(!0), h(C, null, N(i.bitrateList, (o, a) => (p(), h("div", {
|
|
4324
|
+
class: S(["content_m_item", [i.codeTab == o.item_id ? "content_iactive" : ""]]),
|
|
4325
|
+
style: { width: "116px", height: "48px" },
|
|
4326
|
+
key: a,
|
|
4327
|
+
onClick: (l) => s.codeRate(o)
|
|
4328
|
+
}, [
|
|
4329
|
+
c("div", {
|
|
4330
|
+
class: S(["content_m_y", [i.codeTab == o.item_id ? "content_yactive" : ""]]),
|
|
4331
|
+
style: { "margin-left": "17px" }
|
|
4332
|
+
}, [
|
|
4333
|
+
i.codeTab == o.item_id ? (p(), h("div", qc)) : v("", !0)
|
|
4334
|
+
], 2),
|
|
4335
|
+
c("div", {
|
|
4336
|
+
class: S(["content_m_w", [i.codeTab == o.item_id ? "content_wactive" : ""]]),
|
|
4337
|
+
style: { "font-size": "22px" }
|
|
4338
|
+
}, T(o.item_name), 3),
|
|
4339
|
+
o.condition_name ? (p(), h("div", Wc, T(o.condition_name), 1)) : v("", !0)
|
|
4340
|
+
], 10, zc))), 128))
|
|
4341
|
+
]),
|
|
4342
|
+
e[45] || (e[45] = c("div", {
|
|
4343
|
+
class: "content_mtitle",
|
|
4344
|
+
style: { "margin-top": "100px" }
|
|
4345
|
+
}, [
|
|
4346
|
+
c("div", { class: "content_mtitle1" }, "画面比例")
|
|
4347
|
+
], -1)),
|
|
4348
|
+
c("div", Qc, [
|
|
4349
|
+
(p(!0), h(C, null, N(i.aspectList, (o, a) => (p(), h("div", {
|
|
4350
|
+
class: S(["content_m_item", [i.aspectTab == o.item_id ? "content_iactive" : ""]]),
|
|
4351
|
+
key: a,
|
|
4352
|
+
style: { width: "116px", height: "48px" },
|
|
4353
|
+
onClick: (l) => s.codeAspect(o)
|
|
4354
|
+
}, [
|
|
4355
|
+
c("div", {
|
|
4356
|
+
class: S(["content_m_y", [i.aspectTab == o.item_id ? "content_yactive" : ""]]),
|
|
4357
|
+
style: { "margin-left": "17px" }
|
|
4358
|
+
}, [
|
|
4359
|
+
i.aspectTab == o.item_id ? (p(), h("div", Vc)) : v("", !0)
|
|
4360
|
+
], 2),
|
|
4361
|
+
c("div", {
|
|
4362
|
+
class: S(["content_m_w", [i.aspectTab == o.item_id ? "content_wactive" : ""]]),
|
|
4363
|
+
style: { "font-size": "22px" }
|
|
4364
|
+
}, T(o.item_name), 3),
|
|
4365
|
+
o.condition_name ? (p(), h("div", jc, T(o.condition_name), 1)) : v("", !0)
|
|
4366
|
+
], 10, Jc))), 128))
|
|
4367
|
+
])
|
|
4368
|
+
])) : v("", !0)
|
|
4369
|
+
])) : v("", !0)
|
|
4370
|
+
])
|
|
4371
|
+
])) : v("", !0),
|
|
4372
|
+
i.typesOf == 3 ? (p(), h("div", {
|
|
4373
|
+
key: 3,
|
|
4374
|
+
class: "computer_header",
|
|
4375
|
+
onMousedown: e[22] || (e[22] = q(() => {
|
|
4376
|
+
}, ["stop"]))
|
|
4377
|
+
}, [
|
|
4378
|
+
i.computerTop ? (p(), h("div", {
|
|
4379
|
+
key: 0,
|
|
4380
|
+
class: "header_one",
|
|
4381
|
+
onMousedown: e[16] || (e[16] = q((o) => s.computerHeader(o), ["stop"]))
|
|
4382
|
+
}, [
|
|
4383
|
+
e[46] || (e[46] = c("img", {
|
|
4384
|
+
class: "img_one",
|
|
4385
|
+
src: ol,
|
|
4386
|
+
alt: ""
|
|
4387
|
+
}, null, -1)),
|
|
4388
|
+
c("img", {
|
|
4389
|
+
class: "img_two",
|
|
4390
|
+
src: i.head_url,
|
|
4391
|
+
alt: ""
|
|
4392
|
+
}, null, 8, Gc)
|
|
4393
|
+
], 32)) : v("", !0),
|
|
4394
|
+
i.computerOne ? (p(), h("div", Kc, [
|
|
4395
|
+
c("div", Yc, [
|
|
4396
|
+
i.vip_centerflag ? (p(), h("img", {
|
|
4397
|
+
key: 0,
|
|
4398
|
+
class: "computer_c_one",
|
|
4399
|
+
src: i.head_url,
|
|
4400
|
+
alt: "",
|
|
4401
|
+
onMousedown: e[17] || (e[17] = q((...o) => s.head_urlT && s.head_urlT(...o), ["stop"]))
|
|
4402
|
+
}, null, 40, Xc)) : v("", !0),
|
|
4403
|
+
i.level == 2 ? (p(), h("img", Zc)) : v("", !0)
|
|
4404
|
+
]),
|
|
4405
|
+
i.durationflag ? (p(), h("div", {
|
|
4406
|
+
key: 0,
|
|
4407
|
+
class: "computer_c_Vector",
|
|
4408
|
+
onMousedown: e[18] || (e[18] = q((...o) => s.durationT && s.durationT(...o), ["stop"]))
|
|
4409
|
+
}, [
|
|
4410
|
+
e[47] || (e[47] = c("img", {
|
|
4411
|
+
src: qe,
|
|
4412
|
+
alt: ""
|
|
4413
|
+
}, null, -1)),
|
|
4414
|
+
c("div", $c, T(i.duration ? i.duration : "0") + "分钟", 1),
|
|
4415
|
+
e[48] || (e[48] = c("img", {
|
|
4416
|
+
class: "Vector_right",
|
|
4417
|
+
src: Zn,
|
|
4418
|
+
alt: ""
|
|
4419
|
+
}, null, -1))
|
|
4420
|
+
], 32)) : v("", !0),
|
|
4421
|
+
i.pointsflag ? (p(), h("div", {
|
|
4422
|
+
key: 1,
|
|
4423
|
+
class: "computer_c_Vector",
|
|
4424
|
+
onMousedown: e[19] || (e[19] = q((...o) => s.pointsT && s.pointsT(...o), ["stop"]))
|
|
4425
|
+
}, [
|
|
4426
|
+
e[49] || (e[49] = c("img", {
|
|
4427
|
+
src: We,
|
|
4428
|
+
alt: ""
|
|
4429
|
+
}, null, -1)),
|
|
4430
|
+
c("div", eu, T(i.points), 1),
|
|
4431
|
+
e[50] || (e[50] = c("img", {
|
|
4432
|
+
class: "Vector_right",
|
|
4433
|
+
src: Zn,
|
|
4434
|
+
alt: ""
|
|
4435
|
+
}, null, -1))
|
|
4436
|
+
], 32)) : v("", !0),
|
|
4437
|
+
c("div", tu, [
|
|
4438
|
+
(p(!0), h(C, null, N(i.gameList, (o, a) => (p(), h(C, { key: a }, [
|
|
4439
|
+
(n.game_cloud_service == 3 ? o.link === "feedback" : !(i.isHarmony && o.link === "share") && !(o.link === "instructions" && !i.isShowOperation)) ? (p(), h("div", {
|
|
4440
|
+
key: 0,
|
|
4441
|
+
onMousedown: q((l) => s.computerSetup(o), ["stop"]),
|
|
4442
|
+
class: S(["computer_c_item", [i.comTab == o.link ? "setupactive" : ""]])
|
|
4443
|
+
}, [
|
|
4444
|
+
c("img", {
|
|
4445
|
+
src: o.icon,
|
|
4446
|
+
alt: ""
|
|
4447
|
+
}, null, 8, ru),
|
|
4448
|
+
c("div", iu, T(o.title), 1)
|
|
4449
|
+
], 42, nu)) : v("", !0)
|
|
4450
|
+
], 64))), 128)),
|
|
4451
|
+
c("div", {
|
|
4452
|
+
class: "computer_c_item",
|
|
4453
|
+
onMousedown: e[20] || (e[20] = q((...o) => s.logout && s.logout(...o), ["stop"]))
|
|
4454
|
+
}, e[51] || (e[51] = [
|
|
4455
|
+
c("img", {
|
|
4456
|
+
src: Qe,
|
|
4457
|
+
alt: ""
|
|
4458
|
+
}, null, -1),
|
|
4459
|
+
c("div", { class: "computer_c_item_text" }, "退出", -1)
|
|
4460
|
+
]), 32)
|
|
4461
|
+
]),
|
|
4462
|
+
e[53] || (e[53] = c("div", { class: "computer_c_border" }, null, -1)),
|
|
4463
|
+
c("div", {
|
|
4464
|
+
class: "computer_c_footer",
|
|
4465
|
+
onMousedown: e[21] || (e[21] = q((...o) => s.retract && s.retract(...o), ["stop"]))
|
|
4466
|
+
}, e[52] || (e[52] = [
|
|
4467
|
+
c("img", {
|
|
4468
|
+
src: sl,
|
|
4469
|
+
alt: ""
|
|
4470
|
+
}, null, -1)
|
|
4471
|
+
]), 32)
|
|
4472
|
+
])) : v("", !0)
|
|
4473
|
+
], 32)) : v("", !0),
|
|
4474
|
+
i.computerTwo ? (p(), h("div", {
|
|
4475
|
+
key: 4,
|
|
4476
|
+
class: "computer_left",
|
|
4477
|
+
onMousedown: e[24] || (e[24] = q(() => {
|
|
4478
|
+
}, ["stop"]))
|
|
4479
|
+
}, [
|
|
4480
|
+
c("div", ou, [
|
|
4481
|
+
c("div", {
|
|
4482
|
+
onMousedown: e[23] || (e[23] = q((o) => s.tabacTive(1), ["stop"])),
|
|
4483
|
+
class: S(["content_tab", [i.contentTab == 1 ? "tabactive" : ""]])
|
|
4484
|
+
}, "画质", 34)
|
|
4485
|
+
]),
|
|
4486
|
+
i.contentTab == 1 ? (p(), h("div", su, [
|
|
4487
|
+
e[54] || (e[54] = c("div", { class: "content_mtitle" }, [
|
|
4488
|
+
c("div", { class: "content_mtitle1" }, "分辨率"),
|
|
4489
|
+
c("div", { class: "content_mtitle2" }, "(游戏内设置,下次启动游戏生效)")
|
|
4490
|
+
], -1)),
|
|
4491
|
+
c("div", au, [
|
|
4492
|
+
(p(!0), h(C, null, N(i.clearList, (o, a) => (p(), h("div", {
|
|
4493
|
+
class: S(["content_m_item", [i.clearTab == o.item_id ? "content_iactive" : ""]]),
|
|
4494
|
+
key: a,
|
|
4495
|
+
onClick: (l) => s.codeClear(o)
|
|
4496
|
+
}, [
|
|
4497
|
+
c("div", {
|
|
4498
|
+
class: S(["content_m_y", [i.clearTab == o.item_id ? "content_yactive" : ""]])
|
|
4499
|
+
}, [
|
|
4500
|
+
i.clearTab == o.item_id ? (p(), h("div", cu)) : v("", !0)
|
|
4501
|
+
], 2),
|
|
4502
|
+
c("div", {
|
|
4503
|
+
class: S(["content_m_w", [i.clearTab == o.item_id ? "content_wactive" : ""]])
|
|
4504
|
+
}, T(o.resolution_name), 3),
|
|
4505
|
+
o.condition_name ? (p(), h("div", uu, T(o.condition_name), 1)) : v("", !0)
|
|
4506
|
+
], 10, lu))), 128))
|
|
4507
|
+
]),
|
|
4508
|
+
e[55] || (e[55] = c("div", { class: "content_mtitle" }, [
|
|
4509
|
+
c("div", { class: "content_mtitle1" }, "清晰度"),
|
|
4510
|
+
c("div", { class: "content_mtitle2" }, "(游戏内设置,立即生效)")
|
|
4511
|
+
], -1)),
|
|
4512
|
+
c("div", fu, [
|
|
4513
|
+
(p(!0), h(C, null, N(i.bitrateList, (o, a) => (p(), h("div", {
|
|
4514
|
+
class: S(["content_m_item", [i.codeTab == o.item_id ? "content_iactive" : ""]]),
|
|
4515
|
+
key: a,
|
|
4516
|
+
onClick: (l) => s.codeRate(o)
|
|
4517
|
+
}, [
|
|
4518
|
+
c("div", {
|
|
4519
|
+
class: S(["content_m_y", [i.codeTab == o.item_id ? "content_yactive" : ""]])
|
|
4520
|
+
}, [
|
|
4521
|
+
i.codeTab == o.item_id ? (p(), h("div", pu)) : v("", !0)
|
|
4522
|
+
], 2),
|
|
4523
|
+
c("div", {
|
|
4524
|
+
class: S(["content_m_w", [i.codeTab == o.item_id ? "content_wactive" : ""]])
|
|
4525
|
+
}, T(o.item_name), 3),
|
|
4526
|
+
o.condition_name ? (p(), h("div", hu, T(o.condition_name), 1)) : v("", !0)
|
|
4527
|
+
], 10, du))), 128))
|
|
4528
|
+
]),
|
|
4529
|
+
e[56] || (e[56] = c("div", { class: "content_mtitle" }, [
|
|
4530
|
+
c("div", { class: "content_mtitle1" }, "画面比例")
|
|
4531
|
+
], -1)),
|
|
4532
|
+
c("div", yu, [
|
|
4533
|
+
(p(!0), h(C, null, N(i.aspectList, (o, a) => (p(), h("div", {
|
|
4534
|
+
class: S(["content_m_item", [i.aspectTab == o.item_id ? "content_iactive" : ""]]),
|
|
4535
|
+
key: a,
|
|
4536
|
+
onClick: (l) => s.codeAspect(o)
|
|
4537
|
+
}, [
|
|
4538
|
+
c("div", {
|
|
4539
|
+
class: S(["content_m_y", [i.aspectTab == o.item_id ? "content_yactive" : ""]])
|
|
4540
|
+
}, [
|
|
4541
|
+
i.aspectTab == o.item_id ? (p(), h("div", gu)) : v("", !0)
|
|
4542
|
+
], 2),
|
|
4543
|
+
c("div", {
|
|
4544
|
+
class: S(["content_m_w", [i.aspectTab == o.item_id ? "content_wactive" : ""]])
|
|
4545
|
+
}, T(o.item_name), 3),
|
|
4546
|
+
o.condition_name ? (p(), h("div", _u, T(o.condition_name), 1)) : v("", !0)
|
|
4547
|
+
], 10, mu))), 128))
|
|
4548
|
+
])
|
|
4549
|
+
])) : v("", !0)
|
|
4550
|
+
], 32)) : v("", !0),
|
|
4551
|
+
i.custom_menu ? (p(), h("div", {
|
|
4552
|
+
key: 5,
|
|
4553
|
+
class: "computer_ai",
|
|
4554
|
+
onMousedown: e[25] || (e[25] = q(() => {
|
|
4555
|
+
}, ["stop"]))
|
|
4556
|
+
}, e[57] || (e[57] = [
|
|
4557
|
+
c("iframe", {
|
|
4558
|
+
class: "computer_ai_iframe",
|
|
4559
|
+
src: "https://act.play.cn/hd/t/chat/",
|
|
4560
|
+
width: "100%",
|
|
4561
|
+
height: "100%",
|
|
4562
|
+
style: { border: "none" }
|
|
4563
|
+
}, null, -1)
|
|
4564
|
+
]), 32)) : v("", !0)
|
|
4565
|
+
]),
|
|
4566
|
+
jr(c("div", vu, [
|
|
4567
|
+
c("div", wu, [
|
|
4568
|
+
c("img", {
|
|
4569
|
+
class: "screenImg",
|
|
4570
|
+
src: i.screenImg,
|
|
4571
|
+
alt: ""
|
|
4572
|
+
}, null, 8, bu),
|
|
4573
|
+
c("div", {
|
|
4574
|
+
class: "close",
|
|
4575
|
+
onClick: e[27] || (e[27] = (...o) => s.closeDialog && s.closeDialog(...o))
|
|
4576
|
+
}, "×")
|
|
4577
|
+
])
|
|
4578
|
+
], 512), [
|
|
4579
|
+
[Gr, i.dialogVisible]
|
|
4580
|
+
])
|
|
4581
|
+
]);
|
|
4582
|
+
}
|
|
4583
|
+
const Eu = /* @__PURE__ */ al(ll, [["render", Au], ["__scopeId", "data-v-a44fc1c0"]]);
|
|
4584
|
+
export {
|
|
4585
|
+
Eu as gameassis
|
|
4586
|
+
};
|