!function(e){"object"==typeof module&&"object"==typeof module.exports?e(require,exports):"function"==typeof define&&define.amd&&define(["require","exports","../../Validation","./tools","esri/geometry/geometryEngineAsync"],e)}(function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=e("../../Validation"),o=e("./tools"),r=e("esri/geometry/geometryEngineAsync"),e=(t.prototype.execute=function(e){var n=i.validation.exists("geometry",e.geometry),t=i.validation.number("maxSegmentLength",e.maxSegmentLength),e=r.densify(n,t,e.unit);return o.inline(e,function(e){return{geometry:e}})},t.action="gcx:wf:arcgis::DensifyEngineTask",t.suite="gcx:wf:builtin",t);function t(){}n.DensifyEngineTask=e});