(window.webpackJsonpPlesk=window.webpackJsonpPlesk||[]).push([["app/server/key-update"],{1085:function(e,t,a){"use strict";a.r(t);var l=a(155),n=a(276),r=a.n(n),c=a(156);const s=({params:e})=>Object(l.createElement)("table",{className:"formFields",width:"100%",cellSpacing:"0"},Object(l.createElement)("tbody",null,e.map(({name:e,value:t})=>Object(l.createElement)("tr",{key:e},Object(l.createElement)("td",{className:"name"},e),Object(l.createElement)("td",null,t)))));s.propTypes={params:r.a.arrayOf(r.a.shape({name:r.a.string,value:r.a.string})).isRequired};const i=({errorMessage:e,keyResultDesc:t,keyInfo:a,additionalKeysErrors:n,additionalKeys:r})=>e?Object(l.createElement)(c.Alert,{intent:"danger"},Object(l.createElement)("span",{dangerouslySetInnerHTML:{__html:e}})):Object(l.createElement)("div",{className:"formArea"},Object(l.createElement)("fieldset",null,Object(l.createElement)("legend",null,Object(l.createElement)(c.Translate,{content:"keyResultLegend"})),Object(l.createElement)("table",{width:"100%",cellSpacing:"0",cellPadding:"0",border:"0"},Object(l.createElement)("tbody",null,Object(l.createElement)("tr",null,Object(l.createElement)("td",null,Object(l.createElement)(c.Plaintext,null,t),a.length?Object(l.createElement)(s,{params:a}):null))))),n.map(({name:e,resultDesc:t})=>Object(l.createElement)("fieldset",{key:e},Object(l.createElement)("legend",null,e),Object(l.createElement)("table",{width:"100%",cellSpacing:"0",cellPadding:"0",border:"0"},Object(l.createElement)("tbody",null,Object(l.createElement)("tr",null,Object(l.createElement)("td",null,Object(l.createElement)(c.Plaintext,null,t))))))),r.map(({title:e,params:t})=>Object(l.createElement)("fieldset",{key:e},Object(l.createElement)("legend",null,e),Object(l.createElement)("table",{width:"100%",cellSpacing:"0",cellPadding:"0",border:"0"},Object(l.createElement)("tbody",null,Object(l.createElement)("tr",null,Object(l.createElement)("td",null,t.length?Object(l.createElement)(s,{params:t}):null)))))));i.propTypes={errorMessage:r.a.string,keyResultDesc:r.a.string.isRequired,keyInfo:r.a.arrayOf(r.a.shape({name:r.a.string,value:r.a.string})).isRequired,additionalKeysErrors:r.a.arrayOf(r.a.shape({name:r.a.string,resultDesc:r.a.string})).isRequired,additionalKeys:r.a.arrayOf(r.a.shape({title:r.a.string,params:r.a.array})).isRequired},i.defaultProps={errorMessage:null},t.default=i}}]);
//# sourceMappingURL=key-update.js.map?0882a6324fd8b9b0969b