UNPKG

ykt-npmv3

Version:

ykt npm use vue3

1,699 lines 235 kB
import { defineComponent as Yr, getCurrentInstance as Vr, ref as Z, reactive as $r, onMounted as en, nextTick as tn, openBlock as dt, createElementBlock as At, createElementVNode as e0, normalizeStyle as c0, createTextVNode as rn, unref as K, withDirectives as nn, vShow as on, createVNode as an, Transition as sn, withCtx as xn, normalizeClass as cn, toDisplayString as ee, createCommentVNode as fn } from "vue"; function lr(e, n) { return function() { return e.apply(n, arguments); }; } const { toString: ln } = Object.prototype, { getPrototypeOf: Ge } = Object, M0 = ((e) => (n) => { const r = ln.call(n); return e[r] || (e[r] = r.slice(8, -1).toLowerCase()); })(/* @__PURE__ */ Object.create(null)), l0 = (e) => (e = e.toLowerCase(), (n) => M0(n) === e), K0 = (e) => (n) => typeof n === e, { isArray: b0 } = Array, T0 = K0("undefined"); function un(e) { return e !== null && !T0(e) && e.constructor !== null && !T0(e.constructor) && a0(e.constructor.isBuffer) && e.constructor.isBuffer(e); } const ur = l0("ArrayBuffer"); function dn(e) { let n; return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? n = ArrayBuffer.isView(e) : n = e && e.buffer && ur(e.buffer), n; } const An = K0("string"), a0 = K0("function"), dr = K0("number"), G0 = (e) => e !== null && typeof e == "object", hn = (e) => e === !0 || e === !1, I0 = (e) => { if (M0(e) !== "object") return !1; const n = Ge(e); return (n === null || n === Object.prototype || Object.getPrototypeOf(n) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e); }, vn = l0("Date"), pn = l0("File"), Bn = l0("Blob"), En = l0("FileList"), Cn = (e) => G0(e) && a0(e.pipe), Fn = (e) => { let n; return e && (typeof FormData == "function" && e instanceof FormData || a0(e.append) && ((n = M0(e)) === "formdata" || // detect form-data instance n === "object" && a0(e.toString) && e.toString() === "[object FormData]")); }, Dn = l0("URLSearchParams"), [gn, bn, yn, mn] = ["ReadableStream", "Request", "Response", "Headers"].map(l0), wn = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ""); function O0(e, n, { allOwnKeys: r = !1 } = {}) { if (e === null || typeof e > "u") return; let t, o; if (typeof e != "object" && (e = [e]), b0(e)) for (t = 0, o = e.length; t < o; t++) n.call(null, e[t], t, e); else { const s = r ? Object.getOwnPropertyNames(e) : Object.keys(e), l = s.length; let c; for (t = 0; t < l; t++) c = s[t], n.call(null, e[c], c, e); } } function Ar(e, n) { n = n.toLowerCase(); const r = Object.keys(e); let t = r.length, o; for (; t-- > 0; ) if (o = r[t], n === o.toLowerCase()) return o; return null; } const p0 = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), hr = (e) => !T0(e) && e !== p0; function Le() { const { caseless: e } = hr(this) && this || {}, n = {}, r = (t, o) => { const s = e && Ar(n, o) || o; I0(n[s]) && I0(t) ? n[s] = Le(n[s], t) : I0(t) ? n[s] = Le({}, t) : b0(t) ? n[s] = t.slice() : n[s] = t; }; for (let t = 0, o = arguments.length; t < o; t++) arguments[t] && O0(arguments[t], r); return n; } const _n = (e, n, r, { allOwnKeys: t } = {}) => (O0(n, (o, s) => { r && a0(o) ? e[s] = lr(o, r) : e[s] = o; }, { allOwnKeys: t }), e), Sn = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Rn = (e, n, r, t) => { e.prototype = Object.create(n.prototype, t), e.prototype.constructor = e, Object.defineProperty(e, "super", { value: n.prototype }), r && Object.assign(e.prototype, r); }, kn = (e, n, r, t) => { let o, s, l; const c = {}; if (n = n || {}, e == null) return n; do { for (o = Object.getOwnPropertyNames(e), s = o.length; s-- > 0; ) l = o[s], (!t || t(l, e, n)) && !c[l] && (n[l] = e[l], c[l] = !0); e = r !== !1 && Ge(e); } while (e && (!r || r(e, n)) && e !== Object.prototype); return n; }, Hn = (e, n, r) => { e = String(e), (r === void 0 || r > e.length) && (r = e.length), r -= n.length; const t = e.indexOf(n, r); return t !== -1 && t === r; }, Tn = (e) => { if (!e) return null; if (b0(e)) return e; let n = e.length; if (!dr(n)) return null; const r = new Array(n); for (; n-- > 0; ) r[n] = e[n]; return r; }, On = ((e) => (n) => e && n instanceof e)(typeof Uint8Array < "u" && Ge(Uint8Array)), Pn = (e, n) => { const t = (e && e[Symbol.iterator]).call(e); let o; for (; (o = t.next()) && !o.done; ) { const s = o.value; n.call(e, s[0], s[1]); } }, zn = (e, n) => { let r; const t = []; for (; (r = e.exec(n)) !== null; ) t.push(r); return t; }, Un = l0("HTMLFormElement"), In = (e) => e.toLowerCase().replace( /[-_\s]([a-z\d])(\w*)/g, function(r, t, o) { return t.toUpperCase() + o; } ), ht = (({ hasOwnProperty: e }) => (n, r) => e.call(n, r))(Object.prototype), Nn = l0("RegExp"), vr = (e, n) => { const r = Object.getOwnPropertyDescriptors(e), t = {}; O0(r, (o, s) => { let l; (l = n(o, s, e)) !== !1 && (t[s] = l || o); }), Object.defineProperties(e, t); }, qn = (e) => { vr(e, (n, r) => { if (a0(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1) return !1; const t = e[r]; if (a0(t)) { if (n.enumerable = !1, "writable" in n) { n.writable = !1; return; } n.set || (n.set = () => { throw Error("Can not rewrite read-only method '" + r + "'"); }); } }); }, Ln = (e, n) => { const r = {}, t = (o) => { o.forEach((s) => { r[s] = !0; }); }; return b0(e) ? t(e) : t(String(e).split(n)), r; }, Wn = () => { }, jn = (e, n) => e != null && Number.isFinite(e = +e) ? e : n, te = "abcdefghijklmnopqrstuvwxyz", vt = "0123456789", pr = { DIGIT: vt, ALPHA: te, ALPHA_DIGIT: te + te.toUpperCase() + vt }, Qn = (e = 16, n = pr.ALPHA_DIGIT) => { let r = ""; const { length: t } = n; for (; e--; ) r += n[Math.random() * t | 0]; return r; }; function Mn(e) { return !!(e && a0(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]); } const Kn = (e) => { const n = new Array(10), r = (t, o) => { if (G0(t)) { if (n.indexOf(t) >= 0) return; if (!("toJSON" in t)) { n[o] = t; const s = b0(t) ? [] : {}; return O0(t, (l, c) => { const B = r(l, o + 1); !T0(B) && (s[c] = B); }), n[o] = void 0, s; } } return t; }; return r(e, 0); }, Gn = l0("AsyncFunction"), Jn = (e) => e && (G0(e) || a0(e)) && a0(e.then) && a0(e.catch), Br = ((e, n) => e ? setImmediate : n ? ((r, t) => (p0.addEventListener("message", ({ source: o, data: s }) => { o === p0 && s === r && t.length && t.shift()(); }, !1), (o) => { t.push(o), p0.postMessage(r, "*"); }))(`axios@${Math.random()}`, []) : (r) => setTimeout(r))( typeof setImmediate == "function", a0(p0.postMessage) ), Xn = typeof queueMicrotask < "u" ? queueMicrotask.bind(p0) : typeof process < "u" && process.nextTick || Br, m = { isArray: b0, isArrayBuffer: ur, isBuffer: un, isFormData: Fn, isArrayBufferView: dn, isString: An, isNumber: dr, isBoolean: hn, isObject: G0, isPlainObject: I0, isReadableStream: gn, isRequest: bn, isResponse: yn, isHeaders: mn, isUndefined: T0, isDate: vn, isFile: pn, isBlob: Bn, isRegExp: Nn, isFunction: a0, isStream: Cn, isURLSearchParams: Dn, isTypedArray: On, isFileList: En, forEach: O0, merge: Le, extend: _n, trim: wn, stripBOM: Sn, inherits: Rn, toFlatObject: kn, kindOf: M0, kindOfTest: l0, endsWith: Hn, toArray: Tn, forEachEntry: Pn, matchAll: zn, isHTMLForm: Un, hasOwnProperty: ht, hasOwnProp: ht, // an alias to avoid ESLint no-prototype-builtins detection reduceDescriptors: vr, freezeMethods: qn, toObjectSet: Ln, toCamelCase: In, noop: Wn, toFiniteNumber: jn, findKey: Ar, global: p0, isContextDefined: hr, ALPHABET: pr, generateString: Qn, isSpecCompliantForm: Mn, toJSONObject: Kn, isAsyncFn: Gn, isThenable: Jn, setImmediate: Br, asap: Xn }; function q(e, n, r, t, o) { Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", n && (this.code = n), r && (this.config = r), t && (this.request = t), o && (this.response = o, this.status = o.status ? o.status : null); } m.inherits(q, Error, { toJSON: function() { return { // Standard message: this.message, name: this.name, // Microsoft description: this.description, number: this.number, // Mozilla fileName: this.fileName, lineNumber: this.lineNumber, columnNumber: this.columnNumber, stack: this.stack, // Axios config: m.toJSONObject(this.config), code: this.code, status: this.status }; } }); const Er = q.prototype, Cr = {}; [ "ERR_BAD_OPTION_VALUE", "ERR_BAD_OPTION", "ECONNABORTED", "ETIMEDOUT", "ERR_NETWORK", "ERR_FR_TOO_MANY_REDIRECTS", "ERR_DEPRECATED", "ERR_BAD_RESPONSE", "ERR_BAD_REQUEST", "ERR_CANCELED", "ERR_NOT_SUPPORT", "ERR_INVALID_URL" // eslint-disable-next-line func-names ].forEach((e) => { Cr[e] = { value: e }; }); Object.defineProperties(q, Cr); Object.defineProperty(Er, "isAxiosError", { value: !0 }); q.from = (e, n, r, t, o, s) => { const l = Object.create(Er); return m.toFlatObject(e, l, function(B) { return B !== Error.prototype; }, (c) => c !== "isAxiosError"), q.call(l, e.message, n, r, t, o), l.cause = e, l.name = e.name, s && Object.assign(l, s), l; }; const Zn = null; function We(e) { return m.isPlainObject(e) || m.isArray(e); } function Fr(e) { return m.endsWith(e, "[]") ? e.slice(0, -2) : e; } function pt(e, n, r) { return e ? e.concat(n).map(function(o, s) { return o = Fr(o), !r && s ? "[" + o + "]" : o; }).join(r ? "." : "") : n; } function Yn(e) { return m.isArray(e) && !e.some(We); } const Vn = m.toFlatObject(m, {}, null, function(n) { return /^is[A-Z]/.test(n); }); function J0(e, n, r) { if (!m.isObject(e)) throw new TypeError("target must be an object"); n = n || new FormData(), r = m.toFlatObject(r, { metaTokens: !0, dots: !1, indexes: !1 }, !1, function(h, u) { return !m.isUndefined(u[h]); }); const t = r.metaTokens, o = r.visitor || i, s = r.dots, l = r.indexes, B = (r.Blob || typeof Blob < "u" && Blob) && m.isSpecCompliantForm(n); if (!m.isFunction(o)) throw new TypeError("visitor must be a function"); function a(f) { if (f === null) return ""; if (m.isDate(f)) return f.toISOString(); if (!B && m.isBlob(f)) throw new q("Blob is not supported. Use a Buffer instead."); return m.isArrayBuffer(f) || m.isTypedArray(f) ? B && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f; } function i(f, h, u) { let C = f; if (f && !u && typeof f == "object") { if (m.endsWith(h, "{}")) h = t ? h : h.slice(0, -2), f = JSON.stringify(f); else if (m.isArray(f) && Yn(f) || (m.isFileList(f) || m.endsWith(h, "[]")) && (C = m.toArray(f))) return h = Fr(h), C.forEach(function(A, p) { !(m.isUndefined(A) || A === null) && n.append( // eslint-disable-next-line no-nested-ternary l === !0 ? pt([h], p, s) : l === null ? h : h + "[]", a(A) ); }), !1; } return We(f) ? !0 : (n.append(pt(u, h, s), a(f)), !1); } const E = [], x = Object.assign(Vn, { defaultVisitor: i, convertValue: a, isVisitable: We }); function v(f, h) { if (!m.isUndefined(f)) { if (E.indexOf(f) !== -1) throw Error("Circular reference detected in " + h.join(".")); E.push(f), m.forEach(f, function(C, d) { (!(m.isUndefined(C) || C === null) && o.call( n, C, m.isString(d) ? d.trim() : d, h, x )) === !0 && v(C, h ? h.concat(d) : [d]); }), E.pop(); } } if (!m.isObject(e)) throw new TypeError("data must be an object"); return v(e), n; } function Bt(e) { const n = { "!": "%21", "'": "%27", "(": "%28", ")": "%29", "~": "%7E", "%20": "+", "%00": "\0" }; return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g, function(t) { return n[t]; }); } function Je(e, n) { this._pairs = [], e && J0(e, this, n); } const Dr = Je.prototype; Dr.append = function(n, r) { this._pairs.push([n, r]); }; Dr.toString = function(n) { const r = n ? function(t) { return n.call(this, t, Bt); } : Bt; return this._pairs.map(function(o) { return r(o[0]) + "=" + r(o[1]); }, "").join("&"); }; function $n(e) { return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]"); } function gr(e, n, r) { if (!n) return e; const t = r && r.encode || $n; m.isFunction(r) && (r = { serialize: r }); const o = r && r.serialize; let s; if (o ? s = o(n, r) : s = m.isURLSearchParams(n) ? n.toString() : new Je(n, r).toString(t), s) { const l = e.indexOf("#"); l !== -1 && (e = e.slice(0, l)), e += (e.indexOf("?") === -1 ? "?" : "&") + s; } return e; } class eo { constructor() { this.handlers = []; } /** * Add a new interceptor to the stack * * @param {Function} fulfilled The function to handle `then` for a `Promise` * @param {Function} rejected The function to handle `reject` for a `Promise` * * @return {Number} An ID used to remove interceptor later */ use(n, r, t) { return this.handlers.push({ fulfilled: n, rejected: r, synchronous: t ? t.synchronous : !1, runWhen: t ? t.runWhen : null }), this.handlers.length - 1; } /** * Remove an interceptor from the stack * * @param {Number} id The ID that was returned by `use` * * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise */ eject(n) { this.handlers[n] && (this.handlers[n] = null); } /** * Clear all interceptors from the stack * * @returns {void} */ clear() { this.handlers && (this.handlers = []); } /** * Iterate over all the registered interceptors * * This method is particularly useful for skipping over any * interceptors that may have become `null` calling `eject`. * * @param {Function} fn The function to call for each interceptor * * @returns {void} */ forEach(n) { m.forEach(this.handlers, function(t) { t !== null && n(t); }); } } const Et = eo, br = { silentJSONParsing: !0, forcedJSONParsing: !0, clarifyTimeoutError: !1 }, to = typeof URLSearchParams < "u" ? URLSearchParams : Je, ro = typeof FormData < "u" ? FormData : null, no = typeof Blob < "u" ? Blob : null, oo = { isBrowser: !0, classes: { URLSearchParams: to, FormData: ro, Blob: no }, protocols: ["http", "https", "file", "blob", "url", "data"] }, Xe = typeof window < "u" && typeof document < "u", je = typeof navigator == "object" && navigator || void 0, ao = Xe && (!je || ["ReactNative", "NativeScript", "NS"].indexOf(je.product) < 0), io = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), so = Xe && window.location.href || "http://localhost", xo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, hasBrowserEnv: Xe, hasStandardBrowserEnv: ao, hasStandardBrowserWebWorkerEnv: io, navigator: je, origin: so }, Symbol.toStringTag, { value: "Module" })), t0 = { ...xo, ...oo }; function co(e, n) { return J0(e, new t0.classes.URLSearchParams(), Object.assign({ visitor: function(r, t, o, s) { return t0.isNode && m.isBuffer(r) ? (this.append(t, r.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments); } }, n)); } function fo(e) { return m.matchAll(/\w+|\[(\w*)]/g, e).map((n) => n[0] === "[]" ? "" : n[1] || n[0]); } function lo(e) { const n = {}, r = Object.keys(e); let t; const o = r.length; let s; for (t = 0; t < o; t++) s = r[t], n[s] = e[s]; return n; } function yr(e) { function n(r, t, o, s) { let l = r[s++]; if (l === "__proto__") return !0; const c = Number.isFinite(+l), B = s >= r.length; return l = !l && m.isArray(o) ? o.length : l, B ? (m.hasOwnProp(o, l) ? o[l] = [o[l], t] : o[l] = t, !c) : ((!o[l] || !m.isObject(o[l])) && (o[l] = []), n(r, t, o[l], s) && m.isArray(o[l]) && (o[l] = lo(o[l])), !c); } if (m.isFormData(e) && m.isFunction(e.entries)) { const r = {}; return m.forEachEntry(e, (t, o) => { n(fo(t), o, r, 0); }), r; } return null; } function uo(e, n, r) { if (m.isString(e)) try { return (n || JSON.parse)(e), m.trim(e); } catch (t) { if (t.name !== "SyntaxError") throw t; } return (r || JSON.stringify)(e); } const Ze = { transitional: br, adapter: ["xhr", "http", "fetch"], transformRequest: [function(n, r) { const t = r.getContentType() || "", o = t.indexOf("application/json") > -1, s = m.isObject(n); if (s && m.isHTMLForm(n) && (n = new FormData(n)), m.isFormData(n)) return o ? JSON.stringify(yr(n)) : n; if (m.isArrayBuffer(n) || m.isBuffer(n) || m.isStream(n) || m.isFile(n) || m.isBlob(n) || m.isReadableStream(n)) return n; if (m.isArrayBufferView(n)) return n.buffer; if (m.isURLSearchParams(n)) return r.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), n.toString(); let c; if (s) { if (t.indexOf("application/x-www-form-urlencoded") > -1) return co(n, this.formSerializer).toString(); if ((c = m.isFileList(n)) || t.indexOf("multipart/form-data") > -1) { const B = this.env && this.env.FormData; return J0( c ? { "files[]": n } : n, B && new B(), this.formSerializer ); } } return s || o ? (r.setContentType("application/json", !1), uo(n)) : n; }], transformResponse: [function(n) { const r = this.transitional || Ze.transitional, t = r && r.forcedJSONParsing, o = this.responseType === "json"; if (m.isResponse(n) || m.isReadableStream(n)) return n; if (n && m.isString(n) && (t && !this.responseType || o)) { const l = !(r && r.silentJSONParsing) && o; try { return JSON.parse(n); } catch (c) { if (l) throw c.name === "SyntaxError" ? q.from(c, q.ERR_BAD_RESPONSE, this, null, this.response) : c; } } return n; }], /** * A timeout in milliseconds to abort a request. If set to 0 (default) a * timeout is not created. */ timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", maxContentLength: -1, maxBodyLength: -1, env: { FormData: t0.classes.FormData, Blob: t0.classes.Blob }, validateStatus: function(n) { return n >= 200 && n < 300; }, headers: { common: { Accept: "application/json, text/plain, */*", "Content-Type": void 0 } } }; m.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => { Ze.headers[e] = {}; }); const Ye = Ze, Ao = m.toObjectSet([ "age", "authorization", "content-length", "content-type", "etag", "expires", "from", "host", "if-modified-since", "if-unmodified-since", "last-modified", "location", "max-forwards", "proxy-authorization", "referer", "retry-after", "user-agent" ]), ho = (e) => { const n = {}; let r, t, o; return e && e.split(` `).forEach(function(l) { o = l.indexOf(":"), r = l.substring(0, o).trim().toLowerCase(), t = l.substring(o + 1).trim(), !(!r || n[r] && Ao[r]) && (r === "set-cookie" ? n[r] ? n[r].push(t) : n[r] = [t] : n[r] = n[r] ? n[r] + ", " + t : t); }), n; }, Ct = Symbol("internals"); function k0(e) { return e && String(e).trim().toLowerCase(); } function N0(e) { return e === !1 || e == null ? e : m.isArray(e) ? e.map(N0) : String(e); } function vo(e) { const n = /* @__PURE__ */ Object.create(null), r = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; let t; for (; t = r.exec(e); ) n[t[1]] = t[2]; return n; } const po = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()); function re(e, n, r, t, o) { if (m.isFunction(t)) return t.call(this, n, r); if (o && (n = r), !!m.isString(n)) { if (m.isString(t)) return n.indexOf(t) !== -1; if (m.isRegExp(t)) return t.test(n); } } function Bo(e) { return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (n, r, t) => r.toUpperCase() + t); } function Eo(e, n) { const r = m.toCamelCase(" " + n); ["get", "set", "has"].forEach((t) => { Object.defineProperty(e, t + r, { value: function(o, s, l) { return this[t].call(this, n, o, s, l); }, configurable: !0 }); }); } class X0 { constructor(n) { n && this.set(n); } set(n, r, t) { const o = this; function s(c, B, a) { const i = k0(B); if (!i) throw new Error("header name must be a non-empty string"); const E = m.findKey(o, i); (!E || o[E] === void 0 || a === !0 || a === void 0 && o[E] !== !1) && (o[E || B] = N0(c)); } const l = (c, B) => m.forEach(c, (a, i) => s(a, i, B)); if (m.isPlainObject(n) || n instanceof this.constructor) l(n, r); else if (m.isString(n) && (n = n.trim()) && !po(n)) l(ho(n), r); else if (m.isHeaders(n)) for (const [c, B] of n.entries()) s(B, c, t); else n != null && s(r, n, t); return this; } get(n, r) { if (n = k0(n), n) { const t = m.findKey(this, n); if (t) { const o = this[t]; if (!r) return o; if (r === !0) return vo(o); if (m.isFunction(r)) return r.call(this, o, t); if (m.isRegExp(r)) return r.exec(o); throw new TypeError("parser must be boolean|regexp|function"); } } } has(n, r) { if (n = k0(n), n) { const t = m.findKey(this, n); return !!(t && this[t] !== void 0 && (!r || re(this, this[t], t, r))); } return !1; } delete(n, r) { const t = this; let o = !1; function s(l) { if (l = k0(l), l) { const c = m.findKey(t, l); c && (!r || re(t, t[c], c, r)) && (delete t[c], o = !0); } } return m.isArray(n) ? n.forEach(s) : s(n), o; } clear(n) { const r = Object.keys(this); let t = r.length, o = !1; for (; t--; ) { const s = r[t]; (!n || re(this, this[s], s, n, !0)) && (delete this[s], o = !0); } return o; } normalize(n) { const r = this, t = {}; return m.forEach(this, (o, s) => { const l = m.findKey(t, s); if (l) { r[l] = N0(o), delete r[s]; return; } const c = n ? Bo(s) : String(s).trim(); c !== s && delete r[s], r[c] = N0(o), t[c] = !0; }), this; } concat(...n) { return this.constructor.concat(this, ...n); } toJSON(n) { const r = /* @__PURE__ */ Object.create(null); return m.forEach(this, (t, o) => { t != null && t !== !1 && (r[o] = n && m.isArray(t) ? t.join(", ") : t); }), r; } [Symbol.iterator]() { return Object.entries(this.toJSON())[Symbol.iterator](); } toString() { return Object.entries(this.toJSON()).map(([n, r]) => n + ": " + r).join(` `); } get [Symbol.toStringTag]() { return "AxiosHeaders"; } static from(n) { return n instanceof this ? n : new this(n); } static concat(n, ...r) { const t = new this(n); return r.forEach((o) => t.set(o)), t; } static accessor(n) { const t = (this[Ct] = this[Ct] = { accessors: {} }).accessors, o = this.prototype; function s(l) { const c = k0(l); t[c] || (Eo(o, l), t[c] = !0); } return m.isArray(n) ? n.forEach(s) : s(n), this; } } X0.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]); m.reduceDescriptors(X0.prototype, ({ value: e }, n) => { let r = n[0].toUpperCase() + n.slice(1); return { get: () => e, set(t) { this[r] = t; } }; }); m.freezeMethods(X0); const f0 = X0; function ne(e, n) { const r = this || Ye, t = n || r, o = f0.from(t.headers); let s = t.data; return m.forEach(e, function(c) { s = c.call(r, s, o.normalize(), n ? n.status : void 0); }), o.normalize(), s; } function mr(e) { return !!(e && e.__CANCEL__); } function y0(e, n, r) { q.call(this, e ?? "canceled", q.ERR_CANCELED, n, r), this.name = "CanceledError"; } m.inherits(y0, q, { __CANCEL__: !0 }); function wr(e, n, r) { const t = r.config.validateStatus; !r.status || !t || t(r.status) ? e(r) : n(new q( "Request failed with status code " + r.status, [q.ERR_BAD_REQUEST, q.ERR_BAD_RESPONSE][Math.floor(r.status / 100) - 4], r.config, r.request, r )); } function Co(e) { const n = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e); return n && n[1] || ""; } function Fo(e, n) { e = e || 10; const r = new Array(e), t = new Array(e); let o = 0, s = 0, l; return n = n !== void 0 ? n : 1e3, function(B) { const a = Date.now(), i = t[s]; l || (l = a), r[o] = B, t[o] = a; let E = s, x = 0; for (; E !== o; ) x += r[E++], E = E % e; if (o = (o + 1) % e, o === s && (s = (s + 1) % e), a - l < n) return; const v = i && a - i; return v ? Math.round(x * 1e3 / v) : void 0; }; } function Do(e, n) { let r = 0, t = 1e3 / n, o, s; const l = (a, i = Date.now()) => { r = i, o = null, s && (clearTimeout(s), s = null), e.apply(null, a); }; return [(...a) => { const i = Date.now(), E = i - r; E >= t ? l(a, i) : (o = a, s || (s = setTimeout(() => { s = null, l(o); }, t - E))); }, () => o && l(o)]; } const W0 = (e, n, r = 3) => { let t = 0; const o = Fo(50, 250); return Do((s) => { const l = s.loaded, c = s.lengthComputable ? s.total : void 0, B = l - t, a = o(B), i = l <= c; t = l; const E = { loaded: l, total: c, progress: c ? l / c : void 0, bytes: B, rate: a || void 0, estimated: a && c && i ? (c - l) / a : void 0, event: s, lengthComputable: c != null, [n ? "download" : "upload"]: !0 }; e(E); }, r); }, Ft = (e, n) => { const r = e != null; return [(t) => n[0]({ lengthComputable: r, total: e, loaded: t }), n[1]]; }, Dt = (e) => (...n) => m.asap(() => e(...n)), go = t0.hasStandardBrowserEnv ? ((e, n) => (r) => (r = new URL(r, t0.origin), e.protocol === r.protocol && e.host === r.host && (n || e.port === r.port)))( new URL(t0.origin), t0.navigator && /(msie|trident)/i.test(t0.navigator.userAgent) ) : () => !0, bo = t0.hasStandardBrowserEnv ? ( // Standard browser envs support document.cookie { write(e, n, r, t, o, s) { const l = [e + "=" + encodeURIComponent(n)]; m.isNumber(r) && l.push("expires=" + new Date(r).toGMTString()), m.isString(t) && l.push("path=" + t), m.isString(o) && l.push("domain=" + o), s === !0 && l.push("secure"), document.cookie = l.join("; "); }, read(e) { const n = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)")); return n ? decodeURIComponent(n[3]) : null; }, remove(e) { this.write(e, "", Date.now() - 864e5); } } ) : ( // Non-standard browser env (web workers, react-native) lack needed support. { write() { }, read() { return null; }, remove() { } } ); function yo(e) { return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e); } function mo(e, n) { return n ? e.replace(/\/?\/$/, "") + "/" + n.replace(/^\/+/, "") : e; } function _r(e, n) { return e && !yo(n) ? mo(e, n) : n; } const gt = (e) => e instanceof f0 ? { ...e } : e; function B0(e, n) { n = n || {}; const r = {}; function t(a, i, E, x) { return m.isPlainObject(a) && m.isPlainObject(i) ? m.merge.call({ caseless: x }, a, i) : m.isPlainObject(i) ? m.merge({}, i) : m.isArray(i) ? i.slice() : i; } function o(a, i, E, x) { if (m.isUndefined(i)) { if (!m.isUndefined(a)) return t(void 0, a, E, x); } else return t(a, i, E, x); } function s(a, i) { if (!m.isUndefined(i)) return t(void 0, i); } function l(a, i) { if (m.isUndefined(i)) { if (!m.isUndefined(a)) return t(void 0, a); } else return t(void 0, i); } function c(a, i, E) { if (E in n) return t(a, i); if (E in e) return t(void 0, a); } const B = { url: s, method: s, data: s, baseURL: l, transformRequest: l, transformResponse: l, paramsSerializer: l, timeout: l, timeoutMessage: l, withCredentials: l, withXSRFToken: l, adapter: l, responseType: l, xsrfCookieName: l, xsrfHeaderName: l, onUploadProgress: l, onDownloadProgress: l, decompress: l, maxContentLength: l, maxBodyLength: l, beforeRedirect: l, transport: l, httpAgent: l, httpsAgent: l, cancelToken: l, socketPath: l, responseEncoding: l, validateStatus: c, headers: (a, i, E) => o(gt(a), gt(i), E, !0) }; return m.forEach(Object.keys(Object.assign({}, e, n)), function(i) { const E = B[i] || o, x = E(e[i], n[i], i); m.isUndefined(x) && E !== c || (r[i] = x); }), r; } const Sr = (e) => { const n = B0({}, e); let { data: r, withXSRFToken: t, xsrfHeaderName: o, xsrfCookieName: s, headers: l, auth: c } = n; n.headers = l = f0.from(l), n.url = gr(_r(n.baseURL, n.url), e.params, e.paramsSerializer), c && l.set( "Authorization", "Basic " + btoa((c.username || "") + ":" + (c.password ? unescape(encodeURIComponent(c.password)) : "")) ); let B; if (m.isFormData(r)) { if (t0.hasStandardBrowserEnv || t0.hasStandardBrowserWebWorkerEnv) l.setContentType(void 0); else if ((B = l.getContentType()) !== !1) { const [a, ...i] = B ? B.split(";").map((E) => E.trim()).filter(Boolean) : []; l.setContentType([a || "multipart/form-data", ...i].join("; ")); } } if (t0.hasStandardBrowserEnv && (t && m.isFunction(t) && (t = t(n)), t || t !== !1 && go(n.url))) { const a = o && s && bo.read(s); a && l.set(o, a); } return n; }, wo = typeof XMLHttpRequest < "u", _o = wo && function(e) { return new Promise(function(r, t) { const o = Sr(e); let s = o.data; const l = f0.from(o.headers).normalize(); let { responseType: c, onUploadProgress: B, onDownloadProgress: a } = o, i, E, x, v, f; function h() { v && v(), f && f(), o.cancelToken && o.cancelToken.unsubscribe(i), o.signal && o.signal.removeEventListener("abort", i); } let u = new XMLHttpRequest(); u.open(o.method.toUpperCase(), o.url, !0), u.timeout = o.timeout; function C() { if (!u) return; const A = f0.from( "getAllResponseHeaders" in u && u.getAllResponseHeaders() ), D = { data: !c || c === "text" || c === "json" ? u.responseText : u.response, status: u.status, statusText: u.statusText, headers: A, config: e, request: u }; wr(function(b) { r(b), h(); }, function(b) { t(b), h(); }, D), u = null; } "onloadend" in u ? u.onloadend = C : u.onreadystatechange = function() { !u || u.readyState !== 4 || u.status === 0 && !(u.responseURL && u.responseURL.indexOf("file:") === 0) || setTimeout(C); }, u.onabort = function() { u && (t(new q("Request aborted", q.ECONNABORTED, e, u)), u = null); }, u.onerror = function() { t(new q("Network Error", q.ERR_NETWORK, e, u)), u = null; }, u.ontimeout = function() { let p = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded"; const D = o.transitional || br; o.timeoutErrorMessage && (p = o.timeoutErrorMessage), t(new q( p, D.clarifyTimeoutError ? q.ETIMEDOUT : q.ECONNABORTED, e, u )), u = null; }, s === void 0 && l.setContentType(null), "setRequestHeader" in u && m.forEach(l.toJSON(), function(p, D) { u.setRequestHeader(D, p); }), m.isUndefined(o.withCredentials) || (u.withCredentials = !!o.withCredentials), c && c !== "json" && (u.responseType = o.responseType), a && ([x, f] = W0(a, !0), u.addEventListener("progress", x)), B && u.upload && ([E, v] = W0(B), u.upload.addEventListener("progress", E), u.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (i = (A) => { u && (t(!A || A.type ? new y0(null, e, u) : A), u.abort(), u = null); }, o.cancelToken && o.cancelToken.subscribe(i), o.signal && (o.signal.aborted ? i() : o.signal.addEventListener("abort", i))); const d = Co(o.url); if (d && t0.protocols.indexOf(d) === -1) { t(new q("Unsupported protocol " + d + ":", q.ERR_BAD_REQUEST, e)); return; } u.send(s || null); }); }, So = (e, n) => { const { length: r } = e = e ? e.filter(Boolean) : []; if (n || r) { let t = new AbortController(), o; const s = function(a) { if (!o) { o = !0, c(); const i = a instanceof Error ? a : this.reason; t.abort(i instanceof q ? i : new y0(i instanceof Error ? i.message : i)); } }; let l = n && setTimeout(() => { l = null, s(new q(`timeout ${n} of ms exceeded`, q.ETIMEDOUT)); }, n); const c = () => { e && (l && clearTimeout(l), l = null, e.forEach((a) => { a.unsubscribe ? a.unsubscribe(s) : a.removeEventListener("abort", s); }), e = null); }; e.forEach((a) => a.addEventListener("abort", s)); const { signal: B } = t; return B.unsubscribe = () => m.asap(c), B; } }, Ro = So, ko = function* (e, n) { let r = e.byteLength; if (!n || r < n) { yield e; return; } let t = 0, o; for (; t < r; ) o = t + n, yield e.slice(t, o), t = o; }, Ho = async function* (e, n) { for await (const r of To(e)) yield* ko(r, n); }, To = async function* (e) { if (e[Symbol.asyncIterator]) { yield* e; return; } const n = e.getReader(); try { for (; ; ) { const { done: r, value: t } = await n.read(); if (r) break; yield t; } } finally { await n.cancel(); } }, bt = (e, n, r, t) => { const o = Ho(e, n); let s = 0, l, c = (B) => { l || (l = !0, t && t(B)); }; return new ReadableStream({ async pull(B) { try { const { done: a, value: i } = await o.next(); if (a) { c(), B.close(); return; } let E = i.byteLength; if (r) { let x = s += E; r(x); } B.enqueue(new Uint8Array(i)); } catch (a) { throw c(a), a; } }, cancel(B) { return c(B), o.return(); } }, { highWaterMark: 2 }); }, Z0 = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Rr = Z0 && typeof ReadableStream == "function", Oo = Z0 && (typeof TextEncoder == "function" ? ((e) => (n) => e.encode(n))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), kr = (e, ...n) => { try { return !!e(...n); } catch { return !1; } }, Po = Rr && kr(() => { let e = !1; const n = new Request(t0.origin, { body: new ReadableStream(), method: "POST", get duplex() { return e = !0, "half"; } }).headers.has("Content-Type"); return e && !n; }), yt = 64 * 1024, Qe = Rr && kr(() => m.isReadableStream(new Response("").body)), j0 = { stream: Qe && ((e) => e.body) }; Z0 && ((e) => { ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((n) => { !j0[n] && (j0[n] = m.isFunction(e[n]) ? (r) => r[n]() : (r, t) => { throw new q(`Response type '${n}' is not supported`, q.ERR_NOT_SUPPORT, t); }); }); })(new Response()); const zo = async (e) => { if (e == null) return 0; if (m.isBlob(e)) return e.size; if (m.isSpecCompliantForm(e)) return (await new Request(t0.origin, { method: "POST", body: e }).arrayBuffer()).byteLength; if (m.isArrayBufferView(e) || m.isArrayBuffer(e)) return e.byteLength; if (m.isURLSearchParams(e) && (e = e + ""), m.isString(e)) return (await Oo(e)).byteLength; }, Uo = async (e, n) => { const r = m.toFiniteNumber(e.getContentLength()); return r ?? zo(n); }, Io = Z0 && (async (e) => { let { url: n, method: r, data: t, signal: o, cancelToken: s, timeout: l, onDownloadProgress: c, onUploadProgress: B, responseType: a, headers: i, withCredentials: E = "same-origin", fetchOptions: x } = Sr(e); a = a ? (a + "").toLowerCase() : "text"; let v = Ro([o, s && s.toAbortSignal()], l), f; const h = v && v.unsubscribe && (() => { v.unsubscribe(); }); let u; try { if (B && Po && r !== "get" && r !== "head" && (u = await Uo(i, t)) !== 0) { let D = new Request(n, { method: "POST", body: t, duplex: "half" }), g; if (m.isFormData(t) && (g = D.headers.get("content-type")) && i.setContentType(g), D.body) { const [b, w] = Ft( u, W0(Dt(B)) ); t = bt(D.body, yt, b, w); } } m.isString(E) || (E = E ? "include" : "omit"); const C = "credentials" in Request.prototype; f = new Request(n, { ...x, signal: v, method: r.toUpperCase(), headers: i.normalize().toJSON(), body: t, duplex: "half", credentials: C ? E : void 0 }); let d = await fetch(f); const A = Qe && (a === "stream" || a === "response"); if (Qe && (c || A && h)) { const D = {}; ["status", "statusText", "headers"].forEach((O) => { D[O] = d[O]; }); const g = m.toFiniteNumber(d.headers.get("content-length")), [b, w] = c && Ft( g, W0(Dt(c), !0) ) || []; d = new Response( bt(d.body, yt, b, () => { w && w(), h && h(); }), D ); } a = a || "text"; let p = await j0[m.findKey(j0, a) || "text"](d, e); return !A && h && h(), await new Promise((D, g) => { wr(D, g, { data: p, headers: f0.from(d.headers), status: d.status, statusText: d.statusText, config: e, request: f }); }); } catch (C) { throw h && h(), C && C.name === "TypeError" && /fetch/i.test(C.message) ? Object.assign( new q("Network Error", q.ERR_NETWORK, e, f), { cause: C.cause || C } ) : q.from(C, C && C.code, e, f); } }), Me = { http: Zn, xhr: _o, fetch: Io }; m.forEach(Me, (e, n) => { if (e) { try { Object.defineProperty(e, "name", { value: n }); } catch { } Object.defineProperty(e, "adapterName", { value: n }); } }); const mt = (e) => `- ${e}`, No = (e) => m.isFunction(e) || e === null || e === !1, Hr = { getAdapter: (e) => { e = m.isArray(e) ? e : [e]; const { length: n } = e; let r, t; const o = {}; for (let s = 0; s < n; s++) { r = e[s]; let l; if (t = r, !No(r) && (t = Me[(l = String(r)).toLowerCase()], t === void 0)) throw new q(`Unknown adapter '${l}'`); if (t) break; o[l || "#" + s] = t; } if (!t) { const s = Object.entries(o).map( ([c, B]) => `adapter ${c} ` + (B === !1 ? "is not supported by the environment" : "is not available in the build") ); let l = n ? s.length > 1 ? `since : ` + s.map(mt).join(` `) : " " + mt(s[0]) : "as no adapter specified"; throw new q( "There is no suitable adapter to dispatch the request " + l, "ERR_NOT_SUPPORT" ); } return t; }, adapters: Me }; function oe(e) { if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted) throw new y0(null, e); } function wt(e) { return oe(e), e.headers = f0.from(e.headers), e.data = ne.call( e, e.transformRequest ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Hr.getAdapter(e.adapter || Ye.adapter)(e).then(function(t) { return oe(e), t.data = ne.call( e, e.transformResponse, t ), t.headers = f0.from(t.headers), t; }, function(t) { return mr(t) || (oe(e), t && t.response && (t.response.data = ne.call( e, e.transformResponse, t.response ), t.response.headers = f0.from(t.response.headers))), Promise.reject(t); }); } const Tr = "1.7.9", Y0 = {}; ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, n) => { Y0[e] = function(t) { return typeof t === e || "a" + (n < 1 ? "n " : " ") + e; }; }); const _t = {}; Y0.transitional = function(n, r, t) { function o(s, l) { return "[Axios v" + Tr + "] Transitional option '" + s + "'" + l + (t ? ". " + t : ""); } return (s, l, c) => { if (n === !1) throw new q( o(l, " has been removed" + (r ? " in " + r : "")), q.ERR_DEPRECATED ); return r && !_t[l] && (_t[l] = !0, console.warn( o( l, " has been deprecated since v" + r + " and will be removed in the near future" ) )), n ? n(s, l, c) : !0; }; }; Y0.spelling = function(n) { return (r, t) => (console.warn(`${t} is likely a misspelling of ${n}`), !0); }; function qo(e, n, r) { if (typeof e != "object") throw new q("options must be an object", q.ERR_BAD_OPTION_VALUE); const t = Object.keys(e); let o = t.length; for (; o-- > 0; ) { const s = t[o], l = n[s]; if (l) { const c = e[s], B = c === void 0 || l(c, s, e); if (B !== !0) throw new q("option " + s + " must be " + B, q.ERR_BAD_OPTION_VALUE); continue; } if (r !== !0) throw new q("Unknown option " + s, q.ERR_BAD_OPTION); } } const q0 = { assertOptions: qo, validators: Y0 }, u0 = q0.validators; class Q0 { constructor(n) { this.defaults = n, this.interceptors = { request: new Et(), response: new Et() }; } /** * Dispatch a request * * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults) * @param {?Object} config * * @returns {Promise} The Promise to be fulfilled */ async request(n, r) { try { return await this._request(n, r); } catch (t) { if (t instanceof Error) { let o = {}; Error.captureStackTrace ? Error.captureStackTrace(o) : o = new Error(); const s = o.stack ? o.stack.replace(/^.+\n/, "") : ""; try { t.stack ? s && !String(t.stack).endsWith(s.replace(/^.+\n.+\n/, "")) && (t.stack += ` ` + s) : t.stack = s; } catch { } } throw t; } } _request(n, r) { typeof n == "string" ? (r = r || {}, r.url = n) : r = n || {}, r = B0(this.defaults, r); const { transitional: t, paramsSerializer: o, headers: s } = r; t !== void 0 && q0.assertOptions(t, { silentJSONParsing: u0.transitional(u0.boolean), forcedJSONParsing: u0.transitional(u0.boolean), clarifyTimeoutError: u0.transitional(u0.boolean) }, !1), o != null && (m.isFunction(o) ? r.paramsSerializer = { serialize: o } : q0.assertOptions(o, { encode: u0.function, serialize: u0.function }, !0)), q0.assertOptions(r, { baseUrl: u0.spelling("baseURL"), withXsrfToken: u0.spelling("withXSRFToken") }, !0), r.method = (r.method || this.defaults.method || "get").toLowerCase(); let l = s && m.merge( s.common, s[r.method] ); s && m.forEach( ["delete", "get", "head", "post", "put", "patch", "common"], (f) => { delete s[f]; } ), r.headers = f0.concat(l, s); const c = []; let B = !0; this.interceptors.request.forEach(function(h) { typeof h.runWhen == "function" && h.runWhen(r) === !1 || (B = B && h.synchronous, c.unshift(h.fulfilled, h.rejected)); }); const a = []; this.interceptors.response.forEach(function(h) { a.push(h.fulfilled, h.rejected); }); let i, E = 0, x; if (!B) { const f = [wt.bind(this), void 0]; for (f.unshift.apply(f, c), f.push.apply(f, a), x = f.length, i = Promise.resolve(r); E < x; ) i = i.then(f[E++], f[E++]); return i; } x = c.length; let v = r; for (E = 0; E < x; ) { const f = c[E++], h = c[E++]; try { v = f(v); } catch (u) { h.call(this, u); break; } } try { i = wt.call(this, v); } catch (f) { return Promise.reject(f); } for (E = 0, x = a.length; E < x; ) i = i.then(a[E++], a[E++]); return i; } getUri(n) { n = B0(this.defaults, n); const r = _r(n.baseURL, n.url); return gr(r, n.params, n.paramsSerializer); } } m.forEach(["delete", "get", "head", "options"], function(n) { Q0.prototype[n] = function(r, t) { return this.request(B0(t || {}, { method: n, url: r, data: (t || {}).data })); }; }); m.forEach(["post", "put", "patch"], function(n) { function r(t) { return function(s, l, c) { return this.request(B0(c || {}, { method: n, headers: t ? { "Content-Type": "multipart/form-data" } : {}, url: s, data: l })); }; } Q0.prototype[n] = r(), Q0.prototype[n + "Form"] = r(!0); }); const L0 = Q0; class Ve { constructor(n) { if (typeof n != "function") throw new TypeError("executor must be a function."); let r; this.promise = new Promise(function(s) { r = s; }); const t = this; this.promise.then((o) => { if (!t._listeners) return; let s = t._listeners.length; for (; s-- > 0; ) t._listeners[s](o); t._listeners = null; }), this.promise.then = (o) => { let s; const l = new Promise((c) => { t.subscribe(c), s = c; }).then(o); return l.cancel = function() { t.unsubscribe(s); }, l; }, n(function(s, l, c) { t.reason || (t.reason = new y0(s, l, c), r(t.reason)); }); } /** * Throws a `CanceledError` if cancellation has been requested. */ throwIfRequested() { if (this.reason) throw this.reason; } /** * Subscribe to the cancel signal */ subscribe(n) { if (this.reason) { n(this.reason); return; } this._listeners ? this._listeners.push(n) : this._listeners = [n]; } /** * Unsubscribe from the cancel signal */ unsubscribe(n) { if (!this._listeners) return; const r = this._listeners.indexOf(n); r !== -1 && this._listeners.splice(r, 1); } toAbortSignal() { const n = new AbortController(), r = (t) => { n.abort(t); }; return this.subscribe(r), n.signal.unsubscribe = () => this.unsubscribe(r), n.signal; } /** * Returns an object that contains a new `CancelToken` and a function that, when called, * cancels the `CancelToken`. */ static source() { let n; return { token: new Ve(function(o) { n = o; }), cancel: n }; } } const Lo = Ve; function Wo(e) { return function(r) { return e.apply(null, r); }; } function jo(e) { return m.isObject(e) && e.isAxiosError === !0; } const Ke = { Continue: 100, SwitchingProtocols: 101, Processing: 102, EarlyHints: 103, Ok: 200, Created: 201, Accepted: 202, NonAuthoritativeInformation: 203, NoContent: 204, ResetContent: 205, PartialContent: 206, MultiStatus: 207, AlreadyReported: 208, ImUsed: 226, MultipleChoices: 300, MovedPermanently: 301, Found: 302, SeeOther: 303, NotModified: 304, UseProxy: 305, Unused: 306, TemporaryRedirect: 307, PermanentRedirect: 308, BadRequest: 400, Unauthorized: 401, PaymentRequired: 402, Forbidden: 403, NotFound: 404, MethodNotAllowed: 405, NotAcceptable: 406, ProxyAuthenticationRequired: 407, RequestTimeout: 408, Conflict: 409, Gone: 410, LengthRequired: 411, PreconditionFailed: 412, PayloadTooLarge: 413, UriTooLong: 414, UnsupportedMediaType: 415, RangeNotSatisfiable: 416, ExpectationFailed: 417, ImATeapot: 418, MisdirectedRequest: 421, UnprocessableEntity: 422, Locked: 423, FailedDependency: 424, TooEarly: 425, UpgradeRequired: 426, PreconditionRequired: 428, TooManyRequests: 429, RequestHeaderFieldsTooLarge: 431, UnavailableForLegalReasons: 451, InternalServerError: 500, NotImplemented: 501, BadGateway: 502, ServiceUnavailable: 503, GatewayTimeout: 504, HttpVersionNotSupported: 505, VariantAlsoNegotiates: 506, InsufficientStorage: 507, LoopDetected: 508, NotExtended: 510, NetworkAuthenticationRequired: 511 }; Object.entries(Ke).forEach(([e, n]) => { Ke[n] = e; }); const Qo = Ke; function Or(e) { const n = new L0(e), r = lr(L0.prototype.request, n); return m.extend(r, L0.prototype, n, { allOwnKeys: !0 }), m.extend(r, n, null, { allOwnKeys: !0 }), r.create = function(o) { return Or(B0(e, o)); }, r; } const V = Or(Ye); V.Axios = L0; V.CanceledError = y0; V.CancelToken = Lo; V.isCancel = mr; V.VERSION = Tr; V.toFormData = J0; V.AxiosError = q; V.Cancel = V.CanceledError; V.all = function(n) { return Promise.all(n); }; V.spread = Wo; V.isAxiosError = jo; V.mergeConfig = B0; V.AxiosHeaders = f0; V.formToJSON = (e) => yr(m.isHTMLForm(e) ? new FormData(e) : e); V.getAdapter = Hr.getAdapter; V.HttpStatusCode = Qo; V.default = V; const Mo = V; var W = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global