{"version":3,"file":"z-communiteq-features.js","names":["define","_exports","_component","_component2","_service","_templateFactory","_class","_descriptor","Object","defineProperty","value","default","__COLOCATED_TEMPLATE__","createTemplateFactory","id","block","moduleName","isStrictMode","ShowBackupInfo","constructor","target","property","descriptor","context","super","arguments","this","enumerable","configurable","writable","initializer","call","showMigrateInfo","siteSettings","bootstrap_mode_enabled","prototype","decorators","inject","desc","keys","forEach","key","slice","reverse","reduce","decorator","undefined","setComponentTemplate"],"sources":["discourse/plugins/z-communiteq-features/discourse/components/show-backup-info.js","discourse/plugins/z-communiteq-features/discourse/templates/connectors/admin-below-plugins-index/discoursehosting.js","discourse/plugins/z-communiteq-features/discourse/templates/connectors/before-backup-list/discoursehosting.js"],"sourcesContent":["define(\"discourse/plugins/z-communiteq-features/discourse/components/show-backup-info\", [\"exports\", \"@ember/component\", \"@glimmer/component\", \"@ember/service\", \"@ember/template-factory\"], function (_exports, _component, _component2, _service, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }\n  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : String(i); }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }\n  function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div style=\"padding: 12px; background-color: #d1f0ff; color: #222;\">\n  Off-site backups for disaster recovery are created every 24 hours. This page only shows the backups you have made yourself.\n  </div>\n  {{#if this.showMigrateInfo}}\n  <div style=\"padding: 12px; background-color: #fffbd6; color: #222;\">\n  <b>Important: </b>If you are migrating from another hosting provider then we recommend you to read\n  <a href=\"https://www.communiteq.com/discoursehosting/kb/migrate-from-another-provider/\" target=\"_blank\">our migration guide</a> before\n  attempting to restore a backup.\n  </div>\n  {{/if}}\n  \n  */\n  {\n    \"id\": \"kGvCmqKM\",\n    \"block\": \"[[[10,0],[14,5,\\\"padding: 12px; background-color: #d1f0ff; color: #222;\\\"],[12],[1,\\\"\\\\nOff-site backups for disaster recovery are created every 24 hours. This page only shows the backups you have made yourself.\\\\n\\\"],[13],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"showMigrateInfo\\\"]],[[[10,0],[14,5,\\\"padding: 12px; background-color: #fffbd6; color: #222;\\\"],[12],[1,\\\"\\\\n\\\"],[10,\\\"b\\\"],[12],[1,\\\"Important: \\\"],[13],[1,\\\"If you are migrating from another hosting provider then we recommend you to read\\\\n\\\"],[10,3],[14,6,\\\"https://www.communiteq.com/discoursehosting/kb/migrate-from-another-provider/\\\"],[14,\\\"target\\\",\\\"_blank\\\"],[12],[1,\\\"our migration guide\\\"],[13],[1,\\\" before\\\\nattempting to restore a backup.\\\\n\\\"],[13],[1,\\\"\\\\n\\\"]],[]],null]],[],false,[\\\"if\\\"]]\",\n    \"moduleName\": \"discourse/plugins/z-communiteq-features/discourse/components/show-backup-info.hbs\",\n    \"isStrictMode\": false\n  });\n  const FEATURED_CLASS = \"show-backup-info\";\n  let ShowBackupInfo = _exports.default = (_class = class ShowBackupInfo extends _component2.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"siteSettings\", _descriptor, this);\n    }\n    get showMigrateInfo() {\n      return this.siteSettings.bootstrap_mode_enabled;\n    }\n  }, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"siteSettings\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  })), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, ShowBackupInfo);\n});","define(\"discourse/plugins/z-communiteq-features/discourse/templates/connectors/admin-below-plugins-index/discoursehosting\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div style=\"padding: 12px; background-color: #fffbd6; color: #222;\">\n  In order to install plugins on Communiteq Discourse Hosting, please go to our control panel at <a target=\"_blank\" href=\"https://controlpanel.communiteq.com/cp/\">https://controlpanel.communiteq.com/cp/</a> and select Plugins from the left hand menu.\n  </div>\n  \n  */\n  {\n    \"id\": \"P07/mpqo\",\n    \"block\": \"[[[10,0],[14,5,\\\"padding: 12px; background-color: #fffbd6; color: #222;\\\"],[12],[1,\\\"\\\\nIn order to install plugins on Communiteq Discourse Hosting, please go to our control panel at \\\"],[10,3],[14,\\\"target\\\",\\\"_blank\\\"],[14,6,\\\"https://controlpanel.communiteq.com/cp/\\\"],[12],[1,\\\"https://controlpanel.communiteq.com/cp/\\\"],[13],[1,\\\" and select Plugins from the left hand menu.\\\\n\\\"],[13],[1,\\\"\\\\n\\\"]],[],false,[]]\",\n    \"moduleName\": \"discourse/plugins/z-communiteq-features/discourse/templates/connectors/admin-below-plugins-index/discoursehosting.hbs\",\n    \"isStrictMode\": false\n  });\n});","define(\"discourse/plugins/z-communiteq-features/discourse/templates/connectors/before-backup-list/discoursehosting\", [\"exports\", \"@ember/template-factory\"], function (_exports, _templateFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <ShowBackupInfo />\n  */\n  {\n    \"id\": \"C24cNrV4\",\n    \"block\": \"[[[8,[39,0],null,null,null]],[],false,[\\\"show-backup-info\\\"]]\",\n    \"moduleName\": \"discourse/plugins/z-communiteq-features/discourse/templates/connectors/before-backup-list/discoursehosting.hbs\",\n    \"isStrictMode\": false\n  });\n});"],"mappings":"AAAAA,OAAA,yLAAAC,EAAAC,EAAAC,EAAAC,EAAAC,GACA;AAMA,IAAAC,EAAAC;AAJAC,OAAAC,eAAAR,EAAA,cACAS,OAAA,IAEAT,EAAAU,aAAA;AAQA,MAAAC,GAAA,EAAAP,EAAAQ,uBAcA,CACAC,GAAA,WACAC,MAAA,qtBACAC,WAAA,oFACAC,cAAA;AAGA,IAAAC,EAAAjB,EAAAU,SAAAL,EAAA,cAAAH,EAAAQ,QACA,WAAAQ,GA5BA,IAAAC,EAAAC,EAAAC,EAAAC;AA6BAC,SAAAC,WA7BAL,EA8BAM,KA9BAL,EA8BA,eA9BAE,EA8BAG,MA9BAJ,EA8BAf,IA9BAC,OAAAC,eAAAW,EAAAC,EAAA,CAAAM,WAAAL,EAAAK,WAAAC,aAAAN,EAAAM,aAAAC,SAAAP,EAAAO,SAAAnB,MAAAY,EAAAQ,YAAAR,EAAAQ,YAAAC,KAAAR,QAAA,GA+BA,CACA,mBAAAS,GACA,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