import { classifyCharacter } from "../../../micromark-util-classify-character/index.js";
function encodeInfo(t, n, r) {
	let i = classifyCharacter(t), a = classifyCharacter(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
	};
}
export { encodeInfo };
