import{validation}from"../../Validation.js";import{inline}from"./tools.js";import{simplify}from"@arcgis/core/geometry/geometryEngineAsync";class SimplifyEngineTask{execute(i){i=validation.exists("geometry",i.geometry),i=simplify(i);return inline(i,function(i){return{geometry:i}})}}SimplifyEngineTask.action="gcx:wf:arcgis::SimplifyEngineTask",SimplifyEngineTask.suite="gcx:wf:builtin";export{SimplifyEngineTask};