Liferay.Loader.define("@liferay/frontend-taglib@7.0.11/translation_manager/components/LocalesList",["module","exports","require","@frontend-taglib-clay$clayui/button","@frontend-taglib-clay$clayui/icon","@frontend-taglib-clay$clayui/tabs","liferay!frontend-js-react-web$react"],(function(e,a,l){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=function({availableLocales:a,changeableDefaultLanguage:l,defaultLocale:i,editingLocale:o,onLocaleClicked:d,onLocaleRemoved:r}){return c.default.createElement(c.default.Fragment,null,Array.from(a.values()).map((a=>c.default.createElement(e,{editingLocale:o,key:a.id,locale:a,onLocaleClicked:()=>d&&d(a)},l&&i===a.id||a.id!==i&&c.default.createElement(t.default,{displayType:"unstyled",onClick:()=>r&&r(a),small:!0},c.default.createElement(n.default,{symbol:"times-small"}))))))};var t=o(l("@frontend-taglib-clay$clayui/button")),n=o(l("@frontend-taglib-clay$clayui/icon")),i=o(l("@frontend-taglib-clay$clayui/tabs")),c=o(l("liferay!frontend-js-react-web$react"));function o(e){return e&&e.__esModule?e:{default:e}}const e=({children:e,editingLocale:a,locale:l,onLocaleClicked:t})=>c.default.createElement(i.default.Item,{active:a===l.id,onClick:()=>t&&t(l)},c.default.createElement(n.default,{className:"inline-item-before",symbol:l.icon}),c.default.createElement("span",{className:"inline-item-before"},l.label),e)}}));
//# sourceMappingURL=LocalesList.js.map