import { t as e } from "./rolldown-runtime-BEcgMyyN.js";
import { n as t, t as n } from "./dist-CAOIU8xq.js";
//#region node_modules/es-errors/type.js
var r = /* @__PURE__ */ e(((e, t) => {
	t.exports = TypeError;
})), i = /* @__PURE__ */ e(((e, t) => {
	t.exports = {};
})), a = /* @__PURE__ */ e(((e, r) => {
	t();
	var a = typeof Map == "function" && Map.prototype, o = Object.getOwnPropertyDescriptor && a ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, s = a && o && typeof o.get == "function" ? o.get : null, c = a && Map.prototype.forEach, l = typeof Set == "function" && Set.prototype, u = Object.getOwnPropertyDescriptor && l ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, d = l && u && typeof u.get == "function" ? u.get : null, f = l && Set.prototype.forEach, p = typeof WeakMap == "function" && WeakMap.prototype ? WeakMap.prototype.has : null, m = typeof WeakSet == "function" && WeakSet.prototype ? WeakSet.prototype.has : null, h = typeof WeakRef == "function" && WeakRef.prototype ? WeakRef.prototype.deref : null, ee = Boolean.prototype.valueOf, g = Object.prototype.toString, _ = Function.prototype.toString, te = String.prototype.match, v = String.prototype.slice, y = String.prototype.replace, b = String.prototype.toUpperCase, x = String.prototype.toLowerCase, S = RegExp.prototype.test, C = Array.prototype.concat, w = Array.prototype.join, ne = Array.prototype.slice, T = Math.floor, E = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, D = Object.getOwnPropertySymbols, O = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, k = typeof Symbol == "function" && typeof Symbol.iterator == "object", A = typeof Symbol == "function" && Symbol.toStringTag ? Symbol.toStringTag : null, j = Object.prototype.propertyIsEnumerable, M = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(e) {
		return e.__proto__;
	} : null);
	function N(e, t) {
		if (e === Infinity || e === -Infinity || e !== e || e && e > -1e3 && e < 1e3 || S.call(/e/, t)) return t;
		var n = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
		if (typeof e == "number") {
			var r = e < 0 ? -T(-e) : T(e);
			if (r !== e) {
				var i = String(r), a = v.call(t, i.length + 1);
				return y.call(i, n, "$&_") + "." + y.call(y.call(a, /([0-9]{3})/g, "$&_"), /_$/, "");
			}
		}
		return y.call(t, n, "$&_");
	}
	var P = i(), F = P.custom, I = oe(F) ? F : null, L = {
		__proto__: null,
		double: "\"",
		single: "'"
	}, R = {
		__proto__: null,
		double: /(["\\])/g,
		single: /(['\\])/g
	};
	r.exports = function e(t, r, i, a) {
		var o = r || {};
		if (q(o, "quoteStyle") && !q(L, o.quoteStyle)) throw TypeError("option \"quoteStyle\" must be \"single\" or \"double\"");
		if (q(o, "maxStringLength") && (typeof o.maxStringLength == "number" ? o.maxStringLength < 0 && o.maxStringLength !== Infinity : o.maxStringLength !== null)) throw TypeError("option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`");
		var l = q(o, "customInspect") ? o.customInspect : !0;
		if (typeof l != "boolean" && l !== "symbol") throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
		if (q(o, "indent") && o.indent !== null && o.indent !== "	" && !(parseInt(o.indent, 10) === o.indent && o.indent > 0)) throw TypeError("option \"indent\" must be \"\\t\", an integer > 0, or `null`");
		if (q(o, "numericSeparator") && typeof o.numericSeparator != "boolean") throw TypeError("option \"numericSeparator\", if provided, must be `true` or `false`");
		var u = o.numericSeparator;
		if (t === void 0) return "undefined";
		if (t === null) return "null";
		if (typeof t == "boolean") return t ? "true" : "false";
		if (typeof t == "string") return Q(t, o);
		if (typeof t == "number") {
			if (t === 0) return Infinity / t > 0 ? "0" : "-0";
			var p = String(t);
			return u ? N(t, p) : p;
		}
		if (typeof t == "bigint") {
			var m = String(t) + "n";
			return u ? N(t, m) : m;
		}
		var h = o.depth === void 0 ? 5 : o.depth;
		if (i === void 0 && (i = 0), i >= h && h > 0 && typeof t == "object") return H(t) ? "[Array]" : "[Object]";
		var g = _e(o, i);
		if (a === void 0) a = [];
		else if (ce(a, t) >= 0) return "[Circular]";
		function _(t, n, r) {
			if (n && (a = ne.call(a), a.push(n)), r) {
				var s = { depth: o.depth };
				return q(o, "quoteStyle") && (s.quoteStyle = o.quoteStyle), e(t, s, i + 1, a);
			}
			return e(t, o, i + 1, a);
		}
		if (typeof t == "function" && !U(t)) {
			var te = Y(t), b = ye(t, _);
			return "[Function" + (te ? ": " + te : " (anonymous)") + "]" + (b.length > 0 ? " { " + w.call(b, ", ") + " }" : "");
		}
		if (oe(t)) {
			var S = k ? y.call(String(t), /^(Symbol\(.*\))_[^)]*$/, "$1") : O.call(t);
			return typeof t == "object" && !k ? $(S) : S;
		}
		if (fe(t)) {
			for (var T = "<" + x.call(String(t.nodeName)), D = t.attributes || [], F = 0; F < D.length; F++) T += " " + D[F].name + "=" + z(B(D[F].value), "double", o);
			return T += ">", t.childNodes && t.childNodes.length && (T += "..."), T += "</" + x.call(String(t.nodeName)) + ">", T;
		}
		if (H(t)) {
			if (t.length === 0) return "[]";
			var R = ye(t, _);
			return g && !ge(R) ? "[" + ve(R, g) + "]" : "[ " + w.call(R, ", ") + " ]";
		}
		if (ie(t)) {
			var V = ye(t, _);
			return !("cause" in Error.prototype) && "cause" in t && !j.call(t, "cause") ? "{ [" + String(t) + "] " + w.call(C.call("[cause]: " + _(t.cause), V), ", ") + " }" : V.length === 0 ? "[" + String(t) + "]" : "{ [" + String(t) + "] " + w.call(V, ", ") + " }";
		}
		if (typeof t == "object" && l) {
			if (I && typeof t[I] == "function" && P) return P(t, { depth: h - i });
			if (l !== "symbol" && typeof t.inspect == "function") return t.inspect();
		}
		if (le(t)) {
			var K = [];
			return c && c.call(t, function(e, n) {
				K.push(_(n, t, !0) + " => " + _(e, t));
			}), he("Map", s.call(t), K, g);
		}
		if (ue(t)) {
			var pe = [];
			return f && f.call(t, function(e) {
				pe.push(_(e, t));
			}), he("Set", d.call(t), pe, g);
		}
		if (X(t)) return me("WeakMap");
		if (de(t)) return me("WeakSet");
		if (Z(t)) return me("WeakRef");
		if (G(t)) return $(_(Number(t)));
		if (se(t)) return $(_(E.call(t)));
		if (ae(t)) return $(ee.call(t));
		if (W(t)) return $(_(String(t)));
		if (typeof window < "u" && t === window) return "{ [object Window] }";
		if (typeof globalThis < "u" && t === globalThis || n !== void 0 && t === n) return "{ [object globalThis] }";
		if (!re(t) && !U(t)) {
			var be = ye(t, _), xe = M ? M(t) === Object.prototype : t instanceof Object || t.constructor === Object, Se = t instanceof Object ? "" : "null prototype", Ce = !xe && A && Object(t) === t && A in t ? v.call(J(t), 8, -1) : Se ? "Object" : "", we = (xe || typeof t.constructor != "function" ? "" : t.constructor.name ? t.constructor.name + " " : "") + (Ce || Se ? "[" + w.call(C.call([], Ce || [], Se || []), ": ") + "] " : "");
			return be.length === 0 ? we + "{}" : g ? we + "{" + ve(be, g) + "}" : we + "{ " + w.call(be, ", ") + " }";
		}
		return String(t);
	};
	function z(e, t, n) {
		var r = L[n.quoteStyle || t];
		return r + e + r;
	}
	function B(e) {
		return y.call(String(e), /"/g, "&quot;");
	}
	function V(e) {
		return !A || !(typeof e == "object" && (A in e || e[A] !== void 0));
	}
	function H(e) {
		return J(e) === "[object Array]" && V(e);
	}
	function re(e) {
		return J(e) === "[object Date]" && V(e);
	}
	function U(e) {
		return J(e) === "[object RegExp]" && V(e);
	}
	function ie(e) {
		return J(e) === "[object Error]" && V(e);
	}
	function W(e) {
		return J(e) === "[object String]" && V(e);
	}
	function G(e) {
		return J(e) === "[object Number]" && V(e);
	}
	function ae(e) {
		return J(e) === "[object Boolean]" && V(e);
	}
	function oe(e) {
		if (k) return e && typeof e == "object" && e instanceof Symbol;
		if (typeof e == "symbol") return !0;
		if (!e || typeof e != "object" || !O) return !1;
		try {
			return O.call(e), !0;
		} catch {}
		return !1;
	}
	function se(e) {
		if (!e || typeof e != "object" || !E) return !1;
		try {
			return E.call(e), !0;
		} catch {}
		return !1;
	}
	var K = Object.prototype.hasOwnProperty || function(e) {
		return e in this;
	};
	function q(e, t) {
		return K.call(e, t);
	}
	function J(e) {
		return g.call(e);
	}
	function Y(e) {
		if (e.name) return e.name;
		var t = te.call(_.call(e), /^function\s*([\w$]+)/);
		return t ? t[1] : null;
	}
	function ce(e, t) {
		if (e.indexOf) return e.indexOf(t);
		for (var n = 0, r = e.length; n < r; n++) if (e[n] === t) return n;
		return -1;
	}
	function le(e) {
		if (!s || !e || typeof e != "object") return !1;
		try {
			s.call(e);
			try {
				d.call(e);
			} catch {
				return !0;
			}
			return e instanceof Map;
		} catch {}
		return !1;
	}
	function X(e) {
		if (!p || !e || typeof e != "object") return !1;
		try {
			p.call(e, p);
			try {
				m.call(e, m);
			} catch {
				return !0;
			}
			return e instanceof WeakMap;
		} catch {}
		return !1;
	}
	function Z(e) {
		if (!h || !e || typeof e != "object") return !1;
		try {
			return h.call(e), !0;
		} catch {}
		return !1;
	}
	function ue(e) {
		if (!d || !e || typeof e != "object") return !1;
		try {
			d.call(e);
			try {
				s.call(e);
			} catch {
				return !0;
			}
			return e instanceof Set;
		} catch {}
		return !1;
	}
	function de(e) {
		if (!m || !e || typeof e != "object") return !1;
		try {
			m.call(e, m);
			try {
				p.call(e, p);
			} catch {
				return !0;
			}
			return e instanceof WeakSet;
		} catch {}
		return !1;
	}
	function fe(e) {
		return !e || typeof e != "object" ? !1 : typeof HTMLElement < "u" && e instanceof HTMLElement ? !0 : typeof e.nodeName == "string" && typeof e.getAttribute == "function";
	}
	function Q(e, t) {
		if (e.length > t.maxStringLength) {
			var n = e.length - t.maxStringLength, r = "... " + n + " more character" + (n > 1 ? "s" : "");
			return Q(v.call(e, 0, t.maxStringLength), t) + r;
		}
		var i = R[t.quoteStyle || "single"];
		return i.lastIndex = 0, z(y.call(y.call(e, i, "\\$1"), /[\x00-\x1f]/g, pe), "single", t);
	}
	function pe(e) {
		var t = e.charCodeAt(0), n = {
			8: "b",
			9: "t",
			10: "n",
			12: "f",
			13: "r"
		}[t];
		return n ? "\\" + n : "\\x" + (t < 16 ? "0" : "") + b.call(t.toString(16));
	}
	function $(e) {
		return "Object(" + e + ")";
	}
	function me(e) {
		return e + " { ? }";
	}
	function he(e, t, n, r) {
		var i = r ? ve(n, r) : w.call(n, ", ");
		return e + " (" + t + ") {" + i + "}";
	}
	function ge(e) {
		for (var t = 0; t < e.length; t++) if (ce(e[t], "\n") >= 0) return !1;
		return !0;
	}
	function _e(e, t) {
		var n;
		if (e.indent === "	") n = "	";
		else if (typeof e.indent == "number" && e.indent > 0) n = w.call(Array(e.indent + 1), " ");
		else return null;
		return {
			base: n,
			prev: w.call(Array(t + 1), n)
		};
	}
	function ve(e, t) {
		if (e.length === 0) return "";
		var n = "\n" + t.prev + t.base;
		return n + w.call(e, "," + n) + "\n" + t.prev;
	}
	function ye(e, t) {
		var n = H(e), r = [];
		if (n) {
			r.length = e.length;
			for (var i = 0; i < e.length; i++) r[i] = q(e, i) ? t(e[i], e) : "";
		}
		var a = typeof D == "function" ? D(e) : [], o;
		if (k) {
			o = {};
			for (var s = 0; s < a.length; s++) o["$" + a[s]] = a[s];
		}
		for (var c in e) q(e, c) && (n && String(Number(c)) === c && c < e.length || k && o["$" + c] instanceof Symbol || (S.call(/[^\w$]/, c) ? r.push(t(c, e) + ": " + t(e[c], e)) : r.push(c + ": " + t(e[c], e))));
		if (typeof D == "function") for (var l = 0; l < a.length; l++) j.call(e, a[l]) && r.push("[" + t(a[l]) + "]: " + t(e[a[l]], e));
		return r;
	}
})), o = /* @__PURE__ */ e(((e, t) => {
	var n = a(), i = r(), o = function(e, t, n) {
		for (var r = e, i; (i = r.next) != null; r = i) if (i.key === t) return r.next = i.next, n || (i.next = e.next, e.next = i), i;
	}, s = function(e, t) {
		if (e) {
			var n = o(e, t);
			return n && n.value;
		}
	}, c = function(e, t, n) {
		var r = o(e, t);
		r ? r.value = n : e.next = {
			key: t,
			next: e.next,
			value: n
		};
	}, l = function(e, t) {
		return e ? !!o(e, t) : !1;
	}, u = function(e, t) {
		if (e) return o(e, t, !0);
	};
	t.exports = function() {
		var e, t = {
			assert: function(e) {
				if (!t.has(e)) throw new i("Side channel does not contain " + n(e));
			},
			delete: function(t) {
				var n = u(e, t);
				return n && e && !e.next && (e = void 0), !!n;
			},
			get: function(t) {
				return s(e, t);
			},
			has: function(t) {
				return l(e, t);
			},
			set: function(t, n) {
				e ||= { next: void 0 }, c(e, t, n);
			}
		};
		return t;
	};
})), s = /* @__PURE__ */ e(((e, t) => {
	t.exports = Object;
})), c = /* @__PURE__ */ e(((e, t) => {
	t.exports = Error;
})), l = /* @__PURE__ */ e(((e, t) => {
	t.exports = EvalError;
})), u = /* @__PURE__ */ e(((e, t) => {
	t.exports = RangeError;
})), d = /* @__PURE__ */ e(((e, t) => {
	t.exports = ReferenceError;
})), f = /* @__PURE__ */ e(((e, t) => {
	t.exports = SyntaxError;
})), p = /* @__PURE__ */ e(((e, t) => {
	t.exports = URIError;
})), m = /* @__PURE__ */ e(((e, t) => {
	t.exports = Math.abs;
})), h = /* @__PURE__ */ e(((e, t) => {
	t.exports = Math.floor;
})), ee = /* @__PURE__ */ e(((e, t) => {
	t.exports = Math.max;
})), g = /* @__PURE__ */ e(((e, t) => {
	t.exports = Math.min;
})), _ = /* @__PURE__ */ e(((e, t) => {
	t.exports = Math.pow;
})), te = /* @__PURE__ */ e(((e, t) => {
	t.exports = Math.round;
})), v = /* @__PURE__ */ e(((e, t) => {
	t.exports = Number.isNaN || function(e) {
		return e !== e;
	};
})), y = /* @__PURE__ */ e(((e, t) => {
	var n = v();
	t.exports = function(e) {
		return n(e) || e === 0 ? e : e < 0 ? -1 : 1;
	};
})), b = /* @__PURE__ */ e(((e, t) => {
	t.exports = Object.getOwnPropertyDescriptor;
})), x = /* @__PURE__ */ e(((e, t) => {
	var n = b();
	if (n) try {
		n([], "length");
	} catch {
		n = null;
	}
	t.exports = n;
})), S = /* @__PURE__ */ e(((e, t) => {
	var n = Object.defineProperty || !1;
	if (n) try {
		n({}, "a", { value: 1 });
	} catch {
		n = !1;
	}
	t.exports = n;
})), C = /* @__PURE__ */ e(((e, t) => {
	t.exports = function() {
		if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") return !1;
		if (typeof Symbol.iterator == "symbol") return !0;
		var e = {}, t = Symbol("test"), n = Object(t);
		if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(n) !== "[object Symbol]") return !1;
		var r = 42;
		for (var i in e[t] = r, e) return !1;
		if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) return !1;
		var a = Object.getOwnPropertySymbols(e);
		if (a.length !== 1 || a[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) return !1;
		if (typeof Object.getOwnPropertyDescriptor == "function") {
			var o = Object.getOwnPropertyDescriptor(e, t);
			if (o.value !== r || o.enumerable !== !0) return !1;
		}
		return !0;
	};
})), w = /* @__PURE__ */ e(((e, t) => {
	var n = typeof Symbol < "u" && Symbol, r = C();
	t.exports = function() {
		return typeof n != "function" || typeof Symbol != "function" || typeof n("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : r();
	};
})), ne = /* @__PURE__ */ e(((e, t) => {
	t.exports = typeof Reflect < "u" && Reflect.getPrototypeOf || null;
})), T = /* @__PURE__ */ e(((e, t) => {
	t.exports = s().getPrototypeOf || null;
})), E = /* @__PURE__ */ e(((e, t) => {
	var n = Object.prototype.toString, r = Math.max, i = "[object Function]", a = function(e, t) {
		for (var n = [], r = 0; r < e.length; r += 1) n[r] = e[r];
		for (var i = 0; i < t.length; i += 1) n[i + e.length] = t[i];
		return n;
	}, o = function(e, t) {
		for (var n = [], r = t || 0, i = 0; r < e.length; r += 1, i += 1) n[i] = e[r];
		return n;
	}, s = function(e, t) {
		for (var n = "", r = 0; r < e.length; r += 1) n += e[r], r + 1 < e.length && (n += t);
		return n;
	};
	t.exports = function(e) {
		var t = this;
		if (typeof t != "function" || n.apply(t) !== i) throw TypeError("Function.prototype.bind called on incompatible " + t);
		for (var c = o(arguments, 1), l, u = function() {
			if (this instanceof l) {
				var n = t.apply(this, a(c, arguments));
				return Object(n) === n ? n : this;
			}
			return t.apply(e, a(c, arguments));
		}, d = r(0, t.length - c.length), f = [], p = 0; p < d; p++) f[p] = "$" + p;
		if (l = Function("binder", "return function (" + s(f, ",") + "){ return binder.apply(this,arguments); }")(u), t.prototype) {
			var m = function() {};
			m.prototype = t.prototype, l.prototype = new m(), m.prototype = null;
		}
		return l;
	};
})), D = /* @__PURE__ */ e(((e, t) => {
	var n = E();
	t.exports = Function.prototype.bind || n;
})), O = /* @__PURE__ */ e(((e, t) => {
	t.exports = Function.prototype.call;
})), k = /* @__PURE__ */ e(((e, t) => {
	t.exports = Function.prototype.apply;
})), A = /* @__PURE__ */ e(((e, t) => {
	t.exports = typeof Reflect < "u" && Reflect && Reflect.apply;
})), j = /* @__PURE__ */ e(((e, t) => {
	var n = D(), r = k(), i = O();
	t.exports = A() || n.call(i, r);
})), M = /* @__PURE__ */ e(((e, t) => {
	var n = D(), i = r(), a = O(), o = j();
	t.exports = function(e) {
		if (e.length < 1 || typeof e[0] != "function") throw new i("a function is required");
		return o(n, a, e);
	};
})), N = /* @__PURE__ */ e(((e, t) => {
	var n = M(), r = x(), i;
	try {
		i = [].__proto__ === Array.prototype;
	} catch (e) {
		if (!e || typeof e != "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") throw e;
	}
	var a = !!i && r && r(Object.prototype, "__proto__"), o = Object, s = o.getPrototypeOf;
	t.exports = a && typeof a.get == "function" ? n([a.get]) : typeof s == "function" ? function(e) {
		return s(e == null ? e : o(e));
	} : !1;
})), P = /* @__PURE__ */ e(((e, t) => {
	var n = ne(), r = T(), i = N();
	t.exports = n ? function(e) {
		return n(e);
	} : r ? function(e) {
		if (!e || typeof e != "object" && typeof e != "function") throw TypeError("getProto: not an object");
		return r(e);
	} : i ? function(e) {
		return i(e);
	} : null;
})), F = /* @__PURE__ */ e(((e, t) => {
	var n = Function.prototype.call, r = Object.prototype.hasOwnProperty;
	t.exports = D().call(n, r);
})), I = /* @__PURE__ */ e(((e, t) => {
	var n, i = s(), a = c(), o = l(), v = u(), b = d(), C = f(), E = r(), A = p(), j = m(), M = h(), N = ee(), I = g(), L = _(), R = te(), z = y(), B = Function, V = function(e) {
		try {
			return B("\"use strict\"; return (" + e + ").constructor;")();
		} catch {}
	}, H = x(), re = S(), U = function() {
		throw new E();
	}, ie = H ? function() {
		try {
			return arguments.callee, U;
		} catch {
			try {
				return H(arguments, "callee").get;
			} catch {
				return U;
			}
		}
	}() : U, W = w()(), G = P(), ae = T(), oe = ne(), se = k(), K = O(), q = {}, J = typeof Uint8Array > "u" || !G ? n : G(Uint8Array), Y = {
		__proto__: null,
		"%AggregateError%": typeof AggregateError > "u" ? n : AggregateError,
		"%Array%": Array,
		"%ArrayBuffer%": typeof ArrayBuffer > "u" ? n : ArrayBuffer,
		"%ArrayIteratorPrototype%": W && G ? G([][Symbol.iterator]()) : n,
		"%AsyncFromSyncIteratorPrototype%": n,
		"%AsyncFunction%": q,
		"%AsyncGenerator%": q,
		"%AsyncGeneratorFunction%": q,
		"%AsyncIteratorPrototype%": q,
		"%Atomics%": typeof Atomics > "u" ? n : Atomics,
		"%BigInt%": typeof BigInt > "u" ? n : BigInt,
		"%BigInt64Array%": typeof BigInt64Array > "u" ? n : BigInt64Array,
		"%BigUint64Array%": typeof BigUint64Array > "u" ? n : BigUint64Array,
		"%Boolean%": Boolean,
		"%DataView%": typeof DataView > "u" ? n : DataView,
		"%Date%": Date,
		"%decodeURI%": decodeURI,
		"%decodeURIComponent%": decodeURIComponent,
		"%encodeURI%": encodeURI,
		"%encodeURIComponent%": encodeURIComponent,
		"%Error%": a,
		"%eval%": eval,
		"%EvalError%": o,
		"%Float16Array%": typeof Float16Array > "u" ? n : Float16Array,
		"%Float32Array%": typeof Float32Array > "u" ? n : Float32Array,
		"%Float64Array%": typeof Float64Array > "u" ? n : Float64Array,
		"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? n : FinalizationRegistry,
		"%Function%": B,
		"%GeneratorFunction%": q,
		"%Int8Array%": typeof Int8Array > "u" ? n : Int8Array,
		"%Int16Array%": typeof Int16Array > "u" ? n : Int16Array,
		"%Int32Array%": typeof Int32Array > "u" ? n : Int32Array,
		"%isFinite%": isFinite,
		"%isNaN%": isNaN,
		"%IteratorPrototype%": W && G ? G(G([][Symbol.iterator]())) : n,
		"%JSON%": typeof JSON == "object" ? JSON : n,
		"%Map%": typeof Map > "u" ? n : Map,
		"%MapIteratorPrototype%": typeof Map > "u" || !W || !G ? n : G((/* @__PURE__ */ new Map())[Symbol.iterator]()),
		"%Math%": Math,
		"%Number%": Number,
		"%Object%": i,
		"%Object.getOwnPropertyDescriptor%": H,
		"%parseFloat%": parseFloat,
		"%parseInt%": parseInt,
		"%Promise%": typeof Promise > "u" ? n : Promise,
		"%Proxy%": typeof Proxy > "u" ? n : Proxy,
		"%RangeError%": v,
		"%ReferenceError%": b,
		"%Reflect%": typeof Reflect > "u" ? n : Reflect,
		"%RegExp%": RegExp,
		"%Set%": typeof Set > "u" ? n : Set,
		"%SetIteratorPrototype%": typeof Set > "u" || !W || !G ? n : G((/* @__PURE__ */ new Set())[Symbol.iterator]()),
		"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? n : SharedArrayBuffer,
		"%String%": String,
		"%StringIteratorPrototype%": W && G ? G(""[Symbol.iterator]()) : n,
		"%Symbol%": W ? Symbol : n,
		"%SyntaxError%": C,
		"%ThrowTypeError%": ie,
		"%TypedArray%": J,
		"%TypeError%": E,
		"%Uint8Array%": typeof Uint8Array > "u" ? n : Uint8Array,
		"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? n : Uint8ClampedArray,
		"%Uint16Array%": typeof Uint16Array > "u" ? n : Uint16Array,
		"%Uint32Array%": typeof Uint32Array > "u" ? n : Uint32Array,
		"%URIError%": A,
		"%WeakMap%": typeof WeakMap > "u" ? n : WeakMap,
		"%WeakRef%": typeof WeakRef > "u" ? n : WeakRef,
		"%WeakSet%": typeof WeakSet > "u" ? n : WeakSet,
		"%Function.prototype.call%": K,
		"%Function.prototype.apply%": se,
		"%Object.defineProperty%": re,
		"%Object.getPrototypeOf%": ae,
		"%Math.abs%": j,
		"%Math.floor%": M,
		"%Math.max%": N,
		"%Math.min%": I,
		"%Math.pow%": L,
		"%Math.round%": R,
		"%Math.sign%": z,
		"%Reflect.getPrototypeOf%": oe
	};
	if (G) try {
		null.error;
	} catch (e) {
		Y["%Error.prototype%"] = G(G(e));
	}
	var ce = function e(t) {
		var n;
		if (t === "%AsyncFunction%") n = V("async function () {}");
		else if (t === "%GeneratorFunction%") n = V("function* () {}");
		else if (t === "%AsyncGeneratorFunction%") n = V("async function* () {}");
		else if (t === "%AsyncGenerator%") {
			var r = e("%AsyncGeneratorFunction%");
			r && (n = r.prototype);
		} else if (t === "%AsyncIteratorPrototype%") {
			var i = e("%AsyncGenerator%");
			i && G && (n = G(i.prototype));
		}
		return Y[t] = n, n;
	}, le = {
		__proto__: null,
		"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
		"%ArrayPrototype%": ["Array", "prototype"],
		"%ArrayProto_entries%": [
			"Array",
			"prototype",
			"entries"
		],
		"%ArrayProto_forEach%": [
			"Array",
			"prototype",
			"forEach"
		],
		"%ArrayProto_keys%": [
			"Array",
			"prototype",
			"keys"
		],
		"%ArrayProto_values%": [
			"Array",
			"prototype",
			"values"
		],
		"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
		"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
		"%AsyncGeneratorPrototype%": [
			"AsyncGeneratorFunction",
			"prototype",
			"prototype"
		],
		"%BooleanPrototype%": ["Boolean", "prototype"],
		"%DataViewPrototype%": ["DataView", "prototype"],
		"%DatePrototype%": ["Date", "prototype"],
		"%ErrorPrototype%": ["Error", "prototype"],
		"%EvalErrorPrototype%": ["EvalError", "prototype"],
		"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
		"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
		"%FunctionPrototype%": ["Function", "prototype"],
		"%Generator%": ["GeneratorFunction", "prototype"],
		"%GeneratorPrototype%": [
			"GeneratorFunction",
			"prototype",
			"prototype"
		],
		"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
		"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
		"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
		"%JSONParse%": ["JSON", "parse"],
		"%JSONStringify%": ["JSON", "stringify"],
		"%MapPrototype%": ["Map", "prototype"],
		"%NumberPrototype%": ["Number", "prototype"],
		"%ObjectPrototype%": ["Object", "prototype"],
		"%ObjProto_toString%": [
			"Object",
			"prototype",
			"toString"
		],
		"%ObjProto_valueOf%": [
			"Object",
			"prototype",
			"valueOf"
		],
		"%PromisePrototype%": ["Promise", "prototype"],
		"%PromiseProto_then%": [
			"Promise",
			"prototype",
			"then"
		],
		"%Promise_all%": ["Promise", "all"],
		"%Promise_reject%": ["Promise", "reject"],
		"%Promise_resolve%": ["Promise", "resolve"],
		"%RangeErrorPrototype%": ["RangeError", "prototype"],
		"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
		"%RegExpPrototype%": ["RegExp", "prototype"],
		"%SetPrototype%": ["Set", "prototype"],
		"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
		"%StringPrototype%": ["String", "prototype"],
		"%SymbolPrototype%": ["Symbol", "prototype"],
		"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
		"%TypedArrayPrototype%": ["TypedArray", "prototype"],
		"%TypeErrorPrototype%": ["TypeError", "prototype"],
		"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
		"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
		"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
		"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
		"%URIErrorPrototype%": ["URIError", "prototype"],
		"%WeakMapPrototype%": ["WeakMap", "prototype"],
		"%WeakSetPrototype%": ["WeakSet", "prototype"]
	}, X = D(), Z = F(), ue = X.call(K, Array.prototype.concat), de = X.call(se, Array.prototype.splice), fe = X.call(K, String.prototype.replace), Q = X.call(K, String.prototype.slice), pe = X.call(K, RegExp.prototype.exec), $ = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, me = /\\(\\)?/g, he = function(e) {
		var t = Q(e, 0, 1), n = Q(e, -1);
		if (t === "%" && n !== "%") throw new C("invalid intrinsic syntax, expected closing `%`");
		if (n === "%" && t !== "%") throw new C("invalid intrinsic syntax, expected opening `%`");
		var r = [];
		return fe(e, $, function(e, t, n, i) {
			r[r.length] = n ? fe(i, me, "$1") : t || e;
		}), r;
	}, ge = function(e, t) {
		var n = e, r;
		if (Z(le, n) && (r = le[n], n = "%" + r[0] + "%"), Z(Y, n)) {
			var i = Y[n];
			if (i === q && (i = ce(n)), i === void 0 && !t) throw new E("intrinsic " + e + " exists, but is not available. Please file an issue!");
			return {
				alias: r,
				name: n,
				value: i
			};
		}
		throw new C("intrinsic " + e + " does not exist!");
	};
	t.exports = function(e, t) {
		if (typeof e != "string" || e.length === 0) throw new E("intrinsic name must be a non-empty string");
		if (arguments.length > 1 && typeof t != "boolean") throw new E("\"allowMissing\" argument must be a boolean");
		if (pe(/^%?[^%]*%?$/, e) === null) throw new C("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
		var n = he(e), r = n.length > 0 ? n[0] : "", i = ge("%" + r + "%", t), a = i.name, o = i.value, s = !1, c = i.alias;
		c && (r = c[0], de(n, ue([0, 1], c)));
		for (var l = 1, u = !0; l < n.length; l += 1) {
			var d = n[l], f = Q(d, 0, 1), p = Q(d, -1);
			if ((f === "\"" || f === "'" || f === "`" || p === "\"" || p === "'" || p === "`") && f !== p) throw new C("property names with quotes must have matching quotes");
			if ((d === "constructor" || !u) && (s = !0), r += "." + d, a = "%" + r + "%", Z(Y, a)) o = Y[a];
			else if (o != null) {
				if (!(d in o)) {
					if (!t) throw new E("base intrinsic for " + e + " exists, but the property is not available.");
					return;
				}
				if (H && l + 1 >= n.length) {
					var m = H(o, d);
					u = !!m, o = u && "get" in m && !("originalValue" in m.get) ? m.get : o[d];
				} else u = Z(o, d), o = o[d];
				u && !s && (Y[a] = o);
			}
		}
		return o;
	};
})), L = /* @__PURE__ */ e(((e, t) => {
	var n = I(), r = M(), i = r([n("%String.prototype.indexOf%")]);
	t.exports = function(e, t) {
		var a = n(e, !!t);
		return typeof a == "function" && i(e, ".prototype.") > -1 ? r([a]) : a;
	};
})), R = /* @__PURE__ */ e(((e, t) => {
	var n = I(), i = L(), o = a(), s = r(), c = n("%Map%", !0), l = i("Map.prototype.get", !0), u = i("Map.prototype.set", !0), d = i("Map.prototype.has", !0), f = i("Map.prototype.delete", !0), p = i("Map.prototype.size", !0);
	t.exports = !!c && function() {
		var e, t = {
			assert: function(e) {
				if (!t.has(e)) throw new s("Side channel does not contain " + o(e));
			},
			delete: function(t) {
				if (e) {
					var n = f(e, t);
					return p(e) === 0 && (e = void 0), n;
				}
				return !1;
			},
			get: function(t) {
				if (e) return l(e, t);
			},
			has: function(t) {
				return e ? d(e, t) : !1;
			},
			set: function(t, n) {
				e ||= new c(), u(e, t, n);
			}
		};
		return t;
	};
})), z = /* @__PURE__ */ e(((e, t) => {
	var n = I(), i = L(), o = a(), s = R(), c = r(), l = n("%WeakMap%", !0), u = i("WeakMap.prototype.get", !0), d = i("WeakMap.prototype.set", !0), f = i("WeakMap.prototype.has", !0), p = i("WeakMap.prototype.delete", !0);
	t.exports = l ? function() {
		var e, t, n = {
			assert: function(e) {
				if (!n.has(e)) throw new c("Side channel does not contain " + o(e));
			},
			delete: function(n) {
				if (l && n && (typeof n == "object" || typeof n == "function")) {
					if (e) return p(e, n);
				} else if (s && t) return t.delete(n);
				return !1;
			},
			get: function(n) {
				return l && n && (typeof n == "object" || typeof n == "function") && e ? u(e, n) : t && t.get(n);
			},
			has: function(n) {
				return l && n && (typeof n == "object" || typeof n == "function") && e ? f(e, n) : !!t && t.has(n);
			},
			set: function(n, r) {
				l && n && (typeof n == "object" || typeof n == "function") ? (e ||= new l(), d(e, n, r)) : s && (t ||= s(), t.set(n, r));
			}
		};
		return n;
	} : s;
})), B = /* @__PURE__ */ e(((e, t) => {
	var n = r(), i = a(), s = o(), c = R(), l = z() || c || s;
	t.exports = function() {
		var e, t = {
			assert: function(e) {
				if (!t.has(e)) throw new n("Side channel does not contain " + (e && Object(e) === e ? "the given object key" : i(e)));
			},
			delete: function(t) {
				return !!e && e.delete(t);
			},
			get: function(t) {
				return e && e.get(t);
			},
			has: function(t) {
				return !!e && e.has(t);
			},
			set: function(t, n) {
				e ||= l(), e.set(t, n);
			}
		};
		return t;
	};
}));
//#endregion
export { r as _, P as a, k as c, C as d, S as f, s as g, c as h, F as i, D as l, f as m, L as n, M as o, x as p, I as r, j as s, B as t, w as u };
