(self["webpackJsonp@lyrio/ui"]=self["webpackJsonp@lyrio/ui"]||[]).push([[69],{931:function(e,n,a){"use strict";a.d(n,"a",(function(){return b}));var c=a(179),t=a(1),l=(a(0),a(1101)),o=a.n(l),i=a(1805),s=a(601),r=a(612),u=a(614),d=a(82),m=a(22),b=function(e){var n=Object(m.i)("language");return Object(t.jsx)(i.a,{className:e.className,activeIndex:e.locales.indexOf(e.activeLocale),onTabChange:function(n,a){var c=a.activeIndex;return c!==e.locales.length&&e.onSetActiveLocale(e.locales[c])},menu:{pointing:!0},panes:[].concat(Object(c.a)(e.locales.map((function(a,c){return{menuItem:Object(t.jsxs)(s.a.Item,{children:[Object(t.jsx)(r.a,{name:d.a[a].flag}),n(".".concat(a))]},a),pane:{key:a,className:o.a.localeTabPane,content:e.item(a,0===c,1===e.locales.length)}}}))),[{menuItem:Object(t.jsx)(u.a,{item:!0,icon:"add",active:"",disabled:e.locales.length===Object.keys(d.a).length,className:"icon ".concat(o.a.toolbarMenuIconItem),children:Object(t.jsx)(u.a.Menu,{children:Object.keys(d.a).filter((function(n){return!e.locales.includes(n)})).map((function(a){return Object(t.jsx)(u.a.Item,{flag:d.a[a].flag,text:n(".".concat(a)),onClick:function(){return e.onAddLocale(a)}},a)}))})},"add"),pane:{key:"add",content:null}}]),renderActiveOnly:!1})}}}]);
//# sourceMappingURL=69.ba7cea1e.chunk.js.map