@quidgest/chatbot 0.0.8 → 0.0.9
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/components/CBMessage.vue.d.ts +15 -2
- package/dist/components/ChatBot.vue.d.ts +17 -26
- package/dist/components/PulseDots.vue.d.ts +2 -0
- package/dist/index.js +6 -9
- package/dist/index.mjs +1307 -1258
- package/dist/style.css +1 -1
- package/dist/types/chatbot.type.d.ts +13 -0
- package/dist/types/message.type.d.ts +2 -1
- package/package.json +2 -2
- package/src/assets/styles/styles.scss +43 -13
- package/src/assets/user_avatar.png +0 -0
- package/src/components/CBMessage.vue +51 -42
- package/src/components/ChatBot.vue +333 -336
- package/src/components/PulseDots.vue +16 -0
- package/src/types/chatbot.type.ts +14 -0
- package/src/types/message.type.ts +3 -1
package/dist/index.mjs
CHANGED
|
@@ -1,123 +1,123 @@
|
|
|
1
|
-
import { getCurrentInstance as
|
|
2
|
-
function
|
|
1
|
+
import { getCurrentInstance as Ie, computed as E, inject as jt, defineComponent as P, createElementBlock as O, openBlock as y, normalizeStyle as ie, normalizeClass as U, withModifiers as Ut, createCommentVNode as Z, createElementVNode as C, createVNode as J, unref as x, renderSlot as L, Fragment as se, createTextVNode as Ge, toDisplayString as re, createBlock as ae, resolveDynamicComponent as kt, h as He, mergeProps as ge, ref as G, withCtx as H, toRef as zt, readonly as Mt, customRef as qt, getCurrentScope as Gt, onScopeDispose as Ht, shallowRef as Oe, watch as ne, nextTick as ue, toValue as Pe, onMounted as at, mergeModels as Wt, useModel as Jt, createSlots as Vt, withDirectives as Qt, toHandlers as Zt, vModelText as Yt, renderList as lt, withKeys as Xt } from "vue";
|
|
2
|
+
function ct(e, t) {
|
|
3
3
|
return function() {
|
|
4
4
|
return e.apply(t, arguments);
|
|
5
5
|
};
|
|
6
6
|
}
|
|
7
|
-
const { toString:
|
|
8
|
-
const n =
|
|
7
|
+
const { toString: _t } = Object.prototype, { getPrototypeOf: je } = Object, be = /* @__PURE__ */ ((e) => (t) => {
|
|
8
|
+
const n = _t.call(t);
|
|
9
9
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
10
|
-
})(/* @__PURE__ */ Object.create(null)),
|
|
11
|
-
function
|
|
12
|
-
return e !== null && !
|
|
10
|
+
})(/* @__PURE__ */ Object.create(null)), k = (e) => (e = e.toLowerCase(), (t) => be(t) === e), Ae = (e) => (t) => typeof t === e, { isArray: K } = Array, oe = Ae("undefined");
|
|
11
|
+
function Kt(e) {
|
|
12
|
+
return e !== null && !oe(e) && e.constructor !== null && !oe(e.constructor) && I(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
13
13
|
}
|
|
14
|
-
const
|
|
15
|
-
function
|
|
14
|
+
const ut = k("ArrayBuffer");
|
|
15
|
+
function $t(e) {
|
|
16
16
|
let t;
|
|
17
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer &&
|
|
17
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && ut(e.buffer), t;
|
|
18
18
|
}
|
|
19
|
-
const
|
|
20
|
-
if (
|
|
19
|
+
const en = Ae("string"), I = Ae("function"), dt = Ae("number"), ye = (e) => e !== null && typeof e == "object", tn = (e) => e === !0 || e === !1, de = (e) => {
|
|
20
|
+
if (be(e) !== "object")
|
|
21
21
|
return !1;
|
|
22
|
-
const t =
|
|
22
|
+
const t = je(e);
|
|
23
23
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
24
|
-
},
|
|
24
|
+
}, nn = k("Date"), sn = k("File"), rn = k("Blob"), on = k("FileList"), an = (e) => ye(e) && I(e.pipe), ln = (e) => {
|
|
25
25
|
let t;
|
|
26
|
-
return e && (typeof FormData == "function" && e instanceof FormData ||
|
|
27
|
-
t === "object" &&
|
|
28
|
-
},
|
|
29
|
-
function
|
|
26
|
+
return e && (typeof FormData == "function" && e instanceof FormData || I(e.append) && ((t = be(e)) === "formdata" || // detect form-data instance
|
|
27
|
+
t === "object" && I(e.toString) && e.toString() === "[object FormData]"));
|
|
28
|
+
}, cn = k("URLSearchParams"), [un, dn, fn, pn] = ["ReadableStream", "Request", "Response", "Headers"].map(k), hn = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
29
|
+
function le(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
30
30
|
if (e === null || typeof e > "u")
|
|
31
31
|
return;
|
|
32
|
-
let
|
|
33
|
-
if (typeof e != "object" && (e = [e]),
|
|
34
|
-
for (
|
|
35
|
-
t.call(null, e[
|
|
32
|
+
let s, r;
|
|
33
|
+
if (typeof e != "object" && (e = [e]), K(e))
|
|
34
|
+
for (s = 0, r = e.length; s < r; s++)
|
|
35
|
+
t.call(null, e[s], s, e);
|
|
36
36
|
else {
|
|
37
|
-
const
|
|
37
|
+
const o = n ? Object.getOwnPropertyNames(e) : Object.keys(e), i = o.length;
|
|
38
38
|
let a;
|
|
39
|
-
for (
|
|
40
|
-
a =
|
|
39
|
+
for (s = 0; s < i; s++)
|
|
40
|
+
a = o[s], t.call(null, e[a], a, e);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function ft(e, t) {
|
|
44
44
|
t = t.toLowerCase();
|
|
45
45
|
const n = Object.keys(e);
|
|
46
|
-
let
|
|
47
|
-
for (;
|
|
48
|
-
if (
|
|
49
|
-
return
|
|
46
|
+
let s = n.length, r;
|
|
47
|
+
for (; s-- > 0; )
|
|
48
|
+
if (r = n[s], t === r.toLowerCase())
|
|
49
|
+
return r;
|
|
50
50
|
return null;
|
|
51
51
|
}
|
|
52
|
-
const
|
|
53
|
-
function
|
|
54
|
-
const { caseless: e } =
|
|
55
|
-
const
|
|
56
|
-
|
|
52
|
+
const Y = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, pt = (e) => !oe(e) && e !== Y;
|
|
53
|
+
function Ne() {
|
|
54
|
+
const { caseless: e } = pt(this) && this || {}, t = {}, n = (s, r) => {
|
|
55
|
+
const o = e && ft(t, r) || r;
|
|
56
|
+
de(t[o]) && de(s) ? t[o] = Ne(t[o], s) : de(s) ? t[o] = Ne({}, s) : K(s) ? t[o] = s.slice() : t[o] = s;
|
|
57
57
|
};
|
|
58
|
-
for (let
|
|
59
|
-
arguments[
|
|
58
|
+
for (let s = 0, r = arguments.length; s < r; s++)
|
|
59
|
+
arguments[s] && le(arguments[s], n);
|
|
60
60
|
return t;
|
|
61
61
|
}
|
|
62
|
-
const
|
|
63
|
-
n &&
|
|
64
|
-
}, { allOwnKeys:
|
|
65
|
-
e.prototype = Object.create(t.prototype,
|
|
62
|
+
const mn = (e, t, n, { allOwnKeys: s } = {}) => (le(t, (r, o) => {
|
|
63
|
+
n && I(r) ? e[o] = ct(r, n) : e[o] = r;
|
|
64
|
+
}, { allOwnKeys: s }), e), gn = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), bn = (e, t, n, s) => {
|
|
65
|
+
e.prototype = Object.create(t.prototype, s), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
66
66
|
value: t.prototype
|
|
67
67
|
}), n && Object.assign(e.prototype, n);
|
|
68
|
-
},
|
|
69
|
-
let
|
|
68
|
+
}, An = (e, t, n, s) => {
|
|
69
|
+
let r, o, i;
|
|
70
70
|
const a = {};
|
|
71
71
|
if (t = t || {}, e == null) return t;
|
|
72
72
|
do {
|
|
73
|
-
for (
|
|
74
|
-
|
|
75
|
-
e = n !== !1 &&
|
|
73
|
+
for (r = Object.getOwnPropertyNames(e), o = r.length; o-- > 0; )
|
|
74
|
+
i = r[o], (!s || s(i, e, t)) && !a[i] && (t[i] = e[i], a[i] = !0);
|
|
75
|
+
e = n !== !1 && je(e);
|
|
76
76
|
} while (e && (!n || n(e, t)) && e !== Object.prototype);
|
|
77
77
|
return t;
|
|
78
|
-
},
|
|
78
|
+
}, yn = (e, t, n) => {
|
|
79
79
|
e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
|
|
80
|
-
const
|
|
81
|
-
return
|
|
82
|
-
},
|
|
80
|
+
const s = e.indexOf(t, n);
|
|
81
|
+
return s !== -1 && s === n;
|
|
82
|
+
}, wn = (e) => {
|
|
83
83
|
if (!e) return null;
|
|
84
|
-
if (
|
|
84
|
+
if (K(e)) return e;
|
|
85
85
|
let t = e.length;
|
|
86
|
-
if (!
|
|
86
|
+
if (!dt(t)) return null;
|
|
87
87
|
const n = new Array(t);
|
|
88
88
|
for (; t-- > 0; )
|
|
89
89
|
n[t] = e[t];
|
|
90
90
|
return n;
|
|
91
|
-
},
|
|
92
|
-
const
|
|
93
|
-
let
|
|
94
|
-
for (; (
|
|
95
|
-
const
|
|
96
|
-
t.call(e,
|
|
91
|
+
}, En = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && je(Uint8Array)), Sn = (e, t) => {
|
|
92
|
+
const s = (e && e[Symbol.iterator]).call(e);
|
|
93
|
+
let r;
|
|
94
|
+
for (; (r = s.next()) && !r.done; ) {
|
|
95
|
+
const o = r.value;
|
|
96
|
+
t.call(e, o[0], o[1]);
|
|
97
97
|
}
|
|
98
|
-
},
|
|
98
|
+
}, vn = (e, t) => {
|
|
99
99
|
let n;
|
|
100
|
-
const
|
|
100
|
+
const s = [];
|
|
101
101
|
for (; (n = e.exec(t)) !== null; )
|
|
102
|
-
|
|
103
|
-
return
|
|
104
|
-
},
|
|
102
|
+
s.push(n);
|
|
103
|
+
return s;
|
|
104
|
+
}, Rn = k("HTMLFormElement"), Tn = (e) => e.toLowerCase().replace(
|
|
105
105
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
106
|
-
function(n,
|
|
107
|
-
return
|
|
108
|
-
}
|
|
109
|
-
),
|
|
110
|
-
const n = Object.getOwnPropertyDescriptors(e),
|
|
111
|
-
|
|
112
|
-
let
|
|
113
|
-
(
|
|
114
|
-
}), Object.defineProperties(e,
|
|
115
|
-
},
|
|
116
|
-
|
|
117
|
-
if (
|
|
106
|
+
function(n, s, r) {
|
|
107
|
+
return s.toUpperCase() + r;
|
|
108
|
+
}
|
|
109
|
+
), We = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), On = k("RegExp"), ht = (e, t) => {
|
|
110
|
+
const n = Object.getOwnPropertyDescriptors(e), s = {};
|
|
111
|
+
le(n, (r, o) => {
|
|
112
|
+
let i;
|
|
113
|
+
(i = t(r, o, e)) !== !1 && (s[o] = i || r);
|
|
114
|
+
}), Object.defineProperties(e, s);
|
|
115
|
+
}, Nn = (e) => {
|
|
116
|
+
ht(e, (t, n) => {
|
|
117
|
+
if (I(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
118
118
|
return !1;
|
|
119
|
-
const
|
|
120
|
-
if (
|
|
119
|
+
const s = e[n];
|
|
120
|
+
if (I(s)) {
|
|
121
121
|
if (t.enumerable = !1, "writable" in t) {
|
|
122
122
|
t.writable = !1;
|
|
123
123
|
return;
|
|
@@ -127,104 +127,104 @@ const pn = (e, t, n, { allOwnKeys: r } = {}) => (ne(t, (s, i) => {
|
|
|
127
127
|
});
|
|
128
128
|
}
|
|
129
129
|
});
|
|
130
|
-
},
|
|
131
|
-
const n = {},
|
|
132
|
-
|
|
133
|
-
n[
|
|
130
|
+
}, Dn = (e, t) => {
|
|
131
|
+
const n = {}, s = (r) => {
|
|
132
|
+
r.forEach((o) => {
|
|
133
|
+
n[o] = !0;
|
|
134
134
|
});
|
|
135
135
|
};
|
|
136
|
-
return
|
|
137
|
-
},
|
|
138
|
-
},
|
|
139
|
-
function
|
|
140
|
-
return !!(e &&
|
|
141
|
-
}
|
|
142
|
-
const
|
|
143
|
-
const t = new Array(10), n = (
|
|
144
|
-
if (
|
|
145
|
-
if (t.indexOf(
|
|
136
|
+
return K(e) ? s(e) : s(String(e).split(t)), n;
|
|
137
|
+
}, Bn = () => {
|
|
138
|
+
}, Cn = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
139
|
+
function xn(e) {
|
|
140
|
+
return !!(e && I(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
|
|
141
|
+
}
|
|
142
|
+
const Ln = (e) => {
|
|
143
|
+
const t = new Array(10), n = (s, r) => {
|
|
144
|
+
if (ye(s)) {
|
|
145
|
+
if (t.indexOf(s) >= 0)
|
|
146
146
|
return;
|
|
147
|
-
if (!("toJSON" in
|
|
148
|
-
t[
|
|
149
|
-
const
|
|
150
|
-
return
|
|
151
|
-
const
|
|
152
|
-
!
|
|
153
|
-
}), t[
|
|
147
|
+
if (!("toJSON" in s)) {
|
|
148
|
+
t[r] = s;
|
|
149
|
+
const o = K(s) ? [] : {};
|
|
150
|
+
return le(s, (i, a) => {
|
|
151
|
+
const u = n(i, r + 1);
|
|
152
|
+
!oe(u) && (o[a] = u);
|
|
153
|
+
}), t[r] = void 0, o;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
return
|
|
156
|
+
return s;
|
|
157
157
|
};
|
|
158
158
|
return n(e, 0);
|
|
159
|
-
},
|
|
160
|
-
|
|
161
|
-
}, !1), (
|
|
162
|
-
|
|
159
|
+
}, Fn = k("AsyncFunction"), In = (e) => e && (ye(e) || I(e)) && I(e.then) && I(e.catch), mt = ((e, t) => e ? setImmediate : t ? ((n, s) => (Y.addEventListener("message", ({ source: r, data: o }) => {
|
|
160
|
+
r === Y && o === n && s.length && s.shift()();
|
|
161
|
+
}, !1), (r) => {
|
|
162
|
+
s.push(r), Y.postMessage(n, "*");
|
|
163
163
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
164
164
|
typeof setImmediate == "function",
|
|
165
|
-
|
|
166
|
-
),
|
|
167
|
-
isArray:
|
|
168
|
-
isArrayBuffer:
|
|
169
|
-
isBuffer:
|
|
170
|
-
isFormData:
|
|
171
|
-
isArrayBufferView:
|
|
172
|
-
isString:
|
|
173
|
-
isNumber:
|
|
174
|
-
isBoolean:
|
|
175
|
-
isObject:
|
|
176
|
-
isPlainObject:
|
|
177
|
-
isReadableStream:
|
|
178
|
-
isRequest:
|
|
179
|
-
isResponse:
|
|
180
|
-
isHeaders:
|
|
181
|
-
isUndefined:
|
|
182
|
-
isDate:
|
|
183
|
-
isFile:
|
|
184
|
-
isBlob:
|
|
185
|
-
isRegExp:
|
|
186
|
-
isFunction:
|
|
187
|
-
isStream:
|
|
188
|
-
isURLSearchParams:
|
|
189
|
-
isTypedArray:
|
|
190
|
-
isFileList:
|
|
191
|
-
forEach:
|
|
192
|
-
merge:
|
|
193
|
-
extend:
|
|
194
|
-
trim:
|
|
195
|
-
stripBOM:
|
|
196
|
-
inherits:
|
|
197
|
-
toFlatObject:
|
|
198
|
-
kindOf:
|
|
199
|
-
kindOfTest:
|
|
200
|
-
endsWith:
|
|
201
|
-
toArray:
|
|
202
|
-
forEachEntry:
|
|
203
|
-
matchAll:
|
|
204
|
-
isHTMLForm:
|
|
205
|
-
hasOwnProperty:
|
|
206
|
-
hasOwnProp:
|
|
165
|
+
I(Y.postMessage)
|
|
166
|
+
), Pn = typeof queueMicrotask < "u" ? queueMicrotask.bind(Y) : typeof process < "u" && process.nextTick || mt, l = {
|
|
167
|
+
isArray: K,
|
|
168
|
+
isArrayBuffer: ut,
|
|
169
|
+
isBuffer: Kt,
|
|
170
|
+
isFormData: ln,
|
|
171
|
+
isArrayBufferView: $t,
|
|
172
|
+
isString: en,
|
|
173
|
+
isNumber: dt,
|
|
174
|
+
isBoolean: tn,
|
|
175
|
+
isObject: ye,
|
|
176
|
+
isPlainObject: de,
|
|
177
|
+
isReadableStream: un,
|
|
178
|
+
isRequest: dn,
|
|
179
|
+
isResponse: fn,
|
|
180
|
+
isHeaders: pn,
|
|
181
|
+
isUndefined: oe,
|
|
182
|
+
isDate: nn,
|
|
183
|
+
isFile: sn,
|
|
184
|
+
isBlob: rn,
|
|
185
|
+
isRegExp: On,
|
|
186
|
+
isFunction: I,
|
|
187
|
+
isStream: an,
|
|
188
|
+
isURLSearchParams: cn,
|
|
189
|
+
isTypedArray: En,
|
|
190
|
+
isFileList: on,
|
|
191
|
+
forEach: le,
|
|
192
|
+
merge: Ne,
|
|
193
|
+
extend: mn,
|
|
194
|
+
trim: hn,
|
|
195
|
+
stripBOM: gn,
|
|
196
|
+
inherits: bn,
|
|
197
|
+
toFlatObject: An,
|
|
198
|
+
kindOf: be,
|
|
199
|
+
kindOfTest: k,
|
|
200
|
+
endsWith: yn,
|
|
201
|
+
toArray: wn,
|
|
202
|
+
forEachEntry: Sn,
|
|
203
|
+
matchAll: vn,
|
|
204
|
+
isHTMLForm: Rn,
|
|
205
|
+
hasOwnProperty: We,
|
|
206
|
+
hasOwnProp: We,
|
|
207
207
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
208
|
-
reduceDescriptors:
|
|
209
|
-
freezeMethods:
|
|
210
|
-
toObjectSet:
|
|
211
|
-
toCamelCase:
|
|
212
|
-
noop:
|
|
213
|
-
toFiniteNumber:
|
|
214
|
-
findKey:
|
|
215
|
-
global:
|
|
216
|
-
isContextDefined:
|
|
217
|
-
isSpecCompliantForm:
|
|
218
|
-
toJSONObject:
|
|
219
|
-
isAsyncFn:
|
|
220
|
-
isThenable:
|
|
221
|
-
setImmediate:
|
|
222
|
-
asap:
|
|
208
|
+
reduceDescriptors: ht,
|
|
209
|
+
freezeMethods: Nn,
|
|
210
|
+
toObjectSet: Dn,
|
|
211
|
+
toCamelCase: Tn,
|
|
212
|
+
noop: Bn,
|
|
213
|
+
toFiniteNumber: Cn,
|
|
214
|
+
findKey: ft,
|
|
215
|
+
global: Y,
|
|
216
|
+
isContextDefined: pt,
|
|
217
|
+
isSpecCompliantForm: xn,
|
|
218
|
+
toJSONObject: Ln,
|
|
219
|
+
isAsyncFn: Fn,
|
|
220
|
+
isThenable: In,
|
|
221
|
+
setImmediate: mt,
|
|
222
|
+
asap: Pn
|
|
223
223
|
};
|
|
224
|
-
function
|
|
225
|
-
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n),
|
|
224
|
+
function g(e, t, n, s, r) {
|
|
225
|
+
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), s && (this.request = s), r && (this.response = r, this.status = r.status ? r.status : null);
|
|
226
226
|
}
|
|
227
|
-
l.inherits(
|
|
227
|
+
l.inherits(g, Error, {
|
|
228
228
|
toJSON: function() {
|
|
229
229
|
return {
|
|
230
230
|
// Standard
|
|
@@ -245,7 +245,7 @@ l.inherits(b, Error, {
|
|
|
245
245
|
};
|
|
246
246
|
}
|
|
247
247
|
});
|
|
248
|
-
const
|
|
248
|
+
const gt = g.prototype, bt = {};
|
|
249
249
|
[
|
|
250
250
|
"ERR_BAD_OPTION_VALUE",
|
|
251
251
|
"ERR_BAD_OPTION",
|
|
@@ -261,35 +261,35 @@ const pt = b.prototype, ht = {};
|
|
|
261
261
|
"ERR_INVALID_URL"
|
|
262
262
|
// eslint-disable-next-line func-names
|
|
263
263
|
].forEach((e) => {
|
|
264
|
-
|
|
264
|
+
bt[e] = { value: e };
|
|
265
265
|
});
|
|
266
|
-
Object.defineProperties(
|
|
267
|
-
Object.defineProperty(
|
|
268
|
-
|
|
269
|
-
const
|
|
270
|
-
return l.toFlatObject(e,
|
|
271
|
-
return
|
|
272
|
-
}, (a) => a !== "isAxiosError"),
|
|
266
|
+
Object.defineProperties(g, bt);
|
|
267
|
+
Object.defineProperty(gt, "isAxiosError", { value: !0 });
|
|
268
|
+
g.from = (e, t, n, s, r, o) => {
|
|
269
|
+
const i = Object.create(gt);
|
|
270
|
+
return l.toFlatObject(e, i, function(u) {
|
|
271
|
+
return u !== Error.prototype;
|
|
272
|
+
}, (a) => a !== "isAxiosError"), g.call(i, e.message, t, n, s, r), i.cause = e, i.name = e.name, o && Object.assign(i, o), i;
|
|
273
273
|
};
|
|
274
|
-
const
|
|
275
|
-
function
|
|
274
|
+
const jn = null;
|
|
275
|
+
function De(e) {
|
|
276
276
|
return l.isPlainObject(e) || l.isArray(e);
|
|
277
277
|
}
|
|
278
|
-
function
|
|
278
|
+
function At(e) {
|
|
279
279
|
return l.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
280
280
|
}
|
|
281
|
-
function
|
|
282
|
-
return e ? e.concat(t).map(function(
|
|
283
|
-
return
|
|
281
|
+
function Je(e, t, n) {
|
|
282
|
+
return e ? e.concat(t).map(function(r, o) {
|
|
283
|
+
return r = At(r), !n && o ? "[" + r + "]" : r;
|
|
284
284
|
}).join(n ? "." : "") : t;
|
|
285
285
|
}
|
|
286
|
-
function
|
|
287
|
-
return l.isArray(e) && !e.some(
|
|
286
|
+
function Un(e) {
|
|
287
|
+
return l.isArray(e) && !e.some(De);
|
|
288
288
|
}
|
|
289
|
-
const
|
|
289
|
+
const kn = l.toFlatObject(l, {}, null, function(t) {
|
|
290
290
|
return /^is[A-Z]/.test(t);
|
|
291
291
|
});
|
|
292
|
-
function
|
|
292
|
+
function we(e, t, n) {
|
|
293
293
|
if (!l.isObject(e))
|
|
294
294
|
throw new TypeError("target must be an object");
|
|
295
295
|
t = t || new FormData(), n = l.toFlatObject(n, {
|
|
@@ -299,58 +299,58 @@ function me(e, t, n) {
|
|
|
299
299
|
}, !1, function(m, h) {
|
|
300
300
|
return !l.isUndefined(h[m]);
|
|
301
301
|
});
|
|
302
|
-
const
|
|
303
|
-
if (!l.isFunction(
|
|
302
|
+
const s = n.metaTokens, r = n.visitor || d, o = n.dots, i = n.indexes, u = (n.Blob || typeof Blob < "u" && Blob) && l.isSpecCompliantForm(t);
|
|
303
|
+
if (!l.isFunction(r))
|
|
304
304
|
throw new TypeError("visitor must be a function");
|
|
305
305
|
function c(p) {
|
|
306
306
|
if (p === null) return "";
|
|
307
307
|
if (l.isDate(p))
|
|
308
308
|
return p.toISOString();
|
|
309
|
-
if (!
|
|
310
|
-
throw new
|
|
311
|
-
return l.isArrayBuffer(p) || l.isTypedArray(p) ?
|
|
309
|
+
if (!u && l.isBlob(p))
|
|
310
|
+
throw new g("Blob is not supported. Use a Buffer instead.");
|
|
311
|
+
return l.isArrayBuffer(p) || l.isTypedArray(p) ? u && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
|
|
312
312
|
}
|
|
313
|
-
function
|
|
314
|
-
let
|
|
313
|
+
function d(p, m, h) {
|
|
314
|
+
let w = p;
|
|
315
315
|
if (p && !h && typeof p == "object") {
|
|
316
316
|
if (l.endsWith(m, "{}"))
|
|
317
|
-
m =
|
|
318
|
-
else if (l.isArray(p) &&
|
|
319
|
-
return m =
|
|
320
|
-
!(l.isUndefined(
|
|
317
|
+
m = s ? m : m.slice(0, -2), p = JSON.stringify(p);
|
|
318
|
+
else if (l.isArray(p) && Un(p) || (l.isFileList(p) || l.endsWith(m, "[]")) && (w = l.toArray(p)))
|
|
319
|
+
return m = At(m), w.forEach(function(T, j) {
|
|
320
|
+
!(l.isUndefined(T) || T === null) && t.append(
|
|
321
321
|
// eslint-disable-next-line no-nested-ternary
|
|
322
|
-
|
|
323
|
-
c(
|
|
322
|
+
i === !0 ? Je([m], j, o) : i === null ? m : m + "[]",
|
|
323
|
+
c(T)
|
|
324
324
|
);
|
|
325
325
|
}), !1;
|
|
326
326
|
}
|
|
327
|
-
return
|
|
327
|
+
return De(p) ? !0 : (t.append(Je(h, m, o), c(p)), !1);
|
|
328
328
|
}
|
|
329
|
-
const
|
|
330
|
-
defaultVisitor:
|
|
329
|
+
const f = [], b = Object.assign(kn, {
|
|
330
|
+
defaultVisitor: d,
|
|
331
331
|
convertValue: c,
|
|
332
|
-
isVisitable:
|
|
332
|
+
isVisitable: De
|
|
333
333
|
});
|
|
334
|
-
function
|
|
334
|
+
function v(p, m) {
|
|
335
335
|
if (!l.isUndefined(p)) {
|
|
336
|
-
if (
|
|
336
|
+
if (f.indexOf(p) !== -1)
|
|
337
337
|
throw Error("Circular reference detected in " + m.join("."));
|
|
338
|
-
|
|
339
|
-
(!(l.isUndefined(
|
|
338
|
+
f.push(p), l.forEach(p, function(w, R) {
|
|
339
|
+
(!(l.isUndefined(w) || w === null) && r.call(
|
|
340
340
|
t,
|
|
341
|
-
|
|
342
|
-
l.isString(
|
|
341
|
+
w,
|
|
342
|
+
l.isString(R) ? R.trim() : R,
|
|
343
343
|
m,
|
|
344
|
-
|
|
345
|
-
)) === !0 &&
|
|
346
|
-
}),
|
|
344
|
+
b
|
|
345
|
+
)) === !0 && v(w, m ? m.concat(R) : [R]);
|
|
346
|
+
}), f.pop();
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
if (!l.isObject(e))
|
|
350
350
|
throw new TypeError("data must be an object");
|
|
351
|
-
return
|
|
351
|
+
return v(e), t;
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function Ve(e) {
|
|
354
354
|
const t = {
|
|
355
355
|
"!": "%21",
|
|
356
356
|
"'": "%27",
|
|
@@ -360,44 +360,44 @@ function _e(e) {
|
|
|
360
360
|
"%20": "+",
|
|
361
361
|
"%00": "\0"
|
|
362
362
|
};
|
|
363
|
-
return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g, function(
|
|
364
|
-
return t[
|
|
363
|
+
return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g, function(s) {
|
|
364
|
+
return t[s];
|
|
365
365
|
});
|
|
366
366
|
}
|
|
367
|
-
function
|
|
368
|
-
this._pairs = [], e &&
|
|
367
|
+
function Ue(e, t) {
|
|
368
|
+
this._pairs = [], e && we(e, this, t);
|
|
369
369
|
}
|
|
370
|
-
const
|
|
371
|
-
|
|
370
|
+
const yt = Ue.prototype;
|
|
371
|
+
yt.append = function(t, n) {
|
|
372
372
|
this._pairs.push([t, n]);
|
|
373
373
|
};
|
|
374
|
-
|
|
375
|
-
const n = t ? function(
|
|
376
|
-
return t.call(this,
|
|
377
|
-
} :
|
|
378
|
-
return this._pairs.map(function(
|
|
379
|
-
return n(
|
|
374
|
+
yt.toString = function(t) {
|
|
375
|
+
const n = t ? function(s) {
|
|
376
|
+
return t.call(this, s, Ve);
|
|
377
|
+
} : Ve;
|
|
378
|
+
return this._pairs.map(function(r) {
|
|
379
|
+
return n(r[0]) + "=" + n(r[1]);
|
|
380
380
|
}, "").join("&");
|
|
381
381
|
};
|
|
382
382
|
function zn(e) {
|
|
383
383
|
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
384
384
|
}
|
|
385
|
-
function
|
|
385
|
+
function wt(e, t, n) {
|
|
386
386
|
if (!t)
|
|
387
387
|
return e;
|
|
388
|
-
const
|
|
388
|
+
const s = n && n.encode || zn;
|
|
389
389
|
l.isFunction(n) && (n = {
|
|
390
390
|
serialize: n
|
|
391
391
|
});
|
|
392
|
-
const
|
|
393
|
-
let
|
|
394
|
-
if (
|
|
395
|
-
const
|
|
396
|
-
|
|
392
|
+
const r = n && n.serialize;
|
|
393
|
+
let o;
|
|
394
|
+
if (r ? o = r(t, n) : o = l.isURLSearchParams(t) ? t.toString() : new Ue(t, n).toString(s), o) {
|
|
395
|
+
const i = e.indexOf("#");
|
|
396
|
+
i !== -1 && (e = e.slice(0, i)), e += (e.indexOf("?") === -1 ? "?" : "&") + o;
|
|
397
397
|
}
|
|
398
398
|
return e;
|
|
399
399
|
}
|
|
400
|
-
class
|
|
400
|
+
class Qe {
|
|
401
401
|
constructor() {
|
|
402
402
|
this.handlers = [];
|
|
403
403
|
}
|
|
@@ -409,12 +409,12 @@ class He {
|
|
|
409
409
|
*
|
|
410
410
|
* @return {Number} An ID used to remove interceptor later
|
|
411
411
|
*/
|
|
412
|
-
use(t, n,
|
|
412
|
+
use(t, n, s) {
|
|
413
413
|
return this.handlers.push({
|
|
414
414
|
fulfilled: t,
|
|
415
415
|
rejected: n,
|
|
416
|
-
synchronous:
|
|
417
|
-
runWhen:
|
|
416
|
+
synchronous: s ? s.synchronous : !1,
|
|
417
|
+
runWhen: s ? s.runWhen : null
|
|
418
418
|
}), this.handlers.length - 1;
|
|
419
419
|
}
|
|
420
420
|
/**
|
|
@@ -446,86 +446,86 @@ class He {
|
|
|
446
446
|
* @returns {void}
|
|
447
447
|
*/
|
|
448
448
|
forEach(t) {
|
|
449
|
-
l.forEach(this.handlers, function(
|
|
450
|
-
|
|
449
|
+
l.forEach(this.handlers, function(s) {
|
|
450
|
+
s !== null && t(s);
|
|
451
451
|
});
|
|
452
452
|
}
|
|
453
453
|
}
|
|
454
|
-
const
|
|
454
|
+
const Et = {
|
|
455
455
|
silentJSONParsing: !0,
|
|
456
456
|
forcedJSONParsing: !0,
|
|
457
457
|
clarifyTimeoutError: !1
|
|
458
|
-
},
|
|
458
|
+
}, Mn = typeof URLSearchParams < "u" ? URLSearchParams : Ue, qn = typeof FormData < "u" ? FormData : null, Gn = typeof Blob < "u" ? Blob : null, Hn = {
|
|
459
459
|
isBrowser: !0,
|
|
460
460
|
classes: {
|
|
461
|
-
URLSearchParams:
|
|
462
|
-
FormData:
|
|
463
|
-
Blob:
|
|
461
|
+
URLSearchParams: Mn,
|
|
462
|
+
FormData: qn,
|
|
463
|
+
Blob: Gn
|
|
464
464
|
},
|
|
465
465
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
466
|
-
}, ke = typeof window < "u" && typeof document < "u",
|
|
467
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
|
|
466
|
+
}, ke = typeof window < "u" && typeof document < "u", Be = typeof navigator == "object" && navigator || void 0, Wn = ke && (!Be || ["ReactNative", "NativeScript", "NS"].indexOf(Be.product) < 0), Jn = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
467
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Vn = ke && window.location.href || "http://localhost", Qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
468
468
|
__proto__: null,
|
|
469
469
|
hasBrowserEnv: ke,
|
|
470
|
-
hasStandardBrowserEnv:
|
|
471
|
-
hasStandardBrowserWebWorkerEnv:
|
|
472
|
-
navigator:
|
|
473
|
-
origin:
|
|
474
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
470
|
+
hasStandardBrowserEnv: Wn,
|
|
471
|
+
hasStandardBrowserWebWorkerEnv: Jn,
|
|
472
|
+
navigator: Be,
|
|
473
|
+
origin: Vn
|
|
474
|
+
}, Symbol.toStringTag, { value: "Module" })), B = {
|
|
475
475
|
...Qn,
|
|
476
|
-
...
|
|
476
|
+
...Hn
|
|
477
477
|
};
|
|
478
|
-
function
|
|
479
|
-
return
|
|
480
|
-
visitor: function(n,
|
|
481
|
-
return
|
|
478
|
+
function Zn(e, t) {
|
|
479
|
+
return we(e, new B.classes.URLSearchParams(), Object.assign({
|
|
480
|
+
visitor: function(n, s, r, o) {
|
|
481
|
+
return B.isNode && l.isBuffer(n) ? (this.append(s, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
|
|
482
482
|
}
|
|
483
483
|
}, t));
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function Yn(e) {
|
|
486
486
|
return l.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
|
|
487
487
|
}
|
|
488
|
-
function
|
|
488
|
+
function Xn(e) {
|
|
489
489
|
const t = {}, n = Object.keys(e);
|
|
490
|
-
let
|
|
491
|
-
const
|
|
492
|
-
let
|
|
493
|
-
for (
|
|
494
|
-
|
|
490
|
+
let s;
|
|
491
|
+
const r = n.length;
|
|
492
|
+
let o;
|
|
493
|
+
for (s = 0; s < r; s++)
|
|
494
|
+
o = n[s], t[o] = e[o];
|
|
495
495
|
return t;
|
|
496
496
|
}
|
|
497
|
-
function
|
|
498
|
-
function t(n,
|
|
499
|
-
let
|
|
500
|
-
if (
|
|
501
|
-
const a = Number.isFinite(+
|
|
502
|
-
return
|
|
497
|
+
function St(e) {
|
|
498
|
+
function t(n, s, r, o) {
|
|
499
|
+
let i = n[o++];
|
|
500
|
+
if (i === "__proto__") return !0;
|
|
501
|
+
const a = Number.isFinite(+i), u = o >= n.length;
|
|
502
|
+
return i = !i && l.isArray(r) ? r.length : i, u ? (l.hasOwnProp(r, i) ? r[i] = [r[i], s] : r[i] = s, !a) : ((!r[i] || !l.isObject(r[i])) && (r[i] = []), t(n, s, r[i], o) && l.isArray(r[i]) && (r[i] = Xn(r[i])), !a);
|
|
503
503
|
}
|
|
504
504
|
if (l.isFormData(e) && l.isFunction(e.entries)) {
|
|
505
505
|
const n = {};
|
|
506
|
-
return l.forEachEntry(e, (
|
|
507
|
-
t(
|
|
506
|
+
return l.forEachEntry(e, (s, r) => {
|
|
507
|
+
t(Yn(s), r, n, 0);
|
|
508
508
|
}), n;
|
|
509
509
|
}
|
|
510
510
|
return null;
|
|
511
511
|
}
|
|
512
|
-
function
|
|
512
|
+
function _n(e, t, n) {
|
|
513
513
|
if (l.isString(e))
|
|
514
514
|
try {
|
|
515
515
|
return (t || JSON.parse)(e), l.trim(e);
|
|
516
|
-
} catch (
|
|
517
|
-
if (
|
|
518
|
-
throw
|
|
516
|
+
} catch (s) {
|
|
517
|
+
if (s.name !== "SyntaxError")
|
|
518
|
+
throw s;
|
|
519
519
|
}
|
|
520
520
|
return (n || JSON.stringify)(e);
|
|
521
521
|
}
|
|
522
|
-
const
|
|
523
|
-
transitional:
|
|
522
|
+
const ce = {
|
|
523
|
+
transitional: Et,
|
|
524
524
|
adapter: ["xhr", "http", "fetch"],
|
|
525
525
|
transformRequest: [function(t, n) {
|
|
526
|
-
const
|
|
527
|
-
if (
|
|
528
|
-
return
|
|
526
|
+
const s = n.getContentType() || "", r = s.indexOf("application/json") > -1, o = l.isObject(t);
|
|
527
|
+
if (o && l.isHTMLForm(t) && (t = new FormData(t)), l.isFormData(t))
|
|
528
|
+
return r ? JSON.stringify(St(t)) : t;
|
|
529
529
|
if (l.isArrayBuffer(t) || l.isBuffer(t) || l.isStream(t) || l.isFile(t) || l.isBlob(t) || l.isReadableStream(t))
|
|
530
530
|
return t;
|
|
531
531
|
if (l.isArrayBufferView(t))
|
|
@@ -533,31 +533,31 @@ const re = {
|
|
|
533
533
|
if (l.isURLSearchParams(t))
|
|
534
534
|
return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
|
|
535
535
|
let a;
|
|
536
|
-
if (
|
|
537
|
-
if (
|
|
538
|
-
return
|
|
539
|
-
if ((a = l.isFileList(t)) ||
|
|
540
|
-
const
|
|
541
|
-
return
|
|
536
|
+
if (o) {
|
|
537
|
+
if (s.indexOf("application/x-www-form-urlencoded") > -1)
|
|
538
|
+
return Zn(t, this.formSerializer).toString();
|
|
539
|
+
if ((a = l.isFileList(t)) || s.indexOf("multipart/form-data") > -1) {
|
|
540
|
+
const u = this.env && this.env.FormData;
|
|
541
|
+
return we(
|
|
542
542
|
a ? { "files[]": t } : t,
|
|
543
|
-
|
|
543
|
+
u && new u(),
|
|
544
544
|
this.formSerializer
|
|
545
545
|
);
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
|
-
return
|
|
548
|
+
return o || r ? (n.setContentType("application/json", !1), _n(t)) : t;
|
|
549
549
|
}],
|
|
550
550
|
transformResponse: [function(t) {
|
|
551
|
-
const n = this.transitional ||
|
|
551
|
+
const n = this.transitional || ce.transitional, s = n && n.forcedJSONParsing, r = this.responseType === "json";
|
|
552
552
|
if (l.isResponse(t) || l.isReadableStream(t))
|
|
553
553
|
return t;
|
|
554
|
-
if (t && l.isString(t) && (
|
|
555
|
-
const
|
|
554
|
+
if (t && l.isString(t) && (s && !this.responseType || r)) {
|
|
555
|
+
const i = !(n && n.silentJSONParsing) && r;
|
|
556
556
|
try {
|
|
557
557
|
return JSON.parse(t);
|
|
558
558
|
} catch (a) {
|
|
559
|
-
if (
|
|
560
|
-
throw a.name === "SyntaxError" ?
|
|
559
|
+
if (i)
|
|
560
|
+
throw a.name === "SyntaxError" ? g.from(a, g.ERR_BAD_RESPONSE, this, null, this.response) : a;
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
563
|
return t;
|
|
@@ -572,8 +572,8 @@ const re = {
|
|
|
572
572
|
maxContentLength: -1,
|
|
573
573
|
maxBodyLength: -1,
|
|
574
574
|
env: {
|
|
575
|
-
FormData:
|
|
576
|
-
Blob:
|
|
575
|
+
FormData: B.classes.FormData,
|
|
576
|
+
Blob: B.classes.Blob
|
|
577
577
|
},
|
|
578
578
|
validateStatus: function(t) {
|
|
579
579
|
return t >= 200 && t < 300;
|
|
@@ -586,9 +586,9 @@ const re = {
|
|
|
586
586
|
}
|
|
587
587
|
};
|
|
588
588
|
l.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
589
|
-
|
|
589
|
+
ce.headers[e] = {};
|
|
590
590
|
});
|
|
591
|
-
const
|
|
591
|
+
const Kn = l.toObjectSet([
|
|
592
592
|
"age",
|
|
593
593
|
"authorization",
|
|
594
594
|
"content-length",
|
|
@@ -606,47 +606,47 @@ const Zn = l.toObjectSet([
|
|
|
606
606
|
"referer",
|
|
607
607
|
"retry-after",
|
|
608
608
|
"user-agent"
|
|
609
|
-
]),
|
|
609
|
+
]), $n = (e) => {
|
|
610
610
|
const t = {};
|
|
611
|
-
let n,
|
|
611
|
+
let n, s, r;
|
|
612
612
|
return e && e.split(`
|
|
613
|
-
`).forEach(function(
|
|
614
|
-
|
|
613
|
+
`).forEach(function(i) {
|
|
614
|
+
r = i.indexOf(":"), n = i.substring(0, r).trim().toLowerCase(), s = i.substring(r + 1).trim(), !(!n || t[n] && Kn[n]) && (n === "set-cookie" ? t[n] ? t[n].push(s) : t[n] = [s] : t[n] = t[n] ? t[n] + ", " + s : s);
|
|
615
615
|
}), t;
|
|
616
|
-
},
|
|
617
|
-
function
|
|
616
|
+
}, Ze = Symbol("internals");
|
|
617
|
+
function ee(e) {
|
|
618
618
|
return e && String(e).trim().toLowerCase();
|
|
619
619
|
}
|
|
620
|
-
function
|
|
621
|
-
return e === !1 || e == null ? e : l.isArray(e) ? e.map(
|
|
620
|
+
function fe(e) {
|
|
621
|
+
return e === !1 || e == null ? e : l.isArray(e) ? e.map(fe) : String(e);
|
|
622
622
|
}
|
|
623
|
-
function
|
|
623
|
+
function es(e) {
|
|
624
624
|
const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
625
|
-
let
|
|
626
|
-
for (;
|
|
627
|
-
t[
|
|
625
|
+
let s;
|
|
626
|
+
for (; s = n.exec(e); )
|
|
627
|
+
t[s[1]] = s[2];
|
|
628
628
|
return t;
|
|
629
629
|
}
|
|
630
|
-
const
|
|
631
|
-
function
|
|
632
|
-
if (l.isFunction(
|
|
633
|
-
return
|
|
634
|
-
if (
|
|
635
|
-
if (l.isString(
|
|
636
|
-
return t.indexOf(
|
|
637
|
-
if (l.isRegExp(
|
|
638
|
-
return
|
|
630
|
+
const ts = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
631
|
+
function ve(e, t, n, s, r) {
|
|
632
|
+
if (l.isFunction(s))
|
|
633
|
+
return s.call(this, t, n);
|
|
634
|
+
if (r && (t = n), !!l.isString(t)) {
|
|
635
|
+
if (l.isString(s))
|
|
636
|
+
return t.indexOf(s) !== -1;
|
|
637
|
+
if (l.isRegExp(s))
|
|
638
|
+
return s.test(t);
|
|
639
639
|
}
|
|
640
640
|
}
|
|
641
|
-
function
|
|
642
|
-
return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n,
|
|
641
|
+
function ns(e) {
|
|
642
|
+
return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, s) => n.toUpperCase() + s);
|
|
643
643
|
}
|
|
644
|
-
function
|
|
644
|
+
function ss(e, t) {
|
|
645
645
|
const n = l.toCamelCase(" " + t);
|
|
646
|
-
["get", "set", "has"].forEach((
|
|
647
|
-
Object.defineProperty(e,
|
|
648
|
-
value: function(
|
|
649
|
-
return this[
|
|
646
|
+
["get", "set", "has"].forEach((s) => {
|
|
647
|
+
Object.defineProperty(e, s + n, {
|
|
648
|
+
value: function(r, o, i) {
|
|
649
|
+
return this[s].call(this, t, r, o, i);
|
|
650
650
|
},
|
|
651
651
|
configurable: !0
|
|
652
652
|
});
|
|
@@ -656,81 +656,81 @@ let F = class {
|
|
|
656
656
|
constructor(t) {
|
|
657
657
|
t && this.set(t);
|
|
658
658
|
}
|
|
659
|
-
set(t, n,
|
|
660
|
-
const
|
|
661
|
-
function
|
|
662
|
-
const
|
|
663
|
-
if (!
|
|
659
|
+
set(t, n, s) {
|
|
660
|
+
const r = this;
|
|
661
|
+
function o(a, u, c) {
|
|
662
|
+
const d = ee(u);
|
|
663
|
+
if (!d)
|
|
664
664
|
throw new Error("header name must be a non-empty string");
|
|
665
|
-
const
|
|
666
|
-
(!
|
|
665
|
+
const f = l.findKey(r, d);
|
|
666
|
+
(!f || r[f] === void 0 || c === !0 || c === void 0 && r[f] !== !1) && (r[f || u] = fe(a));
|
|
667
667
|
}
|
|
668
|
-
const
|
|
668
|
+
const i = (a, u) => l.forEach(a, (c, d) => o(c, d, u));
|
|
669
669
|
if (l.isPlainObject(t) || t instanceof this.constructor)
|
|
670
|
-
|
|
671
|
-
else if (l.isString(t) && (t = t.trim()) &&
|
|
672
|
-
|
|
670
|
+
i(t, n);
|
|
671
|
+
else if (l.isString(t) && (t = t.trim()) && !ts(t))
|
|
672
|
+
i($n(t), n);
|
|
673
673
|
else if (l.isHeaders(t))
|
|
674
|
-
for (const [a,
|
|
675
|
-
|
|
674
|
+
for (const [a, u] of t.entries())
|
|
675
|
+
o(u, a, s);
|
|
676
676
|
else
|
|
677
|
-
t != null &&
|
|
677
|
+
t != null && o(n, t, s);
|
|
678
678
|
return this;
|
|
679
679
|
}
|
|
680
680
|
get(t, n) {
|
|
681
|
-
if (t =
|
|
682
|
-
const
|
|
683
|
-
if (
|
|
684
|
-
const
|
|
681
|
+
if (t = ee(t), t) {
|
|
682
|
+
const s = l.findKey(this, t);
|
|
683
|
+
if (s) {
|
|
684
|
+
const r = this[s];
|
|
685
685
|
if (!n)
|
|
686
|
-
return
|
|
686
|
+
return r;
|
|
687
687
|
if (n === !0)
|
|
688
|
-
return
|
|
688
|
+
return es(r);
|
|
689
689
|
if (l.isFunction(n))
|
|
690
|
-
return n.call(this,
|
|
690
|
+
return n.call(this, r, s);
|
|
691
691
|
if (l.isRegExp(n))
|
|
692
|
-
return n.exec(
|
|
692
|
+
return n.exec(r);
|
|
693
693
|
throw new TypeError("parser must be boolean|regexp|function");
|
|
694
694
|
}
|
|
695
695
|
}
|
|
696
696
|
}
|
|
697
697
|
has(t, n) {
|
|
698
|
-
if (t =
|
|
699
|
-
const
|
|
700
|
-
return !!(
|
|
698
|
+
if (t = ee(t), t) {
|
|
699
|
+
const s = l.findKey(this, t);
|
|
700
|
+
return !!(s && this[s] !== void 0 && (!n || ve(this, this[s], s, n)));
|
|
701
701
|
}
|
|
702
702
|
return !1;
|
|
703
703
|
}
|
|
704
704
|
delete(t, n) {
|
|
705
|
-
const
|
|
706
|
-
let
|
|
707
|
-
function i
|
|
708
|
-
if (
|
|
709
|
-
const a = l.findKey(
|
|
710
|
-
a && (!n ||
|
|
705
|
+
const s = this;
|
|
706
|
+
let r = !1;
|
|
707
|
+
function o(i) {
|
|
708
|
+
if (i = ee(i), i) {
|
|
709
|
+
const a = l.findKey(s, i);
|
|
710
|
+
a && (!n || ve(s, s[a], a, n)) && (delete s[a], r = !0);
|
|
711
711
|
}
|
|
712
712
|
}
|
|
713
|
-
return l.isArray(t) ? t.forEach(
|
|
713
|
+
return l.isArray(t) ? t.forEach(o) : o(t), r;
|
|
714
714
|
}
|
|
715
715
|
clear(t) {
|
|
716
716
|
const n = Object.keys(this);
|
|
717
|
-
let
|
|
718
|
-
for (;
|
|
719
|
-
const
|
|
720
|
-
(!t ||
|
|
717
|
+
let s = n.length, r = !1;
|
|
718
|
+
for (; s--; ) {
|
|
719
|
+
const o = n[s];
|
|
720
|
+
(!t || ve(this, this[o], o, t, !0)) && (delete this[o], r = !0);
|
|
721
721
|
}
|
|
722
|
-
return
|
|
722
|
+
return r;
|
|
723
723
|
}
|
|
724
724
|
normalize(t) {
|
|
725
|
-
const n = this,
|
|
726
|
-
return l.forEach(this, (
|
|
727
|
-
const
|
|
728
|
-
if (
|
|
729
|
-
n[
|
|
725
|
+
const n = this, s = {};
|
|
726
|
+
return l.forEach(this, (r, o) => {
|
|
727
|
+
const i = l.findKey(s, o);
|
|
728
|
+
if (i) {
|
|
729
|
+
n[i] = fe(r), delete n[o];
|
|
730
730
|
return;
|
|
731
731
|
}
|
|
732
|
-
const a = t ?
|
|
733
|
-
a !==
|
|
732
|
+
const a = t ? ns(o) : String(o).trim();
|
|
733
|
+
a !== o && delete n[o], n[a] = fe(r), s[a] = !0;
|
|
734
734
|
}), this;
|
|
735
735
|
}
|
|
736
736
|
concat(...t) {
|
|
@@ -738,8 +738,8 @@ let F = class {
|
|
|
738
738
|
}
|
|
739
739
|
toJSON(t) {
|
|
740
740
|
const n = /* @__PURE__ */ Object.create(null);
|
|
741
|
-
return l.forEach(this, (
|
|
742
|
-
|
|
741
|
+
return l.forEach(this, (s, r) => {
|
|
742
|
+
s != null && s !== !1 && (n[r] = t && l.isArray(s) ? s.join(", ") : s);
|
|
743
743
|
}), n;
|
|
744
744
|
}
|
|
745
745
|
[Symbol.iterator]() {
|
|
@@ -756,18 +756,18 @@ let F = class {
|
|
|
756
756
|
return t instanceof this ? t : new this(t);
|
|
757
757
|
}
|
|
758
758
|
static concat(t, ...n) {
|
|
759
|
-
const
|
|
760
|
-
return n.forEach((
|
|
759
|
+
const s = new this(t);
|
|
760
|
+
return n.forEach((r) => s.set(r)), s;
|
|
761
761
|
}
|
|
762
762
|
static accessor(t) {
|
|
763
|
-
const
|
|
763
|
+
const s = (this[Ze] = this[Ze] = {
|
|
764
764
|
accessors: {}
|
|
765
|
-
}).accessors,
|
|
766
|
-
function i
|
|
767
|
-
const a =
|
|
768
|
-
|
|
765
|
+
}).accessors, r = this.prototype;
|
|
766
|
+
function o(i) {
|
|
767
|
+
const a = ee(i);
|
|
768
|
+
s[a] || (ss(r, i), s[a] = !0);
|
|
769
769
|
}
|
|
770
|
-
return l.isArray(t) ? t.forEach(
|
|
770
|
+
return l.isArray(t) ? t.forEach(o) : o(t), this;
|
|
771
771
|
}
|
|
772
772
|
};
|
|
773
773
|
F.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
@@ -775,105 +775,105 @@ l.reduceDescriptors(F.prototype, ({ value: e }, t) => {
|
|
|
775
775
|
let n = t[0].toUpperCase() + t.slice(1);
|
|
776
776
|
return {
|
|
777
777
|
get: () => e,
|
|
778
|
-
set(
|
|
779
|
-
this[n] =
|
|
778
|
+
set(s) {
|
|
779
|
+
this[n] = s;
|
|
780
780
|
}
|
|
781
781
|
};
|
|
782
782
|
});
|
|
783
783
|
l.freezeMethods(F);
|
|
784
|
-
function
|
|
785
|
-
const n = this ||
|
|
786
|
-
let
|
|
784
|
+
function Re(e, t) {
|
|
785
|
+
const n = this || ce, s = t || n, r = F.from(s.headers);
|
|
786
|
+
let o = s.data;
|
|
787
787
|
return l.forEach(e, function(a) {
|
|
788
|
-
|
|
789
|
-
}),
|
|
788
|
+
o = a.call(n, o, r.normalize(), t ? t.status : void 0);
|
|
789
|
+
}), r.normalize(), o;
|
|
790
790
|
}
|
|
791
|
-
function
|
|
791
|
+
function vt(e) {
|
|
792
792
|
return !!(e && e.__CANCEL__);
|
|
793
793
|
}
|
|
794
|
-
function
|
|
795
|
-
|
|
794
|
+
function $(e, t, n) {
|
|
795
|
+
g.call(this, e ?? "canceled", g.ERR_CANCELED, t, n), this.name = "CanceledError";
|
|
796
796
|
}
|
|
797
|
-
l.inherits(
|
|
797
|
+
l.inherits($, g, {
|
|
798
798
|
__CANCEL__: !0
|
|
799
799
|
});
|
|
800
|
-
function
|
|
801
|
-
const
|
|
802
|
-
!n.status || !
|
|
800
|
+
function Rt(e, t, n) {
|
|
801
|
+
const s = n.config.validateStatus;
|
|
802
|
+
!n.status || !s || s(n.status) ? e(n) : t(new g(
|
|
803
803
|
"Request failed with status code " + n.status,
|
|
804
|
-
[
|
|
804
|
+
[g.ERR_BAD_REQUEST, g.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
|
|
805
805
|
n.config,
|
|
806
806
|
n.request,
|
|
807
807
|
n
|
|
808
808
|
));
|
|
809
809
|
}
|
|
810
|
-
function
|
|
810
|
+
function rs(e) {
|
|
811
811
|
const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
|
|
812
812
|
return t && t[1] || "";
|
|
813
813
|
}
|
|
814
|
-
function
|
|
814
|
+
function os(e, t) {
|
|
815
815
|
e = e || 10;
|
|
816
|
-
const n = new Array(e),
|
|
817
|
-
let
|
|
818
|
-
return t = t !== void 0 ? t : 1e3, function(
|
|
819
|
-
const c = Date.now(),
|
|
820
|
-
|
|
821
|
-
let
|
|
822
|
-
for (;
|
|
823
|
-
|
|
824
|
-
if (
|
|
816
|
+
const n = new Array(e), s = new Array(e);
|
|
817
|
+
let r = 0, o = 0, i;
|
|
818
|
+
return t = t !== void 0 ? t : 1e3, function(u) {
|
|
819
|
+
const c = Date.now(), d = s[o];
|
|
820
|
+
i || (i = c), n[r] = u, s[r] = c;
|
|
821
|
+
let f = o, b = 0;
|
|
822
|
+
for (; f !== r; )
|
|
823
|
+
b += n[f++], f = f % e;
|
|
824
|
+
if (r = (r + 1) % e, r === o && (o = (o + 1) % e), c - i < t)
|
|
825
825
|
return;
|
|
826
|
-
const
|
|
827
|
-
return
|
|
826
|
+
const v = d && c - d;
|
|
827
|
+
return v ? Math.round(b * 1e3 / v) : void 0;
|
|
828
828
|
};
|
|
829
829
|
}
|
|
830
|
-
function
|
|
831
|
-
let n = 0,
|
|
832
|
-
const
|
|
833
|
-
n =
|
|
830
|
+
function is(e, t) {
|
|
831
|
+
let n = 0, s = 1e3 / t, r, o;
|
|
832
|
+
const i = (c, d = Date.now()) => {
|
|
833
|
+
n = d, r = null, o && (clearTimeout(o), o = null), e.apply(null, c);
|
|
834
834
|
};
|
|
835
835
|
return [(...c) => {
|
|
836
|
-
const
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
},
|
|
840
|
-
}, () =>
|
|
841
|
-
}
|
|
842
|
-
const
|
|
843
|
-
let
|
|
844
|
-
const
|
|
845
|
-
return
|
|
846
|
-
const
|
|
847
|
-
|
|
848
|
-
const
|
|
849
|
-
loaded:
|
|
836
|
+
const d = Date.now(), f = d - n;
|
|
837
|
+
f >= s ? i(c, d) : (r = c, o || (o = setTimeout(() => {
|
|
838
|
+
o = null, i(r);
|
|
839
|
+
}, s - f)));
|
|
840
|
+
}, () => r && i(r)];
|
|
841
|
+
}
|
|
842
|
+
const he = (e, t, n = 3) => {
|
|
843
|
+
let s = 0;
|
|
844
|
+
const r = os(50, 250);
|
|
845
|
+
return is((o) => {
|
|
846
|
+
const i = o.loaded, a = o.lengthComputable ? o.total : void 0, u = i - s, c = r(u), d = i <= a;
|
|
847
|
+
s = i;
|
|
848
|
+
const f = {
|
|
849
|
+
loaded: i,
|
|
850
850
|
total: a,
|
|
851
|
-
progress: a ?
|
|
852
|
-
bytes:
|
|
851
|
+
progress: a ? i / a : void 0,
|
|
852
|
+
bytes: u,
|
|
853
853
|
rate: c || void 0,
|
|
854
|
-
estimated: c && a &&
|
|
855
|
-
event:
|
|
854
|
+
estimated: c && a && d ? (a - i) / c : void 0,
|
|
855
|
+
event: o,
|
|
856
856
|
lengthComputable: a != null,
|
|
857
857
|
[t ? "download" : "upload"]: !0
|
|
858
858
|
};
|
|
859
|
-
e(
|
|
859
|
+
e(f);
|
|
860
860
|
}, n);
|
|
861
|
-
},
|
|
861
|
+
}, Ye = (e, t) => {
|
|
862
862
|
const n = e != null;
|
|
863
|
-
return [(
|
|
863
|
+
return [(s) => t[0]({
|
|
864
864
|
lengthComputable: n,
|
|
865
865
|
total: e,
|
|
866
|
-
loaded:
|
|
866
|
+
loaded: s
|
|
867
867
|
}), t[1]];
|
|
868
|
-
},
|
|
869
|
-
new URL(
|
|
870
|
-
|
|
871
|
-
) : () => !0,
|
|
868
|
+
}, Xe = (e) => (...t) => l.asap(() => e(...t)), as = B.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, B.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
|
|
869
|
+
new URL(B.origin),
|
|
870
|
+
B.navigator && /(msie|trident)/i.test(B.navigator.userAgent)
|
|
871
|
+
) : () => !0, ls = B.hasStandardBrowserEnv ? (
|
|
872
872
|
// Standard browser envs support document.cookie
|
|
873
873
|
{
|
|
874
|
-
write(e, t, n,
|
|
875
|
-
const
|
|
876
|
-
l.isNumber(n) &&
|
|
874
|
+
write(e, t, n, s, r, o) {
|
|
875
|
+
const i = [e + "=" + encodeURIComponent(t)];
|
|
876
|
+
l.isNumber(n) && i.push("expires=" + new Date(n).toGMTString()), l.isString(s) && i.push("path=" + s), l.isString(r) && i.push("domain=" + r), o === !0 && i.push("secure"), document.cookie = i.join("; ");
|
|
877
877
|
},
|
|
878
878
|
read(e) {
|
|
879
879
|
const t = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)"));
|
|
@@ -895,195 +895,195 @@ const le = (e, t, n = 3) => {
|
|
|
895
895
|
}
|
|
896
896
|
}
|
|
897
897
|
);
|
|
898
|
-
function
|
|
898
|
+
function cs(e) {
|
|
899
899
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
|
|
900
900
|
}
|
|
901
|
-
function
|
|
901
|
+
function us(e, t) {
|
|
902
902
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
903
903
|
}
|
|
904
|
-
function
|
|
905
|
-
let
|
|
906
|
-
return e &&
|
|
904
|
+
function Tt(e, t, n) {
|
|
905
|
+
let s = !cs(t);
|
|
906
|
+
return e && (s || n == !1) ? us(e, t) : t;
|
|
907
907
|
}
|
|
908
|
-
const
|
|
909
|
-
function
|
|
908
|
+
const _e = (e) => e instanceof F ? { ...e } : e;
|
|
909
|
+
function _(e, t) {
|
|
910
910
|
t = t || {};
|
|
911
911
|
const n = {};
|
|
912
|
-
function
|
|
913
|
-
return l.isPlainObject(c) && l.isPlainObject(
|
|
912
|
+
function s(c, d, f, b) {
|
|
913
|
+
return l.isPlainObject(c) && l.isPlainObject(d) ? l.merge.call({ caseless: b }, c, d) : l.isPlainObject(d) ? l.merge({}, d) : l.isArray(d) ? d.slice() : d;
|
|
914
914
|
}
|
|
915
|
-
function
|
|
916
|
-
if (l.isUndefined(
|
|
915
|
+
function r(c, d, f, b) {
|
|
916
|
+
if (l.isUndefined(d)) {
|
|
917
917
|
if (!l.isUndefined(c))
|
|
918
|
-
return
|
|
919
|
-
} else return
|
|
918
|
+
return s(void 0, c, f, b);
|
|
919
|
+
} else return s(c, d, f, b);
|
|
920
920
|
}
|
|
921
|
-
function
|
|
922
|
-
if (!l.isUndefined(
|
|
923
|
-
return
|
|
921
|
+
function o(c, d) {
|
|
922
|
+
if (!l.isUndefined(d))
|
|
923
|
+
return s(void 0, d);
|
|
924
924
|
}
|
|
925
|
-
function
|
|
926
|
-
if (l.isUndefined(
|
|
925
|
+
function i(c, d) {
|
|
926
|
+
if (l.isUndefined(d)) {
|
|
927
927
|
if (!l.isUndefined(c))
|
|
928
|
-
return
|
|
929
|
-
} else return
|
|
930
|
-
}
|
|
931
|
-
function a(c,
|
|
932
|
-
if (
|
|
933
|
-
return
|
|
934
|
-
if (
|
|
935
|
-
return
|
|
936
|
-
}
|
|
937
|
-
const
|
|
938
|
-
url:
|
|
939
|
-
method:
|
|
940
|
-
data:
|
|
941
|
-
baseURL:
|
|
942
|
-
transformRequest:
|
|
943
|
-
transformResponse:
|
|
944
|
-
paramsSerializer:
|
|
945
|
-
timeout:
|
|
946
|
-
timeoutMessage:
|
|
947
|
-
withCredentials:
|
|
948
|
-
withXSRFToken:
|
|
949
|
-
adapter:
|
|
950
|
-
responseType:
|
|
951
|
-
xsrfCookieName:
|
|
952
|
-
xsrfHeaderName:
|
|
953
|
-
onUploadProgress:
|
|
954
|
-
onDownloadProgress:
|
|
955
|
-
decompress:
|
|
956
|
-
maxContentLength:
|
|
957
|
-
maxBodyLength:
|
|
958
|
-
beforeRedirect:
|
|
959
|
-
transport:
|
|
960
|
-
httpAgent:
|
|
961
|
-
httpsAgent:
|
|
962
|
-
cancelToken:
|
|
963
|
-
socketPath:
|
|
964
|
-
responseEncoding:
|
|
928
|
+
return s(void 0, c);
|
|
929
|
+
} else return s(void 0, d);
|
|
930
|
+
}
|
|
931
|
+
function a(c, d, f) {
|
|
932
|
+
if (f in t)
|
|
933
|
+
return s(c, d);
|
|
934
|
+
if (f in e)
|
|
935
|
+
return s(void 0, c);
|
|
936
|
+
}
|
|
937
|
+
const u = {
|
|
938
|
+
url: o,
|
|
939
|
+
method: o,
|
|
940
|
+
data: o,
|
|
941
|
+
baseURL: i,
|
|
942
|
+
transformRequest: i,
|
|
943
|
+
transformResponse: i,
|
|
944
|
+
paramsSerializer: i,
|
|
945
|
+
timeout: i,
|
|
946
|
+
timeoutMessage: i,
|
|
947
|
+
withCredentials: i,
|
|
948
|
+
withXSRFToken: i,
|
|
949
|
+
adapter: i,
|
|
950
|
+
responseType: i,
|
|
951
|
+
xsrfCookieName: i,
|
|
952
|
+
xsrfHeaderName: i,
|
|
953
|
+
onUploadProgress: i,
|
|
954
|
+
onDownloadProgress: i,
|
|
955
|
+
decompress: i,
|
|
956
|
+
maxContentLength: i,
|
|
957
|
+
maxBodyLength: i,
|
|
958
|
+
beforeRedirect: i,
|
|
959
|
+
transport: i,
|
|
960
|
+
httpAgent: i,
|
|
961
|
+
httpsAgent: i,
|
|
962
|
+
cancelToken: i,
|
|
963
|
+
socketPath: i,
|
|
964
|
+
responseEncoding: i,
|
|
965
965
|
validateStatus: a,
|
|
966
|
-
headers: (c,
|
|
966
|
+
headers: (c, d, f) => r(_e(c), _e(d), f, !0)
|
|
967
967
|
};
|
|
968
|
-
return l.forEach(Object.keys(Object.assign({}, e, t)), function(
|
|
969
|
-
const
|
|
970
|
-
l.isUndefined(
|
|
968
|
+
return l.forEach(Object.keys(Object.assign({}, e, t)), function(d) {
|
|
969
|
+
const f = u[d] || r, b = f(e[d], t[d], d);
|
|
970
|
+
l.isUndefined(b) && f !== a || (n[d] = b);
|
|
971
971
|
}), n;
|
|
972
972
|
}
|
|
973
|
-
const
|
|
974
|
-
const t =
|
|
975
|
-
let { data: n, withXSRFToken:
|
|
976
|
-
t.headers =
|
|
973
|
+
const Ot = (e) => {
|
|
974
|
+
const t = _({}, e);
|
|
975
|
+
let { data: n, withXSRFToken: s, xsrfHeaderName: r, xsrfCookieName: o, headers: i, auth: a } = t;
|
|
976
|
+
t.headers = i = F.from(i), t.url = wt(Tt(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), a && i.set(
|
|
977
977
|
"Authorization",
|
|
978
978
|
"Basic " + btoa((a.username || "") + ":" + (a.password ? unescape(encodeURIComponent(a.password)) : ""))
|
|
979
979
|
);
|
|
980
|
-
let
|
|
980
|
+
let u;
|
|
981
981
|
if (l.isFormData(n)) {
|
|
982
|
-
if (
|
|
983
|
-
|
|
984
|
-
else if ((
|
|
985
|
-
const [c, ...
|
|
986
|
-
|
|
982
|
+
if (B.hasStandardBrowserEnv || B.hasStandardBrowserWebWorkerEnv)
|
|
983
|
+
i.setContentType(void 0);
|
|
984
|
+
else if ((u = i.getContentType()) !== !1) {
|
|
985
|
+
const [c, ...d] = u ? u.split(";").map((f) => f.trim()).filter(Boolean) : [];
|
|
986
|
+
i.setContentType([c || "multipart/form-data", ...d].join("; "));
|
|
987
987
|
}
|
|
988
988
|
}
|
|
989
|
-
if (
|
|
990
|
-
const c =
|
|
991
|
-
c &&
|
|
989
|
+
if (B.hasStandardBrowserEnv && (s && l.isFunction(s) && (s = s(t)), s || s !== !1 && as(t.url))) {
|
|
990
|
+
const c = r && o && ls.read(o);
|
|
991
|
+
c && i.set(r, c);
|
|
992
992
|
}
|
|
993
993
|
return t;
|
|
994
|
-
},
|
|
995
|
-
return new Promise(function(n,
|
|
996
|
-
const
|
|
997
|
-
let
|
|
998
|
-
const
|
|
999
|
-
let { responseType: a, onUploadProgress:
|
|
994
|
+
}, ds = typeof XMLHttpRequest < "u", fs = ds && function(e) {
|
|
995
|
+
return new Promise(function(n, s) {
|
|
996
|
+
const r = Ot(e);
|
|
997
|
+
let o = r.data;
|
|
998
|
+
const i = F.from(r.headers).normalize();
|
|
999
|
+
let { responseType: a, onUploadProgress: u, onDownloadProgress: c } = r, d, f, b, v, p;
|
|
1000
1000
|
function m() {
|
|
1001
|
-
|
|
1001
|
+
v && v(), p && p(), r.cancelToken && r.cancelToken.unsubscribe(d), r.signal && r.signal.removeEventListener("abort", d);
|
|
1002
1002
|
}
|
|
1003
1003
|
let h = new XMLHttpRequest();
|
|
1004
|
-
h.open(
|
|
1005
|
-
function
|
|
1004
|
+
h.open(r.method.toUpperCase(), r.url, !0), h.timeout = r.timeout;
|
|
1005
|
+
function w() {
|
|
1006
1006
|
if (!h)
|
|
1007
1007
|
return;
|
|
1008
|
-
const
|
|
1008
|
+
const T = F.from(
|
|
1009
1009
|
"getAllResponseHeaders" in h && h.getAllResponseHeaders()
|
|
1010
|
-
),
|
|
1010
|
+
), D = {
|
|
1011
1011
|
data: !a || a === "text" || a === "json" ? h.responseText : h.response,
|
|
1012
1012
|
status: h.status,
|
|
1013
1013
|
statusText: h.statusText,
|
|
1014
|
-
headers:
|
|
1014
|
+
headers: T,
|
|
1015
1015
|
config: e,
|
|
1016
1016
|
request: h
|
|
1017
1017
|
};
|
|
1018
|
-
|
|
1019
|
-
n(
|
|
1020
|
-
}, function(
|
|
1021
|
-
|
|
1022
|
-
},
|
|
1018
|
+
Rt(function(W) {
|
|
1019
|
+
n(W), m();
|
|
1020
|
+
}, function(W) {
|
|
1021
|
+
s(W), m();
|
|
1022
|
+
}, D), h = null;
|
|
1023
1023
|
}
|
|
1024
|
-
"onloadend" in h ? h.onloadend =
|
|
1025
|
-
!h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0) || setTimeout(
|
|
1024
|
+
"onloadend" in h ? h.onloadend = w : h.onreadystatechange = function() {
|
|
1025
|
+
!h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0) || setTimeout(w);
|
|
1026
1026
|
}, h.onabort = function() {
|
|
1027
|
-
h && (
|
|
1027
|
+
h && (s(new g("Request aborted", g.ECONNABORTED, e, h)), h = null);
|
|
1028
1028
|
}, h.onerror = function() {
|
|
1029
|
-
|
|
1029
|
+
s(new g("Network Error", g.ERR_NETWORK, e, h)), h = null;
|
|
1030
1030
|
}, h.ontimeout = function() {
|
|
1031
|
-
let
|
|
1032
|
-
const
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1031
|
+
let j = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded";
|
|
1032
|
+
const D = r.transitional || Et;
|
|
1033
|
+
r.timeoutErrorMessage && (j = r.timeoutErrorMessage), s(new g(
|
|
1034
|
+
j,
|
|
1035
|
+
D.clarifyTimeoutError ? g.ETIMEDOUT : g.ECONNABORTED,
|
|
1036
1036
|
e,
|
|
1037
1037
|
h
|
|
1038
1038
|
)), h = null;
|
|
1039
|
-
},
|
|
1040
|
-
h.setRequestHeader(
|
|
1041
|
-
}), l.isUndefined(
|
|
1042
|
-
h && (
|
|
1043
|
-
},
|
|
1044
|
-
const
|
|
1045
|
-
if (
|
|
1046
|
-
|
|
1039
|
+
}, o === void 0 && i.setContentType(null), "setRequestHeader" in h && l.forEach(i.toJSON(), function(j, D) {
|
|
1040
|
+
h.setRequestHeader(D, j);
|
|
1041
|
+
}), l.isUndefined(r.withCredentials) || (h.withCredentials = !!r.withCredentials), a && a !== "json" && (h.responseType = r.responseType), c && ([b, p] = he(c, !0), h.addEventListener("progress", b)), u && h.upload && ([f, v] = he(u), h.upload.addEventListener("progress", f), h.upload.addEventListener("loadend", v)), (r.cancelToken || r.signal) && (d = (T) => {
|
|
1042
|
+
h && (s(!T || T.type ? new $(null, e, h) : T), h.abort(), h = null);
|
|
1043
|
+
}, r.cancelToken && r.cancelToken.subscribe(d), r.signal && (r.signal.aborted ? d() : r.signal.addEventListener("abort", d)));
|
|
1044
|
+
const R = rs(r.url);
|
|
1045
|
+
if (R && B.protocols.indexOf(R) === -1) {
|
|
1046
|
+
s(new g("Unsupported protocol " + R + ":", g.ERR_BAD_REQUEST, e));
|
|
1047
1047
|
return;
|
|
1048
1048
|
}
|
|
1049
|
-
h.send(
|
|
1049
|
+
h.send(o || null);
|
|
1050
1050
|
});
|
|
1051
|
-
},
|
|
1051
|
+
}, ps = (e, t) => {
|
|
1052
1052
|
const { length: n } = e = e ? e.filter(Boolean) : [];
|
|
1053
1053
|
if (t || n) {
|
|
1054
|
-
let
|
|
1055
|
-
const
|
|
1056
|
-
if (!
|
|
1057
|
-
|
|
1058
|
-
const
|
|
1059
|
-
|
|
1054
|
+
let s = new AbortController(), r;
|
|
1055
|
+
const o = function(c) {
|
|
1056
|
+
if (!r) {
|
|
1057
|
+
r = !0, a();
|
|
1058
|
+
const d = c instanceof Error ? c : this.reason;
|
|
1059
|
+
s.abort(d instanceof g ? d : new $(d instanceof Error ? d.message : d));
|
|
1060
1060
|
}
|
|
1061
1061
|
};
|
|
1062
|
-
let
|
|
1063
|
-
|
|
1062
|
+
let i = t && setTimeout(() => {
|
|
1063
|
+
i = null, o(new g(`timeout ${t} of ms exceeded`, g.ETIMEDOUT));
|
|
1064
1064
|
}, t);
|
|
1065
1065
|
const a = () => {
|
|
1066
|
-
e && (
|
|
1067
|
-
c.unsubscribe ? c.unsubscribe(
|
|
1066
|
+
e && (i && clearTimeout(i), i = null, e.forEach((c) => {
|
|
1067
|
+
c.unsubscribe ? c.unsubscribe(o) : c.removeEventListener("abort", o);
|
|
1068
1068
|
}), e = null);
|
|
1069
1069
|
};
|
|
1070
|
-
e.forEach((c) => c.addEventListener("abort",
|
|
1071
|
-
const { signal:
|
|
1072
|
-
return
|
|
1070
|
+
e.forEach((c) => c.addEventListener("abort", o));
|
|
1071
|
+
const { signal: u } = s;
|
|
1072
|
+
return u.unsubscribe = () => l.asap(a), u;
|
|
1073
1073
|
}
|
|
1074
|
-
},
|
|
1074
|
+
}, hs = function* (e, t) {
|
|
1075
1075
|
let n = e.byteLength;
|
|
1076
1076
|
if (n < t) {
|
|
1077
1077
|
yield e;
|
|
1078
1078
|
return;
|
|
1079
1079
|
}
|
|
1080
|
-
let
|
|
1081
|
-
for (;
|
|
1082
|
-
|
|
1083
|
-
},
|
|
1084
|
-
for await (const n of
|
|
1085
|
-
yield*
|
|
1086
|
-
},
|
|
1080
|
+
let s = 0, r;
|
|
1081
|
+
for (; s < n; )
|
|
1082
|
+
r = s + t, yield e.slice(s, r), s = r;
|
|
1083
|
+
}, ms = async function* (e, t) {
|
|
1084
|
+
for await (const n of gs(e))
|
|
1085
|
+
yield* hs(n, t);
|
|
1086
|
+
}, gs = async function* (e) {
|
|
1087
1087
|
if (e[Symbol.asyncIterator]) {
|
|
1088
1088
|
yield* e;
|
|
1089
1089
|
return;
|
|
@@ -1091,52 +1091,52 @@ const vt = (e) => {
|
|
|
1091
1091
|
const t = e.getReader();
|
|
1092
1092
|
try {
|
|
1093
1093
|
for (; ; ) {
|
|
1094
|
-
const { done: n, value:
|
|
1094
|
+
const { done: n, value: s } = await t.read();
|
|
1095
1095
|
if (n)
|
|
1096
1096
|
break;
|
|
1097
|
-
yield
|
|
1097
|
+
yield s;
|
|
1098
1098
|
}
|
|
1099
1099
|
} finally {
|
|
1100
1100
|
await t.cancel();
|
|
1101
1101
|
}
|
|
1102
|
-
},
|
|
1103
|
-
const
|
|
1104
|
-
let
|
|
1105
|
-
|
|
1102
|
+
}, Ke = (e, t, n, s) => {
|
|
1103
|
+
const r = ms(e, t);
|
|
1104
|
+
let o = 0, i, a = (u) => {
|
|
1105
|
+
i || (i = !0, s && s(u));
|
|
1106
1106
|
};
|
|
1107
1107
|
return new ReadableStream({
|
|
1108
|
-
async pull(
|
|
1108
|
+
async pull(u) {
|
|
1109
1109
|
try {
|
|
1110
|
-
const { done: c, value:
|
|
1110
|
+
const { done: c, value: d } = await r.next();
|
|
1111
1111
|
if (c) {
|
|
1112
|
-
a(),
|
|
1112
|
+
a(), u.close();
|
|
1113
1113
|
return;
|
|
1114
1114
|
}
|
|
1115
|
-
let
|
|
1115
|
+
let f = d.byteLength;
|
|
1116
1116
|
if (n) {
|
|
1117
|
-
let
|
|
1118
|
-
n(
|
|
1117
|
+
let b = o += f;
|
|
1118
|
+
n(b);
|
|
1119
1119
|
}
|
|
1120
|
-
|
|
1120
|
+
u.enqueue(new Uint8Array(d));
|
|
1121
1121
|
} catch (c) {
|
|
1122
1122
|
throw a(c), c;
|
|
1123
1123
|
}
|
|
1124
1124
|
},
|
|
1125
|
-
cancel(
|
|
1126
|
-
return a(
|
|
1125
|
+
cancel(u) {
|
|
1126
|
+
return a(u), r.return();
|
|
1127
1127
|
}
|
|
1128
1128
|
}, {
|
|
1129
1129
|
highWaterMark: 2
|
|
1130
1130
|
});
|
|
1131
|
-
},
|
|
1131
|
+
}, Ee = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Nt = Ee && typeof ReadableStream == "function", bs = Ee && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), Dt = (e, ...t) => {
|
|
1132
1132
|
try {
|
|
1133
1133
|
return !!e(...t);
|
|
1134
1134
|
} catch {
|
|
1135
1135
|
return !1;
|
|
1136
1136
|
}
|
|
1137
|
-
},
|
|
1137
|
+
}, As = Nt && Dt(() => {
|
|
1138
1138
|
let e = !1;
|
|
1139
|
-
const t = new Request(
|
|
1139
|
+
const t = new Request(B.origin, {
|
|
1140
1140
|
body: new ReadableStream(),
|
|
1141
1141
|
method: "POST",
|
|
1142
1142
|
get duplex() {
|
|
@@ -1144,124 +1144,124 @@ const vt = (e) => {
|
|
|
1144
1144
|
}
|
|
1145
1145
|
}).headers.has("Content-Type");
|
|
1146
1146
|
return e && !t;
|
|
1147
|
-
}),
|
|
1147
|
+
}), $e = 64 * 1024, Ce = Nt && Dt(() => l.isReadableStream(new Response("").body)), me = {
|
|
1148
1148
|
stream: Ce && ((e) => e.body)
|
|
1149
1149
|
};
|
|
1150
|
-
|
|
1150
|
+
Ee && ((e) => {
|
|
1151
1151
|
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
|
|
1152
|
-
!
|
|
1153
|
-
throw new
|
|
1152
|
+
!me[t] && (me[t] = l.isFunction(e[t]) ? (n) => n[t]() : (n, s) => {
|
|
1153
|
+
throw new g(`Response type '${t}' is not supported`, g.ERR_NOT_SUPPORT, s);
|
|
1154
1154
|
});
|
|
1155
1155
|
});
|
|
1156
1156
|
})(new Response());
|
|
1157
|
-
const
|
|
1157
|
+
const ys = async (e) => {
|
|
1158
1158
|
if (e == null)
|
|
1159
1159
|
return 0;
|
|
1160
1160
|
if (l.isBlob(e))
|
|
1161
1161
|
return e.size;
|
|
1162
1162
|
if (l.isSpecCompliantForm(e))
|
|
1163
|
-
return (await new Request(
|
|
1163
|
+
return (await new Request(B.origin, {
|
|
1164
1164
|
method: "POST",
|
|
1165
1165
|
body: e
|
|
1166
1166
|
}).arrayBuffer()).byteLength;
|
|
1167
1167
|
if (l.isArrayBufferView(e) || l.isArrayBuffer(e))
|
|
1168
1168
|
return e.byteLength;
|
|
1169
1169
|
if (l.isURLSearchParams(e) && (e = e + ""), l.isString(e))
|
|
1170
|
-
return (await
|
|
1171
|
-
},
|
|
1170
|
+
return (await bs(e)).byteLength;
|
|
1171
|
+
}, ws = async (e, t) => {
|
|
1172
1172
|
const n = l.toFiniteNumber(e.getContentLength());
|
|
1173
|
-
return n ??
|
|
1174
|
-
},
|
|
1173
|
+
return n ?? ys(t);
|
|
1174
|
+
}, Es = Ee && (async (e) => {
|
|
1175
1175
|
let {
|
|
1176
1176
|
url: t,
|
|
1177
1177
|
method: n,
|
|
1178
|
-
data:
|
|
1179
|
-
signal:
|
|
1180
|
-
cancelToken:
|
|
1181
|
-
timeout:
|
|
1178
|
+
data: s,
|
|
1179
|
+
signal: r,
|
|
1180
|
+
cancelToken: o,
|
|
1181
|
+
timeout: i,
|
|
1182
1182
|
onDownloadProgress: a,
|
|
1183
|
-
onUploadProgress:
|
|
1183
|
+
onUploadProgress: u,
|
|
1184
1184
|
responseType: c,
|
|
1185
|
-
headers:
|
|
1186
|
-
withCredentials:
|
|
1187
|
-
fetchOptions:
|
|
1188
|
-
} =
|
|
1185
|
+
headers: d,
|
|
1186
|
+
withCredentials: f = "same-origin",
|
|
1187
|
+
fetchOptions: b
|
|
1188
|
+
} = Ot(e);
|
|
1189
1189
|
c = c ? (c + "").toLowerCase() : "text";
|
|
1190
|
-
let
|
|
1191
|
-
const m =
|
|
1192
|
-
|
|
1190
|
+
let v = ps([r, o && o.toAbortSignal()], i), p;
|
|
1191
|
+
const m = v && v.unsubscribe && (() => {
|
|
1192
|
+
v.unsubscribe();
|
|
1193
1193
|
});
|
|
1194
1194
|
let h;
|
|
1195
1195
|
try {
|
|
1196
|
-
if (
|
|
1197
|
-
let
|
|
1196
|
+
if (u && As && n !== "get" && n !== "head" && (h = await ws(d, s)) !== 0) {
|
|
1197
|
+
let D = new Request(t, {
|
|
1198
1198
|
method: "POST",
|
|
1199
|
-
body:
|
|
1199
|
+
body: s,
|
|
1200
1200
|
duplex: "half"
|
|
1201
|
-
}),
|
|
1202
|
-
if (l.isFormData(
|
|
1203
|
-
const [
|
|
1201
|
+
}), z;
|
|
1202
|
+
if (l.isFormData(s) && (z = D.headers.get("content-type")) && d.setContentType(z), D.body) {
|
|
1203
|
+
const [W, A] = Ye(
|
|
1204
1204
|
h,
|
|
1205
|
-
|
|
1205
|
+
he(Xe(u))
|
|
1206
1206
|
);
|
|
1207
|
-
|
|
1207
|
+
s = Ke(D.body, $e, W, A);
|
|
1208
1208
|
}
|
|
1209
1209
|
}
|
|
1210
|
-
l.isString(
|
|
1211
|
-
const
|
|
1210
|
+
l.isString(f) || (f = f ? "include" : "omit");
|
|
1211
|
+
const w = "credentials" in Request.prototype;
|
|
1212
1212
|
p = new Request(t, {
|
|
1213
|
-
...
|
|
1214
|
-
signal:
|
|
1213
|
+
...b,
|
|
1214
|
+
signal: v,
|
|
1215
1215
|
method: n.toUpperCase(),
|
|
1216
|
-
headers:
|
|
1217
|
-
body:
|
|
1216
|
+
headers: d.normalize().toJSON(),
|
|
1217
|
+
body: s,
|
|
1218
1218
|
duplex: "half",
|
|
1219
|
-
credentials:
|
|
1219
|
+
credentials: w ? f : void 0
|
|
1220
1220
|
});
|
|
1221
|
-
let
|
|
1222
|
-
const
|
|
1223
|
-
if (Ce && (a ||
|
|
1224
|
-
const
|
|
1225
|
-
["status", "statusText", "headers"].forEach((
|
|
1226
|
-
|
|
1221
|
+
let R = await fetch(p);
|
|
1222
|
+
const T = Ce && (c === "stream" || c === "response");
|
|
1223
|
+
if (Ce && (a || T && m)) {
|
|
1224
|
+
const D = {};
|
|
1225
|
+
["status", "statusText", "headers"].forEach((N) => {
|
|
1226
|
+
D[N] = R[N];
|
|
1227
1227
|
});
|
|
1228
|
-
const
|
|
1229
|
-
|
|
1230
|
-
|
|
1228
|
+
const z = l.toFiniteNumber(R.headers.get("content-length")), [W, A] = a && Ye(
|
|
1229
|
+
z,
|
|
1230
|
+
he(Xe(a), !0)
|
|
1231
1231
|
) || [];
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1232
|
+
R = new Response(
|
|
1233
|
+
Ke(R.body, $e, W, () => {
|
|
1234
|
+
A && A(), m && m();
|
|
1235
1235
|
}),
|
|
1236
|
-
|
|
1236
|
+
D
|
|
1237
1237
|
);
|
|
1238
1238
|
}
|
|
1239
1239
|
c = c || "text";
|
|
1240
|
-
let
|
|
1241
|
-
return !
|
|
1242
|
-
|
|
1243
|
-
data:
|
|
1244
|
-
headers: F.from(
|
|
1245
|
-
status:
|
|
1246
|
-
statusText:
|
|
1240
|
+
let j = await me[l.findKey(me, c) || "text"](R, e);
|
|
1241
|
+
return !T && m && m(), await new Promise((D, z) => {
|
|
1242
|
+
Rt(D, z, {
|
|
1243
|
+
data: j,
|
|
1244
|
+
headers: F.from(R.headers),
|
|
1245
|
+
status: R.status,
|
|
1246
|
+
statusText: R.statusText,
|
|
1247
1247
|
config: e,
|
|
1248
1248
|
request: p
|
|
1249
1249
|
});
|
|
1250
1250
|
});
|
|
1251
|
-
} catch (
|
|
1252
|
-
throw m && m(),
|
|
1253
|
-
new
|
|
1251
|
+
} catch (w) {
|
|
1252
|
+
throw m && m(), w && w.name === "TypeError" && /fetch/i.test(w.message) ? Object.assign(
|
|
1253
|
+
new g("Network Error", g.ERR_NETWORK, e, p),
|
|
1254
1254
|
{
|
|
1255
|
-
cause:
|
|
1255
|
+
cause: w.cause || w
|
|
1256
1256
|
}
|
|
1257
|
-
) :
|
|
1257
|
+
) : g.from(w, w && w.code, e, p);
|
|
1258
1258
|
}
|
|
1259
|
-
}),
|
|
1260
|
-
http:
|
|
1261
|
-
xhr:
|
|
1262
|
-
fetch:
|
|
1259
|
+
}), xe = {
|
|
1260
|
+
http: jn,
|
|
1261
|
+
xhr: fs,
|
|
1262
|
+
fetch: Es
|
|
1263
1263
|
};
|
|
1264
|
-
l.forEach(
|
|
1264
|
+
l.forEach(xe, (e, t) => {
|
|
1265
1265
|
if (e) {
|
|
1266
1266
|
try {
|
|
1267
1267
|
Object.defineProperty(e, "name", { value: t });
|
|
@@ -1270,113 +1270,113 @@ l.forEach(Oe, (e, t) => {
|
|
|
1270
1270
|
Object.defineProperty(e, "adapterName", { value: t });
|
|
1271
1271
|
}
|
|
1272
1272
|
});
|
|
1273
|
-
const
|
|
1273
|
+
const et = (e) => `- ${e}`, Ss = (e) => l.isFunction(e) || e === null || e === !1, Bt = {
|
|
1274
1274
|
getAdapter: (e) => {
|
|
1275
1275
|
e = l.isArray(e) ? e : [e];
|
|
1276
1276
|
const { length: t } = e;
|
|
1277
|
-
let n,
|
|
1278
|
-
const
|
|
1279
|
-
for (let
|
|
1280
|
-
n = e[
|
|
1281
|
-
let
|
|
1282
|
-
if (
|
|
1283
|
-
throw new
|
|
1284
|
-
if (
|
|
1277
|
+
let n, s;
|
|
1278
|
+
const r = {};
|
|
1279
|
+
for (let o = 0; o < t; o++) {
|
|
1280
|
+
n = e[o];
|
|
1281
|
+
let i;
|
|
1282
|
+
if (s = n, !Ss(n) && (s = xe[(i = String(n)).toLowerCase()], s === void 0))
|
|
1283
|
+
throw new g(`Unknown adapter '${i}'`);
|
|
1284
|
+
if (s)
|
|
1285
1285
|
break;
|
|
1286
|
-
|
|
1286
|
+
r[i || "#" + o] = s;
|
|
1287
1287
|
}
|
|
1288
|
-
if (!
|
|
1289
|
-
const
|
|
1290
|
-
([a,
|
|
1288
|
+
if (!s) {
|
|
1289
|
+
const o = Object.entries(r).map(
|
|
1290
|
+
([a, u]) => `adapter ${a} ` + (u === !1 ? "is not supported by the environment" : "is not available in the build")
|
|
1291
1291
|
);
|
|
1292
|
-
let
|
|
1293
|
-
` +
|
|
1294
|
-
`) : " " +
|
|
1295
|
-
throw new
|
|
1296
|
-
"There is no suitable adapter to dispatch the request " +
|
|
1292
|
+
let i = t ? o.length > 1 ? `since :
|
|
1293
|
+
` + o.map(et).join(`
|
|
1294
|
+
`) : " " + et(o[0]) : "as no adapter specified";
|
|
1295
|
+
throw new g(
|
|
1296
|
+
"There is no suitable adapter to dispatch the request " + i,
|
|
1297
1297
|
"ERR_NOT_SUPPORT"
|
|
1298
1298
|
);
|
|
1299
1299
|
}
|
|
1300
|
-
return
|
|
1300
|
+
return s;
|
|
1301
1301
|
},
|
|
1302
|
-
adapters:
|
|
1302
|
+
adapters: xe
|
|
1303
1303
|
};
|
|
1304
|
-
function
|
|
1304
|
+
function Te(e) {
|
|
1305
1305
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
1306
|
-
throw new
|
|
1306
|
+
throw new $(null, e);
|
|
1307
1307
|
}
|
|
1308
|
-
function
|
|
1309
|
-
return
|
|
1308
|
+
function tt(e) {
|
|
1309
|
+
return Te(e), e.headers = F.from(e.headers), e.data = Re.call(
|
|
1310
1310
|
e,
|
|
1311
1311
|
e.transformRequest
|
|
1312
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
1313
|
-
return
|
|
1312
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Bt.getAdapter(e.adapter || ce.adapter)(e).then(function(s) {
|
|
1313
|
+
return Te(e), s.data = Re.call(
|
|
1314
1314
|
e,
|
|
1315
1315
|
e.transformResponse,
|
|
1316
|
-
|
|
1317
|
-
),
|
|
1318
|
-
}, function(
|
|
1319
|
-
return
|
|
1316
|
+
s
|
|
1317
|
+
), s.headers = F.from(s.headers), s;
|
|
1318
|
+
}, function(s) {
|
|
1319
|
+
return vt(s) || (Te(e), s && s.response && (s.response.data = Re.call(
|
|
1320
1320
|
e,
|
|
1321
1321
|
e.transformResponse,
|
|
1322
|
-
|
|
1323
|
-
),
|
|
1322
|
+
s.response
|
|
1323
|
+
), s.response.headers = F.from(s.response.headers))), Promise.reject(s);
|
|
1324
1324
|
});
|
|
1325
1325
|
}
|
|
1326
|
-
const
|
|
1326
|
+
const Ct = "1.8.4", Se = {};
|
|
1327
1327
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
1328
|
-
|
|
1329
|
-
return typeof
|
|
1328
|
+
Se[e] = function(s) {
|
|
1329
|
+
return typeof s === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
1330
1330
|
};
|
|
1331
1331
|
});
|
|
1332
|
-
const
|
|
1333
|
-
|
|
1334
|
-
function
|
|
1335
|
-
return "[Axios v" +
|
|
1332
|
+
const nt = {};
|
|
1333
|
+
Se.transitional = function(t, n, s) {
|
|
1334
|
+
function r(o, i) {
|
|
1335
|
+
return "[Axios v" + Ct + "] Transitional option '" + o + "'" + i + (s ? ". " + s : "");
|
|
1336
1336
|
}
|
|
1337
|
-
return (
|
|
1337
|
+
return (o, i, a) => {
|
|
1338
1338
|
if (t === !1)
|
|
1339
|
-
throw new
|
|
1340
|
-
|
|
1341
|
-
|
|
1339
|
+
throw new g(
|
|
1340
|
+
r(i, " has been removed" + (n ? " in " + n : "")),
|
|
1341
|
+
g.ERR_DEPRECATED
|
|
1342
1342
|
);
|
|
1343
|
-
return n && !
|
|
1344
|
-
|
|
1345
|
-
|
|
1343
|
+
return n && !nt[i] && (nt[i] = !0, console.warn(
|
|
1344
|
+
r(
|
|
1345
|
+
i,
|
|
1346
1346
|
" has been deprecated since v" + n + " and will be removed in the near future"
|
|
1347
1347
|
)
|
|
1348
|
-
)), t ? t(
|
|
1348
|
+
)), t ? t(o, i, a) : !0;
|
|
1349
1349
|
};
|
|
1350
1350
|
};
|
|
1351
|
-
|
|
1352
|
-
return (n,
|
|
1351
|
+
Se.spelling = function(t) {
|
|
1352
|
+
return (n, s) => (console.warn(`${s} is likely a misspelling of ${t}`), !0);
|
|
1353
1353
|
};
|
|
1354
|
-
function
|
|
1354
|
+
function vs(e, t, n) {
|
|
1355
1355
|
if (typeof e != "object")
|
|
1356
|
-
throw new
|
|
1357
|
-
const
|
|
1358
|
-
let
|
|
1359
|
-
for (;
|
|
1360
|
-
const
|
|
1361
|
-
if (
|
|
1362
|
-
const a = e[
|
|
1363
|
-
if (
|
|
1364
|
-
throw new
|
|
1356
|
+
throw new g("options must be an object", g.ERR_BAD_OPTION_VALUE);
|
|
1357
|
+
const s = Object.keys(e);
|
|
1358
|
+
let r = s.length;
|
|
1359
|
+
for (; r-- > 0; ) {
|
|
1360
|
+
const o = s[r], i = t[o];
|
|
1361
|
+
if (i) {
|
|
1362
|
+
const a = e[o], u = a === void 0 || i(a, o, e);
|
|
1363
|
+
if (u !== !0)
|
|
1364
|
+
throw new g("option " + o + " must be " + u, g.ERR_BAD_OPTION_VALUE);
|
|
1365
1365
|
continue;
|
|
1366
1366
|
}
|
|
1367
1367
|
if (n !== !0)
|
|
1368
|
-
throw new
|
|
1368
|
+
throw new g("Unknown option " + o, g.ERR_BAD_OPTION);
|
|
1369
1369
|
}
|
|
1370
1370
|
}
|
|
1371
|
-
const
|
|
1372
|
-
assertOptions:
|
|
1373
|
-
validators:
|
|
1374
|
-
},
|
|
1375
|
-
let
|
|
1371
|
+
const pe = {
|
|
1372
|
+
assertOptions: vs,
|
|
1373
|
+
validators: Se
|
|
1374
|
+
}, q = pe.validators;
|
|
1375
|
+
let X = class {
|
|
1376
1376
|
constructor(t) {
|
|
1377
1377
|
this.defaults = t, this.interceptors = {
|
|
1378
|
-
request: new
|
|
1379
|
-
response: new
|
|
1378
|
+
request: new Qe(),
|
|
1379
|
+
response: new Qe()
|
|
1380
1380
|
};
|
|
1381
1381
|
}
|
|
1382
1382
|
/**
|
|
@@ -1390,137 +1390,137 @@ let Q = class {
|
|
|
1390
1390
|
async request(t, n) {
|
|
1391
1391
|
try {
|
|
1392
1392
|
return await this._request(t, n);
|
|
1393
|
-
} catch (
|
|
1394
|
-
if (
|
|
1395
|
-
let
|
|
1396
|
-
Error.captureStackTrace ? Error.captureStackTrace(
|
|
1397
|
-
const
|
|
1393
|
+
} catch (s) {
|
|
1394
|
+
if (s instanceof Error) {
|
|
1395
|
+
let r = {};
|
|
1396
|
+
Error.captureStackTrace ? Error.captureStackTrace(r) : r = new Error();
|
|
1397
|
+
const o = r.stack ? r.stack.replace(/^.+\n/, "") : "";
|
|
1398
1398
|
try {
|
|
1399
|
-
|
|
1400
|
-
` +
|
|
1399
|
+
s.stack ? o && !String(s.stack).endsWith(o.replace(/^.+\n.+\n/, "")) && (s.stack += `
|
|
1400
|
+
` + o) : s.stack = o;
|
|
1401
1401
|
} catch {
|
|
1402
1402
|
}
|
|
1403
1403
|
}
|
|
1404
|
-
throw
|
|
1404
|
+
throw s;
|
|
1405
1405
|
}
|
|
1406
1406
|
}
|
|
1407
1407
|
_request(t, n) {
|
|
1408
|
-
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n =
|
|
1409
|
-
const { transitional:
|
|
1410
|
-
|
|
1411
|
-
silentJSONParsing:
|
|
1412
|
-
forcedJSONParsing:
|
|
1413
|
-
clarifyTimeoutError:
|
|
1414
|
-
}, !1),
|
|
1415
|
-
serialize:
|
|
1416
|
-
} :
|
|
1417
|
-
encode:
|
|
1418
|
-
serialize:
|
|
1419
|
-
}, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0),
|
|
1420
|
-
baseUrl:
|
|
1421
|
-
withXsrfToken:
|
|
1408
|
+
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = _(this.defaults, n);
|
|
1409
|
+
const { transitional: s, paramsSerializer: r, headers: o } = n;
|
|
1410
|
+
s !== void 0 && pe.assertOptions(s, {
|
|
1411
|
+
silentJSONParsing: q.transitional(q.boolean),
|
|
1412
|
+
forcedJSONParsing: q.transitional(q.boolean),
|
|
1413
|
+
clarifyTimeoutError: q.transitional(q.boolean)
|
|
1414
|
+
}, !1), r != null && (l.isFunction(r) ? n.paramsSerializer = {
|
|
1415
|
+
serialize: r
|
|
1416
|
+
} : pe.assertOptions(r, {
|
|
1417
|
+
encode: q.function,
|
|
1418
|
+
serialize: q.function
|
|
1419
|
+
}, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), pe.assertOptions(n, {
|
|
1420
|
+
baseUrl: q.spelling("baseURL"),
|
|
1421
|
+
withXsrfToken: q.spelling("withXSRFToken")
|
|
1422
1422
|
}, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
|
|
1423
|
-
let
|
|
1424
|
-
|
|
1425
|
-
|
|
1423
|
+
let i = o && l.merge(
|
|
1424
|
+
o.common,
|
|
1425
|
+
o[n.method]
|
|
1426
1426
|
);
|
|
1427
|
-
|
|
1427
|
+
o && l.forEach(
|
|
1428
1428
|
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
1429
1429
|
(p) => {
|
|
1430
|
-
delete
|
|
1430
|
+
delete o[p];
|
|
1431
1431
|
}
|
|
1432
|
-
), n.headers = F.concat(
|
|
1432
|
+
), n.headers = F.concat(i, o);
|
|
1433
1433
|
const a = [];
|
|
1434
|
-
let
|
|
1434
|
+
let u = !0;
|
|
1435
1435
|
this.interceptors.request.forEach(function(m) {
|
|
1436
|
-
typeof m.runWhen == "function" && m.runWhen(n) === !1 || (
|
|
1436
|
+
typeof m.runWhen == "function" && m.runWhen(n) === !1 || (u = u && m.synchronous, a.unshift(m.fulfilled, m.rejected));
|
|
1437
1437
|
});
|
|
1438
1438
|
const c = [];
|
|
1439
1439
|
this.interceptors.response.forEach(function(m) {
|
|
1440
1440
|
c.push(m.fulfilled, m.rejected);
|
|
1441
1441
|
});
|
|
1442
|
-
let
|
|
1443
|
-
if (!
|
|
1444
|
-
const p = [
|
|
1445
|
-
for (p.unshift.apply(p, a), p.push.apply(p, c),
|
|
1446
|
-
|
|
1447
|
-
return
|
|
1442
|
+
let d, f = 0, b;
|
|
1443
|
+
if (!u) {
|
|
1444
|
+
const p = [tt.bind(this), void 0];
|
|
1445
|
+
for (p.unshift.apply(p, a), p.push.apply(p, c), b = p.length, d = Promise.resolve(n); f < b; )
|
|
1446
|
+
d = d.then(p[f++], p[f++]);
|
|
1447
|
+
return d;
|
|
1448
1448
|
}
|
|
1449
|
-
|
|
1450
|
-
let
|
|
1451
|
-
for (
|
|
1452
|
-
const p = a[
|
|
1449
|
+
b = a.length;
|
|
1450
|
+
let v = n;
|
|
1451
|
+
for (f = 0; f < b; ) {
|
|
1452
|
+
const p = a[f++], m = a[f++];
|
|
1453
1453
|
try {
|
|
1454
|
-
|
|
1454
|
+
v = p(v);
|
|
1455
1455
|
} catch (h) {
|
|
1456
1456
|
m.call(this, h);
|
|
1457
1457
|
break;
|
|
1458
1458
|
}
|
|
1459
1459
|
}
|
|
1460
1460
|
try {
|
|
1461
|
-
|
|
1461
|
+
d = tt.call(this, v);
|
|
1462
1462
|
} catch (p) {
|
|
1463
1463
|
return Promise.reject(p);
|
|
1464
1464
|
}
|
|
1465
|
-
for (
|
|
1466
|
-
|
|
1467
|
-
return
|
|
1465
|
+
for (f = 0, b = c.length; f < b; )
|
|
1466
|
+
d = d.then(c[f++], c[f++]);
|
|
1467
|
+
return d;
|
|
1468
1468
|
}
|
|
1469
1469
|
getUri(t) {
|
|
1470
|
-
t =
|
|
1471
|
-
const n =
|
|
1472
|
-
return
|
|
1470
|
+
t = _(this.defaults, t);
|
|
1471
|
+
const n = Tt(t.baseURL, t.url, t.allowAbsoluteUrls);
|
|
1472
|
+
return wt(n, t.params, t.paramsSerializer);
|
|
1473
1473
|
}
|
|
1474
1474
|
};
|
|
1475
1475
|
l.forEach(["delete", "get", "head", "options"], function(t) {
|
|
1476
|
-
|
|
1477
|
-
return this.request(
|
|
1476
|
+
X.prototype[t] = function(n, s) {
|
|
1477
|
+
return this.request(_(s || {}, {
|
|
1478
1478
|
method: t,
|
|
1479
1479
|
url: n,
|
|
1480
|
-
data: (
|
|
1480
|
+
data: (s || {}).data
|
|
1481
1481
|
}));
|
|
1482
1482
|
};
|
|
1483
1483
|
});
|
|
1484
1484
|
l.forEach(["post", "put", "patch"], function(t) {
|
|
1485
|
-
function n(
|
|
1486
|
-
return function(
|
|
1487
|
-
return this.request(
|
|
1485
|
+
function n(s) {
|
|
1486
|
+
return function(o, i, a) {
|
|
1487
|
+
return this.request(_(a || {}, {
|
|
1488
1488
|
method: t,
|
|
1489
|
-
headers:
|
|
1489
|
+
headers: s ? {
|
|
1490
1490
|
"Content-Type": "multipart/form-data"
|
|
1491
1491
|
} : {},
|
|
1492
|
-
url:
|
|
1493
|
-
data:
|
|
1492
|
+
url: o,
|
|
1493
|
+
data: i
|
|
1494
1494
|
}));
|
|
1495
1495
|
};
|
|
1496
1496
|
}
|
|
1497
|
-
|
|
1497
|
+
X.prototype[t] = n(), X.prototype[t + "Form"] = n(!0);
|
|
1498
1498
|
});
|
|
1499
|
-
let
|
|
1499
|
+
let Rs = class xt {
|
|
1500
1500
|
constructor(t) {
|
|
1501
1501
|
if (typeof t != "function")
|
|
1502
1502
|
throw new TypeError("executor must be a function.");
|
|
1503
1503
|
let n;
|
|
1504
|
-
this.promise = new Promise(function(
|
|
1505
|
-
n =
|
|
1504
|
+
this.promise = new Promise(function(o) {
|
|
1505
|
+
n = o;
|
|
1506
1506
|
});
|
|
1507
|
-
const
|
|
1508
|
-
this.promise.then((
|
|
1509
|
-
if (!
|
|
1510
|
-
let
|
|
1511
|
-
for (;
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
}), this.promise.then = (
|
|
1515
|
-
let
|
|
1516
|
-
const
|
|
1517
|
-
|
|
1518
|
-
}).then(
|
|
1519
|
-
return
|
|
1520
|
-
|
|
1521
|
-
},
|
|
1522
|
-
}, t(function(
|
|
1523
|
-
|
|
1507
|
+
const s = this;
|
|
1508
|
+
this.promise.then((r) => {
|
|
1509
|
+
if (!s._listeners) return;
|
|
1510
|
+
let o = s._listeners.length;
|
|
1511
|
+
for (; o-- > 0; )
|
|
1512
|
+
s._listeners[o](r);
|
|
1513
|
+
s._listeners = null;
|
|
1514
|
+
}), this.promise.then = (r) => {
|
|
1515
|
+
let o;
|
|
1516
|
+
const i = new Promise((a) => {
|
|
1517
|
+
s.subscribe(a), o = a;
|
|
1518
|
+
}).then(r);
|
|
1519
|
+
return i.cancel = function() {
|
|
1520
|
+
s.unsubscribe(o);
|
|
1521
|
+
}, i;
|
|
1522
|
+
}, t(function(o, i, a) {
|
|
1523
|
+
s.reason || (s.reason = new $(o, i, a), n(s.reason));
|
|
1524
1524
|
});
|
|
1525
1525
|
}
|
|
1526
1526
|
/**
|
|
@@ -1550,8 +1550,8 @@ let Sr = class xt {
|
|
|
1550
1550
|
n !== -1 && this._listeners.splice(n, 1);
|
|
1551
1551
|
}
|
|
1552
1552
|
toAbortSignal() {
|
|
1553
|
-
const t = new AbortController(), n = (
|
|
1554
|
-
t.abort(
|
|
1553
|
+
const t = new AbortController(), n = (s) => {
|
|
1554
|
+
t.abort(s);
|
|
1555
1555
|
};
|
|
1556
1556
|
return this.subscribe(n), t.signal.unsubscribe = () => this.unsubscribe(n), t.signal;
|
|
1557
1557
|
}
|
|
@@ -1562,22 +1562,22 @@ let Sr = class xt {
|
|
|
1562
1562
|
static source() {
|
|
1563
1563
|
let t;
|
|
1564
1564
|
return {
|
|
1565
|
-
token: new xt(function(
|
|
1566
|
-
t =
|
|
1565
|
+
token: new xt(function(r) {
|
|
1566
|
+
t = r;
|
|
1567
1567
|
}),
|
|
1568
1568
|
cancel: t
|
|
1569
1569
|
};
|
|
1570
1570
|
}
|
|
1571
1571
|
};
|
|
1572
|
-
function
|
|
1572
|
+
function Ts(e) {
|
|
1573
1573
|
return function(n) {
|
|
1574
1574
|
return e.apply(null, n);
|
|
1575
1575
|
};
|
|
1576
1576
|
}
|
|
1577
|
-
function
|
|
1577
|
+
function Os(e) {
|
|
1578
1578
|
return l.isObject(e) && e.isAxiosError === !0;
|
|
1579
1579
|
}
|
|
1580
|
-
const
|
|
1580
|
+
const Le = {
|
|
1581
1581
|
Continue: 100,
|
|
1582
1582
|
SwitchingProtocols: 101,
|
|
1583
1583
|
Processing: 102,
|
|
@@ -1642,121 +1642,121 @@ const xe = {
|
|
|
1642
1642
|
NotExtended: 510,
|
|
1643
1643
|
NetworkAuthenticationRequired: 511
|
|
1644
1644
|
};
|
|
1645
|
-
Object.entries(
|
|
1646
|
-
|
|
1645
|
+
Object.entries(Le).forEach(([e, t]) => {
|
|
1646
|
+
Le[t] = e;
|
|
1647
1647
|
});
|
|
1648
|
-
function
|
|
1649
|
-
const t = new
|
|
1650
|
-
return l.extend(n,
|
|
1651
|
-
return
|
|
1648
|
+
function Lt(e) {
|
|
1649
|
+
const t = new X(e), n = ct(X.prototype.request, t);
|
|
1650
|
+
return l.extend(n, X.prototype, t, { allOwnKeys: !0 }), l.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(r) {
|
|
1651
|
+
return Lt(_(e, r));
|
|
1652
1652
|
}, n;
|
|
1653
1653
|
}
|
|
1654
|
-
const S =
|
|
1655
|
-
S.Axios =
|
|
1656
|
-
S.CanceledError =
|
|
1657
|
-
S.CancelToken =
|
|
1658
|
-
S.isCancel =
|
|
1659
|
-
S.VERSION =
|
|
1660
|
-
S.toFormData =
|
|
1661
|
-
S.AxiosError =
|
|
1654
|
+
const S = Lt(ce);
|
|
1655
|
+
S.Axios = X;
|
|
1656
|
+
S.CanceledError = $;
|
|
1657
|
+
S.CancelToken = Rs;
|
|
1658
|
+
S.isCancel = vt;
|
|
1659
|
+
S.VERSION = Ct;
|
|
1660
|
+
S.toFormData = we;
|
|
1661
|
+
S.AxiosError = g;
|
|
1662
1662
|
S.Cancel = S.CanceledError;
|
|
1663
1663
|
S.all = function(t) {
|
|
1664
1664
|
return Promise.all(t);
|
|
1665
1665
|
};
|
|
1666
|
-
S.spread =
|
|
1667
|
-
S.isAxiosError =
|
|
1668
|
-
S.mergeConfig =
|
|
1666
|
+
S.spread = Ts;
|
|
1667
|
+
S.isAxiosError = Os;
|
|
1668
|
+
S.mergeConfig = _;
|
|
1669
1669
|
S.AxiosHeaders = F;
|
|
1670
|
-
S.formToJSON = (e) =>
|
|
1671
|
-
S.getAdapter =
|
|
1672
|
-
S.HttpStatusCode =
|
|
1670
|
+
S.formToJSON = (e) => St(l.isHTMLForm(e) ? new FormData(e) : e);
|
|
1671
|
+
S.getAdapter = Bt.getAdapter;
|
|
1672
|
+
S.HttpStatusCode = Le;
|
|
1673
1673
|
S.default = S;
|
|
1674
1674
|
const {
|
|
1675
|
-
Axios:
|
|
1676
|
-
AxiosError:
|
|
1677
|
-
CanceledError:
|
|
1678
|
-
isCancel:
|
|
1679
|
-
CancelToken:
|
|
1680
|
-
VERSION:
|
|
1681
|
-
all:
|
|
1682
|
-
Cancel:
|
|
1683
|
-
isAxiosError:
|
|
1684
|
-
spread:
|
|
1685
|
-
toFormData:
|
|
1686
|
-
AxiosHeaders:
|
|
1687
|
-
HttpStatusCode:
|
|
1688
|
-
formToJSON:
|
|
1689
|
-
getAdapter:
|
|
1690
|
-
mergeConfig:
|
|
1691
|
-
} = S, Tr = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFIGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0R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
1678
|
+
isCancel: Jr,
|
|
1679
|
+
CancelToken: Vr,
|
|
1680
|
+
VERSION: Qr,
|
|
1681
|
+
all: Zr,
|
|
1682
|
+
Cancel: Yr,
|
|
1683
|
+
isAxiosError: Xr,
|
|
1684
|
+
spread: _r,
|
|
1685
|
+
toFormData: Kr,
|
|
1686
|
+
AxiosHeaders: $r,
|
|
1687
|
+
HttpStatusCode: eo,
|
|
1688
|
+
formToJSON: to,
|
|
1689
|
+
getAdapter: no,
|
|
1690
|
+
mergeConfig: so
|
|
1691
|
+
} = S;
|
|
1692
|
+
function Ns(e) {
|
|
1693
1693
|
return e == null ? !0 : typeof e == "string" || Array.isArray(e) ? e.length === 0 : typeof e == "object" ? Object.keys(e).length === 0 : !1;
|
|
1694
1694
|
}
|
|
1695
|
-
function
|
|
1695
|
+
function st(e) {
|
|
1696
1696
|
return e !== null && typeof e == "object" && !Array.isArray(e);
|
|
1697
1697
|
}
|
|
1698
|
-
function
|
|
1698
|
+
function Ft(e = {}, t = {}) {
|
|
1699
1699
|
const n = {};
|
|
1700
|
-
for (const
|
|
1701
|
-
n[
|
|
1702
|
-
for (const
|
|
1703
|
-
const
|
|
1704
|
-
if (
|
|
1705
|
-
n[
|
|
1706
|
-
|
|
1707
|
-
|
|
1700
|
+
for (const s in e)
|
|
1701
|
+
n[s] = e[s];
|
|
1702
|
+
for (const s in t) {
|
|
1703
|
+
const r = e[s], o = t[s];
|
|
1704
|
+
if (st(r) && st(o)) {
|
|
1705
|
+
n[s] = Ft(
|
|
1706
|
+
r,
|
|
1707
|
+
o
|
|
1708
1708
|
);
|
|
1709
1709
|
continue;
|
|
1710
1710
|
}
|
|
1711
|
-
n[
|
|
1711
|
+
n[s] = o;
|
|
1712
1712
|
}
|
|
1713
1713
|
return n;
|
|
1714
1714
|
}
|
|
1715
|
-
const
|
|
1716
|
-
function
|
|
1715
|
+
const Ds = "q-defaults";
|
|
1716
|
+
function Bs() {
|
|
1717
1717
|
var e, t;
|
|
1718
|
-
const n =
|
|
1718
|
+
const n = Ie();
|
|
1719
1719
|
if (!n)
|
|
1720
1720
|
throw new Error("[Quidgest UI] useDefaults must be called from inside a setup function");
|
|
1721
|
-
const
|
|
1722
|
-
if (!
|
|
1723
|
-
const
|
|
1724
|
-
return
|
|
1721
|
+
const s = n.type.name ?? n.type.__name;
|
|
1722
|
+
if (!s) throw new Error("[Quidgest UI] Could not determine component name");
|
|
1723
|
+
const r = Cs(), o = (e = r.value) == null ? void 0 : e.Global, i = (t = r.value) == null ? void 0 : t[s];
|
|
1724
|
+
return E(() => Ft(o, i));
|
|
1725
1725
|
}
|
|
1726
|
-
function
|
|
1727
|
-
const e =
|
|
1726
|
+
function Cs() {
|
|
1727
|
+
const e = jt(Ds, void 0);
|
|
1728
1728
|
if (!e) throw new Error("[Quidgest UI] Could not find defaults instance");
|
|
1729
1729
|
return e;
|
|
1730
1730
|
}
|
|
1731
|
-
function
|
|
1731
|
+
function xs(e) {
|
|
1732
1732
|
return e.replace(/([a-z])([A-Z])/g, "$1 $2").replace(/([0-9])([a-zA-Z])/g, "$1 $2").replace(/([a-zA-Z])([0-9])/g, "$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g, "$1 $2").trim().split(/\s+/);
|
|
1733
1733
|
}
|
|
1734
|
-
function
|
|
1735
|
-
return
|
|
1734
|
+
function Ls(e) {
|
|
1735
|
+
return xs(e).join("-").toLowerCase();
|
|
1736
1736
|
}
|
|
1737
|
-
function
|
|
1737
|
+
function Fs(e, t) {
|
|
1738
1738
|
var n;
|
|
1739
|
-
const
|
|
1740
|
-
return
|
|
1739
|
+
const s = Ls(t);
|
|
1740
|
+
return s ? typeof ((n = e.props) == null ? void 0 : n[s]) < "u" : !1;
|
|
1741
1741
|
}
|
|
1742
|
-
function
|
|
1742
|
+
function V(e) {
|
|
1743
1743
|
const t = e, n = t.setup;
|
|
1744
|
-
return n && (t.setup = (
|
|
1745
|
-
const
|
|
1746
|
-
if (
|
|
1747
|
-
const
|
|
1748
|
-
if (
|
|
1749
|
-
const a = new Proxy(
|
|
1750
|
-
get(
|
|
1751
|
-
var
|
|
1752
|
-
const
|
|
1753
|
-
return typeof c == "string" && !
|
|
1744
|
+
return n && (t.setup = (s, r) => {
|
|
1745
|
+
const o = Bs();
|
|
1746
|
+
if (Ns(o.value)) return n(s, r);
|
|
1747
|
+
const i = Ie();
|
|
1748
|
+
if (i === null) return n(s, r);
|
|
1749
|
+
const a = new Proxy(s, {
|
|
1750
|
+
get(u, c) {
|
|
1751
|
+
var d;
|
|
1752
|
+
const f = Reflect.get(u, c), b = (d = o.value) == null ? void 0 : d[c];
|
|
1753
|
+
return typeof c == "string" && !Fs(i.vnode, c) ? b ?? f : f;
|
|
1754
1754
|
}
|
|
1755
1755
|
});
|
|
1756
|
-
return n(a,
|
|
1756
|
+
return n(a, r);
|
|
1757
1757
|
}), e;
|
|
1758
1758
|
}
|
|
1759
|
-
const
|
|
1759
|
+
const Is = ["id"], Ps = /* @__PURE__ */ P({
|
|
1760
1760
|
__name: "QSpinnerLoader",
|
|
1761
1761
|
props: {
|
|
1762
1762
|
id: {},
|
|
@@ -1764,19 +1764,19 @@ const Fr = ["id"], kr = /* @__PURE__ */ q({
|
|
|
1764
1764
|
size: { default: 48 }
|
|
1765
1765
|
},
|
|
1766
1766
|
setup(e) {
|
|
1767
|
-
const t = e, n =
|
|
1767
|
+
const t = e, n = E(() => ({
|
|
1768
1768
|
"font-size": t.size !== 48 ? `${t.size}px` : void 0
|
|
1769
1769
|
}));
|
|
1770
|
-
return (
|
|
1770
|
+
return (s, r) => (y(), O("div", {
|
|
1771
1771
|
id: t.id,
|
|
1772
|
-
class:
|
|
1773
|
-
style:
|
|
1774
|
-
}, null, 14,
|
|
1772
|
+
class: U(["q-spinner-loader", t.class]),
|
|
1773
|
+
style: ie(n.value)
|
|
1774
|
+
}, null, 14, Is));
|
|
1775
1775
|
}
|
|
1776
|
-
}),
|
|
1776
|
+
}), js = V(Ps), Us = ["id", "disabled"], ks = {
|
|
1777
1777
|
key: 0,
|
|
1778
1778
|
class: "q-btn__spinner"
|
|
1779
|
-
},
|
|
1779
|
+
}, zs = { class: "q-btn__content" }, Ms = /* @__PURE__ */ P({
|
|
1780
1780
|
__name: "QButton",
|
|
1781
1781
|
props: {
|
|
1782
1782
|
id: {},
|
|
@@ -1794,11 +1794,11 @@ const Fr = ["id"], kr = /* @__PURE__ */ q({
|
|
|
1794
1794
|
},
|
|
1795
1795
|
emits: ["click"],
|
|
1796
1796
|
setup(e, { emit: t }) {
|
|
1797
|
-
const n = e,
|
|
1798
|
-
function
|
|
1799
|
-
|
|
1797
|
+
const n = e, s = t, r = E(() => n.disabled || n.loading);
|
|
1798
|
+
function o(a) {
|
|
1799
|
+
r.value || s("click", a);
|
|
1800
1800
|
}
|
|
1801
|
-
const
|
|
1801
|
+
const i = E(() => {
|
|
1802
1802
|
const a = n.size !== "regular" ? `q-btn--${n.size}` : void 0;
|
|
1803
1803
|
return [
|
|
1804
1804
|
"q-btn",
|
|
@@ -1814,37 +1814,37 @@ const Fr = ["id"], kr = /* @__PURE__ */ q({
|
|
|
1814
1814
|
n.class
|
|
1815
1815
|
];
|
|
1816
1816
|
});
|
|
1817
|
-
return (a,
|
|
1817
|
+
return (a, u) => (y(), O("button", {
|
|
1818
1818
|
id: n.id,
|
|
1819
1819
|
type: "button",
|
|
1820
|
-
class:
|
|
1821
|
-
disabled:
|
|
1822
|
-
onClick:
|
|
1820
|
+
class: U(i.value),
|
|
1821
|
+
disabled: r.value,
|
|
1822
|
+
onClick: Ut(o, ["stop", "prevent"])
|
|
1823
1823
|
}, [
|
|
1824
|
-
a.loading ? (
|
|
1825
|
-
|
|
1826
|
-
])) :
|
|
1827
|
-
|
|
1828
|
-
a.iconOnRight ? (
|
|
1829
|
-
|
|
1824
|
+
a.loading ? (y(), O("div", ks, [
|
|
1825
|
+
J(x(js), { size: 20 })
|
|
1826
|
+
])) : Z("v-if", !0),
|
|
1827
|
+
C("span", zs, [
|
|
1828
|
+
a.iconOnRight ? (y(), O(
|
|
1829
|
+
se,
|
|
1830
1830
|
{ key: 0 },
|
|
1831
1831
|
[
|
|
1832
|
-
|
|
1833
|
-
|
|
1832
|
+
Ge(
|
|
1833
|
+
re(n.label),
|
|
1834
1834
|
1
|
|
1835
1835
|
/* TEXT */
|
|
1836
1836
|
)
|
|
1837
1837
|
],
|
|
1838
1838
|
64
|
|
1839
1839
|
/* STABLE_FRAGMENT */
|
|
1840
|
-
)) :
|
|
1841
|
-
|
|
1842
|
-
a.iconOnRight ?
|
|
1843
|
-
|
|
1840
|
+
)) : Z("v-if", !0),
|
|
1841
|
+
L(a.$slots, "default"),
|
|
1842
|
+
a.iconOnRight ? Z("v-if", !0) : (y(), O(
|
|
1843
|
+
se,
|
|
1844
1844
|
{ key: 1 },
|
|
1845
1845
|
[
|
|
1846
|
-
|
|
1847
|
-
|
|
1846
|
+
Ge(
|
|
1847
|
+
re(n.label),
|
|
1848
1848
|
1
|
|
1849
1849
|
/* TEXT */
|
|
1850
1850
|
)
|
|
@@ -1853,9 +1853,9 @@ const Fr = ["id"], kr = /* @__PURE__ */ q({
|
|
|
1853
1853
|
/* STABLE_FRAGMENT */
|
|
1854
1854
|
))
|
|
1855
1855
|
])
|
|
1856
|
-
], 10,
|
|
1856
|
+
], 10, Us));
|
|
1857
1857
|
}
|
|
1858
|
-
}),
|
|
1858
|
+
}), rt = V(Ms), qs = /* @__PURE__ */ P({
|
|
1859
1859
|
__name: "QIcon",
|
|
1860
1860
|
props: {
|
|
1861
1861
|
id: {},
|
|
@@ -1865,26 +1865,26 @@ const Fr = ["id"], kr = /* @__PURE__ */ q({
|
|
|
1865
1865
|
type: { default: "svg" }
|
|
1866
1866
|
},
|
|
1867
1867
|
setup(e) {
|
|
1868
|
-
const t = e, n =
|
|
1868
|
+
const t = e, n = E(() => {
|
|
1869
1869
|
switch (t.type) {
|
|
1870
1870
|
case "svg":
|
|
1871
|
-
return
|
|
1871
|
+
return Ks;
|
|
1872
1872
|
case "font":
|
|
1873
|
-
return
|
|
1873
|
+
return Xs;
|
|
1874
1874
|
case "img":
|
|
1875
|
-
return
|
|
1875
|
+
return _s;
|
|
1876
1876
|
default:
|
|
1877
1877
|
return;
|
|
1878
1878
|
}
|
|
1879
1879
|
});
|
|
1880
|
-
return (
|
|
1880
|
+
return (s, r) => (y(), ae(kt(n.value), {
|
|
1881
1881
|
id: t.id,
|
|
1882
|
-
class:
|
|
1882
|
+
class: U(t.class),
|
|
1883
1883
|
icon: t.icon,
|
|
1884
1884
|
size: t.size
|
|
1885
1885
|
}, null, 8, ["id", "class", "icon", "size"]));
|
|
1886
1886
|
}
|
|
1887
|
-
}),
|
|
1887
|
+
}), Gs = ["id"], Hs = /* @__PURE__ */ P({
|
|
1888
1888
|
__name: "QIconFont",
|
|
1889
1889
|
props: {
|
|
1890
1890
|
id: {},
|
|
@@ -1895,16 +1895,16 @@ const Fr = ["id"], kr = /* @__PURE__ */ q({
|
|
|
1895
1895
|
variant: {}
|
|
1896
1896
|
},
|
|
1897
1897
|
setup(e) {
|
|
1898
|
-
const t = e, n =
|
|
1898
|
+
const t = e, n = E(() => t.variant ? `${t.library}-${t.variant}` : t.library), s = E(() => t.library && t.icon ? `${t.library}-${t.icon}` : t.icon), r = E(() => ({
|
|
1899
1899
|
"font-size": t.size !== void 0 ? `${t.size}px` : void 0
|
|
1900
1900
|
}));
|
|
1901
|
-
return (
|
|
1901
|
+
return (o, i) => (y(), O("i", {
|
|
1902
1902
|
id: t.id,
|
|
1903
|
-
class:
|
|
1904
|
-
style:
|
|
1905
|
-
}, null, 14,
|
|
1903
|
+
class: U(["q-icon", "q-icon__font", n.value, s.value, t.class]),
|
|
1904
|
+
style: ie(r.value)
|
|
1905
|
+
}, null, 14, Gs));
|
|
1906
1906
|
}
|
|
1907
|
-
}),
|
|
1907
|
+
}), Ws = ["id", "src"], Js = /* @__PURE__ */ P({
|
|
1908
1908
|
__name: "QIconImg",
|
|
1909
1909
|
props: {
|
|
1910
1910
|
id: {},
|
|
@@ -1913,17 +1913,17 @@ const Fr = ["id"], kr = /* @__PURE__ */ q({
|
|
|
1913
1913
|
size: {}
|
|
1914
1914
|
},
|
|
1915
1915
|
setup(e) {
|
|
1916
|
-
const t = e, n =
|
|
1916
|
+
const t = e, n = E(() => ({
|
|
1917
1917
|
"font-size": t.size !== void 0 ? `${t.size}px` : void 0
|
|
1918
1918
|
}));
|
|
1919
|
-
return (
|
|
1919
|
+
return (s, r) => (y(), O("img", {
|
|
1920
1920
|
id: t.id,
|
|
1921
1921
|
src: t.icon,
|
|
1922
|
-
class:
|
|
1923
|
-
style:
|
|
1924
|
-
}, null, 14,
|
|
1922
|
+
class: U(["q-icon", "q-icon__img", t.class]),
|
|
1923
|
+
style: ie(n.value)
|
|
1924
|
+
}, null, 14, Ws));
|
|
1925
1925
|
}
|
|
1926
|
-
}),
|
|
1926
|
+
}), te = {}, Vs = P({
|
|
1927
1927
|
name: "InlineSvg",
|
|
1928
1928
|
inheritAttrs: !1,
|
|
1929
1929
|
props: {
|
|
@@ -1987,14 +1987,14 @@ const Fr = ["id"], kr = /* @__PURE__ */ q({
|
|
|
1987
1987
|
methods: {
|
|
1988
1988
|
copySvgAttrs(e, t) {
|
|
1989
1989
|
const n = t.attributes;
|
|
1990
|
-
if (n) for (const
|
|
1990
|
+
if (n) for (const s of n) e[s.name] = s.value;
|
|
1991
1991
|
},
|
|
1992
1992
|
copyComponentAttrs(e, t) {
|
|
1993
|
-
for (const [n,
|
|
1994
|
-
|
|
1993
|
+
for (const [n, s] of Object.entries(t))
|
|
1994
|
+
s !== !1 && s !== null && s !== void 0 && (e[n] = s);
|
|
1995
1995
|
},
|
|
1996
1996
|
getSvgContent(e) {
|
|
1997
|
-
return this.symbol && (e = e.getElementById(this.symbol), !e) ? null : (this.transformSource && (e = e.cloneNode(!0), e = this.transformSource(e)), this.title && (this.transformSource || (e = e.cloneNode(!0)),
|
|
1997
|
+
return this.symbol && (e = e.getElementById(this.symbol), !e) ? null : (this.transformSource && (e = e.cloneNode(!0), e = this.transformSource(e)), this.title && (this.transformSource || (e = e.cloneNode(!0)), Qs(e, this.title)), e);
|
|
1998
1998
|
},
|
|
1999
1999
|
/**
|
|
2000
2000
|
* Get svgElSource
|
|
@@ -2002,11 +2002,11 @@ const Fr = ["id"], kr = /* @__PURE__ */ q({
|
|
|
2002
2002
|
*/
|
|
2003
2003
|
async getSource(e) {
|
|
2004
2004
|
try {
|
|
2005
|
-
|
|
2006
|
-
const t = await
|
|
2005
|
+
te[e] || (te[e] = Zs(this.download(e))), this.svgElSource && te[e].getIsPending() && !this.keepDuringLoading && (this.svgElSource = null, this.$emit("unloaded"));
|
|
2006
|
+
const t = await te[e];
|
|
2007
2007
|
this.svgElSource = t, await this.$nextTick(), this.$emit("loaded", this.$el);
|
|
2008
2008
|
} catch (t) {
|
|
2009
|
-
this.svgElSource && (this.svgElSource = null, this.$emit("unloaded")), delete
|
|
2009
|
+
this.svgElSource && (this.svgElSource = null, this.$emit("unloaded")), delete te[e], this.$emit("error", t);
|
|
2010
2010
|
}
|
|
2011
2011
|
},
|
|
2012
2012
|
/**
|
|
@@ -2017,41 +2017,41 @@ const Fr = ["id"], kr = /* @__PURE__ */ q({
|
|
|
2017
2017
|
async download(e) {
|
|
2018
2018
|
const t = await fetch(e);
|
|
2019
2019
|
if (!t.ok) throw new Error("Error loading SVG");
|
|
2020
|
-
const n = await t.text(),
|
|
2021
|
-
if (!
|
|
2022
|
-
return
|
|
2020
|
+
const n = await t.text(), s = new DOMParser().parseFromString(n, "text/xml").getElementsByTagName("svg")[0];
|
|
2021
|
+
if (!s) throw new Error("Loaded file is not a valid SVG");
|
|
2022
|
+
return s;
|
|
2023
2023
|
}
|
|
2024
2024
|
},
|
|
2025
2025
|
render() {
|
|
2026
2026
|
if (!this.svgElSource) return null;
|
|
2027
2027
|
const e = this.getSvgContent(this.svgElSource);
|
|
2028
|
-
if (!e) return
|
|
2028
|
+
if (!e) return He("div", this.$attrs);
|
|
2029
2029
|
const t = {};
|
|
2030
|
-
return this.copySvgAttrs(t, this.svgElSource), this.copySvgAttrs(t, e), this.copyComponentAttrs(t, this.$attrs), t.innerHTML = e.innerHTML,
|
|
2030
|
+
return this.copySvgAttrs(t, this.svgElSource), this.copySvgAttrs(t, e), this.copyComponentAttrs(t, this.$attrs), t.innerHTML = e.innerHTML, He("svg", t);
|
|
2031
2031
|
},
|
|
2032
2032
|
expose: []
|
|
2033
2033
|
});
|
|
2034
|
-
function
|
|
2034
|
+
function Qs(e, t) {
|
|
2035
2035
|
const n = e.getElementsByTagName("title");
|
|
2036
2036
|
if (n.length)
|
|
2037
2037
|
n[0].textContent = t;
|
|
2038
2038
|
else {
|
|
2039
|
-
const
|
|
2040
|
-
|
|
2039
|
+
const s = document.createElementNS("http://www.w3.org/2000/svg", "title");
|
|
2040
|
+
s.textContent = t, e.insertBefore(s, e.firstChild);
|
|
2041
2041
|
}
|
|
2042
2042
|
}
|
|
2043
|
-
function
|
|
2043
|
+
function Zs(e) {
|
|
2044
2044
|
if (e.getIsPending) return e;
|
|
2045
2045
|
let t = !0;
|
|
2046
2046
|
const n = e.then(
|
|
2047
|
-
(
|
|
2048
|
-
(
|
|
2049
|
-
throw t = !1,
|
|
2047
|
+
(s) => (t = !1, s),
|
|
2048
|
+
(s) => {
|
|
2049
|
+
throw t = !1, s;
|
|
2050
2050
|
}
|
|
2051
2051
|
);
|
|
2052
2052
|
return n.getIsPending = () => t, n;
|
|
2053
2053
|
}
|
|
2054
|
-
const
|
|
2054
|
+
const Ys = /* @__PURE__ */ P({
|
|
2055
2055
|
__name: "QIconSvg",
|
|
2056
2056
|
props: {
|
|
2057
2057
|
id: {},
|
|
@@ -2062,43 +2062,62 @@ const Jr = /* @__PURE__ */ q({
|
|
|
2062
2062
|
},
|
|
2063
2063
|
emits: ["loaded", "unloaded"],
|
|
2064
2064
|
setup(e, { emit: t }) {
|
|
2065
|
-
const n = e,
|
|
2065
|
+
const n = e, s = t, r = E(() => ({
|
|
2066
2066
|
"font-size": n.size !== void 0 ? `${n.size}px` : void 0
|
|
2067
2067
|
}));
|
|
2068
|
-
function
|
|
2069
|
-
|
|
2068
|
+
function o(a) {
|
|
2069
|
+
s("loaded", a);
|
|
2070
2070
|
}
|
|
2071
|
-
function
|
|
2072
|
-
|
|
2071
|
+
function i() {
|
|
2072
|
+
s("unloaded");
|
|
2073
2073
|
}
|
|
2074
|
-
return (a,
|
|
2074
|
+
return (a, u) => (y(), ae(x(Vs), {
|
|
2075
2075
|
id: n.id,
|
|
2076
|
-
class:
|
|
2076
|
+
class: U(["q-icon", "q-icon__svg", n.class]),
|
|
2077
2077
|
src: n.bundle,
|
|
2078
2078
|
symbol: n.icon,
|
|
2079
|
-
style:
|
|
2080
|
-
onLoaded:
|
|
2081
|
-
onUnloaded:
|
|
2079
|
+
style: ie(r.value),
|
|
2080
|
+
onLoaded: o,
|
|
2081
|
+
onUnloaded: i
|
|
2082
2082
|
}, null, 8, ["id", "class", "src", "symbol", "style"]));
|
|
2083
2083
|
}
|
|
2084
|
-
}),
|
|
2085
|
-
let
|
|
2086
|
-
function
|
|
2087
|
-
return
|
|
2084
|
+
}), Fe = V(qs), Xs = V(Hs), _s = V(Js), Ks = V(Ys);
|
|
2085
|
+
let $s = 0;
|
|
2086
|
+
function er(e) {
|
|
2087
|
+
return x(e) || `uid-${++$s}`;
|
|
2088
2088
|
}
|
|
2089
|
-
const
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2089
|
+
const tr = ["id"], nr = ["for"], sr = /* @__PURE__ */ P({
|
|
2090
|
+
inheritAttrs: !1,
|
|
2091
|
+
__name: "QLabel",
|
|
2092
|
+
props: {
|
|
2093
|
+
id: {},
|
|
2094
|
+
class: {},
|
|
2095
|
+
label: {},
|
|
2096
|
+
for: {}
|
|
2097
|
+
},
|
|
2098
|
+
setup(e) {
|
|
2099
|
+
const t = e;
|
|
2100
|
+
return (n, s) => (y(), O("div", {
|
|
2101
|
+
id: t.id,
|
|
2102
|
+
class: U(["q-label", t.class])
|
|
2103
|
+
}, [
|
|
2104
|
+
L(n.$slots, "prepend"),
|
|
2105
|
+
C("label", ge({
|
|
2106
|
+
for: t.for
|
|
2107
|
+
}, n.$attrs), re(t.label), 17, nr),
|
|
2108
|
+
L(n.$slots, "append")
|
|
2109
|
+
], 10, tr));
|
|
2110
|
+
}
|
|
2111
|
+
}), It = V(sr), rr = ["id"], or = {
|
|
2093
2112
|
key: 0,
|
|
2094
2113
|
class: "q-field__prepend"
|
|
2095
|
-
},
|
|
2114
|
+
}, ir = {
|
|
2096
2115
|
key: 1,
|
|
2097
2116
|
class: "q-field__append"
|
|
2098
|
-
},
|
|
2117
|
+
}, ar = {
|
|
2099
2118
|
key: 1,
|
|
2100
2119
|
class: "q-field__extras"
|
|
2101
|
-
},
|
|
2120
|
+
}, lr = /* @__PURE__ */ P({
|
|
2102
2121
|
inheritAttrs: !1,
|
|
2103
2122
|
__name: "QField",
|
|
2104
2123
|
props: {
|
|
@@ -2109,159 +2128,156 @@ const es = ["id"], ts = {
|
|
|
2109
2128
|
size: { default: "medium" },
|
|
2110
2129
|
readonly: { type: Boolean },
|
|
2111
2130
|
disabled: { type: Boolean },
|
|
2112
|
-
required: { type: Boolean }
|
|
2131
|
+
required: { type: Boolean },
|
|
2132
|
+
invalid: { type: Boolean }
|
|
2113
2133
|
},
|
|
2114
2134
|
setup(e, { expose: t }) {
|
|
2115
|
-
const n = e,
|
|
2135
|
+
const n = e, s = G(null), r = E(() => n.required && !n.readonly && !n.disabled), o = E(() => [
|
|
2116
2136
|
"q-field",
|
|
2117
2137
|
`q-field--${n.size}`,
|
|
2118
2138
|
{
|
|
2119
2139
|
"q-field--readonly": n.readonly,
|
|
2120
2140
|
"q-field--disabled": n.disabled,
|
|
2121
|
-
"q-field--required":
|
|
2141
|
+
"q-field--required": r.value,
|
|
2142
|
+
"q-field--invalid": n.invalid
|
|
2122
2143
|
},
|
|
2123
2144
|
n.class
|
|
2124
2145
|
]);
|
|
2125
2146
|
return t({
|
|
2126
|
-
fieldRef:
|
|
2127
|
-
}), (
|
|
2147
|
+
fieldRef: s
|
|
2148
|
+
}), (i, a) => (y(), O("div", {
|
|
2128
2149
|
id: n.id,
|
|
2129
|
-
class:
|
|
2150
|
+
class: U(o.value)
|
|
2130
2151
|
}, [
|
|
2131
|
-
n.label ? (
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2152
|
+
n.label ? (y(), ae(x(It), {
|
|
2153
|
+
key: 0,
|
|
2154
|
+
class: "q-field__label",
|
|
2155
|
+
label: n.label,
|
|
2156
|
+
for: n.for
|
|
2157
|
+
}, {
|
|
2158
|
+
prepend: H(() => [
|
|
2159
|
+
L(i.$slots, "label.prepend")
|
|
2160
|
+
]),
|
|
2161
|
+
append: H(() => [
|
|
2162
|
+
L(i.$slots, "label.append")
|
|
2163
|
+
]),
|
|
2164
|
+
_: 3
|
|
2165
|
+
/* FORWARDED */
|
|
2166
|
+
}, 8, ["label", "for"])) : Z("v-if", !0),
|
|
2167
|
+
L(i.$slots, "control", {}, () => [
|
|
2168
|
+
C(
|
|
2140
2169
|
"div",
|
|
2141
|
-
|
|
2170
|
+
ge({
|
|
2142
2171
|
ref_key: "fieldRef",
|
|
2143
|
-
ref:
|
|
2172
|
+
ref: s,
|
|
2144
2173
|
class: "q-field__control"
|
|
2145
|
-
},
|
|
2174
|
+
}, i.$attrs),
|
|
2146
2175
|
[
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
])) :
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
])) :
|
|
2176
|
+
i.$slots.prepend ? (y(), O("div", or, [
|
|
2177
|
+
L(i.$slots, "prepend")
|
|
2178
|
+
])) : Z("v-if", !0),
|
|
2179
|
+
L(i.$slots, "default"),
|
|
2180
|
+
i.$slots.append ? (y(), O("div", ir, [
|
|
2181
|
+
L(i.$slots, "append")
|
|
2182
|
+
])) : Z("v-if", !0)
|
|
2154
2183
|
],
|
|
2155
2184
|
16
|
|
2156
2185
|
/* FULL_PROPS */
|
|
2157
2186
|
)
|
|
2158
2187
|
]),
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
])) :
|
|
2162
|
-
], 10,
|
|
2163
|
-
}
|
|
2164
|
-
}), as = M(is), ls = ["id"], cs = /* @__PURE__ */ q({
|
|
2165
|
-
__name: "QLineLoader",
|
|
2166
|
-
props: {
|
|
2167
|
-
id: {},
|
|
2168
|
-
class: {}
|
|
2169
|
-
},
|
|
2170
|
-
setup(e) {
|
|
2171
|
-
const t = e;
|
|
2172
|
-
return (n, r) => (A(), T("div", {
|
|
2173
|
-
id: t.id,
|
|
2174
|
-
class: j(["q-line-loader", t.class])
|
|
2175
|
-
}, null, 10, ls));
|
|
2188
|
+
i.$slots.extras ? (y(), O("div", ar, [
|
|
2189
|
+
L(i.$slots, "extras")
|
|
2190
|
+
])) : Z("v-if", !0)
|
|
2191
|
+
], 10, rr));
|
|
2176
2192
|
}
|
|
2177
|
-
}),
|
|
2178
|
-
function
|
|
2179
|
-
return
|
|
2193
|
+
}), cr = V(lr);
|
|
2194
|
+
function ur(e) {
|
|
2195
|
+
return Gt() ? (Ht(e), !0) : !1;
|
|
2180
2196
|
}
|
|
2181
|
-
const
|
|
2197
|
+
const dr = typeof window < "u" && typeof document < "u";
|
|
2182
2198
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
2183
|
-
const
|
|
2199
|
+
const fr = () => {
|
|
2184
2200
|
};
|
|
2185
|
-
function
|
|
2201
|
+
function ot(...e) {
|
|
2186
2202
|
if (e.length !== 1)
|
|
2187
|
-
return
|
|
2203
|
+
return zt(...e);
|
|
2188
2204
|
const t = e[0];
|
|
2189
|
-
return typeof t == "function" ?
|
|
2205
|
+
return typeof t == "function" ? Mt(qt(() => ({ get: t, set: fr }))) : G(t);
|
|
2190
2206
|
}
|
|
2191
|
-
const
|
|
2192
|
-
function
|
|
2207
|
+
const ze = dr ? window : void 0;
|
|
2208
|
+
function it(e) {
|
|
2193
2209
|
var t;
|
|
2194
2210
|
const n = Pe(e);
|
|
2195
2211
|
return (t = n == null ? void 0 : n.$el) != null ? t : n;
|
|
2196
2212
|
}
|
|
2197
|
-
function
|
|
2198
|
-
const e =
|
|
2199
|
-
return t &&
|
|
2213
|
+
function pr() {
|
|
2214
|
+
const e = Oe(!1), t = Ie();
|
|
2215
|
+
return t && at(() => {
|
|
2200
2216
|
e.value = !0;
|
|
2201
2217
|
}, t), e;
|
|
2202
2218
|
}
|
|
2203
|
-
function
|
|
2204
|
-
const t =
|
|
2205
|
-
return
|
|
2206
|
-
}
|
|
2207
|
-
function
|
|
2208
|
-
const { window:
|
|
2209
|
-
let
|
|
2210
|
-
const
|
|
2211
|
-
|
|
2212
|
-
},
|
|
2213
|
-
const
|
|
2214
|
-
return Array.isArray(
|
|
2215
|
-
}), c =
|
|
2216
|
-
|
|
2217
|
-
(
|
|
2218
|
-
if (a(),
|
|
2219
|
-
|
|
2220
|
-
for (const
|
|
2221
|
-
|
|
2219
|
+
function hr(e) {
|
|
2220
|
+
const t = pr();
|
|
2221
|
+
return E(() => (t.value, !!e()));
|
|
2222
|
+
}
|
|
2223
|
+
function mr(e, t, n = {}) {
|
|
2224
|
+
const { window: s = ze, ...r } = n;
|
|
2225
|
+
let o;
|
|
2226
|
+
const i = hr(() => s && "ResizeObserver" in s), a = () => {
|
|
2227
|
+
o && (o.disconnect(), o = void 0);
|
|
2228
|
+
}, u = E(() => {
|
|
2229
|
+
const f = Pe(e);
|
|
2230
|
+
return Array.isArray(f) ? f.map((b) => it(b)) : [it(f)];
|
|
2231
|
+
}), c = ne(
|
|
2232
|
+
u,
|
|
2233
|
+
(f) => {
|
|
2234
|
+
if (a(), i.value && s) {
|
|
2235
|
+
o = new ResizeObserver(t);
|
|
2236
|
+
for (const b of f)
|
|
2237
|
+
b && o.observe(b, r);
|
|
2222
2238
|
}
|
|
2223
2239
|
},
|
|
2224
2240
|
{ immediate: !0, flush: "post" }
|
|
2225
|
-
),
|
|
2241
|
+
), d = () => {
|
|
2226
2242
|
a(), c();
|
|
2227
2243
|
};
|
|
2228
|
-
return
|
|
2229
|
-
isSupported:
|
|
2230
|
-
stop:
|
|
2244
|
+
return ur(d), {
|
|
2245
|
+
isSupported: i,
|
|
2246
|
+
stop: d
|
|
2231
2247
|
};
|
|
2232
2248
|
}
|
|
2233
|
-
function
|
|
2249
|
+
function gr(e = ze, t) {
|
|
2234
2250
|
e && typeof e.requestAnimationFrame == "function" ? e.requestAnimationFrame(t) : t();
|
|
2235
2251
|
}
|
|
2236
|
-
function
|
|
2252
|
+
function br(e = {}) {
|
|
2237
2253
|
var t, n;
|
|
2238
|
-
const { window:
|
|
2254
|
+
const { window: s = ze } = e, r = ot(e == null ? void 0 : e.element), o = ot((t = e == null ? void 0 : e.input) != null ? t : ""), i = (n = e == null ? void 0 : e.styleProp) != null ? n : "height", a = Oe(1), u = Oe(0);
|
|
2239
2255
|
function c() {
|
|
2240
|
-
var
|
|
2241
|
-
if (!
|
|
2256
|
+
var d;
|
|
2257
|
+
if (!r.value)
|
|
2242
2258
|
return;
|
|
2243
|
-
let
|
|
2244
|
-
|
|
2245
|
-
const
|
|
2246
|
-
|
|
2247
|
-
}
|
|
2248
|
-
return
|
|
2249
|
-
var
|
|
2250
|
-
return (
|
|
2251
|
-
}),
|
|
2252
|
-
|
|
2253
|
-
|
|
2259
|
+
let f = "";
|
|
2260
|
+
r.value.style[i] = "1px", a.value = (d = r.value) == null ? void 0 : d.scrollHeight;
|
|
2261
|
+
const b = Pe(e == null ? void 0 : e.styleTarget);
|
|
2262
|
+
b ? b.style[i] = `${a.value}px` : f = `${a.value}px`, r.value.style[i] = f;
|
|
2263
|
+
}
|
|
2264
|
+
return ne([o, r], () => ue(c), { immediate: !0 }), ne(a, () => {
|
|
2265
|
+
var d;
|
|
2266
|
+
return (d = e == null ? void 0 : e.onResize) == null ? void 0 : d.call(e);
|
|
2267
|
+
}), mr(r, ([{ contentRect: d }]) => {
|
|
2268
|
+
u.value !== d.width && gr(s, () => {
|
|
2269
|
+
u.value = d.width, c();
|
|
2254
2270
|
});
|
|
2255
|
-
}), e != null && e.watch &&
|
|
2256
|
-
textarea:
|
|
2257
|
-
input:
|
|
2271
|
+
}), e != null && e.watch && ne(e.watch, c, { immediate: !0, deep: !0 }), {
|
|
2272
|
+
textarea: r,
|
|
2273
|
+
input: o,
|
|
2258
2274
|
triggerResize: c
|
|
2259
2275
|
};
|
|
2260
2276
|
}
|
|
2261
|
-
const
|
|
2277
|
+
const Ar = ["id", "required", "placeholder", "readonly", "disabled", "maxlength", "rows", "cols", "resize", "wrap"], yr = /* @__PURE__ */ P({
|
|
2262
2278
|
inheritAttrs: !1,
|
|
2263
2279
|
__name: "QTextArea",
|
|
2264
|
-
props: /* @__PURE__ */
|
|
2280
|
+
props: /* @__PURE__ */ Wt({
|
|
2265
2281
|
id: {},
|
|
2266
2282
|
class: {},
|
|
2267
2283
|
label: {},
|
|
@@ -2270,6 +2286,7 @@ const ws = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
|
|
|
2270
2286
|
readonly: { type: Boolean },
|
|
2271
2287
|
disabled: { type: Boolean },
|
|
2272
2288
|
required: { type: Boolean },
|
|
2289
|
+
invalid: { type: Boolean },
|
|
2273
2290
|
placeholder: {},
|
|
2274
2291
|
maxLength: {},
|
|
2275
2292
|
rows: { default: 3 },
|
|
@@ -2283,41 +2300,41 @@ const ws = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
|
|
|
2283
2300
|
}),
|
|
2284
2301
|
emits: ["update:modelValue"],
|
|
2285
2302
|
setup(e) {
|
|
2286
|
-
const t = e, n =
|
|
2303
|
+
const t = e, n = Jt(e, "modelValue"), s = er(t.id), r = E(
|
|
2287
2304
|
() => t.readonly || t.disabled ? void 0 : t.placeholder
|
|
2288
|
-
),
|
|
2289
|
-
element:
|
|
2305
|
+
), o = E(() => ({ input: t.autosize ? a : null })), i = G(), { triggerResize: a } = br({
|
|
2306
|
+
element: E(() => t.autosize ? i.value : void 0),
|
|
2290
2307
|
styleProp: "minHeight"
|
|
2291
|
-
}),
|
|
2308
|
+
}), u = E({
|
|
2292
2309
|
get: () => n.value,
|
|
2293
2310
|
set: (c) => {
|
|
2294
2311
|
n.value = t.maxLength ? c == null ? void 0 : c.slice(0, t.maxLength) : c;
|
|
2295
2312
|
}
|
|
2296
2313
|
});
|
|
2297
|
-
return (c,
|
|
2298
|
-
class:
|
|
2299
|
-
for:
|
|
2314
|
+
return (c, d) => (y(), ae(x(cr), {
|
|
2315
|
+
class: U(["q-text-area", t.class]),
|
|
2316
|
+
for: x(s),
|
|
2300
2317
|
label: t.label,
|
|
2301
2318
|
size: t.size,
|
|
2302
2319
|
readonly: t.readonly,
|
|
2303
2320
|
disabled: t.disabled,
|
|
2304
2321
|
required: t.required
|
|
2305
|
-
},
|
|
2306
|
-
"label.prepend":
|
|
2307
|
-
|
|
2322
|
+
}, Vt({
|
|
2323
|
+
"label.prepend": H(() => [
|
|
2324
|
+
L(c.$slots, "label.prepend")
|
|
2308
2325
|
]),
|
|
2309
|
-
"label.append":
|
|
2310
|
-
|
|
2326
|
+
"label.append": H(() => [
|
|
2327
|
+
L(c.$slots, "label.append")
|
|
2311
2328
|
]),
|
|
2312
|
-
default:
|
|
2313
|
-
|
|
2314
|
-
id:
|
|
2329
|
+
default: H(() => [
|
|
2330
|
+
Qt(C("textarea", ge({
|
|
2331
|
+
id: x(s),
|
|
2315
2332
|
ref_key: "textareaRef",
|
|
2316
|
-
ref:
|
|
2317
|
-
"onUpdate:modelValue":
|
|
2333
|
+
ref: i,
|
|
2334
|
+
"onUpdate:modelValue": d[0] || (d[0] = (f) => u.value = f),
|
|
2318
2335
|
class: "q-text-area__input",
|
|
2319
2336
|
required: t.required,
|
|
2320
|
-
placeholder:
|
|
2337
|
+
placeholder: r.value,
|
|
2321
2338
|
readonly: t.readonly,
|
|
2322
2339
|
disabled: t.disabled,
|
|
2323
2340
|
maxlength: t.maxLength,
|
|
@@ -2325,8 +2342,8 @@ const ws = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
|
|
|
2325
2342
|
cols: t.cols,
|
|
2326
2343
|
resize: t.resize,
|
|
2327
2344
|
wrap: t.wrap
|
|
2328
|
-
}, c.$attrs,
|
|
2329
|
-
[
|
|
2345
|
+
}, c.$attrs, Zt(o.value, !0)), null, 16, Ar), [
|
|
2346
|
+
[Yt, u.value]
|
|
2330
2347
|
])
|
|
2331
2348
|
]),
|
|
2332
2349
|
_: 2
|
|
@@ -2334,274 +2351,306 @@ const ws = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
|
|
|
2334
2351
|
}, [
|
|
2335
2352
|
c.$slots.prepend ? {
|
|
2336
2353
|
name: "prepend",
|
|
2337
|
-
fn:
|
|
2338
|
-
|
|
2354
|
+
fn: H(() => [
|
|
2355
|
+
L(c.$slots, "prepend")
|
|
2339
2356
|
]),
|
|
2340
2357
|
key: "0"
|
|
2341
2358
|
} : void 0,
|
|
2342
2359
|
c.$slots.append ? {
|
|
2343
2360
|
name: "append",
|
|
2344
|
-
fn:
|
|
2345
|
-
|
|
2361
|
+
fn: H(() => [
|
|
2362
|
+
L(c.$slots, "append")
|
|
2346
2363
|
]),
|
|
2347
2364
|
key: "1"
|
|
2348
2365
|
} : void 0,
|
|
2349
2366
|
c.$slots.extras ? {
|
|
2350
2367
|
name: "extras",
|
|
2351
|
-
fn:
|
|
2352
|
-
|
|
2368
|
+
fn: H(() => [
|
|
2369
|
+
L(c.$slots, "extras")
|
|
2353
2370
|
]),
|
|
2354
2371
|
key: "2"
|
|
2355
2372
|
} : void 0
|
|
2356
2373
|
]), 1032, ["class", "for", "label", "size", "readonly", "disabled", "required"]));
|
|
2357
2374
|
}
|
|
2358
|
-
}),
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2375
|
+
}), wr = V(yr), Er = { class: "pulsing-dots" }, Sr = /* @__PURE__ */ P({
|
|
2376
|
+
__name: "PulseDots",
|
|
2377
|
+
setup(e) {
|
|
2378
|
+
const t = [1, 2, 3];
|
|
2379
|
+
return (n, s) => (y(), O("div", Er, [
|
|
2380
|
+
(y(), O(se, null, lt(t, (r, o) => C("span", {
|
|
2381
|
+
key: o,
|
|
2382
|
+
class: "dot",
|
|
2383
|
+
style: ie({ animationDelay: o * 0.2 + "s" })
|
|
2384
|
+
}, " • ", 4)), 64))
|
|
2385
|
+
]));
|
|
2386
|
+
}
|
|
2387
|
+
}), vr = { class: "q-chatbot__message-container" }, Rr = { class: "q-chatbot__message-wrapper" }, Tr = { class: "q-chatbot__message" }, Or = ["innerHTML"], Nr = {
|
|
2362
2388
|
key: 1,
|
|
2363
2389
|
class: "q-chatbot__text"
|
|
2364
|
-
},
|
|
2390
|
+
}, Dr = { class: "q-chatbot__sender" }, Br = /* @__PURE__ */ P({
|
|
2365
2391
|
__name: "CBMessage",
|
|
2366
2392
|
props: {
|
|
2367
2393
|
sender: { default: "user" },
|
|
2368
2394
|
message: {},
|
|
2369
2395
|
date: { default: () => /* @__PURE__ */ new Date() },
|
|
2370
2396
|
loading: { type: Boolean },
|
|
2371
|
-
dateFormat: {}
|
|
2397
|
+
dateFormat: {},
|
|
2398
|
+
userImage: { default: void 0 },
|
|
2399
|
+
chatbotImage: {}
|
|
2372
2400
|
},
|
|
2373
2401
|
setup(e) {
|
|
2374
|
-
const t = e, n =
|
|
2375
|
-
function i(
|
|
2376
|
-
const
|
|
2377
|
-
return
|
|
2402
|
+
const t = e, n = E(() => t.sender === "bot" ? "GenioBot" : "You"), s = E(() => t.dateFormat ? i(t.date, t.dateFormat) : t.date.toLocaleString()), r = E(() => `${n.value} ${s.value}`), o = E(() => t.sender === "bot" ? t.chatbotImage : t.userImage);
|
|
2403
|
+
function i(a, u) {
|
|
2404
|
+
const c = a.getDate().toString().padStart(2, "0"), d = (a.getMonth() + 1).toString().padStart(2, "0"), f = a.getFullYear().toString().padStart(2, "0"), b = a.getHours().toString().padStart(2, "0"), v = a.getMinutes().toString().padStart(2, "0"), p = a.getSeconds().toString().padStart(2, "0");
|
|
2405
|
+
return u.replace("dd", c).replace("MM", d).replace("yyyy", f).replace("HH", b).replace("mm", v).replace("ss", p);
|
|
2378
2406
|
}
|
|
2379
|
-
return (
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
alt: "
|
|
2407
|
+
return (a, u) => (y(), O("div", vr, [
|
|
2408
|
+
J(x(Fe), {
|
|
2409
|
+
type: "img",
|
|
2410
|
+
icon: o.value,
|
|
2411
|
+
alt: "Sender Image",
|
|
2384
2412
|
class: "q-chatbot__profile"
|
|
2385
|
-
}, null, 8,
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
t.sender == "bot" ? (A(), T("div", {
|
|
2413
|
+
}, null, 8, ["icon"]),
|
|
2414
|
+
C("div", Rr, [
|
|
2415
|
+
C("div", Tr, [
|
|
2416
|
+
a.loading ? (y(), ae(Sr, { key: 0 })) : (y(), O(se, { key: 1 }, [
|
|
2417
|
+
t.sender === "bot" ? (y(), O("div", {
|
|
2391
2418
|
key: 0,
|
|
2392
2419
|
class: "q-chatbot__text",
|
|
2393
2420
|
innerHTML: t.message
|
|
2394
|
-
}, null, 8,
|
|
2421
|
+
}, null, 8, Or)) : (y(), O("div", Nr, re(t.message), 1))
|
|
2395
2422
|
], 64))
|
|
2396
|
-
])
|
|
2423
|
+
]),
|
|
2424
|
+
C("div", Dr, re(r.value), 1)
|
|
2397
2425
|
])
|
|
2398
2426
|
]));
|
|
2399
2427
|
}
|
|
2400
|
-
}), Ns = { class: "q-chatbot" }, Ps = { class: "q-chatbot__content" }, Ds = { class: "q-chatbot__tools" }, Fs = { class: "q-chatbot__messages-container" }, ks = { class: "q-chatbot__footer-container" }, Ls = { class: "q-chatbot__footer" }, qs = { class: "q-chatbot__input" }, zs = { class: "q-chatbot__send-container" }, ro = /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3r+ScCtwL9GhzsS+jQ1tn1aLxuNRvMBR8OTCD4MZk4SJprO6JecOs6govcn88GfggcEXOwz5uZaboN2Qysi3p0Pf8Y40A4lfgUY96IduzcoaR4xqaOWRvW6nr+3sZJcg4wxNJuLjSOl2lKirU2djAWccvGkX+6cTYcE+G2pti26xnjZJkZhwcisQtMN6kCW4Ch5jUYyNSoufeMU2IBOtxmnpJiQ5zs1RAnD0xS837orHIHAb2MAyODDgzcs8j9fKNxgKwzIFehE8G9gT6fu1RJsSrutvk/GdqIAV0smzEAAAAASUVORK5CYII=", Lr = { class: "q-chatbot" }, Fr = { class: "q-chatbot__content" }, Ir = { class: "q-chatbot__tools" }, Pr = { class: "q-chatbot__footer-container" }, jr = { class: "q-chatbot__input" }, Ur = { class: "q-chatbot__send-container" }, ro = /* @__PURE__ */ P({
|
|
2401
2429
|
name: "ChatBot",
|
|
2402
2430
|
__name: "ChatBot",
|
|
2403
2431
|
props: {
|
|
2404
2432
|
apiEndpoint: { default: "http://localhost:3000" },
|
|
2405
2433
|
texts: { default: () => ({
|
|
2406
2434
|
chatbotTitle: "ChatBot",
|
|
2407
|
-
|
|
2435
|
+
sendMessage: "Send message",
|
|
2436
|
+
clearChat: "Clear chat",
|
|
2408
2437
|
inputLabel: "What can I help with?",
|
|
2409
2438
|
initialMessage: "Howdy! I am GenioBot 👋, Quidgest's personal AI assistant! How can I help you?",
|
|
2439
|
+
initialAgentMessage: "Just a temporary message while we are working on the agent mode",
|
|
2410
2440
|
loginError: "Uh oh, I could not authenticate with the Quidgest API endpoint 😓",
|
|
2411
2441
|
botIsSick: "*cough cough* GenioBot is not feeling alright 🥴️🤒, looks like something failed!"
|
|
2412
2442
|
}) },
|
|
2413
2443
|
username: {},
|
|
2414
2444
|
projectPath: {},
|
|
2415
|
-
|
|
2445
|
+
userImage: { default: xr },
|
|
2446
|
+
chatbotImage: { default: Cr },
|
|
2447
|
+
dateFormat: {},
|
|
2448
|
+
mode: { default: "chat" }
|
|
2416
2449
|
},
|
|
2417
2450
|
setup(e) {
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2451
|
+
const t = G([]), n = G(1), s = G(""), r = G(!1), o = G(!1), i = G(null), a = G(!0), u = e;
|
|
2452
|
+
at(() => {
|
|
2453
|
+
b(), ue(() => {
|
|
2454
|
+
var A;
|
|
2455
|
+
(A = i.value) == null || A.addEventListener("scroll", T);
|
|
2456
|
+
});
|
|
2422
2457
|
});
|
|
2423
|
-
|
|
2424
|
-
|
|
2458
|
+
const c = E(() => o.value || r.value), d = E(() => ({
|
|
2459
|
+
"q-chatbot__footer-disabled": c.value
|
|
2460
|
+
}));
|
|
2461
|
+
function f(A) {
|
|
2462
|
+
o.value = A;
|
|
2425
2463
|
}
|
|
2426
|
-
function
|
|
2427
|
-
S.post(
|
|
2428
|
-
username:
|
|
2464
|
+
function b() {
|
|
2465
|
+
S.post(u.apiEndpoint + "/auth/login", {
|
|
2466
|
+
username: u.username,
|
|
2429
2467
|
password: "test"
|
|
2430
|
-
}).then((
|
|
2431
|
-
if (
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
}).catch((
|
|
2437
|
-
f(!0),
|
|
2438
|
-
`The following error ocurred while trying to login:
|
|
2439
|
-
` + g
|
|
2440
|
-
);
|
|
2468
|
+
}).then((A) => {
|
|
2469
|
+
if (A.status !== 200 || !A.data.success) {
|
|
2470
|
+
f(!0), p(u.texts.loginError), console.log(`Unsuccessful login, endpoint gave status ${A.status}`);
|
|
2471
|
+
return;
|
|
2472
|
+
}
|
|
2473
|
+
v();
|
|
2474
|
+
}).catch((A) => {
|
|
2475
|
+
f(!0), p(u.texts.loginError), console.log("Error during login: " + A);
|
|
2441
2476
|
});
|
|
2442
2477
|
}
|
|
2443
|
-
function
|
|
2444
|
-
S.post(
|
|
2445
|
-
username:
|
|
2446
|
-
project:
|
|
2447
|
-
}).then((
|
|
2448
|
-
if (
|
|
2449
|
-
|
|
2450
|
-
|
|
2478
|
+
function v() {
|
|
2479
|
+
S.post(u.apiEndpoint + "/prompt/load", {
|
|
2480
|
+
username: u.username,
|
|
2481
|
+
project: u.projectPath
|
|
2482
|
+
}).then((A) => {
|
|
2483
|
+
if (A.status !== 200 || !A.data.success) {
|
|
2484
|
+
f(!0), p(u.texts.loginError), console.log(`Unsuccessful load, endpoint gave status ${A.status}`);
|
|
2485
|
+
return;
|
|
2486
|
+
}
|
|
2487
|
+
h(), A.data.history.forEach((N) => {
|
|
2488
|
+
p(
|
|
2489
|
+
N.content,
|
|
2490
|
+
N.type === "ai" ? "bot" : "user"
|
|
2451
2491
|
);
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
w.content,
|
|
2456
|
-
w.type === "ai" ? "bot" : "user"
|
|
2457
|
-
);
|
|
2458
|
-
}
|
|
2459
|
-
);
|
|
2460
|
-
}).catch((g) => {
|
|
2461
|
-
f(!0), d(a.texts.loginError), console.log(
|
|
2462
|
-
`The following error ocurred while trying to login:
|
|
2463
|
-
` + g
|
|
2464
|
-
);
|
|
2492
|
+
});
|
|
2493
|
+
}).catch((A) => {
|
|
2494
|
+
f(!0), p(u.texts.loginError), console.log("Error loading chat data: " + A);
|
|
2465
2495
|
});
|
|
2466
2496
|
}
|
|
2467
|
-
function
|
|
2497
|
+
function p(A, N = "bot") {
|
|
2468
2498
|
t.value.push({
|
|
2469
|
-
id: n++,
|
|
2470
|
-
message:
|
|
2499
|
+
id: n.value++,
|
|
2500
|
+
message: A,
|
|
2471
2501
|
date: /* @__PURE__ */ new Date(),
|
|
2472
|
-
sender:
|
|
2473
|
-
}),
|
|
2502
|
+
sender: N
|
|
2503
|
+
}), ue(() => {
|
|
2504
|
+
a.value && R();
|
|
2505
|
+
});
|
|
2474
2506
|
}
|
|
2475
|
-
function
|
|
2507
|
+
function m() {
|
|
2476
2508
|
return t.value.find(
|
|
2477
|
-
(
|
|
2509
|
+
(A) => A.id === n.value - 1
|
|
2478
2510
|
);
|
|
2479
2511
|
}
|
|
2480
|
-
function
|
|
2481
|
-
|
|
2512
|
+
function h() {
|
|
2513
|
+
const A = u.mode === "chat" ? u.texts.initialMessage : u.texts.initialAgentMessage;
|
|
2514
|
+
p(A);
|
|
2482
2515
|
}
|
|
2483
|
-
function
|
|
2484
|
-
t.value = [],
|
|
2516
|
+
function w() {
|
|
2517
|
+
t.value = [], s.value = "", r.value = !1, f(!1), a.value = !0;
|
|
2485
2518
|
}
|
|
2486
|
-
function
|
|
2487
|
-
|
|
2488
|
-
|
|
2519
|
+
function R() {
|
|
2520
|
+
ue(() => {
|
|
2521
|
+
i.value && i.value.scrollTo({
|
|
2522
|
+
top: i.value.scrollHeight,
|
|
2523
|
+
behavior: "smooth"
|
|
2524
|
+
});
|
|
2525
|
+
});
|
|
2489
2526
|
}
|
|
2490
|
-
function
|
|
2491
|
-
|
|
2527
|
+
function T() {
|
|
2528
|
+
if (i.value) {
|
|
2529
|
+
const { scrollTop: N, clientHeight: M, scrollHeight: Q } = i.value;
|
|
2530
|
+
N + M >= Q - 20 ? a.value = !0 : a.value = !1;
|
|
2531
|
+
}
|
|
2532
|
+
}
|
|
2533
|
+
function j() {
|
|
2534
|
+
s.value.trim().length === 0 || r.value || o.value || (p(s.value, "user"), R(), D(s.value), s.value = "");
|
|
2492
2535
|
}
|
|
2493
|
-
function
|
|
2494
|
-
|
|
2495
|
-
let
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2536
|
+
function D(A) {
|
|
2537
|
+
p("", "bot");
|
|
2538
|
+
let N = m();
|
|
2539
|
+
const M = {
|
|
2540
|
+
message: A,
|
|
2541
|
+
project: u.projectPath,
|
|
2542
|
+
user: u.username
|
|
2499
2543
|
};
|
|
2500
|
-
|
|
2501
|
-
url:
|
|
2544
|
+
r.value = !0, S({
|
|
2545
|
+
url: u.apiEndpoint + "/prompt/message",
|
|
2502
2546
|
method: "POST",
|
|
2503
|
-
data:
|
|
2504
|
-
onDownloadProgress: (
|
|
2505
|
-
var
|
|
2506
|
-
const
|
|
2507
|
-
((
|
|
2547
|
+
data: M,
|
|
2548
|
+
onDownloadProgress: (Q) => {
|
|
2549
|
+
var Me, qe;
|
|
2550
|
+
const Pt = (Me = Q.event) == null ? void 0 : Me.currentTarget.response;
|
|
2551
|
+
((qe = Q.event) == null ? void 0 : qe.currentTarget.status) === 200 && (N && (N.message = Pt), a.value && R());
|
|
2508
2552
|
}
|
|
2509
|
-
}).then(({ data:
|
|
2510
|
-
|
|
2511
|
-
}).catch((
|
|
2512
|
-
|
|
2553
|
+
}).then(({ data: Q }) => {
|
|
2554
|
+
N && (N.message = Q);
|
|
2555
|
+
}).catch((Q) => {
|
|
2556
|
+
p(u.texts.botIsSick), f(!0), console.log(Q);
|
|
2513
2557
|
}).finally(() => {
|
|
2514
|
-
|
|
2558
|
+
r.value = !1;
|
|
2515
2559
|
});
|
|
2516
2560
|
}
|
|
2517
|
-
function
|
|
2518
|
-
S.post(
|
|
2519
|
-
username:
|
|
2520
|
-
project:
|
|
2521
|
-
}).then((
|
|
2522
|
-
if (
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
}).catch((
|
|
2528
|
-
f(!0),
|
|
2529
|
-
`The following error ocurred while trying to communicate with the endpoint:
|
|
2530
|
-
` + g
|
|
2531
|
-
);
|
|
2561
|
+
function z() {
|
|
2562
|
+
S.post(u.apiEndpoint + "/prompt/clear", {
|
|
2563
|
+
username: u.username,
|
|
2564
|
+
project: u.projectPath
|
|
2565
|
+
}).then((A) => {
|
|
2566
|
+
if (A.status !== 200 || !A.data.success) {
|
|
2567
|
+
f(!0), p(u.texts.loginError), console.log(`Unsuccessful clear, endpoint gave status ${A.status}`);
|
|
2568
|
+
return;
|
|
2569
|
+
}
|
|
2570
|
+
w(), h();
|
|
2571
|
+
}).catch((A) => {
|
|
2572
|
+
f(!0), p(u.texts.loginError), console.log("Error clearing chat: " + A);
|
|
2532
2573
|
});
|
|
2533
2574
|
}
|
|
2534
|
-
function
|
|
2535
|
-
const
|
|
2536
|
-
return
|
|
2575
|
+
function W(A) {
|
|
2576
|
+
const N = ["q-chatbot__messages-wrapper"];
|
|
2577
|
+
return A === "user" && N.push("q-chatbot__messages-wrapper_right"), N;
|
|
2537
2578
|
}
|
|
2538
|
-
return
|
|
2539
|
-
() =>
|
|
2579
|
+
return ne(
|
|
2580
|
+
() => u.apiEndpoint,
|
|
2540
2581
|
() => {
|
|
2541
|
-
|
|
2582
|
+
w(), b();
|
|
2542
2583
|
}
|
|
2543
|
-
), (
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
title:
|
|
2584
|
+
), (A, N) => (y(), O("div", Lr, [
|
|
2585
|
+
C("div", Fr, [
|
|
2586
|
+
C("div", Ir, [
|
|
2587
|
+
J(x(rt), {
|
|
2588
|
+
title: u.texts.clearChat,
|
|
2548
2589
|
"b-style": "secondary",
|
|
2549
|
-
disabled:
|
|
2590
|
+
disabled: o.value,
|
|
2550
2591
|
borderless: "",
|
|
2551
|
-
onClick:
|
|
2592
|
+
onClick: z
|
|
2552
2593
|
}, {
|
|
2553
|
-
default:
|
|
2554
|
-
|
|
2594
|
+
default: H(() => [
|
|
2595
|
+
J(x(Fe), { icon: "bin" })
|
|
2555
2596
|
]),
|
|
2556
2597
|
_: 1
|
|
2557
2598
|
}, 8, ["title", "disabled"])
|
|
2558
2599
|
]),
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2600
|
+
C("div", {
|
|
2601
|
+
ref_key: "messagesContainer",
|
|
2602
|
+
ref: i,
|
|
2603
|
+
class: "q-chatbot__messages-container",
|
|
2604
|
+
onScroll: T
|
|
2605
|
+
}, [
|
|
2606
|
+
(y(!0), O(se, null, lt(t.value, (M) => (y(), O("div", {
|
|
2607
|
+
key: M.id,
|
|
2608
|
+
class: U(W(M.sender))
|
|
2563
2609
|
}, [
|
|
2564
|
-
|
|
2565
|
-
"date-format":
|
|
2566
|
-
|
|
2567
|
-
|
|
2610
|
+
J(x(Br), ge({ ref_for: !0 }, M, {
|
|
2611
|
+
"date-format": u.dateFormat,
|
|
2612
|
+
"user-image": u.userImage,
|
|
2613
|
+
"chatbot-image": u.chatbotImage,
|
|
2614
|
+
loading: r.value && !M.message
|
|
2615
|
+
}), null, 16, ["date-format", "user-image", "chatbot-image", "loading"])
|
|
2568
2616
|
], 2))), 128))
|
|
2569
|
-
]),
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
modelValue:
|
|
2580
|
-
"onUpdate:modelValue":
|
|
2617
|
+
], 544),
|
|
2618
|
+
C("div", Pr, [
|
|
2619
|
+
J(x(It), {
|
|
2620
|
+
label: u.texts.inputLabel
|
|
2621
|
+
}, null, 8, ["label"]),
|
|
2622
|
+
C("div", {
|
|
2623
|
+
class: U(["q-chatbot__footer", d.value])
|
|
2624
|
+
}, [
|
|
2625
|
+
C("div", jr, [
|
|
2626
|
+
J(x(wr), {
|
|
2627
|
+
modelValue: s.value,
|
|
2628
|
+
"onUpdate:modelValue": N[0] || (N[0] = (M) => s.value = M),
|
|
2581
2629
|
size: "block",
|
|
2582
2630
|
autosize: "",
|
|
2583
2631
|
resize: "none",
|
|
2584
2632
|
rows: 2,
|
|
2585
|
-
disabled:
|
|
2586
|
-
onKeyup:
|
|
2633
|
+
disabled: c.value,
|
|
2634
|
+
onKeyup: Xt(j, ["enter"])
|
|
2587
2635
|
}, null, 8, ["modelValue", "disabled"])
|
|
2588
2636
|
]),
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
title:
|
|
2637
|
+
C("div", Ur, [
|
|
2638
|
+
J(x(rt), {
|
|
2639
|
+
title: u.texts.sendMessage,
|
|
2592
2640
|
"b-style": "primary",
|
|
2593
2641
|
class: "q-chatbot__send",
|
|
2594
|
-
disabled:
|
|
2595
|
-
|
|
2596
|
-
|
|
2642
|
+
disabled: c.value,
|
|
2643
|
+
readonly: c.value,
|
|
2644
|
+
loading: r.value,
|
|
2645
|
+
onClick: j
|
|
2597
2646
|
}, {
|
|
2598
|
-
default:
|
|
2599
|
-
|
|
2647
|
+
default: H(() => [
|
|
2648
|
+
J(x(Fe), { icon: "send" })
|
|
2600
2649
|
]),
|
|
2601
2650
|
_: 1
|
|
2602
|
-
}, 8, ["title", "disabled", "loading"])
|
|
2651
|
+
}, 8, ["title", "disabled", "readonly", "loading"])
|
|
2603
2652
|
])
|
|
2604
|
-
])
|
|
2653
|
+
], 2)
|
|
2605
2654
|
])
|
|
2606
2655
|
])
|
|
2607
2656
|
]));
|