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

/***/ 225:
/***/ (function(module, exports) {

// Exports
module.exports = {

};


/***/ }),

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

"use strict";
/* harmony import */ var _src_components_VChip_VChip_sass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(225);
/* harmony import */ var _src_components_VChip_VChip_sass__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_src_components_VChip_VChip_sass__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
/* harmony import */ var _transitions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16);
/* harmony import */ var _VIcon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15);
/* harmony import */ var _mixins_colorable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7);
/* harmony import */ var _mixins_groupable__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(38);
/* harmony import */ var _mixins_themeable__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(5);
/* harmony import */ var _mixins_toggleable__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(17);
/* harmony import */ var _mixins_routable__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(23);
/* harmony import */ var _mixins_sizeable__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(53);
/* harmony import */ var _util_console__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(4);
// Styles

 // Components


 // Mixins






 // Utilities


/* @vue/component */

/* harmony default export */ __webpack_exports__["a"] = (Object(_util_mixins__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_mixins_colorable__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"], _mixins_sizeable__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], _mixins_routable__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"], _mixins_themeable__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"], Object(_mixins_groupable__WEBPACK_IMPORTED_MODULE_5__[/* factory */ "a"])('chipGroup'), Object(_mixins_toggleable__WEBPACK_IMPORTED_MODULE_7__[/* factory */ "b"])('inputValue')).extend({
  name: 'v-chip',
  props: {
    active: {
      type: Boolean,
      default: true
    },
    activeClass: {
      type: String,
      default() {
        if (!this.chipGroup) return '';
        return this.chipGroup.activeClass;
      }
    },
    close: Boolean,
    closeIcon: {
      type: String,
      default: '$delete'
    },
    closeLabel: {
      type: String,
      default: '$vuetify.close'
    },
    disabled: Boolean,
    draggable: Boolean,
    filter: Boolean,
    filterIcon: {
      type: String,
      default: '$complete'
    },
    label: Boolean,
    link: Boolean,
    outlined: Boolean,
    pill: Boolean,
    tag: {
      type: String,
      default: 'span'
    },
    textColor: String,
    value: null
  },
  data: () => ({
    proxyClass: 'v-chip--active'
  }),
  computed: {
    classes() {
      return {
        'v-chip': true,
        ..._mixins_routable__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"].options.computed.classes.call(this),
        'v-chip--clickable': this.isClickable,
        'v-chip--disabled': this.disabled,
        'v-chip--draggable': this.draggable,
        'v-chip--label': this.label,
        'v-chip--link': this.isLink,
        'v-chip--no-color': !this.color,
        'v-chip--outlined': this.outlined,
        'v-chip--pill': this.pill,
        'v-chip--removable': this.hasClose,
        ...this.themeClasses,
        ...this.sizeableClasses,
        ...this.groupClasses
      };
    },
    hasClose() {
      return Boolean(this.close);
    },
    isClickable() {
      return Boolean(_mixins_routable__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"].options.computed.isClickable.call(this) || this.chipGroup);
    }
  },
  created() {
    const breakingProps = [['outline', 'outlined'], ['selected', 'input-value'], ['value', 'active'], ['@input', '@active.sync']];
    /* istanbul ignore next */

    breakingProps.forEach(([original, replacement]) => {
      if (this.$attrs.hasOwnProperty(original)) Object(_util_console__WEBPACK_IMPORTED_MODULE_10__[/* breaking */ "a"])(original, replacement, this);
    });
  },
  methods: {
    click(e) {
      this.$emit('click', e);
      this.chipGroup && this.toggle();
    },
    genFilter() {
      const children = [];
      if (this.isActive) {
        children.push(this.$createElement(_VIcon__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"], {
          staticClass: 'v-chip__filter',
          props: {
            left: true
          }
        }, this.filterIcon));
      }
      return this.$createElement(_transitions__WEBPACK_IMPORTED_MODULE_2__[/* VExpandXTransition */ "b"], children);
    },
    genClose() {
      return this.$createElement(_VIcon__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"], {
        staticClass: 'v-chip__close',
        props: {
          right: true,
          size: 18
        },
        attrs: {
          'aria-label': this.$vuetify.lang.t(this.closeLabel)
        },
        on: {
          click: e => {
            e.stopPropagation();
            e.preventDefault();
            this.$emit('click:close');
            this.$emit('update:active', false);
          }
        }
      }, this.closeIcon);
    },
    genContent() {
      return this.$createElement('span', {
        staticClass: 'v-chip__content'
      }, [this.filter && this.genFilter(), this.$slots.default, this.hasClose && this.genClose()]);
    }
  },
  render(h) {
    const children = [this.genContent()];
    let {
      tag,
      data
    } = this.generateRouteLink();
    data.attrs = {
      ...data.attrs,
      draggable: this.draggable ? 'true' : undefined,
      tabindex: this.chipGroup && !this.disabled ? 0 : data.attrs.tabindex
    };
    data.directives.push({
      name: 'show',
      value: this.active
    });
    data = this.setBackgroundColor(this.color, data);
    const color = this.textColor || this.outlined && this.color;
    return h(tag, this.setTextColor(color, data), children);
  }
}));

/***/ }),

/***/ 227:
/***/ (function(module, exports) {

// Exports
module.exports = {

};


/***/ }),

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

"use strict";
/* harmony import */ var _src_components_VDivider_VDivider_sass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(236);
/* harmony import */ var _src_components_VDivider_VDivider_sass__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_src_components_VDivider_VDivider_sass__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _mixins_themeable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5);
// Styles
 // Mixins


/* harmony default export */ __webpack_exports__["a"] = (_mixins_themeable__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"].extend({
  name: 'v-divider',
  props: {
    inset: Boolean,
    vertical: Boolean
  },
  render(h) {
    // WAI-ARIA attributes
    let orientation;
    if (!this.$attrs.role || this.$attrs.role === 'separator') {
      orientation = this.vertical ? 'vertical' : 'horizontal';
    }
    return h('hr', {
      class: {
        'v-divider': true,
        'v-divider--inset': this.inset,
        'v-divider--vertical': this.vertical,
        ...this.themeClasses
      },
      attrs: {
        role: 'separator',
        'aria-orientation': orientation,
        ...this.$attrs
      },
      on: this.$listeners
    });
  }
}));

/***/ }),

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

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _node_modules_cache_loader_dist_cjs_js_ref_3_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_3_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_3_oneOf_1_2_node_modules_vue_loader_lib_index_js_vue_loader_options_MyPicture_vue_vue_type_style_index_0_id_699959a8_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(227);
/* harmony import */ var _node_modules_cache_loader_dist_cjs_js_ref_3_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_3_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_3_oneOf_1_2_node_modules_vue_loader_lib_index_js_vue_loader_options_MyPicture_vue_vue_type_style_index_0_id_699959a8_prod_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_cache_loader_dist_cjs_js_ref_3_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_3_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_3_oneOf_1_2_node_modules_vue_loader_lib_index_js_vue_loader_options_MyPicture_vue_vue_type_style_index_0_id_699959a8_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_cache_loader_dist_cjs_js_ref_3_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_3_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_3_oneOf_1_2_node_modules_vue_loader_lib_index_js_vue_loader_options_MyPicture_vue_vue_type_style_index_0_id_699959a8_prod_lang_css___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_3_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_3_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_3_oneOf_1_2_node_modules_vue_loader_lib_index_js_vue_loader_options_MyPicture_vue_vue_type_style_index_0_id_699959a8_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));


/***/ }),

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

"use strict";

// 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/vue-loader/lib??vue-loader-options!./components/MyPicture.vue?vue&type=template&id=699959a8&
var render = function render() {
  var _vm = this,
    _c = _vm._self._c;
  return _c('div', {
    class: {
      img: true,
      thumb: _vm.thumb
    }
  }, [_vm._ssrNode(_vm.media ? "<img" + _vm._ssrAttr("alt", _vm.media.name) + _vm._ssrAttr("loading", _vm.lazy ? "lazy" : "eager") + _vm._ssrAttr("src", _vm.src) + _vm._ssrAttr("srcset", _vm.srcset) + " itemprop=\"image\"" + _vm._ssrAttr("height", _vm.height) + _vm._ssrAttr("width", _vm.width) + _vm._ssrClass(null, {
    "u-featured": true
  }) + _vm._ssrStyle(null, {
    'object-position': _vm.thumbnailPosition
  }, null) + ">" : !_vm.media && _vm.thumb ? "<img src=\"/fallbackimage.png\" alt class=\"thumb\">" : "<!---->")]);
};
var staticRenderFns = [];

// CONCATENATED MODULE: ./components/MyPicture.vue?vue&type=template&id=699959a8&

