!function(e){"object"==typeof module&&"object"==typeof module.exports?e(require,exports):"function"==typeof define&&define.amd&&define(["require","exports","../../Validation","./FormElementMap"],e)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("../../Validation"),i=e("./FormElementMap"),e=(o.prototype.execute=function(e){var t=e.elementName,o=e.form,r=e.phrase;return"object"==typeof t&&(o=i.getFormForElement(t)),n.validation.exists("form",o),t=o.actor.getElementName(t,o.event),"string"!=typeof r&&(r="string"==typeof(e=o.event.argument)?e:""),{result:o.actor.filterItems(t,r)}},o.action="gcx:wf:forms::FilterFormElementItems",o.suite="gcx:wf:builtin",o);function o(){}t.FilterFormElementItems=e});