(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["app/cloud-backup-restriction"],{1109:(e,t,s)=>{"use strict";s.r(t);var n=s(147),l=s.n(n),r=s(154),o=s(153),i=s(260),a=s.n(i);class c extends o.Component{constructor(...e){super(...e),l()(this,"state",{visible:!0}),l()(this,"handleClose",(()=>{this.setState({visible:!1})}))}componentWillReceiveProps(){this.setState({visible:!0})}render(){return(0,o.createElement)(r.Dialog,{isOpen:this.state.visible,size:"sm",banner:s(1110),cancelTitle:(0,o.createElement)(r.Translate,{content:"cloudBackupRestrictionCloseButton"}),buttons:this.props.buyUrl?(0,o.createElement)(r.Button,{intent:"primary",icon:"shopping-cart",component:"a",href:this.props.buyUrl,target:!!this.props.buyUrlNewWindow&&"_blank",onClose:this.handleClose},(0,o.createElement)(r.Translate,{content:"cloudBackupRestrictionBuyButton"})):null,onClose:this.handleClose},(0,o.createElement)(r.Translate,{content:this.props.buyUrl?"cloudBackupRestrictionDescriptionWithBuy":"cloudBackupRestrictionDescription"}))}}c.propTypes={buyUrl:a().string,buyUrlNewWindow:a().bool},c.defaultProps={buyUrl:null,buyUrlNewWindow:!0},t.default=c},1108:(e,t,s)=>{"use strict";s.r(t);var n=s(154),l=s(153),r=s(143),o=s(1109);t.default=({container:e,...t})=>{(0,l.render)((0,l.createElement)(n.LocaleProvider,{messages:r.Locale.getSection("controllers.backup.schedule").messages},(0,l.createElement)(o.default,t)),e)}},1110:e=>{e.exports=Jsw.skinUrl+"/images/plesk-backup.png?be7ccd9a753eba131152e1a8ee37351f"}}]);
//# sourceMappingURL=cloud-backup-restriction.js.map?b8fbde1caa8210b3f7ff