!function(e){"object"==typeof module&&"object"==typeof module.exports?e(require,exports):"function"==typeof define&&define.amd&&define(["require","exports","../../Validation","./tools"],e)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("../../Validation"),n=e("./tools"),e=(i.prototype.execute=function(e,t){var i=o.validation.string("attribute",e.attribute,o.validation.never),u=n.featuresToArray(o.validation.exists("features",e.features))[o.validation.number("index",e.index,0)],r={feature:void 0,value:void 0};if(null==u)return r;e=u.attributes;if(null==e)return r;r.feature=u;i=e[i];return r.value=null!==i?i:void 0,r},i.action="gcx:wf:arcgis::GetAttributeValue",i.suite="gcx:wf:builtin",i);function i(){}t.GetAttributeValue=e});