// 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/MyPicture.vue?vue&type=script&lang=js&
/* harmony default export */ var MyPicturevue_type_script_lang_js_ = ({
  props: {
    event: {
      type: Object,
      default: () => ({})
    },
    thumb: {
      type: Boolean,
      default: false
    },
    lazy: {
      type: Boolean,
      default: false
    },
    showPreview: {
      type: Boolean,
      default: true
    }
  },
  computed: {
    backgroundPreview() {
      if (this.media && this.media.preview) {
        return {
          backgroundPosition: this.thumbnailPosition,
          backgroundImage: "url('data:image/png;base64," + this.media.preview + "')"
        };
      }
    },
    srcset() {
      if (this.thumb) return '';
      return `/media/thumb/${this.media.url} 500w, /media/${this.media.url} 1200w`;
    },
    media() {
      return this.event.media && this.event.media[0];
    },
    height() {
      return this.media ? this.media.height : 'auto';
    },
    width() {
      return this.media ? this.media.width : 'auto';
    },
    src() {
      if (this.media) {
        return '/media/thumb/' + this.media.url;
      }
      if (this.thumb) {
        return '/noimg.svg';
      }
    },
    thumbnailPosition() {
      if (this.media.focalpoint) {
        const focalpoint = this.media.focalpoint;
        return `${(focalpoint[0] + 1) * 50}% ${(focalpoint[1] + 1) * 50}%`;
      }
      return 'center center';
    }
  }
});
// CONCATENATED MODULE: ./components/MyPicture.vue?vue&type=script&lang=js&
 /* harmony default export */ var components_MyPicturevue_type_script_lang_js_ = (MyPicturevue_type_script_lang_js_); 
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(6);

// CONCATENATED MODULE: ./components/MyPicture.vue



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

}

/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  components_MyPicturevue_type_script_lang_js_,
  render,
  staticRenderFns,
  false,
  injectStyles,
  null,
  "486efdd2"
  
)

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

/***/ }),

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

"use strict";
/* harmony import */ var _components_VItemGroup_VItemGroup__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24);
// Extensions

/* @vue/component */

/* harmony default export */ __webpack_exports__["a"] = (_components_VItemGroup_VItemGroup__WEBPACK_IMPORTED_MODULE_0__[/* BaseItemGroup */ "a"].extend({
  name: 'button-group',
  provide() {
    return {
      btnToggle: this
    };
  },
  computed: {
    classes() {
      return _components_VItemGroup_VItemGroup__WEBPACK_IMPORTED_MODULE_0__[/* BaseItemGroup */ "a"].options.computed.classes.call(this);
    }
  },
  methods: {
    // Isn't being passed down through types
    genData: _components_VItemGroup_VItemGroup__WEBPACK_IMPORTED_MODULE_0__[/* BaseItemGroup */ "a"].options.methods.genData
  }
}));

/***/ }),

/***/ 236:
/***/ (function(module, exports) {

// Exports
module.exports = {

};


/***/ }),

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

"use strict";
/* harmony import */ var _mixins_bootable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(58);
/* harmony import */ var _mixins_groupable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(38);
/* harmony import */ var _directives_touch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(41);
/* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(0);
/* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3);
// Mixins

 // Directives

 // Utilities



const baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"])(_mixins_bootable__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"], Object(_mixins_groupable__WEBPACK_IMPORTED_MODULE_1__[/* factory */ "a"])('windowGroup', 'v-window-item', 'v-window'));
/* harmony default export */ __webpack_exports__["a"] = (baseMixins.extend().extend().extend({
  name: 'v-window-item',
  directives: {
    Touch: _directives_touch__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"]
  },
  props: {
    disabled: Boolean,
    reverseTransition: {
      type: [Boolean, String],
      default: undefined
    },
    transition: {
      type: [Boolean, String],
      default: undefined
    },
    value: {
      required: false
    }
  },
  data() {
    return {
      isActive: false,
      inTransition: false
    };
  },
  computed: {
    classes() {
      return this.groupClasses;
    },
    computedTransition() {
      if (!this.windowGroup.internalReverse) {
        return typeof this.transition !== 'undefined' ? this.transition || '' : this.windowGroup.computedTransition;
      }
      return typeof this.reverseTransition !== 'undefined' ? this.reverseTransition || '' : this.windowGroup.computedTransition;
    }
  },
  methods: {
    genDefaultSlot() {
      return this.$slots.default;
    },
    genWindowItem() {
      return this.$createElement('div', {
        staticClass: 'v-window-item',
        class: this.classes,
        directives: [{
          name: 'show',
          value: this.isActive
        }],
        on: this.$listeners
      }, this.genDefaultSlot());
    },
    onAfterTransition() {
      if (!this.inTransition) {
        return;
      } // Finalize transition state.

      this.inTransition = false;
      if (this.windowGroup.transitionCount > 0) {
        this.windowGroup.transitionCount--; // Remove container height if we are out of transition.

        if (this.windowGroup.transitionCount === 0) {
          this.windowGroup.transitionHeight = undefined;
        }
      }
    },
    onBeforeTransition() {
      if (this.inTransition) {
        return;
      } // Initialize transition state here.

      this.inTransition = true;
      if (this.windowGroup.transitionCount === 0) {
        // Set initial height for height transition.
        this.windowGroup.transitionHeight = Object(_util_helpers__WEBPACK_IMPORTED_MODULE_3__[/* convertToUnit */ "h"])(this.windowGroup.$el.clientHeight);
      }
      this.windowGroup.transitionCount++;
    },
    onTransitionCancelled() {
      this.onAfterTransition(); // This should have the same path as normal transition end.
    },

    onEnter(el) {
      if (!this.inTransition) {
        return;
      }
      this.$nextTick(() => {
        // Do not set height if no transition or cancelled.
        if (!this.computedTransition || !this.inTransition) {
          return;
        } // Set transition target height.

        this.windowGroup.transitionHeight = Object(_util_helpers__WEBPACK_IMPORTED_MODULE_3__[/* convertToUnit */ "h"])(el.clientHeight);
      });
    }
  },
  render(h) {
    return h('transition', {
      props: {
        name: this.computedTransition
      },
      on: {
        // Handlers for enter windows.
        beforeEnter: this.onBeforeTransition,
        afterEnter: this.onAfterTransition,
        enterCancelled: this.onTransitionCancelled,
        // Handlers for leave windows.
        beforeLeave: this.onBeforeTransition,
        afterLeave: this.onAfterTransition,
        leaveCancelled: this.onTransitionCancelled,
        // Enter handler for height transition.
        enter: this.onEnter
      }
    }, this.showLazyContent(() => [this.genWindowItem()]));
  }
}));

/***/ }),

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

"use strict";
/* harmony default export */ __webpack_exports__["a"] = ({
  methods: {
    clipboard(str, msg = 'common.copied') {
      try {
        navigator.clipboard.writeText(str);
      } catch (e) {
        const el = document.createElement('textarea');
        el.addEventListener('focusin', e => e.stopPropagation());
        el.value = str;
        document.body.appendChild(el);
        el.select();
        document.execCommand('copy');
        document.body.removeChild(el);
      }
      this.$root.$message(msg, {
        color: 'success'
      });
    }
  }
});

/***/ }),

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

"use strict";

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

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

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VGrid/VRow.js
var VRow = __webpack_require__(215);

// 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!./components/HowToArriveNav.vue?vue&type=template&id=c3357302&lang=pug&




var HowToArriveNavvue_type_template_id_c3357302_lang_pug_render = function render() {
  var _vm = this,
    _c = _vm._self._c;
  return _c(VRow["a" /* default */], {
    attrs: {
      "color": "primary"
    }
  }, [_c(VBtn["a" /* default */], {
    staticClass: "mx-1",
    attrs: {
      "icon": "",
      "large": "",
      "href": _vm.routeBy('foot')
    }
  }, [_c(VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiWalk)
    }
  })], 1), _c(VBtn["a" /* default */], {
    staticClass: "mx-1",
    attrs: {
      "icon": "",
      "large": "",
      "href": _vm.routeBy('bike')
    }
  }, [_c(VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiBike)
    }
  })], 1), _c(VBtn["a" /* default */], {
    staticClass: "mx-1",
    attrs: {
      "icon": "",
      "large": "",
      "href": _vm.routeBy('car')
    }
  }, [_c(VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiCar)
    }
  })], 1)], 1);
};
var staticRenderFns = [];

// CONCATENATED MODULE: ./components/HowToArriveNav.vue?vue&type=template&id=c3357302&lang=pug&

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

// EXTERNAL MODULE: external "@mdi/js"
var js_ = __webpack_require__(8);

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


