1/* 2 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). 3 * This devtool is neither made for production nor for readable output files. 4 * It uses "eval()" calls to create a separate source file in the browser devtools. 5 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) 6 * or disable the default devtool with "devtool: false". 7 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). 8 */ 9(self["webpackChunkvue_leaflet_app"] = self["webpackChunkvue_leaflet_app"] || []).push([["chunk-vendors"],{ 10
vendor: 6,601 bytes, lines 11-21
11/***/ "./node_modules/@fawmi/vue-google-maps/src/components/build-component.js": 12/*!*******************************************************************************!*\ 13 !*** ./node_modules/@fawmi/vue-google-maps/src/components/build-component.js ***! 14 \*******************************************************************************/ 15/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 16 17"use strict"; 18eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; },\n/* harmony export */ mappedPropsToVueProps: function() { return /* binding */ mappedPropsToVueProps; }\n/* harmony export */ });\n/* harmony import */ var _utils_bindEvents_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/bindEvents.js */ \"./node_modules/@fawmi/vue-google-maps/src/utils/bindEvents.js\");\n/* harmony import */ var _utils_bindProps_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/bindProps.js */ \"./node_modules/@fawmi/vue-google-maps/src/utils/bindProps.js\");\n/* harmony import */ var _mapElementMixin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mapElementMixin */ \"./node_modules/@fawmi/vue-google-maps/src/components/mapElementMixin.js\");\n\n\n\n\n/**\n *\n * @param {Object} options\n * @param {Object} options.mappedProps - Definitions of props\n * @param {Object} options.mappedProps.PROP.type - Value type\n * @param {Boolean} options.mappedProps.PROP.twoWay\n * - Whether the prop has a corresponding PROP_changed\n * event\n * @param {Boolean} options.mappedProps.PROP.noBind\n * - If true, do not apply the default bindProps / bindEvents.\n * However it will still be added to the list of component props\n * @param {Object} options.props - Regular Vue-style props.\n * Note: must be in the Object form because it will be\n * merged with the `mappedProps`\n *\n * @param {Object} options.events - Google Maps API events\n * that are not bound to a corresponding prop\n * @param {String} options.name - e.g. `polyline`\n * @param {=> String} options.ctr - constructor, e.g.\n * `google.maps.Polyline`. However, since this is not\n * generally available during library load, this becomes\n * a function instead, e.g. () => google.maps.Polyline\n * which will be called only after the API has been loaded\n * @param {(MappedProps, OtherVueProps) => Array} options.ctrArgs -\n * If the constructor in `ctr` needs to be called with\n * arguments other than a single `options` object, e.g. for\n * GroundOverlay, we call `new GroundOverlay(url, bounds, options)`\n * then pass in a function that returns the argument list as an array\n *\n * Otherwise, the constructor will be called with an `options` object,\n * with property and values merged from:\n *\n * 1. the `options` property, if any\n * 2. a `map` property with the Google Maps\n * 3. all the properties passed to the component in `mappedProps`\n * @param {Object => Any} options.beforeCreate -\n * Hook to modify the options passed to the initializer\n * @param {(options.ctr, Object) => Any} options.afterCreate -\n * Hook called when\n *\n */\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(options) {\n const {\n mappedProps,\n name,\n ctr,\n ctrArgs,\n events,\n beforeCreate,\n afterCreate,\n props,\n ...rest\n } = options;\n const promiseName = `$${name}Promise`;\n const instanceName = `$${name}Object`;\n assert(!(rest.props instanceof Array), '`props` should be an object, not Array');\n return {\n ...(typeof GENERATE_DOC !== 'undefined' ? {\n $vgmOptions: options\n } : {}),\n mixins: [_mapElementMixin__WEBPACK_IMPORTED_MODULE_2__[\"default\"]],\n props: {\n ...props,\n ...mappedPropsToVueProps(mappedProps)\n },\n render() {\n return '';\n },\n provide() {\n const promise = this.$mapPromise.then(map => {\n // Infowindow needs this to be immediately available\n this.$map = map;\n\n // Initialize the maps with the given options\n const options = {\n ...this.options,\n map,\n ...(0,_utils_bindProps_js__WEBPACK_IMPORTED_MODULE_1__.getPropsValues)(this, mappedProps)\n };\n delete options.options; // delete the extra options\n\n if (beforeCreate) {\n const result = beforeCreate.bind(this)(options);\n if (result instanceof Promise) {\n return result.then(() => ({\n options\n }));\n }\n }\n return {\n options\n };\n }).then(({\n options\n }) => {\n const ConstructorObject = ctr();\n // https://stackoverflow.com/questions/1606797/use-of-apply-with-new-operator-is-this-possible\n this[instanceName] = ctrArgs ? new (Function.prototype.bind.call(ConstructorObject, null, ...ctrArgs(options, (0,_utils_bindProps_js__WEBPACK_IMPORTED_MODULE_1__.getPropsValues)(this, props || {}))))() : new ConstructorObject(options);\n (0,_utils_bindProps_js__WEBPACK_IMPORTED_MODULE_1__.bindProps)(this, this[instanceName], mappedProps);\n (0,_utils_bindEvents_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(this, this[instanceName], events);\n if (afterCreate) {\n afterCreate.bind(this)(this[instanceName]);\n }\n return this[instanceName];\n });\n this[promiseName] = promise;\n return {\n [promiseName]: promise\n };\n },\n unmounted() {\n // Note: not all Google Maps components support maps\n if (this[instanceName] && this[instanceName].setMap) {\n this[instanceName].setMap(null);\n }\n },\n ...rest\n };\n}\nfunction assert(v, message) {\n if (!v) throw new Error(message);\n}\n\n/**\n * Strips out the extraneous properties we have in our\n * props definitions\n * @param {Object} props\n */\nfunction mappedPropsToVueProps(mappedProps) {\n return Object.entries(mappedProps).map(([key, prop]) => {\n const value = {};\n if ('type' in prop) value.type = prop.type;\n if ('default' in prop) value.default = prop.default;\n if ('required' in prop) value.required = prop.required;\n return [key, value];\n }).reduce((acc, [key, val]) => {\n acc[key] = val;\n return acc;\n }, {});\n}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/build-component.js?"); 19 20/***/ }), 21
vendor: 1,474 bytes, lines 22-32
22/***/ "./node_modules/@fawmi/vue-google-maps/src/components/circle.js": 23/*!**********************************************************************!*\ 24 !*** ./node_modules/@fawmi/vue-google-maps/src/components/circle.js ***! 25 \**********************************************************************/ 26/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 27 28"use strict"; 29eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _build_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./build-component */ \"./node_modules/@fawmi/vue-google-maps/src/components/build-component.js\");\n\nconst props = {\n center: {\n type: Object,\n twoWay: true,\n required: true\n },\n radius: {\n type: Number,\n twoWay: true\n },\n draggable: {\n type: Boolean,\n default: false\n },\n editable: {\n type: Boolean,\n default: false\n },\n options: {\n type: Object,\n twoWay: false\n }\n};\nconst events = ['click', 'dblclick', 'drag', 'dragend', 'dragstart', 'mousedown', 'mousemove', 'mouseout', 'mouseover', 'mouseup', 'rightclick'];\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,_build_component__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n mappedProps: props,\n name: 'circle',\n ctr: () => google.maps.Circle,\n events\n}));\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/circle.js?"); 30 31/***/ }), 32
vendor: 1,203 bytes, lines 33-43
33/***/ "./node_modules/@fawmi/vue-google-maps/src/components/heatmap.js": 34/*!***********************************************************************!*\ 35 !*** ./node_modules/@fawmi/vue-google-maps/src/components/heatmap.js ***! 36 \***********************************************************************/ 37/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 38 39"use strict"; 40eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _build_component_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./build-component.js */ \"./node_modules/@fawmi/vue-google-maps/src/components/build-component.js\");\n\nconst props = {\n options: {\n type: Object,\n twoWay: false,\n default: () => {}\n },\n data: {\n type: Array,\n twoWay: true\n }\n};\nconst events = [];\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,_build_component_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n mappedProps: props,\n name: 'heatmap',\n ctr: () => google.maps.visualization.HeatmapLayer,\n events\n}));\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/heatmap.js?"); 41 42/***/ }), 43
vendor: 1,571 bytes, lines 44-54
44/***/ "./node_modules/@fawmi/vue-google-maps/src/components/mapElementMixin.js": 45/*!*******************************************************************************!*\ 46 !*** ./node_modules/@fawmi/vue-google-maps/src/components/mapElementMixin.js ***! 47 \*******************************************************************************/ 48/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 49 50"use strict"; 51eval("__webpack_require__.r(__webpack_exports__);\n/**\n * @class MapElementMixin\n *\n * Extends components to include the following fields:\n *\n * @property $map The Google map (valid only after the promise returns)\n *\n *\n * */\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n inject: {\n $mapPromise: {\n default: 'abcdef'\n }\n },\n provide() {\n // Note: although this mixin is not \"providing\" anything,\n // components' expect the `$map` property to be present on the component.\n // In order for that to happen, this mixin must intercept the $mapPromise\n // .then(() =>) first before its component does so.\n //\n // Since a provide() on a mixin is executed before a provide() on the\n // component, putting this code in provide() ensures that the $map is\n // already set by the time the\n // component's provide() is called.\n this.$mapPromise.then(map => {\n this.$map = map;\n });\n return {};\n }\n});\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/mapElementMixin.js?"); 52 53/***/ }), 54
vendor: 4,270 bytes, lines 55-65
55/***/ "./node_modules/@fawmi/vue-google-maps/src/components/polygon.js": 56/*!***********************************************************************!*\ 57 !*** ./node_modules/@fawmi/vue-google-maps/src/components/polygon.js ***! 58 \***********************************************************************/ 59/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 60 61"use strict"; 62eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _build_component_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./build-component.js */ \"./node_modules/@fawmi/vue-google-maps/src/components/build-component.js\");\n\n\nconst props = {\n draggable: {\n type: Boolean\n },\n editable: {\n type: Boolean\n },\n options: {\n type: Object\n },\n path: {\n type: Array,\n twoWay: true,\n noBind: true\n },\n paths: {\n type: Array,\n twoWay: true,\n noBind: true\n }\n};\nconst events = ['click', 'dblclick', 'drag', 'dragend', 'dragstart', 'mousedown', 'mousemove', 'mouseout', 'mouseover', 'mouseup', 'rightclick'];\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,_build_component_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n props: {\n deepWatch: {\n type: Boolean,\n default: false\n }\n },\n events,\n mappedProps: props,\n name: 'polygon',\n ctr: () => google.maps.Polygon,\n beforeCreate(options) {\n if (!options.path) delete options.path;\n if (!options.paths) delete options.paths;\n },\n afterCreate(inst) {\n let clearEvents = () => {};\n\n // Watch paths, on our own, because we do not want to set either when it is\n // empty\n this.$watch('paths', paths => {\n if (paths) {\n clearEvents();\n inst.setPaths(paths);\n const updatePaths = () => {\n this.$emit('paths_changed', inst.getPaths());\n };\n const eventListeners = [];\n const mvcArray = inst.getPaths();\n for (let i = 0; i < mvcArray.getLength(); i++) {\n let mvcPath = mvcArray.getAt(i);\n eventListeners.push([mvcPath, mvcPath.addListener('insert_at', updatePaths)]);\n eventListeners.push([mvcPath, mvcPath.addListener('remove_at', updatePaths)]);\n eventListeners.push([mvcPath, mvcPath.addListener('set_at', updatePaths)]);\n }\n eventListeners.push([mvcArray, mvcArray.addListener('insert_at', updatePaths)]);\n eventListeners.push([mvcArray, mvcArray.addListener('remove_at', updatePaths)]);\n eventListeners.push([mvcArray, mvcArray.addListener('set_at', updatePaths)]);\n clearEvents = () => {\n eventListeners.map(([obj, listenerHandle] // eslint-disable-line no-unused-vars\n ) => google.maps.event.removeListener(listenerHandle));\n };\n }\n }, {\n deep: this.deepWatch,\n immediate: true\n });\n this.$watch('path', path => {\n if (path) {\n clearEvents();\n inst.setPaths(path);\n const mvcPath = inst.getPath();\n const eventListeners = [];\n const updatePaths = () => {\n this.$emit('path_changed', inst.getPath());\n };\n eventListeners.push([mvcPath, mvcPath.addListener('insert_at', updatePaths)]);\n eventListeners.push([mvcPath, mvcPath.addListener('remove_at', updatePaths)]);\n eventListeners.push([mvcPath, mvcPath.addListener('set_at', updatePaths)]);\n clearEvents = () => {\n eventListeners.map(([obj, listenerHandle] // eslint-disable-line no-unused-vars\n ) => google.maps.event.removeListener(listenerHandle));\n };\n }\n }, {\n deep: this.deepWatch,\n immediate: true\n });\n }\n}));\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/polygon.js?"); 63 64/***/ }), 65
vendor: 2,801 bytes, lines 66-76
66/***/ "./node_modules/@fawmi/vue-google-maps/src/components/polyline.js": 67/*!************************************************************************!*\ 68 !*** ./node_modules/@fawmi/vue-google-maps/src/components/polyline.js ***! 69 \************************************************************************/ 70/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 71 72"use strict"; 73eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _build_component_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./build-component.js */ \"./node_modules/@fawmi/vue-google-maps/src/components/build-component.js\");\n\n\nconst props = {\n draggable: {\n type: Boolean\n },\n editable: {\n type: Boolean\n },\n options: {\n twoWay: false,\n type: Object\n },\n path: {\n type: Array,\n twoWay: true\n }\n};\nconst events = ['click', 'dblclick', 'drag', 'dragend', 'dragstart', 'mousedown', 'mousemove', 'mouseout', 'mouseover', 'mouseup', 'rightclick'];\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,_build_component_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n mappedProps: props,\n props: {\n deepWatch: {\n type: Boolean,\n default: false\n }\n },\n events,\n name: 'polyline',\n ctr: () => google.maps.Polyline,\n afterCreate() {\n let clearEvents = () => {};\n this.$watch('path', path => {\n if (path) {\n clearEvents();\n this.$polylineObject.setPath(path);\n const mvcPath = this.$polylineObject.getPath();\n const eventListeners = [];\n const updatePaths = () => {\n this.$emit('path_changed', this.$polylineObject.getPath());\n };\n eventListeners.push([mvcPath, mvcPath.addListener('insert_at', updatePaths)]);\n eventListeners.push([mvcPath, mvcPath.addListener('remove_at', updatePaths)]);\n eventListeners.push([mvcPath, mvcPath.addListener('set_at', updatePaths)]);\n clearEvents = () => {\n eventListeners.map(([obj, listenerHandle] // eslint-disable-line no-unused-vars\n ) => google.maps.event.removeListener(listenerHandle));\n };\n }\n }, {\n deep: this.deepWatch,\n immediate: true\n });\n }\n}));\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/polyline.js?"); 74 75/***/ }), 76
vendor: 1,427 bytes, lines 77-87
77/***/ "./node_modules/@fawmi/vue-google-maps/src/components/rectangle.js": 78/*!*************************************************************************!*\ 79 !*** ./node_modules/@fawmi/vue-google-maps/src/components/rectangle.js ***! 80 \*************************************************************************/ 81/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 82 83"use strict"; 84eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _build_component_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./build-component.js */ \"./node_modules/@fawmi/vue-google-maps/src/components/build-component.js\");\n\nconst props = {\n bounds: {\n type: Object,\n twoWay: true\n },\n draggable: {\n type: Boolean,\n default: false\n },\n editable: {\n type: Boolean,\n default: false\n },\n options: {\n type: Object,\n twoWay: false\n }\n};\nconst events = ['click', 'dblclick', 'drag', 'dragend', 'dragstart', 'mousedown', 'mousemove', 'mouseout', 'mouseover', 'mouseup', 'rightclick'];\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,_build_component_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n mappedProps: props,\n name: 'rectangle',\n ctr: () => google.maps.Rectangle,\n events\n}));\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/rectangle.js?"); 85 86/***/ }), 87
vendor: 1,568 bytes, lines 88-98
88/***/ "./node_modules/@fawmi/vue-google-maps/src/load-google-maps.js": 89/*!*********************************************************************!*\ 90 !*** ./node_modules/@fawmi/vue-google-maps/src/load-google-maps.js ***! 91 \*********************************************************************/ 92/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 93 94"use strict"; 95eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadGMapApi: function() { return /* binding */ loadGMapApi; }\n/* harmony export */ });\n/* harmony import */ var _utils_env__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/env */ \"./node_modules/@fawmi/vue-google-maps/src/utils/env.js\");\n/* harmony import */ var _utils_create_map_script__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils/create-map-script */ \"./node_modules/@fawmi/vue-google-maps/src/utils/create-map-script.js\");\n\n\nlet isApiSetUp = false;\nfunction loadGMapApi(options) {\n if (_utils_env__WEBPACK_IMPORTED_MODULE_0__.Env.isServer()) {\n return;\n }\n if (!isApiSetUp) {\n isApiSetUp = true;\n const googleMapScript = (0,_utils_create_map_script__WEBPACK_IMPORTED_MODULE_1__.createMapScript)(options);\n document.head.appendChild(googleMapScript);\n } else {\n throw new Error('You already started the loading of google maps');\n }\n}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/load-google-maps.js?"); 96 97/***/ }), 98
vendor: 9,301 bytes, lines 99-109
99/***/ "./node_modules/@fawmi/vue-google-maps/src/main.js": 100/*!*********************************************************!*\ 101 !*** ./node_modules/@fawmi/vue-google-maps/src/main.js ***! 102 \*********************************************************/ 103/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 104 105"use strict"; 106eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Autocomplete: function() { return /* reexport safe */ _components_autocomplete_vue__WEBPACK_IMPORTED_MODULE_12__[\"default\"]; },\n/* harmony export */ Circle: function() { return /* reexport safe */ _components_circle__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; },\n/* harmony export */ GMapCluster: function() { return /* reexport safe */ _components_cluster_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]; },\n/* harmony export */ Heatmap: function() { return /* reexport safe */ _components_heatmap__WEBPACK_IMPORTED_MODULE_11__[\"default\"]; },\n/* harmony export */ InfoWindow: function() { return /* reexport safe */ _components_infoWindow_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"]; },\n/* harmony export */ Map: function() { return /* reexport safe */ _components_map_vue__WEBPACK_IMPORTED_MODULE_10__[\"default\"]; },\n/* harmony export */ MapElementMixin: function() { return /* reexport safe */ _components_mapElementMixin__WEBPACK_IMPORTED_MODULE_13__[\"default\"]; },\n/* harmony export */ Marker: function() { return /* reexport safe */ _components_marker_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]; },\n/* harmony export */ MountableMixin: function() { return /* reexport safe */ _utils_mountableMixin__WEBPACK_IMPORTED_MODULE_15__[\"default\"]; },\n/* harmony export */ Polygon: function() { return /* reexport safe */ _components_polygon__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; },\n/* harmony export */ Polyline: function() { return /* reexport safe */ _components_polyline__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; },\n/* harmony export */ Rectangle: function() { return /* reexport safe */ _components_rectangle__WEBPACK_IMPORTED_MODULE_6__[\"default\"]; },\n/* harmony export */ buildComponent: function() { return /* reexport safe */ _components_build_component__WEBPACK_IMPORTED_MODULE_14__[\"default\"]; },\n/* harmony export */ \"default\": function() { return /* binding */ install; },\n/* harmony export */ loadGMapApi: function() { return /* reexport safe */ _load_google_maps__WEBPACK_IMPORTED_MODULE_1__.loadGMapApi; }\n/* harmony export */ });\n/* harmony import */ var _utils_lazyValue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/lazyValue */ \"./node_modules/@fawmi/vue-google-maps/src/utils/lazyValue.js\");\n/* harmony import */ var _load_google_maps__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./load-google-maps */ \"./node_modules/@fawmi/vue-google-maps/src/load-google-maps.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n/* harmony import */ var _components_polyline__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./components/polyline */ \"./node_modules/@fawmi/vue-google-maps/src/components/polyline.js\");\n/* harmony import */ var _components_polygon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./components/polygon */ \"./node_modules/@fawmi/vue-google-maps/src/components/polygon.js\");\n/* harmony import */ var _components_circle__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./components/circle */ \"./node_modules/@fawmi/vue-google-maps/src/components/circle.js\");\n/* harmony import */ var _components_rectangle__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./components/rectangle */ \"./node_modules/@fawmi/vue-google-maps/src/components/rectangle.js\");\n/* harmony import */ var _components_marker_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./components/marker.vue */ \"./node_modules/@fawmi/vue-google-maps/src/components/marker.vue\");\n/* harmony import */ var _components_cluster_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./components/cluster.vue */ \"./node_modules/@fawmi/vue-google-maps/src/components/cluster.vue\");\n/* harmony import */ var _components_infoWindow_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./components/infoWindow.vue */ \"./node_modules/@fawmi/vue-google-maps/src/components/infoWindow.vue\");\n/* harmony import */ var _components_map_vue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./components/map.vue */ \"./node_modules/@fawmi/vue-google-maps/src/components/map.vue\");\n/* harmony import */ var _components_heatmap__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./components/heatmap */ \"./node_modules/@fawmi/vue-google-maps/src/components/heatmap.js\");\n/* harmony import */ var _components_autocomplete_vue__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./components/autocomplete.vue */ \"./node_modules/@fawmi/vue-google-maps/src/components/autocomplete.vue\");\n/* harmony import */ var _components_mapElementMixin__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./components/mapElementMixin */ \"./node_modules/@fawmi/vue-google-maps/src/components/mapElementMixin.js\");\n/* harmony import */ var _components_build_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./components/build-component */ \"./node_modules/@fawmi/vue-google-maps/src/components/build-component.js\");\n/* harmony import */ var _utils_mountableMixin__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./utils/mountableMixin */ \"./node_modules/@fawmi/vue-google-maps/src/utils/mountableMixin.js\");\n/* harmony import */ var _utils_env__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./utils/env */ \"./node_modules/@fawmi/vue-google-maps/src/utils/env.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nlet GMapApi = null;\n\nfunction install(Vue, options) {\n options = {\n installComponents: true,\n autobindAllEvents: false,\n ...options\n };\n GMapApi = (0,vue__WEBPACK_IMPORTED_MODULE_2__.createApp)({\n data: function () {\n return {\n gmapApi: null\n };\n }\n });\n const defaultResizeBus = (0,vue__WEBPACK_IMPORTED_MODULE_2__.createApp)();\n\n // Use a lazy to only load the API when\n // a VGM component is loaded\n let gmapApiPromiseLazy = makeGMapApiPromiseLazy(options);\n Vue.mixin({\n created() {\n this.$gmapDefaultResizeBus = defaultResizeBus;\n this.$gmapOptions = options;\n this.$gmapApiPromiseLazy = gmapApiPromiseLazy;\n }\n });\n Vue.$gmapDefaultResizeBus = defaultResizeBus;\n Vue.$gmapApiPromiseLazy = gmapApiPromiseLazy;\n if (options.installComponents) {\n Vue.component('GMapMap', _components_map_vue__WEBPACK_IMPORTED_MODULE_10__[\"default\"]);\n Vue.component('GMapMarker', _components_marker_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]);\n Vue.component('GMapInfoWindow', _components_infoWindow_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"]);\n Vue.component('GMapCluster', _components_cluster_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]);\n Vue.component('GMapPolyline', _components_polyline__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\n Vue.component('GMapPolygon', _components_polygon__WEBPACK_IMPORTED_MODULE_4__[\"default\"]);\n Vue.component('GMapCircle', _components_circle__WEBPACK_IMPORTED_MODULE_5__[\"default\"]);\n Vue.component('GMapRectangle', _components_rectangle__WEBPACK_IMPORTED_MODULE_6__[\"default\"]);\n Vue.component('GMapAutocomplete', _components_autocomplete_vue__WEBPACK_IMPORTED_MODULE_12__[\"default\"]);\n Vue.component('GMapHeatmap', _components_heatmap__WEBPACK_IMPORTED_MODULE_11__[\"default\"]);\n }\n}\nfunction makeGMapApiPromiseLazy(options) {\n // Things to do once the API is loaded\n function onApiLoaded() {\n GMapApi.gmapApi = {};\n return window.google;\n }\n if (options.load) {\n // If library should load the API\n return (0,_utils_lazyValue__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(() => {\n // Load the\n // This will only be evaluated once\n if (_utils_env__WEBPACK_IMPORTED_MODULE_16__.Env.isServer()) {\n return new Promise(() => {}).then(onApiLoaded);\n } else {\n return new Promise((resolve, reject) => {\n try {\n window['vueGoogleMapsInit'] = resolve;\n (0,_load_google_maps__WEBPACK_IMPORTED_MODULE_1__.loadGMapApi)(options.load);\n } catch (err) {\n reject(err);\n }\n }).then(onApiLoaded);\n }\n });\n } else {\n // If library should not handle API, provide\n // end-users with the global `vueGoogleMapsInit: () => undefined`\n // when the Google Maps API has been loaded\n const promise = new Promise(resolve => {\n if (_utils_env__WEBPACK_IMPORTED_MODULE_16__.Env.isServer()) {\n return;\n }\n window['vueGoogleMapsInit'] = resolve;\n }).then(onApiLoaded);\n return (0,_utils_lazyValue__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(() => promise);\n }\n}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/main.js?"); 107 108/***/ }), 109
vendor: 2,289 bytes, lines 110-120
110/***/ "./node_modules/@fawmi/vue-google-maps/src/utils/TwoWayBindingWrapper.js": 111/*!*******************************************************************************!*\ 112 !*** ./node_modules/@fawmi/vue-google-maps/src/utils/TwoWayBindingWrapper.js ***! 113 \*******************************************************************************/ 114/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 115 116"use strict"; 117eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": function() { return /* binding */ TwoWayBindingWrapper; }\n/* harmony export */ });\n/**\n * When you have two-way bindings, but the actual bound value will not equal\n * the value you initially passed in, then to avoid an infinite loop you\n * need to increment a counter every time you pass in a value, decrement the\n * same counter every time the bound value changed, but only bubble up\n * the event when the counter is zero.\n *\nExample:\n\nLet's say DrawingRecognitionCanvas is a deep-learning backed canvas\nthat, when given the name of an object (e.g. 'dog'), draws a dog.\nBut whenever the drawing on it changes, it also sends back its interpretation\nof the image by way of the @newObjectRecognized event.\n\n<input\n type=\"text\"\n placeholder=\"an object, e.g. Dog, Cat, Frog\"\n v-model=\"identifiedObject\" />\n<DrawingRecognitionCanvas\n :object=\"identifiedObject\"\n @newObjectRecognized=\"identifiedObject = $event\"\n />\n\nnew TwoWayBindingWrapper((increment, decrement, shouldUpdate) => {\n this.$watch('identifiedObject', () => {\n // new object passed in\n increment()\n })\n this.$deepLearningBackend.on('drawingChanged', () => {\n recognizeObject(this.$deepLearningBackend)\n .then((object) => {\n decrement()\n if (shouldUpdate()) {\n this.$emit('newObjectRecognized', object.name)\n }\n })\n })\n})\n */\nfunction TwoWayBindingWrapper(fn) {\n let counter = 0;\n fn(() => {\n counter += 1;\n }, () => {\n counter = Math.max(0, counter - 1);\n }, () => counter === 0);\n}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/utils/TwoWayBindingWrapper.js?"); 118 119/***/ }), 120
vendor: 1,534 bytes, lines 121-131
121/***/ "./node_modules/@fawmi/vue-google-maps/src/utils/WatchPrimitiveProperties.js": 122/*!***********************************************************************************!*\ 123 !*** ./node_modules/@fawmi/vue-google-maps/src/utils/WatchPrimitiveProperties.js ***! 124 \***********************************************************************************/ 125/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 126 127"use strict"; 128eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": function() { return /* binding */ WatchPrimitiveProperties; }\n/* harmony export */ });\n/**\n * Watch the individual properties of a PoD object, instead of the object\n * per se. This is different from a deep watch where both the reference\n * and the individual values are watched.\n *\n * In effect, it throttles the multiple $watch to execute at most once per tick.\n */\nfunction WatchPrimitiveProperties(vueInst, propertiesToTrack, handler, immediate = false) {\n let isHandled = false;\n function requestHandle() {\n if (!isHandled) {\n isHandled = true;\n vueInst.$nextTick(() => {\n isHandled = false;\n handler();\n });\n }\n }\n for (let prop of propertiesToTrack) {\n vueInst.$watch(prop, requestHandle, {\n immediate\n });\n }\n}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/utils/WatchPrimitiveProperties.js?"); 129 130/***/ }), 131
vendor: 1,224 bytes, lines 132-142
132/***/ "./node_modules/@fawmi/vue-google-maps/src/utils/bindEvents.js": 133/*!*********************************************************************!*\ 134 !*** ./node_modules/@fawmi/vue-google-maps/src/utils/bindEvents.js ***! 135 \*********************************************************************/ 136/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 137 138"use strict"; 139eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = ((vueInst, googleMapsInst, events) => {\n for (let eventName of events) {\n const propName = `on${eventName.charAt(0).toUpperCase()}${eventName.slice(1)}`.replace(/[-_]+(.)?/g, (_, c) => c ? c.toUpperCase() : '');\n if (vueInst.$props[propName] || vueInst.$attrs[propName]) {\n googleMapsInst.addListener(eventName, ev => {\n vueInst.$emit(eventName, ev);\n });\n } else if (vueInst.$gmapOptions.autobindAllEvents || vueInst.$attrs[eventName]) {\n googleMapsInst.addListener(eventName, ev => {\n vueInst.$emit(eventName, ev);\n });\n }\n }\n});\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/utils/bindEvents.js?"); 140 141/***/ }), 142
vendor: 3,618 bytes, lines 143-153
143/***/ "./node_modules/@fawmi/vue-google-maps/src/utils/bindProps.js": 144/*!********************************************************************!*\ 145 !*** ./node_modules/@fawmi/vue-google-maps/src/utils/bindProps.js ***! 146 \********************************************************************/ 147/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 148 149"use strict"; 150eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ bindProps: function() { return /* binding */ bindProps; },\n/* harmony export */ getPropsValues: function() { return /* binding */ getPropsValues; }\n/* harmony export */ });\n/* harmony import */ var _utils_WatchPrimitiveProperties__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/WatchPrimitiveProperties */ \"./node_modules/@fawmi/vue-google-maps/src/utils/WatchPrimitiveProperties.js\");\n/* harmony import */ var _string__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./string */ \"./node_modules/@fawmi/vue-google-maps/src/utils/string.js\");\n\n\nfunction getPropsValues(vueInst, props) {\n return Object.keys(props).reduce((acc, prop) => {\n if (vueInst[prop] !== undefined) {\n acc[prop] = vueInst[prop];\n }\n return acc;\n }, {});\n}\n\n/**\n * Binds the properties defined in props to the google maps instance.\n * If the prop is an Object type, and we wish to track the properties\n * of the object (e.g. the lat and lng of a LatLng), then we do a deep\n * watch. For deep watch, we also prevent the _changed event from being\n * $emitted if the data source was external.\n */\nfunction bindProps(vueInst, googleMapsInst, props) {\n for (let attribute in props) {\n let {\n twoWay,\n type,\n trackProperties,\n noBind\n } = props[attribute];\n if (noBind) continue;\n const setMethodName = 'set' + _string__WEBPACK_IMPORTED_MODULE_1__.Str.capitalizeFirstLetter(attribute);\n const getMethodName = 'get' + _string__WEBPACK_IMPORTED_MODULE_1__.Str.capitalizeFirstLetter(attribute);\n const eventName = attribute.toLowerCase() + '_changed';\n const initialValue = vueInst[attribute];\n if (typeof googleMapsInst[setMethodName] === 'undefined') {\n throw new Error(`${setMethodName} is not a method of (the Maps object corresponding to) ${vueInst.$options._componentTag}`);\n }\n\n // We need to avoid an endless\n // propChanged -> event $emitted -> propChanged -> event $emitted loop\n // although this may really be the user's responsibility\n if (type !== Object || !trackProperties) {\n // Track the object deeply\n vueInst.$watch(attribute, () => {\n const attributeValue = vueInst[attribute];\n googleMapsInst[setMethodName](attributeValue);\n }, {\n immediate: typeof initialValue !== 'undefined',\n deep: type === Object\n });\n } else {\n (0,_utils_WatchPrimitiveProperties__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(vueInst, trackProperties.map(prop => `${attribute}.${prop}`), () => {\n googleMapsInst[setMethodName](vueInst[attribute]);\n }, vueInst[attribute] !== undefined);\n }\n if (twoWay && (vueInst.$gmapOptions.autobindAllEvents || vueInst.$attrs[eventName])) {\n googleMapsInst.addListener(eventName, () => {\n // eslint-disable-line no-unused-vars\n vueInst.$emit(eventName, googleMapsInst[getMethodName]());\n });\n }\n }\n}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/utils/bindProps.js?"); 151 152/***/ }), 153
vendor: 1,620 bytes, lines 154-164
154/***/ "./node_modules/@fawmi/vue-google-maps/src/utils/create-map-script.js": 155/*!****************************************************************************!*\ 156 !*** ./node_modules/@fawmi/vue-google-maps/src/utils/create-map-script.js ***! 157 \****************************************************************************/ 158/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 159 160"use strict"; 161eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createMapScript: function() { return /* binding */ createMapScript; }\n/* harmony export */ });\nfunction createMapScript(options) {\n const googleMapScript = document.createElement('SCRIPT');\n if (typeof options !== 'object') {\n throw new Error('options should be an object');\n }\n\n // libraries\n /* eslint-disable no-prototype-builtins */\n if (Array.prototype.isPrototypeOf(options.libraries)) {\n options.libraries = options.libraries.join(',');\n }\n if (!options.v) {\n options.v = 3.47;\n }\n options['callback'] = 'vueGoogleMapsInit';\n let baseUrl = 'https://maps.googleapis.com/maps/api/js?';\n let url = baseUrl + Object.keys(options).map(key => encodeURIComponent(key) + '=' + encodeURIComponent(options[key])).join('&');\n googleMapScript.setAttribute('src', url);\n googleMapScript.setAttribute('async', '');\n googleMapScript.setAttribute('defer', '');\n return googleMapScript;\n}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/utils/create-map-script.js?"); 162 163/***/ }), 164
vendor: 783 bytes, lines 165-175
165/***/ "./node_modules/@fawmi/vue-google-maps/src/utils/env.js": 166/*!**************************************************************!*\ 167 !*** ./node_modules/@fawmi/vue-google-maps/src/utils/env.js ***! 168 \**************************************************************/ 169/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 170 171"use strict"; 172eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Env: function() { return /* binding */ Env; }\n/* harmony export */ });\nclass Env {\n static isServer() {\n return typeof document === 'undefined';\n }\n}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/utils/env.js?"); 173 174/***/ }), 175
vendor: 826 bytes, lines 176-186
176/***/ "./node_modules/@fawmi/vue-google-maps/src/utils/lazyValue.js": 177/*!********************************************************************!*\ 178 !*** ./node_modules/@fawmi/vue-google-maps/src/utils/lazyValue.js ***! 179 \********************************************************************/ 180/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 181 182"use strict"; 183eval("__webpack_require__.r(__webpack_exports__);\n// lazy-value by sindresorhus\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (fn => {\n let called = false;\n let result;\n return () => {\n if (!called) {\n called = true;\n result = fn();\n }\n return result;\n };\n});\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/utils/lazyValue.js?"); 184 185/***/ }), 186
vendor: 2,043 bytes, lines 187-197
187/***/ "./node_modules/@fawmi/vue-google-maps/src/utils/mountableMixin.js": 188/*!*************************************************************************!*\ 189 !*** ./node_modules/@fawmi/vue-google-maps/src/utils/mountableMixin.js ***! 190 \*************************************************************************/ 191/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 192 193"use strict"; 194eval("__webpack_require__.r(__webpack_exports__);\n/*\nMixin for objects that are mounted by Google Maps\nJavascript API.\n\nThese are objects that are sensitive to element resize\noperations so it exposes a property which accepts a bus\n\n*/\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n props: ['resizeBus'],\n data() {\n return {\n _actualResizeBus: null\n };\n },\n created() {\n if (typeof this.resizeBus === 'undefined') {\n this.$data._actualResizeBus = this.$gmapDefaultResizeBus;\n } else {\n this.$data._actualResizeBus = this.resizeBus;\n }\n },\n methods: {\n _resizeCallback() {\n this.resize();\n },\n isFunction(functionToCheck) {\n return functionToCheck && {}.toString.call(functionToCheck) === '[object Function]';\n },\n _delayedResizeCallback() {\n this.$nextTick(() => this._resizeCallback());\n }\n },\n watch: {\n resizeBus(newVal) {\n // eslint-disable-line no-unused-vars\n this.$data._actualResizeBus = newVal;\n },\n '$data._actualResizeBus'(newVal, oldVal) {\n if (oldVal) {\n oldVal.$off('resize', this._delayedResizeCallback);\n }\n if (newVal) {\n // newVal.$on('resize', this._delayedResizeCallback)\n }\n }\n },\n unmounted() {\n if (this.$data._actualResizeBus && this.isFunction(this.$data._actualResizeBus.$off)) {\n this.$data._actualResizeBus.$off('resize', this._delayedResizeCallback);\n }\n }\n});\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/utils/mountableMixin.js?"); 195 196/***/ }), 197
vendor: 1,865 bytes, lines 198-208
198/***/ "./node_modules/@fawmi/vue-google-maps/src/utils/simulateArrowDown.js": 199/*!****************************************************************************!*\ 200 !*** ./node_modules/@fawmi/vue-google-maps/src/utils/simulateArrowDown.js ***! 201 \****************************************************************************/ 202/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 203 204"use strict"; 205eval("__webpack_require__.r(__webpack_exports__);\n// This piece of code was orignally written by amirnissim and can be seen here\n// http://stackoverflow.com/a/11703018/2694653\n// This has been ported to Vanilla.js by GuillaumeLeclerc\n/* harmony default export */ __webpack_exports__[\"default\"] = (input => {\n const _addEventListener = input.addEventListener ? input.addEventListener : input.attachEvent;\n function addEventListenerWrapper(type, listener) {\n // Simulate a 'down arrow' keypress on hitting 'return' when no pac suggestion is selected,\n // and then trigger the original listener.\n if (type === 'keydown') {\n const origListener = listener;\n listener = function (event) {\n const suggestionSelected = document.getElementsByClassName('pac-item-selected').length > 0;\n if (event.which === 13 && !suggestionSelected) {\n const simulatedEvent = document.createEvent('Event');\n simulatedEvent.keyCode = 40;\n simulatedEvent.which = 40;\n origListener.apply(input, [simulatedEvent]);\n }\n origListener.apply(input, [event]);\n };\n }\n _addEventListener.apply(input, [type, listener]);\n }\n input.addEventListener = addEventListenerWrapper;\n input.attachEvent = addEventListenerWrapper;\n});\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/utils/simulateArrowDown.js?"); 206 207/***/ }), 208
vendor: 834 bytes, lines 209-219
209/***/ "./node_modules/@fawmi/vue-google-maps/src/utils/string.js": 210/*!*****************************************************************!*\ 211 !*** ./node_modules/@fawmi/vue-google-maps/src/utils/string.js ***! 212 \*****************************************************************/ 213/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 214 215"use strict"; 216eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Str: function() { return /* binding */ Str; }\n/* harmony export */ });\nclass Str {\n static capitalizeFirstLetter(string) {\n return string.charAt(0).toUpperCase() + string.slice(1);\n }\n}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/utils/string.js?"); 217 218/***/ }), 219
vendor: 37,872 bytes, lines 220-230
220/***/ "./node_modules/@googlemaps/markerclusterer/dist/index.esm.js": 221/*!********************************************************************!*\ 222 !*** ./node_modules/@googlemaps/markerclusterer/dist/index.esm.js ***! 223 \********************************************************************/ 224/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 225 226"use strict"; 227eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ AbstractAlgorithm: function() { return /* binding */ AbstractAlgorithm; },\n/* harmony export */ AbstractViewportAlgorithm: function() { return /* binding */ AbstractViewportAlgorithm; },\n/* harmony export */ Cluster: function() { return /* binding */ Cluster; },\n/* harmony export */ ClusterStats: function() { return /* binding */ ClusterStats; },\n/* harmony export */ DefaultRenderer: function() { return /* binding */ DefaultRenderer; },\n/* harmony export */ GridAlgorithm: function() { return /* binding */ GridAlgorithm; },\n/* harmony export */ MarkerClusterer: function() { return /* binding */ MarkerClusterer; },\n/* harmony export */ MarkerClustererEvents: function() { return /* binding */ MarkerClustererEvents; },\n/* harmony export */ MarkerUtils: function() { return /* binding */ MarkerUtils; },\n/* harmony export */ NoopAlgorithm: function() { return /* binding */ NoopAlgorithm; },\n/* harmony export */ SuperClusterAlgorithm: function() { return /* binding */ SuperClusterAlgorithm; },\n/* harmony export */ SuperClusterViewportAlgorithm: function() { return /* binding */ SuperClusterViewportAlgorithm; },\n/* harmony export */ defaultOnClusterClickHandler: function() { return /* binding */ defaultOnClusterClickHandler; },\n/* harmony export */ distanceBetweenPoints: function() { return /* binding */ distanceBetweenPoints; },\n/* harmony export */ extendBoundsToPaddedViewport: function() { return /* binding */ extendBoundsToPaddedViewport; },\n/* harmony export */ extendPixelBounds: function() { return /* binding */ extendPixelBounds; },\n/* harmony export */ filterMarkersToPaddedViewport: function() { return /* binding */ filterMarkersToPaddedViewport; },\n/* harmony export */ getPaddedViewport: function() { return /* binding */ getPaddedViewport; },\n/* harmony export */ noop: function() { return /* binding */ noop; },\n/* harmony export */ pixelBoundsToLatLngBounds: function() { return /* binding */ pixelBoundsToLatLngBounds; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_exception_stack_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-exception.stack.js */ \"./node_modules/core-js/modules/web.dom-exception.stack.js\");\n/* harmony import */ var core_js_modules_web_dom_exception_stack_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_exception_stack_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var fast_deep_equal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! fast-deep-equal */ \"./node_modules/fast-deep-equal/index.js\");\n/* harmony import */ var fast_deep_equal__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(fast_deep_equal__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var supercluster__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! supercluster */ \"./node_modules/supercluster/index.js\");\n\n\n\n\n\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\n\nfunction __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n}\n\n/**\n * Copyright 2023 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * util class that creates a common set of convenience functions to wrap\n * shared behavior of Advanced Markers and Markers.\n */\nclass MarkerUtils {\n static isAdvancedMarkerAvailable(map) {\n return google.maps.marker && map.getMapCapabilities().isAdvancedMarkersAvailable === true;\n }\n static isAdvancedMarker(marker) {\n return google.maps.marker && marker instanceof google.maps.marker.AdvancedMarkerElement;\n }\n static setMap(marker, map) {\n if (this.isAdvancedMarker(marker)) {\n marker.map = map;\n } else {\n marker.setMap(map);\n }\n }\n static getPosition(marker) {\n // SuperClusterAlgorithm.calculate expects a LatLng instance so we fake it for Adv Markers\n if (this.isAdvancedMarker(marker)) {\n if (marker.position) {\n if (marker.position instanceof google.maps.LatLng) {\n return marker.position;\n }\n // since we can't cast to LatLngLiteral for reasons =(\n if (marker.position.lat && marker.position.lng) {\n return new google.maps.LatLng(marker.position.lat, marker.position.lng);\n }\n }\n return new google.maps.LatLng(null);\n }\n return marker.getPosition();\n }\n static getVisible(marker) {\n if (this.isAdvancedMarker(marker)) {\n /**\n * Always return true for Advanced Markers because the clusterer\n * uses getVisible as a way to count legacy markers not as an actual\n * indicator of visibility for some reason. Even when markers are hidden\n * Marker.getVisible returns `true` and this is used to set the marker count\n * on the cluster. See the behavior of Cluster.count\n */\n return true;\n }\n return marker.getVisible();\n }\n}\n\n/**\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nclass Cluster {\n constructor({\n markers,\n position\n }) {\n this.markers = markers;\n if (position) {\n if (position instanceof google.maps.LatLng) {\n this._position = position;\n } else {\n this._position = new google.maps.LatLng(position);\n }\n }\n }\n get bounds() {\n if (this.markers.length === 0 && !this._position) {\n return;\n }\n const bounds = new google.maps.LatLngBounds(this._position, this._position);\n for (const marker of this.markers) {\n bounds.extend(MarkerUtils.getPosition(marker));\n }\n return bounds;\n }\n get position() {\n return this._position || this.bounds.getCenter();\n }\n /**\n * Get the count of **visible** markers.\n */\n get count() {\n return this.markers.filter(m => MarkerUtils.getVisible(m)).length;\n }\n /**\n * Add a marker to the cluster.\n */\n push(marker) {\n this.markers.push(marker);\n }\n /**\n * Cleanup references and remove marker from map.\n */\n delete() {\n if (this.marker) {\n MarkerUtils.setMap(this.marker, null);\n this.marker = undefined;\n }\n this.markers.length = 0;\n }\n}\n\n/**\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * Returns the markers visible in a padded map viewport\n *\n * @param map\n * @param mapCanvasProjection\n * @param markers The list of marker to filter\n * @param viewportPaddingPixels The padding in pixel\n * @returns The list of markers in the padded viewport\n */\nconst filterMarkersToPaddedViewport = (map, mapCanvasProjection, markers, viewportPaddingPixels) => {\n const extendedMapBounds = extendBoundsToPaddedViewport(map.getBounds(), mapCanvasProjection, viewportPaddingPixels);\n return markers.filter(marker => extendedMapBounds.contains(MarkerUtils.getPosition(marker)));\n};\n/**\n * Extends a bounds by a number of pixels in each direction\n */\nconst extendBoundsToPaddedViewport = (bounds, projection, numPixels) => {\n const {\n northEast,\n southWest\n } = latLngBoundsToPixelBounds(bounds, projection);\n const extendedPixelBounds = extendPixelBounds({\n northEast,\n southWest\n }, numPixels);\n return pixelBoundsToLatLngBounds(extendedPixelBounds, projection);\n};\n/**\n * Gets the extended bounds as a bbox [westLng, southLat, eastLng, northLat]\n */\nconst getPaddedViewport = (bounds, projection, pixels) => {\n const extended = extendBoundsToPaddedViewport(bounds, projection, pixels);\n const ne = extended.getNorthEast();\n const sw = extended.getSouthWest();\n return [sw.lng(), sw.lat(), ne.lng(), ne.lat()];\n};\n/**\n * Returns the distance between 2 positions.\n *\n * @hidden\n */\nconst distanceBetweenPoints = (p1, p2) => {\n const R = 6371; // Radius of the Earth in km\n const dLat = (p2.lat - p1.lat) * Math.PI / 180;\n const dLon = (p2.lng - p1.lng) * Math.PI / 180;\n const sinDLat = Math.sin(dLat / 2);\n const sinDLon = Math.sin(dLon / 2);\n const a = sinDLat * sinDLat + Math.cos(p1.lat * Math.PI / 180) * Math.cos(p2.lat * Math.PI / 180) * sinDLon * sinDLon;\n const c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));\n return R * c;\n};\n/**\n * Converts a LatLng bound to pixels.\n *\n * @hidden\n */\nconst latLngBoundsToPixelBounds = (bounds, projection) => {\n return {\n northEast: projection.fromLatLngToDivPixel(bounds.getNorthEast()),\n southWest: projection.fromLatLngToDivPixel(bounds.getSouthWest())\n };\n};\n/**\n * Extends a pixel bounds by numPixels in all directions.\n *\n * @hidden\n */\nconst extendPixelBounds = ({\n northEast,\n southWest\n}, numPixels) => {\n northEast.x += numPixels;\n northEast.y -= numPixels;\n southWest.x -= numPixels;\n southWest.y += numPixels;\n return {\n northEast,\n southWest\n };\n};\n/**\n * @hidden\n */\nconst pixelBoundsToLatLngBounds = ({\n northEast,\n southWest\n}, projection) => {\n const sw = projection.fromDivPixelToLatLng(southWest);\n const ne = projection.fromDivPixelToLatLng(northEast);\n return new google.maps.LatLngBounds(sw, ne);\n};\n\n/**\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * @hidden\n */\nclass AbstractAlgorithm {\n constructor({\n maxZoom = 16\n }) {\n this.maxZoom = maxZoom;\n }\n /**\n * Helper function to bypass clustering based upon some map state such as\n * zoom, number of markers, etc.\n *\n * ```typescript\n * cluster({markers, map}: AlgorithmInput): Cluster[] {\n * if (shouldBypassClustering(map)) {\n * return this.noop({markers})\n * }\n * }\n * ```\n */\n noop({\n markers\n }) {\n return noop(markers);\n }\n}\n/**\n * Abstract viewport algorithm proves a class to filter markers by a padded\n * viewport. This is a common optimization.\n *\n * @hidden\n */\nclass AbstractViewportAlgorithm extends AbstractAlgorithm {\n constructor(_a) {\n var {\n viewportPadding = 60\n } = _a,\n options = __rest(_a, [\"viewportPadding\"]);\n super(options);\n this.viewportPadding = 60;\n this.viewportPadding = viewportPadding;\n }\n calculate({\n markers,\n map,\n mapCanvasProjection\n }) {\n if (map.getZoom() >= this.maxZoom) {\n return {\n clusters: this.noop({\n markers\n }),\n changed: false\n };\n }\n return {\n clusters: this.cluster({\n markers: filterMarkersToPaddedViewport(map, mapCanvasProjection, markers, this.viewportPadding),\n map,\n mapCanvasProjection\n })\n };\n }\n}\n/**\n * @hidden\n */\nconst noop = markers => {\n const clusters = markers.map(marker => new Cluster({\n position: MarkerUtils.getPosition(marker),\n markers: [marker]\n }));\n return clusters;\n};\n\n/**\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * The default Grid algorithm historically used in Google Maps marker\n * clustering.\n *\n * The Grid algorithm does not implement caching and markers may flash as the\n * viewport changes. Instead use {@link SuperClusterAlgorithm}.\n */\nclass GridAlgorithm extends AbstractViewportAlgorithm {\n constructor(_a) {\n var {\n maxDistance = 40000,\n gridSize = 40\n } = _a,\n options = __rest(_a, [\"maxDistance\", \"gridSize\"]);\n super(options);\n this.clusters = [];\n this.state = {\n zoom: -1\n };\n this.maxDistance = maxDistance;\n this.gridSize = gridSize;\n }\n calculate({\n markers,\n map,\n mapCanvasProjection\n }) {\n const state = {\n zoom: map.getZoom()\n };\n let changed = false;\n if (this.state.zoom >= this.maxZoom && state.zoom >= this.maxZoom) ;else {\n changed = !fast_deep_equal__WEBPACK_IMPORTED_MODULE_2___default()(this.state, state);\n }\n this.state = state;\n if (map.getZoom() >= this.maxZoom) {\n return {\n clusters: this.noop({\n markers\n }),\n changed\n };\n }\n return {\n clusters: this.cluster({\n markers: filterMarkersToPaddedViewport(map, mapCanvasProjection, markers, this.viewportPadding),\n map,\n mapCanvasProjection\n })\n };\n }\n cluster({\n markers,\n map,\n mapCanvasProjection\n }) {\n this.clusters = [];\n markers.forEach(marker => {\n this.addToClosestCluster(marker, map, mapCanvasProjection);\n });\n return this.clusters;\n }\n addToClosestCluster(marker, map, projection) {\n let maxDistance = this.maxDistance; // Some large number\n let cluster = null;\n for (let i = 0; i < this.clusters.length; i++) {\n const candidate = this.clusters[i];\n const distance = distanceBetweenPoints(candidate.bounds.getCenter().toJSON(), MarkerUtils.getPosition(marker).toJSON());\n if (distance < maxDistance) {\n maxDistance = distance;\n cluster = candidate;\n }\n }\n if (cluster && extendBoundsToPaddedViewport(cluster.bounds, projection, this.gridSize).contains(MarkerUtils.getPosition(marker))) {\n cluster.push(marker);\n } else {\n const cluster = new Cluster({\n markers: [marker]\n });\n this.clusters.push(cluster);\n }\n }\n}\n\n/**\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * Noop algorithm does not generate any clusters or filter markers by the an extended viewport.\n */\nclass NoopAlgorithm extends AbstractAlgorithm {\n constructor(_a) {\n var options = __rest(_a, []);\n super(options);\n }\n calculate({\n markers,\n map,\n mapCanvasProjection\n }) {\n return {\n clusters: this.cluster({\n markers,\n map,\n mapCanvasProjection\n }),\n changed: false\n };\n }\n cluster(input) {\n return this.noop(input);\n }\n}\n\n/**\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * A very fast JavaScript algorithm for geospatial point clustering using KD trees.\n *\n * @see https://www.npmjs.com/package/supercluster for more information on options.\n */\nclass SuperClusterAlgorithm extends AbstractAlgorithm {\n constructor(_a) {\n var {\n maxZoom,\n radius = 60\n } = _a,\n options = __rest(_a, [\"maxZoom\", \"radius\"]);\n super({\n maxZoom\n });\n this.state = {\n zoom: -1\n };\n this.superCluster = new supercluster__WEBPACK_IMPORTED_MODULE_3__[\"default\"](Object.assign({\n maxZoom: this.maxZoom,\n radius\n }, options));\n }\n calculate(input) {\n let changed = false;\n const state = {\n zoom: input.map.getZoom()\n };\n if (!fast_deep_equal__WEBPACK_IMPORTED_MODULE_2___default()(input.markers, this.markers)) {\n changed = true;\n // TODO use proxy to avoid copy?\n this.markers = [...input.markers];\n const points = this.markers.map(marker => {\n const position = MarkerUtils.getPosition(marker);\n const coordinates = [position.lng(), position.lat()];\n return {\n type: \"Feature\",\n geometry: {\n type: \"Point\",\n coordinates\n },\n properties: {\n marker\n }\n };\n });\n this.superCluster.load(points);\n }\n if (!changed) {\n if (this.state.zoom <= this.maxZoom || state.zoom <= this.maxZoom) {\n changed = !fast_deep_equal__WEBPACK_IMPORTED_MODULE_2___default()(this.state, state);\n }\n }\n this.state = state;\n if (changed) {\n this.clusters = this.cluster(input);\n }\n return {\n clusters: this.clusters,\n changed\n };\n }\n cluster({\n map\n }) {\n return this.superCluster.getClusters([-180, -90, 180, 90], Math.round(map.getZoom())).map(feature => this.transformCluster(feature));\n }\n transformCluster({\n geometry: {\n coordinates: [lng, lat]\n },\n properties\n }) {\n if (properties.cluster) {\n return new Cluster({\n markers: this.superCluster.getLeaves(properties.cluster_id, Infinity).map(leaf => leaf.properties.marker),\n position: {\n lat,\n lng\n }\n });\n }\n const marker = properties.marker;\n return new Cluster({\n markers: [marker],\n position: MarkerUtils.getPosition(marker)\n });\n }\n}\n\n/**\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * A very fast JavaScript algorithm for geospatial point clustering using KD trees.\n *\n * @see https://www.npmjs.com/package/supercluster for more information on options.\n */\nclass SuperClusterViewportAlgorithm extends AbstractViewportAlgorithm {\n constructor(_a) {\n var {\n maxZoom,\n radius = 60,\n viewportPadding = 60\n } = _a,\n options = __rest(_a, [\"maxZoom\", \"radius\", \"viewportPadding\"]);\n super({\n maxZoom,\n viewportPadding\n });\n this.superCluster = new supercluster__WEBPACK_IMPORTED_MODULE_3__[\"default\"](Object.assign({\n maxZoom: this.maxZoom,\n radius\n }, options));\n this.state = {\n zoom: -1,\n view: [0, 0, 0, 0]\n };\n }\n calculate(input) {\n const state = {\n zoom: Math.round(input.map.getZoom()),\n view: getPaddedViewport(input.map.getBounds(), input.mapCanvasProjection, this.viewportPadding)\n };\n let changed = !fast_deep_equal__WEBPACK_IMPORTED_MODULE_2___default()(this.state, state);\n if (!fast_deep_equal__WEBPACK_IMPORTED_MODULE_2___default()(input.markers, this.markers)) {\n changed = true;\n // TODO use proxy to avoid copy?\n this.markers = [...input.markers];\n const points = this.markers.map(marker => {\n const position = MarkerUtils.getPosition(marker);\n const coordinates = [position.lng(), position.lat()];\n return {\n type: \"Feature\",\n geometry: {\n type: \"Point\",\n coordinates\n },\n properties: {\n marker\n }\n };\n });\n this.superCluster.load(points);\n }\n if (changed) {\n this.clusters = this.cluster(input);\n this.state = state;\n }\n return {\n clusters: this.clusters,\n changed\n };\n }\n cluster({\n map,\n mapCanvasProjection\n }) {\n /* recalculate new state because we can't use the cached version. */\n const state = {\n zoom: Math.round(map.getZoom()),\n view: getPaddedViewport(map.getBounds(), mapCanvasProjection, this.viewportPadding)\n };\n return this.superCluster.getClusters(state.view, state.zoom).map(feature => this.transformCluster(feature));\n }\n transformCluster({\n geometry: {\n coordinates: [lng, lat]\n },\n properties\n }) {\n if (properties.cluster) {\n return new Cluster({\n markers: this.superCluster.getLeaves(properties.cluster_id, Infinity).map(leaf => leaf.properties.marker),\n position: {\n lat,\n lng\n }\n });\n }\n const marker = properties.marker;\n return new Cluster({\n markers: [marker],\n position: MarkerUtils.getPosition(marker)\n });\n }\n}\n\n/**\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * Provides statistics on all clusters in the current render cycle for use in {@link Renderer.render}.\n */\nclass ClusterStats {\n constructor(markers, clusters) {\n this.markers = {\n sum: markers.length\n };\n const clusterMarkerCounts = clusters.map(a => a.count);\n const clusterMarkerSum = clusterMarkerCounts.reduce((a, b) => a + b, 0);\n this.clusters = {\n count: clusters.length,\n markers: {\n mean: clusterMarkerSum / clusters.length,\n sum: clusterMarkerSum,\n min: Math.min(...clusterMarkerCounts),\n max: Math.max(...clusterMarkerCounts)\n }\n };\n }\n}\nclass DefaultRenderer {\n /**\n * The default render function for the library used by {@link MarkerClusterer}.\n *\n * Currently set to use the following:\n *\n * ```typescript\n * // change color if this cluster has more markers than the mean cluster\n * const color =\n * count > Math.max(10, stats.clusters.markers.mean)\n * ? \"#ff0000\"\n * : \"#0000ff\";\n *\n * // create svg url with fill color\n * const svg = window.btoa(`\n * <svg fill=\"${color}\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 240 240\">\n * <circle cx=\"120\" cy=\"120\" opacity=\".6\" r=\"70\" />\n * <circle cx=\"120\" cy=\"120\" opacity=\".3\" r=\"90\" />\n * <circle cx=\"120\" cy=\"120\" opacity=\".2\" r=\"110\" />\n * <circle cx=\"120\" cy=\"120\" opacity=\".1\" r=\"130\" />\n * </svg>`);\n *\n * // create marker using svg icon\n * return new google.maps.Marker({\n * position,\n * icon: {\n * url: `data:image/svg+xml;base64,${svg}`,\n * scaledSize: new google.maps.Size(45, 45),\n * },\n * label: {\n * text: String(count),\n * color: \"rgba(255,255,255,0.9)\",\n * fontSize: \"12px\",\n * },\n * // adjust zIndex to be above other markers\n * zIndex: 1000 + count,\n * });\n * ```\n */\n render({\n count,\n position\n }, stats, map) {\n // change color if this cluster has more markers than the mean cluster\n const color = count > Math.max(10, stats.clusters.markers.mean) ? \"#ff0000\" : \"#0000ff\";\n // create svg literal with fill color\n const svg = `<svg fill=\"${color}\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 240 240\" width=\"50\" height=\"50\">\n<circle cx=\"120\" cy=\"120\" opacity=\".6\" r=\"70\" />\n<circle cx=\"120\" cy=\"120\" opacity=\".3\" r=\"90\" />\n<circle cx=\"120\" cy=\"120\" opacity=\".2\" r=\"110\" />\n<text x=\"50%\" y=\"50%\" style=\"fill:#fff\" text-anchor=\"middle\" font-size=\"50\" dominant-baseline=\"middle\" font-family=\"roboto,arial,sans-serif\">${count}</text>\n</svg>`;\n const title = `Cluster of ${count} markers`,\n // adjust zIndex to be above other markers\n zIndex = Number(google.maps.Marker.MAX_ZINDEX) + count;\n if (MarkerUtils.isAdvancedMarkerAvailable(map)) {\n // create cluster SVG element\n const parser = new DOMParser();\n const svgEl = parser.parseFromString(svg, \"image/svg+xml\").documentElement;\n svgEl.setAttribute(\"transform\", \"translate(0 25)\");\n const clusterOptions = {\n map,\n position,\n zIndex,\n title,\n content: svgEl\n };\n return new google.maps.marker.AdvancedMarkerElement(clusterOptions);\n }\n const clusterOptions = {\n position,\n zIndex,\n title,\n icon: {\n url: `data:image/svg+xml;base64,${btoa(svg)}`,\n anchor: new google.maps.Point(25, 25)\n }\n };\n return new google.maps.Marker(clusterOptions);\n }\n}\n\n/**\n * Copyright 2019 Google LLC. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * Extends an object's prototype by another's.\n *\n * @param type1 The Type to be extended.\n * @param type2 The Type to extend with.\n * @ignore\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction extend(type1, type2) {\n /* istanbul ignore next */\n // eslint-disable-next-line prefer-const\n for (let property in type2.prototype) {\n type1.prototype[property] = type2.prototype[property];\n }\n}\n/**\n * @ignore\n */\nclass OverlayViewSafe {\n constructor() {\n // MarkerClusterer implements google.maps.OverlayView interface. We use the\n // extend function to extend MarkerClusterer with google.maps.OverlayView\n // because it might not always be available when the code is defined so we\n // look for it at the last possible moment. If it doesn't exist now then\n // there is no point going ahead :)\n extend(OverlayViewSafe, google.maps.OverlayView);\n }\n}\n\n/**\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar MarkerClustererEvents;\n(function (MarkerClustererEvents) {\n MarkerClustererEvents[\"CLUSTERING_BEGIN\"] = \"clusteringbegin\";\n MarkerClustererEvents[\"CLUSTERING_END\"] = \"clusteringend\";\n MarkerClustererEvents[\"CLUSTER_CLICK\"] = \"click\";\n})(MarkerClustererEvents || (MarkerClustererEvents = {}));\nconst defaultOnClusterClickHandler = (_, cluster, map) => {\n map.fitBounds(cluster.bounds);\n};\n/**\n * MarkerClusterer creates and manages per-zoom-level clusters for large amounts\n * of markers. See {@link MarkerClustererOptions} for more details.\n *\n */\nclass MarkerClusterer extends OverlayViewSafe {\n constructor({\n map,\n markers = [],\n algorithmOptions = {},\n algorithm = new SuperClusterAlgorithm(algorithmOptions),\n renderer = new DefaultRenderer(),\n onClusterClick = defaultOnClusterClickHandler\n }) {\n super();\n this.markers = [...markers];\n this.clusters = [];\n this.algorithm = algorithm;\n this.renderer = renderer;\n this.onClusterClick = onClusterClick;\n if (map) {\n this.setMap(map);\n }\n }\n addMarker(marker, noDraw) {\n if (this.markers.includes(marker)) {\n return;\n }\n this.markers.push(marker);\n if (!noDraw) {\n this.render();\n }\n }\n addMarkers(markers, noDraw) {\n markers.forEach(marker => {\n this.addMarker(marker, true);\n });\n if (!noDraw) {\n this.render();\n }\n }\n removeMarker(marker, noDraw) {\n const index = this.markers.indexOf(marker);\n if (index === -1) {\n // Marker is not in our list of markers, so do nothing:\n return false;\n }\n MarkerUtils.setMap(marker, null);\n this.markers.splice(index, 1); // Remove the marker from the list of managed markers\n if (!noDraw) {\n this.render();\n }\n return true;\n }\n removeMarkers(markers, noDraw) {\n let removed = false;\n markers.forEach(marker => {\n removed = this.removeMarker(marker, true) || removed;\n });\n if (removed && !noDraw) {\n this.render();\n }\n return removed;\n }\n clearMarkers(noDraw) {\n this.markers.length = 0;\n if (!noDraw) {\n this.render();\n }\n }\n /**\n * Recalculates and draws all the marker clusters.\n */\n render() {\n const map = this.getMap();\n if (map instanceof google.maps.Map && map.getProjection()) {\n google.maps.event.trigger(this, MarkerClustererEvents.CLUSTERING_BEGIN, this);\n const {\n clusters,\n changed\n } = this.algorithm.calculate({\n markers: this.markers,\n map,\n mapCanvasProjection: this.getProjection()\n });\n // Allow algorithms to return flag on whether the clusters/markers have changed.\n if (changed || changed == undefined) {\n // Accumulate the markers of the clusters composed of a single marker.\n // Those clusters directly use the marker.\n // Clusters with more than one markers use a group marker generated by a renderer.\n const singleMarker = new Set();\n for (const cluster of clusters) {\n if (cluster.markers.length == 1) {\n singleMarker.add(cluster.markers[0]);\n }\n }\n const groupMarkers = [];\n // Iterate the clusters that are currently rendered.\n for (const cluster of this.clusters) {\n if (cluster.marker == null) {\n continue;\n }\n if (cluster.markers.length == 1) {\n if (!singleMarker.has(cluster.marker)) {\n // The marker:\n // - was previously rendered because it is from a cluster with 1 marker,\n // - should no more be rendered as it is not in singleMarker.\n MarkerUtils.setMap(cluster.marker, null);\n }\n } else {\n // Delay the removal of old group markers to avoid flickering.\n groupMarkers.push(cluster.marker);\n }\n }\n this.clusters = clusters;\n this.renderClusters();\n // Delayed removal of the markers of the former groups.\n requestAnimationFrame(() => groupMarkers.forEach(marker => MarkerUtils.setMap(marker, null)));\n }\n google.maps.event.trigger(this, MarkerClustererEvents.CLUSTERING_END, this);\n }\n }\n onAdd() {\n this.idleListener = this.getMap().addListener(\"idle\", this.render.bind(this));\n this.render();\n }\n onRemove() {\n google.maps.event.removeListener(this.idleListener);\n this.reset();\n }\n reset() {\n this.markers.forEach(marker => MarkerUtils.setMap(marker, null));\n this.clusters.forEach(cluster => cluster.delete());\n this.clusters = [];\n }\n renderClusters() {\n // Generate stats to pass to renderers.\n const stats = new ClusterStats(this.markers, this.clusters);\n const map = this.getMap();\n this.clusters.forEach(cluster => {\n if (cluster.markers.length === 1) {\n cluster.marker = cluster.markers[0];\n } else {\n // Generate the marker to represent the group.\n cluster.marker = this.renderer.render(cluster, stats, map);\n // Make sure all individual markers are removed from the map.\n cluster.markers.forEach(marker => MarkerUtils.setMap(marker, null));\n if (this.onClusterClick) {\n cluster.marker.addListener(\"click\", /* istanbul ignore next */\n event => {\n google.maps.event.trigger(this, MarkerClustererEvents.CLUSTER_CLICK, cluster);\n this.onClusterClick(event, cluster, map);\n });\n }\n }\n MarkerUtils.setMap(cluster.marker, map);\n });\n }\n}\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@googlemaps/markerclusterer/dist/index.esm.js?"); 228 229/***/ }), 230
vendor: 40,082 bytes, lines 231-241
231/***/ "./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js": 232/*!*********************************************************************!*\ 233 !*** ./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js ***! 234 \*********************************************************************/ 235/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 236 237"use strict"; 238eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ EffectScope: function() { return /* binding */ EffectScope; },\n/* harmony export */ ITERATE_KEY: function() { return /* binding */ ITERATE_KEY; },\n/* harmony export */ ReactiveEffect: function() { return /* binding */ ReactiveEffect; },\n/* harmony export */ computed: function() { return /* binding */ computed; },\n/* harmony export */ customRef: function() { return /* binding */ customRef; },\n/* harmony export */ deferredComputed: function() { return /* binding */ deferredComputed; },\n/* harmony export */ effect: function() { return /* binding */ effect; },\n/* harmony export */ effectScope: function() { return /* binding */ effectScope; },\n/* harmony export */ enableTracking: function() { return /* binding */ enableTracking; },\n/* harmony export */ getCurrentScope: function() { return /* binding */ getCurrentScope; },\n/* harmony export */ isProxy: function() { return /* binding */ isProxy; },\n/* harmony export */ isReactive: function() { return /* binding */ isReactive; },\n/* harmony export */ isReadonly: function() { return /* binding */ isReadonly; },\n/* harmony export */ isRef: function() { return /* binding */ isRef; },\n/* harmony export */ isShallow: function() { return /* binding */ isShallow; },\n/* harmony export */ markRaw: function() { return /* binding */ markRaw; },\n/* harmony export */ onScopeDispose: function() { return /* binding */ onScopeDispose; },\n/* harmony export */ pauseTracking: function() { return /* binding */ pauseTracking; },\n/* harmony export */ proxyRefs: function() { return /* binding */ proxyRefs; },\n/* harmony export */ reactive: function() { return /* binding */ reactive; },\n/* harmony export */ readonly: function() { return /* binding */ readonly; },\n/* harmony export */ ref: function() { return /* binding */ ref; },\n/* harmony export */ resetTracking: function() { return /* binding */ resetTracking; },\n/* harmony export */ shallowReactive: function() { return /* binding */ shallowReactive; },\n/* harmony export */ shallowReadonly: function() { return /* binding */ shallowReadonly; },\n/* harmony export */ shallowRef: function() { return /* binding */ shallowRef; },\n/* harmony export */ stop: function() { return /* binding */ stop; },\n/* harmony export */ toRaw: function() { return /* binding */ toRaw; },\n/* harmony export */ toRef: function() { return /* binding */ toRef; },\n/* harmony export */ toRefs: function() { return /* binding */ toRefs; },\n/* harmony export */ toValue: function() { return /* binding */ toValue; },\n/* harmony export */ track: function() { return /* binding */ track; },\n/* harmony export */ trigger: function() { return /* binding */ trigger; },\n/* harmony export */ triggerRef: function() { return /* binding */ triggerRef; },\n/* harmony export */ unref: function() { return /* binding */ unref; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _vue_shared__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @vue/shared */ \"./node_modules/@vue/shared/dist/shared.esm-bundler.js\");\n\n\nfunction warn(msg, ...args) {\n console.warn(`[Vue warn] ${msg}`, ...args);\n}\nlet activeEffectScope;\nclass EffectScope {\n constructor(detached = false) {\n this.detached = detached;\n /**\n * @internal\n */\n this._active = true;\n /**\n * @internal\n */\n this.effects = [];\n /**\n * @internal\n */\n this.cleanups = [];\n this.parent = activeEffectScope;\n if (!detached && activeEffectScope) {\n this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;\n }\n }\n get active() {\n return this._active;\n }\n run(fn) {\n if (this._active) {\n const currentEffectScope = activeEffectScope;\n try {\n activeEffectScope = this;\n return fn();\n } finally {\n activeEffectScope = currentEffectScope;\n }\n } else if (true) {\n warn(`cannot run an inactive effect scope.`);\n }\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n on() {\n activeEffectScope = this;\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n off() {\n activeEffectScope = this.parent;\n }\n stop(fromParent) {\n if (this._active) {\n let i, l;\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].stop();\n }\n for (i = 0, l = this.cleanups.length; i < l; i++) {\n this.cleanups[i]();\n }\n if (this.scopes) {\n for (i = 0, l = this.scopes.length; i < l; i++) {\n this.scopes[i].stop(true);\n }\n }\n if (!this.detached && this.parent && !fromParent) {\n const last = this.parent.scopes.pop();\n if (last && last !== this) {\n this.parent.scopes[this.index] = last;\n last.index = this.index;\n }\n }\n this.parent = void 0;\n this._active = false;\n }\n }\n}\nfunction effectScope(detached) {\n return new EffectScope(detached);\n}\nfunction recordEffectScope(effect, scope = activeEffectScope) {\n if (scope && scope.active) {\n scope.effects.push(effect);\n }\n}\nfunction getCurrentScope() {\n return activeEffectScope;\n}\nfunction onScopeDispose(fn) {\n if (activeEffectScope) {\n activeEffectScope.cleanups.push(fn);\n } else if (true) {\n warn(`onScopeDispose() is called when there is no active effect scope to be associated with.`);\n }\n}\nconst createDep = effects => {\n const dep = new Set(effects);\n dep.w = 0;\n dep.n = 0;\n return dep;\n};\nconst wasTracked = dep => (dep.w & trackOpBit) > 0;\nconst newTracked = dep => (dep.n & trackOpBit) > 0;\nconst initDepMarkers = ({\n deps\n}) => {\n if (deps.length) {\n for (let i = 0; i < deps.length; i++) {\n deps[i].w |= trackOpBit;\n }\n }\n};\nconst finalizeDepMarkers = effect => {\n const {\n deps\n } = effect;\n if (deps.length) {\n let ptr = 0;\n for (let i = 0; i < deps.length; i++) {\n const dep = deps[i];\n if (wasTracked(dep) && !newTracked(dep)) {\n dep.delete(effect);\n } else {\n deps[ptr++] = dep;\n }\n dep.w &= ~trackOpBit;\n dep.n &= ~trackOpBit;\n }\n deps.length = ptr;\n }\n};\nconst targetMap = /* @__PURE__ */new WeakMap();\nlet effectTrackDepth = 0;\nlet trackOpBit = 1;\nconst maxMarkerBits = 30;\nlet activeEffect;\nconst ITERATE_KEY = Symbol( true ? \"iterate\" : 0);\nconst MAP_KEY_ITERATE_KEY = Symbol( true ? \"Map key iterate\" : 0);\nclass ReactiveEffect {\n constructor(fn, scheduler = null, scope) {\n this.fn = fn;\n this.scheduler = scheduler;\n this.active = true;\n this.deps = [];\n this.parent = void 0;\n recordEffectScope(this, scope);\n }\n run() {\n if (!this.active) {\n return this.fn();\n }\n let parent = activeEffect;\n let lastShouldTrack = shouldTrack;\n while (parent) {\n if (parent === this) {\n return;\n }\n parent = parent.parent;\n }\n try {\n this.parent = activeEffect;\n activeEffect = this;\n shouldTrack = true;\n trackOpBit = 1 << ++effectTrackDepth;\n if (effectTrackDepth <= maxMarkerBits) {\n initDepMarkers(this);\n } else {\n cleanupEffect(this);\n }\n return this.fn();\n } finally {\n if (effectTrackDepth <= maxMarkerBits) {\n finalizeDepMarkers(this);\n }\n trackOpBit = 1 << --effectTrackDepth;\n activeEffect = this.parent;\n shouldTrack = lastShouldTrack;\n this.parent = void 0;\n if (this.deferStop) {\n this.stop();\n }\n }\n }\n stop() {\n if (activeEffect === this) {\n this.deferStop = true;\n } else if (this.active) {\n cleanupEffect(this);\n if (this.onStop) {\n this.onStop();\n }\n this.active = false;\n }\n }\n}\nfunction cleanupEffect(effect2) {\n const {\n deps\n } = effect2;\n if (deps.length) {\n for (let i = 0; i < deps.length; i++) {\n deps[i].delete(effect2);\n }\n deps.length = 0;\n }\n}\nfunction effect(fn, options) {\n if (fn.effect instanceof ReactiveEffect) {\n fn = fn.effect.fn;\n }\n const _effect = new ReactiveEffect(fn);\n if (options) {\n (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)(_effect, options);\n if (options.scope) recordEffectScope(_effect, options.scope);\n }\n if (!options || !options.lazy) {\n _effect.run();\n }\n const runner = _effect.run.bind(_effect);\n runner.effect = _effect;\n return runner;\n}\nfunction stop(runner) {\n runner.effect.stop();\n}\nlet shouldTrack = true;\nconst trackStack = [];\nfunction pauseTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = false;\n}\nfunction enableTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = true;\n}\nfunction resetTracking() {\n const last = trackStack.pop();\n shouldTrack = last === void 0 ? true : last;\n}\nfunction track(target, type, key) {\n if (shouldTrack && activeEffect) {\n let depsMap = targetMap.get(target);\n if (!depsMap) {\n targetMap.set(target, depsMap = /* @__PURE__ */new Map());\n }\n let dep = depsMap.get(key);\n if (!dep) {\n depsMap.set(key, dep = createDep());\n }\n const eventInfo = true ? {\n effect: activeEffect,\n target,\n type,\n key\n } : 0;\n trackEffects(dep, eventInfo);\n }\n}\nfunction trackEffects(dep, debuggerEventExtraInfo) {\n let shouldTrack2 = false;\n if (effectTrackDepth <= maxMarkerBits) {\n if (!newTracked(dep)) {\n dep.n |= trackOpBit;\n shouldTrack2 = !wasTracked(dep);\n }\n } else {\n shouldTrack2 = !dep.has(activeEffect);\n }\n if (shouldTrack2) {\n dep.add(activeEffect);\n activeEffect.deps.push(dep);\n if ( true && activeEffect.onTrack) {\n activeEffect.onTrack((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({\n effect: activeEffect\n }, debuggerEventExtraInfo));\n }\n }\n}\nfunction trigger(target, type, key, newValue, oldValue, oldTarget) {\n const depsMap = targetMap.get(target);\n if (!depsMap) {\n return;\n }\n let deps = [];\n if (type === \"clear\") {\n deps = [...depsMap.values()];\n } else if (key === \"length\" && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(target)) {\n const newLength = Number(newValue);\n depsMap.forEach((dep, key2) => {\n if (key2 === \"length\" || !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isSymbol)(key2) && key2 >= newLength) {\n deps.push(dep);\n }\n });\n } else {\n if (key !== void 0) {\n deps.push(depsMap.get(key));\n }\n switch (type) {\n case \"add\":\n if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isMap)(target)) {\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isIntegerKey)(key)) {\n deps.push(depsMap.get(\"length\"));\n }\n break;\n case \"delete\":\n if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isMap)(target)) {\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n }\n break;\n case \"set\":\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isMap)(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n }\n break;\n }\n }\n const eventInfo = true ? {\n target,\n type,\n key,\n newValue,\n oldValue,\n oldTarget\n } : 0;\n if (deps.length === 1) {\n if (deps[0]) {\n if (true) {\n triggerEffects(deps[0], eventInfo);\n } else {}\n }\n } else {\n const effects = [];\n for (const dep of deps) {\n if (dep) {\n effects.push(...dep);\n }\n }\n if (true) {\n triggerEffects(createDep(effects), eventInfo);\n } else {}\n }\n}\nfunction triggerEffects(dep, debuggerEventExtraInfo) {\n const effects = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(dep) ? dep : [...dep];\n for (const effect2 of effects) {\n if (effect2.computed) {\n triggerEffect(effect2, debuggerEventExtraInfo);\n }\n }\n for (const effect2 of effects) {\n if (!effect2.computed) {\n triggerEffect(effect2, debuggerEventExtraInfo);\n }\n }\n}\nfunction triggerEffect(effect2, debuggerEventExtraInfo) {\n if (effect2 !== activeEffect || effect2.allowRecurse) {\n if ( true && effect2.onTrigger) {\n effect2.onTrigger((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({\n effect: effect2\n }, debuggerEventExtraInfo));\n }\n if (effect2.scheduler) {\n effect2.scheduler();\n } else {\n effect2.run();\n }\n }\n}\nfunction getDepFromReactive(object, key) {\n var _a;\n return (_a = targetMap.get(object)) == null ? void 0 : _a.get(key);\n}\nconst isNonTrackableKeys = /* @__PURE__ */(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.makeMap)(`__proto__,__v_isRef,__isVue`);\nconst builtInSymbols = new Set( /* @__PURE__ */Object.getOwnPropertyNames(Symbol).filter(key => key !== \"arguments\" && key !== \"caller\").map(key => Symbol[key]).filter(_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isSymbol));\nconst arrayInstrumentations = /* @__PURE__ */createArrayInstrumentations();\nfunction createArrayInstrumentations() {\n const instrumentations = {};\n [\"includes\", \"indexOf\", \"lastIndexOf\"].forEach(key => {\n instrumentations[key] = function (...args) {\n const arr = toRaw(this);\n for (let i = 0, l = this.length; i < l; i++) {\n track(arr, \"get\", i + \"\");\n }\n const res = arr[key](...args);\n if (res === -1 || res === false) {\n return arr[key](...args.map(toRaw));\n } else {\n return res;\n }\n };\n });\n [\"push\", \"pop\", \"shift\", \"unshift\", \"splice\"].forEach(key => {\n instrumentations[key] = function (...args) {\n pauseTracking();\n const res = toRaw(this)[key].apply(this, args);\n resetTracking();\n return res;\n };\n });\n return instrumentations;\n}\nfunction hasOwnProperty(key) {\n const obj = toRaw(this);\n track(obj, \"has\", key);\n return obj.hasOwnProperty(key);\n}\nclass BaseReactiveHandler {\n constructor(_isReadonly = false, _shallow = false) {\n this._isReadonly = _isReadonly;\n this._shallow = _shallow;\n }\n get(target, key, receiver) {\n const isReadonly2 = this._isReadonly,\n shallow = this._shallow;\n if (key === \"__v_isReactive\") {\n return !isReadonly2;\n } else if (key === \"__v_isReadonly\") {\n return isReadonly2;\n } else if (key === \"__v_isShallow\") {\n return shallow;\n } else if (key === \"__v_raw\") {\n if (receiver === (isReadonly2 ? shallow ? shallowReadonlyMap : readonlyMap : shallow ? shallowReactiveMap : reactiveMap).get(target) ||\n // receiver is not the reactive proxy, but has the same prototype\n // this means the reciever is a user proxy of the reactive proxy\n Object.getPrototypeOf(target) === Object.getPrototypeOf(receiver)) {\n return target;\n }\n return;\n }\n const targetIsArray = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(target);\n if (!isReadonly2) {\n if (targetIsArray && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(arrayInstrumentations, key)) {\n return Reflect.get(arrayInstrumentations, key, receiver);\n }\n if (key === \"hasOwnProperty\") {\n return hasOwnProperty;\n }\n }\n const res = Reflect.get(target, key, receiver);\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isSymbol)(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {\n return res;\n }\n if (!isReadonly2) {\n track(target, \"get\", key);\n }\n if (shallow) {\n return res;\n }\n if (isRef(res)) {\n return targetIsArray && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isIntegerKey)(key) ? res : res.value;\n }\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(res)) {\n return isReadonly2 ? readonly(res) : reactive(res);\n }\n return res;\n }\n}\nclass MutableReactiveHandler extends BaseReactiveHandler {\n constructor(shallow = false) {\n super(false, shallow);\n }\n set(target, key, value, receiver) {\n let oldValue = target[key];\n if (isReadonly(oldValue) && isRef(oldValue) && !isRef(value)) {\n return false;\n }\n if (!this._shallow) {\n if (!isShallow(value) && !isReadonly(value)) {\n oldValue = toRaw(oldValue);\n value = toRaw(value);\n }\n if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(target) && isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n return true;\n }\n }\n const hadKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(target) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isIntegerKey)(key) ? Number(key) < target.length : (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(target, key);\n const result = Reflect.set(target, key, value, receiver);\n if (target === toRaw(receiver)) {\n if (!hadKey) {\n trigger(target, \"add\", key, value);\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasChanged)(value, oldValue)) {\n trigger(target, \"set\", key, value, oldValue);\n }\n }\n return result;\n }\n deleteProperty(target, key) {\n const hadKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(target, key);\n const oldValue = target[key];\n const result = Reflect.deleteProperty(target, key);\n if (result && hadKey) {\n trigger(target, \"delete\", key, void 0, oldValue);\n }\n return result;\n }\n has(target, key) {\n const result = Reflect.has(target, key);\n if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isSymbol)(key) || !builtInSymbols.has(key)) {\n track(target, \"has\", key);\n }\n return result;\n }\n ownKeys(target) {\n track(target, \"iterate\", (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(target) ? \"length\" : ITERATE_KEY);\n return Reflect.ownKeys(target);\n }\n}\nclass ReadonlyReactiveHandler extends BaseReactiveHandler {\n constructor(shallow = false) {\n super(true, shallow);\n }\n set(target, key) {\n if (true) {\n warn(`Set operation on key \"${String(key)}\" failed: target is readonly.`, target);\n }\n return true;\n }\n deleteProperty(target, key) {\n if (true) {\n warn(`Delete operation on key \"${String(key)}\" failed: target is readonly.`, target);\n }\n return true;\n }\n}\nconst mutableHandlers = /* @__PURE__ */new MutableReactiveHandler();\nconst readonlyHandlers = /* @__PURE__ */new ReadonlyReactiveHandler();\nconst shallowReactiveHandlers = /* @__PURE__ */new MutableReactiveHandler(true);\nconst shallowReadonlyHandlers = /* @__PURE__ */new ReadonlyReactiveHandler(true);\nconst toShallow = value => value;\nconst getProto = v => Reflect.getPrototypeOf(v);\nfunction get(target, key, isReadonly = false, isShallow = false) {\n target = target[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasChanged)(key, rawKey)) {\n track(rawTarget, \"get\", key);\n }\n track(rawTarget, \"get\", rawKey);\n }\n const {\n has: has2\n } = getProto(rawTarget);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n if (has2.call(rawTarget, key)) {\n return wrap(target.get(key));\n } else if (has2.call(rawTarget, rawKey)) {\n return wrap(target.get(rawKey));\n } else if (target !== rawTarget) {\n target.get(key);\n }\n}\nfunction has(key, isReadonly = false) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasChanged)(key, rawKey)) {\n track(rawTarget, \"has\", key);\n }\n track(rawTarget, \"has\", rawKey);\n }\n return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey);\n}\nfunction size(target, isReadonly = false) {\n target = target[\"__v_raw\"];\n !isReadonly && track(toRaw(target), \"iterate\", ITERATE_KEY);\n return Reflect.get(target, \"size\", target);\n}\nfunction add(value) {\n value = toRaw(value);\n const target = toRaw(this);\n const proto = getProto(target);\n const hadKey = proto.has.call(target, value);\n if (!hadKey) {\n target.add(value);\n trigger(target, \"add\", value, value);\n }\n return this;\n}\nfunction set(key, value) {\n value = toRaw(value);\n const target = toRaw(this);\n const {\n has: has2,\n get: get2\n } = getProto(target);\n let hadKey = has2.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has2.call(target, key);\n } else if (true) {\n checkIdentityKeys(target, has2, key);\n }\n const oldValue = get2.call(target, key);\n target.set(key, value);\n if (!hadKey) {\n trigger(target, \"add\", key, value);\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasChanged)(value, oldValue)) {\n trigger(target, \"set\", key, value, oldValue);\n }\n return this;\n}\nfunction deleteEntry(key) {\n const target = toRaw(this);\n const {\n has: has2,\n get: get2\n } = getProto(target);\n let hadKey = has2.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has2.call(target, key);\n } else if (true) {\n checkIdentityKeys(target, has2, key);\n }\n const oldValue = get2 ? get2.call(target, key) : void 0;\n const result = target.delete(key);\n if (hadKey) {\n trigger(target, \"delete\", key, void 0, oldValue);\n }\n return result;\n}\nfunction clear() {\n const target = toRaw(this);\n const hadItems = target.size !== 0;\n const oldTarget = true ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isMap)(target) ? new Map(target) : new Set(target) : 0;\n const result = target.clear();\n if (hadItems) {\n trigger(target, \"clear\", void 0, void 0, oldTarget);\n }\n return result;\n}\nfunction createForEach(isReadonly, isShallow) {\n return function forEach(callback, thisArg) {\n const observed = this;\n const target = observed[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly && track(rawTarget, \"iterate\", ITERATE_KEY);\n return target.forEach((value, key) => {\n return callback.call(thisArg, wrap(value), wrap(key), observed);\n });\n };\n}\nfunction createIterableMethod(method, isReadonly, isShallow) {\n return function (...args) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const targetIsMap = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isMap)(rawTarget);\n const isPair = method === \"entries\" || method === Symbol.iterator && targetIsMap;\n const isKeyOnly = method === \"keys\" && targetIsMap;\n const innerIterator = target[method](...args);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly && track(rawTarget, \"iterate\", isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY);\n return {\n // iterator protocol\n next() {\n const {\n value,\n done\n } = innerIterator.next();\n return done ? {\n value,\n done\n } : {\n value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),\n done\n };\n },\n // iterable protocol\n [Symbol.iterator]() {\n return this;\n }\n };\n };\n}\nfunction createReadonlyMethod(type) {\n return function (...args) {\n if (true) {\n const key = args[0] ? `on key \"${args[0]}\" ` : ``;\n console.warn(`${(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.capitalize)(type)} operation ${key}failed: target is readonly.`, toRaw(this));\n }\n return type === \"delete\" ? false : type === \"clear\" ? void 0 : this;\n };\n}\nfunction createInstrumentations() {\n const mutableInstrumentations2 = {\n get(key) {\n return get(this, key);\n },\n get size() {\n return size(this);\n },\n has,\n add,\n set,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, false)\n };\n const shallowInstrumentations2 = {\n get(key) {\n return get(this, key, false, true);\n },\n get size() {\n return size(this);\n },\n has,\n add,\n set,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, true)\n };\n const readonlyInstrumentations2 = {\n get(key) {\n return get(this, key, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\"),\n set: createReadonlyMethod(\"set\"),\n delete: createReadonlyMethod(\"delete\"),\n clear: createReadonlyMethod(\"clear\"),\n forEach: createForEach(true, false)\n };\n const shallowReadonlyInstrumentations2 = {\n get(key) {\n return get(this, key, true, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\"),\n set: createReadonlyMethod(\"set\"),\n delete: createReadonlyMethod(\"delete\"),\n clear: createReadonlyMethod(\"clear\"),\n forEach: createForEach(true, true)\n };\n const iteratorMethods = [\"keys\", \"values\", \"entries\", Symbol.iterator];\n iteratorMethods.forEach(method => {\n mutableInstrumentations2[method] = createIterableMethod(method, false, false);\n readonlyInstrumentations2[method] = createIterableMethod(method, true, false);\n shallowInstrumentations2[method] = createIterableMethod(method, false, true);\n shallowReadonlyInstrumentations2[method] = createIterableMethod(method, true, true);\n });\n return [mutableInstrumentations2, readonlyInstrumentations2, shallowInstrumentations2, shallowReadonlyInstrumentations2];\n}\nconst [mutableInstrumentations, readonlyInstrumentations, shallowInstrumentations, shallowReadonlyInstrumentations] = /* @__PURE__ */createInstrumentations();\nfunction createInstrumentationGetter(isReadonly, shallow) {\n const instrumentations = shallow ? isReadonly ? shallowReadonlyInstrumentations : shallowInstrumentations : isReadonly ? readonlyInstrumentations : mutableInstrumentations;\n return (target, key, receiver) => {\n if (key === \"__v_isReactive\") {\n return !isReadonly;\n } else if (key === \"__v_isReadonly\") {\n return isReadonly;\n } else if (key === \"__v_raw\") {\n return target;\n }\n return Reflect.get((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(instrumentations, key) && key in target ? instrumentations : target, key, receiver);\n };\n}\nconst mutableCollectionHandlers = {\n get: /* @__PURE__ */createInstrumentationGetter(false, false)\n};\nconst shallowCollectionHandlers = {\n get: /* @__PURE__ */createInstrumentationGetter(false, true)\n};\nconst readonlyCollectionHandlers = {\n get: /* @__PURE__ */createInstrumentationGetter(true, false)\n};\nconst shallowReadonlyCollectionHandlers = {\n get: /* @__PURE__ */createInstrumentationGetter(true, true)\n};\nfunction checkIdentityKeys(target, has2, key) {\n const rawKey = toRaw(key);\n if (rawKey !== key && has2.call(target, rawKey)) {\n const type = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toRawType)(target);\n console.warn(`Reactive ${type} contains both the raw and reactive versions of the same object${type === `Map` ? ` as keys` : ``}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`);\n }\n}\nconst reactiveMap = /* @__PURE__ */new WeakMap();\nconst shallowReactiveMap = /* @__PURE__ */new WeakMap();\nconst readonlyMap = /* @__PURE__ */new WeakMap();\nconst shallowReadonlyMap = /* @__PURE__ */new WeakMap();\nfunction targetTypeMap(rawType) {\n switch (rawType) {\n case \"Object\":\n case \"Array\":\n return 1 /* COMMON */;\n case \"Map\":\n case \"Set\":\n case \"WeakMap\":\n case \"WeakSet\":\n return 2 /* COLLECTION */;\n default:\n return 0 /* INVALID */;\n }\n}\n\nfunction getTargetType(value) {\n return value[\"__v_skip\"] || !Object.isExtensible(value) ? 0 /* INVALID */ : targetTypeMap((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toRawType)(value));\n}\nfunction reactive(target) {\n if (isReadonly(target)) {\n return target;\n }\n return createReactiveObject(target, false, mutableHandlers, mutableCollectionHandlers, reactiveMap);\n}\nfunction shallowReactive(target) {\n return createReactiveObject(target, false, shallowReactiveHandlers, shallowCollectionHandlers, shallowReactiveMap);\n}\nfunction readonly(target) {\n return createReactiveObject(target, true, readonlyHandlers, readonlyCollectionHandlers, readonlyMap);\n}\nfunction shallowReadonly(target) {\n return createReactiveObject(target, true, shallowReadonlyHandlers, shallowReadonlyCollectionHandlers, shallowReadonlyMap);\n}\nfunction createReactiveObject(target, isReadonly2, baseHandlers, collectionHandlers, proxyMap) {\n if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(target)) {\n if (true) {\n console.warn(`value cannot be made reactive: ${String(target)}`);\n }\n return target;\n }\n if (target[\"__v_raw\"] && !(isReadonly2 && target[\"__v_isReactive\"])) {\n return target;\n }\n const existingProxy = proxyMap.get(target);\n if (existingProxy) {\n return existingProxy;\n }\n const targetType = getTargetType(target);\n if (targetType === 0 /* INVALID */) {\n return target;\n }\n const proxy = new Proxy(target, targetType === 2 /* COLLECTION */ ? collectionHandlers : baseHandlers);\n proxyMap.set(target, proxy);\n return proxy;\n}\nfunction isReactive(value) {\n if (isReadonly(value)) {\n return isReactive(value[\"__v_raw\"]);\n }\n return !!(value && value[\"__v_isReactive\"]);\n}\nfunction isReadonly(value) {\n return !!(value && value[\"__v_isReadonly\"]);\n}\nfunction isShallow(value) {\n return !!(value && value[\"__v_isShallow\"]);\n}\nfunction isProxy(value) {\n return isReactive(value) || isReadonly(value);\n}\nfunction toRaw(observed) {\n const raw = observed && observed[\"__v_raw\"];\n return raw ? toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.def)(value, \"__v_skip\", true);\n return value;\n}\nconst toReactive = value => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(value) ? reactive(value) : value;\nconst toReadonly = value => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(value) ? readonly(value) : value;\nfunction trackRefValue(ref2) {\n if (shouldTrack && activeEffect) {\n ref2 = toRaw(ref2);\n if (true) {\n trackEffects(ref2.dep || (ref2.dep = createDep()), {\n target: ref2,\n type: \"get\",\n key: \"value\"\n });\n } else {}\n }\n}\nfunction triggerRefValue(ref2, newVal) {\n ref2 = toRaw(ref2);\n const dep = ref2.dep;\n if (dep) {\n if (true) {\n triggerEffects(dep, {\n target: ref2,\n type: \"set\",\n key: \"value\",\n newValue: newVal\n });\n } else {}\n }\n}\nfunction isRef(r) {\n return !!(r && r.__v_isRef === true);\n}\nfunction ref(value) {\n return createRef(value, false);\n}\nfunction shallowRef(value) {\n return createRef(value, true);\n}\nfunction createRef(rawValue, shallow) {\n if (isRef(rawValue)) {\n return rawValue;\n }\n return new RefImpl(rawValue, shallow);\n}\nclass RefImpl {\n constructor(value, __v_isShallow) {\n this.__v_isShallow = __v_isShallow;\n this.dep = void 0;\n this.__v_isRef = true;\n this._rawValue = __v_isShallow ? value : toRaw(value);\n this._value = __v_isShallow ? value : toReactive(value);\n }\n get value() {\n trackRefValue(this);\n return this._value;\n }\n set value(newVal) {\n const useDirectValue = this.__v_isShallow || isShallow(newVal) || isReadonly(newVal);\n newVal = useDirectValue ? newVal : toRaw(newVal);\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasChanged)(newVal, this._rawValue)) {\n this._rawValue = newVal;\n this._value = useDirectValue ? newVal : toReactive(newVal);\n triggerRefValue(this, newVal);\n }\n }\n}\nfunction triggerRef(ref2) {\n triggerRefValue(ref2, true ? ref2.value : 0);\n}\nfunction unref(ref2) {\n return isRef(ref2) ? ref2.value : ref2;\n}\nfunction toValue(source) {\n return (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(source) ? source() : unref(source);\n}\nconst shallowUnwrapHandlers = {\n get: (target, key, receiver) => unref(Reflect.get(target, key, receiver)),\n set: (target, key, value, receiver) => {\n const oldValue = target[key];\n if (isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n return true;\n } else {\n return Reflect.set(target, key, value, receiver);\n }\n }\n};\nfunction proxyRefs(objectWithRefs) {\n return isReactive(objectWithRefs) ? objectWithRefs : new Proxy(objectWithRefs, shallowUnwrapHandlers);\n}\nclass CustomRefImpl {\n constructor(factory) {\n this.dep = void 0;\n this.__v_isRef = true;\n const {\n get,\n set\n } = factory(() => trackRefValue(this), () => triggerRefValue(this));\n this._get = get;\n this._set = set;\n }\n get value() {\n return this._get();\n }\n set value(newVal) {\n this._set(newVal);\n }\n}\nfunction customRef(factory) {\n return new CustomRefImpl(factory);\n}\nfunction toRefs(object) {\n if ( true && !isProxy(object)) {\n console.warn(`toRefs() expects a reactive object but received a plain one.`);\n }\n const ret = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(object) ? new Array(object.length) : {};\n for (const key in object) {\n ret[key] = propertyToRef(object, key);\n }\n return ret;\n}\nclass ObjectRefImpl {\n constructor(_object, _key, _defaultValue) {\n this._object = _object;\n this._key = _key;\n this._defaultValue = _defaultValue;\n this.__v_isRef = true;\n }\n get value() {\n const val = this._object[this._key];\n return val === void 0 ? this._defaultValue : val;\n }\n set value(newVal) {\n this._object[this._key] = newVal;\n }\n get dep() {\n return getDepFromReactive(toRaw(this._object), this._key);\n }\n}\nclass GetterRefImpl {\n constructor(_getter) {\n this._getter = _getter;\n this.__v_isRef = true;\n this.__v_isReadonly = true;\n }\n get value() {\n return this._getter();\n }\n}\nfunction toRef(source, key, defaultValue) {\n if (isRef(source)) {\n return source;\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(source)) {\n return new GetterRefImpl(source);\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(source) && arguments.length > 1) {\n return propertyToRef(source, key, defaultValue);\n } else {\n return ref(source);\n }\n}\nfunction propertyToRef(source, key, defaultValue) {\n const val = source[key];\n return isRef(val) ? val : new ObjectRefImpl(source, key, defaultValue);\n}\nclass ComputedRefImpl {\n constructor(getter, _setter, isReadonly, isSSR) {\n this._setter = _setter;\n this.dep = void 0;\n this.__v_isRef = true;\n this[\"__v_isReadonly\"] = false;\n this._dirty = true;\n this.effect = new ReactiveEffect(getter, () => {\n if (!this._dirty) {\n this._dirty = true;\n triggerRefValue(this);\n }\n });\n this.effect.computed = this;\n this.effect.active = this._cacheable = !isSSR;\n this[\"__v_isReadonly\"] = isReadonly;\n }\n get value() {\n const self = toRaw(this);\n trackRefValue(self);\n if (self._dirty || !self._cacheable) {\n self._dirty = false;\n self._value = self.effect.run();\n }\n return self._value;\n }\n set value(newValue) {\n this._setter(newValue);\n }\n}\nfunction computed(getterOrOptions, debugOptions, isSSR = false) {\n let getter;\n let setter;\n const onlyGetter = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(getterOrOptions);\n if (onlyGetter) {\n getter = getterOrOptions;\n setter = true ? () => {\n console.warn(\"Write operation failed: computed value is readonly\");\n } : 0;\n } else {\n getter = getterOrOptions.get;\n setter = getterOrOptions.set;\n }\n const cRef = new ComputedRefImpl(getter, setter, onlyGetter || !setter, isSSR);\n if ( true && debugOptions && !isSSR) {\n cRef.effect.onTrack = debugOptions.onTrack;\n cRef.effect.onTrigger = debugOptions.onTrigger;\n }\n return cRef;\n}\nconst tick = /* @__PURE__ */Promise.resolve();\nconst queue = [];\nlet queued = false;\nconst scheduler = fn => {\n queue.push(fn);\n if (!queued) {\n queued = true;\n tick.then(flush);\n }\n};\nconst flush = () => {\n for (let i = 0; i < queue.length; i++) {\n queue[i]();\n }\n queue.length = 0;\n queued = false;\n};\nclass DeferredComputedRefImpl {\n constructor(getter) {\n this.dep = void 0;\n this._dirty = true;\n this.__v_isRef = true;\n this[\"__v_isReadonly\"] = true;\n let compareTarget;\n let hasCompareTarget = false;\n let scheduled = false;\n this.effect = new ReactiveEffect(getter, computedTrigger => {\n if (this.dep) {\n if (computedTrigger) {\n compareTarget = this._value;\n hasCompareTarget = true;\n } else if (!scheduled) {\n const valueToCompare = hasCompareTarget ? compareTarget : this._value;\n scheduled = true;\n hasCompareTarget = false;\n scheduler(() => {\n if (this.effect.active && this._get() !== valueToCompare) {\n triggerRefValue(this);\n }\n scheduled = false;\n });\n }\n for (const e of this.dep) {\n if (e.computed instanceof DeferredComputedRefImpl) {\n e.scheduler(true\n /* computedTrigger */);\n }\n }\n }\n\n this._dirty = true;\n });\n this.effect.computed = this;\n }\n _get() {\n if (this._dirty) {\n this._dirty = false;\n return this._value = this.effect.run();\n }\n return this._value;\n }\n get value() {\n trackRefValue(this);\n return toRaw(this)._get();\n }\n}\nfunction deferredComputed(getter) {\n return new DeferredComputedRefImpl(getter);\n}\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js?"); 239 240/***/ }), 241
vendor: 255,851 bytes, lines 242-252
242/***/ "./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js": 243/*!*************************************************************************!*\ 244 !*** ./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js ***! 245 \*************************************************************************/ 246/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 247 248"use strict"; 249eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BaseTransition: function() { return /* binding */ BaseTransition; },\n/* harmony export */ BaseTransitionPropsValidators: function() { return /* binding */ BaseTransitionPropsValidators; },\n/* harmony export */ Comment: function() { return /* binding */ Comment; },\n/* harmony export */ EffectScope: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.EffectScope; },\n/* harmony export */ Fragment: function() { return /* binding */ Fragment; },\n/* harmony export */ KeepAlive: function() { return /* binding */ KeepAlive; },\n/* harmony export */ ReactiveEffect: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.ReactiveEffect; },\n/* harmony export */ Static: function() { return /* binding */ Static; },\n/* harmony export */ Suspense: function() { return /* binding */ Suspense; },\n/* harmony export */ Teleport: function() { return /* binding */ Teleport; },\n/* harmony export */ Text: function() { return /* binding */ Text; },\n/* harmony export */ assertNumber: function() { return /* binding */ assertNumber; },\n/* harmony export */ callWithAsyncErrorHandling: function() { return /* binding */ callWithAsyncErrorHandling; },\n/* harmony export */ callWithErrorHandling: function() { return /* binding */ callWithErrorHandling; },\n/* harmony export */ camelize: function() { return /* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_2__.camelize; },\n/* harmony export */ capitalize: function() { return /* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_2__.capitalize; },\n/* harmony export */ cloneVNode: function() { return /* binding */ cloneVNode; },\n/* harmony export */ compatUtils: function() { return /* binding */ compatUtils; },\n/* harmony export */ computed: function() { return /* binding */ computed; },\n/* harmony export */ createBlock: function() { return /* binding */ createBlock; },\n/* harmony export */ createCommentVNode: function() { return /* binding */ createCommentVNode; },\n/* harmony export */ createElementBlock: function() { return /* binding */ createElementBlock; },\n/* harmony export */ createElementVNode: function() { return /* binding */ createBaseVNode; },\n/* harmony export */ createHydrationRenderer: function() { return /* binding */ createHydrationRenderer; },\n/* harmony export */ createPropsRestProxy: function() { return /* binding */ createPropsRestProxy; },\n/* harmony export */ createRenderer: function() { return /* binding */ createRenderer; },\n/* harmony export */ createSlots: function() { return /* binding */ createSlots; },\n/* harmony export */ createStaticVNode: function() { return /* binding */ createStaticVNode; },\n/* harmony export */ createTextVNode: function() { return /* binding */ createTextVNode; },\n/* harmony export */ createVNode: function() { return /* binding */ createVNode; },\n/* harmony export */ customRef: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.customRef; },\n/* harmony export */ defineAsyncComponent: function() { return /* binding */ defineAsyncComponent; },\n/* harmony export */ defineComponent: function() { return /* binding */ defineComponent; },\n/* harmony export */ defineEmits: function() { return /* binding */ defineEmits; },\n/* harmony export */ defineExpose: function() { return /* binding */ defineExpose; },\n/* harmony export */ defineModel: function() { return /* binding */ defineModel; },\n/* harmony export */ defineOptions: function() { return /* binding */ defineOptions; },\n/* harmony export */ defineProps: function() { return /* binding */ defineProps; },\n/* harmony export */ defineSlots: function() { return /* binding */ defineSlots; },\n/* harmony export */ devtools: function() { return /* binding */ devtools; },\n/* harmony export */ effect: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.effect; },\n/* harmony export */ effectScope: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.effectScope; },\n/* harmony export */ getCurrentInstance: function() { return /* binding */ getCurrentInstance; },\n/* harmony export */ getCurrentScope: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.getCurrentScope; },\n/* harmony export */ getTransitionRawChildren: function() { return /* binding */ getTransitionRawChildren; },\n/* harmony export */ guardReactiveProps: function() { return /* binding */ guardReactiveProps; },\n/* harmony export */ h: function() { return /* binding */ h; },\n/* harmony export */ handleError: function() { return /* binding */ handleError; },\n/* harmony export */ hasInjectionContext: function() { return /* binding */ hasInjectionContext; },\n/* harmony export */ initCustomFormatter: function() { return /* binding */ initCustomFormatter; },\n/* harmony export */ inject: function() { return /* binding */ inject; },\n/* harmony export */ isMemoSame: function() { return /* binding */ isMemoSame; },\n/* harmony export */ isProxy: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isProxy; },\n/* harmony export */ isReactive: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isReactive; },\n/* harmony export */ isReadonly: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isReadonly; },\n/* harmony export */ isRef: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isRef; },\n/* harmony export */ isRuntimeOnly: function() { return /* binding */ isRuntimeOnly; },\n/* harmony export */ isShallow: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isShallow; },\n/* harmony export */ isVNode: function() { return /* binding */ isVNode; },\n/* harmony export */ markRaw: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.markRaw; },\n/* harmony export */ mergeDefaults: function() { return /* binding */ mergeDefaults; },\n/* harmony export */ mergeModels: function() { return /* binding */ mergeModels; },\n/* harmony export */ mergeProps: function() { return /* binding */ mergeProps; },\n/* harmony export */ nextTick: function() { return /* binding */ nextTick; },\n/* harmony export */ normalizeClass: function() { return /* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_2__.normalizeClass; },\n/* harmony export */ normalizeProps: function() { return /* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_2__.normalizeProps; },\n/* harmony export */ normalizeStyle: function() { return /* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_2__.normalizeStyle; },\n/* harmony export */ onActivated: function() { return /* binding */ onActivated; },\n/* harmony export */ onBeforeMount: function() { return /* binding */ onBeforeMount; },\n/* harmony export */ onBeforeUnmount: function() { return /* binding */ onBeforeUnmount; },\n/* harmony export */ onBeforeUpdate: function() { return /* binding */ onBeforeUpdate; },\n/* harmony export */ onDeactivated: function() { return /* binding */ onDeactivated; },\n/* harmony export */ onErrorCaptured: function() { return /* binding */ onErrorCaptured; },\n/* harmony export */ onMounted: function() { return /* binding */ onMounted; },\n/* harmony export */ onRenderTracked: function() { return /* binding */ onRenderTracked; },\n/* harmony export */ onRenderTriggered: function() { return /* binding */ onRenderTriggered; },\n/* harmony export */ onScopeDispose: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.onScopeDispose; },\n/* harmony export */ onServerPrefetch: function() { return /* binding */ onServerPrefetch; },\n/* harmony export */ onUnmounted: function() { return /* binding */ onUnmounted; },\n/* harmony export */ onUpdated: function() { return /* binding */ onUpdated; },\n/* harmony export */ openBlock: function() { return /* binding */ openBlock; },\n/* harmony export */ popScopeId: function() { return /* binding */ popScopeId; },\n/* harmony export */ provide: function() { return /* binding */ provide; },\n/* harmony export */ proxyRefs: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.proxyRefs; },\n/* harmony export */ pushScopeId: function() { return /* binding */ pushScopeId; },\n/* harmony export */ queuePostFlushCb: function() { return /* binding */ queuePostFlushCb; },\n/* harmony export */ reactive: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.reactive; },\n/* harmony export */ readonly: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.readonly; },\n/* harmony export */ ref: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.ref; },\n/* harmony export */ registerRuntimeCompiler: function() { return /* binding */ registerRuntimeCompiler; },\n/* harmony export */ renderList: function() { return /* binding */ renderList; },\n/* harmony export */ renderSlot: function() { return /* binding */ renderSlot; },\n/* harmony export */ resolveComponent: function() { return /* binding */ resolveComponent; },\n/* harmony export */ resolveDirective: function() { return /* binding */ resolveDirective; },\n/* harmony export */ resolveDynamicComponent: function() { return /* binding */ resolveDynamicComponent; },\n/* harmony export */ resolveFilter: function() { return /* binding */ resolveFilter; },\n/* harmony export */ resolveTransitionHooks: function() { return /* binding */ resolveTransitionHooks; },\n/* harmony export */ setBlockTracking: function() { return /* binding */ setBlockTracking; },\n/* harmony export */ setDevtoolsHook: function() { return /* binding */ setDevtoolsHook; },\n/* harmony export */ setTransitionHooks: function() { return /* binding */ setTransitionHooks; },\n/* harmony export */ shallowReactive: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.shallowReactive; },\n/* harmony export */ shallowReadonly: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.shallowReadonly; },\n/* harmony export */ shallowRef: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.shallowRef; },\n/* harmony export */ ssrContextKey: function() { return /* binding */ ssrContextKey; },\n/* harmony export */ ssrUtils: function() { return /* binding */ ssrUtils; },\n/* harmony export */ stop: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.stop; },\n/* harmony export */ toDisplayString: function() { return /* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_2__.toDisplayString; },\n/* harmony export */ toHandlerKey: function() { return /* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_2__.toHandlerKey; },\n/* harmony export */ toHandlers: function() { return /* binding */ toHandlers; },\n/* harmony export */ toRaw: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.toRaw; },\n/* harmony export */ toRef: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.toRef; },\n/* harmony export */ toRefs: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.toRefs; },\n/* harmony export */ toValue: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.toValue; },\n/* harmony export */ transformVNodeArgs: function() { return /* binding */ transformVNodeArgs; },\n/* harmony export */ triggerRef: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.triggerRef; },\n/* harmony export */ unref: function() { return /* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.unref; },\n/* harmony export */ useAttrs: function() { return /* binding */ useAttrs; },\n/* harmony export */ useModel: function() { return /* binding */ useModel; },\n/* harmony export */ useSSRContext: function() { return /* binding */ useSSRContext; },\n/* harmony export */ useSlots: function() { return /* binding */ useSlots; },\n/* harmony export */ useTransitionState: function() { return /* binding */ useTransitionState; },\n/* harmony export */ version: function() { return /* binding */ version; },\n/* harmony export */ warn: function() { return /* binding */ warn; },\n/* harmony export */ watch: function() { return /* binding */ watch; },\n/* harmony export */ watchEffect: function() { return /* binding */ watchEffect; },\n/* harmony export */ watchPostEffect: function() { return /* binding */ watchPostEffect; },\n/* harmony export */ watchSyncEffect: function() { return /* binding */ watchSyncEffect; },\n/* harmony export */ withAsyncContext: function() { return /* binding */ withAsyncContext; },\n/* harmony export */ withCtx: function() { return /* binding */ withCtx; },\n/* harmony export */ withDefaults: function() { return /* binding */ withDefaults; },\n/* harmony export */ withDirectives: function() { return /* binding */ withDirectives; },\n/* harmony export */ withMemo: function() { return /* binding */ withMemo; },\n/* harmony export */ withScopeId: function() { return /* binding */ withScopeId; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @vue/reactivity */ \"./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js\");\n/* harmony import */ var _vue_shared__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @vue/shared */ \"./node_modules/@vue/shared/dist/shared.esm-bundler.js\");\n\n\n\n\n\nconst stack = [];\nfunction pushWarningContext(vnode) {\n stack.push(vnode);\n}\nfunction popWarningContext() {\n stack.pop();\n}\nfunction warn(msg, ...args) {\n if (false) {}\n (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.pauseTracking)();\n const instance = stack.length ? stack[stack.length - 1].component : null;\n const appWarnHandler = instance && instance.appContext.config.warnHandler;\n const trace = getComponentTrace();\n if (appWarnHandler) {\n callWithErrorHandling(appWarnHandler, instance, 11, [msg + args.join(\"\"), instance && instance.proxy, trace.map(({\n vnode\n }) => `at <${formatComponentName(instance, vnode.type)}>`).join(\"\\n\"), trace]);\n } else {\n const warnArgs = [`[Vue warn]: ${msg}`, ...args];\n if (trace.length &&\n // avoid spamming console during tests\n true) {\n warnArgs.push(`\n`, ...formatTrace(trace));\n }\n console.warn(...warnArgs);\n }\n (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.resetTracking)();\n}\nfunction getComponentTrace() {\n let currentVNode = stack[stack.length - 1];\n if (!currentVNode) {\n return [];\n }\n const normalizedStack = [];\n while (currentVNode) {\n const last = normalizedStack[0];\n if (last && last.vnode === currentVNode) {\n last.recurseCount++;\n } else {\n normalizedStack.push({\n vnode: currentVNode,\n recurseCount: 0\n });\n }\n const parentInstance = currentVNode.component && currentVNode.component.parent;\n currentVNode = parentInstance && parentInstance.vnode;\n }\n return normalizedStack;\n}\nfunction formatTrace(trace) {\n const logs = [];\n trace.forEach((entry, i) => {\n logs.push(...(i === 0 ? [] : [`\n`]), ...formatTraceEntry(entry));\n });\n return logs;\n}\nfunction formatTraceEntry({\n vnode,\n recurseCount\n}) {\n const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``;\n const isRoot = vnode.component ? vnode.component.parent == null : false;\n const open = ` at <${formatComponentName(vnode.component, vnode.type, isRoot)}`;\n const close = `>` + postfix;\n return vnode.props ? [open, ...formatProps(vnode.props), close] : [open + close];\n}\nfunction formatProps(props) {\n const res = [];\n const keys = Object.keys(props);\n keys.slice(0, 3).forEach(key => {\n res.push(...formatProp(key, props[key]));\n });\n if (keys.length > 3) {\n res.push(` ...`);\n }\n return res;\n}\nfunction formatProp(key, value, raw) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isString)(value)) {\n value = JSON.stringify(value);\n return raw ? value : [`${key}=${value}`];\n } else if (typeof value === \"number\" || typeof value === \"boolean\" || value == null) {\n return raw ? value : [`${key}=${value}`];\n } else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isRef)(value)) {\n value = formatProp(key, (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.toRaw)(value.value), true);\n return raw ? value : [`${key}=Ref<`, value, `>`];\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(value)) {\n return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];\n } else {\n value = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.toRaw)(value);\n return raw ? value : [`${key}=`, value];\n }\n}\nfunction assertNumber(val, type) {\n if (false) {}\n if (val === void 0) {\n return;\n } else if (typeof val !== \"number\") {\n warn(`${type} is not a valid number - got ${JSON.stringify(val)}.`);\n } else if (isNaN(val)) {\n warn(`${type} is NaN - the duration expression might be incorrect.`);\n }\n}\nconst ErrorTypeStrings = {\n [\"sp\"]: \"serverPrefetch hook\",\n [\"bc\"]: \"beforeCreate hook\",\n [\"c\"]: \"created hook\",\n [\"bm\"]: \"beforeMount hook\",\n [\"m\"]: \"mounted hook\",\n [\"bu\"]: \"beforeUpdate hook\",\n [\"u\"]: \"updated\",\n [\"bum\"]: \"beforeUnmount hook\",\n [\"um\"]: \"unmounted hook\",\n [\"a\"]: \"activated hook\",\n [\"da\"]: \"deactivated hook\",\n [\"ec\"]: \"errorCaptured hook\",\n [\"rtc\"]: \"renderTracked hook\",\n [\"rtg\"]: \"renderTriggered hook\",\n [0]: \"setup function\",\n [1]: \"render function\",\n [2]: \"watcher getter\",\n [3]: \"watcher callback\",\n [4]: \"watcher cleanup function\",\n [5]: \"native event handler\",\n [6]: \"component event handler\",\n [7]: \"vnode hook\",\n [8]: \"directive hook\",\n [9]: \"transition hook\",\n [10]: \"app errorHandler\",\n [11]: \"app warnHandler\",\n [12]: \"ref function\",\n [13]: \"async component loader\",\n [14]: \"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core\"\n};\nfunction callWithErrorHandling(fn, instance, type, args) {\n let res;\n try {\n res = args ? fn(...args) : fn();\n } catch (err) {\n handleError(err, instance, type);\n }\n return res;\n}\nfunction callWithAsyncErrorHandling(fn, instance, type, args) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(fn)) {\n const res = callWithErrorHandling(fn, instance, type, args);\n if (res && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isPromise)(res)) {\n res.catch(err => {\n handleError(err, instance, type);\n });\n }\n return res;\n }\n const values = [];\n for (let i = 0; i < fn.length; i++) {\n values.push(callWithAsyncErrorHandling(fn[i], instance, type, args));\n }\n return values;\n}\nfunction handleError(err, instance, type, throwInDev = true) {\n const contextVNode = instance ? instance.vnode : null;\n if (instance) {\n let cur = instance.parent;\n const exposedInstance = instance.proxy;\n const errorInfo = true ? ErrorTypeStrings[type] : 0;\n while (cur) {\n const errorCapturedHooks = cur.ec;\n if (errorCapturedHooks) {\n for (let i = 0; i < errorCapturedHooks.length; i++) {\n if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) {\n return;\n }\n }\n }\n cur = cur.parent;\n }\n const appErrorHandler = instance.appContext.config.errorHandler;\n if (appErrorHandler) {\n callWithErrorHandling(appErrorHandler, null, 10, [err, exposedInstance, errorInfo]);\n return;\n }\n }\n logError(err, type, contextVNode, throwInDev);\n}\nfunction logError(err, type, contextVNode, throwInDev = true) {\n if (true) {\n const info = ErrorTypeStrings[type];\n if (contextVNode) {\n pushWarningContext(contextVNode);\n }\n warn(`Unhandled error${info ? ` during execution of ${info}` : ``}`);\n if (contextVNode) {\n popWarningContext();\n }\n if (throwInDev) {\n throw err;\n } else {\n console.error(err);\n }\n } else {}\n}\nlet isFlushing = false;\nlet isFlushPending = false;\nconst queue = [];\nlet flushIndex = 0;\nconst pendingPostFlushCbs = [];\nlet activePostFlushCbs = null;\nlet postFlushIndex = 0;\nconst resolvedPromise = /* @__PURE__ */Promise.resolve();\nlet currentFlushPromise = null;\nconst RECURSION_LIMIT = 100;\nfunction nextTick(fn) {\n const p = currentFlushPromise || resolvedPromise;\n return fn ? p.then(this ? fn.bind(this) : fn) : p;\n}\nfunction findInsertionIndex(id) {\n let start = flushIndex + 1;\n let end = queue.length;\n while (start < end) {\n const middle = start + end >>> 1;\n const middleJob = queue[middle];\n const middleJobId = getId(middleJob);\n if (middleJobId < id || middleJobId === id && middleJob.pre) {\n start = middle + 1;\n } else {\n end = middle;\n }\n }\n return start;\n}\nfunction queueJob(job) {\n if (!queue.length || !queue.includes(job, isFlushing && job.allowRecurse ? flushIndex + 1 : flushIndex)) {\n if (job.id == null) {\n queue.push(job);\n } else {\n queue.splice(findInsertionIndex(job.id), 0, job);\n }\n queueFlush();\n }\n}\nfunction queueFlush() {\n if (!isFlushing && !isFlushPending) {\n isFlushPending = true;\n currentFlushPromise = resolvedPromise.then(flushJobs);\n }\n}\nfunction invalidateJob(job) {\n const i = queue.indexOf(job);\n if (i > flushIndex) {\n queue.splice(i, 1);\n }\n}\nfunction queuePostFlushCb(cb) {\n if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(cb)) {\n if (!activePostFlushCbs || !activePostFlushCbs.includes(cb, cb.allowRecurse ? postFlushIndex + 1 : postFlushIndex)) {\n pendingPostFlushCbs.push(cb);\n }\n } else {\n pendingPostFlushCbs.push(...cb);\n }\n queueFlush();\n}\nfunction flushPreFlushCbs(instance, seen, i = isFlushing ? flushIndex + 1 : 0) {\n if (true) {\n seen = seen || /* @__PURE__ */new Map();\n }\n for (; i < queue.length; i++) {\n const cb = queue[i];\n if (cb && cb.pre) {\n if (instance && cb.id !== instance.uid) {\n continue;\n }\n if ( true && checkRecursiveUpdates(seen, cb)) {\n continue;\n }\n queue.splice(i, 1);\n i--;\n cb();\n }\n }\n}\nfunction flushPostFlushCbs(seen) {\n if (pendingPostFlushCbs.length) {\n const deduped = [...new Set(pendingPostFlushCbs)];\n pendingPostFlushCbs.length = 0;\n if (activePostFlushCbs) {\n activePostFlushCbs.push(...deduped);\n return;\n }\n activePostFlushCbs = deduped;\n if (true) {\n seen = seen || /* @__PURE__ */new Map();\n }\n activePostFlushCbs.sort((a, b) => getId(a) - getId(b));\n for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {\n if ( true && checkRecursiveUpdates(seen, activePostFlushCbs[postFlushIndex])) {\n continue;\n }\n activePostFlushCbs[postFlushIndex]();\n }\n activePostFlushCbs = null;\n postFlushIndex = 0;\n }\n}\nconst getId = job => job.id == null ? Infinity : job.id;\nconst comparator = (a, b) => {\n const diff = getId(a) - getId(b);\n if (diff === 0) {\n if (a.pre && !b.pre) return -1;\n if (b.pre && !a.pre) return 1;\n }\n return diff;\n};\nfunction flushJobs(seen) {\n isFlushPending = false;\n isFlushing = true;\n if (true) {\n seen = seen || /* @__PURE__ */new Map();\n }\n queue.sort(comparator);\n const check = true ? job => checkRecursiveUpdates(seen, job) : 0;\n try {\n for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {\n const job = queue[flushIndex];\n if (job && job.active !== false) {\n if ( true && check(job)) {\n continue;\n }\n callWithErrorHandling(job, null, 14);\n }\n }\n } finally {\n flushIndex = 0;\n queue.length = 0;\n flushPostFlushCbs(seen);\n isFlushing = false;\n currentFlushPromise = null;\n if (queue.length || pendingPostFlushCbs.length) {\n flushJobs(seen);\n }\n }\n}\nfunction checkRecursiveUpdates(seen, fn) {\n if (!seen.has(fn)) {\n seen.set(fn, 1);\n } else {\n const count = seen.get(fn);\n if (count > RECURSION_LIMIT) {\n const instance = fn.ownerInstance;\n const componentName = instance && getComponentName(instance.type);\n warn(`Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`);\n return true;\n } else {\n seen.set(fn, count + 1);\n }\n }\n}\nlet isHmrUpdating = false;\nconst hmrDirtyComponents = /* @__PURE__ */new Set();\nif (true) {\n (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.getGlobalThis)().__VUE_HMR_RUNTIME__ = {\n createRecord: tryWrap(createRecord),\n rerender: tryWrap(rerender),\n reload: tryWrap(reload)\n };\n}\nconst map = /* @__PURE__ */new Map();\nfunction registerHMR(instance) {\n const id = instance.type.__hmrId;\n let record = map.get(id);\n if (!record) {\n createRecord(id, instance.type);\n record = map.get(id);\n }\n record.instances.add(instance);\n}\nfunction unregisterHMR(instance) {\n map.get(instance.type.__hmrId).instances.delete(instance);\n}\nfunction createRecord(id, initialDef) {\n if (map.has(id)) {\n return false;\n }\n map.set(id, {\n initialDef: normalizeClassComponent(initialDef),\n instances: /* @__PURE__ */new Set()\n });\n return true;\n}\nfunction normalizeClassComponent(component) {\n return isClassComponent(component) ? component.__vccOpts : component;\n}\nfunction rerender(id, newRender) {\n const record = map.get(id);\n if (!record) {\n return;\n }\n record.initialDef.render = newRender;\n [...record.instances].forEach(instance => {\n if (newRender) {\n instance.render = newRender;\n normalizeClassComponent(instance.type).render = newRender;\n }\n instance.renderCache = [];\n isHmrUpdating = true;\n instance.update();\n isHmrUpdating = false;\n });\n}\nfunction reload(id, newComp) {\n const record = map.get(id);\n if (!record) return;\n newComp = normalizeClassComponent(newComp);\n updateComponentDef(record.initialDef, newComp);\n const instances = [...record.instances];\n for (const instance of instances) {\n const oldComp = normalizeClassComponent(instance.type);\n if (!hmrDirtyComponents.has(oldComp)) {\n if (oldComp !== record.initialDef) {\n updateComponentDef(oldComp, newComp);\n }\n hmrDirtyComponents.add(oldComp);\n }\n instance.appContext.propsCache.delete(instance.type);\n instance.appContext.emitsCache.delete(instance.type);\n instance.appContext.optionsCache.delete(instance.type);\n if (instance.ceReload) {\n hmrDirtyComponents.add(oldComp);\n instance.ceReload(newComp.styles);\n hmrDirtyComponents.delete(oldComp);\n } else if (instance.parent) {\n queueJob(instance.parent.update);\n } else if (instance.appContext.reload) {\n instance.appContext.reload();\n } else if (typeof window !== \"undefined\") {\n window.location.reload();\n } else {\n console.warn(\"[HMR] Root or manually mounted instance modified. Full reload required.\");\n }\n }\n queuePostFlushCb(() => {\n for (const instance of instances) {\n hmrDirtyComponents.delete(normalizeClassComponent(instance.type));\n }\n });\n}\nfunction updateComponentDef(oldComp, newComp) {\n (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)(oldComp, newComp);\n for (const key in oldComp) {\n if (key !== \"__file\" && !(key in newComp)) {\n delete oldComp[key];\n }\n }\n}\nfunction tryWrap(fn) {\n return (id, arg) => {\n try {\n return fn(id, arg);\n } catch (e) {\n console.error(e);\n console.warn(`[HMR] Something went wrong during Vue component hot-reload. Full reload required.`);\n }\n };\n}\nlet devtools;\nlet buffer = [];\nlet devtoolsNotInstalled = false;\nfunction emit$1(event, ...args) {\n if (devtools) {\n devtools.emit(event, ...args);\n } else if (!devtoolsNotInstalled) {\n buffer.push({\n event,\n args\n });\n }\n}\nfunction setDevtoolsHook(hook, target) {\n var _a, _b;\n devtools = hook;\n if (devtools) {\n devtools.enabled = true;\n buffer.forEach(({\n event,\n args\n }) => devtools.emit(event, ...args));\n buffer = [];\n } else if (\n // handle late devtools injection - only do this if we are in an actual\n // browser environment to avoid the timer handle stalling test runner exit\n // (#4815)\n typeof window !== \"undefined\" &&\n // some envs mock window but not fully\n window.HTMLElement &&\n // also exclude jsdom\n !((_b = (_a = window.navigator) == null ? void 0 : _a.userAgent) == null ? void 0 : _b.includes(\"jsdom\"))) {\n const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || [];\n replay.push(newHook => {\n setDevtoolsHook(newHook, target);\n });\n setTimeout(() => {\n if (!devtools) {\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;\n devtoolsNotInstalled = true;\n buffer = [];\n }\n }, 3e3);\n } else {\n devtoolsNotInstalled = true;\n buffer = [];\n }\n}\nfunction devtoolsInitApp(app, version) {\n emit$1(\"app:init\" /* APP_INIT */, app, version, {\n Fragment,\n Text,\n Comment,\n Static\n });\n}\nfunction devtoolsUnmountApp(app) {\n emit$1(\"app:unmount\" /* APP_UNMOUNT */, app);\n}\nconst devtoolsComponentAdded = /* @__PURE__ */createDevtoolsComponentHook(\"component:added\" /* COMPONENT_ADDED */);\n\nconst devtoolsComponentUpdated = /* @__PURE__ */createDevtoolsComponentHook(\"component:updated\" /* COMPONENT_UPDATED */);\nconst _devtoolsComponentRemoved = /* @__PURE__ */createDevtoolsComponentHook(\"component:removed\" /* COMPONENT_REMOVED */);\n\nconst devtoolsComponentRemoved = component => {\n if (devtools && typeof devtools.cleanupBuffer === \"function\" &&\n // remove the component if it wasn't buffered\n !devtools.cleanupBuffer(component)) {\n _devtoolsComponentRemoved(component);\n }\n};\nfunction createDevtoolsComponentHook(hook) {\n return component => {\n emit$1(hook, component.appContext.app, component.uid, component.parent ? component.parent.uid : void 0, component);\n };\n}\nconst devtoolsPerfStart = /* @__PURE__ */createDevtoolsPerformanceHook(\"perf:start\" /* PERFORMANCE_START */);\n\nconst devtoolsPerfEnd = /* @__PURE__ */createDevtoolsPerformanceHook(\"perf:end\" /* PERFORMANCE_END */);\n\nfunction createDevtoolsPerformanceHook(hook) {\n return (component, type, time) => {\n emit$1(hook, component.appContext.app, component.uid, component, type, time);\n };\n}\nfunction devtoolsComponentEmit(component, event, params) {\n emit$1(\"component:emit\" /* COMPONENT_EMIT */, component.appContext.app, component, event, params);\n}\nfunction emit(instance, event, ...rawArgs) {\n if (instance.isUnmounted) return;\n const props = instance.vnode.props || _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ;\n if (true) {\n const {\n emitsOptions,\n propsOptions: [propsOptions]\n } = instance;\n if (emitsOptions) {\n if (!(event in emitsOptions) && true) {\n if (!propsOptions || !((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.toHandlerKey)(event) in propsOptions)) {\n warn(`Component emitted event \"${event}\" but it is neither declared in the emits option nor as an \"${(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.toHandlerKey)(event)}\" prop.`);\n }\n } else {\n const validator = emitsOptions[event];\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(validator)) {\n const isValid = validator(...rawArgs);\n if (!isValid) {\n warn(`Invalid event arguments: event validation failed for event \"${event}\".`);\n }\n }\n }\n }\n }\n let args = rawArgs;\n const isModelListener = event.startsWith(\"update:\");\n const modelArg = isModelListener && event.slice(7);\n if (modelArg && modelArg in props) {\n const modifiersKey = `${modelArg === \"modelValue\" ? \"model\" : modelArg}Modifiers`;\n const {\n number,\n trim\n } = props[modifiersKey] || _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ;\n if (trim) {\n args = rawArgs.map(a => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isString)(a) ? a.trim() : a);\n }\n if (number) {\n args = rawArgs.map(_vue_shared__WEBPACK_IMPORTED_MODULE_2__.looseToNumber);\n }\n }\n if (true) {\n devtoolsComponentEmit(instance, event, args);\n }\n if (true) {\n const lowerCaseEvent = event.toLowerCase();\n if (lowerCaseEvent !== event && props[(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.toHandlerKey)(lowerCaseEvent)]) {\n warn(`Event \"${lowerCaseEvent}\" is emitted in component ${formatComponentName(instance, instance.type)} but the handler is registered for \"${event}\". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use \"${(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hyphenate)(event)}\" instead of \"${event}\".`);\n }\n }\n let handlerName;\n let handler = props[handlerName = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.toHandlerKey)(event)] ||\n // also try camelCase event handler (#2249)\n props[handlerName = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.toHandlerKey)((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.camelize)(event))];\n if (!handler && isModelListener) {\n handler = props[handlerName = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.toHandlerKey)((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hyphenate)(event))];\n }\n if (handler) {\n callWithAsyncErrorHandling(handler, instance, 6, args);\n }\n const onceHandler = props[handlerName + `Once`];\n if (onceHandler) {\n if (!instance.emitted) {\n instance.emitted = {};\n } else if (instance.emitted[handlerName]) {\n return;\n }\n instance.emitted[handlerName] = true;\n callWithAsyncErrorHandling(onceHandler, instance, 6, args);\n }\n}\nfunction normalizeEmitsOptions(comp, appContext, asMixin = false) {\n const cache = appContext.emitsCache;\n const cached = cache.get(comp);\n if (cached !== void 0) {\n return cached;\n }\n const raw = comp.emits;\n let normalized = {};\n let hasExtends = false;\n if ( true && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(comp)) {\n const extendEmits = raw2 => {\n const normalizedFromExtend = normalizeEmitsOptions(raw2, appContext, true);\n if (normalizedFromExtend) {\n hasExtends = true;\n (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)(normalized, normalizedFromExtend);\n }\n };\n if (!asMixin && appContext.mixins.length) {\n appContext.mixins.forEach(extendEmits);\n }\n if (comp.extends) {\n extendEmits(comp.extends);\n }\n if (comp.mixins) {\n comp.mixins.forEach(extendEmits);\n }\n }\n if (!raw && !hasExtends) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(comp)) {\n cache.set(comp, null);\n }\n return null;\n }\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(raw)) {\n raw.forEach(key => normalized[key] = null);\n } else {\n (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)(normalized, raw);\n }\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(comp)) {\n cache.set(comp, normalized);\n }\n return normalized;\n}\nfunction isEmitListener(options, key) {\n if (!options || !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isOn)(key)) {\n return false;\n }\n key = key.slice(2).replace(/Once$/, \"\");\n return (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(options, key[0].toLowerCase() + key.slice(1)) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(options, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hyphenate)(key)) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(options, key);\n}\nlet currentRenderingInstance = null;\nlet currentScopeId = null;\nfunction setCurrentRenderingInstance(instance) {\n const prev = currentRenderingInstance;\n currentRenderingInstance = instance;\n currentScopeId = instance && instance.type.__scopeId || null;\n return prev;\n}\nfunction pushScopeId(id) {\n currentScopeId = id;\n}\nfunction popScopeId() {\n currentScopeId = null;\n}\nconst withScopeId = _id => withCtx;\nfunction withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot) {\n if (!ctx) return fn;\n if (fn._n) {\n return fn;\n }\n const renderFnWithContext = (...args) => {\n if (renderFnWithContext._d) {\n setBlockTracking(-1);\n }\n const prevInstance = setCurrentRenderingInstance(ctx);\n let res;\n try {\n res = fn(...args);\n } finally {\n setCurrentRenderingInstance(prevInstance);\n if (renderFnWithContext._d) {\n setBlockTracking(1);\n }\n }\n if (true) {\n devtoolsComponentUpdated(ctx);\n }\n return res;\n };\n renderFnWithContext._n = true;\n renderFnWithContext._c = true;\n renderFnWithContext._d = true;\n return renderFnWithContext;\n}\nlet accessedAttrs = false;\nfunction markAttrsAccessed() {\n accessedAttrs = true;\n}\nfunction renderComponentRoot(instance) {\n const {\n type: Component,\n vnode,\n proxy,\n withProxy,\n props,\n propsOptions: [propsOptions],\n slots,\n attrs,\n emit,\n render,\n renderCache,\n data,\n setupState,\n ctx,\n inheritAttrs\n } = instance;\n let result;\n let fallthroughAttrs;\n const prev = setCurrentRenderingInstance(instance);\n if (true) {\n accessedAttrs = false;\n }\n try {\n if (vnode.shapeFlag & 4) {\n const proxyToUse = withProxy || proxy;\n const thisProxy = true && setupState.__isScriptSetup ? new Proxy(proxyToUse, {\n get(target, key, receiver) {\n warn(`Property '${String(key)}' was accessed via 'this'. Avoid using 'this' in templates.`);\n return Reflect.get(target, key, receiver);\n }\n }) : proxyToUse;\n result = normalizeVNode(render.call(thisProxy, proxyToUse, renderCache, props, setupState, data, ctx));\n fallthroughAttrs = attrs;\n } else {\n const render2 = Component;\n if ( true && attrs === props) {\n markAttrsAccessed();\n }\n result = normalizeVNode(render2.length > 1 ? render2(props, true ? {\n get attrs() {\n markAttrsAccessed();\n return attrs;\n },\n slots,\n emit\n } : 0) : render2(props, null\n /* we know it doesn't need it */));\n\n fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);\n }\n } catch (err) {\n blockStack.length = 0;\n handleError(err, instance, 1);\n result = createVNode(Comment);\n }\n let root = result;\n let setRoot = void 0;\n if ( true && result.patchFlag > 0 && result.patchFlag & 2048) {\n [root, setRoot] = getChildRoot(result);\n }\n if (fallthroughAttrs && inheritAttrs !== false) {\n const keys = Object.keys(fallthroughAttrs);\n const {\n shapeFlag\n } = root;\n if (keys.length) {\n if (shapeFlag & (1 | 6)) {\n if (propsOptions && keys.some(_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isModelListener)) {\n fallthroughAttrs = filterModelListeners(fallthroughAttrs, propsOptions);\n }\n root = cloneVNode(root, fallthroughAttrs);\n } else if ( true && !accessedAttrs && root.type !== Comment) {\n const allAttrs = Object.keys(attrs);\n const eventAttrs = [];\n const extraAttrs = [];\n for (let i = 0, l = allAttrs.length; i < l; i++) {\n const key = allAttrs[i];\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isOn)(key)) {\n if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isModelListener)(key)) {\n eventAttrs.push(key[2].toLowerCase() + key.slice(3));\n }\n } else {\n extraAttrs.push(key);\n }\n }\n if (extraAttrs.length) {\n warn(`Extraneous non-props attributes (${extraAttrs.join(\", \")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`);\n }\n if (eventAttrs.length) {\n warn(`Extraneous non-emits event listeners (${eventAttrs.join(\", \")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the \"emits\" option.`);\n }\n }\n }\n }\n if (vnode.dirs) {\n if ( true && !isElementRoot(root)) {\n warn(`Runtime directive used on component with non-element root node. The directives will not function as intended.`);\n }\n root = cloneVNode(root);\n root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;\n }\n if (vnode.transition) {\n if ( true && !isElementRoot(root)) {\n warn(`Component inside <Transition> renders non-element root node that cannot be animated.`);\n }\n root.transition = vnode.transition;\n }\n if ( true && setRoot) {\n setRoot(root);\n } else {\n result = root;\n }\n setCurrentRenderingInstance(prev);\n return result;\n}\nconst getChildRoot = vnode => {\n const rawChildren = vnode.children;\n const dynamicChildren = vnode.dynamicChildren;\n const childRoot = filterSingleRoot(rawChildren);\n if (!childRoot) {\n return [vnode, void 0];\n }\n const index = rawChildren.indexOf(childRoot);\n const dynamicIndex = dynamicChildren ? dynamicChildren.indexOf(childRoot) : -1;\n const setRoot = updatedRoot => {\n rawChildren[index] = updatedRoot;\n if (dynamicChildren) {\n if (dynamicIndex > -1) {\n dynamicChildren[dynamicIndex] = updatedRoot;\n } else if (updatedRoot.patchFlag > 0) {\n vnode.dynamicChildren = [...dynamicChildren, updatedRoot];\n }\n }\n };\n return [normalizeVNode(childRoot), setRoot];\n};\nfunction filterSingleRoot(children) {\n let singleRoot;\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n if (isVNode(child)) {\n if (child.type !== Comment || child.children === \"v-if\") {\n if (singleRoot) {\n return;\n } else {\n singleRoot = child;\n }\n }\n } else {\n return;\n }\n }\n return singleRoot;\n}\nconst getFunctionalFallthrough = attrs => {\n let res;\n for (const key in attrs) {\n if (key === \"class\" || key === \"style\" || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isOn)(key)) {\n (res || (res = {}))[key] = attrs[key];\n }\n }\n return res;\n};\nconst filterModelListeners = (attrs, props) => {\n const res = {};\n for (const key in attrs) {\n if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isModelListener)(key) || !(key.slice(9) in props)) {\n res[key] = attrs[key];\n }\n }\n return res;\n};\nconst isElementRoot = vnode => {\n return vnode.shapeFlag & (6 | 1) || vnode.type === Comment;\n};\nfunction shouldUpdateComponent(prevVNode, nextVNode, optimized) {\n const {\n props: prevProps,\n children: prevChildren,\n component\n } = prevVNode;\n const {\n props: nextProps,\n children: nextChildren,\n patchFlag\n } = nextVNode;\n const emits = component.emitsOptions;\n if ( true && (prevChildren || nextChildren) && isHmrUpdating) {\n return true;\n }\n if (nextVNode.dirs || nextVNode.transition) {\n return true;\n }\n if (optimized && patchFlag >= 0) {\n if (patchFlag & 1024) {\n return true;\n }\n if (patchFlag & 16) {\n if (!prevProps) {\n return !!nextProps;\n }\n return hasPropsChanged(prevProps, nextProps, emits);\n } else if (patchFlag & 8) {\n const dynamicProps = nextVNode.dynamicProps;\n for (let i = 0; i < dynamicProps.length; i++) {\n const key = dynamicProps[i];\n if (nextProps[key] !== prevProps[key] && !isEmitListener(emits, key)) {\n return true;\n }\n }\n }\n } else {\n if (prevChildren || nextChildren) {\n if (!nextChildren || !nextChildren.$stable) {\n return true;\n }\n }\n if (prevProps === nextProps) {\n return false;\n }\n if (!prevProps) {\n return !!nextProps;\n }\n if (!nextProps) {\n return true;\n }\n return hasPropsChanged(prevProps, nextProps, emits);\n }\n return false;\n}\nfunction hasPropsChanged(prevProps, nextProps, emitsOptions) {\n const nextKeys = Object.keys(nextProps);\n if (nextKeys.length !== Object.keys(prevProps).length) {\n return true;\n }\n for (let i = 0; i < nextKeys.length; i++) {\n const key = nextKeys[i];\n if (nextProps[key] !== prevProps[key] && !isEmitListener(emitsOptions, key)) {\n return true;\n }\n }\n return false;\n}\nfunction updateHOCHostEl({\n vnode,\n parent\n}, el) {\n while (parent && parent.subTree === vnode) {\n (vnode = parent.vnode).el = el;\n parent = parent.parent;\n }\n}\nconst COMPONENTS = \"components\";\nconst DIRECTIVES = \"directives\";\nfunction resolveComponent(name, maybeSelfReference) {\n return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;\n}\nconst NULL_DYNAMIC_COMPONENT = Symbol.for(\"v-ndc\");\nfunction resolveDynamicComponent(component) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isString)(component)) {\n return resolveAsset(COMPONENTS, component, false) || component;\n } else {\n return component || NULL_DYNAMIC_COMPONENT;\n }\n}\nfunction resolveDirective(name) {\n return resolveAsset(DIRECTIVES, name);\n}\nfunction resolveAsset(type, name, warnMissing = true, maybeSelfReference = false) {\n const instance = currentRenderingInstance || currentInstance;\n if (instance) {\n const Component = instance.type;\n if (type === COMPONENTS) {\n const selfName = getComponentName(Component, false\n /* do not include inferred name to avoid breaking existing code */);\n\n if (selfName && (selfName === name || selfName === (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.camelize)(name) || selfName === (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.capitalize)((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.camelize)(name)))) {\n return Component;\n }\n }\n const res =\n // local registration\n // check instance[type] first which is resolved for options API\n resolve(instance[type] || Component[type], name) ||\n // global registration\n resolve(instance.appContext[type], name);\n if (!res && maybeSelfReference) {\n return Component;\n }\n if ( true && warnMissing && !res) {\n const extra = type === COMPONENTS ? `\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : ``;\n warn(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);\n }\n return res;\n } else if (true) {\n warn(`resolve${(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.capitalize)(type.slice(0, -1))} can only be used in render() or setup().`);\n }\n}\nfunction resolve(registry, name) {\n return registry && (registry[name] || registry[(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.camelize)(name)] || registry[(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.capitalize)((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.camelize)(name))]);\n}\nconst isSuspense = type => type.__isSuspense;\nconst SuspenseImpl = {\n name: \"Suspense\",\n // In order to make Suspense tree-shakable, we need to avoid importing it\n // directly in the renderer. The renderer checks for the __isSuspense flag\n // on a vnode's type and calls the `process` method, passing in renderer\n // internals.\n __isSuspense: true,\n process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) {\n if (n1 == null) {\n mountSuspense(n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals);\n } else {\n patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, rendererInternals);\n }\n },\n hydrate: hydrateSuspense,\n create: createSuspenseBoundary,\n normalize: normalizeSuspenseChildren\n};\nconst Suspense = SuspenseImpl;\nfunction triggerEvent(vnode, name) {\n const eventListener = vnode.props && vnode.props[name];\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(eventListener)) {\n eventListener();\n }\n}\nfunction mountSuspense(vnode, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) {\n const {\n p: patch,\n o: {\n createElement\n }\n } = rendererInternals;\n const hiddenContainer = createElement(\"div\");\n const suspense = vnode.suspense = createSuspenseBoundary(vnode, parentSuspense, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals);\n patch(null, suspense.pendingBranch = vnode.ssContent, hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds);\n if (suspense.deps > 0) {\n triggerEvent(vnode, \"onPending\");\n triggerEvent(vnode, \"onFallback\");\n patch(null, vnode.ssFallback, container, anchor, parentComponent, null,\n // fallback tree will not have suspense context\n isSVG, slotScopeIds);\n setActiveBranch(suspense, vnode.ssFallback);\n } else {\n suspense.resolve(false, true);\n }\n}\nfunction patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, {\n p: patch,\n um: unmount,\n o: {\n createElement\n }\n}) {\n const suspense = n2.suspense = n1.suspense;\n suspense.vnode = n2;\n n2.el = n1.el;\n const newBranch = n2.ssContent;\n const newFallback = n2.ssFallback;\n const {\n activeBranch,\n pendingBranch,\n isInFallback,\n isHydrating\n } = suspense;\n if (pendingBranch) {\n suspense.pendingBranch = newBranch;\n if (isSameVNodeType(newBranch, pendingBranch)) {\n patch(pendingBranch, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n if (suspense.deps <= 0) {\n suspense.resolve();\n } else if (isInFallback) {\n patch(activeBranch, newFallback, container, anchor, parentComponent, null,\n // fallback tree will not have suspense context\n isSVG, slotScopeIds, optimized);\n setActiveBranch(suspense, newFallback);\n }\n } else {\n suspense.pendingId++;\n if (isHydrating) {\n suspense.isHydrating = false;\n suspense.activeBranch = pendingBranch;\n } else {\n unmount(pendingBranch, parentComponent, suspense);\n }\n suspense.deps = 0;\n suspense.effects.length = 0;\n suspense.hiddenContainer = createElement(\"div\");\n if (isInFallback) {\n patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n if (suspense.deps <= 0) {\n suspense.resolve();\n } else {\n patch(activeBranch, newFallback, container, anchor, parentComponent, null,\n // fallback tree will not have suspense context\n isSVG, slotScopeIds, optimized);\n setActiveBranch(suspense, newFallback);\n }\n } else if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\n patch(activeBranch, newBranch, container, anchor, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n suspense.resolve(true);\n } else {\n patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n if (suspense.deps <= 0) {\n suspense.resolve();\n }\n }\n }\n } else {\n if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\n patch(activeBranch, newBranch, container, anchor, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n setActiveBranch(suspense, newBranch);\n } else {\n triggerEvent(n2, \"onPending\");\n suspense.pendingBranch = newBranch;\n suspense.pendingId++;\n patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n if (suspense.deps <= 0) {\n suspense.resolve();\n } else {\n const {\n timeout,\n pendingId\n } = suspense;\n if (timeout > 0) {\n setTimeout(() => {\n if (suspense.pendingId === pendingId) {\n suspense.fallback(newFallback);\n }\n }, timeout);\n } else if (timeout === 0) {\n suspense.fallback(newFallback);\n }\n }\n }\n }\n}\nlet hasWarned = false;\nfunction createSuspenseBoundary(vnode, parentSuspense, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals, isHydrating = false) {\n if ( true && !hasWarned) {\n hasWarned = true;\n console[console.info ? \"info\" : \"log\"](`<Suspense> is an experimental feature and its API will likely change.`);\n }\n const {\n p: patch,\n m: move,\n um: unmount,\n n: next,\n o: {\n parentNode,\n remove\n }\n } = rendererInternals;\n let parentSuspenseId;\n const isSuspensible = isVNodeSuspensible(vnode);\n if (isSuspensible) {\n if (parentSuspense == null ? void 0 : parentSuspense.pendingBranch) {\n parentSuspenseId = parentSuspense.pendingId;\n parentSuspense.deps++;\n }\n }\n const timeout = vnode.props ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.toNumber)(vnode.props.timeout) : void 0;\n if (true) {\n assertNumber(timeout, `Suspense timeout`);\n }\n const suspense = {\n vnode,\n parent: parentSuspense,\n parentComponent,\n isSVG,\n container,\n hiddenContainer,\n anchor,\n deps: 0,\n pendingId: 0,\n timeout: typeof timeout === \"number\" ? timeout : -1,\n activeBranch: null,\n pendingBranch: null,\n isInFallback: true,\n isHydrating,\n isUnmounted: false,\n effects: [],\n resolve(resume = false, sync = false) {\n if (true) {\n if (!resume && !suspense.pendingBranch) {\n throw new Error(`suspense.resolve() is called without a pending branch.`);\n }\n if (suspense.isUnmounted) {\n throw new Error(`suspense.resolve() is called on an already unmounted suspense boundary.`);\n }\n }\n const {\n vnode: vnode2,\n activeBranch,\n pendingBranch,\n pendingId,\n effects,\n parentComponent: parentComponent2,\n container: container2\n } = suspense;\n let delayEnter = false;\n if (suspense.isHydrating) {\n suspense.isHydrating = false;\n } else if (!resume) {\n delayEnter = activeBranch && pendingBranch.transition && pendingBranch.transition.mode === \"out-in\";\n if (delayEnter) {\n activeBranch.transition.afterLeave = () => {\n if (pendingId === suspense.pendingId) {\n move(pendingBranch, container2, next(activeBranch), 0);\n queuePostFlushCb(effects);\n }\n };\n }\n let {\n anchor: anchor2\n } = suspense;\n if (activeBranch) {\n anchor2 = next(activeBranch);\n unmount(activeBranch, parentComponent2, suspense, true);\n }\n if (!delayEnter) {\n move(pendingBranch, container2, anchor2, 0);\n }\n }\n setActiveBranch(suspense, pendingBranch);\n suspense.pendingBranch = null;\n suspense.isInFallback = false;\n let parent = suspense.parent;\n let hasUnresolvedAncestor = false;\n while (parent) {\n if (parent.pendingBranch) {\n parent.effects.push(...effects);\n hasUnresolvedAncestor = true;\n break;\n }\n parent = parent.parent;\n }\n if (!hasUnresolvedAncestor && !delayEnter) {\n queuePostFlushCb(effects);\n }\n suspense.effects = [];\n if (isSuspensible) {\n if (parentSuspense && parentSuspense.pendingBranch && parentSuspenseId === parentSuspense.pendingId) {\n parentSuspense.deps--;\n if (parentSuspense.deps === 0 && !sync) {\n parentSuspense.resolve();\n }\n }\n }\n triggerEvent(vnode2, \"onResolve\");\n },\n fallback(fallbackVNode) {\n if (!suspense.pendingBranch) {\n return;\n }\n const {\n vnode: vnode2,\n activeBranch,\n parentComponent: parentComponent2,\n container: container2,\n isSVG: isSVG2\n } = suspense;\n triggerEvent(vnode2, \"onFallback\");\n const anchor2 = next(activeBranch);\n const mountFallback = () => {\n if (!suspense.isInFallback) {\n return;\n }\n patch(null, fallbackVNode, container2, anchor2, parentComponent2, null,\n // fallback tree will not have suspense context\n isSVG2, slotScopeIds, optimized);\n setActiveBranch(suspense, fallbackVNode);\n };\n const delayEnter = fallbackVNode.transition && fallbackVNode.transition.mode === \"out-in\";\n if (delayEnter) {\n activeBranch.transition.afterLeave = mountFallback;\n }\n suspense.isInFallback = true;\n unmount(activeBranch, parentComponent2, null,\n // no suspense so unmount hooks fire now\n true\n // shouldRemove\n );\n\n if (!delayEnter) {\n mountFallback();\n }\n },\n move(container2, anchor2, type) {\n suspense.activeBranch && move(suspense.activeBranch, container2, anchor2, type);\n suspense.container = container2;\n },\n next() {\n return suspense.activeBranch && next(suspense.activeBranch);\n },\n registerDep(instance, setupRenderEffect) {\n const isInPendingSuspense = !!suspense.pendingBranch;\n if (isInPendingSuspense) {\n suspense.deps++;\n }\n const hydratedEl = instance.vnode.el;\n instance.asyncDep.catch(err => {\n handleError(err, instance, 0);\n }).then(asyncSetupResult => {\n if (instance.isUnmounted || suspense.isUnmounted || suspense.pendingId !== instance.suspenseId) {\n return;\n }\n instance.asyncResolved = true;\n const {\n vnode: vnode2\n } = instance;\n if (true) {\n pushWarningContext(vnode2);\n }\n handleSetupResult(instance, asyncSetupResult, false);\n if (hydratedEl) {\n vnode2.el = hydratedEl;\n }\n const placeholder = !hydratedEl && instance.subTree.el;\n setupRenderEffect(instance, vnode2,\n // component may have been moved before resolve.\n // if this is not a hydration, instance.subTree will be the comment\n // placeholder.\n parentNode(hydratedEl || instance.subTree.el),\n // anchor will not be used if this is hydration, so only need to\n // consider the comment placeholder case.\n hydratedEl ? null : next(instance.subTree), suspense, isSVG, optimized);\n if (placeholder) {\n remove(placeholder);\n }\n updateHOCHostEl(instance, vnode2.el);\n if (true) {\n popWarningContext();\n }\n if (isInPendingSuspense && --suspense.deps === 0) {\n suspense.resolve();\n }\n });\n },\n unmount(parentSuspense2, doRemove) {\n suspense.isUnmounted = true;\n if (suspense.activeBranch) {\n unmount(suspense.activeBranch, parentComponent, parentSuspense2, doRemove);\n }\n if (suspense.pendingBranch) {\n unmount(suspense.pendingBranch, parentComponent, parentSuspense2, doRemove);\n }\n }\n };\n return suspense;\n}\nfunction hydrateSuspense(node, vnode, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals, hydrateNode) {\n const suspense = vnode.suspense = createSuspenseBoundary(vnode, parentSuspense, parentComponent, node.parentNode, document.createElement(\"div\"), null, isSVG, slotScopeIds, optimized, rendererInternals, true\n /* hydrating */);\n\n const result = hydrateNode(node, suspense.pendingBranch = vnode.ssContent, parentComponent, suspense, slotScopeIds, optimized);\n if (suspense.deps === 0) {\n suspense.resolve(false, true);\n }\n return result;\n}\nfunction normalizeSuspenseChildren(vnode) {\n const {\n shapeFlag,\n children\n } = vnode;\n const isSlotChildren = shapeFlag & 32;\n vnode.ssContent = normalizeSuspenseSlot(isSlotChildren ? children.default : children);\n vnode.ssFallback = isSlotChildren ? normalizeSuspenseSlot(children.fallback) : createVNode(Comment);\n}\nfunction normalizeSuspenseSlot(s) {\n let block;\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(s)) {\n const trackBlock = isBlockTreeEnabled && s._c;\n if (trackBlock) {\n s._d = false;\n openBlock();\n }\n s = s();\n if (trackBlock) {\n s._d = true;\n block = currentBlock;\n closeBlock();\n }\n }\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(s)) {\n const singleChild = filterSingleRoot(s);\n if ( true && !singleChild && s.filter(child => child !== NULL_DYNAMIC_COMPONENT).length > 0) {\n warn(`<Suspense> slots expect a single root node.`);\n }\n s = singleChild;\n }\n s = normalizeVNode(s);\n if (block && !s.dynamicChildren) {\n s.dynamicChildren = block.filter(c => c !== s);\n }\n return s;\n}\nfunction queueEffectWithSuspense(fn, suspense) {\n if (suspense && suspense.pendingBranch) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(fn)) {\n suspense.effects.push(...fn);\n } else {\n suspense.effects.push(fn);\n }\n } else {\n queuePostFlushCb(fn);\n }\n}\nfunction setActiveBranch(suspense, branch) {\n suspense.activeBranch = branch;\n const {\n vnode,\n parentComponent\n } = suspense;\n const el = vnode.el = branch.el;\n if (parentComponent && parentComponent.subTree === vnode) {\n parentComponent.vnode.el = el;\n updateHOCHostEl(parentComponent, el);\n }\n}\nfunction isVNodeSuspensible(vnode) {\n var _a;\n return ((_a = vnode.props) == null ? void 0 : _a.suspensible) != null && vnode.props.suspensible !== false;\n}\nfunction watchEffect(effect, options) {\n return doWatch(effect, null, options);\n}\nfunction watchPostEffect(effect, options) {\n return doWatch(effect, null, true ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)({}, options, {\n flush: \"post\"\n }) : 0);\n}\nfunction watchSyncEffect(effect, options) {\n return doWatch(effect, null, true ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)({}, options, {\n flush: \"sync\"\n }) : 0);\n}\nconst INITIAL_WATCHER_VALUE = {};\nfunction watch(source, cb, options) {\n if ( true && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(cb)) {\n warn(`\\`watch(fn, options?)\\` signature has been moved to a separate API. Use \\`watchEffect(fn, options?)\\` instead. \\`watch\\` now only supports \\`watch(source, cb, options?) signature.`);\n }\n return doWatch(source, cb, options);\n}\nfunction doWatch(source, cb, {\n immediate,\n deep,\n flush,\n onTrack,\n onTrigger\n} = _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ) {\n var _a;\n if ( true && !cb) {\n if (immediate !== void 0) {\n warn(`watch() \"immediate\" option is only respected when using the watch(source, callback, options?) signature.`);\n }\n if (deep !== void 0) {\n warn(`watch() \"deep\" option is only respected when using the watch(source, callback, options?) signature.`);\n }\n }\n const warnInvalidSource = s => {\n warn(`Invalid watch source: `, s, `A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.`);\n };\n const instance = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.getCurrentScope)() === ((_a = currentInstance) == null ? void 0 : _a.scope) ? currentInstance : null;\n let getter;\n let forceTrigger = false;\n let isMultiSource = false;\n if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isRef)(source)) {\n getter = () => source.value;\n forceTrigger = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isShallow)(source);\n } else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isReactive)(source)) {\n getter = () => source;\n deep = true;\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(source)) {\n isMultiSource = true;\n forceTrigger = source.some(s => (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isReactive)(s) || (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isShallow)(s));\n getter = () => source.map(s => {\n if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isRef)(s)) {\n return s.value;\n } else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isReactive)(s)) {\n return traverse(s);\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(s)) {\n return callWithErrorHandling(s, instance, 2);\n } else {\n true && warnInvalidSource(s);\n }\n });\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(source)) {\n if (cb) {\n getter = () => callWithErrorHandling(source, instance, 2);\n } else {\n getter = () => {\n if (instance && instance.isUnmounted) {\n return;\n }\n if (cleanup) {\n cleanup();\n }\n return callWithAsyncErrorHandling(source, instance, 3, [onCleanup]);\n };\n }\n } else {\n getter = _vue_shared__WEBPACK_IMPORTED_MODULE_2__.NOOP;\n true && warnInvalidSource(source);\n }\n if (cb && deep) {\n const baseGetter = getter;\n getter = () => traverse(baseGetter());\n }\n let cleanup;\n let onCleanup = fn => {\n cleanup = effect.onStop = () => {\n callWithErrorHandling(fn, instance, 4);\n cleanup = effect.onStop = void 0;\n };\n };\n let ssrCleanup;\n if (isInSSRComponentSetup) {\n onCleanup = _vue_shared__WEBPACK_IMPORTED_MODULE_2__.NOOP;\n if (!cb) {\n getter();\n } else if (immediate) {\n callWithAsyncErrorHandling(cb, instance, 3, [getter(), isMultiSource ? [] : void 0, onCleanup]);\n }\n if (flush === \"sync\") {\n const ctx = useSSRContext();\n ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);\n } else {\n return _vue_shared__WEBPACK_IMPORTED_MODULE_2__.NOOP;\n }\n }\n let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE;\n const job = () => {\n if (!effect.active) {\n return;\n }\n if (cb) {\n const newValue = effect.run();\n if (deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasChanged)(v, oldValue[i])) : (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasChanged)(newValue, oldValue)) || false) {\n if (cleanup) {\n cleanup();\n }\n callWithAsyncErrorHandling(cb, instance, 3, [newValue,\n // pass undefined as the old value when it's changed for the first time\n oldValue === INITIAL_WATCHER_VALUE ? void 0 : isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE ? [] : oldValue, onCleanup]);\n oldValue = newValue;\n }\n } else {\n effect.run();\n }\n };\n job.allowRecurse = !!cb;\n let scheduler;\n if (flush === \"sync\") {\n scheduler = job;\n } else if (flush === \"post\") {\n scheduler = () => queuePostRenderEffect(job, instance && instance.suspense);\n } else {\n job.pre = true;\n if (instance) job.id = instance.uid;\n scheduler = () => queueJob(job);\n }\n const effect = new _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.ReactiveEffect(getter, scheduler);\n if (true) {\n effect.onTrack = onTrack;\n effect.onTrigger = onTrigger;\n }\n if (cb) {\n if (immediate) {\n job();\n } else {\n oldValue = effect.run();\n }\n } else if (flush === \"post\") {\n queuePostRenderEffect(effect.run.bind(effect), instance && instance.suspense);\n } else {\n effect.run();\n }\n const unwatch = () => {\n effect.stop();\n if (instance && instance.scope) {\n (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.remove)(instance.scope.effects, effect);\n }\n };\n if (ssrCleanup) ssrCleanup.push(unwatch);\n return unwatch;\n}\nfunction instanceWatch(source, value, options) {\n const publicThis = this.proxy;\n const getter = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isString)(source) ? source.includes(\".\") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);\n let cb;\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(value)) {\n cb = value;\n } else {\n cb = value.handler;\n options = value;\n }\n const cur = currentInstance;\n setCurrentInstance(this);\n const res = doWatch(getter, cb.bind(publicThis), options);\n if (cur) {\n setCurrentInstance(cur);\n } else {\n unsetCurrentInstance();\n }\n return res;\n}\nfunction createPathGetter(ctx, path) {\n const segments = path.split(\".\");\n return () => {\n let cur = ctx;\n for (let i = 0; i < segments.length && cur; i++) {\n cur = cur[segments[i]];\n }\n return cur;\n };\n}\nfunction traverse(value, seen) {\n if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(value) || value[\"__v_skip\"]) {\n return value;\n }\n seen = seen || /* @__PURE__ */new Set();\n if (seen.has(value)) {\n return value;\n }\n seen.add(value);\n if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isRef)(value)) {\n traverse(value.value, seen);\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(value)) {\n for (let i = 0; i < value.length; i++) {\n traverse(value[i], seen);\n }\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isSet)(value) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isMap)(value)) {\n value.forEach(v => {\n traverse(v, seen);\n });\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(value)) {\n for (const key in value) {\n traverse(value[key], seen);\n }\n }\n return value;\n}\nfunction validateDirectiveName(name) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isBuiltInDirective)(name)) {\n warn(\"Do not use built-in directive ids as custom directive id: \" + name);\n }\n}\nfunction withDirectives(vnode, directives) {\n const internalInstance = currentRenderingInstance;\n if (internalInstance === null) {\n true && warn(`withDirectives can only be used inside render functions.`);\n return vnode;\n }\n const instance = getExposeProxy(internalInstance) || internalInstance.proxy;\n const bindings = vnode.dirs || (vnode.dirs = []);\n for (let i = 0; i < directives.length; i++) {\n let [dir, value, arg, modifiers = _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ] = directives[i];\n if (dir) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(dir)) {\n dir = {\n mounted: dir,\n updated: dir\n };\n }\n if (dir.deep) {\n traverse(value);\n }\n bindings.push({\n dir,\n instance,\n value,\n oldValue: void 0,\n arg,\n modifiers\n });\n }\n }\n return vnode;\n}\nfunction invokeDirectiveHook(vnode, prevVNode, instance, name) {\n const bindings = vnode.dirs;\n const oldBindings = prevVNode && prevVNode.dirs;\n for (let i = 0; i < bindings.length; i++) {\n const binding = bindings[i];\n if (oldBindings) {\n binding.oldValue = oldBindings[i].value;\n }\n let hook = binding.dir[name];\n if (hook) {\n (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.pauseTracking)();\n callWithAsyncErrorHandling(hook, instance, 8, [vnode.el, binding, vnode, prevVNode]);\n (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.resetTracking)();\n }\n }\n}\nconst leaveCbKey = Symbol(\"_leaveCb\");\nconst enterCbKey = Symbol(\"_enterCb\");\nfunction useTransitionState() {\n const state = {\n isMounted: false,\n isLeaving: false,\n isUnmounting: false,\n leavingVNodes: /* @__PURE__ */new Map()\n };\n onMounted(() => {\n state.isMounted = true;\n });\n onBeforeUnmount(() => {\n state.isUnmounting = true;\n });\n return state;\n}\nconst TransitionHookValidator = [Function, Array];\nconst BaseTransitionPropsValidators = {\n mode: String,\n appear: Boolean,\n persisted: Boolean,\n // enter\n onBeforeEnter: TransitionHookValidator,\n onEnter: TransitionHookValidator,\n onAfterEnter: TransitionHookValidator,\n onEnterCancelled: TransitionHookValidator,\n // leave\n onBeforeLeave: TransitionHookValidator,\n onLeave: TransitionHookValidator,\n onAfterLeave: TransitionHookValidator,\n onLeaveCancelled: TransitionHookValidator,\n // appear\n onBeforeAppear: TransitionHookValidator,\n onAppear: TransitionHookValidator,\n onAfterAppear: TransitionHookValidator,\n onAppearCancelled: TransitionHookValidator\n};\nconst BaseTransitionImpl = {\n name: `BaseTransition`,\n props: BaseTransitionPropsValidators,\n setup(props, {\n slots\n }) {\n const instance = getCurrentInstance();\n const state = useTransitionState();\n let prevTransitionKey;\n return () => {\n const children = slots.default && getTransitionRawChildren(slots.default(), true);\n if (!children || !children.length) {\n return;\n }\n let child = children[0];\n if (children.length > 1) {\n let hasFound = false;\n for (const c of children) {\n if (c.type !== Comment) {\n if ( true && hasFound) {\n warn(\"<transition> can only be used on a single element or component. Use <transition-group> for lists.\");\n break;\n }\n child = c;\n hasFound = true;\n if (false) {}\n }\n }\n }\n const rawProps = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.toRaw)(props);\n const {\n mode\n } = rawProps;\n if ( true && mode && mode !== \"in-out\" && mode !== \"out-in\" && mode !== \"default\") {\n warn(`invalid <transition> mode: ${mode}`);\n }\n if (state.isLeaving) {\n return emptyPlaceholder(child);\n }\n const innerChild = getKeepAliveChild(child);\n if (!innerChild) {\n return emptyPlaceholder(child);\n }\n const enterHooks = resolveTransitionHooks(innerChild, rawProps, state, instance);\n setTransitionHooks(innerChild, enterHooks);\n const oldChild = instance.subTree;\n const oldInnerChild = oldChild && getKeepAliveChild(oldChild);\n let transitionKeyChanged = false;\n const {\n getTransitionKey\n } = innerChild.type;\n if (getTransitionKey) {\n const key = getTransitionKey();\n if (prevTransitionKey === void 0) {\n prevTransitionKey = key;\n } else if (key !== prevTransitionKey) {\n prevTransitionKey = key;\n transitionKeyChanged = true;\n }\n }\n if (oldInnerChild && oldInnerChild.type !== Comment && (!isSameVNodeType(innerChild, oldInnerChild) || transitionKeyChanged)) {\n const leavingHooks = resolveTransitionHooks(oldInnerChild, rawProps, state, instance);\n setTransitionHooks(oldInnerChild, leavingHooks);\n if (mode === \"out-in\") {\n state.isLeaving = true;\n leavingHooks.afterLeave = () => {\n state.isLeaving = false;\n if (instance.update.active !== false) {\n instance.update();\n }\n };\n return emptyPlaceholder(child);\n } else if (mode === \"in-out\" && innerChild.type !== Comment) {\n leavingHooks.delayLeave = (el, earlyRemove, delayedLeave) => {\n const leavingVNodesCache = getLeavingNodesForType(state, oldInnerChild);\n leavingVNodesCache[String(oldInnerChild.key)] = oldInnerChild;\n el[leaveCbKey] = () => {\n earlyRemove();\n el[leaveCbKey] = void 0;\n delete enterHooks.delayedLeave;\n };\n enterHooks.delayedLeave = delayedLeave;\n };\n }\n }\n return child;\n };\n }\n};\nconst BaseTransition = BaseTransitionImpl;\nfunction getLeavingNodesForType(state, vnode) {\n const {\n leavingVNodes\n } = state;\n let leavingVNodesCache = leavingVNodes.get(vnode.type);\n if (!leavingVNodesCache) {\n leavingVNodesCache = /* @__PURE__ */Object.create(null);\n leavingVNodes.set(vnode.type, leavingVNodesCache);\n }\n return leavingVNodesCache;\n}\nfunction resolveTransitionHooks(vnode, props, state, instance) {\n const {\n appear,\n mode,\n persisted = false,\n onBeforeEnter,\n onEnter,\n onAfterEnter,\n onEnterCancelled,\n onBeforeLeave,\n onLeave,\n onAfterLeave,\n onLeaveCancelled,\n onBeforeAppear,\n onAppear,\n onAfterAppear,\n onAppearCancelled\n } = props;\n const key = String(vnode.key);\n const leavingVNodesCache = getLeavingNodesForType(state, vnode);\n const callHook = (hook, args) => {\n hook && callWithAsyncErrorHandling(hook, instance, 9, args);\n };\n const callAsyncHook = (hook, args) => {\n const done = args[1];\n callHook(hook, args);\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(hook)) {\n if (hook.every(hook2 => hook2.length <= 1)) done();\n } else if (hook.length <= 1) {\n done();\n }\n };\n const hooks = {\n mode,\n persisted,\n beforeEnter(el) {\n let hook = onBeforeEnter;\n if (!state.isMounted) {\n if (appear) {\n hook = onBeforeAppear || onBeforeEnter;\n } else {\n return;\n }\n }\n if (el[leaveCbKey]) {\n el[leaveCbKey](true\n /* cancelled */);\n }\n\n const leavingVNode = leavingVNodesCache[key];\n if (leavingVNode && isSameVNodeType(vnode, leavingVNode) && leavingVNode.el[leaveCbKey]) {\n leavingVNode.el[leaveCbKey]();\n }\n callHook(hook, [el]);\n },\n enter(el) {\n let hook = onEnter;\n let afterHook = onAfterEnter;\n let cancelHook = onEnterCancelled;\n if (!state.isMounted) {\n if (appear) {\n hook = onAppear || onEnter;\n afterHook = onAfterAppear || onAfterEnter;\n cancelHook = onAppearCancelled || onEnterCancelled;\n } else {\n return;\n }\n }\n let called = false;\n const done = el[enterCbKey] = cancelled => {\n if (called) return;\n called = true;\n if (cancelled) {\n callHook(cancelHook, [el]);\n } else {\n callHook(afterHook, [el]);\n }\n if (hooks.delayedLeave) {\n hooks.delayedLeave();\n }\n el[enterCbKey] = void 0;\n };\n if (hook) {\n callAsyncHook(hook, [el, done]);\n } else {\n done();\n }\n },\n leave(el, remove) {\n const key2 = String(vnode.key);\n if (el[enterCbKey]) {\n el[enterCbKey](true\n /* cancelled */);\n }\n\n if (state.isUnmounting) {\n return remove();\n }\n callHook(onBeforeLeave, [el]);\n let called = false;\n const done = el[leaveCbKey] = cancelled => {\n if (called) return;\n called = true;\n remove();\n if (cancelled) {\n callHook(onLeaveCancelled, [el]);\n } else {\n callHook(onAfterLeave, [el]);\n }\n el[leaveCbKey] = void 0;\n if (leavingVNodesCache[key2] === vnode) {\n delete leavingVNodesCache[key2];\n }\n };\n leavingVNodesCache[key2] = vnode;\n if (onLeave) {\n callAsyncHook(onLeave, [el, done]);\n } else {\n done();\n }\n },\n clone(vnode2) {\n return resolveTransitionHooks(vnode2, props, state, instance);\n }\n };\n return hooks;\n}\nfunction emptyPlaceholder(vnode) {\n if (isKeepAlive(vnode)) {\n vnode = cloneVNode(vnode);\n vnode.children = null;\n return vnode;\n }\n}\nfunction getKeepAliveChild(vnode) {\n return isKeepAlive(vnode) ?\n // #7121 ensure get the child component subtree in case\n // it's been replaced during HMR\n true && vnode.component ? vnode.component.subTree : vnode.children ? vnode.children[0] : void 0 : vnode;\n}\nfunction setTransitionHooks(vnode, hooks) {\n if (vnode.shapeFlag & 6 && vnode.component) {\n setTransitionHooks(vnode.component.subTree, hooks);\n } else if (vnode.shapeFlag & 128) {\n vnode.ssContent.transition = hooks.clone(vnode.ssContent);\n vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);\n } else {\n vnode.transition = hooks;\n }\n}\nfunction getTransitionRawChildren(children, keepComment = false, parentKey) {\n let ret = [];\n let keyedFragmentCount = 0;\n for (let i = 0; i < children.length; i++) {\n let child = children[i];\n const key = parentKey == null ? child.key : String(parentKey) + String(child.key != null ? child.key : i);\n if (child.type === Fragment) {\n if (child.patchFlag & 128) keyedFragmentCount++;\n ret = ret.concat(getTransitionRawChildren(child.children, keepComment, key));\n } else if (keepComment || child.type !== Comment) {\n ret.push(key != null ? cloneVNode(child, {\n key\n }) : child);\n }\n }\n if (keyedFragmentCount > 1) {\n for (let i = 0; i < ret.length; i++) {\n ret[i].patchFlag = -2;\n }\n }\n return ret;\n}\n\n/*! #__NO_SIDE_EFFECTS__ */\n// @__NO_SIDE_EFFECTS__\nfunction defineComponent(options, extraOptions) {\n return (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(options) ?\n // #8326: extend call and options.name access are considered side-effects\n // by Rollup, so we have to wrap it in a pure-annotated IIFE.\n /* @__PURE__ */\n (() => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)({\n name: options.name\n }, extraOptions, {\n setup: options\n }))() : options;\n}\nconst isAsyncWrapper = i => !!i.type.__asyncLoader;\n/*! #__NO_SIDE_EFFECTS__ */\n// @__NO_SIDE_EFFECTS__\nfunction defineAsyncComponent(source) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(source)) {\n source = {\n loader: source\n };\n }\n const {\n loader,\n loadingComponent,\n errorComponent,\n delay = 200,\n timeout,\n // undefined = never times out\n suspensible = true,\n onError: userOnError\n } = source;\n let pendingRequest = null;\n let resolvedComp;\n let retries = 0;\n const retry = () => {\n retries++;\n pendingRequest = null;\n return load();\n };\n const load = () => {\n let thisRequest;\n return pendingRequest || (thisRequest = pendingRequest = loader().catch(err => {\n err = err instanceof Error ? err : new Error(String(err));\n if (userOnError) {\n return new Promise((resolve, reject) => {\n const userRetry = () => resolve(retry());\n const userFail = () => reject(err);\n userOnError(err, userRetry, userFail, retries + 1);\n });\n } else {\n throw err;\n }\n }).then(comp => {\n if (thisRequest !== pendingRequest && pendingRequest) {\n return pendingRequest;\n }\n if ( true && !comp) {\n warn(`Async component loader resolved to undefined. If you are using retry(), make sure to return its return value.`);\n }\n if (comp && (comp.__esModule || comp[Symbol.toStringTag] === \"Module\")) {\n comp = comp.default;\n }\n if ( true && comp && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(comp) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(comp)) {\n throw new Error(`Invalid async component load result: ${comp}`);\n }\n resolvedComp = comp;\n return comp;\n }));\n };\n return defineComponent({\n name: \"AsyncComponentWrapper\",\n __asyncLoader: load,\n get __asyncResolved() {\n return resolvedComp;\n },\n setup() {\n const instance = currentInstance;\n if (resolvedComp) {\n return () => createInnerComp(resolvedComp, instance);\n }\n const onError = err => {\n pendingRequest = null;\n handleError(err, instance, 13, !errorComponent\n /* do not throw in dev if user provided error component */);\n };\n\n if (suspensible && instance.suspense || isInSSRComponentSetup) {\n return load().then(comp => {\n return () => createInnerComp(comp, instance);\n }).catch(err => {\n onError(err);\n return () => errorComponent ? createVNode(errorComponent, {\n error: err\n }) : null;\n });\n }\n const loaded = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.ref)(false);\n const error = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.ref)();\n const delayed = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.ref)(!!delay);\n if (delay) {\n setTimeout(() => {\n delayed.value = false;\n }, delay);\n }\n if (timeout != null) {\n setTimeout(() => {\n if (!loaded.value && !error.value) {\n const err = new Error(`Async component timed out after ${timeout}ms.`);\n onError(err);\n error.value = err;\n }\n }, timeout);\n }\n load().then(() => {\n loaded.value = true;\n if (instance.parent && isKeepAlive(instance.parent.vnode)) {\n queueJob(instance.parent.update);\n }\n }).catch(err => {\n onError(err);\n error.value = err;\n });\n return () => {\n if (loaded.value && resolvedComp) {\n return createInnerComp(resolvedComp, instance);\n } else if (error.value && errorComponent) {\n return createVNode(errorComponent, {\n error: error.value\n });\n } else if (loadingComponent && !delayed.value) {\n return createVNode(loadingComponent);\n }\n };\n }\n });\n}\nfunction createInnerComp(comp, parent) {\n const {\n ref: ref2,\n props,\n children,\n ce\n } = parent.vnode;\n const vnode = createVNode(comp, props, children);\n vnode.ref = ref2;\n vnode.ce = ce;\n delete parent.vnode.ce;\n return vnode;\n}\nconst isKeepAlive = vnode => vnode.type.__isKeepAlive;\nconst KeepAliveImpl = {\n name: `KeepAlive`,\n // Marker for special handling inside the renderer. We are not using a ===\n // check directly on KeepAlive in the renderer, because importing it directly\n // would prevent it from being tree-shaken.\n __isKeepAlive: true,\n props: {\n include: [String, RegExp, Array],\n exclude: [String, RegExp, Array],\n max: [String, Number]\n },\n setup(props, {\n slots\n }) {\n const instance = getCurrentInstance();\n const sharedContext = instance.ctx;\n if (!sharedContext.renderer) {\n return () => {\n const children = slots.default && slots.default();\n return children && children.length === 1 ? children[0] : children;\n };\n }\n const cache = /* @__PURE__ */new Map();\n const keys = /* @__PURE__ */new Set();\n let current = null;\n if (true) {\n instance.__v_cache = cache;\n }\n const parentSuspense = instance.suspense;\n const {\n renderer: {\n p: patch,\n m: move,\n um: _unmount,\n o: {\n createElement\n }\n }\n } = sharedContext;\n const storageContainer = createElement(\"div\");\n sharedContext.activate = (vnode, container, anchor, isSVG, optimized) => {\n const instance2 = vnode.component;\n move(vnode, container, anchor, 0, parentSuspense);\n patch(instance2.vnode, vnode, container, anchor, instance2, parentSuspense, isSVG, vnode.slotScopeIds, optimized);\n queuePostRenderEffect(() => {\n instance2.isDeactivated = false;\n if (instance2.a) {\n (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.invokeArrayFns)(instance2.a);\n }\n const vnodeHook = vnode.props && vnode.props.onVnodeMounted;\n if (vnodeHook) {\n invokeVNodeHook(vnodeHook, instance2.parent, vnode);\n }\n }, parentSuspense);\n if (true) {\n devtoolsComponentAdded(instance2);\n }\n };\n sharedContext.deactivate = vnode => {\n const instance2 = vnode.component;\n move(vnode, storageContainer, null, 1, parentSuspense);\n queuePostRenderEffect(() => {\n if (instance2.da) {\n (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.invokeArrayFns)(instance2.da);\n }\n const vnodeHook = vnode.props && vnode.props.onVnodeUnmounted;\n if (vnodeHook) {\n invokeVNodeHook(vnodeHook, instance2.parent, vnode);\n }\n instance2.isDeactivated = true;\n }, parentSuspense);\n if (true) {\n devtoolsComponentAdded(instance2);\n }\n };\n function unmount(vnode) {\n resetShapeFlag(vnode);\n _unmount(vnode, instance, parentSuspense, true);\n }\n function pruneCache(filter) {\n cache.forEach((vnode, key) => {\n const name = getComponentName(vnode.type);\n if (name && (!filter || !filter(name))) {\n pruneCacheEntry(key);\n }\n });\n }\n function pruneCacheEntry(key) {\n const cached = cache.get(key);\n if (!current || !isSameVNodeType(cached, current)) {\n unmount(cached);\n } else if (current) {\n resetShapeFlag(current);\n }\n cache.delete(key);\n keys.delete(key);\n }\n watch(() => [props.include, props.exclude], ([include, exclude]) => {\n include && pruneCache(name => matches(include, name));\n exclude && pruneCache(name => !matches(exclude, name));\n },\n // prune post-render after `current` has been updated\n {\n flush: \"post\",\n deep: true\n });\n let pendingCacheKey = null;\n const cacheSubtree = () => {\n if (pendingCacheKey != null) {\n cache.set(pendingCacheKey, getInnerChild(instance.subTree));\n }\n };\n onMounted(cacheSubtree);\n onUpdated(cacheSubtree);\n onBeforeUnmount(() => {\n cache.forEach(cached => {\n const {\n subTree,\n suspense\n } = instance;\n const vnode = getInnerChild(subTree);\n if (cached.type === vnode.type && cached.key === vnode.key) {\n resetShapeFlag(vnode);\n const da = vnode.component.da;\n da && queuePostRenderEffect(da, suspense);\n return;\n }\n unmount(cached);\n });\n });\n return () => {\n pendingCacheKey = null;\n if (!slots.default) {\n return null;\n }\n const children = slots.default();\n const rawVNode = children[0];\n if (children.length > 1) {\n if (true) {\n warn(`KeepAlive should contain exactly one component child.`);\n }\n current = null;\n return children;\n } else if (!isVNode(rawVNode) || !(rawVNode.shapeFlag & 4) && !(rawVNode.shapeFlag & 128)) {\n current = null;\n return rawVNode;\n }\n let vnode = getInnerChild(rawVNode);\n const comp = vnode.type;\n const name = getComponentName(isAsyncWrapper(vnode) ? vnode.type.__asyncResolved || {} : comp);\n const {\n include,\n exclude,\n max\n } = props;\n if (include && (!name || !matches(include, name)) || exclude && name && matches(exclude, name)) {\n current = vnode;\n return rawVNode;\n }\n const key = vnode.key == null ? comp : vnode.key;\n const cachedVNode = cache.get(key);\n if (vnode.el) {\n vnode = cloneVNode(vnode);\n if (rawVNode.shapeFlag & 128) {\n rawVNode.ssContent = vnode;\n }\n }\n pendingCacheKey = key;\n if (cachedVNode) {\n vnode.el = cachedVNode.el;\n vnode.component = cachedVNode.component;\n if (vnode.transition) {\n setTransitionHooks(vnode, vnode.transition);\n }\n vnode.shapeFlag |= 512;\n keys.delete(key);\n keys.add(key);\n } else {\n keys.add(key);\n if (max && keys.size > parseInt(max, 10)) {\n pruneCacheEntry(keys.values().next().value);\n }\n }\n vnode.shapeFlag |= 256;\n current = vnode;\n return isSuspense(rawVNode.type) ? rawVNode : vnode;\n };\n }\n};\nconst KeepAlive = KeepAliveImpl;\nfunction matches(pattern, name) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(pattern)) {\n return pattern.some(p => matches(p, name));\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isString)(pattern)) {\n return pattern.split(\",\").includes(name);\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isRegExp)(pattern)) {\n return pattern.test(name);\n }\n return false;\n}\nfunction onActivated(hook, target) {\n registerKeepAliveHook(hook, \"a\", target);\n}\nfunction onDeactivated(hook, target) {\n registerKeepAliveHook(hook, \"da\", target);\n}\nfunction registerKeepAliveHook(hook, type, target = currentInstance) {\n const wrappedHook = hook.__wdc || (hook.__wdc = () => {\n let current = target;\n while (current) {\n if (current.isDeactivated) {\n return;\n }\n current = current.parent;\n }\n return hook();\n });\n injectHook(type, wrappedHook, target);\n if (target) {\n let current = target.parent;\n while (current && current.parent) {\n if (isKeepAlive(current.parent.vnode)) {\n injectToKeepAliveRoot(wrappedHook, type, target, current);\n }\n current = current.parent;\n }\n }\n}\nfunction injectToKeepAliveRoot(hook, type, target, keepAliveRoot) {\n const injected = injectHook(type, hook, keepAliveRoot, true\n /* prepend */);\n\n onUnmounted(() => {\n (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.remove)(keepAliveRoot[type], injected);\n }, target);\n}\nfunction resetShapeFlag(vnode) {\n vnode.shapeFlag &= ~256;\n vnode.shapeFlag &= ~512;\n}\nfunction getInnerChild(vnode) {\n return vnode.shapeFlag & 128 ? vnode.ssContent : vnode;\n}\nfunction injectHook(type, hook, target = currentInstance, prepend = false) {\n if (target) {\n const hooks = target[type] || (target[type] = []);\n const wrappedHook = hook.__weh || (hook.__weh = (...args) => {\n if (target.isUnmounted) {\n return;\n }\n (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.pauseTracking)();\n setCurrentInstance(target);\n const res = callWithAsyncErrorHandling(hook, target, type, args);\n unsetCurrentInstance();\n (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.resetTracking)();\n return res;\n });\n if (prepend) {\n hooks.unshift(wrappedHook);\n } else {\n hooks.push(wrappedHook);\n }\n return wrappedHook;\n } else if (true) {\n const apiName = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.toHandlerKey)(ErrorTypeStrings[type].replace(/ hook$/, \"\"));\n warn(`${apiName} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup().` + ` If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`);\n }\n}\nconst createHook = lifecycle => (hook, target = currentInstance) =>\n// post-create lifecycle registrations are noops during SSR (except for serverPrefetch)\n(!isInSSRComponentSetup || lifecycle === \"sp\") && injectHook(lifecycle, (...args) => hook(...args), target);\nconst onBeforeMount = createHook(\"bm\");\nconst onMounted = createHook(\"m\");\nconst onBeforeUpdate = createHook(\"bu\");\nconst onUpdated = createHook(\"u\");\nconst onBeforeUnmount = createHook(\"bum\");\nconst onUnmounted = createHook(\"um\");\nconst onServerPrefetch = createHook(\"sp\");\nconst onRenderTriggered = createHook(\"rtg\");\nconst onRenderTracked = createHook(\"rtc\");\nfunction onErrorCaptured(hook, target = currentInstance) {\n injectHook(\"ec\", hook, target);\n}\nfunction renderList(source, renderItem, cache, index) {\n let ret;\n const cached = cache && cache[index];\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(source) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isString)(source)) {\n ret = new Array(source.length);\n for (let i = 0, l = source.length; i < l; i++) {\n ret[i] = renderItem(source[i], i, void 0, cached && cached[i]);\n }\n } else if (typeof source === \"number\") {\n if ( true && !Number.isInteger(source)) {\n warn(`The v-for range expect an integer value but got ${source}.`);\n }\n ret = new Array(source);\n for (let i = 0; i < source; i++) {\n ret[i] = renderItem(i + 1, i, void 0, cached && cached[i]);\n }\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(source)) {\n if (source[Symbol.iterator]) {\n ret = Array.from(source, (item, i) => renderItem(item, i, void 0, cached && cached[i]));\n } else {\n const keys = Object.keys(source);\n ret = new Array(keys.length);\n for (let i = 0, l = keys.length; i < l; i++) {\n const key = keys[i];\n ret[i] = renderItem(source[key], key, i, cached && cached[i]);\n }\n }\n } else {\n ret = [];\n }\n if (cache) {\n cache[index] = ret;\n }\n return ret;\n}\nfunction createSlots(slots, dynamicSlots) {\n for (let i = 0; i < dynamicSlots.length; i++) {\n const slot = dynamicSlots[i];\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(slot)) {\n for (let j = 0; j < slot.length; j++) {\n slots[slot[j].name] = slot[j].fn;\n }\n } else if (slot) {\n slots[slot.name] = slot.key ? (...args) => {\n const res = slot.fn(...args);\n if (res) res.key = slot.key;\n return res;\n } : slot.fn;\n }\n }\n return slots;\n}\nfunction renderSlot(slots, name, props = {}, fallback, noSlotted) {\n if (currentRenderingInstance.isCE || currentRenderingInstance.parent && isAsyncWrapper(currentRenderingInstance.parent) && currentRenderingInstance.parent.isCE) {\n if (name !== \"default\") props.name = name;\n return createVNode(\"slot\", props, fallback && fallback());\n }\n let slot = slots[name];\n if ( true && slot && slot.length > 1) {\n warn(`SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template.`);\n slot = () => [];\n }\n if (slot && slot._c) {\n slot._d = false;\n }\n openBlock();\n const validSlotContent = slot && ensureValidVNode(slot(props));\n const rendered = createBlock(Fragment, {\n key: props.key ||\n // slot content array of a dynamic conditional slot may have a branch\n // key attached in the `createSlots` helper, respect that\n validSlotContent && validSlotContent.key || `_${name}`\n }, validSlotContent || (fallback ? fallback() : []), validSlotContent && slots._ === 1 ? 64 : -2);\n if (!noSlotted && rendered.scopeId) {\n rendered.slotScopeIds = [rendered.scopeId + \"-s\"];\n }\n if (slot && slot._c) {\n slot._d = true;\n }\n return rendered;\n}\nfunction ensureValidVNode(vnodes) {\n return vnodes.some(child => {\n if (!isVNode(child)) return true;\n if (child.type === Comment) return false;\n if (child.type === Fragment && !ensureValidVNode(child.children)) return false;\n return true;\n }) ? vnodes : null;\n}\nfunction toHandlers(obj, preserveCaseIfNecessary) {\n const ret = {};\n if ( true && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(obj)) {\n warn(`v-on with no argument expects an object value.`);\n return ret;\n }\n for (const key in obj) {\n ret[preserveCaseIfNecessary && /[A-Z]/.test(key) ? `on:${key}` : (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.toHandlerKey)(key)] = obj[key];\n }\n return ret;\n}\nconst getPublicInstance = i => {\n if (!i) return null;\n if (isStatefulComponent(i)) return getExposeProxy(i) || i.proxy;\n return getPublicInstance(i.parent);\n};\nconst publicPropertiesMap =\n// Move PURE marker to new line to workaround compiler discarding it\n// due to type annotation\n/* @__PURE__ */\n(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)( /* @__PURE__ */Object.create(null), {\n $: i => i,\n $el: i => i.vnode.el,\n $data: i => i.data,\n $props: i => true ? (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.shallowReadonly)(i.props) : 0,\n $attrs: i => true ? (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.shallowReadonly)(i.attrs) : 0,\n $slots: i => true ? (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.shallowReadonly)(i.slots) : 0,\n $refs: i => true ? (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.shallowReadonly)(i.refs) : 0,\n $parent: i => getPublicInstance(i.parent),\n $root: i => getPublicInstance(i.root),\n $emit: i => i.emit,\n $options: i => true ? resolveMergedOptions(i) : 0,\n $forceUpdate: i => i.f || (i.f = () => queueJob(i.update)),\n $nextTick: i => i.n || (i.n = nextTick.bind(i.proxy)),\n $watch: i => true ? instanceWatch.bind(i) : 0\n});\nconst isReservedPrefix = key => key === \"_\" || key === \"$\";\nconst hasSetupBinding = (state, key) => state !== _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ && !state.__isScriptSetup && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(state, key);\nconst PublicInstanceProxyHandlers = {\n get({\n _: instance\n }, key) {\n const {\n ctx,\n setupState,\n data,\n props,\n accessCache,\n type,\n appContext\n } = instance;\n if ( true && key === \"__isVue\") {\n return true;\n }\n let normalizedProps;\n if (key[0] !== \"$\") {\n const n = accessCache[key];\n if (n !== void 0) {\n switch (n) {\n case 1 /* SETUP */:\n return setupState[key];\n case 2 /* DATA */:\n return data[key];\n case 4 /* CONTEXT */:\n return ctx[key];\n case 3 /* PROPS */:\n return props[key];\n }\n } else if (hasSetupBinding(setupState, key)) {\n accessCache[key] = 1 /* SETUP */;\n return setupState[key];\n } else if (data !== _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(data, key)) {\n accessCache[key] = 2 /* DATA */;\n return data[key];\n } else if (\n // only cache other properties when instance has declared (thus stable)\n // props\n (normalizedProps = instance.propsOptions[0]) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(normalizedProps, key)) {\n accessCache[key] = 3 /* PROPS */;\n return props[key];\n } else if (ctx !== _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(ctx, key)) {\n accessCache[key] = 4 /* CONTEXT */;\n return ctx[key];\n } else if ( false || shouldCacheAccess) {\n accessCache[key] = 0 /* OTHER */;\n }\n }\n\n const publicGetter = publicPropertiesMap[key];\n let cssModule, globalProperties;\n if (publicGetter) {\n if (key === \"$attrs\") {\n (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.track)(instance, \"get\", key);\n true && markAttrsAccessed();\n } else if ( true && key === \"$slots\") {\n (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.track)(instance, \"get\", key);\n }\n return publicGetter(instance);\n } else if (\n // css module (injected by vue-loader)\n (cssModule = type.__cssModules) && (cssModule = cssModule[key])) {\n return cssModule;\n } else if (ctx !== _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(ctx, key)) {\n accessCache[key] = 4 /* CONTEXT */;\n return ctx[key];\n } else if (\n // global properties\n globalProperties = appContext.config.globalProperties, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(globalProperties, key)) {\n {\n return globalProperties[key];\n }\n } else if ( true && currentRenderingInstance && (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isString)(key) ||\n // #1091 avoid internal isRef/isVNode checks on component instance leading\n // to infinite warning loop\n key.indexOf(\"__v\") !== 0)) {\n if (data !== _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ && isReservedPrefix(key[0]) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(data, key)) {\n warn(`Property ${JSON.stringify(key)} must be accessed via $data because it starts with a reserved character (\"$\" or \"_\") and is not proxied on the render context.`);\n } else if (instance === currentRenderingInstance) {\n warn(`Property ${JSON.stringify(key)} was accessed during render but is not defined on instance.`);\n }\n }\n },\n set({\n _: instance\n }, key, value) {\n const {\n data,\n setupState,\n ctx\n } = instance;\n if (hasSetupBinding(setupState, key)) {\n setupState[key] = value;\n return true;\n } else if ( true && setupState.__isScriptSetup && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(setupState, key)) {\n warn(`Cannot mutate <script setup> binding \"${key}\" from Options API.`);\n return false;\n } else if (data !== _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(data, key)) {\n data[key] = value;\n return true;\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(instance.props, key)) {\n true && warn(`Attempting to mutate prop \"${key}\". Props are readonly.`);\n return false;\n }\n if (key[0] === \"$\" && key.slice(1) in instance) {\n true && warn(`Attempting to mutate public property \"${key}\". Properties starting with $ are reserved and readonly.`);\n return false;\n } else {\n if ( true && key in instance.appContext.config.globalProperties) {\n Object.defineProperty(ctx, key, {\n enumerable: true,\n configurable: true,\n value\n });\n } else {\n ctx[key] = value;\n }\n }\n return true;\n },\n has({\n _: {\n data,\n setupState,\n accessCache,\n ctx,\n appContext,\n propsOptions\n }\n }, key) {\n let normalizedProps;\n return !!accessCache[key] || data !== _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(data, key) || hasSetupBinding(setupState, key) || (normalizedProps = propsOptions[0]) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(normalizedProps, key) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(ctx, key) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(publicPropertiesMap, key) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(appContext.config.globalProperties, key);\n },\n defineProperty(target, key, descriptor) {\n if (descriptor.get != null) {\n target._.accessCache[key] = 0;\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(descriptor, \"value\")) {\n this.set(target, key, descriptor.value, null);\n }\n return Reflect.defineProperty(target, key, descriptor);\n }\n};\nif (true) {\n PublicInstanceProxyHandlers.ownKeys = target => {\n warn(`Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead.`);\n return Reflect.ownKeys(target);\n };\n}\nconst RuntimeCompiledPublicInstanceProxyHandlers = /* @__PURE__ */(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)({}, PublicInstanceProxyHandlers, {\n get(target, key) {\n if (key === Symbol.unscopables) {\n return;\n }\n return PublicInstanceProxyHandlers.get(target, key, target);\n },\n has(_, key) {\n const has = key[0] !== \"_\" && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isGloballyAllowed)(key);\n if ( true && !has && PublicInstanceProxyHandlers.has(_, key)) {\n warn(`Property ${JSON.stringify(key)} should not start with _ which is a reserved prefix for Vue internals.`);\n }\n return has;\n }\n});\nfunction createDevRenderContext(instance) {\n const target = {};\n Object.defineProperty(target, `_`, {\n configurable: true,\n enumerable: false,\n get: () => instance\n });\n Object.keys(publicPropertiesMap).forEach(key => {\n Object.defineProperty(target, key, {\n configurable: true,\n enumerable: false,\n get: () => publicPropertiesMap[key](instance),\n // intercepted by the proxy so no need for implementation,\n // but needed to prevent set errors\n set: _vue_shared__WEBPACK_IMPORTED_MODULE_2__.NOOP\n });\n });\n return target;\n}\nfunction exposePropsOnRenderContext(instance) {\n const {\n ctx,\n propsOptions: [propsOptions]\n } = instance;\n if (propsOptions) {\n Object.keys(propsOptions).forEach(key => {\n Object.defineProperty(ctx, key, {\n enumerable: true,\n configurable: true,\n get: () => instance.props[key],\n set: _vue_shared__WEBPACK_IMPORTED_MODULE_2__.NOOP\n });\n });\n }\n}\nfunction exposeSetupStateOnRenderContext(instance) {\n const {\n ctx,\n setupState\n } = instance;\n Object.keys((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.toRaw)(setupState)).forEach(key => {\n if (!setupState.__isScriptSetup) {\n if (isReservedPrefix(key[0])) {\n warn(`setup() return property ${JSON.stringify(key)} should not start with \"$\" or \"_\" which are reserved prefixes for Vue internals.`);\n return;\n }\n Object.defineProperty(ctx, key, {\n enumerable: true,\n configurable: true,\n get: () => setupState[key],\n set: _vue_shared__WEBPACK_IMPORTED_MODULE_2__.NOOP\n });\n }\n });\n}\nconst warnRuntimeUsage = method => warn(`${method}() is a compiler-hint helper that is only usable inside <script setup> of a single file component. Its arguments should be compiled away and passing it at runtime has no effect.`);\nfunction defineProps() {\n if (true) {\n warnRuntimeUsage(`defineProps`);\n }\n return null;\n}\nfunction defineEmits() {\n if (true) {\n warnRuntimeUsage(`defineEmits`);\n }\n return null;\n}\nfunction defineExpose(exposed) {\n if (true) {\n warnRuntimeUsage(`defineExpose`);\n }\n}\nfunction defineOptions(options) {\n if (true) {\n warnRuntimeUsage(`defineOptions`);\n }\n}\nfunction defineSlots() {\n if (true) {\n warnRuntimeUsage(`defineSlots`);\n }\n return null;\n}\nfunction defineModel() {\n if (true) {\n warnRuntimeUsage(\"defineModel\");\n }\n}\nfunction withDefaults(props, defaults) {\n if (true) {\n warnRuntimeUsage(`withDefaults`);\n }\n return null;\n}\nfunction useSlots() {\n return getContext().slots;\n}\nfunction useAttrs() {\n return getContext().attrs;\n}\nfunction useModel(props, name, options) {\n const i = getCurrentInstance();\n if ( true && !i) {\n warn(`useModel() called without active instance.`);\n return (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.ref)();\n }\n if ( true && !i.propsOptions[0][name]) {\n warn(`useModel() called with prop \"${name}\" which is not declared.`);\n return (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.ref)();\n }\n if (options && options.local) {\n const proxy = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.ref)(props[name]);\n watch(() => props[name], v => proxy.value = v);\n watch(proxy, value => {\n if (value !== props[name]) {\n i.emit(`update:${name}`, value);\n }\n });\n return proxy;\n } else {\n return {\n __v_isRef: true,\n get value() {\n return props[name];\n },\n set value(value) {\n i.emit(`update:${name}`, value);\n }\n };\n }\n}\nfunction getContext() {\n const i = getCurrentInstance();\n if ( true && !i) {\n warn(`useContext() called without active instance.`);\n }\n return i.setupContext || (i.setupContext = createSetupContext(i));\n}\nfunction normalizePropsOrEmits(props) {\n return (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(props) ? props.reduce((normalized, p) => (normalized[p] = null, normalized), {}) : props;\n}\nfunction mergeDefaults(raw, defaults) {\n const props = normalizePropsOrEmits(raw);\n for (const key in defaults) {\n if (key.startsWith(\"__skip\")) continue;\n let opt = props[key];\n if (opt) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(opt) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(opt)) {\n opt = props[key] = {\n type: opt,\n default: defaults[key]\n };\n } else {\n opt.default = defaults[key];\n }\n } else if (opt === null) {\n opt = props[key] = {\n default: defaults[key]\n };\n } else if (true) {\n warn(`props default key \"${key}\" has no corresponding declaration.`);\n }\n if (opt && defaults[`__skip_${key}`]) {\n opt.skipFactory = true;\n }\n }\n return props;\n}\nfunction mergeModels(a, b) {\n if (!a || !b) return a || b;\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(a) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(b)) return a.concat(b);\n return (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)({}, normalizePropsOrEmits(a), normalizePropsOrEmits(b));\n}\nfunction createPropsRestProxy(props, excludedKeys) {\n const ret = {};\n for (const key in props) {\n if (!excludedKeys.includes(key)) {\n Object.defineProperty(ret, key, {\n enumerable: true,\n get: () => props[key]\n });\n }\n }\n return ret;\n}\nfunction withAsyncContext(getAwaitable) {\n const ctx = getCurrentInstance();\n if ( true && !ctx) {\n warn(`withAsyncContext called without active current instance. This is likely a bug.`);\n }\n let awaitable = getAwaitable();\n unsetCurrentInstance();\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isPromise)(awaitable)) {\n awaitable = awaitable.catch(e => {\n setCurrentInstance(ctx);\n throw e;\n });\n }\n return [awaitable, () => setCurrentInstance(ctx)];\n}\nfunction createDuplicateChecker() {\n const cache = /* @__PURE__ */Object.create(null);\n return (type, key) => {\n if (cache[key]) {\n warn(`${type} property \"${key}\" is already defined in ${cache[key]}.`);\n } else {\n cache[key] = type;\n }\n };\n}\nlet shouldCacheAccess = true;\nfunction applyOptions(instance) {\n const options = resolveMergedOptions(instance);\n const publicThis = instance.proxy;\n const ctx = instance.ctx;\n shouldCacheAccess = false;\n if (options.beforeCreate) {\n callHook(options.beforeCreate, instance, \"bc\");\n }\n const {\n // state\n data: dataOptions,\n computed: computedOptions,\n methods,\n watch: watchOptions,\n provide: provideOptions,\n inject: injectOptions,\n // lifecycle\n created,\n beforeMount,\n mounted,\n beforeUpdate,\n updated,\n activated,\n deactivated,\n beforeDestroy,\n beforeUnmount,\n destroyed,\n unmounted,\n render,\n renderTracked,\n renderTriggered,\n errorCaptured,\n serverPrefetch,\n // public API\n expose,\n inheritAttrs,\n // assets\n components,\n directives,\n filters\n } = options;\n const checkDuplicateProperties = true ? createDuplicateChecker() : 0;\n if (true) {\n const [propsOptions] = instance.propsOptions;\n if (propsOptions) {\n for (const key in propsOptions) {\n checkDuplicateProperties(\"Props\" /* PROPS */, key);\n }\n }\n }\n if (injectOptions) {\n resolveInjections(injectOptions, ctx, checkDuplicateProperties);\n }\n if (methods) {\n for (const key in methods) {\n const methodHandler = methods[key];\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(methodHandler)) {\n if (true) {\n Object.defineProperty(ctx, key, {\n value: methodHandler.bind(publicThis),\n configurable: true,\n enumerable: true,\n writable: true\n });\n } else {}\n if (true) {\n checkDuplicateProperties(\"Methods\" /* METHODS */, key);\n }\n } else if (true) {\n warn(`Method \"${key}\" has type \"${typeof methodHandler}\" in the component definition. Did you reference the function correctly?`);\n }\n }\n }\n if (dataOptions) {\n if ( true && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(dataOptions)) {\n warn(`The data option must be a function. Plain object usage is no longer supported.`);\n }\n const data = dataOptions.call(publicThis, publicThis);\n if ( true && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isPromise)(data)) {\n warn(`data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>.`);\n }\n if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(data)) {\n true && warn(`data() should return an object.`);\n } else {\n instance.data = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.reactive)(data);\n if (true) {\n for (const key in data) {\n checkDuplicateProperties(\"Data\" /* DATA */, key);\n if (!isReservedPrefix(key[0])) {\n Object.defineProperty(ctx, key, {\n configurable: true,\n enumerable: true,\n get: () => data[key],\n set: _vue_shared__WEBPACK_IMPORTED_MODULE_2__.NOOP\n });\n }\n }\n }\n }\n }\n shouldCacheAccess = true;\n if (computedOptions) {\n for (const key in computedOptions) {\n const opt = computedOptions[key];\n const get = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(opt) ? opt.bind(publicThis, publicThis) : (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(opt.get) ? opt.get.bind(publicThis, publicThis) : _vue_shared__WEBPACK_IMPORTED_MODULE_2__.NOOP;\n if ( true && get === _vue_shared__WEBPACK_IMPORTED_MODULE_2__.NOOP) {\n warn(`Computed property \"${key}\" has no getter.`);\n }\n const set = !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(opt) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(opt.set) ? opt.set.bind(publicThis) : true ? () => {\n warn(`Write operation failed: computed property \"${key}\" is readonly.`);\n } : 0;\n const c = computed({\n get,\n set\n });\n Object.defineProperty(ctx, key, {\n enumerable: true,\n configurable: true,\n get: () => c.value,\n set: v => c.value = v\n });\n if (true) {\n checkDuplicateProperties(\"Computed\" /* COMPUTED */, key);\n }\n }\n }\n if (watchOptions) {\n for (const key in watchOptions) {\n createWatcher(watchOptions[key], ctx, publicThis, key);\n }\n }\n if (provideOptions) {\n const provides = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(provideOptions) ? provideOptions.call(publicThis) : provideOptions;\n Reflect.ownKeys(provides).forEach(key => {\n provide(key, provides[key]);\n });\n }\n if (created) {\n callHook(created, instance, \"c\");\n }\n function registerLifecycleHook(register, hook) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(hook)) {\n hook.forEach(_hook => register(_hook.bind(publicThis)));\n } else if (hook) {\n register(hook.bind(publicThis));\n }\n }\n registerLifecycleHook(onBeforeMount, beforeMount);\n registerLifecycleHook(onMounted, mounted);\n registerLifecycleHook(onBeforeUpdate, beforeUpdate);\n registerLifecycleHook(onUpdated, updated);\n registerLifecycleHook(onActivated, activated);\n registerLifecycleHook(onDeactivated, deactivated);\n registerLifecycleHook(onErrorCaptured, errorCaptured);\n registerLifecycleHook(onRenderTracked, renderTracked);\n registerLifecycleHook(onRenderTriggered, renderTriggered);\n registerLifecycleHook(onBeforeUnmount, beforeUnmount);\n registerLifecycleHook(onUnmounted, unmounted);\n registerLifecycleHook(onServerPrefetch, serverPrefetch);\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(expose)) {\n if (expose.length) {\n const exposed = instance.exposed || (instance.exposed = {});\n expose.forEach(key => {\n Object.defineProperty(exposed, key, {\n get: () => publicThis[key],\n set: val => publicThis[key] = val\n });\n });\n } else if (!instance.exposed) {\n instance.exposed = {};\n }\n }\n if (render && instance.render === _vue_shared__WEBPACK_IMPORTED_MODULE_2__.NOOP) {\n instance.render = render;\n }\n if (inheritAttrs != null) {\n instance.inheritAttrs = inheritAttrs;\n }\n if (components) instance.components = components;\n if (directives) instance.directives = directives;\n}\nfunction resolveInjections(injectOptions, ctx, checkDuplicateProperties = _vue_shared__WEBPACK_IMPORTED_MODULE_2__.NOOP) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(injectOptions)) {\n injectOptions = normalizeInject(injectOptions);\n }\n for (const key in injectOptions) {\n const opt = injectOptions[key];\n let injected;\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(opt)) {\n if (\"default\" in opt) {\n injected = inject(opt.from || key, opt.default, true\n /* treat default function as factory */);\n } else {\n injected = inject(opt.from || key);\n }\n } else {\n injected = inject(opt);\n }\n if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isRef)(injected)) {\n Object.defineProperty(ctx, key, {\n enumerable: true,\n configurable: true,\n get: () => injected.value,\n set: v => injected.value = v\n });\n } else {\n ctx[key] = injected;\n }\n if (true) {\n checkDuplicateProperties(\"Inject\" /* INJECT */, key);\n }\n }\n}\nfunction callHook(hook, instance, type) {\n callWithAsyncErrorHandling((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(hook) ? hook.map(h => h.bind(instance.proxy)) : hook.bind(instance.proxy), instance, type);\n}\nfunction createWatcher(raw, ctx, publicThis, key) {\n const getter = key.includes(\".\") ? createPathGetter(publicThis, key) : () => publicThis[key];\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isString)(raw)) {\n const handler = ctx[raw];\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(handler)) {\n watch(getter, handler);\n } else if (true) {\n warn(`Invalid watch handler specified by key \"${raw}\"`, handler);\n }\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(raw)) {\n watch(getter, raw.bind(publicThis));\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(raw)) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(raw)) {\n raw.forEach(r => createWatcher(r, ctx, publicThis, key));\n } else {\n const handler = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(raw.handler) ? raw.handler.bind(publicThis) : ctx[raw.handler];\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(handler)) {\n watch(getter, handler, raw);\n } else if (true) {\n warn(`Invalid watch handler specified by key \"${raw.handler}\"`, handler);\n }\n }\n } else if (true) {\n warn(`Invalid watch option: \"${key}\"`, raw);\n }\n}\nfunction resolveMergedOptions(instance) {\n const base = instance.type;\n const {\n mixins,\n extends: extendsOptions\n } = base;\n const {\n mixins: globalMixins,\n optionsCache: cache,\n config: {\n optionMergeStrategies\n }\n } = instance.appContext;\n const cached = cache.get(base);\n let resolved;\n if (cached) {\n resolved = cached;\n } else if (!globalMixins.length && !mixins && !extendsOptions) {\n {\n resolved = base;\n }\n } else {\n resolved = {};\n if (globalMixins.length) {\n globalMixins.forEach(m => mergeOptions(resolved, m, optionMergeStrategies, true));\n }\n mergeOptions(resolved, base, optionMergeStrategies);\n }\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(base)) {\n cache.set(base, resolved);\n }\n return resolved;\n}\nfunction mergeOptions(to, from, strats, asMixin = false) {\n const {\n mixins,\n extends: extendsOptions\n } = from;\n if (extendsOptions) {\n mergeOptions(to, extendsOptions, strats, true);\n }\n if (mixins) {\n mixins.forEach(m => mergeOptions(to, m, strats, true));\n }\n for (const key in from) {\n if (asMixin && key === \"expose\") {\n true && warn(`\"expose\" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.`);\n } else {\n const strat = internalOptionMergeStrats[key] || strats && strats[key];\n to[key] = strat ? strat(to[key], from[key]) : from[key];\n }\n }\n return to;\n}\nconst internalOptionMergeStrats = {\n data: mergeDataFn,\n props: mergeEmitsOrPropsOptions,\n emits: mergeEmitsOrPropsOptions,\n // objects\n methods: mergeObjectOptions,\n computed: mergeObjectOptions,\n // lifecycle\n beforeCreate: mergeAsArray,\n created: mergeAsArray,\n beforeMount: mergeAsArray,\n mounted: mergeAsArray,\n beforeUpdate: mergeAsArray,\n updated: mergeAsArray,\n beforeDestroy: mergeAsArray,\n beforeUnmount: mergeAsArray,\n destroyed: mergeAsArray,\n unmounted: mergeAsArray,\n activated: mergeAsArray,\n deactivated: mergeAsArray,\n errorCaptured: mergeAsArray,\n serverPrefetch: mergeAsArray,\n // assets\n components: mergeObjectOptions,\n directives: mergeObjectOptions,\n // watch\n watch: mergeWatchOptions,\n // provide / inject\n provide: mergeDataFn,\n inject: mergeInject\n};\nfunction mergeDataFn(to, from) {\n if (!from) {\n return to;\n }\n if (!to) {\n return from;\n }\n return function mergedDataFn() {\n return (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(to) ? to.call(this, this) : to, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(from) ? from.call(this, this) : from);\n };\n}\nfunction mergeInject(to, from) {\n return mergeObjectOptions(normalizeInject(to), normalizeInject(from));\n}\nfunction normalizeInject(raw) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(raw)) {\n const res = {};\n for (let i = 0; i < raw.length; i++) {\n res[raw[i]] = raw[i];\n }\n return res;\n }\n return raw;\n}\nfunction mergeAsArray(to, from) {\n return to ? [...new Set([].concat(to, from))] : from;\n}\nfunction mergeObjectOptions(to, from) {\n return to ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)( /* @__PURE__ */Object.create(null), to, from) : from;\n}\nfunction mergeEmitsOrPropsOptions(to, from) {\n if (to) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(to) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(from)) {\n return [... /* @__PURE__ */new Set([...to, ...from])];\n }\n return (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)( /* @__PURE__ */Object.create(null), normalizePropsOrEmits(to), normalizePropsOrEmits(from != null ? from : {}));\n } else {\n return from;\n }\n}\nfunction mergeWatchOptions(to, from) {\n if (!to) return from;\n if (!from) return to;\n const merged = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)( /* @__PURE__ */Object.create(null), to);\n for (const key in from) {\n merged[key] = mergeAsArray(to[key], from[key]);\n }\n return merged;\n}\nfunction createAppContext() {\n return {\n app: null,\n config: {\n isNativeTag: _vue_shared__WEBPACK_IMPORTED_MODULE_2__.NO,\n performance: false,\n globalProperties: {},\n optionMergeStrategies: {},\n errorHandler: void 0,\n warnHandler: void 0,\n compilerOptions: {}\n },\n mixins: [],\n components: {},\n directives: {},\n provides: /* @__PURE__ */Object.create(null),\n optionsCache: /* @__PURE__ */new WeakMap(),\n propsCache: /* @__PURE__ */new WeakMap(),\n emitsCache: /* @__PURE__ */new WeakMap()\n };\n}\nlet uid$1 = 0;\nfunction createAppAPI(render, hydrate) {\n return function createApp(rootComponent, rootProps = null) {\n if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(rootComponent)) {\n rootComponent = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)({}, rootComponent);\n }\n if (rootProps != null && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(rootProps)) {\n true && warn(`root props passed to app.mount() must be an object.`);\n rootProps = null;\n }\n const context = createAppContext();\n if (true) {\n Object.defineProperty(context.config, \"unwrapInjectedRef\", {\n get() {\n return true;\n },\n set() {\n warn(`app.config.unwrapInjectedRef has been deprecated. 3.3 now always unwraps injected refs in Options API.`);\n }\n });\n }\n const installedPlugins = /* @__PURE__ */new WeakSet();\n let isMounted = false;\n const app = context.app = {\n _uid: uid$1++,\n _component: rootComponent,\n _props: rootProps,\n _container: null,\n _context: context,\n _instance: null,\n version,\n get config() {\n return context.config;\n },\n set config(v) {\n if (true) {\n warn(`app.config cannot be replaced. Modify individual options instead.`);\n }\n },\n use(plugin, ...options) {\n if (installedPlugins.has(plugin)) {\n true && warn(`Plugin has already been applied to target app.`);\n } else if (plugin && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(plugin.install)) {\n installedPlugins.add(plugin);\n plugin.install(app, ...options);\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(plugin)) {\n installedPlugins.add(plugin);\n plugin(app, ...options);\n } else if (true) {\n warn(`A plugin must either be a function or an object with an \"install\" function.`);\n }\n return app;\n },\n mixin(mixin) {\n if (true) {\n if (!context.mixins.includes(mixin)) {\n context.mixins.push(mixin);\n } else if (true) {\n warn(\"Mixin has already been applied to target app\" + (mixin.name ? `: ${mixin.name}` : \"\"));\n }\n } else {}\n return app;\n },\n component(name, component) {\n if (true) {\n validateComponentName(name, context.config);\n }\n if (!component) {\n return context.components[name];\n }\n if ( true && context.components[name]) {\n warn(`Component \"${name}\" has already been registered in target app.`);\n }\n context.components[name] = component;\n return app;\n },\n directive(name, directive) {\n if (true) {\n validateDirectiveName(name);\n }\n if (!directive) {\n return context.directives[name];\n }\n if ( true && context.directives[name]) {\n warn(`Directive \"${name}\" has already been registered in target app.`);\n }\n context.directives[name] = directive;\n return app;\n },\n mount(rootContainer, isHydrate, isSVG) {\n if (!isMounted) {\n if ( true && rootContainer.__vue_app__) {\n warn(`There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling \\`app.unmount()\\` first.`);\n }\n const vnode = createVNode(rootComponent, rootProps);\n vnode.appContext = context;\n if (true) {\n context.reload = () => {\n render(cloneVNode(vnode), rootContainer, isSVG);\n };\n }\n if (isHydrate && hydrate) {\n hydrate(vnode, rootContainer);\n } else {\n render(vnode, rootContainer, isSVG);\n }\n isMounted = true;\n app._container = rootContainer;\n rootContainer.__vue_app__ = app;\n if (true) {\n app._instance = vnode.component;\n devtoolsInitApp(app, version);\n }\n return getExposeProxy(vnode.component) || vnode.component.proxy;\n } else if (true) {\n warn(`App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. \\`const createMyApp = () => createApp(App)\\``);\n }\n },\n unmount() {\n if (isMounted) {\n render(null, app._container);\n if (true) {\n app._instance = null;\n devtoolsUnmountApp(app);\n }\n delete app._container.__vue_app__;\n } else if (true) {\n warn(`Cannot unmount an app that is not mounted.`);\n }\n },\n provide(key, value) {\n if ( true && key in context.provides) {\n warn(`App already provides property with key \"${String(key)}\". It will be overwritten with the new value.`);\n }\n context.provides[key] = value;\n return app;\n },\n runWithContext(fn) {\n currentApp = app;\n try {\n return fn();\n } finally {\n currentApp = null;\n }\n }\n };\n return app;\n };\n}\nlet currentApp = null;\nfunction provide(key, value) {\n if (!currentInstance) {\n if (true) {\n warn(`provide() can only be used inside setup().`);\n }\n } else {\n let provides = currentInstance.provides;\n const parentProvides = currentInstance.parent && currentInstance.parent.provides;\n if (parentProvides === provides) {\n provides = currentInstance.provides = Object.create(parentProvides);\n }\n provides[key] = value;\n }\n}\nfunction inject(key, defaultValue, treatDefaultAsFactory = false) {\n const instance = currentInstance || currentRenderingInstance;\n if (instance || currentApp) {\n const provides = instance ? instance.parent == null ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : currentApp._context.provides;\n if (provides && key in provides) {\n return provides[key];\n } else if (arguments.length > 1) {\n return treatDefaultAsFactory && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;\n } else if (true) {\n warn(`injection \"${String(key)}\" not found.`);\n }\n } else if (true) {\n warn(`inject() can only be used inside setup() or functional components.`);\n }\n}\nfunction hasInjectionContext() {\n return !!(currentInstance || currentRenderingInstance || currentApp);\n}\nfunction initProps(instance, rawProps, isStateful, isSSR = false) {\n const props = {};\n const attrs = {};\n (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.def)(attrs, InternalObjectKey, 1);\n instance.propsDefaults = /* @__PURE__ */Object.create(null);\n setFullProps(instance, rawProps, props, attrs);\n for (const key in instance.propsOptions[0]) {\n if (!(key in props)) {\n props[key] = void 0;\n }\n }\n if (true) {\n validateProps(rawProps || {}, props, instance);\n }\n if (isStateful) {\n instance.props = isSSR ? props : (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.shallowReactive)(props);\n } else {\n if (!instance.type.props) {\n instance.props = attrs;\n } else {\n instance.props = props;\n }\n }\n instance.attrs = attrs;\n}\nfunction isInHmrContext(instance) {\n while (instance) {\n if (instance.type.__hmrId) return true;\n instance = instance.parent;\n }\n}\nfunction updateProps(instance, rawProps, rawPrevProps, optimized) {\n const {\n props,\n attrs,\n vnode: {\n patchFlag\n }\n } = instance;\n const rawCurrentProps = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.toRaw)(props);\n const [options] = instance.propsOptions;\n let hasAttrsChanged = false;\n if (\n // always force full diff in dev\n // - #1942 if hmr is enabled with sfc component\n // - vite#872 non-sfc component used by sfc component\n !( true && isInHmrContext(instance)) && (optimized || patchFlag > 0) && !(patchFlag & 16)) {\n if (patchFlag & 8) {\n const propsToUpdate = instance.vnode.dynamicProps;\n for (let i = 0; i < propsToUpdate.length; i++) {\n let key = propsToUpdate[i];\n if (isEmitListener(instance.emitsOptions, key)) {\n continue;\n }\n const value = rawProps[key];\n if (options) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(attrs, key)) {\n if (value !== attrs[key]) {\n attrs[key] = value;\n hasAttrsChanged = true;\n }\n } else {\n const camelizedKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.camelize)(key);\n props[camelizedKey] = resolvePropValue(options, rawCurrentProps, camelizedKey, value, instance, false\n /* isAbsent */);\n }\n } else {\n if (value !== attrs[key]) {\n attrs[key] = value;\n hasAttrsChanged = true;\n }\n }\n }\n }\n } else {\n if (setFullProps(instance, rawProps, props, attrs)) {\n hasAttrsChanged = true;\n }\n let kebabKey;\n for (const key in rawCurrentProps) {\n if (!rawProps ||\n // for camelCase\n !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(rawProps, key) && (\n // it's possible the original props was passed in as kebab-case\n // and converted to camelCase (#955)\n (kebabKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hyphenate)(key)) === key || !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(rawProps, kebabKey))) {\n if (options) {\n if (rawPrevProps && (\n // for camelCase\n rawPrevProps[key] !== void 0 ||\n // for kebab-case\n rawPrevProps[kebabKey] !== void 0)) {\n props[key] = resolvePropValue(options, rawCurrentProps, key, void 0, instance, true\n /* isAbsent */);\n }\n } else {\n delete props[key];\n }\n }\n }\n if (attrs !== rawCurrentProps) {\n for (const key in attrs) {\n if (!rawProps || !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(rawProps, key) && true) {\n delete attrs[key];\n hasAttrsChanged = true;\n }\n }\n }\n }\n if (hasAttrsChanged) {\n (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.trigger)(instance, \"set\", \"$attrs\");\n }\n if (true) {\n validateProps(rawProps || {}, props, instance);\n }\n}\nfunction setFullProps(instance, rawProps, props, attrs) {\n const [options, needCastKeys] = instance.propsOptions;\n let hasAttrsChanged = false;\n let rawCastValues;\n if (rawProps) {\n for (let key in rawProps) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isReservedProp)(key)) {\n continue;\n }\n const value = rawProps[key];\n let camelKey;\n if (options && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(options, camelKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.camelize)(key))) {\n if (!needCastKeys || !needCastKeys.includes(camelKey)) {\n props[camelKey] = value;\n } else {\n (rawCastValues || (rawCastValues = {}))[camelKey] = value;\n }\n } else if (!isEmitListener(instance.emitsOptions, key)) {\n if (!(key in attrs) || value !== attrs[key]) {\n attrs[key] = value;\n hasAttrsChanged = true;\n }\n }\n }\n }\n if (needCastKeys) {\n const rawCurrentProps = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.toRaw)(props);\n const castValues = rawCastValues || _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ;\n for (let i = 0; i < needCastKeys.length; i++) {\n const key = needCastKeys[i];\n props[key] = resolvePropValue(options, rawCurrentProps, key, castValues[key], instance, !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(castValues, key));\n }\n }\n return hasAttrsChanged;\n}\nfunction resolvePropValue(options, props, key, value, instance, isAbsent) {\n const opt = options[key];\n if (opt != null) {\n const hasDefault = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(opt, \"default\");\n if (hasDefault && value === void 0) {\n const defaultValue = opt.default;\n if (opt.type !== Function && !opt.skipFactory && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(defaultValue)) {\n const {\n propsDefaults\n } = instance;\n if (key in propsDefaults) {\n value = propsDefaults[key];\n } else {\n setCurrentInstance(instance);\n value = propsDefaults[key] = defaultValue.call(null, props);\n unsetCurrentInstance();\n }\n } else {\n value = defaultValue;\n }\n }\n if (opt[0 /* shouldCast */]) {\n if (isAbsent && !hasDefault) {\n value = false;\n } else if (opt[1 /* shouldCastTrue */] && (value === \"\" || value === (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hyphenate)(key))) {\n value = true;\n }\n }\n }\n return value;\n}\nfunction normalizePropsOptions(comp, appContext, asMixin = false) {\n const cache = appContext.propsCache;\n const cached = cache.get(comp);\n if (cached) {\n return cached;\n }\n const raw = comp.props;\n const normalized = {};\n const needCastKeys = [];\n let hasExtends = false;\n if ( true && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(comp)) {\n const extendProps = raw2 => {\n hasExtends = true;\n const [props, keys] = normalizePropsOptions(raw2, appContext, true);\n (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)(normalized, props);\n if (keys) needCastKeys.push(...keys);\n };\n if (!asMixin && appContext.mixins.length) {\n appContext.mixins.forEach(extendProps);\n }\n if (comp.extends) {\n extendProps(comp.extends);\n }\n if (comp.mixins) {\n comp.mixins.forEach(extendProps);\n }\n }\n if (!raw && !hasExtends) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(comp)) {\n cache.set(comp, _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_ARR);\n }\n return _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_ARR;\n }\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(raw)) {\n for (let i = 0; i < raw.length; i++) {\n if ( true && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isString)(raw[i])) {\n warn(`props must be strings when using array syntax.`, raw[i]);\n }\n const normalizedKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.camelize)(raw[i]);\n if (validatePropName(normalizedKey)) {\n normalized[normalizedKey] = _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ;\n }\n }\n } else if (raw) {\n if ( true && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(raw)) {\n warn(`invalid props options`, raw);\n }\n for (const key in raw) {\n const normalizedKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.camelize)(key);\n if (validatePropName(normalizedKey)) {\n const opt = raw[key];\n const prop = normalized[normalizedKey] = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(opt) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(opt) ? {\n type: opt\n } : (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)({}, opt);\n if (prop) {\n const booleanIndex = getTypeIndex(Boolean, prop.type);\n const stringIndex = getTypeIndex(String, prop.type);\n prop[0 /* shouldCast */] = booleanIndex > -1;\n prop[1 /* shouldCastTrue */] = stringIndex < 0 || booleanIndex < stringIndex;\n if (booleanIndex > -1 || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(prop, \"default\")) {\n needCastKeys.push(normalizedKey);\n }\n }\n }\n }\n }\n const res = [normalized, needCastKeys];\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(comp)) {\n cache.set(comp, res);\n }\n return res;\n}\nfunction validatePropName(key) {\n if (key[0] !== \"$\") {\n return true;\n } else if (true) {\n warn(`Invalid prop name: \"${key}\" is a reserved property.`);\n }\n return false;\n}\nfunction getType(ctor) {\n const match = ctor && ctor.toString().match(/^\\s*(function|class) (\\w+)/);\n return match ? match[2] : ctor === null ? \"null\" : \"\";\n}\nfunction isSameType(a, b) {\n return getType(a) === getType(b);\n}\nfunction getTypeIndex(type, expectedTypes) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(expectedTypes)) {\n return expectedTypes.findIndex(t => isSameType(t, type));\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(expectedTypes)) {\n return isSameType(expectedTypes, type) ? 0 : -1;\n }\n return -1;\n}\nfunction validateProps(rawProps, props, instance) {\n const resolvedValues = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.toRaw)(props);\n const options = instance.propsOptions[0];\n for (const key in options) {\n let opt = options[key];\n if (opt == null) continue;\n validateProp(key, resolvedValues[key], opt, !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(rawProps, key) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(rawProps, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hyphenate)(key)));\n }\n}\nfunction validateProp(name, value, prop, isAbsent) {\n const {\n type,\n required,\n validator,\n skipCheck\n } = prop;\n if (required && isAbsent) {\n warn('Missing required prop: \"' + name + '\"');\n return;\n }\n if (value == null && !required) {\n return;\n }\n if (type != null && type !== true && !skipCheck) {\n let isValid = false;\n const types = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(type) ? type : [type];\n const expectedTypes = [];\n for (let i = 0; i < types.length && !isValid; i++) {\n const {\n valid,\n expectedType\n } = assertType(value, types[i]);\n expectedTypes.push(expectedType || \"\");\n isValid = valid;\n }\n if (!isValid) {\n warn(getInvalidTypeMessage(name, value, expectedTypes));\n return;\n }\n }\n if (validator && !validator(value)) {\n warn('Invalid prop: custom validator check failed for prop \"' + name + '\".');\n }\n}\nconst isSimpleType = /* @__PURE__ */(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.makeMap)(\"String,Number,Boolean,Function,Symbol,BigInt\");\nfunction assertType(value, type) {\n let valid;\n const expectedType = getType(type);\n if (isSimpleType(expectedType)) {\n const t = typeof value;\n valid = t === expectedType.toLowerCase();\n if (!valid && t === \"object\") {\n valid = value instanceof type;\n }\n } else if (expectedType === \"Object\") {\n valid = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(value);\n } else if (expectedType === \"Array\") {\n valid = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(value);\n } else if (expectedType === \"null\") {\n valid = value === null;\n } else {\n valid = value instanceof type;\n }\n return {\n valid,\n expectedType\n };\n}\nfunction getInvalidTypeMessage(name, value, expectedTypes) {\n if (expectedTypes.length === 0) {\n return `Prop type [] for prop \"${name}\" won't match anything. Did you mean to use type Array instead?`;\n }\n let message = `Invalid prop: type check failed for prop \"${name}\". Expected ${expectedTypes.map(_vue_shared__WEBPACK_IMPORTED_MODULE_2__.capitalize).join(\" | \")}`;\n const expectedType = expectedTypes[0];\n const receivedType = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.toRawType)(value);\n const expectedValue = styleValue(value, expectedType);\n const receivedValue = styleValue(value, receivedType);\n if (expectedTypes.length === 1 && isExplicable(expectedType) && !isBoolean(expectedType, receivedType)) {\n message += ` with value ${expectedValue}`;\n }\n message += `, got ${receivedType} `;\n if (isExplicable(receivedType)) {\n message += `with value ${receivedValue}.`;\n }\n return message;\n}\nfunction styleValue(value, type) {\n if (type === \"String\") {\n return `\"${value}\"`;\n } else if (type === \"Number\") {\n return `${Number(value)}`;\n } else {\n return `${value}`;\n }\n}\nfunction isExplicable(type) {\n const explicitTypes = [\"string\", \"number\", \"boolean\"];\n return explicitTypes.some(elem => type.toLowerCase() === elem);\n}\nfunction isBoolean(...args) {\n return args.some(elem => elem.toLowerCase() === \"boolean\");\n}\nconst isInternalKey = key => key[0] === \"_\" || key === \"$stable\";\nconst normalizeSlotValue = value => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(value) ? value.map(normalizeVNode) : [normalizeVNode(value)];\nconst normalizeSlot = (key, rawSlot, ctx) => {\n if (rawSlot._n) {\n return rawSlot;\n }\n const normalized = withCtx((...args) => {\n if ( true && currentInstance) {\n warn(`Slot \"${key}\" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`);\n }\n return normalizeSlotValue(rawSlot(...args));\n }, ctx);\n normalized._c = false;\n return normalized;\n};\nconst normalizeObjectSlots = (rawSlots, slots, instance) => {\n const ctx = rawSlots._ctx;\n for (const key in rawSlots) {\n if (isInternalKey(key)) continue;\n const value = rawSlots[key];\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(value)) {\n slots[key] = normalizeSlot(key, value, ctx);\n } else if (value != null) {\n if (true) {\n warn(`Non-function value encountered for slot \"${key}\". Prefer function slots for better performance.`);\n }\n const normalized = normalizeSlotValue(value);\n slots[key] = () => normalized;\n }\n }\n};\nconst normalizeVNodeSlots = (instance, children) => {\n if ( true && !isKeepAlive(instance.vnode) && true) {\n warn(`Non-function value encountered for default slot. Prefer function slots for better performance.`);\n }\n const normalized = normalizeSlotValue(children);\n instance.slots.default = () => normalized;\n};\nconst initSlots = (instance, children) => {\n if (instance.vnode.shapeFlag & 32) {\n const type = children._;\n if (type) {\n instance.slots = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.toRaw)(children);\n (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.def)(children, \"_\", type);\n } else {\n normalizeObjectSlots(children, instance.slots = {});\n }\n } else {\n instance.slots = {};\n if (children) {\n normalizeVNodeSlots(instance, children);\n }\n }\n (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.def)(instance.slots, InternalObjectKey, 1);\n};\nconst updateSlots = (instance, children, optimized) => {\n const {\n vnode,\n slots\n } = instance;\n let needDeletionCheck = true;\n let deletionComparisonTarget = _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ;\n if (vnode.shapeFlag & 32) {\n const type = children._;\n if (type) {\n if ( true && isHmrUpdating) {\n (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)(slots, children);\n (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.trigger)(instance, \"set\", \"$slots\");\n } else if (optimized && type === 1) {\n needDeletionCheck = false;\n } else {\n (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)(slots, children);\n if (!optimized && type === 1) {\n delete slots._;\n }\n }\n } else {\n needDeletionCheck = !children.$stable;\n normalizeObjectSlots(children, slots);\n }\n deletionComparisonTarget = children;\n } else if (children) {\n normalizeVNodeSlots(instance, children);\n deletionComparisonTarget = {\n default: 1\n };\n }\n if (needDeletionCheck) {\n for (const key in slots) {\n if (!isInternalKey(key) && deletionComparisonTarget[key] == null) {\n delete slots[key];\n }\n }\n }\n};\nfunction setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(rawRef)) {\n rawRef.forEach((r, i) => setRef(r, oldRawRef && ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(oldRawRef) ? oldRawRef[i] : oldRawRef), parentSuspense, vnode, isUnmount));\n return;\n }\n if (isAsyncWrapper(vnode) && !isUnmount) {\n return;\n }\n const refValue = vnode.shapeFlag & 4 ? getExposeProxy(vnode.component) || vnode.component.proxy : vnode.el;\n const value = isUnmount ? null : refValue;\n const {\n i: owner,\n r: ref\n } = rawRef;\n if ( true && !owner) {\n warn(`Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.`);\n return;\n }\n const oldRef = oldRawRef && oldRawRef.r;\n const refs = owner.refs === _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ ? owner.refs = {} : owner.refs;\n const setupState = owner.setupState;\n if (oldRef != null && oldRef !== ref) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isString)(oldRef)) {\n refs[oldRef] = null;\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(setupState, oldRef)) {\n setupState[oldRef] = null;\n }\n } else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isRef)(oldRef)) {\n oldRef.value = null;\n }\n }\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(ref)) {\n callWithErrorHandling(ref, owner, 12, [value, refs]);\n } else {\n const _isString = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isString)(ref);\n const _isRef = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isRef)(ref);\n if (_isString || _isRef) {\n const doSet = () => {\n if (rawRef.f) {\n const existing = _isString ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(setupState, ref) ? setupState[ref] : refs[ref] : ref.value;\n if (isUnmount) {\n (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(existing) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.remove)(existing, refValue);\n } else {\n if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(existing)) {\n if (_isString) {\n refs[ref] = [refValue];\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(setupState, ref)) {\n setupState[ref] = refs[ref];\n }\n } else {\n ref.value = [refValue];\n if (rawRef.k) refs[rawRef.k] = ref.value;\n }\n } else if (!existing.includes(refValue)) {\n existing.push(refValue);\n }\n }\n } else if (_isString) {\n refs[ref] = value;\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasOwn)(setupState, ref)) {\n setupState[ref] = value;\n }\n } else if (_isRef) {\n ref.value = value;\n if (rawRef.k) refs[rawRef.k] = value;\n } else if (true) {\n warn(\"Invalid template ref type:\", ref, `(${typeof ref})`);\n }\n };\n if (value) {\n doSet.id = -1;\n queuePostRenderEffect(doSet, parentSuspense);\n } else {\n doSet();\n }\n } else if (true) {\n warn(\"Invalid template ref type:\", ref, `(${typeof ref})`);\n }\n }\n}\nlet hasMismatch = false;\nconst isSVGContainer = container => /svg/.test(container.namespaceURI) && container.tagName !== \"foreignObject\";\nconst isComment = node => node.nodeType === 8 /* COMMENT */;\nfunction createHydrationFunctions(rendererInternals) {\n const {\n mt: mountComponent,\n p: patch,\n o: {\n patchProp,\n createText,\n nextSibling,\n parentNode,\n remove,\n insert,\n createComment\n }\n } = rendererInternals;\n const hydrate = (vnode, container) => {\n if (!container.hasChildNodes()) {\n true && warn(`Attempting to hydrate existing markup but container is empty. Performing full mount instead.`);\n patch(null, vnode, container);\n flushPostFlushCbs();\n container._vnode = vnode;\n return;\n }\n hasMismatch = false;\n hydrateNode(container.firstChild, vnode, null, null, null);\n flushPostFlushCbs();\n container._vnode = vnode;\n if (hasMismatch && true) {\n console.error(`Hydration completed but contains mismatches.`);\n }\n };\n const hydrateNode = (node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized = false) => {\n const isFragmentStart = isComment(node) && node.data === \"[\";\n const onMismatch = () => handleMismatch(node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragmentStart);\n const {\n type,\n ref,\n shapeFlag,\n patchFlag\n } = vnode;\n let domType = node.nodeType;\n vnode.el = node;\n if (true) {\n if (!(\"__vnode\" in node)) {\n Object.defineProperty(node, \"__vnode\", {\n value: vnode,\n enumerable: false\n });\n }\n if (!(\"__vueParentComponent\" in node)) {\n Object.defineProperty(node, \"__vueParentComponent\", {\n value: parentComponent,\n enumerable: false\n });\n }\n }\n if (patchFlag === -2) {\n optimized = false;\n vnode.dynamicChildren = null;\n }\n let nextNode = null;\n switch (type) {\n case Text:\n if (domType !== 3 /* TEXT */) {\n if (vnode.children === \"\") {\n insert(vnode.el = createText(\"\"), parentNode(node), node);\n nextNode = node;\n } else {\n nextNode = onMismatch();\n }\n } else {\n if (node.data !== vnode.children) {\n hasMismatch = true;\n true && warn(`Hydration text mismatch:\n- Server rendered: ${JSON.stringify(node.data)}\n- Client rendered: ${JSON.stringify(vnode.children)}`);\n node.data = vnode.children;\n }\n nextNode = nextSibling(node);\n }\n break;\n case Comment:\n if (isTemplateNode(node)) {\n nextNode = nextSibling(node);\n replaceNode(vnode.el = node.content.firstChild, node, parentComponent);\n } else if (domType !== 8 /* COMMENT */ || isFragmentStart) {\n nextNode = onMismatch();\n } else {\n nextNode = nextSibling(node);\n }\n break;\n case Static:\n if (isFragmentStart) {\n node = nextSibling(node);\n domType = node.nodeType;\n }\n if (domType === 1 /* ELEMENT */ || domType === 3 /* TEXT */) {\n nextNode = node;\n const needToAdoptContent = !vnode.children.length;\n for (let i = 0; i < vnode.staticCount; i++) {\n if (needToAdoptContent) vnode.children += nextNode.nodeType === 1 /* ELEMENT */ ? nextNode.outerHTML : nextNode.data;\n if (i === vnode.staticCount - 1) {\n vnode.anchor = nextNode;\n }\n nextNode = nextSibling(nextNode);\n }\n return isFragmentStart ? nextSibling(nextNode) : nextNode;\n } else {\n onMismatch();\n }\n break;\n case Fragment:\n if (!isFragmentStart) {\n nextNode = onMismatch();\n } else {\n nextNode = hydrateFragment(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);\n }\n break;\n default:\n if (shapeFlag & 1) {\n if ((domType !== 1 /* ELEMENT */ || vnode.type.toLowerCase() !== node.tagName.toLowerCase()) && !isTemplateNode(node)) {\n nextNode = onMismatch();\n } else {\n nextNode = hydrateElement(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);\n }\n } else if (shapeFlag & 6) {\n vnode.slotScopeIds = slotScopeIds;\n const container = parentNode(node);\n if (isFragmentStart) {\n nextNode = locateClosingAnchor(node);\n } else if (isComment(node) && node.data === \"teleport start\") {\n nextNode = locateClosingAnchor(node, node.data, \"teleport end\");\n } else {\n nextNode = nextSibling(node);\n }\n mountComponent(vnode, container, null, parentComponent, parentSuspense, isSVGContainer(container), optimized);\n if (isAsyncWrapper(vnode)) {\n let subTree;\n if (isFragmentStart) {\n subTree = createVNode(Fragment);\n subTree.anchor = nextNode ? nextNode.previousSibling : container.lastChild;\n } else {\n subTree = node.nodeType === 3 ? createTextVNode(\"\") : createVNode(\"div\");\n }\n subTree.el = node;\n vnode.component.subTree = subTree;\n }\n } else if (shapeFlag & 64) {\n if (domType !== 8 /* COMMENT */) {\n nextNode = onMismatch();\n } else {\n nextNode = vnode.type.hydrate(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, rendererInternals, hydrateChildren);\n }\n } else if (shapeFlag & 128) {\n nextNode = vnode.type.hydrate(node, vnode, parentComponent, parentSuspense, isSVGContainer(parentNode(node)), slotScopeIds, optimized, rendererInternals, hydrateNode);\n } else if (true) {\n warn(\"Invalid HostVNode type:\", type, `(${typeof type})`);\n }\n }\n if (ref != null) {\n setRef(ref, null, parentSuspense, vnode);\n }\n return nextNode;\n };\n const hydrateElement = (el, vnode, parentComponent, parentSuspense, slotScopeIds, optimized) => {\n optimized = optimized || !!vnode.dynamicChildren;\n const {\n type,\n props,\n patchFlag,\n shapeFlag,\n dirs,\n transition\n } = vnode;\n const forcePatch = type === \"input\" || type === \"option\";\n if (true) {\n if (dirs) {\n invokeDirectiveHook(vnode, null, parentComponent, \"created\");\n }\n if (props) {\n if (forcePatch || !optimized || patchFlag & (16 | 32)) {\n for (const key in props) {\n if (forcePatch && (key.endsWith(\"value\") || key === \"indeterminate\") || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isOn)(key) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isReservedProp)(key) ||\n // force hydrate v-bind with .prop modifiers\n key[0] === \".\") {\n patchProp(el, key, null, props[key], false, void 0, parentComponent);\n }\n }\n } else if (props.onClick) {\n patchProp(el, \"onClick\", null, props.onClick, false, void 0, parentComponent);\n }\n }\n let vnodeHooks;\n if (vnodeHooks = props && props.onVnodeBeforeMount) {\n invokeVNodeHook(vnodeHooks, parentComponent, vnode);\n }\n let needCallTransitionHooks = false;\n if (isTemplateNode(el)) {\n needCallTransitionHooks = needTransition(parentSuspense, transition) && parentComponent && parentComponent.vnode.props && parentComponent.vnode.props.appear;\n const content = el.content.firstChild;\n if (needCallTransitionHooks) {\n transition.beforeEnter(content);\n }\n replaceNode(content, el, parentComponent);\n vnode.el = el = content;\n }\n if (dirs) {\n invokeDirectiveHook(vnode, null, parentComponent, \"beforeMount\");\n }\n if ((vnodeHooks = props && props.onVnodeMounted) || dirs || needCallTransitionHooks) {\n queueEffectWithSuspense(() => {\n vnodeHooks && invokeVNodeHook(vnodeHooks, parentComponent, vnode);\n needCallTransitionHooks && transition.enter(el);\n dirs && invokeDirectiveHook(vnode, null, parentComponent, \"mounted\");\n }, parentSuspense);\n }\n if (shapeFlag & 16 &&\n // skip if element has innerHTML / textContent\n !(props && (props.innerHTML || props.textContent))) {\n let next = hydrateChildren(el.firstChild, vnode, el, parentComponent, parentSuspense, slotScopeIds, optimized);\n let hasWarned = false;\n while (next) {\n hasMismatch = true;\n if ( true && !hasWarned) {\n warn(`Hydration children mismatch in <${vnode.type}>: server rendered element contains more child nodes than client vdom.`);\n hasWarned = true;\n }\n const cur = next;\n next = next.nextSibling;\n remove(cur);\n }\n } else if (shapeFlag & 8) {\n if (el.textContent !== vnode.children) {\n hasMismatch = true;\n true && warn(`Hydration text content mismatch in <${vnode.type}>:\n- Server rendered: ${el.textContent}\n- Client rendered: ${vnode.children}`);\n el.textContent = vnode.children;\n }\n }\n }\n return el.nextSibling;\n };\n const hydrateChildren = (node, parentVNode, container, parentComponent, parentSuspense, slotScopeIds, optimized) => {\n optimized = optimized || !!parentVNode.dynamicChildren;\n const children = parentVNode.children;\n const l = children.length;\n let hasWarned = false;\n for (let i = 0; i < l; i++) {\n const vnode = optimized ? children[i] : children[i] = normalizeVNode(children[i]);\n if (node) {\n node = hydrateNode(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);\n } else if (vnode.type === Text && !vnode.children) {\n continue;\n } else {\n hasMismatch = true;\n if ( true && !hasWarned) {\n warn(`Hydration children mismatch in <${container.tagName.toLowerCase()}>: server rendered element contains fewer child nodes than client vdom.`);\n hasWarned = true;\n }\n patch(null, vnode, container, null, parentComponent, parentSuspense, isSVGContainer(container), slotScopeIds);\n }\n }\n return node;\n };\n const hydrateFragment = (node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized) => {\n const {\n slotScopeIds: fragmentSlotScopeIds\n } = vnode;\n if (fragmentSlotScopeIds) {\n slotScopeIds = slotScopeIds ? slotScopeIds.concat(fragmentSlotScopeIds) : fragmentSlotScopeIds;\n }\n const container = parentNode(node);\n const next = hydrateChildren(nextSibling(node), vnode, container, parentComponent, parentSuspense, slotScopeIds, optimized);\n if (next && isComment(next) && next.data === \"]\") {\n return nextSibling(vnode.anchor = next);\n } else {\n hasMismatch = true;\n insert(vnode.anchor = createComment(`]`), container, next);\n return next;\n }\n };\n const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {\n hasMismatch = true;\n true && warn(`Hydration node mismatch:\n- Client vnode:`, vnode.type, `\n- Server rendered DOM:`, node, node.nodeType === 3 /* TEXT */ ? `(text)` : isComment(node) && node.data === \"[\" ? `(start of fragment)` : ``);\n vnode.el = null;\n if (isFragment) {\n const end = locateClosingAnchor(node);\n while (true) {\n const next2 = nextSibling(node);\n if (next2 && next2 !== end) {\n remove(next2);\n } else {\n break;\n }\n }\n }\n const next = nextSibling(node);\n const container = parentNode(node);\n remove(node);\n patch(null, vnode, container, next, parentComponent, parentSuspense, isSVGContainer(container), slotScopeIds);\n return next;\n };\n const locateClosingAnchor = (node, open = \"[\", close = \"]\") => {\n let match = 0;\n while (node) {\n node = nextSibling(node);\n if (node && isComment(node)) {\n if (node.data === open) match++;\n if (node.data === close) {\n if (match === 0) {\n return nextSibling(node);\n } else {\n match--;\n }\n }\n }\n }\n return node;\n };\n const replaceNode = (newNode, oldNode, parentComponent) => {\n const parentNode2 = oldNode.parentNode;\n if (parentNode2) {\n parentNode2.replaceChild(newNode, oldNode);\n }\n let parent = parentComponent;\n while (parent) {\n if (parent.vnode.el === oldNode) {\n parent.vnode.el = parent.subTree.el = newNode;\n }\n parent = parent.parent;\n }\n };\n const isTemplateNode = node => {\n return node.nodeType === 1 /* ELEMENT */ && node.tagName.toLowerCase() === \"template\";\n };\n return [hydrate, hydrateNode];\n}\nlet supported;\nlet perf;\nfunction startMeasure(instance, type) {\n if (instance.appContext.config.performance && isSupported()) {\n perf.mark(`vue-${type}-${instance.uid}`);\n }\n if (true) {\n devtoolsPerfStart(instance, type, isSupported() ? perf.now() : Date.now());\n }\n}\nfunction endMeasure(instance, type) {\n if (instance.appContext.config.performance && isSupported()) {\n const startTag = `vue-${type}-${instance.uid}`;\n const endTag = startTag + `:end`;\n perf.mark(endTag);\n perf.measure(`<${formatComponentName(instance, instance.type)}> ${type}`, startTag, endTag);\n perf.clearMarks(startTag);\n perf.clearMarks(endTag);\n }\n if (true) {\n devtoolsPerfEnd(instance, type, isSupported() ? perf.now() : Date.now());\n }\n}\nfunction isSupported() {\n if (supported !== void 0) {\n return supported;\n }\n if (typeof window !== \"undefined\" && window.performance) {\n supported = true;\n perf = window.performance;\n } else {\n supported = false;\n }\n return supported;\n}\nfunction initFeatureFlags() {\n const needWarn = [];\n if (false) {}\n if (false) {}\n if ( true && needWarn.length) {\n const multi = needWarn.length > 1;\n console.warn(`Feature flag${multi ? `s` : ``} ${needWarn.join(\", \")} ${multi ? `are` : `is`} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.\n\nFor more details, see https://link.vuejs.org/feature-flags.`);\n }\n}\nconst queuePostRenderEffect = queueEffectWithSuspense;\nfunction createRenderer(options) {\n return baseCreateRenderer(options);\n}\nfunction createHydrationRenderer(options) {\n return baseCreateRenderer(options, createHydrationFunctions);\n}\nfunction baseCreateRenderer(options, createHydrationFns) {\n {\n initFeatureFlags();\n }\n const target = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.getGlobalThis)();\n target.__VUE__ = true;\n if (true) {\n setDevtoolsHook(target.__VUE_DEVTOOLS_GLOBAL_HOOK__, target);\n }\n const {\n insert: hostInsert,\n remove: hostRemove,\n patchProp: hostPatchProp,\n createElement: hostCreateElement,\n createText: hostCreateText,\n createComment: hostCreateComment,\n setText: hostSetText,\n setElementText: hostSetElementText,\n parentNode: hostParentNode,\n nextSibling: hostNextSibling,\n setScopeId: hostSetScopeId = _vue_shared__WEBPACK_IMPORTED_MODULE_2__.NOOP,\n insertStaticContent: hostInsertStaticContent\n } = options;\n const patch = (n1, n2, container, anchor = null, parentComponent = null, parentSuspense = null, isSVG = false, slotScopeIds = null, optimized = true && isHmrUpdating ? false : !!n2.dynamicChildren) => {\n if (n1 === n2) {\n return;\n }\n if (n1 && !isSameVNodeType(n1, n2)) {\n anchor = getNextHostNode(n1);\n unmount(n1, parentComponent, parentSuspense, true);\n n1 = null;\n }\n if (n2.patchFlag === -2) {\n optimized = false;\n n2.dynamicChildren = null;\n }\n const {\n type,\n ref,\n shapeFlag\n } = n2;\n switch (type) {\n case Text:\n processText(n1, n2, container, anchor);\n break;\n case Comment:\n processCommentNode(n1, n2, container, anchor);\n break;\n case Static:\n if (n1 == null) {\n mountStaticNode(n2, container, anchor, isSVG);\n } else if (true) {\n patchStaticNode(n1, n2, container, isSVG);\n }\n break;\n case Fragment:\n processFragment(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n break;\n default:\n if (shapeFlag & 1) {\n processElement(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n } else if (shapeFlag & 6) {\n processComponent(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n } else if (shapeFlag & 64) {\n type.process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, internals);\n } else if (shapeFlag & 128) {\n type.process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, internals);\n } else if (true) {\n warn(\"Invalid VNode type:\", type, `(${typeof type})`);\n }\n }\n if (ref != null && parentComponent) {\n setRef(ref, n1 && n1.ref, parentSuspense, n2 || n1, !n2);\n }\n };\n const processText = (n1, n2, container, anchor) => {\n if (n1 == null) {\n hostInsert(n2.el = hostCreateText(n2.children), container, anchor);\n } else {\n const el = n2.el = n1.el;\n if (n2.children !== n1.children) {\n hostSetText(el, n2.children);\n }\n }\n };\n const processCommentNode = (n1, n2, container, anchor) => {\n if (n1 == null) {\n hostInsert(n2.el = hostCreateComment(n2.children || \"\"), container, anchor);\n } else {\n n2.el = n1.el;\n }\n };\n const mountStaticNode = (n2, container, anchor, isSVG) => {\n [n2.el, n2.anchor] = hostInsertStaticContent(n2.children, container, anchor, isSVG, n2.el, n2.anchor);\n };\n const patchStaticNode = (n1, n2, container, isSVG) => {\n if (n2.children !== n1.children) {\n const anchor = hostNextSibling(n1.anchor);\n removeStaticNode(n1);\n [n2.el, n2.anchor] = hostInsertStaticContent(n2.children, container, anchor, isSVG);\n } else {\n n2.el = n1.el;\n n2.anchor = n1.anchor;\n }\n };\n const moveStaticNode = ({\n el,\n anchor\n }, container, nextSibling) => {\n let next;\n while (el && el !== anchor) {\n next = hostNextSibling(el);\n hostInsert(el, container, nextSibling);\n el = next;\n }\n hostInsert(anchor, container, nextSibling);\n };\n const removeStaticNode = ({\n el,\n anchor\n }) => {\n let next;\n while (el && el !== anchor) {\n next = hostNextSibling(el);\n hostRemove(el);\n el = next;\n }\n hostRemove(anchor);\n };\n const processElement = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\n isSVG = isSVG || n2.type === \"svg\";\n if (n1 == null) {\n mountElement(n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n } else {\n patchElement(n1, n2, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n }\n };\n const mountElement = (vnode, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\n let el;\n let vnodeHook;\n const {\n type,\n props,\n shapeFlag,\n transition,\n dirs\n } = vnode;\n el = vnode.el = hostCreateElement(vnode.type, isSVG, props && props.is, props);\n if (shapeFlag & 8) {\n hostSetElementText(el, vnode.children);\n } else if (shapeFlag & 16) {\n mountChildren(vnode.children, el, null, parentComponent, parentSuspense, isSVG && type !== \"foreignObject\", slotScopeIds, optimized);\n }\n if (dirs) {\n invokeDirectiveHook(vnode, null, parentComponent, \"created\");\n }\n setScopeId(el, vnode, vnode.scopeId, slotScopeIds, parentComponent);\n if (props) {\n for (const key in props) {\n if (key !== \"value\" && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isReservedProp)(key)) {\n hostPatchProp(el, key, null, props[key], isSVG, vnode.children, parentComponent, parentSuspense, unmountChildren);\n }\n }\n if (\"value\" in props) {\n hostPatchProp(el, \"value\", null, props.value);\n }\n if (vnodeHook = props.onVnodeBeforeMount) {\n invokeVNodeHook(vnodeHook, parentComponent, vnode);\n }\n }\n if (true) {\n Object.defineProperty(el, \"__vnode\", {\n value: vnode,\n enumerable: false\n });\n Object.defineProperty(el, \"__vueParentComponent\", {\n value: parentComponent,\n enumerable: false\n });\n }\n if (dirs) {\n invokeDirectiveHook(vnode, null, parentComponent, \"beforeMount\");\n }\n const needCallTransitionHooks = needTransition(parentSuspense, transition);\n if (needCallTransitionHooks) {\n transition.beforeEnter(el);\n }\n hostInsert(el, container, anchor);\n if ((vnodeHook = props && props.onVnodeMounted) || needCallTransitionHooks || dirs) {\n queuePostRenderEffect(() => {\n vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);\n needCallTransitionHooks && transition.enter(el);\n dirs && invokeDirectiveHook(vnode, null, parentComponent, \"mounted\");\n }, parentSuspense);\n }\n };\n const setScopeId = (el, vnode, scopeId, slotScopeIds, parentComponent) => {\n if (scopeId) {\n hostSetScopeId(el, scopeId);\n }\n if (slotScopeIds) {\n for (let i = 0; i < slotScopeIds.length; i++) {\n hostSetScopeId(el, slotScopeIds[i]);\n }\n }\n if (parentComponent) {\n let subTree = parentComponent.subTree;\n if ( true && subTree.patchFlag > 0 && subTree.patchFlag & 2048) {\n subTree = filterSingleRoot(subTree.children) || subTree;\n }\n if (vnode === subTree) {\n const parentVNode = parentComponent.vnode;\n setScopeId(el, parentVNode, parentVNode.scopeId, parentVNode.slotScopeIds, parentComponent.parent);\n }\n }\n };\n const mountChildren = (children, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, start = 0) => {\n for (let i = start; i < children.length; i++) {\n const child = children[i] = optimized ? cloneIfMounted(children[i]) : normalizeVNode(children[i]);\n patch(null, child, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n }\n };\n const patchElement = (n1, n2, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\n const el = n2.el = n1.el;\n let {\n patchFlag,\n dynamicChildren,\n dirs\n } = n2;\n patchFlag |= n1.patchFlag & 16;\n const oldProps = n1.props || _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ;\n const newProps = n2.props || _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ;\n let vnodeHook;\n parentComponent && toggleRecurse(parentComponent, false);\n if (vnodeHook = newProps.onVnodeBeforeUpdate) {\n invokeVNodeHook(vnodeHook, parentComponent, n2, n1);\n }\n if (dirs) {\n invokeDirectiveHook(n2, n1, parentComponent, \"beforeUpdate\");\n }\n parentComponent && toggleRecurse(parentComponent, true);\n if ( true && isHmrUpdating) {\n patchFlag = 0;\n optimized = false;\n dynamicChildren = null;\n }\n const areChildrenSVG = isSVG && n2.type !== \"foreignObject\";\n if (dynamicChildren) {\n patchBlockChildren(n1.dynamicChildren, dynamicChildren, el, parentComponent, parentSuspense, areChildrenSVG, slotScopeIds);\n if (true) {\n traverseStaticChildren(n1, n2);\n }\n } else if (!optimized) {\n patchChildren(n1, n2, el, null, parentComponent, parentSuspense, areChildrenSVG, slotScopeIds, false);\n }\n if (patchFlag > 0) {\n if (patchFlag & 16) {\n patchProps(el, n2, oldProps, newProps, parentComponent, parentSuspense, isSVG);\n } else {\n if (patchFlag & 2) {\n if (oldProps.class !== newProps.class) {\n hostPatchProp(el, \"class\", null, newProps.class, isSVG);\n }\n }\n if (patchFlag & 4) {\n hostPatchProp(el, \"style\", oldProps.style, newProps.style, isSVG);\n }\n if (patchFlag & 8) {\n const propsToUpdate = n2.dynamicProps;\n for (let i = 0; i < propsToUpdate.length; i++) {\n const key = propsToUpdate[i];\n const prev = oldProps[key];\n const next = newProps[key];\n if (next !== prev || key === \"value\") {\n hostPatchProp(el, key, prev, next, isSVG, n1.children, parentComponent, parentSuspense, unmountChildren);\n }\n }\n }\n }\n if (patchFlag & 1) {\n if (n1.children !== n2.children) {\n hostSetElementText(el, n2.children);\n }\n }\n } else if (!optimized && dynamicChildren == null) {\n patchProps(el, n2, oldProps, newProps, parentComponent, parentSuspense, isSVG);\n }\n if ((vnodeHook = newProps.onVnodeUpdated) || dirs) {\n queuePostRenderEffect(() => {\n vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, n2, n1);\n dirs && invokeDirectiveHook(n2, n1, parentComponent, \"updated\");\n }, parentSuspense);\n }\n };\n const patchBlockChildren = (oldChildren, newChildren, fallbackContainer, parentComponent, parentSuspense, isSVG, slotScopeIds) => {\n for (let i = 0; i < newChildren.length; i++) {\n const oldVNode = oldChildren[i];\n const newVNode = newChildren[i];\n const container =\n // oldVNode may be an errored async setup() component inside Suspense\n // which will not have a mounted element\n oldVNode.el && (\n // - In the case of a Fragment, we need to provide the actual parent\n // of the Fragment itself so it can move its children.\n oldVNode.type === Fragment ||\n // - In the case of different nodes, there is going to be a replacement\n // which also requires the correct parent container\n !isSameVNodeType(oldVNode, newVNode) ||\n // - In the case of a component, it could contain anything.\n oldVNode.shapeFlag & (6 | 64)) ? hostParentNode(oldVNode.el) :\n // In other cases, the parent container is not actually used so we\n // just pass the block element here to avoid a DOM parentNode call.\n fallbackContainer;\n patch(oldVNode, newVNode, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, true);\n }\n };\n const patchProps = (el, vnode, oldProps, newProps, parentComponent, parentSuspense, isSVG) => {\n if (oldProps !== newProps) {\n if (oldProps !== _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ) {\n for (const key in oldProps) {\n if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isReservedProp)(key) && !(key in newProps)) {\n hostPatchProp(el, key, oldProps[key], null, isSVG, vnode.children, parentComponent, parentSuspense, unmountChildren);\n }\n }\n }\n for (const key in newProps) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isReservedProp)(key)) continue;\n const next = newProps[key];\n const prev = oldProps[key];\n if (next !== prev && key !== \"value\") {\n hostPatchProp(el, key, prev, next, isSVG, vnode.children, parentComponent, parentSuspense, unmountChildren);\n }\n }\n if (\"value\" in newProps) {\n hostPatchProp(el, \"value\", oldProps.value, newProps.value);\n }\n }\n };\n const processFragment = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\n const fragmentStartAnchor = n2.el = n1 ? n1.el : hostCreateText(\"\");\n const fragmentEndAnchor = n2.anchor = n1 ? n1.anchor : hostCreateText(\"\");\n let {\n patchFlag,\n dynamicChildren,\n slotScopeIds: fragmentSlotScopeIds\n } = n2;\n if ( true && (\n // #5523 dev root fragment may inherit directives\n isHmrUpdating || patchFlag & 2048)) {\n patchFlag = 0;\n optimized = false;\n dynamicChildren = null;\n }\n if (fragmentSlotScopeIds) {\n slotScopeIds = slotScopeIds ? slotScopeIds.concat(fragmentSlotScopeIds) : fragmentSlotScopeIds;\n }\n if (n1 == null) {\n hostInsert(fragmentStartAnchor, container, anchor);\n hostInsert(fragmentEndAnchor, container, anchor);\n mountChildren(n2.children, container, fragmentEndAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n } else {\n if (patchFlag > 0 && patchFlag & 64 && dynamicChildren &&\n // #2715 the previous fragment could've been a BAILed one as a result\n // of renderSlot() with no valid children\n n1.dynamicChildren) {\n patchBlockChildren(n1.dynamicChildren, dynamicChildren, container, parentComponent, parentSuspense, isSVG, slotScopeIds);\n if (true) {\n traverseStaticChildren(n1, n2);\n } else {}\n } else {\n patchChildren(n1, n2, container, fragmentEndAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n }\n }\n };\n const processComponent = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\n n2.slotScopeIds = slotScopeIds;\n if (n1 == null) {\n if (n2.shapeFlag & 512) {\n parentComponent.ctx.activate(n2, container, anchor, isSVG, optimized);\n } else {\n mountComponent(n2, container, anchor, parentComponent, parentSuspense, isSVG, optimized);\n }\n } else {\n updateComponent(n1, n2, optimized);\n }\n };\n const mountComponent = (initialVNode, container, anchor, parentComponent, parentSuspense, isSVG, optimized) => {\n const instance = initialVNode.component = createComponentInstance(initialVNode, parentComponent, parentSuspense);\n if ( true && instance.type.__hmrId) {\n registerHMR(instance);\n }\n if (true) {\n pushWarningContext(initialVNode);\n startMeasure(instance, `mount`);\n }\n if (isKeepAlive(initialVNode)) {\n instance.ctx.renderer = internals;\n }\n {\n if (true) {\n startMeasure(instance, `init`);\n }\n setupComponent(instance);\n if (true) {\n endMeasure(instance, `init`);\n }\n }\n if (instance.asyncDep) {\n parentSuspense && parentSuspense.registerDep(instance, setupRenderEffect);\n if (!initialVNode.el) {\n const placeholder = instance.subTree = createVNode(Comment);\n processCommentNode(null, placeholder, container, anchor);\n }\n return;\n }\n setupRenderEffect(instance, initialVNode, container, anchor, parentSuspense, isSVG, optimized);\n if (true) {\n popWarningContext();\n endMeasure(instance, `mount`);\n }\n };\n const updateComponent = (n1, n2, optimized) => {\n const instance = n2.component = n1.component;\n if (shouldUpdateComponent(n1, n2, optimized)) {\n if (instance.asyncDep && !instance.asyncResolved) {\n if (true) {\n pushWarningContext(n2);\n }\n updateComponentPreRender(instance, n2, optimized);\n if (true) {\n popWarningContext();\n }\n return;\n } else {\n instance.next = n2;\n invalidateJob(instance.update);\n instance.update();\n }\n } else {\n n2.el = n1.el;\n instance.vnode = n2;\n }\n };\n const setupRenderEffect = (instance, initialVNode, container, anchor, parentSuspense, isSVG, optimized) => {\n const componentUpdateFn = () => {\n if (!instance.isMounted) {\n let vnodeHook;\n const {\n el,\n props\n } = initialVNode;\n const {\n bm,\n m,\n parent\n } = instance;\n const isAsyncWrapperVNode = isAsyncWrapper(initialVNode);\n toggleRecurse(instance, false);\n if (bm) {\n (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.invokeArrayFns)(bm);\n }\n if (!isAsyncWrapperVNode && (vnodeHook = props && props.onVnodeBeforeMount)) {\n invokeVNodeHook(vnodeHook, parent, initialVNode);\n }\n toggleRecurse(instance, true);\n if (el && hydrateNode) {\n const hydrateSubTree = () => {\n if (true) {\n startMeasure(instance, `render`);\n }\n instance.subTree = renderComponentRoot(instance);\n if (true) {\n endMeasure(instance, `render`);\n }\n if (true) {\n startMeasure(instance, `hydrate`);\n }\n hydrateNode(el, instance.subTree, instance, parentSuspense, null);\n if (true) {\n endMeasure(instance, `hydrate`);\n }\n };\n if (isAsyncWrapperVNode) {\n initialVNode.type.__asyncLoader().then(\n // note: we are moving the render call into an async callback,\n // which means it won't track dependencies - but it's ok because\n // a server-rendered async wrapper is already in resolved state\n // and it will never need to change.\n () => !instance.isUnmounted && hydrateSubTree());\n } else {\n hydrateSubTree();\n }\n } else {\n if (true) {\n startMeasure(instance, `render`);\n }\n const subTree = instance.subTree = renderComponentRoot(instance);\n if (true) {\n endMeasure(instance, `render`);\n }\n if (true) {\n startMeasure(instance, `patch`);\n }\n patch(null, subTree, container, anchor, instance, parentSuspense, isSVG);\n if (true) {\n endMeasure(instance, `patch`);\n }\n initialVNode.el = subTree.el;\n }\n if (m) {\n queuePostRenderEffect(m, parentSuspense);\n }\n if (!isAsyncWrapperVNode && (vnodeHook = props && props.onVnodeMounted)) {\n const scopedInitialVNode = initialVNode;\n queuePostRenderEffect(() => invokeVNodeHook(vnodeHook, parent, scopedInitialVNode), parentSuspense);\n }\n if (initialVNode.shapeFlag & 256 || parent && isAsyncWrapper(parent.vnode) && parent.vnode.shapeFlag & 256) {\n instance.a && queuePostRenderEffect(instance.a, parentSuspense);\n }\n instance.isMounted = true;\n if (true) {\n devtoolsComponentAdded(instance);\n }\n initialVNode = container = anchor = null;\n } else {\n let {\n next,\n bu,\n u,\n parent,\n vnode\n } = instance;\n let originNext = next;\n let vnodeHook;\n if (true) {\n pushWarningContext(next || instance.vnode);\n }\n toggleRecurse(instance, false);\n if (next) {\n next.el = vnode.el;\n updateComponentPreRender(instance, next, optimized);\n } else {\n next = vnode;\n }\n if (bu) {\n (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.invokeArrayFns)(bu);\n }\n if (vnodeHook = next.props && next.props.onVnodeBeforeUpdate) {\n invokeVNodeHook(vnodeHook, parent, next, vnode);\n }\n toggleRecurse(instance, true);\n if (true) {\n startMeasure(instance, `render`);\n }\n const nextTree = renderComponentRoot(instance);\n if (true) {\n endMeasure(instance, `render`);\n }\n const prevTree = instance.subTree;\n instance.subTree = nextTree;\n if (true) {\n startMeasure(instance, `patch`);\n }\n patch(prevTree, nextTree,\n // parent may have changed if it's in a teleport\n hostParentNode(prevTree.el),\n // anchor may have changed if it's in a fragment\n getNextHostNode(prevTree), instance, parentSuspense, isSVG);\n if (true) {\n endMeasure(instance, `patch`);\n }\n next.el = nextTree.el;\n if (originNext === null) {\n updateHOCHostEl(instance, nextTree.el);\n }\n if (u) {\n queuePostRenderEffect(u, parentSuspense);\n }\n if (vnodeHook = next.props && next.props.onVnodeUpdated) {\n queuePostRenderEffect(() => invokeVNodeHook(vnodeHook, parent, next, vnode), parentSuspense);\n }\n if (true) {\n devtoolsComponentUpdated(instance);\n }\n if (true) {\n popWarningContext();\n }\n }\n };\n const effect = instance.effect = new _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.ReactiveEffect(componentUpdateFn, () => queueJob(update), instance.scope\n // track it in component's effect scope\n );\n\n const update = instance.update = () => effect.run();\n update.id = instance.uid;\n toggleRecurse(instance, true);\n if (true) {\n effect.onTrack = instance.rtc ? e => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.invokeArrayFns)(instance.rtc, e) : void 0;\n effect.onTrigger = instance.rtg ? e => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.invokeArrayFns)(instance.rtg, e) : void 0;\n update.ownerInstance = instance;\n }\n update();\n };\n const updateComponentPreRender = (instance, nextVNode, optimized) => {\n nextVNode.component = instance;\n const prevProps = instance.vnode.props;\n instance.vnode = nextVNode;\n instance.next = null;\n updateProps(instance, nextVNode.props, prevProps, optimized);\n updateSlots(instance, nextVNode.children, optimized);\n (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.pauseTracking)();\n flushPreFlushCbs(instance);\n (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.resetTracking)();\n };\n const patchChildren = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized = false) => {\n const c1 = n1 && n1.children;\n const prevShapeFlag = n1 ? n1.shapeFlag : 0;\n const c2 = n2.children;\n const {\n patchFlag,\n shapeFlag\n } = n2;\n if (patchFlag > 0) {\n if (patchFlag & 128) {\n patchKeyedChildren(c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n return;\n } else if (patchFlag & 256) {\n patchUnkeyedChildren(c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n return;\n }\n }\n if (shapeFlag & 8) {\n if (prevShapeFlag & 16) {\n unmountChildren(c1, parentComponent, parentSuspense);\n }\n if (c2 !== c1) {\n hostSetElementText(container, c2);\n }\n } else {\n if (prevShapeFlag & 16) {\n if (shapeFlag & 16) {\n patchKeyedChildren(c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n } else {\n unmountChildren(c1, parentComponent, parentSuspense, true);\n }\n } else {\n if (prevShapeFlag & 8) {\n hostSetElementText(container, \"\");\n }\n if (shapeFlag & 16) {\n mountChildren(c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n }\n }\n }\n };\n const patchUnkeyedChildren = (c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\n c1 = c1 || _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_ARR;\n c2 = c2 || _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_ARR;\n const oldLength = c1.length;\n const newLength = c2.length;\n const commonLength = Math.min(oldLength, newLength);\n let i;\n for (i = 0; i < commonLength; i++) {\n const nextChild = c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]);\n patch(c1[i], nextChild, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n }\n if (oldLength > newLength) {\n unmountChildren(c1, parentComponent, parentSuspense, true, false, commonLength);\n } else {\n mountChildren(c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, commonLength);\n }\n };\n const patchKeyedChildren = (c1, c2, container, parentAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {\n let i = 0;\n const l2 = c2.length;\n let e1 = c1.length - 1;\n let e2 = l2 - 1;\n while (i <= e1 && i <= e2) {\n const n1 = c1[i];\n const n2 = c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]);\n if (isSameVNodeType(n1, n2)) {\n patch(n1, n2, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n } else {\n break;\n }\n i++;\n }\n while (i <= e1 && i <= e2) {\n const n1 = c1[e1];\n const n2 = c2[e2] = optimized ? cloneIfMounted(c2[e2]) : normalizeVNode(c2[e2]);\n if (isSameVNodeType(n1, n2)) {\n patch(n1, n2, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n } else {\n break;\n }\n e1--;\n e2--;\n }\n if (i > e1) {\n if (i <= e2) {\n const nextPos = e2 + 1;\n const anchor = nextPos < l2 ? c2[nextPos].el : parentAnchor;\n while (i <= e2) {\n patch(null, c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]), container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n i++;\n }\n }\n } else if (i > e2) {\n while (i <= e1) {\n unmount(c1[i], parentComponent, parentSuspense, true);\n i++;\n }\n } else {\n const s1 = i;\n const s2 = i;\n const keyToNewIndexMap = /* @__PURE__ */new Map();\n for (i = s2; i <= e2; i++) {\n const nextChild = c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]);\n if (nextChild.key != null) {\n if ( true && keyToNewIndexMap.has(nextChild.key)) {\n warn(`Duplicate keys found during update:`, JSON.stringify(nextChild.key), `Make sure keys are unique.`);\n }\n keyToNewIndexMap.set(nextChild.key, i);\n }\n }\n let j;\n let patched = 0;\n const toBePatched = e2 - s2 + 1;\n let moved = false;\n let maxNewIndexSoFar = 0;\n const newIndexToOldIndexMap = new Array(toBePatched);\n for (i = 0; i < toBePatched; i++) newIndexToOldIndexMap[i] = 0;\n for (i = s1; i <= e1; i++) {\n const prevChild = c1[i];\n if (patched >= toBePatched) {\n unmount(prevChild, parentComponent, parentSuspense, true);\n continue;\n }\n let newIndex;\n if (prevChild.key != null) {\n newIndex = keyToNewIndexMap.get(prevChild.key);\n } else {\n for (j = s2; j <= e2; j++) {\n if (newIndexToOldIndexMap[j - s2] === 0 && isSameVNodeType(prevChild, c2[j])) {\n newIndex = j;\n break;\n }\n }\n }\n if (newIndex === void 0) {\n unmount(prevChild, parentComponent, parentSuspense, true);\n } else {\n newIndexToOldIndexMap[newIndex - s2] = i + 1;\n if (newIndex >= maxNewIndexSoFar) {\n maxNewIndexSoFar = newIndex;\n } else {\n moved = true;\n }\n patch(prevChild, c2[newIndex], container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n patched++;\n }\n }\n const increasingNewIndexSequence = moved ? getSequence(newIndexToOldIndexMap) : _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_ARR;\n j = increasingNewIndexSequence.length - 1;\n for (i = toBePatched - 1; i >= 0; i--) {\n const nextIndex = s2 + i;\n const nextChild = c2[nextIndex];\n const anchor = nextIndex + 1 < l2 ? c2[nextIndex + 1].el : parentAnchor;\n if (newIndexToOldIndexMap[i] === 0) {\n patch(null, nextChild, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n } else if (moved) {\n if (j < 0 || i !== increasingNewIndexSequence[j]) {\n move(nextChild, container, anchor, 2);\n } else {\n j--;\n }\n }\n }\n }\n };\n const move = (vnode, container, anchor, moveType, parentSuspense = null) => {\n const {\n el,\n type,\n transition,\n children,\n shapeFlag\n } = vnode;\n if (shapeFlag & 6) {\n move(vnode.component.subTree, container, anchor, moveType);\n return;\n }\n if (shapeFlag & 128) {\n vnode.suspense.move(container, anchor, moveType);\n return;\n }\n if (shapeFlag & 64) {\n type.move(vnode, container, anchor, internals);\n return;\n }\n if (type === Fragment) {\n hostInsert(el, container, anchor);\n for (let i = 0; i < children.length; i++) {\n move(children[i], container, anchor, moveType);\n }\n hostInsert(vnode.anchor, container, anchor);\n return;\n }\n if (type === Static) {\n moveStaticNode(vnode, container, anchor);\n return;\n }\n const needTransition2 = moveType !== 2 && shapeFlag & 1 && transition;\n if (needTransition2) {\n if (moveType === 0) {\n transition.beforeEnter(el);\n hostInsert(el, container, anchor);\n queuePostRenderEffect(() => transition.enter(el), parentSuspense);\n } else {\n const {\n leave,\n delayLeave,\n afterLeave\n } = transition;\n const remove2 = () => hostInsert(el, container, anchor);\n const performLeave = () => {\n leave(el, () => {\n remove2();\n afterLeave && afterLeave();\n });\n };\n if (delayLeave) {\n delayLeave(el, remove2, performLeave);\n } else {\n performLeave();\n }\n }\n } else {\n hostInsert(el, container, anchor);\n }\n };\n const unmount = (vnode, parentComponent, parentSuspense, doRemove = false, optimized = false) => {\n const {\n type,\n props,\n ref,\n children,\n dynamicChildren,\n shapeFlag,\n patchFlag,\n dirs\n } = vnode;\n if (ref != null) {\n setRef(ref, null, parentSuspense, vnode, true);\n }\n if (shapeFlag & 256) {\n parentComponent.ctx.deactivate(vnode);\n return;\n }\n const shouldInvokeDirs = shapeFlag & 1 && dirs;\n const shouldInvokeVnodeHook = !isAsyncWrapper(vnode);\n let vnodeHook;\n if (shouldInvokeVnodeHook && (vnodeHook = props && props.onVnodeBeforeUnmount)) {\n invokeVNodeHook(vnodeHook, parentComponent, vnode);\n }\n if (shapeFlag & 6) {\n unmountComponent(vnode.component, parentSuspense, doRemove);\n } else {\n if (shapeFlag & 128) {\n vnode.suspense.unmount(parentSuspense, doRemove);\n return;\n }\n if (shouldInvokeDirs) {\n invokeDirectiveHook(vnode, null, parentComponent, \"beforeUnmount\");\n }\n if (shapeFlag & 64) {\n vnode.type.remove(vnode, parentComponent, parentSuspense, optimized, internals, doRemove);\n } else if (dynamicChildren && (\n // #1153: fast path should not be taken for non-stable (v-for) fragments\n type !== Fragment || patchFlag > 0 && patchFlag & 64)) {\n unmountChildren(dynamicChildren, parentComponent, parentSuspense, false, true);\n } else if (type === Fragment && patchFlag & (128 | 256) || !optimized && shapeFlag & 16) {\n unmountChildren(children, parentComponent, parentSuspense);\n }\n if (doRemove) {\n remove(vnode);\n }\n }\n if (shouldInvokeVnodeHook && (vnodeHook = props && props.onVnodeUnmounted) || shouldInvokeDirs) {\n queuePostRenderEffect(() => {\n vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);\n shouldInvokeDirs && invokeDirectiveHook(vnode, null, parentComponent, \"unmounted\");\n }, parentSuspense);\n }\n };\n const remove = vnode => {\n const {\n type,\n el,\n anchor,\n transition\n } = vnode;\n if (type === Fragment) {\n if ( true && vnode.patchFlag > 0 && vnode.patchFlag & 2048 && transition && !transition.persisted) {\n vnode.children.forEach(child => {\n if (child.type === Comment) {\n hostRemove(child.el);\n } else {\n remove(child);\n }\n });\n } else {\n removeFragment(el, anchor);\n }\n return;\n }\n if (type === Static) {\n removeStaticNode(vnode);\n return;\n }\n const performRemove = () => {\n hostRemove(el);\n if (transition && !transition.persisted && transition.afterLeave) {\n transition.afterLeave();\n }\n };\n if (vnode.shapeFlag & 1 && transition && !transition.persisted) {\n const {\n leave,\n delayLeave\n } = transition;\n const performLeave = () => leave(el, performRemove);\n if (delayLeave) {\n delayLeave(vnode.el, performRemove, performLeave);\n } else {\n performLeave();\n }\n } else {\n performRemove();\n }\n };\n const removeFragment = (cur, end) => {\n let next;\n while (cur !== end) {\n next = hostNextSibling(cur);\n hostRemove(cur);\n cur = next;\n }\n hostRemove(end);\n };\n const unmountComponent = (instance, parentSuspense, doRemove) => {\n if ( true && instance.type.__hmrId) {\n unregisterHMR(instance);\n }\n const {\n bum,\n scope,\n update,\n subTree,\n um\n } = instance;\n if (bum) {\n (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.invokeArrayFns)(bum);\n }\n scope.stop();\n if (update) {\n update.active = false;\n unmount(subTree, instance, parentSuspense, doRemove);\n }\n if (um) {\n queuePostRenderEffect(um, parentSuspense);\n }\n queuePostRenderEffect(() => {\n instance.isUnmounted = true;\n }, parentSuspense);\n if (parentSuspense && parentSuspense.pendingBranch && !parentSuspense.isUnmounted && instance.asyncDep && !instance.asyncResolved && instance.suspenseId === parentSuspense.pendingId) {\n parentSuspense.deps--;\n if (parentSuspense.deps === 0) {\n parentSuspense.resolve();\n }\n }\n if (true) {\n devtoolsComponentRemoved(instance);\n }\n };\n const unmountChildren = (children, parentComponent, parentSuspense, doRemove = false, optimized = false, start = 0) => {\n for (let i = start; i < children.length; i++) {\n unmount(children[i], parentComponent, parentSuspense, doRemove, optimized);\n }\n };\n const getNextHostNode = vnode => {\n if (vnode.shapeFlag & 6) {\n return getNextHostNode(vnode.component.subTree);\n }\n if (vnode.shapeFlag & 128) {\n return vnode.suspense.next();\n }\n return hostNextSibling(vnode.anchor || vnode.el);\n };\n const render = (vnode, container, isSVG) => {\n if (vnode == null) {\n if (container._vnode) {\n unmount(container._vnode, null, null, true);\n }\n } else {\n patch(container._vnode || null, vnode, container, null, null, null, isSVG);\n }\n flushPreFlushCbs();\n flushPostFlushCbs();\n container._vnode = vnode;\n };\n const internals = {\n p: patch,\n um: unmount,\n m: move,\n r: remove,\n mt: mountComponent,\n mc: mountChildren,\n pc: patchChildren,\n pbc: patchBlockChildren,\n n: getNextHostNode,\n o: options\n };\n let hydrate;\n let hydrateNode;\n if (createHydrationFns) {\n [hydrate, hydrateNode] = createHydrationFns(internals);\n }\n return {\n render,\n hydrate,\n createApp: createAppAPI(render, hydrate)\n };\n}\nfunction toggleRecurse({\n effect,\n update\n}, allowed) {\n effect.allowRecurse = update.allowRecurse = allowed;\n}\nfunction needTransition(parentSuspense, transition) {\n return (!parentSuspense || parentSuspense && !parentSuspense.pendingBranch) && transition && !transition.persisted;\n}\nfunction traverseStaticChildren(n1, n2, shallow = false) {\n const ch1 = n1.children;\n const ch2 = n2.children;\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(ch1) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(ch2)) {\n for (let i = 0; i < ch1.length; i++) {\n const c1 = ch1[i];\n let c2 = ch2[i];\n if (c2.shapeFlag & 1 && !c2.dynamicChildren) {\n if (c2.patchFlag <= 0 || c2.patchFlag === 32) {\n c2 = ch2[i] = cloneIfMounted(ch2[i]);\n c2.el = c1.el;\n }\n if (!shallow) traverseStaticChildren(c1, c2);\n }\n if (c2.type === Text) {\n c2.el = c1.el;\n }\n if ( true && c2.type === Comment && !c2.el) {\n c2.el = c1.el;\n }\n }\n }\n}\nfunction getSequence(arr) {\n const p = arr.slice();\n const result = [0];\n let i, j, u, v, c;\n const len = arr.length;\n for (i = 0; i < len; i++) {\n const arrI = arr[i];\n if (arrI !== 0) {\n j = result[result.length - 1];\n if (arr[j] < arrI) {\n p[i] = j;\n result.push(i);\n continue;\n }\n u = 0;\n v = result.length - 1;\n while (u < v) {\n c = u + v >> 1;\n if (arr[result[c]] < arrI) {\n u = c + 1;\n } else {\n v = c;\n }\n }\n if (arrI < arr[result[u]]) {\n if (u > 0) {\n p[i] = result[u - 1];\n }\n result[u] = i;\n }\n }\n }\n u = result.length;\n v = result[u - 1];\n while (u-- > 0) {\n result[u] = v;\n v = p[v];\n }\n return result;\n}\nconst isTeleport = type => type.__isTeleport;\nconst isTeleportDisabled = props => props && (props.disabled || props.disabled === \"\");\nconst isTargetSVG = target => typeof SVGElement !== \"undefined\" && target instanceof SVGElement;\nconst resolveTarget = (props, select) => {\n const targetSelector = props && props.to;\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isString)(targetSelector)) {\n if (!select) {\n true && warn(`Current renderer does not support string target for Teleports. (missing querySelector renderer option)`);\n return null;\n } else {\n const target = select(targetSelector);\n if (!target) {\n true && warn(`Failed to locate Teleport target with selector \"${targetSelector}\". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`);\n }\n return target;\n }\n } else {\n if ( true && !targetSelector && !isTeleportDisabled(props)) {\n warn(`Invalid Teleport target: ${targetSelector}`);\n }\n return targetSelector;\n }\n};\nconst TeleportImpl = {\n name: \"Teleport\",\n __isTeleport: true,\n process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, internals) {\n const {\n mc: mountChildren,\n pc: patchChildren,\n pbc: patchBlockChildren,\n o: {\n insert,\n querySelector,\n createText,\n createComment\n }\n } = internals;\n const disabled = isTeleportDisabled(n2.props);\n let {\n shapeFlag,\n children,\n dynamicChildren\n } = n2;\n if ( true && isHmrUpdating) {\n optimized = false;\n dynamicChildren = null;\n }\n if (n1 == null) {\n const placeholder = n2.el = true ? createComment(\"teleport start\") : 0;\n const mainAnchor = n2.anchor = true ? createComment(\"teleport end\") : 0;\n insert(placeholder, container, anchor);\n insert(mainAnchor, container, anchor);\n const target = n2.target = resolveTarget(n2.props, querySelector);\n const targetAnchor = n2.targetAnchor = createText(\"\");\n if (target) {\n insert(targetAnchor, target);\n isSVG = isSVG || isTargetSVG(target);\n } else if ( true && !disabled) {\n warn(\"Invalid Teleport target on mount:\", target, `(${typeof target})`);\n }\n const mount = (container2, anchor2) => {\n if (shapeFlag & 16) {\n mountChildren(children, container2, anchor2, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);\n }\n };\n if (disabled) {\n mount(container, mainAnchor);\n } else if (target) {\n mount(target, targetAnchor);\n }\n } else {\n n2.el = n1.el;\n const mainAnchor = n2.anchor = n1.anchor;\n const target = n2.target = n1.target;\n const targetAnchor = n2.targetAnchor = n1.targetAnchor;\n const wasDisabled = isTeleportDisabled(n1.props);\n const currentContainer = wasDisabled ? container : target;\n const currentAnchor = wasDisabled ? mainAnchor : targetAnchor;\n isSVG = isSVG || isTargetSVG(target);\n if (dynamicChildren) {\n patchBlockChildren(n1.dynamicChildren, dynamicChildren, currentContainer, parentComponent, parentSuspense, isSVG, slotScopeIds);\n traverseStaticChildren(n1, n2, true);\n } else if (!optimized) {\n patchChildren(n1, n2, currentContainer, currentAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, false);\n }\n if (disabled) {\n if (!wasDisabled) {\n moveTeleport(n2, container, mainAnchor, internals, 1);\n } else {\n if (n2.props && n1.props && n2.props.to !== n1.props.to) {\n n2.props.to = n1.props.to;\n }\n }\n } else {\n if ((n2.props && n2.props.to) !== (n1.props && n1.props.to)) {\n const nextTarget = n2.target = resolveTarget(n2.props, querySelector);\n if (nextTarget) {\n moveTeleport(n2, nextTarget, null, internals, 0);\n } else if (true) {\n warn(\"Invalid Teleport target on update:\", target, `(${typeof target})`);\n }\n } else if (wasDisabled) {\n moveTeleport(n2, target, targetAnchor, internals, 1);\n }\n }\n }\n updateCssVars(n2);\n },\n remove(vnode, parentComponent, parentSuspense, optimized, {\n um: unmount,\n o: {\n remove: hostRemove\n }\n }, doRemove) {\n const {\n shapeFlag,\n children,\n anchor,\n targetAnchor,\n target,\n props\n } = vnode;\n if (target) {\n hostRemove(targetAnchor);\n }\n doRemove && hostRemove(anchor);\n if (shapeFlag & 16) {\n const shouldRemove = doRemove || !isTeleportDisabled(props);\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n unmount(child, parentComponent, parentSuspense, shouldRemove, !!child.dynamicChildren);\n }\n }\n },\n move: moveTeleport,\n hydrate: hydrateTeleport\n};\nfunction moveTeleport(vnode, container, parentAnchor, {\n o: {\n insert\n },\n m: move\n}, moveType = 2) {\n if (moveType === 0) {\n insert(vnode.targetAnchor, container, parentAnchor);\n }\n const {\n el,\n anchor,\n shapeFlag,\n children,\n props\n } = vnode;\n const isReorder = moveType === 2;\n if (isReorder) {\n insert(el, container, parentAnchor);\n }\n if (!isReorder || isTeleportDisabled(props)) {\n if (shapeFlag & 16) {\n for (let i = 0; i < children.length; i++) {\n move(children[i], container, parentAnchor, 2);\n }\n }\n }\n if (isReorder) {\n insert(anchor, container, parentAnchor);\n }\n}\nfunction hydrateTeleport(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, {\n o: {\n nextSibling,\n parentNode,\n querySelector\n }\n}, hydrateChildren) {\n const target = vnode.target = resolveTarget(vnode.props, querySelector);\n if (target) {\n const targetNode = target._lpa || target.firstChild;\n if (vnode.shapeFlag & 16) {\n if (isTeleportDisabled(vnode.props)) {\n vnode.anchor = hydrateChildren(nextSibling(node), vnode, parentNode(node), parentComponent, parentSuspense, slotScopeIds, optimized);\n vnode.targetAnchor = targetNode;\n } else {\n vnode.anchor = nextSibling(node);\n let targetAnchor = targetNode;\n while (targetAnchor) {\n targetAnchor = nextSibling(targetAnchor);\n if (targetAnchor && targetAnchor.nodeType === 8 && targetAnchor.data === \"teleport anchor\") {\n vnode.targetAnchor = targetAnchor;\n target._lpa = vnode.targetAnchor && nextSibling(vnode.targetAnchor);\n break;\n }\n }\n hydrateChildren(targetNode, vnode, target, parentComponent, parentSuspense, slotScopeIds, optimized);\n }\n }\n updateCssVars(vnode);\n }\n return vnode.anchor && nextSibling(vnode.anchor);\n}\nconst Teleport = TeleportImpl;\nfunction updateCssVars(vnode) {\n const ctx = vnode.ctx;\n if (ctx && ctx.ut) {\n let node = vnode.children[0].el;\n while (node && node !== vnode.targetAnchor) {\n if (node.nodeType === 1) node.setAttribute(\"data-v-owner\", ctx.uid);\n node = node.nextSibling;\n }\n ctx.ut();\n }\n}\nconst Fragment = Symbol.for(\"v-fgt\");\nconst Text = Symbol.for(\"v-txt\");\nconst Comment = Symbol.for(\"v-cmt\");\nconst Static = Symbol.for(\"v-stc\");\nconst blockStack = [];\nlet currentBlock = null;\nfunction openBlock(disableTracking = false) {\n blockStack.push(currentBlock = disableTracking ? null : []);\n}\nfunction closeBlock() {\n blockStack.pop();\n currentBlock = blockStack[blockStack.length - 1] || null;\n}\nlet isBlockTreeEnabled = 1;\nfunction setBlockTracking(value) {\n isBlockTreeEnabled += value;\n}\nfunction setupBlock(vnode) {\n vnode.dynamicChildren = isBlockTreeEnabled > 0 ? currentBlock || _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_ARR : null;\n closeBlock();\n if (isBlockTreeEnabled > 0 && currentBlock) {\n currentBlock.push(vnode);\n }\n return vnode;\n}\nfunction createElementBlock(type, props, children, patchFlag, dynamicProps, shapeFlag) {\n return setupBlock(createBaseVNode(type, props, children, patchFlag, dynamicProps, shapeFlag, true\n /* isBlock */));\n}\n\nfunction createBlock(type, props, children, patchFlag, dynamicProps) {\n return setupBlock(createVNode(type, props, children, patchFlag, dynamicProps, true\n /* isBlock: prevent a block from tracking itself */));\n}\n\nfunction isVNode(value) {\n return value ? value.__v_isVNode === true : false;\n}\nfunction isSameVNodeType(n1, n2) {\n if ( true && n2.shapeFlag & 6 && hmrDirtyComponents.has(n2.type)) {\n n1.shapeFlag &= ~256;\n n2.shapeFlag &= ~512;\n return false;\n }\n return n1.type === n2.type && n1.key === n2.key;\n}\nlet vnodeArgsTransformer;\nfunction transformVNodeArgs(transformer) {\n vnodeArgsTransformer = transformer;\n}\nconst createVNodeWithArgsTransform = (...args) => {\n return _createVNode(...(vnodeArgsTransformer ? vnodeArgsTransformer(args, currentRenderingInstance) : args));\n};\nconst InternalObjectKey = `__vInternal`;\nconst normalizeKey = ({\n key\n}) => key != null ? key : null;\nconst normalizeRef = ({\n ref,\n ref_key,\n ref_for\n}) => {\n if (typeof ref === \"number\") {\n ref = \"\" + ref;\n }\n return ref != null ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isString)(ref) || (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isRef)(ref) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(ref) ? {\n i: currentRenderingInstance,\n r: ref,\n k: ref_key,\n f: !!ref_for\n } : ref : null;\n};\nfunction createBaseVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, shapeFlag = type === Fragment ? 0 : 1, isBlockNode = false, needFullChildrenNormalization = false) {\n const vnode = {\n __v_isVNode: true,\n __v_skip: true,\n type,\n props,\n key: props && normalizeKey(props),\n ref: props && normalizeRef(props),\n scopeId: currentScopeId,\n slotScopeIds: null,\n children,\n component: null,\n suspense: null,\n ssContent: null,\n ssFallback: null,\n dirs: null,\n transition: null,\n el: null,\n anchor: null,\n target: null,\n targetAnchor: null,\n staticCount: 0,\n shapeFlag,\n patchFlag,\n dynamicProps,\n dynamicChildren: null,\n appContext: null,\n ctx: currentRenderingInstance\n };\n if (needFullChildrenNormalization) {\n normalizeChildren(vnode, children);\n if (shapeFlag & 128) {\n type.normalize(vnode);\n }\n } else if (children) {\n vnode.shapeFlag |= (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isString)(children) ? 8 : 16;\n }\n if ( true && vnode.key !== vnode.key) {\n warn(`VNode created with invalid key (NaN). VNode type:`, vnode.type);\n }\n if (isBlockTreeEnabled > 0 &&\n // avoid a block node from tracking itself\n !isBlockNode &&\n // has current parent block\n currentBlock && (\n // presence of a patch flag indicates this node needs patching on updates.\n // component nodes also should always be patched, because even if the\n // component doesn't need to update, it needs to persist the instance on to\n // the next vnode so that it can be properly unmounted later.\n vnode.patchFlag > 0 || shapeFlag & 6) &&\n // the EVENTS flag is only for hydration and if it is the only flag, the\n // vnode should not be considered dynamic due to handler caching.\n vnode.patchFlag !== 32) {\n currentBlock.push(vnode);\n }\n return vnode;\n}\nconst createVNode = true ? createVNodeWithArgsTransform : 0;\nfunction _createVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, isBlockNode = false) {\n if (!type || type === NULL_DYNAMIC_COMPONENT) {\n if ( true && !type) {\n warn(`Invalid vnode type when creating vnode: ${type}.`);\n }\n type = Comment;\n }\n if (isVNode(type)) {\n const cloned = cloneVNode(type, props, true\n /* mergeRef: true */);\n\n if (children) {\n normalizeChildren(cloned, children);\n }\n if (isBlockTreeEnabled > 0 && !isBlockNode && currentBlock) {\n if (cloned.shapeFlag & 6) {\n currentBlock[currentBlock.indexOf(type)] = cloned;\n } else {\n currentBlock.push(cloned);\n }\n }\n cloned.patchFlag |= -2;\n return cloned;\n }\n if (isClassComponent(type)) {\n type = type.__vccOpts;\n }\n if (props) {\n props = guardReactiveProps(props);\n let {\n class: klass,\n style\n } = props;\n if (klass && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isString)(klass)) {\n props.class = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.normalizeClass)(klass);\n }\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(style)) {\n if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isProxy)(style) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(style)) {\n style = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)({}, style);\n }\n props.style = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.normalizeStyle)(style);\n }\n }\n const shapeFlag = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isString)(type) ? 1 : isSuspense(type) ? 128 : isTeleport(type) ? 64 : (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(type) ? 4 : (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(type) ? 2 : 0;\n if ( true && shapeFlag & 4 && (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isProxy)(type)) {\n type = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.toRaw)(type);\n warn(`Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with \\`markRaw\\` or using \\`shallowRef\\` instead of \\`ref\\`.`, `\nComponent that was made reactive: `, type);\n }\n return createBaseVNode(type, props, children, patchFlag, dynamicProps, shapeFlag, isBlockNode, true);\n}\nfunction guardReactiveProps(props) {\n if (!props) return null;\n return (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isProxy)(props) || InternalObjectKey in props ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)({}, props) : props;\n}\nfunction cloneVNode(vnode, extraProps, mergeRef = false) {\n const {\n props,\n ref,\n patchFlag,\n children\n } = vnode;\n const mergedProps = extraProps ? mergeProps(props || {}, extraProps) : props;\n const cloned = {\n __v_isVNode: true,\n __v_skip: true,\n type: vnode.type,\n props: mergedProps,\n key: mergedProps && normalizeKey(mergedProps),\n ref: extraProps && extraProps.ref ?\n // #2078 in the case of <component :is=\"vnode\" ref=\"extra\"/>\n // if the vnode itself already has a ref, cloneVNode will need to merge\n // the refs so the single vnode can be set on multiple refs\n mergeRef && ref ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(ref) ? ref.concat(normalizeRef(extraProps)) : [ref, normalizeRef(extraProps)] : normalizeRef(extraProps) : ref,\n scopeId: vnode.scopeId,\n slotScopeIds: vnode.slotScopeIds,\n children: true && patchFlag === -1 && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(children) ? children.map(deepCloneVNode) : children,\n target: vnode.target,\n targetAnchor: vnode.targetAnchor,\n staticCount: vnode.staticCount,\n shapeFlag: vnode.shapeFlag,\n // if the vnode is cloned with extra props, we can no longer assume its\n // existing patch flag to be reliable and need to add the FULL_PROPS flag.\n // note: preserve flag for fragments since they use the flag for children\n // fast paths only.\n patchFlag: extraProps && vnode.type !== Fragment ? patchFlag === -1 ? 16 : patchFlag | 16 : patchFlag,\n dynamicProps: vnode.dynamicProps,\n dynamicChildren: vnode.dynamicChildren,\n appContext: vnode.appContext,\n dirs: vnode.dirs,\n transition: vnode.transition,\n // These should technically only be non-null on mounted VNodes. However,\n // they *should* be copied for kept-alive vnodes. So we just always copy\n // them since them being non-null during a mount doesn't affect the logic as\n // they will simply be overwritten.\n component: vnode.component,\n suspense: vnode.suspense,\n ssContent: vnode.ssContent && cloneVNode(vnode.ssContent),\n ssFallback: vnode.ssFallback && cloneVNode(vnode.ssFallback),\n el: vnode.el,\n anchor: vnode.anchor,\n ctx: vnode.ctx,\n ce: vnode.ce\n };\n return cloned;\n}\nfunction deepCloneVNode(vnode) {\n const cloned = cloneVNode(vnode);\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(vnode.children)) {\n cloned.children = vnode.children.map(deepCloneVNode);\n }\n return cloned;\n}\nfunction createTextVNode(text = \" \", flag = 0) {\n return createVNode(Text, null, text, flag);\n}\nfunction createStaticVNode(content, numberOfNodes) {\n const vnode = createVNode(Static, null, content);\n vnode.staticCount = numberOfNodes;\n return vnode;\n}\nfunction createCommentVNode(text = \"\", asBlock = false) {\n return asBlock ? (openBlock(), createBlock(Comment, null, text)) : createVNode(Comment, null, text);\n}\nfunction normalizeVNode(child) {\n if (child == null || typeof child === \"boolean\") {\n return createVNode(Comment);\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(child)) {\n return createVNode(Fragment, null,\n // #3666, avoid reference pollution when reusing vnode\n child.slice());\n } else if (typeof child === \"object\") {\n return cloneIfMounted(child);\n } else {\n return createVNode(Text, null, String(child));\n }\n}\nfunction cloneIfMounted(child) {\n return child.el === null && child.patchFlag !== -1 || child.memo ? child : cloneVNode(child);\n}\nfunction normalizeChildren(vnode, children) {\n let type = 0;\n const {\n shapeFlag\n } = vnode;\n if (children == null) {\n children = null;\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(children)) {\n type = 16;\n } else if (typeof children === \"object\") {\n if (shapeFlag & (1 | 64)) {\n const slot = children.default;\n if (slot) {\n slot._c && (slot._d = false);\n normalizeChildren(vnode, slot());\n slot._c && (slot._d = true);\n }\n return;\n } else {\n type = 32;\n const slotFlag = children._;\n if (!slotFlag && !(InternalObjectKey in children)) {\n children._ctx = currentRenderingInstance;\n } else if (slotFlag === 3 && currentRenderingInstance) {\n if (currentRenderingInstance.slots._ === 1) {\n children._ = 1;\n } else {\n children._ = 2;\n vnode.patchFlag |= 1024;\n }\n }\n }\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(children)) {\n children = {\n default: children,\n _ctx: currentRenderingInstance\n };\n type = 32;\n } else {\n children = String(children);\n if (shapeFlag & 64) {\n type = 16;\n children = [createTextVNode(children)];\n } else {\n type = 8;\n }\n }\n vnode.children = children;\n vnode.shapeFlag |= type;\n}\nfunction mergeProps(...args) {\n const ret = {};\n for (let i = 0; i < args.length; i++) {\n const toMerge = args[i];\n for (const key in toMerge) {\n if (key === \"class\") {\n if (ret.class !== toMerge.class) {\n ret.class = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.normalizeClass)([ret.class, toMerge.class]);\n }\n } else if (key === \"style\") {\n ret.style = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.normalizeStyle)([ret.style, toMerge.style]);\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isOn)(key)) {\n const existing = ret[key];\n const incoming = toMerge[key];\n if (incoming && existing !== incoming && !((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(existing) && existing.includes(incoming))) {\n ret[key] = existing ? [].concat(existing, incoming) : incoming;\n }\n } else if (key !== \"\") {\n ret[key] = toMerge[key];\n }\n }\n }\n return ret;\n}\nfunction invokeVNodeHook(hook, instance, vnode, prevVNode = null) {\n callWithAsyncErrorHandling(hook, instance, 7, [vnode, prevVNode]);\n}\nconst emptyAppContext = createAppContext();\nlet uid = 0;\nfunction createComponentInstance(vnode, parent, suspense) {\n const type = vnode.type;\n const appContext = (parent ? parent.appContext : vnode.appContext) || emptyAppContext;\n const instance = {\n uid: uid++,\n vnode,\n type,\n parent,\n appContext,\n root: null,\n // to be immediately set\n next: null,\n subTree: null,\n // will be set synchronously right after creation\n effect: null,\n update: null,\n // will be set synchronously right after creation\n scope: new _vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.EffectScope(true\n /* detached */),\n\n render: null,\n proxy: null,\n exposed: null,\n exposeProxy: null,\n withProxy: null,\n provides: parent ? parent.provides : Object.create(appContext.provides),\n accessCache: null,\n renderCache: [],\n // local resolved assets\n components: null,\n directives: null,\n // resolved props and emits options\n propsOptions: normalizePropsOptions(type, appContext),\n emitsOptions: normalizeEmitsOptions(type, appContext),\n // emit\n emit: null,\n // to be set immediately\n emitted: null,\n // props default value\n propsDefaults: _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ,\n // inheritAttrs\n inheritAttrs: type.inheritAttrs,\n // state\n ctx: _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ,\n data: _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ,\n props: _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ,\n attrs: _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ,\n slots: _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ,\n refs: _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ,\n setupState: _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ,\n setupContext: null,\n attrsProxy: null,\n slotsProxy: null,\n // suspense related\n suspense,\n suspenseId: suspense ? suspense.pendingId : 0,\n asyncDep: null,\n asyncResolved: false,\n // lifecycle hooks\n // not using enums here because it results in computed properties\n isMounted: false,\n isUnmounted: false,\n isDeactivated: false,\n bc: null,\n c: null,\n bm: null,\n m: null,\n bu: null,\n u: null,\n um: null,\n bum: null,\n da: null,\n a: null,\n rtg: null,\n rtc: null,\n ec: null,\n sp: null\n };\n if (true) {\n instance.ctx = createDevRenderContext(instance);\n } else {}\n instance.root = parent ? parent.root : instance;\n instance.emit = emit.bind(null, instance);\n if (vnode.ce) {\n vnode.ce(instance);\n }\n return instance;\n}\nlet currentInstance = null;\nconst getCurrentInstance = () => currentInstance || currentRenderingInstance;\nlet internalSetCurrentInstance;\nlet globalCurrentInstanceSetters;\nlet settersKey = \"__VUE_INSTANCE_SETTERS__\";\n{\n if (!(globalCurrentInstanceSetters = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.getGlobalThis)()[settersKey])) {\n globalCurrentInstanceSetters = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.getGlobalThis)()[settersKey] = [];\n }\n globalCurrentInstanceSetters.push(i => currentInstance = i);\n internalSetCurrentInstance = instance => {\n if (globalCurrentInstanceSetters.length > 1) {\n globalCurrentInstanceSetters.forEach(s => s(instance));\n } else {\n globalCurrentInstanceSetters[0](instance);\n }\n };\n}\nconst setCurrentInstance = instance => {\n internalSetCurrentInstance(instance);\n instance.scope.on();\n};\nconst unsetCurrentInstance = () => {\n currentInstance && currentInstance.scope.off();\n internalSetCurrentInstance(null);\n};\nconst isBuiltInTag = /* @__PURE__ */(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.makeMap)(\"slot,component\");\nfunction validateComponentName(name, config) {\n const appIsNativeTag = config.isNativeTag || _vue_shared__WEBPACK_IMPORTED_MODULE_2__.NO;\n if (isBuiltInTag(name) || appIsNativeTag(name)) {\n warn(\"Do not use built-in or reserved HTML elements as component id: \" + name);\n }\n}\nfunction isStatefulComponent(instance) {\n return instance.vnode.shapeFlag & 4;\n}\nlet isInSSRComponentSetup = false;\nfunction setupComponent(instance, isSSR = false) {\n isInSSRComponentSetup = isSSR;\n const {\n props,\n children\n } = instance.vnode;\n const isStateful = isStatefulComponent(instance);\n initProps(instance, props, isStateful, isSSR);\n initSlots(instance, children);\n const setupResult = isStateful ? setupStatefulComponent(instance, isSSR) : void 0;\n isInSSRComponentSetup = false;\n return setupResult;\n}\nfunction setupStatefulComponent(instance, isSSR) {\n var _a;\n const Component = instance.type;\n if (true) {\n if (Component.name) {\n validateComponentName(Component.name, instance.appContext.config);\n }\n if (Component.components) {\n const names = Object.keys(Component.components);\n for (let i = 0; i < names.length; i++) {\n validateComponentName(names[i], instance.appContext.config);\n }\n }\n if (Component.directives) {\n const names = Object.keys(Component.directives);\n for (let i = 0; i < names.length; i++) {\n validateDirectiveName(names[i]);\n }\n }\n if (Component.compilerOptions && isRuntimeOnly()) {\n warn(`\"compilerOptions\" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.`);\n }\n }\n instance.accessCache = /* @__PURE__ */Object.create(null);\n instance.proxy = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.markRaw)(new Proxy(instance.ctx, PublicInstanceProxyHandlers));\n if (true) {\n exposePropsOnRenderContext(instance);\n }\n const {\n setup\n } = Component;\n if (setup) {\n const setupContext = instance.setupContext = setup.length > 1 ? createSetupContext(instance) : null;\n setCurrentInstance(instance);\n (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.pauseTracking)();\n const setupResult = callWithErrorHandling(setup, instance, 0, [ true ? (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.shallowReadonly)(instance.props) : 0, setupContext]);\n (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.resetTracking)();\n unsetCurrentInstance();\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isPromise)(setupResult)) {\n setupResult.then(unsetCurrentInstance, unsetCurrentInstance);\n if (isSSR) {\n return setupResult.then(resolvedResult => {\n handleSetupResult(instance, resolvedResult, isSSR);\n }).catch(e => {\n handleError(e, instance, 0);\n });\n } else {\n instance.asyncDep = setupResult;\n if ( true && !instance.suspense) {\n const name = (_a = Component.name) != null ? _a : \"Anonymous\";\n warn(`Component <${name}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`);\n }\n }\n } else {\n handleSetupResult(instance, setupResult, isSSR);\n }\n } else {\n finishComponentSetup(instance, isSSR);\n }\n}\nfunction handleSetupResult(instance, setupResult, isSSR) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(setupResult)) {\n if (instance.type.__ssrInlineRender) {\n instance.ssrRender = setupResult;\n } else {\n instance.render = setupResult;\n }\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(setupResult)) {\n if ( true && isVNode(setupResult)) {\n warn(`setup() should not return VNodes directly - return a render function instead.`);\n }\n if (true) {\n instance.devtoolsRawSetupState = setupResult;\n }\n instance.setupState = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.proxyRefs)(setupResult);\n if (true) {\n exposeSetupStateOnRenderContext(instance);\n }\n } else if ( true && setupResult !== void 0) {\n warn(`setup() should return an object. Received: ${setupResult === null ? \"null\" : typeof setupResult}`);\n }\n finishComponentSetup(instance, isSSR);\n}\nlet compile;\nlet installWithProxy;\nfunction registerRuntimeCompiler(_compile) {\n compile = _compile;\n installWithProxy = i => {\n if (i.render._rc) {\n i.withProxy = new Proxy(i.ctx, RuntimeCompiledPublicInstanceProxyHandlers);\n }\n };\n}\nconst isRuntimeOnly = () => !compile;\nfunction finishComponentSetup(instance, isSSR, skipOptions) {\n const Component = instance.type;\n if (!instance.render) {\n if (!isSSR && compile && !Component.render) {\n const template = Component.template || resolveMergedOptions(instance).template;\n if (template) {\n if (true) {\n startMeasure(instance, `compile`);\n }\n const {\n isCustomElement,\n compilerOptions\n } = instance.appContext.config;\n const {\n delimiters,\n compilerOptions: componentCompilerOptions\n } = Component;\n const finalCompilerOptions = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)({\n isCustomElement,\n delimiters\n }, compilerOptions), componentCompilerOptions);\n Component.render = compile(template, finalCompilerOptions);\n if (true) {\n endMeasure(instance, `compile`);\n }\n }\n }\n instance.render = Component.render || _vue_shared__WEBPACK_IMPORTED_MODULE_2__.NOOP;\n if (installWithProxy) {\n installWithProxy(instance);\n }\n }\n if (true) {\n setCurrentInstance(instance);\n (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.pauseTracking)();\n try {\n applyOptions(instance);\n } finally {\n (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.resetTracking)();\n unsetCurrentInstance();\n }\n }\n if ( true && !Component.render && instance.render === _vue_shared__WEBPACK_IMPORTED_MODULE_2__.NOOP && !isSSR) {\n if (!compile && Component.template) {\n warn(`Component provided template option but runtime compilation is not supported in this build of Vue.` + ` Configure your bundler to alias \"vue\" to \"vue/dist/vue.esm-bundler.js\".`\n /* should not happen */);\n } else {\n warn(`Component is missing template or render function.`);\n }\n }\n}\nfunction getAttrsProxy(instance) {\n return instance.attrsProxy || (instance.attrsProxy = new Proxy(instance.attrs, true ? {\n get(target, key) {\n markAttrsAccessed();\n (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.track)(instance, \"get\", \"$attrs\");\n return target[key];\n },\n set() {\n warn(`setupContext.attrs is readonly.`);\n return false;\n },\n deleteProperty() {\n warn(`setupContext.attrs is readonly.`);\n return false;\n }\n } : 0));\n}\nfunction getSlotsProxy(instance) {\n return instance.slotsProxy || (instance.slotsProxy = new Proxy(instance.slots, {\n get(target, key) {\n (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.track)(instance, \"get\", \"$slots\");\n return target[key];\n }\n }));\n}\nfunction createSetupContext(instance) {\n const expose = exposed => {\n if (true) {\n if (instance.exposed) {\n warn(`expose() should be called only once per setup().`);\n }\n if (exposed != null) {\n let exposedType = typeof exposed;\n if (exposedType === \"object\") {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(exposed)) {\n exposedType = \"array\";\n } else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isRef)(exposed)) {\n exposedType = \"ref\";\n }\n }\n if (exposedType !== \"object\") {\n warn(`expose() should be passed a plain object, received ${exposedType}.`);\n }\n }\n }\n instance.exposed = exposed || {};\n };\n if (true) {\n return Object.freeze({\n get attrs() {\n return getAttrsProxy(instance);\n },\n get slots() {\n return getSlotsProxy(instance);\n },\n get emit() {\n return (event, ...args) => instance.emit(event, ...args);\n },\n expose\n });\n } else {}\n}\nfunction getExposeProxy(instance) {\n if (instance.exposed) {\n return instance.exposeProxy || (instance.exposeProxy = new Proxy((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.proxyRefs)((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.markRaw)(instance.exposed)), {\n get(target, key) {\n if (key in target) {\n return target[key];\n } else if (key in publicPropertiesMap) {\n return publicPropertiesMap[key](instance);\n }\n },\n has(target, key) {\n return key in target || key in publicPropertiesMap;\n }\n }));\n }\n}\nconst classifyRE = /(?:^|[-_])(\\w)/g;\nconst classify = str => str.replace(classifyRE, c => c.toUpperCase()).replace(/[-_]/g, \"\");\nfunction getComponentName(Component, includeInferred = true) {\n return (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(Component) ? Component.displayName || Component.name : Component.name || includeInferred && Component.__name;\n}\nfunction formatComponentName(instance, Component, isRoot = false) {\n let name = getComponentName(Component);\n if (!name && Component.__file) {\n const match = Component.__file.match(/([^/\\\\]+)\\.\\w+$/);\n if (match) {\n name = match[1];\n }\n }\n if (!name && instance && instance.parent) {\n const inferFromRegistry = registry => {\n for (const key in registry) {\n if (registry[key] === Component) {\n return key;\n }\n }\n };\n name = inferFromRegistry(instance.components || instance.parent.type.components) || inferFromRegistry(instance.appContext.components);\n }\n return name ? classify(name) : isRoot ? `App` : `Anonymous`;\n}\nfunction isClassComponent(value) {\n return (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(value) && \"__vccOpts\" in value;\n}\nconst computed = (getterOrOptions, debugOptions) => {\n return (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.computed)(getterOrOptions, debugOptions, isInSSRComponentSetup);\n};\nfunction h(type, propsOrChildren, children) {\n const l = arguments.length;\n if (l === 2) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(propsOrChildren) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(propsOrChildren)) {\n if (isVNode(propsOrChildren)) {\n return createVNode(type, null, [propsOrChildren]);\n }\n return createVNode(type, propsOrChildren);\n } else {\n return createVNode(type, null, propsOrChildren);\n }\n } else {\n if (l > 3) {\n children = Array.prototype.slice.call(arguments, 2);\n } else if (l === 3 && isVNode(children)) {\n children = [children];\n }\n return createVNode(type, propsOrChildren, children);\n }\n}\nconst ssrContextKey = Symbol.for(\"v-scx\");\nconst useSSRContext = () => {\n {\n const ctx = inject(ssrContextKey);\n if (!ctx) {\n true && warn(`Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.`);\n }\n return ctx;\n }\n};\nfunction isShallow(value) {\n return !!(value && value[\"__v_isShallow\"]);\n}\nfunction initCustomFormatter() {\n if ( false || typeof window === \"undefined\") {\n return;\n }\n const vueStyle = {\n style: \"color:#3ba776\"\n };\n const numberStyle = {\n style: \"color:#1677ff\"\n };\n const stringStyle = {\n style: \"color:#f5222d\"\n };\n const keywordStyle = {\n style: \"color:#eb2f96\"\n };\n const formatter = {\n header(obj) {\n if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(obj)) {\n return null;\n }\n if (obj.__isVue) {\n return [\"div\", vueStyle, `VueInstance`];\n } else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isRef)(obj)) {\n return [\"div\", {}, [\"span\", vueStyle, genRefFlag(obj)], \"<\", formatValue(obj.value), `>`];\n } else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isReactive)(obj)) {\n return [\"div\", {}, [\"span\", vueStyle, isShallow(obj) ? \"ShallowReactive\" : \"Reactive\"], \"<\", formatValue(obj), `>${(0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isReadonly)(obj) ? ` (readonly)` : ``}`];\n } else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.isReadonly)(obj)) {\n return [\"div\", {}, [\"span\", vueStyle, isShallow(obj) ? \"ShallowReadonly\" : \"Readonly\"], \"<\", formatValue(obj), \">\"];\n }\n return null;\n },\n hasBody(obj) {\n return obj && obj.__isVue;\n },\n body(obj) {\n if (obj && obj.__isVue) {\n return [\"div\", {}, ...formatInstance(obj.$)];\n }\n }\n };\n function formatInstance(instance) {\n const blocks = [];\n if (instance.type.props && instance.props) {\n blocks.push(createInstanceBlock(\"props\", (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.toRaw)(instance.props)));\n }\n if (instance.setupState !== _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ) {\n blocks.push(createInstanceBlock(\"setup\", instance.setupState));\n }\n if (instance.data !== _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ) {\n blocks.push(createInstanceBlock(\"data\", (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.toRaw)(instance.data)));\n }\n const computed = extractKeys(instance, \"computed\");\n if (computed) {\n blocks.push(createInstanceBlock(\"computed\", computed));\n }\n const injected = extractKeys(instance, \"inject\");\n if (injected) {\n blocks.push(createInstanceBlock(\"injected\", injected));\n }\n blocks.push([\"div\", {}, [\"span\", {\n style: keywordStyle.style + \";opacity:0.66\"\n }, \"$ (internal): \"], [\"object\", {\n object: instance\n }]]);\n return blocks;\n }\n function createInstanceBlock(type, target) {\n target = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)({}, target);\n if (!Object.keys(target).length) {\n return [\"span\", {}];\n }\n return [\"div\", {\n style: \"line-height:1.25em;margin-bottom:0.6em\"\n }, [\"div\", {\n style: \"color:#476582\"\n }, type], [\"div\", {\n style: \"padding-left:1.25em\"\n }, ...Object.keys(target).map(key => {\n return [\"div\", {}, [\"span\", keywordStyle, key + \": \"], formatValue(target[key], false)];\n })]];\n }\n function formatValue(v, asRaw = true) {\n if (typeof v === \"number\") {\n return [\"span\", numberStyle, v];\n } else if (typeof v === \"string\") {\n return [\"span\", stringStyle, JSON.stringify(v)];\n } else if (typeof v === \"boolean\") {\n return [\"span\", keywordStyle, v];\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(v)) {\n return [\"object\", {\n object: asRaw ? (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_1__.toRaw)(v) : v\n }];\n } else {\n return [\"span\", stringStyle, String(v)];\n }\n }\n function extractKeys(instance, type) {\n const Comp = instance.type;\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(Comp)) {\n return;\n }\n const extracted = {};\n for (const key in instance.ctx) {\n if (isKeyOfType(Comp, key, type)) {\n extracted[key] = instance.ctx[key];\n }\n }\n return extracted;\n }\n function isKeyOfType(Comp, key, type) {\n const opts = Comp[type];\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(opts) && opts.includes(key) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(opts) && key in opts) {\n return true;\n }\n if (Comp.extends && isKeyOfType(Comp.extends, key, type)) {\n return true;\n }\n if (Comp.mixins && Comp.mixins.some(m => isKeyOfType(m, key, type))) {\n return true;\n }\n }\n function genRefFlag(v) {\n if (isShallow(v)) {\n return `ShallowRef`;\n }\n if (v.effect) {\n return `ComputedRef`;\n }\n return `Ref`;\n }\n if (window.devtoolsFormatters) {\n window.devtoolsFormatters.push(formatter);\n } else {\n window.devtoolsFormatters = [formatter];\n }\n}\nfunction withMemo(memo, render, cache, index) {\n const cached = cache[index];\n if (cached && isMemoSame(cached, memo)) {\n return cached;\n }\n const ret = render();\n ret.memo = memo.slice();\n return cache[index] = ret;\n}\nfunction isMemoSame(cached, memo) {\n const prev = cached.memo;\n if (prev.length != memo.length) {\n return false;\n }\n for (let i = 0; i < prev.length; i++) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hasChanged)(prev[i], memo[i])) {\n return false;\n }\n }\n if (isBlockTreeEnabled > 0 && currentBlock) {\n currentBlock.push(cached);\n }\n return true;\n}\nconst version = \"3.3.11\";\nconst _ssrUtils = {\n createComponentInstance,\n setupComponent,\n renderComponentRoot,\n setCurrentRenderingInstance,\n isVNode: isVNode,\n normalizeVNode\n};\nconst ssrUtils = _ssrUtils;\nconst resolveFilter = null;\nconst compatUtils = null;\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js?"); 250 251/***/ }), 252
vendor: 74,431 bytes, lines 253-263
253/***/ "./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js": 254/*!***********************************************************************!*\ 255 !*** ./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js ***! 256 \***********************************************************************/ 257/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 258 259"use strict"; 260eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BaseTransition: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.BaseTransition; },\n/* harmony export */ BaseTransitionPropsValidators: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.BaseTransitionPropsValidators; },\n/* harmony export */ Comment: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.Comment; },\n/* harmony export */ EffectScope: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.EffectScope; },\n/* harmony export */ Fragment: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.Fragment; },\n/* harmony export */ KeepAlive: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.KeepAlive; },\n/* harmony export */ ReactiveEffect: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.ReactiveEffect; },\n/* harmony export */ Static: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.Static; },\n/* harmony export */ Suspense: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.Suspense; },\n/* harmony export */ Teleport: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.Teleport; },\n/* harmony export */ Text: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.Text; },\n/* harmony export */ Transition: function() { return /* binding */ Transition; },\n/* harmony export */ TransitionGroup: function() { return /* binding */ TransitionGroup; },\n/* harmony export */ VueElement: function() { return /* binding */ VueElement; },\n/* harmony export */ assertNumber: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.assertNumber; },\n/* harmony export */ callWithAsyncErrorHandling: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.callWithAsyncErrorHandling; },\n/* harmony export */ callWithErrorHandling: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.callWithErrorHandling; },\n/* harmony export */ camelize: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.camelize; },\n/* harmony export */ capitalize: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.capitalize; },\n/* harmony export */ cloneVNode: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.cloneVNode; },\n/* harmony export */ compatUtils: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.compatUtils; },\n/* harmony export */ computed: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.computed; },\n/* harmony export */ createApp: function() { return /* binding */ createApp; },\n/* harmony export */ createBlock: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.createBlock; },\n/* harmony export */ createCommentVNode: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.createCommentVNode; },\n/* harmony export */ createElementBlock: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.createElementBlock; },\n/* harmony export */ createElementVNode: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.createElementVNode; },\n/* harmony export */ createHydrationRenderer: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.createHydrationRenderer; },\n/* harmony export */ createPropsRestProxy: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.createPropsRestProxy; },\n/* harmony export */ createRenderer: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.createRenderer; },\n/* harmony export */ createSSRApp: function() { return /* binding */ createSSRApp; },\n/* harmony export */ createSlots: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.createSlots; },\n/* harmony export */ createStaticVNode: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.createStaticVNode; },\n/* harmony export */ createTextVNode: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.createTextVNode; },\n/* harmony export */ createVNode: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.createVNode; },\n/* harmony export */ customRef: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.customRef; },\n/* harmony export */ defineAsyncComponent: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.defineAsyncComponent; },\n/* harmony export */ defineComponent: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.defineComponent; },\n/* harmony export */ defineCustomElement: function() { return /* binding */ defineCustomElement; },\n/* harmony export */ defineEmits: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.defineEmits; },\n/* harmony export */ defineExpose: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.defineExpose; },\n/* harmony export */ defineModel: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.defineModel; },\n/* harmony export */ defineOptions: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.defineOptions; },\n/* harmony export */ defineProps: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.defineProps; },\n/* harmony export */ defineSSRCustomElement: function() { return /* binding */ defineSSRCustomElement; },\n/* harmony export */ defineSlots: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.defineSlots; },\n/* harmony export */ devtools: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.devtools; },\n/* harmony export */ effect: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.effect; },\n/* harmony export */ effectScope: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.effectScope; },\n/* harmony export */ getCurrentInstance: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.getCurrentInstance; },\n/* harmony export */ getCurrentScope: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.getCurrentScope; },\n/* harmony export */ getTransitionRawChildren: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.getTransitionRawChildren; },\n/* harmony export */ guardReactiveProps: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.guardReactiveProps; },\n/* harmony export */ h: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.h; },\n/* harmony export */ handleError: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.handleError; },\n/* harmony export */ hasInjectionContext: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.hasInjectionContext; },\n/* harmony export */ hydrate: function() { return /* binding */ hydrate; },\n/* harmony export */ initCustomFormatter: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.initCustomFormatter; },\n/* harmony export */ initDirectivesForSSR: function() { return /* binding */ initDirectivesForSSR; },\n/* harmony export */ inject: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.inject; },\n/* harmony export */ isMemoSame: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.isMemoSame; },\n/* harmony export */ isProxy: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.isProxy; },\n/* harmony export */ isReactive: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.isReactive; },\n/* harmony export */ isReadonly: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.isReadonly; },\n/* harmony export */ isRef: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.isRef; },\n/* harmony export */ isRuntimeOnly: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.isRuntimeOnly; },\n/* harmony export */ isShallow: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.isShallow; },\n/* harmony export */ isVNode: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.isVNode; },\n/* harmony export */ markRaw: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.markRaw; },\n/* harmony export */ mergeDefaults: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.mergeDefaults; },\n/* harmony export */ mergeModels: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.mergeModels; },\n/* harmony export */ mergeProps: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.mergeProps; },\n/* harmony export */ nextTick: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.nextTick; },\n/* harmony export */ normalizeClass: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.normalizeClass; },\n/* harmony export */ normalizeProps: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.normalizeProps; },\n/* harmony export */ normalizeStyle: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.normalizeStyle; },\n/* harmony export */ onActivated: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.onActivated; },\n/* harmony export */ onBeforeMount: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.onBeforeMount; },\n/* harmony export */ onBeforeUnmount: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.onBeforeUnmount; },\n/* harmony export */ onBeforeUpdate: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.onBeforeUpdate; },\n/* harmony export */ onDeactivated: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.onDeactivated; },\n/* harmony export */ onErrorCaptured: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.onErrorCaptured; },\n/* harmony export */ onMounted: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.onMounted; },\n/* harmony export */ onRenderTracked: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.onRenderTracked; },\n/* harmony export */ onRenderTriggered: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.onRenderTriggered; },\n/* harmony export */ onScopeDispose: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.onScopeDispose; },\n/* harmony export */ onServerPrefetch: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.onServerPrefetch; },\n/* harmony export */ onUnmounted: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.onUnmounted; },\n/* harmony export */ onUpdated: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.onUpdated; },\n/* harmony export */ openBlock: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.openBlock; },\n/* harmony export */ popScopeId: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.popScopeId; },\n/* harmony export */ provide: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.provide; },\n/* harmony export */ proxyRefs: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.proxyRefs; },\n/* harmony export */ pushScopeId: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.pushScopeId; },\n/* harmony export */ queuePostFlushCb: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.queuePostFlushCb; },\n/* harmony export */ reactive: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.reactive; },\n/* harmony export */ readonly: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.readonly; },\n/* harmony export */ ref: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.ref; },\n/* harmony export */ registerRuntimeCompiler: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.registerRuntimeCompiler; },\n/* harmony export */ render: function() { return /* binding */ render; },\n/* harmony export */ renderList: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.renderList; },\n/* harmony export */ renderSlot: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.renderSlot; },\n/* harmony export */ resolveComponent: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.resolveComponent; },\n/* harmony export */ resolveDirective: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.resolveDirective; },\n/* harmony export */ resolveDynamicComponent: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.resolveDynamicComponent; },\n/* harmony export */ resolveFilter: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.resolveFilter; },\n/* harmony export */ resolveTransitionHooks: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.resolveTransitionHooks; },\n/* harmony export */ setBlockTracking: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.setBlockTracking; },\n/* harmony export */ setDevtoolsHook: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.setDevtoolsHook; },\n/* harmony export */ setTransitionHooks: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.setTransitionHooks; },\n/* harmony export */ shallowReactive: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.shallowReactive; },\n/* harmony export */ shallowReadonly: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.shallowReadonly; },\n/* harmony export */ shallowRef: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.shallowRef; },\n/* harmony export */ ssrContextKey: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.ssrContextKey; },\n/* harmony export */ ssrUtils: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.ssrUtils; },\n/* harmony export */ stop: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.stop; },\n/* harmony export */ toDisplayString: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.toDisplayString; },\n/* harmony export */ toHandlerKey: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.toHandlerKey; },\n/* harmony export */ toHandlers: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.toHandlers; },\n/* harmony export */ toRaw: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.toRaw; },\n/* harmony export */ toRef: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.toRef; },\n/* harmony export */ toRefs: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.toRefs; },\n/* harmony export */ toValue: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.toValue; },\n/* harmony export */ transformVNodeArgs: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.transformVNodeArgs; },\n/* harmony export */ triggerRef: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.triggerRef; },\n/* harmony export */ unref: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.unref; },\n/* harmony export */ useAttrs: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.useAttrs; },\n/* harmony export */ useCssModule: function() { return /* binding */ useCssModule; },\n/* harmony export */ useCssVars: function() { return /* binding */ useCssVars; },\n/* harmony export */ useModel: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.useModel; },\n/* harmony export */ useSSRContext: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.useSSRContext; },\n/* harmony export */ useSlots: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.useSlots; },\n/* harmony export */ useTransitionState: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.useTransitionState; },\n/* harmony export */ vModelCheckbox: function() { return /* binding */ vModelCheckbox; },\n/* harmony export */ vModelDynamic: function() { return /* binding */ vModelDynamic; },\n/* harmony export */ vModelRadio: function() { return /* binding */ vModelRadio; },\n/* harmony export */ vModelSelect: function() { return /* binding */ vModelSelect; },\n/* harmony export */ vModelText: function() { return /* binding */ vModelText; },\n/* harmony export */ vShow: function() { return /* binding */ vShow; },\n/* harmony export */ version: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.version; },\n/* harmony export */ warn: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.warn; },\n/* harmony export */ watch: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.watch; },\n/* harmony export */ watchEffect: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.watchEffect; },\n/* harmony export */ watchPostEffect: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.watchPostEffect; },\n/* harmony export */ watchSyncEffect: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.watchSyncEffect; },\n/* harmony export */ withAsyncContext: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.withAsyncContext; },\n/* harmony export */ withCtx: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.withCtx; },\n/* harmony export */ withDefaults: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.withDefaults; },\n/* harmony export */ withDirectives: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.withDirectives; },\n/* harmony export */ withKeys: function() { return /* binding */ withKeys; },\n/* harmony export */ withMemo: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.withMemo; },\n/* harmony export */ withModifiers: function() { return /* binding */ withModifiers; },\n/* harmony export */ withScopeId: function() { return /* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.withScopeId; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @vue/runtime-core */ \"./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js\");\n/* harmony import */ var _vue_shared__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @vue/shared */ \"./node_modules/@vue/shared/dist/shared.esm-bundler.js\");\n/* harmony import */ var _vue_runtime_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @vue/runtime-core */ \"./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js\");\n\n\n\n\nconst svgNS = \"http://www.w3.org/2000/svg\";\nconst doc = typeof document !== \"undefined\" ? document : null;\nconst templateContainer = doc && /* @__PURE__ */doc.createElement(\"template\");\nconst nodeOps = {\n insert: (child, parent, anchor) => {\n parent.insertBefore(child, anchor || null);\n },\n remove: child => {\n const parent = child.parentNode;\n if (parent) {\n parent.removeChild(child);\n }\n },\n createElement: (tag, isSVG, is, props) => {\n const el = isSVG ? doc.createElementNS(svgNS, tag) : doc.createElement(tag, is ? {\n is\n } : void 0);\n if (tag === \"select\" && props && props.multiple != null) {\n el.setAttribute(\"multiple\", props.multiple);\n }\n return el;\n },\n createText: text => doc.createTextNode(text),\n createComment: text => doc.createComment(text),\n setText: (node, text) => {\n node.nodeValue = text;\n },\n setElementText: (el, text) => {\n el.textContent = text;\n },\n parentNode: node => node.parentNode,\n nextSibling: node => node.nextSibling,\n querySelector: selector => doc.querySelector(selector),\n setScopeId(el, id) {\n el.setAttribute(id, \"\");\n },\n // __UNSAFE__\n // Reason: innerHTML.\n // Static content here can only come from compiled templates.\n // As long as the user only uses trusted templates, this is safe.\n insertStaticContent(content, parent, anchor, isSVG, start, end) {\n const before = anchor ? anchor.previousSibling : parent.lastChild;\n if (start && (start === end || start.nextSibling)) {\n while (true) {\n parent.insertBefore(start.cloneNode(true), anchor);\n if (start === end || !(start = start.nextSibling)) break;\n }\n } else {\n templateContainer.innerHTML = isSVG ? `<svg>${content}</svg>` : content;\n const template = templateContainer.content;\n if (isSVG) {\n const wrapper = template.firstChild;\n while (wrapper.firstChild) {\n template.appendChild(wrapper.firstChild);\n }\n template.removeChild(wrapper);\n }\n parent.insertBefore(template, anchor);\n }\n return [\n // first\n before ? before.nextSibling : parent.firstChild,\n // last\n anchor ? anchor.previousSibling : parent.lastChild];\n }\n};\nconst TRANSITION = \"transition\";\nconst ANIMATION = \"animation\";\nconst vtcKey = Symbol(\"_vtc\");\nconst Transition = (props, {\n slots\n}) => (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.h)(_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.BaseTransition, resolveTransitionProps(props), slots);\nTransition.displayName = \"Transition\";\nconst DOMTransitionPropsValidators = {\n name: String,\n type: String,\n css: {\n type: Boolean,\n default: true\n },\n duration: [String, Number, Object],\n enterFromClass: String,\n enterActiveClass: String,\n enterToClass: String,\n appearFromClass: String,\n appearActiveClass: String,\n appearToClass: String,\n leaveFromClass: String,\n leaveActiveClass: String,\n leaveToClass: String\n};\nconst TransitionPropsValidators = Transition.props = /* @__PURE__ */(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)({}, _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.BaseTransitionPropsValidators, DOMTransitionPropsValidators);\nconst callHook = (hook, args = []) => {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(hook)) {\n hook.forEach(h2 => h2(...args));\n } else if (hook) {\n hook(...args);\n }\n};\nconst hasExplicitCallback = hook => {\n return hook ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(hook) ? hook.some(h2 => h2.length > 1) : hook.length > 1 : false;\n};\nfunction resolveTransitionProps(rawProps) {\n const baseProps = {};\n for (const key in rawProps) {\n if (!(key in DOMTransitionPropsValidators)) {\n baseProps[key] = rawProps[key];\n }\n }\n if (rawProps.css === false) {\n return baseProps;\n }\n const {\n name = \"v\",\n type,\n duration,\n enterFromClass = `${name}-enter-from`,\n enterActiveClass = `${name}-enter-active`,\n enterToClass = `${name}-enter-to`,\n appearFromClass = enterFromClass,\n appearActiveClass = enterActiveClass,\n appearToClass = enterToClass,\n leaveFromClass = `${name}-leave-from`,\n leaveActiveClass = `${name}-leave-active`,\n leaveToClass = `${name}-leave-to`\n } = rawProps;\n const durations = normalizeDuration(duration);\n const enterDuration = durations && durations[0];\n const leaveDuration = durations && durations[1];\n const {\n onBeforeEnter,\n onEnter,\n onEnterCancelled,\n onLeave,\n onLeaveCancelled,\n onBeforeAppear = onBeforeEnter,\n onAppear = onEnter,\n onAppearCancelled = onEnterCancelled\n } = baseProps;\n const finishEnter = (el, isAppear, done) => {\n removeTransitionClass(el, isAppear ? appearToClass : enterToClass);\n removeTransitionClass(el, isAppear ? appearActiveClass : enterActiveClass);\n done && done();\n };\n const finishLeave = (el, done) => {\n el._isLeaving = false;\n removeTransitionClass(el, leaveFromClass);\n removeTransitionClass(el, leaveToClass);\n removeTransitionClass(el, leaveActiveClass);\n done && done();\n };\n const makeEnterHook = isAppear => {\n return (el, done) => {\n const hook = isAppear ? onAppear : onEnter;\n const resolve = () => finishEnter(el, isAppear, done);\n callHook(hook, [el, resolve]);\n nextFrame(() => {\n removeTransitionClass(el, isAppear ? appearFromClass : enterFromClass);\n addTransitionClass(el, isAppear ? appearToClass : enterToClass);\n if (!hasExplicitCallback(hook)) {\n whenTransitionEnds(el, type, enterDuration, resolve);\n }\n });\n };\n };\n return (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)(baseProps, {\n onBeforeEnter(el) {\n callHook(onBeforeEnter, [el]);\n addTransitionClass(el, enterFromClass);\n addTransitionClass(el, enterActiveClass);\n },\n onBeforeAppear(el) {\n callHook(onBeforeAppear, [el]);\n addTransitionClass(el, appearFromClass);\n addTransitionClass(el, appearActiveClass);\n },\n onEnter: makeEnterHook(false),\n onAppear: makeEnterHook(true),\n onLeave(el, done) {\n el._isLeaving = true;\n const resolve = () => finishLeave(el, done);\n addTransitionClass(el, leaveFromClass);\n forceReflow();\n addTransitionClass(el, leaveActiveClass);\n nextFrame(() => {\n if (!el._isLeaving) {\n return;\n }\n removeTransitionClass(el, leaveFromClass);\n addTransitionClass(el, leaveToClass);\n if (!hasExplicitCallback(onLeave)) {\n whenTransitionEnds(el, type, leaveDuration, resolve);\n }\n });\n callHook(onLeave, [el, resolve]);\n },\n onEnterCancelled(el) {\n finishEnter(el, false);\n callHook(onEnterCancelled, [el]);\n },\n onAppearCancelled(el) {\n finishEnter(el, true);\n callHook(onAppearCancelled, [el]);\n },\n onLeaveCancelled(el) {\n finishLeave(el);\n callHook(onLeaveCancelled, [el]);\n }\n });\n}\nfunction normalizeDuration(duration) {\n if (duration == null) {\n return null;\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isObject)(duration)) {\n return [NumberOf(duration.enter), NumberOf(duration.leave)];\n } else {\n const n = NumberOf(duration);\n return [n, n];\n }\n}\nfunction NumberOf(val) {\n const res = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.toNumber)(val);\n if (true) {\n (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.assertNumber)(res, \"<transition> explicit duration\");\n }\n return res;\n}\nfunction addTransitionClass(el, cls) {\n cls.split(/\\s+/).forEach(c => c && el.classList.add(c));\n (el[vtcKey] || (el[vtcKey] = /* @__PURE__ */new Set())).add(cls);\n}\nfunction removeTransitionClass(el, cls) {\n cls.split(/\\s+/).forEach(c => c && el.classList.remove(c));\n const _vtc = el[vtcKey];\n if (_vtc) {\n _vtc.delete(cls);\n if (!_vtc.size) {\n el[vtcKey] = void 0;\n }\n }\n}\nfunction nextFrame(cb) {\n requestAnimationFrame(() => {\n requestAnimationFrame(cb);\n });\n}\nlet endId = 0;\nfunction whenTransitionEnds(el, expectedType, explicitTimeout, resolve) {\n const id = el._endId = ++endId;\n const resolveIfNotStale = () => {\n if (id === el._endId) {\n resolve();\n }\n };\n if (explicitTimeout) {\n return setTimeout(resolveIfNotStale, explicitTimeout);\n }\n const {\n type,\n timeout,\n propCount\n } = getTransitionInfo(el, expectedType);\n if (!type) {\n return resolve();\n }\n const endEvent = type + \"end\";\n let ended = 0;\n const end = () => {\n el.removeEventListener(endEvent, onEnd);\n resolveIfNotStale();\n };\n const onEnd = e => {\n if (e.target === el && ++ended >= propCount) {\n end();\n }\n };\n setTimeout(() => {\n if (ended < propCount) {\n end();\n }\n }, timeout + 1);\n el.addEventListener(endEvent, onEnd);\n}\nfunction getTransitionInfo(el, expectedType) {\n const styles = window.getComputedStyle(el);\n const getStyleProperties = key => (styles[key] || \"\").split(\", \");\n const transitionDelays = getStyleProperties(`${TRANSITION}Delay`);\n const transitionDurations = getStyleProperties(`${TRANSITION}Duration`);\n const transitionTimeout = getTimeout(transitionDelays, transitionDurations);\n const animationDelays = getStyleProperties(`${ANIMATION}Delay`);\n const animationDurations = getStyleProperties(`${ANIMATION}Duration`);\n const animationTimeout = getTimeout(animationDelays, animationDurations);\n let type = null;\n let timeout = 0;\n let propCount = 0;\n if (expectedType === TRANSITION) {\n if (transitionTimeout > 0) {\n type = TRANSITION;\n timeout = transitionTimeout;\n propCount = transitionDurations.length;\n }\n } else if (expectedType === ANIMATION) {\n if (animationTimeout > 0) {\n type = ANIMATION;\n timeout = animationTimeout;\n propCount = animationDurations.length;\n }\n } else {\n timeout = Math.max(transitionTimeout, animationTimeout);\n type = timeout > 0 ? transitionTimeout > animationTimeout ? TRANSITION : ANIMATION : null;\n propCount = type ? type === TRANSITION ? transitionDurations.length : animationDurations.length : 0;\n }\n const hasTransform = type === TRANSITION && /\\b(transform|all)(,|$)/.test(getStyleProperties(`${TRANSITION}Property`).toString());\n return {\n type,\n timeout,\n propCount,\n hasTransform\n };\n}\nfunction getTimeout(delays, durations) {\n while (delays.length < durations.length) {\n delays = delays.concat(delays);\n }\n return Math.max(...durations.map((d, i) => toMs(d) + toMs(delays[i])));\n}\nfunction toMs(s) {\n if (s === \"auto\") return 0;\n return Number(s.slice(0, -1).replace(\",\", \".\")) * 1e3;\n}\nfunction forceReflow() {\n return document.body.offsetHeight;\n}\nfunction patchClass(el, value, isSVG) {\n const transitionClasses = el[vtcKey];\n if (transitionClasses) {\n value = (value ? [value, ...transitionClasses] : [...transitionClasses]).join(\" \");\n }\n if (value == null) {\n el.removeAttribute(\"class\");\n } else if (isSVG) {\n el.setAttribute(\"class\", value);\n } else {\n el.className = value;\n }\n}\nconst vShowOldKey = Symbol(\"_vod\");\nconst vShow = {\n beforeMount(el, {\n value\n }, {\n transition\n }) {\n el[vShowOldKey] = el.style.display === \"none\" ? \"\" : el.style.display;\n if (transition && value) {\n transition.beforeEnter(el);\n } else {\n setDisplay(el, value);\n }\n },\n mounted(el, {\n value\n }, {\n transition\n }) {\n if (transition && value) {\n transition.enter(el);\n }\n },\n updated(el, {\n value,\n oldValue\n }, {\n transition\n }) {\n if (!value === !oldValue) return;\n if (transition) {\n if (value) {\n transition.beforeEnter(el);\n setDisplay(el, true);\n transition.enter(el);\n } else {\n transition.leave(el, () => {\n setDisplay(el, false);\n });\n }\n } else {\n setDisplay(el, value);\n }\n },\n beforeUnmount(el, {\n value\n }) {\n setDisplay(el, value);\n }\n};\nfunction setDisplay(el, value) {\n el.style.display = value ? el[vShowOldKey] : \"none\";\n}\nfunction initVShowForSSR() {\n vShow.getSSRProps = ({\n value\n }) => {\n if (!value) {\n return {\n style: {\n display: \"none\"\n }\n };\n }\n };\n}\nfunction patchStyle(el, prev, next) {\n const style = el.style;\n const isCssString = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isString)(next);\n if (next && !isCssString) {\n if (prev && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isString)(prev)) {\n for (const key in prev) {\n if (next[key] == null) {\n setStyle(style, key, \"\");\n }\n }\n }\n for (const key in next) {\n setStyle(style, key, next[key]);\n }\n } else {\n const currentDisplay = style.display;\n if (isCssString) {\n if (prev !== next) {\n style.cssText = next;\n }\n } else if (prev) {\n el.removeAttribute(\"style\");\n }\n if (vShowOldKey in el) {\n style.display = currentDisplay;\n }\n }\n}\nconst semicolonRE = /[^\\\\];\\s*$/;\nconst importantRE = /\\s*!important$/;\nfunction setStyle(style, name, val) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(val)) {\n val.forEach(v => setStyle(style, name, v));\n } else {\n if (val == null) val = \"\";\n if (true) {\n if (semicolonRE.test(val)) {\n (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.warn)(`Unexpected semicolon at the end of '${name}' style value: '${val}'`);\n }\n }\n if (name.startsWith(\"--\")) {\n style.setProperty(name, val);\n } else {\n const prefixed = autoPrefix(style, name);\n if (importantRE.test(val)) {\n style.setProperty((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hyphenate)(prefixed), val.replace(importantRE, \"\"), \"important\");\n } else {\n style[prefixed] = val;\n }\n }\n }\n}\nconst prefixes = [\"Webkit\", \"Moz\", \"ms\"];\nconst prefixCache = {};\nfunction autoPrefix(style, rawName) {\n const cached = prefixCache[rawName];\n if (cached) {\n return cached;\n }\n let name = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.camelize)(rawName);\n if (name !== \"filter\" && name in style) {\n return prefixCache[rawName] = name;\n }\n name = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.capitalize)(name);\n for (let i = 0; i < prefixes.length; i++) {\n const prefixed = prefixes[i] + name;\n if (prefixed in style) {\n return prefixCache[rawName] = prefixed;\n }\n }\n return rawName;\n}\nconst xlinkNS = \"http://www.w3.org/1999/xlink\";\nfunction patchAttr(el, key, value, isSVG, instance) {\n if (isSVG && key.startsWith(\"xlink:\")) {\n if (value == null) {\n el.removeAttributeNS(xlinkNS, key.slice(6, key.length));\n } else {\n el.setAttributeNS(xlinkNS, key, value);\n }\n } else {\n const isBoolean = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isSpecialBooleanAttr)(key);\n if (value == null || isBoolean && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.includeBooleanAttr)(value)) {\n el.removeAttribute(key);\n } else {\n el.setAttribute(key, isBoolean ? \"\" : value);\n }\n }\n}\nfunction patchDOMProp(el, key, value, prevChildren, parentComponent, parentSuspense, unmountChildren) {\n if (key === \"innerHTML\" || key === \"textContent\") {\n if (prevChildren) {\n unmountChildren(prevChildren, parentComponent, parentSuspense);\n }\n el[key] = value == null ? \"\" : value;\n return;\n }\n const tag = el.tagName;\n if (key === \"value\" && tag !== \"PROGRESS\" &&\n // custom elements may use _value internally\n !tag.includes(\"-\")) {\n el._value = value;\n const oldValue = tag === \"OPTION\" ? el.getAttribute(\"value\") : el.value;\n const newValue = value == null ? \"\" : value;\n if (oldValue !== newValue) {\n el.value = newValue;\n }\n if (value == null) {\n el.removeAttribute(key);\n }\n return;\n }\n let needRemove = false;\n if (value === \"\" || value == null) {\n const type = typeof el[key];\n if (type === \"boolean\") {\n value = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.includeBooleanAttr)(value);\n } else if (value == null && type === \"string\") {\n value = \"\";\n needRemove = true;\n } else if (type === \"number\") {\n value = 0;\n needRemove = true;\n }\n }\n try {\n el[key] = value;\n } catch (e) {\n if ( true && !needRemove) {\n (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.warn)(`Failed setting prop \"${key}\" on <${tag.toLowerCase()}>: value ${value} is invalid.`, e);\n }\n }\n needRemove && el.removeAttribute(key);\n}\nfunction addEventListener(el, event, handler, options) {\n el.addEventListener(event, handler, options);\n}\nfunction removeEventListener(el, event, handler, options) {\n el.removeEventListener(event, handler, options);\n}\nconst veiKey = Symbol(\"_vei\");\nfunction patchEvent(el, rawName, prevValue, nextValue, instance = null) {\n const invokers = el[veiKey] || (el[veiKey] = {});\n const existingInvoker = invokers[rawName];\n if (nextValue && existingInvoker) {\n existingInvoker.value = nextValue;\n } else {\n const [name, options] = parseName(rawName);\n if (nextValue) {\n const invoker = invokers[rawName] = createInvoker(nextValue, instance);\n addEventListener(el, name, invoker, options);\n } else if (existingInvoker) {\n removeEventListener(el, name, existingInvoker, options);\n invokers[rawName] = void 0;\n }\n }\n}\nconst optionsModifierRE = /(?:Once|Passive|Capture)$/;\nfunction parseName(name) {\n let options;\n if (optionsModifierRE.test(name)) {\n options = {};\n let m;\n while (m = name.match(optionsModifierRE)) {\n name = name.slice(0, name.length - m[0].length);\n options[m[0].toLowerCase()] = true;\n }\n }\n const event = name[2] === \":\" ? name.slice(3) : (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hyphenate)(name.slice(2));\n return [event, options];\n}\nlet cachedNow = 0;\nconst p = /* @__PURE__ */Promise.resolve();\nconst getNow = () => cachedNow || (p.then(() => cachedNow = 0), cachedNow = Date.now());\nfunction createInvoker(initialValue, instance) {\n const invoker = e => {\n if (!e._vts) {\n e._vts = Date.now();\n } else if (e._vts <= invoker.attached) {\n return;\n }\n (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.callWithAsyncErrorHandling)(patchStopImmediatePropagation(e, invoker.value), instance, 5, [e]);\n };\n invoker.value = initialValue;\n invoker.attached = getNow();\n return invoker;\n}\nfunction patchStopImmediatePropagation(e, value) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(value)) {\n const originalStop = e.stopImmediatePropagation;\n e.stopImmediatePropagation = () => {\n originalStop.call(e);\n e._stopped = true;\n };\n return value.map(fn => e2 => !e2._stopped && fn && fn(e2));\n } else {\n return value;\n }\n}\nconst isNativeOn = key => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 &&\n// lowercase letter\nkey.charCodeAt(2) > 96 && key.charCodeAt(2) < 123;\nconst patchProp = (el, key, prevValue, nextValue, isSVG = false, prevChildren, parentComponent, parentSuspense, unmountChildren) => {\n if (key === \"class\") {\n patchClass(el, nextValue, isSVG);\n } else if (key === \"style\") {\n patchStyle(el, prevValue, nextValue);\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isOn)(key)) {\n if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isModelListener)(key)) {\n patchEvent(el, key, prevValue, nextValue, parentComponent);\n }\n } else if (key[0] === \".\" ? (key = key.slice(1), true) : key[0] === \"^\" ? (key = key.slice(1), false) : shouldSetAsProp(el, key, nextValue, isSVG)) {\n patchDOMProp(el, key, nextValue, prevChildren, parentComponent, parentSuspense, unmountChildren);\n } else {\n if (key === \"true-value\") {\n el._trueValue = nextValue;\n } else if (key === \"false-value\") {\n el._falseValue = nextValue;\n }\n patchAttr(el, key, nextValue, isSVG);\n }\n};\nfunction shouldSetAsProp(el, key, value, isSVG) {\n if (isSVG) {\n if (key === \"innerHTML\" || key === \"textContent\") {\n return true;\n }\n if (key in el && isNativeOn(key) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(value)) {\n return true;\n }\n return false;\n }\n if (key === \"spellcheck\" || key === \"draggable\" || key === \"translate\") {\n return false;\n }\n if (key === \"form\") {\n return false;\n }\n if (key === \"list\" && el.tagName === \"INPUT\") {\n return false;\n }\n if (key === \"type\" && el.tagName === \"TEXTAREA\") {\n return false;\n }\n if (key === \"width\" || key === \"height\") {\n const tag = el.tagName;\n if (tag === \"IMG\" || tag === \"VIDEO\" || tag === \"CANVAS\" || tag === \"SOURCE\") {\n return false;\n }\n }\n if (isNativeOn(key) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isString)(value)) {\n return false;\n }\n return key in el;\n}\n\n/*! #__NO_SIDE_EFFECTS__ */\n// @__NO_SIDE_EFFECTS__\nfunction defineCustomElement(options, hydrate2) {\n const Comp = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.defineComponent)(options);\n class VueCustomElement extends VueElement {\n constructor(initialProps) {\n super(Comp, initialProps, hydrate2);\n }\n }\n VueCustomElement.def = Comp;\n return VueCustomElement;\n}\n/*! #__NO_SIDE_EFFECTS__ */\nconst defineSSRCustomElement = /* @__NO_SIDE_EFFECTS__ */options => {\n return /* @__PURE__ */defineCustomElement(options, hydrate);\n};\nconst BaseClass = typeof HTMLElement !== \"undefined\" ? HTMLElement : class {};\nclass VueElement extends BaseClass {\n constructor(_def, _props = {}, hydrate2) {\n super();\n this._def = _def;\n this._props = _props;\n /**\n * @internal\n */\n this._instance = null;\n this._connected = false;\n this._resolved = false;\n this._numberProps = null;\n this._ob = null;\n if (this.shadowRoot && hydrate2) {\n hydrate2(this._createVNode(), this.shadowRoot);\n } else {\n if ( true && this.shadowRoot) {\n (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.warn)(`Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use \\`defineSSRCustomElement\\`.`);\n }\n this.attachShadow({\n mode: \"open\"\n });\n if (!this._def.__asyncLoader) {\n this._resolveProps(this._def);\n }\n }\n }\n connectedCallback() {\n this._connected = true;\n if (!this._instance) {\n if (this._resolved) {\n this._update();\n } else {\n this._resolveDef();\n }\n }\n }\n disconnectedCallback() {\n this._connected = false;\n if (this._ob) {\n this._ob.disconnect();\n this._ob = null;\n }\n (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.nextTick)(() => {\n if (!this._connected) {\n render(null, this.shadowRoot);\n this._instance = null;\n }\n });\n }\n /**\n * resolve inner component definition (handle possible async component)\n */\n _resolveDef() {\n this._resolved = true;\n for (let i = 0; i < this.attributes.length; i++) {\n this._setAttr(this.attributes[i].name);\n }\n this._ob = new MutationObserver(mutations => {\n for (const m of mutations) {\n this._setAttr(m.attributeName);\n }\n });\n this._ob.observe(this, {\n attributes: true\n });\n const resolve = (def, isAsync = false) => {\n const {\n props,\n styles\n } = def;\n let numberProps;\n if (props && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(props)) {\n for (const key in props) {\n const opt = props[key];\n if (opt === Number || opt && opt.type === Number) {\n if (key in this._props) {\n this._props[key] = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.toNumber)(this._props[key]);\n }\n (numberProps || (numberProps = /* @__PURE__ */Object.create(null)))[(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.camelize)(key)] = true;\n }\n }\n }\n this._numberProps = numberProps;\n if (isAsync) {\n this._resolveProps(def);\n }\n this._applyStyles(styles);\n this._update();\n };\n const asyncDef = this._def.__asyncLoader;\n if (asyncDef) {\n asyncDef().then(def => resolve(def, true));\n } else {\n resolve(this._def);\n }\n }\n _resolveProps(def) {\n const {\n props\n } = def;\n const declaredPropKeys = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(props) ? props : Object.keys(props || {});\n for (const key of Object.keys(this)) {\n if (key[0] !== \"_\" && declaredPropKeys.includes(key)) {\n this._setProp(key, this[key], true, false);\n }\n }\n for (const key of declaredPropKeys.map(_vue_shared__WEBPACK_IMPORTED_MODULE_2__.camelize)) {\n Object.defineProperty(this, key, {\n get() {\n return this._getProp(key);\n },\n set(val) {\n this._setProp(key, val);\n }\n });\n }\n }\n _setAttr(key) {\n let value = this.getAttribute(key);\n const camelKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.camelize)(key);\n if (this._numberProps && this._numberProps[camelKey]) {\n value = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.toNumber)(value);\n }\n this._setProp(camelKey, value, false);\n }\n /**\n * @internal\n */\n _getProp(key) {\n return this._props[key];\n }\n /**\n * @internal\n */\n _setProp(key, val, shouldReflect = true, shouldUpdate = true) {\n if (val !== this._props[key]) {\n this._props[key] = val;\n if (shouldUpdate && this._instance) {\n this._update();\n }\n if (shouldReflect) {\n if (val === true) {\n this.setAttribute((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hyphenate)(key), \"\");\n } else if (typeof val === \"string\" || typeof val === \"number\") {\n this.setAttribute((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hyphenate)(key), val + \"\");\n } else if (!val) {\n this.removeAttribute((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hyphenate)(key));\n }\n }\n }\n }\n _update() {\n render(this._createVNode(), this.shadowRoot);\n }\n _createVNode() {\n const vnode = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.createVNode)(this._def, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)({}, this._props));\n if (!this._instance) {\n vnode.ce = instance => {\n this._instance = instance;\n instance.isCE = true;\n if (true) {\n instance.ceReload = newStyles => {\n if (this._styles) {\n this._styles.forEach(s => this.shadowRoot.removeChild(s));\n this._styles.length = 0;\n }\n this._applyStyles(newStyles);\n this._instance = null;\n this._update();\n };\n }\n const dispatch = (event, args) => {\n this.dispatchEvent(new CustomEvent(event, {\n detail: args\n }));\n };\n instance.emit = (event, ...args) => {\n dispatch(event, args);\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hyphenate)(event) !== event) {\n dispatch((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hyphenate)(event), args);\n }\n };\n let parent = this;\n while (parent = parent && (parent.parentNode || parent.host)) {\n if (parent instanceof VueElement) {\n instance.parent = parent._instance;\n instance.provides = parent._instance.provides;\n break;\n }\n }\n };\n }\n return vnode;\n }\n _applyStyles(styles) {\n if (styles) {\n styles.forEach(css => {\n const s = document.createElement(\"style\");\n s.textContent = css;\n this.shadowRoot.appendChild(s);\n if (true) {\n (this._styles || (this._styles = [])).push(s);\n }\n });\n }\n }\n}\nfunction useCssModule(name = \"$style\") {\n {\n const instance = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.getCurrentInstance)();\n if (!instance) {\n true && (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.warn)(`useCssModule must be called inside setup()`);\n return _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ;\n }\n const modules = instance.type.__cssModules;\n if (!modules) {\n true && (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.warn)(`Current instance does not have CSS modules injected.`);\n return _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ;\n }\n const mod = modules[name];\n if (!mod) {\n true && (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.warn)(`Current instance does not have CSS module named \"${name}\".`);\n return _vue_shared__WEBPACK_IMPORTED_MODULE_2__.EMPTY_OBJ;\n }\n return mod;\n }\n}\nfunction useCssVars(getter) {\n const instance = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.getCurrentInstance)();\n if (!instance) {\n true && (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.warn)(`useCssVars is called without current active component instance.`);\n return;\n }\n const updateTeleports = instance.ut = (vars = getter(instance.proxy)) => {\n Array.from(document.querySelectorAll(`[data-v-owner=\"${instance.uid}\"]`)).forEach(node => setVarsOnNode(node, vars));\n };\n const setVars = () => {\n const vars = getter(instance.proxy);\n setVarsOnVNode(instance.subTree, vars);\n updateTeleports(vars);\n };\n (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.watchPostEffect)(setVars);\n (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.onMounted)(() => {\n const ob = new MutationObserver(setVars);\n ob.observe(instance.subTree.el.parentNode, {\n childList: true\n });\n (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.onUnmounted)(() => ob.disconnect());\n });\n}\nfunction setVarsOnVNode(vnode, vars) {\n if (vnode.shapeFlag & 128) {\n const suspense = vnode.suspense;\n vnode = suspense.activeBranch;\n if (suspense.pendingBranch && !suspense.isHydrating) {\n suspense.effects.push(() => {\n setVarsOnVNode(suspense.activeBranch, vars);\n });\n }\n }\n while (vnode.component) {\n vnode = vnode.component.subTree;\n }\n if (vnode.shapeFlag & 1 && vnode.el) {\n setVarsOnNode(vnode.el, vars);\n } else if (vnode.type === _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.Fragment) {\n vnode.children.forEach(c => setVarsOnVNode(c, vars));\n } else if (vnode.type === _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.Static) {\n let {\n el,\n anchor\n } = vnode;\n while (el) {\n setVarsOnNode(el, vars);\n if (el === anchor) break;\n el = el.nextSibling;\n }\n }\n}\nfunction setVarsOnNode(el, vars) {\n if (el.nodeType === 1) {\n const style = el.style;\n for (const key in vars) {\n style.setProperty(`--${key}`, vars[key]);\n }\n }\n}\nconst positionMap = /* @__PURE__ */new WeakMap();\nconst newPositionMap = /* @__PURE__ */new WeakMap();\nconst moveCbKey = Symbol(\"_moveCb\");\nconst enterCbKey = Symbol(\"_enterCb\");\nconst TransitionGroupImpl = {\n name: \"TransitionGroup\",\n props: /* @__PURE__ */(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)({}, TransitionPropsValidators, {\n tag: String,\n moveClass: String\n }),\n setup(props, {\n slots\n }) {\n const instance = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.getCurrentInstance)();\n const state = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.useTransitionState)();\n let prevChildren;\n let children;\n (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.onUpdated)(() => {\n if (!prevChildren.length) {\n return;\n }\n const moveClass = props.moveClass || `${props.name || \"v\"}-move`;\n if (!hasCSSTransform(prevChildren[0].el, instance.vnode.el, moveClass)) {\n return;\n }\n prevChildren.forEach(callPendingCbs);\n prevChildren.forEach(recordPosition);\n const movedChildren = prevChildren.filter(applyTranslation);\n forceReflow();\n movedChildren.forEach(c => {\n const el = c.el;\n const style = el.style;\n addTransitionClass(el, moveClass);\n style.transform = style.webkitTransform = style.transitionDuration = \"\";\n const cb = el[moveCbKey] = e => {\n if (e && e.target !== el) {\n return;\n }\n if (!e || /transform$/.test(e.propertyName)) {\n el.removeEventListener(\"transitionend\", cb);\n el[moveCbKey] = null;\n removeTransitionClass(el, moveClass);\n }\n };\n el.addEventListener(\"transitionend\", cb);\n });\n });\n return () => {\n const rawProps = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_3__.toRaw)(props);\n const cssTransitionProps = resolveTransitionProps(rawProps);\n let tag = rawProps.tag || _vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.Fragment;\n prevChildren = children;\n children = slots.default ? (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.getTransitionRawChildren)(slots.default()) : [];\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n if (child.key != null) {\n (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.setTransitionHooks)(child, (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.resolveTransitionHooks)(child, cssTransitionProps, state, instance));\n } else if (true) {\n (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.warn)(`<TransitionGroup> children must be keyed.`);\n }\n }\n if (prevChildren) {\n for (let i = 0; i < prevChildren.length; i++) {\n const child = prevChildren[i];\n (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.setTransitionHooks)(child, (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.resolveTransitionHooks)(child, cssTransitionProps, state, instance));\n positionMap.set(child, child.el.getBoundingClientRect());\n }\n }\n return (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.createVNode)(tag, null, children);\n };\n }\n};\nconst removeMode = props => delete props.mode;\n/* @__PURE__ */\nremoveMode(TransitionGroupImpl.props);\nconst TransitionGroup = TransitionGroupImpl;\nfunction callPendingCbs(c) {\n const el = c.el;\n if (el[moveCbKey]) {\n el[moveCbKey]();\n }\n if (el[enterCbKey]) {\n el[enterCbKey]();\n }\n}\nfunction recordPosition(c) {\n newPositionMap.set(c, c.el.getBoundingClientRect());\n}\nfunction applyTranslation(c) {\n const oldPos = positionMap.get(c);\n const newPos = newPositionMap.get(c);\n const dx = oldPos.left - newPos.left;\n const dy = oldPos.top - newPos.top;\n if (dx || dy) {\n const s = c.el.style;\n s.transform = s.webkitTransform = `translate(${dx}px,${dy}px)`;\n s.transitionDuration = \"0s\";\n return c;\n }\n}\nfunction hasCSSTransform(el, root, moveClass) {\n const clone = el.cloneNode();\n const _vtc = el[vtcKey];\n if (_vtc) {\n _vtc.forEach(cls => {\n cls.split(/\\s+/).forEach(c => c && clone.classList.remove(c));\n });\n }\n moveClass.split(/\\s+/).forEach(c => c && clone.classList.add(c));\n clone.style.display = \"none\";\n const container = root.nodeType === 1 ? root : root.parentNode;\n container.appendChild(clone);\n const {\n hasTransform\n } = getTransitionInfo(clone);\n container.removeChild(clone);\n return hasTransform;\n}\nconst getModelAssigner = vnode => {\n const fn = vnode.props[\"onUpdate:modelValue\"] || false;\n return (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(fn) ? value => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.invokeArrayFns)(fn, value) : fn;\n};\nfunction onCompositionStart(e) {\n e.target.composing = true;\n}\nfunction onCompositionEnd(e) {\n const target = e.target;\n if (target.composing) {\n target.composing = false;\n target.dispatchEvent(new Event(\"input\"));\n }\n}\nconst assignKey = Symbol(\"_assign\");\nconst vModelText = {\n created(el, {\n modifiers: {\n lazy,\n trim,\n number\n }\n }, vnode) {\n el[assignKey] = getModelAssigner(vnode);\n const castToNumber = number || vnode.props && vnode.props.type === \"number\";\n addEventListener(el, lazy ? \"change\" : \"input\", e => {\n if (e.target.composing) return;\n let domValue = el.value;\n if (trim) {\n domValue = domValue.trim();\n }\n if (castToNumber) {\n domValue = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.looseToNumber)(domValue);\n }\n el[assignKey](domValue);\n });\n if (trim) {\n addEventListener(el, \"change\", () => {\n el.value = el.value.trim();\n });\n }\n if (!lazy) {\n addEventListener(el, \"compositionstart\", onCompositionStart);\n addEventListener(el, \"compositionend\", onCompositionEnd);\n addEventListener(el, \"change\", onCompositionEnd);\n }\n },\n // set value on mounted so it's after min/max for type=\"range\"\n mounted(el, {\n value\n }) {\n el.value = value == null ? \"\" : value;\n },\n beforeUpdate(el, {\n value,\n modifiers: {\n lazy,\n trim,\n number\n }\n }, vnode) {\n el[assignKey] = getModelAssigner(vnode);\n if (el.composing) return;\n const elValue = number || el.type === \"number\" ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.looseToNumber)(el.value) : el.value;\n const newValue = value == null ? \"\" : value;\n if (elValue === newValue) {\n return;\n }\n if (document.activeElement === el && el.type !== \"range\") {\n if (lazy) {\n return;\n }\n if (trim && el.value.trim() === newValue) {\n return;\n }\n }\n el.value = newValue;\n }\n};\nconst vModelCheckbox = {\n // #4096 array checkboxes need to be deep traversed\n deep: true,\n created(el, _, vnode) {\n el[assignKey] = getModelAssigner(vnode);\n addEventListener(el, \"change\", () => {\n const modelValue = el._modelValue;\n const elementValue = getValue(el);\n const checked = el.checked;\n const assign = el[assignKey];\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(modelValue)) {\n const index = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.looseIndexOf)(modelValue, elementValue);\n const found = index !== -1;\n if (checked && !found) {\n assign(modelValue.concat(elementValue));\n } else if (!checked && found) {\n const filtered = [...modelValue];\n filtered.splice(index, 1);\n assign(filtered);\n }\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isSet)(modelValue)) {\n const cloned = new Set(modelValue);\n if (checked) {\n cloned.add(elementValue);\n } else {\n cloned.delete(elementValue);\n }\n assign(cloned);\n } else {\n assign(getCheckboxValue(el, checked));\n }\n });\n },\n // set initial checked on mount to wait for true-value/false-value\n mounted: setChecked,\n beforeUpdate(el, binding, vnode) {\n el[assignKey] = getModelAssigner(vnode);\n setChecked(el, binding, vnode);\n }\n};\nfunction setChecked(el, {\n value,\n oldValue\n}, vnode) {\n el._modelValue = value;\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(value)) {\n el.checked = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.looseIndexOf)(value, vnode.props.value) > -1;\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isSet)(value)) {\n el.checked = value.has(vnode.props.value);\n } else if (value !== oldValue) {\n el.checked = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.looseEqual)(value, getCheckboxValue(el, true));\n }\n}\nconst vModelRadio = {\n created(el, {\n value\n }, vnode) {\n el.checked = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.looseEqual)(value, vnode.props.value);\n el[assignKey] = getModelAssigner(vnode);\n addEventListener(el, \"change\", () => {\n el[assignKey](getValue(el));\n });\n },\n beforeUpdate(el, {\n value,\n oldValue\n }, vnode) {\n el[assignKey] = getModelAssigner(vnode);\n if (value !== oldValue) {\n el.checked = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.looseEqual)(value, vnode.props.value);\n }\n }\n};\nconst vModelSelect = {\n // <select multiple> value need to be deep traversed\n deep: true,\n created(el, {\n value,\n modifiers: {\n number\n }\n }, vnode) {\n const isSetModel = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isSet)(value);\n addEventListener(el, \"change\", () => {\n const selectedVal = Array.prototype.filter.call(el.options, o => o.selected).map(o => number ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.looseToNumber)(getValue(o)) : getValue(o));\n el[assignKey](el.multiple ? isSetModel ? new Set(selectedVal) : selectedVal : selectedVal[0]);\n });\n el[assignKey] = getModelAssigner(vnode);\n },\n // set value in mounted & updated because <select> relies on its children\n // <option>s.\n mounted(el, {\n value\n }) {\n setSelected(el, value);\n },\n beforeUpdate(el, _binding, vnode) {\n el[assignKey] = getModelAssigner(vnode);\n },\n updated(el, {\n value\n }) {\n setSelected(el, value);\n }\n};\nfunction setSelected(el, value) {\n const isMultiple = el.multiple;\n if (isMultiple && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(value) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isSet)(value)) {\n true && (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.warn)(`<select multiple v-model> expects an Array or Set value for its binding, but got ${Object.prototype.toString.call(value).slice(8, -1)}.`);\n return;\n }\n for (let i = 0, l = el.options.length; i < l; i++) {\n const option = el.options[i];\n const optionValue = getValue(option);\n if (isMultiple) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(value)) {\n option.selected = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.looseIndexOf)(value, optionValue) > -1;\n } else {\n option.selected = value.has(optionValue);\n }\n } else {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.looseEqual)(getValue(option), value)) {\n if (el.selectedIndex !== i) el.selectedIndex = i;\n return;\n }\n }\n }\n if (!isMultiple && el.selectedIndex !== -1) {\n el.selectedIndex = -1;\n }\n}\nfunction getValue(el) {\n return \"_value\" in el ? el._value : el.value;\n}\nfunction getCheckboxValue(el, checked) {\n const key = checked ? \"_trueValue\" : \"_falseValue\";\n return key in el ? el[key] : checked;\n}\nconst vModelDynamic = {\n created(el, binding, vnode) {\n callModelHook(el, binding, vnode, null, \"created\");\n },\n mounted(el, binding, vnode) {\n callModelHook(el, binding, vnode, null, \"mounted\");\n },\n beforeUpdate(el, binding, vnode, prevVNode) {\n callModelHook(el, binding, vnode, prevVNode, \"beforeUpdate\");\n },\n updated(el, binding, vnode, prevVNode) {\n callModelHook(el, binding, vnode, prevVNode, \"updated\");\n }\n};\nfunction resolveDynamicModel(tagName, type) {\n switch (tagName) {\n case \"SELECT\":\n return vModelSelect;\n case \"TEXTAREA\":\n return vModelText;\n default:\n switch (type) {\n case \"checkbox\":\n return vModelCheckbox;\n case \"radio\":\n return vModelRadio;\n default:\n return vModelText;\n }\n }\n}\nfunction callModelHook(el, binding, vnode, prevVNode, hook) {\n const modelToUse = resolveDynamicModel(el.tagName, vnode.props && vnode.props.type);\n const fn = modelToUse[hook];\n fn && fn(el, binding, vnode, prevVNode);\n}\nfunction initVModelForSSR() {\n vModelText.getSSRProps = ({\n value\n }) => ({\n value\n });\n vModelRadio.getSSRProps = ({\n value\n }, vnode) => {\n if (vnode.props && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.looseEqual)(vnode.props.value, value)) {\n return {\n checked: true\n };\n }\n };\n vModelCheckbox.getSSRProps = ({\n value\n }, vnode) => {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isArray)(value)) {\n if (vnode.props && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.looseIndexOf)(value, vnode.props.value) > -1) {\n return {\n checked: true\n };\n }\n } else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isSet)(value)) {\n if (vnode.props && value.has(vnode.props.value)) {\n return {\n checked: true\n };\n }\n } else if (value) {\n return {\n checked: true\n };\n }\n };\n vModelDynamic.getSSRProps = (binding, vnode) => {\n if (typeof vnode.type !== \"string\") {\n return;\n }\n const modelToUse = resolveDynamicModel(\n // resolveDynamicModel expects an uppercase tag name, but vnode.type is lowercase\n vnode.type.toUpperCase(), vnode.props && vnode.props.type);\n if (modelToUse.getSSRProps) {\n return modelToUse.getSSRProps(binding, vnode);\n }\n };\n}\nconst systemModifiers = [\"ctrl\", \"shift\", \"alt\", \"meta\"];\nconst modifierGuards = {\n stop: e => e.stopPropagation(),\n prevent: e => e.preventDefault(),\n self: e => e.target !== e.currentTarget,\n ctrl: e => !e.ctrlKey,\n shift: e => !e.shiftKey,\n alt: e => !e.altKey,\n meta: e => !e.metaKey,\n left: e => \"button\" in e && e.button !== 0,\n middle: e => \"button\" in e && e.button !== 1,\n right: e => \"button\" in e && e.button !== 2,\n exact: (e, modifiers) => systemModifiers.some(m => e[`${m}Key`] && !modifiers.includes(m))\n};\nconst withModifiers = (fn, modifiers) => {\n return fn._withMods || (fn._withMods = (event, ...args) => {\n for (let i = 0; i < modifiers.length; i++) {\n const guard = modifierGuards[modifiers[i]];\n if (guard && guard(event, modifiers)) return;\n }\n return fn(event, ...args);\n });\n};\nconst keyNames = {\n esc: \"escape\",\n space: \" \",\n up: \"arrow-up\",\n left: \"arrow-left\",\n right: \"arrow-right\",\n down: \"arrow-down\",\n delete: \"backspace\"\n};\nconst withKeys = (fn, modifiers) => {\n return fn._withKeys || (fn._withKeys = event => {\n if (!(\"key\" in event)) {\n return;\n }\n const eventKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.hyphenate)(event.key);\n if (modifiers.some(k => k === eventKey || keyNames[k] === eventKey)) {\n return fn(event);\n }\n });\n};\nconst rendererOptions = /* @__PURE__ */(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.extend)({\n patchProp\n}, nodeOps);\nlet renderer;\nlet enabledHydration = false;\nfunction ensureRenderer() {\n return renderer || (renderer = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.createRenderer)(rendererOptions));\n}\nfunction ensureHydrationRenderer() {\n renderer = enabledHydration ? renderer : (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.createHydrationRenderer)(rendererOptions);\n enabledHydration = true;\n return renderer;\n}\nconst render = (...args) => {\n ensureRenderer().render(...args);\n};\nconst hydrate = (...args) => {\n ensureHydrationRenderer().hydrate(...args);\n};\nconst createApp = (...args) => {\n const app = ensureRenderer().createApp(...args);\n if (true) {\n injectNativeTagCheck(app);\n injectCompilerOptionsCheck(app);\n }\n const {\n mount\n } = app;\n app.mount = containerOrSelector => {\n const container = normalizeContainer(containerOrSelector);\n if (!container) return;\n const component = app._component;\n if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isFunction)(component) && !component.render && !component.template) {\n component.template = container.innerHTML;\n }\n container.innerHTML = \"\";\n const proxy = mount(container, false, container instanceof SVGElement);\n if (container instanceof Element) {\n container.removeAttribute(\"v-cloak\");\n container.setAttribute(\"data-v-app\", \"\");\n }\n return proxy;\n };\n return app;\n};\nconst createSSRApp = (...args) => {\n const app = ensureHydrationRenderer().createApp(...args);\n if (true) {\n injectNativeTagCheck(app);\n injectCompilerOptionsCheck(app);\n }\n const {\n mount\n } = app;\n app.mount = containerOrSelector => {\n const container = normalizeContainer(containerOrSelector);\n if (container) {\n return mount(container, true, container instanceof SVGElement);\n }\n };\n return app;\n};\nfunction injectNativeTagCheck(app) {\n Object.defineProperty(app.config, \"isNativeTag\", {\n value: tag => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isHTMLTag)(tag) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isSVGTag)(tag),\n writable: false\n });\n}\nfunction injectCompilerOptionsCheck(app) {\n if ((0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.isRuntimeOnly)()) {\n const isCustomElement = app.config.isCustomElement;\n Object.defineProperty(app.config, \"isCustomElement\", {\n get() {\n return isCustomElement;\n },\n set() {\n (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.warn)(`The \\`isCustomElement\\` config option is deprecated. Use \\`compilerOptions.isCustomElement\\` instead.`);\n }\n });\n const compilerOptions = app.config.compilerOptions;\n const msg = `The \\`compilerOptions\\` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka \"full build\"). Since you are using the runtime-only build, \\`compilerOptions\\` must be passed to \\`@vue/compiler-dom\\` in the build setup instead.\n- For vue-loader: pass it via vue-loader's \\`compilerOptions\\` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc`;\n Object.defineProperty(app.config, \"compilerOptions\", {\n get() {\n (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.warn)(msg);\n return compilerOptions;\n },\n set() {\n (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.warn)(msg);\n }\n });\n }\n}\nfunction normalizeContainer(container) {\n if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_2__.isString)(container)) {\n const res = document.querySelector(container);\n if ( true && !res) {\n (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.warn)(`Failed to mount app: mount target selector \"${container}\" returned null.`);\n }\n return res;\n }\n if ( true && window.ShadowRoot && container instanceof window.ShadowRoot && container.mode === \"closed\") {\n (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_1__.warn)(`mounting on a ShadowRoot with \\`{mode: \"closed\"}\\` may lead to unpredictable bugs`);\n }\n return container;\n}\nlet ssrDirectiveInitialized = false;\nconst initDirectivesForSSR = () => {\n if (!ssrDirectiveInitialized) {\n ssrDirectiveInitialized = true;\n initVModelForSSR();\n initVShowForSSR();\n }\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js?"); 261 262/***/ }), 263
vendor: 24,716 bytes, lines 264-274
264/***/ "./node_modules/@vue/shared/dist/shared.esm-bundler.js": 265/*!*************************************************************!*\ 266 !*** ./node_modules/@vue/shared/dist/shared.esm-bundler.js ***! 267 \*************************************************************/ 268/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 269 270"use strict"; 271eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ EMPTY_ARR: function() { return /* binding */ EMPTY_ARR; },\n/* harmony export */ EMPTY_OBJ: function() { return /* binding */ EMPTY_OBJ; },\n/* harmony export */ NO: function() { return /* binding */ NO; },\n/* harmony export */ NOOP: function() { return /* binding */ NOOP; },\n/* harmony export */ PatchFlagNames: function() { return /* binding */ PatchFlagNames; },\n/* harmony export */ camelize: function() { return /* binding */ camelize; },\n/* harmony export */ capitalize: function() { return /* binding */ capitalize; },\n/* harmony export */ def: function() { return /* binding */ def; },\n/* harmony export */ escapeHtml: function() { return /* binding */ escapeHtml; },\n/* harmony export */ escapeHtmlComment: function() { return /* binding */ escapeHtmlComment; },\n/* harmony export */ extend: function() { return /* binding */ extend; },\n/* harmony export */ genPropsAccessExp: function() { return /* binding */ genPropsAccessExp; },\n/* harmony export */ generateCodeFrame: function() { return /* binding */ generateCodeFrame; },\n/* harmony export */ getGlobalThis: function() { return /* binding */ getGlobalThis; },\n/* harmony export */ hasChanged: function() { return /* binding */ hasChanged; },\n/* harmony export */ hasOwn: function() { return /* binding */ hasOwn; },\n/* harmony export */ hyphenate: function() { return /* binding */ hyphenate; },\n/* harmony export */ includeBooleanAttr: function() { return /* binding */ includeBooleanAttr; },\n/* harmony export */ invokeArrayFns: function() { return /* binding */ invokeArrayFns; },\n/* harmony export */ isArray: function() { return /* binding */ isArray; },\n/* harmony export */ isBooleanAttr: function() { return /* binding */ isBooleanAttr; },\n/* harmony export */ isBuiltInDirective: function() { return /* binding */ isBuiltInDirective; },\n/* harmony export */ isDate: function() { return /* binding */ isDate; },\n/* harmony export */ isFunction: function() { return /* binding */ isFunction; },\n/* harmony export */ isGloballyAllowed: function() { return /* binding */ isGloballyAllowed; },\n/* harmony export */ isGloballyWhitelisted: function() { return /* binding */ isGloballyWhitelisted; },\n/* harmony export */ isHTMLTag: function() { return /* binding */ isHTMLTag; },\n/* harmony export */ isIntegerKey: function() { return /* binding */ isIntegerKey; },\n/* harmony export */ isKnownHtmlAttr: function() { return /* binding */ isKnownHtmlAttr; },\n/* harmony export */ isKnownSvgAttr: function() { return /* binding */ isKnownSvgAttr; },\n/* harmony export */ isMap: function() { return /* binding */ isMap; },\n/* harmony export */ isModelListener: function() { return /* binding */ isModelListener; },\n/* harmony export */ isObject: function() { return /* binding */ isObject; },\n/* harmony export */ isOn: function() { return /* binding */ isOn; },\n/* harmony export */ isPlainObject: function() { return /* binding */ isPlainObject; },\n/* harmony export */ isPromise: function() { return /* binding */ isPromise; },\n/* harmony export */ isRegExp: function() { return /* binding */ isRegExp; },\n/* harmony export */ isReservedProp: function() { return /* binding */ isReservedProp; },\n/* harmony export */ isSSRSafeAttrName: function() { return /* binding */ isSSRSafeAttrName; },\n/* harmony export */ isSVGTag: function() { return /* binding */ isSVGTag; },\n/* harmony export */ isSet: function() { return /* binding */ isSet; },\n/* harmony export */ isSpecialBooleanAttr: function() { return /* binding */ isSpecialBooleanAttr; },\n/* harmony export */ isString: function() { return /* binding */ isString; },\n/* harmony export */ isSymbol: function() { return /* binding */ isSymbol; },\n/* harmony export */ isVoidTag: function() { return /* binding */ isVoidTag; },\n/* harmony export */ looseEqual: function() { return /* binding */ looseEqual; },\n/* harmony export */ looseIndexOf: function() { return /* binding */ looseIndexOf; },\n/* harmony export */ looseToNumber: function() { return /* binding */ looseToNumber; },\n/* harmony export */ makeMap: function() { return /* binding */ makeMap; },\n/* harmony export */ normalizeClass: function() { return /* binding */ normalizeClass; },\n/* harmony export */ normalizeProps: function() { return /* binding */ normalizeProps; },\n/* harmony export */ normalizeStyle: function() { return /* binding */ normalizeStyle; },\n/* harmony export */ objectToString: function() { return /* binding */ objectToString; },\n/* harmony export */ parseStringStyle: function() { return /* binding */ parseStringStyle; },\n/* harmony export */ propsToAttrMap: function() { return /* binding */ propsToAttrMap; },\n/* harmony export */ remove: function() { return /* binding */ remove; },\n/* harmony export */ slotFlagsText: function() { return /* binding */ slotFlagsText; },\n/* harmony export */ stringifyStyle: function() { return /* binding */ stringifyStyle; },\n/* harmony export */ toDisplayString: function() { return /* binding */ toDisplayString; },\n/* harmony export */ toHandlerKey: function() { return /* binding */ toHandlerKey; },\n/* harmony export */ toNumber: function() { return /* binding */ toNumber; },\n/* harmony export */ toRawType: function() { return /* binding */ toRawType; },\n/* harmony export */ toTypeString: function() { return /* binding */ toTypeString; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n\nfunction makeMap(str, expectsLowerCase) {\n const map = /* @__PURE__ */Object.create(null);\n const list = str.split(\",\");\n for (let i = 0; i < list.length; i++) {\n map[list[i]] = true;\n }\n return expectsLowerCase ? val => !!map[val.toLowerCase()] : val => !!map[val];\n}\nconst EMPTY_OBJ = true ? Object.freeze({}) : 0;\nconst EMPTY_ARR = true ? Object.freeze([]) : 0;\nconst NOOP = () => {};\nconst NO = () => false;\nconst isOn = key => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && (\n// uppercase letter\nkey.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);\nconst isModelListener = key => key.startsWith(\"onUpdate:\");\nconst extend = Object.assign;\nconst remove = (arr, el) => {\n const i = arr.indexOf(el);\n if (i > -1) {\n arr.splice(i, 1);\n }\n};\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst hasOwn = (val, key) => hasOwnProperty.call(val, key);\nconst isArray = Array.isArray;\nconst isMap = val => toTypeString(val) === \"[object Map]\";\nconst isSet = val => toTypeString(val) === \"[object Set]\";\nconst isDate = val => toTypeString(val) === \"[object Date]\";\nconst isRegExp = val => toTypeString(val) === \"[object RegExp]\";\nconst isFunction = val => typeof val === \"function\";\nconst isString = val => typeof val === \"string\";\nconst isSymbol = val => typeof val === \"symbol\";\nconst isObject = val => val !== null && typeof val === \"object\";\nconst isPromise = val => {\n return (isObject(val) || isFunction(val)) && isFunction(val.then) && isFunction(val.catch);\n};\nconst objectToString = Object.prototype.toString;\nconst toTypeString = value => objectToString.call(value);\nconst toRawType = value => {\n return toTypeString(value).slice(8, -1);\n};\nconst isPlainObject = val => toTypeString(val) === \"[object Object]\";\nconst isIntegerKey = key => isString(key) && key !== \"NaN\" && key[0] !== \"-\" && \"\" + parseInt(key, 10) === key;\nconst isReservedProp = /* @__PURE__ */makeMap(\n// the leading comma is intentional so empty string \"\" is also included\n\",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted\");\nconst isBuiltInDirective = /* @__PURE__ */makeMap(\"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo\");\nconst cacheStringFunction = fn => {\n const cache = /* @__PURE__ */Object.create(null);\n return str => {\n const hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n};\nconst camelizeRE = /-(\\w)/g;\nconst camelize = cacheStringFunction(str => {\n return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : \"\");\n});\nconst hyphenateRE = /\\B([A-Z])/g;\nconst hyphenate = cacheStringFunction(str => str.replace(hyphenateRE, \"-$1\").toLowerCase());\nconst capitalize = cacheStringFunction(str => {\n return str.charAt(0).toUpperCase() + str.slice(1);\n});\nconst toHandlerKey = cacheStringFunction(str => {\n const s = str ? `on${capitalize(str)}` : ``;\n return s;\n});\nconst hasChanged = (value, oldValue) => !Object.is(value, oldValue);\nconst invokeArrayFns = (fns, arg) => {\n for (let i = 0; i < fns.length; i++) {\n fns[i](arg);\n }\n};\nconst def = (obj, key, value) => {\n Object.defineProperty(obj, key, {\n configurable: true,\n enumerable: false,\n value\n });\n};\nconst looseToNumber = val => {\n const n = parseFloat(val);\n return isNaN(n) ? val : n;\n};\nconst toNumber = val => {\n const n = isString(val) ? Number(val) : NaN;\n return isNaN(n) ? val : n;\n};\nlet _globalThis;\nconst getGlobalThis = () => {\n return _globalThis || (_globalThis = typeof globalThis !== \"undefined\" ? globalThis : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : typeof __webpack_require__.g !== \"undefined\" ? __webpack_require__.g : {});\n};\nconst identRE = /^[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*$/;\nfunction genPropsAccessExp(name) {\n return identRE.test(name) ? `__props.${name}` : `__props[${JSON.stringify(name)}]`;\n}\nconst PatchFlagNames = {\n [1]: `TEXT`,\n [2]: `CLASS`,\n [4]: `STYLE`,\n [8]: `PROPS`,\n [16]: `FULL_PROPS`,\n [32]: `NEED_HYDRATION`,\n [64]: `STABLE_FRAGMENT`,\n [128]: `KEYED_FRAGMENT`,\n [256]: `UNKEYED_FRAGMENT`,\n [512]: `NEED_PATCH`,\n [1024]: `DYNAMIC_SLOTS`,\n [2048]: `DEV_ROOT_FRAGMENT`,\n [-1]: `HOISTED`,\n [-2]: `BAIL`\n};\nconst slotFlagsText = {\n [1]: \"STABLE\",\n [2]: \"DYNAMIC\",\n [3]: \"FORWARDED\"\n};\nconst GLOBALS_ALLOWED = \"Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console\";\nconst isGloballyAllowed = /* @__PURE__ */makeMap(GLOBALS_ALLOWED);\nconst isGloballyWhitelisted = isGloballyAllowed;\nconst range = 2;\nfunction generateCodeFrame(source, start = 0, end = source.length) {\n let lines = source.split(/(\\r?\\n)/);\n const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);\n lines = lines.filter((_, idx) => idx % 2 === 0);\n let count = 0;\n const res = [];\n for (let i = 0; i < lines.length; i++) {\n count += lines[i].length + (newlineSequences[i] && newlineSequences[i].length || 0);\n if (count >= start) {\n for (let j = i - range; j <= i + range || end > count; j++) {\n if (j < 0 || j >= lines.length) continue;\n const line = j + 1;\n res.push(`${line}${\" \".repeat(Math.max(3 - String(line).length, 0))}| ${lines[j]}`);\n const lineLength = lines[j].length;\n const newLineSeqLength = newlineSequences[j] && newlineSequences[j].length || 0;\n if (j === i) {\n const pad = start - (count - (lineLength + newLineSeqLength));\n const length = Math.max(1, end > count ? lineLength - pad : end - start);\n res.push(` | ` + \" \".repeat(pad) + \"^\".repeat(length));\n } else if (j > i) {\n if (end > count) {\n const length = Math.max(Math.min(end - count, lineLength), 1);\n res.push(` | ` + \"^\".repeat(length));\n }\n count += lineLength + newLineSeqLength;\n }\n }\n break;\n }\n }\n return res.join(\"\\n\");\n}\nfunction normalizeStyle(value) {\n if (isArray(value)) {\n const res = {};\n for (let i = 0; i < value.length; i++) {\n const item = value[i];\n const normalized = isString(item) ? parseStringStyle(item) : normalizeStyle(item);\n if (normalized) {\n for (const key in normalized) {\n res[key] = normalized[key];\n }\n }\n }\n return res;\n } else if (isString(value) || isObject(value)) {\n return value;\n }\n}\nconst listDelimiterRE = /;(?![^(]*\\))/g;\nconst propertyDelimiterRE = /:([^]+)/;\nconst styleCommentRE = /\\/\\*[^]*?\\*\\//g;\nfunction parseStringStyle(cssText) {\n const ret = {};\n cssText.replace(styleCommentRE, \"\").split(listDelimiterRE).forEach(item => {\n if (item) {\n const tmp = item.split(propertyDelimiterRE);\n tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());\n }\n });\n return ret;\n}\nfunction stringifyStyle(styles) {\n let ret = \"\";\n if (!styles || isString(styles)) {\n return ret;\n }\n for (const key in styles) {\n const value = styles[key];\n const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);\n if (isString(value) || typeof value === \"number\") {\n ret += `${normalizedKey}:${value};`;\n }\n }\n return ret;\n}\nfunction normalizeClass(value) {\n let res = \"\";\n if (isString(value)) {\n res = value;\n } else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n const normalized = normalizeClass(value[i]);\n if (normalized) {\n res += normalized + \" \";\n }\n }\n } else if (isObject(value)) {\n for (const name in value) {\n if (value[name]) {\n res += name + \" \";\n }\n }\n }\n return res.trim();\n}\nfunction normalizeProps(props) {\n if (!props) return null;\n let {\n class: klass,\n style\n } = props;\n if (klass && !isString(klass)) {\n props.class = normalizeClass(klass);\n }\n if (style) {\n props.style = normalizeStyle(style);\n }\n return props;\n}\nconst HTML_TAGS = \"html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot\";\nconst SVG_TAGS = \"svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view\";\nconst VOID_TAGS = \"area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr\";\nconst isHTMLTag = /* @__PURE__ */makeMap(HTML_TAGS);\nconst isSVGTag = /* @__PURE__ */makeMap(SVG_TAGS);\nconst isVoidTag = /* @__PURE__ */makeMap(VOID_TAGS);\nconst specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;\nconst isSpecialBooleanAttr = /* @__PURE__ */makeMap(specialBooleanAttrs);\nconst isBooleanAttr = /* @__PURE__ */makeMap(specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`);\nfunction includeBooleanAttr(value) {\n return !!value || value === \"\";\n}\nconst unsafeAttrCharRE = /[>/=\"'\\u0009\\u000a\\u000c\\u0020]/;\nconst attrValidationCache = {};\nfunction isSSRSafeAttrName(name) {\n if (attrValidationCache.hasOwnProperty(name)) {\n return attrValidationCache[name];\n }\n const isUnsafe = unsafeAttrCharRE.test(name);\n if (isUnsafe) {\n console.error(`unsafe attribute name: ${name}`);\n }\n return attrValidationCache[name] = !isUnsafe;\n}\nconst propsToAttrMap = {\n acceptCharset: \"accept-charset\",\n className: \"class\",\n htmlFor: \"for\",\n httpEquiv: \"http-equiv\"\n};\nconst isKnownHtmlAttr = /* @__PURE__ */makeMap(`accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`);\nconst isKnownSvgAttr = /* @__PURE__ */makeMap(`xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`);\nconst escapeRE = /[\"'&<>]/;\nfunction escapeHtml(string) {\n const str = \"\" + string;\n const match = escapeRE.exec(str);\n if (!match) {\n return str;\n }\n let html = \"\";\n let escaped;\n let index;\n let lastIndex = 0;\n for (index = match.index; index < str.length; index++) {\n switch (str.charCodeAt(index)) {\n case 34:\n escaped = \""\";\n break;\n case 38:\n escaped = \"&\";\n break;\n case 39:\n escaped = \"'\";\n break;\n case 60:\n escaped = \"<\";\n break;\n case 62:\n escaped = \">\";\n break;\n default:\n continue;\n }\n if (lastIndex !== index) {\n html += str.slice(lastIndex, index);\n }\n lastIndex = index + 1;\n html += escaped;\n }\n return lastIndex !== index ? html + str.slice(lastIndex, index) : html;\n}\nconst commentStripRE = /^-?>|<!--|-->|--!>|<!-$/g;\nfunction escapeHtmlComment(src) {\n return src.replace(commentStripRE, \"\");\n}\nfunction looseCompareArrays(a, b) {\n if (a.length !== b.length) return false;\n let equal = true;\n for (let i = 0; equal && i < a.length; i++) {\n equal = looseEqual(a[i], b[i]);\n }\n return equal;\n}\nfunction looseEqual(a, b) {\n if (a === b) return true;\n let aValidType = isDate(a);\n let bValidType = isDate(b);\n if (aValidType || bValidType) {\n return aValidType && bValidType ? a.getTime() === b.getTime() : false;\n }\n aValidType = isSymbol(a);\n bValidType = isSymbol(b);\n if (aValidType || bValidType) {\n return a === b;\n }\n aValidType = isArray(a);\n bValidType = isArray(b);\n if (aValidType || bValidType) {\n return aValidType && bValidType ? looseCompareArrays(a, b) : false;\n }\n aValidType = isObject(a);\n bValidType = isObject(b);\n if (aValidType || bValidType) {\n if (!aValidType || !bValidType) {\n return false;\n }\n const aKeysCount = Object.keys(a).length;\n const bKeysCount = Object.keys(b).length;\n if (aKeysCount !== bKeysCount) {\n return false;\n }\n for (const key in a) {\n const aHasKey = a.hasOwnProperty(key);\n const bHasKey = b.hasOwnProperty(key);\n if (aHasKey && !bHasKey || !aHasKey && bHasKey || !looseEqual(a[key], b[key])) {\n return false;\n }\n }\n }\n return String(a) === String(b);\n}\nfunction looseIndexOf(arr, val) {\n return arr.findIndex(item => looseEqual(item, val));\n}\nconst toDisplayString = val => {\n return isString(val) ? val : val == null ? \"\" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? JSON.stringify(val, replacer, 2) : String(val);\n};\nconst replacer = (_key, val) => {\n if (val && val.__v_isRef) {\n return replacer(_key, val.value);\n } else if (isMap(val)) {\n return {\n [`Map(${val.size})`]: [...val.entries()].reduce((entries, [key, val2], i) => {\n entries[stringifySymbol(key, i) + \" =>\"] = val2;\n return entries;\n }, {})\n };\n } else if (isSet(val)) {\n return {\n [`Set(${val.size})`]: [...val.values()].map(v => stringifySymbol(v))\n };\n } else if (isSymbol(val)) {\n return stringifySymbol(val);\n } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {\n return String(val);\n }\n return val;\n};\nconst stringifySymbol = (v, i = \"\") => {\n var _a;\n return isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v;\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@vue/shared/dist/shared.esm-bundler.js?"); 272 273/***/ }), 274
vendor: 2,894 bytes, lines 275-284
275/***/ "./node_modules/corslite/corslite.js": 276/*!*******************************************!*\ 277 !*** ./node_modules/corslite/corslite.js ***! 278 \*******************************************/ 279/***/ (function(module) { 280 281eval("function corslite(url, callback, cors) {\n var sent = false;\n if (typeof window.XMLHttpRequest === 'undefined') {\n return callback(Error('Browser not supported'));\n }\n if (typeof cors === 'undefined') {\n var m = url.match(/^\\s*https?:\\/\\/[^\\/]*/);\n cors = m && m[0] !== location.protocol + '//' + location.hostname + (location.port ? ':' + location.port : '');\n }\n var x = new window.XMLHttpRequest();\n function isSuccessful(status) {\n return status >= 200 && status < 300 || status === 304;\n }\n if (cors && !('withCredentials' in x)) {\n // IE8-9\n x = new window.XDomainRequest();\n\n // Ensure callback is never called synchronously, i.e., before\n // x.send() returns (this has been observed in the wild).\n // See https://github.com/mapbox/mapbox.js/issues/472\n var original = callback;\n callback = function () {\n if (sent) {\n original.apply(this, arguments);\n } else {\n var that = this,\n args = arguments;\n setTimeout(function () {\n original.apply(that, args);\n }, 0);\n }\n };\n }\n function loaded() {\n if (\n // XDomainRequest\n x.status === undefined ||\n // modern browsers\n isSuccessful(x.status)) callback.call(x, null, x);else callback.call(x, x, null);\n }\n\n // Both `onreadystatechange` and `onload` can fire. `onreadystatechange`\n // has [been supported for longer](http://stackoverflow.com/a/9181508/229001).\n if ('onload' in x) {\n x.onload = loaded;\n } else {\n x.onreadystatechange = function readystate() {\n if (x.readyState === 4) {\n loaded();\n }\n };\n }\n\n // Call the callback with the XMLHttpRequest object as an error and prevent\n // it from ever being called again by reassigning it to `noop`\n x.onerror = function error(evt) {\n // XDomainRequest provides no evt parameter\n callback.call(this, evt || true, null);\n callback = function () {};\n };\n\n // IE9 must have onprogress be set to a unique function.\n x.onprogress = function () {};\n x.ontimeout = function (evt) {\n callback.call(this, evt, null);\n callback = function () {};\n };\n x.onabort = function (evt) {\n callback.call(this, evt, null);\n callback = function () {};\n };\n\n // GET is the only supported HTTP Verb by XDomainRequest and is the\n // only one supported here.\n x.open('GET', url, true);\n\n // Send the request. Sending data is not supported.\n x.send(null);\n sent = true;\n return x;\n}\nif (true) module.exports = corslite;\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/corslite/corslite.js?"); 282 283/***/ }), 284
vendor: 6,576 bytes, lines 285-295
285/***/ "./node_modules/csv2geojson/index.js": 286/*!*******************************************!*\ 287 !*** ./node_modules/csv2geojson/index.js ***! 288 \*******************************************/ 289/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 290 291"use strict"; 292eval("\n\n__webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\nvar dsv = __webpack_require__(/*! d3-dsv */ \"./node_modules/d3-dsv/index.js\"),\n sexagesimal = __webpack_require__(/*! sexagesimal */ \"./node_modules/sexagesimal/index.js\");\nvar latRegex = /(Lat)(itude)?/gi,\n lonRegex = /(L)(on|ng)(gitude)?/i;\nfunction guessHeader(row, regexp) {\n var name, match, score;\n for (var f in row) {\n match = f.match(regexp);\n if (match && (!name || match[0].length / f.length > score)) {\n score = match[0].length / f.length;\n name = f;\n }\n }\n return name;\n}\nfunction guessLatHeader(row) {\n return guessHeader(row, latRegex);\n}\nfunction guessLonHeader(row) {\n return guessHeader(row, lonRegex);\n}\nfunction isLat(f) {\n return !!f.match(latRegex);\n}\nfunction isLon(f) {\n return !!f.match(lonRegex);\n}\nfunction keyCount(o) {\n return typeof o == 'object' ? Object.keys(o).length : 0;\n}\nfunction autoDelimiter(x) {\n var delimiters = [',', ';', '\\t', '|'];\n var results = [];\n delimiters.forEach(function (delimiter) {\n var res = dsv.dsvFormat(delimiter).parse(x);\n if (res.length >= 1) {\n var count = keyCount(res[0]);\n for (var i = 0; i < res.length; i++) {\n if (keyCount(res[i]) !== count) return;\n }\n results.push({\n delimiter: delimiter,\n arity: Object.keys(res[0]).length\n });\n }\n });\n if (results.length) {\n return results.sort(function (a, b) {\n return b.arity - a.arity;\n })[0].delimiter;\n } else {\n return null;\n }\n}\n\n/**\n * Silly stopgap for dsv to d3-dsv upgrade\n *\n * @param {Array} x dsv output\n * @returns {Array} array without columns member\n */\nfunction deleteColumns(x) {\n delete x.columns;\n return x;\n}\nfunction auto(x) {\n var delimiter = autoDelimiter(x);\n if (!delimiter) return null;\n return deleteColumns(dsv.dsvFormat(delimiter).parse(x));\n}\nfunction csv2geojson(x, options, callback) {\n if (!callback) {\n callback = options;\n options = {};\n }\n options.delimiter = options.delimiter || ',';\n var latfield = options.latfield || '',\n lonfield = options.lonfield || '',\n crs = options.crs || '';\n var features = [],\n featurecollection = {\n type: 'FeatureCollection',\n features: features\n };\n if (crs !== '') {\n featurecollection.crs = {\n type: 'name',\n properties: {\n name: crs\n }\n };\n }\n if (options.delimiter === 'auto' && typeof x == 'string') {\n options.delimiter = autoDelimiter(x);\n if (!options.delimiter) {\n callback({\n type: 'Error',\n message: 'Could not autodetect delimiter'\n });\n return;\n }\n }\n var parsed = typeof x == 'string' ? dsv.dsvFormat(options.delimiter).parse(x) : x;\n if (!parsed.length) {\n callback(null, featurecollection);\n return;\n }\n var errors = [];\n var i;\n if (!latfield) latfield = guessLatHeader(parsed[0]);\n if (!lonfield) lonfield = guessLonHeader(parsed[0]);\n var noGeometry = !latfield || !lonfield;\n if (noGeometry) {\n for (i = 0; i < parsed.length; i++) {\n features.push({\n type: 'Feature',\n properties: parsed[i],\n geometry: null\n });\n }\n callback(errors.length ? errors : null, featurecollection);\n return;\n }\n for (i = 0; i < parsed.length; i++) {\n if (parsed[i][lonfield] !== undefined && parsed[i][latfield] !== undefined) {\n var lonk = parsed[i][lonfield],\n latk = parsed[i][latfield],\n lonf,\n latf,\n a;\n a = sexagesimal(lonk, 'EW');\n if (a) lonk = a;\n a = sexagesimal(latk, 'NS');\n if (a) latk = a;\n lonf = parseFloat(lonk);\n latf = parseFloat(latk);\n if (isNaN(lonf) || isNaN(latf)) {\n errors.push({\n message: 'A row contained an invalid value for latitude or longitude',\n row: parsed[i],\n index: i\n });\n } else {\n if (!options.includeLatLon) {\n delete parsed[i][lonfield];\n delete parsed[i][latfield];\n }\n features.push({\n type: 'Feature',\n properties: parsed[i],\n geometry: {\n type: 'Point',\n coordinates: [parseFloat(lonf), parseFloat(latf)]\n }\n });\n }\n }\n }\n callback(errors.length ? errors : null, featurecollection);\n}\nfunction toLine(gj) {\n var features = gj.features;\n var line = {\n type: 'Feature',\n geometry: {\n type: 'LineString',\n coordinates: []\n }\n };\n for (var i = 0; i < features.length; i++) {\n line.geometry.coordinates.push(features[i].geometry.coordinates);\n }\n line.properties = features.reduce(function (aggregatedProperties, newFeature) {\n for (var key in newFeature.properties) {\n if (!aggregatedProperties[key]) {\n aggregatedProperties[key] = [];\n }\n aggregatedProperties[key].push(newFeature.properties[key]);\n }\n return aggregatedProperties;\n }, {});\n return {\n type: 'FeatureCollection',\n features: [line]\n };\n}\nfunction toPolygon(gj) {\n var features = gj.features;\n var poly = {\n type: 'Feature',\n geometry: {\n type: 'Polygon',\n coordinates: [[]]\n }\n };\n for (var i = 0; i < features.length; i++) {\n poly.geometry.coordinates[0].push(features[i].geometry.coordinates);\n }\n poly.properties = features.reduce(function (aggregatedProperties, newFeature) {\n for (var key in newFeature.properties) {\n if (!aggregatedProperties[key]) {\n aggregatedProperties[key] = [];\n }\n aggregatedProperties[key].push(newFeature.properties[key]);\n }\n return aggregatedProperties;\n }, {});\n return {\n type: 'FeatureCollection',\n features: [poly]\n };\n}\nmodule.exports = {\n isLon: isLon,\n isLat: isLat,\n guessLatHeader: guessLatHeader,\n guessLonHeader: guessLonHeader,\n csv: dsv.csvParse,\n tsv: dsv.tsvParse,\n dsv: dsv,\n auto: auto,\n csv2geojson: csv2geojson,\n toLine: toLine,\n toPolygon: toPolygon\n};\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/csv2geojson/index.js?"); 293 294/***/ }), 295
vendor: 2,105 bytes, lines 296-306
296/***/ "./node_modules/d3-dsv/index.js": 297/*!**************************************!*\ 298 !*** ./node_modules/d3-dsv/index.js ***! 299 \**************************************/ 300/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 301 302"use strict"; 303eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ csvFormat: function() { return /* reexport safe */ _src_csv__WEBPACK_IMPORTED_MODULE_1__.csvFormat; },\n/* harmony export */ csvFormatRows: function() { return /* reexport safe */ _src_csv__WEBPACK_IMPORTED_MODULE_1__.csvFormatRows; },\n/* harmony export */ csvParse: function() { return /* reexport safe */ _src_csv__WEBPACK_IMPORTED_MODULE_1__.csvParse; },\n/* harmony export */ csvParseRows: function() { return /* reexport safe */ _src_csv__WEBPACK_IMPORTED_MODULE_1__.csvParseRows; },\n/* harmony export */ dsvFormat: function() { return /* reexport safe */ _src_dsv__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; },\n/* harmony export */ tsvFormat: function() { return /* reexport safe */ _src_tsv__WEBPACK_IMPORTED_MODULE_2__.tsvFormat; },\n/* harmony export */ tsvFormatRows: function() { return /* reexport safe */ _src_tsv__WEBPACK_IMPORTED_MODULE_2__.tsvFormatRows; },\n/* harmony export */ tsvParse: function() { return /* reexport safe */ _src_tsv__WEBPACK_IMPORTED_MODULE_2__.tsvParse; },\n/* harmony export */ tsvParseRows: function() { return /* reexport safe */ _src_tsv__WEBPACK_IMPORTED_MODULE_2__.tsvParseRows; }\n/* harmony export */ });\n/* harmony import */ var _src_dsv__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./src/dsv */ \"./node_modules/d3-dsv/src/dsv.js\");\n/* harmony import */ var _src_csv__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./src/csv */ \"./node_modules/d3-dsv/src/csv.js\");\n/* harmony import */ var _src_tsv__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./src/tsv */ \"./node_modules/d3-dsv/src/tsv.js\");\n\n\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/d3-dsv/index.js?"); 304 305/***/ }), 306
vendor: 1,191 bytes, lines 307-317
307/***/ "./node_modules/d3-dsv/src/csv.js": 308/*!****************************************!*\ 309 !*** ./node_modules/d3-dsv/src/csv.js ***! 310 \****************************************/ 311/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 312 313"use strict"; 314eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ csvFormat: function() { return /* binding */ csvFormat; },\n/* harmony export */ csvFormatRows: function() { return /* binding */ csvFormatRows; },\n/* harmony export */ csvParse: function() { return /* binding */ csvParse; },\n/* harmony export */ csvParseRows: function() { return /* binding */ csvParseRows; }\n/* harmony export */ });\n/* harmony import */ var _dsv__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dsv */ \"./node_modules/d3-dsv/src/dsv.js\");\n\nvar csv = (0,_dsv__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\",\");\nvar csvParse = csv.parse;\nvar csvParseRows = csv.parseRows;\nvar csvFormat = csv.format;\nvar csvFormatRows = csv.formatRows;\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/d3-dsv/src/csv.js?"); 315 316/***/ }), 317
vendor: 4,891 bytes, lines 318-328
318/***/ "./node_modules/d3-dsv/src/dsv.js": 319/*!****************************************!*\ 320 !*** ./node_modules/d3-dsv/src/dsv.js ***! 321 \****************************************/ 322/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 323 324"use strict"; 325eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n\nfunction objectConverter(columns) {\n return new Function(\"d\", \"return {\" + columns.map(function (name, i) {\n return JSON.stringify(name) + \": d[\" + i + \"]\";\n }).join(\",\") + \"}\");\n}\nfunction customConverter(columns, f) {\n var object = objectConverter(columns);\n return function (row, i) {\n return f(object(row), i, columns);\n };\n}\n\n// Compute unique columns in order of discovery.\nfunction inferColumns(rows) {\n var columnSet = Object.create(null),\n columns = [];\n rows.forEach(function (row) {\n for (var column in row) {\n if (!(column in columnSet)) {\n columns.push(columnSet[column] = column);\n }\n }\n });\n return columns;\n}\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(delimiter) {\n var reFormat = new RegExp(\"[\\\"\" + delimiter + \"\\n]\"),\n delimiterCode = delimiter.charCodeAt(0);\n function parse(text, f) {\n var convert,\n columns,\n rows = parseRows(text, function (row, i) {\n if (convert) return convert(row, i - 1);\n columns = row, convert = f ? customConverter(row, f) : objectConverter(row);\n });\n rows.columns = columns;\n return rows;\n }\n function parseRows(text, f) {\n var EOL = {},\n // sentinel value for end-of-line\n EOF = {},\n // sentinel value for end-of-file\n rows = [],\n // output rows\n N = text.length,\n I = 0,\n // current character index\n n = 0,\n // the current line number\n t,\n // the current token\n eol; // is the current token followed by EOL?\n\n function token() {\n if (I >= N) return EOF; // special case: end of file\n if (eol) return eol = false, EOL; // special case: end of line\n\n // special case: quotes\n var j = I,\n c;\n if (text.charCodeAt(j) === 34) {\n var i = j;\n while (i++ < N) {\n if (text.charCodeAt(i) === 34) {\n if (text.charCodeAt(i + 1) !== 34) break;\n ++i;\n }\n }\n I = i + 2;\n c = text.charCodeAt(i + 1);\n if (c === 13) {\n eol = true;\n if (text.charCodeAt(i + 2) === 10) ++I;\n } else if (c === 10) {\n eol = true;\n }\n return text.slice(j + 1, i).replace(/\"\"/g, \"\\\"\");\n }\n\n // common case: find next delimiter or newline\n while (I < N) {\n var k = 1;\n c = text.charCodeAt(I++);\n if (c === 10) eol = true; // \\n\n else if (c === 13) {\n eol = true;\n if (text.charCodeAt(I) === 10) ++I, ++k;\n } // \\r|\\r\\n\n else if (c !== delimiterCode) continue;\n return text.slice(j, I - k);\n }\n\n // special case: last token before EOF\n return text.slice(j);\n }\n while ((t = token()) !== EOF) {\n var a = [];\n while (t !== EOL && t !== EOF) {\n a.push(t);\n t = token();\n }\n if (f && (a = f(a, n++)) == null) continue;\n rows.push(a);\n }\n return rows;\n }\n function format(rows, columns) {\n if (columns == null) columns = inferColumns(rows);\n return [columns.map(formatValue).join(delimiter)].concat(rows.map(function (row) {\n return columns.map(function (column) {\n return formatValue(row[column]);\n }).join(delimiter);\n })).join(\"\\n\");\n }\n function formatRows(rows) {\n return rows.map(formatRow).join(\"\\n\");\n }\n function formatRow(row) {\n return row.map(formatValue).join(delimiter);\n }\n function formatValue(text) {\n return text == null ? \"\" : reFormat.test(text += \"\") ? \"\\\"\" + text.replace(/\\\"/g, \"\\\"\\\"\") + \"\\\"\" : text;\n }\n return {\n parse: parse,\n parseRows: parseRows,\n format: format,\n formatRows: formatRows\n };\n}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/d3-dsv/src/dsv.js?"); 326 327/***/ }), 328
vendor: 1,193 bytes, lines 329-339
329/***/ "./node_modules/d3-dsv/src/tsv.js": 330/*!****************************************!*\ 331 !*** ./node_modules/d3-dsv/src/tsv.js ***! 332 \****************************************/ 333/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 334 335"use strict"; 336eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ tsvFormat: function() { return /* binding */ tsvFormat; },\n/* harmony export */ tsvFormatRows: function() { return /* binding */ tsvFormatRows; },\n/* harmony export */ tsvParse: function() { return /* binding */ tsvParse; },\n/* harmony export */ tsvParseRows: function() { return /* binding */ tsvParseRows; }\n/* harmony export */ });\n/* harmony import */ var _dsv__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dsv */ \"./node_modules/d3-dsv/src/dsv.js\");\n\nvar tsv = (0,_dsv__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(\"\\t\");\nvar tsvParse = tsv.parse;\nvar tsvParseRows = tsv.parseRows;\nvar tsvFormat = tsv.format;\nvar tsvFormatRows = tsv.formatRows;\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/d3-dsv/src/tsv.js?"); 337 338/***/ }), 339
vendor: 1,690 bytes, lines 340-350
340/***/ "./node_modules/fast-deep-equal/index.js": 341/*!***********************************************!*\ 342 !*** ./node_modules/fast-deep-equal/index.js ***! 343 \***********************************************/ 344/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 345 346"use strict"; 347eval("\n\n// do not edit .js files directly - edit src/index.jst\n__webpack_require__(/*! core-js/modules/es.regexp.flags.js */ \"./node_modules/core-js/modules/es.regexp.flags.js\");\nmodule.exports = function equal(a, b) {\n if (a === b) return true;\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n var length, i, keys;\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;) if (!equal(a[i], b[i])) return false;\n return true;\n }\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n for (i = length; i-- !== 0;) if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n for (i = length; i-- !== 0;) {\n var key = keys[i];\n if (!equal(a[key], b[key])) return false;\n }\n return true;\n }\n\n // true if both NaN, false otherwise\n return a !== a && b !== b;\n};\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/fast-deep-equal/index.js?"); 348 349/***/ }), 350
vendor: 7,741 bytes, lines 351-360
351/***/ "./node_modules/leaflet-omnivore/index.js": 352/*!************************************************!*\ 353 !*** ./node_modules/leaflet-omnivore/index.js ***! 354 \************************************************/ 355/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 356 357eval("var xhr = __webpack_require__(/*! corslite */ \"./node_modules/corslite/corslite.js\"),\n csv2geojson = __webpack_require__(/*! csv2geojson */ \"./node_modules/csv2geojson/index.js\"),\n wellknown = __webpack_require__(/*! wellknown */ \"./node_modules/wellknown/index.js\"),\n polyline = __webpack_require__(/*! polyline */ \"./node_modules/polyline/src/polyline.js\"),\n topojson = __webpack_require__(/*! topojson */ \"./node_modules/topojson/build/topojson.js\"),\n toGeoJSON = __webpack_require__(/*! togeojson */ \"./node_modules/togeojson/togeojson.js\");\nmodule.exports.polyline = polylineLoad;\nmodule.exports.polyline.parse = polylineParse;\nmodule.exports.geojson = geojsonLoad;\nmodule.exports.topojson = topojsonLoad;\nmodule.exports.topojson.parse = topojsonParse;\nmodule.exports.csv = csvLoad;\nmodule.exports.csv.parse = csvParse;\nmodule.exports.gpx = gpxLoad;\nmodule.exports.gpx.parse = gpxParse;\nmodule.exports.kml = kmlLoad;\nmodule.exports.kml.parse = kmlParse;\nmodule.exports.wkt = wktLoad;\nmodule.exports.wkt.parse = wktParse;\nfunction addData(l, d) {\n if ('setGeoJSON' in l) {\n l.setGeoJSON(d);\n } else if ('addData' in l) {\n l.addData(d);\n }\n}\n\n/**\n * Load a [GeoJSON](http://geojson.org/) document into a layer and return the layer.\n *\n * @param {string} url\n * @param {object} options\n * @param {object} customLayer\n * @returns {object}\n */\nfunction geojsonLoad(url, options, customLayer) {\n var layer = customLayer || L.geoJson();\n xhr(url, function (err, response) {\n if (err) return layer.fire('error', {\n error: err\n });\n addData(layer, JSON.parse(response.responseText));\n layer.fire('ready');\n });\n return layer;\n}\n\n/**\n * Load a [TopoJSON](https://github.com/mbostock/topojson) document into a layer and return the layer.\n *\n * @param {string} url\n * @param {object} options\n * @param {object} customLayer\n * @returns {object}\n */\nfunction topojsonLoad(url, options, customLayer) {\n var layer = customLayer || L.geoJson();\n xhr(url, onload);\n function onload(err, response) {\n if (err) return layer.fire('error', {\n error: err\n });\n topojsonParse(response.responseText, options, layer);\n layer.fire('ready');\n }\n return layer;\n}\n\n/**\n * Load a CSV document into a layer and return the layer.\n *\n * @param {string} url\n * @param {object} options\n * @param {object} customLayer\n * @returns {object}\n */\nfunction csvLoad(url, options, customLayer) {\n var layer = customLayer || L.geoJson();\n xhr(url, onload);\n function onload(err, response) {\n var error;\n if (err) return layer.fire('error', {\n error: err\n });\n function avoidReady() {\n error = true;\n }\n layer.on('error', avoidReady);\n csvParse(response.responseText, options, layer);\n layer.off('error', avoidReady);\n if (!error) layer.fire('ready');\n }\n return layer;\n}\n\n/**\n * Load a GPX document into a layer and return the layer.\n *\n * @param {string} url\n * @param {object} options\n * @param {object} customLayer\n * @returns {object}\n */\nfunction gpxLoad(url, options, customLayer) {\n var layer = customLayer || L.geoJson();\n xhr(url, onload);\n function onload(err, response) {\n var error;\n if (err) return layer.fire('error', {\n error: err\n });\n function avoidReady() {\n error = true;\n }\n layer.on('error', avoidReady);\n gpxParse(response.responseXML || response.responseText, options, layer);\n layer.off('error', avoidReady);\n if (!error) layer.fire('ready');\n }\n return layer;\n}\n\n/**\n * Load a [KML](https://developers.google.com/kml/documentation/) document into a layer and return the layer.\n *\n * @param {string} url\n * @param {object} options\n * @param {object} customLayer\n * @returns {object}\n */\nfunction kmlLoad(url, options, customLayer) {\n var layer = customLayer || L.geoJson();\n xhr(url, onload);\n function onload(err, response) {\n var error;\n if (err) return layer.fire('error', {\n error: err\n });\n function avoidReady() {\n error = true;\n }\n layer.on('error', avoidReady);\n kmlParse(response.responseXML || response.responseText, options, layer);\n layer.off('error', avoidReady);\n if (!error) layer.fire('ready');\n }\n return layer;\n}\n\n/**\n * Load a WKT (Well Known Text) string into a layer and return the layer\n *\n * @param {string} url\n * @param {object} options\n * @param {object} customLayer\n * @returns {object}\n */\nfunction wktLoad(url, options, customLayer) {\n var layer = customLayer || L.geoJson();\n xhr(url, onload);\n function onload(err, response) {\n if (err) return layer.fire('error', {\n error: err\n });\n wktParse(response.responseText, options, layer);\n layer.fire('ready');\n }\n return layer;\n}\n\n/**\n * Load a polyline string into a layer and return the layer\n *\n * @param {string} url\n * @param {object} options\n * @param {object} customLayer\n * @returns {object}\n */\nfunction polylineLoad(url, options, customLayer) {\n var layer = customLayer || L.geoJson();\n xhr(url, onload);\n function onload(err, response) {\n if (err) return layer.fire('error', {\n error: err\n });\n polylineParse(response.responseText, options, layer);\n layer.fire('ready');\n }\n return layer;\n}\nfunction topojsonParse(data, options, layer) {\n var o = typeof data === 'string' ? JSON.parse(data) : data;\n layer = layer || L.geoJson();\n for (var i in o.objects) {\n var ft = topojson.feature(o, o.objects[i]);\n if (ft.features) addData(layer, ft.features);else addData(layer, ft);\n }\n return layer;\n}\nfunction csvParse(csv, options, layer) {\n layer = layer || L.geoJson();\n options = options || {};\n csv2geojson.csv2geojson(csv, options, onparse);\n function onparse(err, geojson) {\n if (err) return layer.fire('error', {\n error: err\n });\n addData(layer, geojson);\n }\n return layer;\n}\nfunction gpxParse(gpx, options, layer) {\n var xml = parseXML(gpx);\n if (!xml) return layer.fire('error', {\n error: 'Could not parse GPX'\n });\n layer = layer || L.geoJson();\n var geojson = toGeoJSON.gpx(xml);\n addData(layer, geojson);\n return layer;\n}\nfunction kmlParse(gpx, options, layer) {\n var xml = parseXML(gpx);\n if (!xml) return layer.fire('error', {\n error: 'Could not parse KML'\n });\n layer = layer || L.geoJson();\n var geojson = toGeoJSON.kml(xml);\n addData(layer, geojson);\n return layer;\n}\nfunction polylineParse(txt, options, layer) {\n layer = layer || L.geoJson();\n options = options || {};\n var coords = polyline.decode(txt, options.precision);\n var geojson = {\n type: 'LineString',\n coordinates: []\n };\n for (var i = 0; i < coords.length; i++) {\n // polyline returns coords in lat, lng order, so flip for geojson\n geojson.coordinates[i] = [coords[i][1], coords[i][0]];\n }\n addData(layer, geojson);\n return layer;\n}\nfunction wktParse(wkt, options, layer) {\n layer = layer || L.geoJson();\n var geojson = wellknown(wkt);\n addData(layer, geojson);\n return layer;\n}\nfunction parseXML(str) {\n if (typeof str === 'string') {\n return new DOMParser().parseFromString(str, 'text/xml');\n } else {\n return str;\n }\n}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/leaflet-omnivore/index.js?"); 358 359/***/ }), 360
vendor: 472,585 bytes, lines 361-370
361/***/ "./node_modules/leaflet/dist/leaflet-src.js": 362/*!**************************************************!*\ 363 !*** ./node_modules/leaflet/dist/leaflet-src.js ***! 364 \**************************************************/ 365/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 366 367eval("__webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.to-reversed.js */ \"./node_modules/core-js/modules/es.typed-array.to-reversed.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.to-sorted.js */ \"./node_modules/core-js/modules/es.typed-array.to-sorted.js\");\n__webpack_require__(/*! core-js/modules/es.typed-array.with.js */ \"./node_modules/core-js/modules/es.typed-array.with.js\");\n/* @preserve\n * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com\n * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade\n */\n\n(function (global, factory) {\n true ? factory(exports) : 0;\n})(this, function (exports) {\n 'use strict';\n\n var version = \"1.9.4\";\n\n /*\r\n * @namespace Util\r\n *\r\n * Various utility functions, used by Leaflet internally.\r\n */\n\n // @function extend(dest: Object, src?: Object): Object\n // Merges the properties of the `src` object (or multiple objects) into `dest` object and returns the latter. Has an `L.extend` shortcut.\n function extend(dest) {\n var i, j, len, src;\n for (j = 1, len = arguments.length; j < len; j++) {\n src = arguments[j];\n for (i in src) {\n dest[i] = src[i];\n }\n }\n return dest;\n }\n\n // @function create(proto: Object, properties?: Object): Object\n // Compatibility polyfill for [Object.create](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/create)\n var create$2 = Object.create || function () {\n function F() {}\n return function (proto) {\n F.prototype = proto;\n return new F();\n };\n }();\n\n // @function bind(fn: Function, â¦): Function\n // Returns a new function bound to the arguments passed, like [Function.prototype.bind](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function/bind).\n // Has a `L.bind()` shortcut.\n function bind(fn, obj) {\n var slice = Array.prototype.slice;\n if (fn.bind) {\n return fn.bind.apply(fn, slice.call(arguments, 1));\n }\n var args = slice.call(arguments, 2);\n return function () {\n return fn.apply(obj, args.length ? args.concat(slice.call(arguments)) : arguments);\n };\n }\n\n // @property lastId: Number\n // Last unique ID used by [`stamp()`](#util-stamp)\n var lastId = 0;\n\n // @function stamp(obj: Object): Number\n // Returns the unique ID of an object, assigning it one if it doesn't have it.\n function stamp(obj) {\n if (!('_leaflet_id' in obj)) {\n obj['_leaflet_id'] = ++lastId;\n }\n return obj._leaflet_id;\n }\n\n // @function throttle(fn: Function, time: Number, context: Object): Function\n // Returns a function which executes function `fn` with the given scope `context`\n // (so that the `this` keyword refers to `context` inside `fn`'s code). The function\n // `fn` will be called no more than one time per given amount of `time`. The arguments\n // received by the bound function will be any arguments passed when binding the\n // function, followed by any arguments passed when invoking the bound function.\n // Has an `L.throttle` shortcut.\n function throttle(fn, time, context) {\n var lock, args, wrapperFn, later;\n later = function () {\n // reset lock and call if queued\n lock = false;\n if (args) {\n wrapperFn.apply(context, args);\n args = false;\n }\n };\n wrapperFn = function () {\n if (lock) {\n // called too soon, queue to call later\n args = arguments;\n } else {\n // call and lock until later\n fn.apply(context, arguments);\n setTimeout(later, time);\n lock = true;\n }\n };\n return wrapperFn;\n }\n\n // @function wrapNum(num: Number, range: Number[], includeMax?: Boolean): Number\n // Returns the number `num` modulo `range` in such a way so it lies within\n // `range[0]` and `range[1]`. The returned value will be always smaller than\n // `range[1]` unless `includeMax` is set to `true`.\n function wrapNum(x, range, includeMax) {\n var max = range[1],\n min = range[0],\n d = max - min;\n return x === max && includeMax ? x : ((x - min) % d + d) % d + min;\n }\n\n // @function falseFn(): Function\n // Returns a function which always returns `false`.\n function falseFn() {\n return false;\n }\n\n // @function formatNum(num: Number, precision?: Number|false): Number\n // Returns the number `num` rounded with specified `precision`.\n // The default `precision` value is 6 decimal places.\n // `false` can be passed to skip any processing (can be useful to avoid round-off errors).\n function formatNum(num, precision) {\n if (precision === false) {\n return num;\n }\n var pow = Math.pow(10, precision === undefined ? 6 : precision);\n return Math.round(num * pow) / pow;\n }\n\n // @function trim(str: String): String\n // Compatibility polyfill for [String.prototype.trim](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/Trim)\n function trim(str) {\n return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\n }\n\n // @function splitWords(str: String): String[]\n // Trims and splits the string on whitespace and returns the array of parts.\n function splitWords(str) {\n return trim(str).split(/\\s+/);\n }\n\n // @function setOptions(obj: Object, options: Object): Object\n // Merges the given properties to the `options` of the `obj` object, returning the resulting options. See `Class options`. Has an `L.setOptions` shortcut.\n function setOptions(obj, options) {\n if (!Object.prototype.hasOwnProperty.call(obj, 'options')) {\n obj.options = obj.options ? create$2(obj.options) : {};\n }\n for (var i in options) {\n obj.options[i] = options[i];\n }\n return obj.options;\n }\n\n // @function getParamString(obj: Object, existingUrl?: String, uppercase?: Boolean): String\n // Converts an object into a parameter URL string, e.g. `{a: \"foo\", b: \"bar\"}`\n // translates to `'?a=foo&b=bar'`. If `existingUrl` is set, the parameters will\n // be appended at the end. If `uppercase` is `true`, the parameter names will\n // be uppercased (e.g. `'?A=foo&B=bar'`)\n function getParamString(obj, existingUrl, uppercase) {\n var params = [];\n for (var i in obj) {\n params.push(encodeURIComponent(uppercase ? i.toUpperCase() : i) + '=' + encodeURIComponent(obj[i]));\n }\n return (!existingUrl || existingUrl.indexOf('?') === -1 ? '?' : '&') + params.join('&');\n }\n var templateRe = /\\{ *([\\w_ -]+) *\\}/g;\n\n // @function template(str: String, data: Object): String\n // Simple templating facility, accepts a template string of the form `'Hello {a}, {b}'`\n // and a data object like `{a: 'foo', b: 'bar'}`, returns evaluated string\n // `('Hello foo, bar')`. You can also specify functions instead of strings for\n // data values â they will be evaluated passing `data` as an argument.\n function template(str, data) {\n return str.replace(templateRe, function (str, key) {\n var value = data[key];\n if (value === undefined) {\n throw new Error('No value provided for variable ' + str);\n } else if (typeof value === 'function') {\n value = value(data);\n }\n return value;\n });\n }\n\n // @function isArray(obj): Boolean\n // Compatibility polyfill for [Array.isArray](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray)\n var isArray = Array.isArray || function (obj) {\n return Object.prototype.toString.call(obj) === '[object Array]';\n };\n\n // @function indexOf(array: Array, el: Object): Number\n // Compatibility polyfill for [Array.prototype.indexOf](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf)\n function indexOf(array, el) {\n for (var i = 0; i < array.length; i++) {\n if (array[i] === el) {\n return i;\n }\n }\n return -1;\n }\n\n // @property emptyImageUrl: String\n // Data URI string containing a base64-encoded empty GIF image.\n // Used as a hack to free memory from unused images on WebKit-powered\n // mobile devices (by setting image `src` to this string).\n var emptyImageUrl = 'data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=';\n\n // inspired by https://paulirish.com/2011/requestanimationframe-for-smart-animating/\n\n function getPrefixed(name) {\n return window['webkit' + name] || window['moz' + name] || window['ms' + name];\n }\n var lastTime = 0;\n\n // fallback for IE 7-8\n function timeoutDefer(fn) {\n var time = +new Date(),\n timeToCall = Math.max(0, 16 - (time - lastTime));\n lastTime = time + timeToCall;\n return window.setTimeout(fn, timeToCall);\n }\n var requestFn = window.requestAnimationFrame || getPrefixed('RequestAnimationFrame') || timeoutDefer;\n var cancelFn = window.cancelAnimationFrame || getPrefixed('CancelAnimationFrame') || getPrefixed('CancelRequestAnimationFrame') || function (id) {\n window.clearTimeout(id);\n };\n\n // @function requestAnimFrame(fn: Function, context?: Object, immediate?: Boolean): Number\n // Schedules `fn` to be executed when the browser repaints. `fn` is bound to\n // `context` if given. When `immediate` is set, `fn` is called immediately if\n // the browser doesn't have native support for\n // [`window.requestAnimationFrame`](https://developer.mozilla.org/docs/Web/API/window/requestAnimationFrame),\n // otherwise it's delayed. Returns a request ID that can be used to cancel the request.\n function requestAnimFrame(fn, context, immediate) {\n if (immediate && requestFn === timeoutDefer) {\n fn.call(context);\n } else {\n return requestFn.call(window, bind(fn, context));\n }\n }\n\n // @function cancelAnimFrame(id: Number): undefined\n // Cancels a previous `requestAnimFrame`. See also [window.cancelAnimationFrame](https://developer.mozilla.org/docs/Web/API/window/cancelAnimationFrame).\n function cancelAnimFrame(id) {\n if (id) {\n cancelFn.call(window, id);\n }\n }\n var Util = {\n __proto__: null,\n extend: extend,\n create: create$2,\n bind: bind,\n get lastId() {\n return lastId;\n },\n stamp: stamp,\n throttle: throttle,\n wrapNum: wrapNum,\n falseFn: falseFn,\n formatNum: formatNum,\n trim: trim,\n splitWords: splitWords,\n setOptions: setOptions,\n getParamString: getParamString,\n template: template,\n isArray: isArray,\n indexOf: indexOf,\n emptyImageUrl: emptyImageUrl,\n requestFn: requestFn,\n cancelFn: cancelFn,\n requestAnimFrame: requestAnimFrame,\n cancelAnimFrame: cancelAnimFrame\n };\n\n // @class Class\n // @aka L.Class\n\n // @section\n // @uninheritable\n\n // Thanks to John Resig and Dean Edwards for inspiration!\n\n function Class() {}\n Class.extend = function (props) {\n // @function extend(props: Object): Function\n // [Extends the current class](#class-inheritance) given the properties to be included.\n // Returns a Javascript function that is a class constructor (to be called with `new`).\n var NewClass = function () {\n setOptions(this);\n\n // call the constructor\n if (this.initialize) {\n this.initialize.apply(this, arguments);\n }\n\n // call all constructor hooks\n this.callInitHooks();\n };\n var parentProto = NewClass.__super__ = this.prototype;\n var proto = create$2(parentProto);\n proto.constructor = NewClass;\n NewClass.prototype = proto;\n\n // inherit parent's statics\n for (var i in this) {\n if (Object.prototype.hasOwnProperty.call(this, i) && i !== 'prototype' && i !== '__super__') {\n NewClass[i] = this[i];\n }\n }\n\n // mix static properties into the class\n if (props.statics) {\n extend(NewClass, props.statics);\n }\n\n // mix includes into the prototype\n if (props.includes) {\n checkDeprecatedMixinEvents(props.includes);\n extend.apply(null, [proto].concat(props.includes));\n }\n\n // mix given properties into the prototype\n extend(proto, props);\n delete proto.statics;\n delete proto.includes;\n\n // merge options\n if (proto.options) {\n proto.options = parentProto.options ? create$2(parentProto.options) : {};\n extend(proto.options, props.options);\n }\n proto._initHooks = [];\n\n // add method for calling all hooks\n proto.callInitHooks = function () {\n if (this._initHooksCalled) {\n return;\n }\n if (parentProto.callInitHooks) {\n parentProto.callInitHooks.call(this);\n }\n this._initHooksCalled = true;\n for (var i = 0, len = proto._initHooks.length; i < len; i++) {\n proto._initHooks[i].call(this);\n }\n };\n return NewClass;\n };\n\n // @function include(properties: Object): this\n // [Includes a mixin](#class-includes) into the current class.\n Class.include = function (props) {\n var parentOptions = this.prototype.options;\n extend(this.prototype, props);\n if (props.options) {\n this.prototype.options = parentOptions;\n this.mergeOptions(props.options);\n }\n return this;\n };\n\n // @function mergeOptions(options: Object): this\n // [Merges `options`](#class-options) into the defaults of the class.\n Class.mergeOptions = function (options) {\n extend(this.prototype.options, options);\n return this;\n };\n\n // @function addInitHook(fn: Function): this\n // Adds a [constructor hook](#class-constructor-hooks) to the class.\n Class.addInitHook = function (fn) {\n // (Function) || (String, args...)\n var args = Array.prototype.slice.call(arguments, 1);\n var init = typeof fn === 'function' ? fn : function () {\n this[fn].apply(this, args);\n };\n this.prototype._initHooks = this.prototype._initHooks || [];\n this.prototype._initHooks.push(init);\n return this;\n };\n function checkDeprecatedMixinEvents(includes) {\n /* global L: true */\n if (typeof L === 'undefined' || !L || !L.Mixin) {\n return;\n }\n includes = isArray(includes) ? includes : [includes];\n for (var i = 0; i < includes.length; i++) {\n if (includes[i] === L.Mixin.Events) {\n console.warn('Deprecated include of L.Mixin.Events: ' + 'this property will be removed in future releases, ' + 'please inherit from L.Evented instead.', new Error().stack);\n }\n }\n }\n\n /*\r\n * @class Evented\r\n * @aka L.Evented\r\n * @inherits Class\r\n *\r\n * A set of methods shared between event-powered classes (like `Map` and `Marker`). Generally, events allow you to execute some function when something happens with an object (e.g. the user clicks on the map, causing the map to fire `'click'` event).\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * map.on('click', function(e) {\r\n * \talert(e.latlng);\r\n * } );\r\n * ```\r\n *\r\n * Leaflet deals with event listeners by reference, so if you want to add a listener and then remove it, define it as a function:\r\n *\r\n * ```js\r\n * function onClick(e) { ... }\r\n *\r\n * map.on('click', onClick);\r\n * map.off('click', onClick);\r\n * ```\r\n */\n\n var Events = {\n /* @method on(type: String, fn: Function, context?: Object): this\r\n * Adds a listener function (`fn`) to a particular event type of the object. You can optionally specify the context of the listener (object the this keyword will point to). You can also pass several space-separated types (e.g. `'click dblclick'`).\r\n *\r\n * @alternative\r\n * @method on(eventMap: Object): this\r\n * Adds a set of type/listener pairs, e.g. `{click: onClick, mousemove: onMouseMove}`\r\n */\n on: function (types, fn, context) {\n // types can be a map of types/handlers\n if (typeof types === 'object') {\n for (var type in types) {\n // we don't process space-separated events here for performance;\n // it's a hot path since Layer uses the on(obj) syntax\n this._on(type, types[type], fn);\n }\n } else {\n // types can be a string of space-separated words\n types = splitWords(types);\n for (var i = 0, len = types.length; i < len; i++) {\n this._on(types[i], fn, context);\n }\n }\n return this;\n },\n /* @method off(type: String, fn?: Function, context?: Object): this\r\n * Removes a previously added listener function. If no function is specified, it will remove all the listeners of that particular event from the object. Note that if you passed a custom context to `on`, you must pass the same context to `off` in order to remove the listener.\r\n *\r\n * @alternative\r\n * @method off(eventMap: Object): this\r\n * Removes a set of type/listener pairs.\r\n *\r\n * @alternative\r\n * @method off: this\r\n * Removes all listeners to all events on the object. This includes implicitly attached events.\r\n */\n off: function (types, fn, context) {\n if (!arguments.length) {\n // clear all listeners if called without arguments\n delete this._events;\n } else if (typeof types === 'object') {\n for (var type in types) {\n this._off(type, types[type], fn);\n }\n } else {\n types = splitWords(types);\n var removeAll = arguments.length === 1;\n for (var i = 0, len = types.length; i < len; i++) {\n if (removeAll) {\n this._off(types[i]);\n } else {\n this._off(types[i], fn, context);\n }\n }\n }\n return this;\n },\n // attach listener (without syntactic sugar now)\n _on: function (type, fn, context, _once) {\n if (typeof fn !== 'function') {\n console.warn('wrong listener type: ' + typeof fn);\n return;\n }\n\n // check if fn already there\n if (this._listens(type, fn, context) !== false) {\n return;\n }\n if (context === this) {\n // Less memory footprint.\n context = undefined;\n }\n var newListener = {\n fn: fn,\n ctx: context\n };\n if (_once) {\n newListener.once = true;\n }\n this._events = this._events || {};\n this._events[type] = this._events[type] || [];\n this._events[type].push(newListener);\n },\n _off: function (type, fn, context) {\n var listeners, i, len;\n if (!this._events) {\n return;\n }\n listeners = this._events[type];\n if (!listeners) {\n return;\n }\n if (arguments.length === 1) {\n // remove all\n if (this._firingCount) {\n // Set all removed listeners to noop\n // so they are not called if remove happens in fire\n for (i = 0, len = listeners.length; i < len; i++) {\n listeners[i].fn = falseFn;\n }\n }\n // clear all listeners for a type if function isn't specified\n delete this._events[type];\n return;\n }\n if (typeof fn !== 'function') {\n console.warn('wrong listener type: ' + typeof fn);\n return;\n }\n\n // find fn and remove it\n var index = this._listens(type, fn, context);\n if (index !== false) {\n var listener = listeners[index];\n if (this._firingCount) {\n // set the removed listener to noop so that's not called if remove happens in fire\n listener.fn = falseFn;\n\n /* copy array in case events are being fired */\n this._events[type] = listeners = listeners.slice();\n }\n listeners.splice(index, 1);\n }\n },\n // @method fire(type: String, data?: Object, propagate?: Boolean): this\n // Fires an event of the specified type. You can optionally provide a data\n // object â the first argument of the listener function will contain its\n // properties. The event can optionally be propagated to event parents.\n fire: function (type, data, propagate) {\n if (!this.listens(type, propagate)) {\n return this;\n }\n var event = extend({}, data, {\n type: type,\n target: this,\n sourceTarget: data && data.sourceTarget || this\n });\n if (this._events) {\n var listeners = this._events[type];\n if (listeners) {\n this._firingCount = this._firingCount + 1 || 1;\n for (var i = 0, len = listeners.length; i < len; i++) {\n var l = listeners[i];\n // off overwrites l.fn, so we need to copy fn to a var\n var fn = l.fn;\n if (l.once) {\n this.off(type, fn, l.ctx);\n }\n fn.call(l.ctx || this, event);\n }\n this._firingCount--;\n }\n }\n if (propagate) {\n // propagate the event to parents (set with addEventParent)\n this._propagateEvent(event);\n }\n return this;\n },\n // @method listens(type: String, propagate?: Boolean): Boolean\n // @method listens(type: String, fn: Function, context?: Object, propagate?: Boolean): Boolean\n // Returns `true` if a particular event type has any listeners attached to it.\n // The verification can optionally be propagated, it will return `true` if parents have the listener attached to it.\n listens: function (type, fn, context, propagate) {\n if (typeof type !== 'string') {\n console.warn('\"string\" type argument expected');\n }\n\n // we don't overwrite the input `fn` value, because we need to use it for propagation\n var _fn = fn;\n if (typeof fn !== 'function') {\n propagate = !!fn;\n _fn = undefined;\n context = undefined;\n }\n var listeners = this._events && this._events[type];\n if (listeners && listeners.length) {\n if (this._listens(type, _fn, context) !== false) {\n return true;\n }\n }\n if (propagate) {\n // also check parents for listeners if event propagates\n for (var id in this._eventParents) {\n if (this._eventParents[id].listens(type, fn, context, propagate)) {\n return true;\n }\n }\n }\n return false;\n },\n // returns the index (number) or false\n _listens: function (type, fn, context) {\n if (!this._events) {\n return false;\n }\n var listeners = this._events[type] || [];\n if (!fn) {\n return !!listeners.length;\n }\n if (context === this) {\n // Less memory footprint.\n context = undefined;\n }\n for (var i = 0, len = listeners.length; i < len; i++) {\n if (listeners[i].fn === fn && listeners[i].ctx === context) {\n return i;\n }\n }\n return false;\n },\n // @method once(â¦): this\n // Behaves as [`on(â¦)`](#evented-on), except the listener will only get fired once and then removed.\n once: function (types, fn, context) {\n // types can be a map of types/handlers\n if (typeof types === 'object') {\n for (var type in types) {\n // we don't process space-separated events here for performance;\n // it's a hot path since Layer uses the on(obj) syntax\n this._on(type, types[type], fn, true);\n }\n } else {\n // types can be a string of space-separated words\n types = splitWords(types);\n for (var i = 0, len = types.length; i < len; i++) {\n this._on(types[i], fn, context, true);\n }\n }\n return this;\n },\n // @method addEventParent(obj: Evented): this\n // Adds an event parent - an `Evented` that will receive propagated events\n addEventParent: function (obj) {\n this._eventParents = this._eventParents || {};\n this._eventParents[stamp(obj)] = obj;\n return this;\n },\n // @method removeEventParent(obj: Evented): this\n // Removes an event parent, so it will stop receiving propagated events\n removeEventParent: function (obj) {\n if (this._eventParents) {\n delete this._eventParents[stamp(obj)];\n }\n return this;\n },\n _propagateEvent: function (e) {\n for (var id in this._eventParents) {\n this._eventParents[id].fire(e.type, extend({\n layer: e.target,\n propagatedFrom: e.target\n }, e), true);\n }\n }\n };\n\n // aliases; we should ditch those eventually\n\n // @method addEventListener(â¦): this\n // Alias to [`on(â¦)`](#evented-on)\n Events.addEventListener = Events.on;\n\n // @method removeEventListener(â¦): this\n // Alias to [`off(â¦)`](#evented-off)\n\n // @method clearAllEventListeners(â¦): this\n // Alias to [`off()`](#evented-off)\n Events.removeEventListener = Events.clearAllEventListeners = Events.off;\n\n // @method addOneTimeEventListener(â¦): this\n // Alias to [`once(â¦)`](#evented-once)\n Events.addOneTimeEventListener = Events.once;\n\n // @method fireEvent(â¦): this\n // Alias to [`fire(â¦)`](#evented-fire)\n Events.fireEvent = Events.fire;\n\n // @method hasEventListeners(â¦): Boolean\n // Alias to [`listens(â¦)`](#evented-listens)\n Events.hasEventListeners = Events.listens;\n var Evented = Class.extend(Events);\n\n /*\r\n * @class Point\r\n * @aka L.Point\r\n *\r\n * Represents a point with `x` and `y` coordinates in pixels.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var point = L.point(200, 300);\r\n * ```\r\n *\r\n * All Leaflet methods and options that accept `Point` objects also accept them in a simple Array form (unless noted otherwise), so these lines are equivalent:\r\n *\r\n * ```js\r\n * map.panBy([200, 300]);\r\n * map.panBy(L.point(200, 300));\r\n * ```\r\n *\r\n * Note that `Point` does not inherit from Leaflet's `Class` object,\r\n * which means new classes can't inherit from it, and new methods\r\n * can't be added to it with the `include` function.\r\n */\n\n function Point(x, y, round) {\n // @property x: Number; The `x` coordinate of the point\n this.x = round ? Math.round(x) : x;\n // @property y: Number; The `y` coordinate of the point\n this.y = round ? Math.round(y) : y;\n }\n var trunc = Math.trunc || function (v) {\n return v > 0 ? Math.floor(v) : Math.ceil(v);\n };\n Point.prototype = {\n // @method clone(): Point\n // Returns a copy of the current point.\n clone: function () {\n return new Point(this.x, this.y);\n },\n // @method add(otherPoint: Point): Point\n // Returns the result of addition of the current and the given points.\n add: function (point) {\n // non-destructive, returns a new point\n return this.clone()._add(toPoint(point));\n },\n _add: function (point) {\n // destructive, used directly for performance in situations where it's safe to modify existing point\n this.x += point.x;\n this.y += point.y;\n return this;\n },\n // @method subtract(otherPoint: Point): Point\n // Returns the result of subtraction of the given point from the current.\n subtract: function (point) {\n return this.clone()._subtract(toPoint(point));\n },\n _subtract: function (point) {\n this.x -= point.x;\n this.y -= point.y;\n return this;\n },\n // @method divideBy(num: Number): Point\n // Returns the result of division of the current point by the given number.\n divideBy: function (num) {\n return this.clone()._divideBy(num);\n },\n _divideBy: function (num) {\n this.x /= num;\n this.y /= num;\n return this;\n },\n // @method multiplyBy(num: Number): Point\n // Returns the result of multiplication of the current point by the given number.\n multiplyBy: function (num) {\n return this.clone()._multiplyBy(num);\n },\n _multiplyBy: function (num) {\n this.x *= num;\n this.y *= num;\n return this;\n },\n // @method scaleBy(scale: Point): Point\n // Multiply each coordinate of the current point by each coordinate of\n // `scale`. In linear algebra terms, multiply the point by the\n // [scaling matrix](https://en.wikipedia.org/wiki/Scaling_%28geometry%29#Matrix_representation)\n // defined by `scale`.\n scaleBy: function (point) {\n return new Point(this.x * point.x, this.y * point.y);\n },\n // @method unscaleBy(scale: Point): Point\n // Inverse of `scaleBy`. Divide each coordinate of the current point by\n // each coordinate of `scale`.\n unscaleBy: function (point) {\n return new Point(this.x / point.x, this.y / point.y);\n },\n // @method round(): Point\n // Returns a copy of the current point with rounded coordinates.\n round: function () {\n return this.clone()._round();\n },\n _round: function () {\n this.x = Math.round(this.x);\n this.y = Math.round(this.y);\n return this;\n },\n // @method floor(): Point\n // Returns a copy of the current point with floored coordinates (rounded down).\n floor: function () {\n return this.clone()._floor();\n },\n _floor: function () {\n this.x = Math.floor(this.x);\n this.y = Math.floor(this.y);\n return this;\n },\n // @method ceil(): Point\n // Returns a copy of the current point with ceiled coordinates (rounded up).\n ceil: function () {\n return this.clone()._ceil();\n },\n _ceil: function () {\n this.x = Math.ceil(this.x);\n this.y = Math.ceil(this.y);\n return this;\n },\n // @method trunc(): Point\n // Returns a copy of the current point with truncated coordinates (rounded towards zero).\n trunc: function () {\n return this.clone()._trunc();\n },\n _trunc: function () {\n this.x = trunc(this.x);\n this.y = trunc(this.y);\n return this;\n },\n // @method distanceTo(otherPoint: Point): Number\n // Returns the cartesian distance between the current and the given points.\n distanceTo: function (point) {\n point = toPoint(point);\n var x = point.x - this.x,\n y = point.y - this.y;\n return Math.sqrt(x * x + y * y);\n },\n // @method equals(otherPoint: Point): Boolean\n // Returns `true` if the given point has the same coordinates.\n equals: function (point) {\n point = toPoint(point);\n return point.x === this.x && point.y === this.y;\n },\n // @method contains(otherPoint: Point): Boolean\n // Returns `true` if both coordinates of the given point are less than the corresponding current point coordinates (in absolute values).\n contains: function (point) {\n point = toPoint(point);\n return Math.abs(point.x) <= Math.abs(this.x) && Math.abs(point.y) <= Math.abs(this.y);\n },\n // @method toString(): String\n // Returns a string representation of the point for debugging purposes.\n toString: function () {\n return 'Point(' + formatNum(this.x) + ', ' + formatNum(this.y) + ')';\n }\n };\n\n // @factory L.point(x: Number, y: Number, round?: Boolean)\n // Creates a Point object with the given `x` and `y` coordinates. If optional `round` is set to true, rounds the `x` and `y` values.\n\n // @alternative\n // @factory L.point(coords: Number[])\n // Expects an array of the form `[x, y]` instead.\n\n // @alternative\n // @factory L.point(coords: Object)\n // Expects a plain object of the form `{x: Number, y: Number}` instead.\n function toPoint(x, y, round) {\n if (x instanceof Point) {\n return x;\n }\n if (isArray(x)) {\n return new Point(x[0], x[1]);\n }\n if (x === undefined || x === null) {\n return x;\n }\n if (typeof x === 'object' && 'x' in x && 'y' in x) {\n return new Point(x.x, x.y);\n }\n return new Point(x, y, round);\n }\n\n /*\r\n * @class Bounds\r\n * @aka L.Bounds\r\n *\r\n * Represents a rectangular area in pixel coordinates.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var p1 = L.point(10, 10),\r\n * p2 = L.point(40, 60),\r\n * bounds = L.bounds(p1, p2);\r\n * ```\r\n *\r\n * All Leaflet methods that accept `Bounds` objects also accept them in a simple Array form (unless noted otherwise), so the bounds example above can be passed like this:\r\n *\r\n * ```js\r\n * otherBounds.intersects([[10, 10], [40, 60]]);\r\n * ```\r\n *\r\n * Note that `Bounds` does not inherit from Leaflet's `Class` object,\r\n * which means new classes can't inherit from it, and new methods\r\n * can't be added to it with the `include` function.\r\n */\n\n function Bounds(a, b) {\n if (!a) {\n return;\n }\n var points = b ? [a, b] : a;\n for (var i = 0, len = points.length; i < len; i++) {\n this.extend(points[i]);\n }\n }\n Bounds.prototype = {\n // @method extend(point: Point): this\n // Extends the bounds to contain the given point.\n\n // @alternative\n // @method extend(otherBounds: Bounds): this\n // Extend the bounds to contain the given bounds\n extend: function (obj) {\n var min2, max2;\n if (!obj) {\n return this;\n }\n if (obj instanceof Point || typeof obj[0] === 'number' || 'x' in obj) {\n min2 = max2 = toPoint(obj);\n } else {\n obj = toBounds(obj);\n min2 = obj.min;\n max2 = obj.max;\n if (!min2 || !max2) {\n return this;\n }\n }\n\n // @property min: Point\n // The top left corner of the rectangle.\n // @property max: Point\n // The bottom right corner of the rectangle.\n if (!this.min && !this.max) {\n this.min = min2.clone();\n this.max = max2.clone();\n } else {\n this.min.x = Math.min(min2.x, this.min.x);\n this.max.x = Math.max(max2.x, this.max.x);\n this.min.y = Math.min(min2.y, this.min.y);\n this.max.y = Math.max(max2.y, this.max.y);\n }\n return this;\n },\n // @method getCenter(round?: Boolean): Point\n // Returns the center point of the bounds.\n getCenter: function (round) {\n return toPoint((this.min.x + this.max.x) / 2, (this.min.y + this.max.y) / 2, round);\n },\n // @method getBottomLeft(): Point\n // Returns the bottom-left point of the bounds.\n getBottomLeft: function () {\n return toPoint(this.min.x, this.max.y);\n },\n // @method getTopRight(): Point\n // Returns the top-right point of the bounds.\n getTopRight: function () {\n // -> Point\n return toPoint(this.max.x, this.min.y);\n },\n // @method getTopLeft(): Point\n // Returns the top-left point of the bounds (i.e. [`this.min`](#bounds-min)).\n getTopLeft: function () {\n return this.min; // left, top\n },\n\n // @method getBottomRight(): Point\n // Returns the bottom-right point of the bounds (i.e. [`this.max`](#bounds-max)).\n getBottomRight: function () {\n return this.max; // right, bottom\n },\n\n // @method getSize(): Point\n // Returns the size of the given bounds\n getSize: function () {\n return this.max.subtract(this.min);\n },\n // @method contains(otherBounds: Bounds): Boolean\n // Returns `true` if the rectangle contains the given one.\n // @alternative\n // @method contains(point: Point): Boolean\n // Returns `true` if the rectangle contains the given point.\n contains: function (obj) {\n var min, max;\n if (typeof obj[0] === 'number' || obj instanceof Point) {\n obj = toPoint(obj);\n } else {\n obj = toBounds(obj);\n }\n if (obj instanceof Bounds) {\n min = obj.min;\n max = obj.max;\n } else {\n min = max = obj;\n }\n return min.x >= this.min.x && max.x <= this.max.x && min.y >= this.min.y && max.y <= this.max.y;\n },\n // @method intersects(otherBounds: Bounds): Boolean\n // Returns `true` if the rectangle intersects the given bounds. Two bounds\n // intersect if they have at least one point in common.\n intersects: function (bounds) {\n // (Bounds) -> Boolean\n bounds = toBounds(bounds);\n var min = this.min,\n max = this.max,\n min2 = bounds.min,\n max2 = bounds.max,\n xIntersects = max2.x >= min.x && min2.x <= max.x,\n yIntersects = max2.y >= min.y && min2.y <= max.y;\n return xIntersects && yIntersects;\n },\n // @method overlaps(otherBounds: Bounds): Boolean\n // Returns `true` if the rectangle overlaps the given bounds. Two bounds\n // overlap if their intersection is an area.\n overlaps: function (bounds) {\n // (Bounds) -> Boolean\n bounds = toBounds(bounds);\n var min = this.min,\n max = this.max,\n min2 = bounds.min,\n max2 = bounds.max,\n xOverlaps = max2.x > min.x && min2.x < max.x,\n yOverlaps = max2.y > min.y && min2.y < max.y;\n return xOverlaps && yOverlaps;\n },\n // @method isValid(): Boolean\n // Returns `true` if the bounds are properly initialized.\n isValid: function () {\n return !!(this.min && this.max);\n },\n // @method pad(bufferRatio: Number): Bounds\n // Returns bounds created by extending or retracting the current bounds by a given ratio in each direction.\n // For example, a ratio of 0.5 extends the bounds by 50% in each direction.\n // Negative values will retract the bounds.\n pad: function (bufferRatio) {\n var min = this.min,\n max = this.max,\n heightBuffer = Math.abs(min.x - max.x) * bufferRatio,\n widthBuffer = Math.abs(min.y - max.y) * bufferRatio;\n return toBounds(toPoint(min.x - heightBuffer, min.y - widthBuffer), toPoint(max.x + heightBuffer, max.y + widthBuffer));\n },\n // @method equals(otherBounds: Bounds): Boolean\n // Returns `true` if the rectangle is equivalent to the given bounds.\n equals: function (bounds) {\n if (!bounds) {\n return false;\n }\n bounds = toBounds(bounds);\n return this.min.equals(bounds.getTopLeft()) && this.max.equals(bounds.getBottomRight());\n }\n };\n\n // @factory L.bounds(corner1: Point, corner2: Point)\n // Creates a Bounds object from two corners coordinate pairs.\n // @alternative\n // @factory L.bounds(points: Point[])\n // Creates a Bounds object from the given array of points.\n function toBounds(a, b) {\n if (!a || a instanceof Bounds) {\n return a;\n }\n return new Bounds(a, b);\n }\n\n /*\r\n * @class LatLngBounds\r\n * @aka L.LatLngBounds\r\n *\r\n * Represents a rectangular geographical area on a map.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var corner1 = L.latLng(40.712, -74.227),\r\n * corner2 = L.latLng(40.774, -74.125),\r\n * bounds = L.latLngBounds(corner1, corner2);\r\n * ```\r\n *\r\n * All Leaflet methods that accept LatLngBounds objects also accept them in a simple Array form (unless noted otherwise), so the bounds example above can be passed like this:\r\n *\r\n * ```js\r\n * map.fitBounds([\r\n * \t[40.712, -74.227],\r\n * \t[40.774, -74.125]\r\n * ]);\r\n * ```\r\n *\r\n * Caution: if the area crosses the antimeridian (often confused with the International Date Line), you must specify corners _outside_ the [-180, 180] degrees longitude range.\r\n *\r\n * Note that `LatLngBounds` does not inherit from Leaflet's `Class` object,\r\n * which means new classes can't inherit from it, and new methods\r\n * can't be added to it with the `include` function.\r\n */\n\n function LatLngBounds(corner1, corner2) {\n // (LatLng, LatLng) or (LatLng[])\n if (!corner1) {\n return;\n }\n var latlngs = corner2 ? [corner1, corner2] : corner1;\n for (var i = 0, len = latlngs.length; i < len; i++) {\n this.extend(latlngs[i]);\n }\n }\n LatLngBounds.prototype = {\n // @method extend(latlng: LatLng): this\n // Extend the bounds to contain the given point\n\n // @alternative\n // @method extend(otherBounds: LatLngBounds): this\n // Extend the bounds to contain the given bounds\n extend: function (obj) {\n var sw = this._southWest,\n ne = this._northEast,\n sw2,\n ne2;\n if (obj instanceof LatLng) {\n sw2 = obj;\n ne2 = obj;\n } else if (obj instanceof LatLngBounds) {\n sw2 = obj._southWest;\n ne2 = obj._northEast;\n if (!sw2 || !ne2) {\n return this;\n }\n } else {\n return obj ? this.extend(toLatLng(obj) || toLatLngBounds(obj)) : this;\n }\n if (!sw && !ne) {\n this._southWest = new LatLng(sw2.lat, sw2.lng);\n this._northEast = new LatLng(ne2.lat, ne2.lng);\n } else {\n sw.lat = Math.min(sw2.lat, sw.lat);\n sw.lng = Math.min(sw2.lng, sw.lng);\n ne.lat = Math.max(ne2.lat, ne.lat);\n ne.lng = Math.max(ne2.lng, ne.lng);\n }\n return this;\n },\n // @method pad(bufferRatio: Number): LatLngBounds\n // Returns bounds created by extending or retracting the current bounds by a given ratio in each direction.\n // For example, a ratio of 0.5 extends the bounds by 50% in each direction.\n // Negative values will retract the bounds.\n pad: function (bufferRatio) {\n var sw = this._southWest,\n ne = this._northEast,\n heightBuffer = Math.abs(sw.lat - ne.lat) * bufferRatio,\n widthBuffer = Math.abs(sw.lng - ne.lng) * bufferRatio;\n return new LatLngBounds(new LatLng(sw.lat - heightBuffer, sw.lng - widthBuffer), new LatLng(ne.lat + heightBuffer, ne.lng + widthBuffer));\n },\n // @method getCenter(): LatLng\n // Returns the center point of the bounds.\n getCenter: function () {\n return new LatLng((this._southWest.lat + this._northEast.lat) / 2, (this._southWest.lng + this._northEast.lng) / 2);\n },\n // @method getSouthWest(): LatLng\n // Returns the south-west point of the bounds.\n getSouthWest: function () {\n return this._southWest;\n },\n // @method getNorthEast(): LatLng\n // Returns the north-east point of the bounds.\n getNorthEast: function () {\n return this._northEast;\n },\n // @method getNorthWest(): LatLng\n // Returns the north-west point of the bounds.\n getNorthWest: function () {\n return new LatLng(this.getNorth(), this.getWest());\n },\n // @method getSouthEast(): LatLng\n // Returns the south-east point of the bounds.\n getSouthEast: function () {\n return new LatLng(this.getSouth(), this.getEast());\n },\n // @method getWest(): Number\n // Returns the west longitude of the bounds\n getWest: function () {\n return this._southWest.lng;\n },\n // @method getSouth(): Number\n // Returns the south latitude of the bounds\n getSouth: function () {\n return this._southWest.lat;\n },\n // @method getEast(): Number\n // Returns the east longitude of the bounds\n getEast: function () {\n return this._northEast.lng;\n },\n // @method getNorth(): Number\n // Returns the north latitude of the bounds\n getNorth: function () {\n return this._northEast.lat;\n },\n // @method contains(otherBounds: LatLngBounds): Boolean\n // Returns `true` if the rectangle contains the given one.\n\n // @alternative\n // @method contains (latlng: LatLng): Boolean\n // Returns `true` if the rectangle contains the given point.\n contains: function (obj) {\n // (LatLngBounds) or (LatLng) -> Boolean\n if (typeof obj[0] === 'number' || obj instanceof LatLng || 'lat' in obj) {\n obj = toLatLng(obj);\n } else {\n obj = toLatLngBounds(obj);\n }\n var sw = this._southWest,\n ne = this._northEast,\n sw2,\n ne2;\n if (obj instanceof LatLngBounds) {\n sw2 = obj.getSouthWest();\n ne2 = obj.getNorthEast();\n } else {\n sw2 = ne2 = obj;\n }\n return sw2.lat >= sw.lat && ne2.lat <= ne.lat && sw2.lng >= sw.lng && ne2.lng <= ne.lng;\n },\n // @method intersects(otherBounds: LatLngBounds): Boolean\n // Returns `true` if the rectangle intersects the given bounds. Two bounds intersect if they have at least one point in common.\n intersects: function (bounds) {\n bounds = toLatLngBounds(bounds);\n var sw = this._southWest,\n ne = this._northEast,\n sw2 = bounds.getSouthWest(),\n ne2 = bounds.getNorthEast(),\n latIntersects = ne2.lat >= sw.lat && sw2.lat <= ne.lat,\n lngIntersects = ne2.lng >= sw.lng && sw2.lng <= ne.lng;\n return latIntersects && lngIntersects;\n },\n // @method overlaps(otherBounds: LatLngBounds): Boolean\n // Returns `true` if the rectangle overlaps the given bounds. Two bounds overlap if their intersection is an area.\n overlaps: function (bounds) {\n bounds = toLatLngBounds(bounds);\n var sw = this._southWest,\n ne = this._northEast,\n sw2 = bounds.getSouthWest(),\n ne2 = bounds.getNorthEast(),\n latOverlaps = ne2.lat > sw.lat && sw2.lat < ne.lat,\n lngOverlaps = ne2.lng > sw.lng && sw2.lng < ne.lng;\n return latOverlaps && lngOverlaps;\n },\n // @method toBBoxString(): String\n // Returns a string with bounding box coordinates in a 'southwest_lng,southwest_lat,northeast_lng,northeast_lat' format. Useful for sending requests to web services that return geo data.\n toBBoxString: function () {\n return [this.getWest(), this.getSouth(), this.getEast(), this.getNorth()].join(',');\n },\n // @method equals(otherBounds: LatLngBounds, maxMargin?: Number): Boolean\n // Returns `true` if the rectangle is equivalent (within a small margin of error) to the given bounds. The margin of error can be overridden by setting `maxMargin` to a small number.\n equals: function (bounds, maxMargin) {\n if (!bounds) {\n return false;\n }\n bounds = toLatLngBounds(bounds);\n return this._southWest.equals(bounds.getSouthWest(), maxMargin) && this._northEast.equals(bounds.getNorthEast(), maxMargin);\n },\n // @method isValid(): Boolean\n // Returns `true` if the bounds are properly initialized.\n isValid: function () {\n return !!(this._southWest && this._northEast);\n }\n };\n\n // TODO International date line?\n\n // @factory L.latLngBounds(corner1: LatLng, corner2: LatLng)\n // Creates a `LatLngBounds` object by defining two diagonally opposite corners of the rectangle.\n\n // @alternative\n // @factory L.latLngBounds(latlngs: LatLng[])\n // Creates a `LatLngBounds` object defined by the geographical points it contains. Very useful for zooming the map to fit a particular set of locations with [`fitBounds`](#map-fitbounds).\n function toLatLngBounds(a, b) {\n if (a instanceof LatLngBounds) {\n return a;\n }\n return new LatLngBounds(a, b);\n }\n\n /* @class LatLng\r\n * @aka L.LatLng\r\n *\r\n * Represents a geographical point with a certain latitude and longitude.\r\n *\r\n * @example\r\n *\r\n * ```\r\n * var latlng = L.latLng(50.5, 30.5);\r\n * ```\r\n *\r\n * All Leaflet methods that accept LatLng objects also accept them in a simple Array form and simple object form (unless noted otherwise), so these lines are equivalent:\r\n *\r\n * ```\r\n * map.panTo([50, 30]);\r\n * map.panTo({lon: 30, lat: 50});\r\n * map.panTo({lat: 50, lng: 30});\r\n * map.panTo(L.latLng(50, 30));\r\n * ```\r\n *\r\n * Note that `LatLng` does not inherit from Leaflet's `Class` object,\r\n * which means new classes can't inherit from it, and new methods\r\n * can't be added to it with the `include` function.\r\n */\n\n function LatLng(lat, lng, alt) {\n if (isNaN(lat) || isNaN(lng)) {\n throw new Error('Invalid LatLng object: (' + lat + ', ' + lng + ')');\n }\n\n // @property lat: Number\n // Latitude in degrees\n this.lat = +lat;\n\n // @property lng: Number\n // Longitude in degrees\n this.lng = +lng;\n\n // @property alt: Number\n // Altitude in meters (optional)\n if (alt !== undefined) {\n this.alt = +alt;\n }\n }\n LatLng.prototype = {\n // @method equals(otherLatLng: LatLng, maxMargin?: Number): Boolean\n // Returns `true` if the given `LatLng` point is at the same position (within a small margin of error). The margin of error can be overridden by setting `maxMargin` to a small number.\n equals: function (obj, maxMargin) {\n if (!obj) {\n return false;\n }\n obj = toLatLng(obj);\n var margin = Math.max(Math.abs(this.lat - obj.lat), Math.abs(this.lng - obj.lng));\n return margin <= (maxMargin === undefined ? 1.0E-9 : maxMargin);\n },\n // @method toString(): String\n // Returns a string representation of the point (for debugging purposes).\n toString: function (precision) {\n return 'LatLng(' + formatNum(this.lat, precision) + ', ' + formatNum(this.lng, precision) + ')';\n },\n // @method distanceTo(otherLatLng: LatLng): Number\n // Returns the distance (in meters) to the given `LatLng` calculated using the [Spherical Law of Cosines](https://en.wikipedia.org/wiki/Spherical_law_of_cosines).\n distanceTo: function (other) {\n return Earth.distance(this, toLatLng(other));\n },\n // @method wrap(): LatLng\n // Returns a new `LatLng` object with the longitude wrapped so it's always between -180 and +180 degrees.\n wrap: function () {\n return Earth.wrapLatLng(this);\n },\n // @method toBounds(sizeInMeters: Number): LatLngBounds\n // Returns a new `LatLngBounds` object in which each boundary is `sizeInMeters/2` meters apart from the `LatLng`.\n toBounds: function (sizeInMeters) {\n var latAccuracy = 180 * sizeInMeters / 40075017,\n lngAccuracy = latAccuracy / Math.cos(Math.PI / 180 * this.lat);\n return toLatLngBounds([this.lat - latAccuracy, this.lng - lngAccuracy], [this.lat + latAccuracy, this.lng + lngAccuracy]);\n },\n clone: function () {\n return new LatLng(this.lat, this.lng, this.alt);\n }\n };\n\n // @factory L.latLng(latitude: Number, longitude: Number, altitude?: Number): LatLng\n // Creates an object representing a geographical point with the given latitude and longitude (and optionally altitude).\n\n // @alternative\n // @factory L.latLng(coords: Array): LatLng\n // Expects an array of the form `[Number, Number]` or `[Number, Number, Number]` instead.\n\n // @alternative\n // @factory L.latLng(coords: Object): LatLng\n // Expects an plain object of the form `{lat: Number, lng: Number}` or `{lat: Number, lng: Number, alt: Number}` instead.\n\n function toLatLng(a, b, c) {\n if (a instanceof LatLng) {\n return a;\n }\n if (isArray(a) && typeof a[0] !== 'object') {\n if (a.length === 3) {\n return new LatLng(a[0], a[1], a[2]);\n }\n if (a.length === 2) {\n return new LatLng(a[0], a[1]);\n }\n return null;\n }\n if (a === undefined || a === null) {\n return a;\n }\n if (typeof a === 'object' && 'lat' in a) {\n return new LatLng(a.lat, 'lng' in a ? a.lng : a.lon, a.alt);\n }\n if (b === undefined) {\n return null;\n }\n return new LatLng(a, b, c);\n }\n\n /*\r\n * @namespace CRS\r\n * @crs L.CRS.Base\r\n * Object that defines coordinate reference systems for projecting\r\n * geographical points into pixel (screen) coordinates and back (and to\r\n * coordinates in other units for [WMS](https://en.wikipedia.org/wiki/Web_Map_Service) services). See\r\n * [spatial reference system](https://en.wikipedia.org/wiki/Spatial_reference_system).\r\n *\r\n * Leaflet defines the most usual CRSs by default. If you want to use a\r\n * CRS not defined by default, take a look at the\r\n * [Proj4Leaflet](https://github.com/kartena/Proj4Leaflet) plugin.\r\n *\r\n * Note that the CRS instances do not inherit from Leaflet's `Class` object,\r\n * and can't be instantiated. Also, new classes can't inherit from them,\r\n * and methods can't be added to them with the `include` function.\r\n */\n\n var CRS = {\n // @method latLngToPoint(latlng: LatLng, zoom: Number): Point\n // Projects geographical coordinates into pixel coordinates for a given zoom.\n latLngToPoint: function (latlng, zoom) {\n var projectedPoint = this.projection.project(latlng),\n scale = this.scale(zoom);\n return this.transformation._transform(projectedPoint, scale);\n },\n // @method pointToLatLng(point: Point, zoom: Number): LatLng\n // The inverse of `latLngToPoint`. Projects pixel coordinates on a given\n // zoom into geographical coordinates.\n pointToLatLng: function (point, zoom) {\n var scale = this.scale(zoom),\n untransformedPoint = this.transformation.untransform(point, scale);\n return this.projection.unproject(untransformedPoint);\n },\n // @method project(latlng: LatLng): Point\n // Projects geographical coordinates into coordinates in units accepted for\n // this CRS (e.g. meters for EPSG:3857, for passing it to WMS services).\n project: function (latlng) {\n return this.projection.project(latlng);\n },\n // @method unproject(point: Point): LatLng\n // Given a projected coordinate returns the corresponding LatLng.\n // The inverse of `project`.\n unproject: function (point) {\n return this.projection.unproject(point);\n },\n // @method scale(zoom: Number): Number\n // Returns the scale used when transforming projected coordinates into\n // pixel coordinates for a particular zoom. For example, it returns\n // `256 * 2^zoom` for Mercator-based CRS.\n scale: function (zoom) {\n return 256 * Math.pow(2, zoom);\n },\n // @method zoom(scale: Number): Number\n // Inverse of `scale()`, returns the zoom level corresponding to a scale\n // factor of `scale`.\n zoom: function (scale) {\n return Math.log(scale / 256) / Math.LN2;\n },\n // @method getProjectedBounds(zoom: Number): Bounds\n // Returns the projection's bounds scaled and transformed for the provided `zoom`.\n getProjectedBounds: function (zoom) {\n if (this.infinite) {\n return null;\n }\n var b = this.projection.bounds,\n s = this.scale(zoom),\n min = this.transformation.transform(b.min, s),\n max = this.transformation.transform(b.max, s);\n return new Bounds(min, max);\n },\n // @method distance(latlng1: LatLng, latlng2: LatLng): Number\n // Returns the distance between two geographical coordinates.\n\n // @property code: String\n // Standard code name of the CRS passed into WMS services (e.g. `'EPSG:3857'`)\n //\n // @property wrapLng: Number[]\n // An array of two numbers defining whether the longitude (horizontal) coordinate\n // axis wraps around a given range and how. Defaults to `[-180, 180]` in most\n // geographical CRSs. If `undefined`, the longitude axis does not wrap around.\n //\n // @property wrapLat: Number[]\n // Like `wrapLng`, but for the latitude (vertical) axis.\n\n // wrapLng: [min, max],\n // wrapLat: [min, max],\n\n // @property infinite: Boolean\n // If true, the coordinate space will be unbounded (infinite in both axes)\n infinite: false,\n // @method wrapLatLng(latlng: LatLng): LatLng\n // Returns a `LatLng` where lat and lng has been wrapped according to the\n // CRS's `wrapLat` and `wrapLng` properties, if they are outside the CRS's bounds.\n wrapLatLng: function (latlng) {\n var lng = this.wrapLng ? wrapNum(latlng.lng, this.wrapLng, true) : latlng.lng,\n lat = this.wrapLat ? wrapNum(latlng.lat, this.wrapLat, true) : latlng.lat,\n alt = latlng.alt;\n return new LatLng(lat, lng, alt);\n },\n // @method wrapLatLngBounds(bounds: LatLngBounds): LatLngBounds\n // Returns a `LatLngBounds` with the same size as the given one, ensuring\n // that its center is within the CRS's bounds.\n // Only accepts actual `L.LatLngBounds` instances, not arrays.\n wrapLatLngBounds: function (bounds) {\n var center = bounds.getCenter(),\n newCenter = this.wrapLatLng(center),\n latShift = center.lat - newCenter.lat,\n lngShift = center.lng - newCenter.lng;\n if (latShift === 0 && lngShift === 0) {\n return bounds;\n }\n var sw = bounds.getSouthWest(),\n ne = bounds.getNorthEast(),\n newSw = new LatLng(sw.lat - latShift, sw.lng - lngShift),\n newNe = new LatLng(ne.lat - latShift, ne.lng - lngShift);\n return new LatLngBounds(newSw, newNe);\n }\n };\n\n /*\n * @namespace CRS\n * @crs L.CRS.Earth\n *\n * Serves as the base for CRS that are global such that they cover the earth.\n * Can only be used as the base for other CRS and cannot be used directly,\n * since it does not have a `code`, `projection` or `transformation`. `distance()` returns\n * meters.\n */\n\n var Earth = extend({}, CRS, {\n wrapLng: [-180, 180],\n // Mean Earth Radius, as recommended for use by\n // the International Union of Geodesy and Geophysics,\n // see https://rosettacode.org/wiki/Haversine_formula\n R: 6371000,\n // distance between two geographical points using spherical law of cosines approximation\n distance: function (latlng1, latlng2) {\n var rad = Math.PI / 180,\n lat1 = latlng1.lat * rad,\n lat2 = latlng2.lat * rad,\n sinDLat = Math.sin((latlng2.lat - latlng1.lat) * rad / 2),\n sinDLon = Math.sin((latlng2.lng - latlng1.lng) * rad / 2),\n a = sinDLat * sinDLat + Math.cos(lat1) * Math.cos(lat2) * sinDLon * sinDLon,\n c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));\n return this.R * c;\n }\n });\n\n /*\r\n * @namespace Projection\r\n * @projection L.Projection.SphericalMercator\r\n *\r\n * Spherical Mercator projection â the most common projection for online maps,\r\n * used by almost all free and commercial tile providers. Assumes that Earth is\r\n * a sphere. Used by the `EPSG:3857` CRS.\r\n */\n\n var earthRadius = 6378137;\n var SphericalMercator = {\n R: earthRadius,\n MAX_LATITUDE: 85.0511287798,\n project: function (latlng) {\n var d = Math.PI / 180,\n max = this.MAX_LATITUDE,\n lat = Math.max(Math.min(max, latlng.lat), -max),\n sin = Math.sin(lat * d);\n return new Point(this.R * latlng.lng * d, this.R * Math.log((1 + sin) / (1 - sin)) / 2);\n },\n unproject: function (point) {\n var d = 180 / Math.PI;\n return new LatLng((2 * Math.atan(Math.exp(point.y / this.R)) - Math.PI / 2) * d, point.x * d / this.R);\n },\n bounds: function () {\n var d = earthRadius * Math.PI;\n return new Bounds([-d, -d], [d, d]);\n }()\n };\n\n /*\r\n * @class Transformation\r\n * @aka L.Transformation\r\n *\r\n * Represents an affine transformation: a set of coefficients `a`, `b`, `c`, `d`\r\n * for transforming a point of a form `(x, y)` into `(a*x + b, c*y + d)` and doing\r\n * the reverse. Used by Leaflet in its projections code.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var transformation = L.transformation(2, 5, -1, 10),\r\n * \tp = L.point(1, 2),\r\n * \tp2 = transformation.transform(p), // L.point(7, 8)\r\n * \tp3 = transformation.untransform(p2); // L.point(1, 2)\r\n * ```\r\n */\n\n // factory new L.Transformation(a: Number, b: Number, c: Number, d: Number)\n // Creates a `Transformation` object with the given coefficients.\n function Transformation(a, b, c, d) {\n if (isArray(a)) {\n // use array properties\n this._a = a[0];\n this._b = a[1];\n this._c = a[2];\n this._d = a[3];\n return;\n }\n this._a = a;\n this._b = b;\n this._c = c;\n this._d = d;\n }\n Transformation.prototype = {\n // @method transform(point: Point, scale?: Number): Point\n // Returns a transformed point, optionally multiplied by the given scale.\n // Only accepts actual `L.Point` instances, not arrays.\n transform: function (point, scale) {\n // (Point, Number) -> Point\n return this._transform(point.clone(), scale);\n },\n // destructive transform (faster)\n _transform: function (point, scale) {\n scale = scale || 1;\n point.x = scale * (this._a * point.x + this._b);\n point.y = scale * (this._c * point.y + this._d);\n return point;\n },\n // @method untransform(point: Point, scale?: Number): Point\n // Returns the reverse transformation of the given point, optionally divided\n // by the given scale. Only accepts actual `L.Point` instances, not arrays.\n untransform: function (point, scale) {\n scale = scale || 1;\n return new Point((point.x / scale - this._b) / this._a, (point.y / scale - this._d) / this._c);\n }\n };\n\n // factory L.transformation(a: Number, b: Number, c: Number, d: Number)\n\n // @factory L.transformation(a: Number, b: Number, c: Number, d: Number)\n // Instantiates a Transformation object with the given coefficients.\n\n // @alternative\n // @factory L.transformation(coefficients: Array): Transformation\n // Expects an coefficients array of the form\n // `[a: Number, b: Number, c: Number, d: Number]`.\n\n function toTransformation(a, b, c, d) {\n return new Transformation(a, b, c, d);\n }\n\n /*\r\n * @namespace CRS\r\n * @crs L.CRS.EPSG3857\r\n *\r\n * The most common CRS for online maps, used by almost all free and commercial\r\n * tile providers. Uses Spherical Mercator projection. Set in by default in\r\n * Map's `crs` option.\r\n */\n\n var EPSG3857 = extend({}, Earth, {\n code: 'EPSG:3857',\n projection: SphericalMercator,\n transformation: function () {\n var scale = 0.5 / (Math.PI * SphericalMercator.R);\n return toTransformation(scale, 0.5, -scale, 0.5);\n }()\n });\n var EPSG900913 = extend({}, EPSG3857, {\n code: 'EPSG:900913'\n });\n\n // @namespace SVG; @section\n // There are several static functions which can be called without instantiating L.SVG:\n\n // @function create(name: String): SVGElement\n // Returns a instance of [SVGElement](https://developer.mozilla.org/docs/Web/API/SVGElement),\n // corresponding to the class name passed. For example, using 'line' will return\n // an instance of [SVGLineElement](https://developer.mozilla.org/docs/Web/API/SVGLineElement).\n function svgCreate(name) {\n return document.createElementNS('http://www.w3.org/2000/svg', name);\n }\n\n // @function pointsToPath(rings: Point[], closed: Boolean): String\n // Generates a SVG path string for multiple rings, with each ring turning\n // into \"M..L..L..\" instructions\n function pointsToPath(rings, closed) {\n var str = '',\n i,\n j,\n len,\n len2,\n points,\n p;\n for (i = 0, len = rings.length; i < len; i++) {\n points = rings[i];\n for (j = 0, len2 = points.length; j < len2; j++) {\n p = points[j];\n str += (j ? 'L' : 'M') + p.x + ' ' + p.y;\n }\n\n // closes the ring for polygons; \"x\" is VML syntax\n str += closed ? Browser.svg ? 'z' : 'x' : '';\n }\n\n // SVG complains about empty path strings\n return str || 'M0 0';\n }\n\n /*\r\n * @namespace Browser\r\n * @aka L.Browser\r\n *\r\n * A namespace with static properties for browser/feature detection used by Leaflet internally.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * if (L.Browser.ielt9) {\r\n * alert('Upgrade your browser, dude!');\r\n * }\r\n * ```\r\n */\n\n var style = document.documentElement.style;\n\n // @property ie: Boolean; `true` for all Internet Explorer versions (not Edge).\n var ie = ('ActiveXObject' in window);\n\n // @property ielt9: Boolean; `true` for Internet Explorer versions less than 9.\n var ielt9 = ie && !document.addEventListener;\n\n // @property edge: Boolean; `true` for the Edge web browser.\n var edge = 'msLaunchUri' in navigator && !('documentMode' in document);\n\n // @property webkit: Boolean;\n // `true` for webkit-based browsers like Chrome and Safari (including mobile versions).\n var webkit = userAgentContains('webkit');\n\n // @property android: Boolean\n // **Deprecated.** `true` for any browser running on an Android platform.\n var android = userAgentContains('android');\n\n // @property android23: Boolean; **Deprecated.** `true` for browsers running on Android 2 or Android 3.\n var android23 = userAgentContains('android 2') || userAgentContains('android 3');\n\n /* See https://stackoverflow.com/a/17961266 for details on detecting stock Android */\n var webkitVer = parseInt(/WebKit\\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10); // also matches AppleWebKit\n // @property androidStock: Boolean; **Deprecated.** `true` for the Android stock browser (i.e. not Chrome)\n var androidStock = android && userAgentContains('Google') && webkitVer < 537 && !('AudioNode' in window);\n\n // @property opera: Boolean; `true` for the Opera browser\n var opera = !!window.opera;\n\n // @property chrome: Boolean; `true` for the Chrome browser.\n var chrome = !edge && userAgentContains('chrome');\n\n // @property gecko: Boolean; `true` for gecko-based browsers like Firefox.\n var gecko = userAgentContains('gecko') && !webkit && !opera && !ie;\n\n // @property safari: Boolean; `true` for the Safari browser.\n var safari = !chrome && userAgentContains('safari');\n var phantom = userAgentContains('phantom');\n\n // @property opera12: Boolean\n // `true` for the Opera browser supporting CSS transforms (version 12 or later).\n var opera12 = ('OTransition' in style);\n\n // @property win: Boolean; `true` when the browser is running in a Windows platform\n var win = navigator.platform.indexOf('Win') === 0;\n\n // @property ie3d: Boolean; `true` for all Internet Explorer versions supporting CSS transforms.\n var ie3d = ie && 'transition' in style;\n\n // @property webkit3d: Boolean; `true` for webkit-based browsers supporting CSS transforms.\n var webkit3d = 'WebKitCSSMatrix' in window && 'm11' in new window.WebKitCSSMatrix() && !android23;\n\n // @property gecko3d: Boolean; `true` for gecko-based browsers supporting CSS transforms.\n var gecko3d = ('MozPerspective' in style);\n\n // @property any3d: Boolean\n // `true` for all browsers supporting CSS transforms.\n var any3d = !window.L_DISABLE_3D && (ie3d || webkit3d || gecko3d) && !opera12 && !phantom;\n\n // @property mobile: Boolean; `true` for all browsers running in a mobile device.\n var mobile = typeof orientation !== 'undefined' || userAgentContains('mobile');\n\n // @property mobileWebkit: Boolean; `true` for all webkit-based browsers in a mobile device.\n var mobileWebkit = mobile && webkit;\n\n // @property mobileWebkit3d: Boolean\n // `true` for all webkit-based browsers in a mobile device supporting CSS transforms.\n var mobileWebkit3d = mobile && webkit3d;\n\n // @property msPointer: Boolean\n // `true` for browsers implementing the Microsoft touch events model (notably IE10).\n var msPointer = !window.PointerEvent && window.MSPointerEvent;\n\n // @property pointer: Boolean\n // `true` for all browsers supporting [pointer events](https://msdn.microsoft.com/en-us/library/dn433244%28v=vs.85%29.aspx).\n var pointer = !!(window.PointerEvent || msPointer);\n\n // @property touchNative: Boolean\n // `true` for all browsers supporting [touch events](https://developer.mozilla.org/docs/Web/API/Touch_events).\n // **This does not necessarily mean** that the browser is running in a computer with\n // a touchscreen, it only means that the browser is capable of understanding\n // touch events.\n var touchNative = 'ontouchstart' in window || !!window.TouchEvent;\n\n // @property touch: Boolean\n // `true` for all browsers supporting either [touch](#browser-touch) or [pointer](#browser-pointer) events.\n // Note: pointer events will be preferred (if available), and processed for all `touch*` listeners.\n var touch = !window.L_NO_TOUCH && (touchNative || pointer);\n\n // @property mobileOpera: Boolean; `true` for the Opera browser in a mobile device.\n var mobileOpera = mobile && opera;\n\n // @property mobileGecko: Boolean\n // `true` for gecko-based browsers running in a mobile device.\n var mobileGecko = mobile && gecko;\n\n // @property retina: Boolean\n // `true` for browsers on a high-resolution \"retina\" screen or on any screen when browser's display zoom is more than 100%.\n var retina = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1;\n\n // @property passiveEvents: Boolean\n // `true` for browsers that support passive events.\n var passiveEvents = function () {\n var supportsPassiveOption = false;\n try {\n var opts = Object.defineProperty({}, 'passive', {\n get: function () {\n // eslint-disable-line getter-return\n supportsPassiveOption = true;\n }\n });\n window.addEventListener('testPassiveEventSupport', falseFn, opts);\n window.removeEventListener('testPassiveEventSupport', falseFn, opts);\n } catch (e) {\n // Errors can safely be ignored since this is only a browser support test.\n }\n return supportsPassiveOption;\n }();\n\n // @property canvas: Boolean\n // `true` when the browser supports [`<canvas>`](https://developer.mozilla.org/docs/Web/API/Canvas_API).\n var canvas$1 = function () {\n return !!document.createElement('canvas').getContext;\n }();\n\n // @property svg: Boolean\n // `true` when the browser supports [SVG](https://developer.mozilla.org/docs/Web/SVG).\n var svg$1 = !!(document.createElementNS && svgCreate('svg').createSVGRect);\n var inlineSvg = !!svg$1 && function () {\n var div = document.createElement('div');\n div.innerHTML = '<svg/>';\n return (div.firstChild && div.firstChild.namespaceURI) === 'http://www.w3.org/2000/svg';\n }();\n\n // @property vml: Boolean\n // `true` if the browser supports [VML](https://en.wikipedia.org/wiki/Vector_Markup_Language).\n var vml = !svg$1 && function () {\n try {\n var div = document.createElement('div');\n div.innerHTML = '<v:shape adj=\"1\"/>';\n var shape = div.firstChild;\n shape.style.behavior = 'url(#default#VML)';\n return shape && typeof shape.adj === 'object';\n } catch (e) {\n return false;\n }\n }();\n\n // @property mac: Boolean; `true` when the browser is running in a Mac platform\n var mac = navigator.platform.indexOf('Mac') === 0;\n\n // @property mac: Boolean; `true` when the browser is running in a Linux platform\n var linux = navigator.platform.indexOf('Linux') === 0;\n function userAgentContains(str) {\n return navigator.userAgent.toLowerCase().indexOf(str) >= 0;\n }\n var Browser = {\n ie: ie,\n ielt9: ielt9,\n edge: edge,\n webkit: webkit,\n android: android,\n android23: android23,\n androidStock: androidStock,\n opera: opera,\n chrome: chrome,\n gecko: gecko,\n safari: safari,\n phantom: phantom,\n opera12: opera12,\n win: win,\n ie3d: ie3d,\n webkit3d: webkit3d,\n gecko3d: gecko3d,\n any3d: any3d,\n mobile: mobile,\n mobileWebkit: mobileWebkit,\n mobileWebkit3d: mobileWebkit3d,\n msPointer: msPointer,\n pointer: pointer,\n touch: touch,\n touchNative: touchNative,\n mobileOpera: mobileOpera,\n mobileGecko: mobileGecko,\n retina: retina,\n passiveEvents: passiveEvents,\n canvas: canvas$1,\n svg: svg$1,\n vml: vml,\n inlineSvg: inlineSvg,\n mac: mac,\n linux: linux\n };\n\n /*\n * Extends L.DomEvent to provide touch support for Internet Explorer and Windows-based devices.\n */\n\n var POINTER_DOWN = Browser.msPointer ? 'MSPointerDown' : 'pointerdown';\n var POINTER_MOVE = Browser.msPointer ? 'MSPointerMove' : 'pointermove';\n var POINTER_UP = Browser.msPointer ? 'MSPointerUp' : 'pointerup';\n var POINTER_CANCEL = Browser.msPointer ? 'MSPointerCancel' : 'pointercancel';\n var pEvent = {\n touchstart: POINTER_DOWN,\n touchmove: POINTER_MOVE,\n touchend: POINTER_UP,\n touchcancel: POINTER_CANCEL\n };\n var handle = {\n touchstart: _onPointerStart,\n touchmove: _handlePointer,\n touchend: _handlePointer,\n touchcancel: _handlePointer\n };\n var _pointers = {};\n var _pointerDocListener = false;\n\n // Provides a touch events wrapper for (ms)pointer events.\n // ref https://www.w3.org/TR/pointerevents/ https://www.w3.org/Bugs/Public/show_bug.cgi?id=22890\n\n function addPointerListener(obj, type, handler) {\n if (type === 'touchstart') {\n _addPointerDocListener();\n }\n if (!handle[type]) {\n console.warn('wrong event specified:', type);\n return falseFn;\n }\n handler = handle[type].bind(this, handler);\n obj.addEventListener(pEvent[type], handler, false);\n return handler;\n }\n function removePointerListener(obj, type, handler) {\n if (!pEvent[type]) {\n console.warn('wrong event specified:', type);\n return;\n }\n obj.removeEventListener(pEvent[type], handler, false);\n }\n function _globalPointerDown(e) {\n _pointers[e.pointerId] = e;\n }\n function _globalPointerMove(e) {\n if (_pointers[e.pointerId]) {\n _pointers[e.pointerId] = e;\n }\n }\n function _globalPointerUp(e) {\n delete _pointers[e.pointerId];\n }\n function _addPointerDocListener() {\n // need to keep track of what pointers and how many are active to provide e.touches emulation\n if (!_pointerDocListener) {\n // we listen document as any drags that end by moving the touch off the screen get fired there\n document.addEventListener(POINTER_DOWN, _globalPointerDown, true);\n document.addEventListener(POINTER_MOVE, _globalPointerMove, true);\n document.addEventListener(POINTER_UP, _globalPointerUp, true);\n document.addEventListener(POINTER_CANCEL, _globalPointerUp, true);\n _pointerDocListener = true;\n }\n }\n function _handlePointer(handler, e) {\n if (e.pointerType === (e.MSPOINTER_TYPE_MOUSE || 'mouse')) {\n return;\n }\n e.touches = [];\n for (var i in _pointers) {\n e.touches.push(_pointers[i]);\n }\n e.changedTouches = [e];\n handler(e);\n }\n function _onPointerStart(handler, e) {\n // IE10 specific: MsTouch needs preventDefault. See #2000\n if (e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH) {\n preventDefault(e);\n }\n _handlePointer(handler, e);\n }\n\n /*\r\n * Extends the event handling code with double tap support for mobile browsers.\r\n *\r\n * Note: currently most browsers fire native dblclick, with only a few exceptions\r\n * (see https://github.com/Leaflet/Leaflet/issues/7012#issuecomment-595087386)\r\n */\n\n function makeDblclick(event) {\n // in modern browsers `type` cannot be just overridden:\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Getter_only\n var newEvent = {},\n prop,\n i;\n for (i in event) {\n prop = event[i];\n newEvent[i] = prop && prop.bind ? prop.bind(event) : prop;\n }\n event = newEvent;\n newEvent.type = 'dblclick';\n newEvent.detail = 2;\n newEvent.isTrusted = false;\n newEvent._simulated = true; // for debug purposes\n return newEvent;\n }\n var delay = 200;\n function addDoubleTapListener(obj, handler) {\n // Most browsers handle double tap natively\n obj.addEventListener('dblclick', handler);\n\n // On some platforms the browser doesn't fire native dblclicks for touch events.\n // It seems that in all such cases `detail` property of `click` event is always `1`.\n // So here we rely on that fact to avoid excessive 'dblclick' simulation when not needed.\n var last = 0,\n detail;\n function simDblclick(e) {\n if (e.detail !== 1) {\n detail = e.detail; // keep in sync to avoid false dblclick in some cases\n return;\n }\n if (e.pointerType === 'mouse' || e.sourceCapabilities && !e.sourceCapabilities.firesTouchEvents) {\n return;\n }\n\n // When clicking on an <input>, the browser generates a click on its\n // <label> (and vice versa) triggering two clicks in quick succession.\n // This ignores clicks on elements which are a label with a 'for'\n // attribute (or children of such a label), but not children of\n // a <input>.\n var path = getPropagationPath(e);\n if (path.some(function (el) {\n return el instanceof HTMLLabelElement && el.attributes.for;\n }) && !path.some(function (el) {\n return el instanceof HTMLInputElement || el instanceof HTMLSelectElement;\n })) {\n return;\n }\n var now = Date.now();\n if (now - last <= delay) {\n detail++;\n if (detail === 2) {\n handler(makeDblclick(e));\n }\n } else {\n detail = 1;\n }\n last = now;\n }\n obj.addEventListener('click', simDblclick);\n return {\n dblclick: handler,\n simDblclick: simDblclick\n };\n }\n function removeDoubleTapListener(obj, handlers) {\n obj.removeEventListener('dblclick', handlers.dblclick);\n obj.removeEventListener('click', handlers.simDblclick);\n }\n\n /*\r\n * @namespace DomUtil\r\n *\r\n * Utility functions to work with the [DOM](https://developer.mozilla.org/docs/Web/API/Document_Object_Model)\r\n * tree, used by Leaflet internally.\r\n *\r\n * Most functions expecting or returning a `HTMLElement` also work for\r\n * SVG elements. The only difference is that classes refer to CSS classes\r\n * in HTML and SVG classes in SVG.\r\n */\n\n // @property TRANSFORM: String\n // Vendor-prefixed transform style name (e.g. `'webkitTransform'` for WebKit).\n var TRANSFORM = testProp(['transform', 'webkitTransform', 'OTransform', 'MozTransform', 'msTransform']);\n\n // webkitTransition comes first because some browser versions that drop vendor prefix don't do\n // the same for the transitionend event, in particular the Android 4.1 stock browser\n\n // @property TRANSITION: String\n // Vendor-prefixed transition style name.\n var TRANSITION = testProp(['webkitTransition', 'transition', 'OTransition', 'MozTransition', 'msTransition']);\n\n // @property TRANSITION_END: String\n // Vendor-prefixed transitionend event name.\n var TRANSITION_END = TRANSITION === 'webkitTransition' || TRANSITION === 'OTransition' ? TRANSITION + 'End' : 'transitionend';\n\n // @function get(id: String|HTMLElement): HTMLElement\n // Returns an element given its DOM id, or returns the element itself\n // if it was passed directly.\n function get(id) {\n return typeof id === 'string' ? document.getElementById(id) : id;\n }\n\n // @function getStyle(el: HTMLElement, styleAttrib: String): String\n // Returns the value for a certain style attribute on an element,\n // including computed values or values set through CSS.\n function getStyle(el, style) {\n var value = el.style[style] || el.currentStyle && el.currentStyle[style];\n if ((!value || value === 'auto') && document.defaultView) {\n var css = document.defaultView.getComputedStyle(el, null);\n value = css ? css[style] : null;\n }\n return value === 'auto' ? null : value;\n }\n\n // @function create(tagName: String, className?: String, container?: HTMLElement): HTMLElement\n // Creates an HTML element with `tagName`, sets its class to `className`, and optionally appends it to `container` element.\n function create$1(tagName, className, container) {\n var el = document.createElement(tagName);\n el.className = className || '';\n if (container) {\n container.appendChild(el);\n }\n return el;\n }\n\n // @function remove(el: HTMLElement)\n // Removes `el` from its parent element\n function remove(el) {\n var parent = el.parentNode;\n if (parent) {\n parent.removeChild(el);\n }\n }\n\n // @function empty(el: HTMLElement)\n // Removes all of `el`'s children elements from `el`\n function empty(el) {\n while (el.firstChild) {\n el.removeChild(el.firstChild);\n }\n }\n\n // @function toFront(el: HTMLElement)\n // Makes `el` the last child of its parent, so it renders in front of the other children.\n function toFront(el) {\n var parent = el.parentNode;\n if (parent && parent.lastChild !== el) {\n parent.appendChild(el);\n }\n }\n\n // @function toBack(el: HTMLElement)\n // Makes `el` the first child of its parent, so it renders behind the other children.\n function toBack(el) {\n var parent = el.parentNode;\n if (parent && parent.firstChild !== el) {\n parent.insertBefore(el, parent.firstChild);\n }\n }\n\n // @function hasClass(el: HTMLElement, name: String): Boolean\n // Returns `true` if the element's class attribute contains `name`.\n function hasClass(el, name) {\n if (el.classList !== undefined) {\n return el.classList.contains(name);\n }\n var className = getClass(el);\n return className.length > 0 && new RegExp('(^|\\\\s)' + name + '(\\\\s|$)').test(className);\n }\n\n // @function addClass(el: HTMLElement, name: String)\n // Adds `name` to the element's class attribute.\n function addClass(el, name) {\n if (el.classList !== undefined) {\n var classes = splitWords(name);\n for (var i = 0, len = classes.length; i < len; i++) {\n el.classList.add(classes[i]);\n }\n } else if (!hasClass(el, name)) {\n var className = getClass(el);\n setClass(el, (className ? className + ' ' : '') + name);\n }\n }\n\n // @function removeClass(el: HTMLElement, name: String)\n // Removes `name` from the element's class attribute.\n function removeClass(el, name) {\n if (el.classList !== undefined) {\n el.classList.remove(name);\n } else {\n setClass(el, trim((' ' + getClass(el) + ' ').replace(' ' + name + ' ', ' ')));\n }\n }\n\n // @function setClass(el: HTMLElement, name: String)\n // Sets the element's class.\n function setClass(el, name) {\n if (el.className.baseVal === undefined) {\n el.className = name;\n } else {\n // in case of SVG element\n el.className.baseVal = name;\n }\n }\n\n // @function getClass(el: HTMLElement): String\n // Returns the element's class.\n function getClass(el) {\n // Check if the element is an SVGElementInstance and use the correspondingElement instead\n // (Required for linked SVG elements in IE11.)\n if (el.correspondingElement) {\n el = el.correspondingElement;\n }\n return el.className.baseVal === undefined ? el.className : el.className.baseVal;\n }\n\n // @function setOpacity(el: HTMLElement, opacity: Number)\n // Set the opacity of an element (including old IE support).\n // `opacity` must be a number from `0` to `1`.\n function setOpacity(el, value) {\n if ('opacity' in el.style) {\n el.style.opacity = value;\n } else if ('filter' in el.style) {\n _setOpacityIE(el, value);\n }\n }\n function _setOpacityIE(el, value) {\n var filter = false,\n filterName = 'DXImageTransform.Microsoft.Alpha';\n\n // filters collection throws an error if we try to retrieve a filter that doesn't exist\n try {\n filter = el.filters.item(filterName);\n } catch (e) {\n // don't set opacity to 1 if we haven't already set an opacity,\n // it isn't needed and breaks transparent pngs.\n if (value === 1) {\n return;\n }\n }\n value = Math.round(value * 100);\n if (filter) {\n filter.Enabled = value !== 100;\n filter.Opacity = value;\n } else {\n el.style.filter += ' progid:' + filterName + '(opacity=' + value + ')';\n }\n }\n\n // @function testProp(props: String[]): String|false\n // Goes through the array of style names and returns the first name\n // that is a valid style name for an element. If no such name is found,\n // it returns false. Useful for vendor-prefixed styles like `transform`.\n function testProp(props) {\n var style = document.documentElement.style;\n for (var i = 0; i < props.length; i++) {\n if (props[i] in style) {\n return props[i];\n }\n }\n return false;\n }\n\n // @function setTransform(el: HTMLElement, offset: Point, scale?: Number)\n // Resets the 3D CSS transform of `el` so it is translated by `offset` pixels\n // and optionally scaled by `scale`. Does not have an effect if the\n // browser doesn't support 3D CSS transforms.\n function setTransform(el, offset, scale) {\n var pos = offset || new Point(0, 0);\n el.style[TRANSFORM] = (Browser.ie3d ? 'translate(' + pos.x + 'px,' + pos.y + 'px)' : 'translate3d(' + pos.x + 'px,' + pos.y + 'px,0)') + (scale ? ' scale(' + scale + ')' : '');\n }\n\n // @function setPosition(el: HTMLElement, position: Point)\n // Sets the position of `el` to coordinates specified by `position`,\n // using CSS translate or top/left positioning depending on the browser\n // (used by Leaflet internally to position its layers).\n function setPosition(el, point) {\n /*eslint-disable */\n el._leaflet_pos = point;\n /* eslint-enable */\n\n if (Browser.any3d) {\n setTransform(el, point);\n } else {\n el.style.left = point.x + 'px';\n el.style.top = point.y + 'px';\n }\n }\n\n // @function getPosition(el: HTMLElement): Point\n // Returns the coordinates of an element previously positioned with setPosition.\n function getPosition(el) {\n // this method is only used for elements previously positioned using setPosition,\n // so it's safe to cache the position for performance\n\n return el._leaflet_pos || new Point(0, 0);\n }\n\n // @function disableTextSelection()\n // Prevents the user from generating `selectstart` DOM events, usually generated\n // when the user drags the mouse through a page with text. Used internally\n // by Leaflet to override the behaviour of any click-and-drag interaction on\n // the map. Affects drag interactions on the whole document.\n\n // @function enableTextSelection()\n // Cancels the effects of a previous [`L.DomUtil.disableTextSelection`](#domutil-disabletextselection).\n var disableTextSelection;\n var enableTextSelection;\n var _userSelect;\n if ('onselectstart' in document) {\n disableTextSelection = function () {\n on(window, 'selectstart', preventDefault);\n };\n enableTextSelection = function () {\n off(window, 'selectstart', preventDefault);\n };\n } else {\n var userSelectProperty = testProp(['userSelect', 'WebkitUserSelect', 'OUserSelect', 'MozUserSelect', 'msUserSelect']);\n disableTextSelection = function () {\n if (userSelectProperty) {\n var style = document.documentElement.style;\n _userSelect = style[userSelectProperty];\n style[userSelectProperty] = 'none';\n }\n };\n enableTextSelection = function () {\n if (userSelectProperty) {\n document.documentElement.style[userSelectProperty] = _userSelect;\n _userSelect = undefined;\n }\n };\n }\n\n // @function disableImageDrag()\n // As [`L.DomUtil.disableTextSelection`](#domutil-disabletextselection), but\n // for `dragstart` DOM events, usually generated when the user drags an image.\n function disableImageDrag() {\n on(window, 'dragstart', preventDefault);\n }\n\n // @function enableImageDrag()\n // Cancels the effects of a previous [`L.DomUtil.disableImageDrag`](#domutil-disabletextselection).\n function enableImageDrag() {\n off(window, 'dragstart', preventDefault);\n }\n var _outlineElement, _outlineStyle;\n // @function preventOutline(el: HTMLElement)\n // Makes the [outline](https://developer.mozilla.org/docs/Web/CSS/outline)\n // of the element `el` invisible. Used internally by Leaflet to prevent\n // focusable elements from displaying an outline when the user performs a\n // drag interaction on them.\n function preventOutline(element) {\n while (element.tabIndex === -1) {\n element = element.parentNode;\n }\n if (!element.style) {\n return;\n }\n restoreOutline();\n _outlineElement = element;\n _outlineStyle = element.style.outlineStyle;\n element.style.outlineStyle = 'none';\n on(window, 'keydown', restoreOutline);\n }\n\n // @function restoreOutline()\n // Cancels the effects of a previous [`L.DomUtil.preventOutline`]().\n function restoreOutline() {\n if (!_outlineElement) {\n return;\n }\n _outlineElement.style.outlineStyle = _outlineStyle;\n _outlineElement = undefined;\n _outlineStyle = undefined;\n off(window, 'keydown', restoreOutline);\n }\n\n // @function getSizedParentNode(el: HTMLElement): HTMLElement\n // Finds the closest parent node which size (width and height) is not null.\n function getSizedParentNode(element) {\n do {\n element = element.parentNode;\n } while ((!element.offsetWidth || !element.offsetHeight) && element !== document.body);\n return element;\n }\n\n // @function getScale(el: HTMLElement): Object\n // Computes the CSS scale currently applied on the element.\n // Returns an object with `x` and `y` members as horizontal and vertical scales respectively,\n // and `boundingClientRect` as the result of [`getBoundingClientRect()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect).\n function getScale(element) {\n var rect = element.getBoundingClientRect(); // Read-only in old browsers.\n\n return {\n x: rect.width / element.offsetWidth || 1,\n y: rect.height / element.offsetHeight || 1,\n boundingClientRect: rect\n };\n }\n var DomUtil = {\n __proto__: null,\n TRANSFORM: TRANSFORM,\n TRANSITION: TRANSITION,\n TRANSITION_END: TRANSITION_END,\n get: get,\n getStyle: getStyle,\n create: create$1,\n remove: remove,\n empty: empty,\n toFront: toFront,\n toBack: toBack,\n hasClass: hasClass,\n addClass: addClass,\n removeClass: removeClass,\n setClass: setClass,\n getClass: getClass,\n setOpacity: setOpacity,\n testProp: testProp,\n setTransform: setTransform,\n setPosition: setPosition,\n getPosition: getPosition,\n get disableTextSelection() {\n return disableTextSelection;\n },\n get enableTextSelection() {\n return enableTextSelection;\n },\n disableImageDrag: disableImageDrag,\n enableImageDrag: enableImageDrag,\n preventOutline: preventOutline,\n restoreOutline: restoreOutline,\n getSizedParentNode: getSizedParentNode,\n getScale: getScale\n };\n\n /*\r\n * @namespace DomEvent\r\n * Utility functions to work with the [DOM events](https://developer.mozilla.org/docs/Web/API/Event), used by Leaflet internally.\r\n */\n\n // Inspired by John Resig, Dean Edwards and YUI addEvent implementations.\n\n // @function on(el: HTMLElement, types: String, fn: Function, context?: Object): this\n // Adds a listener function (`fn`) to a particular DOM event type of the\n // element `el`. You can optionally specify the context of the listener\n // (object the `this` keyword will point to). You can also pass several\n // space-separated types (e.g. `'click dblclick'`).\n\n // @alternative\n // @function on(el: HTMLElement, eventMap: Object, context?: Object): this\n // Adds a set of type/listener pairs, e.g. `{click: onClick, mousemove: onMouseMove}`\n function on(obj, types, fn, context) {\n if (types && typeof types === 'object') {\n for (var type in types) {\n addOne(obj, type, types[type], fn);\n }\n } else {\n types = splitWords(types);\n for (var i = 0, len = types.length; i < len; i++) {\n addOne(obj, types[i], fn, context);\n }\n }\n return this;\n }\n var eventsKey = '_leaflet_events';\n\n // @function off(el: HTMLElement, types: String, fn: Function, context?: Object): this\n // Removes a previously added listener function.\n // Note that if you passed a custom context to on, you must pass the same\n // context to `off` in order to remove the listener.\n\n // @alternative\n // @function off(el: HTMLElement, eventMap: Object, context?: Object): this\n // Removes a set of type/listener pairs, e.g. `{click: onClick, mousemove: onMouseMove}`\n\n // @alternative\n // @function off(el: HTMLElement, types: String): this\n // Removes all previously added listeners of given types.\n\n // @alternative\n // @function off(el: HTMLElement): this\n // Removes all previously added listeners from given HTMLElement\n function off(obj, types, fn, context) {\n if (arguments.length === 1) {\n batchRemove(obj);\n delete obj[eventsKey];\n } else if (types && typeof types === 'object') {\n for (var type in types) {\n removeOne(obj, type, types[type], fn);\n }\n } else {\n types = splitWords(types);\n if (arguments.length === 2) {\n batchRemove(obj, function (type) {\n return indexOf(types, type) !== -1;\n });\n } else {\n for (var i = 0, len = types.length; i < len; i++) {\n removeOne(obj, types[i], fn, context);\n }\n }\n }\n return this;\n }\n function batchRemove(obj, filterFn) {\n for (var id in obj[eventsKey]) {\n var type = id.split(/\\d/)[0];\n if (!filterFn || filterFn(type)) {\n removeOne(obj, type, null, null, id);\n }\n }\n }\n var mouseSubst = {\n mouseenter: 'mouseover',\n mouseleave: 'mouseout',\n wheel: !('onwheel' in window) && 'mousewheel'\n };\n function addOne(obj, type, fn, context) {\n var id = type + stamp(fn) + (context ? '_' + stamp(context) : '');\n if (obj[eventsKey] && obj[eventsKey][id]) {\n return this;\n }\n var handler = function (e) {\n return fn.call(context || obj, e || window.event);\n };\n var originalHandler = handler;\n if (!Browser.touchNative && Browser.pointer && type.indexOf('touch') === 0) {\n // Needs DomEvent.Pointer.js\n handler = addPointerListener(obj, type, handler);\n } else if (Browser.touch && type === 'dblclick') {\n handler = addDoubleTapListener(obj, handler);\n } else if ('addEventListener' in obj) {\n if (type === 'touchstart' || type === 'touchmove' || type === 'wheel' || type === 'mousewheel') {\n obj.addEventListener(mouseSubst[type] || type, handler, Browser.passiveEvents ? {\n passive: false\n } : false);\n } else if (type === 'mouseenter' || type === 'mouseleave') {\n handler = function (e) {\n e = e || window.event;\n if (isExternalTarget(obj, e)) {\n originalHandler(e);\n }\n };\n obj.addEventListener(mouseSubst[type], handler, false);\n } else {\n obj.addEventListener(type, originalHandler, false);\n }\n } else {\n obj.attachEvent('on' + type, handler);\n }\n obj[eventsKey] = obj[eventsKey] || {};\n obj[eventsKey][id] = handler;\n }\n function removeOne(obj, type, fn, context, id) {\n id = id || type + stamp(fn) + (context ? '_' + stamp(context) : '');\n var handler = obj[eventsKey] && obj[eventsKey][id];\n if (!handler) {\n return this;\n }\n if (!Browser.touchNative && Browser.pointer && type.indexOf('touch') === 0) {\n removePointerListener(obj, type, handler);\n } else if (Browser.touch && type === 'dblclick') {\n removeDoubleTapListener(obj, handler);\n } else if ('removeEventListener' in obj) {\n obj.removeEventListener(mouseSubst[type] || type, handler, false);\n } else {\n obj.detachEvent('on' + type, handler);\n }\n obj[eventsKey][id] = null;\n }\n\n // @function stopPropagation(ev: DOMEvent): this\n // Stop the given event from propagation to parent elements. Used inside the listener functions:\n // ```js\n // L.DomEvent.on(div, 'click', function (ev) {\n // \tL.DomEvent.stopPropagation(ev);\n // });\n // ```\n function stopPropagation(e) {\n if (e.stopPropagation) {\n e.stopPropagation();\n } else if (e.originalEvent) {\n // In case of Leaflet event.\n e.originalEvent._stopped = true;\n } else {\n e.cancelBubble = true;\n }\n return this;\n }\n\n // @function disableScrollPropagation(el: HTMLElement): this\n // Adds `stopPropagation` to the element's `'wheel'` events (plus browser variants).\n function disableScrollPropagation(el) {\n addOne(el, 'wheel', stopPropagation);\n return this;\n }\n\n // @function disableClickPropagation(el: HTMLElement): this\n // Adds `stopPropagation` to the element's `'click'`, `'dblclick'`, `'contextmenu'`,\n // `'mousedown'` and `'touchstart'` events (plus browser variants).\n function disableClickPropagation(el) {\n on(el, 'mousedown touchstart dblclick contextmenu', stopPropagation);\n el['_leaflet_disable_click'] = true;\n return this;\n }\n\n // @function preventDefault(ev: DOMEvent): this\n // Prevents the default action of the DOM Event `ev` from happening (such as\n // following a link in the href of the a element, or doing a POST request\n // with page reload when a `<form>` is submitted).\n // Use it inside listener functions.\n function preventDefault(e) {\n if (e.preventDefault) {\n e.preventDefault();\n } else {\n e.returnValue = false;\n }\n return this;\n }\n\n // @function stop(ev: DOMEvent): this\n // Does `stopPropagation` and `preventDefault` at the same time.\n function stop(e) {\n preventDefault(e);\n stopPropagation(e);\n return this;\n }\n\n // @function getPropagationPath(ev: DOMEvent): Array\n // Compatibility polyfill for [`Event.composedPath()`](https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath).\n // Returns an array containing the `HTMLElement`s that the given DOM event\n // should propagate to (if not stopped).\n function getPropagationPath(ev) {\n if (ev.composedPath) {\n return ev.composedPath();\n }\n var path = [];\n var el = ev.target;\n while (el) {\n path.push(el);\n el = el.parentNode;\n }\n return path;\n }\n\n // @function getMousePosition(ev: DOMEvent, container?: HTMLElement): Point\n // Gets normalized mouse position from a DOM event relative to the\n // `container` (border excluded) or to the whole page if not specified.\n function getMousePosition(e, container) {\n if (!container) {\n return new Point(e.clientX, e.clientY);\n }\n var scale = getScale(container),\n offset = scale.boundingClientRect; // left and top values are in page scale (like the event clientX/Y)\n\n return new Point(\n // offset.left/top values are in page scale (like clientX/Y),\n // whereas clientLeft/Top (border width) values are the original values (before CSS scale applies).\n (e.clientX - offset.left) / scale.x - container.clientLeft, (e.clientY - offset.top) / scale.y - container.clientTop);\n }\n\n // except , Safari and\n // We need double the scroll pixels (see #7403 and #4538) for all Browsers\n // except OSX (Mac) -> 3x, Chrome running on Linux 1x\n\n var wheelPxFactor = Browser.linux && Browser.chrome ? window.devicePixelRatio : Browser.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;\n // @function getWheelDelta(ev: DOMEvent): Number\n // Gets normalized wheel delta from a wheel DOM event, in vertical\n // pixels scrolled (negative if scrolling down).\n // Events from pointing devices without precise scrolling are mapped to\n // a best guess of 60 pixels.\n function getWheelDelta(e) {\n return Browser.edge ? e.wheelDeltaY / 2 :\n // Don't trust window-geometry-based delta\n e.deltaY && e.deltaMode === 0 ? -e.deltaY / wheelPxFactor :\n // Pixels\n e.deltaY && e.deltaMode === 1 ? -e.deltaY * 20 :\n // Lines\n e.deltaY && e.deltaMode === 2 ? -e.deltaY * 60 :\n // Pages\n e.deltaX || e.deltaZ ? 0 :\n // Skip horizontal/depth wheel events\n e.wheelDelta ? (e.wheelDeltaY || e.wheelDelta) / 2 :\n // Legacy IE pixels\n e.detail && Math.abs(e.detail) < 32765 ? -e.detail * 20 :\n // Legacy Moz lines\n e.detail ? e.detail / -32765 * 60 :\n // Legacy Moz pages\n 0;\n }\n\n // check if element really left/entered the event target (for mouseenter/mouseleave)\n function isExternalTarget(el, e) {\n var related = e.relatedTarget;\n if (!related) {\n return true;\n }\n try {\n while (related && related !== el) {\n related = related.parentNode;\n }\n } catch (err) {\n return false;\n }\n return related !== el;\n }\n var DomEvent = {\n __proto__: null,\n on: on,\n off: off,\n stopPropagation: stopPropagation,\n disableScrollPropagation: disableScrollPropagation,\n disableClickPropagation: disableClickPropagation,\n preventDefault: preventDefault,\n stop: stop,\n getPropagationPath: getPropagationPath,\n getMousePosition: getMousePosition,\n getWheelDelta: getWheelDelta,\n isExternalTarget: isExternalTarget,\n addListener: on,\n removeListener: off\n };\n\n /*\n * @class PosAnimation\n * @aka L.PosAnimation\n * @inherits Evented\n * Used internally for panning animations, utilizing CSS3 Transitions for modern browsers and a timer fallback for IE6-9.\n *\n * @example\n * ```js\n * var myPositionMarker = L.marker([48.864716, 2.294694]).addTo(map);\n *\n * myPositionMarker.on(\"click\", function() {\n * \tvar pos = map.latLngToLayerPoint(myPositionMarker.getLatLng());\n * \tpos.y -= 25;\n * \tvar fx = new L.PosAnimation();\n *\n * \tfx.once('end',function() {\n * \t\tpos.y += 25;\n * \t\tfx.run(myPositionMarker._icon, pos, 0.8);\n * \t});\n *\n * \tfx.run(myPositionMarker._icon, pos, 0.3);\n * });\n *\n * ```\n *\n * @constructor L.PosAnimation()\n * Creates a `PosAnimation` object.\n *\n */\n\n var PosAnimation = Evented.extend({\n // @method run(el: HTMLElement, newPos: Point, duration?: Number, easeLinearity?: Number)\n // Run an animation of a given element to a new position, optionally setting\n // duration in seconds (`0.25` by default) and easing linearity factor (3rd\n // argument of the [cubic bezier curve](https://cubic-bezier.com/#0,0,.5,1),\n // `0.5` by default).\n run: function (el, newPos, duration, easeLinearity) {\n this.stop();\n this._el = el;\n this._inProgress = true;\n this._duration = duration || 0.25;\n this._easeOutPower = 1 / Math.max(easeLinearity || 0.5, 0.2);\n this._startPos = getPosition(el);\n this._offset = newPos.subtract(this._startPos);\n this._startTime = +new Date();\n\n // @event start: Event\n // Fired when the animation starts\n this.fire('start');\n this._animate();\n },\n // @method stop()\n // Stops the animation (if currently running).\n stop: function () {\n if (!this._inProgress) {\n return;\n }\n this._step(true);\n this._complete();\n },\n _animate: function () {\n // animation loop\n this._animId = requestAnimFrame(this._animate, this);\n this._step();\n },\n _step: function (round) {\n var elapsed = +new Date() - this._startTime,\n duration = this._duration * 1000;\n if (elapsed < duration) {\n this._runFrame(this._easeOut(elapsed / duration), round);\n } else {\n this._runFrame(1);\n this._complete();\n }\n },\n _runFrame: function (progress, round) {\n var pos = this._startPos.add(this._offset.multiplyBy(progress));\n if (round) {\n pos._round();\n }\n setPosition(this._el, pos);\n\n // @event step: Event\n // Fired continuously during the animation.\n this.fire('step');\n },\n _complete: function () {\n cancelAnimFrame(this._animId);\n this._inProgress = false;\n // @event end: Event\n // Fired when the animation ends.\n this.fire('end');\n },\n _easeOut: function (t) {\n return 1 - Math.pow(1 - t, this._easeOutPower);\n }\n });\n\n /*\r\n * @class Map\r\n * @aka L.Map\r\n * @inherits Evented\r\n *\r\n * The central class of the API â it is used to create a map on a page and manipulate it.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * // initialize the map on the \"map\" div with a given center and zoom\r\n * var map = L.map('map', {\r\n * \tcenter: [51.505, -0.09],\r\n * \tzoom: 13\r\n * });\r\n * ```\r\n *\r\n */\n\n var Map = Evented.extend({\n options: {\n // @section Map State Options\n // @option crs: CRS = L.CRS.EPSG3857\n // The [Coordinate Reference System](#crs) to use. Don't change this if you're not\n // sure what it means.\n crs: EPSG3857,\n // @option center: LatLng = undefined\n // Initial geographic center of the map\n center: undefined,\n // @option zoom: Number = undefined\n // Initial map zoom level\n zoom: undefined,\n // @option minZoom: Number = *\n // Minimum zoom level of the map.\n // If not specified and at least one `GridLayer` or `TileLayer` is in the map,\n // the lowest of their `minZoom` options will be used instead.\n minZoom: undefined,\n // @option maxZoom: Number = *\n // Maximum zoom level of the map.\n // If not specified and at least one `GridLayer` or `TileLayer` is in the map,\n // the highest of their `maxZoom` options will be used instead.\n maxZoom: undefined,\n // @option layers: Layer[] = []\n // Array of layers that will be added to the map initially\n layers: [],\n // @option maxBounds: LatLngBounds = null\n // When this option is set, the map restricts the view to the given\n // geographical bounds, bouncing the user back if the user tries to pan\n // outside the view. To set the restriction dynamically, use\n // [`setMaxBounds`](#map-setmaxbounds) method.\n maxBounds: undefined,\n // @option renderer: Renderer = *\n // The default method for drawing vector layers on the map. `L.SVG`\n // or `L.Canvas` by default depending on browser support.\n renderer: undefined,\n // @section Animation Options\n // @option zoomAnimation: Boolean = true\n // Whether the map zoom animation is enabled. By default it's enabled\n // in all browsers that support CSS3 Transitions except Android.\n zoomAnimation: true,\n // @option zoomAnimationThreshold: Number = 4\n // Won't animate zoom if the zoom difference exceeds this value.\n zoomAnimationThreshold: 4,\n // @option fadeAnimation: Boolean = true\n // Whether the tile fade animation is enabled. By default it's enabled\n // in all browsers that support CSS3 Transitions except Android.\n fadeAnimation: true,\n // @option markerZoomAnimation: Boolean = true\n // Whether markers animate their zoom with the zoom animation, if disabled\n // they will disappear for the length of the animation. By default it's\n // enabled in all browsers that support CSS3 Transitions except Android.\n markerZoomAnimation: true,\n // @option transform3DLimit: Number = 2^23\n // Defines the maximum size of a CSS translation transform. The default\n // value should not be changed unless a web browser positions layers in\n // the wrong place after doing a large `panBy`.\n transform3DLimit: 8388608,\n // Precision limit of a 32-bit float\n\n // @section Interaction Options\n // @option zoomSnap: Number = 1\n // Forces the map's zoom level to always be a multiple of this, particularly\n // right after a [`fitBounds()`](#map-fitbounds) or a pinch-zoom.\n // By default, the zoom level snaps to the nearest integer; lower values\n // (e.g. `0.5` or `0.1`) allow for greater granularity. A value of `0`\n // means the zoom level will not be snapped after `fitBounds` or a pinch-zoom.\n zoomSnap: 1,\n // @option zoomDelta: Number = 1\n // Controls how much the map's zoom level will change after a\n // [`zoomIn()`](#map-zoomin), [`zoomOut()`](#map-zoomout), pressing `+`\n // or `-` on the keyboard, or using the [zoom controls](#control-zoom).\n // Values smaller than `1` (e.g. `0.5`) allow for greater granularity.\n zoomDelta: 1,\n // @option trackResize: Boolean = true\n // Whether the map automatically handles browser window resize to update itself.\n trackResize: true\n },\n initialize: function (id, options) {\n // (HTMLElement or String, Object)\n options = setOptions(this, options);\n\n // Make sure to assign internal flags at the beginning,\n // to avoid inconsistent state in some edge cases.\n this._handlers = [];\n this._layers = {};\n this._zoomBoundLayers = {};\n this._sizeChanged = true;\n this._initContainer(id);\n this._initLayout();\n\n // hack for https://github.com/Leaflet/Leaflet/issues/1980\n this._onResize = bind(this._onResize, this);\n this._initEvents();\n if (options.maxBounds) {\n this.setMaxBounds(options.maxBounds);\n }\n if (options.zoom !== undefined) {\n this._zoom = this._limitZoom(options.zoom);\n }\n if (options.center && options.zoom !== undefined) {\n this.setView(toLatLng(options.center), options.zoom, {\n reset: true\n });\n }\n this.callInitHooks();\n\n // don't animate on browsers without hardware-accelerated transitions or old Android/Opera\n this._zoomAnimated = TRANSITION && Browser.any3d && !Browser.mobileOpera && this.options.zoomAnimation;\n\n // zoom transitions run with the same duration for all layers, so if one of transitionend events\n // happens after starting zoom animation (propagating to the map pane), we know that it ended globally\n if (this._zoomAnimated) {\n this._createAnimProxy();\n on(this._proxy, TRANSITION_END, this._catchTransitionEnd, this);\n }\n this._addLayers(this.options.layers);\n },\n // @section Methods for modifying map state\n\n // @method setView(center: LatLng, zoom: Number, options?: Zoom/pan options): this\n // Sets the view of the map (geographical center and zoom) with the given\n // animation options.\n setView: function (center, zoom, options) {\n zoom = zoom === undefined ? this._zoom : this._limitZoom(zoom);\n center = this._limitCenter(toLatLng(center), zoom, this.options.maxBounds);\n options = options || {};\n this._stop();\n if (this._loaded && !options.reset && options !== true) {\n if (options.animate !== undefined) {\n options.zoom = extend({\n animate: options.animate\n }, options.zoom);\n options.pan = extend({\n animate: options.animate,\n duration: options.duration\n }, options.pan);\n }\n\n // try animating pan or zoom\n var moved = this._zoom !== zoom ? this._tryAnimatedZoom && this._tryAnimatedZoom(center, zoom, options.zoom) : this._tryAnimatedPan(center, options.pan);\n if (moved) {\n // prevent resize handler call, the view will refresh after animation anyway\n clearTimeout(this._sizeTimer);\n return this;\n }\n }\n\n // animation didn't start, just reset the map view\n this._resetView(center, zoom, options.pan && options.pan.noMoveStart);\n return this;\n },\n // @method setZoom(zoom: Number, options?: Zoom/pan options): this\n // Sets the zoom of the map.\n setZoom: function (zoom, options) {\n if (!this._loaded) {\n this._zoom = zoom;\n return this;\n }\n return this.setView(this.getCenter(), zoom, {\n zoom: options\n });\n },\n // @method zoomIn(delta?: Number, options?: Zoom options): this\n // Increases the zoom of the map by `delta` ([`zoomDelta`](#map-zoomdelta) by default).\n zoomIn: function (delta, options) {\n delta = delta || (Browser.any3d ? this.options.zoomDelta : 1);\n return this.setZoom(this._zoom + delta, options);\n },\n // @method zoomOut(delta?: Number, options?: Zoom options): this\n // Decreases the zoom of the map by `delta` ([`zoomDelta`](#map-zoomdelta) by default).\n zoomOut: function (delta, options) {\n delta = delta || (Browser.any3d ? this.options.zoomDelta : 1);\n return this.setZoom(this._zoom - delta, options);\n },\n // @method setZoomAround(latlng: LatLng, zoom: Number, options: Zoom options): this\n // Zooms the map while keeping a specified geographical point on the map\n // stationary (e.g. used internally for scroll zoom and double-click zoom).\n // @alternative\n // @method setZoomAround(offset: Point, zoom: Number, options: Zoom options): this\n // Zooms the map while keeping a specified pixel on the map (relative to the top-left corner) stationary.\n setZoomAround: function (latlng, zoom, options) {\n var scale = this.getZoomScale(zoom),\n viewHalf = this.getSize().divideBy(2),\n containerPoint = latlng instanceof Point ? latlng : this.latLngToContainerPoint(latlng),\n centerOffset = containerPoint.subtract(viewHalf).multiplyBy(1 - 1 / scale),\n newCenter = this.containerPointToLatLng(viewHalf.add(centerOffset));\n return this.setView(newCenter, zoom, {\n zoom: options\n });\n },\n _getBoundsCenterZoom: function (bounds, options) {\n options = options || {};\n bounds = bounds.getBounds ? bounds.getBounds() : toLatLngBounds(bounds);\n var paddingTL = toPoint(options.paddingTopLeft || options.padding || [0, 0]),\n paddingBR = toPoint(options.paddingBottomRight || options.padding || [0, 0]),\n zoom = this.getBoundsZoom(bounds, false, paddingTL.add(paddingBR));\n zoom = typeof options.maxZoom === 'number' ? Math.min(options.maxZoom, zoom) : zoom;\n if (zoom === Infinity) {\n return {\n center: bounds.getCenter(),\n zoom: zoom\n };\n }\n var paddingOffset = paddingBR.subtract(paddingTL).divideBy(2),\n swPoint = this.project(bounds.getSouthWest(), zoom),\n nePoint = this.project(bounds.getNorthEast(), zoom),\n center = this.unproject(swPoint.add(nePoint).divideBy(2).add(paddingOffset), zoom);\n return {\n center: center,\n zoom: zoom\n };\n },\n // @method fitBounds(bounds: LatLngBounds, options?: fitBounds options): this\n // Sets a map view that contains the given geographical bounds with the\n // maximum zoom level possible.\n fitBounds: function (bounds, options) {\n bounds = toLatLngBounds(bounds);\n if (!bounds.isValid()) {\n throw new Error('Bounds are not valid.');\n }\n var target = this._getBoundsCenterZoom(bounds, options);\n return this.setView(target.center, target.zoom, options);\n },\n // @method fitWorld(options?: fitBounds options): this\n // Sets a map view that mostly contains the whole world with the maximum\n // zoom level possible.\n fitWorld: function (options) {\n return this.fitBounds([[-90, -180], [90, 180]], options);\n },\n // @method panTo(latlng: LatLng, options?: Pan options): this\n // Pans the map to a given center.\n panTo: function (center, options) {\n // (LatLng)\n return this.setView(center, this._zoom, {\n pan: options\n });\n },\n // @method panBy(offset: Point, options?: Pan options): this\n // Pans the map by a given number of pixels (animated).\n panBy: function (offset, options) {\n offset = toPoint(offset).round();\n options = options || {};\n if (!offset.x && !offset.y) {\n return this.fire('moveend');\n }\n // If we pan too far, Chrome gets issues with tiles\n // and makes them disappear or appear in the wrong place (slightly offset) #2602\n if (options.animate !== true && !this.getSize().contains(offset)) {\n this._resetView(this.unproject(this.project(this.getCenter()).add(offset)), this.getZoom());\n return this;\n }\n if (!this._panAnim) {\n this._panAnim = new PosAnimation();\n this._panAnim.on({\n 'step': this._onPanTransitionStep,\n 'end': this._onPanTransitionEnd\n }, this);\n }\n\n // don't fire movestart if animating inertia\n if (!options.noMoveStart) {\n this.fire('movestart');\n }\n\n // animate pan unless animate: false specified\n if (options.animate !== false) {\n addClass(this._mapPane, 'leaflet-pan-anim');\n var newPos = this._getMapPanePos().subtract(offset).round();\n this._panAnim.run(this._mapPane, newPos, options.duration || 0.25, options.easeLinearity);\n } else {\n this._rawPanBy(offset);\n this.fire('move').fire('moveend');\n }\n return this;\n },\n // @method flyTo(latlng: LatLng, zoom?: Number, options?: Zoom/pan options): this\n // Sets the view of the map (geographical center and zoom) performing a smooth\n // pan-zoom animation.\n flyTo: function (targetCenter, targetZoom, options) {\n options = options || {};\n if (options.animate === false || !Browser.any3d) {\n return this.setView(targetCenter, targetZoom, options);\n }\n this._stop();\n var from = this.project(this.getCenter()),\n to = this.project(targetCenter),\n size = this.getSize(),\n startZoom = this._zoom;\n targetCenter = toLatLng(targetCenter);\n targetZoom = targetZoom === undefined ? startZoom : targetZoom;\n var w0 = Math.max(size.x, size.y),\n w1 = w0 * this.getZoomScale(startZoom, targetZoom),\n u1 = to.distanceTo(from) || 1,\n rho = 1.42,\n rho2 = rho * rho;\n function r(i) {\n var s1 = i ? -1 : 1,\n s2 = i ? w1 : w0,\n t1 = w1 * w1 - w0 * w0 + s1 * rho2 * rho2 * u1 * u1,\n b1 = 2 * s2 * rho2 * u1,\n b = t1 / b1,\n sq = Math.sqrt(b * b + 1) - b;\n\n // workaround for floating point precision bug when sq = 0, log = -Infinite,\n // thus triggering an infinite loop in flyTo\n var log = sq < 0.000000001 ? -18 : Math.log(sq);\n return log;\n }\n function sinh(n) {\n return (Math.exp(n) - Math.exp(-n)) / 2;\n }\n function cosh(n) {\n return (Math.exp(n) + Math.exp(-n)) / 2;\n }\n function tanh(n) {\n return sinh(n) / cosh(n);\n }\n var r0 = r(0);\n function w(s) {\n return w0 * (cosh(r0) / cosh(r0 + rho * s));\n }\n function u(s) {\n return w0 * (cosh(r0) * tanh(r0 + rho * s) - sinh(r0)) / rho2;\n }\n function easeOut(t) {\n return 1 - Math.pow(1 - t, 1.5);\n }\n var start = Date.now(),\n S = (r(1) - r0) / rho,\n duration = options.duration ? 1000 * options.duration : 1000 * S * 0.8;\n function frame() {\n var t = (Date.now() - start) / duration,\n s = easeOut(t) * S;\n if (t <= 1) {\n this._flyToFrame = requestAnimFrame(frame, this);\n this._move(this.unproject(from.add(to.subtract(from).multiplyBy(u(s) / u1)), startZoom), this.getScaleZoom(w0 / w(s), startZoom), {\n flyTo: true\n });\n } else {\n this._move(targetCenter, targetZoom)._moveEnd(true);\n }\n }\n this._moveStart(true, options.noMoveStart);\n frame.call(this);\n return this;\n },\n // @method flyToBounds(bounds: LatLngBounds, options?: fitBounds options): this\n // Sets the view of the map with a smooth animation like [`flyTo`](#map-flyto),\n // but takes a bounds parameter like [`fitBounds`](#map-fitbounds).\n flyToBounds: function (bounds, options) {\n var target = this._getBoundsCenterZoom(bounds, options);\n return this.flyTo(target.center, target.zoom, options);\n },\n // @method setMaxBounds(bounds: LatLngBounds): this\n // Restricts the map view to the given bounds (see the [maxBounds](#map-maxbounds) option).\n setMaxBounds: function (bounds) {\n bounds = toLatLngBounds(bounds);\n if (this.listens('moveend', this._panInsideMaxBounds)) {\n this.off('moveend', this._panInsideMaxBounds);\n }\n if (!bounds.isValid()) {\n this.options.maxBounds = null;\n return this;\n }\n this.options.maxBounds = bounds;\n if (this._loaded) {\n this._panInsideMaxBounds();\n }\n return this.on('moveend', this._panInsideMaxBounds);\n },\n // @method setMinZoom(zoom: Number): this\n // Sets the lower limit for the available zoom levels (see the [minZoom](#map-minzoom) option).\n setMinZoom: function (zoom) {\n var oldZoom = this.options.minZoom;\n this.options.minZoom = zoom;\n if (this._loaded && oldZoom !== zoom) {\n this.fire('zoomlevelschange');\n if (this.getZoom() < this.options.minZoom) {\n return this.setZoom(zoom);\n }\n }\n return this;\n },\n // @method setMaxZoom(zoom: Number): this\n // Sets the upper limit for the available zoom levels (see the [maxZoom](#map-maxzoom) option).\n setMaxZoom: function (zoom) {\n var oldZoom = this.options.maxZoom;\n this.options.maxZoom = zoom;\n if (this._loaded && oldZoom !== zoom) {\n this.fire('zoomlevelschange');\n if (this.getZoom() > this.options.maxZoom) {\n return this.setZoom(zoom);\n }\n }\n return this;\n },\n // @method panInsideBounds(bounds: LatLngBounds, options?: Pan options): this\n // Pans the map to the closest view that would lie inside the given bounds (if it's not already), controlling the animation using the options specific, if any.\n panInsideBounds: function (bounds, options) {\n this._enforcingBounds = true;\n var center = this.getCenter(),\n newCenter = this._limitCenter(center, this._zoom, toLatLngBounds(bounds));\n if (!center.equals(newCenter)) {\n this.panTo(newCenter, options);\n }\n this._enforcingBounds = false;\n return this;\n },\n // @method panInside(latlng: LatLng, options?: padding options): this\n // Pans the map the minimum amount to make the `latlng` visible. Use\n // padding options to fit the display to more restricted bounds.\n // If `latlng` is already within the (optionally padded) display bounds,\n // the map will not be panned.\n panInside: function (latlng, options) {\n options = options || {};\n var paddingTL = toPoint(options.paddingTopLeft || options.padding || [0, 0]),\n paddingBR = toPoint(options.paddingBottomRight || options.padding || [0, 0]),\n pixelCenter = this.project(this.getCenter()),\n pixelPoint = this.project(latlng),\n pixelBounds = this.getPixelBounds(),\n paddedBounds = toBounds([pixelBounds.min.add(paddingTL), pixelBounds.max.subtract(paddingBR)]),\n paddedSize = paddedBounds.getSize();\n if (!paddedBounds.contains(pixelPoint)) {\n this._enforcingBounds = true;\n var centerOffset = pixelPoint.subtract(paddedBounds.getCenter());\n var offset = paddedBounds.extend(pixelPoint).getSize().subtract(paddedSize);\n pixelCenter.x += centerOffset.x < 0 ? -offset.x : offset.x;\n pixelCenter.y += centerOffset.y < 0 ? -offset.y : offset.y;\n this.panTo(this.unproject(pixelCenter), options);\n this._enforcingBounds = false;\n }\n return this;\n },\n // @method invalidateSize(options: Zoom/pan options): this\n // Checks if the map container size changed and updates the map if so â\n // call it after you've changed the map size dynamically, also animating\n // pan by default. If `options.pan` is `false`, panning will not occur.\n // If `options.debounceMoveend` is `true`, it will delay `moveend` event so\n // that it doesn't happen often even if the method is called many\n // times in a row.\n\n // @alternative\n // @method invalidateSize(animate: Boolean): this\n // Checks if the map container size changed and updates the map if so â\n // call it after you've changed the map size dynamically, also animating\n // pan by default.\n invalidateSize: function (options) {\n if (!this._loaded) {\n return this;\n }\n options = extend({\n animate: false,\n pan: true\n }, options === true ? {\n animate: true\n } : options);\n var oldSize = this.getSize();\n this._sizeChanged = true;\n this._lastCenter = null;\n var newSize = this.getSize(),\n oldCenter = oldSize.divideBy(2).round(),\n newCenter = newSize.divideBy(2).round(),\n offset = oldCenter.subtract(newCenter);\n if (!offset.x && !offset.y) {\n return this;\n }\n if (options.animate && options.pan) {\n this.panBy(offset);\n } else {\n if (options.pan) {\n this._rawPanBy(offset);\n }\n this.fire('move');\n if (options.debounceMoveend) {\n clearTimeout(this._sizeTimer);\n this._sizeTimer = setTimeout(bind(this.fire, this, 'moveend'), 200);\n } else {\n this.fire('moveend');\n }\n }\n\n // @section Map state change events\n // @event resize: ResizeEvent\n // Fired when the map is resized.\n return this.fire('resize', {\n oldSize: oldSize,\n newSize: newSize\n });\n },\n // @section Methods for modifying map state\n // @method stop(): this\n // Stops the currently running `panTo` or `flyTo` animation, if any.\n stop: function () {\n this.setZoom(this._limitZoom(this._zoom));\n if (!this.options.zoomSnap) {\n this.fire('viewreset');\n }\n return this._stop();\n },\n // @section Geolocation methods\n // @method locate(options?: Locate options): this\n // Tries to locate the user using the Geolocation API, firing a [`locationfound`](#map-locationfound)\n // event with location data on success or a [`locationerror`](#map-locationerror) event on failure,\n // and optionally sets the map view to the user's location with respect to\n // detection accuracy (or to the world view if geolocation failed).\n // Note that, if your page doesn't use HTTPS, this method will fail in\n // modern browsers ([Chrome 50 and newer](https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-powerful-features-on-insecure-origins))\n // See `Locate options` for more details.\n locate: function (options) {\n options = this._locateOptions = extend({\n timeout: 10000,\n watch: false\n // setView: false\n // maxZoom: <Number>\n // maximumAge: 0\n // enableHighAccuracy: false\n }, options);\n if (!('geolocation' in navigator)) {\n this._handleGeolocationError({\n code: 0,\n message: 'Geolocation not supported.'\n });\n return this;\n }\n var onResponse = bind(this._handleGeolocationResponse, this),\n onError = bind(this._handleGeolocationError, this);\n if (options.watch) {\n this._locationWatchId = navigator.geolocation.watchPosition(onResponse, onError, options);\n } else {\n navigator.geolocation.getCurrentPosition(onResponse, onError, options);\n }\n return this;\n },\n // @method stopLocate(): this\n // Stops watching location previously initiated by `map.locate({watch: true})`\n // and aborts resetting the map view if map.locate was called with\n // `{setView: true}`.\n stopLocate: function () {\n if (navigator.geolocation && navigator.geolocation.clearWatch) {\n navigator.geolocation.clearWatch(this._locationWatchId);\n }\n if (this._locateOptions) {\n this._locateOptions.setView = false;\n }\n return this;\n },\n _handleGeolocationError: function (error) {\n if (!this._container._leaflet_id) {\n return;\n }\n var c = error.code,\n message = error.message || (c === 1 ? 'permission denied' : c === 2 ? 'position unavailable' : 'timeout');\n if (this._locateOptions.setView && !this._loaded) {\n this.fitWorld();\n }\n\n // @section Location events\n // @event locationerror: ErrorEvent\n // Fired when geolocation (using the [`locate`](#map-locate) method) failed.\n this.fire('locationerror', {\n code: c,\n message: 'Geolocation error: ' + message + '.'\n });\n },\n _handleGeolocationResponse: function (pos) {\n if (!this._container._leaflet_id) {\n return;\n }\n var lat = pos.coords.latitude,\n lng = pos.coords.longitude,\n latlng = new LatLng(lat, lng),\n bounds = latlng.toBounds(pos.coords.accuracy * 2),\n options = this._locateOptions;\n if (options.setView) {\n var zoom = this.getBoundsZoom(bounds);\n this.setView(latlng, options.maxZoom ? Math.min(zoom, options.maxZoom) : zoom);\n }\n var data = {\n latlng: latlng,\n bounds: bounds,\n timestamp: pos.timestamp\n };\n for (var i in pos.coords) {\n if (typeof pos.coords[i] === 'number') {\n data[i] = pos.coords[i];\n }\n }\n\n // @event locationfound: LocationEvent\n // Fired when geolocation (using the [`locate`](#map-locate) method)\n // went successfully.\n this.fire('locationfound', data);\n },\n // TODO Appropriate docs section?\n // @section Other Methods\n // @method addHandler(name: String, HandlerClass: Function): this\n // Adds a new `Handler` to the map, given its name and constructor function.\n addHandler: function (name, HandlerClass) {\n if (!HandlerClass) {\n return this;\n }\n var handler = this[name] = new HandlerClass(this);\n this._handlers.push(handler);\n if (this.options[name]) {\n handler.enable();\n }\n return this;\n },\n // @method remove(): this\n // Destroys the map and clears all related event listeners.\n remove: function () {\n this._initEvents(true);\n if (this.options.maxBounds) {\n this.off('moveend', this._panInsideMaxBounds);\n }\n if (this._containerId !== this._container._leaflet_id) {\n throw new Error('Map container is being reused by another instance');\n }\n try {\n // throws error in IE6-8\n delete this._container._leaflet_id;\n delete this._containerId;\n } catch (e) {\n /*eslint-disable */\n this._container._leaflet_id = undefined;\n /* eslint-enable */\n this._containerId = undefined;\n }\n if (this._locationWatchId !== undefined) {\n this.stopLocate();\n }\n this._stop();\n remove(this._mapPane);\n if (this._clearControlPos) {\n this._clearControlPos();\n }\n if (this._resizeRequest) {\n cancelAnimFrame(this._resizeRequest);\n this._resizeRequest = null;\n }\n this._clearHandlers();\n if (this._loaded) {\n // @section Map state change events\n // @event unload: Event\n // Fired when the map is destroyed with [remove](#map-remove) method.\n this.fire('unload');\n }\n var i;\n for (i in this._layers) {\n this._layers[i].remove();\n }\n for (i in this._panes) {\n remove(this._panes[i]);\n }\n this._layers = [];\n this._panes = [];\n delete this._mapPane;\n delete this._renderer;\n return this;\n },\n // @section Other Methods\n // @method createPane(name: String, container?: HTMLElement): HTMLElement\n // Creates a new [map pane](#map-pane) with the given name if it doesn't exist already,\n // then returns it. The pane is created as a child of `container`, or\n // as a child of the main map pane if not set.\n createPane: function (name, container) {\n var className = 'leaflet-pane' + (name ? ' leaflet-' + name.replace('Pane', '') + '-pane' : ''),\n pane = create$1('div', className, container || this._mapPane);\n if (name) {\n this._panes[name] = pane;\n }\n return pane;\n },\n // @section Methods for Getting Map State\n\n // @method getCenter(): LatLng\n // Returns the geographical center of the map view\n getCenter: function () {\n this._checkIfLoaded();\n if (this._lastCenter && !this._moved()) {\n return this._lastCenter.clone();\n }\n return this.layerPointToLatLng(this._getCenterLayerPoint());\n },\n // @method getZoom(): Number\n // Returns the current zoom level of the map view\n getZoom: function () {\n return this._zoom;\n },\n // @method getBounds(): LatLngBounds\n // Returns the geographical bounds visible in the current map view\n getBounds: function () {\n var bounds = this.getPixelBounds(),\n sw = this.unproject(bounds.getBottomLeft()),\n ne = this.unproject(bounds.getTopRight());\n return new LatLngBounds(sw, ne);\n },\n // @method getMinZoom(): Number\n // Returns the minimum zoom level of the map (if set in the `minZoom` option of the map or of any layers), or `0` by default.\n getMinZoom: function () {\n return this.options.minZoom === undefined ? this._layersMinZoom || 0 : this.options.minZoom;\n },\n // @method getMaxZoom(): Number\n // Returns the maximum zoom level of the map (if set in the `maxZoom` option of the map or of any layers).\n getMaxZoom: function () {\n return this.options.maxZoom === undefined ? this._layersMaxZoom === undefined ? Infinity : this._layersMaxZoom : this.options.maxZoom;\n },\n // @method getBoundsZoom(bounds: LatLngBounds, inside?: Boolean, padding?: Point): Number\n // Returns the maximum zoom level on which the given bounds fit to the map\n // view in its entirety. If `inside` (optional) is set to `true`, the method\n // instead returns the minimum zoom level on which the map view fits into\n // the given bounds in its entirety.\n getBoundsZoom: function (bounds, inside, padding) {\n // (LatLngBounds[, Boolean, Point]) -> Number\n bounds = toLatLngBounds(bounds);\n padding = toPoint(padding || [0, 0]);\n var zoom = this.getZoom() || 0,\n min = this.getMinZoom(),\n max = this.getMaxZoom(),\n nw = bounds.getNorthWest(),\n se = bounds.getSouthEast(),\n size = this.getSize().subtract(padding),\n boundsSize = toBounds(this.project(se, zoom), this.project(nw, zoom)).getSize(),\n snap = Browser.any3d ? this.options.zoomSnap : 1,\n scalex = size.x / boundsSize.x,\n scaley = size.y / boundsSize.y,\n scale = inside ? Math.max(scalex, scaley) : Math.min(scalex, scaley);\n zoom = this.getScaleZoom(scale, zoom);\n if (snap) {\n zoom = Math.round(zoom / (snap / 100)) * (snap / 100); // don't jump if within 1% of a snap level\n zoom = inside ? Math.ceil(zoom / snap) * snap : Math.floor(zoom / snap) * snap;\n }\n return Math.max(min, Math.min(max, zoom));\n },\n // @method getSize(): Point\n // Returns the current size of the map container (in pixels).\n getSize: function () {\n if (!this._size || this._sizeChanged) {\n this._size = new Point(this._container.clientWidth || 0, this._container.clientHeight || 0);\n this._sizeChanged = false;\n }\n return this._size.clone();\n },\n // @method getPixelBounds(): Bounds\n // Returns the bounds of the current map view in projected pixel\n // coordinates (sometimes useful in layer and overlay implementations).\n getPixelBounds: function (center, zoom) {\n var topLeftPoint = this._getTopLeftPoint(center, zoom);\n return new Bounds(topLeftPoint, topLeftPoint.add(this.getSize()));\n },\n // TODO: Check semantics - isn't the pixel origin the 0,0 coord relative to\n // the map pane? \"left point of the map layer\" can be confusing, specially\n // since there can be negative offsets.\n // @method getPixelOrigin(): Point\n // Returns the projected pixel coordinates of the top left point of\n // the map layer (useful in custom layer and overlay implementations).\n getPixelOrigin: function () {\n this._checkIfLoaded();\n return this._pixelOrigin;\n },\n // @method getPixelWorldBounds(zoom?: Number): Bounds\n // Returns the world's bounds in pixel coordinates for zoom level `zoom`.\n // If `zoom` is omitted, the map's current zoom level is used.\n getPixelWorldBounds: function (zoom) {\n return this.options.crs.getProjectedBounds(zoom === undefined ? this.getZoom() : zoom);\n },\n // @section Other Methods\n\n // @method getPane(pane: String|HTMLElement): HTMLElement\n // Returns a [map pane](#map-pane), given its name or its HTML element (its identity).\n getPane: function (pane) {\n return typeof pane === 'string' ? this._panes[pane] : pane;\n },\n // @method getPanes(): Object\n // Returns a plain object containing the names of all [panes](#map-pane) as keys and\n // the panes as values.\n getPanes: function () {\n return this._panes;\n },\n // @method getContainer: HTMLElement\n // Returns the HTML element that contains the map.\n getContainer: function () {\n return this._container;\n },\n // @section Conversion Methods\n\n // @method getZoomScale(toZoom: Number, fromZoom: Number): Number\n // Returns the scale factor to be applied to a map transition from zoom level\n // `fromZoom` to `toZoom`. Used internally to help with zoom animations.\n getZoomScale: function (toZoom, fromZoom) {\n // TODO replace with universal implementation after refactoring projections\n var crs = this.options.crs;\n fromZoom = fromZoom === undefined ? this._zoom : fromZoom;\n return crs.scale(toZoom) / crs.scale(fromZoom);\n },\n // @method getScaleZoom(scale: Number, fromZoom: Number): Number\n // Returns the zoom level that the map would end up at, if it is at `fromZoom`\n // level and everything is scaled by a factor of `scale`. Inverse of\n // [`getZoomScale`](#map-getZoomScale).\n getScaleZoom: function (scale, fromZoom) {\n var crs = this.options.crs;\n fromZoom = fromZoom === undefined ? this._zoom : fromZoom;\n var zoom = crs.zoom(scale * crs.scale(fromZoom));\n return isNaN(zoom) ? Infinity : zoom;\n },\n // @method project(latlng: LatLng, zoom: Number): Point\n // Projects a geographical coordinate `LatLng` according to the projection\n // of the map's CRS, then scales it according to `zoom` and the CRS's\n // `Transformation`. The result is pixel coordinate relative to\n // the CRS origin.\n project: function (latlng, zoom) {\n zoom = zoom === undefined ? this._zoom : zoom;\n return this.options.crs.latLngToPoint(toLatLng(latlng), zoom);\n },\n // @method unproject(point: Point, zoom: Number): LatLng\n // Inverse of [`project`](#map-project).\n unproject: function (point, zoom) {\n zoom = zoom === undefined ? this._zoom : zoom;\n return this.options.crs.pointToLatLng(toPoint(point), zoom);\n },\n // @method layerPointToLatLng(point: Point): LatLng\n // Given a pixel coordinate relative to the [origin pixel](#map-getpixelorigin),\n // returns the corresponding geographical coordinate (for the current zoom level).\n layerPointToLatLng: function (point) {\n var projectedPoint = toPoint(point).add(this.getPixelOrigin());\n return this.unproject(projectedPoint);\n },\n // @method latLngToLayerPoint(latlng: LatLng): Point\n // Given a geographical coordinate, returns the corresponding pixel coordinate\n // relative to the [origin pixel](#map-getpixelorigin).\n latLngToLayerPoint: function (latlng) {\n var projectedPoint = this.project(toLatLng(latlng))._round();\n return projectedPoint._subtract(this.getPixelOrigin());\n },\n // @method wrapLatLng(latlng: LatLng): LatLng\n // Returns a `LatLng` where `lat` and `lng` has been wrapped according to the\n // map's CRS's `wrapLat` and `wrapLng` properties, if they are outside the\n // CRS's bounds.\n // By default this means longitude is wrapped around the dateline so its\n // value is between -180 and +180 degrees.\n wrapLatLng: function (latlng) {\n return this.options.crs.wrapLatLng(toLatLng(latlng));\n },\n // @method wrapLatLngBounds(bounds: LatLngBounds): LatLngBounds\n // Returns a `LatLngBounds` with the same size as the given one, ensuring that\n // its center is within the CRS's bounds.\n // By default this means the center longitude is wrapped around the dateline so its\n // value is between -180 and +180 degrees, and the majority of the bounds\n // overlaps the CRS's bounds.\n wrapLatLngBounds: function (latlng) {\n return this.options.crs.wrapLatLngBounds(toLatLngBounds(latlng));\n },\n // @method distance(latlng1: LatLng, latlng2: LatLng): Number\n // Returns the distance between two geographical coordinates according to\n // the map's CRS. By default this measures distance in meters.\n distance: function (latlng1, latlng2) {\n return this.options.crs.distance(toLatLng(latlng1), toLatLng(latlng2));\n },\n // @method containerPointToLayerPoint(point: Point): Point\n // Given a pixel coordinate relative to the map container, returns the corresponding\n // pixel coordinate relative to the [origin pixel](#map-getpixelorigin).\n containerPointToLayerPoint: function (point) {\n // (Point)\n return toPoint(point).subtract(this._getMapPanePos());\n },\n // @method layerPointToContainerPoint(point: Point): Point\n // Given a pixel coordinate relative to the [origin pixel](#map-getpixelorigin),\n // returns the corresponding pixel coordinate relative to the map container.\n layerPointToContainerPoint: function (point) {\n // (Point)\n return toPoint(point).add(this._getMapPanePos());\n },\n // @method containerPointToLatLng(point: Point): LatLng\n // Given a pixel coordinate relative to the map container, returns\n // the corresponding geographical coordinate (for the current zoom level).\n containerPointToLatLng: function (point) {\n var layerPoint = this.containerPointToLayerPoint(toPoint(point));\n return this.layerPointToLatLng(layerPoint);\n },\n // @method latLngToContainerPoint(latlng: LatLng): Point\n // Given a geographical coordinate, returns the corresponding pixel coordinate\n // relative to the map container.\n latLngToContainerPoint: function (latlng) {\n return this.layerPointToContainerPoint(this.latLngToLayerPoint(toLatLng(latlng)));\n },\n // @method mouseEventToContainerPoint(ev: MouseEvent): Point\n // Given a MouseEvent object, returns the pixel coordinate relative to the\n // map container where the event took place.\n mouseEventToContainerPoint: function (e) {\n return getMousePosition(e, this._container);\n },\n // @method mouseEventToLayerPoint(ev: MouseEvent): Point\n // Given a MouseEvent object, returns the pixel coordinate relative to\n // the [origin pixel](#map-getpixelorigin) where the event took place.\n mouseEventToLayerPoint: function (e) {\n return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e));\n },\n // @method mouseEventToLatLng(ev: MouseEvent): LatLng\n // Given a MouseEvent object, returns geographical coordinate where the\n // event took place.\n mouseEventToLatLng: function (e) {\n // (MouseEvent)\n return this.layerPointToLatLng(this.mouseEventToLayerPoint(e));\n },\n // map initialization methods\n\n _initContainer: function (id) {\n var container = this._container = get(id);\n if (!container) {\n throw new Error('Map container not found.');\n } else if (container._leaflet_id) {\n throw new Error('Map container is already initialized.');\n }\n on(container, 'scroll', this._onScroll, this);\n this._containerId = stamp(container);\n },\n _initLayout: function () {\n var container = this._container;\n this._fadeAnimated = this.options.fadeAnimation && Browser.any3d;\n addClass(container, 'leaflet-container' + (Browser.touch ? ' leaflet-touch' : '') + (Browser.retina ? ' leaflet-retina' : '') + (Browser.ielt9 ? ' leaflet-oldie' : '') + (Browser.safari ? ' leaflet-safari' : '') + (this._fadeAnimated ? ' leaflet-fade-anim' : ''));\n var position = getStyle(container, 'position');\n if (position !== 'absolute' && position !== 'relative' && position !== 'fixed' && position !== 'sticky') {\n container.style.position = 'relative';\n }\n this._initPanes();\n if (this._initControlPos) {\n this._initControlPos();\n }\n },\n _initPanes: function () {\n var panes = this._panes = {};\n this._paneRenderers = {};\n\n // @section\n //\n // Panes are DOM elements used to control the ordering of layers on the map. You\n // can access panes with [`map.getPane`](#map-getpane) or\n // [`map.getPanes`](#map-getpanes) methods. New panes can be created with the\n // [`map.createPane`](#map-createpane) method.\n //\n // Every map has the following default panes that differ only in zIndex.\n //\n // @pane mapPane: HTMLElement = 'auto'\n // Pane that contains all other map panes\n\n this._mapPane = this.createPane('mapPane', this._container);\n setPosition(this._mapPane, new Point(0, 0));\n\n // @pane tilePane: HTMLElement = 200\n // Pane for `GridLayer`s and `TileLayer`s\n this.createPane('tilePane');\n // @pane overlayPane: HTMLElement = 400\n // Pane for vectors (`Path`s, like `Polyline`s and `Polygon`s), `ImageOverlay`s and `VideoOverlay`s\n this.createPane('overlayPane');\n // @pane shadowPane: HTMLElement = 500\n // Pane for overlay shadows (e.g. `Marker` shadows)\n this.createPane('shadowPane');\n // @pane markerPane: HTMLElement = 600\n // Pane for `Icon`s of `Marker`s\n this.createPane('markerPane');\n // @pane tooltipPane: HTMLElement = 650\n // Pane for `Tooltip`s.\n this.createPane('tooltipPane');\n // @pane popupPane: HTMLElement = 700\n // Pane for `Popup`s.\n this.createPane('popupPane');\n if (!this.options.markerZoomAnimation) {\n addClass(panes.markerPane, 'leaflet-zoom-hide');\n addClass(panes.shadowPane, 'leaflet-zoom-hide');\n }\n },\n // private methods that modify map state\n\n // @section Map state change events\n _resetView: function (center, zoom, noMoveStart) {\n setPosition(this._mapPane, new Point(0, 0));\n var loading = !this._loaded;\n this._loaded = true;\n zoom = this._limitZoom(zoom);\n this.fire('viewprereset');\n var zoomChanged = this._zoom !== zoom;\n this._moveStart(zoomChanged, noMoveStart)._move(center, zoom)._moveEnd(zoomChanged);\n\n // @event viewreset: Event\n // Fired when the map needs to redraw its content (this usually happens\n // on map zoom or load). Very useful for creating custom overlays.\n this.fire('viewreset');\n\n // @event load: Event\n // Fired when the map is initialized (when its center and zoom are set\n // for the first time).\n if (loading) {\n this.fire('load');\n }\n },\n _moveStart: function (zoomChanged, noMoveStart) {\n // @event zoomstart: Event\n // Fired when the map zoom is about to change (e.g. before zoom animation).\n // @event movestart: Event\n // Fired when the view of the map starts changing (e.g. user starts dragging the map).\n if (zoomChanged) {\n this.fire('zoomstart');\n }\n if (!noMoveStart) {\n this.fire('movestart');\n }\n return this;\n },\n _move: function (center, zoom, data, supressEvent) {\n if (zoom === undefined) {\n zoom = this._zoom;\n }\n var zoomChanged = this._zoom !== zoom;\n this._zoom = zoom;\n this._lastCenter = center;\n this._pixelOrigin = this._getNewPixelOrigin(center);\n if (!supressEvent) {\n // @event zoom: Event\n // Fired repeatedly during any change in zoom level,\n // including zoom and fly animations.\n if (zoomChanged || data && data.pinch) {\n // Always fire 'zoom' if pinching because #3530\n this.fire('zoom', data);\n }\n\n // @event move: Event\n // Fired repeatedly during any movement of the map,\n // including pan and fly animations.\n this.fire('move', data);\n } else if (data && data.pinch) {\n // Always fire 'zoom' if pinching because #3530\n this.fire('zoom', data);\n }\n return this;\n },\n _moveEnd: function (zoomChanged) {\n // @event zoomend: Event\n // Fired when the map zoom changed, after any animations.\n if (zoomChanged) {\n this.fire('zoomend');\n }\n\n // @event moveend: Event\n // Fired when the center of the map stops changing\n // (e.g. user stopped dragging the map or after non-centered zoom).\n return this.fire('moveend');\n },\n _stop: function () {\n cancelAnimFrame(this._flyToFrame);\n if (this._panAnim) {\n this._panAnim.stop();\n }\n return this;\n },\n _rawPanBy: function (offset) {\n setPosition(this._mapPane, this._getMapPanePos().subtract(offset));\n },\n _getZoomSpan: function () {\n return this.getMaxZoom() - this.getMinZoom();\n },\n _panInsideMaxBounds: function () {\n if (!this._enforcingBounds) {\n this.panInsideBounds(this.options.maxBounds);\n }\n },\n _checkIfLoaded: function () {\n if (!this._loaded) {\n throw new Error('Set map center and zoom first.');\n }\n },\n // DOM event handling\n\n // @section Interaction events\n _initEvents: function (remove) {\n this._targets = {};\n this._targets[stamp(this._container)] = this;\n var onOff = remove ? off : on;\n\n // @event click: MouseEvent\n // Fired when the user clicks (or taps) the map.\n // @event dblclick: MouseEvent\n // Fired when the user double-clicks (or double-taps) the map.\n // @event mousedown: MouseEvent\n // Fired when the user pushes the mouse button on the map.\n // @event mouseup: MouseEvent\n // Fired when the user releases the mouse button on the map.\n // @event mouseover: MouseEvent\n // Fired when the mouse enters the map.\n // @event mouseout: MouseEvent\n // Fired when the mouse leaves the map.\n // @event mousemove: MouseEvent\n // Fired while the mouse moves over the map.\n // @event contextmenu: MouseEvent\n // Fired when the user pushes the right mouse button on the map, prevents\n // default browser context menu from showing if there are listeners on\n // this event. Also fired on mobile when the user holds a single touch\n // for a second (also called long press).\n // @event keypress: KeyboardEvent\n // Fired when the user presses a key from the keyboard that produces a character value while the map is focused.\n // @event keydown: KeyboardEvent\n // Fired when the user presses a key from the keyboard while the map is focused. Unlike the `keypress` event,\n // the `keydown` event is fired for keys that produce a character value and for keys\n // that do not produce a character value.\n // @event keyup: KeyboardEvent\n // Fired when the user releases a key from the keyboard while the map is focused.\n onOff(this._container, 'click dblclick mousedown mouseup ' + 'mouseover mouseout mousemove contextmenu keypress keydown keyup', this._handleDOMEvent, this);\n if (this.options.trackResize) {\n onOff(window, 'resize', this._onResize, this);\n }\n if (Browser.any3d && this.options.transform3DLimit) {\n (remove ? this.off : this.on).call(this, 'moveend', this._onMoveEnd);\n }\n },\n _onResize: function () {\n cancelAnimFrame(this._resizeRequest);\n this._resizeRequest = requestAnimFrame(function () {\n this.invalidateSize({\n debounceMoveend: true\n });\n }, this);\n },\n _onScroll: function () {\n this._container.scrollTop = 0;\n this._container.scrollLeft = 0;\n },\n _onMoveEnd: function () {\n var pos = this._getMapPanePos();\n if (Math.max(Math.abs(pos.x), Math.abs(pos.y)) >= this.options.transform3DLimit) {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=1203873 but Webkit also have\n // a pixel offset on very high values, see: https://jsfiddle.net/dg6r5hhb/\n this._resetView(this.getCenter(), this.getZoom());\n }\n },\n _findEventTargets: function (e, type) {\n var targets = [],\n target,\n isHover = type === 'mouseout' || type === 'mouseover',\n src = e.target || e.srcElement,\n dragging = false;\n while (src) {\n target = this._targets[stamp(src)];\n if (target && (type === 'click' || type === 'preclick') && this._draggableMoved(target)) {\n // Prevent firing click after you just dragged an object.\n dragging = true;\n break;\n }\n if (target && target.listens(type, true)) {\n if (isHover && !isExternalTarget(src, e)) {\n break;\n }\n targets.push(target);\n if (isHover) {\n break;\n }\n }\n if (src === this._container) {\n break;\n }\n src = src.parentNode;\n }\n if (!targets.length && !dragging && !isHover && this.listens(type, true)) {\n targets = [this];\n }\n return targets;\n },\n _isClickDisabled: function (el) {\n while (el && el !== this._container) {\n if (el['_leaflet_disable_click']) {\n return true;\n }\n el = el.parentNode;\n }\n },\n _handleDOMEvent: function (e) {\n var el = e.target || e.srcElement;\n if (!this._loaded || el['_leaflet_disable_events'] || e.type === 'click' && this._isClickDisabled(el)) {\n return;\n }\n var type = e.type;\n if (type === 'mousedown') {\n // prevents outline when clicking on keyboard-focusable element\n preventOutline(el);\n }\n this._fireDOMEvent(e, type);\n },\n _mouseEvents: ['click', 'dblclick', 'mouseover', 'mouseout', 'contextmenu'],\n _fireDOMEvent: function (e, type, canvasTargets) {\n if (e.type === 'click') {\n // Fire a synthetic 'preclick' event which propagates up (mainly for closing popups).\n // @event preclick: MouseEvent\n // Fired before mouse click on the map (sometimes useful when you\n // want something to happen on click before any existing click\n // handlers start running).\n var synth = extend({}, e);\n synth.type = 'preclick';\n this._fireDOMEvent(synth, synth.type, canvasTargets);\n }\n\n // Find the layer the event is propagating from and its parents.\n var targets = this._findEventTargets(e, type);\n if (canvasTargets) {\n var filtered = []; // pick only targets with listeners\n for (var i = 0; i < canvasTargets.length; i++) {\n if (canvasTargets[i].listens(type, true)) {\n filtered.push(canvasTargets[i]);\n }\n }\n targets = filtered.concat(targets);\n }\n if (!targets.length) {\n return;\n }\n if (type === 'contextmenu') {\n preventDefault(e);\n }\n var target = targets[0];\n var data = {\n originalEvent: e\n };\n if (e.type !== 'keypress' && e.type !== 'keydown' && e.type !== 'keyup') {\n var isMarker = target.getLatLng && (!target._radius || target._radius <= 10);\n data.containerPoint = isMarker ? this.latLngToContainerPoint(target.getLatLng()) : this.mouseEventToContainerPoint(e);\n data.layerPoint = this.containerPointToLayerPoint(data.containerPoint);\n data.latlng = isMarker ? target.getLatLng() : this.layerPointToLatLng(data.layerPoint);\n }\n for (i = 0; i < targets.length; i++) {\n targets[i].fire(type, data, true);\n if (data.originalEvent._stopped || targets[i].options.bubblingMouseEvents === false && indexOf(this._mouseEvents, type) !== -1) {\n return;\n }\n }\n },\n _draggableMoved: function (obj) {\n obj = obj.dragging && obj.dragging.enabled() ? obj : this;\n return obj.dragging && obj.dragging.moved() || this.boxZoom && this.boxZoom.moved();\n },\n _clearHandlers: function () {\n for (var i = 0, len = this._handlers.length; i < len; i++) {\n this._handlers[i].disable();\n }\n },\n // @section Other Methods\n\n // @method whenReady(fn: Function, context?: Object): this\n // Runs the given function `fn` when the map gets initialized with\n // a view (center and zoom) and at least one layer, or immediately\n // if it's already initialized, optionally passing a function context.\n whenReady: function (callback, context) {\n if (this._loaded) {\n callback.call(context || this, {\n target: this\n });\n } else {\n this.on('load', callback, context);\n }\n return this;\n },\n // private methods for getting map state\n\n _getMapPanePos: function () {\n return getPosition(this._mapPane) || new Point(0, 0);\n },\n _moved: function () {\n var pos = this._getMapPanePos();\n return pos && !pos.equals([0, 0]);\n },\n _getTopLeftPoint: function (center, zoom) {\n var pixelOrigin = center && zoom !== undefined ? this._getNewPixelOrigin(center, zoom) : this.getPixelOrigin();\n return pixelOrigin.subtract(this._getMapPanePos());\n },\n _getNewPixelOrigin: function (center, zoom) {\n var viewHalf = this.getSize()._divideBy(2);\n return this.project(center, zoom)._subtract(viewHalf)._add(this._getMapPanePos())._round();\n },\n _latLngToNewLayerPoint: function (latlng, zoom, center) {\n var topLeft = this._getNewPixelOrigin(center, zoom);\n return this.project(latlng, zoom)._subtract(topLeft);\n },\n _latLngBoundsToNewLayerBounds: function (latLngBounds, zoom, center) {\n var topLeft = this._getNewPixelOrigin(center, zoom);\n return toBounds([this.project(latLngBounds.getSouthWest(), zoom)._subtract(topLeft), this.project(latLngBounds.getNorthWest(), zoom)._subtract(topLeft), this.project(latLngBounds.getSouthEast(), zoom)._subtract(topLeft), this.project(latLngBounds.getNorthEast(), zoom)._subtract(topLeft)]);\n },\n // layer point of the current center\n _getCenterLayerPoint: function () {\n return this.containerPointToLayerPoint(this.getSize()._divideBy(2));\n },\n // offset of the specified place to the current center in pixels\n _getCenterOffset: function (latlng) {\n return this.latLngToLayerPoint(latlng).subtract(this._getCenterLayerPoint());\n },\n // adjust center for view to get inside bounds\n _limitCenter: function (center, zoom, bounds) {\n if (!bounds) {\n return center;\n }\n var centerPoint = this.project(center, zoom),\n viewHalf = this.getSize().divideBy(2),\n viewBounds = new Bounds(centerPoint.subtract(viewHalf), centerPoint.add(viewHalf)),\n offset = this._getBoundsOffset(viewBounds, bounds, zoom);\n\n // If offset is less than a pixel, ignore.\n // This prevents unstable projections from getting into\n // an infinite loop of tiny offsets.\n if (Math.abs(offset.x) <= 1 && Math.abs(offset.y) <= 1) {\n return center;\n }\n return this.unproject(centerPoint.add(offset), zoom);\n },\n // adjust offset for view to get inside bounds\n _limitOffset: function (offset, bounds) {\n if (!bounds) {\n return offset;\n }\n var viewBounds = this.getPixelBounds(),\n newBounds = new Bounds(viewBounds.min.add(offset), viewBounds.max.add(offset));\n return offset.add(this._getBoundsOffset(newBounds, bounds));\n },\n // returns offset needed for pxBounds to get inside maxBounds at a specified zoom\n _getBoundsOffset: function (pxBounds, maxBounds, zoom) {\n var projectedMaxBounds = toBounds(this.project(maxBounds.getNorthEast(), zoom), this.project(maxBounds.getSouthWest(), zoom)),\n minOffset = projectedMaxBounds.min.subtract(pxBounds.min),\n maxOffset = projectedMaxBounds.max.subtract(pxBounds.max),\n dx = this._rebound(minOffset.x, -maxOffset.x),\n dy = this._rebound(minOffset.y, -maxOffset.y);\n return new Point(dx, dy);\n },\n _rebound: function (left, right) {\n return left + right > 0 ? Math.round(left - right) / 2 : Math.max(0, Math.ceil(left)) - Math.max(0, Math.floor(right));\n },\n _limitZoom: function (zoom) {\n var min = this.getMinZoom(),\n max = this.getMaxZoom(),\n snap = Browser.any3d ? this.options.zoomSnap : 1;\n if (snap) {\n zoom = Math.round(zoom / snap) * snap;\n }\n return Math.max(min, Math.min(max, zoom));\n },\n _onPanTransitionStep: function () {\n this.fire('move');\n },\n _onPanTransitionEnd: function () {\n removeClass(this._mapPane, 'leaflet-pan-anim');\n this.fire('moveend');\n },\n _tryAnimatedPan: function (center, options) {\n // difference between the new and current centers in pixels\n var offset = this._getCenterOffset(center)._trunc();\n\n // don't animate too far unless animate: true specified in options\n if ((options && options.animate) !== true && !this.getSize().contains(offset)) {\n return false;\n }\n this.panBy(offset, options);\n return true;\n },\n _createAnimProxy: function () {\n var proxy = this._proxy = create$1('div', 'leaflet-proxy leaflet-zoom-animated');\n this._panes.mapPane.appendChild(proxy);\n this.on('zoomanim', function (e) {\n var prop = TRANSFORM,\n transform = this._proxy.style[prop];\n setTransform(this._proxy, this.project(e.center, e.zoom), this.getZoomScale(e.zoom, 1));\n\n // workaround for case when transform is the same and so transitionend event is not fired\n if (transform === this._proxy.style[prop] && this._animatingZoom) {\n this._onZoomTransitionEnd();\n }\n }, this);\n this.on('load moveend', this._animMoveEnd, this);\n this._on('unload', this._destroyAnimProxy, this);\n },\n _destroyAnimProxy: function () {\n remove(this._proxy);\n this.off('load moveend', this._animMoveEnd, this);\n delete this._proxy;\n },\n _animMoveEnd: function () {\n var c = this.getCenter(),\n z = this.getZoom();\n setTransform(this._proxy, this.project(c, z), this.getZoomScale(z, 1));\n },\n _catchTransitionEnd: function (e) {\n if (this._animatingZoom && e.propertyName.indexOf('transform') >= 0) {\n this._onZoomTransitionEnd();\n }\n },\n _nothingToAnimate: function () {\n return !this._container.getElementsByClassName('leaflet-zoom-animated').length;\n },\n _tryAnimatedZoom: function (center, zoom, options) {\n if (this._animatingZoom) {\n return true;\n }\n options = options || {};\n\n // don't animate if disabled, not supported or zoom difference is too large\n if (!this._zoomAnimated || options.animate === false || this._nothingToAnimate() || Math.abs(zoom - this._zoom) > this.options.zoomAnimationThreshold) {\n return false;\n }\n\n // offset is the pixel coords of the zoom origin relative to the current center\n var scale = this.getZoomScale(zoom),\n offset = this._getCenterOffset(center)._divideBy(1 - 1 / scale);\n\n // don't animate if the zoom origin isn't within one screen from the current center, unless forced\n if (options.animate !== true && !this.getSize().contains(offset)) {\n return false;\n }\n requestAnimFrame(function () {\n this._moveStart(true, options.noMoveStart || false)._animateZoom(center, zoom, true);\n }, this);\n return true;\n },\n _animateZoom: function (center, zoom, startAnim, noUpdate) {\n if (!this._mapPane) {\n return;\n }\n if (startAnim) {\n this._animatingZoom = true;\n\n // remember what center/zoom to set after animation\n this._animateToCenter = center;\n this._animateToZoom = zoom;\n addClass(this._mapPane, 'leaflet-zoom-anim');\n }\n\n // @section Other Events\n // @event zoomanim: ZoomAnimEvent\n // Fired at least once per zoom animation. For continuous zoom, like pinch zooming, fired once per frame during zoom.\n this.fire('zoomanim', {\n center: center,\n zoom: zoom,\n noUpdate: noUpdate\n });\n if (!this._tempFireZoomEvent) {\n this._tempFireZoomEvent = this._zoom !== this._animateToZoom;\n }\n this._move(this._animateToCenter, this._animateToZoom, undefined, true);\n\n // Work around webkit not firing 'transitionend', see https://github.com/Leaflet/Leaflet/issues/3689, 2693\n setTimeout(bind(this._onZoomTransitionEnd, this), 250);\n },\n _onZoomTransitionEnd: function () {\n if (!this._animatingZoom) {\n return;\n }\n if (this._mapPane) {\n removeClass(this._mapPane, 'leaflet-zoom-anim');\n }\n this._animatingZoom = false;\n this._move(this._animateToCenter, this._animateToZoom, undefined, true);\n if (this._tempFireZoomEvent) {\n this.fire('zoom');\n }\n delete this._tempFireZoomEvent;\n this.fire('move');\n this._moveEnd(true);\n }\n });\n\n // @section\n\n // @factory L.map(id: String, options?: Map options)\n // Instantiates a map object given the DOM ID of a `<div>` element\n // and optionally an object literal with `Map options`.\n //\n // @alternative\n // @factory L.map(el: HTMLElement, options?: Map options)\n // Instantiates a map object given an instance of a `<div>` HTML element\n // and optionally an object literal with `Map options`.\n function createMap(id, options) {\n return new Map(id, options);\n }\n\n /*\r\n * @class Control\r\n * @aka L.Control\r\n * @inherits Class\r\n *\r\n * L.Control is a base class for implementing map controls. Handles positioning.\r\n * All other controls extend from this class.\r\n */\n\n var Control = Class.extend({\n // @section\n // @aka Control Options\n options: {\n // @option position: String = 'topright'\n // The position of the control (one of the map corners). Possible values are `'topleft'`,\n // `'topright'`, `'bottomleft'` or `'bottomright'`\n position: 'topright'\n },\n initialize: function (options) {\n setOptions(this, options);\n },\n /* @section\r\n * Classes extending L.Control will inherit the following methods:\r\n *\r\n * @method getPosition: string\r\n * Returns the position of the control.\r\n */\n getPosition: function () {\n return this.options.position;\n },\n // @method setPosition(position: string): this\n // Sets the position of the control.\n setPosition: function (position) {\n var map = this._map;\n if (map) {\n map.removeControl(this);\n }\n this.options.position = position;\n if (map) {\n map.addControl(this);\n }\n return this;\n },\n // @method getContainer: HTMLElement\n // Returns the HTMLElement that contains the control.\n getContainer: function () {\n return this._container;\n },\n // @method addTo(map: Map): this\n // Adds the control to the given map.\n addTo: function (map) {\n this.remove();\n this._map = map;\n var container = this._container = this.onAdd(map),\n pos = this.getPosition(),\n corner = map._controlCorners[pos];\n addClass(container, 'leaflet-control');\n if (pos.indexOf('bottom') !== -1) {\n corner.insertBefore(container, corner.firstChild);\n } else {\n corner.appendChild(container);\n }\n this._map.on('unload', this.remove, this);\n return this;\n },\n // @method remove: this\n // Removes the control from the map it is currently active on.\n remove: function () {\n if (!this._map) {\n return this;\n }\n remove(this._container);\n if (this.onRemove) {\n this.onRemove(this._map);\n }\n this._map.off('unload', this.remove, this);\n this._map = null;\n return this;\n },\n _refocusOnMap: function (e) {\n // if map exists and event is not a keyboard event\n if (this._map && e && e.screenX > 0 && e.screenY > 0) {\n this._map.getContainer().focus();\n }\n }\n });\n var control = function (options) {\n return new Control(options);\n };\n\n /* @section Extension methods\r\n * @uninheritable\r\n *\r\n * Every control should extend from `L.Control` and (re-)implement the following methods.\r\n *\r\n * @method onAdd(map: Map): HTMLElement\r\n * Should return the container DOM element for the control and add listeners on relevant map events. Called on [`control.addTo(map)`](#control-addTo).\r\n *\r\n * @method onRemove(map: Map)\r\n * Optional method. Should contain all clean up code that removes the listeners previously added in [`onAdd`](#control-onadd). Called on [`control.remove()`](#control-remove).\r\n */\n\n /* @namespace Map\r\n * @section Methods for Layers and Controls\r\n */\n Map.include({\n // @method addControl(control: Control): this\n // Adds the given control to the map\n addControl: function (control) {\n control.addTo(this);\n return this;\n },\n // @method removeControl(control: Control): this\n // Removes the given control from the map\n removeControl: function (control) {\n control.remove();\n return this;\n },\n _initControlPos: function () {\n var corners = this._controlCorners = {},\n l = 'leaflet-',\n container = this._controlContainer = create$1('div', l + 'control-container', this._container);\n function createCorner(vSide, hSide) {\n var className = l + vSide + ' ' + l + hSide;\n corners[vSide + hSide] = create$1('div', className, container);\n }\n createCorner('top', 'left');\n createCorner('top', 'right');\n createCorner('bottom', 'left');\n createCorner('bottom', 'right');\n },\n _clearControlPos: function () {\n for (var i in this._controlCorners) {\n remove(this._controlCorners[i]);\n }\n remove(this._controlContainer);\n delete this._controlCorners;\n delete this._controlContainer;\n }\n });\n\n /*\r\n * @class Control.Layers\r\n * @aka L.Control.Layers\r\n * @inherits Control\r\n *\r\n * The layers control gives users the ability to switch between different base layers and switch overlays on/off (check out the [detailed example](https://leafletjs.com/examples/layers-control/)). Extends `Control`.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var baseLayers = {\r\n * \t\"Mapbox\": mapbox,\r\n * \t\"OpenStreetMap\": osm\r\n * };\r\n *\r\n * var overlays = {\r\n * \t\"Marker\": marker,\r\n * \t\"Roads\": roadsLayer\r\n * };\r\n *\r\n * L.control.layers(baseLayers, overlays).addTo(map);\r\n * ```\r\n *\r\n * The `baseLayers` and `overlays` parameters are object literals with layer names as keys and `Layer` objects as values:\r\n *\r\n * ```js\r\n * {\r\n * \"<someName1>\": layer1,\r\n * \"<someName2>\": layer2\r\n * }\r\n * ```\r\n *\r\n * The layer names can contain HTML, which allows you to add additional styling to the items:\r\n *\r\n * ```js\r\n * {\"<img src='my-layer-icon' /> <span class='my-layer-item'>My Layer</span>\": myLayer}\r\n * ```\r\n */\n\n var Layers = Control.extend({\n // @section\n // @aka Control.Layers options\n options: {\n // @option collapsed: Boolean = true\n // If `true`, the control will be collapsed into an icon and expanded on mouse hover, touch, or keyboard activation.\n collapsed: true,\n position: 'topright',\n // @option autoZIndex: Boolean = true\n // If `true`, the control will assign zIndexes in increasing order to all of its layers so that the order is preserved when switching them on/off.\n autoZIndex: true,\n // @option hideSingleBase: Boolean = false\n // If `true`, the base layers in the control will be hidden when there is only one.\n hideSingleBase: false,\n // @option sortLayers: Boolean = false\n // Whether to sort the layers. When `false`, layers will keep the order\n // in which they were added to the control.\n sortLayers: false,\n // @option sortFunction: Function = *\n // A [compare function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array/sort)\n // that will be used for sorting the layers, when `sortLayers` is `true`.\n // The function receives both the `L.Layer` instances and their names, as in\n // `sortFunction(layerA, layerB, nameA, nameB)`.\n // By default, it sorts layers alphabetically by their name.\n sortFunction: function (layerA, layerB, nameA, nameB) {\n return nameA < nameB ? -1 : nameB < nameA ? 1 : 0;\n }\n },\n initialize: function (baseLayers, overlays, options) {\n setOptions(this, options);\n this._layerControlInputs = [];\n this._layers = [];\n this._lastZIndex = 0;\n this._handlingClick = false;\n this._preventClick = false;\n for (var i in baseLayers) {\n this._addLayer(baseLayers[i], i);\n }\n for (i in overlays) {\n this._addLayer(overlays[i], i, true);\n }\n },\n onAdd: function (map) {\n this._initLayout();\n this._update();\n this._map = map;\n map.on('zoomend', this._checkDisabledLayers, this);\n for (var i = 0; i < this._layers.length; i++) {\n this._layers[i].layer.on('add remove', this._onLayerChange, this);\n }\n return this._container;\n },\n addTo: function (map) {\n Control.prototype.addTo.call(this, map);\n // Trigger expand after Layers Control has been inserted into DOM so that is now has an actual height.\n return this._expandIfNotCollapsed();\n },\n onRemove: function () {\n this._map.off('zoomend', this._checkDisabledLayers, this);\n for (var i = 0; i < this._layers.length; i++) {\n this._layers[i].layer.off('add remove', this._onLayerChange, this);\n }\n },\n // @method addBaseLayer(layer: Layer, name: String): this\n // Adds a base layer (radio button entry) with the given name to the control.\n addBaseLayer: function (layer, name) {\n this._addLayer(layer, name);\n return this._map ? this._update() : this;\n },\n // @method addOverlay(layer: Layer, name: String): this\n // Adds an overlay (checkbox entry) with the given name to the control.\n addOverlay: function (layer, name) {\n this._addLayer(layer, name, true);\n return this._map ? this._update() : this;\n },\n // @method removeLayer(layer: Layer): this\n // Remove the given layer from the control.\n removeLayer: function (layer) {\n layer.off('add remove', this._onLayerChange, this);\n var obj = this._getLayer(stamp(layer));\n if (obj) {\n this._layers.splice(this._layers.indexOf(obj), 1);\n }\n return this._map ? this._update() : this;\n },\n // @method expand(): this\n // Expand the control container if collapsed.\n expand: function () {\n addClass(this._container, 'leaflet-control-layers-expanded');\n this._section.style.height = null;\n var acceptableHeight = this._map.getSize().y - (this._container.offsetTop + 50);\n if (acceptableHeight < this._section.clientHeight) {\n addClass(this._section, 'leaflet-control-layers-scrollbar');\n this._section.style.height = acceptableHeight + 'px';\n } else {\n removeClass(this._section, 'leaflet-control-layers-scrollbar');\n }\n this._checkDisabledLayers();\n return this;\n },\n // @method collapse(): this\n // Collapse the control container if expanded.\n collapse: function () {\n removeClass(this._container, 'leaflet-control-layers-expanded');\n return this;\n },\n _initLayout: function () {\n var className = 'leaflet-control-layers',\n container = this._container = create$1('div', className),\n collapsed = this.options.collapsed;\n\n // makes this work on IE touch devices by stopping it from firing a mouseout event when the touch is released\n container.setAttribute('aria-haspopup', true);\n disableClickPropagation(container);\n disableScrollPropagation(container);\n var section = this._section = create$1('section', className + '-list');\n if (collapsed) {\n this._map.on('click', this.collapse, this);\n on(container, {\n mouseenter: this._expandSafely,\n mouseleave: this.collapse\n }, this);\n }\n var link = this._layersLink = create$1('a', className + '-toggle', container);\n link.href = '#';\n link.title = 'Layers';\n link.setAttribute('role', 'button');\n on(link, {\n keydown: function (e) {\n if (e.keyCode === 13) {\n this._expandSafely();\n }\n },\n // Certain screen readers intercept the key event and instead send a click event\n click: function (e) {\n preventDefault(e);\n this._expandSafely();\n }\n }, this);\n if (!collapsed) {\n this.expand();\n }\n this._baseLayersList = create$1('div', className + '-base', section);\n this._separator = create$1('div', className + '-separator', section);\n this._overlaysList = create$1('div', className + '-overlays', section);\n container.appendChild(section);\n },\n _getLayer: function (id) {\n for (var i = 0; i < this._layers.length; i++) {\n if (this._layers[i] && stamp(this._layers[i].layer) === id) {\n return this._layers[i];\n }\n }\n },\n _addLayer: function (layer, name, overlay) {\n if (this._map) {\n layer.on('add remove', this._onLayerChange, this);\n }\n this._layers.push({\n layer: layer,\n name: name,\n overlay: overlay\n });\n if (this.options.sortLayers) {\n this._layers.sort(bind(function (a, b) {\n return this.options.sortFunction(a.layer, b.layer, a.name, b.name);\n }, this));\n }\n if (this.options.autoZIndex && layer.setZIndex) {\n this._lastZIndex++;\n layer.setZIndex(this._lastZIndex);\n }\n this._expandIfNotCollapsed();\n },\n _update: function () {\n if (!this._container) {\n return this;\n }\n empty(this._baseLayersList);\n empty(this._overlaysList);\n this._layerControlInputs = [];\n var baseLayersPresent,\n overlaysPresent,\n i,\n obj,\n baseLayersCount = 0;\n for (i = 0; i < this._layers.length; i++) {\n obj = this._layers[i];\n this._addItem(obj);\n overlaysPresent = overlaysPresent || obj.overlay;\n baseLayersPresent = baseLayersPresent || !obj.overlay;\n baseLayersCount += !obj.overlay ? 1 : 0;\n }\n\n // Hide base layers section if there's only one layer.\n if (this.options.hideSingleBase) {\n baseLayersPresent = baseLayersPresent && baseLayersCount > 1;\n this._baseLayersList.style.display = baseLayersPresent ? '' : 'none';\n }\n this._separator.style.display = overlaysPresent && baseLayersPresent ? '' : 'none';\n return this;\n },\n _onLayerChange: function (e) {\n if (!this._handlingClick) {\n this._update();\n }\n var obj = this._getLayer(stamp(e.target));\n\n // @namespace Map\n // @section Layer events\n // @event baselayerchange: LayersControlEvent\n // Fired when the base layer is changed through the [layers control](#control-layers).\n // @event overlayadd: LayersControlEvent\n // Fired when an overlay is selected through the [layers control](#control-layers).\n // @event overlayremove: LayersControlEvent\n // Fired when an overlay is deselected through the [layers control](#control-layers).\n // @namespace Control.Layers\n var type = obj.overlay ? e.type === 'add' ? 'overlayadd' : 'overlayremove' : e.type === 'add' ? 'baselayerchange' : null;\n if (type) {\n this._map.fire(type, obj);\n }\n },\n // IE7 bugs out if you create a radio dynamically, so you have to do it this hacky way (see https://stackoverflow.com/a/119079)\n _createRadioElement: function (name, checked) {\n var radioHtml = '<input type=\"radio\" class=\"leaflet-control-layers-selector\" name=\"' + name + '\"' + (checked ? ' checked=\"checked\"' : '') + '/>';\n var radioFragment = document.createElement('div');\n radioFragment.innerHTML = radioHtml;\n return radioFragment.firstChild;\n },\n _addItem: function (obj) {\n var label = document.createElement('label'),\n checked = this._map.hasLayer(obj.layer),\n input;\n if (obj.overlay) {\n input = document.createElement('input');\n input.type = 'checkbox';\n input.className = 'leaflet-control-layers-selector';\n input.defaultChecked = checked;\n } else {\n input = this._createRadioElement('leaflet-base-layers_' + stamp(this), checked);\n }\n this._layerControlInputs.push(input);\n input.layerId = stamp(obj.layer);\n on(input, 'click', this._onInputClick, this);\n var name = document.createElement('span');\n name.innerHTML = ' ' + obj.name;\n\n // Helps from preventing layer control flicker when checkboxes are disabled\n // https://github.com/Leaflet/Leaflet/issues/2771\n var holder = document.createElement('span');\n label.appendChild(holder);\n holder.appendChild(input);\n holder.appendChild(name);\n var container = obj.overlay ? this._overlaysList : this._baseLayersList;\n container.appendChild(label);\n this._checkDisabledLayers();\n return label;\n },\n _onInputClick: function () {\n // expanding the control on mobile with a click can cause adding a layer - we don't want this\n if (this._preventClick) {\n return;\n }\n var inputs = this._layerControlInputs,\n input,\n layer;\n var addedLayers = [],\n removedLayers = [];\n this._handlingClick = true;\n for (var i = inputs.length - 1; i >= 0; i--) {\n input = inputs[i];\n layer = this._getLayer(input.layerId).layer;\n if (input.checked) {\n addedLayers.push(layer);\n } else if (!input.checked) {\n removedLayers.push(layer);\n }\n }\n\n // Bugfix issue 2318: Should remove all old layers before readding new ones\n for (i = 0; i < removedLayers.length; i++) {\n if (this._map.hasLayer(removedLayers[i])) {\n this._map.removeLayer(removedLayers[i]);\n }\n }\n for (i = 0; i < addedLayers.length; i++) {\n if (!this._map.hasLayer(addedLayers[i])) {\n this._map.addLayer(addedLayers[i]);\n }\n }\n this._handlingClick = false;\n this._refocusOnMap();\n },\n _checkDisabledLayers: function () {\n var inputs = this._layerControlInputs,\n input,\n layer,\n zoom = this._map.getZoom();\n for (var i = inputs.length - 1; i >= 0; i--) {\n input = inputs[i];\n layer = this._getLayer(input.layerId).layer;\n input.disabled = layer.options.minZoom !== undefined && zoom < layer.options.minZoom || layer.options.maxZoom !== undefined && zoom > layer.options.maxZoom;\n }\n },\n _expandIfNotCollapsed: function () {\n if (this._map && !this.options.collapsed) {\n this.expand();\n }\n return this;\n },\n _expandSafely: function () {\n var section = this._section;\n this._preventClick = true;\n on(section, 'click', preventDefault);\n this.expand();\n var that = this;\n setTimeout(function () {\n off(section, 'click', preventDefault);\n that._preventClick = false;\n });\n }\n });\n\n // @factory L.control.layers(baselayers?: Object, overlays?: Object, options?: Control.Layers options)\n // Creates a layers control with the given layers. Base layers will be switched with radio buttons, while overlays will be switched with checkboxes. Note that all base layers should be passed in the base layers object, but only one should be added to the map during map instantiation.\n var layers = function (baseLayers, overlays, options) {\n return new Layers(baseLayers, overlays, options);\n };\n\n /*\r\n * @class Control.Zoom\r\n * @aka L.Control.Zoom\r\n * @inherits Control\r\n *\r\n * A basic zoom control with two buttons (zoom in and zoom out). It is put on the map by default unless you set its [`zoomControl` option](#map-zoomcontrol) to `false`. Extends `Control`.\r\n */\n\n var Zoom = Control.extend({\n // @section\n // @aka Control.Zoom options\n options: {\n position: 'topleft',\n // @option zoomInText: String = '<span aria-hidden=\"true\">+</span>'\n // The text set on the 'zoom in' button.\n zoomInText: '<span aria-hidden=\"true\">+</span>',\n // @option zoomInTitle: String = 'Zoom in'\n // The title set on the 'zoom in' button.\n zoomInTitle: 'Zoom in',\n // @option zoomOutText: String = '<span aria-hidden=\"true\">−</span>'\n // The text set on the 'zoom out' button.\n zoomOutText: '<span aria-hidden=\"true\">−</span>',\n // @option zoomOutTitle: String = 'Zoom out'\n // The title set on the 'zoom out' button.\n zoomOutTitle: 'Zoom out'\n },\n onAdd: function (map) {\n var zoomName = 'leaflet-control-zoom',\n container = create$1('div', zoomName + ' leaflet-bar'),\n options = this.options;\n this._zoomInButton = this._createButton(options.zoomInText, options.zoomInTitle, zoomName + '-in', container, this._zoomIn);\n this._zoomOutButton = this._createButton(options.zoomOutText, options.zoomOutTitle, zoomName + '-out', container, this._zoomOut);\n this._updateDisabled();\n map.on('zoomend zoomlevelschange', this._updateDisabled, this);\n return container;\n },\n onRemove: function (map) {\n map.off('zoomend zoomlevelschange', this._updateDisabled, this);\n },\n disable: function () {\n this._disabled = true;\n this._updateDisabled();\n return this;\n },\n enable: function () {\n this._disabled = false;\n this._updateDisabled();\n return this;\n },\n _zoomIn: function (e) {\n if (!this._disabled && this._map._zoom < this._map.getMaxZoom()) {\n this._map.zoomIn(this._map.options.zoomDelta * (e.shiftKey ? 3 : 1));\n }\n },\n _zoomOut: function (e) {\n if (!this._disabled && this._map._zoom > this._map.getMinZoom()) {\n this._map.zoomOut(this._map.options.zoomDelta * (e.shiftKey ? 3 : 1));\n }\n },\n _createButton: function (html, title, className, container, fn) {\n var link = create$1('a', className, container);\n link.innerHTML = html;\n link.href = '#';\n link.title = title;\n\n /*\r\n * Will force screen readers like VoiceOver to read this as \"Zoom in - button\"\r\n */\n link.setAttribute('role', 'button');\n link.setAttribute('aria-label', title);\n disableClickPropagation(link);\n on(link, 'click', stop);\n on(link, 'click', fn, this);\n on(link, 'click', this._refocusOnMap, this);\n return link;\n },\n _updateDisabled: function () {\n var map = this._map,\n className = 'leaflet-disabled';\n removeClass(this._zoomInButton, className);\n removeClass(this._zoomOutButton, className);\n this._zoomInButton.setAttribute('aria-disabled', 'false');\n this._zoomOutButton.setAttribute('aria-disabled', 'false');\n if (this._disabled || map._zoom === map.getMinZoom()) {\n addClass(this._zoomOutButton, className);\n this._zoomOutButton.setAttribute('aria-disabled', 'true');\n }\n if (this._disabled || map._zoom === map.getMaxZoom()) {\n addClass(this._zoomInButton, className);\n this._zoomInButton.setAttribute('aria-disabled', 'true');\n }\n }\n });\n\n // @namespace Map\n // @section Control options\n // @option zoomControl: Boolean = true\n // Whether a [zoom control](#control-zoom) is added to the map by default.\n Map.mergeOptions({\n zoomControl: true\n });\n Map.addInitHook(function () {\n if (this.options.zoomControl) {\n // @section Controls\n // @property zoomControl: Control.Zoom\n // The default zoom control (only available if the\n // [`zoomControl` option](#map-zoomcontrol) was `true` when creating the map).\n this.zoomControl = new Zoom();\n this.addControl(this.zoomControl);\n }\n });\n\n // @namespace Control.Zoom\n // @factory L.control.zoom(options: Control.Zoom options)\n // Creates a zoom control\n var zoom = function (options) {\n return new Zoom(options);\n };\n\n /*\n * @class Control.Scale\n * @aka L.Control.Scale\n * @inherits Control\n *\n * A simple scale control that shows the scale of the current center of screen in metric (m/km) and imperial (mi/ft) systems. Extends `Control`.\n *\n * @example\n *\n * ```js\n * L.control.scale().addTo(map);\n * ```\n */\n\n var Scale = Control.extend({\n // @section\n // @aka Control.Scale options\n options: {\n position: 'bottomleft',\n // @option maxWidth: Number = 100\n // Maximum width of the control in pixels. The width is set dynamically to show round values (e.g. 100, 200, 500).\n maxWidth: 100,\n // @option metric: Boolean = True\n // Whether to show the metric scale line (m/km).\n metric: true,\n // @option imperial: Boolean = True\n // Whether to show the imperial scale line (mi/ft).\n imperial: true\n\n // @option updateWhenIdle: Boolean = false\n // If `true`, the control is updated on [`moveend`](#map-moveend), otherwise it's always up-to-date (updated on [`move`](#map-move)).\n },\n\n onAdd: function (map) {\n var className = 'leaflet-control-scale',\n container = create$1('div', className),\n options = this.options;\n this._addScales(options, className + '-line', container);\n map.on(options.updateWhenIdle ? 'moveend' : 'move', this._update, this);\n map.whenReady(this._update, this);\n return container;\n },\n onRemove: function (map) {\n map.off(this.options.updateWhenIdle ? 'moveend' : 'move', this._update, this);\n },\n _addScales: function (options, className, container) {\n if (options.metric) {\n this._mScale = create$1('div', className, container);\n }\n if (options.imperial) {\n this._iScale = create$1('div', className, container);\n }\n },\n _update: function () {\n var map = this._map,\n y = map.getSize().y / 2;\n var maxMeters = map.distance(map.containerPointToLatLng([0, y]), map.containerPointToLatLng([this.options.maxWidth, y]));\n this._updateScales(maxMeters);\n },\n _updateScales: function (maxMeters) {\n if (this.options.metric && maxMeters) {\n this._updateMetric(maxMeters);\n }\n if (this.options.imperial && maxMeters) {\n this._updateImperial(maxMeters);\n }\n },\n _updateMetric: function (maxMeters) {\n var meters = this._getRoundNum(maxMeters),\n label = meters < 1000 ? meters + ' m' : meters / 1000 + ' km';\n this._updateScale(this._mScale, label, meters / maxMeters);\n },\n _updateImperial: function (maxMeters) {\n var maxFeet = maxMeters * 3.2808399,\n maxMiles,\n miles,\n feet;\n if (maxFeet > 5280) {\n maxMiles = maxFeet / 5280;\n miles = this._getRoundNum(maxMiles);\n this._updateScale(this._iScale, miles + ' mi', miles / maxMiles);\n } else {\n feet = this._getRoundNum(maxFeet);\n this._updateScale(this._iScale, feet + ' ft', feet / maxFeet);\n }\n },\n _updateScale: function (scale, text, ratio) {\n scale.style.width = Math.round(this.options.maxWidth * ratio) + 'px';\n scale.innerHTML = text;\n },\n _getRoundNum: function (num) {\n var pow10 = Math.pow(10, (Math.floor(num) + '').length - 1),\n d = num / pow10;\n d = d >= 10 ? 10 : d >= 5 ? 5 : d >= 3 ? 3 : d >= 2 ? 2 : 1;\n return pow10 * d;\n }\n });\n\n // @factory L.control.scale(options?: Control.Scale options)\n // Creates an scale control with the given options.\n var scale = function (options) {\n return new Scale(options);\n };\n var ukrainianFlag = '<svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"8\" viewBox=\"0 0 12 8\" class=\"leaflet-attribution-flag\"><path fill=\"#4C7BE1\" d=\"M0 0h12v4H0z\"/><path fill=\"#FFD500\" d=\"M0 4h12v3H0z\"/><path fill=\"#E0BC00\" d=\"M0 7h12v1H0z\"/></svg>';\n\n /*\r\n * @class Control.Attribution\r\n * @aka L.Control.Attribution\r\n * @inherits Control\r\n *\r\n * The attribution control allows you to display attribution data in a small text box on a map. It is put on the map by default unless you set its [`attributionControl` option](#map-attributioncontrol) to `false`, and it fetches attribution texts from layers with the [`getAttribution` method](#layer-getattribution) automatically. Extends Control.\r\n */\n\n var Attribution = Control.extend({\n // @section\n // @aka Control.Attribution options\n options: {\n position: 'bottomright',\n // @option prefix: String|false = 'Leaflet'\n // The HTML text shown before the attributions. Pass `false` to disable.\n prefix: '<a href=\"https://leafletjs.com\" title=\"A JavaScript library for interactive maps\">' + (Browser.inlineSvg ? ukrainianFlag + ' ' : '') + 'Leaflet</a>'\n },\n initialize: function (options) {\n setOptions(this, options);\n this._attributions = {};\n },\n onAdd: function (map) {\n map.attributionControl = this;\n this._container = create$1('div', 'leaflet-control-attribution');\n disableClickPropagation(this._container);\n\n // TODO ugly, refactor\n for (var i in map._layers) {\n if (map._layers[i].getAttribution) {\n this.addAttribution(map._layers[i].getAttribution());\n }\n }\n this._update();\n map.on('layeradd', this._addAttribution, this);\n return this._container;\n },\n onRemove: function (map) {\n map.off('layeradd', this._addAttribution, this);\n },\n _addAttribution: function (ev) {\n if (ev.layer.getAttribution) {\n this.addAttribution(ev.layer.getAttribution());\n ev.layer.once('remove', function () {\n this.removeAttribution(ev.layer.getAttribution());\n }, this);\n }\n },\n // @method setPrefix(prefix: String|false): this\n // The HTML text shown before the attributions. Pass `false` to disable.\n setPrefix: function (prefix) {\n this.options.prefix = prefix;\n this._update();\n return this;\n },\n // @method addAttribution(text: String): this\n // Adds an attribution text (e.g. `'© OpenStreetMap contributors'`).\n addAttribution: function (text) {\n if (!text) {\n return this;\n }\n if (!this._attributions[text]) {\n this._attributions[text] = 0;\n }\n this._attributions[text]++;\n this._update();\n return this;\n },\n // @method removeAttribution(text: String): this\n // Removes an attribution text.\n removeAttribution: function (text) {\n if (!text) {\n return this;\n }\n if (this._attributions[text]) {\n this._attributions[text]--;\n this._update();\n }\n return this;\n },\n _update: function () {\n if (!this._map) {\n return;\n }\n var attribs = [];\n for (var i in this._attributions) {\n if (this._attributions[i]) {\n attribs.push(i);\n }\n }\n var prefixAndAttribs = [];\n if (this.options.prefix) {\n prefixAndAttribs.push(this.options.prefix);\n }\n if (attribs.length) {\n prefixAndAttribs.push(attribs.join(', '));\n }\n this._container.innerHTML = prefixAndAttribs.join(' <span aria-hidden=\"true\">|</span> ');\n }\n });\n\n // @namespace Map\n // @section Control options\n // @option attributionControl: Boolean = true\n // Whether a [attribution control](#control-attribution) is added to the map by default.\n Map.mergeOptions({\n attributionControl: true\n });\n Map.addInitHook(function () {\n if (this.options.attributionControl) {\n new Attribution().addTo(this);\n }\n });\n\n // @namespace Control.Attribution\n // @factory L.control.attribution(options: Control.Attribution options)\n // Creates an attribution control.\n var attribution = function (options) {\n return new Attribution(options);\n };\n Control.Layers = Layers;\n Control.Zoom = Zoom;\n Control.Scale = Scale;\n Control.Attribution = Attribution;\n control.layers = layers;\n control.zoom = zoom;\n control.scale = scale;\n control.attribution = attribution;\n\n /*\n \tL.Handler is a base class for handler classes that are used internally to inject\n \tinteraction features like dragging to classes like Map and Marker.\n */\n\n // @class Handler\n // @aka L.Handler\n // Abstract class for map interaction handlers\n\n var Handler = Class.extend({\n initialize: function (map) {\n this._map = map;\n },\n // @method enable(): this\n // Enables the handler\n enable: function () {\n if (this._enabled) {\n return this;\n }\n this._enabled = true;\n this.addHooks();\n return this;\n },\n // @method disable(): this\n // Disables the handler\n disable: function () {\n if (!this._enabled) {\n return this;\n }\n this._enabled = false;\n this.removeHooks();\n return this;\n },\n // @method enabled(): Boolean\n // Returns `true` if the handler is enabled\n enabled: function () {\n return !!this._enabled;\n }\n\n // @section Extension methods\n // Classes inheriting from `Handler` must implement the two following methods:\n // @method addHooks()\n // Called when the handler is enabled, should add event hooks.\n // @method removeHooks()\n // Called when the handler is disabled, should remove the event hooks added previously.\n });\n\n // @section There is static function which can be called without instantiating L.Handler:\n // @function addTo(map: Map, name: String): this\n // Adds a new Handler to the given map with the given name.\n Handler.addTo = function (map, name) {\n map.addHandler(name, this);\n return this;\n };\n var Mixin = {\n Events: Events\n };\n\n /*\r\n * @class Draggable\r\n * @aka L.Draggable\r\n * @inherits Evented\r\n *\r\n * A class for making DOM elements draggable (including touch support).\r\n * Used internally for map and marker dragging. Only works for elements\r\n * that were positioned with [`L.DomUtil.setPosition`](#domutil-setposition).\r\n *\r\n * @example\r\n * ```js\r\n * var draggable = new L.Draggable(elementToDrag);\r\n * draggable.enable();\r\n * ```\r\n */\n\n var START = Browser.touch ? 'touchstart mousedown' : 'mousedown';\n var Draggable = Evented.extend({\n options: {\n // @section\n // @aka Draggable options\n // @option clickTolerance: Number = 3\n // The max number of pixels a user can shift the mouse pointer during a click\n // for it to be considered a valid click (as opposed to a mouse drag).\n clickTolerance: 3\n },\n // @constructor L.Draggable(el: HTMLElement, dragHandle?: HTMLElement, preventOutline?: Boolean, options?: Draggable options)\n // Creates a `Draggable` object for moving `el` when you start dragging the `dragHandle` element (equals `el` itself by default).\n initialize: function (element, dragStartTarget, preventOutline, options) {\n setOptions(this, options);\n this._element = element;\n this._dragStartTarget = dragStartTarget || element;\n this._preventOutline = preventOutline;\n },\n // @method enable()\n // Enables the dragging ability\n enable: function () {\n if (this._enabled) {\n return;\n }\n on(this._dragStartTarget, START, this._onDown, this);\n this._enabled = true;\n },\n // @method disable()\n // Disables the dragging ability\n disable: function () {\n if (!this._enabled) {\n return;\n }\n\n // If we're currently dragging this draggable,\n // disabling it counts as first ending the drag.\n if (Draggable._dragging === this) {\n this.finishDrag(true);\n }\n off(this._dragStartTarget, START, this._onDown, this);\n this._enabled = false;\n this._moved = false;\n },\n _onDown: function (e) {\n // Ignore the event if disabled; this happens in IE11\n // under some circumstances, see #3666.\n if (!this._enabled) {\n return;\n }\n this._moved = false;\n if (hasClass(this._element, 'leaflet-zoom-anim')) {\n return;\n }\n if (e.touches && e.touches.length !== 1) {\n // Finish dragging to avoid conflict with touchZoom\n if (Draggable._dragging === this) {\n this.finishDrag();\n }\n return;\n }\n if (Draggable._dragging || e.shiftKey || e.which !== 1 && e.button !== 1 && !e.touches) {\n return;\n }\n Draggable._dragging = this; // Prevent dragging multiple objects at once.\n\n if (this._preventOutline) {\n preventOutline(this._element);\n }\n disableImageDrag();\n disableTextSelection();\n if (this._moving) {\n return;\n }\n\n // @event down: Event\n // Fired when a drag is about to start.\n this.fire('down');\n var first = e.touches ? e.touches[0] : e,\n sizedParent = getSizedParentNode(this._element);\n this._startPoint = new Point(first.clientX, first.clientY);\n this._startPos = getPosition(this._element);\n\n // Cache the scale, so that we can continuously compensate for it during drag (_onMove).\n this._parentScale = getScale(sizedParent);\n var mouseevent = e.type === 'mousedown';\n on(document, mouseevent ? 'mousemove' : 'touchmove', this._onMove, this);\n on(document, mouseevent ? 'mouseup' : 'touchend touchcancel', this._onUp, this);\n },\n _onMove: function (e) {\n // Ignore the event if disabled; this happens in IE11\n // under some circumstances, see #3666.\n if (!this._enabled) {\n return;\n }\n if (e.touches && e.touches.length > 1) {\n this._moved = true;\n return;\n }\n var first = e.touches && e.touches.length === 1 ? e.touches[0] : e,\n offset = new Point(first.clientX, first.clientY)._subtract(this._startPoint);\n if (!offset.x && !offset.y) {\n return;\n }\n if (Math.abs(offset.x) + Math.abs(offset.y) < this.options.clickTolerance) {\n return;\n }\n\n // We assume that the parent container's position, border and scale do not change for the duration of the drag.\n // Therefore there is no need to account for the position and border (they are eliminated by the subtraction)\n // and we can use the cached value for the scale.\n offset.x /= this._parentScale.x;\n offset.y /= this._parentScale.y;\n preventDefault(e);\n if (!this._moved) {\n // @event dragstart: Event\n // Fired when a drag starts\n this.fire('dragstart');\n this._moved = true;\n addClass(document.body, 'leaflet-dragging');\n this._lastTarget = e.target || e.srcElement;\n // IE and Edge do not give the <use> element, so fetch it\n // if necessary\n if (window.SVGElementInstance && this._lastTarget instanceof window.SVGElementInstance) {\n this._lastTarget = this._lastTarget.correspondingUseElement;\n }\n addClass(this._lastTarget, 'leaflet-drag-target');\n }\n this._newPos = this._startPos.add(offset);\n this._moving = true;\n this._lastEvent = e;\n this._updatePosition();\n },\n _updatePosition: function () {\n var e = {\n originalEvent: this._lastEvent\n };\n\n // @event predrag: Event\n // Fired continuously during dragging *before* each corresponding\n // update of the element's position.\n this.fire('predrag', e);\n setPosition(this._element, this._newPos);\n\n // @event drag: Event\n // Fired continuously during dragging.\n this.fire('drag', e);\n },\n _onUp: function () {\n // Ignore the event if disabled; this happens in IE11\n // under some circumstances, see #3666.\n if (!this._enabled) {\n return;\n }\n this.finishDrag();\n },\n finishDrag: function (noInertia) {\n removeClass(document.body, 'leaflet-dragging');\n if (this._lastTarget) {\n removeClass(this._lastTarget, 'leaflet-drag-target');\n this._lastTarget = null;\n }\n off(document, 'mousemove touchmove', this._onMove, this);\n off(document, 'mouseup touchend touchcancel', this._onUp, this);\n enableImageDrag();\n enableTextSelection();\n var fireDragend = this._moved && this._moving;\n this._moving = false;\n Draggable._dragging = false;\n if (fireDragend) {\n // @event dragend: DragEndEvent\n // Fired when the drag ends.\n this.fire('dragend', {\n noInertia: noInertia,\n distance: this._newPos.distanceTo(this._startPos)\n });\n }\n }\n });\n\n /*\r\n * @namespace PolyUtil\r\n * Various utility functions for polygon geometries.\r\n */\n\n /* @function clipPolygon(points: Point[], bounds: Bounds, round?: Boolean): Point[]\r\n * Clips the polygon geometry defined by the given `points` by the given bounds (using the [Sutherland-Hodgman algorithm](https://en.wikipedia.org/wiki/Sutherland%E2%80%93Hodgman_algorithm)).\r\n * Used by Leaflet to only show polygon points that are on the screen or near, increasing\r\n * performance. Note that polygon points needs different algorithm for clipping\r\n * than polyline, so there's a separate method for it.\r\n */\n function clipPolygon(points, bounds, round) {\n var clippedPoints,\n edges = [1, 4, 2, 8],\n i,\n j,\n k,\n a,\n b,\n len,\n edge,\n p;\n for (i = 0, len = points.length; i < len; i++) {\n points[i]._code = _getBitCode(points[i], bounds);\n }\n\n // for each edge (left, bottom, right, top)\n for (k = 0; k < 4; k++) {\n edge = edges[k];\n clippedPoints = [];\n for (i = 0, len = points.length, j = len - 1; i < len; j = i++) {\n a = points[i];\n b = points[j];\n\n // if a is inside the clip window\n if (!(a._code & edge)) {\n // if b is outside the clip window (a->b goes out of screen)\n if (b._code & edge) {\n p = _getEdgeIntersection(b, a, edge, bounds, round);\n p._code = _getBitCode(p, bounds);\n clippedPoints.push(p);\n }\n clippedPoints.push(a);\n\n // else if b is inside the clip window (a->b enters the screen)\n } else if (!(b._code & edge)) {\n p = _getEdgeIntersection(b, a, edge, bounds, round);\n p._code = _getBitCode(p, bounds);\n clippedPoints.push(p);\n }\n }\n points = clippedPoints;\n }\n return points;\n }\n\n /* @function polygonCenter(latlngs: LatLng[], crs: CRS): LatLng\r\n * Returns the center ([centroid](http://en.wikipedia.org/wiki/Centroid)) of the passed LatLngs (first ring) from a polygon.\r\n */\n function polygonCenter(latlngs, crs) {\n var i, j, p1, p2, f, area, x, y, center;\n if (!latlngs || latlngs.length === 0) {\n throw new Error('latlngs not passed');\n }\n if (!isFlat(latlngs)) {\n console.warn('latlngs are not flat! Only the first ring will be used');\n latlngs = latlngs[0];\n }\n var centroidLatLng = toLatLng([0, 0]);\n var bounds = toLatLngBounds(latlngs);\n var areaBounds = bounds.getNorthWest().distanceTo(bounds.getSouthWest()) * bounds.getNorthEast().distanceTo(bounds.getNorthWest());\n // tests showed that below 1700 rounding errors are happening\n if (areaBounds < 1700) {\n // getting a inexact center, to move the latlngs near to [0, 0] to prevent rounding errors\n centroidLatLng = centroid(latlngs);\n }\n var len = latlngs.length;\n var points = [];\n for (i = 0; i < len; i++) {\n var latlng = toLatLng(latlngs[i]);\n points.push(crs.project(toLatLng([latlng.lat - centroidLatLng.lat, latlng.lng - centroidLatLng.lng])));\n }\n area = x = y = 0;\n\n // polygon centroid algorithm;\n for (i = 0, j = len - 1; i < len; j = i++) {\n p1 = points[i];\n p2 = points[j];\n f = p1.y * p2.x - p2.y * p1.x;\n x += (p1.x + p2.x) * f;\n y += (p1.y + p2.y) * f;\n area += f * 3;\n }\n if (area === 0) {\n // Polygon is so small that all points are on same pixel.\n center = points[0];\n } else {\n center = [x / area, y / area];\n }\n var latlngCenter = crs.unproject(toPoint(center));\n return toLatLng([latlngCenter.lat + centroidLatLng.lat, latlngCenter.lng + centroidLatLng.lng]);\n }\n\n /* @function centroid(latlngs: LatLng[]): LatLng\r\n * Returns the 'center of mass' of the passed LatLngs.\r\n */\n function centroid(coords) {\n var latSum = 0;\n var lngSum = 0;\n var len = 0;\n for (var i = 0; i < coords.length; i++) {\n var latlng = toLatLng(coords[i]);\n latSum += latlng.lat;\n lngSum += latlng.lng;\n len++;\n }\n return toLatLng([latSum / len, lngSum / len]);\n }\n var PolyUtil = {\n __proto__: null,\n clipPolygon: clipPolygon,\n polygonCenter: polygonCenter,\n centroid: centroid\n };\n\n /*\r\n * @namespace LineUtil\r\n *\r\n * Various utility functions for polyline points processing, used by Leaflet internally to make polylines lightning-fast.\r\n */\n\n // Simplify polyline with vertex reduction and Douglas-Peucker simplification.\n // Improves rendering performance dramatically by lessening the number of points to draw.\n\n // @function simplify(points: Point[], tolerance: Number): Point[]\n // Dramatically reduces the number of points in a polyline while retaining\n // its shape and returns a new array of simplified points, using the\n // [Ramer-Douglas-Peucker algorithm](https://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm).\n // Used for a huge performance boost when processing/displaying Leaflet polylines for\n // each zoom level and also reducing visual noise. tolerance affects the amount of\n // simplification (lesser value means higher quality but slower and with more points).\n // Also released as a separated micro-library [Simplify.js](https://mourner.github.io/simplify-js/).\n function simplify(points, tolerance) {\n if (!tolerance || !points.length) {\n return points.slice();\n }\n var sqTolerance = tolerance * tolerance;\n\n // stage 1: vertex reduction\n points = _reducePoints(points, sqTolerance);\n\n // stage 2: Douglas-Peucker simplification\n points = _simplifyDP(points, sqTolerance);\n return points;\n }\n\n // @function pointToSegmentDistance(p: Point, p1: Point, p2: Point): Number\n // Returns the distance between point `p` and segment `p1` to `p2`.\n function pointToSegmentDistance(p, p1, p2) {\n return Math.sqrt(_sqClosestPointOnSegment(p, p1, p2, true));\n }\n\n // @function closestPointOnSegment(p: Point, p1: Point, p2: Point): Number\n // Returns the closest point from a point `p` on a segment `p1` to `p2`.\n function closestPointOnSegment(p, p1, p2) {\n return _sqClosestPointOnSegment(p, p1, p2);\n }\n\n // Ramer-Douglas-Peucker simplification, see https://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm\n function _simplifyDP(points, sqTolerance) {\n var len = points.length,\n ArrayConstructor = typeof Uint8Array !== undefined + '' ? Uint8Array : Array,\n markers = new ArrayConstructor(len);\n markers[0] = markers[len - 1] = 1;\n _simplifyDPStep(points, markers, sqTolerance, 0, len - 1);\n var i,\n newPoints = [];\n for (i = 0; i < len; i++) {\n if (markers[i]) {\n newPoints.push(points[i]);\n }\n }\n return newPoints;\n }\n function _simplifyDPStep(points, markers, sqTolerance, first, last) {\n var maxSqDist = 0,\n index,\n i,\n sqDist;\n for (i = first + 1; i <= last - 1; i++) {\n sqDist = _sqClosestPointOnSegment(points[i], points[first], points[last], true);\n if (sqDist > maxSqDist) {\n index = i;\n maxSqDist = sqDist;\n }\n }\n if (maxSqDist > sqTolerance) {\n markers[index] = 1;\n _simplifyDPStep(points, markers, sqTolerance, first, index);\n _simplifyDPStep(points, markers, sqTolerance, index, last);\n }\n }\n\n // reduce points that are too close to each other to a single point\n function _reducePoints(points, sqTolerance) {\n var reducedPoints = [points[0]];\n for (var i = 1, prev = 0, len = points.length; i < len; i++) {\n if (_sqDist(points[i], points[prev]) > sqTolerance) {\n reducedPoints.push(points[i]);\n prev = i;\n }\n }\n if (prev < len - 1) {\n reducedPoints.push(points[len - 1]);\n }\n return reducedPoints;\n }\n var _lastCode;\n\n // @function clipSegment(a: Point, b: Point, bounds: Bounds, useLastCode?: Boolean, round?: Boolean): Point[]|Boolean\n // Clips the segment a to b by rectangular bounds with the\n // [Cohen-Sutherland algorithm](https://en.wikipedia.org/wiki/Cohen%E2%80%93Sutherland_algorithm)\n // (modifying the segment points directly!). Used by Leaflet to only show polyline\n // points that are on the screen or near, increasing performance.\n function clipSegment(a, b, bounds, useLastCode, round) {\n var codeA = useLastCode ? _lastCode : _getBitCode(a, bounds),\n codeB = _getBitCode(b, bounds),\n codeOut,\n p,\n newCode;\n\n // save 2nd code to avoid calculating it on the next segment\n _lastCode = codeB;\n while (true) {\n // if a,b is inside the clip window (trivial accept)\n if (!(codeA | codeB)) {\n return [a, b];\n }\n\n // if a,b is outside the clip window (trivial reject)\n if (codeA & codeB) {\n return false;\n }\n\n // other cases\n codeOut = codeA || codeB;\n p = _getEdgeIntersection(a, b, codeOut, bounds, round);\n newCode = _getBitCode(p, bounds);\n if (codeOut === codeA) {\n a = p;\n codeA = newCode;\n } else {\n b = p;\n codeB = newCode;\n }\n }\n }\n function _getEdgeIntersection(a, b, code, bounds, round) {\n var dx = b.x - a.x,\n dy = b.y - a.y,\n min = bounds.min,\n max = bounds.max,\n x,\n y;\n if (code & 8) {\n // top\n x = a.x + dx * (max.y - a.y) / dy;\n y = max.y;\n } else if (code & 4) {\n // bottom\n x = a.x + dx * (min.y - a.y) / dy;\n y = min.y;\n } else if (code & 2) {\n // right\n x = max.x;\n y = a.y + dy * (max.x - a.x) / dx;\n } else if (code & 1) {\n // left\n x = min.x;\n y = a.y + dy * (min.x - a.x) / dx;\n }\n return new Point(x, y, round);\n }\n function _getBitCode(p, bounds) {\n var code = 0;\n if (p.x < bounds.min.x) {\n // left\n code |= 1;\n } else if (p.x > bounds.max.x) {\n // right\n code |= 2;\n }\n if (p.y < bounds.min.y) {\n // bottom\n code |= 4;\n } else if (p.y > bounds.max.y) {\n // top\n code |= 8;\n }\n return code;\n }\n\n // square distance (to avoid unnecessary Math.sqrt calls)\n function _sqDist(p1, p2) {\n var dx = p2.x - p1.x,\n dy = p2.y - p1.y;\n return dx * dx + dy * dy;\n }\n\n // return closest point on segment or distance to that point\n function _sqClosestPointOnSegment(p, p1, p2, sqDist) {\n var x = p1.x,\n y = p1.y,\n dx = p2.x - x,\n dy = p2.y - y,\n dot = dx * dx + dy * dy,\n t;\n if (dot > 0) {\n t = ((p.x - x) * dx + (p.y - y) * dy) / dot;\n if (t > 1) {\n x = p2.x;\n y = p2.y;\n } else if (t > 0) {\n x += dx * t;\n y += dy * t;\n }\n }\n dx = p.x - x;\n dy = p.y - y;\n return sqDist ? dx * dx + dy * dy : new Point(x, y);\n }\n\n // @function isFlat(latlngs: LatLng[]): Boolean\n // Returns true if `latlngs` is a flat array, false is nested.\n function isFlat(latlngs) {\n return !isArray(latlngs[0]) || typeof latlngs[0][0] !== 'object' && typeof latlngs[0][0] !== 'undefined';\n }\n function _flat(latlngs) {\n console.warn('Deprecated use of _flat, please use L.LineUtil.isFlat instead.');\n return isFlat(latlngs);\n }\n\n /* @function polylineCenter(latlngs: LatLng[], crs: CRS): LatLng\r\n * Returns the center ([centroid](http://en.wikipedia.org/wiki/Centroid)) of the passed LatLngs (first ring) from a polyline.\r\n */\n function polylineCenter(latlngs, crs) {\n var i, halfDist, segDist, dist, p1, p2, ratio, center;\n if (!latlngs || latlngs.length === 0) {\n throw new Error('latlngs not passed');\n }\n if (!isFlat(latlngs)) {\n console.warn('latlngs are not flat! Only the first ring will be used');\n latlngs = latlngs[0];\n }\n var centroidLatLng = toLatLng([0, 0]);\n var bounds = toLatLngBounds(latlngs);\n var areaBounds = bounds.getNorthWest().distanceTo(bounds.getSouthWest()) * bounds.getNorthEast().distanceTo(bounds.getNorthWest());\n // tests showed that below 1700 rounding errors are happening\n if (areaBounds < 1700) {\n // getting a inexact center, to move the latlngs near to [0, 0] to prevent rounding errors\n centroidLatLng = centroid(latlngs);\n }\n var len = latlngs.length;\n var points = [];\n for (i = 0; i < len; i++) {\n var latlng = toLatLng(latlngs[i]);\n points.push(crs.project(toLatLng([latlng.lat - centroidLatLng.lat, latlng.lng - centroidLatLng.lng])));\n }\n for (i = 0, halfDist = 0; i < len - 1; i++) {\n halfDist += points[i].distanceTo(points[i + 1]) / 2;\n }\n\n // The line is so small in the current view that all points are on the same pixel.\n if (halfDist === 0) {\n center = points[0];\n } else {\n for (i = 0, dist = 0; i < len - 1; i++) {\n p1 = points[i];\n p2 = points[i + 1];\n segDist = p1.distanceTo(p2);\n dist += segDist;\n if (dist > halfDist) {\n ratio = (dist - halfDist) / segDist;\n center = [p2.x - ratio * (p2.x - p1.x), p2.y - ratio * (p2.y - p1.y)];\n break;\n }\n }\n }\n var latlngCenter = crs.unproject(toPoint(center));\n return toLatLng([latlngCenter.lat + centroidLatLng.lat, latlngCenter.lng + centroidLatLng.lng]);\n }\n var LineUtil = {\n __proto__: null,\n simplify: simplify,\n pointToSegmentDistance: pointToSegmentDistance,\n closestPointOnSegment: closestPointOnSegment,\n clipSegment: clipSegment,\n _getEdgeIntersection: _getEdgeIntersection,\n _getBitCode: _getBitCode,\n _sqClosestPointOnSegment: _sqClosestPointOnSegment,\n isFlat: isFlat,\n _flat: _flat,\n polylineCenter: polylineCenter\n };\n\n /*\r\n * @namespace Projection\r\n * @section\r\n * Leaflet comes with a set of already defined Projections out of the box:\r\n *\r\n * @projection L.Projection.LonLat\r\n *\r\n * Equirectangular, or Plate Carree projection â the most simple projection,\r\n * mostly used by GIS enthusiasts. Directly maps `x` as longitude, and `y` as\r\n * latitude. Also suitable for flat worlds, e.g. game maps. Used by the\r\n * `EPSG:4326` and `Simple` CRS.\r\n */\n\n var LonLat = {\n project: function (latlng) {\n return new Point(latlng.lng, latlng.lat);\n },\n unproject: function (point) {\n return new LatLng(point.y, point.x);\n },\n bounds: new Bounds([-180, -90], [180, 90])\n };\n\n /*\r\n * @namespace Projection\r\n * @projection L.Projection.Mercator\r\n *\r\n * Elliptical Mercator projection â more complex than Spherical Mercator. Assumes that Earth is an ellipsoid. Used by the EPSG:3395 CRS.\r\n */\n\n var Mercator = {\n R: 6378137,\n R_MINOR: 6356752.314245179,\n bounds: new Bounds([-20037508.34279, -15496570.73972], [20037508.34279, 18764656.23138]),\n project: function (latlng) {\n var d = Math.PI / 180,\n r = this.R,\n y = latlng.lat * d,\n tmp = this.R_MINOR / r,\n e = Math.sqrt(1 - tmp * tmp),\n con = e * Math.sin(y);\n var ts = Math.tan(Math.PI / 4 - y / 2) / Math.pow((1 - con) / (1 + con), e / 2);\n y = -r * Math.log(Math.max(ts, 1E-10));\n return new Point(latlng.lng * d * r, y);\n },\n unproject: function (point) {\n var d = 180 / Math.PI,\n r = this.R,\n tmp = this.R_MINOR / r,\n e = Math.sqrt(1 - tmp * tmp),\n ts = Math.exp(-point.y / r),\n phi = Math.PI / 2 - 2 * Math.atan(ts);\n for (var i = 0, dphi = 0.1, con; i < 15 && Math.abs(dphi) > 1e-7; i++) {\n con = e * Math.sin(phi);\n con = Math.pow((1 - con) / (1 + con), e / 2);\n dphi = Math.PI / 2 - 2 * Math.atan(ts * con) - phi;\n phi += dphi;\n }\n return new LatLng(phi * d, point.x * d / r);\n }\n };\n\n /*\n * @class Projection\n * An object with methods for projecting geographical coordinates of the world onto\n * a flat surface (and back). See [Map projection](https://en.wikipedia.org/wiki/Map_projection).\n * @property bounds: Bounds\n * The bounds (specified in CRS units) where the projection is valid\n * @method project(latlng: LatLng): Point\n * Projects geographical coordinates into a 2D point.\n * Only accepts actual `L.LatLng` instances, not arrays.\n * @method unproject(point: Point): LatLng\n * The inverse of `project`. Projects a 2D point into a geographical location.\n * Only accepts actual `L.Point` instances, not arrays.\n * Note that the projection instances do not inherit from Leaflet's `Class` object,\n * and can't be instantiated. Also, new classes can't inherit from them,\n * and methods can't be added to them with the `include` function.\n */\n\n var index = {\n __proto__: null,\n LonLat: LonLat,\n Mercator: Mercator,\n SphericalMercator: SphericalMercator\n };\n\n /*\r\n * @namespace CRS\r\n * @crs L.CRS.EPSG3395\r\n *\r\n * Rarely used by some commercial tile providers. Uses Elliptical Mercator projection.\r\n */\n var EPSG3395 = extend({}, Earth, {\n code: 'EPSG:3395',\n projection: Mercator,\n transformation: function () {\n var scale = 0.5 / (Math.PI * Mercator.R);\n return toTransformation(scale, 0.5, -scale, 0.5);\n }()\n });\n\n /*\r\n * @namespace CRS\r\n * @crs L.CRS.EPSG4326\r\n *\r\n * A common CRS among GIS enthusiasts. Uses simple Equirectangular projection.\r\n *\r\n * Leaflet 1.0.x complies with the [TMS coordinate scheme for EPSG:4326](https://wiki.osgeo.org/wiki/Tile_Map_Service_Specification#global-geodetic),\r\n * which is a breaking change from 0.7.x behaviour. If you are using a `TileLayer`\r\n * with this CRS, ensure that there are two 256x256 pixel tiles covering the\r\n * whole earth at zoom level zero, and that the tile coordinate origin is (-180,+90),\r\n * or (-180,-90) for `TileLayer`s with [the `tms` option](#tilelayer-tms) set.\r\n */\n\n var EPSG4326 = extend({}, Earth, {\n code: 'EPSG:4326',\n projection: LonLat,\n transformation: toTransformation(1 / 180, 1, -1 / 180, 0.5)\n });\n\n /*\n * @namespace CRS\n * @crs L.CRS.Simple\n *\n * A simple CRS that maps longitude and latitude into `x` and `y` directly.\n * May be used for maps of flat surfaces (e.g. game maps). Note that the `y`\n * axis should still be inverted (going from bottom to top). `distance()` returns\n * simple euclidean distance.\n */\n\n var Simple = extend({}, CRS, {\n projection: LonLat,\n transformation: toTransformation(1, 0, -1, 0),\n scale: function (zoom) {\n return Math.pow(2, zoom);\n },\n zoom: function (scale) {\n return Math.log(scale) / Math.LN2;\n },\n distance: function (latlng1, latlng2) {\n var dx = latlng2.lng - latlng1.lng,\n dy = latlng2.lat - latlng1.lat;\n return Math.sqrt(dx * dx + dy * dy);\n },\n infinite: true\n });\n CRS.Earth = Earth;\n CRS.EPSG3395 = EPSG3395;\n CRS.EPSG3857 = EPSG3857;\n CRS.EPSG900913 = EPSG900913;\n CRS.EPSG4326 = EPSG4326;\n CRS.Simple = Simple;\n\n /*\n * @class Layer\n * @inherits Evented\n * @aka L.Layer\n * @aka ILayer\n *\n * A set of methods from the Layer base class that all Leaflet layers use.\n * Inherits all methods, options and events from `L.Evented`.\n *\n * @example\n *\n * ```js\n * var layer = L.marker(latlng).addTo(map);\n * layer.addTo(map);\n * layer.remove();\n * ```\n *\n * @event add: Event\n * Fired after the layer is added to a map\n *\n * @event remove: Event\n * Fired after the layer is removed from a map\n */\n\n var Layer = Evented.extend({\n // Classes extending `L.Layer` will inherit the following options:\n options: {\n // @option pane: String = 'overlayPane'\n // By default the layer will be added to the map's [overlay pane](#map-overlaypane). Overriding this option will cause the layer to be placed on another pane by default.\n pane: 'overlayPane',\n // @option attribution: String = null\n // String to be shown in the attribution control, e.g. \"© OpenStreetMap contributors\". It describes the layer data and is often a legal obligation towards copyright holders and tile providers.\n attribution: null,\n bubblingMouseEvents: true\n },\n /* @section\n * Classes extending `L.Layer` will inherit the following methods:\n *\n * @method addTo(map: Map|LayerGroup): this\n * Adds the layer to the given map or layer group.\n */\n addTo: function (map) {\n map.addLayer(this);\n return this;\n },\n // @method remove: this\n // Removes the layer from the map it is currently active on.\n remove: function () {\n return this.removeFrom(this._map || this._mapToAdd);\n },\n // @method removeFrom(map: Map): this\n // Removes the layer from the given map\n //\n // @alternative\n // @method removeFrom(group: LayerGroup): this\n // Removes the layer from the given `LayerGroup`\n removeFrom: function (obj) {\n if (obj) {\n obj.removeLayer(this);\n }\n return this;\n },\n // @method getPane(name? : String): HTMLElement\n // Returns the `HTMLElement` representing the named pane on the map. If `name` is omitted, returns the pane for this layer.\n getPane: function (name) {\n return this._map.getPane(name ? this.options[name] || name : this.options.pane);\n },\n addInteractiveTarget: function (targetEl) {\n this._map._targets[stamp(targetEl)] = this;\n return this;\n },\n removeInteractiveTarget: function (targetEl) {\n delete this._map._targets[stamp(targetEl)];\n return this;\n },\n // @method getAttribution: String\n // Used by the `attribution control`, returns the [attribution option](#gridlayer-attribution).\n getAttribution: function () {\n return this.options.attribution;\n },\n _layerAdd: function (e) {\n var map = e.target;\n\n // check in case layer gets added and then removed before the map is ready\n if (!map.hasLayer(this)) {\n return;\n }\n this._map = map;\n this._zoomAnimated = map._zoomAnimated;\n if (this.getEvents) {\n var events = this.getEvents();\n map.on(events, this);\n this.once('remove', function () {\n map.off(events, this);\n }, this);\n }\n this.onAdd(map);\n this.fire('add');\n map.fire('layeradd', {\n layer: this\n });\n }\n });\n\n /* @section Extension methods\n * @uninheritable\n *\n * Every layer should extend from `L.Layer` and (re-)implement the following methods.\n *\n * @method onAdd(map: Map): this\n * Should contain code that creates DOM elements for the layer, adds them to `map panes` where they should belong and puts listeners on relevant map events. Called on [`map.addLayer(layer)`](#map-addlayer).\n *\n * @method onRemove(map: Map): this\n * Should contain all clean up code that removes the layer's elements from the DOM and removes listeners previously added in [`onAdd`](#layer-onadd). Called on [`map.removeLayer(layer)`](#map-removelayer).\n *\n * @method getEvents(): Object\n * This optional method should return an object like `{ viewreset: this._reset }` for [`addEventListener`](#evented-addeventlistener). The event handlers in this object will be automatically added and removed from the map with your layer.\n *\n * @method getAttribution(): String\n * This optional method should return a string containing HTML to be shown on the `Attribution control` whenever the layer is visible.\n *\n * @method beforeAdd(map: Map): this\n * Optional method. Called on [`map.addLayer(layer)`](#map-addlayer), before the layer is added to the map, before events are initialized, without waiting until the map is in a usable state. Use for early initialization only.\n */\n\n /* @namespace Map\n * @section Layer events\n *\n * @event layeradd: LayerEvent\n * Fired when a new layer is added to the map.\n *\n * @event layerremove: LayerEvent\n * Fired when some layer is removed from the map\n *\n * @section Methods for Layers and Controls\n */\n Map.include({\n // @method addLayer(layer: Layer): this\n // Adds the given layer to the map\n addLayer: function (layer) {\n if (!layer._layerAdd) {\n throw new Error('The provided object is not a Layer.');\n }\n var id = stamp(layer);\n if (this._layers[id]) {\n return this;\n }\n this._layers[id] = layer;\n layer._mapToAdd = this;\n if (layer.beforeAdd) {\n layer.beforeAdd(this);\n }\n this.whenReady(layer._layerAdd, layer);\n return this;\n },\n // @method removeLayer(layer: Layer): this\n // Removes the given layer from the map.\n removeLayer: function (layer) {\n var id = stamp(layer);\n if (!this._layers[id]) {\n return this;\n }\n if (this._loaded) {\n layer.onRemove(this);\n }\n delete this._layers[id];\n if (this._loaded) {\n this.fire('layerremove', {\n layer: layer\n });\n layer.fire('remove');\n }\n layer._map = layer._mapToAdd = null;\n return this;\n },\n // @method hasLayer(layer: Layer): Boolean\n // Returns `true` if the given layer is currently added to the map\n hasLayer: function (layer) {\n return stamp(layer) in this._layers;\n },\n /* @method eachLayer(fn: Function, context?: Object): this\n * Iterates over the layers of the map, optionally specifying context of the iterator function.\n * ```\n * map.eachLayer(function(layer){\n * layer.bindPopup('Hello');\n * });\n * ```\n */\n eachLayer: function (method, context) {\n for (var i in this._layers) {\n method.call(context, this._layers[i]);\n }\n return this;\n },\n _addLayers: function (layers) {\n layers = layers ? isArray(layers) ? layers : [layers] : [];\n for (var i = 0, len = layers.length; i < len; i++) {\n this.addLayer(layers[i]);\n }\n },\n _addZoomLimit: function (layer) {\n if (!isNaN(layer.options.maxZoom) || !isNaN(layer.options.minZoom)) {\n this._zoomBoundLayers[stamp(layer)] = layer;\n this._updateZoomLevels();\n }\n },\n _removeZoomLimit: function (layer) {\n var id = stamp(layer);\n if (this._zoomBoundLayers[id]) {\n delete this._zoomBoundLayers[id];\n this._updateZoomLevels();\n }\n },\n _updateZoomLevels: function () {\n var minZoom = Infinity,\n maxZoom = -Infinity,\n oldZoomSpan = this._getZoomSpan();\n for (var i in this._zoomBoundLayers) {\n var options = this._zoomBoundLayers[i].options;\n minZoom = options.minZoom === undefined ? minZoom : Math.min(minZoom, options.minZoom);\n maxZoom = options.maxZoom === undefined ? maxZoom : Math.max(maxZoom, options.maxZoom);\n }\n this._layersMaxZoom = maxZoom === -Infinity ? undefined : maxZoom;\n this._layersMinZoom = minZoom === Infinity ? undefined : minZoom;\n\n // @section Map state change events\n // @event zoomlevelschange: Event\n // Fired when the number of zoomlevels on the map is changed due\n // to adding or removing a layer.\n if (oldZoomSpan !== this._getZoomSpan()) {\n this.fire('zoomlevelschange');\n }\n if (this.options.maxZoom === undefined && this._layersMaxZoom && this.getZoom() > this._layersMaxZoom) {\n this.setZoom(this._layersMaxZoom);\n }\n if (this.options.minZoom === undefined && this._layersMinZoom && this.getZoom() < this._layersMinZoom) {\n this.setZoom(this._layersMinZoom);\n }\n }\n });\n\n /*\r\n * @class LayerGroup\r\n * @aka L.LayerGroup\r\n * @inherits Interactive layer\r\n *\r\n * Used to group several layers and handle them as one. If you add it to the map,\r\n * any layers added or removed from the group will be added/removed on the map as\r\n * well. Extends `Layer`.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * L.layerGroup([marker1, marker2])\r\n * \t.addLayer(polyline)\r\n * \t.addTo(map);\r\n * ```\r\n */\n\n var LayerGroup = Layer.extend({\n initialize: function (layers, options) {\n setOptions(this, options);\n this._layers = {};\n var i, len;\n if (layers) {\n for (i = 0, len = layers.length; i < len; i++) {\n this.addLayer(layers[i]);\n }\n }\n },\n // @method addLayer(layer: Layer): this\n // Adds the given layer to the group.\n addLayer: function (layer) {\n var id = this.getLayerId(layer);\n this._layers[id] = layer;\n if (this._map) {\n this._map.addLayer(layer);\n }\n return this;\n },\n // @method removeLayer(layer: Layer): this\n // Removes the given layer from the group.\n // @alternative\n // @method removeLayer(id: Number): this\n // Removes the layer with the given internal ID from the group.\n removeLayer: function (layer) {\n var id = layer in this._layers ? layer : this.getLayerId(layer);\n if (this._map && this._layers[id]) {\n this._map.removeLayer(this._layers[id]);\n }\n delete this._layers[id];\n return this;\n },\n // @method hasLayer(layer: Layer): Boolean\n // Returns `true` if the given layer is currently added to the group.\n // @alternative\n // @method hasLayer(id: Number): Boolean\n // Returns `true` if the given internal ID is currently added to the group.\n hasLayer: function (layer) {\n var layerId = typeof layer === 'number' ? layer : this.getLayerId(layer);\n return layerId in this._layers;\n },\n // @method clearLayers(): this\n // Removes all the layers from the group.\n clearLayers: function () {\n return this.eachLayer(this.removeLayer, this);\n },\n // @method invoke(methodName: String, â¦): this\n // Calls `methodName` on every layer contained in this group, passing any\n // additional parameters. Has no effect if the layers contained do not\n // implement `methodName`.\n invoke: function (methodName) {\n var args = Array.prototype.slice.call(arguments, 1),\n i,\n layer;\n for (i in this._layers) {\n layer = this._layers[i];\n if (layer[methodName]) {\n layer[methodName].apply(layer, args);\n }\n }\n return this;\n },\n onAdd: function (map) {\n this.eachLayer(map.addLayer, map);\n },\n onRemove: function (map) {\n this.eachLayer(map.removeLayer, map);\n },\n // @method eachLayer(fn: Function, context?: Object): this\n // Iterates over the layers of the group, optionally specifying context of the iterator function.\n // ```js\n // group.eachLayer(function (layer) {\n // \tlayer.bindPopup('Hello');\n // });\n // ```\n eachLayer: function (method, context) {\n for (var i in this._layers) {\n method.call(context, this._layers[i]);\n }\n return this;\n },\n // @method getLayer(id: Number): Layer\n // Returns the layer with the given internal ID.\n getLayer: function (id) {\n return this._layers[id];\n },\n // @method getLayers(): Layer[]\n // Returns an array of all the layers added to the group.\n getLayers: function () {\n var layers = [];\n this.eachLayer(layers.push, layers);\n return layers;\n },\n // @method setZIndex(zIndex: Number): this\n // Calls `setZIndex` on every layer contained in this group, passing the z-index.\n setZIndex: function (zIndex) {\n return this.invoke('setZIndex', zIndex);\n },\n // @method getLayerId(layer: Layer): Number\n // Returns the internal ID for a layer\n getLayerId: function (layer) {\n return stamp(layer);\n }\n });\n\n // @factory L.layerGroup(layers?: Layer[], options?: Object)\n // Create a layer group, optionally given an initial set of layers and an `options` object.\n var layerGroup = function (layers, options) {\n return new LayerGroup(layers, options);\n };\n\n /*\r\n * @class FeatureGroup\r\n * @aka L.FeatureGroup\r\n * @inherits LayerGroup\r\n *\r\n * Extended `LayerGroup` that makes it easier to do the same thing to all its member layers:\r\n * * [`bindPopup`](#layer-bindpopup) binds a popup to all of the layers at once (likewise with [`bindTooltip`](#layer-bindtooltip))\r\n * * Events are propagated to the `FeatureGroup`, so if the group has an event\r\n * handler, it will handle events from any of the layers. This includes mouse events\r\n * and custom events.\r\n * * Has `layeradd` and `layerremove` events\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * L.featureGroup([marker1, marker2, polyline])\r\n * \t.bindPopup('Hello world!')\r\n * \t.on('click', function() { alert('Clicked on a member of the group!'); })\r\n * \t.addTo(map);\r\n * ```\r\n */\n\n var FeatureGroup = LayerGroup.extend({\n addLayer: function (layer) {\n if (this.hasLayer(layer)) {\n return this;\n }\n layer.addEventParent(this);\n LayerGroup.prototype.addLayer.call(this, layer);\n\n // @event layeradd: LayerEvent\n // Fired when a layer is added to this `FeatureGroup`\n return this.fire('layeradd', {\n layer: layer\n });\n },\n removeLayer: function (layer) {\n if (!this.hasLayer(layer)) {\n return this;\n }\n if (layer in this._layers) {\n layer = this._layers[layer];\n }\n layer.removeEventParent(this);\n LayerGroup.prototype.removeLayer.call(this, layer);\n\n // @event layerremove: LayerEvent\n // Fired when a layer is removed from this `FeatureGroup`\n return this.fire('layerremove', {\n layer: layer\n });\n },\n // @method setStyle(style: Path options): this\n // Sets the given path options to each layer of the group that has a `setStyle` method.\n setStyle: function (style) {\n return this.invoke('setStyle', style);\n },\n // @method bringToFront(): this\n // Brings the layer group to the top of all other layers\n bringToFront: function () {\n return this.invoke('bringToFront');\n },\n // @method bringToBack(): this\n // Brings the layer group to the back of all other layers\n bringToBack: function () {\n return this.invoke('bringToBack');\n },\n // @method getBounds(): LatLngBounds\n // Returns the LatLngBounds of the Feature Group (created from bounds and coordinates of its children).\n getBounds: function () {\n var bounds = new LatLngBounds();\n for (var id in this._layers) {\n var layer = this._layers[id];\n bounds.extend(layer.getBounds ? layer.getBounds() : layer.getLatLng());\n }\n return bounds;\n }\n });\n\n // @factory L.featureGroup(layers?: Layer[], options?: Object)\n // Create a feature group, optionally given an initial set of layers and an `options` object.\n var featureGroup = function (layers, options) {\n return new FeatureGroup(layers, options);\n };\n\n /*\r\n * @class Icon\r\n * @aka L.Icon\r\n *\r\n * Represents an icon to provide when creating a marker.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var myIcon = L.icon({\r\n * iconUrl: 'my-icon.png',\r\n * iconRetinaUrl: '[email protected]',\r\n * iconSize: [38, 95],\r\n * iconAnchor: [22, 94],\r\n * popupAnchor: [-3, -76],\r\n * shadowUrl: 'my-icon-shadow.png',\r\n * shadowRetinaUrl: '[email protected]',\r\n * shadowSize: [68, 95],\r\n * shadowAnchor: [22, 94]\r\n * });\r\n *\r\n * L.marker([50.505, 30.57], {icon: myIcon}).addTo(map);\r\n * ```\r\n *\r\n * `L.Icon.Default` extends `L.Icon` and is the blue icon Leaflet uses for markers by default.\r\n *\r\n */\n\n var Icon = Class.extend({\n /* @section\r\n * @aka Icon options\r\n *\r\n * @option iconUrl: String = null\r\n * **(required)** The URL to the icon image (absolute or relative to your script path).\r\n *\r\n * @option iconRetinaUrl: String = null\r\n * The URL to a retina sized version of the icon image (absolute or relative to your\r\n * script path). Used for Retina screen devices.\r\n *\r\n * @option iconSize: Point = null\r\n * Size of the icon image in pixels.\r\n *\r\n * @option iconAnchor: Point = null\r\n * The coordinates of the \"tip\" of the icon (relative to its top left corner). The icon\r\n * will be aligned so that this point is at the marker's geographical location. Centered\r\n * by default if size is specified, also can be set in CSS with negative margins.\r\n *\r\n * @option popupAnchor: Point = [0, 0]\r\n * The coordinates of the point from which popups will \"open\", relative to the icon anchor.\r\n *\r\n * @option tooltipAnchor: Point = [0, 0]\r\n * The coordinates of the point from which tooltips will \"open\", relative to the icon anchor.\r\n *\r\n * @option shadowUrl: String = null\r\n * The URL to the icon shadow image. If not specified, no shadow image will be created.\r\n *\r\n * @option shadowRetinaUrl: String = null\r\n *\r\n * @option shadowSize: Point = null\r\n * Size of the shadow image in pixels.\r\n *\r\n * @option shadowAnchor: Point = null\r\n * The coordinates of the \"tip\" of the shadow (relative to its top left corner) (the same\r\n * as iconAnchor if not specified).\r\n *\r\n * @option className: String = ''\r\n * A custom class name to assign to both icon and shadow images. Empty by default.\r\n */\n\n options: {\n popupAnchor: [0, 0],\n tooltipAnchor: [0, 0],\n // @option crossOrigin: Boolean|String = false\n // Whether the crossOrigin attribute will be added to the tiles.\n // If a String is provided, all tiles will have their crossOrigin attribute set to the String provided. This is needed if you want to access tile pixel data.\n // Refer to [CORS Settings](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for valid String values.\n crossOrigin: false\n },\n initialize: function (options) {\n setOptions(this, options);\n },\n // @method createIcon(oldIcon?: HTMLElement): HTMLElement\n // Called internally when the icon has to be shown, returns a `<img>` HTML element\n // styled according to the options.\n createIcon: function (oldIcon) {\n return this._createIcon('icon', oldIcon);\n },\n // @method createShadow(oldIcon?: HTMLElement): HTMLElement\n // As `createIcon`, but for the shadow beneath it.\n createShadow: function (oldIcon) {\n return this._createIcon('shadow', oldIcon);\n },\n _createIcon: function (name, oldIcon) {\n var src = this._getIconUrl(name);\n if (!src) {\n if (name === 'icon') {\n throw new Error('iconUrl not set in Icon options (see the docs).');\n }\n return null;\n }\n var img = this._createImg(src, oldIcon && oldIcon.tagName === 'IMG' ? oldIcon : null);\n this._setIconStyles(img, name);\n if (this.options.crossOrigin || this.options.crossOrigin === '') {\n img.crossOrigin = this.options.crossOrigin === true ? '' : this.options.crossOrigin;\n }\n return img;\n },\n _setIconStyles: function (img, name) {\n var options = this.options;\n var sizeOption = options[name + 'Size'];\n if (typeof sizeOption === 'number') {\n sizeOption = [sizeOption, sizeOption];\n }\n var size = toPoint(sizeOption),\n anchor = toPoint(name === 'shadow' && options.shadowAnchor || options.iconAnchor || size && size.divideBy(2, true));\n img.className = 'leaflet-marker-' + name + ' ' + (options.className || '');\n if (anchor) {\n img.style.marginLeft = -anchor.x + 'px';\n img.style.marginTop = -anchor.y + 'px';\n }\n if (size) {\n img.style.width = size.x + 'px';\n img.style.height = size.y + 'px';\n }\n },\n _createImg: function (src, el) {\n el = el || document.createElement('img');\n el.src = src;\n return el;\n },\n _getIconUrl: function (name) {\n return Browser.retina && this.options[name + 'RetinaUrl'] || this.options[name + 'Url'];\n }\n });\n\n // @factory L.icon(options: Icon options)\n // Creates an icon instance with the given options.\n function icon(options) {\n return new Icon(options);\n }\n\n /*\n * @miniclass Icon.Default (Icon)\n * @aka L.Icon.Default\n * @section\n *\n * A trivial subclass of `Icon`, represents the icon to use in `Marker`s when\n * no icon is specified. Points to the blue marker image distributed with Leaflet\n * releases.\n *\n * In order to customize the default icon, just change the properties of `L.Icon.Default.prototype.options`\n * (which is a set of `Icon options`).\n *\n * If you want to _completely_ replace the default icon, override the\n * `L.Marker.prototype.options.icon` with your own icon instead.\n */\n\n var IconDefault = Icon.extend({\n options: {\n iconUrl: 'marker-icon.png',\n iconRetinaUrl: 'marker-icon-2x.png',\n shadowUrl: 'marker-shadow.png',\n iconSize: [25, 41],\n iconAnchor: [12, 41],\n popupAnchor: [1, -34],\n tooltipAnchor: [16, -28],\n shadowSize: [41, 41]\n },\n _getIconUrl: function (name) {\n if (typeof IconDefault.imagePath !== 'string') {\n // Deprecated, backwards-compatibility only\n IconDefault.imagePath = this._detectIconPath();\n }\n\n // @option imagePath: String\n // `Icon.Default` will try to auto-detect the location of the\n // blue icon images. If you are placing these images in a non-standard\n // way, set this option to point to the right path.\n return (this.options.imagePath || IconDefault.imagePath) + Icon.prototype._getIconUrl.call(this, name);\n },\n _stripUrl: function (path) {\n // separate function to use in tests\n var strip = function (str, re, idx) {\n var match = re.exec(str);\n return match && match[idx];\n };\n path = strip(path, /^url\\((['\"])?(.+)\\1\\)$/, 2);\n return path && strip(path, /^(.*)marker-icon\\.png$/, 1);\n },\n _detectIconPath: function () {\n var el = create$1('div', 'leaflet-default-icon-path', document.body);\n var path = getStyle(el, 'background-image') || getStyle(el, 'backgroundImage'); // IE8\n\n document.body.removeChild(el);\n path = this._stripUrl(path);\n if (path) {\n return path;\n }\n var link = document.querySelector('link[href$=\"leaflet.css\"]');\n if (!link) {\n return '';\n }\n return link.href.substring(0, link.href.length - 'leaflet.css'.length - 1);\n }\n });\n\n /*\n * L.Handler.MarkerDrag is used internally by L.Marker to make the markers draggable.\n */\n\n /* @namespace Marker\n * @section Interaction handlers\n *\n * Interaction handlers are properties of a marker instance that allow you to control interaction behavior in runtime, enabling or disabling certain features such as dragging (see `Handler` methods). Example:\n *\n * ```js\n * marker.dragging.disable();\n * ```\n *\n * @property dragging: Handler\n * Marker dragging handler (by both mouse and touch). Only valid when the marker is on the map (Otherwise set [`marker.options.draggable`](#marker-draggable)).\n */\n\n var MarkerDrag = Handler.extend({\n initialize: function (marker) {\n this._marker = marker;\n },\n addHooks: function () {\n var icon = this._marker._icon;\n if (!this._draggable) {\n this._draggable = new Draggable(icon, icon, true);\n }\n this._draggable.on({\n dragstart: this._onDragStart,\n predrag: this._onPreDrag,\n drag: this._onDrag,\n dragend: this._onDragEnd\n }, this).enable();\n addClass(icon, 'leaflet-marker-draggable');\n },\n removeHooks: function () {\n this._draggable.off({\n dragstart: this._onDragStart,\n predrag: this._onPreDrag,\n drag: this._onDrag,\n dragend: this._onDragEnd\n }, this).disable();\n if (this._marker._icon) {\n removeClass(this._marker._icon, 'leaflet-marker-draggable');\n }\n },\n moved: function () {\n return this._draggable && this._draggable._moved;\n },\n _adjustPan: function (e) {\n var marker = this._marker,\n map = marker._map,\n speed = this._marker.options.autoPanSpeed,\n padding = this._marker.options.autoPanPadding,\n iconPos = getPosition(marker._icon),\n bounds = map.getPixelBounds(),\n origin = map.getPixelOrigin();\n var panBounds = toBounds(bounds.min._subtract(origin).add(padding), bounds.max._subtract(origin).subtract(padding));\n if (!panBounds.contains(iconPos)) {\n // Compute incremental movement\n var movement = toPoint((Math.max(panBounds.max.x, iconPos.x) - panBounds.max.x) / (bounds.max.x - panBounds.max.x) - (Math.min(panBounds.min.x, iconPos.x) - panBounds.min.x) / (bounds.min.x - panBounds.min.x), (Math.max(panBounds.max.y, iconPos.y) - panBounds.max.y) / (bounds.max.y - panBounds.max.y) - (Math.min(panBounds.min.y, iconPos.y) - panBounds.min.y) / (bounds.min.y - panBounds.min.y)).multiplyBy(speed);\n map.panBy(movement, {\n animate: false\n });\n this._draggable._newPos._add(movement);\n this._draggable._startPos._add(movement);\n setPosition(marker._icon, this._draggable._newPos);\n this._onDrag(e);\n this._panRequest = requestAnimFrame(this._adjustPan.bind(this, e));\n }\n },\n _onDragStart: function () {\n // @section Dragging events\n // @event dragstart: Event\n // Fired when the user starts dragging the marker.\n\n // @event movestart: Event\n // Fired when the marker starts moving (because of dragging).\n\n this._oldLatLng = this._marker.getLatLng();\n\n // When using ES6 imports it could not be set when `Popup` was not imported as well\n this._marker.closePopup && this._marker.closePopup();\n this._marker.fire('movestart').fire('dragstart');\n },\n _onPreDrag: function (e) {\n if (this._marker.options.autoPan) {\n cancelAnimFrame(this._panRequest);\n this._panRequest = requestAnimFrame(this._adjustPan.bind(this, e));\n }\n },\n _onDrag: function (e) {\n var marker = this._marker,\n shadow = marker._shadow,\n iconPos = getPosition(marker._icon),\n latlng = marker._map.layerPointToLatLng(iconPos);\n\n // update shadow position\n if (shadow) {\n setPosition(shadow, iconPos);\n }\n marker._latlng = latlng;\n e.latlng = latlng;\n e.oldLatLng = this._oldLatLng;\n\n // @event drag: Event\n // Fired repeatedly while the user drags the marker.\n marker.fire('move', e).fire('drag', e);\n },\n _onDragEnd: function (e) {\n // @event dragend: DragEndEvent\n // Fired when the user stops dragging the marker.\n\n cancelAnimFrame(this._panRequest);\n\n // @event moveend: Event\n // Fired when the marker stops moving (because of dragging).\n delete this._oldLatLng;\n this._marker.fire('moveend').fire('dragend', e);\n }\n });\n\n /*\r\n * @class Marker\r\n * @inherits Interactive layer\r\n * @aka L.Marker\r\n * L.Marker is used to display clickable/draggable icons on the map. Extends `Layer`.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * L.marker([50.5, 30.5]).addTo(map);\r\n * ```\r\n */\n\n var Marker = Layer.extend({\n // @section\n // @aka Marker options\n options: {\n // @option icon: Icon = *\n // Icon instance to use for rendering the marker.\n // See [Icon documentation](#L.Icon) for details on how to customize the marker icon.\n // If not specified, a common instance of `L.Icon.Default` is used.\n icon: new IconDefault(),\n // Option inherited from \"Interactive layer\" abstract class\n interactive: true,\n // @option keyboard: Boolean = true\n // Whether the marker can be tabbed to with a keyboard and clicked by pressing enter.\n keyboard: true,\n // @option title: String = ''\n // Text for the browser tooltip that appear on marker hover (no tooltip by default).\n // [Useful for accessibility](https://leafletjs.com/examples/accessibility/#markers-must-be-labelled).\n title: '',\n // @option alt: String = 'Marker'\n // Text for the `alt` attribute of the icon image.\n // [Useful for accessibility](https://leafletjs.com/examples/accessibility/#markers-must-be-labelled).\n alt: 'Marker',\n // @option zIndexOffset: Number = 0\n // By default, marker images zIndex is set automatically based on its latitude. Use this option if you want to put the marker on top of all others (or below), specifying a high value like `1000` (or high negative value, respectively).\n zIndexOffset: 0,\n // @option opacity: Number = 1.0\n // The opacity of the marker.\n opacity: 1,\n // @option riseOnHover: Boolean = false\n // If `true`, the marker will get on top of others when you hover the mouse over it.\n riseOnHover: false,\n // @option riseOffset: Number = 250\n // The z-index offset used for the `riseOnHover` feature.\n riseOffset: 250,\n // @option pane: String = 'markerPane'\n // `Map pane` where the markers icon will be added.\n pane: 'markerPane',\n // @option shadowPane: String = 'shadowPane'\n // `Map pane` where the markers shadow will be added.\n shadowPane: 'shadowPane',\n // @option bubblingMouseEvents: Boolean = false\n // When `true`, a mouse event on this marker will trigger the same event on the map\n // (unless [`L.DomEvent.stopPropagation`](#domevent-stoppropagation) is used).\n bubblingMouseEvents: false,\n // @option autoPanOnFocus: Boolean = true\n // When `true`, the map will pan whenever the marker is focused (via\n // e.g. pressing `tab` on the keyboard) to ensure the marker is\n // visible within the map's bounds\n autoPanOnFocus: true,\n // @section Draggable marker options\n // @option draggable: Boolean = false\n // Whether the marker is draggable with mouse/touch or not.\n draggable: false,\n // @option autoPan: Boolean = false\n // Whether to pan the map when dragging this marker near its edge or not.\n autoPan: false,\n // @option autoPanPadding: Point = Point(50, 50)\n // Distance (in pixels to the left/right and to the top/bottom) of the\n // map edge to start panning the map.\n autoPanPadding: [50, 50],\n // @option autoPanSpeed: Number = 10\n // Number of pixels the map should pan by.\n autoPanSpeed: 10\n },\n /* @section\r\n *\r\n * In addition to [shared layer methods](#Layer) like `addTo()` and `remove()` and [popup methods](#Popup) like bindPopup() you can also use the following methods:\r\n */\n\n initialize: function (latlng, options) {\n setOptions(this, options);\n this._latlng = toLatLng(latlng);\n },\n onAdd: function (map) {\n this._zoomAnimated = this._zoomAnimated && map.options.markerZoomAnimation;\n if (this._zoomAnimated) {\n map.on('zoomanim', this._animateZoom, this);\n }\n this._initIcon();\n this.update();\n },\n onRemove: function (map) {\n if (this.dragging && this.dragging.enabled()) {\n this.options.draggable = true;\n this.dragging.removeHooks();\n }\n delete this.dragging;\n if (this._zoomAnimated) {\n map.off('zoomanim', this._animateZoom, this);\n }\n this._removeIcon();\n this._removeShadow();\n },\n getEvents: function () {\n return {\n zoom: this.update,\n viewreset: this.update\n };\n },\n // @method getLatLng: LatLng\n // Returns the current geographical position of the marker.\n getLatLng: function () {\n return this._latlng;\n },\n // @method setLatLng(latlng: LatLng): this\n // Changes the marker position to the given point.\n setLatLng: function (latlng) {\n var oldLatLng = this._latlng;\n this._latlng = toLatLng(latlng);\n this.update();\n\n // @event move: Event\n // Fired when the marker is moved via [`setLatLng`](#marker-setlatlng) or by [dragging](#marker-dragging). Old and new coordinates are included in event arguments as `oldLatLng`, `latlng`.\n return this.fire('move', {\n oldLatLng: oldLatLng,\n latlng: this._latlng\n });\n },\n // @method setZIndexOffset(offset: Number): this\n // Changes the [zIndex offset](#marker-zindexoffset) of the marker.\n setZIndexOffset: function (offset) {\n this.options.zIndexOffset = offset;\n return this.update();\n },\n // @method getIcon: Icon\n // Returns the current icon used by the marker\n getIcon: function () {\n return this.options.icon;\n },\n // @method setIcon(icon: Icon): this\n // Changes the marker icon.\n setIcon: function (icon) {\n this.options.icon = icon;\n if (this._map) {\n this._initIcon();\n this.update();\n }\n if (this._popup) {\n this.bindPopup(this._popup, this._popup.options);\n }\n return this;\n },\n getElement: function () {\n return this._icon;\n },\n update: function () {\n if (this._icon && this._map) {\n var pos = this._map.latLngToLayerPoint(this._latlng).round();\n this._setPos(pos);\n }\n return this;\n },\n _initIcon: function () {\n var options = this.options,\n classToAdd = 'leaflet-zoom-' + (this._zoomAnimated ? 'animated' : 'hide');\n var icon = options.icon.createIcon(this._icon),\n addIcon = false;\n\n // if we're not reusing the icon, remove the old one and init new one\n if (icon !== this._icon) {\n if (this._icon) {\n this._removeIcon();\n }\n addIcon = true;\n if (options.title) {\n icon.title = options.title;\n }\n if (icon.tagName === 'IMG') {\n icon.alt = options.alt || '';\n }\n }\n addClass(icon, classToAdd);\n if (options.keyboard) {\n icon.tabIndex = '0';\n icon.setAttribute('role', 'button');\n }\n this._icon = icon;\n if (options.riseOnHover) {\n this.on({\n mouseover: this._bringToFront,\n mouseout: this._resetZIndex\n });\n }\n if (this.options.autoPanOnFocus) {\n on(icon, 'focus', this._panOnFocus, this);\n }\n var newShadow = options.icon.createShadow(this._shadow),\n addShadow = false;\n if (newShadow !== this._shadow) {\n this._removeShadow();\n addShadow = true;\n }\n if (newShadow) {\n addClass(newShadow, classToAdd);\n newShadow.alt = '';\n }\n this._shadow = newShadow;\n if (options.opacity < 1) {\n this._updateOpacity();\n }\n if (addIcon) {\n this.getPane().appendChild(this._icon);\n }\n this._initInteraction();\n if (newShadow && addShadow) {\n this.getPane(options.shadowPane).appendChild(this._shadow);\n }\n },\n _removeIcon: function () {\n if (this.options.riseOnHover) {\n this.off({\n mouseover: this._bringToFront,\n mouseout: this._resetZIndex\n });\n }\n if (this.options.autoPanOnFocus) {\n off(this._icon, 'focus', this._panOnFocus, this);\n }\n remove(this._icon);\n this.removeInteractiveTarget(this._icon);\n this._icon = null;\n },\n _removeShadow: function () {\n if (this._shadow) {\n remove(this._shadow);\n }\n this._shadow = null;\n },\n _setPos: function (pos) {\n if (this._icon) {\n setPosition(this._icon, pos);\n }\n if (this._shadow) {\n setPosition(this._shadow, pos);\n }\n this._zIndex = pos.y + this.options.zIndexOffset;\n this._resetZIndex();\n },\n _updateZIndex: function (offset) {\n if (this._icon) {\n this._icon.style.zIndex = this._zIndex + offset;\n }\n },\n _animateZoom: function (opt) {\n var pos = this._map._latLngToNewLayerPoint(this._latlng, opt.zoom, opt.center).round();\n this._setPos(pos);\n },\n _initInteraction: function () {\n if (!this.options.interactive) {\n return;\n }\n addClass(this._icon, 'leaflet-interactive');\n this.addInteractiveTarget(this._icon);\n if (MarkerDrag) {\n var draggable = this.options.draggable;\n if (this.dragging) {\n draggable = this.dragging.enabled();\n this.dragging.disable();\n }\n this.dragging = new MarkerDrag(this);\n if (draggable) {\n this.dragging.enable();\n }\n }\n },\n // @method setOpacity(opacity: Number): this\n // Changes the opacity of the marker.\n setOpacity: function (opacity) {\n this.options.opacity = opacity;\n if (this._map) {\n this._updateOpacity();\n }\n return this;\n },\n _updateOpacity: function () {\n var opacity = this.options.opacity;\n if (this._icon) {\n setOpacity(this._icon, opacity);\n }\n if (this._shadow) {\n setOpacity(this._shadow, opacity);\n }\n },\n _bringToFront: function () {\n this._updateZIndex(this.options.riseOffset);\n },\n _resetZIndex: function () {\n this._updateZIndex(0);\n },\n _panOnFocus: function () {\n var map = this._map;\n if (!map) {\n return;\n }\n var iconOpts = this.options.icon.options;\n var size = iconOpts.iconSize ? toPoint(iconOpts.iconSize) : toPoint(0, 0);\n var anchor = iconOpts.iconAnchor ? toPoint(iconOpts.iconAnchor) : toPoint(0, 0);\n map.panInside(this._latlng, {\n paddingTopLeft: anchor,\n paddingBottomRight: size.subtract(anchor)\n });\n },\n _getPopupAnchor: function () {\n return this.options.icon.options.popupAnchor;\n },\n _getTooltipAnchor: function () {\n return this.options.icon.options.tooltipAnchor;\n }\n });\n\n // factory L.marker(latlng: LatLng, options? : Marker options)\n\n // @factory L.marker(latlng: LatLng, options? : Marker options)\n // Instantiates a Marker object given a geographical point and optionally an options object.\n function marker(latlng, options) {\n return new Marker(latlng, options);\n }\n\n /*\n * @class Path\n * @aka L.Path\n * @inherits Interactive layer\n *\n * An abstract class that contains options and constants shared between vector\n * overlays (Polygon, Polyline, Circle). Do not use it directly. Extends `Layer`.\n */\n\n var Path = Layer.extend({\n // @section\n // @aka Path options\n options: {\n // @option stroke: Boolean = true\n // Whether to draw stroke along the path. Set it to `false` to disable borders on polygons or circles.\n stroke: true,\n // @option color: String = '#3388ff'\n // Stroke color\n color: '#3388ff',\n // @option weight: Number = 3\n // Stroke width in pixels\n weight: 3,\n // @option opacity: Number = 1.0\n // Stroke opacity\n opacity: 1,\n // @option lineCap: String= 'round'\n // A string that defines [shape to be used at the end](https://developer.mozilla.org/docs/Web/SVG/Attribute/stroke-linecap) of the stroke.\n lineCap: 'round',\n // @option lineJoin: String = 'round'\n // A string that defines [shape to be used at the corners](https://developer.mozilla.org/docs/Web/SVG/Attribute/stroke-linejoin) of the stroke.\n lineJoin: 'round',\n // @option dashArray: String = null\n // A string that defines the stroke [dash pattern](https://developer.mozilla.org/docs/Web/SVG/Attribute/stroke-dasharray). Doesn't work on `Canvas`-powered layers in [some old browsers](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash#Browser_compatibility).\n dashArray: null,\n // @option dashOffset: String = null\n // A string that defines the [distance into the dash pattern to start the dash](https://developer.mozilla.org/docs/Web/SVG/Attribute/stroke-dashoffset). Doesn't work on `Canvas`-powered layers in [some old browsers](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash#Browser_compatibility).\n dashOffset: null,\n // @option fill: Boolean = depends\n // Whether to fill the path with color. Set it to `false` to disable filling on polygons or circles.\n fill: false,\n // @option fillColor: String = *\n // Fill color. Defaults to the value of the [`color`](#path-color) option\n fillColor: null,\n // @option fillOpacity: Number = 0.2\n // Fill opacity.\n fillOpacity: 0.2,\n // @option fillRule: String = 'evenodd'\n // A string that defines [how the inside of a shape](https://developer.mozilla.org/docs/Web/SVG/Attribute/fill-rule) is determined.\n fillRule: 'evenodd',\n // className: '',\n\n // Option inherited from \"Interactive layer\" abstract class\n interactive: true,\n // @option bubblingMouseEvents: Boolean = true\n // When `true`, a mouse event on this path will trigger the same event on the map\n // (unless [`L.DomEvent.stopPropagation`](#domevent-stoppropagation) is used).\n bubblingMouseEvents: true\n },\n beforeAdd: function (map) {\n // Renderer is set here because we need to call renderer.getEvents\n // before this.getEvents.\n this._renderer = map.getRenderer(this);\n },\n onAdd: function () {\n this._renderer._initPath(this);\n this._reset();\n this._renderer._addPath(this);\n },\n onRemove: function () {\n this._renderer._removePath(this);\n },\n // @method redraw(): this\n // Redraws the layer. Sometimes useful after you changed the coordinates that the path uses.\n redraw: function () {\n if (this._map) {\n this._renderer._updatePath(this);\n }\n return this;\n },\n // @method setStyle(style: Path options): this\n // Changes the appearance of a Path based on the options in the `Path options` object.\n setStyle: function (style) {\n setOptions(this, style);\n if (this._renderer) {\n this._renderer._updateStyle(this);\n if (this.options.stroke && style && Object.prototype.hasOwnProperty.call(style, 'weight')) {\n this._updateBounds();\n }\n }\n return this;\n },\n // @method bringToFront(): this\n // Brings the layer to the top of all path layers.\n bringToFront: function () {\n if (this._renderer) {\n this._renderer._bringToFront(this);\n }\n return this;\n },\n // @method bringToBack(): this\n // Brings the layer to the bottom of all path layers.\n bringToBack: function () {\n if (this._renderer) {\n this._renderer._bringToBack(this);\n }\n return this;\n },\n getElement: function () {\n return this._path;\n },\n _reset: function () {\n // defined in child classes\n this._project();\n this._update();\n },\n _clickTolerance: function () {\n // used when doing hit detection for Canvas layers\n return (this.options.stroke ? this.options.weight / 2 : 0) + (this._renderer.options.tolerance || 0);\n }\n });\n\n /*\n * @class CircleMarker\n * @aka L.CircleMarker\n * @inherits Path\n *\n * A circle of a fixed size with radius specified in pixels. Extends `Path`.\n */\n\n var CircleMarker = Path.extend({\n // @section\n // @aka CircleMarker options\n options: {\n fill: true,\n // @option radius: Number = 10\n // Radius of the circle marker, in pixels\n radius: 10\n },\n initialize: function (latlng, options) {\n setOptions(this, options);\n this._latlng = toLatLng(latlng);\n this._radius = this.options.radius;\n },\n // @method setLatLng(latLng: LatLng): this\n // Sets the position of a circle marker to a new location.\n setLatLng: function (latlng) {\n var oldLatLng = this._latlng;\n this._latlng = toLatLng(latlng);\n this.redraw();\n\n // @event move: Event\n // Fired when the marker is moved via [`setLatLng`](#circlemarker-setlatlng). Old and new coordinates are included in event arguments as `oldLatLng`, `latlng`.\n return this.fire('move', {\n oldLatLng: oldLatLng,\n latlng: this._latlng\n });\n },\n // @method getLatLng(): LatLng\n // Returns the current geographical position of the circle marker\n getLatLng: function () {\n return this._latlng;\n },\n // @method setRadius(radius: Number): this\n // Sets the radius of a circle marker. Units are in pixels.\n setRadius: function (radius) {\n this.options.radius = this._radius = radius;\n return this.redraw();\n },\n // @method getRadius(): Number\n // Returns the current radius of the circle\n getRadius: function () {\n return this._radius;\n },\n setStyle: function (options) {\n var radius = options && options.radius || this._radius;\n Path.prototype.setStyle.call(this, options);\n this.setRadius(radius);\n return this;\n },\n _project: function () {\n this._point = this._map.latLngToLayerPoint(this._latlng);\n this._updateBounds();\n },\n _updateBounds: function () {\n var r = this._radius,\n r2 = this._radiusY || r,\n w = this._clickTolerance(),\n p = [r + w, r2 + w];\n this._pxBounds = new Bounds(this._point.subtract(p), this._point.add(p));\n },\n _update: function () {\n if (this._map) {\n this._updatePath();\n }\n },\n _updatePath: function () {\n this._renderer._updateCircle(this);\n },\n _empty: function () {\n return this._radius && !this._renderer._bounds.intersects(this._pxBounds);\n },\n // Needed by the `Canvas` renderer for interactivity\n _containsPoint: function (p) {\n return p.distanceTo(this._point) <= this._radius + this._clickTolerance();\n }\n });\n\n // @factory L.circleMarker(latlng: LatLng, options?: CircleMarker options)\n // Instantiates a circle marker object given a geographical point, and an optional options object.\n function circleMarker(latlng, options) {\n return new CircleMarker(latlng, options);\n }\n\n /*\n * @class Circle\n * @aka L.Circle\n * @inherits CircleMarker\n *\n * A class for drawing circle overlays on a map. Extends `CircleMarker`.\n *\n * It's an approximation and starts to diverge from a real circle closer to poles (due to projection distortion).\n *\n * @example\n *\n * ```js\n * L.circle([50.5, 30.5], {radius: 200}).addTo(map);\n * ```\n */\n\n var Circle = CircleMarker.extend({\n initialize: function (latlng, options, legacyOptions) {\n if (typeof options === 'number') {\n // Backwards compatibility with 0.7.x factory (latlng, radius, options?)\n options = extend({}, legacyOptions, {\n radius: options\n });\n }\n setOptions(this, options);\n this._latlng = toLatLng(latlng);\n if (isNaN(this.options.radius)) {\n throw new Error('Circle radius cannot be NaN');\n }\n\n // @section\n // @aka Circle options\n // @option radius: Number; Radius of the circle, in meters.\n this._mRadius = this.options.radius;\n },\n // @method setRadius(radius: Number): this\n // Sets the radius of a circle. Units are in meters.\n setRadius: function (radius) {\n this._mRadius = radius;\n return this.redraw();\n },\n // @method getRadius(): Number\n // Returns the current radius of a circle. Units are in meters.\n getRadius: function () {\n return this._mRadius;\n },\n // @method getBounds(): LatLngBounds\n // Returns the `LatLngBounds` of the path.\n getBounds: function () {\n var half = [this._radius, this._radiusY || this._radius];\n return new LatLngBounds(this._map.layerPointToLatLng(this._point.subtract(half)), this._map.layerPointToLatLng(this._point.add(half)));\n },\n setStyle: Path.prototype.setStyle,\n _project: function () {\n var lng = this._latlng.lng,\n lat = this._latlng.lat,\n map = this._map,\n crs = map.options.crs;\n if (crs.distance === Earth.distance) {\n var d = Math.PI / 180,\n latR = this._mRadius / Earth.R / d,\n top = map.project([lat + latR, lng]),\n bottom = map.project([lat - latR, lng]),\n p = top.add(bottom).divideBy(2),\n lat2 = map.unproject(p).lat,\n lngR = Math.acos((Math.cos(latR * d) - Math.sin(lat * d) * Math.sin(lat2 * d)) / (Math.cos(lat * d) * Math.cos(lat2 * d))) / d;\n if (isNaN(lngR) || lngR === 0) {\n lngR = latR / Math.cos(Math.PI / 180 * lat); // Fallback for edge case, #2425\n }\n\n this._point = p.subtract(map.getPixelOrigin());\n this._radius = isNaN(lngR) ? 0 : p.x - map.project([lat2, lng - lngR]).x;\n this._radiusY = p.y - top.y;\n } else {\n var latlng2 = crs.unproject(crs.project(this._latlng).subtract([this._mRadius, 0]));\n this._point = map.latLngToLayerPoint(this._latlng);\n this._radius = this._point.x - map.latLngToLayerPoint(latlng2).x;\n }\n this._updateBounds();\n }\n });\n\n // @factory L.circle(latlng: LatLng, options?: Circle options)\n // Instantiates a circle object given a geographical point, and an options object\n // which contains the circle radius.\n // @alternative\n // @factory L.circle(latlng: LatLng, radius: Number, options?: Circle options)\n // Obsolete way of instantiating a circle, for compatibility with 0.7.x code.\n // Do not use in new applications or plugins.\n function circle(latlng, options, legacyOptions) {\n return new Circle(latlng, options, legacyOptions);\n }\n\n /*\n * @class Polyline\n * @aka L.Polyline\n * @inherits Path\n *\n * A class for drawing polyline overlays on a map. Extends `Path`.\n *\n * @example\n *\n * ```js\n * // create a red polyline from an array of LatLng points\n * var latlngs = [\n * \t[45.51, -122.68],\n * \t[37.77, -122.43],\n * \t[34.04, -118.2]\n * ];\n *\n * var polyline = L.polyline(latlngs, {color: 'red'}).addTo(map);\n *\n * // zoom the map to the polyline\n * map.fitBounds(polyline.getBounds());\n * ```\n *\n * You can also pass a multi-dimensional array to represent a `MultiPolyline` shape:\n *\n * ```js\n * // create a red polyline from an array of arrays of LatLng points\n * var latlngs = [\n * \t[[45.51, -122.68],\n * \t [37.77, -122.43],\n * \t [34.04, -118.2]],\n * \t[[40.78, -73.91],\n * \t [41.83, -87.62],\n * \t [32.76, -96.72]]\n * ];\n * ```\n */\n\n var Polyline = Path.extend({\n // @section\n // @aka Polyline options\n options: {\n // @option smoothFactor: Number = 1.0\n // How much to simplify the polyline on each zoom level. More means\n // better performance and smoother look, and less means more accurate representation.\n smoothFactor: 1.0,\n // @option noClip: Boolean = false\n // Disable polyline clipping.\n noClip: false\n },\n initialize: function (latlngs, options) {\n setOptions(this, options);\n this._setLatLngs(latlngs);\n },\n // @method getLatLngs(): LatLng[]\n // Returns an array of the points in the path, or nested arrays of points in case of multi-polyline.\n getLatLngs: function () {\n return this._latlngs;\n },\n // @method setLatLngs(latlngs: LatLng[]): this\n // Replaces all the points in the polyline with the given array of geographical points.\n setLatLngs: function (latlngs) {\n this._setLatLngs(latlngs);\n return this.redraw();\n },\n // @method isEmpty(): Boolean\n // Returns `true` if the Polyline has no LatLngs.\n isEmpty: function () {\n return !this._latlngs.length;\n },\n // @method closestLayerPoint(p: Point): Point\n // Returns the point closest to `p` on the Polyline.\n closestLayerPoint: function (p) {\n var minDistance = Infinity,\n minPoint = null,\n closest = _sqClosestPointOnSegment,\n p1,\n p2;\n for (var j = 0, jLen = this._parts.length; j < jLen; j++) {\n var points = this._parts[j];\n for (var i = 1, len = points.length; i < len; i++) {\n p1 = points[i - 1];\n p2 = points[i];\n var sqDist = closest(p, p1, p2, true);\n if (sqDist < minDistance) {\n minDistance = sqDist;\n minPoint = closest(p, p1, p2);\n }\n }\n }\n if (minPoint) {\n minPoint.distance = Math.sqrt(minDistance);\n }\n return minPoint;\n },\n // @method getCenter(): LatLng\n // Returns the center ([centroid](https://en.wikipedia.org/wiki/Centroid)) of the polyline.\n getCenter: function () {\n // throws error when not yet added to map as this center calculation requires projected coordinates\n if (!this._map) {\n throw new Error('Must add layer to map before using getCenter()');\n }\n return polylineCenter(this._defaultShape(), this._map.options.crs);\n },\n // @method getBounds(): LatLngBounds\n // Returns the `LatLngBounds` of the path.\n getBounds: function () {\n return this._bounds;\n },\n // @method addLatLng(latlng: LatLng, latlngs?: LatLng[]): this\n // Adds a given point to the polyline. By default, adds to the first ring of\n // the polyline in case of a multi-polyline, but can be overridden by passing\n // a specific ring as a LatLng array (that you can earlier access with [`getLatLngs`](#polyline-getlatlngs)).\n addLatLng: function (latlng, latlngs) {\n latlngs = latlngs || this._defaultShape();\n latlng = toLatLng(latlng);\n latlngs.push(latlng);\n this._bounds.extend(latlng);\n return this.redraw();\n },\n _setLatLngs: function (latlngs) {\n this._bounds = new LatLngBounds();\n this._latlngs = this._convertLatLngs(latlngs);\n },\n _defaultShape: function () {\n return isFlat(this._latlngs) ? this._latlngs : this._latlngs[0];\n },\n // recursively convert latlngs input into actual LatLng instances; calculate bounds along the way\n _convertLatLngs: function (latlngs) {\n var result = [],\n flat = isFlat(latlngs);\n for (var i = 0, len = latlngs.length; i < len; i++) {\n if (flat) {\n result[i] = toLatLng(latlngs[i]);\n this._bounds.extend(result[i]);\n } else {\n result[i] = this._convertLatLngs(latlngs[i]);\n }\n }\n return result;\n },\n _project: function () {\n var pxBounds = new Bounds();\n this._rings = [];\n this._projectLatlngs(this._latlngs, this._rings, pxBounds);\n if (this._bounds.isValid() && pxBounds.isValid()) {\n this._rawPxBounds = pxBounds;\n this._updateBounds();\n }\n },\n _updateBounds: function () {\n var w = this._clickTolerance(),\n p = new Point(w, w);\n if (!this._rawPxBounds) {\n return;\n }\n this._pxBounds = new Bounds([this._rawPxBounds.min.subtract(p), this._rawPxBounds.max.add(p)]);\n },\n // recursively turns latlngs into a set of rings with projected coordinates\n _projectLatlngs: function (latlngs, result, projectedBounds) {\n var flat = latlngs[0] instanceof LatLng,\n len = latlngs.length,\n i,\n ring;\n if (flat) {\n ring = [];\n for (i = 0; i < len; i++) {\n ring[i] = this._map.latLngToLayerPoint(latlngs[i]);\n projectedBounds.extend(ring[i]);\n }\n result.push(ring);\n } else {\n for (i = 0; i < len; i++) {\n this._projectLatlngs(latlngs[i], result, projectedBounds);\n }\n }\n },\n // clip polyline by renderer bounds so that we have less to render for performance\n _clipPoints: function () {\n var bounds = this._renderer._bounds;\n this._parts = [];\n if (!this._pxBounds || !this._pxBounds.intersects(bounds)) {\n return;\n }\n if (this.options.noClip) {\n this._parts = this._rings;\n return;\n }\n var parts = this._parts,\n i,\n j,\n k,\n len,\n len2,\n segment,\n points;\n for (i = 0, k = 0, len = this._rings.length; i < len; i++) {\n points = this._rings[i];\n for (j = 0, len2 = points.length; j < len2 - 1; j++) {\n segment = clipSegment(points[j], points[j + 1], bounds, j, true);\n if (!segment) {\n continue;\n }\n parts[k] = parts[k] || [];\n parts[k].push(segment[0]);\n\n // if segment goes out of screen, or it's the last one, it's the end of the line part\n if (segment[1] !== points[j + 1] || j === len2 - 2) {\n parts[k].push(segment[1]);\n k++;\n }\n }\n }\n },\n // simplify each clipped part of the polyline for performance\n _simplifyPoints: function () {\n var parts = this._parts,\n tolerance = this.options.smoothFactor;\n for (var i = 0, len = parts.length; i < len; i++) {\n parts[i] = simplify(parts[i], tolerance);\n }\n },\n _update: function () {\n if (!this._map) {\n return;\n }\n this._clipPoints();\n this._simplifyPoints();\n this._updatePath();\n },\n _updatePath: function () {\n this._renderer._updatePoly(this);\n },\n // Needed by the `Canvas` renderer for interactivity\n _containsPoint: function (p, closed) {\n var i,\n j,\n k,\n len,\n len2,\n part,\n w = this._clickTolerance();\n if (!this._pxBounds || !this._pxBounds.contains(p)) {\n return false;\n }\n\n // hit detection for polylines\n for (i = 0, len = this._parts.length; i < len; i++) {\n part = this._parts[i];\n for (j = 0, len2 = part.length, k = len2 - 1; j < len2; k = j++) {\n if (!closed && j === 0) {\n continue;\n }\n if (pointToSegmentDistance(p, part[k], part[j]) <= w) {\n return true;\n }\n }\n }\n return false;\n }\n });\n\n // @factory L.polyline(latlngs: LatLng[], options?: Polyline options)\n // Instantiates a polyline object given an array of geographical points and\n // optionally an options object. You can create a `Polyline` object with\n // multiple separate lines (`MultiPolyline`) by passing an array of arrays\n // of geographic points.\n function polyline(latlngs, options) {\n return new Polyline(latlngs, options);\n }\n\n // Retrocompat. Allow plugins to support Leaflet versions before and after 1.1.\n Polyline._flat = _flat;\n\n /*\n * @class Polygon\n * @aka L.Polygon\n * @inherits Polyline\n *\n * A class for drawing polygon overlays on a map. Extends `Polyline`.\n *\n * Note that points you pass when creating a polygon shouldn't have an additional last point equal to the first one â it's better to filter out such points.\n *\n *\n * @example\n *\n * ```js\n * // create a red polygon from an array of LatLng points\n * var latlngs = [[37, -109.05],[41, -109.03],[41, -102.05],[37, -102.04]];\n *\n * var polygon = L.polygon(latlngs, {color: 'red'}).addTo(map);\n *\n * // zoom the map to the polygon\n * map.fitBounds(polygon.getBounds());\n * ```\n *\n * You can also pass an array of arrays of latlngs, with the first array representing the outer shape and the other arrays representing holes in the outer shape:\n *\n * ```js\n * var latlngs = [\n * [[37, -109.05],[41, -109.03],[41, -102.05],[37, -102.04]], // outer ring\n * [[37.29, -108.58],[40.71, -108.58],[40.71, -102.50],[37.29, -102.50]] // hole\n * ];\n * ```\n *\n * Additionally, you can pass a multi-dimensional array to represent a MultiPolygon shape.\n *\n * ```js\n * var latlngs = [\n * [ // first polygon\n * [[37, -109.05],[41, -109.03],[41, -102.05],[37, -102.04]], // outer ring\n * [[37.29, -108.58],[40.71, -108.58],[40.71, -102.50],[37.29, -102.50]] // hole\n * ],\n * [ // second polygon\n * [[41, -111.03],[45, -111.04],[45, -104.05],[41, -104.05]]\n * ]\n * ];\n * ```\n */\n\n var Polygon = Polyline.extend({\n options: {\n fill: true\n },\n isEmpty: function () {\n return !this._latlngs.length || !this._latlngs[0].length;\n },\n // @method getCenter(): LatLng\n // Returns the center ([centroid](http://en.wikipedia.org/wiki/Centroid)) of the Polygon.\n getCenter: function () {\n // throws error when not yet added to map as this center calculation requires projected coordinates\n if (!this._map) {\n throw new Error('Must add layer to map before using getCenter()');\n }\n return polygonCenter(this._defaultShape(), this._map.options.crs);\n },\n _convertLatLngs: function (latlngs) {\n var result = Polyline.prototype._convertLatLngs.call(this, latlngs),\n len = result.length;\n\n // remove last point if it equals first one\n if (len >= 2 && result[0] instanceof LatLng && result[0].equals(result[len - 1])) {\n result.pop();\n }\n return result;\n },\n _setLatLngs: function (latlngs) {\n Polyline.prototype._setLatLngs.call(this, latlngs);\n if (isFlat(this._latlngs)) {\n this._latlngs = [this._latlngs];\n }\n },\n _defaultShape: function () {\n return isFlat(this._latlngs[0]) ? this._latlngs[0] : this._latlngs[0][0];\n },\n _clipPoints: function () {\n // polygons need a different clipping algorithm so we redefine that\n\n var bounds = this._renderer._bounds,\n w = this.options.weight,\n p = new Point(w, w);\n\n // increase clip padding by stroke width to avoid stroke on clip edges\n bounds = new Bounds(bounds.min.subtract(p), bounds.max.add(p));\n this._parts = [];\n if (!this._pxBounds || !this._pxBounds.intersects(bounds)) {\n return;\n }\n if (this.options.noClip) {\n this._parts = this._rings;\n return;\n }\n for (var i = 0, len = this._rings.length, clipped; i < len; i++) {\n clipped = clipPolygon(this._rings[i], bounds, true);\n if (clipped.length) {\n this._parts.push(clipped);\n }\n }\n },\n _updatePath: function () {\n this._renderer._updatePoly(this, true);\n },\n // Needed by the `Canvas` renderer for interactivity\n _containsPoint: function (p) {\n var inside = false,\n part,\n p1,\n p2,\n i,\n j,\n k,\n len,\n len2;\n if (!this._pxBounds || !this._pxBounds.contains(p)) {\n return false;\n }\n\n // ray casting algorithm for detecting if point is in polygon\n for (i = 0, len = this._parts.length; i < len; i++) {\n part = this._parts[i];\n for (j = 0, len2 = part.length, k = len2 - 1; j < len2; k = j++) {\n p1 = part[j];\n p2 = part[k];\n if (p1.y > p.y !== p2.y > p.y && p.x < (p2.x - p1.x) * (p.y - p1.y) / (p2.y - p1.y) + p1.x) {\n inside = !inside;\n }\n }\n }\n\n // also check if it's on polygon stroke\n return inside || Polyline.prototype._containsPoint.call(this, p, true);\n }\n });\n\n // @factory L.polygon(latlngs: LatLng[], options?: Polyline options)\n function polygon(latlngs, options) {\n return new Polygon(latlngs, options);\n }\n\n /*\r\n * @class GeoJSON\r\n * @aka L.GeoJSON\r\n * @inherits FeatureGroup\r\n *\r\n * Represents a GeoJSON object or an array of GeoJSON objects. Allows you to parse\r\n * GeoJSON data and display it on the map. Extends `FeatureGroup`.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * L.geoJSON(data, {\r\n * \tstyle: function (feature) {\r\n * \t\treturn {color: feature.properties.color};\r\n * \t}\r\n * }).bindPopup(function (layer) {\r\n * \treturn layer.feature.properties.description;\r\n * }).addTo(map);\r\n * ```\r\n */\n\n var GeoJSON = FeatureGroup.extend({\n /* @section\r\n * @aka GeoJSON options\r\n *\r\n * @option pointToLayer: Function = *\r\n * A `Function` defining how GeoJSON points spawn Leaflet layers. It is internally\r\n * called when data is added, passing the GeoJSON point feature and its `LatLng`.\r\n * The default is to spawn a default `Marker`:\r\n * ```js\r\n * function(geoJsonPoint, latlng) {\r\n * \treturn L.marker(latlng);\r\n * }\r\n * ```\r\n *\r\n * @option style: Function = *\r\n * A `Function` defining the `Path options` for styling GeoJSON lines and polygons,\r\n * called internally when data is added.\r\n * The default value is to not override any defaults:\r\n * ```js\r\n * function (geoJsonFeature) {\r\n * \treturn {}\r\n * }\r\n * ```\r\n *\r\n * @option onEachFeature: Function = *\r\n * A `Function` that will be called once for each created `Feature`, after it has\r\n * been created and styled. Useful for attaching events and popups to features.\r\n * The default is to do nothing with the newly created layers:\r\n * ```js\r\n * function (feature, layer) {}\r\n * ```\r\n *\r\n * @option filter: Function = *\r\n * A `Function` that will be used to decide whether to include a feature or not.\r\n * The default is to include all features:\r\n * ```js\r\n * function (geoJsonFeature) {\r\n * \treturn true;\r\n * }\r\n * ```\r\n * Note: dynamically changing the `filter` option will have effect only on newly\r\n * added data. It will _not_ re-evaluate already included features.\r\n *\r\n * @option coordsToLatLng: Function = *\r\n * A `Function` that will be used for converting GeoJSON coordinates to `LatLng`s.\r\n * The default is the `coordsToLatLng` static method.\r\n *\r\n * @option markersInheritOptions: Boolean = false\r\n * Whether default Markers for \"Point\" type Features inherit from group options.\r\n */\n\n initialize: function (geojson, options) {\n setOptions(this, options);\n this._layers = {};\n if (geojson) {\n this.addData(geojson);\n }\n },\n // @method addData( <GeoJSON> data ): this\n // Adds a GeoJSON object to the layer.\n addData: function (geojson) {\n var features = isArray(geojson) ? geojson : geojson.features,\n i,\n len,\n feature;\n if (features) {\n for (i = 0, len = features.length; i < len; i++) {\n // only add this if geometry or geometries are set and not null\n feature = features[i];\n if (feature.geometries || feature.geometry || feature.features || feature.coordinates) {\n this.addData(feature);\n }\n }\n return this;\n }\n var options = this.options;\n if (options.filter && !options.filter(geojson)) {\n return this;\n }\n var layer = geometryToLayer(geojson, options);\n if (!layer) {\n return this;\n }\n layer.feature = asFeature(geojson);\n layer.defaultOptions = layer.options;\n this.resetStyle(layer);\n if (options.onEachFeature) {\n options.onEachFeature(geojson, layer);\n }\n return this.addLayer(layer);\n },\n // @method resetStyle( <Path> layer? ): this\n // Resets the given vector layer's style to the original GeoJSON style, useful for resetting style after hover events.\n // If `layer` is omitted, the style of all features in the current layer is reset.\n resetStyle: function (layer) {\n if (layer === undefined) {\n return this.eachLayer(this.resetStyle, this);\n }\n // reset any custom styles\n layer.options = extend({}, layer.defaultOptions);\n this._setLayerStyle(layer, this.options.style);\n return this;\n },\n // @method setStyle( <Function> style ): this\n // Changes styles of GeoJSON vector layers with the given style function.\n setStyle: function (style) {\n return this.eachLayer(function (layer) {\n this._setLayerStyle(layer, style);\n }, this);\n },\n _setLayerStyle: function (layer, style) {\n if (layer.setStyle) {\n if (typeof style === 'function') {\n style = style(layer.feature);\n }\n layer.setStyle(style);\n }\n }\n });\n\n // @section\n // There are several static functions which can be called without instantiating L.GeoJSON:\n\n // @function geometryToLayer(featureData: Object, options?: GeoJSON options): Layer\n // Creates a `Layer` from a given GeoJSON feature. Can use a custom\n // [`pointToLayer`](#geojson-pointtolayer) and/or [`coordsToLatLng`](#geojson-coordstolatlng)\n // functions if provided as options.\n function geometryToLayer(geojson, options) {\n var geometry = geojson.type === 'Feature' ? geojson.geometry : geojson,\n coords = geometry ? geometry.coordinates : null,\n layers = [],\n pointToLayer = options && options.pointToLayer,\n _coordsToLatLng = options && options.coordsToLatLng || coordsToLatLng,\n latlng,\n latlngs,\n i,\n len;\n if (!coords && !geometry) {\n return null;\n }\n switch (geometry.type) {\n case 'Point':\n latlng = _coordsToLatLng(coords);\n return _pointToLayer(pointToLayer, geojson, latlng, options);\n case 'MultiPoint':\n for (i = 0, len = coords.length; i < len; i++) {\n latlng = _coordsToLatLng(coords[i]);\n layers.push(_pointToLayer(pointToLayer, geojson, latlng, options));\n }\n return new FeatureGroup(layers);\n case 'LineString':\n case 'MultiLineString':\n latlngs = coordsToLatLngs(coords, geometry.type === 'LineString' ? 0 : 1, _coordsToLatLng);\n return new Polyline(latlngs, options);\n case 'Polygon':\n case 'MultiPolygon':\n latlngs = coordsToLatLngs(coords, geometry.type === 'Polygon' ? 1 : 2, _coordsToLatLng);\n return new Polygon(latlngs, options);\n case 'GeometryCollection':\n for (i = 0, len = geometry.geometries.length; i < len; i++) {\n var geoLayer = geometryToLayer({\n geometry: geometry.geometries[i],\n type: 'Feature',\n properties: geojson.properties\n }, options);\n if (geoLayer) {\n layers.push(geoLayer);\n }\n }\n return new FeatureGroup(layers);\n case 'FeatureCollection':\n for (i = 0, len = geometry.features.length; i < len; i++) {\n var featureLayer = geometryToLayer(geometry.features[i], options);\n if (featureLayer) {\n layers.push(featureLayer);\n }\n }\n return new FeatureGroup(layers);\n default:\n throw new Error('Invalid GeoJSON object.');\n }\n }\n function _pointToLayer(pointToLayerFn, geojson, latlng, options) {\n return pointToLayerFn ? pointToLayerFn(geojson, latlng) : new Marker(latlng, options && options.markersInheritOptions && options);\n }\n\n // @function coordsToLatLng(coords: Array): LatLng\n // Creates a `LatLng` object from an array of 2 numbers (longitude, latitude)\n // or 3 numbers (longitude, latitude, altitude) used in GeoJSON for points.\n function coordsToLatLng(coords) {\n return new LatLng(coords[1], coords[0], coords[2]);\n }\n\n // @function coordsToLatLngs(coords: Array, levelsDeep?: Number, coordsToLatLng?: Function): Array\n // Creates a multidimensional array of `LatLng`s from a GeoJSON coordinates array.\n // `levelsDeep` specifies the nesting level (0 is for an array of points, 1 for an array of arrays of points, etc., 0 by default).\n // Can use a custom [`coordsToLatLng`](#geojson-coordstolatlng) function.\n function coordsToLatLngs(coords, levelsDeep, _coordsToLatLng) {\n var latlngs = [];\n for (var i = 0, len = coords.length, latlng; i < len; i++) {\n latlng = levelsDeep ? coordsToLatLngs(coords[i], levelsDeep - 1, _coordsToLatLng) : (_coordsToLatLng || coordsToLatLng)(coords[i]);\n latlngs.push(latlng);\n }\n return latlngs;\n }\n\n // @function latLngToCoords(latlng: LatLng, precision?: Number|false): Array\n // Reverse of [`coordsToLatLng`](#geojson-coordstolatlng)\n // Coordinates values are rounded with [`formatNum`](#util-formatnum) function.\n function latLngToCoords(latlng, precision) {\n latlng = toLatLng(latlng);\n return latlng.alt !== undefined ? [formatNum(latlng.lng, precision), formatNum(latlng.lat, precision), formatNum(latlng.alt, precision)] : [formatNum(latlng.lng, precision), formatNum(latlng.lat, precision)];\n }\n\n // @function latLngsToCoords(latlngs: Array, levelsDeep?: Number, closed?: Boolean, precision?: Number|false): Array\n // Reverse of [`coordsToLatLngs`](#geojson-coordstolatlngs)\n // `closed` determines whether the first point should be appended to the end of the array to close the feature, only used when `levelsDeep` is 0. False by default.\n // Coordinates values are rounded with [`formatNum`](#util-formatnum) function.\n function latLngsToCoords(latlngs, levelsDeep, closed, precision) {\n var coords = [];\n for (var i = 0, len = latlngs.length; i < len; i++) {\n // Check for flat arrays required to ensure unbalanced arrays are correctly converted in recursion\n coords.push(levelsDeep ? latLngsToCoords(latlngs[i], isFlat(latlngs[i]) ? 0 : levelsDeep - 1, closed, precision) : latLngToCoords(latlngs[i], precision));\n }\n if (!levelsDeep && closed && coords.length > 0) {\n coords.push(coords[0].slice());\n }\n return coords;\n }\n function getFeature(layer, newGeometry) {\n return layer.feature ? extend({}, layer.feature, {\n geometry: newGeometry\n }) : asFeature(newGeometry);\n }\n\n // @function asFeature(geojson: Object): Object\n // Normalize GeoJSON geometries/features into GeoJSON features.\n function asFeature(geojson) {\n if (geojson.type === 'Feature' || geojson.type === 'FeatureCollection') {\n return geojson;\n }\n return {\n type: 'Feature',\n properties: {},\n geometry: geojson\n };\n }\n var PointToGeoJSON = {\n toGeoJSON: function (precision) {\n return getFeature(this, {\n type: 'Point',\n coordinates: latLngToCoords(this.getLatLng(), precision)\n });\n }\n };\n\n // @namespace Marker\n // @section Other methods\n // @method toGeoJSON(precision?: Number|false): Object\n // Coordinates values are rounded with [`formatNum`](#util-formatnum) function with given `precision`.\n // Returns a [`GeoJSON`](https://en.wikipedia.org/wiki/GeoJSON) representation of the marker (as a GeoJSON `Point` Feature).\n Marker.include(PointToGeoJSON);\n\n // @namespace CircleMarker\n // @method toGeoJSON(precision?: Number|false): Object\n // Coordinates values are rounded with [`formatNum`](#util-formatnum) function with given `precision`.\n // Returns a [`GeoJSON`](https://en.wikipedia.org/wiki/GeoJSON) representation of the circle marker (as a GeoJSON `Point` Feature).\n Circle.include(PointToGeoJSON);\n CircleMarker.include(PointToGeoJSON);\n\n // @namespace Polyline\n // @method toGeoJSON(precision?: Number|false): Object\n // Coordinates values are rounded with [`formatNum`](#util-formatnum) function with given `precision`.\n // Returns a [`GeoJSON`](https://en.wikipedia.org/wiki/GeoJSON) representation of the polyline (as a GeoJSON `LineString` or `MultiLineString` Feature).\n Polyline.include({\n toGeoJSON: function (precision) {\n var multi = !isFlat(this._latlngs);\n var coords = latLngsToCoords(this._latlngs, multi ? 1 : 0, false, precision);\n return getFeature(this, {\n type: (multi ? 'Multi' : '') + 'LineString',\n coordinates: coords\n });\n }\n });\n\n // @namespace Polygon\n // @method toGeoJSON(precision?: Number|false): Object\n // Coordinates values are rounded with [`formatNum`](#util-formatnum) function with given `precision`.\n // Returns a [`GeoJSON`](https://en.wikipedia.org/wiki/GeoJSON) representation of the polygon (as a GeoJSON `Polygon` or `MultiPolygon` Feature).\n Polygon.include({\n toGeoJSON: function (precision) {\n var holes = !isFlat(this._latlngs),\n multi = holes && !isFlat(this._latlngs[0]);\n var coords = latLngsToCoords(this._latlngs, multi ? 2 : holes ? 1 : 0, true, precision);\n if (!holes) {\n coords = [coords];\n }\n return getFeature(this, {\n type: (multi ? 'Multi' : '') + 'Polygon',\n coordinates: coords\n });\n }\n });\n\n // @namespace LayerGroup\n LayerGroup.include({\n toMultiPoint: function (precision) {\n var coords = [];\n this.eachLayer(function (layer) {\n coords.push(layer.toGeoJSON(precision).geometry.coordinates);\n });\n return getFeature(this, {\n type: 'MultiPoint',\n coordinates: coords\n });\n },\n // @method toGeoJSON(precision?: Number|false): Object\n // Coordinates values are rounded with [`formatNum`](#util-formatnum) function with given `precision`.\n // Returns a [`GeoJSON`](https://en.wikipedia.org/wiki/GeoJSON) representation of the layer group (as a GeoJSON `FeatureCollection`, `GeometryCollection`, or `MultiPoint`).\n toGeoJSON: function (precision) {\n var type = this.feature && this.feature.geometry && this.feature.geometry.type;\n if (type === 'MultiPoint') {\n return this.toMultiPoint(precision);\n }\n var isGeometryCollection = type === 'GeometryCollection',\n jsons = [];\n this.eachLayer(function (layer) {\n if (layer.toGeoJSON) {\n var json = layer.toGeoJSON(precision);\n if (isGeometryCollection) {\n jsons.push(json.geometry);\n } else {\n var feature = asFeature(json);\n // Squash nested feature collections\n if (feature.type === 'FeatureCollection') {\n jsons.push.apply(jsons, feature.features);\n } else {\n jsons.push(feature);\n }\n }\n }\n });\n if (isGeometryCollection) {\n return getFeature(this, {\n geometries: jsons,\n type: 'GeometryCollection'\n });\n }\n return {\n type: 'FeatureCollection',\n features: jsons\n };\n }\n });\n\n // @namespace GeoJSON\n // @factory L.geoJSON(geojson?: Object, options?: GeoJSON options)\n // Creates a GeoJSON layer. Optionally accepts an object in\n // [GeoJSON format](https://tools.ietf.org/html/rfc7946) to display on the map\n // (you can alternatively add it later with `addData` method) and an `options` object.\n function geoJSON(geojson, options) {\n return new GeoJSON(geojson, options);\n }\n\n // Backward compatibility.\n var geoJson = geoJSON;\n\n /*\r\n * @class ImageOverlay\r\n * @aka L.ImageOverlay\r\n * @inherits Interactive layer\r\n *\r\n * Used to load and display a single image over specific bounds of the map. Extends `Layer`.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var imageUrl = 'https://maps.lib.utexas.edu/maps/historical/newark_nj_1922.jpg',\r\n * \timageBounds = [[40.712216, -74.22655], [40.773941, -74.12544]];\r\n * L.imageOverlay(imageUrl, imageBounds).addTo(map);\r\n * ```\r\n */\n\n var ImageOverlay = Layer.extend({\n // @section\n // @aka ImageOverlay options\n options: {\n // @option opacity: Number = 1.0\n // The opacity of the image overlay.\n opacity: 1,\n // @option alt: String = ''\n // Text for the `alt` attribute of the image (useful for accessibility).\n alt: '',\n // @option interactive: Boolean = false\n // If `true`, the image overlay will emit [mouse events](#interactive-layer) when clicked or hovered.\n interactive: false,\n // @option crossOrigin: Boolean|String = false\n // Whether the crossOrigin attribute will be added to the image.\n // If a String is provided, the image will have its crossOrigin attribute set to the String provided. This is needed if you want to access image pixel data.\n // Refer to [CORS Settings](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for valid String values.\n crossOrigin: false,\n // @option errorOverlayUrl: String = ''\n // URL to the overlay image to show in place of the overlay that failed to load.\n errorOverlayUrl: '',\n // @option zIndex: Number = 1\n // The explicit [zIndex](https://developer.mozilla.org/docs/Web/CSS/CSS_Positioning/Understanding_z_index) of the overlay layer.\n zIndex: 1,\n // @option className: String = ''\n // A custom class name to assign to the image. Empty by default.\n className: ''\n },\n initialize: function (url, bounds, options) {\n // (String, LatLngBounds, Object)\n this._url = url;\n this._bounds = toLatLngBounds(bounds);\n setOptions(this, options);\n },\n onAdd: function () {\n if (!this._image) {\n this._initImage();\n if (this.options.opacity < 1) {\n this._updateOpacity();\n }\n }\n if (this.options.interactive) {\n addClass(this._image, 'leaflet-interactive');\n this.addInteractiveTarget(this._image);\n }\n this.getPane().appendChild(this._image);\n this._reset();\n },\n onRemove: function () {\n remove(this._image);\n if (this.options.interactive) {\n this.removeInteractiveTarget(this._image);\n }\n },\n // @method setOpacity(opacity: Number): this\n // Sets the opacity of the overlay.\n setOpacity: function (opacity) {\n this.options.opacity = opacity;\n if (this._image) {\n this._updateOpacity();\n }\n return this;\n },\n setStyle: function (styleOpts) {\n if (styleOpts.opacity) {\n this.setOpacity(styleOpts.opacity);\n }\n return this;\n },\n // @method bringToFront(): this\n // Brings the layer to the top of all overlays.\n bringToFront: function () {\n if (this._map) {\n toFront(this._image);\n }\n return this;\n },\n // @method bringToBack(): this\n // Brings the layer to the bottom of all overlays.\n bringToBack: function () {\n if (this._map) {\n toBack(this._image);\n }\n return this;\n },\n // @method setUrl(url: String): this\n // Changes the URL of the image.\n setUrl: function (url) {\n this._url = url;\n if (this._image) {\n this._image.src = url;\n }\n return this;\n },\n // @method setBounds(bounds: LatLngBounds): this\n // Update the bounds that this ImageOverlay covers\n setBounds: function (bounds) {\n this._bounds = toLatLngBounds(bounds);\n if (this._map) {\n this._reset();\n }\n return this;\n },\n getEvents: function () {\n var events = {\n zoom: this._reset,\n viewreset: this._reset\n };\n if (this._zoomAnimated) {\n events.zoomanim = this._animateZoom;\n }\n return events;\n },\n // @method setZIndex(value: Number): this\n // Changes the [zIndex](#imageoverlay-zindex) of the image overlay.\n setZIndex: function (value) {\n this.options.zIndex = value;\n this._updateZIndex();\n return this;\n },\n // @method getBounds(): LatLngBounds\n // Get the bounds that this ImageOverlay covers\n getBounds: function () {\n return this._bounds;\n },\n // @method getElement(): HTMLElement\n // Returns the instance of [`HTMLImageElement`](https://developer.mozilla.org/docs/Web/API/HTMLImageElement)\n // used by this overlay.\n getElement: function () {\n return this._image;\n },\n _initImage: function () {\n var wasElementSupplied = this._url.tagName === 'IMG';\n var img = this._image = wasElementSupplied ? this._url : create$1('img');\n addClass(img, 'leaflet-image-layer');\n if (this._zoomAnimated) {\n addClass(img, 'leaflet-zoom-animated');\n }\n if (this.options.className) {\n addClass(img, this.options.className);\n }\n img.onselectstart = falseFn;\n img.onmousemove = falseFn;\n\n // @event load: Event\n // Fired when the ImageOverlay layer has loaded its image\n img.onload = bind(this.fire, this, 'load');\n img.onerror = bind(this._overlayOnError, this, 'error');\n if (this.options.crossOrigin || this.options.crossOrigin === '') {\n img.crossOrigin = this.options.crossOrigin === true ? '' : this.options.crossOrigin;\n }\n if (this.options.zIndex) {\n this._updateZIndex();\n }\n if (wasElementSupplied) {\n this._url = img.src;\n return;\n }\n img.src = this._url;\n img.alt = this.options.alt;\n },\n _animateZoom: function (e) {\n var scale = this._map.getZoomScale(e.zoom),\n offset = this._map._latLngBoundsToNewLayerBounds(this._bounds, e.zoom, e.center).min;\n setTransform(this._image, offset, scale);\n },\n _reset: function () {\n var image = this._image,\n bounds = new Bounds(this._map.latLngToLayerPoint(this._bounds.getNorthWest()), this._map.latLngToLayerPoint(this._bounds.getSouthEast())),\n size = bounds.getSize();\n setPosition(image, bounds.min);\n image.style.width = size.x + 'px';\n image.style.height = size.y + 'px';\n },\n _updateOpacity: function () {\n setOpacity(this._image, this.options.opacity);\n },\n _updateZIndex: function () {\n if (this._image && this.options.zIndex !== undefined && this.options.zIndex !== null) {\n this._image.style.zIndex = this.options.zIndex;\n }\n },\n _overlayOnError: function () {\n // @event error: Event\n // Fired when the ImageOverlay layer fails to load its image\n this.fire('error');\n var errorUrl = this.options.errorOverlayUrl;\n if (errorUrl && this._url !== errorUrl) {\n this._url = errorUrl;\n this._image.src = errorUrl;\n }\n },\n // @method getCenter(): LatLng\n // Returns the center of the ImageOverlay.\n getCenter: function () {\n return this._bounds.getCenter();\n }\n });\n\n // @factory L.imageOverlay(imageUrl: String, bounds: LatLngBounds, options?: ImageOverlay options)\n // Instantiates an image overlay object given the URL of the image and the\n // geographical bounds it is tied to.\n var imageOverlay = function (url, bounds, options) {\n return new ImageOverlay(url, bounds, options);\n };\n\n /*\r\n * @class VideoOverlay\r\n * @aka L.VideoOverlay\r\n * @inherits ImageOverlay\r\n *\r\n * Used to load and display a video player over specific bounds of the map. Extends `ImageOverlay`.\r\n *\r\n * A video overlay uses the [`<video>`](https://developer.mozilla.org/docs/Web/HTML/Element/video)\r\n * HTML5 element.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var videoUrl = 'https://www.mapbox.com/bites/00188/patricia_nasa.webm',\r\n * \tvideoBounds = [[ 32, -130], [ 13, -100]];\r\n * L.videoOverlay(videoUrl, videoBounds ).addTo(map);\r\n * ```\r\n */\n\n var VideoOverlay = ImageOverlay.extend({\n // @section\n // @aka VideoOverlay options\n options: {\n // @option autoplay: Boolean = true\n // Whether the video starts playing automatically when loaded.\n // On some browsers autoplay will only work with `muted: true`\n autoplay: true,\n // @option loop: Boolean = true\n // Whether the video will loop back to the beginning when played.\n loop: true,\n // @option keepAspectRatio: Boolean = true\n // Whether the video will save aspect ratio after the projection.\n // Relevant for supported browsers. See [browser compatibility](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit)\n keepAspectRatio: true,\n // @option muted: Boolean = false\n // Whether the video starts on mute when loaded.\n muted: false,\n // @option playsInline: Boolean = true\n // Mobile browsers will play the video right where it is instead of open it up in fullscreen mode.\n playsInline: true\n },\n _initImage: function () {\n var wasElementSupplied = this._url.tagName === 'VIDEO';\n var vid = this._image = wasElementSupplied ? this._url : create$1('video');\n addClass(vid, 'leaflet-image-layer');\n if (this._zoomAnimated) {\n addClass(vid, 'leaflet-zoom-animated');\n }\n if (this.options.className) {\n addClass(vid, this.options.className);\n }\n vid.onselectstart = falseFn;\n vid.onmousemove = falseFn;\n\n // @event load: Event\n // Fired when the video has finished loading the first frame\n vid.onloadeddata = bind(this.fire, this, 'load');\n if (wasElementSupplied) {\n var sourceElements = vid.getElementsByTagName('source');\n var sources = [];\n for (var j = 0; j < sourceElements.length; j++) {\n sources.push(sourceElements[j].src);\n }\n this._url = sourceElements.length > 0 ? sources : [vid.src];\n return;\n }\n if (!isArray(this._url)) {\n this._url = [this._url];\n }\n if (!this.options.keepAspectRatio && Object.prototype.hasOwnProperty.call(vid.style, 'objectFit')) {\n vid.style['objectFit'] = 'fill';\n }\n vid.autoplay = !!this.options.autoplay;\n vid.loop = !!this.options.loop;\n vid.muted = !!this.options.muted;\n vid.playsInline = !!this.options.playsInline;\n for (var i = 0; i < this._url.length; i++) {\n var source = create$1('source');\n source.src = this._url[i];\n vid.appendChild(source);\n }\n }\n\n // @method getElement(): HTMLVideoElement\n // Returns the instance of [`HTMLVideoElement`](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement)\n // used by this overlay.\n });\n\n // @factory L.videoOverlay(video: String|Array|HTMLVideoElement, bounds: LatLngBounds, options?: VideoOverlay options)\n // Instantiates an image overlay object given the URL of the video (or array of URLs, or even a video element) and the\n // geographical bounds it is tied to.\n\n function videoOverlay(video, bounds, options) {\n return new VideoOverlay(video, bounds, options);\n }\n\n /*\n * @class SVGOverlay\n * @aka L.SVGOverlay\n * @inherits ImageOverlay\n *\n * Used to load, display and provide DOM access to an SVG file over specific bounds of the map. Extends `ImageOverlay`.\n *\n * An SVG overlay uses the [`<svg>`](https://developer.mozilla.org/docs/Web/SVG/Element/svg) element.\n *\n * @example\n *\n * ```js\n * var svgElement = document.createElementNS(\"http://www.w3.org/2000/svg\", \"svg\");\n * svgElement.setAttribute('xmlns', \"http://www.w3.org/2000/svg\");\n * svgElement.setAttribute('viewBox', \"0 0 200 200\");\n * svgElement.innerHTML = '<rect width=\"200\" height=\"200\"/><rect x=\"75\" y=\"23\" width=\"50\" height=\"50\" style=\"fill:red\"/><rect x=\"75\" y=\"123\" width=\"50\" height=\"50\" style=\"fill:#0013ff\"/>';\n * var svgElementBounds = [ [ 32, -130 ], [ 13, -100 ] ];\n * L.svgOverlay(svgElement, svgElementBounds).addTo(map);\n * ```\n */\n\n var SVGOverlay = ImageOverlay.extend({\n _initImage: function () {\n var el = this._image = this._url;\n addClass(el, 'leaflet-image-layer');\n if (this._zoomAnimated) {\n addClass(el, 'leaflet-zoom-animated');\n }\n if (this.options.className) {\n addClass(el, this.options.className);\n }\n el.onselectstart = falseFn;\n el.onmousemove = falseFn;\n }\n\n // @method getElement(): SVGElement\n // Returns the instance of [`SVGElement`](https://developer.mozilla.org/docs/Web/API/SVGElement)\n // used by this overlay.\n });\n\n // @factory L.svgOverlay(svg: String|SVGElement, bounds: LatLngBounds, options?: SVGOverlay options)\n // Instantiates an image overlay object given an SVG element and the geographical bounds it is tied to.\n // A viewBox attribute is required on the SVG element to zoom in and out properly.\n\n function svgOverlay(el, bounds, options) {\n return new SVGOverlay(el, bounds, options);\n }\n\n /*\r\n * @class DivOverlay\r\n * @inherits Interactive layer\r\n * @aka L.DivOverlay\r\n * Base model for L.Popup and L.Tooltip. Inherit from it for custom overlays like plugins.\r\n */\n\n // @namespace DivOverlay\n var DivOverlay = Layer.extend({\n // @section\n // @aka DivOverlay options\n options: {\n // @option interactive: Boolean = false\n // If true, the popup/tooltip will listen to the mouse events.\n interactive: false,\n // @option offset: Point = Point(0, 0)\n // The offset of the overlay position.\n offset: [0, 0],\n // @option className: String = ''\n // A custom CSS class name to assign to the overlay.\n className: '',\n // @option pane: String = undefined\n // `Map pane` where the overlay will be added.\n pane: undefined,\n // @option content: String|HTMLElement|Function = ''\n // Sets the HTML content of the overlay while initializing. If a function is passed the source layer will be\n // passed to the function. The function should return a `String` or `HTMLElement` to be used in the overlay.\n content: ''\n },\n initialize: function (options, source) {\n if (options && (options instanceof LatLng || isArray(options))) {\n this._latlng = toLatLng(options);\n setOptions(this, source);\n } else {\n setOptions(this, options);\n this._source = source;\n }\n if (this.options.content) {\n this._content = this.options.content;\n }\n },\n // @method openOn(map: Map): this\n // Adds the overlay to the map.\n // Alternative to `map.openPopup(popup)`/`.openTooltip(tooltip)`.\n openOn: function (map) {\n map = arguments.length ? map : this._source._map; // experimental, not the part of public api\n if (!map.hasLayer(this)) {\n map.addLayer(this);\n }\n return this;\n },\n // @method close(): this\n // Closes the overlay.\n // Alternative to `map.closePopup(popup)`/`.closeTooltip(tooltip)`\n // and `layer.closePopup()`/`.closeTooltip()`.\n close: function () {\n if (this._map) {\n this._map.removeLayer(this);\n }\n return this;\n },\n // @method toggle(layer?: Layer): this\n // Opens or closes the overlay bound to layer depending on its current state.\n // Argument may be omitted only for overlay bound to layer.\n // Alternative to `layer.togglePopup()`/`.toggleTooltip()`.\n toggle: function (layer) {\n if (this._map) {\n this.close();\n } else {\n if (arguments.length) {\n this._source = layer;\n } else {\n layer = this._source;\n }\n this._prepareOpen();\n\n // open the overlay on the map\n this.openOn(layer._map);\n }\n return this;\n },\n onAdd: function (map) {\n this._zoomAnimated = map._zoomAnimated;\n if (!this._container) {\n this._initLayout();\n }\n if (map._fadeAnimated) {\n setOpacity(this._container, 0);\n }\n clearTimeout(this._removeTimeout);\n this.getPane().appendChild(this._container);\n this.update();\n if (map._fadeAnimated) {\n setOpacity(this._container, 1);\n }\n this.bringToFront();\n if (this.options.interactive) {\n addClass(this._container, 'leaflet-interactive');\n this.addInteractiveTarget(this._container);\n }\n },\n onRemove: function (map) {\n if (map._fadeAnimated) {\n setOpacity(this._container, 0);\n this._removeTimeout = setTimeout(bind(remove, undefined, this._container), 200);\n } else {\n remove(this._container);\n }\n if (this.options.interactive) {\n removeClass(this._container, 'leaflet-interactive');\n this.removeInteractiveTarget(this._container);\n }\n },\n // @namespace DivOverlay\n // @method getLatLng: LatLng\n // Returns the geographical point of the overlay.\n getLatLng: function () {\n return this._latlng;\n },\n // @method setLatLng(latlng: LatLng): this\n // Sets the geographical point where the overlay will open.\n setLatLng: function (latlng) {\n this._latlng = toLatLng(latlng);\n if (this._map) {\n this._updatePosition();\n this._adjustPan();\n }\n return this;\n },\n // @method getContent: String|HTMLElement\n // Returns the content of the overlay.\n getContent: function () {\n return this._content;\n },\n // @method setContent(htmlContent: String|HTMLElement|Function): this\n // Sets the HTML content of the overlay. If a function is passed the source layer will be passed to the function.\n // The function should return a `String` or `HTMLElement` to be used in the overlay.\n setContent: function (content) {\n this._content = content;\n this.update();\n return this;\n },\n // @method getElement: String|HTMLElement\n // Returns the HTML container of the overlay.\n getElement: function () {\n return this._container;\n },\n // @method update: null\n // Updates the overlay content, layout and position. Useful for updating the overlay after something inside changed, e.g. image loaded.\n update: function () {\n if (!this._map) {\n return;\n }\n this._container.style.visibility = 'hidden';\n this._updateContent();\n this._updateLayout();\n this._updatePosition();\n this._container.style.visibility = '';\n this._adjustPan();\n },\n getEvents: function () {\n var events = {\n zoom: this._updatePosition,\n viewreset: this._updatePosition\n };\n if (this._zoomAnimated) {\n events.zoomanim = this._animateZoom;\n }\n return events;\n },\n // @method isOpen: Boolean\n // Returns `true` when the overlay is visible on the map.\n isOpen: function () {\n return !!this._map && this._map.hasLayer(this);\n },\n // @method bringToFront: this\n // Brings this overlay in front of other overlays (in the same map pane).\n bringToFront: function () {\n if (this._map) {\n toFront(this._container);\n }\n return this;\n },\n // @method bringToBack: this\n // Brings this overlay to the back of other overlays (in the same map pane).\n bringToBack: function () {\n if (this._map) {\n toBack(this._container);\n }\n return this;\n },\n // prepare bound overlay to open: update latlng pos / content source (for FeatureGroup)\n _prepareOpen: function (latlng) {\n var source = this._source;\n if (!source._map) {\n return false;\n }\n if (source instanceof FeatureGroup) {\n source = null;\n var layers = this._source._layers;\n for (var id in layers) {\n if (layers[id]._map) {\n source = layers[id];\n break;\n }\n }\n if (!source) {\n return false;\n } // Unable to get source layer.\n\n // set overlay source to this layer\n this._source = source;\n }\n if (!latlng) {\n if (source.getCenter) {\n latlng = source.getCenter();\n } else if (source.getLatLng) {\n latlng = source.getLatLng();\n } else if (source.getBounds) {\n latlng = source.getBounds().getCenter();\n } else {\n throw new Error('Unable to get source layer LatLng.');\n }\n }\n this.setLatLng(latlng);\n if (this._map) {\n // update the overlay (content, layout, etc...)\n this.update();\n }\n return true;\n },\n _updateContent: function () {\n if (!this._content) {\n return;\n }\n var node = this._contentNode;\n var content = typeof this._content === 'function' ? this._content(this._source || this) : this._content;\n if (typeof content === 'string') {\n node.innerHTML = content;\n } else {\n while (node.hasChildNodes()) {\n node.removeChild(node.firstChild);\n }\n node.appendChild(content);\n }\n\n // @namespace DivOverlay\n // @section DivOverlay events\n // @event contentupdate: Event\n // Fired when the content of the overlay is updated\n this.fire('contentupdate');\n },\n _updatePosition: function () {\n if (!this._map) {\n return;\n }\n var pos = this._map.latLngToLayerPoint(this._latlng),\n offset = toPoint(this.options.offset),\n anchor = this._getAnchor();\n if (this._zoomAnimated) {\n setPosition(this._container, pos.add(anchor));\n } else {\n offset = offset.add(pos).add(anchor);\n }\n var bottom = this._containerBottom = -offset.y,\n left = this._containerLeft = -Math.round(this._containerWidth / 2) + offset.x;\n\n // bottom position the overlay in case the height of the overlay changes (images loading etc)\n this._container.style.bottom = bottom + 'px';\n this._container.style.left = left + 'px';\n },\n _getAnchor: function () {\n return [0, 0];\n }\n });\n Map.include({\n _initOverlay: function (OverlayClass, content, latlng, options) {\n var overlay = content;\n if (!(overlay instanceof OverlayClass)) {\n overlay = new OverlayClass(options).setContent(content);\n }\n if (latlng) {\n overlay.setLatLng(latlng);\n }\n return overlay;\n }\n });\n Layer.include({\n _initOverlay: function (OverlayClass, old, content, options) {\n var overlay = content;\n if (overlay instanceof OverlayClass) {\n setOptions(overlay, options);\n overlay._source = this;\n } else {\n overlay = old && !options ? old : new OverlayClass(options, this);\n overlay.setContent(content);\n }\n return overlay;\n }\n });\n\n /*\r\n * @class Popup\r\n * @inherits DivOverlay\r\n * @aka L.Popup\r\n * Used to open popups in certain places of the map. Use [Map.openPopup](#map-openpopup) to\r\n * open popups while making sure that only one popup is open at one time\r\n * (recommended for usability), or use [Map.addLayer](#map-addlayer) to open as many as you want.\r\n *\r\n * @example\r\n *\r\n * If you want to just bind a popup to marker click and then open it, it's really easy:\r\n *\r\n * ```js\r\n * marker.bindPopup(popupContent).openPopup();\r\n * ```\r\n * Path overlays like polylines also have a `bindPopup` method.\r\n *\r\n * A popup can be also standalone:\r\n *\r\n * ```js\r\n * var popup = L.popup()\r\n * \t.setLatLng(latlng)\r\n * \t.setContent('<p>Hello world!<br />This is a nice popup.</p>')\r\n * \t.openOn(map);\r\n * ```\r\n * or\r\n * ```js\r\n * var popup = L.popup(latlng, {content: '<p>Hello world!<br />This is a nice popup.</p>')\r\n * \t.openOn(map);\r\n * ```\r\n */\n\n // @namespace Popup\n var Popup = DivOverlay.extend({\n // @section\n // @aka Popup options\n options: {\n // @option pane: String = 'popupPane'\n // `Map pane` where the popup will be added.\n pane: 'popupPane',\n // @option offset: Point = Point(0, 7)\n // The offset of the popup position.\n offset: [0, 7],\n // @option maxWidth: Number = 300\n // Max width of the popup, in pixels.\n maxWidth: 300,\n // @option minWidth: Number = 50\n // Min width of the popup, in pixels.\n minWidth: 50,\n // @option maxHeight: Number = null\n // If set, creates a scrollable container of the given height\n // inside a popup if its content exceeds it.\n // The scrollable container can be styled using the\n // `leaflet-popup-scrolled` CSS class selector.\n maxHeight: null,\n // @option autoPan: Boolean = true\n // Set it to `false` if you don't want the map to do panning animation\n // to fit the opened popup.\n autoPan: true,\n // @option autoPanPaddingTopLeft: Point = null\n // The margin between the popup and the top left corner of the map\n // view after autopanning was performed.\n autoPanPaddingTopLeft: null,\n // @option autoPanPaddingBottomRight: Point = null\n // The margin between the popup and the bottom right corner of the map\n // view after autopanning was performed.\n autoPanPaddingBottomRight: null,\n // @option autoPanPadding: Point = Point(5, 5)\n // Equivalent of setting both top left and bottom right autopan padding to the same value.\n autoPanPadding: [5, 5],\n // @option keepInView: Boolean = false\n // Set it to `true` if you want to prevent users from panning the popup\n // off of the screen while it is open.\n keepInView: false,\n // @option closeButton: Boolean = true\n // Controls the presence of a close button in the popup.\n closeButton: true,\n // @option autoClose: Boolean = true\n // Set it to `false` if you want to override the default behavior of\n // the popup closing when another popup is opened.\n autoClose: true,\n // @option closeOnEscapeKey: Boolean = true\n // Set it to `false` if you want to override the default behavior of\n // the ESC key for closing of the popup.\n closeOnEscapeKey: true,\n // @option closeOnClick: Boolean = *\n // Set it if you want to override the default behavior of the popup closing when user clicks\n // on the map. Defaults to the map's [`closePopupOnClick`](#map-closepopuponclick) option.\n\n // @option className: String = ''\n // A custom CSS class name to assign to the popup.\n className: ''\n },\n // @namespace Popup\n // @method openOn(map: Map): this\n // Alternative to `map.openPopup(popup)`.\n // Adds the popup to the map and closes the previous one.\n openOn: function (map) {\n map = arguments.length ? map : this._source._map; // experimental, not the part of public api\n\n if (!map.hasLayer(this) && map._popup && map._popup.options.autoClose) {\n map.removeLayer(map._popup);\n }\n map._popup = this;\n return DivOverlay.prototype.openOn.call(this, map);\n },\n onAdd: function (map) {\n DivOverlay.prototype.onAdd.call(this, map);\n\n // @namespace Map\n // @section Popup events\n // @event popupopen: PopupEvent\n // Fired when a popup is opened in the map\n map.fire('popupopen', {\n popup: this\n });\n if (this._source) {\n // @namespace Layer\n // @section Popup events\n // @event popupopen: PopupEvent\n // Fired when a popup bound to this layer is opened\n this._source.fire('popupopen', {\n popup: this\n }, true);\n // For non-path layers, we toggle the popup when clicking\n // again the layer, so prevent the map to reopen it.\n if (!(this._source instanceof Path)) {\n this._source.on('preclick', stopPropagation);\n }\n }\n },\n onRemove: function (map) {\n DivOverlay.prototype.onRemove.call(this, map);\n\n // @namespace Map\n // @section Popup events\n // @event popupclose: PopupEvent\n // Fired when a popup in the map is closed\n map.fire('popupclose', {\n popup: this\n });\n if (this._source) {\n // @namespace Layer\n // @section Popup events\n // @event popupclose: PopupEvent\n // Fired when a popup bound to this layer is closed\n this._source.fire('popupclose', {\n popup: this\n }, true);\n if (!(this._source instanceof Path)) {\n this._source.off('preclick', stopPropagation);\n }\n }\n },\n getEvents: function () {\n var events = DivOverlay.prototype.getEvents.call(this);\n if (this.options.closeOnClick !== undefined ? this.options.closeOnClick : this._map.options.closePopupOnClick) {\n events.preclick = this.close;\n }\n if (this.options.keepInView) {\n events.moveend = this._adjustPan;\n }\n return events;\n },\n _initLayout: function () {\n var prefix = 'leaflet-popup',\n container = this._container = create$1('div', prefix + ' ' + (this.options.className || '') + ' leaflet-zoom-animated');\n var wrapper = this._wrapper = create$1('div', prefix + '-content-wrapper', container);\n this._contentNode = create$1('div', prefix + '-content', wrapper);\n disableClickPropagation(container);\n disableScrollPropagation(this._contentNode);\n on(container, 'contextmenu', stopPropagation);\n this._tipContainer = create$1('div', prefix + '-tip-container', container);\n this._tip = create$1('div', prefix + '-tip', this._tipContainer);\n if (this.options.closeButton) {\n var closeButton = this._closeButton = create$1('a', prefix + '-close-button', container);\n closeButton.setAttribute('role', 'button'); // overrides the implicit role=link of <a> elements #7399\n closeButton.setAttribute('aria-label', 'Close popup');\n closeButton.href = '#close';\n closeButton.innerHTML = '<span aria-hidden=\"true\">×</span>';\n on(closeButton, 'click', function (ev) {\n preventDefault(ev);\n this.close();\n }, this);\n }\n },\n _updateLayout: function () {\n var container = this._contentNode,\n style = container.style;\n style.width = '';\n style.whiteSpace = 'nowrap';\n var width = container.offsetWidth;\n width = Math.min(width, this.options.maxWidth);\n width = Math.max(width, this.options.minWidth);\n style.width = width + 1 + 'px';\n style.whiteSpace = '';\n style.height = '';\n var height = container.offsetHeight,\n maxHeight = this.options.maxHeight,\n scrolledClass = 'leaflet-popup-scrolled';\n if (maxHeight && height > maxHeight) {\n style.height = maxHeight + 'px';\n addClass(container, scrolledClass);\n } else {\n removeClass(container, scrolledClass);\n }\n this._containerWidth = this._container.offsetWidth;\n },\n _animateZoom: function (e) {\n var pos = this._map._latLngToNewLayerPoint(this._latlng, e.zoom, e.center),\n anchor = this._getAnchor();\n setPosition(this._container, pos.add(anchor));\n },\n _adjustPan: function () {\n if (!this.options.autoPan) {\n return;\n }\n if (this._map._panAnim) {\n this._map._panAnim.stop();\n }\n\n // We can endlessly recurse if keepInView is set and the view resets.\n // Let's guard against that by exiting early if we're responding to our own autopan.\n if (this._autopanning) {\n this._autopanning = false;\n return;\n }\n var map = this._map,\n marginBottom = parseInt(getStyle(this._container, 'marginBottom'), 10) || 0,\n containerHeight = this._container.offsetHeight + marginBottom,\n containerWidth = this._containerWidth,\n layerPos = new Point(this._containerLeft, -containerHeight - this._containerBottom);\n layerPos._add(getPosition(this._container));\n var containerPos = map.layerPointToContainerPoint(layerPos),\n padding = toPoint(this.options.autoPanPadding),\n paddingTL = toPoint(this.options.autoPanPaddingTopLeft || padding),\n paddingBR = toPoint(this.options.autoPanPaddingBottomRight || padding),\n size = map.getSize(),\n dx = 0,\n dy = 0;\n if (containerPos.x + containerWidth + paddingBR.x > size.x) {\n // right\n dx = containerPos.x + containerWidth - size.x + paddingBR.x;\n }\n if (containerPos.x - dx - paddingTL.x < 0) {\n // left\n dx = containerPos.x - paddingTL.x;\n }\n if (containerPos.y + containerHeight + paddingBR.y > size.y) {\n // bottom\n dy = containerPos.y + containerHeight - size.y + paddingBR.y;\n }\n if (containerPos.y - dy - paddingTL.y < 0) {\n // top\n dy = containerPos.y - paddingTL.y;\n }\n\n // @namespace Map\n // @section Popup events\n // @event autopanstart: Event\n // Fired when the map starts autopanning when opening a popup.\n if (dx || dy) {\n // Track that we're autopanning, as this function will be re-ran on moveend\n if (this.options.keepInView) {\n this._autopanning = true;\n }\n map.fire('autopanstart').panBy([dx, dy]);\n }\n },\n _getAnchor: function () {\n // Where should we anchor the popup on the source layer?\n return toPoint(this._source && this._source._getPopupAnchor ? this._source._getPopupAnchor() : [0, 0]);\n }\n });\n\n // @namespace Popup\n // @factory L.popup(options?: Popup options, source?: Layer)\n // Instantiates a `Popup` object given an optional `options` object that describes its appearance and location and an optional `source` object that is used to tag the popup with a reference to the Layer to which it refers.\n // @alternative\n // @factory L.popup(latlng: LatLng, options?: Popup options)\n // Instantiates a `Popup` object given `latlng` where the popup will open and an optional `options` object that describes its appearance and location.\n var popup = function (options, source) {\n return new Popup(options, source);\n };\n\n /* @namespace Map\r\n * @section Interaction Options\r\n * @option closePopupOnClick: Boolean = true\r\n * Set it to `false` if you don't want popups to close when user clicks the map.\r\n */\n Map.mergeOptions({\n closePopupOnClick: true\n });\n\n // @namespace Map\n // @section Methods for Layers and Controls\n Map.include({\n // @method openPopup(popup: Popup): this\n // Opens the specified popup while closing the previously opened (to make sure only one is opened at one time for usability).\n // @alternative\n // @method openPopup(content: String|HTMLElement, latlng: LatLng, options?: Popup options): this\n // Creates a popup with the specified content and options and opens it in the given point on a map.\n openPopup: function (popup, latlng, options) {\n this._initOverlay(Popup, popup, latlng, options).openOn(this);\n return this;\n },\n // @method closePopup(popup?: Popup): this\n // Closes the popup previously opened with [openPopup](#map-openpopup) (or the given one).\n closePopup: function (popup) {\n popup = arguments.length ? popup : this._popup;\n if (popup) {\n popup.close();\n }\n return this;\n }\n });\n\n /*\r\n * @namespace Layer\r\n * @section Popup methods example\r\n *\r\n * All layers share a set of methods convenient for binding popups to it.\r\n *\r\n * ```js\r\n * var layer = L.Polygon(latlngs).bindPopup('Hi There!').addTo(map);\r\n * layer.openPopup();\r\n * layer.closePopup();\r\n * ```\r\n *\r\n * Popups will also be automatically opened when the layer is clicked on and closed when the layer is removed from the map or another popup is opened.\r\n */\n\n // @section Popup methods\n Layer.include({\n // @method bindPopup(content: String|HTMLElement|Function|Popup, options?: Popup options): this\n // Binds a popup to the layer with the passed `content` and sets up the\n // necessary event listeners. If a `Function` is passed it will receive\n // the layer as the first argument and should return a `String` or `HTMLElement`.\n bindPopup: function (content, options) {\n this._popup = this._initOverlay(Popup, this._popup, content, options);\n if (!this._popupHandlersAdded) {\n this.on({\n click: this._openPopup,\n keypress: this._onKeyPress,\n remove: this.closePopup,\n move: this._movePopup\n });\n this._popupHandlersAdded = true;\n }\n return this;\n },\n // @method unbindPopup(): this\n // Removes the popup previously bound with `bindPopup`.\n unbindPopup: function () {\n if (this._popup) {\n this.off({\n click: this._openPopup,\n keypress: this._onKeyPress,\n remove: this.closePopup,\n move: this._movePopup\n });\n this._popupHandlersAdded = false;\n this._popup = null;\n }\n return this;\n },\n // @method openPopup(latlng?: LatLng): this\n // Opens the bound popup at the specified `latlng` or at the default popup anchor if no `latlng` is passed.\n openPopup: function (latlng) {\n if (this._popup) {\n if (!(this instanceof FeatureGroup)) {\n this._popup._source = this;\n }\n if (this._popup._prepareOpen(latlng || this._latlng)) {\n // open the popup on the map\n this._popup.openOn(this._map);\n }\n }\n return this;\n },\n // @method closePopup(): this\n // Closes the popup bound to this layer if it is open.\n closePopup: function () {\n if (this._popup) {\n this._popup.close();\n }\n return this;\n },\n // @method togglePopup(): this\n // Opens or closes the popup bound to this layer depending on its current state.\n togglePopup: function () {\n if (this._popup) {\n this._popup.toggle(this);\n }\n return this;\n },\n // @method isPopupOpen(): boolean\n // Returns `true` if the popup bound to this layer is currently open.\n isPopupOpen: function () {\n return this._popup ? this._popup.isOpen() : false;\n },\n // @method setPopupContent(content: String|HTMLElement|Popup): this\n // Sets the content of the popup bound to this layer.\n setPopupContent: function (content) {\n if (this._popup) {\n this._popup.setContent(content);\n }\n return this;\n },\n // @method getPopup(): Popup\n // Returns the popup bound to this layer.\n getPopup: function () {\n return this._popup;\n },\n _openPopup: function (e) {\n if (!this._popup || !this._map) {\n return;\n }\n // prevent map click\n stop(e);\n var target = e.layer || e.target;\n if (this._popup._source === target && !(target instanceof Path)) {\n // treat it like a marker and figure out\n // if we should toggle it open/closed\n if (this._map.hasLayer(this._popup)) {\n this.closePopup();\n } else {\n this.openPopup(e.latlng);\n }\n return;\n }\n this._popup._source = target;\n this.openPopup(e.latlng);\n },\n _movePopup: function (e) {\n this._popup.setLatLng(e.latlng);\n },\n _onKeyPress: function (e) {\n if (e.originalEvent.keyCode === 13) {\n this._openPopup(e);\n }\n }\n });\n\n /*\n * @class Tooltip\n * @inherits DivOverlay\n * @aka L.Tooltip\n * Used to display small texts on top of map layers.\n *\n * @example\n * If you want to just bind a tooltip to marker:\n *\n * ```js\n * marker.bindTooltip(\"my tooltip text\").openTooltip();\n * ```\n * Path overlays like polylines also have a `bindTooltip` method.\n *\n * A tooltip can be also standalone:\n *\n * ```js\n * var tooltip = L.tooltip()\n * \t.setLatLng(latlng)\n * \t.setContent('Hello world!<br />This is a nice tooltip.')\n * \t.addTo(map);\n * ```\n * or\n * ```js\n * var tooltip = L.tooltip(latlng, {content: 'Hello world!<br />This is a nice tooltip.'})\n * \t.addTo(map);\n * ```\n *\n *\n * Note about tooltip offset. Leaflet takes two options in consideration\n * for computing tooltip offsetting:\n * - the `offset` Tooltip option: it defaults to [0, 0], and it's specific to one tooltip.\n * Add a positive x offset to move the tooltip to the right, and a positive y offset to\n * move it to the bottom. Negatives will move to the left and top.\n * - the `tooltipAnchor` Icon option: this will only be considered for Marker. You\n * should adapt this value if you use a custom icon.\n */\n\n // @namespace Tooltip\n var Tooltip = DivOverlay.extend({\n // @section\n // @aka Tooltip options\n options: {\n // @option pane: String = 'tooltipPane'\n // `Map pane` where the tooltip will be added.\n pane: 'tooltipPane',\n // @option offset: Point = Point(0, 0)\n // Optional offset of the tooltip position.\n offset: [0, 0],\n // @option direction: String = 'auto'\n // Direction where to open the tooltip. Possible values are: `right`, `left`,\n // `top`, `bottom`, `center`, `auto`.\n // `auto` will dynamically switch between `right` and `left` according to the tooltip\n // position on the map.\n direction: 'auto',\n // @option permanent: Boolean = false\n // Whether to open the tooltip permanently or only on mouseover.\n permanent: false,\n // @option sticky: Boolean = false\n // If true, the tooltip will follow the mouse instead of being fixed at the feature center.\n sticky: false,\n // @option opacity: Number = 0.9\n // Tooltip container opacity.\n opacity: 0.9\n },\n onAdd: function (map) {\n DivOverlay.prototype.onAdd.call(this, map);\n this.setOpacity(this.options.opacity);\n\n // @namespace Map\n // @section Tooltip events\n // @event tooltipopen: TooltipEvent\n // Fired when a tooltip is opened in the map.\n map.fire('tooltipopen', {\n tooltip: this\n });\n if (this._source) {\n this.addEventParent(this._source);\n\n // @namespace Layer\n // @section Tooltip events\n // @event tooltipopen: TooltipEvent\n // Fired when a tooltip bound to this layer is opened.\n this._source.fire('tooltipopen', {\n tooltip: this\n }, true);\n }\n },\n onRemove: function (map) {\n DivOverlay.prototype.onRemove.call(this, map);\n\n // @namespace Map\n // @section Tooltip events\n // @event tooltipclose: TooltipEvent\n // Fired when a tooltip in the map is closed.\n map.fire('tooltipclose', {\n tooltip: this\n });\n if (this._source) {\n this.removeEventParent(this._source);\n\n // @namespace Layer\n // @section Tooltip events\n // @event tooltipclose: TooltipEvent\n // Fired when a tooltip bound to this layer is closed.\n this._source.fire('tooltipclose', {\n tooltip: this\n }, true);\n }\n },\n getEvents: function () {\n var events = DivOverlay.prototype.getEvents.call(this);\n if (!this.options.permanent) {\n events.preclick = this.close;\n }\n return events;\n },\n _initLayout: function () {\n var prefix = 'leaflet-tooltip',\n className = prefix + ' ' + (this.options.className || '') + ' leaflet-zoom-' + (this._zoomAnimated ? 'animated' : 'hide');\n this._contentNode = this._container = create$1('div', className);\n this._container.setAttribute('role', 'tooltip');\n this._container.setAttribute('id', 'leaflet-tooltip-' + stamp(this));\n },\n _updateLayout: function () {},\n _adjustPan: function () {},\n _setPosition: function (pos) {\n var subX,\n subY,\n map = this._map,\n container = this._container,\n centerPoint = map.latLngToContainerPoint(map.getCenter()),\n tooltipPoint = map.layerPointToContainerPoint(pos),\n direction = this.options.direction,\n tooltipWidth = container.offsetWidth,\n tooltipHeight = container.offsetHeight,\n offset = toPoint(this.options.offset),\n anchor = this._getAnchor();\n if (direction === 'top') {\n subX = tooltipWidth / 2;\n subY = tooltipHeight;\n } else if (direction === 'bottom') {\n subX = tooltipWidth / 2;\n subY = 0;\n } else if (direction === 'center') {\n subX = tooltipWidth / 2;\n subY = tooltipHeight / 2;\n } else if (direction === 'right') {\n subX = 0;\n subY = tooltipHeight / 2;\n } else if (direction === 'left') {\n subX = tooltipWidth;\n subY = tooltipHeight / 2;\n } else if (tooltipPoint.x < centerPoint.x) {\n direction = 'right';\n subX = 0;\n subY = tooltipHeight / 2;\n } else {\n direction = 'left';\n subX = tooltipWidth + (offset.x + anchor.x) * 2;\n subY = tooltipHeight / 2;\n }\n pos = pos.subtract(toPoint(subX, subY, true)).add(offset).add(anchor);\n removeClass(container, 'leaflet-tooltip-right');\n removeClass(container, 'leaflet-tooltip-left');\n removeClass(container, 'leaflet-tooltip-top');\n removeClass(container, 'leaflet-tooltip-bottom');\n addClass(container, 'leaflet-tooltip-' + direction);\n setPosition(container, pos);\n },\n _updatePosition: function () {\n var pos = this._map.latLngToLayerPoint(this._latlng);\n this._setPosition(pos);\n },\n setOpacity: function (opacity) {\n this.options.opacity = opacity;\n if (this._container) {\n setOpacity(this._container, opacity);\n }\n },\n _animateZoom: function (e) {\n var pos = this._map._latLngToNewLayerPoint(this._latlng, e.zoom, e.center);\n this._setPosition(pos);\n },\n _getAnchor: function () {\n // Where should we anchor the tooltip on the source layer?\n return toPoint(this._source && this._source._getTooltipAnchor && !this.options.sticky ? this._source._getTooltipAnchor() : [0, 0]);\n }\n });\n\n // @namespace Tooltip\n // @factory L.tooltip(options?: Tooltip options, source?: Layer)\n // Instantiates a `Tooltip` object given an optional `options` object that describes its appearance and location and an optional `source` object that is used to tag the tooltip with a reference to the Layer to which it refers.\n // @alternative\n // @factory L.tooltip(latlng: LatLng, options?: Tooltip options)\n // Instantiates a `Tooltip` object given `latlng` where the tooltip will open and an optional `options` object that describes its appearance and location.\n var tooltip = function (options, source) {\n return new Tooltip(options, source);\n };\n\n // @namespace Map\n // @section Methods for Layers and Controls\n Map.include({\n // @method openTooltip(tooltip: Tooltip): this\n // Opens the specified tooltip.\n // @alternative\n // @method openTooltip(content: String|HTMLElement, latlng: LatLng, options?: Tooltip options): this\n // Creates a tooltip with the specified content and options and open it.\n openTooltip: function (tooltip, latlng, options) {\n this._initOverlay(Tooltip, tooltip, latlng, options).openOn(this);\n return this;\n },\n // @method closeTooltip(tooltip: Tooltip): this\n // Closes the tooltip given as parameter.\n closeTooltip: function (tooltip) {\n tooltip.close();\n return this;\n }\n });\n\n /*\n * @namespace Layer\n * @section Tooltip methods example\n *\n * All layers share a set of methods convenient for binding tooltips to it.\n *\n * ```js\n * var layer = L.Polygon(latlngs).bindTooltip('Hi There!').addTo(map);\n * layer.openTooltip();\n * layer.closeTooltip();\n * ```\n */\n\n // @section Tooltip methods\n Layer.include({\n // @method bindTooltip(content: String|HTMLElement|Function|Tooltip, options?: Tooltip options): this\n // Binds a tooltip to the layer with the passed `content` and sets up the\n // necessary event listeners. If a `Function` is passed it will receive\n // the layer as the first argument and should return a `String` or `HTMLElement`.\n bindTooltip: function (content, options) {\n if (this._tooltip && this.isTooltipOpen()) {\n this.unbindTooltip();\n }\n this._tooltip = this._initOverlay(Tooltip, this._tooltip, content, options);\n this._initTooltipInteractions();\n if (this._tooltip.options.permanent && this._map && this._map.hasLayer(this)) {\n this.openTooltip();\n }\n return this;\n },\n // @method unbindTooltip(): this\n // Removes the tooltip previously bound with `bindTooltip`.\n unbindTooltip: function () {\n if (this._tooltip) {\n this._initTooltipInteractions(true);\n this.closeTooltip();\n this._tooltip = null;\n }\n return this;\n },\n _initTooltipInteractions: function (remove) {\n if (!remove && this._tooltipHandlersAdded) {\n return;\n }\n var onOff = remove ? 'off' : 'on',\n events = {\n remove: this.closeTooltip,\n move: this._moveTooltip\n };\n if (!this._tooltip.options.permanent) {\n events.mouseover = this._openTooltip;\n events.mouseout = this.closeTooltip;\n events.click = this._openTooltip;\n if (this._map) {\n this._addFocusListeners();\n } else {\n events.add = this._addFocusListeners;\n }\n } else {\n events.add = this._openTooltip;\n }\n if (this._tooltip.options.sticky) {\n events.mousemove = this._moveTooltip;\n }\n this[onOff](events);\n this._tooltipHandlersAdded = !remove;\n },\n // @method openTooltip(latlng?: LatLng): this\n // Opens the bound tooltip at the specified `latlng` or at the default tooltip anchor if no `latlng` is passed.\n openTooltip: function (latlng) {\n if (this._tooltip) {\n if (!(this instanceof FeatureGroup)) {\n this._tooltip._source = this;\n }\n if (this._tooltip._prepareOpen(latlng)) {\n // open the tooltip on the map\n this._tooltip.openOn(this._map);\n if (this.getElement) {\n this._setAriaDescribedByOnLayer(this);\n } else if (this.eachLayer) {\n this.eachLayer(this._setAriaDescribedByOnLayer, this);\n }\n }\n }\n return this;\n },\n // @method closeTooltip(): this\n // Closes the tooltip bound to this layer if it is open.\n closeTooltip: function () {\n if (this._tooltip) {\n return this._tooltip.close();\n }\n },\n // @method toggleTooltip(): this\n // Opens or closes the tooltip bound to this layer depending on its current state.\n toggleTooltip: function () {\n if (this._tooltip) {\n this._tooltip.toggle(this);\n }\n return this;\n },\n // @method isTooltipOpen(): boolean\n // Returns `true` if the tooltip bound to this layer is currently open.\n isTooltipOpen: function () {\n return this._tooltip.isOpen();\n },\n // @method setTooltipContent(content: String|HTMLElement|Tooltip): this\n // Sets the content of the tooltip bound to this layer.\n setTooltipContent: function (content) {\n if (this._tooltip) {\n this._tooltip.setContent(content);\n }\n return this;\n },\n // @method getTooltip(): Tooltip\n // Returns the tooltip bound to this layer.\n getTooltip: function () {\n return this._tooltip;\n },\n _addFocusListeners: function () {\n if (this.getElement) {\n this._addFocusListenersOnLayer(this);\n } else if (this.eachLayer) {\n this.eachLayer(this._addFocusListenersOnLayer, this);\n }\n },\n _addFocusListenersOnLayer: function (layer) {\n var el = typeof layer.getElement === 'function' && layer.getElement();\n if (el) {\n on(el, 'focus', function () {\n this._tooltip._source = layer;\n this.openTooltip();\n }, this);\n on(el, 'blur', this.closeTooltip, this);\n }\n },\n _setAriaDescribedByOnLayer: function (layer) {\n var el = typeof layer.getElement === 'function' && layer.getElement();\n if (el) {\n el.setAttribute('aria-describedby', this._tooltip._container.id);\n }\n },\n _openTooltip: function (e) {\n if (!this._tooltip || !this._map) {\n return;\n }\n\n // If the map is moving, we will show the tooltip after it's done.\n if (this._map.dragging && this._map.dragging.moving() && !this._openOnceFlag) {\n this._openOnceFlag = true;\n var that = this;\n this._map.once('moveend', function () {\n that._openOnceFlag = false;\n that._openTooltip(e);\n });\n return;\n }\n this._tooltip._source = e.layer || e.target;\n this.openTooltip(this._tooltip.options.sticky ? e.latlng : undefined);\n },\n _moveTooltip: function (e) {\n var latlng = e.latlng,\n containerPoint,\n layerPoint;\n if (this._tooltip.options.sticky && e.originalEvent) {\n containerPoint = this._map.mouseEventToContainerPoint(e.originalEvent);\n layerPoint = this._map.containerPointToLayerPoint(containerPoint);\n latlng = this._map.layerPointToLatLng(layerPoint);\n }\n this._tooltip.setLatLng(latlng);\n }\n });\n\n /*\n * @class DivIcon\n * @aka L.DivIcon\n * @inherits Icon\n *\n * Represents a lightweight icon for markers that uses a simple `<div>`\n * element instead of an image. Inherits from `Icon` but ignores the `iconUrl` and shadow options.\n *\n * @example\n * ```js\n * var myIcon = L.divIcon({className: 'my-div-icon'});\n * // you can set .my-div-icon styles in CSS\n *\n * L.marker([50.505, 30.57], {icon: myIcon}).addTo(map);\n * ```\n *\n * By default, it has a 'leaflet-div-icon' CSS class and is styled as a little white square with a shadow.\n */\n\n var DivIcon = Icon.extend({\n options: {\n // @section\n // @aka DivIcon options\n iconSize: [12, 12],\n // also can be set through CSS\n\n // iconAnchor: (Point),\n // popupAnchor: (Point),\n\n // @option html: String|HTMLElement = ''\n // Custom HTML code to put inside the div element, empty by default. Alternatively,\n // an instance of `HTMLElement`.\n html: false,\n // @option bgPos: Point = [0, 0]\n // Optional relative position of the background, in pixels\n bgPos: null,\n className: 'leaflet-div-icon'\n },\n createIcon: function (oldIcon) {\n var div = oldIcon && oldIcon.tagName === 'DIV' ? oldIcon : document.createElement('div'),\n options = this.options;\n if (options.html instanceof Element) {\n empty(div);\n div.appendChild(options.html);\n } else {\n div.innerHTML = options.html !== false ? options.html : '';\n }\n if (options.bgPos) {\n var bgPos = toPoint(options.bgPos);\n div.style.backgroundPosition = -bgPos.x + 'px ' + -bgPos.y + 'px';\n }\n this._setIconStyles(div, 'icon');\n return div;\n },\n createShadow: function () {\n return null;\n }\n });\n\n // @factory L.divIcon(options: DivIcon options)\n // Creates a `DivIcon` instance with the given options.\n function divIcon(options) {\n return new DivIcon(options);\n }\n Icon.Default = IconDefault;\n\n /*\n * @class GridLayer\n * @inherits Layer\n * @aka L.GridLayer\n *\n * Generic class for handling a tiled grid of HTML elements. This is the base class for all tile layers and replaces `TileLayer.Canvas`.\n * GridLayer can be extended to create a tiled grid of HTML elements like `<canvas>`, `<img>` or `<div>`. GridLayer will handle creating and animating these DOM elements for you.\n *\n *\n * @section Synchronous usage\n * @example\n *\n * To create a custom layer, extend GridLayer and implement the `createTile()` method, which will be passed a `Point` object with the `x`, `y`, and `z` (zoom level) coordinates to draw your tile.\n *\n * ```js\n * var CanvasLayer = L.GridLayer.extend({\n * createTile: function(coords){\n * // create a <canvas> element for drawing\n * var tile = L.DomUtil.create('canvas', 'leaflet-tile');\n *\n * // setup tile width and height according to the options\n * var size = this.getTileSize();\n * tile.width = size.x;\n * tile.height = size.y;\n *\n * // get a canvas context and draw something on it using coords.x, coords.y and coords.z\n * var ctx = tile.getContext('2d');\n *\n * // return the tile so it can be rendered on screen\n * return tile;\n * }\n * });\n * ```\n *\n * @section Asynchronous usage\n * @example\n *\n * Tile creation can also be asynchronous, this is useful when using a third-party drawing library. Once the tile is finished drawing it can be passed to the `done()` callback.\n *\n * ```js\n * var CanvasLayer = L.GridLayer.extend({\n * createTile: function(coords, done){\n * var error;\n *\n * // create a <canvas> element for drawing\n * var tile = L.DomUtil.create('canvas', 'leaflet-tile');\n *\n * // setup tile width and height according to the options\n * var size = this.getTileSize();\n * tile.width = size.x;\n * tile.height = size.y;\n *\n * // draw something asynchronously and pass the tile to the done() callback\n * setTimeout(function() {\n * done(error, tile);\n * }, 1000);\n *\n * return tile;\n * }\n * });\n * ```\n *\n * @section\n */\n\n var GridLayer = Layer.extend({\n // @section\n // @aka GridLayer options\n options: {\n // @option tileSize: Number|Point = 256\n // Width and height of tiles in the grid. Use a number if width and height are equal, or `L.point(width, height)` otherwise.\n tileSize: 256,\n // @option opacity: Number = 1.0\n // Opacity of the tiles. Can be used in the `createTile()` function.\n opacity: 1,\n // @option updateWhenIdle: Boolean = (depends)\n // Load new tiles only when panning ends.\n // `true` by default on mobile browsers, in order to avoid too many requests and keep smooth navigation.\n // `false` otherwise in order to display new tiles _during_ panning, since it is easy to pan outside the\n // [`keepBuffer`](#gridlayer-keepbuffer) option in desktop browsers.\n updateWhenIdle: Browser.mobile,\n // @option updateWhenZooming: Boolean = true\n // By default, a smooth zoom animation (during a [touch zoom](#map-touchzoom) or a [`flyTo()`](#map-flyto)) will update grid layers every integer zoom level. Setting this option to `false` will update the grid layer only when the smooth animation ends.\n updateWhenZooming: true,\n // @option updateInterval: Number = 200\n // Tiles will not update more than once every `updateInterval` milliseconds when panning.\n updateInterval: 200,\n // @option zIndex: Number = 1\n // The explicit zIndex of the tile layer.\n zIndex: 1,\n // @option bounds: LatLngBounds = undefined\n // If set, tiles will only be loaded inside the set `LatLngBounds`.\n bounds: null,\n // @option minZoom: Number = 0\n // The minimum zoom level down to which this layer will be displayed (inclusive).\n minZoom: 0,\n // @option maxZoom: Number = undefined\n // The maximum zoom level up to which this layer will be displayed (inclusive).\n maxZoom: undefined,\n // @option maxNativeZoom: Number = undefined\n // Maximum zoom number the tile source has available. If it is specified,\n // the tiles on all zoom levels higher than `maxNativeZoom` will be loaded\n // from `maxNativeZoom` level and auto-scaled.\n maxNativeZoom: undefined,\n // @option minNativeZoom: Number = undefined\n // Minimum zoom number the tile source has available. If it is specified,\n // the tiles on all zoom levels lower than `minNativeZoom` will be loaded\n // from `minNativeZoom` level and auto-scaled.\n minNativeZoom: undefined,\n // @option noWrap: Boolean = false\n // Whether the layer is wrapped around the antimeridian. If `true`, the\n // GridLayer will only be displayed once at low zoom levels. Has no\n // effect when the [map CRS](#map-crs) doesn't wrap around. Can be used\n // in combination with [`bounds`](#gridlayer-bounds) to prevent requesting\n // tiles outside the CRS limits.\n noWrap: false,\n // @option pane: String = 'tilePane'\n // `Map pane` where the grid layer will be added.\n pane: 'tilePane',\n // @option className: String = ''\n // A custom class name to assign to the tile layer. Empty by default.\n className: '',\n // @option keepBuffer: Number = 2\n // When panning the map, keep this many rows and columns of tiles before unloading them.\n keepBuffer: 2\n },\n initialize: function (options) {\n setOptions(this, options);\n },\n onAdd: function () {\n this._initContainer();\n this._levels = {};\n this._tiles = {};\n this._resetView(); // implicit _update() call\n },\n\n beforeAdd: function (map) {\n map._addZoomLimit(this);\n },\n onRemove: function (map) {\n this._removeAllTiles();\n remove(this._container);\n map._removeZoomLimit(this);\n this._container = null;\n this._tileZoom = undefined;\n },\n // @method bringToFront: this\n // Brings the tile layer to the top of all tile layers.\n bringToFront: function () {\n if (this._map) {\n toFront(this._container);\n this._setAutoZIndex(Math.max);\n }\n return this;\n },\n // @method bringToBack: this\n // Brings the tile layer to the bottom of all tile layers.\n bringToBack: function () {\n if (this._map) {\n toBack(this._container);\n this._setAutoZIndex(Math.min);\n }\n return this;\n },\n // @method getContainer: HTMLElement\n // Returns the HTML element that contains the tiles for this layer.\n getContainer: function () {\n return this._container;\n },\n // @method setOpacity(opacity: Number): this\n // Changes the [opacity](#gridlayer-opacity) of the grid layer.\n setOpacity: function (opacity) {\n this.options.opacity = opacity;\n this._updateOpacity();\n return this;\n },\n // @method setZIndex(zIndex: Number): this\n // Changes the [zIndex](#gridlayer-zindex) of the grid layer.\n setZIndex: function (zIndex) {\n this.options.zIndex = zIndex;\n this._updateZIndex();\n return this;\n },\n // @method isLoading: Boolean\n // Returns `true` if any tile in the grid layer has not finished loading.\n isLoading: function () {\n return this._loading;\n },\n // @method redraw: this\n // Causes the layer to clear all the tiles and request them again.\n redraw: function () {\n if (this._map) {\n this._removeAllTiles();\n var tileZoom = this._clampZoom(this._map.getZoom());\n if (tileZoom !== this._tileZoom) {\n this._tileZoom = tileZoom;\n this._updateLevels();\n }\n this._update();\n }\n return this;\n },\n getEvents: function () {\n var events = {\n viewprereset: this._invalidateAll,\n viewreset: this._resetView,\n zoom: this._resetView,\n moveend: this._onMoveEnd\n };\n if (!this.options.updateWhenIdle) {\n // update tiles on move, but not more often than once per given interval\n if (!this._onMove) {\n this._onMove = throttle(this._onMoveEnd, this.options.updateInterval, this);\n }\n events.move = this._onMove;\n }\n if (this._zoomAnimated) {\n events.zoomanim = this._animateZoom;\n }\n return events;\n },\n // @section Extension methods\n // Layers extending `GridLayer` shall reimplement the following method.\n // @method createTile(coords: Object, done?: Function): HTMLElement\n // Called only internally, must be overridden by classes extending `GridLayer`.\n // Returns the `HTMLElement` corresponding to the given `coords`. If the `done` callback\n // is specified, it must be called when the tile has finished loading and drawing.\n createTile: function () {\n return document.createElement('div');\n },\n // @section\n // @method getTileSize: Point\n // Normalizes the [tileSize option](#gridlayer-tilesize) into a point. Used by the `createTile()` method.\n getTileSize: function () {\n var s = this.options.tileSize;\n return s instanceof Point ? s : new Point(s, s);\n },\n _updateZIndex: function () {\n if (this._container && this.options.zIndex !== undefined && this.options.zIndex !== null) {\n this._container.style.zIndex = this.options.zIndex;\n }\n },\n _setAutoZIndex: function (compare) {\n // go through all other layers of the same pane, set zIndex to max + 1 (front) or min - 1 (back)\n\n var layers = this.getPane().children,\n edgeZIndex = -compare(-Infinity, Infinity); // -Infinity for max, Infinity for min\n\n for (var i = 0, len = layers.length, zIndex; i < len; i++) {\n zIndex = layers[i].style.zIndex;\n if (layers[i] !== this._container && zIndex) {\n edgeZIndex = compare(edgeZIndex, +zIndex);\n }\n }\n if (isFinite(edgeZIndex)) {\n this.options.zIndex = edgeZIndex + compare(-1, 1);\n this._updateZIndex();\n }\n },\n _updateOpacity: function () {\n if (!this._map) {\n return;\n }\n\n // IE doesn't inherit filter opacity properly, so we're forced to set it on tiles\n if (Browser.ielt9) {\n return;\n }\n setOpacity(this._container, this.options.opacity);\n var now = +new Date(),\n nextFrame = false,\n willPrune = false;\n for (var key in this._tiles) {\n var tile = this._tiles[key];\n if (!tile.current || !tile.loaded) {\n continue;\n }\n var fade = Math.min(1, (now - tile.loaded) / 200);\n setOpacity(tile.el, fade);\n if (fade < 1) {\n nextFrame = true;\n } else {\n if (tile.active) {\n willPrune = true;\n } else {\n this._onOpaqueTile(tile);\n }\n tile.active = true;\n }\n }\n if (willPrune && !this._noPrune) {\n this._pruneTiles();\n }\n if (nextFrame) {\n cancelAnimFrame(this._fadeFrame);\n this._fadeFrame = requestAnimFrame(this._updateOpacity, this);\n }\n },\n _onOpaqueTile: falseFn,\n _initContainer: function () {\n if (this._container) {\n return;\n }\n this._container = create$1('div', 'leaflet-layer ' + (this.options.className || ''));\n this._updateZIndex();\n if (this.options.opacity < 1) {\n this._updateOpacity();\n }\n this.getPane().appendChild(this._container);\n },\n _updateLevels: function () {\n var zoom = this._tileZoom,\n maxZoom = this.options.maxZoom;\n if (zoom === undefined) {\n return undefined;\n }\n for (var z in this._levels) {\n z = Number(z);\n if (this._levels[z].el.children.length || z === zoom) {\n this._levels[z].el.style.zIndex = maxZoom - Math.abs(zoom - z);\n this._onUpdateLevel(z);\n } else {\n remove(this._levels[z].el);\n this._removeTilesAtZoom(z);\n this._onRemoveLevel(z);\n delete this._levels[z];\n }\n }\n var level = this._levels[zoom],\n map = this._map;\n if (!level) {\n level = this._levels[zoom] = {};\n level.el = create$1('div', 'leaflet-tile-container leaflet-zoom-animated', this._container);\n level.el.style.zIndex = maxZoom;\n level.origin = map.project(map.unproject(map.getPixelOrigin()), zoom).round();\n level.zoom = zoom;\n this._setZoomTransform(level, map.getCenter(), map.getZoom());\n\n // force the browser to consider the newly added element for transition\n falseFn(level.el.offsetWidth);\n this._onCreateLevel(level);\n }\n this._level = level;\n return level;\n },\n _onUpdateLevel: falseFn,\n _onRemoveLevel: falseFn,\n _onCreateLevel: falseFn,\n _pruneTiles: function () {\n if (!this._map) {\n return;\n }\n var key, tile;\n var zoom = this._map.getZoom();\n if (zoom > this.options.maxZoom || zoom < this.options.minZoom) {\n this._removeAllTiles();\n return;\n }\n for (key in this._tiles) {\n tile = this._tiles[key];\n tile.retain = tile.current;\n }\n for (key in this._tiles) {\n tile = this._tiles[key];\n if (tile.current && !tile.active) {\n var coords = tile.coords;\n if (!this._retainParent(coords.x, coords.y, coords.z, coords.z - 5)) {\n this._retainChildren(coords.x, coords.y, coords.z, coords.z + 2);\n }\n }\n }\n for (key in this._tiles) {\n if (!this._tiles[key].retain) {\n this._removeTile(key);\n }\n }\n },\n _removeTilesAtZoom: function (zoom) {\n for (var key in this._tiles) {\n if (this._tiles[key].coords.z !== zoom) {\n continue;\n }\n this._removeTile(key);\n }\n },\n _removeAllTiles: function () {\n for (var key in this._tiles) {\n this._removeTile(key);\n }\n },\n _invalidateAll: function () {\n for (var z in this._levels) {\n remove(this._levels[z].el);\n this._onRemoveLevel(Number(z));\n delete this._levels[z];\n }\n this._removeAllTiles();\n this._tileZoom = undefined;\n },\n _retainParent: function (x, y, z, minZoom) {\n var x2 = Math.floor(x / 2),\n y2 = Math.floor(y / 2),\n z2 = z - 1,\n coords2 = new Point(+x2, +y2);\n coords2.z = +z2;\n var key = this._tileCoordsToKey(coords2),\n tile = this._tiles[key];\n if (tile && tile.active) {\n tile.retain = true;\n return true;\n } else if (tile && tile.loaded) {\n tile.retain = true;\n }\n if (z2 > minZoom) {\n return this._retainParent(x2, y2, z2, minZoom);\n }\n return false;\n },\n _retainChildren: function (x, y, z, maxZoom) {\n for (var i = 2 * x; i < 2 * x + 2; i++) {\n for (var j = 2 * y; j < 2 * y + 2; j++) {\n var coords = new Point(i, j);\n coords.z = z + 1;\n var key = this._tileCoordsToKey(coords),\n tile = this._tiles[key];\n if (tile && tile.active) {\n tile.retain = true;\n continue;\n } else if (tile && tile.loaded) {\n tile.retain = true;\n }\n if (z + 1 < maxZoom) {\n this._retainChildren(i, j, z + 1, maxZoom);\n }\n }\n }\n },\n _resetView: function (e) {\n var animating = e && (e.pinch || e.flyTo);\n this._setView(this._map.getCenter(), this._map.getZoom(), animating, animating);\n },\n _animateZoom: function (e) {\n this._setView(e.center, e.zoom, true, e.noUpdate);\n },\n _clampZoom: function (zoom) {\n var options = this.options;\n if (undefined !== options.minNativeZoom && zoom < options.minNativeZoom) {\n return options.minNativeZoom;\n }\n if (undefined !== options.maxNativeZoom && options.maxNativeZoom < zoom) {\n return options.maxNativeZoom;\n }\n return zoom;\n },\n _setView: function (center, zoom, noPrune, noUpdate) {\n var tileZoom = Math.round(zoom);\n if (this.options.maxZoom !== undefined && tileZoom > this.options.maxZoom || this.options.minZoom !== undefined && tileZoom < this.options.minZoom) {\n tileZoom = undefined;\n } else {\n tileZoom = this._clampZoom(tileZoom);\n }\n var tileZoomChanged = this.options.updateWhenZooming && tileZoom !== this._tileZoom;\n if (!noUpdate || tileZoomChanged) {\n this._tileZoom = tileZoom;\n if (this._abortLoading) {\n this._abortLoading();\n }\n this._updateLevels();\n this._resetGrid();\n if (tileZoom !== undefined) {\n this._update(center);\n }\n if (!noPrune) {\n this._pruneTiles();\n }\n\n // Flag to prevent _updateOpacity from pruning tiles during\n // a zoom anim or a pinch gesture\n this._noPrune = !!noPrune;\n }\n this._setZoomTransforms(center, zoom);\n },\n _setZoomTransforms: function (center, zoom) {\n for (var i in this._levels) {\n this._setZoomTransform(this._levels[i], center, zoom);\n }\n },\n _setZoomTransform: function (level, center, zoom) {\n var scale = this._map.getZoomScale(zoom, level.zoom),\n translate = level.origin.multiplyBy(scale).subtract(this._map._getNewPixelOrigin(center, zoom)).round();\n if (Browser.any3d) {\n setTransform(level.el, translate, scale);\n } else {\n setPosition(level.el, translate);\n }\n },\n _resetGrid: function () {\n var map = this._map,\n crs = map.options.crs,\n tileSize = this._tileSize = this.getTileSize(),\n tileZoom = this._tileZoom;\n var bounds = this._map.getPixelWorldBounds(this._tileZoom);\n if (bounds) {\n this._globalTileRange = this._pxBoundsToTileRange(bounds);\n }\n this._wrapX = crs.wrapLng && !this.options.noWrap && [Math.floor(map.project([0, crs.wrapLng[0]], tileZoom).x / tileSize.x), Math.ceil(map.project([0, crs.wrapLng[1]], tileZoom).x / tileSize.y)];\n this._wrapY = crs.wrapLat && !this.options.noWrap && [Math.floor(map.project([crs.wrapLat[0], 0], tileZoom).y / tileSize.x), Math.ceil(map.project([crs.wrapLat[1], 0], tileZoom).y / tileSize.y)];\n },\n _onMoveEnd: function () {\n if (!this._map || this._map._animatingZoom) {\n return;\n }\n this._update();\n },\n _getTiledPixelBounds: function (center) {\n var map = this._map,\n mapZoom = map._animatingZoom ? Math.max(map._animateToZoom, map.getZoom()) : map.getZoom(),\n scale = map.getZoomScale(mapZoom, this._tileZoom),\n pixelCenter = map.project(center, this._tileZoom).floor(),\n halfSize = map.getSize().divideBy(scale * 2);\n return new Bounds(pixelCenter.subtract(halfSize), pixelCenter.add(halfSize));\n },\n // Private method to load tiles in the grid's active zoom level according to map bounds\n _update: function (center) {\n var map = this._map;\n if (!map) {\n return;\n }\n var zoom = this._clampZoom(map.getZoom());\n if (center === undefined) {\n center = map.getCenter();\n }\n if (this._tileZoom === undefined) {\n return;\n } // if out of minzoom/maxzoom\n\n var pixelBounds = this._getTiledPixelBounds(center),\n tileRange = this._pxBoundsToTileRange(pixelBounds),\n tileCenter = tileRange.getCenter(),\n queue = [],\n margin = this.options.keepBuffer,\n noPruneRange = new Bounds(tileRange.getBottomLeft().subtract([margin, -margin]), tileRange.getTopRight().add([margin, -margin]));\n\n // Sanity check: panic if the tile range contains Infinity somewhere.\n if (!(isFinite(tileRange.min.x) && isFinite(tileRange.min.y) && isFinite(tileRange.max.x) && isFinite(tileRange.max.y))) {\n throw new Error('Attempted to load an infinite number of tiles');\n }\n for (var key in this._tiles) {\n var c = this._tiles[key].coords;\n if (c.z !== this._tileZoom || !noPruneRange.contains(new Point(c.x, c.y))) {\n this._tiles[key].current = false;\n }\n }\n\n // _update just loads more tiles. If the tile zoom level differs too much\n // from the map's, let _setView reset levels and prune old tiles.\n if (Math.abs(zoom - this._tileZoom) > 1) {\n this._setView(center, zoom);\n return;\n }\n\n // create a queue of coordinates to load tiles from\n for (var j = tileRange.min.y; j <= tileRange.max.y; j++) {\n for (var i = tileRange.min.x; i <= tileRange.max.x; i++) {\n var coords = new Point(i, j);\n coords.z = this._tileZoom;\n if (!this._isValidTile(coords)) {\n continue;\n }\n var tile = this._tiles[this._tileCoordsToKey(coords)];\n if (tile) {\n tile.current = true;\n } else {\n queue.push(coords);\n }\n }\n }\n\n // sort tile queue to load tiles in order of their distance to center\n queue.sort(function (a, b) {\n return a.distanceTo(tileCenter) - b.distanceTo(tileCenter);\n });\n if (queue.length !== 0) {\n // if it's the first batch of tiles to load\n if (!this._loading) {\n this._loading = true;\n // @event loading: Event\n // Fired when the grid layer starts loading tiles.\n this.fire('loading');\n }\n\n // create DOM fragment to append tiles in one batch\n var fragment = document.createDocumentFragment();\n for (i = 0; i < queue.length; i++) {\n this._addTile(queue[i], fragment);\n }\n this._level.el.appendChild(fragment);\n }\n },\n _isValidTile: function (coords) {\n var crs = this._map.options.crs;\n if (!crs.infinite) {\n // don't load tile if it's out of bounds and not wrapped\n var bounds = this._globalTileRange;\n if (!crs.wrapLng && (coords.x < bounds.min.x || coords.x > bounds.max.x) || !crs.wrapLat && (coords.y < bounds.min.y || coords.y > bounds.max.y)) {\n return false;\n }\n }\n if (!this.options.bounds) {\n return true;\n }\n\n // don't load tile if it doesn't intersect the bounds in options\n var tileBounds = this._tileCoordsToBounds(coords);\n return toLatLngBounds(this.options.bounds).overlaps(tileBounds);\n },\n _keyToBounds: function (key) {\n return this._tileCoordsToBounds(this._keyToTileCoords(key));\n },\n _tileCoordsToNwSe: function (coords) {\n var map = this._map,\n tileSize = this.getTileSize(),\n nwPoint = coords.scaleBy(tileSize),\n sePoint = nwPoint.add(tileSize),\n nw = map.unproject(nwPoint, coords.z),\n se = map.unproject(sePoint, coords.z);\n return [nw, se];\n },\n // converts tile coordinates to its geographical bounds\n _tileCoordsToBounds: function (coords) {\n var bp = this._tileCoordsToNwSe(coords),\n bounds = new LatLngBounds(bp[0], bp[1]);\n if (!this.options.noWrap) {\n bounds = this._map.wrapLatLngBounds(bounds);\n }\n return bounds;\n },\n // converts tile coordinates to key for the tile cache\n _tileCoordsToKey: function (coords) {\n return coords.x + ':' + coords.y + ':' + coords.z;\n },\n // converts tile cache key to coordinates\n _keyToTileCoords: function (key) {\n var k = key.split(':'),\n coords = new Point(+k[0], +k[1]);\n coords.z = +k[2];\n return coords;\n },\n _removeTile: function (key) {\n var tile = this._tiles[key];\n if (!tile) {\n return;\n }\n remove(tile.el);\n delete this._tiles[key];\n\n // @event tileunload: TileEvent\n // Fired when a tile is removed (e.g. when a tile goes off the screen).\n this.fire('tileunload', {\n tile: tile.el,\n coords: this._keyToTileCoords(key)\n });\n },\n _initTile: function (tile) {\n addClass(tile, 'leaflet-tile');\n var tileSize = this.getTileSize();\n tile.style.width = tileSize.x + 'px';\n tile.style.height = tileSize.y + 'px';\n tile.onselectstart = falseFn;\n tile.onmousemove = falseFn;\n\n // update opacity on tiles in IE7-8 because of filter inheritance problems\n if (Browser.ielt9 && this.options.opacity < 1) {\n setOpacity(tile, this.options.opacity);\n }\n },\n _addTile: function (coords, container) {\n var tilePos = this._getTilePos(coords),\n key = this._tileCoordsToKey(coords);\n var tile = this.createTile(this._wrapCoords(coords), bind(this._tileReady, this, coords));\n this._initTile(tile);\n\n // if createTile is defined with a second argument (\"done\" callback),\n // we know that tile is async and will be ready later; otherwise\n if (this.createTile.length < 2) {\n // mark tile as ready, but delay one frame for opacity animation to happen\n requestAnimFrame(bind(this._tileReady, this, coords, null, tile));\n }\n setPosition(tile, tilePos);\n\n // save tile in cache\n this._tiles[key] = {\n el: tile,\n coords: coords,\n current: true\n };\n container.appendChild(tile);\n // @event tileloadstart: TileEvent\n // Fired when a tile is requested and starts loading.\n this.fire('tileloadstart', {\n tile: tile,\n coords: coords\n });\n },\n _tileReady: function (coords, err, tile) {\n if (err) {\n // @event tileerror: TileErrorEvent\n // Fired when there is an error loading a tile.\n this.fire('tileerror', {\n error: err,\n tile: tile,\n coords: coords\n });\n }\n var key = this._tileCoordsToKey(coords);\n tile = this._tiles[key];\n if (!tile) {\n return;\n }\n tile.loaded = +new Date();\n if (this._map._fadeAnimated) {\n setOpacity(tile.el, 0);\n cancelAnimFrame(this._fadeFrame);\n this._fadeFrame = requestAnimFrame(this._updateOpacity, this);\n } else {\n tile.active = true;\n this._pruneTiles();\n }\n if (!err) {\n addClass(tile.el, 'leaflet-tile-loaded');\n\n // @event tileload: TileEvent\n // Fired when a tile loads.\n this.fire('tileload', {\n tile: tile.el,\n coords: coords\n });\n }\n if (this._noTilesToLoad()) {\n this._loading = false;\n // @event load: Event\n // Fired when the grid layer loaded all visible tiles.\n this.fire('load');\n if (Browser.ielt9 || !this._map._fadeAnimated) {\n requestAnimFrame(this._pruneTiles, this);\n } else {\n // Wait a bit more than 0.2 secs (the duration of the tile fade-in)\n // to trigger a pruning.\n setTimeout(bind(this._pruneTiles, this), 250);\n }\n }\n },\n _getTilePos: function (coords) {\n return coords.scaleBy(this.getTileSize()).subtract(this._level.origin);\n },\n _wrapCoords: function (coords) {\n var newCoords = new Point(this._wrapX ? wrapNum(coords.x, this._wrapX) : coords.x, this._wrapY ? wrapNum(coords.y, this._wrapY) : coords.y);\n newCoords.z = coords.z;\n return newCoords;\n },\n _pxBoundsToTileRange: function (bounds) {\n var tileSize = this.getTileSize();\n return new Bounds(bounds.min.unscaleBy(tileSize).floor(), bounds.max.unscaleBy(tileSize).ceil().subtract([1, 1]));\n },\n _noTilesToLoad: function () {\n for (var key in this._tiles) {\n if (!this._tiles[key].loaded) {\n return false;\n }\n }\n return true;\n }\n });\n\n // @factory L.gridLayer(options?: GridLayer options)\n // Creates a new instance of GridLayer with the supplied options.\n function gridLayer(options) {\n return new GridLayer(options);\n }\n\n /*\r\n * @class TileLayer\r\n * @inherits GridLayer\r\n * @aka L.TileLayer\r\n * Used to load and display tile layers on the map. Note that most tile servers require attribution, which you can set under `Layer`. Extends `GridLayer`.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png?{foo}', {foo: 'bar', attribution: '© <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors'}).addTo(map);\n * ```\r\n *\r\n * @section URL template\r\n * @example\r\n *\r\n * A string of the following form:\r\n *\r\n * ```\r\n * 'https://{s}.somedomain.com/blabla/{z}/{x}/{y}{r}.png'\r\n * ```\r\n *\r\n * `{s}` means one of the available subdomains (used sequentially to help with browser parallel requests per domain limitation; subdomain values are specified in options; `a`, `b` or `c` by default, can be omitted), `{z}` â zoom level, `{x}` and `{y}` â tile coordinates. `{r}` can be used to add \"@2x\" to the URL to load retina tiles.\r\n *\r\n * You can use custom keys in the template, which will be [evaluated](#util-template) from TileLayer options, like this:\r\n *\r\n * ```\r\n * L.tileLayer('https://{s}.somedomain.com/{foo}/{z}/{x}/{y}.png', {foo: 'bar'});\r\n * ```\r\n */\n\n var TileLayer = GridLayer.extend({\n // @section\n // @aka TileLayer options\n options: {\n // @option minZoom: Number = 0\n // The minimum zoom level down to which this layer will be displayed (inclusive).\n minZoom: 0,\n // @option maxZoom: Number = 18\n // The maximum zoom level up to which this layer will be displayed (inclusive).\n maxZoom: 18,\n // @option subdomains: String|String[] = 'abc'\n // Subdomains of the tile service. Can be passed in the form of one string (where each letter is a subdomain name) or an array of strings.\n subdomains: 'abc',\n // @option errorTileUrl: String = ''\n // URL to the tile image to show in place of the tile that failed to load.\n errorTileUrl: '',\n // @option zoomOffset: Number = 0\n // The zoom number used in tile URLs will be offset with this value.\n zoomOffset: 0,\n // @option tms: Boolean = false\n // If `true`, inverses Y axis numbering for tiles (turn this on for [TMS](https://en.wikipedia.org/wiki/Tile_Map_Service) services).\n tms: false,\n // @option zoomReverse: Boolean = false\n // If set to true, the zoom number used in tile URLs will be reversed (`maxZoom - zoom` instead of `zoom`)\n zoomReverse: false,\n // @option detectRetina: Boolean = false\n // If `true` and user is on a retina display, it will request four tiles of half the specified size and a bigger zoom level in place of one to utilize the high resolution.\n detectRetina: false,\n // @option crossOrigin: Boolean|String = false\n // Whether the crossOrigin attribute will be added to the tiles.\n // If a String is provided, all tiles will have their crossOrigin attribute set to the String provided. This is needed if you want to access tile pixel data.\n // Refer to [CORS Settings](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for valid String values.\n crossOrigin: false,\n // @option referrerPolicy: Boolean|String = false\n // Whether the referrerPolicy attribute will be added to the tiles.\n // If a String is provided, all tiles will have their referrerPolicy attribute set to the String provided.\n // This may be needed if your map's rendering context has a strict default but your tile provider expects a valid referrer\n // (e.g. to validate an API token).\n // Refer to [HTMLImageElement.referrerPolicy](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/referrerPolicy) for valid String values.\n referrerPolicy: false\n },\n initialize: function (url, options) {\n this._url = url;\n options = setOptions(this, options);\n\n // detecting retina displays, adjusting tileSize and zoom levels\n if (options.detectRetina && Browser.retina && options.maxZoom > 0) {\n options.tileSize = Math.floor(options.tileSize / 2);\n if (!options.zoomReverse) {\n options.zoomOffset++;\n options.maxZoom = Math.max(options.minZoom, options.maxZoom - 1);\n } else {\n options.zoomOffset--;\n options.minZoom = Math.min(options.maxZoom, options.minZoom + 1);\n }\n options.minZoom = Math.max(0, options.minZoom);\n } else if (!options.zoomReverse) {\n // make sure maxZoom is gte minZoom\n options.maxZoom = Math.max(options.minZoom, options.maxZoom);\n } else {\n // make sure minZoom is lte maxZoom\n options.minZoom = Math.min(options.maxZoom, options.minZoom);\n }\n if (typeof options.subdomains === 'string') {\n options.subdomains = options.subdomains.split('');\n }\n this.on('tileunload', this._onTileRemove);\n },\n // @method setUrl(url: String, noRedraw?: Boolean): this\n // Updates the layer's URL template and redraws it (unless `noRedraw` is set to `true`).\n // If the URL does not change, the layer will not be redrawn unless\n // the noRedraw parameter is set to false.\n setUrl: function (url, noRedraw) {\n if (this._url === url && noRedraw === undefined) {\n noRedraw = true;\n }\n this._url = url;\n if (!noRedraw) {\n this.redraw();\n }\n return this;\n },\n // @method createTile(coords: Object, done?: Function): HTMLElement\n // Called only internally, overrides GridLayer's [`createTile()`](#gridlayer-createtile)\n // to return an `<img>` HTML element with the appropriate image URL given `coords`. The `done`\n // callback is called when the tile has been loaded.\n createTile: function (coords, done) {\n var tile = document.createElement('img');\n on(tile, 'load', bind(this._tileOnLoad, this, done, tile));\n on(tile, 'error', bind(this._tileOnError, this, done, tile));\n if (this.options.crossOrigin || this.options.crossOrigin === '') {\n tile.crossOrigin = this.options.crossOrigin === true ? '' : this.options.crossOrigin;\n }\n\n // for this new option we follow the documented behavior\n // more closely by only setting the property when string\n if (typeof this.options.referrerPolicy === 'string') {\n tile.referrerPolicy = this.options.referrerPolicy;\n }\n\n // The alt attribute is set to the empty string,\n // allowing screen readers to ignore the decorative image tiles.\n // https://www.w3.org/WAI/tutorials/images/decorative/\n // https://www.w3.org/TR/html-aria/#el-img-empty-alt\n tile.alt = '';\n tile.src = this.getTileUrl(coords);\n return tile;\n },\n // @section Extension methods\n // @uninheritable\n // Layers extending `TileLayer` might reimplement the following method.\n // @method getTileUrl(coords: Object): String\n // Called only internally, returns the URL for a tile given its coordinates.\n // Classes extending `TileLayer` can override this function to provide custom tile URL naming schemes.\n getTileUrl: function (coords) {\n var data = {\n r: Browser.retina ? '@2x' : '',\n s: this._getSubdomain(coords),\n x: coords.x,\n y: coords.y,\n z: this._getZoomForUrl()\n };\n if (this._map && !this._map.options.crs.infinite) {\n var invertedY = this._globalTileRange.max.y - coords.y;\n if (this.options.tms) {\n data['y'] = invertedY;\n }\n data['-y'] = invertedY;\n }\n return template(this._url, extend(data, this.options));\n },\n _tileOnLoad: function (done, tile) {\n // For https://github.com/Leaflet/Leaflet/issues/3332\n if (Browser.ielt9) {\n setTimeout(bind(done, this, null, tile), 0);\n } else {\n done(null, tile);\n }\n },\n _tileOnError: function (done, tile, e) {\n var errorUrl = this.options.errorTileUrl;\n if (errorUrl && tile.getAttribute('src') !== errorUrl) {\n tile.src = errorUrl;\n }\n done(e, tile);\n },\n _onTileRemove: function (e) {\n e.tile.onload = null;\n },\n _getZoomForUrl: function () {\n var zoom = this._tileZoom,\n maxZoom = this.options.maxZoom,\n zoomReverse = this.options.zoomReverse,\n zoomOffset = this.options.zoomOffset;\n if (zoomReverse) {\n zoom = maxZoom - zoom;\n }\n return zoom + zoomOffset;\n },\n _getSubdomain: function (tilePoint) {\n var index = Math.abs(tilePoint.x + tilePoint.y) % this.options.subdomains.length;\n return this.options.subdomains[index];\n },\n // stops loading all tiles in the background layer\n _abortLoading: function () {\n var i, tile;\n for (i in this._tiles) {\n if (this._tiles[i].coords.z !== this._tileZoom) {\n tile = this._tiles[i].el;\n tile.onload = falseFn;\n tile.onerror = falseFn;\n if (!tile.complete) {\n tile.src = emptyImageUrl;\n var coords = this._tiles[i].coords;\n remove(tile);\n delete this._tiles[i];\n // @event tileabort: TileEvent\n // Fired when a tile was loading but is now not wanted.\n this.fire('tileabort', {\n tile: tile,\n coords: coords\n });\n }\n }\n }\n },\n _removeTile: function (key) {\n var tile = this._tiles[key];\n if (!tile) {\n return;\n }\n\n // Cancels any pending http requests associated with the tile\n tile.el.setAttribute('src', emptyImageUrl);\n return GridLayer.prototype._removeTile.call(this, key);\n },\n _tileReady: function (coords, err, tile) {\n if (!this._map || tile && tile.getAttribute('src') === emptyImageUrl) {\n return;\n }\n return GridLayer.prototype._tileReady.call(this, coords, err, tile);\n }\n });\n\n // @factory L.tilelayer(urlTemplate: String, options?: TileLayer options)\n // Instantiates a tile layer object given a `URL template` and optionally an options object.\n\n function tileLayer(url, options) {\n return new TileLayer(url, options);\n }\n\n /*\r\n * @class TileLayer.WMS\r\n * @inherits TileLayer\r\n * @aka L.TileLayer.WMS\r\n * Used to display [WMS](https://en.wikipedia.org/wiki/Web_Map_Service) services as tile layers on the map. Extends `TileLayer`.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var nexrad = L.tileLayer.wms(\"http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi\", {\r\n * \tlayers: 'nexrad-n0r-900913',\r\n * \tformat: 'image/png',\r\n * \ttransparent: true,\r\n * \tattribution: \"Weather data © 2012 IEM Nexrad\"\r\n * });\r\n * ```\r\n */\n\n var TileLayerWMS = TileLayer.extend({\n // @section\n // @aka TileLayer.WMS options\n // If any custom options not documented here are used, they will be sent to the\n // WMS server as extra parameters in each request URL. This can be useful for\n // [non-standard vendor WMS parameters](https://docs.geoserver.org/stable/en/user/services/wms/vendor.html).\n defaultWmsParams: {\n service: 'WMS',\n request: 'GetMap',\n // @option layers: String = ''\n // **(required)** Comma-separated list of WMS layers to show.\n layers: '',\n // @option styles: String = ''\n // Comma-separated list of WMS styles.\n styles: '',\n // @option format: String = 'image/jpeg'\n // WMS image format (use `'image/png'` for layers with transparency).\n format: 'image/jpeg',\n // @option transparent: Boolean = false\n // If `true`, the WMS service will return images with transparency.\n transparent: false,\n // @option version: String = '1.1.1'\n // Version of the WMS service to use\n version: '1.1.1'\n },\n options: {\n // @option crs: CRS = null\n // Coordinate Reference System to use for the WMS requests, defaults to\n // map CRS. Don't change this if you're not sure what it means.\n crs: null,\n // @option uppercase: Boolean = false\n // If `true`, WMS request parameter keys will be uppercase.\n uppercase: false\n },\n initialize: function (url, options) {\n this._url = url;\n var wmsParams = extend({}, this.defaultWmsParams);\n\n // all keys that are not TileLayer options go to WMS params\n for (var i in options) {\n if (!(i in this.options)) {\n wmsParams[i] = options[i];\n }\n }\n options = setOptions(this, options);\n var realRetina = options.detectRetina && Browser.retina ? 2 : 1;\n var tileSize = this.getTileSize();\n wmsParams.width = tileSize.x * realRetina;\n wmsParams.height = tileSize.y * realRetina;\n this.wmsParams = wmsParams;\n },\n onAdd: function (map) {\n this._crs = this.options.crs || map.options.crs;\n this._wmsVersion = parseFloat(this.wmsParams.version);\n var projectionKey = this._wmsVersion >= 1.3 ? 'crs' : 'srs';\n this.wmsParams[projectionKey] = this._crs.code;\n TileLayer.prototype.onAdd.call(this, map);\n },\n getTileUrl: function (coords) {\n var tileBounds = this._tileCoordsToNwSe(coords),\n crs = this._crs,\n bounds = toBounds(crs.project(tileBounds[0]), crs.project(tileBounds[1])),\n min = bounds.min,\n max = bounds.max,\n bbox = (this._wmsVersion >= 1.3 && this._crs === EPSG4326 ? [min.y, min.x, max.y, max.x] : [min.x, min.y, max.x, max.y]).join(','),\n url = TileLayer.prototype.getTileUrl.call(this, coords);\n return url + getParamString(this.wmsParams, url, this.options.uppercase) + (this.options.uppercase ? '&BBOX=' : '&bbox=') + bbox;\n },\n // @method setParams(params: Object, noRedraw?: Boolean): this\n // Merges an object with the new parameters and re-requests tiles on the current screen (unless `noRedraw` was set to true).\n setParams: function (params, noRedraw) {\n extend(this.wmsParams, params);\n if (!noRedraw) {\n this.redraw();\n }\n return this;\n }\n });\n\n // @factory L.tileLayer.wms(baseUrl: String, options: TileLayer.WMS options)\n // Instantiates a WMS tile layer object given a base URL of the WMS service and a WMS parameters/options object.\n function tileLayerWMS(url, options) {\n return new TileLayerWMS(url, options);\n }\n TileLayer.WMS = TileLayerWMS;\n tileLayer.wms = tileLayerWMS;\n\n /*\n * @class Renderer\n * @inherits Layer\n * @aka L.Renderer\n *\n * Base class for vector renderer implementations (`SVG`, `Canvas`). Handles the\n * DOM container of the renderer, its bounds, and its zoom animation.\n *\n * A `Renderer` works as an implicit layer group for all `Path`s - the renderer\n * itself can be added or removed to the map. All paths use a renderer, which can\n * be implicit (the map will decide the type of renderer and use it automatically)\n * or explicit (using the [`renderer`](#path-renderer) option of the path).\n *\n * Do not use this class directly, use `SVG` and `Canvas` instead.\n *\n * @event update: Event\n * Fired when the renderer updates its bounds, center and zoom, for example when\n * its map has moved\n */\n\n var Renderer = Layer.extend({\n // @section\n // @aka Renderer options\n options: {\n // @option padding: Number = 0.1\n // How much to extend the clip area around the map view (relative to its size)\n // e.g. 0.1 would be 10% of map view in each direction\n padding: 0.1\n },\n initialize: function (options) {\n setOptions(this, options);\n stamp(this);\n this._layers = this._layers || {};\n },\n onAdd: function () {\n if (!this._container) {\n this._initContainer(); // defined by renderer implementations\n\n // always keep transform-origin as 0 0\n addClass(this._container, 'leaflet-zoom-animated');\n }\n this.getPane().appendChild(this._container);\n this._update();\n this.on('update', this._updatePaths, this);\n },\n onRemove: function () {\n this.off('update', this._updatePaths, this);\n this._destroyContainer();\n },\n getEvents: function () {\n var events = {\n viewreset: this._reset,\n zoom: this._onZoom,\n moveend: this._update,\n zoomend: this._onZoomEnd\n };\n if (this._zoomAnimated) {\n events.zoomanim = this._onAnimZoom;\n }\n return events;\n },\n _onAnimZoom: function (ev) {\n this._updateTransform(ev.center, ev.zoom);\n },\n _onZoom: function () {\n this._updateTransform(this._map.getCenter(), this._map.getZoom());\n },\n _updateTransform: function (center, zoom) {\n var scale = this._map.getZoomScale(zoom, this._zoom),\n viewHalf = this._map.getSize().multiplyBy(0.5 + this.options.padding),\n currentCenterPoint = this._map.project(this._center, zoom),\n topLeftOffset = viewHalf.multiplyBy(-scale).add(currentCenterPoint).subtract(this._map._getNewPixelOrigin(center, zoom));\n if (Browser.any3d) {\n setTransform(this._container, topLeftOffset, scale);\n } else {\n setPosition(this._container, topLeftOffset);\n }\n },\n _reset: function () {\n this._update();\n this._updateTransform(this._center, this._zoom);\n for (var id in this._layers) {\n this._layers[id]._reset();\n }\n },\n _onZoomEnd: function () {\n for (var id in this._layers) {\n this._layers[id]._project();\n }\n },\n _updatePaths: function () {\n for (var id in this._layers) {\n this._layers[id]._update();\n }\n },\n _update: function () {\n // Update pixel bounds of renderer container (for positioning/sizing/clipping later)\n // Subclasses are responsible of firing the 'update' event.\n var p = this.options.padding,\n size = this._map.getSize(),\n min = this._map.containerPointToLayerPoint(size.multiplyBy(-p)).round();\n this._bounds = new Bounds(min, min.add(size.multiplyBy(1 + p * 2)).round());\n this._center = this._map.getCenter();\n this._zoom = this._map.getZoom();\n }\n });\n\n /*\n * @class Canvas\n * @inherits Renderer\n * @aka L.Canvas\n *\n * Allows vector layers to be displayed with [`<canvas>`](https://developer.mozilla.org/docs/Web/API/Canvas_API).\n * Inherits `Renderer`.\n *\n * Due to [technical limitations](https://caniuse.com/canvas), Canvas is not\n * available in all web browsers, notably IE8, and overlapping geometries might\n * not display properly in some edge cases.\n *\n * @example\n *\n * Use Canvas by default for all paths in the map:\n *\n * ```js\n * var map = L.map('map', {\n * \trenderer: L.canvas()\n * });\n * ```\n *\n * Use a Canvas renderer with extra padding for specific vector geometries:\n *\n * ```js\n * var map = L.map('map');\n * var myRenderer = L.canvas({ padding: 0.5 });\n * var line = L.polyline( coordinates, { renderer: myRenderer } );\n * var circle = L.circle( center, { renderer: myRenderer } );\n * ```\n */\n\n var Canvas = Renderer.extend({\n // @section\n // @aka Canvas options\n options: {\n // @option tolerance: Number = 0\n // How much to extend the click tolerance around a path/object on the map.\n tolerance: 0\n },\n getEvents: function () {\n var events = Renderer.prototype.getEvents.call(this);\n events.viewprereset = this._onViewPreReset;\n return events;\n },\n _onViewPreReset: function () {\n // Set a flag so that a viewprereset+moveend+viewreset only updates&redraws once\n this._postponeUpdatePaths = true;\n },\n onAdd: function () {\n Renderer.prototype.onAdd.call(this);\n\n // Redraw vectors since canvas is cleared upon removal,\n // in case of removing the renderer itself from the map.\n this._draw();\n },\n _initContainer: function () {\n var container = this._container = document.createElement('canvas');\n on(container, 'mousemove', this._onMouseMove, this);\n on(container, 'click dblclick mousedown mouseup contextmenu', this._onClick, this);\n on(container, 'mouseout', this._handleMouseOut, this);\n container['_leaflet_disable_events'] = true;\n this._ctx = container.getContext('2d');\n },\n _destroyContainer: function () {\n cancelAnimFrame(this._redrawRequest);\n delete this._ctx;\n remove(this._container);\n off(this._container);\n delete this._container;\n },\n _updatePaths: function () {\n if (this._postponeUpdatePaths) {\n return;\n }\n var layer;\n this._redrawBounds = null;\n for (var id in this._layers) {\n layer = this._layers[id];\n layer._update();\n }\n this._redraw();\n },\n _update: function () {\n if (this._map._animatingZoom && this._bounds) {\n return;\n }\n Renderer.prototype._update.call(this);\n var b = this._bounds,\n container = this._container,\n size = b.getSize(),\n m = Browser.retina ? 2 : 1;\n setPosition(container, b.min);\n\n // set canvas size (also clearing it); use double size on retina\n container.width = m * size.x;\n container.height = m * size.y;\n container.style.width = size.x + 'px';\n container.style.height = size.y + 'px';\n if (Browser.retina) {\n this._ctx.scale(2, 2);\n }\n\n // translate so we use the same path coordinates after canvas element moves\n this._ctx.translate(-b.min.x, -b.min.y);\n\n // Tell paths to redraw themselves\n this.fire('update');\n },\n _reset: function () {\n Renderer.prototype._reset.call(this);\n if (this._postponeUpdatePaths) {\n this._postponeUpdatePaths = false;\n this._updatePaths();\n }\n },\n _initPath: function (layer) {\n this._updateDashArray(layer);\n this._layers[stamp(layer)] = layer;\n var order = layer._order = {\n layer: layer,\n prev: this._drawLast,\n next: null\n };\n if (this._drawLast) {\n this._drawLast.next = order;\n }\n this._drawLast = order;\n this._drawFirst = this._drawFirst || this._drawLast;\n },\n _addPath: function (layer) {\n this._requestRedraw(layer);\n },\n _removePath: function (layer) {\n var order = layer._order;\n var next = order.next;\n var prev = order.prev;\n if (next) {\n next.prev = prev;\n } else {\n this._drawLast = prev;\n }\n if (prev) {\n prev.next = next;\n } else {\n this._drawFirst = next;\n }\n delete layer._order;\n delete this._layers[stamp(layer)];\n this._requestRedraw(layer);\n },\n _updatePath: function (layer) {\n // Redraw the union of the layer's old pixel\n // bounds and the new pixel bounds.\n this._extendRedrawBounds(layer);\n layer._project();\n layer._update();\n // The redraw will extend the redraw bounds\n // with the new pixel bounds.\n this._requestRedraw(layer);\n },\n _updateStyle: function (layer) {\n this._updateDashArray(layer);\n this._requestRedraw(layer);\n },\n _updateDashArray: function (layer) {\n if (typeof layer.options.dashArray === 'string') {\n var parts = layer.options.dashArray.split(/[, ]+/),\n dashArray = [],\n dashValue,\n i;\n for (i = 0; i < parts.length; i++) {\n dashValue = Number(parts[i]);\n // Ignore dash array containing invalid lengths\n if (isNaN(dashValue)) {\n return;\n }\n dashArray.push(dashValue);\n }\n layer.options._dashArray = dashArray;\n } else {\n layer.options._dashArray = layer.options.dashArray;\n }\n },\n _requestRedraw: function (layer) {\n if (!this._map) {\n return;\n }\n this._extendRedrawBounds(layer);\n this._redrawRequest = this._redrawRequest || requestAnimFrame(this._redraw, this);\n },\n _extendRedrawBounds: function (layer) {\n if (layer._pxBounds) {\n var padding = (layer.options.weight || 0) + 1;\n this._redrawBounds = this._redrawBounds || new Bounds();\n this._redrawBounds.extend(layer._pxBounds.min.subtract([padding, padding]));\n this._redrawBounds.extend(layer._pxBounds.max.add([padding, padding]));\n }\n },\n _redraw: function () {\n this._redrawRequest = null;\n if (this._redrawBounds) {\n this._redrawBounds.min._floor();\n this._redrawBounds.max._ceil();\n }\n this._clear(); // clear layers in redraw bounds\n this._draw(); // draw layers\n\n this._redrawBounds = null;\n },\n _clear: function () {\n var bounds = this._redrawBounds;\n if (bounds) {\n var size = bounds.getSize();\n this._ctx.clearRect(bounds.min.x, bounds.min.y, size.x, size.y);\n } else {\n this._ctx.save();\n this._ctx.setTransform(1, 0, 0, 1, 0, 0);\n this._ctx.clearRect(0, 0, this._container.width, this._container.height);\n this._ctx.restore();\n }\n },\n _draw: function () {\n var layer,\n bounds = this._redrawBounds;\n this._ctx.save();\n if (bounds) {\n var size = bounds.getSize();\n this._ctx.beginPath();\n this._ctx.rect(bounds.min.x, bounds.min.y, size.x, size.y);\n this._ctx.clip();\n }\n this._drawing = true;\n for (var order = this._drawFirst; order; order = order.next) {\n layer = order.layer;\n if (!bounds || layer._pxBounds && layer._pxBounds.intersects(bounds)) {\n layer._updatePath();\n }\n }\n this._drawing = false;\n this._ctx.restore(); // Restore state before clipping.\n },\n\n _updatePoly: function (layer, closed) {\n if (!this._drawing) {\n return;\n }\n var i,\n j,\n len2,\n p,\n parts = layer._parts,\n len = parts.length,\n ctx = this._ctx;\n if (!len) {\n return;\n }\n ctx.beginPath();\n for (i = 0; i < len; i++) {\n for (j = 0, len2 = parts[i].length; j < len2; j++) {\n p = parts[i][j];\n ctx[j ? 'lineTo' : 'moveTo'](p.x, p.y);\n }\n if (closed) {\n ctx.closePath();\n }\n }\n this._fillStroke(ctx, layer);\n\n // TODO optimization: 1 fill/stroke for all features with equal style instead of 1 for each feature\n },\n\n _updateCircle: function (layer) {\n if (!this._drawing || layer._empty()) {\n return;\n }\n var p = layer._point,\n ctx = this._ctx,\n r = Math.max(Math.round(layer._radius), 1),\n s = (Math.max(Math.round(layer._radiusY), 1) || r) / r;\n if (s !== 1) {\n ctx.save();\n ctx.scale(1, s);\n }\n ctx.beginPath();\n ctx.arc(p.x, p.y / s, r, 0, Math.PI * 2, false);\n if (s !== 1) {\n ctx.restore();\n }\n this._fillStroke(ctx, layer);\n },\n _fillStroke: function (ctx, layer) {\n var options = layer.options;\n if (options.fill) {\n ctx.globalAlpha = options.fillOpacity;\n ctx.fillStyle = options.fillColor || options.color;\n ctx.fill(options.fillRule || 'evenodd');\n }\n if (options.stroke && options.weight !== 0) {\n if (ctx.setLineDash) {\n ctx.setLineDash(layer.options && layer.options._dashArray || []);\n }\n ctx.globalAlpha = options.opacity;\n ctx.lineWidth = options.weight;\n ctx.strokeStyle = options.color;\n ctx.lineCap = options.lineCap;\n ctx.lineJoin = options.lineJoin;\n ctx.stroke();\n }\n },\n // Canvas obviously doesn't have mouse events for individual drawn objects,\n // so we emulate that by calculating what's under the mouse on mousemove/click manually\n\n _onClick: function (e) {\n var point = this._map.mouseEventToLayerPoint(e),\n layer,\n clickedLayer;\n for (var order = this._drawFirst; order; order = order.next) {\n layer = order.layer;\n if (layer.options.interactive && layer._containsPoint(point)) {\n if (!(e.type === 'click' || e.type === 'preclick') || !this._map._draggableMoved(layer)) {\n clickedLayer = layer;\n }\n }\n }\n this._fireEvent(clickedLayer ? [clickedLayer] : false, e);\n },\n _onMouseMove: function (e) {\n if (!this._map || this._map.dragging.moving() || this._map._animatingZoom) {\n return;\n }\n var point = this._map.mouseEventToLayerPoint(e);\n this._handleMouseHover(e, point);\n },\n _handleMouseOut: function (e) {\n var layer = this._hoveredLayer;\n if (layer) {\n // if we're leaving the layer, fire mouseout\n removeClass(this._container, 'leaflet-interactive');\n this._fireEvent([layer], e, 'mouseout');\n this._hoveredLayer = null;\n this._mouseHoverThrottled = false;\n }\n },\n _handleMouseHover: function (e, point) {\n if (this._mouseHoverThrottled) {\n return;\n }\n var layer, candidateHoveredLayer;\n for (var order = this._drawFirst; order; order = order.next) {\n layer = order.layer;\n if (layer.options.interactive && layer._containsPoint(point)) {\n candidateHoveredLayer = layer;\n }\n }\n if (candidateHoveredLayer !== this._hoveredLayer) {\n this._handleMouseOut(e);\n if (candidateHoveredLayer) {\n addClass(this._container, 'leaflet-interactive'); // change cursor\n this._fireEvent([candidateHoveredLayer], e, 'mouseover');\n this._hoveredLayer = candidateHoveredLayer;\n }\n }\n this._fireEvent(this._hoveredLayer ? [this._hoveredLayer] : false, e);\n this._mouseHoverThrottled = true;\n setTimeout(bind(function () {\n this._mouseHoverThrottled = false;\n }, this), 32);\n },\n _fireEvent: function (layers, e, type) {\n this._map._fireDOMEvent(e, type || e.type, layers);\n },\n _bringToFront: function (layer) {\n var order = layer._order;\n if (!order) {\n return;\n }\n var next = order.next;\n var prev = order.prev;\n if (next) {\n next.prev = prev;\n } else {\n // Already last\n return;\n }\n if (prev) {\n prev.next = next;\n } else if (next) {\n // Update first entry unless this is the\n // single entry\n this._drawFirst = next;\n }\n order.prev = this._drawLast;\n this._drawLast.next = order;\n order.next = null;\n this._drawLast = order;\n this._requestRedraw(layer);\n },\n _bringToBack: function (layer) {\n var order = layer._order;\n if (!order) {\n return;\n }\n var next = order.next;\n var prev = order.prev;\n if (prev) {\n prev.next = next;\n } else {\n // Already first\n return;\n }\n if (next) {\n next.prev = prev;\n } else if (prev) {\n // Update last entry unless this is the\n // single entry\n this._drawLast = prev;\n }\n order.prev = null;\n order.next = this._drawFirst;\n this._drawFirst.prev = order;\n this._drawFirst = order;\n this._requestRedraw(layer);\n }\n });\n\n // @factory L.canvas(options?: Renderer options)\n // Creates a Canvas renderer with the given options.\n function canvas(options) {\n return Browser.canvas ? new Canvas(options) : null;\n }\n\n /*\n * Thanks to Dmitry Baranovsky and his Raphael library for inspiration!\n */\n\n var vmlCreate = function () {\n try {\n document.namespaces.add('lvml', 'urn:schemas-microsoft-com:vml');\n return function (name) {\n return document.createElement('<lvml:' + name + ' class=\"lvml\">');\n };\n } catch (e) {\n // Do not return fn from catch block so `e` can be garbage collected\n // See https://github.com/Leaflet/Leaflet/pull/7279\n }\n return function (name) {\n return document.createElement('<' + name + ' xmlns=\"urn:schemas-microsoft.com:vml\" class=\"lvml\">');\n };\n }();\n\n /*\n * @class SVG\n *\n *\n * VML was deprecated in 2012, which means VML functionality exists only for backwards compatibility\n * with old versions of Internet Explorer.\n */\n\n // mixin to redefine some SVG methods to handle VML syntax which is similar but with some differences\n var vmlMixin = {\n _initContainer: function () {\n this._container = create$1('div', 'leaflet-vml-container');\n },\n _update: function () {\n if (this._map._animatingZoom) {\n return;\n }\n Renderer.prototype._update.call(this);\n this.fire('update');\n },\n _initPath: function (layer) {\n var container = layer._container = vmlCreate('shape');\n addClass(container, 'leaflet-vml-shape ' + (this.options.className || ''));\n container.coordsize = '1 1';\n layer._path = vmlCreate('path');\n container.appendChild(layer._path);\n this._updateStyle(layer);\n this._layers[stamp(layer)] = layer;\n },\n _addPath: function (layer) {\n var container = layer._container;\n this._container.appendChild(container);\n if (layer.options.interactive) {\n layer.addInteractiveTarget(container);\n }\n },\n _removePath: function (layer) {\n var container = layer._container;\n remove(container);\n layer.removeInteractiveTarget(container);\n delete this._layers[stamp(layer)];\n },\n _updateStyle: function (layer) {\n var stroke = layer._stroke,\n fill = layer._fill,\n options = layer.options,\n container = layer._container;\n container.stroked = !!options.stroke;\n container.filled = !!options.fill;\n if (options.stroke) {\n if (!stroke) {\n stroke = layer._stroke = vmlCreate('stroke');\n }\n container.appendChild(stroke);\n stroke.weight = options.weight + 'px';\n stroke.color = options.color;\n stroke.opacity = options.opacity;\n if (options.dashArray) {\n stroke.dashStyle = isArray(options.dashArray) ? options.dashArray.join(' ') : options.dashArray.replace(/( *, *)/g, ' ');\n } else {\n stroke.dashStyle = '';\n }\n stroke.endcap = options.lineCap.replace('butt', 'flat');\n stroke.joinstyle = options.lineJoin;\n } else if (stroke) {\n container.removeChild(stroke);\n layer._stroke = null;\n }\n if (options.fill) {\n if (!fill) {\n fill = layer._fill = vmlCreate('fill');\n }\n container.appendChild(fill);\n fill.color = options.fillColor || options.color;\n fill.opacity = options.fillOpacity;\n } else if (fill) {\n container.removeChild(fill);\n layer._fill = null;\n }\n },\n _updateCircle: function (layer) {\n var p = layer._point.round(),\n r = Math.round(layer._radius),\n r2 = Math.round(layer._radiusY || r);\n this._setPath(layer, layer._empty() ? 'M0 0' : 'AL ' + p.x + ',' + p.y + ' ' + r + ',' + r2 + ' 0,' + 65535 * 360);\n },\n _setPath: function (layer, path) {\n layer._path.v = path;\n },\n _bringToFront: function (layer) {\n toFront(layer._container);\n },\n _bringToBack: function (layer) {\n toBack(layer._container);\n }\n };\n var create = Browser.vml ? vmlCreate : svgCreate;\n\n /*\n * @class SVG\n * @inherits Renderer\n * @aka L.SVG\n *\n * Allows vector layers to be displayed with [SVG](https://developer.mozilla.org/docs/Web/SVG).\n * Inherits `Renderer`.\n *\n * Due to [technical limitations](https://caniuse.com/svg), SVG is not\n * available in all web browsers, notably Android 2.x and 3.x.\n *\n * Although SVG is not available on IE7 and IE8, these browsers support\n * [VML](https://en.wikipedia.org/wiki/Vector_Markup_Language)\n * (a now deprecated technology), and the SVG renderer will fall back to VML in\n * this case.\n *\n * @example\n *\n * Use SVG by default for all paths in the map:\n *\n * ```js\n * var map = L.map('map', {\n * \trenderer: L.svg()\n * });\n * ```\n *\n * Use a SVG renderer with extra padding for specific vector geometries:\n *\n * ```js\n * var map = L.map('map');\n * var myRenderer = L.svg({ padding: 0.5 });\n * var line = L.polyline( coordinates, { renderer: myRenderer } );\n * var circle = L.circle( center, { renderer: myRenderer } );\n * ```\n */\n\n var SVG = Renderer.extend({\n _initContainer: function () {\n this._container = create('svg');\n\n // makes it possible to click through svg root; we'll reset it back in individual paths\n this._container.setAttribute('pointer-events', 'none');\n this._rootGroup = create('g');\n this._container.appendChild(this._rootGroup);\n },\n _destroyContainer: function () {\n remove(this._container);\n off(this._container);\n delete this._container;\n delete this._rootGroup;\n delete this._svgSize;\n },\n _update: function () {\n if (this._map._animatingZoom && this._bounds) {\n return;\n }\n Renderer.prototype._update.call(this);\n var b = this._bounds,\n size = b.getSize(),\n container = this._container;\n\n // set size of svg-container if changed\n if (!this._svgSize || !this._svgSize.equals(size)) {\n this._svgSize = size;\n container.setAttribute('width', size.x);\n container.setAttribute('height', size.y);\n }\n\n // movement: update container viewBox so that we don't have to change coordinates of individual layers\n setPosition(container, b.min);\n container.setAttribute('viewBox', [b.min.x, b.min.y, size.x, size.y].join(' '));\n this.fire('update');\n },\n // methods below are called by vector layers implementations\n\n _initPath: function (layer) {\n var path = layer._path = create('path');\n\n // @namespace Path\n // @option className: String = null\n // Custom class name set on an element. Only for SVG renderer.\n if (layer.options.className) {\n addClass(path, layer.options.className);\n }\n if (layer.options.interactive) {\n addClass(path, 'leaflet-interactive');\n }\n this._updateStyle(layer);\n this._layers[stamp(layer)] = layer;\n },\n _addPath: function (layer) {\n if (!this._rootGroup) {\n this._initContainer();\n }\n this._rootGroup.appendChild(layer._path);\n layer.addInteractiveTarget(layer._path);\n },\n _removePath: function (layer) {\n remove(layer._path);\n layer.removeInteractiveTarget(layer._path);\n delete this._layers[stamp(layer)];\n },\n _updatePath: function (layer) {\n layer._project();\n layer._update();\n },\n _updateStyle: function (layer) {\n var path = layer._path,\n options = layer.options;\n if (!path) {\n return;\n }\n if (options.stroke) {\n path.setAttribute('stroke', options.color);\n path.setAttribute('stroke-opacity', options.opacity);\n path.setAttribute('stroke-width', options.weight);\n path.setAttribute('stroke-linecap', options.lineCap);\n path.setAttribute('stroke-linejoin', options.lineJoin);\n if (options.dashArray) {\n path.setAttribute('stroke-dasharray', options.dashArray);\n } else {\n path.removeAttribute('stroke-dasharray');\n }\n if (options.dashOffset) {\n path.setAttribute('stroke-dashoffset', options.dashOffset);\n } else {\n path.removeAttribute('stroke-dashoffset');\n }\n } else {\n path.setAttribute('stroke', 'none');\n }\n if (options.fill) {\n path.setAttribute('fill', options.fillColor || options.color);\n path.setAttribute('fill-opacity', options.fillOpacity);\n path.setAttribute('fill-rule', options.fillRule || 'evenodd');\n } else {\n path.setAttribute('fill', 'none');\n }\n },\n _updatePoly: function (layer, closed) {\n this._setPath(layer, pointsToPath(layer._parts, closed));\n },\n _updateCircle: function (layer) {\n var p = layer._point,\n r = Math.max(Math.round(layer._radius), 1),\n r2 = Math.max(Math.round(layer._radiusY), 1) || r,\n arc = 'a' + r + ',' + r2 + ' 0 1,0 ';\n\n // drawing a circle with two half-arcs\n var d = layer._empty() ? 'M0 0' : 'M' + (p.x - r) + ',' + p.y + arc + r * 2 + ',0 ' + arc + -r * 2 + ',0 ';\n this._setPath(layer, d);\n },\n _setPath: function (layer, path) {\n layer._path.setAttribute('d', path);\n },\n // SVG does not have the concept of zIndex so we resort to changing the DOM order of elements\n _bringToFront: function (layer) {\n toFront(layer._path);\n },\n _bringToBack: function (layer) {\n toBack(layer._path);\n }\n });\n if (Browser.vml) {\n SVG.include(vmlMixin);\n }\n\n // @namespace SVG\n // @factory L.svg(options?: Renderer options)\n // Creates a SVG renderer with the given options.\n function svg(options) {\n return Browser.svg || Browser.vml ? new SVG(options) : null;\n }\n Map.include({\n // @namespace Map; @method getRenderer(layer: Path): Renderer\n // Returns the instance of `Renderer` that should be used to render the given\n // `Path`. It will ensure that the `renderer` options of the map and paths\n // are respected, and that the renderers do exist on the map.\n getRenderer: function (layer) {\n // @namespace Path; @option renderer: Renderer\n // Use this specific instance of `Renderer` for this path. Takes\n // precedence over the map's [default renderer](#map-renderer).\n var renderer = layer.options.renderer || this._getPaneRenderer(layer.options.pane) || this.options.renderer || this._renderer;\n if (!renderer) {\n renderer = this._renderer = this._createRenderer();\n }\n if (!this.hasLayer(renderer)) {\n this.addLayer(renderer);\n }\n return renderer;\n },\n _getPaneRenderer: function (name) {\n if (name === 'overlayPane' || name === undefined) {\n return false;\n }\n var renderer = this._paneRenderers[name];\n if (renderer === undefined) {\n renderer = this._createRenderer({\n pane: name\n });\n this._paneRenderers[name] = renderer;\n }\n return renderer;\n },\n _createRenderer: function (options) {\n // @namespace Map; @option preferCanvas: Boolean = false\n // Whether `Path`s should be rendered on a `Canvas` renderer.\n // By default, all `Path`s are rendered in a `SVG` renderer.\n return this.options.preferCanvas && canvas(options) || svg(options);\n }\n });\n\n /*\n * L.Rectangle extends Polygon and creates a rectangle when passed a LatLngBounds object.\n */\n\n /*\n * @class Rectangle\n * @aka L.Rectangle\n * @inherits Polygon\n *\n * A class for drawing rectangle overlays on a map. Extends `Polygon`.\n *\n * @example\n *\n * ```js\n * // define rectangle geographical bounds\n * var bounds = [[54.559322, -5.767822], [56.1210604, -3.021240]];\n *\n * // create an orange rectangle\n * L.rectangle(bounds, {color: \"#ff7800\", weight: 1}).addTo(map);\n *\n * // zoom the map to the rectangle bounds\n * map.fitBounds(bounds);\n * ```\n *\n */\n\n var Rectangle = Polygon.extend({\n initialize: function (latLngBounds, options) {\n Polygon.prototype.initialize.call(this, this._boundsToLatLngs(latLngBounds), options);\n },\n // @method setBounds(latLngBounds: LatLngBounds): this\n // Redraws the rectangle with the passed bounds.\n setBounds: function (latLngBounds) {\n return this.setLatLngs(this._boundsToLatLngs(latLngBounds));\n },\n _boundsToLatLngs: function (latLngBounds) {\n latLngBounds = toLatLngBounds(latLngBounds);\n return [latLngBounds.getSouthWest(), latLngBounds.getNorthWest(), latLngBounds.getNorthEast(), latLngBounds.getSouthEast()];\n }\n });\n\n // @factory L.rectangle(latLngBounds: LatLngBounds, options?: Polyline options)\n function rectangle(latLngBounds, options) {\n return new Rectangle(latLngBounds, options);\n }\n SVG.create = create;\n SVG.pointsToPath = pointsToPath;\n GeoJSON.geometryToLayer = geometryToLayer;\n GeoJSON.coordsToLatLng = coordsToLatLng;\n GeoJSON.coordsToLatLngs = coordsToLatLngs;\n GeoJSON.latLngToCoords = latLngToCoords;\n GeoJSON.latLngsToCoords = latLngsToCoords;\n GeoJSON.getFeature = getFeature;\n GeoJSON.asFeature = asFeature;\n\n /*\n * L.Handler.BoxZoom is used to add shift-drag zoom interaction to the map\n * (zoom to a selected bounding box), enabled by default.\n */\n\n // @namespace Map\n // @section Interaction Options\n Map.mergeOptions({\n // @option boxZoom: Boolean = true\n // Whether the map can be zoomed to a rectangular area specified by\n // dragging the mouse while pressing the shift key.\n boxZoom: true\n });\n var BoxZoom = Handler.extend({\n initialize: function (map) {\n this._map = map;\n this._container = map._container;\n this._pane = map._panes.overlayPane;\n this._resetStateTimeout = 0;\n map.on('unload', this._destroy, this);\n },\n addHooks: function () {\n on(this._container, 'mousedown', this._onMouseDown, this);\n },\n removeHooks: function () {\n off(this._container, 'mousedown', this._onMouseDown, this);\n },\n moved: function () {\n return this._moved;\n },\n _destroy: function () {\n remove(this._pane);\n delete this._pane;\n },\n _resetState: function () {\n this._resetStateTimeout = 0;\n this._moved = false;\n },\n _clearDeferredResetState: function () {\n if (this._resetStateTimeout !== 0) {\n clearTimeout(this._resetStateTimeout);\n this._resetStateTimeout = 0;\n }\n },\n _onMouseDown: function (e) {\n if (!e.shiftKey || e.which !== 1 && e.button !== 1) {\n return false;\n }\n\n // Clear the deferred resetState if it hasn't executed yet, otherwise it\n // will interrupt the interaction and orphan a box element in the container.\n this._clearDeferredResetState();\n this._resetState();\n disableTextSelection();\n disableImageDrag();\n this._startPoint = this._map.mouseEventToContainerPoint(e);\n on(document, {\n contextmenu: stop,\n mousemove: this._onMouseMove,\n mouseup: this._onMouseUp,\n keydown: this._onKeyDown\n }, this);\n },\n _onMouseMove: function (e) {\n if (!this._moved) {\n this._moved = true;\n this._box = create$1('div', 'leaflet-zoom-box', this._container);\n addClass(this._container, 'leaflet-crosshair');\n this._map.fire('boxzoomstart');\n }\n this._point = this._map.mouseEventToContainerPoint(e);\n var bounds = new Bounds(this._point, this._startPoint),\n size = bounds.getSize();\n setPosition(this._box, bounds.min);\n this._box.style.width = size.x + 'px';\n this._box.style.height = size.y + 'px';\n },\n _finish: function () {\n if (this._moved) {\n remove(this._box);\n removeClass(this._container, 'leaflet-crosshair');\n }\n enableTextSelection();\n enableImageDrag();\n off(document, {\n contextmenu: stop,\n mousemove: this._onMouseMove,\n mouseup: this._onMouseUp,\n keydown: this._onKeyDown\n }, this);\n },\n _onMouseUp: function (e) {\n if (e.which !== 1 && e.button !== 1) {\n return;\n }\n this._finish();\n if (!this._moved) {\n return;\n }\n // Postpone to next JS tick so internal click event handling\n // still see it as \"moved\".\n this._clearDeferredResetState();\n this._resetStateTimeout = setTimeout(bind(this._resetState, this), 0);\n var bounds = new LatLngBounds(this._map.containerPointToLatLng(this._startPoint), this._map.containerPointToLatLng(this._point));\n this._map.fitBounds(bounds).fire('boxzoomend', {\n boxZoomBounds: bounds\n });\n },\n _onKeyDown: function (e) {\n if (e.keyCode === 27) {\n this._finish();\n this._clearDeferredResetState();\n this._resetState();\n }\n }\n });\n\n // @section Handlers\n // @property boxZoom: Handler\n // Box (shift-drag with mouse) zoom handler.\n Map.addInitHook('addHandler', 'boxZoom', BoxZoom);\n\n /*\n * L.Handler.DoubleClickZoom is used to handle double-click zoom on the map, enabled by default.\n */\n\n // @namespace Map\n // @section Interaction Options\n\n Map.mergeOptions({\n // @option doubleClickZoom: Boolean|String = true\n // Whether the map can be zoomed in by double clicking on it and\n // zoomed out by double clicking while holding shift. If passed\n // `'center'`, double-click zoom will zoom to the center of the\n // view regardless of where the mouse was.\n doubleClickZoom: true\n });\n var DoubleClickZoom = Handler.extend({\n addHooks: function () {\n this._map.on('dblclick', this._onDoubleClick, this);\n },\n removeHooks: function () {\n this._map.off('dblclick', this._onDoubleClick, this);\n },\n _onDoubleClick: function (e) {\n var map = this._map,\n oldZoom = map.getZoom(),\n delta = map.options.zoomDelta,\n zoom = e.originalEvent.shiftKey ? oldZoom - delta : oldZoom + delta;\n if (map.options.doubleClickZoom === 'center') {\n map.setZoom(zoom);\n } else {\n map.setZoomAround(e.containerPoint, zoom);\n }\n }\n });\n\n // @section Handlers\n //\n // Map properties include interaction handlers that allow you to control\n // interaction behavior in runtime, enabling or disabling certain features such\n // as dragging or touch zoom (see `Handler` methods). For example:\n //\n // ```js\n // map.doubleClickZoom.disable();\n // ```\n //\n // @property doubleClickZoom: Handler\n // Double click zoom handler.\n Map.addInitHook('addHandler', 'doubleClickZoom', DoubleClickZoom);\n\n /*\n * L.Handler.MapDrag is used to make the map draggable (with panning inertia), enabled by default.\n */\n\n // @namespace Map\n // @section Interaction Options\n Map.mergeOptions({\n // @option dragging: Boolean = true\n // Whether the map is draggable with mouse/touch or not.\n dragging: true,\n // @section Panning Inertia Options\n // @option inertia: Boolean = *\n // If enabled, panning of the map will have an inertia effect where\n // the map builds momentum while dragging and continues moving in\n // the same direction for some time. Feels especially nice on touch\n // devices. Enabled by default.\n inertia: true,\n // @option inertiaDeceleration: Number = 3000\n // The rate with which the inertial movement slows down, in pixels/second².\n inertiaDeceleration: 3400,\n // px/s^2\n\n // @option inertiaMaxSpeed: Number = Infinity\n // Max speed of the inertial movement, in pixels/second.\n inertiaMaxSpeed: Infinity,\n // px/s\n\n // @option easeLinearity: Number = 0.2\n easeLinearity: 0.2,\n // TODO refactor, move to CRS\n // @option worldCopyJump: Boolean = false\n // With this option enabled, the map tracks when you pan to another \"copy\"\n // of the world and seamlessly jumps to the original one so that all overlays\n // like markers and vector layers are still visible.\n worldCopyJump: false,\n // @option maxBoundsViscosity: Number = 0.0\n // If `maxBounds` is set, this option will control how solid the bounds\n // are when dragging the map around. The default value of `0.0` allows the\n // user to drag outside the bounds at normal speed, higher values will\n // slow down map dragging outside bounds, and `1.0` makes the bounds fully\n // solid, preventing the user from dragging outside the bounds.\n maxBoundsViscosity: 0.0\n });\n var Drag = Handler.extend({\n addHooks: function () {\n if (!this._draggable) {\n var map = this._map;\n this._draggable = new Draggable(map._mapPane, map._container);\n this._draggable.on({\n dragstart: this._onDragStart,\n drag: this._onDrag,\n dragend: this._onDragEnd\n }, this);\n this._draggable.on('predrag', this._onPreDragLimit, this);\n if (map.options.worldCopyJump) {\n this._draggable.on('predrag', this._onPreDragWrap, this);\n map.on('zoomend', this._onZoomEnd, this);\n map.whenReady(this._onZoomEnd, this);\n }\n }\n addClass(this._map._container, 'leaflet-grab leaflet-touch-drag');\n this._draggable.enable();\n this._positions = [];\n this._times = [];\n },\n removeHooks: function () {\n removeClass(this._map._container, 'leaflet-grab');\n removeClass(this._map._container, 'leaflet-touch-drag');\n this._draggable.disable();\n },\n moved: function () {\n return this._draggable && this._draggable._moved;\n },\n moving: function () {\n return this._draggable && this._draggable._moving;\n },\n _onDragStart: function () {\n var map = this._map;\n map._stop();\n if (this._map.options.maxBounds && this._map.options.maxBoundsViscosity) {\n var bounds = toLatLngBounds(this._map.options.maxBounds);\n this._offsetLimit = toBounds(this._map.latLngToContainerPoint(bounds.getNorthWest()).multiplyBy(-1), this._map.latLngToContainerPoint(bounds.getSouthEast()).multiplyBy(-1).add(this._map.getSize()));\n this._viscosity = Math.min(1.0, Math.max(0.0, this._map.options.maxBoundsViscosity));\n } else {\n this._offsetLimit = null;\n }\n map.fire('movestart').fire('dragstart');\n if (map.options.inertia) {\n this._positions = [];\n this._times = [];\n }\n },\n _onDrag: function (e) {\n if (this._map.options.inertia) {\n var time = this._lastTime = +new Date(),\n pos = this._lastPos = this._draggable._absPos || this._draggable._newPos;\n this._positions.push(pos);\n this._times.push(time);\n this._prunePositions(time);\n }\n this._map.fire('move', e).fire('drag', e);\n },\n _prunePositions: function (time) {\n while (this._positions.length > 1 && time - this._times[0] > 50) {\n this._positions.shift();\n this._times.shift();\n }\n },\n _onZoomEnd: function () {\n var pxCenter = this._map.getSize().divideBy(2),\n pxWorldCenter = this._map.latLngToLayerPoint([0, 0]);\n this._initialWorldOffset = pxWorldCenter.subtract(pxCenter).x;\n this._worldWidth = this._map.getPixelWorldBounds().getSize().x;\n },\n _viscousLimit: function (value, threshold) {\n return value - (value - threshold) * this._viscosity;\n },\n _onPreDragLimit: function () {\n if (!this._viscosity || !this._offsetLimit) {\n return;\n }\n var offset = this._draggable._newPos.subtract(this._draggable._startPos);\n var limit = this._offsetLimit;\n if (offset.x < limit.min.x) {\n offset.x = this._viscousLimit(offset.x, limit.min.x);\n }\n if (offset.y < limit.min.y) {\n offset.y = this._viscousLimit(offset.y, limit.min.y);\n }\n if (offset.x > limit.max.x) {\n offset.x = this._viscousLimit(offset.x, limit.max.x);\n }\n if (offset.y > limit.max.y) {\n offset.y = this._viscousLimit(offset.y, limit.max.y);\n }\n this._draggable._newPos = this._draggable._startPos.add(offset);\n },\n _onPreDragWrap: function () {\n // TODO refactor to be able to adjust map pane position after zoom\n var worldWidth = this._worldWidth,\n halfWidth = Math.round(worldWidth / 2),\n dx = this._initialWorldOffset,\n x = this._draggable._newPos.x,\n newX1 = (x - halfWidth + dx) % worldWidth + halfWidth - dx,\n newX2 = (x + halfWidth + dx) % worldWidth - halfWidth - dx,\n newX = Math.abs(newX1 + dx) < Math.abs(newX2 + dx) ? newX1 : newX2;\n this._draggable._absPos = this._draggable._newPos.clone();\n this._draggable._newPos.x = newX;\n },\n _onDragEnd: function (e) {\n var map = this._map,\n options = map.options,\n noInertia = !options.inertia || e.noInertia || this._times.length < 2;\n map.fire('dragend', e);\n if (noInertia) {\n map.fire('moveend');\n } else {\n this._prunePositions(+new Date());\n var direction = this._lastPos.subtract(this._positions[0]),\n duration = (this._lastTime - this._times[0]) / 1000,\n ease = options.easeLinearity,\n speedVector = direction.multiplyBy(ease / duration),\n speed = speedVector.distanceTo([0, 0]),\n limitedSpeed = Math.min(options.inertiaMaxSpeed, speed),\n limitedSpeedVector = speedVector.multiplyBy(limitedSpeed / speed),\n decelerationDuration = limitedSpeed / (options.inertiaDeceleration * ease),\n offset = limitedSpeedVector.multiplyBy(-decelerationDuration / 2).round();\n if (!offset.x && !offset.y) {\n map.fire('moveend');\n } else {\n offset = map._limitOffset(offset, map.options.maxBounds);\n requestAnimFrame(function () {\n map.panBy(offset, {\n duration: decelerationDuration,\n easeLinearity: ease,\n noMoveStart: true,\n animate: true\n });\n });\n }\n }\n }\n });\n\n // @section Handlers\n // @property dragging: Handler\n // Map dragging handler (by both mouse and touch).\n Map.addInitHook('addHandler', 'dragging', Drag);\n\n /*\n * L.Map.Keyboard is handling keyboard interaction with the map, enabled by default.\n */\n\n // @namespace Map\n // @section Keyboard Navigation Options\n Map.mergeOptions({\n // @option keyboard: Boolean = true\n // Makes the map focusable and allows users to navigate the map with keyboard\n // arrows and `+`/`-` keys.\n keyboard: true,\n // @option keyboardPanDelta: Number = 80\n // Amount of pixels to pan when pressing an arrow key.\n keyboardPanDelta: 80\n });\n var Keyboard = Handler.extend({\n keyCodes: {\n left: [37],\n right: [39],\n down: [40],\n up: [38],\n zoomIn: [187, 107, 61, 171],\n zoomOut: [189, 109, 54, 173]\n },\n initialize: function (map) {\n this._map = map;\n this._setPanDelta(map.options.keyboardPanDelta);\n this._setZoomDelta(map.options.zoomDelta);\n },\n addHooks: function () {\n var container = this._map._container;\n\n // make the container focusable by tabbing\n if (container.tabIndex <= 0) {\n container.tabIndex = '0';\n }\n on(container, {\n focus: this._onFocus,\n blur: this._onBlur,\n mousedown: this._onMouseDown\n }, this);\n this._map.on({\n focus: this._addHooks,\n blur: this._removeHooks\n }, this);\n },\n removeHooks: function () {\n this._removeHooks();\n off(this._map._container, {\n focus: this._onFocus,\n blur: this._onBlur,\n mousedown: this._onMouseDown\n }, this);\n this._map.off({\n focus: this._addHooks,\n blur: this._removeHooks\n }, this);\n },\n _onMouseDown: function () {\n if (this._focused) {\n return;\n }\n var body = document.body,\n docEl = document.documentElement,\n top = body.scrollTop || docEl.scrollTop,\n left = body.scrollLeft || docEl.scrollLeft;\n this._map._container.focus();\n window.scrollTo(left, top);\n },\n _onFocus: function () {\n this._focused = true;\n this._map.fire('focus');\n },\n _onBlur: function () {\n this._focused = false;\n this._map.fire('blur');\n },\n _setPanDelta: function (panDelta) {\n var keys = this._panKeys = {},\n codes = this.keyCodes,\n i,\n len;\n for (i = 0, len = codes.left.length; i < len; i++) {\n keys[codes.left[i]] = [-1 * panDelta, 0];\n }\n for (i = 0, len = codes.right.length; i < len; i++) {\n keys[codes.right[i]] = [panDelta, 0];\n }\n for (i = 0, len = codes.down.length; i < len; i++) {\n keys[codes.down[i]] = [0, panDelta];\n }\n for (i = 0, len = codes.up.length; i < len; i++) {\n keys[codes.up[i]] = [0, -1 * panDelta];\n }\n },\n _setZoomDelta: function (zoomDelta) {\n var keys = this._zoomKeys = {},\n codes = this.keyCodes,\n i,\n len;\n for (i = 0, len = codes.zoomIn.length; i < len; i++) {\n keys[codes.zoomIn[i]] = zoomDelta;\n }\n for (i = 0, len = codes.zoomOut.length; i < len; i++) {\n keys[codes.zoomOut[i]] = -zoomDelta;\n }\n },\n _addHooks: function () {\n on(document, 'keydown', this._onKeyDown, this);\n },\n _removeHooks: function () {\n off(document, 'keydown', this._onKeyDown, this);\n },\n _onKeyDown: function (e) {\n if (e.altKey || e.ctrlKey || e.metaKey) {\n return;\n }\n var key = e.keyCode,\n map = this._map,\n offset;\n if (key in this._panKeys) {\n if (!map._panAnim || !map._panAnim._inProgress) {\n offset = this._panKeys[key];\n if (e.shiftKey) {\n offset = toPoint(offset).multiplyBy(3);\n }\n if (map.options.maxBounds) {\n offset = map._limitOffset(toPoint(offset), map.options.maxBounds);\n }\n if (map.options.worldCopyJump) {\n var newLatLng = map.wrapLatLng(map.unproject(map.project(map.getCenter()).add(offset)));\n map.panTo(newLatLng);\n } else {\n map.panBy(offset);\n }\n }\n } else if (key in this._zoomKeys) {\n map.setZoom(map.getZoom() + (e.shiftKey ? 3 : 1) * this._zoomKeys[key]);\n } else if (key === 27 && map._popup && map._popup.options.closeOnEscapeKey) {\n map.closePopup();\n } else {\n return;\n }\n stop(e);\n }\n });\n\n // @section Handlers\n // @section Handlers\n // @property keyboard: Handler\n // Keyboard navigation handler.\n Map.addInitHook('addHandler', 'keyboard', Keyboard);\n\n /*\n * L.Handler.ScrollWheelZoom is used by L.Map to enable mouse scroll wheel zoom on the map.\n */\n\n // @namespace Map\n // @section Interaction Options\n Map.mergeOptions({\n // @section Mouse wheel options\n // @option scrollWheelZoom: Boolean|String = true\n // Whether the map can be zoomed by using the mouse wheel. If passed `'center'`,\n // it will zoom to the center of the view regardless of where the mouse was.\n scrollWheelZoom: true,\n // @option wheelDebounceTime: Number = 40\n // Limits the rate at which a wheel can fire (in milliseconds). By default\n // user can't zoom via wheel more often than once per 40 ms.\n wheelDebounceTime: 40,\n // @option wheelPxPerZoomLevel: Number = 60\n // How many scroll pixels (as reported by [L.DomEvent.getWheelDelta](#domevent-getwheeldelta))\n // mean a change of one full zoom level. Smaller values will make wheel-zooming\n // faster (and vice versa).\n wheelPxPerZoomLevel: 60\n });\n var ScrollWheelZoom = Handler.extend({\n addHooks: function () {\n on(this._map._container, 'wheel', this._onWheelScroll, this);\n this._delta = 0;\n },\n removeHooks: function () {\n off(this._map._container, 'wheel', this._onWheelScroll, this);\n },\n _onWheelScroll: function (e) {\n var delta = getWheelDelta(e);\n var debounce = this._map.options.wheelDebounceTime;\n this._delta += delta;\n this._lastMousePos = this._map.mouseEventToContainerPoint(e);\n if (!this._startTime) {\n this._startTime = +new Date();\n }\n var left = Math.max(debounce - (+new Date() - this._startTime), 0);\n clearTimeout(this._timer);\n this._timer = setTimeout(bind(this._performZoom, this), left);\n stop(e);\n },\n _performZoom: function () {\n var map = this._map,\n zoom = map.getZoom(),\n snap = this._map.options.zoomSnap || 0;\n map._stop(); // stop panning and fly animations if any\n\n // map the delta with a sigmoid function to -4..4 range leaning on -1..1\n var d2 = this._delta / (this._map.options.wheelPxPerZoomLevel * 4),\n d3 = 4 * Math.log(2 / (1 + Math.exp(-Math.abs(d2)))) / Math.LN2,\n d4 = snap ? Math.ceil(d3 / snap) * snap : d3,\n delta = map._limitZoom(zoom + (this._delta > 0 ? d4 : -d4)) - zoom;\n this._delta = 0;\n this._startTime = null;\n if (!delta) {\n return;\n }\n if (map.options.scrollWheelZoom === 'center') {\n map.setZoom(zoom + delta);\n } else {\n map.setZoomAround(this._lastMousePos, zoom + delta);\n }\n }\n });\n\n // @section Handlers\n // @property scrollWheelZoom: Handler\n // Scroll wheel zoom handler.\n Map.addInitHook('addHandler', 'scrollWheelZoom', ScrollWheelZoom);\n\n /*\n * L.Map.TapHold is used to simulate `contextmenu` event on long hold,\n * which otherwise is not fired by mobile Safari.\n */\n\n var tapHoldDelay = 600;\n\n // @namespace Map\n // @section Interaction Options\n Map.mergeOptions({\n // @section Touch interaction options\n // @option tapHold: Boolean\n // Enables simulation of `contextmenu` event, default is `true` for mobile Safari.\n tapHold: Browser.touchNative && Browser.safari && Browser.mobile,\n // @option tapTolerance: Number = 15\n // The max number of pixels a user can shift his finger during touch\n // for it to be considered a valid tap.\n tapTolerance: 15\n });\n var TapHold = Handler.extend({\n addHooks: function () {\n on(this._map._container, 'touchstart', this._onDown, this);\n },\n removeHooks: function () {\n off(this._map._container, 'touchstart', this._onDown, this);\n },\n _onDown: function (e) {\n clearTimeout(this._holdTimeout);\n if (e.touches.length !== 1) {\n return;\n }\n var first = e.touches[0];\n this._startPos = this._newPos = new Point(first.clientX, first.clientY);\n this._holdTimeout = setTimeout(bind(function () {\n this._cancel();\n if (!this._isTapValid()) {\n return;\n }\n\n // prevent simulated mouse events https://w3c.github.io/touch-events/#mouse-events\n on(document, 'touchend', preventDefault);\n on(document, 'touchend touchcancel', this._cancelClickPrevent);\n this._simulateEvent('contextmenu', first);\n }, this), tapHoldDelay);\n on(document, 'touchend touchcancel contextmenu', this._cancel, this);\n on(document, 'touchmove', this._onMove, this);\n },\n _cancelClickPrevent: function cancelClickPrevent() {\n off(document, 'touchend', preventDefault);\n off(document, 'touchend touchcancel', cancelClickPrevent);\n },\n _cancel: function () {\n clearTimeout(this._holdTimeout);\n off(document, 'touchend touchcancel contextmenu', this._cancel, this);\n off(document, 'touchmove', this._onMove, this);\n },\n _onMove: function (e) {\n var first = e.touches[0];\n this._newPos = new Point(first.clientX, first.clientY);\n },\n _isTapValid: function () {\n return this._newPos.distanceTo(this._startPos) <= this._map.options.tapTolerance;\n },\n _simulateEvent: function (type, e) {\n var simulatedEvent = new MouseEvent(type, {\n bubbles: true,\n cancelable: true,\n view: window,\n // detail: 1,\n screenX: e.screenX,\n screenY: e.screenY,\n clientX: e.clientX,\n clientY: e.clientY\n // button: 2,\n // buttons: 2\n });\n\n simulatedEvent._simulated = true;\n e.target.dispatchEvent(simulatedEvent);\n }\n });\n\n // @section Handlers\n // @property tapHold: Handler\n // Long tap handler to simulate `contextmenu` event (useful in mobile Safari).\n Map.addInitHook('addHandler', 'tapHold', TapHold);\n\n /*\n * L.Handler.TouchZoom is used by L.Map to add pinch zoom on supported mobile browsers.\n */\n\n // @namespace Map\n // @section Interaction Options\n Map.mergeOptions({\n // @section Touch interaction options\n // @option touchZoom: Boolean|String = *\n // Whether the map can be zoomed by touch-dragging with two fingers. If\n // passed `'center'`, it will zoom to the center of the view regardless of\n // where the touch events (fingers) were. Enabled for touch-capable web\n // browsers.\n touchZoom: Browser.touch,\n // @option bounceAtZoomLimits: Boolean = true\n // Set it to false if you don't want the map to zoom beyond min/max zoom\n // and then bounce back when pinch-zooming.\n bounceAtZoomLimits: true\n });\n var TouchZoom = Handler.extend({\n addHooks: function () {\n addClass(this._map._container, 'leaflet-touch-zoom');\n on(this._map._container, 'touchstart', this._onTouchStart, this);\n },\n removeHooks: function () {\n removeClass(this._map._container, 'leaflet-touch-zoom');\n off(this._map._container, 'touchstart', this._onTouchStart, this);\n },\n _onTouchStart: function (e) {\n var map = this._map;\n if (!e.touches || e.touches.length !== 2 || map._animatingZoom || this._zooming) {\n return;\n }\n var p1 = map.mouseEventToContainerPoint(e.touches[0]),\n p2 = map.mouseEventToContainerPoint(e.touches[1]);\n this._centerPoint = map.getSize()._divideBy(2);\n this._startLatLng = map.containerPointToLatLng(this._centerPoint);\n if (map.options.touchZoom !== 'center') {\n this._pinchStartLatLng = map.containerPointToLatLng(p1.add(p2)._divideBy(2));\n }\n this._startDist = p1.distanceTo(p2);\n this._startZoom = map.getZoom();\n this._moved = false;\n this._zooming = true;\n map._stop();\n on(document, 'touchmove', this._onTouchMove, this);\n on(document, 'touchend touchcancel', this._onTouchEnd, this);\n preventDefault(e);\n },\n _onTouchMove: function (e) {\n if (!e.touches || e.touches.length !== 2 || !this._zooming) {\n return;\n }\n var map = this._map,\n p1 = map.mouseEventToContainerPoint(e.touches[0]),\n p2 = map.mouseEventToContainerPoint(e.touches[1]),\n scale = p1.distanceTo(p2) / this._startDist;\n this._zoom = map.getScaleZoom(scale, this._startZoom);\n if (!map.options.bounceAtZoomLimits && (this._zoom < map.getMinZoom() && scale < 1 || this._zoom > map.getMaxZoom() && scale > 1)) {\n this._zoom = map._limitZoom(this._zoom);\n }\n if (map.options.touchZoom === 'center') {\n this._center = this._startLatLng;\n if (scale === 1) {\n return;\n }\n } else {\n // Get delta from pinch to center, so centerLatLng is delta applied to initial pinchLatLng\n var delta = p1._add(p2)._divideBy(2)._subtract(this._centerPoint);\n if (scale === 1 && delta.x === 0 && delta.y === 0) {\n return;\n }\n this._center = map.unproject(map.project(this._pinchStartLatLng, this._zoom).subtract(delta), this._zoom);\n }\n if (!this._moved) {\n map._moveStart(true, false);\n this._moved = true;\n }\n cancelAnimFrame(this._animRequest);\n var moveFn = bind(map._move, map, this._center, this._zoom, {\n pinch: true,\n round: false\n }, undefined);\n this._animRequest = requestAnimFrame(moveFn, this, true);\n preventDefault(e);\n },\n _onTouchEnd: function () {\n if (!this._moved || !this._zooming) {\n this._zooming = false;\n return;\n }\n this._zooming = false;\n cancelAnimFrame(this._animRequest);\n off(document, 'touchmove', this._onTouchMove, this);\n off(document, 'touchend touchcancel', this._onTouchEnd, this);\n\n // Pinch updates GridLayers' levels only when zoomSnap is off, so zoomSnap becomes noUpdate.\n if (this._map.options.zoomAnimation) {\n this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), true, this._map.options.zoomSnap);\n } else {\n this._map._resetView(this._center, this._map._limitZoom(this._zoom));\n }\n }\n });\n\n // @section Handlers\n // @property touchZoom: Handler\n // Touch zoom handler.\n Map.addInitHook('addHandler', 'touchZoom', TouchZoom);\n Map.BoxZoom = BoxZoom;\n Map.DoubleClickZoom = DoubleClickZoom;\n Map.Drag = Drag;\n Map.Keyboard = Keyboard;\n Map.ScrollWheelZoom = ScrollWheelZoom;\n Map.TapHold = TapHold;\n Map.TouchZoom = TouchZoom;\n exports.Bounds = Bounds;\n exports.Browser = Browser;\n exports.CRS = CRS;\n exports.Canvas = Canvas;\n exports.Circle = Circle;\n exports.CircleMarker = CircleMarker;\n exports.Class = Class;\n exports.Control = Control;\n exports.DivIcon = DivIcon;\n exports.DivOverlay = DivOverlay;\n exports.DomEvent = DomEvent;\n exports.DomUtil = DomUtil;\n exports.Draggable = Draggable;\n exports.Evented = Evented;\n exports.FeatureGroup = FeatureGroup;\n exports.GeoJSON = GeoJSON;\n exports.GridLayer = GridLayer;\n exports.Handler = Handler;\n exports.Icon = Icon;\n exports.ImageOverlay = ImageOverlay;\n exports.LatLng = LatLng;\n exports.LatLngBounds = LatLngBounds;\n exports.Layer = Layer;\n exports.LayerGroup = LayerGroup;\n exports.LineUtil = LineUtil;\n exports.Map = Map;\n exports.Marker = Marker;\n exports.Mixin = Mixin;\n exports.Path = Path;\n exports.Point = Point;\n exports.PolyUtil = PolyUtil;\n exports.Polygon = Polygon;\n exports.Polyline = Polyline;\n exports.Popup = Popup;\n exports.PosAnimation = PosAnimation;\n exports.Projection = index;\n exports.Rectangle = Rectangle;\n exports.Renderer = Renderer;\n exports.SVG = SVG;\n exports.SVGOverlay = SVGOverlay;\n exports.TileLayer = TileLayer;\n exports.Tooltip = Tooltip;\n exports.Transformation = Transformation;\n exports.Util = Util;\n exports.VideoOverlay = VideoOverlay;\n exports.bind = bind;\n exports.bounds = toBounds;\n exports.canvas = canvas;\n exports.circle = circle;\n exports.circleMarker = circleMarker;\n exports.control = control;\n exports.divIcon = divIcon;\n exports.extend = extend;\n exports.featureGroup = featureGroup;\n exports.geoJSON = geoJSON;\n exports.geoJson = geoJson;\n exports.gridLayer = gridLayer;\n exports.icon = icon;\n exports.imageOverlay = imageOverlay;\n exports.latLng = toLatLng;\n exports.latLngBounds = toLatLngBounds;\n exports.layerGroup = layerGroup;\n exports.map = createMap;\n exports.marker = marker;\n exports.point = toPoint;\n exports.polygon = polygon;\n exports.polyline = polyline;\n exports.popup = popup;\n exports.rectangle = rectangle;\n exports.setOptions = setOptions;\n exports.stamp = stamp;\n exports.svg = svg;\n exports.svgOverlay = svgOverlay;\n exports.tileLayer = tileLayer;\n exports.tooltip = tooltip;\n exports.transformation = toTransformation;\n exports.version = version;\n exports.videoOverlay = videoOverlay;\n var oldL = window.L;\n exports.noConflict = function () {\n window.L = oldL;\n return this;\n };\n // Always export us to window global (see #2364)\n window.L = exports;\n});\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/leaflet/dist/leaflet-src.js?"); 368 369/***/ }), 370
vendor: 4,423 bytes, lines 371-381
371/***/ "./node_modules/polyline/src/polyline.js": 372/*!***********************************************!*\ 373 !*** ./node_modules/polyline/src/polyline.js ***! 374 \***********************************************/ 375/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 376 377"use strict"; 378eval("\n\n/**\n * Based off of [the offical Google document](https://developers.google.com/maps/documentation/utilities/polylinealgorithm)\n *\n * Some parts from [this implementation](http://facstaff.unca.edu/mcmcclur/GoogleMaps/EncodePolyline/PolylineEncoder.js)\n * by [Mark McClure](http://facstaff.unca.edu/mcmcclur/)\n *\n * @module polyline\n */\n__webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\nvar polyline = {};\nfunction encode(coordinate, factor) {\n coordinate = Math.round(coordinate * factor);\n coordinate <<= 1;\n if (coordinate < 0) {\n coordinate = ~coordinate;\n }\n var output = '';\n while (coordinate >= 0x20) {\n output += String.fromCharCode((0x20 | coordinate & 0x1f) + 63);\n coordinate >>= 5;\n }\n output += String.fromCharCode(coordinate + 63);\n return output;\n}\n\n/**\n * Decodes to a [latitude, longitude] coordinates array.\n *\n * This is adapted from the implementation in Project-OSRM.\n *\n * @param {String} str\n * @param {Number} precision\n * @returns {Array}\n *\n * @see https://github.com/Project-OSRM/osrm-frontend/blob/master/WebContent/routing/OSRM.RoutingGeometry.js\n */\npolyline.decode = function (str, precision) {\n var index = 0,\n lat = 0,\n lng = 0,\n coordinates = [],\n shift = 0,\n result = 0,\n byte = null,\n latitude_change,\n longitude_change,\n factor = Math.pow(10, precision || 5);\n\n // Coordinates have variable length when encoded, so just keep\n // track of whether we've hit the end of the string. In each\n // loop iteration, a single coordinate is decoded.\n while (index < str.length) {\n // Reset shift, result, and byte\n byte = null;\n shift = 0;\n result = 0;\n do {\n byte = str.charCodeAt(index++) - 63;\n result |= (byte & 0x1f) << shift;\n shift += 5;\n } while (byte >= 0x20);\n latitude_change = result & 1 ? ~(result >> 1) : result >> 1;\n shift = result = 0;\n do {\n byte = str.charCodeAt(index++) - 63;\n result |= (byte & 0x1f) << shift;\n shift += 5;\n } while (byte >= 0x20);\n longitude_change = result & 1 ? ~(result >> 1) : result >> 1;\n lat += latitude_change;\n lng += longitude_change;\n coordinates.push([lat / factor, lng / factor]);\n }\n return coordinates;\n};\n\n/**\n * Encodes the given [latitude, longitude] coordinates array.\n *\n * @param {Array.<Array.<Number>>} coordinates\n * @param {Number} precision\n * @returns {String}\n */\npolyline.encode = function (coordinates, precision) {\n if (!coordinates.length) {\n return '';\n }\n var factor = Math.pow(10, precision || 5),\n output = encode(coordinates[0][0], factor) + encode(coordinates[0][1], factor);\n for (var i = 1; i < coordinates.length; i++) {\n var a = coordinates[i],\n b = coordinates[i - 1];\n output += encode(a[0] - b[0], factor);\n output += encode(a[1] - b[1], factor);\n }\n return output;\n};\nfunction flipped(coords) {\n var flipped = [];\n for (var i = 0; i < coords.length; i++) {\n flipped.push(coords[i].slice().reverse());\n }\n return flipped;\n}\n\n/**\n * Encodes a GeoJSON LineString feature/geometry.\n *\n * @param {Object} geojson\n * @param {Number} precision\n * @returns {String}\n */\npolyline.fromGeoJSON = function (geojson, precision) {\n if (geojson && geojson.type === 'Feature') {\n geojson = geojson.geometry;\n }\n if (!geojson || geojson.type !== 'LineString') {\n throw new Error('Input must be a GeoJSON LineString');\n }\n return polyline.encode(flipped(geojson.coordinates), precision);\n};\n\n/**\n * Decodes to a GeoJSON LineString geometry.\n *\n * @param {String} str\n * @param {Number} precision\n * @returns {Object}\n */\npolyline.toGeoJSON = function (str, precision) {\n var coords = polyline.decode(str, precision);\n return {\n type: 'LineString',\n coordinates: flipped(coords)\n };\n};\nif ( true && module.exports) {\n module.exports = polyline;\n}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/polyline/src/polyline.js?"); 379 380/***/ }), 381
vendor: 2,526 bytes, lines 382-391
382/***/ "./node_modules/sexagesimal/index.js": 383/*!*******************************************!*\ 384 !*** ./node_modules/sexagesimal/index.js ***! 385 \*******************************************/ 386/***/ (function(module) { 387 388eval("module.exports = element;\nmodule.exports.pair = pair;\nmodule.exports.format = format;\nmodule.exports.formatPair = formatPair;\nmodule.exports.coordToDMS = coordToDMS;\nfunction element(x, dims) {\n return search(x, dims).val;\n}\nfunction formatPair(x) {\n return format(x.lat, 'lat') + ' ' + format(x.lon, 'lon');\n}\n\n// Is 0 North or South?\nfunction format(x, dim) {\n var dms = coordToDMS(x, dim);\n return dms.whole + '° ' + (dms.minutes ? dms.minutes + '\\' ' : '') + (dms.seconds ? dms.seconds + '\" ' : '') + dms.dir;\n}\nfunction coordToDMS(x, dim) {\n var dirs = {\n lat: ['N', 'S'],\n lon: ['E', 'W']\n }[dim] || '',\n dir = dirs[x >= 0 ? 0 : 1],\n abs = Math.abs(x),\n whole = Math.floor(abs),\n fraction = abs - whole,\n fractionMinutes = fraction * 60,\n minutes = Math.floor(fractionMinutes),\n seconds = Math.floor((fractionMinutes - minutes) * 60);\n return {\n whole: whole,\n minutes: minutes,\n seconds: seconds,\n dir: dir\n };\n}\nfunction search(x, dims, r) {\n if (!dims) dims = 'NSEW';\n if (typeof x !== 'string') return {\n val: null,\n regex: r\n };\n r = r || /[\\s\\,]*([\\-|\\â|\\â]?[0-9.]+)°? *(?:([0-9.]+)['ââ²â] *)?(?:([0-9.]+)(?:''|\"|â|â³) *)?([NSEW])?/gi;\n var m = r.exec(x);\n if (!m) return {\n val: null,\n regex: r\n };else if (m[4] && dims.indexOf(m[4]) === -1) return {\n val: null,\n regex: r\n };else return {\n val: ((m[1] ? parseFloat(m[1]) : 0) + (m[2] ? parseFloat(m[2]) / 60 : 0) + (m[3] ? parseFloat(m[3]) / 3600 : 0)) * (m[4] && m[4] === 'S' || m[4] === 'W' ? -1 : 1),\n regex: r,\n raw: m[0],\n dim: m[4]\n };\n}\nfunction pair(x, dims) {\n x = x.trim();\n var one = search(x, dims);\n if (one.val === null) return null;\n var two = search(x, dims, one.regex);\n if (two.val === null) return null;\n // null if one/two are not contiguous.\n if (one.raw + two.raw !== x) return null;\n if (one.dim) {\n return swapdim(one.val, two.val, one.dim);\n } else {\n return [one.val, two.val];\n }\n}\nfunction swapdim(a, b, dim) {\n if (dim === 'N' || dim === 'S') return [a, b];\n if (dim === 'W' || dim === 'E') return [b, a];\n}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/sexagesimal/index.js?"); 389 390/***/ }), 391
vendor: 14,235 bytes, lines 392-401
392/***/ "./node_modules/togeojson/togeojson.js": 393/*!*********************************************!*\ 394 !*** ./node_modules/togeojson/togeojson.js ***! 395 \*********************************************/ 396/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 397 398eval("__webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\nvar toGeoJSON = function () {\n 'use strict';\n\n var removeSpace = /\\s*/g,\n trimSpace = /^\\s*|\\s*$/g,\n splitSpace = /\\s+/;\n // generate a short, numeric hash of a string\n function okhash(x) {\n if (!x || !x.length) return 0;\n for (var i = 0, h = 0; i < x.length; i++) {\n h = (h << 5) - h + x.charCodeAt(i) | 0;\n }\n return h;\n }\n // all Y children of X\n function get(x, y) {\n return x.getElementsByTagName(y);\n }\n function attr(x, y) {\n return x.getAttribute(y);\n }\n function attrf(x, y) {\n return parseFloat(attr(x, y));\n }\n // one Y child of X, if any, otherwise null\n function get1(x, y) {\n var n = get(x, y);\n return n.length ? n[0] : null;\n }\n // https://developer.mozilla.org/en-US/docs/Web/API/Node.normalize\n function norm(el) {\n if (el.normalize) {\n el.normalize();\n }\n return el;\n }\n // cast array x into numbers\n function numarray(x) {\n for (var j = 0, o = []; j < x.length; j++) {\n o[j] = parseFloat(x[j]);\n }\n return o;\n }\n function clean(x) {\n var o = {};\n for (var i in x) {\n if (x[i]) {\n o[i] = x[i];\n }\n }\n return o;\n }\n // get the content of a text node, if any\n function nodeVal(x) {\n if (x) {\n norm(x);\n }\n return x && x.textContent || '';\n }\n // get one coordinate from a coordinate array, if any\n function coord1(v) {\n return numarray(v.replace(removeSpace, '').split(','));\n }\n // get all coordinates from a coordinate array as [[],[]]\n function coord(v) {\n var coords = v.replace(trimSpace, '').split(splitSpace),\n o = [];\n for (var i = 0; i < coords.length; i++) {\n o.push(coord1(coords[i]));\n }\n return o;\n }\n function coordPair(x) {\n var ll = [attrf(x, 'lon'), attrf(x, 'lat')],\n ele = get1(x, 'ele'),\n // handle namespaced attribute in browser\n heartRate = get1(x, 'gpxtpx:hr') || get1(x, 'hr'),\n time = get1(x, 'time'),\n e;\n if (ele) {\n e = parseFloat(nodeVal(ele));\n if (!isNaN(e)) {\n ll.push(e);\n }\n }\n return {\n coordinates: ll,\n time: time ? nodeVal(time) : null,\n heartRate: heartRate ? parseFloat(nodeVal(heartRate)) : null\n };\n }\n\n // create a new feature collection parent object\n function fc() {\n return {\n type: 'FeatureCollection',\n features: []\n };\n }\n var serializer;\n if (typeof XMLSerializer !== 'undefined') {\n /* istanbul ignore next */\n serializer = new XMLSerializer();\n // only require xmldom in a node environment\n } else if ( true && typeof process === 'object' && !process.browser) {\n serializer = new ((__webpack_require__(/*! xmldom */ \"?b467\").XMLSerializer))();\n }\n function xml2str(str) {\n // IE9 will create a new XMLSerializer but it'll crash immediately.\n // This line is ignored because we don't run coverage tests in IE9\n /* istanbul ignore next */\n if (str.xml !== undefined) return str.xml;\n return serializer.serializeToString(str);\n }\n var t = {\n kml: function (doc) {\n var gj = fc(),\n // styleindex keeps track of hashed styles in order to match features\n styleIndex = {},\n // atomic geospatial types supported by KML - MultiGeometry is\n // handled separately\n geotypes = ['Polygon', 'LineString', 'Point', 'Track', 'gx:Track'],\n // all root placemarks in the file\n placemarks = get(doc, 'Placemark'),\n styles = get(doc, 'Style'),\n styleMaps = get(doc, 'StyleMap');\n for (var k = 0; k < styles.length; k++) {\n styleIndex['#' + attr(styles[k], 'id')] = okhash(xml2str(styles[k])).toString(16);\n }\n for (var l = 0; l < styleMaps.length; l++) {\n styleIndex['#' + attr(styleMaps[l], 'id')] = okhash(xml2str(styleMaps[l])).toString(16);\n }\n for (var j = 0; j < placemarks.length; j++) {\n gj.features = gj.features.concat(getPlacemark(placemarks[j]));\n }\n function kmlColor(v) {\n var color, opacity;\n v = v || '';\n if (v.substr(0, 1) === '#') {\n v = v.substr(1);\n }\n if (v.length === 6 || v.length === 3) {\n color = v;\n }\n if (v.length === 8) {\n opacity = parseInt(v.substr(0, 2), 16) / 255;\n color = '#' + v.substr(2);\n }\n return [color, isNaN(opacity) ? undefined : opacity];\n }\n function gxCoord(v) {\n return numarray(v.split(' '));\n }\n function gxCoords(root) {\n var elems = get(root, 'coord', 'gx'),\n coords = [],\n times = [];\n if (elems.length === 0) elems = get(root, 'gx:coord');\n for (var i = 0; i < elems.length; i++) coords.push(gxCoord(nodeVal(elems[i])));\n var timeElems = get(root, 'when');\n for (var j = 0; j < timeElems.length; j++) times.push(nodeVal(timeElems[j]));\n return {\n coords: coords,\n times: times\n };\n }\n function getGeometry(root) {\n var geomNode,\n geomNodes,\n i,\n j,\n k,\n geoms = [],\n coordTimes = [];\n if (get1(root, 'MultiGeometry')) {\n return getGeometry(get1(root, 'MultiGeometry'));\n }\n if (get1(root, 'MultiTrack')) {\n return getGeometry(get1(root, 'MultiTrack'));\n }\n if (get1(root, 'gx:MultiTrack')) {\n return getGeometry(get1(root, 'gx:MultiTrack'));\n }\n for (i = 0; i < geotypes.length; i++) {\n geomNodes = get(root, geotypes[i]);\n if (geomNodes) {\n for (j = 0; j < geomNodes.length; j++) {\n geomNode = geomNodes[j];\n if (geotypes[i] === 'Point') {\n geoms.push({\n type: 'Point',\n coordinates: coord1(nodeVal(get1(geomNode, 'coordinates')))\n });\n } else if (geotypes[i] === 'LineString') {\n geoms.push({\n type: 'LineString',\n coordinates: coord(nodeVal(get1(geomNode, 'coordinates')))\n });\n } else if (geotypes[i] === 'Polygon') {\n var rings = get(geomNode, 'LinearRing'),\n coords = [];\n for (k = 0; k < rings.length; k++) {\n coords.push(coord(nodeVal(get1(rings[k], 'coordinates'))));\n }\n geoms.push({\n type: 'Polygon',\n coordinates: coords\n });\n } else if (geotypes[i] === 'Track' || geotypes[i] === 'gx:Track') {\n var track = gxCoords(geomNode);\n geoms.push({\n type: 'LineString',\n coordinates: track.coords\n });\n if (track.times.length) coordTimes.push(track.times);\n }\n }\n }\n }\n return {\n geoms: geoms,\n coordTimes: coordTimes\n };\n }\n function getPlacemark(root) {\n var geomsAndTimes = getGeometry(root),\n i,\n properties = {},\n name = nodeVal(get1(root, 'name')),\n styleUrl = nodeVal(get1(root, 'styleUrl')),\n description = nodeVal(get1(root, 'description')),\n timeSpan = get1(root, 'TimeSpan'),\n extendedData = get1(root, 'ExtendedData'),\n lineStyle = get1(root, 'LineStyle'),\n polyStyle = get1(root, 'PolyStyle');\n if (!geomsAndTimes.geoms.length) return [];\n if (name) properties.name = name;\n if (styleUrl[0] !== '#') {\n styleUrl = '#' + styleUrl;\n }\n if (styleUrl && styleIndex[styleUrl]) {\n properties.styleUrl = styleUrl;\n properties.styleHash = styleIndex[styleUrl];\n }\n if (description) properties.description = description;\n if (timeSpan) {\n var begin = nodeVal(get1(timeSpan, 'begin'));\n var end = nodeVal(get1(timeSpan, 'end'));\n properties.timespan = {\n begin: begin,\n end: end\n };\n }\n if (lineStyle) {\n var linestyles = kmlColor(nodeVal(get1(lineStyle, 'color'))),\n color = linestyles[0],\n opacity = linestyles[1],\n width = parseFloat(nodeVal(get1(lineStyle, 'width')));\n if (color) properties.stroke = color;\n if (!isNaN(opacity)) properties['stroke-opacity'] = opacity;\n if (!isNaN(width)) properties['stroke-width'] = width;\n }\n if (polyStyle) {\n var polystyles = kmlColor(nodeVal(get1(polyStyle, 'color'))),\n pcolor = polystyles[0],\n popacity = polystyles[1],\n fill = nodeVal(get1(polyStyle, 'fill')),\n outline = nodeVal(get1(polyStyle, 'outline'));\n if (pcolor) properties.fill = pcolor;\n if (!isNaN(popacity)) properties['fill-opacity'] = popacity;\n if (fill) properties['fill-opacity'] = fill === '1' ? 1 : 0;\n if (outline) properties['stroke-opacity'] = outline === '1' ? 1 : 0;\n }\n if (extendedData) {\n var datas = get(extendedData, 'Data'),\n simpleDatas = get(extendedData, 'SimpleData');\n for (i = 0; i < datas.length; i++) {\n properties[datas[i].getAttribute('name')] = nodeVal(get1(datas[i], 'value'));\n }\n for (i = 0; i < simpleDatas.length; i++) {\n properties[simpleDatas[i].getAttribute('name')] = nodeVal(simpleDatas[i]);\n }\n }\n if (geomsAndTimes.coordTimes.length) {\n properties.coordTimes = geomsAndTimes.coordTimes.length === 1 ? geomsAndTimes.coordTimes[0] : geomsAndTimes.coordTimes;\n }\n var feature = {\n type: 'Feature',\n geometry: geomsAndTimes.geoms.length === 1 ? geomsAndTimes.geoms[0] : {\n type: 'GeometryCollection',\n geometries: geomsAndTimes.geoms\n },\n properties: properties\n };\n if (attr(root, 'id')) feature.id = attr(root, 'id');\n return [feature];\n }\n return gj;\n },\n gpx: function (doc) {\n var i,\n tracks = get(doc, 'trk'),\n routes = get(doc, 'rte'),\n waypoints = get(doc, 'wpt'),\n // a feature collection\n gj = fc(),\n feature;\n for (i = 0; i < tracks.length; i++) {\n feature = getTrack(tracks[i]);\n if (feature) gj.features.push(feature);\n }\n for (i = 0; i < routes.length; i++) {\n feature = getRoute(routes[i]);\n if (feature) gj.features.push(feature);\n }\n for (i = 0; i < waypoints.length; i++) {\n gj.features.push(getPoint(waypoints[i]));\n }\n function getPoints(node, pointname) {\n var pts = get(node, pointname),\n line = [],\n times = [],\n heartRates = [],\n l = pts.length;\n if (l < 2) return {}; // Invalid line in GeoJSON\n for (var i = 0; i < l; i++) {\n var c = coordPair(pts[i]);\n line.push(c.coordinates);\n if (c.time) times.push(c.time);\n if (c.heartRate) heartRates.push(c.heartRate);\n }\n return {\n line: line,\n times: times,\n heartRates: heartRates\n };\n }\n function getTrack(node) {\n var segments = get(node, 'trkseg'),\n track = [],\n times = [],\n heartRates = [],\n line;\n for (var i = 0; i < segments.length; i++) {\n line = getPoints(segments[i], 'trkpt');\n if (line.line) track.push(line.line);\n if (line.times && line.times.length) times.push(line.times);\n if (line.heartRates && line.heartRates.length) heartRates.push(line.heartRates);\n }\n if (track.length === 0) return;\n var properties = getProperties(node);\n if (times.length) properties.coordTimes = track.length === 1 ? times[0] : times;\n if (heartRates.length) properties.heartRates = track.length === 1 ? heartRates[0] : heartRates;\n return {\n type: 'Feature',\n properties: properties,\n geometry: {\n type: track.length === 1 ? 'LineString' : 'MultiLineString',\n coordinates: track.length === 1 ? track[0] : track\n }\n };\n }\n function getRoute(node) {\n var line = getPoints(node, 'rtept');\n if (!line.line) return;\n var routeObj = {\n type: 'Feature',\n properties: getProperties(node),\n geometry: {\n type: 'LineString',\n coordinates: line.line\n }\n };\n return routeObj;\n }\n function getPoint(node) {\n var prop = getProperties(node);\n prop.sym = nodeVal(get1(node, 'sym'));\n return {\n type: 'Feature',\n properties: prop,\n geometry: {\n type: 'Point',\n coordinates: coordPair(node).coordinates\n }\n };\n }\n function getProperties(node) {\n var meta = ['name', 'desc', 'author', 'copyright', 'link', 'time', 'keywords'],\n prop = {},\n k;\n for (k = 0; k < meta.length; k++) {\n prop[meta[k]] = nodeVal(get1(node, meta[k]));\n }\n return clean(prop);\n }\n return gj;\n }\n };\n return t;\n}();\nif (true) module.exports = toGeoJSON;\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/togeojson/togeojson.js?"); 399 400/***/ }), 401
vendor: 16,544 bytes, lines 402-411
402/***/ "./node_modules/topojson/build/topojson.js": 403/*!*************************************************!*\ 404 !*** ./node_modules/topojson/build/topojson.js ***! 405 \*************************************************/ 406/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 407 408eval("__webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n(function (global, factory) {\n true ? factory(exports) : 0;\n})(this, function (exports) {\n 'use strict';\n\n function noop() {}\n function transformAbsolute(transform) {\n if (!transform) return noop;\n var x0,\n y0,\n kx = transform.scale[0],\n ky = transform.scale[1],\n dx = transform.translate[0],\n dy = transform.translate[1];\n return function (point, i) {\n if (!i) x0 = y0 = 0;\n point[0] = (x0 += point[0]) * kx + dx;\n point[1] = (y0 += point[1]) * ky + dy;\n };\n }\n function transformRelative(transform) {\n if (!transform) return noop;\n var x0,\n y0,\n kx = transform.scale[0],\n ky = transform.scale[1],\n dx = transform.translate[0],\n dy = transform.translate[1];\n return function (point, i) {\n if (!i) x0 = y0 = 0;\n var x1 = Math.round((point[0] - dx) / kx),\n y1 = Math.round((point[1] - dy) / ky);\n point[0] = x1 - x0;\n point[1] = y1 - y0;\n x0 = x1;\n y0 = y1;\n };\n }\n function reverse(array, n) {\n var t,\n j = array.length,\n i = j - n;\n while (i < --j) t = array[i], array[i++] = array[j], array[j] = t;\n }\n function bisect(a, x) {\n var lo = 0,\n hi = a.length;\n while (lo < hi) {\n var mid = lo + hi >>> 1;\n if (a[mid] < x) lo = mid + 1;else hi = mid;\n }\n return lo;\n }\n function feature(topology, o) {\n return o.type === \"GeometryCollection\" ? {\n type: \"FeatureCollection\",\n features: o.geometries.map(function (o) {\n return feature$1(topology, o);\n })\n } : feature$1(topology, o);\n }\n function feature$1(topology, o) {\n var f = {\n type: \"Feature\",\n id: o.id,\n properties: o.properties || {},\n geometry: object(topology, o)\n };\n if (o.id == null) delete f.id;\n return f;\n }\n function object(topology, o) {\n var absolute = transformAbsolute(topology.transform),\n arcs = topology.arcs;\n function arc(i, points) {\n if (points.length) points.pop();\n for (var a = arcs[i < 0 ? ~i : i], k = 0, n = a.length, p; k < n; ++k) {\n points.push(p = a[k].slice());\n absolute(p, k);\n }\n if (i < 0) reverse(points, n);\n }\n function point(p) {\n p = p.slice();\n absolute(p, 0);\n return p;\n }\n function line(arcs) {\n var points = [];\n for (var i = 0, n = arcs.length; i < n; ++i) arc(arcs[i], points);\n if (points.length < 2) points.push(points[0].slice());\n return points;\n }\n function ring(arcs) {\n var points = line(arcs);\n while (points.length < 4) points.push(points[0].slice());\n return points;\n }\n function polygon(arcs) {\n return arcs.map(ring);\n }\n function geometry(o) {\n var t = o.type;\n return t === \"GeometryCollection\" ? {\n type: t,\n geometries: o.geometries.map(geometry)\n } : t in geometryType ? {\n type: t,\n coordinates: geometryType[t](o)\n } : null;\n }\n var geometryType = {\n Point: function (o) {\n return point(o.coordinates);\n },\n MultiPoint: function (o) {\n return o.coordinates.map(point);\n },\n LineString: function (o) {\n return line(o.arcs);\n },\n MultiLineString: function (o) {\n return o.arcs.map(line);\n },\n Polygon: function (o) {\n return polygon(o.arcs);\n },\n MultiPolygon: function (o) {\n return o.arcs.map(polygon);\n }\n };\n return geometry(o);\n }\n function stitchArcs(topology, arcs) {\n var stitchedArcs = {},\n fragmentByStart = {},\n fragmentByEnd = {},\n fragments = [],\n emptyIndex = -1;\n\n // Stitch empty arcs first, since they may be subsumed by other arcs.\n arcs.forEach(function (i, j) {\n var arc = topology.arcs[i < 0 ? ~i : i],\n t;\n if (arc.length < 3 && !arc[1][0] && !arc[1][1]) {\n t = arcs[++emptyIndex], arcs[emptyIndex] = i, arcs[j] = t;\n }\n });\n arcs.forEach(function (i) {\n var e = ends(i),\n start = e[0],\n end = e[1],\n f,\n g;\n if (f = fragmentByEnd[start]) {\n delete fragmentByEnd[f.end];\n f.push(i);\n f.end = end;\n if (g = fragmentByStart[end]) {\n delete fragmentByStart[g.start];\n var fg = g === f ? f : f.concat(g);\n fragmentByStart[fg.start = f.start] = fragmentByEnd[fg.end = g.end] = fg;\n } else {\n fragmentByStart[f.start] = fragmentByEnd[f.end] = f;\n }\n } else if (f = fragmentByStart[end]) {\n delete fragmentByStart[f.start];\n f.unshift(i);\n f.start = start;\n if (g = fragmentByEnd[start]) {\n delete fragmentByEnd[g.end];\n var gf = g === f ? f : g.concat(f);\n fragmentByStart[gf.start = g.start] = fragmentByEnd[gf.end = f.end] = gf;\n } else {\n fragmentByStart[f.start] = fragmentByEnd[f.end] = f;\n }\n } else {\n f = [i];\n fragmentByStart[f.start = start] = fragmentByEnd[f.end = end] = f;\n }\n });\n function ends(i) {\n var arc = topology.arcs[i < 0 ? ~i : i],\n p0 = arc[0],\n p1;\n if (topology.transform) p1 = [0, 0], arc.forEach(function (dp) {\n p1[0] += dp[0], p1[1] += dp[1];\n });else p1 = arc[arc.length - 1];\n return i < 0 ? [p1, p0] : [p0, p1];\n }\n function flush(fragmentByEnd, fragmentByStart) {\n for (var k in fragmentByEnd) {\n var f = fragmentByEnd[k];\n delete fragmentByStart[f.start];\n delete f.start;\n delete f.end;\n f.forEach(function (i) {\n stitchedArcs[i < 0 ? ~i : i] = 1;\n });\n fragments.push(f);\n }\n }\n flush(fragmentByEnd, fragmentByStart);\n flush(fragmentByStart, fragmentByEnd);\n arcs.forEach(function (i) {\n if (!stitchedArcs[i < 0 ? ~i : i]) fragments.push([i]);\n });\n return fragments;\n }\n function mesh(topology) {\n return object(topology, meshArcs.apply(this, arguments));\n }\n function meshArcs(topology, o, filter) {\n var arcs = [];\n function arc(i) {\n var j = i < 0 ? ~i : i;\n (geomsByArc[j] || (geomsByArc[j] = [])).push({\n i: i,\n g: geom\n });\n }\n function line(arcs) {\n arcs.forEach(arc);\n }\n function polygon(arcs) {\n arcs.forEach(line);\n }\n function geometry(o) {\n if (o.type === \"GeometryCollection\") o.geometries.forEach(geometry);else if (o.type in geometryType) geom = o, geometryType[o.type](o.arcs);\n }\n if (arguments.length > 1) {\n var geomsByArc = [],\n geom;\n var geometryType = {\n LineString: line,\n MultiLineString: polygon,\n Polygon: polygon,\n MultiPolygon: function (arcs) {\n arcs.forEach(polygon);\n }\n };\n geometry(o);\n geomsByArc.forEach(arguments.length < 3 ? function (geoms) {\n arcs.push(geoms[0].i);\n } : function (geoms) {\n if (filter(geoms[0].g, geoms[geoms.length - 1].g)) arcs.push(geoms[0].i);\n });\n } else {\n for (var i = 0, n = topology.arcs.length; i < n; ++i) arcs.push(i);\n }\n return {\n type: \"MultiLineString\",\n arcs: stitchArcs(topology, arcs)\n };\n }\n function cartesianTriangleArea(triangle) {\n var a = triangle[0],\n b = triangle[1],\n c = triangle[2];\n return Math.abs((a[0] - c[0]) * (b[1] - a[1]) - (a[0] - b[0]) * (c[1] - a[1]));\n }\n function ring(ring) {\n var i = -1,\n n = ring.length,\n a,\n b = ring[n - 1],\n area = 0;\n while (++i < n) {\n a = b;\n b = ring[i];\n area += a[0] * b[1] - a[1] * b[0];\n }\n return area / 2;\n }\n function merge(topology) {\n return object(topology, mergeArcs.apply(this, arguments));\n }\n function mergeArcs(topology, objects) {\n var polygonsByArc = {},\n polygons = [],\n components = [];\n objects.forEach(function (o) {\n if (o.type === \"Polygon\") register(o.arcs);else if (o.type === \"MultiPolygon\") o.arcs.forEach(register);\n });\n function register(polygon) {\n polygon.forEach(function (ring$$) {\n ring$$.forEach(function (arc) {\n (polygonsByArc[arc = arc < 0 ? ~arc : arc] || (polygonsByArc[arc] = [])).push(polygon);\n });\n });\n polygons.push(polygon);\n }\n function area(ring$$) {\n return Math.abs(ring(object(topology, {\n type: \"Polygon\",\n arcs: [ring$$]\n }).coordinates[0]));\n }\n polygons.forEach(function (polygon) {\n if (!polygon._) {\n var component = [],\n neighbors = [polygon];\n polygon._ = 1;\n components.push(component);\n while (polygon = neighbors.pop()) {\n component.push(polygon);\n polygon.forEach(function (ring$$) {\n ring$$.forEach(function (arc) {\n polygonsByArc[arc < 0 ? ~arc : arc].forEach(function (polygon) {\n if (!polygon._) {\n polygon._ = 1;\n neighbors.push(polygon);\n }\n });\n });\n });\n }\n }\n });\n polygons.forEach(function (polygon) {\n delete polygon._;\n });\n return {\n type: \"MultiPolygon\",\n arcs: components.map(function (polygons) {\n var arcs = [],\n n;\n\n // Extract the exterior (unique) arcs.\n polygons.forEach(function (polygon) {\n polygon.forEach(function (ring$$) {\n ring$$.forEach(function (arc) {\n if (polygonsByArc[arc < 0 ? ~arc : arc].length < 2) {\n arcs.push(arc);\n }\n });\n });\n });\n\n // Stitch the arcs into one or more rings.\n arcs = stitchArcs(topology, arcs);\n\n // If more than one ring is returned,\n // at most one of these rings can be the exterior;\n // choose the one with the greatest absolute area.\n if ((n = arcs.length) > 1) {\n for (var i = 1, k = area(arcs[0]), ki, t; i < n; ++i) {\n if ((ki = area(arcs[i])) > k) {\n t = arcs[0], arcs[0] = arcs[i], arcs[i] = t, k = ki;\n }\n }\n }\n return arcs;\n })\n };\n }\n function neighbors(objects) {\n var indexesByArc = {},\n // arc index -> array of object indexes\n neighbors = objects.map(function () {\n return [];\n });\n function line(arcs, i) {\n arcs.forEach(function (a) {\n if (a < 0) a = ~a;\n var o = indexesByArc[a];\n if (o) o.push(i);else indexesByArc[a] = [i];\n });\n }\n function polygon(arcs, i) {\n arcs.forEach(function (arc) {\n line(arc, i);\n });\n }\n function geometry(o, i) {\n if (o.type === \"GeometryCollection\") o.geometries.forEach(function (o) {\n geometry(o, i);\n });else if (o.type in geometryType) geometryType[o.type](o.arcs, i);\n }\n var geometryType = {\n LineString: line,\n MultiLineString: polygon,\n Polygon: polygon,\n MultiPolygon: function (arcs, i) {\n arcs.forEach(function (arc) {\n polygon(arc, i);\n });\n }\n };\n objects.forEach(geometry);\n for (var i in indexesByArc) {\n for (var indexes = indexesByArc[i], m = indexes.length, j = 0; j < m; ++j) {\n for (var k = j + 1; k < m; ++k) {\n var ij = indexes[j],\n ik = indexes[k],\n n;\n if ((n = neighbors[ij])[i = bisect(n, ik)] !== ik) n.splice(i, 0, ik);\n if ((n = neighbors[ik])[i = bisect(n, ij)] !== ij) n.splice(i, 0, ij);\n }\n }\n }\n return neighbors;\n }\n function compareArea(a, b) {\n return a[1][2] - b[1][2];\n }\n function minAreaHeap() {\n var heap = {},\n array = [],\n size = 0;\n heap.push = function (object) {\n up(array[object._ = size] = object, size++);\n return size;\n };\n heap.pop = function () {\n if (size <= 0) return;\n var removed = array[0],\n object;\n if (--size > 0) object = array[size], down(array[object._ = 0] = object, 0);\n return removed;\n };\n heap.remove = function (removed) {\n var i = removed._,\n object;\n if (array[i] !== removed) return; // invalid request\n if (i !== --size) object = array[size], (compareArea(object, removed) < 0 ? up : down)(array[object._ = i] = object, i);\n return i;\n };\n function up(object, i) {\n while (i > 0) {\n var j = (i + 1 >> 1) - 1,\n parent = array[j];\n if (compareArea(object, parent) >= 0) break;\n array[parent._ = i] = parent;\n array[object._ = i = j] = object;\n }\n }\n function down(object, i) {\n while (true) {\n var r = i + 1 << 1,\n l = r - 1,\n j = i,\n child = array[j];\n if (l < size && compareArea(array[l], child) < 0) child = array[j = l];\n if (r < size && compareArea(array[r], child) < 0) child = array[j = r];\n if (j === i) break;\n array[child._ = i] = child;\n array[object._ = i = j] = object;\n }\n }\n return heap;\n }\n function presimplify(topology, triangleArea) {\n var absolute = transformAbsolute(topology.transform),\n relative = transformRelative(topology.transform),\n heap = minAreaHeap();\n if (!triangleArea) triangleArea = cartesianTriangleArea;\n topology.arcs.forEach(function (arc) {\n var triangles = [],\n maxArea = 0,\n triangle,\n i,\n n,\n p;\n\n // To store each pointâs effective area, we create a new array rather than\n // extending the passed-in point to workaround a Chrome/V8 bug (getting\n // stuck in smi mode). For midpoints, the initial effective area of\n // Infinity will be computed in the next step.\n for (i = 0, n = arc.length; i < n; ++i) {\n p = arc[i];\n absolute(arc[i] = [p[0], p[1], Infinity], i);\n }\n for (i = 1, n = arc.length - 1; i < n; ++i) {\n triangle = arc.slice(i - 1, i + 2);\n triangle[1][2] = triangleArea(triangle);\n triangles.push(triangle);\n heap.push(triangle);\n }\n for (i = 0, n = triangles.length; i < n; ++i) {\n triangle = triangles[i];\n triangle.previous = triangles[i - 1];\n triangle.next = triangles[i + 1];\n }\n while (triangle = heap.pop()) {\n var previous = triangle.previous,\n next = triangle.next;\n\n // If the area of the current point is less than that of the previous point\n // to be eliminated, use the latter's area instead. This ensures that the\n // current point cannot be eliminated without eliminating previously-\n // eliminated points.\n if (triangle[1][2] < maxArea) triangle[1][2] = maxArea;else maxArea = triangle[1][2];\n if (previous) {\n previous.next = next;\n previous[2] = triangle[2];\n update(previous);\n }\n if (next) {\n next.previous = previous;\n next[0] = triangle[0];\n update(next);\n }\n }\n arc.forEach(relative);\n });\n function update(triangle) {\n heap.remove(triangle);\n triangle[1][2] = triangleArea(triangle);\n heap.push(triangle);\n }\n return topology;\n }\n var version = \"1.6.26\";\n exports.version = version;\n exports.mesh = mesh;\n exports.meshArcs = meshArcs;\n exports.merge = merge;\n exports.mergeArcs = mergeArcs;\n exports.feature = feature;\n exports.neighbors = neighbors;\n exports.presimplify = presimplify;\n});\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/topojson/build/topojson.js?"); 409 410/***/ }), 411
vendor: 34,900 bytes, lines 412-532
412/***/ "./node_modules/vue-loader/dist/exportHelper.js": 413/*!******************************************************!*\ 414 !*** ./node_modules/vue-loader/dist/exportHelper.js ***! 415 \******************************************************/ 416/***/ (function(__unused_webpack_module, exports) { 417 418"use strict"; 419eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports[\"default\"] = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/vue-loader/dist/exportHelper.js?"); 420 421/***/ }), 422 423/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/autocomplete.vue?vue&type=script&lang=js": 424/*!**********************************************************************************************************************************************************************************************************************************!*\ 425 !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/autocomplete.vue?vue&type=script&lang=js ***! 426 \**********************************************************************************************************************************************************************************************************************************/ 427/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 428 429"use strict"; 430eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils_bindProps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/bindProps.js */ \"./node_modules/@fawmi/vue-google-maps/src/utils/bindProps.js\");\n/* harmony import */ var _utils_simulateArrowDown_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/simulateArrowDown.js */ \"./node_modules/@fawmi/vue-google-maps/src/utils/simulateArrowDown.js\");\n/* harmony import */ var _build_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./build-component */ \"./node_modules/@fawmi/vue-google-maps/src/components/build-component.js\");\n\n\n\nconst mappedProps = {\n bounds: {\n type: Object\n },\n componentRestrictions: {\n type: Object,\n // Do not bind -- must check for undefined\n // in the property\n noBind: true\n },\n types: {\n type: Array,\n default: function () {\n return [];\n }\n }\n};\nconst props = {\n selectFirstOnEnter: {\n required: false,\n type: Boolean,\n default: false\n },\n options: {\n type: Object\n }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n mounted() {\n this.$gmapApiPromiseLazy().then(() => {\n if (this.selectFirstOnEnter) {\n (0,_utils_simulateArrowDown_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(this.$refs.input);\n }\n if (typeof google.maps.places.Autocomplete !== 'function') {\n throw new Error(\"google.maps.places.Autocomplete is undefined. Did you add 'places' to libraries when loading Google Maps?\");\n }\n\n /* eslint-disable no-unused-vars */\n const finalOptions = {\n ...(0,_utils_bindProps_js__WEBPACK_IMPORTED_MODULE_0__.getPropsValues)(this, mappedProps),\n ...this.options\n };\n this.$autocomplete = new google.maps.places.Autocomplete(this.$refs.input, finalOptions);\n (0,_utils_bindProps_js__WEBPACK_IMPORTED_MODULE_0__.bindProps)(this, this.$autocomplete, mappedProps);\n this.$watch('componentRestrictions', v => {\n if (v !== undefined) {\n this.$autocomplete.setComponentRestrictions(v);\n }\n });\n\n // Not using `bindEvents` because we also want\n // to return the result of `getPlace()`\n this.$autocomplete.addListener('place_changed', () => {\n this.$emit('place_changed', this.$autocomplete.getPlace());\n });\n });\n },\n props: {\n ...(0,_build_component__WEBPACK_IMPORTED_MODULE_2__.mappedPropsToVueProps)(mappedProps),\n ...props\n }\n});\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/autocomplete.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D"); 431 432/***/ }), 433 434/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/cluster.vue?vue&type=script&lang=js": 435/*!*****************************************************************************************************************************************************************************************************************************!*\ 436 !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/cluster.vue?vue&type=script&lang=js ***! 437 \*****************************************************************************************************************************************************************************************************************************/ 438/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 439 440"use strict"; 441eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _googlemaps_markerclusterer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @googlemaps/markerclusterer */ \"./node_modules/@googlemaps/markerclusterer/dist/index.esm.js\");\n/* harmony import */ var _build_component_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./build-component.js */ \"./node_modules/@fawmi/vue-google-maps/src/components/build-component.js\");\n\n\nconst props = {\n maxZoom: {\n type: Number,\n twoWay: false\n },\n batchSizeIE: {\n type: Number,\n twoWay: false\n },\n calculator: {\n type: Function,\n twoWay: false\n },\n enableRetinaIcons: {\n type: Boolean,\n twoWay: false\n },\n gridSize: {\n type: Number,\n twoWay: false\n },\n ignoreHidden: {\n type: Boolean,\n twoWay: false\n },\n imageExtension: {\n type: String,\n twoWay: false\n },\n imagePath: {\n type: String,\n twoWay: false\n },\n imageSizes: {\n type: Array,\n twoWay: false\n },\n minimumClusterSize: {\n type: Number,\n twoWay: false\n },\n styles: {\n type: Array,\n twoWay: false\n },\n zoomOnClick: {\n type: Boolean,\n twoWay: false\n }\n};\nconst events = ['click', 'rightclick', 'dblclick', 'drag', 'dragstart', 'dragend', 'mouseup', 'mousedown', 'mouseover', 'mouseout'];\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,_build_component_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n mappedProps: props,\n events,\n name: 'cluster',\n ctr: () => {\n if (typeof _googlemaps_markerclusterer__WEBPACK_IMPORTED_MODULE_0__.MarkerClusterer === 'undefined') {\n const errorMessage = 'MarkerClusterer is not installed!';\n console.error(errorMessage);\n throw new Error(errorMessage);\n }\n return _googlemaps_markerclusterer__WEBPACK_IMPORTED_MODULE_0__.MarkerClusterer;\n },\n ctrArgs: ({\n map,\n ...otherOptions\n }) => [map, [], otherOptions],\n afterCreate(inst) {\n const reinsertMarkers = () => {\n const oldMarkers = inst.getMarkers();\n inst.clearMarkers();\n inst.addMarkers(oldMarkers);\n };\n for (let prop in props) {\n if (props[prop].twoWay) {\n this.$on(prop.toLowerCase() + '_changed', reinsertMarkers);\n }\n }\n },\n updated() {\n if (this.$clusterObject) {\n this.$clusterObject.repaint();\n }\n },\n beforeUnmount() {\n /* Performance optimization when destroying a large number of markers */\n if (this.$children && this.$children.length) {\n this.$children.forEach(marker => {\n if (marker.$clusterObject === this.$clusterObject) {\n marker.$clusterObject = null;\n }\n });\n }\n if (this.$clusterObject) {\n this.$clusterObject.clearMarkers();\n }\n }\n}));\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/cluster.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D"); 442 443/***/ }), 444 445/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/infoWindow.vue?vue&type=script&lang=js": 446/*!********************************************************************************************************************************************************************************************************************************!*\ 447 !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/infoWindow.vue?vue&type=script&lang=js ***! 448 \********************************************************************************************************************************************************************************************************************************/ 449/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 450 451"use strict"; 452eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _build_component_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./build-component.js */ \"./node_modules/@fawmi/vue-google-maps/src/components/build-component.js\");\n\nconst props = {\n options: {\n type: Object,\n required: false,\n default() {\n return {};\n }\n },\n position: {\n type: Object,\n twoWay: true\n },\n zIndex: {\n type: Number,\n twoWay: true\n }\n};\nconst events = ['domready', 'click', 'closeclick', 'content_changed'];\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,_build_component_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n mappedProps: props,\n events,\n name: 'infoWindow',\n ctr: () => google.maps.InfoWindow,\n props: {\n opened: {\n type: Boolean,\n default: true\n }\n },\n inject: {\n $markerPromise: {\n default: null\n }\n },\n mounted() {\n const el = this.$refs.infoWindow;\n el.parentNode.removeChild(el);\n },\n beforeCreate(options) {\n options.content = this.$refs.infoWindow;\n if (this.$markerPromise) {\n delete options.position;\n return this.$markerPromise.then(mo => {\n this.$markerObject = mo;\n return mo;\n });\n }\n },\n emits: ['closeclick'],\n methods: {\n _openInfoWindow() {\n this.$infoWindowObject.close();\n if (this.opened) {\n this.$infoWindowObject.open(this.$map, this.$markerObject);\n } else {\n this.$emit('closeclick');\n }\n }\n },\n afterCreate() {\n this._openInfoWindow();\n this.$watch('opened', () => {\n this._openInfoWindow();\n });\n }\n}));\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/infoWindow.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D"); 453 454/***/ }), 455 456/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/map.vue?vue&type=script&lang=js": 457/*!*************************************************************************************************************************************************************************************************************************!*\ 458 !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/map.vue?vue&type=script&lang=js ***! 459 \*************************************************************************************************************************************************************************************************************************/ 460/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 461 462"use strict"; 463eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _utils_bindEvents_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/bindEvents.js */ \"./node_modules/@fawmi/vue-google-maps/src/utils/bindEvents.js\");\n/* harmony import */ var _utils_bindProps_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/bindProps.js */ \"./node_modules/@fawmi/vue-google-maps/src/utils/bindProps.js\");\n/* harmony import */ var _utils_mountableMixin_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/mountableMixin.js */ \"./node_modules/@fawmi/vue-google-maps/src/utils/mountableMixin.js\");\n/* harmony import */ var _utils_TwoWayBindingWrapper_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/TwoWayBindingWrapper.js */ \"./node_modules/@fawmi/vue-google-maps/src/utils/TwoWayBindingWrapper.js\");\n/* harmony import */ var _utils_WatchPrimitiveProperties_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/WatchPrimitiveProperties.js */ \"./node_modules/@fawmi/vue-google-maps/src/utils/WatchPrimitiveProperties.js\");\n/* harmony import */ var _build_component_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./build-component.js */ \"./node_modules/@fawmi/vue-google-maps/src/components/build-component.js\");\n\n\n\n\n\n\nconst props = {\n center: {\n required: true,\n twoWay: true,\n type: Object,\n noBind: true\n },\n zoom: {\n required: false,\n twoWay: true,\n type: Number,\n noBind: true\n },\n heading: {\n type: Number,\n twoWay: true\n },\n mapTypeId: {\n twoWay: true,\n type: String\n },\n tilt: {\n twoWay: true,\n type: Number\n },\n options: {\n type: Object,\n default() {\n return {};\n }\n }\n};\nconst events = ['bounds_changed', 'click', 'dblclick', 'drag', 'dragend', 'dragstart', 'idle', 'mousemove', 'mouseout', 'mouseover', 'resize', 'rightclick', 'tilesloaded'];\n\n// Plain Google Maps methods exposed here for convenience\nconst linkedMethods = ['panBy', 'panTo', 'panToBounds', 'fitBounds'].reduce((all, methodName) => {\n all[methodName] = function () {\n if (this.$mapObject) {\n this.$mapObject[methodName].apply(this.$mapObject, arguments);\n }\n };\n return all;\n}, {});\n\n// Other convenience methods exposed by Vue Google Maps\nconst customMethods = {\n resize() {\n if (this.$mapObject) {\n google.maps.event.trigger(this.$mapObject, 'resize');\n }\n },\n resizePreserveCenter() {\n if (!this.$mapObject) {\n return;\n }\n const oldCenter = this.$mapObject.getCenter();\n google.maps.event.trigger(this.$mapObject, 'resize');\n this.$mapObject.setCenter(oldCenter);\n },\n /// Override mountableMixin::_resizeCallback\n /// because resizePreserveCenter is usually the\n /// expected behaviour\n _resizeCallback() {\n this.resizePreserveCenter();\n }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n mixins: [_utils_mountableMixin_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"]],\n props: (0,_build_component_js__WEBPACK_IMPORTED_MODULE_5__.mappedPropsToVueProps)({\n ...props,\n ...events.reduce((obj, eventName) => ({\n ...obj,\n [`on${eventName.charAt(0).toUpperCase()}${eventName.slice(1)}`.replace(/[-_]+(.)?/g, (_, c) => c ? c.toUpperCase() : '')]: Function\n }), {})\n }),\n inheritAttrs: false,\n provide() {\n this.$mapPromise = new Promise((resolve, reject) => {\n this.$mapPromiseDeferred = {\n resolve,\n reject\n };\n });\n return {\n $mapPromise: this.$mapPromise\n };\n },\n emits: ['center_changed', 'zoom_changed', 'bounds_changed'],\n computed: {\n finalLat() {\n return this.center && typeof this.center.lat === 'function' ? this.center.lat() : this.center.lat;\n },\n finalLng() {\n return this.center && typeof this.center.lng === 'function' ? this.center.lng() : this.center.lng;\n },\n finalLatLng() {\n return {\n lat: this.finalLat,\n lng: this.finalLng\n };\n }\n },\n watch: {\n zoom(zoom) {\n if (this.$mapObject) {\n this.$mapObject.setZoom(zoom);\n }\n }\n },\n mounted() {\n return this.$gmapApiPromiseLazy().then(() => {\n // getting the DOM element where to create the map\n const element = this.$refs['vue-map'];\n\n // creating the map\n const options = {\n ...this.options,\n ...(0,_utils_bindProps_js__WEBPACK_IMPORTED_MODULE_1__.getPropsValues)(this, props)\n };\n delete options.options;\n this.$mapObject = new google.maps.Map(element, options);\n\n // binding properties (two and one way)\n (0,_utils_bindProps_js__WEBPACK_IMPORTED_MODULE_1__.bindProps)(this, this.$mapObject, props);\n // binding events\n (0,_utils_bindEvents_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(this, this.$mapObject, events);\n\n // manually trigger center and zoom\n (0,_utils_TwoWayBindingWrapper_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])((increment, decrement, shouldUpdate) => {\n this.$mapObject.addListener('center_changed', () => {\n if (shouldUpdate()) {\n this.$emit('center_changed', this.$mapObject.getCenter());\n }\n decrement();\n });\n const updateCenter = () => {\n increment();\n this.$mapObject.setCenter(this.finalLatLng);\n };\n (0,_utils_WatchPrimitiveProperties_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(this, ['finalLat', 'finalLng'], updateCenter);\n });\n this.$mapObject.addListener('zoom_changed', () => {\n this.$emit('zoom_changed', this.$mapObject.getZoom());\n });\n this.$mapObject.addListener('bounds_changed', () => {\n this.$emit('bounds_changed', this.$mapObject.getBounds());\n });\n this.$mapPromiseDeferred.resolve(this.$mapObject);\n return this.$mapObject;\n }).catch(error => {\n throw error;\n });\n },\n methods: {\n ...customMethods,\n ...linkedMethods\n }\n});\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/map.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D"); 464 465/***/ }), 466 467/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/marker.vue?vue&type=script&lang=js": 468/*!****************************************************************************************************************************************************************************************************************************!*\ 469 !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/marker.vue?vue&type=script&lang=js ***! 470 \****************************************************************************************************************************************************************************************************************************/ 471/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 472 473"use strict"; 474eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _build_component_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./build-component.js */ \"./node_modules/@fawmi/vue-google-maps/src/components/build-component.js\");\n\nconst props = {\n animation: {\n twoWay: true,\n type: Number\n },\n attribution: {\n type: Object\n },\n clickable: {\n type: Boolean,\n twoWay: true,\n default: true\n },\n cursor: {\n type: String,\n twoWay: true\n },\n draggable: {\n type: Boolean,\n twoWay: true,\n default: false\n },\n icon: {\n twoWay: true\n },\n label: {},\n opacity: {\n type: Number,\n default: 1\n },\n options: {\n type: Object\n },\n place: {\n type: Object\n },\n position: {\n type: Object,\n twoWay: true\n },\n shape: {\n type: Object,\n twoWay: true\n },\n title: {\n type: String,\n twoWay: true\n },\n zIndex: {\n type: Number,\n twoWay: true\n },\n visible: {\n twoWay: true,\n default: true\n }\n};\nconst events = ['click', 'rightclick', 'dblclick', 'drag', 'dragstart', 'dragend', 'mouseup', 'mousedown', 'mouseover', 'mouseout'];\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,_build_component_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n mappedProps: props,\n events,\n name: 'marker',\n ctr: () => google.maps.Marker,\n inject: {\n $clusterPromise: {\n default: null\n }\n },\n emits: events,\n unmounted() {\n if (!this.$markerObject) {\n return;\n }\n if (this.$clusterObject) {\n // Repaint will be performed in `updated()` of cluster\n this.$clusterObject.removeMarker(this.$markerObject, true);\n } else {\n this.$markerObject.setMap(null);\n }\n },\n beforeCreate(options) {\n if (this.$clusterPromise) {\n options.map = null;\n }\n return this.$clusterPromise;\n },\n afterCreate(inst) {\n events.forEach(event => {\n inst.addListener(event, payload => {\n this.$emit(event, payload);\n });\n });\n if (this.$clusterPromise) {\n this.$clusterPromise.then(co => {\n this.$clusterObject = co;\n co.addMarker(inst);\n });\n }\n }\n}));\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/marker.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D"); 475 476/***/ }), 477 478/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/autocomplete.vue?vue&type=template&id=5b7498ca": 479/*!**************************************************************************************************************************************************************************************************************************************************************************************************************!*\ 480 !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/autocomplete.vue?vue&type=template&id=5b7498ca ***! 481 \**************************************************************************************************************************************************************************************************************************************************************************************************************/ 482/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 483 484"use strict"; 485eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"input\", (0,vue__WEBPACK_IMPORTED_MODULE_0__.mergeProps)({\n ref: \"input\"\n }, _ctx.$attrs, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toHandlers)(_ctx.$attrs, true)), null, 16 /* FULL_PROPS */);\n}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/autocomplete.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D"); 486 487/***/ }), 488 489/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/cluster.vue?vue&type=template&id=b97a24d2": 490/*!*********************************************************************************************************************************************************************************************************************************************************************************************************!*\ 491 !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/cluster.vue?vue&type=template&id=b97a24d2 ***! 492 \*********************************************************************************************************************************************************************************************************************************************************************************************************/ 493/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 494 495"use strict"; 496eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", null, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, \"default\")]);\n}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/cluster.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D"); 497 498/***/ }), 499 500/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/infoWindow.vue?vue&type=template&id=6c9aa5b1": 501/*!************************************************************************************************************************************************************************************************************************************************************************************************************!*\ 502 !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/infoWindow.vue?vue&type=template&id=6c9aa5b1 ***! 503 \************************************************************************************************************************************************************************************************************************************************************************************************************/ 504/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 505 506"use strict"; 507eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _hoisted_1 = {\n ref: \"infoWindow\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, \"default\")], 512 /* NEED_PATCH */);\n}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/infoWindow.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D"); 508 509/***/ }), 510 511/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/map.vue?vue&type=template&id=0c1aca79": 512/*!*****************************************************************************************************************************************************************************************************************************************************************************************************!*\ 513 !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/map.vue?vue&type=template&id=0c1aca79 ***! 514 \*****************************************************************************************************************************************************************************************************************************************************************************************************/ 515/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 516 517"use strict"; 518eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst _hoisted_1 = {\n class: \"vue-map-hidden\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"vue-map-container\", _ctx.$attrs.class])\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n ref: \"vue-map\",\n class: \"vue-map\",\n style: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeStyle)(_ctx.$attrs.style ? _ctx.$attrs.style : '')\n }, null, 4 /* STYLE */), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, \"default\")]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, \"visible\")], 2 /* CLASS */);\n}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/map.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D"); 519 520/***/ }), 521 522/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/marker.vue?vue&type=template&id=21eae1a6": 523/*!********************************************************************************************************************************************************************************************************************************************************************************************************!*\ 524 !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/marker.vue?vue&type=template&id=21eae1a6 ***! 525 \********************************************************************************************************************************************************************************************************************************************************************************************************/ 526/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 527 528"use strict"; 529eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* binding */ render; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n onClick: _cache[0] || (_cache[0] = () => {\n console.log('sdfsd');\n })\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, \"default\")]);\n}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/marker.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use%5B0%5D!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B3%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D"); 530 531/***/ }), 532
vendor: 1,783 bytes, lines 533-543
533/***/ "./node_modules/vue-style-loader/lib/listToStyles.js": 534/*!***********************************************************!*\ 535 !*** ./node_modules/vue-style-loader/lib/listToStyles.js ***! 536 \***********************************************************/ 537/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 538 539"use strict"; 540eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": function() { return /* binding */ listToStyles; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__);\n\n/**\n * Translates the list format produced by css-loader into something\n * easier to manipulate.\n */\nfunction listToStyles(parentId, list) {\n var styles = [];\n var newStyles = {};\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = item[0];\n var css = item[1];\n var media = item[2];\n var sourceMap = item[3];\n var part = {\n id: parentId + ':' + i,\n css: css,\n media: media,\n sourceMap: sourceMap\n };\n if (!newStyles[id]) {\n styles.push(newStyles[id] = {\n id: id,\n parts: [part]\n });\n } else {\n newStyles[id].parts.push(part);\n }\n }\n return styles;\n}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/vue-style-loader/lib/listToStyles.js?"); 541 542/***/ }), 543
vendor: 23,078 bytes, lines 544-554
544/***/ "./node_modules/vue/dist/vue.runtime.esm-bundler.js": 545/*!**********************************************************!*\ 546 !*** ./node_modules/vue/dist/vue.runtime.esm-bundler.js ***! 547 \**********************************************************/ 548/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 549 550"use strict"; 551eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BaseTransition: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.BaseTransition; },\n/* harmony export */ BaseTransitionPropsValidators: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.BaseTransitionPropsValidators; },\n/* harmony export */ Comment: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.Comment; },\n/* harmony export */ EffectScope: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.EffectScope; },\n/* harmony export */ Fragment: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.Fragment; },\n/* harmony export */ KeepAlive: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.KeepAlive; },\n/* harmony export */ ReactiveEffect: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.ReactiveEffect; },\n/* harmony export */ Static: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.Static; },\n/* harmony export */ Suspense: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.Suspense; },\n/* harmony export */ Teleport: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.Teleport; },\n/* harmony export */ Text: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.Text; },\n/* harmony export */ Transition: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.Transition; },\n/* harmony export */ TransitionGroup: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.TransitionGroup; },\n/* harmony export */ VueElement: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.VueElement; },\n/* harmony export */ assertNumber: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.assertNumber; },\n/* harmony export */ callWithAsyncErrorHandling: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.callWithAsyncErrorHandling; },\n/* harmony export */ callWithErrorHandling: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.callWithErrorHandling; },\n/* harmony export */ camelize: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.camelize; },\n/* harmony export */ capitalize: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.capitalize; },\n/* harmony export */ cloneVNode: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.cloneVNode; },\n/* harmony export */ compatUtils: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.compatUtils; },\n/* harmony export */ compile: function() { return /* binding */ compile; },\n/* harmony export */ computed: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.computed; },\n/* harmony export */ createApp: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createApp; },\n/* harmony export */ createBlock: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createBlock; },\n/* harmony export */ createCommentVNode: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode; },\n/* harmony export */ createElementBlock: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createElementBlock; },\n/* harmony export */ createElementVNode: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createElementVNode; },\n/* harmony export */ createHydrationRenderer: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createHydrationRenderer; },\n/* harmony export */ createPropsRestProxy: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createPropsRestProxy; },\n/* harmony export */ createRenderer: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createRenderer; },\n/* harmony export */ createSSRApp: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createSSRApp; },\n/* harmony export */ createSlots: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createSlots; },\n/* harmony export */ createStaticVNode: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createStaticVNode; },\n/* harmony export */ createTextVNode: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createTextVNode; },\n/* harmony export */ createVNode: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createVNode; },\n/* harmony export */ customRef: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.customRef; },\n/* harmony export */ defineAsyncComponent: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineAsyncComponent; },\n/* harmony export */ defineComponent: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineComponent; },\n/* harmony export */ defineCustomElement: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineCustomElement; },\n/* harmony export */ defineEmits: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineEmits; },\n/* harmony export */ defineExpose: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineExpose; },\n/* harmony export */ defineModel: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineModel; },\n/* harmony export */ defineOptions: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineOptions; },\n/* harmony export */ defineProps: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineProps; },\n/* harmony export */ defineSSRCustomElement: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineSSRCustomElement; },\n/* harmony export */ defineSlots: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineSlots; },\n/* harmony export */ devtools: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.devtools; },\n/* harmony export */ effect: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.effect; },\n/* harmony export */ effectScope: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.effectScope; },\n/* harmony export */ getCurrentInstance: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.getCurrentInstance; },\n/* harmony export */ getCurrentScope: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.getCurrentScope; },\n/* harmony export */ getTransitionRawChildren: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.getTransitionRawChildren; },\n/* harmony export */ guardReactiveProps: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.guardReactiveProps; },\n/* harmony export */ h: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.h; },\n/* harmony export */ handleError: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.handleError; },\n/* harmony export */ hasInjectionContext: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.hasInjectionContext; },\n/* harmony export */ hydrate: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.hydrate; },\n/* harmony export */ initCustomFormatter: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.initCustomFormatter; },\n/* harmony export */ initDirectivesForSSR: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.initDirectivesForSSR; },\n/* harmony export */ inject: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.inject; },\n/* harmony export */ isMemoSame: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isMemoSame; },\n/* harmony export */ isProxy: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isProxy; },\n/* harmony export */ isReactive: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isReactive; },\n/* harmony export */ isReadonly: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isReadonly; },\n/* harmony export */ isRef: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isRef; },\n/* harmony export */ isRuntimeOnly: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isRuntimeOnly; },\n/* harmony export */ isShallow: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isShallow; },\n/* harmony export */ isVNode: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isVNode; },\n/* harmony export */ markRaw: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.markRaw; },\n/* harmony export */ mergeDefaults: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.mergeDefaults; },\n/* harmony export */ mergeModels: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.mergeModels; },\n/* harmony export */ mergeProps: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.mergeProps; },\n/* harmony export */ nextTick: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.nextTick; },\n/* harmony export */ normalizeClass: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.normalizeClass; },\n/* harmony export */ normalizeProps: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.normalizeProps; },\n/* harmony export */ normalizeStyle: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.normalizeStyle; },\n/* harmony export */ onActivated: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onActivated; },\n/* harmony export */ onBeforeMount: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onBeforeMount; },\n/* harmony export */ onBeforeUnmount: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onBeforeUnmount; },\n/* harmony export */ onBeforeUpdate: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onBeforeUpdate; },\n/* harmony export */ onDeactivated: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onDeactivated; },\n/* harmony export */ onErrorCaptured: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onErrorCaptured; },\n/* harmony export */ onMounted: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onMounted; },\n/* harmony export */ onRenderTracked: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onRenderTracked; },\n/* harmony export */ onRenderTriggered: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onRenderTriggered; },\n/* harmony export */ onScopeDispose: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onScopeDispose; },\n/* harmony export */ onServerPrefetch: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onServerPrefetch; },\n/* harmony export */ onUnmounted: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onUnmounted; },\n/* harmony export */ onUpdated: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onUpdated; },\n/* harmony export */ openBlock: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.openBlock; },\n/* harmony export */ popScopeId: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.popScopeId; },\n/* harmony export */ provide: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.provide; },\n/* harmony export */ proxyRefs: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.proxyRefs; },\n/* harmony export */ pushScopeId: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.pushScopeId; },\n/* harmony export */ queuePostFlushCb: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.queuePostFlushCb; },\n/* harmony export */ reactive: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.reactive; },\n/* harmony export */ readonly: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.readonly; },\n/* harmony export */ ref: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.ref; },\n/* harmony export */ registerRuntimeCompiler: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.registerRuntimeCompiler; },\n/* harmony export */ render: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.render; },\n/* harmony export */ renderList: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.renderList; },\n/* harmony export */ renderSlot: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.renderSlot; },\n/* harmony export */ resolveComponent: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.resolveComponent; },\n/* harmony export */ resolveDirective: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.resolveDirective; },\n/* harmony export */ resolveDynamicComponent: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.resolveDynamicComponent; },\n/* harmony export */ resolveFilter: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.resolveFilter; },\n/* harmony export */ resolveTransitionHooks: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.resolveTransitionHooks; },\n/* harmony export */ setBlockTracking: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.setBlockTracking; },\n/* harmony export */ setDevtoolsHook: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.setDevtoolsHook; },\n/* harmony export */ setTransitionHooks: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.setTransitionHooks; },\n/* harmony export */ shallowReactive: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.shallowReactive; },\n/* harmony export */ shallowReadonly: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly; },\n/* harmony export */ shallowRef: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.shallowRef; },\n/* harmony export */ ssrContextKey: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.ssrContextKey; },\n/* harmony export */ ssrUtils: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.ssrUtils; },\n/* harmony export */ stop: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.stop; },\n/* harmony export */ toDisplayString: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.toDisplayString; },\n/* harmony export */ toHandlerKey: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.toHandlerKey; },\n/* harmony export */ toHandlers: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.toHandlers; },\n/* harmony export */ toRaw: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.toRaw; },\n/* harmony export */ toRef: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.toRef; },\n/* harmony export */ toRefs: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.toRefs; },\n/* harmony export */ toValue: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.toValue; },\n/* harmony export */ transformVNodeArgs: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.transformVNodeArgs; },\n/* harmony export */ triggerRef: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.triggerRef; },\n/* harmony export */ unref: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.unref; },\n/* harmony export */ useAttrs: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.useAttrs; },\n/* harmony export */ useCssModule: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.useCssModule; },\n/* harmony export */ useCssVars: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.useCssVars; },\n/* harmony export */ useModel: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.useModel; },\n/* harmony export */ useSSRContext: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.useSSRContext; },\n/* harmony export */ useSlots: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.useSlots; },\n/* harmony export */ useTransitionState: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.useTransitionState; },\n/* harmony export */ vModelCheckbox: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.vModelCheckbox; },\n/* harmony export */ vModelDynamic: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.vModelDynamic; },\n/* harmony export */ vModelRadio: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.vModelRadio; },\n/* harmony export */ vModelSelect: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.vModelSelect; },\n/* harmony export */ vModelText: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.vModelText; },\n/* harmony export */ vShow: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.vShow; },\n/* harmony export */ version: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.version; },\n/* harmony export */ warn: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.warn; },\n/* harmony export */ watch: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.watch; },\n/* harmony export */ watchEffect: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.watchEffect; },\n/* harmony export */ watchPostEffect: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.watchPostEffect; },\n/* harmony export */ watchSyncEffect: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.watchSyncEffect; },\n/* harmony export */ withAsyncContext: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withAsyncContext; },\n/* harmony export */ withCtx: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withCtx; },\n/* harmony export */ withDefaults: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withDefaults; },\n/* harmony export */ withDirectives: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withDirectives; },\n/* harmony export */ withKeys: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withKeys; },\n/* harmony export */ withMemo: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withMemo; },\n/* harmony export */ withModifiers: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withModifiers; },\n/* harmony export */ withScopeId: function() { return /* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withScopeId; }\n/* harmony export */ });\n/* harmony import */ var _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @vue/runtime-dom */ \"./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js\");\n/* harmony import */ var _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @vue/runtime-dom */ \"./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js\");\n\n\nfunction initDev() {\n {\n (0,_vue_runtime_dom__WEBPACK_IMPORTED_MODULE_1__.initCustomFormatter)();\n }\n}\nif (true) {\n initDev();\n}\nconst compile = () => {\n if (true) {\n (0,_vue_runtime_dom__WEBPACK_IMPORTED_MODULE_1__.warn)(`Runtime compilation is not supported in this build of Vue.` + ` Configure your bundler to alias \"vue\" to \"vue/dist/vue.esm-bundler.js\".`\n /* should not happen */);\n }\n};\n\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/vue/dist/vue.runtime.esm-bundler.js?"); 552 553/***/ }), 554
vendor: 60,540 bytes, lines 555-597
555/***/ "./node_modules/wellknown/index.js": 556/*!*****************************************!*\ 557 !*** ./node_modules/wellknown/index.js ***! 558 \*****************************************/ 559/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 560 561eval("__webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/*eslint-disable no-cond-assign */\nmodule.exports = parse;\nmodule.exports.parse = parse;\nmodule.exports.stringify = stringify;\nvar numberRegexp = /[-+]?([0-9]*\\.[0-9]+|[0-9]+)([eE][-+]?[0-9]+)?/;\n// Matches sequences like '100 100' or '100 100 100'.\nvar tuples = new RegExp('^' + numberRegexp.source + '(\\\\s' + numberRegexp.source + '){1,}');\n\n/*\n * Parse WKT and return GeoJSON.\n *\n * @param {string} _ A WKT geometry\n * @return {?Object} A GeoJSON geometry object\n */\nfunction parse(input) {\n var parts = input.split(';');\n var _ = parts.pop();\n var srid = (parts.shift() || '').split('=').pop();\n var i = 0;\n function $(re) {\n var match = _.substring(i).match(re);\n if (!match) return null;else {\n i += match[0].length;\n return match[0];\n }\n }\n function crs(obj) {\n if (obj && srid.match(/\\d+/)) {\n obj.crs = {\n type: 'name',\n properties: {\n name: 'urn:ogc:def:crs:EPSG::' + srid\n }\n };\n }\n return obj;\n }\n function white() {\n $(/^\\s*/);\n }\n function multicoords() {\n white();\n var depth = 0;\n var rings = [];\n var stack = [rings];\n var pointer = rings;\n var elem;\n while (elem = $(/^(\\()/) || $(/^(\\))/) || $(/^(\\,)/) || $(tuples)) {\n if (elem === '(') {\n stack.push(pointer);\n pointer = [];\n stack[stack.length - 1].push(pointer);\n depth++;\n } else if (elem === ')') {\n // For the case: Polygon(), ...\n if (pointer.length === 0) return null;\n pointer = stack.pop();\n // the stack was empty, input was malformed\n if (!pointer) return null;\n depth--;\n if (depth === 0) break;\n } else if (elem === ',') {\n pointer = [];\n stack[stack.length - 1].push(pointer);\n } else if (!elem.split(/\\s/g).some(isNaN)) {\n Array.prototype.push.apply(pointer, elem.split(/\\s/g).map(parseFloat));\n } else {\n return null;\n }\n white();\n }\n if (depth !== 0) return null;\n return rings;\n }\n function coords() {\n var list = [];\n var item;\n var pt;\n while (pt = $(tuples) || $(/^(\\,)/)) {\n if (pt === ',') {\n list.push(item);\n item = [];\n } else if (!pt.split(/\\s/g).some(isNaN)) {\n if (!item) item = [];\n Array.prototype.push.apply(item, pt.split(/\\s/g).map(parseFloat));\n }\n white();\n }\n if (item) list.push(item);else return null;\n return list.length ? list : null;\n }\n function point() {\n if (!$(/^(point)/i)) return null;\n white();\n if (!$(/^(\\()/)) return null;\n var c = coords();\n if (!c) return null;\n white();\n if (!$(/^(\\))/)) return null;\n return {\n type: 'Point',\n coordinates: c[0]\n };\n }\n function multipoint() {\n if (!$(/^(multipoint)/i)) return null;\n white();\n var newCoordsFormat = _.substring(_.indexOf('(') + 1, _.length - 1).replace(/\\(/g, '').replace(/\\)/g, '');\n _ = 'MULTIPOINT (' + newCoordsFormat + ')';\n var c = multicoords();\n if (!c) return null;\n white();\n return {\n type: 'MultiPoint',\n coordinates: c\n };\n }\n function multilinestring() {\n if (!$(/^(multilinestring)/i)) return null;\n white();\n var c = multicoords();\n if (!c) return null;\n white();\n return {\n type: 'MultiLineString',\n coordinates: c\n };\n }\n function linestring() {\n if (!$(/^(linestring)/i)) return null;\n white();\n if (!$(/^(\\()/)) return null;\n var c = coords();\n if (!c) return null;\n if (!$(/^(\\))/)) return null;\n return {\n type: 'LineString',\n coordinates: c\n };\n }\n function polygon() {\n if (!$(/^(polygon)/i)) return null;\n white();\n var c = multicoords();\n if (!c) return null;\n return {\n type: 'Polygon',\n coordinates: c\n };\n }\n function multipolygon() {\n if (!$(/^(multipolygon)/i)) return null;\n white();\n var c = multicoords();\n if (!c) return null;\n return {\n type: 'MultiPolygon',\n coordinates: c\n };\n }\n function geometrycollection() {\n var geometries = [];\n var geometry;\n if (!$(/^(geometrycollection)/i)) return null;\n white();\n if (!$(/^(\\()/)) return null;\n while (geometry = root()) {\n geometries.push(geometry);\n white();\n $(/^(\\,)/);\n white();\n }\n if (!$(/^(\\))/)) return null;\n return {\n type: 'GeometryCollection',\n geometries: geometries\n };\n }\n function root() {\n return point() || linestring() || polygon() || multipoint() || multilinestring() || multipolygon() || geometrycollection();\n }\n return crs(root());\n}\n\n/**\n * Stringifies a GeoJSON object into WKT\n */\nfunction stringify(gj) {\n if (gj.type === 'Feature') {\n gj = gj.geometry;\n }\n function pairWKT(c) {\n return c.join(' ');\n }\n function ringWKT(r) {\n return r.map(pairWKT).join(', ');\n }\n function ringsWKT(r) {\n return r.map(ringWKT).map(wrapParens).join(', ');\n }\n function multiRingsWKT(r) {\n return r.map(ringsWKT).map(wrapParens).join(', ');\n }\n function wrapParens(s) {\n return '(' + s + ')';\n }\n switch (gj.type) {\n case 'Point':\n return 'POINT (' + pairWKT(gj.coordinates) + ')';\n case 'LineString':\n return 'LINESTRING (' + ringWKT(gj.coordinates) + ')';\n case 'Polygon':\n return 'POLYGON (' + ringsWKT(gj.coordinates) + ')';\n case 'MultiPoint':\n return 'MULTIPOINT (' + ringWKT(gj.coordinates) + ')';\n case 'MultiPolygon':\n return 'MULTIPOLYGON (' + multiRingsWKT(gj.coordinates) + ')';\n case 'MultiLineString':\n return 'MULTILINESTRING (' + ringsWKT(gj.coordinates) + ')';\n case 'GeometryCollection':\n return 'GEOMETRYCOLLECTION (' + gj.geometries.map(stringify).join(', ') + ')';\n default:\n throw new Error('stringify requires a valid GeoJSON Feature or geometry object as input');\n }\n}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/wellknown/index.js?"); 562 563/***/ }), 564 565/***/ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/map.vue?vue&type=style&index=0&id=0c1aca79&lang=css": 566/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ 567 !*** ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/map.vue?vue&type=style&index=0&id=0c1aca79&lang=css ***! 568 \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ 569/***/ (function(module, __webpack_exports__, __webpack_require__) { 570 571"use strict"; 572eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../css-loader/dist/runtime/noSourceMaps.js */ \"./node_modules/css-loader/dist/runtime/noSourceMaps.js\");\n/* harmony import */ var _css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n// Imports\n\n\nvar ___CSS_LOADER_EXPORT___ = _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"\\n.vue-map {\\n width: 100%;\\n height: 100%;\\n min-height: 2rem;\\n}\\n\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/map.vue?./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use%5B1%5D!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use%5B2%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D"); 573 574/***/ }), 575 576/***/ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-14.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-14.use[2]!./node_modules/leaflet/dist/leaflet.css": 577/*!*********************************************************************************************************************************************************************************!*\ 578 !*** ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-14.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-14.use[2]!./node_modules/leaflet/dist/leaflet.css ***! 579 \*********************************************************************************************************************************************************************************/ 580/***/ (function(module, __webpack_exports__, __webpack_require__) { 581 582"use strict"; 583eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../css-loader/dist/runtime/noSourceMaps.js */ \"./node_modules/css-loader/dist/runtime/noSourceMaps.js\");\n/* harmony import */ var _css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../css-loader/dist/runtime/getUrl.js */ \"./node_modules/css-loader/dist/runtime/getUrl.js\");\n/* harmony import */ var _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__);\n// Imports\n\n\n\nvar ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require__(/*! images/layers.png */ \"./node_modules/leaflet/dist/images/layers.png\"), __webpack_require__.b);\nvar ___CSS_LOADER_URL_IMPORT_1___ = new URL(/* asset import */ __webpack_require__(/*! images/layers-2x.png */ \"./node_modules/leaflet/dist/images/layers-2x.png\"), __webpack_require__.b);\nvar ___CSS_LOADER_URL_IMPORT_2___ = new URL(/* asset import */ __webpack_require__(/*! images/marker-icon.png */ \"./node_modules/leaflet/dist/images/marker-icon.png\"), __webpack_require__.b);\nvar ___CSS_LOADER_EXPORT___ = _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));\nvar ___CSS_LOADER_URL_REPLACEMENT_0___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);\nvar ___CSS_LOADER_URL_REPLACEMENT_1___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_1___);\nvar ___CSS_LOADER_URL_REPLACEMENT_2___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_2___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* required styles */\\r\\n\\r\\n.leaflet-pane,\\r\\n.leaflet-tile,\\r\\n.leaflet-marker-icon,\\r\\n.leaflet-marker-shadow,\\r\\n.leaflet-tile-container,\\r\\n.leaflet-pane > svg,\\r\\n.leaflet-pane > canvas,\\r\\n.leaflet-zoom-box,\\r\\n.leaflet-image-layer,\\r\\n.leaflet-layer {\\r\\n\\tposition: absolute;\\r\\n\\tleft: 0;\\r\\n\\ttop: 0;\\r\\n\\t}\\r\\n.leaflet-container {\\r\\n\\toverflow: hidden;\\r\\n\\t}\\r\\n.leaflet-tile,\\r\\n.leaflet-marker-icon,\\r\\n.leaflet-marker-shadow {\\r\\n\\t-webkit-user-select: none;\\r\\n\\t -moz-user-select: none;\\r\\n\\t user-select: none;\\r\\n\\t -webkit-user-drag: none;\\r\\n\\t}\\r\\n/* Prevents IE11 from highlighting tiles in blue */\\r\\n.leaflet-tile::-moz-selection {\\r\\n\\tbackground: transparent;\\r\\n}\\r\\n.leaflet-tile::selection {\\r\\n\\tbackground: transparent;\\r\\n}\\r\\n/* Safari renders non-retina tile on retina better with this, but Chrome is worse */\\r\\n.leaflet-safari .leaflet-tile {\\r\\n\\timage-rendering: -webkit-optimize-contrast;\\r\\n\\t}\\r\\n/* hack that prevents hw layers \\\"stretching\\\" when loading new tiles */\\r\\n.leaflet-safari .leaflet-tile-container {\\r\\n\\twidth: 1600px;\\r\\n\\theight: 1600px;\\r\\n\\t-webkit-transform-origin: 0 0;\\r\\n\\t}\\r\\n.leaflet-marker-icon,\\r\\n.leaflet-marker-shadow {\\r\\n\\tdisplay: block;\\r\\n\\t}\\r\\n/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */\\r\\n/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */\\r\\n.leaflet-container .leaflet-overlay-pane svg {\\r\\n\\tmax-width: none !important;\\r\\n\\tmax-height: none !important;\\r\\n\\t}\\r\\n.leaflet-container .leaflet-marker-pane img,\\r\\n.leaflet-container .leaflet-shadow-pane img,\\r\\n.leaflet-container .leaflet-tile-pane img,\\r\\n.leaflet-container img.leaflet-image-layer,\\r\\n.leaflet-container .leaflet-tile {\\r\\n\\tmax-width: none !important;\\r\\n\\tmax-height: none !important;\\r\\n\\twidth: auto;\\r\\n\\tpadding: 0;\\r\\n\\t}\\r\\n\\r\\n.leaflet-container img.leaflet-tile {\\r\\n\\t/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */\\r\\n\\tmix-blend-mode: plus-lighter;\\r\\n}\\r\\n\\r\\n.leaflet-container.leaflet-touch-zoom {\\r\\n\\ttouch-action: pan-x pan-y;\\r\\n\\t}\\r\\n.leaflet-container.leaflet-touch-drag {\\r\\n\\t/* Fallback for FF which doesn't support pinch-zoom */\\r\\n\\ttouch-action: none;\\r\\n\\ttouch-action: pinch-zoom;\\r\\n}\\r\\n.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {\\r\\n\\ttouch-action: none;\\r\\n}\\r\\n.leaflet-container {\\r\\n\\t-webkit-tap-highlight-color: transparent;\\r\\n}\\r\\n.leaflet-container a {\\r\\n\\t-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);\\r\\n}\\r\\n.leaflet-tile {\\r\\n\\tfilter: inherit;\\r\\n\\tvisibility: hidden;\\r\\n\\t}\\r\\n.leaflet-tile-loaded {\\r\\n\\tvisibility: inherit;\\r\\n\\t}\\r\\n.leaflet-zoom-box {\\r\\n\\twidth: 0;\\r\\n\\theight: 0;\\r\\n\\tbox-sizing: border-box;\\r\\n\\tz-index: 800;\\r\\n\\t}\\r\\n/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */\\r\\n.leaflet-overlay-pane svg {\\r\\n\\t-moz-user-select: none;\\r\\n\\t}\\r\\n\\r\\n.leaflet-pane { z-index: 400; }\\r\\n\\r\\n.leaflet-tile-pane { z-index: 200; }\\r\\n.leaflet-overlay-pane { z-index: 400; }\\r\\n.leaflet-shadow-pane { z-index: 500; }\\r\\n.leaflet-marker-pane { z-index: 600; }\\r\\n.leaflet-tooltip-pane { z-index: 650; }\\r\\n.leaflet-popup-pane { z-index: 700; }\\r\\n\\r\\n.leaflet-map-pane canvas { z-index: 100; }\\r\\n.leaflet-map-pane svg { z-index: 200; }\\r\\n\\r\\n.leaflet-vml-shape {\\r\\n\\twidth: 1px;\\r\\n\\theight: 1px;\\r\\n\\t}\\r\\n.lvml {\\r\\n\\tbehavior: url(#default#VML);\\r\\n\\tdisplay: inline-block;\\r\\n\\tposition: absolute;\\r\\n\\t}\\r\\n\\r\\n\\r\\n/* control positioning */\\r\\n\\r\\n.leaflet-control {\\r\\n\\tposition: relative;\\r\\n\\tz-index: 800;\\r\\n\\tpointer-events: visiblePainted; /* IE 9-10 doesn't have auto */\\r\\n\\tpointer-events: auto;\\r\\n\\t}\\r\\n.leaflet-top,\\r\\n.leaflet-bottom {\\r\\n\\tposition: absolute;\\r\\n\\tz-index: 1000;\\r\\n\\tpointer-events: none;\\r\\n\\t}\\r\\n.leaflet-top {\\r\\n\\ttop: 0;\\r\\n\\t}\\r\\n.leaflet-right {\\r\\n\\tright: 0;\\r\\n\\t}\\r\\n.leaflet-bottom {\\r\\n\\tbottom: 0;\\r\\n\\t}\\r\\n.leaflet-left {\\r\\n\\tleft: 0;\\r\\n\\t}\\r\\n.leaflet-control {\\r\\n\\tfloat: left;\\r\\n\\tclear: both;\\r\\n\\t}\\r\\n.leaflet-right .leaflet-control {\\r\\n\\tfloat: right;\\r\\n\\t}\\r\\n.leaflet-top .leaflet-control {\\r\\n\\tmargin-top: 10px;\\r\\n\\t}\\r\\n.leaflet-bottom .leaflet-control {\\r\\n\\tmargin-bottom: 10px;\\r\\n\\t}\\r\\n.leaflet-left .leaflet-control {\\r\\n\\tmargin-left: 10px;\\r\\n\\t}\\r\\n.leaflet-right .leaflet-control {\\r\\n\\tmargin-right: 10px;\\r\\n\\t}\\r\\n\\r\\n\\r\\n/* zoom and fade animations */\\r\\n\\r\\n.leaflet-fade-anim .leaflet-popup {\\r\\n\\topacity: 0;\\r\\n\\ttransition: opacity 0.2s linear;\\r\\n\\t}\\r\\n.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {\\r\\n\\topacity: 1;\\r\\n\\t}\\r\\n.leaflet-zoom-animated {\\r\\n\\ttransform-origin: 0 0;\\r\\n\\t}\\r\\nsvg.leaflet-zoom-animated {\\r\\n\\twill-change: transform;\\r\\n}\\r\\n\\r\\n.leaflet-zoom-anim .leaflet-zoom-animated {\\r\\n\\ttransition: transform 0.25s cubic-bezier(0,0,0.25,1);\\r\\n\\t}\\r\\n.leaflet-zoom-anim .leaflet-tile,\\r\\n.leaflet-pan-anim .leaflet-tile {\\r\\n\\ttransition: none;\\r\\n\\t}\\r\\n\\r\\n.leaflet-zoom-anim .leaflet-zoom-hide {\\r\\n\\tvisibility: hidden;\\r\\n\\t}\\r\\n\\r\\n\\r\\n/* cursors */\\r\\n\\r\\n.leaflet-interactive {\\r\\n\\tcursor: pointer;\\r\\n\\t}\\r\\n.leaflet-grab {\\r\\n\\tcursor: grab;\\r\\n\\t}\\r\\n.leaflet-crosshair,\\r\\n.leaflet-crosshair .leaflet-interactive {\\r\\n\\tcursor: crosshair;\\r\\n\\t}\\r\\n.leaflet-popup-pane,\\r\\n.leaflet-control {\\r\\n\\tcursor: auto;\\r\\n\\t}\\r\\n.leaflet-dragging .leaflet-grab,\\r\\n.leaflet-dragging .leaflet-grab .leaflet-interactive,\\r\\n.leaflet-dragging .leaflet-marker-draggable {\\r\\n\\tcursor: move;\\r\\n\\tcursor: grabbing;\\r\\n\\t}\\r\\n\\r\\n/* marker & overlays interactivity */\\r\\n.leaflet-marker-icon,\\r\\n.leaflet-marker-shadow,\\r\\n.leaflet-image-layer,\\r\\n.leaflet-pane > svg path,\\r\\n.leaflet-tile-container {\\r\\n\\tpointer-events: none;\\r\\n\\t}\\r\\n\\r\\n.leaflet-marker-icon.leaflet-interactive,\\r\\n.leaflet-image-layer.leaflet-interactive,\\r\\n.leaflet-pane > svg path.leaflet-interactive,\\r\\nsvg.leaflet-image-layer.leaflet-interactive path {\\r\\n\\tpointer-events: visiblePainted; /* IE 9-10 doesn't have auto */\\r\\n\\tpointer-events: auto;\\r\\n\\t}\\r\\n\\r\\n/* visual tweaks */\\r\\n\\r\\n.leaflet-container {\\r\\n\\tbackground: #ddd;\\r\\n\\toutline-offset: 1px;\\r\\n\\t}\\r\\n.leaflet-container a {\\r\\n\\tcolor: #0078A8;\\r\\n\\t}\\r\\n.leaflet-zoom-box {\\r\\n\\tborder: 2px dotted #38f;\\r\\n\\tbackground: rgba(255,255,255,0.5);\\r\\n\\t}\\r\\n\\r\\n\\r\\n/* general typography */\\r\\n.leaflet-container {\\r\\n\\tfont-family: \\\"Helvetica Neue\\\", Arial, Helvetica, sans-serif;\\r\\n\\tfont-size: 12px;\\r\\n\\tfont-size: 0.75rem;\\r\\n\\tline-height: 1.5;\\r\\n\\t}\\r\\n\\r\\n\\r\\n/* general toolbar styles */\\r\\n\\r\\n.leaflet-bar {\\r\\n\\tbox-shadow: 0 1px 5px rgba(0,0,0,0.65);\\r\\n\\tborder-radius: 4px;\\r\\n\\t}\\r\\n.leaflet-bar a {\\r\\n\\tbackground-color: #fff;\\r\\n\\tborder-bottom: 1px solid #ccc;\\r\\n\\twidth: 26px;\\r\\n\\theight: 26px;\\r\\n\\tline-height: 26px;\\r\\n\\tdisplay: block;\\r\\n\\ttext-align: center;\\r\\n\\ttext-decoration: none;\\r\\n\\tcolor: black;\\r\\n\\t}\\r\\n.leaflet-bar a,\\r\\n.leaflet-control-layers-toggle {\\r\\n\\tbackground-position: 50% 50%;\\r\\n\\tbackground-repeat: no-repeat;\\r\\n\\tdisplay: block;\\r\\n\\t}\\r\\n.leaflet-bar a:hover,\\r\\n.leaflet-bar a:focus {\\r\\n\\tbackground-color: #f4f4f4;\\r\\n\\t}\\r\\n.leaflet-bar a:first-child {\\r\\n\\tborder-top-left-radius: 4px;\\r\\n\\tborder-top-right-radius: 4px;\\r\\n\\t}\\r\\n.leaflet-bar a:last-child {\\r\\n\\tborder-bottom-left-radius: 4px;\\r\\n\\tborder-bottom-right-radius: 4px;\\r\\n\\tborder-bottom: none;\\r\\n\\t}\\r\\n.leaflet-bar a.leaflet-disabled {\\r\\n\\tcursor: default;\\r\\n\\tbackground-color: #f4f4f4;\\r\\n\\tcolor: #bbb;\\r\\n\\t}\\r\\n\\r\\n.leaflet-touch .leaflet-bar a {\\r\\n\\twidth: 30px;\\r\\n\\theight: 30px;\\r\\n\\tline-height: 30px;\\r\\n\\t}\\r\\n.leaflet-touch .leaflet-bar a:first-child {\\r\\n\\tborder-top-left-radius: 2px;\\r\\n\\tborder-top-right-radius: 2px;\\r\\n\\t}\\r\\n.leaflet-touch .leaflet-bar a:last-child {\\r\\n\\tborder-bottom-left-radius: 2px;\\r\\n\\tborder-bottom-right-radius: 2px;\\r\\n\\t}\\r\\n\\r\\n/* zoom control */\\r\\n\\r\\n.leaflet-control-zoom-in,\\r\\n.leaflet-control-zoom-out {\\r\\n\\tfont: bold 18px 'Lucida Console', Monaco, monospace;\\r\\n\\ttext-indent: 1px;\\r\\n\\t}\\r\\n\\r\\n.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {\\r\\n\\tfont-size: 22px;\\r\\n\\t}\\r\\n\\r\\n\\r\\n/* layers control */\\r\\n\\r\\n.leaflet-control-layers {\\r\\n\\tbox-shadow: 0 1px 5px rgba(0,0,0,0.4);\\r\\n\\tbackground: #fff;\\r\\n\\tborder-radius: 5px;\\r\\n\\t}\\r\\n.leaflet-control-layers-toggle {\\r\\n\\tbackground-image: url(\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \");\\r\\n\\twidth: 36px;\\r\\n\\theight: 36px;\\r\\n\\t}\\r\\n.leaflet-retina .leaflet-control-layers-toggle {\\r\\n\\tbackground-image: url(\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \");\\r\\n\\tbackground-size: 26px 26px;\\r\\n\\t}\\r\\n.leaflet-touch .leaflet-control-layers-toggle {\\r\\n\\twidth: 44px;\\r\\n\\theight: 44px;\\r\\n\\t}\\r\\n.leaflet-control-layers .leaflet-control-layers-list,\\r\\n.leaflet-control-layers-expanded .leaflet-control-layers-toggle {\\r\\n\\tdisplay: none;\\r\\n\\t}\\r\\n.leaflet-control-layers-expanded .leaflet-control-layers-list {\\r\\n\\tdisplay: block;\\r\\n\\tposition: relative;\\r\\n\\t}\\r\\n.leaflet-control-layers-expanded {\\r\\n\\tpadding: 6px 10px 6px 6px;\\r\\n\\tcolor: #333;\\r\\n\\tbackground: #fff;\\r\\n\\t}\\r\\n.leaflet-control-layers-scrollbar {\\r\\n\\toverflow-y: scroll;\\r\\n\\toverflow-x: hidden;\\r\\n\\tpadding-right: 5px;\\r\\n\\t}\\r\\n.leaflet-control-layers-selector {\\r\\n\\tmargin-top: 2px;\\r\\n\\tposition: relative;\\r\\n\\ttop: 1px;\\r\\n\\t}\\r\\n.leaflet-control-layers label {\\r\\n\\tdisplay: block;\\r\\n\\tfont-size: 13px;\\r\\n\\tfont-size: 1.08333em;\\r\\n\\t}\\r\\n.leaflet-control-layers-separator {\\r\\n\\theight: 0;\\r\\n\\tborder-top: 1px solid #ddd;\\r\\n\\tmargin: 5px -10px 5px -6px;\\r\\n\\t}\\r\\n\\r\\n/* Default icon URLs */\\r\\n.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */\\r\\n\\tbackground-image: url(\" + ___CSS_LOADER_URL_REPLACEMENT_2___ + \");\\r\\n\\t}\\r\\n\\r\\n\\r\\n/* attribution and scale controls */\\r\\n\\r\\n.leaflet-container .leaflet-control-attribution {\\r\\n\\tbackground: #fff;\\r\\n\\tbackground: rgba(255, 255, 255, 0.8);\\r\\n\\tmargin: 0;\\r\\n\\t}\\r\\n.leaflet-control-attribution,\\r\\n.leaflet-control-scale-line {\\r\\n\\tpadding: 0 5px;\\r\\n\\tcolor: #333;\\r\\n\\tline-height: 1.4;\\r\\n\\t}\\r\\n.leaflet-control-attribution a {\\r\\n\\ttext-decoration: none;\\r\\n\\t}\\r\\n.leaflet-control-attribution a:hover,\\r\\n.leaflet-control-attribution a:focus {\\r\\n\\ttext-decoration: underline;\\r\\n\\t}\\r\\n.leaflet-attribution-flag {\\r\\n\\tdisplay: inline !important;\\r\\n\\tvertical-align: baseline !important;\\r\\n\\twidth: 1em;\\r\\n\\theight: 0.6669em;\\r\\n\\t}\\r\\n.leaflet-left .leaflet-control-scale {\\r\\n\\tmargin-left: 5px;\\r\\n\\t}\\r\\n.leaflet-bottom .leaflet-control-scale {\\r\\n\\tmargin-bottom: 5px;\\r\\n\\t}\\r\\n.leaflet-control-scale-line {\\r\\n\\tborder: 2px solid #777;\\r\\n\\tborder-top: none;\\r\\n\\tline-height: 1.1;\\r\\n\\tpadding: 2px 5px 1px;\\r\\n\\twhite-space: nowrap;\\r\\n\\tbox-sizing: border-box;\\r\\n\\tbackground: rgba(255, 255, 255, 0.8);\\r\\n\\ttext-shadow: 1px 1px #fff;\\r\\n\\t}\\r\\n.leaflet-control-scale-line:not(:first-child) {\\r\\n\\tborder-top: 2px solid #777;\\r\\n\\tborder-bottom: none;\\r\\n\\tmargin-top: -2px;\\r\\n\\t}\\r\\n.leaflet-control-scale-line:not(:first-child):not(:last-child) {\\r\\n\\tborder-bottom: 2px solid #777;\\r\\n\\t}\\r\\n\\r\\n.leaflet-touch .leaflet-control-attribution,\\r\\n.leaflet-touch .leaflet-control-layers,\\r\\n.leaflet-touch .leaflet-bar {\\r\\n\\tbox-shadow: none;\\r\\n\\t}\\r\\n.leaflet-touch .leaflet-control-layers,\\r\\n.leaflet-touch .leaflet-bar {\\r\\n\\tborder: 2px solid rgba(0,0,0,0.2);\\r\\n\\tbackground-clip: padding-box;\\r\\n\\t}\\r\\n\\r\\n\\r\\n/* popup */\\r\\n\\r\\n.leaflet-popup {\\r\\n\\tposition: absolute;\\r\\n\\ttext-align: center;\\r\\n\\tmargin-bottom: 20px;\\r\\n\\t}\\r\\n.leaflet-popup-content-wrapper {\\r\\n\\tpadding: 1px;\\r\\n\\ttext-align: left;\\r\\n\\tborder-radius: 12px;\\r\\n\\t}\\r\\n.leaflet-popup-content {\\r\\n\\tmargin: 13px 24px 13px 20px;\\r\\n\\tline-height: 1.3;\\r\\n\\tfont-size: 13px;\\r\\n\\tfont-size: 1.08333em;\\r\\n\\tmin-height: 1px;\\r\\n\\t}\\r\\n.leaflet-popup-content p {\\r\\n\\tmargin: 17px 0;\\r\\n\\tmargin: 1.3em 0;\\r\\n\\t}\\r\\n.leaflet-popup-tip-container {\\r\\n\\twidth: 40px;\\r\\n\\theight: 20px;\\r\\n\\tposition: absolute;\\r\\n\\tleft: 50%;\\r\\n\\tmargin-top: -1px;\\r\\n\\tmargin-left: -20px;\\r\\n\\toverflow: hidden;\\r\\n\\tpointer-events: none;\\r\\n\\t}\\r\\n.leaflet-popup-tip {\\r\\n\\twidth: 17px;\\r\\n\\theight: 17px;\\r\\n\\tpadding: 1px;\\r\\n\\r\\n\\tmargin: -10px auto 0;\\r\\n\\tpointer-events: auto;\\r\\n\\ttransform: rotate(45deg);\\r\\n\\t}\\r\\n.leaflet-popup-content-wrapper,\\r\\n.leaflet-popup-tip {\\r\\n\\tbackground: white;\\r\\n\\tcolor: #333;\\r\\n\\tbox-shadow: 0 3px 14px rgba(0,0,0,0.4);\\r\\n\\t}\\r\\n.leaflet-container a.leaflet-popup-close-button {\\r\\n\\tposition: absolute;\\r\\n\\ttop: 0;\\r\\n\\tright: 0;\\r\\n\\tborder: none;\\r\\n\\ttext-align: center;\\r\\n\\twidth: 24px;\\r\\n\\theight: 24px;\\r\\n\\tfont: 16px/24px Tahoma, Verdana, sans-serif;\\r\\n\\tcolor: #757575;\\r\\n\\ttext-decoration: none;\\r\\n\\tbackground: transparent;\\r\\n\\t}\\r\\n.leaflet-container a.leaflet-popup-close-button:hover,\\r\\n.leaflet-container a.leaflet-popup-close-button:focus {\\r\\n\\tcolor: #585858;\\r\\n\\t}\\r\\n.leaflet-popup-scrolled {\\r\\n\\toverflow: auto;\\r\\n\\t}\\r\\n\\r\\n.leaflet-oldie .leaflet-popup-content-wrapper {\\r\\n\\t-ms-zoom: 1;\\r\\n\\t}\\r\\n.leaflet-oldie .leaflet-popup-tip {\\r\\n\\twidth: 24px;\\r\\n\\tmargin: 0 auto;\\r\\n\\r\\n\\t-ms-filter: \\\"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)\\\";\\r\\n\\tfilter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);\\r\\n\\t}\\r\\n\\r\\n.leaflet-oldie .leaflet-control-zoom,\\r\\n.leaflet-oldie .leaflet-control-layers,\\r\\n.leaflet-oldie .leaflet-popup-content-wrapper,\\r\\n.leaflet-oldie .leaflet-popup-tip {\\r\\n\\tborder: 1px solid #999;\\r\\n\\t}\\r\\n\\r\\n\\r\\n/* div icon */\\r\\n\\r\\n.leaflet-div-icon {\\r\\n\\tbackground: #fff;\\r\\n\\tborder: 1px solid #666;\\r\\n\\t}\\r\\n\\r\\n\\r\\n/* Tooltip */\\r\\n/* Base styles for the element that has a tooltip */\\r\\n.leaflet-tooltip {\\r\\n\\tposition: absolute;\\r\\n\\tpadding: 6px;\\r\\n\\tbackground-color: #fff;\\r\\n\\tborder: 1px solid #fff;\\r\\n\\tborder-radius: 3px;\\r\\n\\tcolor: #222;\\r\\n\\twhite-space: nowrap;\\r\\n\\t-webkit-user-select: none;\\r\\n\\t-moz-user-select: none;\\r\\n\\tuser-select: none;\\r\\n\\tpointer-events: none;\\r\\n\\tbox-shadow: 0 1px 3px rgba(0,0,0,0.4);\\r\\n\\t}\\r\\n.leaflet-tooltip.leaflet-interactive {\\r\\n\\tcursor: pointer;\\r\\n\\tpointer-events: auto;\\r\\n\\t}\\r\\n.leaflet-tooltip-top:before,\\r\\n.leaflet-tooltip-bottom:before,\\r\\n.leaflet-tooltip-left:before,\\r\\n.leaflet-tooltip-right:before {\\r\\n\\tposition: absolute;\\r\\n\\tpointer-events: none;\\r\\n\\tborder: 6px solid transparent;\\r\\n\\tbackground: transparent;\\r\\n\\tcontent: \\\"\\\";\\r\\n\\t}\\r\\n\\r\\n/* Directions */\\r\\n\\r\\n.leaflet-tooltip-bottom {\\r\\n\\tmargin-top: 6px;\\r\\n}\\r\\n.leaflet-tooltip-top {\\r\\n\\tmargin-top: -6px;\\r\\n}\\r\\n.leaflet-tooltip-bottom:before,\\r\\n.leaflet-tooltip-top:before {\\r\\n\\tleft: 50%;\\r\\n\\tmargin-left: -6px;\\r\\n\\t}\\r\\n.leaflet-tooltip-top:before {\\r\\n\\tbottom: 0;\\r\\n\\tmargin-bottom: -12px;\\r\\n\\tborder-top-color: #fff;\\r\\n\\t}\\r\\n.leaflet-tooltip-bottom:before {\\r\\n\\ttop: 0;\\r\\n\\tmargin-top: -12px;\\r\\n\\tmargin-left: -6px;\\r\\n\\tborder-bottom-color: #fff;\\r\\n\\t}\\r\\n.leaflet-tooltip-left {\\r\\n\\tmargin-left: -6px;\\r\\n}\\r\\n.leaflet-tooltip-right {\\r\\n\\tmargin-left: 6px;\\r\\n}\\r\\n.leaflet-tooltip-left:before,\\r\\n.leaflet-tooltip-right:before {\\r\\n\\ttop: 50%;\\r\\n\\tmargin-top: -6px;\\r\\n\\t}\\r\\n.leaflet-tooltip-left:before {\\r\\n\\tright: 0;\\r\\n\\tmargin-right: -12px;\\r\\n\\tborder-left-color: #fff;\\r\\n\\t}\\r\\n.leaflet-tooltip-right:before {\\r\\n\\tleft: 0;\\r\\n\\tmargin-left: -12px;\\r\\n\\tborder-right-color: #fff;\\r\\n\\t}\\r\\n\\r\\n/* Printing */\\r\\n\\r\\n@media print {\\r\\n\\t/* Prevent printers from removing background-images of controls. */\\r\\n\\t.leaflet-control {\\r\\n\\t\\t-webkit-print-color-adjust: exact;\\r\\n\\t\\tprint-color-adjust: exact;\\r\\n\\t\\t}\\r\\n\\t}\\r\\n\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/leaflet/dist/leaflet.css?./node_modules/css-loader/dist/cjs.js??clonedRuleSet-14.use%5B1%5D!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-14.use%5B2%5D"); 584 585/***/ }), 586 587/***/ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-14.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-14.use[2]!./node_modules/vue-search-select/dist/VueSearchSelect.css": 588/*!***************************************************************************************************************************************************************************************************!*\ 589 !*** ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-14.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-14.use[2]!./node_modules/vue-search-select/dist/VueSearchSelect.css ***! 590 \***************************************************************************************************************************************************************************************************/ 591/***/ (function(module, __webpack_exports__, __webpack_require__) { 592 593"use strict"; 594eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../css-loader/dist/runtime/noSourceMaps.js */ \"./node_modules/css-loader/dist/runtime/noSourceMaps.js\");\n/* harmony import */ var _css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\n/* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../css-loader/dist/runtime/getUrl.js */ \"./node_modules/css-loader/dist/runtime/getUrl.js\");\n/* harmony import */ var _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__);\n// Imports\n\n\n\nvar ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require__(/*! data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAAVgAA8AAAAACFAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABWAAAABwAAAAchGgaq0dERUYAAAF0AAAAHAAAAB4AJwAPT1MvMgAAAZAAAABDAAAAVnW4TJdjbWFwAAAB1AAAAEsAAAFS8CcaqmN2dCAAAAIgAAAABAAAAAQAEQFEZ2FzcAAAAiQAAAAIAAAACP//AANnbHlmAAACLAAAAQoAAAGkrRHP9WhlYWQAAAM4AAAAMAAAADYPK8YyaGhlYQAAA2gAAAAdAAAAJANCAb1obXR4AAADiAAAACIAAAAiCBkAOGxvY2EAAAOsAAAAFAAAABQBnAIybWF4cAAAA8AAAAAfAAAAIAEVAF5uYW1lAAAD4AAAATAAAAKMFGlj5HBvc3QAAAUQAAAARgAAAHJoedjqd2ViZgAABVgAAAAGAAAABrO7W5UAAAABAAAAANXulPUAAAAA1r4hgAAAAADXu2Q1eNpjYGRgYOABYjEgZmJgBEIOIGYB8xgAA/YAN3jaY2BktGOcwMDKwMI4jTGNgYHBHUp/ZZBkaGFgYGJgZWbACgLSXFMYHFT/fLjFeOD/AQY9xjMMbkBhRpAcAN48DQYAeNpjYGBgZoBgGQZGBhDwAfIYwXwWBgMgzQGETAwMqn8+8H649f8/lHX9//9b7Pzf+fWgusCAkY0BzmUE6gHpQwGMDMMeAACbxg7SAAARAUQAAAAB//8AAnjadZBPSsNAGMXfS+yMqYgOhpSuSlKadmUhiVEhEMQzFF22m17BbbvzCh5BXCUn6EG8gjeQ4DepwYo4i+/ffL95j4EDA+CFC7jQuKyIeVHrI3wkleq9F7XrSInKteOeHdda8bOoaeepSc00NWPz/LRec9G8GabyGtEdF7h19z033GAMTK7zbM42xNEZpzYof0RtQ5CUHAQJ73OtVyutc+3b7Ou//b8XNlsPx3jgjUifABdhEohKJJL5iM5p39uqc7X1+sRQSqmGrUVhlsJ4lpmEUVwyT8SUYtg0P9DyNzPADDs+tjrGV6KRCRfsui3eHcL4/p8ZXvfMlcnEU+CLv7hDykOP+AKTPTxbAAB42mNgZGBgAGKuf5KP4vltvjLIMzGAwLV9ig0g+vruFFMQzdjACOJzMIClARh0CTJ42mNgZGBgPPD/AJD8wgAEjA0MjAyogAMAbOQEAQAAAAC7ABEAAAAAAKoAAAH0AAABgAAAAUAACAFAAAgAwAAXAAAAAAAAACoAKgAqADIAbACGAKAAugDSeNpjYGRgYOBkUGFgYgABEMkFhAwM/xn0QAIADdUBdAB42qWQvUoDQRSFv3GjaISUQaymSmGxJoGAsRC0iPYLsU50Y6IxrvlRtPCJJKUPIBb+PIHv4EN4djKuKAqCDHfmu+feOdwZoMCUAJNbAlYUMzaUlM14jjxbngOq7HnOia89z1Pk1vMCa9x7ztPkzfMyJbPj+ZGi6Xp+omxuPD+zaD7meaFg7mb8GrBqHmhwxoAxlm0uiRkpP9X5m26pKRoMxTGR1D49Dv/Yb/91o6l8qL6eu5n2hZQzn68utR9m3FU2cB4t9cdSLG2utI+44Eh/P9bqKO+oJ/WxmXssj77YkrjasZQD6SFddythk3Wtzrf+UF2p076Udla1VNzsERP3kkjVRKel7mp1udXYcHtZSlV7RfmJe1GiFWveluaeKD5/MuJcSk8Tpm/vvwPIbmJleNpjYGKAAFYG7ICTgYGRiZGZkYWRlZGNkZ2Rg5GTLT2nsiDDEEIZsZfmZRqZujmDaDcDAxcI7WIOpS2gtCWUdgQAZkcSmQAAAAFblbO6AAA= */ \"data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAAVgAA8AAAAACFAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABWAAAABwAAAAchGgaq0dERUYAAAF0AAAAHAAAAB4AJwAPT1MvMgAAAZAAAABDAAAAVnW4TJdjbWFwAAAB1AAAAEsAAAFS8CcaqmN2dCAAAAIgAAAABAAAAAQAEQFEZ2FzcAAAAiQAAAAIAAAACP//AANnbHlmAAACLAAAAQoAAAGkrRHP9WhlYWQAAAM4AAAAMAAAADYPK8YyaGhlYQAAA2gAAAAdAAAAJANCAb1obXR4AAADiAAAACIAAAAiCBkAOGxvY2EAAAOsAAAAFAAAABQBnAIybWF4cAAAA8AAAAAfAAAAIAEVAF5uYW1lAAAD4AAAATAAAAKMFGlj5HBvc3QAAAUQAAAARgAAAHJoedjqd2ViZgAABVgAAAAGAAAABrO7W5UAAAABAAAAANXulPUAAAAA1r4hgAAAAADXu2Q1eNpjYGRgYOABYjEgZmJgBEIOIGYB8xgAA/YAN3jaY2BktGOcwMDKwMI4jTGNgYHBHUp/ZZBkaGFgYGJgZWbACgLSXFMYHFT/fLjFeOD/AQY9xjMMbkBhRpAcAN48DQYAeNpjYGBgZoBgGQZGBhDwAfIYwXwWBgMgzQGETAwMqn8+8H649f8/lHX9//9b7Pzf+fWgusCAkY0BzmUE6gHpQwGMDMMeAACbxg7SAAARAUQAAAAB//8AAnjadZBPSsNAGMXfS+yMqYgOhpSuSlKadmUhiVEhEMQzFF22m17BbbvzCh5BXCUn6EG8gjeQ4DepwYo4i+/ffL95j4EDA+CFC7jQuKyIeVHrI3wkleq9F7XrSInKteOeHdda8bOoaeepSc00NWPz/LRec9G8GabyGtEdF7h19z033GAMTK7zbM42xNEZpzYof0RtQ5CUHAQJ73OtVyutc+3b7Ou//b8XNlsPx3jgjUifABdhEohKJJL5iM5p39uqc7X1+sRQSqmGrUVhlsJ4lpmEUVwyT8SUYtg0P9DyNzPADDs+tjrGV6KRCRfsui3eHcL4/p8ZXvfMlcnEU+CLv7hDykOP+AKTPTxbAAB42mNgZGBgAGKuf5KP4vltvjLIMzGAwLV9ig0g+vruFFMQzdjACOJzMIClARh0CTJ42mNgZGBgPPD/AJD8wgAEjA0MjAyogAMAbOQEAQAAAAC7ABEAAAAAAKoAAAH0AAABgAAAAUAACAFAAAgAwAAXAAAAAAAAACoAKgAqADIAbACGAKAAugDSeNpjYGRgYOBkUGFgYgABEMkFhAwM/xn0QAIADdUBdAB42qWQvUoDQRSFv3GjaISUQaymSmGxJoGAsRC0iPYLsU50Y6IxrvlRtPCJJKUPIBb+PIHv4EN4djKuKAqCDHfmu+feOdwZoMCUAJNbAlYUMzaUlM14jjxbngOq7HnOia89z1Pk1vMCa9x7ztPkzfMyJbPj+ZGi6Xp+omxuPD+zaD7meaFg7mb8GrBqHmhwxoAxlm0uiRkpP9X5m26pKRoMxTGR1D49Dv/Yb/91o6l8qL6eu5n2hZQzn68utR9m3FU2cB4t9cdSLG2utI+44Eh/P9bqKO+oJ/WxmXssj77YkrjasZQD6SFddythk3Wtzrf+UF2p076Udla1VNzsERP3kkjVRKel7mp1udXYcHtZSlV7RfmJe1GiFWveluaeKD5/MuJcSk8Tpm/vvwPIbmJleNpjYGKAAFYG7ICTgYGRiZGZkYWRlZGNkZ2Rg5GTLT2nsiDDEEIZsZfmZRqZujmDaDcDAxcI7WIOpS2gtCWUdgQAZkcSmQAAAAFblbO6AAA=\"), __webpack_require__.b);\nvar ___CSS_LOADER_EXPORT___ = _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));\nvar ___CSS_LOADER_URL_REPLACEMENT_0___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"@charset \\\"UTF-8\\\";/*!\\n * # Semantic UI 2.4.0 - Dropdown\\n */.ui.dropdown{cursor:pointer;position:relative;display:inline-block;outline:none;text-align:left;transition:box-shadow .1s ease,width .1s ease;-webkit-tap-highlight-color:rgba(0,0,0,0)}.ui.dropdown .menu{cursor:auto;position:absolute;display:none;outline:none;top:100%;min-width:-moz-max-content;min-width:max-content;margin:0;padding:0;background:#FFFFFF;font-size:1em;text-shadow:none;text-align:left;box-shadow:0 2px 3px #22242626;border:1px solid rgba(34,36,38,.15);border-radius:.28571429rem;transition:opacity .1s ease;z-index:11;will-change:transform,opacity}.ui.dropdown .menu>*{white-space:nowrap}.ui.dropdown>input:not(.search):first-child,.ui.dropdown>select{display:none!important}.ui.dropdown>.dropdown.icon{position:relative;width:auto;font-size:.85714286em;margin:0 0 0 1em}.ui.dropdown .menu>.item .dropdown.icon{width:auto;float:right;margin:0 0 0 1em}.ui.dropdown .menu>.item .dropdown.icon+.text{margin-right:1em}.ui.dropdown>.text{display:inline-block;transition:none}.ui.dropdown .menu>.item{position:relative;cursor:pointer;display:block;border:none;height:auto;text-align:left;border-top:none;line-height:1em;color:#000000de;padding:.78571429rem 1.14285714rem!important;font-size:1rem;text-transform:none;font-weight:400;box-shadow:none;-webkit-touch-callout:none}.ui.dropdown .menu>.item:first-child{border-top-width:0px}.ui.dropdown>.text>[class*=\\\"right floated\\\"],.ui.dropdown .menu .item>[class*=\\\"right floated\\\"]{float:right!important;margin-right:0!important;margin-left:1em!important}.ui.dropdown>.text>[class*=\\\"left floated\\\"],.ui.dropdown .menu .item>[class*=\\\"left floated\\\"]{float:left!important;margin-left:0!important;margin-right:1em!important}.ui.dropdown .menu .item>.icon.floated,.ui.dropdown .menu .item>.flag.floated,.ui.dropdown .menu .item>.image.floated,.ui.dropdown .menu .item>img.floated{margin-top:0}.ui.dropdown .menu>.header{margin:1rem 0rem .75rem;padding:0em 1.14285714rem;color:#000000d9;font-size:.78571429em;font-weight:700;text-transform:uppercase}.ui.dropdown .menu>.divider{border-top:1px solid rgba(34,36,38,.1);height:0em;margin:.5em 0}.ui.dropdown.dropdown .menu>.input{width:auto;display:flex;margin:1.14285714rem .78571429rem;min-width:10rem}.ui.dropdown .menu>.header+.input{margin-top:0}.ui.dropdown .menu>.input:not(.transparent) input{padding:.5em 1em}.ui.dropdown .menu>.input:not(.transparent) .button,.ui.dropdown .menu>.input:not(.transparent) .icon,.ui.dropdown .menu>.input:not(.transparent) .label{padding-top:.5em;padding-bottom:.5em}.ui.dropdown>.text>.description,.ui.dropdown .menu>.item>.description{float:right;margin:0 0 0 1em;color:#0006}.ui.dropdown .menu>.message{padding:.78571429rem 1.14285714rem;font-weight:400}.ui.dropdown .menu>.message:not(.ui){color:#0006}.ui.dropdown .menu .menu{top:0%!important;left:100%;right:auto;margin:0 0 0 -.5em!important;border-radius:.28571429rem!important;z-index:21!important}.ui.dropdown .menu .menu:after{display:none}.ui.dropdown>.text>.icon,.ui.dropdown>.text>.label,.ui.dropdown>.text>.flag,.ui.dropdown>.text>img,.ui.dropdown>.text>.image{margin-top:0}.ui.dropdown .menu>.item>.icon,.ui.dropdown .menu>.item>.label,.ui.dropdown .menu>.item>.flag,.ui.dropdown .menu>.item>.image,.ui.dropdown .menu>.item>img{margin-top:0}.ui.dropdown>.text>.icon,.ui.dropdown>.text>.label,.ui.dropdown>.text>.flag,.ui.dropdown>.text>img,.ui.dropdown>.text>.image,.ui.dropdown .menu>.item>.icon,.ui.dropdown .menu>.item>.label,.ui.dropdown .menu>.item>.flag,.ui.dropdown .menu>.item>.image,.ui.dropdown .menu>.item>img{margin-left:0;float:none;margin-right:.78571429rem}.ui.dropdown>.text>img,.ui.dropdown>.text>.image,.ui.dropdown .menu>.item>.image,.ui.dropdown .menu>.item>img{display:inline-block;vertical-align:top;width:auto;margin-top:-.5em;margin-bottom:-.5em;max-height:2em}.ui.dropdown .ui.menu>.item:before,.ui.menu .ui.dropdown .menu>.item:before{display:none}.ui.menu .ui.dropdown .menu .active.item{border-left:none}.ui.menu .right.menu .dropdown:last-child .menu,.ui.menu .right.dropdown.item .menu,.ui.buttons>.ui.dropdown:last-child .menu{left:auto;right:0em}.ui.label.dropdown .menu{min-width:100%}.ui.dropdown.icon.button>.dropdown.icon{margin:0}.ui.button.dropdown .menu{min-width:100%}.ui.selection.dropdown{cursor:pointer;word-wrap:break-word;line-height:1em;white-space:normal;outline:0;transform:rotate(0);min-width:14em;min-height:2.71428571em;background:#FFFFFF;display:inline-block;padding:.78571429em 2.1em .78571429em 1em;color:#000000de;box-shadow:none;border:1px solid rgba(34,36,38,.15);border-radius:.28571429rem;transition:box-shadow .1s ease,width .1s ease}.ui.selection.dropdown.visible,.ui.selection.dropdown.active{z-index:10}select.ui.dropdown{height:38px;padding:.5em;border:1px solid rgba(34,36,38,.15);visibility:visible}.ui.selection.dropdown>.search.icon,.ui.selection.dropdown>.delete.icon,.ui.selection.dropdown>.dropdown.icon{cursor:pointer;position:absolute;width:auto;height:auto;line-height:1.21428571em;top:.78571429em;right:1em;z-index:3;margin:-.78571429em;padding:.91666667em;opacity:.8;transition:opacity .1s ease}.ui.compact.selection.dropdown{min-width:0px}.ui.selection.dropdown .menu{overflow-x:hidden;overflow-y:auto;backface-visibility:hidden;-webkit-overflow-scrolling:touch;border-top-width:0px!important;width:auto;outline:none;margin:0 -1px;min-width:calc(100% + 2px);width:calc(100% + 2px);border-radius:0em 0em .28571429rem .28571429rem;box-shadow:0 2px 3px #22242626;transition:opacity .1s ease}.ui.selection.dropdown .menu:after,.ui.selection.dropdown .menu:before{display:none}.ui.selection.dropdown .menu>.message{padding:.78571429rem 1.14285714rem}@media only screen and (max-width: 767px){.ui.selection.dropdown .menu{max-height:8.01428571rem}}@media only screen and (min-width: 768px){.ui.selection.dropdown .menu{max-height:10.68571429rem}}@media only screen and (min-width: 992px){.ui.selection.dropdown .menu{max-height:16.02857143rem}}@media only screen and (min-width: 1920px){.ui.selection.dropdown .menu{max-height:21.37142857rem}}.ui.selection.dropdown .menu>.item{border-top:1px solid #FAFAFA;padding:.78571429rem 1.14285714rem!important;white-space:normal;word-wrap:normal}.ui.selection.dropdown .menu>.hidden.addition.item{display:none}.ui.selection.dropdown:hover{border-color:#22242659;box-shadow:none}.ui.selection.active.dropdown,.ui.selection.active.dropdown .menu{border-color:#96c8da;box-shadow:0 2px 3px #22242626}.ui.selection.dropdown:focus{border-color:#96c8da;box-shadow:none}.ui.selection.dropdown:focus .menu{border-color:#96c8da;box-shadow:0 2px 3px #22242626}.ui.selection.visible.dropdown>.text:not(.default){font-weight:400;color:#000c}.ui.selection.active.dropdown:hover,.ui.selection.active.dropdown:hover .menu{border-color:#96c8da;box-shadow:0 2px 3px #22242626}.ui.active.selection.dropdown>.dropdown.icon,.ui.visible.selection.dropdown>.dropdown.icon{opacity:\\\"\\\";z-index:3}.ui.active.selection.dropdown{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.ui.active.empty.selection.dropdown{border-radius:.28571429rem!important;box-shadow:none!important}.ui.active.empty.selection.dropdown .menu{border:none!important;box-shadow:none!important}.ui.search.dropdown{min-width:\\\"\\\"}.ui.search.dropdown>input.search{background:none transparent!important;border:none!important;box-shadow:none!important;cursor:text;top:0em;left:1px;width:100%;outline:none;-webkit-tap-highlight-color:rgba(255,255,255,0);padding:inherit}.ui.search.dropdown>input.search{position:absolute;z-index:2}.ui.search.dropdown>.text{cursor:text;position:relative;left:1px;z-index:3}.ui.search.selection.dropdown>input.search{line-height:1.21428571em;padding:.67857143em 2.1em .67857143em 1em}.ui.search.selection.dropdown>span.sizer{line-height:1.21428571em;padding:.67857143em 2.1em .67857143em 1em;display:none;white-space:pre}.ui.search.dropdown.active>input.search,.ui.search.dropdown.visible>input.search{cursor:auto}.ui.search.dropdown.active>.text,.ui.search.dropdown.visible>.text{pointer-events:none}.ui.active.search.dropdown input.search:focus+.text .icon,.ui.active.search.dropdown input.search:focus+.text .flag{opacity:.45}.ui.active.search.dropdown input.search:focus+.text{color:#737373de!important}.ui.search.dropdown .menu{overflow-x:hidden;overflow-y:auto;backface-visibility:hidden;-webkit-overflow-scrolling:touch}@media only screen and (max-width: 767px){.ui.search.dropdown .menu{max-height:8.01428571rem}}@media only screen and (min-width: 768px){.ui.search.dropdown .menu{max-height:10.68571429rem}}@media only screen and (min-width: 992px){.ui.search.dropdown .menu{max-height:16.02857143rem}}@media only screen and (min-width: 1920px){.ui.search.dropdown .menu{max-height:21.37142857rem}}.ui.multiple.dropdown{padding:.22619048em 2.1em .22619048em .35714286em}.ui.multiple.dropdown .menu{cursor:auto}.ui.multiple.search.dropdown,.ui.multiple.search.dropdown>input.search{cursor:text}.ui.multiple.dropdown>.label{-webkit-user-select:none;-moz-user-select:none;user-select:none;display:inline-block;vertical-align:top;white-space:normal;font-size:1em;padding:.35714286em .78571429em;margin:.14285714rem .28571429rem .14285714rem 0em;box-shadow:0 0 0 1px #22242626 inset}.ui.multiple.dropdown .dropdown.icon{margin:\\\"\\\";padding:\\\"\\\"}.ui.multiple.dropdown>.text{position:static;padding:0;max-width:100%;margin:.45238095em 0 .45238095em .64285714em;line-height:1.21428571em}.ui.multiple.dropdown>.label~input.search{margin-left:.14285714em!important}.ui.multiple.dropdown>.label~.text{display:none}.ui.multiple.search.dropdown>.text{display:inline-block;position:absolute;top:0;left:0;padding:inherit;margin:.45238095em 0 .45238095em .64285714em;line-height:1.21428571em}.ui.multiple.search.dropdown>.label~.text{display:none}.ui.multiple.search.dropdown>input.search{position:static;padding:0;max-width:100%;margin:.45238095em 0 .45238095em .64285714em;width:2.2em;line-height:1.21428571em}.ui.inline.dropdown{cursor:pointer;display:inline-block;color:inherit}.ui.inline.dropdown .dropdown.icon{margin:0 .21428571em;vertical-align:baseline}.ui.inline.dropdown>.text{font-weight:700}.ui.inline.dropdown .menu{cursor:auto;margin-top:.21428571em;border-radius:.28571429rem}.ui.dropdown .menu .active.item{background:transparent;font-weight:700;color:#000000f2;box-shadow:none;z-index:12}.ui.dropdown .menu>.item:hover{background:rgba(0,0,0,.05);color:#000000f2;z-index:13}.ui.loading.dropdown>i.icon{height:1em!important}.ui.loading.selection.dropdown>i.icon{padding:1.5em 1.28571429em!important}.ui.loading.dropdown>i.icon:before{position:absolute;content:\\\"\\\";top:50%;left:50%;margin:-.64285714em 0 0 -.64285714em;width:1.28571429em;height:1.28571429em;border-radius:500rem;border:.2em solid rgba(0,0,0,.1)}.ui.loading.dropdown>i.icon:after{position:absolute;content:\\\"\\\";top:50%;left:50%;box-shadow:0 0 0 1px transparent;margin:-.64285714em 0 0 -.64285714em;width:1.28571429em;height:1.28571429em;animation:dropdown-spin .6s linear;animation-iteration-count:infinite;border-radius:500rem;border-color:#767676 transparent transparent;border-style:solid;border-width:.2em}.ui.loading.dropdown.button>i.icon:before,.ui.loading.dropdown.button>i.icon:after{display:none}@keyframes dropdown-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ui.dropdown:not(.button)>.default.text,.ui.default.dropdown:not(.button)>.text{color:#bfbfbfde}.ui.dropdown:not(.button)>input:focus~.default.text,.ui.default.dropdown:not(.button)>input:focus~.text{color:#737373de}.ui.loading.dropdown>.text{transition:none}.ui.dropdown .loading.menu{display:block;visibility:hidden;z-index:-1}.ui.dropdown>.loading.menu{left:0px!important;right:auto!important}.ui.dropdown>.menu .loading.menu{left:100%!important;right:auto!important}.ui.dropdown.selected,.ui.dropdown .menu .selected.item{background:rgba(0,0,0,.03);color:#000000f2}.ui.dropdown>.filtered.text{visibility:hidden}.ui.dropdown .filtered.item{display:none!important}.ui.dropdown.error,.ui.dropdown.error>.text,.ui.dropdown.error>.default.text{color:#9f3a38}.ui.selection.dropdown.error{background:#FFF6F6;border-color:#e0b4b4}.ui.selection.dropdown.error:hover{border-color:#e0b4b4}.ui.dropdown.error>.menu,.ui.dropdown.error>.menu .menu{border-color:#e0b4b4}.ui.dropdown.error>.menu>.item{color:#9f3a38}.ui.multiple.selection.error.dropdown>.label{border-color:#e0b4b4}.ui.dropdown.error>.menu>.item:hover{background-color:#fff2f2}.ui.dropdown.error>.menu .active.item{background-color:#fdcfcf}.ui.dropdown>.clear.dropdown.icon{opacity:.8;transition:opacity .1s ease}.ui.dropdown>.clear.dropdown.icon:hover{opacity:1}.ui.disabled.dropdown,.ui.dropdown .menu>.disabled.item{cursor:default;pointer-events:none;opacity:.45}.ui.dropdown .menu{left:0px}.ui.dropdown .right.menu>.menu,.ui.dropdown .menu .right.menu{left:100%!important;right:auto!important;border-radius:.28571429rem!important}.ui.dropdown>.left.menu{left:auto!important;right:0px!important}.ui.dropdown>.left.menu .menu,.ui.dropdown .menu .left.menu{left:auto;right:100%;margin:0 -.5em 0 0!important;border-radius:.28571429rem!important}.ui.dropdown .item .left.dropdown.icon,.ui.dropdown .left.menu .item .dropdown.icon{width:auto;float:left;margin:0}.ui.dropdown .item .left.dropdown.icon+.text,.ui.dropdown .left.menu .item .dropdown.icon+.text{margin-left:1em;margin-right:0}.ui.upward.dropdown>.menu{top:auto;bottom:100%;box-shadow:0 0 3px #00000014;border-radius:.28571429rem .28571429rem 0em 0em}.ui.dropdown .upward.menu{top:auto!important;bottom:0!important}.ui.simple.upward.active.dropdown,.ui.simple.upward.dropdown:hover{border-radius:.28571429rem .28571429rem 0em 0em!important}.ui.upward.dropdown.button:not(.pointing):not(.floating).active{border-radius:.28571429rem .28571429rem 0em 0em}.ui.upward.selection.dropdown .menu{border-top-width:1px!important;border-bottom-width:0px!important;box-shadow:0 -2px 3px #00000014}.ui.upward.selection.dropdown:hover{box-shadow:0 0 2px #0000000d}.ui.active.upward.selection.dropdown{border-radius:0em 0em .28571429rem .28571429rem!important}.ui.upward.selection.dropdown.visible{box-shadow:0 0 3px #00000014;border-radius:0em 0em .28571429rem .28571429rem!important}.ui.upward.active.selection.dropdown:hover{box-shadow:0 0 3px #0000000d}.ui.upward.active.selection.dropdown:hover .menu{box-shadow:0 -2px 3px #00000014}.ui.scrolling.dropdown .menu,.ui.dropdown .scrolling.menu{overflow-x:hidden;overflow-y:auto}.ui.scrolling.dropdown .menu{overflow-x:hidden;overflow-y:auto;backface-visibility:hidden;-webkit-overflow-scrolling:touch;min-width:100%!important;width:auto!important}.ui.dropdown .scrolling.menu{position:static;overflow-y:auto;border:none;box-shadow:none!important;border-radius:0!important;margin:0!important;min-width:100%!important;width:auto!important;border-top:1px solid rgba(34,36,38,.15)}.ui.scrolling.dropdown .menu .item.item.item,.ui.dropdown .scrolling.menu>.item.item.item{border-top:none}.ui.scrolling.dropdown .menu .item:first-child,.ui.dropdown .scrolling.menu .item:first-child{border-top:none}.ui.dropdown>.animating.menu .scrolling.menu,.ui.dropdown>.visible.menu .scrolling.menu{display:block}@media all and (-ms-high-contrast: none){.ui.scrolling.dropdown .menu,.ui.dropdown .scrolling.menu{min-width:calc(100% - 17px)}}@media only screen and (max-width: 767px){.ui.scrolling.dropdown .menu,.ui.dropdown .scrolling.menu{max-height:10.28571429rem}}@media only screen and (min-width: 768px){.ui.scrolling.dropdown .menu,.ui.dropdown .scrolling.menu{max-height:15.42857143rem}}@media only screen and (min-width: 992px){.ui.scrolling.dropdown .menu,.ui.dropdown .scrolling.menu{max-height:20.57142857rem}}@media only screen and (min-width: 1920px){.ui.scrolling.dropdown .menu,.ui.dropdown .scrolling.menu{max-height:20.57142857rem}}.ui.simple.dropdown .menu:before,.ui.simple.dropdown .menu:after{display:none}.ui.simple.dropdown .menu{position:absolute;display:block;overflow:hidden;top:-9999px!important;opacity:0;width:0;height:0;transition:opacity .1s ease}.ui.simple.active.dropdown,.ui.simple.dropdown:hover{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.ui.simple.active.dropdown>.menu,.ui.simple.dropdown:hover>.menu{overflow:visible;width:auto;height:auto;top:100%!important;opacity:1}.ui.simple.dropdown>.menu>.item:active>.menu,.ui.simple.dropdown:hover>.menu>.item:hover>.menu{overflow:visible;width:auto;height:auto;top:0%!important;left:100%!important;opacity:1}.ui.simple.disabled.dropdown:hover .menu{display:none;height:0px;width:0px;overflow:hidden}.ui.simple.visible.dropdown>.menu{display:block}.ui.fluid.dropdown{display:block;width:100%;min-width:0em}.ui.fluid.dropdown>.dropdown.icon{float:right}.ui.floating.dropdown .menu{left:0;right:auto;box-shadow:0 2px 4px #2224261f,0 2px 10px #22242626!important;border-radius:.28571429rem!important}.ui.floating.dropdown>.menu{margin-top:.5em!important;border-radius:.28571429rem!important}.ui.pointing.dropdown>.menu{top:100%;margin-top:.78571429rem;border-radius:.28571429rem}.ui.pointing.dropdown>.menu:after{display:block;position:absolute;pointer-events:none;content:\\\"\\\";visibility:visible;transform:rotate(45deg);width:.5em;height:.5em;box-shadow:-1px -1px #22242626;background:#FFFFFF;z-index:2}.ui.pointing.dropdown>.menu:after{top:-.25em;left:50%;margin:0 0 0 -.25em}.ui.top.left.pointing.dropdown>.menu{top:100%;bottom:auto;left:0%;right:auto;margin:1em 0 0}.ui.top.left.pointing.dropdown>.menu:after{top:-.25em;left:1em;right:auto;margin:0;transform:rotate(45deg)}.ui.top.right.pointing.dropdown>.menu{top:100%;bottom:auto;right:0%;left:auto;margin:1em 0 0}.ui.top.pointing.dropdown>.left.menu:after,.ui.top.right.pointing.dropdown>.menu:after{top:-.25em;left:auto!important;right:1em!important;margin:0;transform:rotate(45deg)}.ui.left.pointing.dropdown>.menu{top:0%;left:100%;right:auto;margin:0 0 0 1em}.ui.left.pointing.dropdown>.menu:after{top:1em;left:-.25em;margin:0;transform:rotate(-45deg)}.ui.left:not(.top):not(.bottom).pointing.dropdown>.left.menu{left:auto!important;right:100%!important;margin:0 1em 0 0}.ui.left:not(.top):not(.bottom).pointing.dropdown>.left.menu:after{top:1em;left:auto;right:-.25em;margin:0;transform:rotate(135deg)}.ui.right.pointing.dropdown>.menu{top:0%;left:auto;right:100%;margin:0 1em 0 0}.ui.right.pointing.dropdown>.menu:after{top:1em;left:auto;right:-.25em;margin:0;transform:rotate(135deg)}.ui.bottom.pointing.dropdown>.menu{top:auto;bottom:100%;left:0%;right:auto;margin:0 0 1em}.ui.bottom.pointing.dropdown>.menu:after{top:auto;bottom:-.25em;right:auto;margin:0;transform:rotate(-135deg)}.ui.bottom.pointing.dropdown>.menu .menu{top:auto!important;bottom:0px!important}.ui.bottom.left.pointing.dropdown>.menu{left:0%;right:auto}.ui.bottom.left.pointing.dropdown>.menu:after{left:1em;right:auto}.ui.bottom.right.pointing.dropdown>.menu{right:0%;left:auto}.ui.bottom.right.pointing.dropdown>.menu:after{left:auto;right:1em}.ui.pointing.upward.dropdown .menu,.ui.top.pointing.upward.dropdown .menu{top:auto!important;bottom:100%!important;margin:0em 0em .78571429rem;border-radius:.28571429rem}.ui.pointing.upward.dropdown .menu:after,.ui.top.pointing.upward.dropdown .menu:after{top:100%!important;bottom:auto!important;box-shadow:1px 1px #22242626;margin:-.25em 0 0}.ui.right.pointing.upward.dropdown:not(.top):not(.bottom) .menu{top:auto!important;bottom:0!important;margin:0 1em 0 0}.ui.right.pointing.upward.dropdown:not(.top):not(.bottom) .menu:after{top:auto!important;bottom:0!important;margin:0 0 1em;box-shadow:-1px -1px #22242626}.ui.left.pointing.upward.dropdown:not(.top):not(.bottom) .menu{top:auto!important;bottom:0!important;margin:0 0 0 1em}.ui.left.pointing.upward.dropdown:not(.top):not(.bottom) .menu:after{top:auto!important;bottom:0!important;margin:0 0 1em;box-shadow:-1px -1px #22242626}@font-face{font-family:Dropdown;src:url(\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \") format(\\\"woff\\\");font-weight:400;font-style:normal}.ui.dropdown>.dropdown.icon{font-family:Dropdown;line-height:1;height:1em;width:1.23em;backface-visibility:hidden;font-weight:400;font-style:normal;text-align:center}.ui.dropdown>.dropdown.icon{width:auto}.ui.dropdown>.dropdown.icon:before{content:\\\"ï\\\"}.ui.dropdown .menu .item .dropdown.icon:before{content:\\\"ï\\\"}.ui.dropdown .item .left.dropdown.icon:before,.ui.dropdown .left.menu .item .dropdown.icon:before{content:\\\"ï\\\"}.ui.vertical.menu .dropdown.item>.dropdown.icon:before{content:\\\"ï\\\"}.ui.dropdown>.clear.icon:before{content:\\\"ï\\\"}/*!\\n * # Semantic UI 2.4.1 - Label\\n */.ui.label{display:inline-block;line-height:1;vertical-align:baseline;margin:0 .14285714em;background-color:#e8e8e8;background-image:none;padding:.5833em .833em;color:#0009;text-transform:none;font-weight:700;border:0px solid transparent;border-radius:.28571429rem;transition:background .1s ease}.ui.label:first-child{margin-left:0}.ui.label:last-child{margin-right:0}a.ui.label{cursor:pointer}.ui.label>a{cursor:pointer;color:inherit;opacity:.5;transition:.1s opacity ease}.ui.label>a:hover{opacity:1}.ui.label>img{width:auto!important;vertical-align:middle;height:2.1666em!important}.ui.label>.icon{width:auto;margin:0 .75em 0 0}.ui.label>.detail{display:inline-block;vertical-align:top;font-weight:700;margin-left:1em;opacity:.8}.ui.label>.detail .icon{margin:0 .25em 0 0}.ui.label>.close.icon,.ui.label>.delete.icon{cursor:pointer;margin-right:0;margin-left:.5em;font-size:.92857143em;opacity:.5;transition:background .1s ease}.ui.label>.delete.icon:hover{opacity:1}.ui.dropdown{box-sizing:border-box;font-size:14px}.ui.dropdown input{font-size:14px}.ui.dropdown .menu{box-sizing:content-box}.ui.dropdown .menu>.item{font-size:14px}.ui.selection.dropdown{min-height:14px}.ui.selection.dropdown .menu{min-width:100%;width:100%}.ui.multiple.dropdown>.label{position:relative;padding-right:calc(.78571429em + 15px)}.ui.multiple.dropdown>.label i.icon.delete:before{content:\\\"Ã\\\";font-family:Arial,sans-serif}.ui.multiple.dropdown>.label i.icon.delete{box-sizing:border-box;position:absolute;right:10px;display:inline-block;width:18px;height:24px;margin:-5px -10px}.ui.multiple.dropdown>.label i.icon.delete:before,.ui.multiple.dropdown>.label i.icon.delete:after{position:absolute;content:\\\" \\\";height:12px;width:3px;top:25%;left:25%;transform:translate(-25%,-25%);background-color:#333}.ui.multiple.dropdown>.label i.icon.delete:before{transform:rotate(45deg)}.ui.multiple.dropdown>.label i.icon.delete:after{transform:rotate(-45deg)}\\n\", \"\"]);\n// Exports\n/* harmony default export */ __webpack_exports__[\"default\"] = (___CSS_LOADER_EXPORT___);\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/vue-search-select/dist/VueSearchSelect.css?./node_modules/css-loader/dist/cjs.js??clonedRuleSet-14.use%5B1%5D!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-14.use%5B2%5D"); 595 596/***/ }), 597
vendor: 2,816 bytes, lines 598-608
598/***/ "./node_modules/css-loader/dist/runtime/api.js": 599/*!*****************************************************!*\ 600 !*** ./node_modules/css-loader/dist/runtime/api.js ***! 601 \*****************************************************/ 602/***/ (function(module) { 603 604"use strict"; 605eval("\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/css-loader/dist/runtime/api.js?"); 606 607/***/ }), 608
vendor: 1,030 bytes, lines 609-619
609/***/ "./node_modules/css-loader/dist/runtime/getUrl.js": 610/*!********************************************************!*\ 611 !*** ./node_modules/css-loader/dist/runtime/getUrl.js ***! 612 \********************************************************/ 613/***/ (function(module) { 614 615"use strict"; 616eval("\n\nmodule.exports = function (url, options) {\n if (!options) {\n options = {};\n }\n if (!url) {\n return url;\n }\n url = String(url.__esModule ? url.default : url);\n\n // If url is already wrapped in quotes, remove them\n if (/^['\"].*['\"]$/.test(url)) {\n url = url.slice(1, -1);\n }\n if (options.hash) {\n url += options.hash;\n }\n\n // Should url be wrapped?\n // See https://drafts.csswg.org/css-values-3/#urls\n if (/[\"'() \\t\\n]|(%20)/.test(url) || options.needQuotes) {\n return \"\\\"\".concat(url.replace(/\"/g, '\\\\\"').replace(/\\n/g, \"\\\\n\"), \"\\\"\");\n }\n return url;\n};\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/css-loader/dist/runtime/getUrl.js?"); 617 618/***/ }), 619
vendor: 484 bytes, lines 620-630
620/***/ "./node_modules/css-loader/dist/runtime/noSourceMaps.js": 621/*!**************************************************************!*\ 622 !*** ./node_modules/css-loader/dist/runtime/noSourceMaps.js ***! 623 \**************************************************************/ 624/***/ (function(module) { 625 626"use strict"; 627eval("\n\nmodule.exports = function (i) {\n return i[1];\n};\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/css-loader/dist/runtime/noSourceMaps.js?"); 628 629/***/ }), 630
vendor: 1,883 bytes, lines 631-641
631/***/ "./node_modules/@fawmi/vue-google-maps/src/components/autocomplete.vue": 632/*!*****************************************************************************!*\ 633 !*** ./node_modules/@fawmi/vue-google-maps/src/components/autocomplete.vue ***! 634 \*****************************************************************************/ 635/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 636 637"use strict"; 638eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _autocomplete_vue_vue_type_template_id_5b7498ca__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./autocomplete.vue?vue&type=template&id=5b7498ca */ \"./node_modules/@fawmi/vue-google-maps/src/components/autocomplete.vue?vue&type=template&id=5b7498ca\");\n/* harmony import */ var _autocomplete_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./autocomplete.vue?vue&type=script&lang=js */ \"./node_modules/@fawmi/vue-google-maps/src/components/autocomplete.vue?vue&type=script&lang=js\");\n/* harmony import */ var _vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../vue-loader/dist/exportHelper.js */ \"./node_modules/vue-loader/dist/exportHelper.js\");\n\n\n\n\n;\nconst __exports__ = /*#__PURE__*/(0,_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_autocomplete_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"], [['render',_autocomplete_vue_vue_type_template_id_5b7498ca__WEBPACK_IMPORTED_MODULE_0__.render],['__file',\"node_modules/@fawmi/vue-google-maps/src/components/autocomplete.vue\"]])\n/* hot reload */\nif (false) {}\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (__exports__);\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/autocomplete.vue?"); 639 640/***/ }), 641
vendor: 1,813 bytes, lines 642-652
642/***/ "./node_modules/@fawmi/vue-google-maps/src/components/cluster.vue": 643/*!************************************************************************!*\ 644 !*** ./node_modules/@fawmi/vue-google-maps/src/components/cluster.vue ***! 645 \************************************************************************/ 646/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 647 648"use strict"; 649eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _cluster_vue_vue_type_template_id_b97a24d2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cluster.vue?vue&type=template&id=b97a24d2 */ \"./node_modules/@fawmi/vue-google-maps/src/components/cluster.vue?vue&type=template&id=b97a24d2\");\n/* harmony import */ var _cluster_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cluster.vue?vue&type=script&lang=js */ \"./node_modules/@fawmi/vue-google-maps/src/components/cluster.vue?vue&type=script&lang=js\");\n/* harmony import */ var _vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../vue-loader/dist/exportHelper.js */ \"./node_modules/vue-loader/dist/exportHelper.js\");\n\n\n\n\n;\nconst __exports__ = /*#__PURE__*/(0,_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_cluster_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"], [['render',_cluster_vue_vue_type_template_id_b97a24d2__WEBPACK_IMPORTED_MODULE_0__.render],['__file',\"node_modules/@fawmi/vue-google-maps/src/components/cluster.vue\"]])\n/* hot reload */\nif (false) {}\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (__exports__);\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/cluster.vue?"); 650 651/***/ }), 652
vendor: 1,855 bytes, lines 653-663
653/***/ "./node_modules/@fawmi/vue-google-maps/src/components/infoWindow.vue": 654/*!***************************************************************************!*\ 655 !*** ./node_modules/@fawmi/vue-google-maps/src/components/infoWindow.vue ***! 656 \***************************************************************************/ 657/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 658 659"use strict"; 660eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _infoWindow_vue_vue_type_template_id_6c9aa5b1__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./infoWindow.vue?vue&type=template&id=6c9aa5b1 */ \"./node_modules/@fawmi/vue-google-maps/src/components/infoWindow.vue?vue&type=template&id=6c9aa5b1\");\n/* harmony import */ var _infoWindow_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./infoWindow.vue?vue&type=script&lang=js */ \"./node_modules/@fawmi/vue-google-maps/src/components/infoWindow.vue?vue&type=script&lang=js\");\n/* harmony import */ var _vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../vue-loader/dist/exportHelper.js */ \"./node_modules/vue-loader/dist/exportHelper.js\");\n\n\n\n\n;\nconst __exports__ = /*#__PURE__*/(0,_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_infoWindow_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"], [['render',_infoWindow_vue_vue_type_template_id_6c9aa5b1__WEBPACK_IMPORTED_MODULE_0__.render],['__file',\"node_modules/@fawmi/vue-google-maps/src/components/infoWindow.vue\"]])\n/* hot reload */\nif (false) {}\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (__exports__);\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/infoWindow.vue?"); 661 662/***/ }), 663
vendor: 2,063 bytes, lines 664-674
664/***/ "./node_modules/@fawmi/vue-google-maps/src/components/map.vue": 665/*!********************************************************************!*\ 666 !*** ./node_modules/@fawmi/vue-google-maps/src/components/map.vue ***! 667 \********************************************************************/ 668/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 669 670"use strict"; 671eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _map_vue_vue_type_template_id_0c1aca79__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./map.vue?vue&type=template&id=0c1aca79 */ \"./node_modules/@fawmi/vue-google-maps/src/components/map.vue?vue&type=template&id=0c1aca79\");\n/* harmony import */ var _map_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./map.vue?vue&type=script&lang=js */ \"./node_modules/@fawmi/vue-google-maps/src/components/map.vue?vue&type=script&lang=js\");\n/* harmony import */ var _map_vue_vue_type_style_index_0_id_0c1aca79_lang_css__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./map.vue?vue&type=style&index=0&id=0c1aca79&lang=css */ \"./node_modules/@fawmi/vue-google-maps/src/components/map.vue?vue&type=style&index=0&id=0c1aca79&lang=css\");\n/* harmony import */ var _vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../vue-loader/dist/exportHelper.js */ \"./node_modules/vue-loader/dist/exportHelper.js\");\n\n\n\n\n;\n\n\nconst __exports__ = /*#__PURE__*/(0,_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(_map_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"], [['render',_map_vue_vue_type_template_id_0c1aca79__WEBPACK_IMPORTED_MODULE_0__.render],['__file',\"node_modules/@fawmi/vue-google-maps/src/components/map.vue\"]])\n/* hot reload */\nif (false) {}\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (__exports__);\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/map.vue?"); 672 673/***/ }), 674
vendor: 26,389 bytes, lines 675-816
675/***/ "./node_modules/@fawmi/vue-google-maps/src/components/marker.vue": 676/*!***********************************************************************!*\ 677 !*** ./node_modules/@fawmi/vue-google-maps/src/components/marker.vue ***! 678 \***********************************************************************/ 679/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 680 681"use strict"; 682eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _marker_vue_vue_type_template_id_21eae1a6__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./marker.vue?vue&type=template&id=21eae1a6 */ \"./node_modules/@fawmi/vue-google-maps/src/components/marker.vue?vue&type=template&id=21eae1a6\");\n/* harmony import */ var _marker_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./marker.vue?vue&type=script&lang=js */ \"./node_modules/@fawmi/vue-google-maps/src/components/marker.vue?vue&type=script&lang=js\");\n/* harmony import */ var _vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../vue-loader/dist/exportHelper.js */ \"./node_modules/vue-loader/dist/exportHelper.js\");\n\n\n\n\n;\nconst __exports__ = /*#__PURE__*/(0,_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_marker_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"], [['render',_marker_vue_vue_type_template_id_21eae1a6__WEBPACK_IMPORTED_MODULE_0__.render],['__file',\"node_modules/@fawmi/vue-google-maps/src/components/marker.vue\"]])\n/* hot reload */\nif (false) {}\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (__exports__);\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/marker.vue?"); 683 684/***/ }), 685 686/***/ "./node_modules/@fawmi/vue-google-maps/src/components/autocomplete.vue?vue&type=script&lang=js": 687/*!*****************************************************************************************************!*\ 688 !*** ./node_modules/@fawmi/vue-google-maps/src/components/autocomplete.vue?vue&type=script&lang=js ***! 689 \*****************************************************************************************************/ 690/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 691 692"use strict"; 693eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": function() { return /* reexport safe */ _babel_loader_lib_index_js_clonedRuleSet_40_use_0_vue_loader_dist_index_js_ruleSet_0_use_0_autocomplete_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _babel_loader_lib_index_js_clonedRuleSet_40_use_0_vue_loader_dist_index_js_ruleSet_0_use_0_autocomplete_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../babel-loader/lib/index.js??clonedRuleSet-40.use[0]!../../../../vue-loader/dist/index.js??ruleSet[0].use[0]!./autocomplete.vue?vue&type=script&lang=js */ \"./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/autocomplete.vue?vue&type=script&lang=js\");\n \n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/autocomplete.vue?"); 694 695/***/ }), 696 697/***/ "./node_modules/@fawmi/vue-google-maps/src/components/cluster.vue?vue&type=script&lang=js": 698/*!************************************************************************************************!*\ 699 !*** ./node_modules/@fawmi/vue-google-maps/src/components/cluster.vue?vue&type=script&lang=js ***! 700 \************************************************************************************************/ 701/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 702 703"use strict"; 704eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": function() { return /* reexport safe */ _babel_loader_lib_index_js_clonedRuleSet_40_use_0_vue_loader_dist_index_js_ruleSet_0_use_0_cluster_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _babel_loader_lib_index_js_clonedRuleSet_40_use_0_vue_loader_dist_index_js_ruleSet_0_use_0_cluster_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../babel-loader/lib/index.js??clonedRuleSet-40.use[0]!../../../../vue-loader/dist/index.js??ruleSet[0].use[0]!./cluster.vue?vue&type=script&lang=js */ \"./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/cluster.vue?vue&type=script&lang=js\");\n \n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/cluster.vue?"); 705 706/***/ }), 707 708/***/ "./node_modules/@fawmi/vue-google-maps/src/components/infoWindow.vue?vue&type=script&lang=js": 709/*!***************************************************************************************************!*\ 710 !*** ./node_modules/@fawmi/vue-google-maps/src/components/infoWindow.vue?vue&type=script&lang=js ***! 711 \***************************************************************************************************/ 712/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 713 714"use strict"; 715eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": function() { return /* reexport safe */ _babel_loader_lib_index_js_clonedRuleSet_40_use_0_vue_loader_dist_index_js_ruleSet_0_use_0_infoWindow_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _babel_loader_lib_index_js_clonedRuleSet_40_use_0_vue_loader_dist_index_js_ruleSet_0_use_0_infoWindow_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../babel-loader/lib/index.js??clonedRuleSet-40.use[0]!../../../../vue-loader/dist/index.js??ruleSet[0].use[0]!./infoWindow.vue?vue&type=script&lang=js */ \"./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/infoWindow.vue?vue&type=script&lang=js\");\n \n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/infoWindow.vue?"); 716 717/***/ }), 718 719/***/ "./node_modules/@fawmi/vue-google-maps/src/components/map.vue?vue&type=script&lang=js": 720/*!********************************************************************************************!*\ 721 !*** ./node_modules/@fawmi/vue-google-maps/src/components/map.vue?vue&type=script&lang=js ***! 722 \********************************************************************************************/ 723/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 724 725"use strict"; 726eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": function() { return /* reexport safe */ _babel_loader_lib_index_js_clonedRuleSet_40_use_0_vue_loader_dist_index_js_ruleSet_0_use_0_map_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _babel_loader_lib_index_js_clonedRuleSet_40_use_0_vue_loader_dist_index_js_ruleSet_0_use_0_map_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../babel-loader/lib/index.js??clonedRuleSet-40.use[0]!../../../../vue-loader/dist/index.js??ruleSet[0].use[0]!./map.vue?vue&type=script&lang=js */ \"./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/map.vue?vue&type=script&lang=js\");\n \n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/map.vue?"); 727 728/***/ }), 729 730/***/ "./node_modules/@fawmi/vue-google-maps/src/components/marker.vue?vue&type=script&lang=js": 731/*!***********************************************************************************************!*\ 732 !*** ./node_modules/@fawmi/vue-google-maps/src/components/marker.vue?vue&type=script&lang=js ***! 733 \***********************************************************************************************/ 734/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 735 736"use strict"; 737eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": function() { return /* reexport safe */ _babel_loader_lib_index_js_clonedRuleSet_40_use_0_vue_loader_dist_index_js_ruleSet_0_use_0_marker_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _babel_loader_lib_index_js_clonedRuleSet_40_use_0_vue_loader_dist_index_js_ruleSet_0_use_0_marker_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../babel-loader/lib/index.js??clonedRuleSet-40.use[0]!../../../../vue-loader/dist/index.js??ruleSet[0].use[0]!./marker.vue?vue&type=script&lang=js */ \"./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/marker.vue?vue&type=script&lang=js\");\n \n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/marker.vue?"); 738 739/***/ }), 740 741/***/ "./node_modules/@fawmi/vue-google-maps/src/components/autocomplete.vue?vue&type=template&id=5b7498ca": 742/*!***********************************************************************************************************!*\ 743 !*** ./node_modules/@fawmi/vue-google-maps/src/components/autocomplete.vue?vue&type=template&id=5b7498ca ***! 744 \***********************************************************************************************************/ 745/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 746 747"use strict"; 748eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* reexport safe */ _babel_loader_lib_index_js_clonedRuleSet_40_use_0_vue_loader_dist_templateLoader_js_ruleSet_1_rules_3_vue_loader_dist_index_js_ruleSet_0_use_0_autocomplete_vue_vue_type_template_id_5b7498ca__WEBPACK_IMPORTED_MODULE_0__.render; }\n/* harmony export */ });\n/* harmony import */ var _babel_loader_lib_index_js_clonedRuleSet_40_use_0_vue_loader_dist_templateLoader_js_ruleSet_1_rules_3_vue_loader_dist_index_js_ruleSet_0_use_0_autocomplete_vue_vue_type_template_id_5b7498ca__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../babel-loader/lib/index.js??clonedRuleSet-40.use[0]!../../../../vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!../../../../vue-loader/dist/index.js??ruleSet[0].use[0]!./autocomplete.vue?vue&type=template&id=5b7498ca */ \"./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/autocomplete.vue?vue&type=template&id=5b7498ca\");\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/autocomplete.vue?"); 749 750/***/ }), 751 752/***/ "./node_modules/@fawmi/vue-google-maps/src/components/cluster.vue?vue&type=template&id=b97a24d2": 753/*!******************************************************************************************************!*\ 754 !*** ./node_modules/@fawmi/vue-google-maps/src/components/cluster.vue?vue&type=template&id=b97a24d2 ***! 755 \******************************************************************************************************/ 756/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 757 758"use strict"; 759eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* reexport safe */ _babel_loader_lib_index_js_clonedRuleSet_40_use_0_vue_loader_dist_templateLoader_js_ruleSet_1_rules_3_vue_loader_dist_index_js_ruleSet_0_use_0_cluster_vue_vue_type_template_id_b97a24d2__WEBPACK_IMPORTED_MODULE_0__.render; }\n/* harmony export */ });\n/* harmony import */ var _babel_loader_lib_index_js_clonedRuleSet_40_use_0_vue_loader_dist_templateLoader_js_ruleSet_1_rules_3_vue_loader_dist_index_js_ruleSet_0_use_0_cluster_vue_vue_type_template_id_b97a24d2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../babel-loader/lib/index.js??clonedRuleSet-40.use[0]!../../../../vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!../../../../vue-loader/dist/index.js??ruleSet[0].use[0]!./cluster.vue?vue&type=template&id=b97a24d2 */ \"./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/cluster.vue?vue&type=template&id=b97a24d2\");\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/cluster.vue?"); 760 761/***/ }), 762 763/***/ "./node_modules/@fawmi/vue-google-maps/src/components/infoWindow.vue?vue&type=template&id=6c9aa5b1": 764/*!*********************************************************************************************************!*\ 765 !*** ./node_modules/@fawmi/vue-google-maps/src/components/infoWindow.vue?vue&type=template&id=6c9aa5b1 ***! 766 \*********************************************************************************************************/ 767/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 768 769"use strict"; 770eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* reexport safe */ _babel_loader_lib_index_js_clonedRuleSet_40_use_0_vue_loader_dist_templateLoader_js_ruleSet_1_rules_3_vue_loader_dist_index_js_ruleSet_0_use_0_infoWindow_vue_vue_type_template_id_6c9aa5b1__WEBPACK_IMPORTED_MODULE_0__.render; }\n/* harmony export */ });\n/* harmony import */ var _babel_loader_lib_index_js_clonedRuleSet_40_use_0_vue_loader_dist_templateLoader_js_ruleSet_1_rules_3_vue_loader_dist_index_js_ruleSet_0_use_0_infoWindow_vue_vue_type_template_id_6c9aa5b1__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../babel-loader/lib/index.js??clonedRuleSet-40.use[0]!../../../../vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!../../../../vue-loader/dist/index.js??ruleSet[0].use[0]!./infoWindow.vue?vue&type=template&id=6c9aa5b1 */ \"./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/infoWindow.vue?vue&type=template&id=6c9aa5b1\");\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/infoWindow.vue?"); 771 772/***/ }), 773 774/***/ "./node_modules/@fawmi/vue-google-maps/src/components/map.vue?vue&type=template&id=0c1aca79": 775/*!**************************************************************************************************!*\ 776 !*** ./node_modules/@fawmi/vue-google-maps/src/components/map.vue?vue&type=template&id=0c1aca79 ***! 777 \**************************************************************************************************/ 778/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 779 780"use strict"; 781eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* reexport safe */ _babel_loader_lib_index_js_clonedRuleSet_40_use_0_vue_loader_dist_templateLoader_js_ruleSet_1_rules_3_vue_loader_dist_index_js_ruleSet_0_use_0_map_vue_vue_type_template_id_0c1aca79__WEBPACK_IMPORTED_MODULE_0__.render; }\n/* harmony export */ });\n/* harmony import */ var _babel_loader_lib_index_js_clonedRuleSet_40_use_0_vue_loader_dist_templateLoader_js_ruleSet_1_rules_3_vue_loader_dist_index_js_ruleSet_0_use_0_map_vue_vue_type_template_id_0c1aca79__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../babel-loader/lib/index.js??clonedRuleSet-40.use[0]!../../../../vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!../../../../vue-loader/dist/index.js??ruleSet[0].use[0]!./map.vue?vue&type=template&id=0c1aca79 */ \"./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/map.vue?vue&type=template&id=0c1aca79\");\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/map.vue?"); 782 783/***/ }), 784 785/***/ "./node_modules/@fawmi/vue-google-maps/src/components/marker.vue?vue&type=template&id=21eae1a6": 786/*!*****************************************************************************************************!*\ 787 !*** ./node_modules/@fawmi/vue-google-maps/src/components/marker.vue?vue&type=template&id=21eae1a6 ***! 788 \*****************************************************************************************************/ 789/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 790 791"use strict"; 792eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: function() { return /* reexport safe */ _babel_loader_lib_index_js_clonedRuleSet_40_use_0_vue_loader_dist_templateLoader_js_ruleSet_1_rules_3_vue_loader_dist_index_js_ruleSet_0_use_0_marker_vue_vue_type_template_id_21eae1a6__WEBPACK_IMPORTED_MODULE_0__.render; }\n/* harmony export */ });\n/* harmony import */ var _babel_loader_lib_index_js_clonedRuleSet_40_use_0_vue_loader_dist_templateLoader_js_ruleSet_1_rules_3_vue_loader_dist_index_js_ruleSet_0_use_0_marker_vue_vue_type_template_id_21eae1a6__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../babel-loader/lib/index.js??clonedRuleSet-40.use[0]!../../../../vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!../../../../vue-loader/dist/index.js??ruleSet[0].use[0]!./marker.vue?vue&type=template&id=21eae1a6 */ \"./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/marker.vue?vue&type=template&id=21eae1a6\");\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/marker.vue?"); 793 794/***/ }), 795 796/***/ "./node_modules/@fawmi/vue-google-maps/src/components/map.vue?vue&type=style&index=0&id=0c1aca79&lang=css": 797/*!****************************************************************************************************************!*\ 798 !*** ./node_modules/@fawmi/vue-google-maps/src/components/map.vue?vue&type=style&index=0&id=0c1aca79&lang=css ***! 799 \****************************************************************************************************************/ 800/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 801 802"use strict"; 803eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _vue_style_loader_index_js_clonedRuleSet_12_use_0_css_loader_dist_cjs_js_clonedRuleSet_12_use_1_vue_loader_dist_stylePostLoader_js_postcss_loader_dist_cjs_js_clonedRuleSet_12_use_2_vue_loader_dist_index_js_ruleSet_0_use_0_map_vue_vue_type_style_index_0_id_0c1aca79_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../vue-style-loader/index.js??clonedRuleSet-12.use[0]!../../../../css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../vue-loader/dist/stylePostLoader.js!../../../../postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../vue-loader/dist/index.js??ruleSet[0].use[0]!./map.vue?vue&type=style&index=0&id=0c1aca79&lang=css */ \"./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/map.vue?vue&type=style&index=0&id=0c1aca79&lang=css\");\n/* harmony import */ var _vue_style_loader_index_js_clonedRuleSet_12_use_0_css_loader_dist_cjs_js_clonedRuleSet_12_use_1_vue_loader_dist_stylePostLoader_js_postcss_loader_dist_cjs_js_clonedRuleSet_12_use_2_vue_loader_dist_index_js_ruleSet_0_use_0_map_vue_vue_type_style_index_0_id_0c1aca79_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_vue_style_loader_index_js_clonedRuleSet_12_use_0_css_loader_dist_cjs_js_clonedRuleSet_12_use_1_vue_loader_dist_stylePostLoader_js_postcss_loader_dist_cjs_js_clonedRuleSet_12_use_2_vue_loader_dist_index_js_ruleSet_0_use_0_map_vue_vue_type_style_index_0_id_0c1aca79_lang_css__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _vue_style_loader_index_js_clonedRuleSet_12_use_0_css_loader_dist_cjs_js_clonedRuleSet_12_use_1_vue_loader_dist_stylePostLoader_js_postcss_loader_dist_cjs_js_clonedRuleSet_12_use_2_vue_loader_dist_index_js_ruleSet_0_use_0_map_vue_vue_type_style_index_0_id_0c1aca79_lang_css__WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== \"default\") __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = function(key) { return _vue_style_loader_index_js_clonedRuleSet_12_use_0_css_loader_dist_cjs_js_clonedRuleSet_12_use_1_vue_loader_dist_stylePostLoader_js_postcss_loader_dist_cjs_js_clonedRuleSet_12_use_2_vue_loader_dist_index_js_ruleSet_0_use_0_map_vue_vue_type_style_index_0_id_0c1aca79_lang_css__WEBPACK_IMPORTED_MODULE_0__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)\n/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/map.vue?"); 804 805/***/ }), 806 807/***/ "./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/map.vue?vue&type=style&index=0&id=0c1aca79&lang=css": 808/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ 809 !*** ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/map.vue?vue&type=style&index=0&id=0c1aca79&lang=css ***! 810 \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ 811/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 812 813eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(/*! !!../../../../css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../vue-loader/dist/stylePostLoader.js!../../../../postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../vue-loader/dist/index.js??ruleSet[0].use[0]!./map.vue?vue&type=style&index=0&id=0c1aca79&lang=css */ \"./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/@fawmi/vue-google-maps/src/components/map.vue?vue&type=style&index=0&id=0c1aca79&lang=css\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = (__webpack_require__(/*! !../../../../vue-style-loader/lib/addStylesClient.js */ \"./node_modules/vue-style-loader/lib/addStylesClient.js\")[\"default\"])\nvar update = add(\"d7533596\", content, false, {\"sourceMap\":false,\"shadowMode\":false});\n// Hot Module Replacement\nif(false) {}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/@fawmi/vue-google-maps/src/components/map.vue?./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use%5B0%5D!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use%5B1%5D!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use%5B2%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use%5B0%5D"); 814 815/***/ }), 816
vendor: 1,319 bytes, lines 817-826
817/***/ "./node_modules/leaflet/dist/leaflet.css": 818/*!***********************************************!*\ 819 !*** ./node_modules/leaflet/dist/leaflet.css ***! 820 \***********************************************/ 821/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 822 823eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(/*! !!../../css-loader/dist/cjs.js??clonedRuleSet-14.use[1]!../../postcss-loader/dist/cjs.js??clonedRuleSet-14.use[2]!./leaflet.css */ \"./node_modules/css-loader/dist/cjs.js??clonedRuleSet-14.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-14.use[2]!./node_modules/leaflet/dist/leaflet.css\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = (__webpack_require__(/*! !../../vue-style-loader/lib/addStylesClient.js */ \"./node_modules/vue-style-loader/lib/addStylesClient.js\")[\"default\"])\nvar update = add(\"b1ba1cc0\", content, false, {\"sourceMap\":false,\"shadowMode\":false});\n// Hot Module Replacement\nif(false) {}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/leaflet/dist/leaflet.css?"); 824 825/***/ }), 826
vendor: 1,435 bytes, lines 827-836
827/***/ "./node_modules/vue-search-select/dist/VueSearchSelect.css": 828/*!*****************************************************************!*\ 829 !*** ./node_modules/vue-search-select/dist/VueSearchSelect.css ***! 830 \*****************************************************************/ 831/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 832 833eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(/*! !!../../css-loader/dist/cjs.js??clonedRuleSet-14.use[1]!../../postcss-loader/dist/cjs.js??clonedRuleSet-14.use[2]!./VueSearchSelect.css */ \"./node_modules/css-loader/dist/cjs.js??clonedRuleSet-14.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-14.use[2]!./node_modules/vue-search-select/dist/VueSearchSelect.css\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = (__webpack_require__(/*! !../../vue-style-loader/lib/addStylesClient.js */ \"./node_modules/vue-style-loader/lib/addStylesClient.js\")[\"default\"])\nvar update = add(\"16fa43c6\", content, false, {\"sourceMap\":false,\"shadowMode\":false});\n// Hot Module Replacement\nif(false) {}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/vue-search-select/dist/VueSearchSelect.css?"); 834 835/***/ }), 836
vendor: 7,387 bytes, lines 837-847
837/***/ "./node_modules/vue-style-loader/lib/addStylesClient.js": 838/*!**************************************************************!*\ 839 !*** ./node_modules/vue-style-loader/lib/addStylesClient.js ***! 840 \**************************************************************/ 841/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 842 843"use strict"; 844eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": function() { return /* binding */ addStylesClient; }\n/* harmony export */ });\n/* harmony import */ var _listToStyles__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./listToStyles */ \"./node_modules/vue-style-loader/lib/listToStyles.js\");\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n Modified by Evan You @yyx990803\n*/\n\n\n\nvar hasDocument = typeof document !== 'undefined'\n\nif (typeof DEBUG !== 'undefined' && DEBUG) {\n if (!hasDocument) {\n throw new Error(\n 'vue-style-loader cannot be used in a non-browser environment. ' +\n \"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.\"\n ) }\n}\n\n/*\ntype StyleObject = {\n id: number;\n parts: Array<StyleObjectPart>\n}\n\ntype StyleObjectPart = {\n css: string;\n media: string;\n sourceMap: ?string\n}\n*/\n\nvar stylesInDom = {/*\n [id: number]: {\n id: number,\n refs: number,\n parts: Array<(obj?: StyleObjectPart) => void>\n }\n*/}\n\nvar head = hasDocument && (document.head || document.getElementsByTagName('head')[0])\nvar singletonElement = null\nvar singletonCounter = 0\nvar isProduction = false\nvar noop = function () {}\nvar options = null\nvar ssrIdKey = 'data-vue-ssr-id'\n\n// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n// tags it will allow on a page\nvar isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase())\n\nfunction addStylesClient (parentId, list, _isProduction, _options) {\n isProduction = _isProduction\n\n options = _options || {}\n\n var styles = (0,_listToStyles__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(parentId, list)\n addStylesToDom(styles)\n\n return function update (newList) {\n var mayRemove = []\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i]\n var domStyle = stylesInDom[item.id]\n domStyle.refs--\n mayRemove.push(domStyle)\n }\n if (newList) {\n styles = (0,_listToStyles__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(parentId, newList)\n addStylesToDom(styles)\n } else {\n styles = []\n }\n for (var i = 0; i < mayRemove.length; i++) {\n var domStyle = mayRemove[i]\n if (domStyle.refs === 0) {\n for (var j = 0; j < domStyle.parts.length; j++) {\n domStyle.parts[j]()\n }\n delete stylesInDom[domStyle.id]\n }\n }\n }\n}\n\nfunction addStylesToDom (styles /* Array<StyleObject> */) {\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i]\n var domStyle = stylesInDom[item.id]\n if (domStyle) {\n domStyle.refs++\n for (var j = 0; j < domStyle.parts.length; j++) {\n domStyle.parts[j](item.parts[j])\n }\n for (; j < item.parts.length; j++) {\n domStyle.parts.push(addStyle(item.parts[j]))\n }\n if (domStyle.parts.length > item.parts.length) {\n domStyle.parts.length = item.parts.length\n }\n } else {\n var parts = []\n for (var j = 0; j < item.parts.length; j++) {\n parts.push(addStyle(item.parts[j]))\n }\n stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }\n }\n }\n}\n\nfunction createStyleElement () {\n var styleElement = document.createElement('style')\n styleElement.type = 'text/css'\n head.appendChild(styleElement)\n return styleElement\n}\n\nfunction addStyle (obj /* StyleObjectPart */) {\n var update, remove\n var styleElement = document.querySelector('style[' + ssrIdKey + '~=\"' + obj.id + '\"]')\n\n if (styleElement) {\n if (isProduction) {\n // has SSR styles and in production mode.\n // simply do nothing.\n return noop\n } else {\n // has SSR styles but in dev mode.\n // for some reason Chrome can't handle source map in server-rendered\n // style tags - source maps in <style> only works if the style tag is\n // created and inserted dynamically. So we remove the server rendered\n // styles and inject new ones.\n styleElement.parentNode.removeChild(styleElement)\n }\n }\n\n if (isOldIE) {\n // use singleton mode for IE9.\n var styleIndex = singletonCounter++\n styleElement = singletonElement || (singletonElement = createStyleElement())\n update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)\n remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)\n } else {\n // use multi-style-tag mode in all other cases\n styleElement = createStyleElement()\n update = applyToTag.bind(null, styleElement)\n remove = function () {\n styleElement.parentNode.removeChild(styleElement)\n }\n }\n\n update(obj)\n\n return function updateStyle (newObj /* StyleObjectPart */) {\n if (newObj) {\n if (newObj.css === obj.css &&\n newObj.media === obj.media &&\n newObj.sourceMap === obj.sourceMap) {\n return\n }\n update(obj = newObj)\n } else {\n remove()\n }\n }\n}\n\nvar replaceText = (function () {\n var textStore = []\n\n return function (index, replacement) {\n textStore[index] = replacement\n return textStore.filter(Boolean).join('\\n')\n }\n})()\n\nfunction applyToSingletonTag (styleElement, index, remove, obj) {\n var css = remove ? '' : obj.css\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = replaceText(index, css)\n } else {\n var cssNode = document.createTextNode(css)\n var childNodes = styleElement.childNodes\n if (childNodes[index]) styleElement.removeChild(childNodes[index])\n if (childNodes.length) {\n styleElement.insertBefore(cssNode, childNodes[index])\n } else {\n styleElement.appendChild(cssNode)\n }\n }\n}\n\nfunction applyToTag (styleElement, obj) {\n var css = obj.css\n var media = obj.media\n var sourceMap = obj.sourceMap\n\n if (media) {\n styleElement.setAttribute('media', media)\n }\n if (options.ssrId) {\n styleElement.setAttribute(ssrIdKey, obj.id)\n }\n\n if (sourceMap) {\n // https://developer.chrome.com/devtools/docs/javascript-debugging\n // this makes source maps inside style tags work properly in Chrome\n css += '\\n/*# sourceURL=' + sourceMap.sources[0] + ' */'\n // http://stackoverflow.com/a/26603875\n css += '\\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'\n }\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild)\n }\n styleElement.appendChild(document.createTextNode(css))\n }\n}\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/vue-style-loader/lib/addStylesClient.js?"); 845 846/***/ }), 847
vendor: 2,123 bytes, lines 848-858
848/***/ "./node_modules/leaflet/dist/images/layers-2x.png": 849/*!********************************************************!*\ 850 !*** ./node_modules/leaflet/dist/images/layers-2x.png ***! 851 \********************************************************/ 852/***/ (function(module) { 853 854"use strict"; 855eval("module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=\";\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/leaflet/dist/images/layers-2x.png?"); 856 857/***/ }), 858
vendor: 1,356 bytes, lines 859-869
859/***/ "./node_modules/leaflet/dist/images/layers.png": 860/*!*****************************************************!*\ 861 !*** ./node_modules/leaflet/dist/images/layers.png ***! 862 \*****************************************************/ 863/***/ (function(module) { 864 865"use strict"; 866eval("module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC\";\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/leaflet/dist/images/layers.png?"); 867 868/***/ }), 869
vendor: 2,409 bytes, lines 870-880
870/***/ "./node_modules/leaflet/dist/images/marker-icon.png": 871/*!**********************************************************!*\ 872 !*** ./node_modules/leaflet/dist/images/marker-icon.png ***! 873 \**********************************************************/ 874/***/ (function(module) { 875 876"use strict"; 877eval("module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=\";\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/leaflet/dist/images/marker-icon.png?"); 878 879/***/ }), 880
vendor: 928 bytes, lines 881-891
881/***/ "./node_modules/core-js/internals/a-callable.js": 882/*!******************************************************!*\ 883 !*** ./node_modules/core-js/internals/a-callable.js ***! 884 \******************************************************/ 885/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 886 887"use strict"; 888eval("\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ \"./node_modules/core-js/internals/is-callable.js\");\nvar tryToString = __webpack_require__(/*! ../internals/try-to-string */ \"./node_modules/core-js/internals/try-to-string.js\");\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw new $TypeError(tryToString(argument) + ' is not a function');\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/a-callable.js?"); 889 890/***/ }), 891
vendor: 870 bytes, lines 892-902
892/***/ "./node_modules/core-js/internals/a-possible-prototype.js": 893/*!****************************************************************!*\ 894 !*** ./node_modules/core-js/internals/a-possible-prototype.js ***! 895 \****************************************************************/ 896/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 897 898"use strict"; 899eval("\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ \"./node_modules/core-js/internals/is-callable.js\");\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (typeof argument == 'object' || isCallable(argument)) return argument;\n throw new $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/a-possible-prototype.js?"); 900 901/***/ }), 902
vendor: 771 bytes, lines 903-913
903/***/ "./node_modules/core-js/internals/an-instance.js": 904/*!*******************************************************!*\ 905 !*** ./node_modules/core-js/internals/an-instance.js ***! 906 \*******************************************************/ 907/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 908 909"use strict"; 910eval("\nvar isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ \"./node_modules/core-js/internals/object-is-prototype-of.js\");\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n if (isPrototypeOf(Prototype, it)) return it;\n throw new $TypeError('Incorrect invocation');\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/an-instance.js?"); 911 912/***/ }), 913
vendor: 800 bytes, lines 914-924
914/***/ "./node_modules/core-js/internals/an-object.js": 915/*!*****************************************************!*\ 916 !*** ./node_modules/core-js/internals/an-object.js ***! 917 \*****************************************************/ 918/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 919 920"use strict"; 921eval("\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw new $TypeError($String(argument) + ' is not an object');\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/an-object.js?"); 922 923/***/ }), 924
vendor: 624 bytes, lines 925-935
925/***/ "./node_modules/core-js/internals/array-buffer-basic-detection.js": 926/*!************************************************************************!*\ 927 !*** ./node_modules/core-js/internals/array-buffer-basic-detection.js ***! 928 \************************************************************************/ 929/***/ (function(module) { 930 931"use strict"; 932eval("\n// eslint-disable-next-line es/no-typed-arrays -- safe\nmodule.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/array-buffer-basic-detection.js?"); 933 934/***/ }), 935
vendor: 9,443 bytes, lines 936-946
936/***/ "./node_modules/core-js/internals/array-buffer-view-core.js": 937/*!******************************************************************!*\ 938 !*** ./node_modules/core-js/internals/array-buffer-view-core.js ***! 939 \******************************************************************/ 940/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 941 942"use strict"; 943eval("\nvar NATIVE_ARRAY_BUFFER = __webpack_require__(/*! ../internals/array-buffer-basic-detection */ \"./node_modules/core-js/internals/array-buffer-basic-detection.js\");\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ \"./node_modules/core-js/internals/is-callable.js\");\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ \"./node_modules/core-js/internals/has-own-property.js\");\nvar classof = __webpack_require__(/*! ../internals/classof */ \"./node_modules/core-js/internals/classof.js\");\nvar tryToString = __webpack_require__(/*! ../internals/try-to-string */ \"./node_modules/core-js/internals/try-to-string.js\");\nvar createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ \"./node_modules/core-js/internals/create-non-enumerable-property.js\");\nvar defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ \"./node_modules/core-js/internals/define-built-in.js\");\nvar defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ \"./node_modules/core-js/internals/define-built-in-accessor.js\");\nvar isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ \"./node_modules/core-js/internals/object-is-prototype-of.js\");\nvar getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ \"./node_modules/core-js/internals/object-get-prototype-of.js\");\nvar setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ \"./node_modules/core-js/internals/object-set-prototype-of.js\");\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ \"./node_modules/core-js/internals/well-known-symbol.js\");\nvar uid = __webpack_require__(/*! ../internals/uid */ \"./node_modules/core-js/internals/uid.js\");\nvar InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ \"./node_modules/core-js/internals/internal-state.js\");\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar Int8Array = global.Int8Array;\nvar Int8ArrayPrototype = Int8Array && Int8Array.prototype;\nvar Uint8ClampedArray = global.Uint8ClampedArray;\nvar Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype;\nvar TypedArray = Int8Array && getPrototypeOf(Int8Array);\nvar TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype);\nvar ObjectPrototype = Object.prototype;\nvar TypeError = global.TypeError;\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');\nvar TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';\n// Fixing native typed arrays in Opera Presto crashes the browser, see #595\nvar NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global.opera) !== 'Opera';\nvar TYPED_ARRAY_TAG_REQUIRED = false;\nvar NAME, Constructor, Prototype;\n\nvar TypedArrayConstructorsList = {\n Int8Array: 1,\n Uint8Array: 1,\n Uint8ClampedArray: 1,\n Int16Array: 2,\n Uint16Array: 2,\n Int32Array: 4,\n Uint32Array: 4,\n Float32Array: 4,\n Float64Array: 8\n};\n\nvar BigIntArrayConstructorsList = {\n BigInt64Array: 8,\n BigUint64Array: 8\n};\n\nvar isView = function isView(it) {\n if (!isObject(it)) return false;\n var klass = classof(it);\n return klass === 'DataView'\n || hasOwn(TypedArrayConstructorsList, klass)\n || hasOwn(BigIntArrayConstructorsList, klass);\n};\n\nvar getTypedArrayConstructor = function (it) {\n var proto = getPrototypeOf(it);\n if (!isObject(proto)) return;\n var state = getInternalState(proto);\n return (state && hasOwn(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto);\n};\n\nvar isTypedArray = function (it) {\n if (!isObject(it)) return false;\n var klass = classof(it);\n return hasOwn(TypedArrayConstructorsList, klass)\n || hasOwn(BigIntArrayConstructorsList, klass);\n};\n\nvar aTypedArray = function (it) {\n if (isTypedArray(it)) return it;\n throw new TypeError('Target is not a typed array');\n};\n\nvar aTypedArrayConstructor = function (C) {\n if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C;\n throw new TypeError(tryToString(C) + ' is not a typed array constructor');\n};\n\nvar exportTypedArrayMethod = function (KEY, property, forced, options) {\n if (!DESCRIPTORS) return;\n if (forced) for (var ARRAY in TypedArrayConstructorsList) {\n var TypedArrayConstructor = global[ARRAY];\n if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try {\n delete TypedArrayConstructor.prototype[KEY];\n } catch (error) {\n // old WebKit bug - some methods are non-configurable\n try {\n TypedArrayConstructor.prototype[KEY] = property;\n } catch (error2) { /* empty */ }\n }\n }\n if (!TypedArrayPrototype[KEY] || forced) {\n defineBuiltIn(TypedArrayPrototype, KEY, forced ? property\n : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options);\n }\n};\n\nvar exportTypedArrayStaticMethod = function (KEY, property, forced) {\n var ARRAY, TypedArrayConstructor;\n if (!DESCRIPTORS) return;\n if (setPrototypeOf) {\n if (forced) for (ARRAY in TypedArrayConstructorsList) {\n TypedArrayConstructor = global[ARRAY];\n if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try {\n delete TypedArrayConstructor[KEY];\n } catch (error) { /* empty */ }\n }\n if (!TypedArray[KEY] || forced) {\n // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable\n try {\n return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property);\n } catch (error) { /* empty */ }\n } else return;\n }\n for (ARRAY in TypedArrayConstructorsList) {\n TypedArrayConstructor = global[ARRAY];\n if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) {\n defineBuiltIn(TypedArrayConstructor, KEY, property);\n }\n }\n};\n\nfor (NAME in TypedArrayConstructorsList) {\n Constructor = global[NAME];\n Prototype = Constructor && Constructor.prototype;\n if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;\n else NATIVE_ARRAY_BUFFER_VIEWS = false;\n}\n\nfor (NAME in BigIntArrayConstructorsList) {\n Constructor = global[NAME];\n Prototype = Constructor && Constructor.prototype;\n if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;\n}\n\n// WebKit bug - typed arrays constructors prototype is Object.prototype\nif (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {\n // eslint-disable-next-line no-shadow -- safe\n TypedArray = function TypedArray() {\n throw new TypeError('Incorrect invocation');\n };\n if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {\n if (global[NAME]) setPrototypeOf(global[NAME], TypedArray);\n }\n}\n\nif (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) {\n TypedArrayPrototype = TypedArray.prototype;\n if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {\n if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype);\n }\n}\n\n// WebKit bug - one more object in Uint8ClampedArray prototype chain\nif (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) {\n setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype);\n}\n\nif (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) {\n TYPED_ARRAY_TAG_REQUIRED = true;\n defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG, {\n configurable: true,\n get: function () {\n return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;\n }\n });\n for (NAME in TypedArrayConstructorsList) if (global[NAME]) {\n createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME);\n }\n}\n\nmodule.exports = {\n NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS,\n TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG,\n aTypedArray: aTypedArray,\n aTypedArrayConstructor: aTypedArrayConstructor,\n exportTypedArrayMethod: exportTypedArrayMethod,\n exportTypedArrayStaticMethod: exportTypedArrayStaticMethod,\n getTypedArrayConstructor: getTypedArrayConstructor,\n isView: isView,\n isTypedArray: isTypedArray,\n TypedArray: TypedArray,\n TypedArrayPrototype: TypedArrayPrototype\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/array-buffer-view-core.js?"); 944 945/***/ }), 946
vendor: 922 bytes, lines 947-957
947/***/ "./node_modules/core-js/internals/array-from-constructor-and-list.js": 948/*!***************************************************************************!*\ 949 !*** ./node_modules/core-js/internals/array-from-constructor-and-list.js ***! 950 \***************************************************************************/ 951/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 952 953"use strict"; 954eval("\nvar lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ \"./node_modules/core-js/internals/length-of-array-like.js\");\n\nmodule.exports = function (Constructor, list) {\n var index = 0;\n var length = lengthOfArrayLike(list);\n var result = new Constructor(length);\n while (length > index) result[index] = list[index++];\n return result;\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/array-from-constructor-and-list.js?"); 955 956/***/ }), 957
vendor: 2,037 bytes, lines 958-968
958/***/ "./node_modules/core-js/internals/array-includes.js": 959/*!**********************************************************!*\ 960 !*** ./node_modules/core-js/internals/array-includes.js ***! 961 \**********************************************************/ 962/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 963 964"use strict"; 965eval("\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ \"./node_modules/core-js/internals/to-indexed-object.js\");\nvar toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ \"./node_modules/core-js/internals/to-absolute-index.js\");\nvar lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ \"./node_modules/core-js/internals/length-of-array-like.js\");\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el !== el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value !== value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/array-includes.js?"); 966 967/***/ }), 968
vendor: 1,627 bytes, lines 969-979
969/***/ "./node_modules/core-js/internals/array-set-length.js": 970/*!************************************************************!*\ 971 !*** ./node_modules/core-js/internals/array-set-length.js ***! 972 \************************************************************/ 973/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 974 975"use strict"; 976eval("\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar isArray = __webpack_require__(/*! ../internals/is-array */ \"./node_modules/core-js/internals/is-array.js\");\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Safari < 13 does not throw an error in this case\nvar SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {\n // makes no sense without proper strict mode support\n if (this !== undefined) return true;\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).length = 1;\n } catch (error) {\n return error instanceof TypeError;\n }\n}();\n\nmodule.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {\n if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {\n throw new $TypeError('Cannot set read only .length');\n } return O.length = length;\n} : function (O, length) {\n return O.length = length;\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/array-set-length.js?"); 977 978/***/ }), 979
vendor: 967 bytes, lines 980-990
980/***/ "./node_modules/core-js/internals/array-to-reversed.js": 981/*!*************************************************************!*\ 982 !*** ./node_modules/core-js/internals/array-to-reversed.js ***! 983 \*************************************************************/ 984/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 985 986"use strict"; 987eval("\nvar lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ \"./node_modules/core-js/internals/length-of-array-like.js\");\n\n// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toReversed\n// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toReversed\nmodule.exports = function (O, C) {\n var len = lengthOfArrayLike(O);\n var A = new C(len);\n var k = 0;\n for (; k < len; k++) A[k] = O[len - k - 1];\n return A;\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/array-to-reversed.js?"); 988 989/***/ }), 990
vendor: 1,357 bytes, lines 991-1001
991/***/ "./node_modules/core-js/internals/array-with.js": 992/*!******************************************************!*\ 993 !*** ./node_modules/core-js/internals/array-with.js ***! 994 \******************************************************/ 995/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 996 997"use strict"; 998eval("\nvar lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ \"./node_modules/core-js/internals/length-of-array-like.js\");\nvar toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ \"./node_modules/core-js/internals/to-integer-or-infinity.js\");\n\nvar $RangeError = RangeError;\n\n// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.with\n// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.with\nmodule.exports = function (O, C, index, value) {\n var len = lengthOfArrayLike(O);\n var relativeIndex = toIntegerOrInfinity(index);\n var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex;\n if (actualIndex >= len || actualIndex < 0) throw new $RangeError('Incorrect index');\n var A = new C(len);\n var k = 0;\n for (; k < len; k++) A[k] = k === actualIndex ? value : O[k];\n return A;\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/array-with.js?"); 999 1000/***/ }), 1001
vendor: 758 bytes, lines 1002-1012
1002/***/ "./node_modules/core-js/internals/classof-raw.js": 1003/*!*******************************************************!*\ 1004 !*** ./node_modules/core-js/internals/classof-raw.js ***! 1005 \*******************************************************/ 1006/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1007 1008"use strict"; 1009eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ \"./node_modules/core-js/internals/function-uncurry-this.js\");\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/classof-raw.js?"); 1010 1011/***/ }), 1012
vendor: 1,824 bytes, lines 1013-1023
1013/***/ "./node_modules/core-js/internals/classof.js": 1014/*!***************************************************!*\ 1015 !*** ./node_modules/core-js/internals/classof.js ***! 1016 \***************************************************/ 1017/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1018 1019"use strict"; 1020eval("\nvar TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ \"./node_modules/core-js/internals/to-string-tag-support.js\");\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ \"./node_modules/core-js/internals/is-callable.js\");\nvar classofRaw = __webpack_require__(/*! ../internals/classof-raw */ \"./node_modules/core-js/internals/classof-raw.js\");\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ \"./node_modules/core-js/internals/well-known-symbol.js\");\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/classof.js?"); 1021 1022/***/ }), 1023
vendor: 1,556 bytes, lines 1024-1034
1024/***/ "./node_modules/core-js/internals/copy-constructor-properties.js": 1025/*!***********************************************************************!*\ 1026 !*** ./node_modules/core-js/internals/copy-constructor-properties.js ***! 1027 \***********************************************************************/ 1028/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1029 1030"use strict"; 1031eval("\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ \"./node_modules/core-js/internals/has-own-property.js\");\nvar ownKeys = __webpack_require__(/*! ../internals/own-keys */ \"./node_modules/core-js/internals/own-keys.js\");\nvar getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ \"./node_modules/core-js/internals/object-get-own-property-descriptor.js\");\nvar definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ \"./node_modules/core-js/internals/object-define-property.js\");\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/copy-constructor-properties.js?"); 1032 1033/***/ }), 1034
vendor: 869 bytes, lines 1035-1045
1035/***/ "./node_modules/core-js/internals/correct-prototype-getter.js": 1036/*!********************************************************************!*\ 1037 !*** ./node_modules/core-js/internals/correct-prototype-getter.js ***! 1038 \********************************************************************/ 1039/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1040 1041"use strict"; 1042eval("\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/correct-prototype-getter.js?"); 1043 1044/***/ }), 1045
vendor: 1,219 bytes, lines 1046-1056
1046/***/ "./node_modules/core-js/internals/create-non-enumerable-property.js": 1047/*!**************************************************************************!*\ 1048 !*** ./node_modules/core-js/internals/create-non-enumerable-property.js ***! 1049 \**************************************************************************/ 1050/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1051 1052"use strict"; 1053eval("\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ \"./node_modules/core-js/internals/object-define-property.js\");\nvar createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ \"./node_modules/core-js/internals/create-property-descriptor.js\");\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/create-non-enumerable-property.js?"); 1054 1055/***/ }), 1056
vendor: 652 bytes, lines 1057-1067
1057/***/ "./node_modules/core-js/internals/create-property-descriptor.js": 1058/*!**********************************************************************!*\ 1059 !*** ./node_modules/core-js/internals/create-property-descriptor.js ***! 1060 \**********************************************************************/ 1061/***/ (function(module) { 1062 1063"use strict"; 1064eval("\nmodule.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/create-property-descriptor.js?"); 1065 1066/***/ }), 1067
vendor: 1,055 bytes, lines 1068-1078
1068/***/ "./node_modules/core-js/internals/define-built-in-accessor.js": 1069/*!********************************************************************!*\ 1070 !*** ./node_modules/core-js/internals/define-built-in-accessor.js ***! 1071 \********************************************************************/ 1072/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1073 1074"use strict"; 1075eval("\nvar makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ \"./node_modules/core-js/internals/make-built-in.js\");\nvar defineProperty = __webpack_require__(/*! ../internals/object-define-property */ \"./node_modules/core-js/internals/object-define-property.js\");\n\nmodule.exports = function (target, name, descriptor) {\n if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n return defineProperty.f(target, name, descriptor);\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/define-built-in-accessor.js?"); 1076 1077/***/ }), 1078
vendor: 1,755 bytes, lines 1079-1089
1079/***/ "./node_modules/core-js/internals/define-built-in.js": 1080/*!***********************************************************!*\ 1081 !*** ./node_modules/core-js/internals/define-built-in.js ***! 1082 \***********************************************************/ 1083/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1084 1085"use strict"; 1086eval("\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ \"./node_modules/core-js/internals/is-callable.js\");\nvar definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ \"./node_modules/core-js/internals/object-define-property.js\");\nvar makeBuiltIn = __webpack_require__(/*! ../internals/make-built-in */ \"./node_modules/core-js/internals/make-built-in.js\");\nvar defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ \"./node_modules/core-js/internals/define-global-property.js\");\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/define-built-in.js?"); 1087 1088/***/ }), 1089
vendor: 931 bytes, lines 1090-1100
1090/***/ "./node_modules/core-js/internals/define-global-property.js": 1091/*!******************************************************************!*\ 1092 !*** ./node_modules/core-js/internals/define-global-property.js ***! 1093 \******************************************************************/ 1094/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1095 1096"use strict"; 1097eval("\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/define-global-property.js?"); 1098 1099/***/ }), 1100
vendor: 822 bytes, lines 1101-1111
1101/***/ "./node_modules/core-js/internals/descriptors.js": 1102/*!*******************************************************!*\ 1103 !*** ./node_modules/core-js/internals/descriptors.js ***! 1104 \*******************************************************/ 1105/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1106 1107"use strict"; 1108eval("\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/descriptors.js?"); 1109 1110/***/ }), 1111
vendor: 760 bytes, lines 1112-1122
1112/***/ "./node_modules/core-js/internals/document-all.js": 1113/*!********************************************************!*\ 1114 !*** ./node_modules/core-js/internals/document-all.js ***! 1115 \********************************************************/ 1116/***/ (function(module) { 1117 1118"use strict"; 1119eval("\nvar documentAll = typeof document == 'object' && document.all;\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nvar IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;\n\nmodule.exports = {\n all: documentAll,\n IS_HTMLDDA: IS_HTMLDDA\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/document-all.js?"); 1120 1121/***/ }), 1122
vendor: 984 bytes, lines 1123-1133
1123/***/ "./node_modules/core-js/internals/document-create-element.js": 1124/*!*******************************************************************!*\ 1125 !*** ./node_modules/core-js/internals/document-create-element.js ***! 1126 \*******************************************************************/ 1127/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1128 1129"use strict"; 1130eval("\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/document-create-element.js?"); 1131 1132/***/ }), 1133
vendor: 723 bytes, lines 1134-1144
1134/***/ "./node_modules/core-js/internals/does-not-exceed-safe-integer.js": 1135/*!************************************************************************!*\ 1136 !*** ./node_modules/core-js/internals/does-not-exceed-safe-integer.js ***! 1137 \************************************************************************/ 1138/***/ (function(module) { 1139 1140"use strict"; 1141eval("\nvar $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/does-not-exceed-safe-integer.js?"); 1142 1143/***/ }), 1144
vendor: 2,023 bytes, lines 1145-1155
1145/***/ "./node_modules/core-js/internals/dom-exception-constants.js": 1146/*!*******************************************************************!*\ 1147 !*** ./node_modules/core-js/internals/dom-exception-constants.js ***! 1148 \*******************************************************************/ 1149/***/ (function(module) { 1150 1151"use strict"; 1152eval("\nmodule.exports = {\n IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 },\n DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 },\n HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 },\n WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 },\n InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 },\n NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 },\n NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 },\n NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 },\n NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 },\n InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 },\n InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 },\n SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 },\n InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 },\n NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 },\n InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 },\n ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 },\n TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 },\n SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 },\n NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 },\n AbortError: { s: 'ABORT_ERR', c: 20, m: 1 },\n URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 },\n QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 },\n TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 },\n InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 },\n DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 }\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/dom-exception-constants.js?"); 1153 1154/***/ }), 1155
vendor: 514 bytes, lines 1156-1166
1156/***/ "./node_modules/core-js/internals/engine-user-agent.js": 1157/*!*************************************************************!*\ 1158 !*** ./node_modules/core-js/internals/engine-user-agent.js ***! 1159 \*************************************************************/ 1160/***/ (function(module) { 1161 1162"use strict"; 1163eval("\nmodule.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/engine-user-agent.js?"); 1164 1165/***/ }), 1166
vendor: 1,493 bytes, lines 1167-1177
1167/***/ "./node_modules/core-js/internals/engine-v8-version.js": 1168/*!*************************************************************!*\ 1169 !*** ./node_modules/core-js/internals/engine-v8-version.js ***! 1170 \*************************************************************/ 1171/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1172 1173"use strict"; 1174eval("\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ \"./node_modules/core-js/internals/engine-user-agent.js\");\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/engine-v8-version.js?"); 1175 1176/***/ }), 1177
vendor: 594 bytes, lines 1178-1188
1178/***/ "./node_modules/core-js/internals/enum-bug-keys.js": 1179/*!*********************************************************!*\ 1180 !*** ./node_modules/core-js/internals/enum-bug-keys.js ***! 1181 \*********************************************************/ 1182/***/ (function(module) { 1183 1184"use strict"; 1185eval("\n// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/enum-bug-keys.js?"); 1186 1187/***/ }), 1188
vendor: 1,192 bytes, lines 1189-1199
1189/***/ "./node_modules/core-js/internals/error-stack-clear.js": 1190/*!*************************************************************!*\ 1191 !*** ./node_modules/core-js/internals/error-stack-clear.js ***! 1192 \*************************************************************/ 1193/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1194 1195"use strict"; 1196eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ \"./node_modules/core-js/internals/function-uncurry-this.js\");\n\nvar $Error = Error;\nvar replace = uncurryThis(''.replace);\n\nvar TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');\n// eslint-disable-next-line redos/no-vulnerable -- safe\nvar V8_OR_CHAKRA_STACK_ENTRY = /\\n\\s*at [^:]*:[^\\n]*/;\nvar IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);\n\nmodule.exports = function (stack, dropEntries) {\n if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {\n while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');\n } return stack;\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/error-stack-clear.js?"); 1197 1198/***/ }), 1199
vendor: 3,692 bytes, lines 1200-1210
1200/***/ "./node_modules/core-js/internals/export.js": 1201/*!**************************************************!*\ 1202 !*** ./node_modules/core-js/internals/export.js ***! 1203 \**************************************************/ 1204/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1205 1206"use strict"; 1207eval("\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ \"./node_modules/core-js/internals/object-get-own-property-descriptor.js\").f);\nvar createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ \"./node_modules/core-js/internals/create-non-enumerable-property.js\");\nvar defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ \"./node_modules/core-js/internals/define-built-in.js\");\nvar defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ \"./node_modules/core-js/internals/define-global-property.js\");\nvar copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ \"./node_modules/core-js/internals/copy-constructor-properties.js\");\nvar isForced = __webpack_require__(/*! ../internals/is-forced */ \"./node_modules/core-js/internals/is-forced.js\");\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/export.js?"); 1208 1209/***/ }), 1210
vendor: 481 bytes, lines 1211-1221
1211/***/ "./node_modules/core-js/internals/fails.js": 1212/*!*************************************************!*\ 1213 !*** ./node_modules/core-js/internals/fails.js ***! 1214 \*************************************************/ 1215/***/ (function(module) { 1216 1217"use strict"; 1218eval("\nmodule.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/fails.js?"); 1219 1220/***/ }), 1221
vendor: 896 bytes, lines 1222-1232
1222/***/ "./node_modules/core-js/internals/function-bind-native.js": 1223/*!****************************************************************!*\ 1224 !*** ./node_modules/core-js/internals/function-bind-native.js ***! 1225 \****************************************************************/ 1226/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1227 1228"use strict"; 1229eval("\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/function-bind-native.js?"); 1230 1231/***/ }), 1232
vendor: 744 bytes, lines 1233-1243
1233/***/ "./node_modules/core-js/internals/function-call.js": 1234/*!*********************************************************!*\ 1235 !*** ./node_modules/core-js/internals/function-call.js ***! 1236 \*********************************************************/ 1237/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1238 1239"use strict"; 1240eval("\nvar NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ \"./node_modules/core-js/internals/function-bind-native.js\");\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/function-call.js?"); 1241 1242/***/ }), 1243
vendor: 1,324 bytes, lines 1244-1254
1244/***/ "./node_modules/core-js/internals/function-name.js": 1245/*!*********************************************************!*\ 1246 !*** ./node_modules/core-js/internals/function-name.js ***! 1247 \*********************************************************/ 1248/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1249 1250"use strict"; 1251eval("\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ \"./node_modules/core-js/internals/has-own-property.js\");\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/function-name.js?"); 1252 1253/***/ }), 1254
vendor: 1,074 bytes, lines 1255-1265
1255/***/ "./node_modules/core-js/internals/function-uncurry-this-accessor.js": 1256/*!**************************************************************************!*\ 1257 !*** ./node_modules/core-js/internals/function-uncurry-this-accessor.js ***! 1258 \**************************************************************************/ 1259/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1260 1261"use strict"; 1262eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ \"./node_modules/core-js/internals/function-uncurry-this.js\");\nvar aCallable = __webpack_require__(/*! ../internals/a-callable */ \"./node_modules/core-js/internals/a-callable.js\");\n\nmodule.exports = function (object, key, method) {\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));\n } catch (error) { /* empty */ }\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/function-uncurry-this-accessor.js?"); 1263 1264/***/ }), 1265
vendor: 947 bytes, lines 1266-1276
1266/***/ "./node_modules/core-js/internals/function-uncurry-this.js": 1267/*!*****************************************************************!*\ 1268 !*** ./node_modules/core-js/internals/function-uncurry-this.js ***! 1269 \*****************************************************************/ 1270/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1271 1272"use strict"; 1273eval("\nvar NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ \"./node_modules/core-js/internals/function-bind-native.js\");\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/function-uncurry-this.js?"); 1274 1275/***/ }), 1276
vendor: 949 bytes, lines 1277-1287
1277/***/ "./node_modules/core-js/internals/get-built-in.js": 1278/*!********************************************************!*\ 1279 !*** ./node_modules/core-js/internals/get-built-in.js ***! 1280 \********************************************************/ 1281/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1282 1283"use strict"; 1284eval("\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ \"./node_modules/core-js/internals/is-callable.js\");\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/get-built-in.js?"); 1285 1286/***/ }), 1287
vendor: 913 bytes, lines 1288-1298
1288/***/ "./node_modules/core-js/internals/get-method.js": 1289/*!******************************************************!*\ 1290 !*** ./node_modules/core-js/internals/get-method.js ***! 1291 \******************************************************/ 1292/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1293 1294"use strict"; 1295eval("\nvar aCallable = __webpack_require__(/*! ../internals/a-callable */ \"./node_modules/core-js/internals/a-callable.js\");\nvar isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ \"./node_modules/core-js/internals/is-null-or-undefined.js\");\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/get-method.js?"); 1296 1297/***/ }), 1298
vendor: 1,061 bytes, lines 1299-1309
1299/***/ "./node_modules/core-js/internals/global.js": 1300/*!**************************************************!*\ 1301 !*** ./node_modules/core-js/internals/global.js ***! 1302 \**************************************************/ 1303/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1304 1305"use strict"; 1306eval("\nvar check = function (it) {\n return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || this || Function('return this')();\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/global.js?"); 1307 1308/***/ }), 1309
vendor: 1,045 bytes, lines 1310-1320
1310/***/ "./node_modules/core-js/internals/has-own-property.js": 1311/*!************************************************************!*\ 1312 !*** ./node_modules/core-js/internals/has-own-property.js ***! 1313 \************************************************************/ 1314/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1315 1316"use strict"; 1317eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ \"./node_modules/core-js/internals/function-uncurry-this.js\");\nvar toObject = __webpack_require__(/*! ../internals/to-object */ \"./node_modules/core-js/internals/to-object.js\");\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/has-own-property.js?"); 1318 1319/***/ }), 1320
vendor: 418 bytes, lines 1321-1331
1321/***/ "./node_modules/core-js/internals/hidden-keys.js": 1322/*!*******************************************************!*\ 1323 !*** ./node_modules/core-js/internals/hidden-keys.js ***! 1324 \*******************************************************/ 1325/***/ (function(module) { 1326 1327"use strict"; 1328eval("\nmodule.exports = {};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/hidden-keys.js?"); 1329 1330/***/ }), 1331
vendor: 1,145 bytes, lines 1332-1342
1332/***/ "./node_modules/core-js/internals/ie8-dom-define.js": 1333/*!**********************************************************!*\ 1334 !*** ./node_modules/core-js/internals/ie8-dom-define.js ***! 1335 \**********************************************************/ 1336/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1337 1338"use strict"; 1339eval("\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\nvar createElement = __webpack_require__(/*! ../internals/document-create-element */ \"./node_modules/core-js/internals/document-create-element.js\");\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a !== 7;\n});\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/ie8-dom-define.js?"); 1340 1341/***/ }), 1342
vendor: 1,294 bytes, lines 1343-1353
1343/***/ "./node_modules/core-js/internals/indexed-object.js": 1344/*!**********************************************************!*\ 1345 !*** ./node_modules/core-js/internals/indexed-object.js ***! 1346 \**********************************************************/ 1347/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1348 1349"use strict"; 1350eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ \"./node_modules/core-js/internals/function-uncurry-this.js\");\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\nvar classof = __webpack_require__(/*! ../internals/classof-raw */ \"./node_modules/core-js/internals/classof-raw.js\");\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) === 'String' ? split(it, '') : $Object(it);\n} : $Object;\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/indexed-object.js?"); 1351 1352/***/ }), 1353
vendor: 1,454 bytes, lines 1354-1364
1354/***/ "./node_modules/core-js/internals/inherit-if-required.js": 1355/*!***************************************************************!*\ 1356 !*** ./node_modules/core-js/internals/inherit-if-required.js ***! 1357 \***************************************************************/ 1358/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1359 1360"use strict"; 1361eval("\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ \"./node_modules/core-js/internals/is-callable.js\");\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\nvar setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ \"./node_modules/core-js/internals/object-set-prototype-of.js\");\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n isCallable(NewTarget = dummy.constructor) &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/inherit-if-required.js?"); 1362 1363/***/ }), 1364
vendor: 1,155 bytes, lines 1365-1375
1365/***/ "./node_modules/core-js/internals/inspect-source.js": 1366/*!**********************************************************!*\ 1367 !*** ./node_modules/core-js/internals/inspect-source.js ***! 1368 \**********************************************************/ 1369/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1370 1371"use strict"; 1372eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ \"./node_modules/core-js/internals/function-uncurry-this.js\");\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ \"./node_modules/core-js/internals/is-callable.js\");\nvar store = __webpack_require__(/*! ../internals/shared-store */ \"./node_modules/core-js/internals/shared-store.js\");\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `[email protected]`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/inspect-source.js?"); 1373 1374/***/ }), 1375
vendor: 3,185 bytes, lines 1376-1386
1376/***/ "./node_modules/core-js/internals/internal-state.js": 1377/*!**********************************************************!*\ 1378 !*** ./node_modules/core-js/internals/internal-state.js ***! 1379 \**********************************************************/ 1380/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1381 1382"use strict"; 1383eval("\nvar NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/weak-map-basic-detection */ \"./node_modules/core-js/internals/weak-map-basic-detection.js\");\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\nvar createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ \"./node_modules/core-js/internals/create-non-enumerable-property.js\");\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ \"./node_modules/core-js/internals/has-own-property.js\");\nvar shared = __webpack_require__(/*! ../internals/shared-store */ \"./node_modules/core-js/internals/shared-store.js\");\nvar sharedKey = __webpack_require__(/*! ../internals/shared-key */ \"./node_modules/core-js/internals/shared-key.js\");\nvar hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ \"./node_modules/core-js/internals/hidden-keys.js\");\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw new TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/internal-state.js?"); 1384 1385/***/ }), 1386
vendor: 791 bytes, lines 1387-1397
1387/***/ "./node_modules/core-js/internals/is-array.js": 1388/*!****************************************************!*\ 1389 !*** ./node_modules/core-js/internals/is-array.js ***! 1390 \****************************************************/ 1391/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1392 1393"use strict"; 1394eval("\nvar classof = __webpack_require__(/*! ../internals/classof-raw */ \"./node_modules/core-js/internals/classof-raw.js\");\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) === 'Array';\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/is-array.js?"); 1395 1396/***/ }), 1397
vendor: 716 bytes, lines 1398-1408
1398/***/ "./node_modules/core-js/internals/is-big-int-array.js": 1399/*!************************************************************!*\ 1400 !*** ./node_modules/core-js/internals/is-big-int-array.js ***! 1401 \************************************************************/ 1402/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1403 1404"use strict"; 1405eval("\nvar classof = __webpack_require__(/*! ../internals/classof */ \"./node_modules/core-js/internals/classof.js\");\n\nmodule.exports = function (it) {\n var klass = classof(it);\n return klass === 'BigInt64Array' || klass === 'BigUint64Array';\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/is-big-int-array.js?"); 1406 1407/***/ }), 1408
vendor: 899 bytes, lines 1409-1419
1409/***/ "./node_modules/core-js/internals/is-callable.js": 1410/*!*******************************************************!*\ 1411 !*** ./node_modules/core-js/internals/is-callable.js ***! 1412 \*******************************************************/ 1413/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1414 1415"use strict"; 1416eval("\nvar $documentAll = __webpack_require__(/*! ../internals/document-all */ \"./node_modules/core-js/internals/document-all.js\");\n\nvar documentAll = $documentAll.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = $documentAll.IS_HTMLDDA ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/is-callable.js?"); 1417 1418/***/ }), 1419
vendor: 1,209 bytes, lines 1420-1430
1420/***/ "./node_modules/core-js/internals/is-forced.js": 1421/*!*****************************************************!*\ 1422 !*** ./node_modules/core-js/internals/is-forced.js ***! 1423 \*****************************************************/ 1424/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1425 1426"use strict"; 1427eval("\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ \"./node_modules/core-js/internals/is-callable.js\");\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value === POLYFILL ? true\n : value === NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/is-forced.js?"); 1428 1429/***/ }), 1430
vendor: 655 bytes, lines 1431-1441
1431/***/ "./node_modules/core-js/internals/is-null-or-undefined.js": 1432/*!****************************************************************!*\ 1433 !*** ./node_modules/core-js/internals/is-null-or-undefined.js ***! 1434 \****************************************************************/ 1435/***/ (function(module) { 1436 1437"use strict"; 1438eval("\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/is-null-or-undefined.js?"); 1439 1440/***/ }), 1441
vendor: 961 bytes, lines 1442-1452
1442/***/ "./node_modules/core-js/internals/is-object.js": 1443/*!*****************************************************!*\ 1444 !*** ./node_modules/core-js/internals/is-object.js ***! 1445 \*****************************************************/ 1446/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1447 1448"use strict"; 1449eval("\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ \"./node_modules/core-js/internals/is-callable.js\");\nvar $documentAll = __webpack_require__(/*! ../internals/document-all */ \"./node_modules/core-js/internals/document-all.js\");\n\nvar documentAll = $documentAll.all;\n\nmodule.exports = $documentAll.IS_HTMLDDA ? function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;\n} : function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/is-object.js?"); 1450 1451/***/ }), 1452
vendor: 401 bytes, lines 1453-1463
1453/***/ "./node_modules/core-js/internals/is-pure.js": 1454/*!***************************************************!*\ 1455 !*** ./node_modules/core-js/internals/is-pure.js ***! 1456 \***************************************************/ 1457/***/ (function(module) { 1458 1459"use strict"; 1460eval("\nmodule.exports = false;\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/is-pure.js?"); 1461 1462/***/ }), 1463
vendor: 1,233 bytes, lines 1464-1474
1464/***/ "./node_modules/core-js/internals/is-symbol.js": 1465/*!*****************************************************!*\ 1466 !*** ./node_modules/core-js/internals/is-symbol.js ***! 1467 \*****************************************************/ 1468/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1469 1470"use strict"; 1471eval("\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ \"./node_modules/core-js/internals/get-built-in.js\");\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ \"./node_modules/core-js/internals/is-callable.js\");\nvar isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ \"./node_modules/core-js/internals/object-is-prototype-of.js\");\nvar USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ \"./node_modules/core-js/internals/use-symbol-as-uid.js\");\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/is-symbol.js?"); 1472 1473/***/ }), 1474
vendor: 773 bytes, lines 1475-1485
1475/***/ "./node_modules/core-js/internals/length-of-array-like.js": 1476/*!****************************************************************!*\ 1477 !*** ./node_modules/core-js/internals/length-of-array-like.js ***! 1478 \****************************************************************/ 1479/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1480 1481"use strict"; 1482eval("\nvar toLength = __webpack_require__(/*! ../internals/to-length */ \"./node_modules/core-js/internals/to-length.js\");\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/length-of-array-like.js?"); 1483 1484/***/ }), 1485
vendor: 3,673 bytes, lines 1486-1496
1486/***/ "./node_modules/core-js/internals/make-built-in.js": 1487/*!*********************************************************!*\ 1488 !*** ./node_modules/core-js/internals/make-built-in.js ***! 1489 \*********************************************************/ 1490/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1491 1492"use strict"; 1493eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ \"./node_modules/core-js/internals/function-uncurry-this.js\");\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ \"./node_modules/core-js/internals/is-callable.js\");\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ \"./node_modules/core-js/internals/has-own-property.js\");\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ \"./node_modules/core-js/internals/function-name.js\").CONFIGURABLE);\nvar inspectSource = __webpack_require__(/*! ../internals/inspect-source */ \"./node_modules/core-js/internals/inspect-source.js\");\nvar InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ \"./node_modules/core-js/internals/internal-state.js\");\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/make-built-in.js?"); 1494 1495/***/ }), 1496
vendor: 671 bytes, lines 1497-1507
1497/***/ "./node_modules/core-js/internals/math-trunc.js": 1498/*!******************************************************!*\ 1499 !*** ./node_modules/core-js/internals/math-trunc.js ***! 1500 \******************************************************/ 1501/***/ (function(module) { 1502 1503"use strict"; 1504eval("\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/math-trunc.js?"); 1505 1506/***/ }), 1507
vendor: 781 bytes, lines 1508-1518
1508/***/ "./node_modules/core-js/internals/normalize-string-argument.js": 1509/*!*********************************************************************!*\ 1510 !*** ./node_modules/core-js/internals/normalize-string-argument.js ***! 1511 \*********************************************************************/ 1512/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1513 1514"use strict"; 1515eval("\nvar toString = __webpack_require__(/*! ../internals/to-string */ \"./node_modules/core-js/internals/to-string.js\");\n\nmodule.exports = function (argument, $default) {\n return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/normalize-string-argument.js?"); 1516 1517/***/ }), 1518
vendor: 2,784 bytes, lines 1519-1529
1519/***/ "./node_modules/core-js/internals/object-define-property.js": 1520/*!******************************************************************!*\ 1521 !*** ./node_modules/core-js/internals/object-define-property.js ***! 1522 \******************************************************************/ 1523/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 1524 1525"use strict"; 1526eval("\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ \"./node_modules/core-js/internals/ie8-dom-define.js\");\nvar V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ \"./node_modules/core-js/internals/v8-prototype-define-bug.js\");\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\nvar toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ \"./node_modules/core-js/internals/to-property-key.js\");\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/object-define-property.js?"); 1527 1528/***/ }), 1529
vendor: 2,309 bytes, lines 1530-1540
1530/***/ "./node_modules/core-js/internals/object-get-own-property-descriptor.js": 1531/*!******************************************************************************!*\ 1532 !*** ./node_modules/core-js/internals/object-get-own-property-descriptor.js ***! 1533 \******************************************************************************/ 1534/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 1535 1536"use strict"; 1537eval("\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar call = __webpack_require__(/*! ../internals/function-call */ \"./node_modules/core-js/internals/function-call.js\");\nvar propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ \"./node_modules/core-js/internals/object-property-is-enumerable.js\");\nvar createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ \"./node_modules/core-js/internals/create-property-descriptor.js\");\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ \"./node_modules/core-js/internals/to-indexed-object.js\");\nvar toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ \"./node_modules/core-js/internals/to-property-key.js\");\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ \"./node_modules/core-js/internals/has-own-property.js\");\nvar IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ \"./node_modules/core-js/internals/ie8-dom-define.js\");\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/object-get-own-property-descriptor.js?"); 1538 1539/***/ }), 1540
vendor: 1,173 bytes, lines 1541-1551
1541/***/ "./node_modules/core-js/internals/object-get-own-property-names.js": 1542/*!*************************************************************************!*\ 1543 !*** ./node_modules/core-js/internals/object-get-own-property-names.js ***! 1544 \*************************************************************************/ 1545/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 1546 1547"use strict"; 1548eval("\nvar internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ \"./node_modules/core-js/internals/object-keys-internal.js\");\nvar enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ \"./node_modules/core-js/internals/enum-bug-keys.js\");\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/object-get-own-property-names.js?"); 1549 1550/***/ }), 1551
vendor: 637 bytes, lines 1552-1562
1552/***/ "./node_modules/core-js/internals/object-get-own-property-symbols.js": 1553/*!***************************************************************************!*\ 1554 !*** ./node_modules/core-js/internals/object-get-own-property-symbols.js ***! 1555 \***************************************************************************/ 1556/***/ (function(__unused_webpack_module, exports) { 1557 1558"use strict"; 1559eval("\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/object-get-own-property-symbols.js?"); 1560 1561/***/ }), 1562
vendor: 1,806 bytes, lines 1563-1573
1563/***/ "./node_modules/core-js/internals/object-get-prototype-of.js": 1564/*!*******************************************************************!*\ 1565 !*** ./node_modules/core-js/internals/object-get-prototype-of.js ***! 1566 \*******************************************************************/ 1567/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1568 1569"use strict"; 1570eval("\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ \"./node_modules/core-js/internals/has-own-property.js\");\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ \"./node_modules/core-js/internals/is-callable.js\");\nvar toObject = __webpack_require__(/*! ../internals/to-object */ \"./node_modules/core-js/internals/to-object.js\");\nvar sharedKey = __webpack_require__(/*! ../internals/shared-key */ \"./node_modules/core-js/internals/shared-key.js\");\nvar CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ \"./node_modules/core-js/internals/correct-prototype-getter.js\");\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof $Object ? ObjectPrototype : null;\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/object-get-prototype-of.js?"); 1571 1572/***/ }), 1573
vendor: 694 bytes, lines 1574-1584
1574/***/ "./node_modules/core-js/internals/object-is-prototype-of.js": 1575/*!******************************************************************!*\ 1576 !*** ./node_modules/core-js/internals/object-is-prototype-of.js ***! 1577 \******************************************************************/ 1578/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1579 1580"use strict"; 1581eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ \"./node_modules/core-js/internals/function-uncurry-this.js\");\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/object-is-prototype-of.js?"); 1582 1583/***/ }), 1584
vendor: 1,587 bytes, lines 1585-1595
1585/***/ "./node_modules/core-js/internals/object-keys-internal.js": 1586/*!****************************************************************!*\ 1587 !*** ./node_modules/core-js/internals/object-keys-internal.js ***! 1588 \****************************************************************/ 1589/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1590 1591"use strict"; 1592eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ \"./node_modules/core-js/internals/function-uncurry-this.js\");\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ \"./node_modules/core-js/internals/has-own-property.js\");\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ \"./node_modules/core-js/internals/to-indexed-object.js\");\nvar indexOf = (__webpack_require__(/*! ../internals/array-includes */ \"./node_modules/core-js/internals/array-includes.js\").indexOf);\nvar hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ \"./node_modules/core-js/internals/hidden-keys.js\");\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/object-keys-internal.js?"); 1593 1594/***/ }), 1595
vendor: 1,153 bytes, lines 1596-1606
1596/***/ "./node_modules/core-js/internals/object-property-is-enumerable.js": 1597/*!*************************************************************************!*\ 1598 !*** ./node_modules/core-js/internals/object-property-is-enumerable.js ***! 1599 \*************************************************************************/ 1600/***/ (function(__unused_webpack_module, exports) { 1601 1602"use strict"; 1603eval("\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/object-property-is-enumerable.js?"); 1604 1605/***/ }), 1606
vendor: 1,749 bytes, lines 1607-1617
1607/***/ "./node_modules/core-js/internals/object-set-prototype-of.js": 1608/*!*******************************************************************!*\ 1609 !*** ./node_modules/core-js/internals/object-set-prototype-of.js ***! 1610 \*******************************************************************/ 1611/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1612 1613"use strict"; 1614eval("\n/* eslint-disable no-proto -- safe */\nvar uncurryThisAccessor = __webpack_require__(/*! ../internals/function-uncurry-this-accessor */ \"./node_modules/core-js/internals/function-uncurry-this-accessor.js\");\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\nvar aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ \"./node_modules/core-js/internals/a-possible-prototype.js\");\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/object-set-prototype-of.js?"); 1615 1616/***/ }), 1617
vendor: 1,426 bytes, lines 1618-1628
1618/***/ "./node_modules/core-js/internals/ordinary-to-primitive.js": 1619/*!*****************************************************************!*\ 1620 !*** ./node_modules/core-js/internals/ordinary-to-primitive.js ***! 1621 \*****************************************************************/ 1622/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1623 1624"use strict"; 1625eval("\nvar call = __webpack_require__(/*! ../internals/function-call */ \"./node_modules/core-js/internals/function-call.js\");\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ \"./node_modules/core-js/internals/is-callable.js\");\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw new $TypeError(\"Can't convert object to primitive value\");\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/ordinary-to-primitive.js?"); 1626 1627/***/ }), 1628
vendor: 1,554 bytes, lines 1629-1639
1629/***/ "./node_modules/core-js/internals/own-keys.js": 1630/*!****************************************************!*\ 1631 !*** ./node_modules/core-js/internals/own-keys.js ***! 1632 \****************************************************/ 1633/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1634 1635"use strict"; 1636eval("\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ \"./node_modules/core-js/internals/get-built-in.js\");\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ \"./node_modules/core-js/internals/function-uncurry-this.js\");\nvar getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ \"./node_modules/core-js/internals/object-get-own-property-names.js\");\nvar getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ \"./node_modules/core-js/internals/object-get-own-property-symbols.js\");\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/own-keys.js?"); 1637 1638/***/ }), 1639
vendor: 1,080 bytes, lines 1640-1650
1640/***/ "./node_modules/core-js/internals/regexp-flags.js": 1641/*!********************************************************!*\ 1642 !*** ./node_modules/core-js/internals/regexp-flags.js ***! 1643 \********************************************************/ 1644/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1645 1646"use strict"; 1647eval("\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.hasIndices) result += 'd';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.unicodeSets) result += 'v';\n if (that.sticky) result += 'y';\n return result;\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/regexp-flags.js?"); 1648 1649/***/ }), 1650
vendor: 930 bytes, lines 1651-1661
1651/***/ "./node_modules/core-js/internals/require-object-coercible.js": 1652/*!********************************************************************!*\ 1653 !*** ./node_modules/core-js/internals/require-object-coercible.js ***! 1654 \********************************************************************/ 1655/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1656 1657"use strict"; 1658eval("\nvar isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ \"./node_modules/core-js/internals/is-null-or-undefined.js\");\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw new $TypeError(\"Can't call method on \" + it);\n return it;\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/require-object-coercible.js?"); 1659 1660/***/ }), 1661
vendor: 767 bytes, lines 1662-1672
1662/***/ "./node_modules/core-js/internals/shared-key.js": 1663/*!******************************************************!*\ 1664 !*** ./node_modules/core-js/internals/shared-key.js ***! 1665 \******************************************************/ 1666/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1667 1668"use strict"; 1669eval("\nvar shared = __webpack_require__(/*! ../internals/shared */ \"./node_modules/core-js/internals/shared.js\");\nvar uid = __webpack_require__(/*! ../internals/uid */ \"./node_modules/core-js/internals/uid.js\");\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/shared-key.js?"); 1670 1671/***/ }), 1672
vendor: 844 bytes, lines 1673-1683
1673/***/ "./node_modules/core-js/internals/shared-store.js": 1674/*!********************************************************!*\ 1675 !*** ./node_modules/core-js/internals/shared-store.js ***! 1676 \********************************************************/ 1677/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1678 1679"use strict"; 1680eval("\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ \"./node_modules/core-js/internals/define-global-property.js\");\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/shared-store.js?"); 1681 1682/***/ }), 1683
vendor: 1,043 bytes, lines 1684-1694
1684/***/ "./node_modules/core-js/internals/shared.js": 1685/*!**************************************************!*\ 1686 !*** ./node_modules/core-js/internals/shared.js ***! 1687 \**************************************************/ 1688/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1689 1690"use strict"; 1691eval("\nvar IS_PURE = __webpack_require__(/*! ../internals/is-pure */ \"./node_modules/core-js/internals/is-pure.js\");\nvar store = __webpack_require__(/*! ../internals/shared-store */ \"./node_modules/core-js/internals/shared-store.js\");\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.33.2',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.33.2/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/shared.js?"); 1692 1693/***/ }), 1694
vendor: 1,673 bytes, lines 1695-1705
1695/***/ "./node_modules/core-js/internals/symbol-constructor-detection.js": 1696/*!************************************************************************!*\ 1697 !*** ./node_modules/core-js/internals/symbol-constructor-detection.js ***! 1698 \************************************************************************/ 1699/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1700 1701"use strict"; 1702eval("\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ \"./node_modules/core-js/internals/engine-v8-version.js\");\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol('symbol detection');\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/symbol-constructor-detection.js?"); 1703 1704/***/ }), 1705
vendor: 1,036 bytes, lines 1706-1716
1706/***/ "./node_modules/core-js/internals/to-absolute-index.js": 1707/*!*************************************************************!*\ 1708 !*** ./node_modules/core-js/internals/to-absolute-index.js ***! 1709 \*************************************************************/ 1710/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1711 1712"use strict"; 1713eval("\nvar toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ \"./node_modules/core-js/internals/to-integer-or-infinity.js\");\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/to-absolute-index.js?"); 1714 1715/***/ }), 1716
vendor: 931 bytes, lines 1717-1727
1717/***/ "./node_modules/core-js/internals/to-big-int.js": 1718/*!******************************************************!*\ 1719 !*** ./node_modules/core-js/internals/to-big-int.js ***! 1720 \******************************************************/ 1721/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1722 1723"use strict"; 1724eval("\nvar toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ \"./node_modules/core-js/internals/to-primitive.js\");\n\nvar $TypeError = TypeError;\n\n// `ToBigInt` abstract operation\n// https://tc39.es/ecma262/#sec-tobigint\nmodule.exports = function (argument) {\n var prim = toPrimitive(argument, 'number');\n if (typeof prim == 'number') throw new $TypeError(\"Can't convert number to bigint\");\n // eslint-disable-next-line es/no-bigint -- safe\n return BigInt(prim);\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/to-big-int.js?"); 1725 1726/***/ }), 1727
vendor: 919 bytes, lines 1728-1738
1728/***/ "./node_modules/core-js/internals/to-indexed-object.js": 1729/*!*************************************************************!*\ 1730 !*** ./node_modules/core-js/internals/to-indexed-object.js ***! 1731 \*************************************************************/ 1732/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1733 1734"use strict"; 1735eval("\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ \"./node_modules/core-js/internals/indexed-object.js\");\nvar requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ \"./node_modules/core-js/internals/require-object-coercible.js\");\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/to-indexed-object.js?"); 1736 1737/***/ }), 1738
vendor: 911 bytes, lines 1739-1749
1739/***/ "./node_modules/core-js/internals/to-integer-or-infinity.js": 1740/*!******************************************************************!*\ 1741 !*** ./node_modules/core-js/internals/to-integer-or-infinity.js ***! 1742 \******************************************************************/ 1743/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1744 1745"use strict"; 1746eval("\nvar trunc = __webpack_require__(/*! ../internals/math-trunc */ \"./node_modules/core-js/internals/math-trunc.js\");\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/to-integer-or-infinity.js?"); 1747 1748/***/ }), 1749
vendor: 851 bytes, lines 1750-1760
1750/***/ "./node_modules/core-js/internals/to-length.js": 1751/*!*****************************************************!*\ 1752 !*** ./node_modules/core-js/internals/to-length.js ***! 1753 \*****************************************************/ 1754/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1755 1756"use strict"; 1757eval("\nvar toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ \"./node_modules/core-js/internals/to-integer-or-infinity.js\");\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/to-length.js?"); 1758 1759/***/ }), 1760
vendor: 795 bytes, lines 1761-1771
1761/***/ "./node_modules/core-js/internals/to-object.js": 1762/*!*****************************************************!*\ 1763 !*** ./node_modules/core-js/internals/to-object.js ***! 1764 \*****************************************************/ 1765/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1766 1767"use strict"; 1768eval("\nvar requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ \"./node_modules/core-js/internals/require-object-coercible.js\");\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/to-object.js?"); 1769 1770/***/ }), 1771
vendor: 1,907 bytes, lines 1772-1782
1772/***/ "./node_modules/core-js/internals/to-primitive.js": 1773/*!********************************************************!*\ 1774 !*** ./node_modules/core-js/internals/to-primitive.js ***! 1775 \********************************************************/ 1776/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1777 1778"use strict"; 1779eval("\nvar call = __webpack_require__(/*! ../internals/function-call */ \"./node_modules/core-js/internals/function-call.js\");\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\nvar isSymbol = __webpack_require__(/*! ../internals/is-symbol */ \"./node_modules/core-js/internals/is-symbol.js\");\nvar getMethod = __webpack_require__(/*! ../internals/get-method */ \"./node_modules/core-js/internals/get-method.js\");\nvar ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ \"./node_modules/core-js/internals/ordinary-to-primitive.js\");\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ \"./node_modules/core-js/internals/well-known-symbol.js\");\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw new $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/to-primitive.js?"); 1780 1781/***/ }), 1782
vendor: 928 bytes, lines 1783-1793
1783/***/ "./node_modules/core-js/internals/to-property-key.js": 1784/*!***********************************************************!*\ 1785 !*** ./node_modules/core-js/internals/to-property-key.js ***! 1786 \***********************************************************/ 1787/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1788 1789"use strict"; 1790eval("\nvar toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ \"./node_modules/core-js/internals/to-primitive.js\");\nvar isSymbol = __webpack_require__(/*! ../internals/is-symbol */ \"./node_modules/core-js/internals/is-symbol.js\");\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/to-property-key.js?"); 1791 1792/***/ }), 1793
vendor: 786 bytes, lines 1794-1804
1794/***/ "./node_modules/core-js/internals/to-string-tag-support.js": 1795/*!*****************************************************************!*\ 1796 !*** ./node_modules/core-js/internals/to-string-tag-support.js ***! 1797 \*****************************************************************/ 1798/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1799 1800"use strict"; 1801eval("\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ \"./node_modules/core-js/internals/well-known-symbol.js\");\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/to-string-tag-support.js?"); 1802 1803/***/ }), 1804
vendor: 751 bytes, lines 1805-1815
1805/***/ "./node_modules/core-js/internals/to-string.js": 1806/*!*****************************************************!*\ 1807 !*** ./node_modules/core-js/internals/to-string.js ***! 1808 \*****************************************************/ 1809/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1810 1811"use strict"; 1812eval("\nvar classof = __webpack_require__(/*! ../internals/classof */ \"./node_modules/core-js/internals/classof.js\");\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/to-string.js?"); 1813 1814/***/ }), 1815
vendor: 563 bytes, lines 1816-1826
1816/***/ "./node_modules/core-js/internals/try-to-string.js": 1817/*!*********************************************************!*\ 1818 !*** ./node_modules/core-js/internals/try-to-string.js ***! 1819 \*********************************************************/ 1820/***/ (function(module) { 1821 1822"use strict"; 1823eval("\nvar $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/try-to-string.js?"); 1824 1825/***/ }), 1826
vendor: 769 bytes, lines 1827-1837
1827/***/ "./node_modules/core-js/internals/uid.js": 1828/*!***********************************************!*\ 1829 !*** ./node_modules/core-js/internals/uid.js ***! 1830 \***********************************************/ 1831/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1832 1833"use strict"; 1834eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ \"./node_modules/core-js/internals/function-uncurry-this.js\");\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/uid.js?"); 1835 1836/***/ }), 1837
vendor: 788 bytes, lines 1838-1848
1838/***/ "./node_modules/core-js/internals/use-symbol-as-uid.js": 1839/*!*************************************************************!*\ 1840 !*** ./node_modules/core-js/internals/use-symbol-as-uid.js ***! 1841 \*************************************************************/ 1842/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1843 1844"use strict"; 1845eval("\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ \"./node_modules/core-js/internals/symbol-constructor-detection.js\");\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/use-symbol-as-uid.js?"); 1846 1847/***/ }), 1848
vendor: 1,092 bytes, lines 1849-1859
1849/***/ "./node_modules/core-js/internals/v8-prototype-define-bug.js": 1850/*!*******************************************************************!*\ 1851 !*** ./node_modules/core-js/internals/v8-prototype-define-bug.js ***! 1852 \*******************************************************************/ 1853/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1854 1855"use strict"; 1856eval("\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype !== 42;\n});\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/v8-prototype-define-bug.js?"); 1857 1858/***/ }), 1859
vendor: 855 bytes, lines 1860-1870
1860/***/ "./node_modules/core-js/internals/weak-map-basic-detection.js": 1861/*!********************************************************************!*\ 1862 !*** ./node_modules/core-js/internals/weak-map-basic-detection.js ***! 1863 \********************************************************************/ 1864/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1865 1866"use strict"; 1867eval("\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ \"./node_modules/core-js/internals/is-callable.js\");\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/weak-map-basic-detection.js?"); 1868 1869/***/ }), 1870
vendor: 1,692 bytes, lines 1871-1881
1871/***/ "./node_modules/core-js/internals/well-known-symbol.js": 1872/*!*************************************************************!*\ 1873 !*** ./node_modules/core-js/internals/well-known-symbol.js ***! 1874 \*************************************************************/ 1875/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1876 1877"use strict"; 1878eval("\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar shared = __webpack_require__(/*! ../internals/shared */ \"./node_modules/core-js/internals/shared.js\");\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ \"./node_modules/core-js/internals/has-own-property.js\");\nvar uid = __webpack_require__(/*! ../internals/uid */ \"./node_modules/core-js/internals/uid.js\");\nvar NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ \"./node_modules/core-js/internals/symbol-constructor-detection.js\");\nvar USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ \"./node_modules/core-js/internals/use-symbol-as-uid.js\");\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/internals/well-known-symbol.js?"); 1879 1880/***/ }), 1881
vendor: 2,388 bytes, lines 1882-1892
1882/***/ "./node_modules/core-js/modules/es.array.push.js": 1883/*!*******************************************************!*\ 1884 !*** ./node_modules/core-js/modules/es.array.push.js ***! 1885 \*******************************************************/ 1886/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 1887 1888"use strict"; 1889eval("\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/core-js/internals/export.js\");\nvar toObject = __webpack_require__(/*! ../internals/to-object */ \"./node_modules/core-js/internals/to-object.js\");\nvar lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ \"./node_modules/core-js/internals/length-of-array-like.js\");\nvar setArrayLength = __webpack_require__(/*! ../internals/array-set-length */ \"./node_modules/core-js/internals/array-set-length.js\");\nvar doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ \"./node_modules/core-js/internals/does-not-exceed-safe-integer.js\");\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 and Safari <= 15.4, FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/modules/es.array.push.js?"); 1890 1891/***/ }), 1892
vendor: 2,442 bytes, lines 1893-1903
1893/***/ "./node_modules/core-js/modules/es.regexp.flags.js": 1894/*!*********************************************************!*\ 1895 !*** ./node_modules/core-js/modules/es.regexp.flags.js ***! 1896 \*********************************************************/ 1897/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 1898 1899"use strict"; 1900eval("\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ \"./node_modules/core-js/internals/define-built-in-accessor.js\");\nvar regExpFlags = __webpack_require__(/*! ../internals/regexp-flags */ \"./node_modules/core-js/internals/regexp-flags.js\");\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError\nvar RegExp = global.RegExp;\nvar RegExpPrototype = RegExp.prototype;\n\nvar FORCED = DESCRIPTORS && fails(function () {\n var INDICES_SUPPORT = true;\n try {\n RegExp('.', 'd');\n } catch (error) {\n INDICES_SUPPORT = false;\n }\n\n var O = {};\n // modern V8 bug\n var calls = '';\n var expected = INDICES_SUPPORT ? 'dgimsy' : 'gimsy';\n\n var addGetter = function (key, chr) {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty(O, key, { get: function () {\n calls += chr;\n return true;\n } });\n };\n\n var pairs = {\n dotAll: 's',\n global: 'g',\n ignoreCase: 'i',\n multiline: 'm',\n sticky: 'y'\n };\n\n if (INDICES_SUPPORT) pairs.hasIndices = 'd';\n\n for (var key in pairs) addGetter(key, pairs[key]);\n\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n var result = Object.getOwnPropertyDescriptor(RegExpPrototype, 'flags').get.call(O);\n\n return result !== expected || calls !== expected;\n});\n\n// `RegExp.prototype.flags` getter\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nif (FORCED) defineBuiltInAccessor(RegExpPrototype, 'flags', {\n configurable: true,\n get: regExpFlags\n});\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/modules/es.regexp.flags.js?"); 1901 1902/***/ }), 1903
vendor: 1,288 bytes, lines 1904-1914
1904/***/ "./node_modules/core-js/modules/es.typed-array.to-reversed.js": 1905/*!********************************************************************!*\ 1906 !*** ./node_modules/core-js/modules/es.typed-array.to-reversed.js ***! 1907 \********************************************************************/ 1908/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 1909 1910"use strict"; 1911eval("\nvar arrayToReversed = __webpack_require__(/*! ../internals/array-to-reversed */ \"./node_modules/core-js/internals/array-to-reversed.js\");\nvar ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ \"./node_modules/core-js/internals/array-buffer-view-core.js\");\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;\n\n// `%TypedArray%.prototype.toReversed` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.toreversed\nexportTypedArrayMethod('toReversed', function toReversed() {\n return arrayToReversed(aTypedArray(this), getTypedArrayConstructor(this));\n});\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/modules/es.typed-array.to-reversed.js?"); 1912 1913/***/ }), 1914
vendor: 1,764 bytes, lines 1915-1925
1915/***/ "./node_modules/core-js/modules/es.typed-array.to-sorted.js": 1916/*!******************************************************************!*\ 1917 !*** ./node_modules/core-js/modules/es.typed-array.to-sorted.js ***! 1918 \******************************************************************/ 1919/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 1920 1921"use strict"; 1922eval("\nvar ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ \"./node_modules/core-js/internals/array-buffer-view-core.js\");\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ \"./node_modules/core-js/internals/function-uncurry-this.js\");\nvar aCallable = __webpack_require__(/*! ../internals/a-callable */ \"./node_modules/core-js/internals/a-callable.js\");\nvar arrayFromConstructorAndList = __webpack_require__(/*! ../internals/array-from-constructor-and-list */ \"./node_modules/core-js/internals/array-from-constructor-and-list.js\");\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar sort = uncurryThis(ArrayBufferViewCore.TypedArrayPrototype.sort);\n\n// `%TypedArray%.prototype.toSorted` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tosorted\nexportTypedArrayMethod('toSorted', function toSorted(compareFn) {\n if (compareFn !== undefined) aCallable(compareFn);\n var O = aTypedArray(this);\n var A = arrayFromConstructorAndList(getTypedArrayConstructor(O), O);\n return sort(A, compareFn);\n});\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/modules/es.typed-array.to-sorted.js?"); 1923 1924/***/ }), 1925
vendor: 2,267 bytes, lines 1926-1936
1926/***/ "./node_modules/core-js/modules/es.typed-array.with.js": 1927/*!*************************************************************!*\ 1928 !*** ./node_modules/core-js/modules/es.typed-array.with.js ***! 1929 \*************************************************************/ 1930/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 1931 1932"use strict"; 1933eval("\nvar arrayWith = __webpack_require__(/*! ../internals/array-with */ \"./node_modules/core-js/internals/array-with.js\");\nvar ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ \"./node_modules/core-js/internals/array-buffer-view-core.js\");\nvar isBigIntArray = __webpack_require__(/*! ../internals/is-big-int-array */ \"./node_modules/core-js/internals/is-big-int-array.js\");\nvar toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ \"./node_modules/core-js/internals/to-integer-or-infinity.js\");\nvar toBigInt = __webpack_require__(/*! ../internals/to-big-int */ \"./node_modules/core-js/internals/to-big-int.js\");\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\nvar PROPER_ORDER = !!function () {\n try {\n // eslint-disable-next-line no-throw-literal, es/no-typed-arrays, es/no-array-prototype-with -- required for testing\n new Int8Array(1)['with'](2, { valueOf: function () { throw 8; } });\n } catch (error) {\n // some early implementations, like WebKit, does not follow the final semantic\n // https://github.com/tc39/proposal-change-array-by-copy/pull/86\n return error === 8;\n }\n}();\n\n// `%TypedArray%.prototype.with` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.with\nexportTypedArrayMethod('with', { 'with': function (index, value) {\n var O = aTypedArray(this);\n var relativeIndex = toIntegerOrInfinity(index);\n var actualValue = isBigIntArray(O) ? toBigInt(value) : +value;\n return arrayWith(O, getTypedArrayConstructor(O), relativeIndex, actualValue);\n} }['with'], !PROPER_ORDER);\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/modules/es.typed-array.with.js?"); 1934 1935/***/ }), 1936
vendor: 4,762 bytes, lines 1937-1947
1937/***/ "./node_modules/core-js/modules/web.dom-exception.stack.js": 1938/*!*****************************************************************!*\ 1939 !*** ./node_modules/core-js/modules/web.dom-exception.stack.js ***! 1940 \*****************************************************************/ 1941/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 1942 1943"use strict"; 1944eval("\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/core-js/internals/export.js\");\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ \"./node_modules/core-js/internals/get-built-in.js\");\nvar createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ \"./node_modules/core-js/internals/create-property-descriptor.js\");\nvar defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ \"./node_modules/core-js/internals/object-define-property.js\").f);\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ \"./node_modules/core-js/internals/has-own-property.js\");\nvar anInstance = __webpack_require__(/*! ../internals/an-instance */ \"./node_modules/core-js/internals/an-instance.js\");\nvar inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ \"./node_modules/core-js/internals/inherit-if-required.js\");\nvar normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ \"./node_modules/core-js/internals/normalize-string-argument.js\");\nvar DOMExceptionConstants = __webpack_require__(/*! ../internals/dom-exception-constants */ \"./node_modules/core-js/internals/dom-exception-constants.js\");\nvar clearErrorStack = __webpack_require__(/*! ../internals/error-stack-clear */ \"./node_modules/core-js/internals/error-stack-clear.js\");\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar IS_PURE = __webpack_require__(/*! ../internals/is-pure */ \"./node_modules/core-js/internals/is-pure.js\");\n\nvar DOM_EXCEPTION = 'DOMException';\nvar Error = getBuiltIn('Error');\nvar NativeDOMException = getBuiltIn(DOM_EXCEPTION);\n\nvar $DOMException = function DOMException() {\n anInstance(this, DOMExceptionPrototype);\n var argumentsLength = arguments.length;\n var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);\n var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');\n var that = new NativeDOMException(message, name);\n var error = new Error(message);\n error.name = DOM_EXCEPTION;\n defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1)));\n inheritIfRequired(that, this, $DOMException);\n return that;\n};\n\nvar DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype;\n\nvar ERROR_HAS_STACK = 'stack' in new Error(DOM_EXCEPTION);\nvar DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2);\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global, DOM_EXCEPTION);\n\n// Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it\n// https://github.com/Jarred-Sumner/bun/issues/399\nvar BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable);\n\nvar FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK;\n\n// `DOMException` constructor patch for `.stack` where it's required\n// https://webidl.spec.whatwg.org/#es-DOMException-specialness\n$({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic\n DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException\n});\n\nvar PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);\nvar PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;\n\nif (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) {\n if (!IS_PURE) {\n defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException));\n }\n\n for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {\n var constant = DOMExceptionConstants[key];\n var constantName = constant.s;\n if (!hasOwn(PolyfilledDOMException, constantName)) {\n defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c));\n }\n }\n}\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/core-js/modules/web.dom-exception.stack.js?"); 1945 1946/***/ }), 1947
vendor: 12,114 bytes, lines 1948-1958
1948/***/ "./node_modules/kdbush/index.js": 1949/*!**************************************!*\ 1950 !*** ./node_modules/kdbush/index.js ***! 1951 \**************************************/ 1952/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { 1953 1954"use strict"; 1955eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": function() { return /* binding */ KDBush; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_typed_array_to_reversed_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.typed-array.to-reversed.js */ \"./node_modules/core-js/modules/es.typed-array.to-reversed.js\");\n/* harmony import */ var core_js_modules_es_typed_array_to_sorted_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.typed-array.to-sorted.js */ \"./node_modules/core-js/modules/es.typed-array.to-sorted.js\");\n/* harmony import */ var core_js_modules_es_typed_array_with_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.typed-array.with.js */ \"./node_modules/core-js/modules/es.typed-array.with.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n\n\n\n\nconst ARRAY_TYPES = [Int8Array, Uint8Array, Uint8ClampedArray, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array];\n\n/** @typedef {Int8ArrayConstructor | Uint8ArrayConstructor | Uint8ClampedArrayConstructor | Int16ArrayConstructor | Uint16ArrayConstructor | Int32ArrayConstructor | Uint32ArrayConstructor | Float32ArrayConstructor | Float64ArrayConstructor} TypedArrayConstructor */\n\nconst VERSION = 1; // serialized format version\nconst HEADER_SIZE = 8;\nclass KDBush {\n /**\n * Creates an index from raw `ArrayBuffer` data.\n * @param {ArrayBuffer} data\n */\n static from(data) {\n if (!(data instanceof ArrayBuffer)) {\n throw new Error('Data must be an instance of ArrayBuffer.');\n }\n const [magic, versionAndType] = new Uint8Array(data, 0, 2);\n if (magic !== 0xdb) {\n throw new Error('Data does not appear to be in a KDBush format.');\n }\n const version = versionAndType >> 4;\n if (version !== VERSION) {\n throw new Error(`Got v${version} data when expected v${VERSION}.`);\n }\n const ArrayType = ARRAY_TYPES[versionAndType & 0x0f];\n if (!ArrayType) {\n throw new Error('Unrecognized array type.');\n }\n const [nodeSize] = new Uint16Array(data, 2, 1);\n const [numItems] = new Uint32Array(data, 4, 1);\n return new KDBush(numItems, nodeSize, ArrayType, data);\n }\n\n /**\n * Creates an index that will hold a given number of items.\n * @param {number} numItems\n * @param {number} [nodeSize=64] Size of the KD-tree node (64 by default).\n * @param {TypedArrayConstructor} [ArrayType=Float64Array] The array type used for coordinates storage (`Float64Array` by default).\n * @param {ArrayBuffer} [data] (For internal use only)\n */\n constructor(numItems, nodeSize = 64, ArrayType = Float64Array, data) {\n if (isNaN(numItems) || numItems < 0) throw new Error(`Unpexpected numItems value: ${numItems}.`);\n this.numItems = +numItems;\n this.nodeSize = Math.min(Math.max(+nodeSize, 2), 65535);\n this.ArrayType = ArrayType;\n this.IndexArrayType = numItems < 65536 ? Uint16Array : Uint32Array;\n const arrayTypeIndex = ARRAY_TYPES.indexOf(this.ArrayType);\n const coordsByteSize = numItems * 2 * this.ArrayType.BYTES_PER_ELEMENT;\n const idsByteSize = numItems * this.IndexArrayType.BYTES_PER_ELEMENT;\n const padCoords = (8 - idsByteSize % 8) % 8;\n if (arrayTypeIndex < 0) {\n throw new Error(`Unexpected typed array class: ${ArrayType}.`);\n }\n if (data && data instanceof ArrayBuffer) {\n // reconstruct an index from a buffer\n this.data = data;\n this.ids = new this.IndexArrayType(this.data, HEADER_SIZE, numItems);\n this.coords = new this.ArrayType(this.data, HEADER_SIZE + idsByteSize + padCoords, numItems * 2);\n this._pos = numItems * 2;\n this._finished = true;\n } else {\n // initialize a new index\n this.data = new ArrayBuffer(HEADER_SIZE + coordsByteSize + idsByteSize + padCoords);\n this.ids = new this.IndexArrayType(this.data, HEADER_SIZE, numItems);\n this.coords = new this.ArrayType(this.data, HEADER_SIZE + idsByteSize + padCoords, numItems * 2);\n this._pos = 0;\n this._finished = false;\n\n // set header\n new Uint8Array(this.data, 0, 2).set([0xdb, (VERSION << 4) + arrayTypeIndex]);\n new Uint16Array(this.data, 2, 1)[0] = nodeSize;\n new Uint32Array(this.data, 4, 1)[0] = numItems;\n }\n }\n\n /**\n * Add a point to the index.\n * @param {number} x\n * @param {number} y\n * @returns {number} An incremental index associated with the added item (starting from `0`).\n */\n add(x, y) {\n const index = this._pos >> 1;\n this.ids[index] = index;\n this.coords[this._pos++] = x;\n this.coords[this._pos++] = y;\n return index;\n }\n\n /**\n * Perform indexing of the added points.\n */\n finish() {\n const numAdded = this._pos >> 1;\n if (numAdded !== this.numItems) {\n throw new Error(`Added ${numAdded} items when expected ${this.numItems}.`);\n }\n // kd-sort both arrays for efficient search\n sort(this.ids, this.coords, this.nodeSize, 0, this.numItems - 1, 0);\n this._finished = true;\n return this;\n }\n\n /**\n * Search the index for items within a given bounding box.\n * @param {number} minX\n * @param {number} minY\n * @param {number} maxX\n * @param {number} maxY\n * @returns {number[]} An array of indices correponding to the found items.\n */\n range(minX, minY, maxX, maxY) {\n if (!this._finished) throw new Error('Data not yet indexed - call index.finish().');\n const {\n ids,\n coords,\n nodeSize\n } = this;\n const stack = [0, ids.length - 1, 0];\n const result = [];\n\n // recursively search for items in range in the kd-sorted arrays\n while (stack.length) {\n const axis = stack.pop() || 0;\n const right = stack.pop() || 0;\n const left = stack.pop() || 0;\n\n // if we reached \"tree node\", search linearly\n if (right - left <= nodeSize) {\n for (let i = left; i <= right; i++) {\n const x = coords[2 * i];\n const y = coords[2 * i + 1];\n if (x >= minX && x <= maxX && y >= minY && y <= maxY) result.push(ids[i]);\n }\n continue;\n }\n\n // otherwise find the middle index\n const m = left + right >> 1;\n\n // include the middle item if it's in range\n const x = coords[2 * m];\n const y = coords[2 * m + 1];\n if (x >= minX && x <= maxX && y >= minY && y <= maxY) result.push(ids[m]);\n\n // queue search in halves that intersect the query\n if (axis === 0 ? minX <= x : minY <= y) {\n stack.push(left);\n stack.push(m - 1);\n stack.push(1 - axis);\n }\n if (axis === 0 ? maxX >= x : maxY >= y) {\n stack.push(m + 1);\n stack.push(right);\n stack.push(1 - axis);\n }\n }\n return result;\n }\n\n /**\n * Search the index for items within a given radius.\n * @param {number} qx\n * @param {number} qy\n * @param {number} r Query radius.\n * @returns {number[]} An array of indices correponding to the found items.\n */\n within(qx, qy, r) {\n if (!this._finished) throw new Error('Data not yet indexed - call index.finish().');\n const {\n ids,\n coords,\n nodeSize\n } = this;\n const stack = [0, ids.length - 1, 0];\n const result = [];\n const r2 = r * r;\n\n // recursively search for items within radius in the kd-sorted arrays\n while (stack.length) {\n const axis = stack.pop() || 0;\n const right = stack.pop() || 0;\n const left = stack.pop() || 0;\n\n // if we reached \"tree node\", search linearly\n if (right - left <= nodeSize) {\n for (let i = left; i <= right; i++) {\n if (sqDist(coords[2 * i], coords[2 * i + 1], qx, qy) <= r2) result.push(ids[i]);\n }\n continue;\n }\n\n // otherwise find the middle index\n const m = left + right >> 1;\n\n // include the middle item if it's in range\n const x = coords[2 * m];\n const y = coords[2 * m + 1];\n if (sqDist(x, y, qx, qy) <= r2) result.push(ids[m]);\n\n // queue search in halves that intersect the query\n if (axis === 0 ? qx - r <= x : qy - r <= y) {\n stack.push(left);\n stack.push(m - 1);\n stack.push(1 - axis);\n }\n if (axis === 0 ? qx + r >= x : qy + r >= y) {\n stack.push(m + 1);\n stack.push(right);\n stack.push(1 - axis);\n }\n }\n return result;\n }\n}\n\n/**\n * @param {Uint16Array | Uint32Array} ids\n * @param {InstanceType<TypedArrayConstructor>} coords\n * @param {number} nodeSize\n * @param {number} left\n * @param {number} right\n * @param {number} axis\n */\nfunction sort(ids, coords, nodeSize, left, right, axis) {\n if (right - left <= nodeSize) return;\n const m = left + right >> 1; // middle index\n\n // sort ids and coords around the middle index so that the halves lie\n // either left/right or top/bottom correspondingly (taking turns)\n select(ids, coords, m, left, right, axis);\n\n // recursively kd-sort first half and second half on the opposite axis\n sort(ids, coords, nodeSize, left, m - 1, 1 - axis);\n sort(ids, coords, nodeSize, m + 1, right, 1 - axis);\n}\n\n/**\n * Custom Floyd-Rivest selection algorithm: sort ids and coords so that\n * [left..k-1] items are smaller than k-th item (on either x or y axis)\n * @param {Uint16Array | Uint32Array} ids\n * @param {InstanceType<TypedArrayConstructor>} coords\n * @param {number} k\n * @param {number} left\n * @param {number} right\n * @param {number} axis\n */\nfunction select(ids, coords, k, left, right, axis) {\n while (right > left) {\n if (right - left > 600) {\n const n = right - left + 1;\n const m = k - left + 1;\n const z = Math.log(n);\n const s = 0.5 * Math.exp(2 * z / 3);\n const sd = 0.5 * Math.sqrt(z * s * (n - s) / n) * (m - n / 2 < 0 ? -1 : 1);\n const newLeft = Math.max(left, Math.floor(k - m * s / n + sd));\n const newRight = Math.min(right, Math.floor(k + (n - m) * s / n + sd));\n select(ids, coords, k, newLeft, newRight, axis);\n }\n const t = coords[2 * k + axis];\n let i = left;\n let j = right;\n swapItem(ids, coords, left, k);\n if (coords[2 * right + axis] > t) swapItem(ids, coords, left, right);\n while (i < j) {\n swapItem(ids, coords, i, j);\n i++;\n j--;\n while (coords[2 * i + axis] < t) i++;\n while (coords[2 * j + axis] > t) j--;\n }\n if (coords[2 * left + axis] === t) swapItem(ids, coords, left, j);else {\n j++;\n swapItem(ids, coords, j, right);\n }\n if (j <= k) left = j + 1;\n if (k <= j) right = j - 1;\n }\n}\n\n/**\n * @param {Uint16Array | Uint32Array} ids\n * @param {InstanceType<TypedArrayConstructor>} coords\n * @param {number} i\n * @param {number} j\n */\nfunction swapItem(ids, coords, i, j) {\n swap(ids, i, j);\n swap(coords, 2 * i, 2 * j);\n swap(coords, 2 * i + 1, 2 * j + 1);\n}\n\n/**\n * @param {InstanceType<TypedArrayConstructor>} arr\n * @param {number} i\n * @param {number} j\n */\nfunction swap(arr, i, j) {\n const tmp = arr[i];\n arr[i] = arr[j];\n arr[j] = tmp;\n}\n\n/**\n * @param {number} ax\n * @param {number} ay\n * @param {number} bx\n * @param {number} by\n */\nfunction sqDist(ax, ay, bx, by) {\n const dx = ax - bx;\n const dy = ay - by;\n return dx * dx + dy * dy;\n}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/kdbush/index.js?"); 1956 1957/***/ }), 1958
vendor: 15,398 bytes, lines 1959-1969
1959/***/ "./node_modules/supercluster/index.js": 1960/*!********************************************!*\ 1961 !*** ./node_modules/supercluster/index.js ***! 1962 \********************************************/ 1963/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { 1964 1965"use strict"; 1966eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": function() { return /* binding */ Supercluster; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_typed_array_to_reversed_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.typed-array.to-reversed.js */ \"./node_modules/core-js/modules/es.typed-array.to-reversed.js\");\n/* harmony import */ var core_js_modules_es_typed_array_to_sorted_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.typed-array.to-sorted.js */ \"./node_modules/core-js/modules/es.typed-array.to-sorted.js\");\n/* harmony import */ var core_js_modules_es_typed_array_with_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.typed-array.with.js */ \"./node_modules/core-js/modules/es.typed-array.with.js\");\n/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.array.push.js */ \"./node_modules/core-js/modules/es.array.push.js\");\n/* harmony import */ var kdbush__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! kdbush */ \"./node_modules/kdbush/index.js\");\n\n\n\n\n\nconst defaultOptions = {\n minZoom: 0,\n // min zoom to generate clusters on\n maxZoom: 16,\n // max zoom level to cluster the points on\n minPoints: 2,\n // minimum points to form a cluster\n radius: 40,\n // cluster radius in pixels\n extent: 512,\n // tile extent (radius is calculated relative to it)\n nodeSize: 64,\n // size of the KD-tree leaf node, affects performance\n log: false,\n // whether to log timing info\n\n // whether to generate numeric ids for input features (in vector tiles)\n generateId: false,\n // a reduce function for calculating custom cluster properties\n reduce: null,\n // (accumulated, props) => { accumulated.sum += props.sum; }\n\n // properties to use for individual points when running the reducer\n map: props => props // props => ({sum: props.my_value})\n};\n\nconst fround = Math.fround || (tmp => x => {\n tmp[0] = +x;\n return tmp[0];\n})(new Float32Array(1));\nconst OFFSET_ZOOM = 2;\nconst OFFSET_ID = 3;\nconst OFFSET_PARENT = 4;\nconst OFFSET_NUM = 5;\nconst OFFSET_PROP = 6;\nclass Supercluster {\n constructor(options) {\n this.options = Object.assign(Object.create(defaultOptions), options);\n this.trees = new Array(this.options.maxZoom + 1);\n this.stride = this.options.reduce ? 7 : 6;\n this.clusterProps = [];\n }\n load(points) {\n const {\n log,\n minZoom,\n maxZoom\n } = this.options;\n if (log) console.time('total time');\n const timerId = `prepare ${points.length} points`;\n if (log) console.time(timerId);\n this.points = points;\n\n // generate a cluster object for each point and index input points into a KD-tree\n const data = [];\n for (let i = 0; i < points.length; i++) {\n const p = points[i];\n if (!p.geometry) continue;\n const [lng, lat] = p.geometry.coordinates;\n const x = fround(lngX(lng));\n const y = fround(latY(lat));\n // store internal point/cluster data in flat numeric arrays for performance\n data.push(x, y,\n // projected point coordinates\n Infinity,\n // the last zoom the point was processed at\n i,\n // index of the source feature in the original input array\n -1,\n // parent cluster id\n 1 // number of points in a cluster\n );\n\n if (this.options.reduce) data.push(0); // noop\n }\n\n let tree = this.trees[maxZoom + 1] = this._createTree(data);\n if (log) console.timeEnd(timerId);\n\n // cluster points on max zoom, then cluster the results on previous zoom, etc.;\n // results in a cluster hierarchy across zoom levels\n for (let z = maxZoom; z >= minZoom; z--) {\n const now = +Date.now();\n\n // create a new set of clusters for the zoom and index them with a KD-tree\n tree = this.trees[z] = this._createTree(this._cluster(tree, z));\n if (log) console.log('z%d: %d clusters in %dms', z, tree.numItems, +Date.now() - now);\n }\n if (log) console.timeEnd('total time');\n return this;\n }\n getClusters(bbox, zoom) {\n let minLng = ((bbox[0] + 180) % 360 + 360) % 360 - 180;\n const minLat = Math.max(-90, Math.min(90, bbox[1]));\n let maxLng = bbox[2] === 180 ? 180 : ((bbox[2] + 180) % 360 + 360) % 360 - 180;\n const maxLat = Math.max(-90, Math.min(90, bbox[3]));\n if (bbox[2] - bbox[0] >= 360) {\n minLng = -180;\n maxLng = 180;\n } else if (minLng > maxLng) {\n const easternHem = this.getClusters([minLng, minLat, 180, maxLat], zoom);\n const westernHem = this.getClusters([-180, minLat, maxLng, maxLat], zoom);\n return easternHem.concat(westernHem);\n }\n const tree = this.trees[this._limitZoom(zoom)];\n const ids = tree.range(lngX(minLng), latY(maxLat), lngX(maxLng), latY(minLat));\n const data = tree.data;\n const clusters = [];\n for (const id of ids) {\n const k = this.stride * id;\n clusters.push(data[k + OFFSET_NUM] > 1 ? getClusterJSON(data, k, this.clusterProps) : this.points[data[k + OFFSET_ID]]);\n }\n return clusters;\n }\n getChildren(clusterId) {\n const originId = this._getOriginId(clusterId);\n const originZoom = this._getOriginZoom(clusterId);\n const errorMsg = 'No cluster with the specified id.';\n const tree = this.trees[originZoom];\n if (!tree) throw new Error(errorMsg);\n const data = tree.data;\n if (originId * this.stride >= data.length) throw new Error(errorMsg);\n const r = this.options.radius / (this.options.extent * Math.pow(2, originZoom - 1));\n const x = data[originId * this.stride];\n const y = data[originId * this.stride + 1];\n const ids = tree.within(x, y, r);\n const children = [];\n for (const id of ids) {\n const k = id * this.stride;\n if (data[k + OFFSET_PARENT] === clusterId) {\n children.push(data[k + OFFSET_NUM] > 1 ? getClusterJSON(data, k, this.clusterProps) : this.points[data[k + OFFSET_ID]]);\n }\n }\n if (children.length === 0) throw new Error(errorMsg);\n return children;\n }\n getLeaves(clusterId, limit, offset) {\n limit = limit || 10;\n offset = offset || 0;\n const leaves = [];\n this._appendLeaves(leaves, clusterId, limit, offset, 0);\n return leaves;\n }\n getTile(z, x, y) {\n const tree = this.trees[this._limitZoom(z)];\n const z2 = Math.pow(2, z);\n const {\n extent,\n radius\n } = this.options;\n const p = radius / extent;\n const top = (y - p) / z2;\n const bottom = (y + 1 + p) / z2;\n const tile = {\n features: []\n };\n this._addTileFeatures(tree.range((x - p) / z2, top, (x + 1 + p) / z2, bottom), tree.data, x, y, z2, tile);\n if (x === 0) {\n this._addTileFeatures(tree.range(1 - p / z2, top, 1, bottom), tree.data, z2, y, z2, tile);\n }\n if (x === z2 - 1) {\n this._addTileFeatures(tree.range(0, top, p / z2, bottom), tree.data, -1, y, z2, tile);\n }\n return tile.features.length ? tile : null;\n }\n getClusterExpansionZoom(clusterId) {\n let expansionZoom = this._getOriginZoom(clusterId) - 1;\n while (expansionZoom <= this.options.maxZoom) {\n const children = this.getChildren(clusterId);\n expansionZoom++;\n if (children.length !== 1) break;\n clusterId = children[0].properties.cluster_id;\n }\n return expansionZoom;\n }\n _appendLeaves(result, clusterId, limit, offset, skipped) {\n const children = this.getChildren(clusterId);\n for (const child of children) {\n const props = child.properties;\n if (props && props.cluster) {\n if (skipped + props.point_count <= offset) {\n // skip the whole cluster\n skipped += props.point_count;\n } else {\n // enter the cluster\n skipped = this._appendLeaves(result, props.cluster_id, limit, offset, skipped);\n // exit the cluster\n }\n } else if (skipped < offset) {\n // skip a single point\n skipped++;\n } else {\n // add a single point\n result.push(child);\n }\n if (result.length === limit) break;\n }\n return skipped;\n }\n _createTree(data) {\n const tree = new kdbush__WEBPACK_IMPORTED_MODULE_4__[\"default\"](data.length / this.stride | 0, this.options.nodeSize, Float32Array);\n for (let i = 0; i < data.length; i += this.stride) tree.add(data[i], data[i + 1]);\n tree.finish();\n tree.data = data;\n return tree;\n }\n _addTileFeatures(ids, data, x, y, z2, tile) {\n for (const i of ids) {\n const k = i * this.stride;\n const isCluster = data[k + OFFSET_NUM] > 1;\n let tags, px, py;\n if (isCluster) {\n tags = getClusterProperties(data, k, this.clusterProps);\n px = data[k];\n py = data[k + 1];\n } else {\n const p = this.points[data[k + OFFSET_ID]];\n tags = p.properties;\n const [lng, lat] = p.geometry.coordinates;\n px = lngX(lng);\n py = latY(lat);\n }\n const f = {\n type: 1,\n geometry: [[Math.round(this.options.extent * (px * z2 - x)), Math.round(this.options.extent * (py * z2 - y))]],\n tags\n };\n\n // assign id\n let id;\n if (isCluster || this.options.generateId) {\n // optionally generate id for points\n id = data[k + OFFSET_ID];\n } else {\n // keep id if already assigned\n id = this.points[data[k + OFFSET_ID]].id;\n }\n if (id !== undefined) f.id = id;\n tile.features.push(f);\n }\n }\n _limitZoom(z) {\n return Math.max(this.options.minZoom, Math.min(Math.floor(+z), this.options.maxZoom + 1));\n }\n _cluster(tree, zoom) {\n const {\n radius,\n extent,\n reduce,\n minPoints\n } = this.options;\n const r = radius / (extent * Math.pow(2, zoom));\n const data = tree.data;\n const nextData = [];\n const stride = this.stride;\n\n // loop through each point\n for (let i = 0; i < data.length; i += stride) {\n // if we've already visited the point at this zoom level, skip it\n if (data[i + OFFSET_ZOOM] <= zoom) continue;\n data[i + OFFSET_ZOOM] = zoom;\n\n // find all nearby points\n const x = data[i];\n const y = data[i + 1];\n const neighborIds = tree.within(data[i], data[i + 1], r);\n const numPointsOrigin = data[i + OFFSET_NUM];\n let numPoints = numPointsOrigin;\n\n // count the number of points in a potential cluster\n for (const neighborId of neighborIds) {\n const k = neighborId * stride;\n // filter out neighbors that are already processed\n if (data[k + OFFSET_ZOOM] > zoom) numPoints += data[k + OFFSET_NUM];\n }\n\n // if there were neighbors to merge, and there are enough points to form a cluster\n if (numPoints > numPointsOrigin && numPoints >= minPoints) {\n let wx = x * numPointsOrigin;\n let wy = y * numPointsOrigin;\n let clusterProperties;\n let clusterPropIndex = -1;\n\n // encode both zoom and point index on which the cluster originated -- offset by total length of features\n const id = ((i / stride | 0) << 5) + (zoom + 1) + this.points.length;\n for (const neighborId of neighborIds) {\n const k = neighborId * stride;\n if (data[k + OFFSET_ZOOM] <= zoom) continue;\n data[k + OFFSET_ZOOM] = zoom; // save the zoom (so it doesn't get processed twice)\n\n const numPoints2 = data[k + OFFSET_NUM];\n wx += data[k] * numPoints2; // accumulate coordinates for calculating weighted center\n wy += data[k + 1] * numPoints2;\n data[k + OFFSET_PARENT] = id;\n if (reduce) {\n if (!clusterProperties) {\n clusterProperties = this._map(data, i, true);\n clusterPropIndex = this.clusterProps.length;\n this.clusterProps.push(clusterProperties);\n }\n reduce(clusterProperties, this._map(data, k));\n }\n }\n data[i + OFFSET_PARENT] = id;\n nextData.push(wx / numPoints, wy / numPoints, Infinity, id, -1, numPoints);\n if (reduce) nextData.push(clusterPropIndex);\n } else {\n // left points as unclustered\n for (let j = 0; j < stride; j++) nextData.push(data[i + j]);\n if (numPoints > 1) {\n for (const neighborId of neighborIds) {\n const k = neighborId * stride;\n if (data[k + OFFSET_ZOOM] <= zoom) continue;\n data[k + OFFSET_ZOOM] = zoom;\n for (let j = 0; j < stride; j++) nextData.push(data[k + j]);\n }\n }\n }\n }\n return nextData;\n }\n\n // get index of the point from which the cluster originated\n _getOriginId(clusterId) {\n return clusterId - this.points.length >> 5;\n }\n\n // get zoom of the point from which the cluster originated\n _getOriginZoom(clusterId) {\n return (clusterId - this.points.length) % 32;\n }\n _map(data, i, clone) {\n if (data[i + OFFSET_NUM] > 1) {\n const props = this.clusterProps[data[i + OFFSET_PROP]];\n return clone ? Object.assign({}, props) : props;\n }\n const original = this.points[data[i + OFFSET_ID]].properties;\n const result = this.options.map(original);\n return clone && result === original ? Object.assign({}, result) : result;\n }\n}\nfunction getClusterJSON(data, i, clusterProps) {\n return {\n type: 'Feature',\n id: data[i + OFFSET_ID],\n properties: getClusterProperties(data, i, clusterProps),\n geometry: {\n type: 'Point',\n coordinates: [xLng(data[i]), yLat(data[i + 1])]\n }\n };\n}\nfunction getClusterProperties(data, i, clusterProps) {\n const count = data[i + OFFSET_NUM];\n const abbrev = count >= 10000 ? `${Math.round(count / 1000)}k` : count >= 1000 ? `${Math.round(count / 100) / 10}k` : count;\n const propIndex = data[i + OFFSET_PROP];\n const properties = propIndex === -1 ? {} : Object.assign({}, clusterProps[propIndex]);\n return Object.assign(properties, {\n cluster: true,\n cluster_id: data[i + OFFSET_ID],\n point_count: count,\n point_count_abbreviated: abbrev\n });\n}\n\n// longitude/latitude to spherical mercator in [0..1] range\nfunction lngX(lng) {\n return lng / 360 + 0.5;\n}\nfunction latY(lat) {\n const sin = Math.sin(lat * Math.PI / 180);\n const y = 0.5 - 0.25 * Math.log((1 + sin) / (1 - sin)) / Math.PI;\n return y < 0 ? 0 : y > 1 ? 1 : y;\n}\n\n// spherical mercator to longitude/latitude\nfunction xLng(x) {\n return (x - 0.5) * 360;\n}\nfunction yLat(y) {\n const y2 = (180 - y * 360) * Math.PI / 180;\n return 360 * Math.atan(Math.exp(y2)) / Math.PI - 90;\n}\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/supercluster/index.js?"); 1967 1968/***/ }), 1969
vendor: 24,317 bytes, lines 1970-1979
1970/***/ "./node_modules/vue-search-select/dist/VueSearchSelect.js": 1971/*!****************************************************************!*\ 1972 !*** ./node_modules/vue-search-select/dist/VueSearchSelect.js ***! 1973 \****************************************************************/ 1974/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { 1975 1976"use strict"; 1977eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ModelListSelect: function() { return /* binding */ q; },\n/* harmony export */ ModelSelect: function() { return /* binding */ T; },\n/* harmony export */ MultiListSelect: function() { return /* binding */ G; },\n/* harmony export */ MultiSelect: function() { return /* binding */ w; }\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm-bundler.js\");\n\nconst l = {\n // cursor on input\n openOptions(e) {\n e.$refs.input.focus(), e.showMenu = !0, e.mousedownState = !1;\n },\n blurInput(e) {\n e.mousedownState || (e.searchText = \"\", e.closeOptions()), e.$emit(\"blur\");\n },\n closeOptions(e) {\n e.$refs.input.blur(), e.showMenu = !1;\n },\n /**\n * up arrow key\n * ä¸ã®ç§»åããã¨ãã«ã¯æ°ããscrollä½ç½®ãæ¯åã»ãããã\n * Always scroll move, when \"up arrow key\" entered\n */\n prevItem(e) {\n const t = e.pointer - 1,\n n = e.$el.offsetHeight * t;\n t >= 0 && (e.pointer = t), e.$refs.menu.scrollTop = n;\n },\n /**\n *\n * down arrow key\n * ãã¼ã¸sizeãè¨ç®ãã¦ããããmove\n * calculate page size. If different between itemPage and currentPage move scroll\n */\n nextItem(e) {\n const t = e.pointer + 1,\n n = e.$el.offsetHeight * t;\n t <= e.filteredOptions.length - 1 && (e.pointer = t);\n const d = e.$refs.menu.offsetHeight,\n r = Math.ceil((e.$refs.menu.scrollTop + e.$el.offsetHeight) / d),\n s = Math.ceil(n / d);\n r !== s && (e.$refs.menu.scrollTop = (s - 1) * e.$refs.menu.offsetHeight);\n },\n // down enter key\n enterItem(e) {\n const t = e.filteredOptions[e.pointer],\n n = t.disabled;\n t && !n && e.selectItem(t);\n },\n // mouse enter event on item\n pointerSet(e, t) {\n e.pointer = t;\n },\n pointerAdjust(e) {\n e.pointer >= e.filteredOptions.length - 1 && (e.pointer = e.filteredOptions.length ? e.filteredOptions.length - 1 : 0);\n },\n mousedownItem(e) {\n e.mousedownState = !0;\n }\n};\nfunction E(e) {\n return new RegExp(e.replace(/[.*+?^${}()|[\\]\\\\]/g, \"\\\\$&\"), \"i\");\n}\nconst b = {\n props: {\n id: {\n default: null\n },\n name: {\n type: String,\n default: \"\"\n },\n isError: {\n type: Boolean,\n default: !1\n },\n customAttr: {\n type: Function,\n default: () => \"\"\n },\n isDisabled: {\n type: Boolean,\n default: !1\n },\n placeholder: {\n type: String,\n default: \"\"\n },\n filterPredicate: {\n type: Function,\n default: (e, t) => e.match(E(t))\n }\n }\n },\n V = (e, t) => {\n const n = e.__vccOpts || e;\n for (const [d, r] of t) n[d] = r;\n return n;\n },\n k = {\n name: \"ModelSelect\",\n mixins: [b],\n emits: [\"blur\", \"searchchange\", \"update:modelValue\"],\n props: {\n modelValue: {\n type: [String, Number, Object, Boolean]\n },\n customAttr: {\n type: Function,\n default: () => \"\"\n },\n options: {\n type: Array\n }\n },\n data() {\n return {\n showMenu: !1,\n searchText: \"\",\n mousedownState: !1,\n // mousedown on option menu\n pointer: -1\n };\n },\n watch: {\n value(e) {\n this.pointer = this.filteredOptions.findIndex(t => t.value === this.optionValue(e));\n },\n filteredOptions() {\n this.pointerAdjust();\n },\n searchText() {\n this.$emit(\"searchchange\", this.searchText);\n }\n },\n computed: {\n searchTextCustomAttr() {\n return this.selectedOption && this.selectedOption.value ? this.customAttr(this.selectedOption) : \"\";\n },\n inputText() {\n if (this.searchText) return \"\";\n {\n let e = this.placeholder;\n return this.selectedOption && (e = this.selectedOption.text), e;\n }\n },\n customAttrs() {\n try {\n if (Array.isArray(this.options)) return this.options.map(e => this.customAttr(e));\n } catch {}\n return [];\n },\n textClass() {\n return !this.selectedOption && this.placeholder ? \"default\" : \"\";\n },\n menuClass() {\n return {\n visible: this.showMenu,\n hidden: !this.showMenu\n };\n },\n menuStyle() {\n return {\n display: this.showMenu ? \"block\" : \"none\"\n };\n },\n filteredOptions() {\n return this.searchText ? this.options.filter(e => {\n try {\n return this.filterPredicate(e.text, this.searchText);\n } catch {\n return !0;\n }\n }) : this.options;\n },\n selectedOption() {\n return this.options.find(e => e.value === this.optionValue(this.modelValue));\n }\n },\n methods: {\n deleteTextOrItem() {\n !this.searchText && this.modelValue && (this.selectItem({}), this.openOptions());\n },\n openOptions() {\n l.openOptions(this);\n },\n blurInput() {\n l.blurInput(this);\n },\n closeOptions() {\n l.closeOptions(this);\n },\n prevItem() {\n l.prevItem(this);\n },\n nextItem() {\n l.nextItem(this);\n },\n enterItem() {\n l.enterItem(this);\n },\n pointerSet(e) {\n l.pointerSet(this, e);\n },\n pointerAdjust() {\n l.pointerAdjust(this);\n },\n mousedownItem() {\n l.mousedownItem(this);\n },\n selectItem(e) {\n this.searchText = \"\", this.closeOptions(), typeof this.modelValue == \"object\" && this.modelValue ? this.$emit(\"update:modelValue\", e) : (this.$emit(\"update:modelValue\", e.value), e.value !== void 0 && e.value === e.text && (this.searchText = e.value));\n },\n optionValue(e) {\n return typeof e == \"object\" && e !== null ? e.value : e;\n }\n }\n },\n D = /* @__PURE__ */(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"i\", {\n class: \"dropdown icon\"\n }, null, -1),\n j = [\"disabled\", \"tabindex\", \"id\", \"name\", \"value\"],\n R = [\"data-vss-custom-attr\"],\n B = [\"data-vss-custom-attr\", \"onClick\", \"onMouseenter\"];\nfunction F(e, t, n, d, r, s) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"ui fluid search selection dropdown\", {\n \"active visible\": r.showMenu,\n error: e.isError,\n disabled: e.isDisabled\n }]),\n onClick: t[11] || (t[11] = (...i) => s.openOptions && s.openOptions(...i)),\n onFocus: t[12] || (t[12] = (...i) => s.openOptions && s.openOptions(...i))\n }, [D, (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"input\", {\n class: \"search\",\n autocomplete: \"off\",\n disabled: e.isDisabled,\n tabindex: e.isDisabled ? -1 : 0,\n id: e.id,\n name: e.name,\n value: r.searchText,\n onInput: t[0] || (t[0] = i => r.searchText = i.target.value),\n ref: \"input\",\n onFocus: t[1] || (t[1] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)((...i) => s.openOptions && s.openOptions(...i), [\"prevent\"])),\n onKeyup: [t[2] || (t[2] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)((...i) => s.closeOptions && s.closeOptions(...i), [\"esc\"])), t[7] || (t[7] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)((0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)((...i) => s.enterItem && s.enterItem(...i), [\"prevent\"]), [\"enter\"]))],\n onBlur: t[3] || (t[3] = (...i) => s.blurInput && s.blurInput(...i)),\n onKeydown: [t[4] || (t[4] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)((...i) => s.prevItem && s.prevItem(...i), [\"up\"])), t[5] || (t[5] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)((...i) => s.nextItem && s.nextItem(...i), [\"down\"])), t[6] || (t[6] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)((0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)(() => {}, [\"prevent\"]), [\"enter\"])), t[8] || (t[8] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)((...i) => s.deleteTextOrItem && s.deleteTextOrItem(...i), [\"delete\"]))]\n }, null, 40, j), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"text\", s.textClass]),\n \"data-vss-custom-attr\": s.searchTextCustomAttr\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)(s.inputText), 11, R), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"menu\", s.menuClass]),\n ref: \"menu\",\n onMousedown: t[10] || (t[10] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)(() => {}, [\"prevent\"])),\n style: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeStyle)(s.menuStyle),\n tabindex: \"-1\"\n }, [((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(!0), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)(s.filteredOptions, (i, o) => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n key: o,\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"item\", {\n selected: i.selected || r.pointer === o,\n disabled: i.disabled\n }]),\n \"data-vss-custom-attr\": s.customAttrs[o] ? s.customAttrs[o] : \"\",\n onClick: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)(h => s.selectItem(i), [\"stop\"]),\n onMousedown: t[9] || (t[9] = (...h) => s.mousedownItem && s.mousedownItem(...h)),\n onMouseenter: h => s.pointerSet(o)\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(e.$slots, \"default\", {\n option: i,\n idx: o\n }, () => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)(i.text), 1)])], 42, B))), 128))], 38)], 34);\n}\nconst T = /* @__PURE__ */V(k, [[\"render\", F]]),\n q = {\n name: \"ModelListSelect\",\n mixins: [b],\n emits: [\"blur\", \"searchchange\", \"update:modelValue\"],\n render: function () {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.h)(T, {\n id: this.id,\n name: this.name,\n options: this.options,\n modelValue: this.innerValue,\n isError: this.isError,\n isDisabled: this.isDisabled,\n placeholder: this.placeholder,\n filterPredicate: this.filterPredicate,\n onBlur: () => this.$emit(\"blur\"),\n \"onUpdate:modelValue\": this.onInput,\n onSearchchange: e => this.$emit(\"searchchange\", e)\n });\n },\n props: {\n modelValue: {\n type: [String, Number, Object, Boolean]\n },\n list: {\n type: Array\n },\n optionValue: {\n type: String\n },\n optionText: {\n type: String\n },\n customText: {\n type: Function\n },\n optionDisabled: {\n type: String\n }\n },\n computed: {\n options() {\n return this.list.map(e => ({\n value: e[this.optionValue],\n text: this.buildText(e),\n disabled: !!e[this.optionDisabled]\n }));\n },\n innerValue() {\n return this.modelValue ? typeof this.modelValue == \"object\" ? this.modelValue ? {\n value: this.modelValue[this.optionValue],\n text: this.buildText(this.modelValue),\n disabled: !!this.modelValue[this.optionDisabled]\n } : {\n value: \"\",\n text: \"\",\n disabled: !1\n } : this.modelValue : this.modelValue;\n }\n },\n methods: {\n buildText(e) {\n return e[this.optionValue] !== void 0 ? this.customText ? this.customText(e) : e[this.optionText] : \"\";\n },\n onInput(e) {\n if (e === void 0) return this.$emit(\"update:modelValue\", \"\");\n if (Object.keys(e).length === 0 && e.constructor === Object) this.$emit(\"update:modelValue\", e);else if (typeof e == \"object\") {\n const t = this.list.find(n => n[this.optionValue] === e.value);\n this.$emit(\"update:modelValue\", t);\n } else this.$emit(\"update:modelValue\", e);\n }\n },\n components: {\n ModelSelect: T\n }\n },\n P = {\n name: \"MultiSelect\",\n mixins: [b],\n emits: [\"blur\", \"searchchange\", \"select\"],\n props: {\n customAttr: {\n type: Function,\n default: () => \"\"\n },\n options: {\n type: Array\n },\n selectedOptions: {\n type: Array\n },\n cleanSearch: {\n type: Boolean,\n default: !0\n },\n hideSelectedOptions: {\n type: Boolean,\n default: !1\n }\n },\n data() {\n return {\n showMenu: !1,\n searchText: \"\",\n mousedownState: !1,\n // mousedown on option menu\n pointer: -1\n };\n },\n watch: {\n selectedOptions() {\n this.pointer = -1;\n },\n filteredOptions() {\n this.pointerAdjust();\n },\n searchText() {\n this.$emit(\"searchchange\", this.searchText);\n }\n },\n computed: {\n inputText() {\n return this.searchText ? \"\" : this.placeholder;\n },\n textClass() {\n return this.placeholder ? \"default\" : \"\";\n },\n inputWidth() {\n return {\n width: (this.searchText.length + 1) * 8 + 20 + \"px\"\n };\n },\n menuClass() {\n return {\n visible: this.showMenu,\n hidden: !this.showMenu\n };\n },\n menuStyle() {\n return {\n display: this.showMenu ? \"block\" : \"none\"\n };\n },\n nonSelectOptions() {\n return this.options.filter(e => this.selectedOptions.findIndex(t => t.value === e.value) === -1);\n },\n filteredOptions() {\n return this.searchText ? this.nonSelectOptions.filter(e => {\n try {\n return this.cleanSearch ? this.filterPredicate(this.accentsTidy(e.text), this.searchText) : this.filterPredicate(e.text, this.searchText);\n } catch {\n return !0;\n }\n }) : this.nonSelectOptions;\n }\n },\n methods: {\n deleteTextOrLastItem() {\n !this.searchText && this.selectedOptions.length > 0 && this.deleteItem(this.selectedOptions[this.selectedOptions.length - 1]);\n },\n openOptions() {\n l.openOptions(this);\n },\n blurInput() {\n l.blurInput(this);\n },\n closeOptions() {\n l.closeOptions(this);\n },\n prevItem() {\n l.prevItem(this), this.openOptions();\n },\n nextItem() {\n l.nextItem(this), this.openOptions();\n },\n enterItem() {\n l.enterItem(this);\n },\n pointerSet(e) {\n l.pointerSet(this, e);\n },\n pointerAdjust() {\n l.pointerAdjust(this);\n },\n mousedownItem() {\n l.mousedownItem(this);\n },\n selectItem(e) {\n const t = this.selectedOptions.concat(e),\n n = t.filter((d, r) => t.indexOf(d) === r);\n this.closeOptions(), this.searchText = \"\", this.$emit(\"select\", n, e, \"insert\");\n },\n deleteItem(e) {\n const t = this.selectedOptions.filter(n => n.value !== e.value);\n this.$emit(\"select\", t, e, \"delete\");\n },\n accentsTidy(e) {\n let t = e.toString().toLowerCase();\n return t = t.replace(new RegExp(\"[à áâãäå]\", \"g\"), \"a\"), t = t.replace(new RegExp(\"æ\", \"g\"), \"ae\"), t = t.replace(new RegExp(\"ç\", \"g\"), \"c\"), t = t.replace(new RegExp(\"[èéêë]\", \"g\"), \"e\"), t = t.replace(new RegExp(\"[ìÃîï]\", \"g\"), \"i\"), t = t.replace(new RegExp(\"ñ\", \"g\"), \"n\"), t = t.replace(new RegExp(\"[òóôõö]\", \"g\"), \"o\"), t = t.replace(new RegExp(\"Å\", \"g\"), \"oe\"), t = t.replace(new RegExp(\"[ùúûü]\", \"g\"), \"u\"), t = t.replace(new RegExp(\"[ýÿ]\", \"g\"), \"y\"), t;\n }\n }\n },\n L = /* @__PURE__ */(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"i\", {\n class: \"dropdown icon\"\n }, null, -1),\n H = [\"data-vss-custom-attr\"],\n K = [\"onClick\"],\n N = [\"disabled\", \"tabindex\", \"id\", \"name\"],\n z = [\"data-vss-custom-attr\", \"onClick\", \"onMouseenter\"];\nfunction U(e, t, n, d, r, s) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"ui fluid search dropdown selection multiple\", {\n \"active visible\": r.showMenu,\n error: e.isError,\n disabled: e.isDisabled\n }]),\n onClick: t[11] || (t[11] = (...i) => s.openOptions && s.openOptions(...i)),\n onFocus: t[12] || (t[12] = (...i) => s.openOptions && s.openOptions(...i))\n }, [L, n.hideSelectedOptions ? (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"\", !0) : ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(!0), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n key: 0\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)(n.selectedOptions, (i, o) => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"a\", {\n key: o,\n class: \"ui label transition visible\",\n style: {\n display: \"inline-block !important\"\n },\n \"data-vss-custom-attr\": n.customAttr(i)\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(e.$slots, \"selected\", {\n option: i,\n idx: o\n }, () => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)(i.text), 1), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"i\", {\n class: \"delete icon\",\n onClick: h => s.deleteItem(i)\n }, null, 8, K)])], 8, H))), 128)), (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"input\", {\n class: \"search\",\n autocomplete: \"off\",\n disabled: e.isDisabled,\n tabindex: e.isDisabled ? -1 : 0,\n id: e.id,\n name: e.name,\n \"onUpdate:modelValue\": t[0] || (t[0] = i => r.searchText = i),\n ref: \"input\",\n style: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeStyle)(s.inputWidth),\n onFocus: t[1] || (t[1] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)((...i) => s.openOptions && s.openOptions(...i), [\"prevent\"])),\n onKeyup: [t[2] || (t[2] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)((...i) => s.closeOptions && s.closeOptions(...i), [\"esc\"])), t[7] || (t[7] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)((0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)((...i) => s.enterItem && s.enterItem(...i), [\"prevent\"]), [\"enter\"]))],\n onBlur: t[3] || (t[3] = (...i) => s.blurInput && s.blurInput(...i)),\n onKeydown: [t[4] || (t[4] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)((...i) => s.prevItem && s.prevItem(...i), [\"up\"])), t[5] || (t[5] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)((...i) => s.nextItem && s.nextItem(...i), [\"down\"])), t[6] || (t[6] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)((0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)(() => {}, [\"prevent\"]), [\"enter\"])), t[8] || (t[8] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withKeys)((...i) => s.deleteTextOrLastItem && s.deleteTextOrLastItem(...i), [\"delete\"]))]\n }, null, 44, N), [[vue__WEBPACK_IMPORTED_MODULE_0__.vModelText, r.searchText]]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"text\", s.textClass])\n }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)(s.inputText), 3), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"menu\", s.menuClass]),\n ref: \"menu\",\n onMousedown: t[10] || (t[10] = (0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)(() => {}, [\"prevent\"])),\n style: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeStyle)(s.menuStyle),\n tabindex: \"-1\"\n }, [((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(!0), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)(s.filteredOptions, (i, o) => ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", {\n key: o,\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)([\"item\", {\n selected: i.selected || r.pointer === o,\n disabled: i.disabled\n }]),\n \"data-vss-custom-attr\": n.customAttr(i),\n onClick: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withModifiers)(h => s.selectItem(i), [\"stop\"]),\n onMousedown: t[9] || (t[9] = (...h) => s.mousedownItem && s.mousedownItem(...h)),\n onMouseenter: h => s.pointerSet(o)\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(e.$slots, \"default\", {\n option: i,\n idx: o\n }, () => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)(i.text), 1)])], 42, z))), 128))], 38)], 34);\n}\nconst w = /* @__PURE__ */V(P, [[\"render\", U]]),\n G = {\n name: \"MultiListSelect\",\n mixins: [b],\n emits: [\"blur\", \"searchchange\", \"select\"],\n render: function () {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.h)(w, {\n id: this.id,\n name: this.name,\n options: this.options,\n selectedOptions: this.items,\n isError: this.isError,\n isDisabled: this.isDisabled,\n placeholder: this.placeholder,\n filterPredicate: this.filterPredicate,\n onSelect: this.onSelect,\n onSearchchange: e => this.$emit(\"searchchange\", e)\n });\n },\n props: {\n list: {\n type: Array\n },\n optionValue: {\n type: String\n },\n optionText: {\n type: String\n },\n customText: {\n type: Function\n },\n selectedItems: {\n type: Array\n },\n optionDisabled: {\n type: String\n }\n },\n computed: {\n options() {\n return this.list.map(e => ({\n value: e[this.optionValue],\n text: this.buildText(e),\n disabled: !!e[this.optionDisabled]\n }));\n },\n items() {\n return this.selectedItems.map(e => ({\n value: e[this.optionValue],\n text: this.buildText(e),\n disabled: !!e[this.optionDisabled]\n }));\n }\n },\n methods: {\n buildText(e) {\n return e[this.optionValue] !== void 0 ? this.customText ? this.customText(e) : e[this.optionText] : \"\";\n },\n onSelect(e, t) {\n if (Object.keys(t).length === 0 && t.constructor === Object) this.$emit(\"select\", e, t);else {\n const n = this.list.filter((r, s) => e.find((i, o) => r[this.optionValue] === i.value)),\n d = this.list.find(r => r[this.optionValue] === t.value);\n this.$emit(\"select\", n, d);\n }\n }\n },\n components: {\n MultiSelect: w\n }\n };\n\n\n//# sourceURL=webpack://vue-leaflet-app/./node_modules/vue-search-select/dist/VueSearchSelect.js?"); 1978 1979/***/ })
vendor: 6 bytes, lines 1979-1981
1979 1980 1981}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.