(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[29],{

/***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/main/packages/Warnings.vue?vue&type=script&lang=js&":
/*!*******************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/main/packages/Warnings.vue?vue&type=script&lang=js& ***!
  \*******************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils_packageCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/utils/packageCheck */ \"./src/utils/packageCheck.js\");\n/* harmony import */ var _utils_packageStatus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/packageStatus */ \"./src/utils/packageStatus.js\");\n/* harmony import */ var _utils_mdc__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/mdc */ \"./src/utils/mdc.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  props: {\n    item: Object\n  },\n  computed: {\n    hasParam() {\n      return param => {\n        return Object(_utils_mdc__WEBPACK_IMPORTED_MODULE_2__[\"hasParam\"])(this.item.tempCommand.parameters, param);\n      };\n    },\n    isHigerVersionInstalled() {\n      return _utils_packageStatus__WEBPACK_IMPORTED_MODULE_1__[\"default\"].isHigerVersionInstalled(this.item);\n    },\n    hasMultipleVersions() {\n      return _utils_packageStatus__WEBPACK_IMPORTED_MODULE_1__[\"default\"].hasMultipleVersions(this.item);\n    },\n    installable() {\n      return _utils_packageStatus__WEBPACK_IMPORTED_MODULE_1__[\"default\"].isInstallable(this.item);\n    },\n    failed() {\n      return _utils_packageStatus__WEBPACK_IMPORTED_MODULE_1__[\"default\"].hasFailed(this.item);\n    },\n    notApproved() {\n      return _utils_packageCheck__WEBPACK_IMPORTED_MODULE_0__[\"default\"].isNotApproved(this.item);\n    },\n    failedValidations() {\n      return _utils_packageCheck__WEBPACK_IMPORTED_MODULE_0__[\"default\"].hasFailedValidations(this.item);\n    },\n    failedVirusScan() {\n      return _utils_packageCheck__WEBPACK_IMPORTED_MODULE_0__[\"default\"].hasFailedVirusScan(this.item);\n    },\n    failedTests() {\n      return _utils_packageCheck__WEBPACK_IMPORTED_MODULE_0__[\"default\"].hasFailedTests(this.item);\n    }\n  }\n});\n\n//# sourceURL=webpack:///./src/components/main/packages/Warnings.vue?./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"7d40fa80-vue-loader-template\"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/main/packages/Warnings.vue?vue&type=template&id=a3ac85da&":
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7d40fa80-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/main/packages/Warnings.vue?vue&type=template&id=a3ac85da& ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n  var _vm = this\n  var _h = _vm.$createElement\n  var _c = _vm._self._c || _h\n  return _c(\"div\", [\n    _vm.notApproved ||\n    _vm.failedValidations ||\n    _vm.failedTests ||\n    _vm.failedVirusScan\n      ? _c(\"div\", { staticClass: \"has-text margin-bottom-1\" }, [\n          _vm.notApproved\n            ? _c(\n                \"a\",\n                {\n                  attrs: {\n                    href: _vm.item.chocoPackage.GalleryDetailsUrl,\n                    target: \"_blank\"\n                  }\n                },\n                [_vm._m(0)]\n              )\n            : _vm._e(),\n          _vm.failedVirusScan\n            ? _c(\n                \"a\",\n                {\n                  attrs: {\n                    href: _vm.item.chocoPackage.GalleryDetailsUrl + \"#virus\",\n                    target: \"_blank\"\n                  }\n                },\n                [_vm._m(1)]\n              )\n            : _vm._e(),\n          _vm.failedValidations\n            ? _c(\n                \"a\",\n                {\n                  attrs: {\n                    href: _vm.item.chocoPackage.GalleryDetailsUrl,\n                    target: \"_blank\"\n                  }\n                },\n                [\n                  _c(\n                    \"span\",\n                    { staticClass: \"tags has-addons is-inline margin-left-10\" },\n                    [\n                      _c(\"span\", { staticClass: \"tag\" }, [\n                        _vm._v(\"Validation\")\n                      ]),\n                      _c(\"span\", { staticClass: \"tag is-warning\" }, [\n                        _vm._v(\n                          \" \" +\n                            _vm._s(\n                              _vm.item.chocoPackage\n                                .PackageValidationResultStatus\n                            )\n                        )\n                      ])\n                    ]\n                  )\n                ]\n              )\n            : _vm._e(),\n          _vm.failedTests\n            ? _c(\n                \"a\",\n                {\n                  attrs: {\n                    href:\n                      _vm.item.chocoPackage.PackageTestResultUrl != \"\"\n                        ? _vm.item.chocoPackage.PackageTestResultUrl\n                        : _vm.item.chocoPackage.GalleryDetailsUrl,\n                    target: \"_blank\"\n                  }\n                },\n                [\n                  _c(\n                    \"span\",\n                    { staticClass: \"tags has-addons is-inline margin-left-10\" },\n                    [\n                      _c(\"span\", { staticClass: \"tag\" }, [_vm._v(\"Tests\")]),\n                      _c(\"span\", { staticClass: \"tag is-warning\" }, [\n                        _vm._v(\n                          \" \" +\n                            _vm._s(\n                              _vm.item.chocoPackage.PackageTestResultStatus\n                            )\n                        )\n                      ])\n                    ]\n                  )\n                ]\n              )\n            : _vm._e()\n        ])\n      : _vm._e(),\n    _vm.hasMultipleVersions && _vm.installable\n      ? _c(\"div\", { staticClass: \"notification is-warning margin-bottom-1\" }, [\n          _vm._v(\n            \" There's multiple versions of this package already installed. Either add the -m parameter to install the package side-by-side, or uninstall the existing versions. \"\n          )\n        ])\n      : _vm._e(),\n    _vm.isHigerVersionInstalled && _vm.installable\n      ? _c(\"div\", { staticClass: \"notification is-warning margin-bottom-1\" }, [\n          _vm._v(\n            \" This package version is lower than at least one already installed package. Either add the -m option to install the package side-by-side, or uninstall the existing versions. \"\n          )\n        ])\n      : _vm._e()\n  ])\n}\nvar staticRenderFns = [\n  function() {\n    var _vm = this\n    var _h = _vm.$createElement\n    var _c = _vm._self._c || _h\n    return _c(\n      \"span\",\n      { staticClass: \"tags has-addons is-inline margin-left-10\" },\n      [\n        _c(\"span\", { staticClass: \"tag\" }, [_vm._v(\"Status\")]),\n        _c(\"span\", { staticClass: \"tag is-danger\" }, [_vm._v(\"Not approved\")])\n      ]\n    )\n  },\n  function() {\n    var _vm = this\n    var _h = _vm.$createElement\n    var _c = _vm._self._c || _h\n    return _c(\n      \"span\",\n      { staticClass: \"tags has-addons is-inline margin-left-10\" },\n      [\n        _c(\"span\", { staticClass: \"tag\" }, [_vm._v(\"VirusTotal\")]),\n        _c(\"span\", { staticClass: \"tag is-danger\" }, [_vm._v(\"Flagged\")])\n      ]\n    )\n  }\n]\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/components/main/packages/Warnings.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%227d40fa80-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./src/components/main/packages/Warnings.vue":
/*!***************************************************!*\
  !*** ./src/components/main/packages/Warnings.vue ***!
  \***************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _Warnings_vue_vue_type_template_id_a3ac85da___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Warnings.vue?vue&type=template&id=a3ac85da& */ \"./src/components/main/packages/Warnings.vue?vue&type=template&id=a3ac85da&\");\n/* harmony import */ var _Warnings_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Warnings.vue?vue&type=script&lang=js& */ \"./src/components/main/packages/Warnings.vue?vue&type=script&lang=js&\");\n/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ \"./node_modules/vue-loader/lib/runtime/componentNormalizer.js\");\n\n\n\n\n\n/* normalize component */\n\nvar component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(\n  _Warnings_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n  _Warnings_vue_vue_type_template_id_a3ac85da___WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n  _Warnings_vue_vue_type_template_id_a3ac85da___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"],\n  false,\n  null,\n  null,\n  null\n  \n)\n\n/* hot reload */\nif (false) { var api; }\ncomponent.options.__file = \"src/components/main/packages/Warnings.vue\"\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);\n\n//# sourceURL=webpack:///./src/components/main/packages/Warnings.vue?");

