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

/***/ "./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/Actions.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/Actions.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_mdc__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/utils/mdc */ \"./src/utils/mdc.js\");\n/* harmony import */ var _utils_packages__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/packages */ \"./src/utils/packages.js\");\n/* harmony import */ var _utils_packageStatus__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/packageStatus */ \"./src/utils/packageStatus.js\");\n/* harmony import */ var _utils_socket__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/socket */ \"./src/utils/socket.js\");\n/* harmony import */ var _utils_http__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/utils/http */ \"./src/utils/http.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//\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    value: Boolean,\n    item: Object\n  },\n  components: {\n    Warnings: () => __webpack_require__.e(/*! import() */ 29).then(__webpack_require__.bind(null, /*! @/components/main/packages/Warnings.vue */ \"./src/components/main/packages/Warnings.vue\")),\n    Switches: () => __webpack_require__.e(/*! import() */ 75).then(__webpack_require__.bind(null, /*! @/components/main/packages/Switches.vue */ \"./src/components/main/packages/Switches.vue\")),\n    Parameters: () => __webpack_require__.e(/*! import() */ 38).then(__webpack_require__.bind(null, /*! @/components/main/packages/Parameters.vue */ \"./src/components/main/packages/Parameters.vue\")),\n    Modal: () => __webpack_require__.e(/*! import() */ 16).then(__webpack_require__.bind(null, /*! ./Modal */ \"./src/components/main/packages/Modal.vue\"))\n  },\n  computed: {\n    hasParam() {\n      return param => {\n        return Object(_utils_mdc__WEBPACK_IMPORTED_MODULE_0__[\"hasParam\"])(this.item.tempCommand.parameters, param);\n      };\n    },\n    group() {\n      return Object(_utils_mdc__WEBPACK_IMPORTED_MODULE_0__[\"getGroup\"])(this.item);\n    },\n    isPseudo() {\n      var _this$item;\n      return (_this$item = this.item) === null || _this$item === void 0 || (_this$item = _this$item.chocoPackage) === null || _this$item === void 0 ? void 0 : _this$item.Pseudo;\n    },\n    higerVersionInstalled() {\n      return _utils_packageStatus__WEBPACK_IMPORTED_MODULE_2__[\"default\"].isHigerVersionInstalled(this.item);\n    },\n    autoUpgrade() {\n      return _utils_packageStatus__WEBPACK_IMPORTED_MODULE_2__[\"default\"].hasAutoUpgrade(this.item);\n    },\n    hasMultiple() {\n      return _utils_packageStatus__WEBPACK_IMPORTED_MODULE_2__[\"default\"].hasMultipleVersions(this.item);\n    },\n    working() {\n      return _utils_packageStatus__WEBPACK_IMPORTED_MODULE_2__[\"default\"].isWorking(this.item);\n    },\n    upgradable() {\n      return _utils_packageStatus__WEBPACK_IMPORTED_MODULE_2__[\"default\"].isUpgradable(this.item);\n    },\n    installable() {\n      return _utils_packageStatus__WEBPACK_IMPORTED_MODULE_2__[\"default\"].isInstallable(this.item);\n    },\n    uninstallable() {\n      return _utils_packageStatus__WEBPACK_IMPORTED_MODULE_2__[\"default\"].isUninstallable(this.item);\n    },\n    uninstalled() {\n      return _utils_packageStatus__WEBPACK_IMPORTED_MODULE_2__[\"default\"].isUninstallDone(this.item);\n    },\n    nameAndVersion() {\n      return Object(_utils_mdc__WEBPACK_IMPORTED_MODULE_0__[\"getPackageNameVersionAndHash\"])(this.item);\n    }\n  },\n  data() {\n    return {\n      isLoading: false\n    };\n  },\n  async created() {\n    this.isLoading = true;\n    if (this.item) {\n      const {\n        name,\n        uid\n      } = this.nameAndVersion;\n      const shouldReload = !this.$store.state.computerPackage.fullyLoadedPackages[name + uid];\n      if (shouldReload) {\n        const mdcPackages = await Object(_utils_packages__WEBPACK_IMPORTED_MODULE_1__[\"getAllMdcVersions\"])(this.item, \"computerPackage\", Object(_utils_packages__WEBPACK_IMPORTED_MODULE_1__[\"getAllMdcVersionsFn\"])(this.item, false, this.$route.params));\n        this.$store.commit(`computerPackage/setMergedPackageVersions`, mdcPackages);\n      }\n      this.$store.commit(\"computerPackage/editMergedPackage\", {\n        p: this.item,\n        obj: {\n          tempCommand: {\n            ...this.item.command\n          }\n        }\n      });\n    }\n    this.isLoading = false;\n  },\n  methods: {\n    validate(action) {\n      if (action === \"upgrade\" && (this.hasMultiple || this.higerVersionInstalled) && !this.hasParam(\"-m\") || this.working) return false;else if (action === \"install\" && ((this.hasMultiple || this.higerVersionInstalled) && !this.hasParam(\"-m\") || this.working)) return false;else if (action === \"uninstall\" && (!this.uninstallable || this.working)) return false;\n      return true;\n    },\n    changePackage(item, action) {\n      if (this.validate(action)) {\n        this.isLoading = true;\n        this.$emit(\"action\", action);\n        const newItem = Object(_utils_packages__WEBPACK_IMPORTED_MODULE_1__[\"formatPackage\"])(item, action);\n        newItem.command.override = true;\n        if (Object(_utils_socket__WEBPACK_IMPORTED_MODULE_3__[\"sendPackages\"])([newItem], [item.computerUID || this.$route.params.computerUID])) {\n          this.$store.commit(\"computerPackage/mergeMdcPackage\", {\n            ...item,\n            command: newItem.command\n          });\n          this.$store.commit(\"computerPackage/editMergedPackage\", {\n            p: item,\n            obj: {\n              command: newItem.command\n            }\n          });\n        } else {\n          this.$helpers.notify(\"Error\", \"Could not send the package.\", \"danger\");\n        }\n        if (newItem.command.streamLog) this.$emit(\"openActionInfo\");else this.hide();\n      }\n    },\n    async deletePackage() {\n      try {\n        this.isLoading = true;\n        const {\n          name,\n          version,\n          hash\n        } = Object(_utils_mdc__WEBPACK_IMPORTED_MODULE_0__[\"getPackageNameVersionAndHash\"])(this.item);\n        await Object(_utils_http__WEBPACK_IMPORTED_MODULE_4__[\"postApi\"])(\"delete/computerPackage\", {\n          packageHash: hash,\n          packageName: name,\n          domainUID: this.$route.params.domainUID,\n          sourceUID: this.item.source.uid,\n          computerUIDs: [this.item.computerUID || this.$route.params.computerUID]\n        });\n        this.$store.commit(\"computerPackage/removeMergedPackage\", this.item);\n      } catch (error) {\n        console.error(error);\n        this.$helpers.notify(\"Error\", \"Could not delete the package.\", \"danger\");\n      }\n      this.hide();\n    },\n    hide() {\n      this.$store.commit(\"computerPackage/editMergedPackage\", {\n        p: this.item,\n        obj: {\n          tempCommand: null\n        }\n      });\n      this.$emit(\"hide\");\n      this.$emit(\"input\", false);\n    }\n  }\n});\n\n//# sourceURL=webpack:///./src/components/main/packages/Actions.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?!./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/Computer.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/Computer.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_date__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/utils/date */ \"./src/utils/date.js\");\n/* harmony import */ var _utils_mdc__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/mdc */ \"./src/utils/mdc.js\");\n/* harmony import */ var _utils_document__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/document */ \"./src/utils/document.js\");\n/* harmony import */ var _utils_packageStatus__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/utils/packageStatus */ \"./src/utils/packageStatus.js\");\n/* harmony import */ var _utils_packageFilter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/utils/packageFilter */ \"./src/utils/packageFilter.js\");\n/* harmony import */ var _utils_packageOrder__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/utils/packageOrder */ \"./src/utils/packageOrder.js\");\n/* harmony import */ var _utils_packageOdata__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/utils/packageOdata */ \"./src/utils/packageOdata.js\");\n/* harmony import */ var _components_main_packages_Actions_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/components/main/packages/Actions.vue */ \"./src/components/main/packages/Actions.vue\");\n/* harmony import */ var _components_main_packages_Info_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/components/main/packages/Info.vue */ \"./src/components/main/packages/Info.vue\");\n/* harmony import */ var _utils_paging__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/utils/paging */ \"./src/utils/paging.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//\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//\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//\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\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  components: {\n    PackagesEffect: () => __webpack_require__.e(/*! import() */ 115).then(__webpack_require__.bind(null, /*! @/components/singles/PackagesEffect.vue */ \"./src/components/singles/PackagesEffect.vue\")),\n    Tips: () => __webpack_require__.e(/*! import() */ 11).then(__webpack_require__.bind(null, /*! @/components/main/Tips.vue */ \"./src/components/main/Tips.vue\")),\n    Paging: () => __webpack_require__.e(/*! import() */ 12).then(__webpack_require__.bind(null, /*! @/components/main/paging/Nav.vue */ \"./src/components/main/paging/Nav.vue\")),\n    Title: () => __webpack_require__.e(/*! import() */ 4).then(__webpack_require__.bind(null, /*! @/components/singles/Title.vue */ \"./src/components/singles/Title.vue\")),\n    SearchBar: () => __webpack_require__.e(/*! import() */ 6).then(__webpack_require__.bind(null, /*! @/components/main/SearchBar.vue */ \"./src/components/main/SearchBar.vue\")),\n    Versions: () => __webpack_require__.e(/*! import() */ 39).then(__webpack_require__.bind(null, /*! @/components/main/packages/Versions.vue */ \"./src/components/main/packages/Versions.vue\")),\n    ActionInfo: () => __webpack_require__.e(/*! import() */ 22).then(__webpack_require__.bind(null, /*! @/components/main/packages/ActionInfo.vue */ \"./src/components/main/packages/ActionInfo.vue\")),\n    CheckboxText: () => __webpack_require__.e(/*! import() */ 5).then(__webpack_require__.bind(null, /*! @/components/singles/CheckboxText.vue */ \"./src/components/singles/CheckboxText.vue\")),\n    LoaderOne: () => __webpack_require__.e(/*! import() */ 17).then(__webpack_require__.bind(null, /*! @/components/singles/LoaderOne.vue */ \"./src/components/singles/LoaderOne.vue\")),\n    NotApproved: () => __webpack_require__.e(/*! import() */ 33).then(__webpack_require__.bind(null, /*! @/components/main/packages/warnings/NotApproved.vue */ \"./src/components/main/packages/warnings/NotApproved.vue\")),\n    FailedValidations: () => __webpack_require__.e(/*! import() */ 31).then(__webpack_require__.bind(null, /*! @/components/main/packages/warnings/FailedValidations.vue */ \"./src/components/main/packages/warnings/FailedValidations.vue\")),\n    FailedTests: () => __webpack_require__.e(/*! import() */ 30).then(__webpack_require__.bind(null, /*! @/components/main/packages/warnings/FailedTests.vue */ \"./src/components/main/packages/warnings/FailedTests.vue\")),\n    FailedVirusScan: () => __webpack_require__.e(/*! import() */ 32).then(__webpack_require__.bind(null, /*! @/components/main/packages/warnings/FailedVirusScan.vue */ \"./src/components/main/packages/warnings/FailedVirusScan.vue\")),\n    Passed: () => __webpack_require__.e(/*! import() */ 34).then(__webpack_require__.bind(null, /*! @/components/main/packages/warnings/Passed.vue */ \"./src/components/main/packages/warnings/Passed.vue\")),\n    InstallButton: () => __webpack_require__.e(/*! import() */ 40).then(__webpack_require__.bind(null, /*! @/components/main/packages/buttons/Install.vue */ \"./src/components/main/packages/buttons/Install.vue\")),\n    UninstallButton: () => __webpack_require__.e(/*! import() */ 41).then(__webpack_require__.bind(null, /*! @/components/main/packages/buttons/Uninstall.vue */ \"./src/components/main/packages/buttons/Uninstall.vue\")),\n    ComputerGroups: () => __webpack_require__.e(/*! import() */ 88).then(__webpack_require__.bind(null, /*! @/components/main/group/ComputerGroups.vue */ \"./src/components/main/group/ComputerGroups.vue\")),\n    Actions: _components_main_packages_Actions_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n    Info: _components_main_packages_Info_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n  },\n  computed: {\n    key() {\n      return item => {\n        var _item$source;\n        return item.chocoPackage.Id + item.chocoPackage.Version + ((_item$source = item.source) === null || _item$source === void 0 ? void 0 : _item$source.uid);\n      };\n    },\n    selected() {\n      return arr => {\n        return arr.filter(x => x.selected);\n      };\n    },\n    selectedItem() {\n      return this.$store.getters[\"computerPackage/selectedItem\"];\n    },\n    filtered() {\n      return packagesObj => {\n        if (this.filter && this.filter !== \"\") {\n          const newPackagesObj = Object(_utils_packageFilter__WEBPACK_IMPORTED_MODULE_4__[\"filterPackages\"])(packagesObj, this.filter);\n          this.visiblePackagesLength = Object.keys(newPackagesObj).length;\n          return Object(_utils_paging__WEBPACK_IMPORTED_MODULE_9__[\"getPackageObj\"])(newPackagesObj, this.paging.start, this.paging.page * this.paging.max);\n        } else {\n          this.visiblePackagesLength = Object.keys(packagesObj).length;\n          return Object(_utils_paging__WEBPACK_IMPORTED_MODULE_9__[\"getPackageObj\"])(packagesObj, this.paging.start, this.paging.page * this.paging.max);\n        }\n      };\n    },\n    groupInfo() {\n      return item => {\n        return Object(_utils_mdc__WEBPACK_IMPORTED_MODULE_1__[\"getGroup\"])(item);\n      };\n    },\n    name() {\n      return item => {\n        return this.$helpers.getNameOrFriendlyName(item);\n      };\n    },\n    icon() {\n      return item => {\n        return item.chocoPackage.IconUrl && item.chocoPackage.IconUrl !== \"\" ? item.chocoPackage.IconUrl : \"/box.png\";\n      };\n    },\n    hasParam() {\n      return (item, param) => {\n        return Object(_utils_mdc__WEBPACK_IMPORTED_MODULE_1__[\"hasParam\"])(item.command.parameters, param);\n      };\n    },\n    isPseudo() {\n      return item => {\n        var _item$chocoPackage;\n        return item === null || item === void 0 || (_item$chocoPackage = item.chocoPackage) === null || _item$chocoPackage === void 0 ? void 0 : _item$chocoPackage.Pseudo;\n      };\n    },\n    nameAndVersion() {\n      return item => {\n        return Object(_utils_mdc__WEBPACK_IMPORTED_MODULE_1__[\"getPackageNameVersionAndHash\"])(item);\n      };\n    },\n    title() {\n      return item => {\n        return item.chocoPackage.Title.length > 30 ? `${item.chocoPackage.Title.substring(0, 30)}...` : item.chocoPackage.Title;\n      };\n    },\n    isWorking() {\n      return item => {\n        return _utils_packageStatus__WEBPACK_IMPORTED_MODULE_3__[\"default\"].isWorking(item);\n      };\n    },\n    uninstallable() {\n      return item => {\n        return _utils_packageStatus__WEBPACK_IMPORTED_MODULE_3__[\"default\"].isUninstallable(item);\n      };\n    },\n    fromNow() {\n      return date => {\n        return Object(_utils_date__WEBPACK_IMPORTED_MODULE_0__[\"fromNow\"])(date);\n      };\n    }\n  },\n  data() {\n    return {\n      groups: null,\n      visiblePackagesLength: 0,\n      firstLoad: false,\n      searching: false,\n      internalExternal: true,\n      showActions: false,\n      showInfo: false,\n      showActionInfo: false,\n      tempFilter: \"\",\n      filter: \"\",\n      includePrerelease: false,\n      searchId: Object(_utils_document__WEBPACK_IMPORTED_MODULE_2__[\"getId\"])(),\n      paging: {\n        page: 1,\n        max: 15,\n        start: 0,\n        pages: []\n      }\n    };\n  },\n  async created() {\n    try {\n      var _this$$store$state$se;\n      this.firstLoad = true;\n      await this.$store.dispatch(\"group/fetch\", {\n        domainUID: this.$route.params.domainUID\n      });\n      await this.$store.dispatch(\"settings/getUserSetting\", {\n        path: \"computerPackages\",\n        key: \"paging\"\n      });\n      const paging = (_this$$store$state$se = this.$store.state.settings.user.computerPackages) === null || _this$$store$state$se === void 0 ? void 0 : _this$$store$state$se.paging;\n      if (paging && paging.max) this.paging.max = paging.max;\n      await this.getLatestPackages();\n      this.firstLoad = false;\n    } catch (err) {\n      console.log(err);\n      this.$helpers.notify(\"Error\", \"Could not get data.\", \"danger\", 5000);\n    }\n  },\n  beforeDestroy() {\n    if (this.selectedItem) {\n      this.$store.commit(\"computerPackage/editMergedPackage\", {\n        p: this.selectedItem,\n        obj: {\n          selectedItem: false\n        }\n      });\n    }\n    this.$store.commit(\"computerPackage/clear\");\n  },\n  methods: {\n    jump(item) {\n      Object(_utils_document__WEBPACK_IMPORTED_MODULE_2__[\"jump\"])(item.chocoPackage.Id);\n    },\n    setPageMax(size) {\n      this.paging.max = size;\n      this.setPage(1);\n      this.setPages(Object.keys(this.$store.state.computerPackage.mergedPackages).length);\n    },\n    setPages(num) {\n      this.paging.pages = Object(_utils_paging__WEBPACK_IMPORTED_MODULE_9__[\"getPackageNumbers\"])(num, this.paging.max);\n    },\n    setPage(page) {\n      this.paging.start = Object(_utils_paging__WEBPACK_IMPORTED_MODULE_9__[\"getStartIndex\"])(page, this.paging.max);\n      this.paging.page = page;\n    },\n    dispatchOrder: _utils_packageOrder__WEBPACK_IMPORTED_MODULE_5__[\"dispatchOrder\"],\n    focus: _utils_document__WEBPACK_IMPORTED_MODULE_2__[\"focus\"],\n    async getLatestPackages() {\n      this.searching = true;\n      await this.$store.dispatch(\"computerPackage/fetchAndMerge\", {\n        domainUID: this.$route.params.domainUID,\n        computerUIDs: [this.$route.params.computerUID]\n      });\n      this.setPage(1);\n      this.setPages(Object.keys(this.$store.state.computerPackage.mergedPackages).length);\n      this.searching = false;\n      Object(_utils_document__WEBPACK_IMPORTED_MODULE_2__[\"focus\"])(this.searchId);\n    },\n    async search(searchStr) {\n      this.searching = true;\n      if (!this.internalExternal) {\n        this.filter = \"\";\n        let encodedFilter = \"\";\n        if (searchStr !== \"\") {\n          encodedFilter = _utils_packageOdata__WEBPACK_IMPORTED_MODULE_6__[\"default\"].getSearchString(searchStr, this.includePrerelease, null, this.paging.max);\n        } else {\n          encodedFilter = _utils_packageOdata__WEBPACK_IMPORTED_MODULE_6__[\"default\"].getLatestPackagesString(this.paging.max, this.includePrerelease);\n        }\n        const filters = this.$store.state.source.sources.map(x => {\n          return {\n            source: x,\n            filter: encodedFilter\n          };\n        });\n        await this.$store.dispatch(\"computerPackage/searchFetchAndMerge\", {\n          domainUID: this.$route.params.domainUID,\n          computerUIDs: [this.$route.params.computerUID],\n          filters: filters\n        });\n        this.setPage(1);\n        this.setPages(Object.keys(this.$store.state.computerPackage.mergedPackages).length);\n      } else {\n        this.setPage(1);\n        this.filter = searchStr;\n      }\n      this.searching = false;\n      Object(_utils_document__WEBPACK_IMPORTED_MODULE_2__[\"focus\"])(this.searchId);\n    },\n    toggle(item, what, showHide) {\n      if (item && item.command) {\n        this.$store.commit(\"computerPackage/selectItem\", item);\n      }\n      this[what] = showHide;\n    }\n  }\n});\n\n//# sourceURL=webpack:///./src/components/main/packages/Computer.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\":\"60671cf1-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/Actions.vue?vue&type=template&id=4718b21e&":
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60671cf1-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/Actions.vue?vue&type=template&id=4718b21e& ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! 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 _vm.item.tempCommand\n    ? _c(\n        \"Modal\",\n        {\n          attrs: {\n            value: _vm.value,\n            title: _vm.item.chocoPackage.Title,\n            subtitle:\n              _vm.item.chocoPackage.Id + \" - \" + _vm.nameAndVersion.version\n          },\n          on: {\n            hide: function($event) {\n              return _vm.hide()\n            }\n          }\n        },\n        [\n          _c(\n            \"template\",\n            { staticClass: \"content\", slot: \"body\" },\n            [\n              _vm.isPseudo\n                ? _c(\"div\", { staticClass: \"notification is-warning\" }, [\n                    _vm._v(\n                      \" This package does not exist in the repo it originated from, therefore only uninstallation and delete from database is possible. Uninstallation is needed before deletion, since deletion would remove the abillity to controll the package. \"\n                    )\n                  ])\n                : _vm._e(),\n              _vm.installable\n                ? _c(\"Warnings\", { attrs: { item: _vm.item } })\n                : _vm._e(),\n              _vm.group\n                ? _c(\n                    \"div\",\n                    { staticClass: \"notification is-info\" },\n                    [\n                      _vm._v(\" This package is managed by the group \"),\n                      _c(\n                        \"router-link\",\n                        {\n                          attrs: {\n                            to:\n                              \"/domains/\" +\n                              _vm.$route.params.domainUID +\n                              \"/groups/\" +\n                              _vm.group.uid +\n                              \"/packages\"\n                          }\n                        },\n                        [\n                          _c(\"span\", { staticClass: \"is-italic\" }, [\n                            _vm._v(_vm._s(_vm.group.name))\n                          ])\n                        ]\n                      ),\n                      _vm._v(\n                        \". Overriding a package managed by a group can lead to unwanted side effects. \"\n                      ),\n                      _vm.autoUpgrade\n                        ? _c(\"span\", [\n                            _vm._v(\n                              \" The package will auto upgrade to the latest version according to the group package schedule. \"\n                            )\n                          ])\n                        : _vm._e()\n                    ],\n                    1\n                  )\n                : _vm._e(),\n              !_vm.group && _vm.autoUpgrade\n                ? _c(\n                    \"div\",\n                    { staticClass: \"notification is-primary\" },\n                    [\n                      _vm._v(\" This package is managed by the group \"),\n                      _c(\n                        \"router-link\",\n                        {\n                          attrs: {\n                            to:\n                              \"/domains/\" +\n                              _vm.$route.params.domainUID +\n                              \"/groups/\" +\n                              _vm.autoUpgrade.uid +\n                              \"/packages\"\n                          }\n                        },\n                        [\n                          _c(\"span\", { staticClass: \"is-italic\" }, [\n                            _vm._v(_vm._s(_vm.autoUpgrade.name))\n                          ])\n                        ]\n                      ),\n                      _vm._v(\n                        \". The package will auto upgrade to the latest version according to the group package schedule. \"\n                      )\n                    ],\n                    1\n                  )\n                : _vm._e(),\n              _c(\"Switches\", { attrs: { item: _vm.item } }),\n              _c(\"Parameters\", { attrs: { item: _vm.item } })\n            ],\n            1\n          ),\n          _c(\"template\", { staticClass: \"content\", slot: \"footer\" }, [\n            _c(\n              \"div\",\n              {\n                directives: [\n                  {\n                    name: \"show\",\n                    rawName: \"v-show\",\n                    value: !_vm.isLoading,\n                    expression: \"!isLoading\"\n                  }\n                ]\n              },\n              [\n                _vm.upgradable && !_vm.hasParam(\"-m\")\n                  ? _c(\n                      \"div\",\n                      {\n                        staticClass: \"button is-info\",\n                        attrs: {\n                          disabled:\n                            ((_vm.hasMultiple || _vm.higerVersionInstalled) &&\n                              !_vm.hasParam(\"-m\")) ||\n                            _vm.working ||\n                            _vm.isPseudo\n                        },\n                        on: {\n                          click: function($event) {\n                            return _vm.changePackage(_vm.item, \"upgrade\")\n                          }\n                        }\n                      },\n                      [_vm._v(\" Upgrade \")]\n                    )\n                  : _vm._e(),\n                !_vm.isPseudo &&\n                ((_vm.installable && !_vm.upgradable) ||\n                  (_vm.upgradable && _vm.hasParam(\"-m\")))\n                  ? _c(\n                      \"div\",\n                      {\n                        staticClass: \"button is-success\",\n                        attrs: {\n                          disabled:\n                            ((_vm.hasMultiple || _vm.higerVersionInstalled) &&\n                              !_vm.hasParam(\"-m\")) ||\n                            _vm.working ||\n                            _vm.isPseudo\n                        },\n                        on: {\n                          click: function($event) {\n                            return _vm.changePackage(_vm.item, \"install\")\n                          }\n                        }\n                      },\n                      [_vm._v(\" Install \")]\n                    )\n                  : _vm._e(),\n                _vm.uninstallable\n                  ? _c(\n                      \"div\",\n                      {\n                        staticClass: \"button is-danger\",\n                        attrs: { disabled: !_vm.uninstallable || _vm.working },\n                        on: {\n                          click: function($event) {\n                            return _vm.changePackage(_vm.item, \"uninstall\")\n                          }\n                        }\n                      },\n                      [_vm._v(\" Uninstall \")]\n                    )\n                  : _vm._e(),\n                _vm.isPseudo\n                  ? _c(\n                      \"div\",\n                      {\n                        staticClass: \"button is-warning\",\n                        attrs: {\n                          disabled: !_vm.uninstalled,\n                          \"data-tooltip\": \"Remove from database\"\n                        },\n                        on: {\n                          click: function($event) {\n                            _vm.uninstalled ? _vm.deletePackage() : false\n                          }\n                        }\n                      },\n                      [_vm._v(\" Delete \")]\n                    )\n                  : _vm._e(),\n                _c(\n                  \"div\",\n                  {\n                    staticClass: \"button\",\n                    on: {\n                      click: function($event) {\n                        return _vm.hide()\n                      }\n                    }\n                  },\n                  [_vm._v(\"Cancel\")]\n                )\n              ]\n            ),\n            _c(\n              \"div\",\n              {\n                directives: [\n                  {\n                    name: \"show\",\n                    rawName: \"v-show\",\n                    value: _vm.isLoading,\n                    expression: \"isLoading\"\n                  }\n                ],\n                staticClass: \"spinner-wrapper center\"\n              },\n              [_c(\"span\", { staticClass: \"spinner is-centered\" })]\n            )\n          ])\n        ],\n        2\n      )\n    : _vm._e()\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/components/main/packages/Actions.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2260671cf1-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");

