Liferay.Loader.define("segments-web@3.0.77/js/components/criteria_builder/ContributorInputs.es",["module","exports","require","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react","../../utils/constants.es","../../utils/types.es"],(function(e,t,n){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;_interopRequireDefault(n("liferay!frontend-js-react-web$prop-types"));var r=_interopRequireDefault(n("liferay!frontend-js-react-web$react")),u=n("../../utils/constants.es");n("../../utils/types.es");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=function ContributorInputs({contributors:e}){return e.filter((e=>e.query)).map(((e,t)=>{const n=0===t?u.CONJUNCTIONS.AND:e.conjunctionId;return r.default.createElement(r.default.Fragment,{key:t},r.default.createElement("input",{className:"field form-control","data-testid":e.inputId,id:e.inputId,name:e.inputId,readOnly:!0,type:"hidden",value:e.query}),r.default.createElement("input",{id:e.conjunctionInputId,name:e.conjunctionInputId,readOnly:!0,type:"hidden",value:n}))}))};t.default=i}}));
//# sourceMappingURL=ContributorInputs.es.js.map