/***/ }),

/***/ "./src/components/main/packages/Warnings.vue?vue&type=script&lang=js&":
/*!****************************************************************************!*\
  !*** ./src/components/main/packages/Warnings.vue?vue&type=script&lang=js& ***!
  \****************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Warnings_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/babel-loader/lib!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib??vue-loader-options!./Warnings.vue?vue&type=script&lang=js& */ \"./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/main/packages/Warnings.vue?vue&type=script&lang=js&\");\n/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__[\"default\"] = (_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Warnings_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[\"default\"]); \n\n//# sourceURL=webpack:///./src/components/main/packages/Warnings.vue?");

/***/ }),

/***/ "./src/components/main/packages/Warnings.vue?vue&type=template&id=a3ac85da&":
/*!**********************************************************************************!*\
  !*** ./src/components/main/packages/Warnings.vue?vue&type=template&id=a3ac85da& ***!
  \**********************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_7d40fa80_vue_loader_template_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Warnings_vue_vue_type_template_id_a3ac85da___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"7d40fa80-vue-loader-template\"}!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib??vue-loader-options!./Warnings.vue?vue&type=template&id=a3ac85da& */ \"./node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"7d40fa80-vue-loader-template\\\"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/main/packages/Warnings.vue?vue&type=template&id=a3ac85da&\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_7d40fa80_vue_loader_template_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Warnings_vue_vue_type_template_id_a3ac85da___WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_7d40fa80_vue_loader_template_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Warnings_vue_vue_type_template_id_a3ac85da___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack:///./src/components/main/packages/Warnings.vue?");

