Liferay.Loader.define("frontend-taglib-clay@12.0.6/Select",["module","exports","require","@frontend-taglib-clay$clayui/form","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$react"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t;let{additionalProps:a,componentId:o,containerCssClass:c,cssClass:i,id:f,label:d,locale:u,name:p,options:m,portletId:b,portletNamespace:y}=e,v=function(e,t){if(null==e)return{};var a,l,r=function(e,t){if(null==e)return{};var a,l,r={},n=Object.keys(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l<n.length;l++)a=n[l],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(e,["additionalProps","componentId","containerCssClass","cssClass","id","label","locale","name","options","portletId","portletNamespace"]);const O=null===(t=m.find((e=>e.selected)))||void 0===t?void 0:t.value;return n.default.createElement("div",{className:(0,r.default)("form-group",c)},d&&n.default.createElement("label",{htmlFor:f||p},d),n.default.createElement(l.ClaySelectWithOption,s({className:i,defaultValue:O,id:f||p,name:p,options:m.map((e=>({label:e.label,value:e.value})))},v)))};var l=a("@frontend-taglib-clay$clayui/form"),r=o(a("liferay!frontend-js-react-web$classnames")),n=o(a("liferay!frontend-js-react-web$react"));function o(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(this,arguments)}}}));
//# sourceMappingURL=Select.js.map