/* harmony default export */ var HowToArriveNavvue_type_script_lang_js_ = ({
  data() {
    return {
      mdiWalk: js_["mdiWalk"],
      mdiBike: js_["mdiBike"],
      mdiCar: js_["mdiCar"]
    };
  },
  props: {
    place: {
      type: Object,
      default: () => ({
        latitude: 0,
        longitude: 0
      })
    }
  },
  methods: {
    ...Object(external_vuex_["mapActions"])(['setSetting']),
    // mountLocateControl() {
    //   this.$refs.map.mapObject.locate({
    //     locateOptions: {
    //       maxZoom: 10
    //     }
    //   });
    //   this.$refs.map.mapObject.MyLocate();
    // },
    routeBy(type) {
      const lat = this.place.latitude;
      const lon = this.place.longitude;
      const routingType = {
        foot: "engine=fossgis_osrm_foot",
        bike: "engine=fossgis_osrm_bike",
        transit: null,
        car: "engine=fossgis_osrm_car"
      };
      return `https://www.openstreetmap.org/directions?from=&to=${lat},${lon}&${routingType[type]}#map=14/${lat}/${lon}`;
    }
  }
});
// CONCATENATED MODULE: ./components/HowToArriveNav.vue?vue&type=script&lang=js&
 /* harmony default export */ var components_HowToArriveNavvue_type_script_lang_js_ = (HowToArriveNavvue_type_script_lang_js_); 
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(6);

// CONCATENATED MODULE: ./components/HowToArriveNav.vue





/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  components_HowToArriveNavvue_type_script_lang_js_,
  HowToArriveNavvue_type_template_id_c3357302_lang_pug_render,
  staticRenderFns,
  false,
  null,
  null,
  "77d42cb1"
  
)

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

/***/ }),

/***/ 293:
/***/ (function(module, exports) {

// Exports
module.exports = {

};


/***/ }),

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

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

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

// 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/src/components/VCarousel/VCarousel.sass
var VCarousel = __webpack_require__(293);

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

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VBtn/index.js
var components_VBtn = __webpack_require__(26);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VIcon/index.js
var VIcon = __webpack_require__(15);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VProgressLinear/index.js + 1 modules
var VProgressLinear = __webpack_require__(112);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/button-group/index.js
var button_group = __webpack_require__(233);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/util/helpers.js
var helpers = __webpack_require__(0);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/util/console.js
var util_console = __webpack_require__(4);

// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VCarousel/VCarousel.js
// Styles
 // Extensions

 // Components



 // Mixins
// TODO: Move this into core components v2.0

 // Utilities



/* harmony default export */ var VCarousel_VCarousel = (VWindow["a" /* default */].extend({
  name: 'v-carousel',
  props: {
    continuous: {
      type: Boolean,
      default: true
    },
    cycle: Boolean,
    delimiterIcon: {
      type: String,
      default: '$delimiter'
    },
    height: {
      type: [Number, String],
      default: 500
    },
    hideDelimiters: Boolean,
    hideDelimiterBackground: Boolean,
    interval: {
      type: [Number, String],
      default: 6000,
      validator: value => value > 0
    },
    mandatory: {
      type: Boolean,
      default: true
    },
    progress: Boolean,
    progressColor: String,
    showArrows: {
      type: Boolean,
      default: true
    },
    verticalDelimiters: {
      type: String,
      default: undefined
    }
  },
  // pass down the parent's theme
  provide() {
    return {
      parentTheme: this.theme
    };
  },
  data() {
    return {
      internalHeight: this.height,
      slideTimeout: undefined
    };
  },
  computed: {
    classes() {
      return {
        ...VWindow["a" /* default */].options.computed.classes.call(this),
        'v-carousel': true,
        'v-carousel--hide-delimiter-background': this.hideDelimiterBackground,
        'v-carousel--vertical-delimiters': this.isVertical
      };
    },
    isDark() {
      return this.dark || !this.light;
    },
    isVertical() {
      return this.verticalDelimiters != null;
    }
  },
  watch: {
    internalValue: 'restartTimeout',
    interval: 'restartTimeout',
    height(val, oldVal) {
      if (val === oldVal || !val) return;
      this.internalHeight = val;
    },
    cycle(val) {
      if (val) {
        this.restartTimeout();
      } else {
        clearTimeout(this.slideTimeout);
        this.slideTimeout = undefined;
      }
    }
  },
  created() {
    /* istanbul ignore next */
    if (this.$attrs.hasOwnProperty('hide-controls')) {
      Object(util_console["a" /* breaking */])('hide-controls', ':show-arrows="false"', this);
    }
  },
  mounted() {
    this.startTimeout();
  },
  methods: {
    genControlIcons() {
      if (this.isVertical) return null;
      return VWindow["a" /* default */].options.methods.genControlIcons.call(this);
    },
    genDelimiters() {
      return this.$createElement('div', {
        staticClass: 'v-carousel__controls',
        style: {
          left: this.verticalDelimiters === 'left' && this.isVertical ? 0 : 'auto',
          right: this.verticalDelimiters === 'right' ? 0 : 'auto'
        }
      }, [this.genItems()]);
    },
    genItems() {
      const length = this.items.length;
      const children = [];
      for (let i = 0; i < length; i++) {
        const child = this.$createElement(components_VBtn["a" /* default */], {
          staticClass: 'v-carousel__controls__item',
          attrs: {
            'aria-label': this.$vuetify.lang.t('$vuetify.carousel.ariaLabel.delimiter', i + 1, length)
          },
          props: {
            icon: true,
            small: true,
            value: this.getValue(this.items[i], i)
          },
          key: i
        }, [this.$createElement(VIcon["a" /* default */], {
          props: {
            size: 18
          }
        }, this.delimiterIcon)]);
        children.push(child);
      }
      return this.$createElement(button_group["a" /* default */], {
        props: {
          value: this.internalValue,
          mandatory: this.mandatory
        },
        on: {
          change: val => {
            this.internalValue = val;
          }
        }
      }, children);
    },
    genProgress() {
      return this.$createElement(VProgressLinear["a" /* default */], {
        staticClass: 'v-carousel__progress',
        props: {
          color: this.progressColor,
          value: (this.internalIndex + 1) / this.items.length * 100
        }
      });
    },
    restartTimeout() {
      this.slideTimeout && clearTimeout(this.slideTimeout);
      this.slideTimeout = undefined;
      window.requestAnimationFrame(this.startTimeout);
    },
    startTimeout() {
      if (!this.cycle) return;
      this.slideTimeout = window.setTimeout(this.next, +this.interval > 0 ? +this.interval : 6000);
    }
  },
  render(h) {
    const render = VWindow["a" /* default */].options.render.call(this, h);
    render.data.style = `height: ${Object(helpers["h" /* convertToUnit */])(this.height)};`;
    /* istanbul ignore else */

    if (!this.hideDelimiters) {
      render.children.push(this.genDelimiters());
    }
    /* istanbul ignore else */

    if (this.progress || this.progressColor) {
      render.children.push(this.genProgress());
    }
    return render;
  }
}));
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VWindow/VWindowItem.js
var VWindowItem = __webpack_require__(248);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VImg/VImg.js + 2 modules
var VImg = __webpack_require__(221);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/util/mixins.js
var mixins = __webpack_require__(3);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/mixins/routable/index.js
var routable = __webpack_require__(23);

// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VCarousel/VCarouselItem.js
// Extensions
 // Components

 // Utilities



 // Types

const baseMixins = Object(mixins["a" /* default */])(VWindowItem["a" /* default */], routable["a" /* default */]);
/* @vue/component */

/* harmony default export */ var VCarouselItem = (baseMixins.extend().extend({
  name: 'v-carousel-item',
  inject: {
    parentTheme: {
      default: {
        isDark: false
      }
    }
  },
  // pass down the parent's theme
  provide() {
    return {
      theme: this.parentTheme
    };
  },
  inheritAttrs: false,
  methods: {
    genDefaultSlot() {
      return [this.$createElement(VImg["a" /* default */], {
        staticClass: 'v-carousel__item',
        props: {
          ...this.$attrs,
          height: this.windowGroup.internalHeight
        },
        on: this.$listeners,
        scopedSlots: {
          placeholder: this.$scopedSlots.placeholder
        }
      }, Object(helpers["s" /* getSlot */])(this))];
    },
    genWindowItem() {
      const {
        tag,
        data
      } = this.generateRouteLink();
      data.staticClass = 'v-window-item';
      data.directives.push({
        name: 'show',
        value: this.isActive
      });
      return this.$createElement(tag, data, this.genDefaultSlot());
    }
  }
}));
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VChip/VChip.js
var VChip = __webpack_require__(226);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VGrid/VCol.js
var VCol = __webpack_require__(216);

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

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VDialog/VDialog.js + 3 modules
var VDialog = __webpack_require__(219);

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

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VIcon/VIcon.js
var VIcon_VIcon = __webpack_require__(84);

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

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VList/VListItem.js
var VListItem = __webpack_require__(49);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VList/index.js + 1 modules
var components_VList = __webpack_require__(10);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VList/VListItemIcon.js
var VListItemIcon = __webpack_require__(45);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VMenu/VMenu.js + 1 modules
var VMenu = __webpack_require__(178);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VGrid/VRow.js
var VRow = __webpack_require__(215);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/directives/touch/index.js
var touch = __webpack_require__(41);

// 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/event/_slug.vue?vue&type=template&id=97428172&lang=pug&