/***/ }),

/***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"60671cf1-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/Computer.vue?vue&type=template&id=97401452&scoped=true&":
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60671cf1-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/Computer.vue?vue&type=template&id=97401452&scoped=true& ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! 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(\n    \"section\",\n    { staticClass: \"section\" },\n    [\n      _c(\n        \"div\",\n        { staticClass: \"container\" },\n        [\n          _c(\n            \"Tips\",\n            {\n              attrs: {\n                path: \"computerPackages\",\n                xKey: \"dismissedTips\",\n                property: \"onPackageChangeStatus\"\n              }\n            },\n            [\n              _vm._v(\n                \" Tip: Activate package notifications and status in the profile settings up to the right. \"\n              )\n            ]\n          ),\n          _c(\"div\", { staticClass: \"right\" }, [_c(\"ComputerGroups\")], 1),\n          _c(\"Title\", [_vm._v(\"Packages \")]),\n          _c(\n            \"div\",\n            { staticClass: \"margin-bottom-1\" },\n            [\n              _c(\n                \"CheckboxText\",\n                {\n                  attrs: {\n                    css: \"is-inline-block margin-right-10\",\n                    checked: _vm.internalExternal\n                  },\n                  on: {\n                    click: function($event) {\n                      _vm.tempFilter = \"\"\n                      _vm.internalExternal = true\n                      _vm.internalExternal === true\n                        ? _vm.getLatestPackages()\n                        : false\n                    }\n                  }\n                },\n                [_vm._v(\"Packages on this computer\")]\n              ),\n              _c(\n                \"CheckboxText\",\n                {\n                  attrs: {\n                    css: \"is-inline-block\",\n                    checked: !_vm.internalExternal\n                  },\n                  on: {\n                    click: function($event) {\n                      _vm.tempFilter = \"\"\n                      _vm.internalExternal = false\n                      _vm.search(\"\")\n                    }\n                  }\n                },\n                [_vm._v(\"All available packages\")]\n              ),\n              !_vm.internalExternal\n                ? _c(\n                    \"CheckboxText\",\n                    {\n                      attrs: { css: \"\", checked: _vm.includePrerelease },\n                      on: {\n                        click: function($event) {\n                          _vm.includePrerelease = !_vm.includePrerelease\n                          _vm.focus(_vm.searchId)\n                        }\n                      }\n                    },\n                    [_vm._v(\"Include pre-release\")]\n                  )\n                : _vm._e()\n            ],\n            1\n          ),\n          _c(\"SearchBar\", {\n            attrs: {\n              id: _vm.searchId,\n              selectOnSubmit: true,\n              loading: _vm.searching,\n              focus: true\n            },\n            on: {\n              submit: function($event) {\n                return _vm.search($event)\n              }\n            },\n            model: {\n              value: _vm.tempFilter,\n              callback: function($$v) {\n                _vm.tempFilter = $$v\n              },\n              expression: \"tempFilter\"\n            }\n          }),\n          _c(\"LoaderOne\", {\n            directives: [\n              {\n                name: \"show\",\n                rawName: \"v-show\",\n                value: _vm.firstLoad,\n                expression: \"firstLoad\"\n              }\n            ]\n          }),\n          _c(\n            \"p\",\n            {\n              directives: [\n                {\n                  name: \"show\",\n                  rawName: \"v-show\",\n                  value: !_vm.searching && _vm.visiblePackagesLength === 0,\n                  expression: \"!searching && visiblePackagesLength === 0\"\n                }\n              ]\n            },\n            [_c(\"i\", [_vm._v(\"No packages.\")])]\n          ),\n          _c(\"transition\", { attrs: { name: \"fade\", appear: \"\" } }, [\n            _c(\n              \"table\",\n              {\n                directives: [\n                  {\n                    name: \"show\",\n                    rawName: \"v-show\",\n                    value: !_vm.searching && _vm.visiblePackagesLength !== 0,\n                    expression: \"!searching && visiblePackagesLength !== 0\"\n                  }\n                ],\n                staticClass: \"table is-hoverable is-narrow is-fullwidth\"\n              },\n              [\n                _c(\"thead\", [\n                  _c(\"tr\", { staticClass: \"is-unselectable\" }, [\n                    _c(\"th\", { staticClass: \"is-hidden-touch\" }, [\n                      _vm._v(\"Icon\")\n                    ]),\n                    _c(\n                      \"th\",\n                      {\n                        on: {\n                          click: function($event) {\n                            return _vm.dispatchOrder(\"chocoPackage.Title\")\n                          }\n                        }\n                      },\n                      [_vm._v(\"Title\")]\n                    ),\n                    _c(\n                      \"th\",\n                      {\n                        on: {\n                          click: function($event) {\n                            return _vm.dispatchOrder(\"source.name\")\n                          }\n                        }\n                      },\n                      [_vm._v(\" Repo \")]\n                    ),\n                    _c(\n                      \"th\",\n                      {\n                        on: {\n                          click: function($event) {\n                            return _vm.dispatchOrder(\n                              \"chocoPackage.IsLatestVersion\"\n                            )\n                          }\n                        }\n                      },\n                      [_vm._v(\" Version \")]\n                    ),\n                    _c(\n                      \"th\",\n                      {\n                        staticClass: \"is-hidden-touch\",\n                        on: {\n                          click: function($event) {\n                            return _vm.dispatchOrder(\n                              \"chocoPackage.PackageScanStatus\"\n                            )\n                          }\n                        }\n                      },\n                      [_vm._v(\" Health \")]\n                    ),\n                    _c(\n                      \"th\",\n                      {\n                        on: {\n                          click: function($event) {\n                            return _vm.dispatchOrder(\"command.name\")\n                          }\n                        }\n                      },\n                      [_vm._v(\"Action\")]\n                    ),\n                    _c(\n                      \"th\",\n                      {\n                        on: {\n                          click: function($event) {\n                            return _vm.dispatchOrder(\"command.status\")\n                          }\n                        }\n                      },\n                      [_vm._v(\"Status\")]\n                    ),\n                    _c(\n                      \"th\",\n                      {\n                        staticClass: \"is-hidden-touch\",\n                        on: {\n                          click: function($event) {\n                            return _vm.dispatchOrder(\"command.execDone\", true)\n                          }\n                        }\n                      },\n                      [_vm._v(\" Completed \")]\n                    )\n                  ])\n                ]),\n                _c(\n                  \"tbody\",\n                  [\n                    _vm._l(\n                      _vm.filtered(\n                        _vm.$store.state.computerPackage.mergedPackages\n                      ),\n                      function(arr) {\n                        return _vm._l(_vm.selected(arr), function(item) {\n                          return _c(\n                            \"tr\",\n                            {\n                              key: _vm.key(item),\n                              attrs: { id: item.chocoPackage.Id }\n                            },\n                            [\n                              _c(\"td\", { staticClass: \"is-hidden-touch\" }, [\n                                _c(\n                                  \"figure\",\n                                  { staticClass: \"image is-24x24\" },\n                                  [\n                                    _c(\"img\", {\n                                      attrs: { src: _vm.icon(item), alt: \"\" }\n                                    })\n                                  ]\n                                )\n                              ]),\n                              _c(\"td\", [\n                                _c(\n                                  \"a\",\n                                  {\n                                    staticClass: \"has-text-link\",\n                                    attrs: {\n                                      \"data-tooltip\": item.chocoPackage.Title\n                                    },\n                                    on: {\n                                      click: function($event) {\n                                        return _vm.toggle(\n                                          item,\n                                          \"showInfo\",\n                                          true\n                                        )\n                                      }\n                                    }\n                                  },\n                                  [_vm._v(_vm._s(_vm.title(item)))]\n                                )\n                              ]),\n                              _c(\n                                \"td\",\n                                [\n                                  item.source\n                                    ? _c(\n                                        \"router-link\",\n                                        {\n                                          attrs: {\n                                            to:\n                                              \"/repos/\" + item.source.uid + \"/\"\n                                          }\n                                        },\n                                        [\n                                          !_vm.isPseudo(item)\n                                            ? _c(\"span\", [\n                                                _vm._v(_vm._s(item.source.name))\n                                              ])\n                                            : _c(\n                                                \"span\",\n                                                {\n                                                  staticClass:\n                                                    \"has-text-danger\",\n                                                  attrs: {\n                                                    \"data-tooltip\":\n                                                      \"Package was not found in repo\"\n                                                  }\n                                                },\n                                                [\n                                                  _vm._v(\n                                                    \" \" +\n                                                      _vm._s(item.source.name) +\n                                                      \" \"\n                                                  )\n                                                ]\n                                              )\n                                        ]\n                                      )\n                                    : _vm._e()\n                                ],\n                                1\n                              ),\n                              _c(\n                                \"td\",\n                                [\n                                  _c(\"Versions\", {\n                                    attrs: { items: arr, isGroup: false },\n                                    on: {\n                                      change: function($event) {\n                                        return _vm.jump($event)\n                                      }\n                                    }\n                                  })\n                                ],\n                                1\n                              ),\n                              _c(\n                                \"td\",\n                                { staticClass: \"is-hidden-touch\" },\n                                [\n                                  _c(\n                                    \"NotApproved\",\n                                    {\n                                      attrs: { item: item, showTooltip: true }\n                                    },\n                                    [\n                                      _c(\"i\", {\n                                        staticClass:\n                                          \"mdi mdi-alert-outline has-text-warning\"\n                                      })\n                                    ]\n                                  ),\n                                  _c(\n                                    \"FailedValidations\",\n                                    {\n                                      attrs: { item: item, showTooltip: true }\n                                    },\n                                    [\n                                      _c(\"i\", {\n                                        staticClass:\n                                          \"mdi mdi-alert-outline has-text-warning\"\n                                      })\n                                    ]\n                                  ),\n                                  _c(\n                                    \"FailedTests\",\n                                    {\n                                      attrs: { item: item, showTooltip: true }\n                                    },\n                                    [\n                                      _c(\"i\", {\n                                        staticClass:\n                                          \"mdi mdi-alert-outline has-text-warning\"\n                                      })\n                                    ]\n                                  ),\n                                  _c(\n                                    \"FailedVirusScan\",\n                                    {\n                                      attrs: { item: item, showTooltip: true }\n                                    },\n                                    [\n                                      _c(\"i\", {\n                                        staticClass:\n                                          \"mdi mdi-alert-outline has-text-warning\"\n                                      })\n                                    ]\n                                  ),\n                                  _c(\n                                    \"Passed\",\n                                    {\n                                      attrs: { item: item, showTooltip: false }\n                                    },\n                                    [\n                                      _c(\"i\", {\n                                        staticClass:\n                                          \"mdi mdi-check has-text-success\"\n                                      })\n                                    ]\n                                  )\n                                ],\n                                1\n                              ),\n                              _c(\n                                \"td\",\n                                [\n                                  _c(\"InstallButton\", {\n                                    attrs: { item: item },\n                                    on: {\n                                      click: function($event) {\n                                        return _vm.toggle(\n                                          item,\n                                          \"showActions\",\n                                          true\n                                        )\n                                      }\n                                    }\n                                  }),\n                                  _c(\"UninstallButton\", {\n                                    attrs: { item: item },\n                                    on: {\n                                      click: function($event) {\n                                        return _vm.toggle(\n                                          item,\n                                          \"showActions\",\n                                          true\n                                        )\n                                      }\n                                    }\n                                  })\n                                ],\n                                1\n                              ),\n                              _c(\"td\", [\n                                item.command && item.command.name\n                                  ? _c(\n                                      \"div\",\n                                      {\n                                        staticClass:\n                                          \"clickable tags has-addons\",\n                                        on: {\n                                          click: function($event) {\n                                            return _vm.toggle(\n                                              item,\n                                              \"showActionInfo\",\n                                              true\n                                            )\n                                          }\n                                        }\n                                      },\n                                      [\n                                        _vm.groupInfo(item)\n                                          ? _c(\n                                              \"router-link\",\n                                              {\n                                                staticClass:\n                                                  \"tag is-rounded is-info is-light\",\n                                                attrs: {\n                                                  to:\n                                                    \"/domains/\" +\n                                                    _vm.$route.params\n                                                      .domainUID +\n                                                    \"/groups/\" +\n                                                    _vm.groupInfo(item).uid +\n                                                    \"/packages\",\n                                                  \"data-tooltip\":\n                                                    \"Group: \" +\n                                                    _vm.groupInfo(item).name\n                                                }\n                                              },\n                                              [\n                                                _c(\"i\", {\n                                                  staticClass:\n                                                    \"mdi mdi-monitor-multiple\"\n                                                })\n                                              ]\n                                            )\n                                          : _vm._e(),\n                                        _vm.groupInfo(item) &&\n                                        item.groupInfo.isAutoUpgrade\n                                          ? _c(\n                                              \"span\",\n                                              {\n                                                staticClass:\n                                                  \"tag is-rounded is-light is-info\",\n                                                attrs: {\n                                                  \"data-tooltip\": \"Auto upgrade\"\n                                                }\n                                              },\n                                              [\n                                                _c(\"i\", {\n                                                  staticClass: \"mdi mdi-cached\"\n                                                })\n                                              ]\n                                            )\n                                          : _vm._e(),\n                                        _c(\n                                          \"span\",\n                                          {\n                                            staticClass:\n                                              \"tag is-rounded is-light is-capitalized\"\n                                          },\n                                          [_vm._v(_vm._s(item.command.name))]\n                                        ),\n                                        _vm.hasParam(item, \"-f\")\n                                          ? _c(\n                                              \"span\",\n                                              {\n                                                staticClass:\n                                                  \"tag is-rounded is-light\",\n                                                attrs: {\n                                                  \"data-tooltip\": \"Forced\"\n                                                }\n                                              },\n                                              [_vm._v(\"-f\")]\n                                            )\n                                          : _vm._e(),\n                                        _vm.hasParam(item, \"-m\")\n                                          ? _c(\n                                              \"span\",\n                                              {\n                                                staticClass:\n                                                  \"tag is-rounded is-light\",\n                                                attrs: {\n                                                  \"data-tooltip\":\n                                                    \"Side by side installation\"\n                                                }\n                                              },\n                                              [_vm._v(\"-m\")]\n                                            )\n                                          : _vm._e(),\n                                        _vm.hasParam(item, \"-n\")\n                                          ? _c(\n                                              \"span\",\n                                              {\n                                                staticClass:\n                                                  \"tag is-rounded is-light\",\n                                                attrs: {\n                                                  \"data-tooltip\":\n                                                    \"Add/remove package only\"\n                                                }\n                                              },\n                                              [_vm._v(\"-n\")]\n                                            )\n                                          : _vm._e(),\n                                        item.command.status === \"done\"\n                                          ? _c(\n                                              \"span\",\n                                              {\n                                                staticClass:\n                                                  \"tag is-rounded is-success is-light\",\n                                                attrs: {\n                                                  \"data-tooltip\": \"Successful\"\n                                                }\n                                              },\n                                              [\n                                                _c(\"i\", {\n                                                  staticClass: \"mdi mdi-check\"\n                                                })\n                                              ]\n                                            )\n                                          : _vm._e(),\n                                        item.command.status === \"failed\"\n                                          ? _c(\n                                              \"span\",\n                                              {\n                                                staticClass:\n                                                  \"tag is-rounded is-danger is-light\",\n                                                attrs: {\n                                                  \"data-tooltip\": \"Failed\"\n                                                }\n                                              },\n                                              [\n                                                _c(\"i\", {\n                                                  staticClass:\n                                                    \"mdi mdi-information\"\n                                                })\n                                              ]\n                                            )\n                                          : _vm._e(),\n                                        item.command.status === \"working\"\n                                          ? _c(\n                                              \"span\",\n                                              {\n                                                staticClass:\n                                                  \"tag is-rounded is-info is-light\",\n                                                attrs: {\n                                                  \"data-tooltip\": \"Working\"\n                                                }\n                                              },\n                                              [\n                                                _c(\"i\", {\n                                                  staticClass:\n                                                    \"mdi mdi-timer-sand-empty\"\n                                                })\n                                              ]\n                                            )\n                                          : _vm._e(),\n                                        item.command.status === \"pending\"\n                                          ? _c(\n                                              \"span\",\n                                              {\n                                                staticClass:\n                                                  \"tag is-rounded is-primary is-light\",\n                                                attrs: {\n                                                  \"data-tooltip\": \"Pending\"\n                                                }\n                                              },\n                                              [\n                                                _c(\"i\", {\n                                                  staticClass:\n                                                    \"mdi mdi-clock-outline\"\n                                                })\n                                              ]\n                                            )\n                                          : _vm._e()\n                                      ],\n                                      1\n                                    )\n                                  : _vm._e()\n                              ]),\n                              item.command\n                                ? _c(\"td\", { staticClass: \"is-hidden-touch\" }, [\n                                    _vm._v(\n                                      \" \" +\n                                        _vm._s(\n                                          _vm.fromNow(item.command.execDone)\n                                        ) +\n                                        \" \"\n                                    )\n                                  ])\n                                : _vm._e()\n                            ]\n                          )\n                        })\n                      }\n                    )\n                  ],\n                  2\n                )\n              ]\n            )\n          ]),\n          _vm.visiblePackagesLength > 0 && !_vm.searching\n            ? _c(\"Paging\", {\n                attrs: {\n                  items: _vm.paging.pages,\n                  selected: _vm.paging.page,\n                  size: _vm.paging.max,\n                  hasOptions: true,\n                  autosave: \"computerPackages\"\n                },\n                on: {\n                  change: function($event) {\n                    return _vm.setPage($event)\n                  },\n                  size: function($event) {\n                    return _vm.setPageMax($event)\n                  }\n                }\n              })\n            : _vm._e()\n        ],\n        1\n      ),\n      _vm.selectedItem && _vm.showInfo\n        ? _c(\"Info\", {\n            attrs: { item: _vm.selectedItem },\n            on: {\n              openActions: function($event) {\n                _vm.showActions = true\n              },\n              hide: function($event) {\n                return _vm.toggle(_vm.selectedItem, \"showInfo\", false)\n              }\n            },\n            model: {\n              value: _vm.showInfo,\n              callback: function($$v) {\n                _vm.showInfo = $$v\n              },\n              expression: \"showInfo\"\n            }\n          })\n        : _vm._e(),\n      _vm.selectedItem && _vm.showActions\n        ? _c(\"Actions\", {\n            attrs: { item: _vm.selectedItem },\n            on: {\n              hide: function($event) {\n                return _vm.toggle(_vm.selectedItem, \"showActions\", false)\n              },\n              openActionInfo: function($event) {\n                _vm.toggle(null, \"showActions\", false)\n                _vm.toggle(null, \"showActionInfo\", true)\n              }\n            },\n            model: {\n              value: _vm.showActions,\n              callback: function($$v) {\n                _vm.showActions = $$v\n              },\n              expression: \"showActions\"\n            }\n          })\n        : _vm._e(),\n      _vm.selectedItem && _vm.showActionInfo\n        ? _c(\"ActionInfo\", {\n            attrs: { itemRef: _vm.selectedItem },\n            on: {\n              openActions: function($event) {\n                _vm.toggle(null, \"showActionInfo\", false)\n                _vm.toggle(null, \"showActions\", true)\n              },\n              hide: function($event) {\n                return _vm.toggle(_vm.selectedItem, \"showActionInfo\", false)\n              }\n            },\n            model: {\n              value: _vm.showActionInfo,\n              callback: function($$v) {\n                _vm.showActionInfo = $$v\n              },\n              expression: \"showActionInfo\"\n            }\n          })\n        : _vm._e()\n    ],\n    1\n  )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/components/main/packages/Computer.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2260671cf1-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");

/***/ }),

