exports.ids = [9];
exports.modules = {

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

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

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VCard/VCard.js
var VCard = __webpack_require__(86);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VCard/index.js
var components_VCard = __webpack_require__(13);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VGrid/VContainer.js + 1 modules
var VContainer = __webpack_require__(223);

// CONCATENATED MODULE: ./node_modules/vuetify-loader/lib/loader.js??ref--4!./node_modules/cache-loader/dist/cjs.js??ref--2-0!./node_modules/babel-loader/lib??ref--2-1!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--7!./node_modules/pug-plain-loader??ref--1-oneOf-0-0!./node_modules/vue-loader/lib??vue-loader-options!./pages/announcement/_id.vue?vue&type=template&id=f326b508&lang=pug&





var _idvue_type_template_id_f326b508_lang_pug_render = function render() {
  var _vm = this,
    _c = _vm._self._c;
  return _c(VContainer["a" /* default */], [_c(VCard["a" /* default */], [_c(components_VCard["d" /* VCardTitle */], [_vm._v(_vm._s(_vm.announcement.title))]), _c(components_VCard["c" /* VCardText */], {
    domProps: {
      "innerHTML": _vm._s(_vm.announcement.announcement)
    }
  })], 1)], 1);
};
var staticRenderFns = [];

// CONCATENATED MODULE: ./pages/announcement/_id.vue?vue&type=template&id=f326b508&lang=pug&

// EXTERNAL MODULE: external "vuex"
var external_vuex_ = __webpack_require__(10);

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--2-0!./node_modules/babel-loader/lib??ref--2-1!./node_modules/vue-loader/lib??vue-loader-options!./pages/announcement/_id.vue?vue&type=script&lang=js&

/* harmony default export */ var _idvue_type_script_lang_js_ = ({
  name: 'Announcement',
  asyncData({
    params,
    error,
    store
  }) {
    try {
      const id = Number(params.id);
      const announcement = store.state.announcements.find(a => a.id === id);
      if (!announcement) {
        error({
          statusCode: 404,
          message: 'Announcement not found'
        });
      }
      return {
        announcement
      };
    } catch (e) {
      error({
        statusCode: 404,
        message: 'Announcement not found'
      });
    }
  },
  data() {
    return {
      announcement: {
        title: ''
      }
    };
  },
  head() {
    if (!this.announcement) {
      return {};
    }
    return {
      title: `${this.settings.title} - ${this.announcement.title}`
    };
  },
  computed: Object(external_vuex_["mapState"])(['announcements', 'settings'])
});
// CONCATENATED MODULE: ./pages/announcement/_id.vue?vue&type=script&lang=js&
 /* harmony default export */ var announcement_idvue_type_script_lang_js_ = (_idvue_type_script_lang_js_); 
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(6);

// CONCATENATED MODULE: ./pages/announcement/_id.vue





/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  announcement_idvue_type_script_lang_js_,
  _idvue_type_template_id_f326b508_lang_pug_render,
  staticRenderFns,
  false,
  null,
  null,
  "e5382cd4"
  
)

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

/***/ })

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