import{validation}from"../../Validation.js";import{extentOf}from"./tools.js";class GetGeometryExtent{execute(t,e){t=validation.array("geometry",t.geometry,[]),t=extentOf(t);if(void 0===t)return{};{const r=t;return{extent:r,center:r.center||r.getCenter()}}}}GetGeometryExtent.action="gcx:wf:arcgis::GetGeometryExtent",GetGeometryExtent.suite="gcx:wf:builtin";export{GetGeometryExtent};