//#region src/i18n/mergeResourceLanguages.ts
var e = (e) => typeof e == "object" && !!e && !Array.isArray(e), t = (t) => e(t) ? t : {}, n = {
	isResourceObject: e,
	asResourceLanguage: t
};
function r(...n) {
	let i = {};
	return n.forEach((n) => {
		Object.entries(n).forEach(([n, a]) => {
			let o = i[n];
			if (e(o) && e(a)) {
				i[n] = r(t(o), t(a));
				return;
			}
			i[n] = a;
		});
	}), i;
}
//#endregion
export { n as __test, r as mergeResourceLanguages };

//# sourceMappingURL=mergeResourceLanguages.js.map