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

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

// Exports
module.exports = {

};


/***/ }),

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

// Exports
module.exports = {

};


/***/ }),

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

module.exports = __webpack_require__.p + "img/marker-icon-2x.401d815.png";

/***/ }),

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

module.exports = __webpack_require__.p + "img/marker-icon.2273e3d.png";

/***/ }),

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

module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC"

/***/ }),

/***/ 325:
/***/ (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_Map_vue_vue_type_style_index_0_id_4f1a9a9a_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(296);
/* 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_Map_vue_vue_type_style_index_0_id_4f1a9a9a_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_Map_vue_vue_type_style_index_0_id_4f1a9a9a_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_Map_vue_vue_type_style_index_0_id_4f1a9a9a_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_Map_vue_vue_type_style_index_0_id_4f1a9a9a_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));


/***/ }),

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

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_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/Map.vue?vue&type=template&id=4f1a9a9a&lang=pug
var render = function render() {
  var _vm = this,
    _c = _vm._self._c;
  return _c('client-only', {
    attrs: {
      "placeholder": "Loading..."
    }
  }, [_c('LMap', {
    ref: "leafletMap",
    style: _vm.LMapStyles,
    attrs: {
      "id": "leaflet-map",
      "zoom": _vm.zoom,
      "options": {
        attributionControl: false
      },
      "center": _vm.center
    }
  }, [_c('LControlAttribution', {
    attrs: {
      "position": "bottomright",
      "prefix": ""
    }
  }), _c('LTileLayer', {
    attrs: {
      "url": _vm.url,
      "attribution": _vm.attribution
    },
    on: {
      "tileload": function ($event) {
        return _vm.$emit('tileload');
      },
      "tileerror": function ($event) {
        return _vm.$emit('tileerror');
      }
    }
  }), _vm.showMarker ? _c('LMarker', {
    attrs: {
      "lat-lng": _vm.marker.coordinates,
      "draggable": _vm.draggable
    },
    on: {
      "update:lat-lng": _vm.updateCoords
    }
  }) : _vm._e()], 1)], 1);
};
var staticRenderFns = [];

// CONCATENATED MODULE: ./components/Map.vue?vue&type=template&id=4f1a9a9a&lang=pug

// EXTERNAL MODULE: ./node_modules/leaflet/dist/leaflet.css
var leaflet = __webpack_require__(321);

// EXTERNAL MODULE: external "vue2-leaflet"
var external_vue2_leaflet_ = __webpack_require__(213);

// EXTERNAL MODULE: external "leaflet"
var external_leaflet_ = __webpack_require__(214);

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



/* harmony default export */ var Mapvue_type_script_lang_js = ({
  components: {
    LMap: external_vue2_leaflet_["LMap"],
    LTileLayer: external_vue2_leaflet_["LTileLayer"],
    LMarker: external_vue2_leaflet_["LMarker"],
    LPopup: external_vue2_leaflet_["LPopup"],
    LControlAttribution: external_vue2_leaflet_["LControlAttribution"]
  },
  data({
    $store
  }) {
    return {
      url: $store.state.settings.tilelayer_provider || 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
      attribution: $store.state.settings.tilelayer_provider_attribution || "<a target=\"_blank\" href=\"http://osm.org/copyright\">OpenStreetMap</a> contributors"
    };
  },
  computed: {
    center() {
      if (this.mapCenter.length) return this.mapCenter;else {
        this.place.latitude = isNaN(this.place.latitude) ? 0 : this.place.latitude;
        this.place.longitude = isNaN(this.place.longitude) ? 0 : this.place.longitude;
        return [this.place.latitude, this.place.longitude];
      }
    },
    marker() {
      return {
        address: this.place.address,
        coordinates: {
          lat: this.place.latitude,
          lon: this.place.longitude
        }
      };
    }
  },
  props: {
    place: {
      type: Object,
      default: () => ({
        latitude: 0,
        longitude: 0
      })
    },
    showMarker: {
      type: Boolean,
      default: true
    },
    mapCenter: {
      type: Array,
      default: () => []
    },
    zoom: {
      type: Number,
      default: () => 16
    },
    draggable: {
      type: Boolean,
      default: false
    },
    LMapStyles: {
      type: Object,
      default: () => ({})
    }
  },
  mounted() {
    delete external_leaflet_["Icon"].Default.prototype._getIconUrl;
    external_leaflet_["Icon"].Default.mergeOptions({
      iconRetinaUrl: __webpack_require__(322),
      iconUrl: __webpack_require__(323),
      shadowUrl: __webpack_require__(324)
    });
    setTimeout(() => {
      if (this.$refs.leafletMap && this.$refs.leafletMap.mapObject) {
        this.$refs.leafletMap.mapObject.invalidateSize();
      }
    }, 200);
  },
  methods: {
    updateCoords(v) {
      this.place.latitude = Number.parseFloat(v.lat).toFixed(7);
      this.place.longitude = Number.parseFloat(v.lng).toFixed(7);
    }
  }
});
// CONCATENATED MODULE: ./components/Map.vue?vue&type=script&lang=js
 /* harmony default export */ var components_Mapvue_type_script_lang_js = (Mapvue_type_script_lang_js); 
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(7);

// CONCATENATED MODULE: ./components/Map.vue



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

}

/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  components_Mapvue_type_script_lang_js,
  render,
  staticRenderFns,
  false,
  injectStyles,
  null,
  "03f05308"
  
)

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

/***/ })

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