import { n as e, t } from "./dist-CAOIU8xq.js";
import { n, t as r } from "./dist-Crpfx4FA.js";
import * as i from "vue";
import { Text as a, computed as o, createVNode as s, getCurrentScope as c, inject as l, onMounted as u, onScopeDispose as d, onUnmounted as f, ref as p, shallowRef as m, watch as h } from "vue";
e(), r();
function g(e, t) {
	typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
}
var _ = {};
function v(e) {
	_[e] || (_[e] = !0, g(e));
}
var y = typeof window < "u", b, x;
if (n.env.NODE_ENV !== "production") {
	let e = y && window.performance;
	e && e.mark && e.measure && e.clearMarks && e.clearMeasures && (b = (t) => {
		e.mark(t);
	}, x = (t, n, r) => {
		e.measure(t, n, r), e.clearMarks(n), e.clearMarks(r);
	});
}
var S = /\{([0-9a-zA-Z]+)\}/g;
function C(e, ...t) {
	return t.length === 1 && R(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(S, (e, n) => t.hasOwnProperty(n) ? t[n] : "");
}
var w = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), T = (e, t, n) => E({
	l: e,
	k: t,
	s: n
}), E = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), D = (e) => typeof e == "number" && isFinite(e), O = (e) => pe(e) === "[object Date]", ee = (e) => pe(e) === "[object RegExp]", te = (e) => B(e) && Object.keys(e).length === 0, k = Object.assign, ne = Object.create, A = (e = null) => ne(e), j, M = () => j ||= typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : t === void 0 ? A() : t;
function re(e) {
	return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/\//g, "&#x2F;").replace(/=/g, "&#x3D;");
}
function ie(e) {
	return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
}
var ae = /^\s*javascript\s*(?::|&#0*58;?|&#x0*3a;?|&colon;?)/i, oe = /^(?:href|src|action|formaction)$/i;
function se(e) {
	return ae.test(e);
}
function ce(e) {
	let t = /url\s*\(/gi, n = "", r = 0, i;
	for (; (i = t.exec(e)) !== null;) {
		let a = i.index, o = t.lastIndex - 1, s = o + 1, c = 1, l = null;
		for (; s < e.length; s++) {
			let t = e[s];
			if (l) {
				t === l && (l = null);
				continue;
			}
			if (t === "\"" || t === "'") l = t;
			else if (t === "(") c++;
			else if (t === ")" && (c--, c === 0)) break;
		}
		if (c !== 0) break;
		let u = e.slice(o + 1, s).trim(), d = u.startsWith("\"") && u.endsWith("\"") || u.startsWith("'") && u.endsWith("'") ? u.slice(1, -1).trim() : u;
		n += e.slice(r, a), n += se(d) ? "url(about:blank)" : e.slice(a, s + 1), r = s + 1;
	}
	return n + e.slice(r);
}
function le(e, t) {
	return oe.test(e) && se(t) ? "about:blank" : ie(e.toLowerCase() === "style" ? ce(t) : t);
}
function ue(e) {
	return e = e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g, (e, t, n) => `${t}="${le(t, n)}"`), e = e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g, (e, t, n) => `${t}='${le(t, n)}'`), /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e) && (n.env.NODE_ENV !== "production" && g("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."), e = e.replace(/(\s+)(on)(\w+\s*=)/gi, "$1&#111;n$3")), e = e.replace(/(\s+(?:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi, (e, t, n) => se(n) ? `${t}about:blank` : e), e;
}
var de = Object.prototype.hasOwnProperty;
function N(e, t) {
	return de.call(e, t);
}
var P = Array.isArray, F = (e) => typeof e == "function", I = (e) => typeof e == "string", L = (e) => typeof e == "boolean", R = (e) => typeof e == "object" && !!e, z = (e) => R(e) && F(e.then) && F(e.catch), fe = Object.prototype.toString, pe = (e) => fe.call(e), B = (e) => pe(e) === "[object Object]", me = (e) => e == null ? "" : P(e) || B(e) && e.toString === fe ? JSON.stringify(e, null, 2) : String(e);
function he(e, t = "") {
	return e.reduce((e, n, r) => r === 0 ? e + n : e + t + n, "");
}
var ge = 2;
function _e(e, t = 0, n = e.length) {
	let r = e.split(/\r?\n/), i = 0, a = [];
	for (let e = 0; e < r.length; e++) if (i += r[e].length + 1, i >= t) {
		for (let o = e - ge; o <= e + ge || n > i; o++) {
			if (o < 0 || o >= r.length) continue;
			let s = o + 1;
			a.push(`${s}${" ".repeat(3 - String(s).length)}|  ${r[o]}`);
			let c = r[o].length;
			if (o === e) {
				let e = t - (i - c) + 1, r = Math.max(1, n > i ? c - e : n - t);
				a.push("   |  " + " ".repeat(e) + "^".repeat(r));
			} else if (o > e) {
				if (n > i) {
					let e = Math.max(Math.min(n - i, c), 1);
					a.push("   |  " + "^".repeat(e));
				}
				i += c + 1;
			}
		}
		break;
	}
	return a.join("\n");
}
function ve() {
	let e = /* @__PURE__ */ new Map();
	return {
		events: e,
		on(t, n) {
			let r = e.get(t);
			r && r.push(n) || e.set(t, [n]);
		},
		off(t, n) {
			let r = e.get(t);
			r && r.splice(r.indexOf(n) >>> 0, 1);
		},
		emit(t, n) {
			(e.get(t) || []).slice().map((e) => e(n)), (e.get("*") || []).slice().map((e) => e(t, n));
		}
	};
}
var ye = (e) => !R(e) || P(e);
function be(e, t) {
	if (ye(e) || ye(t)) throw Error("Invalid value");
	let n = [{
		src: e,
		des: t
	}];
	for (; n.length;) {
		let { src: e, des: t } = n.pop();
		Object.keys(e).forEach((r) => {
			r !== "__proto__" && (R(e[r]) && !R(t[r]) && (t[r] = Array.isArray(e[r]) ? [] : A()), ye(t[r]) || ye(e[r]) ? t[r] = e[r] : n.push({
				src: e[r],
				des: t[r]
			}));
		});
	}
}
//#endregion
//#region node_modules/@intlify/message-compiler/dist/message-compiler.mjs
r();
function xe(e, t, n) {
	return {
		line: e,
		column: t,
		offset: n
	};
}
function Se(e, t, n) {
	let r = {
		start: e,
		end: t
	};
	return n != null && (r.source = n), r;
}
var V = {
	EXPECTED_TOKEN: 1,
	INVALID_TOKEN_IN_PLACEHOLDER: 2,
	UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER: 3,
	UNKNOWN_ESCAPE_SEQUENCE: 4,
	INVALID_UNICODE_ESCAPE_SEQUENCE: 5,
	UNBALANCED_CLOSING_BRACE: 6,
	UNTERMINATED_CLOSING_BRACE: 7,
	EMPTY_PLACEHOLDER: 8,
	NOT_ALLOW_NEST_PLACEHOLDER: 9,
	INVALID_LINKED_FORMAT: 10,
	MUST_HAVE_MESSAGES_IN_PLURAL: 11,
	UNEXPECTED_EMPTY_LINKED_MODIFIER: 12,
	UNEXPECTED_EMPTY_LINKED_KEY: 13,
	UNEXPECTED_LEXICAL_ANALYSIS: 14,
	UNHANDLED_CODEGEN_NODE_TYPE: 15,
	UNHANDLED_MINIFIER_NODE_TYPE: 16
}, Ce = {
	[V.EXPECTED_TOKEN]: "Expected token: '{0}'",
	[V.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
	[V.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]: "Unterminated single quote in placeholder",
	[V.UNKNOWN_ESCAPE_SEQUENCE]: "Unknown escape sequence: \\{0}",
	[V.INVALID_UNICODE_ESCAPE_SEQUENCE]: "Invalid unicode escape sequence: {0}",
	[V.UNBALANCED_CLOSING_BRACE]: "Unbalanced closing brace",
	[V.UNTERMINATED_CLOSING_BRACE]: "Unterminated closing brace",
	[V.EMPTY_PLACEHOLDER]: "Empty placeholder",
	[V.NOT_ALLOW_NEST_PLACEHOLDER]: "Not allowed nest placeholder",
	[V.INVALID_LINKED_FORMAT]: "Invalid linked format",
	[V.MUST_HAVE_MESSAGES_IN_PLURAL]: "Plural must have messages",
	[V.UNEXPECTED_EMPTY_LINKED_MODIFIER]: "Unexpected empty linked modifier",
	[V.UNEXPECTED_EMPTY_LINKED_KEY]: "Unexpected empty linked key",
	[V.UNEXPECTED_LEXICAL_ANALYSIS]: "Unexpected lexical analysis in token: '{0}'",
	[V.UNHANDLED_CODEGEN_NODE_TYPE]: "unhandled codegen node type: '{0}'",
	[V.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
};
function we(e, t, r = {}) {
	let { domain: i, messages: a, args: o } = r, s = n.env.NODE_ENV === "production" ? e : C((a || Ce)[e] || "", ...o || []), c = SyntaxError(String(s));
	return c.code = e, t && (c.location = t), c.domain = i, c;
}
function Te(e) {
	throw e;
}
var Ee = /<\/?[\w\s="/.':;#-\/]+>/, De = (e) => Ee.test(e), H = " ", Oe = "\r", U = "\n", ke = "\u2028", Ae = "\u2029";
function je(e) {
	let t = e, n = 0, r = 1, i = 1, a = 0, o = (e) => t[e] === Oe && t[e + 1] === U, s = (e) => t[e] === U, c = (e) => t[e] === Ae, l = (e) => t[e] === ke, u = (e) => o(e) || s(e) || c(e) || l(e), d = () => n, f = () => r, p = () => i, m = () => a, h = (e) => o(e) || c(e) || l(e) ? U : t[e], g = () => h(n), _ = () => h(n + a);
	function v() {
		return a = 0, u(n) && (r++, i = 0), o(n) && n++, n++, i++, t[n];
	}
	function y() {
		return o(n + a) && a++, a++, t[n + a];
	}
	function b() {
		n = 0, r = 1, i = 1, a = 0;
	}
	function x(e = 0) {
		a = e;
	}
	function S() {
		let e = n + a;
		for (; e !== n;) v();
		a = 0;
	}
	return {
		index: d,
		line: f,
		column: p,
		peekOffset: m,
		charAt: h,
		currentChar: g,
		currentPeek: _,
		next: v,
		peek: y,
		reset: b,
		resetPeek: x,
		skipToPeek: S
	};
}
var W = void 0, Me = "'", Ne = "tokenizer";
function Pe(e, t = {}) {
	let n = t.location !== !1, r = je(e), i = () => r.index(), a = () => xe(r.line(), r.column(), r.index()), o = a(), s = i(), c = {
		currentType: 13,
		offset: s,
		startLoc: o,
		endLoc: o,
		lastType: 13,
		lastOffset: s,
		lastStartLoc: o,
		lastEndLoc: o,
		braceNest: 0,
		inLinked: !1,
		text: ""
	}, l = () => c, { onError: u } = t;
	function d(e, t, r, ...i) {
		let a = l();
		if (t.column += r, t.offset += r, u) {
			let r = we(e, n ? Se(a.startLoc, t) : null, {
				domain: Ne,
				args: i
			});
			u(r);
		}
	}
	function f(e, t, r) {
		e.endLoc = a(), e.currentType = t;
		let i = { type: t };
		return n && (i.loc = Se(e.startLoc, e.endLoc)), r != null && (i.value = r), i;
	}
	let p = (e) => f(e, 13);
	function m(e, t) {
		return e.currentChar() === t ? (e.next(), t) : (d(V.EXPECTED_TOKEN, a(), 0, t), "");
	}
	function h(e) {
		let t = "";
		for (; e.currentPeek() === H || e.currentPeek() === U;) t += e.currentPeek(), e.peek();
		return t;
	}
	function g(e) {
		let t = h(e);
		return e.skipToPeek(), t;
	}
	function _(e) {
		if (e === W) return !1;
		let t = e.charCodeAt(0);
		return t >= 97 && t <= 122 || t >= 65 && t <= 90 || t === 95;
	}
	function v(e) {
		if (e === W) return !1;
		let t = e.charCodeAt(0);
		return t >= 48 && t <= 57;
	}
	function y(e, t) {
		let { currentType: n } = t;
		if (n !== 2) return !1;
		h(e);
		let r = _(e.currentPeek());
		return e.resetPeek(), r;
	}
	function b(e, t) {
		let { currentType: n } = t;
		if (n !== 2) return !1;
		h(e);
		let r = v(e.currentPeek() === "-" ? e.peek() : e.currentPeek());
		return e.resetPeek(), r;
	}
	function x(e, t) {
		let { currentType: n } = t;
		if (n !== 2) return !1;
		h(e);
		let r = e.currentPeek() === Me;
		return e.resetPeek(), r;
	}
	function S(e, t) {
		let { currentType: n } = t;
		if (n !== 7) return !1;
		h(e);
		let r = e.currentPeek() === ".";
		return e.resetPeek(), r;
	}
	function C(e, t) {
		let { currentType: n } = t;
		if (n !== 8) return !1;
		h(e);
		let r = _(e.currentPeek());
		return e.resetPeek(), r;
	}
	function w(e, t) {
		let { currentType: n } = t;
		if (!(n === 7 || n === 11)) return !1;
		h(e);
		let r = e.currentPeek() === ":";
		return e.resetPeek(), r;
	}
	function T(e, t) {
		let { currentType: n } = t;
		if (n !== 9) return !1;
		let r = () => {
			let t = e.currentPeek();
			return t === "{" ? _(e.peek()) : t === "@" || t === "|" || t === ":" || t === "." || t === H || !t ? !1 : t === U ? (e.peek(), r()) : D(e, !1);
		}, i = r();
		return e.resetPeek(), i;
	}
	function E(e) {
		h(e);
		let t = e.currentPeek() === "|";
		return e.resetPeek(), t;
	}
	function D(e, t = !0) {
		let n = (t = !1, r = "") => {
			let i = e.currentPeek();
			return i === "{" || i === "@" || !i ? t : i === "|" ? !(r === H || r === U) : i === H ? (e.peek(), n(!0, H)) : i === U ? (e.peek(), n(!0, U)) : !0;
		}, r = n();
		return t && e.resetPeek(), r;
	}
	function O(e, t) {
		let n = e.currentChar();
		if (n !== W) return t(n) ? (e.next(), n) : null;
	}
	function ee(e) {
		let t = e.charCodeAt(0);
		return t >= 97 && t <= 122 || t >= 65 && t <= 90 || t >= 48 && t <= 57 || t === 95 || t === 36;
	}
	function te(e) {
		return O(e, ee);
	}
	function k(e) {
		let t = e.charCodeAt(0);
		return t >= 97 && t <= 122 || t >= 65 && t <= 90 || t >= 48 && t <= 57 || t === 95 || t === 36 || t === 45;
	}
	function ne(e) {
		return O(e, k);
	}
	function A(e) {
		let t = e.charCodeAt(0);
		return t >= 48 && t <= 57;
	}
	function j(e) {
		return O(e, A);
	}
	function M(e) {
		let t = e.charCodeAt(0);
		return t >= 48 && t <= 57 || t >= 65 && t <= 70 || t >= 97 && t <= 102;
	}
	function re(e) {
		return O(e, M);
	}
	function ie(e) {
		let t = "", n = "";
		for (; t = j(e);) n += t;
		return n;
	}
	function ae(e) {
		let t = "";
		for (;;) {
			let n = e.currentChar();
			if (n === "\\") {
				let r = e.peek();
				r === "{" || r === "}" || r === "@" || r === "|" || r === "\\" ? (t += n + r, e.next(), e.next()) : (e.resetPeek(), t += n, e.next());
			} else if (n === "{" || n === "}" || n === "@" || n === "|" || !n) break;
			else if (n === H || n === U) if (D(e)) t += n, e.next();
			else if (E(e)) break;
			else t += n, e.next();
			else t += n, e.next();
		}
		return t;
	}
	function oe(e) {
		g(e);
		let t = "", n = "";
		for (; t = ne(e);) n += t;
		let r = e.currentChar();
		if (r && r !== "}" && r !== W && r !== H && r !== U && r !== "　") {
			let t = P(e);
			return d(V.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, n + t), n + t;
		}
		return e.currentChar() === W && d(V.UNTERMINATED_CLOSING_BRACE, a(), 0), n;
	}
	function se(e) {
		g(e);
		let t = "";
		return e.currentChar() === "-" ? (e.next(), t += `-${ie(e)}`) : t += ie(e), e.currentChar() === W && d(V.UNTERMINATED_CLOSING_BRACE, a(), 0), t;
	}
	function ce(e) {
		return e !== Me && e !== U;
	}
	function le(e) {
		g(e), m(e, "'");
		let t = "", n = "";
		for (; t = O(e, ce);) t === "\\" ? n += ue(e) : n += t;
		let r = e.currentChar();
		return r === U || r === W ? (d(V.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), r === U && (e.next(), m(e, "'")), n) : (m(e, "'"), n);
	}
	function ue(e) {
		let t = e.currentChar();
		switch (t) {
			case "\\":
			case "'": return e.next(), `\\${t}`;
			case "u": return de(e, t, 4);
			case "U": return de(e, t, 6);
			default: return d(V.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, t), "";
		}
	}
	function de(e, t, n) {
		m(e, t);
		let r = "";
		for (let i = 0; i < n; i++) {
			let n = re(e);
			if (!n) {
				d(V.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${t}${r}${e.currentChar()}`);
				break;
			}
			r += n;
		}
		return `\\${t}${r}`;
	}
	function N(e) {
		return e !== "{" && e !== "}" && e !== H && e !== U;
	}
	function P(e) {
		g(e);
		let t = "", n = "";
		for (; t = O(e, N);) n += t;
		return n;
	}
	function F(e) {
		let t = "", n = "";
		for (; t = te(e);) n += t;
		return n;
	}
	function I(e) {
		let t = (n) => {
			let r = e.currentChar();
			return r === "{" || r === "@" || r === "|" || r === "(" || r === ")" || !r || r === H ? n : (n += r, e.next(), t(n));
		};
		return t("");
	}
	function L(e) {
		g(e);
		let t = m(e, "|");
		return g(e), t;
	}
	function R(e, t) {
		let n = null;
		switch (e.currentChar()) {
			case "{": return t.braceNest >= 1 && d(V.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), e.next(), n = f(t, 2, "{"), g(e), t.braceNest++, n;
			case "}": return t.braceNest > 0 && t.currentType === 2 && d(V.EMPTY_PLACEHOLDER, a(), 0), e.next(), n = f(t, 3, "}"), t.braceNest--, t.braceNest > 0 && g(e), t.inLinked && t.braceNest === 0 && (t.inLinked = !1), n;
			case "@": return t.braceNest > 0 && d(V.UNTERMINATED_CLOSING_BRACE, a(), 0), n = z(e, t) || p(t), t.braceNest = 0, n;
			default: {
				let r = !0, i = !0, o = !0;
				if (E(e)) return t.braceNest > 0 && d(V.UNTERMINATED_CLOSING_BRACE, a(), 0), n = f(t, 1, L(e)), t.braceNest = 0, t.inLinked = !1, n;
				if (t.braceNest > 0 && (t.currentType === 4 || t.currentType === 5 || t.currentType === 6)) return d(V.UNTERMINATED_CLOSING_BRACE, a(), 0), t.braceNest = 0, fe(e, t);
				if (r = y(e, t)) return n = f(t, 4, oe(e)), g(e), n;
				if (i = b(e, t)) return n = f(t, 5, se(e)), g(e), n;
				if (o = x(e, t)) return n = f(t, 6, le(e)), g(e), n;
				if (!r && !i && !o) return n = f(t, 12, P(e)), d(V.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, n.value), g(e), n;
				break;
			}
		}
		return n;
	}
	function z(e, t) {
		let { currentType: n } = t, r = null, i = e.currentChar();
		switch ((n === 7 || n === 8 || n === 11 || n === 9) && (i === U || i === H) && d(V.INVALID_LINKED_FORMAT, a(), 0), i) {
			case "@": return e.next(), r = f(t, 7, "@"), t.inLinked = !0, r;
			case ".": return g(e), e.next(), f(t, 8, ".");
			case ":": return g(e), e.next(), f(t, 9, ":");
			default: return E(e) ? (r = f(t, 1, L(e)), t.braceNest = 0, t.inLinked = !1, r) : S(e, t) || w(e, t) ? (g(e), z(e, t)) : C(e, t) ? (g(e), f(t, 11, F(e))) : T(e, t) ? (g(e), i === "{" ? R(e, t) || r : f(t, 10, I(e))) : (n === 7 && d(V.INVALID_LINKED_FORMAT, a(), 0), t.braceNest = 0, t.inLinked = !1, fe(e, t));
		}
	}
	function fe(e, t) {
		let n = { type: 13 };
		if (t.braceNest > 0) return R(e, t) || p(t);
		if (t.inLinked) return z(e, t) || p(t);
		switch (e.currentChar()) {
			case "{": return R(e, t) || p(t);
			case "}": return d(V.UNBALANCED_CLOSING_BRACE, a(), 0), e.next(), f(t, 3, "}");
			case "@": return z(e, t) || p(t);
			default:
				if (E(e)) return n = f(t, 1, L(e)), t.braceNest = 0, t.inLinked = !1, n;
				if (D(e)) return f(t, 0, ae(e));
				break;
		}
		return n;
	}
	function pe() {
		let { currentType: e, offset: t, startLoc: n, endLoc: o } = c;
		return c.lastType = e, c.lastOffset = t, c.lastStartLoc = n, c.lastEndLoc = o, c.offset = i(), c.startLoc = a(), r.currentChar() === W ? f(c, 13) : fe(r, c);
	}
	return {
		nextToken: pe,
		currentOffset: i,
		currentPosition: a,
		context: l
	};
}
var Fe = "parser", Ie = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g, Le = /\\([\\@{}|])/g;
function Re(e, t) {
	return t;
}
function ze(e, t, n) {
	switch (e) {
		case "\\\\": return "\\";
		case "\\'": return "'";
		default: {
			let e = parseInt(t || n, 16);
			return e <= 55295 || e >= 57344 ? String.fromCodePoint(e) : "�";
		}
	}
}
function Be(e = {}) {
	let t = e.location !== !1, { onError: n } = e;
	function r(e, r, i, a, ...o) {
		let s = e.currentPosition();
		if (s.offset += a, s.column += a, n) {
			let e = we(r, t ? Se(i, s) : null, {
				domain: Fe,
				args: o
			});
			n(e);
		}
	}
	function i(e, n, r) {
		let i = { type: e };
		return t && (i.start = n, i.end = n, i.loc = {
			start: r,
			end: r
		}), i;
	}
	function a(e, n, r, i) {
		t && (e.end = n, e.loc && (e.loc.end = r));
	}
	function o(e, t) {
		let n = e.context(), r = i(3, n.offset, n.startLoc);
		return r.value = t.replace(Le, Re), a(r, e.currentOffset(), e.currentPosition()), r;
	}
	function s(e, t) {
		let { lastOffset: n, lastStartLoc: r } = e.context(), o = i(5, n, r);
		return o.index = parseInt(t, 10), e.nextToken(), a(o, e.currentOffset(), e.currentPosition()), o;
	}
	function c(e, t) {
		let { lastOffset: n, lastStartLoc: r } = e.context(), o = i(4, n, r);
		return o.key = t, e.nextToken(), a(o, e.currentOffset(), e.currentPosition()), o;
	}
	function l(e, t) {
		let { lastOffset: n, lastStartLoc: r } = e.context(), o = i(9, n, r);
		return o.value = t.replace(Ie, ze), e.nextToken(), a(o, e.currentOffset(), e.currentPosition()), o;
	}
	function u(e) {
		let t = e.nextToken(), n = e.context(), { lastOffset: o, lastStartLoc: s } = n, c = i(8, o, s);
		return t.type === 11 ? (t.value ?? r(e, V.UNEXPECTED_LEXICAL_ANALYSIS, n.lastStartLoc, 0, G(t)), c.value = t.value || "", a(c, e.currentOffset(), e.currentPosition()), { node: c }) : (r(e, V.UNEXPECTED_EMPTY_LINKED_MODIFIER, n.lastStartLoc, 0), c.value = "", a(c, o, s), {
			nextConsumeToken: t,
			node: c
		});
	}
	function d(e, t) {
		let n = e.context(), r = i(7, n.offset, n.startLoc);
		return r.value = t, a(r, e.currentOffset(), e.currentPosition()), r;
	}
	function f(e) {
		let t = e.context(), n = i(6, t.offset, t.startLoc), o = e.nextToken();
		if (o.type === 8) {
			let t = u(e);
			n.modifier = t.node, o = t.nextConsumeToken || e.nextToken();
		}
		switch (o.type !== 9 && r(e, V.UNEXPECTED_LEXICAL_ANALYSIS, t.lastStartLoc, 0, G(o)), o = e.nextToken(), o.type === 2 && (o = e.nextToken()), o.type) {
			case 10:
				o.value ?? r(e, V.UNEXPECTED_LEXICAL_ANALYSIS, t.lastStartLoc, 0, G(o)), n.key = d(e, o.value || "");
				break;
			case 4:
				o.value ?? r(e, V.UNEXPECTED_LEXICAL_ANALYSIS, t.lastStartLoc, 0, G(o)), n.key = c(e, o.value || "");
				break;
			case 5:
				o.value ?? r(e, V.UNEXPECTED_LEXICAL_ANALYSIS, t.lastStartLoc, 0, G(o)), n.key = s(e, o.value || "");
				break;
			case 6:
				o.value ?? r(e, V.UNEXPECTED_LEXICAL_ANALYSIS, t.lastStartLoc, 0, G(o)), n.key = l(e, o.value || "");
				break;
			default: {
				r(e, V.UNEXPECTED_EMPTY_LINKED_KEY, t.lastStartLoc, 0);
				let s = e.context(), c = i(7, s.offset, s.startLoc);
				return c.value = "", a(c, s.offset, s.startLoc), n.key = c, a(n, s.offset, s.startLoc), {
					nextConsumeToken: o,
					node: n
				};
			}
		}
		return a(n, e.currentOffset(), e.currentPosition()), { node: n };
	}
	function p(e) {
		let t = e.context(), n = i(2, t.currentType === 1 ? e.currentOffset() : t.offset, t.currentType === 1 ? t.endLoc : t.startLoc);
		n.items = [];
		let u = null;
		do {
			let i = u || e.nextToken();
			switch (u = null, i.type) {
				case 0:
					i.value ?? r(e, V.UNEXPECTED_LEXICAL_ANALYSIS, t.lastStartLoc, 0, G(i)), n.items.push(o(e, i.value || ""));
					break;
				case 5:
					i.value ?? r(e, V.UNEXPECTED_LEXICAL_ANALYSIS, t.lastStartLoc, 0, G(i)), n.items.push(s(e, i.value || ""));
					break;
				case 4:
					i.value ?? r(e, V.UNEXPECTED_LEXICAL_ANALYSIS, t.lastStartLoc, 0, G(i)), n.items.push(c(e, i.value || ""));
					break;
				case 6:
					i.value ?? r(e, V.UNEXPECTED_LEXICAL_ANALYSIS, t.lastStartLoc, 0, G(i)), n.items.push(l(e, i.value || ""));
					break;
				case 7: {
					let t = f(e);
					n.items.push(t.node), u = t.nextConsumeToken || null;
					break;
				}
			}
		} while (t.currentType !== 13 && t.currentType !== 1);
		return a(n, t.currentType === 1 ? t.lastOffset : e.currentOffset(), t.currentType === 1 ? t.lastEndLoc : e.currentPosition()), n;
	}
	function m(e, t, n, o) {
		let s = e.context(), c = o.items.length === 0, l = i(1, t, n);
		l.cases = [], l.cases.push(o);
		do {
			let t = p(e);
			c ||= t.items.length === 0, l.cases.push(t);
		} while (s.currentType !== 13);
		return c && r(e, V.MUST_HAVE_MESSAGES_IN_PLURAL, n, 0), a(l, e.currentOffset(), e.currentPosition()), l;
	}
	function h(e) {
		let t = e.context(), { offset: n, startLoc: r } = t, i = p(e);
		return t.currentType === 13 ? i : m(e, n, r, i);
	}
	function g(n) {
		let o = Pe(n, k({}, e)), s = o.context(), c = i(0, s.offset, s.startLoc);
		return t && c.loc && (c.loc.source = n), c.body = h(o), e.onCacheKey && (c.cacheKey = e.onCacheKey(n)), s.currentType !== 13 && r(o, V.UNEXPECTED_LEXICAL_ANALYSIS, s.lastStartLoc, 0, n[s.offset] || ""), a(c, o.currentOffset(), o.currentPosition()), c;
	}
	return { parse: g };
}
function G(e) {
	if (e.type === 13) return "EOF";
	let t = (e.value || "").replace(/\r?\n/gu, "\\n");
	return t.length > 10 ? t.slice(0, 9) + "…" : t;
}
function Ve(e, t = {}) {
	let n = {
		ast: e,
		helpers: /* @__PURE__ */ new Set()
	};
	return {
		context: () => n,
		helper: (e) => (n.helpers.add(e), e)
	};
}
function He(e, t) {
	for (let n = 0; n < e.length; n++) Ue(e[n], t);
}
function Ue(e, t) {
	switch (e.type) {
		case 1:
			He(e.cases, t), t.helper("plural");
			break;
		case 2:
			He(e.items, t);
			break;
		case 6:
			Ue(e.key, t), t.helper("linked"), t.helper("type");
			break;
		case 5:
			t.helper("interpolate"), t.helper("list");
			break;
		case 4:
			t.helper("interpolate"), t.helper("named");
			break;
	}
}
function We(e, t = {}) {
	let n = Ve(e);
	n.helper("normalize"), e.body && Ue(e.body, n);
	let r = n.context();
	e.helpers = Array.from(r.helpers);
}
function Ge(e) {
	let t = e.body;
	return t.type === 2 ? Ke(t) : t.cases.forEach((e) => Ke(e)), e;
}
function Ke(e) {
	if (e.items.length === 1) {
		let t = e.items[0];
		(t.type === 3 || t.type === 9) && (e.static = t.value, delete t.value);
	} else {
		let t = [];
		for (let n = 0; n < e.items.length; n++) {
			let r = e.items[n];
			if (!(r.type === 3 || r.type === 9) || r.value == null) break;
			t.push(r.value);
		}
		if (t.length === e.items.length) {
			e.static = he(t);
			for (let t = 0; t < e.items.length; t++) {
				let n = e.items[t];
				(n.type === 3 || n.type === 9) && delete n.value;
			}
		}
	}
}
var qe = "minifier";
function Je(e) {
	switch (e.t = e.type, e.type) {
		case 0: {
			let t = e;
			Je(t.body), t.b = t.body, delete t.body;
			break;
		}
		case 1: {
			let t = e, n = t.cases;
			for (let e = 0; e < n.length; e++) Je(n[e]);
			t.c = n, delete t.cases;
			break;
		}
		case 2: {
			let t = e, n = t.items;
			for (let e = 0; e < n.length; e++) Je(n[e]);
			t.i = n, delete t.items, t.static && (t.s = t.static, delete t.static);
			break;
		}
		case 3:
		case 9:
		case 8:
		case 7: {
			let t = e;
			t.value && (t.v = t.value, delete t.value);
			break;
		}
		case 6: {
			let t = e;
			Je(t.key), t.k = t.key, delete t.key, t.modifier && (Je(t.modifier), t.m = t.modifier, delete t.modifier);
			break;
		}
		case 5: {
			let t = e;
			t.i = t.index, delete t.index;
			break;
		}
		case 4: {
			let t = e;
			t.k = t.key, delete t.key;
			break;
		}
		default: if (n.env.NODE_ENV !== "production") throw we(V.UNHANDLED_MINIFIER_NODE_TYPE, null, {
			domain: qe,
			args: [e.type]
		});
	}
	delete e.type;
}
var Ye = "parser";
function Xe(e, t) {
	let { filename: n, breakLineCode: r, needIndent: i } = t, a = t.location !== !1, o = {
		filename: n,
		code: "",
		column: 1,
		line: 1,
		offset: 0,
		map: void 0,
		breakLineCode: r,
		needIndent: i,
		indentLevel: 0
	};
	a && e.loc && (o.source = e.loc.source);
	let s = () => o;
	function c(e, t) {
		o.code += e;
	}
	function l(e, t = !0) {
		let n = t ? r : "";
		c(i ? n + "  ".repeat(e) : n);
	}
	function u(e = !0) {
		let t = ++o.indentLevel;
		e && l(t);
	}
	function d(e = !0) {
		let t = --o.indentLevel;
		e && l(t);
	}
	function f() {
		l(o.indentLevel);
	}
	return {
		context: s,
		push: c,
		indent: u,
		deindent: d,
		newline: f,
		helper: (e) => `_${e}`,
		needIndent: () => o.needIndent
	};
}
function Ze(e, t) {
	let { helper: n } = e;
	e.push(`${n("linked")}(`), tt(e, t.key), t.modifier ? (e.push(", "), tt(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
}
function Qe(e, t) {
	let { helper: n, needIndent: r } = e;
	e.push(`${n("normalize")}([`), e.indent(r());
	let i = t.items.length;
	for (let n = 0; n < i && (tt(e, t.items[n]), n !== i - 1); n++) e.push(", ");
	e.deindent(r()), e.push("])");
}
function $e(e, t) {
	let { helper: n, needIndent: r } = e;
	if (t.cases.length > 1) {
		e.push(`${n("plural")}([`), e.indent(r());
		let i = t.cases.length;
		for (let n = 0; n < i && (tt(e, t.cases[n]), n !== i - 1); n++) e.push(", ");
		e.deindent(r()), e.push("])");
	}
}
function et(e, t) {
	t.body ? tt(e, t.body) : e.push("null");
}
function tt(e, t) {
	let { helper: r } = e;
	switch (t.type) {
		case 0:
			et(e, t);
			break;
		case 1:
			$e(e, t);
			break;
		case 2:
			Qe(e, t);
			break;
		case 6:
			Ze(e, t);
			break;
		case 8:
			e.push(JSON.stringify(t.value), t);
			break;
		case 7:
			e.push(JSON.stringify(t.value), t);
			break;
		case 5:
			e.push(`${r("interpolate")}(${r("list")}(${t.index}))`, t);
			break;
		case 4:
			e.push(`${r("interpolate")}(${r("named")}(${JSON.stringify(t.key)}))`, t);
			break;
		case 9:
			e.push(JSON.stringify(t.value), t);
			break;
		case 3:
			e.push(JSON.stringify(t.value), t);
			break;
		default: if (n.env.NODE_ENV !== "production") throw we(V.UNHANDLED_CODEGEN_NODE_TYPE, null, {
			domain: Ye,
			args: [t.type]
		});
	}
}
var nt = (e, t = {}) => {
	let n = I(t.mode) ? t.mode : "normal", r = I(t.filename) ? t.filename : "message.intl";
	t.sourceMap;
	let i = t.breakLineCode == null ? n === "arrow" ? ";" : "\n" : t.breakLineCode, a = t.needIndent ? t.needIndent : n !== "arrow", o = e.helpers || [], s = Xe(e, {
		filename: r,
		breakLineCode: i,
		needIndent: a
	});
	s.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), s.indent(a), o.length > 0 && (s.push(`const { ${he(o.map((e) => `${e}: _${e}`), ", ")} } = ctx`), s.newline()), s.push("return "), tt(s, e), s.deindent(a), s.push("}"), delete e.helpers;
	let { code: c, map: l } = s.context();
	return {
		ast: e,
		code: c,
		map: l ? l.toJSON() : void 0
	};
};
function rt(e, t = {}) {
	let n = k({}, t), r = !!n.jit, i = !!n.minify, a = n.optimize == null ? !0 : n.optimize, o = Be(n).parse(e);
	return r ? (a && Ge(o), i && Je(o), {
		ast: o,
		code: ""
	}) : (We(o, n), nt(o, n));
}
//#endregion
//#region node_modules/@intlify/core-base/dist/core-base.mjs
r();
function it() {
	typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (M().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (M().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
}
function K(e) {
	return R(e) && mt(e) === 0 && (N(e, "b") || N(e, "body"));
}
var at = ["b", "body"];
function ot(e) {
	return xt(e, at);
}
var st = ["c", "cases"];
function ct(e) {
	return xt(e, st, []);
}
var lt = ["s", "static"];
function ut(e) {
	return xt(e, lt);
}
var dt = ["i", "items"];
function ft(e) {
	return xt(e, dt, []);
}
var pt = ["t", "type"];
function mt(e) {
	return xt(e, pt);
}
var ht = ["v", "value"];
function gt(e, t) {
	let n = xt(e, ht);
	if (n != null) return n;
	throw Ct(t);
}
var _t = ["m", "modifier"];
function vt(e) {
	return xt(e, _t);
}
var yt = ["k", "key"];
function bt(e) {
	let t = xt(e, yt);
	if (t) return t;
	throw Ct(6);
}
function xt(e, t, n) {
	for (let n = 0; n < t.length; n++) {
		let r = t[n];
		if (N(e, r) && e[r] != null) return e[r];
	}
	return n;
}
var St = [
	...at,
	...st,
	...lt,
	...dt,
	...yt,
	..._t,
	...ht,
	...pt
];
function Ct(e) {
	return /* @__PURE__ */ Error(`unhandled node type: ${e}`);
}
function wt(e) {
	return (t) => Tt(t, e);
}
function Tt(e, t) {
	let n = ot(t);
	if (n == null) throw Ct(0);
	if (mt(n) === 1) {
		let t = ct(n);
		return e.plural(t.reduce((t, n) => [...t, Et(e, n)], []));
	} else return Et(e, n);
}
function Et(e, t) {
	let n = ut(t);
	if (n != null) return e.type === "text" ? n : e.normalize([n]);
	{
		let n = ft(t).reduce((t, n) => [...t, Dt(e, n)], []);
		return e.normalize(n);
	}
}
function Dt(e, t) {
	let n = mt(t);
	switch (n) {
		case 3: return gt(t, n);
		case 9: return gt(t, n);
		case 4: {
			let r = t;
			if (N(r, "k") && r.k) return e.interpolate(e.named(r.k));
			if (N(r, "key") && r.key) return e.interpolate(e.named(r.key));
			throw Ct(n);
		}
		case 5: {
			let r = t;
			if (N(r, "i") && D(r.i)) return e.interpolate(e.list(r.i));
			if (N(r, "index") && D(r.index)) return e.interpolate(e.list(r.index));
			throw Ct(n);
		}
		case 6: {
			let n = t, r = vt(n), i = bt(n);
			return e.linked(Dt(e, i), r ? Dt(e, r) : void 0, e.type);
		}
		case 7: return gt(t, n);
		case 8: return gt(t, n);
		default: throw Error(`unhandled node on format message part: ${n}`);
	}
}
var Ot = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
function kt(e, t) {
	t && De(e) && g(C(Ot, { source: e }));
}
var At = (e) => e, jt = A();
function Mt(e, t = {}) {
	let n = !1, r = t.onError || Te;
	return t.onError = (e) => {
		n = !0, r(e);
	}, {
		...rt(e, t),
		detectError: n
	};
}
/* #__NO_SIDE_EFFECTS__ */
function Nt(e, t) {
	if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && I(e)) {
		let r = L(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
		n.env.NODE_ENV !== "production" && kt(e, r);
		let i = (t.onCacheKey || At)(e), a = jt[i];
		if (a) return a;
		let { ast: o, detectError: s } = Mt(e, {
			...t,
			location: n.env.NODE_ENV !== "production",
			jit: !0
		}), c = wt(o);
		return s ? c : jt[i] = c;
	} else {
		if (n.env.NODE_ENV !== "production" && !K(e)) return g(`the message that is resolve with key '${t.key}' is not supported for jit compilation`), (() => e);
		let r = e.cacheKey;
		return r ? jt[r] || (jt[r] = wt(e)) : wt(e);
	}
}
var Pt = null;
function Ft(e) {
	Pt = e;
}
function It(e, t, n) {
	Pt && Pt.emit("i18n:init", {
		timestamp: Date.now(),
		i18n: e,
		version: t,
		meta: n
	});
}
var Lt = /* #__PURE__*/ Rt("function:translate");
function Rt(e) {
	return (t) => Pt && Pt.emit(e, t);
}
var q = {
	INVALID_ARGUMENT: 17,
	INVALID_DATE_ARGUMENT: 18,
	INVALID_ISO_DATE_ARGUMENT: 19,
	NOT_SUPPORT_NON_STRING_MESSAGE: 20,
	NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
	NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
	NOT_SUPPORT_LOCALE_TYPE: 23
};
function J(e) {
	return we(e, null, n.env.NODE_ENV === "production" ? void 0 : { messages: zt });
}
var zt = {
	[q.INVALID_ARGUMENT]: "Invalid arguments",
	[q.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
	[q.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
	[q.NOT_SUPPORT_NON_STRING_MESSAGE]: "Not support non-string message",
	[q.NOT_SUPPORT_LOCALE_PROMISE_VALUE]: "cannot support promise value",
	[q.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]: "cannot support async function",
	[q.NOT_SUPPORT_LOCALE_TYPE]: "cannot support locale type"
};
function Bt(e, t) {
	return t.locale == null ? Ht(e.locale) : Ht(t.locale);
}
var Vt;
function Ht(e) {
	if (I(e)) return e;
	if (F(e)) {
		if (e.resolvedOnce && Vt != null) return Vt;
		if (e.constructor.name === "Function") {
			let t = e();
			if (z(t)) throw J(q.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
			return Vt = t;
		} else throw J(q.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
	} else throw J(q.NOT_SUPPORT_LOCALE_TYPE);
}
function Ut(e, t, n) {
	return [.../* @__PURE__ */ new Set([n, ...P(t) ? t : R(t) ? Object.keys(t) : I(t) ? [t] : [n]])];
}
function Wt(e, t, n) {
	let r = I(n) ? n : sn, i = e;
	i.__localeChainCache ||= /* @__PURE__ */ new Map();
	let a = i.__localeChainCache.get(r);
	if (!a) {
		a = [];
		let e = [n];
		for (; P(e);) e = Gt(a, e, t);
		let o = P(t) || !B(t) ? t : t.default ? t.default : null;
		e = I(o) ? [o] : o, P(e) && Gt(a, e, !1), i.__localeChainCache.set(r, a);
	}
	return a;
}
function Gt(e, t, n) {
	let r = !0;
	for (let i = 0; i < t.length && L(r); i++) {
		let a = t[i];
		I(a) && (r = Kt(e, t[i], n));
	}
	return r;
}
function Kt(e, t, n) {
	let r, i = t.split("-");
	do
		r = qt(e, i.join("-"), n), i.splice(-1, 1);
	while (i.length && r === !0);
	return r;
}
function qt(e, t, n) {
	let r = !1;
	if (!e.includes(t) && (r = !0, t)) {
		r = t[t.length - 1] !== "!";
		let i = t.replace(/!/g, "");
		e.push(i), (P(n) || B(n)) && n[i] && (r = n[i]);
	}
	return r;
}
var Jt = [];
Jt[0] = {
	w: [0],
	i: [3, 0],
	"[": [4],
	o: [7]
}, Jt[1] = {
	w: [1],
	".": [2],
	"[": [4],
	o: [7]
}, Jt[2] = {
	w: [2],
	i: [3, 0],
	0: [3, 0]
}, Jt[3] = {
	i: [3, 0],
	0: [3, 0],
	w: [1, 1],
	".": [2, 1],
	"[": [4, 1],
	o: [7, 1]
}, Jt[4] = {
	"'": [5, 0],
	"\"": [6, 0],
	"[": [4, 2],
	"]": [1, 3],
	o: 8,
	l: [4, 0]
}, Jt[5] = {
	"'": [4, 0],
	o: 8,
	l: [5, 0]
}, Jt[6] = {
	"\"": [4, 0],
	o: 8,
	l: [6, 0]
};
var Yt = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
function Xt(e) {
	return Yt.test(e);
}
function Zt(e) {
	let t = e.charCodeAt(0);
	return t === e.charCodeAt(e.length - 1) && (t === 34 || t === 39) ? e.slice(1, -1) : e;
}
function Qt(e) {
	if (e == null) return "o";
	switch (e.charCodeAt(0)) {
		case 91:
		case 93:
		case 46:
		case 34:
		case 39: return e;
		case 95:
		case 36:
		case 45: return "i";
		case 9:
		case 10:
		case 13:
		case 160:
		case 65279:
		case 8232:
		case 8233: return "w";
	}
	return "i";
}
function $t(e) {
	let t = e.trim();
	return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Xt(t) ? Zt(t) : "*" + t;
}
function en(e) {
	let t = [], n = -1, r = 0, i = 0, a, o, s, c, l, u, d, f = [];
	f[0] = () => {
		o === void 0 ? o = s : o += s;
	}, f[1] = () => {
		o !== void 0 && (t.push(o), o = void 0);
	}, f[2] = () => {
		f[0](), i++;
	}, f[3] = () => {
		if (i > 0) i--, r = 4, f[0]();
		else {
			if (i = 0, o === void 0 || (o = $t(o), o === !1)) return !1;
			f[1]();
		}
	};
	function p() {
		let t = e[n + 1];
		if (r === 5 && t === "'" || r === 6 && t === "\"") return n++, s = "\\" + t, f[0](), !0;
	}
	for (; r !== null;) if (n++, a = e[n], !(a === "\\" && p())) {
		if (c = Qt(a), d = Jt[r], l = d[c] || d.l || 8, l === 8 || (r = l[0], l[1] !== void 0 && (u = f[l[1]], u && (s = a, u() === !1)))) return;
		if (r === 7) return t;
	}
}
var tn = /* @__PURE__ */ new Map();
function nn(e, t) {
	return R(e) ? e[t] : null;
}
function rn(e, t) {
	if (!R(e)) return null;
	let n = tn.get(t);
	if (n || (n = en(t), n && tn.set(t, n)), !n) return null;
	let r = n.length, i = e, a = 0;
	for (; a < r;) {
		let e = n[a];
		if (St.includes(e) && K(i) || !R(i) || !N(i, e)) return null;
		let t = i[e];
		if (t === void 0 || F(i)) return null;
		i = t, a++;
	}
	return i;
}
var Y = {
	NOT_FOUND_KEY: 1,
	FALLBACK_TO_TRANSLATE: 2,
	CANNOT_FORMAT_NUMBER: 3,
	FALLBACK_TO_NUMBER_FORMAT: 4,
	CANNOT_FORMAT_DATE: 5,
	FALLBACK_TO_DATE_FORMAT: 6,
	EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7,
	INVALID_NUMBER_ARGUMENT: 8,
	INVALID_DATE_ARGUMENT: 9
}, an = {
	[Y.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
	[Y.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
	[Y.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
	[Y.FALLBACK_TO_NUMBER_FORMAT]: "Fall back to number format '{key}' key with '{target}' locale.",
	[Y.CANNOT_FORMAT_DATE]: "Cannot format a date value due to not supported Intl.DateTimeFormat.",
	[Y.FALLBACK_TO_DATE_FORMAT]: "Fall back to datetime format '{key}' key with '{target}' locale.",
	[Y.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]: "This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.",
	[Y.INVALID_NUMBER_ARGUMENT]: "Invalid argument for number formatting: expected a number but received '{value}'.",
	[Y.INVALID_DATE_ARGUMENT]: "Invalid argument for datetime formatting: expected a Date, number, or ISO string but received '{value}'."
};
function X(e, ...t) {
	return C(an[e], ...t);
}
var on = "11.4.6", sn = "en-US", cn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
function ln() {
	return {
		upper: (e, t) => t === "text" && I(e) ? e.toUpperCase() : t === "vnode" && R(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
		lower: (e, t) => t === "text" && I(e) ? e.toLowerCase() : t === "vnode" && R(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
		capitalize: (e, t) => t === "text" && I(e) ? cn(e) : t === "vnode" && R(e) && "__v_isVNode" in e ? cn(e.children) : e
	};
}
var un;
function dn(e) {
	un = e;
}
var fn;
function pn(e) {
	fn = e;
}
var mn;
function hn(e) {
	mn = e;
}
var gn = null, _n = /* @__NO_SIDE_EFFECTS__ */ () => gn, vn = null, yn = (e) => {
	vn = e;
}, bn = () => vn, xn = 0;
function Sn(e = {}) {
	let t = F(e.onWarn) ? e.onWarn : g, r = I(e.version) ? e.version : on, i = I(e.locale) || F(e.locale) ? e.locale : sn, a = F(i) ? sn : i, o = P(e.fallbackLocale) || B(e.fallbackLocale) || I(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, s = B(e.messages) ? e.messages : Cn(a), c = B(e.datetimeFormats) ? e.datetimeFormats : Cn(a), l = B(e.numberFormats) ? e.numberFormats : Cn(a), u = k(A(), e.modifiers, ln()), d = e.pluralRules || A(), f = F(e.missing) ? e.missing : null, p = L(e.missingWarn) || ee(e.missingWarn) ? e.missingWarn : !0, m = L(e.fallbackWarn) || ee(e.fallbackWarn) ? e.fallbackWarn : !0, h = !!e.fallbackFormat, _ = !!e.unresolving, y = F(e.postTranslation) ? e.postTranslation : null, b = B(e.processor) ? e.processor : null, x = L(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, S = !!e.escapeParameter, C = F(e.messageCompiler) ? e.messageCompiler : un;
	n.env.NODE_ENV !== "production" && F(e.messageCompiler) && v(X(Y.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
	let w = F(e.messageResolver) ? e.messageResolver : fn || nn, T = F(e.localeFallbacker) ? e.localeFallbacker : mn || Ut, E = R(e.fallbackContext) ? e.fallbackContext : void 0, D = e, O = R(D.__datetimeFormatters) ? D.__datetimeFormatters : /* @__PURE__ */ new Map(), te = R(D.__numberFormatters) ? D.__numberFormatters : /* @__PURE__ */ new Map(), ne = R(D.__meta) ? D.__meta : {};
	xn++;
	let j = {
		version: r,
		cid: xn,
		locale: i,
		fallbackLocale: o,
		messages: s,
		modifiers: u,
		pluralRules: d,
		missing: f,
		missingWarn: p,
		fallbackWarn: m,
		fallbackFormat: h,
		unresolving: _,
		postTranslation: y,
		processor: b,
		warnHtmlMessage: x,
		escapeParameter: S,
		messageCompiler: C,
		messageResolver: w,
		localeFallbacker: T,
		fallbackContext: E,
		onWarn: t,
		__meta: ne
	};
	return j.datetimeFormats = c, j.numberFormats = l, j.__datetimeFormatters = O, j.__numberFormatters = te, n.env.NODE_ENV !== "production" && (j.__v_emitter = D.__v_emitter == null ? void 0 : D.__v_emitter), (n.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && It(j, r, ne), j;
}
var Cn = (e) => ({ [e]: A() });
function wn(e, t) {
	return e instanceof RegExp ? e.test(t) : e;
}
function Tn(e, t) {
	return e instanceof RegExp ? e.test(t) : e;
}
function En(e, t, r, i, a) {
	let { missing: o, onWarn: s } = e;
	if (n.env.NODE_ENV !== "production") {
		let n = e.__v_emitter;
		n && n.emit("missing", {
			locale: r,
			key: t,
			type: a,
			groupId: `${a}:${t}`
		});
	}
	if (o !== null) {
		let n = o(e, r, t, a);
		return I(n) ? n : t;
	} else return n.env.NODE_ENV !== "production" && Tn(i, t) && s(X(Y.NOT_FOUND_KEY, {
		key: t,
		locale: r
	})), t;
}
function Dn(e, t, n) {
	let r = e;
	r.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
}
function On(e, t) {
	return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
}
function kn(e, t) {
	let n = t.indexOf(e);
	if (n === -1) return !1;
	for (let r = n + 1; r < t.length; r++) if (On(e, t[r])) return !0;
	return !1;
}
var An = typeof Intl < "u", jn = {
	dateTimeFormat: An && Intl.DateTimeFormat !== void 0,
	numberFormat: An && Intl.NumberFormat !== void 0
};
function Mn(e, ...t) {
	let { datetimeFormats: r, unresolving: i, fallbackLocale: a, onWarn: o, localeFallbacker: s } = e, { __datetimeFormatters: c } = e;
	if (n.env.NODE_ENV !== "production" && !jn.dateTimeFormat) return o(X(Y.CANNOT_FORMAT_DATE)), "";
	if (!I(t[0]) && !O(t[0]) && !D(t[0])) return n.env.NODE_ENV !== "production" && o(X(Y.INVALID_DATE_ARGUMENT, { value: String(t[0]) })), "";
	let [l, u, d, f] = Pn(...t), p = L(d.missingWarn) ? d.missingWarn : e.missingWarn, m = L(d.fallbackWarn) ? d.fallbackWarn : e.fallbackWarn, h = !!d.part, g = Bt(e, d), _ = s(e, a, g);
	if (!I(l) || l === "") {
		let e = new Intl.DateTimeFormat(g.replace(/!/g, ""), f);
		return h ? e.formatToParts(u) : e.format(u);
	}
	let v = {}, y, b = null, x = g, S = null, C = "datetime format";
	for (let t = 0; t < _.length; t++) {
		if (y = S = _[t], n.env.NODE_ENV !== "production" && g !== y && wn(m, l) && o(X(Y.FALLBACK_TO_DATE_FORMAT, {
			key: l,
			target: y
		})), n.env.NODE_ENV !== "production" && g !== y) {
			let t = e.__v_emitter;
			t && t.emit("fallback", {
				type: C,
				key: l,
				from: x,
				to: S,
				groupId: `${C}:${l}`
			});
		}
		if (v = r[y] || {}, b = v[l], B(b)) break;
		En(e, l, y, p, C), x = S;
	}
	if (!B(b) || !I(y)) return i ? -1 : l;
	let w = `${y}__${l}`;
	te(f) || (w = `${w}__${JSON.stringify(f)}`);
	let T = c.get(w);
	return T || (T = new Intl.DateTimeFormat(y, k({}, b, f)), c.set(w, T)), h ? T.formatToParts(u) : T.format(u);
}
var Nn = [
	"localeMatcher",
	"weekday",
	"era",
	"year",
	"month",
	"day",
	"hour",
	"minute",
	"second",
	"timeZoneName",
	"formatMatcher",
	"hour12",
	"timeZone",
	"dateStyle",
	"timeStyle",
	"calendar",
	"dayPeriod",
	"numberingSystem",
	"hourCycle",
	"fractionalSecondDigits"
];
function Pn(...e) {
	let [t, n, r, i] = e, a = A(), o = A(), s;
	if (I(t)) {
		let e = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
		if (!e) throw J(q.INVALID_ISO_DATE_ARGUMENT);
		let n = e[3] ? e[3].trim().startsWith("T") ? `${e[1].trim()}${e[3].trim()}` : `${e[1].trim()}T${e[3].trim()}` : e[1].trim();
		s = new Date(n);
		try {
			s.toISOString();
		} catch {
			throw J(q.INVALID_ISO_DATE_ARGUMENT);
		}
	} else if (O(t)) {
		if (isNaN(t.getTime())) throw J(q.INVALID_DATE_ARGUMENT);
		s = t;
	} else if (D(t)) s = t;
	else throw J(q.INVALID_ARGUMENT);
	return I(n) ? a.key = n : B(n) && Object.keys(n).forEach((e) => {
		Nn.includes(e) ? o[e] = n[e] : a[e] = n[e];
	}), I(r) ? a.locale = r : B(r) && (o = r), B(i) && (o = i), [
		a.key || "",
		s,
		a,
		o
	];
}
function Fn(e, t, n) {
	let r = e;
	for (let e in n) {
		let n = `${t}__${e}`;
		r.__datetimeFormatters.has(n) && r.__datetimeFormatters.delete(n);
	}
}
function In(e, ...t) {
	let { numberFormats: r, unresolving: i, fallbackLocale: a, onWarn: o, localeFallbacker: s } = e, { __numberFormatters: c } = e;
	if (n.env.NODE_ENV !== "production" && !jn.numberFormat) return o(X(Y.CANNOT_FORMAT_NUMBER)), "";
	if (!D(t[0])) return n.env.NODE_ENV !== "production" && o(X(Y.INVALID_NUMBER_ARGUMENT, { value: String(t[0]) })), "";
	let [l, u, d, f] = Rn(...t), p = L(d.missingWarn) ? d.missingWarn : e.missingWarn, m = L(d.fallbackWarn) ? d.fallbackWarn : e.fallbackWarn, h = !!d.part, g = Bt(e, d), _ = s(e, a, g);
	if (!I(l) || l === "") {
		let e = new Intl.NumberFormat(g.replace(/!/g, ""), f);
		return h ? e.formatToParts(u) : e.format(u);
	}
	let v = {}, y, b = null, x = g, S = null, C = "number format";
	for (let t = 0; t < _.length; t++) {
		if (y = S = _[t], n.env.NODE_ENV !== "production" && g !== y && wn(m, l) && o(X(Y.FALLBACK_TO_NUMBER_FORMAT, {
			key: l,
			target: y
		})), n.env.NODE_ENV !== "production" && g !== y) {
			let t = e.__v_emitter;
			t && t.emit("fallback", {
				type: C,
				key: l,
				from: x,
				to: S,
				groupId: `${C}:${l}`
			});
		}
		if (v = r[y] || {}, b = v[l], B(b)) break;
		En(e, l, y, p, C), x = S;
	}
	if (!B(b) || !I(y)) return i ? -1 : l;
	let w = `${y}__${l}`;
	te(f) || (w = `${w}__${JSON.stringify(f)}`);
	let T = c.get(w);
	return T || (T = new Intl.NumberFormat(y, k({}, b, f)), c.set(w, T)), h ? T.formatToParts(u) : T.format(u);
}
var Ln = [
	"localeMatcher",
	"style",
	"currency",
	"currencyDisplay",
	"currencySign",
	"useGrouping",
	"minimumIntegerDigits",
	"minimumFractionDigits",
	"maximumFractionDigits",
	"minimumSignificantDigits",
	"maximumSignificantDigits",
	"compactDisplay",
	"notation",
	"signDisplay",
	"unit",
	"unitDisplay",
	"roundingMode",
	"roundingPriority",
	"roundingIncrement",
	"trailingZeroDisplay"
];
function Rn(...e) {
	let [t, n, r, i] = e, a = A(), o = A();
	if (!D(t)) throw J(q.INVALID_ARGUMENT);
	let s = t;
	return I(n) ? a.key = n : B(n) && Object.keys(n).forEach((e) => {
		Ln.includes(e) ? o[e] = n[e] : a[e] = n[e];
	}), I(r) ? a.locale = r : B(r) && (o = r), B(i) && (o = i), [
		a.key || "",
		s,
		a,
		o
	];
}
function zn(e, t, n) {
	let r = e;
	for (let e in n) {
		let n = `${t}__${e}`;
		r.__numberFormatters.has(n) && r.__numberFormatters.delete(n);
	}
}
var Bn = (e) => e, Vn = (e) => "", Hn = "text", Un = (e) => e.length === 0 ? "" : he(e), Wn = me;
function Gn(e, t) {
	return e = Math.abs(e), t === 2 ? e === 1 ? 0 : 1 : Math.min(e, 2);
}
function Kn(e) {
	let t = D(e.pluralIndex) ? e.pluralIndex : -1;
	return D(e.named?.count) ? e.named.count : D(e.named?.n) ? e.named.n : t;
}
function qn(e = {}) {
	let t = e.locale, n = Kn(e), r = I(t) && F(e.pluralRules?.[t]) ? e.pluralRules[t] : Gn, i = r === Gn ? void 0 : Gn, a = (e) => e[r(n, e.length, i)], o = e.list || [], s = (e) => o[e], c = e.named || A();
	D(e.pluralIndex) && (c.count ||= e.pluralIndex, c.n ||= e.pluralIndex);
	let l = (e) => c[e];
	function u(t, n) {
		return (F(e.messages) ? e.messages(t, !!n) : R(e.messages) ? e.messages[t] : !1) || (e.parent ? e.parent.message(t) : Vn);
	}
	let d = (t) => e.modifiers ? e.modifiers[t] : Bn, f = F(e.processor?.normalize) ? e.processor.normalize : Un, p = F(e.processor?.interpolate) ? e.processor.interpolate : Wn, m = {
		list: s,
		named: l,
		plural: a,
		linked: (e, ...t) => {
			let [n, r] = t, i = "text", a = "";
			t.length === 1 ? R(n) ? (a = n.modifier || a, i = n.type || i) : I(n) && (a = n || a) : t.length === 2 && (I(n) && (a = n || a), I(r) && (i = r || i));
			let o = u(e, !0)(m), s = o === "" || o === void 0 ? e : o, c = i === "vnode" && P(s) && a ? s[0] : s;
			return a ? d(a)(c, i) : c;
		},
		message: u,
		type: I(e.processor?.type) ? e.processor.type : Hn,
		interpolate: p,
		normalize: f,
		values: k(A(), o, c)
	};
	return m;
}
var Jn = () => "", Z = (e) => F(e);
function Yn(e, ...t) {
	let { fallbackFormat: r, postTranslation: i, unresolving: a, messageCompiler: o, fallbackLocale: s, messages: c } = e, [l, u] = er(...t), d = L(u.missingWarn) ? u.missingWarn : e.missingWarn, f = L(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, p = L(u.escapeParameter) ? u.escapeParameter : e.escapeParameter, m = !!u.resolvedMessage, h = I(u.default) || L(u.default) ? L(u.default) ? o ? l : () => l : u.default : r ? o ? l : () => l : null, _ = r || h != null && (I(h) || F(h)), v = Bt(e, u);
	p && Xn(u);
	let [y, b, x] = m ? [
		l,
		v,
		c[v] || A()
	] : Zn(e, l, v, s, f, d), S = y, C = l;
	if (!m && !(I(S) || K(S) || Z(S)) && _ && (S = h, C = S), !m && (!(I(S) || K(S) || Z(S)) || !I(b))) return a ? -1 : l;
	if (n.env.NODE_ENV !== "production" && I(S) && e.messageCompiler == null) return g(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${l}'.`), l;
	let w = !1, T = Z(S) ? S : Qn(e, l, b, S, C, () => {
		w = !0;
	});
	if (w) return S;
	let E = $n(e, T, qn(rr(e, b, x, u))), D = i ? i(E, l) : E;
	if (p && I(D) && (D = ue(D)), n.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
		let t = {
			timestamp: Date.now(),
			key: I(l) ? l : Z(S) ? S.key : "",
			locale: b || (Z(S) ? S.locale : ""),
			format: I(S) ? S : Z(S) ? S.source : "",
			message: D
		};
		t.meta = k({}, e.__meta, /* @__PURE__ */ _n() || {}), Lt(t);
	}
	return D;
}
function Xn(e) {
	P(e.list) ? e.list = e.list.map((e) => I(e) ? re(e) : e) : R(e.named) && Object.keys(e.named).forEach((t) => {
		I(e.named[t]) && (e.named[t] = re(e.named[t]));
	});
}
function Zn(e, t, r, i, a, o) {
	let { messages: s, onWarn: c, messageResolver: l, localeFallbacker: u } = e, d = u(e, i, r), f = A(), p, m = null, h = r, g = null, _ = "translate";
	for (let i = 0; i < d.length; i++) {
		p = g = d[i], n.env.NODE_ENV !== "production" && r !== p && !On(r, p) && wn(a, t) && c(X(Y.FALLBACK_TO_TRANSLATE, {
			key: t,
			target: p
		}));
		let u = n.env.NODE_ENV === "production" ? void 0 : e.__v_emitter;
		n.env.NODE_ENV !== "production" && r !== p && u && u.emit("fallback", {
			type: _,
			key: t,
			from: h,
			to: g,
			groupId: `${_}:${t}`
		}), f = s[p] || A();
		let v = null, S, C;
		if (n.env.NODE_ENV !== "production" && y && u && (v = window.performance.now(), S = "intlify-message-resolve-start", C = "intlify-message-resolve-end", b && b(S)), (m = l(f, t)) === null && (m = f[t]), n.env.NODE_ENV !== "production" && y && u) {
			let e = window.performance.now();
			u && v && m && u.emit("message-resolve", {
				type: "message-resolve",
				key: t,
				message: m,
				time: e - v,
				groupId: `${_}:${t}`
			}), S && C && b && x && (b(C), x("intlify message resolve", S, C));
		}
		if (I(m) || K(m) || Z(m)) break;
		if (!kn(p, d)) {
			let n = En(e, t, p, o, _);
			n !== t && (m = n);
		}
		h = g;
	}
	return [
		m,
		p,
		f
	];
}
function Qn(e, t, r, i, a, o) {
	let { messageCompiler: s, warnHtmlMessage: c } = e;
	if (Z(i)) {
		let e = i;
		return e.locale = e.locale || r, e.key = e.key || t, e;
	}
	if (s == null) {
		let e = (() => i);
		return e.locale = r, e.key = t, e;
	}
	let l = n.env.NODE_ENV === "production" ? void 0 : e.__v_emitter, u = null, d, f;
	n.env.NODE_ENV !== "production" && y && l && (u = window.performance.now(), d = "intlify-message-compilation-start", f = "intlify-message-compilation-end", b && b(d));
	let p = s(i, tr(e, r, a, i, c, o));
	if (n.env.NODE_ENV !== "production" && y && l) {
		let e = window.performance.now();
		l && u && l.emit("message-compilation", {
			type: "message-compilation",
			message: i,
			time: e - u,
			groupId: `translate:${t}`
		}), d && f && b && x && (b(f), x("intlify message compilation", d, f));
	}
	return p.locale = r, p.key = t, p.source = i, p;
}
function $n(e, t, r) {
	let i = n.env.NODE_ENV === "production" ? void 0 : e.__v_emitter, a = null, o, s;
	n.env.NODE_ENV !== "production" && y && i && (a = window.performance.now(), o = "intlify-message-evaluation-start", s = "intlify-message-evaluation-end", b && b(o));
	let c = t(r);
	if (n.env.NODE_ENV !== "production" && y && i) {
		let e = window.performance.now();
		i && a && i.emit("message-evaluation", {
			type: "message-evaluation",
			value: c,
			time: e - a,
			groupId: `translate:${t.key}`
		}), o && s && b && x && (b(s), x("intlify message evaluation", o, s));
	}
	return c;
}
function er(...e) {
	let [t, n, r] = e, i = A();
	if (!I(t) && !D(t) && !Z(t) && !K(t)) throw J(q.INVALID_ARGUMENT);
	let a = D(t) ? String(t) : (Z(t), t);
	return D(n) ? i.plural = n : I(n) ? i.default = n : B(n) && !te(n) ? i.named = n : P(n) && (i.list = n), D(r) ? i.plural = r : I(r) ? i.default = r : B(r) && k(i, r), [a, i];
}
function tr(e, t, r, i, a, o) {
	return {
		locale: t,
		key: r,
		warnHtmlMessage: a,
		onError: (t) => {
			if (o && o(t), n.env.NODE_ENV !== "production") {
				let n = nr(i), a = t.location && n && _e(n, t.location.start.offset, t.location.end.offset), o = e.__v_emitter;
				o && n && o.emit("compile-error", {
					message: n,
					error: t.message,
					start: t.location && t.location.start.offset,
					end: t.location && t.location.end.offset,
					groupId: `translate:${r}`
				});
				let s = `Message compilation error: ${t.message}`;
				throw SyntaxError(a ? `${s}\n${a}` : s);
			}
			throw t;
		},
		onCacheKey: (e) => T(t, r, e)
	};
}
function nr(e) {
	if (I(e)) return e;
	if (e.loc && e.loc.source) return e.loc.source;
}
function rr(e, t, n, r) {
	let { modifiers: i, pluralRules: a, messageResolver: o, fallbackLocale: s, fallbackWarn: c, missingWarn: l, fallbackContext: u } = e, d = {
		locale: t,
		modifiers: i,
		pluralRules: a,
		messages: (r, i) => {
			let a = o(n, r);
			if (a == null && (u || i)) {
				let [n, , i] = Zn(u || e, r, t, s, c, l);
				a = n ?? o(i, r);
			}
			if (I(a) || K(a)) {
				let n = !1, i = Qn(e, r, t, a, r, () => {
					n = !0;
				});
				return n ? Jn : i;
			} else if (Z(a)) return a;
			else return Jn;
		}
	};
	return e.processor && (d.processor = e.processor), r.list && (d.list = r.list), r.named && (d.named = r.named), D(r.plural) && (d.pluralIndex = r.plural), d;
}
//#endregion
//#region node_modules/vue-i18n/dist/vue-i18n.mjs
it(), r();
var ir = "11.4.6";
function ar() {
	typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (M().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (M().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (M().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (M().__INTLIFY_PROD_DEVTOOLS__ = !1);
}
var Q = {
	UNEXPECTED_RETURN_TYPE: 24,
	INVALID_ARGUMENT: 25,
	MUST_BE_CALL_SETUP_TOP: 26,
	NOT_INSTALLED: 27,
	REQUIRED_VALUE: 28,
	INVALID_VALUE: 29,
	CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN: 30,
	NOT_INSTALLED_WITH_PROVIDE: 31,
	UNEXPECTED_ERROR: 32,
	NOT_COMPATIBLE_LEGACY_VUE_I18N: 33,
	NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
};
function or(e, ...t) {
	return we(e, null, n.env.NODE_ENV === "production" ? void 0 : {
		messages: sr,
		args: t
	});
}
var sr = {
	[Q.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
	[Q.INVALID_ARGUMENT]: "Invalid argument",
	[Q.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
	[Q.NOT_INSTALLED]: "Need to install with `app.use` function",
	[Q.UNEXPECTED_ERROR]: "Unexpected error",
	[Q.REQUIRED_VALUE]: "Required in value: {0}",
	[Q.INVALID_VALUE]: "Invalid value",
	[Q.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]: "Cannot setup vue-devtools plugin",
	[Q.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
	[Q.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
	[Q.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
}, cr = /* #__PURE__*/ w("__translateVNode"), lr = /* #__PURE__*/ w("__datetimeParts"), ur = /* #__PURE__*/ w("__numberParts"), dr = /* #__PURE__*/ w("__enableEmitter"), fr = /* #__PURE__*/ w("__disableEmitter"), pr = w("__setPluralRules");
w("__intlifyMeta");
var mr = /* #__PURE__*/ w("__injectWithOption"), hr = /* #__PURE__*/ w("__dispose"), $ = {
	FALLBACK_TO_ROOT: 10,
	NOT_FOUND_PARENT_SCOPE: 11,
	IGNORE_OBJ_FLATTEN: 12,
	DEPRECATE_LEGACY_MODE: 13,
	DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE: 14,
	DUPLICATE_USE_I18N_CALLING: 15
}, gr = {
	[$.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
	[$.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
	[$.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
	[$.DEPRECATE_LEGACY_MODE]: "Legacy API mode has been deprecated in v11. Use Composition API mode instead.\nAbout how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html",
	[$.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]: "'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",
	[$.DUPLICATE_USE_I18N_CALLING]: "Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."
};
function _r(e, ...t) {
	return C(gr[e], ...t);
}
function vr(e) {
	if (!R(e) || K(e)) return e;
	for (let t in e) if (N(e, t)) if (!t.includes(".")) R(e[t]) && vr(e[t]);
	else {
		let r = t.split("."), i = r.length - 1, a = e, o = !1;
		for (let e = 0; e < i; e++) {
			if (r[e] === "__proto__") throw Error(`unsafe key: ${r[e]}`);
			if (r[e] in a || (a[r[e]] = A()), !R(a[r[e]])) {
				n.env.NODE_ENV !== "production" && g(_r($.IGNORE_OBJ_FLATTEN, { key: r[e] })), o = !0;
				break;
			}
			a = a[r[e]];
		}
		if (o || (K(a) ? St.includes(r[i]) || delete e[t] : (a[r[i]] = e[t], delete e[t])), !K(a)) {
			let e = a[r[i]];
			R(e) && vr(e);
		}
	}
	return e;
}
function yr(e, t) {
	let { messages: n, __i18n: r, messageResolver: i, flatJson: a } = t, o = B(n) ? n : P(r) ? A() : { [e]: A() };
	if (P(r) && r.forEach((e) => {
		if ("locale" in e && "resource" in e) {
			let { locale: t, resource: n } = e;
			t ? (o[t] = o[t] || A(), be(n, o[t])) : be(n, o);
		} else I(e) && be(JSON.parse(e), o);
	}), i == null && a) for (let e in o) N(o, e) && vr(o[e]);
	return o;
}
function br(e) {
	return e.type;
}
function xr(e, t, n) {
	let r = R(t.messages) ? t.messages : A();
	"__i18nGlobal" in n && (r = yr(e.locale.value, {
		messages: r,
		__i18n: n.__i18nGlobal
	}));
	let i = Object.keys(r);
	if (i.length && i.forEach((t) => {
		e.mergeLocaleMessage(t, r[t]);
	}), R(t.datetimeFormats)) {
		let n = Object.keys(t.datetimeFormats);
		n.length && n.forEach((n) => {
			e.mergeDateTimeFormat(n, t.datetimeFormats[n]);
		});
	}
	if (R(t.numberFormats)) {
		let n = Object.keys(t.numberFormats);
		n.length && n.forEach((n) => {
			e.mergeNumberFormat(n, t.numberFormats[n]);
		});
	}
}
function Sr(e) {
	return s(a, null, e, 0);
}
function Cr() {
	let e = "currentInstance";
	return e in i ? i[e] : i.getCurrentInstance();
}
var wr = () => [], Tr = () => !1, Er = 0;
function Dr(e) {
	return ((t, n, r, i) => e(n, r, Cr() || void 0, i));
}
function Or(e = {}) {
	let { __root: t, __injectWithOption: r } = e, i = t === void 0, a = e.flatJson, s = y ? p : m, c = L(e.inheritLocale) ? e.inheritLocale : !0, l = s(t && c ? t.locale.value : I(e.locale) ? e.locale : sn), u = s(t && c ? t.fallbackLocale.value : I(e.fallbackLocale) || P(e.fallbackLocale) || B(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l.value), d = s(yr(l.value, e)), f = s(B(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), _ = s(B(e.numberFormats) ? e.numberFormats : { [l.value]: {} }), v = t ? t.missingWarn : L(e.missingWarn) || ee(e.missingWarn) ? e.missingWarn : !0, b = t ? t.fallbackWarn : L(e.fallbackWarn) || ee(e.fallbackWarn) ? e.fallbackWarn : !0, x = t ? t.fallbackRoot : L(e.fallbackRoot) ? e.fallbackRoot : !0, S = !!e.fallbackFormat, C = F(e.missing) ? e.missing : null, w = F(e.missing) ? Dr(e.missing) : null, T = F(e.postTranslation) ? e.postTranslation : null, E = t ? t.warnHtmlMessage : L(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, O = !!e.escapeParameter, te = t ? t.modifiers : B(e.modifiers) ? e.modifiers : {}, ne = e.pluralRules || t && t.pluralRules, A;
	A = (() => {
		i && yn(null);
		let t = {
			version: ir,
			locale: l.value,
			fallbackLocale: u.value,
			messages: d.value,
			modifiers: te,
			pluralRules: ne,
			missing: w === null ? void 0 : w,
			missingWarn: v,
			fallbackWarn: b,
			fallbackFormat: S,
			unresolving: !0,
			postTranslation: T === null ? void 0 : T,
			warnHtmlMessage: E,
			escapeParameter: O,
			messageResolver: e.messageResolver,
			messageCompiler: e.messageCompiler,
			__meta: { framework: "vue" }
		};
		t.datetimeFormats = f.value, t.numberFormats = _.value, t.__datetimeFormatters = B(A) ? A.__datetimeFormatters : void 0, t.__numberFormatters = B(A) ? A.__numberFormatters : void 0, n.env.NODE_ENV !== "production" && (t.__v_emitter = B(A) ? A.__v_emitter : void 0);
		let r = Sn(t);
		return i && yn(r), r;
	})(), Dn(A, l.value, u.value);
	function j() {
		return [
			l.value,
			u.value,
			d.value,
			f.value,
			_.value
		];
	}
	let M = o({
		get: () => l.value,
		set: (e) => {
			A.locale = e, l.value = e;
		}
	}), re = o({
		get: () => u.value,
		set: (e) => {
			A.fallbackLocale = e, u.value = e, Dn(A, l.value, e);
		}
	}), ie = o(() => d.value), ae = /* #__PURE__*/ o(() => f.value), oe = /* #__PURE__*/ o(() => _.value);
	function se() {
		return F(T) ? T : null;
	}
	function ce(e) {
		T = e, A.postTranslation = e;
	}
	function le() {
		return C;
	}
	function ue(e) {
		e !== null && (w = Dr(e)), C = e, A.missing = w;
	}
	function de(e, t) {
		return e !== "translate" || !t.resolvedMessage;
	}
	let z = (e, r, a, o, s, c) => {
		j();
		let l;
		try {
			n.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, i || (A.fallbackContext = t ? bn() : void 0), l = e(A);
		} finally {
			n.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, i || (A.fallbackContext = void 0);
		}
		if (a !== "translate exists" && D(l) && l === -1 || a === "translate exists" && !l) {
			let [e, i] = r();
			if (n.env.NODE_ENV !== "production" && t && I(e) && de(a, i) && (x && (wn(b, e) || Tn(v, e)) && g(_r($.FALLBACK_TO_ROOT, {
				key: e,
				type: a
			})), n.env.NODE_ENV !== "production")) {
				let { __v_emitter: t } = A;
				t && x && t.emit("fallback", {
					type: a,
					key: e,
					to: "global",
					groupId: `${a}:${e}`
				});
			}
			return t && x ? o(t) : s(e);
		} else if (c(l)) return l;
		else
 /* istanbul ignore next */
		throw or(Q.UNEXPECTED_RETURN_TYPE);
	};
	function fe(...e) {
		return z((t) => Reflect.apply(Yn, null, [t, ...e]), () => er(...e), "translate", (t) => Reflect.apply(t.t, t, [...e]), (e) => e, (e) => I(e));
	}
	function pe(...e) {
		let [t, n, r] = e;
		if (r && !R(r)) throw or(Q.INVALID_ARGUMENT);
		return fe(t, n, k({ resolvedMessage: !0 }, r || {}));
	}
	function me(...e) {
		return z((t) => Reflect.apply(Mn, null, [t, ...e]), () => Pn(...e), "datetime format", (t) => Reflect.apply(t.d, t, [...e]), () => "", (e) => I(e) || P(e));
	}
	function he(...e) {
		return z((t) => Reflect.apply(In, null, [t, ...e]), () => Rn(...e), "number format", (t) => Reflect.apply(t.n, t, [...e]), () => "", (e) => I(e) || P(e));
	}
	function ge(e) {
		return e.map((e) => I(e) || D(e) || L(e) ? Sr(String(e)) : e);
	}
	let _e = {
		normalize: ge,
		interpolate: (e) => e,
		type: "vnode"
	};
	function ve(...e) {
		return z((t) => {
			let n, r = t;
			try {
				r.processor = _e, n = Reflect.apply(Yn, null, [r, ...e]);
			} finally {
				r.processor = null;
			}
			return n;
		}, () => er(...e), "translate", (t) => t[cr](...e), (e) => [Sr(e)], (e) => P(e));
	}
	function ye(...e) {
		return z((t) => Reflect.apply(In, null, [t, ...e]), () => Rn(...e), "number format", (t) => t[ur](...e), wr, (e) => I(e) || P(e));
	}
	function xe(...e) {
		return z((t) => Reflect.apply(Mn, null, [t, ...e]), () => Pn(...e), "datetime format", (t) => t[lr](...e), wr, (e) => I(e) || P(e));
	}
	function Se(e) {
		ne = e, A.pluralRules = ne;
	}
	function V(e, t) {
		return z(() => {
			if (!e) return !1;
			let n = I(t) ? t : l.value, r = I(t) ? [n] : Wt(A, u.value, n);
			for (let t = 0; t < r.length; t++) {
				let n = Te(r[t]), i = A.messageResolver(n, e);
				if (i === null && (i = n[e]), K(i) || Z(i) || I(i)) return !0;
			}
			return !1;
		}, () => [e], "translate exists", (n) => Reflect.apply(n.te, n, [e, t]), Tr, (e) => L(e));
	}
	function Ce(e) {
		let t = null, n = Wt(A, u.value, l.value);
		for (let r = 0; r < n.length; r++) {
			let i = d.value[n[r]] || {}, a = A.messageResolver(i, e);
			if (a != null) {
				t = a;
				break;
			}
		}
		return t;
	}
	function we(e) {
		return Ce(e) ?? (t && t.tm(e) || {});
	}
	function Te(e) {
		return d.value[e] || {};
	}
	function Ee(e, t) {
		if (a) {
			let n = { [e]: t };
			for (let e in n) N(n, e) && vr(n[e]);
			t = n[e];
		}
		d.value[e] = t, A.messages = d.value;
	}
	function De(e, t) {
		d.value[e] = d.value[e] || {};
		let n = { [e]: t };
		if (a) for (let e in n) N(n, e) && vr(n[e]);
		t = n[e], be(t, d.value[e]), A.messages = d.value;
	}
	function H(e) {
		return f.value[e] || {};
	}
	function Oe(e, t) {
		f.value[e] = t, A.datetimeFormats = f.value, Fn(A, e, t);
	}
	function U(e, t) {
		f.value[e] = k(f.value[e] || {}, t), A.datetimeFormats = f.value, Fn(A, e, t);
	}
	function ke(e) {
		return _.value[e] || {};
	}
	function Ae(e, t) {
		_.value[e] = t, A.numberFormats = _.value, zn(A, e, t);
	}
	function je(e, t) {
		_.value[e] = k(_.value[e] || {}, t), A.numberFormats = _.value, zn(A, e, t);
	}
	Er++, t && y && (h(t.locale, (e) => {
		c && (l.value = e, A.locale = e, Dn(A, l.value, u.value));
	}), h(t.fallbackLocale, (e) => {
		c && (u.value = e, A.fallbackLocale = e, Dn(A, l.value, u.value));
	}));
	let W = {
		id: Er,
		locale: M,
		fallbackLocale: re,
		get inheritLocale() {
			return c;
		},
		set inheritLocale(e) {
			c = e, e && t && (l.value = t.locale.value, u.value = t.fallbackLocale.value, Dn(A, l.value, u.value));
		},
		get availableLocales() {
			return Object.keys(d.value).sort();
		},
		messages: ie,
		get modifiers() {
			return te;
		},
		get pluralRules() {
			return ne || {};
		},
		get isGlobal() {
			return i;
		},
		get missingWarn() {
			return v;
		},
		set missingWarn(e) {
			v = e, A.missingWarn = v;
		},
		get fallbackWarn() {
			return b;
		},
		set fallbackWarn(e) {
			b = e, A.fallbackWarn = b;
		},
		get fallbackRoot() {
			return x;
		},
		set fallbackRoot(e) {
			x = e;
		},
		get fallbackFormat() {
			return S;
		},
		set fallbackFormat(e) {
			S = e, A.fallbackFormat = S;
		},
		get warnHtmlMessage() {
			return E;
		},
		set warnHtmlMessage(e) {
			E = e, A.warnHtmlMessage = e;
		},
		get escapeParameter() {
			return O;
		},
		set escapeParameter(e) {
			O = e, A.escapeParameter = e;
		},
		t: fe,
		getLocaleMessage: Te,
		setLocaleMessage: Ee,
		mergeLocaleMessage: De,
		getPostTranslationHandler: se,
		setPostTranslationHandler: ce,
		getMissingHandler: le,
		setMissingHandler: ue,
		[pr]: Se
	};
	return W.datetimeFormats = ae, W.numberFormats = oe, W.rt = pe, W.te = V, W.tm = we, W.d = me, W.n = he, W.getDateTimeFormat = H, W.setDateTimeFormat = Oe, W.mergeDateTimeFormat = U, W.getNumberFormat = ke, W.setNumberFormat = Ae, W.mergeNumberFormat = je, W[mr] = r, W[cr] = ve, W[lr] = xe, W[ur] = ye, n.env.NODE_ENV !== "production" && (W[dr] = (e) => {
		A.__v_emitter = e;
	}, W[fr] = () => {
		A.__v_emitter = void 0;
	}), W;
}
var kr;
function Ar(e, t) {
	if (kr) {
		let n;
		t && "groupId" in t && (n = t.groupId, delete t.groupId), kr.addTimelineEvent({
			layerId: "vue-i18n-timeline",
			event: {
				title: e,
				groupId: n,
				time: Date.now(),
				meta: {},
				data: t || {},
				logType: e === "compile-error" ? "error" : e === "fallback" || e === "missing" ? "warning" : "default"
			}
		});
	}
}
var jr = {
	tag: { type: [String, Object] },
	locale: { type: String },
	scope: {
		type: String,
		validator: (e) => e === "parent" || e === "global",
		default: "parent"
	},
	i18n: { type: Object }
};
k({
	keypath: {
		type: String,
		required: !0
	},
	plural: {
		type: [Number, String],
		validator: (e) => D(e) || !isNaN(e)
	}
}, jr), k({
	value: {
		type: Number,
		required: !0
	},
	format: { type: [String, Object] }
}, jr);
var Mr = /* #__PURE__*/ w("global-vue-i18n");
function Nr(e = {}) {
	let t = Cr();
	if (t == null) throw or(Q.MUST_BE_CALL_SETUP_TOP);
	if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__) throw or(Q.NOT_INSTALLED);
	let r = Pr(t), i = Ir(r), a = br(t), o = Fr(e, a);
	if (o === "global") return xr(i, e, a), i;
	if (o === "parent") {
		let a = Lr(r, t, e.__useComponent);
		return a ??= (n.env.NODE_ENV !== "production" && g(_r($.NOT_FOUND_PARENT_SCOPE)), i), a;
	}
	if (o === "isolated") {
		if (r.mode !== "composition") throw or(Q.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);
		let a = r, o = k({}, e);
		o.__root = Lr(r, t) || i;
		let s = Or(o);
		a.__composerExtend && (s[hr] = a.__composerExtend(s));
		let l = null;
		if (n.env.NODE_ENV !== "production") {
			l = ve();
			let e = s;
			e[dr] && e[dr](l), l.on("*", Ar);
		}
		return c() && d(() => {
			if (n.env.NODE_ENV !== "production") {
				l && l.off("*", Ar);
				let e = s;
				e[fr] && e[fr]();
			}
			let e = s[hr];
			e && (e(), delete s[hr]);
		}), s;
	}
	let s = r, l = s.__getInstance(t);
	if (l == null) {
		let n = k({}, e);
		"__i18n" in a && (n.__i18n = a.__i18n), i && (n.__root = i), l = Or(n), s.__composerExtend && (l[hr] = s.__composerExtend(l)), zr(s, t, l), s.__setInstance(t, l);
	} else n.env.NODE_ENV !== "production" && o === "local" && g(_r($.DUPLICATE_USE_I18N_CALLING));
	return l;
}
function Pr(e) {
	let t = l(e.isCE ? Mr : e.appContext.app.__VUE_I18N_SYMBOL__);
	/* istanbul ignore if */
	if (!t) throw or(e.isCE ? Q.NOT_INSTALLED_WITH_PROVIDE : Q.UNEXPECTED_ERROR);
	return t;
}
function Fr(e, t) {
	return te(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
}
function Ir(e) {
	return e.mode === "composition" ? e.global : e.global.__composer;
}
function Lr(e, t, n = !1) {
	let r = null, i = t.root, a = Rr(t, n);
	for (; a != null;) {
		let t = e;
		if (e.mode === "composition") r = t.__getInstance(a);
		else if (__VUE_I18N_LEGACY_API__) {
			let e = t.__getInstance(a);
			e != null && (r = e.__composer, n && r && !r[mr] && (r = null));
		}
		if (r != null || i === a) break;
		a = a.parent;
	}
	return r;
}
function Rr(e, t = !1) {
	return e == null ? null : t && e.vnode.ctx || e.parent;
}
function zr(e, t, r) {
	let i = null;
	u(() => {
		if (n.env.NODE_ENV !== "production") {
			t.__VUE_I18N__ = r, i = ve();
			let e = r;
			e[dr] && e[dr](i), i.on("*", Ar);
		}
	}, t), f(() => {
		let a = r;
		n.env.NODE_ENV !== "production" && (i && i.off("*", Ar), a[fr] && a[fr](), delete t.__VUE_I18N__), e.__deleteInstance(t);
		let o = a[hr];
		o && (o(), delete a[hr]);
	}, t);
}
if (k({
	value: {
		type: [Number, Date],
		required: !0
	},
	format: { type: [String, Object] }
}, jr), ar(), dn(Nt), pn(rn), hn(Wt), n.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
	let e = M();
	e.__INTLIFY__ = !0, Ft(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
}
n.env.NODE_ENV;
//#endregion
export { Nr as t };
