import { h as e, p as t } from "./src-DI0MZP4m.js";
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.mjs
var n = /* @__PURE__ */ e((e, n) => {
	let r;
	return n === "sandbox" && (r = t("#i" + e)), t(n === "sandbox" ? r.nodes()[0].contentDocument.body : "body").select(`[id="${e}"]`);
}, "getDiagramElement");
//#endregion
export { n as t };