/***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/main/packages/Computer.vue?vue&type=style&index=0&id=97401452&lang=css&scoped=true&":
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--6-oneOf-1-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/main/packages/Computer.vue?vue&type=style&index=0&id=97401452&lang=css&scoped=true& ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.i, \"\\nth[data-v-97401452] {\\n  font-weight: normal;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n\n\n//# sourceURL=webpack:///./src/components/main/packages/Computer.vue?./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--6-oneOf-1-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./node_modules/vue-style-loader/index.js?!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/main/packages/Computer.vue?vue&type=style&index=0&id=97401452&lang=css&scoped=true&":
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/vue-style-loader??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--6-oneOf-1-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/main/packages/Computer.vue?vue&type=style&index=0&id=97401452&lang=css&scoped=true& ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib??vue-loader-options!./Computer.vue?vue&type=style&index=0&id=97401452&lang=css&scoped=true& */ \"./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/main/packages/Computer.vue?vue&type=style&index=0&id=97401452&lang=css&scoped=true&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.i, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = __webpack_require__(/*! ../../../../node_modules/vue-style-loader/lib/addStylesClient.js */ \"./node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"d426bac0\", content, false, {\"sourceMap\":false,\"shadowMode\":false});\n// Hot Module Replacement\nif(false) {}\n\n//# sourceURL=webpack:///./src/components/main/packages/Computer.vue?./node_modules/vue-style-loader??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--6-oneOf-1-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

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

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _Actions_vue_vue_type_template_id_4718b21e___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Actions.vue?vue&type=template&id=4718b21e& */ \"./src/components/main/packages/Actions.vue?vue&type=template&id=4718b21e&\");\n/* harmony import */ var _Actions_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Actions.vue?vue&type=script&lang=js& */ \"./src/components/main/packages/Actions.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  _Actions_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n  _Actions_vue_vue_type_template_id_4718b21e___WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n  _Actions_vue_vue_type_template_id_4718b21e___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/Actions.vue\"\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);\n\n//# sourceURL=webpack:///./src/components/main/packages/Actions.vue?");

