exports.ids = [27,1,25];
exports.modules = {

/***/ 186:
/***/ (function(module, exports, __webpack_require__) {

// style-loader: Adds some css to the DOM by adding a <style> tag

// load the styles
var content = __webpack_require__(188);
if(content.__esModule) content = content.default;
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add CSS to SSR context
var add = __webpack_require__(5).default
module.exports.__inject__ = function (context) {
  add("51c0b9ba", content, true, context)
};

/***/ }),

/***/ 187:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Container_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(186);
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Container_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Container_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Container_vue_vue_type_style_index_0_lang_scss___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_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Container_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));


/***/ }),

/***/ 188:
/***/ (function(module, exports, __webpack_require__) {

// Imports
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(4);
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
// Module
___CSS_LOADER_EXPORT___.push([module.i, ".container{width:100%;padding-left:2rem;padding-right:2rem;margin-left:auto;margin-right:auto;max-width:1000px}@media(min-width:901px){.container{max-width:901px}}@media(min-width:1201px){.container{max-width:1201px}}@media(min-width:1701px){.container{max-width:1400px}}.container--narrow{max-width:1000px}", ""]);
// Exports
module.exports = ___CSS_LOADER_EXPORT___;


/***/ }),

/***/ 189:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// CONCATENATED MODULE: D:/Projects/vindigo/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!D:/Projects/vindigo/node_modules/nuxt/node_modules/@nuxt/components/dist/loader.js??ref--0-0!D:/Projects/vindigo/node_modules/vue-loader/lib??vue-loader-options!./components/Container.vue?vue&type=template&id=cb69aaa6&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.classList},[_vm._t("default")],2)}
var staticRenderFns = []


// CONCATENATED MODULE: ./components/Container.vue?vue&type=template&id=cb69aaa6&

// EXTERNAL MODULE: external "vue"
var external_vue_ = __webpack_require__(0);
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);

// CONCATENATED MODULE: D:/Projects/vindigo/node_modules/babel-loader/lib??ref--13-0!D:/Projects/vindigo/node_modules/ts-loader??ref--13-1!D:/Projects/vindigo/node_modules/nuxt/node_modules/@nuxt/components/dist/loader.js??ref--0-0!D:/Projects/vindigo/node_modules/vue-loader/lib??vue-loader-options!./components/Container.vue?vue&type=script&lang=ts&

/* harmony default export */ var Containervue_type_script_lang_ts_ = (external_vue_default.a.extend({
  name: 'Container',
  props: {
    narrow: Boolean
  },
  computed: {
    classList() {
      return {
        'container': true,
        'container--narrow': this.narrow
      };
    }

  }
}));
// CONCATENATED MODULE: ./components/Container.vue?vue&type=script&lang=ts&
 /* harmony default export */ var components_Containervue_type_script_lang_ts_ = (Containervue_type_script_lang_ts_); 
// EXTERNAL MODULE: D:/Projects/vindigo/node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(2);

// CONCATENATED MODULE: ./components/Container.vue



function injectStyles (context) {
  
  var style0 = __webpack_require__(187)
if (style0.__inject__) style0.__inject__(context)

}

/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  components_Containervue_type_script_lang_ts_,
  render,
  staticRenderFns,
  false,
  injectStyles,
  null,
  "5398bcaf"
  
)

/* harmony default export */ var Container = __webpack_exports__["default"] = (component.exports);

/***/ }),

/***/ 196:
/***/ (function(module, exports, __webpack_require__) {

// style-loader: Adds some css to the DOM by adding a <style> tag

// load the styles
var content = __webpack_require__(205);
if(content.__esModule) content = content.default;
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add CSS to SSR context
var add = __webpack_require__(5).default
module.exports.__inject__ = function (context) {
  add("53f95094", content, true, context)
};

/***/ }),

/***/ 204:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SaveBox_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(196);
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SaveBox_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SaveBox_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SaveBox_vue_vue_type_style_index_0_lang_scss___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_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SaveBox_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));


/***/ }),

