import { __name } from "./chunk-AGHRB4JF.js";
import { getConfig2 } from "./chunk-ABZYJK2D.js";
import select_default from "../../../../d3-selection/src/select.js";
import "../../../../d3/src/index.js";
var selectSvgElement = /* @__PURE__ */ __name((e) => {
	let { securityLevel: r } = getConfig2(), i = select_default("body");
	return r === "sandbox" && (i = select_default((select_default(`#i${e}`).node()?.contentDocument ?? document).body)), i.select(`#${e}`);
}, "selectSvgElement");
export { selectSvgElement };