/***/ }),

/***/ "./src/components/main/packages/Actions.vue?vue&type=script&lang=js&":
/*!***************************************************************************!*\
  !*** ./src/components/main/packages/Actions.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_Actions_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!./Actions.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/Actions.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_Actions_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[\"default\"]); \n\n//# sourceURL=webpack:///./src/components/main/packages/Actions.vue?");

/***/ }),

/***/ "./src/components/main/packages/Actions.vue?vue&type=template&id=4718b21e&":
/*!*********************************************************************************!*\
  !*** ./src/components/main/packages/Actions.vue?vue&type=template&id=4718b21e& ***!
  \*********************************************************************************/
/*! 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_60671cf1_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_Actions_vue_vue_type_template_id_4718b21e___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"60671cf1-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!./Actions.vue?vue&type=template&id=4718b21e& */ \"./node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"60671cf1-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/Actions.vue?vue&type=template&id=4718b21e&\");\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_60671cf1_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_Actions_vue_vue_type_template_id_4718b21e___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_60671cf1_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_Actions_vue_vue_type_template_id_4718b21e___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack:///./src/components/main/packages/Actions.vue?");

/***/ }),

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

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

/***/ }),

/***/ "./src/components/main/packages/Computer.vue?vue&type=script&lang=js&":
/*!****************************************************************************!*\
  !*** ./src/components/main/packages/Computer.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_Computer_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!./Computer.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/Computer.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_Computer_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[\"default\"]); \n\n//# sourceURL=webpack:///./src/components/main/packages/Computer.vue?");

/***/ }),

