//#region ../../node_modules/mdast-util-gfm-strikethrough/lib/index.js
var e = [
	"autolink",
	"destinationLiteral",
	"destinationRaw",
	"reference",
	"titleQuote",
	"titleApostrophe"
];
a.peek = o;
function t() {
	return {
		canContainEols: ["delete"],
		enter: { strikethrough: r },
		exit: { strikethrough: i }
	};
}
function n() {
	return {
		unsafe: [{
			character: "~",
			inConstruct: "phrasing",
			notInConstruct: e
		}],
		handlers: { delete: a }
	};
}
function r(e) {
	this.enter({
		type: "delete",
		children: []
	}, e);
}
function i(e) {
	this.exit(e);
}
function a(e, t, n, r) {
	let i = n.createTracker(r), a = n.enter("strikethrough"), o = i.move("~~");
	return o += n.containerPhrasing(e, {
		...i.current(),
		before: o,
		after: "~"
	}), o += i.move("~~"), a(), o;
}
function o() {
	return "~";
}
//#endregion
export { t as gfmStrikethroughFromMarkdown, n as gfmStrikethroughToMarkdown };
