import { r as __name, t as select_default } from "./src-Bf2iLOlr.js";
import { b as getConfig2 } from "./chunk-ABZYJK2D-D0cLy8Bb.js";
var selectSvgElement = /* @__PURE__ */ __name((e) => {
  var _a;
  let { securityLevel: r } = getConfig2(), i = select_default("body");
  return r === "sandbox" && (i = select_default((((_a = select_default(`#i${e}`).node()) == null ? void 0 : _a.contentDocument) ?? document).body)), i.select(`#${e}`);
}, "selectSvgElement");
export {
  selectSvgElement as t
};