/***/ "./src/components/main/packages/Computer.vue?vue&type=style&index=0&id=97401452&lang=css&scoped=true&":
/*!************************************************************************************************************!*\
  !*** ./src/components/main/packages/Computer.vue?vue&type=style&index=0&id=97401452&lang=css&scoped=true& ***!
  \************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Computer_vue_vue_type_style_index_0_id_97401452_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-style-loader??ref--6-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib??vue-loader-options!./Computer.vue?vue&type=style&index=0&id=97401452&lang=css&scoped=true& */ \"./node_modules/vue-style-loader/index.js?!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/main/packages/Computer.vue?vue&type=style&index=0&id=97401452&lang=css&scoped=true&\");\n/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Computer_vue_vue_type_style_index_0_id_97401452_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Computer_vue_vue_type_style_index_0_id_97401452_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__);\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Computer_vue_vue_type_style_index_0_id_97401452_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if([\"default\"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Computer_vue_vue_type_style_index_0_id_97401452_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));\n\n\n//# sourceURL=webpack:///./src/components/main/packages/Computer.vue?");

/***/ }),

/***/ "./src/components/main/packages/Computer.vue?vue&type=template&id=97401452&scoped=true&":
/*!**********************************************************************************************!*\
  !*** ./src/components/main/packages/Computer.vue?vue&type=template&id=97401452&scoped=true& ***!
  \**********************************************************************************************/