var _slugvue_type_template_id_97428172_lang_pug_render = function render() {
  var _vm$event$boost, _vm$event$likes;
  var _vm = this,
    _c = _vm._self._c;
  return _c(VContainer["a" /* default */], {
    directives: [{
      def: touch["a" /* default */],
      name: "touch",
      rawName: "v-touch",
      value: {
        left: _vm.goNext,
        right: _vm.goPrev
      },
      expression: "{ left: goNext, right: goPrev }"
    }],
    staticClass: "h-event pa-2 pa-sm-2",
    attrs: {
      "id": "event"
    }
  }, [_c(VRow["a" /* default */], {
    attrs: {
      "itemscope": "",
      "itemtype": "https://schema.org/Event"
    }
  }, [_c(VCol["a" /* default */], {
    staticClass: "col-12 col-md-8"
  }, [_vm.hasMedia ? _c('MyPicture', {
    attrs: {
      "event": _vm.event
    }
  }) : _vm._e(), !_vm.hasMedia && _vm.event.description ? _c('div', {
    staticClass: "p-description text-body-1 pa-3 rounded",
    attrs: {
      "itemprop": "description"
    },
    domProps: {
      "innerHTML": _vm._s(_vm.event.description)
    }
  }) : _vm._e()], 1), _c(VCol["a" /* default */], {
    staticClass: "col-12 col-md-4"
  }, [_c(VCard["a" /* default */], {
    attrs: {
      "outlined": ""
    }
  }, [_c(components_VCard["c" /* VCardText */], [_vm.event.parentId ? _c(VIcon_VIcon["a" /* default */], {
    staticClass: "float-right",
    attrs: {
      "color": "success"
    },
    domProps: {
      "textContent": _vm._s(_vm.mdiRepeat)
    }
  }) : _vm._e(), _c('div', {
    staticClass: "title text-h5"
  }, [_c('strong', {
    staticClass: "p-name text--primary",
    attrs: {
      "itemprop": "name"
    }
  }, [_vm._v(_vm._s(_vm.event.title))])])], 1), _c(VDivider["a" /* default */]), _c(VContainer["a" /* default */], {
    staticClass: "eventDetails"
  }, [_c('time', {
    staticClass: "dt-start",
    attrs: {
      "datetime": _vm.$time.unixFormat(_vm.event.start_datetime, "yyyy-MM-dd HH:mm"),
      "itemprop": "startDate",
      "content": _vm.$time.unixFormat(_vm.event.start_datetime, "yyyy-MM-dd'T'HH:mm")
    }
  }, [_c(VIcon_VIcon["a" /* default */], {
    attrs: {
      "small": ""
    },
    domProps: {
      "textContent": _vm._s(_vm.mdiCalendar)
    }
  }), _c('span', {
    staticClass: "ml-2 text-uppercase"
  }, [_vm._v(_vm._s(_vm.$time.when(_vm.event)))]), _vm.event.end_datetime ? _c('div', {
    staticClass: "d-none dt-end",
    attrs: {
      "itemprop": "endDate",
      "content": _vm.$time.unixFormat(_vm.event.end_datetime, "yyyy-MM-dd'T'HH:mm")
    }
  }, [_vm._v(_vm._s(_vm.$time.unixFormat(_vm.event.end_datetime, "yyyy-MM-dd'T'HH:mm")))]) : _vm._e()], 1), _c('div', {
    staticClass: "font-weight-light mb-3"
  }, [_vm._v(_vm._s(_vm.$time.from(_vm.event.start_datetime))), _vm.event.parentId ? _c('small', [_vm._v(" (" + _vm._s(_vm.$time.recurrentDetail(_vm.event)) + ")")]) : _vm._e()]), _c('div', {
    staticClass: "p-location h-adr",
    attrs: {
      "itemprop": "location",
      "itemscope": "",
      "itemtype": "https://schema.org/Place"
    }
  }, [_c(VIcon_VIcon["a" /* default */], {
    attrs: {
      "small": ""
    },
    domProps: {
      "textContent": _vm._s(_vm.mdiMapMarker)
    }
  }), _c('nuxt-link', {
    staticClass: "vcard ml-2 p-name text-decoration-none text-uppercase",
    attrs: {
      "itemprop": "name",
      "to": `/place/${encodeURIComponent(_vm.event.place.name)}`
    }
  }, [_vm._v(_vm._s(_vm.event.place && _vm.event.place.name))]), _vm.event.place.name !== "online" ? _c('div', {
    staticClass: "font-weight-light p-street-address",
    attrs: {
      "itemprop": "address"
    }
  }, [_vm._v(_vm._s(_vm.event.place && _vm.event.place.address))]) : _vm._e()], 1)]), _vm.event.tags && _vm.event.tags.length ? _c(VContainer["a" /* default */], {
    staticClass: "pt-0"
  }, _vm._l(_vm.event.tags, function (tag) {
    return _c(VChip["a" /* default */], {
      key: tag,
      staticClass: "p-category ml-1 mt-1",
      attrs: {
        "small": "",
        "label": "",
        "color": "primary",
        "outlined": "",
        "to": `/tag/${encodeURIComponent(tag)}`
      }
    }, [_vm._v(_vm._s(tag))]);
  }), 1) : _vm._e(), _vm.hasOnlineLocations ? _c(VList["a" /* default */], {
    attrs: {
      "nav": "",
      "dense": ""
    }
  }, _vm._l(_vm.event.online_locations, function (item, index) {
    return _c(VListItem["a" /* default */], {
      key: index,
      attrs: {
        "target": "_blank",
        "href": `${item}`
      }
    }, [_c(VListItemIcon["a" /* default */], [_c(VIcon_VIcon["a" /* default */], {
      domProps: {
        "textContent": _vm._s(_vm.mdiMonitorAccount)
      }
    })], 1), _c(components_VList["a" /* VListItemContent */], {
      staticClass: "py-0"
    }, [_c(components_VList["c" /* VListItemTitle */], {
      staticClass: "text-caption",
      domProps: {
        "textContent": _vm._s(item)
      }
    })], 1)], 1);
  }), 1) : _vm._e(), _c(VDivider["a" /* default */]), _c(VList["a" /* default */], {
    attrs: {
      "dense": "",
      "nav": "",
      "color": "transparent"
    }
  }, [_c(VListItem["a" /* default */], {
    on: {
      "click": function ($event) {
        return _vm.clipboard(`${_vm.settings.baseurl}/event/${_vm.event.slug || _vm.event.id}`);
      }
    }
  }, [_c(VListItemIcon["a" /* default */], [_c(VIcon_VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiContentCopy)
    }
  })], 1), _c(components_VList["a" /* VListItemContent */], [_c(components_VList["c" /* VListItemTitle */], {
    domProps: {
      "textContent": _vm._s(_vm.$t('common.copy_link'))
    }
  })], 1)], 1), _vm.settings.allow_geolocation && _vm.event.place.latitude && _vm.event.place.longitude ? _c(VListItem["a" /* default */], {
    on: {
      "click": function ($event) {
        _vm.mapModal = true;
      }
    }
  }, [_c(VListItemIcon["a" /* default */], [_c(VIcon_VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiMap)
    }
  })], 1), _c(components_VList["a" /* VListItemContent */], [_c(components_VList["c" /* VListItemTitle */], {
    domProps: {
      "textContent": _vm._s(_vm.$t('common.show_map'))
    }
  })], 1)], 1) : _vm._e(), _c(VListItem["a" /* default */], {
    on: {
      "click": function ($event) {
        _vm.showEmbed = true;
      }
    }
  }, [_c(VListItemIcon["a" /* default */], [_c(VIcon_VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiCodeTags)
    }
  })], 1), _c(components_VList["a" /* VListItemContent */], [_c(components_VList["c" /* VListItemTitle */], {
    domProps: {
      "textContent": _vm._s(_vm.$t('common.embed'))
    }
  })], 1)], 1), _c(VListItem["a" /* default */], {
    attrs: {
      "href": `/api/event/detail/${_vm.event.slug || _vm.event.id}.ics`
    }
  }, [_c(VListItemIcon["a" /* default */], [_c(VIcon_VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiCalendarExport)
    }
  })], 1), _c(components_VList["a" /* VListItemContent */], [_c(components_VList["c" /* VListItemTitle */], {
    domProps: {
      "textContent": _vm._s(_vm.$t('common.add_to_calendar'))
    }
  })], 1)], 1), _vm.hasMedia ? _c(VListItem["a" /* default */], {
    attrs: {
      "href": _vm.$helper.mediaURL(_vm.event, "download")
    }
  }, [_c(VListItemIcon["a" /* default */], [_c(VIcon_VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiFileDownloadOutline)
    }
  })], 1), _c(components_VList["a" /* VListItemContent */], [_c(components_VList["c" /* VListItemTitle */], {
    domProps: {
      "textContent": _vm._s(_vm.$t('event.download_flyer'))
    }
  })], 1)], 1) : _vm._e()], 1), _vm.is_mine ? _c(VDivider["a" /* default */]) : _vm._e(), _vm.is_mine ? _c('eventAdmin', {
    attrs: {
      "event": _vm.event
    }
  }) : _vm._e()], 1)], 1)], 1), _vm.hasMedia && _vm.event.description ? _c('div', {
    staticClass: "p-description text-body-1 pa-3 rounded",
    attrs: {
      "itemprop": "description"
    },
    domProps: {
      "innerHTML": _vm._s(_vm.event.description)
    }
  }) : _vm._e(), _vm.settings.enable_federation ? _c('div', {
    staticClass: "mt-1",
    attrs: {
      "id": "resources"
    }
  }, [!_vm.settings.hide_boosts && ((_vm$event$boost = _vm.event.boost) !== null && _vm$event$boost !== void 0 && _vm$event$boost.length || (_vm$event$likes = _vm.event.likes) !== null && _vm$event$likes !== void 0 && _vm$event$likes.length) ? _c('div', {
    staticClass: "mb-3"
  }, [_c('client-only', [_c(VMenu["a" /* default */], {
    attrs: {
      "open-on-hover": "",
      "top": "",
      "offset-y": ""
    },
    scopedSlots: _vm._u([{
      key: "activator",
      fn: function ({
        on,
        attrs
      }) {
        return [_c('span', _vm._g(_vm._b({
          staticClass: "mr-3"
        }, 'span', attrs, false), on), [_c(VIcon_VIcon["a" /* default */], {
          attrs: {
            "color": "primary"
          },
          domProps: {
            "textContent": _vm._s(_vm.mdiBookmark)
          }
        }), _vm._v(" " + _vm._s(_vm.event.likes.length))], 1)];
      }
    }], null, false, 4287745050)
  }, [_c(VList["a" /* default */], _vm._l(_vm.event.likes, function (like, idx) {
    return _c(VListItem["a" /* default */], {
      key: idx
    }, [_c(components_VList["c" /* VListItemTitle */], {
      domProps: {
        "textContent": _vm._s(like)
      }
    })], 1);
  }), 1)], 1), _c(VMenu["a" /* default */], {
    attrs: {
      "open-on-hover": "",
      "top": "",
      "offset-y": ""
    },
    scopedSlots: _vm._u([{
      key: "activator",
      fn: function ({
        on,
        attrs
      }) {
        return [_c('span', _vm._g(_vm._b({}, 'span', attrs, false), on), [_c(VIcon_VIcon["a" /* default */], {
          domProps: {
            "textContent": _vm._s(_vm.mdiShareAll)
          }
        }), _vm._v(" " + _vm._s(_vm.event.boost.length))], 1)];
      }
    }], null, false, 1917297985)
  }, [_c(VList["a" /* default */], _vm._l(_vm.event.boost, function (boost, idx) {
    return _c(VListItem["a" /* default */], {
      key: idx
    }, [_c(components_VList["c" /* VListItemTitle */], {
      domProps: {
        "textContent": _vm._s(boost)
      }
    })], 1);
  }), 1)], 1), _c('template', {
    slot: "placeholder"
  }, [_c('span', {
    staticClass: "mr-3"
  }, [_c(VIcon_VIcon["a" /* default */], {
    attrs: {
      "color": "primary"
    },
    domProps: {
      "textContent": _vm._s(_vm.mdiBookmark)
    }
  }), _vm._v(" " + _vm._s(_vm.event.likes.length))], 1), _c('span', [_c(VIcon_VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiShareAll)
    }
  }), _vm._v(" " + _vm._s(_vm.event.boost.length))], 1)])], 2)], 1) : _vm._e(), _c(VDialog["a" /* default */], {
    attrs: {
      "max-width": "900",
      "width": "900",
      "fullscreen": _vm.$vuetify.breakpoint.xsOnly,
      "destroy-on-close": ""
    },
    model: {
      value: _vm.showResources,
      callback: function ($$v) {
        _vm.showResources = $$v;
      },
      expression: "showResources"
    }
  }, [_c(VCard["a" /* default */], [_c(VBtn["a" /* default */], {
    staticClass: "ma-2",
    attrs: {
      "icon": "",
      "dark": ""
    },
    on: {
      "click": function ($event) {
        _vm.showResources = false;
      }
    }
  }, [_c(VIcon_VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiClose)
    }
  })], 1), _c(VCarousel_VCarousel, {
    ref: "carousel",
    staticClass: "pa-5",
    attrs: {
      "interval": 10000,
      "next-icon": _vm.mdiArrowRight,
      "prev-icon": _vm.mdiArrowLeft,
      "hide-delimiters": "",
      "height": "100%",
      "show-arrows-on-over": ""
    },
    model: {
      value: _vm.currentAttachment,
      callback: function ($$v) {
        _vm.currentAttachment = $$v;
      },
      expression: "currentAttachment"
    }
  }, _vm._l(_vm.selectedResource.data.attachment, function (attachment) {
    return _vm.isImg(attachment) ? _c(VCarouselItem, {
      key: attachment.url
    }, [_c(VImg["a" /* default */], {
      attrs: {
        "src": attachment.url,
        "contain": "",
        "max-height": "90%"
      }
    })], 1) : _vm._e();
  }), 1), _c(components_VCard["a" /* VCardActions */], {
    staticClass: "align-center justify-center"
  }, [_c('span', [_vm._v(_vm._s(_vm.currentAttachmentLabel))])])], 1)], 1), _vm._l(_vm.event.resources, function (resource) {
    return _vm.settings.enable_resources ? _c(VCard["a" /* default */], {
      key: resource.id,
      staticClass: "mb-3 resources",
      attrs: {
        "elevation": "10",
        "flat": resource.hidden,
        "outlined": ""
      }
    }, [_c(components_VCard["d" /* VCardTitle */], [_vm.$auth.user && _vm.$auth.user.is_admin ? _c(VMenu["a" /* default */], {
      attrs: {
        "offset-y": ""
      },
      scopedSlots: _vm._u([{
        key: "activator",
        fn: function ({
          on
        }) {
          return [_c(VBtn["a" /* default */], _vm._g({
            staticClass: "mr-2",
            attrs: {
              "color": "primary",
              "small": "",
              "icon": ""
            }
          }, on), [_c(VIcon_VIcon["a" /* default */], {
            domProps: {
              "textContent": _vm._s(_vm.mdiDotsVertical)
            }
          })], 1)];
        }
      }], null, true)
    }, [_c(VList["a" /* default */], [!resource.hidden ? _c(VListItem["a" /* default */], {
      on: {
        "click": function ($event) {
          return _vm.hideResource(resource, true);
        }
      }
    }, [_c(components_VList["c" /* VListItemTitle */], [_c(VIcon_VIcon["a" /* default */], {
      attrs: {
        "left": ""
      },
      domProps: {
        "textContent": _vm._s(_vm.mdiEyeOff)
      }
    }), _vm._v(" " + _vm._s(_vm.$t('admin.hide_resource')))], 1)], 1) : _c(VListItem["a" /* default */], {
      on: {
        "click": function ($event) {
          return _vm.hideResource(resource, false);
        }
      }
    }, [_c(components_VList["c" /* VListItemTitle */], [_c(VIcon_VIcon["a" /* default */], {
      attrs: {
        "left": ""
      },
      domProps: {
        "textContent": _vm._s(_vm.mdiEye)
      }
    }), _vm._v(" " + _vm._s(_vm.$t('admin.show_resource')))], 1)], 1), _c(VListItem["a" /* default */], {
      on: {
        "click": function ($event) {
          return _vm.deleteResource(resource);
        }
      }
    }, [_c(components_VList["c" /* VListItemTitle */], [_c(VIcon_VIcon["a" /* default */], {
      attrs: {
        "left": ""
      },
      domProps: {
        "textContent": _vm._s(_vm.mdiDelete)
      }
    }), _vm._v(" " + _vm._s(_vm.$t('admin.delete_resource')))], 1)], 1), _c(VListItem["a" /* default */], {
      on: {
        "click": function ($event) {
          return _vm.blockUser(resource);
        }
      }
    }, [_c(components_VList["c" /* VListItemTitle */], [_c(VIcon_VIcon["a" /* default */], {
      attrs: {
        "left": ""
      },
      domProps: {
        "textContent": _vm._s(_vm.mdiLock)
      }
    }), _vm._v(" " + _vm._s(_vm.$t('admin.block_user')))], 1)], 1)], 1)], 1) : _vm._e(), _c(VIcon_VIcon["a" /* default */], {
      directives: [{
        name: "show",
        rawName: "v-show",
        value: resource.hidden,
        expression: "resource.hidden"
      }],
      staticClass: "mr-1",
      domProps: {
        "textContent": _vm._s(_vm.mdiEyeOff)
      }
    }), _c('a', {
      attrs: {
        "href": resource.data.url || resource.data.context
      }
    }, [_c('small', [_vm._v(_vm._s(_vm.$time.format(resource.data.published, 'ff')))])])], 1), _c(components_VCard["c" /* VCardText */], [_c('div', {
      staticClass: "mt-1",
      domProps: {
        "innerHTML": _vm._s(_vm.resource_filter(resource.data.content))
      }
    }), _c('div', {
      staticClass: "d-flex flex-wrap"
    }, _vm._l(resource.data.attachment, function (attachment) {
      return _c('span', {
        key: attachment.url,
        staticClass: "mr-1"
      }, [_vm.isAudio(attachment) ? _c('audio', {
        attrs: {
          "controls": ""
        }
      }, [_c('source', {
        attrs: {
          "src": attachment.url
        }
      })]) : _vm._e(), _vm.isImg(attachment) ? _c(VImg["a" /* default */], {
        staticClass: "cursorPointer",
        attrs: {
          "src": attachment.url,
          "max-height": "250px",
          "max-width": "250px",
          "contain": "",
          "alt": attachment.name
        },
        on: {
          "click": function ($event) {
            return _vm.showResource(resource);
          }
        }
      }) : _vm._e()], 1);
    }), 0)])], 1) : _vm._e();
  })], 2) : _vm._e(), _c('div', {
    staticClass: "text-center mt-5 mb-5"
  }, [_c(VBtn["a" /* default */], {
    staticClass: "mr-2",
    attrs: {
      "nuxt": "",
      "icon": "",
      "outlined": "",
      "color": "primary",
      "to": `/event/${_vm.event.prev}`,
      "disabled": !_vm.event.prev
    }
  }, [_c(VIcon_VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiArrowLeft)
    }
  })], 1), _c(VBtn["a" /* default */], {
    attrs: {
      "nuxt": "",
      "bottom": "",
      "right": "",
      "outlined": "",
      "icon": "",
      "color": "primary",
      "to": `/event/${_vm.event.next}`,
      "disabled": !_vm.event.next
    }
  }, [_c(VIcon_VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiArrowRight)
    }
  })], 1)], 1), _c(VDialog["a" /* default */], {
    attrs: {
      "width": "700px",
      "fullscreen": _vm.$vuetify.breakpoint.xsOnly
    },
    model: {
      value: _vm.showEmbed,
      callback: function ($$v) {
        _vm.showEmbed = $$v;
      },
      expression: "showEmbed"
    }
  }, [_c('EmbedEvent', {
    attrs: {
      "event": _vm.event
    },
    on: {
      "close": function ($event) {
        _vm.showEmbed = false;
      }
    }
  })], 1), _c(VDialog["a" /* default */], {
    directives: [{
      name: "show",
      rawName: "v-show",
      value: _vm.settings.allow_geolocation && _vm.event.place.latitude && _vm.event.place.longitude,
      expression: "settings.allow_geolocation && event.place.latitude && event.place.longitude"
    }],
    attrs: {
      "fullscreen": _vm.$vuetify.breakpoint.xsOnly,
      "destroy-on-close": ""
    },
    model: {
      value: _vm.mapModal,
      callback: function ($$v) {
        _vm.mapModal = $$v;
      },
      expression: "mapModal"
    }
  }, [_c('EventMapDialog', {
    attrs: {
      "place": _vm.event.place
    },
    on: {
      "close": function ($event) {
        _vm.mapModal = false;
      }
    }
  })], 1)], 1);
};
var staticRenderFns = [];

