define(["require","exports","../../Validation","./tools","esri/geometry/geometryEngineAsync"],function(e,i,t,r,o){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n=(a.prototype.execute=function(e){var i=t.validation.exists("geometry",e.geometry),n=t.validation.exists("maxDeviation",e.maxDeviation),e=o.generalize(i,n,e.removeDegenerateParts,e.unit);return r.inline(e,function(e){return{geometry:e}})},a.action="gcx:wf:arcgis::GeneralizeEngineTask",a.suite="gcx:wf:builtin",a);function a(){}i.GeneralizeEngineTask=n});