import { getConfig2 as s } from "./chunk-ABZYJK2D.js";
import { __name as c } from "./chunk-AGHRB4JF.js";
import "../../../../../../d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.js";
import "../../../../../../d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.js";
import e from "../../../../../../d3-selection@3.0.0/node_modules/d3-selection/src/select.js";
var b = /* @__PURE__ */ c((t) => {
  var n;
  const { securityLevel: m } = s();
  let o = e("body");
  if (m === "sandbox") {
    const r = ((n = e(`#i${t}`).node()) == null ? void 0 : n.contentDocument) ?? document;
    o = e(r.body);
  }
  return o.select(`#${t}`);
}, "selectSvgElement");
export {
  b as selectSvgElement
};