// CONCATENATED MODULE: ./pages/event/_slug.vue?vue&type=template&id=97428172&lang=pug&

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

// EXTERNAL MODULE: external "lodash/get"
var get_ = __webpack_require__(176);
var get_default = /*#__PURE__*/__webpack_require__.n(get_);

// EXTERNAL MODULE: external "luxon"
var external_luxon_ = __webpack_require__(9);

// EXTERNAL MODULE: ./assets/clipboard.js
var clipboard = __webpack_require__(257);

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

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VList/VListGroup.js
var VListGroup = __webpack_require__(88);

// 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!./components/eventAdmin.vue?vue&type=template&id=cee8e052&lang=pug&








var eventAdminvue_type_template_id_cee8e052_lang_pug_render = function render() {
  var _vm = this,
    _c = _vm._self._c;
  return _c('span', [_c(VList["a" /* default */], {
    attrs: {
      "dense": "",
      "nav": "",
      "color": "transparent"
    }
  }, [_c(VListGroup["a" /* default */], {
    attrs: {
      "append-icon": _vm.mdiChevronUp,
      "value": true
    },
    scopedSlots: _vm._u([{
      key: "activator",
      fn: function () {
        return [_c(VListItem["a" /* default */], {
          staticClass: "text-overline"
        }, [_vm._v(_vm._s(_vm.$t('common.admin_actions')))])];
      },
      proxy: true
    }])
  }, [_c(VListItem["a" /* default */], {
    on: {
      "click": function ($event) {
        return _vm.toggle(false);
      }
    }
  }, [_c(VListItemIcon["a" /* default */], [_vm.event.is_visible ? _c(VIcon_VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiEyeOff)
    }
  }) : _c(VIcon_VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiEye)
    }
  })], 1), _c(components_VList["a" /* VListItemContent */], [_c(components_VList["c" /* VListItemTitle */], {
    domProps: {
      "textContent": _vm._s(_vm.$t(`common.${_vm.event.is_visible ? _vm.event.parentId ? 'skip' : 'hide' : 'confirm'}`))
    }
  })], 1)], 1), _c(VListItem["a" /* default */], {
    attrs: {
      "to": `/add/${_vm.event.id}`
    }
  }, [_c(VListItemIcon["a" /* default */], [_c(VIcon_VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiCalendarEdit)
    }
  })], 1), _c(components_VList["a" /* VListItemContent */], [_c(components_VList["c" /* VListItemTitle */], {
    domProps: {
      "textContent": _vm._s(_vm.$t('common.edit'))
    }
  })], 1)], 1), !_vm.event.parentId ? _c(VListItem["a" /* default */], {
    attrs: {
      "to": `/add/${_vm.event.id}?clone=true`
    }
  }, [_c(VListItemIcon["a" /* default */], [_c(VIcon_VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiScanner)
    }
  })], 1), _c(components_VList["a" /* VListItemContent */], [_c(components_VList["c" /* VListItemTitle */], {
    domProps: {
      "textContent": _vm._s(_vm.$t('common.clone'))
    }
  })], 1)], 1) : _vm._e(), !_vm.event.parentId ? _c(VListItem["a" /* default */], {
    on: {
      "click": function ($event) {
        return _vm.remove(false);
      }
    }
  }, [_c(VListItemIcon["a" /* default */], [_c(VIcon_VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiDelete)
    }
  })], 1), _c(components_VList["a" /* VListItemContent */], [_c(components_VList["c" /* VListItemTitle */], {
    domProps: {
      "textContent": _vm._s(_vm.$t('common.remove'))
    }
  })], 1)], 1) : _vm._e(), _vm.event.parentId ? [_c(VListItem["a" /* default */], {
    staticClass: "text-overline",
    domProps: {
      "innerHTML": _vm._s(_vm.$t('common.recurring_event_actions'))
    }
  }), _c(VListItem["a" /* default */], {
    on: {
      "click": function ($event) {
        return _vm.toggle(true);
      }
    }
  }, [_c(VListItemIcon["a" /* default */], [_c(VIcon_VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.event.parent.is_visible ? _vm.mdiPause : _vm.mdiPlay)
    }
  })], 1), _c(components_VList["a" /* VListItemContent */], [_c(components_VList["c" /* VListItemTitle */], {
    domProps: {
      "textContent": _vm._s(_vm.$t(`common.${_vm.event.parent.is_visible ? 'pause' : 'start'}`))
    }
  })], 1)], 1), _c(VListItem["a" /* default */], {
    attrs: {
      "to": `/add/${_vm.event.parentId}`
    }
  }, [_c(VListItemIcon["a" /* default */], [_c(VIcon_VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiCalendarEdit)
    }
  })], 1), _c(components_VList["a" /* VListItemContent */], [_c(components_VList["c" /* VListItemTitle */], {
    domProps: {
      "textContent": _vm._s(_vm.$t('common.edit'))
    }
  })], 1)], 1), _c(VListItem["a" /* default */], {
    on: {
      "click": function ($event) {
        return _vm.remove(true);
      }
    }
  }, [_c(VListItemIcon["a" /* default */], [_c(VIcon_VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiDeleteForever)
    }
  })], 1), _c(components_VList["a" /* VListItemContent */], [_c(components_VList["c" /* VListItemTitle */], {
    domProps: {
      "textContent": _vm._s(_vm.$t('common.remove'))
    }
  })], 1)], 1)] : _vm._e()], 2)], 1)], 1);
};
var eventAdminvue_type_template_id_cee8e052_lang_pug_staticRenderFns = [];

