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