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

/***/ "./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/TipsNotification.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/TipsNotification.vue?vue&type=script&lang=js& ***!
  \******************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n//\n//\n//\n//\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  name: \"tips-notification\",\n  components: {\n    IconText: () => __webpack_require__.e(/*! import() */ 8).then(__webpack_require__.bind(null, /*! @/components/singles/IconText.vue */ \"./src/components/singles/IconText.vue\"))\n  },\n  props: {\n    path: String,\n    xKey: String,\n    property: String\n  },\n  computed: {\n    visible() {\n      return !(this.$store.state.settings.user[this.path] && this.$store.state.settings.user[this.path][this.xKey] && this.$store.state.settings.user[this.path][this.xKey][this.property]) || this.force;\n    }\n  },\n  data() {\n    return {\n      firstLoadDone: false,\n      force: false\n    };\n  },\n  async created() {\n    await this.$store.dispatch(\"settings/getUserSetting\", {\n      path: this.path,\n      xKey: this.xKey\n    });\n    this.firstLoadDone = true;\n  },\n  methods: {\n    async save() {\n      const value = {\n        ...this.$store.state.settings.user[this.path]\n      };\n      if (value[this.xKey] === undefined) value[this.xKey] = {};\n      value[this.xKey][this.property] = true;\n      await this.$store.dispatch(\"settings/setUser\", {\n        path: this.path,\n        key: this.xKey,\n        value: value[this.xKey]\n      });\n      this.force = false;\n      this.$emit(\"hide\");\n    }\n  }\n});\n\n//# sourceURL=webpack:///./src/components/main/TipsNotification.vue?./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"7d40fa80-vue-loader-template\"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/main/TipsNotification.vue?vue&type=template&id=d58984ce&":
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7d40fa80-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/main/TipsNotification.vue?vue&type=template&id=d58984ce& ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! 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    \"div\",\n    [\n      !_vm.visible\n        ? _c(\n            \"a\",\n            {\n              on: {\n                click: function($event) {\n                  _vm.force = true\n                }\n              }\n            },\n            [\n              _c(\"IconText\", { attrs: { icon: \"mdi-help has-text-info\" } }, [\n                _c(\"span\", { staticClass: \"has-text-info\" }, [_vm._v(\"Help\")])\n              ])\n            ],\n            1\n          )\n        : _vm._e(),\n      _c(\n        \"transition\",\n        {\n          attrs: {\n            name: \"custom-classes-transition\",\n            \"enter-active-class\": \"pulse-fast-once\",\n            appear: \"\"\n          }\n        },\n        [\n          _vm.firstLoadDone && _vm.visible\n            ? _c(\n                \"div\",\n                {\n                  staticClass: \"margin-top-10 margin-bottom-10 is-unselectable\"\n                },\n                [\n                  _c(\n                    \"div\",\n                    { staticClass: \"notification is-primary is-light\" },\n                    [\n                      _c(\"button\", {\n                        staticClass: \"delete is-small\",\n                        on: {\n                          click: function($event) {\n                            return _vm.save()\n                          }\n                        }\n                      }),\n                      _vm._t(\"default\")\n                    ],\n                    2\n                  )\n                ]\n              )\n            : _vm._e()\n        ]\n      )\n    ],\n    1\n  )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/components/main/TipsNotification.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%227d40fa80-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

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

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

/***/ }),

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

/***/ }),

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

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

/***/ })

}]);