// CONCATENATED MODULE: ./components/eventAdmin.vue?vue&type=template&id=cee8e052&lang=pug&

// EXTERNAL MODULE: external "@mdi/js"
var js_ = __webpack_require__(8);

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

/* harmony default export */ var eventAdminvue_type_script_lang_js_ = ({
  name: 'EventAdmin',
  data() {
    return {
      mdiChevronUp: js_["mdiChevronUp"],
      mdiRepeat: js_["mdiRepeat"],
      mdiDelete: js_["mdiDelete"],
      mdiCalendarEdit: js_["mdiCalendarEdit"],
      mdiEyeOff: js_["mdiEyeOff"],
      mdiEye: js_["mdiEye"],
      mdiPause: js_["mdiPause"],
      mdiPlay: js_["mdiPlay"],
      mdiDeleteForever: js_["mdiDeleteForever"],
      mdiScanner: js_["mdiScanner"]
    };
  },
  props: {
    event: {
      type: Object,
      default: () => ({})
    }
  },
  methods: {
    async remove(parent = false) {
      const ret = await this.$root.$confirm(`event.remove_${parent ? 'recurrent_' : ''}confirmation`);
      if (!ret) {
        return;
      }
      const id = parent ? this.event.parentId : this.event.id;
      await this.$axios.delete(`/event/${id}`);
      this.$router.replace('/');
    },
    async toggle(parent = false) {
      const id = parent ? this.event.parentId : this.event.id;
      const is_visible = parent ? this.event.parent.is_visible : this.event.is_visible;
      const method = is_visible ? 'unconfirm' : 'confirm';
      try {
        await this.$axios.$put(`/event/${method}/${id}`);
        if (parent) {
          this.event.parent.is_visible = !is_visible;
        } else {
          this.event.is_visible = !is_visible;
        }
      } catch (e) {
        console.error(e);
      }
    }
  }
});
// CONCATENATED MODULE: ./components/eventAdmin.vue?vue&type=script&lang=js&
 /* harmony default export */ var components_eventAdminvue_type_script_lang_js_ = (eventAdminvue_type_script_lang_js_); 
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(6);

