diff --git a/dist/vue-mapbox.common.js b/dist/vue-mapbox.common.js index e9c199aa..13b42c3c 100644 --- a/dist/vue-mapbox.common.js +++ b/dist/vue-mapbox.common.js @@ -1517,6 +1517,11 @@ module.exports = /******/ (function(modules) { /***/ }, + /***/ "66e4": /***/ function(module, exports, __webpack_require__) { + // extracted by mini-css-extract-plugin + /***/ + }, + /***/ "6762": /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -2166,20 +2171,6 @@ module.exports = /******/ (function(modules) { /***/ }, - /***/ "8615": /***/ function(module, exports, __webpack_require__) { - // https://github.com/tc39/proposal-object-values-entries - var $export = __webpack_require__("5ca1"); - var $values = __webpack_require__("504c")(false); - - $export($export.S, "Object", { - values: function values(it) { - return $values(it); - } - }); - - /***/ - }, - /***/ "86cc": /***/ function(module, exports, __webpack_require__) { var anObject = __webpack_require__("cb7c"); var IE8_DOM_DEFINE = __webpack_require__("c69a"); @@ -2856,6 +2847,25 @@ module.exports = /******/ (function(modules) { /***/ }, + /***/ e743: /***/ function( + module, + __webpack_exports__, + __webpack_require__ + ) { + "use strict"; + /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_GlMap_vue_vue_type_style_index_0_id_54c577ae_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( + "66e4" + ); + /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_GlMap_vue_vue_type_style_index_0_id_54c577ae_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/ __webpack_require__.n( + _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_GlMap_vue_vue_type_style_index_0_id_54c577ae_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ + ); + /* unused harmony reexport * */ + /* unused harmony default export */ var _unused_webpack_default_export = + _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_GlMap_vue_vue_type_style_index_0_id_54c577ae_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a; + + /***/ + }, + /***/ ebd6: /***/ function(module, exports, __webpack_require__) { // 7.3.20 SpeciesConstructor(O, defaultConstructor) var anObject = __webpack_require__("cb7c"); @@ -2919,19 +2929,7 @@ module.exports = /******/ (function(modules) { // Indicate to webpack that this file can be concatenated /* harmony default export */ var setPublicPath = null; - // EXTERNAL MODULE: ./node_modules/core-js/modules/es7.object.values.js - var es7_object_values = __webpack_require__("8615"); - - // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.iterator.js - var es6_array_iterator = __webpack_require__("cadf"); - - // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js - var es6_object_keys = __webpack_require__("456d"); - - // EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js - var web_dom_iterable = __webpack_require__("ac6a"); - - // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"752d9a0d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/map/GlMap.vue?vue&type=template&id=3e0acdb8& + // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"752d9a0d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/map/GlMap.vue?vue&type=template&id=54c577ae&scoped=true& var render = function() { var _vm = this; var _h = _vm.$createElement; @@ -2939,7 +2937,7 @@ module.exports = /******/ (function(modules) { return _c( "div", { staticClass: "mgl-map-wrapper" }, - [_vm._m(0), _vm._t("default")], + [_vm._m(0), _vm.initialized ? _vm._t("default") : _vm._e()], 2 ); }; @@ -2952,7 +2950,16 @@ module.exports = /******/ (function(modules) { } ]; - // CONCATENATED MODULE: ./src/components/map/GlMap.vue?vue&type=template&id=3e0acdb8& + // CONCATENATED MODULE: ./src/components/map/GlMap.vue?vue&type=template&id=54c577ae&scoped=true& + + // EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js + var web_dom_iterable = __webpack_require__("ac6a"); + + // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.iterator.js + var es6_array_iterator = __webpack_require__("cadf"); + + // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js + var es6_object_keys = __webpack_require__("456d"); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js function _defineProperty(obj, key, value) { @@ -3188,6 +3195,10 @@ module.exports = /******/ (function(modules) { return "map-".concat(("" + Math.random()).split(".")[1]); } }, + mapbox: { + type: Object, + required: true + }, accessToken: { type: String, default: undefined @@ -3607,11 +3618,21 @@ module.exports = /******/ (function(modules) { withEvents ], props: options, + provide: function provide() { + var self = this; + return { + mapbox: this.mapbox, + + get map() { + return self.map; + } + }; + }, data: function data() { return { initial: true, baseMap: true, - mapLoaded: false + initialized: false }; }, computed: { @@ -3670,7 +3691,7 @@ module.exports = /******/ (function(modules) { _this.$_bindPropsUpdateEvents(); _this.initial = false; - _this.mapLoaded = true; + _this.initialized = true; _this.$emit("load", { map: map, @@ -3684,6 +3705,11 @@ module.exports = /******/ (function(modules) { }; // CONCATENATED MODULE: ./src/components/map/GlMap.vue?vue&type=script&lang=js& /* harmony default export */ var map_GlMapvue_type_script_lang_js_ = GlMapvue_type_script_lang_js_; + // EXTERNAL MODULE: ./src/components/map/GlMap.vue?vue&type=style&index=0&id=54c577ae&scoped=true&lang=css& + var GlMapvue_type_style_index_0_id_54c577ae_scoped_true_lang_css_ = __webpack_require__( + "e743" + ); + // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js /* globals __VUE_SSR_CONTEXT__ */ @@ -3795,56 +3821,12 @@ module.exports = /******/ (function(modules) { staticRenderFns, false, null, - null, + "54c577ae", null ); component.options.__file = "GlMap.vue"; /* harmony default export */ var GlMap = component.exports; - // CONCATENATED MODULE: ./src/lib/withRegistration.js - function walkParents(component) { - if (component.baseMap) { - return component; - } else { - if (component.$parent !== undefined) { - return walkParents(component.$parent); - } - } - } - - /* harmony default export */ var withRegistration = { - created: function created() { - this.map = null; - }, - mounted: function mounted() { - this.$_checkMapTree(); // We wait for "load" event from map component to ensure mapbox is loaded and map created - }, - methods: { - $_findBaseMap: function $_findBaseMap() { - var baseMapComponent = walkParents(this.$parent); - - if (baseMapComponent === undefined) { - throw new Error("Component must have root map"); - } - - return baseMapComponent; - }, - $_checkMapTree: function $_checkMapTree() { - var mapComponent = this.$_findBaseMap(); - - if (mapComponent) { - if (mapComponent.mapLoaded) { - this.$_deferredMount({ - component: mapComponent, - map: mapComponent.map - }); - } else { - mapComponent.$on("load", this.$_deferredMount); - } - } - } - } - }; // CONCATENATED MODULE: ./src/components/UI/withSelfEvents.js /* harmony default export */ var withSelfEvents = { @@ -3874,20 +3856,26 @@ module.exports = /******/ (function(modules) { } }; // CONCATENATED MODULE: ./src/components/UI/controls/controlMixin.js + // import withRegistration from "../../../lib/withRegistration"; /* harmony default export */ var controlMixin = { - mixins: [withRegistration, withEvents, withSelfEvents], + mixins: [withEvents, withSelfEvents], + inject: ["mapbox", "map"], + props: { + position: { + type: String, + default: "top-right" + } + }, beforeDestroy: function beforeDestroy() { - if (this.map !== undefined) { + if (this.map) { this.map.removeControl(this.control); } }, methods: { - $_addControl: function $_addControl(payload) { - this.map = payload.map; - + $_addControl: function $_addControl() { try { - this.map.addControl(this.control); + this.map.addControl(this.control, this.position); } catch (err) { this.$_emitEvent("error", { error: err @@ -3898,7 +3886,6 @@ module.exports = /******/ (function(modules) { this.$_emitEvent("added", { control: this.control }); - payload.component.$off("load", this.$_deferredMount); } }, render: function render() {} @@ -3909,23 +3896,18 @@ module.exports = /******/ (function(modules) { name: "NavigationControl", mixins: [controlMixin], props: { - position: { - type: String, - default: "top-right" // TODO: add validator + showCompass: { + type: Boolean, + default: true + }, + showZoom: { + type: Boolean, + default: true } }, - data: function data() { - return { - control: undefined - }; - }, created: function created() { - this.control = new this.mapbox.NavigationControl(); - }, - methods: { - $_deferredMount: function $_deferredMount(payload) { - this.$_addControl(payload); - } + this.control = new this.mapbox.NavigationControl(this.$props); + this.$_addControl(); } }; // CONCATENATED MODULE: ./src/components/UI/controls/GeolocateControl.js @@ -3949,14 +3931,6 @@ module.exports = /******/ (function(modules) { }; } }, - trackUserLocation: { - type: Boolean, - default: false - }, - showUserLocation: { - type: Boolean, - default: true - }, fitBoundsOptions: { type: Object, default: function _default() { @@ -3964,21 +3938,22 @@ module.exports = /******/ (function(modules) { maxZoom: 15 }; } + }, + trackUserLocation: { + type: Boolean, + default: false + }, + showUserLocation: { + type: Boolean, + default: true } }, - data: function data() { - return { - control: undefined - }; - }, created: function created() { - this.control = new this.mapbox.GeolocateControl(this._props); + this.control = new this.mapbox.GeolocateControl(this.$props); + this.$_addControl(); + this.$_bindSelfEvents(Object.keys(geolocationEvents), this.control); }, methods: { - $_deferredMount: function $_deferredMount(payload) { - this.$_addControl(payload); - this.$_bindSelfEvents(Object.keys(geolocationEvents), this.control); - }, $_emitSelfEvent: function $_emitSelfEvent(event) { if (event.type === "error") { this.$_emitMapEvent("geolocate-error", { @@ -4005,23 +3980,14 @@ module.exports = /******/ (function(modules) { name: "FullscreenControl", mixins: [controlMixin], props: { - position: { - type: String, - default: "top-right" + container: { + type: HTMLElement, + default: undefined } }, - data: function data() { - return { - control: undefined - }; - }, created: function created() { - this.control = new this.mapbox.FullscreenControl(); - }, - methods: { - $_deferredMount: function $_deferredMount(payload) { - this.$_addControl(payload); - } + this.control = new this.mapbox.FullscreenControl(this.$props); + this.$_addControl(); } }; // CONCATENATED MODULE: ./src/components/UI/controls/AttributionControl.js @@ -4039,20 +4005,9 @@ module.exports = /******/ (function(modules) { deafault: undefined } }, - data: function data() { - return { - control: undefined - }; - }, created: function created() { - this.control = new this.mapbox.AttributionControl({ - compact: this.compact - }); - }, - methods: { - $_deferredMount: function $_deferredMount(payload) { - this.$_addControl(payload); - } + this.control = new this.mapbox.AttributionControl(this.$props); + this.$_addControl(); } }; // CONCATENATED MODULE: ./src/components/UI/controls/ScaleControl.js @@ -4073,11 +4028,6 @@ module.exports = /******/ (function(modules) { } } }, - data: function data() { - return { - control: undefined - }; - }, watch: { unit: function unit(next, prev) { if (this.control && next !== prev) { @@ -4086,16 +4036,12 @@ module.exports = /******/ (function(modules) { } }, created: function created() { - this.control = new this.mapbox.ScaleControl(this._props); - }, - methods: { - $_deferredMount: function $_deferredMount(payload) { - this.$_addControl(payload); - } + this.control = new this.mapbox.ScaleControl(this.$props); + this.$_addControl(); } }; - // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"752d9a0d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/UI/Marker.vue?vue&type=template&id=57267865& - var Markervue_type_template_id_57267865_render = function() { + // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"752d9a0d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/UI/Marker.vue?vue&type=template&id=219782b8& + var Markervue_type_template_id_219782b8_render = function() { var _vm = this; var _h = _vm.$createElement; var _c = _vm._self._c || _h; @@ -4106,9 +4052,9 @@ module.exports = /******/ (function(modules) { 2 ); }; - var Markervue_type_template_id_57267865_staticRenderFns = []; + var Markervue_type_template_id_219782b8_staticRenderFns = []; - // CONCATENATED MODULE: ./src/components/UI/Marker.vue?vue&type=template&id=57267865& + // CONCATENATED MODULE: ./src/components/UI/Marker.vue?vue&type=template&id=219782b8& // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/UI/Marker.vue?vue&type=script&lang=js& @@ -4129,7 +4075,8 @@ module.exports = /******/ (function(modules) { }; /* harmony default export */ var Markervue_type_script_lang_js_ = { name: "MapMarker", - mixins: [withRegistration, withEvents, withSelfEvents], + mixins: [withEvents, withSelfEvents], + inject: ["mapbox", "map"], props: { // mapbox marker options offset: { @@ -4170,53 +4117,45 @@ module.exports = /******/ (function(modules) { this.marker.setDraggable(next); } }, - mounted: function mounted() { - this.$_checkMapTree(); - }, - beforeDestroy: function beforeDestroy() { - if (this.map !== undefined && this.marker !== undefined) { - this.marker.remove(); - } - }, - methods: { - $_deferredMount: function $_deferredMount(payload) { - var _this = this; - - if (!this.marker) { - var markerOptions = _objectSpread({}, this._props); + created: function created() { + var _this = this; - if (this.$slots.marker) { - markerOptions.element = this.$slots.marker[0].elm; - } + var markerOptions = _objectSpread({}, this.$props); - this.marker = new this.mapbox.Marker(markerOptions); - } + if (this.$slots.marker) { + markerOptions.element = this.$slots.marker[0].elm; + } - this.map = payload.map; - this.$_addMarker(); + this.marker = new this.mapbox.Marker(markerOptions); + this.$_addMarker(); - if (this.$listeners["update:coordinates"]) { - this.marker.on("dragend", function(event) { - var newCoordinates; + if (this.$listeners["update:coordinates"]) { + this.marker.on("dragend", function(event) { + var newCoordinates; - if (_this.coordinates instanceof Array) { - newCoordinates = [ - event.target._lngLat.lng, - event.target._lngLat.lat - ]; - } else { - newCoordinates = event.target._lngLat; - } + if (_this.coordinates instanceof Array) { + newCoordinates = [ + event.target._lngLat.lng, + event.target._lngLat.lat + ]; + } else { + newCoordinates = event.target._lngLat; + } - _this.$emit("update:coordinates", newCoordinates); - }); - } + _this.$emit("update:coordinates", newCoordinates); + }); + } - var eventNames = Object.keys(markerEvents); - this.$_bindSelfEvents(eventNames, this.marker); - this.initial = false; - payload.component.$off("load", this.$_deferredMount); - }, + var eventNames = Object.keys(markerEvents); + this.$_bindSelfEvents(eventNames, this.marker); + this.initial = false; + }, + beforeDestroy: function beforeDestroy() { + if (this.map !== undefined && this.marker !== undefined) { + this.marker.remove(); + } + }, + methods: { $_addMarker: function $_addMarker() { this.marker.setLngLat(this.coordinates).addTo(this.map); this.$_emitEvent("added", { @@ -4247,8 +4186,8 @@ module.exports = /******/ (function(modules) { var Marker_component = normalizeComponent( UI_Markervue_type_script_lang_js_, - Markervue_type_template_id_57267865_render, - Markervue_type_template_id_57267865_staticRenderFns, + Markervue_type_template_id_219782b8_render, + Markervue_type_template_id_219782b8_staticRenderFns, false, null, null, @@ -4257,8 +4196,8 @@ module.exports = /******/ (function(modules) { Marker_component.options.__file = "Marker.vue"; /* harmony default export */ var Marker = Marker_component.exports; - // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"752d9a0d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/UI/Popup.vue?vue&type=template&id=3210c140& - var Popupvue_type_template_id_3210c140_render = function() { + // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"752d9a0d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/UI/Popup.vue?vue&type=template&id=24cace89& + var Popupvue_type_template_id_24cace89_render = function() { var _vm = this; var _h = _vm.$createElement; var _c = _vm._self._c || _h; @@ -4269,9 +4208,9 @@ module.exports = /******/ (function(modules) { 2 ); }; - var Popupvue_type_template_id_3210c140_staticRenderFns = []; + var Popupvue_type_template_id_24cace89_staticRenderFns = []; - // CONCATENATED MODULE: ./src/components/UI/Popup.vue?vue&type=template&id=3210c140& + // CONCATENATED MODULE: ./src/components/UI/Popup.vue?vue&type=template&id=24cace89& // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/UI/Popup.vue?vue&type=script&lang=js& @@ -4294,7 +4233,8 @@ module.exports = /******/ (function(modules) { /* harmony default export */ var Popupvue_type_script_lang_js_ = { name: "Popup", - mixins: [withRegistration, withEvents, withSelfEvents], + mixins: [withEvents, withSelfEvents], + inject: ["mapbox", "map"], props: { /** * If `true`, a close button will appear in the top right corner of the popup. @@ -4382,8 +4322,12 @@ module.exports = /******/ (function(modules) { return false; } }, + created: function created() { + this.popup = new this.mapbox.Popup(this.$props); + }, mounted: function mounted() { - this.$_checkMapTree(); + this.$_addPopup(); + this.initial = false; }, beforeDestroy: function beforeDestroy() { if (this.map) { @@ -4398,16 +4342,10 @@ module.exports = /******/ (function(modules) { } }, methods: { - $_deferredMount: function $_deferredMount(payload) { - this.map = payload.map; - this.$_addPopup(); - this.initial = false; - payload.component.$off("load", this.$_deferredMount); - }, $_addPopup: function $_addPopup() { var _this = this; - this.popup = new this.mapbox.Popup(_objectSpread({}, this._props)); + this.popup = new this.mapbox.Popup(this.$props); if (this.coordinates !== undefined) this.popup.setLngLat(this.coordinates); @@ -4461,8 +4399,8 @@ module.exports = /******/ (function(modules) { var Popup_component = normalizeComponent( UI_Popupvue_type_script_lang_js_, - Popupvue_type_template_id_3210c140_render, - Popupvue_type_template_id_3210c140_staticRenderFns, + Popupvue_type_template_id_24cace89_render, + Popupvue_type_template_id_24cace89_staticRenderFns, false, null, null, @@ -4490,6 +4428,50 @@ module.exports = /******/ (function(modules) { "touchend", "touchcancel" ]; + // CONCATENATED MODULE: ./src/lib/withRegistration.js + function walkParents(component) { + if (component.baseMap) { + return component; + } else { + if (component.$parent !== undefined) { + return walkParents(component.$parent); + } + } + } + + /* harmony default export */ var withRegistration = { + created: function created() { + this.map = null; + }, + mounted: function mounted() { + this.$_checkMapTree(); // We wait for "load" event from map component to ensure mapbox is loaded and map created + }, + methods: { + $_findBaseMap: function $_findBaseMap() { + var baseMapComponent = walkParents(this.$parent); + + if (baseMapComponent === undefined) { + throw new Error("Component must have root map"); + } + + return baseMapComponent; + }, + $_checkMapTree: function $_checkMapTree() { + var mapComponent = this.$_findBaseMap(); + + if (mapComponent) { + if (mapComponent.mapLoaded) { + this.$_deferredMount({ + component: mapComponent, + map: mapComponent.map + }); + } else { + mapComponent.$on("load", this.$_deferredMount); + } + } + } + } + }; // CONCATENATED MODULE: ./src/components/layer/layerMixin.js var mapboxSourceProps = { @@ -5471,40 +5453,32 @@ module.exports = /******/ (function(modules) { var MglVectorLayer = VectorLayer; var MglRasterLayer = RasterLayer; var MglMarker = Marker; - var MglPopup = Popup; - var main_plugin = { - /** - * Create Vue-mapbox plugin for Vue - * - * @param {Object} Vue - * @param {Object} options: mapboxgl: MapboxGl JS instances - * @returns - */ - install: function install(Vue) { - var options = - arguments.length > 1 && arguments[1] !== undefined - ? arguments[1] - : {}; - var _data = { - mapbox: options.mapboxgl - }; - - if (options.plugins && options.plugins.length) { - options.plugins.forEach(function(plugin) { - var key = Object.keys(plugin)[0]; - var value = Object.values(plugin)[0]; - _data[key] = value; - }); - } - - Vue.mixin({ - data: function data() { - return _data; - } - }); - } - }; - /* harmony default export */ var main = main_plugin; + var MglPopup = Popup; // export const plugin = { + // /** + // * Create Vue-mapbox plugin for Vue + // * + // * @param {Object} Vue + // * @param {Object} options: mapboxgl: MapboxGl JS instances + // * @returns + // */ + // install(Vue, options = {}) { + // const data = { mapbox: options.mapboxgl }; + // if (options.plugins && options.plugins.length) { + // options.plugins.forEach(plugin => { + // const key = Object.keys(plugin)[0]; + // const value = Object.values(plugin)[0]; + // data[key] = value; + // }); + // } + // Vue.mixin({ + // data() { + // return data; + // } + // }); + // } + // }; + + /* harmony default export */ var main = GlMap; // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js /* concated harmony reexport mglRegistrationMixin */ __webpack_require__.d( __webpack_exports__, @@ -5618,13 +5592,6 @@ module.exports = /******/ (function(modules) { return MglPopup; } ); - /* concated harmony reexport plugin */ __webpack_require__.d( - __webpack_exports__, - "plugin", - function() { - return main_plugin; - } - ); /* harmony default export */ var entry_lib = (__webpack_exports__[ "default" diff --git a/dist/vue-mapbox.css b/dist/vue-mapbox.css new file mode 100644 index 00000000..3901d49a --- /dev/null +++ b/dist/vue-mapbox.css @@ -0,0 +1,11 @@ +.mgl-map-wrapper[data-v-54c577ae] { + position: relative; + width: 100%; + height: 100%; +} +.mapboxgl-map[data-v-54c577ae] { + height: 100%; + width: 100%; + overflow: hidden; + position: absolute; +} diff --git a/dist/vue-mapbox.umd.js b/dist/vue-mapbox.umd.js index 3891a878..be3000d1 100644 --- a/dist/vue-mapbox.umd.js +++ b/dist/vue-mapbox.umd.js @@ -1541,6 +1541,11 @@ /***/ }, + /***/ "66e4": /***/ function(module, exports, __webpack_require__) { + // extracted by mini-css-extract-plugin + /***/ + }, + /***/ "6762": /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -2193,20 +2198,6 @@ /***/ }, - /***/ "8615": /***/ function(module, exports, __webpack_require__) { - // https://github.com/tc39/proposal-object-values-entries - var $export = __webpack_require__("5ca1"); - var $values = __webpack_require__("504c")(false); - - $export($export.S, "Object", { - values: function values(it) { - return $values(it); - } - }); - - /***/ - }, - /***/ "86cc": /***/ function(module, exports, __webpack_require__) { var anObject = __webpack_require__("cb7c"); var IE8_DOM_DEFINE = __webpack_require__("c69a"); @@ -2887,6 +2878,25 @@ /***/ }, + /***/ e743: /***/ function( + module, + __webpack_exports__, + __webpack_require__ + ) { + "use strict"; + /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_GlMap_vue_vue_type_style_index_0_id_54c577ae_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( + "66e4" + ); + /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_GlMap_vue_vue_type_style_index_0_id_54c577ae_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/ __webpack_require__.n( + _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_GlMap_vue_vue_type_style_index_0_id_54c577ae_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ + ); + /* unused harmony reexport * */ + /* unused harmony default export */ var _unused_webpack_default_export = + _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_GlMap_vue_vue_type_style_index_0_id_54c577ae_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a; + + /***/ + }, + /***/ ebd6: /***/ function(module, exports, __webpack_require__) { // 7.3.20 SpeciesConstructor(O, defaultConstructor) var anObject = __webpack_require__("cb7c"); @@ -2950,19 +2960,7 @@ // Indicate to webpack that this file can be concatenated /* harmony default export */ var setPublicPath = null; - // EXTERNAL MODULE: ./node_modules/core-js/modules/es7.object.values.js - var es7_object_values = __webpack_require__("8615"); - - // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.iterator.js - var es6_array_iterator = __webpack_require__("cadf"); - - // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js - var es6_object_keys = __webpack_require__("456d"); - - // EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js - var web_dom_iterable = __webpack_require__("ac6a"); - - // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"752d9a0d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/map/GlMap.vue?vue&type=template&id=3e0acdb8& + // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"752d9a0d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/map/GlMap.vue?vue&type=template&id=54c577ae&scoped=true& var render = function() { var _vm = this; var _h = _vm.$createElement; @@ -2970,7 +2968,7 @@ return _c( "div", { staticClass: "mgl-map-wrapper" }, - [_vm._m(0), _vm._t("default")], + [_vm._m(0), _vm.initialized ? _vm._t("default") : _vm._e()], 2 ); }; @@ -2986,7 +2984,16 @@ } ]; - // CONCATENATED MODULE: ./src/components/map/GlMap.vue?vue&type=template&id=3e0acdb8& + // CONCATENATED MODULE: ./src/components/map/GlMap.vue?vue&type=template&id=54c577ae&scoped=true& + + // EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js + var web_dom_iterable = __webpack_require__("ac6a"); + + // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.iterator.js + var es6_array_iterator = __webpack_require__("cadf"); + + // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js + var es6_object_keys = __webpack_require__("456d"); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js function _defineProperty(obj, key, value) { @@ -3225,6 +3232,10 @@ return "map-".concat(("" + Math.random()).split(".")[1]); } }, + mapbox: { + type: Object, + required: true + }, accessToken: { type: String, default: undefined @@ -3650,11 +3661,21 @@ withEvents ], props: options, + provide: function provide() { + var self = this; + return { + mapbox: this.mapbox, + + get map() { + return self.map; + } + }; + }, data: function data() { return { initial: true, baseMap: true, - mapLoaded: false + initialized: false }; }, computed: { @@ -3713,7 +3734,7 @@ _this.$_bindPropsUpdateEvents(); _this.initial = false; - _this.mapLoaded = true; + _this.initialized = true; _this.$emit("load", { map: map, @@ -3727,6 +3748,11 @@ }; // CONCATENATED MODULE: ./src/components/map/GlMap.vue?vue&type=script&lang=js& /* harmony default export */ var map_GlMapvue_type_script_lang_js_ = GlMapvue_type_script_lang_js_; + // EXTERNAL MODULE: ./src/components/map/GlMap.vue?vue&type=style&index=0&id=54c577ae&scoped=true&lang=css& + var GlMapvue_type_style_index_0_id_54c577ae_scoped_true_lang_css_ = __webpack_require__( + "e743" + ); + // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js /* globals __VUE_SSR_CONTEXT__ */ @@ -3838,56 +3864,12 @@ staticRenderFns, false, null, - null, + "54c577ae", null ); component.options.__file = "GlMap.vue"; /* harmony default export */ var GlMap = component.exports; - // CONCATENATED MODULE: ./src/lib/withRegistration.js - function walkParents(component) { - if (component.baseMap) { - return component; - } else { - if (component.$parent !== undefined) { - return walkParents(component.$parent); - } - } - } - - /* harmony default export */ var withRegistration = { - created: function created() { - this.map = null; - }, - mounted: function mounted() { - this.$_checkMapTree(); // We wait for "load" event from map component to ensure mapbox is loaded and map created - }, - methods: { - $_findBaseMap: function $_findBaseMap() { - var baseMapComponent = walkParents(this.$parent); - - if (baseMapComponent === undefined) { - throw new Error("Component must have root map"); - } - - return baseMapComponent; - }, - $_checkMapTree: function $_checkMapTree() { - var mapComponent = this.$_findBaseMap(); - - if (mapComponent) { - if (mapComponent.mapLoaded) { - this.$_deferredMount({ - component: mapComponent, - map: mapComponent.map - }); - } else { - mapComponent.$on("load", this.$_deferredMount); - } - } - } - } - }; // CONCATENATED MODULE: ./src/components/UI/withSelfEvents.js /* harmony default export */ var withSelfEvents = { @@ -3917,20 +3899,26 @@ } }; // CONCATENATED MODULE: ./src/components/UI/controls/controlMixin.js + // import withRegistration from "../../../lib/withRegistration"; /* harmony default export */ var controlMixin = { - mixins: [withRegistration, withEvents, withSelfEvents], + mixins: [withEvents, withSelfEvents], + inject: ["mapbox", "map"], + props: { + position: { + type: String, + default: "top-right" + } + }, beforeDestroy: function beforeDestroy() { - if (this.map !== undefined) { + if (this.map) { this.map.removeControl(this.control); } }, methods: { - $_addControl: function $_addControl(payload) { - this.map = payload.map; - + $_addControl: function $_addControl() { try { - this.map.addControl(this.control); + this.map.addControl(this.control, this.position); } catch (err) { this.$_emitEvent("error", { error: err @@ -3941,7 +3929,6 @@ this.$_emitEvent("added", { control: this.control }); - payload.component.$off("load", this.$_deferredMount); } }, render: function render() {} @@ -3952,23 +3939,18 @@ name: "NavigationControl", mixins: [controlMixin], props: { - position: { - type: String, - default: "top-right" // TODO: add validator + showCompass: { + type: Boolean, + default: true + }, + showZoom: { + type: Boolean, + default: true } }, - data: function data() { - return { - control: undefined - }; - }, created: function created() { - this.control = new this.mapbox.NavigationControl(); - }, - methods: { - $_deferredMount: function $_deferredMount(payload) { - this.$_addControl(payload); - } + this.control = new this.mapbox.NavigationControl(this.$props); + this.$_addControl(); } }; // CONCATENATED MODULE: ./src/components/UI/controls/GeolocateControl.js @@ -3992,14 +3974,6 @@ }; } }, - trackUserLocation: { - type: Boolean, - default: false - }, - showUserLocation: { - type: Boolean, - default: true - }, fitBoundsOptions: { type: Object, default: function _default() { @@ -4007,24 +3981,22 @@ maxZoom: 15 }; } + }, + trackUserLocation: { + type: Boolean, + default: false + }, + showUserLocation: { + type: Boolean, + default: true } }, - data: function data() { - return { - control: undefined - }; - }, created: function created() { - this.control = new this.mapbox.GeolocateControl(this._props); + this.control = new this.mapbox.GeolocateControl(this.$props); + this.$_addControl(); + this.$_bindSelfEvents(Object.keys(geolocationEvents), this.control); }, methods: { - $_deferredMount: function $_deferredMount(payload) { - this.$_addControl(payload); - this.$_bindSelfEvents( - Object.keys(geolocationEvents), - this.control - ); - }, $_emitSelfEvent: function $_emitSelfEvent(event) { if (event.type === "error") { this.$_emitMapEvent("geolocate-error", { @@ -4051,23 +4023,14 @@ name: "FullscreenControl", mixins: [controlMixin], props: { - position: { - type: String, - default: "top-right" + container: { + type: HTMLElement, + default: undefined } }, - data: function data() { - return { - control: undefined - }; - }, created: function created() { - this.control = new this.mapbox.FullscreenControl(); - }, - methods: { - $_deferredMount: function $_deferredMount(payload) { - this.$_addControl(payload); - } + this.control = new this.mapbox.FullscreenControl(this.$props); + this.$_addControl(); } }; // CONCATENATED MODULE: ./src/components/UI/controls/AttributionControl.js @@ -4085,20 +4048,9 @@ deafault: undefined } }, - data: function data() { - return { - control: undefined - }; - }, created: function created() { - this.control = new this.mapbox.AttributionControl({ - compact: this.compact - }); - }, - methods: { - $_deferredMount: function $_deferredMount(payload) { - this.$_addControl(payload); - } + this.control = new this.mapbox.AttributionControl(this.$props); + this.$_addControl(); } }; // CONCATENATED MODULE: ./src/components/UI/controls/ScaleControl.js @@ -4119,11 +4071,6 @@ } } }, - data: function data() { - return { - control: undefined - }; - }, watch: { unit: function unit(next, prev) { if (this.control && next !== prev) { @@ -4132,16 +4079,12 @@ } }, created: function created() { - this.control = new this.mapbox.ScaleControl(this._props); - }, - methods: { - $_deferredMount: function $_deferredMount(payload) { - this.$_addControl(payload); - } + this.control = new this.mapbox.ScaleControl(this.$props); + this.$_addControl(); } }; - // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"752d9a0d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/UI/Marker.vue?vue&type=template&id=57267865& - var Markervue_type_template_id_57267865_render = function() { + // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"752d9a0d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/UI/Marker.vue?vue&type=template&id=219782b8& + var Markervue_type_template_id_219782b8_render = function() { var _vm = this; var _h = _vm.$createElement; var _c = _vm._self._c || _h; @@ -4152,9 +4095,9 @@ 2 ); }; - var Markervue_type_template_id_57267865_staticRenderFns = []; + var Markervue_type_template_id_219782b8_staticRenderFns = []; - // CONCATENATED MODULE: ./src/components/UI/Marker.vue?vue&type=template&id=57267865& + // CONCATENATED MODULE: ./src/components/UI/Marker.vue?vue&type=template&id=219782b8& // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/UI/Marker.vue?vue&type=script&lang=js& @@ -4175,7 +4118,8 @@ }; /* harmony default export */ var Markervue_type_script_lang_js_ = { name: "MapMarker", - mixins: [withRegistration, withEvents, withSelfEvents], + mixins: [withEvents, withSelfEvents], + inject: ["mapbox", "map"], props: { // mapbox marker options offset: { @@ -4216,53 +4160,45 @@ this.marker.setDraggable(next); } }, - mounted: function mounted() { - this.$_checkMapTree(); - }, - beforeDestroy: function beforeDestroy() { - if (this.map !== undefined && this.marker !== undefined) { - this.marker.remove(); - } - }, - methods: { - $_deferredMount: function $_deferredMount(payload) { - var _this = this; - - if (!this.marker) { - var markerOptions = _objectSpread({}, this._props); + created: function created() { + var _this = this; - if (this.$slots.marker) { - markerOptions.element = this.$slots.marker[0].elm; - } + var markerOptions = _objectSpread({}, this.$props); - this.marker = new this.mapbox.Marker(markerOptions); - } + if (this.$slots.marker) { + markerOptions.element = this.$slots.marker[0].elm; + } - this.map = payload.map; - this.$_addMarker(); + this.marker = new this.mapbox.Marker(markerOptions); + this.$_addMarker(); - if (this.$listeners["update:coordinates"]) { - this.marker.on("dragend", function(event) { - var newCoordinates; + if (this.$listeners["update:coordinates"]) { + this.marker.on("dragend", function(event) { + var newCoordinates; - if (_this.coordinates instanceof Array) { - newCoordinates = [ - event.target._lngLat.lng, - event.target._lngLat.lat - ]; - } else { - newCoordinates = event.target._lngLat; - } + if (_this.coordinates instanceof Array) { + newCoordinates = [ + event.target._lngLat.lng, + event.target._lngLat.lat + ]; + } else { + newCoordinates = event.target._lngLat; + } - _this.$emit("update:coordinates", newCoordinates); - }); - } + _this.$emit("update:coordinates", newCoordinates); + }); + } - var eventNames = Object.keys(markerEvents); - this.$_bindSelfEvents(eventNames, this.marker); - this.initial = false; - payload.component.$off("load", this.$_deferredMount); - }, + var eventNames = Object.keys(markerEvents); + this.$_bindSelfEvents(eventNames, this.marker); + this.initial = false; + }, + beforeDestroy: function beforeDestroy() { + if (this.map !== undefined && this.marker !== undefined) { + this.marker.remove(); + } + }, + methods: { $_addMarker: function $_addMarker() { this.marker.setLngLat(this.coordinates).addTo(this.map); this.$_emitEvent("added", { @@ -4293,8 +4229,8 @@ var Marker_component = normalizeComponent( UI_Markervue_type_script_lang_js_, - Markervue_type_template_id_57267865_render, - Markervue_type_template_id_57267865_staticRenderFns, + Markervue_type_template_id_219782b8_render, + Markervue_type_template_id_219782b8_staticRenderFns, false, null, null, @@ -4303,8 +4239,8 @@ Marker_component.options.__file = "Marker.vue"; /* harmony default export */ var Marker = Marker_component.exports; - // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"752d9a0d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/UI/Popup.vue?vue&type=template&id=3210c140& - var Popupvue_type_template_id_3210c140_render = function() { + // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"752d9a0d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/UI/Popup.vue?vue&type=template&id=24cace89& + var Popupvue_type_template_id_24cace89_render = function() { var _vm = this; var _h = _vm.$createElement; var _c = _vm._self._c || _h; @@ -4315,9 +4251,9 @@ 2 ); }; - var Popupvue_type_template_id_3210c140_staticRenderFns = []; + var Popupvue_type_template_id_24cace89_staticRenderFns = []; - // CONCATENATED MODULE: ./src/components/UI/Popup.vue?vue&type=template&id=3210c140& + // CONCATENATED MODULE: ./src/components/UI/Popup.vue?vue&type=template&id=24cace89& // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/UI/Popup.vue?vue&type=script&lang=js& @@ -4340,7 +4276,8 @@ /* harmony default export */ var Popupvue_type_script_lang_js_ = { name: "Popup", - mixins: [withRegistration, withEvents, withSelfEvents], + mixins: [withEvents, withSelfEvents], + inject: ["mapbox", "map"], props: { /** * If `true`, a close button will appear in the top right corner of the popup. @@ -4430,8 +4367,12 @@ return false; } }, + created: function created() { + this.popup = new this.mapbox.Popup(this.$props); + }, mounted: function mounted() { - this.$_checkMapTree(); + this.$_addPopup(); + this.initial = false; }, beforeDestroy: function beforeDestroy() { if (this.map) { @@ -4446,18 +4387,10 @@ } }, methods: { - $_deferredMount: function $_deferredMount(payload) { - this.map = payload.map; - this.$_addPopup(); - this.initial = false; - payload.component.$off("load", this.$_deferredMount); - }, $_addPopup: function $_addPopup() { var _this = this; - this.popup = new this.mapbox.Popup( - _objectSpread({}, this._props) - ); + this.popup = new this.mapbox.Popup(this.$props); if (this.coordinates !== undefined) this.popup.setLngLat(this.coordinates); @@ -4511,8 +4444,8 @@ var Popup_component = normalizeComponent( UI_Popupvue_type_script_lang_js_, - Popupvue_type_template_id_3210c140_render, - Popupvue_type_template_id_3210c140_staticRenderFns, + Popupvue_type_template_id_24cace89_render, + Popupvue_type_template_id_24cace89_staticRenderFns, false, null, null, @@ -4540,6 +4473,50 @@ "touchend", "touchcancel" ]; + // CONCATENATED MODULE: ./src/lib/withRegistration.js + function walkParents(component) { + if (component.baseMap) { + return component; + } else { + if (component.$parent !== undefined) { + return walkParents(component.$parent); + } + } + } + + /* harmony default export */ var withRegistration = { + created: function created() { + this.map = null; + }, + mounted: function mounted() { + this.$_checkMapTree(); // We wait for "load" event from map component to ensure mapbox is loaded and map created + }, + methods: { + $_findBaseMap: function $_findBaseMap() { + var baseMapComponent = walkParents(this.$parent); + + if (baseMapComponent === undefined) { + throw new Error("Component must have root map"); + } + + return baseMapComponent; + }, + $_checkMapTree: function $_checkMapTree() { + var mapComponent = this.$_findBaseMap(); + + if (mapComponent) { + if (mapComponent.mapLoaded) { + this.$_deferredMount({ + component: mapComponent, + map: mapComponent.map + }); + } else { + mapComponent.$on("load", this.$_deferredMount); + } + } + } + } + }; // CONCATENATED MODULE: ./src/components/layer/layerMixin.js var mapboxSourceProps = { @@ -5532,40 +5509,32 @@ var MglVectorLayer = VectorLayer; var MglRasterLayer = RasterLayer; var MglMarker = Marker; - var MglPopup = Popup; - var main_plugin = { - /** - * Create Vue-mapbox plugin for Vue - * - * @param {Object} Vue - * @param {Object} options: mapboxgl: MapboxGl JS instances - * @returns - */ - install: function install(Vue) { - var options = - arguments.length > 1 && arguments[1] !== undefined - ? arguments[1] - : {}; - var _data = { - mapbox: options.mapboxgl - }; - - if (options.plugins && options.plugins.length) { - options.plugins.forEach(function(plugin) { - var key = Object.keys(plugin)[0]; - var value = Object.values(plugin)[0]; - _data[key] = value; - }); - } - - Vue.mixin({ - data: function data() { - return _data; - } - }); - } - }; - /* harmony default export */ var main = main_plugin; + var MglPopup = Popup; // export const plugin = { + // /** + // * Create Vue-mapbox plugin for Vue + // * + // * @param {Object} Vue + // * @param {Object} options: mapboxgl: MapboxGl JS instances + // * @returns + // */ + // install(Vue, options = {}) { + // const data = { mapbox: options.mapboxgl }; + // if (options.plugins && options.plugins.length) { + // options.plugins.forEach(plugin => { + // const key = Object.keys(plugin)[0]; + // const value = Object.values(plugin)[0]; + // data[key] = value; + // }); + // } + // Vue.mixin({ + // data() { + // return data; + // } + // }); + // } + // }; + + /* harmony default export */ var main = GlMap; // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js /* concated harmony reexport mglRegistrationMixin */ __webpack_require__.d( __webpack_exports__, @@ -5679,13 +5648,6 @@ return MglPopup; } ); - /* concated harmony reexport plugin */ __webpack_require__.d( - __webpack_exports__, - "plugin", - function() { - return main_plugin; - } - ); /* harmony default export */ var entry_lib = (__webpack_exports__[ "default" diff --git a/dist/vue-mapbox.umd.min.js b/dist/vue-mapbox.umd.min.js index ffa1bd1a..b89ccc0e 100644 --- a/dist/vue-mapbox.umd.min.js +++ b/dist/vue-mapbox.umd.min.js @@ -73,8 +73,8 @@ s = n("41a0"), u = n("7f20"), f = n("38fd"), - d = n("2b4c")("iterator"), - l = !([].keys && "next" in [].keys()), + l = n("2b4c")("iterator"), + d = !([].keys && "next" in [].keys()), p = "@@iterator", h = "keys", m = "values", @@ -87,7 +87,7 @@ S, $, I = function(t) { - if (!l && t in M) return M[t]; + if (!d && t in M) return M[t]; switch (t) { case h: return function() { @@ -106,33 +106,33 @@ E = g == m, L = !1, M = t.prototype, - O = M[d] || M[p] || (g && M[g]), - k = O || I(g), - j = g ? (E ? I("entries") : k) : void 0, + O = M[l] || M[p] || (g && M[g]), + j = O || I(g), + k = g ? (E ? I("entries") : j) : void 0, P = ("Array" == e && M.entries) || O; if ( (P && (($ = f(P.call(new t()))), $ !== Object.prototype && $.next && - (u($, w, !0), r || "function" == typeof $[d] || a($, d, v))), + (u($, w, !0), r || "function" == typeof $[l] || a($, l, v))), E && O && O.name !== m && ((L = !0), - (k = function() { + (j = function() { return O.call(this); })), - (r && !_) || (!l && !L && M[d]) || a(M, d, k), - (c[e] = k), + (r && !_) || (!d && !L && M[l]) || a(M, l, j), + (c[e] = j), (c[w] = v), g) ) if ( - ((x = { values: E ? k : I(m), keys: b ? k : I(h), entries: j }), _) + ((x = { values: E ? j : I(m), keys: b ? j : I(h), entries: k }), _) ) for (S in x) S in M || i(M, S, x[S]); - else o(o.P + o.F * (l || L), e, x); + else o(o.P + o.F * (d || L), e, x); return x; }; }, @@ -188,8 +188,8 @@ s = n("fab2"), u = n("230e"), f = n("7726"), - d = f.process, - l = f.setImmediate, + l = f.process, + d = f.setImmediate, p = f.clearImmediate, h = f.MessageChannel, m = f.Dispatch, @@ -206,8 +206,8 @@ _ = function(t) { b.call(t.data); }; - (l && p) || - ((l = function(t) { + (d && p) || + ((d = function(t) { var e = [], n = 1; while (arguments.length > n) e.push(arguments[n++]); @@ -222,9 +222,9 @@ (p = function(t) { delete y[t]; }), - "process" == n("2d95")(d) + "process" == n("2d95")(l) ? (r = function(t) { - d.nextTick(a(b, t, 1)); + l.nextTick(a(b, t, 1)); }) : m && m.now ? (r = function(t) { @@ -252,7 +252,7 @@ : function(t) { setTimeout(a(b, t, 1), 0); })), - (t.exports = { set: l, clear: p }); + (t.exports = { set: d, clear: p }); }, "1fa8": function(t, e, n) { var r = n("cb7c"); @@ -276,7 +276,7 @@ var s = c(t), u = n(a, s, ""[t]), f = u[0], - d = u[1]; + l = u[1]; i(function() { var e = {}; return ( @@ -292,10 +292,10 @@ s, 2 == e ? function(t, e) { - return d.call(t, this, e); + return l.call(t, this, e); } : function(t) { - return d.call(t, this); + return l.call(t, this); } )); }; @@ -370,8 +370,8 @@ if (!o(t)) return i.call(n, t, e); var r, c, - d, l, + d, p, h = [], m = @@ -385,8 +385,8 @@ f || (r = new RegExp("^" + g.source + "$(?!\\s)", m)); while ((c = g.exec(n))) { if ( - ((d = c.index + c[0][s]), - d > v && + ((l = c.index + c[0][s]), + l > v && (h.push(n.slice(v, c.index)), !f && c[s] > 1 && @@ -395,8 +395,8 @@ void 0 === arguments[p] && (c[p] = void 0); }), c[s] > 1 && c.index < n[s] && a.apply(h, c.slice(1)), - (l = c[0][s]), - (v = d), + (d = c[0][s]), + (v = l), h[s] >= y)) ) break; @@ -404,7 +404,7 @@ } return ( v === n[s] - ? (!l && g.test("")) || h.push("") + ? (!d && g.test("")) || h.push("") : h.push(n.slice(v)), h[s] > y ? h.slice(0, y) : h ); @@ -627,17 +627,17 @@ s = n("27ee"), u = {}, f = {}; - e = t.exports = function(t, e, n, d, l) { + e = t.exports = function(t, e, n, l, d) { var p, h, m, v, - y = l + y = d ? function() { return t; } : s(t), - g = r(n, d, e ? 2 : 1), + g = r(n, l, e ? 2 : 1), b = 0; if ("function" != typeof y) throw TypeError(t + " is not iterable!"); if (i(y)) { @@ -703,8 +703,8 @@ s = n("7726"), u = n("9b43"), f = n("23c6"), - d = n("5ca1"), - l = n("d3f4"), + l = n("5ca1"), + d = n("d3f4"), p = n("d8e8"), h = n("f605"), m = n("4a59"), @@ -722,17 +722,17 @@ L = (E && E.v8) || "", M = s[$], O = "process" == f(w), - k = function() {}, - j = (o = b.f), + j = function() {}, + k = (o = b.f), P = !!(function() { try { var t = M.resolve(1), e = ((t.constructor = {})[n("2b4c")("species")] = function(t) { - t(k, k); + t(j, j); }); return ( (O || "function" == typeof PromiseRejectionEvent) && - t.then(k) instanceof e && + t.then(j) instanceof e && 0 !== L.indexOf("6.6") && -1 === x.indexOf("Chrome/66") ); @@ -740,7 +740,7 @@ })(), T = function(t) { var e; - return !(!l(t) || "function" != typeof (e = t.then)) && e; + return !(!d(t) || "function" != typeof (e = t.then)) && e; }, C = function(t, e) { if (!t._n) { @@ -760,7 +760,7 @@ f = e.domain; try { c - ? (o || (2 == t._h && A(t), (t._h = 1)), + ? (o || (2 == t._h && F(t), (t._h = 1)), !0 === c ? (n = r) : (f && f.enter(), @@ -772,8 +772,8 @@ ? i.call(n, s, u) : s(n)) : u(r); - } catch (d) { - f && !a && f.exit(), u(d); + } catch (l) { + f && !a && f.exit(), u(l); } }; while (n.length > i) a(n[i++]); @@ -787,7 +787,7 @@ n, r, o = t._v, - i = F(t); + i = z(t); if ( (i && ((e = _(function() { @@ -799,17 +799,17 @@ r.error && r.error("Unhandled promise rejection", o); })), - (t._h = O || F(t) ? 2 : 1)), + (t._h = O || z(t) ? 2 : 1)), (t._a = void 0), i && e.e) ) throw e.v; }); }, - F = function(t) { + z = function(t) { return 1 !== t._h && 0 === (t._a || t._c).length; }, - A = function(t) { + F = function(t) { y.call(s, function() { var e; O @@ -817,7 +817,7 @@ : (e = s.onrejectionhandled) && e({ promise: t, reason: t._v }); }); }, - R = function(t) { + A = function(t) { var e = this; e._d || ((e._d = !0), @@ -827,7 +827,7 @@ e._a || (e._a = e._c.slice()), C(e, !0)); }, - z = function(t) { + R = function(t) { var e, n = this; if (!n._d) { @@ -838,14 +838,14 @@ ? g(function() { var r = { _w: n, _d: !1 }; try { - e.call(t, u(z, r, 1), u(R, r, 1)); + e.call(t, u(R, r, 1), u(A, r, 1)); } catch (o) { - R.call(r, o); + A.call(r, o); } }) : ((n._v = t), (n._s = 1), C(n, !1)); } catch (r) { - R.call({ _w: n, _d: !1 }, r); + A.call({ _w: n, _d: !1 }, r); } } }; @@ -853,9 +853,9 @@ ((M = function(t) { h(this, M, $, "_h"), p(t), r.call(this); try { - t(u(z, this, 1), u(R, this, 1)); + t(u(R, this, 1), u(A, this, 1)); } catch (e) { - R.call(this, e); + A.call(this, e); } }), (r = function(t) { @@ -869,7 +869,7 @@ }), (r.prototype = n("dcbc")(M.prototype, { then: function(t, e) { - var n = j(v(this, M)); + var n = k(v(this, M)); return ( (n.ok = "function" != typeof t || t), (n.fail = "function" == typeof e && e), @@ -887,42 +887,42 @@ (i = function() { var t = new r(); (this.promise = t), - (this.resolve = u(z, t, 1)), - (this.reject = u(R, t, 1)); + (this.resolve = u(R, t, 1)), + (this.reject = u(A, t, 1)); }), - (b.f = j = function(t) { + (b.f = k = function(t) { return t === M || t === a ? new i(t) : o(t); })), - d(d.G + d.W + d.F * !P, { Promise: M }), + l(l.G + l.W + l.F * !P, { Promise: M }), n("7f20")(M, $), n("7a56")($), (a = n("8378")[$]), - d(d.S + d.F * !P, $, { + l(l.S + l.F * !P, $, { reject: function(t) { - var e = j(this), + var e = k(this), n = e.reject; return n(t), e.promise; } }), - d(d.S + d.F * (c || !P), $, { + l(l.S + l.F * (c || !P), $, { resolve: function(t) { return S(c && this === a ? M : this, t); } }), - d( - d.S + - d.F * + l( + l.S + + l.F * !( P && n("5cc5")(function(t) { - M.all(t)["catch"](k); + M.all(t)["catch"](j); }) ), $, { all: function(t) { var e = this, - n = j(e), + n = k(e), r = n.resolve, o = n.reject, i = _(function() { @@ -944,7 +944,7 @@ }, race: function(t) { var e = this, - n = j(e), + n = k(e), r = n.reject, o = _(function() { m(t, !1, function(t) { @@ -978,8 +978,8 @@ s = "prototype", u = function(t, e, n) { var f, - d, l, + d, p, h = t & u.F, m = t & u.G, @@ -990,17 +990,17 @@ _ = m ? o : o[e] || (o[e] = {}), x = _[s] || (_[s] = {}); for (f in (m && (n = e), n)) - (d = !h && b && void 0 !== b[f]), - (l = (d ? b : n)[f]), + (l = !h && b && void 0 !== b[f]), + (d = (l ? b : n)[f]), (p = - g && d - ? c(l, r) - : y && "function" == typeof l - ? c(Function.call, l) - : l), - b && a(b, f, l, t & u.U), - _[f] != l && i(_, f, p), - y && x[f] != l && (x[f] = l); + g && l + ? c(d, r) + : y && "function" == typeof d + ? c(Function.call, d) + : d), + b && a(b, f, d, t & u.U), + _[f] != d && i(_, f, p), + y && x[f] != d && (x[f] = d); }; (r.core = o), (u.F = 1), @@ -1093,6 +1093,7 @@ return "String" == r(t) ? t.split("") : Object(t); }; }, + "66e4": function(t, e, n) {}, 6762: function(t, e, n) { "use strict"; var r = n("5ca1"), @@ -1448,7 +1449,7 @@ f(t) ); } - function d(t) { + function l(t) { for (var e = 1; e < arguments.length; e++) { var n = null != arguments[e] ? arguments[e] : {}, r = Object.keys(n); @@ -1459,12 +1460,12 @@ }) )), r.forEach(function(e) { - l(t, e, n[e]); + d(t, e, n[e]); }); } return t; } - function l(t, e, n) { + function d(t, e, n) { return ( e in t ? Object.defineProperty(t, e, { @@ -1514,7 +1515,7 @@ ) s === r - 1 ? c.push( - d( + l( {}, i, (s < 0 || arguments.length <= s @@ -1527,7 +1528,7 @@ ? void 0 : arguments[s]) || null ); - var l = [], + var d = [], m = (arguments.length <= 0 ? void 0 : arguments[0]) || {}; try { n.apply(t, c), @@ -1544,12 +1545,12 @@ (arguments.length <= 3 ? void 0 : arguments[3]) && "object" === f(arguments.length <= 3 ? void 0 : arguments[3]) && - (m = d( + (m = l( {}, m, arguments.length <= 3 ? void 0 : arguments[3] ))), - (l = a.map(function(e) { + (d = a.map(function(e) { var n = e.event, r = e.func; return n.check(t, m) @@ -1564,7 +1565,7 @@ }), v); } - return Promise.all(l).then(function() { + return Promise.all(d).then(function() { return u[e].getter(t); }); }; @@ -1633,11 +1634,11 @@ o.call(r, u); }; else { - var d = !0, - l = document.createTextNode(""); - new i(u).observe(l, { characterData: !0 }), + var l = !0, + d = document.createTextNode(""); + new i(u).observe(d, { characterData: !0 }), (n = function() { - l.data = d = !d; + d.data = l = !l; }); } return function(r) { @@ -1653,15 +1654,6 @@ "84f2": function(t, e) { t.exports = {}; }, - 8615: function(t, e, n) { - var r = n("5ca1"), - o = n("504c")(!1); - r(r.S, "Object", { - values: function(t) { - return o(t); - } - }); - }, "86cc": function(t, e, n) { var r = n("cb7c"), o = n("c69a"), @@ -1822,15 +1814,15 @@ s = "​…", u = RegExp("^" + c + c + "*"), f = RegExp(c + c + "*$"), - d = function(t, e, n) { + l = function(t, e, n) { var o = {}, c = i(function() { return !!a[t]() || s[t]() != s; }), - u = (o[t] = c ? e(l) : a[t]); + u = (o[t] = c ? e(d) : a[t]); n && (o[n] = u), r(r.P + r.F * c, "String", o); }, - l = (d.trim = function(t, e) { + d = (l.trim = function(t, e) { return ( (t = String(o(t))), 1 & e && (t = t.replace(u, "")), @@ -1838,7 +1830,7 @@ t ); }); - t.exports = d; + t.exports = l; }, aae3: function(t, e, n) { var r = n("d3f4"), @@ -1859,8 +1851,8 @@ s = n("84f2"), u = n("2b4c"), f = u("iterator"), - d = u("toStringTag"), - l = s.Array, + l = u("toStringTag"), + d = s.Array, p = { CSSRuleList: !0, CSSStyleDeclaration: !1, @@ -1904,7 +1896,7 @@ g = p[y], b = a[y], _ = b && b.prototype; - if (_ && (_[f] || c(_, f, l), _[d] || c(_, d, y), (s[y] = l), g)) + if (_ && (_[f] || c(_, f, d), _[l] || c(_, l, y), (s[y] = d), g)) for (v in r) _[v] || i(_, v, r[v], !0); } }, @@ -1954,8 +1946,8 @@ s = n("79e5"), u = n("9093").f, f = n("11e9").f, - d = n("86cc").f, - l = n("aa77").trim, + l = n("86cc").f, + d = n("aa77").trim, p = "Number", h = r[p], m = h, @@ -1965,7 +1957,7 @@ b = function(t) { var e = c(t, !1); if ("string" == typeof e && e.length > 2) { - e = g ? e.trim() : l(e, 3); + e = g ? e.trim() : d(e, 3); var n, r, o, @@ -2016,7 +2008,7 @@ x.length > S; S++ ) - o(m, (_ = x[S])) && !o(h, _) && d(h, _, f(m, _)); + o(m, (_ = x[S])) && !o(h, _) && l(h, _, f(m, _)); (h.prototype = v), (v.constructor = h), n("2aba")(r, p, h); } }, @@ -2130,6 +2122,12 @@ "," ); }, + e743: function(t, e, n) { + "use strict"; + var r = n("66e4"), + o = n.n(r); + o.a; + }, ebd6: function(t, e, n) { var r = n("cb7c"), o = n("d8e8"), @@ -2158,7 +2156,6 @@ ((r = window.document.currentScript) && (r = r.src.match(/(.+\/)[^\/]+\.js(\?.*)?$/)) && (n.p = r[1])); - n("8615"), n("cadf"), n("456d"), n("ac6a"); var o = function() { var t = this, e = t.$createElement, @@ -2166,7 +2163,7 @@ return n( "div", { staticClass: "mgl-map-wrapper" }, - [t._m(0), t._t("default")], + [t._m(0), t.initialized ? t._t("default") : t._e()], 2 ); }, @@ -2178,6 +2175,7 @@ return n("div", { ref: "container", attrs: { id: t.container } }); } ]; + n("ac6a"), n("cadf"), n("456d"); function a(t, e, n) { return ( e in t @@ -2279,6 +2277,7 @@ return "map-".concat(("" + Math.random()).split(".")[1]); } }, + mapbox: { type: Object, required: !0 }, accessToken: { type: String, default: void 0 }, minZoom: { type: Number, default: 0 }, maxZoom: { type: Number, default: 22 }, @@ -2342,7 +2341,7 @@ fadeDuration: { type: Number, default: 300 }, crossSourceCollisions: { type: Boolean, default: !0 } }), - d = (n("ffc1"), + l = (n("ffc1"), { maxBounds: function(t) { this.map.setMaxBounds(t); @@ -2381,7 +2380,7 @@ this.map.setLigh(t); } }); - function l(t, e, n, r) { + function d(t, e, n, r) { var o = this; this.initial || (this.$listeners["update:".concat(t)] @@ -2397,9 +2396,9 @@ function p() { var t = {}; return ( - Object.entries(d).forEach(function(e) { + Object.entries(l).forEach(function(e) { t[e[0]] = function(t, n) { - return l.call(this, e[0], e[1].bind(this), t, n); + return d.call(this, e[0], e[1].bind(this), t, n); }; }), t @@ -2516,8 +2515,17 @@ name: "GlMap", mixins: [h, g, m, s], props: f, + provide: function() { + var t = this; + return { + mapbox: this.mapbox, + get map() { + return t.map; + } + }; + }, data: function() { - return { initial: !0, baseMap: !0, mapLoaded: !1 }; + return { initial: !0, baseMap: !0, initialized: !1 }; }, computed: { loaded: function() { @@ -2565,7 +2573,7 @@ t.$_registerAsyncActions(e), t.$_bindPropsUpdateEvents(), (t.initial = !1), - (t.mapLoaded = !0), + (t.initialized = !0), t.$emit("load", { map: e, component: t }); }); }, @@ -2574,6 +2582,7 @@ } }, _ = b; + n("e743"); function x(t, e, n, r, o, i, a, c) { var s, u = "function" === typeof t ? t.options : t; @@ -2613,40 +2622,15 @@ return s.call(e), f(t, e); }; } else { - var d = u.beforeCreate; - u.beforeCreate = d ? [].concat(d, s) : [s]; + var l = u.beforeCreate; + u.beforeCreate = l ? [].concat(l, s) : [s]; } return { exports: t, options: u }; } - var S = x(_, o, i, !1, null, null, null); + var S = x(_, o, i, !1, null, "54c577ae", null); S.options.__file = "GlMap.vue"; - var $ = S.exports; - function I(t) { - return t.baseMap ? t : void 0 !== t.$parent ? I(t.$parent) : void 0; - } - var w = { - created: function() { - this.map = null; - }, - mounted: function() { - this.$_checkMapTree(); - }, - methods: { - $_findBaseMap: function() { - var t = I(this.$parent); - if (void 0 === t) throw new Error("Component must have root map"); - return t; - }, - $_checkMapTree: function() { - var t = this.$_findBaseMap(); - t && - (t.mapLoaded - ? this.$_deferredMount({ component: t, map: t.map }) - : t.$on("load", this.$_deferredMount)); - } - } - }, - E = { + var $ = S.exports, + I = { methods: { $_bindSelfEvents: function(t, e) { var n = this; @@ -2663,50 +2647,46 @@ } } }, - L = { - mixins: [w, s, E], + w = { + mixins: [s, I], + inject: ["mapbox", "map"], + props: { position: { type: String, default: "top-right" } }, beforeDestroy: function() { - void 0 !== this.map && this.map.removeControl(this.control); + this.map && this.map.removeControl(this.control); }, methods: { - $_addControl: function(t) { - this.map = t.map; + $_addControl: function() { try { - this.map.addControl(this.control); - } catch (e) { - return void this.$_emitEvent("error", { error: e }); + this.map.addControl(this.control, this.position); + } catch (t) { + return void this.$_emitEvent("error", { error: t }); } - this.$_emitEvent("added", { control: this.control }), - t.component.$off("load", this.$_deferredMount); + this.$_emitEvent("added", { control: this.control }); } }, render: function() {} }, - M = { + E = { name: "NavigationControl", - mixins: [L], - props: { position: { type: String, default: "top-right" } }, - data: function() { - return { control: void 0 }; + mixins: [w], + props: { + showCompass: { type: Boolean, default: !0 }, + showZoom: { type: Boolean, default: !0 } }, created: function() { - this.control = new this.mapbox.NavigationControl(); - }, - methods: { - $_deferredMount: function(t) { - this.$_addControl(t); - } + (this.control = new this.mapbox.NavigationControl(this.$props)), + this.$_addControl(); } }, - O = { + L = { trackuserlocationstart: "trackuserlocationstart", trackuserlocationend: "trackuserlocationend", geolocate: "geolocate", error: "error" }, - k = { + M = { name: "GeolocateControl", - mixins: [s, E, L], + mixins: [s, I, w], props: { positionOptions: { type: Object, @@ -2714,26 +2694,21 @@ return { enableHighAccuracy: !1, timeout: 6e3 }; } }, - trackUserLocation: { type: Boolean, default: !1 }, - showUserLocation: { type: Boolean, default: !0 }, fitBoundsOptions: { type: Object, default: function() { return { maxZoom: 15 }; } - } - }, - data: function() { - return { control: void 0 }; + }, + trackUserLocation: { type: Boolean, default: !1 }, + showUserLocation: { type: Boolean, default: !0 } }, created: function() { - this.control = new this.mapbox.GeolocateControl(this._props); + (this.control = new this.mapbox.GeolocateControl(this.$props)), + this.$_addControl(), + this.$_bindSelfEvents(Object.keys(L), this.control); }, methods: { - $_deferredMount: function(t) { - this.$_addControl(t), - this.$_bindSelfEvents(Object.keys(O), this.control); - }, $_emitSelfEvent: function(t) { "error" === t.type && this.$_emitMapEvent("geolocate-error", { @@ -2747,46 +2722,30 @@ } } }, - j = { + O = { name: "FullscreenControl", - mixins: [L], - props: { position: { type: String, default: "top-right" } }, - data: function() { - return { control: void 0 }; - }, + mixins: [w], + props: { container: { type: HTMLElement, default: void 0 } }, created: function() { - this.control = new this.mapbox.FullscreenControl(); - }, - methods: { - $_deferredMount: function(t) { - this.$_addControl(t); - } + (this.control = new this.mapbox.FullscreenControl(this.$props)), + this.$_addControl(); } }, - P = { + j = { name: "AttributionControl", - mixins: [L], + mixins: [w], props: { compact: { type: Boolean, default: !0 }, customAttribution: { type: [String, Array], deafault: void 0 } }, - data: function() { - return { control: void 0 }; - }, created: function() { - this.control = new this.mapbox.AttributionControl({ - compact: this.compact - }); - }, - methods: { - $_deferredMount: function(t) { - this.$_addControl(t); - } + (this.control = new this.mapbox.AttributionControl(this.$props)), + this.$_addControl(); } }, - T = { + k = { name: "ScaleControl", - mixins: [L], + mixins: [w], props: { maxWidth: { type: Number, default: 150 }, unit: { @@ -2797,24 +2756,17 @@ } } }, - data: function() { - return { control: void 0 }; - }, watch: { unit: function(t, e) { this.control && t !== e && this.control.setUnit(t); } }, created: function() { - this.control = new this.mapbox.ScaleControl(this._props); - }, - methods: { - $_deferredMount: function(t) { - this.$_addControl(t); - } + (this.control = new this.mapbox.ScaleControl(this.$props)), + this.$_addControl(); } }, - C = function() { + P = function() { var t = this, e = t.$createElement, n = t._self._c || e; @@ -2825,11 +2777,12 @@ 2 ); }, - B = [], - F = { drag: "drag", dragstart: "dragstart", dragend: "dragend" }, - A = { + T = [], + C = { drag: "drag", dragstart: "dragstart", dragend: "dragend" }, + B = { name: "MapMarker", - mixins: [w, s, E], + mixins: [s, I], + inject: ["mapbox", "map"], props: { offset: { type: [Object, Array], @@ -2853,8 +2806,23 @@ this.initial || this.marker.setDraggable(t); } }, - mounted: function() { - this.$_checkMapTree(); + created: function() { + var t = this, + e = c({}, this.$props); + this.$slots.marker && (e.element = this.$slots.marker[0].elm), + (this.marker = new this.mapbox.Marker(e)), + this.$_addMarker(), + this.$listeners["update:coordinates"] && + this.marker.on("dragend", function(e) { + var n; + (n = + t.coordinates instanceof Array + ? [e.target._lngLat.lng, e.target._lngLat.lat] + : e.target._lngLat), + t.$emit("update:coordinates", n); + }); + var n = Object.keys(C); + this.$_bindSelfEvents(n, this.marker), (this.initial = !1); }, beforeDestroy: function() { void 0 !== this.map && @@ -2862,29 +2830,6 @@ this.marker.remove(); }, methods: { - $_deferredMount: function(t) { - var e = this; - if (!this.marker) { - var n = c({}, this._props); - this.$slots.marker && (n.element = this.$slots.marker[0].elm), - (this.marker = new this.mapbox.Marker(n)); - } - (this.map = t.map), - this.$_addMarker(), - this.$listeners["update:coordinates"] && - this.marker.on("dragend", function(t) { - var n; - (n = - e.coordinates instanceof Array - ? [t.target._lngLat.lng, t.target._lngLat.lat] - : t.target._lngLat), - e.$emit("update:coordinates", n); - }); - var r = Object.keys(F); - this.$_bindSelfEvents(r, this.marker), - (this.initial = !1), - t.component.$off("load", this.$_deferredMount); - }, $_addMarker: function() { this.marker.setLngLat(this.coordinates).addTo(this.map), this.$_emitEvent("added", { marker: this.marker }); @@ -2901,11 +2846,11 @@ } } }, - R = A, - z = x(R, C, B, !1, null, null, null); - z.options.__file = "Marker.vue"; - var N = z.exports, - Z = function() { + z = B, + F = x(z, P, T, !1, null, null, null); + F.options.__file = "Marker.vue"; + var A = F.exports, + R = function() { var t = this, e = t.$createElement, n = t._self._c || e; @@ -2916,11 +2861,12 @@ 2 ); }, - D = [], - U = { open: "open", close: "close" }, - G = { + N = [], + Z = { open: "open", close: "close" }, + D = { name: "Popup", - mixins: [w, s, E], + mixins: [s, I], + inject: ["mapbox", "map"], props: { closeButton: { type: Boolean, default: !0 }, closeOnClick: { type: Boolean, default: !0 }, @@ -2957,8 +2903,11 @@ return void 0 !== this.popup && this.popup.isOpen(); } }, + created: function() { + this.popup = new this.mapbox.Popup(this.$props); + }, mounted: function() { - this.$_checkMapTree(); + this.$_addPopup(), (this.initial = !1); }, beforeDestroy: function() { this.map && (this.popup.remove(), this.$_emitEvent("removed")); @@ -2969,16 +2918,10 @@ } }, methods: { - $_deferredMount: function(t) { - (this.map = t.map), - this.$_addPopup(), - (this.initial = !1), - t.component.$off("load", this.$_deferredMount); - }, $_addPopup: function() { var t = this; if ( - ((this.popup = new this.mapbox.Popup(c({}, this._props))), + ((this.popup = new this.mapbox.Popup(this.$props)), void 0 !== this.coordinates && this.popup.setLngLat(this.coordinates), void 0 !== this.$slots.default) @@ -2992,7 +2935,7 @@ this.popup.setText(this.$slots.default[0].elm.innerText); else this.popup.setDOMContent(this.$slots.default[0].elm); this.popup.addTo(this.map), - this.$_bindSelfEvents(Object.keys(U), this.popup), + this.$_bindSelfEvents(Object.keys(Z), this.popup), this.$_emitEvent("added", { popup: this.popup }), void 0 !== this.$parent.marker ? this.$parent.marker.setPopup(this.popup) @@ -3010,11 +2953,11 @@ } } }, - V = G, - q = x(V, Z, D, !1, null, null, null); - q.options.__file = "Popup.vue"; - var H = q.exports, - W = (n("a481"), + U = D, + G = x(U, R, N, !1, null, null, null); + G.options.__file = "Popup.vue"; + var V = G.exports, + q = (n("a481"), [ "mousedown", "mouseup", @@ -3029,7 +2972,32 @@ "touchstart", "touchend", "touchcancel" - ]), + ]); + function H(t) { + return t.baseMap ? t : void 0 !== t.$parent ? H(t.$parent) : void 0; + } + var W = { + created: function() { + this.map = null; + }, + mounted: function() { + this.$_checkMapTree(); + }, + methods: { + $_findBaseMap: function() { + var t = H(this.$parent); + if (void 0 === t) throw new Error("Component must have root map"); + return t; + }, + $_checkMapTree: function() { + var t = this.$_findBaseMap(); + t && + (t.mapLoaded + ? this.$_deferredMount({ component: t, map: t.map }) + : t.$on("load", this.$_deferredMount)); + } + } + }, X = { sourceId: { type: String, required: !0 }, source: { type: [Object, String], default: void 0 } @@ -3045,7 +3013,7 @@ replace: { type: Boolean, default: !1 } }, J = { - mixins: [w, s], + mixins: [W, s], props: c({}, X, K, Y), data: function() { return { initial: !0 }; @@ -3286,7 +3254,7 @@ } } this.$_addLayer(), - this.$_bindLayerEvents(W), + this.$_bindLayerEvents(q), this.map.off("dataloading", this.$_watchSourceLoading), (this.initial = !1), t.component.$off("load", this.$_deferredMount); @@ -3362,7 +3330,7 @@ this.map.addSource(this.sourceId, e)); } this.$_addLayer(), - this.$_bindLayerEvents(W), + this.$_bindLayerEvents(q), (this.initial = !1), t.component.$off("load", this.$_deferredMount); }, @@ -3437,7 +3405,7 @@ this.map.addSource(this.sourceId, n)); } this.$_addLayer(), - this.$_bindLayerEvents(W), + this.$_bindLayerEvents(q), t.component.$off("load", this.$_deferredMount), (this.initial = !1); }, @@ -3502,7 +3470,7 @@ this.map.addSource(this.sourceId, e)); } this.$_addLayer(), - this.$_bindLayerEvents(W), + this.$_bindLayerEvents(q), (this.initial = !1), t.component.$off("load", this.$_deferredMount); }, @@ -3571,7 +3539,7 @@ this.map.addSource(this.sourceId, e)); } this.$_addLayer(), - this.$_bindLayerEvents(W), + this.$_bindLayerEvents(q), this.map.off("dataloading", this.$_watchSourceLoading), (this.initial = !1), t.component.$off("load", this.$_deferredMount); @@ -3632,7 +3600,7 @@ this.map.addSource(this.sourceId, e)); } this.$_addLayer(), - this.$_bindLayerEvents(W), + this.$_bindLayerEvents(q), this.map.off("dataloading", this.$_watchSourceLoading), (this.initial = !1), t.component.$off("load", this.$_deferredMount); @@ -3656,44 +3624,23 @@ } } }, - it = w, - at = L, + it = W, + at = w, ct = $, - st = M, - ut = k, - ft = j, - dt = P, - lt = T, + st = E, + ut = M, + ft = O, + lt = j, + dt = k, pt = Q, ht = tt, mt = et, vt = nt, yt = rt, gt = ot, - bt = N, - _t = H, - xt = { - install: function(t) { - var e = - arguments.length > 1 && void 0 !== arguments[1] - ? arguments[1] - : {}, - n = { mapbox: e.mapboxgl }; - e.plugins && - e.plugins.length && - e.plugins.forEach(function(t) { - var e = Object.keys(t)[0], - r = Object.values(t)[0]; - n[e] = r; - }), - t.mixin({ - data: function() { - return n; - } - }); - } - }, - St = xt; + bt = A, + _t = V, + xt = $; n.d(e, "mglRegistrationMixin", function() { return it; }), @@ -3713,10 +3660,10 @@ return ft; }), n.d(e, "MglAttributionControl", function() { - return dt; + return lt; }), n.d(e, "MglScaleControl", function() { - return lt; + return dt; }), n.d(e, "MglGeojsonLayer", function() { return pt; @@ -3741,11 +3688,8 @@ }), n.d(e, "MglPopup", function() { return _t; - }), - n.d(e, "plugin", function() { - return xt; }); - e["default"] = St; + e["default"] = xt; }, fdef: function(t, e) { t.exports = "\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"; diff --git a/docs/404.html b/docs/404.html index 166139b7..eef25c12 100644 --- a/docs/404.html +++ b/docs/404.html @@ -7,11 +7,11 @@ - +
- + diff --git a/docs/api/Layers/canvaslayer.html b/docs/api/Layers/canvaslayer.html index bce5d6df..e78a2f40 100644 --- a/docs/api/Layers/canvaslayer.html +++ b/docs/api/Layers/canvaslayer.html @@ -7,7 +7,7 @@ - + @@ -20,6 +20,6 @@

CanvasLayer

Props

canvas

coordinates

animate

width

height

Events

All common layer events

- + diff --git a/docs/api/Layers/geojsonlayer.html b/docs/api/Layers/geojsonlayer.html index 48c01841..263036c1 100644 --- a/docs/api/Layers/geojsonlayer.html +++ b/docs/api/Layers/geojsonlayer.html @@ -7,7 +7,7 @@ - + @@ -28,6 +28,6 @@ →

- + diff --git a/docs/api/Layers/imagelayer.html b/docs/api/Layers/imagelayer.html index b3b890d7..1abebd43 100644 --- a/docs/api/Layers/imagelayer.html +++ b/docs/api/Layers/imagelayer.html @@ -7,7 +7,7 @@ - + @@ -29,6 +29,6 @@ →

- + diff --git a/docs/api/Layers/index.html b/docs/api/Layers/index.html index 66767a19..88896f6f 100644 --- a/docs/api/Layers/index.html +++ b/docs/api/Layers/index.html @@ -7,7 +7,7 @@ - + @@ -28,6 +28,6 @@ →

- + diff --git a/docs/api/Layers/rasterlayer.html b/docs/api/Layers/rasterlayer.html index 0c0f6f9b..c47ebb6c 100644 --- a/docs/api/Layers/rasterlayer.html +++ b/docs/api/Layers/rasterlayer.html @@ -7,7 +7,7 @@ - + @@ -28,6 +28,6 @@ →

- + diff --git a/docs/api/Layers/vectorlayer.html b/docs/api/Layers/vectorlayer.html index 4c57f801..cc0545b2 100644 --- a/docs/api/Layers/vectorlayer.html +++ b/docs/api/Layers/vectorlayer.html @@ -7,7 +7,7 @@ - + @@ -28,6 +28,6 @@ →

- + diff --git a/docs/api/Layers/videolayer.html b/docs/api/Layers/videolayer.html index 6107529e..fcb916f4 100644 --- a/docs/api/Layers/videolayer.html +++ b/docs/api/Layers/videolayer.html @@ -7,7 +7,7 @@ - + @@ -29,6 +29,6 @@ →

- + diff --git a/docs/api/controls.html b/docs/api/controls.html index c9b40de3..eae198fe 100644 --- a/docs/api/controls.html +++ b/docs/api/controls.html @@ -7,7 +7,7 @@ - + @@ -28,6 +28,6 @@ →

- + diff --git a/docs/api/glmap.html b/docs/api/glmap.html index df3df0ef..97bc2bc1 100644 --- a/docs/api/glmap.html +++ b/docs/api/glmap.html @@ -7,7 +7,7 @@ - + @@ -41,6 +41,6 @@ →

- + diff --git a/docs/api/index.html b/docs/api/index.html index f971ef32..3b059dc2 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -7,7 +7,7 @@ - + @@ -37,6 +37,6 @@ →

- + diff --git a/docs/api/marker.html b/docs/api/marker.html index 6fa571be..5e9d845a 100644 --- a/docs/api/marker.html +++ b/docs/api/marker.html @@ -7,7 +7,7 @@ - + @@ -28,6 +28,6 @@ →

- + diff --git a/docs/api/popup.html b/docs/api/popup.html index 4e7b3fc9..9bca8cb6 100644 --- a/docs/api/popup.html +++ b/docs/api/popup.html @@ -7,7 +7,7 @@ - + @@ -28,6 +28,6 @@ →

- + diff --git a/docs/assets/js/10.544367fa.js b/docs/assets/js/10.544367fa.js new file mode 100644 index 00000000..52ce6ef9 --- /dev/null +++ b/docs/assets/js/10.544367fa.js @@ -0,0 +1,153 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([ + [10], + { + 143: function(e, t, a) { + "use strict"; + a.r(t); + var r = a(17), + s = Object(r.a)( + {}, + function() { + var e = this, + t = e.$createElement, + a = e._self._c || t; + return a( + "ContentSlotsDistributor", + { attrs: { "slot-key": e.$parent.slotKey } }, + [ + a("h1", { attrs: { id: "imagelayer" } }, [ + a( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#imagelayer", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" ImageLayer") + ]), + e._v(" "), + a("h2", { attrs: { id: "props" } }, [ + a( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#props", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Props") + ]), + e._v(" "), + a( + "p", + [ + e._v("All common "), + a("router-link", { attrs: { to: "/api/Layers/#props" } }, [ + e._v("layers props") + ]) + ], + 1 + ), + e._v(" "), + a("h3", { attrs: { id: "source" } }, [ + a( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#source", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + a("code", [e._v("source")]) + ]), + e._v(" "), + a("ul", [ + a("li", [ + a("strong", [e._v("Type:")]), + e._v(" "), + a("code", [e._v("Object | String")]) + ]), + e._v(" "), + a("li", [a("strong", [e._v("Non-Synced")])]), + e._v(" "), + a("li", [ + a("strong", [e._v("Description:")]), + e._v(" A data source containing an image.") + ]), + e._v(" "), + a("li", [ + a("strong", [e._v("See:")]), + e._v(" "), + a("code", [e._v("ImageSource")]), + e._v(" in "), + a( + "a", + { + attrs: { + href: + "https://docs.mapbox.com/mapbox-gl-js/api/#imagesource", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox API Docs"), a("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + a("div", { staticClass: "tip custom-block" }, [ + a("p", { staticClass: "custom-block-title" }, [ + e._v("Reactivity") + ]), + e._v(" "), + a("p", [ + a("code", [e._v("coordinates")]), + e._v(" and "), + a("code", [e._v("url")]), + e._v(" fields of the "), + a("code", [e._v("source")]), + e._v( + " prop are reactive.\nIf you change their value, changes automatically applied to the map." + ) + ]) + ]), + e._v(" "), + a("h2", { attrs: { id: "events" } }, [ + a( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#events", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Events") + ]), + e._v(" "), + a( + "p", + [ + e._v("All common layer "), + a("router-link", { attrs: { to: "/api/Layers/#events" } }, [ + e._v("events") + ]) + ], + 1 + ) + ] + ); + }, + [], + !1, + null, + null, + null + ); + s.options.__file = "imagelayer.md"; + t.default = s.exports; + } + } +]); diff --git a/docs/assets/js/10.f8efefc5.js b/docs/assets/js/10.f8efefc5.js new file mode 100644 index 00000000..ffbedc4c --- /dev/null +++ b/docs/assets/js/10.f8efefc5.js @@ -0,0 +1,179 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([ + [10], + { + 143: function(e, r, t) { + "use strict"; + t.r(r); + var a = t(17), + s = Object(a.a)( + {}, + function() { + var e = this, + r = e.$createElement, + t = e._self._c || r; + return t( + "ContentSlotsDistributor", + { attrs: { "slot-key": e.$parent.slotKey } }, + [ + t("h1", { attrs: { id: "imagelayer" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#imagelayer", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" ImageLayer") + ]), + e._v(" "), + t("h2", { attrs: { id: "props" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#props", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Props") + ]), + e._v(" "), + t("h3", { attrs: { id: "url" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#url", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("url")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("String")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Required")])]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v(" URL that points to an image.") + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("url")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-image-url", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Source Style Spec"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "coordinates" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#coordinates", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("coordinates")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Array")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Required")])]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v( + " Corners of image specified in longitude, latitude pairs." + ) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("coordinates")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-image-coordinates", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Source Style Spec"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h2", { attrs: { id: "events" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#events", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Events") + ]), + e._v(" "), + t( + "p", + [ + e._v("All common layer "), + t("router-link", { attrs: { to: "/api/Layers/#events" } }, [ + e._v("events") + ]) + ], + 1 + ) + ] + ); + }, + [], + !1, + null, + null, + null + ); + s.options.__file = "imagelayer.md"; + r.default = s.exports; + } + } +]); diff --git a/docs/assets/js/11.fcef6306.js b/docs/assets/js/11.fcef6306.js new file mode 100644 index 00000000..44d6857a --- /dev/null +++ b/docs/assets/js/11.fcef6306.js @@ -0,0 +1,511 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([ + [11], + { + 145: function(e, t, r) { + "use strict"; + r.r(t); + var o = r(17), + s = Object(o.a)( + {}, + function() { + var e = this, + t = e.$createElement, + r = e._self._c || t; + return r( + "ContentSlotsDistributor", + { attrs: { "slot-key": e.$parent.slotKey } }, + [ + r("h1", { attrs: { id: "rasterlayer" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#rasterlayer", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" RasterLayer") + ]), + e._v(" "), + r("h2", { attrs: { id: "props" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#props", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Props") + ]), + e._v(" "), + r("h3", { attrs: { id: "url" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#url", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("url")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("String")]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Default")]), + e._v(" "), + r("code", [e._v("undefined")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v( + " A URL to a TileJSON resource as source for this layer. Supported protocols are " + ), + r("code", [e._v("http:")]), + e._v(", "), + r("code", [e._v("https:")]), + e._v(", and "), + r("code", [e._v("mapbox://")]), + e._v(".") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("url")]), + e._v(" in "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-raster-url", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Source Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "tiles" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#tiles", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("tiles")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("Array")]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Default")]), + e._v(" "), + r("code", [e._v("undefined")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v( + " An array of one or more tile source URLs, as in the TileJSON spec." + ) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("tiles")]), + e._v(" in "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-raster-tiles", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Source Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "tilesize" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#tilesize", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("tileSize")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("Number")]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Default")]), + e._v(" "), + r("code", [e._v("512")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v( + " The minimum visual size to display tiles for this layer in pixels." + ) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("tileSize")]), + e._v(" in "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-raster-tileSize", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Source Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "tilesminzoom" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#tilesminzoom", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("tilesMinZoom")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("Number")]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Default")]), + e._v(" "), + r("code", [e._v("0")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v( + " Minimum zoom level for which tiles are available, as in the TileJSON spec." + ) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("minzoom")]), + e._v(" in "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-raster-minzoom", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Source Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "tilesmaxzoom" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#tilesmaxzoom", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("tilesMaxZoom")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("Number")]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Default")]), + e._v(" "), + r("code", [e._v("22")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v( + " Maximum zoom level for which tiles are available, as in the TileJSON spec." + ) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("maxzoom")]), + e._v(" in "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-raster-maxzoom", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Source Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "bounds" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#bounds", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("bounds")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("Array")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v( + " An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: [sw.lng, sw.lat, ne.lng, ne.lat]." + ) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("bounds")]), + e._v(" in "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-raster-bounds", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Source Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "scheme" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#scheme", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("scheme")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("String")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v(" Influences the y direction of the tile coordinates.") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("scheme")]), + e._v(" in "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-raster-scheme", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Source Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "attribution" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#attribution", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("attribution")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("String")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v( + " Contains an attribution to be displayed when the map is shown to a user." + ) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("attribution")]), + e._v(" in "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-raster-attribution", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Source Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h2", { attrs: { id: "events" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#events", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Events") + ]), + e._v(" "), + r( + "p", + [ + e._v("All common layer "), + r("router-link", { attrs: { to: "/api/Layers/#events" } }, [ + e._v("events") + ]) + ], + 1 + ) + ] + ); + }, + [], + !1, + null, + null, + null + ); + s.options.__file = "rasterlayer.md"; + t.default = s.exports; + } + } +]); diff --git a/docs/assets/js/11.fd6469b3.js b/docs/assets/js/11.fd6469b3.js new file mode 100644 index 00000000..9b295c04 --- /dev/null +++ b/docs/assets/js/11.fd6469b3.js @@ -0,0 +1,136 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([ + [11], + { + 145: function(r, e, t) { + "use strict"; + t.r(e); + var s = t(17), + a = Object(s.a)( + {}, + function() { + var r = this, + e = r.$createElement, + t = r._self._c || e; + return t( + "ContentSlotsDistributor", + { attrs: { "slot-key": r.$parent.slotKey } }, + [ + t("h1", { attrs: { id: "rasterlayer" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#rasterlayer", "aria-hidden": "true" } + }, + [r._v("#")] + ), + r._v(" RasterLayer") + ]), + r._v(" "), + t("h2", { attrs: { id: "props" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#props", "aria-hidden": "true" } + }, + [r._v("#")] + ), + r._v(" Props") + ]), + r._v(" "), + t( + "p", + [ + r._v("All common "), + t("router-link", { attrs: { to: "/api/Layers/#props" } }, [ + r._v("layers props") + ]) + ], + 1 + ), + r._v(" "), + t("h3", { attrs: { id: "source" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#source", "aria-hidden": "true" } + }, + [r._v("#")] + ), + r._v(" "), + t("code", [r._v("source")]) + ]), + r._v(" "), + t("ul", [ + t("li", [ + t("strong", [r._v("Type:")]), + r._v(" "), + t("code", [r._v("Object | String")]) + ]), + r._v(" "), + t("li", [t("strong", [r._v("Non-Synced")])]), + r._v(" "), + t("li", [ + t("strong", [r._v("Description:")]), + r._v(" A raster tile source.") + ]), + r._v(" "), + t("li", [ + t("strong", [r._v("See:")]), + r._v(" "), + t("code", [r._v("Raster source")]), + r._v(" in "), + t( + "a", + { + attrs: { + href: + "https://docs.mapbox.com/mapbox-gl-js/style-spec/#sources-raster", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [r._v("Mapbox Style Spec"), t("OutboundLink")], + 1 + ) + ]) + ]), + r._v(" "), + t("h2", { attrs: { id: "events" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#events", "aria-hidden": "true" } + }, + [r._v("#")] + ), + r._v(" Events") + ]), + r._v(" "), + t( + "p", + [ + r._v("All common layer "), + t("router-link", { attrs: { to: "/api/Layers/#events" } }, [ + r._v("events") + ]) + ], + 1 + ) + ] + ); + }, + [], + !1, + null, + null, + null + ); + a.options.__file = "rasterlayer.md"; + e.default = a.exports; + } + } +]); diff --git a/docs/assets/js/12.07043604.js b/docs/assets/js/12.07043604.js new file mode 100644 index 00000000..5b1062be --- /dev/null +++ b/docs/assets/js/12.07043604.js @@ -0,0 +1,786 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([ + [12], + { + 146: function(e, t, r) { + "use strict"; + r.r(t); + var o = r(17), + a = Object(o.a)( + {}, + function() { + var e = this, + t = e.$createElement, + r = e._self._c || t; + return r( + "ContentSlotsDistributor", + { attrs: { "slot-key": e.$parent.slotKey } }, + [ + r("h1", { attrs: { id: "vectorlayer" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#vectorlayer", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" VectorLayer") + ]), + e._v(" "), + r("h2", { attrs: { id: "props" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#props", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Props") + ]), + e._v(" "), + r("h3", { attrs: { id: "url" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#url", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("url")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("String")]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Default")]), + e._v(" "), + r("code", [e._v("undefined")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v( + " A URL to a TileJSON resource as source for this layer. Supported protocols are " + ), + r("code", [e._v("http:")]), + e._v(", "), + r("code", [e._v("https:")]), + e._v(", and "), + r("code", [e._v("mapbox://")]), + e._v(".") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("url")]), + e._v(" in "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-vector", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Source Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "tiles" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#tiles", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("tiles")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("Array")]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Default")]), + e._v(" "), + r("code", [e._v("[]")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v( + " An array of one or more tile source URLs, as in the TileJSON spec." + ) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("tiles")]), + e._v(" in "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-vector-tiles", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Source Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "tilesminzoom" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#tilesminzoom", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("tilesMinZoom")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("Number")]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Default")]), + e._v(" "), + r("code", [e._v("0")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v( + " Minimum zoom level for which tiles are available, as in the TileJSON spec." + ) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("minzoom")]), + e._v(" in "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-vector-minzoom", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Source Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "tilesmaxzoom" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#tilesmaxzoom", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("tilesMaxZoom")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("Number")]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Default")]), + e._v(" "), + r("code", [e._v("22")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v( + " Maximum zoom level for which tiles are available, as in the TileJSON spec." + ) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("maxzoom")]), + e._v(" in "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-vector-maxzoom", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Source Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "sourcelayer" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#sourcelayer", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("sourceLayer")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("String")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Required")])]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v(" Layer to use from a vector tile source.") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("source-layer")]), + e._v(" in "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#layer-source-layer", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Layer Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "bounds" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#bounds", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("bounds")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("Array")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v( + " An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order: [sw.lng, sw.lat, ne.lng, ne.lat]." + ) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("bounds")]), + e._v(" in "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-vector-bounds", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Source Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "scheme" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#scheme", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("scheme")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("String")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v(" Influences the y direction of the tile coordinates.") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("scheme")]), + e._v(" in "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-vector-scheme", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Source Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "attribution" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#attribution", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("attribution")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("String")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v( + " Contains an attribution to be displayed when the map is shown to a user." + ) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("attribution")]), + e._v(" in "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-vector-attribution", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Source Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h2", { attrs: { id: "computed-getters" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#computed-getters", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" Computed getters") + ]), + e._v(" "), + r("h3", { attrs: { id: "getsourcefeatures-filter" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#getsourcefeatures-filter", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("getSourceFeatures(filter?)")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Arguments:")]), + e._v(" "), + r("ul", [ + r("li", [ + r("code", [e._v("filter")]), + e._v(" "), + r("code", [e._v("Array")]), + e._v(" A filter to limit query results.") + ]) + ]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description")]), + e._v( + " Returns an array of GeoJSON Feature objects from assosiated source filtered by " + ), + r("code", [e._v("filter")]), + e._v(".") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See")]), + e._v(" "), + r("code", [e._v(".querySourceFeatures()")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#querysourcefeatures", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("map method"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r( + "h3", + { attrs: { id: "getrenderedfeatures-geometry-filter" } }, + [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#getrenderedfeatures-geometry-filter", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("getRenderedFeatures(geometry, filter)")]) + ] + ), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Arguments:")]), + e._v(" "), + r("ul", [ + r("li", [ + r("code", [e._v("filter")]), + e._v(" "), + r("code", [e._v("Array")]), + e._v(" A filter to limit query results.") + ]), + e._v(" "), + r("li", [ + r("code", [e._v("geometry")]), + e._v(" "), + r("code", [e._v("Array | Object")]), + e._v(" The geometry of the query region.") + ]) + ]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description")]), + e._v( + " Returns an array of visible GeoJSON Feature objects from assosiated source filtered by " + ), + r("code", [e._v("filter")]), + e._v(".") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See")]), + e._v(" "), + r("code", [e._v(".queryRenderedFeatures()")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#queryrenderedfeatures", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("map method"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h2", { attrs: { id: "methods" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#methods", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Methods") + ]), + e._v(" "), + r("h3", { attrs: { id: "setfeaturestate-featureid-state" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#setfeaturestate-featureid-state", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("setFeatureState(featureId, state)")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Arguments:")]), + e._v(" "), + r("ul", [ + r("li", [ + r("code", [e._v("featureId")]), + e._v(" "), + r("code", [e._v("String | Number")]), + e._v(" Feature identifier.") + ]), + e._v(" "), + r("li", [ + r("code", [e._v("state")]), + e._v(" "), + r("code", [e._v("Object")]), + e._v( + " A set of key-value pairs. The values should be valid JSON types." + ) + ]) + ]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description")]), + e._v( + " Sets the state of a feature. The state object is merged in with the existing state of the feature." + ) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See")]), + e._v(" "), + r("code", [e._v(".setFeatureState()")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#setfeaturestate", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("map method"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "getfeaturestate-featureid" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#getfeaturestate-featureid", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("getFeatureState(featureId)")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Arguments:")]), + e._v(" "), + r("ul", [ + r("li", [ + r("code", [e._v("featureId")]), + e._v(" "), + r("code", [e._v("String | Number")]), + e._v(" Feature identifier.") + ]) + ]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description")]), + e._v(" Gets the state of a feature.") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See")]), + e._v(" "), + r("code", [e._v(".getFeatureState()")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#getfeaturestate", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("map method"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h2", { attrs: { id: "events" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#events", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Events") + ]), + e._v(" "), + r( + "p", + [ + e._v("All common layer "), + r("router-link", { attrs: { to: "/api/Layers/#events" } }, [ + e._v("events") + ]) + ], + 1 + ) + ] + ); + }, + [], + !1, + null, + null, + null + ); + a.options.__file = "vectorlayer.md"; + t.default = a.exports; + } + } +]); diff --git a/docs/assets/js/12.a432d902.js b/docs/assets/js/12.a432d902.js new file mode 100644 index 00000000..bbfdb589 --- /dev/null +++ b/docs/assets/js/12.a432d902.js @@ -0,0 +1,417 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([ + [12], + { + 146: function(e, t, r) { + "use strict"; + r.r(t); + var a = r(17), + s = Object(a.a)( + {}, + function() { + var e = this, + t = e.$createElement, + r = e._self._c || t; + return r( + "ContentSlotsDistributor", + { attrs: { "slot-key": e.$parent.slotKey } }, + [ + r("h1", { attrs: { id: "vectorlayer" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#vectorlayer", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" VectorLayer") + ]), + e._v(" "), + r("h2", { attrs: { id: "props" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#props", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Props") + ]), + e._v(" "), + r( + "p", + [ + e._v("All common "), + r("router-link", { attrs: { to: "/api/Layers/#props" } }, [ + e._v("layers props") + ]) + ], + 1 + ), + e._v(" "), + r("h3", { attrs: { id: "source" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#source", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("source")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("Object | String")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v(" A vector tile source.") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("Vector source")]), + e._v(" in "), + r( + "a", + { + attrs: { + href: + "https://docs.mapbox.com/mapbox-gl-js/style-spec/#sources-vector", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h2", { attrs: { id: "computed-getters" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#computed-getters", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" Computed getters") + ]), + e._v(" "), + r("h3", { attrs: { id: "getsourcefeatures-filter" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#getsourcefeatures-filter", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("getSourceFeatures(filter?)")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Arguments:")]), + e._v(" "), + r("ul", [ + r("li", [ + r("code", [e._v("filter")]), + e._v(" "), + r("code", [e._v("Array")]), + e._v(" A filter to limit query results.") + ]) + ]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description")]), + e._v( + " Returns an array of GeoJSON Feature objects from assosiated source filtered by " + ), + r("code", [e._v("filter")]), + e._v(".") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See")]), + e._v(" "), + r("code", [e._v(".querySourceFeatures()")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#querysourcefeatures", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("map method"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r( + "h3", + { attrs: { id: "getrenderedfeatures-geometry-filter" } }, + [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#getrenderedfeatures-geometry-filter", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("getRenderedFeatures(geometry, filter)")]) + ] + ), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Arguments:")]), + e._v(" "), + r("ul", [ + r("li", [ + r("code", [e._v("filter")]), + e._v(" "), + r("code", [e._v("Array")]), + e._v(" A filter to limit query results.") + ]), + e._v(" "), + r("li", [ + r("code", [e._v("geometry")]), + e._v(" "), + r("code", [e._v("Array | Object")]), + e._v(" The geometry of the query region.") + ]) + ]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description")]), + e._v( + " Returns an array of visible GeoJSON Feature objects from assosiated source filtered by " + ), + r("code", [e._v("filter")]), + e._v(".") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See")]), + e._v(" "), + r("code", [e._v(".queryRenderedFeatures()")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#queryrenderedfeatures", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("map method"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h2", { attrs: { id: "methods" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#methods", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Methods") + ]), + e._v(" "), + r("h3", { attrs: { id: "setfeaturestate-featureid-state" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#setfeaturestate-featureid-state", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("setFeatureState(featureId, state)")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Arguments:")]), + e._v(" "), + r("ul", [ + r("li", [ + r("code", [e._v("featureId")]), + e._v(" "), + r("code", [e._v("String | Number")]), + e._v(" Feature identifier.") + ]), + e._v(" "), + r("li", [ + r("code", [e._v("state")]), + e._v(" "), + r("code", [e._v("Object")]), + e._v( + " A set of key-value pairs. The values should be valid JSON types." + ) + ]) + ]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description")]), + e._v( + " Sets the state of a feature. The state object is merged in with the existing state of the feature." + ) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See")]), + e._v(" "), + r("code", [e._v(".setFeatureState()")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#setfeaturestate", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("map method"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "getfeaturestate-featureid" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#getfeaturestate-featureid", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("getFeatureState(featureId)")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Arguments:")]), + e._v(" "), + r("ul", [ + r("li", [ + r("code", [e._v("featureId")]), + e._v(" "), + r("code", [e._v("String | Number")]), + e._v(" Feature identifier.") + ]) + ]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description")]), + e._v(" Gets the state of a feature.") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See")]), + e._v(" "), + r("code", [e._v(".getFeatureState()")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#getfeaturestate", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("map method"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h2", { attrs: { id: "events" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#events", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Events") + ]), + e._v(" "), + r( + "p", + [ + e._v("All common layer "), + r("router-link", { attrs: { to: "/api/Layers/#events" } }, [ + e._v("events") + ]) + ], + 1 + ) + ] + ); + }, + [], + !1, + null, + null, + null + ); + s.options.__file = "vectorlayer.md"; + t.default = s.exports; + } + } +]); diff --git a/docs/assets/js/13.a1e699b1.js b/docs/assets/js/13.a1e699b1.js new file mode 100644 index 00000000..93ed1de5 --- /dev/null +++ b/docs/assets/js/13.a1e699b1.js @@ -0,0 +1,211 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([ + [13], + { + 147: function(e, r, t) { + "use strict"; + t.r(r); + var o = t(17), + a = Object(o.a)( + {}, + function() { + var e = this, + r = e.$createElement, + t = e._self._c || r; + return t( + "ContentSlotsDistributor", + { attrs: { "slot-key": e.$parent.slotKey } }, + [ + t("h1", { attrs: { id: "canvaslayer" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#canvaslayer", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" CanvasLayer") + ]), + e._v(" "), + t("h2", { attrs: { id: "props" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#props", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Props") + ]), + e._v(" "), + t("h3", { attrs: { id: "urls" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#urls", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("urls")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Array")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Required")])]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v(" URLs to video content in order of preferred format.") + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("urls")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-video-urls", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Source Style Spec"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "coordinates" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#coordinates", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("coordinates")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Array")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Required")])]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v( + " Corners of video specified in longitude, latitude pairs." + ) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("coordinates")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-video-coordinates", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Source Style Spec"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h2", { attrs: { id: "computed-getters" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#computed-getters", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" Computed getters") + ]), + e._v(" "), + t("h3", { attrs: { id: "video" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#video", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("video")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Description")]), + e._v(" Returns the HTML video element.") + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See")]), + e._v(" "), + t("code", [e._v(".getVideo()")]), + e._v(" "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#videosource#getvideo", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("method"), t("OutboundLink")], + 1 + ) + ]) + ]) + ] + ); + }, + [], + !1, + null, + null, + null + ); + a.options.__file = "videolayer.md"; + r.default = a.exports; + } + } +]); diff --git a/docs/assets/js/13.f06a266a.js b/docs/assets/js/13.f06a266a.js new file mode 100644 index 00000000..19dd3ea6 --- /dev/null +++ b/docs/assets/js/13.f06a266a.js @@ -0,0 +1,183 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([ + [13], + { + 147: function(e, t, r) { + "use strict"; + r.r(t); + var a = r(17), + o = Object(a.a)( + {}, + function() { + var e = this, + t = e.$createElement, + r = e._self._c || t; + return r( + "ContentSlotsDistributor", + { attrs: { "slot-key": e.$parent.slotKey } }, + [ + r("h1", { attrs: { id: "canvaslayer" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#canvaslayer", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" CanvasLayer") + ]), + e._v(" "), + r("h2", { attrs: { id: "props" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#props", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Props") + ]), + e._v(" "), + r( + "p", + [ + e._v("All common "), + r("router-link", { attrs: { to: "/api/Layers/#props" } }, [ + e._v("layers props") + ]) + ], + 1 + ), + e._v(" "), + r("h3", { attrs: { id: "source" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#source", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("source")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("Object | String")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v(" A data source containing video.") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("Video source")]), + e._v(" in "), + r( + "a", + { + attrs: { + href: + "https://docs.mapbox.com/mapbox-gl-js/api/#videosource", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox API Docs"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("div", { staticClass: "tip custom-block" }, [ + r("p", { staticClass: "custom-block-title" }, [ + e._v("Reactivity") + ]), + e._v(" "), + r("p", [ + r("code", [e._v("coordinates")]), + e._v(" field of the "), + r("code", [e._v("source")]), + e._v( + " prop is reactive.\nIf you change it's value, changes automatically applied to the map." + ) + ]) + ]), + e._v(" "), + r("h2", { attrs: { id: "computed-getters" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#computed-getters", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" Computed getters") + ]), + e._v(" "), + r("h3", { attrs: { id: "video" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#video", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("video")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Description")]), + e._v(" Returns the HTML video element.") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See")]), + e._v(" "), + r("code", [e._v(".getVideo()")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#videosource#getvideo", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("method"), r("OutboundLink")], + 1 + ) + ]) + ]) + ] + ); + }, + [], + !1, + null, + null, + null + ); + o.options.__file = "videolayer.md"; + t.default = o.exports; + } + } +]); diff --git a/docs/assets/js/14.8f1778b4.js b/docs/assets/js/14.8f1778b4.js new file mode 100644 index 00000000..dfe42d7b --- /dev/null +++ b/docs/assets/js/14.8f1778b4.js @@ -0,0 +1,354 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([ + [14], + { + 148: function(t, a, s) { + "use strict"; + s.r(a); + var n = s(17), + e = Object(n.a)( + {}, + function() { + var t = this, + a = t.$createElement, + s = t._self._c || a; + return s( + "ContentSlotsDistributor", + { attrs: { "slot-key": t.$parent.slotKey } }, + [ + s("h1", { attrs: { id: "vue-mapbox-plugin" } }, [ + s( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#vue-mapbox-plugin", + "aria-hidden": "true" + } + }, + [t._v("#")] + ), + t._v(" Vue-mapbox plugin") + ]), + t._v(" "), + s( + "h2", + { attrs: { id: "register-vue-mapbox-as-vue-plugin" } }, + [ + s( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#register-vue-mapbox-as-vue-plugin", + "aria-hidden": "true" + } + }, + [t._v("#")] + ), + t._v(" Register Vue-Mapbox as Vue plugin") + ] + ), + t._v(" "), + s("div", { staticClass: "language-javascript extra-class" }, [ + s( + "pre", + { pre: !0, attrs: { class: "language-javascript" } }, + [ + s("code", [ + t._v("Vue"), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(".")] + ), + s( + "span", + { pre: !0, attrs: { class: "token function" } }, + [t._v("use")] + ), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("(")] + ), + t._v("VueMapbox"), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v(" options"), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(")")] + ), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(";")] + ), + t._v("\n") + ]) + ] + ) + ]), + s("h2", { attrs: { id: "options" } }, [ + s( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#options", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" Options") + ]), + t._v(" "), + s("h3", { attrs: { id: "mapboxgl" } }, [ + s( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#mapboxgl", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" "), + s("code", [t._v("mapboxgl")]) + ]), + t._v(" "), + s("ul", [ + s("li", [ + s("strong", [t._v("Type")]), + t._v(" "), + s("code", [t._v("Object")]) + ]), + t._v(" "), + s("li", [ + s("strong", [t._v("Description:")]), + t._v(" Mapbox GL JS module") + ]) + ]), + t._v(" "), + s("h3", { attrs: { id: "plugins" } }, [ + s( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#plugins", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" "), + s("code", [t._v("plugins")]) + ]), + t._v(" "), + s("ul", [ + s("li", [ + s("strong", [t._v("Type")]), + t._v(" "), + s("code", [t._v("Array")]) + ]), + t._v(" "), + s("li", [ + s("strong", [t._v("Description:")]), + t._v(" Vue-Mapbox Plugins") + ]) + ]), + t._v(" "), + s("h2", { attrs: { id: "example" } }, [ + s( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#example", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" Example") + ]), + t._v(" "), + s("div", { staticClass: "language-javascript extra-class" }, [ + s( + "pre", + { pre: !0, attrs: { class: "language-javascript" } }, + [ + s("code", [ + s( + "span", + { pre: !0, attrs: { class: "token keyword" } }, + [t._v("import")] + ), + t._v(" VueMapbox "), + s( + "span", + { pre: !0, attrs: { class: "token keyword" } }, + [t._v("from")] + ), + t._v(" "), + s( + "span", + { pre: !0, attrs: { class: "token string" } }, + [t._v('"vue-mapbox"')] + ), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(";")] + ), + t._v("\n"), + s( + "span", + { pre: !0, attrs: { class: "token keyword" } }, + [t._v("import")] + ), + t._v(" MapboxGeocoder "), + s( + "span", + { pre: !0, attrs: { class: "token keyword" } }, + [t._v("from")] + ), + t._v(" "), + s( + "span", + { pre: !0, attrs: { class: "token string" } }, + [t._v('"@mapbox/mapbox-gl-geocoder"')] + ), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(";")] + ), + t._v("\n"), + s( + "span", + { pre: !0, attrs: { class: "token keyword" } }, + [t._v("import")] + ), + t._v(" Mapbox "), + s( + "span", + { pre: !0, attrs: { class: "token keyword" } }, + [t._v("from")] + ), + t._v(" "), + s( + "span", + { pre: !0, attrs: { class: "token string" } }, + [t._v('"mapbox-gl"')] + ), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(";")] + ), + t._v("\n\nVue"), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(".")] + ), + s( + "span", + { pre: !0, attrs: { class: "token function" } }, + [t._v("use")] + ), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("(")] + ), + t._v("VueMapbox"), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v(" "), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("{")] + ), + t._v("\n mapboxgl"), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(":")] + ), + t._v(" Mapbox"), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v("\n plugins"), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(":")] + ), + t._v(" "), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("[")] + ), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("{")] + ), + t._v(" mapboxGeocoder"), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(":")] + ), + t._v(" MapboxGeocoder "), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("}")] + ), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("]")] + ), + t._v("\n"), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("}")] + ), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(")")] + ), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(";")] + ), + t._v("\n") + ]) + ] + ) + ]) + ] + ); + }, + [], + !1, + null, + null, + null + ); + e.options.__file = "README.md"; + a.default = e.exports; + } + } +]); diff --git a/docs/assets/js/15.87d6f021.js b/docs/assets/js/15.87d6f021.js new file mode 100644 index 00000000..8541a922 --- /dev/null +++ b/docs/assets/js/15.87d6f021.js @@ -0,0 +1,804 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([ + [15], + { + 149: function(t, o, e) { + "use strict"; + e.r(o); + var r = e(17), + a = Object(r.a)( + {}, + function() { + var t = this, + o = t.$createElement, + e = t._self._c || o; + return e( + "ContentSlotsDistributor", + { attrs: { "slot-key": t.$parent.slotKey } }, + [ + e("h1", { attrs: { id: "map-control-components" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#map-control-components", + "aria-hidden": "true" + } + }, + [t._v("#")] + ), + t._v(" Map control components") + ]), + t._v(" "), + e("h2", { attrs: { id: "attributioncontrol" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#attributioncontrol", + "aria-hidden": "true" + } + }, + [t._v("#")] + ), + t._v(" AttributionControl") + ]), + t._v(" "), + e("p", [ + t._v( + "An AttributionControl control presents the map's attribution information." + ) + ]), + t._v(" "), + e("h3", { attrs: { id: "props" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#props", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" Props") + ]), + t._v(" "), + e("h3", { attrs: { id: "compact" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#compact", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" "), + e("code", [t._v("compact")]) + ]), + t._v(" "), + e("ul", [ + e("li", [ + e("strong", [t._v("Type:")]), + t._v(" "), + e("code", [t._v("Boolean")]) + ]), + t._v(" "), + e("li", [ + e("strong", [t._v("Default:")]), + t._v(" "), + e("code", [t._v("true")]) + ]), + t._v(" "), + e("li", [e("strong", [t._v("Non-Synced")])]), + t._v(" "), + e("li", [ + e("strong", [t._v("Description:")]), + t._v(" If true force a compact attribution") + ]), + t._v(" "), + e("li", [ + e("strong", [t._v("See:")]), + t._v(" "), + e("code", [t._v("options.compact")]), + t._v(" in "), + e( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#attributioncontrol", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t._v("AttributionControl"), e("OutboundLink")], + 1 + ) + ]) + ]), + t._v(" "), + e("h3", { attrs: { id: "customattribution" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#customattribution", + "aria-hidden": "true" + } + }, + [t._v("#")] + ), + t._v(" "), + e("code", [t._v("customAttribution")]) + ]), + t._v(" "), + e("ul", [ + e("li", [ + e("strong", [t._v("Type:")]), + t._v(" "), + e("code", [t._v("string, Array?")]) + ]), + t._v(" "), + e("li", [ + e("strong", [t._v("Default:")]), + t._v(" "), + e("code", [t._v("true")]) + ]), + t._v(" "), + e("li", [e("strong", [t._v("Non-Synced")])]), + t._v(" "), + e("li", [ + e("strong", [t._v("Description:")]), + t._v( + " String or strings to show in addition to any other attributions." + ) + ]), + t._v(" "), + e("li", [ + e("strong", [t._v("See:")]), + t._v(" "), + e("code", [t._v("options.customAttribution")]), + t._v(" in "), + e( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#attributioncontrol", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t._v("AttributionControl"), e("OutboundLink")], + 1 + ) + ]) + ]), + t._v(" "), + e("h2", { attrs: { id: "fullscreencontrol" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#fullscreencontrol", + "aria-hidden": "true" + } + }, + [t._v("#")] + ), + t._v(" FullscreenControl") + ]), + t._v(" "), + e("p", [ + t._v("Creates a button on the map to toggle fulscreen mode.") + ]), + t._v(" "), + e("h2", { attrs: { id: "geolocatecontrol" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#geolocatecontrol", + "aria-hidden": "true" + } + }, + [t._v("#")] + ), + t._v(" GeolocateControl") + ]), + t._v(" "), + e("p", [ + t._v( + "Provides a button that uses the browser's geolocation API to locate the user on the map." + ) + ]), + t._v(" "), + e("h3", { attrs: { id: "props-2" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#props-2", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" Props") + ]), + t._v(" "), + e("h3", { attrs: { id: "positionoptions" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#positionoptions", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" "), + e("code", [t._v("positionOptions")]) + ]), + t._v(" "), + e("ul", [ + e("li", [ + e("strong", [t._v("Type:")]), + t._v(" "), + e("code", [t._v("Object")]) + ]), + t._v(" "), + e("li", [ + e("strong", [t._v("Default:")]), + t._v(" "), + e("code", [ + t._v("{ enableHighAccuracy: false, timeout: 6000}") + ]) + ]), + t._v(" "), + e("li", [e("strong", [t._v("Non-Synced")])]), + t._v(" "), + e("li", [ + e("strong", [t._v("Description:")]), + t._v(" A Geolocation API PositionOptions object.") + ]), + t._v(" "), + e("li", [ + e("strong", [t._v("See:")]), + t._v(" "), + e("code", [t._v("options.positionOptions")]), + t._v(" in "), + e( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#geolocatecontrol", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t._v("GeolocateControl"), e("OutboundLink")], + 1 + ) + ]) + ]), + t._v(" "), + e("h3", { attrs: { id: "fitboundsoptions" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#fitboundsoptions", + "aria-hidden": "true" + } + }, + [t._v("#")] + ), + t._v(" "), + e("code", [t._v("fitBoundsOptions")]) + ]), + t._v(" "), + e("ul", [ + e("li", [ + e("strong", [t._v("Type:")]), + t._v(" "), + e("code", [t._v("Object")]) + ]), + t._v(" "), + e("li", [ + e("strong", [t._v("Default:")]), + t._v(" "), + e("code", [t._v("{ maxZoom:15 }")]) + ]), + t._v(" "), + e("li", [e("strong", [t._v("Non-Synced")])]), + t._v(" "), + e("li", [ + e("strong", [t._v("Description:")]), + t._v( + " A fitBounds options object to use when the map is panned and zoomed to the user's location." + ) + ]), + t._v(" "), + e("li", [ + e("strong", [t._v("See:")]), + t._v(" "), + e("code", [t._v("options.fitBoundsOptions")]), + t._v(" in "), + e( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#geolocatecontrol", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t._v("GeolocateControl"), e("OutboundLink")], + 1 + ) + ]) + ]), + t._v(" "), + e("h3", { attrs: { id: "trackuserlocation" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#trackuserlocation", + "aria-hidden": "true" + } + }, + [t._v("#")] + ), + t._v(" "), + e("code", [t._v("trackUserLocation")]) + ]), + t._v(" "), + e("ul", [ + e("li", [ + e("strong", [t._v("Type:")]), + t._v(" "), + e("code", [t._v("Boolean")]) + ]), + t._v(" "), + e("li", [ + e("strong", [t._v("Default:")]), + t._v(" "), + e("code", [t._v("false")]) + ]), + t._v(" "), + e("li", [e("strong", [t._v("Non-Synced")])]), + t._v(" "), + e("li", [ + e("strong", [t._v("Description:")]), + t._v( + " If true the Geolocate Control becomes a toggle button and when active the map will receive updates to the user's location as it changes.to the user's location." + ) + ]), + t._v(" "), + e("li", [ + e("strong", [t._v("See:")]), + t._v(" "), + e("code", [t._v("options.trackUserLocation")]), + t._v(" in "), + e( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#geolocatecontrol", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t._v("GeolocateControl"), e("OutboundLink")], + 1 + ) + ]) + ]), + t._v(" "), + e("h3", { attrs: { id: "showuserlocation" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#showuserlocation", + "aria-hidden": "true" + } + }, + [t._v("#")] + ), + t._v(" "), + e("code", [t._v("showUserLocation")]) + ]), + t._v(" "), + e("ul", [ + e("li", [ + e("strong", [t._v("Type:")]), + t._v(" "), + e("code", [t._v("Boolean")]) + ]), + t._v(" "), + e("li", [ + e("strong", [t._v("Default:")]), + t._v(" "), + e("code", [t._v("true")]) + ]), + t._v(" "), + e("li", [e("strong", [t._v("Non-Synced")])]), + t._v(" "), + e("li", [ + e("strong", [t._v("Description:")]), + t._v( + " By default a dot will be shown on the map at the user's location. Set to false to disable." + ) + ]), + t._v(" "), + e("li", [ + e("strong", [t._v("See:")]), + t._v(" "), + e("code", [t._v("options.showUserLocation")]), + t._v(" in "), + e( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#geolocatecontrol", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t._v("GeolocateControl"), e("OutboundLink")], + 1 + ) + ]) + ]), + t._v(" "), + e("h3", { attrs: { id: "methods" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#methods", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" Methods") + ]), + t._v(" "), + e("h3", { attrs: { id: "trigger" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#trigger", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" "), + e("code", [t._v(".trigger()")]) + ]), + t._v(" "), + e("ul", [ + e("li", [ + e("strong", [t._v("Description:")]), + t._v(" Trigger a geolocation") + ]), + t._v(" "), + e("li", [ + e("strong", [t._v("Returns:")]), + t._v(" "), + e("code", [t._v("boolean")]) + ]), + t._v(" "), + e("li", [ + e("strong", [t._v("See:")]), + t._v(" "), + e( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#geolocatecontrol#trigger", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t._v("trigger"), e("OutboundLink")], + 1 + ), + t._v(" GeolocateControl method") + ]) + ]), + t._v(" "), + e("h2", { attrs: { id: "navigationcontrol" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#navigationcontrol", + "aria-hidden": "true" + } + }, + [t._v("#")] + ), + t._v(" NavigationControl") + ]), + t._v(" "), + e("h3", { attrs: { id: "props-3" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#props-3", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" Props") + ]), + t._v(" "), + e("h3", { attrs: { id: "showcompass" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#showcompass", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" "), + e("code", [t._v("showCompass")]) + ]), + t._v(" "), + e("ul", [ + e("li", [ + e("strong", [t._v("Type:")]), + t._v(" "), + e("code", [t._v("Boolean")]) + ]), + t._v(" "), + e("li", [ + e("strong", [t._v("Default:")]), + t._v(" "), + e("code", [t._v("true")]) + ]), + t._v(" "), + e("li", [e("strong", [t._v("Non-Synced")])]), + t._v(" "), + e("li", [ + e("strong", [t._v("Description:")]), + t._v(" If true the compass button is included.") + ]), + t._v(" "), + e("li", [ + e("strong", [t._v("See:")]), + t._v(" "), + e("code", [t._v("options.showCompass")]), + t._v(" in "), + e( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#navigationcontrol", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t._v("NavigationControl"), e("OutboundLink")], + 1 + ) + ]) + ]), + t._v(" "), + e("h3", { attrs: { id: "showzoom" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#showzoom", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" "), + e("code", [t._v("showZoom")]) + ]), + t._v(" "), + e("ul", [ + e("li", [ + e("strong", [t._v("Type:")]), + t._v(" "), + e("code", [t._v("Boolean")]) + ]), + t._v(" "), + e("li", [ + e("strong", [t._v("Default:")]), + t._v(" "), + e("code", [t._v("true")]) + ]), + t._v(" "), + e("li", [e("strong", [t._v("Non-Synced")])]), + t._v(" "), + e("li", [ + e("strong", [t._v("Description:")]), + t._v( + " If true the zoom-in and zoom-out buttons are included." + ) + ]), + t._v(" "), + e("li", [ + e("strong", [t._v("See:")]), + t._v(" "), + e("code", [t._v("options.showZoom")]), + t._v(" in "), + e( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#navigationcontrol", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t._v("NavigationControl"), e("OutboundLink")], + 1 + ) + ]) + ]), + t._v(" "), + e("h2", { attrs: { id: "scalecontrol" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#scalecontrol", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" ScaleControl") + ]), + t._v(" "), + e("h3", { attrs: { id: "props-4" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#props-4", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" Props") + ]), + t._v(" "), + e("h3", { attrs: { id: "maxwidth" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#maxwidth", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" "), + e("code", [t._v("maxWidth")]) + ]), + t._v(" "), + e("ul", [ + e("li", [ + e("strong", [t._v("Type:")]), + t._v(" "), + e("code", [t._v("Number")]) + ]), + t._v(" "), + e("li", [ + e("strong", [t._v("Default:")]), + t._v(" "), + e("code", [t._v("100")]) + ]), + t._v(" "), + e("li", [e("strong", [t._v("Non-Synced")])]), + t._v(" "), + e("li", [ + e("strong", [t._v("Description:")]), + t._v(" The maximum length of the scale control in pixels.") + ]), + t._v(" "), + e("li", [ + e("strong", [t._v("See:")]), + t._v(" "), + e("code", [t._v("options.maxWidth")]), + t._v(" in "), + e( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#scalecontrol", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t._v("ScaleControl"), e("OutboundLink")], + 1 + ) + ]) + ]), + t._v(" "), + e("h3", { attrs: { id: "unit" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#unit", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" "), + e("code", [t._v("unit")]) + ]), + t._v(" "), + e("ul", [ + e("li", [ + e("strong", [t._v("Type:")]), + t._v(" "), + e("code", [ + t._v('String, "imperial" | "metric" | "nautical"') + ]) + ]), + t._v(" "), + e("li", [ + e("strong", [t._v("Default:")]), + t._v(" "), + e("code", [t._v("metric")]) + ]), + t._v(" "), + e("li", [e("strong", [t._v("Non-Synced")])]), + t._v(" "), + e("li", [ + e("strong", [t._v("Description:")]), + t._v(" Unit of the distance") + ]), + t._v(" "), + e("li", [ + e("strong", [t._v("See:")]), + t._v(" "), + e("code", [t._v("options.unit")]), + t._v(" in "), + e( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#scalecontrol", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t._v("ScaleControl"), e("OutboundLink")], + 1 + ) + ]) + ]) + ] + ); + }, + [], + !1, + null, + null, + null + ); + a.options.__file = "controls.md"; + o.default = a.exports; + } + } +]); diff --git a/docs/assets/js/16.9d99c77c.js b/docs/assets/js/16.a8a8ffba.js similarity index 99% rename from docs/assets/js/16.9d99c77c.js rename to docs/assets/js/16.a8a8ffba.js index 4838c54c..13d70dc6 100644 --- a/docs/assets/js/16.9d99c77c.js +++ b/docs/assets/js/16.a8a8ffba.js @@ -1,10 +1,10 @@ (window.webpackJsonp = window.webpackJsonp || []).push([ [16], { - 142: function(e, t, o) { + 152: function(e, t, o) { "use strict"; o.r(t); - var a = o(15), + var a = o(17), n = Object(a.a)( {}, function() { diff --git a/docs/assets/js/17.80a74ab9.js b/docs/assets/js/17.5c0689e2.js similarity index 99% rename from docs/assets/js/17.80a74ab9.js rename to docs/assets/js/17.5c0689e2.js index d36ea25e..6d49d44a 100644 --- a/docs/assets/js/17.80a74ab9.js +++ b/docs/assets/js/17.5c0689e2.js @@ -1,10 +1,10 @@ (window.webpackJsonp = window.webpackJsonp || []).push([ [17], { - 141: function(e, r, t) { + 151: function(e, r, t) { "use strict"; t.r(r); - var a = t(15), + var a = t(17), o = Object(a.a)( {}, function() { diff --git a/docs/assets/js/18.8560ce56.js b/docs/assets/js/18.35858227.js similarity index 99% rename from docs/assets/js/18.8560ce56.js rename to docs/assets/js/18.35858227.js index 78a57b5d..9fba3a98 100644 --- a/docs/assets/js/18.8560ce56.js +++ b/docs/assets/js/18.35858227.js @@ -1,10 +1,10 @@ (window.webpackJsonp = window.webpackJsonp || []).push([ [18], { - 145: function(t, e, o) { + 155: function(t, e, o) { "use strict"; o.r(e); - var a = o(15), + var a = o(17), r = Object(a.a)( {}, function() { diff --git a/docs/assets/js/19.c796bb7a.js b/docs/assets/js/19.ff4d9bfa.js similarity index 90% rename from docs/assets/js/19.c796bb7a.js rename to docs/assets/js/19.ff4d9bfa.js index d80f92fb..96904c4f 100644 --- a/docs/assets/js/19.c796bb7a.js +++ b/docs/assets/js/19.ff4d9bfa.js @@ -1,10 +1,10 @@ (window.webpackJsonp = window.webpackJsonp || []).push([ [19], { - 147: function(t, a, s) { + 157: function(t, a, s) { "use strict"; s.r(a); - var n = s(15), + var n = s(17), e = Object(n.a)( {}, function() { @@ -125,7 +125,7 @@ [t._v('"')] ), t._v( - "https://api.tiles.mapbox.com/mapbox-gl-js/v0.51.0/mapbox-gl.css" + "https://api.tiles.mapbox.com/mapbox-gl-js/v0.53.0/mapbox-gl.css" ), s( "span", @@ -558,7 +558,106 @@ [t._v('"')] ), t._v( - "https://api.tiles.mapbox.com/mapbox-gl-js/v0.51.0/mapbox-gl.css" + "https://api.tiles.mapbox.com/mapbox-gl-js/v0.53.0/mapbox-gl.css" + ), + s( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v("\n "), + s( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v("rel")] + ), + s( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + s( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + s( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("stylesheet"), + s( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v("\n "), + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("/>")] + ) + ]), + t._v("\n "), + s( + "span", + { pre: !0, attrs: { class: "token comment" } }, + [t._v("\x3c!-- Vue-mapbox CSS --\x3e")] + ), + t._v("\n "), + s("span", { pre: !0, attrs: { class: "token tag" } }, [ + s("span", { pre: !0, attrs: { class: "token tag" } }, [ + s( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("<")] + ), + t._v("link") + ]), + t._v("\n "), + s( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v("href")] + ), + s( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + s( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + s( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v( + "https://cdn.jsdelivr.net/npm/vue-mapbox@latest/dist/vue-mapbox.css" ), s( "span", @@ -657,7 +756,7 @@ [t._v('"')] ), t._v( - "https://api.tiles.mapbox.com/mapbox-gl-js/v0.51.0/mapbox-gl.js" + "https://api.tiles.mapbox.com/mapbox-gl-js/v0.53.0/mapbox-gl.js" ), s( "span", diff --git a/docs/assets/js/2.177f9afd.js b/docs/assets/js/2.ae9d6b36.js similarity index 98% rename from docs/assets/js/2.177f9afd.js rename to docs/assets/js/2.ae9d6b36.js index 5f6e3f0b..d39c5771 100644 --- a/docs/assets/js/2.177f9afd.js +++ b/docs/assets/js/2.ae9d6b36.js @@ -1,6 +1,6 @@ (window.webpackJsonp = window.webpackJsonp || []).push([ [2], - Array(92).concat([ + Array(102).concat([ function(t, e, n) {}, function(t, e, n) {}, function(t, e, n) {}, @@ -16,7 +16,7 @@ function(t, e, n) {}, , function(t, e, n) { - n(107)("match", 1, function(t, e, n) { + n(117)("match", 1, function(t, e, n) { return [ function(n) { "use strict"; @@ -30,11 +30,11 @@ }, function(t, e, n) { "use strict"; - var i = n(8), - s = n(11), - r = n(7), - a = n(17), - o = n(1); + var i = n(10), + s = n(13), + r = n(9), + a = n(19), + o = n(2); t.exports = function(t, e, n) { var u = o(t), l = n(a, u, ""[t]), @@ -64,7 +64,7 @@ }; }, function(t, e, n) { - n(107)("replace", 2, function(t, e, n) { + n(117)("replace", 2, function(t, e, n) { return [ function(i, s) { "use strict"; @@ -335,16 +335,16 @@ }, function(t, e, n) { "use strict"; - n(112)("link", function(t) { + n(122)("link", function(t) { return function(e) { return t(this, "a", "href", e); }; }); }, function(t, e, n) { - var i = n(9), - s = n(7), - r = n(17), + var i = n(5), + s = n(9), + r = n(19), a = /"/g, o = function(t, e, n, i) { var s = String(r(t)), @@ -372,26 +372,26 @@ }, function(t, e, n) { "use strict"; - var i = n(92); + var i = n(102); n.n(i).a; }, function(t, e, n) { "use strict"; - var i = n(93); + var i = n(103); n.n(i).a; }, function(t, e, n) { "use strict"; - var i = n(94); + var i = n(104); n.n(i).a; }, function(t, e, n) { - var i = n(2), - s = n(57), - r = n(4).f, - a = n(55).f, - o = n(54), - u = n(117), + var i = n(1), + s = n(66), + r = n(6).f, + a = n(65).f, + o = n(64), + u = n(127), l = i.RegExp, c = l, p = l.prototype, @@ -399,11 +399,11 @@ f = /a/g, d = new l(h) !== h; if ( - n(6) && + n(7) && (!d || - n(7)(function() { + n(9)(function() { return ( - (f[n(1)("match")] = !1), + (f[n(2)("match")] = !1), l(h) != h || l(f) == f || "/a/i" != l(h, "i") ); })) @@ -444,13 +444,13 @@ ) v(g[m++]); - (p.constructor = l), (l.prototype = p), n(11)(i, "RegExp", l); + (p.constructor = l), (l.prototype = p), n(13)(i, "RegExp", l); } - n(56)("RegExp"); + n(41)("RegExp"); }, function(t, e, n) { "use strict"; - var i = n(5); + var i = n(4); t.exports = function() { var t = i(this), e = ""; @@ -466,52 +466,52 @@ }, function(t, e, n) { "use strict"; - var i = n(95); + var i = n(105); n.n(i).a; }, function(t, e, n) { "use strict"; - var i = n(96); + var i = n(106); n.n(i).a; }, function(t, e, n) { "use strict"; - var i = n(97); + var i = n(107); n.n(i).a; }, function(t, e, n) { "use strict"; - var i = n(98); + var i = n(108); n.n(i).a; }, function(t, e, n) { "use strict"; - var i = n(99); + var i = n(109); n.n(i).a; }, function(t, e, n) { "use strict"; - var i = n(100); + var i = n(110); n.n(i).a; }, function(t, e, n) { "use strict"; - var i = n(101); + var i = n(111); n.n(i).a; }, function(t, e, n) { "use strict"; - var i = n(102); + var i = n(112); n.n(i).a; }, function(t, e, n) { "use strict"; - var i = n(103); + var i = n(113); n.n(i).a; }, function(t, e, n) { "use strict"; - var i = n(104); + var i = n(114); n.n(i).a; }, , @@ -519,9 +519,9 @@ "use strict"; n.r(e); var i = n(0), - s = n(110), + s = n(120), r = n.n(s); - n(16), n(34), n(111); + n(18), n(40), n(121); const a = /#.*$/, o = /\.(md|html)$/, u = /\/$/, @@ -673,7 +673,7 @@ } } }, - _ = n(15), + _ = n(17), k = Object(_.a)( b, function() { @@ -729,7 +729,7 @@ } } }, - $ = (n(113), + $ = (n(123), Object(_.a)( x, function() { @@ -813,7 +813,7 @@ )); $.options.__file = "Home.vue"; var y = $.exports, - S = (n(114), + S = (n(124), Object(_.a)( {}, function() { @@ -863,8 +863,8 @@ )); S.options.__file = "SidebarButton.vue"; var w = S.exports, - L = (n(106), - n(33), + L = (n(116), + n(39), { data: function() { return { query: "", focused: !1, focusIndex: 0 }; @@ -960,7 +960,7 @@ } } }), - O = (n(115), + O = (n(125), Object(_.a)( L, function() { @@ -1076,8 +1076,8 @@ )); O.options.__file = "SearchBox.vue"; var E = O.exports, - T = (n(116), n(22)), - I = (n(108), + T = (n(126), n(25)), + I = (n(118), { name: "DropdownTransition", methods: { @@ -1089,7 +1089,7 @@ } } }), - N = (n(118), + N = (n(128), Object(_.a)( I, function() { @@ -1128,7 +1128,7 @@ } } }, - U = (n(119), + U = (n(129), Object(_.a)( P, function() { @@ -1278,7 +1278,7 @@ } } }, - D = (n(120), + D = (n(130), Object(_.a)( A, function() { @@ -1378,7 +1378,7 @@ } } }, - B = (n(121), + B = (n(131), Object(_.a)( R, function() { @@ -1549,7 +1549,7 @@ } } }, - z = (n(122), + z = (n(132), Object(_.a)( G, function() { @@ -1729,7 +1729,7 @@ : c; } }, - F = (n(123), Object(_.a)(Y, void 0, void 0, !1, null, null, null)); + F = (n(133), Object(_.a)(Y, void 0, void 0, !1, null, null, null)); F.options.__file = "SidebarLink.vue"; var K = F.exports, Q = { @@ -1737,7 +1737,7 @@ props: ["item", "first", "open", "collapsable"], components: { SidebarLink: K, DropdownTransition: j } }, - Z = (n(124), + Z = (n(134), Object(_.a)( Q, function() { @@ -1840,7 +1840,7 @@ } } }, - et = (n(125), + et = (n(135), Object(_.a)( tt, function() { @@ -1973,8 +1973,8 @@ } } }, - it = (n(126), - n(127), + it = (n(136), + n(137), Object(_.a)( nt, function() { diff --git a/docs/assets/js/20.6013db72.js b/docs/assets/js/20.db1c492c.js similarity index 99% rename from docs/assets/js/20.6013db72.js rename to docs/assets/js/20.db1c492c.js index 18a8ee27..2aebf56e 100644 --- a/docs/assets/js/20.6013db72.js +++ b/docs/assets/js/20.db1c492c.js @@ -1,10 +1,10 @@ (window.webpackJsonp = window.webpackJsonp || []).push([ [20], { - 149: function(t, a, s) { + 159: function(t, a, s) { "use strict"; s.r(a); - var n = s(15), + var n = s(17), e = Object(n.a)( {}, function() { diff --git a/docs/assets/js/21.d0158e4b.js b/docs/assets/js/21.c1b912ca.js similarity index 99% rename from docs/assets/js/21.d0158e4b.js rename to docs/assets/js/21.c1b912ca.js index 3126841e..77f854a2 100644 --- a/docs/assets/js/21.d0158e4b.js +++ b/docs/assets/js/21.c1b912ca.js @@ -1,10 +1,10 @@ (window.webpackJsonp = window.webpackJsonp || []).push([ [21], { - 151: function(t, a, s) { + 161: function(t, a, s) { "use strict"; s.r(a); - var n = s(15), + var n = s(17), p = Object(n.a)( {}, function() { diff --git a/docs/assets/js/22.16da5fc3.js b/docs/assets/js/22.59e3ecd5.js similarity index 99% rename from docs/assets/js/22.16da5fc3.js rename to docs/assets/js/22.59e3ecd5.js index 23a4b27e..64ef718c 100644 --- a/docs/assets/js/22.16da5fc3.js +++ b/docs/assets/js/22.59e3ecd5.js @@ -1,10 +1,10 @@ (window.webpackJsonp = window.webpackJsonp || []).push([ [22], { - 132: function(t, a, s) { + 142: function(t, a, s) { "use strict"; s.r(a); - var n = s(15), + var n = s(17), e = Object(n.a)( {}, function() { diff --git a/docs/assets/js/23.1ec2298a.js b/docs/assets/js/23.1ec2298a.js new file mode 100644 index 00000000..89792d7b --- /dev/null +++ b/docs/assets/js/23.1ec2298a.js @@ -0,0 +1,964 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([ + [23], + { + 160: function(t, a, e) { + "use strict"; + e.r(a); + var s = e(17), + n = Object(s.a)( + {}, + function() { + var t = this, + a = t.$createElement, + e = t._self._c || a; + return e( + "ContentSlotsDistributor", + { attrs: { "slot-key": t.$parent.slotKey } }, + [ + e("h1", { attrs: { id: "layers-and-sources" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#layers-and-sources", + "aria-hidden": "true" + } + }, + [t._v("#")] + ), + t._v(" Layers and sources") + ]), + t._v(" "), + e("h2", { attrs: { id: "adding-layers" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#adding-layers", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" Adding layers") + ]), + t._v(" "), + e("p", [ + t._v( + "Geographic features on the map draws as layers.\nLayer use " + ), + e("code", [t._v("source")]), + t._v( + " object that contains data for layer (for example, GeoJSON object). Source must be added to map and several layers can use common " + ), + e("code", [t._v("source")]), + t._v( + " and draw it's data differently.\nAlso, layer has own configuration object that declares how layer draws on the map. You can read more about sources in Mapbox GL JS docs for " + ), + e( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#sources", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t._v("sources"), e("OutboundLink")], + 1 + ), + t._v(" ans "), + e( + "a", + { + attrs: { + href: "https://www.mapbox.com/mapbox-gl-js/api/#layers", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t._v("layers"), e("OutboundLink")], + 1 + ), + t._v(".") + ]), + t._v(" "), + e("p", [ + t._v("Vue-mapbox exposes layers as Vue components.\n"), + e("code", [t._v("source")]), + t._v(" and "), + e("code", [t._v("layer")]), + t._v( + " configuration object passed to layer component as props. There is several layers types for drawing different types of sources.\nFor example adding a layer with GeoJSON data:" + ) + ]), + t._v(" "), + e("div", { staticClass: "language-vue extra-class" }, [ + e("pre", { pre: !0, attrs: { class: "language-vue" } }, [ + e("code", [ + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("<")] + ), + t._v("template") + ]), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(">")] + ) + ]), + t._v("\n "), + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("<")] + ), + t._v("MglMap") + ]), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v(":accessToken")] + ), + e( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("accessToken"), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v(":mapStyle.sync")] + ), + e( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("mapStyle"), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(">")] + ) + ]), + t._v("\n "), + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("<")] + ), + t._v("MglNavigationControl") + ]), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v("position")] + ), + e( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("top-right"), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("/>")] + ) + ]), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token comment" } }, + [t._v("\x3c!-- Adding navigation control --\x3e")] + ), + t._v("\n "), + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("<")] + ), + t._v("MglGeojsonLayer") + ]), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v(":sourceId")] + ), + e( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("geoJsonSource.id"), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v("layerId")] + ), + e( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("myLayer"), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v(":source")] + ), + e( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("geoJsonSource"), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v(":layer")] + ), + e( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("geoJsonlayer"), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("/>")] + ) + ]), + t._v("\n "), + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("")] + ) + ]), + t._v("\n"), + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("")] + ) + ]), + t._v("\n\n"), + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("<")] + ), + t._v("script") + ]), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(">")] + ) + ]), + e( + "span", + { + pre: !0, + attrs: { class: "token script language-javascript" } + }, + [ + t._v("\n"), + e( + "span", + { pre: !0, attrs: { class: "token keyword" } }, + [t._v("import")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("{")] + ), + t._v(" MglMap"), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v(" MglNavigationControl"), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v(" MglGeojsonLayer "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("}")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token keyword" } }, + [t._v("from")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token string" } }, + [t._v('"vue-mapbox"')] + ), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(";")] + ), + t._v("\n\n"), + e( + "span", + { pre: !0, attrs: { class: "token keyword" } }, + [t._v("export")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token keyword" } }, + [t._v("default")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("{")] + ), + t._v("\n components"), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(":")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("{")] + ), + t._v("\n MglMap"), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v("\n MglNavigationControl"), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v("\n MglGeojsonLayer\n "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("}")] + ), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token function" } }, + [t._v("data")] + ), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("(")] + ), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(")")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("{")] + ), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token keyword" } }, + [t._v("return")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("{")] + ), + t._v("\n accessToken"), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(":")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token string" } }, + [t._v('"some_token"')] + ), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v("\n mapStyle"), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(":")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token string" } }, + [t._v('"style_object"')] + ), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v("\n geoJsonSource"), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(":")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("{")] + ), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token comment" } }, + [t._v("//...some GeoJSON object")] + ), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("}")] + ), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v("\n geoJsonLayer"), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(":")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("{")] + ), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token comment" } }, + [ + t._v( + "//...some GeoJSON layer configuration object" + ) + ] + ), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("}")] + ), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("}")] + ), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(";")] + ), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("}")] + ), + t._v("\n"), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("}")] + ), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(";")] + ), + t._v("\n") + ] + ), + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("")] + ) + ]), + t._v("\n") + ]) + ]) + ]), + e("p", [ + t._v("In this example "), + e("code", [t._v("geoJsonSource")]), + t._v(" can be an "), + e("code", [t._v("object")]), + t._v(", representing GeoJSON feature or "), + e("code", [t._v("string")]), + t._v(" with URL to GeoJSON.") + ]), + t._v(" "), + e("p", [ + t._v("Sources are stored in Mapbox GL JS "), + e("code", [t._v("Map")]), + t._v(" object by "), + e("code", [t._v("sourceId")]), + t._v( + ". If you sure that source already added to map, you can skip " + ), + e("code", [t._v("source")]), + t._v(" prop and just pass "), + e("code", [t._v("sourceId")]), + t._v( + " and use same source for different layers. If you try to add same source with same " + ), + e("code", [t._v("id")]), + t._v(" twice, VueMapbox would just use "), + e("code", [t._v("source")]), + t._v(" that already existed on the map, but you can set "), + e("code", [t._v("replaceSource")]), + t._v(" prop to "), + e("code", [t._v("true")]), + t._v(" to just replace old source with new one passed in "), + e("code", [t._v("source")]), + t._v(" prop.") + ]), + t._v(" "), + e("p", [ + t._v( + "By default when Layer components destroying, it removes source from map. If you want to keep source in Map (for e.g. for future using or if other layers use this source), set " + ), + e("code", [t._v("clearSource")]), + t._v(" prop to "), + e("code", [t._v("false")]), + t._v(".") + ]), + t._v(" "), + e("h2", { attrs: { id: "reactivity" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#reactivity", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" Reactivity") + ]), + t._v(" "), + e("p", [ + t._v( + "Layer components watch for changes in object in their " + ), + e("code", [t._v("layer")]), + t._v( + " prop and translate changes to map accordingly. For example, if you change content of " + ), + e("code", [t._v("filter")]), + t._v( + " prop in GeojsonLayer, changes will be automatically applied to layer on the map. Not all layer settings can be set dynamically, currently reactive properties are " + ), + e("code", [t._v("minzoom")]), + t._v(", "), + e("code", [t._v("maxzoom")]), + t._v(", "), + e("code", [t._v("paint")]), + t._v(", "), + e("code", [t._v("layout")]), + t._v(" and "), + e("code", [t._v("filter")]), + t._v(".") + ]), + t._v(" "), + e("h2", { attrs: { id: "layer-getters" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#layer-getters", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" Layer getters") + ]), + t._v(" "), + e("p", [ + t._v( + "GeoJSON and Vector layers has getters for their features: " + ), + e("code", [t._v(".getRenderedFeatures(filter?)")]), + t._v(", "), + e("code", [t._v(".getSourceFeatures(geometry?, filter?)")]), + t._v(" and "), + e("code", [t._v(".getFeatureState(featureId)")]), + t._v(". They works similar to "), + e( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#queryrenderedfeatures", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [ + e("code", [t._v(".queryRenderedFeatures()")]), + e("OutboundLink") + ], + 1 + ), + t._v(" and "), + e( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#querysourcefeatures", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [ + e("code", [t._v(".querySourceFeatures()")]), + e("OutboundLink") + ], + 1 + ), + t._v( + " Map methods, but returns features only from source of current layer." + ) + ]), + t._v(" "), + e("h2", { attrs: { id: "layer-methods" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#layer-methods", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" Layer methods") + ]), + t._v(" "), + e("p", [ + t._v("Layer components has methods "), + e("code", [t._v("move()")]), + t._v(" and "), + e("code", [t._v("remove()")]), + t._v( + ".\nFirst moves a layer to a different z-position. Second destroys component and removes layer and source from map event if layer created with prop " + ), + e("code", [t._v("clearSource: false")]), + t._v(".") + ]), + t._v(" "), + e("h2", { attrs: { id: "layer-events" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#layer-events", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" Layer events") + ]), + t._v(" "), + e( + "p", + [ + t._v( + "Layers emits events when loading data or on user interaction like " + ), + e("code", [t._v("click")]), + t._v(". See full list of events in "), + e("router-link", { attrs: { to: "/api/Layers/#events" } }, [ + t._v("API section") + ]) + ], + 1 + ) + ] + ); + }, + [], + !1, + null, + null, + null + ); + n.options.__file = "layers&sources.md"; + a.default = n.exports; + } + } +]); diff --git a/docs/assets/js/23.37903cf9.js b/docs/assets/js/23.37903cf9.js new file mode 100644 index 00000000..e4ce45ba --- /dev/null +++ b/docs/assets/js/23.37903cf9.js @@ -0,0 +1,860 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([ + [23], + { + 160: function(t, a, e) { + "use strict"; + e.r(a); + var s = e(17), + n = Object(s.a)( + {}, + function() { + var t = this, + a = t.$createElement, + e = t._self._c || a; + return e( + "ContentSlotsDistributor", + { attrs: { "slot-key": t.$parent.slotKey } }, + [ + e("h1", { attrs: { id: "layers-and-sources" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#layers-and-sources", + "aria-hidden": "true" + } + }, + [t._v("#")] + ), + t._v(" Layers and sources") + ]), + t._v(" "), + e("h2", { attrs: { id: "adding-layers" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#adding-layers", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" Adding layers") + ]), + t._v(" "), + e("p", [ + t._v( + "Geographic features on the map draws as layers. Every layer must have a source which contains data for layer (for exmaple, GeoJSON object). You can read more about sources in Mapbox GL JS " + ), + e( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#sources", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t._v("docs"), e("OutboundLink")], + 1 + ), + t._v(".") + ]), + t._v(" "), + e("p", [ + t._v( + "Vue-mapbox exposes layers as Vue components and source passed to layer as prop. There is several layers types for drawning different types of sources.\nFor example adding a layer with GeoJSON data:" + ) + ]), + t._v(" "), + e("div", { staticClass: "language-vue extra-class" }, [ + e("pre", { pre: !0, attrs: { class: "language-vue" } }, [ + e("code", [ + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("<")] + ), + t._v("template") + ]), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(">")] + ) + ]), + t._v("\n "), + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("<")] + ), + t._v("MglMap") + ]), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v(":accessToken")] + ), + e( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("accessToken"), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v(":mapStyle.sync")] + ), + e( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("mapStyle"), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(">")] + ) + ]), + t._v("\n "), + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("<")] + ), + t._v("MglNavigationControl") + ]), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v("position")] + ), + e( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("top-right"), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("/>")] + ) + ]), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token comment" } }, + [t._v("\x3c!-- Adding navigation control --\x3e")] + ), + t._v("\n "), + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("<")] + ), + t._v("MglGeojsonLayer") + ]), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v("type")] + ), + e( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("fill"), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v(":sourceId")] + ), + e( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("geoJsonSource.properties.id"), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v(":layerId")] + ), + e( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("geoJsonSource.properties.id"), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v(":source.sync")] + ), + e( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("geoJsonSource"), + e( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("/>")] + ) + ]), + t._v("\n "), + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("")] + ) + ]), + t._v("\n"), + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e("span", { pre: !0, attrs: { class: "token tag" } }, [ + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("")] + ) + ]), + t._v("\n") + ]) + ]) + ]), + e("div", { staticClass: "language-javascript extra-class" }, [ + e( + "pre", + { pre: !0, attrs: { class: "language-javascript" } }, + [ + e("code", [ + e( + "span", + { pre: !0, attrs: { class: "token keyword" } }, + [t._v("import")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("{")] + ), + t._v(" MglMap"), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v(" MglNavigationControl"), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v(" MglGeojsonLayer "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("}")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token keyword" } }, + [t._v("from")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token string" } }, + [t._v('"vue-mapbox"')] + ), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(";")] + ), + t._v("\n\n"), + e( + "span", + { pre: !0, attrs: { class: "token keyword" } }, + [t._v("export")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token keyword" } }, + [t._v("default")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("{")] + ), + t._v("\n components"), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(":")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("{")] + ), + t._v("\n MglMap"), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v("\n MglNavigationControl"), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v("\n MglGeojsonLayer\n "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("}")] + ), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token function" } }, + [t._v("data")] + ), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("(")] + ), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(")")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("{")] + ), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token keyword" } }, + [t._v("return")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("{")] + ), + t._v("\n accessToken"), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(":")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token string" } }, + [t._v('"some_token"')] + ), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v("\n mapStyle"), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(":")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token string" } }, + [t._v('"style_object"')] + ), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v("\n geoJsonSource"), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(":")] + ), + t._v(" "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("{")] + ), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token comment" } }, + [t._v("//...some GeoJSON object")] + ), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("}")] + ), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("}")] + ), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(";")] + ), + t._v("\n "), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("}")] + ), + t._v("\n"), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("}")] + ), + e( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(";")] + ), + t._v("\n") + ]) + ] + ) + ]), + e("p", [ + t._v("In this example "), + e("code", [t._v("geoJsonSource")]), + t._v(" can be an "), + e("code", [t._v("object")]), + t._v(", representing GeoJSON feature or "), + e("code", [t._v("string")]), + t._v(" with URL to GeoJSON.") + ]), + t._v(" "), + e("p", [ + t._v("Sources are stored in Mapbox GL JS "), + e("code", [t._v("Map")]), + t._v(" object by "), + e("code", [t._v("sourceId")]), + t._v( + ". If you sure that source already added to map, you can skip " + ), + e("code", [t._v("source")]), + t._v(" prop and just pass "), + e("code", [t._v("sourceId")]), + t._v( + " and use same source for different layers. If you try to add same source twice it raises an error, but you can set " + ), + e("code", [t._v("replaceSource")]), + t._v(" prop to "), + e("code", [t._v("true")]), + t._v(" to just replace old source with new one passed in "), + e("code", [t._v("source")]), + t._v(" prop.") + ]), + t._v(" "), + e("p", [ + t._v( + "By default when Layer components destroing, it removes source from map. If you want to keep source in Map (for e.g. for future using or if other layers use this source), set " + ), + e("code", [t._v("clearSource")]), + t._v(" prop to "), + e("code", [t._v("false")]), + t._v(".") + ]), + t._v(" "), + e("h2", { attrs: { id: "updating-layer-state-with-props" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#updating-layer-state-with-props", + "aria-hidden": "true" + } + }, + [t._v("#")] + ), + t._v(" Updating layer state with props") + ]), + t._v(" "), + e("p", [ + t._v( + "As you can expect, layers watch for their props and translate changes to map accordingly. For exmaple, if you change content of " + ), + e("code", [t._v("filter")]), + t._v( + " prop in GeojsonLayer, changes will be automatically applied to layer on the map." + ) + ]), + t._v(" "), + e("h2", { attrs: { id: "layer-getters" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#layer-getters", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" Layer getters") + ]), + t._v(" "), + e("p", [ + t._v( + "GeoJSON and Vector layers has getters for their features: " + ), + e("code", [t._v(".getRenderedFeatures(filter?)")]), + t._v(", "), + e("code", [t._v(".getSourceFeatures(geometry?, filter?)")]), + t._v(" and "), + e("code", [t._v(".getFeatureState(featureId)")]), + t._v(". They works similiar to "), + e( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#queryrenderedfeatures", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [ + e("code", [t._v(".queryRenderedFeatures()")]), + e("OutboundLink") + ], + 1 + ), + t._v(" and "), + e( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#querysourcefeatures", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [ + e("code", [t._v(".querySourceFeatures()")]), + e("OutboundLink") + ], + 1 + ), + t._v( + " Map mthods, but returns features onnly in source of current layer." + ) + ]), + t._v(" "), + e("h2", { attrs: { id: "layer-methods" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#layer-methods", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" Layer methods") + ]), + t._v(" "), + e("p", [ + t._v("Layer components has methods "), + e("code", [t._v("move()")]), + t._v(" and "), + e("code", [t._v("remove()")]), + t._v( + ".\nFirst moves a layer to a different z-position. Second destroys component removes layer and source from map event if layer created with prop " + ), + e("code", [t._v("clearSource: false")]), + t._v(".") + ]), + t._v(" "), + e("h2", { attrs: { id: "layer-events" } }, [ + e( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#layer-events", "aria-hidden": "true" } + }, + [t._v("#")] + ), + t._v(" Layer events") + ]), + t._v(" "), + e( + "p", + [ + t._v( + "Layers emits events when loading data or on user interaction like " + ), + e("code", [t._v("click")]), + t._v(". See full list of events in "), + e("router-link", { attrs: { to: "/api/Layers/#events" } }, [ + t._v("API section") + ]) + ], + 1 + ) + ] + ); + }, + [], + !1, + null, + null, + null + ); + n.options.__file = "layers&sources.md"; + a.default = n.exports; + } + } +]); diff --git a/docs/assets/js/24.457d7b82.js b/docs/assets/js/24.357c3965.js similarity index 99% rename from docs/assets/js/24.457d7b82.js rename to docs/assets/js/24.357c3965.js index ad269e36..4394cf19 100644 --- a/docs/assets/js/24.457d7b82.js +++ b/docs/assets/js/24.357c3965.js @@ -1,10 +1,10 @@ (window.webpackJsonp = window.webpackJsonp || []).push([ [24], { - 148: function(t, a, s) { + 158: function(t, a, s) { "use strict"; s.r(a); - var n = s(15), + var n = s(17), p = Object(n.a)( {}, function() { diff --git a/docs/assets/js/25.f8923f09.js b/docs/assets/js/25.a6a8e3d8.js similarity index 95% rename from docs/assets/js/25.f8923f09.js rename to docs/assets/js/25.a6a8e3d8.js index 530b18db..56fe27d2 100644 --- a/docs/assets/js/25.f8923f09.js +++ b/docs/assets/js/25.a6a8e3d8.js @@ -1,10 +1,10 @@ (window.webpackJsonp = window.webpackJsonp || []).push([ [25], { - 146: function(t, s, i) { + 156: function(t, s, i) { "use strict"; i.r(s); - var n = i(15), + var n = i(17), e = Object(n.a)( {}, function() { diff --git a/docs/assets/js/26.ea7b6fca.js b/docs/assets/js/26.a2c25eeb.js similarity index 95% rename from docs/assets/js/26.ea7b6fca.js rename to docs/assets/js/26.a2c25eeb.js index c5d8e133..01e11c2c 100644 --- a/docs/assets/js/26.ea7b6fca.js +++ b/docs/assets/js/26.a2c25eeb.js @@ -1,10 +1,10 @@ (window.webpackJsonp = window.webpackJsonp || []).push([ [26], { - 144: function(t, e, n) { + 154: function(t, e, n) { "use strict"; n.r(e); - var s = n(15), + var s = n(17), i = Object(s.a)( {}, function() { diff --git a/docs/assets/js/3.d2bcba26.js b/docs/assets/js/3.e9b16c7e.js similarity index 90% rename from docs/assets/js/3.d2bcba26.js rename to docs/assets/js/3.e9b16c7e.js index f4f9d883..2cbf5e96 100644 --- a/docs/assets/js/3.d2bcba26.js +++ b/docs/assets/js/3.e9b16c7e.js @@ -1,12 +1,13 @@ (window.webpackJsonp = window.webpackJsonp || []).push([ [3], { - 109: function(t, e, s) { + 101: function(t, e, s) {}, + 119: function(t, e, s) { "use strict"; - var n = s(91); + var n = s(101); s.n(n).a; }, - 130: function(t, e, s) { + 140: function(t, e, s) { "use strict"; s.r(e); var n = [ @@ -22,7 +23,7 @@ } } }, - i = (s(109), s(15)), + i = (s(119), s(17)), r = Object(i.a)( o, function() { @@ -53,7 +54,6 @@ ); r.options.__file = "404.vue"; e.default = r.exports; - }, - 91: function(t, e, s) {} + } } ]); diff --git a/docs/assets/js/4.dae454d6.js b/docs/assets/js/4.5f83d60c.js similarity index 84% rename from docs/assets/js/4.dae454d6.js rename to docs/assets/js/4.5f83d60c.js index ba54ddea..013dc13f 100644 --- a/docs/assets/js/4.dae454d6.js +++ b/docs/assets/js/4.5f83d60c.js @@ -1,13 +1,13 @@ (window.webpackJsonp = window.webpackJsonp || []).push([ [4], { - 105: function(t, e, n) {}, - 128: function(t, e, n) { + 115: function(t, e, n) {}, + 138: function(t, e, n) { "use strict"; - var a = n(105); + var a = n(115); n.n(a).a; }, - 152: function(t, e, n) { + 162: function(t, e, n) { "use strict"; n.r(e); var a = { @@ -27,7 +27,7 @@ ); } }, - i = (n(128), n(15)), + i = (n(138), n(17)), o = Object(i.a)(a, void 0, void 0, !1, null, "efceadb8", null); o.options.__file = "Badge.vue"; e.default = o.exports; diff --git a/docs/assets/js/5.34b540ee.js b/docs/assets/js/5.e1a5bde2.js similarity index 68% rename from docs/assets/js/5.34b540ee.js rename to docs/assets/js/5.e1a5bde2.js index bf9d79a3..ecfc1329 100644 --- a/docs/assets/js/5.34b540ee.js +++ b/docs/assets/js/5.e1a5bde2.js @@ -1,4 +1,4 @@ (window.webpackJsonp = window.webpackJsonp || []).push([ [5], - { 90: function(n, w, o) {} } + { 100: function(n, w, o) {} } ]); diff --git a/docs/assets/js/6.3f42ee09.js b/docs/assets/js/6.3f42ee09.js new file mode 100644 index 00000000..2be1ca6f --- /dev/null +++ b/docs/assets/js/6.3f42ee09.js @@ -0,0 +1,911 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([ + [6], + { + 141: function(t, s, a) { + "use strict"; + a.r(s); + var n = a(17), + e = Object(n.a)( + {}, + function() { + var t = this, + s = t.$createElement, + a = t._self._c || s; + return a( + "ContentSlotsDistributor", + { attrs: { "slot-key": t.$parent.slotKey } }, + [ + a( + "p", + [ + t._v("If you like long story, check out "), + a( + "router-link", + { + attrs: { + to: "./hhttps://soal.red/reasoning-behind-vue-mapbox/" + } + }, + [t._v("blog post")] + ) + ], + 1 + ), + t._v(" "), + a("div", { staticClass: "language-vue extra-class" }, [ + a("pre", { pre: !0, attrs: { class: "language-vue" } }, [ + a("code", [ + a("span", { pre: !0, attrs: { class: "token tag" } }, [ + a("span", { pre: !0, attrs: { class: "token tag" } }, [ + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("<")] + ), + t._v("template") + ]), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(">")] + ) + ]), + t._v("\n "), + a("span", { pre: !0, attrs: { class: "token tag" } }, [ + a("span", { pre: !0, attrs: { class: "token tag" } }, [ + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("<")] + ), + t._v("MglMap") + ]), + t._v("\n "), + a( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v("container")] + ), + a( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("map-test"), + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v("\n "), + a( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v(":center.sync")] + ), + a( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("center"), + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v("\n "), + a( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v(":accessToken")] + ), + a( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("accessToken"), + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v("\n "), + a( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v(":map")] + ), + a( + "span", + { + pre: !0, + attrs: { class: "token style-attr language-css" } + }, + [ + a( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [ + a( + "span", + { + pre: !0, + attrs: { class: "token attr-name" } + }, + [t._v("Style")] + ) + ] + ), + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('="')] + ), + a( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [t._v("mapStyle")] + ), + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v("\n "), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(">")] + ) + ]), + t._v("\n "), + a("span", { pre: !0, attrs: { class: "token tag" } }, [ + a("span", { pre: !0, attrs: { class: "token tag" } }, [ + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("<")] + ), + t._v("MglMarker") + ]), + t._v("\n "), + a( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v(":coordinates.sync")] + ), + a( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("markerCoordinates"), + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v("\n "), + a( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v("color")] + ), + a( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("'")] + ), + t._v("green"), + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("'")] + ) + ] + ), + t._v("\n "), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("/>")] + ) + ]), + t._v("\n "), + a("span", { pre: !0, attrs: { class: "token tag" } }, [ + a("span", { pre: !0, attrs: { class: "token tag" } }, [ + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("<")] + ), + t._v("MglGeojsonLayer") + ]), + t._v("\n "), + a( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v("type")] + ), + a( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("fill"), + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v("\n "), + a( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v(":sourceId")] + ), + a( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("sourceId"), + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v("\n "), + a( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v(":layerId")] + ), + a( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("layerId"), + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v("\n "), + a( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v(":source")] + ), + a( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("geojson"), + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v("\n "), + a( + "span", + { pre: !0, attrs: { class: "token attr-name" } }, + [t._v("@click")] + ), + a( + "span", + { pre: !0, attrs: { class: "token attr-value" } }, + [ + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v("=")] + ), + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ), + t._v("handleClick"), + a( + "span", + { + pre: !0, + attrs: { class: "token punctuation" } + }, + [t._v('"')] + ) + ] + ), + t._v("\n "), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("/>")] + ) + ]), + t._v("\n "), + a("span", { pre: !0, attrs: { class: "token tag" } }, [ + a("span", { pre: !0, attrs: { class: "token tag" } }, [ + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("")] + ) + ]), + t._v("\n"), + a("span", { pre: !0, attrs: { class: "token tag" } }, [ + a("span", { pre: !0, attrs: { class: "token tag" } }, [ + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("")] + ) + ]), + t._v("\n\n"), + a("span", { pre: !0, attrs: { class: "token tag" } }, [ + a("span", { pre: !0, attrs: { class: "token tag" } }, [ + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("<")] + ), + t._v("script") + ]), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(">")] + ) + ]), + a( + "span", + { + pre: !0, + attrs: { class: "token script language-javascript" } + }, + [ + t._v("\n"), + a( + "span", + { pre: !0, attrs: { class: "token keyword" } }, + [t._v("import")] + ), + t._v(" "), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("{")] + ), + t._v("\n MglMap"), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v("\n MglMarker"), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v("\n MglGeojsonLayer\n"), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("}")] + ), + t._v(" "), + a( + "span", + { pre: !0, attrs: { class: "token keyword" } }, + [t._v("from")] + ), + t._v(" "), + a( + "span", + { pre: !0, attrs: { class: "token string" } }, + [t._v("'vue-mapbox'")] + ), + t._v("\n\n"), + a( + "span", + { pre: !0, attrs: { class: "token keyword" } }, + [t._v("export")] + ), + t._v(" "), + a( + "span", + { pre: !0, attrs: { class: "token keyword" } }, + [t._v("default")] + ), + t._v(" "), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("{")] + ), + t._v("\n name"), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(":")] + ), + t._v(" "), + a( + "span", + { pre: !0, attrs: { class: "token string" } }, + [t._v("'App'")] + ), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v("\n "), + a( + "span", + { pre: !0, attrs: { class: "token function" } }, + [t._v("data")] + ), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("(")] + ), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(")")] + ), + t._v(" "), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("{")] + ), + t._v("\n "), + a( + "span", + { pre: !0, attrs: { class: "token keyword" } }, + [t._v("return")] + ), + t._v(" "), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("{")] + ), + t._v("\n accessToken"), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(":")] + ), + t._v(" "), + a( + "span", + { pre: !0, attrs: { class: "token string" } }, + [t._v("'some_token'")] + ), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v("\n mapStyle"), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(":")] + ), + t._v(" "), + a( + "span", + { pre: !0, attrs: { class: "token string" } }, + [t._v("'mapbox://map_style'")] + ), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v("\n geojson"), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(":")] + ), + t._v(" "), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("{")] + ), + t._v(" "), + a( + "span", + { pre: !0, attrs: { class: "token comment" } }, + [t._v("/* … some geojson */")] + ), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("}")] + ), + t._v("\n layerId"), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(":")] + ), + t._v(" "), + a( + "span", + { pre: !0, attrs: { class: "token string" } }, + [t._v("'firstLayer'")] + ), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v("\n sourceId"), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(":")] + ), + t._v(" "), + a( + "span", + { pre: !0, attrs: { class: "token string" } }, + [t._v("'firstSource'")] + ), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v(",")] + ), + t._v("\n markerCoordinates"), + a( + "span", + { pre: !0, attrs: { class: "token operator" } }, + [t._v("=")] + ), + a( + "span", + { pre: !0, attrs: { class: "token string" } }, + [t._v("'[50, 50]'")] + ), + t._v("\n "), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("}")] + ), + t._v("\n "), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("}")] + ), + t._v("\n"), + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("}")] + ), + t._v("\n") + ] + ), + a("span", { pre: !0, attrs: { class: "token tag" } }, [ + a("span", { pre: !0, attrs: { class: "token tag" } }, [ + a( + "span", + { pre: !0, attrs: { class: "token punctuation" } }, + [t._v("")] + ) + ]), + t._v("\n") + ]) + ]) + ]), + a("div", { staticClass: "tip custom-block" }, [ + a("p", { staticClass: "custom-block-title" }, [ + t._v("Dependencies") + ]), + t._v(" "), + a("p", [ + a( + "a", + { + attrs: { + href: "https://github.com/vuejs/vue", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t._v("Vue.js 2.5+"), a("OutboundLink")], + 1 + ), + a("br"), + t._v(" "), + a( + "a", + { + attrs: { + href: "https://github.com/mapbox/mapbox-gl-js", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t._v("Mapbox GL JS 0.51+"), a("OutboundLink")], + 1 + ), + a("br"), + t._v(" "), + a( + "a", + { + attrs: { + href: "https://github.com/soal/map-promisified", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t._v("map-promisified"), a("OutboundLink")], + 1 + ) + ]) + ]), + t._v(" "), + a("div", { staticClass: "tip custom-block" }, [ + a("p", { staticClass: "custom-block-title" }, [t._v("Size")]), + t._v(" "), + a("p", [ + t._v("~ 39 kB minified"), + a("br"), + t._v("\n~ 7 kB minified and gzipped") + ]) + ]), + t._v(" "), + a("div", { staticClass: "warning custom-block" }, [ + a("p", { staticClass: "custom-block-title" }, [ + t._v("Browser compatibility") + ]), + t._v(" "), + a("p", [a("em", [t._v("Coming soon")])]) + ]) + ] + ); + }, + [], + !1, + null, + null, + null + ); + e.options.__file = "README.md"; + s.default = e.exports; + } + } +]); diff --git a/docs/assets/js/6.9ba78da0.js b/docs/assets/js/6.c97839b4.js similarity index 99% rename from docs/assets/js/6.9ba78da0.js rename to docs/assets/js/6.c97839b4.js index 995c698d..b68b043d 100644 --- a/docs/assets/js/6.9ba78da0.js +++ b/docs/assets/js/6.c97839b4.js @@ -1,10 +1,10 @@ (window.webpackJsonp = window.webpackJsonp || []).push([ [6], { - 131: function(t, a, s) { + 141: function(t, a, s) { "use strict"; s.r(a); - var n = s(15), + var n = s(17), e = Object(n.a)( {}, function() { diff --git a/docs/assets/js/7.9aab13ae.js b/docs/assets/js/7.9aab13ae.js new file mode 100644 index 00000000..cbe21062 --- /dev/null +++ b/docs/assets/js/7.9aab13ae.js @@ -0,0 +1,943 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([ + [7], + { + 153: function(e, r, t) { + "use strict"; + t.r(r); + var a = t(17), + o = Object(a.a)( + {}, + function() { + var e = this, + r = e.$createElement, + t = e._self._c || r; + return t( + "ContentSlotsDistributor", + { attrs: { "slot-key": e.$parent.slotKey } }, + [ + t("h1", { attrs: { id: "layers-common" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#layers-common", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Layers common") + ]), + e._v(" "), + t("h2", { attrs: { id: "props" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#props", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Props") + ]), + e._v(" "), + t("h4", { attrs: { id: "props-for-mapbox-gl-source" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#props-for-mapbox-gl-source", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" Props for Mapbox GL source") + ]), + e._v(" "), + t("h3", { attrs: { id: "sourceid" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#sourceid", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("sourceId")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("String")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Required")])]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v( + " ID of the source to add. Must not conflict with existing sources." + ) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v(".addSource()")]), + e._v(" "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#addsource", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Map method"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "source" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#source", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("source")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Object | String")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Non-Synced")]), + e._v(" A source for layer or URL to it.") + ]), + e._v(" "), + t("li", [t("strong", [e._v("Description:")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("sources")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: + "https://docs.mapbox.com/mapbox-gl-js/style-spec/#sources", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Style Spec"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h4", { attrs: { id: "props-for-mapbox-gl-layer" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#props-for-mapbox-gl-layer", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" Props for Mapbox GL layer") + ]), + e._v(" "), + t("h3", { attrs: { id: "layerid" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#layerid", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("layerId")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type")]), + e._v(" "), + t("code", [e._v("String")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v( + " ID of the layer to add. Must not conflict with existing layers." + ) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Required")])]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("id")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#layer-id", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Layer Style Spec"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "layer" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#layer", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("layer")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type")]), + e._v(" "), + t("code", [e._v("String")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v(" Layer configuration object.") + ]), + e._v(" "), + t("li", [t("strong", [e._v("Required")])]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("layers")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: + "https://docs.mapbox.com/mapbox-gl-js/style-spec/#layers", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Layer Style Spec"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("div", { staticClass: "tip custom-block" }, [ + t("p", { staticClass: "custom-block-title" }, [ + e._v("Reactivity") + ]), + e._v(" "), + t("p", [ + t("code", [e._v("minzoom")]), + e._v(", "), + t("code", [e._v("maxzoom")]), + e._v(", "), + t("code", [e._v("paint")]), + e._v(", "), + t("code", [e._v("layout")]), + e._v(" and "), + t("code", [e._v("filter")]), + e._v(" fields of "), + t("code", [e._v("layer")]), + e._v( + " prop are reactive. If you change their value, changes automatically applied to the map." + ) + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "before" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#before", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("before")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("String")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default:")]), + e._v(" "), + t("code", [e._v("undefined")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v( + " The ID of an existing layer to insert the new layer before." + ) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("metadata")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#layer-metadata", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Layer Style Spec"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h4", { attrs: { id: "props-for-vue-mapbox-component" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#props-for-vue-mapbox-component", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" Props for Vue-Mapbox component") + ]), + e._v(" "), + t("h3", { attrs: { id: "clearsource" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#clearsource", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("clearSource")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Boolean")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default:")]), + e._v(" "), + t("code", [e._v("true")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v(" If "), + t("code", [e._v("true")]), + e._v( + ", component will remove layer source from map on component destruction." + ) + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "replacesource" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#replacesource", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("replaceSource")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Boolean")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default:")]), + e._v(" "), + t("code", [e._v("false")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v(" If source passed to "), + t("code", [e._v("source")]), + e._v( + " prop of layer component already added ot the map, it will be ignored and existed " + ), + t("code", [e._v("source")]), + e._v(" will be used. If "), + t("code", [e._v("replaceSource")]), + e._v(" is "), + t("code", [e._v("true")]), + e._v(" source will be replaced with new instead.") + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "replace" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#replace", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("replace")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Boolean")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default:")]), + e._v(" "), + t("code", [e._v("false")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v(" If "), + t("code", [e._v("true")]), + e._v( + ", replaces existing layer with same id. Otherwise, error returns." + ) + ]) + ]), + e._v(" "), + t("h2", { attrs: { id: "computed-properties" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#computed-properties", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" Computed properties") + ]), + e._v(" "), + t("h3", { attrs: { id: "sourceloaded" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#sourceloaded", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("sourceLoaded")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type")]), + e._v(" "), + t("code", [e._v("Boolean")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description")]), + e._v(" Flag that indicated if layer source already loaded.") + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "maplayer" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#maplayer", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("mapLayer")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type")]), + e._v(" "), + t("code", [e._v("Object")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description")]), + e._v(" Mapbox GL layer object.") + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See")]), + e._v(" "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#getlayer", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t("code", [e._v(".getLayer()")]), t("OutboundLink")], + 1 + ), + e._v(" map method") + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "mapsource" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#mapsource", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("mapSource")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type")]), + e._v(" "), + t("code", [e._v("Object")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description")]), + e._v(" Source for this layer.") + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See")]), + e._v(" "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#sources", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [ + t("code", [e._v("Mapbox GL source")]), + t("OutboundLink") + ], + 1 + ) + ]) + ]), + e._v(" "), + t("h2", { attrs: { id: "methods" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#methods", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Methods") + ]), + e._v(" "), + t("h3", { attrs: { id: "move-beforeid" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#move-beforeid", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v(".move(beforeId?)")]) + ]), + e._v(" "), + t("ul", [ + t("li", [t("strong", [e._v("Arguments:")])]), + e._v(" "), + t("li", [ + t("code", [e._v("beforeId")]), + e._v(" "), + t("code", [e._v("String")]), + e._v( + " The ID of an existing layer to insert the new layer before. If this argument is omitted, the layer will be appended to the end of the layers array." + ) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description")]), + e._v(" Moves a layer to a different z-position.") + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See")]), + e._v(" "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#movelayer", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t("code", [e._v(".moveLayer()")]), t("OutboundLink")], + 1 + ), + e._v(" map method") + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "remove" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#remove", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v(".remove()")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Description")]), + e._v( + " Removes the layer with and source assosiated with it." + ) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See")]), + e._v(" "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#removelayer", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t("code", [e._v(".removeLayer()")]), t("OutboundLink")], + 1 + ), + e._v(" map method") + ]) + ]), + e._v(" "), + t("h2", { attrs: { id: "events" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#events", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Events") + ]), + e._v(" "), + t("p", [ + e._v("Payload of events contains object with properties:") + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("code", [e._v("mapboxEvent")]), + e._v(" Original Mapbox GL JS event") + ]), + e._v(" "), + t("li", [ + t("code", [e._v("layerId")]), + e._v(" ID of current layer") + ]), + e._v(" "), + t("li", [ + t("code", [e._v("map")]), + e._v(" Current map object") + ]), + e._v(" "), + t("li", [ + t("code", [e._v("component")]), + e._v(" Component that emits event") + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "mousedown" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#mousedown", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@mousedown")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "mouseup" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#mouseup", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@mouseup")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "click" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#click", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@click")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "dblclick" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#dblclick", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@dblclick")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "mousemove" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#mousemove", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@mousemove")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "mouseenter" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#mouseenter", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@mouseenter")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "mouseleave" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#mouseleave", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@mouseleave")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "mouseover" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#mouseover", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@mouseover")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "mouseout" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#mouseout", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@mouseout")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "contextmenu" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#contextmenu", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@contextmenu")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "touchstart" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#touchstart", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@touchstart")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "touchend" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#touchend", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@touchend")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "touchcancel" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#touchcancel", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@touchcancel")]) + ]) + ] + ); + }, + [], + !1, + null, + null, + null + ); + o.options.__file = "README.md"; + r.default = o.exports; + } + } +]); diff --git a/docs/assets/js/7.cb865998.js b/docs/assets/js/7.cb865998.js new file mode 100644 index 00000000..28b000a1 --- /dev/null +++ b/docs/assets/js/7.cb865998.js @@ -0,0 +1,1146 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([ + [7], + { + 144: function(e, r, t) { + "use strict"; + t.r(r); + var a = t(17), + o = Object(a.a)( + {}, + function() { + var e = this, + r = e.$createElement, + t = e._self._c || r; + return t( + "ContentSlotsDistributor", + { attrs: { "slot-key": e.$parent.slotKey } }, + [ + t("h1", { attrs: { id: "layers-common" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#layers-common", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Layers common") + ]), + e._v(" "), + t("h2", { attrs: { id: "props" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#props", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Props") + ]), + e._v(" "), + t("h4", { attrs: { id: "props-for-mapbox-gl-source" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#props-for-mapbox-gl-source", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" Props for Mapbox GL source") + ]), + e._v(" "), + t("h3", { attrs: { id: "sourceid" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#sourceid", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("sourceId")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("String")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Required")])]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v( + " ID of the source to add. Must not conflict with existing sources." + ) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v(".addSource()")]), + e._v(" "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#addsource", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Map method"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h4", { attrs: { id: "props-for-mapbox-gl-layer" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#props-for-mapbox-gl-layer", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" Props for Mapbox GL layer") + ]), + e._v(" "), + t("h3", { attrs: { id: "layerid" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#layerid", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("layerId")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type")]), + e._v(" "), + t("code", [e._v("String")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v( + " ID of the layer to add. Must not conflict with existing layers." + ) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Required")])]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("id")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#layer-id", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Layer Style Spec"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "metadata" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#metadata", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("metadata")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Object")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v( + " Arbitrary properties useful to track with the layer, but do not influence rendering." + ) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("metadata")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#layer-metadata", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Layer Style Spec"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "minzoom" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#minzoom", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("minZoom")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Number")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default:")]), + e._v(" "), + t("code", [e._v("undefined")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v( + " The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden." + ) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("minzoom")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#layer-minzoom", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Layer Style Spec"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "maxzoom" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#maxzoom", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("maxZoom")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Number")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default:")]), + e._v(" "), + t("code", [e._v("undeined")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v( + " The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden." + ) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("maxzoom")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#layer-maxzoom", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Layer Style Spec"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "paint" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#paint", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("paint")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Object")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default:")]), + e._v(" "), + t("code", [e._v("undefined")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v(" Default paint properties for this layer.") + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("paint")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#layer-paint", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Layer Style Spec"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "layout" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#layout", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("layout")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Object")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default:")]), + e._v(" "), + t("code", [e._v("undefined")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v(" Layout properties for the layer.") + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("layout")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#layer-paint", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Layer Style Spec"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "filter" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#filter", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("filter")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Object")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default:")]), + e._v(" "), + t("code", [e._v("undefined")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v( + " A expression specifying conditions on source features. Only features that match the filter are displayed." + ) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("before")]), + e._v(" in "), + t("code", [e._v(".addLayer()")]), + e._v(" "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#addlayer", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Map method"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "before" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#before", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("before")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("String")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default:")]), + e._v(" "), + t("code", [e._v("undefined")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v( + " The ID of an existing layer to insert the new layer before." + ) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("metadata")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#layer-metadata", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Layer Style Spec"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h4", { attrs: { id: "props-for-vue-mapbox-component" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#props-for-vue-mapbox-component", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" Props for Vue-Mapbox component") + ]), + e._v(" "), + t("h3", { attrs: { id: "clearsource" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#clearsource", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("clearSource")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Boolean")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default:")]), + e._v(" "), + t("code", [e._v("true")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v(" If "), + t("code", [e._v("true")]), + e._v( + ", component will remove layer source from map on component destruction." + ) + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "replacesource" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#replacesource", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("replaceSource")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Boolean")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default:")]), + e._v(" "), + t("code", [e._v("false")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v( + " If source passed to 'source' prop of layer component already added ot the map, it will generate error event. If " + ), + t("code", [e._v("replaceSource")]), + e._v(" is "), + t("code", [e._v("true")]), + e._v(" source will be replaced with new instead.") + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "replace" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#replace", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("replace")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Boolean")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default:")]), + e._v(" "), + t("code", [e._v("false")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v(" If "), + t("code", [e._v("true")]), + e._v( + ", replaces existing layer with same id. Otherwise, error returns." + ) + ]) + ]), + e._v(" "), + t("h2", { attrs: { id: "computed-properties" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#computed-properties", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" Computed properties") + ]), + e._v(" "), + t("h3", { attrs: { id: "sourceloaded" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#sourceloaded", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("sourceLoaded")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type")]), + e._v(" "), + t("code", [e._v("Boolean")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description")]), + e._v(" Flag that indicated if layer source already loaded.") + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "maplayer" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#maplayer", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("mapLayer")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type")]), + e._v(" "), + t("code", [e._v("Object")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description")]), + e._v(" Mapbox GL layer object.") + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See")]), + e._v(" "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#getlayer", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t("code", [e._v(".getLayer()")]), t("OutboundLink")], + 1 + ), + e._v(" map method") + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "mapsource" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#mapsource", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("mapSource")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type")]), + e._v(" "), + t("code", [e._v("Object")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description")]), + e._v(" Source for this layer.") + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See")]), + e._v(" "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#sources", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [ + t("code", [e._v("Mapbox GL source")]), + t("OutboundLink") + ], + 1 + ) + ]) + ]), + e._v(" "), + t("h2", { attrs: { id: "methods" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#methods", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Methods") + ]), + e._v(" "), + t("h3", { attrs: { id: "move-beforeid" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#move-beforeid", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v(".move(beforeId?)")]) + ]), + e._v(" "), + t("ul", [ + t("li", [t("strong", [e._v("Arguments:")])]), + e._v(" "), + t("li", [ + t("code", [e._v("beforeId")]), + e._v(" "), + t("code", [e._v("String")]), + e._v( + " The ID of an existing layer to insert the new layer before. If this argument is omitted, the layer will be appended to the end of the layers array." + ) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description")]), + e._v(" Moves a layer to a different z-position.") + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See")]), + e._v(" "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#movelayer", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t("code", [e._v(".moveLayer()")]), t("OutboundLink")], + 1 + ), + e._v(" map method") + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "remove" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#remove", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v(".remove()")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Description")]), + e._v( + " Removes the layer with and source assosiated with it." + ) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See")]), + e._v(" "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#removelayer", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [t("code", [e._v(".removeLayer()")]), t("OutboundLink")], + 1 + ), + e._v(" map method") + ]) + ]), + e._v(" "), + t("h2", { attrs: { id: "events" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#events", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Events") + ]), + e._v(" "), + t("p", [ + e._v("Payload of events contains object with properties:") + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("code", [e._v("mapboxEvent")]), + e._v(" Original Mapbox GL JS event") + ]), + e._v(" "), + t("li", [ + t("code", [e._v("layerId")]), + e._v(" ID of current layer") + ]), + e._v(" "), + t("li", [ + t("code", [e._v("map")]), + e._v(" Current map object") + ]), + e._v(" "), + t("li", [ + t("code", [e._v("component")]), + e._v(" Component that emits event") + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "mousedown" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#mousedown", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@mousedown")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "mouseup" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#mouseup", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@mouseup")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "click" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#click", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@click")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "dblclick" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#dblclick", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@dblclick")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "mousemove" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#mousemove", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@mousemove")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "mouseenter" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#mouseenter", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@mouseenter")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "mouseleave" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#mouseleave", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@mouseleave")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "mouseover" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#mouseover", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@mouseover")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "mouseout" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#mouseout", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@mouseout")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "contextmenu" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#contextmenu", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@contextmenu")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "touchstart" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#touchstart", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@touchstart")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "touchend" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#touchend", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@touchend")]) + ]), + e._v(" "), + t("h3", { attrs: { id: "touchcancel" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#touchcancel", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("@touchcancel")]) + ]) + ] + ); + }, + [], + !1, + null, + null, + null + ); + o.options.__file = "README.md"; + r.default = o.exports; + } + } +]); diff --git a/docs/assets/js/8.6598c56e.js b/docs/assets/js/8.6598c56e.js new file mode 100644 index 00000000..b250151d --- /dev/null +++ b/docs/assets/js/8.6598c56e.js @@ -0,0 +1,315 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([ + [8], + { + 153: function(e, a, t) { + "use strict"; + t.r(a); + var r = t(17), + n = Object(r.a)( + {}, + function() { + var e = this, + a = e.$createElement, + t = e._self._c || a; + return t( + "ContentSlotsDistributor", + { attrs: { "slot-key": e.$parent.slotKey } }, + [ + t("h1", { attrs: { id: "canvaslayer" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#canvaslayer", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" CanvasLayer") + ]), + e._v(" "), + t("h2", { attrs: { id: "props" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#props", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Props") + ]), + e._v(" "), + t("h3", { attrs: { id: "canvas" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#canvas", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("canvas")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("HTMLCanvasElement, String")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default")]), + e._v(" "), + t("code", [e._v("null")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v( + " Canvas source from which to read pixels. Can be a string representing the ID of the canvas element. If omitted, Vue-Mapbox creates canvas element." + ) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("canvas")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#canvassource", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox API CanvasSource"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "coordinates" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#coordinates", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("coordinates")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Array")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Required")])]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v( + " Four geographical coordinates denoting where to place the corners of the canvas, specified in [longitude, latitude] pairs." + ) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("coordinates")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#canvassource", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox API CanvasSource"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "animate" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#animate", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("animate")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Boolean")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default")]), + e._v(" "), + t("code", [e._v("true")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v(" Whether the canvas source is animated.") + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("animate")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#canvassource", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox API CanvasSource"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "width" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#width", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("width")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Number")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default")]), + e._v(" "), + t("code", [e._v("100")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v( + " Width of canvas element. Can be omitted if existed canvas passed directly in " + ), + t("code", [e._v("canvas")]), + e._v(" prop.") + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "height" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#height", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("height")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Number")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default")]), + e._v(" "), + t("code", [e._v("100")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v( + " Height of canvas element. Can be omitted if existed canvas passed directly in " + ), + t("code", [e._v("canvas")]), + e._v(" prop.") + ]) + ]), + e._v(" "), + t("h2", { attrs: { id: "events" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#events", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Events") + ]), + e._v(" "), + t( + "p", + [ + e._v("All common layer "), + t("router-link", { attrs: { to: "/api/Layers/#events" } }, [ + e._v("events") + ]) + ], + 1 + ) + ] + ); + }, + [], + !1, + null, + null, + null + ); + n.options.__file = "canvaslayer.md"; + a.default = n.exports; + } + } +]); diff --git a/docs/assets/js/8.9bf2fc89.js b/docs/assets/js/8.9bf2fc89.js new file mode 100644 index 00000000..6d6b5f49 --- /dev/null +++ b/docs/assets/js/8.9bf2fc89.js @@ -0,0 +1,315 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([ + [8], + { + 144: function(e, a, t) { + "use strict"; + t.r(a); + var r = t(17), + n = Object(r.a)( + {}, + function() { + var e = this, + a = e.$createElement, + t = e._self._c || a; + return t( + "ContentSlotsDistributor", + { attrs: { "slot-key": e.$parent.slotKey } }, + [ + t("h1", { attrs: { id: "canvaslayer" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#canvaslayer", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" CanvasLayer") + ]), + e._v(" "), + t("h2", { attrs: { id: "props" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#props", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Props") + ]), + e._v(" "), + t("h3", { attrs: { id: "canvas" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#canvas", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("canvas")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("HTMLCanvasElement, String")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default")]), + e._v(" "), + t("code", [e._v("null")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v( + " Canvas source from which to read pixels. Can be a string representing the ID of the canvas element. If omitted, Vue-Mapbox creates canvas element." + ) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("canvas")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#canvassource", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox API CanvasSource"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "coordinates" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#coordinates", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("coordinates")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Array")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Required")])]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v( + " Four geographical coordinates denoting where to place the corners of the canvas, specified in [longitude, latitude] pairs." + ) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("coordinates")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#canvassource", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox API CanvasSource"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "animate" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#animate", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("animate")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Boolean")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default")]), + e._v(" "), + t("code", [e._v("true")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v(" Whether the canvas source is animated.") + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("See:")]), + e._v(" "), + t("code", [e._v("animate")]), + e._v(" in "), + t( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#canvassource", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox API CanvasSource"), t("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "width" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#width", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("width")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Number")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default")]), + e._v(" "), + t("code", [e._v("100")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v( + " Width of canvas element. Can be omitted if existed canvas passed directly in " + ), + t("code", [e._v("canvas")]), + e._v(" prop.") + ]) + ]), + e._v(" "), + t("h3", { attrs: { id: "height" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#height", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + t("code", [e._v("height")]) + ]), + e._v(" "), + t("ul", [ + t("li", [ + t("strong", [e._v("Type:")]), + e._v(" "), + t("code", [e._v("Number")]) + ]), + e._v(" "), + t("li", [ + t("strong", [e._v("Default")]), + e._v(" "), + t("code", [e._v("100")]) + ]), + e._v(" "), + t("li", [t("strong", [e._v("Non-Synced")])]), + e._v(" "), + t("li", [ + t("strong", [e._v("Description:")]), + e._v( + " Height of canvas element. Can be omitted if existed canvas passed directly in " + ), + t("code", [e._v("canvas")]), + e._v(" prop.") + ]) + ]), + e._v(" "), + t("h2", { attrs: { id: "events" } }, [ + t( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#events", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Events") + ]), + e._v(" "), + t( + "p", + [ + e._v("All common layer "), + t("router-link", { attrs: { to: "/api/Layers/#events" } }, [ + e._v("events") + ]) + ], + 1 + ) + ] + ); + }, + [], + !1, + null, + null, + null + ); + n.options.__file = "canvaslayer.md"; + a.default = n.exports; + } + } +]); diff --git a/docs/assets/js/9.7d1a8084.js b/docs/assets/js/9.7d1a8084.js new file mode 100644 index 00000000..90a08313 --- /dev/null +++ b/docs/assets/js/9.7d1a8084.js @@ -0,0 +1,634 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([ + [9], + { + 150: function(e, t, r) { + "use strict"; + r.r(t); + var o = r(17), + s = Object(o.a)( + {}, + function() { + var e = this, + t = e.$createElement, + r = e._self._c || t; + return r( + "ContentSlotsDistributor", + { attrs: { "slot-key": e.$parent.slotKey } }, + [ + r("h1", { attrs: { id: "geojsonlayer" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#geojsonlayer", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" GeojsonLayer") + ]), + e._v(" "), + r("h2", { attrs: { id: "props" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#props", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Props") + ]), + e._v(" "), + r( + "p", + [ + e._v("All common "), + r("router-link", { attrs: { to: "/api/Layers/#props" } }, [ + e._v("layers props") + ]) + ], + 1 + ), + e._v(" "), + r("h3", { attrs: { id: "source" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#source", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("source")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("Object | String")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v(" A source containing GeoJSON or URL to it.") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("GeoJSONSource")]), + e._v(" in "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#geojsonsource", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox API Docs"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h2", { attrs: { id: "computed-getters" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#computed-getters", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" Computed getters") + ]), + e._v(" "), + r("h3", { attrs: { id: "getsourcefeatures-filter" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#getsourcefeatures-filter", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("getSourceFeatures(filter?)")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Arguments:")]), + e._v(" "), + r("ul", [ + r("li", [ + r("code", [e._v("filter")]), + e._v(" "), + r("code", [e._v("Array")]), + e._v(" A filter to limit query results.") + ]) + ]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description")]), + e._v( + " Returns an array of GeoJSON Feature objects from assosiated source filtered by " + ), + r("code", [e._v("filter")]), + e._v(".") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See")]), + e._v(" "), + r("code", [e._v(".querySourceFeatures()")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#querysourcefeatures", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("map method"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r( + "h3", + { attrs: { id: "getrenderedfeatures-geometry-filter" } }, + [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#getrenderedfeatures-geometry-filter", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("getRenderedFeatures(geometry, filter)")]) + ] + ), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Arguments:")]), + e._v(" "), + r("ul", [ + r("li", [ + r("code", [e._v("filter")]), + e._v(" "), + r("code", [e._v("Array")]), + e._v(" A filter to limit query results.") + ]), + e._v(" "), + r("li", [ + r("code", [e._v("geometry")]), + e._v(" "), + r("code", [e._v("Array | Object")]), + e._v(" The geometry of the query region.") + ]) + ]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description")]), + e._v( + " Returns an array of visible GeoJSON Feature objects from assosiated source filtered by " + ), + r("code", [e._v("filter")]), + e._v(".") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See")]), + e._v(" "), + r("code", [e._v(".queryRenderedFeatures()")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#queryrenderedfeatures", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("map method"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r( + "h3", + { attrs: { id: "getclusterexpansionzoom-clusterid" } }, + [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#getclusterexpansionzoom-clusterid", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("getClusterExpansionZoom(clusterId)")]) + ] + ), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Arguments:")]), + e._v(" "), + r("ul", [ + r("li", [ + r("code", [e._v("clusterId")]), + e._v(" "), + r("code", [e._v("Number")]), + e._v(" The value of the cluster's cluster_id property.") + ]) + ]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description")]), + e._v( + " For clustered sources, fetches the zoom at which the given cluster expands and returns " + ), + r("code", [e._v("Promise")]), + e._v(" with zoom level as payload.") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See")]), + e._v(" "), + r("code", [e._v(".getClusterExpansionZoom()")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://docs.mapbox.com/mapbox-gl-js/api/#geojsonsource#getclusterexpansionzoom", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("GeoJSONSource method"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "getclusterchildren-clusterid" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#getclusterchildren-clusterid", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("getClusterChildren(clusterId)")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Arguments:")]), + e._v(" "), + r("ul", [ + r("li", [ + r("code", [e._v("clusterId")]), + e._v(" "), + r("code", [e._v("Number")]), + e._v(" The value of the cluster's cluster_id property.") + ]), + e._v(" "), + r("li", [ + r("code", [e._v("limit")]), + e._v(" "), + r("code", [e._v("Number")]), + e._v(" The maximum number of features to return.") + ]), + e._v(" "), + r("li", [ + r("code", [e._v("offset")]), + e._v(" "), + r("code", [e._v("Number")]), + e._v( + " The number of features to skip (e.g. for pagination)." + ) + ]) + ]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description")]), + e._v( + " For clustered sources, fetches the original points that belong to the cluster and returns " + ), + r("code", [e._v("Promise")]), + e._v(" with an "), + r("code", [e._v("Array")]), + e._v(" of GeoJSON features as payload.") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See")]), + e._v(" "), + r("code", [e._v(".getClusterChildren()")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://docs.mapbox.com/mapbox-gl-js/api/#geojsonsource#getclusterchildren", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("GeoJSONSource method"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r( + "h3", + { attrs: { id: "getclusterleaves-clusterid-limit-offset" } }, + [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#getclusterleaves-clusterid-limit-offset", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [ + e._v("getClusterLeaves(clusterId, limit, offset)") + ]) + ] + ), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Arguments:")]), + e._v(" "), + r("ul", [ + r("li", [ + r("code", [e._v("filter")]), + e._v(" "), + r("code", [e._v("Array")]), + e._v(" A filter to limit query results.") + ]), + e._v(" "), + r("li", [ + r("code", [e._v("geometry")]), + e._v(" "), + r("code", [e._v("Array | Object")]), + e._v(" The geometry of the query region.") + ]) + ]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description")]), + e._v(" Returns "), + r("code", [e._v("Promise")]), + e._v( + " with an array of visible GeoJSON Feature objects from assosiated source filtered by " + ), + r("code", [e._v("filter")]), + e._v(" in the payload.") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See")]), + e._v(" "), + r("code", [e._v(".getClusterLeaves()")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://docs.mapbox.com/mapbox-gl-js/api/#geojsonsource#getclusterleaves", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("GeoJSONSource method"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h2", { attrs: { id: "methods" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#methods", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Methods") + ]), + e._v(" "), + r("h3", { attrs: { id: "setfeaturestate-featureid-state" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#setfeaturestate-featureid-state", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("setFeatureState(featureId, state)")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Arguments:")]), + e._v(" "), + r("ul", [ + r("li", [ + r("code", [e._v("featureId")]), + e._v(" "), + r("code", [e._v("String | Number")]), + e._v(" Feature identifier.") + ]), + e._v(" "), + r("li", [ + r("code", [e._v("state")]), + e._v(" "), + r("code", [e._v("Object")]), + e._v( + " A set of key-value pairs. The values should be valid JSON types." + ) + ]) + ]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description")]), + e._v( + " Sets the state of a feature. The state object is merged in with the existing state of the feature." + ) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See")]), + e._v(" "), + r("code", [e._v(".setFeatureState()")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#setfeaturestate", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("map method"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "getfeaturestate-featureid" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#getfeaturestate-featureid", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("getFeatureState(featureId)")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Arguments:")]), + e._v(" "), + r("ul", [ + r("li", [ + r("code", [e._v("featureId")]), + e._v(" "), + r("code", [e._v("String | Number")]), + e._v(" Feature identifier.") + ]) + ]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description")]), + e._v(" Gets the state of a feature.") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See")]), + e._v(" "), + r("code", [e._v(".getFeatureState()")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#getfeaturestate", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("map method"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h2", { attrs: { id: "events" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#events", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Events") + ]), + e._v(" "), + r( + "p", + [ + e._v("All common layer "), + r("router-link", { attrs: { to: "/api/Layers/#events" } }, [ + e._v("events") + ]) + ], + 1 + ) + ] + ); + }, + [], + !1, + null, + null, + null + ); + s.options.__file = "geojsonlayer.md"; + t.default = s.exports; + } + } +]); diff --git a/docs/assets/js/9.82761fea.js b/docs/assets/js/9.82761fea.js new file mode 100644 index 00000000..6785456b --- /dev/null +++ b/docs/assets/js/9.82761fea.js @@ -0,0 +1,907 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([ + [9], + { + 150: function(e, t, r) { + "use strict"; + r.r(t); + var a = r(17), + o = Object(a.a)( + {}, + function() { + var e = this, + t = e.$createElement, + r = e._self._c || t; + return r( + "ContentSlotsDistributor", + { attrs: { "slot-key": e.$parent.slotKey } }, + [ + r("h1", { attrs: { id: "geojsonlayer" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#geojsonlayer", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" GeojsonLayer") + ]), + e._v(" "), + r("h2", { attrs: { id: "props" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#props", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Props") + ]), + e._v(" "), + r("h3", { attrs: { id: "source" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#source", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("source")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("Object | String")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Required")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Non-Synced")]), + e._v(" A source containing GeoJSON or URL to it.") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v(" sources.") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("GeoJSONSource")]), + e._v(" in "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#geojsonsource", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox API Docs"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "type" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#type", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("type")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("String")]), + e._v(" "), + r("code", [ + e._v( + '"fill" | "line" | "symbol" |"circle" | "fill-extrusion" | "raster" | "background" | "heatmap"' + ) + ]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Required")])]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v(" Rendering type of this layer.") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("type")]), + e._v(" in "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#layer-type", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Layer Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "cluster" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#cluster", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("cluster")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("Boolean")]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Default")]), + e._v(" "), + r("code", [e._v("false")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v( + " If the data is a collection of point features, setting this to true clusters the points by radius into groups." + ) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("cluster")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-geojson-cluster", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Layer Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "clustermaxzoom" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#clustermaxzoom", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("clusterMaxZoom")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("Number")]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Default")]), + e._v(" "), + r("code", [e._v("14")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v( + " Max zoom on which to cluster points if clustering is enabled." + ) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("clusterMaxZoom")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-geojson-clusterMaxZoom", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Layer Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "clusterradius" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#clusterradius", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("clusterRadius")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("Number")]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Default")]), + e._v(" "), + r("code", [e._v("50")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v(" Radius of each cluster if clustering is enabled.") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("clusterRadius")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-geojson-clusterRadius", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Layer Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "linemetrics" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#linemetrics", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("lineMetrics")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("Boolean")]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Default")]), + e._v(" "), + r("code", [e._v("false")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v(" Whether to calculate line distance metrics.") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("lineMetrics")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-geojson-lineMetrics", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Layer Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "buffer" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#buffer", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("buffer")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("Boolean")]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Default")]), + e._v(" "), + r("code", [e._v("false")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v(" Size of the tile buffer on each side.") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("buffer")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-geojson-buffer", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Layer Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "tolerance" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#tolerance", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("tolerance")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("Boolean")]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Default")]), + e._v(" "), + r("code", [e._v("false")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v( + " Douglas-Peucker simplification tolerance (higher means simpler geometries and faster performance)." + ) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("tolerance")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-geojson-tolerance", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Layer Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "generateid" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#generateid", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("generateId")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("Boolean")]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Default")]), + e._v(" "), + r("code", [e._v("false")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v(" Whether to generate ids for the geojson features.") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("generateId")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-geojson-generateId", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Layer Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "attribution" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#attribution", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("attribution")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Type:")]), + e._v(" "), + r("code", [e._v("String")]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Default")]), + e._v(" "), + r("code", [e._v("undefined")]) + ]), + e._v(" "), + r("li", [r("strong", [e._v("Non-Synced")])]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description:")]), + e._v( + " Contains an attribution to be displayed when the map is shown to a user." + ) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See:")]), + e._v(" "), + r("code", [e._v("attribution")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/style-spec/#sources-geojson-attribution", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("Mapbox Layer Style Spec"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h2", { attrs: { id: "computed-getters" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#computed-getters", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" Computed getters") + ]), + e._v(" "), + r("h3", { attrs: { id: "getsourcefeatures-filter" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#getsourcefeatures-filter", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("getSourceFeatures(filter?)")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Arguments:")]), + e._v(" "), + r("ul", [ + r("li", [ + r("code", [e._v("filter")]), + e._v(" "), + r("code", [e._v("Array")]), + e._v(" A filter to limit query results.") + ]) + ]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description")]), + e._v( + " Returns an array of GeoJSON Feature objects from assosiated source filtered by " + ), + r("code", [e._v("filter")]), + e._v(".") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See")]), + e._v(" "), + r("code", [e._v(".querySourceFeatures()")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#querysourcefeatures", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("map method"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r( + "h3", + { attrs: { id: "getrenderedfeatures-geometry-filter" } }, + [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#getrenderedfeatures-geometry-filter", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("getRenderedFeatures(geometry, filter)")]) + ] + ), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Arguments:")]), + e._v(" "), + r("ul", [ + r("li", [ + r("code", [e._v("filter")]), + e._v(" "), + r("code", [e._v("Array")]), + e._v(" A filter to limit query results.") + ]), + e._v(" "), + r("li", [ + r("code", [e._v("geometry")]), + e._v(" "), + r("code", [e._v("Array | Object")]), + e._v(" The geometry of the query region.") + ]) + ]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description")]), + e._v( + " Returns an array of visible GeoJSON Feature objects from assosiated source filtered by " + ), + r("code", [e._v("filter")]), + e._v(".") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See")]), + e._v(" "), + r("code", [e._v(".queryRenderedFeatures()")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#queryrenderedfeatures", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("map method"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h2", { attrs: { id: "methods" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#methods", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Methods") + ]), + e._v(" "), + r("h3", { attrs: { id: "setfeaturestate-featureid-state" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#setfeaturestate-featureid-state", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("setFeatureState(featureId, state)")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Arguments:")]), + e._v(" "), + r("ul", [ + r("li", [ + r("code", [e._v("featureId")]), + e._v(" "), + r("code", [e._v("String | Number")]), + e._v(" Feature identifier.") + ]), + e._v(" "), + r("li", [ + r("code", [e._v("state")]), + e._v(" "), + r("code", [e._v("Object")]), + e._v( + " A set of key-value pairs. The values should be valid JSON types." + ) + ]) + ]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description")]), + e._v( + " Sets the state of a feature. The state object is merged in with the existing state of the feature." + ) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See")]), + e._v(" "), + r("code", [e._v(".setFeatureState()")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#setfeaturestate", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("map method"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h3", { attrs: { id: "getfeaturestate-featureid" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { + href: "#getfeaturestate-featureid", + "aria-hidden": "true" + } + }, + [e._v("#")] + ), + e._v(" "), + r("code", [e._v("getFeatureState(featureId)")]) + ]), + e._v(" "), + r("ul", [ + r("li", [ + r("strong", [e._v("Arguments:")]), + e._v(" "), + r("ul", [ + r("li", [ + r("code", [e._v("featureId")]), + e._v(" "), + r("code", [e._v("String | Number")]), + e._v(" Feature identifier.") + ]) + ]) + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("Description")]), + e._v(" Gets the state of a feature.") + ]), + e._v(" "), + r("li", [ + r("strong", [e._v("See")]), + e._v(" "), + r("code", [e._v(".getFeatureState()")]), + e._v(" "), + r( + "a", + { + attrs: { + href: + "https://www.mapbox.com/mapbox-gl-js/api/#map#getfeaturestate", + target: "_blank", + rel: "noopener noreferrer" + } + }, + [e._v("map method"), r("OutboundLink")], + 1 + ) + ]) + ]), + e._v(" "), + r("h2", { attrs: { id: "events" } }, [ + r( + "a", + { + staticClass: "header-anchor", + attrs: { href: "#events", "aria-hidden": "true" } + }, + [e._v("#")] + ), + e._v(" Events") + ]), + e._v(" "), + r( + "p", + [ + e._v("All common layer "), + r("router-link", { attrs: { to: "/api/Layers/#events" } }, [ + e._v("events") + ]) + ], + 1 + ) + ] + ); + }, + [], + !1, + null, + null, + null + ); + o.options.__file = "geojsonlayer.md"; + t.default = o.exports; + } + } +]); diff --git a/docs/assets/js/app.4065418e.js b/docs/assets/js/app.4065418e.js new file mode 100644 index 00000000..38b57ee7 --- /dev/null +++ b/docs/assets/js/app.4065418e.js @@ -0,0 +1,9306 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([[0], []]); +!(function(t) { + function e(e) { + for ( + var r, a, s = e[0], l = e[1], u = e[2], f = 0, p = []; + f < s.length; + f++ + ) + (a = s[f]), o[a] && p.push(o[a][0]), (o[a] = 0); + for (r in l) Object.prototype.hasOwnProperty.call(l, r) && (t[r] = l[r]); + for (c && c(e); p.length; ) p.shift()(); + return i.push.apply(i, u || []), n(); + } + function n() { + for (var t, e = 0; e < i.length; e++) { + for (var n = i[e], r = !0, s = 1; s < n.length; s++) { + var l = n[s]; + 0 !== o[l] && (r = !1); + } + r && (i.splice(e--, 1), (t = a((a.s = n[0])))); + } + return t; + } + var r = {}, + o = { 1: 0 }, + i = []; + function a(e) { + if (r[e]) return r[e].exports; + var n = (r[e] = { i: e, l: !1, exports: {} }); + return t[e].call(n.exports, n, n.exports, a), (n.l = !0), n.exports; + } + (a.e = function(t) { + var e = [], + n = o[t]; + if (0 !== n) + if (n) e.push(n[2]); + else { + var r = new Promise(function(e, r) { + n = o[t] = [e, r]; + }); + e.push((n[2] = r)); + var i, + s = document.getElementsByTagName("head")[0], + l = document.createElement("script"); + (l.charset = "utf-8"), + (l.timeout = 120), + a.nc && l.setAttribute("nonce", a.nc), + (l.src = (function(t) { + return ( + a.p + + "assets/js/" + + ({}[t] || t) + + "." + + { + 2: "ae9d6b36", + 3: "e9b16c7e", + 4: "5f83d60c", + 5: "e1a5bde2", + 6: "c97839b4", + 7: "cb865998", + 8: "6598c56e", + 9: "82761fea", + 10: "f8efefc5", + 11: "fcef6306", + 12: "07043604", + 13: "a1e699b1", + 14: "8f1778b4", + 15: "87d6f021", + 16: "a8a8ffba", + 17: "5c0689e2", + 18: "35858227", + 19: "ff4d9bfa", + 20: "db1c492c", + 21: "c1b912ca", + 22: "59e3ecd5", + 23: "37903cf9", + 24: "357c3965", + 25: "a6a8e3d8", + 26: "a2c25eeb" + }[t] + + ".js" + ); + })(t)), + (i = function(e) { + (l.onerror = l.onload = null), clearTimeout(u); + var n = o[t]; + if (0 !== n) { + if (n) { + var r = e && ("load" === e.type ? "missing" : e.type), + i = e && e.target && e.target.src, + a = new Error( + "Loading chunk " + t + " failed.\n(" + r + ": " + i + ")" + ); + (a.type = r), (a.request = i), n[1](a); + } + o[t] = void 0; + } + }); + var u = setTimeout(function() { + i({ type: "timeout", target: l }); + }, 12e4); + (l.onerror = l.onload = i), s.appendChild(l); + } + return Promise.all(e); + }), + (a.m = t), + (a.c = r), + (a.d = function(t, e, n) { + a.o(t, e) || Object.defineProperty(t, e, { enumerable: !0, get: n }); + }), + (a.r = function(t) { + "undefined" != typeof Symbol && + Symbol.toStringTag && + Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }), + Object.defineProperty(t, "__esModule", { value: !0 }); + }), + (a.t = function(t, e) { + if ((1 & e && (t = a(t)), 8 & e)) return t; + if (4 & e && "object" == typeof t && t && t.__esModule) return t; + var n = Object.create(null); + if ( + (a.r(n), + Object.defineProperty(n, "default", { enumerable: !0, value: t }), + 2 & e && "string" != typeof t) + ) + for (var r in t) + a.d( + n, + r, + function(e) { + return t[e]; + }.bind(null, r) + ); + return n; + }), + (a.n = function(t) { + var e = + t && t.__esModule + ? function() { + return t.default; + } + : function() { + return t; + }; + return a.d(e, "a", e), e; + }), + (a.o = function(t, e) { + return Object.prototype.hasOwnProperty.call(t, e); + }), + (a.p = "/vue-mapbox/"), + (a.oe = function(t) { + throw (console.error(t), t); + }); + var s = (window.webpackJsonp = window.webpackJsonp || []), + l = s.push.bind(s); + (s.push = e), (s = s.slice()); + for (var u = 0; u < s.length; u++) e(s[u]); + var c = l; + i.push([67, 0]), n(); +})([ + function(t, e, n) { + "use strict"; + /*! + * Vue.js v2.5.21 + * (c) 2014-2018 Evan You + * Released under the MIT License. + */ var r = Object.freeze( + {} + ); + function o(t) { + return null == t; + } + function i(t) { + return null != t; + } + function a(t) { + return !0 === t; + } + function s(t) { + return ( + "string" == typeof t || + "number" == typeof t || + "symbol" == typeof t || + "boolean" == typeof t + ); + } + function l(t) { + return null !== t && "object" == typeof t; + } + var u = Object.prototype.toString; + function c(t) { + return "[object Object]" === u.call(t); + } + function f(t) { + return "[object RegExp]" === u.call(t); + } + function p(t) { + var e = parseFloat(String(t)); + return e >= 0 && Math.floor(e) === e && isFinite(t); + } + function h(t) { + return null == t + ? "" + : "object" == typeof t + ? JSON.stringify(t, null, 2) + : String(t); + } + function d(t) { + var e = parseFloat(t); + return isNaN(e) ? t : e; + } + function v(t, e) { + for ( + var n = Object.create(null), r = t.split(","), o = 0; + o < r.length; + o++ + ) + n[r[o]] = !0; + return e + ? function(t) { + return n[t.toLowerCase()]; + } + : function(t) { + return n[t]; + }; + } + v("slot,component", !0); + var m = v("key,ref,slot,slot-scope,is"); + function y(t, e) { + if (t.length) { + var n = t.indexOf(e); + if (n > -1) return t.splice(n, 1); + } + } + var g = Object.prototype.hasOwnProperty; + function b(t, e) { + return g.call(t, e); + } + function _(t) { + var e = Object.create(null); + return function(n) { + return e[n] || (e[n] = t(n)); + }; + } + var w = /-(\w)/g, + x = _(function(t) { + return t.replace(w, function(t, e) { + return e ? e.toUpperCase() : ""; + }); + }), + k = _(function(t) { + return t.charAt(0).toUpperCase() + t.slice(1); + }), + O = /\B([A-Z])/g, + C = _(function(t) { + return t.replace(O, "-$1").toLowerCase(); + }); + var $ = Function.prototype.bind + ? function(t, e) { + return t.bind(e); + } + : function(t, e) { + function n(n) { + var r = arguments.length; + return r + ? r > 1 + ? t.apply(e, arguments) + : t.call(e, n) + : t.call(e); + } + return (n._length = t.length), n; + }; + function S(t, e) { + e = e || 0; + for (var n = t.length - e, r = new Array(n); n--; ) r[n] = t[n + e]; + return r; + } + function E(t, e) { + for (var n in e) t[n] = e[n]; + return t; + } + function A(t) { + for (var e = {}, n = 0; n < t.length; n++) t[n] && E(e, t[n]); + return e; + } + function j(t, e, n) {} + var L = function(t, e, n) { + return !1; + }, + P = function(t) { + return t; + }; + function T(t, e) { + if (t === e) return !0; + var n = l(t), + r = l(e); + if (!n || !r) return !n && !r && String(t) === String(e); + try { + var o = Array.isArray(t), + i = Array.isArray(e); + if (o && i) + return ( + t.length === e.length && + t.every(function(t, n) { + return T(t, e[n]); + }) + ); + if (t instanceof Date && e instanceof Date) + return t.getTime() === e.getTime(); + if (o || i) return !1; + var a = Object.keys(t), + s = Object.keys(e); + return ( + a.length === s.length && + a.every(function(n) { + return T(t[n], e[n]); + }) + ); + } catch (t) { + return !1; + } + } + function M(t, e) { + for (var n = 0; n < t.length; n++) if (T(t[n], e)) return n; + return -1; + } + function I(t) { + var e = !1; + return function() { + e || ((e = !0), t.apply(this, arguments)); + }; + } + var R = "data-server-rendered", + D = ["component", "directive", "filter"], + N = [ + "beforeCreate", + "created", + "beforeMount", + "mounted", + "beforeUpdate", + "updated", + "beforeDestroy", + "destroyed", + "activated", + "deactivated", + "errorCaptured" + ], + F = { + optionMergeStrategies: Object.create(null), + silent: !1, + productionTip: !1, + devtools: !1, + performance: !1, + errorHandler: null, + warnHandler: null, + ignoredElements: [], + keyCodes: Object.create(null), + isReservedTag: L, + isReservedAttr: L, + isUnknownElement: L, + getTagNamespace: j, + parsePlatformTagName: P, + mustUseProp: L, + async: !0, + _lifecycleHooks: N + }; + function z(t, e, n, r) { + Object.defineProperty(t, e, { + value: n, + enumerable: !!r, + writable: !0, + configurable: !0 + }); + } + var U = /[^\w.$]/; + var V, + B = "__proto__" in {}, + q = "undefined" != typeof window, + H = "undefined" != typeof WXEnvironment && !!WXEnvironment.platform, + G = H && WXEnvironment.platform.toLowerCase(), + W = q && window.navigator.userAgent.toLowerCase(), + K = W && /msie|trident/.test(W), + Z = W && W.indexOf("msie 9.0") > 0, + X = W && W.indexOf("edge/") > 0, + Y = (W && W.indexOf("android"), + (W && /iphone|ipad|ipod|ios/.test(W)) || "ios" === G), + J = (W && /chrome\/\d+/.test(W), {}.watch), + Q = !1; + if (q) + try { + var tt = {}; + Object.defineProperty(tt, "passive", { + get: function() { + Q = !0; + } + }), + window.addEventListener("test-passive", null, tt); + } catch (t) {} + var et = function() { + return ( + void 0 === V && + (V = + !q && + !H && + "undefined" != typeof global && + (global.process && "server" === global.process.env.VUE_ENV)), + V + ); + }, + nt = q && window.__VUE_DEVTOOLS_GLOBAL_HOOK__; + function rt(t) { + return "function" == typeof t && /native code/.test(t.toString()); + } + var ot, + it = + "undefined" != typeof Symbol && + rt(Symbol) && + "undefined" != typeof Reflect && + rt(Reflect.ownKeys); + ot = + "undefined" != typeof Set && rt(Set) + ? Set + : (function() { + function t() { + this.set = Object.create(null); + } + return ( + (t.prototype.has = function(t) { + return !0 === this.set[t]; + }), + (t.prototype.add = function(t) { + this.set[t] = !0; + }), + (t.prototype.clear = function() { + this.set = Object.create(null); + }), + t + ); + })(); + var at = j, + st = 0, + lt = function() { + (this.id = st++), (this.subs = []); + }; + (lt.prototype.addSub = function(t) { + this.subs.push(t); + }), + (lt.prototype.removeSub = function(t) { + y(this.subs, t); + }), + (lt.prototype.depend = function() { + lt.target && lt.target.addDep(this); + }), + (lt.prototype.notify = function() { + var t = this.subs.slice(); + for (var e = 0, n = t.length; e < n; e++) t[e].update(); + }), + (lt.target = null); + var ut = []; + function ct(t) { + ut.push(t), (lt.target = t); + } + function ft() { + ut.pop(), (lt.target = ut[ut.length - 1]); + } + var pt = function(t, e, n, r, o, i, a, s) { + (this.tag = t), + (this.data = e), + (this.children = n), + (this.text = r), + (this.elm = o), + (this.ns = void 0), + (this.context = i), + (this.fnContext = void 0), + (this.fnOptions = void 0), + (this.fnScopeId = void 0), + (this.key = e && e.key), + (this.componentOptions = a), + (this.componentInstance = void 0), + (this.parent = void 0), + (this.raw = !1), + (this.isStatic = !1), + (this.isRootInsert = !0), + (this.isComment = !1), + (this.isCloned = !1), + (this.isOnce = !1), + (this.asyncFactory = s), + (this.asyncMeta = void 0), + (this.isAsyncPlaceholder = !1); + }, + ht = { child: { configurable: !0 } }; + (ht.child.get = function() { + return this.componentInstance; + }), + Object.defineProperties(pt.prototype, ht); + var dt = function(t) { + void 0 === t && (t = ""); + var e = new pt(); + return (e.text = t), (e.isComment = !0), e; + }; + function vt(t) { + return new pt(void 0, void 0, void 0, String(t)); + } + function mt(t) { + var e = new pt( + t.tag, + t.data, + t.children && t.children.slice(), + t.text, + t.elm, + t.context, + t.componentOptions, + t.asyncFactory + ); + return ( + (e.ns = t.ns), + (e.isStatic = t.isStatic), + (e.key = t.key), + (e.isComment = t.isComment), + (e.fnContext = t.fnContext), + (e.fnOptions = t.fnOptions), + (e.fnScopeId = t.fnScopeId), + (e.asyncMeta = t.asyncMeta), + (e.isCloned = !0), + e + ); + } + var yt = Array.prototype, + gt = Object.create(yt); + ["push", "pop", "shift", "unshift", "splice", "sort", "reverse"].forEach( + function(t) { + var e = yt[t]; + z(gt, t, function() { + for (var n = [], r = arguments.length; r--; ) n[r] = arguments[r]; + var o, + i = e.apply(this, n), + a = this.__ob__; + switch (t) { + case "push": + case "unshift": + o = n; + break; + case "splice": + o = n.slice(2); + } + return o && a.observeArray(o), a.dep.notify(), i; + }); + } + ); + var bt = Object.getOwnPropertyNames(gt), + _t = !0; + function wt(t) { + _t = t; + } + var xt = function(t) { + var e; + (this.value = t), + (this.dep = new lt()), + (this.vmCount = 0), + z(t, "__ob__", this), + Array.isArray(t) + ? (B + ? ((e = gt), (t.__proto__ = e)) + : (function(t, e, n) { + for (var r = 0, o = n.length; r < o; r++) { + var i = n[r]; + z(t, i, e[i]); + } + })(t, gt, bt), + this.observeArray(t)) + : this.walk(t); + }; + function kt(t, e) { + var n; + if (l(t) && !(t instanceof pt)) + return ( + b(t, "__ob__") && t.__ob__ instanceof xt + ? (n = t.__ob__) + : _t && + !et() && + (Array.isArray(t) || c(t)) && + Object.isExtensible(t) && + !t._isVue && + (n = new xt(t)), + e && n && n.vmCount++, + n + ); + } + function Ot(t, e, n, r, o) { + var i = new lt(), + a = Object.getOwnPropertyDescriptor(t, e); + if (!a || !1 !== a.configurable) { + var s = a && a.get, + l = a && a.set; + (s && !l) || 2 !== arguments.length || (n = t[e]); + var u = !o && kt(n); + Object.defineProperty(t, e, { + enumerable: !0, + configurable: !0, + get: function() { + var e = s ? s.call(t) : n; + return ( + lt.target && + (i.depend(), + u && + (u.dep.depend(), + Array.isArray(e) && + (function t(e) { + for (var n = void 0, r = 0, o = e.length; r < o; r++) + (n = e[r]) && n.__ob__ && n.__ob__.dep.depend(), + Array.isArray(n) && t(n); + })(e))), + e + ); + }, + set: function(e) { + var r = s ? s.call(t) : n; + e === r || + (e != e && r != r) || + (s && !l) || + (l ? l.call(t, e) : (n = e), (u = !o && kt(e)), i.notify()); + } + }); + } + } + function Ct(t, e, n) { + if (Array.isArray(t) && p(e)) + return (t.length = Math.max(t.length, e)), t.splice(e, 1, n), n; + if (e in t && !(e in Object.prototype)) return (t[e] = n), n; + var r = t.__ob__; + return t._isVue || (r && r.vmCount) + ? n + : r + ? (Ot(r.value, e, n), r.dep.notify(), n) + : ((t[e] = n), n); + } + function $t(t, e) { + if (Array.isArray(t) && p(e)) t.splice(e, 1); + else { + var n = t.__ob__; + t._isVue || + (n && n.vmCount) || + (b(t, e) && (delete t[e], n && n.dep.notify())); + } + } + (xt.prototype.walk = function(t) { + for (var e = Object.keys(t), n = 0; n < e.length; n++) Ot(t, e[n]); + }), + (xt.prototype.observeArray = function(t) { + for (var e = 0, n = t.length; e < n; e++) kt(t[e]); + }); + var St = F.optionMergeStrategies; + function Et(t, e) { + if (!e) return t; + for (var n, r, o, i = Object.keys(e), a = 0; a < i.length; a++) + (r = t[(n = i[a])]), + (o = e[n]), + b(t, n) ? r !== o && c(r) && c(o) && Et(r, o) : Ct(t, n, o); + return t; + } + function At(t, e, n) { + return n + ? function() { + var r = "function" == typeof e ? e.call(n, n) : e, + o = "function" == typeof t ? t.call(n, n) : t; + return r ? Et(r, o) : o; + } + : e + ? t + ? function() { + return Et( + "function" == typeof e ? e.call(this, this) : e, + "function" == typeof t ? t.call(this, this) : t + ); + } + : e + : t; + } + function jt(t, e) { + return e ? (t ? t.concat(e) : Array.isArray(e) ? e : [e]) : t; + } + function Lt(t, e, n, r) { + var o = Object.create(t || null); + return e ? E(o, e) : o; + } + (St.data = function(t, e, n) { + return n ? At(t, e, n) : e && "function" != typeof e ? t : At(t, e); + }), + N.forEach(function(t) { + St[t] = jt; + }), + D.forEach(function(t) { + St[t + "s"] = Lt; + }), + (St.watch = function(t, e, n, r) { + if ((t === J && (t = void 0), e === J && (e = void 0), !e)) + return Object.create(t || null); + if (!t) return e; + var o = {}; + for (var i in (E(o, t), e)) { + var a = o[i], + s = e[i]; + a && !Array.isArray(a) && (a = [a]), + (o[i] = a ? a.concat(s) : Array.isArray(s) ? s : [s]); + } + return o; + }), + (St.props = St.methods = St.inject = St.computed = function(t, e, n, r) { + if (!t) return e; + var o = Object.create(null); + return E(o, t), e && E(o, e), o; + }), + (St.provide = At); + var Pt = function(t, e) { + return void 0 === e ? t : e; + }; + function Tt(t, e, n) { + if ( + ("function" == typeof e && (e = e.options), + (function(t, e) { + var n = t.props; + if (n) { + var r, + o, + i = {}; + if (Array.isArray(n)) + for (r = n.length; r--; ) + "string" == typeof (o = n[r]) && (i[x(o)] = { type: null }); + else if (c(n)) + for (var a in n) (o = n[a]), (i[x(a)] = c(o) ? o : { type: o }); + t.props = i; + } + })(e), + (function(t, e) { + var n = t.inject; + if (n) { + var r = (t.inject = {}); + if (Array.isArray(n)) + for (var o = 0; o < n.length; o++) r[n[o]] = { from: n[o] }; + else if (c(n)) + for (var i in n) { + var a = n[i]; + r[i] = c(a) ? E({ from: i }, a) : { from: a }; + } + } + })(e), + (function(t) { + var e = t.directives; + if (e) + for (var n in e) { + var r = e[n]; + "function" == typeof r && (e[n] = { bind: r, update: r }); + } + })(e), + !e._base && (e.extends && (t = Tt(t, e.extends, n)), e.mixins)) + ) + for (var r = 0, o = e.mixins.length; r < o; r++) + t = Tt(t, e.mixins[r], n); + var i, + a = {}; + for (i in t) s(i); + for (i in e) b(t, i) || s(i); + function s(r) { + var o = St[r] || Pt; + a[r] = o(t[r], e[r], n, r); + } + return a; + } + function Mt(t, e, n, r) { + if ("string" == typeof n) { + var o = t[e]; + if (b(o, n)) return o[n]; + var i = x(n); + if (b(o, i)) return o[i]; + var a = k(i); + return b(o, a) ? o[a] : o[n] || o[i] || o[a]; + } + } + function It(t, e, n, r) { + var o = e[t], + i = !b(n, t), + a = n[t], + s = Nt(Boolean, o.type); + if (s > -1) + if (i && !b(o, "default")) a = !1; + else if ("" === a || a === C(t)) { + var l = Nt(String, o.type); + (l < 0 || s < l) && (a = !0); + } + if (void 0 === a) { + a = (function(t, e, n) { + if (!b(e, "default")) return; + var r = e.default; + 0; + if ( + t && + t.$options.propsData && + void 0 === t.$options.propsData[n] && + void 0 !== t._props[n] + ) + return t._props[n]; + return "function" == typeof r && "Function" !== Rt(e.type) + ? r.call(t) + : r; + })(r, o, t); + var u = _t; + wt(!0), kt(a), wt(u); + } + return a; + } + function Rt(t) { + var e = t && t.toString().match(/^\s*function (\w+)/); + return e ? e[1] : ""; + } + function Dt(t, e) { + return Rt(t) === Rt(e); + } + function Nt(t, e) { + if (!Array.isArray(e)) return Dt(e, t) ? 0 : -1; + for (var n = 0, r = e.length; n < r; n++) if (Dt(e[n], t)) return n; + return -1; + } + function Ft(t, e, n) { + if (e) + for (var r = e; (r = r.$parent); ) { + var o = r.$options.errorCaptured; + if (o) + for (var i = 0; i < o.length; i++) + try { + if (!1 === o[i].call(r, t, e, n)) return; + } catch (t) { + zt(t, r, "errorCaptured hook"); + } + } + zt(t, e, n); + } + function zt(t, e, n) { + if (F.errorHandler) + try { + return F.errorHandler.call(null, t, e, n); + } catch (t) { + Ut(t, null, "config.errorHandler"); + } + Ut(t, e, n); + } + function Ut(t, e, n) { + if ((!q && !H) || "undefined" == typeof console) throw t; + console.error(t); + } + var Vt, + Bt, + qt = [], + Ht = !1; + function Gt() { + Ht = !1; + var t = qt.slice(0); + qt.length = 0; + for (var e = 0; e < t.length; e++) t[e](); + } + var Wt = !1; + if ("undefined" != typeof setImmediate && rt(setImmediate)) + Bt = function() { + setImmediate(Gt); + }; + else if ( + "undefined" == typeof MessageChannel || + (!rt(MessageChannel) && + "[object MessageChannelConstructor]" !== MessageChannel.toString()) + ) + Bt = function() { + setTimeout(Gt, 0); + }; + else { + var Kt = new MessageChannel(), + Zt = Kt.port2; + (Kt.port1.onmessage = Gt), + (Bt = function() { + Zt.postMessage(1); + }); + } + if ("undefined" != typeof Promise && rt(Promise)) { + var Xt = Promise.resolve(); + Vt = function() { + Xt.then(Gt), Y && setTimeout(j); + }; + } else Vt = Bt; + function Yt(t, e) { + var n; + if ( + (qt.push(function() { + if (t) + try { + t.call(e); + } catch (t) { + Ft(t, e, "nextTick"); + } + else n && n(e); + }), + Ht || ((Ht = !0), Wt ? Bt() : Vt()), + !t && "undefined" != typeof Promise) + ) + return new Promise(function(t) { + n = t; + }); + } + var Jt = new ot(); + function Qt(t) { + !(function t(e, n) { + var r, o; + var i = Array.isArray(e); + if ((!i && !l(e)) || Object.isFrozen(e) || e instanceof pt) return; + if (e.__ob__) { + var a = e.__ob__.dep.id; + if (n.has(a)) return; + n.add(a); + } + if (i) for (r = e.length; r--; ) t(e[r], n); + else for (o = Object.keys(e), r = o.length; r--; ) t(e[o[r]], n); + })(t, Jt), + Jt.clear(); + } + var te, + ee = _(function(t) { + var e = "&" === t.charAt(0), + n = "~" === (t = e ? t.slice(1) : t).charAt(0), + r = "!" === (t = n ? t.slice(1) : t).charAt(0); + return { + name: (t = r ? t.slice(1) : t), + once: n, + capture: r, + passive: e + }; + }); + function ne(t) { + function e() { + var t = arguments, + n = e.fns; + if (!Array.isArray(n)) return n.apply(null, arguments); + for (var r = n.slice(), o = 0; o < r.length; o++) r[o].apply(null, t); + } + return (e.fns = t), e; + } + function re(t, e, n, r, i, s) { + var l, u, c, f; + for (l in t) + (u = t[l]), + (c = e[l]), + (f = ee(l)), + o(u) || + (o(c) + ? (o(u.fns) && (u = t[l] = ne(u)), + a(f.once) && (u = t[l] = i(f.name, u, f.capture)), + n(f.name, u, f.capture, f.passive, f.params)) + : u !== c && ((c.fns = u), (t[l] = c))); + for (l in e) o(t[l]) && r((f = ee(l)).name, e[l], f.capture); + } + function oe(t, e, n) { + var r; + t instanceof pt && (t = t.data.hook || (t.data.hook = {})); + var s = t[e]; + function l() { + n.apply(this, arguments), y(r.fns, l); + } + o(s) + ? (r = ne([l])) + : i(s.fns) && a(s.merged) + ? (r = s).fns.push(l) + : (r = ne([s, l])), + (r.merged = !0), + (t[e] = r); + } + function ie(t, e, n, r, o) { + if (i(e)) { + if (b(e, n)) return (t[n] = e[n]), o || delete e[n], !0; + if (b(e, r)) return (t[n] = e[r]), o || delete e[r], !0; + } + return !1; + } + function ae(t) { + return s(t) + ? [vt(t)] + : Array.isArray(t) + ? (function t(e, n) { + var r = []; + var l, u, c, f; + for (l = 0; l < e.length; l++) + o((u = e[l])) || + "boolean" == typeof u || + ((c = r.length - 1), + (f = r[c]), + Array.isArray(u) + ? u.length > 0 && + (se((u = t(u, (n || "") + "_" + l))[0]) && + se(f) && + ((r[c] = vt(f.text + u[0].text)), u.shift()), + r.push.apply(r, u)) + : s(u) + ? se(f) + ? (r[c] = vt(f.text + u)) + : "" !== u && r.push(vt(u)) + : se(u) && se(f) + ? (r[c] = vt(f.text + u.text)) + : (a(e._isVList) && + i(u.tag) && + o(u.key) && + i(n) && + (u.key = "__vlist" + n + "_" + l + "__"), + r.push(u))); + return r; + })(t) + : void 0; + } + function se(t) { + return i(t) && i(t.text) && !1 === t.isComment; + } + function le(t, e) { + return ( + (t.__esModule || (it && "Module" === t[Symbol.toStringTag])) && + (t = t.default), + l(t) ? e.extend(t) : t + ); + } + function ue(t) { + return t.isComment && t.asyncFactory; + } + function ce(t) { + if (Array.isArray(t)) + for (var e = 0; e < t.length; e++) { + var n = t[e]; + if (i(n) && (i(n.componentOptions) || ue(n))) return n; + } + } + function fe(t, e) { + te.$on(t, e); + } + function pe(t, e) { + te.$off(t, e); + } + function he(t, e) { + var n = te; + return function r() { + null !== e.apply(null, arguments) && n.$off(t, r); + }; + } + function de(t, e, n) { + (te = t), re(e, n || {}, fe, pe, he), (te = void 0); + } + function ve(t, e) { + var n = {}; + if (!t) return n; + for (var r = 0, o = t.length; r < o; r++) { + var i = t[r], + a = i.data; + if ( + (a && a.attrs && a.attrs.slot && delete a.attrs.slot, + (i.context !== e && i.fnContext !== e) || !a || null == a.slot) + ) + (n.default || (n.default = [])).push(i); + else { + var s = a.slot, + l = n[s] || (n[s] = []); + "template" === i.tag ? l.push.apply(l, i.children || []) : l.push(i); + } + } + for (var u in n) n[u].every(me) && delete n[u]; + return n; + } + function me(t) { + return (t.isComment && !t.asyncFactory) || " " === t.text; + } + function ye(t, e) { + e = e || {}; + for (var n = 0; n < t.length; n++) + Array.isArray(t[n]) ? ye(t[n], e) : (e[t[n].key] = t[n].fn); + return e; + } + var ge = null; + function be(t) { + var e = ge; + return ( + (ge = t), + function() { + ge = e; + } + ); + } + function _e(t) { + for (; t && (t = t.$parent); ) if (t._inactive) return !0; + return !1; + } + function we(t, e) { + if (e) { + if (((t._directInactive = !1), _e(t))) return; + } else if (t._directInactive) return; + if (t._inactive || null === t._inactive) { + t._inactive = !1; + for (var n = 0; n < t.$children.length; n++) we(t.$children[n]); + xe(t, "activated"); + } + } + function xe(t, e) { + ct(); + var n = t.$options[e]; + if (n) + for (var r = 0, o = n.length; r < o; r++) + try { + n[r].call(t); + } catch (n) { + Ft(n, t, e + " hook"); + } + t._hasHookEvent && t.$emit("hook:" + e), ft(); + } + var ke = [], + Oe = [], + Ce = {}, + $e = !1, + Se = !1, + Ee = 0; + function Ae() { + var t, e; + for ( + Se = !0, + ke.sort(function(t, e) { + return t.id - e.id; + }), + Ee = 0; + Ee < ke.length; + Ee++ + ) + (t = ke[Ee]).before && t.before(), (e = t.id), (Ce[e] = null), t.run(); + var n = Oe.slice(), + r = ke.slice(); + (Ee = ke.length = Oe.length = 0), + (Ce = {}), + ($e = Se = !1), + (function(t) { + for (var e = 0; e < t.length; e++) + (t[e]._inactive = !0), we(t[e], !0); + })(n), + (function(t) { + var e = t.length; + for (; e--; ) { + var n = t[e], + r = n.vm; + r._watcher === n && + r._isMounted && + !r._isDestroyed && + xe(r, "updated"); + } + })(r), + nt && F.devtools && nt.emit("flush"); + } + var je = 0, + Le = function(t, e, n, r, o) { + (this.vm = t), + o && (t._watcher = this), + t._watchers.push(this), + r + ? ((this.deep = !!r.deep), + (this.user = !!r.user), + (this.lazy = !!r.lazy), + (this.sync = !!r.sync), + (this.before = r.before)) + : (this.deep = this.user = this.lazy = this.sync = !1), + (this.cb = n), + (this.id = ++je), + (this.active = !0), + (this.dirty = this.lazy), + (this.deps = []), + (this.newDeps = []), + (this.depIds = new ot()), + (this.newDepIds = new ot()), + (this.expression = ""), + "function" == typeof e + ? (this.getter = e) + : ((this.getter = (function(t) { + if (!U.test(t)) { + var e = t.split("."); + return function(t) { + for (var n = 0; n < e.length; n++) { + if (!t) return; + t = t[e[n]]; + } + return t; + }; + } + })(e)), + this.getter || (this.getter = j)), + (this.value = this.lazy ? void 0 : this.get()); + }; + (Le.prototype.get = function() { + var t; + ct(this); + var e = this.vm; + try { + t = this.getter.call(e, e); + } catch (t) { + if (!this.user) throw t; + Ft(t, e, 'getter for watcher "' + this.expression + '"'); + } finally { + this.deep && Qt(t), ft(), this.cleanupDeps(); + } + return t; + }), + (Le.prototype.addDep = function(t) { + var e = t.id; + this.newDepIds.has(e) || + (this.newDepIds.add(e), + this.newDeps.push(t), + this.depIds.has(e) || t.addSub(this)); + }), + (Le.prototype.cleanupDeps = function() { + for (var t = this.deps.length; t--; ) { + var e = this.deps[t]; + this.newDepIds.has(e.id) || e.removeSub(this); + } + var n = this.depIds; + (this.depIds = this.newDepIds), + (this.newDepIds = n), + this.newDepIds.clear(), + (n = this.deps), + (this.deps = this.newDeps), + (this.newDeps = n), + (this.newDeps.length = 0); + }), + (Le.prototype.update = function() { + this.lazy + ? (this.dirty = !0) + : this.sync + ? this.run() + : (function(t) { + var e = t.id; + if (null == Ce[e]) { + if (((Ce[e] = !0), Se)) { + for (var n = ke.length - 1; n > Ee && ke[n].id > t.id; ) + n--; + ke.splice(n + 1, 0, t); + } else ke.push(t); + $e || (($e = !0), Yt(Ae)); + } + })(this); + }), + (Le.prototype.run = function() { + if (this.active) { + var t = this.get(); + if (t !== this.value || l(t) || this.deep) { + var e = this.value; + if (((this.value = t), this.user)) + try { + this.cb.call(this.vm, t, e); + } catch (t) { + Ft( + t, + this.vm, + 'callback for watcher "' + this.expression + '"' + ); + } + else this.cb.call(this.vm, t, e); + } + } + }), + (Le.prototype.evaluate = function() { + (this.value = this.get()), (this.dirty = !1); + }), + (Le.prototype.depend = function() { + for (var t = this.deps.length; t--; ) this.deps[t].depend(); + }), + (Le.prototype.teardown = function() { + if (this.active) { + this.vm._isBeingDestroyed || y(this.vm._watchers, this); + for (var t = this.deps.length; t--; ) this.deps[t].removeSub(this); + this.active = !1; + } + }); + var Pe = { enumerable: !0, configurable: !0, get: j, set: j }; + function Te(t, e, n) { + (Pe.get = function() { + return this[e][n]; + }), + (Pe.set = function(t) { + this[e][n] = t; + }), + Object.defineProperty(t, n, Pe); + } + function Me(t) { + t._watchers = []; + var e = t.$options; + e.props && + (function(t, e) { + var n = t.$options.propsData || {}, + r = (t._props = {}), + o = (t.$options._propKeys = []); + t.$parent && wt(!1); + var i = function(i) { + o.push(i); + var a = It(i, e, n, t); + Ot(r, i, a), i in t || Te(t, "_props", i); + }; + for (var a in e) i(a); + wt(!0); + })(t, e.props), + e.methods && + (function(t, e) { + t.$options.props; + for (var n in e) t[n] = "function" != typeof e[n] ? j : $(e[n], t); + })(t, e.methods), + e.data + ? (function(t) { + var e = t.$options.data; + c( + (e = t._data = + "function" == typeof e + ? (function(t, e) { + ct(); + try { + return t.call(e, e); + } catch (t) { + return Ft(t, e, "data()"), {}; + } finally { + ft(); + } + })(e, t) + : e || {}) + ) || (e = {}); + var n = Object.keys(e), + r = t.$options.props, + o = (t.$options.methods, n.length); + for (; o--; ) { + var i = n[o]; + 0, + (r && b(r, i)) || + ((a = void 0), + 36 !== (a = (i + "").charCodeAt(0)) && + 95 !== a && + Te(t, "_data", i)); + } + var a; + kt(e, !0); + })(t) + : kt((t._data = {}), !0), + e.computed && + (function(t, e) { + var n = (t._computedWatchers = Object.create(null)), + r = et(); + for (var o in e) { + var i = e[o], + a = "function" == typeof i ? i : i.get; + 0, r || (n[o] = new Le(t, a || j, j, Ie)), o in t || Re(t, o, i); + } + })(t, e.computed), + e.watch && + e.watch !== J && + (function(t, e) { + for (var n in e) { + var r = e[n]; + if (Array.isArray(r)) + for (var o = 0; o < r.length; o++) Fe(t, n, r[o]); + else Fe(t, n, r); + } + })(t, e.watch); + } + var Ie = { lazy: !0 }; + function Re(t, e, n) { + var r = !et(); + "function" == typeof n + ? ((Pe.get = r ? De(e) : Ne(n)), (Pe.set = j)) + : ((Pe.get = n.get ? (r && !1 !== n.cache ? De(e) : Ne(n.get)) : j), + (Pe.set = n.set || j)), + Object.defineProperty(t, e, Pe); + } + function De(t) { + return function() { + var e = this._computedWatchers && this._computedWatchers[t]; + if (e) return e.dirty && e.evaluate(), lt.target && e.depend(), e.value; + }; + } + function Ne(t) { + return function() { + return t.call(this, this); + }; + } + function Fe(t, e, n, r) { + return ( + c(n) && ((r = n), (n = n.handler)), + "string" == typeof n && (n = t[n]), + t.$watch(e, n, r) + ); + } + function ze(t, e) { + if (t) { + for ( + var n = Object.create(null), + r = it + ? Reflect.ownKeys(t).filter(function(e) { + return Object.getOwnPropertyDescriptor(t, e).enumerable; + }) + : Object.keys(t), + o = 0; + o < r.length; + o++ + ) { + for (var i = r[o], a = t[i].from, s = e; s; ) { + if (s._provided && b(s._provided, a)) { + n[i] = s._provided[a]; + break; + } + s = s.$parent; + } + if (!s) + if ("default" in t[i]) { + var l = t[i].default; + n[i] = "function" == typeof l ? l.call(e) : l; + } else 0; + } + return n; + } + } + function Ue(t, e) { + var n, r, o, a, s; + if (Array.isArray(t) || "string" == typeof t) + for (n = new Array(t.length), r = 0, o = t.length; r < o; r++) + n[r] = e(t[r], r); + else if ("number" == typeof t) + for (n = new Array(t), r = 0; r < t; r++) n[r] = e(r + 1, r); + else if (l(t)) + for ( + a = Object.keys(t), n = new Array(a.length), r = 0, o = a.length; + r < o; + r++ + ) + (s = a[r]), (n[r] = e(t[s], s, r)); + return i(n) || (n = []), (n._isVList = !0), n; + } + function Ve(t, e, n, r) { + var o, + i = this.$scopedSlots[t]; + i + ? ((n = n || {}), r && (n = E(E({}, r), n)), (o = i(n) || e)) + : (o = this.$slots[t] || e); + var a = n && n.slot; + return a ? this.$createElement("template", { slot: a }, o) : o; + } + function Be(t) { + return Mt(this.$options, "filters", t) || P; + } + function qe(t, e) { + return Array.isArray(t) ? -1 === t.indexOf(e) : t !== e; + } + function He(t, e, n, r, o) { + var i = F.keyCodes[e] || n; + return o && r && !F.keyCodes[e] + ? qe(o, r) + : i + ? qe(i, t) + : r + ? C(r) !== e + : void 0; + } + function Ge(t, e, n, r, o) { + if (n) + if (l(n)) { + var i; + Array.isArray(n) && (n = A(n)); + var a = function(a) { + if ("class" === a || "style" === a || m(a)) i = t; + else { + var s = t.attrs && t.attrs.type; + i = + r || F.mustUseProp(e, s, a) + ? t.domProps || (t.domProps = {}) + : t.attrs || (t.attrs = {}); + } + var l = x(a); + a in i || + l in i || + ((i[a] = n[a]), + o && + ((t.on || (t.on = {}))["update:" + l] = function(t) { + n[a] = t; + })); + }; + for (var s in n) a(s); + } else; + return t; + } + function We(t, e) { + var n = this._staticTrees || (this._staticTrees = []), + r = n[t]; + return r && !e + ? r + : (Ze( + (r = n[t] = this.$options.staticRenderFns[t].call( + this._renderProxy, + null, + this + )), + "__static__" + t, + !1 + ), + r); + } + function Ke(t, e, n) { + return Ze(t, "__once__" + e + (n ? "_" + n : ""), !0), t; + } + function Ze(t, e, n) { + if (Array.isArray(t)) + for (var r = 0; r < t.length; r++) + t[r] && "string" != typeof t[r] && Xe(t[r], e + "_" + r, n); + else Xe(t, e, n); + } + function Xe(t, e, n) { + (t.isStatic = !0), (t.key = e), (t.isOnce = n); + } + function Ye(t, e) { + if (e) + if (c(e)) { + var n = (t.on = t.on ? E({}, t.on) : {}); + for (var r in e) { + var o = n[r], + i = e[r]; + n[r] = o ? [].concat(o, i) : i; + } + } else; + return t; + } + function Je(t) { + (t._o = Ke), + (t._n = d), + (t._s = h), + (t._l = Ue), + (t._t = Ve), + (t._q = T), + (t._i = M), + (t._m = We), + (t._f = Be), + (t._k = He), + (t._b = Ge), + (t._v = vt), + (t._e = dt), + (t._u = ye), + (t._g = Ye); + } + function Qe(t, e, n, o, i) { + var s, + l = i.options; + b(o, "_uid") + ? ((s = Object.create(o))._original = o) + : ((s = o), (o = o._original)); + var u = a(l._compiled), + c = !u; + (this.data = t), + (this.props = e), + (this.children = n), + (this.parent = o), + (this.listeners = t.on || r), + (this.injections = ze(l.inject, o)), + (this.slots = function() { + return ve(n, o); + }), + u && + ((this.$options = l), + (this.$slots = this.slots()), + (this.$scopedSlots = t.scopedSlots || r)), + l._scopeId + ? (this._c = function(t, e, n, r) { + var i = un(s, t, e, n, r, c); + return ( + i && + !Array.isArray(i) && + ((i.fnScopeId = l._scopeId), (i.fnContext = o)), + i + ); + }) + : (this._c = function(t, e, n, r) { + return un(s, t, e, n, r, c); + }); + } + function tn(t, e, n, r, o) { + var i = mt(t); + return ( + (i.fnContext = n), + (i.fnOptions = r), + e.slot && ((i.data || (i.data = {})).slot = e.slot), + i + ); + } + function en(t, e) { + for (var n in e) t[x(n)] = e[n]; + } + Je(Qe.prototype); + var nn = { + init: function(t, e) { + if ( + t.componentInstance && + !t.componentInstance._isDestroyed && + t.data.keepAlive + ) { + var n = t; + nn.prepatch(n, n); + } else { + (t.componentInstance = (function(t, e) { + var n = { _isComponent: !0, _parentVnode: t, parent: e }, + r = t.data.inlineTemplate; + i(r) && + ((n.render = r.render), + (n.staticRenderFns = r.staticRenderFns)); + return new t.componentOptions.Ctor(n); + })(t, ge)).$mount(e ? t.elm : void 0, e); + } + }, + prepatch: function(t, e) { + var n = e.componentOptions; + !(function(t, e, n, o, i) { + var a = !!( + i || + t.$options._renderChildren || + o.data.scopedSlots || + t.$scopedSlots !== r + ); + if ( + ((t.$options._parentVnode = o), + (t.$vnode = o), + t._vnode && (t._vnode.parent = o), + (t.$options._renderChildren = i), + (t.$attrs = o.data.attrs || r), + (t.$listeners = n || r), + e && t.$options.props) + ) { + wt(!1); + for ( + var s = t._props, l = t.$options._propKeys || [], u = 0; + u < l.length; + u++ + ) { + var c = l[u], + f = t.$options.props; + s[c] = It(c, f, e, t); + } + wt(!0), (t.$options.propsData = e); + } + n = n || r; + var p = t.$options._parentListeners; + (t.$options._parentListeners = n), + de(t, n, p), + a && ((t.$slots = ve(i, o.context)), t.$forceUpdate()); + })( + (e.componentInstance = t.componentInstance), + n.propsData, + n.listeners, + e, + n.children + ); + }, + insert: function(t) { + var e, + n = t.context, + r = t.componentInstance; + r._isMounted || ((r._isMounted = !0), xe(r, "mounted")), + t.data.keepAlive && + (n._isMounted + ? (((e = r)._inactive = !1), Oe.push(e)) + : we(r, !0)); + }, + destroy: function(t) { + var e = t.componentInstance; + e._isDestroyed || + (t.data.keepAlive + ? (function t(e, n) { + if ( + !((n && ((e._directInactive = !0), _e(e))) || e._inactive) + ) { + e._inactive = !0; + for (var r = 0; r < e.$children.length; r++) + t(e.$children[r]); + xe(e, "deactivated"); + } + })(e, !0) + : e.$destroy()); + } + }, + rn = Object.keys(nn); + function on(t, e, n, s, u) { + if (!o(t)) { + var c = n.$options._base; + if ((l(t) && (t = c.extend(t)), "function" == typeof t)) { + var f; + if ( + o(t.cid) && + void 0 === + (t = (function(t, e, n) { + if (a(t.error) && i(t.errorComp)) return t.errorComp; + if (i(t.resolved)) return t.resolved; + if (a(t.loading) && i(t.loadingComp)) return t.loadingComp; + if (!i(t.contexts)) { + var r = (t.contexts = [n]), + s = !0, + u = function(t) { + for (var e = 0, n = r.length; e < n; e++) + r[e].$forceUpdate(); + t && (r.length = 0); + }, + c = I(function(n) { + (t.resolved = le(n, e)), s || u(!0); + }), + f = I(function(e) { + i(t.errorComp) && ((t.error = !0), u(!0)); + }), + p = t(c, f); + return ( + l(p) && + ("function" == typeof p.then + ? o(t.resolved) && p.then(c, f) + : i(p.component) && + "function" == typeof p.component.then && + (p.component.then(c, f), + i(p.error) && (t.errorComp = le(p.error, e)), + i(p.loading) && + ((t.loadingComp = le(p.loading, e)), + 0 === p.delay + ? (t.loading = !0) + : setTimeout(function() { + o(t.resolved) && + o(t.error) && + ((t.loading = !0), u(!1)); + }, p.delay || 200)), + i(p.timeout) && + setTimeout(function() { + o(t.resolved) && f(null); + }, p.timeout))), + (s = !1), + t.loading ? t.loadingComp : t.resolved + ); + } + t.contexts.push(n); + })((f = t), c, n)) + ) + return (function(t, e, n, r, o) { + var i = dt(); + return ( + (i.asyncFactory = t), + (i.asyncMeta = { data: e, context: n, children: r, tag: o }), + i + ); + })(f, e, n, s, u); + (e = e || {}), + fn(t), + i(e.model) && + (function(t, e) { + var n = (t.model && t.model.prop) || "value", + r = (t.model && t.model.event) || "input"; + (e.props || (e.props = {}))[n] = e.model.value; + var o = e.on || (e.on = {}), + a = o[r], + s = e.model.callback; + i(a) + ? (Array.isArray(a) ? -1 === a.indexOf(s) : a !== s) && + (o[r] = [s].concat(a)) + : (o[r] = s); + })(t.options, e); + var p = (function(t, e, n) { + var r = e.options.props; + if (!o(r)) { + var a = {}, + s = t.attrs, + l = t.props; + if (i(s) || i(l)) + for (var u in r) { + var c = C(u); + ie(a, l, u, c, !0) || ie(a, s, u, c, !1); + } + return a; + } + })(e, t); + if (a(t.options.functional)) + return (function(t, e, n, o, a) { + var s = t.options, + l = {}, + u = s.props; + if (i(u)) for (var c in u) l[c] = It(c, u, e || r); + else i(n.attrs) && en(l, n.attrs), i(n.props) && en(l, n.props); + var f = new Qe(n, l, a, o, t), + p = s.render.call(null, f._c, f); + if (p instanceof pt) return tn(p, n, f.parent, s); + if (Array.isArray(p)) { + for ( + var h = ae(p) || [], d = new Array(h.length), v = 0; + v < h.length; + v++ + ) + d[v] = tn(h[v], n, f.parent, s); + return d; + } + })(t, p, e, n, s); + var h = e.on; + if (((e.on = e.nativeOn), a(t.options.abstract))) { + var d = e.slot; + (e = {}), d && (e.slot = d); + } + !(function(t) { + for (var e = t.hook || (t.hook = {}), n = 0; n < rn.length; n++) { + var r = rn[n], + o = e[r], + i = nn[r]; + o === i || (o && o._merged) || (e[r] = o ? an(i, o) : i); + } + })(e); + var v = t.options.name || u; + return new pt( + "vue-component-" + t.cid + (v ? "-" + v : ""), + e, + void 0, + void 0, + void 0, + n, + { Ctor: t, propsData: p, listeners: h, tag: u, children: s }, + f + ); + } + } + } + function an(t, e) { + var n = function(n, r) { + t(n, r), e(n, r); + }; + return (n._merged = !0), n; + } + var sn = 1, + ln = 2; + function un(t, e, n, r, u, c) { + return ( + (Array.isArray(n) || s(n)) && ((u = r), (r = n), (n = void 0)), + a(c) && (u = ln), + (function(t, e, n, r, s) { + if (i(n) && i(n.__ob__)) return dt(); + i(n) && i(n.is) && (e = n.is); + if (!e) return dt(); + 0; + Array.isArray(r) && + "function" == typeof r[0] && + (((n = n || {}).scopedSlots = { default: r[0] }), (r.length = 0)); + s === ln + ? (r = ae(r)) + : s === sn && + (r = (function(t) { + for (var e = 0; e < t.length; e++) + if (Array.isArray(t[e])) + return Array.prototype.concat.apply([], t); + return t; + })(r)); + var u, c; + if ("string" == typeof e) { + var f; + (c = (t.$vnode && t.$vnode.ns) || F.getTagNamespace(e)), + (u = F.isReservedTag(e) + ? new pt(F.parsePlatformTagName(e), n, r, void 0, void 0, t) + : (n && n.pre) || !i((f = Mt(t.$options, "components", e))) + ? new pt(e, n, r, void 0, void 0, t) + : on(f, n, t, r, e)); + } else u = on(e, n, t, r); + return Array.isArray(u) + ? u + : i(u) + ? (i(c) && + (function t(e, n, r) { + e.ns = n; + "foreignObject" === e.tag && ((n = void 0), (r = !0)); + if (i(e.children)) + for (var s = 0, l = e.children.length; s < l; s++) { + var u = e.children[s]; + i(u.tag) && + (o(u.ns) || (a(r) && "svg" !== u.tag)) && + t(u, n, r); + } + })(u, c), + i(n) && + (function(t) { + l(t.style) && Qt(t.style); + l(t.class) && Qt(t.class); + })(n), + u) + : dt(); + })(t, e, n, r, u) + ); + } + var cn = 0; + function fn(t) { + var e = t.options; + if (t.super) { + var n = fn(t.super); + if (n !== t.superOptions) { + t.superOptions = n; + var r = (function(t) { + var e, + n = t.options, + r = t.extendOptions, + o = t.sealedOptions; + for (var i in n) + n[i] !== o[i] && (e || (e = {}), (e[i] = pn(n[i], r[i], o[i]))); + return e; + })(t); + r && E(t.extendOptions, r), + (e = t.options = Tt(n, t.extendOptions)).name && + (e.components[e.name] = t); + } + } + return e; + } + function pn(t, e, n) { + if (Array.isArray(t)) { + var r = []; + (n = Array.isArray(n) ? n : [n]), (e = Array.isArray(e) ? e : [e]); + for (var o = 0; o < t.length; o++) + (e.indexOf(t[o]) >= 0 || n.indexOf(t[o]) < 0) && r.push(t[o]); + return r; + } + return t; + } + function hn(t) { + this._init(t); + } + function dn(t) { + t.cid = 0; + var e = 1; + t.extend = function(t) { + t = t || {}; + var n = this, + r = n.cid, + o = t._Ctor || (t._Ctor = {}); + if (o[r]) return o[r]; + var i = t.name || n.options.name; + var a = function(t) { + this._init(t); + }; + return ( + ((a.prototype = Object.create(n.prototype)).constructor = a), + (a.cid = e++), + (a.options = Tt(n.options, t)), + (a.super = n), + a.options.props && + (function(t) { + var e = t.options.props; + for (var n in e) Te(t.prototype, "_props", n); + })(a), + a.options.computed && + (function(t) { + var e = t.options.computed; + for (var n in e) Re(t.prototype, n, e[n]); + })(a), + (a.extend = n.extend), + (a.mixin = n.mixin), + (a.use = n.use), + D.forEach(function(t) { + a[t] = n[t]; + }), + i && (a.options.components[i] = a), + (a.superOptions = n.options), + (a.extendOptions = t), + (a.sealedOptions = E({}, a.options)), + (o[r] = a), + a + ); + }; + } + function vn(t) { + return t && (t.Ctor.options.name || t.tag); + } + function mn(t, e) { + return Array.isArray(t) + ? t.indexOf(e) > -1 + : "string" == typeof t + ? t.split(",").indexOf(e) > -1 + : !!f(t) && t.test(e); + } + function yn(t, e) { + var n = t.cache, + r = t.keys, + o = t._vnode; + for (var i in n) { + var a = n[i]; + if (a) { + var s = vn(a.componentOptions); + s && !e(s) && gn(n, i, r, o); + } + } + } + function gn(t, e, n, r) { + var o = t[e]; + !o || (r && o.tag === r.tag) || o.componentInstance.$destroy(), + (t[e] = null), + y(n, e); + } + !(function(t) { + t.prototype._init = function(t) { + var e = this; + (e._uid = cn++), + (e._isVue = !0), + t && t._isComponent + ? (function(t, e) { + var n = (t.$options = Object.create(t.constructor.options)), + r = e._parentVnode; + (n.parent = e.parent), (n._parentVnode = r); + var o = r.componentOptions; + (n.propsData = o.propsData), + (n._parentListeners = o.listeners), + (n._renderChildren = o.children), + (n._componentTag = o.tag), + e.render && + ((n.render = e.render), + (n.staticRenderFns = e.staticRenderFns)); + })(e, t) + : (e.$options = Tt(fn(e.constructor), t || {}, e)), + (e._renderProxy = e), + (e._self = e), + (function(t) { + var e = t.$options, + n = e.parent; + if (n && !e.abstract) { + for (; n.$options.abstract && n.$parent; ) n = n.$parent; + n.$children.push(t); + } + (t.$parent = n), + (t.$root = n ? n.$root : t), + (t.$children = []), + (t.$refs = {}), + (t._watcher = null), + (t._inactive = null), + (t._directInactive = !1), + (t._isMounted = !1), + (t._isDestroyed = !1), + (t._isBeingDestroyed = !1); + })(e), + (function(t) { + (t._events = Object.create(null)), (t._hasHookEvent = !1); + var e = t.$options._parentListeners; + e && de(t, e); + })(e), + (function(t) { + (t._vnode = null), (t._staticTrees = null); + var e = t.$options, + n = (t.$vnode = e._parentVnode), + o = n && n.context; + (t.$slots = ve(e._renderChildren, o)), + (t.$scopedSlots = r), + (t._c = function(e, n, r, o) { + return un(t, e, n, r, o, !1); + }), + (t.$createElement = function(e, n, r, o) { + return un(t, e, n, r, o, !0); + }); + var i = n && n.data; + Ot(t, "$attrs", (i && i.attrs) || r, null, !0), + Ot(t, "$listeners", e._parentListeners || r, null, !0); + })(e), + xe(e, "beforeCreate"), + (function(t) { + var e = ze(t.$options.inject, t); + e && + (wt(!1), + Object.keys(e).forEach(function(n) { + Ot(t, n, e[n]); + }), + wt(!0)); + })(e), + Me(e), + (function(t) { + var e = t.$options.provide; + e && (t._provided = "function" == typeof e ? e.call(t) : e); + })(e), + xe(e, "created"), + e.$options.el && e.$mount(e.$options.el); + }; + })(hn), + (function(t) { + var e = { + get: function() { + return this._data; + } + }, + n = { + get: function() { + return this._props; + } + }; + Object.defineProperty(t.prototype, "$data", e), + Object.defineProperty(t.prototype, "$props", n), + (t.prototype.$set = Ct), + (t.prototype.$delete = $t), + (t.prototype.$watch = function(t, e, n) { + if (c(e)) return Fe(this, t, e, n); + (n = n || {}).user = !0; + var r = new Le(this, t, e, n); + if (n.immediate) + try { + e.call(this, r.value); + } catch (t) { + Ft( + t, + this, + 'callback for immediate watcher "' + r.expression + '"' + ); + } + return function() { + r.teardown(); + }; + }); + })(hn), + (function(t) { + var e = /^hook:/; + (t.prototype.$on = function(t, n) { + var r = this; + if (Array.isArray(t)) + for (var o = 0, i = t.length; o < i; o++) r.$on(t[o], n); + else + (r._events[t] || (r._events[t] = [])).push(n), + e.test(t) && (r._hasHookEvent = !0); + return r; + }), + (t.prototype.$once = function(t, e) { + var n = this; + function r() { + n.$off(t, r), e.apply(n, arguments); + } + return (r.fn = e), n.$on(t, r), n; + }), + (t.prototype.$off = function(t, e) { + var n = this; + if (!arguments.length) return (n._events = Object.create(null)), n; + if (Array.isArray(t)) { + for (var r = 0, o = t.length; r < o; r++) n.$off(t[r], e); + return n; + } + var i = n._events[t]; + if (!i) return n; + if (!e) return (n._events[t] = null), n; + if (e) + for (var a, s = i.length; s--; ) + if ((a = i[s]) === e || a.fn === e) { + i.splice(s, 1); + break; + } + return n; + }), + (t.prototype.$emit = function(t) { + var e = this._events[t]; + if (e) { + e = e.length > 1 ? S(e) : e; + for (var n = S(arguments, 1), r = 0, o = e.length; r < o; r++) + try { + e[r].apply(this, n); + } catch (e) { + Ft(e, this, 'event handler for "' + t + '"'); + } + } + return this; + }); + })(hn), + (function(t) { + (t.prototype._update = function(t, e) { + var n = this, + r = n.$el, + o = n._vnode, + i = be(n); + (n._vnode = t), + (n.$el = o ? n.__patch__(o, t) : n.__patch__(n.$el, t, e, !1)), + i(), + r && (r.__vue__ = null), + n.$el && (n.$el.__vue__ = n), + n.$vnode && + n.$parent && + n.$vnode === n.$parent._vnode && + (n.$parent.$el = n.$el); + }), + (t.prototype.$forceUpdate = function() { + this._watcher && this._watcher.update(); + }), + (t.prototype.$destroy = function() { + var t = this; + if (!t._isBeingDestroyed) { + xe(t, "beforeDestroy"), (t._isBeingDestroyed = !0); + var e = t.$parent; + !e || + e._isBeingDestroyed || + t.$options.abstract || + y(e.$children, t), + t._watcher && t._watcher.teardown(); + for (var n = t._watchers.length; n--; ) t._watchers[n].teardown(); + t._data.__ob__ && t._data.__ob__.vmCount--, + (t._isDestroyed = !0), + t.__patch__(t._vnode, null), + xe(t, "destroyed"), + t.$off(), + t.$el && (t.$el.__vue__ = null), + t.$vnode && (t.$vnode.parent = null); + } + }); + })(hn), + (function(t) { + Je(t.prototype), + (t.prototype.$nextTick = function(t) { + return Yt(t, this); + }), + (t.prototype._render = function() { + var t, + e = this, + n = e.$options, + o = n.render, + i = n._parentVnode; + i && (e.$scopedSlots = i.data.scopedSlots || r), (e.$vnode = i); + try { + t = o.call(e._renderProxy, e.$createElement); + } catch (n) { + Ft(n, e, "render"), (t = e._vnode); + } + return t instanceof pt || (t = dt()), (t.parent = i), t; + }); + })(hn); + var bn = [String, RegExp, Array], + _n = { + KeepAlive: { + name: "keep-alive", + abstract: !0, + props: { include: bn, exclude: bn, max: [String, Number] }, + created: function() { + (this.cache = Object.create(null)), (this.keys = []); + }, + destroyed: function() { + for (var t in this.cache) gn(this.cache, t, this.keys); + }, + mounted: function() { + var t = this; + this.$watch("include", function(e) { + yn(t, function(t) { + return mn(e, t); + }); + }), + this.$watch("exclude", function(e) { + yn(t, function(t) { + return !mn(e, t); + }); + }); + }, + render: function() { + var t = this.$slots.default, + e = ce(t), + n = e && e.componentOptions; + if (n) { + var r = vn(n), + o = this.include, + i = this.exclude; + if ((o && (!r || !mn(o, r))) || (i && r && mn(i, r))) return e; + var a = this.cache, + s = this.keys, + l = + null == e.key + ? n.Ctor.cid + (n.tag ? "::" + n.tag : "") + : e.key; + a[l] + ? ((e.componentInstance = a[l].componentInstance), + y(s, l), + s.push(l)) + : ((a[l] = e), + s.push(l), + this.max && + s.length > parseInt(this.max) && + gn(a, s[0], s, this._vnode)), + (e.data.keepAlive = !0); + } + return e || (t && t[0]); + } + } + }; + !(function(t) { + var e = { + get: function() { + return F; + } + }; + Object.defineProperty(t, "config", e), + (t.util = { + warn: at, + extend: E, + mergeOptions: Tt, + defineReactive: Ot + }), + (t.set = Ct), + (t.delete = $t), + (t.nextTick = Yt), + (t.options = Object.create(null)), + D.forEach(function(e) { + t.options[e + "s"] = Object.create(null); + }), + (t.options._base = t), + E(t.options.components, _n), + (function(t) { + t.use = function(t) { + var e = this._installedPlugins || (this._installedPlugins = []); + if (e.indexOf(t) > -1) return this; + var n = S(arguments, 1); + return ( + n.unshift(this), + "function" == typeof t.install + ? t.install.apply(t, n) + : "function" == typeof t && t.apply(null, n), + e.push(t), + this + ); + }; + })(t), + (function(t) { + t.mixin = function(t) { + return (this.options = Tt(this.options, t)), this; + }; + })(t), + dn(t), + (function(t) { + D.forEach(function(e) { + t[e] = function(t, n) { + return n + ? ("component" === e && + c(n) && + ((n.name = n.name || t), + (n = this.options._base.extend(n))), + "directive" === e && + "function" == typeof n && + (n = { bind: n, update: n }), + (this.options[e + "s"][t] = n), + n) + : this.options[e + "s"][t]; + }; + }); + })(t); + })(hn), + Object.defineProperty(hn.prototype, "$isServer", { get: et }), + Object.defineProperty(hn.prototype, "$ssrContext", { + get: function() { + return this.$vnode && this.$vnode.ssrContext; + } + }), + Object.defineProperty(hn, "FunctionalRenderContext", { value: Qe }), + (hn.version = "2.5.21"); + var wn = v("style,class"), + xn = v("input,textarea,option,select,progress"), + kn = v("contenteditable,draggable,spellcheck"), + On = v( + "allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible" + ), + Cn = "http://www.w3.org/1999/xlink", + $n = function(t) { + return ":" === t.charAt(5) && "xlink" === t.slice(0, 5); + }, + Sn = function(t) { + return $n(t) ? t.slice(6, t.length) : ""; + }, + En = function(t) { + return null == t || !1 === t; + }; + function An(t) { + for (var e = t.data, n = t, r = t; i(r.componentInstance); ) + (r = r.componentInstance._vnode) && r.data && (e = jn(r.data, e)); + for (; i((n = n.parent)); ) n && n.data && (e = jn(e, n.data)); + return (function(t, e) { + if (i(t) || i(e)) return Ln(t, Pn(e)); + return ""; + })(e.staticClass, e.class); + } + function jn(t, e) { + return { + staticClass: Ln(t.staticClass, e.staticClass), + class: i(t.class) ? [t.class, e.class] : e.class + }; + } + function Ln(t, e) { + return t ? (e ? t + " " + e : t) : e || ""; + } + function Pn(t) { + return Array.isArray(t) + ? (function(t) { + for (var e, n = "", r = 0, o = t.length; r < o; r++) + i((e = Pn(t[r]))) && "" !== e && (n && (n += " "), (n += e)); + return n; + })(t) + : l(t) + ? (function(t) { + var e = ""; + for (var n in t) t[n] && (e && (e += " "), (e += n)); + return e; + })(t) + : "string" == typeof t + ? t + : ""; + } + var Tn = { + svg: "http://www.w3.org/2000/svg", + math: "http://www.w3.org/1998/Math/MathML" + }, + Mn = v( + "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,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,rtc,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,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot" + ), + In = v( + "svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view", + !0 + ), + Rn = function(t) { + return Mn(t) || In(t); + }; + var Dn = Object.create(null); + var Nn = v("text,number,password,search,email,tel,url"); + var Fn = Object.freeze({ + createElement: function(t, e) { + var n = document.createElement(t); + return "select" !== t + ? n + : (e.data && + e.data.attrs && + void 0 !== e.data.attrs.multiple && + n.setAttribute("multiple", "multiple"), + n); + }, + createElementNS: function(t, e) { + return document.createElementNS(Tn[t], e); + }, + createTextNode: function(t) { + return document.createTextNode(t); + }, + createComment: function(t) { + return document.createComment(t); + }, + insertBefore: function(t, e, n) { + t.insertBefore(e, n); + }, + removeChild: function(t, e) { + t.removeChild(e); + }, + appendChild: function(t, e) { + t.appendChild(e); + }, + parentNode: function(t) { + return t.parentNode; + }, + nextSibling: function(t) { + return t.nextSibling; + }, + tagName: function(t) { + return t.tagName; + }, + setTextContent: function(t, e) { + t.textContent = e; + }, + setStyleScope: function(t, e) { + t.setAttribute(e, ""); + } + }), + zn = { + create: function(t, e) { + Un(e); + }, + update: function(t, e) { + t.data.ref !== e.data.ref && (Un(t, !0), Un(e)); + }, + destroy: function(t) { + Un(t, !0); + } + }; + function Un(t, e) { + var n = t.data.ref; + if (i(n)) { + var r = t.context, + o = t.componentInstance || t.elm, + a = r.$refs; + e + ? Array.isArray(a[n]) + ? y(a[n], o) + : a[n] === o && (a[n] = void 0) + : t.data.refInFor + ? Array.isArray(a[n]) + ? a[n].indexOf(o) < 0 && a[n].push(o) + : (a[n] = [o]) + : (a[n] = o); + } + } + var Vn = new pt("", {}, []), + Bn = ["create", "activate", "update", "remove", "destroy"]; + function qn(t, e) { + return ( + t.key === e.key && + ((t.tag === e.tag && + t.isComment === e.isComment && + i(t.data) === i(e.data) && + (function(t, e) { + if ("input" !== t.tag) return !0; + var n, + r = i((n = t.data)) && i((n = n.attrs)) && n.type, + o = i((n = e.data)) && i((n = n.attrs)) && n.type; + return r === o || (Nn(r) && Nn(o)); + })(t, e)) || + (a(t.isAsyncPlaceholder) && + t.asyncFactory === e.asyncFactory && + o(e.asyncFactory.error))) + ); + } + function Hn(t, e, n) { + var r, + o, + a = {}; + for (r = e; r <= n; ++r) i((o = t[r].key)) && (a[o] = r); + return a; + } + var Gn = { + create: Wn, + update: Wn, + destroy: function(t) { + Wn(t, Vn); + } + }; + function Wn(t, e) { + (t.data.directives || e.data.directives) && + (function(t, e) { + var n, + r, + o, + i = t === Vn, + a = e === Vn, + s = Zn(t.data.directives, t.context), + l = Zn(e.data.directives, e.context), + u = [], + c = []; + for (n in l) + (r = s[n]), + (o = l[n]), + r + ? ((o.oldValue = r.value), + Yn(o, "update", e, t), + o.def && o.def.componentUpdated && c.push(o)) + : (Yn(o, "bind", e, t), o.def && o.def.inserted && u.push(o)); + if (u.length) { + var f = function() { + for (var n = 0; n < u.length; n++) Yn(u[n], "inserted", e, t); + }; + i ? oe(e, "insert", f) : f(); + } + c.length && + oe(e, "postpatch", function() { + for (var n = 0; n < c.length; n++) + Yn(c[n], "componentUpdated", e, t); + }); + if (!i) for (n in s) l[n] || Yn(s[n], "unbind", t, t, a); + })(t, e); + } + var Kn = Object.create(null); + function Zn(t, e) { + var n, + r, + o = Object.create(null); + if (!t) return o; + for (n = 0; n < t.length; n++) + (r = t[n]).modifiers || (r.modifiers = Kn), + (o[Xn(r)] = r), + (r.def = Mt(e.$options, "directives", r.name)); + return o; + } + function Xn(t) { + return ( + t.rawName || t.name + "." + Object.keys(t.modifiers || {}).join(".") + ); + } + function Yn(t, e, n, r, o) { + var i = t.def && t.def[e]; + if (i) + try { + i(n.elm, t, n, r, o); + } catch (r) { + Ft(r, n.context, "directive " + t.name + " " + e + " hook"); + } + } + var Jn = [zn, Gn]; + function Qn(t, e) { + var n = e.componentOptions; + if ( + !( + (i(n) && !1 === n.Ctor.options.inheritAttrs) || + (o(t.data.attrs) && o(e.data.attrs)) + ) + ) { + var r, + a, + s = e.elm, + l = t.data.attrs || {}, + u = e.data.attrs || {}; + for (r in (i(u.__ob__) && (u = e.data.attrs = E({}, u)), u)) + (a = u[r]), l[r] !== a && tr(s, r, a); + for (r in ((K || X) && u.value !== l.value && tr(s, "value", u.value), + l)) + o(u[r]) && + ($n(r) + ? s.removeAttributeNS(Cn, Sn(r)) + : kn(r) || s.removeAttribute(r)); + } + } + function tr(t, e, n) { + t.tagName.indexOf("-") > -1 + ? er(t, e, n) + : On(e) + ? En(n) + ? t.removeAttribute(e) + : ((n = + "allowfullscreen" === e && "EMBED" === t.tagName ? "true" : e), + t.setAttribute(e, n)) + : kn(e) + ? t.setAttribute(e, En(n) || "false" === n ? "false" : "true") + : $n(e) + ? En(n) + ? t.removeAttributeNS(Cn, Sn(e)) + : t.setAttributeNS(Cn, e, n) + : er(t, e, n); + } + function er(t, e, n) { + if (En(n)) t.removeAttribute(e); + else { + if ( + K && + !Z && + ("TEXTAREA" === t.tagName || "INPUT" === t.tagName) && + "placeholder" === e && + !t.__ieph + ) { + var r = function(e) { + e.stopImmediatePropagation(), t.removeEventListener("input", r); + }; + t.addEventListener("input", r), (t.__ieph = !0); + } + t.setAttribute(e, n); + } + } + var nr = { create: Qn, update: Qn }; + function rr(t, e) { + var n = e.elm, + r = e.data, + a = t.data; + if ( + !( + o(r.staticClass) && + o(r.class) && + (o(a) || (o(a.staticClass) && o(a.class))) + ) + ) { + var s = An(e), + l = n._transitionClasses; + i(l) && (s = Ln(s, Pn(l))), + s !== n._prevClass && + (n.setAttribute("class", s), (n._prevClass = s)); + } + } + var or, + ir = { create: rr, update: rr }, + ar = "__r", + sr = "__c"; + function lr(t, e, n) { + var r = or; + return function o() { + null !== e.apply(null, arguments) && cr(t, o, n, r); + }; + } + function ur(t, e, n, r) { + var o; + (e = + (o = e)._withTask || + (o._withTask = function() { + Wt = !0; + try { + return o.apply(null, arguments); + } finally { + Wt = !1; + } + })), + or.addEventListener(t, e, Q ? { capture: n, passive: r } : n); + } + function cr(t, e, n, r) { + (r || or).removeEventListener(t, e._withTask || e, n); + } + function fr(t, e) { + if (!o(t.data.on) || !o(e.data.on)) { + var n = e.data.on || {}, + r = t.data.on || {}; + (or = e.elm), + (function(t) { + if (i(t[ar])) { + var e = K ? "change" : "input"; + (t[e] = [].concat(t[ar], t[e] || [])), delete t[ar]; + } + i(t[sr]) && + ((t.change = [].concat(t[sr], t.change || [])), delete t[sr]); + })(n), + re(n, r, ur, cr, lr, e.context), + (or = void 0); + } + } + var pr = { create: fr, update: fr }; + function hr(t, e) { + if (!o(t.data.domProps) || !o(e.data.domProps)) { + var n, + r, + a = e.elm, + s = t.data.domProps || {}, + l = e.data.domProps || {}; + for (n in (i(l.__ob__) && (l = e.data.domProps = E({}, l)), s)) + o(l[n]) && (a[n] = ""); + for (n in l) { + if (((r = l[n]), "textContent" === n || "innerHTML" === n)) { + if ((e.children && (e.children.length = 0), r === s[n])) continue; + 1 === a.childNodes.length && a.removeChild(a.childNodes[0]); + } + if ("value" === n) { + a._value = r; + var u = o(r) ? "" : String(r); + dr(a, u) && (a.value = u); + } else a[n] = r; + } + } + } + function dr(t, e) { + return ( + !t.composing && + ("OPTION" === t.tagName || + (function(t, e) { + var n = !0; + try { + n = document.activeElement !== t; + } catch (t) {} + return n && t.value !== e; + })(t, e) || + (function(t, e) { + var n = t.value, + r = t._vModifiers; + if (i(r)) { + if (r.lazy) return !1; + if (r.number) return d(n) !== d(e); + if (r.trim) return n.trim() !== e.trim(); + } + return n !== e; + })(t, e)) + ); + } + var vr = { create: hr, update: hr }, + mr = _(function(t) { + var e = {}, + n = /:(.+)/; + return ( + t.split(/;(?![^(]*\))/g).forEach(function(t) { + if (t) { + var r = t.split(n); + r.length > 1 && (e[r[0].trim()] = r[1].trim()); + } + }), + e + ); + }); + function yr(t) { + var e = gr(t.style); + return t.staticStyle ? E(t.staticStyle, e) : e; + } + function gr(t) { + return Array.isArray(t) ? A(t) : "string" == typeof t ? mr(t) : t; + } + var br, + _r = /^--/, + wr = /\s*!important$/, + xr = function(t, e, n) { + if (_r.test(e)) t.style.setProperty(e, n); + else if (wr.test(n)) + t.style.setProperty(e, n.replace(wr, ""), "important"); + else { + var r = Or(e); + if (Array.isArray(n)) + for (var o = 0, i = n.length; o < i; o++) t.style[r] = n[o]; + else t.style[r] = n; + } + }, + kr = ["Webkit", "Moz", "ms"], + Or = _(function(t) { + if ( + ((br = br || document.createElement("div").style), + "filter" !== (t = x(t)) && t in br) + ) + return t; + for ( + var e = t.charAt(0).toUpperCase() + t.slice(1), n = 0; + n < kr.length; + n++ + ) { + var r = kr[n] + e; + if (r in br) return r; + } + }); + function Cr(t, e) { + var n = e.data, + r = t.data; + if (!(o(n.staticStyle) && o(n.style) && o(r.staticStyle) && o(r.style))) { + var a, + s, + l = e.elm, + u = r.staticStyle, + c = r.normalizedStyle || r.style || {}, + f = u || c, + p = gr(e.data.style) || {}; + e.data.normalizedStyle = i(p.__ob__) ? E({}, p) : p; + var h = (function(t, e) { + var n, + r = {}; + if (e) + for (var o = t; o.componentInstance; ) + (o = o.componentInstance._vnode) && + o.data && + (n = yr(o.data)) && + E(r, n); + (n = yr(t.data)) && E(r, n); + for (var i = t; (i = i.parent); ) + i.data && (n = yr(i.data)) && E(r, n); + return r; + })(e, !0); + for (s in f) o(h[s]) && xr(l, s, ""); + for (s in h) (a = h[s]) !== f[s] && xr(l, s, null == a ? "" : a); + } + } + var $r = { create: Cr, update: Cr }, + Sr = /\s+/; + function Er(t, e) { + if (e && (e = e.trim())) + if (t.classList) + e.indexOf(" ") > -1 + ? e.split(Sr).forEach(function(e) { + return t.classList.add(e); + }) + : t.classList.add(e); + else { + var n = " " + (t.getAttribute("class") || "") + " "; + n.indexOf(" " + e + " ") < 0 && + t.setAttribute("class", (n + e).trim()); + } + } + function Ar(t, e) { + if (e && (e = e.trim())) + if (t.classList) + e.indexOf(" ") > -1 + ? e.split(Sr).forEach(function(e) { + return t.classList.remove(e); + }) + : t.classList.remove(e), + t.classList.length || t.removeAttribute("class"); + else { + for ( + var n = " " + (t.getAttribute("class") || "") + " ", + r = " " + e + " "; + n.indexOf(r) >= 0; + + ) + n = n.replace(r, " "); + (n = n.trim()) + ? t.setAttribute("class", n) + : t.removeAttribute("class"); + } + } + function jr(t) { + if (t) { + if ("object" == typeof t) { + var e = {}; + return !1 !== t.css && E(e, Lr(t.name || "v")), E(e, t), e; + } + return "string" == typeof t ? Lr(t) : void 0; + } + } + var Lr = _(function(t) { + return { + enterClass: t + "-enter", + enterToClass: t + "-enter-to", + enterActiveClass: t + "-enter-active", + leaveClass: t + "-leave", + leaveToClass: t + "-leave-to", + leaveActiveClass: t + "-leave-active" + }; + }), + Pr = q && !Z, + Tr = "transition", + Mr = "animation", + Ir = "transition", + Rr = "transitionend", + Dr = "animation", + Nr = "animationend"; + Pr && + (void 0 === window.ontransitionend && + void 0 !== window.onwebkittransitionend && + ((Ir = "WebkitTransition"), (Rr = "webkitTransitionEnd")), + void 0 === window.onanimationend && + void 0 !== window.onwebkitanimationend && + ((Dr = "WebkitAnimation"), (Nr = "webkitAnimationEnd"))); + var Fr = q + ? window.requestAnimationFrame + ? window.requestAnimationFrame.bind(window) + : setTimeout + : function(t) { + return t(); + }; + function zr(t) { + Fr(function() { + Fr(t); + }); + } + function Ur(t, e) { + var n = t._transitionClasses || (t._transitionClasses = []); + n.indexOf(e) < 0 && (n.push(e), Er(t, e)); + } + function Vr(t, e) { + t._transitionClasses && y(t._transitionClasses, e), Ar(t, e); + } + function Br(t, e, n) { + var r = Hr(t, e), + o = r.type, + i = r.timeout, + a = r.propCount; + if (!o) return n(); + var s = o === Tr ? Rr : Nr, + l = 0, + u = function() { + t.removeEventListener(s, c), n(); + }, + c = function(e) { + e.target === t && ++l >= a && u(); + }; + setTimeout(function() { + l < a && u(); + }, i + 1), + t.addEventListener(s, c); + } + var qr = /\b(transform|all)(,|$)/; + function Hr(t, e) { + var n, + r = window.getComputedStyle(t), + o = (r[Ir + "Delay"] || "").split(", "), + i = (r[Ir + "Duration"] || "").split(", "), + a = Gr(o, i), + s = (r[Dr + "Delay"] || "").split(", "), + l = (r[Dr + "Duration"] || "").split(", "), + u = Gr(s, l), + c = 0, + f = 0; + return ( + e === Tr + ? a > 0 && ((n = Tr), (c = a), (f = i.length)) + : e === Mr + ? u > 0 && ((n = Mr), (c = u), (f = l.length)) + : (f = (n = (c = Math.max(a, u)) > 0 ? (a > u ? Tr : Mr) : null) + ? n === Tr + ? i.length + : l.length + : 0), + { + type: n, + timeout: c, + propCount: f, + hasTransform: n === Tr && qr.test(r[Ir + "Property"]) + } + ); + } + function Gr(t, e) { + for (; t.length < e.length; ) t = t.concat(t); + return Math.max.apply( + null, + e.map(function(e, n) { + return Wr(e) + Wr(t[n]); + }) + ); + } + function Wr(t) { + return 1e3 * Number(t.slice(0, -1).replace(",", ".")); + } + function Kr(t, e) { + var n = t.elm; + i(n._leaveCb) && ((n._leaveCb.cancelled = !0), n._leaveCb()); + var r = jr(t.data.transition); + if (!o(r) && !i(n._enterCb) && 1 === n.nodeType) { + for ( + var a = r.css, + s = r.type, + u = r.enterClass, + c = r.enterToClass, + f = r.enterActiveClass, + p = r.appearClass, + h = r.appearToClass, + v = r.appearActiveClass, + m = r.beforeEnter, + y = r.enter, + g = r.afterEnter, + b = r.enterCancelled, + _ = r.beforeAppear, + w = r.appear, + x = r.afterAppear, + k = r.appearCancelled, + O = r.duration, + C = ge, + $ = ge.$vnode; + $ && $.parent; + + ) + C = ($ = $.parent).context; + var S = !C._isMounted || !t.isRootInsert; + if (!S || w || "" === w) { + var E = S && p ? p : u, + A = S && v ? v : f, + j = S && h ? h : c, + L = (S && _) || m, + P = S && "function" == typeof w ? w : y, + T = (S && x) || g, + M = (S && k) || b, + R = d(l(O) ? O.enter : O); + 0; + var D = !1 !== a && !Z, + N = Yr(P), + F = (n._enterCb = I(function() { + D && (Vr(n, j), Vr(n, A)), + F.cancelled ? (D && Vr(n, E), M && M(n)) : T && T(n), + (n._enterCb = null); + })); + t.data.show || + oe(t, "insert", function() { + var e = n.parentNode, + r = e && e._pending && e._pending[t.key]; + r && r.tag === t.tag && r.elm._leaveCb && r.elm._leaveCb(), + P && P(n, F); + }), + L && L(n), + D && + (Ur(n, E), + Ur(n, A), + zr(function() { + Vr(n, E), + F.cancelled || + (Ur(n, j), N || (Xr(R) ? setTimeout(F, R) : Br(n, s, F))); + })), + t.data.show && (e && e(), P && P(n, F)), + D || N || F(); + } + } + } + function Zr(t, e) { + var n = t.elm; + i(n._enterCb) && ((n._enterCb.cancelled = !0), n._enterCb()); + var r = jr(t.data.transition); + if (o(r) || 1 !== n.nodeType) return e(); + if (!i(n._leaveCb)) { + var a = r.css, + s = r.type, + u = r.leaveClass, + c = r.leaveToClass, + f = r.leaveActiveClass, + p = r.beforeLeave, + h = r.leave, + v = r.afterLeave, + m = r.leaveCancelled, + y = r.delayLeave, + g = r.duration, + b = !1 !== a && !Z, + _ = Yr(h), + w = d(l(g) ? g.leave : g); + 0; + var x = (n._leaveCb = I(function() { + n.parentNode && + n.parentNode._pending && + (n.parentNode._pending[t.key] = null), + b && (Vr(n, c), Vr(n, f)), + x.cancelled ? (b && Vr(n, u), m && m(n)) : (e(), v && v(n)), + (n._leaveCb = null); + })); + y ? y(k) : k(); + } + function k() { + x.cancelled || + (!t.data.show && + n.parentNode && + ((n.parentNode._pending || (n.parentNode._pending = {}))[ + t.key + ] = t), + p && p(n), + b && + (Ur(n, u), + Ur(n, f), + zr(function() { + Vr(n, u), + x.cancelled || + (Ur(n, c), _ || (Xr(w) ? setTimeout(x, w) : Br(n, s, x))); + })), + h && h(n, x), + b || _ || x()); + } + } + function Xr(t) { + return "number" == typeof t && !isNaN(t); + } + function Yr(t) { + if (o(t)) return !1; + var e = t.fns; + return i(e) + ? Yr(Array.isArray(e) ? e[0] : e) + : (t._length || t.length) > 1; + } + function Jr(t, e) { + !0 !== e.data.show && Kr(e); + } + var Qr = (function(t) { + var e, + n, + r = {}, + l = t.modules, + u = t.nodeOps; + for (e = 0; e < Bn.length; ++e) + for (r[Bn[e]] = [], n = 0; n < l.length; ++n) + i(l[n][Bn[e]]) && r[Bn[e]].push(l[n][Bn[e]]); + function c(t) { + var e = u.parentNode(t); + i(e) && u.removeChild(e, t); + } + function f(t, e, n, o, s, l, c) { + if ( + (i(t.elm) && i(l) && (t = l[c] = mt(t)), + (t.isRootInsert = !s), + !(function(t, e, n, o) { + var s = t.data; + if (i(s)) { + var l = i(t.componentInstance) && s.keepAlive; + if ( + (i((s = s.hook)) && i((s = s.init)) && s(t, !1), + i(t.componentInstance)) + ) + return ( + p(t, e), + h(n, t.elm, o), + a(l) && + (function(t, e, n, o) { + for (var a, s = t; s.componentInstance; ) + if ( + ((s = s.componentInstance._vnode), + i((a = s.data)) && i((a = a.transition))) + ) { + for (a = 0; a < r.activate.length; ++a) + r.activate[a](Vn, s); + e.push(s); + break; + } + h(n, t.elm, o); + })(t, e, n, o), + !0 + ); + } + })(t, e, n, o)) + ) { + var f = t.data, + v = t.children, + m = t.tag; + i(m) + ? ((t.elm = t.ns + ? u.createElementNS(t.ns, m) + : u.createElement(m, t)), + g(t), + d(t, v, e), + i(f) && y(t, e), + h(n, t.elm, o)) + : a(t.isComment) + ? ((t.elm = u.createComment(t.text)), h(n, t.elm, o)) + : ((t.elm = u.createTextNode(t.text)), h(n, t.elm, o)); + } + } + function p(t, e) { + i(t.data.pendingInsert) && + (e.push.apply(e, t.data.pendingInsert), + (t.data.pendingInsert = null)), + (t.elm = t.componentInstance.$el), + m(t) ? (y(t, e), g(t)) : (Un(t), e.push(t)); + } + function h(t, e, n) { + i(t) && + (i(n) + ? u.parentNode(n) === t && u.insertBefore(t, e, n) + : u.appendChild(t, e)); + } + function d(t, e, n) { + if (Array.isArray(e)) + for (var r = 0; r < e.length; ++r) f(e[r], n, t.elm, null, !0, e, r); + else + s(t.text) && u.appendChild(t.elm, u.createTextNode(String(t.text))); + } + function m(t) { + for (; t.componentInstance; ) t = t.componentInstance._vnode; + return i(t.tag); + } + function y(t, n) { + for (var o = 0; o < r.create.length; ++o) r.create[o](Vn, t); + i((e = t.data.hook)) && + (i(e.create) && e.create(Vn, t), i(e.insert) && n.push(t)); + } + function g(t) { + var e; + if (i((e = t.fnScopeId))) u.setStyleScope(t.elm, e); + else + for (var n = t; n; ) + i((e = n.context)) && + i((e = e.$options._scopeId)) && + u.setStyleScope(t.elm, e), + (n = n.parent); + i((e = ge)) && + e !== t.context && + e !== t.fnContext && + i((e = e.$options._scopeId)) && + u.setStyleScope(t.elm, e); + } + function b(t, e, n, r, o, i) { + for (; r <= o; ++r) f(n[r], i, t, e, !1, n, r); + } + function _(t) { + var e, + n, + o = t.data; + if (i(o)) + for ( + i((e = o.hook)) && i((e = e.destroy)) && e(t), e = 0; + e < r.destroy.length; + ++e + ) + r.destroy[e](t); + if (i((e = t.children))) + for (n = 0; n < t.children.length; ++n) _(t.children[n]); + } + function w(t, e, n, r) { + for (; n <= r; ++n) { + var o = e[n]; + i(o) && (i(o.tag) ? (x(o), _(o)) : c(o.elm)); + } + } + function x(t, e) { + if (i(e) || i(t.data)) { + var n, + o = r.remove.length + 1; + for ( + i(e) + ? (e.listeners += o) + : (e = (function(t, e) { + function n() { + 0 == --n.listeners && c(t); + } + return (n.listeners = e), n; + })(t.elm, o)), + i((n = t.componentInstance)) && + i((n = n._vnode)) && + i(n.data) && + x(n, e), + n = 0; + n < r.remove.length; + ++n + ) + r.remove[n](t, e); + i((n = t.data.hook)) && i((n = n.remove)) ? n(t, e) : e(); + } else c(t.elm); + } + function k(t, e, n, r) { + for (var o = n; o < r; o++) { + var a = e[o]; + if (i(a) && qn(t, a)) return o; + } + } + function O(t, e, n, s, l, c) { + if (t !== e) { + i(e.elm) && i(s) && (e = s[l] = mt(e)); + var p = (e.elm = t.elm); + if (a(t.isAsyncPlaceholder)) + i(e.asyncFactory.resolved) + ? S(t.elm, e, n) + : (e.isAsyncPlaceholder = !0); + else if ( + a(e.isStatic) && + a(t.isStatic) && + e.key === t.key && + (a(e.isCloned) || a(e.isOnce)) + ) + e.componentInstance = t.componentInstance; + else { + var h, + d = e.data; + i(d) && i((h = d.hook)) && i((h = h.prepatch)) && h(t, e); + var v = t.children, + y = e.children; + if (i(d) && m(e)) { + for (h = 0; h < r.update.length; ++h) r.update[h](t, e); + i((h = d.hook)) && i((h = h.update)) && h(t, e); + } + o(e.text) + ? i(v) && i(y) + ? v !== y && + (function(t, e, n, r, a) { + for ( + var s, + l, + c, + p = 0, + h = 0, + d = e.length - 1, + v = e[0], + m = e[d], + y = n.length - 1, + g = n[0], + _ = n[y], + x = !a; + p <= d && h <= y; + + ) + o(v) + ? (v = e[++p]) + : o(m) + ? (m = e[--d]) + : qn(v, g) + ? (O(v, g, r, n, h), (v = e[++p]), (g = n[++h])) + : qn(m, _) + ? (O(m, _, r, n, y), (m = e[--d]), (_ = n[--y])) + : qn(v, _) + ? (O(v, _, r, n, y), + x && + u.insertBefore( + t, + v.elm, + u.nextSibling(m.elm) + ), + (v = e[++p]), + (_ = n[--y])) + : qn(m, g) + ? (O(m, g, r, n, h), + x && u.insertBefore(t, m.elm, v.elm), + (m = e[--d]), + (g = n[++h])) + : (o(s) && (s = Hn(e, p, d)), + o((l = i(g.key) ? s[g.key] : k(g, e, p, d))) + ? f(g, r, t, v.elm, !1, n, h) + : qn((c = e[l]), g) + ? (O(c, g, r, n, h), + (e[l] = void 0), + x && u.insertBefore(t, c.elm, v.elm)) + : f(g, r, t, v.elm, !1, n, h), + (g = n[++h])); + p > d + ? b(t, o(n[y + 1]) ? null : n[y + 1].elm, n, h, y, r) + : h > y && w(0, e, p, d); + })(p, v, y, n, c) + : i(y) + ? (i(t.text) && u.setTextContent(p, ""), + b(p, null, y, 0, y.length - 1, n)) + : i(v) + ? w(0, v, 0, v.length - 1) + : i(t.text) && u.setTextContent(p, "") + : t.text !== e.text && u.setTextContent(p, e.text), + i(d) && i((h = d.hook)) && i((h = h.postpatch)) && h(t, e); + } + } + } + function C(t, e, n) { + if (a(n) && i(t.parent)) t.parent.data.pendingInsert = e; + else for (var r = 0; r < e.length; ++r) e[r].data.hook.insert(e[r]); + } + var $ = v("attrs,class,staticClass,staticStyle,key"); + function S(t, e, n, r) { + var o, + s = e.tag, + l = e.data, + u = e.children; + if ( + ((r = r || (l && l.pre)), + (e.elm = t), + a(e.isComment) && i(e.asyncFactory)) + ) + return (e.isAsyncPlaceholder = !0), !0; + if ( + i(l) && + (i((o = l.hook)) && i((o = o.init)) && o(e, !0), + i((o = e.componentInstance))) + ) + return p(e, n), !0; + if (i(s)) { + if (i(u)) + if (t.hasChildNodes()) + if (i((o = l)) && i((o = o.domProps)) && i((o = o.innerHTML))) { + if (o !== t.innerHTML) return !1; + } else { + for (var c = !0, f = t.firstChild, h = 0; h < u.length; h++) { + if (!f || !S(f, u[h], n, r)) { + c = !1; + break; + } + f = f.nextSibling; + } + if (!c || f) return !1; + } + else d(e, u, n); + if (i(l)) { + var v = !1; + for (var m in l) + if (!$(m)) { + (v = !0), y(e, n); + break; + } + !v && l.class && Qt(l.class); + } + } else t.data !== e.text && (t.data = e.text); + return !0; + } + return function(t, e, n, s) { + if (!o(e)) { + var l, + c = !1, + p = []; + if (o(t)) (c = !0), f(e, p); + else { + var h = i(t.nodeType); + if (!h && qn(t, e)) O(t, e, p, null, null, s); + else { + if (h) { + if ( + (1 === t.nodeType && + t.hasAttribute(R) && + (t.removeAttribute(R), (n = !0)), + a(n) && S(t, e, p)) + ) + return C(e, p, !0), t; + (l = t), + (t = new pt(u.tagName(l).toLowerCase(), {}, [], void 0, l)); + } + var d = t.elm, + v = u.parentNode(d); + if ( + (f(e, p, d._leaveCb ? null : v, u.nextSibling(d)), i(e.parent)) + ) + for (var y = e.parent, g = m(e); y; ) { + for (var b = 0; b < r.destroy.length; ++b) r.destroy[b](y); + if (((y.elm = e.elm), g)) { + for (var x = 0; x < r.create.length; ++x) + r.create[x](Vn, y); + var k = y.data.hook.insert; + if (k.merged) + for (var $ = 1; $ < k.fns.length; $++) k.fns[$](); + } else Un(y); + y = y.parent; + } + i(v) ? w(0, [t], 0, 0) : i(t.tag) && _(t); + } + } + return C(e, p, c), e.elm; + } + i(t) && _(t); + }; + })({ + nodeOps: Fn, + modules: [ + nr, + ir, + pr, + vr, + $r, + q + ? { + create: Jr, + activate: Jr, + remove: function(t, e) { + !0 !== t.data.show ? Zr(t, e) : e(); + } + } + : {} + ].concat(Jn) + }); + Z && + document.addEventListener("selectionchange", function() { + var t = document.activeElement; + t && t.vmodel && so(t, "input"); + }); + var to = { + inserted: function(t, e, n, r) { + "select" === n.tag + ? (r.elm && !r.elm._vOptions + ? oe(n, "postpatch", function() { + to.componentUpdated(t, e, n); + }) + : eo(t, e, n.context), + (t._vOptions = [].map.call(t.options, oo))) + : ("textarea" === n.tag || Nn(t.type)) && + ((t._vModifiers = e.modifiers), + e.modifiers.lazy || + (t.addEventListener("compositionstart", io), + t.addEventListener("compositionend", ao), + t.addEventListener("change", ao), + Z && (t.vmodel = !0))); + }, + componentUpdated: function(t, e, n) { + if ("select" === n.tag) { + eo(t, e, n.context); + var r = t._vOptions, + o = (t._vOptions = [].map.call(t.options, oo)); + if ( + o.some(function(t, e) { + return !T(t, r[e]); + }) + ) + (t.multiple + ? e.value.some(function(t) { + return ro(t, o); + }) + : e.value !== e.oldValue && ro(e.value, o)) && so(t, "change"); + } + } + }; + function eo(t, e, n) { + no(t, e, n), + (K || X) && + setTimeout(function() { + no(t, e, n); + }, 0); + } + function no(t, e, n) { + var r = e.value, + o = t.multiple; + if (!o || Array.isArray(r)) { + for (var i, a, s = 0, l = t.options.length; s < l; s++) + if (((a = t.options[s]), o)) + (i = M(r, oo(a)) > -1), a.selected !== i && (a.selected = i); + else if (T(oo(a), r)) + return void (t.selectedIndex !== s && (t.selectedIndex = s)); + o || (t.selectedIndex = -1); + } + } + function ro(t, e) { + return e.every(function(e) { + return !T(e, t); + }); + } + function oo(t) { + return "_value" in t ? t._value : t.value; + } + function io(t) { + t.target.composing = !0; + } + function ao(t) { + t.target.composing && ((t.target.composing = !1), so(t.target, "input")); + } + function so(t, e) { + var n = document.createEvent("HTMLEvents"); + n.initEvent(e, !0, !0), t.dispatchEvent(n); + } + function lo(t) { + return !t.componentInstance || (t.data && t.data.transition) + ? t + : lo(t.componentInstance._vnode); + } + var uo = { + model: to, + show: { + bind: function(t, e, n) { + var r = e.value, + o = (n = lo(n)).data && n.data.transition, + i = (t.__vOriginalDisplay = + "none" === t.style.display ? "" : t.style.display); + r && o + ? ((n.data.show = !0), + Kr(n, function() { + t.style.display = i; + })) + : (t.style.display = r ? i : "none"); + }, + update: function(t, e, n) { + var r = e.value; + !r != !e.oldValue && + ((n = lo(n)).data && n.data.transition + ? ((n.data.show = !0), + r + ? Kr(n, function() { + t.style.display = t.__vOriginalDisplay; + }) + : Zr(n, function() { + t.style.display = "none"; + })) + : (t.style.display = r ? t.__vOriginalDisplay : "none")); + }, + unbind: function(t, e, n, r, o) { + o || (t.style.display = t.__vOriginalDisplay); + } + } + }, + co = { + name: String, + appear: Boolean, + css: Boolean, + mode: String, + type: String, + enterClass: String, + leaveClass: String, + enterToClass: String, + leaveToClass: String, + enterActiveClass: String, + leaveActiveClass: String, + appearClass: String, + appearActiveClass: String, + appearToClass: String, + duration: [Number, String, Object] + }; + function fo(t) { + var e = t && t.componentOptions; + return e && e.Ctor.options.abstract ? fo(ce(e.children)) : t; + } + function po(t) { + var e = {}, + n = t.$options; + for (var r in n.propsData) e[r] = t[r]; + var o = n._parentListeners; + for (var i in o) e[x(i)] = o[i]; + return e; + } + function ho(t, e) { + if (/\d-keep-alive$/.test(e.tag)) + return t("keep-alive", { props: e.componentOptions.propsData }); + } + var vo = function(t) { + return t.tag || ue(t); + }, + mo = function(t) { + return "show" === t.name; + }, + yo = { + name: "transition", + props: co, + abstract: !0, + render: function(t) { + var e = this, + n = this.$slots.default; + if (n && (n = n.filter(vo)).length) { + 0; + var r = this.mode; + 0; + var o = n[0]; + if ( + (function(t) { + for (; (t = t.parent); ) if (t.data.transition) return !0; + })(this.$vnode) + ) + return o; + var i = fo(o); + if (!i) return o; + if (this._leaving) return ho(t, o); + var a = "__transition-" + this._uid + "-"; + i.key = + null == i.key + ? i.isComment + ? a + "comment" + : a + i.tag + : s(i.key) + ? 0 === String(i.key).indexOf(a) + ? i.key + : a + i.key + : i.key; + var l = ((i.data || (i.data = {})).transition = po(this)), + u = this._vnode, + c = fo(u); + if ( + (i.data.directives && + i.data.directives.some(mo) && + (i.data.show = !0), + c && + c.data && + !(function(t, e) { + return e.key === t.key && e.tag === t.tag; + })(i, c) && + !ue(c) && + (!c.componentInstance || !c.componentInstance._vnode.isComment)) + ) { + var f = (c.data.transition = E({}, l)); + if ("out-in" === r) + return ( + (this._leaving = !0), + oe(f, "afterLeave", function() { + (e._leaving = !1), e.$forceUpdate(); + }), + ho(t, o) + ); + if ("in-out" === r) { + if (ue(i)) return u; + var p, + h = function() { + p(); + }; + oe(l, "afterEnter", h), + oe(l, "enterCancelled", h), + oe(f, "delayLeave", function(t) { + p = t; + }); + } + } + return o; + } + } + }, + go = E({ tag: String, moveClass: String }, co); + function bo(t) { + t.elm._moveCb && t.elm._moveCb(), t.elm._enterCb && t.elm._enterCb(); + } + function _o(t) { + t.data.newPos = t.elm.getBoundingClientRect(); + } + function wo(t) { + var e = t.data.pos, + n = t.data.newPos, + r = e.left - n.left, + o = e.top - n.top; + if (r || o) { + t.data.moved = !0; + var i = t.elm.style; + (i.transform = i.WebkitTransform = + "translate(" + r + "px," + o + "px)"), + (i.transitionDuration = "0s"); + } + } + delete go.mode; + var xo = { + Transition: yo, + TransitionGroup: { + props: go, + beforeMount: function() { + var t = this, + e = this._update; + this._update = function(n, r) { + var o = be(t); + t.__patch__(t._vnode, t.kept, !1, !0), + (t._vnode = t.kept), + o(), + e.call(t, n, r); + }; + }, + render: function(t) { + for ( + var e = this.tag || this.$vnode.data.tag || "span", + n = Object.create(null), + r = (this.prevChildren = this.children), + o = this.$slots.default || [], + i = (this.children = []), + a = po(this), + s = 0; + s < o.length; + s++ + ) { + var l = o[s]; + if (l.tag) + if (null != l.key && 0 !== String(l.key).indexOf("__vlist")) + i.push(l), + (n[l.key] = l), + ((l.data || (l.data = {})).transition = a); + else; + } + if (r) { + for (var u = [], c = [], f = 0; f < r.length; f++) { + var p = r[f]; + (p.data.transition = a), + (p.data.pos = p.elm.getBoundingClientRect()), + n[p.key] ? u.push(p) : c.push(p); + } + (this.kept = t(e, null, u)), (this.removed = c); + } + return t(e, null, i); + }, + updated: function() { + var t = this.prevChildren, + e = this.moveClass || (this.name || "v") + "-move"; + t.length && + this.hasMove(t[0].elm, e) && + (t.forEach(bo), + t.forEach(_o), + t.forEach(wo), + (this._reflow = document.body.offsetHeight), + t.forEach(function(t) { + if (t.data.moved) { + var n = t.elm, + r = n.style; + Ur(n, e), + (r.transform = r.WebkitTransform = r.transitionDuration = ""), + n.addEventListener( + Rr, + (n._moveCb = function t(r) { + (r && r.target !== n) || + (r && !/transform$/.test(r.propertyName)) || + (n.removeEventListener(Rr, t), + (n._moveCb = null), + Vr(n, e)); + }) + ); + } + })); + }, + methods: { + hasMove: function(t, e) { + if (!Pr) return !1; + if (this._hasMove) return this._hasMove; + var n = t.cloneNode(); + t._transitionClasses && + t._transitionClasses.forEach(function(t) { + Ar(n, t); + }), + Er(n, e), + (n.style.display = "none"), + this.$el.appendChild(n); + var r = Hr(n); + return this.$el.removeChild(n), (this._hasMove = r.hasTransform); + } + } + } + }; + (hn.config.mustUseProp = function(t, e, n) { + return ( + ("value" === n && xn(t) && "button" !== e) || + ("selected" === n && "option" === t) || + ("checked" === n && "input" === t) || + ("muted" === n && "video" === t) + ); + }), + (hn.config.isReservedTag = Rn), + (hn.config.isReservedAttr = wn), + (hn.config.getTagNamespace = function(t) { + return In(t) ? "svg" : "math" === t ? "math" : void 0; + }), + (hn.config.isUnknownElement = function(t) { + if (!q) return !0; + if (Rn(t)) return !1; + if (((t = t.toLowerCase()), null != Dn[t])) return Dn[t]; + var e = document.createElement(t); + return t.indexOf("-") > -1 + ? (Dn[t] = + e.constructor === window.HTMLUnknownElement || + e.constructor === window.HTMLElement) + : (Dn[t] = /HTMLUnknownElement/.test(e.toString())); + }), + E(hn.options.directives, uo), + E(hn.options.components, xo), + (hn.prototype.__patch__ = q ? Qr : j), + (hn.prototype.$mount = function(t, e) { + return (function(t, e, n) { + var r; + return ( + (t.$el = e), + t.$options.render || (t.$options.render = dt), + xe(t, "beforeMount"), + (r = function() { + t._update(t._render(), n); + }), + new Le( + t, + r, + j, + { + before: function() { + t._isMounted && !t._isDestroyed && xe(t, "beforeUpdate"); + } + }, + !0 + ), + (n = !1), + null == t.$vnode && ((t._isMounted = !0), xe(t, "mounted")), + t + ); + })( + this, + (t = + t && q + ? (function(t) { + if ("string" == typeof t) { + var e = document.querySelector(t); + return e || document.createElement("div"); + } + return t; + })(t) + : void 0), + e + ); + }), + q && + setTimeout(function() { + F.devtools && nt && nt.emit("init", hn); + }, 0), + (e.a = hn); + }, + function(t, e) { + var n = (t.exports = + "undefined" != typeof window && window.Math == Math + ? window + : "undefined" != typeof self && self.Math == Math + ? self + : Function("return this")()); + "number" == typeof __g && (__g = n); + }, + function(t, e, n) { + var r = n(43)("wks"), + o = n(20), + i = n(1).Symbol, + a = "function" == typeof i; + (t.exports = function(t) { + return r[t] || (r[t] = (a && i[t]) || (a ? i : o)("Symbol." + t)); + }).store = r; + }, + function(t, e) { + t.exports = function(t) { + return "object" == typeof t ? null !== t : "function" == typeof t; + }; + }, + function(t, e, n) { + var r = n(3); + t.exports = function(t) { + if (!r(t)) throw TypeError(t + " is not an object!"); + return t; + }; + }, + function(t, e, n) { + var r = n(1), + o = n(8), + i = n(10), + a = n(13), + s = n(12), + l = function(t, e, n) { + var u, + c, + f, + p, + h = t & l.F, + d = t & l.G, + v = t & l.S, + m = t & l.P, + y = t & l.B, + g = d ? r : v ? r[e] || (r[e] = {}) : (r[e] || {}).prototype, + b = d ? o : o[e] || (o[e] = {}), + _ = b.prototype || (b.prototype = {}); + for (u in (d && (n = e), n)) + (f = ((c = !h && g && void 0 !== g[u]) ? g : n)[u]), + (p = + y && c + ? s(f, r) + : m && "function" == typeof f + ? s(Function.call, f) + : f), + g && a(g, u, f, t & l.U), + b[u] != f && i(b, u, p), + m && _[u] != f && (_[u] = f); + }; + (r.core = o), + (l.F = 1), + (l.G = 2), + (l.S = 4), + (l.P = 8), + (l.B = 16), + (l.W = 32), + (l.U = 64), + (l.R = 128), + (t.exports = l); + }, + function(t, e, n) { + var r = n(4), + o = n(44), + i = n(45), + a = Object.defineProperty; + e.f = n(7) + ? Object.defineProperty + : function(t, e, n) { + if ((r(t), (e = i(e, !0)), r(n), o)) + try { + return a(t, e, n); + } catch (t) {} + if ("get" in n || "set" in n) + throw TypeError("Accessors not supported!"); + return "value" in n && (t[e] = n.value), t; + }; + }, + function(t, e, n) { + t.exports = !n(9)(function() { + return ( + 7 != + Object.defineProperty({}, "a", { + get: function() { + return 7; + } + }).a + ); + }); + }, + function(t, e) { + var n = (t.exports = { version: "2.5.7" }); + "number" == typeof __e && (__e = n); + }, + function(t, e) { + t.exports = function(t) { + try { + return !!t(); + } catch (t) { + return !0; + } + }; + }, + function(t, e, n) { + var r = n(6), + o = n(21); + t.exports = n(7) + ? function(t, e, n) { + return r.f(t, e, o(1, n)); + } + : function(t, e, n) { + return (t[e] = n), t; + }; + }, + function(t, e) { + var n = {}.hasOwnProperty; + t.exports = function(t, e) { + return n.call(t, e); + }; + }, + function(t, e, n) { + var r = n(22); + t.exports = function(t, e, n) { + if ((r(t), void 0 === e)) return t; + switch (n) { + case 1: + return function(n) { + return t.call(e, n); + }; + case 2: + return function(n, r) { + return t.call(e, n, r); + }; + case 3: + return function(n, r, o) { + return t.call(e, n, r, o); + }; + } + return function() { + return t.apply(e, arguments); + }; + }; + }, + function(t, e, n) { + var r = n(1), + o = n(10), + i = n(11), + a = n(20)("src"), + s = Function.toString, + l = ("" + s).split("toString"); + (n(8).inspectSource = function(t) { + return s.call(t); + }), + (t.exports = function(t, e, n, s) { + var u = "function" == typeof n; + u && (i(n, "name") || o(n, "name", e)), + t[e] !== n && + (u && (i(n, a) || o(n, a, t[e] ? "" + t[e] : l.join(String(e)))), + t === r + ? (t[e] = n) + : s + ? t[e] + ? (t[e] = n) + : o(t, e, n) + : (delete t[e], o(t, e, n))); + })(Function.prototype, "toString", function() { + return ("function" == typeof this && this[a]) || s.call(this); + }); + }, + function(t, e) { + t.exports = {}; + }, + function(t, e, n) { + var r = n(47), + o = n(19); + t.exports = function(t) { + return r(o(t)); + }; + }, + function(t, e) { + var n = {}.toString; + t.exports = function(t) { + return n.call(t).slice(8, -1); + }; + }, + function(t, e, n) { + "use strict"; + function r(t, e, n, r, o, i, a, s) { + var l, + u = "function" == typeof t ? t.options : t; + if ( + (e && ((u.render = e), (u.staticRenderFns = n), (u._compiled = !0)), + r && (u.functional = !0), + i && (u._scopeId = "data-v-" + i), + a + ? ((l = function(t) { + (t = + t || + (this.$vnode && this.$vnode.ssrContext) || + (this.parent && + this.parent.$vnode && + this.parent.$vnode.ssrContext)) || + "undefined" == typeof __VUE_SSR_CONTEXT__ || + (t = __VUE_SSR_CONTEXT__), + o && o.call(this, t), + t && t._registeredComponents && t._registeredComponents.add(a); + }), + (u._ssrRegister = l)) + : o && + (l = s + ? function() { + o.call(this, this.$root.$options.shadowRoot); + } + : o), + l) + ) + if (u.functional) { + u._injectStyles = l; + var c = u.render; + u.render = function(t, e) { + return l.call(e), c(t, e); + }; + } else { + var f = u.beforeCreate; + u.beforeCreate = f ? [].concat(f, l) : [l]; + } + return { exports: t, options: u }; + } + n.d(e, "a", function() { + return r; + }); + }, + function(t, e, n) { + for ( + var r = n(42), + o = n(23), + i = n(13), + a = n(1), + s = n(10), + l = n(14), + u = n(2), + c = u("iterator"), + f = u("toStringTag"), + p = l.Array, + h = { + CSSRuleList: !0, + CSSStyleDeclaration: !1, + CSSValueList: !1, + ClientRectList: !1, + DOMRectList: !1, + DOMStringList: !1, + DOMTokenList: !0, + DataTransferItemList: !1, + FileList: !1, + HTMLAllCollection: !1, + HTMLCollection: !1, + HTMLFormElement: !1, + HTMLSelectElement: !1, + MediaList: !0, + MimeTypeArray: !1, + NamedNodeMap: !1, + NodeList: !0, + PaintRequestList: !1, + Plugin: !1, + PluginArray: !1, + SVGLengthList: !1, + SVGNumberList: !1, + SVGPathSegList: !1, + SVGPointList: !1, + SVGStringList: !1, + SVGTransformList: !1, + SourceBufferList: !1, + StyleSheetList: !0, + TextTrackCueList: !1, + TextTrackList: !1, + TouchList: !1 + }, + d = o(h), + v = 0; + v < d.length; + v++ + ) { + var m, + y = d[v], + g = h[y], + b = a[y], + _ = b && b.prototype; + if (_ && (_[c] || s(_, c, p), _[f] || s(_, f, y), (l[y] = p), g)) + for (m in r) _[m] || i(_, m, r[m], !0); + } + }, + function(t, e) { + t.exports = function(t) { + if (null == t) throw TypeError("Can't call method on " + t); + return t; + }; + }, + function(t, e) { + var n = 0, + r = Math.random(); + t.exports = function(t) { + return "Symbol(".concat( + void 0 === t ? "" : t, + ")_", + (++n + r).toString(36) + ); + }; + }, + function(t, e) { + t.exports = function(t, e) { + return { + enumerable: !(1 & t), + configurable: !(2 & t), + writable: !(4 & t), + value: e + }; + }; + }, + function(t, e) { + t.exports = function(t) { + if ("function" != typeof t) throw TypeError(t + " is not a function!"); + return t; + }; + }, + function(t, e, n) { + var r = n(49), + o = n(33); + t.exports = + Object.keys || + function(t) { + return r(t, o); + }; + }, + function(t, e, n) { + var r = n(6).f, + o = n(11), + i = n(2)("toStringTag"); + t.exports = function(t, e, n) { + t && + !o((t = n ? t : t.prototype), i) && + r(t, i, { configurable: !0, value: e }); + }; + }, + function(t, e, n) { + "use strict"; + function r(t) { + return ( + (function(t) { + if (Array.isArray(t)) { + for (var e = 0, n = new Array(t.length); e < t.length; e++) + n[e] = t[e]; + return n; + } + })(t) || + (function(t) { + if ( + Symbol.iterator in Object(t) || + "[object Arguments]" === Object.prototype.toString.call(t) + ) + return Array.from(t); + })(t) || + (function() { + throw new TypeError( + "Invalid attempt to spread non-iterable instance" + ); + })() + ); + } + n.d(e, "a", function() { + return r; + }); + }, + function(t, e, n) {}, + function(t, e) { + t.exports = !1; + }, + function(t, e, n) { + var r = n(3), + o = n(1).document, + i = r(o) && r(o.createElement); + t.exports = function(t) { + return i ? o.createElement(t) : {}; + }; + }, + function(t, e, n) { + "use strict"; + var r = n(27), + o = n(5), + i = n(13), + a = n(10), + s = n(14), + l = n(69), + u = n(24), + c = n(73), + f = n(2)("iterator"), + p = !([].keys && "next" in [].keys()), + h = function() { + return this; + }; + t.exports = function(t, e, n, d, v, m, y) { + l(n, e, d); + var g, + b, + _, + w = function(t) { + if (!p && t in C) return C[t]; + switch (t) { + case "keys": + case "values": + return function() { + return new n(this, t); + }; + } + return function() { + return new n(this, t); + }; + }, + x = e + " Iterator", + k = "values" == v, + O = !1, + C = t.prototype, + $ = C[f] || C["@@iterator"] || (v && C[v]), + S = $ || w(v), + E = v ? (k ? w("entries") : S) : void 0, + A = ("Array" == e && C.entries) || $; + if ( + (A && + (_ = c(A.call(new t()))) !== Object.prototype && + _.next && + (u(_, x, !0), r || "function" == typeof _[f] || a(_, f, h)), + k && + $ && + "values" !== $.name && + ((O = !0), + (S = function() { + return $.call(this); + })), + (r && !y) || (!p && !O && C[f]) || a(C, f, S), + (s[e] = S), + (s[x] = h), + v) + ) + if ( + ((g = { + values: k ? S : w("values"), + keys: m ? S : w("keys"), + entries: E + }), + y) + ) + for (b in g) b in C || i(C, b, g[b]); + else o(o.P + o.F * (p || O), e, g); + return g; + }; + }, + function(t, e, n) { + var r = n(31), + o = Math.min; + t.exports = function(t) { + return t > 0 ? o(r(t), 9007199254740991) : 0; + }; + }, + function(t, e) { + var n = Math.ceil, + r = Math.floor; + t.exports = function(t) { + return isNaN((t = +t)) ? 0 : (t > 0 ? r : n)(t); + }; + }, + function(t, e, n) { + var r = n(43)("keys"), + o = n(20); + t.exports = function(t) { + return r[t] || (r[t] = o(t)); + }; + }, + function(t, e) { + t.exports = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split( + "," + ); + }, + function(t, e, n) { + var r = n(19); + t.exports = function(t) { + return Object(r(t)); + }; + }, + function(t, e) { + t.exports = function(t, e, n, r) { + if (!(t instanceof e) || (void 0 !== r && r in t)) + throw TypeError(n + ": incorrect invocation!"); + return t; + }; + }, + function(t, e, n) { + var r = n(12), + o = n(75), + i = n(76), + a = n(4), + s = n(30), + l = n(77), + u = {}, + c = {}; + ((e = t.exports = function(t, e, n, f, p) { + var h, + d, + v, + m, + y = p + ? function() { + return t; + } + : l(t), + g = r(n, f, e ? 2 : 1), + b = 0; + if ("function" != typeof y) throw TypeError(t + " is not iterable!"); + if (i(y)) { + for (h = s(t.length); h > b; b++) + if ((m = e ? g(a((d = t[b]))[0], d[1]) : g(t[b])) === u || m === c) + return m; + } else + for (v = y.call(t); !(d = v.next()).done; ) + if ((m = o(v, g, d.value, e)) === u || m === c) return m; + }).BREAK = u), + (e.RETURN = c); + }, + function(t, e, n) { + var r = n(13); + t.exports = function(t, e, n) { + for (var o in e) r(t, o, e[o], n); + return t; + }; + }, + function(t, e, n) { + var r = n(20)("meta"), + o = n(3), + i = n(11), + a = n(6).f, + s = 0, + l = + Object.isExtensible || + function() { + return !0; + }, + u = !n(9)(function() { + return l(Object.preventExtensions({})); + }), + c = function(t) { + a(t, r, { value: { i: "O" + ++s, w: {} } }); + }, + f = (t.exports = { + KEY: r, + NEED: !1, + fastKey: function(t, e) { + if (!o(t)) + return "symbol" == typeof t + ? t + : ("string" == typeof t ? "S" : "P") + t; + if (!i(t, r)) { + if (!l(t)) return "F"; + if (!e) return "E"; + c(t); + } + return t[r].i; + }, + getWeak: function(t, e) { + if (!i(t, r)) { + if (!l(t)) return !0; + if (!e) return !1; + c(t); + } + return t[r].w; + }, + onFreeze: function(t) { + return u && f.NEED && l(t) && !i(t, r) && c(t), t; + } + }); + }, + function(t, e, n) { + var r = n(5); + r(r.S + r.F, "Object", { assign: n(83) }); + }, + function(t, e, n) { + var r = n(34), + o = n(23); + n(59)("keys", function() { + return function(t) { + return o(r(t)); + }; + }); + }, + function(t, e, n) { + "use strict"; + var r = n(1), + o = n(6), + i = n(7), + a = n(2)("species"); + t.exports = function(t) { + var e = r[t]; + i && + e && + !e[a] && + o.f(e, a, { + configurable: !0, + get: function() { + return this; + } + }); + }; + }, + function(t, e, n) { + "use strict"; + var r = n(68), + o = n(46), + i = n(14), + a = n(15); + (t.exports = n(29)( + Array, + "Array", + function(t, e) { + (this._t = a(t)), (this._i = 0), (this._k = e); + }, + function() { + var t = this._t, + e = this._k, + n = this._i++; + return !t || n >= t.length + ? ((this._t = void 0), o(1)) + : o(0, "keys" == e ? n : "values" == e ? t[n] : [n, t[n]]); + }, + "values" + )), + (i.Arguments = i.Array), + r("keys"), + r("values"), + r("entries"); + }, + function(t, e, n) { + var r = n(8), + o = n(1), + i = o["__core-js_shared__"] || (o["__core-js_shared__"] = {}); + (t.exports = function(t, e) { + return i[t] || (i[t] = void 0 !== e ? e : {}); + })("versions", []).push({ + version: r.version, + mode: n(27) ? "pure" : "global", + copyright: "© 2018 Denis Pushkarev (zloirock.ru)" + }); + }, + function(t, e, n) { + t.exports = + !n(7) && + !n(9)(function() { + return ( + 7 != + Object.defineProperty(n(28)("div"), "a", { + get: function() { + return 7; + } + }).a + ); + }); + }, + function(t, e, n) { + var r = n(3); + t.exports = function(t, e) { + if (!r(t)) return t; + var n, o; + if (e && "function" == typeof (n = t.toString) && !r((o = n.call(t)))) + return o; + if ("function" == typeof (n = t.valueOf) && !r((o = n.call(t)))) return o; + if (!e && "function" == typeof (n = t.toString) && !r((o = n.call(t)))) + return o; + throw TypeError("Can't convert object to primitive value"); + }; + }, + function(t, e) { + t.exports = function(t, e) { + return { value: e, done: !!t }; + }; + }, + function(t, e, n) { + var r = n(16); + t.exports = Object("z").propertyIsEnumerable(0) + ? Object + : function(t) { + return "String" == r(t) ? t.split("") : Object(t); + }; + }, + function(t, e, n) { + var r = n(4), + o = n(70), + i = n(33), + a = n(32)("IE_PROTO"), + s = function() {}, + l = function() { + var t, + e = n(28)("iframe"), + r = i.length; + for ( + e.style.display = "none", + n(50).appendChild(e), + e.src = "javascript:", + (t = e.contentWindow.document).open(), + t.write(""), + t.close(), + l = t.F; + r--; + + ) + delete l.prototype[i[r]]; + return l(); + }; + t.exports = + Object.create || + function(t, e) { + var n; + return ( + null !== t + ? ((s.prototype = r(t)), + (n = new s()), + (s.prototype = null), + (n[a] = t)) + : (n = l()), + void 0 === e ? n : o(n, e) + ); + }; + }, + function(t, e, n) { + var r = n(11), + o = n(15), + i = n(71)(!1), + a = n(32)("IE_PROTO"); + t.exports = function(t, e) { + var n, + s = o(t), + l = 0, + u = []; + for (n in s) n != a && r(s, n) && u.push(n); + for (; e.length > l; ) r(s, (n = e[l++])) && (~i(u, n) || u.push(n)); + return u; + }; + }, + function(t, e, n) { + var r = n(1).document; + t.exports = r && r.documentElement; + }, + function(t, e, n) { + var r = n(16), + o = n(2)("toStringTag"), + i = + "Arguments" == + r( + (function() { + return arguments; + })() + ); + t.exports = function(t) { + var e, n, a; + return void 0 === t + ? "Undefined" + : null === t + ? "Null" + : "string" == + typeof (n = (function(t, e) { + try { + return t[e]; + } catch (t) {} + })((e = Object(t)), o)) + ? n + : i + ? r(e) + : "Object" == (a = r(e)) && "function" == typeof e.callee + ? "Arguments" + : a; + }; + }, + function(t, e, n) { + var r = n(4), + o = n(22), + i = n(2)("species"); + t.exports = function(t, e) { + var n, + a = r(t).constructor; + return void 0 === a || null == (n = r(a)[i]) ? e : o(n); + }; + }, + function(t, e, n) { + var r, + o, + i, + a = n(12), + s = n(78), + l = n(50), + u = n(28), + c = n(1), + f = c.process, + p = c.setImmediate, + h = c.clearImmediate, + d = c.MessageChannel, + v = c.Dispatch, + m = 0, + y = {}, + g = function() { + var t = +this; + if (y.hasOwnProperty(t)) { + var e = y[t]; + delete y[t], e(); + } + }, + b = function(t) { + g.call(t.data); + }; + (p && h) || + ((p = function(t) { + for (var e = [], n = 1; arguments.length > n; ) e.push(arguments[n++]); + return ( + (y[++m] = function() { + s("function" == typeof t ? t : Function(t), e); + }), + r(m), + m + ); + }), + (h = function(t) { + delete y[t]; + }), + "process" == n(16)(f) + ? (r = function(t) { + f.nextTick(a(g, t, 1)); + }) + : v && v.now + ? (r = function(t) { + v.now(a(g, t, 1)); + }) + : d + ? ((i = (o = new d()).port2), + (o.port1.onmessage = b), + (r = a(i.postMessage, i, 1))) + : c.addEventListener && + "function" == typeof postMessage && + !c.importScripts + ? ((r = function(t) { + c.postMessage(t + "", "*"); + }), + c.addEventListener("message", b, !1)) + : (r = + "onreadystatechange" in u("script") + ? function(t) { + l.appendChild( + u("script") + ).onreadystatechange = function() { + l.removeChild(this), g.call(t); + }; + } + : function(t) { + setTimeout(a(g, t, 1), 0); + })), + (t.exports = { set: p, clear: h }); + }, + function(t, e, n) { + "use strict"; + var r = n(22); + function o(t) { + var e, n; + (this.promise = new t(function(t, r) { + if (void 0 !== e || void 0 !== n) + throw TypeError("Bad Promise constructor"); + (e = t), (n = r); + })), + (this.resolve = r(e)), + (this.reject = r(n)); + } + t.exports.f = function(t) { + return new o(t); + }; + }, + function(t, e, n) { + var r = n(4), + o = n(3), + i = n(54); + t.exports = function(t, e) { + if ((r(t), o(e) && e.constructor === t)) return e; + var n = i.f(t); + return (0, n.resolve)(e), n.promise; + }; + }, + function(t, e, n) { + var r = n(2)("iterator"), + o = !1; + try { + var i = [7][r](); + (i.return = function() { + o = !0; + }), + Array.from(i, function() { + throw 2; + }); + } catch (t) {} + t.exports = function(t, e) { + if (!e && !o) return !1; + var n = !1; + try { + var i = [7], + a = i[r](); + (a.next = function() { + return { done: (n = !0) }; + }), + (i[r] = function() { + return a; + }), + t(i); + } catch (t) {} + return n; + }; + }, + function(t, e) { + e.f = Object.getOwnPropertySymbols; + }, + function(t, e) { + e.f = {}.propertyIsEnumerable; + }, + function(t, e, n) { + var r = n(5), + o = n(8), + i = n(9); + t.exports = function(t, e) { + var n = (o.Object || {})[t] || Object[t], + a = {}; + (a[t] = e(n)), + r( + r.S + + r.F * + i(function() { + n(1); + }), + "Object", + a + ); + }; + }, + function(t, e, n) { + var r = n(58), + o = n(21), + i = n(15), + a = n(45), + s = n(11), + l = n(44), + u = Object.getOwnPropertyDescriptor; + e.f = n(7) + ? u + : function(t, e) { + if (((t = i(t)), (e = a(e, !0)), l)) + try { + return u(t, e); + } catch (t) {} + if (s(t, e)) return o(!r.f.call(t, e), t[e]); + }; + }, + function(t, e, n) { + "use strict"; + var r = n(92)(!0); + n(29)( + String, + "String", + function(t) { + (this._t = String(t)), (this._i = 0); + }, + function() { + var t, + e = this._t, + n = this._i; + return n >= e.length + ? { value: void 0, done: !0 } + : ((t = r(e, n)), (this._i += t.length), { value: t, done: !1 }); + } + ); + }, + function(t, e, n) { + var r = n(3); + t.exports = function(t, e) { + if (!r(t) || t._t !== e) + throw TypeError("Incompatible receiver, " + e + " required!"); + return t; + }; + }, + function(t, e) { + var n = "Expected a function", + r = NaN, + o = "[object Symbol]", + i = /^\s+|\s+$/g, + a = /^[-+]0x[0-9a-f]+$/i, + s = /^0b[01]+$/i, + l = /^0o[0-7]+$/i, + u = parseInt, + c = + "object" == typeof global && + global && + global.Object === Object && + global, + f = "object" == typeof self && self && self.Object === Object && self, + p = c || f || Function("return this")(), + h = Object.prototype.toString, + d = Math.max, + v = Math.min, + m = function() { + return p.Date.now(); + }; + function y(t, e, r) { + var o, + i, + a, + s, + l, + u, + c = 0, + f = !1, + p = !1, + h = !0; + if ("function" != typeof t) throw new TypeError(n); + function y(e) { + var n = o, + r = i; + return (o = i = void 0), (c = e), (s = t.apply(r, n)); + } + function _(t) { + var n = t - u; + return void 0 === u || n >= e || n < 0 || (p && t - c >= a); + } + function w() { + var t = m(); + if (_(t)) return x(t); + l = setTimeout( + w, + (function(t) { + var n = e - (t - u); + return p ? v(n, a - (t - c)) : n; + })(t) + ); + } + function x(t) { + return (l = void 0), h && o ? y(t) : ((o = i = void 0), s); + } + function k() { + var t = m(), + n = _(t); + if (((o = arguments), (i = this), (u = t), n)) { + if (void 0 === l) + return (function(t) { + return (c = t), (l = setTimeout(w, e)), f ? y(t) : s; + })(u); + if (p) return (l = setTimeout(w, e)), y(u); + } + return void 0 === l && (l = setTimeout(w, e)), s; + } + return ( + (e = b(e) || 0), + g(r) && + ((f = !!r.leading), + (a = (p = "maxWait" in r) ? d(b(r.maxWait) || 0, e) : a), + (h = "trailing" in r ? !!r.trailing : h)), + (k.cancel = function() { + void 0 !== l && clearTimeout(l), (c = 0), (o = u = i = l = void 0); + }), + (k.flush = function() { + return void 0 === l ? s : x(m()); + }), + k + ); + } + function g(t) { + var e = typeof t; + return !!t && ("object" == e || "function" == e); + } + function b(t) { + if ("number" == typeof t) return t; + if ( + (function(t) { + return ( + "symbol" == typeof t || + ((function(t) { + return !!t && "object" == typeof t; + })(t) && + h.call(t) == o) + ); + })(t) + ) + return r; + if (g(t)) { + var e = "function" == typeof t.valueOf ? t.valueOf() : t; + t = g(e) ? e + "" : e; + } + if ("string" != typeof t) return 0 === t ? t : +t; + t = t.replace(i, ""); + var n = s.test(t); + return n || l.test(t) ? u(t.slice(2), n ? 2 : 8) : a.test(t) ? r : +t; + } + t.exports = function(t, e, r) { + var o = !0, + i = !0; + if ("function" != typeof t) throw new TypeError(n); + return ( + g(r) && + ((o = "leading" in r ? !!r.leading : o), + (i = "trailing" in r ? !!r.trailing : i)), + y(t, e, { leading: o, maxWait: e, trailing: i }) + ); + }; + }, + function(t, e, n) { + var r = n(3), + o = n(16), + i = n(2)("match"); + t.exports = function(t) { + var e; + return r(t) && (void 0 !== (e = t[i]) ? !!e : "RegExp" == o(t)); + }; + }, + function(t, e, n) { + var r = n(49), + o = n(33).concat("length", "prototype"); + e.f = + Object.getOwnPropertyNames || + function(t) { + return r(t, o); + }; + }, + function(t, e, n) { + var r = n(3), + o = n(96).set; + t.exports = function(t, e, n) { + var i, + a = e.constructor; + return ( + a !== n && + "function" == typeof a && + (i = a.prototype) !== n.prototype && + r(i) && + o && + o(t, i), + t + ); + }; + }, + function(t, e, n) { + t.exports = n(99); + }, + function(t, e, n) { + var r = n(2)("unscopables"), + o = Array.prototype; + null == o[r] && n(10)(o, r, {}), + (t.exports = function(t) { + o[r][t] = !0; + }); + }, + function(t, e, n) { + "use strict"; + var r = n(48), + o = n(21), + i = n(24), + a = {}; + n(10)(a, n(2)("iterator"), function() { + return this; + }), + (t.exports = function(t, e, n) { + (t.prototype = r(a, { next: o(1, n) })), i(t, e + " Iterator"); + }); + }, + function(t, e, n) { + var r = n(6), + o = n(4), + i = n(23); + t.exports = n(7) + ? Object.defineProperties + : function(t, e) { + o(t); + for (var n, a = i(e), s = a.length, l = 0; s > l; ) + r.f(t, (n = a[l++]), e[n]); + return t; + }; + }, + function(t, e, n) { + var r = n(15), + o = n(30), + i = n(72); + t.exports = function(t) { + return function(e, n, a) { + var s, + l = r(e), + u = o(l.length), + c = i(a, u); + if (t && n != n) { + for (; u > c; ) if ((s = l[c++]) != s) return !0; + } else + for (; u > c; c++) + if ((t || c in l) && l[c] === n) return t || c || 0; + return !t && -1; + }; + }; + }, + function(t, e, n) { + var r = n(31), + o = Math.max, + i = Math.min; + t.exports = function(t, e) { + return (t = r(t)) < 0 ? o(t + e, 0) : i(t, e); + }; + }, + function(t, e, n) { + var r = n(11), + o = n(34), + i = n(32)("IE_PROTO"), + a = Object.prototype; + t.exports = + Object.getPrototypeOf || + function(t) { + return ( + (t = o(t)), + r(t, i) + ? t[i] + : "function" == typeof t.constructor && t instanceof t.constructor + ? t.constructor.prototype + : t instanceof Object + ? a + : null + ); + }; + }, + function(t, e, n) { + "use strict"; + var r, + o, + i, + a, + s = n(27), + l = n(1), + u = n(12), + c = n(51), + f = n(5), + p = n(3), + h = n(22), + d = n(35), + v = n(36), + m = n(52), + y = n(53).set, + g = n(79)(), + b = n(54), + _ = n(80), + w = n(81), + x = n(55), + k = l.TypeError, + O = l.process, + C = O && O.versions, + $ = (C && C.v8) || "", + S = l.Promise, + E = "process" == c(O), + A = function() {}, + j = (o = b.f), + L = !!(function() { + try { + var t = S.resolve(1), + e = ((t.constructor = {})[n(2)("species")] = function(t) { + t(A, A); + }); + return ( + (E || "function" == typeof PromiseRejectionEvent) && + t.then(A) instanceof e && + 0 !== $.indexOf("6.6") && + -1 === w.indexOf("Chrome/66") + ); + } catch (t) {} + })(), + P = function(t) { + var e; + return !(!p(t) || "function" != typeof (e = t.then)) && e; + }, + T = function(t, e) { + if (!t._n) { + t._n = !0; + var n = t._c; + g(function() { + for ( + var r = t._v, + o = 1 == t._s, + i = 0, + a = function(e) { + var n, + i, + a, + s = o ? e.ok : e.fail, + l = e.resolve, + u = e.reject, + c = e.domain; + try { + s + ? (o || (2 == t._h && R(t), (t._h = 1)), + !0 === s + ? (n = r) + : (c && c.enter(), + (n = s(r)), + c && (c.exit(), (a = !0))), + n === e.promise + ? u(k("Promise-chain cycle")) + : (i = P(n)) + ? i.call(n, l, u) + : l(n)) + : u(r); + } catch (t) { + c && !a && c.exit(), u(t); + } + }; + n.length > i; + + ) + a(n[i++]); + (t._c = []), (t._n = !1), e && !t._h && M(t); + }); + } + }, + M = function(t) { + y.call(l, function() { + var e, + n, + r, + o = t._v, + i = I(t); + if ( + (i && + ((e = _(function() { + E + ? O.emit("unhandledRejection", o, t) + : (n = l.onunhandledrejection) + ? n({ promise: t, reason: o }) + : (r = l.console) && + r.error && + r.error("Unhandled promise rejection", o); + })), + (t._h = E || I(t) ? 2 : 1)), + (t._a = void 0), + i && e.e) + ) + throw e.v; + }); + }, + I = function(t) { + return 1 !== t._h && 0 === (t._a || t._c).length; + }, + R = function(t) { + y.call(l, function() { + var e; + E + ? O.emit("rejectionHandled", t) + : (e = l.onrejectionhandled) && e({ promise: t, reason: t._v }); + }); + }, + D = function(t) { + var e = this; + e._d || + ((e._d = !0), + ((e = e._w || e)._v = t), + (e._s = 2), + e._a || (e._a = e._c.slice()), + T(e, !0)); + }, + N = function(t) { + var e, + n = this; + if (!n._d) { + (n._d = !0), (n = n._w || n); + try { + if (n === t) throw k("Promise can't be resolved itself"); + (e = P(t)) + ? g(function() { + var r = { _w: n, _d: !1 }; + try { + e.call(t, u(N, r, 1), u(D, r, 1)); + } catch (t) { + D.call(r, t); + } + }) + : ((n._v = t), (n._s = 1), T(n, !1)); + } catch (t) { + D.call({ _w: n, _d: !1 }, t); + } + } + }; + L || + ((S = function(t) { + d(this, S, "Promise", "_h"), h(t), r.call(this); + try { + t(u(N, this, 1), u(D, this, 1)); + } catch (t) { + D.call(this, t); + } + }), + ((r = function(t) { + (this._c = []), + (this._a = void 0), + (this._s = 0), + (this._d = !1), + (this._v = void 0), + (this._h = 0), + (this._n = !1); + }).prototype = n(37)(S.prototype, { + then: function(t, e) { + var n = j(m(this, S)); + return ( + (n.ok = "function" != typeof t || t), + (n.fail = "function" == typeof e && e), + (n.domain = E ? O.domain : void 0), + this._c.push(n), + this._a && this._a.push(n), + this._s && T(this, !1), + n.promise + ); + }, + catch: function(t) { + return this.then(void 0, t); + } + })), + (i = function() { + var t = new r(); + (this.promise = t), + (this.resolve = u(N, t, 1)), + (this.reject = u(D, t, 1)); + }), + (b.f = j = function(t) { + return t === S || t === a ? new i(t) : o(t); + })), + f(f.G + f.W + f.F * !L, { Promise: S }), + n(24)(S, "Promise"), + n(41)("Promise"), + (a = n(8).Promise), + f(f.S + f.F * !L, "Promise", { + reject: function(t) { + var e = j(this); + return (0, e.reject)(t), e.promise; + } + }), + f(f.S + f.F * (s || !L), "Promise", { + resolve: function(t) { + return x(s && this === a ? S : this, t); + } + }), + f( + f.S + + f.F * + !( + L && + n(56)(function(t) { + S.all(t).catch(A); + }) + ), + "Promise", + { + all: function(t) { + var e = this, + n = j(e), + r = n.resolve, + o = n.reject, + i = _(function() { + var n = [], + i = 0, + a = 1; + v(t, !1, function(t) { + var s = i++, + l = !1; + n.push(void 0), + a++, + e.resolve(t).then(function(t) { + l || ((l = !0), (n[s] = t), --a || r(n)); + }, o); + }), + --a || r(n); + }); + return i.e && o(i.v), n.promise; + }, + race: function(t) { + var e = this, + n = j(e), + r = n.reject, + o = _(function() { + v(t, !1, function(t) { + e.resolve(t).then(n.resolve, r); + }); + }); + return o.e && r(o.v), n.promise; + } + } + ); + }, + function(t, e, n) { + var r = n(4); + t.exports = function(t, e, n, o) { + try { + return o ? e(r(n)[0], n[1]) : e(n); + } catch (e) { + var i = t.return; + throw (void 0 !== i && r(i.call(t)), e); + } + }; + }, + function(t, e, n) { + var r = n(14), + o = n(2)("iterator"), + i = Array.prototype; + t.exports = function(t) { + return void 0 !== t && (r.Array === t || i[o] === t); + }; + }, + function(t, e, n) { + var r = n(51), + o = n(2)("iterator"), + i = n(14); + t.exports = n(8).getIteratorMethod = function(t) { + if (null != t) return t[o] || t["@@iterator"] || i[r(t)]; + }; + }, + function(t, e) { + t.exports = function(t, e, n) { + var r = void 0 === n; + switch (e.length) { + case 0: + return r ? t() : t.call(n); + case 1: + return r ? t(e[0]) : t.call(n, e[0]); + case 2: + return r ? t(e[0], e[1]) : t.call(n, e[0], e[1]); + case 3: + return r ? t(e[0], e[1], e[2]) : t.call(n, e[0], e[1], e[2]); + case 4: + return r + ? t(e[0], e[1], e[2], e[3]) + : t.call(n, e[0], e[1], e[2], e[3]); + } + return t.apply(n, e); + }; + }, + function(t, e, n) { + var r = n(1), + o = n(53).set, + i = r.MutationObserver || r.WebKitMutationObserver, + a = r.process, + s = r.Promise, + l = "process" == n(16)(a); + t.exports = function() { + var t, + e, + n, + u = function() { + var r, o; + for (l && (r = a.domain) && r.exit(); t; ) { + (o = t.fn), (t = t.next); + try { + o(); + } catch (r) { + throw (t ? n() : (e = void 0), r); + } + } + (e = void 0), r && r.enter(); + }; + if (l) + n = function() { + a.nextTick(u); + }; + else if (!i || (r.navigator && r.navigator.standalone)) + if (s && s.resolve) { + var c = s.resolve(void 0); + n = function() { + c.then(u); + }; + } else + n = function() { + o.call(r, u); + }; + else { + var f = !0, + p = document.createTextNode(""); + new i(u).observe(p, { characterData: !0 }), + (n = function() { + p.data = f = !f; + }); + } + return function(r) { + var o = { fn: r, next: void 0 }; + e && (e.next = o), t || ((t = o), n()), (e = o); + }; + }; + }, + function(t, e) { + t.exports = function(t) { + try { + return { e: !1, v: t() }; + } catch (t) { + return { e: !0, v: t }; + } + }; + }, + function(t, e, n) { + var r = n(1).navigator; + t.exports = (r && r.userAgent) || ""; + }, + function(t, e, n) { + "use strict"; + var r = n(5), + o = n(8), + i = n(1), + a = n(52), + s = n(55); + r(r.P + r.R, "Promise", { + finally: function(t) { + var e = a(this, o.Promise || i.Promise), + n = "function" == typeof t; + return this.then( + n + ? function(n) { + return s(e, t()).then(function() { + return n; + }); + } + : t, + n + ? function(n) { + return s(e, t()).then(function() { + throw n; + }); + } + : t + ); + } + }); + }, + function(t, e, n) { + "use strict"; + var r = n(23), + o = n(57), + i = n(58), + a = n(34), + s = n(47), + l = Object.assign; + t.exports = + !l || + n(9)(function() { + var t = {}, + e = {}, + n = Symbol(), + r = "abcdefghijklmnopqrst"; + return ( + (t[n] = 7), + r.split("").forEach(function(t) { + e[t] = t; + }), + 7 != l({}, t)[n] || Object.keys(l({}, e)).join("") != r + ); + }) + ? function(t, e) { + for ( + var n = a(t), l = arguments.length, u = 1, c = o.f, f = i.f; + l > u; + + ) + for ( + var p, + h = s(arguments[u++]), + d = c ? r(h).concat(c(h)) : r(h), + v = d.length, + m = 0; + v > m; + + ) + f.call(h, (p = d[m++])) && (n[p] = h[p]); + return n; + } + : l; + }, + function(t, e, n) { + var r = n(3), + o = n(38).onFreeze; + n(59)("freeze", function(t) { + return function(e) { + return t && r(e) ? t(o(e)) : e; + }; + }); + }, + function(t, e, n) { + "use strict"; + var r = n(5), + o = n(30), + i = n(86), + a = "".startsWith; + r(r.P + r.F * n(87)("startsWith"), "String", { + startsWith: function(t) { + var e = i(this, t, "startsWith"), + n = o( + Math.min(arguments.length > 1 ? arguments[1] : void 0, e.length) + ), + r = String(t); + return a ? a.call(e, r, n) : e.slice(n, n + r.length) === r; + } + }); + }, + function(t, e, n) { + var r = n(64), + o = n(19); + t.exports = function(t, e, n) { + if (r(e)) throw TypeError("String#" + n + " doesn't accept regex!"); + return String(o(t)); + }; + }, + function(t, e, n) { + var r = n(2)("match"); + t.exports = function(t) { + var e = /./; + try { + "/./"[t](e); + } catch (n) { + try { + return (e[r] = !1), !"/./"[t](e); + } catch (t) {} + } + return !0; + }; + }, + function(t, e, n) { + var r = n(5), + o = n(89), + i = n(15), + a = n(60), + s = n(90); + r(r.S, "Object", { + getOwnPropertyDescriptors: function(t) { + for ( + var e, n, r = i(t), l = a.f, u = o(r), c = {}, f = 0; + u.length > f; + + ) + void 0 !== (n = l(r, (e = u[f++]))) && s(c, e, n); + return c; + } + }); + }, + function(t, e, n) { + var r = n(65), + o = n(57), + i = n(4), + a = n(1).Reflect; + t.exports = + (a && a.ownKeys) || + function(t) { + var e = r.f(i(t)), + n = o.f; + return n ? e.concat(n(t)) : e; + }; + }, + function(t, e, n) { + "use strict"; + var r = n(6), + o = n(21); + t.exports = function(t, e, n) { + e in t ? r.f(t, e, o(0, n)) : (t[e] = n); + }; + }, + function(t, e) { + !(function(e) { + "use strict"; + var n, + r = Object.prototype, + o = r.hasOwnProperty, + i = "function" == typeof Symbol ? Symbol : {}, + a = i.iterator || "@@iterator", + s = i.asyncIterator || "@@asyncIterator", + l = i.toStringTag || "@@toStringTag", + u = "object" == typeof t, + c = e.regeneratorRuntime; + if (c) u && (t.exports = c); + else { + (c = e.regeneratorRuntime = u ? t.exports : {}).wrap = _; + var f = "suspendedStart", + p = "suspendedYield", + h = "executing", + d = "completed", + v = {}, + m = {}; + m[a] = function() { + return this; + }; + var y = Object.getPrototypeOf, + g = y && y(y(L([]))); + g && g !== r && o.call(g, a) && (m = g); + var b = (O.prototype = x.prototype = Object.create(m)); + (k.prototype = b.constructor = O), + (O.constructor = k), + (O[l] = k.displayName = "GeneratorFunction"), + (c.isGeneratorFunction = function(t) { + var e = "function" == typeof t && t.constructor; + return ( + !!e && + (e === k || "GeneratorFunction" === (e.displayName || e.name)) + ); + }), + (c.mark = function(t) { + return ( + Object.setPrototypeOf + ? Object.setPrototypeOf(t, O) + : ((t.__proto__ = O), l in t || (t[l] = "GeneratorFunction")), + (t.prototype = Object.create(b)), + t + ); + }), + (c.awrap = function(t) { + return { __await: t }; + }), + C($.prototype), + ($.prototype[s] = function() { + return this; + }), + (c.AsyncIterator = $), + (c.async = function(t, e, n, r) { + var o = new $(_(t, e, n, r)); + return c.isGeneratorFunction(e) + ? o + : o.next().then(function(t) { + return t.done ? t.value : o.next(); + }); + }), + C(b), + (b[l] = "Generator"), + (b[a] = function() { + return this; + }), + (b.toString = function() { + return "[object Generator]"; + }), + (c.keys = function(t) { + var e = []; + for (var n in t) e.push(n); + return ( + e.reverse(), + function n() { + for (; e.length; ) { + var r = e.pop(); + if (r in t) return (n.value = r), (n.done = !1), n; + } + return (n.done = !0), n; + } + ); + }), + (c.values = L), + (j.prototype = { + constructor: j, + reset: function(t) { + if ( + ((this.prev = 0), + (this.next = 0), + (this.sent = this._sent = n), + (this.done = !1), + (this.delegate = null), + (this.method = "next"), + (this.arg = n), + this.tryEntries.forEach(A), + !t) + ) + for (var e in this) + "t" === e.charAt(0) && + o.call(this, e) && + !isNaN(+e.slice(1)) && + (this[e] = n); + }, + stop: function() { + this.done = !0; + var t = this.tryEntries[0].completion; + if ("throw" === t.type) throw t.arg; + return this.rval; + }, + dispatchException: function(t) { + if (this.done) throw t; + var e = this; + function r(r, o) { + return ( + (s.type = "throw"), + (s.arg = t), + (e.next = r), + o && ((e.method = "next"), (e.arg = n)), + !!o + ); + } + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var a = this.tryEntries[i], + s = a.completion; + if ("root" === a.tryLoc) return r("end"); + if (a.tryLoc <= this.prev) { + var l = o.call(a, "catchLoc"), + u = o.call(a, "finallyLoc"); + if (l && u) { + if (this.prev < a.catchLoc) return r(a.catchLoc, !0); + if (this.prev < a.finallyLoc) return r(a.finallyLoc); + } else if (l) { + if (this.prev < a.catchLoc) return r(a.catchLoc, !0); + } else { + if (!u) + throw new Error("try statement without catch or finally"); + if (this.prev < a.finallyLoc) return r(a.finallyLoc); + } + } + } + }, + abrupt: function(t, e) { + for (var n = this.tryEntries.length - 1; n >= 0; --n) { + var r = this.tryEntries[n]; + if ( + r.tryLoc <= this.prev && + o.call(r, "finallyLoc") && + this.prev < r.finallyLoc + ) { + var i = r; + break; + } + } + i && + ("break" === t || "continue" === t) && + i.tryLoc <= e && + e <= i.finallyLoc && + (i = null); + var a = i ? i.completion : {}; + return ( + (a.type = t), + (a.arg = e), + i + ? ((this.method = "next"), (this.next = i.finallyLoc), v) + : this.complete(a) + ); + }, + complete: function(t, e) { + if ("throw" === t.type) throw t.arg; + return ( + "break" === t.type || "continue" === t.type + ? (this.next = t.arg) + : "return" === t.type + ? ((this.rval = this.arg = t.arg), + (this.method = "return"), + (this.next = "end")) + : "normal" === t.type && e && (this.next = e), + v + ); + }, + finish: function(t) { + for (var e = this.tryEntries.length - 1; e >= 0; --e) { + var n = this.tryEntries[e]; + if (n.finallyLoc === t) + return this.complete(n.completion, n.afterLoc), A(n), v; + } + }, + catch: function(t) { + for (var e = this.tryEntries.length - 1; e >= 0; --e) { + var n = this.tryEntries[e]; + if (n.tryLoc === t) { + var r = n.completion; + if ("throw" === r.type) { + var o = r.arg; + A(n); + } + return o; + } + } + throw new Error("illegal catch attempt"); + }, + delegateYield: function(t, e, r) { + return ( + (this.delegate = { iterator: L(t), resultName: e, nextLoc: r }), + "next" === this.method && (this.arg = n), + v + ); + } + }); + } + function _(t, e, n, r) { + var o = e && e.prototype instanceof x ? e : x, + i = Object.create(o.prototype), + a = new j(r || []); + return ( + (i._invoke = (function(t, e, n) { + var r = f; + return function(o, i) { + if (r === h) throw new Error("Generator is already running"); + if (r === d) { + if ("throw" === o) throw i; + return P(); + } + for (n.method = o, n.arg = i; ; ) { + var a = n.delegate; + if (a) { + var s = S(a, n); + if (s) { + if (s === v) continue; + return s; + } + } + if ("next" === n.method) n.sent = n._sent = n.arg; + else if ("throw" === n.method) { + if (r === f) throw ((r = d), n.arg); + n.dispatchException(n.arg); + } else "return" === n.method && n.abrupt("return", n.arg); + r = h; + var l = w(t, e, n); + if ("normal" === l.type) { + if (((r = n.done ? d : p), l.arg === v)) continue; + return { value: l.arg, done: n.done }; + } + "throw" === l.type && + ((r = d), (n.method = "throw"), (n.arg = l.arg)); + } + }; + })(t, n, a)), + i + ); + } + function w(t, e, n) { + try { + return { type: "normal", arg: t.call(e, n) }; + } catch (t) { + return { type: "throw", arg: t }; + } + } + function x() {} + function k() {} + function O() {} + function C(t) { + ["next", "throw", "return"].forEach(function(e) { + t[e] = function(t) { + return this._invoke(e, t); + }; + }); + } + function $(t) { + var e; + this._invoke = function(n, r) { + function i() { + return new Promise(function(e, i) { + !(function e(n, r, i, a) { + var s = w(t[n], t, r); + if ("throw" !== s.type) { + var l = s.arg, + u = l.value; + return u && "object" == typeof u && o.call(u, "__await") + ? Promise.resolve(u.__await).then( + function(t) { + e("next", t, i, a); + }, + function(t) { + e("throw", t, i, a); + } + ) + : Promise.resolve(u).then( + function(t) { + (l.value = t), i(l); + }, + function(t) { + return e("throw", t, i, a); + } + ); + } + a(s.arg); + })(n, r, e, i); + }); + } + return (e = e ? e.then(i, i) : i()); + }; + } + function S(t, e) { + var r = t.iterator[e.method]; + if (r === n) { + if (((e.delegate = null), "throw" === e.method)) { + if ( + t.iterator.return && + ((e.method = "return"), + (e.arg = n), + S(t, e), + "throw" === e.method) + ) + return v; + (e.method = "throw"), + (e.arg = new TypeError( + "The iterator does not provide a 'throw' method" + )); + } + return v; + } + var o = w(r, t.iterator, e.arg); + if ("throw" === o.type) + return (e.method = "throw"), (e.arg = o.arg), (e.delegate = null), v; + var i = o.arg; + return i + ? i.done + ? ((e[t.resultName] = i.value), + (e.next = t.nextLoc), + "return" !== e.method && ((e.method = "next"), (e.arg = n)), + (e.delegate = null), + v) + : i + : ((e.method = "throw"), + (e.arg = new TypeError("iterator result is not an object")), + (e.delegate = null), + v); + } + function E(t) { + var e = { tryLoc: t[0] }; + 1 in t && (e.catchLoc = t[1]), + 2 in t && ((e.finallyLoc = t[2]), (e.afterLoc = t[3])), + this.tryEntries.push(e); + } + function A(t) { + var e = t.completion || {}; + (e.type = "normal"), delete e.arg, (t.completion = e); + } + function j(t) { + (this.tryEntries = [{ tryLoc: "root" }]), + t.forEach(E, this), + this.reset(!0); + } + function L(t) { + if (t) { + var e = t[a]; + if (e) return e.call(t); + if ("function" == typeof t.next) return t; + if (!isNaN(t.length)) { + var r = -1, + i = function e() { + for (; ++r < t.length; ) + if (o.call(t, r)) return (e.value = t[r]), (e.done = !1), e; + return (e.value = n), (e.done = !0), e; + }; + return (i.next = i); + } + } + return { next: P }; + } + function P() { + return { value: n, done: !0 }; + } + })( + (function() { + return this || ("object" == typeof self && self); + })() || Function("return this")() + ); + }, + function(t, e, n) { + var r = n(31), + o = n(19); + t.exports = function(t) { + return function(e, n) { + var i, + a, + s = String(o(e)), + l = r(n), + u = s.length; + return l < 0 || l >= u + ? t + ? "" + : void 0 + : (i = s.charCodeAt(l)) < 55296 || + i > 56319 || + l + 1 === u || + (a = s.charCodeAt(l + 1)) < 56320 || + a > 57343 + ? t + ? s.charAt(l) + : i + : t + ? s.slice(l, l + 2) + : a - 56320 + ((i - 55296) << 10) + 65536; + }; + }; + }, + function(t, e, n) { + "use strict"; + var r = n(94), + o = n(62); + t.exports = n(95)( + "Set", + function(t) { + return function() { + return t(this, arguments.length > 0 ? arguments[0] : void 0); + }; + }, + { + add: function(t) { + return r.def(o(this, "Set"), (t = 0 === t ? 0 : t), t); + } + }, + r + ); + }, + function(t, e, n) { + "use strict"; + var r = n(6).f, + o = n(48), + i = n(37), + a = n(12), + s = n(35), + l = n(36), + u = n(29), + c = n(46), + f = n(41), + p = n(7), + h = n(38).fastKey, + d = n(62), + v = p ? "_s" : "size", + m = function(t, e) { + var n, + r = h(e); + if ("F" !== r) return t._i[r]; + for (n = t._f; n; n = n.n) if (n.k == e) return n; + }; + t.exports = { + getConstructor: function(t, e, n, u) { + var c = t(function(t, r) { + s(t, c, e, "_i"), + (t._t = e), + (t._i = o(null)), + (t._f = void 0), + (t._l = void 0), + (t[v] = 0), + null != r && l(r, n, t[u], t); + }); + return ( + i(c.prototype, { + clear: function() { + for (var t = d(this, e), n = t._i, r = t._f; r; r = r.n) + (r.r = !0), r.p && (r.p = r.p.n = void 0), delete n[r.i]; + (t._f = t._l = void 0), (t[v] = 0); + }, + delete: function(t) { + var n = d(this, e), + r = m(n, t); + if (r) { + var o = r.n, + i = r.p; + delete n._i[r.i], + (r.r = !0), + i && (i.n = o), + o && (o.p = i), + n._f == r && (n._f = o), + n._l == r && (n._l = i), + n[v]--; + } + return !!r; + }, + forEach: function(t) { + d(this, e); + for ( + var n, + r = a(t, arguments.length > 1 ? arguments[1] : void 0, 3); + (n = n ? n.n : this._f); + + ) + for (r(n.v, n.k, this); n && n.r; ) n = n.p; + }, + has: function(t) { + return !!m(d(this, e), t); + } + }), + p && + r(c.prototype, "size", { + get: function() { + return d(this, e)[v]; + } + }), + c + ); + }, + def: function(t, e, n) { + var r, + o, + i = m(t, e); + return ( + i + ? (i.v = n) + : ((t._l = i = { + i: (o = h(e, !0)), + k: e, + v: n, + p: (r = t._l), + n: void 0, + r: !1 + }), + t._f || (t._f = i), + r && (r.n = i), + t[v]++, + "F" !== o && (t._i[o] = i)), + t + ); + }, + getEntry: m, + setStrong: function(t, e, n) { + u( + t, + e, + function(t, n) { + (this._t = d(t, e)), (this._k = n), (this._l = void 0); + }, + function() { + for (var t = this._k, e = this._l; e && e.r; ) e = e.p; + return this._t && (this._l = e = e ? e.n : this._t._f) + ? c(0, "keys" == t ? e.k : "values" == t ? e.v : [e.k, e.v]) + : ((this._t = void 0), c(1)); + }, + n ? "entries" : "values", + !n, + !0 + ), + f(e); + } + }; + }, + function(t, e, n) { + "use strict"; + var r = n(1), + o = n(5), + i = n(13), + a = n(37), + s = n(38), + l = n(36), + u = n(35), + c = n(3), + f = n(9), + p = n(56), + h = n(24), + d = n(66); + t.exports = function(t, e, n, v, m, y) { + var g = r[t], + b = g, + _ = m ? "set" : "add", + w = b && b.prototype, + x = {}, + k = function(t) { + var e = w[t]; + i( + w, + t, + "delete" == t + ? function(t) { + return !(y && !c(t)) && e.call(this, 0 === t ? 0 : t); + } + : "has" == t + ? function(t) { + return !(y && !c(t)) && e.call(this, 0 === t ? 0 : t); + } + : "get" == t + ? function(t) { + return y && !c(t) + ? void 0 + : e.call(this, 0 === t ? 0 : t); + } + : "add" == t + ? function(t) { + return e.call(this, 0 === t ? 0 : t), this; + } + : function(t, n) { + return e.call(this, 0 === t ? 0 : t, n), this; + } + ); + }; + if ( + "function" == typeof b && + (y || + (w.forEach && + !f(function() { + new b().entries().next(); + }))) + ) { + var O = new b(), + C = O[_](y ? {} : -0, 1) != O, + $ = f(function() { + O.has(1); + }), + S = p(function(t) { + new b(t); + }), + E = + !y && + f(function() { + for (var t = new b(), e = 5; e--; ) t[_](e, e); + return !t.has(-0); + }); + S || + (((b = e(function(e, n) { + u(e, b, t); + var r = d(new g(), e, b); + return null != n && l(n, m, r[_], r), r; + })).prototype = w), + (w.constructor = b)), + ($ || E) && (k("delete"), k("has"), m && k("get")), + (E || C) && k(_), + y && w.clear && delete w.clear; + } else + (b = v.getConstructor(e, t, m, _)), a(b.prototype, n), (s.NEED = !0); + return ( + h(b, t), + (x[t] = b), + o(o.G + o.W + o.F * (b != g), x), + y || v.setStrong(b, t, m), + b + ); + }; + }, + function(t, e, n) { + var r = n(3), + o = n(4), + i = function(t, e) { + if ((o(t), !r(e) && null !== e)) + throw TypeError(e + ": can't set as prototype!"); + }; + t.exports = { + set: + Object.setPrototypeOf || + ("__proto__" in {} + ? (function(t, e, r) { + try { + (r = n(12)( + Function.call, + n(60).f(Object.prototype, "__proto__").set, + 2 + ))(t, []), + (e = !(t instanceof Array)); + } catch (t) { + e = !0; + } + return function(t, n) { + return i(t, n), e ? (t.__proto__ = n) : r(t, n), t; + }; + })({}, !1) + : void 0), + check: i + }; + }, + function(t, e, n) { + Promise.all([n.e(0), n.e(5)]).then(n.t.bind(null, 100, 7)); + }, + function(t, e, n) { + "use strict"; + var r = n(26); + n.n(r).a; + }, + function(t, e, n) { + "use strict"; + n.r(e); + n(42), n(74), n(82), n(18), n(39); + var r = n(0); + function o(t) { + return Object.prototype.toString.call(t).indexOf("Error") > -1; + } + function i(t, e) { + for (var n in e) t[n] = e[n]; + return t; + } + var a = { + name: "RouterView", + functional: !0, + props: { name: { type: String, default: "default" } }, + render: function(t, e) { + var n = e.props, + r = e.children, + o = e.parent, + a = e.data; + a.routerView = !0; + for ( + var s = o.$createElement, + l = n.name, + u = o.$route, + c = o._routerViewCache || (o._routerViewCache = {}), + f = 0, + p = !1; + o && o._routerRoot !== o; + + ) + o.$vnode && o.$vnode.data.routerView && f++, + o._inactive && (p = !0), + (o = o.$parent); + if (((a.routerViewDepth = f), p)) return s(c[l], a, r); + var h = u.matched[f]; + if (!h) return (c[l] = null), s(); + var d = (c[l] = h.components[l]); + (a.registerRouteInstance = function(t, e) { + var n = h.instances[l]; + ((e && n !== t) || (!e && n === t)) && (h.instances[l] = e); + }), + ((a.hook || (a.hook = {})).prepatch = function(t, e) { + h.instances[l] = e.componentInstance; + }); + var v = (a.props = (function(t, e) { + switch (typeof e) { + case "undefined": + return; + case "object": + return e; + case "function": + return e(t); + case "boolean": + return e ? t.params : void 0; + default: + 0; + } + })(u, h.props && h.props[l])); + if (v) { + v = a.props = i({}, v); + var m = (a.attrs = a.attrs || {}); + for (var y in v) + (d.props && y in d.props) || ((m[y] = v[y]), delete v[y]); + } + return s(d, a, r); + } + }; + var s = /[!'()*]/g, + l = function(t) { + return "%" + t.charCodeAt(0).toString(16); + }, + u = /%2C/g, + c = function(t) { + return encodeURIComponent(t) + .replace(s, l) + .replace(u, ","); + }, + f = decodeURIComponent; + function p(t) { + var e = {}; + return (t = t.trim().replace(/^(\?|#|&)/, "")) + ? (t.split("&").forEach(function(t) { + var n = t.replace(/\+/g, " ").split("="), + r = f(n.shift()), + o = n.length > 0 ? f(n.join("=")) : null; + void 0 === e[r] + ? (e[r] = o) + : Array.isArray(e[r]) + ? e[r].push(o) + : (e[r] = [e[r], o]); + }), + e) + : e; + } + function h(t) { + var e = t + ? Object.keys(t) + .map(function(e) { + var n = t[e]; + if (void 0 === n) return ""; + if (null === n) return c(e); + if (Array.isArray(n)) { + var r = []; + return ( + n.forEach(function(t) { + void 0 !== t && + (null === t ? r.push(c(e)) : r.push(c(e) + "=" + c(t))); + }), + r.join("&") + ); + } + return c(e) + "=" + c(n); + }) + .filter(function(t) { + return t.length > 0; + }) + .join("&") + : null; + return e ? "?" + e : ""; + } + var d = /\/?$/; + function v(t, e, n, r) { + var o = r && r.options.stringifyQuery, + i = e.query || {}; + try { + i = m(i); + } catch (t) {} + var a = { + name: e.name || (t && t.name), + meta: (t && t.meta) || {}, + path: e.path || "/", + hash: e.hash || "", + query: i, + params: e.params || {}, + fullPath: b(e, o), + matched: t ? g(t) : [] + }; + return n && (a.redirectedFrom = b(n, o)), Object.freeze(a); + } + function m(t) { + if (Array.isArray(t)) return t.map(m); + if (t && "object" == typeof t) { + var e = {}; + for (var n in t) e[n] = m(t[n]); + return e; + } + return t; + } + var y = v(null, { path: "/" }); + function g(t) { + for (var e = []; t; ) e.unshift(t), (t = t.parent); + return e; + } + function b(t, e) { + var n = t.path, + r = t.query; + void 0 === r && (r = {}); + var o = t.hash; + return void 0 === o && (o = ""), (n || "/") + (e || h)(r) + o; + } + function _(t, e) { + return e === y + ? t === e + : !!e && + (t.path && e.path + ? t.path.replace(d, "") === e.path.replace(d, "") && + t.hash === e.hash && + w(t.query, e.query) + : !(!t.name || !e.name) && + (t.name === e.name && + t.hash === e.hash && + w(t.query, e.query) && + w(t.params, e.params))); + } + function w(t, e) { + if ((void 0 === t && (t = {}), void 0 === e && (e = {}), !t || !e)) + return t === e; + var n = Object.keys(t), + r = Object.keys(e); + return ( + n.length === r.length && + n.every(function(n) { + var r = t[n], + o = e[n]; + return "object" == typeof r && "object" == typeof o + ? w(r, o) + : String(r) === String(o); + }) + ); + } + var x, + k = [String, Object], + O = [String, Array], + C = { + name: "RouterLink", + props: { + to: { type: k, required: !0 }, + tag: { type: String, default: "a" }, + exact: Boolean, + append: Boolean, + replace: Boolean, + activeClass: String, + exactActiveClass: String, + event: { type: O, default: "click" } + }, + render: function(t) { + var e = this, + n = this.$router, + r = this.$route, + o = n.resolve(this.to, r, this.append), + a = o.location, + s = o.route, + l = o.href, + u = {}, + c = n.options.linkActiveClass, + f = n.options.linkExactActiveClass, + p = null == c ? "router-link-active" : c, + h = null == f ? "router-link-exact-active" : f, + m = null == this.activeClass ? p : this.activeClass, + y = null == this.exactActiveClass ? h : this.exactActiveClass, + g = a.path ? v(null, a, null, n) : s; + (u[y] = _(r, g)), + (u[m] = this.exact + ? u[y] + : (function(t, e) { + return ( + 0 === + t.path.replace(d, "/").indexOf(e.path.replace(d, "/")) && + (!e.hash || t.hash === e.hash) && + (function(t, e) { + for (var n in e) if (!(n in t)) return !1; + return !0; + })(t.query, e.query) + ); + })(r, g)); + var b = function(t) { + $(t) && (e.replace ? n.replace(a) : n.push(a)); + }, + w = { click: $ }; + Array.isArray(this.event) + ? this.event.forEach(function(t) { + w[t] = b; + }) + : (w[this.event] = b); + var x = { class: u }; + if ("a" === this.tag) (x.on = w), (x.attrs = { href: l }); + else { + var k = (function t(e) { + if (e) + for (var n, r = 0; r < e.length; r++) { + if ("a" === (n = e[r]).tag) return n; + if (n.children && (n = t(n.children))) return n; + } + })(this.$slots.default); + if (k) + (k.isStatic = !1), + ((k.data = i({}, k.data)).on = w), + ((k.data.attrs = i({}, k.data.attrs)).href = l); + else x.on = w; + } + return t(this.tag, x, this.$slots.default); + } + }; + function $(t) { + if ( + !( + t.metaKey || + t.altKey || + t.ctrlKey || + t.shiftKey || + t.defaultPrevented || + (void 0 !== t.button && 0 !== t.button) + ) + ) { + if (t.currentTarget && t.currentTarget.getAttribute) { + var e = t.currentTarget.getAttribute("target"); + if (/\b_blank\b/i.test(e)) return; + } + return t.preventDefault && t.preventDefault(), !0; + } + } + var S = "undefined" != typeof window; + function E(t, e, n) { + var r = t.charAt(0); + if ("/" === r) return t; + if ("?" === r || "#" === r) return e + t; + var o = e.split("/"); + (n && o[o.length - 1]) || o.pop(); + for (var i = t.replace(/^\//, "").split("/"), a = 0; a < i.length; a++) { + var s = i[a]; + ".." === s ? o.pop() : "." !== s && o.push(s); + } + return "" !== o[0] && o.unshift(""), o.join("/"); + } + function A(t) { + return t.replace(/\/\//g, "/"); + } + var j = + Array.isArray || + function(t) { + return "[object Array]" == Object.prototype.toString.call(t); + }, + L = H, + P = D, + T = function(t, e) { + return F(D(t, e)); + }, + M = F, + I = q, + R = new RegExp( + [ + "(\\\\.)", + "([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))" + ].join("|"), + "g" + ); + function D(t, e) { + for ( + var n, r = [], o = 0, i = 0, a = "", s = (e && e.delimiter) || "/"; + null != (n = R.exec(t)); + + ) { + var l = n[0], + u = n[1], + c = n.index; + if (((a += t.slice(i, c)), (i = c + l.length), u)) a += u[1]; + else { + var f = t[i], + p = n[2], + h = n[3], + d = n[4], + v = n[5], + m = n[6], + y = n[7]; + a && (r.push(a), (a = "")); + var g = null != p && null != f && f !== p, + b = "+" === m || "*" === m, + _ = "?" === m || "*" === m, + w = n[2] || s, + x = d || v; + r.push({ + name: h || o++, + prefix: p || "", + delimiter: w, + optional: _, + repeat: b, + partial: g, + asterisk: !!y, + pattern: x ? U(x) : y ? ".*" : "[^" + z(w) + "]+?" + }); + } + } + return i < t.length && (a += t.substr(i)), a && r.push(a), r; + } + function N(t) { + return encodeURI(t).replace(/[\/?#]/g, function(t) { + return ( + "%" + + t + .charCodeAt(0) + .toString(16) + .toUpperCase() + ); + }); + } + function F(t) { + for (var e = new Array(t.length), n = 0; n < t.length; n++) + "object" == typeof t[n] && + (e[n] = new RegExp("^(?:" + t[n].pattern + ")$")); + return function(n, r) { + for ( + var o = "", + i = n || {}, + a = (r || {}).pretty ? N : encodeURIComponent, + s = 0; + s < t.length; + s++ + ) { + var l = t[s]; + if ("string" != typeof l) { + var u, + c = i[l.name]; + if (null == c) { + if (l.optional) { + l.partial && (o += l.prefix); + continue; + } + throw new TypeError('Expected "' + l.name + '" to be defined'); + } + if (j(c)) { + if (!l.repeat) + throw new TypeError( + 'Expected "' + + l.name + + '" to not repeat, but received `' + + JSON.stringify(c) + + "`" + ); + if (0 === c.length) { + if (l.optional) continue; + throw new TypeError( + 'Expected "' + l.name + '" to not be empty' + ); + } + for (var f = 0; f < c.length; f++) { + if (((u = a(c[f])), !e[s].test(u))) + throw new TypeError( + 'Expected all "' + + l.name + + '" to match "' + + l.pattern + + '", but received `' + + JSON.stringify(u) + + "`" + ); + o += (0 === f ? l.prefix : l.delimiter) + u; + } + } else { + if ( + ((u = l.asterisk + ? encodeURI(c).replace(/[?#]/g, function(t) { + return ( + "%" + + t + .charCodeAt(0) + .toString(16) + .toUpperCase() + ); + }) + : a(c)), + !e[s].test(u)) + ) + throw new TypeError( + 'Expected "' + + l.name + + '" to match "' + + l.pattern + + '", but received "' + + u + + '"' + ); + o += l.prefix + u; + } + } else o += l; + } + return o; + }; + } + function z(t) { + return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g, "\\$1"); + } + function U(t) { + return t.replace(/([=!:$\/()])/g, "\\$1"); + } + function V(t, e) { + return (t.keys = e), t; + } + function B(t) { + return t.sensitive ? "" : "i"; + } + function q(t, e, n) { + j(e) || ((n = e || n), (e = [])); + for ( + var r = (n = n || {}).strict, o = !1 !== n.end, i = "", a = 0; + a < t.length; + a++ + ) { + var s = t[a]; + if ("string" == typeof s) i += z(s); + else { + var l = z(s.prefix), + u = "(?:" + s.pattern + ")"; + e.push(s), + s.repeat && (u += "(?:" + l + u + ")*"), + (i += u = s.optional + ? s.partial + ? l + "(" + u + ")?" + : "(?:" + l + "(" + u + "))?" + : l + "(" + u + ")"); + } + } + var c = z(n.delimiter || "/"), + f = i.slice(-c.length) === c; + return ( + r || (i = (f ? i.slice(0, -c.length) : i) + "(?:" + c + "(?=$))?"), + (i += o ? "$" : r && f ? "" : "(?=" + c + "|$)"), + V(new RegExp("^" + i, B(n)), e) + ); + } + function H(t, e, n) { + return ( + j(e) || ((n = e || n), (e = [])), + (n = n || {}), + t instanceof RegExp + ? (function(t, e) { + var n = t.source.match(/\((?!\?)/g); + if (n) + for (var r = 0; r < n.length; r++) + e.push({ + name: r, + prefix: null, + delimiter: null, + optional: !1, + repeat: !1, + partial: !1, + asterisk: !1, + pattern: null + }); + return V(t, e); + })(t, e) + : j(t) + ? (function(t, e, n) { + for (var r = [], o = 0; o < t.length; o++) + r.push(H(t[o], e, n).source); + return V(new RegExp("(?:" + r.join("|") + ")", B(n)), e); + })(t, e, n) + : (function(t, e, n) { + return q(D(t, n), e, n); + })(t, e, n) + ); + } + (L.parse = P), + (L.compile = T), + (L.tokensToFunction = M), + (L.tokensToRegExp = I); + var G = Object.create(null); + function W(t, e, n) { + try { + return (G[t] || (G[t] = L.compile(t)))(e || {}, { pretty: !0 }); + } catch (t) { + return ""; + } + } + function K(t, e, n, r) { + var o = e || [], + i = n || Object.create(null), + a = r || Object.create(null); + t.forEach(function(t) { + !(function t(e, n, r, o, i, a) { + var s = o.path; + var l = o.name; + 0; + var u = o.pathToRegexpOptions || {}; + var c = (function(t, e, n) { + n || (t = t.replace(/\/$/, "")); + if ("/" === t[0]) return t; + if (null == e) return t; + return A(e.path + "/" + t); + })(s, i, u.strict); + "boolean" == typeof o.caseSensitive && + (u.sensitive = o.caseSensitive); + var f = { + path: c, + regex: Z(c, u), + components: o.components || { default: o.component }, + instances: {}, + name: l, + parent: i, + matchAs: a, + redirect: o.redirect, + beforeEnter: o.beforeEnter, + meta: o.meta || {}, + props: + null == o.props + ? {} + : o.components + ? o.props + : { default: o.props } + }; + o.children && + o.children.forEach(function(o) { + var i = a ? A(a + "/" + o.path) : void 0; + t(e, n, r, o, f, i); + }); + if (void 0 !== o.alias) { + var p = Array.isArray(o.alias) ? o.alias : [o.alias]; + p.forEach(function(a) { + var s = { path: a, children: o.children }; + t(e, n, r, s, i, f.path || "/"); + }); + } + n[f.path] || (e.push(f.path), (n[f.path] = f)); + l && (r[l] || (r[l] = f)); + })(o, i, a, t); + }); + for (var s = 0, l = o.length; s < l; s++) + "*" === o[s] && (o.push(o.splice(s, 1)[0]), l--, s--); + return { pathList: o, pathMap: i, nameMap: a }; + } + function Z(t, e) { + return L(t, [], e); + } + function X(t, e, n, r) { + var o = "string" == typeof t ? { path: t } : t; + if (o.name || o._normalized) return o; + if (!o.path && o.params && e) { + (o = i({}, o))._normalized = !0; + var a = i(i({}, e.params), o.params); + if (e.name) (o.name = e.name), (o.params = a); + else if (e.matched.length) { + var s = e.matched[e.matched.length - 1].path; + o.path = W(s, a, e.path); + } else 0; + return o; + } + var l = (function(t) { + var e = "", + n = "", + r = t.indexOf("#"); + r >= 0 && ((e = t.slice(r)), (t = t.slice(0, r))); + var o = t.indexOf("?"); + return ( + o >= 0 && ((n = t.slice(o + 1)), (t = t.slice(0, o))), + { path: t, query: n, hash: e } + ); + })(o.path || ""), + u = (e && e.path) || "/", + c = l.path ? E(l.path, u, n || o.append) : u, + f = (function(t, e, n) { + void 0 === e && (e = {}); + var r, + o = n || p; + try { + r = o(t || ""); + } catch (t) { + r = {}; + } + for (var i in e) r[i] = e[i]; + return r; + })(l.query, o.query, r && r.options.parseQuery), + h = o.hash || l.hash; + return ( + h && "#" !== h.charAt(0) && (h = "#" + h), + { _normalized: !0, path: c, query: f, hash: h } + ); + } + function Y(t, e) { + var n = K(t), + r = n.pathList, + o = n.pathMap, + i = n.nameMap; + function a(t, n, a) { + var s = X(t, n, !1, e), + u = s.name; + if (u) { + var c = i[u]; + if (!c) return l(null, s); + var f = c.regex.keys + .filter(function(t) { + return !t.optional; + }) + .map(function(t) { + return t.name; + }); + if ( + ("object" != typeof s.params && (s.params = {}), + n && "object" == typeof n.params) + ) + for (var p in n.params) + !(p in s.params) && + f.indexOf(p) > -1 && + (s.params[p] = n.params[p]); + if (c) return (s.path = W(c.path, s.params)), l(c, s, a); + } else if (s.path) { + s.params = {}; + for (var h = 0; h < r.length; h++) { + var d = r[h], + v = o[d]; + if (J(v.regex, s.path, s.params)) return l(v, s, a); + } + } + return l(null, s); + } + function s(t, n) { + var r = t.redirect, + o = "function" == typeof r ? r(v(t, n, null, e)) : r; + if ( + ("string" == typeof o && (o = { path: o }), + !o || "object" != typeof o) + ) + return l(null, n); + var s = o, + u = s.name, + c = s.path, + f = n.query, + p = n.hash, + h = n.params; + if ( + ((f = s.hasOwnProperty("query") ? s.query : f), + (p = s.hasOwnProperty("hash") ? s.hash : p), + (h = s.hasOwnProperty("params") ? s.params : h), + u) + ) { + i[u]; + return a( + { _normalized: !0, name: u, query: f, hash: p, params: h }, + void 0, + n + ); + } + if (c) { + var d = (function(t, e) { + return E(t, e.parent ? e.parent.path : "/", !0); + })(c, t); + return a( + { _normalized: !0, path: W(d, h), query: f, hash: p }, + void 0, + n + ); + } + return l(null, n); + } + function l(t, n, r) { + return t && t.redirect + ? s(t, r || n) + : t && t.matchAs + ? (function(t, e, n) { + var r = a({ _normalized: !0, path: W(n, e.params) }); + if (r) { + var o = r.matched, + i = o[o.length - 1]; + return (e.params = r.params), l(i, e); + } + return l(null, e); + })(0, n, t.matchAs) + : v(t, n, r, e); + } + return { + match: a, + addRoutes: function(t) { + K(t, r, o, i); + } + }; + } + function J(t, e, n) { + var r = e.match(t); + if (!r) return !1; + if (!n) return !0; + for (var o = 1, i = r.length; o < i; ++o) { + var a = t.keys[o - 1], + s = "string" == typeof r[o] ? decodeURIComponent(r[o]) : r[o]; + a && (n[a.name || "pathMatch"] = s); + } + return !0; + } + var Q = Object.create(null); + function tt() { + window.history.replaceState( + { key: pt() }, + "", + window.location.href.replace(window.location.origin, "") + ), + window.addEventListener("popstate", function(t) { + var e; + nt(), t.state && t.state.key && ((e = t.state.key), (ct = e)); + }); + } + function et(t, e, n, r) { + if (t.app) { + var o = t.options.scrollBehavior; + o && + t.app.$nextTick(function() { + var i = (function() { + var t = pt(); + if (t) return Q[t]; + })(), + a = o.call(t, e, n, r ? i : null); + a && + ("function" == typeof a.then + ? a + .then(function(t) { + at(t, i); + }) + .catch(function(t) { + 0; + }) + : at(a, i)); + }); + } + } + function nt() { + var t = pt(); + t && (Q[t] = { x: window.pageXOffset, y: window.pageYOffset }); + } + function rt(t) { + return it(t.x) || it(t.y); + } + function ot(t) { + return { + x: it(t.x) ? t.x : window.pageXOffset, + y: it(t.y) ? t.y : window.pageYOffset + }; + } + function it(t) { + return "number" == typeof t; + } + function at(t, e) { + var n, + r = "object" == typeof t; + if (r && "string" == typeof t.selector) { + var o = document.querySelector(t.selector); + if (o) { + var i = t.offset && "object" == typeof t.offset ? t.offset : {}; + e = (function(t, e) { + var n = document.documentElement.getBoundingClientRect(), + r = t.getBoundingClientRect(); + return { x: r.left - n.left - e.x, y: r.top - n.top - e.y }; + })(o, (i = { x: it((n = i).x) ? n.x : 0, y: it(n.y) ? n.y : 0 })); + } else rt(t) && (e = ot(t)); + } else r && rt(t) && (e = ot(t)); + e && window.scrollTo(e.x, e.y); + } + var st, + lt = + S && + (((-1 === (st = window.navigator.userAgent).indexOf("Android 2.") && + -1 === st.indexOf("Android 4.0")) || + -1 === st.indexOf("Mobile Safari") || + -1 !== st.indexOf("Chrome") || + -1 !== st.indexOf("Windows Phone")) && + window.history && + "pushState" in window.history), + ut = + S && window.performance && window.performance.now + ? window.performance + : Date, + ct = ft(); + function ft() { + return ut.now().toFixed(3); + } + function pt() { + return ct; + } + function ht(t, e) { + nt(); + var n = window.history; + try { + e + ? n.replaceState({ key: ct }, "", t) + : ((ct = ft()), n.pushState({ key: ct }, "", t)); + } catch (n) { + window.location[e ? "replace" : "assign"](t); + } + } + function dt(t) { + ht(t, !0); + } + function vt(t, e, n) { + var r = function(o) { + o >= t.length + ? n() + : t[o] + ? e(t[o], function() { + r(o + 1); + }) + : r(o + 1); + }; + r(0); + } + function mt(t) { + return function(e, n, r) { + var i = !1, + a = 0, + s = null; + yt(t, function(t, e, n, l) { + if ("function" == typeof t && void 0 === t.cid) { + (i = !0), a++; + var u, + c = _t(function(e) { + var o; + ((o = e).__esModule || + (bt && "Module" === o[Symbol.toStringTag])) && + (e = e.default), + (t.resolved = "function" == typeof e ? e : x.extend(e)), + (n.components[l] = e), + --a <= 0 && r(); + }), + f = _t(function(t) { + var e = "Failed to resolve async component " + l + ": " + t; + s || ((s = o(t) ? t : new Error(e)), r(s)); + }); + try { + u = t(c, f); + } catch (t) { + f(t); + } + if (u) + if ("function" == typeof u.then) u.then(c, f); + else { + var p = u.component; + p && "function" == typeof p.then && p.then(c, f); + } + } + }), + i || r(); + }; + } + function yt(t, e) { + return gt( + t.map(function(t) { + return Object.keys(t.components).map(function(n) { + return e(t.components[n], t.instances[n], t, n); + }); + }) + ); + } + function gt(t) { + return Array.prototype.concat.apply([], t); + } + var bt = + "function" == typeof Symbol && "symbol" == typeof Symbol.toStringTag; + function _t(t) { + var e = !1; + return function() { + for (var n = [], r = arguments.length; r--; ) n[r] = arguments[r]; + if (!e) return (e = !0), t.apply(this, n); + }; + } + var wt = function(t, e) { + (this.router = t), + (this.base = (function(t) { + if (!t) + if (S) { + var e = document.querySelector("base"); + t = (t = (e && e.getAttribute("href")) || "/").replace( + /^https?:\/\/[^\/]+/, + "" + ); + } else t = "/"; + "/" !== t.charAt(0) && (t = "/" + t); + return t.replace(/\/$/, ""); + })(e)), + (this.current = y), + (this.pending = null), + (this.ready = !1), + (this.readyCbs = []), + (this.readyErrorCbs = []), + (this.errorCbs = []); + }; + function xt(t, e, n, r) { + var o = yt(t, function(t, r, o, i) { + var a = (function(t, e) { + "function" != typeof t && (t = x.extend(t)); + return t.options[e]; + })(t, e); + if (a) + return Array.isArray(a) + ? a.map(function(t) { + return n(t, r, o, i); + }) + : n(a, r, o, i); + }); + return gt(r ? o.reverse() : o); + } + function kt(t, e) { + if (e) + return function() { + return t.apply(e, arguments); + }; + } + (wt.prototype.listen = function(t) { + this.cb = t; + }), + (wt.prototype.onReady = function(t, e) { + this.ready + ? t() + : (this.readyCbs.push(t), e && this.readyErrorCbs.push(e)); + }), + (wt.prototype.onError = function(t) { + this.errorCbs.push(t); + }), + (wt.prototype.transitionTo = function(t, e, n) { + var r = this, + o = this.router.match(t, this.current); + this.confirmTransition( + o, + function() { + r.updateRoute(o), + e && e(o), + r.ensureURL(), + r.ready || + ((r.ready = !0), + r.readyCbs.forEach(function(t) { + t(o); + })); + }, + function(t) { + n && n(t), + t && + !r.ready && + ((r.ready = !0), + r.readyErrorCbs.forEach(function(e) { + e(t); + })); + } + ); + }), + (wt.prototype.confirmTransition = function(t, e, n) { + var r = this, + i = this.current, + a = function(t) { + o(t) && + (r.errorCbs.length + ? r.errorCbs.forEach(function(e) { + e(t); + }) + : console.error(t)), + n && n(t); + }; + if (_(t, i) && t.matched.length === i.matched.length) + return this.ensureURL(), a(); + var s = (function(t, e) { + var n, + r = Math.max(t.length, e.length); + for (n = 0; n < r && t[n] === e[n]; n++); + return { + updated: e.slice(0, n), + activated: e.slice(n), + deactivated: t.slice(n) + }; + })(this.current.matched, t.matched), + l = s.updated, + u = s.deactivated, + c = s.activated, + f = [].concat( + (function(t) { + return xt(t, "beforeRouteLeave", kt, !0); + })(u), + this.router.beforeHooks, + (function(t) { + return xt(t, "beforeRouteUpdate", kt); + })(l), + c.map(function(t) { + return t.beforeEnter; + }), + mt(c) + ); + this.pending = t; + var p = function(e, n) { + if (r.pending !== t) return a(); + try { + e(t, i, function(t) { + !1 === t || o(t) + ? (r.ensureURL(!0), a(t)) + : "string" == typeof t || + ("object" == typeof t && + ("string" == typeof t.path || "string" == typeof t.name)) + ? (a(), + "object" == typeof t && t.replace + ? r.replace(t) + : r.push(t)) + : n(t); + }); + } catch (t) { + a(t); + } + }; + vt(f, p, function() { + var n = []; + vt( + (function(t, e, n) { + return xt(t, "beforeRouteEnter", function(t, r, o, i) { + return (function(t, e, n, r, o) { + return function(i, a, s) { + return t(i, a, function(t) { + s(t), + "function" == typeof t && + r.push(function() { + !(function t(e, n, r, o) { + n[r] && !n[r]._isBeingDestroyed + ? e(n[r]) + : o() && + setTimeout(function() { + t(e, n, r, o); + }, 16); + })(t, e.instances, n, o); + }); + }); + }; + })(t, o, i, e, n); + }); + })(c, n, function() { + return r.current === t; + }).concat(r.router.resolveHooks), + p, + function() { + if (r.pending !== t) return a(); + (r.pending = null), + e(t), + r.router.app && + r.router.app.$nextTick(function() { + n.forEach(function(t) { + t(); + }); + }); + } + ); + }); + }), + (wt.prototype.updateRoute = function(t) { + var e = this.current; + (this.current = t), + this.cb && this.cb(t), + this.router.afterHooks.forEach(function(n) { + n && n(t, e); + }); + }); + var Ot = (function(t) { + function e(e, n) { + var r = this; + t.call(this, e, n); + var o = e.options.scrollBehavior, + i = lt && o; + i && tt(); + var a = Ct(this.base); + window.addEventListener("popstate", function(t) { + var n = r.current, + o = Ct(r.base); + (r.current === y && o === a) || + r.transitionTo(o, function(t) { + i && et(e, t, n, !0); + }); + }); + } + return ( + t && (e.__proto__ = t), + (e.prototype = Object.create(t && t.prototype)), + (e.prototype.constructor = e), + (e.prototype.go = function(t) { + window.history.go(t); + }), + (e.prototype.push = function(t, e, n) { + var r = this, + o = this.current; + this.transitionTo( + t, + function(t) { + ht(A(r.base + t.fullPath)), et(r.router, t, o, !1), e && e(t); + }, + n + ); + }), + (e.prototype.replace = function(t, e, n) { + var r = this, + o = this.current; + this.transitionTo( + t, + function(t) { + dt(A(r.base + t.fullPath)), et(r.router, t, o, !1), e && e(t); + }, + n + ); + }), + (e.prototype.ensureURL = function(t) { + if (Ct(this.base) !== this.current.fullPath) { + var e = A(this.base + this.current.fullPath); + t ? ht(e) : dt(e); + } + }), + (e.prototype.getCurrentLocation = function() { + return Ct(this.base); + }), + e + ); + })(wt); + function Ct(t) { + var e = decodeURI(window.location.pathname); + return ( + t && 0 === e.indexOf(t) && (e = e.slice(t.length)), + (e || "/") + window.location.search + window.location.hash + ); + } + var $t = (function(t) { + function e(e, n, r) { + t.call(this, e, n), + (r && + (function(t) { + var e = Ct(t); + if (!/^\/#/.test(e)) + return window.location.replace(A(t + "/#" + e)), !0; + })(this.base)) || + St(); + } + return ( + t && (e.__proto__ = t), + (e.prototype = Object.create(t && t.prototype)), + (e.prototype.constructor = e), + (e.prototype.setupListeners = function() { + var t = this, + e = this.router.options.scrollBehavior, + n = lt && e; + n && tt(), + window.addEventListener(lt ? "popstate" : "hashchange", function() { + var e = t.current; + St() && + t.transitionTo(Et(), function(r) { + n && et(t.router, r, e, !0), lt || Lt(r.fullPath); + }); + }); + }), + (e.prototype.push = function(t, e, n) { + var r = this, + o = this.current; + this.transitionTo( + t, + function(t) { + jt(t.fullPath), et(r.router, t, o, !1), e && e(t); + }, + n + ); + }), + (e.prototype.replace = function(t, e, n) { + var r = this, + o = this.current; + this.transitionTo( + t, + function(t) { + Lt(t.fullPath), et(r.router, t, o, !1), e && e(t); + }, + n + ); + }), + (e.prototype.go = function(t) { + window.history.go(t); + }), + (e.prototype.ensureURL = function(t) { + var e = this.current.fullPath; + Et() !== e && (t ? jt(e) : Lt(e)); + }), + (e.prototype.getCurrentLocation = function() { + return Et(); + }), + e + ); + })(wt); + function St() { + var t = Et(); + return "/" === t.charAt(0) || (Lt("/" + t), !1); + } + function Et() { + var t = window.location.href, + e = t.indexOf("#"); + return -1 === e ? "" : decodeURI(t.slice(e + 1)); + } + function At(t) { + var e = window.location.href, + n = e.indexOf("#"); + return (n >= 0 ? e.slice(0, n) : e) + "#" + t; + } + function jt(t) { + lt ? ht(At(t)) : (window.location.hash = t); + } + function Lt(t) { + lt ? dt(At(t)) : window.location.replace(At(t)); + } + var Pt = (function(t) { + function e(e, n) { + t.call(this, e, n), (this.stack = []), (this.index = -1); + } + return ( + t && (e.__proto__ = t), + (e.prototype = Object.create(t && t.prototype)), + (e.prototype.constructor = e), + (e.prototype.push = function(t, e, n) { + var r = this; + this.transitionTo( + t, + function(t) { + (r.stack = r.stack.slice(0, r.index + 1).concat(t)), + r.index++, + e && e(t); + }, + n + ); + }), + (e.prototype.replace = function(t, e, n) { + var r = this; + this.transitionTo( + t, + function(t) { + (r.stack = r.stack.slice(0, r.index).concat(t)), e && e(t); + }, + n + ); + }), + (e.prototype.go = function(t) { + var e = this, + n = this.index + t; + if (!(n < 0 || n >= this.stack.length)) { + var r = this.stack[n]; + this.confirmTransition(r, function() { + (e.index = n), e.updateRoute(r); + }); + } + }), + (e.prototype.getCurrentLocation = function() { + var t = this.stack[this.stack.length - 1]; + return t ? t.fullPath : "/"; + }), + (e.prototype.ensureURL = function() {}), + e + ); + })(wt), + Tt = function(t) { + void 0 === t && (t = {}), + (this.app = null), + (this.apps = []), + (this.options = t), + (this.beforeHooks = []), + (this.resolveHooks = []), + (this.afterHooks = []), + (this.matcher = Y(t.routes || [], this)); + var e = t.mode || "hash"; + switch ( + ((this.fallback = "history" === e && !lt && !1 !== t.fallback), + this.fallback && (e = "hash"), + S || (e = "abstract"), + (this.mode = e), + e) + ) { + case "history": + this.history = new Ot(this, t.base); + break; + case "hash": + this.history = new $t(this, t.base, this.fallback); + break; + case "abstract": + this.history = new Pt(this, t.base); + break; + default: + 0; + } + }, + Mt = { currentRoute: { configurable: !0 } }; + function It(t, e) { + return ( + t.push(e), + function() { + var n = t.indexOf(e); + n > -1 && t.splice(n, 1); + } + ); + } + (Tt.prototype.match = function(t, e, n) { + return this.matcher.match(t, e, n); + }), + (Mt.currentRoute.get = function() { + return this.history && this.history.current; + }), + (Tt.prototype.init = function(t) { + var e = this; + if ((this.apps.push(t), !this.app)) { + this.app = t; + var n = this.history; + if (n instanceof Ot) n.transitionTo(n.getCurrentLocation()); + else if (n instanceof $t) { + var r = function() { + n.setupListeners(); + }; + n.transitionTo(n.getCurrentLocation(), r, r); + } + n.listen(function(t) { + e.apps.forEach(function(e) { + e._route = t; + }); + }); + } + }), + (Tt.prototype.beforeEach = function(t) { + return It(this.beforeHooks, t); + }), + (Tt.prototype.beforeResolve = function(t) { + return It(this.resolveHooks, t); + }), + (Tt.prototype.afterEach = function(t) { + return It(this.afterHooks, t); + }), + (Tt.prototype.onReady = function(t, e) { + this.history.onReady(t, e); + }), + (Tt.prototype.onError = function(t) { + this.history.onError(t); + }), + (Tt.prototype.push = function(t, e, n) { + this.history.push(t, e, n); + }), + (Tt.prototype.replace = function(t, e, n) { + this.history.replace(t, e, n); + }), + (Tt.prototype.go = function(t) { + this.history.go(t); + }), + (Tt.prototype.back = function() { + this.go(-1); + }), + (Tt.prototype.forward = function() { + this.go(1); + }), + (Tt.prototype.getMatchedComponents = function(t) { + var e = t ? (t.matched ? t : this.resolve(t).route) : this.currentRoute; + return e + ? [].concat.apply( + [], + e.matched.map(function(t) { + return Object.keys(t.components).map(function(e) { + return t.components[e]; + }); + }) + ) + : []; + }), + (Tt.prototype.resolve = function(t, e, n) { + var r = X(t, e || this.history.current, n, this), + o = this.match(r, e), + i = o.redirectedFrom || o.fullPath; + return { + location: r, + route: o, + href: (function(t, e, n) { + var r = "hash" === n ? "#" + e : e; + return t ? A(t + "/" + r) : r; + })(this.history.base, i, this.mode), + normalizedTo: r, + resolved: o + }; + }), + (Tt.prototype.addRoutes = function(t) { + this.matcher.addRoutes(t), + this.history.current !== y && + this.history.transitionTo(this.history.getCurrentLocation()); + }), + Object.defineProperties(Tt.prototype, Mt), + (Tt.install = function t(e) { + if (!t.installed || x !== e) { + (t.installed = !0), (x = e); + var n = function(t) { + return void 0 !== t; + }, + r = function(t, e) { + var r = t.$options._parentVnode; + n(r) && + n((r = r.data)) && + n((r = r.registerRouteInstance)) && + r(t, e); + }; + e.mixin({ + beforeCreate: function() { + n(this.$options.router) + ? ((this._routerRoot = this), + (this._router = this.$options.router), + this._router.init(this), + e.util.defineReactive( + this, + "_route", + this._router.history.current + )) + : (this._routerRoot = + (this.$parent && this.$parent._routerRoot) || this), + r(this, this); + }, + destroyed: function() { + r(this); + } + }), + Object.defineProperty(e.prototype, "$router", { + get: function() { + return this._routerRoot._router; + } + }), + Object.defineProperty(e.prototype, "$route", { + get: function() { + return this._routerRoot._route; + } + }), + e.component("RouterView", a), + e.component("RouterLink", C); + var o = e.config.optionMergeStrategies; + o.beforeRouteEnter = o.beforeRouteLeave = o.beforeRouteUpdate = + o.created; + } + }), + (Tt.version = "3.0.2"), + S && window.Vue && window.Vue.use(Tt); + var Rt = Tt; + n(84), n(85), n(40), n(88); + function Dt(t) { + return (Dt = + "function" == typeof Symbol && "symbol" == typeof Symbol.iterator + ? function(t) { + return typeof t; + } + : function(t) { + return t && + "function" == typeof Symbol && + t.constructor === Symbol && + t !== Symbol.prototype + ? "symbol" + : typeof t; + })(t); + } + function Nt(t) { + return (Nt = + "function" == typeof Symbol && "symbol" === Dt(Symbol.iterator) + ? function(t) { + return Dt(t); + } + : function(t) { + return t && + "function" == typeof Symbol && + t.constructor === Symbol && + t !== Symbol.prototype + ? "symbol" + : Dt(t); + })(t); + } + var Ft = n(25); + n(91); + function zt(t, e, n, r, o, i, a) { + try { + var s = t[i](a), + l = s.value; + } catch (t) { + return void n(t); + } + s.done ? e(l) : Promise.resolve(l).then(r, o); + } + n(61); + var Ut = { + NotFound: () => Promise.all([n.e(0), n.e(3)]).then(n.bind(null, 140)), + Layout: () => Promise.all([n.e(0), n.e(2)]).then(n.bind(null, 139)) + }, + Vt = { + "v-acd593fc": () => n.e(6).then(n.bind(null, 141)), + "v-9af1f7dc": () => n.e(7).then(n.bind(null, 144)), + "v-073619c3": () => n.e(8).then(n.bind(null, 153)), + "v-0bcaedd9": () => n.e(9).then(n.bind(null, 150)), + "v-77c73199": () => n.e(10).then(n.bind(null, 143)), + "v-5717614d": () => n.e(11).then(n.bind(null, 145)), + "v-1f50ee59": () => n.e(12).then(n.bind(null, 146)), + "v-45aa14ce": () => n.e(13).then(n.bind(null, 147)), + "v-cd0cec28": () => n.e(14).then(n.bind(null, 148)), + "v-5b471da2": () => n.e(15).then(n.bind(null, 149)), + "v-3df8c167": () => n.e(17).then(n.bind(null, 151)), + "v-f144760e": () => n.e(18).then(n.bind(null, 155)), + "v-147a1068": () => n.e(19).then(n.bind(null, 157)), + "v-254c4c59": () => n.e(20).then(n.bind(null, 159)), + "v-2939380e": () => n.e(21).then(n.bind(null, 161)), + "v-fb4e549a": () => n.e(22).then(n.bind(null, 142)), + "v-0250a037": () => n.e(23).then(n.bind(null, 160)), + "v-0f9139b7": () => n.e(24).then(n.bind(null, 158)), + "v-50ef8540": () => n.e(25).then(n.bind(null, 156)), + "v-2692d7ee": () => n.e(26).then(n.bind(null, 154)), + "v-6c9c2319": () => n.e(16).then(n.bind(null, 152)) + }, + Bt = Object.assign({}, Ut, Vt); + function qt() { + for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++) + e[n] = arguments[n]; + return Promise.all( + e + .filter(function(t) { + return t; + }) + .map( + (function() { + var t, + e = ((t = regeneratorRuntime.mark(function t(e) { + var n; + return regeneratorRuntime.wrap( + function(t) { + for (;;) + switch ((t.prev = t.next)) { + case 0: + if (r.a.component(e) || !Bt[e]) { + t.next = 5; + break; + } + return (t.next = 3), Bt[e](); + case 3: + (n = t.sent), r.a.component(e, n.default); + case 5: + case "end": + return t.stop(); + } + }, + t, + this + ); + })), + function() { + var e = this, + n = arguments; + return new Promise(function(r, o) { + var i = t.apply(e, n); + function a(t) { + zt(i, r, o, a, s, "next", t); + } + function s(t) { + zt(i, r, o, a, s, "throw", t); + } + a(void 0); + }); + }); + return function(t) { + return e.apply(this, arguments); + }; + })() + ) + ); + } + n(93); + var Ht = { + created: function() { + this.$ssrContext && + ((this.$ssrContext.title = this.$title), + (this.$ssrContext.lang = this.$lang), + (this.$ssrContext.description = + this.$page.description || this.$description)); + }, + mounted: function() { + (this.currentMetaTags = new Set()), this.updateMeta(); + }, + methods: { + updateMeta: function() { + var t = this; + (document.title = this.$title), + (document.documentElement.lang = this.$lang); + var e = this.$page.frontmatter.meta || [], + n = e.slice(0); + 0 === + e.filter(function(t) { + return "description" === t.name; + }).length && + n.push({ name: "description", content: this.$description }); + var r = document.querySelectorAll('meta[name="description"]'); + r.length && + r.forEach(function(e) { + return t.currentMetaTags.add(e); + }), + (this.currentMetaTags = new Set(Gt(n, this.currentMetaTags))); + } + }, + watch: { + $page: function() { + this.updateMeta(); + } + }, + beforeDestroy: function() { + Gt(null, this.currentMetaTags); + } + }; + function Gt(t, e) { + if ( + (e && + Object(Ft.a)(e).forEach(function(t) { + document.head.removeChild(t); + }), + t) + ) + return t.map(function(t) { + var e = document.createElement("meta"); + return ( + Object.keys(t).forEach(function(n) { + e.setAttribute(n, t[n]); + }), + document.head.appendChild(e), + e + ); + }); + } + var Wt = n(63), + Kt = [ + Ht, + { + mounted() { + window.addEventListener("scroll", this.onScroll); + }, + methods: { + onScroll: n.n(Wt)()(function() { + this.setActiveHash(); + }, 300), + setActiveHash() { + const t = [].slice.call( + document.querySelectorAll(".sidebar-link") + ), + e = [].slice + .call(document.querySelectorAll(".header-anchor")) + .filter(e => t.some(t => t.hash === e.hash)), + n = Math.max( + window.pageYOffset, + document.documentElement.scrollTop, + document.body.scrollTop + ); + for (let t = 0; t < e.length; t++) { + const r = e[t], + o = e[t + 1]; + if ( + ((0 === t && 0 === n) || + (n >= r.parentElement.offsetTop + 10 && + (!o || n < o.parentElement.offsetTop - 10))) && + decodeURIComponent(this.$route.hash) !== + decodeURIComponent(r.hash) + ) + return ( + this.$vuepress.$set("disableScrollBehavior", !0), + void this.$router.replace( + decodeURIComponent(r.hash), + () => { + this.$nextTick(() => { + this.$vuepress.$set("disableScrollBehavior", !1); + }); + } + ) + ); + } + } + }, + beforeDestroy() { + window.removeEventListener("scroll", this.onScroll); + } + } + ], + Zt = { + computed: { + layout: function() { + return this.$page.path + ? this.$page.frontmatter.layout || "Layout" + : "NotFound"; + } + } + }, + Xt = n(17), + Yt = Object(Xt.a)( + Zt, + function() { + var t = this.$createElement; + return (this._self._c || t)(this.layout, { tag: "component" }); + }, + [], + !1, + null, + null, + null + ); + Yt.options.__file = "LayoutDistributor.vue"; + var Jt = Yt.exports; + !(function(t, e, n) { + var r; + switch (e) { + case "components": + t[e] || (t[e] = {}), Object.assign(t[e], n); + break; + case "mixins": + t[e] || (t[e] = []), (r = t[e]).push.apply(r, Object(Ft.a)(n)); + break; + default: + throw new Error("Unknown option name."); + } + })(Jt, "mixins", Kt); + const Qt = [ + { + name: "v-acd593fc", + path: "/", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-acd593fc").then(n); + } + }, + { path: "/index.html", redirect: "/" }, + { + name: "v-9af1f7dc", + path: "/api/Layers/", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-9af1f7dc").then(n); + } + }, + { path: "/api/Layers/index.html", redirect: "/api/Layers/" }, + { + name: "v-073619c3", + path: "/api/Layers/canvaslayer.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-073619c3").then(n); + } + }, + { + name: "v-0bcaedd9", + path: "/api/Layers/geojsonlayer.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-0bcaedd9").then(n); + } + }, + { + name: "v-77c73199", + path: "/api/Layers/imagelayer.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-77c73199").then(n); + } + }, + { + name: "v-5717614d", + path: "/api/Layers/rasterlayer.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-5717614d").then(n); + } + }, + { + name: "v-1f50ee59", + path: "/api/Layers/vectorlayer.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-1f50ee59").then(n); + } + }, + { + name: "v-45aa14ce", + path: "/api/Layers/videolayer.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-45aa14ce").then(n); + } + }, + { + name: "v-cd0cec28", + path: "/api/", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-cd0cec28").then(n); + } + }, + { path: "/api/index.html", redirect: "/api/" }, + { + name: "v-5b471da2", + path: "/api/controls.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-5b471da2").then(n); + } + }, + { + name: "v-3df8c167", + path: "/api/marker.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-3df8c167").then(n); + } + }, + { + name: "v-f144760e", + path: "/api/popup.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-f144760e").then(n); + } + }, + { + name: "v-147a1068", + path: "/guide/", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-147a1068").then(n); + } + }, + { path: "/guide/index.html", redirect: "/guide/" }, + { + name: "v-254c4c59", + path: "/guide/basemap.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-254c4c59").then(n); + } + }, + { + name: "v-2939380e", + path: "/guide/composition.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-2939380e").then(n); + } + }, + { + name: "v-fb4e549a", + path: "/guide/controls.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-fb4e549a").then(n); + } + }, + { + name: "v-0250a037", + path: "/guide/layers&sources.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-0250a037").then(n); + } + }, + { + name: "v-0f9139b7", + path: "/guide/markers&popups.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-0f9139b7").then(n); + } + }, + { + name: "v-50ef8540", + path: "/plugins/", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-50ef8540").then(n); + } + }, + { path: "/plugins/index.html", redirect: "/plugins/" }, + { + name: "v-2692d7ee", + path: "/plugins/plugin_development.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-2692d7ee").then(n); + } + }, + { + name: "v-6c9c2319", + path: "/api/glmap.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-6c9c2319").then(n); + } + }, + { path: "*", component: Jt } + ], + te = { + title: "VueMapbox", + description: "Combine powers of Mapbox GL JS and Vue.js", + base: "/vue-mapbox/", + pages: [ + { + title: "Home", + frontmatter: { + home: !0, + heroImage: "/logo.svg", + actionText: "Get Started →", + actionLink: "/guide/", + features: [ + { + title: "Declarative style", + details: + "You can use map elements like layers, markers, popups as Vue components and control them via synchronized props" + }, + { + title: "Vuefied", + details: + "Map elements declared as components respect Vue lifecycle, emit map events like Vue events and can be used in OOP-style" + }, + { + title: "Promisified async actions", + details: + "You can do async map operations and get results in Promise without messing with map events and figuring out what action cause it" + } + ], + footer: "MIT Licensed" + }, + regularPath: "/", + key: "v-acd593fc", + path: "/" + }, + { + title: "Layers common", + frontmatter: {}, + regularPath: "/api/Layers/", + key: "v-9af1f7dc", + path: "/api/Layers/", + headers: [ + { level: 2, title: "Props", slug: "props" }, + { level: 3, title: "sourceId", slug: "sourceid" }, + { level: 3, title: "layerId", slug: "layerid" }, + { level: 3, title: "metadata", slug: "metadata" }, + { level: 3, title: "minZoom", slug: "minzoom" }, + { level: 3, title: "maxZoom", slug: "maxzoom" }, + { level: 3, title: "paint", slug: "paint" }, + { level: 3, title: "layout", slug: "layout" }, + { level: 3, title: "filter", slug: "filter" }, + { level: 3, title: "before", slug: "before" }, + { level: 3, title: "clearSource", slug: "clearsource" }, + { level: 3, title: "replaceSource", slug: "replacesource" }, + { level: 3, title: "replace", slug: "replace" }, + { + level: 2, + title: "Computed properties", + slug: "computed-properties" + }, + { level: 3, title: "sourceLoaded", slug: "sourceloaded" }, + { level: 3, title: "mapLayer", slug: "maplayer" }, + { level: 3, title: "mapSource", slug: "mapsource" }, + { level: 2, title: "Methods", slug: "methods" }, + { level: 3, title: ".move(beforeId?)", slug: "move-beforeid" }, + { level: 3, title: ".remove()", slug: "remove" }, + { level: 2, title: "Events", slug: "events" }, + { level: 3, title: "@mousedown", slug: "mousedown" }, + { level: 3, title: "@mouseup", slug: "mouseup" }, + { level: 3, title: "@click", slug: "click" }, + { level: 3, title: "@dblclick", slug: "dblclick" }, + { level: 3, title: "@mousemove", slug: "mousemove" }, + { level: 3, title: "@mouseenter", slug: "mouseenter" }, + { level: 3, title: "@mouseleave", slug: "mouseleave" }, + { level: 3, title: "@mouseover", slug: "mouseover" }, + { level: 3, title: "@mouseout", slug: "mouseout" }, + { level: 3, title: "@contextmenu", slug: "contextmenu" }, + { level: 3, title: "@touchstart", slug: "touchstart" }, + { level: 3, title: "@touchend", slug: "touchend" }, + { level: 3, title: "@touchcancel", slug: "touchcancel" } + ] + }, + { + title: "CanvasLayer", + frontmatter: {}, + regularPath: "/api/Layers/canvaslayer.html", + key: "v-073619c3", + path: "/api/Layers/canvaslayer.html", + headers: [ + { level: 2, title: "Props", slug: "props" }, + { level: 3, title: "canvas", slug: "canvas" }, + { level: 3, title: "coordinates", slug: "coordinates" }, + { level: 3, title: "animate", slug: "animate" }, + { level: 3, title: "width", slug: "width" }, + { level: 3, title: "height", slug: "height" }, + { level: 2, title: "Events", slug: "events" } + ] + }, + { + title: "GeojsonLayer", + frontmatter: {}, + regularPath: "/api/Layers/geojsonlayer.html", + key: "v-0bcaedd9", + path: "/api/Layers/geojsonlayer.html", + headers: [ + { level: 2, title: "Props", slug: "props" }, + { level: 3, title: "source", slug: "source" }, + { level: 3, title: "type", slug: "type" }, + { level: 3, title: "cluster", slug: "cluster" }, + { level: 3, title: "clusterMaxZoom", slug: "clustermaxzoom" }, + { level: 3, title: "clusterRadius", slug: "clusterradius" }, + { level: 3, title: "lineMetrics", slug: "linemetrics" }, + { level: 3, title: "buffer", slug: "buffer" }, + { level: 3, title: "tolerance", slug: "tolerance" }, + { level: 3, title: "generateId", slug: "generateid" }, + { level: 3, title: "attribution", slug: "attribution" }, + { level: 2, title: "Computed getters", slug: "computed-getters" }, + { + level: 3, + title: "getSourceFeatures(filter?)", + slug: "getsourcefeatures-filter" + }, + { + level: 3, + title: "getRenderedFeatures(geometry, filter)", + slug: "getrenderedfeatures-geometry-filter" + }, + { level: 2, title: "Methods", slug: "methods" }, + { + level: 3, + title: "setFeatureState(featureId, state)", + slug: "setfeaturestate-featureid-state" + }, + { + level: 3, + title: "getFeatureState(featureId)", + slug: "getfeaturestate-featureid" + }, + { level: 2, title: "Events", slug: "events" } + ] + }, + { + title: "ImageLayer", + frontmatter: {}, + regularPath: "/api/Layers/imagelayer.html", + key: "v-77c73199", + path: "/api/Layers/imagelayer.html", + headers: [ + { level: 2, title: "Props", slug: "props" }, + { level: 3, title: "url", slug: "url" }, + { level: 3, title: "coordinates", slug: "coordinates" }, + { level: 2, title: "Events", slug: "events" } + ] + }, + { + title: "RasterLayer", + frontmatter: {}, + regularPath: "/api/Layers/rasterlayer.html", + key: "v-5717614d", + path: "/api/Layers/rasterlayer.html", + headers: [ + { level: 2, title: "Props", slug: "props" }, + { level: 3, title: "url", slug: "url" }, + { level: 3, title: "tiles", slug: "tiles" }, + { level: 3, title: "tileSize", slug: "tilesize" }, + { level: 3, title: "tilesMinZoom", slug: "tilesminzoom" }, + { level: 3, title: "tilesMaxZoom", slug: "tilesmaxzoom" }, + { level: 3, title: "bounds", slug: "bounds" }, + { level: 3, title: "scheme", slug: "scheme" }, + { level: 3, title: "attribution", slug: "attribution" }, + { level: 2, title: "Events", slug: "events" } + ] + }, + { + title: "VectorLayer", + frontmatter: {}, + regularPath: "/api/Layers/vectorlayer.html", + key: "v-1f50ee59", + path: "/api/Layers/vectorlayer.html", + headers: [ + { level: 2, title: "Props", slug: "props" }, + { level: 3, title: "url", slug: "url" }, + { level: 3, title: "tiles", slug: "tiles" }, + { level: 3, title: "tilesMinZoom", slug: "tilesminzoom" }, + { level: 3, title: "tilesMaxZoom", slug: "tilesmaxzoom" }, + { level: 3, title: "sourceLayer", slug: "sourcelayer" }, + { level: 3, title: "bounds", slug: "bounds" }, + { level: 3, title: "scheme", slug: "scheme" }, + { level: 3, title: "attribution", slug: "attribution" }, + { level: 2, title: "Computed getters", slug: "computed-getters" }, + { + level: 3, + title: "getSourceFeatures(filter?)", + slug: "getsourcefeatures-filter" + }, + { + level: 3, + title: "getRenderedFeatures(geometry, filter)", + slug: "getrenderedfeatures-geometry-filter" + }, + { level: 2, title: "Methods", slug: "methods" }, + { + level: 3, + title: "setFeatureState(featureId, state)", + slug: "setfeaturestate-featureid-state" + }, + { + level: 3, + title: "getFeatureState(featureId)", + slug: "getfeaturestate-featureid" + }, + { level: 2, title: "Events", slug: "events" } + ] + }, + { + title: "CanvasLayer", + frontmatter: {}, + regularPath: "/api/Layers/videolayer.html", + key: "v-45aa14ce", + path: "/api/Layers/videolayer.html", + headers: [ + { level: 2, title: "Props", slug: "props" }, + { level: 3, title: "urls", slug: "urls" }, + { level: 3, title: "coordinates", slug: "coordinates" }, + { level: 2, title: "Computed getters", slug: "computed-getters" }, + { level: 3, title: "video", slug: "video" } + ] + }, + { + title: "Vue-mapbox plugin", + frontmatter: {}, + regularPath: "/api/", + key: "v-cd0cec28", + path: "/api/", + headers: [ + { + level: 2, + title: "Register Vue-Mapbox as Vue plugin", + slug: "register-vue-mapbox-as-vue-plugin" + }, + { level: 2, title: "Options", slug: "options" }, + { level: 3, title: "mapboxgl", slug: "mapboxgl" }, + { level: 3, title: "plugins", slug: "plugins" }, + { level: 2, title: "Example", slug: "example" } + ] + }, + { + title: "Map control components", + frontmatter: {}, + regularPath: "/api/controls.html", + key: "v-5b471da2", + path: "/api/controls.html", + headers: [ + { + level: 2, + title: "AttributionControl", + slug: "attributioncontrol" + }, + { level: 3, title: "Props", slug: "props" }, + { level: 3, title: "compact", slug: "compact" }, + { + level: 3, + title: "customAttribution", + slug: "customattribution" + }, + { + level: 2, + title: "FullscreenControl", + slug: "fullscreencontrol" + }, + { level: 2, title: "GeolocateControl", slug: "geolocatecontrol" }, + { level: 3, title: "Props", slug: "props-2" }, + { level: 3, title: "positionOptions", slug: "positionoptions" }, + { level: 3, title: "fitBoundsOptions", slug: "fitboundsoptions" }, + { + level: 3, + title: "trackUserLocation", + slug: "trackuserlocation" + }, + { level: 3, title: "showUserLocation", slug: "showuserlocation" }, + { level: 3, title: "Methods", slug: "methods" }, + { level: 3, title: ".trigger()", slug: "trigger" }, + { + level: 2, + title: "NavigationControl", + slug: "navigationcontrol" + }, + { level: 3, title: "Props", slug: "props-3" }, + { level: 3, title: "showCompass", slug: "showcompass" }, + { level: 3, title: "showZoom", slug: "showzoom" }, + { level: 2, title: "ScaleControl", slug: "scalecontrol" }, + { level: 3, title: "Props", slug: "props-4" }, + { level: 3, title: "maxWidth", slug: "maxwidth" }, + { level: 3, title: "unit", slug: "unit" } + ] + }, + { + title: "Marker", + frontmatter: {}, + regularPath: "/api/marker.html", + key: "v-3df8c167", + path: "/api/marker.html", + headers: [ + { level: 2, title: "Props", slug: "props" }, + { level: 3, title: "offset", slug: "offset" }, + { level: 3, title: "coordinates", slug: "coordinates" }, + { level: 3, title: "color", slug: "color" }, + { level: 3, title: "anchor", slug: "anchor" }, + { level: 3, title: "draggable", slug: "draggable" }, + { level: 2, title: "Slots", slug: "slots" }, + { level: 3, title: "marker", slug: "marker-2" }, + { level: 3, title: "default", slug: "default" }, + { level: 2, title: "Methods", slug: "methods" }, + { level: 3, title: ".remove()", slug: "remove" }, + { level: 3, title: ".togglePopup()", slug: "togglepopup" }, + { level: 2, title: "Events", slug: "events" }, + { level: 3, title: "@added", slug: "added" }, + { level: 3, title: "@removed", slug: "removed" }, + { level: 3, title: "@drag", slug: "drag" }, + { level: 3, title: "@dragstart", slug: "dragstart" }, + { level: 3, title: "@dragend", slug: "dragend" } + ] + }, + { + title: "Popup", + frontmatter: {}, + regularPath: "/api/popup.html", + key: "v-f144760e", + path: "/api/popup.html", + headers: [ + { level: 2, title: "Props", slug: "props" }, + { level: 3, title: "closeButton", slug: "closebutton" }, + { level: 3, title: "closeOnClick", slug: "closeonclick" }, + { level: 3, title: "anchor", slug: "anchor" }, + { level: 3, title: "offset", slug: "offset" }, + { level: 3, title: "coordinates", slug: "coordinates" }, + { level: 3, title: "onlyText", slug: "onlytext" }, + { level: 2, title: "Slots", slug: "slots" }, + { level: 3, title: "default", slug: "default" }, + { level: 2, title: "Events", slug: "events" }, + { level: 3, title: "@added", slug: "added" }, + { level: 3, title: "@removed", slug: "removed" }, + { level: 3, title: "@open", slug: "open" }, + { level: 3, title: "@close", slug: "close" } + ] + }, + { + title: "Quickstart", + frontmatter: {}, + regularPath: "/guide/", + key: "v-147a1068", + path: "/guide/", + headers: [ + { + level: 2, + title: "Using as ES module", + slug: "using-as-es-module" + }, + { level: 3, title: "Installation", slug: "installation" }, + { + level: 3, + title: "Register a plugin", + slug: "register-a-plugin" + }, + { level: 2, title: "Using in browser", slug: "using-in-browser" }, + { level: 3, title: "Installation", slug: "installation-2" } + ] + }, + { + title: "Base map", + frontmatter: {}, + regularPath: "/guide/basemap.html", + key: "v-254c4c59", + path: "/guide/basemap.html", + headers: [ + { + level: 2, + title: "Adding map component", + slug: "adding-map-component" + }, + { + level: 3, + title: "Interact with map properties as GlMap props", + slug: "interact-with-map-properties-as-glmap-props" + }, + { level: 2, title: "Map loading", slug: "map-loading" }, + { level: 2, title: "Map actions", slug: "map-actions" }, + { + level: 3, + title: "Method actions.stop()", + slug: "method-actions-stop" + }, + { level: 3, title: "Events", slug: "events" } + ] + }, + { + title: "Composition", + frontmatter: {}, + regularPath: "/guide/composition.html", + key: "v-2939380e", + path: "/guide/composition.html" + }, + { + title: "Map controls", + frontmatter: {}, + regularPath: "/guide/controls.html", + key: "v-fb4e549a", + path: "/guide/controls.html", + headers: [ + { level: 2, title: "Overview", slug: "overview" }, + { + level: 3, + title: "Attribution control", + slug: "attribution-control" + } + ] + }, + { + title: "Layers and sources", + frontmatter: {}, + regularPath: "/guide/layers&sources.html", + key: "v-0250a037", + path: "/guide/layers&sources.html", + headers: [ + { level: 2, title: "Adding layers", slug: "adding-layers" }, + { + level: 2, + title: "Updating layer state with props", + slug: "updating-layer-state-with-props" + }, + { level: 2, title: "Layer getters", slug: "layer-getters" }, + { level: 2, title: "Layer methods", slug: "layer-methods" }, + { level: 2, title: "Layer events", slug: "layer-events" } + ] + }, + { + title: "Markers and Popups", + frontmatter: {}, + regularPath: "/guide/markers&popups.html", + key: "v-0f9139b7", + path: "/guide/markers&popups.html", + headers: [ + { level: 2, title: "Marker", slug: "marker" }, + { level: 3, title: "Props", slug: "props" }, + { level: 3, title: "Slots", slug: "slots" }, + { level: 3, title: "Default slot", slug: "default-slot" }, + { level: 2, title: "Popup", slug: "popup" }, + { level: 3, title: "Props", slug: "props-2" }, + { + level: 2, + title: "Markers & Popups together", + slug: "markers-popups-together" + } + ] + }, + { + title: "Plugins", + frontmatter: {}, + regularPath: "/plugins/", + key: "v-50ef8540", + path: "/plugins/" + }, + { + title: "Plugin development", + frontmatter: {}, + regularPath: "/plugins/plugin_development.html", + key: "v-2692d7ee", + path: "/plugins/plugin_development.html" + }, + { + title: "GlMap", + frontmatter: {}, + regularPath: "/api/glmap.html", + key: "v-6c9c2319", + path: "/api/glmap.html", + headers: [ + { level: 2, title: "Props", slug: "props" }, + { level: 3, title: "mapStyle", slug: "mapstyle" }, + { level: 3, title: "container", slug: "container" }, + { level: 3, title: "accessToken", slug: "accesstoken" }, + { level: 3, title: "minZoom", slug: "minzoom" }, + { level: 3, title: "maxZoom", slug: "maxzoom" }, + { level: 3, title: "hash", slug: "hash" }, + { level: 3, title: "interactive", slug: "interactive" }, + { level: 3, title: "bearingSnap", slug: "bearingsnap" }, + { + level: 3, + title: "attributionControl", + slug: "attributioncontrol" + }, + { level: 3, title: "logoPosition", slug: "logoposition" }, + { + level: 3, + title: "failIfMajorPerformanceCaveat", + slug: "failifmajorperformancecaveat" + }, + { + level: 3, + title: "crossSourceCollisions", + slug: "crosssourcecollisions" + }, + { level: 3, title: "fadeDuration", slug: "fadeduration" }, + { + level: 3, + title: "preserveDrawingBuffer", + slug: "preservedrawingbuffer" + }, + { + level: 3, + title: "refreshExpiredTiles", + slug: "refreshexpiredtiles" + }, + { level: 3, title: "maxBounds", slug: "maxbounds" }, + { level: 3, title: "scrollZoom", slug: "scrollzoom" }, + { level: 3, title: "boxZoom", slug: "boxzoom" }, + { level: 3, title: "dragRotate", slug: "dragrotate" }, + { level: 3, title: "keyboard", slug: "keyboard" }, + { level: 3, title: "doubleClickZoom", slug: "doubleclickzoom" }, + { level: 3, title: "touchZoomRotate", slug: "touchzoomrotate" }, + { level: 3, title: "trackResize", slug: "trackresize" }, + { level: 3, title: "center", slug: "center" }, + { level: 3, title: "zoom", slug: "zoom" }, + { level: 3, title: "bearing", slug: "bearing" }, + { level: 3, title: "pitch", slug: "pitch" }, + { + level: 3, + title: "renderWorldCopies", + slug: "renderworldcopies" + }, + { level: 3, title: "light", slug: "light" }, + { level: 3, title: "tileBoundaries", slug: "tileboundaries" }, + { level: 3, title: "collisionBoxes", slug: "collisionboxes" }, + { level: 3, title: "repaint", slug: "repaint" }, + { level: 3, title: "transformRequest", slug: "transformrequest" }, + { + level: 3, + title: "localIdeographFontFamily", + slug: "localideographfontfamily" + }, + { level: 2, title: "Actions", slug: "actions" }, + { level: 3, title: ".stop(eventData?)", slug: "stop-eventdata" }, + { + level: 3, + title: ".panBy(offset, options?, eventData?)", + slug: "panby-offset-options-eventdata" + }, + { + level: 3, + title: ".panTo(coordinates, options?, eventData?)", + slug: "panto-coordinates-options-eventdata" + }, + { + level: 3, + title: ".zoomTo(zoom, options?, eventData?)", + slug: "zoomto-zoom-options-eventdata" + }, + { + level: 3, + title: ".zoomIn(options?, eventData?)", + slug: "zoomin-options-eventdata" + }, + { + level: 3, + title: ".zoomOut(options?, eventData?)", + slug: "zoomout-options-eventdata" + }, + { + level: 3, + title: ".rotateTo(bearing, options?, eventData?)", + slug: "rotateto-bearing-options-eventdata" + }, + { + level: 3, + title: ".resetNorth(options?, eventData?)", + slug: "resetnorth-options-eventdata" + }, + { + level: 3, + title: ".snapToNorth(options?, eventData?)", + slug: "snaptonorth-options-eventdata" + }, + { + level: 3, + title: ".fitBounds(bounds, options?, eventData?)", + slug: "fitbounds-bounds-options-eventdata" + }, + { + level: 3, + title: ".jumpTo(options, eventData?)", + slug: "jumpto-options-eventdata" + }, + { + level: 3, + title: ".easeTo(options, eventData?)", + slug: "easeto-options-eventdata" + }, + { + level: 3, + title: ".flyTo(options, eventData?)", + slug: "flyto-options-eventdata" + }, + { level: 2, title: "Events", slug: "events" }, + { level: 3, title: "@load", slug: "load" } + ] + } + ], + themeConfig: { + nav: [ + { text: "Guide", link: "/guide/" }, + { text: "API", link: "/api/" }, + { text: "Github", link: "https://github.com/soal/vue-mapbox" }, + { + text: "map-promisified", + link: "https://github.com/soal/map-promisified" + } + ], + sidebar: [ + { + title: "Guide", + collapsable: !1, + children: [ + ["/guide/", "Quickstart"], + ["/guide/basemap.md", "Base map"], + ["/guide/composition.md", "Composition"], + ["/guide/controls.md", "Controls"], + ["/guide/markers&popups.md", "Markers and popups"], + ["/guide/layers&sources.md", "Layers and sources"] + ] + }, + { + title: "API", + collapsable: !1, + children: [ + ["/api/", "VueMapbox"], + ["/api/glmap.md", "GlMap"], + ["/api/controls.md", "Controls"], + ["/api/marker.md", "MapMarker"], + ["/api/popup.md", "Popup"], + ["/api/Layers/", "Layer commons"], + ["/api/Layers/geojsonlayer.md", "GeojsonLayer"], + ["/api/Layers/vectorlayer.md", "VectorLayer"], + ["/api/Layers/rasterlayer.md", "RasterLayer"], + ["/api/Layers/imagelayer.md", "ImageLayer"], + ["/api/Layers/videolayer.md", "VideoLayer"] + ] + }, + { + title: "Plugins", + collapsable: !1, + children: [ + ["/plugins/", "Using plugins"], + ["/plugins/plugin_development.md", "Create a plugin"] + ] + } + ] + } + }; + n(97); + r.a.component("Badge", () => + Promise.all([n.e(0), n.e(4)]).then(n.bind(null, 162)) + ); + var ee = [ + {}, + ({ Vue: t }) => { + t.mixin({ + computed: { + $dataBlock() { + return this.$options.__data__block__; + } + } + }); + }, + {} + ], + ne = []; + function re(t, e) { + if (!(t instanceof e)) + throw new TypeError("Cannot call a class as a function"); + } + function oe(t, e) { + return !e || ("object" !== Nt(e) && "function" != typeof e) + ? (function(t) { + if (void 0 === t) + throw new ReferenceError( + "this hasn't been initialised - super() hasn't been called" + ); + return t; + })(t) + : e; + } + function ie(t) { + return (ie = Object.setPrototypeOf + ? Object.getPrototypeOf + : function(t) { + return t.__proto__ || Object.getPrototypeOf(t); + })(t); + } + function ae(t, e) { + return (ae = + Object.setPrototypeOf || + function(t, e) { + return (t.__proto__ = e), t; + })(t, e); + } + function se(t, e) { + for (var n = 0; n < e.length; n++) { + var r = e[n]; + (r.enumerable = r.enumerable || !1), + (r.configurable = !0), + "value" in r && (r.writable = !0), + Object.defineProperty(t, r.key, r); + } + } + var le = (function() { + function t() { + re(this, t), (this.store = new r.a({ data: { state: {} } })); + } + var e, n, o; + return ( + (e = t), + (n = [ + { + key: "$get", + value: function(t) { + return this.store.state[t]; + } + }, + { + key: "$set", + value: function(t, e) { + r.a.set(this.store.state, t, e); + } + }, + { + key: "$emit", + value: function() { + var t; + (t = this.store).$emit.apply(t, arguments); + } + }, + { + key: "$on", + value: function() { + var t; + (t = this.store).$on.apply(t, arguments); + } + } + ]) && se(e.prototype, n), + o && se(e, o), + t + ); + })(), + ue = (function(t) { + function e() { + return re(this, e), oe(this, ie(e).apply(this, arguments)); + } + return ( + (function(t, e) { + if ("function" != typeof e && null !== e) + throw new TypeError( + "Super expression must either be null or a function" + ); + (t.prototype = Object.create(e && e.prototype, { + constructor: { value: t, writable: !0, configurable: !0 } + })), + e && ae(t, e); + })(e, le), + e + ); + })(), + ce = { + install: function(t) { + var e = new ue(); + (t.$vuepress = e), (t.prototype.$vuepress = e); + } + }, + fe = { + props: { + pageKey: String, + slotKey: { type: String, default: "default" } + }, + render: function(t) { + var e = this.pageKey || this.$parent.$page.key; + return (function(t) { + return Boolean(Vt[t]); + })(e) + ? t(e) + : t(""); + } + }, + pe = { + functional: !0, + props: { slotKey: String, required: !0 }, + render: function(t, e) { + var n = e.props, + r = e.slots; + return t("div", { class: ["content", n.slotKey] }, r()[n.slotKey]); + } + }, + he = (n(98), + Object(Xt.a)( + {}, + function(t, e) { + var n = e._c; + return n( + "svg", + { + staticClass: "icon outbound", + attrs: { + xmlns: "http://www.w3.org/2000/svg", + "aria-hidden": "true", + x: "0px", + y: "0px", + viewBox: "0 0 100 100", + width: "15", + height: "15" + } + }, + [ + n("path", { + attrs: { + fill: "currentColor", + d: + "M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z" + } + }), + e._v(" "), + n("polygon", { + attrs: { + fill: "currentColor", + points: + "45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9" + } + }) + ] + ); + }, + [], + !0, + null, + null, + null + )); + he.options.__file = "OutboundLink.vue"; + var de = he.exports; + (r.a.config.productionTip = !1), + r.a.use(Rt), + r.a.use(ce), + r.a.mixin( + (function(t, e) { + !(function(t) { + t.locales && + Object.keys(t.locales).forEach(function(e) { + t.locales[e].path = e; + }), + Object.freeze(t); + })(e), + r.a.$vuepress.$set("siteData", e); + var n = new (t(r.a.$vuepress.$get("siteData")))(), + o = Object.getOwnPropertyDescriptors(Object.getPrototypeOf(n)), + i = {}; + return ( + Object.keys(o).reduce(function(t, e) { + return e.startsWith("$") && (t[e] = o[e].get), t; + }, i), + { computed: i } + ); + })( + t => + class { + setPage(t) { + this.__page = t; + } + get $site() { + return t; + } + get $themeConfig() { + return this.$site.themeConfig; + } + get $frontmatter() { + return this.$page.frontmatter; + } + get $localeConfig() { + const { locales: t = {} } = this.$site; + let e, n; + for (const r in t) + "/" === r + ? (n = t[r]) + : 0 === this.$page.path.indexOf(r) && (e = t[r]); + return e || n || {}; + } + get $siteTitle() { + return this.$localeConfig.title || this.$site.title || ""; + } + get $title() { + const t = this.$page, + { metaTitle: e } = this.$page.frontmatter; + if ("string" == typeof e) return e; + const n = this.$siteTitle, + r = t.frontmatter.home + ? null + : t.frontmatter.title || t.title; + return n ? (r ? r + " | " + n : n) : r || "VuePress"; + } + get $description() { + const t = (function(t) { + if (t) { + const e = t.filter(t => "description" === t.name)[0]; + if (e) return e.content; + } + })(this.$page.frontmatter.meta); + return ( + t || + this.$page.frontmatter.description || + this.$localeConfig.description || + this.$site.description || + "" + ); + } + get $lang() { + return ( + this.$page.frontmatter.lang || + this.$localeConfig.lang || + "en-US" + ); + } + get $localePath() { + return this.$localeConfig.path || "/"; + } + get $themeLocaleConfig() { + return ( + (this.$site.themeConfig.locales || {})[this.$localePath] || {} + ); + } + get $page() { + return this.__page + ? this.__page + : (function(t, e) { + for (let n = 0; n < t.length; n++) { + const r = t[n]; + if (r.path.toLowerCase() === e.toLowerCase()) return r; + } + return { path: "", frontmatter: {} }; + })(this.$site.pages, this.$route.path); + } + }, + te + ) + ), + r.a.component("Content", fe), + r.a.component("ContentSlotsDistributor", pe), + r.a.component("OutboundLink", de), + r.a.component("ClientOnly", { + functional: !0, + render: function(t, e) { + var n = e.parent, + r = e.children; + if (n._isMounted) return r; + n.$once("hook:mounted", function() { + n.$forceUpdate(); + }); + } + }), + (r.a.prototype.$withBase = function(t) { + var e = this.$site.base; + return "/" === t.charAt(0) ? e + t.slice(1) : t; + }); + var ve = (function(t) { + var e = new Rt({ + base: te.base, + mode: "history", + fallback: !1, + routes: Qt, + scrollBehavior: function(t, e, n) { + return ( + n || + (t.hash + ? !r.a.$vuepress.$get("disableScrollBehavior") && { + selector: t.hash + } + : { x: 0, y: 0 }) + ); + } + }); + e.beforeEach(function(t, e, n) { + /(\/|\.html)$/.test(t.path) + ? n() + : n(Object.assign({}, t, { path: t.path + "/" })); + }); + var n = {}; + try { + ee.forEach(function(o) { + "function" == typeof o && + o({ Vue: r.a, options: n, router: e, siteData: te, isServer: t }); + }); + } catch (t) { + console.error(t); + } + return { + app: new r.a( + Object.assign(n, { + router: e, + render: function(t) { + return t("div", { attrs: { id: "app" } }, [ + t("router-view", { ref: "layout" }), + t( + "div", + { class: "global-ui" }, + ne.map(function(e) { + return t(e); + }) + ) + ]); + } + }) + ), + router: e + }; + })(!1), + me = ve.app, + ye = ve.router; + (window.__VUEPRESS_VERSION__ = { + version: "1.0.0-alpha.30", + hash: "bf472aa" + }), + ye.onReady(function() { + me.$mount("#app"); + }); + } +]); diff --git a/docs/assets/js/app.9f1bff30.js b/docs/assets/js/app.9f1bff30.js new file mode 100644 index 00000000..378e87b4 --- /dev/null +++ b/docs/assets/js/app.9f1bff30.js @@ -0,0 +1,9288 @@ +(window.webpackJsonp = window.webpackJsonp || []).push([[0], []]); +!(function(t) { + function e(e) { + for ( + var r, a, s = e[0], u = e[1], l = e[2], f = 0, p = []; + f < s.length; + f++ + ) + (a = s[f]), o[a] && p.push(o[a][0]), (o[a] = 0); + for (r in u) Object.prototype.hasOwnProperty.call(u, r) && (t[r] = u[r]); + for (c && c(e); p.length; ) p.shift()(); + return i.push.apply(i, l || []), n(); + } + function n() { + for (var t, e = 0; e < i.length; e++) { + for (var n = i[e], r = !0, s = 1; s < n.length; s++) { + var u = n[s]; + 0 !== o[u] && (r = !1); + } + r && (i.splice(e--, 1), (t = a((a.s = n[0])))); + } + return t; + } + var r = {}, + o = { 1: 0 }, + i = []; + function a(e) { + if (r[e]) return r[e].exports; + var n = (r[e] = { i: e, l: !1, exports: {} }); + return t[e].call(n.exports, n, n.exports, a), (n.l = !0), n.exports; + } + (a.e = function(t) { + var e = [], + n = o[t]; + if (0 !== n) + if (n) e.push(n[2]); + else { + var r = new Promise(function(e, r) { + n = o[t] = [e, r]; + }); + e.push((n[2] = r)); + var i, + s = document.getElementsByTagName("head")[0], + u = document.createElement("script"); + (u.charset = "utf-8"), + (u.timeout = 120), + a.nc && u.setAttribute("nonce", a.nc), + (u.src = (function(t) { + return ( + a.p + + "assets/js/" + + ({}[t] || t) + + "." + + { + 2: "ae9d6b36", + 3: "e9b16c7e", + 4: "5f83d60c", + 5: "e1a5bde2", + 6: "3f42ee09", + 7: "9aab13ae", + 8: "9bf2fc89", + 9: "7d1a8084", + 10: "544367fa", + 11: "fd6469b3", + 12: "a432d902", + 13: "f06a266a", + 14: "8f1778b4", + 15: "87d6f021", + 16: "a8a8ffba", + 17: "5c0689e2", + 18: "35858227", + 19: "ff4d9bfa", + 20: "db1c492c", + 21: "c1b912ca", + 22: "59e3ecd5", + 23: "1ec2298a", + 24: "357c3965", + 25: "a6a8e3d8", + 26: "a2c25eeb" + }[t] + + ".js" + ); + })(t)), + (i = function(e) { + (u.onerror = u.onload = null), clearTimeout(l); + var n = o[t]; + if (0 !== n) { + if (n) { + var r = e && ("load" === e.type ? "missing" : e.type), + i = e && e.target && e.target.src, + a = new Error( + "Loading chunk " + t + " failed.\n(" + r + ": " + i + ")" + ); + (a.type = r), (a.request = i), n[1](a); + } + o[t] = void 0; + } + }); + var l = setTimeout(function() { + i({ type: "timeout", target: u }); + }, 12e4); + (u.onerror = u.onload = i), s.appendChild(u); + } + return Promise.all(e); + }), + (a.m = t), + (a.c = r), + (a.d = function(t, e, n) { + a.o(t, e) || Object.defineProperty(t, e, { enumerable: !0, get: n }); + }), + (a.r = function(t) { + "undefined" != typeof Symbol && + Symbol.toStringTag && + Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }), + Object.defineProperty(t, "__esModule", { value: !0 }); + }), + (a.t = function(t, e) { + if ((1 & e && (t = a(t)), 8 & e)) return t; + if (4 & e && "object" == typeof t && t && t.__esModule) return t; + var n = Object.create(null); + if ( + (a.r(n), + Object.defineProperty(n, "default", { enumerable: !0, value: t }), + 2 & e && "string" != typeof t) + ) + for (var r in t) + a.d( + n, + r, + function(e) { + return t[e]; + }.bind(null, r) + ); + return n; + }), + (a.n = function(t) { + var e = + t && t.__esModule + ? function() { + return t.default; + } + : function() { + return t; + }; + return a.d(e, "a", e), e; + }), + (a.o = function(t, e) { + return Object.prototype.hasOwnProperty.call(t, e); + }), + (a.p = "/vue-mapbox/"), + (a.oe = function(t) { + throw (console.error(t), t); + }); + var s = (window.webpackJsonp = window.webpackJsonp || []), + u = s.push.bind(s); + (s.push = e), (s = s.slice()); + for (var l = 0; l < s.length; l++) e(s[l]); + var c = u; + i.push([67, 0]), n(); +})([ + function(t, e, n) { + "use strict"; + /*! + * Vue.js v2.5.21 + * (c) 2014-2018 Evan You + * Released under the MIT License. + */ var r = Object.freeze( + {} + ); + function o(t) { + return null == t; + } + function i(t) { + return null != t; + } + function a(t) { + return !0 === t; + } + function s(t) { + return ( + "string" == typeof t || + "number" == typeof t || + "symbol" == typeof t || + "boolean" == typeof t + ); + } + function u(t) { + return null !== t && "object" == typeof t; + } + var l = Object.prototype.toString; + function c(t) { + return "[object Object]" === l.call(t); + } + function f(t) { + return "[object RegExp]" === l.call(t); + } + function p(t) { + var e = parseFloat(String(t)); + return e >= 0 && Math.floor(e) === e && isFinite(t); + } + function h(t) { + return null == t + ? "" + : "object" == typeof t + ? JSON.stringify(t, null, 2) + : String(t); + } + function d(t) { + var e = parseFloat(t); + return isNaN(e) ? t : e; + } + function v(t, e) { + for ( + var n = Object.create(null), r = t.split(","), o = 0; + o < r.length; + o++ + ) + n[r[o]] = !0; + return e + ? function(t) { + return n[t.toLowerCase()]; + } + : function(t) { + return n[t]; + }; + } + v("slot,component", !0); + var m = v("key,ref,slot,slot-scope,is"); + function y(t, e) { + if (t.length) { + var n = t.indexOf(e); + if (n > -1) return t.splice(n, 1); + } + } + var g = Object.prototype.hasOwnProperty; + function b(t, e) { + return g.call(t, e); + } + function _(t) { + var e = Object.create(null); + return function(n) { + return e[n] || (e[n] = t(n)); + }; + } + var w = /-(\w)/g, + x = _(function(t) { + return t.replace(w, function(t, e) { + return e ? e.toUpperCase() : ""; + }); + }), + k = _(function(t) { + return t.charAt(0).toUpperCase() + t.slice(1); + }), + O = /\B([A-Z])/g, + C = _(function(t) { + return t.replace(O, "-$1").toLowerCase(); + }); + var $ = Function.prototype.bind + ? function(t, e) { + return t.bind(e); + } + : function(t, e) { + function n(n) { + var r = arguments.length; + return r + ? r > 1 + ? t.apply(e, arguments) + : t.call(e, n) + : t.call(e); + } + return (n._length = t.length), n; + }; + function S(t, e) { + e = e || 0; + for (var n = t.length - e, r = new Array(n); n--; ) r[n] = t[n + e]; + return r; + } + function E(t, e) { + for (var n in e) t[n] = e[n]; + return t; + } + function A(t) { + for (var e = {}, n = 0; n < t.length; n++) t[n] && E(e, t[n]); + return e; + } + function j(t, e, n) {} + var L = function(t, e, n) { + return !1; + }, + P = function(t) { + return t; + }; + function T(t, e) { + if (t === e) return !0; + var n = u(t), + r = u(e); + if (!n || !r) return !n && !r && String(t) === String(e); + try { + var o = Array.isArray(t), + i = Array.isArray(e); + if (o && i) + return ( + t.length === e.length && + t.every(function(t, n) { + return T(t, e[n]); + }) + ); + if (t instanceof Date && e instanceof Date) + return t.getTime() === e.getTime(); + if (o || i) return !1; + var a = Object.keys(t), + s = Object.keys(e); + return ( + a.length === s.length && + a.every(function(n) { + return T(t[n], e[n]); + }) + ); + } catch (t) { + return !1; + } + } + function M(t, e) { + for (var n = 0; n < t.length; n++) if (T(t[n], e)) return n; + return -1; + } + function I(t) { + var e = !1; + return function() { + e || ((e = !0), t.apply(this, arguments)); + }; + } + var R = "data-server-rendered", + D = ["component", "directive", "filter"], + N = [ + "beforeCreate", + "created", + "beforeMount", + "mounted", + "beforeUpdate", + "updated", + "beforeDestroy", + "destroyed", + "activated", + "deactivated", + "errorCaptured" + ], + F = { + optionMergeStrategies: Object.create(null), + silent: !1, + productionTip: !1, + devtools: !1, + performance: !1, + errorHandler: null, + warnHandler: null, + ignoredElements: [], + keyCodes: Object.create(null), + isReservedTag: L, + isReservedAttr: L, + isUnknownElement: L, + getTagNamespace: j, + parsePlatformTagName: P, + mustUseProp: L, + async: !0, + _lifecycleHooks: N + }; + function U(t, e, n, r) { + Object.defineProperty(t, e, { + value: n, + enumerable: !!r, + writable: !0, + configurable: !0 + }); + } + var V = /[^\w.$]/; + var z, + B = "__proto__" in {}, + q = "undefined" != typeof window, + H = "undefined" != typeof WXEnvironment && !!WXEnvironment.platform, + G = H && WXEnvironment.platform.toLowerCase(), + W = q && window.navigator.userAgent.toLowerCase(), + K = W && /msie|trident/.test(W), + Z = W && W.indexOf("msie 9.0") > 0, + X = W && W.indexOf("edge/") > 0, + Y = (W && W.indexOf("android"), + (W && /iphone|ipad|ipod|ios/.test(W)) || "ios" === G), + J = (W && /chrome\/\d+/.test(W), {}.watch), + Q = !1; + if (q) + try { + var tt = {}; + Object.defineProperty(tt, "passive", { + get: function() { + Q = !0; + } + }), + window.addEventListener("test-passive", null, tt); + } catch (t) {} + var et = function() { + return ( + void 0 === z && + (z = + !q && + !H && + "undefined" != typeof global && + (global.process && "server" === global.process.env.VUE_ENV)), + z + ); + }, + nt = q && window.__VUE_DEVTOOLS_GLOBAL_HOOK__; + function rt(t) { + return "function" == typeof t && /native code/.test(t.toString()); + } + var ot, + it = + "undefined" != typeof Symbol && + rt(Symbol) && + "undefined" != typeof Reflect && + rt(Reflect.ownKeys); + ot = + "undefined" != typeof Set && rt(Set) + ? Set + : (function() { + function t() { + this.set = Object.create(null); + } + return ( + (t.prototype.has = function(t) { + return !0 === this.set[t]; + }), + (t.prototype.add = function(t) { + this.set[t] = !0; + }), + (t.prototype.clear = function() { + this.set = Object.create(null); + }), + t + ); + })(); + var at = j, + st = 0, + ut = function() { + (this.id = st++), (this.subs = []); + }; + (ut.prototype.addSub = function(t) { + this.subs.push(t); + }), + (ut.prototype.removeSub = function(t) { + y(this.subs, t); + }), + (ut.prototype.depend = function() { + ut.target && ut.target.addDep(this); + }), + (ut.prototype.notify = function() { + var t = this.subs.slice(); + for (var e = 0, n = t.length; e < n; e++) t[e].update(); + }), + (ut.target = null); + var lt = []; + function ct(t) { + lt.push(t), (ut.target = t); + } + function ft() { + lt.pop(), (ut.target = lt[lt.length - 1]); + } + var pt = function(t, e, n, r, o, i, a, s) { + (this.tag = t), + (this.data = e), + (this.children = n), + (this.text = r), + (this.elm = o), + (this.ns = void 0), + (this.context = i), + (this.fnContext = void 0), + (this.fnOptions = void 0), + (this.fnScopeId = void 0), + (this.key = e && e.key), + (this.componentOptions = a), + (this.componentInstance = void 0), + (this.parent = void 0), + (this.raw = !1), + (this.isStatic = !1), + (this.isRootInsert = !0), + (this.isComment = !1), + (this.isCloned = !1), + (this.isOnce = !1), + (this.asyncFactory = s), + (this.asyncMeta = void 0), + (this.isAsyncPlaceholder = !1); + }, + ht = { child: { configurable: !0 } }; + (ht.child.get = function() { + return this.componentInstance; + }), + Object.defineProperties(pt.prototype, ht); + var dt = function(t) { + void 0 === t && (t = ""); + var e = new pt(); + return (e.text = t), (e.isComment = !0), e; + }; + function vt(t) { + return new pt(void 0, void 0, void 0, String(t)); + } + function mt(t) { + var e = new pt( + t.tag, + t.data, + t.children && t.children.slice(), + t.text, + t.elm, + t.context, + t.componentOptions, + t.asyncFactory + ); + return ( + (e.ns = t.ns), + (e.isStatic = t.isStatic), + (e.key = t.key), + (e.isComment = t.isComment), + (e.fnContext = t.fnContext), + (e.fnOptions = t.fnOptions), + (e.fnScopeId = t.fnScopeId), + (e.asyncMeta = t.asyncMeta), + (e.isCloned = !0), + e + ); + } + var yt = Array.prototype, + gt = Object.create(yt); + ["push", "pop", "shift", "unshift", "splice", "sort", "reverse"].forEach( + function(t) { + var e = yt[t]; + U(gt, t, function() { + for (var n = [], r = arguments.length; r--; ) n[r] = arguments[r]; + var o, + i = e.apply(this, n), + a = this.__ob__; + switch (t) { + case "push": + case "unshift": + o = n; + break; + case "splice": + o = n.slice(2); + } + return o && a.observeArray(o), a.dep.notify(), i; + }); + } + ); + var bt = Object.getOwnPropertyNames(gt), + _t = !0; + function wt(t) { + _t = t; + } + var xt = function(t) { + var e; + (this.value = t), + (this.dep = new ut()), + (this.vmCount = 0), + U(t, "__ob__", this), + Array.isArray(t) + ? (B + ? ((e = gt), (t.__proto__ = e)) + : (function(t, e, n) { + for (var r = 0, o = n.length; r < o; r++) { + var i = n[r]; + U(t, i, e[i]); + } + })(t, gt, bt), + this.observeArray(t)) + : this.walk(t); + }; + function kt(t, e) { + var n; + if (u(t) && !(t instanceof pt)) + return ( + b(t, "__ob__") && t.__ob__ instanceof xt + ? (n = t.__ob__) + : _t && + !et() && + (Array.isArray(t) || c(t)) && + Object.isExtensible(t) && + !t._isVue && + (n = new xt(t)), + e && n && n.vmCount++, + n + ); + } + function Ot(t, e, n, r, o) { + var i = new ut(), + a = Object.getOwnPropertyDescriptor(t, e); + if (!a || !1 !== a.configurable) { + var s = a && a.get, + u = a && a.set; + (s && !u) || 2 !== arguments.length || (n = t[e]); + var l = !o && kt(n); + Object.defineProperty(t, e, { + enumerable: !0, + configurable: !0, + get: function() { + var e = s ? s.call(t) : n; + return ( + ut.target && + (i.depend(), + l && + (l.dep.depend(), + Array.isArray(e) && + (function t(e) { + for (var n = void 0, r = 0, o = e.length; r < o; r++) + (n = e[r]) && n.__ob__ && n.__ob__.dep.depend(), + Array.isArray(n) && t(n); + })(e))), + e + ); + }, + set: function(e) { + var r = s ? s.call(t) : n; + e === r || + (e != e && r != r) || + (s && !u) || + (u ? u.call(t, e) : (n = e), (l = !o && kt(e)), i.notify()); + } + }); + } + } + function Ct(t, e, n) { + if (Array.isArray(t) && p(e)) + return (t.length = Math.max(t.length, e)), t.splice(e, 1, n), n; + if (e in t && !(e in Object.prototype)) return (t[e] = n), n; + var r = t.__ob__; + return t._isVue || (r && r.vmCount) + ? n + : r + ? (Ot(r.value, e, n), r.dep.notify(), n) + : ((t[e] = n), n); + } + function $t(t, e) { + if (Array.isArray(t) && p(e)) t.splice(e, 1); + else { + var n = t.__ob__; + t._isVue || + (n && n.vmCount) || + (b(t, e) && (delete t[e], n && n.dep.notify())); + } + } + (xt.prototype.walk = function(t) { + for (var e = Object.keys(t), n = 0; n < e.length; n++) Ot(t, e[n]); + }), + (xt.prototype.observeArray = function(t) { + for (var e = 0, n = t.length; e < n; e++) kt(t[e]); + }); + var St = F.optionMergeStrategies; + function Et(t, e) { + if (!e) return t; + for (var n, r, o, i = Object.keys(e), a = 0; a < i.length; a++) + (r = t[(n = i[a])]), + (o = e[n]), + b(t, n) ? r !== o && c(r) && c(o) && Et(r, o) : Ct(t, n, o); + return t; + } + function At(t, e, n) { + return n + ? function() { + var r = "function" == typeof e ? e.call(n, n) : e, + o = "function" == typeof t ? t.call(n, n) : t; + return r ? Et(r, o) : o; + } + : e + ? t + ? function() { + return Et( + "function" == typeof e ? e.call(this, this) : e, + "function" == typeof t ? t.call(this, this) : t + ); + } + : e + : t; + } + function jt(t, e) { + return e ? (t ? t.concat(e) : Array.isArray(e) ? e : [e]) : t; + } + function Lt(t, e, n, r) { + var o = Object.create(t || null); + return e ? E(o, e) : o; + } + (St.data = function(t, e, n) { + return n ? At(t, e, n) : e && "function" != typeof e ? t : At(t, e); + }), + N.forEach(function(t) { + St[t] = jt; + }), + D.forEach(function(t) { + St[t + "s"] = Lt; + }), + (St.watch = function(t, e, n, r) { + if ((t === J && (t = void 0), e === J && (e = void 0), !e)) + return Object.create(t || null); + if (!t) return e; + var o = {}; + for (var i in (E(o, t), e)) { + var a = o[i], + s = e[i]; + a && !Array.isArray(a) && (a = [a]), + (o[i] = a ? a.concat(s) : Array.isArray(s) ? s : [s]); + } + return o; + }), + (St.props = St.methods = St.inject = St.computed = function(t, e, n, r) { + if (!t) return e; + var o = Object.create(null); + return E(o, t), e && E(o, e), o; + }), + (St.provide = At); + var Pt = function(t, e) { + return void 0 === e ? t : e; + }; + function Tt(t, e, n) { + if ( + ("function" == typeof e && (e = e.options), + (function(t, e) { + var n = t.props; + if (n) { + var r, + o, + i = {}; + if (Array.isArray(n)) + for (r = n.length; r--; ) + "string" == typeof (o = n[r]) && (i[x(o)] = { type: null }); + else if (c(n)) + for (var a in n) (o = n[a]), (i[x(a)] = c(o) ? o : { type: o }); + t.props = i; + } + })(e), + (function(t, e) { + var n = t.inject; + if (n) { + var r = (t.inject = {}); + if (Array.isArray(n)) + for (var o = 0; o < n.length; o++) r[n[o]] = { from: n[o] }; + else if (c(n)) + for (var i in n) { + var a = n[i]; + r[i] = c(a) ? E({ from: i }, a) : { from: a }; + } + } + })(e), + (function(t) { + var e = t.directives; + if (e) + for (var n in e) { + var r = e[n]; + "function" == typeof r && (e[n] = { bind: r, update: r }); + } + })(e), + !e._base && (e.extends && (t = Tt(t, e.extends, n)), e.mixins)) + ) + for (var r = 0, o = e.mixins.length; r < o; r++) + t = Tt(t, e.mixins[r], n); + var i, + a = {}; + for (i in t) s(i); + for (i in e) b(t, i) || s(i); + function s(r) { + var o = St[r] || Pt; + a[r] = o(t[r], e[r], n, r); + } + return a; + } + function Mt(t, e, n, r) { + if ("string" == typeof n) { + var o = t[e]; + if (b(o, n)) return o[n]; + var i = x(n); + if (b(o, i)) return o[i]; + var a = k(i); + return b(o, a) ? o[a] : o[n] || o[i] || o[a]; + } + } + function It(t, e, n, r) { + var o = e[t], + i = !b(n, t), + a = n[t], + s = Nt(Boolean, o.type); + if (s > -1) + if (i && !b(o, "default")) a = !1; + else if ("" === a || a === C(t)) { + var u = Nt(String, o.type); + (u < 0 || s < u) && (a = !0); + } + if (void 0 === a) { + a = (function(t, e, n) { + if (!b(e, "default")) return; + var r = e.default; + 0; + if ( + t && + t.$options.propsData && + void 0 === t.$options.propsData[n] && + void 0 !== t._props[n] + ) + return t._props[n]; + return "function" == typeof r && "Function" !== Rt(e.type) + ? r.call(t) + : r; + })(r, o, t); + var l = _t; + wt(!0), kt(a), wt(l); + } + return a; + } + function Rt(t) { + var e = t && t.toString().match(/^\s*function (\w+)/); + return e ? e[1] : ""; + } + function Dt(t, e) { + return Rt(t) === Rt(e); + } + function Nt(t, e) { + if (!Array.isArray(e)) return Dt(e, t) ? 0 : -1; + for (var n = 0, r = e.length; n < r; n++) if (Dt(e[n], t)) return n; + return -1; + } + function Ft(t, e, n) { + if (e) + for (var r = e; (r = r.$parent); ) { + var o = r.$options.errorCaptured; + if (o) + for (var i = 0; i < o.length; i++) + try { + if (!1 === o[i].call(r, t, e, n)) return; + } catch (t) { + Ut(t, r, "errorCaptured hook"); + } + } + Ut(t, e, n); + } + function Ut(t, e, n) { + if (F.errorHandler) + try { + return F.errorHandler.call(null, t, e, n); + } catch (t) { + Vt(t, null, "config.errorHandler"); + } + Vt(t, e, n); + } + function Vt(t, e, n) { + if ((!q && !H) || "undefined" == typeof console) throw t; + console.error(t); + } + var zt, + Bt, + qt = [], + Ht = !1; + function Gt() { + Ht = !1; + var t = qt.slice(0); + qt.length = 0; + for (var e = 0; e < t.length; e++) t[e](); + } + var Wt = !1; + if ("undefined" != typeof setImmediate && rt(setImmediate)) + Bt = function() { + setImmediate(Gt); + }; + else if ( + "undefined" == typeof MessageChannel || + (!rt(MessageChannel) && + "[object MessageChannelConstructor]" !== MessageChannel.toString()) + ) + Bt = function() { + setTimeout(Gt, 0); + }; + else { + var Kt = new MessageChannel(), + Zt = Kt.port2; + (Kt.port1.onmessage = Gt), + (Bt = function() { + Zt.postMessage(1); + }); + } + if ("undefined" != typeof Promise && rt(Promise)) { + var Xt = Promise.resolve(); + zt = function() { + Xt.then(Gt), Y && setTimeout(j); + }; + } else zt = Bt; + function Yt(t, e) { + var n; + if ( + (qt.push(function() { + if (t) + try { + t.call(e); + } catch (t) { + Ft(t, e, "nextTick"); + } + else n && n(e); + }), + Ht || ((Ht = !0), Wt ? Bt() : zt()), + !t && "undefined" != typeof Promise) + ) + return new Promise(function(t) { + n = t; + }); + } + var Jt = new ot(); + function Qt(t) { + !(function t(e, n) { + var r, o; + var i = Array.isArray(e); + if ((!i && !u(e)) || Object.isFrozen(e) || e instanceof pt) return; + if (e.__ob__) { + var a = e.__ob__.dep.id; + if (n.has(a)) return; + n.add(a); + } + if (i) for (r = e.length; r--; ) t(e[r], n); + else for (o = Object.keys(e), r = o.length; r--; ) t(e[o[r]], n); + })(t, Jt), + Jt.clear(); + } + var te, + ee = _(function(t) { + var e = "&" === t.charAt(0), + n = "~" === (t = e ? t.slice(1) : t).charAt(0), + r = "!" === (t = n ? t.slice(1) : t).charAt(0); + return { + name: (t = r ? t.slice(1) : t), + once: n, + capture: r, + passive: e + }; + }); + function ne(t) { + function e() { + var t = arguments, + n = e.fns; + if (!Array.isArray(n)) return n.apply(null, arguments); + for (var r = n.slice(), o = 0; o < r.length; o++) r[o].apply(null, t); + } + return (e.fns = t), e; + } + function re(t, e, n, r, i, s) { + var u, l, c, f; + for (u in t) + (l = t[u]), + (c = e[u]), + (f = ee(u)), + o(l) || + (o(c) + ? (o(l.fns) && (l = t[u] = ne(l)), + a(f.once) && (l = t[u] = i(f.name, l, f.capture)), + n(f.name, l, f.capture, f.passive, f.params)) + : l !== c && ((c.fns = l), (t[u] = c))); + for (u in e) o(t[u]) && r((f = ee(u)).name, e[u], f.capture); + } + function oe(t, e, n) { + var r; + t instanceof pt && (t = t.data.hook || (t.data.hook = {})); + var s = t[e]; + function u() { + n.apply(this, arguments), y(r.fns, u); + } + o(s) + ? (r = ne([u])) + : i(s.fns) && a(s.merged) + ? (r = s).fns.push(u) + : (r = ne([s, u])), + (r.merged = !0), + (t[e] = r); + } + function ie(t, e, n, r, o) { + if (i(e)) { + if (b(e, n)) return (t[n] = e[n]), o || delete e[n], !0; + if (b(e, r)) return (t[n] = e[r]), o || delete e[r], !0; + } + return !1; + } + function ae(t) { + return s(t) + ? [vt(t)] + : Array.isArray(t) + ? (function t(e, n) { + var r = []; + var u, l, c, f; + for (u = 0; u < e.length; u++) + o((l = e[u])) || + "boolean" == typeof l || + ((c = r.length - 1), + (f = r[c]), + Array.isArray(l) + ? l.length > 0 && + (se((l = t(l, (n || "") + "_" + u))[0]) && + se(f) && + ((r[c] = vt(f.text + l[0].text)), l.shift()), + r.push.apply(r, l)) + : s(l) + ? se(f) + ? (r[c] = vt(f.text + l)) + : "" !== l && r.push(vt(l)) + : se(l) && se(f) + ? (r[c] = vt(f.text + l.text)) + : (a(e._isVList) && + i(l.tag) && + o(l.key) && + i(n) && + (l.key = "__vlist" + n + "_" + u + "__"), + r.push(l))); + return r; + })(t) + : void 0; + } + function se(t) { + return i(t) && i(t.text) && !1 === t.isComment; + } + function ue(t, e) { + return ( + (t.__esModule || (it && "Module" === t[Symbol.toStringTag])) && + (t = t.default), + u(t) ? e.extend(t) : t + ); + } + function le(t) { + return t.isComment && t.asyncFactory; + } + function ce(t) { + if (Array.isArray(t)) + for (var e = 0; e < t.length; e++) { + var n = t[e]; + if (i(n) && (i(n.componentOptions) || le(n))) return n; + } + } + function fe(t, e) { + te.$on(t, e); + } + function pe(t, e) { + te.$off(t, e); + } + function he(t, e) { + var n = te; + return function r() { + null !== e.apply(null, arguments) && n.$off(t, r); + }; + } + function de(t, e, n) { + (te = t), re(e, n || {}, fe, pe, he), (te = void 0); + } + function ve(t, e) { + var n = {}; + if (!t) return n; + for (var r = 0, o = t.length; r < o; r++) { + var i = t[r], + a = i.data; + if ( + (a && a.attrs && a.attrs.slot && delete a.attrs.slot, + (i.context !== e && i.fnContext !== e) || !a || null == a.slot) + ) + (n.default || (n.default = [])).push(i); + else { + var s = a.slot, + u = n[s] || (n[s] = []); + "template" === i.tag ? u.push.apply(u, i.children || []) : u.push(i); + } + } + for (var l in n) n[l].every(me) && delete n[l]; + return n; + } + function me(t) { + return (t.isComment && !t.asyncFactory) || " " === t.text; + } + function ye(t, e) { + e = e || {}; + for (var n = 0; n < t.length; n++) + Array.isArray(t[n]) ? ye(t[n], e) : (e[t[n].key] = t[n].fn); + return e; + } + var ge = null; + function be(t) { + var e = ge; + return ( + (ge = t), + function() { + ge = e; + } + ); + } + function _e(t) { + for (; t && (t = t.$parent); ) if (t._inactive) return !0; + return !1; + } + function we(t, e) { + if (e) { + if (((t._directInactive = !1), _e(t))) return; + } else if (t._directInactive) return; + if (t._inactive || null === t._inactive) { + t._inactive = !1; + for (var n = 0; n < t.$children.length; n++) we(t.$children[n]); + xe(t, "activated"); + } + } + function xe(t, e) { + ct(); + var n = t.$options[e]; + if (n) + for (var r = 0, o = n.length; r < o; r++) + try { + n[r].call(t); + } catch (n) { + Ft(n, t, e + " hook"); + } + t._hasHookEvent && t.$emit("hook:" + e), ft(); + } + var ke = [], + Oe = [], + Ce = {}, + $e = !1, + Se = !1, + Ee = 0; + function Ae() { + var t, e; + for ( + Se = !0, + ke.sort(function(t, e) { + return t.id - e.id; + }), + Ee = 0; + Ee < ke.length; + Ee++ + ) + (t = ke[Ee]).before && t.before(), (e = t.id), (Ce[e] = null), t.run(); + var n = Oe.slice(), + r = ke.slice(); + (Ee = ke.length = Oe.length = 0), + (Ce = {}), + ($e = Se = !1), + (function(t) { + for (var e = 0; e < t.length; e++) + (t[e]._inactive = !0), we(t[e], !0); + })(n), + (function(t) { + var e = t.length; + for (; e--; ) { + var n = t[e], + r = n.vm; + r._watcher === n && + r._isMounted && + !r._isDestroyed && + xe(r, "updated"); + } + })(r), + nt && F.devtools && nt.emit("flush"); + } + var je = 0, + Le = function(t, e, n, r, o) { + (this.vm = t), + o && (t._watcher = this), + t._watchers.push(this), + r + ? ((this.deep = !!r.deep), + (this.user = !!r.user), + (this.lazy = !!r.lazy), + (this.sync = !!r.sync), + (this.before = r.before)) + : (this.deep = this.user = this.lazy = this.sync = !1), + (this.cb = n), + (this.id = ++je), + (this.active = !0), + (this.dirty = this.lazy), + (this.deps = []), + (this.newDeps = []), + (this.depIds = new ot()), + (this.newDepIds = new ot()), + (this.expression = ""), + "function" == typeof e + ? (this.getter = e) + : ((this.getter = (function(t) { + if (!V.test(t)) { + var e = t.split("."); + return function(t) { + for (var n = 0; n < e.length; n++) { + if (!t) return; + t = t[e[n]]; + } + return t; + }; + } + })(e)), + this.getter || (this.getter = j)), + (this.value = this.lazy ? void 0 : this.get()); + }; + (Le.prototype.get = function() { + var t; + ct(this); + var e = this.vm; + try { + t = this.getter.call(e, e); + } catch (t) { + if (!this.user) throw t; + Ft(t, e, 'getter for watcher "' + this.expression + '"'); + } finally { + this.deep && Qt(t), ft(), this.cleanupDeps(); + } + return t; + }), + (Le.prototype.addDep = function(t) { + var e = t.id; + this.newDepIds.has(e) || + (this.newDepIds.add(e), + this.newDeps.push(t), + this.depIds.has(e) || t.addSub(this)); + }), + (Le.prototype.cleanupDeps = function() { + for (var t = this.deps.length; t--; ) { + var e = this.deps[t]; + this.newDepIds.has(e.id) || e.removeSub(this); + } + var n = this.depIds; + (this.depIds = this.newDepIds), + (this.newDepIds = n), + this.newDepIds.clear(), + (n = this.deps), + (this.deps = this.newDeps), + (this.newDeps = n), + (this.newDeps.length = 0); + }), + (Le.prototype.update = function() { + this.lazy + ? (this.dirty = !0) + : this.sync + ? this.run() + : (function(t) { + var e = t.id; + if (null == Ce[e]) { + if (((Ce[e] = !0), Se)) { + for (var n = ke.length - 1; n > Ee && ke[n].id > t.id; ) + n--; + ke.splice(n + 1, 0, t); + } else ke.push(t); + $e || (($e = !0), Yt(Ae)); + } + })(this); + }), + (Le.prototype.run = function() { + if (this.active) { + var t = this.get(); + if (t !== this.value || u(t) || this.deep) { + var e = this.value; + if (((this.value = t), this.user)) + try { + this.cb.call(this.vm, t, e); + } catch (t) { + Ft( + t, + this.vm, + 'callback for watcher "' + this.expression + '"' + ); + } + else this.cb.call(this.vm, t, e); + } + } + }), + (Le.prototype.evaluate = function() { + (this.value = this.get()), (this.dirty = !1); + }), + (Le.prototype.depend = function() { + for (var t = this.deps.length; t--; ) this.deps[t].depend(); + }), + (Le.prototype.teardown = function() { + if (this.active) { + this.vm._isBeingDestroyed || y(this.vm._watchers, this); + for (var t = this.deps.length; t--; ) this.deps[t].removeSub(this); + this.active = !1; + } + }); + var Pe = { enumerable: !0, configurable: !0, get: j, set: j }; + function Te(t, e, n) { + (Pe.get = function() { + return this[e][n]; + }), + (Pe.set = function(t) { + this[e][n] = t; + }), + Object.defineProperty(t, n, Pe); + } + function Me(t) { + t._watchers = []; + var e = t.$options; + e.props && + (function(t, e) { + var n = t.$options.propsData || {}, + r = (t._props = {}), + o = (t.$options._propKeys = []); + t.$parent && wt(!1); + var i = function(i) { + o.push(i); + var a = It(i, e, n, t); + Ot(r, i, a), i in t || Te(t, "_props", i); + }; + for (var a in e) i(a); + wt(!0); + })(t, e.props), + e.methods && + (function(t, e) { + t.$options.props; + for (var n in e) t[n] = "function" != typeof e[n] ? j : $(e[n], t); + })(t, e.methods), + e.data + ? (function(t) { + var e = t.$options.data; + c( + (e = t._data = + "function" == typeof e + ? (function(t, e) { + ct(); + try { + return t.call(e, e); + } catch (t) { + return Ft(t, e, "data()"), {}; + } finally { + ft(); + } + })(e, t) + : e || {}) + ) || (e = {}); + var n = Object.keys(e), + r = t.$options.props, + o = (t.$options.methods, n.length); + for (; o--; ) { + var i = n[o]; + 0, + (r && b(r, i)) || + ((a = void 0), + 36 !== (a = (i + "").charCodeAt(0)) && + 95 !== a && + Te(t, "_data", i)); + } + var a; + kt(e, !0); + })(t) + : kt((t._data = {}), !0), + e.computed && + (function(t, e) { + var n = (t._computedWatchers = Object.create(null)), + r = et(); + for (var o in e) { + var i = e[o], + a = "function" == typeof i ? i : i.get; + 0, r || (n[o] = new Le(t, a || j, j, Ie)), o in t || Re(t, o, i); + } + })(t, e.computed), + e.watch && + e.watch !== J && + (function(t, e) { + for (var n in e) { + var r = e[n]; + if (Array.isArray(r)) + for (var o = 0; o < r.length; o++) Fe(t, n, r[o]); + else Fe(t, n, r); + } + })(t, e.watch); + } + var Ie = { lazy: !0 }; + function Re(t, e, n) { + var r = !et(); + "function" == typeof n + ? ((Pe.get = r ? De(e) : Ne(n)), (Pe.set = j)) + : ((Pe.get = n.get ? (r && !1 !== n.cache ? De(e) : Ne(n.get)) : j), + (Pe.set = n.set || j)), + Object.defineProperty(t, e, Pe); + } + function De(t) { + return function() { + var e = this._computedWatchers && this._computedWatchers[t]; + if (e) return e.dirty && e.evaluate(), ut.target && e.depend(), e.value; + }; + } + function Ne(t) { + return function() { + return t.call(this, this); + }; + } + function Fe(t, e, n, r) { + return ( + c(n) && ((r = n), (n = n.handler)), + "string" == typeof n && (n = t[n]), + t.$watch(e, n, r) + ); + } + function Ue(t, e) { + if (t) { + for ( + var n = Object.create(null), + r = it + ? Reflect.ownKeys(t).filter(function(e) { + return Object.getOwnPropertyDescriptor(t, e).enumerable; + }) + : Object.keys(t), + o = 0; + o < r.length; + o++ + ) { + for (var i = r[o], a = t[i].from, s = e; s; ) { + if (s._provided && b(s._provided, a)) { + n[i] = s._provided[a]; + break; + } + s = s.$parent; + } + if (!s) + if ("default" in t[i]) { + var u = t[i].default; + n[i] = "function" == typeof u ? u.call(e) : u; + } else 0; + } + return n; + } + } + function Ve(t, e) { + var n, r, o, a, s; + if (Array.isArray(t) || "string" == typeof t) + for (n = new Array(t.length), r = 0, o = t.length; r < o; r++) + n[r] = e(t[r], r); + else if ("number" == typeof t) + for (n = new Array(t), r = 0; r < t; r++) n[r] = e(r + 1, r); + else if (u(t)) + for ( + a = Object.keys(t), n = new Array(a.length), r = 0, o = a.length; + r < o; + r++ + ) + (s = a[r]), (n[r] = e(t[s], s, r)); + return i(n) || (n = []), (n._isVList = !0), n; + } + function ze(t, e, n, r) { + var o, + i = this.$scopedSlots[t]; + i + ? ((n = n || {}), r && (n = E(E({}, r), n)), (o = i(n) || e)) + : (o = this.$slots[t] || e); + var a = n && n.slot; + return a ? this.$createElement("template", { slot: a }, o) : o; + } + function Be(t) { + return Mt(this.$options, "filters", t) || P; + } + function qe(t, e) { + return Array.isArray(t) ? -1 === t.indexOf(e) : t !== e; + } + function He(t, e, n, r, o) { + var i = F.keyCodes[e] || n; + return o && r && !F.keyCodes[e] + ? qe(o, r) + : i + ? qe(i, t) + : r + ? C(r) !== e + : void 0; + } + function Ge(t, e, n, r, o) { + if (n) + if (u(n)) { + var i; + Array.isArray(n) && (n = A(n)); + var a = function(a) { + if ("class" === a || "style" === a || m(a)) i = t; + else { + var s = t.attrs && t.attrs.type; + i = + r || F.mustUseProp(e, s, a) + ? t.domProps || (t.domProps = {}) + : t.attrs || (t.attrs = {}); + } + var u = x(a); + a in i || + u in i || + ((i[a] = n[a]), + o && + ((t.on || (t.on = {}))["update:" + u] = function(t) { + n[a] = t; + })); + }; + for (var s in n) a(s); + } else; + return t; + } + function We(t, e) { + var n = this._staticTrees || (this._staticTrees = []), + r = n[t]; + return r && !e + ? r + : (Ze( + (r = n[t] = this.$options.staticRenderFns[t].call( + this._renderProxy, + null, + this + )), + "__static__" + t, + !1 + ), + r); + } + function Ke(t, e, n) { + return Ze(t, "__once__" + e + (n ? "_" + n : ""), !0), t; + } + function Ze(t, e, n) { + if (Array.isArray(t)) + for (var r = 0; r < t.length; r++) + t[r] && "string" != typeof t[r] && Xe(t[r], e + "_" + r, n); + else Xe(t, e, n); + } + function Xe(t, e, n) { + (t.isStatic = !0), (t.key = e), (t.isOnce = n); + } + function Ye(t, e) { + if (e) + if (c(e)) { + var n = (t.on = t.on ? E({}, t.on) : {}); + for (var r in e) { + var o = n[r], + i = e[r]; + n[r] = o ? [].concat(o, i) : i; + } + } else; + return t; + } + function Je(t) { + (t._o = Ke), + (t._n = d), + (t._s = h), + (t._l = Ve), + (t._t = ze), + (t._q = T), + (t._i = M), + (t._m = We), + (t._f = Be), + (t._k = He), + (t._b = Ge), + (t._v = vt), + (t._e = dt), + (t._u = ye), + (t._g = Ye); + } + function Qe(t, e, n, o, i) { + var s, + u = i.options; + b(o, "_uid") + ? ((s = Object.create(o))._original = o) + : ((s = o), (o = o._original)); + var l = a(u._compiled), + c = !l; + (this.data = t), + (this.props = e), + (this.children = n), + (this.parent = o), + (this.listeners = t.on || r), + (this.injections = Ue(u.inject, o)), + (this.slots = function() { + return ve(n, o); + }), + l && + ((this.$options = u), + (this.$slots = this.slots()), + (this.$scopedSlots = t.scopedSlots || r)), + u._scopeId + ? (this._c = function(t, e, n, r) { + var i = ln(s, t, e, n, r, c); + return ( + i && + !Array.isArray(i) && + ((i.fnScopeId = u._scopeId), (i.fnContext = o)), + i + ); + }) + : (this._c = function(t, e, n, r) { + return ln(s, t, e, n, r, c); + }); + } + function tn(t, e, n, r, o) { + var i = mt(t); + return ( + (i.fnContext = n), + (i.fnOptions = r), + e.slot && ((i.data || (i.data = {})).slot = e.slot), + i + ); + } + function en(t, e) { + for (var n in e) t[x(n)] = e[n]; + } + Je(Qe.prototype); + var nn = { + init: function(t, e) { + if ( + t.componentInstance && + !t.componentInstance._isDestroyed && + t.data.keepAlive + ) { + var n = t; + nn.prepatch(n, n); + } else { + (t.componentInstance = (function(t, e) { + var n = { _isComponent: !0, _parentVnode: t, parent: e }, + r = t.data.inlineTemplate; + i(r) && + ((n.render = r.render), + (n.staticRenderFns = r.staticRenderFns)); + return new t.componentOptions.Ctor(n); + })(t, ge)).$mount(e ? t.elm : void 0, e); + } + }, + prepatch: function(t, e) { + var n = e.componentOptions; + !(function(t, e, n, o, i) { + var a = !!( + i || + t.$options._renderChildren || + o.data.scopedSlots || + t.$scopedSlots !== r + ); + if ( + ((t.$options._parentVnode = o), + (t.$vnode = o), + t._vnode && (t._vnode.parent = o), + (t.$options._renderChildren = i), + (t.$attrs = o.data.attrs || r), + (t.$listeners = n || r), + e && t.$options.props) + ) { + wt(!1); + for ( + var s = t._props, u = t.$options._propKeys || [], l = 0; + l < u.length; + l++ + ) { + var c = u[l], + f = t.$options.props; + s[c] = It(c, f, e, t); + } + wt(!0), (t.$options.propsData = e); + } + n = n || r; + var p = t.$options._parentListeners; + (t.$options._parentListeners = n), + de(t, n, p), + a && ((t.$slots = ve(i, o.context)), t.$forceUpdate()); + })( + (e.componentInstance = t.componentInstance), + n.propsData, + n.listeners, + e, + n.children + ); + }, + insert: function(t) { + var e, + n = t.context, + r = t.componentInstance; + r._isMounted || ((r._isMounted = !0), xe(r, "mounted")), + t.data.keepAlive && + (n._isMounted + ? (((e = r)._inactive = !1), Oe.push(e)) + : we(r, !0)); + }, + destroy: function(t) { + var e = t.componentInstance; + e._isDestroyed || + (t.data.keepAlive + ? (function t(e, n) { + if ( + !((n && ((e._directInactive = !0), _e(e))) || e._inactive) + ) { + e._inactive = !0; + for (var r = 0; r < e.$children.length; r++) + t(e.$children[r]); + xe(e, "deactivated"); + } + })(e, !0) + : e.$destroy()); + } + }, + rn = Object.keys(nn); + function on(t, e, n, s, l) { + if (!o(t)) { + var c = n.$options._base; + if ((u(t) && (t = c.extend(t)), "function" == typeof t)) { + var f; + if ( + o(t.cid) && + void 0 === + (t = (function(t, e, n) { + if (a(t.error) && i(t.errorComp)) return t.errorComp; + if (i(t.resolved)) return t.resolved; + if (a(t.loading) && i(t.loadingComp)) return t.loadingComp; + if (!i(t.contexts)) { + var r = (t.contexts = [n]), + s = !0, + l = function(t) { + for (var e = 0, n = r.length; e < n; e++) + r[e].$forceUpdate(); + t && (r.length = 0); + }, + c = I(function(n) { + (t.resolved = ue(n, e)), s || l(!0); + }), + f = I(function(e) { + i(t.errorComp) && ((t.error = !0), l(!0)); + }), + p = t(c, f); + return ( + u(p) && + ("function" == typeof p.then + ? o(t.resolved) && p.then(c, f) + : i(p.component) && + "function" == typeof p.component.then && + (p.component.then(c, f), + i(p.error) && (t.errorComp = ue(p.error, e)), + i(p.loading) && + ((t.loadingComp = ue(p.loading, e)), + 0 === p.delay + ? (t.loading = !0) + : setTimeout(function() { + o(t.resolved) && + o(t.error) && + ((t.loading = !0), l(!1)); + }, p.delay || 200)), + i(p.timeout) && + setTimeout(function() { + o(t.resolved) && f(null); + }, p.timeout))), + (s = !1), + t.loading ? t.loadingComp : t.resolved + ); + } + t.contexts.push(n); + })((f = t), c, n)) + ) + return (function(t, e, n, r, o) { + var i = dt(); + return ( + (i.asyncFactory = t), + (i.asyncMeta = { data: e, context: n, children: r, tag: o }), + i + ); + })(f, e, n, s, l); + (e = e || {}), + fn(t), + i(e.model) && + (function(t, e) { + var n = (t.model && t.model.prop) || "value", + r = (t.model && t.model.event) || "input"; + (e.props || (e.props = {}))[n] = e.model.value; + var o = e.on || (e.on = {}), + a = o[r], + s = e.model.callback; + i(a) + ? (Array.isArray(a) ? -1 === a.indexOf(s) : a !== s) && + (o[r] = [s].concat(a)) + : (o[r] = s); + })(t.options, e); + var p = (function(t, e, n) { + var r = e.options.props; + if (!o(r)) { + var a = {}, + s = t.attrs, + u = t.props; + if (i(s) || i(u)) + for (var l in r) { + var c = C(l); + ie(a, u, l, c, !0) || ie(a, s, l, c, !1); + } + return a; + } + })(e, t); + if (a(t.options.functional)) + return (function(t, e, n, o, a) { + var s = t.options, + u = {}, + l = s.props; + if (i(l)) for (var c in l) u[c] = It(c, l, e || r); + else i(n.attrs) && en(u, n.attrs), i(n.props) && en(u, n.props); + var f = new Qe(n, u, a, o, t), + p = s.render.call(null, f._c, f); + if (p instanceof pt) return tn(p, n, f.parent, s); + if (Array.isArray(p)) { + for ( + var h = ae(p) || [], d = new Array(h.length), v = 0; + v < h.length; + v++ + ) + d[v] = tn(h[v], n, f.parent, s); + return d; + } + })(t, p, e, n, s); + var h = e.on; + if (((e.on = e.nativeOn), a(t.options.abstract))) { + var d = e.slot; + (e = {}), d && (e.slot = d); + } + !(function(t) { + for (var e = t.hook || (t.hook = {}), n = 0; n < rn.length; n++) { + var r = rn[n], + o = e[r], + i = nn[r]; + o === i || (o && o._merged) || (e[r] = o ? an(i, o) : i); + } + })(e); + var v = t.options.name || l; + return new pt( + "vue-component-" + t.cid + (v ? "-" + v : ""), + e, + void 0, + void 0, + void 0, + n, + { Ctor: t, propsData: p, listeners: h, tag: l, children: s }, + f + ); + } + } + } + function an(t, e) { + var n = function(n, r) { + t(n, r), e(n, r); + }; + return (n._merged = !0), n; + } + var sn = 1, + un = 2; + function ln(t, e, n, r, l, c) { + return ( + (Array.isArray(n) || s(n)) && ((l = r), (r = n), (n = void 0)), + a(c) && (l = un), + (function(t, e, n, r, s) { + if (i(n) && i(n.__ob__)) return dt(); + i(n) && i(n.is) && (e = n.is); + if (!e) return dt(); + 0; + Array.isArray(r) && + "function" == typeof r[0] && + (((n = n || {}).scopedSlots = { default: r[0] }), (r.length = 0)); + s === un + ? (r = ae(r)) + : s === sn && + (r = (function(t) { + for (var e = 0; e < t.length; e++) + if (Array.isArray(t[e])) + return Array.prototype.concat.apply([], t); + return t; + })(r)); + var l, c; + if ("string" == typeof e) { + var f; + (c = (t.$vnode && t.$vnode.ns) || F.getTagNamespace(e)), + (l = F.isReservedTag(e) + ? new pt(F.parsePlatformTagName(e), n, r, void 0, void 0, t) + : (n && n.pre) || !i((f = Mt(t.$options, "components", e))) + ? new pt(e, n, r, void 0, void 0, t) + : on(f, n, t, r, e)); + } else l = on(e, n, t, r); + return Array.isArray(l) + ? l + : i(l) + ? (i(c) && + (function t(e, n, r) { + e.ns = n; + "foreignObject" === e.tag && ((n = void 0), (r = !0)); + if (i(e.children)) + for (var s = 0, u = e.children.length; s < u; s++) { + var l = e.children[s]; + i(l.tag) && + (o(l.ns) || (a(r) && "svg" !== l.tag)) && + t(l, n, r); + } + })(l, c), + i(n) && + (function(t) { + u(t.style) && Qt(t.style); + u(t.class) && Qt(t.class); + })(n), + l) + : dt(); + })(t, e, n, r, l) + ); + } + var cn = 0; + function fn(t) { + var e = t.options; + if (t.super) { + var n = fn(t.super); + if (n !== t.superOptions) { + t.superOptions = n; + var r = (function(t) { + var e, + n = t.options, + r = t.extendOptions, + o = t.sealedOptions; + for (var i in n) + n[i] !== o[i] && (e || (e = {}), (e[i] = pn(n[i], r[i], o[i]))); + return e; + })(t); + r && E(t.extendOptions, r), + (e = t.options = Tt(n, t.extendOptions)).name && + (e.components[e.name] = t); + } + } + return e; + } + function pn(t, e, n) { + if (Array.isArray(t)) { + var r = []; + (n = Array.isArray(n) ? n : [n]), (e = Array.isArray(e) ? e : [e]); + for (var o = 0; o < t.length; o++) + (e.indexOf(t[o]) >= 0 || n.indexOf(t[o]) < 0) && r.push(t[o]); + return r; + } + return t; + } + function hn(t) { + this._init(t); + } + function dn(t) { + t.cid = 0; + var e = 1; + t.extend = function(t) { + t = t || {}; + var n = this, + r = n.cid, + o = t._Ctor || (t._Ctor = {}); + if (o[r]) return o[r]; + var i = t.name || n.options.name; + var a = function(t) { + this._init(t); + }; + return ( + ((a.prototype = Object.create(n.prototype)).constructor = a), + (a.cid = e++), + (a.options = Tt(n.options, t)), + (a.super = n), + a.options.props && + (function(t) { + var e = t.options.props; + for (var n in e) Te(t.prototype, "_props", n); + })(a), + a.options.computed && + (function(t) { + var e = t.options.computed; + for (var n in e) Re(t.prototype, n, e[n]); + })(a), + (a.extend = n.extend), + (a.mixin = n.mixin), + (a.use = n.use), + D.forEach(function(t) { + a[t] = n[t]; + }), + i && (a.options.components[i] = a), + (a.superOptions = n.options), + (a.extendOptions = t), + (a.sealedOptions = E({}, a.options)), + (o[r] = a), + a + ); + }; + } + function vn(t) { + return t && (t.Ctor.options.name || t.tag); + } + function mn(t, e) { + return Array.isArray(t) + ? t.indexOf(e) > -1 + : "string" == typeof t + ? t.split(",").indexOf(e) > -1 + : !!f(t) && t.test(e); + } + function yn(t, e) { + var n = t.cache, + r = t.keys, + o = t._vnode; + for (var i in n) { + var a = n[i]; + if (a) { + var s = vn(a.componentOptions); + s && !e(s) && gn(n, i, r, o); + } + } + } + function gn(t, e, n, r) { + var o = t[e]; + !o || (r && o.tag === r.tag) || o.componentInstance.$destroy(), + (t[e] = null), + y(n, e); + } + !(function(t) { + t.prototype._init = function(t) { + var e = this; + (e._uid = cn++), + (e._isVue = !0), + t && t._isComponent + ? (function(t, e) { + var n = (t.$options = Object.create(t.constructor.options)), + r = e._parentVnode; + (n.parent = e.parent), (n._parentVnode = r); + var o = r.componentOptions; + (n.propsData = o.propsData), + (n._parentListeners = o.listeners), + (n._renderChildren = o.children), + (n._componentTag = o.tag), + e.render && + ((n.render = e.render), + (n.staticRenderFns = e.staticRenderFns)); + })(e, t) + : (e.$options = Tt(fn(e.constructor), t || {}, e)), + (e._renderProxy = e), + (e._self = e), + (function(t) { + var e = t.$options, + n = e.parent; + if (n && !e.abstract) { + for (; n.$options.abstract && n.$parent; ) n = n.$parent; + n.$children.push(t); + } + (t.$parent = n), + (t.$root = n ? n.$root : t), + (t.$children = []), + (t.$refs = {}), + (t._watcher = null), + (t._inactive = null), + (t._directInactive = !1), + (t._isMounted = !1), + (t._isDestroyed = !1), + (t._isBeingDestroyed = !1); + })(e), + (function(t) { + (t._events = Object.create(null)), (t._hasHookEvent = !1); + var e = t.$options._parentListeners; + e && de(t, e); + })(e), + (function(t) { + (t._vnode = null), (t._staticTrees = null); + var e = t.$options, + n = (t.$vnode = e._parentVnode), + o = n && n.context; + (t.$slots = ve(e._renderChildren, o)), + (t.$scopedSlots = r), + (t._c = function(e, n, r, o) { + return ln(t, e, n, r, o, !1); + }), + (t.$createElement = function(e, n, r, o) { + return ln(t, e, n, r, o, !0); + }); + var i = n && n.data; + Ot(t, "$attrs", (i && i.attrs) || r, null, !0), + Ot(t, "$listeners", e._parentListeners || r, null, !0); + })(e), + xe(e, "beforeCreate"), + (function(t) { + var e = Ue(t.$options.inject, t); + e && + (wt(!1), + Object.keys(e).forEach(function(n) { + Ot(t, n, e[n]); + }), + wt(!0)); + })(e), + Me(e), + (function(t) { + var e = t.$options.provide; + e && (t._provided = "function" == typeof e ? e.call(t) : e); + })(e), + xe(e, "created"), + e.$options.el && e.$mount(e.$options.el); + }; + })(hn), + (function(t) { + var e = { + get: function() { + return this._data; + } + }, + n = { + get: function() { + return this._props; + } + }; + Object.defineProperty(t.prototype, "$data", e), + Object.defineProperty(t.prototype, "$props", n), + (t.prototype.$set = Ct), + (t.prototype.$delete = $t), + (t.prototype.$watch = function(t, e, n) { + if (c(e)) return Fe(this, t, e, n); + (n = n || {}).user = !0; + var r = new Le(this, t, e, n); + if (n.immediate) + try { + e.call(this, r.value); + } catch (t) { + Ft( + t, + this, + 'callback for immediate watcher "' + r.expression + '"' + ); + } + return function() { + r.teardown(); + }; + }); + })(hn), + (function(t) { + var e = /^hook:/; + (t.prototype.$on = function(t, n) { + var r = this; + if (Array.isArray(t)) + for (var o = 0, i = t.length; o < i; o++) r.$on(t[o], n); + else + (r._events[t] || (r._events[t] = [])).push(n), + e.test(t) && (r._hasHookEvent = !0); + return r; + }), + (t.prototype.$once = function(t, e) { + var n = this; + function r() { + n.$off(t, r), e.apply(n, arguments); + } + return (r.fn = e), n.$on(t, r), n; + }), + (t.prototype.$off = function(t, e) { + var n = this; + if (!arguments.length) return (n._events = Object.create(null)), n; + if (Array.isArray(t)) { + for (var r = 0, o = t.length; r < o; r++) n.$off(t[r], e); + return n; + } + var i = n._events[t]; + if (!i) return n; + if (!e) return (n._events[t] = null), n; + if (e) + for (var a, s = i.length; s--; ) + if ((a = i[s]) === e || a.fn === e) { + i.splice(s, 1); + break; + } + return n; + }), + (t.prototype.$emit = function(t) { + var e = this._events[t]; + if (e) { + e = e.length > 1 ? S(e) : e; + for (var n = S(arguments, 1), r = 0, o = e.length; r < o; r++) + try { + e[r].apply(this, n); + } catch (e) { + Ft(e, this, 'event handler for "' + t + '"'); + } + } + return this; + }); + })(hn), + (function(t) { + (t.prototype._update = function(t, e) { + var n = this, + r = n.$el, + o = n._vnode, + i = be(n); + (n._vnode = t), + (n.$el = o ? n.__patch__(o, t) : n.__patch__(n.$el, t, e, !1)), + i(), + r && (r.__vue__ = null), + n.$el && (n.$el.__vue__ = n), + n.$vnode && + n.$parent && + n.$vnode === n.$parent._vnode && + (n.$parent.$el = n.$el); + }), + (t.prototype.$forceUpdate = function() { + this._watcher && this._watcher.update(); + }), + (t.prototype.$destroy = function() { + var t = this; + if (!t._isBeingDestroyed) { + xe(t, "beforeDestroy"), (t._isBeingDestroyed = !0); + var e = t.$parent; + !e || + e._isBeingDestroyed || + t.$options.abstract || + y(e.$children, t), + t._watcher && t._watcher.teardown(); + for (var n = t._watchers.length; n--; ) t._watchers[n].teardown(); + t._data.__ob__ && t._data.__ob__.vmCount--, + (t._isDestroyed = !0), + t.__patch__(t._vnode, null), + xe(t, "destroyed"), + t.$off(), + t.$el && (t.$el.__vue__ = null), + t.$vnode && (t.$vnode.parent = null); + } + }); + })(hn), + (function(t) { + Je(t.prototype), + (t.prototype.$nextTick = function(t) { + return Yt(t, this); + }), + (t.prototype._render = function() { + var t, + e = this, + n = e.$options, + o = n.render, + i = n._parentVnode; + i && (e.$scopedSlots = i.data.scopedSlots || r), (e.$vnode = i); + try { + t = o.call(e._renderProxy, e.$createElement); + } catch (n) { + Ft(n, e, "render"), (t = e._vnode); + } + return t instanceof pt || (t = dt()), (t.parent = i), t; + }); + })(hn); + var bn = [String, RegExp, Array], + _n = { + KeepAlive: { + name: "keep-alive", + abstract: !0, + props: { include: bn, exclude: bn, max: [String, Number] }, + created: function() { + (this.cache = Object.create(null)), (this.keys = []); + }, + destroyed: function() { + for (var t in this.cache) gn(this.cache, t, this.keys); + }, + mounted: function() { + var t = this; + this.$watch("include", function(e) { + yn(t, function(t) { + return mn(e, t); + }); + }), + this.$watch("exclude", function(e) { + yn(t, function(t) { + return !mn(e, t); + }); + }); + }, + render: function() { + var t = this.$slots.default, + e = ce(t), + n = e && e.componentOptions; + if (n) { + var r = vn(n), + o = this.include, + i = this.exclude; + if ((o && (!r || !mn(o, r))) || (i && r && mn(i, r))) return e; + var a = this.cache, + s = this.keys, + u = + null == e.key + ? n.Ctor.cid + (n.tag ? "::" + n.tag : "") + : e.key; + a[u] + ? ((e.componentInstance = a[u].componentInstance), + y(s, u), + s.push(u)) + : ((a[u] = e), + s.push(u), + this.max && + s.length > parseInt(this.max) && + gn(a, s[0], s, this._vnode)), + (e.data.keepAlive = !0); + } + return e || (t && t[0]); + } + } + }; + !(function(t) { + var e = { + get: function() { + return F; + } + }; + Object.defineProperty(t, "config", e), + (t.util = { + warn: at, + extend: E, + mergeOptions: Tt, + defineReactive: Ot + }), + (t.set = Ct), + (t.delete = $t), + (t.nextTick = Yt), + (t.options = Object.create(null)), + D.forEach(function(e) { + t.options[e + "s"] = Object.create(null); + }), + (t.options._base = t), + E(t.options.components, _n), + (function(t) { + t.use = function(t) { + var e = this._installedPlugins || (this._installedPlugins = []); + if (e.indexOf(t) > -1) return this; + var n = S(arguments, 1); + return ( + n.unshift(this), + "function" == typeof t.install + ? t.install.apply(t, n) + : "function" == typeof t && t.apply(null, n), + e.push(t), + this + ); + }; + })(t), + (function(t) { + t.mixin = function(t) { + return (this.options = Tt(this.options, t)), this; + }; + })(t), + dn(t), + (function(t) { + D.forEach(function(e) { + t[e] = function(t, n) { + return n + ? ("component" === e && + c(n) && + ((n.name = n.name || t), + (n = this.options._base.extend(n))), + "directive" === e && + "function" == typeof n && + (n = { bind: n, update: n }), + (this.options[e + "s"][t] = n), + n) + : this.options[e + "s"][t]; + }; + }); + })(t); + })(hn), + Object.defineProperty(hn.prototype, "$isServer", { get: et }), + Object.defineProperty(hn.prototype, "$ssrContext", { + get: function() { + return this.$vnode && this.$vnode.ssrContext; + } + }), + Object.defineProperty(hn, "FunctionalRenderContext", { value: Qe }), + (hn.version = "2.5.21"); + var wn = v("style,class"), + xn = v("input,textarea,option,select,progress"), + kn = v("contenteditable,draggable,spellcheck"), + On = v( + "allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible" + ), + Cn = "http://www.w3.org/1999/xlink", + $n = function(t) { + return ":" === t.charAt(5) && "xlink" === t.slice(0, 5); + }, + Sn = function(t) { + return $n(t) ? t.slice(6, t.length) : ""; + }, + En = function(t) { + return null == t || !1 === t; + }; + function An(t) { + for (var e = t.data, n = t, r = t; i(r.componentInstance); ) + (r = r.componentInstance._vnode) && r.data && (e = jn(r.data, e)); + for (; i((n = n.parent)); ) n && n.data && (e = jn(e, n.data)); + return (function(t, e) { + if (i(t) || i(e)) return Ln(t, Pn(e)); + return ""; + })(e.staticClass, e.class); + } + function jn(t, e) { + return { + staticClass: Ln(t.staticClass, e.staticClass), + class: i(t.class) ? [t.class, e.class] : e.class + }; + } + function Ln(t, e) { + return t ? (e ? t + " " + e : t) : e || ""; + } + function Pn(t) { + return Array.isArray(t) + ? (function(t) { + for (var e, n = "", r = 0, o = t.length; r < o; r++) + i((e = Pn(t[r]))) && "" !== e && (n && (n += " "), (n += e)); + return n; + })(t) + : u(t) + ? (function(t) { + var e = ""; + for (var n in t) t[n] && (e && (e += " "), (e += n)); + return e; + })(t) + : "string" == typeof t + ? t + : ""; + } + var Tn = { + svg: "http://www.w3.org/2000/svg", + math: "http://www.w3.org/1998/Math/MathML" + }, + Mn = v( + "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,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,rtc,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,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot" + ), + In = v( + "svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view", + !0 + ), + Rn = function(t) { + return Mn(t) || In(t); + }; + var Dn = Object.create(null); + var Nn = v("text,number,password,search,email,tel,url"); + var Fn = Object.freeze({ + createElement: function(t, e) { + var n = document.createElement(t); + return "select" !== t + ? n + : (e.data && + e.data.attrs && + void 0 !== e.data.attrs.multiple && + n.setAttribute("multiple", "multiple"), + n); + }, + createElementNS: function(t, e) { + return document.createElementNS(Tn[t], e); + }, + createTextNode: function(t) { + return document.createTextNode(t); + }, + createComment: function(t) { + return document.createComment(t); + }, + insertBefore: function(t, e, n) { + t.insertBefore(e, n); + }, + removeChild: function(t, e) { + t.removeChild(e); + }, + appendChild: function(t, e) { + t.appendChild(e); + }, + parentNode: function(t) { + return t.parentNode; + }, + nextSibling: function(t) { + return t.nextSibling; + }, + tagName: function(t) { + return t.tagName; + }, + setTextContent: function(t, e) { + t.textContent = e; + }, + setStyleScope: function(t, e) { + t.setAttribute(e, ""); + } + }), + Un = { + create: function(t, e) { + Vn(e); + }, + update: function(t, e) { + t.data.ref !== e.data.ref && (Vn(t, !0), Vn(e)); + }, + destroy: function(t) { + Vn(t, !0); + } + }; + function Vn(t, e) { + var n = t.data.ref; + if (i(n)) { + var r = t.context, + o = t.componentInstance || t.elm, + a = r.$refs; + e + ? Array.isArray(a[n]) + ? y(a[n], o) + : a[n] === o && (a[n] = void 0) + : t.data.refInFor + ? Array.isArray(a[n]) + ? a[n].indexOf(o) < 0 && a[n].push(o) + : (a[n] = [o]) + : (a[n] = o); + } + } + var zn = new pt("", {}, []), + Bn = ["create", "activate", "update", "remove", "destroy"]; + function qn(t, e) { + return ( + t.key === e.key && + ((t.tag === e.tag && + t.isComment === e.isComment && + i(t.data) === i(e.data) && + (function(t, e) { + if ("input" !== t.tag) return !0; + var n, + r = i((n = t.data)) && i((n = n.attrs)) && n.type, + o = i((n = e.data)) && i((n = n.attrs)) && n.type; + return r === o || (Nn(r) && Nn(o)); + })(t, e)) || + (a(t.isAsyncPlaceholder) && + t.asyncFactory === e.asyncFactory && + o(e.asyncFactory.error))) + ); + } + function Hn(t, e, n) { + var r, + o, + a = {}; + for (r = e; r <= n; ++r) i((o = t[r].key)) && (a[o] = r); + return a; + } + var Gn = { + create: Wn, + update: Wn, + destroy: function(t) { + Wn(t, zn); + } + }; + function Wn(t, e) { + (t.data.directives || e.data.directives) && + (function(t, e) { + var n, + r, + o, + i = t === zn, + a = e === zn, + s = Zn(t.data.directives, t.context), + u = Zn(e.data.directives, e.context), + l = [], + c = []; + for (n in u) + (r = s[n]), + (o = u[n]), + r + ? ((o.oldValue = r.value), + Yn(o, "update", e, t), + o.def && o.def.componentUpdated && c.push(o)) + : (Yn(o, "bind", e, t), o.def && o.def.inserted && l.push(o)); + if (l.length) { + var f = function() { + for (var n = 0; n < l.length; n++) Yn(l[n], "inserted", e, t); + }; + i ? oe(e, "insert", f) : f(); + } + c.length && + oe(e, "postpatch", function() { + for (var n = 0; n < c.length; n++) + Yn(c[n], "componentUpdated", e, t); + }); + if (!i) for (n in s) u[n] || Yn(s[n], "unbind", t, t, a); + })(t, e); + } + var Kn = Object.create(null); + function Zn(t, e) { + var n, + r, + o = Object.create(null); + if (!t) return o; + for (n = 0; n < t.length; n++) + (r = t[n]).modifiers || (r.modifiers = Kn), + (o[Xn(r)] = r), + (r.def = Mt(e.$options, "directives", r.name)); + return o; + } + function Xn(t) { + return ( + t.rawName || t.name + "." + Object.keys(t.modifiers || {}).join(".") + ); + } + function Yn(t, e, n, r, o) { + var i = t.def && t.def[e]; + if (i) + try { + i(n.elm, t, n, r, o); + } catch (r) { + Ft(r, n.context, "directive " + t.name + " " + e + " hook"); + } + } + var Jn = [Un, Gn]; + function Qn(t, e) { + var n = e.componentOptions; + if ( + !( + (i(n) && !1 === n.Ctor.options.inheritAttrs) || + (o(t.data.attrs) && o(e.data.attrs)) + ) + ) { + var r, + a, + s = e.elm, + u = t.data.attrs || {}, + l = e.data.attrs || {}; + for (r in (i(l.__ob__) && (l = e.data.attrs = E({}, l)), l)) + (a = l[r]), u[r] !== a && tr(s, r, a); + for (r in ((K || X) && l.value !== u.value && tr(s, "value", l.value), + u)) + o(l[r]) && + ($n(r) + ? s.removeAttributeNS(Cn, Sn(r)) + : kn(r) || s.removeAttribute(r)); + } + } + function tr(t, e, n) { + t.tagName.indexOf("-") > -1 + ? er(t, e, n) + : On(e) + ? En(n) + ? t.removeAttribute(e) + : ((n = + "allowfullscreen" === e && "EMBED" === t.tagName ? "true" : e), + t.setAttribute(e, n)) + : kn(e) + ? t.setAttribute(e, En(n) || "false" === n ? "false" : "true") + : $n(e) + ? En(n) + ? t.removeAttributeNS(Cn, Sn(e)) + : t.setAttributeNS(Cn, e, n) + : er(t, e, n); + } + function er(t, e, n) { + if (En(n)) t.removeAttribute(e); + else { + if ( + K && + !Z && + ("TEXTAREA" === t.tagName || "INPUT" === t.tagName) && + "placeholder" === e && + !t.__ieph + ) { + var r = function(e) { + e.stopImmediatePropagation(), t.removeEventListener("input", r); + }; + t.addEventListener("input", r), (t.__ieph = !0); + } + t.setAttribute(e, n); + } + } + var nr = { create: Qn, update: Qn }; + function rr(t, e) { + var n = e.elm, + r = e.data, + a = t.data; + if ( + !( + o(r.staticClass) && + o(r.class) && + (o(a) || (o(a.staticClass) && o(a.class))) + ) + ) { + var s = An(e), + u = n._transitionClasses; + i(u) && (s = Ln(s, Pn(u))), + s !== n._prevClass && + (n.setAttribute("class", s), (n._prevClass = s)); + } + } + var or, + ir = { create: rr, update: rr }, + ar = "__r", + sr = "__c"; + function ur(t, e, n) { + var r = or; + return function o() { + null !== e.apply(null, arguments) && cr(t, o, n, r); + }; + } + function lr(t, e, n, r) { + var o; + (e = + (o = e)._withTask || + (o._withTask = function() { + Wt = !0; + try { + return o.apply(null, arguments); + } finally { + Wt = !1; + } + })), + or.addEventListener(t, e, Q ? { capture: n, passive: r } : n); + } + function cr(t, e, n, r) { + (r || or).removeEventListener(t, e._withTask || e, n); + } + function fr(t, e) { + if (!o(t.data.on) || !o(e.data.on)) { + var n = e.data.on || {}, + r = t.data.on || {}; + (or = e.elm), + (function(t) { + if (i(t[ar])) { + var e = K ? "change" : "input"; + (t[e] = [].concat(t[ar], t[e] || [])), delete t[ar]; + } + i(t[sr]) && + ((t.change = [].concat(t[sr], t.change || [])), delete t[sr]); + })(n), + re(n, r, lr, cr, ur, e.context), + (or = void 0); + } + } + var pr = { create: fr, update: fr }; + function hr(t, e) { + if (!o(t.data.domProps) || !o(e.data.domProps)) { + var n, + r, + a = e.elm, + s = t.data.domProps || {}, + u = e.data.domProps || {}; + for (n in (i(u.__ob__) && (u = e.data.domProps = E({}, u)), s)) + o(u[n]) && (a[n] = ""); + for (n in u) { + if (((r = u[n]), "textContent" === n || "innerHTML" === n)) { + if ((e.children && (e.children.length = 0), r === s[n])) continue; + 1 === a.childNodes.length && a.removeChild(a.childNodes[0]); + } + if ("value" === n) { + a._value = r; + var l = o(r) ? "" : String(r); + dr(a, l) && (a.value = l); + } else a[n] = r; + } + } + } + function dr(t, e) { + return ( + !t.composing && + ("OPTION" === t.tagName || + (function(t, e) { + var n = !0; + try { + n = document.activeElement !== t; + } catch (t) {} + return n && t.value !== e; + })(t, e) || + (function(t, e) { + var n = t.value, + r = t._vModifiers; + if (i(r)) { + if (r.lazy) return !1; + if (r.number) return d(n) !== d(e); + if (r.trim) return n.trim() !== e.trim(); + } + return n !== e; + })(t, e)) + ); + } + var vr = { create: hr, update: hr }, + mr = _(function(t) { + var e = {}, + n = /:(.+)/; + return ( + t.split(/;(?![^(]*\))/g).forEach(function(t) { + if (t) { + var r = t.split(n); + r.length > 1 && (e[r[0].trim()] = r[1].trim()); + } + }), + e + ); + }); + function yr(t) { + var e = gr(t.style); + return t.staticStyle ? E(t.staticStyle, e) : e; + } + function gr(t) { + return Array.isArray(t) ? A(t) : "string" == typeof t ? mr(t) : t; + } + var br, + _r = /^--/, + wr = /\s*!important$/, + xr = function(t, e, n) { + if (_r.test(e)) t.style.setProperty(e, n); + else if (wr.test(n)) + t.style.setProperty(e, n.replace(wr, ""), "important"); + else { + var r = Or(e); + if (Array.isArray(n)) + for (var o = 0, i = n.length; o < i; o++) t.style[r] = n[o]; + else t.style[r] = n; + } + }, + kr = ["Webkit", "Moz", "ms"], + Or = _(function(t) { + if ( + ((br = br || document.createElement("div").style), + "filter" !== (t = x(t)) && t in br) + ) + return t; + for ( + var e = t.charAt(0).toUpperCase() + t.slice(1), n = 0; + n < kr.length; + n++ + ) { + var r = kr[n] + e; + if (r in br) return r; + } + }); + function Cr(t, e) { + var n = e.data, + r = t.data; + if (!(o(n.staticStyle) && o(n.style) && o(r.staticStyle) && o(r.style))) { + var a, + s, + u = e.elm, + l = r.staticStyle, + c = r.normalizedStyle || r.style || {}, + f = l || c, + p = gr(e.data.style) || {}; + e.data.normalizedStyle = i(p.__ob__) ? E({}, p) : p; + var h = (function(t, e) { + var n, + r = {}; + if (e) + for (var o = t; o.componentInstance; ) + (o = o.componentInstance._vnode) && + o.data && + (n = yr(o.data)) && + E(r, n); + (n = yr(t.data)) && E(r, n); + for (var i = t; (i = i.parent); ) + i.data && (n = yr(i.data)) && E(r, n); + return r; + })(e, !0); + for (s in f) o(h[s]) && xr(u, s, ""); + for (s in h) (a = h[s]) !== f[s] && xr(u, s, null == a ? "" : a); + } + } + var $r = { create: Cr, update: Cr }, + Sr = /\s+/; + function Er(t, e) { + if (e && (e = e.trim())) + if (t.classList) + e.indexOf(" ") > -1 + ? e.split(Sr).forEach(function(e) { + return t.classList.add(e); + }) + : t.classList.add(e); + else { + var n = " " + (t.getAttribute("class") || "") + " "; + n.indexOf(" " + e + " ") < 0 && + t.setAttribute("class", (n + e).trim()); + } + } + function Ar(t, e) { + if (e && (e = e.trim())) + if (t.classList) + e.indexOf(" ") > -1 + ? e.split(Sr).forEach(function(e) { + return t.classList.remove(e); + }) + : t.classList.remove(e), + t.classList.length || t.removeAttribute("class"); + else { + for ( + var n = " " + (t.getAttribute("class") || "") + " ", + r = " " + e + " "; + n.indexOf(r) >= 0; + + ) + n = n.replace(r, " "); + (n = n.trim()) + ? t.setAttribute("class", n) + : t.removeAttribute("class"); + } + } + function jr(t) { + if (t) { + if ("object" == typeof t) { + var e = {}; + return !1 !== t.css && E(e, Lr(t.name || "v")), E(e, t), e; + } + return "string" == typeof t ? Lr(t) : void 0; + } + } + var Lr = _(function(t) { + return { + enterClass: t + "-enter", + enterToClass: t + "-enter-to", + enterActiveClass: t + "-enter-active", + leaveClass: t + "-leave", + leaveToClass: t + "-leave-to", + leaveActiveClass: t + "-leave-active" + }; + }), + Pr = q && !Z, + Tr = "transition", + Mr = "animation", + Ir = "transition", + Rr = "transitionend", + Dr = "animation", + Nr = "animationend"; + Pr && + (void 0 === window.ontransitionend && + void 0 !== window.onwebkittransitionend && + ((Ir = "WebkitTransition"), (Rr = "webkitTransitionEnd")), + void 0 === window.onanimationend && + void 0 !== window.onwebkitanimationend && + ((Dr = "WebkitAnimation"), (Nr = "webkitAnimationEnd"))); + var Fr = q + ? window.requestAnimationFrame + ? window.requestAnimationFrame.bind(window) + : setTimeout + : function(t) { + return t(); + }; + function Ur(t) { + Fr(function() { + Fr(t); + }); + } + function Vr(t, e) { + var n = t._transitionClasses || (t._transitionClasses = []); + n.indexOf(e) < 0 && (n.push(e), Er(t, e)); + } + function zr(t, e) { + t._transitionClasses && y(t._transitionClasses, e), Ar(t, e); + } + function Br(t, e, n) { + var r = Hr(t, e), + o = r.type, + i = r.timeout, + a = r.propCount; + if (!o) return n(); + var s = o === Tr ? Rr : Nr, + u = 0, + l = function() { + t.removeEventListener(s, c), n(); + }, + c = function(e) { + e.target === t && ++u >= a && l(); + }; + setTimeout(function() { + u < a && l(); + }, i + 1), + t.addEventListener(s, c); + } + var qr = /\b(transform|all)(,|$)/; + function Hr(t, e) { + var n, + r = window.getComputedStyle(t), + o = (r[Ir + "Delay"] || "").split(", "), + i = (r[Ir + "Duration"] || "").split(", "), + a = Gr(o, i), + s = (r[Dr + "Delay"] || "").split(", "), + u = (r[Dr + "Duration"] || "").split(", "), + l = Gr(s, u), + c = 0, + f = 0; + return ( + e === Tr + ? a > 0 && ((n = Tr), (c = a), (f = i.length)) + : e === Mr + ? l > 0 && ((n = Mr), (c = l), (f = u.length)) + : (f = (n = (c = Math.max(a, l)) > 0 ? (a > l ? Tr : Mr) : null) + ? n === Tr + ? i.length + : u.length + : 0), + { + type: n, + timeout: c, + propCount: f, + hasTransform: n === Tr && qr.test(r[Ir + "Property"]) + } + ); + } + function Gr(t, e) { + for (; t.length < e.length; ) t = t.concat(t); + return Math.max.apply( + null, + e.map(function(e, n) { + return Wr(e) + Wr(t[n]); + }) + ); + } + function Wr(t) { + return 1e3 * Number(t.slice(0, -1).replace(",", ".")); + } + function Kr(t, e) { + var n = t.elm; + i(n._leaveCb) && ((n._leaveCb.cancelled = !0), n._leaveCb()); + var r = jr(t.data.transition); + if (!o(r) && !i(n._enterCb) && 1 === n.nodeType) { + for ( + var a = r.css, + s = r.type, + l = r.enterClass, + c = r.enterToClass, + f = r.enterActiveClass, + p = r.appearClass, + h = r.appearToClass, + v = r.appearActiveClass, + m = r.beforeEnter, + y = r.enter, + g = r.afterEnter, + b = r.enterCancelled, + _ = r.beforeAppear, + w = r.appear, + x = r.afterAppear, + k = r.appearCancelled, + O = r.duration, + C = ge, + $ = ge.$vnode; + $ && $.parent; + + ) + C = ($ = $.parent).context; + var S = !C._isMounted || !t.isRootInsert; + if (!S || w || "" === w) { + var E = S && p ? p : l, + A = S && v ? v : f, + j = S && h ? h : c, + L = (S && _) || m, + P = S && "function" == typeof w ? w : y, + T = (S && x) || g, + M = (S && k) || b, + R = d(u(O) ? O.enter : O); + 0; + var D = !1 !== a && !Z, + N = Yr(P), + F = (n._enterCb = I(function() { + D && (zr(n, j), zr(n, A)), + F.cancelled ? (D && zr(n, E), M && M(n)) : T && T(n), + (n._enterCb = null); + })); + t.data.show || + oe(t, "insert", function() { + var e = n.parentNode, + r = e && e._pending && e._pending[t.key]; + r && r.tag === t.tag && r.elm._leaveCb && r.elm._leaveCb(), + P && P(n, F); + }), + L && L(n), + D && + (Vr(n, E), + Vr(n, A), + Ur(function() { + zr(n, E), + F.cancelled || + (Vr(n, j), N || (Xr(R) ? setTimeout(F, R) : Br(n, s, F))); + })), + t.data.show && (e && e(), P && P(n, F)), + D || N || F(); + } + } + } + function Zr(t, e) { + var n = t.elm; + i(n._enterCb) && ((n._enterCb.cancelled = !0), n._enterCb()); + var r = jr(t.data.transition); + if (o(r) || 1 !== n.nodeType) return e(); + if (!i(n._leaveCb)) { + var a = r.css, + s = r.type, + l = r.leaveClass, + c = r.leaveToClass, + f = r.leaveActiveClass, + p = r.beforeLeave, + h = r.leave, + v = r.afterLeave, + m = r.leaveCancelled, + y = r.delayLeave, + g = r.duration, + b = !1 !== a && !Z, + _ = Yr(h), + w = d(u(g) ? g.leave : g); + 0; + var x = (n._leaveCb = I(function() { + n.parentNode && + n.parentNode._pending && + (n.parentNode._pending[t.key] = null), + b && (zr(n, c), zr(n, f)), + x.cancelled ? (b && zr(n, l), m && m(n)) : (e(), v && v(n)), + (n._leaveCb = null); + })); + y ? y(k) : k(); + } + function k() { + x.cancelled || + (!t.data.show && + n.parentNode && + ((n.parentNode._pending || (n.parentNode._pending = {}))[ + t.key + ] = t), + p && p(n), + b && + (Vr(n, l), + Vr(n, f), + Ur(function() { + zr(n, l), + x.cancelled || + (Vr(n, c), _ || (Xr(w) ? setTimeout(x, w) : Br(n, s, x))); + })), + h && h(n, x), + b || _ || x()); + } + } + function Xr(t) { + return "number" == typeof t && !isNaN(t); + } + function Yr(t) { + if (o(t)) return !1; + var e = t.fns; + return i(e) + ? Yr(Array.isArray(e) ? e[0] : e) + : (t._length || t.length) > 1; + } + function Jr(t, e) { + !0 !== e.data.show && Kr(e); + } + var Qr = (function(t) { + var e, + n, + r = {}, + u = t.modules, + l = t.nodeOps; + for (e = 0; e < Bn.length; ++e) + for (r[Bn[e]] = [], n = 0; n < u.length; ++n) + i(u[n][Bn[e]]) && r[Bn[e]].push(u[n][Bn[e]]); + function c(t) { + var e = l.parentNode(t); + i(e) && l.removeChild(e, t); + } + function f(t, e, n, o, s, u, c) { + if ( + (i(t.elm) && i(u) && (t = u[c] = mt(t)), + (t.isRootInsert = !s), + !(function(t, e, n, o) { + var s = t.data; + if (i(s)) { + var u = i(t.componentInstance) && s.keepAlive; + if ( + (i((s = s.hook)) && i((s = s.init)) && s(t, !1), + i(t.componentInstance)) + ) + return ( + p(t, e), + h(n, t.elm, o), + a(u) && + (function(t, e, n, o) { + for (var a, s = t; s.componentInstance; ) + if ( + ((s = s.componentInstance._vnode), + i((a = s.data)) && i((a = a.transition))) + ) { + for (a = 0; a < r.activate.length; ++a) + r.activate[a](zn, s); + e.push(s); + break; + } + h(n, t.elm, o); + })(t, e, n, o), + !0 + ); + } + })(t, e, n, o)) + ) { + var f = t.data, + v = t.children, + m = t.tag; + i(m) + ? ((t.elm = t.ns + ? l.createElementNS(t.ns, m) + : l.createElement(m, t)), + g(t), + d(t, v, e), + i(f) && y(t, e), + h(n, t.elm, o)) + : a(t.isComment) + ? ((t.elm = l.createComment(t.text)), h(n, t.elm, o)) + : ((t.elm = l.createTextNode(t.text)), h(n, t.elm, o)); + } + } + function p(t, e) { + i(t.data.pendingInsert) && + (e.push.apply(e, t.data.pendingInsert), + (t.data.pendingInsert = null)), + (t.elm = t.componentInstance.$el), + m(t) ? (y(t, e), g(t)) : (Vn(t), e.push(t)); + } + function h(t, e, n) { + i(t) && + (i(n) + ? l.parentNode(n) === t && l.insertBefore(t, e, n) + : l.appendChild(t, e)); + } + function d(t, e, n) { + if (Array.isArray(e)) + for (var r = 0; r < e.length; ++r) f(e[r], n, t.elm, null, !0, e, r); + else + s(t.text) && l.appendChild(t.elm, l.createTextNode(String(t.text))); + } + function m(t) { + for (; t.componentInstance; ) t = t.componentInstance._vnode; + return i(t.tag); + } + function y(t, n) { + for (var o = 0; o < r.create.length; ++o) r.create[o](zn, t); + i((e = t.data.hook)) && + (i(e.create) && e.create(zn, t), i(e.insert) && n.push(t)); + } + function g(t) { + var e; + if (i((e = t.fnScopeId))) l.setStyleScope(t.elm, e); + else + for (var n = t; n; ) + i((e = n.context)) && + i((e = e.$options._scopeId)) && + l.setStyleScope(t.elm, e), + (n = n.parent); + i((e = ge)) && + e !== t.context && + e !== t.fnContext && + i((e = e.$options._scopeId)) && + l.setStyleScope(t.elm, e); + } + function b(t, e, n, r, o, i) { + for (; r <= o; ++r) f(n[r], i, t, e, !1, n, r); + } + function _(t) { + var e, + n, + o = t.data; + if (i(o)) + for ( + i((e = o.hook)) && i((e = e.destroy)) && e(t), e = 0; + e < r.destroy.length; + ++e + ) + r.destroy[e](t); + if (i((e = t.children))) + for (n = 0; n < t.children.length; ++n) _(t.children[n]); + } + function w(t, e, n, r) { + for (; n <= r; ++n) { + var o = e[n]; + i(o) && (i(o.tag) ? (x(o), _(o)) : c(o.elm)); + } + } + function x(t, e) { + if (i(e) || i(t.data)) { + var n, + o = r.remove.length + 1; + for ( + i(e) + ? (e.listeners += o) + : (e = (function(t, e) { + function n() { + 0 == --n.listeners && c(t); + } + return (n.listeners = e), n; + })(t.elm, o)), + i((n = t.componentInstance)) && + i((n = n._vnode)) && + i(n.data) && + x(n, e), + n = 0; + n < r.remove.length; + ++n + ) + r.remove[n](t, e); + i((n = t.data.hook)) && i((n = n.remove)) ? n(t, e) : e(); + } else c(t.elm); + } + function k(t, e, n, r) { + for (var o = n; o < r; o++) { + var a = e[o]; + if (i(a) && qn(t, a)) return o; + } + } + function O(t, e, n, s, u, c) { + if (t !== e) { + i(e.elm) && i(s) && (e = s[u] = mt(e)); + var p = (e.elm = t.elm); + if (a(t.isAsyncPlaceholder)) + i(e.asyncFactory.resolved) + ? S(t.elm, e, n) + : (e.isAsyncPlaceholder = !0); + else if ( + a(e.isStatic) && + a(t.isStatic) && + e.key === t.key && + (a(e.isCloned) || a(e.isOnce)) + ) + e.componentInstance = t.componentInstance; + else { + var h, + d = e.data; + i(d) && i((h = d.hook)) && i((h = h.prepatch)) && h(t, e); + var v = t.children, + y = e.children; + if (i(d) && m(e)) { + for (h = 0; h < r.update.length; ++h) r.update[h](t, e); + i((h = d.hook)) && i((h = h.update)) && h(t, e); + } + o(e.text) + ? i(v) && i(y) + ? v !== y && + (function(t, e, n, r, a) { + for ( + var s, + u, + c, + p = 0, + h = 0, + d = e.length - 1, + v = e[0], + m = e[d], + y = n.length - 1, + g = n[0], + _ = n[y], + x = !a; + p <= d && h <= y; + + ) + o(v) + ? (v = e[++p]) + : o(m) + ? (m = e[--d]) + : qn(v, g) + ? (O(v, g, r, n, h), (v = e[++p]), (g = n[++h])) + : qn(m, _) + ? (O(m, _, r, n, y), (m = e[--d]), (_ = n[--y])) + : qn(v, _) + ? (O(v, _, r, n, y), + x && + l.insertBefore( + t, + v.elm, + l.nextSibling(m.elm) + ), + (v = e[++p]), + (_ = n[--y])) + : qn(m, g) + ? (O(m, g, r, n, h), + x && l.insertBefore(t, m.elm, v.elm), + (m = e[--d]), + (g = n[++h])) + : (o(s) && (s = Hn(e, p, d)), + o((u = i(g.key) ? s[g.key] : k(g, e, p, d))) + ? f(g, r, t, v.elm, !1, n, h) + : qn((c = e[u]), g) + ? (O(c, g, r, n, h), + (e[u] = void 0), + x && l.insertBefore(t, c.elm, v.elm)) + : f(g, r, t, v.elm, !1, n, h), + (g = n[++h])); + p > d + ? b(t, o(n[y + 1]) ? null : n[y + 1].elm, n, h, y, r) + : h > y && w(0, e, p, d); + })(p, v, y, n, c) + : i(y) + ? (i(t.text) && l.setTextContent(p, ""), + b(p, null, y, 0, y.length - 1, n)) + : i(v) + ? w(0, v, 0, v.length - 1) + : i(t.text) && l.setTextContent(p, "") + : t.text !== e.text && l.setTextContent(p, e.text), + i(d) && i((h = d.hook)) && i((h = h.postpatch)) && h(t, e); + } + } + } + function C(t, e, n) { + if (a(n) && i(t.parent)) t.parent.data.pendingInsert = e; + else for (var r = 0; r < e.length; ++r) e[r].data.hook.insert(e[r]); + } + var $ = v("attrs,class,staticClass,staticStyle,key"); + function S(t, e, n, r) { + var o, + s = e.tag, + u = e.data, + l = e.children; + if ( + ((r = r || (u && u.pre)), + (e.elm = t), + a(e.isComment) && i(e.asyncFactory)) + ) + return (e.isAsyncPlaceholder = !0), !0; + if ( + i(u) && + (i((o = u.hook)) && i((o = o.init)) && o(e, !0), + i((o = e.componentInstance))) + ) + return p(e, n), !0; + if (i(s)) { + if (i(l)) + if (t.hasChildNodes()) + if (i((o = u)) && i((o = o.domProps)) && i((o = o.innerHTML))) { + if (o !== t.innerHTML) return !1; + } else { + for (var c = !0, f = t.firstChild, h = 0; h < l.length; h++) { + if (!f || !S(f, l[h], n, r)) { + c = !1; + break; + } + f = f.nextSibling; + } + if (!c || f) return !1; + } + else d(e, l, n); + if (i(u)) { + var v = !1; + for (var m in u) + if (!$(m)) { + (v = !0), y(e, n); + break; + } + !v && u.class && Qt(u.class); + } + } else t.data !== e.text && (t.data = e.text); + return !0; + } + return function(t, e, n, s) { + if (!o(e)) { + var u, + c = !1, + p = []; + if (o(t)) (c = !0), f(e, p); + else { + var h = i(t.nodeType); + if (!h && qn(t, e)) O(t, e, p, null, null, s); + else { + if (h) { + if ( + (1 === t.nodeType && + t.hasAttribute(R) && + (t.removeAttribute(R), (n = !0)), + a(n) && S(t, e, p)) + ) + return C(e, p, !0), t; + (u = t), + (t = new pt(l.tagName(u).toLowerCase(), {}, [], void 0, u)); + } + var d = t.elm, + v = l.parentNode(d); + if ( + (f(e, p, d._leaveCb ? null : v, l.nextSibling(d)), i(e.parent)) + ) + for (var y = e.parent, g = m(e); y; ) { + for (var b = 0; b < r.destroy.length; ++b) r.destroy[b](y); + if (((y.elm = e.elm), g)) { + for (var x = 0; x < r.create.length; ++x) + r.create[x](zn, y); + var k = y.data.hook.insert; + if (k.merged) + for (var $ = 1; $ < k.fns.length; $++) k.fns[$](); + } else Vn(y); + y = y.parent; + } + i(v) ? w(0, [t], 0, 0) : i(t.tag) && _(t); + } + } + return C(e, p, c), e.elm; + } + i(t) && _(t); + }; + })({ + nodeOps: Fn, + modules: [ + nr, + ir, + pr, + vr, + $r, + q + ? { + create: Jr, + activate: Jr, + remove: function(t, e) { + !0 !== t.data.show ? Zr(t, e) : e(); + } + } + : {} + ].concat(Jn) + }); + Z && + document.addEventListener("selectionchange", function() { + var t = document.activeElement; + t && t.vmodel && so(t, "input"); + }); + var to = { + inserted: function(t, e, n, r) { + "select" === n.tag + ? (r.elm && !r.elm._vOptions + ? oe(n, "postpatch", function() { + to.componentUpdated(t, e, n); + }) + : eo(t, e, n.context), + (t._vOptions = [].map.call(t.options, oo))) + : ("textarea" === n.tag || Nn(t.type)) && + ((t._vModifiers = e.modifiers), + e.modifiers.lazy || + (t.addEventListener("compositionstart", io), + t.addEventListener("compositionend", ao), + t.addEventListener("change", ao), + Z && (t.vmodel = !0))); + }, + componentUpdated: function(t, e, n) { + if ("select" === n.tag) { + eo(t, e, n.context); + var r = t._vOptions, + o = (t._vOptions = [].map.call(t.options, oo)); + if ( + o.some(function(t, e) { + return !T(t, r[e]); + }) + ) + (t.multiple + ? e.value.some(function(t) { + return ro(t, o); + }) + : e.value !== e.oldValue && ro(e.value, o)) && so(t, "change"); + } + } + }; + function eo(t, e, n) { + no(t, e, n), + (K || X) && + setTimeout(function() { + no(t, e, n); + }, 0); + } + function no(t, e, n) { + var r = e.value, + o = t.multiple; + if (!o || Array.isArray(r)) { + for (var i, a, s = 0, u = t.options.length; s < u; s++) + if (((a = t.options[s]), o)) + (i = M(r, oo(a)) > -1), a.selected !== i && (a.selected = i); + else if (T(oo(a), r)) + return void (t.selectedIndex !== s && (t.selectedIndex = s)); + o || (t.selectedIndex = -1); + } + } + function ro(t, e) { + return e.every(function(e) { + return !T(e, t); + }); + } + function oo(t) { + return "_value" in t ? t._value : t.value; + } + function io(t) { + t.target.composing = !0; + } + function ao(t) { + t.target.composing && ((t.target.composing = !1), so(t.target, "input")); + } + function so(t, e) { + var n = document.createEvent("HTMLEvents"); + n.initEvent(e, !0, !0), t.dispatchEvent(n); + } + function uo(t) { + return !t.componentInstance || (t.data && t.data.transition) + ? t + : uo(t.componentInstance._vnode); + } + var lo = { + model: to, + show: { + bind: function(t, e, n) { + var r = e.value, + o = (n = uo(n)).data && n.data.transition, + i = (t.__vOriginalDisplay = + "none" === t.style.display ? "" : t.style.display); + r && o + ? ((n.data.show = !0), + Kr(n, function() { + t.style.display = i; + })) + : (t.style.display = r ? i : "none"); + }, + update: function(t, e, n) { + var r = e.value; + !r != !e.oldValue && + ((n = uo(n)).data && n.data.transition + ? ((n.data.show = !0), + r + ? Kr(n, function() { + t.style.display = t.__vOriginalDisplay; + }) + : Zr(n, function() { + t.style.display = "none"; + })) + : (t.style.display = r ? t.__vOriginalDisplay : "none")); + }, + unbind: function(t, e, n, r, o) { + o || (t.style.display = t.__vOriginalDisplay); + } + } + }, + co = { + name: String, + appear: Boolean, + css: Boolean, + mode: String, + type: String, + enterClass: String, + leaveClass: String, + enterToClass: String, + leaveToClass: String, + enterActiveClass: String, + leaveActiveClass: String, + appearClass: String, + appearActiveClass: String, + appearToClass: String, + duration: [Number, String, Object] + }; + function fo(t) { + var e = t && t.componentOptions; + return e && e.Ctor.options.abstract ? fo(ce(e.children)) : t; + } + function po(t) { + var e = {}, + n = t.$options; + for (var r in n.propsData) e[r] = t[r]; + var o = n._parentListeners; + for (var i in o) e[x(i)] = o[i]; + return e; + } + function ho(t, e) { + if (/\d-keep-alive$/.test(e.tag)) + return t("keep-alive", { props: e.componentOptions.propsData }); + } + var vo = function(t) { + return t.tag || le(t); + }, + mo = function(t) { + return "show" === t.name; + }, + yo = { + name: "transition", + props: co, + abstract: !0, + render: function(t) { + var e = this, + n = this.$slots.default; + if (n && (n = n.filter(vo)).length) { + 0; + var r = this.mode; + 0; + var o = n[0]; + if ( + (function(t) { + for (; (t = t.parent); ) if (t.data.transition) return !0; + })(this.$vnode) + ) + return o; + var i = fo(o); + if (!i) return o; + if (this._leaving) return ho(t, o); + var a = "__transition-" + this._uid + "-"; + i.key = + null == i.key + ? i.isComment + ? a + "comment" + : a + i.tag + : s(i.key) + ? 0 === String(i.key).indexOf(a) + ? i.key + : a + i.key + : i.key; + var u = ((i.data || (i.data = {})).transition = po(this)), + l = this._vnode, + c = fo(l); + if ( + (i.data.directives && + i.data.directives.some(mo) && + (i.data.show = !0), + c && + c.data && + !(function(t, e) { + return e.key === t.key && e.tag === t.tag; + })(i, c) && + !le(c) && + (!c.componentInstance || !c.componentInstance._vnode.isComment)) + ) { + var f = (c.data.transition = E({}, u)); + if ("out-in" === r) + return ( + (this._leaving = !0), + oe(f, "afterLeave", function() { + (e._leaving = !1), e.$forceUpdate(); + }), + ho(t, o) + ); + if ("in-out" === r) { + if (le(i)) return l; + var p, + h = function() { + p(); + }; + oe(u, "afterEnter", h), + oe(u, "enterCancelled", h), + oe(f, "delayLeave", function(t) { + p = t; + }); + } + } + return o; + } + } + }, + go = E({ tag: String, moveClass: String }, co); + function bo(t) { + t.elm._moveCb && t.elm._moveCb(), t.elm._enterCb && t.elm._enterCb(); + } + function _o(t) { + t.data.newPos = t.elm.getBoundingClientRect(); + } + function wo(t) { + var e = t.data.pos, + n = t.data.newPos, + r = e.left - n.left, + o = e.top - n.top; + if (r || o) { + t.data.moved = !0; + var i = t.elm.style; + (i.transform = i.WebkitTransform = + "translate(" + r + "px," + o + "px)"), + (i.transitionDuration = "0s"); + } + } + delete go.mode; + var xo = { + Transition: yo, + TransitionGroup: { + props: go, + beforeMount: function() { + var t = this, + e = this._update; + this._update = function(n, r) { + var o = be(t); + t.__patch__(t._vnode, t.kept, !1, !0), + (t._vnode = t.kept), + o(), + e.call(t, n, r); + }; + }, + render: function(t) { + for ( + var e = this.tag || this.$vnode.data.tag || "span", + n = Object.create(null), + r = (this.prevChildren = this.children), + o = this.$slots.default || [], + i = (this.children = []), + a = po(this), + s = 0; + s < o.length; + s++ + ) { + var u = o[s]; + if (u.tag) + if (null != u.key && 0 !== String(u.key).indexOf("__vlist")) + i.push(u), + (n[u.key] = u), + ((u.data || (u.data = {})).transition = a); + else; + } + if (r) { + for (var l = [], c = [], f = 0; f < r.length; f++) { + var p = r[f]; + (p.data.transition = a), + (p.data.pos = p.elm.getBoundingClientRect()), + n[p.key] ? l.push(p) : c.push(p); + } + (this.kept = t(e, null, l)), (this.removed = c); + } + return t(e, null, i); + }, + updated: function() { + var t = this.prevChildren, + e = this.moveClass || (this.name || "v") + "-move"; + t.length && + this.hasMove(t[0].elm, e) && + (t.forEach(bo), + t.forEach(_o), + t.forEach(wo), + (this._reflow = document.body.offsetHeight), + t.forEach(function(t) { + if (t.data.moved) { + var n = t.elm, + r = n.style; + Vr(n, e), + (r.transform = r.WebkitTransform = r.transitionDuration = ""), + n.addEventListener( + Rr, + (n._moveCb = function t(r) { + (r && r.target !== n) || + (r && !/transform$/.test(r.propertyName)) || + (n.removeEventListener(Rr, t), + (n._moveCb = null), + zr(n, e)); + }) + ); + } + })); + }, + methods: { + hasMove: function(t, e) { + if (!Pr) return !1; + if (this._hasMove) return this._hasMove; + var n = t.cloneNode(); + t._transitionClasses && + t._transitionClasses.forEach(function(t) { + Ar(n, t); + }), + Er(n, e), + (n.style.display = "none"), + this.$el.appendChild(n); + var r = Hr(n); + return this.$el.removeChild(n), (this._hasMove = r.hasTransform); + } + } + } + }; + (hn.config.mustUseProp = function(t, e, n) { + return ( + ("value" === n && xn(t) && "button" !== e) || + ("selected" === n && "option" === t) || + ("checked" === n && "input" === t) || + ("muted" === n && "video" === t) + ); + }), + (hn.config.isReservedTag = Rn), + (hn.config.isReservedAttr = wn), + (hn.config.getTagNamespace = function(t) { + return In(t) ? "svg" : "math" === t ? "math" : void 0; + }), + (hn.config.isUnknownElement = function(t) { + if (!q) return !0; + if (Rn(t)) return !1; + if (((t = t.toLowerCase()), null != Dn[t])) return Dn[t]; + var e = document.createElement(t); + return t.indexOf("-") > -1 + ? (Dn[t] = + e.constructor === window.HTMLUnknownElement || + e.constructor === window.HTMLElement) + : (Dn[t] = /HTMLUnknownElement/.test(e.toString())); + }), + E(hn.options.directives, lo), + E(hn.options.components, xo), + (hn.prototype.__patch__ = q ? Qr : j), + (hn.prototype.$mount = function(t, e) { + return (function(t, e, n) { + var r; + return ( + (t.$el = e), + t.$options.render || (t.$options.render = dt), + xe(t, "beforeMount"), + (r = function() { + t._update(t._render(), n); + }), + new Le( + t, + r, + j, + { + before: function() { + t._isMounted && !t._isDestroyed && xe(t, "beforeUpdate"); + } + }, + !0 + ), + (n = !1), + null == t.$vnode && ((t._isMounted = !0), xe(t, "mounted")), + t + ); + })( + this, + (t = + t && q + ? (function(t) { + if ("string" == typeof t) { + var e = document.querySelector(t); + return e || document.createElement("div"); + } + return t; + })(t) + : void 0), + e + ); + }), + q && + setTimeout(function() { + F.devtools && nt && nt.emit("init", hn); + }, 0), + (e.a = hn); + }, + function(t, e) { + var n = (t.exports = + "undefined" != typeof window && window.Math == Math + ? window + : "undefined" != typeof self && self.Math == Math + ? self + : Function("return this")()); + "number" == typeof __g && (__g = n); + }, + function(t, e, n) { + var r = n(43)("wks"), + o = n(20), + i = n(1).Symbol, + a = "function" == typeof i; + (t.exports = function(t) { + return r[t] || (r[t] = (a && i[t]) || (a ? i : o)("Symbol." + t)); + }).store = r; + }, + function(t, e) { + t.exports = function(t) { + return "object" == typeof t ? null !== t : "function" == typeof t; + }; + }, + function(t, e, n) { + var r = n(3); + t.exports = function(t) { + if (!r(t)) throw TypeError(t + " is not an object!"); + return t; + }; + }, + function(t, e, n) { + var r = n(1), + o = n(8), + i = n(10), + a = n(13), + s = n(12), + u = function(t, e, n) { + var l, + c, + f, + p, + h = t & u.F, + d = t & u.G, + v = t & u.S, + m = t & u.P, + y = t & u.B, + g = d ? r : v ? r[e] || (r[e] = {}) : (r[e] || {}).prototype, + b = d ? o : o[e] || (o[e] = {}), + _ = b.prototype || (b.prototype = {}); + for (l in (d && (n = e), n)) + (f = ((c = !h && g && void 0 !== g[l]) ? g : n)[l]), + (p = + y && c + ? s(f, r) + : m && "function" == typeof f + ? s(Function.call, f) + : f), + g && a(g, l, f, t & u.U), + b[l] != f && i(b, l, p), + m && _[l] != f && (_[l] = f); + }; + (r.core = o), + (u.F = 1), + (u.G = 2), + (u.S = 4), + (u.P = 8), + (u.B = 16), + (u.W = 32), + (u.U = 64), + (u.R = 128), + (t.exports = u); + }, + function(t, e, n) { + var r = n(4), + o = n(44), + i = n(45), + a = Object.defineProperty; + e.f = n(7) + ? Object.defineProperty + : function(t, e, n) { + if ((r(t), (e = i(e, !0)), r(n), o)) + try { + return a(t, e, n); + } catch (t) {} + if ("get" in n || "set" in n) + throw TypeError("Accessors not supported!"); + return "value" in n && (t[e] = n.value), t; + }; + }, + function(t, e, n) { + t.exports = !n(9)(function() { + return ( + 7 != + Object.defineProperty({}, "a", { + get: function() { + return 7; + } + }).a + ); + }); + }, + function(t, e) { + var n = (t.exports = { version: "2.5.7" }); + "number" == typeof __e && (__e = n); + }, + function(t, e) { + t.exports = function(t) { + try { + return !!t(); + } catch (t) { + return !0; + } + }; + }, + function(t, e, n) { + var r = n(6), + o = n(21); + t.exports = n(7) + ? function(t, e, n) { + return r.f(t, e, o(1, n)); + } + : function(t, e, n) { + return (t[e] = n), t; + }; + }, + function(t, e) { + var n = {}.hasOwnProperty; + t.exports = function(t, e) { + return n.call(t, e); + }; + }, + function(t, e, n) { + var r = n(22); + t.exports = function(t, e, n) { + if ((r(t), void 0 === e)) return t; + switch (n) { + case 1: + return function(n) { + return t.call(e, n); + }; + case 2: + return function(n, r) { + return t.call(e, n, r); + }; + case 3: + return function(n, r, o) { + return t.call(e, n, r, o); + }; + } + return function() { + return t.apply(e, arguments); + }; + }; + }, + function(t, e, n) { + var r = n(1), + o = n(10), + i = n(11), + a = n(20)("src"), + s = Function.toString, + u = ("" + s).split("toString"); + (n(8).inspectSource = function(t) { + return s.call(t); + }), + (t.exports = function(t, e, n, s) { + var l = "function" == typeof n; + l && (i(n, "name") || o(n, "name", e)), + t[e] !== n && + (l && (i(n, a) || o(n, a, t[e] ? "" + t[e] : u.join(String(e)))), + t === r + ? (t[e] = n) + : s + ? t[e] + ? (t[e] = n) + : o(t, e, n) + : (delete t[e], o(t, e, n))); + })(Function.prototype, "toString", function() { + return ("function" == typeof this && this[a]) || s.call(this); + }); + }, + function(t, e) { + t.exports = {}; + }, + function(t, e, n) { + var r = n(47), + o = n(19); + t.exports = function(t) { + return r(o(t)); + }; + }, + function(t, e) { + var n = {}.toString; + t.exports = function(t) { + return n.call(t).slice(8, -1); + }; + }, + function(t, e, n) { + "use strict"; + function r(t, e, n, r, o, i, a, s) { + var u, + l = "function" == typeof t ? t.options : t; + if ( + (e && ((l.render = e), (l.staticRenderFns = n), (l._compiled = !0)), + r && (l.functional = !0), + i && (l._scopeId = "data-v-" + i), + a + ? ((u = function(t) { + (t = + t || + (this.$vnode && this.$vnode.ssrContext) || + (this.parent && + this.parent.$vnode && + this.parent.$vnode.ssrContext)) || + "undefined" == typeof __VUE_SSR_CONTEXT__ || + (t = __VUE_SSR_CONTEXT__), + o && o.call(this, t), + t && t._registeredComponents && t._registeredComponents.add(a); + }), + (l._ssrRegister = u)) + : o && + (u = s + ? function() { + o.call(this, this.$root.$options.shadowRoot); + } + : o), + u) + ) + if (l.functional) { + l._injectStyles = u; + var c = l.render; + l.render = function(t, e) { + return u.call(e), c(t, e); + }; + } else { + var f = l.beforeCreate; + l.beforeCreate = f ? [].concat(f, u) : [u]; + } + return { exports: t, options: l }; + } + n.d(e, "a", function() { + return r; + }); + }, + function(t, e, n) { + for ( + var r = n(42), + o = n(23), + i = n(13), + a = n(1), + s = n(10), + u = n(14), + l = n(2), + c = l("iterator"), + f = l("toStringTag"), + p = u.Array, + h = { + CSSRuleList: !0, + CSSStyleDeclaration: !1, + CSSValueList: !1, + ClientRectList: !1, + DOMRectList: !1, + DOMStringList: !1, + DOMTokenList: !0, + DataTransferItemList: !1, + FileList: !1, + HTMLAllCollection: !1, + HTMLCollection: !1, + HTMLFormElement: !1, + HTMLSelectElement: !1, + MediaList: !0, + MimeTypeArray: !1, + NamedNodeMap: !1, + NodeList: !0, + PaintRequestList: !1, + Plugin: !1, + PluginArray: !1, + SVGLengthList: !1, + SVGNumberList: !1, + SVGPathSegList: !1, + SVGPointList: !1, + SVGStringList: !1, + SVGTransformList: !1, + SourceBufferList: !1, + StyleSheetList: !0, + TextTrackCueList: !1, + TextTrackList: !1, + TouchList: !1 + }, + d = o(h), + v = 0; + v < d.length; + v++ + ) { + var m, + y = d[v], + g = h[y], + b = a[y], + _ = b && b.prototype; + if (_ && (_[c] || s(_, c, p), _[f] || s(_, f, y), (u[y] = p), g)) + for (m in r) _[m] || i(_, m, r[m], !0); + } + }, + function(t, e) { + t.exports = function(t) { + if (null == t) throw TypeError("Can't call method on " + t); + return t; + }; + }, + function(t, e) { + var n = 0, + r = Math.random(); + t.exports = function(t) { + return "Symbol(".concat( + void 0 === t ? "" : t, + ")_", + (++n + r).toString(36) + ); + }; + }, + function(t, e) { + t.exports = function(t, e) { + return { + enumerable: !(1 & t), + configurable: !(2 & t), + writable: !(4 & t), + value: e + }; + }; + }, + function(t, e) { + t.exports = function(t) { + if ("function" != typeof t) throw TypeError(t + " is not a function!"); + return t; + }; + }, + function(t, e, n) { + var r = n(49), + o = n(33); + t.exports = + Object.keys || + function(t) { + return r(t, o); + }; + }, + function(t, e, n) { + var r = n(6).f, + o = n(11), + i = n(2)("toStringTag"); + t.exports = function(t, e, n) { + t && + !o((t = n ? t : t.prototype), i) && + r(t, i, { configurable: !0, value: e }); + }; + }, + function(t, e, n) { + "use strict"; + function r(t) { + return ( + (function(t) { + if (Array.isArray(t)) { + for (var e = 0, n = new Array(t.length); e < t.length; e++) + n[e] = t[e]; + return n; + } + })(t) || + (function(t) { + if ( + Symbol.iterator in Object(t) || + "[object Arguments]" === Object.prototype.toString.call(t) + ) + return Array.from(t); + })(t) || + (function() { + throw new TypeError( + "Invalid attempt to spread non-iterable instance" + ); + })() + ); + } + n.d(e, "a", function() { + return r; + }); + }, + function(t, e, n) {}, + function(t, e) { + t.exports = !1; + }, + function(t, e, n) { + var r = n(3), + o = n(1).document, + i = r(o) && r(o.createElement); + t.exports = function(t) { + return i ? o.createElement(t) : {}; + }; + }, + function(t, e, n) { + "use strict"; + var r = n(27), + o = n(5), + i = n(13), + a = n(10), + s = n(14), + u = n(69), + l = n(24), + c = n(73), + f = n(2)("iterator"), + p = !([].keys && "next" in [].keys()), + h = function() { + return this; + }; + t.exports = function(t, e, n, d, v, m, y) { + u(n, e, d); + var g, + b, + _, + w = function(t) { + if (!p && t in C) return C[t]; + switch (t) { + case "keys": + case "values": + return function() { + return new n(this, t); + }; + } + return function() { + return new n(this, t); + }; + }, + x = e + " Iterator", + k = "values" == v, + O = !1, + C = t.prototype, + $ = C[f] || C["@@iterator"] || (v && C[v]), + S = $ || w(v), + E = v ? (k ? w("entries") : S) : void 0, + A = ("Array" == e && C.entries) || $; + if ( + (A && + (_ = c(A.call(new t()))) !== Object.prototype && + _.next && + (l(_, x, !0), r || "function" == typeof _[f] || a(_, f, h)), + k && + $ && + "values" !== $.name && + ((O = !0), + (S = function() { + return $.call(this); + })), + (r && !y) || (!p && !O && C[f]) || a(C, f, S), + (s[e] = S), + (s[x] = h), + v) + ) + if ( + ((g = { + values: k ? S : w("values"), + keys: m ? S : w("keys"), + entries: E + }), + y) + ) + for (b in g) b in C || i(C, b, g[b]); + else o(o.P + o.F * (p || O), e, g); + return g; + }; + }, + function(t, e, n) { + var r = n(31), + o = Math.min; + t.exports = function(t) { + return t > 0 ? o(r(t), 9007199254740991) : 0; + }; + }, + function(t, e) { + var n = Math.ceil, + r = Math.floor; + t.exports = function(t) { + return isNaN((t = +t)) ? 0 : (t > 0 ? r : n)(t); + }; + }, + function(t, e, n) { + var r = n(43)("keys"), + o = n(20); + t.exports = function(t) { + return r[t] || (r[t] = o(t)); + }; + }, + function(t, e) { + t.exports = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split( + "," + ); + }, + function(t, e, n) { + var r = n(19); + t.exports = function(t) { + return Object(r(t)); + }; + }, + function(t, e) { + t.exports = function(t, e, n, r) { + if (!(t instanceof e) || (void 0 !== r && r in t)) + throw TypeError(n + ": incorrect invocation!"); + return t; + }; + }, + function(t, e, n) { + var r = n(12), + o = n(75), + i = n(76), + a = n(4), + s = n(30), + u = n(77), + l = {}, + c = {}; + ((e = t.exports = function(t, e, n, f, p) { + var h, + d, + v, + m, + y = p + ? function() { + return t; + } + : u(t), + g = r(n, f, e ? 2 : 1), + b = 0; + if ("function" != typeof y) throw TypeError(t + " is not iterable!"); + if (i(y)) { + for (h = s(t.length); h > b; b++) + if ((m = e ? g(a((d = t[b]))[0], d[1]) : g(t[b])) === l || m === c) + return m; + } else + for (v = y.call(t); !(d = v.next()).done; ) + if ((m = o(v, g, d.value, e)) === l || m === c) return m; + }).BREAK = l), + (e.RETURN = c); + }, + function(t, e, n) { + var r = n(13); + t.exports = function(t, e, n) { + for (var o in e) r(t, o, e[o], n); + return t; + }; + }, + function(t, e, n) { + var r = n(20)("meta"), + o = n(3), + i = n(11), + a = n(6).f, + s = 0, + u = + Object.isExtensible || + function() { + return !0; + }, + l = !n(9)(function() { + return u(Object.preventExtensions({})); + }), + c = function(t) { + a(t, r, { value: { i: "O" + ++s, w: {} } }); + }, + f = (t.exports = { + KEY: r, + NEED: !1, + fastKey: function(t, e) { + if (!o(t)) + return "symbol" == typeof t + ? t + : ("string" == typeof t ? "S" : "P") + t; + if (!i(t, r)) { + if (!u(t)) return "F"; + if (!e) return "E"; + c(t); + } + return t[r].i; + }, + getWeak: function(t, e) { + if (!i(t, r)) { + if (!u(t)) return !0; + if (!e) return !1; + c(t); + } + return t[r].w; + }, + onFreeze: function(t) { + return l && f.NEED && u(t) && !i(t, r) && c(t), t; + } + }); + }, + function(t, e, n) { + var r = n(5); + r(r.S + r.F, "Object", { assign: n(83) }); + }, + function(t, e, n) { + var r = n(34), + o = n(23); + n(59)("keys", function() { + return function(t) { + return o(r(t)); + }; + }); + }, + function(t, e, n) { + "use strict"; + var r = n(1), + o = n(6), + i = n(7), + a = n(2)("species"); + t.exports = function(t) { + var e = r[t]; + i && + e && + !e[a] && + o.f(e, a, { + configurable: !0, + get: function() { + return this; + } + }); + }; + }, + function(t, e, n) { + "use strict"; + var r = n(68), + o = n(46), + i = n(14), + a = n(15); + (t.exports = n(29)( + Array, + "Array", + function(t, e) { + (this._t = a(t)), (this._i = 0), (this._k = e); + }, + function() { + var t = this._t, + e = this._k, + n = this._i++; + return !t || n >= t.length + ? ((this._t = void 0), o(1)) + : o(0, "keys" == e ? n : "values" == e ? t[n] : [n, t[n]]); + }, + "values" + )), + (i.Arguments = i.Array), + r("keys"), + r("values"), + r("entries"); + }, + function(t, e, n) { + var r = n(8), + o = n(1), + i = o["__core-js_shared__"] || (o["__core-js_shared__"] = {}); + (t.exports = function(t, e) { + return i[t] || (i[t] = void 0 !== e ? e : {}); + })("versions", []).push({ + version: r.version, + mode: n(27) ? "pure" : "global", + copyright: "© 2018 Denis Pushkarev (zloirock.ru)" + }); + }, + function(t, e, n) { + t.exports = + !n(7) && + !n(9)(function() { + return ( + 7 != + Object.defineProperty(n(28)("div"), "a", { + get: function() { + return 7; + } + }).a + ); + }); + }, + function(t, e, n) { + var r = n(3); + t.exports = function(t, e) { + if (!r(t)) return t; + var n, o; + if (e && "function" == typeof (n = t.toString) && !r((o = n.call(t)))) + return o; + if ("function" == typeof (n = t.valueOf) && !r((o = n.call(t)))) return o; + if (!e && "function" == typeof (n = t.toString) && !r((o = n.call(t)))) + return o; + throw TypeError("Can't convert object to primitive value"); + }; + }, + function(t, e) { + t.exports = function(t, e) { + return { value: e, done: !!t }; + }; + }, + function(t, e, n) { + var r = n(16); + t.exports = Object("z").propertyIsEnumerable(0) + ? Object + : function(t) { + return "String" == r(t) ? t.split("") : Object(t); + }; + }, + function(t, e, n) { + var r = n(4), + o = n(70), + i = n(33), + a = n(32)("IE_PROTO"), + s = function() {}, + u = function() { + var t, + e = n(28)("iframe"), + r = i.length; + for ( + e.style.display = "none", + n(50).appendChild(e), + e.src = "javascript:", + (t = e.contentWindow.document).open(), + t.write(""), + t.close(), + u = t.F; + r--; + + ) + delete u.prototype[i[r]]; + return u(); + }; + t.exports = + Object.create || + function(t, e) { + var n; + return ( + null !== t + ? ((s.prototype = r(t)), + (n = new s()), + (s.prototype = null), + (n[a] = t)) + : (n = u()), + void 0 === e ? n : o(n, e) + ); + }; + }, + function(t, e, n) { + var r = n(11), + o = n(15), + i = n(71)(!1), + a = n(32)("IE_PROTO"); + t.exports = function(t, e) { + var n, + s = o(t), + u = 0, + l = []; + for (n in s) n != a && r(s, n) && l.push(n); + for (; e.length > u; ) r(s, (n = e[u++])) && (~i(l, n) || l.push(n)); + return l; + }; + }, + function(t, e, n) { + var r = n(1).document; + t.exports = r && r.documentElement; + }, + function(t, e, n) { + var r = n(16), + o = n(2)("toStringTag"), + i = + "Arguments" == + r( + (function() { + return arguments; + })() + ); + t.exports = function(t) { + var e, n, a; + return void 0 === t + ? "Undefined" + : null === t + ? "Null" + : "string" == + typeof (n = (function(t, e) { + try { + return t[e]; + } catch (t) {} + })((e = Object(t)), o)) + ? n + : i + ? r(e) + : "Object" == (a = r(e)) && "function" == typeof e.callee + ? "Arguments" + : a; + }; + }, + function(t, e, n) { + var r = n(4), + o = n(22), + i = n(2)("species"); + t.exports = function(t, e) { + var n, + a = r(t).constructor; + return void 0 === a || null == (n = r(a)[i]) ? e : o(n); + }; + }, + function(t, e, n) { + var r, + o, + i, + a = n(12), + s = n(78), + u = n(50), + l = n(28), + c = n(1), + f = c.process, + p = c.setImmediate, + h = c.clearImmediate, + d = c.MessageChannel, + v = c.Dispatch, + m = 0, + y = {}, + g = function() { + var t = +this; + if (y.hasOwnProperty(t)) { + var e = y[t]; + delete y[t], e(); + } + }, + b = function(t) { + g.call(t.data); + }; + (p && h) || + ((p = function(t) { + for (var e = [], n = 1; arguments.length > n; ) e.push(arguments[n++]); + return ( + (y[++m] = function() { + s("function" == typeof t ? t : Function(t), e); + }), + r(m), + m + ); + }), + (h = function(t) { + delete y[t]; + }), + "process" == n(16)(f) + ? (r = function(t) { + f.nextTick(a(g, t, 1)); + }) + : v && v.now + ? (r = function(t) { + v.now(a(g, t, 1)); + }) + : d + ? ((i = (o = new d()).port2), + (o.port1.onmessage = b), + (r = a(i.postMessage, i, 1))) + : c.addEventListener && + "function" == typeof postMessage && + !c.importScripts + ? ((r = function(t) { + c.postMessage(t + "", "*"); + }), + c.addEventListener("message", b, !1)) + : (r = + "onreadystatechange" in l("script") + ? function(t) { + u.appendChild( + l("script") + ).onreadystatechange = function() { + u.removeChild(this), g.call(t); + }; + } + : function(t) { + setTimeout(a(g, t, 1), 0); + })), + (t.exports = { set: p, clear: h }); + }, + function(t, e, n) { + "use strict"; + var r = n(22); + function o(t) { + var e, n; + (this.promise = new t(function(t, r) { + if (void 0 !== e || void 0 !== n) + throw TypeError("Bad Promise constructor"); + (e = t), (n = r); + })), + (this.resolve = r(e)), + (this.reject = r(n)); + } + t.exports.f = function(t) { + return new o(t); + }; + }, + function(t, e, n) { + var r = n(4), + o = n(3), + i = n(54); + t.exports = function(t, e) { + if ((r(t), o(e) && e.constructor === t)) return e; + var n = i.f(t); + return (0, n.resolve)(e), n.promise; + }; + }, + function(t, e, n) { + var r = n(2)("iterator"), + o = !1; + try { + var i = [7][r](); + (i.return = function() { + o = !0; + }), + Array.from(i, function() { + throw 2; + }); + } catch (t) {} + t.exports = function(t, e) { + if (!e && !o) return !1; + var n = !1; + try { + var i = [7], + a = i[r](); + (a.next = function() { + return { done: (n = !0) }; + }), + (i[r] = function() { + return a; + }), + t(i); + } catch (t) {} + return n; + }; + }, + function(t, e) { + e.f = Object.getOwnPropertySymbols; + }, + function(t, e) { + e.f = {}.propertyIsEnumerable; + }, + function(t, e, n) { + var r = n(5), + o = n(8), + i = n(9); + t.exports = function(t, e) { + var n = (o.Object || {})[t] || Object[t], + a = {}; + (a[t] = e(n)), + r( + r.S + + r.F * + i(function() { + n(1); + }), + "Object", + a + ); + }; + }, + function(t, e, n) { + var r = n(58), + o = n(21), + i = n(15), + a = n(45), + s = n(11), + u = n(44), + l = Object.getOwnPropertyDescriptor; + e.f = n(7) + ? l + : function(t, e) { + if (((t = i(t)), (e = a(e, !0)), u)) + try { + return l(t, e); + } catch (t) {} + if (s(t, e)) return o(!r.f.call(t, e), t[e]); + }; + }, + function(t, e, n) { + "use strict"; + var r = n(92)(!0); + n(29)( + String, + "String", + function(t) { + (this._t = String(t)), (this._i = 0); + }, + function() { + var t, + e = this._t, + n = this._i; + return n >= e.length + ? { value: void 0, done: !0 } + : ((t = r(e, n)), (this._i += t.length), { value: t, done: !1 }); + } + ); + }, + function(t, e, n) { + var r = n(3); + t.exports = function(t, e) { + if (!r(t) || t._t !== e) + throw TypeError("Incompatible receiver, " + e + " required!"); + return t; + }; + }, + function(t, e) { + var n = "Expected a function", + r = NaN, + o = "[object Symbol]", + i = /^\s+|\s+$/g, + a = /^[-+]0x[0-9a-f]+$/i, + s = /^0b[01]+$/i, + u = /^0o[0-7]+$/i, + l = parseInt, + c = + "object" == typeof global && + global && + global.Object === Object && + global, + f = "object" == typeof self && self && self.Object === Object && self, + p = c || f || Function("return this")(), + h = Object.prototype.toString, + d = Math.max, + v = Math.min, + m = function() { + return p.Date.now(); + }; + function y(t, e, r) { + var o, + i, + a, + s, + u, + l, + c = 0, + f = !1, + p = !1, + h = !0; + if ("function" != typeof t) throw new TypeError(n); + function y(e) { + var n = o, + r = i; + return (o = i = void 0), (c = e), (s = t.apply(r, n)); + } + function _(t) { + var n = t - l; + return void 0 === l || n >= e || n < 0 || (p && t - c >= a); + } + function w() { + var t = m(); + if (_(t)) return x(t); + u = setTimeout( + w, + (function(t) { + var n = e - (t - l); + return p ? v(n, a - (t - c)) : n; + })(t) + ); + } + function x(t) { + return (u = void 0), h && o ? y(t) : ((o = i = void 0), s); + } + function k() { + var t = m(), + n = _(t); + if (((o = arguments), (i = this), (l = t), n)) { + if (void 0 === u) + return (function(t) { + return (c = t), (u = setTimeout(w, e)), f ? y(t) : s; + })(l); + if (p) return (u = setTimeout(w, e)), y(l); + } + return void 0 === u && (u = setTimeout(w, e)), s; + } + return ( + (e = b(e) || 0), + g(r) && + ((f = !!r.leading), + (a = (p = "maxWait" in r) ? d(b(r.maxWait) || 0, e) : a), + (h = "trailing" in r ? !!r.trailing : h)), + (k.cancel = function() { + void 0 !== u && clearTimeout(u), (c = 0), (o = l = i = u = void 0); + }), + (k.flush = function() { + return void 0 === u ? s : x(m()); + }), + k + ); + } + function g(t) { + var e = typeof t; + return !!t && ("object" == e || "function" == e); + } + function b(t) { + if ("number" == typeof t) return t; + if ( + (function(t) { + return ( + "symbol" == typeof t || + ((function(t) { + return !!t && "object" == typeof t; + })(t) && + h.call(t) == o) + ); + })(t) + ) + return r; + if (g(t)) { + var e = "function" == typeof t.valueOf ? t.valueOf() : t; + t = g(e) ? e + "" : e; + } + if ("string" != typeof t) return 0 === t ? t : +t; + t = t.replace(i, ""); + var n = s.test(t); + return n || u.test(t) ? l(t.slice(2), n ? 2 : 8) : a.test(t) ? r : +t; + } + t.exports = function(t, e, r) { + var o = !0, + i = !0; + if ("function" != typeof t) throw new TypeError(n); + return ( + g(r) && + ((o = "leading" in r ? !!r.leading : o), + (i = "trailing" in r ? !!r.trailing : i)), + y(t, e, { leading: o, maxWait: e, trailing: i }) + ); + }; + }, + function(t, e, n) { + var r = n(3), + o = n(16), + i = n(2)("match"); + t.exports = function(t) { + var e; + return r(t) && (void 0 !== (e = t[i]) ? !!e : "RegExp" == o(t)); + }; + }, + function(t, e, n) { + var r = n(49), + o = n(33).concat("length", "prototype"); + e.f = + Object.getOwnPropertyNames || + function(t) { + return r(t, o); + }; + }, + function(t, e, n) { + var r = n(3), + o = n(96).set; + t.exports = function(t, e, n) { + var i, + a = e.constructor; + return ( + a !== n && + "function" == typeof a && + (i = a.prototype) !== n.prototype && + r(i) && + o && + o(t, i), + t + ); + }; + }, + function(t, e, n) { + t.exports = n(99); + }, + function(t, e, n) { + var r = n(2)("unscopables"), + o = Array.prototype; + null == o[r] && n(10)(o, r, {}), + (t.exports = function(t) { + o[r][t] = !0; + }); + }, + function(t, e, n) { + "use strict"; + var r = n(48), + o = n(21), + i = n(24), + a = {}; + n(10)(a, n(2)("iterator"), function() { + return this; + }), + (t.exports = function(t, e, n) { + (t.prototype = r(a, { next: o(1, n) })), i(t, e + " Iterator"); + }); + }, + function(t, e, n) { + var r = n(6), + o = n(4), + i = n(23); + t.exports = n(7) + ? Object.defineProperties + : function(t, e) { + o(t); + for (var n, a = i(e), s = a.length, u = 0; s > u; ) + r.f(t, (n = a[u++]), e[n]); + return t; + }; + }, + function(t, e, n) { + var r = n(15), + o = n(30), + i = n(72); + t.exports = function(t) { + return function(e, n, a) { + var s, + u = r(e), + l = o(u.length), + c = i(a, l); + if (t && n != n) { + for (; l > c; ) if ((s = u[c++]) != s) return !0; + } else + for (; l > c; c++) + if ((t || c in u) && u[c] === n) return t || c || 0; + return !t && -1; + }; + }; + }, + function(t, e, n) { + var r = n(31), + o = Math.max, + i = Math.min; + t.exports = function(t, e) { + return (t = r(t)) < 0 ? o(t + e, 0) : i(t, e); + }; + }, + function(t, e, n) { + var r = n(11), + o = n(34), + i = n(32)("IE_PROTO"), + a = Object.prototype; + t.exports = + Object.getPrototypeOf || + function(t) { + return ( + (t = o(t)), + r(t, i) + ? t[i] + : "function" == typeof t.constructor && t instanceof t.constructor + ? t.constructor.prototype + : t instanceof Object + ? a + : null + ); + }; + }, + function(t, e, n) { + "use strict"; + var r, + o, + i, + a, + s = n(27), + u = n(1), + l = n(12), + c = n(51), + f = n(5), + p = n(3), + h = n(22), + d = n(35), + v = n(36), + m = n(52), + y = n(53).set, + g = n(79)(), + b = n(54), + _ = n(80), + w = n(81), + x = n(55), + k = u.TypeError, + O = u.process, + C = O && O.versions, + $ = (C && C.v8) || "", + S = u.Promise, + E = "process" == c(O), + A = function() {}, + j = (o = b.f), + L = !!(function() { + try { + var t = S.resolve(1), + e = ((t.constructor = {})[n(2)("species")] = function(t) { + t(A, A); + }); + return ( + (E || "function" == typeof PromiseRejectionEvent) && + t.then(A) instanceof e && + 0 !== $.indexOf("6.6") && + -1 === w.indexOf("Chrome/66") + ); + } catch (t) {} + })(), + P = function(t) { + var e; + return !(!p(t) || "function" != typeof (e = t.then)) && e; + }, + T = function(t, e) { + if (!t._n) { + t._n = !0; + var n = t._c; + g(function() { + for ( + var r = t._v, + o = 1 == t._s, + i = 0, + a = function(e) { + var n, + i, + a, + s = o ? e.ok : e.fail, + u = e.resolve, + l = e.reject, + c = e.domain; + try { + s + ? (o || (2 == t._h && R(t), (t._h = 1)), + !0 === s + ? (n = r) + : (c && c.enter(), + (n = s(r)), + c && (c.exit(), (a = !0))), + n === e.promise + ? l(k("Promise-chain cycle")) + : (i = P(n)) + ? i.call(n, u, l) + : u(n)) + : l(r); + } catch (t) { + c && !a && c.exit(), l(t); + } + }; + n.length > i; + + ) + a(n[i++]); + (t._c = []), (t._n = !1), e && !t._h && M(t); + }); + } + }, + M = function(t) { + y.call(u, function() { + var e, + n, + r, + o = t._v, + i = I(t); + if ( + (i && + ((e = _(function() { + E + ? O.emit("unhandledRejection", o, t) + : (n = u.onunhandledrejection) + ? n({ promise: t, reason: o }) + : (r = u.console) && + r.error && + r.error("Unhandled promise rejection", o); + })), + (t._h = E || I(t) ? 2 : 1)), + (t._a = void 0), + i && e.e) + ) + throw e.v; + }); + }, + I = function(t) { + return 1 !== t._h && 0 === (t._a || t._c).length; + }, + R = function(t) { + y.call(u, function() { + var e; + E + ? O.emit("rejectionHandled", t) + : (e = u.onrejectionhandled) && e({ promise: t, reason: t._v }); + }); + }, + D = function(t) { + var e = this; + e._d || + ((e._d = !0), + ((e = e._w || e)._v = t), + (e._s = 2), + e._a || (e._a = e._c.slice()), + T(e, !0)); + }, + N = function(t) { + var e, + n = this; + if (!n._d) { + (n._d = !0), (n = n._w || n); + try { + if (n === t) throw k("Promise can't be resolved itself"); + (e = P(t)) + ? g(function() { + var r = { _w: n, _d: !1 }; + try { + e.call(t, l(N, r, 1), l(D, r, 1)); + } catch (t) { + D.call(r, t); + } + }) + : ((n._v = t), (n._s = 1), T(n, !1)); + } catch (t) { + D.call({ _w: n, _d: !1 }, t); + } + } + }; + L || + ((S = function(t) { + d(this, S, "Promise", "_h"), h(t), r.call(this); + try { + t(l(N, this, 1), l(D, this, 1)); + } catch (t) { + D.call(this, t); + } + }), + ((r = function(t) { + (this._c = []), + (this._a = void 0), + (this._s = 0), + (this._d = !1), + (this._v = void 0), + (this._h = 0), + (this._n = !1); + }).prototype = n(37)(S.prototype, { + then: function(t, e) { + var n = j(m(this, S)); + return ( + (n.ok = "function" != typeof t || t), + (n.fail = "function" == typeof e && e), + (n.domain = E ? O.domain : void 0), + this._c.push(n), + this._a && this._a.push(n), + this._s && T(this, !1), + n.promise + ); + }, + catch: function(t) { + return this.then(void 0, t); + } + })), + (i = function() { + var t = new r(); + (this.promise = t), + (this.resolve = l(N, t, 1)), + (this.reject = l(D, t, 1)); + }), + (b.f = j = function(t) { + return t === S || t === a ? new i(t) : o(t); + })), + f(f.G + f.W + f.F * !L, { Promise: S }), + n(24)(S, "Promise"), + n(41)("Promise"), + (a = n(8).Promise), + f(f.S + f.F * !L, "Promise", { + reject: function(t) { + var e = j(this); + return (0, e.reject)(t), e.promise; + } + }), + f(f.S + f.F * (s || !L), "Promise", { + resolve: function(t) { + return x(s && this === a ? S : this, t); + } + }), + f( + f.S + + f.F * + !( + L && + n(56)(function(t) { + S.all(t).catch(A); + }) + ), + "Promise", + { + all: function(t) { + var e = this, + n = j(e), + r = n.resolve, + o = n.reject, + i = _(function() { + var n = [], + i = 0, + a = 1; + v(t, !1, function(t) { + var s = i++, + u = !1; + n.push(void 0), + a++, + e.resolve(t).then(function(t) { + u || ((u = !0), (n[s] = t), --a || r(n)); + }, o); + }), + --a || r(n); + }); + return i.e && o(i.v), n.promise; + }, + race: function(t) { + var e = this, + n = j(e), + r = n.reject, + o = _(function() { + v(t, !1, function(t) { + e.resolve(t).then(n.resolve, r); + }); + }); + return o.e && r(o.v), n.promise; + } + } + ); + }, + function(t, e, n) { + var r = n(4); + t.exports = function(t, e, n, o) { + try { + return o ? e(r(n)[0], n[1]) : e(n); + } catch (e) { + var i = t.return; + throw (void 0 !== i && r(i.call(t)), e); + } + }; + }, + function(t, e, n) { + var r = n(14), + o = n(2)("iterator"), + i = Array.prototype; + t.exports = function(t) { + return void 0 !== t && (r.Array === t || i[o] === t); + }; + }, + function(t, e, n) { + var r = n(51), + o = n(2)("iterator"), + i = n(14); + t.exports = n(8).getIteratorMethod = function(t) { + if (null != t) return t[o] || t["@@iterator"] || i[r(t)]; + }; + }, + function(t, e) { + t.exports = function(t, e, n) { + var r = void 0 === n; + switch (e.length) { + case 0: + return r ? t() : t.call(n); + case 1: + return r ? t(e[0]) : t.call(n, e[0]); + case 2: + return r ? t(e[0], e[1]) : t.call(n, e[0], e[1]); + case 3: + return r ? t(e[0], e[1], e[2]) : t.call(n, e[0], e[1], e[2]); + case 4: + return r + ? t(e[0], e[1], e[2], e[3]) + : t.call(n, e[0], e[1], e[2], e[3]); + } + return t.apply(n, e); + }; + }, + function(t, e, n) { + var r = n(1), + o = n(53).set, + i = r.MutationObserver || r.WebKitMutationObserver, + a = r.process, + s = r.Promise, + u = "process" == n(16)(a); + t.exports = function() { + var t, + e, + n, + l = function() { + var r, o; + for (u && (r = a.domain) && r.exit(); t; ) { + (o = t.fn), (t = t.next); + try { + o(); + } catch (r) { + throw (t ? n() : (e = void 0), r); + } + } + (e = void 0), r && r.enter(); + }; + if (u) + n = function() { + a.nextTick(l); + }; + else if (!i || (r.navigator && r.navigator.standalone)) + if (s && s.resolve) { + var c = s.resolve(void 0); + n = function() { + c.then(l); + }; + } else + n = function() { + o.call(r, l); + }; + else { + var f = !0, + p = document.createTextNode(""); + new i(l).observe(p, { characterData: !0 }), + (n = function() { + p.data = f = !f; + }); + } + return function(r) { + var o = { fn: r, next: void 0 }; + e && (e.next = o), t || ((t = o), n()), (e = o); + }; + }; + }, + function(t, e) { + t.exports = function(t) { + try { + return { e: !1, v: t() }; + } catch (t) { + return { e: !0, v: t }; + } + }; + }, + function(t, e, n) { + var r = n(1).navigator; + t.exports = (r && r.userAgent) || ""; + }, + function(t, e, n) { + "use strict"; + var r = n(5), + o = n(8), + i = n(1), + a = n(52), + s = n(55); + r(r.P + r.R, "Promise", { + finally: function(t) { + var e = a(this, o.Promise || i.Promise), + n = "function" == typeof t; + return this.then( + n + ? function(n) { + return s(e, t()).then(function() { + return n; + }); + } + : t, + n + ? function(n) { + return s(e, t()).then(function() { + throw n; + }); + } + : t + ); + } + }); + }, + function(t, e, n) { + "use strict"; + var r = n(23), + o = n(57), + i = n(58), + a = n(34), + s = n(47), + u = Object.assign; + t.exports = + !u || + n(9)(function() { + var t = {}, + e = {}, + n = Symbol(), + r = "abcdefghijklmnopqrst"; + return ( + (t[n] = 7), + r.split("").forEach(function(t) { + e[t] = t; + }), + 7 != u({}, t)[n] || Object.keys(u({}, e)).join("") != r + ); + }) + ? function(t, e) { + for ( + var n = a(t), u = arguments.length, l = 1, c = o.f, f = i.f; + u > l; + + ) + for ( + var p, + h = s(arguments[l++]), + d = c ? r(h).concat(c(h)) : r(h), + v = d.length, + m = 0; + v > m; + + ) + f.call(h, (p = d[m++])) && (n[p] = h[p]); + return n; + } + : u; + }, + function(t, e, n) { + var r = n(3), + o = n(38).onFreeze; + n(59)("freeze", function(t) { + return function(e) { + return t && r(e) ? t(o(e)) : e; + }; + }); + }, + function(t, e, n) { + "use strict"; + var r = n(5), + o = n(30), + i = n(86), + a = "".startsWith; + r(r.P + r.F * n(87)("startsWith"), "String", { + startsWith: function(t) { + var e = i(this, t, "startsWith"), + n = o( + Math.min(arguments.length > 1 ? arguments[1] : void 0, e.length) + ), + r = String(t); + return a ? a.call(e, r, n) : e.slice(n, n + r.length) === r; + } + }); + }, + function(t, e, n) { + var r = n(64), + o = n(19); + t.exports = function(t, e, n) { + if (r(e)) throw TypeError("String#" + n + " doesn't accept regex!"); + return String(o(t)); + }; + }, + function(t, e, n) { + var r = n(2)("match"); + t.exports = function(t) { + var e = /./; + try { + "/./"[t](e); + } catch (n) { + try { + return (e[r] = !1), !"/./"[t](e); + } catch (t) {} + } + return !0; + }; + }, + function(t, e, n) { + var r = n(5), + o = n(89), + i = n(15), + a = n(60), + s = n(90); + r(r.S, "Object", { + getOwnPropertyDescriptors: function(t) { + for ( + var e, n, r = i(t), u = a.f, l = o(r), c = {}, f = 0; + l.length > f; + + ) + void 0 !== (n = u(r, (e = l[f++]))) && s(c, e, n); + return c; + } + }); + }, + function(t, e, n) { + var r = n(65), + o = n(57), + i = n(4), + a = n(1).Reflect; + t.exports = + (a && a.ownKeys) || + function(t) { + var e = r.f(i(t)), + n = o.f; + return n ? e.concat(n(t)) : e; + }; + }, + function(t, e, n) { + "use strict"; + var r = n(6), + o = n(21); + t.exports = function(t, e, n) { + e in t ? r.f(t, e, o(0, n)) : (t[e] = n); + }; + }, + function(t, e) { + !(function(e) { + "use strict"; + var n, + r = Object.prototype, + o = r.hasOwnProperty, + i = "function" == typeof Symbol ? Symbol : {}, + a = i.iterator || "@@iterator", + s = i.asyncIterator || "@@asyncIterator", + u = i.toStringTag || "@@toStringTag", + l = "object" == typeof t, + c = e.regeneratorRuntime; + if (c) l && (t.exports = c); + else { + (c = e.regeneratorRuntime = l ? t.exports : {}).wrap = _; + var f = "suspendedStart", + p = "suspendedYield", + h = "executing", + d = "completed", + v = {}, + m = {}; + m[a] = function() { + return this; + }; + var y = Object.getPrototypeOf, + g = y && y(y(L([]))); + g && g !== r && o.call(g, a) && (m = g); + var b = (O.prototype = x.prototype = Object.create(m)); + (k.prototype = b.constructor = O), + (O.constructor = k), + (O[u] = k.displayName = "GeneratorFunction"), + (c.isGeneratorFunction = function(t) { + var e = "function" == typeof t && t.constructor; + return ( + !!e && + (e === k || "GeneratorFunction" === (e.displayName || e.name)) + ); + }), + (c.mark = function(t) { + return ( + Object.setPrototypeOf + ? Object.setPrototypeOf(t, O) + : ((t.__proto__ = O), u in t || (t[u] = "GeneratorFunction")), + (t.prototype = Object.create(b)), + t + ); + }), + (c.awrap = function(t) { + return { __await: t }; + }), + C($.prototype), + ($.prototype[s] = function() { + return this; + }), + (c.AsyncIterator = $), + (c.async = function(t, e, n, r) { + var o = new $(_(t, e, n, r)); + return c.isGeneratorFunction(e) + ? o + : o.next().then(function(t) { + return t.done ? t.value : o.next(); + }); + }), + C(b), + (b[u] = "Generator"), + (b[a] = function() { + return this; + }), + (b.toString = function() { + return "[object Generator]"; + }), + (c.keys = function(t) { + var e = []; + for (var n in t) e.push(n); + return ( + e.reverse(), + function n() { + for (; e.length; ) { + var r = e.pop(); + if (r in t) return (n.value = r), (n.done = !1), n; + } + return (n.done = !0), n; + } + ); + }), + (c.values = L), + (j.prototype = { + constructor: j, + reset: function(t) { + if ( + ((this.prev = 0), + (this.next = 0), + (this.sent = this._sent = n), + (this.done = !1), + (this.delegate = null), + (this.method = "next"), + (this.arg = n), + this.tryEntries.forEach(A), + !t) + ) + for (var e in this) + "t" === e.charAt(0) && + o.call(this, e) && + !isNaN(+e.slice(1)) && + (this[e] = n); + }, + stop: function() { + this.done = !0; + var t = this.tryEntries[0].completion; + if ("throw" === t.type) throw t.arg; + return this.rval; + }, + dispatchException: function(t) { + if (this.done) throw t; + var e = this; + function r(r, o) { + return ( + (s.type = "throw"), + (s.arg = t), + (e.next = r), + o && ((e.method = "next"), (e.arg = n)), + !!o + ); + } + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var a = this.tryEntries[i], + s = a.completion; + if ("root" === a.tryLoc) return r("end"); + if (a.tryLoc <= this.prev) { + var u = o.call(a, "catchLoc"), + l = o.call(a, "finallyLoc"); + if (u && l) { + if (this.prev < a.catchLoc) return r(a.catchLoc, !0); + if (this.prev < a.finallyLoc) return r(a.finallyLoc); + } else if (u) { + if (this.prev < a.catchLoc) return r(a.catchLoc, !0); + } else { + if (!l) + throw new Error("try statement without catch or finally"); + if (this.prev < a.finallyLoc) return r(a.finallyLoc); + } + } + } + }, + abrupt: function(t, e) { + for (var n = this.tryEntries.length - 1; n >= 0; --n) { + var r = this.tryEntries[n]; + if ( + r.tryLoc <= this.prev && + o.call(r, "finallyLoc") && + this.prev < r.finallyLoc + ) { + var i = r; + break; + } + } + i && + ("break" === t || "continue" === t) && + i.tryLoc <= e && + e <= i.finallyLoc && + (i = null); + var a = i ? i.completion : {}; + return ( + (a.type = t), + (a.arg = e), + i + ? ((this.method = "next"), (this.next = i.finallyLoc), v) + : this.complete(a) + ); + }, + complete: function(t, e) { + if ("throw" === t.type) throw t.arg; + return ( + "break" === t.type || "continue" === t.type + ? (this.next = t.arg) + : "return" === t.type + ? ((this.rval = this.arg = t.arg), + (this.method = "return"), + (this.next = "end")) + : "normal" === t.type && e && (this.next = e), + v + ); + }, + finish: function(t) { + for (var e = this.tryEntries.length - 1; e >= 0; --e) { + var n = this.tryEntries[e]; + if (n.finallyLoc === t) + return this.complete(n.completion, n.afterLoc), A(n), v; + } + }, + catch: function(t) { + for (var e = this.tryEntries.length - 1; e >= 0; --e) { + var n = this.tryEntries[e]; + if (n.tryLoc === t) { + var r = n.completion; + if ("throw" === r.type) { + var o = r.arg; + A(n); + } + return o; + } + } + throw new Error("illegal catch attempt"); + }, + delegateYield: function(t, e, r) { + return ( + (this.delegate = { iterator: L(t), resultName: e, nextLoc: r }), + "next" === this.method && (this.arg = n), + v + ); + } + }); + } + function _(t, e, n, r) { + var o = e && e.prototype instanceof x ? e : x, + i = Object.create(o.prototype), + a = new j(r || []); + return ( + (i._invoke = (function(t, e, n) { + var r = f; + return function(o, i) { + if (r === h) throw new Error("Generator is already running"); + if (r === d) { + if ("throw" === o) throw i; + return P(); + } + for (n.method = o, n.arg = i; ; ) { + var a = n.delegate; + if (a) { + var s = S(a, n); + if (s) { + if (s === v) continue; + return s; + } + } + if ("next" === n.method) n.sent = n._sent = n.arg; + else if ("throw" === n.method) { + if (r === f) throw ((r = d), n.arg); + n.dispatchException(n.arg); + } else "return" === n.method && n.abrupt("return", n.arg); + r = h; + var u = w(t, e, n); + if ("normal" === u.type) { + if (((r = n.done ? d : p), u.arg === v)) continue; + return { value: u.arg, done: n.done }; + } + "throw" === u.type && + ((r = d), (n.method = "throw"), (n.arg = u.arg)); + } + }; + })(t, n, a)), + i + ); + } + function w(t, e, n) { + try { + return { type: "normal", arg: t.call(e, n) }; + } catch (t) { + return { type: "throw", arg: t }; + } + } + function x() {} + function k() {} + function O() {} + function C(t) { + ["next", "throw", "return"].forEach(function(e) { + t[e] = function(t) { + return this._invoke(e, t); + }; + }); + } + function $(t) { + var e; + this._invoke = function(n, r) { + function i() { + return new Promise(function(e, i) { + !(function e(n, r, i, a) { + var s = w(t[n], t, r); + if ("throw" !== s.type) { + var u = s.arg, + l = u.value; + return l && "object" == typeof l && o.call(l, "__await") + ? Promise.resolve(l.__await).then( + function(t) { + e("next", t, i, a); + }, + function(t) { + e("throw", t, i, a); + } + ) + : Promise.resolve(l).then( + function(t) { + (u.value = t), i(u); + }, + function(t) { + return e("throw", t, i, a); + } + ); + } + a(s.arg); + })(n, r, e, i); + }); + } + return (e = e ? e.then(i, i) : i()); + }; + } + function S(t, e) { + var r = t.iterator[e.method]; + if (r === n) { + if (((e.delegate = null), "throw" === e.method)) { + if ( + t.iterator.return && + ((e.method = "return"), + (e.arg = n), + S(t, e), + "throw" === e.method) + ) + return v; + (e.method = "throw"), + (e.arg = new TypeError( + "The iterator does not provide a 'throw' method" + )); + } + return v; + } + var o = w(r, t.iterator, e.arg); + if ("throw" === o.type) + return (e.method = "throw"), (e.arg = o.arg), (e.delegate = null), v; + var i = o.arg; + return i + ? i.done + ? ((e[t.resultName] = i.value), + (e.next = t.nextLoc), + "return" !== e.method && ((e.method = "next"), (e.arg = n)), + (e.delegate = null), + v) + : i + : ((e.method = "throw"), + (e.arg = new TypeError("iterator result is not an object")), + (e.delegate = null), + v); + } + function E(t) { + var e = { tryLoc: t[0] }; + 1 in t && (e.catchLoc = t[1]), + 2 in t && ((e.finallyLoc = t[2]), (e.afterLoc = t[3])), + this.tryEntries.push(e); + } + function A(t) { + var e = t.completion || {}; + (e.type = "normal"), delete e.arg, (t.completion = e); + } + function j(t) { + (this.tryEntries = [{ tryLoc: "root" }]), + t.forEach(E, this), + this.reset(!0); + } + function L(t) { + if (t) { + var e = t[a]; + if (e) return e.call(t); + if ("function" == typeof t.next) return t; + if (!isNaN(t.length)) { + var r = -1, + i = function e() { + for (; ++r < t.length; ) + if (o.call(t, r)) return (e.value = t[r]), (e.done = !1), e; + return (e.value = n), (e.done = !0), e; + }; + return (i.next = i); + } + } + return { next: P }; + } + function P() { + return { value: n, done: !0 }; + } + })( + (function() { + return this || ("object" == typeof self && self); + })() || Function("return this")() + ); + }, + function(t, e, n) { + var r = n(31), + o = n(19); + t.exports = function(t) { + return function(e, n) { + var i, + a, + s = String(o(e)), + u = r(n), + l = s.length; + return u < 0 || u >= l + ? t + ? "" + : void 0 + : (i = s.charCodeAt(u)) < 55296 || + i > 56319 || + u + 1 === l || + (a = s.charCodeAt(u + 1)) < 56320 || + a > 57343 + ? t + ? s.charAt(u) + : i + : t + ? s.slice(u, u + 2) + : a - 56320 + ((i - 55296) << 10) + 65536; + }; + }; + }, + function(t, e, n) { + "use strict"; + var r = n(94), + o = n(62); + t.exports = n(95)( + "Set", + function(t) { + return function() { + return t(this, arguments.length > 0 ? arguments[0] : void 0); + }; + }, + { + add: function(t) { + return r.def(o(this, "Set"), (t = 0 === t ? 0 : t), t); + } + }, + r + ); + }, + function(t, e, n) { + "use strict"; + var r = n(6).f, + o = n(48), + i = n(37), + a = n(12), + s = n(35), + u = n(36), + l = n(29), + c = n(46), + f = n(41), + p = n(7), + h = n(38).fastKey, + d = n(62), + v = p ? "_s" : "size", + m = function(t, e) { + var n, + r = h(e); + if ("F" !== r) return t._i[r]; + for (n = t._f; n; n = n.n) if (n.k == e) return n; + }; + t.exports = { + getConstructor: function(t, e, n, l) { + var c = t(function(t, r) { + s(t, c, e, "_i"), + (t._t = e), + (t._i = o(null)), + (t._f = void 0), + (t._l = void 0), + (t[v] = 0), + null != r && u(r, n, t[l], t); + }); + return ( + i(c.prototype, { + clear: function() { + for (var t = d(this, e), n = t._i, r = t._f; r; r = r.n) + (r.r = !0), r.p && (r.p = r.p.n = void 0), delete n[r.i]; + (t._f = t._l = void 0), (t[v] = 0); + }, + delete: function(t) { + var n = d(this, e), + r = m(n, t); + if (r) { + var o = r.n, + i = r.p; + delete n._i[r.i], + (r.r = !0), + i && (i.n = o), + o && (o.p = i), + n._f == r && (n._f = o), + n._l == r && (n._l = i), + n[v]--; + } + return !!r; + }, + forEach: function(t) { + d(this, e); + for ( + var n, + r = a(t, arguments.length > 1 ? arguments[1] : void 0, 3); + (n = n ? n.n : this._f); + + ) + for (r(n.v, n.k, this); n && n.r; ) n = n.p; + }, + has: function(t) { + return !!m(d(this, e), t); + } + }), + p && + r(c.prototype, "size", { + get: function() { + return d(this, e)[v]; + } + }), + c + ); + }, + def: function(t, e, n) { + var r, + o, + i = m(t, e); + return ( + i + ? (i.v = n) + : ((t._l = i = { + i: (o = h(e, !0)), + k: e, + v: n, + p: (r = t._l), + n: void 0, + r: !1 + }), + t._f || (t._f = i), + r && (r.n = i), + t[v]++, + "F" !== o && (t._i[o] = i)), + t + ); + }, + getEntry: m, + setStrong: function(t, e, n) { + l( + t, + e, + function(t, n) { + (this._t = d(t, e)), (this._k = n), (this._l = void 0); + }, + function() { + for (var t = this._k, e = this._l; e && e.r; ) e = e.p; + return this._t && (this._l = e = e ? e.n : this._t._f) + ? c(0, "keys" == t ? e.k : "values" == t ? e.v : [e.k, e.v]) + : ((this._t = void 0), c(1)); + }, + n ? "entries" : "values", + !n, + !0 + ), + f(e); + } + }; + }, + function(t, e, n) { + "use strict"; + var r = n(1), + o = n(5), + i = n(13), + a = n(37), + s = n(38), + u = n(36), + l = n(35), + c = n(3), + f = n(9), + p = n(56), + h = n(24), + d = n(66); + t.exports = function(t, e, n, v, m, y) { + var g = r[t], + b = g, + _ = m ? "set" : "add", + w = b && b.prototype, + x = {}, + k = function(t) { + var e = w[t]; + i( + w, + t, + "delete" == t + ? function(t) { + return !(y && !c(t)) && e.call(this, 0 === t ? 0 : t); + } + : "has" == t + ? function(t) { + return !(y && !c(t)) && e.call(this, 0 === t ? 0 : t); + } + : "get" == t + ? function(t) { + return y && !c(t) + ? void 0 + : e.call(this, 0 === t ? 0 : t); + } + : "add" == t + ? function(t) { + return e.call(this, 0 === t ? 0 : t), this; + } + : function(t, n) { + return e.call(this, 0 === t ? 0 : t, n), this; + } + ); + }; + if ( + "function" == typeof b && + (y || + (w.forEach && + !f(function() { + new b().entries().next(); + }))) + ) { + var O = new b(), + C = O[_](y ? {} : -0, 1) != O, + $ = f(function() { + O.has(1); + }), + S = p(function(t) { + new b(t); + }), + E = + !y && + f(function() { + for (var t = new b(), e = 5; e--; ) t[_](e, e); + return !t.has(-0); + }); + S || + (((b = e(function(e, n) { + l(e, b, t); + var r = d(new g(), e, b); + return null != n && u(n, m, r[_], r), r; + })).prototype = w), + (w.constructor = b)), + ($ || E) && (k("delete"), k("has"), m && k("get")), + (E || C) && k(_), + y && w.clear && delete w.clear; + } else + (b = v.getConstructor(e, t, m, _)), a(b.prototype, n), (s.NEED = !0); + return ( + h(b, t), + (x[t] = b), + o(o.G + o.W + o.F * (b != g), x), + y || v.setStrong(b, t, m), + b + ); + }; + }, + function(t, e, n) { + var r = n(3), + o = n(4), + i = function(t, e) { + if ((o(t), !r(e) && null !== e)) + throw TypeError(e + ": can't set as prototype!"); + }; + t.exports = { + set: + Object.setPrototypeOf || + ("__proto__" in {} + ? (function(t, e, r) { + try { + (r = n(12)( + Function.call, + n(60).f(Object.prototype, "__proto__").set, + 2 + ))(t, []), + (e = !(t instanceof Array)); + } catch (t) { + e = !0; + } + return function(t, n) { + return i(t, n), e ? (t.__proto__ = n) : r(t, n), t; + }; + })({}, !1) + : void 0), + check: i + }; + }, + function(t, e, n) { + Promise.all([n.e(0), n.e(5)]).then(n.t.bind(null, 100, 7)); + }, + function(t, e, n) { + "use strict"; + var r = n(26); + n.n(r).a; + }, + function(t, e, n) { + "use strict"; + n.r(e); + n(42), n(74), n(82), n(18), n(39); + var r = n(0); + function o(t) { + return Object.prototype.toString.call(t).indexOf("Error") > -1; + } + function i(t, e) { + for (var n in e) t[n] = e[n]; + return t; + } + var a = { + name: "RouterView", + functional: !0, + props: { name: { type: String, default: "default" } }, + render: function(t, e) { + var n = e.props, + r = e.children, + o = e.parent, + a = e.data; + a.routerView = !0; + for ( + var s = o.$createElement, + u = n.name, + l = o.$route, + c = o._routerViewCache || (o._routerViewCache = {}), + f = 0, + p = !1; + o && o._routerRoot !== o; + + ) + o.$vnode && o.$vnode.data.routerView && f++, + o._inactive && (p = !0), + (o = o.$parent); + if (((a.routerViewDepth = f), p)) return s(c[u], a, r); + var h = l.matched[f]; + if (!h) return (c[u] = null), s(); + var d = (c[u] = h.components[u]); + (a.registerRouteInstance = function(t, e) { + var n = h.instances[u]; + ((e && n !== t) || (!e && n === t)) && (h.instances[u] = e); + }), + ((a.hook || (a.hook = {})).prepatch = function(t, e) { + h.instances[u] = e.componentInstance; + }); + var v = (a.props = (function(t, e) { + switch (typeof e) { + case "undefined": + return; + case "object": + return e; + case "function": + return e(t); + case "boolean": + return e ? t.params : void 0; + default: + 0; + } + })(l, h.props && h.props[u])); + if (v) { + v = a.props = i({}, v); + var m = (a.attrs = a.attrs || {}); + for (var y in v) + (d.props && y in d.props) || ((m[y] = v[y]), delete v[y]); + } + return s(d, a, r); + } + }; + var s = /[!'()*]/g, + u = function(t) { + return "%" + t.charCodeAt(0).toString(16); + }, + l = /%2C/g, + c = function(t) { + return encodeURIComponent(t) + .replace(s, u) + .replace(l, ","); + }, + f = decodeURIComponent; + function p(t) { + var e = {}; + return (t = t.trim().replace(/^(\?|#|&)/, "")) + ? (t.split("&").forEach(function(t) { + var n = t.replace(/\+/g, " ").split("="), + r = f(n.shift()), + o = n.length > 0 ? f(n.join("=")) : null; + void 0 === e[r] + ? (e[r] = o) + : Array.isArray(e[r]) + ? e[r].push(o) + : (e[r] = [e[r], o]); + }), + e) + : e; + } + function h(t) { + var e = t + ? Object.keys(t) + .map(function(e) { + var n = t[e]; + if (void 0 === n) return ""; + if (null === n) return c(e); + if (Array.isArray(n)) { + var r = []; + return ( + n.forEach(function(t) { + void 0 !== t && + (null === t ? r.push(c(e)) : r.push(c(e) + "=" + c(t))); + }), + r.join("&") + ); + } + return c(e) + "=" + c(n); + }) + .filter(function(t) { + return t.length > 0; + }) + .join("&") + : null; + return e ? "?" + e : ""; + } + var d = /\/?$/; + function v(t, e, n, r) { + var o = r && r.options.stringifyQuery, + i = e.query || {}; + try { + i = m(i); + } catch (t) {} + var a = { + name: e.name || (t && t.name), + meta: (t && t.meta) || {}, + path: e.path || "/", + hash: e.hash || "", + query: i, + params: e.params || {}, + fullPath: b(e, o), + matched: t ? g(t) : [] + }; + return n && (a.redirectedFrom = b(n, o)), Object.freeze(a); + } + function m(t) { + if (Array.isArray(t)) return t.map(m); + if (t && "object" == typeof t) { + var e = {}; + for (var n in t) e[n] = m(t[n]); + return e; + } + return t; + } + var y = v(null, { path: "/" }); + function g(t) { + for (var e = []; t; ) e.unshift(t), (t = t.parent); + return e; + } + function b(t, e) { + var n = t.path, + r = t.query; + void 0 === r && (r = {}); + var o = t.hash; + return void 0 === o && (o = ""), (n || "/") + (e || h)(r) + o; + } + function _(t, e) { + return e === y + ? t === e + : !!e && + (t.path && e.path + ? t.path.replace(d, "") === e.path.replace(d, "") && + t.hash === e.hash && + w(t.query, e.query) + : !(!t.name || !e.name) && + (t.name === e.name && + t.hash === e.hash && + w(t.query, e.query) && + w(t.params, e.params))); + } + function w(t, e) { + if ((void 0 === t && (t = {}), void 0 === e && (e = {}), !t || !e)) + return t === e; + var n = Object.keys(t), + r = Object.keys(e); + return ( + n.length === r.length && + n.every(function(n) { + var r = t[n], + o = e[n]; + return "object" == typeof r && "object" == typeof o + ? w(r, o) + : String(r) === String(o); + }) + ); + } + var x, + k = [String, Object], + O = [String, Array], + C = { + name: "RouterLink", + props: { + to: { type: k, required: !0 }, + tag: { type: String, default: "a" }, + exact: Boolean, + append: Boolean, + replace: Boolean, + activeClass: String, + exactActiveClass: String, + event: { type: O, default: "click" } + }, + render: function(t) { + var e = this, + n = this.$router, + r = this.$route, + o = n.resolve(this.to, r, this.append), + a = o.location, + s = o.route, + u = o.href, + l = {}, + c = n.options.linkActiveClass, + f = n.options.linkExactActiveClass, + p = null == c ? "router-link-active" : c, + h = null == f ? "router-link-exact-active" : f, + m = null == this.activeClass ? p : this.activeClass, + y = null == this.exactActiveClass ? h : this.exactActiveClass, + g = a.path ? v(null, a, null, n) : s; + (l[y] = _(r, g)), + (l[m] = this.exact + ? l[y] + : (function(t, e) { + return ( + 0 === + t.path.replace(d, "/").indexOf(e.path.replace(d, "/")) && + (!e.hash || t.hash === e.hash) && + (function(t, e) { + for (var n in e) if (!(n in t)) return !1; + return !0; + })(t.query, e.query) + ); + })(r, g)); + var b = function(t) { + $(t) && (e.replace ? n.replace(a) : n.push(a)); + }, + w = { click: $ }; + Array.isArray(this.event) + ? this.event.forEach(function(t) { + w[t] = b; + }) + : (w[this.event] = b); + var x = { class: l }; + if ("a" === this.tag) (x.on = w), (x.attrs = { href: u }); + else { + var k = (function t(e) { + if (e) + for (var n, r = 0; r < e.length; r++) { + if ("a" === (n = e[r]).tag) return n; + if (n.children && (n = t(n.children))) return n; + } + })(this.$slots.default); + if (k) + (k.isStatic = !1), + ((k.data = i({}, k.data)).on = w), + ((k.data.attrs = i({}, k.data.attrs)).href = u); + else x.on = w; + } + return t(this.tag, x, this.$slots.default); + } + }; + function $(t) { + if ( + !( + t.metaKey || + t.altKey || + t.ctrlKey || + t.shiftKey || + t.defaultPrevented || + (void 0 !== t.button && 0 !== t.button) + ) + ) { + if (t.currentTarget && t.currentTarget.getAttribute) { + var e = t.currentTarget.getAttribute("target"); + if (/\b_blank\b/i.test(e)) return; + } + return t.preventDefault && t.preventDefault(), !0; + } + } + var S = "undefined" != typeof window; + function E(t, e, n) { + var r = t.charAt(0); + if ("/" === r) return t; + if ("?" === r || "#" === r) return e + t; + var o = e.split("/"); + (n && o[o.length - 1]) || o.pop(); + for (var i = t.replace(/^\//, "").split("/"), a = 0; a < i.length; a++) { + var s = i[a]; + ".." === s ? o.pop() : "." !== s && o.push(s); + } + return "" !== o[0] && o.unshift(""), o.join("/"); + } + function A(t) { + return t.replace(/\/\//g, "/"); + } + var j = + Array.isArray || + function(t) { + return "[object Array]" == Object.prototype.toString.call(t); + }, + L = H, + P = D, + T = function(t, e) { + return F(D(t, e)); + }, + M = F, + I = q, + R = new RegExp( + [ + "(\\\\.)", + "([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))" + ].join("|"), + "g" + ); + function D(t, e) { + for ( + var n, r = [], o = 0, i = 0, a = "", s = (e && e.delimiter) || "/"; + null != (n = R.exec(t)); + + ) { + var u = n[0], + l = n[1], + c = n.index; + if (((a += t.slice(i, c)), (i = c + u.length), l)) a += l[1]; + else { + var f = t[i], + p = n[2], + h = n[3], + d = n[4], + v = n[5], + m = n[6], + y = n[7]; + a && (r.push(a), (a = "")); + var g = null != p && null != f && f !== p, + b = "+" === m || "*" === m, + _ = "?" === m || "*" === m, + w = n[2] || s, + x = d || v; + r.push({ + name: h || o++, + prefix: p || "", + delimiter: w, + optional: _, + repeat: b, + partial: g, + asterisk: !!y, + pattern: x ? V(x) : y ? ".*" : "[^" + U(w) + "]+?" + }); + } + } + return i < t.length && (a += t.substr(i)), a && r.push(a), r; + } + function N(t) { + return encodeURI(t).replace(/[\/?#]/g, function(t) { + return ( + "%" + + t + .charCodeAt(0) + .toString(16) + .toUpperCase() + ); + }); + } + function F(t) { + for (var e = new Array(t.length), n = 0; n < t.length; n++) + "object" == typeof t[n] && + (e[n] = new RegExp("^(?:" + t[n].pattern + ")$")); + return function(n, r) { + for ( + var o = "", + i = n || {}, + a = (r || {}).pretty ? N : encodeURIComponent, + s = 0; + s < t.length; + s++ + ) { + var u = t[s]; + if ("string" != typeof u) { + var l, + c = i[u.name]; + if (null == c) { + if (u.optional) { + u.partial && (o += u.prefix); + continue; + } + throw new TypeError('Expected "' + u.name + '" to be defined'); + } + if (j(c)) { + if (!u.repeat) + throw new TypeError( + 'Expected "' + + u.name + + '" to not repeat, but received `' + + JSON.stringify(c) + + "`" + ); + if (0 === c.length) { + if (u.optional) continue; + throw new TypeError( + 'Expected "' + u.name + '" to not be empty' + ); + } + for (var f = 0; f < c.length; f++) { + if (((l = a(c[f])), !e[s].test(l))) + throw new TypeError( + 'Expected all "' + + u.name + + '" to match "' + + u.pattern + + '", but received `' + + JSON.stringify(l) + + "`" + ); + o += (0 === f ? u.prefix : u.delimiter) + l; + } + } else { + if ( + ((l = u.asterisk + ? encodeURI(c).replace(/[?#]/g, function(t) { + return ( + "%" + + t + .charCodeAt(0) + .toString(16) + .toUpperCase() + ); + }) + : a(c)), + !e[s].test(l)) + ) + throw new TypeError( + 'Expected "' + + u.name + + '" to match "' + + u.pattern + + '", but received "' + + l + + '"' + ); + o += u.prefix + l; + } + } else o += u; + } + return o; + }; + } + function U(t) { + return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g, "\\$1"); + } + function V(t) { + return t.replace(/([=!:$\/()])/g, "\\$1"); + } + function z(t, e) { + return (t.keys = e), t; + } + function B(t) { + return t.sensitive ? "" : "i"; + } + function q(t, e, n) { + j(e) || ((n = e || n), (e = [])); + for ( + var r = (n = n || {}).strict, o = !1 !== n.end, i = "", a = 0; + a < t.length; + a++ + ) { + var s = t[a]; + if ("string" == typeof s) i += U(s); + else { + var u = U(s.prefix), + l = "(?:" + s.pattern + ")"; + e.push(s), + s.repeat && (l += "(?:" + u + l + ")*"), + (i += l = s.optional + ? s.partial + ? u + "(" + l + ")?" + : "(?:" + u + "(" + l + "))?" + : u + "(" + l + ")"); + } + } + var c = U(n.delimiter || "/"), + f = i.slice(-c.length) === c; + return ( + r || (i = (f ? i.slice(0, -c.length) : i) + "(?:" + c + "(?=$))?"), + (i += o ? "$" : r && f ? "" : "(?=" + c + "|$)"), + z(new RegExp("^" + i, B(n)), e) + ); + } + function H(t, e, n) { + return ( + j(e) || ((n = e || n), (e = [])), + (n = n || {}), + t instanceof RegExp + ? (function(t, e) { + var n = t.source.match(/\((?!\?)/g); + if (n) + for (var r = 0; r < n.length; r++) + e.push({ + name: r, + prefix: null, + delimiter: null, + optional: !1, + repeat: !1, + partial: !1, + asterisk: !1, + pattern: null + }); + return z(t, e); + })(t, e) + : j(t) + ? (function(t, e, n) { + for (var r = [], o = 0; o < t.length; o++) + r.push(H(t[o], e, n).source); + return z(new RegExp("(?:" + r.join("|") + ")", B(n)), e); + })(t, e, n) + : (function(t, e, n) { + return q(D(t, n), e, n); + })(t, e, n) + ); + } + (L.parse = P), + (L.compile = T), + (L.tokensToFunction = M), + (L.tokensToRegExp = I); + var G = Object.create(null); + function W(t, e, n) { + try { + return (G[t] || (G[t] = L.compile(t)))(e || {}, { pretty: !0 }); + } catch (t) { + return ""; + } + } + function K(t, e, n, r) { + var o = e || [], + i = n || Object.create(null), + a = r || Object.create(null); + t.forEach(function(t) { + !(function t(e, n, r, o, i, a) { + var s = o.path; + var u = o.name; + 0; + var l = o.pathToRegexpOptions || {}; + var c = (function(t, e, n) { + n || (t = t.replace(/\/$/, "")); + if ("/" === t[0]) return t; + if (null == e) return t; + return A(e.path + "/" + t); + })(s, i, l.strict); + "boolean" == typeof o.caseSensitive && + (l.sensitive = o.caseSensitive); + var f = { + path: c, + regex: Z(c, l), + components: o.components || { default: o.component }, + instances: {}, + name: u, + parent: i, + matchAs: a, + redirect: o.redirect, + beforeEnter: o.beforeEnter, + meta: o.meta || {}, + props: + null == o.props + ? {} + : o.components + ? o.props + : { default: o.props } + }; + o.children && + o.children.forEach(function(o) { + var i = a ? A(a + "/" + o.path) : void 0; + t(e, n, r, o, f, i); + }); + if (void 0 !== o.alias) { + var p = Array.isArray(o.alias) ? o.alias : [o.alias]; + p.forEach(function(a) { + var s = { path: a, children: o.children }; + t(e, n, r, s, i, f.path || "/"); + }); + } + n[f.path] || (e.push(f.path), (n[f.path] = f)); + u && (r[u] || (r[u] = f)); + })(o, i, a, t); + }); + for (var s = 0, u = o.length; s < u; s++) + "*" === o[s] && (o.push(o.splice(s, 1)[0]), u--, s--); + return { pathList: o, pathMap: i, nameMap: a }; + } + function Z(t, e) { + return L(t, [], e); + } + function X(t, e, n, r) { + var o = "string" == typeof t ? { path: t } : t; + if (o.name || o._normalized) return o; + if (!o.path && o.params && e) { + (o = i({}, o))._normalized = !0; + var a = i(i({}, e.params), o.params); + if (e.name) (o.name = e.name), (o.params = a); + else if (e.matched.length) { + var s = e.matched[e.matched.length - 1].path; + o.path = W(s, a, e.path); + } else 0; + return o; + } + var u = (function(t) { + var e = "", + n = "", + r = t.indexOf("#"); + r >= 0 && ((e = t.slice(r)), (t = t.slice(0, r))); + var o = t.indexOf("?"); + return ( + o >= 0 && ((n = t.slice(o + 1)), (t = t.slice(0, o))), + { path: t, query: n, hash: e } + ); + })(o.path || ""), + l = (e && e.path) || "/", + c = u.path ? E(u.path, l, n || o.append) : l, + f = (function(t, e, n) { + void 0 === e && (e = {}); + var r, + o = n || p; + try { + r = o(t || ""); + } catch (t) { + r = {}; + } + for (var i in e) r[i] = e[i]; + return r; + })(u.query, o.query, r && r.options.parseQuery), + h = o.hash || u.hash; + return ( + h && "#" !== h.charAt(0) && (h = "#" + h), + { _normalized: !0, path: c, query: f, hash: h } + ); + } + function Y(t, e) { + var n = K(t), + r = n.pathList, + o = n.pathMap, + i = n.nameMap; + function a(t, n, a) { + var s = X(t, n, !1, e), + l = s.name; + if (l) { + var c = i[l]; + if (!c) return u(null, s); + var f = c.regex.keys + .filter(function(t) { + return !t.optional; + }) + .map(function(t) { + return t.name; + }); + if ( + ("object" != typeof s.params && (s.params = {}), + n && "object" == typeof n.params) + ) + for (var p in n.params) + !(p in s.params) && + f.indexOf(p) > -1 && + (s.params[p] = n.params[p]); + if (c) return (s.path = W(c.path, s.params)), u(c, s, a); + } else if (s.path) { + s.params = {}; + for (var h = 0; h < r.length; h++) { + var d = r[h], + v = o[d]; + if (J(v.regex, s.path, s.params)) return u(v, s, a); + } + } + return u(null, s); + } + function s(t, n) { + var r = t.redirect, + o = "function" == typeof r ? r(v(t, n, null, e)) : r; + if ( + ("string" == typeof o && (o = { path: o }), + !o || "object" != typeof o) + ) + return u(null, n); + var s = o, + l = s.name, + c = s.path, + f = n.query, + p = n.hash, + h = n.params; + if ( + ((f = s.hasOwnProperty("query") ? s.query : f), + (p = s.hasOwnProperty("hash") ? s.hash : p), + (h = s.hasOwnProperty("params") ? s.params : h), + l) + ) { + i[l]; + return a( + { _normalized: !0, name: l, query: f, hash: p, params: h }, + void 0, + n + ); + } + if (c) { + var d = (function(t, e) { + return E(t, e.parent ? e.parent.path : "/", !0); + })(c, t); + return a( + { _normalized: !0, path: W(d, h), query: f, hash: p }, + void 0, + n + ); + } + return u(null, n); + } + function u(t, n, r) { + return t && t.redirect + ? s(t, r || n) + : t && t.matchAs + ? (function(t, e, n) { + var r = a({ _normalized: !0, path: W(n, e.params) }); + if (r) { + var o = r.matched, + i = o[o.length - 1]; + return (e.params = r.params), u(i, e); + } + return u(null, e); + })(0, n, t.matchAs) + : v(t, n, r, e); + } + return { + match: a, + addRoutes: function(t) { + K(t, r, o, i); + } + }; + } + function J(t, e, n) { + var r = e.match(t); + if (!r) return !1; + if (!n) return !0; + for (var o = 1, i = r.length; o < i; ++o) { + var a = t.keys[o - 1], + s = "string" == typeof r[o] ? decodeURIComponent(r[o]) : r[o]; + a && (n[a.name || "pathMatch"] = s); + } + return !0; + } + var Q = Object.create(null); + function tt() { + window.history.replaceState( + { key: pt() }, + "", + window.location.href.replace(window.location.origin, "") + ), + window.addEventListener("popstate", function(t) { + var e; + nt(), t.state && t.state.key && ((e = t.state.key), (ct = e)); + }); + } + function et(t, e, n, r) { + if (t.app) { + var o = t.options.scrollBehavior; + o && + t.app.$nextTick(function() { + var i = (function() { + var t = pt(); + if (t) return Q[t]; + })(), + a = o.call(t, e, n, r ? i : null); + a && + ("function" == typeof a.then + ? a + .then(function(t) { + at(t, i); + }) + .catch(function(t) { + 0; + }) + : at(a, i)); + }); + } + } + function nt() { + var t = pt(); + t && (Q[t] = { x: window.pageXOffset, y: window.pageYOffset }); + } + function rt(t) { + return it(t.x) || it(t.y); + } + function ot(t) { + return { + x: it(t.x) ? t.x : window.pageXOffset, + y: it(t.y) ? t.y : window.pageYOffset + }; + } + function it(t) { + return "number" == typeof t; + } + function at(t, e) { + var n, + r = "object" == typeof t; + if (r && "string" == typeof t.selector) { + var o = document.querySelector(t.selector); + if (o) { + var i = t.offset && "object" == typeof t.offset ? t.offset : {}; + e = (function(t, e) { + var n = document.documentElement.getBoundingClientRect(), + r = t.getBoundingClientRect(); + return { x: r.left - n.left - e.x, y: r.top - n.top - e.y }; + })(o, (i = { x: it((n = i).x) ? n.x : 0, y: it(n.y) ? n.y : 0 })); + } else rt(t) && (e = ot(t)); + } else r && rt(t) && (e = ot(t)); + e && window.scrollTo(e.x, e.y); + } + var st, + ut = + S && + (((-1 === (st = window.navigator.userAgent).indexOf("Android 2.") && + -1 === st.indexOf("Android 4.0")) || + -1 === st.indexOf("Mobile Safari") || + -1 !== st.indexOf("Chrome") || + -1 !== st.indexOf("Windows Phone")) && + window.history && + "pushState" in window.history), + lt = + S && window.performance && window.performance.now + ? window.performance + : Date, + ct = ft(); + function ft() { + return lt.now().toFixed(3); + } + function pt() { + return ct; + } + function ht(t, e) { + nt(); + var n = window.history; + try { + e + ? n.replaceState({ key: ct }, "", t) + : ((ct = ft()), n.pushState({ key: ct }, "", t)); + } catch (n) { + window.location[e ? "replace" : "assign"](t); + } + } + function dt(t) { + ht(t, !0); + } + function vt(t, e, n) { + var r = function(o) { + o >= t.length + ? n() + : t[o] + ? e(t[o], function() { + r(o + 1); + }) + : r(o + 1); + }; + r(0); + } + function mt(t) { + return function(e, n, r) { + var i = !1, + a = 0, + s = null; + yt(t, function(t, e, n, u) { + if ("function" == typeof t && void 0 === t.cid) { + (i = !0), a++; + var l, + c = _t(function(e) { + var o; + ((o = e).__esModule || + (bt && "Module" === o[Symbol.toStringTag])) && + (e = e.default), + (t.resolved = "function" == typeof e ? e : x.extend(e)), + (n.components[u] = e), + --a <= 0 && r(); + }), + f = _t(function(t) { + var e = "Failed to resolve async component " + u + ": " + t; + s || ((s = o(t) ? t : new Error(e)), r(s)); + }); + try { + l = t(c, f); + } catch (t) { + f(t); + } + if (l) + if ("function" == typeof l.then) l.then(c, f); + else { + var p = l.component; + p && "function" == typeof p.then && p.then(c, f); + } + } + }), + i || r(); + }; + } + function yt(t, e) { + return gt( + t.map(function(t) { + return Object.keys(t.components).map(function(n) { + return e(t.components[n], t.instances[n], t, n); + }); + }) + ); + } + function gt(t) { + return Array.prototype.concat.apply([], t); + } + var bt = + "function" == typeof Symbol && "symbol" == typeof Symbol.toStringTag; + function _t(t) { + var e = !1; + return function() { + for (var n = [], r = arguments.length; r--; ) n[r] = arguments[r]; + if (!e) return (e = !0), t.apply(this, n); + }; + } + var wt = function(t, e) { + (this.router = t), + (this.base = (function(t) { + if (!t) + if (S) { + var e = document.querySelector("base"); + t = (t = (e && e.getAttribute("href")) || "/").replace( + /^https?:\/\/[^\/]+/, + "" + ); + } else t = "/"; + "/" !== t.charAt(0) && (t = "/" + t); + return t.replace(/\/$/, ""); + })(e)), + (this.current = y), + (this.pending = null), + (this.ready = !1), + (this.readyCbs = []), + (this.readyErrorCbs = []), + (this.errorCbs = []); + }; + function xt(t, e, n, r) { + var o = yt(t, function(t, r, o, i) { + var a = (function(t, e) { + "function" != typeof t && (t = x.extend(t)); + return t.options[e]; + })(t, e); + if (a) + return Array.isArray(a) + ? a.map(function(t) { + return n(t, r, o, i); + }) + : n(a, r, o, i); + }); + return gt(r ? o.reverse() : o); + } + function kt(t, e) { + if (e) + return function() { + return t.apply(e, arguments); + }; + } + (wt.prototype.listen = function(t) { + this.cb = t; + }), + (wt.prototype.onReady = function(t, e) { + this.ready + ? t() + : (this.readyCbs.push(t), e && this.readyErrorCbs.push(e)); + }), + (wt.prototype.onError = function(t) { + this.errorCbs.push(t); + }), + (wt.prototype.transitionTo = function(t, e, n) { + var r = this, + o = this.router.match(t, this.current); + this.confirmTransition( + o, + function() { + r.updateRoute(o), + e && e(o), + r.ensureURL(), + r.ready || + ((r.ready = !0), + r.readyCbs.forEach(function(t) { + t(o); + })); + }, + function(t) { + n && n(t), + t && + !r.ready && + ((r.ready = !0), + r.readyErrorCbs.forEach(function(e) { + e(t); + })); + } + ); + }), + (wt.prototype.confirmTransition = function(t, e, n) { + var r = this, + i = this.current, + a = function(t) { + o(t) && + (r.errorCbs.length + ? r.errorCbs.forEach(function(e) { + e(t); + }) + : console.error(t)), + n && n(t); + }; + if (_(t, i) && t.matched.length === i.matched.length) + return this.ensureURL(), a(); + var s = (function(t, e) { + var n, + r = Math.max(t.length, e.length); + for (n = 0; n < r && t[n] === e[n]; n++); + return { + updated: e.slice(0, n), + activated: e.slice(n), + deactivated: t.slice(n) + }; + })(this.current.matched, t.matched), + u = s.updated, + l = s.deactivated, + c = s.activated, + f = [].concat( + (function(t) { + return xt(t, "beforeRouteLeave", kt, !0); + })(l), + this.router.beforeHooks, + (function(t) { + return xt(t, "beforeRouteUpdate", kt); + })(u), + c.map(function(t) { + return t.beforeEnter; + }), + mt(c) + ); + this.pending = t; + var p = function(e, n) { + if (r.pending !== t) return a(); + try { + e(t, i, function(t) { + !1 === t || o(t) + ? (r.ensureURL(!0), a(t)) + : "string" == typeof t || + ("object" == typeof t && + ("string" == typeof t.path || "string" == typeof t.name)) + ? (a(), + "object" == typeof t && t.replace + ? r.replace(t) + : r.push(t)) + : n(t); + }); + } catch (t) { + a(t); + } + }; + vt(f, p, function() { + var n = []; + vt( + (function(t, e, n) { + return xt(t, "beforeRouteEnter", function(t, r, o, i) { + return (function(t, e, n, r, o) { + return function(i, a, s) { + return t(i, a, function(t) { + s(t), + "function" == typeof t && + r.push(function() { + !(function t(e, n, r, o) { + n[r] && !n[r]._isBeingDestroyed + ? e(n[r]) + : o() && + setTimeout(function() { + t(e, n, r, o); + }, 16); + })(t, e.instances, n, o); + }); + }); + }; + })(t, o, i, e, n); + }); + })(c, n, function() { + return r.current === t; + }).concat(r.router.resolveHooks), + p, + function() { + if (r.pending !== t) return a(); + (r.pending = null), + e(t), + r.router.app && + r.router.app.$nextTick(function() { + n.forEach(function(t) { + t(); + }); + }); + } + ); + }); + }), + (wt.prototype.updateRoute = function(t) { + var e = this.current; + (this.current = t), + this.cb && this.cb(t), + this.router.afterHooks.forEach(function(n) { + n && n(t, e); + }); + }); + var Ot = (function(t) { + function e(e, n) { + var r = this; + t.call(this, e, n); + var o = e.options.scrollBehavior, + i = ut && o; + i && tt(); + var a = Ct(this.base); + window.addEventListener("popstate", function(t) { + var n = r.current, + o = Ct(r.base); + (r.current === y && o === a) || + r.transitionTo(o, function(t) { + i && et(e, t, n, !0); + }); + }); + } + return ( + t && (e.__proto__ = t), + (e.prototype = Object.create(t && t.prototype)), + (e.prototype.constructor = e), + (e.prototype.go = function(t) { + window.history.go(t); + }), + (e.prototype.push = function(t, e, n) { + var r = this, + o = this.current; + this.transitionTo( + t, + function(t) { + ht(A(r.base + t.fullPath)), et(r.router, t, o, !1), e && e(t); + }, + n + ); + }), + (e.prototype.replace = function(t, e, n) { + var r = this, + o = this.current; + this.transitionTo( + t, + function(t) { + dt(A(r.base + t.fullPath)), et(r.router, t, o, !1), e && e(t); + }, + n + ); + }), + (e.prototype.ensureURL = function(t) { + if (Ct(this.base) !== this.current.fullPath) { + var e = A(this.base + this.current.fullPath); + t ? ht(e) : dt(e); + } + }), + (e.prototype.getCurrentLocation = function() { + return Ct(this.base); + }), + e + ); + })(wt); + function Ct(t) { + var e = decodeURI(window.location.pathname); + return ( + t && 0 === e.indexOf(t) && (e = e.slice(t.length)), + (e || "/") + window.location.search + window.location.hash + ); + } + var $t = (function(t) { + function e(e, n, r) { + t.call(this, e, n), + (r && + (function(t) { + var e = Ct(t); + if (!/^\/#/.test(e)) + return window.location.replace(A(t + "/#" + e)), !0; + })(this.base)) || + St(); + } + return ( + t && (e.__proto__ = t), + (e.prototype = Object.create(t && t.prototype)), + (e.prototype.constructor = e), + (e.prototype.setupListeners = function() { + var t = this, + e = this.router.options.scrollBehavior, + n = ut && e; + n && tt(), + window.addEventListener(ut ? "popstate" : "hashchange", function() { + var e = t.current; + St() && + t.transitionTo(Et(), function(r) { + n && et(t.router, r, e, !0), ut || Lt(r.fullPath); + }); + }); + }), + (e.prototype.push = function(t, e, n) { + var r = this, + o = this.current; + this.transitionTo( + t, + function(t) { + jt(t.fullPath), et(r.router, t, o, !1), e && e(t); + }, + n + ); + }), + (e.prototype.replace = function(t, e, n) { + var r = this, + o = this.current; + this.transitionTo( + t, + function(t) { + Lt(t.fullPath), et(r.router, t, o, !1), e && e(t); + }, + n + ); + }), + (e.prototype.go = function(t) { + window.history.go(t); + }), + (e.prototype.ensureURL = function(t) { + var e = this.current.fullPath; + Et() !== e && (t ? jt(e) : Lt(e)); + }), + (e.prototype.getCurrentLocation = function() { + return Et(); + }), + e + ); + })(wt); + function St() { + var t = Et(); + return "/" === t.charAt(0) || (Lt("/" + t), !1); + } + function Et() { + var t = window.location.href, + e = t.indexOf("#"); + return -1 === e ? "" : decodeURI(t.slice(e + 1)); + } + function At(t) { + var e = window.location.href, + n = e.indexOf("#"); + return (n >= 0 ? e.slice(0, n) : e) + "#" + t; + } + function jt(t) { + ut ? ht(At(t)) : (window.location.hash = t); + } + function Lt(t) { + ut ? dt(At(t)) : window.location.replace(At(t)); + } + var Pt = (function(t) { + function e(e, n) { + t.call(this, e, n), (this.stack = []), (this.index = -1); + } + return ( + t && (e.__proto__ = t), + (e.prototype = Object.create(t && t.prototype)), + (e.prototype.constructor = e), + (e.prototype.push = function(t, e, n) { + var r = this; + this.transitionTo( + t, + function(t) { + (r.stack = r.stack.slice(0, r.index + 1).concat(t)), + r.index++, + e && e(t); + }, + n + ); + }), + (e.prototype.replace = function(t, e, n) { + var r = this; + this.transitionTo( + t, + function(t) { + (r.stack = r.stack.slice(0, r.index).concat(t)), e && e(t); + }, + n + ); + }), + (e.prototype.go = function(t) { + var e = this, + n = this.index + t; + if (!(n < 0 || n >= this.stack.length)) { + var r = this.stack[n]; + this.confirmTransition(r, function() { + (e.index = n), e.updateRoute(r); + }); + } + }), + (e.prototype.getCurrentLocation = function() { + var t = this.stack[this.stack.length - 1]; + return t ? t.fullPath : "/"; + }), + (e.prototype.ensureURL = function() {}), + e + ); + })(wt), + Tt = function(t) { + void 0 === t && (t = {}), + (this.app = null), + (this.apps = []), + (this.options = t), + (this.beforeHooks = []), + (this.resolveHooks = []), + (this.afterHooks = []), + (this.matcher = Y(t.routes || [], this)); + var e = t.mode || "hash"; + switch ( + ((this.fallback = "history" === e && !ut && !1 !== t.fallback), + this.fallback && (e = "hash"), + S || (e = "abstract"), + (this.mode = e), + e) + ) { + case "history": + this.history = new Ot(this, t.base); + break; + case "hash": + this.history = new $t(this, t.base, this.fallback); + break; + case "abstract": + this.history = new Pt(this, t.base); + break; + default: + 0; + } + }, + Mt = { currentRoute: { configurable: !0 } }; + function It(t, e) { + return ( + t.push(e), + function() { + var n = t.indexOf(e); + n > -1 && t.splice(n, 1); + } + ); + } + (Tt.prototype.match = function(t, e, n) { + return this.matcher.match(t, e, n); + }), + (Mt.currentRoute.get = function() { + return this.history && this.history.current; + }), + (Tt.prototype.init = function(t) { + var e = this; + if ((this.apps.push(t), !this.app)) { + this.app = t; + var n = this.history; + if (n instanceof Ot) n.transitionTo(n.getCurrentLocation()); + else if (n instanceof $t) { + var r = function() { + n.setupListeners(); + }; + n.transitionTo(n.getCurrentLocation(), r, r); + } + n.listen(function(t) { + e.apps.forEach(function(e) { + e._route = t; + }); + }); + } + }), + (Tt.prototype.beforeEach = function(t) { + return It(this.beforeHooks, t); + }), + (Tt.prototype.beforeResolve = function(t) { + return It(this.resolveHooks, t); + }), + (Tt.prototype.afterEach = function(t) { + return It(this.afterHooks, t); + }), + (Tt.prototype.onReady = function(t, e) { + this.history.onReady(t, e); + }), + (Tt.prototype.onError = function(t) { + this.history.onError(t); + }), + (Tt.prototype.push = function(t, e, n) { + this.history.push(t, e, n); + }), + (Tt.prototype.replace = function(t, e, n) { + this.history.replace(t, e, n); + }), + (Tt.prototype.go = function(t) { + this.history.go(t); + }), + (Tt.prototype.back = function() { + this.go(-1); + }), + (Tt.prototype.forward = function() { + this.go(1); + }), + (Tt.prototype.getMatchedComponents = function(t) { + var e = t ? (t.matched ? t : this.resolve(t).route) : this.currentRoute; + return e + ? [].concat.apply( + [], + e.matched.map(function(t) { + return Object.keys(t.components).map(function(e) { + return t.components[e]; + }); + }) + ) + : []; + }), + (Tt.prototype.resolve = function(t, e, n) { + var r = X(t, e || this.history.current, n, this), + o = this.match(r, e), + i = o.redirectedFrom || o.fullPath; + return { + location: r, + route: o, + href: (function(t, e, n) { + var r = "hash" === n ? "#" + e : e; + return t ? A(t + "/" + r) : r; + })(this.history.base, i, this.mode), + normalizedTo: r, + resolved: o + }; + }), + (Tt.prototype.addRoutes = function(t) { + this.matcher.addRoutes(t), + this.history.current !== y && + this.history.transitionTo(this.history.getCurrentLocation()); + }), + Object.defineProperties(Tt.prototype, Mt), + (Tt.install = function t(e) { + if (!t.installed || x !== e) { + (t.installed = !0), (x = e); + var n = function(t) { + return void 0 !== t; + }, + r = function(t, e) { + var r = t.$options._parentVnode; + n(r) && + n((r = r.data)) && + n((r = r.registerRouteInstance)) && + r(t, e); + }; + e.mixin({ + beforeCreate: function() { + n(this.$options.router) + ? ((this._routerRoot = this), + (this._router = this.$options.router), + this._router.init(this), + e.util.defineReactive( + this, + "_route", + this._router.history.current + )) + : (this._routerRoot = + (this.$parent && this.$parent._routerRoot) || this), + r(this, this); + }, + destroyed: function() { + r(this); + } + }), + Object.defineProperty(e.prototype, "$router", { + get: function() { + return this._routerRoot._router; + } + }), + Object.defineProperty(e.prototype, "$route", { + get: function() { + return this._routerRoot._route; + } + }), + e.component("RouterView", a), + e.component("RouterLink", C); + var o = e.config.optionMergeStrategies; + o.beforeRouteEnter = o.beforeRouteLeave = o.beforeRouteUpdate = + o.created; + } + }), + (Tt.version = "3.0.2"), + S && window.Vue && window.Vue.use(Tt); + var Rt = Tt; + n(84), n(85), n(40), n(88); + function Dt(t) { + return (Dt = + "function" == typeof Symbol && "symbol" == typeof Symbol.iterator + ? function(t) { + return typeof t; + } + : function(t) { + return t && + "function" == typeof Symbol && + t.constructor === Symbol && + t !== Symbol.prototype + ? "symbol" + : typeof t; + })(t); + } + function Nt(t) { + return (Nt = + "function" == typeof Symbol && "symbol" === Dt(Symbol.iterator) + ? function(t) { + return Dt(t); + } + : function(t) { + return t && + "function" == typeof Symbol && + t.constructor === Symbol && + t !== Symbol.prototype + ? "symbol" + : Dt(t); + })(t); + } + var Ft = n(25); + n(91); + function Ut(t, e, n, r, o, i, a) { + try { + var s = t[i](a), + u = s.value; + } catch (t) { + return void n(t); + } + s.done ? e(u) : Promise.resolve(u).then(r, o); + } + n(61); + var Vt = { + NotFound: () => Promise.all([n.e(0), n.e(3)]).then(n.bind(null, 140)), + Layout: () => Promise.all([n.e(0), n.e(2)]).then(n.bind(null, 139)) + }, + zt = { + "v-acd593fc": () => n.e(6).then(n.bind(null, 141)), + "v-073619c3": () => n.e(8).then(n.bind(null, 144)), + "v-9af1f7dc": () => n.e(7).then(n.bind(null, 153)), + "v-0bcaedd9": () => n.e(9).then(n.bind(null, 150)), + "v-77c73199": () => n.e(10).then(n.bind(null, 143)), + "v-5717614d": () => n.e(11).then(n.bind(null, 145)), + "v-1f50ee59": () => n.e(12).then(n.bind(null, 146)), + "v-45aa14ce": () => n.e(13).then(n.bind(null, 147)), + "v-cd0cec28": () => n.e(14).then(n.bind(null, 148)), + "v-5b471da2": () => n.e(15).then(n.bind(null, 149)), + "v-3df8c167": () => n.e(17).then(n.bind(null, 151)), + "v-f144760e": () => n.e(18).then(n.bind(null, 155)), + "v-147a1068": () => n.e(19).then(n.bind(null, 157)), + "v-254c4c59": () => n.e(20).then(n.bind(null, 159)), + "v-2939380e": () => n.e(21).then(n.bind(null, 161)), + "v-fb4e549a": () => n.e(22).then(n.bind(null, 142)), + "v-0250a037": () => n.e(23).then(n.bind(null, 160)), + "v-0f9139b7": () => n.e(24).then(n.bind(null, 158)), + "v-50ef8540": () => n.e(25).then(n.bind(null, 156)), + "v-2692d7ee": () => n.e(26).then(n.bind(null, 154)), + "v-6c9c2319": () => n.e(16).then(n.bind(null, 152)) + }, + Bt = Object.assign({}, Vt, zt); + function qt() { + for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++) + e[n] = arguments[n]; + return Promise.all( + e + .filter(function(t) { + return t; + }) + .map( + (function() { + var t, + e = ((t = regeneratorRuntime.mark(function t(e) { + var n; + return regeneratorRuntime.wrap( + function(t) { + for (;;) + switch ((t.prev = t.next)) { + case 0: + if (r.a.component(e) || !Bt[e]) { + t.next = 5; + break; + } + return (t.next = 3), Bt[e](); + case 3: + (n = t.sent), r.a.component(e, n.default); + case 5: + case "end": + return t.stop(); + } + }, + t, + this + ); + })), + function() { + var e = this, + n = arguments; + return new Promise(function(r, o) { + var i = t.apply(e, n); + function a(t) { + Ut(i, r, o, a, s, "next", t); + } + function s(t) { + Ut(i, r, o, a, s, "throw", t); + } + a(void 0); + }); + }); + return function(t) { + return e.apply(this, arguments); + }; + })() + ) + ); + } + n(93); + var Ht = { + created: function() { + this.$ssrContext && + ((this.$ssrContext.title = this.$title), + (this.$ssrContext.lang = this.$lang), + (this.$ssrContext.description = + this.$page.description || this.$description)); + }, + mounted: function() { + (this.currentMetaTags = new Set()), this.updateMeta(); + }, + methods: { + updateMeta: function() { + var t = this; + (document.title = this.$title), + (document.documentElement.lang = this.$lang); + var e = this.$page.frontmatter.meta || [], + n = e.slice(0); + 0 === + e.filter(function(t) { + return "description" === t.name; + }).length && + n.push({ name: "description", content: this.$description }); + var r = document.querySelectorAll('meta[name="description"]'); + r.length && + r.forEach(function(e) { + return t.currentMetaTags.add(e); + }), + (this.currentMetaTags = new Set(Gt(n, this.currentMetaTags))); + } + }, + watch: { + $page: function() { + this.updateMeta(); + } + }, + beforeDestroy: function() { + Gt(null, this.currentMetaTags); + } + }; + function Gt(t, e) { + if ( + (e && + Object(Ft.a)(e).forEach(function(t) { + document.head.removeChild(t); + }), + t) + ) + return t.map(function(t) { + var e = document.createElement("meta"); + return ( + Object.keys(t).forEach(function(n) { + e.setAttribute(n, t[n]); + }), + document.head.appendChild(e), + e + ); + }); + } + var Wt = n(63), + Kt = [ + Ht, + { + mounted() { + window.addEventListener("scroll", this.onScroll); + }, + methods: { + onScroll: n.n(Wt)()(function() { + this.setActiveHash(); + }, 300), + setActiveHash() { + const t = [].slice.call( + document.querySelectorAll(".sidebar-link") + ), + e = [].slice + .call(document.querySelectorAll(".header-anchor")) + .filter(e => t.some(t => t.hash === e.hash)), + n = Math.max( + window.pageYOffset, + document.documentElement.scrollTop, + document.body.scrollTop + ); + for (let t = 0; t < e.length; t++) { + const r = e[t], + o = e[t + 1]; + if ( + ((0 === t && 0 === n) || + (n >= r.parentElement.offsetTop + 10 && + (!o || n < o.parentElement.offsetTop - 10))) && + decodeURIComponent(this.$route.hash) !== + decodeURIComponent(r.hash) + ) + return ( + this.$vuepress.$set("disableScrollBehavior", !0), + void this.$router.replace( + decodeURIComponent(r.hash), + () => { + this.$nextTick(() => { + this.$vuepress.$set("disableScrollBehavior", !1); + }); + } + ) + ); + } + } + }, + beforeDestroy() { + window.removeEventListener("scroll", this.onScroll); + } + } + ], + Zt = { + computed: { + layout: function() { + return this.$page.path + ? this.$page.frontmatter.layout || "Layout" + : "NotFound"; + } + } + }, + Xt = n(17), + Yt = Object(Xt.a)( + Zt, + function() { + var t = this.$createElement; + return (this._self._c || t)(this.layout, { tag: "component" }); + }, + [], + !1, + null, + null, + null + ); + Yt.options.__file = "LayoutDistributor.vue"; + var Jt = Yt.exports; + !(function(t, e, n) { + var r; + switch (e) { + case "components": + t[e] || (t[e] = {}), Object.assign(t[e], n); + break; + case "mixins": + t[e] || (t[e] = []), (r = t[e]).push.apply(r, Object(Ft.a)(n)); + break; + default: + throw new Error("Unknown option name."); + } + })(Jt, "mixins", Kt); + const Qt = [ + { + name: "v-acd593fc", + path: "/", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-acd593fc").then(n); + } + }, + { path: "/index.html", redirect: "/" }, + { + name: "v-073619c3", + path: "/api/Layers/canvaslayer.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-073619c3").then(n); + } + }, + { + name: "v-9af1f7dc", + path: "/api/Layers/", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-9af1f7dc").then(n); + } + }, + { path: "/api/Layers/index.html", redirect: "/api/Layers/" }, + { + name: "v-0bcaedd9", + path: "/api/Layers/geojsonlayer.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-0bcaedd9").then(n); + } + }, + { + name: "v-77c73199", + path: "/api/Layers/imagelayer.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-77c73199").then(n); + } + }, + { + name: "v-5717614d", + path: "/api/Layers/rasterlayer.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-5717614d").then(n); + } + }, + { + name: "v-1f50ee59", + path: "/api/Layers/vectorlayer.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-1f50ee59").then(n); + } + }, + { + name: "v-45aa14ce", + path: "/api/Layers/videolayer.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-45aa14ce").then(n); + } + }, + { + name: "v-cd0cec28", + path: "/api/", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-cd0cec28").then(n); + } + }, + { path: "/api/index.html", redirect: "/api/" }, + { + name: "v-5b471da2", + path: "/api/controls.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-5b471da2").then(n); + } + }, + { + name: "v-3df8c167", + path: "/api/marker.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-3df8c167").then(n); + } + }, + { + name: "v-f144760e", + path: "/api/popup.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-f144760e").then(n); + } + }, + { + name: "v-147a1068", + path: "/guide/", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-147a1068").then(n); + } + }, + { path: "/guide/index.html", redirect: "/guide/" }, + { + name: "v-254c4c59", + path: "/guide/basemap.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-254c4c59").then(n); + } + }, + { + name: "v-2939380e", + path: "/guide/composition.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-2939380e").then(n); + } + }, + { + name: "v-fb4e549a", + path: "/guide/controls.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-fb4e549a").then(n); + } + }, + { + name: "v-0250a037", + path: "/guide/layers&sources.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-0250a037").then(n); + } + }, + { + name: "v-0f9139b7", + path: "/guide/markers&popups.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-0f9139b7").then(n); + } + }, + { + name: "v-50ef8540", + path: "/plugins/", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-50ef8540").then(n); + } + }, + { path: "/plugins/index.html", redirect: "/plugins/" }, + { + name: "v-2692d7ee", + path: "/plugins/plugin_development.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-2692d7ee").then(n); + } + }, + { + name: "v-6c9c2319", + path: "/api/glmap.html", + component: Jt, + beforeEnter: (t, e, n) => { + qt("Layout", "v-6c9c2319").then(n); + } + }, + { path: "*", component: Jt } + ], + te = { + title: "VueMapbox", + description: "Combine powers of Mapbox GL JS and Vue.js", + base: "/vue-mapbox/", + pages: [ + { + title: "Home", + frontmatter: { + home: !0, + heroImage: "/logo.svg", + actionText: "Get Started →", + actionLink: "/guide/", + features: [ + { + title: "Declarative style", + details: + "You can use map elements like layers, markers, popups as Vue components and control them via synchronized props" + }, + { + title: "Vuefied", + details: + "Map elements declared as components respect Vue lifecycle, emit map events like Vue events and can be used in OOP-style" + }, + { + title: "Promisified async actions", + details: + "You can do async map operations and get results in Promise without messing with map events and figuring out what action cause it" + } + ], + footer: "MIT Licensed" + }, + regularPath: "/", + key: "v-acd593fc", + path: "/" + }, + { + title: "CanvasLayer", + frontmatter: {}, + regularPath: "/api/Layers/canvaslayer.html", + key: "v-073619c3", + path: "/api/Layers/canvaslayer.html", + headers: [ + { level: 2, title: "Props", slug: "props" }, + { level: 3, title: "canvas", slug: "canvas" }, + { level: 3, title: "coordinates", slug: "coordinates" }, + { level: 3, title: "animate", slug: "animate" }, + { level: 3, title: "width", slug: "width" }, + { level: 3, title: "height", slug: "height" }, + { level: 2, title: "Events", slug: "events" } + ] + }, + { + title: "Layers common", + frontmatter: {}, + regularPath: "/api/Layers/", + key: "v-9af1f7dc", + path: "/api/Layers/", + headers: [ + { level: 2, title: "Props", slug: "props" }, + { level: 3, title: "sourceId", slug: "sourceid" }, + { level: 3, title: "source", slug: "source" }, + { level: 3, title: "layerId", slug: "layerid" }, + { level: 3, title: "layer", slug: "layer" }, + { level: 3, title: "before", slug: "before" }, + { level: 3, title: "clearSource", slug: "clearsource" }, + { level: 3, title: "replaceSource", slug: "replacesource" }, + { level: 3, title: "replace", slug: "replace" }, + { + level: 2, + title: "Computed properties", + slug: "computed-properties" + }, + { level: 3, title: "sourceLoaded", slug: "sourceloaded" }, + { level: 3, title: "mapLayer", slug: "maplayer" }, + { level: 3, title: "mapSource", slug: "mapsource" }, + { level: 2, title: "Methods", slug: "methods" }, + { level: 3, title: ".move(beforeId?)", slug: "move-beforeid" }, + { level: 3, title: ".remove()", slug: "remove" }, + { level: 2, title: "Events", slug: "events" }, + { level: 3, title: "@mousedown", slug: "mousedown" }, + { level: 3, title: "@mouseup", slug: "mouseup" }, + { level: 3, title: "@click", slug: "click" }, + { level: 3, title: "@dblclick", slug: "dblclick" }, + { level: 3, title: "@mousemove", slug: "mousemove" }, + { level: 3, title: "@mouseenter", slug: "mouseenter" }, + { level: 3, title: "@mouseleave", slug: "mouseleave" }, + { level: 3, title: "@mouseover", slug: "mouseover" }, + { level: 3, title: "@mouseout", slug: "mouseout" }, + { level: 3, title: "@contextmenu", slug: "contextmenu" }, + { level: 3, title: "@touchstart", slug: "touchstart" }, + { level: 3, title: "@touchend", slug: "touchend" }, + { level: 3, title: "@touchcancel", slug: "touchcancel" } + ] + }, + { + title: "GeojsonLayer", + frontmatter: {}, + regularPath: "/api/Layers/geojsonlayer.html", + key: "v-0bcaedd9", + path: "/api/Layers/geojsonlayer.html", + headers: [ + { level: 2, title: "Props", slug: "props" }, + { level: 3, title: "source", slug: "source" }, + { level: 2, title: "Computed getters", slug: "computed-getters" }, + { + level: 3, + title: "getSourceFeatures(filter?)", + slug: "getsourcefeatures-filter" + }, + { + level: 3, + title: "getRenderedFeatures(geometry, filter)", + slug: "getrenderedfeatures-geometry-filter" + }, + { + level: 3, + title: "getClusterExpansionZoom(clusterId)", + slug: "getclusterexpansionzoom-clusterid" + }, + { + level: 3, + title: "getClusterChildren(clusterId)", + slug: "getclusterchildren-clusterid" + }, + { + level: 3, + title: "getClusterLeaves(clusterId, limit, offset)", + slug: "getclusterleaves-clusterid-limit-offset" + }, + { level: 2, title: "Methods", slug: "methods" }, + { + level: 3, + title: "setFeatureState(featureId, state)", + slug: "setfeaturestate-featureid-state" + }, + { + level: 3, + title: "getFeatureState(featureId)", + slug: "getfeaturestate-featureid" + }, + { level: 2, title: "Events", slug: "events" } + ] + }, + { + title: "ImageLayer", + frontmatter: {}, + regularPath: "/api/Layers/imagelayer.html", + key: "v-77c73199", + path: "/api/Layers/imagelayer.html", + headers: [ + { level: 2, title: "Props", slug: "props" }, + { level: 3, title: "source", slug: "source" }, + { level: 2, title: "Events", slug: "events" } + ] + }, + { + title: "RasterLayer", + frontmatter: {}, + regularPath: "/api/Layers/rasterlayer.html", + key: "v-5717614d", + path: "/api/Layers/rasterlayer.html", + headers: [ + { level: 2, title: "Props", slug: "props" }, + { level: 3, title: "source", slug: "source" }, + { level: 2, title: "Events", slug: "events" } + ] + }, + { + title: "VectorLayer", + frontmatter: {}, + regularPath: "/api/Layers/vectorlayer.html", + key: "v-1f50ee59", + path: "/api/Layers/vectorlayer.html", + headers: [ + { level: 2, title: "Props", slug: "props" }, + { level: 3, title: "source", slug: "source" }, + { level: 2, title: "Computed getters", slug: "computed-getters" }, + { + level: 3, + title: "getSourceFeatures(filter?)", + slug: "getsourcefeatures-filter" + }, + { + level: 3, + title: "getRenderedFeatures(geometry, filter)", + slug: "getrenderedfeatures-geometry-filter" + }, + { level: 2, title: "Methods", slug: "methods" }, + { + level: 3, + title: "setFeatureState(featureId, state)", + slug: "setfeaturestate-featureid-state" + }, + { + level: 3, + title: "getFeatureState(featureId)", + slug: "getfeaturestate-featureid" + }, + { level: 2, title: "Events", slug: "events" } + ] + }, + { + title: "CanvasLayer", + frontmatter: {}, + regularPath: "/api/Layers/videolayer.html", + key: "v-45aa14ce", + path: "/api/Layers/videolayer.html", + headers: [ + { level: 2, title: "Props", slug: "props" }, + { level: 3, title: "source", slug: "source" }, + { level: 2, title: "Computed getters", slug: "computed-getters" }, + { level: 3, title: "video", slug: "video" } + ] + }, + { + title: "Vue-mapbox plugin", + frontmatter: {}, + regularPath: "/api/", + key: "v-cd0cec28", + path: "/api/", + headers: [ + { + level: 2, + title: "Register Vue-Mapbox as Vue plugin", + slug: "register-vue-mapbox-as-vue-plugin" + }, + { level: 2, title: "Options", slug: "options" }, + { level: 3, title: "mapboxgl", slug: "mapboxgl" }, + { level: 3, title: "plugins", slug: "plugins" }, + { level: 2, title: "Example", slug: "example" } + ] + }, + { + title: "Map control components", + frontmatter: {}, + regularPath: "/api/controls.html", + key: "v-5b471da2", + path: "/api/controls.html", + headers: [ + { + level: 2, + title: "AttributionControl", + slug: "attributioncontrol" + }, + { level: 3, title: "Props", slug: "props" }, + { level: 3, title: "compact", slug: "compact" }, + { + level: 3, + title: "customAttribution", + slug: "customattribution" + }, + { + level: 2, + title: "FullscreenControl", + slug: "fullscreencontrol" + }, + { level: 2, title: "GeolocateControl", slug: "geolocatecontrol" }, + { level: 3, title: "Props", slug: "props-2" }, + { level: 3, title: "positionOptions", slug: "positionoptions" }, + { level: 3, title: "fitBoundsOptions", slug: "fitboundsoptions" }, + { + level: 3, + title: "trackUserLocation", + slug: "trackuserlocation" + }, + { level: 3, title: "showUserLocation", slug: "showuserlocation" }, + { level: 3, title: "Methods", slug: "methods" }, + { level: 3, title: ".trigger()", slug: "trigger" }, + { + level: 2, + title: "NavigationControl", + slug: "navigationcontrol" + }, + { level: 3, title: "Props", slug: "props-3" }, + { level: 3, title: "showCompass", slug: "showcompass" }, + { level: 3, title: "showZoom", slug: "showzoom" }, + { level: 2, title: "ScaleControl", slug: "scalecontrol" }, + { level: 3, title: "Props", slug: "props-4" }, + { level: 3, title: "maxWidth", slug: "maxwidth" }, + { level: 3, title: "unit", slug: "unit" } + ] + }, + { + title: "Marker", + frontmatter: {}, + regularPath: "/api/marker.html", + key: "v-3df8c167", + path: "/api/marker.html", + headers: [ + { level: 2, title: "Props", slug: "props" }, + { level: 3, title: "offset", slug: "offset" }, + { level: 3, title: "coordinates", slug: "coordinates" }, + { level: 3, title: "color", slug: "color" }, + { level: 3, title: "anchor", slug: "anchor" }, + { level: 3, title: "draggable", slug: "draggable" }, + { level: 2, title: "Slots", slug: "slots" }, + { level: 3, title: "marker", slug: "marker-2" }, + { level: 3, title: "default", slug: "default" }, + { level: 2, title: "Methods", slug: "methods" }, + { level: 3, title: ".remove()", slug: "remove" }, + { level: 3, title: ".togglePopup()", slug: "togglepopup" }, + { level: 2, title: "Events", slug: "events" }, + { level: 3, title: "@added", slug: "added" }, + { level: 3, title: "@removed", slug: "removed" }, + { level: 3, title: "@drag", slug: "drag" }, + { level: 3, title: "@dragstart", slug: "dragstart" }, + { level: 3, title: "@dragend", slug: "dragend" } + ] + }, + { + title: "Popup", + frontmatter: {}, + regularPath: "/api/popup.html", + key: "v-f144760e", + path: "/api/popup.html", + headers: [ + { level: 2, title: "Props", slug: "props" }, + { level: 3, title: "closeButton", slug: "closebutton" }, + { level: 3, title: "closeOnClick", slug: "closeonclick" }, + { level: 3, title: "anchor", slug: "anchor" }, + { level: 3, title: "offset", slug: "offset" }, + { level: 3, title: "coordinates", slug: "coordinates" }, + { level: 3, title: "onlyText", slug: "onlytext" }, + { level: 2, title: "Slots", slug: "slots" }, + { level: 3, title: "default", slug: "default" }, + { level: 2, title: "Events", slug: "events" }, + { level: 3, title: "@added", slug: "added" }, + { level: 3, title: "@removed", slug: "removed" }, + { level: 3, title: "@open", slug: "open" }, + { level: 3, title: "@close", slug: "close" } + ] + }, + { + title: "Quickstart", + frontmatter: {}, + regularPath: "/guide/", + key: "v-147a1068", + path: "/guide/", + headers: [ + { + level: 2, + title: "Using as ES module", + slug: "using-as-es-module" + }, + { level: 3, title: "Installation", slug: "installation" }, + { + level: 3, + title: "Register a plugin", + slug: "register-a-plugin" + }, + { level: 2, title: "Using in browser", slug: "using-in-browser" }, + { level: 3, title: "Installation", slug: "installation-2" } + ] + }, + { + title: "Base map", + frontmatter: {}, + regularPath: "/guide/basemap.html", + key: "v-254c4c59", + path: "/guide/basemap.html", + headers: [ + { + level: 2, + title: "Adding map component", + slug: "adding-map-component" + }, + { + level: 3, + title: "Interact with map properties as GlMap props", + slug: "interact-with-map-properties-as-glmap-props" + }, + { level: 2, title: "Map loading", slug: "map-loading" }, + { level: 2, title: "Map actions", slug: "map-actions" }, + { + level: 3, + title: "Method actions.stop()", + slug: "method-actions-stop" + }, + { level: 3, title: "Events", slug: "events" } + ] + }, + { + title: "Composition", + frontmatter: {}, + regularPath: "/guide/composition.html", + key: "v-2939380e", + path: "/guide/composition.html" + }, + { + title: "Map controls", + frontmatter: {}, + regularPath: "/guide/controls.html", + key: "v-fb4e549a", + path: "/guide/controls.html", + headers: [ + { level: 2, title: "Overview", slug: "overview" }, + { + level: 3, + title: "Attribution control", + slug: "attribution-control" + } + ] + }, + { + title: "Layers and sources", + frontmatter: {}, + regularPath: "/guide/layers&sources.html", + key: "v-0250a037", + path: "/guide/layers&sources.html", + headers: [ + { level: 2, title: "Adding layers", slug: "adding-layers" }, + { level: 2, title: "Reactivity", slug: "reactivity" }, + { level: 2, title: "Layer getters", slug: "layer-getters" }, + { level: 2, title: "Layer methods", slug: "layer-methods" }, + { level: 2, title: "Layer events", slug: "layer-events" } + ] + }, + { + title: "Markers and Popups", + frontmatter: {}, + regularPath: "/guide/markers&popups.html", + key: "v-0f9139b7", + path: "/guide/markers&popups.html", + headers: [ + { level: 2, title: "Marker", slug: "marker" }, + { level: 3, title: "Props", slug: "props" }, + { level: 3, title: "Slots", slug: "slots" }, + { level: 3, title: "Default slot", slug: "default-slot" }, + { level: 2, title: "Popup", slug: "popup" }, + { level: 3, title: "Props", slug: "props-2" }, + { + level: 2, + title: "Markers & Popups together", + slug: "markers-popups-together" + } + ] + }, + { + title: "Plugins", + frontmatter: {}, + regularPath: "/plugins/", + key: "v-50ef8540", + path: "/plugins/" + }, + { + title: "Plugin development", + frontmatter: {}, + regularPath: "/plugins/plugin_development.html", + key: "v-2692d7ee", + path: "/plugins/plugin_development.html" + }, + { + title: "GlMap", + frontmatter: {}, + regularPath: "/api/glmap.html", + key: "v-6c9c2319", + path: "/api/glmap.html", + headers: [ + { level: 2, title: "Props", slug: "props" }, + { level: 3, title: "mapStyle", slug: "mapstyle" }, + { level: 3, title: "container", slug: "container" }, + { level: 3, title: "accessToken", slug: "accesstoken" }, + { level: 3, title: "minZoom", slug: "minzoom" }, + { level: 3, title: "maxZoom", slug: "maxzoom" }, + { level: 3, title: "hash", slug: "hash" }, + { level: 3, title: "interactive", slug: "interactive" }, + { level: 3, title: "bearingSnap", slug: "bearingsnap" }, + { + level: 3, + title: "attributionControl", + slug: "attributioncontrol" + }, + { level: 3, title: "logoPosition", slug: "logoposition" }, + { + level: 3, + title: "failIfMajorPerformanceCaveat", + slug: "failifmajorperformancecaveat" + }, + { + level: 3, + title: "crossSourceCollisions", + slug: "crosssourcecollisions" + }, + { level: 3, title: "fadeDuration", slug: "fadeduration" }, + { + level: 3, + title: "preserveDrawingBuffer", + slug: "preservedrawingbuffer" + }, + { + level: 3, + title: "refreshExpiredTiles", + slug: "refreshexpiredtiles" + }, + { level: 3, title: "maxBounds", slug: "maxbounds" }, + { level: 3, title: "scrollZoom", slug: "scrollzoom" }, + { level: 3, title: "boxZoom", slug: "boxzoom" }, + { level: 3, title: "dragRotate", slug: "dragrotate" }, + { level: 3, title: "keyboard", slug: "keyboard" }, + { level: 3, title: "doubleClickZoom", slug: "doubleclickzoom" }, + { level: 3, title: "touchZoomRotate", slug: "touchzoomrotate" }, + { level: 3, title: "trackResize", slug: "trackresize" }, + { level: 3, title: "center", slug: "center" }, + { level: 3, title: "zoom", slug: "zoom" }, + { level: 3, title: "bearing", slug: "bearing" }, + { level: 3, title: "pitch", slug: "pitch" }, + { + level: 3, + title: "renderWorldCopies", + slug: "renderworldcopies" + }, + { level: 3, title: "light", slug: "light" }, + { level: 3, title: "tileBoundaries", slug: "tileboundaries" }, + { level: 3, title: "collisionBoxes", slug: "collisionboxes" }, + { level: 3, title: "repaint", slug: "repaint" }, + { level: 3, title: "transformRequest", slug: "transformrequest" }, + { + level: 3, + title: "localIdeographFontFamily", + slug: "localideographfontfamily" + }, + { level: 2, title: "Actions", slug: "actions" }, + { level: 3, title: ".stop(eventData?)", slug: "stop-eventdata" }, + { + level: 3, + title: ".panBy(offset, options?, eventData?)", + slug: "panby-offset-options-eventdata" + }, + { + level: 3, + title: ".panTo(coordinates, options?, eventData?)", + slug: "panto-coordinates-options-eventdata" + }, + { + level: 3, + title: ".zoomTo(zoom, options?, eventData?)", + slug: "zoomto-zoom-options-eventdata" + }, + { + level: 3, + title: ".zoomIn(options?, eventData?)", + slug: "zoomin-options-eventdata" + }, + { + level: 3, + title: ".zoomOut(options?, eventData?)", + slug: "zoomout-options-eventdata" + }, + { + level: 3, + title: ".rotateTo(bearing, options?, eventData?)", + slug: "rotateto-bearing-options-eventdata" + }, + { + level: 3, + title: ".resetNorth(options?, eventData?)", + slug: "resetnorth-options-eventdata" + }, + { + level: 3, + title: ".snapToNorth(options?, eventData?)", + slug: "snaptonorth-options-eventdata" + }, + { + level: 3, + title: ".fitBounds(bounds, options?, eventData?)", + slug: "fitbounds-bounds-options-eventdata" + }, + { + level: 3, + title: ".jumpTo(options, eventData?)", + slug: "jumpto-options-eventdata" + }, + { + level: 3, + title: ".easeTo(options, eventData?)", + slug: "easeto-options-eventdata" + }, + { + level: 3, + title: ".flyTo(options, eventData?)", + slug: "flyto-options-eventdata" + }, + { level: 2, title: "Events", slug: "events" }, + { level: 3, title: "@load", slug: "load" } + ] + } + ], + themeConfig: { + nav: [ + { text: "Guide", link: "/guide/" }, + { text: "API", link: "/api/" }, + { text: "Github", link: "https://github.com/soal/vue-mapbox" }, + { + text: "map-promisified", + link: "https://github.com/soal/map-promisified" + } + ], + sidebar: [ + { + title: "Guide", + collapsable: !1, + children: [ + ["/guide/", "Quickstart"], + ["/guide/basemap.md", "Base map"], + ["/guide/composition.md", "Composition"], + ["/guide/controls.md", "Controls"], + ["/guide/markers&popups.md", "Markers and popups"], + ["/guide/layers&sources.md", "Layers and sources"] + ] + }, + { + title: "API", + collapsable: !1, + children: [ + ["/api/", "VueMapbox"], + ["/api/glmap.md", "GlMap"], + ["/api/controls.md", "Controls"], + ["/api/marker.md", "MapMarker"], + ["/api/popup.md", "Popup"], + ["/api/Layers/", "Layer commons"], + ["/api/Layers/geojsonlayer.md", "GeojsonLayer"], + ["/api/Layers/vectorlayer.md", "VectorLayer"], + ["/api/Layers/rasterlayer.md", "RasterLayer"], + ["/api/Layers/imagelayer.md", "ImageLayer"], + ["/api/Layers/videolayer.md", "VideoLayer"] + ] + }, + { + title: "Plugins", + collapsable: !1, + children: [ + ["/plugins/", "Using plugins"], + ["/plugins/plugin_development.md", "Create a plugin"] + ] + } + ] + } + }; + n(97); + r.a.component("Badge", () => + Promise.all([n.e(0), n.e(4)]).then(n.bind(null, 162)) + ); + var ee = [ + {}, + ({ Vue: t }) => { + t.mixin({ + computed: { + $dataBlock() { + return this.$options.__data__block__; + } + } + }); + }, + {} + ], + ne = []; + function re(t, e) { + if (!(t instanceof e)) + throw new TypeError("Cannot call a class as a function"); + } + function oe(t, e) { + return !e || ("object" !== Nt(e) && "function" != typeof e) + ? (function(t) { + if (void 0 === t) + throw new ReferenceError( + "this hasn't been initialised - super() hasn't been called" + ); + return t; + })(t) + : e; + } + function ie(t) { + return (ie = Object.setPrototypeOf + ? Object.getPrototypeOf + : function(t) { + return t.__proto__ || Object.getPrototypeOf(t); + })(t); + } + function ae(t, e) { + return (ae = + Object.setPrototypeOf || + function(t, e) { + return (t.__proto__ = e), t; + })(t, e); + } + function se(t, e) { + for (var n = 0; n < e.length; n++) { + var r = e[n]; + (r.enumerable = r.enumerable || !1), + (r.configurable = !0), + "value" in r && (r.writable = !0), + Object.defineProperty(t, r.key, r); + } + } + var ue = (function() { + function t() { + re(this, t), (this.store = new r.a({ data: { state: {} } })); + } + var e, n, o; + return ( + (e = t), + (n = [ + { + key: "$get", + value: function(t) { + return this.store.state[t]; + } + }, + { + key: "$set", + value: function(t, e) { + r.a.set(this.store.state, t, e); + } + }, + { + key: "$emit", + value: function() { + var t; + (t = this.store).$emit.apply(t, arguments); + } + }, + { + key: "$on", + value: function() { + var t; + (t = this.store).$on.apply(t, arguments); + } + } + ]) && se(e.prototype, n), + o && se(e, o), + t + ); + })(), + le = (function(t) { + function e() { + return re(this, e), oe(this, ie(e).apply(this, arguments)); + } + return ( + (function(t, e) { + if ("function" != typeof e && null !== e) + throw new TypeError( + "Super expression must either be null or a function" + ); + (t.prototype = Object.create(e && e.prototype, { + constructor: { value: t, writable: !0, configurable: !0 } + })), + e && ae(t, e); + })(e, ue), + e + ); + })(), + ce = { + install: function(t) { + var e = new le(); + (t.$vuepress = e), (t.prototype.$vuepress = e); + } + }, + fe = { + props: { + pageKey: String, + slotKey: { type: String, default: "default" } + }, + render: function(t) { + var e = this.pageKey || this.$parent.$page.key; + return (function(t) { + return Boolean(zt[t]); + })(e) + ? t(e) + : t(""); + } + }, + pe = { + functional: !0, + props: { slotKey: String, required: !0 }, + render: function(t, e) { + var n = e.props, + r = e.slots; + return t("div", { class: ["content", n.slotKey] }, r()[n.slotKey]); + } + }, + he = (n(98), + Object(Xt.a)( + {}, + function(t, e) { + var n = e._c; + return n( + "svg", + { + staticClass: "icon outbound", + attrs: { + xmlns: "http://www.w3.org/2000/svg", + "aria-hidden": "true", + x: "0px", + y: "0px", + viewBox: "0 0 100 100", + width: "15", + height: "15" + } + }, + [ + n("path", { + attrs: { + fill: "currentColor", + d: + "M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z" + } + }), + e._v(" "), + n("polygon", { + attrs: { + fill: "currentColor", + points: + "45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9" + } + }) + ] + ); + }, + [], + !0, + null, + null, + null + )); + he.options.__file = "OutboundLink.vue"; + var de = he.exports; + (r.a.config.productionTip = !1), + r.a.use(Rt), + r.a.use(ce), + r.a.mixin( + (function(t, e) { + !(function(t) { + t.locales && + Object.keys(t.locales).forEach(function(e) { + t.locales[e].path = e; + }), + Object.freeze(t); + })(e), + r.a.$vuepress.$set("siteData", e); + var n = new (t(r.a.$vuepress.$get("siteData")))(), + o = Object.getOwnPropertyDescriptors(Object.getPrototypeOf(n)), + i = {}; + return ( + Object.keys(o).reduce(function(t, e) { + return e.startsWith("$") && (t[e] = o[e].get), t; + }, i), + { computed: i } + ); + })( + t => + class { + setPage(t) { + this.__page = t; + } + get $site() { + return t; + } + get $themeConfig() { + return this.$site.themeConfig; + } + get $frontmatter() { + return this.$page.frontmatter; + } + get $localeConfig() { + const { locales: t = {} } = this.$site; + let e, n; + for (const r in t) + "/" === r + ? (n = t[r]) + : 0 === this.$page.path.indexOf(r) && (e = t[r]); + return e || n || {}; + } + get $siteTitle() { + return this.$localeConfig.title || this.$site.title || ""; + } + get $title() { + const t = this.$page, + { metaTitle: e } = this.$page.frontmatter; + if ("string" == typeof e) return e; + const n = this.$siteTitle, + r = t.frontmatter.home + ? null + : t.frontmatter.title || t.title; + return n ? (r ? r + " | " + n : n) : r || "VuePress"; + } + get $description() { + const t = (function(t) { + if (t) { + const e = t.filter(t => "description" === t.name)[0]; + if (e) return e.content; + } + })(this.$page.frontmatter.meta); + return ( + t || + this.$page.frontmatter.description || + this.$localeConfig.description || + this.$site.description || + "" + ); + } + get $lang() { + return ( + this.$page.frontmatter.lang || + this.$localeConfig.lang || + "en-US" + ); + } + get $localePath() { + return this.$localeConfig.path || "/"; + } + get $themeLocaleConfig() { + return ( + (this.$site.themeConfig.locales || {})[this.$localePath] || {} + ); + } + get $page() { + return this.__page + ? this.__page + : (function(t, e) { + for (let n = 0; n < t.length; n++) { + const r = t[n]; + if (r.path.toLowerCase() === e.toLowerCase()) return r; + } + return { path: "", frontmatter: {} }; + })(this.$site.pages, this.$route.path); + } + }, + te + ) + ), + r.a.component("Content", fe), + r.a.component("ContentSlotsDistributor", pe), + r.a.component("OutboundLink", de), + r.a.component("ClientOnly", { + functional: !0, + render: function(t, e) { + var n = e.parent, + r = e.children; + if (n._isMounted) return r; + n.$once("hook:mounted", function() { + n.$forceUpdate(); + }); + } + }), + (r.a.prototype.$withBase = function(t) { + var e = this.$site.base; + return "/" === t.charAt(0) ? e + t.slice(1) : t; + }); + var ve = (function(t) { + var e = new Rt({ + base: te.base, + mode: "history", + fallback: !1, + routes: Qt, + scrollBehavior: function(t, e, n) { + return ( + n || + (t.hash + ? !r.a.$vuepress.$get("disableScrollBehavior") && { + selector: t.hash + } + : { x: 0, y: 0 }) + ); + } + }); + e.beforeEach(function(t, e, n) { + /(\/|\.html)$/.test(t.path) + ? n() + : n(Object.assign({}, t, { path: t.path + "/" })); + }); + var n = {}; + try { + ee.forEach(function(o) { + "function" == typeof o && + o({ Vue: r.a, options: n, router: e, siteData: te, isServer: t }); + }); + } catch (t) { + console.error(t); + } + return { + app: new r.a( + Object.assign(n, { + router: e, + render: function(t) { + return t("div", { attrs: { id: "app" } }, [ + t("router-view", { ref: "layout" }), + t( + "div", + { class: "global-ui" }, + ne.map(function(e) { + return t(e); + }) + ) + ]); + } + }) + ), + router: e + }; + })(!1), + me = ve.app, + ye = ve.router; + (window.__VUEPRESS_VERSION__ = { + version: "1.0.0-alpha.30", + hash: "b892f51" + }), + ye.onReady(function() { + me.$mount("#app"); + }); + } +]); diff --git a/docs/guide/basemap.html b/docs/guide/basemap.html index 582512d4..496d2303 100644 --- a/docs/guide/basemap.html +++ b/docs/guide/basemap.html @@ -7,7 +7,7 @@ - + @@ -103,6 +103,6 @@ →

- + diff --git a/docs/guide/composition.html b/docs/guide/composition.html index 49afd691..bdb51e89 100644 --- a/docs/guide/composition.html +++ b/docs/guide/composition.html @@ -7,7 +7,7 @@ - + @@ -144,6 +144,6 @@ →

- + diff --git a/docs/guide/controls.html b/docs/guide/controls.html index b9c80ad7..8c8b4f25 100644 --- a/docs/guide/controls.html +++ b/docs/guide/controls.html @@ -7,7 +7,7 @@ - + @@ -74,6 +74,6 @@ →

- + diff --git a/docs/guide/index.html b/docs/guide/index.html index 33732281..08ca6c06 100644 --- a/docs/guide/index.html +++ b/docs/guide/index.html @@ -7,7 +7,7 @@ - + @@ -21,7 +21,7 @@ map-promisified

Quickstart

Using as ES module

Installation

You can install vue-mapbox via npm. Take note that you need to install mapbox-gl as peer dependency:

npm install --save vue-mapbox mapbox-gl
 

Add mapbox CSS file to <head></head> block of your HTML file (e.g. index.html)

<link
-  href="https://api.tiles.mapbox.com/mapbox-gl-js/v0.51.0/mapbox-gl.css"
+  href="https://api.tiles.mapbox.com/mapbox-gl-js/v0.53.0/mapbox-gl.css"
   rel="stylesheet"
 />
 

Register a plugin

You need to set up vue-mapbox as a plugin for Vue and pass mapbox-gl as argument:

import Vue from "vue";
@@ -40,11 +40,16 @@
     <!-- ... -->
     <!-- Mapbox GL CSS -->
     <link
-      href="https://api.tiles.mapbox.com/mapbox-gl-js/v0.51.0/mapbox-gl.css"
+      href="https://api.tiles.mapbox.com/mapbox-gl-js/v0.53.0/mapbox-gl.css"
+      rel="stylesheet"
+    />
+    <!-- Vue-mapbox CSS -->
+    <link
+      href="https://cdn.jsdelivr.net/npm/vue-mapbox@latest/dist/vue-mapbox.css"
       rel="stylesheet"
     />
     <!-- Mapbox GL JS -->
-    <script src="https://api.tiles.mapbox.com/mapbox-gl-js/v0.51.0/mapbox-gl.js"></script>
+    <script src="https://api.tiles.mapbox.com/mapbox-gl-js/v0.53.0/mapbox-gl.js"></script>
     <!-- VueJS -->
     <script src="https://cdn.jsdelivr.net/npm/vue@latest/dist/vue.min.js"></script>
     <!-- Vue-mapbox -->
@@ -61,6 +66,6 @@
         
         →
       

- + diff --git a/docs/guide/layers&sources.html b/docs/guide/layers&sources.html index f1dbf96f..d303ccb3 100644 --- a/docs/guide/layers&sources.html +++ b/docs/guide/layers&sources.html @@ -7,7 +7,7 @@ - + @@ -69,6 +69,6 @@ →

- + diff --git a/docs/guide/markers&popups.html b/docs/guide/markers&popups.html index 74b92779..72374027 100644 --- a/docs/guide/markers&popups.html +++ b/docs/guide/markers&popups.html @@ -7,7 +7,7 @@ - + @@ -145,6 +145,6 @@ →

- + diff --git a/docs/index.html b/docs/index.html index 6a288ace..1e33150f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -7,7 +7,7 @@ - + @@ -21,7 +21,7 @@ map-promisified
hero

VueMapbox

Combine powers of Mapbox GL JS and Vue.js -

Get Started →

Declarative style

You can use map elements like layers, markers, popups as Vue components and control them via synchronized props

Vuefied

Map elements declared as components respect Vue lifecycle, emit map events like Vue events and can be used in OOP-style

Promisified async actions

You can do async map operations and get results in Promise without messing with map events and figuring out what action cause it

If you like long story, check out blog post

<template>
+    

Get Started →

Declarative style

You can use map elements like layers, markers, popups as Vue components and control them via synchronized props

Vuefied

Map elements declared as components respect Vue lifecycle, emit map events like Vue events and can be used in OOP-style

Promisified async actions

You can do async map operations and get results in Promise without messing with map events and figuring out what action cause it

If you like long story, check out blog post

<template>
   <MglMap
     container="map-test"
     :center.sync="center"
@@ -67,6 +67,6 @@
 ~ 7 kB minified and gzipped

Browser compatibility

Coming soon

- + diff --git a/docs/plugins/index.html b/docs/plugins/index.html index 4a4e2c7e..ed83d99d 100644 --- a/docs/plugins/index.html +++ b/docs/plugins/index.html @@ -7,7 +7,7 @@ - + @@ -28,6 +28,6 @@ →

- + diff --git a/docs/plugins/plugin_development.html b/docs/plugins/plugin_development.html index a87a0d95..3f202fb1 100644 --- a/docs/plugins/plugin_development.html +++ b/docs/plugins/plugin_development.html @@ -7,7 +7,7 @@ - + @@ -24,6 +24,6 @@

- + diff --git a/docs_source/api/Layers/geojsonlayer.md b/docs_source/api/Layers/geojsonlayer.md index bbd9d76f..20a2c8f4 100644 --- a/docs_source/api/Layers/geojsonlayer.md +++ b/docs_source/api/Layers/geojsonlayer.md @@ -69,6 +69,15 @@ All common [layers props](/api/Layers/README.md#props) - **Description** Gets the state of a feature. - **See** `.getFeatureState()` [map method](https://www.mapbox.com/mapbox-gl-js/api/#map#getfeaturestate) +### `removeFeatureState(featureId?, sourceLayer?, key?)` + +- **Arguments:** + - `featureId` `String | Number` Feature identifier. + - `sourceLayer` `string` Source layer id. + - `key` `string` The key in the feature state to reset. +- **Description** Removes feature state, setting it back to the default behavior. If no featureId or key is specified, removes all states of that source. If featureId is also specified, removes all keys for that feature's state. If key is also specified, removes that key from that feature's state. +- **See** `.removeFeatureState()` [map method](https://docs.mapbox.com/mapbox-gl-js/api/#map#removefeaturestate) + ## Events All common layer [events](/api/Layers/#events) diff --git a/docs_source/guide/README.md b/docs_source/guide/README.md index 47c0eefa..179b5fd8 100644 --- a/docs_source/guide/README.md +++ b/docs_source/guide/README.md @@ -14,28 +14,11 @@ Add mapbox CSS file to `` block of your HTML file (e.g. `index.html ```html ``` -### Register a plugin - -You need to set up vue-mapbox as a plugin for Vue and pass mapbox-gl as argument: - -```javascript -import Vue from "vue"; -import VueMapbox from "vue-mapbox"; -import Mapbox from "mapbox-gl"; - -Vue.use(VueMapbox, { mapboxgl: Mapbox }); - -new Vue({ - el: "#app", - render: h => h(require("./App")) -}); -``` - ## Using in browser ### Installation @@ -49,11 +32,16 @@ Add Vue, MapboxGL and Vue-mapbox scripts on your page: + + - + @@ -66,12 +54,6 @@ Add Vue, MapboxGL and Vue-mapbox scripts on your page: ``` -Register plugin and add base map component to your application: - -```javascript -Vue.use(VueMapbox.plugin, { mapboxgl: window.mapboxgl }); -``` - All components will be placed in global VueMapbox object (`VueMapbox.MglMap` etc.) Now you're ready for mapping. See how to [create a map](/guide/basemap.md). diff --git a/docs_source/guide/basemap.md b/docs_source/guide/basemap.md index bf6674ae..f089c7ce 100644 --- a/docs_source/guide/basemap.md +++ b/docs_source/guide/basemap.md @@ -8,10 +8,15 @@ If you using self-hosting maps on your own server you can omit this parameter. ```vue @@ -46,8 +56,8 @@ If you want to store map object, store it as non-reactive property like in examp ```vue + + diff --git a/src/main.js b/src/main.js index a5371d48..fedeb03c 100755 --- a/src/main.js +++ b/src/main.js @@ -39,28 +39,28 @@ export const MglRasterLayer = RasterLayer; export const MglMarker = Marker; export const MglPopup = Popup; -export const plugin = { - /** - * Create Vue-mapbox plugin for Vue - * - * @param {Object} Vue - * @param {Object} options: mapboxgl: MapboxGl JS instances - * @returns - */ - install(Vue, options = {}) { - const data = { mapbox: options.mapboxgl }; - if (options.plugins && options.plugins.length) { - options.plugins.forEach(plugin => { - const key = Object.keys(plugin)[0]; - const value = Object.values(plugin)[0]; - data[key] = value; - }); - } - Vue.mixin({ - data() { - return data; - } - }); - } -}; -export default plugin; +// export const plugin = { +// /** +// * Create Vue-mapbox plugin for Vue +// * +// * @param {Object} Vue +// * @param {Object} options: mapboxgl: MapboxGl JS instances +// * @returns +// */ +// install(Vue, options = {}) { +// const data = { mapbox: options.mapboxgl }; +// if (options.plugins && options.plugins.length) { +// options.plugins.forEach(plugin => { +// const key = Object.keys(plugin)[0]; +// const value = Object.values(plugin)[0]; +// data[key] = value; +// }); +// } +// Vue.mixin({ +// data() { +// return data; +// } +// }); +// } +// }; +export default GlMap;