/***/ 205:
/***/ (function(module, exports, __webpack_require__) {

// Imports
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(4);
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
// Module
___CSS_LOADER_EXPORT___.push([module.i, ".save-changes .w-alert{font-weight:400;padding:.75rem .75rem .75rem 1rem;margin-bottom:.75rem;border-radius:.75rem;color:#fff;display:flex;min-width:500px;background-color:var(--color-misc-1);justify-content:space-between;align-items:center;border:none;box-shadow:3px 3px 20px rgba(48,60,77,.65)}.w-app--dark .save-changes .w-alert{box-shadow:4.5px 4.5px 30px rgba(20,23,27,.85)}", ""]);
// Exports
module.exports = ___CSS_LOADER_EXPORT___;


/***/ }),

/***/ 207:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// CONCATENATED MODULE: D:/Projects/vindigo/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!D:/Projects/vindigo/node_modules/nuxt/node_modules/@nuxt/components/dist/loader.js??ref--0-0!D:/Projects/vindigo/node_modules/vue-loader/lib??vue-loader-options!./components/vindi/SaveBox.vue?vue&type=template&id=74cc82fc&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('w-notification',{staticClass:"save-changes",attrs:{"value":_vm.changed,"bottom":"","center":"","plain":""}},[_c('span',{staticClass:"save-changes__title"},[_c('w-icon',{staticClass:"left",attrs:{"size":"1.25rem"}},[_vm._v("\n\t\t\tmdi mdi-alert-circle\n\t\t")]),_vm._v("\n\t\t"+_vm._s(_vm.$t("GENERAL_UNSAVED_CHANGES"))+"\n\t")],1),_vm._v(" "),_c('div',[_c('w-button',{attrs:{"text":"","color":"white"},on:{"click":_vm.revert}},[_c('span',[_vm._v("Revert")])]),_vm._v(" "),_c('w-button',{attrs:{"color":"white","bg-color":"primary","loading":_vm.isSaving},on:{"click":_vm.save}},[_vm._v("\n\t\t\tSave\n\t\t\t"),_c('w-icon',{staticClass:"right"},[_vm._v("\n\t\t\t\tmdi mdi-check\n\t\t\t")])],1)],1)])}
var staticRenderFns = []


// CONCATENATED MODULE: ./components/vindi/SaveBox.vue?vue&type=template&id=74cc82fc&

// EXTERNAL MODULE: external "lodash"
var external_lodash_ = __webpack_require__(7);

// EXTERNAL MODULE: external "vue"
var external_vue_ = __webpack_require__(0);
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);

// CONCATENATED MODULE: D:/Projects/vindigo/node_modules/babel-loader/lib??ref--13-0!D:/Projects/vindigo/node_modules/ts-loader??ref--13-1!D:/Projects/vindigo/node_modules/nuxt/node_modules/@nuxt/components/dist/loader.js??ref--0-0!D:/Projects/vindigo/node_modules/vue-loader/lib??vue-loader-options!./components/vindi/SaveBox.vue?vue&type=script&lang=ts&
var __awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
  function adopt(value) {
    return value instanceof P ? value : new P(function (resolve) {
      resolve(value);
    });
  }

  return new (P || (P = Promise))(function (resolve, reject) {
    function fulfilled(value) {
      try {
        step(generator.next(value));
      } catch (e) {
        reject(e);
      }
    }

    function rejected(value) {
      try {
        step(generator["throw"](value));
      } catch (e) {
        reject(e);
      }
    }

    function step(result) {
      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
    }

    step((generator = generator.apply(thisArg, _arguments || [])).next());
  });
};



/* harmony default export */ var SaveBoxvue_type_script_lang_ts_ = (external_vue_default.a.extend({
  props: {
    value: {
      type: Object,
      required: true
    },
    onSave: {
      type: Function,
      required: true
    }
  },
  data: () => ({
    original: null,
    changed: false,
    isSaving: false
  }),
  watch: {
    value: {
      deep: true,

      handler() {
        this.changed = !Object(external_lodash_["isEqual"])(this.value, this.original);
      }

    }
  },

  created() {
    this.original = Object.assign({}, this.value);
  },

  methods: {
    revert() {
      this.$emit('input', Object.assign({}, this.original));
    },

    save() {
      return __awaiter(this, void 0, void 0, function* () {
        this.isSaving = true;
        yield Promise.resolve(this.onSave());
        this.changed = false;
        this.isSaving = false;
        this.original = Object.assign({}, this.value);
      });
    }

  }
}));
// CONCATENATED MODULE: ./components/vindi/SaveBox.vue?vue&type=script&lang=ts&
 /* harmony default export */ var vindi_SaveBoxvue_type_script_lang_ts_ = (SaveBoxvue_type_script_lang_ts_); 
