import { classifyCharacter as e } from "../../../micromark-util-classify-character/index.js";
//#region ../../node_modules/mdast-util-to-markdown/lib/util/encode-info.js
function t(t, n, r) {
	let i = e(t), a = e(n);
	return i === void 0 ? a === void 0 ? r === "_" ? {
		inside: !0,
		outside: !0
	} : {
		inside: !1,
		outside: !1
	} : a === 1 ? {
		inside: !0,
		outside: !0
	} : {
		inside: !1,
		outside: !0
	} : i === 1 ? a === void 0 ? {
		inside: !1,
		outside: !1
	} : a === 1 ? {
		inside: !0,
		outside: !0
	} : {
		inside: !1,
		outside: !1
	} : a === void 0 ? {
		inside: !1,
		outside: !1
	} : a === 1 ? {
		inside: !0,
		outside: !1
	} : {
		inside: !1,
		outside: !1
	};
}
//#endregion
export { t as encodeInfo };
