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