// EXTERNAL MODULE: D:/Projects/vindigo/node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(2);

// CONCATENATED MODULE: ./components/vindi/SaveBox.vue



function injectStyles (context) {
  
  var style0 = __webpack_require__(204)
if (style0.__inject__) style0.__inject__(context)

}

/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  vindi_SaveBoxvue_type_script_lang_ts_,
  render,
  staticRenderFns,
  false,
  injectStyles,
  null,
  "3a6e1dc0"
  
)

/* harmony default export */ var SaveBox = __webpack_exports__["default"] = (component.exports);

/***/ }),

/***/ 265:
/***/ (function(module, exports, __webpack_require__) {

// style-loader: Adds some css to the DOM by adding a <style> tag

// load the styles
var content = __webpack_require__(323);
if(content.__esModule) content = content.default;
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add CSS to SSR context
var add = __webpack_require__(5).default
module.exports.__inject__ = function (context) {
  add("7cdb3b60", content, true, context)
};

/***/ }),

/***/ 322:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_edit_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(265);
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_edit_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_edit_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_edit_vue_vue_type_style_index_0_lang_scss___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_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_edit_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));


/***/ }),

/***/ 323:
/***/ (function(module, exports, __webpack_require__) {

// Imports
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(4);
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
// Module
___CSS_LOADER_EXPORT___.push([module.i, ".admin-user__profile{height:13.5rem;margin-top:-3.5rem;padding-top:3rem;display:flex;min-width:500px;align-items:center;justify-content:center;background-color:var(--color-shade-0)}.admin-user__profile-info{padding-left:1.5rem}.admin-user__profile-info h2{font-size:1.25rem;line-height:1.75rem;font-weight:600}.w-app--dark .admin-user__profile-info h2{color:#f3f4f6}.admin-user__profile-info p{font-size:.875rem;line-height:1.25rem;color:grey}.admin-user__wrapper{grid-gap:2rem;gap:2rem;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.admin-user__sidebar-l{grid-column:1/span 1}.admin-user__center-content{grid-column:2/span 2}.admin-user__sidebar-r{grid-column:4/span 1}.admin-user__card{box-shadow:0 0 0 0 transparent,0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04);margin-top:1.25rem;padding:0;border-radius:1rem;border-width:1px;border-color:#e2e8f0;background-color:#fff}.w-app--dark .admin-user__card{border-color:var(--color-shade-2);background-color:var(--color-shade-2)}.admin-user__card-title{font-weight:500;text-align:center}.admin-user__card-content,.admin-user__card-title{padding:.75rem}.admin-user__flags,.admin-user__overview{display:flex;flex-direction:column;grid-gap:.75rem;gap:.75rem}.admin-user__actions-list .w-button,.admin-user__actions .w-button{width:100%}.admin-user__actions-list{padding:.5rem;display:flex;flex-direction:column;grid-gap:.25rem;gap:.25rem}.admin-user__actions-list .w-button{justify-content:flex-start}.admin-user .w-form label:not(:first-child){margin-top:1rem}", ""]);
// Exports
module.exports = ___CSS_LOADER_EXPORT___;


/***/ }),

