{"version":3,"sources":["webpack:///webpack/universalModuleDefinition?5ca6**********","webpack:///javascript/app/cloud-backup-restriction.js","webpack:///webpack/bootstrap 21416c718038fc0479b2?d6fb**********","webpack:///external {\"amd\":\"plesk-ui-library\"}?17a7*********","webpack:///./app/cloud-backup-restriction/CloudBackupRestriction.js","webpack:///./app/cloud-backup-restriction/index.js"],"names":["root","factory","exports","module","require","undefined","define","amd","this","__WEBPACK_EXTERNAL_MODULE_1__","modules","__webpack_require__","moduleId","installedModules","i","l","call","m","c","value","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","1","107","_classCallCheck","instance","Constructor","TypeError","_possibleConstructorReturn","self","ReferenceError","_inherits","subClass","superClass","create","constructor","writable","setPrototypeOf","__proto__","_createClass","defineProperties","target","props","length","descriptor","key","protoProps","staticProps","_uiLibrary","CloudBackupRestriction","_Component","_ref","_temp","_this","_ret","_len","arguments","args","Array","_key","getPrototypeOf","apply","concat","state","visible","handleClose","setState","createElement","Dialog","isOpen","size","banner","Jsw","skinUrl","cancelTitle","Translate","content","buttons","buyUrl","Button","intent","icon","component","href","buyUrlNewWindow","onClose","Component","propTypes","PropTypes","string","bool","defaultProps","default","153","_objectWithoutProperties","obj","keys","indexOf","_CloudBackupRestriction","_CloudBackupRestriction2","container","locale","render","LocaleProvider","messages"],"mappings":"CAAA,SAAAA,EAAAC,GACA,gBAAAC,UAAA,gBAAAC,QACAA,OAAAD,QAAAD,EAAAG,YAAAC,KACA,kBAAAC,gBAAAC,IACAD,QAAA,oBAAAL,GACA,gBAAAC,SACAA,QAAA,IAAAD,EAAAG,YAAAC,KAEAL,EAAA,IAAAC,EAAAD,MAAAK,MACCG,KAAA,SAAAC,GACD,MCAgB,UAAUC,GCN1B,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAV,OAGA,IAAAC,GAAAU,EAAAD,IACAE,EAAAF,EACAG,GAAA,EACAb,WAUA,OANAQ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AAgC,EAAAP,QAA4BlD,IAEjC0D","file":"javascript/app/cloud-backup-restriction.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(undefined));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"plesk-ui-library\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"Jsw\"] = factory(require(undefined));\n\telse\n\t\troot[\"Jsw\"] = factory(root[undefined]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_1__) {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(undefined));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"plesk-ui-library\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"Jsw\"] = factory(require(undefined));\n\telse\n\t\troot[\"Jsw\"] = factory(root[undefined]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_1__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 153);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 1:\n/* no static exports found */\n/* all exports used */\n/*!*******************************************!*\\\n !*** external {\"amd\":\"plesk-ui-library\"} ***!\n \\*******************************************/\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_1__;\n\n/***/ }),\n\n/***/ 107:\n/* no static exports found */\n/* all exports used */\n/*!****************************************************************!*\\\n !*** ./app/cloud-backup-restriction/CloudBackupRestriction.js ***!\n \\****************************************************************/\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _uiLibrary = __webpack_require__(/*! @plesk/ui-library */ 1);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Copyright 1999-2018. Plesk International GmbH. All rights reserved.\n\nvar CloudBackupRestriction = function (_Component) {\n _inherits(CloudBackupRestriction, _Component);\n\n function CloudBackupRestriction() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, CloudBackupRestriction);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = CloudBackupRestriction.__proto__ || Object.getPrototypeOf(CloudBackupRestriction)).call.apply(_ref, [this].concat(args))), _this), _this.state = {\n visible: true\n }, _this.handleClose = function () {\n _this.setState({\n visible: false\n });\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(CloudBackupRestriction, [{\n key: \"componentWillReceiveProps\",\n value: function componentWillReceiveProps() {\n this.setState({\n visible: true\n });\n }\n }, {\n key: \"render\",\n value: function render() {\n return (0, _uiLibrary.createElement)(\n _uiLibrary.Dialog,\n {\n isOpen: this.state.visible,\n size: \"sm\",\n banner: Jsw.skinUrl + \"/images/plesk-backup.png\",\n cancelTitle: (0, _uiLibrary.createElement)(_uiLibrary.Translate, { content: \"closeButton\" }),\n buttons: this.props.buyUrl ? (0, _uiLibrary.createElement)(\n _uiLibrary.Button,\n {\n intent: \"primary\",\n icon: \"shopping-cart\",\n component: \"a\",\n href: this.props.buyUrl,\n target: this.props.buyUrlNewWindow ? '_blank' : false,\n onClose: this.handleClose\n },\n (0, _uiLibrary.createElement)(_uiLibrary.Translate, { content: \"buyButton\" })\n ) : null,\n onClose: this.handleClose\n },\n (0, _uiLibrary.createElement)(_uiLibrary.Translate, { content: this.props.buyUrl ? 'descriptionWithBuy' : 'description' })\n );\n }\n }]);\n\n return CloudBackupRestriction;\n}(_uiLibrary.Component);\n\nCloudBackupRestriction.propTypes = {\n buyUrl: _uiLibrary.PropTypes.string,\n buyUrlNewWindow: _uiLibrary.PropTypes.bool\n};\nCloudBackupRestriction.defaultProps = {\n buyUrl: null,\n buyUrlNewWindow: true\n};\n\nexports.default = CloudBackupRestriction;\n\n/***/ }),\n\n/***/ 153:\n/* no static exports found */\n/* all exports used */\n/*!***********************************************!*\\\n !*** ./app/cloud-backup-restriction/index.js ***!\n \\***********************************************/\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _uiLibrary = __webpack_require__(/*! @plesk/ui-library */ 1);\n\nvar _CloudBackupRestriction = __webpack_require__(/*! ./CloudBackupRestriction */ 107);\n\nvar _CloudBackupRestriction2 = _interopRequireDefault(_CloudBackupRestriction);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } // Copyright 1999-2018. Plesk International GmbH. All rights reserved.\n\nmodule.exports = function (_ref) {\n var container = _ref.container,\n locale = _ref.locale,\n props = _objectWithoutProperties(_ref, ['container', 'locale']);\n\n (0, _uiLibrary.render)((0, _uiLibrary.createElement)(\n _uiLibrary.LocaleProvider,\n { messages: locale },\n (0, _uiLibrary.createElement)(_CloudBackupRestriction2.default, props)\n ), container);\n};\n\n/***/ })\n\n/******/ });\n});\n\n\n// WEBPACK FOOTER //\n// javascript/app/cloud-backup-restriction.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// identity function for calling harmony imports with the correct context\n \t__webpack_require__.i = function(value) { return value; };\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 153);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 21416c718038fc0479b2","module.exports = __WEBPACK_EXTERNAL_MODULE_1__;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external {\"amd\":\"plesk-ui-library\"}\n// module id = 1\n// module chunks = 1 2 3 4 5 6 7 8 9 10 11 12","// Copyright 1999-2018. Plesk International GmbH. All rights reserved.\n\nimport { createElement, Component, PropTypes, Button, Translate, Dialog } from '@plesk/ui-library';\n\nclass CloudBackupRestriction extends Component {\n state = {\n visible: true,\n };\n\n componentWillReceiveProps() {\n this.setState({\n visible: true,\n });\n }\n\n handleClose = () => {\n this.setState({\n visible: false,\n });\n }\n\n render() {\n return (\n }\n buttons={\n this.props.buyUrl ? (\n \n ) : null\n }\n onClose={this.handleClose}\n >\n \n \n );\n }\n}\nCloudBackupRestriction.propTypes = {\n buyUrl: PropTypes.string,\n buyUrlNewWindow: PropTypes.bool,\n};\nCloudBackupRestriction.defaultProps = {\n buyUrl: null,\n buyUrlNewWindow: true,\n};\n\nexport default CloudBackupRestriction;\n\n\n\n// WEBPACK FOOTER //\n// ./app/cloud-backup-restriction/CloudBackupRestriction.js","// Copyright 1999-2018. Plesk International GmbH. All rights reserved.\n\nimport { render, createElement, LocaleProvider } from '@plesk/ui-library';\nimport CloudBackupRestriction from './CloudBackupRestriction';\n\nmodule.exports = ({ container, locale, ...props }) => {\n render((\n \n \n \n ), container);\n};\n\n\n\n// WEBPACK FOOTER //\n// ./app/cloud-backup-restriction/index.js"],"sourceRoot":""}