(self["webpackJsonp@lyrio/ui"]=self["webpackJsonp@lyrio/ui"]||[]).push([[54],{815:function(e,n,a){"use strict";var t=a(80),c=a(1),o=a(0),u=a(1792),l=a(55),s=a(22),i=a(701),p=function(e){var n=Object(s.i)("code_language"),a=Object(o.useRef)(new Map).current;return Object(c.jsxs)(c.Fragment,{children:[Object(c.jsx)(u.a.Select,{className:e.classNameForLanguage,label:e.headerForLanguage||n(".code_language"),value:e.language,options:Object.keys(i.d).map((function(e){return{key:e,value:e,text:n(".".concat(e,".name"))}})),onChange:function(n,t){var c=t.value;return!e.pending&&function(n){var t=e.language;a.set(t,e.compileAndRunOptions),e.onUpdateLanguage(n),e.onUpdateCompileAndRunOptions(a.get(n)||Object(i.g)(n))}(c)}}),e.elementAfterLanguageSelect,i.d[e.language].map((function(a){switch(a.type){case i.b.Select:return Object(c.jsx)(u.a.Select,{className:e.classNameForCompileAndRunOptions,label:n(".".concat(e.language,".options.").concat(a.name,".name")),value:e.compileAndRunOptions[a.name],options:a.values.map((function(t){return{key:t,value:t,text:n(".".concat(e.language,".options.").concat(a.name,".values.").concat(t))}})),onChange:function(n,c){var o=c.value;return!e.pending&&e.onUpdateCompileAndRunOptions(Object.assign({},e.compileAndRunOptions,Object(t.a)({},a.name,o)))}},a.name)}}))]})};p=Object(l.a)(p),n.a=p}}]);
//# sourceMappingURL=54.976e85c2.chunk.js.map