/*! 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_60671cf1_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_Computer_vue_vue_type_template_id_97401452_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"60671cf1-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!./Computer.vue?vue&type=template&id=97401452&scoped=true& */ \"./node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"60671cf1-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/Computer.vue?vue&type=template&id=97401452&scoped=true&\");\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_60671cf1_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_Computer_vue_vue_type_template_id_97401452_scoped_true___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_60671cf1_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_Computer_vue_vue_type_template_id_97401452_scoped_true___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack:///./src/components/main/packages/Computer.vue?");

/***/ }),

/***/ "./src/utils/date.js":
/*!***************************!*\
  !*** ./src/utils/date.js ***!
  \***************************/
/*! exports provided: fromNow, normalize, fromJson, toReadable, toReadableDate, convert, duration */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"fromNow\", function() { return fromNow; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"normalize\", function() { return normalize; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"fromJson\", function() { return fromJson; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"toReadable\", function() { return toReadable; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"toReadableDate\", function() { return toReadableDate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"convert\", function() { return convert; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"duration\", function() { return duration; });\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! moment */ \"./node_modules/moment/moment.js\");\n/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_0__);\n\nfunction fromNow(date) {\n  if (date) return moment__WEBPACK_IMPORTED_MODULE_0___default()(normalize(date)).fromNow();else return \"\";\n}\nfunction normalize(date) {\n  if (date && typeof date === \"string\" && !date.includes(\":\")) return parseInt(date);else return date;\n}\nfunction fromJson(jsonDate) {\n  var offset = new Date().getTimezoneOffset();\n  var parts = /\\/Date\\((-?\\d+)([+-]\\d{2})?(\\d{2})?.*/.exec(jsonDate);\n  if (parts[2] == undefined) parts[2] = 0;\n  if (parts[3] == undefined) parts[3] = 0;\n  return new Date(+parts[1] + offset + parts[2] * 3600000 + parts[3] * 60000);\n}\nfunction toReadable(date) {\n  if (date) {\n    date = convert(normalize(date));\n    return date.toLocaleDateString([], {\n      //weekday: \"narrow\",\n      year: \"numeric\",\n      month: \"numeric\",\n      day: \"numeric\",\n      hour: \"numeric\",\n      minute: \"numeric\",\n      hour12: false\n    });\n  }\n  return \"\";\n}\nfunction toReadableDate(date) {\n  if (date && date != \"\") {\n    date = convert(normalize(date));\n    return date.toLocaleDateString();\n  }\n  return \"\";\n}\nfunction convert(dateStr) {\n  if (dateStr) {\n    const dateObj = new Date(dateStr);\n    return dateObj;\n  }\n  return null;\n}\nfunction duration(date1, date2) {\n  const start = moment__WEBPACK_IMPORTED_MODULE_0___default()(date1);\n  const end = moment__WEBPACK_IMPORTED_MODULE_0___default()(date2);\n  const duration = end.diff(start, \"minutes\", true);\n  return +(Math.round(duration + \"e+2\") + \"e-2\");\n}\n\n//# sourceURL=webpack:///./src/utils/date.js?");

/***/ })

}]);