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