// CONCATENATED MODULE: ./components/eventAdmin.vue





/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  components_eventAdminvue_type_script_lang_js_,
  eventAdminvue_type_template_id_cee8e052_lang_pug_render,
  eventAdminvue_type_template_id_cee8e052_lang_pug_staticRenderFns,
  false,
  null,
  null,
  "7bc06f45"
  
)

/* harmony default export */ var eventAdmin = (component.exports);
// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VAlert/VAlert.js
var VAlert = __webpack_require__(211);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VGrid/VSpacer.js
var VSpacer = __webpack_require__(213);

// 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!./components/embedEvent.vue?vue&type=template&id=10b94336&lang=pug&









var embedEventvue_type_template_id_10b94336_lang_pug_render = function render() {
  var _vm = this,
    _c = _vm._self._c;
  return _c(VCard["a" /* default */], [_c(components_VCard["d" /* VCardTitle */], {
    domProps: {
      "textContent": _vm._s(_vm.$t('common.embed_title'))
    }
  }), _c(components_VCard["c" /* VCardText */], [_c(VAlert["a" /* default */], {
    staticClass: "mb-3 mt-1",
    attrs: {
      "type": "info",
      "show-icon": "",
      "icon": _vm.mdiInformation
    }
  }, [_vm._v(_vm._s(_vm.$t('common.embed_help')))]), _c(VAlert["a" /* default */], {
    staticClass: "pa-5 my-4 blue-grey darken-4 text-body-1 lime--text text--lighten-3"
  }, [_c('pre', [_vm._v(_vm._s(_vm.code))]), _c(VBtn["a" /* default */], {
    staticClass: "float-end",
    attrs: {
      "text": "",
      "color": "primary"
    },
    on: {
      "click": function ($event) {
        return _vm.clipboard(_vm.code);
      }
    }
  }, [_vm._v(_vm._s(_vm.$t("common.copy"))), _c(VIcon_VIcon["a" /* default */], {
    staticClass: "ml-1",
    domProps: {
      "textContent": _vm._s(_vm.mdiContentCopy)
    }
  })], 1)], 1), _c('p', {
    staticClass: "mx-auto"
  }), _c('div', {
    staticClass: "mx-auto"
  }, [_c('gancio-event', {
    attrs: {
      "id": _vm.event.id,
      "baseurl": _vm.settings.baseurl
    }
  })], 1), _c('p')], 1), _c(components_VCard["a" /* VCardActions */], [_c(VSpacer["a" /* default */]), _c(VBtn["a" /* default */], {
    attrs: {
      "outlined": "",
      "color": "warning"
    },
    on: {
      "click": function ($event) {
        return _vm.$emit('close');
      }
    }
  }, [_vm._v(_vm._s(_vm.$t("common.close")))]), _c(VBtn["a" /* default */], {
    attrs: {
      "outlined": "",
      "color": "primary"
    },
    on: {
      "click": function ($event) {
        return _vm.clipboard(_vm.code);
      }
    }
  }, [_vm._v(_vm._s(_vm.$t("common.copy")))])], 1)], 1);
};
var embedEventvue_type_template_id_10b94336_lang_pug_staticRenderFns = [];

// CONCATENATED MODULE: ./components/embedEvent.vue?vue&type=template&id=10b94336&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/embedEvent.vue?vue&type=script&lang=js&



/* harmony default export */ var embedEventvue_type_script_lang_js_ = ({
  name: 'EmbedEvent',
  data() {
    return {
      mdiContentCopy: js_["mdiContentCopy"],
      mdiInformation: js_["mdiInformation"]
    };
  },
  mixins: [clipboard["a" /* default */]],
  props: {
    event: {
      type: Object,
      default: () => ({})
    }
  },
  computed: {
    ...Object(external_vuex_["mapState"])(['settings']),
    code() {
      return `<script src='${this.settings.baseurl}\/gancio-events.es.js'><\/script>\n<gancio-event baseurl='${this.settings.baseurl}' id=${this.event.id}></gancio-event>\n\n`;
    }
  }
});
// CONCATENATED MODULE: ./components/embedEvent.vue?vue&type=script&lang=js&
 /* harmony default export */ var components_embedEventvue_type_script_lang_js_ = (embedEventvue_type_script_lang_js_); 
// CONCATENATED MODULE: ./components/embedEvent.vue





/* normalize component */

var embedEvent_component = Object(componentNormalizer["a" /* default */])(
  components_embedEventvue_type_script_lang_js_,
  embedEventvue_type_template_id_10b94336_lang_pug_render,
  embedEventvue_type_template_id_10b94336_lang_pug_staticRenderFns,
  false,
  null,
  null,
  "fbfe889e"
  
)

/* harmony default export */ var embedEvent = (embedEvent_component.exports);
// 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!./components/EventMapDialog.vue?vue&type=template&id=8809b848&lang=pug&








var EventMapDialogvue_type_template_id_8809b848_lang_pug_render = function render() {
  var _vm = this,
    _c = _vm._self._c;
  return _c(VCard["a" /* default */], [_c(VContainer["a" /* default */], [_c('div', {
    style: {
      'height': _vm.mapHeight
    }
  }, [_c('Map', {
    attrs: {
      "place": _vm.place,
      "height": _vm.mapHeight
    }
  })], 1), _c(VRow["a" /* default */], {
    staticClass: "my-4 d-flex flex-column align-center text-center"
  }, [_c('div', {
    staticClass: "text-h6"
  }, [_c(VIcon_VIcon["a" /* default */], {
    domProps: {
      "textContent": _vm._s(_vm.mdiMapMarker)
    }
  }), _c('nuxt-link', {
    staticClass: "ml-2 text-decoration-none",
    attrs: {
      "to": `/place/${_vm.place.name}`
    },
    domProps: {
      "textContent": _vm._s(_vm.place.name)
    }
  }), _c('div', {
    staticClass: "mx-2",
    domProps: {
      "textContent": _vm._s(`${_vm.place.address}`)
    }
  })], 1)])], 1), _c(components_VCard["a" /* VCardActions */], {
    staticClass: "py-4"
  }, [_c('HowToArriveNav', {
    staticClass: "pl-1",
    attrs: {
      "place": _vm.place
    }
  }), _c(VSpacer["a" /* default */]), _c(VBtn["a" /* default */], {
    attrs: {
      "outlined": ""
    },
    on: {
      "click": function ($event) {
        return _vm.$emit("close");
      }
    }
  }, [_vm._v("Close")])], 1)], 1);
};
var EventMapDialogvue_type_template_id_8809b848_lang_pug_staticRenderFns = [];

// CONCATENATED MODULE: ./components/EventMapDialog.vue?vue&type=template&id=8809b848&lang=pug&

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

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


/* harmony default export */ var EventMapDialogvue_type_script_lang_js_ = ({
  components: {
    HowToArriveNav: HowToArriveNav["a" /* default */],
    [ false && false]: () => __webpack_require__.e(/* import() */ 0).then(__webpack_require__.bind(null, 347))
  },
  data() {
    return {
      mdiMapMarker: js_["mdiMapMarker"]
    };
  },
  props: {
    place: {
      type: Object,
      default: () => ({
        latitude: 0,
        longitude: 0
      })
    },
    mapHeight: {
      type: String,
      default: '55vh'
    }
  }
});
// CONCATENATED MODULE: ./components/EventMapDialog.vue?vue&type=script&lang=js&
 /* harmony default export */ var components_EventMapDialogvue_type_script_lang_js_ = (EventMapDialogvue_type_script_lang_js_); 