/***/ }),

/***/ "./src/utils/packageCheck.js":
/*!***********************************!*\
  !*** ./src/utils/packageCheck.js ***!
  \***********************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\nfunction hasFailedTests(item) {\n  return item && item.chocoPackage && item.chocoPackage.PackageTestResultStatus != null && item.chocoPackage.PackageTestResultStatus !== \"Passing\" && item.chocoPackage.PackageTestResultStatus !== \"Exempted\";\n}\nfunction hasFailedValidations(item) {\n  return item && item.chocoPackage && item.chocoPackage.PackageValidationResultStatus != null && item.chocoPackage.PackageValidationResultStatus != \"Passing\" && item.chocoPackage.PackageValidationResultStatus != \"Exempted\";\n}\nfunction hasFailedVirusScan(item) {\n  return item && item.chocoPackage && item.chocoPackage.PackageScanStatus != null && item.chocoPackage.PackageScanStatus !== \"NotFlagged\" && item.chocoPackage.PackageScanStatus !== \"Exempted\";\n}\nfunction isNotApproved(item) {\n  return item && item.chocoPackage && item.chocoPackage.IsApproved != null && item.chocoPackage.PackageStatus !== \"Exempted\" && !item.chocoPackage.IsApproved;\n}\nfunction hasHealthInfo(item) {\n  return item.chocoPackage.IsApproved != null;\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  isNotApproved,\n  hasFailedTests,\n  hasFailedValidations,\n  hasFailedVirusScan,\n  hasHealthInfo\n});\n\n//# sourceURL=webpack:///./src/utils/packageCheck.js?");

/***/ })

}]);