import { r as e } from "./rolldown-runtime-BEcgMyyN.js";
import { n as t, t as n } from "./dist-CAOIU8xq.js";
import { n as r, t as i } from "./dist-Crpfx4FA.js";
t(), i();
function a(e, t) {
	return function() {
		return e.apply(t, arguments);
	};
}
//#endregion
//#region node_modules/axios/lib/utils.js
var { toString: o } = Object.prototype, { getPrototypeOf: s } = Object, { iterator: c, toStringTag: l } = Symbol, u = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), d = (e, t) => {
	let n = e, r = [];
	for (; n != null && n !== Object.prototype;) {
		if (r.indexOf(n) !== -1) return !1;
		if (r.push(n), u(n, t)) return !0;
		n = s(n);
	}
	return !1;
}, f = (e, t) => e != null && d(e, t) ? e[t] : void 0, p = ((e) => (t) => {
	let n = o.call(t);
	return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
})(Object.create(null)), m = (e) => (e = e.toLowerCase(), (t) => p(t) === e), h = (e) => (t) => typeof t === e, { isArray: g } = Array, _ = h("undefined");
function v(e) {
	return e !== null && !_(e) && e.constructor !== null && !_(e.constructor) && S(e.constructor.isBuffer) && e.constructor.isBuffer(e);
}
var y = m("ArrayBuffer");
function b(e) {
	let t;
	return t = typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(e) : e && e.buffer && y(e.buffer), t;
}
var x = h("string"), S = h("function"), ee = h("number"), C = (e) => typeof e == "object" && !!e, w = (e) => e === !0 || e === !1, T = (e) => {
	if (!C(e)) return !1;
	let t = s(e);
	return (t === null || t === Object.prototype || s(t) === null) && !d(e, l) && !d(e, c);
}, te = (e) => {
	if (!C(e) || v(e)) return !1;
	try {
		return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
	} catch {
		return !1;
	}
}, ne = m("Date"), re = m("File"), E = (e) => !!(e && e.uri !== void 0), D = (e) => e && e.getParts !== void 0, O = m("Blob"), k = m("FileList"), A = (e) => C(e) && S(e.pipe);
function ie() {
	return typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : n === void 0 ? {} : n;
}
var ae = ie(), oe = ae.FormData === void 0 ? void 0 : ae.FormData, j = (e) => {
	if (!e) return !1;
	if (oe && e instanceof oe) return !0;
	let t = s(e);
	if (!t || t === Object.prototype || !S(e.append)) return !1;
	let n = p(e);
	return n === "formdata" || n === "object" && S(e.toString) && e.toString() === "[object FormData]";
}, se = m("URLSearchParams"), [M, N, ce, le] = [
	"ReadableStream",
	"Request",
	"Response",
	"Headers"
].map(m), ue = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
function P(e, t, { allOwnKeys: n = !1 } = {}) {
	if (e == null) return;
	let r, i;
	if (typeof e != "object" && (e = [e]), g(e)) for (r = 0, i = e.length; r < i; r++) t.call(null, e[r], r, e);
	else {
		if (v(e)) return;
		let i = n ? Object.getOwnPropertyNames(e) : Object.keys(e), a = i.length, o;
		for (r = 0; r < a; r++) o = i[r], t.call(null, e[o], o, e);
	}
}
function de(e, t) {
	if (v(e)) return null;
	t = t.toLowerCase();
	let n = Object.keys(e), r = n.length, i;
	for (; r-- > 0;) if (i = n[r], t === i.toLowerCase()) return i;
	return null;
}
var F = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : n, fe = (e) => !_(e) && e !== F;
function pe(...e) {
	let { caseless: t, skipUndefined: n } = fe(this) && this || {}, r = {}, i = (e, i) => {
		if (i === "__proto__" || i === "constructor" || i === "prototype") return;
		let a = t && typeof i == "string" && de(r, i) || i, o = u(r, a) ? r[a] : void 0;
		T(o) && T(e) ? r[a] = pe(o, e) : T(e) ? r[a] = pe({}, e) : g(e) ? r[a] = e.slice() : (!n || !_(e)) && (r[a] = e);
	};
	for (let t = 0, n = e.length; t < n; t++) {
		let n = e[t];
		if (!n || v(n) || (P(n, i), typeof n != "object" || g(n))) continue;
		let r = Object.getOwnPropertySymbols(n);
		for (let e = 0; e < r.length; e++) {
			let t = r[e];
			R.call(n, t) && i(n[t], t);
		}
	}
	return r;
}
var me = (e, t, n, { allOwnKeys: r } = {}) => (P(t, (t, r) => {
	n && S(t) ? Object.defineProperty(e, r, {
		__proto__: null,
		value: a(t, n),
		writable: !0,
		enumerable: !0,
		configurable: !0
	}) : Object.defineProperty(e, r, {
		__proto__: null,
		value: t,
		writable: !0,
		enumerable: !0,
		configurable: !0
	});
}, { allOwnKeys: r }), e), he = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), I = (e, t, n, r) => {
	e.prototype = Object.create(t.prototype, r), Object.defineProperty(e.prototype, "constructor", {
		__proto__: null,
		value: e,
		writable: !0,
		enumerable: !1,
		configurable: !0
	}), Object.defineProperty(e, "super", {
		__proto__: null,
		value: t.prototype
	}), n && Object.assign(e.prototype, n);
}, L = (e, t, n, r) => {
	let i, a, o, c = {};
	if (t ||= {}, e == null) return t;
	do {
		for (i = Object.getOwnPropertyNames(e), a = i.length; a-- > 0;) o = i[a], (!r || r(o, e, t)) && !c[o] && (t[o] = e[o], c[o] = !0);
		e = n !== !1 && s(e);
	} while (e && (!n || n(e, t)) && e !== Object.prototype);
	return t;
}, ge = (e, t, n) => {
	e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
	let r = e.indexOf(t, n);
	return r !== -1 && r === n;
}, _e = (e) => {
	if (!e) return null;
	if (g(e)) return e;
	let t = e.length;
	if (!ee(t)) return null;
	let n = Array(t);
	for (; t-- > 0;) n[t] = e[t];
	return n;
}, ve = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && s(Uint8Array)), ye = (e, t) => {
	let n = (e && e[c]).call(e), r;
	for (; (r = n.next()) && !r.done;) {
		let n = r.value;
		t.call(e, n[0], n[1]);
	}
}, be = (e, t) => {
	let n, r = [];
	for (; (n = e.exec(t)) !== null;) r.push(n);
	return r;
}, xe = m("HTMLFormElement"), Se = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(e, t, n) {
	return t.toUpperCase() + n;
}), { propertyIsEnumerable: R } = Object.prototype, Ce = m("RegExp"), we = (e, t) => {
	let n = Object.getOwnPropertyDescriptors(e), r = {};
	P(n, (n, i) => {
		let a;
		(a = t(n, i, e)) !== !1 && (r[i] = a || n);
	}), Object.defineProperties(e, r);
}, z = (e) => {
	we(e, (t, n) => {
		if (S(e) && [
			"arguments",
			"caller",
			"callee"
		].includes(n)) return !1;
		let r = e[n];
		if (S(r)) {
			if (t.enumerable = !1, "writable" in t) {
				t.writable = !1;
				return;
			}
			t.set ||= () => {
				throw Error("Can not rewrite read-only method '" + n + "'");
			};
		}
	});
}, Te = (e, t) => {
	let n = {}, r = (e) => {
		e.forEach((e) => {
			n[e] = !0;
		});
	};
	return g(e) ? r(e) : r(String(e).split(t)), n;
}, Ee = () => {}, De = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
function Oe(e) {
	return !!(e && S(e.append) && e[l] === "FormData" && e[c]);
}
var ke = (e) => {
	let t = /* @__PURE__ */ new WeakSet(), n = (e) => {
		if (C(e)) {
			if (t.has(e)) return;
			if (v(e)) return e;
			if (!("toJSON" in e)) {
				t.add(e);
				let r = g(e) ? [] : {};
				return P(e, (e, t) => {
					let i = n(e);
					!_(i) && (r[t] = i);
				}), t.delete(e), r;
			}
		}
		return e;
	};
	return n(e);
}, Ae = m("AsyncFunction"), je = (e) => e && (C(e) || S(e)) && S(e.then) && S(e.catch), Me = ((e, t) => e ? setImmediate : t ? ((e, t) => (F.addEventListener("message", ({ source: n, data: r }) => {
	n === F && r === e && t.length && t.shift()();
}, !1), (n) => {
	t.push(n), F.postMessage(e, "*");
}))(`axios@${Math.random()}`, []) : (e) => setTimeout(e))(typeof setImmediate == "function", S(F.postMessage)), Ne = typeof queueMicrotask < "u" ? queueMicrotask.bind(F) : r !== void 0 && r.nextTick || Me, Pe = (e) => e != null && S(e[c]), B = {
	isArray: g,
	isArrayBuffer: y,
	isBuffer: v,
	isFormData: j,
	isArrayBufferView: b,
	isString: x,
	isNumber: ee,
	isBoolean: w,
	isObject: C,
	isPlainObject: T,
	isEmptyObject: te,
	isReadableStream: M,
	isRequest: N,
	isResponse: ce,
	isHeaders: le,
	isUndefined: _,
	isDate: ne,
	isFile: re,
	isReactNativeBlob: E,
	isReactNative: D,
	isBlob: O,
	isRegExp: Ce,
	isFunction: S,
	isStream: A,
	isURLSearchParams: se,
	isTypedArray: ve,
	isFileList: k,
	forEach: P,
	merge: pe,
	extend: me,
	trim: ue,
	stripBOM: he,
	inherits: I,
	toFlatObject: L,
	kindOf: p,
	kindOfTest: m,
	endsWith: ge,
	toArray: _e,
	forEachEntry: ye,
	matchAll: be,
	isHTMLForm: xe,
	hasOwnProperty: u,
	hasOwnProp: u,
	hasOwnInPrototypeChain: d,
	getSafeProp: f,
	reduceDescriptors: we,
	freezeMethods: z,
	toObjectSet: Te,
	toCamelCase: Se,
	noop: Ee,
	toFiniteNumber: De,
	findKey: de,
	global: F,
	isContextDefined: fe,
	isSpecCompliantForm: Oe,
	toJSONObject: ke,
	isAsyncFn: Ae,
	isThenable: je,
	setImmediate: Me,
	asap: Ne,
	isIterable: Pe,
	isSafeIterable: (e) => e != null && d(e, c) && Pe(e)
}, V = {}, Fe = {};
Fe.byteLength = Be, Fe.toByteArray = He, Fe.fromByteArray = Ge;
for (var H = [], U = [], Ie = typeof Uint8Array < "u" ? Uint8Array : Array, Le = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", W = 0, Re = Le.length; W < Re; ++W) H[W] = Le[W], U[Le.charCodeAt(W)] = W;
U[45] = 62, U[95] = 63;
function ze(e) {
	var t = e.length;
	if (t % 4 > 0) throw Error("Invalid string. Length must be a multiple of 4");
	var n = e.indexOf("=");
	n === -1 && (n = t);
	var r = n === t ? 0 : 4 - n % 4;
	return [n, r];
}
function Be(e) {
	var t = ze(e), n = t[0], r = t[1];
	return (n + r) * 3 / 4 - r;
}
function Ve(e, t, n) {
	return (t + n) * 3 / 4 - n;
}
function He(e) {
	var t, n = ze(e), r = n[0], i = n[1], a = new Ie(Ve(e, r, i)), o = 0, s = i > 0 ? r - 4 : r, c;
	for (c = 0; c < s; c += 4) t = U[e.charCodeAt(c)] << 18 | U[e.charCodeAt(c + 1)] << 12 | U[e.charCodeAt(c + 2)] << 6 | U[e.charCodeAt(c + 3)], a[o++] = t >> 16 & 255, a[o++] = t >> 8 & 255, a[o++] = t & 255;
	return i === 2 && (t = U[e.charCodeAt(c)] << 2 | U[e.charCodeAt(c + 1)] >> 4, a[o++] = t & 255), i === 1 && (t = U[e.charCodeAt(c)] << 10 | U[e.charCodeAt(c + 1)] << 4 | U[e.charCodeAt(c + 2)] >> 2, a[o++] = t >> 8 & 255, a[o++] = t & 255), a;
}
function Ue(e) {
	return H[e >> 18 & 63] + H[e >> 12 & 63] + H[e >> 6 & 63] + H[e & 63];
}
function We(e, t, n) {
	for (var r, i = [], a = t; a < n; a += 3) r = (e[a] << 16 & 16711680) + (e[a + 1] << 8 & 65280) + (e[a + 2] & 255), i.push(Ue(r));
	return i.join("");
}
function Ge(e) {
	for (var t, n = e.length, r = n % 3, i = [], a = 16383, o = 0, s = n - r; o < s; o += a) i.push(We(e, o, o + a > s ? s : o + a));
	return r === 1 ? (t = e[n - 1], i.push(H[t >> 2] + H[t << 4 & 63] + "==")) : r === 2 && (t = (e[n - 2] << 8) + e[n - 1], i.push(H[t >> 10] + H[t >> 4 & 63] + H[t << 2 & 63] + "=")), i.join("");
}
var Ke = {};
Ke.read = function(e, t, n, r, i) {
	var a, o, s = i * 8 - r - 1, c = (1 << s) - 1, l = c >> 1, u = -7, d = n ? i - 1 : 0, f = n ? -1 : 1, p = e[t + d];
	for (d += f, a = p & (1 << -u) - 1, p >>= -u, u += s; u > 0; a = a * 256 + e[t + d], d += f, u -= 8);
	for (o = a & (1 << -u) - 1, a >>= -u, u += r; u > 0; o = o * 256 + e[t + d], d += f, u -= 8);
	if (a === 0) a = 1 - l;
	else if (a === c) return o ? NaN : (p ? -1 : 1) * Infinity;
	else o += 2 ** r, a -= l;
	return (p ? -1 : 1) * o * 2 ** (a - r);
}, Ke.write = function(e, t, n, r, i, a) {
	var o, s, c, l = a * 8 - i - 1, u = (1 << l) - 1, d = u >> 1, f = i === 23 ? 2 ** -24 - 2 ** -77 : 0, p = r ? 0 : a - 1, m = r ? 1 : -1, h = +(t < 0 || t === 0 && 1 / t < 0);
	for (t = Math.abs(t), isNaN(t) || t === Infinity ? (s = +!!isNaN(t), o = u) : (o = Math.floor(Math.log(t) / Math.LN2), t * (c = 2 ** -o) < 1 && (o--, c *= 2), o + d >= 1 ? t += f / c : t += f * 2 ** (1 - d), t * c >= 2 && (o++, c /= 2), o + d >= u ? (s = 0, o = u) : o + d >= 1 ? (s = (t * c - 1) * 2 ** i, o += d) : (s = t * 2 ** (d - 1) * 2 ** i, o = 0)); i >= 8; e[n + p] = s & 255, p += m, s /= 256, i -= 8);
	for (o = o << i | s, l += i; l > 0; e[n + p] = o & 255, p += m, o /= 256, l -= 8);
	e[n + p - m] |= h * 128;
}, (function(e) {
	let t = Fe, n = Ke, r = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
	e.Buffer = u, e.SlowBuffer = x, e.INSPECT_MAX_BYTES = 50;
	let i = 2147483647;
	e.kMaxLength = i;
	let { Uint8Array: a, ArrayBuffer: o, SharedArrayBuffer: s } = globalThis;
	u.TYPED_ARRAY_SUPPORT = c(), !u.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");
	function c() {
		try {
			let e = new a(1), t = { foo: function() {
				return 42;
			} };
			return Object.setPrototypeOf(t, a.prototype), Object.setPrototypeOf(e, t), e.foo() === 42;
		} catch {
			return !1;
		}
	}
	Object.defineProperty(u.prototype, "parent", {
		enumerable: !0,
		get: function() {
			if (u.isBuffer(this)) return this.buffer;
		}
	}), Object.defineProperty(u.prototype, "offset", {
		enumerable: !0,
		get: function() {
			if (u.isBuffer(this)) return this.byteOffset;
		}
	});
	function l(e) {
		if (e > i) throw RangeError("The value \"" + e + "\" is invalid for option \"size\"");
		let t = new a(e);
		return Object.setPrototypeOf(t, u.prototype), t;
	}
	function u(e, t, n) {
		if (typeof e == "number") {
			if (typeof t == "string") throw TypeError("The \"string\" argument must be of type string. Received type number");
			return m(e);
		}
		return d(e, t, n);
	}
	u.poolSize = 8192;
	function d(e, t, n) {
		if (typeof e == "string") return h(e, t);
		if (o.isView(e)) return _(e);
		if (e == null) throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof e);
		if (R(e, o) || e && R(e.buffer, o) || s !== void 0 && (R(e, s) || e && R(e.buffer, s))) return v(e, t, n);
		if (typeof e == "number") throw TypeError("The \"value\" argument must not be of type number. Received type number");
		let r = e.valueOf && e.valueOf();
		if (r != null && r !== e) return u.from(r, t, n);
		let i = y(e);
		if (i) return i;
		if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof e[Symbol.toPrimitive] == "function") return u.from(e[Symbol.toPrimitive]("string"), t, n);
		throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof e);
	}
	u.from = function(e, t, n) {
		return d(e, t, n);
	}, Object.setPrototypeOf(u.prototype, a.prototype), Object.setPrototypeOf(u, a);
	function f(e) {
		if (typeof e != "number") throw TypeError("\"size\" argument must be of type number");
		if (e < 0) throw RangeError("The value \"" + e + "\" is invalid for option \"size\"");
	}
	function p(e, t, n) {
		return f(e), e <= 0 || t === void 0 ? l(e) : typeof n == "string" ? l(e).fill(t, n) : l(e).fill(t);
	}
	u.alloc = function(e, t, n) {
		return p(e, t, n);
	};
	function m(e) {
		return f(e), l(e < 0 ? 0 : b(e) | 0);
	}
	u.allocUnsafe = function(e) {
		return m(e);
	}, u.allocUnsafeSlow = function(e) {
		return m(e);
	};
	function h(e, t) {
		if ((typeof t != "string" || t === "") && (t = "utf8"), !u.isEncoding(t)) throw TypeError("Unknown encoding: " + t);
		let n = S(e, t) | 0, r = l(n), i = r.write(e, t);
		return i !== n && (r = r.slice(0, i)), r;
	}
	function g(e) {
		let t = e.length < 0 ? 0 : b(e.length) | 0, n = l(t);
		for (let r = 0; r < t; r += 1) n[r] = e[r] & 255;
		return n;
	}
	function _(e) {
		if (R(e, a)) {
			let t = new a(e);
			return v(t.buffer, t.byteOffset, t.byteLength);
		}
		return g(e);
	}
	function v(e, t, n) {
		if (t < 0 || e.byteLength < t) throw RangeError("\"offset\" is outside of buffer bounds");
		if (e.byteLength < t + (n || 0)) throw RangeError("\"length\" is outside of buffer bounds");
		let r;
		return r = t === void 0 && n === void 0 ? new a(e) : n === void 0 ? new a(e, t) : new a(e, t, n), Object.setPrototypeOf(r, u.prototype), r;
	}
	function y(e) {
		if (u.isBuffer(e)) {
			let t = b(e.length) | 0, n = l(t);
			return n.length === 0 || e.copy(n, 0, 0, t), n;
		}
		if (e.length !== void 0) return typeof e.length != "number" || Ce(e.length) ? l(0) : g(e);
		if (e.type === "Buffer" && Array.isArray(e.data)) return g(e.data);
	}
	function b(e) {
		if (e >= i) throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + i.toString(16) + " bytes");
		return e | 0;
	}
	function x(e) {
		return +e != e && (e = 0), u.alloc(+e);
	}
	u.isBuffer = function(e) {
		return e != null && e._isBuffer === !0 && e !== u.prototype;
	}, u.compare = function(e, t) {
		if (R(e, a) && (e = u.from(e, e.offset, e.byteLength)), R(t, a) && (t = u.from(t, t.offset, t.byteLength)), !u.isBuffer(e) || !u.isBuffer(t)) throw TypeError("The \"buf1\", \"buf2\" arguments must be one of type Buffer or Uint8Array");
		if (e === t) return 0;
		let n = e.length, r = t.length;
		for (let i = 0, a = Math.min(n, r); i < a; ++i) if (e[i] !== t[i]) {
			n = e[i], r = t[i];
			break;
		}
		return n < r ? -1 : +(r < n);
	}, u.isEncoding = function(e) {
		switch (String(e).toLowerCase()) {
			case "hex":
			case "utf8":
			case "utf-8":
			case "ascii":
			case "latin1":
			case "binary":
			case "base64":
			case "ucs2":
			case "ucs-2":
			case "utf16le":
			case "utf-16le": return !0;
			default: return !1;
		}
	}, u.concat = function(e, t) {
		if (!Array.isArray(e)) throw TypeError("\"list\" argument must be an Array of Buffers");
		if (e.length === 0) return u.alloc(0);
		let n;
		if (t === void 0) for (t = 0, n = 0; n < e.length; ++n) t += e[n].length;
		let r = u.allocUnsafe(t), i = 0;
		for (n = 0; n < e.length; ++n) {
			let t = e[n];
			if (R(t, a)) i + t.length > r.length ? (u.isBuffer(t) || (t = u.from(t)), t.copy(r, i)) : a.prototype.set.call(r, t, i);
			else if (u.isBuffer(t)) t.copy(r, i);
			else throw TypeError("\"list\" argument must be an Array of Buffers");
			i += t.length;
		}
		return r;
	};
	function S(e, t) {
		if (u.isBuffer(e)) return e.length;
		if (o.isView(e) || R(e, o)) return e.byteLength;
		if (typeof e != "string") throw TypeError("The \"string\" argument must be one of type string, Buffer, or ArrayBuffer. Received type " + typeof e);
		let n = e.length, r = arguments.length > 2 && arguments[2] === !0;
		if (!r && n === 0) return 0;
		let i = !1;
		for (;;) switch (t) {
			case "ascii":
			case "latin1":
			case "binary": return n;
			case "utf8":
			case "utf-8": return ve(e).length;
			case "ucs2":
			case "ucs-2":
			case "utf16le":
			case "utf-16le": return n * 2;
			case "hex": return n >>> 1;
			case "base64": return xe(e).length;
			default:
				if (i) return r ? -1 : ve(e).length;
				t = ("" + t).toLowerCase(), i = !0;
		}
	}
	u.byteLength = S;
	function ee(e, t, n) {
		let r = !1;
		if ((t === void 0 || t < 0) && (t = 0), t > this.length || ((n === void 0 || n > this.length) && (n = this.length), n <= 0) || (n >>>= 0, t >>>= 0, n <= t)) return "";
		for (e ||= "utf8";;) switch (e) {
			case "hex": return j(this, t, n);
			case "utf8":
			case "utf-8": return k(this, t, n);
			case "ascii": return ae(this, t, n);
			case "latin1":
			case "binary": return oe(this, t, n);
			case "base64": return O(this, t, n);
			case "ucs2":
			case "ucs-2":
			case "utf16le":
			case "utf-16le": return se(this, t, n);
			default:
				if (r) throw TypeError("Unknown encoding: " + e);
				e = (e + "").toLowerCase(), r = !0;
		}
	}
	u.prototype._isBuffer = !0;
	function C(e, t, n) {
		let r = e[t];
		e[t] = e[n], e[n] = r;
	}
	u.prototype.swap16 = function() {
		let e = this.length;
		if (e % 2 != 0) throw RangeError("Buffer size must be a multiple of 16-bits");
		for (let t = 0; t < e; t += 2) C(this, t, t + 1);
		return this;
	}, u.prototype.swap32 = function() {
		let e = this.length;
		if (e % 4 != 0) throw RangeError("Buffer size must be a multiple of 32-bits");
		for (let t = 0; t < e; t += 4) C(this, t, t + 3), C(this, t + 1, t + 2);
		return this;
	}, u.prototype.swap64 = function() {
		let e = this.length;
		if (e % 8 != 0) throw RangeError("Buffer size must be a multiple of 64-bits");
		for (let t = 0; t < e; t += 8) C(this, t, t + 7), C(this, t + 1, t + 6), C(this, t + 2, t + 5), C(this, t + 3, t + 4);
		return this;
	}, u.prototype.toString = function() {
		let e = this.length;
		return e === 0 ? "" : arguments.length === 0 ? k(this, 0, e) : ee.apply(this, arguments);
	}, u.prototype.toLocaleString = u.prototype.toString, u.prototype.equals = function(e) {
		if (!u.isBuffer(e)) throw TypeError("Argument must be a Buffer");
		return this === e ? !0 : u.compare(this, e) === 0;
	}, u.prototype.inspect = function() {
		let t = "", n = e.INSPECT_MAX_BYTES;
		return t = this.toString("hex", 0, n).replace(/(.{2})/g, "$1 ").trim(), this.length > n && (t += " ... "), "<Buffer " + t + ">";
	}, r && (u.prototype[r] = u.prototype.inspect), u.prototype.compare = function(e, t, n, r, i) {
		if (R(e, a) && (e = u.from(e, e.offset, e.byteLength)), !u.isBuffer(e)) throw TypeError("The \"target\" argument must be one of type Buffer or Uint8Array. Received type " + typeof e);
		if (t === void 0 && (t = 0), n === void 0 && (n = e ? e.length : 0), r === void 0 && (r = 0), i === void 0 && (i = this.length), t < 0 || n > e.length || r < 0 || i > this.length) throw RangeError("out of range index");
		if (r >= i && t >= n) return 0;
		if (r >= i) return -1;
		if (t >= n) return 1;
		if (t >>>= 0, n >>>= 0, r >>>= 0, i >>>= 0, this === e) return 0;
		let o = i - r, s = n - t, c = Math.min(o, s), l = this.slice(r, i), d = e.slice(t, n);
		for (let e = 0; e < c; ++e) if (l[e] !== d[e]) {
			o = l[e], s = d[e];
			break;
		}
		return o < s ? -1 : +(s < o);
	};
	function w(e, t, n, r, i) {
		if (e.length === 0) return -1;
		if (typeof n == "string" ? (r = n, n = 0) : n > 2147483647 ? n = 2147483647 : n < -2147483648 && (n = -2147483648), n = +n, Ce(n) && (n = i ? 0 : e.length - 1), n < 0 && (n = e.length + n), n >= e.length) {
			if (i) return -1;
			n = e.length - 1;
		} else if (n < 0) if (i) n = 0;
		else return -1;
		if (typeof t == "string" && (t = u.from(t, r)), u.isBuffer(t)) return t.length === 0 ? -1 : T(e, t, n, r, i);
		if (typeof t == "number") return t &= 255, typeof a.prototype.indexOf == "function" ? i ? a.prototype.indexOf.call(e, t, n) : a.prototype.lastIndexOf.call(e, t, n) : T(e, [t], n, r, i);
		throw TypeError("val must be string, number or Buffer");
	}
	function T(e, t, n, r, i) {
		let a = 1, o = e.length, s = t.length;
		if (r !== void 0 && (r = String(r).toLowerCase(), r === "ucs2" || r === "ucs-2" || r === "utf16le" || r === "utf-16le")) {
			if (e.length < 2 || t.length < 2) return -1;
			a = 2, o /= 2, s /= 2, n /= 2;
		}
		function c(e, t) {
			return a === 1 ? e[t] : e.readUInt16BE(t * a);
		}
		let l;
		if (i) {
			let r = -1;
			for (l = n; l < o; l++) if (c(e, l) === c(t, r === -1 ? 0 : l - r)) {
				if (r === -1 && (r = l), l - r + 1 === s) return r * a;
			} else r !== -1 && (l -= l - r), r = -1;
		} else for (n + s > o && (n = o - s), l = n; l >= 0; l--) {
			let n = !0;
			for (let r = 0; r < s; r++) if (c(e, l + r) !== c(t, r)) {
				n = !1;
				break;
			}
			if (n) return l;
		}
		return -1;
	}
	u.prototype.includes = function(e, t, n) {
		return this.indexOf(e, t, n) !== -1;
	}, u.prototype.indexOf = function(e, t, n) {
		return w(this, e, t, n, !0);
	}, u.prototype.lastIndexOf = function(e, t, n) {
		return w(this, e, t, n, !1);
	};
	function te(e, t, n, r) {
		n = Number(n) || 0;
		let i = e.length - n;
		r ? (r = Number(r), r > i && (r = i)) : r = i;
		let a = t.length;
		r > a / 2 && (r = a / 2);
		let o;
		for (o = 0; o < r; ++o) {
			let r = parseInt(t.substr(o * 2, 2), 16);
			if (Ce(r)) return o;
			e[n + o] = r;
		}
		return o;
	}
	function ne(e, t, n, r) {
		return Se(ve(t, e.length - n), e, n, r);
	}
	function re(e, t, n, r) {
		return Se(ye(t), e, n, r);
	}
	function E(e, t, n, r) {
		return Se(xe(t), e, n, r);
	}
	function D(e, t, n, r) {
		return Se(be(t, e.length - n), e, n, r);
	}
	u.prototype.write = function(e, t, n, r) {
		if (t === void 0) r = "utf8", n = this.length, t = 0;
		else if (n === void 0 && typeof t == "string") r = t, n = this.length, t = 0;
		else if (isFinite(t)) t >>>= 0, isFinite(n) ? (n >>>= 0, r === void 0 && (r = "utf8")) : (r = n, n = void 0);
		else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");
		let i = this.length - t;
		if ((n === void 0 || n > i) && (n = i), e.length > 0 && (n < 0 || t < 0) || t > this.length) throw RangeError("Attempt to write outside buffer bounds");
		r ||= "utf8";
		let a = !1;
		for (;;) switch (r) {
			case "hex": return te(this, e, t, n);
			case "utf8":
			case "utf-8": return ne(this, e, t, n);
			case "ascii":
			case "latin1":
			case "binary": return re(this, e, t, n);
			case "base64": return E(this, e, t, n);
			case "ucs2":
			case "ucs-2":
			case "utf16le":
			case "utf-16le": return D(this, e, t, n);
			default:
				if (a) throw TypeError("Unknown encoding: " + r);
				r = ("" + r).toLowerCase(), a = !0;
		}
	}, u.prototype.toJSON = function() {
		return {
			type: "Buffer",
			data: Array.prototype.slice.call(this._arr || this, 0)
		};
	};
	function O(e, n, r) {
		return n === 0 && r === e.length ? t.fromByteArray(e) : t.fromByteArray(e.slice(n, r));
	}
	function k(e, t, n) {
		n = Math.min(e.length, n);
		let r = [], i = t;
		for (; i < n;) {
			let t = e[i], a = null, o = t > 239 ? 4 : t > 223 ? 3 : t > 191 ? 2 : 1;
			if (i + o <= n) {
				let n, r, s, c;
				switch (o) {
					case 1:
						t < 128 && (a = t);
						break;
					case 2:
						n = e[i + 1], (n & 192) == 128 && (c = (t & 31) << 6 | n & 63, c > 127 && (a = c));
						break;
					case 3:
						n = e[i + 1], r = e[i + 2], (n & 192) == 128 && (r & 192) == 128 && (c = (t & 15) << 12 | (n & 63) << 6 | r & 63, c > 2047 && (c < 55296 || c > 57343) && (a = c));
						break;
					case 4: n = e[i + 1], r = e[i + 2], s = e[i + 3], (n & 192) == 128 && (r & 192) == 128 && (s & 192) == 128 && (c = (t & 15) << 18 | (n & 63) << 12 | (r & 63) << 6 | s & 63, c > 65535 && c < 1114112 && (a = c));
				}
			}
			a === null ? (a = 65533, o = 1) : a > 65535 && (a -= 65536, r.push(a >>> 10 & 1023 | 55296), a = 56320 | a & 1023), r.push(a), i += o;
		}
		return ie(r);
	}
	let A = 4096;
	function ie(e) {
		let t = e.length;
		if (t <= A) return String.fromCharCode.apply(String, e);
		let n = "", r = 0;
		for (; r < t;) n += String.fromCharCode.apply(String, e.slice(r, r += A));
		return n;
	}
	function ae(e, t, n) {
		let r = "";
		n = Math.min(e.length, n);
		for (let i = t; i < n; ++i) r += String.fromCharCode(e[i] & 127);
		return r;
	}
	function oe(e, t, n) {
		let r = "";
		n = Math.min(e.length, n);
		for (let i = t; i < n; ++i) r += String.fromCharCode(e[i]);
		return r;
	}
	function j(e, t, n) {
		let r = e.length;
		(!t || t < 0) && (t = 0), (!n || n < 0 || n > r) && (n = r);
		let i = "";
		for (let r = t; r < n; ++r) i += we[e[r]];
		return i;
	}
	function se(e, t, n) {
		let r = e.slice(t, n), i = "";
		for (let e = 0; e < r.length - 1; e += 2) i += String.fromCharCode(r[e] + r[e + 1] * 256);
		return i;
	}
	u.prototype.slice = function(e, t) {
		let n = this.length;
		e = ~~e, t = t === void 0 ? n : ~~t, e < 0 ? (e += n, e < 0 && (e = 0)) : e > n && (e = n), t < 0 ? (t += n, t < 0 && (t = 0)) : t > n && (t = n), t < e && (t = e);
		let r = this.subarray(e, t);
		return Object.setPrototypeOf(r, u.prototype), r;
	};
	function M(e, t, n) {
		if (e % 1 != 0 || e < 0) throw RangeError("offset is not uint");
		if (e + t > n) throw RangeError("Trying to access beyond buffer length");
	}
	u.prototype.readUintLE = u.prototype.readUIntLE = function(e, t, n) {
		e >>>= 0, t >>>= 0, n || M(e, t, this.length);
		let r = this[e], i = 1, a = 0;
		for (; ++a < t && (i *= 256);) r += this[e + a] * i;
		return r;
	}, u.prototype.readUintBE = u.prototype.readUIntBE = function(e, t, n) {
		e >>>= 0, t >>>= 0, n || M(e, t, this.length);
		let r = this[e + --t], i = 1;
		for (; t > 0 && (i *= 256);) r += this[e + --t] * i;
		return r;
	}, u.prototype.readUint8 = u.prototype.readUInt8 = function(e, t) {
		return e >>>= 0, t || M(e, 1, this.length), this[e];
	}, u.prototype.readUint16LE = u.prototype.readUInt16LE = function(e, t) {
		return e >>>= 0, t || M(e, 2, this.length), this[e] | this[e + 1] << 8;
	}, u.prototype.readUint16BE = u.prototype.readUInt16BE = function(e, t) {
		return e >>>= 0, t || M(e, 2, this.length), this[e] << 8 | this[e + 1];
	}, u.prototype.readUint32LE = u.prototype.readUInt32LE = function(e, t) {
		return e >>>= 0, t || M(e, 4, this.length), (this[e] | this[e + 1] << 8 | this[e + 2] << 16) + this[e + 3] * 16777216;
	}, u.prototype.readUint32BE = u.prototype.readUInt32BE = function(e, t) {
		return e >>>= 0, t || M(e, 4, this.length), this[e] * 16777216 + (this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3]);
	}, u.prototype.readBigUInt64LE = z(function(e) {
		e >>>= 0, I(e, "offset");
		let t = this[e], n = this[e + 7];
		(t === void 0 || n === void 0) && L(e, this.length - 8);
		let r = t + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24, i = this[++e] + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + n * 2 ** 24;
		return BigInt(r) + (BigInt(i) << BigInt(32));
	}), u.prototype.readBigUInt64BE = z(function(e) {
		e >>>= 0, I(e, "offset");
		let t = this[e], n = this[e + 7];
		(t === void 0 || n === void 0) && L(e, this.length - 8);
		let r = t * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + this[++e], i = this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + n;
		return (BigInt(r) << BigInt(32)) + BigInt(i);
	}), u.prototype.readIntLE = function(e, t, n) {
		e >>>= 0, t >>>= 0, n || M(e, t, this.length);
		let r = this[e], i = 1, a = 0;
		for (; ++a < t && (i *= 256);) r += this[e + a] * i;
		return i *= 128, r >= i && (r -= 2 ** (8 * t)), r;
	}, u.prototype.readIntBE = function(e, t, n) {
		e >>>= 0, t >>>= 0, n || M(e, t, this.length);
		let r = t, i = 1, a = this[e + --r];
		for (; r > 0 && (i *= 256);) a += this[e + --r] * i;
		return i *= 128, a >= i && (a -= 2 ** (8 * t)), a;
	}, u.prototype.readInt8 = function(e, t) {
		return e >>>= 0, t || M(e, 1, this.length), this[e] & 128 ? (255 - this[e] + 1) * -1 : this[e];
	}, u.prototype.readInt16LE = function(e, t) {
		e >>>= 0, t || M(e, 2, this.length);
		let n = this[e] | this[e + 1] << 8;
		return n & 32768 ? n | 4294901760 : n;
	}, u.prototype.readInt16BE = function(e, t) {
		e >>>= 0, t || M(e, 2, this.length);
		let n = this[e + 1] | this[e] << 8;
		return n & 32768 ? n | 4294901760 : n;
	}, u.prototype.readInt32LE = function(e, t) {
		return e >>>= 0, t || M(e, 4, this.length), this[e] | this[e + 1] << 8 | this[e + 2] << 16 | this[e + 3] << 24;
	}, u.prototype.readInt32BE = function(e, t) {
		return e >>>= 0, t || M(e, 4, this.length), this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3];
	}, u.prototype.readBigInt64LE = z(function(e) {
		e >>>= 0, I(e, "offset");
		let t = this[e], n = this[e + 7];
		(t === void 0 || n === void 0) && L(e, this.length - 8);
		let r = this[e + 4] + this[e + 5] * 2 ** 8 + this[e + 6] * 2 ** 16 + (n << 24);
		return (BigInt(r) << BigInt(32)) + BigInt(t + this[++e] * 2 ** 8 + this[++e] * 2 ** 16 + this[++e] * 2 ** 24);
	}), u.prototype.readBigInt64BE = z(function(e) {
		e >>>= 0, I(e, "offset");
		let t = this[e], n = this[e + 7];
		(t === void 0 || n === void 0) && L(e, this.length - 8);
		let r = (t << 24) + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + this[++e];
		return (BigInt(r) << BigInt(32)) + BigInt(this[++e] * 2 ** 24 + this[++e] * 2 ** 16 + this[++e] * 2 ** 8 + n);
	}), u.prototype.readFloatLE = function(e, t) {
		return e >>>= 0, t || M(e, 4, this.length), n.read(this, e, !0, 23, 4);
	}, u.prototype.readFloatBE = function(e, t) {
		return e >>>= 0, t || M(e, 4, this.length), n.read(this, e, !1, 23, 4);
	}, u.prototype.readDoubleLE = function(e, t) {
		return e >>>= 0, t || M(e, 8, this.length), n.read(this, e, !0, 52, 8);
	}, u.prototype.readDoubleBE = function(e, t) {
		return e >>>= 0, t || M(e, 8, this.length), n.read(this, e, !1, 52, 8);
	};
	function N(e, t, n, r, i, a) {
		if (!u.isBuffer(e)) throw TypeError("\"buffer\" argument must be a Buffer instance");
		if (t > i || t < a) throw RangeError("\"value\" argument is out of bounds");
		if (n + r > e.length) throw RangeError("Index out of range");
	}
	u.prototype.writeUintLE = u.prototype.writeUIntLE = function(e, t, n, r) {
		if (e = +e, t >>>= 0, n >>>= 0, !r) {
			let r = 2 ** (8 * n) - 1;
			N(this, e, t, n, r, 0);
		}
		let i = 1, a = 0;
		for (this[t] = e & 255; ++a < n && (i *= 256);) this[t + a] = e / i & 255;
		return t + n;
	}, u.prototype.writeUintBE = u.prototype.writeUIntBE = function(e, t, n, r) {
		if (e = +e, t >>>= 0, n >>>= 0, !r) {
			let r = 2 ** (8 * n) - 1;
			N(this, e, t, n, r, 0);
		}
		let i = n - 1, a = 1;
		for (this[t + i] = e & 255; --i >= 0 && (a *= 256);) this[t + i] = e / a & 255;
		return t + n;
	}, u.prototype.writeUint8 = u.prototype.writeUInt8 = function(e, t, n) {
		return e = +e, t >>>= 0, n || N(this, e, t, 1, 255, 0), this[t] = e & 255, t + 1;
	}, u.prototype.writeUint16LE = u.prototype.writeUInt16LE = function(e, t, n) {
		return e = +e, t >>>= 0, n || N(this, e, t, 2, 65535, 0), this[t] = e & 255, this[t + 1] = e >>> 8, t + 2;
	}, u.prototype.writeUint16BE = u.prototype.writeUInt16BE = function(e, t, n) {
		return e = +e, t >>>= 0, n || N(this, e, t, 2, 65535, 0), this[t] = e >>> 8, this[t + 1] = e & 255, t + 2;
	}, u.prototype.writeUint32LE = u.prototype.writeUInt32LE = function(e, t, n) {
		return e = +e, t >>>= 0, n || N(this, e, t, 4, 4294967295, 0), this[t + 3] = e >>> 24, this[t + 2] = e >>> 16, this[t + 1] = e >>> 8, this[t] = e & 255, t + 4;
	}, u.prototype.writeUint32BE = u.prototype.writeUInt32BE = function(e, t, n) {
		return e = +e, t >>>= 0, n || N(this, e, t, 4, 4294967295, 0), this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255, t + 4;
	};
	function ce(e, t, n, r, i) {
		he(t, r, i, e, n, 7);
		let a = Number(t & BigInt(4294967295));
		e[n++] = a, a >>= 8, e[n++] = a, a >>= 8, e[n++] = a, a >>= 8, e[n++] = a;
		let o = Number(t >> BigInt(32) & BigInt(4294967295));
		return e[n++] = o, o >>= 8, e[n++] = o, o >>= 8, e[n++] = o, o >>= 8, e[n++] = o, n;
	}
	function le(e, t, n, r, i) {
		he(t, r, i, e, n, 7);
		let a = Number(t & BigInt(4294967295));
		e[n + 7] = a, a >>= 8, e[n + 6] = a, a >>= 8, e[n + 5] = a, a >>= 8, e[n + 4] = a;
		let o = Number(t >> BigInt(32) & BigInt(4294967295));
		return e[n + 3] = o, o >>= 8, e[n + 2] = o, o >>= 8, e[n + 1] = o, o >>= 8, e[n] = o, n + 8;
	}
	u.prototype.writeBigUInt64LE = z(function(e, t = 0) {
		return ce(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
	}), u.prototype.writeBigUInt64BE = z(function(e, t = 0) {
		return le(this, e, t, BigInt(0), BigInt("0xffffffffffffffff"));
	}), u.prototype.writeIntLE = function(e, t, n, r) {
		if (e = +e, t >>>= 0, !r) {
			let r = 2 ** (8 * n - 1);
			N(this, e, t, n, r - 1, -r);
		}
		let i = 0, a = 1, o = 0;
		for (this[t] = e & 255; ++i < n && (a *= 256);) e < 0 && o === 0 && this[t + i - 1] !== 0 && (o = 1), this[t + i] = (e / a >> 0) - o & 255;
		return t + n;
	}, u.prototype.writeIntBE = function(e, t, n, r) {
		if (e = +e, t >>>= 0, !r) {
			let r = 2 ** (8 * n - 1);
			N(this, e, t, n, r - 1, -r);
		}
		let i = n - 1, a = 1, o = 0;
		for (this[t + i] = e & 255; --i >= 0 && (a *= 256);) e < 0 && o === 0 && this[t + i + 1] !== 0 && (o = 1), this[t + i] = (e / a >> 0) - o & 255;
		return t + n;
	}, u.prototype.writeInt8 = function(e, t, n) {
		return e = +e, t >>>= 0, n || N(this, e, t, 1, 127, -128), e < 0 && (e = 255 + e + 1), this[t] = e & 255, t + 1;
	}, u.prototype.writeInt16LE = function(e, t, n) {
		return e = +e, t >>>= 0, n || N(this, e, t, 2, 32767, -32768), this[t] = e & 255, this[t + 1] = e >>> 8, t + 2;
	}, u.prototype.writeInt16BE = function(e, t, n) {
		return e = +e, t >>>= 0, n || N(this, e, t, 2, 32767, -32768), this[t] = e >>> 8, this[t + 1] = e & 255, t + 2;
	}, u.prototype.writeInt32LE = function(e, t, n) {
		return e = +e, t >>>= 0, n || N(this, e, t, 4, 2147483647, -2147483648), this[t] = e & 255, this[t + 1] = e >>> 8, this[t + 2] = e >>> 16, this[t + 3] = e >>> 24, t + 4;
	}, u.prototype.writeInt32BE = function(e, t, n) {
		return e = +e, t >>>= 0, n || N(this, e, t, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255, t + 4;
	}, u.prototype.writeBigInt64LE = z(function(e, t = 0) {
		return ce(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
	}), u.prototype.writeBigInt64BE = z(function(e, t = 0) {
		return le(this, e, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
	});
	function ue(e, t, n, r, i, a) {
		if (n + r > e.length || n < 0) throw RangeError("Index out of range");
	}
	function P(e, t, r, i, a) {
		return t = +t, r >>>= 0, a || ue(e, t, r, 4), n.write(e, t, r, i, 23, 4), r + 4;
	}
	u.prototype.writeFloatLE = function(e, t, n) {
		return P(this, e, t, !0, n);
	}, u.prototype.writeFloatBE = function(e, t, n) {
		return P(this, e, t, !1, n);
	};
	function de(e, t, r, i, a) {
		return t = +t, r >>>= 0, a || ue(e, t, r, 8), n.write(e, t, r, i, 52, 8), r + 8;
	}
	u.prototype.writeDoubleLE = function(e, t, n) {
		return de(this, e, t, !0, n);
	}, u.prototype.writeDoubleBE = function(e, t, n) {
		return de(this, e, t, !1, n);
	}, u.prototype.copy = function(e, t, n, r) {
		if (!u.isBuffer(e)) throw TypeError("argument should be a Buffer");
		if (n ||= 0, !r && r !== 0 && (r = this.length), t >= e.length && (t = e.length), t ||= 0, r > 0 && r < n && (r = n), r === n || e.length === 0 || this.length === 0) return 0;
		if (t < 0) throw RangeError("targetStart out of bounds");
		if (n < 0 || n >= this.length) throw RangeError("Index out of range");
		if (r < 0) throw RangeError("sourceEnd out of bounds");
		r > this.length && (r = this.length), e.length - t < r - n && (r = e.length - t + n);
		let i = r - n;
		return this === e && typeof a.prototype.copyWithin == "function" ? this.copyWithin(t, n, r) : a.prototype.set.call(e, this.subarray(n, r), t), i;
	}, u.prototype.fill = function(e, t, n, r) {
		if (typeof e == "string") {
			if (typeof t == "string" ? (r = t, t = 0, n = this.length) : typeof n == "string" && (r = n, n = this.length), r !== void 0 && typeof r != "string") throw TypeError("encoding must be a string");
			if (typeof r == "string" && !u.isEncoding(r)) throw TypeError("Unknown encoding: " + r);
			if (e.length === 1) {
				let t = e.charCodeAt(0);
				(r === "utf8" && t < 128 || r === "latin1") && (e = t);
			}
		} else typeof e == "number" ? e &= 255 : typeof e == "boolean" && (e = Number(e));
		if (t < 0 || this.length < t || this.length < n) throw RangeError("Out of range index");
		if (n <= t) return this;
		t >>>= 0, n = n === void 0 ? this.length : n >>> 0, e ||= 0;
		let i;
		if (typeof e == "number") for (i = t; i < n; ++i) this[i] = e;
		else {
			let a = u.isBuffer(e) ? e : u.from(e, r), o = a.length;
			if (o === 0) throw TypeError("The value \"" + e + "\" is invalid for argument \"value\"");
			for (i = 0; i < n - t; ++i) this[i + t] = a[i % o];
		}
		return this;
	};
	let F = {};
	function fe(e, t, n) {
		F[e] = class extends n {
			constructor() {
				super(), Object.defineProperty(this, "message", {
					value: t.apply(this, arguments),
					writable: !0,
					configurable: !0
				}), this.name = `${this.name} [${e}]`, this.stack, delete this.name;
			}
			get code() {
				return e;
			}
			set code(e) {
				Object.defineProperty(this, "code", {
					configurable: !0,
					enumerable: !0,
					value: e,
					writable: !0
				});
			}
			toString() {
				return `${this.name} [${e}]: ${this.message}`;
			}
		};
	}
	fe("ERR_BUFFER_OUT_OF_BOUNDS", function(e) {
		return e ? `${e} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds";
	}, RangeError), fe("ERR_INVALID_ARG_TYPE", function(e, t) {
		return `The "${e}" argument must be of type number. Received type ${typeof t}`;
	}, TypeError), fe("ERR_OUT_OF_RANGE", function(e, t, n) {
		let r = `The value of "${e}" is out of range.`, i = n;
		return Number.isInteger(n) && Math.abs(n) > 2 ** 32 ? i = pe(String(n)) : typeof n == "bigint" && (i = String(n), (n > BigInt(2) ** BigInt(32) || n < -(BigInt(2) ** BigInt(32))) && (i = pe(i)), i += "n"), r += ` It must be ${t}. Received ${i}`, r;
	}, RangeError);
	function pe(e) {
		let t = "", n = e.length, r = +(e[0] === "-");
		for (; n >= r + 4; n -= 3) t = `_${e.slice(n - 3, n)}${t}`;
		return `${e.slice(0, n)}${t}`;
	}
	function me(e, t, n) {
		I(t, "offset"), (e[t] === void 0 || e[t + n] === void 0) && L(t, e.length - (n + 1));
	}
	function he(e, t, n, r, i, a) {
		if (e > n || e < t) {
			let r = typeof t == "bigint" ? "n" : "", i;
			throw i = a > 3 ? t === 0 || t === BigInt(0) ? `>= 0${r} and < 2${r} ** ${(a + 1) * 8}${r}` : `>= -(2${r} ** ${(a + 1) * 8 - 1}${r}) and < 2 ** ${(a + 1) * 8 - 1}${r}` : `>= ${t}${r} and <= ${n}${r}`, new F.ERR_OUT_OF_RANGE("value", i, e);
		}
		me(r, i, a);
	}
	function I(e, t) {
		if (typeof e != "number") throw new F.ERR_INVALID_ARG_TYPE(t, "number", e);
	}
	function L(e, t, n) {
		throw Math.floor(e) === e ? t < 0 ? new F.ERR_BUFFER_OUT_OF_BOUNDS() : new F.ERR_OUT_OF_RANGE(n || "offset", `>= ${+!!n} and <= ${t}`, e) : (I(e, n), new F.ERR_OUT_OF_RANGE(n || "offset", "an integer", e));
	}
	let ge = /[^+/0-9A-Za-z-_]/g;
	function _e(e) {
		if (e = e.split("=")[0], e = e.trim().replace(ge, ""), e.length < 2) return "";
		for (; e.length % 4 != 0;) e += "=";
		return e;
	}
	function ve(e, t) {
		t ||= Infinity;
		let n, r = e.length, i = null, a = [];
		for (let o = 0; o < r; ++o) {
			if (n = e.charCodeAt(o), n > 55295 && n < 57344) {
				if (!i) {
					if (n > 56319) {
						(t -= 3) > -1 && a.push(239, 191, 189);
						continue;
					} else if (o + 1 === r) {
						(t -= 3) > -1 && a.push(239, 191, 189);
						continue;
					}
					i = n;
					continue;
				}
				if (n < 56320) {
					(t -= 3) > -1 && a.push(239, 191, 189), i = n;
					continue;
				}
				n = (i - 55296 << 10 | n - 56320) + 65536;
			} else i && (t -= 3) > -1 && a.push(239, 191, 189);
			if (i = null, n < 128) {
				if (--t < 0) break;
				a.push(n);
			} else if (n < 2048) {
				if ((t -= 2) < 0) break;
				a.push(n >> 6 | 192, n & 63 | 128);
			} else if (n < 65536) {
				if ((t -= 3) < 0) break;
				a.push(n >> 12 | 224, n >> 6 & 63 | 128, n & 63 | 128);
			} else if (n < 1114112) {
				if ((t -= 4) < 0) break;
				a.push(n >> 18 | 240, n >> 12 & 63 | 128, n >> 6 & 63 | 128, n & 63 | 128);
			} else throw Error("Invalid code point");
		}
		return a;
	}
	function ye(e) {
		let t = [];
		for (let n = 0; n < e.length; ++n) t.push(e.charCodeAt(n) & 255);
		return t;
	}
	function be(e, t) {
		let n, r, i, a = [];
		for (let o = 0; o < e.length && !((t -= 2) < 0); ++o) n = e.charCodeAt(o), r = n >> 8, i = n % 256, a.push(i), a.push(r);
		return a;
	}
	function xe(e) {
		return t.toByteArray(_e(e));
	}
	function Se(e, t, n, r) {
		let i;
		for (i = 0; i < r && !(i + n >= t.length || i >= e.length); ++i) t[i + n] = e[i];
		return i;
	}
	function R(e, t) {
		return e instanceof t || e != null && e.constructor != null && e.constructor.name != null && e.constructor.name === t.name;
	}
	function Ce(e) {
		return e !== e;
	}
	let we = (function() {
		let e = "0123456789abcdef", t = Array(256);
		for (let n = 0; n < 16; ++n) {
			let r = n * 16;
			for (let i = 0; i < 16; ++i) t[r + i] = e[n] + e[i];
		}
		return t;
	})();
	function z(e) {
		return typeof BigInt > "u" ? Te : e;
	}
	function Te() {
		throw Error("BigInt not supported");
	}
})(V);
var qe = V.Buffer;
V.Blob, V.BlobOptions, V.Buffer, V.File, V.FileOptions, V.INSPECT_MAX_BYTES, V.SlowBuffer, V.TranscodeEncoding, V.atob, V.btoa, V.constants, V.isAscii, V.isUtf8, V.kMaxLength, V.kStringMaxLength, V.resolveObjectURL, V.transcode;
//#endregion
//#region node_modules/axios/lib/helpers/parseHeaders.js
var Je = B.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"
]), Ye = (e) => {
	let t = {}, n, r, i;
	return e && e.split("\n").forEach(function(e) {
		i = e.indexOf(":"), n = e.substring(0, i).trim().toLowerCase(), r = e.substring(i + 1).trim(), !(!n || t[n] && Je[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
	}), t;
};
//#endregion
//#region node_modules/axios/lib/helpers/sanitizeHeaderValue.js
function Xe(e) {
	let t = 0, n = e.length;
	for (; t < n;) {
		let n = e.charCodeAt(t);
		if (n !== 9 && n !== 32) break;
		t += 1;
	}
	for (; n > t;) {
		let t = e.charCodeAt(n - 1);
		if (t !== 9 && t !== 32) break;
		--n;
	}
	return t === 0 && n === e.length ? e : e.slice(t, n);
}
var Ze = /* @__PURE__ */ RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+", "g"), Qe = /* @__PURE__ */ RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+", "g");
function $e(e, t) {
	return B.isArray(e) ? e.map((e) => $e(e, t)) : Xe(String(e).replace(t, ""));
}
var et = (e) => $e(e, Ze), tt = (e) => $e(e, Qe);
function nt(e) {
	let t = Object.create(null);
	return B.forEach(e.toJSON(), (e, n) => {
		t[n] = tt(e);
	}), t;
}
//#endregion
//#region node_modules/axios/lib/core/AxiosHeaders.js
var rt = Symbol("internals");
function it(e) {
	return e && String(e).trim().toLowerCase();
}
function at(e) {
	return e === !1 || e == null ? e : B.isArray(e) ? e.map(at) : et(String(e));
}
function ot(e) {
	let t = Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g, r;
	for (; r = n.exec(e);) t[r[1]] = r[2];
	return t;
}
var st = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
function ct(e, t, n, r, i) {
	if (B.isFunction(r)) return r.call(this, t, n);
	if (i && (t = n), B.isString(t)) {
		if (B.isString(r)) return t.indexOf(r) !== -1;
		if (B.isRegExp(r)) return r.test(t);
	}
}
function lt(e) {
	return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, t, n) => t.toUpperCase() + n);
}
function ut(e, t) {
	let n = B.toCamelCase(" " + t);
	[
		"get",
		"set",
		"has"
	].forEach((r) => {
		Object.defineProperty(e, r + n, {
			__proto__: null,
			value: function(e, n, i) {
				return this[r].call(this, t, e, n, i);
			},
			configurable: !0
		});
	});
}
var G = class {
	constructor(e) {
		e && this.set(e);
	}
	set(e, t, n) {
		let r = this;
		function i(e, t, n) {
			let i = it(t);
			if (!i) return;
			let a = B.findKey(r, i);
			(!a || r[a] === void 0 || n === !0 || n === void 0 && r[a] !== !1) && (r[a || t] = at(e));
		}
		let a = (e, t) => B.forEach(e, (e, n) => i(e, n, t));
		if (B.isPlainObject(e) || e instanceof this.constructor) a(e, t);
		else if (B.isString(e) && (e = e.trim()) && !st(e)) a(Ye(e), t);
		else if (B.isObject(e) && B.isSafeIterable(e)) {
			let n = Object.create(null), r, i;
			for (let t of e) {
				if (!B.isArray(t)) throw TypeError("Object iterator must return a key-value pair");
				i = t[0], B.hasOwnProp(n, i) ? (r = n[i], n[i] = B.isArray(r) ? [...r, t[1]] : [r, t[1]]) : n[i] = t[1];
			}
			a(n, t);
		} else e != null && i(t, e, n);
		return this;
	}
	get(e, t) {
		if (e = it(e), e) {
			let n = B.findKey(this, e);
			if (n) {
				let e = this[n];
				if (!t) return e;
				if (t === !0) return ot(e);
				if (B.isFunction(t)) return t.call(this, e, n);
				if (B.isRegExp(t)) return t.exec(e);
				throw TypeError("parser must be boolean|regexp|function");
			}
		}
	}
	has(e, t) {
		if (e = it(e), e) {
			let n = B.findKey(this, e);
			return !!(n && this[n] !== void 0 && (!t || ct(this, this[n], n, t)));
		}
		return !1;
	}
	delete(e, t) {
		let n = this, r = !1;
		function i(e) {
			if (e = it(e), e) {
				let i = B.findKey(n, e);
				i && (!t || ct(n, n[i], i, t)) && (delete n[i], r = !0);
			}
		}
		return B.isArray(e) ? e.forEach(i) : i(e), r;
	}
	clear(e) {
		let t = Object.keys(this), n = t.length, r = !1;
		for (; n--;) {
			let i = t[n];
			(!e || ct(this, this[i], i, e, !0)) && (delete this[i], r = !0);
		}
		return r;
	}
	normalize(e) {
		let t = this, n = {};
		return B.forEach(this, (r, i) => {
			let a = B.findKey(n, i);
			if (a) {
				t[a] = at(r), delete t[i];
				return;
			}
			let o = e ? lt(i) : String(i).trim();
			o !== i && delete t[i], t[o] = at(r), n[o] = !0;
		}), this;
	}
	concat(...e) {
		return this.constructor.concat(this, ...e);
	}
	toJSON(e) {
		let t = Object.create(null);
		return B.forEach(this, (n, r) => {
			n != null && n !== !1 && (t[r] = e && B.isArray(n) ? n.join(", ") : n);
		}), t;
	}
	[Symbol.iterator]() {
		return Object.entries(this.toJSON())[Symbol.iterator]();
	}
	toString() {
		return Object.entries(this.toJSON()).map(([e, t]) => e + ": " + t).join("\n");
	}
	getSetCookie() {
		return this.get("set-cookie") || [];
	}
	get [Symbol.toStringTag]() {
		return "AxiosHeaders";
	}
	static from(e) {
		return e instanceof this ? e : new this(e);
	}
	static concat(e, ...t) {
		let n = new this(e);
		return t.forEach((e) => n.set(e)), n;
	}
	static accessor(e) {
		let t = (this[rt] = this[rt] = { accessors: {} }).accessors, n = this.prototype;
		function r(e) {
			let r = it(e);
			t[r] || (ut(n, e), t[r] = !0);
		}
		return B.isArray(e) ? e.forEach(r) : r(e), this;
	}
};
G.accessor([
	"Content-Type",
	"Content-Length",
	"Accept",
	"Accept-Encoding",
	"User-Agent",
	"Authorization"
]), B.reduceDescriptors(G.prototype, ({ value: e }, t) => {
	let n = t[0].toUpperCase() + t.slice(1);
	return {
		get: () => e,
		set(e) {
			this[n] = e;
		}
	};
}), B.freezeMethods(G);
//#endregion
//#region node_modules/axios/lib/core/AxiosError.js
var dt = "[REDACTED ****]";
function ft(e) {
	if (B.hasOwnProp(e, "toJSON")) return !0;
	let t = Object.getPrototypeOf(e);
	for (; t && t !== Object.prototype;) {
		if (B.hasOwnProp(t, "toJSON")) return !0;
		t = Object.getPrototypeOf(t);
	}
	return !1;
}
function pt(e, t) {
	let n = new Set(t.map((e) => String(e).toLowerCase())), r = [], i = (e) => {
		if (typeof e != "object" || !e || B.isBuffer(e)) return e;
		if (r.indexOf(e) !== -1) return;
		e instanceof G && (e = e.toJSON()), r.push(e);
		let t;
		if (B.isArray(e)) t = [], e.forEach((e, n) => {
			let r = i(e);
			B.isUndefined(r) || (t[n] = r);
		});
		else {
			if (!B.isPlainObject(e) && ft(e)) return r.pop(), e;
			t = Object.create(null);
			for (let [r, a] of Object.entries(e)) {
				let e = n.has(r.toLowerCase()) ? dt : i(a);
				B.isUndefined(e) || (t[r] = e);
			}
		}
		return r.pop(), t;
	};
	return i(e);
}
var K = class e extends Error {
	static from(t, n, r, i, a, o) {
		let s = new e(t.message, n || t.code, r, i, a);
		return Object.defineProperty(s, "cause", {
			__proto__: null,
			value: t,
			writable: !0,
			enumerable: !1,
			configurable: !0
		}), s.name = t.name, t.status != null && s.status == null && (s.status = t.status), o && Object.assign(s, o), s;
	}
	constructor(e, t, n, r, i) {
		super(e), Object.defineProperty(this, "message", {
			__proto__: null,
			value: e,
			enumerable: !0,
			writable: !0,
			configurable: !0
		}), this.name = "AxiosError", this.isAxiosError = !0, t && (this.code = t), n && (this.config = n), r && (this.request = r), i && (this.response = i, this.status = i.status);
	}
	toJSON() {
		let e = this.config, t = e && B.hasOwnProp(e, "redact") ? e.redact : void 0, n = B.isArray(t) && t.length > 0 ? pt(e, t) : B.toJSONObject(e);
		return {
			message: this.message,
			name: this.name,
			description: this.description,
			number: this.number,
			fileName: this.fileName,
			lineNumber: this.lineNumber,
			columnNumber: this.columnNumber,
			stack: this.stack,
			config: n,
			code: this.code,
			status: this.status
		};
	}
};
K.ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE", K.ERR_BAD_OPTION = "ERR_BAD_OPTION", K.ECONNABORTED = "ECONNABORTED", K.ETIMEDOUT = "ETIMEDOUT", K.ECONNREFUSED = "ECONNREFUSED", K.ERR_NETWORK = "ERR_NETWORK", K.ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS", K.ERR_DEPRECATED = "ERR_DEPRECATED", K.ERR_BAD_RESPONSE = "ERR_BAD_RESPONSE", K.ERR_BAD_REQUEST = "ERR_BAD_REQUEST", K.ERR_CANCELED = "ERR_CANCELED", K.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT", K.ERR_INVALID_URL = "ERR_INVALID_URL", K.ERR_FORM_DATA_DEPTH_EXCEEDED = "ERR_FORM_DATA_DEPTH_EXCEEDED";
function mt(e) {
	return B.isPlainObject(e) || B.isArray(e);
}
function ht(e) {
	return B.endsWith(e, "[]") ? e.slice(0, -2) : e;
}
function gt(e, t, n) {
	return e ? e.concat(t).map(function(e, t) {
		return e = ht(e), !n && t ? "[" + e + "]" : e;
	}).join(n ? "." : "") : t;
}
function _t(e) {
	return B.isArray(e) && !e.some(mt);
}
var vt = B.toFlatObject(B, {}, null, function(e) {
	return /^is[A-Z]/.test(e);
});
function yt(e, t, n) {
	if (!B.isObject(e)) throw TypeError("target must be an object");
	t ||= new FormData(), n = B.toFlatObject(n, {
		metaTokens: !0,
		dots: !1,
		indexes: !1
	}, !1, function(e, t) {
		return !B.isUndefined(t[e]);
	});
	let r = n.metaTokens, i = n.visitor || m, a = n.dots, o = n.indexes, s = n.Blob || typeof Blob < "u" && Blob, c = n.maxDepth === void 0 ? 100 : n.maxDepth, l = s && B.isSpecCompliantForm(t), u = [];
	if (!B.isFunction(i)) throw TypeError("visitor must be a function");
	function d(e) {
		if (e === null) return "";
		if (B.isDate(e)) return e.toISOString();
		if (B.isBoolean(e)) return e.toString();
		if (!l && B.isBlob(e)) throw new K("Blob is not supported. Use a Buffer instead.");
		if (B.isArrayBuffer(e) || B.isTypedArray(e)) {
			if (l && typeof s == "function") return new s([e]);
			if (qe !== void 0) return qe.from(e);
			throw new K("Blob is not supported. Use a Buffer instead.", K.ERR_NOT_SUPPORT);
		}
		return e;
	}
	function f(e) {
		if (e > c) throw new K("Object is too deeply nested (" + e + " levels). Max depth: " + c, K.ERR_FORM_DATA_DEPTH_EXCEEDED);
	}
	function p(e, t) {
		if (c === Infinity) return JSON.stringify(e);
		let n = [];
		return JSON.stringify(e, function(e, r) {
			if (!B.isObject(r)) return r;
			for (; n.length && n[n.length - 1] !== this;) n.pop();
			return n.push(r), f(t + n.length - 1), r;
		});
	}
	function m(e, n, i) {
		let s = e;
		if (B.isReactNative(t) && B.isReactNativeBlob(e)) return t.append(gt(i, n, a), d(e)), !1;
		if (e && !i && typeof e == "object") {
			if (B.endsWith(n, "{}")) n = r ? n : n.slice(0, -2), e = p(e, 1);
			else if (B.isArray(e) && _t(e) || (B.isFileList(e) || B.endsWith(n, "[]")) && (s = B.toArray(e))) return n = ht(n), s.forEach(function(e, r) {
				!(B.isUndefined(e) || e === null) && t.append(o === !0 ? gt([n], r, a) : o === null ? n : n + "[]", d(e));
			}), !1;
		}
		return mt(e) ? !0 : (t.append(gt(i, n, a), d(e)), !1);
	}
	let h = Object.assign(vt, {
		defaultVisitor: m,
		convertValue: d,
		isVisitable: mt
	});
	function g(e, n, r = 0) {
		if (!B.isUndefined(e)) {
			if (f(r), u.indexOf(e) !== -1) throw Error("Circular reference detected in " + n.join("."));
			u.push(e), B.forEach(e, function(e, a) {
				(!(B.isUndefined(e) || e === null) && i.call(t, e, B.isString(a) ? a.trim() : a, n, h)) === !0 && g(e, n ? n.concat(a) : [a], r + 1);
			}), u.pop();
		}
	}
	if (!B.isObject(e)) throw TypeError("data must be an object");
	return g(e), t;
}
//#endregion
//#region node_modules/axios/lib/helpers/AxiosURLSearchParams.js
function bt(e) {
	let t = {
		"!": "%21",
		"'": "%27",
		"(": "%28",
		")": "%29",
		"~": "%7E",
		"%20": "+"
	};
	return encodeURIComponent(e).replace(/[!'()~]|%20/g, function(e) {
		return t[e];
	});
}
function xt(e, t) {
	this._pairs = [], e && yt(e, this, t);
}
var St = xt.prototype;
St.append = function(e, t) {
	this._pairs.push([e, t]);
}, St.toString = function(e) {
	let t = e ? (t) => e.call(this, t, bt) : bt;
	return this._pairs.map(function(e) {
		return t(e[0]) + "=" + t(e[1]);
	}, "").join("&");
};
//#endregion
//#region node_modules/axios/lib/helpers/buildURL.js
function Ct(e) {
	return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
}
function wt(e, t, n) {
	if (!t) return e;
	e ||= "";
	let r = B.isFunction(n) ? { serialize: n } : n, i = B.getSafeProp(r, "encode") || Ct, a = B.getSafeProp(r, "serialize"), o;
	if (o = a ? a(t, r) : B.isURLSearchParams(t) ? t.toString() : new xt(t, r).toString(i), o) {
		let t = e.indexOf("#");
		t !== -1 && (e = e.slice(0, t)), e += (e.indexOf("?") === -1 ? "?" : "&") + o;
	}
	return e;
}
//#endregion
//#region node_modules/axios/lib/core/InterceptorManager.js
var Tt = class {
	constructor() {
		this.handlers = [];
	}
	use(e, t, n) {
		return this.handlers.push({
			fulfilled: e,
			rejected: t,
			synchronous: n ? n.synchronous : !1,
			runWhen: n ? n.runWhen : null
		}), this.handlers.length - 1;
	}
	eject(e) {
		this.handlers[e] && (this.handlers[e] = null);
	}
	clear() {
		this.handlers &&= [];
	}
	forEach(e) {
		B.forEach(this.handlers, function(t) {
			t !== null && e(t);
		});
	}
}, Et = {
	silentJSONParsing: !0,
	forcedJSONParsing: !0,
	clarifyTimeoutError: !1,
	legacyInterceptorReqResOrdering: !0,
	advertiseZstdAcceptEncoding: !1,
	validateStatusUndefinedResolves: !0
}, Dt = {
	isBrowser: !0,
	classes: {
		URLSearchParams: typeof URLSearchParams < "u" ? URLSearchParams : xt,
		FormData: typeof FormData < "u" ? FormData : null,
		Blob: typeof Blob < "u" ? Blob : null
	},
	protocols: [
		"http",
		"https",
		"file",
		"blob",
		"url",
		"data"
	]
}, Ot = /* @__PURE__ */ e({
	hasBrowserEnv: () => kt,
	hasStandardBrowserEnv: () => jt,
	hasStandardBrowserWebWorkerEnv: () => Mt,
	navigator: () => At,
	origin: () => Nt
}), kt = typeof window < "u" && typeof document < "u", At = typeof navigator == "object" && navigator || void 0, jt = kt && (!At || [
	"ReactNative",
	"NativeScript",
	"NS"
].indexOf(At.product) < 0), Mt = typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Nt = kt && window.location.href || "http://localhost", q = {
	...Ot,
	...Dt
};
//#endregion
//#region node_modules/axios/lib/helpers/toURLEncodedForm.js
function Pt(e, t) {
	return yt(e, new q.classes.URLSearchParams(), {
		visitor: function(e, t, n, r) {
			return q.isNode && B.isBuffer(e) ? (this.append(t, e.toString("base64")), !1) : r.defaultVisitor.apply(this, arguments);
		},
		...t
	});
}
//#endregion
//#region node_modules/axios/lib/helpers/formDataToJSON.js
var Ft = 100;
function It(e) {
	if (e > Ft) throw new K("FormData field is too deeply nested (" + e + " levels). Max depth: " + Ft, K.ERR_FORM_DATA_DEPTH_EXCEEDED);
}
function Lt(e) {
	let t = [], n = /\w+|\[(\w*)]/g, r;
	for (; (r = n.exec(e)) !== null;) It(t.length), t.push(r[0] === "[]" ? "" : r[1] || r[0]);
	return t;
}
function Rt(e) {
	let t = {}, n = Object.keys(e), r, i = n.length, a;
	for (r = 0; r < i; r++) a = n[r], t[a] = e[a];
	return t;
}
function zt(e) {
	function t(e, n, r, i) {
		It(i);
		let a = e[i++];
		if (a === "__proto__") return !0;
		let o = Number.isFinite(+a), s = i >= e.length;
		return a = !a && B.isArray(r) ? r.length : a, s ? (B.hasOwnProp(r, a) ? r[a] = B.isArray(r[a]) ? r[a].concat(n) : [r[a], n] : r[a] = n, !o) : ((!B.hasOwnProp(r, a) || !B.isObject(r[a])) && (r[a] = []), t(e, n, r[a], i) && B.isArray(r[a]) && (r[a] = Rt(r[a])), !o);
	}
	if (B.isFormData(e) && B.isFunction(e.entries)) {
		let n = {};
		return B.forEachEntry(e, (e, r) => {
			t(Lt(e), r, n, 0);
		}), n;
	}
	return null;
}
//#endregion
//#region node_modules/axios/lib/defaults/index.js
var J = (e, t) => e != null && B.hasOwnProp(e, t) ? e[t] : void 0;
function Bt(e, t, n) {
	if (B.isString(e)) try {
		return (t || JSON.parse)(e), B.trim(e);
	} catch (e) {
		if (e.name !== "SyntaxError") throw e;
	}
	return (n || JSON.stringify)(e);
}
var Vt = {
	transitional: Et,
	adapter: [
		"xhr",
		"http",
		"fetch"
	],
	transformRequest: [function(e, t) {
		let n = t.getContentType() || "", r = n.indexOf("application/json") > -1, i = B.isObject(e);
		if (i && B.isHTMLForm(e) && (e = new FormData(e)), B.isFormData(e)) return r ? JSON.stringify(zt(e)) : e;
		if (B.isArrayBuffer(e) || B.isBuffer(e) || B.isStream(e) || B.isFile(e) || B.isBlob(e) || B.isReadableStream(e)) return e;
		if (B.isArrayBufferView(e)) return e.buffer;
		if (B.isURLSearchParams(e)) return t.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), e.toString();
		let a;
		if (i) {
			let t = J(this, "formSerializer");
			if (n.indexOf("application/x-www-form-urlencoded") > -1) return Pt(e, t).toString();
			if ((a = B.isFileList(e)) || n.indexOf("multipart/form-data") > -1) {
				let n = J(this, "env"), r = n && n.FormData;
				return yt(a ? { "files[]": e } : e, r && new r(), t);
			}
		}
		return i || r ? (t.setContentType("application/json", !1), Bt(e)) : e;
	}],
	transformResponse: [function(e) {
		let t = J(this, "transitional") || Vt.transitional, n = t && t.forcedJSONParsing, r = J(this, "responseType"), i = r === "json";
		if (B.isResponse(e) || B.isReadableStream(e)) return e;
		if (e && B.isString(e) && (n && !r || i)) {
			let n = !(t && t.silentJSONParsing) && i;
			try {
				return JSON.parse(e, J(this, "parseReviver"));
			} catch (e) {
				if (n) throw e.name === "SyntaxError" ? K.from(e, K.ERR_BAD_RESPONSE, this, null, J(this, "response")) : e;
			}
		}
		return e;
	}],
	timeout: 0,
	xsrfCookieName: "XSRF-TOKEN",
	xsrfHeaderName: "X-XSRF-TOKEN",
	maxContentLength: -1,
	maxBodyLength: -1,
	env: {
		FormData: q.classes.FormData,
		Blob: q.classes.Blob
	},
	validateStatus: function(e) {
		return e >= 200 && e < 300;
	},
	headers: { common: {
		Accept: "application/json, text/plain, */*",
		"Content-Type": void 0
	} }
};
B.forEach([
	"delete",
	"get",
	"head",
	"post",
	"put",
	"patch",
	"query"
], (e) => {
	Vt.headers[e] = {};
});
//#endregion
//#region node_modules/axios/lib/core/transformData.js
function Ht(e, t) {
	let n = this || Vt, r = t || n, i = G.from(r.headers), a = r.data;
	return B.forEach(e, function(e) {
		a = e.call(n, a, i.normalize(), t ? t.status : void 0);
	}), i.normalize(), a;
}
//#endregion
//#region node_modules/axios/lib/cancel/isCancel.js
function Ut(e) {
	return !!(e && e.__CANCEL__);
}
//#endregion
//#region node_modules/axios/lib/cancel/CanceledError.js
var Y = class extends K {
	constructor(e, t, n) {
		super(e ?? "canceled", K.ERR_CANCELED, t, n), this.name = "CanceledError", this.__CANCEL__ = !0;
	}
};
//#endregion
//#region node_modules/axios/lib/core/settle.js
function Wt(e, t, n) {
	let r = n.config.validateStatus;
	!n.status || !r || r(n.status) ? e(n) : t(new K("Request failed with status code " + n.status, n.status >= 400 && n.status < 500 ? K.ERR_BAD_REQUEST : K.ERR_BAD_RESPONSE, n.config, n.request, n));
}
//#endregion
//#region node_modules/axios/lib/helpers/parseProtocol.js
function Gt(e) {
	let t = /^([-+\w]{1,25}):(?:\/\/)?/.exec(e);
	return t && t[1] || "";
}
//#endregion
//#region node_modules/axios/lib/helpers/speedometer.js
function Kt(e, t) {
	e ||= 10;
	let n = Array(e), r = Array(e), i = 0, a = 0, o;
	return t = t === void 0 ? 1e3 : t, function(s) {
		let c = Date.now(), l = r[a];
		o ||= c, n[i] = s, r[i] = c;
		let u = a, d = 0;
		for (; u !== i;) d += n[u++], u %= e;
		if (i = (i + 1) % e, i === a && (a = (a + 1) % e), c - o < t) return;
		let f = l && c - l;
		return f ? Math.round(d * 1e3 / f) : void 0;
	};
}
//#endregion
//#region node_modules/axios/lib/helpers/throttle.js
function qt(e, t) {
	let n = 0, r = 1e3 / t, i, a, o = (t, r = Date.now()) => {
		n = r, i = null, a &&= (clearTimeout(a), null), e(...t);
	};
	return [(...e) => {
		let t = Date.now(), s = t - n;
		s >= r ? o(e, t) : (i = e, a ||= setTimeout(() => {
			a = null, o(i);
		}, r - s));
	}, () => i && o(i)];
}
//#endregion
//#region node_modules/axios/lib/helpers/progressEventReducer.js
var Jt = (e, t, n = 3) => {
	let r = 0, i = Kt(50, 250);
	return qt((n) => {
		if (!n || typeof n.loaded != "number") return;
		let a = n.loaded, o = n.lengthComputable ? n.total : void 0, s = o == null ? a : Math.min(a, o), c = Math.max(0, s - r), l = i(c);
		r = Math.max(r, s), e({
			loaded: s,
			total: o,
			progress: o ? s / o : void 0,
			bytes: c,
			rate: l || void 0,
			estimated: l && o ? (o - s) / l : void 0,
			event: n,
			lengthComputable: o != null,
			[t ? "download" : "upload"]: !0
		});
	}, n);
}, Yt = (e, t) => {
	let n = e != null;
	return [(r) => t[0]({
		lengthComputable: n,
		total: e,
		loaded: r
	}), t[1]];
}, Xt = (e) => (...t) => B.asap(() => e(...t)), Zt = q.hasStandardBrowserEnv ? ((e, t) => (n) => (n = new URL(n, q.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(new URL(q.origin), q.navigator && /(msie|trident)/i.test(q.navigator.userAgent)) : () => !0, Qt = q.hasStandardBrowserEnv ? {
	write(e, t, n, r, i, a, o) {
		if (typeof document > "u") return;
		let s = [`${e}=${encodeURIComponent(t)}`];
		B.isNumber(n) && s.push(`expires=${new Date(n).toUTCString()}`), B.isString(r) && s.push(`path=${r}`), B.isString(i) && s.push(`domain=${i}`), a === !0 && s.push("secure"), B.isString(o) && s.push(`SameSite=${o}`), document.cookie = s.join("; ");
	},
	read(e) {
		if (typeof document > "u") return null;
		let t = document.cookie.split(";");
		for (let n = 0; n < t.length; n++) {
			let r = t[n].replace(/^\s+/, ""), i = r.indexOf("=");
			if (i !== -1 && r.slice(0, i) === e) try {
				return decodeURIComponent(r.slice(i + 1));
			} catch {
				return r.slice(i + 1);
			}
		}
		return null;
	},
	remove(e) {
		this.write(e, "", Date.now() - 864e5, "/");
	}
} : {
	write() {},
	read() {
		return null;
	},
	remove() {}
};
//#endregion
//#region node_modules/axios/lib/helpers/isAbsoluteURL.js
function $t(e) {
	return typeof e == "string" ? /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e) : !1;
}
//#endregion
//#region node_modules/axios/lib/helpers/combineURLs.js
function en(e, t) {
	return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
}
//#endregion
//#region node_modules/axios/lib/core/buildFullPath.js
var tn = /^https?:(?!\/\/)/i, nn = /[\t\n\r]/g;
function rn(e) {
	let t = 0;
	for (; t < e.length && e.charCodeAt(t) <= 32;) t++;
	return e.slice(t);
}
function an(e) {
	return rn(e).replace(nn, "");
}
function on(e, t) {
	if (typeof e == "string" && tn.test(an(e))) throw new K("Invalid URL: missing \"//\" after protocol", K.ERR_INVALID_URL, t);
}
function sn(e, t, n, r) {
	on(t, r);
	let i = !$t(t);
	return e && (i || n === !1) ? (on(e, r), en(e, t)) : t;
}
//#endregion
//#region node_modules/axios/lib/core/mergeConfig.js
var cn = (e) => e instanceof G ? { ...e } : e;
function X(e, t) {
	e ||= {}, t ||= {};
	let n = Object.create(null);
	Object.defineProperty(n, "hasOwnProperty", {
		__proto__: null,
		value: Object.prototype.hasOwnProperty,
		enumerable: !1,
		writable: !0,
		configurable: !0
	});
	function r(e, t, n, r) {
		return B.isPlainObject(e) && B.isPlainObject(t) ? B.merge.call({ caseless: r }, e, t) : B.isPlainObject(t) ? B.merge({}, t) : B.isArray(t) ? t.slice() : t;
	}
	function i(e, t, n, i) {
		if (!B.isUndefined(t)) return r(e, t, n, i);
		if (!B.isUndefined(e)) return r(void 0, e, n, i);
	}
	function a(e, t) {
		if (!B.isUndefined(t)) return r(void 0, t);
	}
	function o(e, t) {
		if (!B.isUndefined(t)) return r(void 0, t);
		if (!B.isUndefined(e)) return r(void 0, e);
	}
	function s(n) {
		let r = B.hasOwnProp(t, "transitional") ? t.transitional : void 0;
		if (!B.isUndefined(r)) if (B.isPlainObject(r)) {
			if (B.hasOwnProp(r, n)) return r[n];
		} else return;
		let i = B.hasOwnProp(e, "transitional") ? e.transitional : void 0;
		if (B.isPlainObject(i) && B.hasOwnProp(i, n)) return i[n];
	}
	function c(n, i, a) {
		if (B.hasOwnProp(t, a)) return r(n, i);
		if (B.hasOwnProp(e, a)) return r(void 0, n);
	}
	let l = {
		url: a,
		method: a,
		data: a,
		baseURL: o,
		transformRequest: o,
		transformResponse: o,
		paramsSerializer: o,
		timeout: o,
		timeoutMessage: o,
		withCredentials: o,
		withXSRFToken: o,
		adapter: o,
		responseType: o,
		xsrfCookieName: o,
		xsrfHeaderName: o,
		onUploadProgress: o,
		onDownloadProgress: o,
		decompress: o,
		maxContentLength: o,
		maxBodyLength: o,
		beforeRedirect: o,
		transport: o,
		httpAgent: o,
		httpsAgent: o,
		cancelToken: o,
		socketPath: o,
		allowedSocketPaths: o,
		responseEncoding: o,
		validateStatus: c,
		headers: (e, t, n) => i(cn(e), cn(t), n, !0)
	};
	return B.forEach(Object.keys({
		...e,
		...t
	}), function(r) {
		if (r === "__proto__" || r === "constructor" || r === "prototype") return;
		let a = B.hasOwnProp(l, r) ? l[r] : i, o = a(B.hasOwnProp(e, r) ? e[r] : void 0, B.hasOwnProp(t, r) ? t[r] : void 0, r);
		B.isUndefined(o) && a !== c || (n[r] = o);
	}), B.hasOwnProp(t, "validateStatus") && B.isUndefined(t.validateStatus) && s("validateStatusUndefinedResolves") === !1 && (B.hasOwnProp(e, "validateStatus") ? n.validateStatus = r(void 0, e.validateStatus) : delete n.validateStatus), n;
}
//#endregion
//#region node_modules/axios/lib/helpers/resolveConfig.js
var ln = ["content-type", "content-length"];
function un(e, t, n) {
	if (n !== "content-only") {
		e.set(t);
		return;
	}
	Object.entries(t || {}).forEach(([t, n]) => {
		ln.includes(t.toLowerCase()) && e.set(t, n);
	});
}
var dn = (e) => encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi, (e, t) => String.fromCharCode(parseInt(t, 16)));
function fn(e) {
	let t = X({}, e), n = (e) => B.hasOwnProp(t, e) ? t[e] : void 0, r = n("data"), i = n("withXSRFToken"), a = n("xsrfHeaderName"), o = n("xsrfCookieName"), s = n("headers"), c = n("auth"), l = n("baseURL"), u = n("allowAbsoluteUrls"), d = n("url");
	if (t.headers = s = G.from(s), t.url = wt(sn(l, d, u, t), n("params"), n("paramsSerializer")), c) {
		let t = B.getSafeProp(c, "username") || "", n = B.getSafeProp(c, "password") || "";
		try {
			s.set("Authorization", "Basic " + btoa(t + ":" + (n ? dn(n) : "")));
		} catch (t) {
			throw K.from(t, K.ERR_BAD_OPTION_VALUE, e);
		}
	}
	if (B.isFormData(r) && (q.hasStandardBrowserEnv || q.hasStandardBrowserWebWorkerEnv || B.isReactNative(r) ? s.setContentType(void 0) : B.isFunction(r.getHeaders) && un(s, r.getHeaders(), n("formDataHeaderPolicy"))), q.hasStandardBrowserEnv && (B.isFunction(i) && (i = i(t)), i === !0 || i == null && Zt(t.url))) {
		let e = a && o && Qt.read(o);
		e && s.set(a, e);
	}
	return t;
}
var pn = typeof XMLHttpRequest < "u" && function(e) {
	return new Promise(function(t, n) {
		let r = fn(e), i = r.data, a = G.from(r.headers).normalize(), { responseType: o, onUploadProgress: s, onDownloadProgress: c } = r, l, u, d, f, p;
		function m() {
			f && f(), p && p(), r.cancelToken && r.cancelToken.unsubscribe(l), r.signal && r.signal.removeEventListener("abort", l);
		}
		let h = new XMLHttpRequest();
		h.open(r.method.toUpperCase(), r.url, !0), h.timeout = r.timeout;
		function g() {
			if (!h) return;
			let r = G.from("getAllResponseHeaders" in h && h.getAllResponseHeaders());
			Wt(function(e) {
				t(e), m();
			}, function(e) {
				n(e), m();
			}, {
				data: !o || o === "text" || o === "json" ? h.responseText : h.response,
				status: h.status,
				statusText: h.statusText,
				headers: r,
				config: e,
				request: h
			}), h = null;
		}
		"onloadend" in h ? h.onloadend = g : h.onreadystatechange = function() {
			!h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.startsWith("file:")) || setTimeout(g);
		}, h.onabort = function() {
			h &&= (n(new K("Request aborted", K.ECONNABORTED, e, h)), m(), null);
		}, h.onerror = function(t) {
			let r = new K(t && t.message ? t.message : "Network Error", K.ERR_NETWORK, e, h);
			r.event = t || null, n(r), m(), h = null;
		}, h.ontimeout = function() {
			let t = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded", i = r.transitional || Et;
			r.timeoutErrorMessage && (t = r.timeoutErrorMessage), n(new K(t, i.clarifyTimeoutError ? K.ETIMEDOUT : K.ECONNABORTED, e, h)), m(), h = null;
		}, i === void 0 && a.setContentType(null), "setRequestHeader" in h && B.forEach(nt(a), function(e, t) {
			h.setRequestHeader(t, e);
		}), B.isUndefined(r.withCredentials) || (h.withCredentials = !!r.withCredentials), o && o !== "json" && (h.responseType = r.responseType), c && ([d, p] = Jt(c, !0), h.addEventListener("progress", d)), s && h.upload && ([u, f] = Jt(s), h.upload.addEventListener("progress", u), h.upload.addEventListener("loadend", f)), (r.cancelToken || r.signal) && (l = (t) => {
			h &&= (n(!t || t.type ? new Y(null, e, h) : t), h.abort(), m(), null);
		}, r.cancelToken && r.cancelToken.subscribe(l), r.signal && (r.signal.aborted ? l() : r.signal.addEventListener("abort", l)));
		let _ = Gt(r.url);
		if (_ && !q.protocols.includes(_)) {
			n(new K("Unsupported protocol " + _ + ":", K.ERR_BAD_REQUEST, e)), m();
			return;
		}
		h.send(i || null);
	});
}, mn = (e, t) => {
	if (e = e ? e.filter(Boolean) : [], !t && !e.length) return;
	let n = new AbortController(), r = !1, i = function(e) {
		if (!r) {
			r = !0, o();
			let t = e instanceof Error ? e : this.reason;
			n.abort(t instanceof K ? t : new Y(t instanceof Error ? t.message : t));
		}
	}, a = t && setTimeout(() => {
		a = null, i(new K(`timeout of ${t}ms exceeded`, K.ETIMEDOUT));
	}, t), o = () => {
		e &&= (a && clearTimeout(a), a = null, e.forEach((e) => {
			e.unsubscribe ? e.unsubscribe(i) : e.removeEventListener("abort", i);
		}), null);
	};
	e.forEach((e) => e.addEventListener("abort", i, { once: !0 }));
	let { signal: s } = n;
	return s.unsubscribe = () => B.asap(o), s;
}, hn = function* (e, t) {
	let n = e.byteLength;
	if (!t || n < t) {
		yield e;
		return;
	}
	let r = 0, i;
	for (; r < n;) i = r + t, yield e.slice(r, i), r = i;
}, gn = async function* (e, t) {
	for await (let n of _n(e)) yield* hn(n, t);
}, _n = async function* (e) {
	if (e[Symbol.asyncIterator]) {
		yield* e;
		return;
	}
	let t = e.getReader();
	try {
		for (;;) {
			let { done: e, value: n } = await t.read();
			if (e) break;
			yield n;
		}
	} finally {
		await t.cancel();
	}
}, vn = (e, t, n, r) => {
	let i = gn(e, t), a = 0, o, s = (e) => {
		o || (o = !0, r && r(e));
	};
	return new ReadableStream({
		async pull(e) {
			try {
				let { done: t, value: r } = await i.next();
				if (t) {
					s(), e.close();
					return;
				}
				let o = r.byteLength;
				n && n(a += o), e.enqueue(new Uint8Array(r));
			} catch (e) {
				throw s(e), e;
			}
		},
		cancel(e) {
			return s(e), i.return();
		}
	}, { highWaterMark: 2 });
}, yn = (e) => e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102, bn = (e, t, n) => t + 2 < n && yn(e.charCodeAt(t + 1)) && yn(e.charCodeAt(t + 2));
function xn(e) {
	if (!e || typeof e != "string" || !e.startsWith("data:")) return 0;
	let t = e.indexOf(",");
	if (t < 0) return 0;
	let n = e.slice(5, t), r = e.slice(t + 1);
	if (/;base64/i.test(n)) {
		let e = r.length, t = r.length;
		for (let n = 0; n < t; n++) if (r.charCodeAt(n) === 37 && n + 2 < t) {
			let t = r.charCodeAt(n + 1), i = r.charCodeAt(n + 2);
			yn(t) && yn(i) && (e -= 2, n += 2);
		}
		let n = 0, i = t - 1, a = (e) => e >= 2 && r.charCodeAt(e - 2) === 37 && r.charCodeAt(e - 1) === 51 && (r.charCodeAt(e) === 68 || r.charCodeAt(e) === 100);
		i >= 0 && (r.charCodeAt(i) === 61 ? (n++, i--) : a(i) && (n++, i -= 3)), n === 1 && i >= 0 && (r.charCodeAt(i) === 61 || a(i)) && n++;
		let o = Math.floor(e / 4) * 3 - (n || 0);
		return o > 0 ? o : 0;
	}
	let i = 0;
	for (let e = 0, t = r.length; e < t; e++) {
		let n = r.charCodeAt(e);
		if (n === 37 && bn(r, e, t)) i += 1, e += 2;
		else if (n < 128) i += 1;
		else if (n < 2048) i += 2;
		else if (n >= 55296 && n <= 56319 && e + 1 < t) {
			let t = r.charCodeAt(e + 1);
			t >= 56320 && t <= 57343 ? (i += 4, e++) : i += 3;
		} else i += 3;
	}
	return i;
}
//#endregion
//#region node_modules/axios/lib/env/data.js
var Sn = "1.18.1", Cn = 64 * 1024, { isFunction: wn } = B, Tn = (e) => encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi, (e, t) => String.fromCharCode(parseInt(t, 16))), En = (e) => {
	if (!B.isString(e)) return e;
	try {
		return decodeURIComponent(e);
	} catch {
		return e;
	}
}, Dn = (e, ...t) => {
	try {
		return !!e(...t);
	} catch {
		return !1;
	}
}, On = (e) => {
	let t = e.indexOf("://"), n = e;
	return t !== -1 && (n = n.slice(t + 3)), n.includes("@") || n.includes(":");
}, kn = (e) => {
	let t = B.global !== void 0 && B.global !== null ? B.global : globalThis, { ReadableStream: n, TextEncoder: r } = t;
	e = B.merge.call({ skipUndefined: !0 }, {
		Request: t.Request,
		Response: t.Response
	}, e);
	let { fetch: i, Request: a, Response: o } = e, s = i ? wn(i) : typeof fetch == "function", c = wn(a), l = wn(o);
	if (!s) return !1;
	let u = s && wn(n), d = s && (typeof r == "function" ? ((e) => (t) => e.encode(t))(new r()) : async (e) => new Uint8Array(await new a(e).arrayBuffer())), f = c && u && Dn(() => {
		let e = !1, t = new a(q.origin, {
			body: new n(),
			method: "POST",
			get duplex() {
				return e = !0, "half";
			}
		}), r = t.headers.has("Content-Type");
		return t.body != null && t.body.cancel(), e && !r;
	}), p = l && u && Dn(() => B.isReadableStream(new o("").body)), m = { stream: p && ((e) => e.body) };
	s && [
		"text",
		"arrayBuffer",
		"blob",
		"formData",
		"stream"
	].forEach((e) => {
		!m[e] && (m[e] = (t, n) => {
			let r = t && t[e];
			if (r) return r.call(t);
			throw new K(`Response type '${e}' is not supported`, K.ERR_NOT_SUPPORT, n);
		});
	});
	let h = async (e) => {
		if (e == null) return 0;
		if (B.isBlob(e)) return e.size;
		if (B.isSpecCompliantForm(e)) return (await new a(q.origin, {
			method: "POST",
			body: e
		}).arrayBuffer()).byteLength;
		if (B.isArrayBufferView(e) || B.isArrayBuffer(e)) return e.byteLength;
		if (B.isURLSearchParams(e) && (e += ""), B.isString(e)) return (await d(e)).byteLength;
	}, g = async (e, t) => B.toFiniteNumber(e.getContentLength()) ?? h(t);
	return async (e) => {
		let { url: t, method: n, data: s, signal: l, cancelToken: d, timeout: _, onDownloadProgress: v, onUploadProgress: y, responseType: b, headers: x, withCredentials: S = "same-origin", fetchOptions: ee, maxContentLength: C, maxBodyLength: w } = fn(e), T = B.isNumber(C) && C > -1, te = B.isNumber(w) && w > -1, ne = (t) => B.hasOwnProp(e, t) ? e[t] : void 0, re = i || fetch;
		b = b ? (b + "").toLowerCase() : "text";
		let E = mn([l, d && d.toAbortSignal()], _), D = null, O = E && E.unsubscribe && (() => {
			E.unsubscribe();
		}), k, A = null, ie = () => new K("Request body larger than maxBodyLength limit", K.ERR_BAD_REQUEST, e, D);
		try {
			let i, l = ne("auth");
			if (l && (i = {
				username: B.getSafeProp(l, "username") || "",
				password: B.getSafeProp(l, "password") || ""
			}), On(t)) {
				let e = new URL(t, q.origin);
				!i && (e.username || e.password) && (i = {
					username: En(e.username),
					password: En(e.password)
				}), (e.username || e.password) && (e.username = "", e.password = "", t = e.href);
			}
			if (i && (x.delete("authorization"), x.set("Authorization", "Basic " + btoa(Tn((i.username || "") + ":" + (i.password || ""))))), T && typeof t == "string" && t.startsWith("data:") && xn(t) > C) throw new K("maxContentLength size of " + C + " exceeded", K.ERR_BAD_RESPONSE, e, D);
			if (te && n !== "get" && n !== "head") {
				let e = await h(s);
				if (typeof e == "number" && isFinite(e) && (k = e, e > w)) throw ie();
			}
			let d = te && (B.isReadableStream(s) || B.isStream(s)), _ = (e, t, n) => vn(e, Cn, (e) => {
				if (te && e > w) throw A = ie();
				t && t(e);
			}, n);
			if (f && n !== "get" && n !== "head" && (y || d)) {
				if (k ??= await g(x, s), k !== 0 || d) {
					let e = new a(t, {
						method: "POST",
						body: s,
						duplex: "half"
					}), n;
					if (B.isFormData(s) && (n = e.headers.get("content-type")) && x.setContentType(n), e.body) {
						let [t, n] = y && Yt(k, Jt(Xt(y))) || [];
						s = _(e.body, t, n);
					}
				}
			} else if (d && !c && u && n !== "get" && n !== "head") s = _(s);
			else if (d && c && !f && n !== "get" && n !== "head") throw new K("Stream request bodies are not supported by the current fetch implementation", K.ERR_NOT_SUPPORT, e, D);
			B.isString(S) || (S = S ? "include" : "omit");
			let ae = c && "credentials" in a.prototype;
			if (B.isFormData(s)) {
				let e = x.getContentType();
				e && /^multipart\/form-data/i.test(e) && !/boundary=/i.test(e) && x.delete("content-type");
			}
			x.set("User-Agent", "axios/" + Sn, !1);
			let oe = {
				...ee,
				signal: E,
				method: n.toUpperCase(),
				headers: nt(x.normalize()),
				body: s,
				duplex: "half",
				credentials: ae ? S : void 0
			};
			D = c && new a(t, oe);
			let j = await (c ? re(D, ee) : re(t, oe)), se = G.from(j.headers);
			if (T) {
				let t = B.toFiniteNumber(se.getContentLength());
				if (t != null && t > C) throw new K("maxContentLength size of " + C + " exceeded", K.ERR_BAD_RESPONSE, e, D);
			}
			let M = p && (b === "stream" || b === "response");
			if (p && j.body && (v || T || M && O)) {
				let t = {};
				[
					"status",
					"statusText",
					"headers"
				].forEach((e) => {
					t[e] = j[e];
				});
				let n = B.toFiniteNumber(se.getContentLength()), [r, i] = v && Yt(n, Jt(Xt(v), !0)) || [], a = 0;
				j = new o(vn(j.body, Cn, (t) => {
					if (T && (a = t, a > C)) throw new K("maxContentLength size of " + C + " exceeded", K.ERR_BAD_RESPONSE, e, D);
					r && r(t);
				}, () => {
					i && i(), O && O();
				}), t);
			}
			b ||= "text";
			let N = await m[B.findKey(m, b) || "text"](j, e);
			if (T && !p && !M) {
				let t;
				if (N != null && (typeof N.byteLength == "number" ? t = N.byteLength : typeof N.size == "number" ? t = N.size : typeof N == "string" && (t = typeof r == "function" ? new r().encode(N).byteLength : N.length)), typeof t == "number" && t > C) throw new K("maxContentLength size of " + C + " exceeded", K.ERR_BAD_RESPONSE, e, D);
			}
			return !M && O && O(), await new Promise((t, n) => {
				Wt(t, n, {
					data: N,
					headers: G.from(j.headers),
					status: j.status,
					statusText: j.statusText,
					config: e,
					request: D
				});
			});
		} catch (t) {
			if (O && O(), E && E.aborted && E.reason instanceof K) {
				let n = E.reason;
				throw n.config = e, D && (n.request = D), t !== n && Object.defineProperty(n, "cause", {
					__proto__: null,
					value: t,
					writable: !0,
					enumerable: !1,
					configurable: !0
				}), n;
			}
			if (A) throw D && !A.request && (A.request = D), A;
			if (t instanceof K) throw D && !t.request && (t.request = D), t;
			if (t && t.name === "TypeError" && /Load failed|fetch/i.test(t.message)) {
				let n = new K("Network Error", K.ERR_NETWORK, e, D, t && t.response);
				throw Object.defineProperty(n, "cause", {
					__proto__: null,
					value: t.cause || t,
					writable: !0,
					enumerable: !1,
					configurable: !0
				}), n;
			}
			throw K.from(t, t && t.code, e, D, t && t.response);
		}
	};
}, An = /* @__PURE__ */ new Map(), jn = (e) => {
	let t = e && e.env || {}, { fetch: n, Request: r, Response: i } = t, a = [
		r,
		i,
		n
	], o = a.length, s, c, l = An;
	for (; o--;) s = a[o], c = l.get(s), c === void 0 && l.set(s, c = o ? /* @__PURE__ */ new Map() : kn(t)), l = c;
	return c;
};
jn();
//#endregion
//#region node_modules/axios/lib/adapters/adapters.js
var Mn = {
	http: null,
	xhr: pn,
	fetch: { get: jn }
};
B.forEach(Mn, (e, t) => {
	if (e) {
		try {
			Object.defineProperty(e, "name", {
				__proto__: null,
				value: t
			});
		} catch {}
		Object.defineProperty(e, "adapterName", {
			__proto__: null,
			value: t
		});
	}
});
var Nn = (e) => `- ${e}`, Pn = (e) => B.isFunction(e) || e === null || e === !1;
function Fn(e, t) {
	e = B.isArray(e) ? e : [e];
	let { length: n } = e, r, i, a = {};
	for (let o = 0; o < n; o++) {
		r = e[o];
		let n;
		if (i = r, !Pn(r) && (i = Mn[(n = String(r)).toLowerCase()], i === void 0)) throw new K(`Unknown adapter '${n}'`);
		if (i && (B.isFunction(i) || (i = i.get(t)))) break;
		a[n || "#" + o] = i;
	}
	if (!i) {
		let e = Object.entries(a).map(([e, t]) => `adapter ${e} ` + (t === !1 ? "is not supported by the environment" : "is not available in the build"));
		throw new K("There is no suitable adapter to dispatch the request " + (n ? e.length > 1 ? "since :\n" + e.map(Nn).join("\n") : " " + Nn(e[0]) : "as no adapter specified"), K.ERR_NOT_SUPPORT);
	}
	return i;
}
var In = {
	getAdapter: Fn,
	adapters: Mn
};
//#endregion
//#region node_modules/axios/lib/core/dispatchRequest.js
function Ln(e) {
	if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted) throw new Y(null, e);
}
function Rn(e) {
	return Ln(e), e.headers = G.from(e.headers), e.data = Ht.call(e, e.transformRequest), [
		"post",
		"put",
		"patch"
	].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), In.getAdapter(e.adapter || Vt.adapter, e)(e).then(function(t) {
		Ln(e), e.response = t;
		try {
			t.data = Ht.call(e, e.transformResponse, t);
		} finally {
			delete e.response;
		}
		return t.headers = G.from(t.headers), t;
	}, function(t) {
		if (!Ut(t) && (Ln(e), t && t.response)) {
			e.response = t.response;
			try {
				t.response.data = Ht.call(e, e.transformResponse, t.response);
			} finally {
				delete e.response;
			}
			t.response.headers = G.from(t.response.headers);
		}
		return Promise.reject(t);
	});
}
//#endregion
//#region node_modules/axios/lib/helpers/validator.js
var zn = {};
[
	"object",
	"boolean",
	"number",
	"function",
	"string",
	"symbol"
].forEach((e, t) => {
	zn[e] = function(n) {
		return typeof n === e || "a" + (t < 1 ? "n " : " ") + e;
	};
});
var Bn = {};
zn.transitional = function(e, t, n) {
	function r(e, t) {
		return "[Axios v" + Sn + "] Transitional option '" + e + "'" + t + (n ? ". " + n : "");
	}
	return (n, i, a) => {
		if (e === !1) throw new K(r(i, " has been removed" + (t ? " in " + t : "")), K.ERR_DEPRECATED);
		return t && !Bn[i] && (Bn[i] = !0, console.warn(r(i, " has been deprecated since v" + t + " and will be removed in the near future"))), e ? e(n, i, a) : !0;
	};
}, zn.spelling = function(e) {
	return (t, n) => (console.warn(`${n} is likely a misspelling of ${e}`), !0);
};
function Vn(e, t, n) {
	if (typeof e != "object" || !e) throw new K("options must be an object", K.ERR_BAD_OPTION_VALUE);
	let r = Object.keys(e), i = r.length;
	for (; i-- > 0;) {
		let a = r[i], o = Object.prototype.hasOwnProperty.call(t, a) ? t[a] : void 0;
		if (o) {
			let t = e[a], n = t === void 0 || o(t, a, e);
			if (n !== !0) throw new K("option " + a + " must be " + n, K.ERR_BAD_OPTION_VALUE);
			continue;
		}
		if (n !== !0) throw new K("Unknown option " + a, K.ERR_BAD_OPTION);
	}
}
var Hn = {
	assertOptions: Vn,
	validators: zn
}, Z = Hn.validators, Q = class {
	constructor(e) {
		this.defaults = e || {}, this.interceptors = {
			request: new Tt(),
			response: new Tt()
		};
	}
	async request(e, t) {
		try {
			return await this._request(e, t);
		} catch (e) {
			if (e instanceof Error) {
				let t = {};
				Error.captureStackTrace ? Error.captureStackTrace(t) : t = /* @__PURE__ */ Error();
				let n = (() => {
					if (!t.stack) return "";
					let e = t.stack.indexOf("\n");
					return e === -1 ? "" : t.stack.slice(e + 1);
				})();
				try {
					if (!e.stack) e.stack = n;
					else if (n) {
						let t = n.indexOf("\n"), r = t === -1 ? -1 : n.indexOf("\n", t + 1), i = r === -1 ? "" : n.slice(r + 1);
						String(e.stack).endsWith(i) || (e.stack += "\n" + n);
					}
				} catch {}
			}
			throw e;
		}
	}
	_request(e, t) {
		typeof e == "string" ? (t ||= {}, t.url = e) : t = e || {}, t = X(this.defaults, t);
		let { transitional: n, paramsSerializer: r, headers: i } = t;
		n !== void 0 && Hn.assertOptions(n, {
			silentJSONParsing: Z.transitional(Z.boolean),
			forcedJSONParsing: Z.transitional(Z.boolean),
			clarifyTimeoutError: Z.transitional(Z.boolean),
			legacyInterceptorReqResOrdering: Z.transitional(Z.boolean),
			advertiseZstdAcceptEncoding: Z.transitional(Z.boolean),
			validateStatusUndefinedResolves: Z.transitional(Z.boolean)
		}, !1), r != null && (B.isFunction(r) ? t.paramsSerializer = { serialize: r } : Hn.assertOptions(r, {
			encode: Z.function,
			serialize: Z.function
		}, !0)), t.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls === void 0 ? t.allowAbsoluteUrls = !0 : t.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls), Hn.assertOptions(t, {
			baseUrl: Z.spelling("baseURL"),
			withXsrfToken: Z.spelling("withXSRFToken")
		}, !0), t.method = (t.method || this.defaults.method || "get").toLowerCase();
		let a = i && B.merge(i.common, i[t.method]);
		i && B.forEach([
			"delete",
			"get",
			"head",
			"post",
			"put",
			"patch",
			"query",
			"common"
		], (e) => {
			delete i[e];
		}), t.headers = G.concat(a, i);
		let o = [], s = !0;
		this.interceptors.request.forEach(function(e) {
			if (typeof e.runWhen == "function" && e.runWhen(t) === !1) return;
			s &&= e.synchronous;
			let n = t.transitional || Et;
			n && n.legacyInterceptorReqResOrdering ? o.unshift(e.fulfilled, e.rejected) : o.push(e.fulfilled, e.rejected);
		});
		let c = [];
		this.interceptors.response.forEach(function(e) {
			c.push(e.fulfilled, e.rejected);
		});
		let l, u = 0, d;
		if (!s) {
			let e = [Rn.bind(this), void 0];
			for (e.unshift(...o), e.push(...c), d = e.length, l = Promise.resolve(t); u < d;) l = l.then(e[u++], e[u++]);
			return l;
		}
		d = o.length;
		let f = t;
		for (; u < d;) {
			let e = o[u++], t = o[u++];
			try {
				f = e(f);
			} catch (e) {
				t.call(this, e);
				break;
			}
		}
		try {
			l = Rn.call(this, f);
		} catch (e) {
			return Promise.reject(e);
		}
		for (u = 0, d = c.length; u < d;) l = l.then(c[u++], c[u++]);
		return l;
	}
	getUri(e) {
		return e = X(this.defaults, e), wt(sn(e.baseURL, e.url, e.allowAbsoluteUrls, e), e.params, e.paramsSerializer);
	}
};
B.forEach([
	"delete",
	"get",
	"head",
	"options"
], function(e) {
	Q.prototype[e] = function(t, n) {
		return this.request(X(n || {}, {
			method: e,
			url: t,
			data: n && B.hasOwnProp(n, "data") ? n.data : void 0
		}));
	};
}), B.forEach([
	"post",
	"put",
	"patch",
	"query"
], function(e) {
	function t(t) {
		return function(n, r, i) {
			return this.request(X(i || {}, {
				method: e,
				headers: t ? { "Content-Type": "multipart/form-data" } : {},
				url: n,
				data: r
			}));
		};
	}
	Q.prototype[e] = t(), e !== "query" && (Q.prototype[e + "Form"] = t(!0));
});
//#endregion
//#region node_modules/axios/lib/cancel/CancelToken.js
var Un = class e {
	constructor(e) {
		if (typeof e != "function") throw TypeError("executor must be a function.");
		let t;
		this.promise = new Promise(function(e) {
			t = e;
		});
		let n = this;
		this.promise.then((e) => {
			if (!n._listeners) return;
			let t = n._listeners.length;
			for (; t-- > 0;) n._listeners[t](e);
			n._listeners = null;
		}), this.promise.then = (e) => {
			let t, r = new Promise((e) => {
				n.subscribe(e), t = e;
			}).then(e);
			return r.cancel = function() {
				n.unsubscribe(t);
			}, r;
		}, e(function(e, r, i) {
			n.reason || (n.reason = new Y(e, r, i), t(n.reason));
		});
	}
	throwIfRequested() {
		if (this.reason) throw this.reason;
	}
	subscribe(e) {
		if (this.reason) {
			e(this.reason);
			return;
		}
		this._listeners ? this._listeners.push(e) : this._listeners = [e];
	}
	unsubscribe(e) {
		if (!this._listeners) return;
		let t = this._listeners.indexOf(e);
		t !== -1 && this._listeners.splice(t, 1);
	}
	toAbortSignal() {
		let e = new AbortController(), t = (t) => {
			e.abort(t);
		};
		return this.subscribe(t), e.signal.unsubscribe = () => this.unsubscribe(t), e.signal;
	}
	static source() {
		let t;
		return {
			token: new e(function(e) {
				t = e;
			}),
			cancel: t
		};
	}
};
//#endregion
//#region node_modules/axios/lib/helpers/spread.js
function Wn(e) {
	return function(t) {
		return e.apply(null, t);
	};
}
//#endregion
//#region node_modules/axios/lib/helpers/isAxiosError.js
function Gn(e) {
	return B.isObject(e) && e.isAxiosError === !0;
}
//#endregion
//#region node_modules/axios/lib/helpers/HttpStatusCode.js
var Kn = {
	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,
	WebServerIsDown: 521,
	ConnectionTimedOut: 522,
	OriginIsUnreachable: 523,
	TimeoutOccurred: 524,
	SslHandshakeFailed: 525,
	InvalidSslCertificate: 526
};
Object.entries(Kn).forEach(([e, t]) => {
	Kn[t] = e;
});
//#endregion
//#region node_modules/axios/lib/axios.js
function qn(e) {
	let t = new Q(e), n = a(Q.prototype.request, t);
	return B.extend(n, Q.prototype, t, { allOwnKeys: !0 }), B.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(t) {
		return qn(X(e, t));
	}, n;
}
var $ = qn(Vt);
$.Axios = Q, $.CanceledError = Y, $.CancelToken = Un, $.isCancel = Ut, $.VERSION = Sn, $.toFormData = yt, $.AxiosError = K, $.Cancel = $.CanceledError, $.all = function(e) {
	return Promise.all(e);
}, $.spread = Wn, $.isAxiosError = Gn, $.mergeConfig = X, $.AxiosHeaders = G, $.formToJSON = (e) => zt(B.isHTMLForm(e) ? new FormData(e) : e), $.getAdapter = In.getAdapter, $.HttpStatusCode = Kn, $.default = $;
//#endregion
//#region packages/api-services/src/api/axios/generateInstance.ts
var Jn = ({ interceptors: e, baseURL: t, ...n } = {}) => {
	let r = $.create({
		baseURL: t,
		headers: { "X-Webitel-Access": localStorage.getItem("access-token") || "" },
		...n
	});
	if (e) {
		let { request: t, response: n } = e;
		if (t) for (let e of t) r.interceptors.request.use(...e);
		if (n) for (let e of n) r.interceptors.response.use(...e);
	}
	return r;
};
//#endregion
export { $ as n, Jn as t };