/***/ 334:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// CONCATENATED MODULE: D:/Projects/vindigo/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!D:/Projects/vindigo/node_modules/nuxt/node_modules/@nuxt/components/dist/loader.js??ref--0-0!D:/Projects/vindigo/node_modules/vue-loader/lib??vue-loader-options!./pages/admin/users/_uid/edit.vue?vue&type=template&id=3cfc8e52&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.user)?_c('section',{staticClass:"admin-user"},[_c('VindiSaveBox',{attrs:{"on-save":_vm.saveSettings},model:{value:(_vm.user),callback:function ($$v) {_vm.user=$$v},expression:"user"}}),_vm._ssrNode(" "),_vm._ssrNode("<div class=\"admin-user__profile\">","</div>",[_c('VindiAvatar',{attrs:{"size":80,"profile":_vm.user,"open-profile":false}}),_vm._ssrNode(" <div class=\"admin-user__profile-info\"><h2>"+_vm._ssrEscape("\n\t\t\t\t"+_vm._s(_vm.user.fullName)+"\n\t\t\t")+"</h2> <p>"+_vm._ssrEscape("\n\t\t\t\t@"+_vm._s(_vm.user.username)+"\n\t\t\t")+"</p></div>")],2),_vm._ssrNode(" "),_c('Container',{staticClass:"admin-user__wrapper"},[_c('section',{staticClass:"admin-user__edit admin-user__sidebar-l"},[_c('div',{staticClass:"admin-user__card"},[_c('div',{staticClass:"admin-user__card-title"},[_vm._v("\n\t\t\t\t\tFlags\n\t\t\t\t")]),_vm._v(" "),_c('w-divider',{staticClass:"nm"}),_vm._v(" "),_c('div',{staticClass:"admin-user__card-content admin-user__flags"},[_c('w-flex',[_vm._v("\n\t\t\t\t\t\tAccount Enabled\n\t\t\t\t\t\t"),_c('VindiSpacer'),_vm._v(" "),_c('w-switch',{attrs:{"disabled":_vm.userIsViewer},model:{value:(_vm.user.isEnabled),callback:function ($$v) {_vm.$set(_vm.user, "isEnabled", $$v)},expression:"user.isEnabled"}})],1),_vm._v(" "),_c('w-flex',[_vm._v("\n\t\t\t\t\t\tEmail Verified\n\t\t\t\t\t\t"),_c('VindiSpacer'),_vm._v(" "),_c('w-switch',{model:{value:(_vm.user.isVerified),callback:function ($$v) {_vm.$set(_vm.user, "isVerified", $$v)},expression:"user.isVerified"}})],1),_vm._v(" "),_c('w-flex',[_vm._v("\n\t\t\t\t\t\tAuthentic Badge\n\t\t\t\t\t\t"),_c('VindiSpacer'),_vm._v(" "),_c('w-switch',{model:{value:(_vm.user.isAuthentic),callback:function ($$v) {_vm.$set(_vm.user, "isAuthentic", $$v)},expression:"user.isAuthentic"}})],1)],1)],1),_vm._v(" "),_c('div',{staticClass:"admin-user__card"},[_c('div',{staticClass:"admin-user__card-title"},[_vm._v("\n\t\t\t\t\tWorkspace Role\n\t\t\t\t")]),_vm._v(" "),_c('w-divider',{staticClass:"nm"}),_vm._v(" "),_c('div',{staticClass:"admin-user__card-content"},[_c('w-select',{attrs:{"items":_vm.allRoles,"disabled":_vm.userIsViewer},model:{value:(_vm.user.role),callback:function ($$v) {_vm.$set(_vm.user, "role", $$v)},expression:"user.role"}})],1)],1)]),_vm._v(" "),_c('section',{staticClass:"admin-user__card admin-user__center-content"},[_c('div',{staticClass:"admin-user__card-title"},[_vm._v("\n\t\t\t\tAccount Information\n\t\t\t")]),_vm._v(" "),_c('w-divider',{staticClass:"nm"}),_vm._v(" "),_c('w-form',{staticClass:"admin-user__card-content"},[_c('label',[_vm._v("\n\t\t\t\t\t"+_vm._s(_vm.$t('GENERAL_FULL_NAME'))+"\n\t\t\t\t")]),_vm._v(" "),_c('w-input',{model:{value:(_vm.user.fullName),callback:function ($$v) {_vm.$set(_vm.user, "fullName", $$v)},expression:"user.fullName"}}),_vm._v(" "),_c('label',[_vm._v("\n\t\t\t\t\t"+_vm._s(_vm.$t('GENERAL_EMAIL'))+"\n\t\t\t\t")]),_vm._v(" "),_c('w-input',{model:{value:(_vm.user.email),callback:function ($$v) {_vm.$set(_vm.user, "email", $$v)},expression:"user.email"}}),_vm._v(" "),_c('label',[_vm._v("\n\t\t\t\t\t"+_vm._s(_vm.$t('GENERAL_USERNAME'))+"\n\t\t\t\t")]),_vm._v(" "),_c('w-input',{model:{value:(_vm.user.username),callback:function ($$v) {_vm.$set(_vm.user, "username", $$v)},expression:"user.username"}}),_vm._v(" "),_c('label',{domProps:{"innerHTML":_vm._s(_vm.$t('SETTINGS_PROFILE_BIO'))}}),_vm._v(" "),_c('w-textarea',{attrs:{"placeholder":_vm.$t('SETTINGS_PROFILE_BIO_PLACEHOLDER')},model:{value:(_vm.user.bio),callback:function ($$v) {_vm.$set(_vm.user, "bio", $$v)},expression:"user.bio"}}),_vm._v(" "),_c('label',{domProps:{"innerHTML":_vm._s(_vm.$t('SETTINGS_PROFILE_LOCATION'))}}),_vm._v(" "),_c('w-input',{attrs:{"placeholder":_vm.$t('SETTINGS_PROFILE_LOCATION_PLACEHOLDER')},model:{value:(_vm.user.location),callback:function ($$v) {_vm.$set(_vm.user, "location", $$v)},expression:"user.location"}}),_vm._v(" "),_c('label',{domProps:{"innerHTML":_vm._s(_vm.$t('SETTINGS_PROFILE_WEBSITE'))}}),_vm._v(" "),_c('w-input',{attrs:{"placeholder":_vm.$t('SETTINGS_PROFILE_WEBSITE_PLACEHOLDER')},model:{value:(_vm.user.website),callback:function ($$v) {_vm.$set(_vm.user, "website", $$v)},expression:"user.website"}})],1)],1),_vm._v(" "),_c('section',{staticClass:"admin-user__sidebar-r"},[_c('div',{staticClass:"admin-user__card"},[_c('div',{staticClass:"admin-user__card-title"},[_vm._v("\n\t\t\t\t\tOverview\n\t\t\t\t")]),_vm._v(" "),_c('w-divider',{staticClass:"nm"}),_vm._v(" "),_c('div',{staticClass:"admin-user__card-content admin-user__overview"},[_c('div',[_c('w-icon',{staticClass:"pr-2",attrs:{"color":"misc-1"}},[_vm._v("\n\t\t\t\t\t\t\tmdi mdi-calendar-month\n\t\t\t\t\t\t")]),_vm._v("\n\t\t\t\t\t\t"+_vm._s(_vm.$t('PROFILE_JOINED', [ _vm.joinDate ]))+"\n\t\t\t\t\t")],1),_vm._v(" "),_c('div',[_c('w-icon',{staticClass:"pr-2",attrs:{"color":"misc-1"}},[_vm._v("\n\t\t\t\t\t\t\tmdi mdi-eye\n\t\t\t\t\t\t")]),_vm._v("\n\t\t\t\t\t\t"+_vm._s(_vm.$t('PROFILE_LAST_ACTIVE', [ _vm.lastActiveDate ]))+"\n\t\t\t\t\t")],1),_vm._v(" "),_c('div',[_c('w-icon',{staticClass:"pr-2",attrs:{"color":"misc-1"}},[_vm._v("\n\t\t\t\t\t\t\tmdi mdi-translate\n\t\t\t\t\t\t")]),_vm._v("\n\t\t\t\t\t\t"+_vm._s(_vm.$t('PROFILE_LANGUAGE', [ _vm.user.language ]))+"\n\t\t\t\t\t")],1)]),_vm._v(" "),_c('w-divider',{staticClass:"nm"}),_vm._v(" "),_c('div',{staticClass:"admin-user__card-content admin-user__actions"},[_c('w-menu',{attrs:{"transition":"slide-fade-down","hide-on-menu-click":"","custom":""},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
var on = ref.on;
return [_c('w-button',_vm._g({attrs:{"text":""}},on),[_vm._v("\n\t\t\t\t\t\t\t\tAccount Actions\n\t\t\t\t\t\t\t\t"),_c('w-icon',{staticClass:"right"},[_vm._v("\n\t\t\t\t\t\t\t\t\tmdi mdi-chevron-down\n\t\t\t\t\t\t\t\t")])],1)]}}],null,false,2034033197)},[_vm._v(" "),_c('div',{staticClass:"simple-list admin-user__actions-list"},[_c('w-button',{attrs:{"text":"","color":"info","disabled":_vm.passwordUpdateActive},on:{"click":function($event){_vm.passwordDialog = true}}},[_c('w-icon',{staticClass:"left",attrs:{"size":"1.1rem"}},[_vm._v("\n\t\t\t\t\t\t\t\t\tmdi mdi-lock\n\t\t\t\t\t\t\t\t")]),_vm._v("\n\t\t\t\t\t\t\t\tChange password\n\t\t\t\t\t\t\t")],1),_vm._v(" "),_c('w-button',{attrs:{"text":"","color":"error","disabled":_vm.userIsViewer || _vm.deletionActive},on:{"click":function($event){_vm.deletionDialog = true}}},[_c('w-icon',{staticClass:"left",attrs:{"size":"1.1rem"}},[_vm._v("\n\t\t\t\t\t\t\t\t\tmdi mdi-delete\n\t\t\t\t\t\t\t\t")]),_vm._v("\n\t\t\t\t\t\t\t\tDelete user\n\t\t\t\t\t\t\t")],1)],1)])],1)],1),_vm._v(" "),_c('div',{staticClass:"admin-user__card"},[_c('div',{staticClass:"admin-user__card-title"},[_vm._v("\n\t\t\t\t\tAdmin Comments\n\t\t\t\t\t"),_c('w-tooltip',{attrs:{"top":""},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
var on = ref.on;
return [_c('w-icon',_vm._g({},on),[_vm._v("\n\t\t\t\t\t\t\t\tmdi mdi-information-outline\n\t\t\t\t\t\t\t")])]}}],null,false,301512427)},[_vm._v("\n\t\t\t\t\t\tPrivate notes which are only viewable to other administrators.\n\t\t\t\t\t")])],1),_vm._v(" "),_c('w-divider',{staticClass:"nm"}),_vm._v(" "),_c('div',{staticClass:"admin-user__card-content"},[_c('w-textarea',{attrs:{"rows":"6"},model:{value:(_vm.user.adminNotes),callback:function ($$v) {_vm.$set(_vm.user, "adminNotes", $$v)},expression:"user.adminNotes"}})],1)],1)])]),_vm._ssrNode(" "),_c('w-dialog',{attrs:{"width":"350"},model:{value:(_vm.deletionDialog),callback:function ($$v) {_vm.deletionDialog=$$v},expression:"deletionDialog"}},[_c('VindiTitle',{attrs:{"icon":"mdi mdi-delete"}},[_vm._v("\n\t\t\tDelete User\n\t\t")]),_vm._v(" "),_c('w-divider'),_vm._v(" "),_c('div',[_c('p',[_vm._v("\n\t\t\t\tAre you sure?\n\t\t\t")]),_vm._v(" "),_c('small',[_vm._v("\n\t\t\t\tYou are about to permanently delete this user. This cannot be undone!\n\t\t\t")])]),_vm._v(" "),_c('w-flex',[_c('w-button',{attrs:{"text":"","bg-color":"shade-2","disabled":_vm.deletionActive},on:{"click":function($event){_vm.deletionDialog = false}}},[_vm._v("\n\t\t\t\tClose\n\t\t\t")]),_vm._v(" "),_c('VindiSpacer'),_vm._v(" "),_c('w-button',{attrs:{"bg-color":"error","text":"","loading":_vm.deletionActive},on:{"click":_vm.deleteUser}},[_vm._v("\n\t\t\t\tConfirm\n\t\t\t")])],1)],1),_vm._ssrNode(" "),_c('w-dialog',{attrs:{"width":"350"},model:{value:(_vm.passwordDialog),callback:function ($$v) {_vm.passwordDialog=$$v},expression:"passwordDialog"}},[_c('VindiTitle',{attrs:{"icon":"mdi mdi-lock"}},[_vm._v("\n\t\t\tUpdate User Password\n\t\t")]),_vm._v(" "),_c('w-divider'),_vm._v(" "),_c('p',{domProps:{"innerHTML":_vm._s(_vm.$t('GENERAL_PASSWORD'))}}),_vm._v(" "),_c('w-input',{attrs:{"placeholder":_vm.$t('SETTINGS_PROFILE_PASSWORD_PLACEHOLDER'),"password-reveal":"","type":"password","name":"password"},model:{value:(_vm.newPassword),callback:function ($$v) {_vm.newPassword=$$v},expression:"newPassword"}}),_vm._v(" "),_c('p',{domProps:{"innerHTML":_vm._s(_vm.$t('GENERAL_PASSWORD_CONFIRM'))}}),_vm._v(" "),_c('w-input',{attrs:{"placeholder":_vm.$t('SETTINGS_PROFILE_PASSWORD_CONFIRM'),"password-reveal":"","type":"password","name":"password"},model:{value:(_vm.confirmNewPassword),callback:function ($$v) {_vm.confirmNewPassword=$$v},expression:"confirmNewPassword"}}),_vm._v(" "),_c('w-flex',[_c('w-button',{attrs:{"text":"","bg-color":"shade-2","disabled":_vm.passwordUpdateActive},on:{"click":function($event){_vm.passwordDialog = false}}},[_vm._v("\n\t\t\t\tClose\n\t\t\t")]),_vm._v(" "),_c('VindiSpacer'),_vm._v(" "),_c('w-button',{attrs:{"bg-color":"primary","text":"","loading":_vm.passwordUpdateActive,"disabled":!_vm.canSavePassword},on:{"click":_vm.updatePassword}},[_vm._v("\n\t\t\t\tSave\n\t\t\t")])],1)],1)],2):_c('section',[_vm._ssrNode("\n\tUNKNOWN USER\n")])}
var staticRenderFns = []