// CONCATENATED MODULE: ./components/EventMapDialog.vue





/* normalize component */

var EventMapDialog_component = Object(componentNormalizer["a" /* default */])(
  components_EventMapDialogvue_type_script_lang_js_,
  EventMapDialogvue_type_template_id_8809b848_lang_pug_render,
  EventMapDialogvue_type_template_id_8809b848_lang_pug_staticRenderFns,
  false,
  null,
  null,
  "621e605a"
  
)

/* harmony default export */ var EventMapDialog = (EventMapDialog_component.exports);
// 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/event/_slug.vue?vue&type=script&lang=js&









/* harmony default export */ var _slugvue_type_script_lang_js_ = ({
  name: 'Event',
  mixins: [clipboard["a" /* default */]],
  components: {
    EventAdmin: eventAdmin,
    EmbedEvent: embedEvent,
    MyPicture: MyPicture["a" /* default */],
    EventMapDialog: EventMapDialog
  },
  async asyncData({
    $axios,
    params,
    error
  }) {
    try {
      const event = await $axios.$get(`/event/detail/${params.slug}`);
      return {
        event
      };
    } catch (e) {
      error({
        statusCode: 404,
        message: 'Event not found'
      });
    }
  },
  data({
    $store
  }) {
    return {
      mdiArrowLeft: js_["mdiArrowLeft"],
      mdiArrowRight: js_["mdiArrowRight"],
      mdiDotsVertical: js_["mdiDotsVertical"],
      mdiCodeTags: js_["mdiCodeTags"],
      mdiCalendarExport: js_["mdiCalendarExport"],
      mdiCalendar: js_["mdiCalendar"],
      mdiFileDownloadOutline: js_["mdiFileDownloadOutline"],
      mdiMapMarker: js_["mdiMapMarker"],
      mdiContentCopy: js_["mdiContentCopy"],
      mdiClose: js_["mdiClose"],
      mdiDelete: js_["mdiDelete"],
      mdiEye: js_["mdiEye"],
      mdiEyeOff: js_["mdiEyeOff"],
      mdiRepeat: js_["mdiRepeat"],
      mdiLock: js_["mdiLock"],
      mdiMap: js_["mdiMap"],
      mdiChevronUp: js_["mdiChevronUp"],
      mdiMonitorAccount: js_["mdiMonitorAccount"],
      mdiBookmark: js_["mdiBookmark"],
      mdiShareAll: js_["mdiShareAll"],
      currentAttachment: 0,
      event: {},
      diocane: '',
      showEmbed: false,
      showResources: false,
      selectedResource: {
        data: {
          attachment: []
        }
      },
      mapModal: false
    };
  },
  head() {
    if (!this.event) {
      return {};
    }
    const tags_feed = this.event.tags && this.event.tags.map(tag => ({
      rel: 'alternate',
      type: 'application/rss+xml',
      title: `${this.settings.title} events tagged ${tag}`,
      href: this.settings.baseurl + `/feed/rss?tags=${tag}`
    }));
    const place_feed = {
      rel: 'alternate',
      type: 'application/rss+xml',
      title: `${this.settings.title} events  @${this.event.place && this.event.place.name}`,
      href: this.settings.baseurl + `/feed/rss?places=${this.event.place && this.event.place.id}`
    };
    return {
      title: `${this.settings.title} - ${this.event.title}`,
      meta: [
      // hid is used as unique identifier. Do not use `vmid` for it as it will not work
      {
        hid: 'description',
        name: 'description',
        content: this.plainDescription
      }, {
        hid: 'og-description',
        name: 'og:description',
        content: this.plainDescription
      }, {
        hid: 'og-title',
        property: 'og:title',
        content: this.event.title
      }, {
        hid: 'og-url',
        property: 'og:url',
        content: `${this.settings.baseurl}/event/${this.event.slug || this.event.id}`
      }, {
        property: 'og:type',
        content: 'event'
      }, {
        property: 'og:image',
        content: this.$helper.mediaURL(this.event)
      }, {
        property: 'og:site_name',
        content: this.settings.title
      }, {
        property: 'og:updated_time',
        content: external_luxon_["DateTime"].fromSeconds(this.event.start_datetime, {
          zone: this.settings.instance_timezone
        }).toISO()
      }, {
        property: 'article:published_time',
        content: external_luxon_["DateTime"].fromSeconds(this.event.start_datetime, {
          zone: this.settings.instance_timezone
        }).toISO()
      }, {
        property: 'article:section',
        content: 'event'
      }, {
        property: 'twitter:card',
        content: 'summary'
      }, {
        property: 'twitter:title',
        content: this.event.title
      }, {
        property: 'twitter:image',
        content: this.$helper.mediaURL(this.event)
      }, {
        property: 'twitter:description',
        content: this.plainDescription
      }],
      link: [{
        rel: 'image_src',
        href: this.$helper.mediaURL(this.event)
      }, {
        rel: 'alternate',
        type: 'application/rss+xml',
        title: this.settings.title,
        href: this.settings.baseurl + '/feed/rss'
      }, ...tags_feed, place_feed]
    };
  },
  computed: {
    ...Object(external_vuex_["mapState"])(['settings']),
    hasOnlineLocations() {
      return this.event.online_locations && this.event.online_locations.length;
    },
    showMap() {
      return this.settings.allow_geolocation && this.event.place.latitude && this.event.place.longitude;
    },
    hasMedia() {
      return this.event.media && this.event.media.length;
    },
    plainDescription() {
      return this.event.plain_description || '';
    },
    currentAttachmentLabel() {
      return get_default()(this.selectedResource, `data.attachment[${this.currentAttachment}].name`, '');
    },
    is_mine() {
      if (!this.$auth.user) {
        return false;
      }
      return this.event.userId === this.$auth.user.id || this.$auth.user.is_admin;
    }
  },
  mounted() {
    window.addEventListener('keydown', this.keyDown);
  },
  beforeDestroy() {
    window.removeEventListener('keydown', this.keyDown);
  },
  methods: {
    isImg(attachment) {
      const type = attachment.mediaType.split('/')[0];
      return type === 'image';
    },
    isAudio(attachment) {
      const type = attachment.mediaType.split('/')[0];
      return type === 'audio';
    },
    keyDown(ev) {
      if (ev.altKey || ev.ctrlKey || ev.metaKey || ev.shiftKey) {
        return;
      }
      if (ev.key === 'ArrowRight' && this.event.next) {
        this.goNext();
      }
      if (ev.key === 'ArrowLeft' && this.event.prev) {
        this.goPrev();
      }
    },
    goPrev() {
      if (this.event.prev) {
        this.$router.replace(`/event/${this.event.prev}`);
      }
    },
    goNext() {
      if (this.event.next) {
        this.$router.replace(`/event/${this.event.next}`);
      }
    },
    showResource(resource) {
      this.showResources = true;
      this.selectedResource = resource;
      // document.getElementById('resourceDialog').focus()
    },

    async hideResource(resource, hidden) {
      await this.$axios.$put(`/resources/${resource.id}`, {
        hidden
      });
      resource.hidden = hidden;
    },
    async blockUser(resource) {
      try {
        const ret = await this.$root.$confirm('admin.user_block_confirm', {
          user: resource.ap_user.ap_id
        });
        if (!ret) {
          return;
        }
        await this.$axios.post('/instances/toggle_user_block', {
          ap_id: resource.ap_user.ap_id
        });
        this.$root.$message('admin.user_blocked', {
          user: resource.ap_user.ap_id,
          color: 'success'
        });
      } catch (e) {}
    },
    async deleteResource(resource) {
      try {
        const ret = await this.$root.$confirm('admin.delete_resource_confirm');
        if (!ret) {
          return;
        }
        await this.$axios.delete(`/resources/${resource.id}`);
        this.event.resources = this.event.resources.filter(r => r.id !== resource.id);
      } catch (e) {}
    },
    copyLink() {
      this.$root.$message('common.copied', {
        color: 'success'
      });
    },
    // TOFIX
    resource_filter(value) {
      return value.replace(/<a.*href="([^">]+).*>(?:.(?!<\/a>))*.<\/a>/, (orig, url) => {
        // get extension
        const ext = url.slice(-4);
        if (['.mp3', '.ogg'].includes(ext)) {
          return `<audio controls><source src='${url}'></audio>`;
        } else {
          return orig;
        }
      });
    }
  }
});
// CONCATENATED MODULE: ./pages/event/_slug.vue?vue&type=script&lang=js&
 /* harmony default export */ var event_slugvue_type_script_lang_js_ = (_slugvue_type_script_lang_js_); 
// CONCATENATED MODULE: ./pages/event/_slug.vue





/* normalize component */

var _slug_component = Object(componentNormalizer["a" /* default */])(
  event_slugvue_type_script_lang_js_,
  _slugvue_type_template_id_97428172_lang_pug_render,
  staticRenderFns,
  false,
  null,
  null,
  "dac0ad3e"
  
)

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

/***/ })

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