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

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

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

// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/pug-plain-loader??ref--1-oneOf-0-0!./node_modules/vue-loader/lib??vue-loader-options!./pages/embed/list.vue?vue&type=template&id=7a3dd7ee&lang=pug&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('List',{attrs:{"events":_vm.events,"title":_vm.title}})}
var staticRenderFns = []


// CONCATENATED MODULE: ./pages/embed/list.vue?vue&type=template&id=7a3dd7ee&lang=pug&

// EXTERNAL MODULE: ./components/List.vue + 4 modules
var List = __webpack_require__(92);

// 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/embed/list.vue?vue&type=script&lang=js&
//
//
//

/* harmony default export */ var listvue_type_script_lang_js_ = ({
  components: {
    List: List["a" /* default */]
  },
  layout: 'iframe',

  async asyncData({
    query,
    $axios
  }) {
    const title = query.title;
    const tags = query.tags;
    const places = query.places;
    const show_recurrent = !!query.show_recurrent;
    let params = [];

    if (places) {
      params.push(`places=${places}`);
    }

    if (tags) {
      params.push(`tags=${tags}`);
    }

    if (show_recurrent) {
      params.push('show_recurrent=1');
    }

    params = params.length ? `?${params.join('&')}` : '';
    const events = await $axios.$get(`/export/json${params}`);
    return {
      events,
      title
    };
  }

});
// CONCATENATED MODULE: ./pages/embed/list.vue?vue&type=script&lang=js&
 /* harmony default export */ var embed_listvue_type_script_lang_js_ = (listvue_type_script_lang_js_); 
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(1);

// CONCATENATED MODULE: ./pages/embed/list.vue





/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  embed_listvue_type_script_lang_js_,
  render,
  staticRenderFns,
  false,
  null,
  null,
  "f5189a90"
  
)

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

/***/ }),

/***/ 90:
/***/ (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__(94);
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__(6).default
module.exports.__inject__ = function (context) {
  add("2659ca03", content, true, context)
};

/***/ }),

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

"use strict";

// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/pug-plain-loader??ref--1-oneOf-0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/List.vue?vue&type=template&id=0ec1754e&lang=pug&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":"list"}},[_c('v-list',{attrs:{"dense":""}},[_c('v-list-item',[(_vm.title)?_c('h3',[_vm._v(_vm._s(_vm.title))]):_vm._e()]),_vm._l((_vm.computedEvents),function(event){return _c('v-list-item',{key:((event.id) + "_" + (event.start_datetime)),attrs:{"target":"_blank","to":("/event/" + (event.slug || event.id)),"small":""}},[_c('v-list-item-content',[_c('v-list-item-subtitle',[(event.parentId)?_c('v-icon',{attrs:{"small":"","color":"success"}},[_vm._v("mdi-repeat")]):_vm._e(),_vm._v(" "+_vm._s(_vm._f("when")(event))),_c('span',{staticClass:"primary--text ml-1"},[_vm._v("@"+_vm._s(event.place.name))])],1),_c('v-list-item-title',{domProps:{"textContent":_vm._s(event.title)}})],1)],1)})],2)],1)}
var staticRenderFns = []


// CONCATENATED MODULE: ./components/List.vue?vue&type=template&id=0ec1754e&lang=pug&

// 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!./components/List.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ var Listvue_type_script_lang_js_ = ({
  name: 'List',
  props: {
    title: {
      type: String,
      default: ''
    },
    events: {
      type: Array,
      default: () => {
        return [];
      }
    },
    maxEvents: {
      type: Number,
      default: 0
    },
    minimal: {
      type: Boolean,
      default: false
    },
    showTags: {
      type: Boolean,
      default: true
    },
    showImage: {
      type: Boolean,
      default: true
    },
    showDescription: {
      type: Boolean,
      default: true
    }
  },
  computed: {
    computedEvents() {
      if (!this.maxEvents) {
        return this.events;
      }

      return this.events.slice(0, this.maxEvents);
    }

  }
});
// CONCATENATED MODULE: ./components/List.vue?vue&type=script&lang=js&
 /* harmony default export */ var components_Listvue_type_script_lang_js_ = (Listvue_type_script_lang_js_); 
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(1);

// CONCATENATED MODULE: ./components/List.vue



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

}

/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  components_Listvue_type_script_lang_js_,
  render,
  staticRenderFns,
  false,
  injectStyles,
  null,
  "0b1be8ae"
  
)

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

/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _node_modules_cache_loader_dist_cjs_js_ref_5_oneOf_1_0_node_modules_vue_style_loader_index_js_ref_5_oneOf_1_1_node_modules_css_loader_dist_cjs_js_ref_5_oneOf_1_2_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_5_oneOf_1_4_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(90);
/* harmony import */ var _node_modules_cache_loader_dist_cjs_js_ref_5_oneOf_1_0_node_modules_vue_style_loader_index_js_ref_5_oneOf_1_1_node_modules_css_loader_dist_cjs_js_ref_5_oneOf_1_2_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_5_oneOf_1_4_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_cache_loader_dist_cjs_js_ref_5_oneOf_1_0_node_modules_vue_style_loader_index_js_ref_5_oneOf_1_1_node_modules_css_loader_dist_cjs_js_ref_5_oneOf_1_2_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_5_oneOf_1_4_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_cache_loader_dist_cjs_js_ref_5_oneOf_1_0_node_modules_vue_style_loader_index_js_ref_5_oneOf_1_1_node_modules_css_loader_dist_cjs_js_ref_5_oneOf_1_2_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_5_oneOf_1_4_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_cache_loader_dist_cjs_js_ref_5_oneOf_1_0_node_modules_vue_style_loader_index_js_ref_5_oneOf_1_1_node_modules_css_loader_dist_cjs_js_ref_5_oneOf_1_2_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_5_oneOf_1_4_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));


/***/ }),

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

// Imports
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(5);
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
// Module
___CSS_LOADER_EXPORT___.push([module.i, "#list{max-width:500px;margin:0 auto}#list .v-list-item__title{white-space:normal!important}", ""]);
// Exports
module.exports = ___CSS_LOADER_EXPORT___;


/***/ })

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