!function(e){"object"==typeof module&&"object"==typeof module.exports?e(require,exports):"function"==typeof define&&define.amd&&define(["require","exports","../../Validation"],e)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=e("../../Validation"),e=(o.prototype.execute=function(e){var t=i.validation.exists("geometry",e.geometry),o={};switch(t.type){case"point":o.point=t;break;case"circle":case"polygon":o.polygon=t;break;case"polyline":o.polyline=t;break;case"extent":o.extent=t;break;case"multipoint":o.multipoint=t}return o},o.action="gcx:wf:arcgis::CastGeometry",o.suite="gcx:wf:builtin",o);function o(){}t.CastGeometry=e});