(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["app/cloud-backup-restriction"],{1002:(e,t,s)=>{"use strict";s.r(t);var n=s(148),l=s.n(n),r=s(155),o=s(154),i=s(261),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(1003),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},1001:(e,t,s)=>{"use strict";s.r(t);var n=s(155),l=s(154),r=s(144),o=s(1002);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)}},1003:e=>{e.exports=Jsw.skinUrl+"/images/plesk-backup.png?be7ccd9a753eba131152e1a8ee37351f"}}]);
//# sourceMappingURL=cloud-backup-restriction.js.map?22faf35d32a97134ba13