"use strict";(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["app/server/key-update"],{1784:(e,s,r)=>{r.r(s),r.d(s,{default:()=>c});var l=r(218),n=r.n(l),a=r(217),d=r(216);const i=({params:e})=>(0,d.jsx)("table",{className:"formFields",width:"100%",cellSpacing:"0",children:(0,d.jsx)("tbody",{children:e.map((({name:e,value:s})=>(0,d.jsxs)("tr",{children:[(0,d.jsx)("td",{className:"name",children:e}),(0,d.jsx)("td",{children:s})]},e)))})});i.propTypes={params:n().arrayOf(n().shape({name:n().string,value:n().string})).isRequired};const t=({errorMessage:e,keyResultDesc:s,keyInfo:r,additionalKeysErrors:l,additionalKeys:n})=>e?(0,d.jsx)(a.Alert,{intent:"danger",children:(0,d.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})}):(0,d.jsxs)("div",{className:"formArea",children:[(0,d.jsxs)("fieldset",{children:[(0,d.jsx)("legend",{children:(0,d.jsx)(a.Translate,{content:"keyResultLegend"})}),(0,d.jsx)("table",{width:"100%",cellSpacing:"0",cellPadding:"0",border:"0",children:(0,d.jsx)("tbody",{children:(0,d.jsx)("tr",{children:(0,d.jsxs)("td",{children:[(0,d.jsx)(a.Plaintext,{children:s}),r.length?(0,d.jsx)(i,{params:r}):null]})})})})]}),l.map((({name:e,resultDesc:s})=>(0,d.jsxs)("fieldset",{children:[(0,d.jsx)("legend",{children:e}),(0,d.jsx)("table",{width:"100%",cellSpacing:"0",cellPadding:"0",border:"0",children:(0,d.jsx)("tbody",{children:(0,d.jsx)("tr",{children:(0,d.jsx)("td",{children:(0,d.jsx)(a.Plaintext,{children:s})})})})})]},e))),n.map((({title:e,params:s})=>(0,d.jsxs)("fieldset",{children:[(0,d.jsx)("legend",{children:e}),(0,d.jsx)("table",{width:"100%",cellSpacing:"0",cellPadding:"0",border:"0",children:(0,d.jsx)("tbody",{children:(0,d.jsx)("tr",{children:(0,d.jsx)("td",{children:s.length?(0,d.jsx)(i,{params:s}):null})})})})]},e)))]});t.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},t.defaultProps={errorMessage:null};const c=t}}]);
//# sourceMappingURL=key-update.js.map?f5c3c4dbc475b364374e