/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
function a(e) {
  const { x: t, y: n, width: r, height: i } = e.getBoundingClientRect();
  return { x: t + r / 2, y: n + i / 2 };
}
function c(e) {
  return e?.spatialReference?.isWebMercator || e?.spatialReference?.isGeographic || !1;
}
export {
  c,
  a as f
};
