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