System.register(["./vendor-legacy.046e8265.js","./index-legacy.b746a8e2.js","./CodeLanguage-legacy.3430f88c.js"],(function(e){"use strict";var n,a,t,o,u,c,l,i,r,g;return{setters:[function(e){n=e.k,a=e.r,t=e.h,o=e.F,u=e.j,c=e.a1},function(e){l=e.u},function(e){i=e.c,r=e.b,g=e.a}],execute:function(){var s=function(e){var n=l("code_language"),s=a.exports.useRef(new Map).current;return t(o,{children:[u(c.Select,{className:e.classNameForLanguage,label:e.headerForLanguage||n(".code_language"),value:e.language,options:Object.keys(i).map((function(e){return{key:e,value:e,text:n(".".concat(e,".name"))}})),onChange:function(n,a){var t,o,u=a.value;return!e.pending&&(t=u,o=e.language,s.set(o,e.compileAndRunOptions),e.onUpdateLanguage(t),void e.onUpdateCompileAndRunOptions(s.get(t)||g(t)))}}),e.elementAfterLanguageSelect,i[e.language].map((function(a){if(a.type===r.Select)return u(c.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,t){var o=t.value;return!e.pending&&e.onUpdateCompileAndRunOptions(Object.assign({},e.compileAndRunOptions,function(e,n,a){return n in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a,e}({},a.name,o)))}},a.name)}))]})};s=n(s),e("C",s)}}}));