// CONCATENATED MODULE: ./pages/admin/users/_uid/edit.vue?vue&type=template&id=3cfc8e52&

// EXTERNAL MODULE: external "vue"
var external_vue_ = __webpack_require__(0);
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);

// EXTERNAL MODULE: external "dayjs"
var external_dayjs_ = __webpack_require__(3);
var external_dayjs_default = /*#__PURE__*/__webpack_require__.n(external_dayjs_);

// EXTERNAL MODULE: ./src/helpers.ts + 1 modules
var helpers = __webpack_require__(6);

// CONCATENATED MODULE: ./assets/query/admin/adminFetchUser.gql
/* harmony default export */ var adminFetchUser = ("# > profileEssentials\r\n\r\nquery AdminFetchUser($uid: Int!) {\r\n\tprofileById(id: $uid) {\r\n\t\t...ProfileEssentials\r\n\t\tisAuthentic\r\n\t\tisEnabled\r\n\t\tisVerified\r\n\t\temail\r\n\t\twebsite\r\n\t\tbio\r\n\t\tlocation\r\n\t\tadminNotes\r\n\t\tcreatedAt\r\n\t\tlastSeenAt\r\n\t\tlanguage\r\n\t}\r\n}");
// CONCATENATED MODULE: ./assets/query/admin/adminUpdateUser.gql
/* harmony default export */ var adminUpdateUser = ("mutation AdminUpdateUser($id: Int!, $data: AdminUpdateUser!) {\r\n\tupdateUserById(id: $id, details: $data) {\r\n\t\tid\r\n\t}\r\n}");
// CONCATENATED MODULE: ./assets/query/admin/adminDeleteUser.gql
/* harmony default export */ var adminDeleteUser = ("mutation AdminDeleteUser($id: Int!) {\r\n\tdeleteUser(id: $id) {\r\n\t\tid\r\n\t}\r\n}");
// CONCATENATED MODULE: D:/Projects/vindigo/node_modules/babel-loader/lib??ref--13-0!D:/Projects/vindigo/node_modules/ts-loader??ref--13-1!D:/Projects/vindigo/node_modules/nuxt/node_modules/@nuxt/components/dist/loader.js??ref--0-0!D:/Projects/vindigo/node_modules/vue-loader/lib??vue-loader-options!./pages/admin/users/_uid/edit.vue?vue&type=script&lang=ts&
var __awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
  function adopt(value) {
    return value instanceof P ? value : new P(function (resolve) {
      resolve(value);
    });
  }

  return new (P || (P = Promise))(function (resolve, reject) {
    function fulfilled(value) {
      try {
        step(generator.next(value));
      } catch (e) {
        reject(e);
      }
    }

    function rejected(value) {
      try {
        step(generator["throw"](value));
      } catch (e) {
        reject(e);
      }
    }

    function step(result) {
      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
    }

    step((generator = generator.apply(thisArg, _arguments || [])).next());
  });
};







