import { h as e, p as t } from "./src-CUQ6oOYk.js";
import { b as n } from "./chunk-7R4GIKGN-QT6IorJ_.js";
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HHEYEP7N.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 };
