import { h as e, p as t } from "./src-BZm6Awwh.js";
import { b as n } from "./chunk-ICPOFSXX-BQ7-Poft.js";
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/chunk-426QAEUC.mjs
var r = /* @__PURE__ */ e((e) => {
	let { securityLevel: r } = n(), i = t("body");
	return r === "sandbox" && (i = t((t(`#i${e}`).node()?.contentDocument ?? document).body)), i.select(`#${e}`);
}, "selectSvgElement");
//#endregion
export { r as t };

//# sourceMappingURL=chunk-426QAEUC-b2PRuT9o.js.map