/* harmony default export */ var editvue_type_script_lang_ts_ = (external_vue_default.a.extend({
  name: 'AdminUsersPage',
  middleware: "admin",

  asyncData(context) {
    return __awaiter(this, void 0, void 0, function* () {
      const result = yield context.$api.query(adminFetchUser, {
        uid: Object(helpers["h" /* parseSlug */])(context.params.uid)
      });
      return {
        user: result.profileById
      };
    });
  },

  data: () => ({
    original: null,
    user: null,
    deletionDialog: false,
    deletionActive: false,
    passwordDialog: false,
    newPassword: '',
    confirmNewPassword: '',
    passwordUpdateActive: false,
    allRoles: [{
      label: "Administrator",
      value: 'admin'
    }, {
      label: "Member",
      value: 'member'
    }]
  }),
  computed: {
    joinDate() {
      return external_dayjs_default()(parseInt(this.user.createdAt)).format(this.$t("DATE_TIME_FORMAT"));
    },

    lastActiveDate() {
      return external_dayjs_default()(parseInt(this.user.lastSeenAt)).format(this.$t("DATE_TIME_FORMAT"));
    },

    userIsViewer() {
      return this.$store.state.profile.id === this.user.id;
    },

    canSavePassword() {
      if (this.newPassword !== '' && this.confirmNewPassword !== '' && this.confirmNewPassword === this.newPassword) {
        return true;
      } else {
        return false;
      }
    },

    passwordPlaceholder() {
      var placeholder = '';

      if (this.user.password) {
        placeholder = this.$t('SETTINGS_PROFILE_PASSWORD_PLACEHOLDER_FILLED').toString();
      } else {
        placeholder = this.$t('SETTINGS_PROFILE_PASSWORD_PLACEHOLDER_EMPTY').toString();
      }

      return placeholder;
    }

  },
  methods: {
    revertSettings() {
      this.user = this.original;
    },

    deleteUser() {
      return __awaiter(this, void 0, void 0, function* () {
        this.deletionDialog = false;
        this.deletionActive = true;
        const success = yield this.$api.query(adminDeleteUser, {
          id: this.user.id
        });

        if (success) {
          this.$router.push("/admin/users");
          this.$waveui.notify({
            message: 'User deletion successful',
            success: true
          });
        } else {
          this.$waveui.notify({
            message: 'User deletion failed',
            error: true
          });
        }

        this.deletionActive = false;
      });
    },

    updatePassword() {
      return __awaiter(this, void 0, void 0, function* () {
        if (!this.canSavePassword) {
          this.$waveui.notify({
            message: 'Password update failed',
            error: true
          });
          return;
        }

        this.passwordDialog = false;
        this.passwordUpdateActive = true;
        yield this.$api.query(adminUpdateUser, {
          id: this.user.id,
          data: {
            password: this.newPassword
          }
        });
        this.newPassword = '';
        this.passwordUpdateActive = false;
        this.$waveui.notify({
          message: 'Password successfully updated',
          success: true
        });
      });
    },

    saveSettings() {
      return __awaiter(this, void 0, void 0, function* () {
        yield this.$api.query(adminUpdateUser, {
          id: this.user.id,
          data: {
            isAuthentic: this.user.isAuthentic,
            isVerified: this.user.isVerified,
            isEnabled: this.user.isEnabled,
            role: this.user.role,
            name: this.user.fullName,
            email: this.user.email,
            username: this.user.username,
            website: this.user.website,
            bio: this.user.bio,
            location: this.user.location,
            adminNotes: this.user.adminNotes
          }
        });
        this.$waveui.notify({
          message: this.$t('USER_SAVE_SUCCESS'),
          success: true
        });
        this.original = this.user;
      });
    }

  }
}));
// CONCATENATED MODULE: ./pages/admin/users/_uid/edit.vue?vue&type=script&lang=ts&
 /* harmony default export */ var _uid_editvue_type_script_lang_ts_ = (editvue_type_script_lang_ts_); 
// EXTERNAL MODULE: D:/Projects/vindigo/node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(2);

// CONCATENATED MODULE: ./pages/admin/users/_uid/edit.vue



function injectStyles (context) {
  
  var style0 = __webpack_require__(322)
if (style0.__inject__) style0.__inject__(context)

}

/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  _uid_editvue_type_script_lang_ts_,
  render,
  staticRenderFns,
  false,
  injectStyles,
  null,
  "31f7d698"
  
)

/* harmony default export */ var edit = __webpack_exports__["default"] = (component.exports);

/* nuxt-component-imports */
installComponents(component, {VindiSaveBox: __webpack_require__(207).default,VindiAvatar: __webpack_require__(12).default,VindiSpacer: __webpack_require__(11).default,Container: __webpack_require__(189).default,VindiTitle: __webpack_require__(69).default})


/***/ })

};;
//# sourceMappingURL=edit.js.map