
//#region ../../node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs
/*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT */
function e(e$1) {
	return e$1 == null;
}
function t(e$1) {
	return typeof e$1 == `object` && !!e$1;
}
function n(t$1) {
	return Array.isArray(t$1) ? t$1 : e(t$1) ? [] : [t$1];
}
function r(e$1, t$1) {
	var n$1, r$1, i$1, a$1;
	if (t$1) for (a$1 = Object.keys(t$1), n$1 = 0, r$1 = a$1.length; n$1 < r$1; n$1 += 1) i$1 = a$1[n$1], e$1[i$1] = t$1[i$1];
	return e$1;
}
function i(e$1, t$1) {
	var n$1 = ``, r$1;
	for (r$1 = 0; r$1 < t$1; r$1 += 1) n$1 += e$1;
	return n$1;
}
function a(e$1) {
	return e$1 === 0 && 1 / e$1 == -Infinity;
}
var o = {
	isNothing: e,
	isObject: t,
	toArray: n,
	repeat: i,
	isNegativeZero: a,
	extend: r
};
function s(e$1, t$1) {
	var n$1 = ``, r$1 = e$1.reason || `(unknown reason)`;
	return e$1.mark ? (e$1.mark.name && (n$1 += `in "` + e$1.mark.name + `" `), n$1 += `(` + (e$1.mark.line + 1) + `:` + (e$1.mark.column + 1) + `)`, !t$1 && e$1.mark.snippet && (n$1 += `

` + e$1.mark.snippet), r$1 + ` ` + n$1) : r$1;
}
function c(e$1, t$1) {
	Error.call(this), this.name = `YAMLException`, this.reason = e$1, this.mark = t$1, this.message = s(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = Error().stack || ``;
}
c.prototype = Object.create(Error.prototype), c.prototype.constructor = c, c.prototype.toString = function(e$1) {
	return this.name + `: ` + s(this, e$1);
};
var l = c;
function u(e$1, t$1, n$1, r$1, i$1) {
	var a$1 = ``, o$1 = ``, s$1 = Math.floor(i$1 / 2) - 1;
	return r$1 - t$1 > s$1 && (a$1 = ` ... `, t$1 = r$1 - s$1 + a$1.length), n$1 - r$1 > s$1 && (o$1 = ` ...`, n$1 = r$1 + s$1 - o$1.length), {
		str: a$1 + e$1.slice(t$1, n$1).replace(/\t/g, `→`) + o$1,
		pos: r$1 - t$1 + a$1.length
	};
}
function d(e$1, t$1) {
	return o.repeat(` `, t$1 - e$1.length) + e$1;
}
function f(e$1, t$1) {
	if (t$1 = Object.create(t$1 || null), !e$1.buffer) return null;
	t$1.maxLength ||= 79, typeof t$1.indent != `number` && (t$1.indent = 1), typeof t$1.linesBefore != `number` && (t$1.linesBefore = 3), typeof t$1.linesAfter != `number` && (t$1.linesAfter = 2);
	for (var n$1 = /\r?\n|\r|\0/g, r$1 = [0], i$1 = [], a$1, s$1 = -1; a$1 = n$1.exec(e$1.buffer);) i$1.push(a$1.index), r$1.push(a$1.index + a$1[0].length), e$1.position <= a$1.index && s$1 < 0 && (s$1 = r$1.length - 2);
	s$1 < 0 && (s$1 = r$1.length - 1);
	var c$1 = ``, l$1, f$1, p$1 = Math.min(e$1.line + t$1.linesAfter, i$1.length).toString().length, m$1 = t$1.maxLength - (t$1.indent + p$1 + 3);
	for (l$1 = 1; l$1 <= t$1.linesBefore && !(s$1 - l$1 < 0); l$1++) f$1 = u(e$1.buffer, r$1[s$1 - l$1], i$1[s$1 - l$1], e$1.position - (r$1[s$1] - r$1[s$1 - l$1]), m$1), c$1 = o.repeat(` `, t$1.indent) + d((e$1.line - l$1 + 1).toString(), p$1) + ` | ` + f$1.str + `
` + c$1;
	for (f$1 = u(e$1.buffer, r$1[s$1], i$1[s$1], e$1.position, m$1), c$1 += o.repeat(` `, t$1.indent) + d((e$1.line + 1).toString(), p$1) + ` | ` + f$1.str + `
`, c$1 += o.repeat(`-`, t$1.indent + p$1 + 3 + f$1.pos) + `^
`, l$1 = 1; l$1 <= t$1.linesAfter && !(s$1 + l$1 >= i$1.length); l$1++) f$1 = u(e$1.buffer, r$1[s$1 + l$1], i$1[s$1 + l$1], e$1.position - (r$1[s$1] - r$1[s$1 + l$1]), m$1), c$1 += o.repeat(` `, t$1.indent) + d((e$1.line + l$1 + 1).toString(), p$1) + ` | ` + f$1.str + `
`;
	return c$1.replace(/\n$/, ``);
}
var p = f, m = [
	`kind`,
	`multi`,
	`resolve`,
	`construct`,
	`instanceOf`,
	`predicate`,
	`represent`,
	`representName`,
	`defaultStyle`,
	`styleAliases`
], h = [
	`scalar`,
	`sequence`,
	`mapping`
];
function g(e$1) {
	var t$1 = {};
	return e$1 !== null && Object.keys(e$1).forEach(function(n$1) {
		e$1[n$1].forEach(function(e$2) {
			t$1[String(e$2)] = n$1;
		});
	}), t$1;
}
function _(e$1, t$1) {
	if (t$1 ||= {}, Object.keys(t$1).forEach(function(t$2) {
		if (m.indexOf(t$2) === -1) throw new l(`Unknown option "` + t$2 + `" is met in definition of "` + e$1 + `" YAML type.`);
	}), this.options = t$1, this.tag = e$1, this.kind = t$1.kind || null, this.resolve = t$1.resolve || function() {
		return !0;
	}, this.construct = t$1.construct || function(e$2) {
		return e$2;
	}, this.instanceOf = t$1.instanceOf || null, this.predicate = t$1.predicate || null, this.represent = t$1.represent || null, this.representName = t$1.representName || null, this.defaultStyle = t$1.defaultStyle || null, this.multi = t$1.multi || !1, this.styleAliases = g(t$1.styleAliases || null), h.indexOf(this.kind) === -1) throw new l(`Unknown kind "` + this.kind + `" is specified for "` + e$1 + `" YAML type.`);
}
var v = _;
function ee(e$1, t$1) {
	var n$1 = [];
	return e$1[t$1].forEach(function(e$2) {
		var t$2 = n$1.length;
		n$1.forEach(function(n$2, r$1) {
			n$2.tag === e$2.tag && n$2.kind === e$2.kind && n$2.multi === e$2.multi && (t$2 = r$1);
		}), n$1[t$2] = e$2;
	}), n$1;
}
function te() {
	var e$1 = {
		scalar: {},
		sequence: {},
		mapping: {},
		fallback: {},
		multi: {
			scalar: [],
			sequence: [],
			mapping: [],
			fallback: []
		}
	}, t$1, n$1;
	function r$1(t$2) {
		t$2.multi ? (e$1.multi[t$2.kind].push(t$2), e$1.multi.fallback.push(t$2)) : e$1[t$2.kind][t$2.tag] = e$1.fallback[t$2.tag] = t$2;
	}
	for (t$1 = 0, n$1 = arguments.length; t$1 < n$1; t$1 += 1) arguments[t$1].forEach(r$1);
	return e$1;
}
function y(e$1) {
	return this.extend(e$1);
}
y.prototype.extend = function(e$1) {
	var t$1 = [], n$1 = [];
	if (e$1 instanceof v) n$1.push(e$1);
	else if (Array.isArray(e$1)) n$1 = n$1.concat(e$1);
	else if (e$1 && (Array.isArray(e$1.implicit) || Array.isArray(e$1.explicit))) e$1.implicit && (t$1 = t$1.concat(e$1.implicit)), e$1.explicit && (n$1 = n$1.concat(e$1.explicit));
	else throw new l(`Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })`);
	t$1.forEach(function(e$2) {
		if (!(e$2 instanceof v)) throw new l(`Specified list of YAML types (or a single Type object) contains a non-Type object.`);
		if (e$2.loadKind && e$2.loadKind !== `scalar`) throw new l(`There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.`);
		if (e$2.multi) throw new l(`There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.`);
	}), n$1.forEach(function(e$2) {
		if (!(e$2 instanceof v)) throw new l(`Specified list of YAML types (or a single Type object) contains a non-Type object.`);
	});
	var r$1 = Object.create(y.prototype);
	return r$1.implicit = (this.implicit || []).concat(t$1), r$1.explicit = (this.explicit || []).concat(n$1), r$1.compiledImplicit = ee(r$1, `implicit`), r$1.compiledExplicit = ee(r$1, `explicit`), r$1.compiledTypeMap = te(r$1.compiledImplicit, r$1.compiledExplicit), r$1;
};
var ne = new y({ explicit: [
	new v(`tag:yaml.org,2002:str`, {
		kind: `scalar`,
		construct: function(e$1) {
			return e$1 === null ? `` : e$1;
		}
	}),
	new v(`tag:yaml.org,2002:seq`, {
		kind: `sequence`,
		construct: function(e$1) {
			return e$1 === null ? [] : e$1;
		}
	}),
	new v(`tag:yaml.org,2002:map`, {
		kind: `mapping`,
		construct: function(e$1) {
			return e$1 === null ? {} : e$1;
		}
	})
] });
function re(e$1) {
	if (e$1 === null) return !0;
	var t$1 = e$1.length;
	return t$1 === 1 && e$1 === `~` || t$1 === 4 && (e$1 === `null` || e$1 === `Null` || e$1 === `NULL`);
}
function ie() {
	return null;
}
function ae(e$1) {
	return e$1 === null;
}
var oe = new v(`tag:yaml.org,2002:null`, {
	kind: `scalar`,
	resolve: re,
	construct: ie,
	predicate: ae,
	represent: {
		canonical: function() {
			return `~`;
		},
		lowercase: function() {
			return `null`;
		},
		uppercase: function() {
			return `NULL`;
		},
		camelcase: function() {
			return `Null`;
		},
		empty: function() {
			return ``;
		}
	},
	defaultStyle: `lowercase`
});
function se(e$1) {
	if (e$1 === null) return !1;
	var t$1 = e$1.length;
	return t$1 === 4 && (e$1 === `true` || e$1 === `True` || e$1 === `TRUE`) || t$1 === 5 && (e$1 === `false` || e$1 === `False` || e$1 === `FALSE`);
}
function ce(e$1) {
	return e$1 === `true` || e$1 === `True` || e$1 === `TRUE`;
}
function le(e$1) {
	return Object.prototype.toString.call(e$1) === `[object Boolean]`;
}
var ue = new v(`tag:yaml.org,2002:bool`, {
	kind: `scalar`,
	resolve: se,
	construct: ce,
	predicate: le,
	represent: {
		lowercase: function(e$1) {
			return e$1 ? `true` : `false`;
		},
		uppercase: function(e$1) {
			return e$1 ? `TRUE` : `FALSE`;
		},
		camelcase: function(e$1) {
			return e$1 ? `True` : `False`;
		}
	},
	defaultStyle: `lowercase`
});
function de(e$1) {
	return 48 <= e$1 && e$1 <= 57 || 65 <= e$1 && e$1 <= 70 || 97 <= e$1 && e$1 <= 102;
}
function fe(e$1) {
	return 48 <= e$1 && e$1 <= 55;
}
function pe(e$1) {
	return 48 <= e$1 && e$1 <= 57;
}
function me(e$1) {
	if (e$1 === null) return !1;
	var t$1 = e$1.length, n$1 = 0, r$1 = !1, i$1;
	if (!t$1) return !1;
	if (i$1 = e$1[n$1], (i$1 === `-` || i$1 === `+`) && (i$1 = e$1[++n$1]), i$1 === `0`) {
		if (n$1 + 1 === t$1) return !0;
		if (i$1 = e$1[++n$1], i$1 === `b`) {
			for (n$1++; n$1 < t$1; n$1++) if (i$1 = e$1[n$1], i$1 !== `_`) {
				if (i$1 !== `0` && i$1 !== `1`) return !1;
				r$1 = !0;
			}
			return r$1 && i$1 !== `_`;
		}
		if (i$1 === `x`) {
			for (n$1++; n$1 < t$1; n$1++) if (i$1 = e$1[n$1], i$1 !== `_`) {
				if (!de(e$1.charCodeAt(n$1))) return !1;
				r$1 = !0;
			}
			return r$1 && i$1 !== `_`;
		}
		if (i$1 === `o`) {
			for (n$1++; n$1 < t$1; n$1++) if (i$1 = e$1[n$1], i$1 !== `_`) {
				if (!fe(e$1.charCodeAt(n$1))) return !1;
				r$1 = !0;
			}
			return r$1 && i$1 !== `_`;
		}
	}
	if (i$1 === `_`) return !1;
	for (; n$1 < t$1; n$1++) if (i$1 = e$1[n$1], i$1 !== `_`) {
		if (!pe(e$1.charCodeAt(n$1))) return !1;
		r$1 = !0;
	}
	return !(!r$1 || i$1 === `_`);
}
function he(e$1) {
	var t$1 = e$1, n$1 = 1, r$1;
	if (t$1.indexOf(`_`) !== -1 && (t$1 = t$1.replace(/_/g, ``)), r$1 = t$1[0], (r$1 === `-` || r$1 === `+`) && (r$1 === `-` && (n$1 = -1), t$1 = t$1.slice(1), r$1 = t$1[0]), t$1 === `0`) return 0;
	if (r$1 === `0`) {
		if (t$1[1] === `b`) return n$1 * parseInt(t$1.slice(2), 2);
		if (t$1[1] === `x`) return n$1 * parseInt(t$1.slice(2), 16);
		if (t$1[1] === `o`) return n$1 * parseInt(t$1.slice(2), 8);
	}
	return n$1 * parseInt(t$1, 10);
}
function ge(e$1) {
	return Object.prototype.toString.call(e$1) === `[object Number]` && e$1 % 1 == 0 && !o.isNegativeZero(e$1);
}
var _e = new v(`tag:yaml.org,2002:int`, {
	kind: `scalar`,
	resolve: me,
	construct: he,
	predicate: ge,
	represent: {
		binary: function(e$1) {
			return e$1 >= 0 ? `0b` + e$1.toString(2) : `-0b` + e$1.toString(2).slice(1);
		},
		octal: function(e$1) {
			return e$1 >= 0 ? `0o` + e$1.toString(8) : `-0o` + e$1.toString(8).slice(1);
		},
		decimal: function(e$1) {
			return e$1.toString(10);
		},
		hexadecimal: function(e$1) {
			return e$1 >= 0 ? `0x` + e$1.toString(16).toUpperCase() : `-0x` + e$1.toString(16).toUpperCase().slice(1);
		}
	},
	defaultStyle: `decimal`,
	styleAliases: {
		binary: [2, `bin`],
		octal: [8, `oct`],
		decimal: [10, `dec`],
		hexadecimal: [16, `hex`]
	}
}), ve = RegExp(`^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);
function ye(e$1) {
	return !(e$1 === null || !ve.test(e$1) || e$1[e$1.length - 1] === `_`);
}
function be(e$1) {
	var t$1 = e$1.replace(/_/g, ``).toLowerCase(), n$1 = t$1[0] === `-` ? -1 : 1;
	return `+-`.indexOf(t$1[0]) >= 0 && (t$1 = t$1.slice(1)), t$1 === `.inf` ? n$1 === 1 ? Infinity : -Infinity : t$1 === `.nan` ? NaN : n$1 * parseFloat(t$1, 10);
}
var xe = /^[-+]?[0-9]+e/;
function Se(e$1, t$1) {
	var n$1;
	if (isNaN(e$1)) switch (t$1) {
		case `lowercase`: return `.nan`;
		case `uppercase`: return `.NAN`;
		case `camelcase`: return `.NaN`;
	}
	else if (e$1 === Infinity) switch (t$1) {
		case `lowercase`: return `.inf`;
		case `uppercase`: return `.INF`;
		case `camelcase`: return `.Inf`;
	}
	else if (e$1 === -Infinity) switch (t$1) {
		case `lowercase`: return `-.inf`;
		case `uppercase`: return `-.INF`;
		case `camelcase`: return `-.Inf`;
	}
	else if (o.isNegativeZero(e$1)) return `-0.0`;
	return n$1 = e$1.toString(10), xe.test(n$1) ? n$1.replace(`e`, `.e`) : n$1;
}
function Ce(e$1) {
	return Object.prototype.toString.call(e$1) === `[object Number]` && (e$1 % 1 != 0 || o.isNegativeZero(e$1));
}
var we = new v(`tag:yaml.org,2002:float`, {
	kind: `scalar`,
	resolve: ye,
	construct: be,
	predicate: Ce,
	represent: Se,
	defaultStyle: `lowercase`
}), Te = ne.extend({ implicit: [
	oe,
	ue,
	_e,
	we
] }), Ee = RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$`), De = RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$`);
function Oe(e$1) {
	return e$1 === null ? !1 : Ee.exec(e$1) !== null || De.exec(e$1) !== null;
}
function ke(e$1) {
	var t$1, n$1, r$1, i$1, a$1, o$1, s$1, c$1 = 0, l$1 = null, u$1, d$1, f$1;
	if (t$1 = Ee.exec(e$1), t$1 === null && (t$1 = De.exec(e$1)), t$1 === null) throw Error(`Date resolve error`);
	if (n$1 = +t$1[1], r$1 = t$1[2] - 1, i$1 = +t$1[3], !t$1[4]) return new Date(Date.UTC(n$1, r$1, i$1));
	if (a$1 = +t$1[4], o$1 = +t$1[5], s$1 = +t$1[6], t$1[7]) {
		for (c$1 = t$1[7].slice(0, 3); c$1.length < 3;) c$1 += `0`;
		c$1 = +c$1;
	}
	return t$1[9] && (u$1 = +t$1[10], d$1 = +(t$1[11] || 0), l$1 = (u$1 * 60 + d$1) * 6e4, t$1[9] === `-` && (l$1 = -l$1)), f$1 = new Date(Date.UTC(n$1, r$1, i$1, a$1, o$1, s$1, c$1)), l$1 && f$1.setTime(f$1.getTime() - l$1), f$1;
}
function Ae(e$1) {
	return e$1.toISOString();
}
var je = new v(`tag:yaml.org,2002:timestamp`, {
	kind: `scalar`,
	resolve: Oe,
	construct: ke,
	instanceOf: Date,
	represent: Ae
});
function Me(e$1) {
	return e$1 === `<<` || e$1 === null;
}
var Ne = new v(`tag:yaml.org,2002:merge`, {
	kind: `scalar`,
	resolve: Me
}), b = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;
function Pe(e$1) {
	if (e$1 === null) return !1;
	var t$1, n$1, r$1 = 0, i$1 = e$1.length, a$1 = b;
	for (n$1 = 0; n$1 < i$1; n$1++) if (t$1 = a$1.indexOf(e$1.charAt(n$1)), !(t$1 > 64)) {
		if (t$1 < 0) return !1;
		r$1 += 6;
	}
	return r$1 % 8 == 0;
}
function Fe(e$1) {
	var t$1, n$1, r$1 = e$1.replace(/[\r\n=]/g, ``), i$1 = r$1.length, a$1 = b, o$1 = 0, s$1 = [];
	for (t$1 = 0; t$1 < i$1; t$1++) t$1 % 4 == 0 && t$1 && (s$1.push(o$1 >> 16 & 255), s$1.push(o$1 >> 8 & 255), s$1.push(o$1 & 255)), o$1 = o$1 << 6 | a$1.indexOf(r$1.charAt(t$1));
	return n$1 = i$1 % 4 * 6, n$1 === 0 ? (s$1.push(o$1 >> 16 & 255), s$1.push(o$1 >> 8 & 255), s$1.push(o$1 & 255)) : n$1 === 18 ? (s$1.push(o$1 >> 10 & 255), s$1.push(o$1 >> 2 & 255)) : n$1 === 12 && s$1.push(o$1 >> 4 & 255), new Uint8Array(s$1);
}
function Ie(e$1) {
	var t$1 = ``, n$1 = 0, r$1, i$1, a$1 = e$1.length, o$1 = b;
	for (r$1 = 0; r$1 < a$1; r$1++) r$1 % 3 == 0 && r$1 && (t$1 += o$1[n$1 >> 18 & 63], t$1 += o$1[n$1 >> 12 & 63], t$1 += o$1[n$1 >> 6 & 63], t$1 += o$1[n$1 & 63]), n$1 = (n$1 << 8) + e$1[r$1];
	return i$1 = a$1 % 3, i$1 === 0 ? (t$1 += o$1[n$1 >> 18 & 63], t$1 += o$1[n$1 >> 12 & 63], t$1 += o$1[n$1 >> 6 & 63], t$1 += o$1[n$1 & 63]) : i$1 === 2 ? (t$1 += o$1[n$1 >> 10 & 63], t$1 += o$1[n$1 >> 4 & 63], t$1 += o$1[n$1 << 2 & 63], t$1 += o$1[64]) : i$1 === 1 && (t$1 += o$1[n$1 >> 2 & 63], t$1 += o$1[n$1 << 4 & 63], t$1 += o$1[64], t$1 += o$1[64]), t$1;
}
function Le(e$1) {
	return Object.prototype.toString.call(e$1) === `[object Uint8Array]`;
}
var Re = new v(`tag:yaml.org,2002:binary`, {
	kind: `scalar`,
	resolve: Pe,
	construct: Fe,
	predicate: Le,
	represent: Ie
}), ze = Object.prototype.hasOwnProperty, Be = Object.prototype.toString;
function Ve(e$1) {
	if (e$1 === null) return !0;
	var t$1 = [], n$1, r$1, i$1, a$1, o$1, s$1 = e$1;
	for (n$1 = 0, r$1 = s$1.length; n$1 < r$1; n$1 += 1) {
		if (i$1 = s$1[n$1], o$1 = !1, Be.call(i$1) !== `[object Object]`) return !1;
		for (a$1 in i$1) if (ze.call(i$1, a$1)) if (!o$1) o$1 = !0;
		else return !1;
		if (!o$1) return !1;
		if (t$1.indexOf(a$1) === -1) t$1.push(a$1);
		else return !1;
	}
	return !0;
}
function He(e$1) {
	return e$1 === null ? [] : e$1;
}
var Ue = new v(`tag:yaml.org,2002:omap`, {
	kind: `sequence`,
	resolve: Ve,
	construct: He
}), We = Object.prototype.toString;
function Ge(e$1) {
	if (e$1 === null) return !0;
	var t$1, n$1, r$1, i$1, a$1, o$1 = e$1;
	for (a$1 = Array(o$1.length), t$1 = 0, n$1 = o$1.length; t$1 < n$1; t$1 += 1) {
		if (r$1 = o$1[t$1], We.call(r$1) !== `[object Object]` || (i$1 = Object.keys(r$1), i$1.length !== 1)) return !1;
		a$1[t$1] = [i$1[0], r$1[i$1[0]]];
	}
	return !0;
}
function Ke(e$1) {
	if (e$1 === null) return [];
	var t$1, n$1, r$1, i$1, a$1, o$1 = e$1;
	for (a$1 = Array(o$1.length), t$1 = 0, n$1 = o$1.length; t$1 < n$1; t$1 += 1) r$1 = o$1[t$1], i$1 = Object.keys(r$1), a$1[t$1] = [i$1[0], r$1[i$1[0]]];
	return a$1;
}
var qe = new v(`tag:yaml.org,2002:pairs`, {
	kind: `sequence`,
	resolve: Ge,
	construct: Ke
}), Je = Object.prototype.hasOwnProperty;
function Ye(e$1) {
	if (e$1 === null) return !0;
	var t$1, n$1 = e$1;
	for (t$1 in n$1) if (Je.call(n$1, t$1) && n$1[t$1] !== null) return !1;
	return !0;
}
function Xe(e$1) {
	return e$1 === null ? {} : e$1;
}
var Ze = new v(`tag:yaml.org,2002:set`, {
	kind: `mapping`,
	resolve: Ye,
	construct: Xe
}), Qe = Te.extend({
	implicit: [je, Ne],
	explicit: [
		Re,
		Ue,
		qe,
		Ze
	]
}), x = Object.prototype.hasOwnProperty, S = 1, $e = 2, et = 3, C = 4, w = 1, tt = 2, nt = 3, rt = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, it = /[\x85\u2028\u2029]/, at = /[,\[\]\{\}]/, ot = /^(?:!|!!|![a-z\-]+!)$/i, st = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
function ct(e$1) {
	return Object.prototype.toString.call(e$1);
}
function T(e$1) {
	return e$1 === 10 || e$1 === 13;
}
function E(e$1) {
	return e$1 === 9 || e$1 === 32;
}
function D(e$1) {
	return e$1 === 9 || e$1 === 32 || e$1 === 10 || e$1 === 13;
}
function O(e$1) {
	return e$1 === 44 || e$1 === 91 || e$1 === 93 || e$1 === 123 || e$1 === 125;
}
function lt(e$1) {
	var t$1;
	return 48 <= e$1 && e$1 <= 57 ? e$1 - 48 : (t$1 = e$1 | 32, 97 <= t$1 && t$1 <= 102 ? t$1 - 97 + 10 : -1);
}
function ut(e$1) {
	return e$1 === 120 ? 2 : e$1 === 117 ? 4 : e$1 === 85 ? 8 : 0;
}
function dt(e$1) {
	return 48 <= e$1 && e$1 <= 57 ? e$1 - 48 : -1;
}
function ft(e$1) {
	return e$1 === 48 ? `\0` : e$1 === 97 ? `\x07` : e$1 === 98 ? `\b` : e$1 === 116 || e$1 === 9 ? `	` : e$1 === 110 ? `
` : e$1 === 118 ? `\v` : e$1 === 102 ? `\f` : e$1 === 114 ? `\r` : e$1 === 101 ? `\x1B` : e$1 === 32 ? ` ` : e$1 === 34 ? `"` : e$1 === 47 ? `/` : e$1 === 92 ? `\\` : e$1 === 78 ? `` : e$1 === 95 ? `\xA0` : e$1 === 76 ? `\u2028` : e$1 === 80 ? `\u2029` : ``;
}
function pt(e$1) {
	return e$1 <= 65535 ? String.fromCharCode(e$1) : String.fromCharCode((e$1 - 65536 >> 10) + 55296, (e$1 - 65536 & 1023) + 56320);
}
function mt(e$1, t$1, n$1) {
	t$1 === `__proto__` ? Object.defineProperty(e$1, t$1, {
		configurable: !0,
		enumerable: !0,
		writable: !0,
		value: n$1
	}) : e$1[t$1] = n$1;
}
for (var ht = Array(256), gt = Array(256), k = 0; k < 256; k++) ht[k] = ft(k) ? 1 : 0, gt[k] = ft(k);
function _t(e$1, t$1) {
	this.input = e$1, this.filename = t$1.filename || null, this.schema = t$1.schema || Qe, this.onWarning = t$1.onWarning || null, this.legacy = t$1.legacy || !1, this.json = t$1.json || !1, this.listener = t$1.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e$1.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
}
function vt(e$1, t$1) {
	var n$1 = {
		name: e$1.filename,
		buffer: e$1.input.slice(0, -1),
		position: e$1.position,
		line: e$1.line,
		column: e$1.position - e$1.lineStart
	};
	return n$1.snippet = p(n$1), new l(t$1, n$1);
}
function A(e$1, t$1) {
	throw vt(e$1, t$1);
}
function j(e$1, t$1) {
	e$1.onWarning && e$1.onWarning.call(null, vt(e$1, t$1));
}
var yt = {
	YAML: function(e$1, t$1, n$1) {
		var r$1, i$1, a$1;
		e$1.version !== null && A(e$1, `duplication of %YAML directive`), n$1.length !== 1 && A(e$1, `YAML directive accepts exactly one argument`), r$1 = /^([0-9]+)\.([0-9]+)$/.exec(n$1[0]), r$1 === null && A(e$1, `ill-formed argument of the YAML directive`), i$1 = parseInt(r$1[1], 10), a$1 = parseInt(r$1[2], 10), i$1 !== 1 && A(e$1, `unacceptable YAML version of the document`), e$1.version = n$1[0], e$1.checkLineBreaks = a$1 < 2, a$1 !== 1 && a$1 !== 2 && j(e$1, `unsupported YAML version of the document`);
	},
	TAG: function(e$1, t$1, n$1) {
		var r$1, i$1;
		n$1.length !== 2 && A(e$1, `TAG directive accepts exactly two arguments`), r$1 = n$1[0], i$1 = n$1[1], ot.test(r$1) || A(e$1, `ill-formed tag handle (first argument) of the TAG directive`), x.call(e$1.tagMap, r$1) && A(e$1, `there is a previously declared suffix for "` + r$1 + `" tag handle`), st.test(i$1) || A(e$1, `ill-formed tag prefix (second argument) of the TAG directive`);
		try {
			i$1 = decodeURIComponent(i$1);
		} catch {
			A(e$1, `tag prefix is malformed: ` + i$1);
		}
		e$1.tagMap[r$1] = i$1;
	}
};
function M(e$1, t$1, n$1, r$1) {
	var i$1, a$1, o$1, s$1;
	if (t$1 < n$1) {
		if (s$1 = e$1.input.slice(t$1, n$1), r$1) for (i$1 = 0, a$1 = s$1.length; i$1 < a$1; i$1 += 1) o$1 = s$1.charCodeAt(i$1), o$1 === 9 || 32 <= o$1 && o$1 <= 1114111 || A(e$1, `expected valid JSON character`);
		else rt.test(s$1) && A(e$1, `the stream contains non-printable characters`);
		e$1.result += s$1;
	}
}
function bt(e$1, t$1, n$1, r$1) {
	var i$1, a$1, s$1, c$1;
	for (o.isObject(n$1) || A(e$1, `cannot merge mappings; the provided source object is unacceptable`), i$1 = Object.keys(n$1), s$1 = 0, c$1 = i$1.length; s$1 < c$1; s$1 += 1) a$1 = i$1[s$1], x.call(t$1, a$1) || (mt(t$1, a$1, n$1[a$1]), r$1[a$1] = !0);
}
function N(e$1, t$1, n$1, r$1, i$1, a$1, o$1, s$1, c$1) {
	var l$1, u$1;
	if (Array.isArray(i$1)) for (i$1 = Array.prototype.slice.call(i$1), l$1 = 0, u$1 = i$1.length; l$1 < u$1; l$1 += 1) Array.isArray(i$1[l$1]) && A(e$1, `nested arrays are not supported inside keys`), typeof i$1 == `object` && ct(i$1[l$1]) === `[object Object]` && (i$1[l$1] = `[object Object]`);
	if (typeof i$1 == `object` && ct(i$1) === `[object Object]` && (i$1 = `[object Object]`), i$1 = String(i$1), t$1 === null && (t$1 = {}), r$1 === `tag:yaml.org,2002:merge`) if (Array.isArray(a$1)) for (l$1 = 0, u$1 = a$1.length; l$1 < u$1; l$1 += 1) bt(e$1, t$1, a$1[l$1], n$1);
	else bt(e$1, t$1, a$1, n$1);
	else !e$1.json && !x.call(n$1, i$1) && x.call(t$1, i$1) && (e$1.line = o$1 || e$1.line, e$1.lineStart = s$1 || e$1.lineStart, e$1.position = c$1 || e$1.position, A(e$1, `duplicated mapping key`)), mt(t$1, i$1, a$1), delete n$1[i$1];
	return t$1;
}
function P(e$1) {
	var t$1 = e$1.input.charCodeAt(e$1.position);
	t$1 === 10 ? e$1.position++ : t$1 === 13 ? (e$1.position++, e$1.input.charCodeAt(e$1.position) === 10 && e$1.position++) : A(e$1, `a line break is expected`), e$1.line += 1, e$1.lineStart = e$1.position, e$1.firstTabInLine = -1;
}
function F(e$1, t$1, n$1) {
	for (var r$1 = 0, i$1 = e$1.input.charCodeAt(e$1.position); i$1 !== 0;) {
		for (; E(i$1);) i$1 === 9 && e$1.firstTabInLine === -1 && (e$1.firstTabInLine = e$1.position), i$1 = e$1.input.charCodeAt(++e$1.position);
		if (t$1 && i$1 === 35) do
			i$1 = e$1.input.charCodeAt(++e$1.position);
		while (i$1 !== 10 && i$1 !== 13 && i$1 !== 0);
		if (T(i$1)) for (P(e$1), i$1 = e$1.input.charCodeAt(e$1.position), r$1++, e$1.lineIndent = 0; i$1 === 32;) e$1.lineIndent++, i$1 = e$1.input.charCodeAt(++e$1.position);
		else break;
	}
	return n$1 !== -1 && r$1 !== 0 && e$1.lineIndent < n$1 && j(e$1, `deficient indentation`), r$1;
}
function I(e$1) {
	var t$1 = e$1.position, n$1 = e$1.input.charCodeAt(t$1);
	return !!((n$1 === 45 || n$1 === 46) && n$1 === e$1.input.charCodeAt(t$1 + 1) && n$1 === e$1.input.charCodeAt(t$1 + 2) && (t$1 += 3, n$1 = e$1.input.charCodeAt(t$1), n$1 === 0 || D(n$1)));
}
function L(e$1, t$1) {
	t$1 === 1 ? e$1.result += ` ` : t$1 > 1 && (e$1.result += o.repeat(`
`, t$1 - 1));
}
function xt(e$1, t$1, n$1) {
	var r$1, i$1, a$1, o$1, s$1, c$1, l$1, u$1, d$1 = e$1.kind, f$1 = e$1.result, p$1 = e$1.input.charCodeAt(e$1.position);
	if (D(p$1) || O(p$1) || p$1 === 35 || p$1 === 38 || p$1 === 42 || p$1 === 33 || p$1 === 124 || p$1 === 62 || p$1 === 39 || p$1 === 34 || p$1 === 37 || p$1 === 64 || p$1 === 96 || (p$1 === 63 || p$1 === 45) && (i$1 = e$1.input.charCodeAt(e$1.position + 1), D(i$1) || n$1 && O(i$1))) return !1;
	for (e$1.kind = `scalar`, e$1.result = ``, a$1 = o$1 = e$1.position, s$1 = !1; p$1 !== 0;) {
		if (p$1 === 58) {
			if (i$1 = e$1.input.charCodeAt(e$1.position + 1), D(i$1) || n$1 && O(i$1)) break;
		} else if (p$1 === 35) {
			if (r$1 = e$1.input.charCodeAt(e$1.position - 1), D(r$1)) break;
		} else if (e$1.position === e$1.lineStart && I(e$1) || n$1 && O(p$1)) break;
		else if (T(p$1)) if (c$1 = e$1.line, l$1 = e$1.lineStart, u$1 = e$1.lineIndent, F(e$1, !1, -1), e$1.lineIndent >= t$1) {
			s$1 = !0, p$1 = e$1.input.charCodeAt(e$1.position);
			continue;
		} else {
			e$1.position = o$1, e$1.line = c$1, e$1.lineStart = l$1, e$1.lineIndent = u$1;
			break;
		}
		s$1 &&= (M(e$1, a$1, o$1, !1), L(e$1, e$1.line - c$1), a$1 = o$1 = e$1.position, !1), E(p$1) || (o$1 = e$1.position + 1), p$1 = e$1.input.charCodeAt(++e$1.position);
	}
	return M(e$1, a$1, o$1, !1), e$1.result ? !0 : (e$1.kind = d$1, e$1.result = f$1, !1);
}
function St(e$1, t$1) {
	var n$1 = e$1.input.charCodeAt(e$1.position), r$1, i$1;
	if (n$1 !== 39) return !1;
	for (e$1.kind = `scalar`, e$1.result = ``, e$1.position++, r$1 = i$1 = e$1.position; (n$1 = e$1.input.charCodeAt(e$1.position)) !== 0;) if (n$1 === 39) if (M(e$1, r$1, e$1.position, !0), n$1 = e$1.input.charCodeAt(++e$1.position), n$1 === 39) r$1 = e$1.position, e$1.position++, i$1 = e$1.position;
	else return !0;
	else T(n$1) ? (M(e$1, r$1, i$1, !0), L(e$1, F(e$1, !1, t$1)), r$1 = i$1 = e$1.position) : e$1.position === e$1.lineStart && I(e$1) ? A(e$1, `unexpected end of the document within a single quoted scalar`) : (e$1.position++, i$1 = e$1.position);
	A(e$1, `unexpected end of the stream within a single quoted scalar`);
}
function Ct(e$1, t$1) {
	var n$1, r$1, i$1, a$1, o$1, s$1 = e$1.input.charCodeAt(e$1.position);
	if (s$1 !== 34) return !1;
	for (e$1.kind = `scalar`, e$1.result = ``, e$1.position++, n$1 = r$1 = e$1.position; (s$1 = e$1.input.charCodeAt(e$1.position)) !== 0;) if (s$1 === 34) return M(e$1, n$1, e$1.position, !0), e$1.position++, !0;
	else if (s$1 === 92) {
		if (M(e$1, n$1, e$1.position, !0), s$1 = e$1.input.charCodeAt(++e$1.position), T(s$1)) F(e$1, !1, t$1);
		else if (s$1 < 256 && ht[s$1]) e$1.result += gt[s$1], e$1.position++;
		else if ((o$1 = ut(s$1)) > 0) {
			for (i$1 = o$1, a$1 = 0; i$1 > 0; i$1--) s$1 = e$1.input.charCodeAt(++e$1.position), (o$1 = lt(s$1)) >= 0 ? a$1 = (a$1 << 4) + o$1 : A(e$1, `expected hexadecimal character`);
			e$1.result += pt(a$1), e$1.position++;
		} else A(e$1, `unknown escape sequence`);
		n$1 = r$1 = e$1.position;
	} else T(s$1) ? (M(e$1, n$1, r$1, !0), L(e$1, F(e$1, !1, t$1)), n$1 = r$1 = e$1.position) : e$1.position === e$1.lineStart && I(e$1) ? A(e$1, `unexpected end of the document within a double quoted scalar`) : (e$1.position++, r$1 = e$1.position);
	A(e$1, `unexpected end of the stream within a double quoted scalar`);
}
function wt(e$1, t$1) {
	var n$1 = !0, r$1, i$1, a$1, o$1 = e$1.tag, s$1, c$1 = e$1.anchor, l$1, u$1, d$1, f$1, p$1, m$1 = Object.create(null), h$1, g$1, _$1, v$1 = e$1.input.charCodeAt(e$1.position);
	if (v$1 === 91) u$1 = 93, p$1 = !1, s$1 = [];
	else if (v$1 === 123) u$1 = 125, p$1 = !0, s$1 = {};
	else return !1;
	for (e$1.anchor !== null && (e$1.anchorMap[e$1.anchor] = s$1), v$1 = e$1.input.charCodeAt(++e$1.position); v$1 !== 0;) {
		if (F(e$1, !0, t$1), v$1 = e$1.input.charCodeAt(e$1.position), v$1 === u$1) return e$1.position++, e$1.tag = o$1, e$1.anchor = c$1, e$1.kind = p$1 ? `mapping` : `sequence`, e$1.result = s$1, !0;
		n$1 ? v$1 === 44 && A(e$1, `expected the node content, but found ','`) : A(e$1, `missed comma between flow collection entries`), g$1 = h$1 = _$1 = null, d$1 = f$1 = !1, v$1 === 63 && (l$1 = e$1.input.charCodeAt(e$1.position + 1), D(l$1) && (d$1 = f$1 = !0, e$1.position++, F(e$1, !0, t$1))), r$1 = e$1.line, i$1 = e$1.lineStart, a$1 = e$1.position, R(e$1, t$1, S, !1, !0), g$1 = e$1.tag, h$1 = e$1.result, F(e$1, !0, t$1), v$1 = e$1.input.charCodeAt(e$1.position), (f$1 || e$1.line === r$1) && v$1 === 58 && (d$1 = !0, v$1 = e$1.input.charCodeAt(++e$1.position), F(e$1, !0, t$1), R(e$1, t$1, S, !1, !0), _$1 = e$1.result), p$1 ? N(e$1, s$1, m$1, g$1, h$1, _$1, r$1, i$1, a$1) : d$1 ? s$1.push(N(e$1, null, m$1, g$1, h$1, _$1, r$1, i$1, a$1)) : s$1.push(h$1), F(e$1, !0, t$1), v$1 = e$1.input.charCodeAt(e$1.position), v$1 === 44 ? (n$1 = !0, v$1 = e$1.input.charCodeAt(++e$1.position)) : n$1 = !1;
	}
	A(e$1, `unexpected end of the stream within a flow collection`);
}
function Tt(e$1, t$1) {
	var n$1, r$1, i$1 = w, a$1 = !1, s$1 = !1, c$1 = t$1, l$1 = 0, u$1 = !1, d$1, f$1 = e$1.input.charCodeAt(e$1.position);
	if (f$1 === 124) r$1 = !1;
	else if (f$1 === 62) r$1 = !0;
	else return !1;
	for (e$1.kind = `scalar`, e$1.result = ``; f$1 !== 0;) if (f$1 = e$1.input.charCodeAt(++e$1.position), f$1 === 43 || f$1 === 45) w === i$1 ? i$1 = f$1 === 43 ? nt : tt : A(e$1, `repeat of a chomping mode identifier`);
	else if ((d$1 = dt(f$1)) >= 0) d$1 === 0 ? A(e$1, `bad explicit indentation width of a block scalar; it cannot be less than one`) : s$1 ? A(e$1, `repeat of an indentation width identifier`) : (c$1 = t$1 + d$1 - 1, s$1 = !0);
	else break;
	if (E(f$1)) {
		do
			f$1 = e$1.input.charCodeAt(++e$1.position);
		while (E(f$1));
		if (f$1 === 35) do
			f$1 = e$1.input.charCodeAt(++e$1.position);
		while (!T(f$1) && f$1 !== 0);
	}
	for (; f$1 !== 0;) {
		for (P(e$1), e$1.lineIndent = 0, f$1 = e$1.input.charCodeAt(e$1.position); (!s$1 || e$1.lineIndent < c$1) && f$1 === 32;) e$1.lineIndent++, f$1 = e$1.input.charCodeAt(++e$1.position);
		if (!s$1 && e$1.lineIndent > c$1 && (c$1 = e$1.lineIndent), T(f$1)) {
			l$1++;
			continue;
		}
		if (e$1.lineIndent < c$1) {
			i$1 === nt ? e$1.result += o.repeat(`
`, a$1 ? 1 + l$1 : l$1) : i$1 === w && a$1 && (e$1.result += `
`);
			break;
		}
		for (r$1 ? E(f$1) ? (u$1 = !0, e$1.result += o.repeat(`
`, a$1 ? 1 + l$1 : l$1)) : u$1 ? (u$1 = !1, e$1.result += o.repeat(`
`, l$1 + 1)) : l$1 === 0 ? a$1 && (e$1.result += ` `) : e$1.result += o.repeat(`
`, l$1) : e$1.result += o.repeat(`
`, a$1 ? 1 + l$1 : l$1), a$1 = !0, s$1 = !0, l$1 = 0, n$1 = e$1.position; !T(f$1) && f$1 !== 0;) f$1 = e$1.input.charCodeAt(++e$1.position);
		M(e$1, n$1, e$1.position, !1);
	}
	return !0;
}
function Et(e$1, t$1) {
	var n$1, r$1 = e$1.tag, i$1 = e$1.anchor, a$1 = [], o$1, s$1 = !1, c$1;
	if (e$1.firstTabInLine !== -1) return !1;
	for (e$1.anchor !== null && (e$1.anchorMap[e$1.anchor] = a$1), c$1 = e$1.input.charCodeAt(e$1.position); c$1 !== 0 && (e$1.firstTabInLine !== -1 && (e$1.position = e$1.firstTabInLine, A(e$1, `tab characters must not be used in indentation`)), !(c$1 !== 45 || (o$1 = e$1.input.charCodeAt(e$1.position + 1), !D(o$1))));) {
		if (s$1 = !0, e$1.position++, F(e$1, !0, -1) && e$1.lineIndent <= t$1) {
			a$1.push(null), c$1 = e$1.input.charCodeAt(e$1.position);
			continue;
		}
		if (n$1 = e$1.line, R(e$1, t$1, et, !1, !0), a$1.push(e$1.result), F(e$1, !0, -1), c$1 = e$1.input.charCodeAt(e$1.position), (e$1.line === n$1 || e$1.lineIndent > t$1) && c$1 !== 0) A(e$1, `bad indentation of a sequence entry`);
		else if (e$1.lineIndent < t$1) break;
	}
	return s$1 ? (e$1.tag = r$1, e$1.anchor = i$1, e$1.kind = `sequence`, e$1.result = a$1, !0) : !1;
}
function Dt(e$1, t$1, n$1) {
	var r$1, i$1, a$1, o$1, s$1, c$1, l$1 = e$1.tag, u$1 = e$1.anchor, d$1 = {}, f$1 = Object.create(null), p$1 = null, m$1 = null, h$1 = null, g$1 = !1, _$1 = !1, v$1;
	if (e$1.firstTabInLine !== -1) return !1;
	for (e$1.anchor !== null && (e$1.anchorMap[e$1.anchor] = d$1), v$1 = e$1.input.charCodeAt(e$1.position); v$1 !== 0;) {
		if (!g$1 && e$1.firstTabInLine !== -1 && (e$1.position = e$1.firstTabInLine, A(e$1, `tab characters must not be used in indentation`)), r$1 = e$1.input.charCodeAt(e$1.position + 1), a$1 = e$1.line, (v$1 === 63 || v$1 === 58) && D(r$1)) v$1 === 63 ? (g$1 && (N(e$1, d$1, f$1, p$1, m$1, null, o$1, s$1, c$1), p$1 = m$1 = h$1 = null), _$1 = !0, g$1 = !0, i$1 = !0) : g$1 ? (g$1 = !1, i$1 = !0) : A(e$1, `incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line`), e$1.position += 1, v$1 = r$1;
		else {
			if (o$1 = e$1.line, s$1 = e$1.lineStart, c$1 = e$1.position, !R(e$1, n$1, $e, !1, !0)) break;
			if (e$1.line === a$1) {
				for (v$1 = e$1.input.charCodeAt(e$1.position); E(v$1);) v$1 = e$1.input.charCodeAt(++e$1.position);
				if (v$1 === 58) v$1 = e$1.input.charCodeAt(++e$1.position), D(v$1) || A(e$1, `a whitespace character is expected after the key-value separator within a block mapping`), g$1 && (N(e$1, d$1, f$1, p$1, m$1, null, o$1, s$1, c$1), p$1 = m$1 = h$1 = null), _$1 = !0, g$1 = !1, i$1 = !1, p$1 = e$1.tag, m$1 = e$1.result;
				else if (_$1) A(e$1, `can not read an implicit mapping pair; a colon is missed`);
				else return e$1.tag = l$1, e$1.anchor = u$1, !0;
			} else if (_$1) A(e$1, `can not read a block mapping entry; a multiline key may not be an implicit key`);
			else return e$1.tag = l$1, e$1.anchor = u$1, !0;
		}
		if ((e$1.line === a$1 || e$1.lineIndent > t$1) && (g$1 && (o$1 = e$1.line, s$1 = e$1.lineStart, c$1 = e$1.position), R(e$1, t$1, C, !0, i$1) && (g$1 ? m$1 = e$1.result : h$1 = e$1.result), g$1 || (N(e$1, d$1, f$1, p$1, m$1, h$1, o$1, s$1, c$1), p$1 = m$1 = h$1 = null), F(e$1, !0, -1), v$1 = e$1.input.charCodeAt(e$1.position)), (e$1.line === a$1 || e$1.lineIndent > t$1) && v$1 !== 0) A(e$1, `bad indentation of a mapping entry`);
		else if (e$1.lineIndent < t$1) break;
	}
	return g$1 && N(e$1, d$1, f$1, p$1, m$1, null, o$1, s$1, c$1), _$1 && (e$1.tag = l$1, e$1.anchor = u$1, e$1.kind = `mapping`, e$1.result = d$1), _$1;
}
function Ot(e$1) {
	var t$1, n$1 = !1, r$1 = !1, i$1, a$1, o$1 = e$1.input.charCodeAt(e$1.position);
	if (o$1 !== 33) return !1;
	if (e$1.tag !== null && A(e$1, `duplication of a tag property`), o$1 = e$1.input.charCodeAt(++e$1.position), o$1 === 60 ? (n$1 = !0, o$1 = e$1.input.charCodeAt(++e$1.position)) : o$1 === 33 ? (r$1 = !0, i$1 = `!!`, o$1 = e$1.input.charCodeAt(++e$1.position)) : i$1 = `!`, t$1 = e$1.position, n$1) {
		do
			o$1 = e$1.input.charCodeAt(++e$1.position);
		while (o$1 !== 0 && o$1 !== 62);
		e$1.position < e$1.length ? (a$1 = e$1.input.slice(t$1, e$1.position), o$1 = e$1.input.charCodeAt(++e$1.position)) : A(e$1, `unexpected end of the stream within a verbatim tag`);
	} else {
		for (; o$1 !== 0 && !D(o$1);) o$1 === 33 && (r$1 ? A(e$1, `tag suffix cannot contain exclamation marks`) : (i$1 = e$1.input.slice(t$1 - 1, e$1.position + 1), ot.test(i$1) || A(e$1, `named tag handle cannot contain such characters`), r$1 = !0, t$1 = e$1.position + 1)), o$1 = e$1.input.charCodeAt(++e$1.position);
		a$1 = e$1.input.slice(t$1, e$1.position), at.test(a$1) && A(e$1, `tag suffix cannot contain flow indicator characters`);
	}
	a$1 && !st.test(a$1) && A(e$1, `tag name cannot contain such characters: ` + a$1);
	try {
		a$1 = decodeURIComponent(a$1);
	} catch {
		A(e$1, `tag name is malformed: ` + a$1);
	}
	return n$1 ? e$1.tag = a$1 : x.call(e$1.tagMap, i$1) ? e$1.tag = e$1.tagMap[i$1] + a$1 : i$1 === `!` ? e$1.tag = `!` + a$1 : i$1 === `!!` ? e$1.tag = `tag:yaml.org,2002:` + a$1 : A(e$1, `undeclared tag handle "` + i$1 + `"`), !0;
}
function kt(e$1) {
	var t$1, n$1 = e$1.input.charCodeAt(e$1.position);
	if (n$1 !== 38) return !1;
	for (e$1.anchor !== null && A(e$1, `duplication of an anchor property`), n$1 = e$1.input.charCodeAt(++e$1.position), t$1 = e$1.position; n$1 !== 0 && !D(n$1) && !O(n$1);) n$1 = e$1.input.charCodeAt(++e$1.position);
	return e$1.position === t$1 && A(e$1, `name of an anchor node must contain at least one character`), e$1.anchor = e$1.input.slice(t$1, e$1.position), !0;
}
function At(e$1) {
	var t$1, n$1, r$1 = e$1.input.charCodeAt(e$1.position);
	if (r$1 !== 42) return !1;
	for (r$1 = e$1.input.charCodeAt(++e$1.position), t$1 = e$1.position; r$1 !== 0 && !D(r$1) && !O(r$1);) r$1 = e$1.input.charCodeAt(++e$1.position);
	return e$1.position === t$1 && A(e$1, `name of an alias node must contain at least one character`), n$1 = e$1.input.slice(t$1, e$1.position), x.call(e$1.anchorMap, n$1) || A(e$1, `unidentified alias "` + n$1 + `"`), e$1.result = e$1.anchorMap[n$1], F(e$1, !0, -1), !0;
}
function R(e$1, t$1, n$1, r$1, i$1) {
	var a$1, o$1, s$1, c$1 = 1, l$1 = !1, u$1 = !1, d$1, f$1, p$1, m$1, h$1, g$1;
	if (e$1.listener !== null && e$1.listener(`open`, e$1), e$1.tag = null, e$1.anchor = null, e$1.kind = null, e$1.result = null, a$1 = o$1 = s$1 = C === n$1 || et === n$1, r$1 && F(e$1, !0, -1) && (l$1 = !0, e$1.lineIndent > t$1 ? c$1 = 1 : e$1.lineIndent === t$1 ? c$1 = 0 : e$1.lineIndent < t$1 && (c$1 = -1)), c$1 === 1) for (; Ot(e$1) || kt(e$1);) F(e$1, !0, -1) ? (l$1 = !0, s$1 = a$1, e$1.lineIndent > t$1 ? c$1 = 1 : e$1.lineIndent === t$1 ? c$1 = 0 : e$1.lineIndent < t$1 && (c$1 = -1)) : s$1 = !1;
	if (s$1 &&= l$1 || i$1, (c$1 === 1 || C === n$1) && (h$1 = S === n$1 || $e === n$1 ? t$1 : t$1 + 1, g$1 = e$1.position - e$1.lineStart, c$1 === 1 ? s$1 && (Et(e$1, g$1) || Dt(e$1, g$1, h$1)) || wt(e$1, h$1) ? u$1 = !0 : (o$1 && Tt(e$1, h$1) || St(e$1, h$1) || Ct(e$1, h$1) ? u$1 = !0 : At(e$1) ? (u$1 = !0, (e$1.tag !== null || e$1.anchor !== null) && A(e$1, `alias node should not have any properties`)) : xt(e$1, h$1, S === n$1) && (u$1 = !0, e$1.tag === null && (e$1.tag = `?`)), e$1.anchor !== null && (e$1.anchorMap[e$1.anchor] = e$1.result)) : c$1 === 0 && (u$1 = s$1 && Et(e$1, g$1))), e$1.tag === null) e$1.anchor !== null && (e$1.anchorMap[e$1.anchor] = e$1.result);
	else if (e$1.tag === `?`) {
		for (e$1.result !== null && e$1.kind !== `scalar` && A(e$1, `unacceptable node kind for !<?> tag; it should be "scalar", not "` + e$1.kind + `"`), d$1 = 0, f$1 = e$1.implicitTypes.length; d$1 < f$1; d$1 += 1) if (m$1 = e$1.implicitTypes[d$1], m$1.resolve(e$1.result)) {
			e$1.result = m$1.construct(e$1.result), e$1.tag = m$1.tag, e$1.anchor !== null && (e$1.anchorMap[e$1.anchor] = e$1.result);
			break;
		}
	} else if (e$1.tag !== `!`) {
		if (x.call(e$1.typeMap[e$1.kind || `fallback`], e$1.tag)) m$1 = e$1.typeMap[e$1.kind || `fallback`][e$1.tag];
		else for (m$1 = null, p$1 = e$1.typeMap.multi[e$1.kind || `fallback`], d$1 = 0, f$1 = p$1.length; d$1 < f$1; d$1 += 1) if (e$1.tag.slice(0, p$1[d$1].tag.length) === p$1[d$1].tag) {
			m$1 = p$1[d$1];
			break;
		}
		m$1 || A(e$1, `unknown tag !<` + e$1.tag + `>`), e$1.result !== null && m$1.kind !== e$1.kind && A(e$1, `unacceptable node kind for !<` + e$1.tag + `> tag; it should be "` + m$1.kind + `", not "` + e$1.kind + `"`), m$1.resolve(e$1.result, e$1.tag) ? (e$1.result = m$1.construct(e$1.result, e$1.tag), e$1.anchor !== null && (e$1.anchorMap[e$1.anchor] = e$1.result)) : A(e$1, `cannot resolve a node with !<` + e$1.tag + `> explicit tag`);
	}
	return e$1.listener !== null && e$1.listener(`close`, e$1), e$1.tag !== null || e$1.anchor !== null || u$1;
}
function jt(e$1) {
	var t$1 = e$1.position, n$1, r$1, i$1, a$1 = !1, o$1;
	for (e$1.version = null, e$1.checkLineBreaks = e$1.legacy, e$1.tagMap = Object.create(null), e$1.anchorMap = Object.create(null); (o$1 = e$1.input.charCodeAt(e$1.position)) !== 0 && (F(e$1, !0, -1), o$1 = e$1.input.charCodeAt(e$1.position), !(e$1.lineIndent > 0 || o$1 !== 37));) {
		for (a$1 = !0, o$1 = e$1.input.charCodeAt(++e$1.position), n$1 = e$1.position; o$1 !== 0 && !D(o$1);) o$1 = e$1.input.charCodeAt(++e$1.position);
		for (r$1 = e$1.input.slice(n$1, e$1.position), i$1 = [], r$1.length < 1 && A(e$1, `directive name must not be less than one character in length`); o$1 !== 0;) {
			for (; E(o$1);) o$1 = e$1.input.charCodeAt(++e$1.position);
			if (o$1 === 35) {
				do
					o$1 = e$1.input.charCodeAt(++e$1.position);
				while (o$1 !== 0 && !T(o$1));
				break;
			}
			if (T(o$1)) break;
			for (n$1 = e$1.position; o$1 !== 0 && !D(o$1);) o$1 = e$1.input.charCodeAt(++e$1.position);
			i$1.push(e$1.input.slice(n$1, e$1.position));
		}
		o$1 !== 0 && P(e$1), x.call(yt, r$1) ? yt[r$1](e$1, r$1, i$1) : j(e$1, `unknown document directive "` + r$1 + `"`);
	}
	if (F(e$1, !0, -1), e$1.lineIndent === 0 && e$1.input.charCodeAt(e$1.position) === 45 && e$1.input.charCodeAt(e$1.position + 1) === 45 && e$1.input.charCodeAt(e$1.position + 2) === 45 ? (e$1.position += 3, F(e$1, !0, -1)) : a$1 && A(e$1, `directives end mark is expected`), R(e$1, e$1.lineIndent - 1, C, !1, !0), F(e$1, !0, -1), e$1.checkLineBreaks && it.test(e$1.input.slice(t$1, e$1.position)) && j(e$1, `non-ASCII line breaks are interpreted as content`), e$1.documents.push(e$1.result), e$1.position === e$1.lineStart && I(e$1)) {
		e$1.input.charCodeAt(e$1.position) === 46 && (e$1.position += 3, F(e$1, !0, -1));
		return;
	}
	if (e$1.position < e$1.length - 1) A(e$1, `end of the stream or a document separator is expected`);
	else return;
}
function Mt(e$1, t$1) {
	e$1 = String(e$1), t$1 ||= {}, e$1.length !== 0 && (e$1.charCodeAt(e$1.length - 1) !== 10 && e$1.charCodeAt(e$1.length - 1) !== 13 && (e$1 += `
`), e$1.charCodeAt(0) === 65279 && (e$1 = e$1.slice(1)));
	var n$1 = new _t(e$1, t$1), r$1 = e$1.indexOf(`\0`);
	for (r$1 !== -1 && (n$1.position = r$1, A(n$1, `null byte is not allowed in input`)), n$1.input += `\0`; n$1.input.charCodeAt(n$1.position) === 32;) n$1.lineIndent += 1, n$1.position += 1;
	for (; n$1.position < n$1.length - 1;) jt(n$1);
	return n$1.documents;
}
function Nt(e$1, t$1, n$1) {
	typeof t$1 == `object` && t$1 && n$1 === void 0 && (n$1 = t$1, t$1 = null);
	var r$1 = Mt(e$1, n$1);
	if (typeof t$1 != `function`) return r$1;
	for (var i$1 = 0, a$1 = r$1.length; i$1 < a$1; i$1 += 1) t$1(r$1[i$1]);
}
function Pt(e$1, t$1) {
	var n$1 = Mt(e$1, t$1);
	if (n$1.length !== 0) {
		if (n$1.length === 1) return n$1[0];
		throw new l(`expected a single document in the stream, but found more`);
	}
}
var Ft = {
	loadAll: Nt,
	load: Pt
}, It = Object.prototype.toString, Lt = Object.prototype.hasOwnProperty, z = 65279, Rt = 9, B = 10, zt = 13, Bt = 32, Vt = 33, Ht = 34, V = 35, Ut = 37, Wt = 38, Gt = 39, Kt = 42, qt = 44, Jt = 45, H = 58, Yt = 61, Xt = 62, Zt = 63, Qt = 64, $t = 91, en = 93, tn = 96, nn = 123, rn = 124, an = 125, U = {};
U[0] = `\\0`, U[7] = `\\a`, U[8] = `\\b`, U[9] = `\\t`, U[10] = `\\n`, U[11] = `\\v`, U[12] = `\\f`, U[13] = `\\r`, U[27] = `\\e`, U[34] = `\\"`, U[92] = `\\\\`, U[133] = `\\N`, U[160] = `\\_`, U[8232] = `\\L`, U[8233] = `\\P`;
var on = [
	`y`,
	`Y`,
	`yes`,
	`Yes`,
	`YES`,
	`on`,
	`On`,
	`ON`,
	`n`,
	`N`,
	`no`,
	`No`,
	`NO`,
	`off`,
	`Off`,
	`OFF`
], sn = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
function cn(e$1, t$1) {
	var n$1, r$1, i$1, a$1, o$1, s$1, c$1;
	if (t$1 === null) return {};
	for (n$1 = {}, r$1 = Object.keys(t$1), i$1 = 0, a$1 = r$1.length; i$1 < a$1; i$1 += 1) o$1 = r$1[i$1], s$1 = String(t$1[o$1]), o$1.slice(0, 2) === `!!` && (o$1 = `tag:yaml.org,2002:` + o$1.slice(2)), c$1 = e$1.compiledTypeMap.fallback[o$1], c$1 && Lt.call(c$1.styleAliases, s$1) && (s$1 = c$1.styleAliases[s$1]), n$1[o$1] = s$1;
	return n$1;
}
function ln(e$1) {
	var t$1 = e$1.toString(16).toUpperCase(), n$1, r$1;
	if (e$1 <= 255) n$1 = `x`, r$1 = 2;
	else if (e$1 <= 65535) n$1 = `u`, r$1 = 4;
	else if (e$1 <= 4294967295) n$1 = `U`, r$1 = 8;
	else throw new l(`code point within a string may not be greater than 0xFFFFFFFF`);
	return `\\` + n$1 + o.repeat(`0`, r$1 - t$1.length) + t$1;
}
var un = 1, W = 2;
function dn(e$1) {
	this.schema = e$1.schema || Qe, this.indent = Math.max(1, e$1.indent || 2), this.noArrayIndent = e$1.noArrayIndent || !1, this.skipInvalid = e$1.skipInvalid || !1, this.flowLevel = o.isNothing(e$1.flowLevel) ? -1 : e$1.flowLevel, this.styleMap = cn(this.schema, e$1.styles || null), this.sortKeys = e$1.sortKeys || !1, this.lineWidth = e$1.lineWidth || 80, this.noRefs = e$1.noRefs || !1, this.noCompatMode = e$1.noCompatMode || !1, this.condenseFlow = e$1.condenseFlow || !1, this.quotingType = e$1.quotingType === `"` ? W : un, this.forceQuotes = e$1.forceQuotes || !1, this.replacer = typeof e$1.replacer == `function` ? e$1.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = ``, this.duplicates = [], this.usedDuplicates = null;
}
function fn(e$1, t$1) {
	for (var n$1 = o.repeat(` `, t$1), r$1 = 0, i$1 = -1, a$1 = ``, s$1, c$1 = e$1.length; r$1 < c$1;) i$1 = e$1.indexOf(`
`, r$1), i$1 === -1 ? (s$1 = e$1.slice(r$1), r$1 = c$1) : (s$1 = e$1.slice(r$1, i$1 + 1), r$1 = i$1 + 1), s$1.length && s$1 !== `
` && (a$1 += n$1), a$1 += s$1;
	return a$1;
}
function G(e$1, t$1) {
	return `
` + o.repeat(` `, e$1.indent * t$1);
}
function pn(e$1, t$1) {
	var n$1, r$1, i$1;
	for (n$1 = 0, r$1 = e$1.implicitTypes.length; n$1 < r$1; n$1 += 1) if (i$1 = e$1.implicitTypes[n$1], i$1.resolve(t$1)) return !0;
	return !1;
}
function K(e$1) {
	return e$1 === Bt || e$1 === Rt;
}
function q(e$1) {
	return 32 <= e$1 && e$1 <= 126 || 161 <= e$1 && e$1 <= 55295 && e$1 !== 8232 && e$1 !== 8233 || 57344 <= e$1 && e$1 <= 65533 && e$1 !== z || 65536 <= e$1 && e$1 <= 1114111;
}
function mn(e$1) {
	return q(e$1) && e$1 !== z && e$1 !== zt && e$1 !== B;
}
function hn(e$1, t$1, n$1) {
	var r$1 = mn(e$1), i$1 = r$1 && !K(e$1);
	return (n$1 ? r$1 : r$1 && e$1 !== qt && e$1 !== $t && e$1 !== en && e$1 !== nn && e$1 !== an) && e$1 !== V && !(t$1 === H && !i$1) || mn(t$1) && !K(t$1) && e$1 === V || t$1 === H && i$1;
}
function gn(e$1) {
	return q(e$1) && e$1 !== z && !K(e$1) && e$1 !== Jt && e$1 !== Zt && e$1 !== H && e$1 !== qt && e$1 !== $t && e$1 !== en && e$1 !== nn && e$1 !== an && e$1 !== V && e$1 !== Wt && e$1 !== Kt && e$1 !== Vt && e$1 !== rn && e$1 !== Yt && e$1 !== Xt && e$1 !== Gt && e$1 !== Ht && e$1 !== Ut && e$1 !== Qt && e$1 !== tn;
}
function _n(e$1) {
	return !K(e$1) && e$1 !== H;
}
function J(e$1, t$1) {
	var n$1 = e$1.charCodeAt(t$1), r$1;
	return n$1 >= 55296 && n$1 <= 56319 && t$1 + 1 < e$1.length && (r$1 = e$1.charCodeAt(t$1 + 1), r$1 >= 56320 && r$1 <= 57343) ? (n$1 - 55296) * 1024 + r$1 - 56320 + 65536 : n$1;
}
function vn(e$1) {
	return /^\n* /.test(e$1);
}
var yn = 1, Y = 2, bn = 3, xn = 4, X = 5;
function Sn(e$1, t$1, n$1, r$1, i$1, a$1, o$1, s$1) {
	var c$1, l$1 = 0, u$1 = null, d$1 = !1, f$1 = !1, p$1 = r$1 !== -1, m$1 = -1, h$1 = gn(J(e$1, 0)) && _n(J(e$1, e$1.length - 1));
	if (t$1 || o$1) for (c$1 = 0; c$1 < e$1.length; l$1 >= 65536 ? c$1 += 2 : c$1++) {
		if (l$1 = J(e$1, c$1), !q(l$1)) return X;
		h$1 &&= hn(l$1, u$1, s$1), u$1 = l$1;
	}
	else {
		for (c$1 = 0; c$1 < e$1.length; l$1 >= 65536 ? c$1 += 2 : c$1++) {
			if (l$1 = J(e$1, c$1), l$1 === B) d$1 = !0, p$1 && (f$1 ||= c$1 - m$1 - 1 > r$1 && e$1[m$1 + 1] !== ` `, m$1 = c$1);
			else if (!q(l$1)) return X;
			h$1 &&= hn(l$1, u$1, s$1), u$1 = l$1;
		}
		f$1 ||= p$1 && c$1 - m$1 - 1 > r$1 && e$1[m$1 + 1] !== ` `;
	}
	return !d$1 && !f$1 ? h$1 && !o$1 && !i$1(e$1) ? yn : a$1 === W ? X : Y : n$1 > 9 && vn(e$1) ? X : o$1 ? a$1 === W ? X : Y : f$1 ? xn : bn;
}
function Cn(e$1, t$1, n$1, r$1, i$1) {
	e$1.dump = function() {
		if (t$1.length === 0) return e$1.quotingType === W ? `""` : `''`;
		if (!e$1.noCompatMode && (on.indexOf(t$1) !== -1 || sn.test(t$1))) return e$1.quotingType === W ? `"` + t$1 + `"` : `'` + t$1 + `'`;
		var a$1 = e$1.indent * Math.max(1, n$1), o$1 = e$1.lineWidth === -1 ? -1 : Math.max(Math.min(e$1.lineWidth, 40), e$1.lineWidth - a$1), s$1 = r$1 || e$1.flowLevel > -1 && n$1 >= e$1.flowLevel;
		function c$1(t$2) {
			return pn(e$1, t$2);
		}
		switch (Sn(t$1, s$1, e$1.indent, o$1, c$1, e$1.quotingType, e$1.forceQuotes && !r$1, i$1)) {
			case yn: return t$1;
			case Y: return `'` + t$1.replace(/'/g, `''`) + `'`;
			case bn: return `|` + wn(t$1, e$1.indent) + Tn(fn(t$1, a$1));
			case xn: return `>` + wn(t$1, e$1.indent) + Tn(fn(En(t$1, o$1), a$1));
			case X: return `"` + Dn(t$1) + `"`;
			default: throw new l(`impossible error: invalid scalar style`);
		}
	}();
}
function wn(e$1, t$1) {
	var n$1 = vn(e$1) ? String(t$1) : ``, r$1 = e$1[e$1.length - 1] === `
`;
	return n$1 + (r$1 && (e$1[e$1.length - 2] === `
` || e$1 === `
`) ? `+` : r$1 ? `` : `-`) + `
`;
}
function Tn(e$1) {
	return e$1[e$1.length - 1] === `
` ? e$1.slice(0, -1) : e$1;
}
function En(e$1, t$1) {
	for (var n$1 = /(\n+)([^\n]*)/g, r$1 = function() {
		var r$2 = e$1.indexOf(`
`);
		return r$2 = r$2 === -1 ? e$1.length : r$2, n$1.lastIndex = r$2, Z(e$1.slice(0, r$2), t$1);
	}(), i$1 = e$1[0] === `
` || e$1[0] === ` `, a$1, o$1; o$1 = n$1.exec(e$1);) {
		var s$1 = o$1[1], c$1 = o$1[2];
		a$1 = c$1[0] === ` `, r$1 += s$1 + (!i$1 && !a$1 && c$1 !== `` ? `
` : ``) + Z(c$1, t$1), i$1 = a$1;
	}
	return r$1;
}
function Z(e$1, t$1) {
	if (e$1 === `` || e$1[0] === ` `) return e$1;
	for (var n$1 = / [^ ]/g, r$1, i$1 = 0, a$1, o$1 = 0, s$1 = 0, c$1 = ``; r$1 = n$1.exec(e$1);) s$1 = r$1.index, s$1 - i$1 > t$1 && (a$1 = o$1 > i$1 ? o$1 : s$1, c$1 += `
` + e$1.slice(i$1, a$1), i$1 = a$1 + 1), o$1 = s$1;
	return c$1 += `
`, e$1.length - i$1 > t$1 && o$1 > i$1 ? c$1 += e$1.slice(i$1, o$1) + `
` + e$1.slice(o$1 + 1) : c$1 += e$1.slice(i$1), c$1.slice(1);
}
function Dn(e$1) {
	for (var t$1 = ``, n$1 = 0, r$1, i$1 = 0; i$1 < e$1.length; n$1 >= 65536 ? i$1 += 2 : i$1++) n$1 = J(e$1, i$1), r$1 = U[n$1], !r$1 && q(n$1) ? (t$1 += e$1[i$1], n$1 >= 65536 && (t$1 += e$1[i$1 + 1])) : t$1 += r$1 || ln(n$1);
	return t$1;
}
function On(e$1, t$1, n$1) {
	var r$1 = ``, i$1 = e$1.tag, a$1, o$1, s$1;
	for (a$1 = 0, o$1 = n$1.length; a$1 < o$1; a$1 += 1) s$1 = n$1[a$1], e$1.replacer && (s$1 = e$1.replacer.call(n$1, String(a$1), s$1)), (Q(e$1, t$1, s$1, !1, !1) || s$1 === void 0 && Q(e$1, t$1, null, !1, !1)) && (r$1 !== `` && (r$1 += `,` + (e$1.condenseFlow ? `` : ` `)), r$1 += e$1.dump);
	e$1.tag = i$1, e$1.dump = `[` + r$1 + `]`;
}
function kn(e$1, t$1, n$1, r$1) {
	var i$1 = ``, a$1 = e$1.tag, o$1, s$1, c$1;
	for (o$1 = 0, s$1 = n$1.length; o$1 < s$1; o$1 += 1) c$1 = n$1[o$1], e$1.replacer && (c$1 = e$1.replacer.call(n$1, String(o$1), c$1)), (Q(e$1, t$1 + 1, c$1, !0, !0, !1, !0) || c$1 === void 0 && Q(e$1, t$1 + 1, null, !0, !0, !1, !0)) && ((!r$1 || i$1 !== ``) && (i$1 += G(e$1, t$1)), e$1.dump && B === e$1.dump.charCodeAt(0) ? i$1 += `-` : i$1 += `- `, i$1 += e$1.dump);
	e$1.tag = a$1, e$1.dump = i$1 || `[]`;
}
function An(e$1, t$1, n$1) {
	var r$1 = ``, i$1 = e$1.tag, a$1 = Object.keys(n$1), o$1, s$1, c$1, l$1, u$1;
	for (o$1 = 0, s$1 = a$1.length; o$1 < s$1; o$1 += 1) u$1 = ``, r$1 !== `` && (u$1 += `, `), e$1.condenseFlow && (u$1 += `"`), c$1 = a$1[o$1], l$1 = n$1[c$1], e$1.replacer && (l$1 = e$1.replacer.call(n$1, c$1, l$1)), Q(e$1, t$1, c$1, !1, !1) && (e$1.dump.length > 1024 && (u$1 += `? `), u$1 += e$1.dump + (e$1.condenseFlow ? `"` : ``) + `:` + (e$1.condenseFlow ? `` : ` `), Q(e$1, t$1, l$1, !1, !1) && (u$1 += e$1.dump, r$1 += u$1));
	e$1.tag = i$1, e$1.dump = `{` + r$1 + `}`;
}
function jn(e$1, t$1, n$1, r$1) {
	var i$1 = ``, a$1 = e$1.tag, o$1 = Object.keys(n$1), s$1, c$1, u$1, d$1, f$1, p$1;
	if (e$1.sortKeys === !0) o$1.sort();
	else if (typeof e$1.sortKeys == `function`) o$1.sort(e$1.sortKeys);
	else if (e$1.sortKeys) throw new l(`sortKeys must be a boolean or a function`);
	for (s$1 = 0, c$1 = o$1.length; s$1 < c$1; s$1 += 1) p$1 = ``, (!r$1 || i$1 !== ``) && (p$1 += G(e$1, t$1)), u$1 = o$1[s$1], d$1 = n$1[u$1], e$1.replacer && (d$1 = e$1.replacer.call(n$1, u$1, d$1)), Q(e$1, t$1 + 1, u$1, !0, !0, !0) && (f$1 = e$1.tag !== null && e$1.tag !== `?` || e$1.dump && e$1.dump.length > 1024, f$1 && (e$1.dump && B === e$1.dump.charCodeAt(0) ? p$1 += `?` : p$1 += `? `), p$1 += e$1.dump, f$1 && (p$1 += G(e$1, t$1)), Q(e$1, t$1 + 1, d$1, !0, f$1) && (e$1.dump && B === e$1.dump.charCodeAt(0) ? p$1 += `:` : p$1 += `: `, p$1 += e$1.dump, i$1 += p$1));
	e$1.tag = a$1, e$1.dump = i$1 || `{}`;
}
function Mn(e$1, t$1, n$1) {
	var r$1, i$1 = n$1 ? e$1.explicitTypes : e$1.implicitTypes, a$1, o$1, s$1, c$1;
	for (a$1 = 0, o$1 = i$1.length; a$1 < o$1; a$1 += 1) if (s$1 = i$1[a$1], (s$1.instanceOf || s$1.predicate) && (!s$1.instanceOf || typeof t$1 == `object` && t$1 instanceof s$1.instanceOf) && (!s$1.predicate || s$1.predicate(t$1))) {
		if (n$1 ? s$1.multi && s$1.representName ? e$1.tag = s$1.representName(t$1) : e$1.tag = s$1.tag : e$1.tag = `?`, s$1.represent) {
			if (c$1 = e$1.styleMap[s$1.tag] || s$1.defaultStyle, It.call(s$1.represent) === `[object Function]`) r$1 = s$1.represent(t$1, c$1);
			else if (Lt.call(s$1.represent, c$1)) r$1 = s$1.represent[c$1](t$1, c$1);
			else throw new l(`!<` + s$1.tag + `> tag resolver accepts not "` + c$1 + `" style`);
			e$1.dump = r$1;
		}
		return !0;
	}
	return !1;
}
function Q(e$1, t$1, n$1, r$1, i$1, a$1, o$1) {
	e$1.tag = null, e$1.dump = n$1, Mn(e$1, n$1, !1) || Mn(e$1, n$1, !0);
	var s$1 = It.call(e$1.dump), c$1 = r$1, u$1;
	r$1 &&= e$1.flowLevel < 0 || e$1.flowLevel > t$1;
	var d$1 = s$1 === `[object Object]` || s$1 === `[object Array]`, f$1, p$1;
	if (d$1 && (f$1 = e$1.duplicates.indexOf(n$1), p$1 = f$1 !== -1), (e$1.tag !== null && e$1.tag !== `?` || p$1 || e$1.indent !== 2 && t$1 > 0) && (i$1 = !1), p$1 && e$1.usedDuplicates[f$1]) e$1.dump = `*ref_` + f$1;
	else {
		if (d$1 && p$1 && !e$1.usedDuplicates[f$1] && (e$1.usedDuplicates[f$1] = !0), s$1 === `[object Object]`) r$1 && Object.keys(e$1.dump).length !== 0 ? (jn(e$1, t$1, e$1.dump, i$1), p$1 && (e$1.dump = `&ref_` + f$1 + e$1.dump)) : (An(e$1, t$1, e$1.dump), p$1 && (e$1.dump = `&ref_` + f$1 + ` ` + e$1.dump));
		else if (s$1 === `[object Array]`) r$1 && e$1.dump.length !== 0 ? (e$1.noArrayIndent && !o$1 && t$1 > 0 ? kn(e$1, t$1 - 1, e$1.dump, i$1) : kn(e$1, t$1, e$1.dump, i$1), p$1 && (e$1.dump = `&ref_` + f$1 + e$1.dump)) : (On(e$1, t$1, e$1.dump), p$1 && (e$1.dump = `&ref_` + f$1 + ` ` + e$1.dump));
		else if (s$1 === `[object String]`) e$1.tag !== `?` && Cn(e$1, e$1.dump, t$1, a$1, c$1);
		else if (s$1 === `[object Undefined]`) return !1;
		else {
			if (e$1.skipInvalid) return !1;
			throw new l(`unacceptable kind of an object to dump ` + s$1);
		}
		e$1.tag !== null && e$1.tag !== `?` && (u$1 = encodeURI(e$1.tag[0] === `!` ? e$1.tag.slice(1) : e$1.tag).replace(/!/g, `%21`), u$1 = e$1.tag[0] === `!` ? `!` + u$1 : u$1.slice(0, 18) === `tag:yaml.org,2002:` ? `!!` + u$1.slice(18) : `!<` + u$1 + `>`, e$1.dump = u$1 + ` ` + e$1.dump);
	}
	return !0;
}
function Nn(e$1, t$1) {
	var n$1 = [], r$1 = [], i$1, a$1;
	for ($(e$1, n$1, r$1), i$1 = 0, a$1 = r$1.length; i$1 < a$1; i$1 += 1) t$1.duplicates.push(n$1[r$1[i$1]]);
	t$1.usedDuplicates = Array(a$1);
}
function $(e$1, t$1, n$1) {
	var r$1, i$1, a$1;
	if (typeof e$1 == `object` && e$1) if (i$1 = t$1.indexOf(e$1), i$1 !== -1) n$1.indexOf(i$1) === -1 && n$1.push(i$1);
	else if (t$1.push(e$1), Array.isArray(e$1)) for (i$1 = 0, a$1 = e$1.length; i$1 < a$1; i$1 += 1) $(e$1[i$1], t$1, n$1);
	else for (r$1 = Object.keys(e$1), i$1 = 0, a$1 = r$1.length; i$1 < a$1; i$1 += 1) $(e$1[r$1[i$1]], t$1, n$1);
}
function Pn(e$1, t$1) {
	t$1 ||= {};
	var n$1 = new dn(t$1);
	n$1.noRefs || Nn(e$1, n$1);
	var r$1 = e$1;
	return n$1.replacer && (r$1 = n$1.replacer.call({ "": r$1 }, ``, r$1)), Q(n$1, 0, r$1, !0, !0) ? n$1.dump + `
` : ``;
}
var Fn = { dump: Pn }, In = Ft.load;
Ft.loadAll;
var Ln = Fn.dump;

//#endregion
exports.In = In;