/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/@ignf-geoportal/sdk-2d@3.5.6/dist/GpSDK2D-src.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
/*!
 * @brief French Geoportal SDK based on OpenLayers (2D) and iTowns (3D) libraries
 *
 * This software is released under the licence CeCILL-B (Free BSD compatible)
 * @see http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt
 * @see http://www.cecill.info/licences/Licence_CeCILL-B_V1-fr.txt
 * @see http://www.cecill.info/
 *
 * @copyright copyright (c) IGN
 * @license CeCILL-B
 * @author IGN
 * @version 3.5.6
 * @date 12/06/2025
 * @build
 *    date   : 6/12/2025, 9:13:19 AM
 *    branch : tags/3.5.6
 *    commit : 8e7596e
 *    dirty  : true
 */
/*!
 * geoportal-extensions-openlayers. See https://github.com/IGNF/geoportal-extensions
 * @license https://github.com/IGNF/geoportal-extensions/blob/master/LICENCE.md
 * @version 3.4.6
 */
/*!
 * @overview  ol-mapbox-style - Use Mapbox Style objects with OpenLayers
 * @copyright Copyright (c) 2016 openlayers
 * @license   BSD 2-Clause "Simplified" License
 *            See https://raw.githubusercontent.com/openlayers/ol-mapbox-style/master/LICENSE
 * @version   6.7.0
 */
/*!
 * @overview   OpenLayers. See http://openlayers.org/
 * @copyright  Copyright 2005-present, OpenLayers Contributors All rights reserved.
 * @license    BSD 2-Clause "Simplified" License
 *             See https://raw.githubusercontent.com/openlayers/openlayers/master/LICENCE.md
 * @version    6.9.0
 */
/*!
 * Sortable -- JavaScript library for reorderable drag-and-drop lists on modern
 * browsers and touch devices. No jQuery required. Supports Meteor, AngularJS,
 * React, Polymer, Vue, Knockout and any CSS library, e.g. Bootstrap.
 *
 * Released under MIT LICENSE
 *
 * Copyright Lebedev Konstantin <ibnRubaXa@gmail.com>
 * https://github.com/SortableJS/Sortable
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject to
 * the following conditions:
 *
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 *
 * @version v1.8.4
 */
/*!
 * @overview  es6-promise - a tiny implementation of Promises/A+.
 * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
 * @license   Licensed under MIT license
 *            See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
 * @version   v4.2.4
 */
/*!
 * @overview   Proj4js - Javascript reprojection library.
 *
 * @authors
 * - Mike Adair madairATdmsolutions.ca
 * - Richard Greenwood richATgreenwoodmap.com
 * - Didier Richard didier.richardATign.fr
 * - Stephen Irons stephen.ironsATclear.net.nz
 * - Olivier Terral oterralATgmail.com
 * - Calvin Metcalf cmetcalfATappgeo.com
 *
 * @copyright Copyright (c) 2014, Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons, Olivier Terral and Calvin Metcalf
 * @license   Licensed under MIT license
 *            See https://raw.githubusercontent.com/proj4js/proj4js/master/LICENSE.md
 * @version   2.7.5
 */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("node-fetch")):"function"==typeof define&&define.amd?define("Gp",["require"],t):"object"==typeof exports?exports.Gp=t(require("node-fetch")):e.Gp=t(e[void 0])}(window,(function(e){return function(e){function t(t){for(var o,n,i=t[0],s=t[1],a=0,u=[];a<i.length;a++)n=i[a],Object.prototype.hasOwnProperty.call(r,n)&&r[n]&&u.push(r[n][0]),r[n]=0;for(o in s)Object.prototype.hasOwnProperty.call(s,o)&&(e[o]=s[o]);for(l&&l(t);u.length;)u.shift()()}var o={},r={0:0};function n(t){if(o[t])return o[t].exports;var r=o[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.e=function(e){var t=[],o=r[e];if(0!==o)if(o)t.push(o[2]);else{var i=new Promise((function(t,n){o=r[e]=[t,n]}));t.push(o[2]=i);var s,a=document.createElement("script");a.charset="utf-8",a.timeout=120,n.nc&&a.setAttribute("nonce",n.nc),a.src=function(e){return n.p+""+({1:"chunk-geotiff"}[e]||e)+"-src.js"}(e);var l=new Error;s=function(t){a.onerror=a.onload=null,clearTimeout(u);var o=r[e];if(0!==o){if(o){var n=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+n+": "+i+")",l.name="ChunkLoadError",l.type=n,l.request=i,o[1](l)}r[e]=void 0}};var u=setTimeout((function(){s({type:"timeout",target:a})}),12e4);a.onerror=a.onload=s,document.head.appendChild(a)}return Promise.all(t)},n.m=e,n.c=o,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n.oe=function(e){throw console.error(e),e};var i=window.webpackJsonpGp=window.webpackJsonpGp||[],s=i.push.bind(i);i.push=t,i=i.slice();for(var a=0;a<i.length;a++)t(i[a]);var l=s;return n(n.s=0)}({"./node_modules/@mapbox/mapbox-gl-style-spec/dist/index.es.js":function(e,t,o){"use strict";o.r(t),function(e,r){o.d(t,"Color",(function(){return ye})),o.d(t,"ParsingError",(function(){return pr})),o.d(t,"ValidationError",(function(){return dr})),o.d(t,"composite",(function(){return Jo})),o.d(t,"convertFilter",(function(){return Yo})),o.d(t,"derefLayers",(function(){return er})),o.d(t,"diff",(function(){return cr})),o.d(t,"expression",(function(){return Kr})),o.d(t,"featureFilter",(function(){return Go})),o.d(t,"format",(function(){return l})),o.d(t,"function",(function(){return Jr})),o.d(t,"latest",(function(){return n})),o.d(t,"migrate",(function(){return Ko})),o.d(t,"v8",(function(){return n})),o.d(t,"validate",(function(){return zr})),o.d(t,"validateMapboxApiSupported",(function(){return Zr})),o.d(t,"visit",(function(){return Qr}));var n={$version:8,$root:{version:{required:!0,type:"enum",values:[8],doc:"Style specification version number. Must be 8.",example:8},name:{type:"string",doc:"A human-readable name for the style.",example:"Bright"},metadata:{type:"*",doc:"Arbitrary properties useful to track with the stylesheet, but do not influence rendering. Properties should be prefixed to avoid collisions, like 'mapbox:'."},center:{type:"array",value:"number",doc:"Default map center in longitude and latitude.  The style center will be used only if the map has not been positioned by other means (e.g. map options or user interaction).",example:[-73.9749,40.7736]},zoom:{type:"number",doc:"Default zoom level.  The style zoom will be used only if the map has not been positioned by other means (e.g. map options or user interaction).",example:12.5},bearing:{type:"number",default:0,period:360,units:"degrees",doc:'Default bearing, in degrees. The bearing is the compass direction that is "up"; for example, a bearing of 90° orients the map so that east is up. This value will be used only if the map has not been positioned by other means (e.g. map options or user interaction).',example:29},pitch:{type:"number",default:0,units:"degrees",doc:"Default pitch, in degrees. Zero is perpendicular to the surface, for a look straight down at the map, while a greater value like 60 looks ahead towards the horizon. The style pitch will be used only if the map has not been positioned by other means (e.g. map options or user interaction).",example:50},light:{type:"light",doc:"The global light source.",example:{anchor:"viewport",color:"white",intensity:.4}},terrain:{type:"terrain",doc:"A global modifier that elevates layers and markers based on a DEM data source."},fog:{type:"fog",doc:"A global effect that fades layers and markers based on their distance to the camera. The fog can be used to approximate the effect of atmosphere on distant objects and enhance the depth perception of the map when used with terrain or 3D features."},sources:{required:!0,type:"sources",doc:"Data source specifications.",example:{"mapbox-streets":{type:"vector",url:"mapbox://mapbox.mapbox-streets-v6"}}},sprite:{type:"string",doc:"A base URL for retrieving the sprite image and metadata. The extensions `.png`, `.json` and scale factor `@2x.png` will be automatically appended. This property is required if any layer uses the `background-pattern`, `fill-pattern`, `line-pattern`, `fill-extrusion-pattern`, or `icon-image` properties. The URL must be absolute, containing the [scheme, authority and path components](https://en.wikipedia.org/wiki/URL#Syntax).",example:"mapbox://sprites/mapbox/bright-v8"},glyphs:{type:"string",doc:"A URL template for loading signed-distance-field glyph sets in PBF format. The URL must include `{fontstack}` and `{range}` tokens. This property is required if any layer uses the `text-field` layout property. The URL must be absolute, containing the [scheme, authority and path components](https://en.wikipedia.org/wiki/URL#Syntax).",example:"mapbox://fonts/mapbox/{fontstack}/{range}.pbf"},transition:{type:"transition",doc:"A global transition definition to use as a default across properties, to be used for timing transitions between one value and the next when no property-specific transition is set. Collision-based symbol fading is controlled independently of the style's `transition` property.",example:{duration:300,delay:0}},layers:{required:!0,type:"array",value:"layer",doc:"Layers will be drawn in the order of this array.",example:[{id:"water",source:"mapbox-streets","source-layer":"water",type:"fill",paint:{"fill-color":"#00ffff"}}]}},sources:{"*":{type:"source",doc:"Specification of a data source. For vector and raster sources, either TileJSON or a URL to a TileJSON must be provided. For image and video sources, a URL must be provided. For GeoJSON sources, a URL or inline GeoJSON must be provided."}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{doc:"A vector tile source."}},doc:"The type of the source."},url:{type:"string",doc:"A URL to a TileJSON resource. Supported protocols are `http:`, `https:`, and `mapbox://<Tileset ID>`."},tiles:{type:"array",value:"string",doc:"An array of one or more tile source URLs, as in the TileJSON spec."},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129],doc:"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]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL."},scheme:{type:"enum",values:{xyz:{doc:"Slippy map tilenames scheme."},tms:{doc:"OSGeo spec scheme."}},default:"xyz",doc:"Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed."},minzoom:{type:"number",default:0,doc:"Minimum zoom level for which tiles are available, as in the TileJSON spec."},maxzoom:{type:"number",default:22,doc:"Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels."},attribution:{type:"string",doc:"Contains an attribution to be displayed when the map is shown to a user."},promoteId:{type:"promoteId",doc:"A property to use as a feature id (for feature state). Either a property name, or an object of the form `{<sourceLayer>: <propertyName>}`. If specified as a string for a vector tile source, the same property is used across all its source layers."},volatile:{type:"boolean",default:!1,doc:"A setting to determine whether a source's tiles are cached locally.","sdk-support":{"basic functionality":{android:"9.3.0",ios:"5.10.0"}}},"*":{type:"*",doc:"Other keys to configure the data source."}},source_raster:{type:{required:!0,type:"enum",values:{raster:{doc:"A raster tile source."}},doc:"The type of the source."},url:{type:"string",doc:"A URL to a TileJSON resource. Supported protocols are `http:`, `https:`, and `mapbox://<Tileset ID>`."},tiles:{type:"array",value:"string",doc:"An array of one or more tile source URLs, as in the TileJSON spec."},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129],doc:"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]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL."},minzoom:{type:"number",default:0,doc:"Minimum zoom level for which tiles are available, as in the TileJSON spec."},maxzoom:{type:"number",default:22,doc:"Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels."},tileSize:{type:"number",default:512,units:"pixels",doc:"The minimum visual size to display tiles for this layer. Only configurable for raster layers."},scheme:{type:"enum",values:{xyz:{doc:"Slippy map tilenames scheme."},tms:{doc:"OSGeo spec scheme."}},default:"xyz",doc:"Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed."},attribution:{type:"string",doc:"Contains an attribution to be displayed when the map is shown to a user."},volatile:{type:"boolean",default:!1,doc:"A setting to determine whether a source's tiles are cached locally.","sdk-support":{"basic functionality":{android:"9.3.0",ios:"5.10.0"}}},"*":{type:"*",doc:"Other keys to configure the data source."}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{doc:"A RGB-encoded raster DEM source"}},doc:"The type of the source."},url:{type:"string",doc:"A URL to a TileJSON resource. Supported protocols are `http:`, `https:`, and `mapbox://<Tileset ID>`."},tiles:{type:"array",value:"string",doc:"An array of one or more tile source URLs, as in the TileJSON spec."},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129],doc:"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]`. When this property is included in a source, no tiles outside of the given bounds are requested by Mapbox GL."},minzoom:{type:"number",default:0,doc:"Minimum zoom level for which tiles are available, as in the TileJSON spec."},maxzoom:{type:"number",default:22,doc:"Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels."},tileSize:{type:"number",default:512,units:"pixels",doc:"The minimum visual size to display tiles for this layer. Only configurable for raster layers."},attribution:{type:"string",doc:"Contains an attribution to be displayed when the map is shown to a user."},encoding:{type:"enum",values:{terrarium:{doc:"Terrarium format PNG tiles. See https://aws.amazon.com/es/public-datasets/terrain/ for more info."},mapbox:{doc:"Mapbox Terrain RGB tiles. See https://www.mapbox.com/help/access-elevation-data/#mapbox-terrain-rgb for more info."}},default:"mapbox",doc:"The encoding used by this source. Mapbox Terrain RGB is used by default"},volatile:{type:"boolean",default:!1,doc:"A setting to determine whether a source's tiles are cached locally.","sdk-support":{"basic functionality":{android:"9.3.0",ios:"5.10.0"}}},"*":{type:"*",doc:"Other keys to configure the data source."}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{doc:"A GeoJSON data source."}},doc:"The data type of the GeoJSON source."},data:{type:"*",doc:"A URL to a GeoJSON file, or inline GeoJSON."},maxzoom:{type:"number",default:18,doc:"Maximum zoom level at which to create vector tiles (higher means greater detail at high zoom levels)."},attribution:{type:"string",doc:"Contains an attribution to be displayed when the map is shown to a user."},buffer:{type:"number",default:128,maximum:512,minimum:0,doc:"Size of the tile buffer on each side. A value of 0 produces no buffer. A value of 512 produces a buffer as wide as the tile itself. Larger values produce fewer rendering artifacts near tile edges and slower performance."},filter:{type:"*",doc:"An expression for filtering features prior to processing them for rendering."},tolerance:{type:"number",default:.375,doc:"Douglas-Peucker simplification tolerance (higher means simpler geometries and faster performance)."},cluster:{type:"boolean",default:!1,doc:"If the data is a collection of point features, setting this to true clusters the points by radius into groups. Cluster groups become new `Point` features in the source with additional properties:\n * `cluster` Is `true` if the point is a cluster \n * `cluster_id` A unqiue id for the cluster to be used in conjunction with the [cluster inspection methods](https://www.mapbox.com/mapbox-gl-js/api/#geojsonsource#getclusterexpansionzoom)\n * `point_count` Number of original points grouped into this cluster\n * `point_count_abbreviated` An abbreviated point count"},clusterRadius:{type:"number",default:50,minimum:0,doc:"Radius of each cluster if clustering is enabled. A value of 512 indicates a radius equal to the width of a tile."},clusterMaxZoom:{type:"number",doc:"Max zoom on which to cluster points if clustering is enabled. Defaults to one zoom less than maxzoom (so that last zoom features are not clustered). Clusters are re-evaluated at integer zoom levels so setting clusterMaxZoom to 14 means the clusters will be displayed until z15."},clusterMinPoints:{type:"number",doc:"Minimum number of points necessary to form a cluster if clustering is enabled. Defaults to `2`."},clusterProperties:{type:"*",doc:'An object defining custom properties on the generated clusters if clustering is enabled, aggregating values from clustered points. Has the form `{"property_name": [operator, map_expression]}`. `operator` is any expression function that accepts at least 2 operands (e.g. `"+"` or `"max"`) — it accumulates the property value from clusters/points the cluster contains; `map_expression` produces the value of a single point.\n\nExample: `{"sum": ["+", ["get", "scalerank"]]}`.\n\nFor more advanced use cases, in place of `operator`, you can use a custom reduce expression that references a special `["accumulated"]` value, e.g.:\n`{"sum": [["+", ["accumulated"], ["get", "sum"]], ["get", "scalerank"]]}`'},lineMetrics:{type:"boolean",default:!1,doc:"Whether to calculate line distance metrics. This is required for line layers that specify `line-gradient` values."},generateId:{type:"boolean",default:!1,doc:"Whether to generate ids for the geojson features. When enabled, the `feature.id` property will be auto assigned based on its index in the `features` array, over-writing any previous values."},promoteId:{type:"promoteId",doc:"A property to use as a feature id (for feature state). Either a property name, or an object of the form `{<sourceLayer>: <propertyName>}`."}},source_video:{type:{required:!0,type:"enum",values:{video:{doc:"A video data source."}},doc:"The data type of the video source."},urls:{required:!0,type:"array",value:"string",doc:"URLs to video content in order of preferred format."},coordinates:{required:!0,doc:"Corners of video specified in longitude, latitude pairs.",type:"array",length:4,value:{type:"array",length:2,value:"number",doc:"A single longitude, latitude pair."}}},source_image:{type:{required:!0,type:"enum",values:{image:{doc:"An image data source."}},doc:"The data type of the image source."},url:{required:!0,type:"string",doc:"URL that points to an image."},coordinates:{required:!0,doc:"Corners of image specified in longitude, latitude pairs.",type:"array",length:4,value:{type:"array",length:2,value:"number",doc:"A single longitude, latitude pair."}}},layer:{id:{type:"string",doc:"Unique layer name.",required:!0},type:{type:"enum",values:{fill:{doc:"A filled polygon with an optional stroked border.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},line:{doc:"A stroked line.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},symbol:{doc:"An icon or a text label.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},circle:{doc:"A filled circle.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},heatmap:{doc:"A heatmap.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"fill-extrusion":{doc:"An extruded (3D) polygon.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},raster:{doc:"Raster map textures such as satellite imagery.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},hillshade:{doc:"Client-side hillshading visualization based on DEM data. Currently, the implementation only supports Mapbox Terrain RGB and Mapzen Terrarium tiles.","sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},background:{doc:"The background color or pattern of the map.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}}},sky:{doc:"A spherical dome around the map that is always rendered behind all other layers.","sdk-support":{"basic functionality":{js:"2.0.0"}}}},doc:"Rendering type of this layer.",required:!0},metadata:{type:"*",doc:"Arbitrary properties useful to track with the layer, but do not influence rendering. Properties should be prefixed to avoid collisions, like 'mapbox:'."},source:{type:"string",doc:"Name of a source description to be used for this layer. Required for all layer types except `background`."},"source-layer":{type:"string",doc:"Layer to use from a vector tile source. Required for vector tile sources; prohibited for all other source types, including GeoJSON sources."},minzoom:{type:"number",minimum:0,maximum:24,doc:"The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden."},maxzoom:{type:"number",minimum:0,maximum:24,doc:"The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden."},filter:{type:"filter",doc:"A expression specifying conditions on source features. Only features that match the filter are displayed. Zoom expressions in filters are only evaluated at integer zoom levels. The `feature-state` expression is not supported in filter expressions."},layout:{type:"layout",doc:"Layout properties for the layer."},paint:{type:"paint",doc:"Default paint properties for this layer."}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background","layout_sky"],layout_background:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_sky:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"2.0.0"}},"property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",doc:"Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.","sdk-support":{"basic functionality":{js:"1.2.0",android:"9.1.0",ios:"5.8.0",macos:"0.15.0"},"data-driven styling":{js:"1.2.0",android:"9.1.0",ios:"5.8.0",macos:"0.15.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",doc:"Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.","sdk-support":{"basic functionality":{js:"1.2.0",android:"9.2.0",ios:"5.9.0",macos:"0.16.0"},"data-driven styling":{js:"1.2.0",android:"9.2.0",ios:"5.9.0",macos:"0.16.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},"property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},"property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{doc:"A cap with a squared-off end which is drawn to the exact endpoint of the line."},round:{doc:"A cap with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line."},square:{doc:"A cap with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width."}},default:"butt",doc:"The display of line endings.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"2.3.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-join":{type:"enum",values:{bevel:{doc:"A join with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width."},round:{doc:"A join with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line."},miter:{doc:"A join with a sharp, angled corner which is drawn with the outer sides beyond the endpoint of the path until they meet."}},default:"miter",doc:"The display of lines when joining.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,doc:"Used to automatically convert miter joins to bevel joins for sharp angles.",requires:[{"line-join":"miter"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,doc:"Used to automatically convert round joins to miter joins for shallow angles.",requires:[{"line-join":"round"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",doc:"Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.","sdk-support":{"basic functionality":{js:"1.2.0",android:"9.1.0",ios:"5.8.0",macos:"0.15.0"},"data-driven styling":{js:"1.2.0",android:"9.1.0",ios:"5.8.0",macos:"0.15.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{doc:"The label is placed at the point where the geometry is located."},line:{doc:"The label is placed along the line of the geometry. Can only be used on `LineString` and `Polygon` geometries."},"line-center":{doc:"The label is placed at the center of the line of the geometry. Can only be used on `LineString` and `Polygon` geometries. Note that a single feature in a vector tile may contain multiple line geometries."}},default:"point",doc:"Label placement relative to its geometry.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"`line-center` value":{js:"0.47.0",android:"6.4.0",ios:"4.3.0",macos:"0.10.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",doc:"Distance between two symbol anchors.",requires:[{"symbol-placement":"line"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,doc:"If true, the symbols will not cross tile edges to avoid mutual collisions. Recommended in layers that don't have enough padding in the vector tile to prevent collisions, or if it is a point symbol layer placed after a line symbol layer. When using a client that supports global collision detection, like Mapbox GL JS version 0.42.0 or greater, enabling this property is not needed to prevent clipped labels at tile boundaries.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",doc:"Sorts features in ascending order based on this value. Features with lower sort keys are drawn and placed first.  When `icon-allow-overlap` or `text-allow-overlap` is `false`, features with a lower sort key will have priority during placement. When `icon-allow-overlap` or `text-allow-overlap` is set to `true`, features with a higher sort key will overlap over features with a lower sort key.","sdk-support":{"basic functionality":{js:"0.53.0",android:"7.4.0",ios:"4.11.0",macos:"0.14.0"},"data-driven styling":{js:"0.53.0",android:"7.4.0",ios:"4.11.0",macos:"0.14.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{doc:"Sorts symbols by `symbol-sort-key` if set. Otherwise, sorts symbols by their y-position relative to the viewport if `icon-allow-overlap` or `text-allow-overlap` is set to `true` or `icon-ignore-placement` or `text-ignore-placement` is `false`."},"viewport-y":{doc:"Sorts symbols by their y-position relative to the viewport if `icon-allow-overlap` or `text-allow-overlap` is set to `true` or `icon-ignore-placement` or `text-ignore-placement` is `false`."},source:{doc:"Sorts symbols by `symbol-sort-key` if set. Otherwise, no sorting is applied; symbols are rendered in the same order as the source data."}},default:"auto",doc:"Determines whether overlapping symbols in the same layer are rendered in the order that they appear in the data source or by their y-position relative to the viewport. To control the order and prioritization of symbols otherwise, use `symbol-sort-key`.","sdk-support":{"basic functionality":{js:"0.49.0",android:"6.6.0",ios:"4.5.0",macos:"0.12.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,doc:"If true, the icon will be visible even if it collides with other previously drawn symbols.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,doc:"If true, other symbols can be visible even if they collide with the icon.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,doc:"If true, text will display without their corresponding icons when the icon collides with other symbols and the text does not.",requires:["icon-image","text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{doc:"When `symbol-placement` is set to `point`, aligns icons east-west. When `symbol-placement` is set to `line` or `line-center`, aligns icon x-axes with the line."},viewport:{doc:"Produces icons whose x-axes are aligned with the x-axis of the viewport, regardless of the value of `symbol-placement`."},auto:{doc:"When `symbol-placement` is set to `point`, this is equivalent to `viewport`. When `symbol-placement` is set to `line` or `line-center`, this is equivalent to `map`."}},default:"auto",doc:"In combination with `symbol-placement`, determines the rotation behavior of icons.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"`auto` value":{js:"0.25.0",android:"4.2.0",ios:"3.4.0",macos:"0.3.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",doc:"Scales the original size of the icon by the provided factor. The new pixel size of the image will be the original pixel size multiplied by `icon-size`. 1 is the original size; 3 triples the size of the image.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{doc:"The icon is displayed at its intrinsic aspect ratio."},width:{doc:"The icon is scaled in the x-dimension to fit the width of the text."},height:{doc:"The icon is scaled in the y-dimension to fit the height of the text."},both:{doc:"The icon is scaled in both x- and y-dimensions."}},default:"none",doc:"Scales the icon to fit around the associated text.",requires:["icon-image","text-field"],"sdk-support":{"basic functionality":{js:"0.21.0",android:"4.2.0",ios:"3.4.0",macos:"0.2.1"},"stretchable icons":{js:"1.6.0",android:"9.2.0",ios:"5.8.0",macos:"0.15.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",doc:"Size of the additional area added to dimensions determined by `icon-text-fit`, in clockwise order: top, right, bottom, left.",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],"sdk-support":{"basic functionality":{js:"0.21.0",android:"4.2.0",ios:"3.4.0",macos:"0.2.1"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",doc:"Name of image in sprite to use for drawing an image background.",tokens:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",doc:"Rotates the icon clockwise.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.21.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",doc:"Size of the additional area around the icon bounding box used for detecting symbol collisions.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,doc:"If true, the icon may be flipped to prevent it from being rendered upside-down.",requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],doc:"Offset distance of icon from its anchor. Positive values indicate right and down, while negative values indicate left and up. Each component is multiplied by the value of `icon-size` to obtain the final offset in pixels. When combined with `icon-rotate` the offset will be as if the rotated direction was up.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{doc:"The center of the icon is placed closest to the anchor."},left:{doc:"The left side of the icon is placed closest to the anchor."},right:{doc:"The right side of the icon is placed closest to the anchor."},top:{doc:"The top of the icon is placed closest to the anchor."},bottom:{doc:"The bottom of the icon is placed closest to the anchor."},"top-left":{doc:"The top left corner of the icon is placed closest to the anchor."},"top-right":{doc:"The top right corner of the icon is placed closest to the anchor."},"bottom-left":{doc:"The bottom left corner of the icon is placed closest to the anchor."},"bottom-right":{doc:"The bottom right corner of the icon is placed closest to the anchor."}},default:"center",doc:"Part of the icon placed closest to the anchor.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"},"data-driven styling":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{doc:"The icon is aligned to the plane of the map."},viewport:{doc:"The icon is aligned to the plane of the viewport."},auto:{doc:"Automatically matches the value of `icon-rotation-alignment`."}},default:"auto",doc:"Orientation of icon when map is pitched.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{doc:"The text is aligned to the plane of the map."},viewport:{doc:"The text is aligned to the plane of the viewport."},auto:{doc:"Automatically matches the value of `text-rotation-alignment`."}},default:"auto",doc:"Orientation of text when map is pitched.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.21.0",android:"4.2.0",ios:"3.4.0",macos:"0.2.1"},"`auto` value":{js:"0.25.0",android:"4.2.0",ios:"3.4.0",macos:"0.3.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{doc:"When `symbol-placement` is set to `point`, aligns text east-west. When `symbol-placement` is set to `line` or `line-center`, aligns text x-axes with the line."},viewport:{doc:"Produces glyphs whose x-axes are aligned with the x-axis of the viewport, regardless of the value of `symbol-placement`."},auto:{doc:"When `symbol-placement` is set to `point`, this is equivalent to `viewport`. When `symbol-placement` is set to `line` or `line-center`, this is equivalent to `map`."}},default:"auto",doc:"In combination with `symbol-placement`, determines the rotation behavior of the individual glyphs forming the text.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"`auto` value":{js:"0.25.0",android:"4.2.0",ios:"3.4.0",macos:"0.3.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,doc:"Value to use for a text label. If a plain `string` is provided, it will be treated as a `formatted` with default/inherited formatting options.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],doc:"Font stack to use for displaying text.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",doc:"Font size.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",doc:"The maximum line width for text wrapping.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",doc:"Text leading value for multi-line text.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"2.3.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-letter-spacing":{type:"number",default:0,units:"ems",doc:"Text tracking amount.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.40.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{doc:"The text is aligned towards the anchor position."},left:{doc:"The text is aligned to the left."},center:{doc:"The text is centered."},right:{doc:"The text is aligned to the right."}},default:"center",doc:"Text justification options.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"},auto:{js:"0.54.0",android:"7.4.0",ios:"4.10.0",macos:"0.14.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,doc:"Radial offset of text, in the direction of the symbol's anchor. Useful in combination with `text-variable-anchor`, which defaults to using the two-dimensional `text-offset` if present.","sdk-support":{"basic functionality":{js:"0.54.0",android:"7.4.0",ios:"4.10.0",macos:"0.14.0"},"data-driven styling":{js:"0.54.0",android:"7.4.0",ios:"4.10.0",macos:"0.14.0"}},requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{doc:"The center of the text is placed closest to the anchor."},left:{doc:"The left side of the text is placed closest to the anchor."},right:{doc:"The right side of the text is placed closest to the anchor."},top:{doc:"The top of the text is placed closest to the anchor."},bottom:{doc:"The bottom of the text is placed closest to the anchor."},"top-left":{doc:"The top left corner of the text is placed closest to the anchor."},"top-right":{doc:"The top right corner of the text is placed closest to the anchor."},"bottom-left":{doc:"The bottom left corner of the text is placed closest to the anchor."},"bottom-right":{doc:"The bottom right corner of the text is placed closest to the anchor."}},requires:["text-field",{"symbol-placement":["point"]}],doc:"To increase the chance of placing high-priority labels on the map, you can provide an array of `text-anchor` locations: the renderer will attempt to place the label at each location, in order, before moving onto the next label. Use `text-justify: auto` to choose justification based on anchor position. To apply an offset, use the `text-radial-offset` or the two-dimensional `text-offset`.","sdk-support":{"basic functionality":{js:"0.54.0",android:"7.4.0",ios:"4.10.0",macos:"0.14.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{doc:"The center of the text is placed closest to the anchor."},left:{doc:"The left side of the text is placed closest to the anchor."},right:{doc:"The right side of the text is placed closest to the anchor."},top:{doc:"The top of the text is placed closest to the anchor."},bottom:{doc:"The bottom of the text is placed closest to the anchor."},"top-left":{doc:"The top left corner of the text is placed closest to the anchor."},"top-right":{doc:"The top right corner of the text is placed closest to the anchor."},"bottom-left":{doc:"The bottom left corner of the text is placed closest to the anchor."},"bottom-right":{doc:"The bottom right corner of the text is placed closest to the anchor."}},default:"center",doc:"Part of the text placed closest to the anchor.",requires:["text-field",{"!":"text-variable-anchor"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",doc:"Maximum angle change between adjacent characters.",requires:["text-field",{"symbol-placement":["line","line-center"]}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{doc:"If a text's language supports horizontal writing mode, symbols with point placement would be laid out horizontally."},vertical:{doc:"If a text's language supports vertical writing mode, symbols with point placement would be laid out vertically."}},doc:"The property allows control over a symbol's orientation. Note that the property values act as a hint, so that a symbol whose language doesn’t support the provided orientation will be laid out in its natural orientation. Example: English point symbol will be rendered horizontally even if array value contains single 'vertical' enum value. The order of elements in an array define priority order for the placement of an orientation variant.",requires:["text-field",{"symbol-placement":["point"]}],"sdk-support":{"basic functionality":{js:"1.3.0",android:"8.3.0",ios:"5.3.0",macos:"0.15.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",doc:"Rotates the text clockwise.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",doc:"Size of the additional area around the text bounding box used for detecting symbol collisions.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,doc:"If true, the text may be flipped vertically to prevent it from being rendered upside-down.",requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{doc:"The text is not altered."},uppercase:{doc:"Forces all letters to be displayed in uppercase."},lowercase:{doc:"Forces all letters to be displayed in lowercase."}},default:"none",doc:"Specifies how to capitalize text, similar to the CSS `text-transform` property.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",doc:"Offset distance of text from its anchor. Positive values indicate right and down, while negative values indicate left and up. If used with text-variable-anchor, input values will be taken as absolute values. Offsets along the x- and y-axis will be applied automatically based on the anchor position.",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.35.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,doc:"If true, the text will be visible even if it collides with other previously drawn symbols.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,doc:"If true, other symbols can be visible even if they collide with the text.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,doc:"If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not.",requires:["text-field","icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},"property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{doc:"The layer is shown."},none:{doc:"The layer is not shown."}},default:"visible",doc:"Whether this layer is displayed.","sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},"property-type":"constant"}},filter:{type:"array",value:"*",doc:"A filter selects specific features from a layer."},filter_operator:{type:"enum",values:{"==":{doc:'`["==", key, value]` equality: `feature[key] = value`'},"!=":{doc:'`["!=", key, value]` inequality: `feature[key] ≠ value`'},">":{doc:'`[">", key, value]` greater than: `feature[key] > value`'},">=":{doc:'`[">=", key, value]` greater than or equal: `feature[key] ≥ value`'},"<":{doc:'`["<", key, value]` less than: `feature[key] < value`'},"<=":{doc:'`["<=", key, value]` less than or equal: `feature[key] ≤ value`'},in:{doc:'`["in", key, v0, ..., vn]` set inclusion: `feature[key] ∈ {v0, ..., vn}`'},"!in":{doc:'`["!in", key, v0, ..., vn]` set exclusion: `feature[key] ∉ {v0, ..., vn}`'},all:{doc:'`["all", f0, ..., fn]` logical `AND`: `f0 ∧ ... ∧ fn`'},any:{doc:'`["any", f0, ..., fn]` logical `OR`: `f0 ∨ ... ∨ fn`'},none:{doc:'`["none", f0, ..., fn]` logical `NOR`: `¬f0 ∧ ... ∧ ¬fn`'},has:{doc:'`["has", key]` `feature[key]` exists'},"!has":{doc:'`["!has", key]` `feature[key]` does not exist'},within:{doc:'`["within", object]` feature geometry is within object geometry'}},doc:"The filter operator."},geometry_type:{type:"enum",values:{Point:{doc:"Filter to point geometries."},LineString:{doc:"Filter to line geometries."},Polygon:{doc:"Filter to polygon geometries."}},doc:"The geometry type for the filter to select."},function:{expression:{type:"expression",doc:"An expression."},stops:{type:"array",doc:"An array of stops.",value:"function_stop"},base:{type:"number",default:1,minimum:0,doc:"The exponential base of the interpolation curve. It controls the rate at which the result increases. Higher values make the result increase more towards the high end of the range. With `1` the stops are interpolated linearly."},property:{type:"string",doc:"The name of a feature property to use as the function input.",default:"$zoom"},type:{type:"enum",values:{identity:{doc:"Return the input value as the output value."},exponential:{doc:"Generate an output by interpolating between stops just less than and just greater than the function input."},interval:{doc:"Return the output value of the stop just less than the function input."},categorical:{doc:"Return the output value of the stop equal to the function input."}},doc:"The interpolation strategy to use in function evaluation.",default:"exponential"},colorSpace:{type:"enum",values:{rgb:{doc:"Use the RGB color space to interpolate color values"},lab:{doc:"Use the LAB color space to interpolate color values."},hcl:{doc:"Use the HCL color space to interpolate color values, interpolating the Hue, Chroma, and Luminance channels individually."}},doc:"The color space in which colors interpolated. Interpolating colors in perceptual color spaces like LAB and HCL tend to produce color ramps that look more consistent and produce colors that can be differentiated more easily than those interpolated in RGB space.",default:"rgb"},default:{type:"*",required:!1,doc:"A value to serve as a fallback function result when a value isn't otherwise available. It is used in the following circumstances:\n* In categorical functions, when the feature value does not match any of the stop domain values.\n* In property and zoom-and-property functions, when a feature does not contain a value for the specified property.\n* In identity functions, when the feature value is not valid for the style property (for example, if the function is being used for a `circle-color` property but the feature property value is not a string or not a valid color).\n* In interval or exponential property and zoom-and-property functions, when the feature value is not numeric.\nIf no default is provided, the style property's default is used in these circumstances."}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2,doc:"Zoom level and value pair."},expression:{type:"array",value:"*",minimum:1,doc:"An expression defines a function that can be used for data-driven style properties or feature filters."},expression_name:{doc:"",type:"enum",values:{let:{doc:'Binds expressions to named variables, which can then be referenced in the result expression using ["var", "variable_name"].',group:"Variable binding","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},var:{doc:'References variable bound using "let".',group:"Variable binding","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},literal:{doc:"Provides a literal array or object value.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},array:{doc:"Asserts that the input is an array (optionally with a specific item type and length).  If, when the input expression is evaluated, it is not of the asserted type, then this assertion will cause the whole expression to be aborted.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},at:{doc:"Retrieves an item from an array.",group:"Lookup","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},in:{doc:"Determines whether an item exists in an array or a substring exists in a string.",group:"Lookup","sdk-support":{"basic functionality":{js:"1.6.0",android:"9.1.0",ios:"5.8.0",macos:"0.15.0"}}},"index-of":{doc:"Returns the first position at which an item can be found in an array or a substring can be found in a string, or `-1` if the input cannot be found. Accepts an optional index from where to begin the search.",group:"Lookup","sdk-support":{"basic functionality":{js:"1.10.0"}}},slice:{doc:"Returns an item from an array or a substring from a string from a specified start index, or between a start index and an end index if set. The return value is inclusive of the start index but not of the end index.",group:"Lookup","sdk-support":{"basic functionality":{js:"1.10.0"}}},case:{doc:"Selects the first output whose corresponding test condition evaluates to true, or the fallback value otherwise.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},match:{doc:'Selects the output for which the label value matches the input value, or the fallback value if no match is found. The input can be any expression (for example, `["get", "building_type"]`). Each label must be unique, and must be either:\n - a single literal value; or\n - an array of literal values, the values of which must be all strings or all numbers (for example `[100, 101]` or `["c", "b"]`).\n\nThe input matches if any of the values in the array matches using strict equality, similar to the `"in"` operator.\nIf the input type does not match the type of the labels, the result will be the fallback value.',group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},coalesce:{doc:"Evaluates each expression in turn until the first non-null value is obtained, and returns that value.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},step:{doc:'Produces discrete, stepped results by evaluating a piecewise-constant function defined by pairs of input and output values ("stops"). The `input` may be any numeric expression (e.g., `["get", "population"]`). Stop inputs must be numeric literals in strictly ascending order. Returns the output value of the stop just less than the input, or the first output if the input is less than the first stop.',group:"Ramps, scales, curves","sdk-support":{"basic functionality":{js:"0.42.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},interpolate:{doc:'Produces continuous, smooth results by interpolating between pairs of input and output values ("stops"). The `input` may be any numeric expression (e.g., `["get", "population"]`). Stop inputs must be numeric literals in strictly ascending order. The output type must be `number`, `array<number>`, or `color`.\n\nInterpolation types:\n- `["linear"]`: Interpolates linearly between the pair of stops just less than and just greater than the input.\n- `["exponential", base]`: Interpolates exponentially between the stops just less than and just greater than the input. `base` controls the rate at which the output increases: higher values make the output increase more towards the high end of the range. With values close to 1 the output increases linearly.\n- `["cubic-bezier", x1, y1, x2, y2]`: Interpolates using the cubic bezier curve defined by the given control points.',group:"Ramps, scales, curves","sdk-support":{"basic functionality":{js:"0.42.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"interpolate-hcl":{doc:'Produces continuous, smooth results by interpolating between pairs of input and output values ("stops"). Works like `interpolate`, but the output type must be `color`, and the interpolation is performed in the Hue-Chroma-Luminance color space.',group:"Ramps, scales, curves","sdk-support":{"basic functionality":{js:"0.49.0"}}},"interpolate-lab":{doc:'Produces continuous, smooth results by interpolating between pairs of input and output values ("stops"). Works like `interpolate`, but the output type must be `color`, and the interpolation is performed in the CIELAB color space.',group:"Ramps, scales, curves","sdk-support":{"basic functionality":{js:"0.49.0"}}},ln2:{doc:"Returns mathematical constant ln(2).",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},pi:{doc:"Returns the mathematical constant pi.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},e:{doc:"Returns the mathematical constant e.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},typeof:{doc:"Returns a string describing the type of the given value.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},string:{doc:"Asserts that the input value is a string. If multiple values are provided, each one is evaluated in order until a string is obtained. If none of the inputs are strings, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},number:{doc:"Asserts that the input value is a number. If multiple values are provided, each one is evaluated in order until a number is obtained. If none of the inputs are numbers, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},boolean:{doc:"Asserts that the input value is a boolean. If multiple values are provided, each one is evaluated in order until a boolean is obtained. If none of the inputs are booleans, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},object:{doc:"Asserts that the input value is an object. If multiple values are provided, each one is evaluated in order until an object is obtained. If none of the inputs are objects, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},collator:{doc:"Returns a `collator` for use in locale-dependent comparison operations. The `case-sensitive` and `diacritic-sensitive` options default to `false`. The `locale` argument specifies the IETF language tag of the locale to use. If none is provided, the default locale is used. If the requested locale is not available, the `collator` will use a system-defined fallback locale. Use `resolved-locale` to test the results of locale fallback behavior.",group:"Types","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},format:{doc:'Returns a `formatted` string for displaying mixed-format text in the `text-field` property. The input may contain a string literal or expression, including an [`\'image\'`](#types-image) expression. Strings may be followed by a style override object that supports the following properties:\n- `"text-font"`: Overrides the font stack specified by the root layout property.\n- `"text-color"`: Overrides the color specified by the root paint property.\n- `"font-scale"`: Applies a scaling factor on `text-size` as specified by the root layout property.',group:"Types","sdk-support":{"basic functionality":{js:"0.48.0",android:"6.7.0",ios:"4.6.0",macos:"0.12.0"},"text-font":{js:"0.48.0",android:"6.7.0",ios:"4.6.0",macos:"0.12.0"},"font-scale":{js:"0.48.0",android:"6.7.0",ios:"4.6.0",macos:"0.12.0"},"text-color":{js:"1.3.0",android:"7.3.0",ios:"4.10.0",macos:"0.14.0"},image:{js:"1.6.0",android:"8.6.0",ios:"5.7.0",macos:"0.15.0"}}},image:{doc:"Returns an `image` type for use in `icon-image`, `*-pattern` entries and as a section in the `format` expression. If set, the `image` argument will check that the requested image exists in the style and will return either the resolved image name or `null`, depending on whether or not the image is currently in the style. This validation process is synchronous and requires the image to have been added to the style before requesting it in the `image` argument.",group:"Types","sdk-support":{"basic functionality":{js:"1.4.0",android:"8.6.0",ios:"5.7.0",macos:"0.15.0"}}},"number-format":{doc:"Converts the input number into a string representation using the providing formatting rules. If set, the `locale` argument specifies the locale to use, as a BCP 47 language tag. If set, the `currency` argument specifies an ISO 4217 code to use for currency-style formatting. If set, the `min-fraction-digits` and `max-fraction-digits` arguments specify the minimum and maximum number of fractional digits to include.",group:"Types","sdk-support":{"basic functionality":{js:"0.54.0"}}},"to-string":{doc:'Converts the input value to a string. If the input is `null`, the result is `""`. If the input is a boolean, the result is `"true"` or `"false"`. If the input is a number, it is converted to a string as specified by the ["NumberToString" algorithm](https://tc39.github.io/ecma262/#sec-tostring-applied-to-the-number-type) of the ECMAScript Language Specification. If the input is a color, it is converted to a string of the form `"rgba(r,g,b,a)"`, where `r`, `g`, and `b` are numerals ranging from 0 to 255, and `a` ranges from 0 to 1. Otherwise, the input is converted to a string in the format specified by the [`JSON.stringify`](https://tc39.github.io/ecma262/#sec-json.stringify) function of the ECMAScript Language Specification.',group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"to-number":{doc:'Converts the input value to a number, if possible. If the input is `null` or `false`, the result is 0. If the input is `true`, the result is 1. If the input is a string, it is converted to a number as specified by the ["ToNumber Applied to the String Type" algorithm](https://tc39.github.io/ecma262/#sec-tonumber-applied-to-the-string-type) of the ECMAScript Language Specification. If multiple values are provided, each one is evaluated in order until the first successful conversion is obtained. If none of the inputs can be converted, the expression is an error.',group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"to-boolean":{doc:"Converts the input value to a boolean. The result is `false` when then input is an empty string, 0, `false`, `null`, or `NaN`; otherwise it is `true`.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"to-rgba":{doc:"Returns a four-element array containing the input color's red, green, blue, and alpha components, in that order.",group:"Color","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"to-color":{doc:"Converts the input value to a color. If multiple values are provided, each one is evaluated in order until the first successful conversion is obtained. If none of the inputs can be converted, the expression is an error.",group:"Types","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},rgb:{doc:"Creates a color value from red, green, and blue components, which must range between 0 and 255, and an alpha component of 1. If any component is out of range, the expression is an error.",group:"Color","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},rgba:{doc:"Creates a color value from red, green, blue components, which must range between 0 and 255, and an alpha component which must range between 0 and 1. If any component is out of range, the expression is an error.",group:"Color","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},get:{doc:"Retrieves a property value from the current feature's properties, or from another object if a second argument is provided. Returns null if the requested property is missing.",group:"Lookup","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},has:{doc:"Tests for the presence of an property value in the current feature's properties, or from another object if a second argument is provided.",group:"Lookup","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},length:{doc:"Gets the length of an array or string.",group:"Lookup","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},properties:{doc:'Gets the feature properties object.  Note that in some cases, it may be more efficient to use ["get", "property_name"] directly.',group:"Feature data","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"feature-state":{doc:"Retrieves a property value from the current feature's state. Returns null if the requested property is not present on the feature's state. A feature's state is not part of the GeoJSON or vector tile data, and must be set programmatically on each feature. Features are identified by their `id` attribute, which must be an integer or a string that can be cast to an integer. Note that [\"feature-state\"] can only be used with paint properties that support data-driven styling.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.46.0"}}},"geometry-type":{doc:"Gets the feature's geometry type: `Point`, `MultiPoint`, `LineString`, `MultiLineString`, `Polygon`, `MultiPolygon`.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},id:{doc:"Gets the feature's id, if it has one.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},zoom:{doc:'Gets the current zoom level.  Note that in style layout and paint properties, ["zoom"] may only appear as the input to a top-level "step" or "interpolate" expression.',group:"Zoom","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"heatmap-density":{doc:"Gets the kernel density estimation of a pixel in a heatmap layer, which is a relative measure of how many data points are crowded around a particular pixel. Can only be used in the `heatmap-color` property.",group:"Heatmap","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"line-progress":{doc:"Gets the progress along a gradient line. Can only be used in the `line-gradient` property.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.5.0",ios:"4.6.0",macos:"0.12.0"}}},"sky-radial-progress":{doc:"Gets the distance of a point on the sky from the sun position. Returns 0 at sun position and 1 when the distance reaches `sky-gradient-radius`. Can only be used in the `sky-gradient` property.",group:"sky","sdk-support":{"basic functionality":{js:"2.0.0"}}},accumulated:{doc:"Gets the value of a cluster property accumulated so far. Can only be used in the `clusterProperties` option of a clustered GeoJSON source.",group:"Feature data","sdk-support":{"basic functionality":{js:"0.53.0"}}},"+":{doc:"Returns the sum of the inputs.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"*":{doc:"Returns the product of the inputs.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"-":{doc:"For two inputs, returns the result of subtracting the second input from the first. For a single input, returns the result of subtracting it from 0.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"/":{doc:"Returns the result of floating point division of the first input by the second.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"%":{doc:"Returns the remainder after integer division of the first input by the second.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"^":{doc:"Returns the result of raising the first input to the power specified by the second.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},sqrt:{doc:"Returns the square root of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.42.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},log10:{doc:"Returns the base-ten logarithm of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},ln:{doc:"Returns the natural logarithm of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},log2:{doc:"Returns the base-two logarithm of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},sin:{doc:"Returns the sine of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},cos:{doc:"Returns the cosine of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},tan:{doc:"Returns the tangent of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},asin:{doc:"Returns the arcsine of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},acos:{doc:"Returns the arccosine of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},atan:{doc:"Returns the arctangent of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},min:{doc:"Returns the minimum value of the inputs.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},max:{doc:"Returns the maximum value of the inputs.",group:"Math","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},round:{doc:'Rounds the input to the nearest integer. Halfway values are rounded away from zero. For example, `["round", -1.5]` evaluates to -2.',group:"Math","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},abs:{doc:"Returns the absolute value of the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},ceil:{doc:"Returns the smallest integer that is greater than or equal to the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},floor:{doc:"Returns the largest integer that is less than or equal to the input.",group:"Math","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},distance:{doc:"Returns the shortest distance in meters between the evaluated feature and the input geometry. The input value can be a valid GeoJSON of type `Point`, `MultiPoint`, `LineString`, `MultiLineString`, `Polygon`, `MultiPolygon`, `Feature`, or `FeatureCollection`. Distance values returned may vary in precision due to loss in precision from encoding geometries, particularly below zoom level 13.",group:"Math","sdk-support":{"basic functionality":{android:"9.2.0",ios:"5.9.0",macos:"0.16.0"}}},"==":{doc:"Returns `true` if the input values are equal, `false` otherwise. The comparison is strictly typed: values of different runtime types are always considered unequal. Cases where the types are known to be different at parse time are considered invalid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},"!=":{doc:"Returns `true` if the input values are not equal, `false` otherwise. The comparison is strictly typed: values of different runtime types are always considered unequal. Cases where the types are known to be different at parse time are considered invalid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},">":{doc:"Returns `true` if the first input is strictly greater than the second, `false` otherwise. The arguments are required to be either both strings or both numbers; if during evaluation they are not, expression evaluation produces an error. Cases where this constraint is known not to hold at parse time are considered in valid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},"<":{doc:"Returns `true` if the first input is strictly less than the second, `false` otherwise. The arguments are required to be either both strings or both numbers; if during evaluation they are not, expression evaluation produces an error. Cases where this constraint is known not to hold at parse time are considered in valid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},">=":{doc:"Returns `true` if the first input is greater than or equal to the second, `false` otherwise. The arguments are required to be either both strings or both numbers; if during evaluation they are not, expression evaluation produces an error. Cases where this constraint is known not to hold at parse time are considered in valid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},"<=":{doc:"Returns `true` if the first input is less than or equal to the second, `false` otherwise. The arguments are required to be either both strings or both numbers; if during evaluation they are not, expression evaluation produces an error. Cases where this constraint is known not to hold at parse time are considered in valid and will produce a parse error. Accepts an optional `collator` argument to control locale-dependent string comparisons.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},collator:{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}},all:{doc:"Returns `true` if all the inputs are `true`, `false` otherwise. The inputs are evaluated in order, and evaluation is short-circuiting: once an input expression evaluates to `false`, the result is `false` and no further input expressions are evaluated.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},any:{doc:"Returns `true` if any of the inputs are `true`, `false` otherwise. The inputs are evaluated in order, and evaluation is short-circuiting: once an input expression evaluates to `true`, the result is `true` and no further input expressions are evaluated.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"!":{doc:"Logical negation. Returns `true` if the input is `false`, and `false` if the input is `true`.",group:"Decision","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},within:{doc:"Returns `true` if the evaluated feature is fully contained inside a boundary of the input geometry, `false` otherwise. The input value can be a valid GeoJSON of type `Polygon`, `MultiPolygon`, `Feature`, or `FeatureCollection`. Supported features for evaluation:\n- `Point`: Returns `false` if a point is on the boundary or falls outside the boundary.\n- `LineString`: Returns `false` if any part of a line falls outside the boundary, the line intersects the boundary, or a line's endpoint is on the boundary.",group:"Decision","sdk-support":{"basic functionality":{js:"1.9.0",android:"9.1.0",ios:"5.8.0",macos:"0.15.0"}}},"is-supported-script":{doc:"Returns `true` if the input string is expected to render legibly. Returns `false` if the input string contains sections that cannot be rendered without potential loss of meaning (e.g. Indic scripts that require complex text shaping, or right-to-left scripts if the the `mapbox-gl-rtl-text` plugin is not in use in Mapbox GL JS).",group:"String","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.6.0"}}},upcase:{doc:"Returns the input string converted to uppercase. Follows the Unicode Default Case Conversion algorithm and the locale-insensitive case mappings in the Unicode Character Database.",group:"String","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},downcase:{doc:"Returns the input string converted to lowercase. Follows the Unicode Default Case Conversion algorithm and the locale-insensitive case mappings in the Unicode Character Database.",group:"String","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},concat:{doc:"Returns a `string` consisting of the concatenation of the inputs. Each input is converted to a string as if by `to-string`.",group:"String","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}}},"resolved-locale":{doc:"Returns the IETF language tag of the locale being used by the provided `collator`. This can be used to determine the default system locale, or to determine if a requested locale was successfully loaded.",group:"String","sdk-support":{"basic functionality":{js:"0.45.0",android:"6.5.0",ios:"4.2.0",macos:"0.9.0"}}}}},fog:{range:{type:"array",default:[.5,10],minimum:-20,maximum:20,length:2,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},doc:"The start and end distance range in which fog fades from fully transparent to fully opaque. The distance to the point at the center of the map is defined as zero, so that negative range values are closer to the camera, and positive values are farther away.",example:[.5,10],"sdk-support":{"basic functionality":{js:"2.3.0"}}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"The color of the fog. Using opacity is recommended only for smoothly transitioning fog on/off as anything less than 100% opacity results in more tiles loaded and drawn.","sdk-support":{"basic functionality":{js:"2.3.0"}}},"horizon-blend":{type:"number","property-type":"data-constant",default:.1,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Horizon blend applies a smooth fade from the color of the fog to the color of the sky. A value of zero leaves a sharp transition from fog to sky. Increasing the value blends the color of fog into increasingly high angles of the sky.","sdk-support":{"basic functionality":{js:"2.3.0"}}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{doc:"The position of the light source is aligned to the rotation of the map."},viewport:{doc:"The position of the light source is aligned to the rotation of the viewport."}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]},doc:"Whether extruded geometries are lit relative to the map or viewport.",example:"map","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},doc:"Position of the light source relative to lit (extruded) geometries, in [r radial coordinate, a azimuthal angle, p polar angle] where r indicates the distance from the center of the base of an object to its light, a indicates the position of the light relative to 0° (0° when `light.anchor` is set to `viewport` corresponds to the top of the viewport, or 0° when `light.anchor` is set to `map` corresponds to due north, and degrees proceed clockwise), and p indicates the height of the light (from 0°, directly above, to 180°, directly below).",example:[1.5,90,80],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Color tint for lighting extruded geometries.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Intensity of lighting (on a scale from 0 to 1). Higher numbers will present as more extreme contrast.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}}}},terrain:{source:{type:"string",doc:"Name of a source of `raster_dem` type to be used for terrain elevation.",required:!0,"sdk-support":{"basic functionality":{js:"2.0.0"}}},exaggeration:{type:"number","property-type":"data-constant",default:1,minimum:0,maximum:1e3,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,doc:"Exaggerates the elevation of the terrain by multiplying the data from the DEM with this value.","sdk-support":{"basic functionality":{js:"2.0.0"}}}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background","paint_sky"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,doc:"Whether or not the fill should be antialiased.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity of the entire fill layer. In contrast to the `fill-color`, this value will also affect the 1px stroke around the fill, if the stroke is used.",transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.21.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",doc:"The color of the filled part of this layer. This color can be specified as `rgba` with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used.",transition:!0,requires:[{"!":"fill-pattern"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.19.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",doc:"The outline color of the fill. Matches the value of `fill-color` if unspecified.",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.19.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{doc:"The fill is translated relative to the map."},viewport:{doc:"The fill is translated relative to the viewport."}},doc:"Controls the frame of reference for `fill-translate`.",default:"map",requires:["fill-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,doc:"Name of image in sprite to use for drawing image fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",doc:"The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; use `fill-extrusion-opacity` to set layer opacity.",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{doc:"The fill extrusion is translated relative to the map."},viewport:{doc:"The fill extrusion is translated relative to the viewport."}},doc:"Controls the frame of reference for `fill-extrusion-translate`.",default:"map",requires:["fill-extrusion-translate"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,doc:"Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude this layer.",transition:!0,"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",doc:"The height with which to extrude the base of this layer. Must be less than or equal to `fill-extrusion-height`.",transition:!0,requires:["fill-extrusion-height"],"sdk-support":{"basic functionality":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"},"data-driven styling":{js:"0.27.0",android:"5.1.0",ios:"3.6.0",macos:"0.5.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,doc:"Whether to apply a vertical gradient to the sides of a fill-extrusion layer. If true, sides will be shaded slightly darker farther down.",transition:!1,"sdk-support":{"basic functionality":{js:"0.50.0",ios:"4.7.0",macos:"0.13.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",doc:"The opacity at which the line will be drawn.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",doc:"The color with which the line will be drawn.",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.23.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{doc:"The line is translated relative to the map."},viewport:{doc:"The line is translated relative to the viewport."}},doc:"Controls the frame of reference for `line-translate`.",default:"map",requires:["line-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",doc:"Stroke thickness.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,doc:"Draws a line casing outside of a line's actual path. Value indicates the width of the inner gap.",transition:!0,units:"pixels","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,doc:"The line's offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For polygon features, a positive value results in an inset, and a negative value results in an outset.",transition:!0,units:"pixels","sdk-support":{"basic functionality":{js:"0.12.1",android:"3.0.0",ios:"3.1.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"Blur applied to the line, in pixels.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",doc:"Specifies the lengths of the alternating dashes and gaps that form the dash pattern. The lengths are later scaled by the line width. To convert a dash length to pixels, multiply the length by the current line width. Note that GeoJSON sources with `lineMetrics: true` specified won't render dashed lines to the expected scale. Also note that zoom-dependent expressions will be evaluated only at integer zoom levels.",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"2.3.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-pattern":{type:"resolvedImage",transition:!0,doc:"Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.49.0",android:"6.5.0",macos:"0.11.0",ios:"4.4.0"}},expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",doc:'Defines a gradient with which to color a line feature. Can only be used with GeoJSON sources that specify `"lineMetrics": true`.',transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],"sdk-support":{"basic functionality":{js:"0.45.0",android:"6.5.0",ios:"4.4.0",macos:"0.11.0"},"data-driven styling":{}},expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",doc:"Circle radius.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.18.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",doc:"The fill color of the circle.",transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.18.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,doc:"Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.",transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.20.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",doc:"The opacity at which the circle will be drawn.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.20.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{doc:"The circle is translated relative to the map."},viewport:{doc:"The circle is translated relative to the viewport."}},doc:"Controls the frame of reference for `circle-translate`.",default:"map",requires:["circle-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{doc:"Circles are scaled according to their apparent distance to the camera."},viewport:{doc:"Circles are not scaled."}},default:"map",doc:"Controls the scaling behavior of the circle when the map is pitched.","sdk-support":{"basic functionality":{js:"0.21.0",android:"4.2.0",ios:"3.4.0",macos:"0.2.1"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{doc:"The circle is aligned to the plane of the map."},viewport:{doc:"The circle is aligned to the plane of the viewport."}},default:"viewport",doc:"Orientation of circle when map is pitched.","sdk-support":{"basic functionality":{js:"0.39.0",android:"5.2.0",ios:"3.7.0",macos:"0.6.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"The width of the circle's stroke. Strokes are placed outside of the `circle-radius`.","sdk-support":{"basic functionality":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",doc:"The stroke color of the circle.",transition:!0,"sdk-support":{"basic functionality":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",doc:"The opacity of the circle's stroke.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"},"data-driven styling":{js:"0.29.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",doc:"Radius of influence of one heatmap point in pixels. Increasing the value makes the heatmap smoother, but less detailed.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,doc:"A measure of how much an individual point contributes to the heatmap. A value of 10 would be equivalent to having 10 points of weight 1 in the same spot. Especially useful when combined with clustering.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,doc:"Similar to `heatmap-weight` but controls the intensity of the heatmap globally. Primarily used for adjusting the heatmap based on zoom level.","sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],doc:'Defines the color of each pixel based on its density value in a heatmap.  Should be an expression that uses `["heatmap-density"]` as input.',transition:!1,"sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"},"data-driven styling":{}},expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",doc:"The global opacity at which the heatmap layer will be drawn.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.41.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{doc:"The opacity at which the icon will be drawn.",type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,doc:"The color of the icon. This can only be used with sdf icons.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,doc:"The color of the icon's halo. Icon halos can only be used with SDF icons.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"Distance of halo to the icon outline.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"Fade out the halo towards the outside.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"Distance that the icon's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.",requires:["icon-image"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{doc:"Icons are translated relative to the map."},viewport:{doc:"Icons are translated relative to the viewport."}},doc:"Controls the frame of reference for `icon-translate`.",default:"map",requires:["icon-image","icon-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",doc:"The opacity at which the text will be drawn.",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",doc:"The color with which the text will be drawn.",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,doc:"The color of the text's halo, which helps it stand out from backgrounds.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"Distance of halo to the font outline. Max text halo width is 1/4 of the font-size.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",doc:"The halo's fadeout distance towards the outside.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{js:"0.33.0",android:"5.0.0",ios:"3.5.0",macos:"0.4.0"}},expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",doc:"Distance that the text's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.",requires:["text-field"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{doc:"The text is translated relative to the map."},viewport:{doc:"The text is translated relative to the viewport."}},doc:"Controls the frame of reference for `text-translate`.",default:"map",requires:["text-field","text-translate"],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",doc:"The opacity at which the image will be drawn.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",doc:"Rotates hues around the color wheel.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",doc:"Increase or reduce the brightness of the image. The value is the minimum brightness.",default:0,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",doc:"Increase or reduce the brightness of the image. The value is the maximum brightness.",default:1,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",doc:"Increase or reduce the saturation of the image.",default:0,minimum:-1,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",doc:"Increase or reduce the contrast of the image.",default:0,minimum:-1,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",doc:"The resampling/interpolation method to use for overscaling, also known as texture magnification filter",values:{linear:{doc:"(Bi)linear filtering interpolates pixel values using the weighted average of the four closest original source pixels creating a smooth but blurry look when overscaled"},nearest:{doc:"Nearest neighbor filtering interpolates pixel values using the nearest original source pixel creating a sharp but pixelated look when overscaled"}},default:"linear","sdk-support":{"basic functionality":{js:"0.47.0",android:"6.3.0",ios:"4.2.0",macos:"0.9.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",doc:"Fade duration when a new tile is added.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,doc:"The direction of the light source used to generate the hillshading with 0 as the top of the viewport if `hillshade-illumination-anchor` is set to `viewport` and due north if `hillshade-illumination-anchor` is set to `map`.",transition:!1,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{doc:"The hillshade illumination is relative to the north direction."},viewport:{doc:"The hillshade illumination is relative to the top of the viewport."}},default:"viewport",doc:"Direction of light source when map is rotated.","sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",doc:"Intensity of the hillshade",default:.5,minimum:0,maximum:1,transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",doc:"The shading color of areas that face away from the light source.",transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",doc:"The shading color of areas that faces towards the light source.",transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",doc:"The shading color used to accentuate rugged terrain like sharp cliffs and gorges.",transition:!0,"sdk-support":{"basic functionality":{js:"0.43.0",android:"6.0.0",ios:"4.0.0",macos:"0.7.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",doc:"The color with which the background will be drawn.",transition:!0,requires:[{"!":"background-pattern"}],"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,doc:"Name of image in sprite to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.","sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"},"data-driven styling":{}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity at which the background will be drawn.",transition:!0,"sdk-support":{"basic functionality":{js:"0.10.0",android:"2.0.1",ios:"2.0.0",macos:"0.1.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_sky:{"sky-type":{type:"enum",values:{gradient:{doc:"Renders the sky with a gradient that can be configured with `sky-gradient-radius` and `sky-gradient`."},atmosphere:{doc:"Renders the sky with a simulated atmospheric scattering algorithm, the sun direction can be attached to the light position or explicitly set through `sky-atmosphere-sun`."}},default:"atmosphere",doc:"The type of the sky","sdk-support":{"basic functionality":{js:"2.0.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun":{type:"array",value:"number",length:2,units:"degrees",minimum:[0,0],maximum:[360,180],transition:!1,doc:"Position of the sun center [a azimuthal angle, p polar angle]. The azimuthal angle indicates the position of the sun relative to 0° north, where degrees proceed clockwise. The polar angle indicates the height of the sun, where 0° is directly above, at zenith, and 90° at the horizon. When this property is ommitted, the sun center is directly inherited from the light position.","sdk-support":{"basic functionality":{js:"2.0.0"}},requires:[{"sky-type":"atmosphere"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun-intensity":{type:"number",requires:[{"sky-type":"atmosphere"}],default:10,minimum:0,maximum:100,transition:!1,doc:"Intensity of the sun as a light source in the atmosphere (on a scale from 0 to a 100). Setting higher values will brighten up the sky.","sdk-support":{"basic functionality":{js:"2.0.0"}},"property-type":"data-constant"},"sky-gradient-center":{type:"array",requires:[{"sky-type":"gradient"}],value:"number",default:[0,0],length:2,units:"degrees",minimum:[0,0],maximum:[360,180],transition:!1,doc:"Position of the gradient center [a azimuthal angle, p polar angle]. The azimuthal angle indicates the position of the gradient center relative to 0° north, where degrees proceed clockwise. The polar angle indicates the height of the gradient center, where 0° is directly above, at zenith, and 90° at the horizon.","sdk-support":{"basic functionality":{js:"2.0.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"sky-gradient-radius":{type:"number",requires:[{"sky-type":"gradient"}],default:90,minimum:0,maximum:180,transition:!1,doc:"The angular distance (measured in degrees) from `sky-gradient-center` up to which the gradient extends. A value of 180 causes the gradient to wrap around to the opposite direction from `sky-gradient-center`.","sdk-support":{"basic functionality":{js:"2.0.0"}},expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"sky-gradient":{type:"color",default:["interpolate",["linear"],["sky-radial-progress"],.8,"#87ceeb",1,"white"],doc:"Defines a radial color gradient with which to color the sky. The color values can be interpolated with an expression using `sky-radial-progress`. The range [0, 1] for the interpolant covers a radial distance (in degrees) of [0, `sky-gradient-radius`] centered at the position specified by `sky-gradient-center`.",transition:!1,requires:[{"sky-type":"gradient"}],"sdk-support":{"basic functionality":{js:"2.0.0"},"data-driven styling":{}},expression:{interpolated:!0,parameters:["sky-radial-progress"]},"property-type":"color-ramp"},"sky-atmosphere-halo-color":{type:"color",default:"white",doc:"A color applied to the atmosphere sun halo. The alpha channel describes how strongly the sun halo is represented in an atmosphere sky layer.",transition:!1,requires:[{"sky-type":"atmosphere"}],"sdk-support":{"basic functionality":{js:"2.0.0"}},"property-type":"data-constant"},"sky-atmosphere-color":{type:"color",default:"white",doc:"A color used to tweak the main atmospheric scattering coefficients. Using white applies the default coefficients giving the natural blue color to the atmosphere. This color affects how heavily the corresponding wavelength is represented during scattering. The alpha channel describes the density of the atmosphere, with 1 maximum density and 0 no density.",transition:!1,requires:[{"sky-type":"atmosphere"}],"sdk-support":{"basic functionality":{js:"2.0.0"}},"property-type":"data-constant"},"sky-opacity":{type:"number",default:1,minimum:0,maximum:1,doc:"The opacity of the entire sky layer.",transition:!0,"sdk-support":{"basic functionality":{js:"2.0.0"}},expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds",doc:"Time allotted for transitions to complete."},delay:{type:"number",default:0,minimum:0,units:"milliseconds",doc:"Length of time before a transition begins."}},"property-type":{"data-driven":{type:"property-type",doc:"Property is interpolable and can be represented using a property expression."},"cross-faded":{type:"property-type",doc:"Property is non-interpolable; rather, its values will be cross-faded to smoothly transition between integer zooms."},"cross-faded-data-driven":{type:"property-type",doc:"Property is non-interpolable; rather, its values will be cross-faded to smoothly transition between integer zooms. It can be represented using a property expression."},"color-ramp":{type:"property-type",doc:"Property should be specified using a color ramp from which the output color can be sampled based on a property calculation."},"data-constant":{type:"property-type",doc:"Property is interpolable but cannot be represented using a property expression."},constant:{type:"property-type",doc:"Property is constant across all zoom levels and property values."}},promoteId:{"*":{type:"string",doc:"A name of a feature property to use as ID for feature state."}}},i=/("(?:[^\\"]|\\.)*")|[:,]/g,s=function(e,t){var o,r,n;return t=t||{},o=JSON.stringify([1],void 0,void 0===t.indent?2:t.indent).slice(2,-3),r=""===o?1/0:void 0===t.maxLength?80:t.maxLength,n=t.replacer,function e(t,s,a){var l,u,c,d,p,h,f,m,g,y,v,_;if(t&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===(v=JSON.stringify(t,n)))return v;if(f=r-s.length-a,v.length<=f&&(g=v.replace(i,(function(e,t){return t||e+" "}))).length<=f)return g;if(null!=n&&(t=JSON.parse(v),n=void 0),"object"==typeof t&&null!==t){if(m=s+o,c=[],u=0,Array.isArray(t))for(y="[",l="]",f=t.length;u<f;u++)c.push(e(t[u],m,u===f-1?0:1)||"null");else for(y="{",l="}",f=(h=Object.keys(t)).length;u<f;u++)d=h[u],p=JSON.stringify(d)+": ",void 0!==(_=e(t[d],m,p.length+(u===f-1?0:1)))&&c.push(p+_);if(c.length>0)return[y,o+c.join(",\n"+m),l].join("\n"+s)}return v}(e,"",0)};function a(e,t){const o={};for(const r in t)void 0!==e[r]&&(o[r]=e[r]);for(const t in e)void 0===o[t]&&(o[t]=e[t]);return o}function l(e,t=2){return(e=a(e,n.$root)).layers&&(e.layers=e.layers.map((e=>a(e,n.layer)))),s(e,{indent:t})}var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};function c(e){var t={exports:{}};return e(t,t.exports),t.exports}function d(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets option of @rollup/plugin-commonjs appropriately for this require call to behave properly.')}
/*! https://mths.be/punycode v1.3.2 by @mathias */var p=c((function(e,t){!function(o){var r=t&&!t.nodeType&&t,n=e&&!e.nodeType&&e,i="object"==typeof u&&u;i.global!==i&&i.window!==i&&i.self!==i||(o=i);var s,a,l=2147483647,c=36,d=/^xn--/,p=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,g=String.fromCharCode;function y(e){throw RangeError(f[e])}function v(e,t){for(var o=e.length,r=[];o--;)r[o]=t(e[o]);return r}function _(e,t){var o=e.split("@"),r="";return o.length>1&&(r=o[0]+"@",e=o[1]),r+v((e=e.replace(h,".")).split("."),t).join(".")}function b(e){for(var t,o,r=[],n=0,i=e.length;n<i;)(t=e.charCodeAt(n++))>=55296&&t<=56319&&n<i?56320==(64512&(o=e.charCodeAt(n++)))?r.push(((1023&t)<<10)+(1023&o)+65536):(r.push(t),n--):r.push(t);return r}function A(e){return v(e,(function(e){var t="";return e>65535&&(t+=g((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=g(e)})).join("")}function C(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function E(e,t,o){var r=0;for(e=o?m(e/700):e>>1,e+=m(e/t);e>455;r+=c)e=m(e/35);return m(r+36*e/(e+38))}function S(e){var t,o,r,n,i,s,a,u,d,p,h,f=[],g=e.length,v=0,_=128,b=72;for((o=e.lastIndexOf("-"))<0&&(o=0),r=0;r<o;++r)e.charCodeAt(r)>=128&&y("not-basic"),f.push(e.charCodeAt(r));for(n=o>0?o+1:0;n<g;){for(i=v,s=1,a=c;n>=g&&y("invalid-input"),((u=(h=e.charCodeAt(n++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:c)>=c||u>m((l-v)/s))&&y("overflow"),v+=u*s,!(u<(d=a<=b?1:a>=b+26?26:a-b));a+=c)s>m(l/(p=c-d))&&y("overflow"),s*=p;b=E(v-i,t=f.length+1,0==i),m(v/t)>l-_&&y("overflow"),_+=m(v/t),v%=t,f.splice(v++,0,_)}return A(f)}function w(e){var t,o,r,n,i,s,a,u,d,p,h,f,v,_,A,S=[];for(f=(e=b(e)).length,t=128,o=0,i=72,s=0;s<f;++s)(h=e[s])<128&&S.push(g(h));for(r=n=S.length,n&&S.push("-");r<f;){for(a=l,s=0;s<f;++s)(h=e[s])>=t&&h<a&&(a=h);for(a-t>m((l-o)/(v=r+1))&&y("overflow"),o+=(a-t)*v,t=a,s=0;s<f;++s)if((h=e[s])<t&&++o>l&&y("overflow"),h==t){for(u=o,d=c;!(u<(p=d<=i?1:d>=i+26?26:d-i));d+=c)A=u-p,_=c-p,S.push(g(C(p+A%_,0))),u=m(A/_);S.push(g(C(u,0))),i=E(o,v,r==n),o=0,++r}++o,++t}return S.join("")}if(s={version:"1.3.2",ucs2:{decode:b,encode:A},decode:S,encode:w,toASCII:function(e){return _(e,(function(e){return p.test(e)?"xn--"+w(e):e}))},toUnicode:function(e){return _(e,(function(e){return d.test(e)?S(e.slice(4).toLowerCase()):e}))}},r&&n)if(e.exports==r)n.exports=s;else for(a in s)s.hasOwnProperty(a)&&(r[a]=s[a]);else o.punycode=s}(u)})),h=function(e){return"string"==typeof e},f=function(e){return"object"==typeof e&&null!==e},m=function(e){return null===e},g=function(e){return null==e};function y(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var v=function(e,t,o,r){t=t||"&",o=o||"=";var n={};if("string"!=typeof e||0===e.length)return n;var i=/\+/g;e=e.split(t);var s=1e3;r&&"number"==typeof r.maxKeys&&(s=r.maxKeys);var a=e.length;s>0&&a>s&&(a=s);for(var l=0;l<a;++l){var u,c,d,p,h=e[l].replace(i,"%20"),f=h.indexOf(o);f>=0?(u=h.substr(0,f),c=h.substr(f+1)):(u=h,c=""),d=decodeURIComponent(u),p=decodeURIComponent(c),y(n,d)?Array.isArray(n[d])?n[d].push(p):n[d]=[n[d],p]:n[d]=p}return n},_=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},b=function(e,t,o,r){return t=t||"&",o=o||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(r){var n=encodeURIComponent(_(r))+o;return Array.isArray(e[r])?e[r].map((function(e){return n+encodeURIComponent(_(e))})).join(t):n+encodeURIComponent(_(e[r]))})).join(t):r?encodeURIComponent(_(r))+o+encodeURIComponent(_(e)):""},A=c((function(e,t){t.decode=t.parse=v,t.encode=t.stringify=b})),C=U,E=function(e,t){return U(e,!1,!0).resolve(t)},S=function(e,t){return e?U(e,!1,!0).resolveObject(t):t},w=function(e){h(e)&&(e=U(e));return e instanceof I?e.format():I.prototype.format.call(e)},O=I;function I(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var x=/^([a-z0-9.+-]+:)/i,j=/:[0-9]*$/,T=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,P=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),M=["'"].concat(P),R=["%","/","?",";","#"].concat(M),L=["/","?","#"],k=/^[+a-z0-9A-Z_-]{0,63}$/,N=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,D={javascript:!0,"javascript:":!0},G={javascript:!0,"javascript:":!0},F={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function U(e,t,o){if(e&&f(e)&&e instanceof I)return e;var r=new I;return r.parse(e,t,o),r}I.prototype.parse=function(e,t,o){if(!h(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),n=-1!==r&&r<e.indexOf("#")?"?":"#",i=e.split(n);i[0]=i[0].replace(/\\/g,"/");var s=e=i.join(n);if(s=s.trim(),!o&&1===e.split("#").length){var a=T.exec(s);if(a)return this.path=s,this.href=s,this.pathname=a[1],a[2]?(this.search=a[2],this.query=t?A.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var l=x.exec(s);if(l){var u=(l=l[0]).toLowerCase();this.protocol=u,s=s.substr(l.length)}if(o||l||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var c="//"===s.substr(0,2);!c||l&&G[l]||(s=s.substr(2),this.slashes=!0)}if(!G[l]&&(c||l&&!F[l])){for(var d,f,m=-1,g=0;g<L.length;g++){-1!==(y=s.indexOf(L[g]))&&(-1===m||y<m)&&(m=y)}-1!==(f=-1===m?s.lastIndexOf("@"):s.lastIndexOf("@",m))&&(d=s.slice(0,f),s=s.slice(f+1),this.auth=decodeURIComponent(d)),m=-1;for(g=0;g<R.length;g++){var y;-1!==(y=s.indexOf(R[g]))&&(-1===m||y<m)&&(m=y)}-1===m&&(m=s.length),this.host=s.slice(0,m),s=s.slice(m),this.parseHost(),this.hostname=this.hostname||"";var v="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!v)for(var _=this.hostname.split(/\./),b=(g=0,_.length);g<b;g++){var C=_[g];if(C&&!C.match(k)){for(var E="",S=0,w=C.length;S<w;S++)C.charCodeAt(S)>127?E+="x":E+=C[S];if(!E.match(k)){var O=_.slice(0,g),I=_.slice(g+1),j=C.match(N);j&&(O.push(j[1]),I.unshift(j[2])),I.length&&(s="/"+I.join(".")+s),this.hostname=O.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),v||(this.hostname=p.toASCII(this.hostname));var P=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+P,this.href+=this.host,v&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!D[u])for(g=0,b=M.length;g<b;g++){var B=M[g];if(-1!==s.indexOf(B)){var z=encodeURIComponent(B);z===B&&(z=escape(B)),s=s.split(B).join(z)}}var V=s.indexOf("#");-1!==V&&(this.hash=s.substr(V),s=s.slice(0,V));var W=s.indexOf("?");if(-1!==W?(this.search=s.substr(W),this.query=s.substr(W+1),t&&(this.query=A.parse(this.query)),s=s.slice(0,W)):t&&(this.search="",this.query={}),s&&(this.pathname=s),F[u]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){P=this.pathname||"";var q=this.search||"";this.path=P+q}return this.href=this.format(),this},I.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",o=this.pathname||"",r=this.hash||"",n=!1,i="";this.host?n=e+this.host:this.hostname&&(n=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(n+=":"+this.port)),this.query&&f(this.query)&&Object.keys(this.query).length&&(i=A.stringify(this.query));var s=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||F[t])&&!1!==n?(n="//"+(n||""),o&&"/"!==o.charAt(0)&&(o="/"+o)):n||(n=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),t+n+(o=o.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+r},I.prototype.resolve=function(e){return this.resolveObject(U(e,!1,!0)).format()},I.prototype.resolveObject=function(e){if(h(e)){var t=new I;t.parse(e,!1,!0),e=t}for(var o=new I,r=Object.keys(this),n=0;n<r.length;n++){var i=r[n];o[i]=this[i]}if(o.hash=e.hash,""===e.href)return o.href=o.format(),o;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),a=0;a<s.length;a++){var l=s[a];"protocol"!==l&&(o[l]=e[l])}return F[o.protocol]&&o.hostname&&!o.pathname&&(o.path=o.pathname="/"),o.href=o.format(),o}if(e.protocol&&e.protocol!==o.protocol){if(!F[e.protocol]){for(var u=Object.keys(e),c=0;c<u.length;c++){var d=u[c];o[d]=e[d]}return o.href=o.format(),o}if(o.protocol=e.protocol,e.host||G[e.protocol])o.pathname=e.pathname;else{for(var p=(e.pathname||"").split("/");p.length&&!(e.host=p.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),o.pathname=p.join("/")}if(o.search=e.search,o.query=e.query,o.host=e.host||"",o.auth=e.auth,o.hostname=e.hostname||e.host,o.port=e.port,o.pathname||o.search){var f=o.pathname||"",y=o.search||"";o.path=f+y}return o.slashes=o.slashes||e.slashes,o.href=o.format(),o}var v=o.pathname&&"/"===o.pathname.charAt(0),_=e.host||e.pathname&&"/"===e.pathname.charAt(0),b=_||v||o.host&&e.pathname,A=b,C=o.pathname&&o.pathname.split("/")||[],E=(p=e.pathname&&e.pathname.split("/")||[],o.protocol&&!F[o.protocol]);if(E&&(o.hostname="",o.port=null,o.host&&(""===C[0]?C[0]=o.host:C.unshift(o.host)),o.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===p[0]?p[0]=e.host:p.unshift(e.host)),e.host=null),b=b&&(""===p[0]||""===C[0])),_)o.host=e.host||""===e.host?e.host:o.host,o.hostname=e.hostname||""===e.hostname?e.hostname:o.hostname,o.search=e.search,o.query=e.query,C=p;else if(p.length)C||(C=[]),C.pop(),C=C.concat(p),o.search=e.search,o.query=e.query;else if(!g(e.search)){if(E)o.hostname=o.host=C.shift(),(j=!!(o.host&&o.host.indexOf("@")>0)&&o.host.split("@"))&&(o.auth=j.shift(),o.host=o.hostname=j.shift());return o.search=e.search,o.query=e.query,m(o.pathname)&&m(o.search)||(o.path=(o.pathname?o.pathname:"")+(o.search?o.search:"")),o.href=o.format(),o}if(!C.length)return o.pathname=null,o.search?o.path="/"+o.search:o.path=null,o.href=o.format(),o;for(var S=C.slice(-1)[0],w=(o.host||e.host||C.length>1)&&("."===S||".."===S)||""===S,O=0,x=C.length;x>=0;x--)"."===(S=C[x])?C.splice(x,1):".."===S?(C.splice(x,1),O++):O&&(C.splice(x,1),O--);if(!b&&!A)for(;O--;O)C.unshift("..");!b||""===C[0]||C[0]&&"/"===C[0].charAt(0)||C.unshift(""),w&&"/"!==C.join("/").substr(-1)&&C.push("");var j,T=""===C[0]||C[0]&&"/"===C[0].charAt(0);E&&(o.hostname=o.host=T?"":C.length?C.shift():"",(j=!!(o.host&&o.host.indexOf("@")>0)&&o.host.split("@"))&&(o.auth=j.shift(),o.host=o.hostname=j.shift()));return(b=b||o.host&&C.length)&&!T&&C.unshift(""),C.length?o.pathname=C.join("/"):(o.pathname=null,o.path=null),m(o.pathname)&&m(o.search)||(o.path=(o.pathname?o.pathname:"")+(o.search?o.search:"")),o.auth=e.auth||o.auth,o.slashes=o.slashes||e.slashes,o.href=o.format(),o},I.prototype.parseHost=function(){var e=this.host,t=j.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var B={parse:C,resolve:E,resolveObject:S,format:w,Url:O};function z(e){for(let t=0;t<n.layout.length;t++)for(const o in n[n.layout[t]])if(o===e)return n[n.layout[t]][o];for(let t=0;t<n.paint.length;t++)for(const o in n[n.paint[t]])if(o===e)return n[n.paint[t]][o];return null}function V(e,t){for(const o in e.sources)t(e.sources[o])}function W(e,t){for(const o of e.layers)t(o)}function q(e,t,o){function r(e,t){const r=e[t];r&&Object.keys(r).forEach((n=>{o({path:[e.id,t,n],key:n,value:r[n],reference:z(n),set(e){r[n]=e}})}))}W(e,(e=>{t.paint&&r(e,"paint"),t.layout&&r(e,"layout")}))}function Y(e,t){for(const o in e)0===o.indexOf("layout")&&t(e[o],o)}function H(e,t){for(const o in e)0===o.indexOf("paint")&&t(e[o],o)}function X(e,t){return"string"==typeof t&&"@"===t[0]?X(e,e.constants[t]):t}function Z(e,t,o){e[o]=e[t],delete e[t]}function K(e){e.version=8,V(e,(e=>{"video"===e.type&&void 0!==e.url&&Z(e,"url","urls"),"video"===e.type&&e.coordinates.forEach((e=>e.reverse()))})),W(e,(e=>{Y(e,(e=>{void 0!==e["symbol-min-distance"]&&Z(e,"symbol-min-distance","symbol-spacing")})),H(e,(e=>{void 0!==e["background-image"]&&Z(e,"background-image","background-pattern"),void 0!==e["line-image"]&&Z(e,"line-image","line-pattern"),void 0!==e["fill-image"]&&Z(e,"fill-image","fill-pattern")}))})),q(e,{paint:!0,layout:!0},(t=>{const o=X(e,t.value);(function(e){return Array.isArray(e.stops)})(o)&&o.stops.forEach((t=>{t[1]=X(e,t[1])})),t.set(o)})),delete e.constants,W(e,(e=>{Y(e,(e=>{delete e["text-max-size"],delete e["icon-max-size"]})),H(e,(t=>{t["text-size"]&&(e.layout||(e.layout={}),e.layout["text-size"]=t["text-size"],delete t["text-size"]),t["icon-size"]&&(e.layout||(e.layout={}),e.layout["icon-size"]=t["icon-size"],delete t["icon-size"])}))})),e.glyphs&&(e.glyphs=function(e){const t=B.parse(e),o=t.pathname.split("/");return"mapbox:"!==t.protocol?e:"fontstack"===t.hostname?"mapbox://fonts/mapbox/{fontstack}/{range}.pbf":"fonts"===t.hostname?`mapbox://fonts/${o[2]}/{fontstack}/{range}.pbf`:void 0}(e.glyphs)),W(e,(e=>{Y(e,(e=>{e["text-font"]&&(e["text-font"]=function(e){function t(e){return e.split(",").map((e=>e.trim()))}if(Array.isArray(e))return e;if("string"==typeof e)return t(e);if("object"==typeof e)return e.stops.forEach((e=>{e[1]=t(e[1])})),e;throw new Error("unexpected font value")}(e["text-font"]))}))}));let t=0;for(let o=e.layers.length-1;o>=0;o--){if("symbol"!==e.layers[o].type){t=o+1;break}}const o=e.layers.splice(t);return o.reverse(),e.layers=e.layers.concat(o),e}function J(e,...t){for(const o of t)for(const t in o)e[t]=o[t];return e}class Q extends Error{constructor(e,t){super(t),this.message=t,this.key=e}}class ${constructor(e,t=[]){this.parent=e,this.bindings={};for(const[e,o]of t)this.bindings[e]=o}concat(e){return new $(this,e)}get(e){if(this.bindings[e])return this.bindings[e];if(this.parent)return this.parent.get(e);throw new Error(`${e} not found in scope.`)}has(e){return!!this.bindings[e]||!!this.parent&&this.parent.has(e)}}const ee={kind:"null"},te={kind:"number"},oe={kind:"string"},re={kind:"boolean"},ne={kind:"color"},ie={kind:"object"},se={kind:"value"},ae={kind:"collator"},le={kind:"formatted"},ue={kind:"resolvedImage"};function ce(e,t){return{kind:"array",itemType:e,N:t}}function de(e){if("array"===e.kind){const t=de(e.itemType);return"number"==typeof e.N?`array<${t}, ${e.N}>`:"value"===e.itemType.kind?"array":`array<${t}>`}return e.kind}const pe=[ee,te,oe,re,ne,le,ie,ce(se),ue];function he(e,t){if("error"===t.kind)return null;if("array"===e.kind){if("array"===t.kind&&(0===t.N&&"value"===t.itemType.kind||!he(e.itemType,t.itemType))&&("number"!=typeof e.N||e.N===t.N))return null}else{if(e.kind===t.kind)return null;if("value"===e.kind)for(const e of pe)if(!he(e,t))return null}return`Expected ${de(e)} but found ${de(t)} instead.`}function fe(e,t){return t.some((t=>t.kind===e.kind))}function me(e,t){return t.some((t=>"null"===t?null===e:"array"===t?Array.isArray(e):"object"===t?e&&!Array.isArray(e)&&"object"==typeof e:t===typeof e))}var ge=c((function(e,t){var o={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function r(e){return(e=Math.round(e))<0?0:e>255?255:e}function n(e){return e<0?0:e>1?1:e}function i(e){return"%"===e[e.length-1]?r(parseFloat(e)/100*255):r(parseInt(e))}function s(e){return"%"===e[e.length-1]?n(parseFloat(e)/100):n(parseFloat(e))}function a(e,t,o){return o<0?o+=1:o>1&&(o-=1),6*o<1?e+(t-e)*o*6:2*o<1?t:3*o<2?e+(t-e)*(2/3-o)*6:e}try{t.parseCSSColor=function(e){var t,n=e.replace(/ /g,"").toLowerCase();if(n in o)return o[n].slice();if("#"===n[0])return 4===n.length?(t=parseInt(n.substr(1),16))>=0&&t<=4095?[(3840&t)>>4|(3840&t)>>8,240&t|(240&t)>>4,15&t|(15&t)<<4,1]:null:7===n.length&&(t=parseInt(n.substr(1),16))>=0&&t<=16777215?[(16711680&t)>>16,(65280&t)>>8,255&t,1]:null;var l=n.indexOf("("),u=n.indexOf(")");if(-1!==l&&u+1===n.length){var c=n.substr(0,l),d=n.substr(l+1,u-(l+1)).split(","),p=1;switch(c){case"rgba":if(4!==d.length)return null;p=s(d.pop());case"rgb":return 3!==d.length?null:[i(d[0]),i(d[1]),i(d[2]),p];case"hsla":if(4!==d.length)return null;p=s(d.pop());case"hsl":if(3!==d.length)return null;var h=(parseFloat(d[0])%360+360)%360/360,f=s(d[1]),m=s(d[2]),g=m<=.5?m*(f+1):m+f-m*f,y=2*m-g;return[r(255*a(y,g,h+1/3)),r(255*a(y,g,h)),r(255*a(y,g,h-1/3)),p];default:return null}}return null}}catch(e){}}));class ye{constructor(e,t,o,r=1){this.r=e,this.g=t,this.b=o,this.a=r}static parse(e){if(!e)return;if(e instanceof ye)return e;if("string"!=typeof e)return;const t=ge.parseCSSColor(e);return t?new ye(t[0]/255*t[3],t[1]/255*t[3],t[2]/255*t[3],t[3]):void 0}toString(){const[e,t,o,r]=this.toArray();return`rgba(${Math.round(e)},${Math.round(t)},${Math.round(o)},${r})`}toArray(){const{r:e,g:t,b:o,a:r}=this;return 0===r?[0,0,0,0]:[255*e/r,255*t/r,255*o/r,r]}}ye.black=new ye(0,0,0,1),ye.white=new ye(1,1,1,1),ye.transparent=new ye(0,0,0,0),ye.red=new ye(1,0,0,1),ye.blue=new ye(0,0,1,1);class ve{constructor(e,t,o){this.sensitivity=e?t?"variant":"case":t?"accent":"base",this.locale=o,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})}compare(e,t){return this.collator.compare(e,t)}resolvedLocale(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}class _e{constructor(e,t,o,r,n){this.text=e,this.image=t,this.scale=o,this.fontStack=r,this.textColor=n}}class be{constructor(e){this.sections=e}static fromString(e){return new be([new _e(e,null,null,null,null)])}isEmpty(){return 0===this.sections.length||!this.sections.some((e=>0!==e.text.length||e.image&&0!==e.image.name.length))}static factory(e){return e instanceof be?e:be.fromString(e)}toString(){return 0===this.sections.length?"":this.sections.map((e=>e.text)).join("")}serialize(){const e=["format"];for(const t of this.sections){if(t.image){e.push(["image",t.image.name]);continue}e.push(t.text);const o={};t.fontStack&&(o["text-font"]=["literal",t.fontStack.split(",")]),t.scale&&(o["font-scale"]=t.scale),t.textColor&&(o["text-color"]=["rgba"].concat(t.textColor.toArray())),e.push(o)}return e}}class Ae{constructor(e){this.name=e.name,this.available=e.available}toString(){return this.name}static fromString(e){return e?new Ae({name:e,available:!1}):null}serialize(){return["image",this.name]}}function Ce(e,t,o,r){if(!("number"==typeof e&&e>=0&&e<=255&&"number"==typeof t&&t>=0&&t<=255&&"number"==typeof o&&o>=0&&o<=255)){return`Invalid rgba value [${("number"==typeof r?[e,t,o,r]:[e,t,o]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`}return void 0===r||"number"==typeof r&&r>=0&&r<=1?null:`Invalid rgba value [${[e,t,o,r].join(", ")}]: 'a' must be between 0 and 1.`}function Ee(e){if(null===e)return!0;if("string"==typeof e)return!0;if("boolean"==typeof e)return!0;if("number"==typeof e)return!0;if(e instanceof ye)return!0;if(e instanceof ve)return!0;if(e instanceof be)return!0;if(e instanceof Ae)return!0;if(Array.isArray(e)){for(const t of e)if(!Ee(t))return!1;return!0}if("object"==typeof e){for(const t in e)if(!Ee(e[t]))return!1;return!0}return!1}function Se(e){if(null===e)return ee;if("string"==typeof e)return oe;if("boolean"==typeof e)return re;if("number"==typeof e)return te;if(e instanceof ye)return ne;if(e instanceof ve)return ae;if(e instanceof be)return le;if(e instanceof Ae)return ue;if(Array.isArray(e)){const t=e.length;let o;for(const t of e){const e=Se(t);if(o){if(o===e)continue;o=se;break}o=e}return ce(o||se,t)}return ie}function we(e){const t=typeof e;return null===e?"":"string"===t||"number"===t||"boolean"===t?String(e):e instanceof ye||e instanceof be||e instanceof Ae?e.toString():JSON.stringify(e)}class Oe{constructor(e,t){this.type=e,this.value=t}static parse(e,t){if(2!==e.length)return t.error(`'literal' expression requires exactly one argument, but found ${e.length-1} instead.`);if(!Ee(e[1]))return t.error("invalid value");const o=e[1];let r=Se(o);const n=t.expectedType;return"array"!==r.kind||0!==r.N||!n||"array"!==n.kind||"number"==typeof n.N&&0!==n.N||(r=n),new Oe(r,o)}evaluate(){return this.value}eachChild(){}outputDefined(){return!0}serialize(){return"array"===this.type.kind||"object"===this.type.kind?["literal",this.value]:this.value instanceof ye?["rgba"].concat(this.value.toArray()):this.value instanceof be?this.value.serialize():this.value}}class Ie{constructor(e){this.name="ExpressionEvaluationError",this.message=e}toJSON(){return this.message}}const xe={string:oe,number:te,boolean:re,object:ie};class je{constructor(e,t){this.type=e,this.args=t}static parse(e,t){if(e.length<2)return t.error("Expected at least one argument.");let o,r=1;const n=e[0];if("array"===n){let n,i;if(e.length>2){const o=e[1];if("string"!=typeof o||!(o in xe)||"object"===o)return t.error('The item type argument of "array" must be one of string, number, boolean',1);n=xe[o],r++}else n=se;if(e.length>3){if(null!==e[2]&&("number"!=typeof e[2]||e[2]<0||e[2]!==Math.floor(e[2])))return t.error('The length argument to "array" must be a positive integer literal',2);i=e[2],r++}o=ce(n,i)}else o=xe[n];const i=[];for(;r<e.length;r++){const o=t.parse(e[r],r,se);if(!o)return null;i.push(o)}return new je(o,i)}evaluate(e){for(let t=0;t<this.args.length;t++){const o=this.args[t].evaluate(e);if(!he(this.type,Se(o)))return o;if(t===this.args.length-1)throw new Ie(`Expected value to be of type ${de(this.type)}, but found ${de(Se(o))} instead.`)}return null}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every((e=>e.outputDefined()))}serialize(){const e=this.type,t=[e.kind];if("array"===e.kind){const o=e.itemType;if("string"===o.kind||"number"===o.kind||"boolean"===o.kind){t.push(o.kind);const r=e.N;("number"==typeof r||this.args.length>1)&&t.push(r)}}return t.concat(this.args.map((e=>e.serialize())))}}class Te{constructor(e){this.type=le,this.sections=e}static parse(e,t){if(e.length<2)return t.error("Expected at least one argument.");const o=e[1];if(!Array.isArray(o)&&"object"==typeof o)return t.error("First argument must be an image or text section.");const r=[];let n=!1;for(let o=1;o<=e.length-1;++o){const i=e[o];if(n&&"object"==typeof i&&!Array.isArray(i)){n=!1;let e=null;if(i["font-scale"]&&(e=t.parse(i["font-scale"],1,te),!e))return null;let o=null;if(i["text-font"]&&(o=t.parse(i["text-font"],1,ce(oe)),!o))return null;let s=null;if(i["text-color"]&&(s=t.parse(i["text-color"],1,ne),!s))return null;const a=r[r.length-1];a.scale=e,a.font=o,a.textColor=s}else{const i=t.parse(e[o],1,se);if(!i)return null;const s=i.type.kind;if("string"!==s&&"value"!==s&&"null"!==s&&"resolvedImage"!==s)return t.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");n=!0,r.push({content:i,scale:null,font:null,textColor:null})}}return new Te(r)}evaluate(e){return new be(this.sections.map((t=>{const o=t.content.evaluate(e);return Se(o)===ue?new _e("",o,null,null,null):new _e(we(o),null,t.scale?t.scale.evaluate(e):null,t.font?t.font.evaluate(e).join(","):null,t.textColor?t.textColor.evaluate(e):null)})))}eachChild(e){for(const t of this.sections)e(t.content),t.scale&&e(t.scale),t.font&&e(t.font),t.textColor&&e(t.textColor)}outputDefined(){return!1}serialize(){const e=["format"];for(const t of this.sections){e.push(t.content.serialize());const o={};t.scale&&(o["font-scale"]=t.scale.serialize()),t.font&&(o["text-font"]=t.font.serialize()),t.textColor&&(o["text-color"]=t.textColor.serialize()),e.push(o)}return e}}class Pe{constructor(e){this.type=ue,this.input=e}static parse(e,t){if(2!==e.length)return t.error("Expected two arguments.");const o=t.parse(e[1],1,oe);return o?new Pe(o):t.error("No image name provided.")}evaluate(e){const t=this.input.evaluate(e),o=Ae.fromString(t);return o&&e.availableImages&&(o.available=e.availableImages.indexOf(t)>-1),o}eachChild(e){e(this.input)}outputDefined(){return!1}serialize(){return["image",this.input.serialize()]}}const Me={"to-boolean":re,"to-color":ne,"to-number":te,"to-string":oe};class Re{constructor(e,t){this.type=e,this.args=t}static parse(e,t){if(e.length<2)return t.error("Expected at least one argument.");const o=e[0];if(("to-boolean"===o||"to-string"===o)&&2!==e.length)return t.error("Expected one argument.");const r=Me[o],n=[];for(let o=1;o<e.length;o++){const r=t.parse(e[o],o,se);if(!r)return null;n.push(r)}return new Re(r,n)}evaluate(e){if("boolean"===this.type.kind)return Boolean(this.args[0].evaluate(e));if("color"===this.type.kind){let t,o;for(const r of this.args){if(t=r.evaluate(e),o=null,t instanceof ye)return t;if("string"==typeof t){const o=e.parseColor(t);if(o)return o}else if(Array.isArray(t)&&(o=t.length<3||t.length>4?`Invalid rbga value ${JSON.stringify(t)}: expected an array containing either three or four numeric values.`:Ce(t[0],t[1],t[2],t[3]),!o))return new ye(t[0]/255,t[1]/255,t[2]/255,t[3])}throw new Ie(o||`Could not parse color from value '${"string"==typeof t?t:String(JSON.stringify(t))}'`)}if("number"===this.type.kind){let t=null;for(const o of this.args){if(t=o.evaluate(e),null===t)return 0;const r=Number(t);if(!isNaN(r))return r}throw new Ie(`Could not convert ${JSON.stringify(t)} to number.`)}return"formatted"===this.type.kind?be.fromString(we(this.args[0].evaluate(e))):"resolvedImage"===this.type.kind?Ae.fromString(we(this.args[0].evaluate(e))):we(this.args[0].evaluate(e))}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every((e=>e.outputDefined()))}serialize(){if("formatted"===this.type.kind)return new Te([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if("resolvedImage"===this.type.kind)return new Pe(this.args[0]).serialize();const e=[`to-${this.type.kind}`];return this.eachChild((t=>{e.push(t.serialize())})),e}}const Le=["Unknown","Point","LineString","Polygon"];class ke{constructor(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null}id(){return this.feature&&"id"in this.feature?this.feature.id:null}geometryType(){return this.feature?"number"==typeof this.feature.type?Le[this.feature.type]:this.feature.type:null}geometry(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null}canonicalID(){return this.canonical}properties(){return this.feature&&this.feature.properties||{}}parseColor(e){let t=this._parseColorCache[e];return t||(t=this._parseColorCache[e]=ye.parse(e)),t}}class Ne{constructor(e,t,o,r){this.name=e,this.type=t,this._evaluate=o,this.args=r}evaluate(e){return this._evaluate(e,this.args)}eachChild(e){this.args.forEach(e)}outputDefined(){return!1}serialize(){return[this.name].concat(this.args.map((e=>e.serialize())))}static parse(e,t){const o=e[0],r=Ne.definitions[o];if(!r)return t.error(`Unknown expression "${o}". If you wanted a literal array, use ["literal", [...]].`,0);const n=Array.isArray(r)?r[0]:r.type,i=Array.isArray(r)?[[r[1],r[2]]]:r.overloads,s=i.filter((([t])=>!Array.isArray(t)||t.length===e.length-1));let a=null;for(const[r,i]of s){a=new st(t.registry,t.path,null,t.scope);const s=[];let l=!1;for(let t=1;t<e.length;t++){const o=e[t],n=Array.isArray(r)?r[t-1]:r.type,i=a.parse(o,1+s.length,n);if(!i){l=!0;break}s.push(i)}if(!l)if(Array.isArray(r)&&r.length!==s.length)a.error(`Expected ${r.length} arguments, but found ${s.length} instead.`);else{for(let e=0;e<s.length;e++){const t=Array.isArray(r)?r[e]:r.type,o=s[e];a.concat(e+1).checkSubtype(t,o.type)}if(0===a.errors.length)return new Ne(o,n,i,s)}}if(1===s.length)t.errors.push(...a.errors);else{const o=(s.length?s:i).map((([e])=>{return t=e,Array.isArray(t)?`(${t.map(de).join(", ")})`:`(${de(t.type)}...)`;var t})).join(" | "),r=[];for(let o=1;o<e.length;o++){const n=t.parse(e[o],1+r.length);if(!n)return null;r.push(de(n.type))}t.error(`Expected arguments of type ${o}, but found (${r.join(", ")}) instead.`)}return null}static register(e,t){Ne.definitions=t;for(const o in t)e[o]=Ne}}class De{constructor(e,t,o){this.type=ae,this.locale=o,this.caseSensitive=e,this.diacriticSensitive=t}static parse(e,t){if(2!==e.length)return t.error("Expected one argument.");const o=e[1];if("object"!=typeof o||Array.isArray(o))return t.error("Collator options argument must be an object.");const r=t.parse(void 0!==o["case-sensitive"]&&o["case-sensitive"],1,re);if(!r)return null;const n=t.parse(void 0!==o["diacritic-sensitive"]&&o["diacritic-sensitive"],1,re);if(!n)return null;let i=null;return o.locale&&(i=t.parse(o.locale,1,oe),!i)?null:new De(r,n,i)}evaluate(e){return new ve(this.caseSensitive.evaluate(e),this.diacriticSensitive.evaluate(e),this.locale?this.locale.evaluate(e):null)}eachChild(e){e(this.caseSensitive),e(this.diacriticSensitive),this.locale&&e(this.locale)}outputDefined(){return!1}serialize(){const e={};return e["case-sensitive"]=this.caseSensitive.serialize(),e["diacritic-sensitive"]=this.diacriticSensitive.serialize(),this.locale&&(e.locale=this.locale.serialize()),["collator",e]}}const Ge=8192;function Fe(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[2]=Math.max(e[2],t[0]),e[3]=Math.max(e[3],t[1])}function Ue(e,t){return!(e[0]<=t[0])&&(!(e[2]>=t[2])&&(!(e[1]<=t[1])&&!(e[3]>=t[3])))}function Be(e,t){const o=(180+e[0])/360;const r=(n=e[1],(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+n*Math.PI/360)))/360);var n;const i=Math.pow(2,t.z);return[Math.round(o*i*Ge),Math.round(r*i*Ge)]}function ze(e,t,o){const r=e[0]-t[0],n=e[1]-t[1],i=e[0]-o[0],s=e[1]-o[1];return r*s-i*n==0&&r*i<=0&&n*s<=0}function Ve(e,t){let o=!1;for(let s=0,a=t.length;s<a;s++){const a=t[s];for(let t=0,s=a.length;t<s-1;t++){if(ze(e,a[t],a[t+1]))return!1;r=e,n=a[t],i=a[t+1],n[1]>r[1]!=i[1]>r[1]&&r[0]<(i[0]-n[0])*(r[1]-n[1])/(i[1]-n[1])+n[0]&&(o=!o)}}var r,n,i;return o}function We(e,t){for(let o=0;o<t.length;o++)if(Ve(e,t[o]))return!0;return!1}function qe(e,t,o,r){const n=e[0]-o[0],i=e[1]-o[1],s=t[0]-o[0],a=t[1]-o[1],l=r[0]-o[0],u=r[1]-o[1],c=n*u-l*i,d=s*u-l*a;return c>0&&d<0||c<0&&d>0}function Ye(e,t,o,r){const n=[t[0]-e[0],t[1]-e[1]],i=[r[0]-o[0],r[1]-o[1]];return 0!=(s=i)[0]*(a=n)[1]-s[1]*a[0]&&!(!qe(e,t,o,r)||!qe(o,r,e,t));var s,a}function He(e,t,o){for(const r of o)for(let o=0;o<r.length-1;++o)if(Ye(e,t,r[o],r[o+1]))return!0;return!1}function Xe(e,t){for(let o=0;o<e.length;++o)if(!Ve(e[o],t))return!1;for(let o=0;o<e.length-1;++o)if(He(e[o],e[o+1],t))return!1;return!0}function Ze(e,t){for(let o=0;o<t.length;o++)if(Xe(e,t[o]))return!0;return!1}function Ke(e,t,o){const r=[];for(let n=0;n<e.length;n++){const i=[];for(let r=0;r<e[n].length;r++){const s=Be(e[n][r],o);Fe(t,s),i.push(s)}r.push(i)}return r}function Je(e,t,o){const r=[];for(let n=0;n<e.length;n++){const i=Ke(e[n],t,o);r.push(i)}return r}function Qe(e,t,o,r){if(e[0]<o[0]||e[0]>o[2]){const t=.5*r;let n=e[0]-o[0]>t?-r:o[0]-e[0]>t?r:0;0===n&&(n=e[0]-o[2]>t?-r:o[2]-e[0]>t?r:0),e[0]+=n}Fe(t,e)}function $e(e,t,o,r){const n=Math.pow(2,r.z)*Ge,i=[r.x*Ge,r.y*Ge],s=[];for(const r of e)for(const e of r){const r=[e.x+i[0],e.y+i[1]];Qe(r,t,o,n),s.push(r)}return s}function et(e,t,o,r){const n=Math.pow(2,r.z)*Ge,i=[r.x*Ge,r.y*Ge],s=[];for(const o of e){const e=[];for(const r of o){const o=[r.x+i[0],r.y+i[1]];Fe(t,o),e.push(o)}s.push(e)}if(t[2]-t[0]<=n/2){(a=t)[0]=a[1]=1/0,a[2]=a[3]=-1/0;for(const e of s)for(const r of e)Qe(r,t,o,n)}var a;return s}class tt{constructor(e,t){this.type=re,this.geojson=e,this.geometries=t}static parse(e,t){if(2!==e.length)return t.error(`'within' expression requires exactly one argument, but found ${e.length-1} instead.`);if(Ee(e[1])){const t=e[1];if("FeatureCollection"===t.type)for(let e=0;e<t.features.length;++e){const o=t.features[e].geometry.type;if("Polygon"===o||"MultiPolygon"===o)return new tt(t,t.features[e].geometry)}else if("Feature"===t.type){const e=t.geometry.type;if("Polygon"===e||"MultiPolygon"===e)return new tt(t,t.geometry)}else if("Polygon"===t.type||"MultiPolygon"===t.type)return new tt(t,t)}return t.error("'within' expression requires valid geojson object that contains polygon geometry type.")}evaluate(e){if(null!=e.geometry()&&null!=e.canonicalID()){if("Point"===e.geometryType())return function(e,t){const o=[1/0,1/0,-1/0,-1/0],r=[1/0,1/0,-1/0,-1/0],n=e.canonicalID();if("Polygon"===t.type){const i=Ke(t.coordinates,r,n),s=$e(e.geometry(),o,r,n);if(!Ue(o,r))return!1;for(const e of s)if(!Ve(e,i))return!1}if("MultiPolygon"===t.type){const i=Je(t.coordinates,r,n),s=$e(e.geometry(),o,r,n);if(!Ue(o,r))return!1;for(const e of s)if(!We(e,i))return!1}return!0}(e,this.geometries);if("LineString"===e.geometryType())return function(e,t){const o=[1/0,1/0,-1/0,-1/0],r=[1/0,1/0,-1/0,-1/0],n=e.canonicalID();if("Polygon"===t.type){const i=Ke(t.coordinates,r,n),s=et(e.geometry(),o,r,n);if(!Ue(o,r))return!1;for(const e of s)if(!Xe(e,i))return!1}if("MultiPolygon"===t.type){const i=Je(t.coordinates,r,n),s=et(e.geometry(),o,r,n);if(!Ue(o,r))return!1;for(const e of s)if(!Ze(e,i))return!1}return!0}(e,this.geometries)}return!1}eachChild(){}outputDefined(){return!0}serialize(){return["within",this.geojson]}}function ot(e){if(e instanceof Ne){if("get"===e.name&&1===e.args.length)return!1;if("feature-state"===e.name)return!1;if("has"===e.name&&1===e.args.length)return!1;if("properties"===e.name||"geometry-type"===e.name||"id"===e.name)return!1;if(/^filter-/.test(e.name))return!1}if(e instanceof tt)return!1;let t=!0;return e.eachChild((e=>{t&&!ot(e)&&(t=!1)})),t}function rt(e){if(e instanceof Ne&&"feature-state"===e.name)return!1;let t=!0;return e.eachChild((e=>{t&&!rt(e)&&(t=!1)})),t}function nt(e,t){if(e instanceof Ne&&t.indexOf(e.name)>=0)return!1;let o=!0;return e.eachChild((e=>{o&&!nt(e,t)&&(o=!1)})),o}class it{constructor(e,t){this.type=t.type,this.name=e,this.boundExpression=t}static parse(e,t){if(2!==e.length||"string"!=typeof e[1])return t.error("'var' expression requires exactly one string literal argument.");const o=e[1];return t.scope.has(o)?new it(o,t.scope.get(o)):t.error(`Unknown variable "${o}". Make sure "${o}" has been bound in an enclosing "let" expression before using it.`,1)}evaluate(e){return this.boundExpression.evaluate(e)}eachChild(){}outputDefined(){return!1}serialize(){return["var",this.name]}}class st{constructor(e,t=[],o,r=new $,n=[]){this.registry=e,this.path=t,this.key=t.map((e=>`[${e}]`)).join(""),this.scope=r,this.errors=n,this.expectedType=o}parse(e,t,o,r,n={}){return t?this.concat(t,o,r)._parse(e,n):this._parse(e,n)}_parse(e,t){function o(e,t,o){return"assert"===o?new je(t,[e]):"coerce"===o?new Re(t,[e]):e}if(null!==e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e||(e=["literal",e]),Array.isArray(e)){if(0===e.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');const r=e[0];if("string"!=typeof r)return this.error(`Expression name must be a string, but found ${typeof r} instead. If you wanted a literal array, use ["literal", [...]].`,0),null;const n=this.registry[r];if(n){let r=n.parse(e,this);if(!r)return null;if(this.expectedType){const e=this.expectedType,n=r.type;if("string"!==e.kind&&"number"!==e.kind&&"boolean"!==e.kind&&"object"!==e.kind&&"array"!==e.kind||"value"!==n.kind)if("color"!==e.kind&&"formatted"!==e.kind&&"resolvedImage"!==e.kind||"value"!==n.kind&&"string"!==n.kind){if(this.checkSubtype(e,n))return null}else r=o(r,e,t.typeAnnotation||"coerce");else r=o(r,e,t.typeAnnotation||"assert")}if(!(r instanceof Oe)&&"resolvedImage"!==r.type.kind&&at(r)){const e=new ke;try{r=new Oe(r.type,r.evaluate(e))}catch(e){return this.error(e.message),null}}return r}return this.error(`Unknown expression "${r}". If you wanted a literal array, use ["literal", [...]].`,0)}return void 0===e?this.error("'undefined' value invalid. Use null instead."):"object"==typeof e?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error(`Expected an array, but found ${typeof e} instead.`)}concat(e,t,o){const r="number"==typeof e?this.path.concat(e):this.path,n=o?this.scope.concat(o):this.scope;return new st(this.registry,r,t||null,n,this.errors)}error(e,...t){const o=`${this.key}${t.map((e=>`[${e}]`)).join("")}`;this.errors.push(new Q(o,e))}checkSubtype(e,t){const o=he(e,t);return o&&this.error(o),o}}function at(e){if(e instanceof it)return at(e.boundExpression);if(e instanceof Ne&&"error"===e.name)return!1;if(e instanceof De)return!1;if(e instanceof tt)return!1;const t=e instanceof Re||e instanceof je;let o=!0;return e.eachChild((e=>{o=t?o&&at(e):o&&e instanceof Oe})),!!o&&(ot(e)&&nt(e,["zoom","heatmap-density","line-progress","sky-radial-progress","accumulated","is-supported-script"]))}function lt(e,t){const o=e.length-1;let r,n,i=0,s=o,a=0;for(;i<=s;)if(a=Math.floor((i+s)/2),r=e[a],n=e[a+1],r<=t){if(a===o||t<n)return a;i=a+1}else{if(!(r>t))throw new Ie("Input is not a number.");s=a-1}return 0}class ut{constructor(e,t,o){this.type=e,this.input=t,this.labels=[],this.outputs=[];for(const[e,t]of o)this.labels.push(e),this.outputs.push(t)}static parse(e,t){if(e.length-1<4)return t.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if((e.length-1)%2!=0)return t.error("Expected an even number of arguments.");const o=t.parse(e[1],1,te);if(!o)return null;const r=[];let n=null;t.expectedType&&"value"!==t.expectedType.kind&&(n=t.expectedType);for(let o=1;o<e.length;o+=2){const i=1===o?-1/0:e[o],s=e[o+1],a=o,l=o+1;if("number"!=typeof i)return t.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not computed expressions) for the input values.',a);if(r.length&&r[r.length-1][0]>=i)return t.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',a);const u=t.parse(s,l,n);if(!u)return null;n=n||u.type,r.push([i,u])}return new ut(n,o,r)}evaluate(e){const t=this.labels,o=this.outputs;if(1===t.length)return o[0].evaluate(e);const r=this.input.evaluate(e);if(r<=t[0])return o[0].evaluate(e);const n=t.length;if(r>=t[n-1])return o[n-1].evaluate(e);return o[lt(t,r)].evaluate(e)}eachChild(e){e(this.input);for(const t of this.outputs)e(t)}outputDefined(){return this.outputs.every((e=>e.outputDefined()))}serialize(){const e=["step",this.input.serialize()];for(let t=0;t<this.labels.length;t++)t>0&&e.push(this.labels[t]),e.push(this.outputs[t].serialize());return e}}var ct=dt;function dt(e,t,o,r){this.cx=3*e,this.bx=3*(o-e)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*t,this.by=3*(r-t)-this.cy,this.ay=1-this.cy-this.by,this.p1x=e,this.p1y=r,this.p2x=o,this.p2y=r}function pt(e,t,o){return e*(1-o)+t*o}dt.prototype.sampleCurveX=function(e){return((this.ax*e+this.bx)*e+this.cx)*e},dt.prototype.sampleCurveY=function(e){return((this.ay*e+this.by)*e+this.cy)*e},dt.prototype.sampleCurveDerivativeX=function(e){return(3*this.ax*e+2*this.bx)*e+this.cx},dt.prototype.solveCurveX=function(e,t){var o,r,n,i,s;for(void 0===t&&(t=1e-6),n=e,s=0;s<8;s++){if(i=this.sampleCurveX(n)-e,Math.abs(i)<t)return n;var a=this.sampleCurveDerivativeX(n);if(Math.abs(a)<1e-6)break;n-=i/a}if((n=e)<(o=0))return o;if(n>(r=1))return r;for(;o<r;){if(i=this.sampleCurveX(n),Math.abs(i-e)<t)return n;e>i?o=n:r=n,n=.5*(r-o)+o}return n},dt.prototype.solve=function(e,t){return this.sampleCurveY(this.solveCurveX(e,t))};var ht=Object.freeze({__proto__:null,number:pt,color:function(e,t,o){return new ye(pt(e.r,t.r,o),pt(e.g,t.g,o),pt(e.b,t.b,o),pt(e.a,t.a,o))},array:function(e,t,o){return e.map(((e,r)=>pt(e,t[r],o)))}});const ft=.95047,mt=1.08883,gt=4/29,yt=6/29,vt=3*yt*yt,_t=yt*yt*yt,bt=Math.PI/180,At=180/Math.PI;function Ct(e){return e>_t?Math.pow(e,1/3):e/vt+gt}function Et(e){return e>yt?e*e*e:vt*(e-gt)}function St(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function wt(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Ot(e){const t=wt(e.r),o=wt(e.g),r=wt(e.b),n=Ct((.4124564*t+.3575761*o+.1804375*r)/ft),i=Ct((.2126729*t+.7151522*o+.072175*r)/1);return{l:116*i-16,a:500*(n-i),b:200*(i-Ct((.0193339*t+.119192*o+.9503041*r)/mt)),alpha:e.a}}function It(e){let t=(e.l+16)/116,o=isNaN(e.a)?t:t+e.a/500,r=isNaN(e.b)?t:t-e.b/200;return t=1*Et(t),o=ft*Et(o),r=mt*Et(r),new ye(St(3.2404542*o-1.5371385*t-.4985314*r),St(-.969266*o+1.8760108*t+.041556*r),St(.0556434*o-.2040259*t+1.0572252*r),e.alpha)}function xt(e,t,o){const r=t-e;return e+o*(r>180||r<-180?r-360*Math.round(r/360):r)}const jt={forward:Ot,reverse:It,interpolate:function(e,t,o){return{l:pt(e.l,t.l,o),a:pt(e.a,t.a,o),b:pt(e.b,t.b,o),alpha:pt(e.alpha,t.alpha,o)}}},Tt={forward:function(e){const{l:t,a:o,b:r}=Ot(e),n=Math.atan2(r,o)*At;return{h:n<0?n+360:n,c:Math.sqrt(o*o+r*r),l:t,alpha:e.a}},reverse:function(e){const t=e.h*bt,o=e.c;return It({l:e.l,a:Math.cos(t)*o,b:Math.sin(t)*o,alpha:e.alpha})},interpolate:function(e,t,o){return{h:xt(e.h,t.h,o),c:pt(e.c,t.c,o),l:pt(e.l,t.l,o),alpha:pt(e.alpha,t.alpha,o)}}};var Pt=Object.freeze({__proto__:null,lab:jt,hcl:Tt});class Mt{constructor(e,t,o,r,n){this.type=e,this.operator=t,this.interpolation=o,this.input=r,this.labels=[],this.outputs=[];for(const[e,t]of n)this.labels.push(e),this.outputs.push(t)}static interpolationFactor(e,t,o,r){let n=0;if("exponential"===e.name)n=Rt(t,e.base,o,r);else if("linear"===e.name)n=Rt(t,1,o,r);else if("cubic-bezier"===e.name){const i=e.controlPoints;n=new ct(i[0],i[1],i[2],i[3]).solve(Rt(t,1,o,r))}return n}static parse(e,t){let[o,r,n,...i]=e;if(!Array.isArray(r)||0===r.length)return t.error("Expected an interpolation type expression.",1);if("linear"===r[0])r={name:"linear"};else if("exponential"===r[0]){const e=r[1];if("number"!=typeof e)return t.error("Exponential interpolation requires a numeric base.",1,1);r={name:"exponential",base:e}}else{if("cubic-bezier"!==r[0])return t.error(`Unknown interpolation type ${String(r[0])}`,1,0);{const e=r.slice(1);if(4!==e.length||e.some((e=>"number"!=typeof e||e<0||e>1)))return t.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);r={name:"cubic-bezier",controlPoints:e}}}if(e.length-1<4)return t.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if((e.length-1)%2!=0)return t.error("Expected an even number of arguments.");if(n=t.parse(n,2,te),!n)return null;const s=[];let a=null;"interpolate-hcl"===o||"interpolate-lab"===o?a=ne:t.expectedType&&"value"!==t.expectedType.kind&&(a=t.expectedType);for(let e=0;e<i.length;e+=2){const o=i[e],r=i[e+1],n=e+3,l=e+4;if("number"!=typeof o)return t.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.',n);if(s.length&&s[s.length-1][0]>=o)return t.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',n);const u=t.parse(r,l,a);if(!u)return null;a=a||u.type,s.push([o,u])}return"number"===a.kind||"color"===a.kind||"array"===a.kind&&"number"===a.itemType.kind&&"number"==typeof a.N?new Mt(a,o,r,n,s):t.error(`Type ${de(a)} is not interpolatable.`)}evaluate(e){const t=this.labels,o=this.outputs;if(1===t.length)return o[0].evaluate(e);const r=this.input.evaluate(e);if(r<=t[0])return o[0].evaluate(e);const n=t.length;if(r>=t[n-1])return o[n-1].evaluate(e);const i=lt(t,r),s=t[i],a=t[i+1],l=Mt.interpolationFactor(this.interpolation,r,s,a),u=o[i].evaluate(e),c=o[i+1].evaluate(e);return"interpolate"===this.operator?ht[this.type.kind.toLowerCase()](u,c,l):"interpolate-hcl"===this.operator?Tt.reverse(Tt.interpolate(Tt.forward(u),Tt.forward(c),l)):jt.reverse(jt.interpolate(jt.forward(u),jt.forward(c),l))}eachChild(e){e(this.input);for(const t of this.outputs)e(t)}outputDefined(){return this.outputs.every((e=>e.outputDefined()))}serialize(){let e;e="linear"===this.interpolation.name?["linear"]:"exponential"===this.interpolation.name?1===this.interpolation.base?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints);const t=[this.operator,e,this.input.serialize()];for(let e=0;e<this.labels.length;e++)t.push(this.labels[e],this.outputs[e].serialize());return t}}function Rt(e,t,o,r){const n=r-o,i=e-o;return 0===n?0:1===t?i/n:(Math.pow(t,i)-1)/(Math.pow(t,n)-1)}class Lt{constructor(e,t){this.type=e,this.args=t}static parse(e,t){if(e.length<2)return t.error("Expectected at least one argument.");let o=null;const r=t.expectedType;r&&"value"!==r.kind&&(o=r);const n=[];for(const r of e.slice(1)){const e=t.parse(r,1+n.length,o,void 0,{typeAnnotation:"omit"});if(!e)return null;o=o||e.type,n.push(e)}const i=r&&n.some((e=>he(r,e.type)));return new Lt(i?se:o,n)}evaluate(e){let t,o=null,r=0;for(const n of this.args)if(r++,o=n.evaluate(e),o&&o instanceof Ae&&!o.available&&(t||(t=o.name),o=null,r===this.args.length&&(o=t)),null!==o)break;return o}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every((e=>e.outputDefined()))}serialize(){const e=["coalesce"];return this.eachChild((t=>{e.push(t.serialize())})),e}}class kt{constructor(e,t){this.type=t.type,this.bindings=[].concat(e),this.result=t}evaluate(e){return this.result.evaluate(e)}eachChild(e){for(const t of this.bindings)e(t[1]);e(this.result)}static parse(e,t){if(e.length<4)return t.error(`Expected at least 3 arguments, but found ${e.length-1} instead.`);const o=[];for(let r=1;r<e.length-1;r+=2){const n=e[r];if("string"!=typeof n)return t.error(`Expected string, but found ${typeof n} instead.`,r);if(/[^a-zA-Z0-9_]/.test(n))return t.error("Variable names must contain only alphanumeric characters or '_'.",r);const i=t.parse(e[r+1],r+1);if(!i)return null;o.push([n,i])}const r=t.parse(e[e.length-1],e.length-1,t.expectedType,o);return r?new kt(o,r):null}outputDefined(){return this.result.outputDefined()}serialize(){const e=["let"];for(const[t,o]of this.bindings)e.push(t,o.serialize());return e.push(this.result.serialize()),e}}class Nt{constructor(e,t,o){this.type=e,this.index=t,this.input=o}static parse(e,t){if(3!==e.length)return t.error(`Expected 2 arguments, but found ${e.length-1} instead.`);const o=t.parse(e[1],1,te),r=t.parse(e[2],2,ce(t.expectedType||se));if(!o||!r)return null;const n=r.type;return new Nt(n.itemType,o,r)}evaluate(e){const t=this.index.evaluate(e),o=this.input.evaluate(e);if(t<0)throw new Ie(`Array index out of bounds: ${t} < 0.`);if(t>=o.length)throw new Ie(`Array index out of bounds: ${t} > ${o.length-1}.`);if(t!==Math.floor(t))throw new Ie(`Array index must be an integer, but found ${t} instead.`);return o[t]}eachChild(e){e(this.index),e(this.input)}outputDefined(){return!1}serialize(){return["at",this.index.serialize(),this.input.serialize()]}}class Dt{constructor(e,t){this.type=re,this.needle=e,this.haystack=t}static parse(e,t){if(3!==e.length)return t.error(`Expected 2 arguments, but found ${e.length-1} instead.`);const o=t.parse(e[1],1,se),r=t.parse(e[2],2,se);return o&&r?fe(o.type,[re,oe,te,ee,se])?new Dt(o,r):t.error(`Expected first argument to be of type boolean, string, number or null, but found ${de(o.type)} instead`):null}evaluate(e){const t=this.needle.evaluate(e),o=this.haystack.evaluate(e);if(!o)return!1;if(!me(t,["boolean","string","number","null"]))throw new Ie(`Expected first argument to be of type boolean, string, number or null, but found ${de(Se(t))} instead.`);if(!me(o,["string","array"]))throw new Ie(`Expected second argument to be of type array or string, but found ${de(Se(o))} instead.`);return o.indexOf(t)>=0}eachChild(e){e(this.needle),e(this.haystack)}outputDefined(){return!0}serialize(){return["in",this.needle.serialize(),this.haystack.serialize()]}}class Gt{constructor(e,t,o){this.type=te,this.needle=e,this.haystack=t,this.fromIndex=o}static parse(e,t){if(e.length<=2||e.length>=5)return t.error(`Expected 3 or 4 arguments, but found ${e.length-1} instead.`);const o=t.parse(e[1],1,se),r=t.parse(e[2],2,se);if(!o||!r)return null;if(!fe(o.type,[re,oe,te,ee,se]))return t.error(`Expected first argument to be of type boolean, string, number or null, but found ${de(o.type)} instead`);if(4===e.length){const n=t.parse(e[3],3,te);return n?new Gt(o,r,n):null}return new Gt(o,r)}evaluate(e){const t=this.needle.evaluate(e),o=this.haystack.evaluate(e);if(!me(t,["boolean","string","number","null"]))throw new Ie(`Expected first argument to be of type boolean, string, number or null, but found ${de(Se(t))} instead.`);if(!me(o,["string","array"]))throw new Ie(`Expected second argument to be of type array or string, but found ${de(Se(o))} instead.`);if(this.fromIndex){const r=this.fromIndex.evaluate(e);return o.indexOf(t,r)}return o.indexOf(t)}eachChild(e){e(this.needle),e(this.haystack),this.fromIndex&&e(this.fromIndex)}outputDefined(){return!1}serialize(){if(null!=this.fromIndex&&void 0!==this.fromIndex){const e=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),e]}return["index-of",this.needle.serialize(),this.haystack.serialize()]}}class Ft{constructor(e,t,o,r,n,i){this.inputType=e,this.type=t,this.input=o,this.cases=r,this.outputs=n,this.otherwise=i}static parse(e,t){if(e.length<5)return t.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if(e.length%2!=1)return t.error("Expected an even number of arguments.");let o,r;t.expectedType&&"value"!==t.expectedType.kind&&(r=t.expectedType);const n={},i=[];for(let s=2;s<e.length-1;s+=2){let a=e[s];const l=e[s+1];Array.isArray(a)||(a=[a]);const u=t.concat(s);if(0===a.length)return u.error("Expected at least one branch label.");for(const e of a){if("number"!=typeof e&&"string"!=typeof e)return u.error("Branch labels must be numbers or strings.");if("number"==typeof e&&Math.abs(e)>Number.MAX_SAFE_INTEGER)return u.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);if("number"==typeof e&&Math.floor(e)!==e)return u.error("Numeric branch labels must be integer values.");if(o){if(u.checkSubtype(o,Se(e)))return null}else o=Se(e);if(void 0!==n[String(e)])return u.error("Branch labels must be unique.");n[String(e)]=i.length}const c=t.parse(l,s,r);if(!c)return null;r=r||c.type,i.push(c)}const s=t.parse(e[1],1,se);if(!s)return null;const a=t.parse(e[e.length-1],e.length-1,r);return a?"value"!==s.type.kind&&t.concat(1).checkSubtype(o,s.type)?null:new Ft(o,r,s,n,i,a):null}evaluate(e){const t=this.input.evaluate(e);return(Se(t)===this.inputType&&this.outputs[this.cases[t]]||this.otherwise).evaluate(e)}eachChild(e){e(this.input),this.outputs.forEach(e),e(this.otherwise)}outputDefined(){return this.outputs.every((e=>e.outputDefined()))&&this.otherwise.outputDefined()}serialize(){const e=["match",this.input.serialize()],t=Object.keys(this.cases).sort(),o=[],r={};for(const e of t){const t=r[this.cases[e]];void 0===t?(r[this.cases[e]]=o.length,o.push([this.cases[e],[e]])):o[t][1].push(e)}const n=e=>"number"===this.inputType.kind?Number(e):e;for(const[t,r]of o)1===r.length?e.push(n(r[0])):e.push(r.map(n)),e.push(this.outputs[t].serialize());return e.push(this.otherwise.serialize()),e}}class Ut{constructor(e,t,o){this.type=e,this.branches=t,this.otherwise=o}static parse(e,t){if(e.length<4)return t.error(`Expected at least 3 arguments, but found only ${e.length-1}.`);if(e.length%2!=0)return t.error("Expected an odd number of arguments.");let o;t.expectedType&&"value"!==t.expectedType.kind&&(o=t.expectedType);const r=[];for(let n=1;n<e.length-1;n+=2){const i=t.parse(e[n],n,re);if(!i)return null;const s=t.parse(e[n+1],n+1,o);if(!s)return null;r.push([i,s]),o=o||s.type}const n=t.parse(e[e.length-1],e.length-1,o);return n?new Ut(o,r,n):null}evaluate(e){for(const[t,o]of this.branches)if(t.evaluate(e))return o.evaluate(e);return this.otherwise.evaluate(e)}eachChild(e){for(const[t,o]of this.branches)e(t),e(o);e(this.otherwise)}outputDefined(){return this.branches.every((([e,t])=>t.outputDefined()))&&this.otherwise.outputDefined()}serialize(){const e=["case"];return this.eachChild((t=>{e.push(t.serialize())})),e}}class Bt{constructor(e,t,o,r){this.type=e,this.input=t,this.beginIndex=o,this.endIndex=r}static parse(e,t){if(e.length<=2||e.length>=5)return t.error(`Expected 3 or 4 arguments, but found ${e.length-1} instead.`);const o=t.parse(e[1],1,se),r=t.parse(e[2],2,te);if(!o||!r)return null;if(!fe(o.type,[ce(se),oe,se]))return t.error(`Expected first argument to be of type array or string, but found ${de(o.type)} instead`);if(4===e.length){const n=t.parse(e[3],3,te);return n?new Bt(o.type,o,r,n):null}return new Bt(o.type,o,r)}evaluate(e){const t=this.input.evaluate(e),o=this.beginIndex.evaluate(e);if(!me(t,["string","array"]))throw new Ie(`Expected first argument to be of type array or string, but found ${de(Se(t))} instead.`);if(this.endIndex){const r=this.endIndex.evaluate(e);return t.slice(o,r)}return t.slice(o)}eachChild(e){e(this.input),e(this.beginIndex),this.endIndex&&e(this.endIndex)}outputDefined(){return!1}serialize(){if(null!=this.endIndex&&void 0!==this.endIndex){const e=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),e]}return["slice",this.input.serialize(),this.beginIndex.serialize()]}}function zt(e,t){return"=="===e||"!="===e?"boolean"===t.kind||"string"===t.kind||"number"===t.kind||"null"===t.kind||"value"===t.kind:"string"===t.kind||"number"===t.kind||"value"===t.kind}function Vt(e,t,o,r){return 0===r.compare(t,o)}function Wt(e,t,o){const r="=="!==e&&"!="!==e;return class n{constructor(e,t,o){this.type=re,this.lhs=e,this.rhs=t,this.collator=o,this.hasUntypedArgument="value"===e.type.kind||"value"===t.type.kind}static parse(e,t){if(3!==e.length&&4!==e.length)return t.error("Expected two or three arguments.");const o=e[0];let i=t.parse(e[1],1,se);if(!i)return null;if(!zt(o,i.type))return t.concat(1).error(`"${o}" comparisons are not supported for type '${de(i.type)}'.`);let s=t.parse(e[2],2,se);if(!s)return null;if(!zt(o,s.type))return t.concat(2).error(`"${o}" comparisons are not supported for type '${de(s.type)}'.`);if(i.type.kind!==s.type.kind&&"value"!==i.type.kind&&"value"!==s.type.kind)return t.error(`Cannot compare types '${de(i.type)}' and '${de(s.type)}'.`);r&&("value"===i.type.kind&&"value"!==s.type.kind?i=new je(s.type,[i]):"value"!==i.type.kind&&"value"===s.type.kind&&(s=new je(i.type,[s])));let a=null;if(4===e.length){if("string"!==i.type.kind&&"string"!==s.type.kind&&"value"!==i.type.kind&&"value"!==s.type.kind)return t.error("Cannot use collator to compare non-string types.");if(a=t.parse(e[3],3,ae),!a)return null}return new n(i,s,a)}evaluate(n){const i=this.lhs.evaluate(n),s=this.rhs.evaluate(n);if(r&&this.hasUntypedArgument){const t=Se(i),o=Se(s);if(t.kind!==o.kind||"string"!==t.kind&&"number"!==t.kind)throw new Ie(`Expected arguments for "${e}" to be (string, string) or (number, number), but found (${t.kind}, ${o.kind}) instead.`)}if(this.collator&&!r&&this.hasUntypedArgument){const e=Se(i),o=Se(s);if("string"!==e.kind||"string"!==o.kind)return t(n,i,s)}return this.collator?o(n,i,s,this.collator.evaluate(n)):t(n,i,s)}eachChild(e){e(this.lhs),e(this.rhs),this.collator&&e(this.collator)}outputDefined(){return!0}serialize(){const t=[e];return this.eachChild((e=>{t.push(e.serialize())})),t}}}const qt=Wt("==",(function(e,t,o){return t===o}),Vt),Yt=Wt("!=",(function(e,t,o){return t!==o}),(function(e,t,o,r){return!Vt(0,t,o,r)})),Ht=Wt("<",(function(e,t,o){return t<o}),(function(e,t,o,r){return r.compare(t,o)<0})),Xt=Wt(">",(function(e,t,o){return t>o}),(function(e,t,o,r){return r.compare(t,o)>0})),Zt=Wt("<=",(function(e,t,o){return t<=o}),(function(e,t,o,r){return r.compare(t,o)<=0})),Kt=Wt(">=",(function(e,t,o){return t>=o}),(function(e,t,o,r){return r.compare(t,o)>=0}));class Jt{constructor(e,t,o,r,n){this.type=oe,this.number=e,this.locale=t,this.currency=o,this.minFractionDigits=r,this.maxFractionDigits=n}static parse(e,t){if(3!==e.length)return t.error("Expected two arguments.");const o=t.parse(e[1],1,te);if(!o)return null;const r=e[2];if("object"!=typeof r||Array.isArray(r))return t.error("NumberFormat options argument must be an object.");let n=null;if(r.locale&&(n=t.parse(r.locale,1,oe),!n))return null;let i=null;if(r.currency&&(i=t.parse(r.currency,1,oe),!i))return null;let s=null;if(r["min-fraction-digits"]&&(s=t.parse(r["min-fraction-digits"],1,te),!s))return null;let a=null;return r["max-fraction-digits"]&&(a=t.parse(r["max-fraction-digits"],1,te),!a)?null:new Jt(o,n,i,s,a)}evaluate(e){return new Intl.NumberFormat(this.locale?this.locale.evaluate(e):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(e):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(e):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(e):void 0}).format(this.number.evaluate(e))}eachChild(e){e(this.number),this.locale&&e(this.locale),this.currency&&e(this.currency),this.minFractionDigits&&e(this.minFractionDigits),this.maxFractionDigits&&e(this.maxFractionDigits)}outputDefined(){return!1}serialize(){const e={};return this.locale&&(e.locale=this.locale.serialize()),this.currency&&(e.currency=this.currency.serialize()),this.minFractionDigits&&(e["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(e["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),e]}}class Qt{constructor(e){this.type=te,this.input=e}static parse(e,t){if(2!==e.length)return t.error(`Expected 1 argument, but found ${e.length-1} instead.`);const o=t.parse(e[1],1);return o?"array"!==o.type.kind&&"string"!==o.type.kind&&"value"!==o.type.kind?t.error(`Expected argument of type string or array, but found ${de(o.type)} instead.`):new Qt(o):null}evaluate(e){const t=this.input.evaluate(e);if("string"==typeof t)return t.length;if(Array.isArray(t))return t.length;throw new Ie(`Expected value to be of type string or array, but found ${de(Se(t))} instead.`)}eachChild(e){e(this.input)}outputDefined(){return!1}serialize(){const e=["length"];return this.eachChild((t=>{e.push(t.serialize())})),e}}const $t={"==":qt,"!=":Yt,">":Xt,"<":Ht,">=":Kt,"<=":Zt,array:je,at:Nt,boolean:je,case:Ut,coalesce:Lt,collator:De,format:Te,image:Pe,in:Dt,"index-of":Gt,interpolate:Mt,"interpolate-hcl":Mt,"interpolate-lab":Mt,length:Qt,let:kt,literal:Oe,match:Ft,number:je,"number-format":Jt,object:je,slice:Bt,step:ut,string:je,"to-boolean":Re,"to-color":Re,"to-number":Re,"to-string":Re,var:it,within:tt};function eo(e,[t,o,r,n]){t=t.evaluate(e),o=o.evaluate(e),r=r.evaluate(e);const i=n?n.evaluate(e):1,s=Ce(t,o,r,i);if(s)throw new Ie(s);return new ye(t/255*i,o/255*i,r/255*i,i)}function to(e,t){return e in t}function oo(e,t){const o=t[e];return void 0===o?null:o}function ro(e){return{type:e}}function no(e){return{result:"success",value:e}}function io(e){return{result:"error",value:e}}function so(e){return"data-driven"===e["property-type"]||"cross-faded-data-driven"===e["property-type"]}function ao(e){return!!e.expression&&e.expression.parameters.indexOf("zoom")>-1}function lo(e){return!!e.expression&&e.expression.interpolated}function uo(e){return e instanceof Number?"number":e instanceof String?"string":e instanceof Boolean?"boolean":Array.isArray(e)?"array":null===e?"null":typeof e}function co(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function po(e){return e}function ho(e,t){const o="color"===t.type,r=e.stops&&"object"==typeof e.stops[0][0],n=r||void 0!==e.property,i=r||!n,s=e.type||(lo(t)?"exponential":"interval");if(o&&((e=J({},e)).stops&&(e.stops=e.stops.map((e=>[e[0],ye.parse(e[1])]))),e.default?e.default=ye.parse(e.default):e.default=ye.parse(t.default)),e.colorSpace&&"rgb"!==e.colorSpace&&!Pt[e.colorSpace])throw new Error(`Unknown color space: ${e.colorSpace}`);let a,l,u;if("exponential"===s)a=yo;else if("interval"===s)a=go;else if("categorical"===s){a=mo,l=Object.create(null);for(const t of e.stops)l[t[0]]=t[1];u=typeof e.stops[0][0]}else{if("identity"!==s)throw new Error(`Unknown function type "${s}"`);a=vo}if(r){const o={},r=[];for(let t=0;t<e.stops.length;t++){const n=e.stops[t],i=n[0].zoom;void 0===o[i]&&(o[i]={zoom:i,type:e.type,property:e.property,default:e.default,stops:[]},r.push(i)),o[i].stops.push([n[0].value,n[1]])}const n=[];for(const e of r)n.push([o[e].zoom,ho(o[e],t)]);const i={name:"linear"};return{kind:"composite",interpolationType:i,interpolationFactor:Mt.interpolationFactor.bind(void 0,i),zoomStops:n.map((e=>e[0])),evaluate:({zoom:o},r)=>yo({stops:n,base:e.base},t,o).evaluate(o,r)}}if(i){const o="exponential"===s?{name:"exponential",base:void 0!==e.base?e.base:1}:null;return{kind:"camera",interpolationType:o,interpolationFactor:Mt.interpolationFactor.bind(void 0,o),zoomStops:e.stops.map((e=>e[0])),evaluate:({zoom:o})=>a(e,t,o,l,u)}}return{kind:"source",evaluate(o,r){const n=r&&r.properties?r.properties[e.property]:void 0;return void 0===n?fo(e.default,t.default):a(e,t,n,l,u)}}}function fo(e,t,o){return void 0!==e?e:void 0!==t?t:void 0!==o?o:void 0}function mo(e,t,o,r,n){return fo(typeof o===n?r[o]:void 0,e.default,t.default)}function go(e,t,o){if("number"!==uo(o))return fo(e.default,t.default);const r=e.stops.length;if(1===r)return e.stops[0][1];if(o<=e.stops[0][0])return e.stops[0][1];if(o>=e.stops[r-1][0])return e.stops[r-1][1];const n=lt(e.stops.map((e=>e[0])),o);return e.stops[n][1]}function yo(e,t,o){const r=void 0!==e.base?e.base:1;if("number"!==uo(o))return fo(e.default,t.default);const n=e.stops.length;if(1===n)return e.stops[0][1];if(o<=e.stops[0][0])return e.stops[0][1];if(o>=e.stops[n-1][0])return e.stops[n-1][1];const i=lt(e.stops.map((e=>e[0])),o),s=function(e,t,o,r){const n=r-o,i=e-o;return 0===n?0:1===t?i/n:(Math.pow(t,i)-1)/(Math.pow(t,n)-1)}(o,r,e.stops[i][0],e.stops[i+1][0]),a=e.stops[i][1],l=e.stops[i+1][1];let u=ht[t.type]||po;if(e.colorSpace&&"rgb"!==e.colorSpace){const t=Pt[e.colorSpace];u=(e,o)=>t.reverse(t.interpolate(t.forward(e),t.forward(o),s))}return"function"==typeof a.evaluate?{evaluate(...e){const t=a.evaluate.apply(void 0,e),o=l.evaluate.apply(void 0,e);if(void 0!==t&&void 0!==o)return u(t,o,s)}}:u(a,l,s)}function vo(e,t,o){return"color"===t.type?o=ye.parse(o):"formatted"===t.type?o=be.fromString(o.toString()):"resolvedImage"===t.type?o=Ae.fromString(o.toString()):uo(o)===t.type||"enum"===t.type&&t.values[o]||(o=void 0),fo(o,e.default,t.default)}Ne.register($t,{error:[{kind:"error"},[oe],(e,[t])=>{throw new Ie(t.evaluate(e))}],typeof:[oe,[se],(e,[t])=>de(Se(t.evaluate(e)))],"to-rgba":[ce(te,4),[ne],(e,[t])=>t.evaluate(e).toArray()],rgb:[ne,[te,te,te],eo],rgba:[ne,[te,te,te,te],eo],has:{type:re,overloads:[[[oe],(e,[t])=>to(t.evaluate(e),e.properties())],[[oe,ie],(e,[t,o])=>to(t.evaluate(e),o.evaluate(e))]]},get:{type:se,overloads:[[[oe],(e,[t])=>oo(t.evaluate(e),e.properties())],[[oe,ie],(e,[t,o])=>oo(t.evaluate(e),o.evaluate(e))]]},"feature-state":[se,[oe],(e,[t])=>oo(t.evaluate(e),e.featureState||{})],properties:[ie,[],e=>e.properties()],"geometry-type":[oe,[],e=>e.geometryType()],id:[se,[],e=>e.id()],zoom:[te,[],e=>e.globals.zoom],"heatmap-density":[te,[],e=>e.globals.heatmapDensity||0],"line-progress":[te,[],e=>e.globals.lineProgress||0],"sky-radial-progress":[te,[],e=>e.globals.skyRadialProgress||0],accumulated:[se,[],e=>void 0===e.globals.accumulated?null:e.globals.accumulated],"+":[te,ro(te),(e,t)=>{let o=0;for(const r of t)o+=r.evaluate(e);return o}],"*":[te,ro(te),(e,t)=>{let o=1;for(const r of t)o*=r.evaluate(e);return o}],"-":{type:te,overloads:[[[te,te],(e,[t,o])=>t.evaluate(e)-o.evaluate(e)],[[te],(e,[t])=>-t.evaluate(e)]]},"/":[te,[te,te],(e,[t,o])=>t.evaluate(e)/o.evaluate(e)],"%":[te,[te,te],(e,[t,o])=>t.evaluate(e)%o.evaluate(e)],ln2:[te,[],()=>Math.LN2],pi:[te,[],()=>Math.PI],e:[te,[],()=>Math.E],"^":[te,[te,te],(e,[t,o])=>Math.pow(t.evaluate(e),o.evaluate(e))],sqrt:[te,[te],(e,[t])=>Math.sqrt(t.evaluate(e))],log10:[te,[te],(e,[t])=>Math.log(t.evaluate(e))/Math.LN10],ln:[te,[te],(e,[t])=>Math.log(t.evaluate(e))],log2:[te,[te],(e,[t])=>Math.log(t.evaluate(e))/Math.LN2],sin:[te,[te],(e,[t])=>Math.sin(t.evaluate(e))],cos:[te,[te],(e,[t])=>Math.cos(t.evaluate(e))],tan:[te,[te],(e,[t])=>Math.tan(t.evaluate(e))],asin:[te,[te],(e,[t])=>Math.asin(t.evaluate(e))],acos:[te,[te],(e,[t])=>Math.acos(t.evaluate(e))],atan:[te,[te],(e,[t])=>Math.atan(t.evaluate(e))],min:[te,ro(te),(e,t)=>Math.min(...t.map((t=>t.evaluate(e))))],max:[te,ro(te),(e,t)=>Math.max(...t.map((t=>t.evaluate(e))))],abs:[te,[te],(e,[t])=>Math.abs(t.evaluate(e))],round:[te,[te],(e,[t])=>{const o=t.evaluate(e);return o<0?-Math.round(-o):Math.round(o)}],floor:[te,[te],(e,[t])=>Math.floor(t.evaluate(e))],ceil:[te,[te],(e,[t])=>Math.ceil(t.evaluate(e))],"filter-==":[re,[oe,se],(e,[t,o])=>e.properties()[t.value]===o.value],"filter-id-==":[re,[se],(e,[t])=>e.id()===t.value],"filter-type-==":[re,[oe],(e,[t])=>e.geometryType()===t.value],"filter-<":[re,[oe,se],(e,[t,o])=>{const r=e.properties()[t.value],n=o.value;return typeof r==typeof n&&r<n}],"filter-id-<":[re,[se],(e,[t])=>{const o=e.id(),r=t.value;return typeof o==typeof r&&o<r}],"filter->":[re,[oe,se],(e,[t,o])=>{const r=e.properties()[t.value],n=o.value;return typeof r==typeof n&&r>n}],"filter-id->":[re,[se],(e,[t])=>{const o=e.id(),r=t.value;return typeof o==typeof r&&o>r}],"filter-<=":[re,[oe,se],(e,[t,o])=>{const r=e.properties()[t.value],n=o.value;return typeof r==typeof n&&r<=n}],"filter-id-<=":[re,[se],(e,[t])=>{const o=e.id(),r=t.value;return typeof o==typeof r&&o<=r}],"filter->=":[re,[oe,se],(e,[t,o])=>{const r=e.properties()[t.value],n=o.value;return typeof r==typeof n&&r>=n}],"filter-id->=":[re,[se],(e,[t])=>{const o=e.id(),r=t.value;return typeof o==typeof r&&o>=r}],"filter-has":[re,[se],(e,[t])=>t.value in e.properties()],"filter-has-id":[re,[],e=>null!==e.id()&&void 0!==e.id()],"filter-type-in":[re,[ce(oe)],(e,[t])=>t.value.indexOf(e.geometryType())>=0],"filter-id-in":[re,[ce(se)],(e,[t])=>t.value.indexOf(e.id())>=0],"filter-in-small":[re,[oe,ce(se)],(e,[t,o])=>o.value.indexOf(e.properties()[t.value])>=0],"filter-in-large":[re,[oe,ce(se)],(e,[t,o])=>function(e,t,o,r){for(;o<=r;){const n=o+r>>1;if(t[n]===e)return!0;t[n]>e?r=n-1:o=n+1}return!1}(e.properties()[t.value],o.value,0,o.value.length-1)],all:{type:re,overloads:[[[re,re],(e,[t,o])=>t.evaluate(e)&&o.evaluate(e)],[ro(re),(e,t)=>{for(const o of t)if(!o.evaluate(e))return!1;return!0}]]},any:{type:re,overloads:[[[re,re],(e,[t,o])=>t.evaluate(e)||o.evaluate(e)],[ro(re),(e,t)=>{for(const o of t)if(o.evaluate(e))return!0;return!1}]]},"!":[re,[re],(e,[t])=>!t.evaluate(e)],"is-supported-script":[re,[oe],(e,[t])=>{const o=e.globals&&e.globals.isSupportedScript;return!o||o(t.evaluate(e))}],upcase:[oe,[oe],(e,[t])=>t.evaluate(e).toUpperCase()],downcase:[oe,[oe],(e,[t])=>t.evaluate(e).toLowerCase()],concat:[oe,ro(se),(e,t)=>t.map((t=>we(t.evaluate(e)))).join("")],"resolved-locale":[oe,[ae],(e,[t])=>t.evaluate(e).resolvedLocale()]});class _o{constructor(e,t){var o;this.expression=e,this._warningHistory={},this._evaluator=new ke,this._defaultValue=t?"color"===(o=t).type&&co(o.default)?new ye(0,0,0,0):"color"===o.type?ye.parse(o.default)||null:void 0===o.default?null:o.default:null,this._enumValues=t&&"enum"===t.type?t.values:null}evaluateWithoutErrorHandling(e,t,o,r,n,i){return this._evaluator.globals=e,this._evaluator.feature=t,this._evaluator.featureState=o,this._evaluator.canonical=r,this._evaluator.availableImages=n||null,this._evaluator.formattedSection=i,this.expression.evaluate(this._evaluator)}evaluate(e,t,o,r,n,i){this._evaluator.globals=e,this._evaluator.feature=t||null,this._evaluator.featureState=o||null,this._evaluator.canonical=r,this._evaluator.availableImages=n||null,this._evaluator.formattedSection=i||null;try{const e=this.expression.evaluate(this._evaluator);if(null==e||"number"==typeof e&&e!=e)return this._defaultValue;if(this._enumValues&&!(e in this._enumValues))throw new Ie(`Expected value to be one of ${Object.keys(this._enumValues).map((e=>JSON.stringify(e))).join(", ")}, but found ${JSON.stringify(e)} instead.`);return e}catch(e){return this._warningHistory[e.message]||(this._warningHistory[e.message]=!0,"undefined"!=typeof console&&console.warn(e.message)),this._defaultValue}}}function bo(e){return Array.isArray(e)&&e.length>0&&"string"==typeof e[0]&&e[0]in $t}function Ao(e,t){const o=new st($t,[],t?function(e){const t={color:ne,string:oe,number:te,enum:oe,boolean:re,formatted:le,resolvedImage:ue};if("array"===e.type)return ce(t[e.value]||se,e.length);return t[e.type]}(t):void 0),r=o.parse(e,void 0,void 0,void 0,t&&"string"===t.type?{typeAnnotation:"coerce"}:void 0);return r?no(new _o(r,t)):io(o.errors)}class Co{constructor(e,t){this.kind=e,this._styleExpression=t,this.isStateDependent="constant"!==e&&!rt(t.expression)}evaluateWithoutErrorHandling(e,t,o,r,n,i){return this._styleExpression.evaluateWithoutErrorHandling(e,t,o,r,n,i)}evaluate(e,t,o,r,n,i){return this._styleExpression.evaluate(e,t,o,r,n,i)}}class Eo{constructor(e,t,o,r){this.kind=e,this.zoomStops=o,this._styleExpression=t,this.isStateDependent="camera"!==e&&!rt(t.expression),this.interpolationType=r}evaluateWithoutErrorHandling(e,t,o,r,n,i){return this._styleExpression.evaluateWithoutErrorHandling(e,t,o,r,n,i)}evaluate(e,t,o,r,n,i){return this._styleExpression.evaluate(e,t,o,r,n,i)}interpolationFactor(e,t,o){return this.interpolationType?Mt.interpolationFactor(this.interpolationType,e,t,o):0}}function So(e,t){if("error"===(e=Ao(e,t)).result)return e;const o=e.value.expression,r=ot(o);if(!r&&!so(t))return io([new Q("","data expressions not supported")]);const n=nt(o,["zoom"]);if(!n&&!ao(t))return io([new Q("","zoom expressions not supported")]);const i=Oo(o);if(!i&&!n)return io([new Q("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(i instanceof Q)return io([i]);if(i instanceof Mt&&!lo(t))return io([new Q("",'"interpolate" expressions cannot be used with this property')]);if(!i)return no(new Co(r?"constant":"source",e.value));const s=i instanceof Mt?i.interpolation:void 0;return no(new Eo(r?"camera":"composite",e.value,i.labels,s))}class wo{constructor(e,t){this._parameters=e,this._specification=t,J(this,ho(this._parameters,this._specification))}static deserialize(e){return new wo(e._parameters,e._specification)}static serialize(e){return{_parameters:e._parameters,_specification:e._specification}}}function Oo(e){let t=null;if(e instanceof kt)t=Oo(e.result);else if(e instanceof Lt){for(const o of e.args)if(t=Oo(o),t)break}else(e instanceof ut||e instanceof Mt)&&e.input instanceof Ne&&"zoom"===e.input.name&&(t=e);return t instanceof Q||e.eachChild((e=>{const o=Oo(e);o instanceof Q?t=o:!t&&o?t=new Q("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):t&&o&&t!==o&&(t=new Q("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))})),t}function Io(e){return"object"==typeof e?["literal",e]:e}function xo(e,t){let o=e.stops;if(!o)return function(e,t){const o=["get",e.property];if(void 0===e.default)return"string"===t.type?["string",o]:o;if("enum"===t.type)return["match",o,Object.keys(t.values),o,e.default];{const r=["color"===t.type?"to-color":t.type,o,Io(e.default)];return"array"===t.type&&r.splice(1,0,t.value,t.length||null),r}}(e,t);const r=o&&"object"==typeof o[0][0],n=r||void 0!==e.property,i=r||!n;return o=o.map((e=>!n&&t.tokens&&"string"==typeof e[1]?[e[0],ko(e[1])]:[e[0],Io(e[1])])),r?function(e,t,o){const r={},n={},i=[];for(let t=0;t<o.length;t++){const s=o[t],a=s[0].zoom;void 0===r[a]&&(r[a]={zoom:a,type:e.type,property:e.property,default:e.default},n[a]=[],i.push(a)),n[a].push([s[0].value,s[1]])}const s=Lo({},t);if("exponential"===s){const o=[jo(e),["linear"],["zoom"]];for(const e of i){Ro(o,e,Po(r[e],t,n[e]),!1)}return o}{const e=["step",["zoom"]];for(const o of i){Ro(e,o,Po(r[o],t,n[o]),!0)}return Mo(e),e}}(e,t,o):i?function(e,t,o,r=["zoom"]){const n=Lo(e,t);let i,s=!1;if("interval"===n)i=["step",r],s=!0;else{if("exponential"!==n)throw new Error(`Unknown zoom function type "${n}"`);{const t=void 0!==e.base?e.base:1;i=[jo(e),1===t?["linear"]:["exponential",t],r]}}for(const e of o)Ro(i,e[0],e[1],s);return Mo(i),i}(e,t,o):Po(e,t,o)}function jo(e){switch(e.colorSpace){case"hcl":return"interpolate-hcl";case"lab":return"interpolate-lab";default:return"interpolate"}}function To(e,t){const o=Io((r=e.default,n=t.default,void 0!==r?r:void 0!==n?n:void 0));var r,n;return void 0===o&&"resolvedImage"===t.type?"":o}function Po(e,t,o){const r=Lo(e,t),n=["get",e.property];if("categorical"===r&&"boolean"==typeof o[0][0]){const r=["case"];for(const e of o)r.push(["==",n,e[0]],e[1]);return r.push(To(e,t)),r}if("categorical"===r){const r=["match",n];for(const e of o)Ro(r,e[0],e[1],!1);return r.push(To(e,t)),r}if("interval"===r){const t=["step",["number",n]];for(const e of o)Ro(t,e[0],e[1],!0);return Mo(t),void 0===e.default?t:["case",["==",["typeof",n],"number"],t,Io(e.default)]}if("exponential"===r){const t=void 0!==e.base?e.base:1,r=[jo(e),1===t?["linear"]:["exponential",t],["number",n]];for(const e of o)Ro(r,e[0],e[1],!1);return void 0===e.default?r:["case",["==",["typeof",n],"number"],r,Io(e.default)]}throw new Error(`Unknown property function type ${r}`)}function Mo(e){"step"===e[0]&&3===e.length&&(e.push(0),e.push(e[3]))}function Ro(e,t,o,r){e.length>3&&t===e[e.length-2]||(r&&2===e.length||e.push(t),e.push(o))}function Lo(e,t){return e.type?e.type:t.expression.interpolated?"exponential":"interval"}function ko(e){const t=["concat"],o=/{([^{}]+)}/g;let r=0;for(let n=o.exec(e);null!==n;n=o.exec(e)){const i=e.slice(r,o.lastIndex-n[0].length);r=o.lastIndex,i.length>0&&t.push(i),t.push(["get",n[1]])}if(1===t.length)return e;if(r<e.length)t.push(e.slice(r));else if(2===t.length)return["to-string",t[1]];return t}function No(e){if(!0===e||!1===e)return!0;if(!Array.isArray(e)||0===e.length)return!1;switch(e[0]){case"has":return e.length>=2&&"$id"!==e[1]&&"$type"!==e[1];case"in":return e.length>=3&&("string"!=typeof e[1]||Array.isArray(e[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return 3!==e.length||Array.isArray(e[1])||Array.isArray(e[2]);case"any":case"all":for(const t of e.slice(1))if(!No(t)&&"boolean"!=typeof t)return!1;return!0;default:return!0}}const Do={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function Go(e){if(null==e)return{filter:()=>!0,needGeometry:!1};No(e)||(e=Bo(e));const t=Ao(e,Do);if("error"===t.result)throw new Error(t.value.map((e=>`${e.key}: ${e.message}`)).join(", "));return{filter:(e,o,r)=>t.value.evaluate(e,o,{},r),needGeometry:Uo(e)}}function Fo(e,t){return e<t?-1:e>t?1:0}function Uo(e){if(!Array.isArray(e))return!1;if("within"===e[0])return!0;for(let t=1;t<e.length;t++)if(Uo(e[t]))return!0;return!1}function Bo(e){if(!e)return!0;const t=e[0];if(e.length<=1)return"any"!==t;var o;return"=="===t?zo(e[1],e[2],"=="):"!="===t?qo(zo(e[1],e[2],"==")):"<"===t||">"===t||"<="===t||">="===t?zo(e[1],e[2],t):"any"===t?(o=e.slice(1),["any"].concat(o.map(Bo))):"all"===t?["all"].concat(e.slice(1).map(Bo)):"none"===t?["all"].concat(e.slice(1).map(Bo).map(qo)):"in"===t?Vo(e[1],e.slice(2)):"!in"===t?qo(Vo(e[1],e.slice(2))):"has"===t?Wo(e[1]):"!has"===t?qo(Wo(e[1])):"within"!==t||e}function zo(e,t,o){switch(e){case"$type":return[`filter-type-${o}`,t];case"$id":return[`filter-id-${o}`,t];default:return[`filter-${o}`,e,t]}}function Vo(e,t){if(0===t.length)return!1;switch(e){case"$type":return["filter-type-in",["literal",t]];case"$id":return["filter-id-in",["literal",t]];default:return t.length>200&&!t.some((e=>typeof e!=typeof t[0]))?["filter-in-large",e,["literal",t.sort(Fo)]]:["filter-in-small",e,["literal",t]]}}function Wo(e){switch(e){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",e]}}function qo(e){return["!",e]}function Yo(e){return Ho(e,{})}function Ho(e,t){if(No(e))return e;if(!e)return!0;const o=e[0];if(e.length<=1)return"any"!==o;let r;if("=="===o||"!="===o||"<"===o||">"===o||"<="===o||">="===o){const[,n,i]=e;r=function(e,t,o,r){let n;if("$type"===e)return[o,["geometry-type"],t];n="$id"===e?["id"]:["get",e];if(r&&null!==t){const o=typeof t;r[e]=o}if("=="===o&&"$id"!==e&&null===t)return["all",["has",e],["==",n,null]];if("!="===o&&"$id"!==e&&null===t)return["any",["!",["has",e]],["!=",n,null]];return[o,n,t]}(n,i,o,t)}else{if("any"===o){const t=e.slice(1).map((e=>{const t={},o=Ho(e,t),r=function(e){const t=[];for(const o in e){const r="$id"===o?["id"]:["get",o];t.push(["==",["typeof",r],e[o]])}return 0===t.length||(1===t.length?t[0]:["all"].concat(t))}(t);return!0===r?o:["case",r,o,!1]}));return["any"].concat(t)}if("all"===o){const o=e.slice(1).map((e=>Ho(e,t)));return o.length>1?["all"].concat(o):[].concat(...o)}if("none"===o)return["!",Ho(["any"].concat(e.slice(1)),{})];r="in"===o?Xo(e[1],e.slice(2)):"!in"===o?Xo(e[1],e.slice(2),!0):"has"===o?Zo(e[1]):"!has"!==o||["!",Zo(e[1])]}return r}function Xo(e,t,o=!1){if(0===t.length)return o;let r;r="$type"===e?["geometry-type"]:"$id"===e?["id"]:["get",e];let n=!0;const i=typeof t[0];for(const e of t)if(typeof e!==i){n=!1;break}if(n&&("string"===i||"number"===i)){const e=t.sort().filter(((e,o)=>0===o||t[o-1]!==e));return["match",r,e,!o,o]}return[o?"all":"any"].concat(t.map((e=>[o?"!=":"==",r,e])))}function Zo(e){return"$type"===e||("$id"===e?["!=",["id"],null]:["has",e])}function Ko(e){let t=!1;if(7===e.version&&(e=K(e),t=!0),8===e.version&&(t=function(e){const t=[];return W(e,(e=>{e.filter&&(e.filter=Yo(e.filter))})),q(e,{paint:!0,layout:!0},(({path:e,value:o,reference:r,set:n})=>{bo(o)||("object"!=typeof o||Array.isArray(o)?r.tokens&&"string"==typeof o&&n(ko(o)):(n(xo(o,r)),t.push(e.join("."))))})),e}(e),t=!0),!t)throw new Error("cannot migrate from",e.version);return e}function Jo(e){const t=[],o=[],r=[];for(const r in e.sources){const n=e.sources[r];if("vector"!==n.type)continue;const i=/^mapbox:\/\/(.*)/.exec(n.url);i&&(t.push(r),o.push(i[1]))}if(t.length<2)return e;t.forEach((t=>{delete e.sources[t]}));const n=o.join(",");return e.sources[n]={type:"vector",url:`mapbox://${n}`},e.layers.forEach((e=>{if(t.indexOf(e.source)>=0&&(e.source=n,"source-layer"in e)){if(r.indexOf(e["source-layer"])>=0)throw new Error("Conflicting source layer names");r.push(e["source-layer"])}})),e}var Qo=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function $o(e,t){const o={};for(const t in e)"ref"!==t&&(o[t]=e[t]);return Qo.forEach((e=>{e in t&&(o[e]=t[e])})),o}function er(e){e=e.slice();const t=Object.create(null);for(let o=0;o<e.length;o++)t[e[o].id]=e[o];for(let o=0;o<e.length;o++)"ref"in e[o]&&(e[o]=$o(e[o],t[e[o].ref]));return e}function tr(e,t){if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(let o=0;o<e.length;o++)if(!tr(e[o],t[o]))return!1;return!0}if("object"==typeof e&&null!==e&&null!==t){if("object"!=typeof t)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const o in e)if(!tr(e[o],t[o]))return!1;return!0}return e===t}const or={setStyle:"setStyle",addLayer:"addLayer",removeLayer:"removeLayer",setPaintProperty:"setPaintProperty",setLayoutProperty:"setLayoutProperty",setFilter:"setFilter",addSource:"addSource",removeSource:"removeSource",setGeoJSONSourceData:"setGeoJSONSourceData",setLayerZoomRange:"setLayerZoomRange",setLayerProperty:"setLayerProperty",setCenter:"setCenter",setZoom:"setZoom",setBearing:"setBearing",setPitch:"setPitch",setSprite:"setSprite",setGlyphs:"setGlyphs",setTransition:"setTransition",setLight:"setLight",setTerrain:"setTerrain",setFog:"setFog"};function rr(e,t,o){o.push({command:or.addSource,args:[e,t[e]]})}function nr(e,t,o){t.push({command:or.removeSource,args:[e]}),o[e]=!0}function ir(e,t,o,r){nr(e,o,r),rr(e,t,o)}function sr(e,t,o){let r;for(r in e[o])if(e[o].hasOwnProperty(r)&&"data"!==r&&!tr(e[o][r],t[o][r]))return!1;for(r in t[o])if(t[o].hasOwnProperty(r)&&"data"!==r&&!tr(e[o][r],t[o][r]))return!1;return!0}function ar(e,t,o,r,n,i){let s;for(s in t=t||{},e=e||{})e.hasOwnProperty(s)&&(tr(e[s],t[s])||o.push({command:i,args:[r,s,t[s],n]}));for(s in t)t.hasOwnProperty(s)&&!e.hasOwnProperty(s)&&(tr(e[s],t[s])||o.push({command:i,args:[r,s,t[s],n]}))}function lr(e){return e.id}function ur(e,t){return e[t.id]=t,e}function cr(e,t){if(!e)return[{command:or.setStyle,args:[t]}];let o=[];try{if(!tr(e.version,t.version))return[{command:or.setStyle,args:[t]}];tr(e.center,t.center)||o.push({command:or.setCenter,args:[t.center]}),tr(e.zoom,t.zoom)||o.push({command:or.setZoom,args:[t.zoom]}),tr(e.bearing,t.bearing)||o.push({command:or.setBearing,args:[t.bearing]}),tr(e.pitch,t.pitch)||o.push({command:or.setPitch,args:[t.pitch]}),tr(e.sprite,t.sprite)||o.push({command:or.setSprite,args:[t.sprite]}),tr(e.glyphs,t.glyphs)||o.push({command:or.setGlyphs,args:[t.glyphs]}),tr(e.transition,t.transition)||o.push({command:or.setTransition,args:[t.transition]}),tr(e.light,t.light)||o.push({command:or.setLight,args:[t.light]}),tr(e.fog,t.fog)||o.push({command:or.setFog,args:[t.fog]});const r={},n=[];!function(e,t,o,r){let n;for(n in t=t||{},e=e||{})e.hasOwnProperty(n)&&(t.hasOwnProperty(n)||nr(n,o,r));for(n in t)t.hasOwnProperty(n)&&(e.hasOwnProperty(n)?tr(e[n],t[n])||("geojson"===e[n].type&&"geojson"===t[n].type&&sr(e,t,n)?o.push({command:or.setGeoJSONSourceData,args:[n,t[n].data]}):ir(n,t,o,r)):rr(n,t,o))}(e.sources,t.sources,n,r);const i=[];e.layers&&e.layers.forEach((e=>{r[e.source]?o.push({command:or.removeLayer,args:[e.id]}):i.push(e)}));let s=e.terrain;s&&r[s.source]&&(o.push({command:or.setTerrain,args:[void 0]}),s=void 0),o=o.concat(n),tr(s,t.terrain)||o.push({command:or.setTerrain,args:[t.terrain]}),function(e,t,o){t=t||[];const r=(e=e||[]).map(lr),n=t.map(lr),i=e.reduce(ur,{}),s=t.reduce(ur,{}),a=r.slice(),l=Object.create(null);let u,c,d,p,h,f,m;for(u=0,c=0;u<r.length;u++)d=r[u],s.hasOwnProperty(d)?c++:(o.push({command:or.removeLayer,args:[d]}),a.splice(a.indexOf(d,c),1));for(u=0,c=0;u<n.length;u++)d=n[n.length-1-u],a[a.length-1-u]!==d&&(i.hasOwnProperty(d)?(o.push({command:or.removeLayer,args:[d]}),a.splice(a.lastIndexOf(d,a.length-c),1)):c++,f=a[a.length-u],o.push({command:or.addLayer,args:[s[d],f]}),a.splice(a.length-u,0,d),l[d]=!0);for(u=0;u<n.length;u++)if(d=n[u],p=i[d],h=s[d],!l[d]&&!tr(p,h))if(tr(p.source,h.source)&&tr(p["source-layer"],h["source-layer"])&&tr(p.type,h.type)){for(m in ar(p.layout,h.layout,o,d,null,or.setLayoutProperty),ar(p.paint,h.paint,o,d,null,or.setPaintProperty),tr(p.filter,h.filter)||o.push({command:or.setFilter,args:[d,h.filter]}),tr(p.minzoom,h.minzoom)&&tr(p.maxzoom,h.maxzoom)||o.push({command:or.setLayerZoomRange,args:[d,h.minzoom,h.maxzoom]}),p)p.hasOwnProperty(m)&&"layout"!==m&&"paint"!==m&&"filter"!==m&&"metadata"!==m&&"minzoom"!==m&&"maxzoom"!==m&&(0===m.indexOf("paint.")?ar(p[m],h[m],o,d,m.slice(6),or.setPaintProperty):tr(p[m],h[m])||o.push({command:or.setLayerProperty,args:[d,m,h[m]]}));for(m in h)h.hasOwnProperty(m)&&!p.hasOwnProperty(m)&&"layout"!==m&&"paint"!==m&&"filter"!==m&&"metadata"!==m&&"minzoom"!==m&&"maxzoom"!==m&&(0===m.indexOf("paint.")?ar(p[m],h[m],o,d,m.slice(6),or.setPaintProperty):tr(p[m],h[m])||o.push({command:or.setLayerProperty,args:[d,m,h[m]]}))}else o.push({command:or.removeLayer,args:[d]}),f=a[a.lastIndexOf(d)+1],o.push({command:or.addLayer,args:[h,f]})}(i,t.layers,o)}catch(e){console.warn("Unable to compute style diff:",e),o=[{command:or.setStyle,args:[t]}]}return o}class dr{constructor(e,t,o,r){this.message=(e?`${e}: `:"")+o,r&&(this.identifier=r),null!=t&&t.__line__&&(this.line=t.__line__)}}class pr{constructor(e){this.error=e,this.message=e.message;const t=e.message.match(/line (\d+)/);this.line=t?parseInt(t[1],10):0}}function hr(e){const t=e.key,o=e.value;return o?[new dr(t,o,"constants have been deprecated as of v8")]:[]}function fr(e){return e instanceof Number||e instanceof String||e instanceof Boolean?e.valueOf():e}function mr(e){if(Array.isArray(e))return e.map(mr);if(e instanceof Object&&!(e instanceof Number||e instanceof String||e instanceof Boolean)){const t={};for(const o in e)t[o]=mr(e[o]);return t}return fr(e)}function gr(e){const t=e.key,o=e.value,r=e.valueSpec||{},n=e.objectElementValidators||{},i=e.style,s=e.styleSpec;let a=[];const l=uo(o);if("object"!==l)return[new dr(t,o,`object expected, ${l} found`)];for(const e in o){const l=e.split(".")[0],u=r[l]||r["*"];let c;if(n[l])c=n[l];else if(r[l])c=kr;else if(n["*"])c=n["*"];else{if(!r["*"]){a.push(new dr(t,o[e],`unknown property "${e}"`));continue}c=kr}a=a.concat(c({key:(t?`${t}.`:t)+e,value:o[e],valueSpec:u,style:i,styleSpec:s,object:o,objectKey:e},o))}for(const e in r)n[e]||r[e].required&&void 0===r[e].default&&void 0===o[e]&&a.push(new dr(t,o,`missing required property "${e}"`));return a}function yr(e){const t=e.value,o=e.valueSpec,r=e.style,n=e.styleSpec,i=e.key,s=e.arrayElementValidator||kr;if("array"!==uo(t))return[new dr(i,t,`array expected, ${uo(t)} found`)];if(o.length&&t.length!==o.length)return[new dr(i,t,`array length ${o.length} expected, length ${t.length} found`)];if(o["min-length"]&&t.length<o["min-length"])return[new dr(i,t,`array length at least ${o["min-length"]} expected, length ${t.length} found`)];let a={type:o.value,values:o.values,minimum:o.minimum,maximum:o.maximum};n.$version<7&&(a.function=o.function),"object"===uo(o.value)&&(a=o.value);let l=[];for(let e=0;e<t.length;e++)l=l.concat(s({array:t,arrayIndex:e,value:t[e],valueSpec:a,style:r,styleSpec:n,key:`${i}[${e}]`}));return l}function vr(e){const t=e.key,o=e.value,r=e.valueSpec;let n=uo(o);if("number"===n&&o!=o&&(n="NaN"),"number"!==n)return[new dr(t,o,`number expected, ${n} found`)];if("minimum"in r){let n=r.minimum;if("array"===uo(r.minimum)){const t=e.arrayIndex;n=r.minimum[t]}if(o<n)return[new dr(t,o,`${o} is less than the minimum value ${n}`)]}if("maximum"in r){let n=r.maximum;if("array"===uo(r.maximum)){const t=e.arrayIndex;n=r.maximum[t]}if(o>n)return[new dr(t,o,`${o} is greater than the maximum value ${n}`)]}return[]}function _r(e){const t=e.valueSpec,o=fr(e.value.type);let r,n,i,s={};const a="categorical"!==o&&void 0===e.value.property,l=!a,u="array"===uo(e.value.stops)&&"array"===uo(e.value.stops[0])&&"object"===uo(e.value.stops[0][0]),c=gr({key:e.key,value:e.value,valueSpec:e.styleSpec.function,style:e.style,styleSpec:e.styleSpec,objectElementValidators:{stops:function(e){if("identity"===o)return[new dr(e.key,e.value,'identity function may not have a "stops" property')];let t=[];const r=e.value;t=t.concat(yr({key:e.key,value:r,valueSpec:e.valueSpec,style:e.style,styleSpec:e.styleSpec,arrayElementValidator:d})),"array"===uo(r)&&0===r.length&&t.push(new dr(e.key,r,"array must have at least one stop"));return t},default:function(e){return kr({key:e.key,value:e.value,valueSpec:t,style:e.style,styleSpec:e.styleSpec})}}});return"identity"===o&&a&&c.push(new dr(e.key,e.value,'missing required property "property"')),"identity"===o||e.value.stops||c.push(new dr(e.key,e.value,'missing required property "stops"')),"exponential"===o&&e.valueSpec.expression&&!lo(e.valueSpec)&&c.push(new dr(e.key,e.value,"exponential functions not supported")),e.styleSpec.$version>=8&&(l&&!so(e.valueSpec)?c.push(new dr(e.key,e.value,"property functions not supported")):a&&!ao(e.valueSpec)&&c.push(new dr(e.key,e.value,"zoom functions not supported"))),"categorical"!==o&&!u||void 0!==e.value.property||c.push(new dr(e.key,e.value,'"property" property is required')),c;function d(e){let o=[];const r=e.value,a=e.key;if("array"!==uo(r))return[new dr(a,r,`array expected, ${uo(r)} found`)];if(2!==r.length)return[new dr(a,r,`array length 2 expected, length ${r.length} found`)];if(u){if("object"!==uo(r[0]))return[new dr(a,r,`object expected, ${uo(r[0])} found`)];if(void 0===r[0].zoom)return[new dr(a,r,"object stop key must have zoom")];if(void 0===r[0].value)return[new dr(a,r,"object stop key must have value")];if(i&&i>fr(r[0].zoom))return[new dr(a,r[0].zoom,"stop zoom values must appear in ascending order")];fr(r[0].zoom)!==i&&(i=fr(r[0].zoom),n=void 0,s={}),o=o.concat(gr({key:`${a}[0]`,value:r[0],valueSpec:{zoom:{}},style:e.style,styleSpec:e.styleSpec,objectElementValidators:{zoom:vr,value:p}}))}else o=o.concat(p({key:`${a}[0]`,value:r[0],valueSpec:{},style:e.style,styleSpec:e.styleSpec},r));return bo(mr(r[1]))?o.concat([new dr(`${a}[1]`,r[1],"expressions are not allowed in function stops.")]):o.concat(kr({key:`${a}[1]`,value:r[1],valueSpec:t,style:e.style,styleSpec:e.styleSpec}))}function p(e,i){const a=uo(e.value),l=fr(e.value),u=null!==e.value?e.value:i;if(r){if(a!==r)return[new dr(e.key,u,`${a} stop domain type must match previous stop domain type ${r}`)]}else r=a;if("number"!==a&&"string"!==a&&"boolean"!==a)return[new dr(e.key,u,"stop domain value must be a number, string, or boolean")];if("number"!==a&&"categorical"!==o){let r=`number expected, ${a} found`;return so(t)&&void 0===o&&(r+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new dr(e.key,u,r)]}return"categorical"!==o||"number"!==a||isFinite(l)&&Math.floor(l)===l?"categorical"!==o&&"number"===a&&void 0!==n&&l<n?[new dr(e.key,u,"stop domain values must appear in ascending order")]:(n=l,"categorical"===o&&l in s?[new dr(e.key,u,"stop domain values must be unique")]:(s[l]=!0,[])):[new dr(e.key,u,`integer expected, found ${l}`)]}}function br(e){const t=("property"===e.expressionContext?So:Ao)(mr(e.value),e.valueSpec);if("error"===t.result)return t.value.map((t=>new dr(`${e.key}${t.key}`,e.value,t.message)));const o=t.value.expression||t.value._styleExpression.expression;if("property"===e.expressionContext&&"text-font"===e.propertyKey&&!o.outputDefined())return[new dr(e.key,e.value,`Invalid data expression for "${e.propertyKey}". Output values must be contained as literals within the expression.`)];if("property"===e.expressionContext&&"layout"===e.propertyType&&!rt(o))return[new dr(e.key,e.value,'"feature-state" data expressions are not supported with layout properties.')];if("filter"===e.expressionContext&&!rt(o))return[new dr(e.key,e.value,'"feature-state" data expressions are not supported with filters.')];if(e.expressionContext&&0===e.expressionContext.indexOf("cluster")){if(!nt(o,["zoom","feature-state"]))return[new dr(e.key,e.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if("cluster-initial"===e.expressionContext&&!ot(o))return[new dr(e.key,e.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function Ar(e){const t=e.key,o=e.value,r=e.valueSpec,n=[];return Array.isArray(r.values)?-1===r.values.indexOf(fr(o))&&n.push(new dr(t,o,`expected one of [${r.values.join(", ")}], ${JSON.stringify(o)} found`)):-1===Object.keys(r.values).indexOf(fr(o))&&n.push(new dr(t,o,`expected one of [${Object.keys(r.values).join(", ")}], ${JSON.stringify(o)} found`)),n}function Cr(e){return No(mr(e.value))?br(J({},e,{expressionContext:"filter",valueSpec:{value:"boolean"}})):Er(e)}function Er(e){const t=e.value,o=e.key;if("array"!==uo(t))return[new dr(o,t,`array expected, ${uo(t)} found`)];const r=e.styleSpec;let n,i=[];if(t.length<1)return[new dr(o,t,"filter array must have at least 1 element")];switch(i=i.concat(Ar({key:`${o}[0]`,value:t[0],valueSpec:r.filter_operator,style:e.style,styleSpec:e.styleSpec})),fr(t[0])){case"<":case"<=":case">":case">=":t.length>=2&&"$type"===fr(t[1])&&i.push(new dr(o,t,`"$type" cannot be use with operator "${t[0]}"`));case"==":case"!=":3!==t.length&&i.push(new dr(o,t,`filter array for operator "${t[0]}" must have 3 elements`));case"in":case"!in":t.length>=2&&(n=uo(t[1]),"string"!==n&&i.push(new dr(`${o}[1]`,t[1],`string expected, ${n} found`)));for(let s=2;s<t.length;s++)n=uo(t[s]),"$type"===fr(t[1])?i=i.concat(Ar({key:`${o}[${s}]`,value:t[s],valueSpec:r.geometry_type,style:e.style,styleSpec:e.styleSpec})):"string"!==n&&"number"!==n&&"boolean"!==n&&i.push(new dr(`${o}[${s}]`,t[s],`string, number, or boolean expected, ${n} found`));break;case"any":case"all":case"none":for(let r=1;r<t.length;r++)i=i.concat(Er({key:`${o}[${r}]`,value:t[r],style:e.style,styleSpec:e.styleSpec}));break;case"has":case"!has":n=uo(t[1]),2!==t.length?i.push(new dr(o,t,`filter array for "${t[0]}" operator must have 2 elements`)):"string"!==n&&i.push(new dr(`${o}[1]`,t[1],`string expected, ${n} found`));break;case"within":n=uo(t[1]),2!==t.length?i.push(new dr(o,t,`filter array for "${t[0]}" operator must have 2 elements`)):"object"!==n&&i.push(new dr(`${o}[1]`,t[1],`object expected, ${n} found`))}return i}function Sr(e,t){const o=e.key,r=e.style,n=e.styleSpec,i=e.value,s=e.objectKey,a=n[`${t}_${e.layerType}`];if(!a)return[];const l=s.match(/^(.*)-transition$/);if("paint"===t&&l&&a[l[1]]&&a[l[1]].transition)return kr({key:o,value:i,valueSpec:n.transition,style:r,styleSpec:n});const u=e.valueSpec||a[s];if(!u)return[new dr(o,i,`unknown property "${s}"`)];let c;if("string"===uo(i)&&so(u)&&!u.tokens&&(c=/^{([^}]+)}$/.exec(i)))return[new dr(o,i,`"${s}" does not support interpolation syntax\nUse an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(c[1])} }\`.`)];const d=[];return"symbol"===e.layerType&&("text-field"===s&&r&&!r.glyphs&&d.push(new dr(o,i,'use of "text-field" requires a style "glyphs" property')),"text-font"===s&&co(mr(i))&&"identity"===fr(i.type)&&d.push(new dr(o,i,'"text-font" does not support identity functions'))),d.concat(kr({key:e.key,value:i,valueSpec:u,style:r,styleSpec:n,expressionContext:"property",propertyType:t,propertyKey:s}))}function wr(e){return Sr(e,"paint")}function Or(e){return Sr(e,"layout")}function Ir(e){let t=[];const o=e.value,r=e.key,n=e.style,i=e.styleSpec;o.type||o.ref||t.push(new dr(r,o,'either "type" or "ref" is required'));let s=fr(o.type);const a=fr(o.ref);if(o.id){const i=fr(o.id);for(let s=0;s<e.arrayIndex;s++){const e=n.layers[s];fr(e.id)===i&&t.push(new dr(r,o.id,`duplicate layer id "${o.id}", previously used at line ${e.id.__line__}`))}}if("ref"in o){let e;["type","source","source-layer","filter","layout"].forEach((e=>{e in o&&t.push(new dr(r,o[e],`"${e}" is prohibited for ref layers`))})),n.layers.forEach((t=>{fr(t.id)===a&&(e=t)})),e?e.ref?t.push(new dr(r,o.ref,"ref cannot reference another ref layer")):s=fr(e.type):t.push(new dr(r,o.ref,`ref layer "${a}" not found`))}else if("background"!==s&&"sky"!==s)if(o.source){const e=n.sources&&n.sources[o.source],i=e&&fr(e.type);e?"vector"===i&&"raster"===s?t.push(new dr(r,o.source,`layer "${o.id}" requires a raster source`)):"raster"===i&&"raster"!==s?t.push(new dr(r,o.source,`layer "${o.id}" requires a vector source`)):"vector"!==i||o["source-layer"]?"raster-dem"===i&&"hillshade"!==s?t.push(new dr(r,o.source,"raster-dem source can only be used with layer type 'hillshade'.")):"line"!==s||!o.paint||!o.paint["line-gradient"]||"geojson"===i&&e.lineMetrics||t.push(new dr(r,o,`layer "${o.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):t.push(new dr(r,o,`layer "${o.id}" must specify a "source-layer"`)):t.push(new dr(r,o.source,`source "${o.source}" not found`))}else t.push(new dr(r,o,'missing required property "source"'));return t=t.concat(gr({key:r,value:o,valueSpec:i.layer,style:e.style,styleSpec:e.styleSpec,objectElementValidators:{"*":()=>[],type:()=>kr({key:`${r}.type`,value:o.type,valueSpec:i.layer.type,style:e.style,styleSpec:e.styleSpec,object:o,objectKey:"type"}),filter:Cr,layout:e=>gr({layer:o,key:e.key,value:e.value,style:e.style,styleSpec:e.styleSpec,objectElementValidators:{"*":e=>Or(J({layerType:s},e))}}),paint:e=>gr({layer:o,key:e.key,value:e.value,style:e.style,styleSpec:e.styleSpec,objectElementValidators:{"*":e=>wr(J({layerType:s},e))}})}})),t}function xr(e){const t=e.value,o=e.key,r=uo(t);return"string"!==r?[new dr(o,t,`string expected, ${r} found`)]:[]}const jr={promoteId:function({key:e,value:t}){if("string"===uo(t))return xr({key:e,value:t});{const o=[];for(const r in t)o.push(...xr({key:`${e}.${r}`,value:t[r]}));return o}}};function Tr(e){const t=e.value,o=e.key,r=e.styleSpec,n=e.style;if(!t.type)return[new dr(o,t,'"type" is required')];const i=fr(t.type);let s;switch(i){case"vector":case"raster":case"raster-dem":return s=gr({key:o,value:t,valueSpec:r[`source_${i.replace("-","_")}`],style:e.style,styleSpec:r,objectElementValidators:jr}),s;case"geojson":if(s=gr({key:o,value:t,valueSpec:r.source_geojson,style:n,styleSpec:r,objectElementValidators:jr}),t.cluster)for(const e in t.clusterProperties){const[r,n]=t.clusterProperties[e],i="string"==typeof r?[r,["accumulated"],["get",e]]:r;s.push(...br({key:`${o}.${e}.map`,value:n,expressionContext:"cluster-map"})),s.push(...br({key:`${o}.${e}.reduce`,value:i,expressionContext:"cluster-reduce"}))}return s;case"video":return gr({key:o,value:t,valueSpec:r.source_video,style:n,styleSpec:r});case"image":return gr({key:o,value:t,valueSpec:r.source_image,style:n,styleSpec:r});case"canvas":return[new dr(o,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")];default:return Ar({key:`${o}.type`,value:t.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]},style:n,styleSpec:r})}}function Pr(e){const t=e.value,o=e.styleSpec,r=o.light,n=e.style;let i=[];const s=uo(t);if(void 0===t)return i;if("object"!==s)return i=i.concat([new dr("light",t,`object expected, ${s} found`)]),i;for(const e in t){const s=e.match(/^(.*)-transition$/);i=s&&r[s[1]]&&r[s[1]].transition?i.concat(kr({key:e,value:t[e],valueSpec:o.transition,style:n,styleSpec:o})):r[e]?i.concat(kr({key:e,value:t[e],valueSpec:r[e],style:n,styleSpec:o})):i.concat([new dr(e,t[e],`unknown property "${e}"`)])}return i}function Mr(e){const t=e.value,o=e.key,r=e.style,n=e.styleSpec,i=n.terrain;let s=[];const a=uo(t);if(void 0===t)return s;if("object"!==a)return s=s.concat([new dr("terrain",t,`object expected, ${a} found`)]),s;for(const e in t){const o=e.match(/^(.*)-transition$/);s=o&&i[o[1]]&&i[o[1]].transition?s.concat(kr({key:e,value:t[e],valueSpec:n.transition,style:r,styleSpec:n})):i[e]?s.concat(kr({key:e,value:t[e],valueSpec:i[e],style:r,styleSpec:n})):s.concat([new dr(e,t[e],`unknown property "${e}"`)])}if(t.source){const e=r.sources&&r.sources[t.source],n=e&&fr(e.type);e?"raster-dem"!==n&&s.push(new dr(o,t.source,`terrain cannot be used with a source of type ${n}, it only be used with a "raster-dem" source type`)):s.push(new dr(o,t.source,`source "${t.source}" not found`))}else s.push(new dr(o,t,'terrain is missing required property "source"'));return s}function Rr(e){const t=e.value,o=e.style,r=e.styleSpec,n=r.fog;let i=[];const s=uo(t);if(void 0===t)return i;if("object"!==s)return i=i.concat([new dr("fog",t,`object expected, ${s} found`)]),i;for(const e in t){const s=e.match(/^(.*)-transition$/);i=s&&n[s[1]]&&n[s[1]].transition?i.concat(kr({key:e,value:t[e],valueSpec:r.transition,style:o,styleSpec:r})):n[e]?i.concat(kr({key:e,value:t[e],valueSpec:n[e],style:o,styleSpec:r})):i.concat([new dr(e,t[e],`unknown property "${e}"`)])}return i}const Lr={"*":()=>[],array:yr,boolean:function(e){const t=e.value,o=e.key,r=uo(t);return"boolean"!==r?[new dr(o,t,`boolean expected, ${r} found`)]:[]},number:vr,color:function(e){const t=e.key,o=e.value,r=uo(o);return"string"!==r?[new dr(t,o,`color expected, ${r} found`)]:null===ge.parseCSSColor(o)?[new dr(t,o,`color expected, "${o}" found`)]:[]},constants:hr,enum:Ar,filter:Cr,function:_r,layer:Ir,object:gr,source:Tr,light:Pr,terrain:Mr,fog:Rr,string:xr,formatted:function(e){return 0===xr(e).length?[]:br(e)},resolvedImage:function(e){return 0===xr(e).length?[]:br(e)}};function kr(e){const t=e.value,o=e.valueSpec,r=e.styleSpec;if(o.expression&&co(fr(t)))return _r(e);if(o.expression&&bo(mr(t)))return br(e);if(o.type&&Lr[o.type])return Lr[o.type](e);return gr(J({},e,{valueSpec:o.type?r[o.type]:o}))}function Nr(e){const t=e.value,o=e.key,r=xr(e);return r.length||(-1===t.indexOf("{fontstack}")&&r.push(new dr(o,t,'"glyphs" url must include a "{fontstack}" token')),-1===t.indexOf("{range}")&&r.push(new dr(o,t,'"glyphs" url must include a "{range}" token'))),r}function Dr(e,t=n){let o=[];return o=o.concat(kr({key:"",value:e,valueSpec:t.$root,styleSpec:t,style:e,objectElementValidators:{glyphs:Nr,"*":()=>[]}})),e.constants&&(o=o.concat(hr({key:"constants",value:e.constants,style:e,styleSpec:t}))),Gr(o)}function Gr(e){return[].concat(e).sort(((e,t)=>e.line-t.line))}function Fr(e){return function(...t){return Gr(e.apply(this,t))}}Dr.source=Fr(Tr),Dr.light=Fr(Pr),Dr.terrain=Fr(Mr),Dr.fog=Fr(Rr),Dr.layer=Fr(Ir),Dr.filter=Fr(Cr),Dr.paintProperty=Fr(wr),Dr.layoutProperty=Fr(Or);var Ur=c((function(e,t){var o=function(){var e=function(e,t,o,r){for(o=o||{},r=e.length;r--;o[e[r]]=t);return o},t=[1,12],o=[1,13],r=[1,9],n=[1,10],i=[1,11],s=[1,14],a=[1,15],l=[14,18,22,24],u=[18,22],c=[22,24],d={trace:function(){},yy:{},symbols_:{error:2,JSONString:3,STRING:4,JSONNumber:5,NUMBER:6,JSONNullLiteral:7,NULL:8,JSONBooleanLiteral:9,TRUE:10,FALSE:11,JSONText:12,JSONValue:13,EOF:14,JSONObject:15,JSONArray:16,"{":17,"}":18,JSONMemberList:19,JSONMember:20,":":21,",":22,"[":23,"]":24,JSONElementList:25,$accept:0,$end:1},terminals_:{2:"error",4:"STRING",6:"NUMBER",8:"NULL",10:"TRUE",11:"FALSE",14:"EOF",17:"{",18:"}",21:":",22:",",23:"[",24:"]"},productions_:[0,[3,1],[5,1],[7,1],[9,1],[9,1],[12,2],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[15,2],[15,3],[20,3],[19,1],[19,3],[16,2],[16,3],[25,1],[25,3]],performAction:function(e,t,o,r,n,i,s){var a=i.length-1;switch(n){case 1:this.$=new String(e.replace(/\\(\\|")/g,"$1").replace(/\\n/g,"\n").replace(/\\r/g,"\r").replace(/\\t/g,"\t").replace(/\\v/g,"\v").replace(/\\f/g,"\f").replace(/\\b/g,"\b")),this.$.__line__=this._$.first_line;break;case 2:this.$=new Number(e),this.$.__line__=this._$.first_line;break;case 3:this.$=null;break;case 4:this.$=new Boolean(!0),this.$.__line__=this._$.first_line;break;case 5:this.$=new Boolean(!1),this.$.__line__=this._$.first_line;break;case 6:return this.$=i[a-1];case 13:this.$={},Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 14:case 19:this.$=i[a-1],Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 15:this.$=[i[a-2],i[a]];break;case 16:this.$={},this.$[i[a][0]]=i[a][1];break;case 17:this.$=i[a-2],i[a-2][i[a][0]]=i[a][1];break;case 18:this.$=[],Object.defineProperty(this.$,"__line__",{value:this._$.first_line,enumerable:!1});break;case 20:this.$=[i[a]];break;case 21:this.$=i[a-2],i[a-2].push(i[a])}},table:[{3:5,4:t,5:6,6:o,7:3,8:r,9:4,10:n,11:i,12:1,13:2,15:7,16:8,17:s,23:a},{1:[3]},{14:[1,16]},e(l,[2,7]),e(l,[2,8]),e(l,[2,9]),e(l,[2,10]),e(l,[2,11]),e(l,[2,12]),e(l,[2,3]),e(l,[2,4]),e(l,[2,5]),e([14,18,21,22,24],[2,1]),e(l,[2,2]),{3:20,4:t,18:[1,17],19:18,20:19},{3:5,4:t,5:6,6:o,7:3,8:r,9:4,10:n,11:i,13:23,15:7,16:8,17:s,23:a,24:[1,21],25:22},{1:[2,6]},e(l,[2,13]),{18:[1,24],22:[1,25]},e(u,[2,16]),{21:[1,26]},e(l,[2,18]),{22:[1,28],24:[1,27]},e(c,[2,20]),e(l,[2,14]),{3:20,4:t,20:29},{3:5,4:t,5:6,6:o,7:3,8:r,9:4,10:n,11:i,13:30,15:7,16:8,17:s,23:a},e(l,[2,19]),{3:5,4:t,5:6,6:o,7:3,8:r,9:4,10:n,11:i,13:31,15:7,16:8,17:s,23:a},e(u,[2,17]),e(u,[2,15]),e(c,[2,21])],defaultActions:{16:[2,6]},parseError:function(e,t){if(!t.recoverable)throw new Error(e);this.trace(e)},parse:function(e){var t=this,o=[0],r=[null],n=[],i=this.table,s="",a=0,l=0,u=n.slice.call(arguments,1),c=Object.create(this.lexer),d={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d.yy[p]=this.yy[p]);c.setInput(e,d.yy),d.yy.lexer=c,d.yy.parser=this,void 0===c.yylloc&&(c.yylloc={});var h=c.yylloc;n.push(h);var f=c.options&&c.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,g,y,v,_,b,A,C,E,S={};;){if(g=o[o.length-1],this.defaultActions[g]?y=this.defaultActions[g]:(null==m&&(E=void 0,"number"!=typeof(E=c.lex()||1)&&(E=t.symbols_[E]||E),m=E),y=i[g]&&i[g][m]),void 0===y||!y.length||!y[0]){var w="";for(_ in C=[],i[g])this.terminals_[_]&&_>2&&C.push("'"+this.terminals_[_]+"'");w=c.showPosition?"Parse error on line "+(a+1)+":\n"+c.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(w,{text:c.match,token:this.terminals_[m]||m,line:c.yylineno,loc:h,expected:C})}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+m);switch(y[0]){case 1:o.push(m),r.push(c.yytext),n.push(c.yylloc),o.push(y[1]),m=null,l=c.yyleng,s=c.yytext,a=c.yylineno,h=c.yylloc;break;case 2:if(b=this.productions_[y[1]][1],S.$=r[r.length-b],S._$={first_line:n[n.length-(b||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(b||1)].first_column,last_column:n[n.length-1].last_column},f&&(S._$.range=[n[n.length-(b||1)].range[0],n[n.length-1].range[1]]),void 0!==(v=this.performAction.apply(S,[s,l,a,d.yy,y[1],r,n].concat(u))))return v;b&&(o=o.slice(0,-1*b*2),r=r.slice(0,-1*b),n=n.slice(0,-1*b)),o.push(this.productions_[y[1]][0]),r.push(S.$),n.push(S._$),A=i[o[o.length-2]][o[o.length-1]],o.push(A);break;case 3:return!0}}return!0}},p={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,o=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),o.length-1&&(this.yylineno-=o.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:o?(o.length===r.length?this.yylloc.first_column:0)+r[r.length-o.length].length-o[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var o,r,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],o=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),o)return o;if(this._backtrack){for(var i in n)this[i]=n[i];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,o,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),i=0;i<n.length;i++)if((o=this._input.match(this.rules[n[i]]))&&(!t||o[0].length>t[0].length)){if(t=o,r=i,this.options.backtrack_lexer){if(!1!==(e=this.test_match(o,n[i])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,n[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return e||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(e,t,o,r){switch(o){case 0:break;case 1:return 6;case 2:return t.yytext=t.yytext.substr(1,t.yyleng-2),4;case 3:return 17;case 4:return 18;case 5:return 23;case 6:return 24;case 7:return 22;case 8:return 21;case 9:return 10;case 10:return 11;case 11:return 8;case 12:return 14;case 13:return"INVALID"}},rules:[/^(?:\s+)/,/^(?:(-?([0-9]|[1-9][0-9]+))(\.[0-9]+)?([eE][-+]?[0-9]+)?\b)/,/^(?:"(?:\\[\\"bfnrt/]|\\u[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*")/,/^(?:\{)/,/^(?:\})/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?::)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:null\b)/,/^(?:$)/,/^(?:.)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};function h(){this.yy={}}return d.lexer=p,h.prototype=d,d.Parser=h,new h}();void 0!==d&&(t.parser=o,t.Parser=o.Parser,t.parse=function(){return o.parse.apply(o,arguments)})}));function Br(e){if(e instanceof String||"string"==typeof e||e instanceof r)try{return Ur.parse(e.toString())}catch(e){throw new pr(e)}return e}function zr(e,t=n){let o=e;try{o=Br(o)}catch(e){return[e]}return Dr(o,t)}const Vr=8,Wr=15;function qr(e,t){return!e||"string"!==uo(e)||!!e.match(t)}function Yr(e,t,o){const r=new Set(t),n=[];return Object.keys(e).forEach((t=>{if(!r.has(t)){const r=o?`${o}.${t}`:null;n.push(new dr(r,e[t],`Unsupported property "${t}"`))}})),n}const Hr=new Set(["vector","raster","raster-dem"]);function Xr(e){const t=[];let o=0;return Object.keys(e).forEach(((r,n)=>{const i=function(e,t){const o=[];return o.push(...Yr(e,["type","url","tileSize"],"source")),Hr.has(String(e.type))||o.push(new dr(`sources[${t}].type`,e.type,`Expected one of [${Array.from(Hr).join(", ")}]`)),e.url&&qr(e.url,/^mapbox:\/\/([^/]*)$/)||o.push(new dr(`sources[${t}].url`,e.url,"Expected a valid Mapbox tileset url")),o}(e[r],n);i.length||(o+=function(e){return e.url?e.url.split(",").length:0}(e[r])),t.push(...i)})),o>Wr&&t.push(new dr("sources",null,`Styles must contain ${Wr} or fewer sources`)),t}function Zr(e){let t=e;try{t=Br(t)}catch(e){return[e]}let o=Dr(t,n).concat(function(e,t){const o=[],r=Yr(e,[...t,"owner","id","cacheControl","draft","created","modified","visibility"]);return o.push(...r),(e.version>Vr||e.version<Vr)&&o.push(new dr("version",e.version,`Style version must be ${Vr}`)),qr(e.glyphs,/^mapbox:\/\/fonts\/([^/]*)\/{fontstack}\/{range}.pbf$/)||o.push(new dr("glyphs",e.glyphs,"Styles must reference glyphs hosted by Mapbox")),qr(e.sprite,/^mapbox:\/\/sprites\/([^/]*)\/([^/]*)\/?([^/]*)?$/)||o.push(new dr("sprite",e.sprite,"Styles must reference sprites hosted by Mapbox")),qr(e.visibility,/^(public|private)$/)||o.push(new dr("visibility",e.visibility,"Style visibility must be public or private")),o}(t,Object.keys(n.$root)));return t.sources&&(o=o.concat(Xr(t.sources))),o}const Kr={StyleExpression:_o,isExpression:bo,isExpressionFilter:No,createExpression:Ao,createPropertyExpression:So,normalizePropertyExpression:function(e,t){if(co(e))return new wo(e,t);if(bo(e)){const o=So(e,t);if("error"===o.result)throw new Error(o.value.map((e=>`${e.key}: ${e.message}`)).join(", "));return o.value}{let o=e;return"string"==typeof e&&"color"===t.type&&(o=ye.parse(e)),{kind:"constant",evaluate:()=>o}}},ZoomConstantExpression:Co,ZoomDependentExpression:Eo,StylePropertyFunction:wo},Jr={convertFunction:xo,createFunction:ho,isFunction:co},Qr={eachSource:V,eachLayer:W,eachProperty:q};zr.parsed=zr,zr.latest=zr}.call(this,o("./node_modules/webpack/buildin/global.js"),o("./node_modules/buffer/index.js").Buffer)},"./node_modules/@petamoriken/float16/browser/float16.js":function(e,t){
/*! @petamoriken/float16 v3.9.2 | MIT License - https://github.com/petamoriken/float16 */
!function(e){"use strict";const t="This constructor is not a subclass of Float16Array",o="The constructor property value is not an object",r="Attempting to access detached ArrayBuffer",n="Cannot convert undefined or null to object",i="Cannot mix BigInt and other types, use explicit conversions",s="@@iterator property is not callable",a="Reduce of empty array with no initial value",l="Offset is out of bounds";function u(e){return(t,...o)=>d(e,t,o)}function c(e,t){return u(m(e,t).get)}const{apply:d,construct:p,defineProperty:h,get:f,getOwnPropertyDescriptor:m,getPrototypeOf:g,has:y,ownKeys:v,set:_,setPrototypeOf:b}=Reflect,A=Proxy,{EPSILON:C,MAX_SAFE_INTEGER:E,isFinite:S,isNaN:w}=Number,{iterator:O,species:I,toStringTag:x,for:j}=Symbol,T=Object,{create:P,defineProperty:M,freeze:R,is:L}=T,k=T.prototype,N=k.__lookupGetter__?u(k.__lookupGetter__):(e,t)=>{if(null==e)throw Pe(n);let o=T(e);do{const e=m(o,t);if(void 0!==e)return D(e,"get")?e.get:void 0}while(null!==(o=g(o)))},D=T.hasOwn||u(k.hasOwnProperty),G=Array,F=G.isArray,U=G.prototype,B=u(U.join),z=u(U.push),V=u(U.toLocaleString),W=U[O],q=u(W),{abs:Y,trunc:H}=Math,X=ArrayBuffer,Z=X.isView,K=X.prototype,J=u(K.slice),Q=c(K,"byteLength"),$="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:null,ee=$&&c($.prototype,"byteLength"),te=g(Uint8Array),oe=te.from,re=te.prototype,ne=re[O],ie=u(re.keys),se=u(re.values),ae=u(re.entries),le=u(re.set),ue=u(re.reverse),ce=u(re.fill),de=u(re.copyWithin),pe=u(re.sort),he=u(re.slice),fe=u(re.subarray),me=c(re,"buffer"),ge=c(re,"byteOffset"),ye=c(re,"length"),ve=c(re,x),_e=Uint8Array,be=Uint16Array,Ae=(...e)=>d(oe,be,e),Ce=Uint32Array,Ee=Float32Array,Se=g([][O]()),we=u(Se.next),Oe=u(function*(){}().next),Ie=g(Se),xe=DataView.prototype,je=u(xe.getUint16),Te=u(xe.setUint16),Pe=TypeError,Me=RangeError,Re=WeakSet,Le=Re.prototype,ke=u(Le.add),Ne=u(Le.has),De=WeakMap,Ge=De.prototype,Fe=u(Ge.get),Ue=u(Ge.has),Be=u(Ge.set),ze=new De,Ve=P(null,{next:{value:function(){const e=Fe(ze,this);return we(e)}},[O]:{value:function(){return this}}});function We(e){if(e[O]===W&&Se.next===we)return e;const t=P(Ve);return Be(ze,t,q(e)),t}const qe=new De,Ye=P(Ie,{next:{value:function(){const e=Fe(qe,this);return Oe(e)},writable:!0,configurable:!0}});for(const e of v(Se))"next"!==e&&M(Ye,e,m(Se,e));function He(e){const t=P(Ye);return Be(qe,t,e),t}function Xe(e){return null!==e&&"object"==typeof e||"function"==typeof e}function Ze(e){return null!==e&&"object"==typeof e}function Ke(e){return void 0!==ve(e)}function Je(e){const t=ve(e);return"BigInt64Array"===t||"BigUint64Array"===t}function Qe(e){if(null===$)return!1;try{return ee(e),!0}catch(e){return!1}}function $e(e){return function(e){try{return!F(e)&&(Q(e),!0)}catch(e){return!1}}(e)||Qe(e)}function et(e){return!!F(e)&&(e[O]===W&&Se.next===we)}function tt(e){if("string"!=typeof e)return!1;const t=+e;return e===t+""&&(!!S(t)&&t===H(t))}const ot=j("__Float16Array__");const rt=1/C;const nt=6103515625e-14,it=.0009765625,st=5.960464477539063e-8,at=it*rt;function lt(e){const t=+e;if(!S(t)||0===t)return t;const o=t>0?1:-1,r=Y(t);if(r<nt)return o*function(e){return e+rt-rt}(r/st)*st;const n=(1+at)*r,i=n-(n-r);return i>65504||w(i)?o*(1/0):o*i}const ut=new X(4),ct=new Ee(ut),dt=new Ce(ut),pt=new be(512),ht=new _e(512);for(let e=0;e<256;++e){const t=e-127;t<-24?(pt[e]=0,pt[256|e]=32768,ht[e]=24,ht[256|e]=24):t<-14?(pt[e]=1024>>-t-14,pt[256|e]=1024>>-t-14|32768,ht[e]=-t-1,ht[256|e]=-t-1):t<=15?(pt[e]=t+15<<10,pt[256|e]=t+15<<10|32768,ht[e]=13,ht[256|e]=13):t<128?(pt[e]=31744,pt[256|e]=64512,ht[e]=24,ht[256|e]=24):(pt[e]=31744,pt[256|e]=64512,ht[e]=13,ht[256|e]=13)}function ft(e){ct[0]=lt(e);const t=dt[0],o=t>>23&511;return pt[o]+((8388607&t)>>ht[o])}const mt=new Ce(2048);for(let e=1;e<1024;++e){let t=e<<13,o=0;for(;!(8388608&t);)t<<=1,o-=8388608;t&=-8388609,o+=947912704,mt[e]=t|o}for(let e=1024;e<2048;++e)mt[e]=939524096+(e-1024<<13);const gt=new Ce(64);for(let e=1;e<31;++e)gt[e]=e<<23;gt[31]=1199570944,gt[32]=2147483648;for(let e=33;e<63;++e)gt[e]=2147483648+(e-32<<23);gt[63]=3347054592;const yt=new be(64);for(let e=1;e<64;++e)32!==e&&(yt[e]=1024);function vt(e){const t=e>>10;return dt[0]=mt[yt[t]+(1023&e)]+gt[t],ct[0]}function _t(e){const t=+e;return w(t)||0===t?0:H(t)}function bt(e){const t=_t(e);return t<0?0:t<E?t:E}function At(e,t){if(!Xe(e))throw Pe("This is not an object");const r=e.constructor;if(void 0===r)return t;if(!Xe(r))throw Pe(o);const n=r[I];return null==n?t:n}function Ct(e){if(Qe(e))return!1;try{return J(e,0,0),!1}catch(e){}return!0}function Et(e,t){const o=w(e),r=w(t);if(o&&r)return 0;if(o)return 1;if(r)return-1;if(e<t)return-1;if(e>t)return 1;if(0===e&&0===t){const o=L(e,0),r=L(t,0);if(!o&&r)return-1;if(o&&!r)return 1}return 0}const St=new De;function wt(e){return Ue(St,e)||!Z(e)&&function(e){if(!Ze(e))return!1;const t=g(e);if(!Ze(t))return!1;const r=t.constructor;if(void 0===r)return!1;if(!Xe(r))throw Pe(o);return y(r,ot)}(e)}function Ot(e){if(!wt(e))throw Pe("This is not a Float16Array object")}function It(e,t){const o=wt(e),r=Ke(e);if(!o&&!r)throw Pe("Species constructor didn't return TypedArray object");if("number"==typeof t){let r;if(o){const t=xt(e);r=ye(t)}else r=ye(e);if(r<t)throw Pe("Derived constructor created TypedArray object which was too small length")}if(Je(e))throw Pe(i)}function xt(e){const t=Fe(St,e);if(void 0!==t){if(Ct(me(t)))throw Pe(r);return t}const o=e.buffer;if(Ct(o))throw Pe(r);const n=p(Mt,[o,e.byteOffset,e.length],e.constructor);return Fe(St,n)}function jt(e){const t=ye(e),o=[];for(let r=0;r<t;++r)o[r]=vt(e[r]);return o}const Tt=new Re;for(const e of v(re)){if(e===x)continue;const t=m(re,e);D(t,"get")&&"function"==typeof t.get&&ke(Tt,t.get)}const Pt=R({get:(e,t,o)=>tt(t)&&D(e,t)?vt(f(e,t)):Ne(Tt,N(e,t))?f(e,t):f(e,t,o),set:(e,t,o,r)=>tt(t)&&D(e,t)?_(e,t,ft(o)):_(e,t,o,r),getOwnPropertyDescriptor(e,t){if(tt(t)&&D(e,t)){const o=m(e,t);return o.value=vt(o.value),o}return m(e,t)},defineProperty:(e,t,o)=>tt(t)&&D(e,t)&&D(o,"value")?(o.value=ft(o.value),h(e,t,o)):h(e,t,o)});class Mt{constructor(e,t,o){let n;if(wt(e))n=p(be,[xt(e)],new.target);else if(Xe(e)&&!$e(e)){let t,o;if(Ke(e)){t=e,o=ye(e);if(Ct(me(e)))throw Pe(r);if(Je(e))throw Pe(i);const s=new X(2*o);n=p(be,[s],new.target)}else{const r=e[O];if(null!=r&&"function"!=typeof r)throw Pe(s);null!=r?et(e)?(t=e,o=e.length):(t=[...e],o=t.length):(t=e,o=bt(t.length)),n=p(be,[o],new.target)}for(let e=0;e<o;++e)n[e]=ft(t[e])}else n=p(be,arguments,new.target);const a=new A(n,Pt);return Be(St,a,n),a}static from(e,...o){const r=this;if(!y(r,ot))throw Pe(t);if(r===Mt){if(wt(e)&&0===o.length){const t=xt(e),o=new be(me(t),ge(t),ye(t));return new Mt(me(he(o)))}if(0===o.length)return new Mt(me(Ae(e,ft)));const t=o[0],r=o[1];return new Mt(me(Ae(e,(function(e,...o){return ft(d(t,this,[e,...We(o)]))}),r)))}let i,a;const l=e[O];if(null!=l&&"function"!=typeof l)throw Pe(s);if(null!=l)et(e)?(i=e,a=e.length):Ke(u=e)&&u[O]===ne&&Se.next===we?(i=e,a=ye(e)):(i=[...e],a=i.length);else{if(null==e)throw Pe(n);i=T(e),a=bt(i.length)}var u;const c=new r(a);if(0===o.length)for(let e=0;e<a;++e)c[e]=i[e];else{const e=o[0],t=o[1];for(let o=0;o<a;++o)c[o]=d(e,t,[i[o],o])}return c}static of(...e){const o=this;if(!y(o,ot))throw Pe(t);const r=e.length;if(o===Mt){const t=new Mt(r),o=xt(t);for(let t=0;t<r;++t)o[t]=ft(e[t]);return t}const n=new o(r);for(let t=0;t<r;++t)n[t]=e[t];return n}keys(){Ot(this);const e=xt(this);return ie(e)}values(){Ot(this);const e=xt(this);return He(function*(){for(const t of se(e))yield vt(t)}())}entries(){Ot(this);const e=xt(this);return He(function*(){for(const[t,o]of ae(e))yield[t,vt(o)]}())}at(e){Ot(this);const t=xt(this),o=ye(t),r=_t(e),n=r>=0?r:o+r;if(!(n<0||n>=o))return vt(t[n])}with(e,t){Ot(this);const o=xt(this),r=ye(o),n=_t(e),i=n>=0?n:r+n,s=+t;if(i<0||i>=r)throw Me(l);const a=new be(me(o),ge(o),ye(o)),u=new Mt(me(he(a)));return xt(u)[i]=ft(s),u}map(e,...t){Ot(this);const o=xt(this),r=ye(o),n=t[0],i=At(o,Mt);if(i===Mt){const t=new Mt(r),i=xt(t);for(let t=0;t<r;++t){const r=vt(o[t]);i[t]=ft(d(e,n,[r,t,this]))}return t}const s=new i(r);It(s,r);for(let t=0;t<r;++t){const r=vt(o[t]);s[t]=d(e,n,[r,t,this])}return s}filter(e,...t){Ot(this);const o=xt(this),r=ye(o),n=t[0],i=[];for(let t=0;t<r;++t){const r=vt(o[t]);d(e,n,[r,t,this])&&z(i,r)}const s=new(At(o,Mt))(i);return It(s),s}reduce(e,...t){Ot(this);const o=xt(this),r=ye(o);if(0===r&&0===t.length)throw Pe(a);let n,i;0===t.length?(n=vt(o[0]),i=1):(n=t[0],i=0);for(let t=i;t<r;++t)n=e(n,vt(o[t]),t,this);return n}reduceRight(e,...t){Ot(this);const o=xt(this),r=ye(o);if(0===r&&0===t.length)throw Pe(a);let n,i;0===t.length?(n=vt(o[r-1]),i=r-2):(n=t[0],i=r-1);for(let t=i;t>=0;--t)n=e(n,vt(o[t]),t,this);return n}forEach(e,...t){Ot(this);const o=xt(this),r=ye(o),n=t[0];for(let t=0;t<r;++t)d(e,n,[vt(o[t]),t,this])}find(e,...t){Ot(this);const o=xt(this),r=ye(o),n=t[0];for(let t=0;t<r;++t){const r=vt(o[t]);if(d(e,n,[r,t,this]))return r}}findIndex(e,...t){Ot(this);const o=xt(this),r=ye(o),n=t[0];for(let t=0;t<r;++t){const r=vt(o[t]);if(d(e,n,[r,t,this]))return t}return-1}findLast(e,...t){Ot(this);const o=xt(this),r=ye(o),n=t[0];for(let t=r-1;t>=0;--t){const r=vt(o[t]);if(d(e,n,[r,t,this]))return r}}findLastIndex(e,...t){Ot(this);const o=xt(this),r=ye(o),n=t[0];for(let t=r-1;t>=0;--t){const r=vt(o[t]);if(d(e,n,[r,t,this]))return t}return-1}every(e,...t){Ot(this);const o=xt(this),r=ye(o),n=t[0];for(let t=0;t<r;++t)if(!d(e,n,[vt(o[t]),t,this]))return!1;return!0}some(e,...t){Ot(this);const o=xt(this),r=ye(o),n=t[0];for(let t=0;t<r;++t)if(d(e,n,[vt(o[t]),t,this]))return!0;return!1}set(e,...t){Ot(this);const o=xt(this),s=_t(t[0]);if(s<0)throw Me(l);if(null==e)throw Pe(n);if(Je(e))throw Pe(i);if(wt(e))return le(xt(this),xt(e),s);if(Ke(e)){if(Ct(me(e)))throw Pe(r)}const a=ye(o),u=T(e),c=bt(u.length);if(s===1/0||c+s>a)throw Me(l);for(let e=0;e<c;++e)o[e+s]=ft(u[e])}reverse(){Ot(this);const e=xt(this);return ue(e),this}toReversed(){Ot(this);const e=xt(this),t=new be(me(e),ge(e),ye(e)),o=new Mt(me(he(t))),r=xt(o);return ue(r),o}fill(e,...t){Ot(this);const o=xt(this);return ce(o,ft(e),...We(t)),this}copyWithin(e,t,...o){Ot(this);const r=xt(this);return de(r,e,t,...We(o)),this}sort(e){Ot(this);const t=xt(this),o=void 0!==e?e:Et;return pe(t,((e,t)=>o(vt(e),vt(t)))),this}toSorted(e){Ot(this);const t=xt(this);if(void 0!==e&&"function"!=typeof e)throw new Pe("The comparison function must be either a function or undefined");const o=void 0!==e?e:Et,r=new be(me(t),ge(t),ye(t)),n=new Mt(me(he(r))),i=xt(n);return pe(i,((e,t)=>o(vt(e),vt(t)))),n}slice(e,t){Ot(this);const o=xt(this),n=At(o,Mt);if(n===Mt){const r=new be(me(o),ge(o),ye(o));return new Mt(me(he(r,e,t)))}const i=ye(o),s=_t(e),a=void 0===t?i:_t(t);let l,u;l=s===-1/0?0:s<0?i+s>0?i+s:0:i<s?i:s,u=a===-1/0?0:a<0?i+a>0?i+a:0:i<a?i:a;const c=u-l>0?u-l:0,d=new n(c);if(It(d,c),0===c)return d;if(Ct(me(o)))throw Pe(r);let p=0;for(;l<u;)d[p]=vt(o[l]),++l,++p;return d}subarray(e,t){Ot(this);const o=xt(this),r=At(o,Mt),n=new be(me(o),ge(o),ye(o)),i=fe(n,e,t),s=new r(me(i),ge(i),ye(i));return It(s),s}indexOf(e,...t){Ot(this);const o=xt(this),r=ye(o);let n=_t(t[0]);if(n===1/0)return-1;n<0&&(n+=r,n<0&&(n=0));for(let t=n;t<r;++t)if(D(o,t)&&vt(o[t])===e)return t;return-1}lastIndexOf(e,...t){Ot(this);const o=xt(this),r=ye(o);let n=t.length>=1?_t(t[0]):r-1;if(n===-1/0)return-1;n>=0?n=n<r-1?n:r-1:n+=r;for(let t=n;t>=0;--t)if(D(o,t)&&vt(o[t])===e)return t;return-1}includes(e,...t){Ot(this);const o=xt(this),r=ye(o);let n=_t(t[0]);if(n===1/0)return!1;n<0&&(n+=r,n<0&&(n=0));const i=w(e);for(let t=n;t<r;++t){const r=vt(o[t]);if(i&&w(r))return!0;if(r===e)return!0}return!1}join(e){Ot(this);const t=jt(xt(this));return B(t,e)}toLocaleString(...e){Ot(this);const t=jt(xt(this));return V(t,...We(e))}get[x](){if(wt(this))return"Float16Array"}}M(Mt,"BYTES_PER_ELEMENT",{value:2}),M(Mt,ot,{}),b(Mt,te);const Rt=Mt.prototype;function Lt(e){return lt(e)}M(Rt,"BYTES_PER_ELEMENT",{value:2}),M(Rt,O,{value:Rt.values,writable:!0,configurable:!0}),b(Rt,re),e.Float16Array=Mt,e.f16round=Lt,e.getFloat16=function(e,t,...o){return vt(je(e,t,...We(o)))},e.hfround=Lt,e.isFloat16Array=wt,e.isTypedArray=function(e){return Ke(e)||wt(e)},e.setFloat16=function(e,t,o,...r){return Te(e,t,ft(o),...We(r))},Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}({})},"./node_modules/@xmldom/xmldom/lib/conventions.js":function(e,t,o){"use strict";function r(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var n=r({HTML:"text/html",isHTML:function(e){return e===n.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),i=r({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===i.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.assign=function(e,t){if(null===e||"object"!=typeof e)throw new TypeError("target is not an object");for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},t.find=function(e,t,o){if(void 0===o&&(o=Array.prototype),e&&"function"==typeof o.find)return o.find.call(e,t);for(var r=0;r<e.length;r++)if(Object.prototype.hasOwnProperty.call(e,r)){var n=e[r];if(t.call(void 0,n,r,e))return n}},t.freeze=r,t.MIME_TYPE=n,t.NAMESPACE=i},"./node_modules/@xmldom/xmldom/lib/dom-parser.js":function(e,t,o){var r=o("./node_modules/@xmldom/xmldom/lib/conventions.js"),n=o("./node_modules/@xmldom/xmldom/lib/dom.js"),i=o("./node_modules/@xmldom/xmldom/lib/entities.js"),s=o("./node_modules/@xmldom/xmldom/lib/sax.js"),a=n.DOMImplementation,l=r.NAMESPACE,u=s.ParseError,c=s.XMLReader;function d(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function p(e){this.options=e||{locator:{}}}function h(){this.cdata=!1}function f(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function m(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function g(e,t,o){return"string"==typeof e?e.substr(t,o):e.length>=t+o||t?new java.lang.String(e,t,o)+"":e}function y(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}p.prototype.parseFromString=function(e,t){var o=this.options,r=new c,n=o.domBuilder||new h,s=o.errorHandler,a=o.locator,u=o.xmlns||{},p=/\/x?html?$/.test(t),f=p?i.HTML_ENTITIES:i.XML_ENTITIES;a&&n.setDocumentLocator(a),r.errorHandler=function(e,t,o){if(!e){if(t instanceof h)return t;e=t}var r={},n=e instanceof Function;function i(t){var i=e[t];!i&&n&&(i=2==e.length?function(o){e(t,o)}:e),r[t]=i&&function(e){i("[xmldom "+t+"]\t"+e+m(o))}||function(){}}return o=o||{},i("warning"),i("error"),i("fatalError"),r}(s,n,a),r.domBuilder=o.domBuilder||n,p&&(u[""]=l.HTML),u.xml=u.xml||l.XML;var g=o.normalizeLineEndings||d;return e&&"string"==typeof e?r.parse(g(e),u,f):r.errorHandler.error("invalid doc source"),n.doc},h.prototype={startDocument:function(){this.doc=(new a).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,o,r){var n=this.doc,i=n.createElementNS(e,o||t),s=r.length;y(this,i),this.currentElement=i,this.locator&&f(this.locator,i);for(var a=0;a<s;a++){e=r.getURI(a);var l=r.getValue(a),u=(o=r.getQName(a),n.createAttributeNS(e,o));this.locator&&f(r.getLocator(a),u),u.value=u.nodeValue=l,i.setAttributeNode(u)}},endElement:function(e,t,o){var r=this.currentElement;r.tagName;this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var o=this.doc.createProcessingInstruction(e,t);this.locator&&f(this.locator,o),y(this,o)},ignorableWhitespace:function(e,t,o){},characters:function(e,t,o){if(e=g.apply(this,arguments)){if(this.cdata)var r=this.doc.createCDATASection(e);else r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&f(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,o){e=g.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&f(this.locator,r),y(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,o){var r=this.doc.implementation;if(r&&r.createDocumentType){var n=r.createDocumentType(e,t,o);this.locator&&f(this.locator,n),y(this,n),this.doc.doctype=n}},warning:function(e){console.warn("[xmldom warning]\t"+e,m(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,m(this.locator))},fatalError:function(e){throw new u(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){h.prototype[e]=function(){return null}})),t.__DOMHandler=h,t.normalizeLineEndings=d,t.DOMParser=p},"./node_modules/@xmldom/xmldom/lib/dom.js":function(e,t,o){var r=o("./node_modules/@xmldom/xmldom/lib/conventions.js"),n=r.find,i=r.NAMESPACE;function s(e){return""!==e}function a(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function l(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(s):[]}(e);return Object.keys(t.reduce(a,{}))}function u(e,t){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}function c(e,t){var o=e.prototype;if(!(o instanceof t)){function r(){}r.prototype=t.prototype,u(o,r=new r),e.prototype=o=r}o.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),o.constructor=e)}var d={},p=d.ELEMENT_NODE=1,h=d.ATTRIBUTE_NODE=2,f=d.TEXT_NODE=3,m=d.CDATA_SECTION_NODE=4,g=d.ENTITY_REFERENCE_NODE=5,y=d.ENTITY_NODE=6,v=d.PROCESSING_INSTRUCTION_NODE=7,_=d.COMMENT_NODE=8,b=d.DOCUMENT_NODE=9,A=d.DOCUMENT_TYPE_NODE=10,C=d.DOCUMENT_FRAGMENT_NODE=11,E=d.NOTATION_NODE=12,S={},w={},O=(S.INDEX_SIZE_ERR=(w[1]="Index size error",1),S.DOMSTRING_SIZE_ERR=(w[2]="DOMString size error",2),S.HIERARCHY_REQUEST_ERR=(w[3]="Hierarchy request error",3)),I=(S.WRONG_DOCUMENT_ERR=(w[4]="Wrong document",4),S.INVALID_CHARACTER_ERR=(w[5]="Invalid character",5),S.NO_DATA_ALLOWED_ERR=(w[6]="No data allowed",6),S.NO_MODIFICATION_ALLOWED_ERR=(w[7]="No modification allowed",7),S.NOT_FOUND_ERR=(w[8]="Not found",8)),x=(S.NOT_SUPPORTED_ERR=(w[9]="Not supported",9),S.INUSE_ATTRIBUTE_ERR=(w[10]="Attribute in use",10));S.INVALID_STATE_ERR=(w[11]="Invalid state",11),S.SYNTAX_ERR=(w[12]="Syntax error",12),S.INVALID_MODIFICATION_ERR=(w[13]="Invalid modification",13),S.NAMESPACE_ERR=(w[14]="Invalid namespace",14),S.INVALID_ACCESS_ERR=(w[15]="Invalid access",15);function j(e,t){if(t instanceof Error)var o=t;else o=this,Error.call(this,w[e]),this.message=w[e],Error.captureStackTrace&&Error.captureStackTrace(this,j);return o.code=e,t&&(this.message=this.message+": "+t),o}function T(){}function P(e,t){this._node=e,this._refresh=t,M(this)}function M(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var o=e._refresh(e._node);if(_e(e,"length",o.length),!e.$$length||o.length<e.$$length)for(var r=o.length;r in e;r++)Object.prototype.hasOwnProperty.call(e,r)&&delete e[r];u(o,e),e._inc=t}}function R(){}function L(e,t){for(var o=e.length;o--;)if(e[o]===t)return o}function k(e,t,o,r){if(r?t[L(t,r)]=o:t[t.length++]=o,e){o.ownerElement=e;var n=e.ownerDocument;n&&(r&&z(n,e,r),function(e,t,o){e&&e._inc++;var r=o.namespaceURI;r===i.XMLNS&&(t._nsMap[o.prefix?o.localName:""]=o.value)}(n,e,o))}}function N(e,t,o){var r=L(t,o);if(!(r>=0))throw new j(I,new Error(e.tagName+"@"+o));for(var n=t.length-1;r<n;)t[r]=t[++r];if(t.length=n,e){var i=e.ownerDocument;i&&(z(i,e,o),o.ownerElement=null)}}function D(){}function G(){}function F(e){return("<"==e?"&lt;":">"==e&&"&gt;")||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function U(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(U(e,t))return!0}while(e=e.nextSibling)}function B(){this.ownerDocument=this}function z(e,t,o,r){e&&e._inc++,o.namespaceURI===i.XMLNS&&delete t._nsMap[o.prefix?o.localName:""]}function V(e,t,o){if(e&&e._inc){e._inc++;var r=t.childNodes;if(o)r[r.length++]=o;else{for(var n=t.firstChild,i=0;n;)r[i++]=n,n=n.nextSibling;r.length=i,delete r[r.length]}}}function W(e,t){var o=t.previousSibling,r=t.nextSibling;return o?o.nextSibling=r:e.firstChild=r,r?r.previousSibling=o:e.lastChild=o,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,V(e.ownerDocument,e),t}function q(e){return e&&e.nodeType===G.DOCUMENT_TYPE_NODE}function Y(e){return e&&e.nodeType===G.ELEMENT_NODE}function H(e){return e&&e.nodeType===G.TEXT_NODE}function X(e,t){var o=e.childNodes||[];if(n(o,Y)||q(t))return!1;var r=n(o,q);return!(t&&r&&o.indexOf(r)>o.indexOf(t))}function Z(e,t){var o=e.childNodes||[];if(n(o,(function(e){return Y(e)&&e!==t})))return!1;var r=n(o,q);return!(t&&r&&o.indexOf(r)>o.indexOf(t))}function K(e,t,o){if(!function(e){return e&&(e.nodeType===G.DOCUMENT_NODE||e.nodeType===G.DOCUMENT_FRAGMENT_NODE||e.nodeType===G.ELEMENT_NODE)}(e))throw new j(O,"Unexpected parent node type "+e.nodeType);if(o&&o.parentNode!==e)throw new j(I,"child not in parent");if(!function(e){return e&&(Y(e)||H(e)||q(e)||e.nodeType===G.DOCUMENT_FRAGMENT_NODE||e.nodeType===G.COMMENT_NODE||e.nodeType===G.PROCESSING_INSTRUCTION_NODE)}(t)||q(t)&&e.nodeType!==G.DOCUMENT_NODE)throw new j(O,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function J(e,t,o){var r=e.childNodes||[],i=t.childNodes||[];if(t.nodeType===G.DOCUMENT_FRAGMENT_NODE){var s=i.filter(Y);if(s.length>1||n(i,H))throw new j(O,"More than one element or text in fragment");if(1===s.length&&!X(e,o))throw new j(O,"Element in fragment can not be inserted before doctype")}if(Y(t)&&!X(e,o))throw new j(O,"Only one element can be added and only after doctype");if(q(t)){if(n(r,q))throw new j(O,"Only one doctype is allowed");var a=n(r,Y);if(o&&r.indexOf(a)<r.indexOf(o))throw new j(O,"Doctype can only be inserted before an element");if(!o&&a)throw new j(O,"Doctype can not be appended since element is present")}}function Q(e,t,o){var r=e.childNodes||[],i=t.childNodes||[];if(t.nodeType===G.DOCUMENT_FRAGMENT_NODE){var s=i.filter(Y);if(s.length>1||n(i,H))throw new j(O,"More than one element or text in fragment");if(1===s.length&&!Z(e,o))throw new j(O,"Element in fragment can not be inserted before doctype")}if(Y(t)&&!Z(e,o))throw new j(O,"Only one element can be added and only after doctype");if(q(t)){if(n(r,(function(e){return q(e)&&e!==o})))throw new j(O,"Only one doctype is allowed");var a=n(r,Y);if(o&&r.indexOf(a)<r.indexOf(o))throw new j(O,"Doctype can only be inserted before an element")}}function $(e,t,o,r){K(e,t,o),e.nodeType===G.DOCUMENT_NODE&&(r||J)(e,t,o);var n=t.parentNode;if(n&&n.removeChild(t),t.nodeType===C){var i=t.firstChild;if(null==i)return t;var s=t.lastChild}else i=s=t;var a=o?o.previousSibling:e.lastChild;i.previousSibling=a,s.nextSibling=o,a?a.nextSibling=i:e.firstChild=i,null==o?e.lastChild=s:o.previousSibling=s;do{i.parentNode=e}while(i!==s&&(i=i.nextSibling));return V(e.ownerDocument||e,e),t.nodeType==C&&(t.firstChild=t.lastChild=null),t}function ee(){this._nsMap={}}function te(){}function oe(){}function re(){}function ne(){}function ie(){}function se(){}function ae(){}function le(){}function ue(){}function ce(){}function de(){}function pe(){}function he(e,t){var o=[],r=9==this.nodeType&&this.documentElement||this,n=r.prefix,i=r.namespaceURI;if(i&&null==n&&null==(n=r.lookupPrefix(i)))var s=[{namespace:i,prefix:null}];return ge(this,o,e,t,s),o.join("")}function fe(e,t,o){var r=e.prefix||"",n=e.namespaceURI;if(!n)return!1;if("xml"===r&&n===i.XML||n===i.XMLNS)return!1;for(var s=o.length;s--;){var a=o[s];if(a.prefix===r)return a.namespace!==n}return!0}function me(e,t,o){e.push(" ",t,'="',o.replace(/[<>&"\t\n\r]/g,F),'"')}function ge(e,t,o,r,n){if(n||(n=[]),r){if(!(e=r(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case p:var s=e.attributes,a=s.length,l=e.firstChild,u=e.tagName,c=u;if(!(o=i.isHTML(e.namespaceURI)||o)&&!e.prefix&&e.namespaceURI){for(var d,y=0;y<s.length;y++)if("xmlns"===s.item(y).name){d=s.item(y).value;break}if(!d)for(var E=n.length-1;E>=0;E--){if(""===(S=n[E]).prefix&&S.namespace===e.namespaceURI){d=S.namespace;break}}if(d!==e.namespaceURI)for(E=n.length-1;E>=0;E--){var S;if((S=n[E]).namespace===e.namespaceURI){S.prefix&&(c=S.prefix+":"+u);break}}}t.push("<",c);for(var w=0;w<a;w++){"xmlns"==(O=s.item(w)).prefix?n.push({prefix:O.localName,namespace:O.value}):"xmlns"==O.nodeName&&n.push({prefix:"",namespace:O.value})}for(w=0;w<a;w++){var O,I,x;if(fe(O=s.item(w),0,n))me(t,(I=O.prefix||"")?"xmlns:"+I:"xmlns",x=O.namespaceURI),n.push({prefix:I,namespace:x});ge(O,t,o,r,n)}if(u===c&&fe(e,0,n))me(t,(I=e.prefix||"")?"xmlns:"+I:"xmlns",x=e.namespaceURI),n.push({prefix:I,namespace:x});if(l||o&&!/^(?:meta|link|img|br|hr|input)$/i.test(u)){if(t.push(">"),o&&/^script$/i.test(u))for(;l;)l.data?t.push(l.data):ge(l,t,o,r,n.slice()),l=l.nextSibling;else for(;l;)ge(l,t,o,r,n.slice()),l=l.nextSibling;t.push("</",c,">")}else t.push("/>");return;case b:case C:for(l=e.firstChild;l;)ge(l,t,o,r,n.slice()),l=l.nextSibling;return;case h:return me(t,e.name,e.value);case f:return t.push(e.data.replace(/[<&>]/g,F));case m:return t.push("<![CDATA[",e.data,"]]>");case _:return t.push("\x3c!--",e.data,"--\x3e");case A:var j=e.publicId,T=e.systemId;if(t.push("<!DOCTYPE ",e.name),j)t.push(" PUBLIC ",j),T&&"."!=T&&t.push(" ",T),t.push(">");else if(T&&"."!=T)t.push(" SYSTEM ",T,">");else{var P=e.internalSubset;P&&t.push(" [",P,"]"),t.push(">")}return;case v:return t.push("<?",e.target," ",e.data,"?>");case g:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function ye(e,t,o){var r;switch(t.nodeType){case p:(r=t.cloneNode(!1)).ownerDocument=e;case C:break;case h:o=!0}if(r||(r=t.cloneNode(!1)),r.ownerDocument=e,r.parentNode=null,o)for(var n=t.firstChild;n;)r.appendChild(ye(e,n,o)),n=n.nextSibling;return r}function ve(e,t,o){var r=new t.constructor;for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var i=t[n];"object"!=typeof i&&i!=r[n]&&(r[n]=i)}switch(t.childNodes&&(r.childNodes=new T),r.ownerDocument=e,r.nodeType){case p:var s=t.attributes,a=r.attributes=new R,l=s.length;a._ownerElement=r;for(var u=0;u<l;u++)r.setAttributeNode(ve(e,s.item(u),!0));break;case h:o=!0}if(o)for(var c=t.firstChild;c;)r.appendChild(ve(e,c,o)),c=c.nextSibling;return r}function _e(e,t,o){e[t]=o}j.prototype=Error.prototype,u(S,j),T.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e,t){for(var o=[],r=0;r<this.length;r++)ge(this[r],o,e,t);return o.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},P.prototype.item=function(e){return M(this),this[e]||null},c(P,T),R.prototype={length:0,item:T.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var o=this[t];if(o.nodeName==e)return o}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new j(x);var o=this.getNamedItem(e.nodeName);return k(this._ownerElement,this,e,o),o},setNamedItemNS:function(e){var t,o=e.ownerElement;if(o&&o!=this._ownerElement)throw new j(x);return t=this.getNamedItemNS(e.namespaceURI,e.localName),k(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return N(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var o=this.getNamedItemNS(e,t);return N(this._ownerElement,this,o),o},getNamedItemNS:function(e,t){for(var o=this.length;o--;){var r=this[o];if(r.localName==t&&r.namespaceURI==e)return r}return null}},D.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,o){var r=new B;if(r.implementation=this,r.childNodes=new T,r.doctype=o||null,o&&r.appendChild(o),t){var n=r.createElementNS(e,t);r.appendChild(n)}return r},createDocumentType:function(e,t,o){var r=new se;return r.name=e,r.nodeName=e,r.publicId=t||"",r.systemId=o||"",r}},G.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return $(this,e,t)},replaceChild:function(e,t){$(this,e,t,Q),t&&this.removeChild(t)},removeChild:function(e){return W(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return ve(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==f&&e.nodeType==f?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var o=t._nsMap;if(o)for(var r in o)if(Object.prototype.hasOwnProperty.call(o,r)&&o[r]===e)return r;t=t.nodeType==h?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var o=t._nsMap;if(o&&Object.prototype.hasOwnProperty.call(o,e))return o[e];t=t.nodeType==h?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},u(d,G),u(d,G.prototype),B.prototype={nodeName:"#document",nodeType:b,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==C){for(var o=e.firstChild;o;){var r=o.nextSibling;this.insertBefore(o,t),o=r}return e}return $(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===p&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),W(this,e)},replaceChild:function(e,t){$(this,e,t,Q),e.ownerDocument=this,t&&this.removeChild(t),Y(e)&&(this.documentElement=e)},importNode:function(e,t){return ye(this,e,t)},getElementById:function(e){var t=null;return U(this.documentElement,(function(o){if(o.nodeType==p&&o.getAttribute("id")==e)return t=o,!0})),t},getElementsByClassName:function(e){var t=l(e);return new P(this,(function(o){var r=[];return t.length>0&&U(o.documentElement,(function(n){if(n!==o&&n.nodeType===p){var i=n.getAttribute("class");if(i){var s=e===i;if(!s){var a=l(i);s=t.every((u=a,function(e){return u&&-1!==u.indexOf(e)}))}s&&r.push(n)}}var u})),r}))},createElement:function(e){var t=new ee;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new T,(t.attributes=new R)._ownerElement=t,t},createDocumentFragment:function(){var e=new ce;return e.ownerDocument=this,e.childNodes=new T,e},createTextNode:function(e){var t=new re;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new ne;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new ie;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var o=new de;return o.ownerDocument=this,o.tagName=o.nodeName=o.target=e,o.nodeValue=o.data=t,o},createAttribute:function(e){var t=new te;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new ue;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var o=new ee,r=t.split(":"),n=o.attributes=new R;return o.childNodes=new T,o.ownerDocument=this,o.nodeName=t,o.tagName=t,o.namespaceURI=e,2==r.length?(o.prefix=r[0],o.localName=r[1]):o.localName=t,n._ownerElement=o,o},createAttributeNS:function(e,t){var o=new te,r=t.split(":");return o.ownerDocument=this,o.nodeName=t,o.name=t,o.namespaceURI=e,o.specified=!0,2==r.length?(o.prefix=r[0],o.localName=r[1]):o.localName=t,o}},c(B,G),ee.prototype={nodeType:p,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var o=this.ownerDocument.createAttribute(e);o.value=o.nodeValue=""+t,this.setAttributeNode(o)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===C?this.insertBefore(e,null):function(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,V(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var o=this.getAttributeNodeNS(e,t);o&&this.removeAttributeNode(o)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var o=this.getAttributeNodeNS(e,t);return o&&o.value||""},setAttributeNS:function(e,t,o){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+o,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new P(this,(function(t){var o=[];return U(t,(function(r){r===t||r.nodeType!=p||"*"!==e&&r.tagName!=e||o.push(r)})),o}))},getElementsByTagNameNS:function(e,t){return new P(this,(function(o){var r=[];return U(o,(function(n){n===o||n.nodeType!==p||"*"!==e&&n.namespaceURI!==e||"*"!==t&&n.localName!=t||r.push(n)})),r}))}},B.prototype.getElementsByTagName=ee.prototype.getElementsByTagName,B.prototype.getElementsByTagNameNS=ee.prototype.getElementsByTagNameNS,c(ee,G),te.prototype.nodeType=h,c(te,G),oe.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(w[O])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,o){o=this.data.substring(0,e)+o+this.data.substring(e+t),this.nodeValue=this.data=o,this.length=o.length}},c(oe,G),re.prototype={nodeName:"#text",nodeType:f,splitText:function(e){var t=this.data,o=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(o);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},c(re,oe),ne.prototype={nodeName:"#comment",nodeType:_},c(ne,oe),ie.prototype={nodeName:"#cdata-section",nodeType:m},c(ie,oe),se.prototype.nodeType=A,c(se,G),ae.prototype.nodeType=E,c(ae,G),le.prototype.nodeType=y,c(le,G),ue.prototype.nodeType=g,c(ue,G),ce.prototype.nodeName="#document-fragment",ce.prototype.nodeType=C,c(ce,G),de.prototype.nodeType=v,c(de,G),pe.prototype.serializeToString=function(e,t,o){return he.call(e,t,o)},G.prototype.toString=he;try{if(Object.defineProperty){function be(e){switch(e.nodeType){case p:case C:var t=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&t.push(be(e)),e=e.nextSibling;return t.join("");default:return e.nodeValue}}Object.defineProperty(P.prototype,"length",{get:function(){return M(this),this.$$length}}),Object.defineProperty(G.prototype,"textContent",{get:function(){return be(this)},set:function(e){switch(this.nodeType){case p:case C:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),_e=function(e,t,o){e["$$"+t]=o}}}catch(Ae){}t.DocumentType=se,t.DOMException=j,t.DOMImplementation=D,t.Element=ee,t.Node=G,t.NodeList=T,t.XMLSerializer=pe},"./node_modules/@xmldom/xmldom/lib/entities.js":function(e,t,o){"use strict";var r=o("./node_modules/@xmldom/xmldom/lib/conventions.js").freeze;t.XML_ENTITIES=r({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=r({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ﬃ",fflig:"ﬀ",ffllig:"ﬄ",Ffr:"𝔉",ffr:"𝔣",filig:"ﬁ",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"ﬂ",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"Ĳ",ijlig:"ĳ",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ŉ",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),t.entityMap=t.HTML_ENTITIES},"./node_modules/@xmldom/xmldom/lib/index.js":function(e,t,o){var r=o("./node_modules/@xmldom/xmldom/lib/dom.js");t.DOMImplementation=r.DOMImplementation,t.XMLSerializer=r.XMLSerializer,t.DOMParser=o("./node_modules/@xmldom/xmldom/lib/dom-parser.js").DOMParser},"./node_modules/@xmldom/xmldom/lib/sax.js":function(e,t,o){var r=o("./node_modules/@xmldom/xmldom/lib/conventions.js").NAMESPACE,n=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,i=new RegExp("[\\-\\.0-9"+n.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),s=new RegExp("^"+n.source+i.source+"*(?::"+n.source+i.source+"*)?$");function a(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,a)}function l(){}function u(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function c(e,t,o,n,i,s){function a(e,t,r){o.attributeNames.hasOwnProperty(e)&&s.fatalError("Attribute "+e+" redefined"),o.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,i),r)}for(var l,u=++t,c=0;;){var d=e.charAt(u);switch(d){case"=":if(1===c)l=e.slice(t,u),c=3;else{if(2!==c)throw new Error("attribute equal must after attrName");c=3}break;case"'":case'"':if(3===c||1===c){if(1===c&&(s.warning('attribute value must after "="'),l=e.slice(t,u)),t=u+1,!((u=e.indexOf(d,t))>0))throw new Error("attribute value no end '"+d+"' match");a(l,p=e.slice(t,u),t-1),c=5}else{if(4!=c)throw new Error('attribute value must after "="');a(l,p=e.slice(t,u),t),s.warning('attribute "'+l+'" missed start quot('+d+")!!"),t=u+1,c=5}break;case"/":switch(c){case 0:o.setTagName(e.slice(t,u));case 5:case 6:case 7:c=7,o.closed=!0;case 4:case 1:break;case 2:o.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return s.error("unexpected end of input"),0==c&&o.setTagName(e.slice(t,u)),u;case">":switch(c){case 0:o.setTagName(e.slice(t,u));case 5:case 6:case 7:break;case 4:case 1:"/"===(p=e.slice(t,u)).slice(-1)&&(o.closed=!0,p=p.slice(0,-1));case 2:2===c&&(p=l),4==c?(s.warning('attribute "'+p+'" missed quot(")!'),a(l,p,t)):(r.isHTML(n[""])&&p.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+p+'" missed value!! "'+p+'" instead!!'),a(p,p,t));break;case 3:throw new Error("attribute value missed!!")}return u;case"":d=" ";default:if(d<=" ")switch(c){case 0:o.setTagName(e.slice(t,u)),c=6;break;case 1:l=e.slice(t,u),c=2;break;case 4:var p=e.slice(t,u);s.warning('attribute "'+p+'" missed quot(")!!'),a(l,p,t);case 5:c=6}else switch(c){case 2:o.tagName;r.isHTML(n[""])&&l.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+l+'" missed value!! "'+l+'" instead2!!'),a(l,l,t),t=u,c=1;break;case 5:s.warning('attribute space is required"'+l+'"!!');case 6:c=1,t=u;break;case 3:c=4,t=u;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}u++}}function d(e,t,o){for(var n=e.tagName,i=null,s=e.length;s--;){var a=e[s],l=a.qName,u=a.value;if((h=l.indexOf(":"))>0)var c=a.prefix=l.slice(0,h),d=l.slice(h+1),p="xmlns"===c&&d;else d=l,c=null,p="xmlns"===l&&"";a.localName=d,!1!==p&&(null==i&&(i={},f(o,o={})),o[p]=i[p]=u,a.uri=r.XMLNS,t.startPrefixMapping(p,u))}for(s=e.length;s--;){(c=(a=e[s]).prefix)&&("xml"===c&&(a.uri=r.XML),"xmlns"!==c&&(a.uri=o[c||""]))}var h;(h=n.indexOf(":"))>0?(c=e.prefix=n.slice(0,h),d=e.localName=n.slice(h+1)):(c=null,d=e.localName=n);var m=e.uri=o[c||""];if(t.startElement(m,d,n,e),!e.closed)return e.currentNSMap=o,e.localNSMap=i,!0;if(t.endElement(m,d,n),i)for(c in i)Object.prototype.hasOwnProperty.call(i,c)&&t.endPrefixMapping(c)}function p(e,t,o,r,n){if(/^(?:script|textarea)$/i.test(o)){var i=e.indexOf("</"+o+">",t),s=e.substring(t+1,i);if(/[&<]/.test(s))return/^script$/i.test(o)?(n.characters(s,0,s.length),i):(s=s.replace(/&#?\w+;/g,r),n.characters(s,0,s.length),i)}return t+1}function h(e,t,o,r){var n=r[o];return null==n&&((n=e.lastIndexOf("</"+o+">"))<t&&(n=e.lastIndexOf("</"+o)),r[o]=n),n<t}function f(e,t){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}function m(e,t,o,r){if("-"===e.charAt(t+2))return"-"===e.charAt(t+3)?(n=e.indexOf("--\x3e",t+4))>t?(o.comment(e,t+4,n-t-4),n+3):(r.error("Unclosed comment"),-1):-1;if("CDATA["==e.substr(t+3,6)){var n=e.indexOf("]]>",t+9);return o.startCDATA(),o.characters(e,t+9,n-t-9),o.endCDATA(),n+3}var i=function(e,t){var o,r=[],n=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;n.lastIndex=t,n.exec(e);for(;o=n.exec(e);)if(r.push(o),o[1])return r}(e,t),s=i.length;if(s>1&&/!doctype/i.test(i[0][0])){var a=i[1][0],l=!1,u=!1;s>3&&(/^public$/i.test(i[2][0])?(l=i[3][0],u=s>4&&i[4][0]):/^system$/i.test(i[2][0])&&(u=i[3][0]));var c=i[s-1];return o.startDTD(a,l,u),o.endDTD(),c.index+c[0].length}return-1}function g(e,t,o){var r=e.indexOf("?>",t);if(r){var n=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(n){n[0].length;return o.processingInstruction(n[1],n[2]),r+2}return-1}return-1}function y(){this.attributeNames={}}a.prototype=new Error,a.prototype.name=a.name,l.prototype={parse:function(e,t,o){var n=this.domBuilder;n.startDocument(),f(t,t={}),function(e,t,o,n,i){function s(e){if(e>65535){var t=55296+((e-=65536)>>10),o=56320+(1023&e);return String.fromCharCode(t,o)}return String.fromCharCode(e)}function l(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(o,t)?o[t]:"#"===t.charAt(0)?s(parseInt(t.substr(1).replace("x","0x"))):(i.error("entity not found:"+e),e)}function f(t){if(t>w){var o=e.substring(w,t).replace(/&#?\w+;/g,l);C&&v(w),n.characters(o,0,t-w),w=t}}function v(t,o){for(;t>=b&&(o=A.exec(e));)_=o.index,b=_+o[0].length,C.lineNumber++;C.columnNumber=t-_+1}var _=0,b=0,A=/.*(?:\r\n?|\n)|.*$/g,C=n.locator,E=[{currentNSMap:t}],S={},w=0;for(;;){try{var O=e.indexOf("<",w);if(O<0){if(!e.substr(w).match(/^\s*$/)){var I=n.doc,x=I.createTextNode(e.substr(w));I.appendChild(x),n.currentElement=x}return}switch(O>w&&f(O),e.charAt(O+1)){case"/":var j=e.indexOf(">",O+3),T=e.substring(O+2,j).replace(/[ \t\n\r]+$/g,""),P=E.pop();j<0?(T=e.substring(O+2).replace(/[\s<].*/,""),i.error("end tag name: "+T+" is not complete:"+P.tagName),j=O+1+T.length):T.match(/\s</)&&(T=T.replace(/[\s<].*/,""),i.error("end tag name: "+T+" maybe not complete"),j=O+1+T.length);var M=P.localNSMap,R=P.tagName==T;if(R||P.tagName&&P.tagName.toLowerCase()==T.toLowerCase()){if(n.endElement(P.uri,P.localName,T),M)for(var L in M)Object.prototype.hasOwnProperty.call(M,L)&&n.endPrefixMapping(L);R||i.fatalError("end tag name: "+T+" is not match the current start tagName:"+P.tagName)}else E.push(P);j++;break;case"?":C&&v(O),j=g(e,O,n);break;case"!":C&&v(O),j=m(e,O,n,i);break;default:C&&v(O);var k=new y,N=E[E.length-1].currentNSMap,D=(j=c(e,O,k,N,l,i),k.length);if(!k.closed&&h(e,j,k.tagName,S)&&(k.closed=!0,o.nbsp||i.warning("unclosed xml attribute")),C&&D){for(var G=u(C,{}),F=0;F<D;F++){var U=k[F];v(U.offset),U.locator=u(C,{})}n.locator=G,d(k,n,N)&&E.push(k),n.locator=C}else d(k,n,N)&&E.push(k);r.isHTML(k.uri)&&!k.closed?j=p(e,j,k.tagName,l,n):j++}}catch(e){if(e instanceof a)throw e;i.error("element parse error: "+e),j=-1}j>w?w=j:f(Math.max(O,w)+1)}}(e,t,o,n,this.errorHandler),n.endDocument()}},y.prototype={setTagName:function(e){if(!s.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,o){if(!s.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:o}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},t.XMLReader=l,t.ParseError=a},"./node_modules/base64-js/index.js":function(e,t,o){"use strict";t.byteLength=function(e){var t=l(e),o=t[0],r=t[1];return 3*(o+r)/4-r},t.toByteArray=function(e){var t,o,r=l(e),s=r[0],a=r[1],u=new i(function(e,t,o){return 3*(t+o)/4-o}(0,s,a)),c=0,d=a>0?s-4:s;for(o=0;o<d;o+=4)t=n[e.charCodeAt(o)]<<18|n[e.charCodeAt(o+1)]<<12|n[e.charCodeAt(o+2)]<<6|n[e.charCodeAt(o+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;2===a&&(t=n[e.charCodeAt(o)]<<2|n[e.charCodeAt(o+1)]>>4,u[c++]=255&t);1===a&&(t=n[e.charCodeAt(o)]<<10|n[e.charCodeAt(o+1)]<<4|n[e.charCodeAt(o+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t);return u},t.fromByteArray=function(e){for(var t,o=e.length,n=o%3,i=[],s=16383,a=0,l=o-n;a<l;a+=s)i.push(u(e,a,a+s>l?l:a+s));1===n?(t=e[o-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===n&&(t=(e[o-2]<<8)+e[o-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)r[a]=s[a],n[s.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var o=e.indexOf("=");return-1===o&&(o=t),[o,o===t?0:4-o%4]}function u(e,t,o){for(var n,i,s=[],a=t;a<o;a+=3)n=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),s.push(r[(i=n)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return s.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},"./node_modules/buffer/index.js":function(e,t,o){"use strict";(function(e){
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <http://feross.org>
 * @license  MIT
 */
var r=o("./node_modules/base64-js/index.js"),n=o("./node_modules/ieee754/index.js"),i=o("./node_modules/isarray/index.js");function s(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,o){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,o);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return u(this,e,t,o)}function u(e,t,o,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,o,r){if(t.byteLength,o<0||t.byteLength<o)throw new RangeError("'offset' is out of bounds");if(t.byteLength<o+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===o&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,o):new Uint8Array(t,o,r);l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=p(e,t);return e}(e,t,o,r):"string"==typeof t?function(e,t,o){"string"==typeof o&&""!==o||(o="utf8");if(!l.isEncoding(o))throw new TypeError('"encoding" must be a valid string encoding');var r=0|f(t,o);e=a(e,r);var n=e.write(t,o);n!==r&&(e=e.slice(0,n));return e}(e,t,o):function(e,t){if(l.isBuffer(t)){var o=0|h(t.length);return 0===(e=a(e,o)).length||t.copy(e,0,0,o),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?a(e,0):p(e,t);if("Buffer"===t.type&&i(t.data))return p(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function d(e,t){if(c(t),e=a(e,t<0?0:0|h(t)),!l.TYPED_ARRAY_SUPPORT)for(var o=0;o<t;++o)e[o]=0;return e}function p(e,t){var o=t.length<0?0:0|h(t.length);e=a(e,o);for(var r=0;r<o;r+=1)e[r]=255&t[r];return e}function h(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function f(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var o=e.length;if(0===o)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return o;case"utf8":case"utf-8":case void 0:return B(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*o;case"hex":return o>>>1;case"base64":return z(e).length;default:if(r)return B(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,o){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===o||o>this.length)&&(o=this.length),o<=0)return"";if((o>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,o);case"utf8":case"utf-8":return O(this,t,o);case"ascii":return x(this,t,o);case"latin1":case"binary":return j(this,t,o);case"base64":return w(this,t,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,o);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,o){var r=e[t];e[t]=e[o],e[o]=r}function y(e,t,o,r,n){if(0===e.length)return-1;if("string"==typeof o?(r=o,o=0):o>2147483647?o=2147483647:o<-2147483648&&(o=-2147483648),o=+o,isNaN(o)&&(o=n?0:e.length-1),o<0&&(o=e.length+o),o>=e.length){if(n)return-1;o=e.length-1}else if(o<0){if(!n)return-1;o=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:v(e,t,o,r,n);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,o):Uint8Array.prototype.lastIndexOf.call(e,t,o):v(e,[t],o,r,n);throw new TypeError("val must be string, number or Buffer")}function v(e,t,o,r,n){var i,s=1,a=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;s=2,a/=2,l/=2,o/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(n){var c=-1;for(i=o;i<a;i++)if(u(e,i)===u(t,-1===c?0:i-c)){if(-1===c&&(c=i),i-c+1===l)return c*s}else-1!==c&&(i-=i-c),c=-1}else for(o+l>a&&(o=a-l),i=o;i>=0;i--){for(var d=!0,p=0;p<l;p++)if(u(e,i+p)!==u(t,p)){d=!1;break}if(d)return i}return-1}function _(e,t,o,r){o=Number(o)||0;var n=e.length-o;r?(r=Number(r))>n&&(r=n):r=n;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var s=0;s<r;++s){var a=parseInt(t.substr(2*s,2),16);if(isNaN(a))return s;e[o+s]=a}return s}function b(e,t,o,r){return V(B(t,e.length-o),e,o,r)}function A(e,t,o,r){return V(function(e){for(var t=[],o=0;o<e.length;++o)t.push(255&e.charCodeAt(o));return t}(t),e,o,r)}function C(e,t,o,r){return A(e,t,o,r)}function E(e,t,o,r){return V(z(t),e,o,r)}function S(e,t,o,r){return V(function(e,t){for(var o,r,n,i=[],s=0;s<e.length&&!((t-=2)<0);++s)r=(o=e.charCodeAt(s))>>8,n=o%256,i.push(n),i.push(r);return i}(t,e.length-o),e,o,r)}function w(e,t,o){return 0===t&&o===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,o))}function O(e,t,o){o=Math.min(e.length,o);for(var r=[],n=t;n<o;){var i,s,a,l,u=e[n],c=null,d=u>239?4:u>223?3:u>191?2:1;if(n+d<=o)switch(d){case 1:u<128&&(c=u);break;case 2:128==(192&(i=e[n+1]))&&(l=(31&u)<<6|63&i)>127&&(c=l);break;case 3:i=e[n+1],s=e[n+2],128==(192&i)&&128==(192&s)&&(l=(15&u)<<12|(63&i)<<6|63&s)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:i=e[n+1],s=e[n+2],a=e[n+3],128==(192&i)&&128==(192&s)&&128==(192&a)&&(l=(15&u)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),n+=d}return function(e){var t=e.length;if(t<=I)return String.fromCharCode.apply(String,e);var o="",r=0;for(;r<t;)o+=String.fromCharCode.apply(String,e.slice(r,r+=I));return o}(r)}t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=s(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,o){return u(null,e,t,o)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,o){return function(e,t,o,r){return c(t),t<=0?a(e,t):void 0!==o?"string"==typeof r?a(e,t).fill(o,r):a(e,t).fill(o):a(e,t)}(null,e,t,o)},l.allocUnsafe=function(e){return d(null,e)},l.allocUnsafeSlow=function(e){return d(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var o=e.length,r=t.length,n=0,i=Math.min(o,r);n<i;++n)if(e[n]!==t[n]){o=e[n],r=t[n];break}return o<r?-1:r<o?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var o;if(void 0===t)for(t=0,o=0;o<e.length;++o)t+=e[o].length;var r=l.allocUnsafe(t),n=0;for(o=0;o<e.length;++o){var s=e[o];if(!l.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(r,n),n+=s.length}return r},l.byteLength=f,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?O(this,0,e):m.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",o=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,o).match(/.{2}/g).join(" "),this.length>o&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,o,r,n){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===o&&(o=e?e.length:0),void 0===r&&(r=0),void 0===n&&(n=this.length),t<0||o>e.length||r<0||n>this.length)throw new RangeError("out of range index");if(r>=n&&t>=o)return 0;if(r>=n)return-1;if(t>=o)return 1;if(this===e)return 0;for(var i=(n>>>=0)-(r>>>=0),s=(o>>>=0)-(t>>>=0),a=Math.min(i,s),u=this.slice(r,n),c=e.slice(t,o),d=0;d<a;++d)if(u[d]!==c[d]){i=u[d],s=c[d];break}return i<s?-1:s<i?1:0},l.prototype.includes=function(e,t,o){return-1!==this.indexOf(e,t,o)},l.prototype.indexOf=function(e,t,o){return y(this,e,t,o,!0)},l.prototype.lastIndexOf=function(e,t,o){return y(this,e,t,o,!1)},l.prototype.write=function(e,t,o,r){if(void 0===t)r="utf8",o=this.length,t=0;else if(void 0===o&&"string"==typeof t)r=t,o=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(o)?(o|=0,void 0===r&&(r="utf8")):(r=o,o=void 0)}var n=this.length-t;if((void 0===o||o>n)&&(o=n),e.length>0&&(o<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return _(this,e,t,o);case"utf8":case"utf-8":return b(this,e,t,o);case"ascii":return A(this,e,t,o);case"latin1":case"binary":return C(this,e,t,o);case"base64":return E(this,e,t,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,o);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function x(e,t,o){var r="";o=Math.min(e.length,o);for(var n=t;n<o;++n)r+=String.fromCharCode(127&e[n]);return r}function j(e,t,o){var r="";o=Math.min(e.length,o);for(var n=t;n<o;++n)r+=String.fromCharCode(e[n]);return r}function T(e,t,o){var r=e.length;(!t||t<0)&&(t=0),(!o||o<0||o>r)&&(o=r);for(var n="",i=t;i<o;++i)n+=U(e[i]);return n}function P(e,t,o){for(var r=e.slice(t,o),n="",i=0;i<r.length;i+=2)n+=String.fromCharCode(r[i]+256*r[i+1]);return n}function M(e,t,o){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>o)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,o,r,n,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||t<i)throw new RangeError('"value" argument is out of bounds');if(o+r>e.length)throw new RangeError("Index out of range")}function L(e,t,o,r){t<0&&(t=65535+t+1);for(var n=0,i=Math.min(e.length-o,2);n<i;++n)e[o+n]=(t&255<<8*(r?n:1-n))>>>8*(r?n:1-n)}function k(e,t,o,r){t<0&&(t=4294967295+t+1);for(var n=0,i=Math.min(e.length-o,4);n<i;++n)e[o+n]=t>>>8*(r?n:3-n)&255}function N(e,t,o,r,n,i){if(o+r>e.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("Index out of range")}function D(e,t,o,r,i){return i||N(e,0,o,4),n.write(e,t,o,r,23,4),o+4}function G(e,t,o,r,i){return i||N(e,0,o,8),n.write(e,t,o,r,52,8),o+8}l.prototype.slice=function(e,t){var o,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)(o=this.subarray(e,t)).__proto__=l.prototype;else{var n=t-e;o=new l(n,void 0);for(var i=0;i<n;++i)o[i]=this[i+e]}return o},l.prototype.readUIntLE=function(e,t,o){e|=0,t|=0,o||M(e,t,this.length);for(var r=this[e],n=1,i=0;++i<t&&(n*=256);)r+=this[e+i]*n;return r},l.prototype.readUIntBE=function(e,t,o){e|=0,t|=0,o||M(e,t,this.length);for(var r=this[e+--t],n=1;t>0&&(n*=256);)r+=this[e+--t]*n;return r},l.prototype.readUInt8=function(e,t){return t||M(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||M(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||M(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||M(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||M(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,o){e|=0,t|=0,o||M(e,t,this.length);for(var r=this[e],n=1,i=0;++i<t&&(n*=256);)r+=this[e+i]*n;return r>=(n*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,o){e|=0,t|=0,o||M(e,t,this.length);for(var r=t,n=1,i=this[e+--r];r>0&&(n*=256);)i+=this[e+--r]*n;return i>=(n*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return t||M(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||M(e,2,this.length);var o=this[e]|this[e+1]<<8;return 32768&o?4294901760|o:o},l.prototype.readInt16BE=function(e,t){t||M(e,2,this.length);var o=this[e+1]|this[e]<<8;return 32768&o?4294901760|o:o},l.prototype.readInt32LE=function(e,t){return t||M(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||M(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||M(e,4,this.length),n.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||M(e,4,this.length),n.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||M(e,8,this.length),n.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||M(e,8,this.length),n.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,o,r){(e=+e,t|=0,o|=0,r)||R(this,e,t,o,Math.pow(2,8*o)-1,0);var n=1,i=0;for(this[t]=255&e;++i<o&&(n*=256);)this[t+i]=e/n&255;return t+o},l.prototype.writeUIntBE=function(e,t,o,r){(e=+e,t|=0,o|=0,r)||R(this,e,t,o,Math.pow(2,8*o)-1,0);var n=o-1,i=1;for(this[t+n]=255&e;--n>=0&&(i*=256);)this[t+n]=e/i&255;return t+o},l.prototype.writeUInt8=function(e,t,o){return e=+e,t|=0,o||R(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,o){return e=+e,t|=0,o||R(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,o){return e=+e,t|=0,o||R(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,o){return e=+e,t|=0,o||R(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):k(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,o){return e=+e,t|=0,o||R(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):k(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,o,r){if(e=+e,t|=0,!r){var n=Math.pow(2,8*o-1);R(this,e,t,o,n-1,-n)}var i=0,s=1,a=0;for(this[t]=255&e;++i<o&&(s*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/s|0)-a&255;return t+o},l.prototype.writeIntBE=function(e,t,o,r){if(e=+e,t|=0,!r){var n=Math.pow(2,8*o-1);R(this,e,t,o,n-1,-n)}var i=o-1,s=1,a=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/s|0)-a&255;return t+o},l.prototype.writeInt8=function(e,t,o){return e=+e,t|=0,o||R(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,o){return e=+e,t|=0,o||R(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,o){return e=+e,t|=0,o||R(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,o){return e=+e,t|=0,o||R(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):k(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,o){return e=+e,t|=0,o||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):k(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,o){return D(this,e,t,!0,o)},l.prototype.writeFloatBE=function(e,t,o){return D(this,e,t,!1,o)},l.prototype.writeDoubleLE=function(e,t,o){return G(this,e,t,!0,o)},l.prototype.writeDoubleBE=function(e,t,o){return G(this,e,t,!1,o)},l.prototype.copy=function(e,t,o,r){if(o||(o=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<o&&(r=o),r===o)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-o&&(r=e.length-t+o);var n,i=r-o;if(this===e&&o<t&&t<r)for(n=i-1;n>=0;--n)e[n+t]=this[n+o];else if(i<1e3||!l.TYPED_ARRAY_SUPPORT)for(n=0;n<i;++n)e[n+t]=this[n+o];else Uint8Array.prototype.set.call(e,this.subarray(o,o+i),t);return i},l.prototype.fill=function(e,t,o,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,o=this.length):"string"==typeof o&&(r=o,o=this.length),1===e.length){var n=e.charCodeAt(0);n<256&&(e=n)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<o)throw new RangeError("Out of range index");if(o<=t)return this;var i;if(t>>>=0,o=void 0===o?this.length:o>>>0,e||(e=0),"number"==typeof e)for(i=t;i<o;++i)this[i]=e;else{var s=l.isBuffer(e)?e:B(new l(e,r).toString()),a=s.length;for(i=0;i<o-t;++i)this[i+t]=s[i%a]}return this};var F=/[^+\/0-9A-Za-z-_]/g;function U(e){return e<16?"0"+e.toString(16):e.toString(16)}function B(e,t){var o;t=t||1/0;for(var r=e.length,n=null,i=[],s=0;s<r;++s){if((o=e.charCodeAt(s))>55295&&o<57344){if(!n){if(o>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&i.push(239,191,189);continue}n=o;continue}if(o<56320){(t-=3)>-1&&i.push(239,191,189),n=o;continue}o=65536+(n-55296<<10|o-56320)}else n&&(t-=3)>-1&&i.push(239,191,189);if(n=null,o<128){if((t-=1)<0)break;i.push(o)}else if(o<2048){if((t-=2)<0)break;i.push(o>>6|192,63&o|128)}else if(o<65536){if((t-=3)<0)break;i.push(o>>12|224,o>>6&63|128,63&o|128)}else{if(!(o<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(o>>18|240,o>>12&63|128,o>>6&63|128,63&o|128)}}return i}function z(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(F,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function V(e,t,o,r){for(var n=0;n<r&&!(n+o>=t.length||n>=e.length);++n)t[n+o]=e[n];return n}}).call(this,o("./node_modules/webpack/buildin/global.js"))},"./node_modules/debug/src/browser.js":function(e,t,o){(function(r){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const o="color: "+this.color;t.splice(1,0,o,"color: inherit");let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(n=r))})),t.splice(n,0,o)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=o("./node_modules/debug/src/common.js")(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,o("./node_modules/process/browser.js"))},"./node_modules/debug/src/common.js":function(e,t,o){e.exports=function(e){function t(e){let o,n,i,s=null;function a(...e){if(!a.enabled)return;const r=a,n=Number(new Date),i=n-(o||n);r.diff=i,r.prev=o,r.curr=n,o=n,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((o,n)=>{if("%%"===o)return"%";s++;const i=t.formatters[n];if("function"==typeof i){const t=e[s];o=i.call(r,t),e.splice(s,1),s--}return o})),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=r,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(n!==t.namespaces&&(n=t.namespaces,i=t.enabled(e)),i),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function r(e,o){const r=t(this.namespace+(void 0===o?":":o)+e);return r.log=this.log,r}function n(e,t){let o=0,r=0,n=-1,i=0;for(;o<e.length;)if(r<t.length&&(t[r]===e[o]||"*"===t[r]))"*"===t[r]?(n=r,i=o,r++):(o++,r++);else{if(-1===n)return!1;r=n+1,i++,o=i}for(;r<t.length&&"*"===t[r];)r++;return r===t.length}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names,...t.skips.map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const o=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of o)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const o of t.skips)if(n(e,o))return!1;for(const o of t.names)if(n(e,o))return!0;return!1},t.humanize=o("./node_modules/ms/index.js"),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((o=>{t[o]=e[o]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let o=0;for(let t=0;t<e.length;t++)o=(o<<5)-o+e.charCodeAt(t),o|=0;return t.colors[Math.abs(o)%t.colors.length]},t.enable(t.load()),t}},"./node_modules/es6-promise/dist/es6-promise.js":function(e,t,o){(function(t,o){
/*!
 * @overview es6-promise - a tiny implementation of Promises/A+.
 * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
 * @license   Licensed under MIT license
 *            See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
 * @version   v4.2.8+1e68dce6
 */var r;r=function(){"use strict";function e(e){return"function"==typeof e}var r=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},n=0,i=void 0,s=void 0,a=function(e,t){f[n]=e,f[n+1]=t,2===(n+=2)&&(s?s(m):b())},l="undefined"!=typeof window?window:void 0,u=l||{},c=u.MutationObserver||u.WebKitMutationObserver,d="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),p="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function h(){var e=setTimeout;return function(){return e(m,1)}}var f=new Array(1e3);function m(){for(var e=0;e<n;e+=2)(0,f[e])(f[e+1]),f[e]=void 0,f[e+1]=void 0;n=0}var g,y,v,_,b=void 0;function A(e,t){var o=this,r=new this.constructor(S);void 0===r[E]&&D(r);var n=o._state;if(n){var i=arguments[n-1];a((function(){return k(n,r,i,o._result)}))}else R(o,r,e,t);return r}function C(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(S);return j(t,e),t}d?b=function(){return t.nextTick(m)}:c?(y=0,v=new c(m),_=document.createTextNode(""),v.observe(_,{characterData:!0}),b=function(){_.data=y=++y%2}):p?((g=new MessageChannel).port1.onmessage=m,b=function(){return g.port2.postMessage(0)}):b=void 0===l?function(){try{var e=Function("return this")().require("vertx");return void 0!==(i=e.runOnLoop||e.runOnContext)?function(){i(m)}:h()}catch(e){return h()}}():h();var E=Math.random().toString(36).substring(2);function S(){}var w=void 0,O=1,I=2;function x(t,o,r){o.constructor===t.constructor&&r===A&&o.constructor.resolve===C?function(e,t){t._state===O?P(e,t._result):t._state===I?M(e,t._result):R(t,void 0,(function(t){return j(e,t)}),(function(t){return M(e,t)}))}(t,o):void 0===r?P(t,o):e(r)?function(e,t,o){a((function(e){var r=!1,n=function(e,t,o,r){try{e.call(t,o,r)}catch(e){return e}}(o,t,(function(o){r||(r=!0,t!==o?j(e,o):P(e,o))}),(function(t){r||(r=!0,M(e,t))}),e._label);!r&&n&&(r=!0,M(e,n))}),e)}(t,o,r):P(t,o)}function j(e,t){if(e===t)M(e,new TypeError("You cannot resolve a promise with itself"));else if(n=typeof(r=t),null===r||"object"!==n&&"function"!==n)P(e,t);else{var o=void 0;try{o=t.then}catch(t){return void M(e,t)}x(e,t,o)}var r,n}function T(e){e._onerror&&e._onerror(e._result),L(e)}function P(e,t){e._state===w&&(e._result=t,e._state=O,0!==e._subscribers.length&&a(L,e))}function M(e,t){e._state===w&&(e._state=I,e._result=t,a(T,e))}function R(e,t,o,r){var n=e._subscribers,i=n.length;e._onerror=null,n[i]=t,n[i+O]=o,n[i+I]=r,0===i&&e._state&&a(L,e)}function L(e){var t=e._subscribers,o=e._state;if(0!==t.length){for(var r=void 0,n=void 0,i=e._result,s=0;s<t.length;s+=3)r=t[s],n=t[s+o],r?k(o,r,n,i):n(i);e._subscribers.length=0}}function k(t,o,r,n){var i=e(r),s=void 0,a=void 0,l=!0;if(i){try{s=r(n)}catch(e){l=!1,a=e}if(o===s)return void M(o,new TypeError("A promises callback cannot return that same promise."))}else s=n;o._state!==w||(i&&l?j(o,s):!1===l?M(o,a):t===O?P(o,s):t===I&&M(o,s))}var N=0;function D(e){e[E]=N++,e._state=void 0,e._result=void 0,e._subscribers=[]}var G=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(S),this.promise[E]||D(this.promise),r(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?P(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&P(this.promise,this._result))):M(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===w&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var o=this._instanceConstructor,r=o.resolve;if(r===C){var n=void 0,i=void 0,s=!1;try{n=e.then}catch(e){s=!0,i=e}if(n===A&&e._state!==w)this._settledAt(e._state,t,e._result);else if("function"!=typeof n)this._remaining--,this._result[t]=e;else if(o===F){var a=new o(S);s?M(a,i):x(a,e,n),this._willSettleAt(a,t)}else this._willSettleAt(new o((function(t){return t(e)})),t)}else this._willSettleAt(r(e),t)},e.prototype._settledAt=function(e,t,o){var r=this.promise;r._state===w&&(this._remaining--,e===I?M(r,o):this._result[t]=o),0===this._remaining&&P(r,this._result)},e.prototype._willSettleAt=function(e,t){var o=this;R(e,void 0,(function(e){return o._settledAt(O,t,e)}),(function(e){return o._settledAt(I,t,e)}))},e}(),F=function(){function t(e){this[E]=N++,this._result=this._state=void 0,this._subscribers=[],S!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t((function(t){j(e,t)}),(function(t){M(e,t)}))}catch(t){M(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var o=this,r=o.constructor;return e(t)?o.then((function(e){return r.resolve(t()).then((function(){return e}))}),(function(e){return r.resolve(t()).then((function(){throw e}))})):o.then(t,t)},t}();return F.prototype.then=A,F.all=function(e){return new G(this,e).promise},F.race=function(e){var t=this;return r(e)?new t((function(o,r){for(var n=e.length,i=0;i<n;i++)t.resolve(e[i]).then(o,r)})):new t((function(e,t){return t(new TypeError("You must pass an array to race."))}))},F.resolve=C,F.reject=function(e){var t=new this(S);return M(t,e),t},F._setScheduler=function(e){s=e},F._setAsap=function(e){a=e},F._asap=a,F.polyfill=function(){var e=void 0;if(void 0!==o)e=o;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var r=null;try{r=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===r&&!t.cast)return}e.Promise=F},F.Promise=F,F},e.exports=r()}).call(this,o("./node_modules/process/browser.js"),o("./node_modules/webpack/buildin/global.js"))},"./node_modules/eslint-loader/dist/cjs.js?!./src/Utils/dist-openlayers/index.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/AssertionError.js"),n=o("./node_modules/ol/Collection.js"),i=o("./node_modules/ol/DataTile.js"),s=o("./node_modules/ol/Disposable.js"),a=o("./node_modules/ol/Feature.js"),l=o("./node_modules/ol/Geolocation.js"),u=o("./node_modules/ol/Image.js"),c=o("./node_modules/ol/ImageBase.js"),d=o("./node_modules/ol/ImageCanvas.js"),p=o("./node_modules/ol/ImageTile.js"),h=o("./node_modules/ol/Kinetic.js"),f=o("./node_modules/ol/Map.js"),m=o("./node_modules/ol/MapBrowserEvent.js"),g=o("./node_modules/ol/MapBrowserEventHandler.js"),y=o("./node_modules/ol/MapEvent.js"),v=o("./node_modules/ol/Object.js"),_=o("./node_modules/ol/Observable.js"),b=o("./node_modules/ol/Overlay.js"),A=o("./node_modules/ol/PluggableMap.js"),C=o("./node_modules/ol/Tile.js"),E=o("./node_modules/ol/TileCache.js"),S=o("./node_modules/ol/TileQueue.js"),w=o("./node_modules/ol/TileRange.js"),O=o("./node_modules/ol/VectorRenderTile.js"),I=o("./node_modules/ol/VectorTile.js"),x=o("./node_modules/ol/View.js"),j=o("./node_modules/ol/array.js"),T=o("./node_modules/ol/asserts.js"),P=o("./node_modules/ol/centerconstraint.js"),M=o("./node_modules/ol/color.js"),R=o("./node_modules/ol/colorlike.js"),L=o("./node_modules/ol/control.js"),k=o("./node_modules/ol/coordinate.js"),N=o("./node_modules/ol/css.js"),D=o("./node_modules/ol/dom.js"),G=o("./node_modules/ol/easing.js"),F=o("./node_modules/ol/events.js"),U=o("./node_modules/ol/extent.js"),B=o("./node_modules/ol/featureloader.js"),z=o("./node_modules/ol/functions.js"),V=o("./node_modules/ol/has.js"),W=o("./node_modules/ol/interaction.js"),q=o("./node_modules/ol/loadingstrategy.js"),Y=o("./node_modules/ol/math.js"),H=o("./node_modules/ol/net.js"),X=o("./node_modules/ol/obj.js"),Z=o("./node_modules/ol/proj.js"),K=o("./node_modules/ol/render.js"),J=o("./node_modules/ol/reproj.js"),Q=o("./node_modules/ol/resolutionconstraint.js"),$=o("./node_modules/ol/rotationconstraint.js"),ee=o("./node_modules/ol/size.js"),te=o("./node_modules/ol/sphere.js"),oe=o("./node_modules/ol/string.js"),re=o("./node_modules/ol/tilecoord.js"),ne=o("./node_modules/ol/tilegrid.js"),ie=o("./node_modules/ol/tileurlfunction.js"),se=o("./node_modules/ol/transform.js"),ae=o("./node_modules/ol/uri.js"),le=o("./node_modules/ol/util.js"),ue=o("./node_modules/ol/webgl.js"),ce=o("./node_modules/ol/xml.js"),de=o("./node_modules/ol/webgl/Buffer.js"),pe=o("./node_modules/ol/webgl/Helper.js"),he=o("./node_modules/ol/webgl/PostProcessingPass.js"),fe=o("./node_modules/ol/webgl/RenderTarget.js"),me=o("./node_modules/ol/webgl/ShaderBuilder.js"),ge=o("./node_modules/ol/webgl/TileTexture.js"),ye=o("./node_modules/ol/vec/mat4.js"),ve=o("./node_modules/ol/tilegrid/TileGrid.js"),_e=o("./node_modules/ol/tilegrid/WMTS.js"),be=o("./node_modules/ol/tilegrid/common.js"),Ae=o("./node_modules/ol/style/Circle.js"),Ce=o("./node_modules/ol/style/Fill.js"),Ee=o("./node_modules/ol/style/Icon.js"),Se=o("./node_modules/ol/style/IconImage.js"),we=o("./node_modules/ol/style/IconImageCache.js"),Oe=o("./node_modules/ol/style/Image.js"),Ie=o("./node_modules/ol/style/RegularShape.js"),xe=o("./node_modules/ol/style/Stroke.js"),je=o("./node_modules/ol/style/Style.js"),Te=o("./node_modules/ol/style/Text.js"),Pe=o("./node_modules/ol/style/expressions.js"),Me=o("./node_modules/ol/structs/LRUCache.js"),Re=o("./node_modules/ol/structs/LinkedList.js"),Le=o("./node_modules/ol/structs/PriorityQueue.js"),ke=o("./node_modules/ol/structs/RBush.js"),Ne=o("./node_modules/ol/source/BingMaps.js"),De=o("./node_modules/ol/source/CartoDB.js"),Ge=o("./node_modules/ol/source/Cluster.js"),Fe=o("./node_modules/ol/source/DataTile.js"),Ue=o("./node_modules/ol/source/GeoTIFF.js"),Be=o("./node_modules/ol/source/IIIF.js"),ze=o("./node_modules/ol/source/Image.js"),Ve=o("./node_modules/ol/source/ImageArcGISRest.js"),We=o("./node_modules/ol/source/ImageCanvas.js"),qe=o("./node_modules/ol/source/ImageMapGuide.js"),Ye=o("./node_modules/ol/source/ImageStatic.js"),He=o("./node_modules/ol/source/ImageWMS.js"),Xe=o("./node_modules/ol/source/OGCMapTile.js"),Ze=o("./node_modules/ol/source/OGCVectorTile.js"),Ke=o("./node_modules/ol/source/OSM.js"),Je=o("./node_modules/ol/source/Raster.js"),Qe=o("./node_modules/ol/source/Source.js"),$e=o("./node_modules/ol/source/Stamen.js"),et=o("./node_modules/ol/source/Tile.js"),tt=o("./node_modules/ol/source/TileArcGISRest.js"),ot=o("./node_modules/ol/source/TileDebug.js"),rt=o("./node_modules/ol/source/TileImage.js"),nt=o("./node_modules/ol/source/TileJSON.js"),it=o("./node_modules/ol/source/TileWMS.js"),st=o("./node_modules/ol/source/UTFGrid.js"),at=o("./node_modules/ol/source/UrlTile.js"),lt=o("./node_modules/ol/source/Vector.js"),ut=o("./node_modules/ol/source/VectorTile.js"),ct=o("./node_modules/ol/source/WMTS.js"),dt=o("./node_modules/ol/source/XYZ.js"),pt=o("./node_modules/ol/source/Zoomify.js"),ht=o("./node_modules/ol/source/common.js"),ft=o("./node_modules/ol/source/ogcTileUtil.js"),mt=o("./node_modules/ol/reproj/Image.js"),gt=o("./node_modules/ol/reproj/Tile.js"),yt=o("./node_modules/ol/reproj/Triangulation.js"),vt=o("./node_modules/ol/reproj/common.js"),_t=o("./node_modules/ol/renderer/Composite.js"),bt=o("./node_modules/ol/renderer/Layer.js"),At=o("./node_modules/ol/renderer/Map.js"),Ct=o("./node_modules/ol/renderer/vector.js"),Et=o("./node_modules/ol/renderer/webgl/Layer.js"),St=o("./node_modules/ol/renderer/webgl/PointsLayer.js"),wt=o("./node_modules/ol/renderer/webgl/TileLayer.js"),Ot=o("./node_modules/ol/renderer/canvas/ImageLayer.js"),It=o("./node_modules/ol/renderer/canvas/Layer.js"),xt=o("./node_modules/ol/renderer/canvas/TileLayer.js"),jt=o("./node_modules/ol/renderer/canvas/VectorImageLayer.js"),Tt=o("./node_modules/ol/renderer/canvas/VectorLayer.js"),Pt=o("./node_modules/ol/renderer/canvas/VectorTileLayer.js"),Mt=o("./node_modules/ol/render/Box.js"),Rt=o("./node_modules/ol/render/Event.js"),Lt=o("./node_modules/ol/render/Feature.js"),kt=o("./node_modules/ol/render/VectorContext.js"),Nt=o("./node_modules/ol/render/canvas.js"),Dt=o("./node_modules/ol/render/canvas/Builder.js"),Gt=o("./node_modules/ol/render/canvas/BuilderGroup.js"),Ft=o("./node_modules/ol/render/canvas/Executor.js"),Ut=o("./node_modules/ol/render/canvas/ExecutorGroup.js"),Bt=o("./node_modules/ol/render/canvas/ImageBuilder.js"),zt=o("./node_modules/ol/render/canvas/Immediate.js"),Vt=o("./node_modules/ol/render/canvas/Instruction.js"),Wt=o("./node_modules/ol/render/canvas/LineStringBuilder.js"),qt=o("./node_modules/ol/render/canvas/PolygonBuilder.js"),Yt=o("./node_modules/ol/render/canvas/TextBuilder.js"),Ht=o("./node_modules/ol/render/canvas/hitdetect.js"),Xt=o("./node_modules/ol/proj/Projection.js"),Zt=o("./node_modules/ol/proj/Units.js"),Kt=o("./node_modules/ol/proj/epsg3857.js"),Jt=o("./node_modules/ol/proj/epsg4326.js"),Qt=o("./node_modules/ol/proj/proj4.js"),$t=o("./node_modules/ol/proj/projections.js"),eo=o("./node_modules/ol/proj/transforms.js"),to=o("./node_modules/ol/layer/Base.js"),oo=o("./node_modules/ol/layer/BaseImage.js"),ro=o("./node_modules/ol/layer/BaseTile.js"),no=o("./node_modules/ol/layer/BaseVector.js"),io=o("./node_modules/ol/layer/Graticule.js"),so=o("./node_modules/ol/layer/Group.js"),ao=o("./node_modules/ol/layer/Heatmap.js"),lo=o("./node_modules/ol/layer/Image.js"),uo=o("./node_modules/ol/layer/Layer.js"),co=o("./node_modules/ol/layer/MapboxVector.js"),po=o("./node_modules/ol/layer/Tile.js"),ho=o("./node_modules/ol/layer/Vector.js"),fo=o("./node_modules/ol/layer/VectorImage.js"),mo=o("./node_modules/ol/layer/VectorTile.js"),go=o("./node_modules/ol/layer/WebGLPoints.js"),yo=o("./node_modules/ol/layer/WebGLTile.js"),vo=o("./node_modules/ol/interaction/DoubleClickZoom.js"),_o=o("./node_modules/ol/interaction/DragAndDrop.js"),bo=o("./node_modules/ol/interaction/DragBox.js"),Ao=o("./node_modules/ol/interaction/DragPan.js"),Co=o("./node_modules/ol/interaction/DragRotate.js"),Eo=o("./node_modules/ol/interaction/DragRotateAndZoom.js"),So=o("./node_modules/ol/interaction/DragZoom.js"),wo=o("./node_modules/ol/interaction/Draw.js"),Oo=o("./node_modules/ol/interaction/Extent.js"),Io=o("./node_modules/ol/interaction/Interaction.js"),xo=o("./node_modules/ol/interaction/KeyboardPan.js"),jo=o("./node_modules/ol/interaction/KeyboardZoom.js"),To=o("./node_modules/ol/interaction/Modify.js"),Po=o("./node_modules/ol/interaction/MouseWheelZoom.js"),Mo=o("./node_modules/ol/interaction/PinchRotate.js"),Ro=o("./node_modules/ol/interaction/PinchZoom.js"),Lo=o("./node_modules/ol/interaction/Pointer.js"),ko=o("./node_modules/ol/interaction/Select.js"),No=o("./node_modules/ol/interaction/Snap.js"),Do=o("./node_modules/ol/interaction/Translate.js"),Go=o("./node_modules/ol/geom/Circle.js"),Fo=o("./node_modules/ol/geom/Geometry.js"),Uo=o("./node_modules/ol/geom/GeometryCollection.js"),Bo=o("./node_modules/ol/geom/LineString.js"),zo=o("./node_modules/ol/geom/LinearRing.js"),Vo=o("./node_modules/ol/geom/MultiLineString.js"),Wo=o("./node_modules/ol/geom/MultiPoint.js"),qo=o("./node_modules/ol/geom/MultiPolygon.js"),Yo=o("./node_modules/ol/geom/Point.js"),Ho=o("./node_modules/ol/geom/Polygon.js"),Xo=o("./node_modules/ol/geom/SimpleGeometry.js"),Zo=o("./node_modules/ol/geom/flat/area.js"),Ko=o("./node_modules/ol/geom/flat/center.js"),Jo=o("./node_modules/ol/geom/flat/closest.js"),Qo=o("./node_modules/ol/geom/flat/contains.js"),$o=o("./node_modules/ol/geom/flat/deflate.js"),er=o("./node_modules/ol/geom/flat/flip.js"),tr=o("./node_modules/ol/geom/flat/geodesic.js"),or=o("./node_modules/ol/geom/flat/inflate.js"),rr=o("./node_modules/ol/geom/flat/interiorpoint.js"),nr=o("./node_modules/ol/geom/flat/interpolate.js"),ir=o("./node_modules/ol/geom/flat/intersectsextent.js"),sr=o("./node_modules/ol/geom/flat/length.js"),ar=o("./node_modules/ol/geom/flat/orient.js"),lr=o("./node_modules/ol/geom/flat/reverse.js"),ur=o("./node_modules/ol/geom/flat/segments.js"),cr=o("./node_modules/ol/geom/flat/simplify.js"),dr=o("./node_modules/ol/geom/flat/straightchunk.js"),pr=o("./node_modules/ol/geom/flat/textpath.js"),hr=o("./node_modules/ol/geom/flat/topology.js"),fr=o("./node_modules/ol/geom/flat/transform.js"),mr=o("./node_modules/ol/format/EsriJSON.js"),gr=o("./node_modules/ol/format/Feature.js"),yr=o("./node_modules/ol/format/GML.js"),vr=o("./node_modules/ol/format/GML2.js"),_r=o("./node_modules/ol/format/GML3.js"),br=o("./node_modules/ol/format/GML32.js"),Ar=o("./node_modules/ol/format/GMLBase.js"),Cr=o("./node_modules/ol/format/GPX.js"),Er=o("./node_modules/ol/format/GeoJSON.js"),Sr=o("./node_modules/ol/format/IGC.js"),wr=o("./node_modules/ol/format/IIIFInfo.js"),Or=o("./node_modules/ol/format/JSONFeature.js"),Ir=o("./node_modules/ol/format/KML.js"),xr=o("./node_modules/ol/format/MVT.js"),jr=o("./node_modules/ol/format/OSMXML.js"),Tr=o("./node_modules/ol/format/OWS.js"),Pr=o("./node_modules/ol/format/Polyline.js"),Mr=o("./node_modules/ol/format/TextFeature.js"),Rr=o("./node_modules/ol/format/TopoJSON.js"),Lr=o("./node_modules/ol/format/WFS.js"),kr=o("./node_modules/ol/format/WKB.js"),Nr=o("./node_modules/ol/format/WKT.js"),Dr=o("./node_modules/ol/format/WMSCapabilities.js"),Gr=o("./node_modules/ol/format/WMSGetFeatureInfo.js"),Fr=o("./node_modules/ol/format/WMTSCapabilities.js"),Ur=o("./node_modules/ol/format/XML.js"),Br=o("./node_modules/ol/format/XMLFeature.js"),zr=o("./node_modules/ol/format/filter.js"),Vr=o("./node_modules/ol/format/xlink.js"),Wr=o("./node_modules/ol/format/xsd.js"),qr=o("./node_modules/ol/format/filter/And.js"),Yr=o("./node_modules/ol/format/filter/Bbox.js"),Hr=o("./node_modules/ol/format/filter/Comparison.js"),Xr=o("./node_modules/ol/format/filter/ComparisonBinary.js"),Zr=o("./node_modules/ol/format/filter/Contains.js"),Kr=o("./node_modules/ol/format/filter/DWithin.js"),Jr=o("./node_modules/ol/format/filter/Disjoint.js"),Qr=o("./node_modules/ol/format/filter/During.js"),$r=o("./node_modules/ol/format/filter/EqualTo.js"),en=o("./node_modules/ol/format/filter/Filter.js"),tn=o("./node_modules/ol/format/filter/GreaterThan.js"),on=o("./node_modules/ol/format/filter/GreaterThanOrEqualTo.js"),rn=o("./node_modules/ol/format/filter/Intersects.js"),nn=o("./node_modules/ol/format/filter/IsBetween.js"),sn=o("./node_modules/ol/format/filter/IsLike.js"),an=o("./node_modules/ol/format/filter/IsNull.js"),ln=o("./node_modules/ol/format/filter/LessThan.js"),un=o("./node_modules/ol/format/filter/LessThanOrEqualTo.js"),cn=o("./node_modules/ol/format/filter/LogicalNary.js"),dn=o("./node_modules/ol/format/filter/Not.js"),pn=o("./node_modules/ol/format/filter/NotEqualTo.js"),hn=o("./node_modules/ol/format/filter/Or.js"),fn=o("./node_modules/ol/format/filter/ResourceId.js"),mn=o("./node_modules/ol/format/filter/Spatial.js"),gn=o("./node_modules/ol/format/filter/Within.js"),yn=o("./node_modules/ol/events/Event.js"),vn=o("./node_modules/ol/events/Target.js"),_n=o("./node_modules/ol/events/condition.js"),bn=o("./node_modules/ol/control/Attribution.js"),An=o("./node_modules/ol/control/Control.js"),Cn=o("./node_modules/ol/control/FullScreen.js"),En=o("./node_modules/ol/control/MousePosition.js"),Sn=o("./node_modules/ol/control/OverviewMap.js"),wn=o("./node_modules/ol/control/Rotate.js"),On=o("./node_modules/ol/control/ScaleLine.js"),In=o("./node_modules/ol/control/Zoom.js"),xn=o("./node_modules/ol/control/ZoomSlider.js"),jn=o("./node_modules/ol/control/ZoomToExtent.js"),Tn={};Tn.AssertionError=r.default,Tn.Collection=n.default,Tn.Collection.CollectionEvent=n.CollectionEvent,Tn.DataTile=i.default,Tn.Disposable=s.default,Tn.Feature=a.default,Tn.Feature.createStyleFunction=a.createStyleFunction,Tn.Geolocation=l.default,Tn.Image=u.default,Tn.Image.listenImage=u.listenImage,Tn.ImageBase=c.default,Tn.ImageCanvas=d.default,Tn.ImageTile=p.default,Tn.Kinetic=h.default,Tn.Map=f.default,Tn.MapBrowserEvent=m.default,Tn.MapBrowserEventHandler=g.default,Tn.MapEvent=y.default,Tn.Object=v.default,Tn.Object.ObjectEvent=v.ObjectEvent,Tn.Observable=_.default,Tn.Observable.unByKey=_.unByKey,Tn.Overlay=b.default,Tn.PluggableMap=A.default,Tn.Tile=C.default,Tn.TileCache=E.default,Tn.TileQueue=S.default,Tn.TileQueue.getTilePriority=S.getTilePriority,Tn.TileRange=w.default,Tn.TileRange.createOrUpdate=w.createOrUpdate,Tn.VectorRenderTile=O.default,Tn.VectorTile=I.default,Tn.View=x.default,Tn.View.createCenterConstraint=x.createCenterConstraint,Tn.View.createResolutionConstraint=x.createResolutionConstraint,Tn.View.createRotationConstraint=x.createRotationConstraint,Tn.View.isNoopAnimation=x.isNoopAnimation,Tn.array={},Tn.array.binarySearch=j.binarySearch,Tn.array.equals=j.equals,Tn.array.extend=j.extend,Tn.array.find=j.find,Tn.array.findIndex=j.findIndex,Tn.array.includes=j.includes,Tn.array.isSorted=j.isSorted,Tn.array.linearFindNearest=j.linearFindNearest,Tn.array.numberSafeCompareFunction=j.numberSafeCompareFunction,Tn.array.remove=j.remove,Tn.array.reverseSubArray=j.reverseSubArray,Tn.array.stableSort=j.stableSort,Tn.asserts={},Tn.asserts.assert=T.assert,Tn.centerconstraint={},Tn.centerconstraint.createExtent=P.createExtent,Tn.centerconstraint.none=P.none,Tn.color={},Tn.color.asArray=M.asArray,Tn.color.asString=M.asString,Tn.color.fromString=M.fromString,Tn.color.isStringColor=M.isStringColor,Tn.color.normalize=M.normalize,Tn.color.toString=M.toString,Tn.colorlike={},Tn.colorlike.asColorLike=R.asColorLike,Tn.control={},Tn.control.Attribution=bn.default,Tn.control.Control=An.default,Tn.control.FullScreen=Cn.default,Tn.control.MousePosition=En.default,Tn.control.OverviewMap=Sn.default,Tn.control.Rotate=wn.default,Tn.control.ScaleLine=On.default,Tn.control.Zoom=In.default,Tn.control.ZoomSlider=xn.default,Tn.control.ZoomToExtent=jn.default,Tn.control.defaults=L.defaults,Tn.coordinate={},Tn.coordinate.add=k.add,Tn.coordinate.closestOnCircle=k.closestOnCircle,Tn.coordinate.closestOnSegment=k.closestOnSegment,Tn.coordinate.createStringXY=k.createStringXY,Tn.coordinate.degreesToStringHDMS=k.degreesToStringHDMS,Tn.coordinate.distance=k.distance,Tn.coordinate.equals=k.equals,Tn.coordinate.format=k.format,Tn.coordinate.getWorldsAway=k.getWorldsAway,Tn.coordinate.rotate=k.rotate,Tn.coordinate.scale=k.scale,Tn.coordinate.squaredDistance=k.squaredDistance,Tn.coordinate.squaredDistanceToSegment=k.squaredDistanceToSegment,Tn.coordinate.toStringHDMS=k.toStringHDMS,Tn.coordinate.toStringXY=k.toStringXY,Tn.coordinate.wrapX=k.wrapX,Tn.css={},Tn.css.CLASS_COLLAPSED=N.CLASS_COLLAPSED,Tn.css.CLASS_CONTROL=N.CLASS_CONTROL,Tn.css.CLASS_HIDDEN=N.CLASS_HIDDEN,Tn.css.CLASS_SELECTABLE=N.CLASS_SELECTABLE,Tn.css.CLASS_UNSELECTABLE=N.CLASS_UNSELECTABLE,Tn.css.CLASS_UNSUPPORTED=N.CLASS_UNSUPPORTED,Tn.css.cssOpacity=N.cssOpacity,Tn.css.getFontParameters=N.getFontParameters,Tn.dom={},Tn.dom.createCanvasContext2D=D.createCanvasContext2D,Tn.dom.outerHeight=D.outerHeight,Tn.dom.outerWidth=D.outerWidth,Tn.dom.removeChildren=D.removeChildren,Tn.dom.removeNode=D.removeNode,Tn.dom.replaceChildren=D.replaceChildren,Tn.dom.replaceNode=D.replaceNode,Tn.easing={},Tn.easing.easeIn=G.easeIn,Tn.easing.easeOut=G.easeOut,Tn.easing.inAndOut=G.inAndOut,Tn.easing.linear=G.linear,Tn.easing.upAndDown=G.upAndDown,Tn.events={},Tn.events.Event=yn.default,Tn.events.Event.preventDefault=yn.preventDefault,Tn.events.Event.stopPropagation=yn.stopPropagation,Tn.events.Target=vn.default,Tn.events.condition={},Tn.events.condition.all=_n.all,Tn.events.condition.altKeyOnly=_n.altKeyOnly,Tn.events.condition.altShiftKeysOnly=_n.altShiftKeysOnly,Tn.events.condition.always=_n.always,Tn.events.condition.click=_n.click,Tn.events.condition.doubleClick=_n.doubleClick,Tn.events.condition.focus=_n.focus,Tn.events.condition.focusWithTabindex=_n.focusWithTabindex,Tn.events.condition.mouseActionButton=_n.mouseActionButton,Tn.events.condition.mouseOnly=_n.mouseOnly,Tn.events.condition.never=_n.never,Tn.events.condition.noModifierKeys=_n.noModifierKeys,Tn.events.condition.penOnly=_n.penOnly,Tn.events.condition.platformModifierKeyOnly=_n.platformModifierKeyOnly,Tn.events.condition.pointerMove=_n.pointerMove,Tn.events.condition.primaryAction=_n.primaryAction,Tn.events.condition.shiftKeyOnly=_n.shiftKeyOnly,Tn.events.condition.singleClick=_n.singleClick,Tn.events.condition.targetNotEditable=_n.targetNotEditable,Tn.events.condition.touchOnly=_n.touchOnly,Tn.events.listen=F.listen,Tn.events.listenOnce=F.listenOnce,Tn.events.unlistenByKey=F.unlistenByKey,Tn.extent={},Tn.extent.applyTransform=U.applyTransform,Tn.extent.approximatelyEquals=U.approximatelyEquals,Tn.extent.boundingExtent=U.boundingExtent,Tn.extent.buffer=U.buffer,Tn.extent.clone=U.clone,Tn.extent.closestSquaredDistanceXY=U.closestSquaredDistanceXY,Tn.extent.containsCoordinate=U.containsCoordinate,Tn.extent.containsExtent=U.containsExtent,Tn.extent.containsXY=U.containsXY,Tn.extent.coordinateRelationship=U.coordinateRelationship,Tn.extent.createEmpty=U.createEmpty,Tn.extent.createOrUpdate=U.createOrUpdate,Tn.extent.createOrUpdateEmpty=U.createOrUpdateEmpty,Tn.extent.createOrUpdateFromCoordinate=U.createOrUpdateFromCoordinate,Tn.extent.createOrUpdateFromCoordinates=U.createOrUpdateFromCoordinates,Tn.extent.createOrUpdateFromFlatCoordinates=U.createOrUpdateFromFlatCoordinates,Tn.extent.createOrUpdateFromRings=U.createOrUpdateFromRings,Tn.extent.equals=U.equals,Tn.extent.extend=U.extend,Tn.extent.extendCoordinate=U.extendCoordinate,Tn.extent.extendCoordinates=U.extendCoordinates,Tn.extent.extendFlatCoordinates=U.extendFlatCoordinates,Tn.extent.extendRings=U.extendRings,Tn.extent.extendXY=U.extendXY,Tn.extent.forEachCorner=U.forEachCorner,Tn.extent.getArea=U.getArea,Tn.extent.getBottomLeft=U.getBottomLeft,Tn.extent.getBottomRight=U.getBottomRight,Tn.extent.getCenter=U.getCenter,Tn.extent.getCorner=U.getCorner,Tn.extent.getEnlargedArea=U.getEnlargedArea,Tn.extent.getForViewAndSize=U.getForViewAndSize,Tn.extent.getHeight=U.getHeight,Tn.extent.getIntersection=U.getIntersection,Tn.extent.getIntersectionArea=U.getIntersectionArea,Tn.extent.getMargin=U.getMargin,Tn.extent.getSize=U.getSize,Tn.extent.getTopLeft=U.getTopLeft,Tn.extent.getTopRight=U.getTopRight,Tn.extent.getWidth=U.getWidth,Tn.extent.intersects=U.intersects,Tn.extent.intersectsSegment=U.intersectsSegment,Tn.extent.isEmpty=U.isEmpty,Tn.extent.returnOrUpdate=U.returnOrUpdate,Tn.extent.scaleFromCenter=U.scaleFromCenter,Tn.extent.wrapX=U.wrapX,Tn.featureloader={},Tn.featureloader.loadFeaturesXhr=B.loadFeaturesXhr,Tn.featureloader.setWithCredentials=B.setWithCredentials,Tn.featureloader.xhr=B.xhr,Tn.format={},Tn.format.EsriJSON=mr.default,Tn.format.Feature=gr.default,Tn.format.Feature.transformExtentWithOptions=gr.transformExtentWithOptions,Tn.format.Feature.transformGeometryWithOptions=gr.transformGeometryWithOptions,Tn.format.GML=yr.default,Tn.format.GML2=vr.default,Tn.format.GML3=_r.default,Tn.format.GML32=br.default,Tn.format.GMLBase=Ar.default,Tn.format.GMLBase.GMLNS=Ar.GMLNS,Tn.format.GPX=Cr.default,Tn.format.GeoJSON=Er.default,Tn.format.IGC=Sr.default,Tn.format.IIIFInfo=wr.default,Tn.format.JSONFeature=Or.default,Tn.format.KML=Ir.default,Tn.format.KML.getDefaultFillStyle=Ir.getDefaultFillStyle,Tn.format.KML.getDefaultImageStyle=Ir.getDefaultImageStyle,Tn.format.KML.getDefaultStrokeStyle=Ir.getDefaultStrokeStyle,Tn.format.KML.getDefaultStyle=Ir.getDefaultStyle,Tn.format.KML.getDefaultStyleArray=Ir.getDefaultStyleArray,Tn.format.KML.getDefaultTextStyle=Ir.getDefaultTextStyle,Tn.format.KML.readFlatCoordinates=Ir.readFlatCoordinates,Tn.format.MVT=xr.default,Tn.format.OSMXML=jr.default,Tn.format.OWS=Tr.default,Tn.format.Polyline=Pr.default,Tn.format.Polyline.decodeDeltas=Pr.decodeDeltas,Tn.format.Polyline.decodeFloats=Pr.decodeFloats,Tn.format.Polyline.decodeSignedIntegers=Pr.decodeSignedIntegers,Tn.format.Polyline.decodeUnsignedIntegers=Pr.decodeUnsignedIntegers,Tn.format.Polyline.encodeDeltas=Pr.encodeDeltas,Tn.format.Polyline.encodeFloats=Pr.encodeFloats,Tn.format.Polyline.encodeSignedIntegers=Pr.encodeSignedIntegers,Tn.format.Polyline.encodeUnsignedInteger=Pr.encodeUnsignedInteger,Tn.format.Polyline.encodeUnsignedIntegers=Pr.encodeUnsignedIntegers,Tn.format.TextFeature=Mr.default,Tn.format.TopoJSON=Rr.default,Tn.format.WFS=Lr.default,Tn.format.WFS.writeFilter=Lr.writeFilter,Tn.format.WKB=kr.default,Tn.format.WKT=Nr.default,Tn.format.WMSCapabilities=Dr.default,Tn.format.WMSGetFeatureInfo=Gr.default,Tn.format.WMTSCapabilities=Fr.default,Tn.format.XML=Ur.default,Tn.format.XMLFeature=Br.default,Tn.format.filter={},Tn.format.filter.And=qr.default,Tn.format.filter.Bbox=Yr.default,Tn.format.filter.Comparison=Hr.default,Tn.format.filter.ComparisonBinary=Xr.default,Tn.format.filter.Contains=Zr.default,Tn.format.filter.DWithin=Kr.default,Tn.format.filter.Disjoint=Jr.default,Tn.format.filter.During=Qr.default,Tn.format.filter.EqualTo=$r.default,Tn.format.filter.Filter=en.default,Tn.format.filter.GreaterThan=tn.default,Tn.format.filter.GreaterThanOrEqualTo=on.default,Tn.format.filter.Intersects=rn.default,Tn.format.filter.IsBetween=nn.default,Tn.format.filter.IsLike=sn.default,Tn.format.filter.IsNull=an.default,Tn.format.filter.LessThan=ln.default,Tn.format.filter.LessThanOrEqualTo=un.default,Tn.format.filter.LogicalNary=cn.default,Tn.format.filter.Not=dn.default,Tn.format.filter.NotEqualTo=pn.default,Tn.format.filter.Or=hn.default,Tn.format.filter.ResourceId=fn.default,Tn.format.filter.Spatial=mn.default,Tn.format.filter.Within=gn.default,Tn.format.filter.and=zr.and,Tn.format.filter.bbox=zr.bbox,Tn.format.filter.between=zr.between,Tn.format.filter.contains=zr.contains,Tn.format.filter.disjoint=zr.disjoint,Tn.format.filter.during=zr.during,Tn.format.filter.dwithin=zr.dwithin,Tn.format.filter.equalTo=zr.equalTo,Tn.format.filter.greaterThan=zr.greaterThan,Tn.format.filter.greaterThanOrEqualTo=zr.greaterThanOrEqualTo,Tn.format.filter.intersects=zr.intersects,Tn.format.filter.isNull=zr.isNull,Tn.format.filter.lessThan=zr.lessThan,Tn.format.filter.lessThanOrEqualTo=zr.lessThanOrEqualTo,Tn.format.filter.like=zr.like,Tn.format.filter.not=zr.not,Tn.format.filter.notEqualTo=zr.notEqualTo,Tn.format.filter.or=zr.or,Tn.format.filter.resourceId=zr.resourceId,Tn.format.filter.within=zr.within,Tn.format.xlink={},Tn.format.xlink.readHref=Vr.readHref,Tn.format.xsd={},Tn.format.xsd.readBoolean=Wr.readBoolean,Tn.format.xsd.readBooleanString=Wr.readBooleanString,Tn.format.xsd.readDateTime=Wr.readDateTime,Tn.format.xsd.readDecimal=Wr.readDecimal,Tn.format.xsd.readDecimalString=Wr.readDecimalString,Tn.format.xsd.readNonNegativeIntegerString=Wr.readNonNegativeIntegerString,Tn.format.xsd.readPositiveInteger=Wr.readPositiveInteger,Tn.format.xsd.readString=Wr.readString,Tn.format.xsd.writeBooleanTextNode=Wr.writeBooleanTextNode,Tn.format.xsd.writeCDATASection=Wr.writeCDATASection,Tn.format.xsd.writeDateTimeTextNode=Wr.writeDateTimeTextNode,Tn.format.xsd.writeDecimalTextNode=Wr.writeDecimalTextNode,Tn.format.xsd.writeNonNegativeIntegerTextNode=Wr.writeNonNegativeIntegerTextNode,Tn.format.xsd.writeStringTextNode=Wr.writeStringTextNode,Tn.functions={},Tn.functions.FALSE=z.FALSE,Tn.functions.TRUE=z.TRUE,Tn.functions.VOID=z.VOID,Tn.functions.memoizeOne=z.memoizeOne,Tn.geom={},Tn.geom.Circle=Go.default,Tn.geom.Geometry=Fo.default,Tn.geom.GeometryCollection=Uo.default,Tn.geom.LineString=Bo.default,Tn.geom.LinearRing=zo.default,Tn.geom.MultiLineString=Vo.default,Tn.geom.MultiPoint=Wo.default,Tn.geom.MultiPolygon=qo.default,Tn.geom.Point=Yo.default,Tn.geom.Polygon=Ho.default,Tn.geom.Polygon.circular=Ho.circular,Tn.geom.Polygon.fromCircle=Ho.fromCircle,Tn.geom.Polygon.fromExtent=Ho.fromExtent,Tn.geom.Polygon.makeRegular=Ho.makeRegular,Tn.geom.SimpleGeometry=Xo.default,Tn.geom.SimpleGeometry.getStrideForLayout=Xo.getStrideForLayout,Tn.geom.SimpleGeometry.transformGeom2D=Xo.transformGeom2D,Tn.geom.flat={},Tn.geom.flat.area={},Tn.geom.flat.area.linearRing=Zo.linearRing,Tn.geom.flat.area.linearRings=Zo.linearRings,Tn.geom.flat.area.linearRingss=Zo.linearRingss,Tn.geom.flat.center={},Tn.geom.flat.center.linearRingss=Ko.linearRingss,Tn.geom.flat.closest={},Tn.geom.flat.closest.arrayMaxSquaredDelta=Jo.arrayMaxSquaredDelta,Tn.geom.flat.closest.assignClosestArrayPoint=Jo.assignClosestArrayPoint,Tn.geom.flat.closest.assignClosestMultiArrayPoint=Jo.assignClosestMultiArrayPoint,Tn.geom.flat.closest.assignClosestPoint=Jo.assignClosestPoint,Tn.geom.flat.closest.maxSquaredDelta=Jo.maxSquaredDelta,Tn.geom.flat.closest.multiArrayMaxSquaredDelta=Jo.multiArrayMaxSquaredDelta,Tn.geom.flat.contains={},Tn.geom.flat.contains.linearRingContainsExtent=Qo.linearRingContainsExtent,Tn.geom.flat.contains.linearRingContainsXY=Qo.linearRingContainsXY,Tn.geom.flat.contains.linearRingsContainsXY=Qo.linearRingsContainsXY,Tn.geom.flat.contains.linearRingssContainsXY=Qo.linearRingssContainsXY,Tn.geom.flat.deflate={},Tn.geom.flat.deflate.deflateCoordinate=$o.deflateCoordinate,Tn.geom.flat.deflate.deflateCoordinates=$o.deflateCoordinates,Tn.geom.flat.deflate.deflateCoordinatesArray=$o.deflateCoordinatesArray,Tn.geom.flat.deflate.deflateMultiCoordinatesArray=$o.deflateMultiCoordinatesArray,Tn.geom.flat.flip={},Tn.geom.flat.flip.flipXY=er.flipXY,Tn.geom.flat.geodesic={},Tn.geom.flat.geodesic.greatCircleArc=tr.greatCircleArc,Tn.geom.flat.geodesic.meridian=tr.meridian,Tn.geom.flat.geodesic.parallel=tr.parallel,Tn.geom.flat.inflate={},Tn.geom.flat.inflate.inflateCoordinates=or.inflateCoordinates,Tn.geom.flat.inflate.inflateCoordinatesArray=or.inflateCoordinatesArray,Tn.geom.flat.inflate.inflateMultiCoordinatesArray=or.inflateMultiCoordinatesArray,Tn.geom.flat.interiorpoint={},Tn.geom.flat.interiorpoint.getInteriorPointOfArray=rr.getInteriorPointOfArray,Tn.geom.flat.interiorpoint.getInteriorPointsOfMultiArray=rr.getInteriorPointsOfMultiArray,Tn.geom.flat.interpolate={},Tn.geom.flat.interpolate.interpolatePoint=nr.interpolatePoint,Tn.geom.flat.interpolate.lineStringCoordinateAtM=nr.lineStringCoordinateAtM,Tn.geom.flat.interpolate.lineStringsCoordinateAtM=nr.lineStringsCoordinateAtM,Tn.geom.flat.intersectsextent={},Tn.geom.flat.intersectsextent.intersectsLineString=ir.intersectsLineString,Tn.geom.flat.intersectsextent.intersectsLineStringArray=ir.intersectsLineStringArray,Tn.geom.flat.intersectsextent.intersectsLinearRing=ir.intersectsLinearRing,Tn.geom.flat.intersectsextent.intersectsLinearRingArray=ir.intersectsLinearRingArray,Tn.geom.flat.intersectsextent.intersectsLinearRingMultiArray=ir.intersectsLinearRingMultiArray,Tn.geom.flat.length={},Tn.geom.flat.length.lineStringLength=sr.lineStringLength,Tn.geom.flat.length.linearRingLength=sr.linearRingLength,Tn.geom.flat.orient={},Tn.geom.flat.orient.linearRingIsClockwise=ar.linearRingIsClockwise,Tn.geom.flat.orient.linearRingsAreOriented=ar.linearRingsAreOriented,Tn.geom.flat.orient.linearRingssAreOriented=ar.linearRingssAreOriented,Tn.geom.flat.orient.orientLinearRings=ar.orientLinearRings,Tn.geom.flat.orient.orientLinearRingsArray=ar.orientLinearRingsArray,Tn.geom.flat.reverse={},Tn.geom.flat.reverse.coordinates=lr.coordinates,Tn.geom.flat.segments={},Tn.geom.flat.segments.forEach=ur.forEach,Tn.geom.flat.simplify={},Tn.geom.flat.simplify.douglasPeucker=cr.douglasPeucker,Tn.geom.flat.simplify.douglasPeuckerArray=cr.douglasPeuckerArray,Tn.geom.flat.simplify.douglasPeuckerMultiArray=cr.douglasPeuckerMultiArray,Tn.geom.flat.simplify.quantize=cr.quantize,Tn.geom.flat.simplify.quantizeArray=cr.quantizeArray,Tn.geom.flat.simplify.quantizeMultiArray=cr.quantizeMultiArray,Tn.geom.flat.simplify.radialDistance=cr.radialDistance,Tn.geom.flat.simplify.simplifyLineString=cr.simplifyLineString,Tn.geom.flat.simplify.snap=cr.snap,Tn.geom.flat.straightchunk={},Tn.geom.flat.straightchunk.matchingChunk=dr.matchingChunk,Tn.geom.flat.textpath={},Tn.geom.flat.textpath.drawTextOnPath=pr.drawTextOnPath,Tn.geom.flat.topology={},Tn.geom.flat.topology.lineStringIsClosed=hr.lineStringIsClosed,Tn.geom.flat.transform={},Tn.geom.flat.transform.rotate=fr.rotate,Tn.geom.flat.transform.scale=fr.scale,Tn.geom.flat.transform.transform2D=fr.transform2D,Tn.geom.flat.transform.translate=fr.translate,Tn.has={},Tn.has.DEVICE_PIXEL_RATIO=V.DEVICE_PIXEL_RATIO,Tn.has.FIREFOX=V.FIREFOX,Tn.has.IMAGE_DECODE=V.IMAGE_DECODE,Tn.has.MAC=V.MAC,Tn.has.PASSIVE_EVENT_LISTENERS=V.PASSIVE_EVENT_LISTENERS,Tn.has.SAFARI=V.SAFARI,Tn.has.WEBKIT=V.WEBKIT,Tn.has.WORKER_OFFSCREEN_CANVAS=V.WORKER_OFFSCREEN_CANVAS,Tn.interaction={},Tn.interaction.DoubleClickZoom=vo.default,Tn.interaction.DragAndDrop=_o.default,Tn.interaction.DragAndDrop.DragAndDropEvent=_o.DragAndDropEvent,Tn.interaction.DragBox=bo.default,Tn.interaction.DragBox.DragBoxEvent=bo.DragBoxEvent,Tn.interaction.DragPan=Ao.default,Tn.interaction.DragRotate=Co.default,Tn.interaction.DragRotateAndZoom=Eo.default,Tn.interaction.DragZoom=So.default,Tn.interaction.Draw=wo.default,Tn.interaction.Draw.DrawEvent=wo.DrawEvent,Tn.interaction.Draw.createBox=wo.createBox,Tn.interaction.Draw.createRegularPolygon=wo.createRegularPolygon,Tn.interaction.Extent=Oo.default,Tn.interaction.Extent.ExtentEvent=Oo.ExtentEvent,Tn.interaction.Interaction=Io.default,Tn.interaction.Interaction.pan=Io.pan,Tn.interaction.Interaction.zoomByDelta=Io.zoomByDelta,Tn.interaction.KeyboardPan=xo.default,Tn.interaction.KeyboardZoom=jo.default,Tn.interaction.Modify=To.default,Tn.interaction.Modify.ModifyEvent=To.ModifyEvent,Tn.interaction.MouseWheelZoom=Po.default,Tn.interaction.PinchRotate=Mo.default,Tn.interaction.PinchZoom=Ro.default,Tn.interaction.Pointer=Lo.default,Tn.interaction.Pointer.centroid=Lo.centroid,Tn.interaction.Select=ko.default,Tn.interaction.Select.SelectEvent=ko.SelectEvent,Tn.interaction.Snap=No.default,Tn.interaction.Translate=Do.default,Tn.interaction.Translate.TranslateEvent=Do.TranslateEvent,Tn.interaction.defaults=W.defaults,Tn.layer={},Tn.layer.Base=to.default,Tn.layer.BaseImage=oo.default,Tn.layer.BaseTile=ro.default,Tn.layer.BaseVector=no.default,Tn.layer.Graticule=io.default,Tn.layer.Group=so.default,Tn.layer.Heatmap=ao.default,Tn.layer.Image=lo.default,Tn.layer.Layer=uo.default,Tn.layer.Layer.inView=uo.inView,Tn.layer.MapboxVector=co.default,Tn.layer.MapboxVector.getMapboxPath=co.getMapboxPath,Tn.layer.MapboxVector.normalizeGlyphsUrl=co.normalizeGlyphsUrl,Tn.layer.MapboxVector.normalizeSourceUrl=co.normalizeSourceUrl,Tn.layer.MapboxVector.normalizeSpriteUrl=co.normalizeSpriteUrl,Tn.layer.MapboxVector.normalizeStyleUrl=co.normalizeStyleUrl,Tn.layer.Tile=po.default,Tn.layer.Vector=ho.default,Tn.layer.VectorImage=fo.default,Tn.layer.VectorTile=mo.default,Tn.layer.WebGLPoints=go.default,Tn.layer.WebGLTile=yo.default,Tn.loadingstrategy={},Tn.loadingstrategy.all=q.all,Tn.loadingstrategy.bbox=q.bbox,Tn.loadingstrategy.tile=q.tile,Tn.math={},Tn.math.clamp=Y.clamp,Tn.math.cosh=Y.cosh,Tn.math.lerp=Y.lerp,Tn.math.log2=Y.log2,Tn.math.modulo=Y.modulo,Tn.math.solveLinearSystem=Y.solveLinearSystem,Tn.math.squaredDistance=Y.squaredDistance,Tn.math.squaredSegmentDistance=Y.squaredSegmentDistance,Tn.math.toDegrees=Y.toDegrees,Tn.math.toRadians=Y.toRadians,Tn.net={},Tn.net.ClientError=H.ClientError,Tn.net.ResponseError=H.ResponseError,Tn.net.getJSON=H.getJSON,Tn.net.jsonp=H.jsonp,Tn.net.overrideXHR=H.overrideXHR,Tn.net.resolveUrl=H.resolveUrl,Tn.net.restoreXHR=H.restoreXHR,Tn.obj={},Tn.obj.assign=X.assign,Tn.obj.clear=X.clear,Tn.obj.getValues=X.getValues,Tn.obj.isEmpty=X.isEmpty,Tn.proj={},Tn.proj.Projection=Xt.default,Tn.proj.Units={},Tn.proj.Units.METERS_PER_UNIT=Zt.METERS_PER_UNIT,Tn.proj.Units.fromCode=Zt.fromCode,Tn.proj.addCommon=Z.addCommon,Tn.proj.addCoordinateTransforms=Z.addCoordinateTransforms,Tn.proj.addEquivalentProjections=Z.addEquivalentProjections,Tn.proj.addEquivalentTransforms=Z.addEquivalentTransforms,Tn.proj.addProjection=Z.addProjection,Tn.proj.addProjections=Z.addProjections,Tn.proj.clearAllProjections=Z.clearAllProjections,Tn.proj.clearUserProjection=Z.clearUserProjection,Tn.proj.cloneTransform=Z.cloneTransform,Tn.proj.createProjection=Z.createProjection,Tn.proj.createSafeCoordinateTransform=Z.createSafeCoordinateTransform,Tn.proj.createTransformFromCoordinateTransform=Z.createTransformFromCoordinateTransform,Tn.proj.epsg3857={},Tn.proj.epsg3857.EXTENT=Kt.EXTENT,Tn.proj.epsg3857.HALF_SIZE=Kt.HALF_SIZE,Tn.proj.epsg3857.MAX_SAFE_Y=Kt.MAX_SAFE_Y,Tn.proj.epsg3857.PROJECTIONS=Kt.PROJECTIONS,Tn.proj.epsg3857.RADIUS=Kt.RADIUS,Tn.proj.epsg3857.WORLD_EXTENT=Kt.WORLD_EXTENT,Tn.proj.epsg3857.fromEPSG4326=Kt.fromEPSG4326,Tn.proj.epsg3857.toEPSG4326=Kt.toEPSG4326,Tn.proj.epsg4326={},Tn.proj.epsg4326.EXTENT=Jt.EXTENT,Tn.proj.epsg4326.METERS_PER_UNIT=Jt.METERS_PER_UNIT,Tn.proj.epsg4326.PROJECTIONS=Jt.PROJECTIONS,Tn.proj.epsg4326.RADIUS=Jt.RADIUS,Tn.proj.equivalent=Z.equivalent,Tn.proj.fromLonLat=Z.fromLonLat,Tn.proj.fromUserCoordinate=Z.fromUserCoordinate,Tn.proj.fromUserExtent=Z.fromUserExtent,Tn.proj.fromUserResolution=Z.fromUserResolution,Tn.proj.get=Z.get,Tn.proj.getPointResolution=Z.getPointResolution,Tn.proj.getTransform=Z.getTransform,Tn.proj.getTransformFromProjections=Z.getTransformFromProjections,Tn.proj.getUserProjection=Z.getUserProjection,Tn.proj.identityTransform=Z.identityTransform,Tn.proj.proj4={},Tn.proj.proj4.register=Qt.register,Tn.proj.projections={},Tn.proj.projections.add=$t.add,Tn.proj.projections.clear=$t.clear,Tn.proj.projections.get=$t.get,Tn.proj.setUserProjection=Z.setUserProjection,Tn.proj.toLonLat=Z.toLonLat,Tn.proj.toUserCoordinate=Z.toUserCoordinate,Tn.proj.toUserExtent=Z.toUserExtent,Tn.proj.toUserResolution=Z.toUserResolution,Tn.proj.transform=Z.transform,Tn.proj.transformExtent=Z.transformExtent,Tn.proj.transformWithProjections=Z.transformWithProjections,Tn.proj.transforms={},Tn.proj.transforms.add=eo.add,Tn.proj.transforms.clear=eo.clear,Tn.proj.transforms.get=eo.get,Tn.proj.transforms.remove=eo.remove,Tn.proj.useGeographic=Z.useGeographic,Tn.render={},Tn.render.Box=Mt.default,Tn.render.Event=Rt.default,Tn.render.Feature=Lt.default,Tn.render.VectorContext=kt.default,Tn.render.canvas={},Tn.render.canvas.Builder=Dt.default,Tn.render.canvas.BuilderGroup=Gt.default,Tn.render.canvas.Executor=Ft.default,Tn.render.canvas.ExecutorGroup=Ut.default,Tn.render.canvas.ExecutorGroup.getPixelIndexArray=Ut.getPixelIndexArray,Tn.render.canvas.ImageBuilder=Bt.default,Tn.render.canvas.Immediate=zt.default,Tn.render.canvas.Instruction={},Tn.render.canvas.Instruction.beginPathInstruction=Vt.beginPathInstruction,Tn.render.canvas.Instruction.closePathInstruction=Vt.closePathInstruction,Tn.render.canvas.Instruction.fillInstruction=Vt.fillInstruction,Tn.render.canvas.Instruction.strokeInstruction=Vt.strokeInstruction,Tn.render.canvas.LineStringBuilder=Wt.default,Tn.render.canvas.PolygonBuilder=qt.default,Tn.render.canvas.TextBuilder=Yt.default,Tn.render.canvas.checkedFonts=Nt.checkedFonts,Tn.render.canvas.defaultFillStyle=Nt.defaultFillStyle,Tn.render.canvas.defaultFont=Nt.defaultFont,Tn.render.canvas.defaultLineCap=Nt.defaultLineCap,Tn.render.canvas.defaultLineDash=Nt.defaultLineDash,Tn.render.canvas.defaultLineDashOffset=Nt.defaultLineDashOffset,Tn.render.canvas.defaultLineJoin=Nt.defaultLineJoin,Tn.render.canvas.defaultLineWidth=Nt.defaultLineWidth,Tn.render.canvas.defaultMiterLimit=Nt.defaultMiterLimit,Tn.render.canvas.defaultPadding=Nt.defaultPadding,Tn.render.canvas.defaultStrokeStyle=Nt.defaultStrokeStyle,Tn.render.canvas.defaultTextAlign=Nt.defaultTextAlign,Tn.render.canvas.defaultTextBaseline=Nt.defaultTextBaseline,Tn.render.canvas.drawImageOrLabel=Nt.drawImageOrLabel,Tn.render.canvas.hitdetect={},Tn.render.canvas.hitdetect.HIT_DETECT_RESOLUTION=Ht.HIT_DETECT_RESOLUTION,Tn.render.canvas.hitdetect.createHitDetectionImageData=Ht.createHitDetectionImageData,Tn.render.canvas.hitdetect.hitDetect=Ht.hitDetect,Tn.render.canvas.labelCache=Nt.labelCache,Tn.render.canvas.measureAndCacheTextWidth=Nt.measureAndCacheTextWidth,Tn.render.canvas.measureTextHeight=Nt.measureTextHeight,Tn.render.canvas.measureTextWidth=Nt.measureTextWidth,Tn.render.canvas.measureTextWidths=Nt.measureTextWidths,Tn.render.canvas.registerFont=Nt.registerFont,Tn.render.canvas.rotateAtOffset=Nt.rotateAtOffset,Tn.render.canvas.textHeights=Nt.textHeights,Tn.render.getRenderPixel=K.getRenderPixel,Tn.render.getVectorContext=K.getVectorContext,Tn.render.toContext=K.toContext,Tn.renderer={},Tn.renderer.Composite=_t.default,Tn.renderer.Layer=bt.default,Tn.renderer.Map=At.default,Tn.renderer.canvas={},Tn.renderer.canvas.ImageLayer=Ot.default,Tn.renderer.canvas.Layer=It.default,Tn.renderer.canvas.TileLayer=xt.default,Tn.renderer.canvas.VectorImageLayer=jt.default,Tn.renderer.canvas.VectorLayer=Tt.default,Tn.renderer.canvas.VectorTileLayer=Pt.default,Tn.renderer.vector={},Tn.renderer.vector.defaultOrder=Ct.defaultOrder,Tn.renderer.vector.getSquaredTolerance=Ct.getSquaredTolerance,Tn.renderer.vector.getTolerance=Ct.getTolerance,Tn.renderer.vector.renderFeature=Ct.renderFeature,Tn.renderer.webgl={},Tn.renderer.webgl.Layer=Et.default,Tn.renderer.webgl.Layer.colorDecodeId=Et.colorDecodeId,Tn.renderer.webgl.Layer.colorEncodeId=Et.colorEncodeId,Tn.renderer.webgl.Layer.getBlankImageData=Et.getBlankImageData,Tn.renderer.webgl.Layer.writePointFeatureToBuffers=Et.writePointFeatureToBuffers,Tn.renderer.webgl.PointsLayer=St.default,Tn.renderer.webgl.TileLayer=wt.default,Tn.renderer.webgl.TileLayer.Attributes=wt.Attributes,Tn.renderer.webgl.TileLayer.Uniforms=wt.Uniforms,Tn.reproj={},Tn.reproj.Image=mt.default,Tn.reproj.Tile=gt.default,Tn.reproj.Triangulation=yt.default,Tn.reproj.calculateSourceExtentResolution=J.calculateSourceExtentResolution,Tn.reproj.calculateSourceResolution=J.calculateSourceResolution,Tn.reproj.common={},Tn.reproj.common.ENABLE_RASTER_REPROJECTION=vt.ENABLE_RASTER_REPROJECTION,Tn.reproj.common.ERROR_THRESHOLD=vt.ERROR_THRESHOLD,Tn.reproj.render=J.render,Tn.resolutionconstraint={},Tn.resolutionconstraint.createMinMaxResolution=Q.createMinMaxResolution,Tn.resolutionconstraint.createSnapToPower=Q.createSnapToPower,Tn.resolutionconstraint.createSnapToResolutions=Q.createSnapToResolutions,Tn.rotationconstraint={},Tn.rotationconstraint.createSnapToN=$.createSnapToN,Tn.rotationconstraint.createSnapToZero=$.createSnapToZero,Tn.rotationconstraint.disable=$.disable,Tn.rotationconstraint.none=$.none,Tn.size={},Tn.size.buffer=ee.buffer,Tn.size.hasArea=ee.hasArea,Tn.size.scale=ee.scale,Tn.size.toSize=ee.toSize,Tn.source={},Tn.source.BingMaps=Ne.default,Tn.source.BingMaps.quadKey=Ne.quadKey,Tn.source.CartoDB=De.default,Tn.source.Cluster=Ge.default,Tn.source.DataTile=Fe.default,Tn.source.GeoTIFF=Ue.default,Tn.source.IIIF=Be.default,Tn.source.Image=ze.default,Tn.source.Image.ImageSourceEvent=ze.ImageSourceEvent,Tn.source.Image.defaultImageLoadFunction=ze.defaultImageLoadFunction,Tn.source.ImageArcGISRest=Ve.default,Tn.source.ImageCanvas=We.default,Tn.source.ImageMapGuide=qe.default,Tn.source.ImageStatic=Ye.default,Tn.source.ImageWMS=He.default,Tn.source.OGCMapTile=Xe.default,Tn.source.OGCVectorTile=Ze.default,Tn.source.OSM=Ke.default,Tn.source.OSM.ATTRIBUTION=Ke.ATTRIBUTION,Tn.source.Raster=Je.default,Tn.source.Raster.Processor=Je.Processor,Tn.source.Raster.RasterSourceEvent=Je.RasterSourceEvent,Tn.source.Raster.newImageData=Je.newImageData,Tn.source.Source=Qe.default,Tn.source.Stamen=$e.default,Tn.source.Tile=et.default,Tn.source.Tile.TileSourceEvent=et.TileSourceEvent,Tn.source.TileArcGISRest=tt.default,Tn.source.TileDebug=ot.default,Tn.source.TileImage=rt.default,Tn.source.TileJSON=nt.default,Tn.source.TileWMS=it.default,Tn.source.UTFGrid=st.default,Tn.source.UTFGrid.CustomTile=st.CustomTile,Tn.source.UrlTile=at.default,Tn.source.Vector=lt.default,Tn.source.Vector.VectorSourceEvent=lt.VectorSourceEvent,Tn.source.VectorTile=ut.default,Tn.source.VectorTile.defaultLoadFunction=ut.defaultLoadFunction,Tn.source.WMTS=ct.default,Tn.source.WMTS.optionsFromCapabilities=ct.optionsFromCapabilities,Tn.source.XYZ=dt.default,Tn.source.Zoomify=pt.default,Tn.source.Zoomify.CustomTile=pt.CustomTile,Tn.source.common={},Tn.source.common.DEFAULT_WMS_VERSION=ht.DEFAULT_WMS_VERSION,Tn.source.common.IMAGE_SMOOTHING_DISABLED=ht.IMAGE_SMOOTHING_DISABLED,Tn.source.ogcTileUtil={},Tn.source.ogcTileUtil.getMapTileUrlTemplate=ft.getMapTileUrlTemplate,Tn.source.ogcTileUtil.getTileSetInfo=ft.getTileSetInfo,Tn.source.ogcTileUtil.getVectorTileUrlTemplate=ft.getVectorTileUrlTemplate,Tn.sphere={},Tn.sphere.DEFAULT_RADIUS=te.DEFAULT_RADIUS,Tn.sphere.getArea=te.getArea,Tn.sphere.getDistance=te.getDistance,Tn.sphere.getLength=te.getLength,Tn.sphere.offset=te.offset,Tn.string={},Tn.string.compareVersions=oe.compareVersions,Tn.string.padNumber=oe.padNumber,Tn.structs={},Tn.structs.LRUCache=Me.default,Tn.structs.LinkedList=Re.default,Tn.structs.PriorityQueue=Le.default,Tn.structs.PriorityQueue.DROP=Le.DROP,Tn.structs.RBush=ke.default,Tn.style={},Tn.style.Circle=Ae.default,Tn.style.Fill=Ce.default,Tn.style.Icon=Ee.default,Tn.style.IconImage=Se.default,Tn.style.IconImage.get=Se.get,Tn.style.IconImageCache=we.default,Tn.style.IconImageCache.shared=we.shared,Tn.style.Image=Oe.default,Tn.style.RegularShape=Ie.default,Tn.style.Stroke=xe.default,Tn.style.Style=je.default,Tn.style.Style.createDefaultStyle=je.createDefaultStyle,Tn.style.Style.createEditingStyle=je.createEditingStyle,Tn.style.Style.toFunction=je.toFunction,Tn.style.Text=Te.default,Tn.style.expressions={},Tn.style.expressions.Operators=Pe.Operators,Tn.style.expressions.arrayToGlsl=Pe.arrayToGlsl,Tn.style.expressions.colorToGlsl=Pe.colorToGlsl,Tn.style.expressions.expressionToGlsl=Pe.expressionToGlsl,Tn.style.expressions.getStringNumberEquivalent=Pe.getStringNumberEquivalent,Tn.style.expressions.getValueType=Pe.getValueType,Tn.style.expressions.isTypeUnique=Pe.isTypeUnique,Tn.style.expressions.numberToGlsl=Pe.numberToGlsl,Tn.style.expressions.stringToGlsl=Pe.stringToGlsl,Tn.style.expressions.uniformNameForVariable=Pe.uniformNameForVariable,Tn.tilecoord={},Tn.tilecoord.createOrUpdate=re.createOrUpdate,Tn.tilecoord.fromKey=re.fromKey,Tn.tilecoord.getCacheKeyForTileKey=re.getCacheKeyForTileKey,Tn.tilecoord.getKey=re.getKey,Tn.tilecoord.getKeyZXY=re.getKeyZXY,Tn.tilecoord.hash=re.hash,Tn.tilecoord.withinExtentAndZ=re.withinExtentAndZ,Tn.tilegrid={},Tn.tilegrid.TileGrid=ve.default,Tn.tilegrid.WMTS=_e.default,Tn.tilegrid.WMTS.createFromCapabilitiesMatrixSet=_e.createFromCapabilitiesMatrixSet,Tn.tilegrid.common={},Tn.tilegrid.common.DEFAULT_MAX_ZOOM=be.DEFAULT_MAX_ZOOM,Tn.tilegrid.common.DEFAULT_TILE_SIZE=be.DEFAULT_TILE_SIZE,Tn.tilegrid.createForExtent=ne.createForExtent,Tn.tilegrid.createForProjection=ne.createForProjection,Tn.tilegrid.createXYZ=ne.createXYZ,Tn.tilegrid.extentFromProjection=ne.extentFromProjection,Tn.tilegrid.getForProjection=ne.getForProjection,Tn.tilegrid.wrapX=ne.wrapX,Tn.tileurlfunction={},Tn.tileurlfunction.createFromTemplate=ie.createFromTemplate,Tn.tileurlfunction.createFromTemplates=ie.createFromTemplates,Tn.tileurlfunction.createFromTileUrlFunctions=ie.createFromTileUrlFunctions,Tn.tileurlfunction.expandUrl=ie.expandUrl,Tn.tileurlfunction.nullTileUrlFunction=ie.nullTileUrlFunction,Tn.transform={},Tn.transform.apply=se.apply,Tn.transform.compose=se.compose,Tn.transform.composeCssTransform=se.composeCssTransform,Tn.transform.create=se.create,Tn.transform.determinant=se.determinant,Tn.transform.invert=se.invert,Tn.transform.makeInverse=se.makeInverse,Tn.transform.makeScale=se.makeScale,Tn.transform.multiply=se.multiply,Tn.transform.reset=se.reset,Tn.transform.rotate=se.rotate;Tn.transform.scale=se.scale,Tn.transform.set=se.set,Tn.transform.setFromArray=se.setFromArray,Tn.transform.toString=se.toString,Tn.transform.translate=se.translate,Tn.uri={},Tn.uri.appendParams=ae.appendParams,Tn.util={},Tn.util.VERSION=le.VERSION,Tn.util.abstract=le.abstract,Tn.util.getUid=le.getUid,Tn.vec={},Tn.vec.mat4={},Tn.vec.mat4.create=ye.create,Tn.vec.mat4.fromTransform=ye.fromTransform,Tn.webgl={},Tn.webgl.ARRAY_BUFFER=ue.ARRAY_BUFFER,Tn.webgl.Buffer=de.default,Tn.webgl.Buffer.getArrayClassForType=de.getArrayClassForType,Tn.webgl.DYNAMIC_DRAW=ue.DYNAMIC_DRAW,Tn.webgl.ELEMENT_ARRAY_BUFFER=ue.ELEMENT_ARRAY_BUFFER,Tn.webgl.FLOAT=ue.FLOAT,Tn.webgl.Helper=pe.default,Tn.webgl.Helper.computeAttributesStride=pe.computeAttributesStride,Tn.webgl.PostProcessingPass=he.default,Tn.webgl.RenderTarget=fe.default,Tn.webgl.STATIC_DRAW=ue.STATIC_DRAW,Tn.webgl.STREAM_DRAW=ue.STREAM_DRAW,Tn.webgl.ShaderBuilder={},Tn.webgl.ShaderBuilder.ShaderBuilder=me.ShaderBuilder,Tn.webgl.ShaderBuilder.parseLiteralStyle=me.parseLiteralStyle,Tn.webgl.TileTexture=ge.default,Tn.webgl.UNSIGNED_BYTE=ue.UNSIGNED_BYTE,Tn.webgl.UNSIGNED_INT=ue.UNSIGNED_INT,Tn.webgl.UNSIGNED_SHORT=ue.UNSIGNED_SHORT,Tn.webgl.getContext=ue.getContext,Tn.webgl.getSupportedExtensions=ue.getSupportedExtensions,Tn.xml={},Tn.xml.OBJECT_PROPERTY_NODE_FACTORY=ce.OBJECT_PROPERTY_NODE_FACTORY,Tn.xml.XML_SCHEMA_INSTANCE_URI=ce.XML_SCHEMA_INSTANCE_URI,Tn.xml.createElementNS=ce.createElementNS,Tn.xml.getAllTextContent=ce.getAllTextContent,Tn.xml.getAllTextContent_=ce.getAllTextContent_,Tn.xml.getAttributeNS=ce.getAttributeNS,Tn.xml.getDocument=ce.getDocument,Tn.xml.getXMLSerializer=ce.getXMLSerializer,Tn.xml.isDocument=ce.isDocument,Tn.xml.makeArrayExtender=ce.makeArrayExtender,Tn.xml.makeArrayPusher=ce.makeArrayPusher,Tn.xml.makeArraySerializer=ce.makeArraySerializer,Tn.xml.makeChildAppender=ce.makeChildAppender,Tn.xml.makeObjectPropertyPusher=ce.makeObjectPropertyPusher,Tn.xml.makeObjectPropertySetter=ce.makeObjectPropertySetter,Tn.xml.makeReplacer=ce.makeReplacer,Tn.xml.makeSequence=ce.makeSequence,Tn.xml.makeSimpleNodeFactory=ce.makeSimpleNodeFactory,Tn.xml.makeStructureNS=ce.makeStructureNS,Tn.xml.parse=ce.parse,Tn.xml.parseNode=ce.parseNode,Tn.xml.pushParseAndPop=ce.pushParseAndPop,Tn.xml.pushSerializeAndPop=ce.pushSerializeAndPop,Tn.xml.registerDocument=ce.registerDocument,Tn.xml.registerXMLSerializer=ce.registerXMLSerializer,Tn.xml.serialize=ce.serialize,t.default=Tn},"./node_modules/eventbusjs/lib/eventbus.min.js":function(e,t,o){var r;e.exports=(r={},(r=function(){this.listeners={}}).prototype={addEventListener:function(e,t,o){for(var r=[],n=arguments.length,i=0;i<n;i++)r.push(arguments[i]);r=r.length>3?r.splice(3,r.length-1):[],void 0!==this.listeners[e]?this.listeners[e].push({scope:o,callback:t,args:r}):this.listeners[e]=[{scope:o,callback:t,args:r}]},removeEventListener:function(e,t,o){if(void 0!==this.listeners[e]){for(var r=this.listeners[e].length,n=[],i=0;i<r;i++){var s=this.listeners[e][i];s.scope==o&&s.callback==t||n.push(s)}this.listeners[e]=n}},hasEventListener:function(e,t,o){if(void 0!==this.listeners[e]){var r=this.listeners[e].length;if(void 0===t&&void 0===o)return r>0;for(var n=0;n<r;n++){var i=this.listeners[e][n];if((!o||i.scope==o)&&i.callback==t)return!0}}return!1},dispatch:function(e,t){for(var o={type:e,target:t},r=[],n=arguments.length,i=0;i<n;i++)r.push(arguments[i]);if(r=r.length>2?r.splice(2,r.length-1):[],r=[o].concat(r),void 0!==this.listeners[e]){var s=this.listeners[e].slice(),a=s.length;for(i=0;i<a;i++){var l=s[i];if(l&&l.callback){var u=r.concat(l.args);l.callback.apply(l.scope,u)}}}},getEvents:function(){var e="";for(var t in this.listeners)for(var o=this.listeners[t].length,r=0;r<o;r++){var n=this.listeners[t][r];e+=n.scope&&n.scope.className?n.scope.className:"anonymous",e+=" listen for '"+t+"'\n"}return e}},new r)},"./node_modules/geoportal-access-lib/package.json":function(e){e.exports=JSON.parse('{"_from":"geoportal-access-lib@3.4.2","_id":"geoportal-access-lib@3.4.2","_inBundle":false,"_integrity":"sha512-dg7lW+4jhlMQzWp95ejqJLVDYgBQeTY7/ypP7qo3GS2ci4KghdgaFeFftUFbEbOSKQ6cn7FUbBTXAKB6uUADlw==","_location":"/geoportal-access-lib","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"geoportal-access-lib@3.4.2","name":"geoportal-access-lib","escapedName":"geoportal-access-lib","rawSpec":"3.4.2","saveSpec":null,"fetchSpec":"3.4.2"},"_requiredBy":["/geoportal-extensions-itowns","/geoportal-extensions-openlayers"],"_resolved":"https://registry.npmjs.org/geoportal-access-lib/-/geoportal-access-lib-3.4.2.tgz","_shasum":"8f92a231104f195dbd098add811ae1367877ef7d","_spec":"geoportal-access-lib@3.4.2","_where":"/home/runner/work/geoportal-sdk/geoportal-sdk/node_modules/geoportal-extensions-itowns","author":{"name":"IGNF"},"bugs":{"url":"https://github.com/IGNF/geoportal-access-lib/issues"},"bundleDependencies":false,"date":"14/05/2024","dependencies":{"@xmldom/xmldom":"^0.8.10","es6-promise":"^4.2.4","node-fetch":"^2.6.1"},"deprecated":false,"description":"French Geoportal resources access library","devDependencies":{"@babel/core":"^7.12.10","@babel/plugin-transform-template-literals":"^7.12.1","@babel/preset-env":"^7.12.11","babel-loader":"^8.2.2","chai":"^4.1.2","clean-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^5.1.2","eslint":"^7.18.0","eslint-config-standard":"^16.0.2","eslint-loader":"^4.0.2","eslint-plugin-import":"^2.22.1","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^5.0.0","glob":"^7.1.2","handlebars-layouts":"^3.1.4","handlebars-webpack-plugin":"^1.4.1","html-webpack-plugin":"^4.5.1","istanbul-instrumenter-loader":"^3.0.1","jsdoc-webpack-plugin":"^0.3.0","loglevel":"^1.6.1","mocha":"^7.2.0","mocha-loader":"^5.1.5","mocha-webpack":"^2.0.0-beta.0","mochawesome":"^6.2.1","nyc":"^15.1.0","path":"^0.12.7","replace-bundle-webpack-plugin":"^1.0.0","sinon":"^9.2.4","sinon-es6":"0.0.3","speed-measure-webpack-plugin":"^1.4.2","string-template":"^1.0.0","terser-webpack-plugin":"^2.3.8","webpack":"^4.46.0","webpack-cli":"^3.3.12","webpack-dev-server":"^3.11.2","webpack-node-externals":"^2.5.2","webpack-shell-plugin":"^0.5.0"},"homepage":"https://github.com/IGNF/geoportal-access-lib#readme","keywords":["geoplateforme","geoportail","webservice","javascript","es6"],"license":"CECILL-B","main":"dist/GpServices-src.js","module":"src/Gp.js","name":"geoportal-access-lib","nyc":{"include":["src/**/*.js"],"instrument":false,"sourceMap":false},"optionalDependencies":{},"peerDependencies":{},"repository":{"type":"git","url":"git+https://github.com/IGNF/geoportal-access-lib.git"},"scripts":{"build":"webpack --mode=none","build:dev":"webpack --mode=development","build:prod":"webpack --mode=production","clean":"echo \\"Warning: no yet implemented!\\" && exit 0","cover":"nyc --reporter=lcov --reporter=text npm run test","doc":"npm run doc:serve","doc:serve":"webpack-dev-server --content-base jsdoc --port 9001 --open","eslint":"eslint src/","sample":"npm run sample:serve","sample:serve":"webpack-dev-server --mode=none --open-page samples/index-src.html --https --content-base . --output-public-path \'/dist/\' --port 9001 --open","sample:serve:dev":"webpack-dev-server --mode=development --open-page samples/index-map.html --content-base . --output-public-path \'/dist/\' --port 9001 --open","sample:serve:prod":"webpack-dev-server --mode=production --open-page samples/index-prod.html --content-base . --output-public-path \'/dist/\' --port 9001 --open","setup":"npm install","test":"mocha-webpack --reporter mochawesome --reporter-options reportDir=test-report,reportFilename=index --webpack-config ./test/webpack/webpack.test.js --glob \\"test_*.js\\" test/spec/","test:end-to-end:serve":"webpack-dev-server --hot --config ./test/webpack/webpack.end-to-end.serve.js","test:end-to-end:serve:docker":"webpack-dev-server --hot --config ./test/webpack/webpack.end-to-end.serve.docker.js","test:serve":"webpack-dev-server --hot --config ./test/webpack/webpack.test.serve.js","test:serve:docker":"webpack-dev-server --hot --config ./test/webpack/webpack.test.serve.docker.js"},"version":"3.4.2"}')},"./node_modules/geoportal-access-lib/src/Exceptions/ErrorService.js":function(e,t,o){"use strict";function r(e){if(!(this instanceof r))throw new TypeError("ErrorService constructor cannot be called as a function.");var t=e;"string"==typeof e||e instanceof String?(this.message=e,this.status=-1,this.type=r.TYPE_UNKERR):(this.message=t.message||"undefined!?",this.type=t.type,this.status=t.status||-1),this.name="ErrorService",this.stack=(new Error).stack}o.r(t),r.TYPE_SRVERR="SERVICE_ERROR",r.TYPE_USEERR="USAGE_ERROR",r.TYPE_UNKERR="UNKNOWN_ERROR",r.prototype=Object.create(Error.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),t.default=r},"./node_modules/geoportal-access-lib/src/Formats/WPS.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js");function n(e){if(this.logger=r.default.getLogger(),this.logger.trace("[Constructeur WPS()]"),!(this instanceof n))throw new TypeError("WPS constructor cannot be called as a function.");if(this.options=e||{},this.DataObject=this.options.data,!this.DataObject)throw new TypeError("This data object is not defined !");this.paramservice=this.options.param.service||"WPS",this.paramversion=this.options.param.version||"1.0.0",this.paramidentifier=this.options.param.identifier||"gs:WPS",this.paramrawdataoutput=this.options.param.rawdataoutput||"result",this.paramrequest=this.options.param.request||"Execute",this.method=this.options.method||"GET"}n.prototype={requestString:null,constructor:n,template:{get:{value:"service=__SERVICE__&version=__VERSION__&rawdataoutput=__RAWDATAOUTPUT__&identifier=__IDENTIFIER__&request=__REQUEST__&datainputs=\x3c!-- __DATAINPUTS__ --\x3e",input:"__KEY__=__DATA__"},post:{value:'<?xml version="1.0" encoding="UTF-8"?><wps:__REQUEST__ version="__VERSION__" service="__SERVICE__" __NAMESPACE__ __SCHEMALOCATION__><ows:Identifier>__IDENTIFIER__</ows:Identifier><wps:DataInputs>\x3c!-- __DATAINPUTS__ --\x3e</wps:DataInputs><wps:ResponseForm><wps:RawDataOutput><ows:Identifier>__RAWDATAOUTPUT__</ows:Identifier></wps:RawDataOutput></wps:ResponseForm></wps:__REQUEST__>',input:"<wps:Input><ows:Identifier>__KEY__</ows:Identifier><wps:Data><wps:LiteralData>__DATA__</wps:LiteralData></wps:Data></wps:Input>"}},namespaceByDefault:function(){return['xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"','xmlns="http://www.opengis.net/wps/1.0.0"','xmlns:wfs="http://www.opengis.net/wfs"','xmlns:wps="http://www.opengis.net/wps/1.0.0"','xmlns:ows="http://www.opengis.net/ows/1.1"','xmlns:gml="http://www.opengis.net/gml"','xmlns:ogc="http://www.opengis.net/ogc"','xmlns:wcs="http://www.opengis.net/wcs/1.1.1"','xmlns:xlink="http://www.w3.org/1999/xlink"'].join(" ")},schemaLocationByDefault:function(){return'xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd"'},processRequestString:function(){this.logger.trace("WPS::processRequestString ()");var e="";if("POST"===this.method)e=this.template.post.value;else{if("GET"!==this.method)return this.logger.error("No other method supported by the service !"),!1;e=this.template.get.value}return e=(e=(e=(e=(e=e.replace(/__SERVICE__/g,this.paramservice)).replace(/__VERSION__/g,this.paramversion)).replace(/__RAWDATAOUTPUT__/g,this.paramrawdataoutput)).replace(/__IDENTIFIER__/g,this.paramidentifier)).replace(/__REQUEST__/g,this.paramrequest),"POST"===this.method&&(e=(e=e.replace(/__NAMESPACE__/g,this.namespaceByDefault)).replace(/__SCHEMALOCATION__/g,this.schemaLocationByDefault)),(e=e.replace(/<!-- __DATAINPUTS__ -->/g,this.__addDataInputs()))?(this.requestString=e,this.logger.trace("traduction tmpl",e),!0):(this.logger.warn("traduction tmpl : empty request !?"),!1)},__addDataInputs:function(){this.logger.trace("WPS::__addDataInputs ()");for(var e,t="GET"===this.method?this.template.get.input:this.template.post.input,o="GET"===this.method?";":"",r="",n=this,i=this.DataObject.getData(),s=0;s<i.length;s++)e=s,o&&(o=e===i.length-1?"":";"),r=r.concat(n.__addDataInput(t,i[e].k,i[e].v),o);return r},__addDataInput:function(e,t,o){var r=e;return r=(r=r.replace(/__KEY__/g,t)).replace(/__DATA__/g,o)},setMethod:function(e){"GET"===e||"POST"===e?this.method=e:this.logger.warn("support only GET and POST method !")},getMethod:function(){return this.method}},t.default=n},"./node_modules/geoportal-access-lib/src/Formats/XML.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js");function n(e){if(!(this instanceof n))throw new TypeError("XML constructor cannot be called as a function.");this.logger=r.default.getLogger(),this.logger.trace("[Constructeur XML ()]"),this.xmlString=null,this.xmlDoc=null,this.reader=null,e&&(e.xmlString&&"string"==typeof e.xmlString&&(this.xmlString=e.xmlString,this.xmlDoc=i(e.xmlString)),e.reader&&this.setReader(e.reader))}function i(e){if("undefined"==typeof window)return(new(0,o("./node_modules/@xmldom/xmldom/lib/index.js").DOMParser)).parseFromString(e,"text/xml");var t,r,n="Erreur lors du parsing de la réponse du service : XML non conforme";if(window.ActiveXObject){(r=new window.ActiveXObject("Microsoft.XMLDOM")).async=!1,r.loadXML(e);var i=r.parseError;if(i.errorCode)throw i.line&&i.linepos&&(n+="( ligne "+i.line+", colonne "+i.linepos),i.reason&&(n+=":  "+i.reason+")"),new Error(n);return r}if(window.DOMParser){t=new window.DOMParser;try{r=t.parseFromString(e,"text/xml")}catch(e){throw"SyntaxError"===e.message?new Error(n):new Error("Erreur lors du parsing de la réponse du service : "+e.message)}if(r.getElementsByTagName("parsererror").length>0)for(var s=r.getElementsByTagName("parsererror"),a=0;a<s.length;a++){var l=s[a].innerHTML;if(-1===l.indexOf("Huge input lookup"))throw n+="("+l+")",new Error(n)}else if(!r.documentElement)throw new Error(n);return r}throw new Error("Incompatible DOM Parser pour ce navigateur !")}function s(e){var t={};if(e.attributes.length>0){var o=function(e){if(e.attributes.length>0){for(var t={},o=e.attributes,r=0;r<o.length;r++){var n=o[r];t[n.nodeName]=n.nodeValue}return t}}(e);t.attributes=o}if(e.hasChildNodes())for(var r,n={},i=e.childNodes,a=0;a<i.length;a++)if(3===(r=i[a]).nodeType)t.textContent=r.nodeValue;else if(1===r.nodeType)if(n=s(r),t[r.nodeName]){if(!Array.isArray(t[r.nodeName])){var l=t[r.nodeName];t[r.nodeName]=[],t[r.nodeName].push(l)}t[r.nodeName].push(n)}else t[r.nodeName]=n;return t}n.prototype={constructor:n,getXMLString:function(){return this.xmlString},setXMLString:function(e){e&&"string"==typeof e&&(this.xmlString=e,this.xmlDoc=i(e))},getReader:function(){return this.reader},setReader:function(e){e&&e.read&&"function"==typeof e.read&&(this.reader=e)},getXMLDoc:function(){return this.xmlDoc},setXMLDoc:function(e){this.xmlDoc=e},parse:function(){if(!this.xmlDoc&&this.xmlString&&(this.xmlDoc=i(this.xmlString)),this.xmlDoc){var e,t=function(e){var t;9===e.nodeType?t=e.documentElement:1===e.nodeType&&(t=e);return t}(this.xmlDoc);return t?(this.reader&&this.reader.read?e=this.reader.read(t):(e={})[t.nodeName]=s(t),e):{}}}},t.default=n},"./node_modules/geoportal-access-lib/src/Gp.js":function(e,t,o){"use strict";o.r(t),o.d(t,"servicesVersion",(function(){return y})),o.d(t,"servicesDate",(function(){return v}));var r=o("./node_modules/geoportal-access-lib/src/Services/Services.js"),n=o("./node_modules/geoportal-access-lib/src/Services/DefaultUrlService.js"),i=o("./node_modules/geoportal-access-lib/src/Services/Alti/Response/model/AltiResponse.js"),s=o("./node_modules/geoportal-access-lib/src/Services/Alti/Response/model/Elevation.js"),a=o("./node_modules/geoportal-access-lib/src/Services/AutoComplete/Response/model/AutoCompleteResponse.js"),l=o("./node_modules/geoportal-access-lib/src/Services/AutoComplete/Response/model/SuggestedLocation.js"),u=o("./node_modules/geoportal-access-lib/src/Services/ProcessIsoCurve/Response/model/ProcessIsoCurveResponse.js"),c=o("./node_modules/geoportal-access-lib/src/Services/Route/Response/model/RouteResponse.js"),d=o("./node_modules/geoportal-access-lib/src/Services/Route/Response/model/RouteInstruction.js"),p=o("./node_modules/geoportal-access-lib/src/Services/Config/Config.js"),h=o("./node_modules/geoportal-access-lib/src/Protocols/XHR.js"),f=o("./node_modules/geoportal-access-lib/src/Exceptions/ErrorService.js"),m=o("./node_modules/geoportal-access-lib/src/Utils/Helper.js"),g=o("./node_modules/geoportal-access-lib/package.json"),y=g.version,v=g.date,_={};_.servicesVersion=y,_.servicesDate=v,_.Protocols={},_.Protocols.XHR=h.default,_.Services=r.default,_.Services.DefaultUrl=n.default,_.Services.AltiResponse=i.default,_.Services.Alti={},_.Services.Alti.Elevation=s.default,_.Services.AutoCompleteResponse=a.default,_.Services.AutoComplete={},_.Services.AutoComplete.SuggestedLocation=l.default,_.Services.Config=p.default,_.Services.IsoCurveResponse=u.default,_.Services.RouteResponse=c.default,_.Services.Route={},_.Services.Route.RouteInstruction=d.default,_.Error=f.default,_.Helper=m.default,t.default=_},"./node_modules/geoportal-access-lib/src/Protocols/JSONP.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),i={uuid:(r=Math.floor(Date.now()),function(){return r++}),call:function(e){var t=n.default.getLogger("JSONP");if(t.trace("[JSONP::call ()]"),!e)throw t.error("missing parameter : options !"),new Error("missing parameter : options !");if(!e.url)throw t.error("missing parameter : options.url !"),new Error("missing parameter : options.url !");if(e.timeOut||(t.info("setting 'options.timeOut' default value"),e.timeOut=0),!e.onResponse)throw t.error("missing parameter : options.onResponse !"),new Error("missing parameter : options.onResponse !");var o="string"==typeof e.callbackSuffix?e.callbackSuffix:this.uuid(),r=!1,i=!1,s=e.url.indexOf("callback=");if(-1!==s){r=!0;var a=e.url.indexOf("&",s);-1===a&&(a=e.url.length);var l=e.url.substring(s+9,a);l&&(i=!0,e.callbackName=l,t.info("setting 'options.callbackName' value ("+e.callbackName+") from 'options.url' parameter"))}if(!r){var u=e.url.indexOf("?");-1===u?e.url=e.url+"?callback=":u===e.url.length?e.url=e.url+"callback=":e.url=e.url+"&callback=",t.info("setting callback default key in 'options.url' : "+e.url)}var c=!!e.callbackName||i;if(i||(e.callbackName||(t.info("setting 'options.callbackName' default value"),e.callbackName="callback",(o||""===o)&&(e.callbackName+=o)),e.url=e.url.replace("callback=","callback="+e.callbackName),t.info("setting callback function name in 'options.url' : "+e.url)),e.onTimeOut||(t.info("setting 'options.onTimeOut' default value"),e.onTimeOut=function(){console.log("TimeOut while invoking url : "+e.url)}),!c){var d=this,p=null;e.timeOut>0&&(p=window.setTimeout((function(){window[e.callbackName]=function(){},e.onTimeOut(),d._deleteScript(o)}),e.timeOut)),window[e.callbackName]=function(t){window.clearTimeout(p),e.onResponse(t),d._deleteScript(o)}}this._createScript(o,e.url)},_createScript:function(e,t){var o,r=document.getElementById("results"+e);(o=document.createElement("script")).setAttribute("type","text/javascript"),o.setAttribute("src",t),o.setAttribute("charset","UTF-8"),o.setAttribute("id","results"+e),o.setAttribute("async","true");var n=document.documentElement||document.getElementsByTagName("head")[0];null===r?n.appendChild(o):n.replaceChild(o,r)},_deleteScript:function(e){var t=document.getElementById("results"+e);if(t){var o=t.parentNode||document.documentElement;if(!o)return;o.removeChild(t)}}};t.default=i},"./node_modules/geoportal-access-lib/src/Protocols/Protocol.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/Helper.js"),n=o("./node_modules/geoportal-access-lib/src/Protocols/XHR.js"),i=o("./node_modules/geoportal-access-lib/src/Protocols/JSONP.js"),s={send:function(e){var t=e||{method:"GET",protocol:"XHR",timeOut:0,format:null,wrap:!0,nocache:!0,output:"json",callback:null,callbackSuffix:null};if("undefined"!=typeof window||"JSONP"!==e.protocol){if("XHR"===e.protocol||"json"===e.format?t.wrap=!1:"JSONP"===e.protocol&&"xml"===e.format&&(t.wrap=!0),t.callback=null,t.output=t.wrap?"json":null,t.wrap){var o={};o.output=t.output,o.callback=t.callback,delete o.callback,t.url=r.default.normalyzeUrl(e.url,o)}switch(t.protocol){case"XHR":"GET"===e.method&&e.nocache&&(t.url=r.default.normalyzeUrl(t.url,{t:(new Date).getTime()})),n.default.call(t);break;case"JSONP":t.data&&(t.url=r.default.normalyzeUrl(t.url,t.data)),i.default.call(t);break;default:throw new Error("protocol not supported (XHR|JSONP) !")}}else console.log("Value (s) for parameter (s) 'protocol=JSONP (instead use XHR)' not supported to NodeJS")}};t.default=s},"./node_modules/geoportal-access-lib/src/Protocols/XHR.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-access-lib/src/Utils/Helper.js"),i=o("./node_modules/es6-promise/dist/es6-promise.js"),s=o.n(i);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var l={call:function(e){var t=r.default.getLogger("XHR");if(t.trace("[XHR::call()]"),s.a.polyfill(),!e.url)throw new Error("missing parameter : url is not defined !");if(!e.method)throw new Error("missing parameter : method is not defined !");e.format||(e.format="text");var o={};switch(o.url=e.url,o.data=e.data?e.data:null,o.method=e.method,o.timeOut=e.timeOut||0,o.scope=e.scope||this,o.proxy=e.proxy||null,o.content=e.content||null,o.headers=e.headers||{referer:"http://localhost"},e.method){case"DELETE":case"GET":break;case"PUT":case"POST":o.content=e.content?e.content:"application/x-www-form-urlencoded",o.headers=e.headers?e.headers:{referer:"http://localhost"};break;case"HEAD":case"OPTIONS":throw new Error("HTTP method not yet supported !");default:throw new Error("HTTP method unknown !")}switch(e.format){case"text":this.__call(o).then((function(o){t.trace(o),e.onResponse.call(this,o)})).catch((function(t){e.onFailure.call(this,t)}));break;case"json":this.__callJSON(o).then((function(o){t.trace(o),e.onResponse.call(this,o)})).catch((function(t){e.onFailure.call(this,t)}));break;case"xml":this.__callXML(o).then((function(o){t.trace(o),e.onResponse.call(this,o)})).catch((function(t){e.onFailure.call(this,t)}));break;default:throw new Error("This output Format is not yet supported !")}},__call:function(e){var t=r.default.getLogger("XHR");return t.trace("[XHR::__call()]"),new Promise((function(r,i){var s="POST"===e.method||"PUT"===e.method?1:0;e.data&&("object"===a(e.data)&&Object.keys(e.data).length||"string"==typeof e.data&&e.data.length)&&!s&&(e.url=n.default.normalyzeUrl(e.url,e.data)),t.trace("URL = ",e.url);var l=null;if("undefined"==typeof window){var u=o("node-fetch"),c={headers:{Referer:"https://localhost"}};return e.data&&"string"==typeof e.data&&s&&(c={method:e.method,body:e.data,headers:{"Content-Type":e.content,Referer:"https://localhost"}}),u(e.url,c).then((function(e){if(e.ok)r(e.text());else{var t="Errors Occured on Http Request (status : '"+e.statusText+"' | url : '"+e.url+"')",o=e.status;i({message:t,status:o})}})).catch((function(e){i({message:e,status:-1})}))}if(window.XMLHttpRequest){t.trace("XMLHttpRequest"),(l=new XMLHttpRequest).open(e.method,e.url,!0),l.overrideMimeType=e.content;var d=null;e.timeOut>0&&(t.trace("XHR - TimeOut actif !"),d=window.setTimeout((function(){i({message:"TimeOut Occured on Http Request with XMLHttpRequest !",status:-1})}),e.timeOut)),s&&(t.trace("data = ",e.data),l.setRequestHeader("Content-type",e.content)),l.onerror=function(e){console.log(e),i(new Error("Errors Occured on Http Request with XMLHttpRequest !"))},l.ontimeout=function(e){console.log(e),i(new Error("TimeOut Occured on Http Request with XMLHttpRequest !"))},l.onreadystatechange=function(e){if(4===l.readyState)if(200===l.status)window.clearTimeout(d),r(l.response);else{var t="Errors Occured on Http Request (status : '"+e.target.statusText+"' | url : '"+e.target.responseURL+"' | response : '"+e.target.response+"')",o=e.target.status;i({message:t,status:o})}};var p=e.data&&s?e.data:null;l.send(p)}else{if(!window.XDomainRequest)throw new Error("CORS not supported");t.trace("XDomainRequest"),(l=new XDomainRequest).open(e.method,e.url),l.overrideMimeType=e.content,e.timeOut>0&&(l.timeout=e.timeout,t.trace("XHR - TimeOut actif !")),s&&l.setRequestHeader("Content-type",e.content),l.onerror=function(){i(new Error("Errors Occured on Http Request with XMLHttpRequest !"))},l.ontimeout=function(){i(new Error("TimeOut Occured on Http Request with XMLHttpRequest !"))},l.onload=function(e){if(200===l.status)r(l.responseText);else{var t="Errors Occured on Http Request (status : '"+e.target.statusText+"' | url : '"+e.target.responseURL+"')",o=e.target.status;i({message:t,status:o})}};var h=e.data&&s?e.data:null;l.send(h)}}))},__callJSON:function(e){return this.__call(e).then(JSON.parse).catch((function(t){console.log("_callJSON failed on : ",e.url,t)}))},__callXML:function(e){return this.__call(e).then((function(e){var t;"undefined"==typeof window?t=(new(0,o("./node_modules/@xmldom/xmldom/lib/index.js").DOMParser)).parseFromString(e,"text/xml"):window.DOMParser?t=(new window.DOMParser).parseFromString(e,"text/xml"):((t=new window.ActiveXObject("Microsoft.XMLDOM")).async=!1,t.loadXML(e));return t})).catch((function(t){console.log("__callXML failed on : ",e.url,t)}))}};t.default=l},"./node_modules/geoportal-access-lib/src/Services/Alti/Alti.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-access-lib/src/Utils/MessagesResources.js"),i=o("./node_modules/geoportal-access-lib/src/Exceptions/ErrorService.js"),s=o("./node_modules/geoportal-access-lib/src/Services/CommonService.js"),a=o("./node_modules/geoportal-access-lib/src/Services/DefaultUrlService.js"),l=o("./node_modules/geoportal-access-lib/src/Services/Alti/Request/AltiRequestFactory.js"),u=o("./node_modules/geoportal-access-lib/src/Services/Alti/Response/AltiResponseFactory.js");function c(e){if(!(this instanceof c))throw new TypeError(n.default.getMessage("CLASS_CONSTRUCTOR","Alti"));if(this.CLASSNAME="Alti",s.default.apply(this,arguments),this.logger=r.default.getLogger("Gp.Services.Alti"),this.logger.trace("[Constructeur Alti (options)]"),!e.positions)throw new Error(n.default.getMessage("PARAM_MISSING","positions"));if(0===e.positions.length)throw new Error(n.default.getMessage("PARAM_EMPTY","positions"));if(this.options.positions=e.positions,this.options.outputFormat="string"==typeof e.outputFormat?e.outputFormat.toLowerCase():"xml",this.options.resource=e.resource||"ign_rge_alti_wld",this.options.sampling=e.sampling||null,this.options.api="string"==typeof e.api?e.api.toUpperCase():"REST","REST"===this.options.api&&(this.options.httpMethod="GET"),this.options.zonly=e.zonly||!1,this.options.measures=e.measures||!1,!this.options.serverUrl){var t=a.default.Alti.newUrl(),o=null;switch(this.options.api){case"WPS":o=t.wps;break;case"REST":o=t[(e.sampling?"profil":"elevation")+"-"+this.options.outputFormat];break;default:throw new Error(n.default.getMessage("PARAM_UNKNOWN","api"))}if(!o)throw new Error("Url by default not found !");this.options.serverUrl=o,this.logger.trace("Server URL by default : "+this.options.serverUrl)}var i=this.options.serverUrl.lastIndexOf(".");if(-1!==i){var l=this.options.serverUrl.substring(i+1);if(l&&l.length<5)switch(this.logger.trace("Server Extension URL : "+l),l.toLowerCase()){case"json":case"xml":this.options.outputFormat=l.toLowerCase();break;default:throw new Error("type of service : unknown or unsupported (json or xml) !")}}}c.prototype=Object.create(s.default.prototype,{}),c.prototype.constructor=c,c.prototype.buildRequest=function(e,t){var o={httpMethod:this.options.httpMethod,onSuccess:function(e){this.request=e,t.call(this,this.request)},onError:e,scope:this,resource:this.options.resource,positions:this.options.positions,outputFormat:this.options.outputFormat,sampling:this.options.sampling,api:this.options.api,zonly:this.options.zonly,measures:this.options.measures};l.default.build(o)},c.prototype.analyzeResponse=function(e,t){if(this.response){var o={response:this.response,outputFormat:this.options.outputFormat,rawResponse:this.options.rawResponse,onError:e,onSuccess:t,scope:this};u.default.build(o)}else e.call(this,new i.default(n.default.getMessage("SERVICE_RESPONSE_EMPTY")))},t.default=c},"./node_modules/geoportal-access-lib/src/Services/Alti/Formats/AltiResponseReader.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Services/Alti/Response/model/AltiResponse.js"),n=o("./node_modules/geoportal-access-lib/src/Services/Alti/Response/model/Elevation.js"),i=o("./node_modules/geoportal-access-lib/src/Services/Alti/Response/model/Measure.js"),s={};s.READERS={elevations:function(e){var t=new r.default;if(e.hasChildNodes())for(var o,n,i=e.childNodes,a=0;a<i.length;a++)o=i[a],s.READERS[o.nodeName]&&(n=s.READERS[o.nodeName](o),t.elevations.push(n));return t},elevation:function(e){var t=new n.default;if(e.hasChildNodes())for(var o,r=e.childNodes,i=0;i<r.length;i++)o=r[i],s.READERS[o.nodeName]&&s.READERS[o.nodeName](o,t);return t},lat:function(e,t){var o=e.firstChild;if(!o||3!==o.nodeType)throw new Error("Erreur dans la lecture de la réponse du service : latitude attendue mais absente");t.lat=parseFloat(o.nodeValue)},lon:function(e,t){var o=e.firstChild;if(!o||3!==o.nodeType)throw new Error("Erreur dans la lecture de la réponse du service : longitude attendue mais absente");t.lon=parseFloat(o.nodeValue)},z:function(e,t){var o=e.firstChild;if(!o||3!==o.nodeType)throw new Error("Erreur dans la lecture de la réponse du service : altitude attendue mais absente");if(!t)return(t=new n.default).z=parseFloat(o.nodeValue),t;t.z=parseFloat(o.nodeValue)},acc:function(e,t){var o=e.firstChild;if(!o||3!==o.nodeType)throw new Error("Erreur dans la lecture de la réponse du service : précision (acc) attendue mais absente");t.acc=parseFloat(o.nodeValue)},source_name:function(e,t){var o=e.firstChild;if(!o||3!==o.nodeType)throw new Error("Erreur dans la lecture de la réponse du service : source_name attendue mais absente");t.source_name=o.nodeValue},source_measure:function(e,t){var o=e.firstChild;if(!o||3!==o.nodeType)throw new Error("Erreur dans la lecture de la réponse du service : source_measure attendue mais absente");t.source_measure=o.nodeValue},measures:function(e,t){var o;if(t.measures=[],e.hasChildNodes())for(var r,n=e.childNodes,a=0;a<n.length;a++){o=new i.default,r=n[a].childNodes;for(var l=0;l<r.length;l++){if(!s.READERS[r[l].nodeName])throw new Error("Erreur dans la lecture de la réponse du service : measures attendues mais absentes");s.READERS[r[l].nodeName](r[l],o)}t.measures.push(o)}},exceptionreport:function(e){var t={};if(e.hasChildNodes())for(var o,r=e.childNodes,n=0;n<r.length;n++)"Exception"===(o=r[n]).nodeName&&(t.exceptionReport=s.READERS.exception(o));return t},exception:function(e){var t={},o=e.getAttribute("exceptionCode");o&&(t.exceptionCode=o);var r=e.firstChild;return r&&3===r.nodeType&&(t.exception=r.nodeValue),t},error:function(e){var t={error:{}};if(e.hasChildNodes())for(var o,r=e.childNodes,n=0;n<r.length;n++){var i;1===(o=r[n]).nodeType&&"code"===o.nodeName&&(i=o.firstChild)&&3===i.nodeType&&(t.error.code=i.nodeValue),1===o.nodeType&&"description"===o.nodeName&&(i=o.firstChild)&&3===i.nodeType&&(t.error.description=i.nodeValue)}return t}},s.read=function(e){if("elevations"===e.nodeName)return s.READERS.elevations(e);if("ExceptionReport"===e.nodeName)return s.READERS.exceptionreport(e);if("error"===e.nodeName)return s.READERS.error(e);throw new Error("Erreur lors de la lecture de la réponse : elle n'est pas au format attendu.")},t.default=s},"./node_modules/geoportal-access-lib/src/Services/Alti/Request/AltiRequestFactory.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-access-lib/src/Exceptions/ErrorService.js"),i=o("./node_modules/geoportal-access-lib/src/Services/Alti/Request/AltiRequestREST.js"),s=o("./node_modules/geoportal-access-lib/src/Services/Alti/Request/AltiRequestWPS.js"),a={build:function(e){r.default.getLogger("AltiRequestFactory").trace(["AltiRequestFactory::build()"]);var t=null,o={type:e.sampling?"Profil":"Elevation",method:e.httpMethod,param:{positions:null,delimiter:null,indent:null,crs:null,format:null,sampling:null,zonly:null,measures:null}};o.param.positions=e.positions,o.param.format=e.outputFormat,o.param.sampling=e.sampling,o.param.zonly=e.zonly,o.param.measures=e.measures,o.param.resource=e.resource;var a=!(null===e.onError||"function"!=typeof e.onError),l=!(null===e.onSuccess||"function"!=typeof e.onSuccess),u=null;switch(e.api){case"REST":var c=new i.default(o);if(!c.processRequestString()){if(u="Error in process request (rest) !",a)return void e.onError.call(e.scope,new n.default(u));throw new Error(u)}t=c.requestString;break;case"WPS":if(o.wps={service:null,version:null,identifier:null,rawdataoutput:null,request:null},!(t=s.default.build(o))){if(u="Error in process request (wps) !",a)return void e.onError.call(e.scope,new n.default(u));throw new Error(u)}break;default:if(u="Type of API is not supported by service (REST or WPS) !",a)return void e.onError.call(e.scope,new n.default(u));throw new Error(u)}return l&&e.onSuccess.call(e.scope,t),t}};t.default=a},"./node_modules/geoportal-access-lib/src/Services/Alti/Request/AltiRequestREST.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-access-lib/src/Utils/MessagesResources.js"),i=o("./node_modules/geoportal-access-lib/src/Services/Alti/Request/model/AltiElevationRequest.js"),s=o("./node_modules/geoportal-access-lib/src/Services/Alti/Request/model/AltiProfilRequest.js");function a(e){if(this.logger=r.default.getLogger("AltiRequestREST"),this.logger.trace("[Constructeur AltiRequestREST ()]"),!(this instanceof a))throw new TypeError("AltiRequestREST constructor cannot be called as a function.");if(this.options=e||{},!this.options)throw new Error(n.default.getMessage("PARAM_EMPTY","options"));if(!this.options.type)throw new Error(n.default.getMessage("PARAM_EMPTY","type (Elevation or Profil)"));switch(this.DataObject=null,this.options.type){case"Elevation":this.DataObject=new i.default(this.options.param);break;case"Profil":this.DataObject=new s.default(this.options.param);break;default:throw new Error(n.default.getMessage("PARAM_TYPE","type (Elevation or Profil)"))}this.method=this.options.method||"GET"}a.prototype={requestString:null,constructor:a,template:{get:{value:"lon=__LON__&lat=__LAT__&indent=__INDENT__&crs='__CRS__'&resource=__RESOURCE__&measures=__MEASURES__",input:{point:"&zonly=__ZONLY__",profil:"&sampling=__SAMPLING__"}},post:{value:"lon=__LON__\nlat=__LAT__\nindent=__INDENT__\ncrs='__CRS__'\nresource='__RESOURCE__'\nmeasures='__MEASURES__'\n",input:{point:"zonly=__ZONLY__\n",profil:"sampling=__SAMPLING__"}}},processRequestString:function(){this.logger.trace("AltiRequestREST::processRequestString ()");var e="";return"POST"===this.method?e=this.template.post.value:"GET"===this.method&&(e=this.template.get.value),e=(e=(e=(e=(e=(e=e.replace(/__LON__/g,this.DataObject.getLon())).replace(/__LAT__/g,this.DataObject.getLat())).replace(/__INDENT__/g,this.DataObject.indent)).replace(/__CRS__/g,this.DataObject.crs)).replace(/__RESOURCE__/g,this.DataObject.resource)).replace(/__MEASURES__/g,this.DataObject.measures),e+=this.__addDataInputs(),this.logger.trace("traduction tmpl",e),this.requestString=e,this.requestString},__addDataInputs:function(){var e;if(this.logger.trace("AltiRequestREST::addDataInput ()"),"POST"===this.method)e=this.template.post;else{if("GET"!==this.method)throw new Error("No other HTTP method supported by the service !");e=this.template.get}if("AltiElevationRequest"===this.DataObject.CLASSNAME)return e.input.point.replace(/__ZONLY__/g,this.DataObject.zonly.toString());if("AltiProfilRequest"===this.DataObject.CLASSNAME)return e.input.profil.replace(/__SAMPLING__/g,this.DataObject.sampling);throw new Error("No other object supported than elevation or profil !?")}},t.default=a},"./node_modules/geoportal-access-lib/src/Services/Alti/Request/AltiRequestWPS.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-access-lib/src/Utils/MessagesResources.js"),i=o("./node_modules/geoportal-access-lib/src/Formats/WPS.js"),s=o("./node_modules/geoportal-access-lib/src/Services/Alti/Request/model/AltiElevationRequest.js"),a=o("./node_modules/geoportal-access-lib/src/Services/Alti/Request/model/AltiProfilRequest.js"),l={build:function(e){if(r.default.getLogger("AltiRequestWPS").trace(["AltiRequestWPS::build()"]),!e)throw new Error(n.default.getMessage("PARAM_EMPTY","options"));if(!e.type)throw new Error(n.default.getMessage("PARAM_EMPTY","type (Elevation or Profil)"));var t=null;switch(e.type){case"Elevation":e.wps.identifier="gs:WPSElevation",t=new s.default(e.param);break;case"Profil":e.wps.identifier="gs:WPSLineElevation",t=new a.default(e.param);break;default:throw new Error(n.default.getMessage("PARAM_TYPE","type (Elevation or Profil)"))}var o={data:t,method:e.method,param:e.wps},l=new i.default(o);if(!l.processRequestString())throw new Error("Enable to process request !");return l.requestString}};t.default=l},"./node_modules/geoportal-access-lib/src/Services/Alti/Request/model/AltiElevationRequest.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-access-lib/src/Services/Alti/Request/model/AltiRequest.js");function i(e){if(!(this instanceof i))throw new TypeError("AltiElevationRequest constructor cannot be called as a function.");this.CLASSNAME="AltiElevationRequest",n.default.apply(this,arguments),this.logger=r.default.getLogger(),this.logger.trace("[Constructeur AltiElevationRequest ()]"),this.zonly=this.options.zonly||!1}i.prototype=Object.create(n.default.prototype,{zonly:{get:function(){return this._zonly},set:function(e){this._zonly=e}}}),i.prototype.constructor=i,i.prototype.getData=function(){var e=[];return e.push({k:"lon",v:this.getLon()}),e.push({k:"lat",v:this.getLat()}),e.push({k:"indent",v:this.indent}),e.push({k:"crs",v:this.crs}),e.push({k:"zonly",v:this.zonly}),e.push({k:"format",v:this.format}),e.push({k:"resource",v:this.resource}),e},t.default=i},"./node_modules/geoportal-access-lib/src/Services/Alti/Request/model/AltiProfilRequest.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-access-lib/src/Services/Alti/Request/model/AltiRequest.js");function i(e){if(!(this instanceof i))throw new TypeError("AltiProfilRequest constructor cannot be called as a function.");this.CLASSNAME="AltiProfilRequest",n.default.apply(this,arguments),this.logger=r.default.getLogger(),this.logger.trace("[Constructeur AltiProfilRequest ()]"),this.sampling=this.options.sampling||3}i.prototype=Object.create(n.default.prototype,{sampling:{get:function(){return this._sampling},set:function(e){this._sampling=e}}}),i.prototype.constructor=i,i.prototype.getData=function(){var e=[];return e.push({k:"lon",v:this.getLon()}),e.push({k:"lat",v:this.getLat()}),e.push({k:"indent",v:this.indent}),e.push({k:"crs",v:this.crs}),e.push({k:"sampling",v:this.sampling}),e.push({k:"format",v:this.format}),e.push({k:"resource",v:this.resource}),e},t.default=i},"./node_modules/geoportal-access-lib/src/Services/Alti/Request/model/AltiRequest.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js");function n(e){if(!(this instanceof n))throw new TypeError("AltiRequest constructor cannot be called as a function.");this.logger=r.default.getLogger(),this.logger.trace("[Constructeur AltiRequest ()]"),this.options=e||{},this.positions=this.options.positions||[],this.delimiter=this.options.delimiter||"|",this.indent=this.options.indent||!1,this.crs=this.options.crs||"CRS:84",this.format=this.options.format||"json",this.resource=this.options.resource,this.measures=this.options.measures||!1}n.CLASSNAME="AltiRequest",n.prototype={constructor:n,setPositions:function(e){for(var t=[],o=0;o<e.length;o++){var r=e[o];r.lon&&r.lat&&t.push(r)}this.positions=t},getPositions:function(e){if(!e)return this.positions;var t=this.positions.length-1;return e>t||e<t?(this.logger.warn("index out of range !"),this.positions):this.positions[e]},addPositions:function(e){for(var t=0;t<e.length;t++){var o=e[t];o.lon&&o.lat&&this.positions.push(e[t])}},getLon:function(){for(var e=[],t=0;t<this.positions.length;t++)e.push(this.positions[t].lon);return this.logger.trace(e),e.join(this.delimiter)},getLat:function(){for(var e=[],t=0;t<this.positions.length;t++)e.push(this.positions[t].lat);return this.logger.trace(e),e.join(this.delimiter)}},n.prototype.getData=function(){var e=[];return e.push({k:"lon",v:this.getLon()}),e.push({k:"lat",v:this.getLat()}),e.push({k:"delimiter",v:this.delimiter}),e.push({k:"indent",v:this.indent}),e.push({k:"crs",v:this.crs}),e.push({k:"format",v:this.format}),e},t.default=n},"./node_modules/geoportal-access-lib/src/Services/Alti/Response/AltiResponseFactory.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-access-lib/src/Utils/MessagesResources.js"),i=o("./node_modules/geoportal-access-lib/src/Exceptions/ErrorService.js"),s=o("./node_modules/geoportal-access-lib/src/Formats/XML.js"),a=o("./node_modules/geoportal-access-lib/src/Services/Alti/Formats/AltiResponseReader.js"),l=o("./node_modules/geoportal-access-lib/src/Services/Alti/Response/model/AltiResponse.js"),u=o("./node_modules/geoportal-access-lib/src/Services/Alti/Response/model/Elevation.js");function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}var d={build:function(e){var t=r.default.getLogger("AltiResponseFactory");t.trace(["AltiResponseFactory::build()"]);var o=null;if(e.response){if(e.rawResponse)t.trace("analyze response : raw"),o=e.response;else{switch(e.outputFormat){case"xml":t.trace("analyze response : xml");try{var d=new s.default({reader:a.default});if("string"==typeof e.response?d.setXMLString(e.response):d.setXMLDoc(e.response),!(o=d.parse()))throw new Error(n.default.getMessage("SERVICE_RESPONSE_EXCEPTION_2"))}catch(t){var p=t.message;return void e.onError.call(e.scope,new i.default({message:n.default.getMessage("SERVICE_RESPONSE_EXCEPTION",p),status:200,type:i.default.TYPE_SRVERR}))}break;case"json":t.trace("analyze response : json"),t.trace("analyze response : ",c(e.response));var h=null;if((h="string"==typeof e.response?JSON.parse(e.response):e.response)&&h.error)return void e.onError.call(e.scope,new i.default({message:n.default.getMessage("SERVICE_RESPONSE_EXCEPTION",h.error.description),status:200,type:i.default.TYPE_SRVERR}));if(h){var f,m=h.elevations,g=new l.default;if(Array.isArray(m)&&m.length)for(var y=0;y<m.length;y++)f=new u.default,"object"===c(m[y])?(m[y].lon&&(f.lon=m[y].lon),m[y].lat&&(f.lat=m[y].lat),m[y].z&&(f.z=m[y].z),m[y].acc&&(f.acc=m[y].acc),m[y].measures&&(f.measures=m[y].measures)):"number"==typeof m[y]&&(f.z=m[y]),Array.isArray(g.elevations)&&g.elevations.push(f);o=g}if(!o)return void e.onError.call(e.scope,new i.default({message:n.default.getMessage("SERVICE_RESPONSE_ANALYSE_2"),type:i.default.TYPE_UNKERR,status:-1}));break;default:return void e.onError.call(e.scope,new i.default({message:n.default.getMessage("SERVICE_RESPONSE_FORMAT_2"),type:i.default.TYPE_UNKERR,status:-1}))}if(o.exceptionReport)return void e.onError.call(e.scope,new i.default({message:n.default.getMessage("SERVICE_RESPONSE_EXCEPTION",o.exceptionReport),type:i.default.TYPE_SRVERR,status:200}));if(o.error){var v=o.error.description;return void e.onError.call(e.scope,new i.default({message:n.default.getMessage("SERVICE_RESPONSE_EXCEPTION",v),type:i.default.TYPE_SRVERR,status:200}))}}e.onSuccess.call(e.scope,o)}else e.onError.call(e.scope,new i.default(n.default.getMessage("SERVICE_RESPONSE_EMPTY")))}};t.default=d},"./node_modules/geoportal-access-lib/src/Services/Alti/Response/model/AltiResponse.js":function(e,t,o){"use strict";function r(){if(!(this instanceof r))throw new TypeError("AltiResponse constructor cannot be called as a function.");this.elevations=[]}o.r(t),r.prototype={constructor:r},t.default=r},"./node_modules/geoportal-access-lib/src/Services/Alti/Response/model/Elevation.js":function(e,t,o){"use strict";function r(){if(!(this instanceof r))throw new TypeError("Elevation constructor cannot be called as a function.");this.z=null}o.r(t),r.prototype={constructor:r},t.default=r},"./node_modules/geoportal-access-lib/src/Services/Alti/Response/model/Measure.js":function(e,t,o){"use strict";function r(){if(!(this instanceof r))throw new TypeError("Measure constructor cannot be called as a function.");this.source_name=null,this.source_measure=null,this.z=null,this.acc=null}o.r(t),r.prototype={constructor:r},t.default=r},"./node_modules/geoportal-access-lib/src/Services/AutoComplete/AutoComplete.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Services/CommonService.js"),n=o("./node_modules/geoportal-access-lib/src/Services/DefaultUrlService.js"),i=o("./node_modules/geoportal-access-lib/src/Services/AutoComplete/Response/AutoCompleteResponseFactory.js"),s=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),a=o("./node_modules/geoportal-access-lib/src/Utils/MessagesResources.js"),l=o("./node_modules/geoportal-access-lib/src/Utils/Helper.js"),u=o("./node_modules/geoportal-access-lib/src/Exceptions/ErrorService.js");function c(e){if(!(this instanceof c))throw new TypeError(a.default.getMessage("CLASS_CONSTRUCTOR","AutoComplete"));this.CLASSNAME="AutoComplete",this.logger=s.default.getLogger("Gp.Services.AutoComplete"),this.logger.trace("[Constructeur AutoComplete (options)]");var t=this.patchOptionConvertor(e);if(t.serverUrl||(t.serverUrl=n.default.AutoComplete.newUrl()),r.default.apply(this,arguments),!t.text)throw new Error(a.default.getMessage("PARAM_MISSING","text"));this.options.text=t.text,t.type||(t.type=["StreetAddress,PositionOfInterest"]),this.options.type=t.type,this.options.territory=t.terr||"",this.options.maximumResponses=t.maximumResponses||10,"XHR"===this.options.protocol&&"POST"===this.options.httpMethod&&(this.logger.warn("Le service ne gére pas le mode d'interrogation en POST, on bascule sur du GET !"),this.options.httpMethod="GET"),this.options.outputFormat=this.options.rawResponse?"":"json"}c.prototype=Object.create(r.default.prototype,{}),c.prototype.constructor=c,c.prototype.patchOptionConvertor=function(e){var t=e;return t.filterOptions&&(this.logger.warn("The parameter 'filterOptions' is deprecated"),t.filterOptions.type&&(this.logger.warn("The parameter 'filterOptions.type' is deprecated"),t.type||(t.type=t.filterOptions.type)),t.filterOptions.territory&&(this.logger.warn("The parameter 'filterOptions.territory' is deprecated"),t.terr||(t.terr=t.filterOptions.territory)),delete t.filterOptions),t},c.prototype.buildRequest=function(e,t){var o="";this.options.territory&&(o=this.options.territory);var r="";this.options.type&&(r=this.options.type.join(",")),this.request=l.default.normalyzeParameters({text:encodeURIComponent(this.options.text),type:r,terr:o,maximumResponses:this.options.maximumResponses}),this.request?t.call(this,this.request):e.call(this,new u.default(a.default.getMessage("SERVICE_REQUEST_BUILD")))},c.prototype.analyzeResponse=function(e,t){if(this.response){var o={response:this.response,rawResponse:this.options.rawResponse,onSuccess:t,onError:e,scope:this};i.default.build(o)}else e.call(this,new u.default(a.default.getMessage("SERVICE_RESPONSE_EMPTY")))},t.default=c},"./node_modules/geoportal-access-lib/src/Services/AutoComplete/Response/AutoCompleteResponseFactory.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-access-lib/src/Utils/MessagesResources.js"),i=o("./node_modules/geoportal-access-lib/src/Exceptions/ErrorService.js"),s=o("./node_modules/geoportal-access-lib/src/Services/AutoComplete/Response/model/AutoCompleteResponse.js"),a=o("./node_modules/geoportal-access-lib/src/Services/AutoComplete/Response/model/SuggestedLocation.js"),l={build:function(e){var t=r.default.getLogger("AutoCompleteResponseFactory");t.trace(["AutoCompleteResponseFactory::build()"]);var o=null;if(e.response){if(e.rawResponse)t.trace("analyze response : raw"),o=e.response;else{var l=null;if(l="string"==typeof e.response?JSON.parse(e.response):e.response){if(l.error)return void e.onError.call(e.scope,new i.default({message:n.default.getMessage("SERVICE_RESPONSE_EXCEPTION",l.error.description),status:l.error.code,type:i.default.TYPE_SRVERR}));if(o=new s.default,!l.results||!Array.isArray(l.results))return void e.onError.call(e.scope,new i.default(n.default.getMessage("SERVICE_RESPONSE_FORMAT_3")));for(var u=null,c=0;c<l.results.length;c++){var d=l.results[c];u=new a.default,d&&("StreetAddress"===d.country?(u.street=d.street,u.type="StreetAddress"):"PositionOfInterest"===d.country&&(u.poi=d.street,u.type="PositionOfInterest",u.poiType=d.poiType),u.position&&(u.position.x=d.x,u.position.y=d.y),u.kind=d.kind,u.commune=d.city,u.fullText=d.fulltext,u.postalCode=d.zipcode,u.classification=d.classification),o.suggestedLocations.push(u)}if(!o.suggestedLocations.length)return void e.onError.call(e.scope,new i.default(n.default.getMessage("SERVICE_RESPONSE_FORMAT_3")))}if(!o)return void e.onError.call(e.scope,new i.default({message:n.default.getMessage("SERVICE_RESPONSE_ANALYSE_2"),type:i.default.TYPE_UNKERR,status:-1}));if(o.exceptionReport)return void e.onError.call(e.scope,new i.default({message:n.default.getMessage("SERVICE_RESPONSE_EXCEPTION",o.exceptionReport),type:i.default.TYPE_SRVERR,status:200}))}e.onSuccess.call(e.scope,o)}else e.onError.call(e.scope,new i.default(n.default.getMessage("SERVICE_RESPONSE_EMPTY")))}};t.default=l},"./node_modules/geoportal-access-lib/src/Services/AutoComplete/Response/model/AutoCompleteResponse.js":function(e,t,o){"use strict";function r(){if(!(this instanceof r))throw new TypeError("AutoCompleteResponse constructor cannot be called as a function.");this.suggestedLocations=[]}o.r(t),r.prototype={constructor:r},t.default=r},"./node_modules/geoportal-access-lib/src/Services/AutoComplete/Response/model/SuggestedLocation.js":function(e,t,o){"use strict";function r(){if(!(this instanceof r))throw new TypeError("SuggestedLocation constructor cannot be called as a function.");this.type=null,this.position={x:null,y:null},this.commune=null,this.fullText=null,this.postalCode=null,this.classification=null,this.street=null,this.poi=null,this.kind=null}o.r(t),r.prototype={constructor:r},t.default=r},"./node_modules/geoportal-access-lib/src/Services/CommonService.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-access-lib/src/Utils/Helper.js"),i=o("./node_modules/geoportal-access-lib/src/Utils/MessagesResources.js"),s=o("./node_modules/geoportal-access-lib/src/Protocols/Protocol.js"),a=o("./node_modules/geoportal-access-lib/src/Exceptions/ErrorService.js"),l=o("./node_modules/geoportal-access-lib/package.json");function u(e){if(!(this instanceof u))throw new TypeError(i.default.getMessage("CLASS_CONSTRUCTOR"));for(var t in this.logger=r.default.getLogger("CommonService"),this.logger.trace("[Constructeur CommonService (options)]"),this.options={protocol:"XHR",ssl:!0,proxyURL:"",callbackSuffix:null,httpMethod:"GET",timeOut:0,rawResponse:!1,scope:this,onSuccess:function(e){console.log("onSuccess - la reponse est la suivante : ",e)},onFailure:function(e){200!==e.status&&e.status?console.log("onFailure - Erreur (",e.status,") : ",e.message):console.log("onFailure : ",e.message)}},e)e.hasOwnProperty(t)&&(this.options[t]=e[t]);if(this.options.rawResponse&&!this.options.onSuccess&&(this.options.onSuccess=function(e){console.log("onSuccess - la réponse brute du service est la suivante : ",e)}),!!(null===this.options.onSuccess||"function"!=typeof this.options.onSuccess))throw new Error(i.default.getMessage("PARAM_MISSING","onSuccess()"));switch(this.options.httpMethod="string"==typeof e.httpMethod?e.httpMethod.toUpperCase():"GET",this.options.httpMethod){case"POST":case"GET":break;case"PUT":case"DELETE":case"HEAD":case"OPTIONS":throw new Error(i.default.getMessage("PARAM_NOT_SUPPORT","httpMethod"));default:throw new Error(i.default.getMessage("PARAM_UNKNOWN","httpMethod"))}switch(this.options.protocol="string"==typeof e.protocol?e.protocol.toUpperCase():"XHR",this.options.protocol){case"JSONP":case"XHR":break;default:throw new Error(i.default.getMessage("PARAM_UNKNOWN","protocol"))}if("undefined"==typeof window&&"JSONP"===this.options.protocol)throw new Error(i.default.getMessage("PARAM_NOT_SUPPORT_NODEJS","protocol=JSONP (instead use XHR)"));"JSONP"===this.options.protocol&&(this.options.httpMethod="GET"),this.options.nocache=e.nocache||!1,this.options.outputFormat=null,this.request=null,this.response=null}u.prototype={constructor:u,call:function(){this.logger.trace("CommonService::call ()");var e=this;function t(t){this.logger.trace("CommonService::onBuildRequest : ",t),this.callService.call(e,n,o)}function o(t){this.logger.trace("CommonService::onCallService : ",t),this.analyzeResponse.call(e,n,r)}function r(e){if(this.logger.trace("CommonService::onAnalyzeResponse : ",e),!e)return n.call(this,new a.default("Analyse de la reponse en échec !?"));this.options.onSuccess.call(this,e)}function n(e){this.logger.trace("CommonService::onError()");var t=e;t instanceof a.default||(t=new a.default(e.message)),this.options.onFailure.call(this,t)}(function(){this.logger.trace("CommonService::run ()"),this.buildRequest.call(e,n,t)}).call(e)},buildRequest:function(e,t){this.logger.error("overwritten method !"),e&&e.call(this,"This method must be overwritten !"),t.call(this,"This method must be overwritten !")},callService:function(e,t){var o=null,r=this.request,i=!(!this.options.proxyURL||"XHR"!==this.options.protocol),u={"gp-access-lib":l.version};this.options.apiKey&&(u.apiKey=this.options.apiKey),this.options.serverUrl=n.default.normalyzeUrl(this.options.serverUrl,u,!1),i&&("GET"===this.options.httpMethod&&(o=this.options.proxyURL+n.default.normalyzeUrl(this.options.serverUrl,this.request,!0),r=null),"POST"===this.options.httpMethod&&(o=this.options.proxyURL+n.default.normalyzeUrl(this.options.serverUrl,null,!0),r=this.request));var c=this,d={url:o||this.options.serverUrl,method:this.options.httpMethod,protocol:this.options.protocol,timeOut:this.options.timeOut||0,format:this.options.outputFormat,nocache:this.options.nocache||!1,wrap:"XHR"!==this.options.protocol,callbackSuffix:this.options.callbackSuffix,data:r,headers:null,content:this.options.contentType||"application/xml",scope:this.options.scope||this,onResponse:function(o){c.logger.trace("callService::onResponse()");var r=null;if("XHR"===c.options.protocol&&(c.logger.trace("Response XHR",o),r=o),"JSONP"===c.options.protocol){if(c.logger.trace("Response JSON",o),!o)return void e.call(c,new a.default("Le contenu de la reponse est vide !?"));if(o.http){if(200!==o.http.status)return void e.call(c,new a.default({status:o.http.status,message:o.http.error,type:a.default.TYPE_SRVERR}));r=o.xml,c.options.rawResponse&&(r=o)}else r=o}if("function"==typeof c.options.onBeforeParse){var n=c.options.onBeforeParse(r);"string"==typeof n&&(r=n)}c.response=r,t.call(c,r)},onFailure:function(t){c.logger.trace("callService::onFailure()"),t.type=a.default.TYPE_SRVERR,e.call(c,new a.default(t))},onTimeOut:function(){c.logger.trace("callService::onTimeOut()"),e.call(c,new a.default("TimeOut!"))}};s.default.send(d)},analyzeResponse:function(e,t){this.logger.error("overwritten method !"),e&&e.call(this,"This method must be overwritten !"),t.call(this,"This method must be overwritten !")}},t.default=u},"./node_modules/geoportal-access-lib/src/Services/Config/Config.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-access-lib/src/Utils/MessagesResources.js"),i=o("./node_modules/geoportal-access-lib/src/Services/CommonService.js"),s=o("./node_modules/geoportal-access-lib/src/Services/DefaultUrlService.js"),a=o("./node_modules/geoportal-access-lib/src/Services/Config/ConfigInterface.js");function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function u(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?u(Object(o),!0).forEach((function(t){d(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):u(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function d(e,t,o){return(t=function(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,t||"default");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function p(e){if(!(this instanceof p))throw new TypeError(n.default.getMessage("CLASS_CONSTRUCTOR","Config"));if(this.CLASSNAME="Config",this.logger=r.default.getLogger("Gp.Config"),this.logger.trace("[Constructeur Config (options)]"),!!(null===e.onSuccess||"function"!=typeof e.onSuccess))throw new Error(n.default.getMessage("PARAM_MISSING","onSuccess()"));e.apiKey||e.customConfigFile||(e.apiKey="full"),this.options={},this.options.onSuccess=e.onSuccess,this.options.onFailure=e.onFailure,this.options.sync=e.sync||!1,this.options.listConfigUrls=e.customConfigFile?[e.customConfigFile]:Array.isArray(e.apiKey)?s.default.Config.url(e.apiKey):s.default.Config.url(e.apiKey.split(","))}p.prototype=Object.create(i.default.prototype,{}),p.prototype.constructor=p,p.prototype.buildRequest=function(e,t){this.listConfigUrls=this.options.listConfigUrls,this.listConfigUrls?t.call(this,this.listConfigUrls):e.call(this,new Error("url by default not found !"))},p.prototype.callService=function(e,t){this.options.sync?f.call(this,e,t):h.call(this,e,t)};var h=function(e,t){var r=this;this.listConfigResults=[];var n=null;if("undefined"==typeof window){var i=o("node-fetch");n=i}else n=window.fetch;for(var s=function(e){return n(e,{credentials:"same-origin"}).then((function(e){if(e.ok)return e.json().then((function(e){return e})).catch((function(e){throw new Error("Exception Json : "+e)}));throw new Error("Exception HTTP : "+e.status+" (status code) !")})).catch((function(e){return new Promise((function(t,o){o(e)}))}))},a=[],l=0;l<this.listConfigUrls.length;l++){var u=this.listConfigUrls[l];a.push(s(u))}Promise.all(a).then((function(e){if(!e)throw new Error("results config empty !?");e.forEach((function(e){r.listConfigResults.push(e)}))})).then((function(){t.call(r,r.listConfigResults)})).catch((function(t){e.call(r,t)}))},f=function(e,t){this.listConfigResults=[];for(var o=0;o<this.listConfigUrls.length;o++){var r=this.listConfigUrls[o],n=new XMLHttpRequest;if(n.open("GET",r,!1),n.send(null),200===n.status){var i=JSON.parse(n.responseText);this.listConfigResults.push(i)}}0!==this.listConfigResults.length?t.call(this,this.listConfigResults):e.call(this,new Error("..."))};p.prototype.analyzeResponse=function(e,t){var o=function(e){for(var t={},o={},r={},n=0;n<e.length;n++){if(!e[n].generalOptions||!e[n].layers)return;o=c(c({},o),e[n].generalOptions.apiKeys),t=c(c({},t),e[n].layers),r=c(c({},r),e[n].tileMatrixSets)}return{generalOptions:{apiKeys:o},layers:t,tileMatrixSets:r}}(this.listConfigResults);if(o){var r=new a.default;Object.assign(r,o);var n="undefined"!=typeof window?window:{};if(n.Gp||(n.Gp={}),n.Gp.Config)for(var i in Object.assign(n.Gp.Config,r),r)n.Gp.Config[i]=r[i];else n.Gp.Config=r;t.call(this,n.Gp.Config)}else e.call(this,new Error("configuration structure not conforme !"))},t.default=p},"./node_modules/geoportal-access-lib/src/Services/Config/ConfigInterface.js":function(e,t,o){"use strict";function r(){if(!(this instanceof r))throw new TypeError("ConfigInterface constructor cannot be called as a function.");this.generalOptions={apiKeys:{},title:null,defaultGMLGFIStyle:null,theme:null,wgs84Resolutions:[]},this.layers={},this.tileMatrixSets={}}o.r(t),r.prototype={constructor:r,isKeyConfLoaded:function(e){if(e)return!!this.generalOptions.apiKeys[e]},getLayersId:function(e){return this.generalOptions.apiKeys[e]},getLayerId:function(e,t){if(e&&t){var o=null;if(this.layers){var r=this.layers;for(var n in r)if(r.hasOwnProperty(n)){var i=n.split("$");if(e===i[0]&&i[1]){var s=i[1].split(":");if(i[1].split(";")[1]===t.toUpperCase()){o=n;break}if(s[2]===t.toUpperCase()){o=n;break}}}}if(o)return o}},getLayersConf:function(e){var t={},o=this.getLayersId(e);if(o)for(var r=0;r<o.length;r++){var n=o[r];t[n]=this.layers[n]}return t},getLayerConf:function(e){if(this.layers)return this.layers[e]},getLayerParams:function(e,t){var o={};if(("WMS"===t||0!==Object.keys(this.tileMatrixSets).length)&&0!==Object.keys(this.layers).length){var r=this.getLayerId(e,t);if(r){var n=this.getLayerConf(r),i=this.getLayerKey(r);if(0===i.length)return;for(var s=0;s<i.length;s++)n.serviceParams.serverUrl[i[s]]&&(o.url=n.serviceParams.serverUrl[i[s]]);if(/\/v\//.test(o.url)?o.styles=" ":o.styles=n.styles[0].name,o.version=n.serviceParams.version,o.format=n.formats[0].name,o.projection=n.defaultProjection,o.minScale=n.globalConstraint.minScaleDenominator,o.maxScale=n.globalConstraint.maxScaleDenominator,o.extent=n.globalConstraint.bbox,o.legends=n.legends,o.title=n.title,o.description=n.description,"WMS"===t&&(o.metadata=n.metadata),n.wmtsOptions){o.tileMatrixSetLimits=n.wmtsOptions.tileMatrixSetLimits;var a=n.wmtsOptions.tileMatrixSetLink;if(a){o.TMSLink=a;var l=this.getTMSConf(a);o.matrixIds=Object.keys(l.tileMatrices),o.tileMatrices=l.tileMatrices,o.nativeResolutions=l.nativeResolutions||this.getTMSConf("PM").nativeResolutions}}}}return o},getLayerKey:function(e){var t=[];if(this.generalOptions&&this.generalOptions.apiKeys&&0!==Object.keys(this.generalOptions.apiKeys).length){var o=this.generalOptions.apiKeys;for(var r in o){o[r].forEach((function(o){o===e&&t.push(r)}))}}return t},getTileMatrixSets:function(){return this.tileMatrixSets},getTMSConf:function(e){if(this.tileMatrixSets)return this.tileMatrixSets[e]},getGlobalConstraints:function(e){var t={};if(e){var o=this.getLayerConf(e);t.projection=o.defaultProjection,t.minScale=o.globalConstraint.minScaleDenominator,t.maxScale=o.globalConstraint.maxScaleDenominator,t.extent=o.globalConstraint.bbox}return t}},t.default=r},"./node_modules/geoportal-access-lib/src/Services/DefaultUrlService.js":function(e,t,o){"use strict";o.r(t);var r={ssl:!0,newUrl:function(e){return(!1===r.ssl?"http://":"https://")+"data.geopf.fr"+e},Alti:{new_key:{"elevation-json":"/altimetrie/1.0/calcul/alti/rest/elevation.json","elevation-xml":"/altimetrie/1.0/calcul/alti/rest/elevation.xml","profil-json":"/altimetrie/1.0/calcul/alti/rest/elevationLine.json","profil-xml":"/altimetrie/1.0/calcul/alti/rest/elevationLine.xml"},newUrl:function(){return{"elevation-json":r.newUrl(this.new_key["elevation-json"]),"elevation-xml":r.newUrl(this.new_key["elevation-xml"]),"profil-json":r.newUrl(this.new_key["profil-json"]),"profil-xml":r.newUrl(this.new_key["profil-xml"])}}},ProcessIsoCurve:{new_key:"/navigation/isochrone",newUrl:function(){return r.newUrl(this.new_key)}},Config:{_key:"https://raw.githubusercontent.com/IGNF/geoportal-configuration/new-url/dist/",url:function(e){Array.isArray(e)||(e=e.split(","));for(var t=[],o=0;o<e.length;o++)t[o]=this._key+e[o]+"Config.json";return t}},AutoComplete:{new_key:"/geocodage/completion",newUrl:function(){return r.newUrl(this.new_key)}},ReverseGeocode:{new_key:"/geocodage/reverse",newUrl:function(){return r.newUrl(this.new_key)}},Geocode:{new_key:"/geocodage/search",newUrl:function(){return r.newUrl(this.new_key)}},Route:{new_key:"/navigation/itineraire",newUrl:function(){return r.newUrl(this.new_key)}}};t.default=r},"./node_modules/geoportal-access-lib/src/Services/Geocode/Formats/GeocodeResponseParser.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/MessagesResources.js"),n=o("./node_modules/geoportal-access-lib/src/Exceptions/ErrorService.js"),i=o("./node_modules/geoportal-access-lib/src/Services/Geocode/Response/model/GeocodeResponse.js"),s=o("./node_modules/geoportal-access-lib/src/Services/Geocode/Response/model/GeocodedLocation.js");function a(){if(!(this instanceof a))throw new TypeError("GeocodeResponseParser constructor cannot be called as a function.")}function l(e,t){var o=new s.default;if(e.geometry&&"Point"===e.geometry.type&&(o.position={lon:e.geometry.coordinates[0],lat:e.geometry.coordinates[1]}),e.properties){for(var r in e.properties)"score"===r?o.accuracy=e.properties[r]:"_type"===r?"address"===e.properties[r]?o.type="StreetAddress":"poi"===e.properties[r]?o.type="PositionOfInterest":"parcel"!==e.properties[r]&&"cadastral"!==e.properties[r]||(o.type="CadastralParcel"):o.placeAttributes[r]=e.properties[r];"address"===e.properties._type&&(o.matchType=void 0!==e.properties.number&&null!==e.properties.number?"street number":"street")}t.locations.push(o)}a.prototype={constructor:a,parse:function(e){var t=new i.default,o=JSON.parse(e);if("FeatureCollection"===o.type)for(var s=0;s<o.features.length;++s)l(o.features[s],t);else{if("Feature"!==o.type){if("SERVICE_ERROR"===o.type)return{exceptionReport:o};var a=r.default.getMessage("SERVICE_RESPONSE_ANALYSE",o.type);throw new n.default({message:a,type:n.default.TYPE_UNKERR,status:200})}l(o,t)}return t}},t.default=a},"./node_modules/geoportal-access-lib/src/Services/Geocode/Geocode.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-access-lib/src/Utils/MessagesResources.js"),i=o("./node_modules/geoportal-access-lib/src/Exceptions/ErrorService.js"),s=o("./node_modules/geoportal-access-lib/src/Services/CommonService.js"),a=o("./node_modules/geoportal-access-lib/src/Services/DefaultUrlService.js"),l=o("./node_modules/geoportal-access-lib/src/Services/Geocode/Request/GeocodeRequestFactory.js"),u=o("./node_modules/geoportal-access-lib/src/Services/Geocode/Response/GeocodeResponseFactory.js");function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function d(e){if(!(this instanceof d))throw new TypeError(n.default.getMessage("CLASS_CONSTRUCTOR","Geocode"));this.CLASSNAME="Geocode",this.logger=r.default.getLogger("Gp.Services.Geocode"),this.logger.trace("[Constructeur Geocode (options)]");var t=this.patchOptionConvertor(e);if(t.serverUrl||(t.serverUrl=a.default.Geocode.newUrl()),s.default.apply(this,[t]),!t.hasOwnProperty("query"))throw new Error(n.default.getMessage("PARAM_MISSING","query"));if(this.options.query=t.query,t.index||(this.options.index=t.index="StreetAddress"),t.filters)for(var o=Object.keys(t.filters),i=0;i<o.length;i++){var l=o[i];(void 0===t.filters[l]||"object"===c(t.filters[l])&&0===Object.keys(t.filters[l]).length||"string"==typeof t.filters[l]&&0===t.filters[l].length||Array.isArray(t.filters[l])&&0===t.filters[l].length)&&delete this.options.filters[l]}this.options.index=t.index||"StreetAddress",this.options.maximumResponses=t.maximumResponses||20}d.prototype=Object.create(s.default.prototype,{}),d.prototype.constructor=d,d.prototype.patchOptionConvertor=function(e){var t=e;return t.hasOwnProperty("location")&&(this.logger.warn("The parameter 'location' is deprecated"),t.query||(t.query=t.location),delete t.location),t.filterOptions&&(this.logger.warn("The parameter 'filterOptions' is deprecated"),t.filters||(t.filters=t.filterOptions,t.filters.type&&(this.logger.warn("The parameter 'filterOptions.type' is deprecated"),t.index||(Array.isArray(t.filters.type)&&t.filters.type.length>0?t.index=t.filters.type[0]:t.index=t.filters.type),delete t.filters.type),t.filters.bbox&&(this.logger.warn("The parameter 'filterOptions.bbox' is deprecated"),delete t.filters.bbox)),delete t.filterOptions),t.position&&(t.position.x&&(this.logger.warn("The parameter 'position.x' is deprecated"),t.position.lon||(t.position.lon=t.position.x),delete t.position.x),t.position.y&&(this.logger.warn("The parameter 'position.y' is deprecated"),t.position.lat||(t.position.lat=t.position.y),delete t.position.y)),t.returnFreeForm&&(this.logger.warn("The parameter 'returnFreeForm' is deprecated"),delete t.returnFreeForm),t.srs&&(this.logger.warn("The parameter 'srs' is deprecated"),delete t.srs),t},d.prototype.buildRequest=function(e,t){var o={httpMethod:this.options.httpMethod,geocodeMethod:"search",query:this.options.query,index:this.options.index,returnTrueGeometry:this.options.returnTrueGeometry,position:this.options.position,maxResp:this.options.maximumResponses,filters:this.options.filters};this.request=l.default.build(o),this.request?t.call(this,this.request):e.call(this,new i.default(n.default.getMessage("SERVICE_REQUEST_BUILD")))},d.prototype.analyzeResponse=function(e,t){if(this.response){var o={response:this.response,rawResponse:this.options.rawResponse,onError:e,onSuccess:t,scope:this};u.default.build(o)}else e.call(this,new i.default(n.default.getMessage("SERVICE_RESPONSE_EMPTY")))},t.default=d},"./node_modules/geoportal-access-lib/src/Services/Geocode/Request/GeocodeRequestFactory.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-access-lib/src/Services/Geocode/Request/GeocodeRequestREST.js"),i={build:function(e){var t=r.default.getLogger("GeocodeRequestFactory");t.trace(["GeocodeRequestFactory::build()"]);var o=e||{},i=new n.default(o);if(!i.processRequestString())throw new Error("Error process request (rest) !");var s=i.requestString;return t.trace(s),s}};t.default=i},"./node_modules/geoportal-access-lib/src/Services/Geocode/Request/GeocodeRequestREST.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-access-lib/src/Utils/MessagesResources.js"),i=o("./node_modules/geoportal-access-lib/src/Services/Geocode/Request/model/GeocodeParamREST.js");function s(e){if(this.logger=r.default.getLogger("GeocodeRequestREST"),this.logger.trace("[Constructeur GeocodeRequestREST ()]"),!(this instanceof s))throw new TypeError("GeocodeRequestREST constructor cannot be called as a function.");if(!e)throw new Error(n.default.getMessage("PARAM_EMPTY","options"));this.settings=e}s.prototype={requestString:null,constructor:s,processRequestString:function(){for(var e="",t=new i.default(this.settings).getParams(),o=0;o<t.length;o++){var r=t[o];e&&(e+="&"),e+=r.k+"="+r.v}if(!this.settings.geocodeMethod||"search"!==this.settings.geocodeMethod&&"reverse"!==this.settings.geocodeMethod)throw new Error("Error geocodeMethod not valid");return this.requestString="?"+e,this.logger.trace(this.requestString),this.requestString}},t.default=s},"./node_modules/geoportal-access-lib/src/Services/Geocode/Request/model/GeocodeParamREST.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js");function n(e){if(!(this instanceof n))throw new TypeError("GeocodeParamREST constructor cannot be called as a function.");if(this.logger=r.default.getLogger(),this.logger.trace("[Constructeur GeocodeParamREST ()]"),this.options=e||{},!this.options.geocodeMethod||"search"!==this.options.geocodeMethod&&"reverse"!==this.options.geocodeMethod)throw new Error("Error geocodeMethod not valid");this.geocodeMethod=this.options.geocodeMethod,this.query=void 0!==this.options?this.options.query:null,this.searchGeometry=this.options.searchGeometry||null,this.index=this.options.index||null,this.lon=this.options.position&&this.options.position.lon?this.options.position.lon:null,this.lat=this.options.position&&this.options.position.lat?this.options.position.lat:null,this.maxResp=this.options.maxResp||null,this.returnTrueGeometry=this.options.returnTrueGeometry||null,this.filters=this.options.filters||{}}n.CLASSNAME="GeocodeParamREST",n.prototype={constructor:n,getFilters:function(){var e={};for(var t in this.filters)this.filters.hasOwnProperty(t)&&(e[t]=this.filters[t]);return e},getIndex:function(){return void 0===this.index?null:"StreetAddress"===this.index?"address":"CadastralParcel"===this.index?"parcel":"PositionOfInterest"===this.index?"poi":"location"===this.index?"location":this.index},getSearchGeometry:function(){return JSON.stringify(this.searchGeometry)}},n.prototype.getParams=function(){var e=[];"search"===this.geocodeMethod&&e.push({k:"q",v:this.query}),this.index&&e.push({k:"index",v:this.getIndex()}),"reverse"===this.geocodeMethod&&this.searchGeometry&&e.push({k:"searchgeom",v:this.getSearchGeometry()}),this.lon&&this.lat&&(e.push({k:"lon",v:this.lon}),e.push({k:"lat",v:this.lat})),this.maxResp&&e.push({k:"limit",v:this.maxResp}),this.returnTrueGeometry&&e.push({k:"returntruegeometry",v:this.returnTrueGeometry});var t=this.getFilters();for(var o in t)e.push({k:o,v:t[o]});return e},t.default=n},"./node_modules/geoportal-access-lib/src/Services/Geocode/Response/GeocodeResponseFactory.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Exceptions/ErrorService.js"),n=o("./node_modules/geoportal-access-lib/src/Utils/MessagesResources.js"),i=o("./node_modules/geoportal-access-lib/src/Services/Geocode/Formats/GeocodeResponseParser.js"),s={build:function(e){var t=null;if(e.response){if(e.rawResponse)t=e.response;else{try{if(!(t=(new i.default).parse(e.response)))throw new Error("L'analyse de la réponse du service !?")}catch(t){var o=t.message;return"string"==typeof e.response?o+="('"+e.response+"')":o+="('"+e.response.documentElement.innerHTML+"')",void e.onError.call(e.scope,new r.default({message:n.default.getMessage("SERVICE_RESPONSE_ANALYSE",o),type:r.default.TYPE_UNKERR,status:-1}))}if(t.exceptionReport)return void e.onError.call(e.scope,new r.default({message:n.default.getMessage("SERVICE_RESPONSE_EXCEPTION",t.exceptionReport),type:r.default.TYPE_SRVERR,status:200}))}e.onSuccess.call(e.scope,t)}else e.onError.call(e.scope,new r.default({message:n.default.getMessage("SERVICE_RESPONSE_EMPTY"),type:r.default.TYPE_SRVERR,status:-1}))}};t.default=s},"./node_modules/geoportal-access-lib/src/Services/Geocode/Response/model/GeocodeResponse.js":function(e,t,o){"use strict";function r(){if(!(this instanceof r))throw new TypeError("GeocodeResponse constructor cannot be called as a function.");this.locations=[]}o.r(t),r.prototype={constructor:r},t.default=r},"./node_modules/geoportal-access-lib/src/Services/Geocode/Response/model/GeocodedLocation.js":function(e,t,o){"use strict";function r(){if(!(this instanceof r))throw new TypeError("GeocodedLocation constructor cannot be called as a function.");this.position=null,this.matchType=null,this.placeAttributes={},this.type=null,this.accuracy=null,this.CLASSNAME="GeocodedLocation"}o.r(t),r.prototype={constructor:r},t.default=r},"./node_modules/geoportal-access-lib/src/Services/Geocode/ReverseGeocode.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-access-lib/src/Utils/MessagesResources.js"),i=o("./node_modules/geoportal-access-lib/src/Exceptions/ErrorService.js"),s=o("./node_modules/geoportal-access-lib/src/Services/CommonService.js"),a=o("./node_modules/geoportal-access-lib/src/Services/DefaultUrlService.js"),l=o("./node_modules/geoportal-access-lib/src/Services/Geocode/Request/GeocodeRequestFactory.js"),u=o("./node_modules/geoportal-access-lib/src/Services/Geocode/Response/GeocodeResponseFactory.js");function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function d(e){if(!(this instanceof d))throw new TypeError(n.default.getMessage("CLASS_CONSTRUCTOR","ReverseGeocode"));this.CLASSNAME="ReverseGeocode",this.logger=r.default.getLogger("Gp.Services.ReverseGeocode"),this.logger.trace("[Constructeur ReverseGeocode (options)]");var t=this.patchOptionConvertor(e);if(t.serverUrl||(t.serverUrl=a.default.ReverseGeocode.newUrl()),s.default.apply(this,[t]),t.searchGeometry)this.options.searchGeometry=t.searchGeometry;else if(!t.position)throw new Error(n.default.getMessage("PARAM_MISSING","searchGeometry"));if(t.index||(this.options.index=t.index="StreetAddress"),t.filters)for(var o=Object.keys(t.filters),i=0;i<o.length;i++){var l=o[i];(void 0===t.filters[l]||"object"===c(t.filters[l])&&0===Object.keys(t.filters[l]).length||"string"==typeof t.filters[l]&&0===t.filters[l].length||Array.isArray(t.filters[l])&&0===t.filters[l].length)&&delete this.options.filters[l]}this.options.position=t.position,this.options.index=t.index||"StreetAddress",this.options.maximumResponses=t.maximumResponses||20}d.prototype=Object.create(s.default.prototype,{}),d.prototype.constructor=d,d.prototype.patchOptionConvertor=function(e){var t=e;return t.filterOptions&&(this.logger.warn("The parameter 'filterOptions' is deprecated"),t.filterOptions.type&&(this.logger.warn("The parameter 'filterOptions.type' is deprecated"),t.index||(Array.isArray(t.filterOptions.type)&&t.filterOptions.type.length>0?t.index=t.filterOptions.type[0]:t.index=t.filterOptions.type),delete t.filterOptions.type),t.filterOptions.bbox&&(this.logger.warn("The parameter 'filterOptions.bbox' is deprecated"),t.searchGeometry||(t.searchGeometry=this.bbox2Json(t.filterOptions.bbox)),delete t.filterOptions.bbox),t.filterOptions.circle&&(this.logger.warn("The parameter 'filterOptions.circle' is deprecated"),t.searchGeometry||(t.searchGeometry=this.circle2Json(t.filterOptions.circle)),delete t.filterOptions.circle),t.filterOptions.polygon&&(this.logger.warn("The parameter 'filterOptions.polygon' is deprecated"),t.searchGeometry||(t.searchGeometry=this.polygon2Json(t.filterOptions.polygon)),delete t.filterOptions.polygon),!t.filters&&Object.keys(t.filterOptions).length>0&&(t.filters=t.filterOptions),delete t.filterOptions),t.position&&(t.position.x&&(this.logger.warn("The parameter 'position.x' is deprecated"),t.position.lon||(t.position.lon=t.position.x),delete t.position.x),t.position.y&&(this.logger.warn("The parameter 'position.y' is deprecated"),t.position.lat||(t.position.lat=t.position.y),delete t.position.y)),t.srs&&(this.logger.warn("The parameter 'srs' is deprecated"),delete t.srs),t},d.prototype.buildRequest=function(e,t){var o={httpMethod:this.options.httpMethod,geocodeMethod:"reverse",searchGeometry:this.options.searchGeometry,index:this.options.index,position:this.options.position,returnTrueGeometry:this.options.returnTrueGeometry,maxResp:this.options.maximumResponses,filters:this.options.filters};this.request=l.default.build(o),this.request?t.call(this,this.request):e.call(this,new i.default(n.default.getMessage("SERVICE_REQUEST_BUILD")))},d.prototype.analyzeResponse=function(e,t){if(this.response){var o={response:this.response,rawResponse:this.options.rawResponse,onError:e,onSuccess:t,scope:this};u.default.build(o)}else e.call(this,new i.default(n.default.getMessage("SERVICE_RESPONSE_EMPTY")))},d.prototype.bbox2Json=function(e){return{type:"Polygon",coordinates:[[[e.left,e.top],[e.right,e.top],[e.right,e.bottom],[e.left,e.bottom],[e.left,e.top]]]}},d.prototype.circle2Json=function(e){return{type:"Circle",radius:e.radius,coordinates:[e.x,e.y]}},d.prototype.polygon2Json=function(e){for(var t={type:"Polygon",coordinates:[[]]},o=0;o<e.length;++o)t.coordinates[0].push([e[o].x,e[o].y]);return t},d.geoEPSG=["EPSG:4326"],t.default=d},"./node_modules/geoportal-access-lib/src/Services/ProcessIsoCurve/ProcessIsoCurve.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-access-lib/src/Utils/MessagesResources.js"),i=o("./node_modules/geoportal-access-lib/src/Exceptions/ErrorService.js"),s=o("./node_modules/geoportal-access-lib/src/Services/CommonService.js"),a=o("./node_modules/geoportal-access-lib/src/Services/DefaultUrlService.js"),l=o("./node_modules/geoportal-access-lib/src/Services/ProcessIsoCurve/Request/ProcessIsoCurveRequest.js"),u=o("./node_modules/geoportal-access-lib/src/Services/ProcessIsoCurve/Response/ProcessIsoCurveResponseFactory.js");function c(e){if(!(this instanceof c))throw new TypeError(n.default.getMessage("CLASS_CONSTRUCTOR","ProcessIsoCurve"));if(this.CLASSNAME="ProcessIsoCurve",s.default.apply(this,arguments),this.logger=r.default.getLogger("Gp.Services.ProcessIsoCurve"),this.logger.trace("[Constructeur ProcessIsoCurve (options)]"),!e.position)throw new Error(n.default.getMessage("PARAM_MISSING","position"));if(null===e.position.x)throw new Error(n.default.getMessage("PARAM_MISSING","position.x"));if(null===e.position.y)throw new Error(n.default.getMessage("PARAM_MISSING","position.y"));if(!e.time&&!e.distance)throw new Error("Parameter (s) 'distance' missing. Parameter time to calculate an isochrone, parameter distance for an isodistance");if(!e.time&&e.distance&&(this.options.method="distance",this.options.time&&delete this.options.time),e.time&&!e.distance&&(this.options.method="time",this.options.distance&&delete this.options.distance),this.options.method=this.options.method||"time",this.options.resource=e.resource||"bdtopo-valhalla",this.options.exclusions=e.exclusions||[],this.options.reverse=e.reverse||!1,this.options.srs=e.srs||"EPSG:4326",this.options.distanceUnit=e.distanceUnit||"m",this.options.timeUnit=e.timeUnit||"second",e.smoothing&&this.logger.warn("options.smoothing is DEPRECATED"),this.options.smoothing=!1,e.holes&&this.logger.warn("options.holes is DEPRECATED"),this.options.holes=!1,e.graph?("Voiture"===e.graph&&(this.options.graph="car"),"Pieton"===e.graph&&(this.options.graph="pedestrian")):this.options.graph="car",this.options.constraints=[],e.constraints){if(!Array.isArray(e.constraints))throw new Error(n.default.getMessage("PARAM_TYPE","constraints"));for(var t=0;t<e.constraints.length;t++)this.options.constraints.push(e.constraints[t])}var o={},i={},l={};if(e.exclusions&&0!==e.exclusions.length){this.logger.warn("options.exclusions is DEPRECATED !!");for(var u=0;u<e.exclusions.length;u++)"string"==typeof e.exclusions[u]&&(e.exclusions[u]=e.exclusions[u].toLowerCase(),"toll"===e.exclusions[u]&&(l.constraintType="banned",l.key="wayType",l.operator="=",l.value="autoroute",this.options.constraints.push(l)),"tunnel"===e.exclusions[u]&&(o.constraintType="banned",o.key="wayType",o.operator="=",o.value="tunnel",this.options.constraints.push(o)),"bridge"===e.exclusions[u]&&(i.constraintType="banned",i.key="wayType",i.operator="=",i.value="pont",this.options.constraints.push(i)))}if(this.options.outputFormat="string"==typeof e.outputFormat?e.outputFormat.toLowerCase():"json",e.outputFormat&&"json"!==e.outputFormat)throw new Error(n.default.getMessage("PARAM_NOT_SUPPORT","outputFormat"));if(this.options.outputFormat="json",!this.options.serverUrl){var d=a.default.ProcessIsoCurve.newUrl();if(!d)throw new Error("Url by default not found !");this.options.serverUrl=d,this.logger.trace("Serveur URL par defaut : "+this.options.serverUrl)}}c.prototype=Object.create(s.default.prototype,{}),c.prototype.constructor=c,c.prototype.buildRequest=function(e,t){try{var o=new l.default(this.options);if(!o.processRequestString())throw new Error(n.default.getMessage("SERVICE_REQUEST_BUILD"));this.request=o.requestString}catch(t){return void e.call(this,new i.default(t.message))}t.call(this,this.request)},c.prototype.analyzeResponse=function(e,t){if(this.response){var o={response:this.response,outputFormat:this.options.outputFormat,rawResponse:this.options.rawResponse,onSuccess:t,onError:e,scope:this};u.default.build(o)}else e.call(this,new i.default(n.default.getMessage("SERVICE_RESPONSE_EMPTY")))},t.default=c},"./node_modules/geoportal-access-lib/src/Services/ProcessIsoCurve/Request/ProcessIsoCurveRequest.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-access-lib/src/Utils/MessagesResources.js"),i=o("./node_modules/geoportal-access-lib/src/Services/ProcessIsoCurve/Request/model/ProcessIsoCurveParam.js");function s(e){if(this.logger=r.default.getLogger("ProcessIsoCurveRequest"),this.logger.trace("[Constructeur ProcessIsoCurveRequest ()]"),!(this instanceof s))throw new TypeError("ProcessIsoCurveRequest constructor cannot be called as a function.");if(!e)throw new Error(n.default.getMessage("PARAM_EMPTY","options"));this.settings=e,this.mode=this.settings.httpMethod||"GET"}s.prototype={requestString:null,constructor:s,processRequestString:function(){var e="",t=0;switch(this.mode){case"GET":this.logger.trace("Process GET Request");var o=new i.default(this.settings).getParams();for(t=0;t<o.length;t++){var r=o[t];e&&(e+="&"),e+=r.k+"="+r.v}break;case"POST":this.logger.trace("Process POST Request");var n={};n.resource=this.settings.resource,n.point=this.settings.position.x+","+this.settings.position.y,"distance"===this.settings.method?(n.costType="distance",n.costValue=this.settings.distance):(n.costType="time",n.costValue=this.settings.time),n.profile=this.settings.graph,this.settings.reverse?n.direction="arrival":n.direction="departure",n.constraints=this.settings.constraints,n.distanceUnit=this.settings.distanceUnit,n.timeUnit=this.settings.timeUnit,n.crs=this.settings.srs,e=JSON.stringify(n);break;default:this.logger.error("No other HTTP method supported by the service !")}return this.logger.trace(e),this.requestString=e,this.requestString}},t.default=s},"./node_modules/geoportal-access-lib/src/Services/ProcessIsoCurve/Request/model/ProcessIsoCurveParam.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js");function n(e){if(!(this instanceof n))throw new TypeError("ProcessIsoCurveParam constructor cannot be called as a function.");this.logger=r.default.getLogger(),this.logger.trace("[Constructeur ProcessIsoCurveParam ()]"),this.options=e||{},this.id=this.options.id,this.resource=this.options.resource,this.point=this.options.position,this.crs=this.options.srs,this.profile=this.options.graph,this.constraints=this.options.constraints,this.reverse=this.options.reverse,this.timeUnit=this.options.timeUnit,this.distanceUnit=this.options.distanceUnit,"distance"===this.options.method?(this.costType="distance",this.costValue=this.options.distance,"m"===this.distanceUnit&&this.costValue>=5e4&&(this.distanceUnit="km",this.costValue/=1e3)):(this.costType="time",this.costValue=this.options.time)}n.CLASSNAME="ProcessIsoCurveParam",n.prototype={constructor:n,getLocation:function(){return this.point.x+","+this.point.y},getDistanceUnit:function(){return"m"===this.distanceUnit?"meter":"km"===this.distanceUnit?"kilometer":""},getConstraints:function(){var e=[];if(0!==this.constraints.length)for(var t=0;t<this.constraints.length;t++)e.push(JSON.stringify(this.constraints[t]));return e.join("|")},getDirection:function(){return this.reverse?"arrival":"departure"}},n.prototype.getParams=function(){var e=[];return e.push({k:"resource",v:this.resource}),e.push({k:"point",v:this.getLocation()}),e.push({k:"direction",v:this.getDirection()}),e.push({k:"costType",v:this.costType}),e.push({k:"costValue",v:this.costValue}),e.push({k:"profile",v:this.profile}),e.push({k:"timeUnit",v:this.timeUnit}),e.push({k:"distanceUnit",v:this.getDistanceUnit()}),this.crs&&e.push({k:"crs",v:this.crs}),this.constraints&&e.push({k:"constraints",v:this.getConstraints()}),e},t.default=n},"./node_modules/geoportal-access-lib/src/Services/ProcessIsoCurve/Response/ProcessIsoCurveResponseFactory.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-access-lib/src/Utils/MessagesResources.js"),i=o("./node_modules/geoportal-access-lib/src/Exceptions/ErrorService.js"),s=o("./node_modules/geoportal-access-lib/src/Services/ProcessIsoCurve/Response/model/ProcessIsoCurveResponse.js"),a={build:function(e){var t=r.default.getLogger("ProcessIsoCurveResponseFactory");t.trace(["ProcessIsoCurveResponseFactory::build()"]);var o=null;if(e.response){if(e.rawResponse)t.trace("analyze response : raw"),o=e.response;else{var a;if(t.trace("analyze response : json"),a="string"==typeof e.response?JSON.parse(e.response):e.response,o=new s.default,!a)return void e.onError.call(e.scope,new i.default(n.default.getMessage("SERVICE_RESPONSE_ANALYSE",e.response)));"distance"===a.costType?(o.time="",o.distance=a.costValue):(o.time=a.costValue,o.distance=""),o.message="",o.id="",o.srs=a.crs,o.geometry=a.geometry;var l=a.point.split(",");if(o.location&&(o.location.x=l[0],o.location.y=l[1]),o.exceptionReport)return void e.onError.call(e.scope,new i.default({message:n.default.getMessage("SERVICE_RESPONSE_EXCEPTION",o.exceptionReport),type:i.default.TYPE_SRVERR,status:200}))}e.onSuccess.call(e.scope,o)}else e.onError.call(e.scope,new i.default(n.default.getMessage("SERVICE_RESPONSE_EMPTY")))}};t.default=a},"./node_modules/geoportal-access-lib/src/Services/ProcessIsoCurve/Response/model/ProcessIsoCurveResponse.js":function(e,t,o){"use strict";function r(){if(!(this instanceof r))throw new TypeError("ProcessIsoCurveResponse constructor cannot be called as a function.");this.message=null,this.id=null,this.location={},this.location.x=null,this.location.y=null,this.srs=null,this.geometry=null,this.time=null,this.distance=null}o.r(t),r.prototype={constructor:r},t.default=r},"./node_modules/geoportal-access-lib/src/Services/Route/Request/RouteRequestFactory.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-access-lib/src/Exceptions/ErrorService.js"),i=o("./node_modules/geoportal-access-lib/src/Services/Route/Request/RouteRequestREST.js"),s={build:function(e){r.default.getLogger("RouteRequestFactory").trace(["RouteRequestFactory::build()"]);var t=e||{},o=!(null===e.onError||"function"!=typeof e.onError),s=null,a=new i.default(t);if(!a.processRequestString()){if(s="Error process request (rest) !",o)return void e.onError.call(e.scope,new n.default(s));throw new Error(s)}return a.requestString}};t.default=s},"./node_modules/geoportal-access-lib/src/Services/Route/Request/RouteRequestREST.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-access-lib/src/Utils/MessagesResources.js"),i=o("./node_modules/geoportal-access-lib/src/Services/Route/Request/model/RouteParamREST.js");function s(e){if(this.logger=r.default.getLogger("RouteRequestREST"),this.logger.trace("[Constructeur RouteRequestREST ()]"),!(this instanceof s))throw new TypeError("RouteRequestREST constructor cannot be called as a function.");if(!e)throw new Error(n.default.getMessage("PARAM_EMPTY","options"));this.settings=e}s.prototype={requestString:null,constructor:s,processRequestString:function(){this.logger.warn(" PROTOTYPE !");for(var e=new i.default(this.settings).getParams(),t="",o=0;o<e.length;o++){var r=e[o];t&&(t+="&"),t+=r.k+"="+r.v}return this.logger.trace(t),this.requestString=t,this.requestString}},t.default=s},"./node_modules/geoportal-access-lib/src/Services/Route/Request/model/RouteParamREST.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js");function n(e){if(!(this instanceof n))throw new TypeError("RouteParamREST constructor cannot be called as a function.");this.logger=r.default.getLogger(),this.logger.trace("[Constructeur RouteParamREST ()]"),this.options=e||{},this.resource=this.options.resource,this.start=this.options.startPoint.x+","+this.options.startPoint.y,this.end=this.options.endPoint.x+","+this.options.endPoint.y,this.intermediates=this.options.viaPoints,this.profile=this.options.graph,this.crs=this.options.srs,this.constraints=this.options.constraints,this.optimization=this.options.routePreference,this.getSteps=this.options.geometryInInstructions?"true":"false",this.distanceUnit=this.options.distanceUnit,this.timeUnit=this.options.timeUnit,this.waysAttributes=this.options.waysAttributes}n.CLASSNAME="RouteParamREST",n.prototype={constructor:n,getIntermediates:function(){var e=[];if(0!==this.intermediates.length)for(var t=0;t<this.intermediates.length;t++){var o=this.intermediates[t];e.push(o.x+","+o.y)}return e.join("|")},getWaysAttributes:function(){return this.waysAttributes.join("|")},getProfile:function(){return this.profile},getDistanceUnit:function(){return"m"===this.distanceUnit?"meter":"km"===this.distanceUnit?"kilometer":""},getOptimization:function(){return this.optimization?this.optimization:""},getConstraints:function(){var e=[];if(0!==this.constraints.length)for(var t=0;t<this.constraints.length;t++)e.push(JSON.stringify(this.constraints[t]));return e.join("|")}},n.prototype.getParams=function(){var e=[];return e.push({k:"resource",v:this.resource}),e.push({k:"start",v:this.start}),e.push({k:"end",v:this.end}),e.push({k:"geometryFormat",v:"geojson"}),this.optimization&&e.push({k:"optimization",v:this.getOptimization()}),this.intermediates&&e.push({k:"intermediates",v:this.getIntermediates()}),this.profile&&e.push({k:"profile",v:this.getProfile()}),this.constraints&&e.push({k:"constraints",v:this.getConstraints()}),this.crs&&e.push({k:"crs",v:this.crs}),this.distanceUnit&&e.push({k:"distanceUnit",v:this.getDistanceUnit()}),this.timeUnit&&e.push({k:"timeUnit",v:this.timeUnit}),this.waysAttributes&&e.push({k:"waysAttributes",v:this.getWaysAttributes()}),e},t.default=n},"./node_modules/geoportal-access-lib/src/Services/Route/Response/RouteResponseFactory.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-access-lib/src/Utils/MessagesResources.js"),i=o("./node_modules/geoportal-access-lib/src/Exceptions/ErrorService.js"),s=o("./node_modules/geoportal-access-lib/src/Services/Route/Response/model/RouteResponse.js"),a=o("./node_modules/geoportal-access-lib/src/Services/Route/Response/model/RouteInstruction.js"),l={build:function(e){var t=r.default.getLogger("RouteResponseFactory");t.trace("RouteResponseFactory::build()");var o=null;if(e.response){if(e.rawResponse)t.trace("analyze response : raw"),o=e.response;else{var l;if(t.trace("analyze response : json"),l="string"==typeof e.response?JSON.parse(e.response):e.response){if(l.message)return void e.onError.call(e.scope,new i.default(n.default.getMessage("SERVICE_RESPONSE_EXCEPTION",l.message)));var u=[],c=[],d=[];if((o=new s.default).hasOwnProperty("totalTime")&&(o.totalTime=parseFloat(l.duration)),o.hasOwnProperty("totalDistance")&&(o.totalDistance=parseFloat(l.distance)),o.hasOwnProperty("bbox")&&(o.bbox.left=parseFloat(l.bbox[0]),o.bbox.bottom=parseFloat(l.bbox[1]),o.bbox.right=parseFloat(l.bbox[2]),o.bbox.top=parseFloat(l.bbox[3])),o.hasOwnProperty("routeGeometry")&&!e.geometryInInstructions&&(o.routeGeometry=l.geometry),o.hasOwnProperty("routeInstructions")&&e.geometryInInstructions){var p,h=l.portions;if(Array.isArray(h)&&h.length)for(p=0;p<h.length;p++)u.push(h[p]);if(u.length)for(p=0;p<u.length;p++)c.push(u[p].steps);if(c.length)for(p=0;p<c.length;p++)d=d.concat(c[p]);d.forEach((function(e){switch(o.routeInstructions.push(new a.default),o.routeInstructions[o.routeInstructions.length-1].duration=e.duration,o.routeInstructions[o.routeInstructions.length-1].distance=e.distance,o.routeInstructions[o.routeInstructions.length-1].code="",o.routeInstructions[o.routeInstructions.length-1].instruction="",o.routeInstructions[o.routeInstructions.length-1].geometry=e.geometry,"Valeur non renseignée"===e.name&&(e.name=""),e.instruction.type){case"turn":o.routeInstructions[o.routeInstructions.length-1].instruction+="Tourner";break;case"new name":o.routeInstructions[o.routeInstructions.length-1].instruction+="Continuer tout droit";break;case"depart":o.routeInstructions[o.routeInstructions.length-1].instruction+="Départ";break;case"arrive":o.routeInstructions[o.routeInstructions.length-1].instruction+="Arrivée";break;case"merge":o.routeInstructions[o.routeInstructions.length-1].instruction+="Rejoindre";break;case"ramp":case"on ramp":o.routeInstructions[o.routeInstructions.length-1].instruction+="Prendre la bretelle";break;case"off ramp":o.routeInstructions[o.routeInstructions.length-1].instruction+="Prendre la sortie";break;case"fork":o.routeInstructions[o.routeInstructions.length-1].instruction+="Sur la bifurcation, prendre";break;case"end of road":o.routeInstructions[o.routeInstructions.length-1].instruction+="À la fin de la route, prendre";break;case"use lane":o.routeInstructions[o.routeInstructions.length-1].instruction+="Utiliser la file";break;case"continue":o.routeInstructions[o.routeInstructions.length-1].instruction+="Continuer";break;case"roundabout":case"rotary":o.routeInstructions[o.routeInstructions.length-1].instruction+="Au rond-point";break;case"roundabout turn":o.routeInstructions[o.routeInstructions.length-1].instruction+="Au rond point, tourner";break;case"notification":o.routeInstructions[o.routeInstructions.length-1].instruction+="";break;default:o.routeInstructions[o.routeInstructions.length-1].instruction+="?"+e.instruction.type+"?"}if(e.instruction.modifier)switch(e.instruction.modifier){case"uturn":o.routeInstructions[o.routeInstructions.length-1].instruction="Faire demi-tour";break;case"sharp right":o.routeInstructions[o.routeInstructions.length-1].instruction+=" complètement à droite";break;case"right":o.routeInstructions[o.routeInstructions.length-1].instruction+=" à droite";break;case"slight right":o.routeInstructions[o.routeInstructions.length-1].instruction+=" légèrement à droite";break;case"straight":o.routeInstructions[o.routeInstructions.length-1].instruction="Continuer tout droit";break;case"slight left":o.routeInstructions[o.routeInstructions.length-1].instruction+=" lègèrement à gauche";break;case"left":o.routeInstructions[o.routeInstructions.length-1].instruction+=" à gauche";break;case"sharp left":o.routeInstructions[o.routeInstructions.length-1].instruction+=" complètement à gauche";break;default:o.routeInstructions[o.routeInstructions.length-1].instruction+=" ?"+e.instruction.modifier+"?"}e.instruction.exit&&(o.routeInstructions[o.routeInstructions.length-1].instruction+="".concat(e.instruction.exit,"e sortie")),e.attributes.name&&((e.attributes.name.nom_1_droite||e.attributes.name.toponyme)&&(o.routeInstructions[o.routeInstructions.length-1].instruction+=" sur"),e.attributes.name.nom_1_droite&&(o.routeInstructions[o.routeInstructions.length-1].instruction+=" ".concat(e.attributes.name.nom_1_droite)),e.attributes.name.toponyme&&(o.routeInstructions[o.routeInstructions.length-1].instruction+=" ".concat(e.attributes.name.toponyme)))}))}}if(!o)return void e.onError.call(e.scope,new i.default(n.default.getMessage("SERVICE_RESPONSE_ANALYSE","json")));if(o.exceptionReport)return void e.onError.call(e.scope,new i.default(n.default.getMessage("SERVICE_RESPONSE_EXCEPTION_2")))}e.onSuccess.call(e.scope,o)}else e.onError.call(e.scope,new i.default(n.default.getMessage("SERVICE_RESPONSE_EMPTY")))}};t.default=l},"./node_modules/geoportal-access-lib/src/Services/Route/Response/model/RouteInstruction.js":function(e,t,o){"use strict";function r(){if(!(this instanceof r))throw new TypeError("RouteInstruction constructor cannot be called as a function.");this.duration=null,this.distance=null,this.code=null,this.instruction=null,this.geometry=null}o.r(t),r.prototype={constructor:r},t.default=r},"./node_modules/geoportal-access-lib/src/Services/Route/Response/model/RouteResponse.js":function(e,t,o){"use strict";function r(){if(!(this instanceof r))throw new TypeError("RouteResponse constructor cannot be called as a function.");this.totalTime=null,this.totalDistance=null,this.bbox={left:null,right:null,top:null,bottom:null},this.routeGeometry=null,this.routeInstructions=[]}o.r(t),r.prototype={constructor:r},t.default=r},"./node_modules/geoportal-access-lib/src/Services/Route/Route.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-access-lib/src/Utils/MessagesResources.js"),i=o("./node_modules/geoportal-access-lib/src/Exceptions/ErrorService.js"),s=o("./node_modules/geoportal-access-lib/src/Services/CommonService.js"),a=o("./node_modules/geoportal-access-lib/src/Services/DefaultUrlService.js"),l=o("./node_modules/geoportal-access-lib/src/Services/Route/Request/RouteRequestFactory.js"),u=o("./node_modules/geoportal-access-lib/src/Services/Route/Response/RouteResponseFactory.js");function c(e){if(!(this instanceof c))throw new TypeError(n.default.getMessage("CLASS_CONSTRUCTOR","Route"));if(this.CLASSNAME="Route",s.default.apply(this,arguments),this.logger=r.default.getLogger("Gp.Services.Route"),this.logger.trace("[Constructeur Route (options)]"),!e.startPoint)throw new Error(n.default.getMessage("PARAM_MISSING","startPoint"));if(null===e.startPoint.x)throw new Error(n.default.getMessage("PARAM_MISSING","startPoint.x"));if(null===e.startPoint.y)throw new Error(n.default.getMessage("PARAM_MISSING","startPoint.y"));if(!e.endPoint)throw new Error(n.default.getMessage("PARAM_MISSING","endPoint"));if(null===e.endPoint.x)throw new Error(n.default.getMessage("PARAM_MISSING","endPoint.x"));if(null===e.endPoint.y)throw new Error(n.default.getMessage("PARAM_MISSING","endPoint.y"));if(e.outputFormat&&"json"!==e.outputFormat&&this.logger.warn("options.outputFormat could only be json"),this.options.outputFormat="json",this.options.resource=e.resource||"bdtopo-osrm",this.options.startPoint=e.startPoint,this.options.endPoint=e.endPoint,this.options.viaPoints=e.viaPoints||[],this.options.routePreference=e.routePreference||"fastest",e.graph?("Voiture"===e.graph&&(this.options.graph="car"),"Pieton"===e.graph&&(this.options.graph="pedestrian")):this.options.graph="car",this.options.constraints=[],e.constraints){if(!Array.isArray(e.constraints))throw new Error(n.default.getMessage("PARAM_TYPE","constraints"));for(var t=0;t<e.constraints.length;t++)this.options.constraints.push(e.constraints[t])}var o={},i={},l={};if(e.exclusions&&0!==e.exclusions.length){this.logger.warn("options.exclusions is DEPRECATED !!");for(var u=0;u<e.exclusions.length;u++)"string"==typeof e.exclusions[u]&&(e.exclusions[u]=e.exclusions[u].toLowerCase(),"toll"===e.exclusions[u]&&(l.constraintType="banned",l.key="wayType",l.operator="=",l.value="autoroute",this.options.constraints.push(l)),"tunnel"===e.exclusions[u]&&(o.constraintType="banned",o.key="wayType",o.operator="=",o.value="tunnel",this.options.constraints.push(o)),"bridge"===e.exclusions[u]&&(i.constraintType="banned",i.key="wayType",i.operator="=",i.value="pont",this.options.constraints.push(i)))}if(this.options.geometryInInstructions=e.geometryInInstructions||!1,this.options.provideBbox=e.provideBbox||!0,this.options.distanceUnit=e.distanceUnit||"m",this.options.timeUnit=e.timeUnit||"second",this.options.expectedStartTime=null,this.options.srs=e.srs||"EPSG:4326",this.options.waysAttributes=e.waysAttributes||[],!this.options.serverUrl){var d=a.default.Route.newUrl();if(!d)throw new Error("Url by default not found !");this.options.serverUrl=d,this.logger.trace("Serveur URL par defaut : "+this.options.serverUrl)}}c.prototype=Object.create(s.default.prototype,{}),c.prototype.constructor=c,c.prototype.buildRequest=function(e,t){var o={resource:this.options.resource,startPoint:this.options.startPoint,endPoint:this.options.endPoint,viaPoints:this.options.viaPoints,provideBbox:this.options.provideBbox,constraints:this.options.constraints,distanceUnit:this.options.distanceUnit,timeUnit:this.options.timeUnit,graph:this.options.graph,geometryInInstructions:this.options.geometryInInstructions,routePreference:this.options.routePreference,srs:this.options.srs,waysAttributes:this.options.waysAttributes};this.request=l.default.build(o),this.request?t.call(this,this.request):e.call(this,new i.default(n.default.getMessage("SERVICE_REQUEST_BUILD")))},c.prototype.analyzeResponse=function(e,t){if(this.response){var o={distanceUnit:this.options.distanceUnit,timeUnit:this.options.timeUnit,response:this.response,outputFormat:this.options.outputFormat,rawResponse:this.options.rawResponse,onError:e,onSuccess:t,scope:this,geometryInInstructions:this.options.geometryInInstructions};u.default.build(o)}else e.call(this,new i.default(n.default.getMessage("SERVICE_RESPONSE_EMPTY")))},t.default=c},"./node_modules/geoportal-access-lib/src/Services/Services.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Services/Config/Config.js"),n=o("./node_modules/geoportal-access-lib/src/Services/Alti/Alti.js"),i=o("./node_modules/geoportal-access-lib/src/Services/Geocode/Geocode.js"),s=o("./node_modules/geoportal-access-lib/src/Services/Geocode/ReverseGeocode.js"),a=o("./node_modules/geoportal-access-lib/src/Services/AutoComplete/AutoComplete.js"),l=o("./node_modules/geoportal-access-lib/src/Services/Route/Route.js"),u=o("./node_modules/geoportal-access-lib/src/Services/ProcessIsoCurve/ProcessIsoCurve.js"),c={getConfig:function(e){new r.default(e).call()},getAltitude:function(e){new n.default(e).call()},geocode:function(e){new i.default(e).call()},reverseGeocode:function(e){new s.default(e).call()},autoComplete:function(e){new a.default(e).call()},route:function(e){new l.default(e).call()},isoCurve:function(e){new u.default(e).call()}};t.default=c},"./node_modules/geoportal-access-lib/src/Utils/Helper.js":function(e,t,o){"use strict";o.r(t);var r={normalyzeParameters:function(e){var t=null;if(e){var o=[];for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];n||(n=""),o.push(r+"="+n)}t=o.join("&")}return t},normalyzeUrl:function(e,t,o){var r=e;if(e){if(e.split("?").length-1>=2){var n=e.search(/\?/)+1;r=e.substring(0,n)+e.slice(n).replace(/\?/g,"&")}var i=e.indexOf("?");-1===i&&(r+="?"),-1!==i&&i!==e.length-1&&(r+="&")}return t&&(r+="string"==typeof t?t=t.replace("?",""):this.normalyzeParameters(t)),o&&(r=encodeURIComponent(r)),r},indent:function(e,t){return new Array((e||0)+1).join("\t")+t}};t.default=r},"./node_modules/geoportal-access-lib/src/Utils/LoggerByDefault.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/loglevel/lib/loglevel.js"),n={getLogger:function(e){if(void 0===t)var t={env:{VERBOSE:!1}};t.env.VERBOSE?r.enableAll():r.disableAll();var o=e||"default";return r.getLogger(o)}};t.default=n},"./node_modules/geoportal-access-lib/src/Utils/MessagesResources.js":function(e,t,o){"use strict";o.r(t);var r={PARAM_MISSING:"Parameter(s) '%var%' missing",PARAM_EMPTY:"Parameter(s) '%var%' empty",PARAM_TYPE:"Wrong type(s) for parameter(s) '%var%'",PARAM_FORMAT:"Parameter(s) '%var%' not correctly formatted",PARAM_NOT_SUPPORT:"Value(s) for parameter(s) '%var%' not supported",PARAM_NOT_SUPPORT_NODEJS:"Value(s) for parameter(s) '%var%' not supported to NodeJS",PARAM_UNKNOWN:"Value(s) for parameter(s) '%var%' unknown",SERVICE_REQUEST_BUILD:"An error occurred during the request building of the service",SERVICE_REQUEST_EMPTY:"The request sent to the service is empty",SERVICE_RESPONSE_EXCEPTION:"The service returned an exception : '%var%'",SERVICE_RESPONSE_EXCEPTION_2:"The service returned an exception",SERVICE_RESPONSE_ANALYSE:"An error occurred while parsing the response '%var%' of the service",SERVICE_RESPONSE_ANALYSE_2:"An unknown error occurred while parsing the response",SERVICE_RESPONSE_EMPTY:"The response of the service is empty",SERVICE_RESPONSE_EMPTY_2:"The response from the service could not be analyzed or is empty",SERVICE_RESPONSE_FORMAT:"The format of the service response is not supported (handled format(s) : '%var%')",SERVICE_RESPONSE_FORMAT_2:"The format of the service response is not supported",SERVICE_RESPONSE_FORMAT_3:"No suggestion matching the search",CLASS_CONSTRUCTOR:"'%var%' constructor cannot be called as a function.",getMessage:function(e,t){if(0===Object.keys(arguments).length)return"Message indefined !";var o=Array.prototype.slice.call(arguments),r=o.shift(),n=o,i=this[r];try{i=Array.isArray(n)&&n.length>0?i.replace("%var%",n.join(" - ")):i.replace("%var%","%var% (not specified)")}catch(e){}return i}};t.default=r},"./node_modules/geoportal-extensions-openlayers/dist/GpPluginOpenLayers-src.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/conventions.js":function(e,t,o){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function n(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.getOwnPropertyDescriptors&&(e=t.create(null,t.getOwnPropertyDescriptors(e))),t&&"function"==typeof t.freeze?t.freeze(e):e}function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var s=n({allowfullscreen:!0,async:!0,autofocus:!0,autoplay:!0,checked:!0,controls:!0,default:!0,defer:!0,disabled:!0,formnovalidate:!0,hidden:!0,ismap:!0,itemscope:!0,loop:!0,multiple:!0,muted:!0,nomodule:!0,novalidate:!0,open:!0,playsinline:!0,readonly:!0,required:!0,reversed:!0,selected:!0});var a=n({area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});var l=n({script:!1,style:!1,textarea:!0,title:!0});function u(e){return e===c.HTML}var c=n({HTML:"text/html",XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),d=Object.keys(c).map((function(e){return c[e]}));var p=n({HTML:"http://www.w3.org/1999/xhtml",SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.assign=function(e,t){if(null===e||"object"!==r(e))throw new TypeError("target is not an object");for(var o in t)i(t,o)&&(e[o]=t[o]);return e},t.find=function(e,t,o){if(void 0===o&&(o=Array.prototype),e&&"function"==typeof o.find)return o.find.call(e,t);for(var r=0;r<e.length;r++)if(i(e,r)){var n=e[r];if(t.call(void 0,n,r,e))return n}},t.freeze=n,t.HTML_BOOLEAN_ATTRIBUTES=s,t.HTML_RAW_TEXT_ELEMENTS=l,t.HTML_VOID_ELEMENTS=a,t.hasDefaultHTMLNamespace=function(e){return u(e)||e===c.XML_XHTML_APPLICATION},t.hasOwn=i,t.isHTMLBooleanAttribute=function(e){return i(s,e.toLowerCase())},t.isHTMLRawTextElement=function(e){var t=e.toLowerCase();return i(l,t)&&!l[t]},t.isHTMLEscapableRawTextElement=function(e){var t=e.toLowerCase();return i(l,t)&&l[t]},t.isHTMLMimeType=u,t.isHTMLVoidElement=function(e){return i(a,e.toLowerCase())},t.isValidMimeType=function(e){return d.indexOf(e)>-1},t.MIME_TYPE=c,t.NAMESPACE=p},"./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/dom-parser.js":function(e,t,o){"use strict";var r=o("./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/conventions.js"),n=o("./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/dom.js"),i=o("./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/errors.js"),s=o("./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/entities.js"),a=o("./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/sax.js"),l=n.DOMImplementation,u=r.hasDefaultHTMLNamespace,c=r.isHTMLMimeType,d=r.isValidMimeType,p=r.MIME_TYPE,h=r.NAMESPACE,f=i.ParseError,m=a.XMLReader;function g(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028\u2029]/g,"\n")}function y(e){if(void 0===(e=e||{}).locator&&(e.locator=!0),this.assign=e.assign||r.assign,this.domHandler=e.domHandler||v,this.onError=e.onError||e.errorHandler,e.errorHandler&&"function"!=typeof e.errorHandler)throw new TypeError("errorHandler object is no longer supported, switch to onError!");e.errorHandler&&e.errorHandler("warning","The `errorHandler` option has been deprecated, use `onError` instead!",this),this.normalizeLineEndings=e.normalizeLineEndings||g,this.locator=!!e.locator,this.xmlns=this.assign(Object.create(null),e.xmlns)}function v(e){var t=e||{};this.mimeType=t.mimeType||p.XML_APPLICATION,this.defaultNamespace=t.defaultNamespace||null,this.cdata=!1,this.currentElement=void 0,this.doc=void 0,this.locator=void 0,this.onError=t.onError}function _(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function b(e,t,o){return"string"==typeof e?e.substr(t,o):e.length>=t+o||t?new java.lang.String(e,t,o)+"":e}function A(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}y.prototype.parseFromString=function(e,t){if(!d(t))throw new TypeError('DOMParser.parseFromString: the provided mimeType "'+t+'" is not valid.');var o=this.assign(Object.create(null),this.xmlns),n=s.XML_ENTITIES,i=o[""]||null;u(t)?(n=s.HTML_ENTITIES,i=h.HTML):t===p.XML_SVG_IMAGE&&(i=h.SVG),o[""]=i,o.xml=o.xml||h.XML;var a=new this.domHandler({mimeType:t,defaultNamespace:i,onError:this.onError}),l=this.locator?{}:void 0;this.locator&&a.setDocumentLocator(l);var c=new m;return c.errorHandler=a,c.domBuilder=a,!r.isHTMLMimeType(t)&&"string"!=typeof e&&c.errorHandler.fatalError("source is not a string"),c.parse(this.normalizeLineEndings(String(e)),o,n),a.doc.documentElement||c.errorHandler.fatalError("missing root element"),a.doc},v.prototype={startDocument:function(){var e=new l;this.doc=c(this.mimeType)?e.createHTMLDocument(!1):e.createDocument(this.defaultNamespace,"")},startElement:function(e,t,o,r){var n=this.doc,i=n.createElementNS(e,o||t),s=r.length;A(this,i),this.currentElement=i,this.locator&&_(this.locator,i);for(var a=0;a<s;a++){e=r.getURI(a);var l=r.getValue(a),u=(o=r.getQName(a),n.createAttributeNS(e,o));this.locator&&_(r.getLocator(a),u),u.value=u.nodeValue=l,i.setAttributeNode(u)}},endElement:function(e,t,o){this.currentElement=this.currentElement.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var o=this.doc.createProcessingInstruction(e,t);this.locator&&_(this.locator,o),A(this,o)},ignorableWhitespace:function(e,t,o){},characters:function(e,t,o){if(e=b.apply(this,arguments)){if(this.cdata)var r=this.doc.createCDATASection(e);else r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&_(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){e&&(e.lineNumber=0),this.locator=e},comment:function(e,t,o){e=b.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&_(this.locator,r),A(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,o,r){var n=this.doc.implementation;if(n&&n.createDocumentType){var i=n.createDocumentType(e,t,o,r);this.locator&&_(this.locator,i),A(this,i),this.doc.doctype=i}},reportError:function(e,t){if("function"==typeof this.onError)try{this.onError(e,t,this)}catch(o){throw new f("Reporting "+e+' "'+t+'" caused '+o,this.locator)}else console.error("[xmldom "+e+"]\t"+t,function(e){if(e)return"\n@#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}(this.locator))},warning:function(e){this.reportError("warning",e)},error:function(e){this.reportError("error",e)},fatalError:function(e){throw this.reportError("fatalError",e),new f(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){v.prototype[e]=function(){return null}})),t.__DOMHandler=v,t.DOMParser=y,t.normalizeLineEndings=g,t.onErrorStopParsing=function(e){if("error"===e)throw"onErrorStopParsing"},t.onWarningStopParsing=function(){throw"onWarningStopParsing"}},"./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/dom.js":function(e,t,o){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var n=o("./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/conventions.js"),i=n.find,s=n.hasDefaultHTMLNamespace,a=n.hasOwn,l=n.isHTMLMimeType,u=n.isHTMLRawTextElement,c=n.isHTMLVoidElement,d=n.MIME_TYPE,p=n.NAMESPACE,h=Symbol(),f=o("./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/errors.js"),m=f.DOMException,g=f.DOMExceptionName,y=o("./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/grammar.js");function v(e){if(e!==h)throw new TypeError("Illegal constructor")}function _(e){return""!==e}function b(e,t){return a(e,t)||(e[t]=!0),e}function A(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(_):[]}(e);return Object.keys(t.reduce(b,{}))}function C(e){if(!y.QName_exact.test(e))throw new m(m.INVALID_CHARACTER_ERR,'invalid character in qualified name "'+e+'"')}function E(e,t){C(t),e=e||null;var o=null,r=t;if(t.indexOf(":")>=0){var i=t.split(":");o=i[0],r=i[1]}if(null!==o&&null===e)throw new m(m.NAMESPACE_ERR,"prefix is non-null and namespace is null");if("xml"===o&&e!==n.NAMESPACE.XML)throw new m(m.NAMESPACE_ERR,'prefix is "xml" and namespace is not the XML namespace');if(("xmlns"===o||"xmlns"===t)&&e!==n.NAMESPACE.XMLNS)throw new m(m.NAMESPACE_ERR,'either qualifiedName or prefix is "xmlns" and namespace is not the XMLNS namespace');if(e===n.NAMESPACE.XMLNS&&"xmlns"!==o&&"xmlns"!==t)throw new m(m.NAMESPACE_ERR,'namespace is the XMLNS namespace and neither qualifiedName nor prefix is "xmlns"');return[e,o,r]}function S(e,t){for(var o in e)a(e,o)&&(t[o]=e[o])}function w(e,t){var o=e.prototype;if(!(o instanceof t)){var r=function(){};r.prototype=t.prototype,S(o,r=new r),e.prototype=o=r}o.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),o.constructor=e)}var O={},I=O.ELEMENT_NODE=1,x=O.ATTRIBUTE_NODE=2,j=O.TEXT_NODE=3,T=O.CDATA_SECTION_NODE=4,P=O.ENTITY_REFERENCE_NODE=5,M=O.ENTITY_NODE=6,R=O.PROCESSING_INSTRUCTION_NODE=7,L=O.COMMENT_NODE=8,k=O.DOCUMENT_NODE=9,N=O.DOCUMENT_TYPE_NODE=10,D=O.DOCUMENT_FRAGMENT_NODE=11,G=O.NOTATION_NODE=12,F=n.freeze({DOCUMENT_POSITION_DISCONNECTED:1,DOCUMENT_POSITION_PRECEDING:2,DOCUMENT_POSITION_FOLLOWING:4,DOCUMENT_POSITION_CONTAINS:8,DOCUMENT_POSITION_CONTAINED_BY:16,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32});function U(e,t){if(t.length<e.length)return U(t,e);var o=null;for(var r in e){if(e[r]!==t[r])return o;o=e[r]}return o}function B(e){return e.guid||(e.guid=Math.random()),e.guid}function z(){}function V(e,t){this._node=e,this._refresh=t,W(this)}function W(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var o=e._refresh(e._node);if(Pe(e,"length",o.length),!e.$$length||o.length<e.$$length)for(var r=o.length;r in e;r++)a(e,r)&&delete e[r];S(o,e),e._inc=t}}function q(){}function Y(e,t){for(var o=0;o<e.length;){if(e[o]===t)return o;o++}}function H(e,t,o,r){if(r?t[Y(t,r)]=o:(t[t.length]=o,t.length++),e){o.ownerElement=e;var n=e.ownerDocument;n&&(r&&ee(n,e,r),function(e,t,o){e&&e._inc++;var r=o.namespaceURI;r===p.XMLNS&&(t._nsMap[o.prefix?o.localName:""]=o.value)}(n,e,o))}}function X(e,t,o){var r=Y(t,o);if(r>=0){for(var n=t.length-1;r<=n;)t[r]=t[++r];if(t.length=n,e){var i=e.ownerDocument;i&&ee(i,e,o),o.ownerElement=null}}}function Z(){}function K(e){v(e)}function J(e){return("<"==e?"&lt;":">"==e&&"&gt;")||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function Q(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(Q(e,t))return!0}while(e=e.nextSibling)}function $(e,t){v(e);var o=t||{};this.ownerDocument=this,this.contentType=o.contentType||d.XML_APPLICATION,this.type=l(this.contentType)?"html":"xml"}function ee(e,t,o,r){e&&e._inc++,o.namespaceURI===p.XMLNS&&delete t._nsMap[o.prefix?o.localName:""]}function te(e,t,o){if(e&&e._inc){e._inc++;var r=t.childNodes;if(o&&!o.nextSibling)r[r.length++]=o;else{for(var n=t.firstChild,i=0;n;)r[i++]=n,n=n.nextSibling;r.length=i,delete r[r.length]}}}function oe(e,t){if(e!==t.parentNode)throw new m(m.NOT_FOUND_ERR,"child's parent is not parent");var o=t.previousSibling,r=t.nextSibling;return o?o.nextSibling=r:e.firstChild=r,r?r.previousSibling=o:e.lastChild=o,te(e.ownerDocument,e),t.parentNode=null,t.previousSibling=null,t.nextSibling=null,t}function re(e){return e&&e.nodeType===K.DOCUMENT_TYPE_NODE}function ne(e){return e&&e.nodeType===K.ELEMENT_NODE}function ie(e){return e&&e.nodeType===K.TEXT_NODE}function se(e,t){var o=e.childNodes||[];if(i(o,ne)||re(t))return!1;var r=i(o,re);return!(t&&r&&o.indexOf(r)>o.indexOf(t))}function ae(e,t){var o=e.childNodes||[];if(i(o,(function(e){return ne(e)&&e!==t})))return!1;var r=i(o,re);return!(t&&r&&o.indexOf(r)>o.indexOf(t))}function le(e,t,o){if(!function(e){return e&&(e.nodeType===K.DOCUMENT_NODE||e.nodeType===K.DOCUMENT_FRAGMENT_NODE||e.nodeType===K.ELEMENT_NODE)}(e))throw new m(m.HIERARCHY_REQUEST_ERR,"Unexpected parent node type "+e.nodeType);if(o&&o.parentNode!==e)throw new m(m.NOT_FOUND_ERR,"child not in parent");if(!function(e){return e&&(e.nodeType===K.CDATA_SECTION_NODE||e.nodeType===K.COMMENT_NODE||e.nodeType===K.DOCUMENT_FRAGMENT_NODE||e.nodeType===K.DOCUMENT_TYPE_NODE||e.nodeType===K.ELEMENT_NODE||e.nodeType===K.PROCESSING_INSTRUCTION_NODE||e.nodeType===K.TEXT_NODE)}(t)||re(t)&&e.nodeType!==K.DOCUMENT_NODE)throw new m(m.HIERARCHY_REQUEST_ERR,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function ue(e,t,o){var r=e.childNodes||[],n=t.childNodes||[];if(t.nodeType===K.DOCUMENT_FRAGMENT_NODE){var s=n.filter(ne);if(s.length>1||i(n,ie))throw new m(m.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(1===s.length&&!se(e,o))throw new m(m.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(ne(t)&&!se(e,o))throw new m(m.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(re(t)){if(i(r,re))throw new m(m.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var a=i(r,ne);if(o&&r.indexOf(a)<r.indexOf(o))throw new m(m.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element");if(!o&&a)throw new m(m.HIERARCHY_REQUEST_ERR,"Doctype can not be appended since element is present")}}function ce(e,t,o){var r=e.childNodes||[],n=t.childNodes||[];if(t.nodeType===K.DOCUMENT_FRAGMENT_NODE){var s=n.filter(ne);if(s.length>1||i(n,ie))throw new m(m.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(1===s.length&&!ae(e,o))throw new m(m.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(ne(t)&&!ae(e,o))throw new m(m.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(re(t)){if(i(r,(function(e){return re(e)&&e!==o})))throw new m(m.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var a=i(r,ne);if(o&&r.indexOf(a)<r.indexOf(o))throw new m(m.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element")}}function de(e,t,o,r){le(e,t,o),e.nodeType===K.DOCUMENT_NODE&&(r||ue)(e,t,o);var n=t.parentNode;if(n&&n.removeChild(t),t.nodeType===D){var i=t.firstChild;if(null==i)return t;var s=t.lastChild}else i=s=t;var a=o?o.previousSibling:e.lastChild;i.previousSibling=a,s.nextSibling=o,a?a.nextSibling=i:e.firstChild=i,null==o?e.lastChild=s:o.previousSibling=s;do{i.parentNode=e}while(i!==s&&(i=i.nextSibling));return te(e.ownerDocument||e,e,t),t.nodeType==D&&(t.firstChild=t.lastChild=null),t}function pe(e){v(e),this._nsMap=Object.create(null)}function he(e){v(e),this.namespaceURI=null,this.prefix=null,this.ownerElement=null}function fe(e){v(e)}function me(e){v(e)}function ge(e){v(e)}function ye(e){v(e)}function ve(e){v(e)}function _e(e){v(e)}function be(e){v(e)}function Ae(e){v(e)}function Ce(e){v(e)}function Ee(e){v(e)}function Se(){}function we(e){var t=[],o=this.nodeType===k&&this.documentElement||this,r=o.prefix,n=o.namespaceURI;if(n&&null==r&&null==(r=o.lookupPrefix(n)))var i=[{namespace:n,prefix:null}];return xe(this,t,e,i),t.join("")}function Oe(e,t,o){var r=e.prefix||"",n=e.namespaceURI;if(!n)return!1;if("xml"===r&&n===p.XML||n===p.XMLNS)return!1;for(var i=o.length;i--;){var s=o[i];if(s.prefix===r)return s.namespace!==n}return!0}function Ie(e,t,o){e.push(" ",t,'="',o.replace(/[<>&"\t\n\r]/g,J),'"')}function xe(e,t,o,r){r||(r=[]);var n="html"===(e.nodeType===k?e:e.ownerDocument).type;if(o){if(!(e=o(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case I:var i=e.attributes,s=i.length,a=e.firstChild,l=e.tagName,d=l;if(!n&&!e.prefix&&e.namespaceURI){for(var h,f=0;f<i.length;f++)if("xmlns"===i.item(f).name){h=i.item(f).value;break}if(!h)for(var m=r.length-1;m>=0;m--){if(""===(g=r[m]).prefix&&g.namespace===e.namespaceURI){h=g.namespace;break}}if(h!==e.namespaceURI)for(m=r.length-1;m>=0;m--){var g;if((g=r[m]).namespace===e.namespaceURI){g.prefix&&(d=g.prefix+":"+l);break}}}t.push("<",d);for(var v=0;v<s;v++){"xmlns"==(_=i.item(v)).prefix?r.push({prefix:_.localName,namespace:_.value}):"xmlns"==_.nodeName&&r.push({prefix:"",namespace:_.value})}for(v=0;v<s;v++){var _,b,A;if(Oe(_=i.item(v),0,r))Ie(t,(b=_.prefix||"")?"xmlns:"+b:"xmlns",A=_.namespaceURI),r.push({prefix:b,namespace:A});xe(_,t,o,r)}if(l===d&&Oe(e,0,r))Ie(t,(b=e.prefix||"")?"xmlns:"+b:"xmlns",A=e.namespaceURI),r.push({prefix:b,namespace:A});var C=!a;if(C&&(n||e.namespaceURI===p.HTML)&&(C=c(l)),C)t.push("/>");else{if(t.push(">"),n&&u(l))for(;a;)a.data?t.push(a.data):xe(a,t,o,r.slice()),a=a.nextSibling;else for(;a;)xe(a,t,o,r.slice()),a=a.nextSibling;t.push("</",d,">")}return;case k:case D:for(a=e.firstChild;a;)xe(a,t,o,r.slice()),a=a.nextSibling;return;case x:return Ie(t,e.name,e.value);case j:return t.push(e.data.replace(/[<&>]/g,J));case T:return t.push(y.CDATA_START,e.data,y.CDATA_END);case L:return t.push(y.COMMENT_START,e.data,y.COMMENT_END);case N:var E=e.publicId,S=e.systemId;return t.push(y.DOCTYPE_DECL_START," ",e.name),E?(t.push(" ",y.PUBLIC," ",E),S&&"."!==S&&t.push(" ",S)):S&&"."!==S&&t.push(" ",y.SYSTEM," ",S),e.internalSubset&&t.push(" [",e.internalSubset,"]"),void t.push(">");case R:return t.push("<?",e.target," ",e.data,"?>");case P:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function je(e,t,o){var r;switch(t.nodeType){case I:(r=t.cloneNode(!1)).ownerDocument=e;case D:break;case x:o=!0}if(r||(r=t.cloneNode(!1)),r.ownerDocument=e,r.parentNode=null,o)for(var n=t.firstChild;n;)r.appendChild(je(e,n,o)),n=n.nextSibling;return r}function Te(e,t,o){var n=new t.constructor(h);for(var i in t)if(a(t,i)){var s=t[i];"object"!=r(s)&&s!=n[i]&&(n[i]=s)}switch(t.childNodes&&(n.childNodes=new z),n.ownerDocument=e,n.nodeType){case I:var l=t.attributes,u=n.attributes=new q,c=l.length;u._ownerElement=n;for(var d=0;d<c;d++)n.setAttributeNode(Te(e,l.item(d),!0));break;case x:o=!0}if(o)for(var p=t.firstChild;p;)n.appendChild(Te(e,p,o)),p=p.nextSibling;return n}function Pe(e,t,o){e[t]=o}z.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e){for(var t=[],o=0;o<this.length;o++)xe(this[o],t,e);return t.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},z.prototype[Symbol.iterator]=function(){var e=this,t=0;return{next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0}},return:function(){return{done:!0}}}},V.prototype.item=function(e){return W(this),this[e]||null},w(V,z),q.prototype={length:0,item:z.prototype.item,getNamedItem:function(e){this._ownerElement&&this._ownerElement._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());for(var t=0;t<this.length;){var o=this[t];if(o.nodeName===e)return o;t++}return null},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!==this._ownerElement)throw new m(m.INUSE_ATTRIBUTE_ERR);var o=this.getNamedItemNS(e.namespaceURI,e.localName);return o===e?e:(H(this._ownerElement,this,e,o),o)},setNamedItemNS:function(e){return this.setNamedItem(e)},removeNamedItem:function(e){var t=this.getNamedItem(e);if(!t)throw new m(m.NOT_FOUND_ERR,e);return X(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var o=this.getNamedItemNS(e,t);if(!o)throw new m(m.NOT_FOUND_ERR,e?e+" : "+t:t);return X(this._ownerElement,this,o),o},getNamedItemNS:function(e,t){e||(e=null);for(var o=0;o<this.length;){var r=this[o];if(r.localName===t&&r.namespaceURI===e)return r;o++}return null}},q.prototype[Symbol.iterator]=function(){var e=this,t=0;return{next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0}},return:function(){return{done:!0}}}},Z.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,o){var r=d.XML_APPLICATION;e===p.HTML?r=d.XML_XHTML_APPLICATION:e===p.SVG&&(r=d.XML_SVG_IMAGE);var n=new $(h,{contentType:r});if(n.implementation=this,n.childNodes=new z,n.doctype=o||null,o&&n.appendChild(o),t){var i=n.createElementNS(e,t);n.appendChild(i)}return n},createDocumentType:function(e,t,o,r){C(e);var n=new ve(h);return n.name=e,n.nodeName=e,n.publicId=t||"",n.systemId=o||"",n.internalSubset=r||"",n.childNodes=new z,n},createHTMLDocument:function(e){var t=new $(h,{contentType:d.HTML});if(t.implementation=this,t.childNodes=new z,!1!==e){t.doctype=this.createDocumentType("html"),t.doctype.ownerDocument=t,t.appendChild(t.doctype);var o=t.createElement("html");t.appendChild(o);var r=t.createElement("head");if(o.appendChild(r),"string"==typeof e){var n=t.createElement("title");n.appendChild(t.createTextNode(e)),r.appendChild(n)}o.appendChild(t.createElement("body"))}return t}},K.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,parentNode:null,get parentElement(){return this.parentNode&&this.parentNode.nodeType===this.ELEMENT_NODE?this.parentNode:null},childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,baseURI:"about:blank",get isConnected(){var e=this.getRootNode();return e&&e.nodeType===e.DOCUMENT_NODE},contains:function(e){if(!e)return!1;var t=e;do{if(this===t)return!0;t=e.parentNode}while(t);return!1},getRootNode:function(e){var t=this;do{if(!t.parentNode)return t;t=t.parentNode}while(t)},isEqualNode:function(e){if(!e)return!1;if(this.nodeType!==e.nodeType)return!1;switch(this.nodeType){case this.DOCUMENT_TYPE_NODE:if(this.name!==e.name)return!1;if(this.publicId!==e.publicId)return!1;if(this.systemId!==e.systemId)return!1;break;case this.ELEMENT_NODE:if(this.namespaceURI!==e.namespaceURI)return!1;if(this.prefix!==e.prefix)return!1;if(this.localName!==e.localName)return!1;if(this.attributes.length!==e.attributes.length)return!1;for(var t=0;t<this.attributes.length;t++){var o=this.attributes.item(t);if(!o.isEqualNode(e.getAttributeNodeNS(o.namespaceURI,o.localName)))return!1}break;case this.ATTRIBUTE_NODE:if(this.namespaceURI!==e.namespaceURI)return!1;if(this.localName!==e.localName)return!1;if(this.value!==e.value)return!1;break;case this.PROCESSING_INSTRUCTION_NODE:if(this.target!==e.target||this.data!==e.data)return!1;break;case this.TEXT_NODE:case this.COMMENT_NODE:if(this.data!==e.data)return!1}if(this.childNodes.length!==e.childNodes.length)return!1;for(t=0;t<this.childNodes.length;t++)if(!this.childNodes[t].isEqualNode(e.childNodes[t]))return!1;return!0},isSameNode:function(e){return this===e},insertBefore:function(e,t){return de(this,e,t)},replaceChild:function(e,t){de(this,e,t,ce),t&&this.removeChild(t)},removeChild:function(e){return oe(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return Te(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==j&&e.nodeType==j?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},lookupPrefix:function(e){for(var t=this;t;){var o=t._nsMap;if(o)for(var r in o)if(a(o,r)&&o[r]===e)return r;t=t.nodeType==x?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var o=t._nsMap;if(o&&a(o,e))return o[e];t=t.nodeType==x?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)},compareDocumentPosition:function(e){if(this===e)return 0;var t=e,o=this,r=null,n=null;if(t instanceof he&&(t=(r=t).ownerElement),o instanceof he&&(o=(n=o).ownerElement,r&&t&&o===t))for(var i,s=0;i=o.attributes[s];s++){if(i===r)return F.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+F.DOCUMENT_POSITION_PRECEDING;if(i===n)return F.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+F.DOCUMENT_POSITION_FOLLOWING}if(!t||!o||o.ownerDocument!==t.ownerDocument)return F.DOCUMENT_POSITION_DISCONNECTED+F.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+(B(o.ownerDocument)>B(t.ownerDocument)?F.DOCUMENT_POSITION_FOLLOWING:F.DOCUMENT_POSITION_PRECEDING);if(n&&t===o)return F.DOCUMENT_POSITION_CONTAINS+F.DOCUMENT_POSITION_PRECEDING;if(r&&t===o)return F.DOCUMENT_POSITION_CONTAINED_BY+F.DOCUMENT_POSITION_FOLLOWING;for(var a=[],l=t.parentNode;l;){if(!n&&l===o)return F.DOCUMENT_POSITION_CONTAINED_BY+F.DOCUMENT_POSITION_FOLLOWING;a.push(l),l=l.parentNode}a.reverse();for(var u=[],c=o.parentNode;c;){if(!r&&c===t)return F.DOCUMENT_POSITION_CONTAINS+F.DOCUMENT_POSITION_PRECEDING;u.push(c),c=c.parentNode}u.reverse();var d=U(a,u);for(var p in d.childNodes){var h=d.childNodes[p];if(h===o)return F.DOCUMENT_POSITION_FOLLOWING;if(h===t)return F.DOCUMENT_POSITION_PRECEDING;if(u.indexOf(h)>=0)return F.DOCUMENT_POSITION_FOLLOWING;if(a.indexOf(h)>=0)return F.DOCUMENT_POSITION_PRECEDING}return 0}},S(O,K),S(O,K.prototype),S(F,K),S(F,K.prototype),$.prototype={implementation:null,nodeName:"#document",nodeType:k,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType===D){for(var o=e.firstChild;o;){var r=o.nextSibling;this.insertBefore(o,t),o=r}return e}return de(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===I&&(this.documentElement=e),e},removeChild:function(e){var t=oe(this,e);return t===this.documentElement&&(this.documentElement=null),t},replaceChild:function(e,t){de(this,e,t,ce),e.ownerDocument=this,t&&this.removeChild(t),ne(e)&&(this.documentElement=e)},importNode:function(e,t){return je(this,e,t)},getElementById:function(e){var t=null;return Q(this.documentElement,(function(o){if(o.nodeType==I&&o.getAttribute("id")==e)return t=o,!0})),t},createElement:function(e){var t=new pe(h);return t.ownerDocument=this,"html"===this.type&&(e=e.toLowerCase()),s(this.contentType)&&(t.namespaceURI=p.HTML),t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new z,(t.attributes=new q)._ownerElement=t,t},createDocumentFragment:function(){var e=new Ce(h);return e.ownerDocument=this,e.childNodes=new z,e},createTextNode:function(e){var t=new me(h);return t.ownerDocument=this,t.childNodes=new z,t.appendData(e),t},createComment:function(e){var t=new ge(h);return t.ownerDocument=this,t.childNodes=new z,t.appendData(e),t},createCDATASection:function(e){var t=new ye(h);return t.ownerDocument=this,t.childNodes=new z,t.appendData(e),t},createProcessingInstruction:function(e,t){var o=new Ee(h);return o.ownerDocument=this,o.childNodes=new z,o.nodeName=o.target=e,o.nodeValue=o.data=t,o},createAttribute:function(e){if(!y.QName_exact.test(e))throw new m(m.INVALID_CHARACTER_ERR,'invalid character in name "'+e+'"');return"html"===this.type&&(e=e.toLowerCase()),this._createAttribute(e)},_createAttribute:function(e){var t=new he(h);return t.ownerDocument=this,t.childNodes=new z,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){if(!y.Name.test(e))throw new m(m.INVALID_CHARACTER_ERR,'not a valid xml name "'+e+'"');if("html"===this.type)throw new m("document is an html document",g.NotSupportedError);var t=new Ae(h);return t.ownerDocument=this,t.childNodes=new z,t.nodeName=e,t},createElementNS:function(e,t){var o=E(e,t),r=new pe(h),n=r.attributes=new q;return r.childNodes=new z,r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=o[0],r.prefix=o[1],r.localName=o[2],n._ownerElement=r,r},createAttributeNS:function(e,t){var o=E(e,t),r=new he(h);return r.ownerDocument=this,r.childNodes=new z,r.nodeName=t,r.name=t,r.specified=!0,r.namespaceURI=o[0],r.prefix=o[1],r.localName=o[2],r}},w($,K),pe.prototype={nodeType:I,attributes:null,getQualifiedName:function(){return this.prefix?this.prefix+":"+this.localName:this.localName},_isInHTMLDocumentAndNamespace:function(){return"html"===this.ownerDocument.type&&this.namespaceURI===p.HTML},hasAttributes:function(){return!(!this.attributes||!this.attributes.length)},hasAttribute:function(e){return!!this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t?t.value:null},getAttributeNode:function(e){return this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase()),this.attributes.getNamedItem(e)},setAttribute:function(e,t){this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());var o=this.getAttributeNode(e);o?o.value=o.nodeValue=""+t:((o=this.ownerDocument._createAttribute(e)).value=o.nodeValue=""+t,this.setAttributeNode(o))},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var o=this.getAttributeNodeNS(e,t);o&&this.removeAttributeNode(o)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var o=this.getAttributeNodeNS(e,t);return o?o.value:null},setAttributeNS:function(e,t,o){var r=E(e,t)[2],n=this.getAttributeNodeNS(e,r);n?n.value=n.nodeValue=""+o:((n=this.ownerDocument.createAttributeNS(e,t)).value=n.nodeValue=""+o,this.setAttributeNode(n))},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByClassName:function(e){var t=A(e);return new V(this,(function(o){var r=[];return t.length>0&&Q(o,(function(n){if(n!==o&&n.nodeType===I){var i=n.getAttribute("class");if(i){var s=e===i;if(!s){var a=A(i);s=t.every((l=a,function(e){return l&&-1!==l.indexOf(e)}))}s&&r.push(n)}}var l})),r}))},getElementsByTagName:function(e){var t="html"===(this.nodeType===k?this:this.ownerDocument).type,o=e.toLowerCase();return new V(this,(function(r){var n=[];return Q(r,(function(i){i!==r&&i.nodeType===I&&(("*"===e||i.getQualifiedName()===(t&&i.namespaceURI===p.HTML?o:e))&&n.push(i))})),n}))},getElementsByTagNameNS:function(e,t){return new V(this,(function(o){var r=[];return Q(o,(function(n){n===o||n.nodeType!==I||"*"!==e&&n.namespaceURI!==e||"*"!==t&&n.localName!=t||r.push(n)})),r}))}},$.prototype.getElementsByClassName=pe.prototype.getElementsByClassName,$.prototype.getElementsByTagName=pe.prototype.getElementsByTagName,$.prototype.getElementsByTagNameNS=pe.prototype.getElementsByTagNameNS,w(pe,K),he.prototype.nodeType=x,w(he,K),fe.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,o){o=this.data.substring(0,e)+o+this.data.substring(e+t),this.nodeValue=this.data=o,this.length=o.length}},w(fe,K),me.prototype={nodeName:"#text",nodeType:j,splitText:function(e){var t=this.data,o=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(o);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},w(me,fe),ge.prototype={nodeName:"#comment",nodeType:L},w(ge,fe),ye.prototype={nodeName:"#cdata-section",nodeType:T},w(ye,me),ve.prototype.nodeType=N,w(ve,K),_e.prototype.nodeType=G,w(_e,K),be.prototype.nodeType=M,w(be,K),Ae.prototype.nodeType=P,w(Ae,K),Ce.prototype.nodeName="#document-fragment",Ce.prototype.nodeType=D,w(Ce,K),Ee.prototype.nodeType=R,w(Ee,fe),Se.prototype.serializeToString=function(e,t){return we.call(e,t)},K.prototype.toString=we;try{if(Object.defineProperty){var Me=function(e){switch(e.nodeType){case I:case D:var t=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&t.push(Me(e)),e=e.nextSibling;return t.join("");default:return e.nodeValue}};Object.defineProperty(V.prototype,"length",{get:function(){return W(this),this.$$length}}),Object.defineProperty(K.prototype,"textContent",{get:function(){return Me(this)},set:function(e){switch(this.nodeType){case I:case D:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),Pe=function(e,t,o){e["$$"+t]=o}}}catch(e){}t._updateLiveList=W,t.Attr=he,t.CDATASection=ye,t.CharacterData=fe,t.Comment=ge,t.Document=$,t.DocumentFragment=Ce,t.DocumentType=ve,t.DOMImplementation=Z,t.Element=pe,t.Entity=be,t.EntityReference=Ae,t.LiveNodeList=V,t.NamedNodeMap=q,t.Node=K,t.NodeList=z,t.Notation=_e,t.Text=me,t.ProcessingInstruction=Ee,t.XMLSerializer=Se},"./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/entities.js":function(e,t,o){"use strict";var r=o("./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/conventions.js").freeze;t.XML_ENTITIES=r({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=r({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ﬃ",fflig:"ﬀ",ffllig:"ﬄ",Ffr:"𝔉",ffr:"𝔣",filig:"ﬁ",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"ﬂ",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"Ĳ",ijlig:"ĳ",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ŉ",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),t.entityMap=t.HTML_ENTITIES},"./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/errors.js":function(e,t,o){"use strict";function r(e,t){e.prototype=Object.create(Error.prototype,{constructor:{value:e},name:{value:e.name,enumerable:!0,writable:t}})}var n=o("./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/conventions.js").freeze({Error:"Error",IndexSizeError:"IndexSizeError",DomstringSizeError:"DomstringSizeError",HierarchyRequestError:"HierarchyRequestError",WrongDocumentError:"WrongDocumentError",InvalidCharacterError:"InvalidCharacterError",NoDataAllowedError:"NoDataAllowedError",NoModificationAllowedError:"NoModificationAllowedError",NotFoundError:"NotFoundError",NotSupportedError:"NotSupportedError",InUseAttributeError:"InUseAttributeError",InvalidStateError:"InvalidStateError",SyntaxError:"SyntaxError",InvalidModificationError:"InvalidModificationError",NamespaceError:"NamespaceError",InvalidAccessError:"InvalidAccessError",ValidationError:"ValidationError",TypeMismatchError:"TypeMismatchError",SecurityError:"SecurityError",NetworkError:"NetworkError",AbortError:"AbortError",URLMismatchError:"URLMismatchError",QuotaExceededError:"QuotaExceededError",TimeoutError:"TimeoutError",InvalidNodeTypeError:"InvalidNodeTypeError",DataCloneError:"DataCloneError",EncodingError:"EncodingError",NotReadableError:"NotReadableError",UnknownError:"UnknownError",ConstraintError:"ConstraintError",DataError:"DataError",TransactionInactiveError:"TransactionInactiveError",ReadOnlyError:"ReadOnlyError",VersionError:"VersionError",OperationError:"OperationError",NotAllowedError:"NotAllowedError",OptOutError:"OptOutError"}),i=Object.keys(n);function s(e){return"number"==typeof e&&e>=1&&e<=25}function a(e,t){var o;s(e)?(this.name=i[e],this.message=t||""):(this.message=e,this.name="string"==typeof(o=t)&&o.substring(o.length-n.Error.length)===n.Error?t:n.Error),Error.captureStackTrace&&Error.captureStackTrace(this,a)}r(a,!0),Object.defineProperties(a.prototype,{code:{enumerable:!0,get:function(){var e=i.indexOf(this.name);return s(e)?e:0}}});for(var l={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25},u=Object.entries(l),c=0;c<u.length;c++){a[u[c][0]]=u[c][1]}function d(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,d)}r(d),t.DOMException=a,t.DOMExceptionName=n,t.ExceptionCode=l,t.ParseError=d},"./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/grammar.js":function(e,t,o){"use strict";function r(e){try{"function"!=typeof e&&(e=RegExp);var t=new e("𝌆","u").exec("𝌆");return!!t&&2===t[0].length}catch(e){}return!1}var n=r();function i(e){if("["!==e.source[0])throw new Error(e+" can not be used with chars");return e.source.slice(1,e.source.lastIndexOf("]"))}function s(e,t){if("["!==e.source[0])throw new Error("/"+e.source+"/ can not be used with chars_without");if(!t||"string"!=typeof t)throw new Error(JSON.stringify(t)+" is not a valid search");if(-1===e.source.indexOf(t))throw new Error('"'+t+'" is not is /'+e.source+"/");if("-"===t&&1!==e.source.indexOf(t))throw new Error('"'+t+'" is not at the first postion of /'+e.source+"/");return new RegExp(e.source.replace(t,""),n?"u":"")}function a(e){var t=this;return new RegExp(Array.prototype.slice.call(arguments).map((function(e){var o="string"==typeof e;if(o&&void 0===t&&"|"===e)throw new Error("use regg instead of reg to wrap expressions with `|`!");return o?e:e.source})).join(""),n?"mu":"m")}function l(e){if(0===arguments.length)throw new Error("no parameters provided");return a.apply(l,["(?:"].concat(Array.prototype.slice.call(arguments),[")"]))}var u=/[-\x09\x0A\x0D\x20-\x2C\x2E-\uD7FF\uE000-\uFFFD]/;n&&(u=a("[",i(u),"\\u{10000}-\\u{10FFFF}","]"));var c=/[\x20\x09\x0D\x0A]/,d=i(c),p=a(c,"+"),h=a(c,"*"),f=/[:_a-zA-Z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;n&&(f=a("[",i(f),"\\u{10000}-\\u{10FFFF}","]"));var m=a("[",i(f),i(/[-.0-9\xB7]/),i(/[\u0300-\u036F\u203F-\u2040]/),"]"),g=a(f,m,"*"),y=a(m,"+"),v=a("&",g,";"),_=l(/&#[0-9]+;|&#x[0-9a-fA-F]+;/),b=l(v,"|",_),A=a("%",g,";"),C=l(a('"',l(/[^%&"]/,"|",A,"|",b),"*",'"'),"|",a("'",l(/[^%&']/,"|",A,"|",b),"*","'")),E=l('"',l(/[^<&"]/,"|",b),"*",'"',"|","'",l(/[^<&']/,"|",b),"*","'"),S=a(s(f,":"),s(m,":"),"*"),w=a(S,l(":",S),"?"),O=a("^",w,"$"),I=a("(",w,")"),x=l(/"[^"]*"|'[^']*'/),j=a(/^<\?/,"(",g,")",l(p,"(",u,"*?)"),"?",/\?>/),T=/[\x20\x0D\x0Aa-zA-Z0-9-'()+,./:=?;!*#@$_%]/,P=l('"',T,'*"',"|","'",s(T,"'"),"*'"),M="\x3c!--",R=a(M,l(s(u,"-"),"|",a("-",s(u,"-"))),"*","--\x3e"),L="#PCDATA",k=l(a(/\(/,h,L,l(h,/\|/,h,w),"*",h,/\)\*/),"|",a(/\(/,h,L,h,/\)/)),N=l("EMPTY","|","ANY","|",k,"|",a(/\([^>]+\)/,/[?*+]?/)),D=a("<!ELEMENT",p,l(w,"|",A),p,l(N,"|",A),h,">"),G=a("NOTATION",p,/\(/,h,g,l(h,/\|/,h,g),"*",h,/\)/),F=a(/\(/,h,y,l(h,/\|/,h,y),"*",h,/\)/),U=l(G,"|",F),B=l(/CDATA|ID|IDREF|IDREFS|ENTITY|ENTITIES|NMTOKEN|NMTOKENS/,"|",U),z=l(/#REQUIRED|#IMPLIED/,"|",l(l("#FIXED",p),"?",E)),V=a("<!ATTLIST",p,g,l(p,g,p,B,p,z),"*",h,">"),W="about:legacy-compat",q=l('"'+W+'"',"|","'"+W+"'"),Y="SYSTEM",H="PUBLIC",X=l(l(Y,p,x),"|",l(H,p,P,p,x)),Z=a("^",l(l(Y,p,"(?<SystemLiteralOnly>",x,")"),"|",l(H,p,"(?<PubidLiteral>",P,")",p,"(?<SystemLiteral>",x,")"))),K=l(p,"NDATA",p,g),J="<!ENTITY",Q=a(J,p,g,p,l(C,"|",l(X,K,"?")),h,">"),$=l(C,"|",X),ee=l(Q,"|",a(J,p,"%",p,g,p,$,h,">")),te=a(H,p,P),oe=a("<!NOTATION",p,g,p,l(X,"|",te),h,">"),re=a(h,"=",h),ne=/1[.]\d+/,ie=a(p,"version",re,l("'",ne,"'","|",'"',ne,'"')),se=/[A-Za-z][-A-Za-z0-9._]*/,ae=a(/^<\?xml/,ie,l(p,"encoding",re,l('"',se,'"',"|","'",se,"'")),"?",l(p,"standalone",re,l("'",l("yes","|","no"),"'","|",'"',l("yes","|","no"),'"')),"?",h,/\?>/),le=a(u,"*?",/\]\]>/),ue=a(/<!\[CDATA\[/,le);t.chars=i,t.chars_without=s,t.detectUnicodeSupport=r,t.reg=a,t.regg=l,t.ABOUT_LEGACY_COMPAT=W,t.ABOUT_LEGACY_COMPAT_SystemLiteral=q,t.AttlistDecl=V,t.CDATA_START="<![CDATA[",t.CDATA_END="]]>",t.CDSect=ue,t.Char=u,t.Comment=R,t.COMMENT_START=M,t.COMMENT_END="--\x3e",t.DOCTYPE_DECL_START="<!DOCTYPE",t.elementdecl=D,t.EntityDecl=ee,t.EntityValue=C,t.ExternalID=X,t.ExternalID_match=Z,t.Name=g,t.NotationDecl=oe,t.Reference=b,t.PEReference=A,t.PI=j,t.PUBLIC=H,t.PubidLiteral=P,t.QName=w,t.QName_exact=O,t.QName_group=I,t.S=p,t.SChar_s=d,t.S_OPT=h,t.SYSTEM=Y,t.SystemLiteral=x,t.UNICODE_REPLACEMENT_CHARACTER="�",t.UNICODE_SUPPORT=n,t.XMLDecl=ae},"./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/index.js":function(e,t,o){"use strict";var r=o("./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/conventions.js");t.assign=r.assign,t.hasDefaultHTMLNamespace=r.hasDefaultHTMLNamespace,t.isHTMLMimeType=r.isHTMLMimeType,t.isValidMimeType=r.isValidMimeType,t.MIME_TYPE=r.MIME_TYPE,t.NAMESPACE=r.NAMESPACE;var n=o("./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/errors.js");t.DOMException=n.DOMException,t.DOMExceptionName=n.DOMExceptionName,t.ExceptionCode=n.ExceptionCode,t.ParseError=n.ParseError;var i=o("./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/dom.js");t.Attr=i.Attr,t.CDATASection=i.CDATASection,t.CharacterData=i.CharacterData,t.Comment=i.Comment,t.Document=i.Document,t.DocumentFragment=i.DocumentFragment,t.DocumentType=i.DocumentType,t.DOMImplementation=i.DOMImplementation,t.Element=i.Element,t.Entity=i.Entity,t.EntityReference=i.EntityReference,t.LiveNodeList=i.LiveNodeList,t.NamedNodeMap=i.NamedNodeMap,t.Node=i.Node,t.NodeList=i.NodeList,t.Notation=i.Notation,t.ProcessingInstruction=i.ProcessingInstruction,t.Text=i.Text,t.XMLSerializer=i.XMLSerializer;var s=o("./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/dom-parser.js");t.DOMParser=s.DOMParser,t.normalizeLineEndings=s.normalizeLineEndings,t.onErrorStopParsing=s.onErrorStopParsing,t.onWarningStopParsing=s.onWarningStopParsing},"./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/sax.js":function(e,t,o){"use strict";var r=o("./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/conventions.js"),n=o("./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/grammar.js"),i=o("./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/errors.js"),s=r.isHTMLEscapableRawTextElement,a=r.isHTMLMimeType,l=r.isHTMLRawTextElement,u=r.hasOwn,c=r.NAMESPACE,d=i.ParseError,p=i.DOMException;function h(){}h.prototype={parse:function(e,t,o){var i=this.domBuilder;i.startDocument(),_(t,t=Object.create(null)),function(e,t,o,i,s){var l=a(i.mimeType);e.indexOf(n.UNICODE_REPLACEMENT_CHARACTER)>=0&&s.warning("Unicode replacement character detected, source encoding issues?");function c(e){if(e>65535){var t=55296+((e-=65536)>>10),o=56320+(1023&e);return String.fromCharCode(t,o)}return String.fromCharCode(e)}function h(e){var t=";"===e[e.length-1]?e:e+";";if(!l&&t!==e)return s.error("EntityRef: expecting ;"),e;var r=n.Reference.exec(t);if(!r||r[0].length!==t.length)return s.error("entity not matching Reference production: "+e),e;var i=t.slice(1,-1);return u(o,i)?o[i]:"#"===i.charAt(0)?c(parseInt(i.substring(1).replace("x","0x"))):(s.error("entity not found:"+e),e)}function _(t){if(t>T){var o=e.substring(T,t).replace(f,h);O&&I(T),i.characters(o,0,t-T),T=t}}var b=0,S=0,w=/\r\n?|\n|$/g,O=i.locator;function I(t,o){for(;t>=S&&(o=w.exec(e));)b=S,S=o.index+o[0].length,O.lineNumber++;O.columnNumber=t-b+1}var x=[{currentNSMap:t}],j=[],T=0;for(;;){try{var P=e.indexOf("<",T);if(P<0){if(!l&&j.length>0)return s.fatalError("unclosed xml tag(s): "+j.join(", "));if(!e.substring(T).match(/^\s*$/)){var M=i.doc,R=M.createTextNode(e.substring(T));if(M.documentElement)return s.error("Extra content at the end of the document");M.appendChild(R),i.currentElement=R}return}if(P>T){var L=e.substring(T,P);l||0!==j.length||(L=L.replace(new RegExp(n.S_OPT.source,"g"),""))&&s.error("Unexpected content outside root element: '"+L+"'"),_(P)}switch(e.charAt(P+1)){case"/":var k=e.indexOf(">",P+2),N=e.substring(P+2,k>0?k:void 0);if(!N)return s.fatalError("end tag name missing");var D=k>0&&n.reg("^",n.QName_group,n.S_OPT,"$").exec(N);if(!D)return s.fatalError('end tag name contains invalid characters: "'+N+'"');if(!i.currentElement&&!i.doc.documentElement)return;var G=j[j.length-1]||i.currentElement.tagName||i.doc.documentElement.tagName||"";if(G!==D[1]){var F=D[1].toLowerCase();if(!l||G.toLowerCase()!==F)return s.fatalError('Opening and ending tag mismatch: "'+G+'" != "'+N+'"')}var U=x.pop();j.pop();var B=U.localNSMap;if(i.endElement(U.uri,U.localName,G),B)for(var z in B)u(B,z)&&i.endPrefixMapping(z);k++;break;case"?":O&&I(P),k=C(e,P,i,s);break;case"!":O&&I(P),k=A(e,P,i,s,l);break;default:O&&I(P);var V=new E,W=x[x.length-1].currentNSMap,q=(k=g(e,P,V,W,h,s,l),V.length);if(V.closed||(l&&r.isHTMLVoidElement(V.tagName)?V.closed=!0:j.push(V.tagName)),O&&q){for(var Y=m(O,{}),H=0;H<q;H++){var X=V[H];I(X.offset),X.locator=m(O,{})}i.locator=Y,y(V,i,W)&&x.push(V),i.locator=O}else y(V,i,W)&&x.push(V);l&&!V.closed?k=v(e,k,V.tagName,h,i):k++}}catch(e){if(e instanceof d)throw e;if(e instanceof p)throw new d(e.name+": "+e.message,i.locator,e);s.error("element parse error: "+e),k=-1}k>T?T=k:_(Math.max(P,T)+1)}}(e,t,o,i,this.errorHandler),i.endDocument()}};var f=/&#?\w+;?/g;function m(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function g(e,t,o,r,n,i,s){function a(e,t,r){return u(o.attributeNames,e)?i.fatalError("Attribute "+e+" redefined"):!s&&t.indexOf("<")>=0?i.fatalError("Unescaped '<' not allowed in attributes values"):void o.addValue(e,t.replace(/[\t\n\r]/g," ").replace(f,n),r)}for(var l,c=++t,d=0;;){var p=e.charAt(c);switch(p){case"=":if(1===d)l=e.slice(t,c),d=3;else{if(2!==d)throw new Error("attribute equal must after attrName");d=3}break;case"'":case'"':if(3===d||1===d){if(1===d&&(i.warning('attribute value must after "="'),l=e.slice(t,c)),t=c+1,!((c=e.indexOf(p,t))>0))throw new Error("attribute value no end '"+p+"' match");a(l,h=e.slice(t,c),t-1),d=5}else{if(4!=d)throw new Error('attribute value must after "="');a(l,h=e.slice(t,c),t),i.warning('attribute "'+l+'" missed start quot('+p+")!!"),t=c+1,d=5}break;case"/":switch(d){case 0:o.setTagName(e.slice(t,c));case 5:case 6:case 7:d=7,o.closed=!0;case 4:case 1:break;case 2:o.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return i.error("unexpected end of input"),0==d&&o.setTagName(e.slice(t,c)),c;case">":switch(d){case 0:o.setTagName(e.slice(t,c));case 5:case 6:case 7:break;case 4:case 1:"/"===(h=e.slice(t,c)).slice(-1)&&(o.closed=!0,h=h.slice(0,-1));case 2:2===d&&(h=l),4==d?(i.warning('attribute "'+h+'" missed quot(")!'),a(l,h,t)):(s||i.warning('attribute "'+h+'" missed value!! "'+h+'" instead!!'),a(h,h,t));break;case 3:if(!s)return i.fatalError("AttValue: ' or \" expected")}return c;case"":p=" ";default:if(p<=" ")switch(d){case 0:o.setTagName(e.slice(t,c)),d=6;break;case 1:l=e.slice(t,c),d=2;break;case 4:var h=e.slice(t,c);i.warning('attribute "'+h+'" missed quot(")!!'),a(l,h,t);case 5:d=6}else switch(d){case 2:s||i.warning('attribute "'+l+'" missed value!! "'+l+'" instead2!!'),a(l,l,t),t=c,d=1;break;case 5:i.warning('attribute space is required"'+l+'"!!');case 6:d=1,t=c;break;case 3:d=4,t=c;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}c++}}function y(e,t,o){for(var r=e.tagName,n=null,i=e.length;i--;){var s=e[i],a=s.qName,l=s.value;if((f=a.indexOf(":"))>0)var d=s.prefix=a.slice(0,f),p=a.slice(f+1),h="xmlns"===d&&p;else p=a,d=null,h="xmlns"===a&&"";s.localName=p,!1!==h&&(null==n&&(n=Object.create(null),_(o,o=Object.create(null))),o[h]=n[h]=l,s.uri=c.XMLNS,t.startPrefixMapping(h,l))}for(i=e.length;i--;)(s=e[i]).prefix&&("xml"===s.prefix&&(s.uri=c.XML),"xmlns"!==s.prefix&&(s.uri=o[s.prefix]));var f;(f=r.indexOf(":"))>0?(d=e.prefix=r.slice(0,f),p=e.localName=r.slice(f+1)):(d=null,p=e.localName=r);var m=e.uri=o[d||""];if(t.startElement(m,p,r,e),!e.closed)return e.currentNSMap=o,e.localNSMap=n,!0;if(t.endElement(m,p,r),n)for(d in n)u(n,d)&&t.endPrefixMapping(d)}function v(e,t,o,r,n){var i=s(o);if(i||l(o)){var a=e.indexOf("</"+o+">",t),u=e.substring(t+1,a);return i&&(u=u.replace(f,r)),n.characters(u,0,u.length),a}return t+1}function _(e,t){for(var o in e)u(e,o)&&(t[o]=e[o])}function b(e,t){var o=t;function r(t){return t=t||0,e.charAt(o+t)}function i(e){o+=e=e||1}function s(){return e.substring(o)}return{char:r,getIndex:function(){return o},getMatch:function(e){var t=n.reg("^",e).exec(s());return t?(i(t[0].length),t[0]):null},getSource:function(){return e},skip:i,skipBlanks:function(){for(var t=0;o<e.length;){var n=r();if(" "!==n&&"\n"!==n&&"\t"!==n&&"\r"!==n)return t;t++,i()}return-1},substringFromIndex:s,substringStartsWith:function(t){return e.substring(o,o+t.length)===t},substringStartsWithCaseInsensitive:function(t){return e.substring(o,o+t.length).toUpperCase()===t.toUpperCase()}}}function A(e,t,o,r,i){var s=b(e,t);switch(i?s.char(2).toUpperCase():s.char(2)){case"-":var a=s.getMatch(n.Comment);return a?(o.comment(a,n.COMMENT_START.length,a.length-n.COMMENT_START.length-n.COMMENT_END.length),s.getIndex()):r.fatalError("comment is not well-formed at position "+s.getIndex());case"[":var l=s.getMatch(n.CDSect);return l?i||o.currentElement?(o.startCDATA(),o.characters(l,n.CDATA_START.length,l.length-n.CDATA_START.length-n.CDATA_END.length),o.endCDATA(),s.getIndex()):r.fatalError("CDATA outside of element"):r.fatalError("Invalid CDATA starting at position "+t);case"D":if(o.doc&&o.doc.documentElement)return r.fatalError("Doctype not allowed inside or after documentElement at position "+s.getIndex());if(i?!s.substringStartsWithCaseInsensitive(n.DOCTYPE_DECL_START):!s.substringStartsWith(n.DOCTYPE_DECL_START))return r.fatalError("Expected "+n.DOCTYPE_DECL_START+" at position "+s.getIndex());if(s.skip(n.DOCTYPE_DECL_START.length),s.skipBlanks()<1)return r.fatalError("Expected whitespace after "+n.DOCTYPE_DECL_START+" at position "+s.getIndex());var u={name:void 0,publicId:void 0,systemId:void 0,internalSubset:void 0};if(u.name=s.getMatch(n.Name),!u.name)return r.fatalError("doctype name missing or contains unexpected characters at position "+s.getIndex());if(i&&"html"!==u.name.toLowerCase()&&r.warning("Unexpected DOCTYPE in HTML document at position "+s.getIndex()),s.skipBlanks(),s.substringStartsWith(n.PUBLIC)||s.substringStartsWith(n.SYSTEM)){var c=n.ExternalID_match.exec(s.substringFromIndex());if(!c)return r.fatalError("doctype external id is not well-formed at position "+s.getIndex());void 0!==c.groups.SystemLiteralOnly?u.systemId=c.groups.SystemLiteralOnly:(u.systemId=c.groups.SystemLiteral,u.publicId=c.groups.PubidLiteral),s.skip(c[0].length)}else if(i&&s.substringStartsWithCaseInsensitive(n.SYSTEM)){if(s.skip(n.SYSTEM.length),s.skipBlanks()<1)return r.fatalError("Expected whitespace after "+n.SYSTEM+" at position "+s.getIndex());if(u.systemId=s.getMatch(n.ABOUT_LEGACY_COMPAT_SystemLiteral),!u.systemId)return r.fatalError("Expected "+n.ABOUT_LEGACY_COMPAT+" in single or double quotes after "+n.SYSTEM+" at position "+s.getIndex())}return i&&u.systemId&&!n.ABOUT_LEGACY_COMPAT_SystemLiteral.test(u.systemId)&&r.warning("Unexpected doctype.systemId in HTML document at position "+s.getIndex()),i||(s.skipBlanks(),u.internalSubset=function(e,t){function o(e,t){var o=n.PI.exec(e.substringFromIndex());return o?"xml"===o[1].toLowerCase()?t.fatalError("xml declaration is only allowed at the start of the document, but found at position "+e.getIndex()):(e.skip(o[0].length),o[0]):t.fatalError("processing instruction is not well-formed at position "+e.getIndex())}var r=e.getSource();if("["===e.char()){e.skip(1);for(var i=e.getIndex();e.getIndex()<r.length;){if(e.skipBlanks(),"]"===e.char()){var s=r.substring(i,e.getIndex());return e.skip(1),s}var a=null;if("<"===e.char()&&"!"===e.char(1))switch(e.char(2)){case"E":"L"===e.char(3)?a=e.getMatch(n.elementdecl):"N"===e.char(3)&&(a=e.getMatch(n.EntityDecl));break;case"A":a=e.getMatch(n.AttlistDecl);break;case"N":a=e.getMatch(n.NotationDecl);break;case"-":a=e.getMatch(n.Comment)}else if("<"===e.char()&&"?"===e.char(1))a=o(e,t);else{if("%"!==e.char())return t.fatalError("Error detected in Markup declaration");a=e.getMatch(n.PEReference)}if(!a)return t.fatalError("Error in internal subset at position "+e.getIndex())}return t.fatalError("doctype internal subset is not well-formed, missing ]")}}(s,r)),s.skipBlanks(),">"!==s.char()?r.fatalError("doctype not terminated with > at position "+s.getIndex()):(s.skip(1),o.startDTD(u.name,u.publicId,u.systemId,u.internalSubset),o.endDTD(),s.getIndex());default:return r.fatalError('Not well-formed XML starting with "<!" at position '+t)}}function C(e,t,o,r){var i=e.substring(t).match(n.PI);if(!i)return r.fatalError("Invalid processing instruction starting at position "+t);if("xml"===i[1].toLowerCase()){if(t>0)return r.fatalError("processing instruction at position "+t+" is an xml declaration which is only at the start of the document");if(!n.XMLDecl.test(e.substring(t)))return r.fatalError("xml declaration is not well-formed")}return o.processingInstruction(i[1],i[2]),t+i[0].length}function E(){this.attributeNames=Object.create(null)}E.prototype={setTagName:function(e){if(!n.QName_exact.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,o){if(!n.QName_exact.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:o}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},t.XMLReader=h,t.parseUtils=b,t.parseDoctypeCommentOrCData=A},"./node_modules/geoportal-extensions-openlayers/package.json":function(e){e.exports=JSON.parse('{"_from":"geoportal-extensions-openlayers@3.4.6","_id":"geoportal-extensions-openlayers@3.4.6","_inBundle":false,"_integrity":"sha512-hBm3o1zMm2w900p5xfXQAT78ZQnuWsXR4hdNb02G6QwuuSz7l1/Kw5CMyRnP4CCfw/X0ytiqdB4Fp9ni7kwQ2A==","_location":"/geoportal-extensions-openlayers","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"geoportal-extensions-openlayers@3.4.6","name":"geoportal-extensions-openlayers","escapedName":"geoportal-extensions-openlayers","rawSpec":"3.4.6","saveSpec":null,"fetchSpec":"3.4.6"},"_requiredBy":["#DEV:/"],"_resolved":"https://registry.npmjs.org/geoportal-extensions-openlayers/-/geoportal-extensions-openlayers-3.4.6.tgz","_shasum":"b524242c4c534392577224d64b666c8368190f4d","_spec":"geoportal-extensions-openlayers@3.4.6","_where":"/home/runner/work/geoportal-sdk/geoportal-sdk","bundleDependencies":false,"date":"12/06/2025","dependencies":{"@mapbox/mapbox-gl-style-spec":"13.20.1","@xmldom/xmldom":"^0.9.0","eventbusjs":"0.2.0","geoportal-access-lib":"3.4.2","loglevel":"1.6.6","node-fetch":"^2.6.1","ol":"6.9.0","proj4":"2.7.5","sortablejs":"1.14.0"},"deprecated":false,"description":"![GitHub package.json version](https://img.shields.io/github/package-json/v/IGNF/geoportal-extensions?filename=build%2Fscripts%2Frelease%2Fpackage-openlayers.json)","devDependencies":{},"directories":{},"files":["dist/","src/","LICENCE.md","README.md","package.json"],"homepage":"https://github.com/IGNF/geoportal-extensions#readme","keywords":["geoportail","geoplateforme","plugin","javascript","OpenLayers"],"license":"CECILL-B","module":"src/OpenLayers/index.js","name":"geoportal-extensions-openlayers","peerDependencies":{},"repository":{"url":"git+https://github.com/IGNF/geoportal-extensions.git","type":"git"},"scripts":{},"types":"src/OpenLayers/index.d.ts","version":"3.4.6"}')},"./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPboostRelief.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPbuildings.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPdrawing.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPelevationPath.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPgeneralWidget.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPgetFeatureInfo.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPisochron.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPlayerSwitcher.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPlocation.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPmeasureArea.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPmeasureAzimuth.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPmeasureLength.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPmeasureToolTip.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPmousePosition.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPreverseGeocoding.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GProute.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPsearchEngine.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPwaiting.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/Common/Controls/DrawingDOM.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js").default.getLogger("DrawingDOM"),n={_addUID:function(e){return this._uid?e+"-"+this._uid:e},_createMainContainerElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPdrawing"),e.className="GPwidget",e},_createShowDrawingElement:function(){var e=document.createElement("input");return e.id=this._addUID("GPshowDrawing"),e.className="GPshowDrawing",e.type="checkbox",e},_createShowDrawingPictoElement:function(){var e=this,t=document.createElement("label");t.id=this._addUID("GPshowDrawingPicto"),t.className="GPshowAdvancedToolPicto",t.htmlFor=this._addUID("GPshowDrawing"),t.title=this.options.labels.control,t.addEventListener?t.addEventListener("click",(function(t){e.onShowDrawingClick(t)})):t.attachEvent&&t.attachEvent("onclick",(function(t){e.onShowDrawingClick(t)}));var o=document.createElement("span");return o.id=this._addUID("GPshowDrawingOpen"),o.className="GPshowAdvancedToolOpen",t.appendChild(o),t},_createDrawingPanelElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPdrawingPanel"),e.className="GPpanel",e},_createDrawingPanelHeaderElement:function(){var e=document.createElement("div");e.className="GPpanelHeader";var t=document.createElement("div");t.className="GPpanelTitle",t.innerHTML=this.options.controlLabel||"Annoter la carte",e.appendChild(t);var o=document.createElement("div");o.id=this._addUID("GPdrawingPanelClose"),o.className="GPpanelClose",o.title="Fermer le panneau";var r=this;return o.addEventListener?o.addEventListener("click",(function(){document.getElementById(r._addUID("GPshowDrawingPicto")).click()}),!1):o.attachEvent&&o.attachEvent("onclick",(function(){document.getElementById(r._addUID("GPshowDrawingPicto")).click()})),e.appendChild(o),e},_createDrawingToolsSections:function(){var e=[];return this.dtOptions={},this.options.tools.points&&(this.dtOptions.points={label:this.options.labels.points,active:!1,panel:"draw",id:"point"}),this.options.tools.lines&&(this.dtOptions.lines={label:this.options.labels.lines,active:!1,panel:"draw",id:"line"}),this.options.tools.polygons&&(this.dtOptions.polygons={label:this.options.labels.polygons,active:!1,panel:"draw",id:"polygon"}),this.options.tools.holes&&(this.dtOptions.holes={label:this.options.labels.holes,active:!1,panel:"draw",id:"holes"}),this.options.tools.text&&(this.dtOptions.text={label:this.options.labels.text,active:!1,panel:"draw",id:"text"}),this.options.tools.edit&&(this.dtOptions.edit={label:this.options.labels.edit,active:!1,panel:"edit",id:"edit"}),this.options.tools.display&&(this.dtOptions.display={label:this.options.labels.display,active:!1,panel:"edit",id:"display"}),this.options.tools.tooltip&&(this.dtOptions.tooltip={label:this.options.labels.tooltip,active:!1,panel:"edit",id:"tooltip"}),this.options.tools.remove&&(this.dtOptions.remove={label:this.options.labels.remove,active:!1,panel:"edit",id:"remove"}),(this.dtOptions.points||this.dtOptions.lines||this.dtOptions.polygons||this.dtOptions.text)&&e.push(this._createDrawingToolSection(this.options.labels.creatingTools,"draw")),(this.dtOptions.edit||this.dtOptions.display||this.dtOptions.tooltip||this.dtOptions.remove)&&e.push(this._createDrawingToolSection(this.options.labels.editingTools,"edit")),this.options.tools.export&&e.push(this._createSavingSection(this.options.labels.export,this.options.labels.exportTitle)),e},_createDrawingToolSection:function(e,t){var o=document.createElement("div");o.className="drawing-tool-section";var r=document.createElement("p");r.className="drawing-tool-section-title",r.innerHTML=e,o.appendChild(r);var n=document.createElement("ul");n.className="drawing-tools-flex-display";var i=this;function s(e){i._handleDOMToolClick(e,this.id,i),i._handleToolClick(e,this.id,i)}for(var a in this.dtOptions)if(this.dtOptions[a].panel===t){var l=document.createElement("li");l.className="drawing-tool",l.id=this._addUID("drawing-tool-"+this.dtOptions[a].id),l.title=this.dtOptions[a].label,l.addEventListener("click",s),n.appendChild(l)}return o.appendChild(n),o},_createSavingSection:function(e,t){var o=document.createElement("div");o.className="drawing-tool-section drawing-tools-flex-display";var r=document.createElement("button");r.title=t,r.className="tool-form-submit drawing-button",r.id=this._addUID("drawing-export"),r.type="button",r.textContent=e;var n=this;return r.onclick=function(){n.onExportFeatureClick()},o.appendChild(r),o},_createMarkersChooser:function(e){var t=document.createElement("li");t.className=e.className;for(var o=0;o<this.options.markersList.length;o++){var r=document.createElement("input");r.type="radio",r.name="marker",r.id=this._addUID("marker-"+o),r.value=this.options.markersList[o].src,r.className="marker-input-radio",e.defaultValue===r.value&&(r.checked=!0),t.appendChild(r);var n=document.createElement("label");n.className="marker-label",n.setAttribute("for",r.id);var i=document.createElement("img");i.src=r.value,n.appendChild(i),t.appendChild(n)}return t},_createStylingElement:function(e){var t=document.createElement("li");t.className=e.className;var o=document.createTextNode(e.label);t.appendChild(o);var r=document.createElement("input");try{r.type=e.type}catch(e){r.type="text"}return r.id=e.id,r.value=e.defaultValue,e.title&&(r.title=e.title),void 0!==e.checked&&(r.checked=e.checked),void 0!==e.min&&(r.min=e.min),void 0!==e.max&&(r.max=e.max),void 0!==e.step&&(r.step=e.step),t.appendChild(r),t},_createStylingDiv:function(e){var t=document.createElement("div");t.className="gp-styling-div";var o=document.createElement("ul"),n=null,i=e.geomType.toLowerCase();switch(i){case"point&text":case"point":n=this._createMarkersChooser({className:"gp-styling-option",defaultValue:e.initValues.markerSrc}),o.appendChild(n),n=this._createStylingElement({type:"range",className:"gp-styling-option",label:this.options.labels.markerSize,title:"petit, moyen ou grand",id:this._addUID("markerSize"),min:5,max:15,step:5,defaultValue:10*e.initValues.markerSize}),o.appendChild(n),e.initValues.markerCustom,"point&text"===i&&(n=this._createStylingElement({type:"checkbox",className:"gp-styling-option",label:this.options.labels.labelDisplay,id:this._addUID("labelDisplay"),checked:e.initValues.labelDisplay,defaultValue:e.initValues.labelDisplay}),o.appendChild(n));break;case"text":n=this._createStylingElement({type:"color",className:"gp-styling-option",label:this.options.labels.fillColor,id:this._addUID("fillColor"),defaultValue:e.initValues.fillColor}),o.appendChild(n),n=this._createStylingElement({type:"color",className:"gp-styling-option",label:this.options.labels.strokeColor,id:this._addUID("strokeColor"),defaultValue:e.initValues.strokeColor}),o.appendChild(n),n=this._createStylingElement({type:"range",className:"gp-styling-option",label:this.options.labels.strokeWidth,title:"1 à 10 pixels",id:this._addUID("strokeWidth"),min:1,max:10,step:1,defaultValue:e.initValues.strokeWidth}),o.appendChild(n);break;case"line":n=this._createStylingElement({type:"color",className:"gp-styling-option",label:this.options.labels.strokeColor,id:this._addUID("strokeColor"),defaultValue:e.initValues.strokeColor}),o.appendChild(n),n=this._createStylingElement({type:"range",className:"gp-styling-option",label:this.options.labels.strokeWidth,title:"1 à 10 pixels",id:this._addUID("strokeWidth"),min:1,max:10,step:1,defaultValue:e.initValues.strokeWidth}),o.appendChild(n);break;case"polygon":n=this._createStylingElement({type:"color",className:"gp-styling-option",label:this.options.labels.strokeColor,id:this._addUID("strokeColor"),defaultValue:e.initValues.strokeColor}),o.appendChild(n),n=this._createStylingElement({type:"range",className:"gp-styling-option",label:this.options.labels.strokeWidth,title:"1 à 10 pixels",id:this._addUID("strokeWidth"),min:1,max:10,step:1,defaultValue:e.initValues.strokeWidth}),o.appendChild(n),n=this._createStylingElement({type:"color",className:"gp-styling-option",label:this.options.labels.fillColor,id:this._addUID("fillColor"),defaultValue:e.initValues.fillColor}),o.appendChild(n),n=this._createStylingElement({type:"range",className:"gp-styling-option",label:this.options.labels.fillOpacity,title:"0 (transparent) à 100% (opaque)",id:this._addUID("fillOpacity"),min:0,max:10,step:1,defaultValue:10*e.initValues.fillOpacity}),o.appendChild(n);break;default:r.log("Unhandled geometry type for styling.")}t.appendChild(o);var s=document.createElement("input");s.type="button",s.className="gp-styling-button",s.value=this.options.labels.applyToObject,s.onclick=function(){e.applyFunc.call(this,"apply")},t.appendChild(s);var a=document.createElement("input");a.type="button",a.value=this.options.labels.setAsDefault,a.className="gp-styling-button",a.onclick=function(){e.applyFunc.call(this,"default")},t.appendChild(a);var l=document.createElement("input");return l.type="button",l.className="gp-styling-button closer",l.onclick=function(){e.applyFunc.call(this,"cancel")},t.appendChild(l),t},_createLabelDiv:function(e){var t=document.createElement("div");t.className="gp-label-div";var o=null;if("Text"===e.geomType?((o=document.createElement("input")).type="text",o.className="gp-input-label-style"):((o=document.createElement("textArea")).rows=2,o.cols=40,o.className="gp-textarea-att-label-style"),e.text&&(o.value=e.text),o.autocomplete="off",o.placeholder=e.placeholder,o.id=e.inputId,t.appendChild(o),o.onblur=function(){e.applyFunc.call(this,e.key,o.value,!0)},o.onkeyup=function(t){"Text"===e.geomType&&13===t.keyCode&&e.applyFunc.call(this,e.key,o.value,!0),27===t.keyCode&&e.applyFunc.call(this,e.key,o.value,!1)},e.measure&&"Text"!==e.geomType){var r=document.createElement("input");r.type="text",r.readonly=!0,r.className="gp-input-measure-style",r.value=e.measure,t.appendChild(r)}if("Text"!==e.geomType){var n=document.createElement("input");n.type="button",n.className="gp-styling-button",n.value=this.options.labels.saveDescription,n.onclick=function(){e.applyFunc.call(this,e.key,o.value,!0)},t.appendChild(n);var i=document.createElement("input");i.type="button",i.className="gp-styling-button closer",i.onclick=function(){e.applyFunc.call(this,e.key,o.value,!1)},t.appendChild(i)}return t},_handleDOMToolClick:function(e,t,o){for(var r in o.dtOptions){var n=o._addUID("drawing-tool-"+o.dtOptions[r].id),i=document.getElementById(n);n===t?(o.dtOptions[r].active?i.className="drawing-tool":i.className="drawing-tool drawing-tool-active",o.dtOptions[r].active=!o.dtOptions[r].active):(i.className="drawing-tool",o.dtOptions[r].active=!1)}}};t.default=n},"./node_modules/geoportal-extensions-openlayers/src/Common/Controls/Editor/EditorDOM.js":function(e,t,o){"use strict";o.r(t);t.default={_addUID:function(e){return this._uid?e+"-"+this._uid:e}}},"./node_modules/geoportal-extensions-openlayers/src/Common/Controls/ElevationPathDOM.js":function(e,t,o){"use strict";o.r(t);var r={_addUID:function(e){return this._uid?e+"-"+this._uid:e},_createMainContainerElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPelevationPath"),e.className="GPwidget",e},_createShowElevationPathElement:function(){var e=document.createElement("input");return e.id=this._addUID("GPshowElevationPath"),e.type="checkbox",e},_createShowElevationPathPictoElement:function(){var e=this,t=document.createElement("label");t.id=this._addUID("GPshowElevationPathPicto"),t.className="GPshowAdvancedToolPicto",t.htmlFor=this._addUID("GPshowElevationPath"),t.title="Calculer un profil",t.addEventListener?t.addEventListener("click",(function(t){e.onShowElevationPathClick(t)})):t.attachEvent&&t.attachEvent("onclick",(function(t){e.onShowElevationPathClick(t)}));var o=document.createElement("span");return o.id=this._addUID("GPshowElevationPathOpen"),o.className="GPshowAdvancedToolOpen",t.appendChild(o),t},_createElevationPathPanelElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPelevationPathPanel"),e.className="GPpanel",e},_createElevationPathPanelHeaderElement:function(){var e=this,t=document.createElement("div");t.className="GPpanelHeader";var o=document.createElement("div");o.id=this._addUID("GPelevationPathPanelInfo"),o.className="GPpanelInfo",o.title="Informations",o.addEventListener?o.addEventListener("click",(function(){e.onOpenElevationPathInfoClick()})):o.attachEvent&&o.attachEvent("onclick",(function(){e.onOpenElevationPathInfoClick()})),t.appendChild(o);var r=document.createElement("div");r.className="GPpanelTitle",r.innerHTML="Profil Altimétrique",t.appendChild(r);var n=document.createElement("div");n.id=this._addUID("GPelevationPathPanelReduce"),n.className="GPpanelReduce",n.title="Masquer le panneau",n.addEventListener?n.addEventListener("click",(function(){"function"==typeof e.onReduceElevationPathPanelClick&&(document.getElementById(e._addUID("GPshowElevationPath")).checked=!1,e.onReduceElevationPathPanelClick())}),!1):n.attachEvent&&n.attachEvent("onclick",(function(){"function"==typeof e.onReduceElevationPathPanelClick&&(document.getElementById(e._addUID("GPshowElevationPath")).checked=!1,e.onReduceElevationPathPanelClick())})),t.appendChild(n);var i=document.createElement("div");return i.id=this._addUID("GPelevationPathPanelClose"),i.className="GPpanelClose",i.title="Fermer le panneau",i.addEventListener?i.addEventListener("click",(function(){document.getElementById(e._addUID("GPshowElevationPathPicto")).click()}),!1):i.attachEvent&&i.attachEvent("onclick",(function(){document.getElementById(e._addUID("GPshowElevationPathPicto")).click()})),t.appendChild(i),t},_createElevationPathPanelProfilElement:function(){var e=document.createElement("div");return e.id="GPelevationPathProfil",e},_createElevationPathWaitingElement:function(){var e=document.createElement("div");e.id=this._addUID("GPelevationPathCalcWaitingContainer"),e.className="GPelevationPathCalcWaitingContainerHidden";var t=document.createElement("p");return t.className="GPelevationPathCalcWaiting",t.innerHTML="Calcul en cours...",e.appendChild(t),e},_createElevationPathInformationsElement:function(){var e=document.createElement("div");e.id=this._addUID("GPelevationPathInformationsContainer"),e.className="GPelevationPathInformationsContainerHidden";var t=document.createElement("p");return t.className="GPelevationPathInformations",t.innerHTML="Aucune information...",e.appendChild(t),e},_addElevationPathInformationsItem:function(e){var t=document.getElementById(this._addUID("GPelevationPathInformationsContainer"));if(t){var o=document.createElement("p");o.className="GPelevationPathInformations",o.innerHTML=e,t.appendChild(o)}return t}};t.default=r},"./node_modules/geoportal-extensions-openlayers/src/Common/Controls/ExportDOM.js":function(e,t,o){"use strict";o.r(t);t.default={_addUID:function(e){return this.uid?e+"-"+this.uid:e}}},"./node_modules/geoportal-extensions-openlayers/src/Common/Controls/GetFeatureInfoDOM.js":function(e,t,o){"use strict";o.r(t);var r={_addUID:function(e){return this._uid?e+"-"+this._uid:e},_createMainContainerElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPgetFeatureInfo"),e.className="GPwidget",e},_createActivateGetFeatureInfoElement:function(e){var t=this,o=document.createElement("input");return o.id=this._addUID("GPactivateGetFeatureInfo"),o.type="checkbox",o.checked=e,o.addEventListener("change",(function(e){t.onActivateGetFeatureInfoElementChange(e)})),o},_createMainPictoElement:function(){var e=document.createElement("label");e.id=this._addUID("GPgetFeatureInfoPicto"),e.className="GPshowAdvancedToolPicto",e.htmlFor=this._addUID("GPactivateGetFeatureInfo"),e.title="activer/desactiver l'interrogation des couches";var t=document.createElement("span");t.id=this._addUID("GPgetFeatureInfoActivate"),t.className="GPshowAdvancedToolOpen",e.appendChild(t);var o=document.createElement("span");return o.id=this._addUID("GPgetFeatureInfoDeactivate"),e.appendChild(o),e}};t.default=r},"./node_modules/geoportal-extensions-openlayers/src/Common/Controls/IsoDOM.js":function(e,t,o){"use strict";o.r(t);var r={_addUID:function(e){return this._uid?e+"-"+this._uid:e},_createMainContainerElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPisochron"),e.className="GPwidget",e},_createShowIsoElement:function(){var e=document.createElement("input");return e.id=this._addUID("GPshowIsochron"),e.type="checkbox",e},_createShowIsoPictoElement:function(){var e=this,t=document.createElement("label");t.id=this._addUID("GPshowIsochronPicto"),t.className="GPshowAdvancedToolPicto",t.htmlFor=this._addUID("GPshowIsochron"),t.title="Calculer une isochrone",t.addEventListener?t.addEventListener("click",(function(t){e.onShowIsoPanelClick(t)})):t.attachEvent&&t.attachEvent("onclick",(function(t){e.onShowIsoPanelClick(t)}));var o=document.createElement("span");return o.id=this._addUID("GPshowIsochronOpen"),o.className="GPshowAdvancedToolOpen",t.appendChild(o),t},_createIsoPanelElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPisochronPanel"),e.className="GPpanel",e},_createIsoPanelHeaderElement:function(){var e=this,t=document.createElement("div");t.className="GPpanelHeader";var o=document.createElement("div");o.className="GPpanelTitle",o.innerHTML="Calcul d'isochrone",t.appendChild(o);var r=document.createElement("div");return r.id=this._addUID("GPisochronPanelClose"),r.className="GPpanelClose",r.title="Fermer le panneau",r.addEventListener?r.addEventListener("click",(function(){document.getElementById(e._addUID("GPshowIsochronPicto")).click()}),!1):r.attachEvent&&r.attachEvent("onclick",(function(){document.getElementById(e._addUID("GPshowIsochronPicto")).click()})),t.appendChild(r),t},_createIsoPanelFormElement:function(){var e=this,t=document.createElement("form");return t.id=this._addUID("GPisochronForm"),t.addEventListener("submit",(function(t){return t.preventDefault(),e.onIsoComputationSubmit(t),!1})),t},_createIsoWaitingElement:function(){var e=document.createElement("div");e.id=this._addUID("GPisochronCalcWaitingContainer"),e.className="GPisochronCalcWaitingContainerHidden";var t=document.createElement("p");return t.className="GPisochronCalcWaiting",t.innerHTML="Calcul en cours...",e.appendChild(t),e},_createIsoPanelFormTypeChoiceElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPisochronChoice"),e},_createIsoPanelFormTypeChoiceChronElement:function(e){var t=this,o=document.createElement("div");o.className="GPisochronChoiceAlt";var r=document.createElement("input");r.id=this._addUID("GPisochronChoiceAltChron"),r.name="GPisochronChoiceMode",r.type="radio",r.checked=!!e,r.addEventListener?r.addEventListener("change",(function(e){document.getElementById(t._addUID("GPisochronValueChron")).className="GPflexInput",document.getElementById(t._addUID("GPisochronValueDist")).className="GPisochronValueHidden",t.onIsoTypeChoiceChange(e)}),!1):r.attachEvent&&r.attachEvent("onchange",(function(){document.getElementById(t._addUID("GPisochronValueChron")).className="GPflexInput",document.getElementById(t._addUID("GPisochronValueDist")).className="GPisochronValueHidden",t.onIsoTypeChoiceChange()})),r.value="isochron",o.appendChild(r);var n=document.createElement("label");n.className="GPisochronChoiceAltImg",n.htmlFor=this._addUID("GPisochronChoiceAltChron"),o.appendChild(n);var i=document.createElement("span");return i.id=this._addUID("GPisochronChoiceAltChronTxt"),i.innerHTML="isochrone",i.addEventListener?i.addEventListener("click",(function(){document.getElementById(t._addUID("GPisochronChoiceAltChron")).click()}),!1):i.attachEvent&&i.attachEvent("onclick",(function(){document.getElementById(t._addUID("GPisochronChoiceAltChron")).click()})),o.appendChild(i),o},_createIsoPanelFormTypeChoiceDistElement:function(e){var t=this,o=document.createElement("div");o.className="GPisochronChoiceAlt";var r=document.createElement("input");r.id=this._addUID("GPisochronChoiceAltDist"),r.name="GPisochronChoiceMode",r.type="radio",r.checked=!!e,r.addEventListener?r.addEventListener("change",(function(e){document.getElementById(t._addUID("GPisochronValueDist")).className="GPflexInput",document.getElementById(t._addUID("GPisochronValueChron")).className="GPisochronValueHidden",t.onIsoTypeChoiceChange(e)}),!1):r.attachEvent&&r.attachEvent("onchange",(function(){document.getElementById(t._addUID("GPisochronValueDist")).className="GPflexInput",document.getElementById(t._addUID("GPisochronValueChron")).className="GPisochronValueHidden",t.onIsoTypeChoiceChange()})),r.value="isodistance",o.appendChild(r);var n=document.createElement("label");n.className="GPisochronChoiceAltImg",n.htmlFor=this._addUID("GPisochronChoiceAltDist"),o.appendChild(n);var i=document.createElement("span");return i.id=this._addUID("GPisochronChoiceAltDistTxt"),i.innerHTML="isodistance",i.addEventListener?i.addEventListener("click",(function(){document.getElementById(t._addUID("GPisochronChoiceAltDist")).click()}),!1):i.attachEvent&&i.attachEvent("onclick",(function(){document.getElementById(t._addUID("GPisochronChoiceAltDist")).click()})),o.appendChild(i),o},_createIsoPanelFormValueIsochronElement:function(e){var t=this,o=document.createElement("div");o.id=this._addUID("GPisochronValueChron"),o.className=e?"GPflexInput":"GPisochronValueHidden";var r=document.createElement("label");r.id=this._addUID("GPisochronValueChronLabel"),r.htmlFor=this._addUID("GPisochronValueChronInput"),r.innerHTML="Temps",o.appendChild(r);var n=document.createElement("input");n.id=this._addUID("GPisochronValueChronInput1"),n.min="0",n.step="1",n.value="0",n.type="number",n.addEventListener?n.addEventListener("change",(function(e){"function"==typeof t.onIsoValueChronTimeMinuteChange&&t.onIsoValueChronTimeHourChange(e)})):n.attachEvent&&n.attachEvent("onchange",(function(e){"function"==typeof t.onIsoValueChronTimeMinuteChange&&t.onIsoValueChronTimeHourChange(e)})),o.appendChild(n);var i=document.createElement("label");i.innerHTML="h",o.appendChild(i);var s=document.createElement("input");s.id=this._addUID("GPisochronValueChronInput2"),s.min="0",s.max="59",s.step="1",s.value="0",s.type="number",s.addEventListener?s.addEventListener("change",(function(e){"function"==typeof t.onIsoValueChronTimeMinuteChange&&t.onIsoValueChronTimeMinuteChange(e)})):s.attachEvent&&s.attachEvent("onchange",(function(e){"function"==typeof t.onIsoValueChronTimeMinuteChange&&t.onIsoValueChronTimeMinuteChange(e)})),o.appendChild(s);var a=document.createElement("label");return a.innerHTML="min",o.appendChild(a),o},_createIsoPanelFormValueIsodistanceElement:function(e){var t=this,o=document.createElement("div");o.id=this._addUID("GPisochronValueDist"),o.className=e?"GPflexInput":"GPisochronValueHidden";var r=document.createElement("label");r.id=this._addUID("GPisochronValueDistLabel"),r.htmlFor=this._addUID("GPisochronValueDistInput"),r.innerHTML="Distance",o.appendChild(r);var n=document.createElement("input");n.id=this._addUID("GPisochronValueDistInput"),n.min="0",n.step="any",n.value="0",n.type="number",n.addEventListener?n.addEventListener("change",(function(e){"function"==typeof t.onIsoValueDistChange&&t.onIsoValueDistChange(e)})):n.attachEvent&&n.attachEvent("onchange",(function(e){"function"==typeof t.onIsoValueDistChange&&t.onIsoValueDistChange(e)})),o.appendChild(n);var i=document.createElement("label");return i.innerHTML="km",o.appendChild(i),o},_createIsoPanelFormModeChoiceElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPisochronModeChoice"),e},_createIsoPanelFormModeChoiceTransportElement:function(e){var t=this,o=document.createElement("div");o.id=this._addUID("GPisochronTransportChoice");var r=document.createElement("span");r.className="GPisochronModeLabel",r.innerHTML="Mode de transport",o.appendChild(r);for(var n=0;n<e.length;n++){var i=e[n];if("Voiture"===i){var s=document.createElement("input");s.id=this._addUID("GPisochronTransportCar"),s.type="radio",s.name="GPisochronTransport",0===n&&(s.checked=!0),s.addEventListener?s.addEventListener("change",(function(e){t.onIsoModeTransportChange(e)})):s.attachEvent&&s.attachEvent("onchange",(function(e){t.onIsoModeTransportChange(e)})),s.value="Voiture",o.appendChild(s);var a=document.createElement("label");a.className="GPisochronTransportImg",a.htmlFor=this._addUID("GPisochronTransportCar"),a.title="Voiture",o.appendChild(a)}if("Pieton"===i){var l=document.createElement("input");l.id=this._addUID("GPisochronTransportPedestrian"),l.type="radio",l.name="GPisochronTransport",0===n&&(l.checked=!0),l.addEventListener?l.addEventListener("change",(function(e){t.onIsoModeTransportChange(e)})):l.attachEvent&&l.attachEvent("onchange",(function(e){t.onIsoModeTransportChange(e)})),l.value="Pieton",o.appendChild(l);var u=document.createElement("label");u.className="GPisochronTransportImg",u.htmlFor=this._addUID("GPisochronTransportPedestrian"),u.title="Piéton",o.appendChild(u)}}return o},_createIsoPanelFormModeChoiceDirectionElement:function(e){var t=this,o=document.createElement("div");o.id=this._addUID("GPisochronDirectionChoice");var r=document.createElement("span");r.className="GPisochronModeLabel",r.innerHTML="Sens de parcours",o.appendChild(r);var n=document.createElement("select");n.id=this._addUID("GPisochronDirectionSelect"),n.className="GPinputSelect",n.addEventListener("change",(function(e){t.onIsoModeDirectionChange(e)}));for(var i=0;i<e.length;i++){var s=e[i];if("departure"===s.toLowerCase()){var a=document.createElement("option");0===i&&(a.selected="selected"),a.value="departure",a.text="Départ",n.appendChild(a)}if("arrival"===s.toLowerCase()){var l=document.createElement("option");0===i&&(l.selected="selected"),l.value="arrival",l.text="Arrivée",n.appendChild(l)}}return o.appendChild(n),o},_createShowIsoExclusionsElement:function(){var e=document.createElement("input");return e.id=this._addUID("GPshowIsoExclusions"),e.type="checkbox",e},_createShowIsoExclusionsPictoElement:function(){var e=document.createElement("label");return e.id=this._addUID("GPshowIsoExclusionsPicto"),e.className="GPshowMoreOptionsImage GPshowMoreOptions GPshowIsoExclusionsPicto",e.htmlFor=this._addUID("GPshowIsoExclusions"),e.title="Exclusions",e.style.top="240px",e},_createIsoPanelFormExclusionsElement:function(){var e=document.createElement("div");e.id=this._addUID("GPisoExclusions");var t=document.createElement("span");return t.className="GPisoExclusionsLabel",t.innerHTML="Passages autorisés",e.appendChild(t),e},_createIsoPanelFormExclusionOptionsElement:function(e){var t=this,o=document.createElement("div");for(var r in o.className="GPisoExclusionsOptions",e)if(e.hasOwnProperty(r)){var n=e[r];switch(r){case"toll":var i=document.createElement("input");i.id=this._addUID("GPisoExclusionsToll"),i.type="checkbox",i.checked=!n,i.addEventListener?i.addEventListener("change",(function(e){t.onIsoExclusionsChange(e)})):i.attachEvent&&i.attachEvent("onchange",(function(e){t.onIsoExclusionsChange(e)})),i.value="Toll",o.appendChild(i);var s=document.createElement("label");s.className="GPisoExclusionsOption",s.htmlFor=this._addUID("GPisoExclusionsToll"),s.innerHTML="Péages",o.appendChild(s);break;case"tunnel":var a=document.createElement("input");a.id=this._addUID("GPisoExclusionsTunnel"),a.type="checkbox",a.checked=!n,a.addEventListener?a.addEventListener("change",(function(e){t.onIsoExclusionsChange(e)})):a.attachEvent&&a.attachEvent("onchange",(function(e){t.onIsoExclusionsChange(e)})),a.value="Tunnel",o.appendChild(a);var l=document.createElement("label");l.className="GPisoExclusionsOption",l.htmlFor=this._addUID("GPisoExclusionsTunnel"),l.innerHTML="Tunnels",o.appendChild(l);break;case"bridge":var u=document.createElement("input");u.id=this._addUID("GPisoExclusionsBridge"),u.type="checkbox",u.checked=!n,u.addEventListener?u.addEventListener("change",(function(e){t.onIsoExclusionsChange(e)})):u.attachEvent&&u.attachEvent("onchange",(function(e){t.onIsoExclusionsChange(e)})),u.value="Bridge",o.appendChild(u);var c=document.createElement("label");c.className="GPisoExclusionsOption",c.htmlFor=this._addUID("GPisoExclusionsBridge"),c.innerHTML="Ponts",o.appendChild(c)}}return o},_createIsoSubmitFormElement:function(){var e=document.createElement("input");return e.id=this._addUID("GPisochronSubmit"),e.className="GPinputSubmit",e.type="submit",e.value="Calculer",e},_createIsoFormResetElement:function(){var e=this,t=document.createElement("div");return t.id=this._addUID("GPisochronReset"),t.title="Réinitialiser les paramètres",t.addEventListener("click",(function(t){e.onIsoResetClick(t)})),t}};t.default=r},"./node_modules/geoportal-extensions-openlayers/src/Common/Controls/LayerImportDOM.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js"),n={_addUID:function(e){return this._uid?e+"-"+this._uid:e},_createLoadingElement:function(){var e=document.createElement("div");return e.id="GPmapLoading",e.className="",e},_createMainContainerElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPimport"),e.className="GPwidget",e},_createShowImportElement:function(){var e=document.createElement("input");return e.id=this._addUID("GPshowImport"),e.type="checkbox",e},_createShowImportPictoElement:function(){var e=this,t=document.createElement("label");t.id=this._addUID("GPshowImportPicto"),t.className="GPshowAdvancedToolPicto",t.htmlFor=this._addUID("GPshowImport"),t.title="Ouvrir l'import de couches",t.addEventListener?t.addEventListener("click",(function(){e._onShowImportClick()})):t.attachEvent&&t.attachEvent("onclick",(function(){e._onShowImportClick()}));var o=document.createElement("span");return o.id=this._addUID("GPshowImportOpen"),o.className="GPshowAdvancedToolOpen",t.appendChild(o),t},_createImportPanelElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPimportPanel"),e.className="GPpanel",e},_createImportPanelHeaderElement:function(){var e=document.createElement("div");e.className="GPpanelHeader";var t=this._createImportPanelTitleElement();e.appendChild(t);var o=this._createImportPanelCloseElement();return e.appendChild(o),e},_createImportPanelTitleElement:function(){var e=document.createElement("div");return e.className="GPpanelTitle",e.innerHTML="Import de données",e},_createImportPanelCloseElement:function(){var e=this,t=document.createElement("div");return t.id=this._addUID("GPimportPanelClose"),t.className="GPpanelClose",t.title="Fermer le panneau",t.addEventListener?t.addEventListener("click",(function(){document.getElementById(e._addUID("GPshowImportPicto")).click()}),!1):t.attachEvent&&t.attachEvent("onclick",(function(){document.getElementById(e._addUID("GPshowImportPicto")).click()})),t},_createImportPanelFormElement:function(){var e=this,t=document.createElement("form");return t.id=this._addUID("GPimportForm"),t.className="map-tool-box",t.addEventListener?t.addEventListener("submit",(function(t){t.preventDefault(),e._onImportSubmit()})):t.attachEvent&&t.attachEvent("onsubmit",(function(t){t.preventDefault(),e._onImportSubmit()})),t},_createImportTypeLineElement:function(e){var t=this,o=document.createElement("div");o.id=this._addUID("GPimportTypeLine"),o.className="GPimportInputLine";var r=document.createElement("label");r.htmlFor=this._addUID("GPimportType"),r.className="GPimportLabel",r.innerHTML="Type de donnée",r.title="Type de donnée",o.appendChild(r);var n,i=document.createElement("select");i.className="GPimportSelect",i.addEventListener?i.addEventListener("change",(function(e){"KML"===this.value||"GPX"===this.value||"GeoJSON"===this.value||"MAPBOX"===this.value?(document.getElementById(t._addUID("GPimportStaticParams")).className="GPimportVisibleParams",document.getElementById(t._addUID("GPimportServiceParams")).className="GPimportHiddenParams"):"WMS"!==this.value&&"WMTS"!==this.value&&"WFS"!==this.value||(document.getElementById(t._addUID("GPimportServiceParams")).className="GPimportVisibleParams",document.getElementById(t._addUID("GPimportStaticParams")).className="GPimportHiddenParams"),t._onImportTypeChange(e)})):i.attachEvent&&i.attachEvent("onchange",(function(){"KML"===this.value||"GPX"===this.value||"GeoJSON"===this.value||"MAPBOX"===this.value?(document.getElementById(t._addUID("GPimportStaticParams")).className="GPimportVisibleParams",document.getElementById(t._addUID("GPimportServiceParams")).className="GPimportHiddenParams"):"WMS"!==this.value&&"WMTS"!==this.value&&"WFS"!==this.value||(document.getElementById(t._addUID("GPimportServiceParams")).className="GPimportVisibleParams",document.getElementById(t._addUID("GPimportStaticParams")).className="GPimportHiddenParams"),t._onImportTypeChange()})),i.id=this._addUID("GPimportType"),e&&Array.isArray(e)||(e=["KML","GPX","GeoJSON","MAPBOX","WMS","WMTS","WFS"]);for(var s=0;s<e.length;s++)(n=document.createElement("option")).value=e[s],n.text="MAPBOX"===e[s]?"Tuiles vectorielles":e[s],i.appendChild(n);return o.appendChild(i),o},_createImportWaitingElement:function(){var e=document.createElement("div");e.id=this._addUID("GPimportWaitingContainer"),e.className="GPimportWaitingContainerHidden";var t=document.createElement("p");return t.className="GPimportWaiting",t.innerHTML="Recherche en cours...",e.appendChild(t),e},_createImportStaticParamsContainer:function(e){var t=document.createElement("div");return t.id=this._addUID("GPimportStaticParams"),t.className="KML"===e||"GPX"===e||"GeoJSON"===e||"MAPBOX"===e?"GPimportVisibleParams":"GPimportHiddenParams",t},_createStaticNameLabel:function(){var e=document.createElement("div");e.className="GPimportInputLine";var t=document.createElement("label");t.className="GPimportLabel",t.htmlFor=this._addUID("GPimportName"),t.innerHTML="Nom",t.title="Nom",e.appendChild(t);var o=document.createElement("input");return o.type="text",o.id=this._addUID("GPimportName"),o.className="GPimportInput",e.appendChild(o),e},_createStaticModeChoiceDiv:function(){var e=document.createElement("div");return e.id=this._addUID("GPimportChoice"),e},_createStaticLocalChoiceDiv:function(){var e=this,t=document.createElement("div");t.className="GPimportChoiceAlt";var o=document.createElement("input");o.type="radio",o.addEventListener?o.addEventListener("change",(function(t){document.getElementById(e._addUID("GPimportValueLocal")).className="GPimportInputLine",document.getElementById(e._addUID("GPimportValueUrl")).className="GPimportValueHidden",e._onStaticImportTypeChange(t)})):o.appendChild&&o.appendChild("onchange",(function(){document.getElementById(e._addUID("GPimportValueLocal")).className="GPimportInputLine",document.getElementById(e._addUID("GPimportValueUrl")).className="GPimportValueHidden",e._onStaticImportTypeChange()})),o.name="GPimportChoiceMode",o.value="local",o.checked=!0,o.id=this._addUID("GPimportChoiceAltLocal"),t.appendChild(o);var r=document.createElement("label");return r.className="GPimportChoiceAltTxt",r.htmlFor=this._addUID("GPimportChoiceAltLocal"),r.innerHTML="par fichier local",r.title="par fichier local",t.appendChild(r),t},_createStaticUrlChoiceDiv:function(){var e=this,t=document.createElement("div");t.className="GPimportChoiceAlt";var o=document.createElement("input");o.type="radio",o.addEventListener?o.addEventListener("change",(function(t){document.getElementById(e._addUID("GPimportValueUrl")).className="GPimportInputLine",document.getElementById(e._addUID("GPimportValueLocal")).className="GPimportValueHidden",e._onStaticImportTypeChange(t)})):o.appendChild&&o.appendChild("onchange",(function(){document.getElementById(e._addUID("GPimportValueUrl")).className="GPimportInputLine",document.getElementById(e._addUID("GPimportValueLocal")).className="GPimportValueHidden",e._onStaticImportTypeChange()})),o.id=this._addUID("GPimportChoiceAltUrl"),o.name="GPimportChoiceMode",o.value="url",o.checked=!1,t.appendChild(o);var r=document.createElement("label");return r.className="GPimportChoiceAltTxt",r.htmlFor=this._addUID("GPimportChoiceAltUrl"),r.innerHTML="par URL",r.title="par URL",t.appendChild(r),t},_createStaticLocalInputDiv:function(){var e=document.createElement("div");return e.id=this._addUID("GPimportValueLocal"),e.className="GPimportInputLine",e},_createStaticLocalInputLabel:function(){var e=document.createElement("label");return e.className="GPimportLabel",e.htmlFor=this._addUID("GPimportFile"),e.innerHTML="Fichier local",e.title="Fichier local",e},_createStaticLocalInput:function(){var e=document.createElement("input");return e.type="file",e.id=this._addUID("GPimportFile"),e.className="GPimportInputFile",e},_createStaticUrlInputDiv:function(){var e=document.createElement("div");return e.id=this._addUID("GPimportValueUrl"),e.className="GPimportValueHidden",e},_createStaticUrlInputLabel:function(){var e=document.createElement("label");return e.className="GPimportLabel",e.htmlFor=this._addUID("GPimportUrl"),e.innerHTML="URL",e.title="URL",e},_createStaticUrlInput:function(){var e=document.createElement("input");return e.type="text",e.id=this._addUID("GPimportUrl"),e.className="GPimportInput",e},_createServiceParamsContainer:function(e){var t=document.createElement("div");return t.id=this._addUID("GPimportServiceParams"),t.className="WMS"===e||"WMTS"===e||"WFS"===e?"GPimportVisibleParams":"GPimportHiddenParams",t},_createServiceUrlDiv:function(){var e=document.createElement("div");return e.className="GPimportInputLine",e},_createServiceUrlInputLabel:function(){var e=document.createElement("label");return e.className="GPimportLabel",e.htmlFor=this._addUID("GPimportServiceUrl"),e.innerHTML="URL du service",e.title="URL du service",e},_createServiceUrlInput:function(){var e=document.createElement("input");return e.type="text",e.id=this._addUID("GPimportServiceUrl"),e.className="GPimportInput",e},_createImportSubmitFormElement:function(){var e=document.createElement("input");return e.id=this._addUID("GPimportSubmit"),e.className="GPinputSubmit tool-form-submit",e.type="submit",e.value="Importer",e},_createImportGetCapPanelElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPimportGetCapPanel"),e.className="GPpanel",e},_createImportGetCapPanelHeaderElement:function(){var e=this,t=document.createElement("div");t.className="GPpanelHeader";var o=document.createElement("div");o.className="GPpanelTitle",o.innerHTML="Couches accessibles",o.title="Couches accessibles",t.appendChild(o);var r=document.createElement("div");return r.addEventListener?r.addEventListener("click",(function(){document.getElementById(e._addUID("GPimportGetCapPanel")).style.display="none",document.getElementById(e._addUID("GPimportPanel")).style.display="",e._onGetCapPanelClose()})):r.attachEvent&&r.attachEvent("click",(function(){document.getElementById(e._addUID("GPimportGetCapPanel")).style.display="none",document.getElementById(e._addUID("GPimportPanel")).style.display="",e._onGetCapPanelClose()})),r.className="GPpanelClose",r.title="Fermer le panneau",r.id=this._addUID("GPimportGetCapPanelClose"),t.appendChild(r),t},_createImportGetCapResultsContainer:function(){var e=document.createElement("div");return e.className="GPimportGetCapRoot",e.id=this._addUID("GPimportGetCapResults"),e},_addImportGetCapResultListRubrique:function(e,t){var o=document.createElement("ul");return o.className="GPimportGetCapListRubrique",o.title=e,t.appendChild(o),t},_addImportGetCapResultRubrique:function(e,t){var o=document.createElement("li");o.className="GPimportGetCapRubrique";var n=document.createElement("input");n.id="GPimportGetCapRubrique-"+r.default.generate(),n.className="GPimportGetCapRubrique",n.type="checkbox",o.appendChild(n);var i=document.createElement("label");return i.className="GPimportGetCapRubriqueTitle",i.htmlFor=n.id,i.innerHTML=e,i.title=e,o.appendChild(i),t.appendChild(o),t},_addImportGetCapResultListLayer:function(e){var t=document.createElement("ul");return t.className="GPimportGetCapListLayer",e.appendChild(t),e},_addImportGetCapResultLayer:function(e,t,o){var r=document.createElement("li");r.className="GPimportGetCapProposal",r.innerHTML=e.content,r.title=e.title,r.id="GPimportGetCapProposal_"+t;var n=this;return r.addEventListener?r.addEventListener("click",(function(e){n._onGetCapResponseLayerClick(e)})):r.attachEvent&&r.attachEvent("onclick",(function(){n._onGetCapResponseLayerClick()})),o.appendChild(r),o},_createImportMapBoxPanelElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPimportMapBoxPanel"),e.className="GPpanel",e},_createImportMapBoxPanelHeaderElement:function(){var e=this,t=document.createElement("div");t.className="GPpanelHeader";var o=document.createElement("div");o.id=this._addUID("GPimportMapBoxPanelReturnPicto"),o.title="Masquer le panneau",o.className="",o.addEventListener?o.addEventListener("click",(function(t){e._onMapBoxReturnPictoClick(t)})):o.attachEvent&&o.attachEvent("onclick",(function(t){e._onMapBoxReturnPictoClick(t)})),t.appendChild(o);var r=document.createElement("div");r.className="GPpanelTitle",r.innerHTML="Edition des styles",r.title="Edition des styles",t.appendChild(r);var n=document.createElement("div");return n.addEventListener?n.addEventListener("click",(function(){document.getElementById(e._addUID("GPimportMapBoxPanel")).style.display="none",document.getElementById(e._addUID("GPimportPanel")).style.display="",e._onMapBoxPanelClose()})):n.attachEvent&&n.attachEvent("click",(function(){document.getElementById(e._addUID("GPimportMapBoxPanel")).style.display="none",document.getElementById(e._addUID("GPimportPanel")).style.display="",e._onMapBoxPanelClose()})),n.className="GPpanelClose",n.title="Fermer le panneau",n.id=this._addUID("GPimportMapBoxPanelClose"),t.appendChild(n),t},_createImportMapBoxResultsContainer:function(){var e=document.createElement("div");return e.className="GPimportMapBoxpRoot",e.id=this._addUID("GPimportMapBoxResults"),e}};t.default=n},"./node_modules/geoportal-extensions-openlayers/src/Common/Controls/LayerSwitcherDOM.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/sortablejs/modular/sortable.esm.js"),n={_createDraggableElement:function(e,t){navigator.userAgent.match(/chrome|chromium|crios/i)?r.default.create(e,{handle:".GPlayerName",draggable:".draggable-layer",ghostClass:"GPghostLayer",animation:200,forceFallback:!0,onEnd:function(e){t._onDragAndDropLayerClick(e)}}):r.default.create(e,{handle:".GPlayerName",draggable:".draggable-layer",ghostClass:"GPghostLayer",animation:200,onEnd:function(e){t._onDragAndDropLayerClick(e)}})},_addUID:function(e){return this._uid?e+"-"+this._uid:e},_createMainContainerElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPlayerSwitcher"),e.className="GPwidget",e},_createMainLayersShowElement:function(){var e=document.createElement("input");return e.id=this._addUID("GPshowLayersList"),e.type="checkbox",e},_createMainLayersElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPlayersList"),e.className="GPpanel",e},_createMainPictoElement:function(){var e=this,t=document.createElement("label");t.id=this._addUID("GPshowLayersListPicto"),t.className="GPshowAdvancedToolPicto",t.htmlFor=this._addUID("GPshowLayersList"),t.title="Afficher/masquer le gestionnaire de couches";var o=document.createElement("span");o.id=this._addUID("GPshowLayersListOpen"),o.className="GPshowAdvancedToolOpen",o.addEventListener("click",(function(){if(document.getElementById(e._addUID("GPshowLayersList")).checked){for(var t=document.getElementsByClassName("GPlayerInfoOpened"),o=0;o<t.length;o++)t[o].className="GPlayerInfo";document.getElementById(e._addUID("GPlayerInfoPanel")).className="GPlayerInfoPanelClosed"}})),t.appendChild(o);var r=document.createElement("span");return r.addEventListener("click",(function(){if(document.getElementById(e._addUID("GPshowLayersList")).checked){for(var t=document.getElementsByClassName("GPlayerInfoOpened"),o=0;o<t.length;o++)t[o].className="GPlayerInfo";document.getElementById(e._addUID("GPlayerInfoPanel")).className="GPlayerInfoPanelClosed"}})),r.id=e._addUID("GPshowLayersListClose"),t.appendChild(r),t},_createMainInfoElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPlayerInfoPanel"),e.className="GPpanel GPlayerInfoPanelClosed",e},_createContainerLayerElement:function(e){var t=document.createElement("div");t.id=this._addUID("GPlayerSwitcher_ID_"+e.id),t.className="GPlayerSwitcher_layer draggable-layer",t.appendChild(this._createBasicToolElement(e));for(var o=this._createAdvancedToolShowElement(e),r=0;r<o.length;r++)t.appendChild(o[r]);return t.appendChild(this._createAdvancedToolElement(e)),t},_createBasicToolElement:function(e){var t=document.createElement("div");t.id=this._addUID("GPbasicTools_ID_"+e.id),t.className="GPlayerBasicTools",t.appendChild(this._createBasicToolNameElement(e));for(var o=this._createBasicToolVisibilityElement(e),r=0;r<o.length;r++)t.appendChild(o[r]);return t},_createBasicToolNameElement:function(e){var t=document.createElement("span");return t.id=this._addUID("GPname_ID_"+e.id),t.className="GPlayerName",t.title=e.description||e.title,t.innerHTML=e.title,t},_createBasicToolVisibilityElement:function(e){var t=[],o=void 0===e.visibility||e.visibility,r=this._addUID("GPvisibility_ID_"+e.id),n=document.createElement("input");n.id=r,n.type="checkbox",n.checked=o;var i=document.createElement("label");i.htmlFor=r,i.id=this._addUID("GPvisibilityPicto_ID_"+e.id),i.className="GPlayerVisibility",i.title="Afficher/masquer la couche";var s=this;return n.addEventListener?n.addEventListener("click",(function(e){s._onVisibilityLayerClick(e)})):n.attachEvent&&n.attachEvent("onclick",(function(e){s._onVisibilityLayerClick(e)})),t.push(n),t.push(i),t},_createAdvancedToolShowElement:function(e){var t=[],o=document.createElement("label");o.id=this._addUID("GPshowAdvancedToolsPicto_ID_"+e.id),o.htmlFor=this._addUID("GPshowAdvancedTools_ID_"+e.id),o.title="Plus d'outils",o.className="GPshowMoreOptions GPshowLayerAdvancedTools";var r=document.createElement("input");return r.type="checkbox",r.id=this._addUID("GPshowAdvancedTools_ID_"+e.id),t.push(r),t.push(o),t},_createAdvancedToolElement:function(e){var t=document.createElement("div");if(t.id=this._addUID("GPadvancedTools_ID_"+e.id),t.className="GPlayerAdvancedTools",t.appendChild(this._createAdvancedToolDeleteElement(e)),e.title&&e.description&&t.appendChild(this._createAdvancedToolInformationElement(e)),"feature"!==e.type)for(var o=this._createAdvancedToolOpacityElement(e),r=0;r<o.length;r++)t.appendChild(o[r]);return t},_createAdvancedToolDeleteElement:function(e){var t=document.createElement("div");t.id=this._addUID("GPremove_ID_"+e.id),t.className="GPlayerRemove",t.title="Supprimer la couche",t.layerId=e.id;var o=this;return t.addEventListener?t.addEventListener("click",(function(e){o._onDropLayerClick(e)})):t.attachEvent&&t.attachEvent("onclick",(function(e){o._onDropLayerClick(e)})),t},_createAdvancedToolInformationElement:function(e){var t=document.createElement("div");t.id=this._addUID("GPinfo_ID_"+e.id),t.className="GPlayerInfo",t.title="Informations/légende",t.layerId=e.id;var o=this;return t.addEventListener?t.addEventListener("click",(function(e){o._onOpenLayerInfoClick(e)})):t.attachEvent&&t.attachEvent("onclick",(function(e){o._onOpenLayerInfoClick(e)})),t},_createAdvancedToolOpacityElement:function(e){var t=[],o=document.createElement("div");o.id=this._addUID("GPopacity_ID_"+e.id),o.className="GPlayerOpacity",o.title="Opacité";var r=void 0!==e.opacity?e.opacity:1;r=Math.round(100*r);var n=document.createElement("input");n.id=this._addUID("GPopacityValueDiv_ID_"+e.id),n.type="range",n.value=r;var i=this;n.addEventListener?n.addEventListener("change",(function(e){i._onChangeLayerOpacity(e)})):n.attachEvent&&n.attachEvent("onchange",(function(e){i._onChangeLayerOpacity(e)})),n.addEventListener?n.addEventListener("input",(function(e){i._onChangeLayerOpacity(e)})):n.attachEvent&&n.attachEvent("oninput",(function(e){i._onChangeLayerOpacity(e)})),o.appendChild(n);var s=document.createElement("div");s.id=this._addUID("GPopacityValueDiv_ID_"+e.id),s.className="GPlayerOpacityValue";var a=document.createElement("span");return a.id=this._addUID("GPopacityValue_ID_"+e.id),a.innerHTML=r+"%",s.appendChild(a),t.push(o),t.push(s),t},_createContainerLayerInfoElement:function(e){var t=document.createElement("div");t.id=this._addUID("GPlayerInfoContent");var o=document.createElement("div");if(o.id=this._addUID("GPlayerInfoTitle"),o.innerHTML=e.title,t.appendChild(o),e.quicklookUrl){var r=document.createElement("div");r.id=this._addUID("GPlayerInfoQuicklook"),r.title="Afficher un aperçu de la couche";var n=document.createElement("a");n.href=e.quicklookUrl,n.appendChild(r),t.appendChild(n)}var i=document.createElement("div");i.id=this._addUID("GPlayerInfoClose"),i.title="Fermer la fenêtre";var s=this,a=function(){document.getElementById(s._addUID("GPlayerInfoPanel")).className="GPlayerInfoPanelClosed";for(var e=document.getElementsByClassName("GPlayerInfoOpened"),t=0;t<e.length;t++)e[t].className="GPlayerInfo"};i.addEventListener?i.addEventListener("click",a):i.attachEvent&&i.attachEvent("onclick",a),t.appendChild(i);var l=document.createElement("div");if(l.id=this._addUID("GPlayerInfoDescription"),l.innerHTML=e.description,t.appendChild(l),e.metadata){var u=document.createElement("div");u.id=this._addUID("GPlayerInfoMetadata");var c=document.createElement("div");c.className="GPlayerInfoSubtitle",c.innerHTML="Métadonnées",u.appendChild(c);for(var d=0;d<e.metadata.length;d++){var p=e.metadata[d].url,h=document.createElement("div");h.className="GPlayerInfoLink";var f=document.createElement("a");f.href=p,f.innerHTML=p,h.appendChild(f),u.appendChild(h)}0!==e.metadata.length&&t.appendChild(u)}if(e.legends){var m=document.createElement("div");m.id=this._addUID("GPlayerInfoLegend");var g=document.createElement("div");g.className="GPlayerInfoSubtitle",g.innerHTML="Légende",m.appendChild(g);for(var y={},v=e.maxScaleDenominator||56e7,_=0;_<e.legends.length;_++){var b=e.legends[_].minScaleDenominator;if(b){var A=b.toString();b=Math.round(parseInt(A.substring(0,3),10)/10)*Math.pow(10,A.length-2)}else b=270;y[b]=e.legends[_]}for(var C in y)if(y.hasOwnProperty(C)){var E=y[C].url;if("string"==typeof E&&-1===E.toLowerCase().indexOf("nolegend.jpg")){var S=document.createElement("div");S.className="GPlayerInfoLink",v=y[C].maxScaleDenominator||v;var w=document.createElement("a");w.href=E,w.innerHTML="Du 1/"+C+" au 1/"+v,S.appendChild(w),m.appendChild(S)}else delete y[C]}0!==Object.keys(y).length&&t.appendChild(m)}return t}};t.default=n},"./node_modules/geoportal-extensions-openlayers/src/Common/Controls/LocationSelectorDOM.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js"),n=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),i=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/GeocodeUtils.js"),s=n.default.getLogger("LocationSelectorDOM"),a={_addUID:function(e){return this._uid?e+"-"+this._uid:e},_createMainContainerElement:function(){var e=document.createElement("div");return e.className=this._addUID("GPlocationPoint"),e.className+=" GPwidget",e},_createLocationPointElement:function(e,t){var o=document.createElement("div");return o.id=this._addUID("GPlocationPoint_"+e),o.className=t?"GPflexInput GPlocationStageFlexInput":"GPflexInput GPlocationStageFlexInputHidden",o.style.cssText="",o},_createLocationPointLabelElement:function(e,t){var o=this,n=document.createElement("label");return n.id=this._addUID("GPlocationOriginLabel_"+e),n.htmlFor=this._addUID("GPlocationOrigin_"+e),n.innerHTML=t,n.addEventListener("click",(function(e){for(var t=r.default.index(this.id),n=document.getElementsByClassName(o._addUID("GPlocationPoint")),i=0;i<n.length;i++){var s=n[i].childNodes[0].id,a=r.default.index(s);document.getElementById(o._addUID("GPlocationPoint_"+a)).style.cssText=""}document.getElementById(o._addUID("GPlocationOriginCoords_"+t)).value="",document.getElementById(o._addUID("GPlocationOrigin_"+t)).value="",document.getElementById(o._addUID("GPlocationPoint_"+t)).style.cssText="",document.getElementById(o._addUID("GPlocationOriginPointer_"+t)).checked=!1,document.getElementById(o._addUID("GPlocationOrigin_"+t)).className="GPlocationOriginVisible",document.getElementById(o._addUID("GPlocationOriginCoords_"+t)).className="GPlocationOriginHidden",document.getElementById(o._addUID("GPlocationStageRemove_"+t))&&(document.getElementById(o._addUID("GPlocationStageRemove_"+t)).className="GPlocationStageRemove"),document.getElementById(o._addUID("GPlocationStageAdd"))&&(document.getElementById(o._addUID("GPlocationStageAdd")).className=""),o.onLocationClearPointClick(e)})),n},_createLocationAutoCompleteteInputElement:function(e){var t=this,o=document.createElement("input");return o.id=this._addUID("GPlocationOrigin_"+e),o.className="GPlocationOriginVisible",o.type="text",o.placeholder="Saisir une adresse",o.autocomplete="off",o.addEventListener("keyup",(function(e){var o=e.which||e.keyCode;if(13!==o&&10!==o&&38!==o&&40!==o){var n=r.default.index(this.id);document.getElementById(t._addUID("GPlocationOrigin_"+n)).value.length>2?document.getElementById(t._addUID("GPlocationAutoCompleteList_"+n)).style.display="block":document.getElementById(t._addUID("GPlocationAutoCompleteList_"+n)).style.display="none",t.onAutoCompleteSearchText(e)}})),o.addEventListener("keydown",(function(o){var n=o.which||o.keyCode,i=document.getElementById(t._addUID("GPlocationAutoCompleteList_"+e));if(i){var a=i.getElementsByClassName("GPautoCompleteProposal current"),l=i.getElementsByClassName("GPautoCompleteProposal"),u=l.length;if(u){var c=null;if(!a.length)return(c=l[0]).className="GPautoCompleteProposal current",c.style.color="#000000",void(c.style["background-color"]="#CEDBEF");c=a[0];var d=parseInt(r.default.index(c.id),10),p=d===u-1?l[0]:l[d+1],h=0===d?l[u-1]:l[d-1];switch(c.style["background-color"]="",c.style.color="",h.style["background-color"]="",h.style.color="",p.style["background-color"]="",p.style.color="",n){case 38:s.log("arrow up"),c.className="GPautoCompleteProposal",h.className="GPautoCompleteProposal current",h.style.color="#000000",h.style["background-color"]="#CEDBEF";break;case 40:s.log("arrow down"),c.className="GPautoCompleteProposal",p.className="GPautoCompleteProposal current",p.style.color="#000000",p.style["background-color"]="#CEDBEF";break;case 13:s.log("enter"),c.click(o)}c.focus()}}})),o},_createLocationCoordinateInputElement:function(e){var t=this,o=document.createElement("input");return o.id=this._addUID("GPlocationOriginCoords_"+e),o.className="GPlocationOriginHidden",o.type="text",o.disabled=!1,o.addEventListener("click",(function(){var e=r.default.index(this.id);document.getElementById(t._addUID("GPlocationOriginLabel_"+e)).click()})),o},_createLocationPointerShowInputElement:function(e){var t=document.createElement("input");return t.id=this._addUID("GPlocationOriginPointer_"+e),t.type="checkbox",t},_createLocationPointerInputElement:function(e){var t=this,o=document.createElement("label");return o.id=this._addUID("GPlocationOriginPointerImg_"+e),o.htmlFor=this._addUID("GPlocationOriginPointer_"+e),o.className="GPlocationOriginPointerImg",o.title="Pointer un lieu sur la carte",o.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation();var o,n,i,s=r.default.index(this.id),a=document.getElementsByClassName(t._addUID("GPlocationPoint"));for(o=0;o<a.length;o++)n=a[o].childNodes[0].id,s!==(i=r.default.index(n))&&(document.getElementById(t._addUID("GPlocationOriginPointer_"+i)).checked=!1,"Pointer un lieu sur la carte"===document.getElementById(t._addUID("GPlocationOriginCoords_"+i)).value&&(document.getElementById(t._addUID("GPlocationOriginCoords_"+i)).value="",document.getElementById(t._addUID("GPlocationOrigin_"+i)).className="GPlocationOriginVisible",document.getElementById(t._addUID("GPlocationOriginCoords_"+i)).className="GPlocationOriginHidden"));if(document.getElementById(t._addUID("GPlocationOriginPointer_"+s)).checked){for(document.getElementById(t._addUID("GPlocationOriginCoords_"+s)).value="",o=0;o<a.length;o++)n=a[o].childNodes[0].id,i=r.default.index(n),document.getElementById(t._addUID("GPlocationPoint_"+i)).style.cssText="";document.getElementById(t._addUID("GPlocationStageRemove_"+s))&&(document.getElementById(t._addUID("GPlocationStageRemove_"+s)).className="GPlocationStageRemove"),document.getElementById(t._addUID("GPlocationStageAdd"))&&(document.getElementById(t._addUID("GPlocationStageAdd")).className=""),document.getElementById(t._addUID("GPlocationOriginPointer_"+s)).checked=!1,document.getElementById(t._addUID("GPlocationOrigin_"+s)).className="GPlocationOriginVisible",document.getElementById(t._addUID("GPlocationOriginCoords_"+s)).className="GPlocationOriginHidden"}else{for(document.getElementById(t._addUID("GPlocationOriginCoords_"+s)).value="Pointer un lieu sur la carte",o=0;o<a.length;o++)n=a[o].childNodes[0].id,s===(i=r.default.index(n))?document.getElementById(t._addUID("GPlocationPoint_"+i)).style.cssText="":document.getElementById(t._addUID("GPlocationPoint_"+i)).style.display="none";document.getElementById(t._addUID("GPlocationStageRemove_"+s))&&(document.getElementById(t._addUID("GPlocationStageRemove_"+s)).className="GPlocationOriginHidden"),document.getElementById(t._addUID("GPlocationStageAdd"))&&(document.getElementById(t._addUID("GPlocationStageAdd")).className="GPlocationOriginHidden"),document.getElementById(t._addUID("GPlocationOriginPointer_"+s)).checked=!0,document.getElementById(t._addUID("GPlocationOrigin_"+s)).className="GPlocationOriginHidden",document.getElementById(t._addUID("GPlocationOriginCoords_"+s)).className="GPlocationOriginVisible",document.getElementById(t._addUID("GPlocationOriginCoords_"+s)).disabled=!0}t.onActivateMapPointClick(e)})),o},_createLocationRemovePointElement:function(e){var t=this,o=document.createElement("div");return o.id=this._addUID("GPlocationStageRemove_"+e),o.className="GPlocationStageRemove",o.title="Supprimer l'étape",o.addEventListener("click",(function(o){var n=document.getElementsByClassName(t._addUID("GPlocationPoint")),i=n.length-1,s=n[0].childNodes[0].id,a=n[i].childNodes[0].id,l=r.default.index(s),u=r.default.index(a);if(e!==l&&e!==u){var c=r.default.index(this.id);document.getElementById(t._addUID("GPlocationPoint_"+c)).className="GPflexInput GPlocationStageFlexInputHidden",document.getElementById(t._addUID("GPlocationOrigin_"+c)).value="",document.getElementById(t._addUID("GPlocationOrigin_"+c)).className="GPlocationOriginVisible",document.getElementById(t._addUID("GPlocationOriginCoords_"+c)).value="",document.getElementById(t._addUID("GPlocationOriginCoords_"+c)).className="GPlocationOriginHidden",document.getElementById(t._addUID("GPlocationStageAdd")).style.display="",t.onLocationRemovePointClick(o)}})),o},_createLocationAddPointElement:function(){var e=this,t=document.createElement("div");return t.id=this._addUID("GPlocationStageAdd"),t.title="Ajouter une étape",t.addEventListener("click",(function(t){for(var o=1,n=0,i=document.getElementsByClassName(e._addUID("GPlocationPoint")),s=1;s<i.length-1;s++){var a=i[s].childNodes[0].id,l=r.default.index(a);document.getElementById(e._addUID("GPlocationPoint_"+l))&&("GPflexInput GPlocationStageFlexInputHidden"===document.getElementById(e._addUID("GPlocationPoint_"+l)).className?1===o&&(o=l):n++)}o<i.length&&(document.getElementById(e._addUID("GPlocationPoint_"+o)).className="GPflexInput GPlocationStageFlexInput"),4===n&&(document.getElementById(e._addUID("GPlocationStageAdd")).style.display="none"),e.onLocationAddPointClick(t)})),t},_createLocationAutoCompleteResultElement:function(e){var t=this,o=document.createElement("div");return o.id=this._addUID("GPlocationAutoCompleteList_"+e),o.className="GPadvancedAutoCompleteList",o.addEventListener?o.addEventListener("click",(function(o){t.onAutoCompletedResultsItemClick(o),document.getElementById(t._addUID("GPlocationAutoCompleteList_"+e)).style.display="none"}),!1):o.attachEvent&&o.attachEvent("onclick",(function(o){t.onAutoCompletedResultsItemClick(o),document.getElementById(t._addUID("GPlocationAutoCompleteList_"+e)).style.display="none"})),o},_createLocationAutoCompletedLocationElement:function(e,t,o){var r=document.getElementById(this._addUID("GPlocationAutoCompleteList_"+e)),n=document.createElement("div");n.id=this._addUID("AutoCompletedLocation_"+o),n.className="GPautoCompleteProposal",n.innerHTML=i.default.getSuggestedLocationFreeform(t),r.appendChild(n)},GPdisplayCoordinate:function(e){for(var t=document.getElementsByClassName(this._addUID("GPlocationPoint")),o=0;o<t.length;o++){var n=t[o].childNodes[0].id,i=r.default.index(n);if(document.getElementById(this._addUID("GPlocationOriginPointer_"+i)).checked){document.getElementById(this._addUID("GPlocationOriginCoords_"+i)).value=e,document.getElementById(this._addUID("GPlocationOriginCoords_"+i)).disabled=!1;for(var s=0;s<t.length;s++){n=t[s].childNodes[0].id;var a=r.default.index(n);document.getElementById(this._addUID("GPlocationPoint_"+a)).style.cssText="",document.getElementById(this._addUID("GPlocationStageRemove_"+a))&&(document.getElementById(this._addUID("GPlocationStageRemove_"+a)).className="GPlocationStageRemove")}return document.getElementById(this._addUID("GPlocationOriginPointer_"+i)).checked=!1,void(document.getElementById(this._addUID("GPlocationStageAdd"))&&(document.getElementById(this._addUID("GPlocationStageAdd")).className=""))}}}};t.default=a},"./node_modules/geoportal-extensions-openlayers/src/Common/Controls/MeasureAreaDOM.js":function(e,t,o){"use strict";o.r(t);var r={_addUID:function(e){return this._uid?e+"-"+this._uid:e},_createMainContainerElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPmeasureArea"),e.className="GPwidget",e},_createShowMeasureAreaElement:function(){var e=document.createElement("input");return e.id=this._addUID("GPshowMeasureArea"),e.type="checkbox",e},_createShowMeasureAreaPictoElement:function(){var e=this,t=document.createElement("label");t.id=this._addUID("GPshowMeasureAreaPicto"),t.className="GPshowAdvancedToolPicto",t.htmlFor=this._addUID("GPshowMeasureArea"),t.title="Mesurer une surface",t.addEventListener?t.addEventListener("click",(function(t){e.onShowMeasureAreaClick(t)})):t.attachEvent&&t.attachEvent("onclick",(function(t){e.onShowMeasureAreaClick(t)}));var o=document.createElement("span");return o.id=this._addUID("GPshowMeasureAreaOpen"),o.className="GPshowAdvancedToolOpen",t.appendChild(o),t}};t.default=r},"./node_modules/geoportal-extensions-openlayers/src/Common/Controls/MeasureAzimuthDOM.js":function(e,t,o){"use strict";o.r(t);var r={_addUID:function(e){return this._uid?e+"-"+this._uid:e},_createMainContainerElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPmeasureAzimuth"),e.className="GPwidget",e},_createShowMeasureAzimuthElement:function(){var e=document.createElement("input");return e.id=this._addUID("GPshowMeasureAzimuth"),e.type="checkbox",e},_createShowMeasureAzimuthPictoElement:function(){var e=this,t=document.createElement("label");t.id=this._addUID("GPshowMeasureAzimuthPicto"),t.className="GPshowAdvancedToolPicto",t.htmlFor=this._addUID("GPshowMeasureAzimuth"),t.title="Mesurer un azimut",t.addEventListener?t.addEventListener("click",(function(t){e.onShowMeasureAzimuthClick(t)})):t.attachEvent&&t.attachEvent("onclick",(function(t){e.onShowMeasureAzimuthClick(t)}));var o=document.createElement("span");return o.id=this._addUID("GPshowMeasureAzimuthOpen"),o.className="GPshowAdvancedToolOpen",t.appendChild(o),t}};t.default=r},"./node_modules/geoportal-extensions-openlayers/src/Common/Controls/MeasureLengthDOM.js":function(e,t,o){"use strict";o.r(t);var r={_addUID:function(e){return this._uid?e+"-"+this._uid:e},_createMainContainerElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPmeasureLength"),e.className="GPwidget",e},_createShowMeasureLengthElement:function(){var e=document.createElement("input");return e.id=this._addUID("GPshowMeasureLength"),e.type="checkbox",e},_createShowMeasureLengthPictoElement:function(){var e=this,t=document.createElement("label");t.id=this._addUID("GPshowMeasureLengthPicto"),t.className="GPshowAdvancedToolPicto",t.htmlFor=this._addUID("GPshowMeasureLength"),t.title="Mesurer une distance",t.addEventListener?t.addEventListener("click",(function(t){e.onShowMeasureLengthClick(t)})):t.attachEvent&&t.attachEvent("onclick",(function(t){e.onShowMeasureLengthClick(t)}));var o=document.createElement("span");return o.id=this._addUID("GPshowMeasureLengthOpen"),o.className="GPshowAdvancedToolOpen",t.appendChild(o),t}};t.default=r},"./node_modules/geoportal-extensions-openlayers/src/Common/Controls/MeasureToolBoxDOM.js":function(e,t,o){"use strict";o.r(t);var r={_toolboxId:"GPtoolbox-measure-main",_buttonId:"GPtoolbox-measure-button",_widgetId:"GPtoolbox-measure-widget",getToolBoxID:function(e){return e?this._toolboxId+"-"+e:this._toolboxId},getButtonID:function(e){return e?this._buttonId+"-"+e:this._buttonId},getWidgetID:function(e){return e?this._widgetId+"-"+e:this._widgetId},_createToolBoxContainerElement:function(e){var t=document.createElement("div");t.id=this.getToolBoxID(e),t.className="GPshowAdvancedToolPicto";var o=document.createElement("button");o.id=this.getButtonID(e);var r=this;o.addEventListener("click",(function(){this.blur();var t=document.getElementById(r.getWidgetID(e));"block"===t.style.display?t.style.display="none":t.style.display="block"})),t.appendChild(o);var n=document.createElement("div");return n.id=this.getWidgetID(e),n.addEventListener("click",(function(){}),!1),t.appendChild(n),t}};t.default=r},"./node_modules/geoportal-extensions-openlayers/src/Common/Controls/MousePositionDOM.js":function(e,t,o){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}o.r(t);var n={_addUID:function(e){return this._uid?e+"-"+this._uid:e},_createMainContainerElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPmousePosition"),e.className="GPwidget",e},_createShowMousePositionElement:function(){var e=document.createElement("input");return e.id=this._addUID("GPshowMousePosition"),e.type="checkbox",e},_createShowMousePositionPictoElement:function(e){var t=this,o=document.createElement("label");o.id=this._addUID("GPshowMousePositionPicto"),o.className="GPshowAdvancedToolPicto",o.htmlFor=this._addUID("GPshowMousePosition"),o.title="Afficher les coordonnées du curseur",o.addEventListener("click",(function(o){var r="";document.getElementById(t._addUID("GPshowMousePosition")).checked||e||(r="GPmapCenterVisible"),document.getElementById("GPmapCenter").className=r,t.onShowMousePositionClick(o)}));var r=document.createElement("span");return r.id=this._addUID("GPshowMousePositionOpen"),r.className="GPshowAdvancedToolOpen",o.appendChild(r),o},_createMousePositionPanelElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPmousePositionPanel"),e.className="GPpanel",e},_createMapCenter:function(){var e=document.createElement("div");return e.id="GPmapCenter",e.className="",e},_createMousePositionPanelHeaderElement:function(){var e=document.createElement("div");e.className="GPpanelHeader";var t=document.createElement("div");t.className="GPpanelTitle",t.innerHTML="Coordonnées",e.appendChild(t);var o=document.createElement("div");o.id="GPmousePositionPanelClose",o.className="GPpanelClose",o.title="Fermer le panneau";var r=this;return o.addEventListener?o.addEventListener("click",(function(){document.getElementById(r._addUID("GPshowMousePositionPicto")).click()}),!1):o.attachEvent&&o.attachEvent("onclick",(function(){document.getElementById(r._addUID("GPshowMousePositionPicto")).click()})),e.appendChild(o),e},_createMousePositionPanelBasicElement:function(e,t,o,r){e=void 0===e||e,t=void 0===t||t,o=void 0!==o&&o;var n=document.createElement("div");return n.id=this._addUID("GPmousePositionBasicPanel"),n.appendChild(this._createMousePositionPanelBasicCoordinateElement(t,o,r)),n.appendChild(this._createMousePositionPanelEditToolsElement(o)),n.appendChild(this._createMousePositionPanelBasicAltitudeElement(e)),n},_createCoordinateElement:function(e,t){var o=this;if(-1===["Lon","Lat"].indexOf(e))return[];var r=[],n=document.createElement("input");n.id=this._addUID("GPmousePosition"+e),n.title=!0===t?"Cliquer pour saisir des coordonnées":"",n.readOnly=!0,t&&(n.addEventListener("click",(function(){o.onMousePositionEditModeClick(!0)})),n.addEventListener("change",(function(t){this.classList.remove("error"),o.validateExtentCoordinate(e,this.value,t)?this.classList.remove("error"):this.classList.add("error")}))),r.push(n);var i=document.createElement("span");return i.className="GPmousePositionUnits",r.push(i),r},_createDMSCoordinateElement:function(e,t){if(-1===["Lon","Lat"].indexOf(e))return[];var o=this,r=[],n=document.createElement("input");n.id=this._addUID("GPmousePosition"+e+"Degrees"),n.className="GPSexagesimal",n.setAttribute("name","degrees"),n.title=!0===t?"Cliquer pour saisir des coordonnées":"",n.readOnly=!0,n.dataset.min=0,n.dataset.max="Lon"===e?180:90,t&&(n.addEventListener("click",(function(){o.onMousePositionEditModeClick(!0)})),n.addEventListener("change",(function(){this.classList.remove("error"),o._checkDMSDegrees(e,this)?this.classList.remove("error"):this.classList.add("error")}))),r.push(n);var i=document.createElement("span");i.className="GPmousePositionSexagesimalLabel",i.innerHTML="°",r.push(i);var s=document.createElement("input");s.id=this._addUID("GPmousePosition"+e+"Minutes"),s.className="GPSexagesimal",s.setAttribute("name","minutes"),s.title=!0===t?"Cliquer pour saisir des coordonnées":"",s.readOnly=!0,s.dataset.min=0,s.dataset.max=59,t&&(s.addEventListener("click",(function(){o.onMousePositionEditModeClick(!0)})),s.addEventListener("change",(function(){this.classList.remove("error"),o._checkDMSElement(this)?this.classList.remove("error"):this.classList.add("error")}))),r.push(s);var a=document.createElement("span");a.className="GPmousePositionSexagesimalLabel",a.innerHTML="'",r.push(a);var l=document.createElement("input");l.id=this._addUID("GPmousePosition"+e+"Seconds"),l.className="GPSexagesimalsec",l.setAttribute("name","seconds"),l.title=!0===t?"Cliquer pour saisir des coordonnées":"",l.readOnly=!0,l.dataset.min=0,l.dataset.max=59,t&&(l.addEventListener("click",(function(){o.onMousePositionEditModeClick(!0)})),l.addEventListener("change",(function(){this.classList.remove("error"),o._checkDMSElement(this,!0)?this.classList.remove("error"):this.classList.add("error")}))),r.push(l);var u=document.createElement("span");u.className="GPmousePositionSexagesimalLabel",u.innerHTML="''",r.push(u);var c=document.createElement("select");c.id=this._addUID("GPmousePosition"+e+"Direction"),c.className="GPmousePositionDirection",c.setAttribute("name","direction"),c.disabled=!0;var d=document.createElement("option");d.value="Lon"===e?"E":"N",d.innerHTML="Lon"===e?"E":"N",c.appendChild(d);var p=document.createElement("option");return p.value="Lon"===e?"O":"S",p.innerHTML="Lon"===e?"O":"S",c.appendChild(p),r.push(c),r},_createMousePositionPanelBasicCoordinateElement:function(e,t,o){var r=document.createElement("div");r.id=this._addUID("GPmousePositionCoordinate"),r.style.display=e?"block":"none";var n=document.createElement("div"),i=document.createElement("span");i.className="GPmousePositionLabel",i.id=this._addUID("GPmousePositionLatLabel"),i.innerHTML="Latitude : ",n.appendChild(i);var s,a=document.createElement("span");a.id=this._addUID("GPmousePositionLatCoordinate"),s="DMS"===o?this._createDMSCoordinateElement("Lat",t):this._createCoordinateElement("Lat",t);for(var l=0;l<s.length;l++)a.appendChild(s[l]);n.appendChild(a),r.appendChild(n);var u=document.createElement("div"),c=document.createElement("span");c.className="GPmousePositionLabel",c.id=this._addUID("GPmousePositionLonLabel"),c.innerHTML="Longitude : ",u.appendChild(c);var d,p=document.createElement("span");p.id=this._addUID("GPmousePositionLonCoordinate"),d="DMS"===o?this._createDMSCoordinateElement("Lon",t):this._createCoordinateElement("Lon",t);for(var h=0;h<d.length;h++)p.appendChild(d[h]);return u.appendChild(p),r.appendChild(u),r},_createMousePositionPanelBasicAltitudeElement:function(e){var t=document.createElement("div");t.id=this._addUID("GPmousePositionAltitude"),t.style.display=e?"block":"none";var o=document.createElement("span");o.className="GPmousePositionLabel",o.innerHTML="Altitude : ",t.appendChild(o);var r=document.createElement("span");r.className="GPmousePositionCoords",r.id=this._addUID("GPmousePositionAlt"),r.innerHTML="...",t.appendChild(r);var n=document.createElement("span");return n.className="GPmousePositionAltitudeUnits",n.innerHTML="m",t.appendChild(n),t},_createMousePositionPanelEditToolsElement:function(e){var t=this,o=document.createElement("div");o.className="GPmousePositionPanelEditTools",o.id=this._addUID("GPmousePositionPanelEditTools"),e||(o.style.display="none");var r=document.createElement("span");r.className="GPmousePositionEditTool",r.id=this._addUID("GPmousePositionLocate"),r.title=!0===e?"Cliquer pour saisir des coordonnées":"",e&&r.addEventListener("click",(function(){t.onMousePositionEditModeLocateClick()})),o.appendChild(r);var n=document.createElement("span");return n.className="GPmousePositionEditTool",n.id=this._addUID("GPmousePositionCloseEdit"),n.title="Quitter la saisie des coordonnées",n.style.display="none",e&&n.addEventListener("click",(function(){t.onMousePositionEditModeClick(!1)})),o.appendChild(n),o},_createShowMousePositionSettingsElement:function(e){var t=[],o=this,r=document.createElement("input");r.type="checkbox",r.id=this._addUID("GPshowMousePositionSettings");var n=document.createElement("label");return n.id=this._addUID("GPshowMousePositionSettingsPicto"),n.htmlFor=this._addUID("GPshowMousePositionSettings"),n.title="Réglages",n.className="GPshowMoreOptionsImage GPshowMoreOptions GPshowMousePositionSettingsPicto",n.style.display=e?"block":"none",n.addEventListener?n.addEventListener("click",(function(e){"function"==typeof o.onShowMousePositionSettingsClick&&o.onShowMousePositionSettingsClick(e)}),!1):n.attachEvent&&n.attachEvent("onclick",(function(e){"function"==typeof o.onShowMousePositionSettingsClick&&o.onShowMousePositionSettingsClick(e)})),t.push(r),t.push(n),t},_createMousePositionSettingsElement:function(e){var t=document.createElement("div");t.id=this._addUID("GPmousePositionSettings"),t.style.display=void 0===e||e?"block":"none";var o=document.createElement("span");return o.className="GPmousePositionSettingsLabel",o.innerHTML="Système de référence",t.appendChild(o),t},_createMousePositionSettingsSystemsElement:function(e){var t=this,o=document.createElement("select");o.id=this._addUID("GPmousePositionProjectionSystem"),o.className="GPinputSelect GPmousePositionSettingsSelect",o.addEventListener("change",(function(e){t.onMousePositionProjectionSystemChange(e)})),o.addEventListener("mouseover",(function(e){"OPTION"!==e.target.nodeName&&t.onMousePositionProjectionSystemMouseOver(e)}));for(var r=0;r<e.length;r++){var n=e[r],i=document.createElement("option");i.value=n.code,i.text=n.label||r,o.appendChild(i)}return o},_createMousePositionSettingsUnitsElement:function(e){var t=this,o=document.createElement("select");o.id=this._addUID("GPmousePositionProjectionUnits"),o.className="GPinputSelect GPmousePositionSettingsSelect",o.addEventListener("change",(function(e){t.onMousePositionProjectionUnitsChange(e)}));for(var r=0;r<e.length;r++){var n=e[r],i=document.createElement("option");i.value=n.code?n.code:r,i.text=n.label||r,o.appendChild(i)}return o},_resetLabelElements:function(e){document.getElementById(this._addUID("GPmousePositionLatLabel")).innerHTML="Geographical"===e?"Latitude :":"X :",document.getElementById(this._addUID("GPmousePositionLonLabel")).innerHTML="Geographical"===e?"Longitude :":"Y :"},_resetUnitElements:function(e){var t="";"M"!==e&&"KM"!==e||(t=e.toLowerCase());for(var o=document.getElementsByClassName("GPmousePositionUnits"),r=0;r<o.length;r++)o[r].innerHTML=t},_resetCoordinateElements:function(e,t,o){for(var r,n=document.getElementById(this._addUID("GPmousePositionLatCoordinate"));n.firstChild;)n.removeChild(n.firstChild);r="DMS"===o?this._createDMSCoordinateElement("Lat",e):this._createCoordinateElement("Lat",e);for(var i=0;i<r.length;i++)n.appendChild(r[i]);for(var s,a=document.getElementById(this._addUID("GPmousePositionLonCoordinate"));a.firstChild;)a.removeChild(a.firstChild);s="DMS"===o?this._createDMSCoordinateElement("Lon",e):this._createCoordinateElement("Lon",e);for(var l=0;l<s.length;l++)a.appendChild(s[l])},_setEditMode:function(e){document.getElementById(this._addUID("GPmousePositionLocate")).title=e?"Aller à la position ...":"Cliquer pour saisir des coordonnées",document.getElementById(this._addUID("GPmousePositionCloseEdit")).style.display=e?"inline-block":"none";for(var t="div[id^="+this._addUID("GPmousePositionCoordinate")+"]",o=document.querySelectorAll(t+" input"),r=0;r<o.length;r++)o[r].readOnly=!e,e&&(o[r].value="",o[r].classList.remove("error"));for(var n=document.querySelectorAll(t+" select"),i=0;i<n.length;i++)n[i].disabled=!e},_checkDMSElement:function(e,t){var o=void 0!==t,r=e.value;if(o&&(r=r.replace(",",".")),isNaN(r))return!1;var n=parseFloat(r);if(!o&&(0|n)!==n)return!1;var i=Number(e.dataset.min),s=Number(e.dataset.max);return n>=i&&n<=s},_checkDMSDegrees:function(e,t){if(isNaN(t.value))return!1;var o=parseFloat(t.value);if((0|o)!==o)return!1;var r=Number(t.dataset.min),n=Number(t.dataset.max);if(o<r||o>n)return!1;var i=document.getElementById(this._addUID("GPmousePosition"+e+"Minutes")),s=document.getElementById(this._addUID("GPmousePosition"+e+"Seconds"));return o>=n?(i.dataset.max=0,s.dataset.max=0):(i.dataset.max=59,s.dataset.max=59.9999),!0},GPdisplayCoords:function(e){if(e){var t=document.getElementById(this._addUID("GPmousePositionLonLabel")),o=document.getElementById(this._addUID("GPmousePositionLatLabel"));if(e.x||e.y?(o.innerHTML="X : ",t.innerHTML="Y : "):e.e||e.n?(o.innerHTML="E : ",t.innerHTML="N : "):(o.innerHTML="Latitude : ",t.innerHTML="Longitude : "),"object"===r(e.lat)&&"object"===r(e.lng)){var n={lng:"Lon",lat:"Lat"},i=["Degrees","Minutes","Seconds"];for(var s in n)for(var a=0;a<i.length;++a){var l="GPmousePosition"+n[s]+i[a],u=document.getElementById(this._addUID(l)),c=i[a].charAt(0).toLowerCase();u.value=e[s][c]}document.getElementById(this._addUID("GPmousePositionLonDirection")).value=e.lng.direction,document.getElementById(this._addUID("GPmousePositionLatDirection")).value=e.lat.direction}else{var d=document.getElementById(this._addUID("GPmousePositionLat")),p=document.getElementById(this._addUID("GPmousePositionLon"));d.value=e.x||e.lat||e.e||"0",p.value=e.y||e.lng||e.lon||e.n||"0";for(var h=void 0===e.unit?"":e.unit,f=document.getElementsByClassName("GPmousePositionUnits"),m=0;m<f.length;++m)f[m].innerHTML=h}}},GPdisplayElevation:function(e,t,o,r){var n,i=this;t||(t=500),clearTimeout(n),document.getElementById(this._addUID("GPmousePositionAlt")).innerHTML="...",null==o&&(o=-99999),null==r&&(r=99980);var s=o+r,a=o-r;e&&document.getElementById(this._addUID("GPmousePositionAltitude"))&&(n=setTimeout((function(){i.onRequestAltitude(e,(function(e){a<e&&e<s?i.GPresetElevation():document.getElementById(i._addUID("GPmousePositionAlt")).innerHTML=e}))}),t))},GPresetElevation:function(){document.getElementById(this._addUID("GPmousePositionAltitude"))&&(document.getElementById(this._addUID("GPmousePositionAlt")).innerHTML="---")}};t.default=n},"./node_modules/geoportal-extensions-openlayers/src/Common/Controls/ProfileElevationPathDOM.js":function(e,t,o){"use strict";o.r(t);var r={_getCssProperty:function(e,t){return window.getComputedStyle(e,null).getPropertyValue(t)},_getTextWidth:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=(this.canvas||(this.canvas=document.createElement("canvas"))).getContext("2d");return r.font=null===o?"".concat(this._getCssProperty(t,"font-weight")," ").concat(this._getCssProperty(t,"font-size")," ").concat(this._getCssProperty(t,"font-family")):o,r.measureText(e).width},_dataZToSvgY:function(e,t,o,r){return t-(e-o)*r-.5},_dataDistToSvgX:function(e,t,o,r){return t-o+e*r},_svgXToDataDist:function(e,t,o,r){return(e+o-t)/r},_arrayBisect:function(e,t){var o;if(0===e.length)return 0;for(o=0;o<e.length;o++)if(t<e[o].dist)return o;return o-1},displayProfileByDefault:function(e,t,o,r){var n=o;if(t&&e){for(;t.firstChild;)t.removeChild(t.firstChild);var i=25,s=15,a=10,l=10,u=n.options.displayProfileOptions,c=e.points,d=JSON.parse(JSON.stringify(c));d.sort((function(e,t){return e.z-t.z}));var p=d[0].z,h=d[d.length-1].z,f=e.distance,m="m",g=document.createElement("div");g.id="profileElevationByDefault",t.appendChild(g);var y=window.getComputedStyle(t).getPropertyValue("width").replace(/px/,""),v=window.getComputedStyle(t).getPropertyValue("height").replace(/px/,""),_=v-i-a,b=y-l-s,A=17,C=this._getTextWidth(Math.round(h).toLocaleString()+",88",t,"400 10 Verdana"),E=this._getTextWidth(Math.round(f).toLocaleString()+",5",t),S=_-17-15,w=b-A-C,O=document.createElementNS("http://www.w3.org/2000/svg","svg");O.id="profileElevationByDefaultSvg",O.setAttribute("style","display: block; margin: auto; overflow: visible; position: absolute; left: 10px;"),O.setAttribute("viewBox","0 0 ".concat(y," ").concat(v)),O.setAttribute("width","100%"),O.setAttribute("height","100%");var I,x=Math.floor(S/15);I=h===p?.1:Math.pow(10,Math.ceil(Math.log((h-p)/x)/Math.log(10)))/2;var j=Math.floor(p/I)*I,T=Math.ceil(h/I)*I;T===h&&(T+=I),j=Math.round(100*j)/100,T=Math.round(100*T)/100;var P=Math.round((T-j)/I);P+1>x&&(I=Math.pow(10,Math.ceil(Math.log((h-p)/x)/Math.log(10))),j=Math.floor(p/I)*I,(T=Math.ceil(h/I)*I)===h&&(T+=I),j=Math.round(100*j)/100,T=Math.round(100*T)/100,P=Math.floor((T-j)/I)),P=Math.max(Math.round(P),1);var M=document.createElementNS("http://www.w3.org/2000/svg","g");M.setAttribute("class","profile-z-vertical");var R,L,k,N,D,G,F,U=document.createElementNS("http://www.w3.org/2000/svg","g"),B=S/P;R=h===p?S/.2:S/(T-j);for(var z=0;z<=P;z++)(L=document.createElementNS("http://www.w3.org/2000/svg","text")).setAttribute("class","profile-z-graduation"),L.setAttribute("font-family","Verdana"),L.setAttribute("font-size","10px"),L.setAttribute("fill","#5E5E5E"),L.textContent=(Math.round(100*(j+z*I))/100).toLocaleString(),k=S-z*B,L.setAttribute("transform","translate(".concat(A+C-8,", ").concat(k+5,")")),L.setAttribute("text-anchor","end"),M.appendChild(L),N=Math.round(k)-.5,D=document.createElementNS("http://www.w3.org/2000/svg","g"),(G=document.createElementNS("http://www.w3.org/2000/svg","path")).setAttribute("cs","100,100"),G.setAttribute("stroke-width","1"),0!==z?G.setAttribute("stroke-opacity","0.2"):G.setAttribute("stroke-opacity","1"),G.setAttribute("stroke","#000000"),G.setAttribute("fill","none"),G.setAttribute("d","M".concat(A+C,",").concat(N," L").concat(w+A+C,",").concat(N)),(F=document.createElementNS("http://www.w3.org/2000/svg","path")).setAttribute("cs","100,100"),F.setAttribute("stroke-width","1"),F.setAttribute("stroke-opacity","1"),F.setAttribute("stroke","#000000"),F.setAttribute("fill","none"),F.setAttribute("d","M".concat(A+C,",").concat(N," L").concat(A+C+5,",").concat(N)),F.setAttribute("transform","translate(-5, 0)"),D.appendChild(F),D.appendChild(G),U.appendChild(D);var V=document.createElementNS("http://www.w3.org/2000/svg","text");V.setAttribute("class","profile-z-legend"),V.setAttribute("font-family","Verdana"),V.setAttribute("font-size","11px"),V.setAttribute("fill","#5E5E5E"),V.textContent="Altitude (m)",V.setAttribute("transform","translate(".concat(9,", ").concat(Math.round(S/2),") rotate(-90)")),V.setAttribute("text-anchor","middle"),M.appendChild(V),O.appendChild(M),O.appendChild(U),f>2e3&&(f/=1e3,m="km");var W=Math.floor(w/E),q=Math.pow(10,Math.ceil(Math.log(f/W)/Math.log(10)))/2,Y=f,H=Math.floor(Y/q);H>W?(q=Math.pow(10,Math.ceil(Math.log(f/W)/Math.log(10))),H=Math.floor(Y/q)):H<1&&(q=Math.pow(10,Math.ceil(Math.log(f/W)/Math.log(10))-1),H=Math.floor(Y/q));var X=q*(H=Math.max(H,1)),Z=document.createElementNS("http://www.w3.org/2000/svg","g");Z.setAttribute("class","profile-x-vertical");for(var K,J,Q,$,ee,te,oe=document.createElementNS("http://www.w3.org/2000/svg","g"),re=w/Y,ne=(Y-X)*re,ie=Math.round((w-ne)/H),se=0;se<=H+1;se++)(K=document.createElementNS("http://www.w3.org/2000/svg","text")).setAttribute("class","profile-x-graduation"),K.setAttribute("font-family","Verdana"),K.setAttribute("font-size","10px"),K.setAttribute("fill","#5E5E5E"),se!==H+1&&(K.textContent=(Math.round(100*se*q)/100).toLocaleString()),J=A+C+se*ie,se===H+1&&(J=A+C+w),K.setAttribute("transform","translate(".concat(J,", ").concat(S+15+5,")")),K.setAttribute("text-anchor","middle"),Z.appendChild(K),Q=J-.5,$=document.createElementNS("http://www.w3.org/2000/svg","g"),(ee=document.createElementNS("http://www.w3.org/2000/svg","path")).setAttribute("cs","100,100"),ee.setAttribute("stroke-width","1"),0!==se?ee.setAttribute("stroke-opacity","0.2"):ee.setAttribute("stroke-opacity","1"),ee.setAttribute("stroke","#000000"),ee.setAttribute("fill","none"),ee.setAttribute("d","M".concat(Q,",").concat(S," L").concat(Q,",0")),(te=document.createElementNS("http://www.w3.org/2000/svg","path")).setAttribute("cs","100,100"),te.setAttribute("stroke-width","1"),te.setAttribute("stroke-opacity","1"),te.setAttribute("stroke","#000000"),te.setAttribute("fill","none"),te.setAttribute("d","M".concat(Q,",").concat(S," L").concat(Q,",").concat(S-5)),te.setAttribute("transform","translate(0, 5)"),$.appendChild(te),$.appendChild(ee),oe.appendChild($);var ae=document.createElementNS("http://www.w3.org/2000/svg","text");ae.setAttribute("class","profile-x-legend"),ae.setAttribute("font-family","Verdana"),ae.setAttribute("font-size","11px"),ae.setAttribute("fill","#5E5E5E"),ae.textContent="Distance (".concat(m,")"),ae.setAttribute("transform","translate(".concat(A+C+w/2,", ").concat(S+15+17+3,")")),ae.setAttribute("text-anchor","middle"),Z.appendChild(ae),O.appendChild(Z),O.appendChild(oe);var le=document.createElementNS("http://www.w3.org/2000/svg","g"),ue=1;"km"===m&&(ue=1e3);for(var ce=this._dataDistToSvgX(c[0].dist/ue,b,w,re),de=this._dataZToSvgY(c[0].z,S,j,R),pe="M".concat(ce,",").concat(de),he=1;he<c.length;he++)ce=this._dataDistToSvgX(c[he].dist/ue,b,w,re),de=this._dataZToSvgY(c[he].z,S,j,R),pe+=" L".concat(ce,",").concat(de);var fe=document.createElementNS("http://www.w3.org/2000/svg","path");fe.setAttribute("cs","100,100"),fe.setAttribute("stroke-width","1"),fe.setAttribute("stroke-opacity","1"),fe.setAttribute("stroke","#0B6BA7"),fe.setAttribute("fill","none"),fe.setAttribute("d",pe),pe+=" L".concat(ce,",").concat(S),pe+=" L".concat(b-w,",").concat(S);var me=document.createElementNS("http://www.w3.org/2000/svg","path");me.setAttribute("cs","100,100"),me.setAttribute("stroke-width","1"),me.setAttribute("stroke-opacity","0"),me.setAttribute("stroke","#000000"),me.setAttribute("fill","#00B798"),me.setAttribute("fill-opacity","0.4"),me.setAttribute("d",pe),le.appendChild(fe),le.appendChild(me),O.appendChild(le);var ge=document.createElementNS("http://www.w3.org/2000/svg","g"),ye=document.createElementNS("http://www.w3.org/2000/svg","rect");ye.setAttribute("width",w),ye.setAttribute("height",S),ye.setAttribute("transform","translate(".concat(b-w,",0)")),ye.setAttribute("visibility","hidden"),ye.setAttribute("pointer-events","all");var ve=JSON.parse(JSON.stringify(c));ve.sort((function(e,t){return e.dist-t.dist}));var _e=document.createElementNS("http://www.w3.org/2000/svg","line");_e.setAttribute("id","focusLineX"),_e.setAttribute("class","focusLine-default"),_e.setAttribute("fill","none"),_e.setAttribute("stroke","#F90"),_e.setAttribute("stroke-width","0.5px"),_e.setAttribute("visibility","hidden");var be=document.createElementNS("http://www.w3.org/2000/svg","line");be.setAttribute("id","focusLineY"),be.setAttribute("class","focusLine-default"),be.setAttribute("fill","none"),be.setAttribute("stroke","#F90"),be.setAttribute("stroke-width","0.5px"),be.setAttribute("visibility","hidden");var Ae=document.createElementNS("http://www.w3.org/2000/svg","circle");Ae.setAttribute("id","focusCircle"),Ae.setAttribute("r",4),Ae.setAttribute("class","circle-default focusCircle-default"),Ae.setAttribute("fill","#F90"),Ae.setAttribute("visibility","hidden"),ge.appendChild(Ae),ge.appendChild(_e),ge.appendChild(be);var Ce=document.createElementNS("http://www.w3.org/2000/svg","text"),Ee=document.createElementNS("http://www.w3.org/2000/svg","tspan"),Se=document.createElementNS("http://www.w3.org/2000/svg","tspan"),we=document.createElementNS("http://www.w3.org/2000/svg","tspan");Ce.setAttribute("style","text-align:center; max-width:220px; font-size:10px; color:#000000; font-family:Verdana; z-index:50;"),Ce.style.pointerEvents="none",Ce.style.position="fixed",Ce.setAttribute("class","tooltipInit"),Ce.setAttribute("text-anchor","middle"),g.appendChild(Ce),Ee.setAttribute("class","altiPathValue"),Ee.setAttribute("x","0"),Ee.setAttribute("dy","-.7em"),Se.setAttribute("class","altiPathValue"),Se.setAttribute("x","0"),Se.setAttribute("dy","1em"),we.setAttribute("class","altiPathCoords"),we.setAttribute("x","0"),we.setAttribute("dy","1em"),Ce.appendChild(Ee),u.currentSlope&&Ce.appendChild(Se),Ce.appendChild(we);var Oe=document.createElementNS("http://www.w3.org/2000/svg","g");ge.appendChild(Oe);var Ie=document.createElementNS("http://www.w3.org/2000/svg","path");Ie.setAttribute("cs","100,100"),Ie.setAttribute("fill","#FFFFFF"),Ie.setAttribute("stroke","#CCCCCC"),Ie.setAttribute("fill-opacity","0.8"),Ie.setAttribute("stroke-width","1"),Ie.setAttribute("stroke-opacity","1");var xe=document.createElementNS("http://www.w3.org/2000/svg","path");return xe.setAttribute("cs","100,100"),xe.setAttribute("fill","#FFFFFF"),xe.setAttribute("stroke","#000000"),xe.setAttribute("fill-opacity","0"),xe.setAttribute("stroke-width","1"),xe.setAttribute("stroke-opacity","0.4"),xe.setAttribute("transform","translate(1,1)"),Oe.appendChild(xe),Oe.appendChild(Ie),Oe.appendChild(Ce),Oe.setAttribute("class","tooltipInit"),Oe.style.pointerEvents="none",ye.addEventListener("pointerover",(function(){_e.setAttribute("visibility","visible"),be.setAttribute("visibility","visible"),Ae.setAttribute("visibility","visible"),r.__createProfileMarker(n,c[0]),Ce.setAttribute("class","tooltipFadeIn"),Oe.setAttribute("class","tooltipFadeIn")})),ye.addEventListener("pointerout",(function(){_e.setAttribute("visibility","hidden"),be.setAttribute("visibility","hidden"),Ae.setAttribute("visibility","hidden"),r.__removeProfileMarker(n),Ce.setAttribute("class","tooltipFadeOut"),Oe.setAttribute("class","tooltipFadeOut")})),ye.addEventListener("pointermove",function(e){var t=O.createSVGPoint();t.x=e.clientX,t.y=e.clientY;var o=t.matrixTransform(O.getScreenCTM().inverse()),i=this._svgXToDataDist(o.x,b,w,re)*ue,s=Math.max(1,this._arrayBisect(ve,i)),a=c[s-1],l=c[s],u=a;i-a.dist>l.dist-i&&(u=l);var d=this._dataDistToSvgX(u.dist/ue,b,w,re),p=this._dataZToSvgY(u.z,S,j,R);Ae.setAttribute("cx",d),Ae.setAttribute("cy",p),_e.setAttribute("x1",d),_e.setAttribute("y1",S),_e.setAttribute("x2",d),_e.setAttribute("y2",0),be.setAttribute("x1",A+C),be.setAttribute("y1",p),be.setAttribute("x2",w+A+C),be.setAttribute("y2",p),r.__updateProfileMarker(n,u);var h="Altitude : ".concat(u.z.toLocaleString()," m"),m="Pente : ".concat(u.slope," %"),g="(lat : ".concat(u.lat.toLocaleString()," / lon : ").concat(u.lon.toLocaleString(),")");Ee.innerHTML=h,Se.innerHTML=m,we.innerHTML=g;var y,v=Math.max(this._getTextWidth(g,we),this._getTextWidth(h,Ee));u.dist>f*ue/2?(y="M -0.5 -0.5 l -6 6 l 0 16 l -".concat(v+10," 0 l 0 -44 l ").concat(v+10," 0 l 0 16 l 6 6"),Ce.setAttribute("transform","translate(".concat(-(v/2+12),",0)"))):u.dist<=f*ue/2&&(y="M -0.5 -0.5 l 6 6 l 0 16 l ".concat(v+10," 0 l 0 -44 l -").concat(v+10," 0 l 0 16 l -6 6"),Ce.setAttribute("transform","translate(".concat(v/2+12,",0)"))),Ie.setAttribute("d",y),xe.setAttribute("d",y),Oe.setAttribute("transform","translate(".concat(d,",").concat(p,")")),Oe.style.transform="translate(".concat(d,"px,").concat(p,"px)")}.bind(this)),ge.appendChild(ye),O.appendChild(ge),g.appendChild(O),t}},displayProfileRaw:function(e,t,o,r){if(t){for(;t.firstChild;)t.removeChild(t.firstChild);var n=e&&e.points?e.points:{},i=document.createElement("textarea");return i.id="profilElevationResults",i.rows=10,i.cols=50,i.style.width="100%",i.innerHTML=JSON.stringify(n,void 0,4),i.addEventListener("mouseover",(function(e){r.__customRawProfileMouseOverEvent(o,e)})),t.appendChild(i),t}},displayProfileLibD3:function(e,t,o,r){var n=o;if(t&&e){for(;t.firstChild;)t.removeChild(t.firstChild);var i=e.points;if(e.distance>2e3){e.unit="km";for(var s=0;s<i.length;s++)i[s].dist/=1e3}var a=n.options.displayProfileOptions,l=20,u=20,c=30,d=40,p=window.getComputedStyle(t).getPropertyValue("width"),h=window.getComputedStyle(t).getPropertyValue("height"),f=p.replace(/px/,"")-d-u,m=h.replace(/px/,"")-l-c,g=d3.scale.linear().range([0,f]),y=d3.scale.linear().range([m,0]),v=d3.svg.axis().scale(g).orient("bottom").ticks(5),_=d3.svg.axis().scale(y).orient("left").ticks(5),b=d3.svg.line().interpolate("basis").x((function(e){return g(e.dist)})).y((function(e){return y(e.z)})),A=d3.svg.area().interpolate("basis").x((function(e){return g(e.dist)})).y0(m).y1((function(e){return y(e.z)})),C=d3.select(t).append("svg").attr("width",f+d+u).attr("height",m+l+c).append("g").attr("transform","translate("+d+","+l+")"),E=d3.extent(i,(function(e){return e.dist}));g.domain(E);var S=[0,d3.max(i,(function(e){return e.z}))];y.domain(S),C.append("path").datum(i).attr("class","area-d3").attr("d",A),C.append("g").attr("class","x axis-d3").attr("transform","translate(0,"+m+")").call(v).append("text").attr("y",-15).attr("dy",".71em").attr("x",f).text("Distance ("+e.unit+")"),C.append("g").attr("class","y axis-d3").call(_).append("text").attr("transform","rotate(-90)").attr("y",6).attr("dy",".71em").text("Altitude (m)"),C.append("g").attr("class","grid-d3 vertical").attr("transform","translate(0,"+m+")").call(v.orient("bottom").tickSize(-m,0,0).tickFormat("")),C.append("g").attr("class","grid-d3 horizontal").call(_.orient("left").tickSize(-f,0,0).tickFormat("")),C.append("path").datum(i).attr("class","line-d3").attr("d",b),C.selectAll("circle").data(i).enter().append("circle").attr("cx",(function(e){return g(e.dist)})).attr("cy",(function(e){return y(e.z)})).attr("r",0).attr("class","circle-d3");var w=C.append("g").style("display","none");w.append("line").attr("id","focusLineX").attr("class","focusLine-d3"),w.append("line").attr("id","focusLineY").attr("class","focusLine-d3"),w.append("circle").attr("id","focusCircle").attr("r",4).attr("class","circle-d3 focusCircle-d3");var O=d3.select(t).append("div").attr("class","tooltip-d3").style("opacity",0),I=d3.bisector((function(e){return e.dist})).left;return C.append("rect").attr("class","overlay-d3").attr("width",f).attr("height",m).on("mouseover",(function(){w.style("display",null),r.__createProfileMarker(n,i[0])})).on("mouseout",(function(){w.style("display","none"),r.__removeProfileMarker(n),O.transition().duration(500).style("opacity",0)})).on("mousemove",(function(){var e=d3.mouse(this),t=g.invert(e[0]),o=Math.max(1,I(i,t)),s=i[o-1],l=i[o],u=t-s[0]>l[0]-t?l:s,c=g(u.dist),d=y(u.z);w.select("#focusCircle").attr("cx",c).attr("cy",d),w.select("#focusLineX").attr("x1",c).attr("y1",y(S[0])).attr("x2",c).attr("y2",y(S[1])),w.select("#focusLineY").attr("x1",g(E[0])).attr("y1",d).attr("x2",g(E[1])).attr("y2",d),r.__updateProfileMarker(n,u),O.transition().duration(200).style("opacity",.9);var p="";p+=" Altitude : "+u.z+" m",a.currentSlope&&(p+="<br/> Pente : "+u.slope+" %"),p+="<br/> (Lat : "+u.lat+"/ Lon : "+u.lon+")",O.html(p).style("left",d3.event.pageX+"px").style("top",d3.event.pageY-28+"px")})),C}},displayProfileLibAmCharts:function(e,t,o,r){var n=o;if(t&&e){var i=e.points,s="<span class='altiPathValue'>[[title]] : [[value]]m</span><br/>";if(n.options.displayProfileOptions.currentSlope&&(s+="<span class='altiPathValue'>Pente : [[slope]] %</span><br/>"),s+="<span class='altiPathCoords'>(Lat: [[lat]] / Lon:[[lon]])</span>",AmCharts.addInitHandler((function(){})),e.distance>2e3){e.unit="km";for(var a=0;a<i.length;a++)i[a].dist/=1e3}for(var l=0;l<i.length;l++){var u=i[l].dist,c=100;u>100?c=1:u>10&&(c=10),u=Math.round(u*c)/c,i[l].dist=u}var d={type:"serial",pathToImages:"http://cdn.amcharts.com/lib/3/images/",categoryField:"dist",autoMarginOffset:0,marginRight:10,marginTop:10,startDuration:0,color:"#5E5E5E",fontSize:8,theme:"light",thousandsSeparator:"",numberFormatter:{precision:-1,decimalSeparator:",",thousandsSeparator:" "},categoryAxis:{color:"#5E5E5E",gridPosition:"start",minHorizontalGap:40,tickPosition:"start",title:"Distance ("+e.unit+")",titleColor:"#5E5E5E",labelOffset:0,startOnAxis:!0},chartCursor:{animationDuration:0,bulletsEnabled:!0,bulletSize:10,categoryBalloonEnabled:!1,cursorColor:"#F90",graphBulletAlpha:1,graphBulletSize:1,zoomable:!1},trendLines:[],graphs:[{balloonColor:"#CCCCCC",balloonText:s,bullet:"round",bulletAlpha:0,bulletBorderColor:"#FFF",bulletBorderThickness:2,bulletColor:"#F90",bulletSize:6,hidden:!1,id:"AmGraph-1",fillAlphas:.4,fillColors:"#C77A04",lineAlpha:1,lineColor:"#C77A04",lineThickness:1,title:"Altitude",valueField:"z"}],guides:[],valueAxes:[{id:"ValueAxis-1",minVerticalGap:20,title:"Altitude (m)"}],balloon:{borderColor:"#CCCCCC",borderThickness:1,fillColor:"#FFFFFF",showBullet:!0},titles:[],allLabels:[],dataProvider:i},p=AmCharts.makeChart(t,d);return p.addListener("changed",(function(e){var t=e.chart.dataProvider[e.index];r.__updateProfileMarker(n,t)})),p}}};t.default=r},"./node_modules/geoportal-extensions-openlayers/src/Common/Controls/ReverseGeocodingDOM.js":function(e,t,o){"use strict";o.r(t);var r={_addUID:function(e){return this._uid?e+"-"+this._uid:e},_createMainContainerElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPreverseGeocoding"),e.className="GPwidget",e},_createShowReverseGeocodingElement:function(){var e=document.createElement("input");return e.id=this._addUID("GPshowReverseGeocoding"),e.type="checkbox",e},_createShowReverseGeocodingPictoElement:function(){var e=this,t=document.createElement("label");t.id=this._addUID("GPshowReverseGeocodingPicto"),t.className="GPshowAdvancedToolPicto",t.htmlFor=this._addUID("GPshowReverseGeocoding"),t.title="Ouvrir la recherche inverse",t.addEventListener?t.addEventListener("click",(function(){e.onShowReverseGeocodingClick()})):t.attachEvent&&t.attachEvent("onclick",(function(){e.onShowReverseGeocodingClick()}));var o=document.createElement("span");return o.id=this._addUID("GPshowReverseGeocodingOpen"),o.className="GPshowAdvancedToolOpen",t.appendChild(o),t},_createReverseGeocodingWaitingElement:function(){var e=document.createElement("div");e.id=this._addUID("GPreverseGeocodingCalcWaitingContainer"),e.className="GPreverseGeocodingCalcWaitingContainerHidden";var t=document.createElement("p");return t.className="GPreverseGeocodingCalcWaiting",t.innerHTML="Recherche en cours...",e.appendChild(t),e},_createReverseGeocodingResultsPanelElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPreverseGeocodingResultsPanel"),e.className="GPpanel GPreverseGeocodingComponentHidden",e},_createReverseGeocodingResultsListElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPreverseGeocodingResultsList"),e},_createReverseGeocodingResultElement:function(e,t){var o=this,r=document.getElementById(this._addUID("GPreverseGeocodingResultsList")),n=document.createElement("div");n.id=this._addUID("ReverseGeocodedLocation_"+t),n.className="GPautoCompleteProposal",n.innerHTML=e,n.title=e,n.addEventListener?(n.addEventListener("mouseover",(function(e){o.onReverseGeocodingResultMouseOver(e)})),n.addEventListener("mouseout",(function(e){o.onReverseGeocodingResultMouseOut(e)})),n.addEventListener("click",(function(e){"function"==typeof o.onReverseGeocodingResultClick&&o.onReverseGeocodingResultClick(e)}))):n.attachEvent&&(n.attachEvent("onmouseover",(function(e){o.onReverseGeocodingResultMouseOver(e)})),n.attachEvent("onmouseout",(function(e){o.onReverseGeocodingResultMouseOut(e)})),n.attachEvent("onclick",(function(e){"function"==typeof o.onReverseGeocodingResultClick&&o.onReverseGeocodingResultClick(e)}))),r.appendChild(n)},_createReverseGeocodingPanelElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPreverseGeocodingPanel"),e.className="GPpanel",e},_createReverseGeocodingPanelHeaderElement:function(){var e=document.createElement("div");return e.className="GPpanelHeader",e},_createReverseGeocodingPanelReturnPictoElement:function(){var e=this,t=document.createElement("div");return t.id=this._addUID("GPreverseGeocodingReturnPicto"),t.title="Nouvelle recherche",t.className="GPreverseGeocodingReturnPictoHidden",t.addEventListener?t.addEventListener("click",(function(t){document.getElementById(e._addUID("GPreverseGeocodingResultsPanel")).className="GProuteComponentHidden",document.getElementById(e._addUID("GPreverseGeocodingForm")).className="",document.getElementById(e._addUID("GPreverseGeocodingHeaderTitle")).innerHTML="Recherche inverse",document.getElementById(e._addUID("GPreverseGeocodingReturnPicto")).className="GPreverseGeocodingReturnPictoHidden",e.onGPreverseGeocodingReturnPictoClick(t)})):t.attachEvent&&t.attachEvent("onclick",(function(t){document.getElementById(e._addUID("GPreverseGeocodingResultsPanel")).className="GProuteComponentHidden",document.getElementById(e._addUID("GPreverseGeocodingForm")).className="",document.getElementById(e._addUID("GPreverseGeocodingHeaderTitle")).innerHTML="Recherche inverse",document.getElementById(e._addUID("GPreverseGeocodingReturnPicto")).className="GPreverseGeocodingReturnPictoHidden",e.onGPreverseGeocodingReturnPictoClick(t)})),t},_createReverseGeocodingPanelTitleElement:function(){var e=document.createElement("div");return e.className="GPpanelTitle",e.id=this._addUID("GPreverseGeocodingHeaderTitle"),e.innerHTML="Recherche inverse",e},_createReverseGeocodingPanelCloseElement:function(){var e=this,t=document.createElement("div");return t.id=this._addUID("GPreverseGeocodingPanelClose"),t.className="GPpanelClose",t.title="Fermer le panneau",t.addEventListener?t.addEventListener("click",(function(){document.getElementById(e._addUID("GPshowReverseGeocodingPicto")).click()}),!1):t.attachEvent&&t.attachEvent("onclick",(function(){document.getElementById(e._addUID("GPshowReverseGeocodingPicto")).click()})),t},_createReverseGeocodingPanelFormElement:function(){var e=this,t=document.createElement("form");return t.id=this._addUID("GPreverseGeocodingForm"),t.addEventListener?t.addEventListener("submit",(function(t){t.preventDefault(),e.onReverseGeocodingSubmit()})):t.attachEvent&&t.attachEvent("onsubmit",(function(t){t.preventDefault(),e.onReverseGeocodingSubmit()})),t},_createReverseGeocodingFormModeChoiceGeocodingTypeElement:function(e){var t=this,o=document.createElement("div");o.className="GPflexInput";var r=document.createElement("label");r.className="GPreverseGeocodingCodeLabel",r.innerHTML="Recherche par",r.title="Recherche par",o.appendChild(r);var n=document.createElement("select");n.className="GPreverseGeocodingCode",n.addEventListener?n.addEventListener("change",(function(e){t.onReverseGeocodingTypeChange(e)})):n.attachEvent&&n.attachEvent("onchange",(function(e){t.onReverseGeocodingTypeChange(e)})),e&&Array.isArray(e)||(e=["StreetAddress","PositionOfInterest","CadastralParcel"]);for(var i=0;i<e.length;i++)switch(e[i]){case"PositionOfInterest":var s=document.createElement("option");s.value="PositionOfInterest",s.text="Lieux/toponymes",n.appendChild(s);break;case"StreetAddress":var a=document.createElement("option");a.value="StreetAddress",a.text="Adresses",n.appendChild(a);break;case"CadastralParcel":var l=document.createElement("option");l.value="CadastralParcel",l.text="Parcelles cadastrales",n.appendChild(l)}return o.appendChild(n),o},_createReverseGeocodingFormModeChoiceGeocodingDelimitationElement:function(e){var t=this,o=document.createElement("div");o.className="GPflexInput";var r=document.createElement("label");r.className="GPreverseGeocodingCodeLabel",r.innerHTML="Délimitation",r.title="Délimitation",o.appendChild(r);var n=document.createElement("select");n.className="GPreverseGeocodingCode",n.addEventListener?n.addEventListener("change",(function(e){t.onReverseGeocodingDelimitationChange(e)})):n.attachEvent&&n.attachEvent("onchange",(function(e){t.onReverseGeocodingDelimitationChange(e)})),e&&Array.isArray(e)||(e=["Point","Circle","Extent"]);for(var i=0;i<e.length;i++)switch(e[i].toLowerCase()){case"point":var s=document.createElement("option");s.value="point",s.text="Pointer un lieu",n.appendChild(s);break;case"circle":var a=document.createElement("option");a.value="circle",a.text="Dessiner un cercle",n.appendChild(a);break;case"extent":var l=document.createElement("option");l.value="extent",l.text="Dessiner une emprise",n.appendChild(l)}return o.appendChild(n),o},_createReverseGeocodingSubmitFormElement:function(){var e=document.createElement("input");return e.id=this._addUID("GPreverseGeocodingSubmit"),e.className="GPinputSubmit",e.type="submit",e.value="Rechercher",e}};t.default=r},"./node_modules/geoportal-extensions-openlayers/src/Common/Controls/RouteDOM.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js"),n=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),i=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/GeocodeUtils.js"),s=n.default.getLogger("RouteDOM"),a={_addUID:function(e){return this._uid?e+"-"+this._uid:e},_createMainContainerElement:function(){var e=document.createElement("div");return e.id=this._addUID("GProute"),e.className="GPwidget",e},_createShowRouteElement:function(){var e=document.createElement("input");return e.id=this._addUID("GPshowRoute"),e.type="checkbox",e},_createShowRoutePictoElement:function(){var e=this,t=document.createElement("label");t.id=this._addUID("GPshowRoutePicto"),t.className="GPshowAdvancedToolPicto",t.htmlFor=this._addUID("GPshowRoute"),t.title="Ouvrir le calcul d'itinéraire",t.addEventListener?t.addEventListener("click",(function(t){e.onShowRoutePanelClick(t)})):t.attachEvent&&t.attachEvent("onclick",(function(t){e.onShowRoutePanelClick(t)}));var o=document.createElement("span");return o.id=this._addUID("GPshowRouteOpen"),o.className="GPshowAdvancedToolOpen",t.appendChild(o),t},_createRoutePanelElement:function(){var e=document.createElement("div");return e.id=this._addUID("GProutePanel"),e.className="GPpanel",e},_createRoutePanelHeaderElement:function(){var e=this,t=document.createElement("div");t.className="GPpanelHeader";var o=document.createElement("div");o.className="GPpanelTitle",o.innerHTML="Calcul d'itinéraire",t.appendChild(o);var r=document.createElement("div");return r.id=this._addUID("GProutePanelClose"),r.className="GPpanelClose",r.title="Masquer le panneau",r.addEventListener?r.addEventListener("click",(function(){document.getElementById(e._addUID("GPshowRoutePicto")).click()}),!1):r.attachEvent&&r.attachEvent("onclick",(function(){document.getElementById(e._addUID("GPshowRoutePicto")).click()})),t.appendChild(r),t},_createRoutePanelFormElement:function(){var e=this,t=document.createElement("form");return t.id=this._addUID("GProuteForm"),t.setAttribute("onkeypress","return event.keyCode != 13;"),t.addEventListener("submit",(function(t){s.log(t),t.preventDefault();var o=document.getElementsByClassName(e._addUID("GPlocationPoint")),n=o[0].childNodes[0].id,i=o[o.length-1].childNodes[0].id,a=r.default.index(n),l=r.default.index(i);if(""===document.getElementById(e._addUID("GPlocationOrigin_"+a)).value&&""===document.getElementById(e._addUID("GPlocationOriginCoords_"+a)).value||""===document.getElementById(e._addUID("GPlocationOrigin_"+l)).value&&""===document.getElementById(e._addUID("GPlocationOriginCoords_"+l)).value)return!1;e._addRouteResultsStagesValuesElement(o);var u=null;if(document.getElementById(e._addUID("GProuteComputationSelect"))){var c=document.getElementById(e._addUID("GProuteResultsComputationSelect"));c.selectedIndex=document.getElementById(e._addUID("GProuteComputationSelect")).selectedIndex,u=c.options[c.selectedIndex].value}var d=null;document.getElementById(e._addUID("GProuteTransportCar"))&&document.getElementById(e._addUID("GProuteTransportCar")).checked&&(d=document.getElementById(e._addUID("GProuteTransportCar")).value),document.getElementById(e._addUID("GProuteTransportPedestrian"))&&document.getElementById(e._addUID("GProuteTransportPedestrian")).checked&&(d=document.getElementById(e._addUID("GProuteTransportPedestrian")).value);for(var p=[],h=document.getElementsByClassName("GProuteExclusionsOption"),f=0;f<h.length;f++){var m=h[f].htmlFor,g=document.getElementById(m);g.checked||p.push(g.value)}return e.onRouteComputationSubmit({computation:u,transport:d,exclusions:p}),!1})),t},_createRoutePanelResultsElement:function(){var e=document.createElement("div");e.id=this._addUID("GProuteResultsPanel"),e.className="GProuteComponentHidden",e.appendChild(this._createRouteResultsStagesElement()),e.appendChild(this._createRouteResultsElement());var t=document.createElement("div");t.className="GPfakeBorder GPfakeBorderLeft",e.appendChild(t),e.appendChild(this._createRouteShowResultsDetailsElement());var o=document.createElement("label");o.htmlFor=this._addUID("GProuteResultsShowDetails"),o.innerHTML="Afficher le détail",e.appendChild(o);var r=document.createElement("label");r.htmlFor=this._addUID("GProuteResultsShowDetails"),r.innerHTML="Masquer le détail",e.appendChild(r);var n=document.createElement("div");return n.className="GPfakeBorder",e.appendChild(n),e.appendChild(this._createRouteResultsDetailsElement()),e},_createRouteWaitingElement:function(){var e=document.createElement("div");e.id=this._addUID("GProuteCalcWaitingContainer"),e.className="GProuteCalcWaitingContainerHidden";var t=document.createElement("p");return t.className="GProuteCalcWaiting",t.innerHTML="Calcul en cours...",e.appendChild(t),e},_createRouteResultsStagesElement:function(){var e=document.createElement("div");return e.id=this._addUID("GProuteResultsStages"),e},_addRouteResultsStagesValuesElement:function(e){document.getElementById(this._addUID("GProuteResultsStages")).innerHTML="";for(var t=0;t<e.length;t++){var o=e[t].childNodes[0].id,n=r.default.index(o);if("GPflexInput GPlocationStageFlexInput"===document.getElementById(this._addUID("GPlocationPoint_"+n)).className){var i=document.createElement("div");i.className="GProuteResultsStages";var s=document.createElement("div");s.className="GProuteResultStageLabel",s.innerHTML=document.getElementById(this._addUID("GPlocationOriginLabel_"+n)).innerHTML+" :",i.appendChild(s);var a=document.createElement("div");a.className="GProuteResultStageValue";var l=document.getElementById(this._addUID("GPlocationOriginCoords_"+n)),u=l.value,c="GPlocationOriginVisible"===l.className;a.innerHTML=null!==u&&""!==u&&c?u:document.getElementById(this._addUID("GPlocationOrigin_"+n)).value,i.appendChild(a),""!==a.innerHTML&&document.getElementById(this._addUID("GProuteResultsStages")).appendChild(i)}}},_createRouteResultsElement:function(){var e=this,t=document.createElement("div");t.id=this._addUID("GProuteResults");var o=document.createElement("div");o.id=this._addUID("GProuteResultsValues"),t.appendChild(o);var r=document.createElement("div");r.id=this._addUID("GProuteResultsMode");var n=document.createElement("select");n.id=this._addUID("GProuteResultsComputationSelect"),n.className="GPinputSelect",n.addEventListener("change",(function(t){e.onRouteModeComputationChangeAndRun(t)}));for(var i=[{code:"fastest",label:"Plus rapide"},{code:"shortest",label:"Plus court"}],s=0;s<i.length;s++){var a=document.createElement("option");a.value=i[s].code,a.text=i[s].label,n.appendChild(a)}r.appendChild(n),t.appendChild(r);var l=document.createElement("div");return l.id=this._addUID("GProuteResultsNew"),l.title="Modifier le calcul",l.addEventListener("click",(function(t){document.getElementById(e._addUID("GProuteResultsPanel")).className="GProuteComponentHidden",document.getElementById(e._addUID("GProuteForm")).className="",e.onShowRouteResultsNewClick(t)})),t.appendChild(l),t},_addRouteResultsValuesElement:function(e,t,o){var r=document.getElementById(this._addUID("GProuteResultsValues"));if(r.childElementCount)for(;r.firstChild;)r.removeChild(r.firstChild);var n=document.createElement("div");n.className="GProuteResultsValue";var i=document.createElement("label");i.className="GProuteResultsValueLabel",i.innerHTML="Distance :",n.appendChild(i);var s=0;if(parseInt(e/1e3,10)){var a=Math.round(e);s=(a/=1e3)+" km"}else s=Math.round(e)+" m";var l=document.createElement("div");l.id=this._addUID("GProuteResultsValueDist"),l.innerHTML=s,n.appendChild(l),r.appendChild(n);var u=document.createElement("div");u.className="GProuteResultsValue";var c=document.createElement("label");c.className="GProuteResultsValueLabel",c.innerHTML="Durée :",u.appendChild(c);var d=document.createElement("div");return d.id=this._addUID("GProuteResultsValueDist"),d.innerHTML=o(t),u.appendChild(d),r.appendChild(u),r},_createRouteShowResultsDetailsElement:function(){var e=document.createElement("input");return e.id=this._addUID("GProuteResultsShowDetails"),e.type="checkbox",e},_createRouteResultsDetailsElement:function(){var e=document.createElement("div");return e.id=this._addUID("GProuteResultsDetails"),e},_addRouteResultsDetailsElement:function(e,t){var o=this,r=document.getElementById(this._addUID("GProuteResultsDetails"));if(r.childElementCount)for(;r.firstChild;)r.removeChild(r.firstChild);for(var n=0,i=0,s=0;s<e.length;s++){var a=s+1,l=e[s],u=document.createElement("div");u.className="GProuteResultsDetailsNumber",u.innerHTML=a+".",r.appendChild(u),i+=parseFloat(l.duration),n+=parseFloat(l.distance);var c=0;if(parseInt(n/1e3,10)){var d=Math.round(n);c=(d/=1e3)+" km"}else c=Math.round(n)+" m";var p=document.createElement("div");p.className="GProuteResultsDetailsInstruction",p.id=this._addUID("GProuteResultsDetailsInstruction_"+a),p.title="distance : "+c+" / temps : "+t(i),p.innerHTML=l.instruction,p.addEventListener("mouseover",(function(e){o.onRouteResultsDetailsMouseOver(e)})),p.addEventListener("mouseout",(function(e){o.onRouteResultsDetailsMouseOut(e)})),p.addEventListener("click",(function(e){"function"==typeof o.onRouteResultsDetailsClick&&o.onRouteResultsDetailsClick(e)})),r.appendChild(p)}return r},_createRoutePanelFormPointElement:function(e,t,o){var r=this,n=document.createElement("div");n.id="GProutePoint"+e,n.className=o?"GPflexInput GProuteStageFlexInput":"GPflexInput GProuteStageFlexInputHidden";var i=document.createElement("label");i.id="GProuteOriginLabel"+e,i.htmlFor="GProuteOrigin"+e,i.innerHTML=t,i.addEventListener("click",(function(){var e=this.id.charAt(this.id.length-1);document.getElementById("GProuteOriginCoords"+e).value="";for(var t=1;t<8;t++)document.getElementById("GProutePoint"+t).style.display="flex";document.getElementById("GProuteForm").className="",document.getElementById("GProuteOriginPointer"+e).checked=!1,document.getElementById("GProuteOrigin"+e).className="GProuteOriginVisible",document.getElementById("GProuteOriginCoords"+e).className="GProuteOriginHidden"})),n.appendChild(i);var s=document.createElement("input");s.id="GProuteOrigin"+e,s.className="GProuteOriginVisible",s.type="text",s.placeholder="Saisir une adresse",s.addEventListener("keyup",(function(e){var t=e.which||e.keyCode;if(13!==t&&10!==t){var o=this.id.charAt(this.id.length-1);document.getElementById("GProuteOrigin"+o).value.length>2?document.getElementById("GProuteAutoCompleteList"+o).style.display="block":document.getElementById("GProuteAutoCompleteList"+o).style.display="none",r.onAutoCompleteSearchText(e)}})),s.addEventListener("blur",(function(){var e=this.id.charAt(this.id.length-1);document.getElementById("GProuteAutoCompleteList"+e).style.display="none"})),n.appendChild(s);var a=document.createElement("input");a.id="GProuteOriginCoords"+e,a.className="GProuteOriginHidden",a.type="text",a.disabled=!0,n.appendChild(a);var l=document.createElement("input");l.id="GProuteOriginPointer"+e,l.type="checkbox",n.appendChild(l);var u=document.createElement("label");return u.id="GProuteOriginPointerImg"+e,u.htmlFor="GProuteOriginPointer"+e,u.className="GProuteOriginPointerImg",u.title="Pointer un lieu sur la carte",u.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation();var t,o=this.id.charAt(this.id.length-1);for(t=1;t<8;t++)o!==t&&(document.getElementById("GProuteOriginPointer"+t).checked=!1,"Pointer un lieu sur la carte"===document.getElementById("GProuteOriginCoords"+t).value&&(document.getElementById("GProuteOriginCoords"+t).value="",document.getElementById("GProuteOrigin"+t).className="GProuteOriginVisible",document.getElementById("GProuteOriginCoords"+t).className="GProuteOriginHidden"));if(document.getElementById("GProuteOriginPointer"+o).checked){for(document.getElementById("GProuteOriginCoords"+o).value="",t=1;t<8;t++)document.getElementById("GProutePoint"+t).style.display="flex";document.getElementById("GProuteForm").className="",document.getElementById("GProuteOriginPointer"+o).checked=!1,document.getElementById("GProuteOrigin"+o).className="GProuteOriginVisible",document.getElementById("GProuteOriginCoords"+o).className="GProuteOriginHidden"}else{for(document.getElementById("GProuteOriginCoords"+o).value="Pointer un lieu sur la carte",t=1;t<8;t++)document.getElementById("GProutePoint"+t).style.display=o===t?"flex":"none";document.getElementById("GProuteForm").className="GProuteFormMini",document.getElementById("GProuteOriginPointer"+o).checked=!0,document.getElementById("GProuteOrigin"+o).className="GProuteOriginHidden",document.getElementById("GProuteOriginCoords"+o).className="GProuteOriginVisible"}r.onRouteMapPointClick(e)})),n.appendChild(u),n},_createRoutePanelFormRemoveStageElement:function(e){var t=this,o=document.createElement("div");return o.id="GProuteStageRemove"+e,o.className="GProuteStageRemove",o.title="Supprimer l'étape",1!==e&&7!==e&&o.addEventListener("click",(function(e){var o=this.id.charAt(this.id.length-1);document.getElementById("GProutePoint"+o).className="GPflexInput GProuteStageFlexInputHidden",document.getElementById("GProuteOrigin"+o).value="",document.getElementById("GProuteOrigin"+o).className="GProuteOriginVisible",document.getElementById("GProuteOriginCoords"+o).value="",document.getElementById("GProuteOriginCoords"+o).className="GProuteOriginHidden",document.getElementById("GProuteStageAdd").style.display="",t.onRouteRemovePointClick(e)})),o},_createRoutePanelFormAddStageElement:function(){var e=this,t=document.createElement("div");return t.id="GProuteStageAdd",t.title="Ajouter une étape",t.addEventListener("click",(function(t){for(var o=1,r=0,n=2;n<7;n++)"GPflexInput GProuteStageFlexInputHidden"===document.getElementById("GProutePoint"+n).className?1===o&&(o=n):r++;o<7&&(document.getElementById("GProutePoint"+o).className="GPflexInput GProuteStageFlexInput"),4===r&&(document.getElementById("GProuteStageAdd").style.display="none"),e.onRouteAddPointClick(t)})),t},_createRoutePanelFormAutoCompleteListElement:function(e){var t=this,o=document.createElement("div");return o.id="GProuteAutoCompleteList"+e,o.className="GPadvancedAutoCompleteList",o.addEventListener?o.addEventListener("click",(function(o){t.onAutoCompletedResultsItemClick(o),document.getElementById("GProuteAutoCompleteList"+e).style.display="none"}),!1):o.attachEvent&&o.attachEvent("onclick",(function(o){t.onAutoCompletedResultsItemClick(o),document.getElementById("GProuteAutoCompleteList"+e).style.display="none"})),o},_createRouteAutoCompletedLocationElement:function(e,t,o){var r=document.getElementById("GProuteAutoCompleteList"+t),n=document.createElement("div");n.id="AutoCompletedLocation"+o,n.className="GPautoCompleteProposal",n.innerHTML=i.default.getSuggestedLocationFreeform(e),r.appendChild(n)},_createRoutePanelFormModeChoiceElement:function(){var e=document.createElement("div");return e.id=this._addUID("GProuteModeChoice"),e},_createRoutePanelFormModeChoiceTransportElement:function(e){var t=this,o=document.createElement("div");o.id=this._addUID("GProuteTransportChoice");var r=document.createElement("span");r.className="GProuteModeLabel",r.innerHTML="Mode de transport",o.appendChild(r);for(var n=0;n<e.length;n++){var i=e[n];if("Voiture"===i){var s=document.createElement("input");s.id=this._addUID("GProuteTransportCar"),s.type="radio",s.name="GProuteTransport",s.value="Voiture",0===n&&(s.checked=!0),s.addEventListener?s.addEventListener("change",(function(e){t.onRouteModeTransportChange(e)})):s.attachEvent&&s.attachEvent("onchange",(function(e){t.onRouteModeTransportChange(e)})),o.appendChild(s);var a=document.createElement("label");a.className="GProuteTransportImg",a.htmlFor=this._addUID("GProuteTransportCar"),a.title="Voiture",o.appendChild(a)}if("Pieton"===i){var l=document.createElement("input");l.id=this._addUID("GProuteTransportPedestrian"),l.type="radio",l.name="GProuteTransport",l.value="Pieton",0===n&&(l.checked=!0),l.addEventListener?l.addEventListener("change",(function(e){t.onRouteModeTransportChange(e)})):l.attachEvent&&l.attachEvent("onchange",(function(e){t.onRouteModeTransportChange(e)})),o.appendChild(l);var u=document.createElement("label");u.className="GProuteTransportImg",u.htmlFor=this._addUID("GProuteTransportPedestrian"),u.title="Piéton",o.appendChild(u)}}return o},_createRoutePanelFormModeChoiceComputeElement:function(){var e=this,t=document.createElement("div");t.id=this._addUID("GProuteComputationChoice");var o=document.createElement("label");o.htmlFor=this._addUID("GProuteComputationSelect"),o.innerHTML="Mode de calcul";var r=document.createElement("span");r.className="GProuteModeLabel",r.appendChild(o),t.appendChild(r);var n=document.createElement("select");n.id=this._addUID("GProuteComputationSelect"),n.className="GPinputSelect",n.addEventListener("change",(function(t){e.onRouteModeComputationChange(t)}));for(var i=[{code:"fastest",label:"Plus rapide"},{code:"shortest",label:"Plus court"}],s=0;s<i.length;s++){var a=document.createElement("option");a.value=i[s].code,a.text=i[s].label,n.appendChild(a)}return t.appendChild(n),t},_createShowRouteExclusionsElement:function(){var e=document.createElement("input");return e.id=this._addUID("GPshowRouteExclusions"),e.type="checkbox",e},_createShowRouteExclusionsPictoElement:function(){var e=this,t=document.createElement("label");return t.id=this._addUID("GPshowRouteExclusionsPicto"),t.className="GPshowMoreOptionsImage GPshowMoreOptions GPshowRouteExclusionsPicto",t.htmlFor=this._addUID("GPshowRouteExclusions"),t.title="Exclusions",t.addEventListener?t.addEventListener("click",(function(t){e.onShowRouteExclusionsClick(t)})):t.attachEvent&&t.attachEvent("onclick",(function(t){e.onShowRouteExclusionsClick(t)})),t},_createRoutePanelFormExclusionsElement:function(){var e=document.createElement("div");e.id=this._addUID("GProuteExclusions");var t=document.createElement("span");return t.className="GProuteExclusionsLabel",t.innerHTML="Passages autorisés",e.appendChild(t),e},_createRoutePanelFormExclusionOptionsElement:function(e){var t=this,o=document.createElement("div");for(var r in o.className="GProuteExclusionsOptions",e)if(e.hasOwnProperty(r)){var n=e[r];switch(r){case"toll":var i=document.createElement("input");i.id=this._addUID("GProuteExclusionsToll"),i.type="checkbox",i.value="Toll",i.checked=!n,i.addEventListener?i.addEventListener("change",(function(e){t.onRouteExclusionsChange(e)})):i.attachEvent&&i.attachEvent("onchange",(function(e){t.onRouteExclusionsChange(e)})),o.appendChild(i);var s=document.createElement("label");s.className="GProuteExclusionsOption",s.htmlFor=this._addUID("GProuteExclusionsToll"),s.innerHTML="Péages",o.appendChild(s);break;case"tunnel":var a=document.createElement("input");a.id=this._addUID("GProuteExclusionsTunnel"),a.type="checkbox",a.value="Tunnel",a.checked=!n,a.addEventListener?a.addEventListener("change",(function(e){t.onRouteExclusionsChange(e)})):a.attachEvent&&a.attachEvent("onchange",(function(e){t.onRouteExclusionsChange(e)})),o.appendChild(a);var l=document.createElement("label");l.className="GProuteExclusionsOption",l.htmlFor=this._addUID("GProuteExclusionsTunnel"),l.innerHTML="Tunnels",o.appendChild(l);break;case"bridge":var u=document.createElement("input");u.id=this._addUID("GProuteExclusionsBridge"),u.type="checkbox",u.value="Bridge",u.checked=!n,u.addEventListener?u.addEventListener("change",(function(e){t.onRouteExclusionsChange(e)})):u.attachEvent&&u.attachEvent("onchange",(function(e){t.onRouteExclusionsChange(e)})),o.appendChild(u);var c=document.createElement("label");c.className="GProuteExclusionsOption",c.htmlFor=this._addUID("GProuteExclusionsBridge"),c.innerHTML="Ponts",o.appendChild(c)}}return o},_createRouteSubmitFormElement:function(){var e=document.createElement("input");return e.id=this._addUID("GProuteSubmit"),e.className="GPinputSubmit",e.type="submit",e.value="Calculer",e},_createRouteFormResetElement:function(){var e=this,t=document.createElement("div");return t.id=this._addUID("GProuteReset"),t.title="Réinitialiser les paramètres",t.addEventListener("click",(function(t){e.onRouteResetClick(t)})),t}};t.default=a},"./node_modules/geoportal-extensions-openlayers/src/Common/Controls/SearchEngineDOM.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js"),n=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/GeocodeUtils.js"),i={_addUID:function(e){return this._uid?e+"-"+this._uid:e},_createMainContainerElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPsearchEngine"),e.className="GPwidget",e},_createShowSearchEngineElement:function(){var e=document.createElement("input");return e.id=this._addUID("GPshowSearchEngine"),e.type="checkbox",e},_createShowSearchEnginePictoElement:function(){var e=this,t=document.createElement("label");t.id=this._addUID("GPshowSearchEnginePicto"),t.className="GPshowAdvancedToolPicto",t.htmlFor=this._addUID("GPshowSearchEngine"),t.title="Afficher/masquer la recherche par lieux",t.addEventListener("click",(function(){document.getElementById(e._addUID("GPautoCompleteList")).style.display="none",document.getElementById(e._addUID("GPgeocodeResultsList")).style.display="none";var t=document.getElementById(e._addUID("GPshowAdvancedSearch"));t&&(t.style.display=null,document.getElementById(e._addUID("GPadvancedSearchPanel")).style.display="none");var o="#GPsearchInput-"+e._uid;document.querySelector(o+" input").disabled=!1,e.onShowSearchEngineClick()}));var o=document.createElement("span");return o.id=this._addUID("GPshowSearchEngineOpen"),o.className="GPshowAdvancedToolOpen",t.appendChild(o),t},_createSearchInputElement:function(e){var t=this,o=document.createElement("form");o.id=this._addUID("GPsearchInput"),o.addEventListener("submit",(function(e){return e.preventDefault(),document.getElementById(t._addUID("GPgeocodeResultsList")).style.display="block",document.getElementById(t._addUID("GPautoCompleteList")).style.display="none",t.onGeocodingSearchSubmit(e),!1}));var n=document.createElement("input");n.id=this._addUID("GPsearchInputText"),n.type="text",n.placeholder=e,n.autocomplete="off",n.addEventListener("keyup",(function(e){var o=e.which||e.keyCode;13!==o&&10!==o&&38!==o&&40!==o&&(document.getElementById(t._addUID("GPgeocodeResultsList")).style.display="none",n.value.length>2?document.getElementById(t._addUID("GPautoCompleteList")).style.display="block":document.getElementById(t._addUID("GPautoCompleteList")).style.display="none",t.onAutoCompleteSearchText(e))})),n.addEventListener("keydown",(function(e){var o=e.which||e.keyCode,n=document.getElementById(t._addUID("GPautocompleteResults"));if(n){var i=n.getElementsByClassName("GPautoCompleteProposal current"),s=n.getElementsByClassName("GPautoCompleteProposal"),a=s.length;if(a){var l=null;if(!i.length)return(l=s[0]).className="GPautoCompleteProposal current",l.style.color="#000000",void(l.style["background-color"]="#CEDBEF");l=i[0];var u=parseInt(r.default.index(l.id),10),c=u===a-1?s[0]:s[u+1],d=0===u?s[a-1]:s[u-1];switch(l.style["background-color"]="",l.style.color="",d.style["background-color"]="",d.style.color="",c.style["background-color"]="",c.style.color="",o){case 38:l.className="GPautoCompleteProposal",d.className="GPautoCompleteProposal current",d.style.color="#000000",d.style["background-color"]="#CEDBEF";break;case 40:l.className="GPautoCompleteProposal",c.className="GPautoCompleteProposal current",c.style.color="#000000",c.style["background-color"]="#CEDBEF";break;case 13:e.preventDefault(),l.click(e)}l.focus()}}})),o.appendChild(n);var i=document.createElement("div");return i.id=this._addUID("GPsearchInputReset"),i.addEventListener("click",(function(){document.getElementById(t._addUID("GPsearchInputText")).value="",document.getElementById(t._addUID("GPautoCompleteList")).style.display="none",document.getElementById(t._addUID("GPgeocodeResultsList")).style.display="none",t.onSearchResetClick()})),o.appendChild(i),o},_createShowAdvancedSearchElement:function(){var e=this,t=document.createElement("div");t.id=this._addUID("GPshowAdvancedSearch"),t.className="GPshowAdvancedToolPicto",t.title="Ouvrir la recherche avancée",t.addEventListener("click",(function(){var t="#GPsearchInput-"+e._uid;document.querySelector(t+" input").disabled=!0,document.getElementById(e._addUID("GPautoCompleteList")).style.display="none",document.getElementById(e._addUID("GPgeocodeResultsList")).style.display="none",document.getElementById(e._addUID("GPshowAdvancedSearch")).style.display="none",document.getElementById(e._addUID("GPadvancedSearchPanel")).style.display="inline-block"}));var o=document.createElement("span");return o.id=this._addUID("GPshowAdvancedSearchOpen"),o.className="GPshowAdvancedToolOpen",t.appendChild(o),t},_createAdvancedSearchPanelElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPadvancedSearchPanel"),e.className="GPpanel",e.style.display="none",e},_createGeocodeResultsElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPgeocodeResultsList"),e.className="GPpanel",e.style.display="none",e.appendChild(this._createGeocodeResultsHeaderElement()),e},_createAutoCompleteElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPautoCompleteList"),e.className="GPautoCompleteList",e.style.display="none",e},_createAutoCompleteListElement:function(){var e=this,t=document.createElement("div");return t.id=this._addUID("GPautocompleteResults"),t.addEventListener?t.addEventListener("click",(function(t){e.onAutoCompletedResultsItemClick(t),document.getElementById(e._addUID("GPautoCompleteList")).style.display="none"}),!1):t.attachEvent&&t.attachEvent("onclick",(function(t){e.onAutoCompletedResultsItemClick(t),document.getElementById(e._addUID("GPautoCompleteList")).style.display="none"})),t},_createAutoCompletedLocationElement:function(e,t){var o=document.getElementById(this._addUID("GPautocompleteResults")),r=document.createElement("div");r.id=this._addUID("AutoCompletedLocation_"+t),r.className="GPautoCompleteProposal",r.innerHTML=n.default.getSuggestedLocationFreeform(e),r.addEventListener?r.addEventListener("click",(function(e){o.click(e)}),!1):r.attachEvent&&r.attachEvent("onclick",(function(e){o.click(e)})),o.appendChild(r)},_createAdvancedSearchPanelHeaderElement:function(){var e=this,t=document.createElement("div");t.className="GPpanelHeader";var o=document.createElement("div");o.className="GPpanelTitle",o.innerHTML="Recherche avancée",t.appendChild(o);var r=document.createElement("div");return r.id=this._addUID("GPadvancedSearchClose"),r.className="GPpanelClose",r.title="Fermer la recherche avancée",r.addEventListener?r.addEventListener("click",(function(){var t="#GPsearchInput-"+e._uid;document.querySelector(t+" input").disabled=!1,document.getElementById(e._addUID("GPgeocodeResultsList")).style.display="none",document.getElementById(e._addUID("GPshowAdvancedSearch")).style.display="inline-block",document.getElementById(e._addUID("GPadvancedSearchPanel")).style.display="none"}),!1):r.attachEvent&&r.attachEvent("onclick",(function(){var t="#GPsearchInput-"+e._uid;document.querySelector(t+" input").disabled=!1,document.getElementById(e._addUID("GPgeocodeResultsList")).style.display="none",document.getElementById(e._addUID("GPshowAdvancedSearch")).style.display="inline-block",document.getElementById(e._addUID("GPadvancedSearchPanel")).style.display="none"})),t.appendChild(r),t},_createAdvancedSearchPanelFormElement:function(e){var t=this,o=document.createElement("form");o.id=this._addUID("GPadvancedSearchForm"),o.addEventListener("submit",(function(e){e.preventDefault();for(var o=[],r="#GPadvancedSearchFilters-"+t._uid,n=document.querySelectorAll(r+" > div > div > input"),i=0;i<n.length;i++){var s=n[i];o.push({key:s.name,value:s.value})}return t.onGeocodingAdvancedSearchSubmit(e,o),document.getElementById(t._addUID("GPgeocodeResultsList")).style.display="block",!1}));var r=document.createElement("div");r.className="GPflexInput";var n=document.createElement("label");n.className="GPadvancedSearchCodeLabel",n.innerHTML="Recherche par",r.appendChild(n);var i=this._createAdvancedSearchFormCodeElement(e);return r.appendChild(i),o.appendChild(r),o},_createAdvancedSearchFormCodeElement:function(e){var t=this,o=document.createElement("select");o.id=this._addUID("GPadvancedSearchCode"),o.className="GPadvancedSearchCode",o.addEventListener("change",(function(e){t.onGeocodingAdvancedSearchCodeChange(e)}),!1),e||(e=[{id:"PositionOfInterest",title:"Lieux/toponymes"},{id:"StreetAddress",title:"Adresses"},{id:"CadastralParcel",title:"Parcelles cadastrales"}]);for(var r=0;r<e.length;r++){var n=document.createElement("option");n.value=e[r].id,n.text=e[r].title,o.appendChild(n)}return o},_createAdvancedSearchFormInputElement:function(){var e=document.createElement("input");return e.type="submit",e.id=this._addUID("GPadvancedSearchSubmit"),e.className="GPinputSubmit",e.value="Chercher",e},_createAdvancedSearchFormFiltersElement:function(){var e=document.createElement("div");return e.id=this._addUID("GPadvancedSearchFilters"),e},_createAdvancedSearchFiltersTableElement:function(e,t){var o=document.createElement("div");return o.id=this._addUID(e),t||(o.style.display="none"),o},_createAdvancedSearchFiltersAttributElement:function(e){var t=null,o=e.name,r=e.title,n=e.description,i=e.code,s=e.value,a=document.createElement("div");a.className="GPflexInput";var l=document.createElement("label");l.className="GPadvancedSearchFilterLabel",l.htmlFor=o,l.title=n||r,l.innerHTML=r,a.appendChild(l);var u=document.createElement("input");if(u.id=o,u.className="GPadvancedSearchFilterInput",u.type="text",u.name=o,s)if(Array.isArray(s)){var c=o+"_list";u.setAttribute("list",c);var d=document.createElement("datalist");d.id=c;for(var p=0;p<s.length;++p){var h=document.createElement("option");h.value=s[p],d.appendChild(h)}a.appendChild(d)}else u.value=s;return a.appendChild(u),(t=document.getElementById(this._addUID(i)))?t.appendChild(a):t=a,t},_createGeocodeResultsHeaderElement:function(){var e=this,t=document.createElement("div");t.className="GPpanelHeader";var o=document.createElement("div");o.className="GPpanelTitle",o.innerHTML="Résultats de la recherche",t.appendChild(o);var r=document.createElement("div");return r.id=this._addUID("GPgeocodeResultsClose"),r.className="GPpanelClose",r.title="Fermer la fenêtre de résultats",r.addEventListener?r.addEventListener("click",(function(){document.getElementById(e._addUID("GPgeocodeResultsList")).style.display="none"}),!1):r.attachEvent&&r.attachEvent("onclick",(function(){document.getElementById(e._addUID("GPgeocodeResultsList")).style.display="none"})),t.appendChild(r),t},_createGeocodeResultsListElement:function(){var e=this,t=document.createElement("div");return t.id=this._addUID("GPgeocodeResults"),t.addEventListener?t.addEventListener("click",(function(t){t.ctrlKey||(document.getElementById(e._addUID("GPgeocodeResultsList")).style.display="none"),e.onGeocodedResultsItemClick(t)}),!1):t.attachEvent&&t.attachEvent("onclick",(function(t){t.ctrlKey||(document.getElementById(e._addUID("GPgeocodeResultsList")).style.display="none"),e.onGeocodedResultsItemClick(t)})),t},_createGeocodedLocationElement:function(e,t){var o=document.getElementById(this._addUID("GPgeocodeResults")),r=document.createElement("div");r.id=this._addUID("GeocodedLocation_"+t),r.className="GPautoCompleteProposal",r.innerHTML="string"==typeof e?e:n.default.getGeocodedLocationFreeform(e),o.appendChild(r)}};t.default=i},"./node_modules/geoportal-extensions-openlayers/src/Common/Styles.js":function(e,t,o){"use strict";o.r(t);o("./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPboostRelief.css"),o("./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPbuildings.css"),o("./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPdrawing.css"),o("./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPelevationPath.css"),o("./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPgeneralWidget.css"),o("./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPgetFeatureInfo.css"),o("./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPisochron.css"),o("./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPlayerSwitcher.css"),o("./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPlocation.css"),o("./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPmeasureArea.css"),o("./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPmeasureAzimuth.css"),o("./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPmeasureLength.css"),o("./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPmeasureToolTip.css"),o("./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPmousePosition.css"),o("./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPreverseGeocoding.css"),o("./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GProute.css"),o("./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPsearchEngine.css"),o("./node_modules/geoportal-extensions-openlayers/src/Common/CSS/GPwaiting.css")},"./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js":function(e,t,o){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}o.r(t);var n={detectSupport:function(){var e=!0,t=window.navigator.userAgent.toLowerCase();return-1===t.indexOf("iphone")&&-1===t.indexOf("ipod")&&-1===t.indexOf("ipad")&&-1===t.indexOf("android")&&-1===t.indexOf("mobile")&&-1===t.indexOf("blackberry")&&-1===t.indexOf("tablet")&&-1===t.indexOf("phone")&&-1===t.indexOf("touch")||(e=!1),-1===t.indexOf("msie")&&-1===t.indexOf("trident")||(e=!0),e},assign:function(e,t){for(var o in e=e||{},t)t.hasOwnProperty(o)&&(e[o]=t[o]);return e},mergeParams:function(e,t,o){if(void 0!==e&&void 0!==t)for(var n in void 0===o&&(o=!0),t)t.hasOwnProperty(n)&&("object"===r(t[n])?e.hasOwnProperty(n)?this.mergeParams(e[n],t[n],o):e[n]=t[n]:e.hasOwnProperty(n)?o&&(e[n]=t[n]):e[n]=t[n])}};t.default=n},"./node_modules/geoportal-extensions-openlayers/src/Common/Utils/AutoLoadConfig.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Gp.js");!function(){var e=document.getElementsByTagName("script"),t=e[e.length-1].getAttribute("data-key"),o=e[e.length-1].getAttribute("data-url"),n=e[e.length-1].getAttribute("data-timeout");if(t||o){var i={apiKey:t,sync:!0,onSuccess:function(){},onFailure:function(e){throw new Error("Configuration load failed : "+e.message)}};o&&(i.customConfigFile=o,i.callbackSuffix=""),n&&(i.timeOut=n),window.Gp||r.default.Services.getConfig(i)}}()},"./node_modules/geoportal-extensions-openlayers/src/Common/Utils/ColorUtils.js":function(e,t,o){"use strict";o.r(t);var r={hex:function(e){if(e>255)throw new Error("'"+e+"'' is greater than 255(0xff);");return("0"+Number(e).toString(16)).slice(-2)},num:function(e){return parseInt(e,16)},arrayToRgba:function(e){if(!Array.isArray(e))throw new Error("Not an array !");var t=e[0],o=e[1],r=e[2],n=e[3]||1;return"rgba("+t+", "+o+", "+r+", "+parseFloat(n)+")"},arrayToHex:function(e){if(!Array.isArray(e))throw new Error("Not an array !");var t=e[0],o=e[1],r=e[2],n=e[3],i=[this.hex(t),this.hex(o),this.hex(r)],s={};return s.hex="#"+i.join(""),n&&(s.opacity=parseFloat(n)),s},rgbaToHex:function(e){var t=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(0?.?\d+)\s*)?\)/.exec(e);if(!t)throw new Error("Invalid format: "+e);var o=t[1],r=t[2],n=t[3],i=t[4],s=[this.hex(o),this.hex(r),this.hex(n)],a={};return a.hex="#"+s.join(""),i&&(a.opacity=parseFloat(i)),a},hexToRgba:function(e,t){if(!e)throw new Error("Invalid format");e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,o,r){return t+t+o+o+r+r}));var o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return(o=o?{r:parseInt(o[1],16),g:parseInt(o[2],16),b:parseInt(o[3],16)}:null)?"rgba("+o.r+", "+o.g+", "+o.b+", "+t+")":null},isHex:function(e){if(!e)return!1;if("#"!==e.charAt(0))return!1;return!!/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e)},isRGB:function(e){if(!e)return!1;return!!/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(0?.?\d+)\s*)?\)/.exec(e)}};t.default=r},"./node_modules/geoportal-extensions-openlayers/src/Common/Utils/Config.js":function(e,t,o){"use strict";o.r(t),function(e){var o={configuration:{},isConfigLoaded:function(){if(this.configuration&&0!==Object.keys(this.configuration).length)return!0;var t="undefined"!=typeof window?window:"undefined"!=typeof self?self:void 0!==e?e:{};return!!(t.Gp&&t.Gp.Config&&t.Gp.Config.layers&&0!==Object.keys(t.Gp.Config.layers).length)&&(this.configuration=t.Gp.Config,!0)}};t.default=o}.call(this,o("./node_modules/webpack/buildin/global.js"))},"./node_modules/geoportal-extensions-openlayers/src/Common/Utils/Draggable.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js").default.getLogger("draggable"),n={dragElement:function(e,t,o){var n,i,s=!1,a={x:0,y:0};function l(t){(t=t||window.event).preventDefault(),s=!0,t._pageX=t._pageX||t.clientX+(document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft),t._pageY=t._pageY||t.clientY+(document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop),a.x=t._pageX-e.offsetLeft,a.y=t._pageY-e.offsetTop,document.addEventListener("mouseup",u,!0),document.addEventListener("mousemove",c,!0)}function u(){s=!1,document.removeEventListener("mouseup",u,!0),document.removeEventListener("mousemove",c,!0)}function c(t){if(t=t||window.event,s){t._pageX=t._pageX||t.clientX+(document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft),t._pageY=t._pageY||t.clientY+(document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop);var o=e.parentElement.offsetLeft,l=e.parentElement.offsetTop;r.trace("parent offset",o,l),n=t._pageX-a.x<0-o?0-o:t._pageX-a.x+e.clientWidth>document.body.clientWidth?document.body.clientWidth-e.clientWidth:t._pageX-a.x,r.trace("left/right constraint",n),i=t._pageY-a.y<0-l?0-l:t._pageY-a.y+e.clientHeight>document.body.clientHeight?document.body.clientHeight-e.clientHeight:t._pageY-a.y,r.trace("top/bottom constraint",i),e.style.top=i+"px",e.style.left=n+"px"}}t?t.addEventListener("mousedown",l,!0):e.addEventListener("mousedown",l,!0)}};t.default=n},"./node_modules/geoportal-extensions-openlayers/src/Common/Utils/GeocodeUtils.js":function(e,t,o){"use strict";o.r(t);var r={getGeocodedLocationFreeform:function(e){var t=e.placeAttributes;if(t.label)return t.label;if("PositionOfInterest"===e.type){var o=t.toponym;return t.category&&Array.isArray(t.category)&&t.category.length>=2&&"administratif"===t.category[0]?o=o+", "+t.category[1]:t.postcode&&(o=o+", "+t.postcode[0],t.city&&(o=o+" "+t.city[0])),o}return"StreetAddress"===e.type?(t.housenumber?t.housenumber+" ":"")+t.street+" "+(t.postcode?t.postcode+", ":"")+t.city:"CadastralParcel"===e.type?t.id:"..."},getSuggestedLocationFreeform:function(e){if(e.fullText)return e.fullText;var t=[];return t.push(e.street||""),t.push(e.postalCode||""),t.push(e.commune||""),"PositionOfInterest"===e.type&&(t.push(e.poi||""),t.push(e.kind||"")),t.join(" - ")}};t.default=r},"./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LayerUtils.js":function(e,t,o){"use strict";o.r(t);var r={getZoomLevelFromScaleDenominator:function(e,t){var o={};if("EPSG:2154"===t)o={0:104579.224549894,1:52277.5323537905,2:26135.4870785954,3:13066.8913818,4:6533.2286041135,5:3266.5595244627,6:1633.2660045974,7:816.629554986,8:408.3139146768,9:204.1567415109,10:102.0783167832,11:51.0391448966,12:25.5195690743,13:12.7597836936,14:6.379891636,15:3.1899457653,16:1.5949728695,17:.7974864315,18:.3987432149,19:.1993716073,20:.0996858037,21:.0498429018};else o={0:156543.033928041,1:78271.51696402048,2:39135.758482010235,3:19567.87924100512,4:9783.93962050256,5:4891.96981025128,6:2445.98490512564,7:1222.99245256282,8:611.49622628141,9:305.7481131407048,10:152.8740565703525,11:76.43702828517624,12:38.21851414258813,13:19.10925707129406,14:9.554628535647032,15:4.777314267823516,16:2.388657133911758,17:1.194328566955879,18:.5971642834779395,19:.2985821417389697,20:.1492910708694849,21:.0746455354347424};var r=28e-5*e;for(var n in o)if(o.hasOwnProperty(n)&&o[n]<=r)return n=parseInt(n,10);return 0},getAttributions:function(e){var t=e.zoom,o=[];if(null!=e.originators&&e.visibility)for(var r,n=0,i=e.originators.length;n<i;n++){r=!0;for(var s=e.originators[n],a=e.originators[n].constraints||[],l=0,u=a.length;l<u;l++){var c=a[l];r=!0;var d=this.getZoomLevelFromScaleDenominator(c.maxScaleDenominator,e.crs),p=this.getZoomLevelFromScaleDenominator(c.minScaleDenominator,e.crs)||21;d&&d>t&&(r=!1),r&&p&&p<t&&(r=!1);var h=c.bbox;if(r&&h){r=!1;var f=e.extent;if(f){var m=[h.top,h.left,h.bottom,h.right];if(this.intersects(f,m)){r=!0;break}}}}if(r){var g=s.logo,y=s.url,v=s.name?s.name:"",_=s.attribution,b=document.createElement("div");b.className="gp-control-attribution";var A=null;(A=document.createElement("a")).className="gp-control-attribution-link",A.target="_blank",b.appendChild(A),y&&(A.href=y);var C=null;!!g?(C=document.createElement("img"),A?(C.className="gp-control-attribution-image",A.appendChild(C)):(C.className="",b.appendChild(C)),C.src=g,C.title=_||v,C.style.height="30px",C.style.width="30px"):A.textContent=v||(_||(y||"")),o.push(b.innerHTML+" ")}}return o},intersects:function(e,t){var o=e[1]<=t[3]&&t[1]<=e[3],r=e[2]<=t[0]&&t[2]<=e[0];return o&&r}};t.default=r},"./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/loglevel/lib/loglevel.js"),n={getLogger:function(e){if(void 0===t)var t={env:{VERBOSE:!1}};t.env.VERBOSE?r.enableAll():r.disableAll();var o=e||"default";return r.getLogger(o)},disableAll:function(){var e=r.getLoggers();for(var t in e){if(Object.hasOwnProperty.call(e,t))e[t].disableAll()}},enableAll:function(){var e=r.getLoggers();for(var t in e){if(Object.hasOwnProperty.call(e,t))e[t].enableAll()}}};t.default=n},"./node_modules/geoportal-extensions-openlayers/src/Common/Utils/MathUtils.js":function(e,t,o){"use strict";o.r(t);var r={modulo:function(e,t){var o=e%t;return o*t<0?o+t:o},decimalToDMS:function(e,t,o){var r=this.modulo(e+180,360)-180,n=Math.abs(3600*r),i=o||0,s=Math.pow(10,i),a=Math.floor(n/3600),l=Math.floor((n-3600*a)/60),u=n-3600*a-60*l;return(u=Math.ceil(u*s)/s)>=60&&(u=0,l+=1),l>=60&&(l=0,a+=1),{d:a,m:l,s:u,direction:t.charAt(r<0?1:0)}},toInteger:function(e,t){var o=parseInt(e,t||10);return!isNaN(o)&&isFinite(o)?o:null},isInteger:function(e){if(isNaN(e))return!1;var t=parseFloat(e);return(0|t)===t},toFloat:function(e){var t=parseFloat(e);return!isNaN(t)&&isFinite(t)?t:null}};t.default=r},"./node_modules/geoportal-extensions-openlayers/src/Common/Utils/Parser.js":function(e,t,o){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}o.r(t);var n=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js").default.getLogger("parser"),i={parse:function(e){var t=null,i="undefined"!=typeof window?window:null;"object"===("undefined"==typeof exports?"undefined":r(exports))&&null===window?t=(new(0,o("./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/index.js").DOMParser)).parseFromString(e,"text/xml"):i.DOMParser?t=(new i.DOMParser).parseFromString(e,"text/xml"):i.ActiveXObject?((t=new i.ActiveXObject("Microsoft.XMLDOM")).async=!1,t.loadXML(e)):n.log("Incompatible environment for DOM Parser !");var s=t.querySelector("parsererror");return s?(console.error(s),null):(n.trace(t),t)},toString:function(e){var t=(new XMLSerializer).serializeToString(e);return n.trace(t),t},format:function(e){for(var t="",o=(e=e.replace(/(>)\s*(<)(\/*)/g,"$1\n$2$3").replace(/ *(.*) +\n/g,"$1\n").replace(/(<.+>)(.+\n)/g,"$1\n$2")).split("\n"),r=0,i="other",s={"single->single":0,"single->closing":-1,"single->opening":0,"single->other":0,"closing->single":0,"closing->closing":-1,"closing->opening":0,"closing->other":0,"opening->single":1,"opening->closing":0,"opening->opening":1,"opening->other":1,"other->single":0,"other->closing":-1,"other->opening":0,"other->other":0},a=0;a<o.length;a++){var l=o[a],u=Boolean(l.match(/<.+\/>/)),c=Boolean(l.match(/<\/.+>/)),d=Boolean(l.match(/<[^!].*>/)),p=u?"single":c?"closing":d?"opening":"other",h=i+"->"+p;i=p;var f="";r+=s[h];for(var m=0;m<r;m++)f+="\t";"opening->closing"===h?t=t.substr(0,t.length-1)+l+"\n":t+=f+l+"\n"}return n.trace(t),t}};t.default=i},"./node_modules/geoportal-extensions-openlayers/src/Common/Utils/ProxyUtils.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),n={proxifyUrl:function(e,t){var o=r.default.getLogger("proxifyUrl");if(!t||!t.hasOwnProperty("proxyUrl")||null===t.proxyUrl||0===t.proxyUrl.trim().length)return e;if(t.noProxyDomains&&Array.isArray(t.noProxyDomains)&&t.noProxyDomains.length>0)for(var n in t.noProxyDomains)if(o.trace("[ProxyUtils] proxifyUrl : analyzing "+t.noProxyDomains[n]),-1!==e.indexOf(t.noProxyDomains[n]))return o.info("[ProxyUtils] proxifyUrl : "+e+" found in noProxyDomains list ("+t.noProxyDomains[n]+")."),e;return t.proxyUrl+encodeURIComponent(e)}};t.default=n},"./node_modules/geoportal-extensions-openlayers/src/Common/Utils/Register.js":function(e,t,o){"use strict";o.r(t);var r={isLoaded:!1,get:function(e){if(""!==e&&null!=e){var t=e.split(":");if(2===t.length){var o=t[0],r=t[1];if(this.hasOwnProperty(o)&&this[o].hasOwnProperty(r))return this[o][r]}}},exist:function(e){if(""===e||null==e)return!1;var t=e.split(":");if(2!==t.length)return!1;var o=t[0],r=t[1];return!!this.hasOwnProperty(o)&&!!this[o].hasOwnProperty(r)},load:function(e){if(!this.isLoaded){for(var t=["IGNF","EPSG","CRS"],o=0;o<t.length;o++){var r=t[o],n=this[r];for(var i in n)if(n.hasOwnProperty(i)){var s=r+":"+i;e.defs(s,this.get(s))}}this.isLoaded=!0}},loadByDefault:function(e){var t={EPSG:{2154:r.EPSG[2154],27571:r.EPSG[27571],27572:r.EPSG[27572],27573:r.EPSG[27573],27574:r.EPSG[27574]},CRS:{84:r.CRS[84]},IGNF:{LAMB93:r.IGNF.LAMB93,LAMBE:r.IGNF.LAMBE,LAMB1:r.IGNF.LAMB1,LAMB2:r.IGNF.LAMB2,LAMB3:r.IGNF.LAMB3,LAMB4:r.IGNF.LAMB4,RGF93G:r.IGNF.RGF93G,WGS84G:r.IGNF.WGS84G}};for(var o in t)if(t.hasOwnProperty(o)){var n=t[o];for(var i in n)if(n.hasOwnProperty(i)){var s=o+":"+i;e.defs(s,n[i])}}},loadByName:function(e,t){if(!this.exist(t))return!1;try{e.defs(t,this.get(t))}catch(e){return!1}return!0},EPSG:{4978:"+proj=geocent +datum=WGS84 +units=m +no_defs ",3857:"+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext  +no_defs",3785:"+title=WGS 84 / Pseudo-Mercator (deprecated) +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext  +no_defs",4149:"+title=CH1903 +proj=longlat +ellps=bessel +towgs84=674.374,15.056,405.346,0,0,0,0 +no_defs ",4150:"+title=CH1903plus +proj=longlat +ellps=bessel +towgs84=674.374,15.056,405.346,0,0,0,0 +no_defs ",4151:"+title=CHTRF95 +proj=longlat +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs ",4171:"+title=RGF93 +proj=longlat +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs ",4230:"+title=ED50 +proj=longlat +ellps=intl +no_defs ",4235:"+title=Guyane Francaise +proj=longlat +ellps=intl +no_defs ",4258:"+title=ETRS89 +proj=longlat +ellps=GRS80 +no_defs ",4275:"+title=NTF +proj=longlat +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +no_defs ",4322:"+title=WGS 72 +proj=longlat +ellps=WGS72 +no_defs ",4326:"+title=WGS 84 +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs ",4467:"+proj=utm +zone=21 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",4470:"+proj=longlat +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs ",4471:"+proj=utm +zone=38 +south +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",4474:"+proj=utm +zone=38 +south +ellps=intl +towgs84=-382,-59,-262,0,0,0,0 +units=m +no_defs ",4558:"+proj=longlat +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs ",4559:"+proj=utm +zone=20 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",4621:"+title=Fort Marigot +proj=longlat +ellps=intl +towgs84=137,248,-430,0,0,0,0 +no_defs ",4622:"+title=Guadeloupe 1948 +proj=longlat +ellps=intl +no_defs ",4623:"+title=CSG67 +proj=longlat +ellps=intl +towgs84=-186,230,110,0,0,0,0 +no_defs ",4624:"+title=RGFG95 +proj=longlat +ellps=GRS80 +towgs84=2,2,-2,0,0,0,0 +no_defs ",4625:"+title=Martinique 1938 +proj=longlat +ellps=intl +no_defs ",4626:"+title=Reunion 1947 +proj=longlat +ellps=intl +no_defs ",4627:"+title=RGR92 +proj=longlat +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs ",4628:"+title=Tahiti 52 +proj=longlat +ellps=intl +towgs84=162,117,154,0,0,0,0 +no_defs ",4629:"+title=Tahaa 54 +proj=longlat +ellps=intl +no_defs ",4630:"+title=IGN72 Nuku Hiva +proj=longlat +ellps=intl +no_defs ",4632:"+title=Combani 1950 +proj=longlat +ellps=intl +towgs84=-382,-59,-262,0,0,0,0 +no_defs ",4633:"+title=IGN56 Lifou +proj=longlat +ellps=intl +no_defs ",4634:"+title=IGN72 Grand Terre +proj=longlat +ellps=intl +no_defs ",4637:"+title=Perroud 1950 +proj=longlat +ellps=intl +towgs84=325,154,172,0,0,0,0 +no_defs ",4638:"+title=Saint Pierre et Miquelon 1950 +proj=longlat +ellps=clrk66 +towgs84=30,430,368,0,0,0,0 +no_defs ",4640:"+title=RRAF 1991 +proj=longlat +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +no_defs ",4641:"+title=IGN53 Mare +proj=longlat +ellps=intl +no_defs ",4645:"+title=RGNC 1991 +proj=longlat +ellps=intl +towgs84=0,0,0,0,0,0,0 +no_defs ",4687:"+proj=longlat +ellps=GRS80 +no_defs ",4662:"+title=IGN72 Grande Terre +proj=longlat +ellps=intl +no_defs ",4689:"+title=IGN63 Hiva Oa +proj=longlat +ellps=intl +no_defs ",4690:"+title=Tahiti 79 +proj=longlat +ellps=intl +no_defs ",4691:"+title=Moorea 87 +proj=longlat +ellps=intl +towgs84=215.525,149.593,176.229,-3.2624,-1.692,-1.1571,10.4773 +no_defs ",4692:"+title=Maupiti 83 +proj=longlat +ellps=intl +towgs84=217.037,86.959,23.956,0,0,0,0 +no_defs ",4698:"+title=IGN 1962 Kerguelen +proj=longlat +ellps=intl +towgs84=145,-187,103,0,0,0,0 +no_defs ",4749:"+title=RGNC91-93 +proj=longlat +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs ",4750:"+title=ST87 Ouvea +proj=longlat +ellps=WGS84 +towgs84=-56.263,16.136,-22.856,0,0,0,0 +no_defs ",4807:"+title=NTF (Paris) +proj=longlat +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +no_defs ",2056:"+title=CH1903+ / LV95 +proj=somerc +lat_0=46.95240555555556 +lon_0=7.439583333333333 +x_0=2600000 +y_0=1200000 +ellps=bessel +towgs84=674.374,15.056,405.346,0,0,0,0 +units=m +no_defs ",2154:"+title=RGF93 / Lambert-93 +proj=lcc +lat_1=49 +lat_2=44 +lat_0=46.5 +lon_0=3 +x_0=700000 +y_0=6600000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",2213:"+title=ETRS89 / TM 30 NE +proj=tmerc +lat_0=0 +lon_0=30 +k=0.9996 +x_0=500000 +y_0=0 +ellps=GRS80 +units=m +no_defs ",2969:"+title=Fort Marigot / UTM zone 20N +proj=utm +zone=20 +ellps=intl +towgs84=137,248,-430,0,0,0,0 +units=m +no_defs ",2970:"+title=Guadeloupe 1948 / UTM zone 20N +proj=utm +zone=20 +ellps=intl +units=m +no_defs ",2971:"+title=CSG67 / UTM zone 22N +proj=utm +zone=22 +ellps=intl +towgs84=-186,230,110,0,0,0,0 +units=m +no_defs ",2972:"+title=RGFG95 / UTM zone 22N +proj=utm +zone=22 +ellps=GRS80 +towgs84=2,2,-2,0,0,0,0 +units=m +no_defs ",2973:"+title=Martinique 1938 / UTM zone 20N +proj=utm +zone=20 +ellps=intl +units=m +no_defs ",2975:"+title=RGR92 / UTM zone 40S +proj=utm +zone=40 +south +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",2976:"+title=Tahiti 52 / UTM zone 6S +proj=utm +zone=6 +south +ellps=intl +towgs84=162,117,154,0,0,0,0 +units=m +no_defs ",2977:"+title=Tahaa 54 / UTM zone 5S +proj=utm +zone=5 +south +ellps=intl +units=m +no_defs ",2978:"+title=IGN72 Nuku Hiva / UTM zone 7S +proj=utm +zone=7 +south +ellps=intl +units=m +no_defs ",2980:"+title=Combani 1950 / UTM zone 38S +proj=utm +zone=38 +south +ellps=intl +towgs84=-382,-59,-262,0,0,0,0 +units=m +no_defs ",2981:"+title=IGN56 Lifou / UTM zone 58S +proj=utm +zone=58 +south +ellps=intl +units=m +no_defs ",2982:"+title=IGN72 Grand Terre / UTM zone 58S (deprecated) +proj=utm +zone=58 +south +ellps=intl +units=m +no_defs ",2984:"+title=RGNC 1991 / Lambert New Caledonia (deprecated) +proj=lcc +lat_1=-20.66666666666667 +lat_2=-22.33333333333333 +lat_0=-21.5 +lon_0=166 +x_0=400000 +y_0=300000 +ellps=intl +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",2986:"+title=Terre Adelie 1950 +proj=stere +towgs84=324.9120,153.2820,172.0260 +a=6378388.0000 +rf=297.0000000000000 +lat_0=-90.000000000 +lon_0=140.000000000 +lat_ts=-67.000000000 +k=0.96027295 +x_0=300000.000 +y_0=-2299363.482 +units=m +no_defs",2987:"+title=Saint Pierre et Miquelon 1950 / UTM zone 21N +proj=utm +zone=21 +ellps=clrk66 +towgs84=30,430,368,0,0,0,0 +units=m +no_defs ",2989:"+title=RRAF 1991 / UTM zone 20N +proj=utm +zone=20 +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",2990:"+title=Reunion 1947 / TM Reunion (deprecated) +proj=tmerc +lat_0=-21.11666666666667 +lon_0=55.53333333333333 +k=1 +x_0=50000 +y_0=160000 +ellps=intl +units=m +no_defs ",2995:"+title=IGN53 Mare / UTM zone 58S +proj=utm +zone=58 +south +ellps=intl +units=m +no_defs ",3038:"+proj=utm +zone=26 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",3039:"+proj=utm +zone=27 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",3040:"+proj=utm +zone=28 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",3041:"+proj=utm +zone=29 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",3045:"+proj=utm +zone=33 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",3046:"+proj=utm +zone=34 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",3047:"+proj=utm +zone=35 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",3048:"+proj=utm +zone=36 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",3049:"+proj=utm +zone=37 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",3050:"+proj=utm +zone=38 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",3051:"+proj=utm +zone=39 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",3034:"+title=ETRS89 / ETRS-LCC +proj=lcc +lat_1=35 +lat_2=65 +lat_0=52 +lon_0=10 +x_0=4000000 +y_0=2800000 +ellps=GRS80 +units=m +no_defs ",3035:"+title=ETRS89 / ETRS-LAEA +proj=laea +lat_0=52 +lon_0=10 +x_0=4321000 +y_0=3210000 +ellps=GRS80 +units=m +no_defs ",3042:"+title=ETRS89 / ETRS-TM30 +proj=utm +zone=30 +ellps=GRS80 +units=m +no_defs ",3043:"+title=ETRS89 / ETRS-TM31 +proj=utm +zone=31 +ellps=GRS80 +units=m +no_defs ",3044:"+title=ETRS89 / ETRS-TM32 +proj=utm +zone=32 +ellps=GRS80 +units=m +no_defs ",25828:"+proj=utm +zone=28 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",25829:"+proj=utm +zone=29 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",25833:"+proj=utm +zone=33 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",25834:"+proj=utm +zone=34 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",25835:"+proj=utm +zone=35 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",25836:"+proj=utm +zone=36 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",25837:"+proj=utm +zone=37 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",25838:"+proj=utm +zone=38 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",3060:"+title=IGN72 Grande Terre / UTM zone 58S +proj=utm +zone=58 +south +ellps=intl +units=m +no_defs ",3163:"+title=RGNC91-93 / Lambert New Caledonia +proj=lcc +lat_1=-20.66666666666667 +lat_2=-22.33333333333333 +lat_0=-21.5 +lon_0=166 +x_0=400000 +y_0=300000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",3164:"+title=ST87 Ouvea / UTM zone 58S +proj=utm +zone=58 +south +ellps=WGS84 +towgs84=-56.263,16.136,-22.856,0,0,0,0 +units=m +no_defs ",3165:"+title=NEA74 Noumea / Noumea Lambert +proj=lcc +lat_1=-22.24469175 +lat_2=-22.29469175 +lat_0=-22.26969175 +lon_0=166.44242575 +x_0=0.66 +y_0=1.02 +ellps=intl +units=m +no_defs ",3166:"+title=NEA74 Noumea / Noumea Lambert 2 +proj=lcc +lat_1=-22.24472222222222 +lat_2=-22.29472222222222 +lat_0=-22.26972222222222 +lon_0=166.4425 +x_0=8.313000000000001 +y_0=-2.354 +ellps=intl +units=m +no_defs ",3169:"+title=RGNC91-93 / UTM zone 57S +proj=utm +zone=57 +south +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",3170:"+title=RGNC91-93 / UTM zone 58S +proj=utm +zone=58 +south +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",3171:"+title=RGNC91-93 / UTM zone 59S +proj=utm +zone=59 +south +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs ",3172:"+title=IGN53 Mare / UTM zone 59S +proj=utm +zone=59 +south +ellps=intl +units=m +no_defs ",3296:"+title=RGPF / UTM zone 5S +proj=utm +zone=5 +south +ellps=GRS80 +units=m +no_defs ",3297:"+title=RGPF / UTM zone 6S +proj=utm +zone=6 +south +ellps=GRS80 +units=m +no_defs ",3298:"+title=RGPF / UTM zone 7S +proj=utm +zone=7 +south +ellps=GRS80 +units=m +no_defs ",3299:"+title=RGPF / UTM zone 8S +proj=utm +zone=8 +south +ellps=GRS80 +units=m +no_defs ",3302:"+title=IGN63 Hiva Oa / UTM zone 7S +proj=utm +zone=7 +south +ellps=intl +units=m +no_defs ",3303:"+title=Fatu Iva 72 / UTM zone 7S +proj=utm +zone=7 +south +ellps=intl +towgs84=347.103,1078.12,2623.92,-33.8875,70.6773,-9.3943,186.074 +units=m +no_defs ",3304:"+title=Tahiti 79 / UTM zone 6S +proj=utm +zone=6 +south +ellps=intl +units=m +no_defs ",3305:"+title=Moorea 87 / UTM zone 6S +proj=utm +zone=6 +south +ellps=intl +towgs84=215.525,149.593,176.229,-3.2624,-1.692,-1.1571,10.4773 +units=m +no_defs ",3306:"+title=Maupiti 83 / UTM zone 5S +proj=utm +zone=5 +south +ellps=intl +towgs84=217.037,86.959,23.956,0,0,0,0 +units=m +no_defs ",3312:"+title=CSG67 / UTM zone 21N +proj=utm +zone=21 +ellps=intl +towgs84=-186,230,110,0,0,0,0 +units=m +no_defs ",3313:"+title=RGFG95 / UTM zone 21N +proj=utm +zone=21 +ellps=GRS80 +towgs84=2,2,-2,0,0,0,0 +units=m +no_defs ",3336:"+title=IGN 1962 Kerguelen / UTM zone 42S +proj=utm +zone=42 +south +ellps=intl +towgs84=145,-187,103,0,0,0,0 +units=m +no_defs ",3395:"+title=WGS 84 / World Mercator +proj=merc +lon_0=0 +k=1 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",3727:"+title=Reunion 1947 / TM Reunion +proj=tmerc +lat_0=-21.11666666666667 +lon_0=55.53333333333333 +k=1 +x_0=160000 +y_0=50000 +ellps=intl +units=m +no_defs ",21781:"+title=CH1903 / LV03 +proj=somerc +lat_0=46.95240555555556 +lon_0=7.439583333333333 +x_0=600000 +y_0=200000 +ellps=bessel +towgs84=674.374,15.056,405.346,0,0,0,0 +units=m +no_defs ",25830:"+title=ETRS89 / UTM zone 30N +proj=utm +zone=30 +ellps=GRS80 +units=m +no_defs ",25831:"+title=ETRS89 / UTM zone 31N +proj=utm +zone=31 +ellps=GRS80 +units=m +no_defs ",25832:"+title=ETRS89 / UTM zone 32N +proj=utm +zone=32 +ellps=GRS80 +units=m +no_defs ",27561:"+title=NTF (Paris) / Lambert Nord France +proj=lcc +lat_1=49.50000000000001 +lat_0=49.50000000000001 +lon_0=0 +k_0=0.999877341 +x_0=600000 +y_0=200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs ",27562:"+title=NTF (Paris) / Lambert Centre France +proj=lcc +lat_1=46.8 +lat_0=46.8 +lon_0=0 +k_0=0.99987742 +x_0=600000 +y_0=200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs ",27563:"+title=NTF (Paris) / Lambert Sud France +proj=lcc +lat_1=44.10000000000001 +lat_0=44.10000000000001 +lon_0=0 +k_0=0.9998774990000001 +x_0=600000 +y_0=200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs ",27564:"+title=NTF (Paris) / Lambert Corse +proj=lcc +lat_1=42.16500000000001 +lat_0=42.16500000000001 +lon_0=0 +k_0=0.9999447100000001 +x_0=234.358 +y_0=185861.369 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs ",27571:"+title=NTF (Paris) / Lambert zone I +proj=lcc +lat_1=49.50000000000001 +lat_0=49.50000000000001 +lon_0=0 +k_0=0.999877341 +x_0=600000 +y_0=1200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs ",27572:"+title=NTF (Paris) / Lambert zone II +proj=lcc +lat_1=46.8 +lat_0=46.8 +lon_0=0 +k_0=0.99987742 +x_0=600000 +y_0=2200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs ",27573:"+title=NTF (Paris) / Lambert zone III +proj=lcc +lat_1=44.10000000000001 +lat_0=44.10000000000001 +lon_0=0 +k_0=0.9998774990000001 +x_0=600000 +y_0=3200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs ",27574:"+title=NTF (Paris) / Lambert zone IV +proj=lcc +lat_1=42.16500000000001 +lat_0=42.16500000000001 +lon_0=0 +k_0=0.9999447100000001 +x_0=234.358 +y_0=4185861.369 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs ",27581:"+title=NTF (Paris) / France I (deprecated) +proj=lcc +lat_1=49.50000000000001 +lat_0=49.50000000000001 +lon_0=0 +k_0=0.999877341 +x_0=600000 +y_0=1200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs ",27582:"+title=NTF (Paris) / France II (deprecated) +proj=lcc +lat_1=46.8 +lat_0=46.8 +lon_0=0 +k_0=0.99987742 +x_0=600000 +y_0=2200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs ",27583:"+title=NTF (Paris) / France III (deprecated) +proj=lcc +lat_1=44.10000000000001 +lat_0=44.10000000000001 +lon_0=0 +k_0=0.9998774990000001 +x_0=600000 +y_0=3200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs ",27584:"+title=NTF (Paris) / France IV (deprecated) +proj=lcc +lat_1=42.16500000000001 +lat_0=42.16500000000001 +lon_0=0 +k_0=0.9999447100000001 +x_0=234.358 +y_0=4185861.369 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs ",27591:"+title=NTF (Paris) / Nord France (deprecated) +proj=lcc +lat_1=49.50000000000001 +lat_0=49.50000000000001 +lon_0=0 +k_0=0.999877341 +x_0=600000 +y_0=200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs ",27592:"+title=NTF (Paris) / Centre France (deprecated) +proj=lcc +lat_1=46.8 +lat_0=46.8 +lon_0=0 +k_0=0.99987742 +x_0=600000 +y_0=200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs ",27593:"+title=NTF (Paris) / Sud France (deprecated) +proj=lcc +lat_1=44.10000000000001 +lat_0=44.10000000000001 +lon_0=0 +k_0=0.9998774990000001 +x_0=600000 +y_0=200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs ",27594:"+title=NTF (Paris) / Corse (deprecated) +proj=lcc +lat_1=42.16500000000001 +lat_0=42.16500000000001 +lon_0=0 +k_0=0.9999447100000001 +x_0=234.358 +y_0=185861.369 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs ",32601:"+proj=utm +zone=1 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32602:"+proj=utm +zone=2 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32603:"+proj=utm +zone=3 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32604:"+proj=utm +zone=4 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32605:"+proj=utm +zone=5 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32606:"+proj=utm +zone=6 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32607:"+proj=utm +zone=7 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32608:"+proj=utm +zone=8 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32609:"+proj=utm +zone=9 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32610:"+proj=utm +zone=10 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32611:"+proj=utm +zone=11 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32612:"+proj=utm +zone=12 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32613:"+proj=utm +zone=13 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32614:"+proj=utm +zone=14 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32615:"+proj=utm +zone=15 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32616:"+proj=utm +zone=16 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32617:"+proj=utm +zone=17 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32618:"+proj=utm +zone=18 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32619:"+proj=utm +zone=19 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32620:"+proj=utm +zone=20 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32621:"+proj=utm +zone=21 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32622:"+proj=utm +zone=22 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32623:"+proj=utm +zone=23 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32624:"+proj=utm +zone=24 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32625:"+proj=utm +zone=25 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32626:"+proj=utm +zone=26 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32627:"+proj=utm +zone=27 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32628:"+proj=utm +zone=28 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32629:"+proj=utm +zone=29 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32630:"+proj=utm +zone=30 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32631:"+proj=utm +zone=31 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32632:"+proj=utm +zone=32 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32633:"+proj=utm +zone=33 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32634:"+proj=utm +zone=34 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32635:"+proj=utm +zone=35 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32636:"+proj=utm +zone=36 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32637:"+proj=utm +zone=37 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32638:"+proj=utm +zone=38 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32639:"+proj=utm +zone=39 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32640:"+proj=utm +zone=40 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32641:"+proj=utm +zone=41 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32642:"+proj=utm +zone=42 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32643:"+proj=utm +zone=43 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32644:"+proj=utm +zone=44 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32645:"+proj=utm +zone=45 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32646:"+proj=utm +zone=46 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32647:"+proj=utm +zone=47 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32648:"+proj=utm +zone=48 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32649:"+proj=utm +zone=49 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32650:"+proj=utm +zone=50 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32651:"+proj=utm +zone=51 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32652:"+proj=utm +zone=52 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32653:"+proj=utm +zone=53 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32654:"+proj=utm +zone=54 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32655:"+proj=utm +zone=55 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32656:"+proj=utm +zone=56 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32657:"+proj=utm +zone=57 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32658:"+proj=utm +zone=58 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32659:"+proj=utm +zone=59 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32660:"+proj=utm +zone=60 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32661:"+proj=stere +lat_0=90 +lat_ts=90 +lon_0=0 +k=0.994 +x_0=2000000 +y_0=2000000 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32662:"+title=WGS 84 / Plate Carree +proj=eqc +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32701:"+proj=utm +zone=1 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32702:"+proj=utm +zone=2 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32703:"+proj=utm +zone=3 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32704:"+proj=utm +zone=4 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32705:"+proj=utm +zone=5 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32706:"+proj=utm +zone=6 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32707:"+proj=utm +zone=7 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32708:"+proj=utm +zone=8 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32709:"+proj=utm +zone=9 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32710:"+proj=utm +zone=10 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32711:"+proj=utm +zone=11 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32712:"+proj=utm +zone=12 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32713:"+proj=utm +zone=13 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32714:"+proj=utm +zone=14 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32715:"+proj=utm +zone=15 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32716:"+proj=utm +zone=16 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32717:"+proj=utm +zone=17 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32718:"+proj=utm +zone=18 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32719:"+proj=utm +zone=19 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32720:"+proj=utm +zone=20 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32721:"+proj=utm +zone=21 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32722:"+proj=utm +zone=22 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32723:"+proj=utm +zone=23 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32724:"+proj=utm +zone=24 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32725:"+proj=utm +zone=25 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32726:"+proj=utm +zone=26 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32727:"+proj=utm +zone=27 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32728:"+proj=utm +zone=28 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32729:"+proj=utm +zone=29 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32730:"+proj=utm +zone=30 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32731:"+proj=utm +zone=31 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32732:"+proj=utm +zone=32 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32733:"+proj=utm +zone=33 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32734:"+proj=utm +zone=34 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32735:"+proj=utm +zone=35 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32736:"+proj=utm +zone=36 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32737:"+proj=utm +zone=37 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32738:"+proj=utm +zone=38 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32739:"+proj=utm +zone=39 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32740:"+proj=utm +zone=40 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32741:"+proj=utm +zone=41 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32742:"+proj=utm +zone=42 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32743:"+proj=utm +zone=43 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32744:"+proj=utm +zone=44 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32745:"+proj=utm +zone=45 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32746:"+proj=utm +zone=46 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32747:"+proj=utm +zone=47 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32748:"+proj=utm +zone=48 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32749:"+proj=utm +zone=49 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32750:"+proj=utm +zone=50 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32751:"+proj=utm +zone=51 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32752:"+proj=utm +zone=52 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32753:"+proj=utm +zone=53 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32754:"+proj=utm +zone=54 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32755:"+proj=utm +zone=55 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32756:"+proj=utm +zone=56 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32757:"+proj=utm +zone=57 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32758:"+proj=utm +zone=58 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32759:"+proj=utm +zone=59 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32760:"+proj=utm +zone=60 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",32761:"+proj=stere +lat_0=-90 +lat_ts=-90 +lon_0=0 +k=0.994 +x_0=2000000 +y_0=2000000 +ellps=WGS84 +datum=WGS84 +units=m +no_defs ",310024802:"+title=Geoportail - France metropolitaine +proj=eqc +nadgrids=null +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=46.500000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",310915814:"+title=Geoportail - Antilles francaises +proj=eqc +nadgrids=null +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=15.000000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",310486805:"+title=Geoportail - Guyane +proj=eqc +nadgrids=null +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=4.000000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",310700806:"+title=Geoportail - Reunion et dependances +proj=eqc +nadgrids=null +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=-21.000000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",310702807:"+title=Geoportail - Mayotte +proj=eqc +nadgrids=null +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=-12.000000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",310706808:"+title=Geoportail - Saint-Pierre et Miquelon +proj=eqc +nadgrids=null +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=47.000000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",310547809:"+title=Geoportail - Nouvelle-Caledonie +proj=eqc +nadgrids=null +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=-22.000000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",310642810:"+title=Geoportail - Wallis et Futuna +proj=eqc +nadgrids=null +towgs84=0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.000000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=-14.000000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",310032811:"+title=Geoportail - Polynesie francaise +proj=eqc +nadgrids=null +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=-15.000000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",310642812:"+title=Geoportail - Kerguelen +proj=eqc +nadgrids=null +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=-49.500000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",310642801:"+title=Geoportail - Crozet +proj=eqc +nadgrids=null +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=-46.000000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",310642813:"+title=Geoportail - Amsterdam et Saint-Paul +proj=eqc +nadgrids=null +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=-38.000000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",310642901:"+title=Geoportail - Monde +proj=mill +towgs84=0.0000,0.0000,0.0000,0.0000,0.0000,0.0000,0.000000 +a=6378137.0000 +rf=298.2572221010000 +lon_0=0.000000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",5489:"+title=RGAF09 geographiques (dms) +proj=longlat +nadgrids=@null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137 +rf=298.257222101 +units=m +no_defs",5490:"+title=RGAF09 UTM Nord Fuseau 20 +proj=tmerc +nadgrids=@null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137 +rf=298.257222101 +lat_0=0.000000000 +lon_0=-63.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs"},CRS:{84:"+title=WGS 84 longitude-latitude +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs "},IGNF:{AMST63:"+title=Amsterdam 1963 +proj=geocent +towgs84=109.753,-528.133,-362.244,0,0,0,0 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",CROZ63:"+title=Crozet 1963 +proj=geocent +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",CSG67:"+title=Guyane CSG67 +proj=geocent +towgs84=-193.0660,236.9930,105.4470,0.4814,-0.8074,0.1276,1.564900 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",ED50:"+title=ED50 +proj=geocent +towgs84=-84.0000,-97.0000,-117.0000 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",ETRS89:"+title=Systeme de reference terrestre Europeen (1989) +proj=geocent +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",GUAD48:"+title=Guadeloupe Ste Anne +proj=geocent +towgs84=-472.2900,-5.6300,-304.1200,0.4362,-0.8374,0.2563,1.898400 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",GUADFM49:"+title=Guadeloupe Fort Marigot +proj=geocent +towgs84=136.5960,248.1480,-429.7890 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",IGN63:"+title=IGN 1963 (Hiva Oa, Tahuata, Mohotani) +proj=geocent +towgs84=410.7210,55.0490,80.7460,-2.5779,-2.3514,-0.6664,17.331100 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",IGN72:"+title=IGN 1972 Grande-Terre / Ile des Pins +proj=geocent +towgs84=-11.6400,-348.6000,291.6800 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",KERG62CAR:"+title=Kerguelen - K0 +proj=geocent +towgs84=144.8990,-186.7700,100.9230 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",MART38:"+title=Martinique Fort-Desaix +proj=geocent +towgs84=126.9260,547.9390,130.4090,-2.7867,5.1612,-0.8584,13.822650 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",MAYO50:"+title=Mayotte Combani +proj=geocent +towgs84=-599.9280,-275.5520,-195.6650,-0.0835,-0.4715,0.0602,49.281400 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",MOOREA87:"+title=Moorea 1987 +proj=geocent +towgs84=215.9820,149.5930,176.2290,3.2624,1.6920,1.1571,10.477300 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",NTF:"+title=Nouvelle Triangulation Francaise +proj=geocent +nadgrids=ntf_r93.gsb,null +wktext +towgs84=-168.0000,-60.0000,320.0000 +a=6378249.2000 +rf=293.4660210000000 +units=m +no_defs",NUKU72:"+title=IGN 1972 Nuku Hiva +proj=geocent +towgs84=165.7320,216.7200,180.5050,-0.6434,-0.4512,-0.0791,7.420400 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",REUN47:"+title=Reunion 1947 +proj=geocent +towgs84=789.5240,-626.4860,-89.9040,0.6006,76.7946,-10.5788,-32.324100 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",RGF93:"+title=Reseau geodesique francais 1993 +proj=geocent +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",RGFG95:"+title=Reseau geodesique francais de Guyane 1995 +proj=geocent +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",RGM04:"+title=RGM04 (Reseau Geodesique de Mayotte 2004) +proj=geocent +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",RGNC:"+title=Reseau Geodesique de Nouvelle-Caledonie +proj=geocent +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",RGPF:"+title=RGPF (Reseau Geodesique de Polynesie Francaise) +proj=geocent +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",RGR92:"+title=Reseau geodesique Reunion 1992 +proj=geocent +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",RGSPM06:"+title=Reseau Geodesique Saint-Pierre-et-Miquelon (2006) +proj=geocent +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",RGTAAF07:"+title=Reseau Geodesique des TAAF (2007) +proj=geocent +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",RRAF91:"+title=RRAF 1991 (Reseau de Reference des Antilles Francaises) +proj=geocent +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",STPL69:"+title=Saint-Paul 1969 +proj=geocent +towgs84=225.571,-346.608,-46.567,0,0,0,0 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",STPM50:"+title=St Pierre et Miquelon 1950 +proj=geocent +towgs84=-95.5930,573.7630,173.4420,-0.9602,1.2510,-1.3918,42.626500 +a=6378206.4000 +rf=294.9786982000000 +units=m +no_defs",TAHAA:"+title=Raiatea - Tahaa 51-54 (Tahaa, Base Terme Est) +proj=geocent +towgs84=72.4380,345.9180,79.4860,-1.6045,-0.8823,-0.5565,1.374600 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",TAHI79:"+title=IGN79 (Tahiti) Iles de la Societe +proj=geocent +towgs84=221.5250,152.9480,176.7680,2.3847,1.3896,0.8770,11.474100 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",TERA50:"+title=Pointe Geologie - Perroud 1950 +proj=geocent +towgs84=324.9120,153.2820,172.0260 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",WALL78:"+title=Wallis-Uvea 1978 (MOP78) +proj=geocent +towgs84=253.0000,-133.0000,-127.0000 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",WGS72:"+title=World Geodetic System 1972 +proj=geocent +towgs84=0.0000,12.0000,6.0000 +a=6378135.0000 +rf=298.2600000000000 +units=m +no_defs",WGS84:"+title=World Geodetic System 1984 +proj=geocent +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",AMST63GEO:"+title=Amsterdam 1963 +proj=longlat +towgs84=109.753,-528.133,-362.244,0,0,0,0 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",CROZ63GEO:"+title=Crozet 1963 +proj=longlat +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",CSG67GEO:"+title=Guyane CSG67 +proj=longlat +towgs84=-193.0660,236.9930,105.4470,0.4814,-0.8074,0.1276,1.564900 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",ED50G:"+title=ED50 +proj=longlat +towgs84=-84.0000,-97.0000,-117.0000 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",GUAD48GEO:"+title=Guadeloupe Ste Anne +proj=longlat +towgs84=-472.2900,-5.6300,-304.1200,0.4362,-0.8374,0.2563,1.898400 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",GUADFM49GEO:"+title=Guadeloupe Fort Marigot +proj=longlat +towgs84=136.5960,248.1480,-429.7890 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",IGN63GEO:"+title=IGN 1963 (Hiva Oa, Tahuata, Mohotani) +proj=longlat +towgs84=410.7210,55.0490,80.7460,-2.5779,-2.3514,-0.6664,17.331100 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",IGN72GEO:"+title=IGN 1972 Grande-Terre / Ile des Pins +proj=longlat +towgs84=-11.6400,-348.6000,291.6800 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",KERG62GEO:"+title=Kerguelen - K0 +proj=longlat +towgs84=144.8990,-186.7700,100.9230 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",MART38GEO:"+title=Martinique Fort-Desaix +proj=longlat +towgs84=126.9260,547.9390,130.4090,-2.7867,5.1612,-0.8584,13.822650 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",MAYO50GEO:"+title=Mayotte Combani +proj=longlat +towgs84=-599.9280,-275.5520,-195.6650,-0.0835,-0.4715,0.0602,49.281400 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",MOOREA87GEO:"+title=Moorea 1987 +proj=longlat +towgs84=215.9820,149.5930,176.2290,3.2624,1.6920,1.1571,10.477300 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",NTFG:"+title=Nouvelle Triangulation Francaise Greenwich degres sexagesimaux +proj=longlat +nadgrids=ntf_r93.gsb,null +wktext +towgs84=-168.0000,-60.0000,320.0000 +a=6378249.2000 +rf=293.4660210000000 +units=m +no_defs",NTFP:"+title=Nouvelle Triangulation Francaise Paris grades +proj=longlat +nadgrids=ntf_r93.gsb,null +wktext +towgs84=-168.0000,-60.0000,320.0000 +a=6378249.2000 +rf=293.4660210000000 +pm=2.337229167 +units=m +no_defs",NUKU72GEO:"+title=IGN 1972 Nuku Hiva +proj=longlat +towgs84=165.7320,216.7200,180.5050,-0.6434,-0.4512,-0.0791,7.420400 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",REUN47GEO:"+title=Reunion 1947 +proj=longlat +towgs84=789.5240,-626.4860,-89.9040,0.6006,76.7946,-10.5788,-32.324100 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",RGF93G:"+title=Reseau geodesique francais 1993 +proj=longlat +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",RGFG95GEO:"+title=Reseau geodesique francais de Guyane 1995 +proj=longlat +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",RGM04GEO:"+title=RGM04 (Reseau Geodesique de Mayotte 2004) +proj=longlat +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",RGNCGEO:"+title=Reseau Geodesique de Nouvelle-Caledonie +proj=longlat +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",RGPFGEO:"+title=RGPF (Reseau Geodesique de Polynesie Francaise) +proj=longlat +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",RGR92GEO:"+title=Reseau geodesique de la Reunion 1992 +proj=longlat +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",RGSPM06GEO:"+title=Saint-Pierre-et-Miquelon (2006) +proj=longlat +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",RGTAAF07G:"+title=Reseau Geodesique des TAAF (2007) (dms) +proj=longlat +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",STPL69GEO:"+title=Saint-Paul 1969 +proj=longlat +towgs84=225.571,-346.608,-46.567,0,0,0,0 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",STPM50GEO:"+title=St Pierre et Miquelon 1950  +proj=longlat +towgs84=-95.5930,573.7630,173.4420,-0.9602,1.2510,-1.3918,42.626500 +a=6378206.4000 +rf=294.9786982000000 +units=m +no_defs",TAHAAGEO:"+title=Raiatea - Tahaa 51-54 (Tahaa, Base Terme Est) +proj=longlat +towgs84=72.4380,345.9180,79.4860,-1.6045,-0.8823,-0.5565,1.374600 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",TAHI79GEO:"+title=IGN79 (Tahiti) Iles de la Societe +proj=longlat +towgs84=221.5250,152.9480,176.7680,2.3847,1.3896,0.8770,11.474100 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",TERA50G:"+title=Pointe Geologie - Perroud 1950 +proj=longlat +towgs84=324.9120,153.2820,172.0260 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",WALL78GEO:"+title=Wallis - Uvea 1978 (MOP78) +proj=longlat +towgs84=253.0000,-133.0000,-127.0000 +a=6378388.0000 +rf=297.0000000000000 +units=m +no_defs",WGS72G:"+title=WGS72 +proj=longlat +towgs84=0.0000,12.0000,6.0000 +a=6378135.0000 +rf=298.2600000000000 +units=m +no_defs",WGS84G:"+title=World Geodetic System 1984 +proj=longlat +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",WGS84RRAFGEO:"+title=Reseau de reference des Antilles francaises (1988-1991) +proj=longlat +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",XGEO:"+title=Systeme CIO-BIH +proj=longlat +towgs84=0.0000,0.0000,0.5000,0.0000,0.0000,0.0140,-0.100000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",AMST63UTM43S:"+title=Amsterdam 1963 UTM fuseau 43 Sud +proj=tmerc +towgs84=109.753,-528.133,-362.244,0,0,0,0 +a=6378388.0000 +rf=297.0000000000000 +lat_0=0.000000000 +lon_0=75.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",CROZ63UTM39S:"+title=Crozet 1963 +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378388.0000 +rf=297.0000000000000 +lat_0=0.000000000 +lon_0=51.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",CSG67UTM21:"+title=Guyane CSG67 UTM fuseau 21 +proj=tmerc +towgs84=-193.0660,236.9930,105.4470,0.4814,-0.8074,0.1276,1.564900 +a=6378388.0000 +rf=297.0000000000000 +lat_0=0.000000000 +lon_0=-57.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs",CSG67UTM22:"+title=Guyane CSG67 UTM fuseau 22 +proj=tmerc +towgs84=-193.0660,236.9930,105.4470,0.4814,-0.8074,0.1276,1.564900 +a=6378388.0000 +rf=297.0000000000000 +lat_0=0.000000000 +lon_0=-51.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs",GEOPORTALANF:"+title=Geoportail - Antilles francaises +proj=eqc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=15.000000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",GEOPORTALASP:"+title=Geoportail - Amsterdam et Saint-Paul +proj=eqc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=-38.000000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",GEOPORTALCRZ:"+title=Geoportail - Crozet +proj=eqc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=-46.000000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",GEOPORTALFXX:"+title=Geoportail - France metropolitaine +proj=eqc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=46.500000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",GEOPORTALGUF:"+title=Geoportail - Guyane +proj=eqc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=4.000000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",GEOPORTALKER:"+title=Geoportail - Kerguelen +proj=eqc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=-49.500000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",GEOPORTALMYT:"+title=Geoportail - Mayotte +proj=eqc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=-12.000000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",GEOPORTALNCL:"+title=Geoportail - Nouvelle-Caledonie +proj=eqc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=-22.000000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",GEOPORTALPYF:"+title=Geoportail - Polynesie francaise +proj=eqc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=-15.000000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",GEOPORTALREU:"+title=Geoportail - Reunion et dependances +proj=eqc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=-21.000000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",GEOPORTALSPM:"+title=Geoportail - Saint-Pierre et Miquelon +proj=eqc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=47.000000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",GEOPORTALWLF:"+title=Geoportail - Wallis et Futuna +proj=eqc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=0.000000000 +lat_ts=-14.000000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",GUAD48UTM20:"+title=Guadeloupe Ste Anne +proj=tmerc +towgs84=-472.2900,-5.6300,-304.1200,0.4362,-0.8374,0.2563,1.898400 +a=6378388.0000 +rf=297.0000000000000 +lat_0=0.000000000 +lon_0=-63.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs",GUADFM49U20:"+title=Guadeloupe Fort Marigot  +proj=tmerc +towgs84=136.5960,248.1480,-429.7890 +a=6378388.0000 +rf=297.0000000000000 +lat_0=0.000000000 +lon_0=-63.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs",IGN63UTM7S:"+title=IGN 1963 - Hiva Oa, Tahuata, Mohotani - UTM fuseau 7 Sud +proj=tmerc +towgs84=410.7210,55.0490,80.7460,-2.5779,-2.3514,-0.6664,17.331100 +a=6378388.0000 +rf=297.0000000000000 +lat_0=0.000000000 +lon_0=-141.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",IGN72UTM58S:"+title=IGN 1972 - UTM fuseau 58 Sud +proj=tmerc +towgs84=-11.6400,-348.6000,291.6800 +a=6378388.0000 +rf=297.0000000000000 +lat_0=0.000000000 +lon_0=165.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",KERG62UTM42S:"+title=Kerguelen 1962 +proj=tmerc +towgs84=144.8990,-186.7700,100.9230 +a=6378388.0000 +rf=297.0000000000000 +lat_0=0.000000000 +lon_0=69.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",LAMB1:"+title=Lambert I +proj=lcc +nadgrids=ntf_r93.gsb,null +wktext +towgs84=-168.0000,-60.0000,320.0000 +a=6378249.2000 +rf=293.4660210000000 +pm=2.337229167 +lat_0=49.500000000 +lon_0=0.000000000 +k_0=0.99987734 +lat_1=49.500000000 +x_0=600000.000 +y_0=200000.000 +units=m +no_defs",LAMB1C:"+title=Lambert I Carto +proj=lcc +nadgrids=ntf_r93.gsb,null +wktext +towgs84=-168.0000,-60.0000,320.0000 +a=6378249.2000 +rf=293.4660210000000 +pm=2.337229167 +lat_0=49.500000000 +lon_0=0.000000000 +k_0=0.99987734 +lat_1=49.500000000 +x_0=600000.000 +y_0=1200000.000 +units=m +no_defs",LAMB2:"+title=Lambert II +proj=lcc +nadgrids=ntf_r93.gsb,null +wktext +towgs84=-168.0000,-60.0000,320.0000 +a=6378249.2000 +rf=293.4660210000000 +pm=2.337229167 +lat_0=46.800000000 +lon_0=0.000000000 +k_0=0.99987742 +lat_1=46.800000000 +x_0=600000.000 +y_0=200000.000 +units=m +no_defs",LAMB2C:"+title=Lambert II Carto +proj=lcc +nadgrids=ntf_r93.gsb,null +wktext +towgs84=-168.0000,-60.0000,320.0000 +a=6378249.2000 +rf=293.4660210000000 +pm=2.337229167 +lat_0=46.800000000 +lon_0=0.000000000 +k_0=0.99987742 +lat_1=46.800000000 +x_0=600000.000 +y_0=2200000.000 +units=m +no_defs",LAMB3:"+title=Lambert III +proj=lcc +nadgrids=ntf_r93.gsb,null +wktext +towgs84=-168.0000,-60.0000,320.0000 +a=6378249.2000 +rf=293.4660210000000 +pm=2.337229167 +lat_0=44.100000000 +lon_0=0.000000000 +k_0=0.99987750 +lat_1=44.100000000 +x_0=600000.000 +y_0=200000.000 +units=m +no_defs",LAMB3C:"+title=Lambert III Carto +proj=lcc +nadgrids=ntf_r93.gsb,null +wktext +towgs84=-168.0000,-60.0000,320.0000 +a=6378249.2000 +rf=293.4660210000000 +pm=2.337229167 +lat_0=44.100000000 +lon_0=0.000000000 +k_0=0.99987750 +lat_1=44.100000000 +x_0=600000.000 +y_0=3200000.000 +units=m +no_defs",LAMB4:"+title=Lambert IV +proj=lcc +nadgrids=ntf_r93.gsb,null +wktext +towgs84=-168.0000,-60.0000,320.0000 +a=6378249.2000 +rf=293.4660210000000 +pm=2.337229167 +lat_0=42.165000000 +lon_0=0.000000000 +k_0=0.99994471 +lat_1=42.165000000 +x_0=234.358 +y_0=185861.369 +units=m +no_defs",LAMB4C:"+title=Lambert IV Carto +proj=lcc +nadgrids=ntf_r93.gsb,null +wktext +towgs84=-168.0000,-60.0000,320.0000 +a=6378249.2000 +rf=293.4660210000000 +pm=2.337229167 +lat_0=42.165000000 +lon_0=0.000000000 +k_0=0.99994471 +lat_1=42.165000000 +x_0=234.358 +y_0=4185861.369 +units=m +no_defs",LAMB93:"+title=Lambert 93 +proj=lcc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=46.500000000 +lon_0=3.000000000 +lat_1=44.000000000 +lat_2=49.000000000 +x_0=700000.000 +y_0=6600000.000 +units=m +no_defs",RGF93CC42:"+title=Lambert conique conforme Zone 1 +proj=lcc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=42.000000000 +lon_0=3.000000000 +lat_1=41.200000000 +lat_2=42.800000000 +x_0=1700000.000 +y_0=1200000.000 +units=m +no_defs",RGF93CC43:"+title=Lambert conique conforme Zone 2 +proj=lcc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=43.000000000 +lon_0=3.000000000 +lat_1=42.200000000 +lat_2=43.800000000 +x_0=1700000.000 +y_0=2200000.000 +units=m +no_defs",RGF93CC44:"+title=Lambert conique conforme Zone 3 +proj=lcc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=44.000000000 +lon_0=3.000000000 +lat_1=43.200000000 +lat_2=44.800000000 +x_0=1700000.000 +y_0=3200000.000 +units=m +no_defs",RGF93CC45:"+title=Lambert conique conforme Zone 4 +proj=lcc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=45.000000000 +lon_0=3.000000000 +lat_1=44.200000000 +lat_2=45.800000000 +x_0=1700000.000 +y_0=4200000.000 +units=m +no_defs",RGF93CC46:"+title=Lambert conique conforme Zone 5 +proj=lcc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=46.000000000 +lon_0=3.000000000 +lat_1=45.200000000 +lat_2=46.800000000 +x_0=1700000.000 +y_0=5200000.000 +units=m +no_defs",RGF93CC47:"+title=Lambert conique conforme Zone 6 +proj=lcc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=47.000000000 +lon_0=3.000000000 +lat_1=46.200000000 +lat_2=47.800000000 +x_0=1700000.000 +y_0=6200000.000 +units=m +no_defs",RGF93CC48:"+title=Lambert conique conforme Zone 7 +proj=lcc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=48.000000000 +lon_0=3.000000000 +lat_1=47.200000000 +lat_2=48.800000000 +x_0=1700000.000 +y_0=7200000.000 +units=m +no_defs",RGF93CC49:"+title=Lambert conique conforme Zone 8 +proj=lcc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=49.000000000 +lon_0=3.000000000 +lat_1=48.200000000 +lat_2=49.800000000 +x_0=1700000.000 +y_0=8200000.000 +units=m +no_defs",RGF93CC50:"+title=Lambert conique conforme Zone 9 +proj=lcc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=50.000000000 +lon_0=3.000000000 +lat_1=49.200000000 +lat_2=50.800000000 +x_0=1700000.000 +y_0=9200000.000 +units=m +no_defs",LAMBE:"+title=Lambert II etendu +proj=lcc +nadgrids=ntf_r93.gsb,null +wktext +towgs84=-168.0000,-60.0000,320.0000 +a=6378249.2000 +rf=293.4660210000000 +pm=2.337229167 +lat_0=46.800000000 +lon_0=0.000000000 +k_0=0.99987742 +lat_1=46.800000000 +x_0=600000.000 +y_0=2200000.000 +units=m +no_defs",MART38UTM20:"+title=Martinique Fort-Desaix +proj=tmerc +towgs84=126.9260,547.9390,130.4090,-2.7867,5.1612,-0.8584,13.822650 +a=6378388.0000 +rf=297.0000000000000 +lat_0=0.000000000 +lon_0=-63.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs",MAYO50UTM38S:"+title=Mayotte Combani +proj=tmerc +towgs84=-599.9280,-275.5520,-195.6650,-0.0835,-0.4715,0.0602,49.281400 +a=6378388.0000 +rf=297.0000000000000 +lat_0=0.000000000 +lon_0=45.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",MILLER:"+title=Geoportail - Monde +proj=mill +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lon_0=0.000000000 +x_0=0.000 +y_0=0.000 +units=m +no_defs",MOOREA87U6S:"+title=Moorea 1987 - UTM fuseau 6 Sud +proj=tmerc +towgs84=215.9820,149.5930,176.2290,3.2624,1.6920,1.1571,10.477300 +a=6378388.0000 +rf=297.0000000000000 +lat_0=0.000000000 +lon_0=-147.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",NUKU72U7S:"+title=IGN 1972 Nuku Hiva - UTM fuseau 7 Sud +proj=tmerc +towgs84=165.7320,216.7200,180.5050,-0.6434,-0.4512,-0.0791,7.420400 +a=6378388.0000 +rf=297.0000000000000 +lat_0=0.000000000 +lon_0=-141.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",RGM04UTM38S:"+title=UTM fuseau 38 Sud (Reseau Geodesique de Mayotte 2004) +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=45.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",RGNCUTM57S:"+title=Reseau Geodesique de Nouvelle-Caledonie - UTM fuseau 57 Sud +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=159.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",RGNCUTM58S:"+title=Reseau Geodesique de Nouvelle-Caledonie - UTM fuseau 58 Sud +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=165.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",RGNCUTM59S:"+title=Reseau Geodesique de Nouvelle-Caledonie - UTM fuseau 59 Sud +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=171.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",RGPFUTM5S:"+title=RGPF - UTM fuseau 5 Sud +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=-153.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",RGPFUTM6S:"+title=RGPF - UTM fuseau 6 Sud +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=-147.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",RGPFUTM7S:"+title=RGPF - UTM fuseau 7 Sud +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=-141.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",RGR92UTM40S:"+title=RGR92 UTM fuseau 40 Sud +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=57.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",RGSPM06U21:"+title=Saint-Pierre-et-Miquelon (2006) UTM Fuseau 21 Nord +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=-57.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs",STPL69UTM43S:"+title=Saint-Paul 1969 UTM fuseau 43 Sud +proj=tmerc +towgs84=225.571,-346.608,-46.567,0,0,0,0 +a=6378388.0000 +rf=297.0000000000000 +lat_0=0.000000000 +lon_0=75.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",STPM50UTM21:"+title=St Pierre et Miquelon 1950 +proj=tmerc +towgs84=-95.5930,573.7630,173.4420,-0.9602,1.2510,-1.3918,42.626500 +a=6378206.4000 +rf=294.9786982000000 +lat_0=0.000000000 +lon_0=-57.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs",TAHAAUTM05S:"+title=Tahaa 1951 +proj=tmerc +towgs84=72.4380,345.9180,79.4860,-1.6045,-0.8823,-0.5565,1.374600 +a=6378388.0000 +rf=297.0000000000000 +lat_0=0.000000000 +lon_0=-153.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",TAHI51UTM06S:"+title=Tahiti-Terme Nord UTM fuseau 6 Sud +proj=tmerc +towgs84=162.0000,117.0000,154.0000 +a=6378388.0000 +rf=297.0000000000000 +lat_0=0.000000000 +lon_0=-147.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",TAHI79UTM6S:"+title=Tahiti 1979 +proj=tmerc +towgs84=221.5250,152.9480,176.7680,2.3847,1.3896,0.8770,11.474100 +a=6378388.0000 +rf=297.0000000000000 +lat_0=0.000000000 +lon_0=-147.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",TERA50STEREO:"+title=Terre Adelie 1950 +proj=stere +towgs84=324.9120,153.2820,172.0260 +a=6378388.0000 +rf=297.0000000000000 +lat_0=-90.000000000 +lon_0=140.000000000 +lat_ts=-67 +k=0.96027295 +x_0=300000.000 +y_0=-2299363.482 +units=m +no_defs",UTM01SW84:"+title=World Geodetic System 1984 UTM fuseau 01 Sud +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=-177.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",UTM20W84GUAD:"+title=World Geodetic System 1984 UTM fuseau 20 Nord-Guadeloupe +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=-63.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs",UTM20W84MART:"+title=World Geodetic System 1984 UTM fuseau 20 Nord-Martinique +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=-63.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs",UTM22RGFG95:"+title=RGFG95 UTM fuseau 22 Nord-Guyane +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=-51.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs",UTM39SW84:"+title=World Geodetic System 1984 UTM fuseau 39 Sud +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=51.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",UTM42SW84:"+title=World Geodetic System 1984 UTM fuseau 42 Sud +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=69.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",UTM43SW84:"+title=World Geodetic System 1984 UTM fuseau 43 Sud +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=75.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",WALL78UTM1S:"+title=Wallis-Uvea 1978 (MOP78) UTM 1 SUD +proj=tmerc +towgs84=253.0000,-133.0000,-127.0000 +a=6378388.0000 +rf=297.0000000000000 +lat_0=0.000000000 +lon_0=-177.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=10000000.000 +units=m +no_defs",ETRS89GEO:"+title=ETRS89 geographiques (dms) +proj=longlat +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +units=m +no_defs",ETRS89LAEA:"+title=ETRS89 Lambert Azimutal Equal Area +proj=laea +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=52.000000000 +lon_0=10.000000000 +x_0=4321000.000 +y_0=3210000.000 +units=m +no_defs",ETRS89LCC:"+title=ETRS89 Lambert Conformal Conic +proj=lcc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=52.000000000 +lon_0=9.999999995 +lat_1=35.000000000 +lat_2=65.000000000 +x_0=4000000.000 +y_0=2800000.000 +units=m +no_defs",UTM26ETRS89:"+title=Europe - de 30d a 24d Ouest +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=-27.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs",UTM27ETRS89:"+title=Europe - de 24d a 18d Ouest +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=-21.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs",UTM28ETRS89:"+title=Europe - de 18d a 12d Ouest +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=-15.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs",UTM29ETRS89:"+title=Europe - de 12d a 6d Ouest +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=-9.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs",UTM30ETRS89:"+title=Europe - de -6d a 0d Ouest +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=-3.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs",UTM31ETRS89:"+title=Europe - de 0d a 6d Est +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=3.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs",UTM32ETRS89:"+title=Europe - de 6d a 12d Est +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=9.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs",UTM33ETRS89:"+title=Europe - de 12d a 18d Est +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=15.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs",UTM34ETRS89:"+title=Europe - de 18d a 24d Est +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=21.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs",UTM35ETRS89:"+title=Europe - de 24d a 30d Est +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=27.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs",UTM36ETRS89:"+title=Europe - de 30d a 36d Est +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=33.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs",UTM37ETRS89:"+title=Europe - de 36d a 42d Est +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=39.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs",UTM38ETRS89:"+title=Europe - de 42d a 48d Est +proj=tmerc +nadgrids=null +wktext +towgs84=0.0000,0.0000,0.0000 +a=6378137.0000 +rf=298.2572221010000 +lat_0=0.000000000 +lon_0=45.000000000 +k_0=0.99960000 +x_0=500000.000 +y_0=0.000 +units=m +no_defs"}};t.default=r},"./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SearchEngineUtils.js":function(e,t,o){"use strict";o.r(t);t.default={advancedSearchFiltersByDefault:{PositionOfInterest:[{name:"category",title:"Type",value:["cimetière","aérodrome","réservoir","administratif","construction linéaire","construction ponctuelle","construction surfacique","cours d'eau","détail hydrographique","détail orographique","équipement de transport","plan d'eau","poste de transformation","terrain de sport","transport par câble","zone d'activité ou d'intérêt","zone d'habitation","lieu-dit non habité"]},{name:"postcode",title:"Code postal"},{name:"citycode",title:"Code INSEE"}],StreetAddress:[{name:"city",title:"Ville"},{name:"postcode",title:"Code postal"},{name:"citycode",title:"Code INSEE"}],CadastralParcel:[{name:"departmentcode",title:"Code département (INSEE)",description:"Code INSEE du département (ex: 01, 94)"},{name:"municipalitycode",title:"Code commune (INSEE)",description:"Code INSEE de la commune : 3 chiffres (ex: 067)"},{name:"oldmunicipalitycode",title:"Commune absorbée",description:"Commune absorbée : 3 chiffres (ex: 000, 001)"},{name:"districtcode",title:"Arrondissement",description:"Arrondissement : 3 chiffres (ex: 004, 012)"},{name:"section",title:"Section",description:"Section Cadastrale : 2 caractères (chiffre et/ou lettre)"},{name:"number",title:"Numéro",description:"Numéro de la parcelle : 4 chiffres (ex: 0041, 0250)"},{name:"sheet",title:"Feuille",description:"Numéro de la feuille cadastrale"}]},zoomToResultsByDefault:function(e){var t=15,o=e.service,r=e.fields,n=e.type,i={1:11,2:12,3:13,4:14,5:15,6:16,7:17,8:17};return"SuggestedLocation"===o&&"PositionOfInterest"===n&&(t=i[r.classification]),"GeocodedLocation"===o&&"PositionOfInterest"===n&&(t=i[r.importance]||14),"StreetAddress"===n&&(t=17),"CadastralParcel"===n&&(t=17),t}}},"./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js":function(e,t,o){"use strict";o.r(t);var r,n={generate:(r=Math.floor(Date.now()),function(){return r++}),name:function(e){var t=null,o=e.lastIndexOf("-");return t=-1===o?e:e.substring(0,o),t},index:function(e){var t=null,o=this.name(e),r=o.lastIndexOf("_");return-1!==r&&(t=o.substring(r+1)),t},uuid:function(e){var t=null,o=e.lastIndexOf("-");return-1!==o&&(t=parseInt(e.substring(o+1),10)),t}};t.default=n},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CRS/AutoLoadCRS.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CRS/CRS.js");r.default.loadByDefault(),r.default.overload()},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CRS/CRS.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/proj4/dist/proj4-src.js-exposed"),n=o.n(r),i=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CRS/Proj4.js"),s=o("./node_modules/ol/proj.js"),a=o("./node_modules/ol/extent.js"),l=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/Register.js"),u=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js").default.getLogger("CRS"),c={projectionsExtent:{"EPSG:2154":{left:-9.62,bottom:41.18,right:10.3,top:51.54},"EPSG:27572":{left:-4.87,bottom:42.33,right:8.23,top:51.14}},load:function(){if(u.trace("Loading custom definitions projections"),!l.default.isLoaded){l.default.load(n.a);try{Object(i.register)(n.a),window.ol&&window.ol.proj&&window.ol.proj.proj4&&(window.ol.proj.proj4.register=i.register,window.ol.proj.proj4.register(n.a))}catch(e){u.error(e)}}},loadByDefault:function(){if(u.trace("Loading custom definitions projections by default"),!l.default.isLoaded){l.default.loadByDefault(n.a);try{Object(i.register)(n.a),window.ol&&window.ol.proj&&window.ol.proj.proj4&&(window.ol.proj.proj4.register=i.register,window.ol.proj.proj4.register(n.a))}catch(e){u.error(e)}}},loadByName:function(e){if(u.trace("Loading a custom definition projection : ",e),!l.default.isLoaded){l.default.loadByName(n.a,e);try{Object(i.register)(n.a),window.ol&&window.ol.proj&&window.ol.proj.proj4&&(window.ol.proj.proj4.register=i.register,window.ol.proj.proj4.register(n.a))}catch(e){u.error(e)}}},overload:function(){for(var e in u.trace("Loading projections aera (extent)"),this.projectionsExtent)if(this.projectionsExtent.hasOwnProperty(e)){var t=this.projectionsExtent[e],o=Object(s.get)(e),r=Object(s.getTransform)("EPSG:4326",o),n=Object(a.applyTransform)([t.bottom,t.right,t.top,t.left],r);o.setExtent(n),Object(s.addProjection)(o),window.ol&&window.ol.proj&&window.ol.proj.addProjection&&window.ol.proj.addProjection(o)}}};t.default=c,window.ol&&window.ol.proj&&window.ol.proj.proj4&&(window.ol.proj.proj4.register=i.register)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CRS/Proj4.js":function(e,t,o){"use strict";o.r(t),o.d(t,"register",(function(){return a}));var r=o("./node_modules/ol/proj.js"),n=o("./node_modules/ol/proj/transforms.js"),i=o("./node_modules/ol/proj/Projection.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js").default.getLogger("CRS");function a(e){var t=Object.keys(e.defs);s.trace("proj. codes :",t);var o,a,l=t.length;for(o=0;o<l;++o){var u=t[o];if(!Object(r.get)(u)){var c=e.defs(u);Object(r.addProjection)(new i.default({code:u,axisOrientation:c.axis,metersPerUnit:c.to_meter,units:c.units}))}}for(o=0;o<l;++o){var d=t[o],p=Object(r.get)(d);for(a=0;a<l;++a){var h=t[a],f=Object(r.get)(h);if(!Object(n.get)(d,h))if(e.defs[d]===e.defs[h])Object(r.addEquivalentProjections)([p,f]);else{var m=e(d,h);Object(r.addCoordinateTransforms)(p,f,m.forward,m.inverse)}}}}},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Attribution/GPattributionOpenLayers.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Drawing/GPdrawingOpenLayers.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Editor/GPeditorOpenLayers.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/ElevationPath/GPelevationPathOpenLayers.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Export/GPexportOpenLayers.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/GetFeatureInfo/GPgetFeatureInfoOpenLayers.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Isochrone/GPisochronOpenLayers.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/LayerImport/GPimportOpenLayers.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/LayerSwitcher/GPlayerSwitcherOpenLayers.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/LocationSelector/GPlocationOpenLayers.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Measures/GPmeasureAreaOpenLayers.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Measures/GPmeasureAzimuthOpenLayers.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Measures/GPmeasureLengthOpenLayers.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/MousePosition/GPmousePositionOpenLayers.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/ReverseGeocoding/GPreverseGeocodingOpenLayers.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Route/GProuteOpenLayers.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/SearchEngine/GPsearchEngineOpenLayers.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/ToolBoxMeasure/GPtoolBoxMeasureOpenLayers.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/GPgeneralWidgetOpenLayers.css":function(e,t,o){},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Drawing.js":function(e,t,o){"use strict";o.r(t);o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Drawing/GPdrawingOpenLayers.css");var r=o("./node_modules/ol/control/Control.js"),n=o("./node_modules/ol/Observable.js"),i=o("./node_modules/ol/Collection.js"),s=o("./node_modules/ol/Overlay.js"),a=o("./node_modules/ol/proj.js"),l=o("./node_modules/ol/source/Vector.js"),u=o("./node_modules/ol/layer/Vector.js"),c=o("./node_modules/ol/style.js"),d=o("./node_modules/ol/geom.js"),p=o("./node_modules/ol/geom/LinearRing.js"),h=o("./node_modules/ol/interaction.js"),f=o("./node_modules/ol/events/condition.js"),m=o("./node_modules/ol/sphere.js"),g=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),y=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/Interactions.js"),v=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/MarkersOther.js"),_=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/Draggable.js"),b=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js"),A=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/ColorUtils.js"),C=o("./node_modules/geoportal-extensions-openlayers/src/Common/Controls/DrawingDOM.js"),E=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Formats/KML.js"),S=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Formats/GeoJSON.js"),w=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Formats/GPX.js"),O=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/LayerSwitcher.js"),I=g.default.getLogger("Drawing"),x=function(e){function t(o){if(o=o||{},!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");this._initialize(o),this._container=this._initContainer(),e.call(this,{element:this._container,target:o.target,render:o.render})}return e&&(t.__proto__=e),t.DefaultTools={points:!0,lines:!0,polygons:!0,holes:!1,text:!0,remove:!0,display:!0,tooltip:!0,edit:!0,export:!0,measure:!1},t.DefaultLabels={control:"Annoter la carte",creatingTools:"Outils de création",points:"Placer des points",lines:"Dessiner des lignes",polygons:"Dessiner des polygones",holes:"Créer des trous sur un polygone",text:"Ecrire sur la carte",editingTools:"Outils d'édition",edit:"Editer les tracés",display:"Modifier l'apparence des objets",tooltip:"Modifier les textes / infos-bulles",remove:"Supprimer des objets",export:"Exporter",exportTitle:"Exporter en KML",applyToObject:"Appliquer à l'objet",saveDescription:"Enregistrer",setAsDefault:"Définir par défaut",strokeColor:"Couleur du trait : ",strokeWidth:"Epaisseur du trait : ",fillColor:"Couleur de remplissage : ",fillOpacity:"Opacité du remplissage : ",markerSize:"Taille du pictogramme : ",markerColor:"Couleur du pictogramme : ",labelDisplay:"Afficher le label : "},t.DefaultStyles={textFillColor:"#000000",textStrokeColor:"#FFFFFF",textStrokeWidth:6,textIcon1x1:{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR4nGNiYAAAAAkAAxkR2eQAAAAASUVORK5CYII=",anchor:[0,0]},polyFillColor:"#ffffff",polyFillOpacity:.4,polyStrokeColor:"#ffcc33",polyStrokeWidth:4,strokeColor:"#ffcc33",strokeWidth:4,markerSize:1,markerColor:"#ffcc33",labelDisplay:!0},t.DefaultCursorStyle={radius:6,strokeColor:"#FFF",strokeWidth:1,fillColor:"rgba(0, 153, 255, 1)"},t.prototype=Object.create(e.prototype,{}),t.prototype.assign=function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t])},t.prototype.assign(C.default),t.prototype.constructor=t,t.prototype.setMap=function(t){var o=this;if(e.prototype.setMap.call(this,t),this.getMap()&&this.eventKey&&Object(n.unByKey)(this.eventKey),null!=t){if(this.draggable&&_.default.dragElement(this._drawingPanel,this._drawingPanelHeader,t.getTargetElement()),!this.collapsed)document.getElementById(this._addUID("GPshowDrawing")).checked="checked";this.layer&&this.setLayer(this.layer),this.eventKey=this.getMap().getLayers().on("remove",(function(e){e.element===o.layer&&(o.layer=null,o.interactionCurrent&&(o.getMap().removeInteraction(o.interactionCurrent),o.interactionCurrent=null))}))}},t.prototype.exportFeatures=function(){var t=null;if(null==e.prototype.getMap.call(this))return I.log("Impossible to export : control isn't attached to any map."),t;if(!this.layer)return I.log("Impossible to export : no layer is hosting features."),t;if(!this.layer.getSource()||!this.layer.getSource().getFeatures()||!this.layer.getSource().getFeatures().length)return I.log("Impossible to export : no features found."),t;this.featuresCollectionSelected&&this.featuresCollectionSelected.clear();var o=null;switch(this.getExportFormat()){case"KML":o=new E.default({writeStyles:!0});break;case"GPX":o=new w.default({});break;case"GEOJSON":o=new S.default({})}if(!o)return I.log("Impossible to export : format unknown !?"),t;var r=this.layer.getSource().getProjection();return r=r||this.getMap().getView().getProjection(),t=o.writeFeatures(this.layer.getSource().getFeatures(),{dataProjection:"EPSG:4326",featureProjection:r})},t.prototype.setCollapsed=function(e){void 0!==e?e&&this.collapsed||!e&&!this.collapsed||(this.onShowDrawingClick(),this._showDrawingContainer.checked=!e):I.error("[ERROR] Drawing:setCollapsed - missing collapsed parameter")},t.prototype.setExportName=function(e){this._exportName=e},t.prototype.getExportName=function(){return this._exportName},t.prototype.setExportFormat=function(e){switch(this._exportFormat=e?e.toUpperCase():"KML",e.toUpperCase()){case"KML":this._exportExt=".kml",this._exportMimeType="application/vnd.google-earth.kml+xml";break;case"GPX":this._exportExt=".gpx",this._exportMimeType="application/gpx+xml";break;case"GEOJSON":this._exportExt=".geojson",this._exportMimeType="application/geo+json";break;default:this._exportFormat="KML"}},t.prototype.getExportFormat=function(){return this._exportFormat},t.prototype.setLayer=function(e){var t=this;if(e)if(e instanceof u.default){var o=this.getMap().getLayers();if(o){var r=!1;o.forEach((function(t){t===e&&(I.trace("layer already in map. Not adding."),r=!0)})),r||this.getMap().addLayer(e),e.getSource().getFeatures().forEach((function(e){if("function"==typeof e.getStyle()){var o=e.getStyleFunction();if(o){var r=o.call(t,e,0);r&&0!==r.length&&e.setStyle(Array.isArray(r)?r[0]:r)}}})),this.layer=e,this.getMap().getControls().forEach((function(e){if(e instanceof O.default){var o=t.layer.gpLayerId;e._layers[o].title===o&&e.addLayer(t.layer,{title:t.options.layerDescription.title,description:t.options.layerDescription.description})}}))}}else I.log("no valid layer given for hosting drawn features.");else this.layer=null},t.prototype.getLayer=function(){return this.layer},t.prototype.getContainer=function(){return this._container},t.prototype._getsMarkersOptionsFromSrc=function(e){for(var t=null,o=0;o<this.options.markersList.length;o++)if(e&&this.options.markersList[o].src===e)return t=this.options.markersList[o];return t},t.prototype._getIconStyleOptions=function(e){var t={};return Object.keys(e).forEach((function(o){switch(o){case"src":case"size":case"scale":case"color":case"anchor":case"anchorOrigin":case"anchorXUnits":case"anchorYUnits":t[o]=e[o]}})),t},t.prototype._initialize=function(e){var o=this;this._uid=b.default.generate(),this._exportName="Croquis",this._exportFormat="KML",this._exportMimeType="application/vnd.google-earth.kml+xml",this._exportExt=".kml",e=e||{},this.options=e,this.options.layerDescription||(this.options.layerDescription={title:"Croquis",description:"Mon croquis"}),this.options.tools||(this.options.tools={}),Object.keys(t.DefaultTools).forEach((function(e){o.options.tools.hasOwnProperty(e)||(o.options.tools[e]=t.DefaultTools[e])})),this.options.cursorStyle||(this.options.cursorStyle={}),Object.keys(t.DefaultCursorStyle).forEach((function(e){o.options.cursorStyle.hasOwnProperty(e)||(o.options.cursorStyle[e]=t.DefaultCursorStyle[e])})),this.options.collapsed=void 0===e.collapsed||e.collapsed,this.collapsed=this.options.collapsed,this.options.draggable=void 0!==e.draggable&&e.draggable,this.draggable=this.options.draggable,this.options.markersList=e.markersList||v.default.drawing_api,this.options.labels||(this.options.labels={}),Object.keys(t.DefaultLabels).forEach((function(e){o.options.labels.hasOwnProperty(e)||(o.options.labels[e]=t.DefaultLabels[e])})),this.options.defaultStyles||(this.options.defaultStyles={}),Object.keys(t.DefaultStyles).forEach((function(r){if(e.defaultStyles.hasOwnProperty(r)){if("polyFillOpacity"===r&&(e.defaultStyles[r]<0||e.defaultStyles[r]>1))return I.log("Wrong value ("+e.defaultStyles[r]+") for defaultStyles.polyFillOpactity. Must be between 0 and 1"),void(o.options.defaultStyles[r]=t.DefaultStyles[r]);if("strokeWidth"===r||"polyStrokeWidth"===r){var n=parseInt(e.defaultStyles[r],10);if(isNaN(n)||n<0)return I.log("Wrong value ("+e.defaultStyles[r]+") for defaultStyles.strokeWidth. Must be a positive interger value."),void(o.options.defaultStyles[r]=t.DefaultStyles[r]);o.options.defaultStyles[r]=n}if("markerSize"===r){var i=parseFloat(e.defaultStyles[r]);if(isNaN(i)||i<0)return I.log("Wrong value ("+e.defaultStyles[r]+") for defaultStyles.markerSize. Must be a positive value."),void(o.options.defaultStyles[r]=t.DefaultStyles[r]);o.options.defaultStyles[r]=i}}else o.options.defaultStyles[r]=t.DefaultStyles[r]})),this.interactionCurrent=null,this.interactionSelectEdit=null,this.featuresCollectionSelected=null,this.stylingOvl=null,this.popupOvl=null,this.layer=null,this.options.layer&&this.options.layer instanceof u.default&&(this.layer=this.options.layer),this._isDesktop=this._detectSupport(),this.options.popup||(this.options.popup={display:!0,apply:null})},t.prototype._createEmptyLayer=function(){var e=new i.default,t=new u.default({source:new l.default({features:e})});t.gpResultLayerId="drawing",this.setLayer(t)},t.prototype._detectSupport=function(){var e=!0,t=window.navigator.userAgent.toLowerCase();return-1===t.indexOf("iphone")&&-1===t.indexOf("ipod")&&-1===t.indexOf("ipad")&&-1===t.indexOf("android")&&-1===t.indexOf("mobile")&&-1===t.indexOf("blackberry")&&-1===t.indexOf("tablet")&&-1===t.indexOf("phone")&&-1===t.indexOf("touch")||(e=!1),-1===t.indexOf("msie")&&-1===t.indexOf("trident")||(e=!0),e},t.prototype._initContainer=function(){var e=this._createMainContainerElement(),t=this._showDrawingContainer=this._createShowDrawingElement();e.appendChild(t);var o=this._createShowDrawingPictoElement();e.appendChild(o);var r=this._drawingPanel=this._createDrawingPanelElement(),n=this._drawingPanelHeader=this._createDrawingPanelHeaderElement();r.appendChild(n);for(var i=this._createDrawingToolsSections(),s=0;s<i.length;s++)r.appendChild(i[s]);return e.appendChild(r),e},t.prototype._drawEndFeature=function(e,t){var o=null;switch(t){case"Point":o=new c.Style({image:new c.Icon(this._getIconStyleOptions(this.options.markersList[0]))});break;case"LineString":o=new c.Style({stroke:new c.Stroke({color:this.options.defaultStyles.strokeColor,width:this.options.defaultStyles.strokeWidth})});break;case"Polygon":o=new c.Style({fill:new c.Fill({color:A.default.hexToRgba(this.options.defaultStyles.polyFillColor,this.options.defaultStyles.polyFillOpacity)}),stroke:new c.Stroke({color:this.options.defaultStyles.polyStrokeColor,width:this.options.defaultStyles.polyStrokeWidth})})}if(e.setStyle(o),this._updateMeasure(e,t),this.options.popup.display){var r=this,n=function(t,o,n){if(r.getMap().removeOverlay(r.popupOvl),r.popupOvl=null,n&&o&&o.trim().length>0){var i={};i[t]=o.replace(/\n/g,"<br>"),e.setProperties(i)}},i=null,a=!0,l=this.options.popup.function;l&&"function"==typeof l&&(i=l.call(r,{feature:e,geomType:t,closeFunc:function(){n(null,!1)},saveFunc:function(e){n(e,!0)}}))&&(a=!1,i.tabIndex=-1,i.onblur=function(){r.getMap().removeOverlay(r.popupOvl),r.popupOvl=null}),a&&(i=this._createLabelDiv({applyFunc:n,inputId:this._addUID("att-input"),placeholder:"Saisir une description...",measure:this.options.tools.measure?e.getProperties().measure:null,geomType:t,key:"description"})),this.popupOvl&&(this.getMap().removeOverlay(this.popupOvl),this.popupOvl=null),this.popupOvl=new s.default({element:i,positioning:"top-center"}),this.getMap().addOverlay(this.popupOvl);var u=e.getGeometry().getExtent();this.popupOvl.setPosition([(u[0]+u[2])/2,(u[1]+u[3])/2]),document.getElementById(this._addUID("att-input"))&&document.getElementById(this._addUID("att-input")).focus()}},t.prototype._createRemoveInteraction=function(){var e=this,t=new h.Select({layers:[this.layer],style:!1});return t.on("select",(function(t){t&&t.selected&&0!==t.selected.length&&(e.layer.getSource().removeFeature(t.selected[0]),e.getMap().removeInteraction(e.interactionCurrent),e.interactionCurrent=e._createRemoveInteraction(),e.getMap().addInteraction(e.interactionCurrent))})),t},t.prototype._createStylingInteraction=function(){var e=this,t=new h.Select({layers:[this.layer],style:!1});return t.on("select",(function(t){if(e.stylingOvl&&e.getMap().removeOverlay(e.stylingOvl),t&&t.selected&&0!==t.selected.length){var o=null,r=null,n=null,i=null,a={},l=t.selected[0].getGeometry(),u=t.selected[0].getStyle();if(l instanceof d.Point||l instanceof d.MultiPoint){if(u&&u.getImage()&&"function"==typeof u.getImage().getSrc&&u.getImage().getSrc()!==e.options.defaultStyles.textIcon1x1.src&&(i="Point","function"==typeof u.getImage().getSrc?(a.markerSrc=u.getImage().getSrc(),a.markerSize=u.getImage().getScale()||1,a.markerAnchor=u.getImage().getAnchor(),u.getImage().getColor()?(o=u.getImage().getColor(),Array.isArray(o)?o="rgba("+o.join()+")":a.markerColor=o,r=A.default.isRGB(o)?A.default.rgbaToHex(o):{hex:o,opacity:1},a.markerColor=r.hex,a.markerOpacity=r.opacity):a.markerColor=e.options.markersList[0].color||"#ffffff"):(a.markerSrc=e.options.markersList[0].src,a.markerSize=e.options.markersList[0].scale||1,a.markerColor=e.options.markersList[0].color||"#ffffff",a.markerAnchor=e.options.markersList[0].anchor),a.markerCustom=!e._getsMarkersOptionsFromSrc(a.markerSrc)),u&&u.getText()){var p=t.selected[0].getProperties().name;if(p&&(i="Point"===i?"Point&Text":"Text",u.getText().getStroke()&&u.getText().getStroke().getColor()&&(o=u.getText().getStroke().getColor(),Array.isArray(o)?o="rgba("+o.join()+")":a.strokeColor=o,r=A.default.isRGB(o)?A.default.rgbaToHex(o):{hex:o,opacity:1},a.strokeColor=r.hex,a.strokeOpacity=r.opacity),u.getText().getStroke()&&u.getText().getStroke().getWidth()&&(a.strokeWidth=u.getText().getStroke().getWidth()),u.getText().getFill()&&u.getText().getFill().getColor()&&(o=u.getText().getFill().getColor(),Array.isArray(o)?o="rgba("+o.join()+")":a.fillColor=o,r=A.default.isRGB(o)?A.default.rgbaToHex(o):{hex:o,opacity:1},a.fillColor=r.hex,a.fillOpacity=r.opacity),a.strokeColor=a.hasOwnProperty("strokeColor")?a.strokeColor:e.options.defaultStyles.textStrokeColor,a.strokeWidth=a.hasOwnProperty("strokeWidth")?a.strokeWidth:e.options.defaultStyles.textStrokeWidth,a.fillColor=a.hasOwnProperty("fillColor")?a.fillColor:e.options.defaultStyles.textFillColor,"Point&Text"===i)){u.getText().getText()||u.getText().setText(p);var h=t.selected[0].get("checked");a.labelDisplay=void 0===h?e.options.defaultStyles.labelDisplay:h}}}else l instanceof d.LineString||l instanceof d.MultiLineString?(i="Line",u&&u.getStroke()&&(u.getStroke().getWidth()&&(a.strokeWidth=u.getStroke().getWidth()),u.getStroke().getColor()&&(o=u.getStroke().getColor(),Array.isArray(o)?o="rgba("+o.join()+")":a.strokeColor=o,r=A.default.isRGB(o)?A.default.rgbaToHex(o):{hex:o,opacity:1},a.strokeColor=r.hex,a.strokeOpacity=r.opacity)),a.strokeWidth=a.hasOwnProperty("strokeWidth")?a.strokeWidth:e.options.defaultStyles.strokeWidth,a.strokeColor=a.hasOwnProperty("strokeColor")?a.strokeColor:e.options.defaultStyles.strokeColor):(l instanceof d.Polygon||l instanceof d.MultiPolygon)&&(i="Polygon",u&&u.getStroke()&&(u.getStroke().getWidth()&&(a.strokeWidth=u.getStroke().getWidth()),u.getStroke().getColor()&&(o=u.getStroke().getColor(),Array.isArray(o)?o="rgba("+o.join()+")":a.strokeColor=o,r=A.default.isRGB(o)?A.default.rgbaToHex(o):{hex:o,opacity:1},a.strokeColor=r.hex,a.strokeOpacity=r.opacity)),u&&u.getFill()&&u.getFill().getColor()&&(o=u.getFill().getColor(),Array.isArray(o)?o="rgba("+o.join()+")":a.fillColor=o,r=A.default.isRGB(o)?A.default.rgbaToHex(o):{hex:o,opacity:1},a.fillColor=r.hex,a.fillOpacity=r.opacity),a.strokeWidth=a.hasOwnProperty("strokeWidth")?a.strokeWidth:e.options.defaultStyles.polyStrokeWidth,a.strokeColor=a.hasOwnProperty("strokeColor")?a.strokeColor:e.options.defaultStyles.polyStrokeColor,a.fillColor=a.hasOwnProperty("fillColor")?a.fillColor:e.options.defaultStyles.polyFillColor,a.fillOpacity=a.hasOwnProperty("fillOpacity")?a.fillOpacity:e.options.defaultStyles.polyFillOpacity);if(i){var f=e,m=e._createStylingDiv({geomType:i,initValues:a,applyFunc:function(e){if("cancel"!==e){var o="apply"!==e,r=document.getElementById(f._addUID("fillColor")),s=document.getElementById(f._addUID("fillOpacity")),l=document.getElementById(f._addUID("strokeColor")),d=document.getElementById(f._addUID("strokeWidth")),p=document.getElementById(f._addUID("markerSize"));switch(i.toLowerCase()){case"text":o?(f.options.defaultStyles.textStrokeColor=l.value,f.options.defaultStyles.textStrokeWidth=d.value,f.options.defaultStyles.textFillColor=r.value):t.selected[0].setStyle(new c.Style({text:new c.Text({font:"16px sans",textAlign:"left",text:u.getText().getText(),fill:new c.Fill({color:r.value}),stroke:new c.Stroke({color:l.value,width:parseInt(d.value,10)})})}));break;case"point&text":case"point":var h=document.querySelector("input[type='checkbox']"),m=null,g=parseInt(p.value,10)/10,y=document.querySelector("input[name='marker']:checked");if(y&&((m=f._getsMarkersOptionsFromSrc(y.value)).scale=g),o){if(f.options.defaultStyles.markerSize=g,f.options.markersList.length>1){var v=f.options.markersList.findIndex((function(e){return e===m}));v>0&&(f.options.markersList.splice(v,1),f.options.markersList.splice(0,0,m))}"point&text"===i.toLowerCase()&&(f.options.defaultStyles.textStrokeColor=a.strokeColor,f.options.defaultStyles.textStrokeWidth=a.strokeWidth,f.options.defaultStyles.textFillColor=a.fillColor,f.options.defaultStyles.labelDisplay=a.labelDisplay)}else{var _={};"point&text"===i.toLowerCase()&&(t.selected[0].set("checked",h.checked),_={text:new c.Text({font:"16px sans",textAlign:"left",text:h.checked?t.selected[0].get("name"):"",fill:new c.Fill({color:a.fillColor}),stroke:new c.Stroke({color:a.strokeColor,width:parseInt(a.strokeWidth,10)})})}),m?t.selected[0].setStyle(new c.Style(Object.assign({image:new c.Icon(f._getIconStyleOptions(m))},_))):t.selected[0].setStyle(new c.Style(Object.assign({image:new c.Icon({src:a.markerSrc,anchor:a.markerAnchor,anchorOrigin:"top-left",anchorXUnits:"pixels",anchorYUnits:"pixels",scale:g})},_)))}break;case"line":o?(f.options.defaultStyles.strokeColor=l.value,f.options.defaultStyles.strokeWidth=parseInt(d.value,10)):t.selected[0].setStyle(new c.Style({stroke:new c.Stroke({width:parseInt(d.value,10),color:l.value})}));break;case"polygon":var b=parseInt(s.value,10)/10;o?(f.options.defaultStyles.polyStrokeColor=l.value,f.options.defaultStyles.polyFillColor=r.value,f.options.defaultStyles.polyFillOpacity=b,f.options.defaultStyles.polyStrokeWidth=parseInt(d.value,10)):t.selected[0].setStyle(new c.Style({stroke:new c.Stroke({width:parseInt(d.value,10),color:l.value}),fill:new c.Fill({color:A.default.hexToRgba(r.value,b)})}))}o||f.getMap().removeOverlay(n)}else f.getMap().removeOverlay(n)}});n=new s.default({element:m,positioning:"top-center"}),e.getMap().addOverlay(n),n.setPosition(t.mapBrowserEvent.coordinate),e.stylingOvl=n,e.getMap().removeInteraction(e.interactionCurrent),e.interactionCurrent=e._createStylingInteraction(),e.getMap().addInteraction(e.interactionCurrent)}else I.log("Unhandled geometry type for styling.")}})),t},t.prototype._createLabelInteraction=function(){var e=this,t=new h.Select({layers:[this.layer],style:!1});return t.on("select",(function(t){if(e.labelOvl&&e.getMap().removeOverlay(e.labelOvl),t&&t.selected&&0!==t.selected.length){var o=null,r=null,n=null,i=null,a=t.selected[0].getGeometry(),l=t.selected[0].getStyle();if(a instanceof d.Point||a instanceof d.MultiPoint){var u=t.selected[0].getProperties().name;l&&l.getText()&&u?r="Text":l&&l.getImage()&&(r="Point")}else if(a instanceof d.LineString||a instanceof d.MultiLineString)r="Line";else{if(!(a instanceof d.Polygon||a instanceof d.MultiPolygon))return void I.log("Geometry type for styling not supported .");r="Polygon"}if(r){if("Text"===r)n=l.getText().getText();else{var c=t.selected[0].getProperties();c&&(c.hasOwnProperty("description")||c.hasOwnProperty("desc"))&&(n=c.description||c.desc),c&&c.hasOwnProperty("measure")&&(i=c.measure)}var p=e,h=e._createLabelDiv({applyFunc:function(e,n,i){if(p.getMap().removeOverlay(o),i){var s=t.selected[0];if("Text"===r){var a=s.getStyle();return a.getText().setText(n),s.setProperties({name:n}),void s.setStyle(a)}var l={};l[e]=n.replace(/\n/g,"<br>"),s.setProperties(l)}},inputId:e._addUID("label-input"),placeholder:"Text"===r?"Saisir un label...":"Saisir une description...",text:n,key:"description",measure:e.options.tools.measure?i:null,geomType:r});o=new s.default({element:h,positioning:"top-center"}),e.getMap().addOverlay(o),o.setPosition(t.mapBrowserEvent.coordinate),document.getElementById(e._addUID("label-input")).focus(),e.labelOvl=o,e.getMap().removeInteraction(e.interactionCurrent),e.interactionCurrent=e._createLabelInteraction(),e.getMap().addInteraction(e.interactionCurrent)}else I.log("Unhandled geometry type for styling.")}})),t},t.prototype._updateMeasure=function(e,t){I.log(e);var o=null,r=this.getMap().getView().getProjection();function n(e,t){t=t||2;var o=Math.pow(10,t);return Math.round(e*o)/o}var i=t||e.getProperties().type;switch(i){case"Point":var s=e.getGeometry().getCoordinates(),l=Object(a.transform)(s,r,"EPSG:4326");o="lon : ",o+=n(l[0],4)+"°",o+=" / ",o+="lat : ",o+=n(l[1],4)+"°";break;case"LineString":for(var u=0,c=e.getGeometry().getCoordinates(),p=0,h=c.length-1;p<h;++p){var f=Object(a.transform)(c[p],r,"EPSG:4326"),g=Object(a.transform)(c[p+1],r,"EPSG:4326");u+=Object(m.getDistance)(f,g)}o=u>1e3?n(u/1e3,3)+" km":n(u,3)+" m";break;case"Polygon":var y=0,v=e.getGeometry().clone(),_=v.getLinearRing(0).getCoordinates();y=Math.abs(Object(m.getArea)(new d.Polygon([_])));var b=v.getLinearRings();if(b.length>1)for(var A=1;A<b.length;A++){var C=b[A].getCoordinates();y-=Math.abs(Object(m.getArea)(new d.Polygon([C])))}o=y>1e6?n(y/1e6,3)+" km^2":n(y,2)+" m^2"}e.setProperties({measure:o,type:i})},t.prototype._handleToolClick=function(e,t,o){var r=this,n=o.getMap();if(n){switch(y.default.unset(n,{current:"Drawing"}),o.interactionCurrent&&(n.removeInteraction(o.interactionCurrent),o.interactionCurrent=null),o.interactionSelectEdit&&(n.removeInteraction(o.interactionSelectEdit),o.interactionSelectEdit=null),o.popupOvl&&(o.getMap().removeOverlay(o.popupOvl),o.popupOvl=null),this.layer||this._createEmptyLayer(),t){case this._addUID("drawing-tool-point"):o.dtOptions.points.active&&(o.interactionCurrent=new h.Draw({stopClick:!0,source:o.layer.getSource(),style:new c.Style({image:new c.Icon(this._getIconStyleOptions(this.options.markersList[0]))}),type:"Point"}),o.interactionCurrent.on("drawend",(function(e){o._drawEndFeature(e.feature,"Point")}),o));break;case this._addUID("drawing-tool-line"):o.dtOptions.lines.active&&(o.interactionCurrent=new h.Draw({stopClick:!0,source:o.layer.getSource(),style:new c.Style({image:new c.Circle({radius:this.options.cursorStyle.radius,stroke:new c.Stroke({color:this.options.cursorStyle.strokeColor,width:this.options.cursorStyle.strokeWidth}),fill:new c.Fill({color:this.options.cursorStyle.fillColor})}),stroke:new c.Stroke({color:this.options.defaultStyles.strokeColor,width:this.options.defaultStyles.strokeWidth})}),type:"LineString"}),o.interactionCurrent.on("drawend",(function(e){o._drawEndFeature(e.feature,"LineString")}),o));break;case this._addUID("drawing-tool-polygon"):o.dtOptions.polygons.active&&(o.interactionCurrent=new h.Draw({stopClick:!0,source:o.layer.getSource(),style:new c.Style({image:new c.Circle({radius:this.options.cursorStyle.radius,stroke:new c.Stroke({color:this.options.cursorStyle.strokeColor,width:this.options.cursorStyle.strokeWidth}),fill:new c.Fill({color:this.options.cursorStyle.fillColor})}),stroke:new c.Stroke({color:this.options.defaultStyles.polyStrokeColor,width:this.options.defaultStyles.polyStrokeWidth}),fill:new c.Fill({color:A.default.hexToRgba(this.options.defaultStyles.polyFillColor,this.options.defaultStyles.polyFillOpacity)})}),type:"Polygon"}),o.interactionCurrent.on("drawend",(function(e){o._drawEndFeature(e.feature,"Polygon")}),o));break;case this._addUID("drawing-tool-holes"):o.dtOptions.holes.active&&(o.interactionSelectEdit=new h.Select({stopClick:!0,condition:f.pointerMove,layers:[this.layer]}),o.interactionSelectEdit.setProperties({name:"Drawing",source:o}),n.addInteraction(o.interactionSelectEdit),o.interactionCurrent=new h.Draw({stopClick:!0,features:this.interactionSelectEdit.getFeatures(),style:new c.Style({image:new c.Circle({radius:this.options.cursorStyle.radius,stroke:new c.Stroke({color:this.options.cursorStyle.strokeColor,width:this.options.cursorStyle.strokeWidth}),fill:new c.Fill({color:this.options.cursorStyle.fillColor})}),stroke:new c.Stroke({color:this.options.defaultStyles.polyStrokeColor,width:this.options.defaultStyles.polyStrokeWidth}),fill:new c.Fill({color:A.default.hexToRgba(this.options.defaultStyles.polyFillColor,this.options.defaultStyles.polyFillOpacity)})}),type:"Polygon"}),o.interactionCurrent.on("drawstart",(function(e){}),o),o.interactionCurrent.on("drawend",(function(e){var t=o.interactionSelectEdit.getFeatures();if(t.getLength()){for(var r=t.item(0),n=e.feature.getGeometry().getCoordinates()[0],i=!0,s=0;s<n.length;s++)if(!r.getGeometry().intersectsCoordinate(n[s])){i=!1;break}if(!i)return;r.getGeometry().appendLinearRing(new p.default(n)),e.feature=r,o._drawEndFeature(e.feature,"Polygon")}}),o));break;case this._addUID("drawing-tool-text"):o.dtOptions.text.active&&(o.interactionCurrent=new h.Draw({stopClick:!0,source:o.layer.getSource(),style:new c.Style({image:new c.Circle({radius:this.options.cursorStyle.radius,stroke:new c.Stroke({color:this.options.cursorStyle.strokeColor,width:this.options.cursorStyle.strokeWidth}),fill:new c.Fill({color:this.options.cursorStyle.fillColor})})}),type:"Point"}),o.interactionCurrent.on("drawend",(function(e){var t=null,n=r._createLabelDiv({applyFunc:function(r,n,i){if(o.getMap().removeOverlay(t),i){var s={};s[r]=n,e.feature.setProperties(s),e.feature.setStyle(new c.Style({image:new c.Icon(o._getIconStyleOptions(o.options.defaultStyles.textIcon1x1)),text:new c.Text({textAlign:"left",font:"16px sans",text:n,fill:new c.Fill({color:o.options.defaultStyles.textFillColor}),stroke:new c.Stroke({color:o.options.defaultStyles.textStrokeColor,width:3})})}))}else o.layer.getSource().removeFeature(e.feature)},inputId:o._addUID("label-input"),geomType:"Text",key:"name",placeholder:"Saisir un label..."});t=new s.default({element:n,positioning:"top-center"}),o.getMap().addOverlay(t),t.setPosition(e.feature.getGeometry().getCoordinates()),document.getElementById(r._addUID("label-input")).focus()})));break;case this._addUID("drawing-tool-edit"):o.dtOptions.edit.active&&(this.featuresCollectionSelected=new i.default,o.interactionSelectEdit=new h.Select({condition:f.singleClick,layers:[this.layer],features:this.featuresCollectionSelected}),o.interactionSelectEdit.on("select",(function(e){})),o.interactionSelectEdit.setProperties({name:"Drawing",source:o}),n.addInteraction(o.interactionSelectEdit),o.interactionCurrent=new h.Modify({stopClick:!0,features:this.interactionSelectEdit.getFeatures(),style:new c.Style({image:new c.Circle({radius:this.options.cursorStyle.radius,stroke:new c.Stroke({color:this.options.cursorStyle.strokeColor,width:this.options.cursorStyle.strokeWidth}),fill:new c.Fill({color:this.options.cursorStyle.fillColor})})})}),o.interactionCurrent.on("modifyend",(function(e){var t=e.features.item(0);o._updateMeasure(t)})));break;case this._addUID("drawing-tool-display"):o.dtOptions.display.active&&(o.interactionCurrent=this._createStylingInteraction());break;case this._addUID("drawing-tool-tooltip"):o.dtOptions.tooltip.active&&(o.interactionCurrent=this._createLabelInteraction());break;case this._addUID("drawing-tool-remove"):o.dtOptions.remove.active&&(o.interactionCurrent=o._createRemoveInteraction());break;default:I.trace("unhandled tool type")}o.interactionCurrent&&(o.interactionCurrent.setProperties({name:"Drawing",source:this}),n.addInteraction(o.interactionCurrent)),I.log("interactions",n.getInteractions())}else I.trace("Drawing control not attached to any map.")},t.prototype.onShowDrawingClick=function(){var e=this.getMap();for(var t in y.default.unset(e),this.collapsed=this._showDrawingContainer.checked,this.dispatchEvent("change:collapsed"),this.dtOptions)if(this.dtOptions.hasOwnProperty(t)&&this.dtOptions[t].active){var o=this._addUID("drawing-tool-"+this.dtOptions[t].id);document.getElementById(o).className="drawing-tool",this.dtOptions[t].active=!1}},t.prototype.onExportFeatureClick=function(){var e=this.exportFeatures();if(e){var t=document.createElement("a");if(t.setAttribute("href","data:"+this._exportMimeType+";charset=utf-8,"+encodeURIComponent(e)),t.setAttribute("download",this.getExportName()+this._exportExt),document.createEvent){var o=document.createEvent("MouseEvents");o.initEvent("click",!0,!0),t.dispatchEvent(o)}else t.click()}},t}(r.default);t.default=x,window.ol&&window.ol.control&&(window.ol.control.Drawing=x)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor.js":function(e,t,o){"use strict";o.r(t);o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Editor/GPeditorOpenLayers.css");var r=o("./node_modules/eventbusjs/lib/eventbus.min.js"),n=o.n(r),i=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js"),a=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),l=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Style.js"),u=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Themes.js"),c=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Filter.js"),d=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Legend.js"),p=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Layer.js"),h=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Group.js"),f=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Event.js"),m=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Search.js"),g=o("./node_modules/geoportal-extensions-openlayers/src/Common/Controls/Editor/EditorDOM.js");function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function v(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,_(r.key),r)}}function _(e){var t=function(e,t){if("object"!=y(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,t||"default");if("object"!=y(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==y(t)?t:t+""}var b=a.default.getLogger("editor"),A=function(){return e=function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),b.trace("[constructor] Editor",t),this.options=t||{},!(this instanceof e))throw new TypeError("ERROR CLASS_CONSTRUCTOR");this._initialize()},(t=[{key:"_initialize",value:function(){if(this.options.target||b.info("La 'target' n'est pas renseignée (options.target)."),this.options.style){this.options.events?this._initEvents():b.warn("Les 'handlers' ne sont pas renseignés (options.events) !"),this.options.themes||b.info("Les 'themes' MapBox ne sont pas renseignés (options.themes).");var e={themes:!1,layers:!0,search:!1,style:!1,filter:!1,legend:!1,group:!1,groupAuto:!1,sort:!0,sortBy:"id",sortOrder:"asc",title:!0,collapse:void 0,type:!0,pin:!0,visibility:!0,icon:{image:!0,anchor:"end"},editable:!0};this.options.tools||(b.trace("Utilisation des outils MapBox par défaut (options.tools)."),this.options.tools=e),i.default.mergeParams(this.options.tools,e,!1),this.id=this.options.id||s.default.generate(),this.context={},this.layers=[],this.container=null,this.name={target:"GPEditorMapBoxTarget",container:"GPEditorMapBoxContainer",containerID:"GPEditorMapBoxContainer_ID_",containerLayers:"GPEditorMapBoxLayersContainer",titleLayers:"GPEditorMapBoxLayersTitle",titleLayersID:"GPEditorMapBoxLayersTitle_ID_",titleThemes:"GPEditorMapBoxThemesTitle",titleThemesID:"GPEditorMapBoxThemesTitle_ID_",sep:"GPEditorMapBoxSep"},this.mapbox={},this.sprites={}}else b.error("Le 'style' MapBox n'est pas renseigné (options.style) !")}},{key:"_initEvents",value:function(){var e=this.options.scope||this,t=this.options.events;if(t)for(var o in t)if(t.hasOwnProperty(o)){var r=t[o];r&&(n.a.hasEventListener(o,r,e)||n.a.addEventListener(o,r,e))}}},{key:"_initContainer",value:function(){b.trace(this.mapbox);var e=document.createElement("div");e.id=this.name.containerID+this.id,e.className=this.name.container;var t=this.options.tools.themes;if(t&&this.options.themes){if(this.options.tools.title){var o=document.createElement("div");o.id=this.name.titleThemesID+this.id,o.className=this.name.titleThemes,o.innerHTML="Liste des 'thèmes'",e.appendChild(o)}new u.default({id:this.id,target:e,tools:"object"===y(t)?t:{},obj:this.options.themes}).add()}for(var r in this.options.tools.search&&new m.default({id:this.id,target:e,tools:{},obj:this.mapbox.layers}).add(),this.mapbox.sources)if(this.mapbox.sources.hasOwnProperty(r)){if(this.options.tools.layers){var i=Object.keys(this.mapbox.sources).length>1?1:0;if(i){var s=document.createElement("hr");s.className=this.name.sep,e.appendChild(s)}if(this.options.tools.title){var a=document.createElement("div");a.id=this.name.titleLayersID+this.id,a.className=this.name.titleLayers,a.innerHTML=i?"Liste des 'couches' ("+r+")":"Liste des 'couches'",e.appendChild(a)}}var g=this.mapbox.layers.slice();if(g.forEach((function(e,t){var o=e.metadata;o?o["geoportail:order"]=t:e.metadata={"geoportail:order":t}})),this.options.tools.sort){var v=this.options.tools.sortBy,_=this.options.tools.sortOrder;g.sort((function(e,t){var o=0;if(e.metadata&&e.metadata["geoportail:group"]&&t.metadata&&t.metadata["geoportail:group"]){var r,n=null;n=e.metadata["geoportail:group"],r=t.metadata["geoportail:group"],o=n.localeCompare(r)}else switch(v){case"geom":o="asc"===_?e.type.localeCompare(t.type)||e.id.localeCompare(t.id):t.type.localeCompare(e.type)||t.id.localeCompare(e.id);break;case"class":o="asc"===_?e["source-layer"].localeCompare(t["source-layer"])||e.id.localeCompare(t.id):t["source-layer"].localeCompare(e["source-layer"])||t.id.localeCompare(e.id);break;default:o="asc"===_?e.id.localeCompare(t.id):t.id.localeCompare(e.id)}return o}))}b.trace("Layers : ",g);var A=this.options.tools.sortBy,C=this.options.tools.groupAuto,E={};g.forEach((function(e){var t=e.metadata;if(t&&t["geoportail:group"]){var o=t["geoportail:group"];E[o]=E[o]?E[o]+1:1}else{var r=null;switch(A){case"class":r=e["source-layer"];break;case"geom":r=e.type;break;default:r=e.id}var n=r;if(C){var i=r.search(/_|-|:|=/);n=-1!==i?r.substring(0,i).trim():r}E[n]=E[n]?E[n]+1:1,t?t["geoportail:group"]=n:e.metadata={"geoportail:group":n}}})),b.trace("Groups : ",E);var S,w=document.createElement("div");if(w.className=this.name.containerLayers,e.appendChild(w),void 0!==this.options.tools.collapse){(S=document.createElement("details")).className="",S.open=!this.options.tools.collapse,w.appendChild(S);var O=document.createElement("summary");O.className="",O.innerHTML="",S.appendChild(O)}for(var I=void 0!==this.options.tools.collapse?S:w,x=-1,j=0;j<g.length;j++){var T=g[j];if(x++,T.source===r){if(this.options.tools.group&&this.options.tools.sort)if(T.metadata){var P=T.metadata["geoportail:group"];if(P)if(E[P]>1){E[P]=-1;var M=new h.default({id:this.id,target:void 0!==this.options.tools.collapse?S:w,title:P,collapse:!0});M.add(),I=M.getContainer()}else 1===E[P]&&(I=void 0!==this.options.tools.collapse?S:w);else I=void 0!==this.options.tools.collapse?S:w}else I=void 0!==this.options.tools.collapse?S:w;if(this.options.tools.layers){var R=new p.default({id:this.id,target:I,position:x+"_"+this.id,tools:{visibility:this.options.tools.visibility,icon:this.options.tools.icon,type:this.options.tools.type,pin:this.options.tools.pin},obj:{id:T.id,type:T.type,source:T.source,"source-layer":T["source-layer"]}});R.add(),T.layout&&T.layout.visibility&&"none"===T.layout.visibility&&R.visibility(!1),this.layers.push(R)}if(this.options.tools.legend){var L=this.options.tools.editable;void 0===L&&(L=T.editable);var k=new d.default({id:this.id,target:I,sprites:this.sprites,obj:{id:T.id,source:T.source,title:T.id,editable:void 0!==L&&L,paint:T.paint,layout:T.layout}});k.add(),k.display(!1),R&&(R.addLegend(k),R.slotLegend())}if(this.options.tools.style){var N=new l.default({id:this.id,target:I,position:x+"_"+this.id,obj:{id:T.id,source:T.source,layout:T.layout,paint:T.paint}});N.add(),N.display(!1),R&&R.addStyle(N),T.layout&&T.layout.visibility&&"none"===T.layout.visibility&&R.visibility(!1)}if(this.options.tools.filter){var D=new c.default({id:this.id,target:I,position:x+"_"+this.id,obj:{id:T.id,source:T.source,filter:T.Filter}});D.add(),D.display(!1),R&&R.addFilter(D)}}else x>=0&&x--}}if(this.container=e,!this.options.target){if(!document.getElementById(this.name.target)){var G=document.createElement("div");G.id=this.name.target,(document.getElementsByTagName("body")[0]||document.getElementsByTagName("head")[0]||document.documentElement).appendChild(G)}this.options.target=document.getElementById(this.name.target)}this.container&&this.options.target.appendChild(this.container),n.a.dispatch(f.default.onloaded,this)}},{key:"_getSprites",value:function(e){var t,o=this;return e&&e.startsWith("mapbox://")?new Promise((function(e,t){b.error("Protocole mapbox:// non géré !"),e(o)})):e?Promise.all([(t=e+".png",fetch(t,{credentials:"same-origin"}).then((function(e){if(e.ok)return e.blob().then((function(e){o.sprites.url=t;var r=new Image;return r.src=t,r.decode().then((function(){o.sprites.size={},o.sprites.size.h=r.height,o.sprites.size.w=r.width}))})).catch((function(e){b.warn("fetch image sprites exception :",e)}));throw new Error("HTTP status code: "+e.status)})).catch((function(e){return new Promise((function(t,o){b.error("fetch image sprites exception :",e),o(e)}))}))),fetch(e+".json",{credentials:"same-origin"}).then((function(e){if(e.ok)return e.json().then((function(e){o.sprites.json=e})).catch((function(e){b.warn("fetch json sprites exception :",e)}));throw new Error("HTTP status code: "+e.status)})).catch((function(e){return new Promise((function(t,o){b.error("fetch json sprites exception :",e),o(e)}))}))]):new Promise((function(e,t){b.error("Auncun sprites disponibles !"),e(o)}))}},{key:"createElement",value:function(){var e=this;return"object"===y(this.options.style)?(this.mapbox=this.options.style,this.options.tools.legend?this._getSprites(this.mapbox.sprite).then((function(){return e._initContainer(),e})).catch((function(e){b.warn("fetch sprites exception :",e)})):new Promise((function(t,o){e._initContainer(),t(e)}))):"string"==typeof this.options.style?fetch(this.options.style,{credentials:"same-origin"}).then((function(t){return t.json().then((function(t){e.mapbox=t})).then((function(){return e.options.tools.legend?e._getSprites(e.mapbox.sprite).then((function(){return e._initContainer(),e})).catch((function(e){b.warn("fetch sprites exception :",e)})):new Promise((function(t,o){e._initContainer(),t(e)}))})).catch((function(e){b.error("json exception :",e)}))})).catch((function(e){b.error("fetch exception :",e)})):void 0}},{key:"display",value:function(e){this.container.style.display=e?"block":"none"}},{key:"setContext",value:function(e,t){this.context[e]=t}},{key:"getContext",value:function(e){return this.context[e]}},{key:"getID",value:function(){return this.id}},{key:"getContainer",value:function(){return this.container}},{key:"getStyle",value:function(){return this.mapbox}},{key:"getStyleLayer",value:function(e){for(var t=null,o=this.getLayer(e).options.obj.id,r=0;r<this.mapbox.layers.length;r++){var n=this.mapbox.layers[r];if(n.id===o){t=n;break}}return t}},{key:"getLayerFromStyle",value:function(e){for(var t=null,o=this.mapbox.layers[e],r=0;r<this.getLayers().length;r++){var n=this.getLayer(r);if(o.id===n.options.obj.id){t=n;break}}return t}},{key:"getLayers",value:function(){return this.layers}},{key:"getLayer",value:function(e){return this.layers[e]}}])&&v(e.prototype,t),o&&v(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,o}();i.default.assign(A.prototype,g.default),t.default=A,window.ol&&window.ol.style&&(window.ol.style.Editor=A)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Event.js":function(e,t,o){"use strict";o.r(t);t.default={onloaded:"editor:onloaded",layer:{onclickvisibility:"editor:layer:onclickvisibility",onclickclone:"editor:layer:onclickclone",onclickremove:"editor:layer:onclickremove"},legend:{onclickedition:"editor:legend:onclickedition",onchangevalue:"editor:legend:onchangevalue"},group:{oncollapse:"editor:group:oncollapse"},style:{oneditjson:"editor:style:oneditjson",scale:{onchangemin:"editor:style:scale:onchangemin",onchangemax:"editor:style:scale:onchangemax"}},filter:{oneditjson:"editor:filter:oneditjson"},themes:{onclickimage:"editor:themes:onclickimage",onclicktitle:"editor:themes:onclicktitle"},search:{onsubmit:"editor:search:onsubmit",onautocomplete:"editor:search:onautocomplete"}}},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Filter.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/eventbusjs/lib/eventbus.min.js"),n=o.n(r),i=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Event.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js");function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function l(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,u(r.key),r)}}function u(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}var c=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js").default.getLogger("editor-filter"),d=function(){return e=function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),c.trace("[constructor] Filter",t),this.options=t||{target:null,position:0,tools:null,title:null,obj:null},!(this instanceof e))throw new TypeError("ERROR CLASS_CONSTRUCTOR");this._initialize(),this._initContainer()},t=[{key:"_initialize",value:function(){this.id=this.options.id||null,this.options.target,this.options.position||(this.options.position=0);var e={edition:!1};this.options.tools||(this.options.tools=e),s.default.mergeParams(this.options.tools,e,!1),this.options.obj||(this.options.obj={filter:[]}),this.options.title||(this.options.title="JSON Filtres :"),this.container=null,this.name={target:"GPEditorMapBoxFilterTarget",container:"GPEditorMapBoxFilterContainer",containerjson:"GPEditorMapBoxFilterJsonContainer",jsonlabel:"GPEditorMapBoxFilterTitleJson",jsondisplay:"GPEditorMapBoxFilterDisplayJson",containertoolsedit:"GPEditorMapBoxFilterToolsEditionContainer"}}},{key:"_initContainer",value:function(){var e=this,t=!1,o=JSON.parse(JSON.stringify(this.options.obj));o.filter&&(t=!0,0===o.filter.length&&c.info("tag 'filter' is empty !"));var r=document.createElement("div");r.className=this.name.container;var n=null;t&&(n=JSON.stringify(o.filter,null,4));var i=document.createElement("div");i.className=this.name.containerjson;var s=document.createElement("label");s.className=this.name.jsonlabel,s.innerHTML=this.options.title,i.appendChild(s);var a=document.createElement("pre");if(a.className=this.name.jsondisplay,a.innerHTML=n,a.addEventListener?a.addEventListener("click",(function(t){e.options.tools.edition&&e.onEditJsonFilterMapBox(t)})):a.attachEvent&&a.attachEvent("onclick",(function(t){e.options.tools.edition&&e.onEditJsonFilterMapBox(t)})),i.appendChild(a),r.appendChild(i),this.options.tools.edition){var l=document.createElement("div");l.className=this.name.containertoolsedit,r.appendChild(l)}this.container=r}},{key:"add",value:function(){if(!this.options.target){if(!document.getElementById(this.name.target)){var e=document.createElement("div");e.id=this.name.target,(document.documentElement||document.getElementsByTagName("body")[0]||document.getElementsByTagName("head")[0]).appendChild(e)}this.options.target=document.getElementById(this.name.target)}return this.container&&this.options.target.appendChild(this.container),this}},{key:"display",value:function(e){return c.trace("display()",e),void 0!==e&&(this.container.style.display=e?"flex":"none"),"flex"===this.container.style.display}},{key:"getContainer",value:function(){return this.container}},{key:"onEditJsonFilterMapBox",value:function(e){c.trace("onEditJsonFilterMapBox",e),e.editorID=this.id,e.data=this.options,n.a.dispatch(i.default.filter.oneditjson,e)}}],t&&l(e.prototype,t),o&&l(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,o}();t.default=d},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Group.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/eventbusjs/lib/eventbus.min.js"),n=o.n(r),i=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Event.js");function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function a(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,l(r.key),r)}}function l(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}var u=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js").default.getLogger("editor-group"),c=function(){return e=function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),u.trace("[constructor] Group",t),this.options=t||{},!(this instanceof e))throw new TypeError("ERROR CLASS_CONSTRUCTOR");this._initialize(),this._initContainer()},t=[{key:"_initialize",value:function(){this.id=this.options.id||null,this.options.target,this.options.title||(this.options.title="Détails du groupe..."),void 0===this.options.collapse&&(this.options.collapse=!0),this.container=null,this.name={target:"GPEditorMapBoxGroupTarget",container:"GPEditorMapBoxGroupContainer",details:"GPEditorMapBoxGroupDetails",summary:"GPEditorMapBoxGroupSummary"}}},{key:"_initContainer",value:function(){var e=document.createElement("div");e.className=this.name.container;var t=document.createElement("details");t.className=this.name.details,t.open=!this.options.collapse,e.appendChild(t);var o=document.createElement("summary");o.className=this.name.summary,o.innerHTML=this.options.title,t.appendChild(o),this.container=e}},{key:"add",value:function(){if(!this.options.target){if(!document.getElementById(this.name.target)){var e=document.createElement("div");e.id=this.name.target,(document.documentElement||document.getElementsByTagName("body")[0]||document.getElementsByTagName("head")[0]).appendChild(e)}this.options.target=document.getElementById(this.name.target)}this.container&&this.options.target.appendChild(this.container)}},{key:"display",value:function(e){this.container.style.display=e?"flex":"none"}},{key:"getContainer",value:function(){var e=this.container.childNodes;return e.length?e[0]:this.container}},{key:"onCollapseGroupMapBox",value:function(e){u.trace("onCollapseGroupMapBox",e),e.editorID=this.id,e.data=this.options,n.a.dispatch(i.default.group.oncollapse,e)}}],t&&a(e.prototype,t),o&&a(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,o}();t.default=c},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Layer.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/eventbusjs/lib/eventbus.min.js"),n=o.n(r),i=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Event.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Style.js"),a=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Legend.js"),l=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Filter.js"),u=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js");function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function d(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,p(r.key),r)}}function p(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,t||"default");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}var h=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js").default.getLogger("editor-layer"),f=function(){return e=function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),h.trace("[constructor] Layer",t),this.options=t||{},!(this instanceof e))throw new TypeError("ERROR CLASS_CONSTRUCTOR");this._initialize(),this._initContainer()},t=[{key:"_initialize",value:function(){this.id=this.options.id||null,this.options.target,this.options.position||(this.options.position=0);var e={visibility:!0,icon:{image:!0,anchor:"end"},type:!0,pin:!0,remove:!1,clone:!1};this.options.tools||(this.options.tools=e),u.default.mergeParams(this.options.tools,e,!1);var t={id:"",type:"",source:"","source-layer":""};this.options.obj||(this.options.obj=t),u.default.mergeParams(this.options.obj,t,!1),this.bSlotLegend=!1,this.oFilter=null,this.oStyle=null,this.oLegend=null,this.container=null,this.DomVisibility=null,this.DomToggle=null,this.name={target:"GPEditorMapBoxLayerTarget",container:"GPEditorMapBoxLayerContainer",containerlegend:"GPEditorMapBoxLayerLegendContainer",containertitle:"GPEditorMapBoxLayerTitleContainer",imagelabelinput:"GPEditorMapBoxLayerImageInput",imagelabel:"GPEditorMapBoxLayerImageLabel",typeimg:"GPEditorMapBoxLayerTypeImage",titleinput:"GPEditorMapBoxLayerTitleInput",titlelabel:"GPEditorMapBoxLayerTitleLabel",containertools:"GPEditorMapBoxToolsContainer",visibilityinput:"GPEditorMapBoxToolsVisibilityInput",visibilitylabel:"GPEditorMapBoxToolsVisibilityLabel",visibilityinputdisable:"GPEditorMapBoxToolsVisibilityInputDisable",visibilitylabeldisable:"GPEditorMapBoxToolsVisibilityLabelDisable"}}},{key:"_initContainer",value:function(){var e=this,t=this.options.obj,o=document.createElement("div");o.className=this.name.container;var r=document.createElement("div");if(r.id=this.name.containertitle+"-"+this.options.position,r.className=this.name.containertitle,this.options.tools.pin){var n=document.createElement("input");n.id=this.name.imagelabelinput+"-"+this.options.position,n.className=this.name.imagelabelinput,n.type="checkbox",r.appendChild(n);var i=document.createElement("label");i.className=this.name.imagelabel,i.htmlFor=n.id,i.addEventListener?i.addEventListener("click",(function(t){e.onClickLayerMapBox(t)})):i.attachEvent&&i.attachEvent("onclick",(function(t){e.onClickLayerMapBox(t)})),r.appendChild(i)}var s=function(){var t=document.createElement("div");if(t.id=this.name.containertools+"-"+this.options.position,t.className=this.name.containertools,this.options.tools.visibility){var r=document.createElement("input");r.id=this.name.visibilityinput+"-"+this.options.position,r.className=this.options.tools.icon.image?this.name.visibilityinput:this.name.visibilityinputdisable,r.type="checkbox",r.checked="checked",r.addEventListener?r.addEventListener("click",(function(t){e.onVisibilityLayerMapBox(t)})):r.attachEvent&&r.attachEvent("onclick",(function(t){e.onVisibilityLayerMapBox(t)})),t.appendChild(r),this.DomVisibility=r;var n=document.createElement("label");n.htmlFor=this.name.visibilityinput+"-"+this.options.position,n.id=this.name.visibilitylabel+"-"+this.options.position,n.className=this.options.tools.icon.image?this.name.visibilitylabel:this.name.visibilitylabeldisable,n.title="Afficher/masquer la couche",t.appendChild(n),o.appendChild(t)}this.options.tools.clone&&h.warn("Dom for tools clone, it's not yet implemented !"),this.options.tools.remove&&h.warn("Dom for tools remove, it's not yet implemented !")};if("start"===this.options.tools.icon.anchor&&s.apply(this),this.options.tools.type&&t.type){var a=document.createElement("img");switch(a.className=this.name.typeimg,t.type.toUpperCase()){case"SYMBOL-ICON":a.style["background-position"]="0px 0";break;case"SYMBOL-TEXT":a.style["background-position"]="-194px 0";break;case"SYMBOL":a.style["background-position"]="-84px 0";break;case"LINE":a.style["background-position"]="-28px 0";break;case"FILL":a.style["background-position"]="-56px 0";break;case"BACKGROUND":a.style["background-position"]="-140px 0";break;case"CIRCLE":a.style["background-position"]="-168px 0";break;default:a.style["background-position"]="-112px 0"}r.appendChild(a)}var l=document.createElement("div");l.id=this.name.containerlegend+"-"+this.options.position,l.className=this.name.containerlegend,r.appendChild(l);var u=document.createElement("input");u.id=this.name.titleinput+"-"+this.options.position,u.className=this.name.titleinput,u.type="checkbox",r.appendChild(u);var c=document.createElement("label");c.className=this.name.titlelabel,c.htmlFor=u.id,c.innerHTML=t.id||t["source-layer"]||t.source,c.title=t["source-layer"]||t.source||t.id,c.addEventListener?c.addEventListener("click",(function(t){e.onClickLayerMapBox(t)})):c.attachEvent&&c.attachEvent("onclick",(function(t){e.onClickLayerMapBox(t)})),r.appendChild(c),this.DomToggle=c,o.appendChild(r),"end"===this.options.tools.icon.anchor&&s.apply(this),this.container=o}},{key:"add",value:function(){if(h.trace("add()"),!this.options.target){if(!document.getElementById(this.name.target)){var e=document.createElement("div");e.id=this.name.target,(document.documentElement||document.getElementsByTagName("body")[0]||document.getElementsByTagName("head")[0]).appendChild(e)}this.options.target=document.getElementById(this.name.target)}return this.container&&this.options.target.appendChild(this.container),this}},{key:"addStyle",value:function(e){h.trace("addStyle()",e),e&&"object"===c(e)&&e instanceof s.default&&(this.oStyle=e,this.oStyle.display(!1))}},{key:"addFilter",value:function(e){h.trace("addFilter()",e),e&&"object"===c(e)&&e instanceof l.default&&(this.oFilter=e,this.oFilter.display(!1))}},{key:"addLegend",value:function(e){h.trace("addLegend()",e),e&&"object"===c(e)&&e instanceof a.default&&(this.oLegend=e,this.oLegend.display(!1))}},{key:"slotLegend",value:function(){var e=this.oLegend;if(e){var t=null,o=this.container.childNodes;if(o.length)for(var r=o["start"===this.options.tools.icon.anchor?1:0].childNodes,n=0;n<r.length;n++){var i=r[n];-1!==i.id.indexOf(this.name.containerlegend)&&(t=i)}if(t){var s=e.getRenderContainer();s&&(t.appendChild(s),this.bSlotLegend=!0)}}}},{key:"visibility",value:function(e){if(h.trace("visibility()",e),this.options.tools.visibility)return void 0!==e&&(this.DomVisibility.checked=e?"checked":""),this.DomVisibility.checked}},{key:"collapse",value:function(){h.trace("collapse()"),this.DomToggle.click()}},{key:"visible",value:function(){h.trace("visible()"),this.options.tools.visibility&&this.DomVisibility.click()}},{key:"display",value:function(e){h.trace("display()",e);var t=document.getElementById(this.DomToggle.htmlFor).checked;return void 0!==e&&(this.container.style.display=e?"inline-flex":"none",this.oStyle&&this.oStyle.display(e&&t),this.oFilter&&this.oFilter.display(e&&t),this.oLegend&&this.oLegend.display(e&&t)),t}},{key:"active",value:function(e){return h.trace("active()",e),void 0!==e&&(this.container.className=e?this.name.container:this.name.container+" disabled"),this.container.className===this.name.container}},{key:"getContainer",value:function(){return this.container}},{key:"onClickLayerMapBox",value:function(e){h.trace("onClickLayerMapBox",e);var t=e.target.htmlFor.substring(e.target.htmlFor.indexOf("-")),o=document.getElementById(e.target.htmlFor).checked;e.target.htmlFor===this.name.imagelabelinput+t&&(document.getElementById(this.name.titleinput+t).checked=!o),e.target.htmlFor===this.name.titleinput+t&&document.getElementById(this.name.imagelabelinput+t)&&(document.getElementById(this.name.imagelabelinput+t).checked=!o),this.oStyle&&this.oStyle.display(!o),this.oFilter&&this.oFilter.display(!o),this.oLegend&&this.oLegend.isEditable()&&this.oLegend.display(!o)}},{key:"onVisibilityLayerMapBox",value:function(e){h.trace("onVisibilityLayerMapBox",e),e.editorID=this.id,e.data=this.options,n.a.dispatch(i.default.layer.onclickvisibility,e)}},{key:"onCloneLayerMapBox",value:function(e){h.trace("onCloneLayerMapBox",e),e.editorID=this.id,e.data=this.options,n.a.dispatch(i.default.layer.onclickclone,e)}},{key:"onRemoveLayerMapBox",value:function(e){h.trace("onRemoveLayerMapBox",e),e.editorID=this.id,e.data=this.options,n.a.dispatch(i.default.layer.onclickremove,e)}}],t&&d(e.prototype,t),o&&d(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,o}();t.default=f},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Legend.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/eventbusjs/lib/eventbus.min.js"),n=o.n(r),i=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Event.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),a=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/ColorUtils.js");function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function u(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,c(r.key),r)}}function c(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,t||"default");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}var d=s.default.getLogger("editor-legend"),p=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),d.trace("[constructor] Legend",t),this.options=t||{target:null,position:0,sprites:null,obj:null},!(this instanceof e))throw new TypeError("ERROR CLASS_CONSTRUCTOR");this._initialize(),this._initContainer()}return t=e,o=[{key:"_initialize",value:function(){this.id=this.options.id||null,this.options.target,this.options.position||(this.options.position=0),this.options.obj||(this.options.obj={title:"vide...",editable:!0,paint:{"fill-color":"#FFFFFF"}});var e=this.options.obj.editable;this.editable=void 0!==e&&e,this.legendRender={type:"fill",values:{width:1,stroke:"#FFFFFF",color:"#000000",opacity:1}},this.container=null,this.rendercontainer=null,this.toolscontainer=null,this.name={target:"GPEditorMapBoxLegendTarget",container:"GPEditorMapBoxLegendContainer",containerlegendrender:"GPEditorMapBoxLegendRenderContainer",legendrender:"GPEditorMapBoxLegendRender",legendeditable:"GPEditorMapBoxLegendEditable",legendtitle:"GPEditorMapBoxLegendTitle",containerlegendtools:"GPEditorMapBoxLegendToolsContainer"},this.labels={"line-color":"Couleur du trait","line-width":"Epaisseur du trait","line-opacity":"Opacité du trait","fill-color":"Couleur de remplissage","fill-opacity":"Opacité du remplissage"}}},{key:"_initContainer",value:function(){var e=this.options.obj,t=document.createElement("div");t.className=this.name.container;var o=Object.assign({},e.paint,e.layout),r=Object.keys(o);if(0!==r.length){for(var n={},i=!1,s=0;s<r.length;s++){var a=r[s];if(/fill-/.test(a)||/line-/.test(a)||/circle-/.test(a)||/background-/.test(a)||/text-/.test(a)||/icon-/.test(a)){i=!0;var l=e.title||"",u=a.split("-")[0];"text"!==u&&"icon"!==u||(u="symbol"),this.legendRender=this._getProperties(u,o),n={edit:this.editable,title:l,type:this.legendRender.type,values:this.legendRender.values},t.appendChild(this._createElementIconLegend(n));break}}i||(n={edit:this.editable,title:"",type:this.legendRender.type,values:this.legendRender.values},t.appendChild(this._createElementIconLegend(n)),d.warn("legend type unknown, default legend used...")),this.toolscontainer=this._createElementEditionLegend(n),t.appendChild(this.toolscontainer),this.container=t}else d.info("tag 'paint' or 'layout' is empty !")}},{key:"_getProperties",value:function(t,o){if("symbol"===t){var r=o["text-field"],n=o["icon-image"];if("unknow"==(t=r&&n?"icon":r?"text":n?"icon":"unknow"))return void d.warn("type unknow !?")}var i={};for(var s in o)if(Object.hasOwnProperty.call(o,s)){var a=o[s];if(e.PROPERTIES[t].includes(s)){var l=s.replace(t,"").slice(1),u=this._getValue(a);if(u){if(!("pattern"!==l&&"image"!==l||this.options.sprites&&this.options.sprites.json&&this.options.sprites.json[u])){var c=t+":"+l;d.warn("sprites mandatory for key ",c);break}i[l]=u}}else d.warn("property not supported : ",s)}return{type:t,values:i}}},{key:"_renderThumbnail",value:function(e,t){var o=this.rendercontainer;if(!o)return!1;var r=null;switch(t.color||(t.color="#FFFFFF"),e){case"text":r="url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' preserveAspectRatio='none' viewBox='0 0 100 100'><text x='50' y='50' fill='%color%' fill-opacity='%opacity%'  text-anchor='middle' dominant-baseline='central' style='%style%'> T </text></svg>\")",o.style.background=r.replace("%color%",0===t.color.indexOf("rgb")?t.color:a.default.hexToRgba(t.color,1)).replace("%opacity%",t.opacity||1).replace("%style%","font-size: 5em;font-weight: bold;");break;case"icon":t.image?(r="<svg xmlns='http://www.w3.org/2000/svg' version='1.1' preserveAspectRatio='none' width='27px' height='27px' x='0' y='0' viewBox='%x% %y% %w% %h%'><image width='%W%px' height='%H%px' href='%URL%'/></svg>".replace("%x%",this.options.sprites.json[t.image].x).replace("%y%",this.options.sprites.json[t.image].y).replace(/%w%/g,this.options.sprites.json[t.image].width).replace(/%h%/g,this.options.sprites.json[t.image].height).replace("%W%",this.options.sprites.size.w).replace("%H%",this.options.sprites.size.h).replace("%URL%",this.options.sprites.url),o.innerHTML=r):(r="url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' preserveAspectRatio='none' viewBox='0 0 100 100'><path d='M 50,20 80,82.5 20,82.5 z' stroke='%color%' style='%style%'/></svg>\")",o.style.background=r.replace("%color%",0===t.color.indexOf("rgb")?t.color:a.default.hexToRgba(t.color,1)).replace("%style%","fill: transparent;stroke-width: 10;"));break;case"line":var n=Array.isArray(t.dasharray)?t.dasharray.join(" "):0;r="url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' preserveAspectRatio='none' viewBox='0 0 100 100'><line x1='0' y1='100' x2='100' y2='0' stroke='%color%' stroke-width='%stroke-width%' stroke-opacity='%stroke-opacity%' stroke-dasharray='%stroke-dasharray%' /></svg>\")",o.style.background=r.replace("%color%",0===t.color.indexOf("rgb")?t.color:a.default.hexToRgba(t.color,1)).replace("%stroke-opacity%",t.opacity||1).replace("%stroke-dasharray%",n).replace("%stroke-width%",3*(t.width||0));break;case"circle":var i=t["stroke-color"]||"#FFFFFF";r="url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' preserveAspectRatio='none' viewBox='0 0 100 100'><circle cx='50' cy='50' r='40' stroke='%stroke-color%' stroke-width='%stroke-width%' stroke-opacity='%strock-opacity%' fill='%color%' fill-opacity='%opacity%' /></svg>\")",o.style.background=r.replace("%color%",0===t.color.indexOf("rgb")?t.color:a.default.hexToRgba(t.color,1)).replace("%opacity%",t.opacity||1).replace("%stroke-color%",0===i.indexOf("rgb")?i:a.default.hexToRgba(i,1)).replace("%stroke-opacity%",t["stroke-opacity"]||1).replace("%stroke-width%",3*(t["stroke-width"]||0));break;case"background":case"fill":if(t.pattern)r="<svg xmlns='http://www.w3.org/2000/svg' version='1.1' preserveAspectRatio='none' width='27px' height='27px' x='0' y='0' viewBox='%x% %y% %w% %h%'><image width='%W%px' height='%H%px' href='%URL%'/></svg>".replace("%x%",this.options.sprites.json[t.pattern].x).replace("%y%",this.options.sprites.json[t.pattern].y).replace(/%w%/g,this.options.sprites.json[t.pattern].width).replace(/%h%/g,this.options.sprites.json[t.pattern].height).replace("%W%",this.options.sprites.size.w).replace("%H%",this.options.sprites.size.h).replace("%URL%",this.options.sprites.url),o.innerHTML=r;else{var s=t["outline-color"]||"#FFFFFF";r="url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' preserveAspectRatio='none' viewBox='0 0 100 100'><rect x='0' y='0' width='100' height='100' rx='5' ry='5' stroke='%stroke-color%' stroke-width='3' fill='%color%' fill-opacity='%opacity%' /></svg>\")",o.style.background=r.replace("%color%",0===t.color.indexOf("rgb")?t.color:a.default.hexToRgba(t.color,1)).replace("%opacity%",t.opacity||1).replace("%stroke-color%",0===s.indexOf("rgb")?s:a.default.hexToRgba(s,1))}break;default:return d.warn("type not found, no thumbnail..."),!1}return!0}},{key:"_getValue",value:function(e){var t=null;if("string"==typeof e)t=e;else if("number"==typeof e)t=e;else if(Array.isArray(e)){var o=!0;e.forEach((function(e){"number"!=typeof e&&(o=!1)})),o&&(t=e)}else"object"===l(e)?(t=null,"stops"in e&&(e.stops.sort((function(e,t){var o=e[0],r=t[0];return o>r?-1:o<r?1:0})),t=e.stops.slice(-1)[0][1])):d.warn("value not supported !");return t}},{key:"_createElementIconLegend",value:function(e){var t=this,o=document.createElement("div");o.className=this.name.containerlegendrender;var r=this.rendercontainer=document.createElement("div");r.className=this.name.legendrender,e.edit&&(r.className+=" ",r.className+=this.name.legendeditable,r.addEventListener?r.addEventListener("click",(function(e){t.onEditionLegendMapBox(e)})):r.attachEvent&&r.attachEvent("onclick",(function(e){t.onEditionLegendMapBox(e)})));var n=e.type;this._renderThumbnail(n,e.values)?r.className+=e.edit?" legend-"+n:" legend-"+n+"-not-editable":r.className+=" legend-unknow",o.appendChild(r);var i=document.createElement("span");return i.className=this.name.legendtitle,i.innerHTML=e.title||"",o.appendChild(i),o}},{key:"_createElementEditionLegend",value:function(e){var t=this,o=document.createElement("div");if(o.className=this.name.containerlegendtools,!e.edit)return o;switch(e.type){case"line":(function(){var r=document.createElement("div");r.className="legend-styling-div";var n=document.createElement("label");n.className="legend-line",n.htmlFor=this.id?"line-color-"+this.id:"line-color",n.innerHTML=this.labels["line-color"];var i=document.createElement("input");i.className="legend-styling",i.id=this.id?"line-color-"+this.id:"line-color",i.title="Selectionner une couleur de trait",i.type="color",i.value=e.values.color,i.setAttribute("data-id","line-color"),i.addEventListener?i.addEventListener("change",(function(o){t._renderThumbnail(e.type,Object.assign(e.values,{color:o.target.value})),t.onChangeValueLegendMapBox(o)})):i.attachEvent&&i.attachEvent("onchange",(function(o){t._renderThumbnail(e.type,Object.assign(e.values,{color:o.target.value})),t.onChangeValueLegendMapBox(o)})),r.appendChild(n),r.appendChild(i),o.appendChild(r)}).call(t),function(){var r=document.createElement("div");r.className="legend-styling-div";var n=document.createElement("label");n.className="legend-line",n.htmlFor=this.id?"line-width-"+this.id:"line-width",n.innerHTML=this.labels["line-width"];var i=document.createElement("input");i.className="legend-styling",i.id=this.id?"line-width-"+this.id:"line-width",i.title=e.values.width,i.type="range",i.min="0",i.max="10",i.step="1",i.defaultValue=e.values.width,i.setAttribute("data-id","line-width"),i.addEventListener?i.addEventListener("change",(function(o){d.trace(o),o.target.title=o.target.value,t._renderThumbnail(e.type,Object.assign(e.values,{width:o.target.value})),t.onChangeValueLegendMapBox(o)})):i.attachEvent&&i.attachEvent("onchange",(function(o){d.trace(o),o.target.title=o.target.value,t._renderThumbnail(e.type,Object.assign(e.values,{width:o.target.value})),t.onChangeValueLegendMapBox(o)})),r.appendChild(n),r.appendChild(i),o.appendChild(r)}.call(t),function(){var r=document.createElement("div");r.className="legend-styling-div";var n=document.createElement("label");n.className="legend-line",n.htmlFor=this.id?"line-opacity-"+this.id:"line-opacity",n.innerHTML=this.labels["line-opacity"];var i=document.createElement("input");i.className="legend-styling",i.id=this.id?"line-opacity-"+this.id:"line-opacity",i.title=e.values.opacity,i.type="range",i.min="0",i.max="1",i.step="0.1",i.defaultValue=e.values.opacity,i.setAttribute("data-id","line-opacity"),i.addEventListener?i.addEventListener("change",(function(o){d.trace(o),o.target.title=o.target.value,t._renderThumbnail(e.type,Object.assign(e.values,{opacity:o.target.value})),t.onChangeValueLegendMapBox(o)})):i.attachEvent&&i.attachEvent("onchange",(function(o){d.trace(o),o.target.title=o.target.value,t._renderThumbnail(e.type,Object.assign(e.values,{opacity:o.target.value})),t.onChangeValueLegendMapBox(o)})),r.appendChild(n),r.appendChild(i),o.appendChild(r)}.call(t);break;case"background":case"fill":(function(){var r=document.createElement("div");r.className="legend-styling-div";var n=document.createElement("label");n.className="legend-fill",n.htmlFor=this.id?"fill-color-"+this.id:"fill-color",n.innerHTML=this.labels["fill-color"];var i=document.createElement("input");i.className="legend-styling",i.id=this.id?"fill-color-"+this.id:"fill-color",i.title="Selectionner une couleur de remplissage",i.type="color",i.value=e.values.color,i.setAttribute("data-id","fill-color"),i.addEventListener?i.addEventListener("change",(function(o){t._renderThumbnail(e.type,Object.assign(e.values,{color:o.target.value})),t.onChangeValueLegendMapBox(o)})):i.attachEvent&&i.attachEvent("onchange",(function(o){t._renderThumbnail(e.type,Object.assign(e.values,{color:o.target.value})),t.onChangeValueLegendMapBox(o)})),r.appendChild(n),r.appendChild(i),o.appendChild(r)}).call(t),function(){var r=document.createElement("div");r.className="legend-styling-div";var n=document.createElement("label");n.className="legend-fill",n.htmlFor=this.id?"fill-opacity-"+this.id:"fill-opacity",n.innerHTML=this.labels["fill-opacity"];var i=document.createElement("input");i.className="legend-styling",i.id=this.id?"fill-opacity-"+this.id:"fill-opacity",i.title=e.values.opacity,i.type="range",i.min="0",i.max="1",i.step="0.1",i.defaultValue=e.values.opacity,i.setAttribute("data-id","fill-opacity"),i.addEventListener?i.addEventListener("change",(function(o){o.target.title=o.target.value,t._renderThumbnail(e.type,Object.assign(e.values,{opacity:o.target.value})),t.onChangeValueLegendMapBox(o)})):i.attachEvent&&i.attachEvent("onchange",(function(o){o.target.title=o.target.value,t._renderThumbnail(e.type,Object.assign(e.values,{opacity:o.target.value})),t.onChangeValueLegendMapBox(o)})),r.appendChild(n),r.appendChild(i),o.appendChild(r)}.call(t)}return o}},{key:"add",value:function(){if(!this.options.target){if(!document.getElementById(this.name.target)){var e=document.createElement("div");e.id=this.name.target,(document.documentElement||document.getElementsByTagName("body")[0]||document.getElementsByTagName("head")[0]).appendChild(e)}this.options.target=document.getElementById(this.name.target)}return this.container&&this.options.target.appendChild(this.container),this}},{key:"display",value:function(e){return d.trace("display()",e),void 0!==e&&(this.container.style.display=e?"flex":"none"),"flex"===this.container.style.display}},{key:"isEditable",value:function(){return this.editable}},{key:"getRenderContainer",value:function(){return this.rendercontainer}},{key:"getToolsContainer",value:function(){return this.toolscontainer}},{key:"getContainer",value:function(){return this.container}},{key:"onEditionLegendMapBox",value:function(e){d.trace("onEditionLegendMapBox",e),e.editorID=this.id,e.data=this.options,n.a.dispatch(i.default.legend.onclickedition,e)}},{key:"onChangeValueLegendMapBox",value:function(e){d.trace("onChangeValueLegendMapBox",e),e.editorID=this.id,e.data=this.options,n.a.dispatch(i.default.legend.onchangevalue,e)}}],o&&u(t.prototype,o),r&&u(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,o,r}();p.PROPERTIES={line:["line-color","line-dasharray","line-opacity","line-width"],fill:["fill-color","fill-opacity","fill-outline-color","fill-pattern"],background:["background-color","background-opacity","background-pattern"],circle:["circle-color","circle-opacity","circle-stroke-color","circle-stroke-opacity","circle-stroke-width"],icon:["icon-color","icon-image","icon-opacity","__icon-size"],text:["__text-anchor","text-color","text-field","__text-font","__text-opacity","__text-size"]},t.default=p},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Search.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/eventbusjs/lib/eventbus.min.js"),n=o.n(r),i=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Event.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js");function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function l(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,u(r.key),r)}}function u(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}var c=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js").default.getLogger("editor-search"),d=function(){return e=function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),c.trace("[constructor] Search",t),this.options=t||{target:null,tools:null,title:null,obj:null},!(this instanceof e))throw new TypeError("ERROR CLASS_CONSTRUCTOR");this._initialize(),this._initContainer()},t=[{key:"_initialize",value:function(){this.id=this.options.id||null,this.options.target;var e={};this.options.tools||(this.options.tools=e),s.default.mergeParams(this.options.tools,e,!1),this.options.obj||(this.options.obj={}),this.options.title||(this.options.title="Recherche de couches :"),this.container=null,this.name={target:"GPEditorMapBoxSearchTarget",container:"GPEditorMapBoxSearchContainer"}}},{key:"_initContainer",value:function(){var e=JSON.parse(JSON.stringify(this.options.obj));e.layers&&0===e.layers.length&&c.info("tag 'layers' is empty !");var t=document.createElement("div");t.className=this.name.container,this.container=t}},{key:"add",value:function(){if(!this.options.target){if(!document.getElementById(this.name.target)){var e=document.createElement("div");e.id=this.name.target,(document.documentElement||document.getElementsByTagName("body")[0]||document.getElementsByTagName("head")[0]).appendChild(e)}this.options.target=document.getElementById(this.name.target)}return this.container&&this.options.target.appendChild(this.container),this}},{key:"display",value:function(e){return c.trace("display()",e),void 0!==e&&(this.container.style.display=e?"flex":"none"),"flex"===this.container.style.display}},{key:"getContainer",value:function(){return this.container}},{key:"onSubmitSearchLayersMapBox",value:function(e){c.trace("onSubmitSearchLayersMapBox",e),e.editorID=this.id,e.data=this.options,n.a.dispatch(i.default.search.onsubmit,e)}},{key:"onAutocompleteSearchLayersMapBox",value:function(e){c.trace("onAutocompleteSearchLayersMapBox",e),e.editorID=this.id,e.data=this.options,n.a.dispatch(i.default.search.onautocomplete,e)}}],t&&l(e.prototype,t),o&&l(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,o}();t.default=d},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Style.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/eventbusjs/lib/eventbus.min.js"),n=o.n(r),i=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Event.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js");function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function l(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,u(r.key),r)}}function u(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}var c=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js").default.getLogger("editor-style"),d=function(){return e=function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),c.trace("[constructor] Style",t),this.options=t||{target:null,position:0,tools:null,title:null,obj:null},!(this instanceof e))throw new TypeError("ERROR CLASS_CONSTRUCTOR");this._initialize(),this._initContainer()},t=[{key:"_initialize",value:function(){this.id=this.options.id||null,this.options.target,this.options.position||(this.options.position=0);var e={scale:!0,edition:!1};this.options.tools||(this.options.tools=e),s.default.mergeParams(this.options.tools,e,!1),this.options.obj||(this.options.obj={paint:{},layout:{}}),this.options.title||(this.options.title="JSON Styles :"),this.container=null,this.name={target:"GPEditorMapBoxStyleTarget",container:"GPEditorMapBoxStyleContainer",containerjson:"GPEditorMapBoxStyleJsonContainer",jsonlabel:"GPEditorMapBoxStyleJsonTitle",jsondisplay:"GPEditorMapBoxStyleJsonDisplay",containertoolsscale:"GPEditorMapBoxStyleToolsScaleContainer",scaletitle:"GPEditorMapBoxStyleScaleTitle",containertoolsminscale:"GPEditorMapBoxStyleToolsScaleMinContainer",scalelabelmin:"GPEditorMapBoxStyleScaleLabelMin",scaleinputmin:"GPEditorMapBoxStyleScaleInputMin",containertoolsmaxscale:"GPEditorMapBoxStyleToolsScaleMaxContainer",scalelabelmax:"GPEditorMapBoxStyleScaleLabelMax",scaleinputmax:"GPEditorMapBoxStyleScaleInputMax",containertoolsedit:"GPEditorMapBoxStyleToolsEditionContainer"}}},{key:"_initContainer",value:function(){var e=this,t=!1,o=JSON.parse(JSON.stringify(this.options.obj)),r={};o.paint&&(t=!0,r.paint=o.paint,0===Object.keys(o.paint).length&&c.info("tag 'paint' is empty !")),o.layout&&(t=!0,r.layout=o.layout,o.layout.visibility&&delete r.visibility,0===Object.keys(o.layout).length&&c.info("tag 'layout' is empty !"));var n=document.createElement("div");n.className=this.name.container;var i=null;if(t){var s=JSON.stringify(r,null,4);i=this._syntaxHighlight(s)}var a=document.createElement("div");a.className=this.name.containerjson;var l=document.createElement("label");l.className=this.name.jsonlabel,l.innerHTML=this.options.title,a.appendChild(l);var u=document.createElement("pre");u.className=this.name.jsondisplay,u.innerHTML=i,u.addEventListener?u.addEventListener("click",(function(t){e.options.tools.edition&&e.onEditJsonStyleMapBox(t)})):u.attachEvent&&u.attachEvent("onclick",(function(t){e.options.tools.edition&&e.onEditJsonStyleMapBox(t)})),a.appendChild(u),n.appendChild(a),this.options.tools.scale&&n.appendChild(this._createElementToolsScale({min:r.layout?r.layout.minzoom:0,max:r.layout?r.layout.maxzoom:21})),this.options.tools.edition&&n.appendChild(this._createElementToolsEdition()),this.container=n}},{key:"_createElementToolsScale",value:function(e){c.trace("_createElementToolsScale");var t=this,o=this.options.obj,r=document.createElement("div");r.className=this.name.containertoolsscale;var n=document.createElement("div");n.className=this.name.containertoolsminscale;var i=document.createElement("label");i.className=this.name.scalelabelmin,i.innerHTML="min :",n.appendChild(i);var s=document.createElement("input");s.className=this.name.scaleinputmin,s.type="range",s.value=e.min||0,s.title=e.min||0,s.disabled=!1,s.min=0,s.max=21,s.data=o,s.addEventListener?s.addEventListener("change",(function(e){t.onChangeStyleScaleMinMapBox(e)})):s.appendChild&&s.appendChild("onchange",(function(e){t.onChangeStyleScaleMinMapBox(e)})),n.appendChild(s),r.appendChild(n);var a=document.createElement("div");a.className=this.name.containertoolsmaxscale;var l=document.createElement("label");l.className=this.name.scalelabelmax,l.innerHTML="max :",a.appendChild(l);var u=document.createElement("input");return u.className=this.name.scaleinputmin,u.type="range",u.value=e.max||21,u.title=e.max||21,u.disabled=!1,u.min=0,u.max=21,u.data=o,u.addEventListener?u.addEventListener("change",(function(e){t.onChangeStyleScaleMaxMapBox(e)})):u.appendChild&&u.appendChild("onchange",(function(e){t.onChangeStyleScaleMaxMapBox(e)})),a.appendChild(u),r.appendChild(a),r}},{key:"_createElementToolsEdition",value:function(){c.warn("_createElementToolsEdition, it's not yet implemented !");var e=document.createElement("div");return e.className=this.name.containertoolsedit,e}},{key:"_syntaxHighlight",value:function(e){return(e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")).replace(/("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)/g,(function(e){var t="gp-json-number";return/^"/.test(e)?t=/:$/.test(e)?"gp-json-key":"gp-json-string":/true|false/.test(e)?t="gp-json-boolean":/null/.test(e)&&(t="gp-json-null"),"<span class='"+t+"'>"+e+"</span>"}))}},{key:"add",value:function(){if(!this.options.target){if(!document.getElementById(this.name.target)){var e=document.createElement("div");e.id=this.name.target,(document.documentElement||document.getElementsByTagName("body")[0]||document.getElementsByTagName("head")[0]).appendChild(e)}this.options.target=document.getElementById(this.name.target)}return this.container&&this.options.target.appendChild(this.container),this}},{key:"display",value:function(e){return c.trace("display()",e),void 0!==e&&(this.container.style.display=e?"flex":"none"),"flex"===this.container.style.display}},{key:"getContainer",value:function(){return this.container}},{key:"onEditJsonStyleMapBox",value:function(e){c.trace("onEditJsonStyleMapBox",e),e.editorID=this.id,e.data=this.options,n.a.dispatch(i.default.style.oneditjson,e)}},{key:"onChangeStyleScaleMinMapBox",value:function(e){c.trace("onChangeStyleScaleMinMapBox",e),e.editorID=this.id,e.data=this.options,n.a.dispatch(i.default.style.scale.onchangemin,e)}},{key:"onChangeStyleScaleMaxMapBox",value:function(e){c.trace("onChangeStyleScaleMaxMapBox",e),e.editorID=this.id,e.data=this.options,n.a.dispatch(i.default.style.scale.onchangemax,e)}}],t&&l(e.prototype,t),o&&l(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,o}();t.default=d},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Themes.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/eventbusjs/lib/eventbus.min.js"),n=o.n(r),i=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Event.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),a=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js");function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function u(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,c(r.key),r)}}function c(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,t||"default");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}var d=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js").default.getLogger("editor-themes"),p=function(){return e=function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),d.trace("[constructor] Themes",t),this.options=t||{},!(this instanceof e))throw new TypeError("ERROR CLASS_CONSTRUCTOR");this._initialize(),this._initContainer()},t=[{key:"_initialize",value:function(){this.id=this.options.id||null,this.options.target;var e={thumbnails:!0,button:{visible:!0,type:"radio"}};this.options.tools&&0!==Object.keys(this.options.tools).length||(this.options.tools=e),s.default.mergeParams(this.options.tools,e,!1),void 0!==this.options.obj&&null!==this.options.obj&&this.options.obj||(this.options.obj={themesSummary:"",themes:[]}),this.container=null,this.name={target:"GPEditorMapBoxThemeTarget",container:"GPEditorMapBoxThemesContainer",containertheme:"GPEditorMapBoxThemeContainer",containerthemeID:"GPEditorMapBoxThemeContainer_ID_",input:"GPEditorMapBoxThemeInput",inputID:"GPEditorMapBoxThemeInput_ID_",label:"GPEditorMapBoxThemeTitle",labelID:"GPEditorMapBoxThemeTitle_ID_",image:"GPEditorMapBoxThemeImage",imageID:"GPEditorMapBoxThemeImage_ID_",message:"GPEditorMapBoxThemeMessage"}}},{key:"_initContainer",value:function(){var e=this,t=this.options.obj,o=this.id||a.default.generate(),r=document.createElement("div");r.className=this.name.container,r.title=t.themesSummary||"";var n=t.themes;if(n)for(var i=0;i<n.length;i++){var s=n[i],l=document.createElement("div");l.id=this.name.containerthemeID+i+"_"+o,l.className=this.name.containertheme,l.tabIndex=i;var u=s.url,c=s.selected||!1;if(u){var d=this.options.tools.button;if(d.visible){var p="checkbox"===d.type?"checkbox":"radio",h=document.createElement("input");h.type=p,h.id=this.name.inputID+i+"_"+o,h.className=this.name.input,h.name=o,h.checked=c,h.data=u,h.addEventListener?h.addEventListener("click",(function(t){e.onClickThemeTitleMapBox(t)})):h.attachEvent&&h.attachEvent("onclick",(function(t){e.onClickThemeTitleMapBox(t)})),l.appendChild(h)}if(this.options.tools.thumbnails&&s.thumbnail){var f=document.createElement("img");f.id=this.name.imageID+i+"_"+o,f.className=this.name.image,f.src=s.thumbnail,f.alt=s.thumbnail,f.title=s.description||"",f.data=u,f.addEventListener?f.addEventListener("click",(function(t){e.onClickThemeImageMapBox(t);var o=t.target.parentElement.childNodes;if(o){var r=o[0];"input"===r.tagName.toLowerCase()&&(r.checked=!r.checked)}})):f.attachEvent&&f.attachEvent("onclick",(function(t){e.onClickThemeImageMapBox(t);var o=t.target.parentElement.childNodes;if(o){var r=o[0];"input"===r.tagName.toLowerCase()&&(r.checked=!r.checked)}})),l.appendChild(f)}if(s.name){var m=document.createElement("label");m.id=this.name.labelID+i+"_"+o,this.options.tools.button.visible&&(m.htmlFor=h.id),m.className=this.name.label,m.innerHTML=s.name,m.title=s.description||"",m.data=u,this.options.tools.button.visible||(m.addEventListener?m.addEventListener("click",(function(t){e.onClickThemeTitleMapBox(t)})):m.attachEvent&&m.attachEvent("onclick",(function(t){e.onClickThemeTitleMapBox(t)}))),l.appendChild(m)}}else{var g=document.createElement("label");g.className=this.name.message,g.innerHTML="Thème non disponible...",l.appendChild(g)}r.appendChild(l)}this.container=r}},{key:"add",value:function(){if(!this.options.target){if(!document.getElementById(this.name.target)){var e=document.createElement("div");e.id=this.name.target,(document.documentElement||document.getElementsByTagName("body")[0]||document.getElementsByTagName("head")[0]).appendChild(e)}this.options.target=document.getElementById(this.name.target)}return this.container&&this.options.target.appendChild(this.container),this}},{key:"display",value:function(e){return d.trace("display()",e),void 0!==e&&(this.container.style.display=e?"flex":"none"),"flex"===this.container.style.display}},{key:"getContainer",value:function(){return this.container}},{key:"onClickThemeImageMapBox",value:function(e){if(d.trace("onClickThemeImageMapBox",e),e.editorID=this.id,e.data=this.options,"checkbox"===this.options.tools.button.type)for(var t=e.target.previousSibling.id.substring(e.target.previousSibling.id.lastIndexOf("_")+1),o=document.getElementsByClassName(this.name.input),r=0;r<o.length;r++){var s=o[r];s.id!==e.target.previousSibling.id&&s.id.substring(s.id.lastIndexOf("_")+1)===t&&(s.checked=!1)}n.a.dispatch(i.default.themes.onclickimage,e)}},{key:"onClickThemeTitleMapBox",value:function(e){if(d.trace("onClickThemeTitleMapBox",e),e.editorID=this.id,e.data=this.options,"checkbox"===this.options.tools.button.type)for(var t=e.target.id.substring(e.target.id.lastIndexOf("_")+1),o=document.getElementsByClassName(this.name.input),r=0;r<o.length;r++){var s=o[r];s.id!==e.target.id&&s.id.substring(s.id.lastIndexOf("_")+1)===t&&(s.checked=!1)}n.a.dispatch(i.default.themes.onclicktitle,e)}}],t&&u(e.prototype,t),o&&u(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,o}();t.default=p},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/ElevationPath.js":function(e,t,o){"use strict";o.r(t);o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/ElevationPath/GPelevationPathOpenLayers.css");var r=o("./node_modules/ol/control/Control.js"),n=o("./node_modules/ol/style.js"),i=o("./node_modules/ol/geom.js"),s=o("./node_modules/ol/interaction.js"),a=o("./node_modules/ol/proj.js"),l=o("./node_modules/ol/sphere.js"),u=o("./node_modules/ol/Feature.js"),c=o("./node_modules/ol/layer/Vector.js"),d=o("./node_modules/ol/source/Vector.js"),p=o("./node_modules/geoportal-access-lib/src/Gp.js"),h=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),f=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),m=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js"),g=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/Markers.js"),y=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/Interactions.js"),v=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/MeasureToolBox.js"),_=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Measures/Measures.js"),b=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/LayerSwitcher.js"),A=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Export.js"),C=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Formats/GeoJSON.js"),E=o("./node_modules/geoportal-extensions-openlayers/src/Common/Controls/ElevationPathDOM.js"),S=o("./node_modules/geoportal-extensions-openlayers/src/Common/Controls/ProfileElevationPathDOM.js");function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}var O=f.default.getLogger("elevationpath"),I=function(e){function t(o){if(O.trace("ElevationPath()"),o=o||{},!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");this.CLASSNAME="ElevationPath",this._uid=m.default.generate(),this._showContainer=null,this._pictoContainer=null,this._panelContainer=null,this._profileContainer=null,this._waitingContainer=null,this._infoContainer=null,this._timerHdlr=null,this._drawStyleStart=null,this._drawStyleFinish=null,this._markerStyle=null,this._profile=null,this._data={},this._measureSource=null,this._measureVector=null,this._measureDraw=null,this._lastSketch=null,this._currentSketch=null,this._marker=null,this._initialize(o),this._container=o.element?o.element:this._initializeContainer(),e.call(this,{element:this._container,target:o.target,render:o.render})}return e&&(t.__proto__=e),t.prototype=Object.create(e.prototype,{}),h.default.assign(t.prototype,E.default),t.__removeProfileMarker=function(e){var t=e;t._marker&&(t._measureSource.removeFeature(t._marker),t._marker=null)},t.__createProfileMarker=function(e,t){var o=e;o._marker&&(o._measureSource.removeFeature(o._marker),o._marker=null);var r=o.getMap().getView().getProjection(),n=Object(a.transform)([t.lon,t.lat],"EPSG:4326",r),s=o._measureSource.getFeatures()[0].getGeometry().getClosestPoint(n),l=new i.Point(s);o._marker=new u.default({geometry:l}),O.trace(l),o._marker.setStyle(o._markerStyle),o._measureSource.addFeature(o._marker)},t.__updateProfileMarker=function(e,o){var r=e;t.__removeProfileMarker(r),t.__createProfileMarker(r,o)},t.__customRawProfileOperation=function(e,o){O.log("__customRawProfileOperation");for(var r=e,s=o.points,l=r.getMap().getView().getProjection(),c=0;c<s.length;c++){var d=s[c],p=Object(a.transform)([d.lon,d.lat],"EPSG:4326",l),h=new i.Point(p);r._marker=new u.default({geometry:h}),O.trace(h);var f=t.DEFAULT_STYLES.RESULTS,m=new n.Circle({radius:f.imageRadius,stroke:new n.Stroke({color:f.imageStrokeColor,width:f.imageStrokeWidth}),fill:new n.Fill({color:f.imageFillColor})});r._marker.setStyle(new n.Style({image:m})),r._measureSource.addFeature(r._marker)}},t.__customRawProfileMouseOverEvent=function(e,t){O.log("__customRawProfileMouseOverEvent",e,t)},t.DISPLAY_PROFILE_LIB_AMCHARTS=function(e,o,r){if(O.trace("ElevationPath.DISPLAY_PROFILE_LIB_AMCHARTS"),"undefined"!=typeof AmCharts){var n=S.default.displayProfileLibAmCharts(e,o,r,t);n&&(this._profile=n)}else O.log("Lib. AmCharts is not loaded !")},t.DISPLAY_PROFILE_LIB_D3=function(e,o,r){if(O.trace("ElevationPath.DISPLAY_PROFILE_LIB_D3"),"undefined"!=typeof d3){var n=S.default.displayProfileLibD3(e,o,r,t);n&&(this._profile=n)}else O.log("Lib. D3 is not loaded !")},t.DISPLAY_PROFILE_RAW=function(e,o,r){O.trace("ElevationPath.DISPLAY_PROFILE_RAW");var n=S.default.displayProfileRaw(e,o,r,t);n&&(this._profile=n)},t.DISPLAY_PROFILE_BY_DEFAULT=function(e,o,r){O.trace("ElevationPath.DISPLAY_PROFILE_BY_DEFAULT");var n=S.default.displayProfileByDefault(e,o,r,t);n&&(this._profile=n)},t.DEFAULT_STYLES={MARKER:new n.Icon({src:g.default.lightOrange,anchor:[.5,1],snapToPixel:!0}),RESULTS:{imageRadius:5,imageFillColor:"rgba(128, 128, 128, 0.2)",imageStrokeColor:"rgba(0, 0, 0, 0.7)",imageStrokeWidth:2}},t.prototype.constructor=t,t.prototype.setMap=function(t){if(O.trace("ElevationPath::setMap"),t&&(this.options.active&&(null===this._profile&&(this._panelContainer.style.display="none"),this._initMeasureInteraction(t),this._addMeasureInteraction(t)),this.options.target||v.default.add(t,this),this.options.export)){var o=h.default.assign({control:this},this.options.export);this.export=new A.default(o),this.export.render();var r=this;this.export.on("export:compute",(function(e){r.dispatchEvent({type:"export:compute",content:e.content})}))}e.prototype.setMap.call(this,t)},t.prototype.getActive=function(){return O.trace("ElevationPath::getActive"),this.options.active},t.prototype.setActive=function(e){O.trace("ElevationPath::setActive"),this.options.active=e},t.prototype.getData=function(){return h.default.assign({type:"elevationpath"},this._data)},t.prototype.setData=function(e){this._data=e},t.prototype.getContainer=function(){return this._container},t.prototype.getLayer=function(){return this._measureVector},t.prototype.setLayer=function(e){e?e instanceof c.default?(e.setStyle(this._drawStyleFinish),this._measureVector=e,this._measureSource=e.getSource()):O.log("no valid layer given for hosting drawn features."):this._measureVector=null},t.prototype.getGeoJSON=function(){var e=this._measureVector.getSource().getFeatures();return new C.default({defaultStyle:this._drawStyleFinish}).writeFeatures(e,{dataProjection:"EPSG:4326",featureProjection:"EPSG:3857"})},t.prototype.getStyle=function(){return this._drawStyleFinish},t.prototype.clean=function(e){O.trace("ElevationPath::clean");var t=this.getMap();this._panelContainer.style.display="none",this._showContainer.checked=!1,this._removeProfile(),this._removeMeasureInteraction(t,void 0!==e&&e),this.setLayer()},t.prototype.init=function(){this._showContainer.checked=!0,this._panelContainer.style.display="block",this._displayProfile(this._data),this._waitingContainer.className="GPelevationPathCalcWaitingContainerHidden"},t.prototype._initialize=function(e){O.trace("ElevationPath::_initialize : ",e),this.options={target:null,render:null,active:!1,apiKey:null,export:!1,elevationOptions:{outputFormat:"json"},layerDescription:{title:"Profil altimétrique",description:"Mon profil altimétrique"},displayProfileOptions:{totalDistance:!0,greaterSlope:!0,meanSlope:!0,ascendingElevation:!0,descendingElevation:!0,currentSlope:!0,apply:null,target:null},stylesOptions:{profile:null,draw:null,marker:null}},h.default.mergeParams(this.options,e),this.options.target=e.target||null,this.options.apiKey=e.apiKey;var o=e.displayProfileOptions||{};this.export=null;var r=o.apply;this.options.displayProfileOptions.apply="function"==typeof r?r:t.DISPLAY_PROFILE_BY_DEFAULT;var n=o.target;this.options.displayProfileOptions.target=void 0!==n?n:null;var i=e.stylesOptions||{};this.options.stylesOptions.draw=i.draw||{},this._createStylingDraw(),this.options.stylesOptions.marker=i.marker||{},this._createStylingMarker()},t.prototype._initializeContainer=function(){O.trace("ElevationPath::_initializeContainer : ",this._uid);var e=this._createMainContainerElement(),t=this._showContainer=this._createShowElevationPathElement();e.appendChild(t);var o=this._pictoContainer=this._createShowElevationPathPictoElement();e.appendChild(o),this.options.active&&(this._showContainer.checked=!0);var r=this._panelContainer=this._createElevationPathPanelElement(),n=this._createElevationPathPanelHeaderElement();r.appendChild(n);var i=this._profileContainer=this._createElevationPathPanelProfilElement();r.appendChild(i);var s=this._waitingContainer=this._createElevationPathWaitingElement();r.appendChild(s);var a=this._infoContainer=this._createElevationPathInformationsElement();return r.appendChild(a),null===this.options.displayProfileOptions.target&&e.appendChild(r),e},t.prototype._createStylingMarker=function(){O.trace("ElevationPath::_createStylingMarker ");var e=t.DEFAULT_STYLES.MARKER;O.trace("style marker",e),this.options.stylesOptions.marker instanceof n.Image&&(e=this.options.stylesOptions.marker),this._markerStyle=new n.Style({image:e})},t.prototype._createStylingDraw=function(){O.trace("ElevationPath::_createStylingDraw");var e=this.options.stylesOptions.draw;O.trace("style start",e.start);var t={image:_.default.DEFAULT_POINTER_STYLE,stroke:_.default.DEFAULT_DRAW_START_STYLE.getStroke()};e.hasOwnProperty("pointer")&&e.pointer instanceof n.Image&&(t.image=e.pointer),e.hasOwnProperty("start")&&e.start instanceof n.Stroke&&(t.stroke=e.start),this._drawStyleStart=new n.Style(t),O.trace("style finish",e.finish);var o={stroke:_.default.DEFAULT_DRAW_FINISH_STYLE.getStroke()};e.hasOwnProperty("finish")&&e.finish instanceof n.Stroke&&(o.stroke=e.finish),this._drawStyleFinish=new n.Style(o)},t.prototype._createStylingProfile=function(){O.trace("ElevationPath::_createStylingProfile");var e=this.options.stylesOptions.profile;O.trace("style profile",e);var o=t.DEFAULT_STYLES.PROFILE;Object.keys(o).forEach((function(t){if(e.hasOwnProperty(t)){var r=o[t];"object"===w(r)&&(h.default.mergeParams(r,e[t]),e[t]=r)}else e[t]=o[t]}))},t.prototype._initMeasureInteraction=function(e){var t=this;O.trace("ElevationPath::_initMeasureInteraction()"),e&&(this._measureSource=new d.default,this._measureVector=new c.default({source:this._measureSource,style:this._drawStyleFinish}),this._measureVector.gpResultLayerId="measure:profil",e.addLayer(this._measureVector),e.getControls().forEach((function(e){if(e instanceof b.default){var o=t._measureVector.gpLayerId;e._layers[o].title===o&&e.addLayer(t._measureVector,{title:t.options.layerDescription.title,description:t.options.layerDescription.description})}})))},t.prototype._addMeasureInteraction=function(e){var t=this;O.trace("ElevationPath::_addMeasureInteraction()"),e&&(this._measureDraw=new s.Draw({source:this._measureSource,type:"LineString",style:this._drawStyleStart,stopClick:!0}),this._measureDraw.setProperties({name:"ElevationPath",source:this}),e.addInteraction(this._measureDraw),this._measureDraw.on("drawstart",(function(e){O.trace("drawstart",e),null!==t._marker&&(t._measureSource.removeFeature(t._marker),t._marker=null),null!==t._lastSketch&&(t._measureSource.removeFeature(t._lastSketch),t._lastSketch=null),t._currentSketch=e.feature;for(var o=t._measureSource.getFeatures(),r=0;r<o.length;r++)t._measureSource.removeFeature(o[r]);t.dispatchEvent("elevationpath:drawstart")})),this._measureDraw.on("drawend",(function(e){O.trace("drawend",e),t.dispatchEvent("elevationpath:drawend"),t._lastSketch=t._currentSketch,void 0===t.options.elevationOptions.onSuccess&&null===t.options.displayProfileOptions.target&&(t._panelContainer.style.display="block"),t._measureDraw.setActive(!1),t._requestService()})))},t.prototype._removeMeasureInteraction=function(e,t){O.trace("ElevationPath::_removeMeasureInteraction()"),e&&(t&&this._measureVector&&(e.removeLayer(this._measureVector),this._measureVector=null),this._measureDraw&&(e.removeInteraction(this._measureDraw),this._measureDraw=null))},t.prototype._getGeometry=function(){if(null!==this._currentSketch){for(var e=[],t=this.getMap().getView().getProjection(),o="EPSG:4326",r=this._currentSketch.getGeometry().getCoordinates(),n=0;n<r.length;n++){var i=r[n],s=i;t!==o&&(s=Object(a.transform)(i,t,o)),e.push({lon:Math.round(1e8*s[0])/1e8,lat:Math.round(1e8*s[1])/1e8})}return e}O.warn("Current Feature undefined !?")},t.prototype._getLength=function(){if(null!==this._currentSketch){for(var e=0,t=this.getMap().getView().getProjection(),o="EPSG:4326",r=this._currentSketch.getGeometry().getCoordinates(),n=0,i=r.length-1;n<i;++n){var s=Object(a.transform)(r[n],t,o),u=Object(a.transform)(r[n+1],t,o);s[0]=Math.round(1e8*s[0])/1e8,s[1]=Math.round(1e8*s[1])/1e8,u[0]=Math.round(1e8*u[0])/1e8,u[1]=Math.round(1e8*u[1])/1e8,e+=Object(l.getDistance)(s,u)}return e}O.warn("Current Feature undefined !?")},t.prototype._getSketchCoords=function(){if(null!==this._currentSketch){for(var e=this.getMap().getView().getProjection(),t=[],o=this._currentSketch.getGeometry().getCoordinates(),r=0;r<o.length;r++){var n=Object(a.transform)(o[r],e,"EPSG:4326");n[0]=Math.round(1e8*n[0])/1e8,n[1]=Math.round(1e8*n[1])/1e8,t.push(n)}return t}O.warn("Current Feature undefined !?")},t.prototype._requestService=function(){O.trace("ElevationPath::_requestService");var e=this._getGeometry();if(O.trace("geometry",e),e){var t={};h.default.mergeParams(t,this.options.elevationOptions),h.default.mergeParams(t,{apiKey:t.apiKey||this.options.apiKey}),"boolean"!=typeof t.ssl&&("boolean"==typeof this.options.ssl?t.ssl=this.options.ssl:t.ssl=!0),h.default.mergeParams(t,{ssl:t.ssl});var o=this,r=!(null===this.options.elevationOptions.onFailure||"function"!=typeof this.options.elevationOptions.onFailure),n=!(null===this.options.elevationOptions.onSuccess||"function"!=typeof this.options.elevationOptions.onSuccess);h.default.mergeParams(t,{onSuccess:function(e){O.trace(e),e&&(o._panelContainer.style.display="block",o._data&&(o._data={}),o._data=o._computeElevationMeasure(e.elevations),o._displayProfile(o._data),o._waitingContainer.className="GPelevationPathCalcWaitingContainerHidden",o._waiting=!1,o._measureDraw.setActive(!0)),n&&o.options.elevationOptions.onSuccess.call(o,o.getData())},onFailure:function(e){o._panelContainer.style.display="none",O.error(e.message),o._waitingContainer.className="GPelevationPathCalcWaitingContainerHidden",o._waiting=!1,o._measureDraw.setActive(!0),r&&o.options.elevationOptions.onFailure.call(o,e)}});var i=t.sampling||200,s=Math.max(50,Math.floor(this._getLength())/5);(i=s>200?200:Math.floor(s))>0&&h.default.mergeParams(t,{sampling:i}),h.default.mergeParams(t,{positions:e}),O.trace("options du service",t),this._waitingContainer.className="GPelevationPathCalcWaitingContainerVisible",p.default.Services.getAltitude(t)}else O.warn("missing geometry !?")},t.prototype._computeElevationMeasure=function(e){O.trace("ElevationPath::_computeElevationMeasure",e);var t=e;if(this._getSketchCoords()){t[0].dist=0,t[0].slope=0,t[0].oldlat=t[0].lat,t[0].oldlon=t[0].lon,t[0].lat=Math.round(1e5*t[0].lat)/1e5,t[0].lon=Math.round(1e5*t[0].lon)/1e5;for(var o=0,r=0,n=0,i=0,s=0,a=0,u=[],c=1;c<t.length;c++){var d=[t[c].lon,t[c].lat],p=Object(l.getDistance)(d,[t[c-1].oldlon,t[c-1].oldlat]),h=p+s,f=t[c].z,m=t[c-1].z;f<0&&(f=0),m<0&&(m=0);var g=f-m;g<0?(o+=p,i+=g):g>0&&(r+=p,n+=g),s=h,t[c].dist=h,u.push(s),a+=g?Math.abs(Math.round(g/p*100)):0,t[c].slope=g?Math.abs(Math.round(g/p*100)):0;var y=t[c].slope;t[c].color=y>15&&y<30?"#005b4c":y>30&&y<45?"#00362d":y>45?"#00120f":"#00B798",t[c].oldlat=t[c].lat,t[c].oldlon=t[c].lon,t[c].lat=Math.round(1e5*t[c].lat)/1e5,t[c].lon=Math.round(1e5*t[c].lon)/1e5}O.trace("List Distances",u);for(var v=t[0].z,_=t[0].z,b=t[0].slope,A=0;A<t.length;A++){var C=t[A];C.z<-100&&(C.z=0),C.z>_&&(_=C.z),C.z<v&&(v=C.z),C.slope>b&&(b=C.slope)}return{greaterSlope:b,meanSlope:Math.round(a/t.length),distancePlus:r,distanceMinus:o,ascendingElevation:n,descendingElevation:i,altMin:v.toLocaleString(),altMax:_.toLocaleString(),distance:this._getLength(),unit:"m",points:t}}},t.prototype._displayProfile=function(e){O.trace("ElevationPath::_displayProfile",e),this._updateInfoContainer();var t=this.options.displayProfileOptions.target;t&&t.appendChild(this._panelContainer),t=this._profileContainer;this.options.displayProfileOptions.apply.call(this,e,t,this);var o=this.options.displayProfileOptions,r=document.getElementById("GPelevationPathPanelInfo-"+this._uid);r&&(o.totalDistance||o.greaterSlope||o.meanSlope||o.ascendingElevation||o.descendingElevation)&&(r.style.display="block"),this.dispatchEvent({type:"elevationpath:compute"})},t.prototype._updateInfoContainer=function(){O.trace("ElevationPath::_updateInfoContainer");var e=this.options.displayProfileOptions.totalDistance,t=this.options.displayProfileOptions.meanSlope,o=this.options.displayProfileOptions.greaterSlope,r=this.options.displayProfileOptions.ascendingElevation,n=this.options.displayProfileOptions.descendingElevation,i=this._infoContainer;if(i.childElementCount)for(;i.firstChild;)i.removeChild(i.firstChild);e&&this._addElevationPathInformationsItem("Distance totale : "+Math.round(this._data.distance).toLocaleString()+" m"),r&&this._addElevationPathInformationsItem("Dénivelé positif : "+this._data.ascendingElevation.toLocaleString()+" m"),n&&this._addElevationPathInformationsItem("Dénivelé négatif : "+this._data.descendingElevation.toLocaleString()+" m"),t&&this._addElevationPathInformationsItem("Pente moyenne : "+this._data.meanSlope.toLocaleString()+" %"),o&&this._addElevationPathInformationsItem("Plus forte pente : "+this._data.greaterSlope.toLocaleString()+" %")},t.prototype._removeMeasure=function(){if(this._lastSketch=null,this._currentSketch=null,this._measureSource){this._marker&&(this._measureSource.removeFeature(this._marker),this._marker=null);for(var e=this._measureSource.getFeatures(),t=0;t<e.length;t++)this._measureSource.removeFeature(e[t])}},t.prototype._removeProfile=function(){if(this._profile=null,this._profileContainer)for(;this._profileContainer.firstChild;)this._profileContainer.removeChild(this._profileContainer.firstChild)},t.prototype.onShowElevationPathClick=function(e){var t=this.getMap();y.default.unset(t,{current:"ElevationPath"}),this._showContainer.checked?(this._panelContainer.style.display="none",e&&e.target.dataset&&e.target.dataset.removeMeasure?"true"===e.target.dataset.removeMeasure?this._removeMeasure():(this._lastSketch=null,this._currentSketch=null):this._removeMeasure(),this._removeProfile(),e&&e.target.dataset&&e.target.dataset.removeLayer?this._removeMeasureInteraction(t,"true"===e.target.dataset.removeLayer):this._removeMeasureInteraction(t,!0)):(null===this._profile&&(this._panelContainer.style.display="none"),this._initMeasureInteraction(t),this._addMeasureInteraction(t))},t.prototype.onOpenElevationPathInfoClick=function(){var e=this._infoContainer;"GPelevationPathInformationsContainerVisible"===e.className?(clearTimeout(this._timerHdlr),e.className="GPelevationPathInformationsContainerHidden"):e.className="GPelevationPathInformationsContainerVisible",this._timerHdlr=setTimeout((function(){e.className="GPelevationPathInformationsContainerHidden"}),4e3)},t}(r.default);t.default=I,window.ol&&window.ol.control&&(window.ol.control.ElevationPath=I)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Export.js":function(e,t,o){"use strict";o.r(t);o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Export/GPexportOpenLayers.css");var r=o("./node_modules/ol/control/Control.js"),n=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js"),i=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),a=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Formats/KML.js"),l=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Formats/GeoJSON.js"),u=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Formats/GPX.js"),c=o("./node_modules/geoportal-extensions-openlayers/src/Common/Controls/ExportDOM.js");function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function p(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,h(r.key),r)}}function h(e){var t=function(e,t){if("object"!=d(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,t||"default");if("object"!=d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==d(t)?t:t+""}function f(e,t,o){return t=g(t),function(e,t){if(t&&("object"==d(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,m()?Reflect.construct(t,o||[],g(e).constructor):t.apply(e,o))}function m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(m=function(){return!!e})()}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}var v=s.default.getLogger("export"),_=function(e){function t(e){var o;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e=e||{control:null,target:null,format:"geojson",name:"export",title:"Exporter",menu:!1,onExport:null},v.trace("[constructor] Export",e),!((o=f(this,t,[{element:document.createElement("div"),render:e.render,target:e.target}]))instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");return o.EXPORT_ROUTE={},o.EXPORT_ISOCHRON={},o.EXPORT_PROFILE={},o.uid=e.id||n.default.generate(),o.extension=null,o.mimeType=null,o.container=null,o.button=null,o.menu=null,o.icon="☰ ",o.menuClassHidden="GPexportMenuHidden",o.initOptions(e),o.initContainer(),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(t,e),o=t,r=[{key:"render",value:function(){if(!this.options.target&&this.options.control){var e=this.options.control.getContainer();this.options.target=e.lastChild}this.container&&this.options.target.appendChild(this.container)}},{key:"initOptions",value:function(e){this.options=e,this.options.control,this.options.target;var t=this.options.format;t?this.setFormat(t):this.setFormat(""),this.options.name||this.setName("export"),this.options.title||this.setTitle("Exporter"),void 0===this.options.menu&&this.setMenu(!1)}},{key:"initContainer",value:function(){var e=this,t=this.options.title;this.options.menu&&(t=this.icon+this.options.title);var o=document.createElement("div");o.id=this._addUID("GPexportContainer"),o.className="GPexportMenuContainer";var r=this.stringToHTML('\n            <input type="button"\n                id="'.concat(this._addUID("GPexportButton"),'" \n                class="GPinputSubmit"\n                value="').concat(t,'">\n        '));this.button=r.firstChild,this.button&&this.button.addEventListener("click",(function(t){return e.onClickButtonExport(t)})),o.appendChild(r.firstChild);var n=this.stringToHTML('\n            <div class="GPexportMenuContent '.concat(this.menuClassHidden,'">\n                <label class="container">GeoJSON\n                    <input type="radio" \n                        id="GPmenuFormatGeojson-').concat(this.uid,'"\n                        name="format" \n                        value="geojson">\n                    <span class="checkmark"></span>\n                </label>\n                <label class="container">KML\n                    <input type="radio" \n                        id="GPmenuFormatKml-').concat(this.uid,'"\n                        name="format" \n                        value="kml">\n                    <span class="checkmark"></span>\n                </label>\n                <label class="container">GPX\n                    <input type="radio" \n                        id="GPmenuFormatGpx-').concat(this.uid,'"\n                        name="format" \n                        value="gpx">\n                    <span class="checkmark"></span>\n                </label>\n            </div>\n        '));if(this.menu=n.firstChild,this.menu){if(this.options.menu){var i=this.menu.className;this.menu.className=i.replace(this.menuClassHidden,"")}this.menu.querySelectorAll('input[type=radio][name="format"]').forEach((function(t){t.id.toUpperCase().includes(e.options.format.toUpperCase())&&(t.checked=!0),t.addEventListener("change",(function(t){e.setFormat(t.target.value)}))}))}o.appendChild(n.firstChild),this.container=o}},{key:"stringToHTML",value:function(e){if(function(){if(!window.DOMParser)return!1;var e=new DOMParser;try{e.parseFromString("x","text/html")}catch(e){return!1}return!0}())return(new DOMParser).parseFromString(e,"text/html").body;var t=document.createElement("div");return t.innerHTML=e,t}},{key:"isPluggableControl",value:function(){return!(!this.options.control||"function"!=typeof this.options.control.getContainer||"function"!=typeof this.options.control.getLayer)}},{key:"exportFeatures",value:function(e,t,o){var r=this,n=null;if(!e)return v.warn("Impossible to export : no layer is hosting features."),n;if(!e.getSource()||!e.getSource().getFeatures()||!e.getSource().getFeatures().length)return v.warn("Impossible to export : no features found."),n;e.getSource().getFeatures().forEach((function(e){e.getStyle()||"function"!=typeof r.options.control.getStyle||e.setStyle(r.options.control.getStyle())}));var i={defaultStyle:o};t&&(i.extensions={"geoportail:compute":t});var s=null;switch(this.options.format.toUpperCase()){case"KML":i.writeStyles=!0,i.showPointNames=!0,s=new a.default(i);break;case"GPX":s=new u.default(i);break;case"GEOJSON":s=new l.default(i)}if(!s)return v.warn("Impossible to export : format unknown !?"),n;var c=e.getSource().getProjection(),d=this.getMap();d&&(c=c||d.getView().getProjection());var p=e.getSource().getFeatures();return n=s.writeFeatures(p,{dataProjection:"EPSG:4326",featureProjection:c||"EPSG:3857"})}},{key:"onClickButtonExport",value:function(e){if(this.isPluggableControl()){var t=this.options.control.getLayer(),o=void 0!==this.options.control.getData?this.options.control.getData():{},r=void 0!==this.options.control.getStyle?this.options.control.getStyle():{},n=this.exportFeatures(t,o,r);if(n&&"null"!==n)if(this.dispatchEvent({type:"export:compute",content:n}),this.options.onExport&&"function"==typeof this.options.onExport)this.options.onExport(n);else{var i=document.createElement("a");if(i.setAttribute("href","data:"+this.mimeType+";charset=utf-8,"+encodeURIComponent(n)),i.setAttribute("download",this.options.name+this.extension),document.createEvent){var s=document.createEvent("MouseEvents");s.initEvent("click",!0,!0),i.dispatchEvent(s)}else i.click()}}else v.warn("Componant not pluggable with the control !")}},{key:"setControl",value:function(e){this.options.control=e}},{key:"setTarget",value:function(e){this.options.target=e}},{key:"setFormat",value:function(e){switch(this.options.format=e.toUpperCase(),this.options.format){case"KML":this.extension=".kml",this.mimeType="application/vnd.google-earth.kml+xml";break;case"GPX":this.extension=".gpx",this.mimeType="application/gpx+xml";break;case"GEOJSON":this.extension=".geojson",this.mimeType="application/geo+json";break;default:this.options.format="GEOJSON",this.extension=".geojson",this.mimeType="application/geo+json"}}},{key:"setName",value:function(e){this.options.name=e}},{key:"setTitle",value:function(e){this.options.title=e,this.button&&(this.button.value=this.options.menu?this.icon+e:e)}},{key:"setMenu",value:function(e){var t=this;if(this.options.menu=e,this.button&&(this.button.value=this.options.menu?this.icon+this.options.title:this.options.title),this.menu&&this.options.menu){var o=this.menu.className;this.menu.className=o.replace(this.menuClassHidden,""),this.menu.querySelectorAll('input[type=radio][name="format"]').forEach((function(e){e.id.toUpperCase().includes(t.options.format.toUpperCase())&&(e.checked=!0)}))}}}],r&&p(o.prototype,r),i&&p(o,i),Object.defineProperty(o,"prototype",{writable:!1}),o;var o,r,i}(r.default);i.default.assign(_.prototype,c.default),t.default=_,window.ol&&window.ol.control&&(window.ol.control.Export=_)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/GeoportalAttribution.js":function(e,t,o){"use strict";o.r(t);o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Attribution/GPattributionOpenLayers.css");var r=o("./node_modules/ol/control/Attribution.js"),n=o("./node_modules/ol/proj.js"),i=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LayerUtils.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js").default.getLogger("geoportalattribution"),a=function(e){function t(o){if(o=o||{},!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");o.collapsible=!0,e.call(this,o)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype,{}),t.prototype.constructor=t,t.prototype.setMap=function(o){var r=this;if(null!=o){var n=o.getControls();n.forEach((function(e){if(!(e instanceof t)&&e)for(var o=e.element.classList,r=0;r<o.length;r++)if("ol-attribution"===o[r]){n.remove(e);break}})),this._updateAttributions(o),o.on("moveend",(function(){r._updateAttributions(o)})),o.getLayers().on("add",(function(){r._updateAttributions(o)})),o.getLayers().on("remove",(function(){r._updateAttributions(o)}))}e.prototype.setMap.call(this,o)},t.prototype._updateAttributions=function(e){for(var t=this,o={},r=e.getView(),i=r.calculateExtent(e.getSize()),a=r.getProjection().getCode(),l=Object(n.transformExtent)(i,a,"EPSG:4326"),u=[l[3],l[0],l[1],l[2]],c=r.getZoom(),d=e.getLayers().getArray(),p=0;p<d.length;p++)if(d[p].getSource)this._updateLayerAttributions(d[p],o,u,a,c);else if(d[p].getLayers){d[p].getLayers().forEach((function(e){e.getSource?t._updateLayerAttributions(e,o,u,a,c):s.log("cannot find layer source in layergroup ",d[p])}))}},t.prototype._updateLayerAttributions=function(e,t,o,r,n){if(e){var a=e.getSource();if(a){t||(t={});var l=[],u=e.getVisible(),c=a._originators;if(void 0!==c&&a.setAttributions(),c&&u){for(var d=i.default.getAttributions({extent:o,crs:r,zoom:n,visibility:u,originators:c}),p=0;p<d.length;p++){var h=d[p];t.hasOwnProperty(h)||(l.push(h),t[h]=!0)}0!==l.length&&(a.setAttributions(l),this.dispatchEvent({type:"attributions:update",attributions:l}))}}else s.trace("source is not yet loaded !")}else s.trace("layer is null !?")},t}(r.default);t.default=a,window.ol&&window.ol.control&&(window.ol.control.GeoportalAttribution=a)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/GetFeatureInfo.js":function(e,t,o){"use strict";o.r(t);o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/GetFeatureInfo/GPgetFeatureInfoOpenLayers.css");var r=o("./node_modules/ol/control/Control.js"),n=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),i=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),a=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/GfiUtils.js"),l=o("./node_modules/geoportal-extensions-openlayers/src/Common/Controls/GetFeatureInfoDOM.js");function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}var c=s.default.getLogger("getfeatureinfo"),d=function(e){function t(o){var r=(o=o||{}).options||{},n=o.layers||[];if(!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");if(!Array.isArray(n))throw new Error("ERROR WRONG_TYPE : layers should be an array");if("object"!==u(r))throw new Error("ERROR WRONG_TYPE : options should be an object");this._initialize(r,n);var i=this._container=this._initContainer(r);e.call(this,{element:i,target:r.target,render:r.render})}return e&&(t.__proto__=e),t.prototype=Object.create(e.prototype,{}),n.default.assign(t.prototype,l.default),t.prototype.constructor=t,t.prototype._initialize=function(e,t){if(this._uid=i.default.generate(),this._events={dblclick:!1,singleclick:!1,contextmenu:!1},this._eventsHandler={},void 0===e.auto||"boolean"==typeof e.auto)if(this._auto=e.auto||!1,void 0===e.active||"boolean"==typeof e.active)if(this._active=void 0===e.active||e.active,e.defaultEvent&&"string"!=typeof e.defaultEvent)c.log("[ERROR] GetFeatureInfo:_initialize - defaultEvent parameter should be a string");else if(this._defaultEvent=e.defaultEvent||"singleclick",this._isValidEvent(this._defaultEvent))if(e.defaultInfoFormat&&"string"!=typeof e.defaultInfoFormat)c.log("[ERROR] GetFeatureInfo:_initialize - defaultInfoFormat parameter should be a string");else if(this._defaultInfoFormat=e.defaultInfoFormat||"text/html",e.cursorStyle&&"string"!=typeof e.cursorStyle)c.log("[ERROR] GetFeatureInfo:_initialize - cursorStyle parameter should be a string");else{if(this._cursorStyle=e.cursorStyle||"pointer",e.proxyUrl){if("string"!=typeof e.proxyUrl)return void c.log("[ERROR] GetFeatureInfo:_initialize - proxyUrl parameter should be a string");this._proxyUrl=e.proxyUrl}if(e.noProxyDomains){if(!Array.isArray(e.noProxyDomains))return void c.log("[ERROR] GetFeatureInfo:_initialize - noProxyDomains parameter should be a array");this._noProxyDomains=e.noProxyDomains}if(void 0===e.autoPan||"boolean"==typeof e.autoPan){if(this._autoPan=void 0===e.autoPan||e.autoPan,e.autoPanAnimation){if(e.autoPanAnimation.duration&&"number"!=typeof e.autoPanAnimation.duration)return void c.log("[ERROR] GetFeatureInfo:_initialize - autoPanAnimation parameter is invalid : duration should be a number.");if(e.autoPanAnimation.easing&&"function"!=typeof e.autoPanAnimation.easing)return void c.log("[ERROR] GetFeatureInfo:_initialize - autoPanAnimation parameter is invalid : easing should be a ol.easing function or a custom function.");this._autoPanAnimation=e.autoPanAnimation}if(e.autoPanMargin){if("number"!=typeof e.autoPanMargin)return void c.log("[ERROR] GetFeatureInfo:_initialize - autoPanMargin parameter should be a number");this._autoPanMargin=e.autoPanMargin}Array.isArray(t)?(this._setLayers(t),this._activateGetFeatureInfoContainer=null):c.log("[ERROR] GetFeatureInfo:_initialize - layers parameter should be an array")}else c.log("[ERROR] GetFeatureInfo:_initialize - autoPan parameter should be a boolean")}else c.log("[ERROR] GetFeatureInfo:_initialize - _defaultEvent '"+this._defaultEvent+"' is not a valid event");else c.log("[ERROR] GetFeatureInfo:_initialize - active parameter should be a boolean");else c.log("[ERROR] GetFeatureInfo:_initialize - auto parameter should be a boolean")},t.prototype.setMap=function(t){var o=this;if(t){if(this._updateEvents(t),this._cursorStyle&&this._active&&this._activateCursor(!0,t),t.getLayers().on("remove",(function(e){for(var r=0;r<o._layers.length;++r)if(o._layers[r].obj===e.element){o._layers.splice(r,1);break}o._updateEvents(t)})),this._auto){var r=!1;t.getLayers().forEach((function(e){var t=a.default.getLayerFormat(e);o._hasLayer(e)||"vector"!==t||(o._layers.push({obj:e}),r=!0)})),r&&this._updateEvents(t),t.getLayers().on("add",(function(e){"vector"===a.default.getLayerFormat(e.element)&&o._layers.push({obj:e.element}),o._updateEvents(t)}))}}else this._clearEvents(),this._activateCursor(!1);e.prototype.setMap.call(this,t)},t.prototype.getLayers=function(){return this._layers},t.prototype.setDefaultEvent=function(e){"string"==typeof e?e&&this._isValidEvent(e)?(this._defaultEvent=e,this._updateEvents()):c.log("[ERROR] GetFeatureInfo:setDefaultEvent - event '"+e+"' is not allowed."):c.log("[ERROR] GetFeatureInfo:setDefaultEvent - eventName parameter should be a string")},t.prototype.setCursorStyle=function(e){"string"==typeof e?(this._active&&(!this._cursorStyle&&e?this._activateCursor(!0):this._cursorStyle&&!e&&this._activateCursor(!1)),this._cursorStyle=e):c.log("[ERROR] GetFeatureInfo:setCursorStyle - cursorStyle parameter should be a string")},t.prototype.setActive=function(e){this._setActive(e);var t=document.getElementById(this._addUID("GPactivateGetFeatureInfo"));t&&(t.checked=e)},t.prototype._setActive=function(e){"boolean"==typeof e?this._active!==e&&(this._active=e,this._cursorStyle&&this._activateCursor(e)):c.log("[ERROR] GetFeatureInfo:_setActive - active parameter should be a boolean")},t.prototype.isActive=function(){return this._active},t.prototype.setHidden=function(e){this.element.style.visibility=e?"hidden":""},t.prototype.isHidden=function(){return"hidden"===this.element.style.visibility},t.prototype.setLayers=function(e){this._setLayers(e),this._updateEvents()},t.prototype._isValidEvent=function(e){return Object.keys(this._events).indexOf(e)>-1},t.prototype._activateEvent=function(e,t){var o=this,r=function(e){a.default.onDisplayFeatureInfo(e,o)};"contextmenu"===e?t.getViewport().addEventListener(e,r):t.on(e,r),this._eventsHandler[e]=r,this._events[e]=!0},t.prototype._deactivateEvent=function(e,t){"contextmenu"===e?t.getViewport().removeEventListener(e,this._eventsHandler[e]):t.un(e,this._eventsHandler[e]),delete this._eventsHandler[e],this._events[e]=!1},t.prototype._updateEvents=function(e){e||(e=this.getMap());for(var t=[],o=0;o<this._layers.length;++o){var r=this._layers[o].event?this._layers[o].event:this._defaultEvent;t.indexOf(r)<0&&t.push(r)}for(var n in this._events)!this._events[n]&&t.indexOf(n)>=0?this._activateEvent(n,e):this._events[n]&&t.indexOf(n)<0&&this._deactivateEvent(n,e)},t.prototype._clearEvents=function(){var e=this.getMap();for(var t in this._events)this._events[t]&&this._deactivateEvent(t,e)},t.prototype._hasLayer=function(e){for(var t=0;t<this._layers.length;++t)if(this._layers[t].obj===e)return!0;return!1},t.prototype._activateCursor=function(e,t){if(t||(t=this.getMap()),e){if(this._eventsHandler.hasOwnProperty("pointermove"))return void c.log("[ERROR] _activateCursor - inconsistent state: pointermove event handler already registered");var o=this,r=function(e){var r=t.forEachFeatureAtPixel(e.pixel,(function(e,t){for(var r=o.getLayers(),n=0;n<r.length;++n)if(r[n].obj===t)return!0}));t.getTargetElement().style.cursor=r?o._cursorStyle:""};this._eventsHandler.pointermove=r,t.on("pointermove",r)}else this._eventsHandler.hasOwnProperty("pointermove")&&(t.un("pointermove",this._eventsHandler.pointermove),delete this._eventsHandler.pointermove),t.getTargetElement().style.cursor=""},t.prototype._setLayers=function(e){if(e&&Array.isArray(e)){this._layers=[];for(var t=0;t<e.length;++t){var o=this._layers.push({})-1;e[t].event&&(this._isValidEvent(e[t].event)?this._layers[o].event=e[t].event:c.log("[ERROR] GetFeatureInfo:setLayers - layer event '"+this._layers[t].event+"' is not allowed.")),e[t].infoFormat&&(this._layers[o].infoFormat=e[t].infoFormat),this._layers[o].obj=e[t].obj}}else c.log("[ERROR] GetFeatureInfo:setLayers - gfiLayers parameter should be a array")},t.prototype.onActivateGetFeatureInfoElementChange=function(e){this._setActive(e.target.checked)},t.prototype._initContainer=function(e){var t=this._createMainContainerElement(),o=this._activateGetFeatureInfoContainer=this._createActivateGetFeatureInfoElement(this.isActive());t.appendChild(o);var r=this._createMainPictoElement();if(t.appendChild(r),void 0!==e.hidden){if("boolean"!=typeof e.hidden)return void c.log("[ERROR] GetFeatureInfo:_initContainer - hidden parameter should be a boolean");e.hidden&&(t.style.visibility="hidden")}return t},t}(r.default);t.default=d,window.ol&&window.ol.control&&(window.ol.control.GetFeatureInfo=d)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Isocurve.js":function(e,t,o){"use strict";o.r(t);o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Isochrone/GPisochronOpenLayers.css");var r=o("./node_modules/ol/control/Control.js"),n=o("./node_modules/ol/Observable.js"),i=o("./node_modules/ol/layer/Vector.js"),s=o("./node_modules/ol/source/Vector.js"),a=o("./node_modules/ol/style.js"),l=o("./node_modules/geoportal-access-lib/src/Gp.js"),u=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),c=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),d=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js"),p=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/Markers.js"),h=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/Draggable.js"),f=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/Interactions.js"),m=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/LayerSwitcher.js"),g=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/LocationSelector.js"),y=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Export.js"),v=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Formats/GeoJSON.js"),_=o("./node_modules/geoportal-extensions-openlayers/src/Common/Controls/IsoDOM.js");function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}var A=c.default.getLogger("isocurve"),C=function(e){function t(o){if(o=o||{},!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");this.initialize(o),this._container=this._createMainContainerElement(),this._containerElement=null,o.element&&o.element.appendChild&&(o.element.appendChild(this._container),this._containerElement=o.element),e.call(this,{element:this._containerElement||this._container,target:o.target,render:o.render})}return e&&(t.__proto__=e),t.prototype=Object.create(e.prototype,{}),u.default.assign(t.prototype,_.default),t.prototype.constructor=t,t.prototype.setMap=function(t){if(t){if(this._container=this._initContainer(t),this.options.export){var o=u.default.assign({control:this},this.options.export);this.export=new y.default(o),this.export.render();var r=this;this.export.on("export:compute",(function(e){r.dispatchEvent({type:"export:compute",content:e.content})}))}this.draggable&&h.default.dragElement(this._IsoPanelContainer,this._IsoPanelHeaderContainer,t.getTargetElement())}e.prototype.setMap.call(this,t)},t.prototype.getCollapsed=function(){return this.collapsed},t.prototype.setCollapsed=function(e){void 0!==e?e&&this.collapsed||!e&&!this.collapsed||(e?document.getElementById("GPisochronPanelClose-"+this._uid).click():document.getElementById("GPshowIsochronPicto-"+this._uid).click(),this.collapsed=e):A.log("[ERROR] Isocurve:setCollapsed - missing collapsed parameter")},t.prototype.getLayer=function(){return this._geojsonLayer},t.prototype.setLayer=function(e){e?e instanceof i.default?(e.setStyle(this._defaultFeatureStyle),this._geojsonLayer=e):A.log("no valid layer given for hosting drawn features."):this._geojsonLayer=null},t.prototype.getGeoJSON=function(){return JSON.stringify(this._geojsonObject)},t.prototype.setGeoJSON=function(e){try{this._geojsonObject=JSON.parse(e)}catch(e){A.log("no valid geojson given :"+e.message)}},t.prototype.getData=function(){var e={type:"isocurve",transport:this._currentTransport,computation:this._currentComputation,exclusions:this._currentExclusions,direction:this._currentDirection,point:this._originPoint.getCoordinate(),results:{}};return u.default.assign(e.results,this._currentIsoResults),e},t.prototype.setData=function(e){this._currentTransport=e.transport,this._currentComputation=e.computation,this._currentExclusions=e.exclusions,this._currentDirection=e.direction,document.getElementById("GPlocationOriginPointer_1-"+this._uid).checked=!0,document.getElementById("GPlocationOriginCoords_1-"+this._uid).value="",this._originPoint.setCoordinate(e.point,"EPSG:4326"),this._currentIsoResults=e.results},t.prototype.getContainer=function(){return this._container},t.prototype.getStyle=function(){return this._defaultFeatureStyle},t.prototype.compute=function(e,t,o){if(this._clear(),this._showIsoContainer.checked||this._pictoIsoContainer.click(),this.getMap()){var r={direction:"departure",method:"time",transport:"Voiture",exclusions:[]};u.default.assign(r,o),this._originPoint.setCoordinate(e);var n=this._originPoint.getCoordinate();if(document.getElementById("GPlocationOrigin_1-"+this._uid).value=n[0].toFixed(4)+" / "+n[1].toFixed(4),this._currentTransport=r.transport,"Voiture"===r.transport?document.getElementById("GPisochronTransportCar-"+this._uid).checked=!0:document.getElementById("GPisochronTransportPedestrian-"+this._uid).checked=!0,this._currentExclusions=r.exclusions,this._currentComputation=r.method,"time"===r.method){var i=t.split(".");this._currentTimeHour=i[0]||0,document.getElementById("GPisochronValueChronInput1-"+this._uid).value=this._currentTimeHour,this._currentTimeMinute=i[1]||0,document.getElementById("GPisochronValueChronInput2-"+this._uid).value=this._currentTimeMinute,document.getElementById("GPisochronChoiceAltChron-"+this._uid).click()}else this._currentDistance=t,document.getElementById("GPisochronValueDistInput-"+this._uid).value=this._currentDistance,document.getElementById("GPisochronChoiceAltDist-"+this._uid).click();this._currentDirection=r.direction,document.getElementById("GPisochronDirectionSelect-"+this._uid).selectedIndex="departure"===r.direction?0:1,this.onIsoComputationSubmit()}},t.prototype.init=function(){var e=this._originPoint.getCoordinate();if(document.getElementById("GPlocationOrigin_1-"+this._uid).value=e[1].toFixed(4)+" / "+e[0].toFixed(4),"Voiture"===this._currentTransport?document.getElementById("GPisochronTransportCar-"+this._uid).checked=!0:document.getElementById("GPisochronTransportPedestrian-"+this._uid).checked=!0,"time"===this._currentComputation){var t=this._currentIsoResults.time/60;this._currentTimeHour=Math.floor(t/60),document.getElementById("GPisochronValueChronInput1-"+this._uid).value=this._currentTimeHour,this._currentTimeMinute=Math.round(60*(t/60-this._currentTimeHour)),document.getElementById("GPisochronValueChronInput2-"+this._uid).value=this._currentTimeMinute,document.getElementById("GPisochronChoiceAltChron-"+this._uid).click()}else this._currentDistance=this._currentIsoResults.distance/1e3,document.getElementById("GPisochronValueDistInput-"+this._uid).value=this._currentDistance,document.getElementById("GPisochronChoiceAltDist-"+this._uid).click();"departure"===this._currentDirection?document.getElementById("GPisochronDirectionSelect-"+this._uid).selectedIndex=0:document.getElementById("GPisochronDirectionSelect-"+this._uid).selectedIndex=1},t.prototype.clean=function(){this._clearIsoInputs(),this._originPoint.clearResults(),document.getElementById("GPlocationPoint_1-"+this._uid).style.cssText="",document.getElementById("GPlocationOriginCoords_1-"+this._uid).value="",document.getElementById("GPlocationOrigin_1-"+this._uid).value="",document.getElementById("GPlocationPoint_1-"+this._uid).style.cssText="",document.getElementById("GPlocationOriginPointer_1-"+this._uid).checked=!1,document.getElementById("GPlocationOrigin_1-"+this._uid).className="GPlocationOriginVisible",document.getElementById("GPlocationOriginCoords_1-"+this._uid).className="GPlocationOriginHidden",this._currentIsoResults=null,this.setLayer()},t.prototype.initialize=function(e){this._checkInputOptions(e),this.options={collapsed:!0,draggable:!1,export:!1,methods:["time","distance"],graphs:["Voiture","Pieton"],exclusions:{toll:!1,tunnel:!1,bridge:!1},directions:["departure","arrival"],markerOpts:{url:p.default.lightOrange,offset:p.default.defaultOffset},isocurveOptions:{},autocompleteOptions:{},layerDescription:{title:"Isochrone/Isodistance",description:"isochrone/isodistance basé sur un graphe"}},u.default.assign(this.options,e),this.collapsed=this.options.collapsed,this.draggable=this.options.draggable,this._uid=d.default.generate(),this._currentTransport=null,this._initTransport(),this._currentComputation=null,this._initComputation(),this._currentExclusions=[],this._initExclusions(),this._currentDirection=null,this._initDirection(),this._originPoint=null,this._showIsoContainer=null,this._pictoIsoContainer=null,this._waitingContainer=null,this._formContainer=null,this._IsoPanelContainer=null,this._IsoPanelHeaderContainer=null,this._currentIsoResults=null,this._geojsonLayer=null,this._geojsonObject=null,this.export=null,this._waiting=!1,this._timer=null,this._defaultFeatureStyle=new a.Style({fill:new a.Fill({color:"rgba(0, 183, 152, 0.7)"}),stroke:new a.Stroke({color:"rgba(0, 183, 152, 0)",width:1})}),this._resources={},this.listenerKey=null},t.prototype._checkInputOptions=function(e){var t;if(e.methods)if(Array.isArray(e.methods))if(0===e.methods.length)e.methods=null;else for(t=0;t<e.methods.length;t++)"string"!=typeof e.methods[t]&&A.log("[ol.control.Isocurve] ERROR : parameter 'methods' elements should be of type 'string'");else A.warn("'methods' parameter should be an array"),e.methods=null;if(e.graphs)if(Array.isArray(e.graphs))if(0===e.graphs.length)e.graphs=null;else for(t=0;t<e.graphs.length;t++)"string"!=typeof e.graphs[t]?A.log("[ol.control.Isocurve] ERROR : parameter 'graphs' elements should be of type 'string'"):("pieton"===e.graphs[t].toLowerCase()&&(e.graphs[t]="Pieton"),"voiture"===e.graphs[t].toLowerCase()&&(e.graphs[t]="Voiture"));else A.warn("'graphs' parameter should be an array"),e.graphs=null;if(e.directions)if(Array.isArray(e.directions))if(0===e.directions.length)e.directions=null;else for(t=0;t<e.directions.length;t++)"string"!=typeof e.directions[t]&&A.log("[ol.control.Isocurve] ERROR : parameter 'directions' elements should be of type 'string'");else A.warn("'directions' parameter should be an array"),e.directions=null;"true"===e.collapsed&&(e.collapsed=!0),"false"===e.collapsed&&(e.collapsed=!1)},t.prototype._initTransport=function(){this._currentTransport="Voiture";var e=this.options.graphs;e&&0!==e.length||(this.options.graphs=["Voiture","Pieton"]),Array.isArray(e)&&e.length&&("Voiture"!==e[0]&&"Pieton"!==e[0]||(this._currentTransport=e[0]));var t=this.options.isocurveOptions;t.graph&&(this._currentTransport=t.graph)},t.prototype._initComputation=function(){this._currentComputation="time";var e=this.options.methods;e&&0!==e.length||(this.options.methods=["time","distance"]),Array.isArray(e)&&e.length&&("time"!==e[0]&&"distance"!==e[0]||(this._currentComputation=e[0]));var t=this.options.isocurveOptions;t.method&&(this._currentComputation=t.method),t.time&&(this._currentComputation="time"),t.distance&&(this._currentComputation="distance")},t.prototype._initDirection=function(){this._currentDirection="departure";var e=this.options.directions;e&&0!==e.length||(this.options.directions=["departure","arrival"]),Array.isArray(e)&&e.length&&("departure"!==e[0]&&"arrival"!==e[0]||(this._currentDirection=e[0]));var t=this.options.isocurveOptions;t.reverse||(this._currentDirection="departure"),!0===t.reverse&&(this._currentDirection="arrival",this.options.directions=["arrival","departure"])},t.prototype._initExclusions=function(){this._currentExclusions=[];var e=this.options.exclusions;if((!e||"object"===b(e)&&0===Object.keys(e).length)&&(this.options.exclusions={toll:!1,tunnel:!1,bridge:!1}),e&&"object"===b(e)&&Object.keys(e).length)for(var t in e)e.hasOwnProperty(t)&&e.k&&this._currentExclusions.push(t);var o=this.options.isocurveOptions;Array.isArray(o.exclusions)&&(this._currentExclusions=o.exclusions)},t.prototype._initContainer=function(e){var t=this,o=this._container,r=this._showIsoContainer=this._createShowIsoElement();o.appendChild(r),this.collapsed||(r.checked=!0);var n=this._pictoIsoContainer=this._createShowIsoPictoElement();o.appendChild(n);var i=this._IsoPanelContainer=this._createIsoPanelElement(),s=this._IsoPanelHeaderContainer=this._createIsoPanelHeaderElement();i.appendChild(s);var a=this._formContainer=this._createIsoPanelFormElement(),l=this._createIsoPanelFormPointElement(e);a.appendChild(l);for(var u=!1,c=!1,d=this._createIsoPanelFormTypeChoiceElement(),p=0;p<this.options.methods.length;p++)"time"===this.options.methods[p]&&(u=0===p,d.appendChild(this._createIsoPanelFormTypeChoiceChronElement(u))),"distance"===this.options.methods[p]&&(c=0===p,d.appendChild(this._createIsoPanelFormTypeChoiceDistElement(c)));a.appendChild(d),a.appendChild(this._createIsoPanelFormValueIsochronElement(u)),a.appendChild(this._createIsoPanelFormValueIsodistanceElement(c));var h=this._createIsoPanelFormModeChoiceElement();if(h.appendChild(this._createIsoPanelFormModeChoiceTransportElement(this.options.graphs)),h.appendChild(this._createIsoPanelFormModeChoiceDirectionElement(this.options.directions)),a.appendChild(h),this.options.exclusions&&"object"===b(this.options.exclusions)&&0!==Object.keys(this.options.exclusions).length){a.appendChild(this._createShowIsoExclusionsElement()),a.appendChild(this._createShowIsoExclusionsPictoElement());var f=this._createIsoPanelFormExclusionsElement();f.appendChild(this._createIsoPanelFormExclusionOptionsElement(this.options.exclusions)),a.appendChild(f)}var m=this._createIsoFormResetElement();a.appendChild(m);var g=this._submitContainer=this._createIsoSubmitFormElement();a.appendChild(g),i.appendChild(a);var y=this._waitingContainer=this._createIsoWaitingElement();return i.appendChild(y),o.appendChild(i),o.addEventListener&&o.addEventListener("click",(function(e){return t._hideIsoSuggestedLocations(e)})),o},t.prototype._createIsoPanelFormPointElement=function(e){this._originPoint=new g.default({apiKey:this.options.apiKey||null,tag:{id:1,groupId:this._uid,markerOpts:this.options.markerOpts,label:"Départ",display:!0},autocompleteOptions:this.options.autocompleteOptions||null}),this._originPoint.setMap(e);var t=this;return document.getElementById("GPlocationOriginPointerImg_1-"+this._uid).onclick=function(){t._clearGeojsonLayer();var e=t.getMap();t._originPoint._inputShowPointerContainer.checked?(t._formContainer.className="GPisochronFormMini",this.listenerKey=e.on("click",(function(){t._formContainer.className="",t.dispatchEvent("isocurve:drawend")}))):(t._formContainer.className="",Object(n.unByKey)(this.listenerKey)),t.dispatchEvent("isocurve:drawstart")},document.getElementById("GPlocationOriginLabel_1-"+this._uid).onclick=function(){t._clearGeojsonLayer(),t._formContainer.className="",e.un("click",(function(){t._formContainer.className=""})),t.dispatchEvent("isocurve:drawend")},document.getElementById("GPlocationOrigin_1-"+this._uid).onclick=function(){t._clearGeojsonLayer(),t.dispatchEvent("isocurve:drawend")},this._originPoint._container},t.prototype.onIsoComputationSubmit=function(){if(this._originPoint&&this._originPoint.getCoordinate&&this._originPoint.getCoordinate()){var e,t,o=this._originPoint.getCoordinate(),r={x:o[0],y:o[1]};if(A.log("origin : ",r),"time"===this._currentComputation.toLowerCase()){var n=document.getElementById("GPisochronValueChronInput1-"+this._uid),i=parseInt(n.value,10);isNaN&&isNaN(i)&&(i=0);var s=document.getElementById("GPisochronValueChronInput2-"+this._uid),a=parseInt(s.value,10);isNaN&&isNaN(a)&&(a=0),e=3600*i+60*a,A.log("time : "+e)}if("distance"===this._currentComputation.toLowerCase()){var l=document.getElementById("GPisochronValueDistInput-"+this._uid);t=1e3*parseFloat(l.value),A.log("distance : "+t)}if(e||t){var u=this.options.isocurveOptions||{},c=u.protocol||"XHR",d=u.timeOut||0;"JSONP"===c&&0===d&&(d=15e3);var p=!(null===u.onFailure||"function"!=typeof u.onFailure),h=!(null===u.onSuccess||"function"!=typeof u.onSuccess),f=this,m={position:r,graph:u.graph||this._currentTransport,exclusions:u.exclusions||this._currentExclusions,method:u.method||this._currentComputation,smoothing:u.smoothing||!0,timeOut:d,protocol:c,resource:u.resource,onSuccess:function(e){A.log(e),e&&f._drawIsoResults(e),h&&u.onSuccess.call(f,e)},onFailure:function(e){f._hideWaitingContainer(),A.log(e.message),p&&u.onFailure.call(f,e)}};("arrival"===this._currentDirection.toLowerCase()||u.reverse)&&(m.reverse=!0),e&&(m.time=e),t&&(m.distance=t),this._requestIsoCurve(m)}else A.log("[Isocurve] Missing time or distance parameter to submit isocurve request")}else A.log("[Isocurve] Missing position parameter to submit isocurve request")},t.prototype.onShowIsoPanelClick=function(){var e=this.getMap();f.default.unset(e),this.collapsed=this._showIsoContainer.checked,this.dispatchEvent("change:collapsed")},t.prototype.onIsoTypeChoiceChange=function(e){var t=e.target.value;t&&("isodistance"===t&&(this._currentComputation="distance"),"isochron"===t&&(this._currentComputation="time"))},t.prototype.onIsoModeTransportChange=function(e){var t=e.target.value;t&&(this._currentTransport=t)},t.prototype.onIsoModeDirectionChange=function(e){var t=e.target.value;t&&("arrival"===t.toLowerCase()?this._originPoint._inputLabelContainer.innerHTML="Arrivée":this._originPoint._inputLabelContainer.innerHTML="Départ",this._currentDirection=t)},t.prototype.onIsoExclusionsChange=function(e){var t=e.target.value,o=e.target.checked;if(t){for(var r=!1,n=null,i=0;i<this._currentExclusions.length;i++)E(this._currentExclusions[i],t.toLowerCase())&&(n=i,r=!0);r||o||this._currentExclusions.push(t.toLowerCase()),r&&o&&(this._currentExclusions[n]=null)}},t.prototype.onIsoResetClick=function(){this._clear()},t.prototype._requestIsoCurve=function(e){!e||"object"===b(e)&&0===Object.keys(e).length||e.position&&("boolean"!=typeof e.ssl&&("boolean"==typeof this.options.ssl?e.ssl=this.options.ssl:e.ssl=!0),A.log(e),this._clearGeojsonLayer(),this._displayWaitingContainer(),l.default.Services.isoCurve(e))},t.prototype._drawIsoResults=function(e){var t=this;if(this._currentIsoResults=e,this._hideWaitingContainer(),e.geometry){var o=this.getMap();this._geojsonObject={type:"FeatureCollection",crs:{type:"name",properties:{name:"EPSG:4326"}},features:[{type:"Feature",crs:{type:"name",properties:{name:"EPSG:4326"}},geometry:e.geometry}]},this._geojsonObject.features.push({type:"Feature",geometry:{type:"Point",coordinates:this._originPoint.getCoordinate()},properties:{description:"Point d'origine","marker-symbol":this.options.markerOpts.url}});var r,n=new v.default({defaultDataProjection:"EPSG:4326",defaultStyle:this._defaultFeatureStyle}),a=o.getView().getProjection().getCode(),l=n.readFeatures(this._geojsonObject,{dataProjection:"EPSG:4326",featureProjection:a});if(this._geojsonLayer=new i.default({source:new s.default({features:l}),style:this._defaultFeatureStyle,opacity:.9}),"Pieton"===this._currentTransport?(r="piéton",this._geojsonLayer.gpResultLayerId="Pieton$GEOPORTAIL:GPP:Isocurve"):(r="voiture",this._geojsonLayer.gpResultLayerId="Voiture$GEOPORTAIL:GPP:Isocurve"),o.addLayer(this._geojsonLayer),this.dispatchEvent({type:"isocurve:compute"}),l[0]&&l[0].getGeometry()&&l[0].getGeometry().getExtent()){var u=l[0].getGeometry().getExtent();o.getView().fit(u,o.getSize())}var c="time"===this._currentComputation?"Isochrone":"Isodistance";o.getControls().forEach((function(e){if(e instanceof m.default){var o=t._geojsonLayer.gpLayerId;e._layers[o].title===o&&e.addLayer(t._geojsonLayer,{title:t.options.layerDescription.title+" ("+c+"/"+r+")",description:t.options.layerDescription.description})}}))}},t.prototype._clear=function(){this._clearIsoInputs(),this._originPoint.clear(),this._clearGeojsonLayer(),this._currentIsoResults=null},t.prototype._clearIsoInputs=function(){var e=document.getElementById("GPisochronValueChronInput1-"+this._uid);e&&(e.value="0");var t=document.getElementById("GPisochronValueChronInput2-"+this._uid);t&&(t.value="0");var o,r,n=document.getElementById("GPisochronValueDistInput-"+this._uid);n&&(n.value="0"),this._initTransport(),this._initComputation(),this._initDirection(),this._initExclusions(),"Pieton"===this._currentTransport?(o=document.getElementById("GPisochronTransportPedestrian-"+this._uid))&&(o.checked="true"):(o=document.getElementById("GPisochronTransportCar-"+this._uid))&&(o.checked="true"),"distance"===this._currentComputation.toLowerCase()?((r=document.getElementById("GPisochronChoiceAltDist-"+this._uid))&&(r.checked="true"),document.getElementById("GPisochronValueDist-"+this._uid)&&(document.getElementById("GPisochronValueDist-"+this._uid).className="GPflexInput"),document.getElementById("GPisochronValueChron-"+this._uid)&&(document.getElementById("GPisochronValueChron-"+this._uid).className="GPisochronValueHidden")):((r=document.getElementById("GPisochronChoiceAltChron-"+this._uid))&&(r.checked="true"),document.getElementById("GPisochronValueChron-"+this._uid)&&(document.getElementById("GPisochronValueChron-"+this._uid).className="GPflexInput"),document.getElementById("GPisochronValueDist-"+this._uid)&&(document.getElementById("GPisochronValueDist-"+this._uid).className="GPisochronValueHidden"));var i=document.getElementById("GPisochronDirectionSelect-"+this._uid);i&&(i.value=this._currentDirection),"arrival"===this._currentDirection?this._originPoint._inputLabelContainer.innerHTML="Arrivée":this._originPoint._inputLabelContainer.innerHTML="Départ";var s=document.getElementById("GPisoExclusionsToll-"+this._uid);s&&(-1!==this._currentExclusions.indexOf("toll")?s.checked=!1:s.checked=!0);var a=document.getElementById("GPisoExclusionsTunnel-"+this._uid);a&&(-1!==this._currentExclusions.indexOf("tunnel")?a.checked=!1:a.checked=!0);var l=document.getElementById("GPisoExclusionsBridge-"+this._uid);l&&(-1!==this._currentExclusions.indexOf("bridge")?l.checked=!1:l.checked=!0)},t.prototype._clearGeojsonLayer=function(){var e=this.getMap();this._geojsonLayer&&(e.removeLayer(this._geojsonLayer),this._geojsonLayer=null),this._geojsonObject=null},t.prototype._hideIsoSuggestedLocations=function(e){e.target&&e.target.id&&-1!==e.target.id.indexOf("GPlocationOrigin_")||this._originPoint._hideSuggestedLocation()},t.prototype._displayWaitingContainer=function(){this._waitingContainer.className="GPisochronCalcWaitingContainerVisible",this._waiting=!0;var e=this.options.isocurveOptions;if(e&&e.timeOut){this._timer&&(clearTimeout(this._timer),this._timer=null);var t=this;this._timer=setTimeout((function(){!0===t._waiting?t._hideWaitingContainer():t._timer&&clearTimeout(t._timer)}),16e3)}},t.prototype._hideWaitingContainer=function(){if(this._waiting){this._waitingContainer.className="GPisochronCalcWaitingContainerHidden",this._waiting=!1;var e=this.options.isocurveOptions;e&&e.timeOut&&(clearTimeout(this._timer),this._timer=null)}},t}(r.default);t.default=C,window.ol&&window.ol.control&&(window.ol.control.Isocurve=C);var E=function(e,t){if(e===t)return!0;if("object"===b(e)&&null!=e&&"object"===b(t)&&null!=t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var o in e){if(!t.hasOwnProperty(o))return!1;if(!E(e[o],t[o]))return!1}return!0}return!1}},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/LayerImport.js":function(e,t,o){"use strict";o.r(t);o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/LayerImport/GPimportOpenLayers.css");var r=o("./node_modules/ol/control/Control.js"),n=o("./node_modules/ol/Observable.js"),i=o("./node_modules/ol/Collection.js"),s=o("./node_modules/ol/Feature.js"),a=o("./node_modules/ol/tilegrid/WMTS.js"),l=o("./node_modules/ol/proj.js"),u=o("./node_modules/ol/format/MVT.js"),c=o("./node_modules/ol/format/WMSCapabilities.js"),d=o("./node_modules/ol/format/WMTSCapabilities.js"),p=o("./node_modules/ol/layer/VectorTile.js"),h=o("./node_modules/ol/layer/Vector.js"),f=o("./node_modules/ol/layer/Tile.js"),m=o("./node_modules/ol/source/VectorTile.js"),g=o("./node_modules/ol/source/Vector.js"),y=o("./node_modules/ol/source/TileWMS.js"),v=o("./node_modules/ol/source/WMTS.js"),_=o("./node_modules/ol/source/TileJSON.js"),b=o("./node_modules/ol/style.js"),A=o("./node_modules/ol-mapbox-style/dist/index.js"),C=o("./node_modules/geoportal-access-lib/src/Gp.js"),E=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor.js"),S=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/Markers.js"),w=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/Draggable.js"),O=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/Interactions.js"),I=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),x=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),j=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js"),T=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/ProxyUtils.js"),P=o("./node_modules/geoportal-extensions-openlayers/src/Common/Controls/LayerImportDOM.js"),M=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Formats/KML.js"),R=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Formats/GeoJSON.js"),L=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Formats/GPX.js"),k=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/LayerSwitcher.js"),N=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Route.js"),D=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Isocurve.js"),G=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/ElevationPath.js");function F(e){return F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},F(e)}var U=x.default.getLogger("layerimport"),B=function(e){function t(o){if(o=o||{},!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");this._initialize(o);var r=this._container=this._initContainer(o);e.call(this,{element:r,target:o.target,render:o.render})}return e&&(t.__proto__=e),t.DefaultStyles={image:new b.Icon({src:S.default.lightOrange,anchor:[25.5,38],anchorOrigin:"top-left",anchorXUnits:"pixels",anchorYUnits:"pixels"}),stroke:new b.Stroke({color:"rgba(0,42,80,0.8)",width:4}),fill:new b.Fill({color:"rgba(0, 183, 152, 0.5)"}),text:new b.Text({font:"16px Sans",textAlign:"left",fill:new b.Fill({color:"rgba(255, 255, 255, 1)"}),stroke:new b.Stroke({color:"rgba(0, 0, 0, 1)",width:2})})},t.prototype=Object.create(e.prototype,{}),I.default.assign(t.prototype,P.default),t.prototype.constructor=t,t.prototype.setMap=function(t){if(t){var o=this;t.getLayers().on("remove",(function(e){"layerimport:MAPBOX"===e.element.gpResultLayerId&&e.element.gpEditorId&&o._mapBoxPanel&&o._importPanel&&(o.cleanMapBoxResults(e.element.gpEditorId),o._mapBoxPanel.style.display="none",o._importPanel.style.display="")}),o),this.draggable&&(w.default.dragElement(this._importPanel,this._importPanelHeader,t.getTargetElement()),w.default.dragElement(this._getCapPanel,this._getCapPanelHeader,t.getTargetElement()),w.default.dragElement(this._mapBoxPanel,this._mapBoxPanelHeader,t.getTargetElement()))}e.prototype.setMap.call(this,t)},t.prototype.getCollapsed=function(){return this.collapsed},t.prototype.setCollapsed=function(e){void 0!==e?e&&this.collapsed||!e&&!this.collapsed||(e?document.getElementById("GPimportPanelClose-"+this._uid).click():document.getElementById("GPshowImport-"+this._uid).click(),this.collapsed=e):U.error("[ERROR] LayerImport:setCollapsed - missing collapsed parameter")},t.prototype.getStaticImportContent=function(){return this.contentStatic},t.prototype.getServiceImportContent=function(){return this.contentService},t.prototype.getName=function(){return this._name},t.prototype._initialize=function(e){if(this._checkInputOptions(e),this.options={collapsed:!0,draggable:!1,layerTypes:["KML","GPX","GeoJSON","WMS","WMTS","MAPBOX"],webServicesOptions:{},vectorStyleOptions:{KML:{extractStyles:!0,showPointNames:!0,defaultStyle:{}},GPX:{defaultStyle:{}},GeoJSON:{defaultStyle:{}},MapBox:{defaultStyle:{},editor:{}}}},e.vectorStyleOptions&&e.vectorStyleOptions.KML&&e.vectorStyleOptions.KML.extractStyles&&(this.options.vectorStyleOptions.KML.extractStyles=e.vectorStyleOptions.KML.extractStyles),e.vectorStyleOptions&&e.vectorStyleOptions.KML&&e.vectorStyleOptions.KML.showPointNames&&(this.options.vectorStyleOptions.KML.showPointNames=e.vectorStyleOptions.KML.showPointNames),e.vectorStyleOptions&&e.vectorStyleOptions.KML&&e.vectorStyleOptions.KML.defaultStyle?this.options.vectorStyleOptions.KML.defaultStyle=e.vectorStyleOptions.KML.defaultStyle:this.options.vectorStyleOptions.KML.defaultStyle=new b.Style({image:t.DefaultStyles.image,stroke:t.DefaultStyles.stroke,fill:t.DefaultStyles.fill,text:t.DefaultStyles.text}),e.vectorStyleOptions&&e.vectorStyleOptions.GPX&&e.vectorStyleOptions.GPX.defaultStyle?this.options.vectorStyleOptions.GPX.defaultStyle=e.vectorStyleOptions.GPX.defaultStyle:this.options.vectorStyleOptions.GPX.defaultStyle=new b.Style({image:t.DefaultStyles.image,stroke:t.DefaultStyles.stroke,fill:t.DefaultStyles.fill,text:t.DefaultStyles.text}),e.vectorStyleOptions&&e.vectorStyleOptions.GeoJSON&&e.vectorStyleOptions.GeoJSON.defaultStyle?this.options.vectorStyleOptions.GeoJSON.defaultStyle=e.vectorStyleOptions.GeoJSON.defaultStyle:this.options.vectorStyleOptions.GeoJSON.defaultStyle=new b.Style({image:t.DefaultStyles.image,stroke:t.DefaultStyles.stroke,fill:t.DefaultStyles.fill,text:t.DefaultStyles.text}),e.vectorStyleOptions&&e.vectorStyleOptions.MapBox&&e.vectorStyleOptions.MapBox.defaultStyle?this.options.vectorStyleOptions.MapBox.defaultStyle=e.vectorStyleOptions.MapBox.defaultStyle:this.options.vectorStyleOptions.MapBox.defaultStyle=new b.Style({image:t.DefaultStyles.image,stroke:t.DefaultStyles.stroke,fill:t.DefaultStyles.fill,text:t.DefaultStyles.text}),e.vectorStyleOptions&&e.vectorStyleOptions.MapBox&&e.vectorStyleOptions.MapBox.editor?this.options.vectorStyleOptions.MapBox.editor=e.vectorStyleOptions.MapBox.editor:this.options.vectorStyleOptions.MapBox.editor={title:!0,collapse:!1,themes:!1,layers:!0,style:!0,filter:!1,legend:!0,group:!1},e.vectorStyleOptions&&e.vectorStyleOptions.MapBox&&e.vectorStyleOptions.MapBox.hasOwnProperty("display")?this.options.vectorStyleOptions.MapBox.display=e.vectorStyleOptions.MapBox.display:this.options.vectorStyleOptions.MapBox.display=!0,Array.isArray(e.layerTypes)){for(var o=[],r=0;r<e.layerTypes.length;r++)o.push(e.layerTypes[r]);this.options.layerTypes=o}I.default.mergeParams(this.options,e),this.collapsed=this.options.collapsed,this.draggable=this.options.draggable,this._uid=j.default.generate(),this._waiting=!1,this._timer=null,this._initImportTypes(),this._initDefaultStyles(),this._showImportInput=null,this._importPanel=null,this._importPanelHeader=null,this._formContainer=null,this._staticLocalImportInput=null,this._staticUrlImportInput=null,this._serviceUrlImportInput=null,this._getCapPanel=null,this._getCapPanelHeader=null,this._getCapResultsListContainer=null,this._mapBoxPanel=null,this._mapBoxPanelHeader=null,this._mapBoxResultsListContainer=null,this._waitingContainer=null,this._loadingContainer=null,this._getCapRequestUrl=null,this._getCapResponseWMS=null,this._getCapResponseWMSLayers=[],this._getCapResponseWMTS=null,this._getCapResponseWMTSLayers=[],this._hasMapBoxResults=!1,this.contentStatic=null,this._url=null,this._file=null,this._name=null},t.prototype._checkInputOptions=function(e){if(e.layerTypes){var t=e.layerTypes;if(Array.isArray(t)){for(var o=["KML","GPX","GEOJSON","WMS","WMTS","WFS","MAPBOX"],r=[],n=0;n<t.length;n++)"string"!=typeof t[n]?(r.push(n),U.warn("[ol.control.LayerImport] 'options.layerTypes' elements should be of type string ("+t[n]+")")):(t[n]=t[n].toUpperCase(),-1===o.indexOf(t[n])&&(r.push(n),U.log("[ol.control.LayerImport] options.layerTypes : "+t[n]+" is not a supported type")),"GEOJSON"===t[n]&&(t[n]="GeoJSON"),"MAPBOX"===t[n]&&(t[n]="MAPBOX"));if(0!==r.length)for(var i=r.length-1;i>=0;i--)t.splice(r[i],1)}else U.warn('[ol.control.LayerImport] \'options.layerTypes\' parameter should be an array. Set default values ["KML", "GPX", "GeoJSON", "WMS", "WMTS"]'),e.layerTypes=["KML","GPX","GeoJSON","WMS","WMTS","MAPBOX"]}},t.prototype._initDefaultStyles=function(){var e=this.options.vectorStyleOptions.KML.defaultStyle;this._defaultKMLStyle=new b.Style({image:e.image,stroke:e.stroke,fill:e.fill,text:e.text});var t=this.options.vectorStyleOptions.GPX.defaultStyle;this._defaultGPXStyle=new b.Style({image:t.image,stroke:t.stroke,fill:t.fill,text:t.text});var o=this.options.vectorStyleOptions.GeoJSON.defaultStyle;this._defaultGeoJSONStyle=new b.Style({image:o.image,stroke:o.stroke,fill:o.fill,text:o.text});var r=this.options.vectorStyleOptions.MapBox.defaultStyle;this._defaultMapBoxStyle=new b.Style({image:r.image,stroke:r.stroke,fill:r.fill,text:r.text})},t.prototype._initImportTypes=function(){this._currentImportType=this.options.layerTypes[0]||"KML","KML"===this._currentImportType||"GPX"===this._currentImportType||"GeoJSON"===this._currentImportType||"MAPBOX"===this._currentImportType?this._isCurrentImportTypeStatic=!0:"WMS"!==this._currentImportType&&"WMTS"!==this._currentImportType&&"WFS"!==this._currentImportType||(this._isCurrentImportTypeStatic=!1),this._currentStaticImportType="local"},t.prototype._initContainer=function(){var e=this._createMainContainerElement(),t=this._showImportInput=this._createShowImportElement();e.appendChild(t),this.collapsed||(t.checked=!0);var o=this._createShowImportPictoElement();e.appendChild(o);var r=this._importPanel=this._createImportPanelElement(),n=this._importPanelHeader=this._createImportPanelHeaderElement();r.appendChild(n);var i=this._formContainer=this._initInputFormElement();r.appendChild(i),e.appendChild(r);var s=this._getCapPanel=this._createImportGetCapPanelElement(),a=this._getCapPanelHeader=this._createImportGetCapPanelHeaderElement();s.appendChild(a);var l=this._getCapResultsListContainer=this._createImportGetCapResultsContainer();s.appendChild(l),e.appendChild(s);var u=this._mapBoxPanel=this._createImportMapBoxPanelElement(),c=this._mapBoxPanelHeader=this._createImportMapBoxPanelHeaderElement();u.appendChild(c);var d=this._mapBoxResultsListContainer=this._createImportMapBoxResultsContainer();u.appendChild(d);var p=this._loadingContainer=this._createLoadingElement();u.appendChild(p),e.appendChild(u);var h=this._waitingContainer=this._createImportWaitingElement();return e.appendChild(h),e},t.prototype._initInputFormElement=function(){var e=this._createImportPanelFormElement(),t=this._createImportTypeLineElement(this.options.layerTypes);e.appendChild(t);var o=this._createImportStaticParamsContainer(this.options.layerTypes[0]),r=this._createStaticNameLabel();o.appendChild(r);var n=this._createStaticModeChoiceDiv(),i=this._createStaticLocalChoiceDiv();n.appendChild(i);var s=this._createStaticUrlChoiceDiv();n.appendChild(s),o.appendChild(n);var a=this._createStaticLocalInputDiv();a.appendChild(this._createStaticLocalInputLabel()),this._staticLocalImportInput=this._createStaticLocalInput(),a.appendChild(this._staticLocalImportInput),o.appendChild(a);var l=this._createStaticUrlInputDiv();l.appendChild(this._createStaticUrlInputLabel()),this._staticUrlImportInput=this._createStaticUrlInput(),l.appendChild(this._staticUrlImportInput),o.appendChild(l),e.appendChild(o);var u=this._createServiceParamsContainer(this.options.layerTypes[0]),c=this._createServiceUrlDiv();c.appendChild(this._createServiceUrlInputLabel()),this._serviceUrlImportInput=this._createServiceUrlInput(),c.appendChild(this._serviceUrlImportInput),u.appendChild(c),e.appendChild(u);var d=this._createImportSubmitFormElement();return e.appendChild(d),e},t.prototype._onShowImportClick=function(){var e=this.getMap();O.default.unset(e),this._hasMapBoxResults&&(this._mapBoxPanel.style.display="block"),this.collapsed=this._showImportInput.checked,this.dispatchEvent("change:collapsed")},t.prototype._onImportTypeChange=function(e){this._currentImportType=e.target.value,"KML"===this._currentImportType||"GPX"===this._currentImportType||"GeoJSON"===this._currentImportType||"MAPBOX"===this._currentImportType?this._isCurrentImportTypeStatic=!0:"WMS"!==this._currentImportType&&"WMTS"!==this._currentImportType&&"WFS"!==this._currentImportType||(this._isCurrentImportTypeStatic=!1)},t.prototype._onStaticImportTypeChange=function(e){this._currentStaticImportType=e.target.value},t.prototype._onGetCapPanelClose=function(){"WMS"!==this._currentImportType&&"WMTS"!==this._currentImportType&&"WFS"!==this._currentImportType||this.cleanGetCapResultsList()},t.prototype._onMapBoxPanelClose=function(){this.cleanMapBoxResultsList(),this._loadingContainer.className=""},t.prototype._onMapBoxReturnPictoClick=function(e){this._mapBoxPanel.style.display="none",this._showImportInput.checked=!1,this._loadingContainer.className=""},t.prototype._onImportSubmit=function(){U.log("import d'une couche de type : "+this._currentImportType),this.contentStatic=null,this.contentService=null,this._isCurrentImportTypeStatic?this._importStaticLayer():this._importServiceLayers()},t.prototype._importStaticLayer=function(){var e,t=document.getElementById(this._addUID("GPimportName"));t&&(e=t.value||"",U.log("import layer name : "+e)),"local"===this._currentStaticImportType?(U.log("import static layer from local file"),this._importStaticLayerFromLocalFile(e)):"url"===this._currentStaticImportType&&(U.log("import static layer from url"),this._importStaticLayerFromUrl(e))},t.prototype._importStaticLayerFromUrl=function(e){var t=this._staticUrlImportInput.value;if(U.log("url : ",t),0!==t.length){t.trim&&(t=t.trim()),this._url=t,e||(e=this._url.substring(this._url.lastIndexOf("/")+1,this._url.lastIndexOf("."))),this._name=e,this.options.webServicesOptions&&this.options.webServicesOptions.proxyUrl&&(t=T.default.proxifyUrl(t,this.options.webServicesOptions));var o=this;C.default.Protocols.XHR.call({url:t,method:"GET",timeOut:15e3,onResponse:function(t){o._hideWaitingContainer(),o._addFeaturesFromImportStaticLayer(t,e)},onFailure:function(e){o._hideWaitingContainer(),U.error("[ol.control.LayerImport] KML/GPX/GeoJSON/MapBox request failed : ",e)}})}else U.error("[ol.control.LayerImport] url parameter is mandatory")},t.prototype._importStaticLayerFromLocalFile=function(e){var t=this._staticLocalImportInput.files[0];if(t){this._file=t,e||(e=this._file.name.substring(this._file.name.lastIndexOf("/")+1,this._file.name.lastIndexOf("."))),this._name=e;var o=new FileReader,r=this;o.onerror=function(e){r._hideWaitingContainer(),U.error("error fileReader : ",e)},o.onprogress=function(){U.log("onprogress")},o.onloadstart=function(){r._displayWaitingContainer(),U.log("onloadstart")},o.onabort=function(){r._hideWaitingContainer(),U.log("onabort")},o.onloadend=function(e){U.log("onloadend : ",e)},o.onload=function(t){U.log("fileReader onload - file content : ",t.target.result),r._hideWaitingContainer(),r._addFeaturesFromImportStaticLayer(t.target.result,e)},o.readAsText(t)}else U.warn("[ol.control.LayerImport] missing file")},t.prototype._addFeaturesFromImportStaticLayer=function(e,t){var o=this.getMap();if(o&&e){var r=null,a=null,c=null,d=null;if(this.contentStatic=e,"MAPBOX"===this._currentImportType){this._hasMapBoxResults=!0;var f=this,y=JSON.parse(e),v=y.sources,b=Object.keys(v).length>1?1:0;for(var C in v)if(v.hasOwnProperty(C)){var S="",w="",O=null,I=null,x=null,j=null;if(y.metadata)for(var T in y.metadata)if(y.metadata.hasOwnProperty(T)){var P=T.split(":");if("geoportail"===P[0]){var F=P[1];if("title"===F){S=y.metadata[T];continue}if("description"===F){w=y.metadata[T];continue}if("quicklookUrl"===F){O=y.metadata[T];continue}if("legends"===F){I=y.metadata[T];continue}if("metadata"===F){x=y.metadata[T];continue}if("originators"===F){j=y.metadata[T];continue}}}S||(S="Couche MapBox"),w||(w="Couche MapBox"),S=b?S+"("+C+")":S;var B=v[C],z=B.type;if("vector"===z){var V=B.url,W=B.tiles,q=y.sprite;if(V&&0===V.indexOf("mapbox://")){var Y=this._url;if(Y){if(W=["a","b","c","d"].map((function(e){return"https://"+e+".tiles.mapbox.com/v4/"+V.replace("mapbox://","")+"/{z}/{x}/{y}.vector.pbf?"+Y.split("?")[1]})),0===q.indexOf("mapbox://")){var H=Y.split("?");y.sprite=H[0]+"/sprite?"+H[1]}}else U.warn("Not yet implemented, can't use the local import scheme with a 'mapbox://' in the file.!")}if(W)c=new u.default({featureClass:s.default}),(a=new m.default({attributions:B.attribution,format:c,urls:W}))._title=S,a._description=w,a._quicklookUrl=O,a._metadata=x,a._legends=I,a._originators=j,a.on("tileloadstart",(function(e){f._loadingContainer.className="GPmapLoadingVisible"})),a.on("tileloadend",(function(e){f._loadingContainer.className=""})),a.on("tileloaderror",(function(e){f._loadingContainer.className=""})),(r=new p.default({source:a,visible:!1,declutter:!0})).id=C,r.gpResultLayerId="layerimport:"+this._currentImportType;else if(V){c=new u.default({featureClass:s.default}),(r=new p.default({visible:!1,declutter:!0})).id=C,r.gpResultLayerId="layerimport:"+this._currentImportType;var X=new _.default({url:V}),Z=X.on("change",(function(){if("ready"===X.getState()){for(var e=X.getTileJSON(),t=Array.isArray(e.tiles)?e.tiles:[e.tiles],o=0;o<t.length;o++){var i=t[o];0!==i.indexOf("http")&&(t[o]=V+i)}(a=new m.default({attributions:X.getAttributions()||e.attribution,format:c,urls:t}))._title=S,a._description=w,a._quicklookUrl=O,a._metadata=x,a._legends=I,a._originators=j,a.on("tileloadstart",(function(e){f._loadingContainer.className="GPmapLoadingVisible"})),a.on("tileloadend",(function(e){f._loadingContainer.className=""})),r.setSource(a),r.set("mapbox-extension",e.vector_layers),Object(n.unByKey)(Z)}}))}}else{if("geojson"!==z)return void U.warn("Type MapBox format unknown !");var K=B.data;c=new R.default,(a=new m.default({attributions:B.attribution,format:c,url:K}))._title=S,a._description=w,a._quicklookUrl=O,a._metadata=x,a._legends=I,a._originators=j,(r=new p.default({source:a,visible:!1,declutter:!0})).id=C,r.gpResultLayerId="layerimport:"+this._currentImportType}var J=JSON.parse(JSON.stringify(y));if(b){for(var Q=J.layers,$=0;$<Q.length;$++){Q[$].source===C||Q.splice($,1)}for(var ee in J.sources)J.sources.hasOwnProperty(ee)&&ee!==C&&delete J.sources[ee]}!function(e){var t=function(){Object(A.applyStyle)(e.layer,e.styles,e.id).then((function(){e.layer.setVisible(!0);e.layer.setOpacity(1)})).then((function(){var t=o.getView().getProjection().getCode();o.getView()&&e.styles.center&&e.styles.center.length&&o.getView().setCenter(Object(l.transform)(e.styles.center,"EPSG:4326",t)),o.getView()&&(e.styles.zoom||0===e.styles.zoom)&&o.getView().setZoom(e.styles.zoom);var r=e.layer.getSource();if(o.getView()&&o.getSize()&&r.getExtent){var n=r.getExtent();n&&n[0]!==1/0&&o.getView().fit(r.getExtent(),o.getSize())}})).then((function(){f._importPanel.style.display="none";var t=new E.default({target:f._mapBoxResultsListContainer,style:JSON.parse(JSON.stringify(e.styles)),scope:this,events:{"editor:onloaded":f._onLoadedMapBox,"editor:layer:onclickvisibility":f._onChangeVisibilitySourceMapBox,"editor:style:scale:onchangemin":f._onChangeScaleMinSourceMapBox,"editor:style:scale:onchangemax":f._onChangeScaleMaxSourceMapBox,"editor:legend:onchangevalue":f._onChangeLegendValueSourceMapBox,"editor:legend:onclickedition":f._onDisplayLayerSourceMapBox},tools:f.options.vectorStyleOptions.MapBox.editor});return t.setContext("map",o),t.setContext("layer",e.layer),t.createElement().then((function(){if(0===t.getLayers().length)throw new Error("Il n'existe pas de styles pour la source demandée !?")})).then((function(){f.options.vectorStyleOptions.MapBox.display&&(f._mapBoxPanel.style.display="block")})).then((function(){for(var e=f._mapBoxResultsListContainer.getElementsByClassName("GPEditorMapBoxLayerTitleLabel"),t=0;t<e.length;t++){var o=e[t];"bckgrd"===o.textContent&&(o.textContent="Couleur de remplissage")}})).then((function(){e.layer.set("mapbox-editor",t.getID()),setTimeout((function(){o.dispatchEvent({id:t.getID(),type:"editor:loaded",style:e.styles,layer:e.layer})}),100)})).catch((function(e){throw e}))})).then((function(){o.dispatchEvent({id:e.id,type:"render:success",style:e.styles})})).catch((function(t){U.error(t),o.dispatchEvent({id:e.id,type:"render:failure",error:t})}))};U.warn(e.layer);var r=o.get("mapbox-styles")||{};r[e.id]=e.styles,o.set("mapbox-styles",r),e.layer.set("mapbox-styles",e.styles),o.addLayer(e.layer),e.layer.getSource()?t():e.layer.once("change:source",t),o.getControls().forEach((function(t){t instanceof k.default&&t.addLayer(e.layer,e.options)}))}({id:C,styles:J,layer:r,options:{title:t||S,description:w,quicklookUrl:O,metadata:x,legends:I,originators:j}})}}else{"KML"===this._currentImportType?(d=this.options.vectorStyleOptions.KML.defaultStyle,c=new M.default({showPointNames:this.options.vectorStyleOptions.KML.showPointNames,extractStyles:this.options.vectorStyleOptions.KML.extractStyles,defaultStyle:[d]})):"GPX"===this._currentImportType?(d=this.options.vectorStyleOptions.GPX.defaultStyle,c=new L.default({defaultStyle:d})):"GeoJSON"===this._currentImportType&&(d=this.options.vectorStyleOptions.GeoJSON.defaultStyle,c=new R.default({defaultStyle:d}));var te,oe=c.readProjection(e),re=this._getMapProjectionCode();te=c.readFeatures(e,{dataProjection:oe,featureProjection:re}),U.log("loaded features : ",te),(a=new g.default({features:new i.default})).addFeatures(te),U.trace(a),a._title=a._description=t,(r=new h.default({source:a,style:d})).gpResultLayerId="layerimport:"+this._currentImportType;var ne=c.readRootExtensions("geoportail:compute");if(ne&&0!==Object.keys(ne).length){var ie={route:{class:N.default,name:"itineraire"},isocurve:{class:D.default,name:"isocurve"},elevationpath:{class:G.default,name:"profil altimetrique"}},se=ne.type,ae=ne.transport;if(se){var le=ie[se].name,ue=ae?le+" ("+ae+")":le,ce=ie[se].class;if(ce){r.gpResultLayerId="layerimport:COMPUTE",r.set("control",se),r.set("name",le),r.set("graph",ae),r.set("data",ne),r.set("title",ue);var de=new R.default({defaultStyle:d}).writeFeatures(te,{dataProjection:"EPSG:4326",featureProjection:"EPSG:3857"});r.set("geojson",de),this.getMap().getControls().forEach((function(e){e instanceof ce&&(e.setData(ne),e.setLayer(r),e.init())}))}}}if(o.addLayer(r),o.getView()&&o.getSize()&&a.getExtent){var pe=a.getExtent();pe&&pe[0]!==1/0&&o.getView().fit(a.getExtent(),o.getSize())}}}},t.prototype._addFeaturesFromImportStaticLayerUrl=function(e,t){var o,r,n,i=this.getMap();if(i&&e&&("MAPBOX"===this._currentImportType?U.trace("Not yet implemented !"):("KML"===this._currentImportType?n=new M.default({showPointNames:!0,extractStyles:this.options.vectorStyleOptions.KML.extractStyles,defaultStyle:[this.options.vectorStyleOptions.KML.defaultStyle]}):"GPX"===this._currentImportType?n=new L.default({defaultStyle:this.options.vectorStyleOptions.GPX.defaultStyle}):"GeoJSON"===this._currentImportType&&(n=new R.default({defaultStyle:this.options.vectorStyleOptions.GeoJSON.defaultStyle})),o=new g.default({url:e,format:n}),"GPX"===this._currentImportType&&o.forEachFeature((function(e){null==e.getStyle()&&(U.log("[ol.control.LayerImport] set default style for GPX feature"),e.setStyle(this.options.vectorStyleOptions.GPX.defaultStyle))})),"GeoJSON"===this._currentImportType&&o.forEachFeature((function(e){null==e.getStyle()&&(U.log("[ol.control.LayerImport] set default style for GeoJSON feature"),e.setStyle(this.options.vectorStyleOptions.GeoJSON.defaultStyle))})),o._title=o._description=t,r=new h.default({source:o})),r.gpResultLayerId="layerimport:"+this._currentImportType,i.addLayer(r),i.getView()&&i.getSize()&&o.getExtent)){var s=o.getExtent();s&&s[0]!==1/0&&i.getView().fit(o.getExtent(),i.getSize())}},t.prototype._onLoadedMapBox=function(e){var t=e.target.data.obj,o=this.getContext("layer");o.get("mapbox-source")===t.source&&(o.get("mapbox-editor"),e.target.editorID)},t.prototype._onChangeVisibilitySourceMapBox=function(e){var t=e.target.data.obj,o=e.target.srcElement,r=this.getContext("layer");if(r.get("mapbox-source")===t.source&&r.get("mapbox-editor")===e.target.editorID){for(var n=r.get("mapbox-styles"),i=n.layers,s=0;s<i.length;s++)if(i[s].id===t.id){var a=i[s].layout;a?a.visibility=o.checked?"visible":"none":i[s].layout={visibility:o.checked?"visible":"none"};break}Object(A.applyStyle)(r,n,t.source).then((function(){})).catch((function(e){U.error(e)}))}},t.prototype._onChangeScaleMinSourceMapBox=function(e){var t=e.target.data.obj,o=e.target.srcElement,r=this.getContext("layer");if(r.get("mapbox-source")===t.source&&r.get("mapbox-editor")===e.target.editorID){for(var n=r.get("mapbox-styles"),i=n.layers,s=0;s<i.length;s++)if(i[s].id===t.id){i[s].minzoom=o.value,o.title=o.value;break}Object(A.applyStyle)(r,n,t.source).then((function(){})).catch((function(e){U.error(e)}))}},t.prototype._onChangeScaleMaxSourceMapBox=function(e){var t=e.target.data.obj,o=e.target.srcElement,r=this.getContext("layer");if(r.get("mapbox-source")===t.source&&r.get("mapbox-editor")===e.target.editorID){for(var n=r.get("mapbox-styles"),i=n.layers,s=0;s<i.length;s++)if(i[s].id===t.id){i[s].maxzoom=o.value,o.title=o.value;break}Object(A.applyStyle)(r,n,t.source).then((function(){})).catch((function(e){U.error(e)}))}},t.prototype._onChangeLegendValueSourceMapBox=function(e){var t=e.target.data.obj,o=e.target.srcElement,r=this.getContext("layer");if(r.get("mapbox-source")===t.source&&r.get("mapbox-editor")===e.target.editorID){for(var n=r.get("mapbox-styles"),i=n.layers,s=0;s<i.length;s++)if(i[s].id===t.id){var a=i[s].paint;a&&(a[o.dataset.id]=o.value);break}Object(A.applyStyle)(r,n,t.source).then((function(){})).catch((function(e){U.error(e)}))}},t.prototype._onDisplayLayerSourceMapBox=function(e){var t=e.target.data.obj,o=this.getContext("layer");if(o.get("mapbox-source")===t.source&&o.get("mapbox-editor")===e.target.editorID){var r=e.target.currentTarget.parentNode.id,n=r.substring(r.indexOf("-")+1,r.indexOf("_"));this.getLayer(n).collapse()}},t.prototype._importServiceLayers=function(){if("WFS"!==this._currentImportType){this.cleanGetCapResultsList();var e=this._getCapRequestUrl=this._serviceUrlImportInput.value;if(e){U.log("url : ",e),e.trim&&(e=e.trim());var t=e.indexOf("?");t<0?e+="?SERVICE="+this._currentImportType+"&REQUEST=GetCapabilities":t===e.length-1&&(e+="SERVICE="+this._currentImportType+"&REQUEST=GetCapabilities"),this.options.webServicesOptions&&this.options.webServicesOptions.proxyUrl&&(e=T.default.proxifyUrl(e,this.options.webServicesOptions)),this._displayWaitingContainer();var o=this;C.default.Protocols.XHR.call({url:e,method:"GET",timeOut:15e3,onResponse:function(e){o._hideWaitingContainer(),o._displayGetCapResponseLayers(e)},onFailure:function(e){o._hideWaitingContainer(),U.error("[ol.control.LayerImport] getCapabilities request failed : ",e)}})}else U.error("[ol.control.LayerImport] url parameter is mandatory")}else U.warn("[ol.control.LayerImport] WFS layer import is not implemented yet")},t.prototype._displayGetCapResponseLayers=function(e){var t,o,r,n={content:null,title:null};if(this._getCapResponseWMSLayers=[],this.contentService=e,this._importPanel.style.display="none",this._getCapPanel.style.display="block","WMS"===this._currentImportType){t=new c.default;var i=this._getCapResponseWMS=t.read(e);if(U.log("getCapabilities response : ",i),i&&i.Capability&&i.Capability.Layer){var s=i.Capability.Layer;if(Array.isArray(s))for(var a=0;a<s.length;a++)this._displayGetCapResponseWMSLayer(s[a]);else this._displayGetCapResponseWMSLayer(s)}}else if("WMTS"===this._currentImportType){t=new d.default;var u=this._getCapResponseWMTS=t.read(e);if(U.log("getCapabilities response : ",u),u&&u.Contents&&u.Contents.Layer&&(o=u.Contents.Layer,Array.isArray(o))){this._getCapResponseWMTSLayers=o;for(var p=0;p<o.length;p++)if((r=this._getWMTSLayerProjection(o[p],u))&&"string"==typeof r){if(!Object(l.get)(r)&&!Object(l.get)(r.toUpperCase())){U.warn("[ol.control.LayerImport] wmts layer cannot be added to map : unknown projection",o[p]);continue}n={content:o[p].Title,title:o[p].Abstract||o[p].Title},this._getCapResultsListContainer&&this._addImportGetCapResultLayer(n,p,this._getCapResultsListContainer)}}}},t.prototype._displayGetCapResponseWMSLayer=function(e,t){if(e){U.log("[ol.control.LayerImport] _displayGetCapResponseWMSLayer - layerObj : ",e);var o,r=this._getMapProjectionCode(),n={content:null,title:null};if(t){var i,s,a=["CRS","Style"];for(s=0;s<a.length;s++)if(i=a[s],Array.isArray(t[i])&&0!==t[i].length)if(Array.isArray(e[i])&&0!==e[i].length)for(var l=0;l<t[i].length;l++)-1===e[i].indexOf(t[i][l])&&e[i].push(t[i][l]);else e[i]=t[i];var u=["BoundingBox","EX_GeographicBoundingBox","MaxScaleDenominator","MinScaleDenominator","Attribution","Dimension","queryable","cascaded","opaque","noSubsets","fixedWidth","fixedHeight"];for(s=0;s<u.length;s++)t[i=u[s]]&&!e[i]&&(e[i]=t[i])}else e._isRootLayer=!0,e._container=this._getCapResultsListContainer,e.Title||(e.Title="Liste des couches");if(e.Layer){if(Array.isArray(e.Layer)){var c=e?e._container:t._container,d=e?e.Title:t.Title;e._container=this._addImportGetCapResultListRubrique(d,c).lastChild;for(var p=0;p<e.Layer.length;p++){for(var h=!1,f=e._container.getElementsByClassName("GPimportGetCapRubriqueTitle"),m=0;m<f.length;m++)f[m].title===e.Title&&(h=!0,e.Layer[p]._container=f[m].parentElement);h||(e.Layer[p]._container=this._addImportGetCapResultRubrique(e.Title,e._container).lastChild),this._displayGetCapResponseWMSLayer(e.Layer[p],e)}}}else{var g=this._getCapResponseWMSLayers.length;if(o=this._getWMSLayerProjection(e,r)){e._projection=o,n={content:e.Title,title:e.Abstract||e.Title};var y=e._container;"ul"===y.localName&&(y=y.lastChild),this._addImportGetCapResultLayer(n,g,y),this._getCapResponseWMSLayers[g]=e}else U.warn("[ol.control.LayerImport] wms layer cannot be added to map : unknown projection",e)}}else U.warn("[ol.control.LayerImport] _displayGetCapResponseWMSLayer : getCapabilities layer object not found")},t.prototype._onGetCapResponseLayerClick=function(e){if(e.target&&e.target.id){var t,o=parseInt(e.target.id.substr(23),10);if(isNaN(o))return;"WMS"===this._currentImportType?(t=this._getCapResponseWMSLayers[o],this._addGetCapWMSLayer(t)):"WMTS"===this._currentImportType&&(t=this._getCapResponseWMTSLayers[o],this._addGetCapWMTSLayer(t))}},t.prototype._addGetCapWMSLayer=function(e){var t=this.getMap();if(t)if(e){var o=this._getMapProjectionCode(),r={},n=this._getWMSLayerGetMapUrl();if(n)r.url=n;else{var i=this._getCapRequestUrl.indexOf("?");r.url=-1!==i?this._getCapRequestUrl.substring(0,i):this._getCapRequestUrl}if(r.params={},e.Name){r.params.LAYERS=e.Name,r.params.SERVICE="WMS",this._getCapResponseWMS.version&&(r.params.VERSION=this._getCapResponseWMS.version);var s=e._projection;if(s){var a;if(s!==o&&(r.projection=s),e.Style&&Array.isArray(e.Style)){var l=e.Style[0];r.params.STYLES=l.Name,l.LegendURL&&Array.isArray(l.LegendURL)&&0!==l.LegendURL.length&&(a=l.LegendURL[0].OnlineResource)}var u=new y.default(r);this._getWMSLayerInfoForLayerSwitcher(e,a,u);var c={};c.source=u,this._getWMSLayerMinMaxResolution(e,o,c),this._getWMSLayerExtent(e,o,c);var d=new f.default(c);d.gpResultLayerId="layerimport:WMS",e.queryable&&(d.gpGFIparams={queryable:!0},this._getCapResponseWMS&&this._getCapResponseWMS.Capability&&this._getCapResponseWMS.Capability.Request&&this._getCapResponseWMS.Capability.Request.GetFeatureInfo&&this._getCapResponseWMS.Capability.Request.GetFeatureInfo.Format&&Array.isArray(this._getCapResponseWMS.Capability.Request.GetFeatureInfo.Format)&&(d.gpGFIparams.formats=this._getCapResponseWMS.Capability.Request.GetFeatureInfo.Format)),t.addLayer(d)}else U.warn("[ol.control.LayerImport] wms layer cannot be added to map : unknown projection")}else U.warn("[ol.control.LayerImport] unable to add wms layer : mandatory layer 'name' parameter cannot be found",e)}else U.warn("[ol.control.LayerImport] _addGetCapWMSLayer error : layerInfo is not defined");else U.warn("[ol.control.LayerImport] _addGetCapWMSLayer error : map is not defined")},t.prototype._getWMSLayerGetMapUrl=function(){var e;if(this._getCapResponseWMS&&this._getCapResponseWMS.Capability&&this._getCapResponseWMS.Capability.Request&&this._getCapResponseWMS.Capability.Request.GetMap){var t=this._getCapResponseWMS.Capability.Request.GetMap;if(t.DCPType&&Array.isArray(t.DCPType)&&0!==t.DCPType.length){var o=t.DCPType[0];o&&o.HTTP&&o.HTTP.Get&&(e=o.HTTP.Get.OnlineResource)}}return e},t.prototype._getWMSLayerProjection=function(e,t){var o;if(e&&"object"===F(e)){var r=e.CRS;if(Array.isArray(r)){if(r.includes(t))return o=t;var n,i;for(i=0;i<r.length;i++)if((n=r[i])&&"string"==typeof n&&(Object(l.get)(n)||Object(l.get)(n.toUpperCase())))return o=n}return o}U.warn("missing layer information (from getCapabilities)")},t.prototype._getWMSLayerMinMaxResolution=function(e,t,o){var r=Object(l.get)(t).getUnits();if("m"===r)e.MinScaleDenominator&&(o.minResolution=28e-5*e.MinScaleDenominator),e.MaxScaleDenominator&&(o.maxResolution=28e-5*e.MaxScaleDenominator);else if("degrees"===r){var n=28e-5*180/(6378137*Math.PI);e.MinScaleDenominator&&(o.minResolution=e.MinScaleDenominator*n),e.MaxScaleDenominator&&(o.maxResolution=e.MaxScaleDenominator*n)}},t.prototype._getWMSLayerExtent=function(e,t,o){if(e){var r=e.EX_GeographicBoundingBox,n=e.BoundingBox;if(r&&Array.isArray(r))o.extent="EPSG:4326"===t?r:Object(l.transformExtent)(r,"EPSG:4326",t);else if(n&&Array.isArray(n))for(var i,s,a=0;a<n.length;a++)if(i=n[a].crs,s=n[a].extent,i){if(i===t){o.extent=s;break}if("string"==typeof i){var u=Object(l.get)(i)?Object(l.get)(i):Object(l.get)(i.toUpperCase());if(u){if("degrees"===u.getUnits()&&0===i.toUpperCase().indexOf("EPSG")){var c=[s[1],s[0],s[3],s[2]];o.extent=Object(l.transformExtent)(c,u,t)}else o.extent=Object(l.transformExtent)(s,u,t);break}}}}else U.warn("[ol.control.LayerImport] _getWMSLayerExtent error : layerInfo is not defined")},t.prototype._getWMSLayerInfoForLayerSwitcher=function(e,t,o){if(e.Title?(o._title=e.Title,o._description=e.Abstract?e.Abstract:e.Title):(o._title=e.Name,o._description=e.Abstract?e.Abstract:e.Name),t&&(o._legends=[{url:t}]),e.MetadataURL&&Array.isArray(e.MetadataURL)){o._metadata=[];for(var r=0;r<e.MetadataURL.length;r++){var n=e.MetadataURL[r].OnlineResource;n&&o._metadata.push({url:n})}}if(e.Attribution){var i=e.Attribution;o._originators={},i.OnlineResource&&(o._originators.url=i.OnlineResource),i.Title&&(o._originators.name=o._originators.attribution=i.Title),i.LogoURL&&i.LogoURL.OnlineResource&&(o._originators.logo=i.LogoURL.OnlineResource)}},t.prototype._addGetCapWMTSLayer=function(e){if(e&&e.Identifier){var t=this.getMap();if(t){var o={};o.layer=e.Identifier,this._getCapResponseWMTS.version&&(o.version=this._getCapResponseWMTS.version);var r=this._getWMTSLayerGetTileUrl();if(r)o.url=r;else{var n=this._getCapRequestUrl.indexOf("?");o.url=-1!==n?this._getCapRequestUrl.substring(0,n):this._getCapRequestUrl}var i,s,l,u=this._getTMSParams(e);if(o.matrixSet=u.tms,o.projection=u.projCode,o.tileGrid=new a.default({resolutions:u.resolutions,matrixIds:u.matrixIds,origin:u.origin}),e.Style&&Array.isArray(e.Style))for(var c,d=0;d<e.Style.length&&(i=(c=e.Style[d]).Identifier,!c.isDefault);d++)c.LegendURL&&Array.isArray(c.LegendURL)&&0!==c.LegendURL.length&&(s=c.LegendURL[0].href);null==i&&U.warn("[ol.control.LayerImport] style information not found in getCapabilities response for layer "+e.Identifier),o.style=i,e.Format&&Array.isArray(e.Format)&&(l=e.Format[0]),null==l&&U.warn("[ol.control.LayerImport] format information not found in getCapabilities response for layer "+e.Identifier),o.format=l;var p=new v.default(o);e.Title?(p._title=e.Title,p._description=e.Abstract?e.Abstract:e.Title):(p._title=e.Identifier,p._description=e.Abstract?e.Abstract:e.Identifier),s&&(p._legends=[{url:s}]);var h,m={};m.source=p,m.extent=this._getWMTSLayerExtent(e);try{h=new f.default(m)}catch(e){return void U.warn("[ol.control.LayerImport] an error occured while trying to create ol.layer.Tile from getCapabilities information. error : ",e)}h.gpResultLayerId="layerimport:WMTS",t.addLayer(h)}}else U.warn("[ol.control.LayerImport] layer information not found in getCapabilities response for layer ")},t.prototype._getWMTSLayerGetTileUrl=function(){var e;if(this._getCapResponseWMTS&&this._getCapResponseWMTS.OperationsMetadata&&this._getCapResponseWMTS.OperationsMetadata.GetTile){var t=this._getCapResponseWMTS.OperationsMetadata.GetTile;t.DCP&&t.DCP.HTTP&&t.DCP.HTTP.Get&&Array.isArray(t.DCP.HTTP.Get)&&0!==t.DCP.HTTP.Get.length&&(e=t.DCP.HTTP.Get[0].href)}return e},t.prototype._getWMTSLayerProjection=function(e,t){var o;if(e&&"object"===F(e)){if(t&&"object"===F(t)){if(e.TileMatrixSetLink&&Array.isArray(e.TileMatrixSetLink)){var r,n=e.TileMatrixSetLink[0].TileMatrixSet;if(t.Contents&&Array.isArray(t.Contents.TileMatrixSet))for(var i=t.Contents.TileMatrixSet,s=0;s<i.length;s++)if(i[s].Identifier===n&&i[s].TileMatrix){(r=i[s].SupportedCRS)&&"string"==typeof r&&(Object(l.get)(r)||Object(l.get)(r.toUpperCase()))&&(o=r);break}}return o}U.warn("missing getCapabilities response")}else U.warn("missing layer information (from getCapabilities)")},t.prototype._getTMSParams=function(e){var t,o,r,n={},i=[],s=[],a=[];if(this.getMap()&&e.TileMatrixSetLink&&Array.isArray(e.TileMatrixSetLink)){if(t=e.TileMatrixSetLink[0].TileMatrixSet,this._getCapResponseWMTS.Contents&&Array.isArray(this._getCapResponseWMTS.Contents.TileMatrixSet)){for(var u=this._getCapResponseWMTS.Contents.TileMatrixSet,c=0;c<u.length;c++)if(u[c].Identifier===t&&u[c].TileMatrix){var d,p,h,f,m,g=u[c];if(g.SupportedCRS&&(o=g.SupportedCRS,r=Object(l.get)(o)),r&&r.getUnits&&(m=r.getUnits()),Array.isArray(g.TileMatrix))for(var y=0;y<g.TileMatrix.length;y++)null!=(d=g.TileMatrix[y]).Identifier&&(p=parseInt(d.Identifier,10),i.push(p)),h=d.ScaleDenominator,f="degrees"===m?28e-5*h*180/(6378137*Math.PI):28e-5*h,s.push(f),a=d.TopLeftCorner;void 0!==s.sort&&s.sort((function(e,t){return t-e})),void 0!==i.sort&&i.sort((function(e,t){return e-t}))}}else U.warn("[ol.control.LayerImport] TileMatrixSet data not found in getCapabilities response for layer "+e.Identifier);return n.tms=t,n.projCode=o,n.matrixIds=i,n.resolutions=s,n.origin=a,n}},t.prototype._getWMTSLayerExtent=function(e){var t,o=this._getMapProjectionCode();return e.WGS84BoundingBox&&Array.isArray(e.WGS84BoundingBox)&&(t=Object(l.transformExtent)(e.WGS84BoundingBox,"EPSG:4326",o)),t},t.prototype._getMapProjectionCode=function(){var e=this.getMap();if(e&&e.getView&&e.getView().getProjection)return e.getView().getProjection().getCode();U.warn("unable to get layerimport's map")},t.prototype._displayWaitingContainer=function(){this._waitingContainer.className="GPimportWaitingContainerVisible",this._waiting=!0,this._timer&&(clearTimeout(this._timer),this._timer=null);var e=this;this._timer=setTimeout((function(){!0===e._waiting?e._hideWaitingContainer():e._timer&&clearTimeout(e._timer)}),16e3)},t.prototype._hideWaitingContainer=function(){this._waiting&&(this._waitingContainer.className="GPimportWaitingContainerHidden",this._waiting=!1,clearTimeout(this._timer),this._timer=null)},t.prototype.cleanGetCapResultsList=function(){if(this._getCapRequestUrl=null,this._getCapResponseWMS=null,this._getCapResponseWMTS=null,this._getCapResponseWMSLayers=null,this._getCapResponseWMTSLayers=null,this._getCapResultsListContainer)for(;this._getCapResultsListContainer.firstChild;)this._getCapResultsListContainer.removeChild(this._getCapResultsListContainer.firstChild)},t.prototype.cleanMapBoxResultsList=function(){if(this._hasMapBoxResults=!1,this._mapBoxResultsListContainer)for(;this._mapBoxResultsListContainer.firstChild;)this._mapBoxResultsListContainer.removeChild(this._mapBoxResultsListContainer.firstChild)},t.prototype.cleanMapBoxResults=function(e){if(this._hasMapBoxResults=!1,this._mapBoxResultsListContainer)for(var t=this._mapBoxResultsListContainer.childNodes,o=0;o<t.length;o++){var r=t[o];r.id==="GPEditorMapBoxContainer_ID_"+e&&r.remove()}},t}(r.default);t.default=B,window.ol&&window.ol.control&&(window.ol.control.LayerImport=B)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/LayerSwitcher.js":function(e,t,o){"use strict";o.r(t);o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/LayerSwitcher/GPlayerSwitcherOpenLayers.css");var r=o("./node_modules/ol/control/Control.js"),n=o("./node_modules/ol/Observable.js"),i=o("./node_modules/ol/extent.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),a=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js"),l=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),u=o("./node_modules/geoportal-extensions-openlayers/src/Common/Controls/LayerSwitcherDOM.js");function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}var d=l.default.getLogger("layerswitcher"),p=function(e){function t(o){var r=(o=o||{}).options||{},n=o.layers||[];if(!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");if(!Array.isArray(n))throw new Error("ERROR WRONG_TYPE : layers should be an array");if("object"!==c(r))throw new Error("ERROR WRONG_TYPE : options should be an object");this._initialize(r,n);var i=this._container=this._initContainer(r);e.call(this,{element:i,target:r.target,render:r.render})}return e&&(t.__proto__=e),t.prototype=Object.create(e.prototype,{}),s.default.assign(t.prototype,u.default),t.prototype.constructor=t,t.prototype.setMap=function(t){var o=this;if(t)this._addMapLayers(t),this._listeners.onMoveListener=t.on("moveend",(function(){return o._onMapMoveEnd(t)})),this._listeners.onAddListener=t.getLayers().on("add",(function(e){var t,r=e.element;r.hasOwnProperty("gpLayerId")?t=r.gpLayerId:(t=o._layerId,r.gpLayerId=t,o._layerId++),o._layers[t]||o.addLayer(r)})),this._listeners.onRemoveListener=t.getLayers().on("remove",(function(e){var t=e.element,r=t.gpLayerId;o._layers[r]&&o.removeLayer(t)}));else{Object(n.unByKey)(this._listeners.onMoveListener),Object(n.unByKey)(this._listeners.onAddListener),Object(n.unByKey)(this._listeners.onRemoveListener);for(var r=this._layersOrder.length-1;r>=0;r--)this._layersOrder[r].layer.setZIndex(0)}e.prototype.setMap.call(this,t)},t.prototype.addLayer=function(e,t){var o=this,r=this.getMap();if(t=t||{},e){var n=e.gpLayerId;if(void 0!==n){var i=!1;if(r.getLayers().forEach((function(e){e.gpLayerId===n&&(i=!0)})),i)if(this._layers[n]){for(var s in t)t.hasOwnProperty(s)&&(this._layers[n][s]=t[s]);if(t.title){var a=document.getElementById(this._addUID("GPname_ID_"+n));a&&(a.innerHTML=t.title,a.title=t.description||t.title)}var l=document.getElementById(this._addUID("GPinfo_ID_"+n));if(!document.getElementById(this._addUID("GPinfo_ID_"+n))&&t.description){var u=document.getElementById(this._addUID("GPadvancedTools_ID_"+n));u&&u.appendChild(this._createAdvancedToolInformationElement({id:n}))}l&&"GPlayerInfoOpened"===l.className&&(document.getElementById(this._addUID("GPlayerInfoPanel")).className="GPlayerInfoPanelClosed",l.className="GPlayerInfo")}else{var c=this.getLayerInfo(e)||{},p=e.getOpacity(),h=e.getVisible(),f=this.isInRange(e,r),m={layer:e,id:n,opacity:null!=p?p:1,visibility:null==h||h,inRange:null==f||f,title:null!=t.title?t.title:c._title||n,description:t.description||c._description||null,legends:t.legends||c._legends||[],metadata:t.metadata||c._metadata||[],quicklookUrl:t.quicklookUrl||c._quicklookUrl||null};this._layers[n]=m;var g=this._createLayerDiv(m);this._layers[n].div=g,e.getZIndex&&0!==e.getZIndex()&&void 0!==e.getZIndex()||e._forceNullzIndex?this._updateLayersOrder():(this._layersOrder.unshift(m),this._lastZIndex++,e.setZIndex(this._lastZIndex),this._layerListContainer.insertBefore(g,this._layerListContainer.firstChild)),this._listeners.updateLayerOpacity=e.on("change:opacity",(function(e){return o._updateLayerOpacity(e)})),this._listeners.updateLayerVisibility=e.on("change:visible",(function(e){return o._updateLayerVisibility(e)})),null==this._layers[n].onZIndexChangeEvent&&(this._layers[n].onZIndexChangeEvent=e.on("change:zIndex",(function(){return o._updateLayersOrder()})))}else d.log("[ERROR] LayerSwitcher:addLayer - configuration cannot be set for ",e," layer (layer is not in map.getLayers() )")}else d.trace("[WARN] LayerSwitcher:addLayer - configuration cannot be set for this layer (layer id not found)",e)}else d.log("[ERROR] LayerSwitcher:addLayer - missing layer parameter")},t.prototype.removeLayer=function(e){if(e){Object(n.unByKey)(this._listeners.updateLayerOpacity),Object(n.unByKey)(this._listeners.updateLayerVisibility),d.trace(e);var t=e.gpLayerId,o=document.getElementById(this._addUID("GPlayersList")),r=document.getElementById(this._addUID("GPinfo_ID_"+t));r&&"GPlayerInfoOpened"===r.className&&(document.getElementById(this._addUID("GPlayerInfoPanel")).className="GPlayerInfoPanelClosed",r.className="GPlayerInfo");var i=document.getElementById(this._addUID("GPlayerSwitcher_ID_"+t));i&&o.removeChild(i);var s=Math.abs(e.getZIndex()-this._lastZIndex);this._layersOrder.splice(s,1),this._lastZIndex--;for(var a=this._layersOrder,l=0;l<a.length;l++)a[l].layer.setZIndex(this._lastZIndex-l);delete this._layers[t]}},t.prototype.setCollapsed=function(e){if(void 0!==e){var t=!document.getElementById(this._addUID("GPshowLayersList")).checked;if(!(e&&t||!e&&!t)){if(!t){for(var o=document.getElementsByClassName("GPlayerInfoOpened"),r=0;r<o.length;r++)o[r].className="GPlayerInfo";document.getElementById(this._addUID("GPlayerInfoPanel")).className="GPlayerInfoPanelClosed"}document.getElementById(this._addUID("GPshowLayersList")).checked=!e}}else d.log("[ERROR] LayerSwitcher:setCollapsed - missing collapsed parameter")},t.prototype.getCollapsed=function(){return this.collapsed},t.prototype.setRemovable=function(e,t){if(e){var o=e.gpLayerId;if(null!=o){var r=document.getElementById(this._addUID("GPremove_ID_"+o));r&&(!1===t?r.style.display="none":!0===t&&(r.style.display="block"))}else d.log("[LayerSwitcher:setRemovable] layer should be added to map before calling setRemovable method")}},t.prototype._initialize=function(e,t){this._uid=a.default.generate(),this._layers={},this._layersOrder=[],this._layersIndex={},this._lastZIndex=0,this._layerId=0,this.collapsed=void 0===e.collapsed||e.collapsed,this._layerListContainer=null,this._listeners={};for(var o=0;o<t.length;o++){var r=t[o].layer;if(r){var n;r.hasOwnProperty("gpLayerId")?n=r.gpLayerId:(n=this._layerId,r.gpLayerId=n,this._layerId++);var i=t[o].config||{},s=r.getOpacity(),l=r.getVisible(),u={layer:r,id:n,opacity:null!=s?s:1,visibility:null==l||l,title:null!=i.title?i.title:i.id?i.id:n,description:i.description||null,legends:i.legends||[],metadata:i.metadata||[],quicklookUrl:i.quicklookUrl||null};this._layers[n]=u}}},t.prototype._initContainer=function(){var e=this._createMainContainerElement(),t=this._createMainLayersShowElement();e.appendChild(t),this.collapsed?this.collapsed=!0:(t.checked="checked",this.collapsed=!1);var o=this,r=function(e){this.collapsed=!e.target.checked,this.dispatchEvent("change:collapsed")};t.addEventListener("click",(function(e){r.call(o,e)}));var n=this._layerListContainer=this._createMainLayersElement();e.appendChild(n),this._createDraggableElement(n,this);var i=this._createMainPictoElement();e.appendChild(i);var s=this._createMainInfoElement();return e.appendChild(s),e},t.prototype._addMapLayers=function(e){var t=this;for(var o in this._layersIndex={},e.getLayers().forEach((function(o){var r;o.hasOwnProperty("gpLayerId")?r=o.gpLayerId:(r=t._layerId,o.gpLayerId=r,t._layerId++);var n=t.getLayerInfo(o)||{};if(t._layers[r])t._layers[r].opacity=o.getOpacity(),t._layers[r].visibility=o.getVisible(),t._layers[r].inRange=t.isInRange(o,e);else{var i=o.getOpacity(),s=o.getVisible(),a=t.isInRange(o,e),l={layer:o,id:r,opacity:null!=i?i:1,visibility:null==s||s,inRange:null==a||a,title:n._title||r,description:n._description||null,legends:n._legends||[],metadata:n._metadata||[],quicklookUrl:n._quicklookUrl||null};t._layers[r]=l}if(t._listeners.updateLayerOpacity=o.on("change:opacity",(function(e){return t._updateLayerOpacity(e)})),t._listeners._updateLayerVisibility=o.on("change:visible",(function(e){return t._updateLayerVisibility(e)})),void 0!==o.getZIndex){var u=o.getZIndex()||0;t._layersIndex[u]&&Array.isArray(t._layersIndex[u])||(t._layersIndex[u]=[]),t._layersIndex[u].push(t._layers[r])}})),this._layersIndex)if(this._layersIndex.hasOwnProperty(o))for(var r=this._layersIndex[o],n=0;n<r.length;n++)this._layersOrder.unshift(r[n]),this._lastZIndex++,r[n].layer.setZIndex(this._lastZIndex),null==this._layers[r[n].layer.gpLayerId].onZIndexChangeEvent&&(this._layers[r[n].layer.gpLayerId].onZIndexChangeEvent=r[n].layer.on("change:zIndex",(function(){return t._updateLayersOrder()})));for(var i=0;i<this._layersOrder.length;i++){var s=this._layersOrder[i],a=this._createLayerDiv(s);this._layerListContainer.appendChild(a),this._layers[s.id].div=a}},t.prototype._createLayerDiv=function(e){var t=e.legends&&0!==e.legends.length,o=e.metadata&&0!==e.metadata.length,r=e.quicklookUrl;(t||o||r)&&(e.displayInformationElement=!0);var n=this._createContainerLayerElement(e);return e.inRange||n.classList.add("outOfRange"),n},t.prototype._onChangeLayerOpacity=function(e){var t=e.target.id,o=a.default.index(t),r=this._layers[o].layer,n=e.target.value;document.getElementById(this._addUID("GPopacityValue_ID_"+o)).innerHTML=n+"%",r.setOpacity(n/100)},t.prototype._updateLayerOpacity=function(e){var t=e.target.getOpacity();t>1&&(t=1),t<0&&(t=0);var o=e.target.gpLayerId,r=document.getElementById(this._addUID("GPopacityValueDiv_ID_"+o));r&&(r.value=Math.round(100*t));var n=document.getElementById(this._addUID("GPopacityValue_ID_"+o));n&&(n.innerHTML=Math.round(100*t)+"%")},t.prototype._onVisibilityLayerClick=function(e){var t=e.target.id,o=a.default.index(t);this._layers[o].layer.setVisible(e.target.checked)},t.prototype._updateLayerVisibility=function(e){var t=e.target.getVisible(),o=e.target.gpLayerId,r=document.getElementById(this._addUID("GPvisibility_ID_"+o));r&&(r.checked=t)},t.prototype._updateLayersOrder=function(){var e=this,t=this.getMap();if(t){var o,r;for(var i in this._layersIndex={},t.getLayers().forEach((function(t){r=t.gpLayerId,Object(n.unByKey)(e._layers[r].onZIndexChangeEvent),e._layers[r].onZIndexChangeEvent=null,o=null,void 0!==t.getZIndex&&(o=t.getZIndex(),e._layersIndex[o]&&Array.isArray(e._layersIndex[o])||(e._layersIndex[o]=[]),e._layersIndex[o].push(e._layers[r]))})),this._lastZIndex=0,this._layersOrder=[],this._layersIndex)if(this._layersIndex.hasOwnProperty(i))for(var s=this._layersIndex[i],a=0;a<s.length;a++)this._layersOrder.unshift(s[a]),this._lastZIndex++,null==this._layers[s[a].layer.gpLayerId].onZIndexChangeEvent&&(this._layers[s[a].layer.gpLayerId].onZIndexChangeEvent=s[a].layer.on("change:zIndex",(function(){return e._updateLayersOrder()})));if(this._layerListContainer){for(;this._layerListContainer.firstChild;)this._layerListContainer.removeChild(this._layerListContainer.firstChild);for(var l=0;l<this._layersOrder.length;l++){var u=this._layersOrder[l];this._layerListContainer.appendChild(u.div)}}else d.log("[ol.control.LayerSwitcher] _updateLayersOrder : layer list container not found to update layers order ?!")}},t.prototype._onOpenLayerInfoClick=function(e){var t,o,r=e.target.id,n=a.default.index(r),i=this._layers[n];if("GPlayerInfoOpened"===(r=document.getElementById(e.target.id)).className)return void 0!==r.classList&&(r.classList.remove("GPlayerInfoOpened"),r.classList.add("GPlayerInfo")),void 0!==(t=document.getElementById(this._addUID("GPlayerInfoPanel"))).classList&&(t.classList.remove("GPpanel"),t.classList.remove("GPlayerInfoPanelOpened"),t.classList.add("GPlayerInfoPanelClosed")),o=document.getElementById(this._addUID("GPlayerInfoContent")),void t.removeChild(o);for(var s=document.getElementsByClassName("GPlayerInfoOpened"),l=0;l<s.length;l++)s[l].className="GPlayerInfo";void 0!==r.classList&&(r.classList.remove("GPlayerInfo"),r.classList.add("GPlayerInfoOpened")),void 0!==(t=document.getElementById(this._addUID("GPlayerInfoPanel"))).classList&&(t.classList.add("GPpanel"),t.classList.remove("GPlayerInfoPanelClosed"),t.classList.add("GPlayerInfoPanelOpened")),(o=document.getElementById(this._addUID("GPlayerInfoContent")))&&t.removeChild(o);var u={title:i.title,description:i.description,quicklookUrl:i.quicklookUrl,metadata:i.metadata,legends:i.legends},c=i.layer.getMaxResolution();u._maxScaleDenominator=c===1/0?56e7:Math.round(c/28e-5);var d=this._createContainerLayerInfoElement(u);t.appendChild(d)},t.prototype._onDropLayerClick=function(e){var t=e.target.id,o=a.default.index(t),r=this._layers[o].layer;this.getMap().getLayers().remove(r)},t.prototype._onDragAndDropLayerClick=function(){var e=this,t=this.getMap(),o=document.querySelectorAll("div.GPlayerSwitcher_layer"),r=o.length;this._layersOrder=[];for(var i=0;i<o.length;i++){var s=o[i].id,l=a.default.index(s),u=this._layers[l].layer;Object(n.unByKey)(this._layers[l].onZIndexChangeEvent),this._layers[l].onZIndexChangeEvent=null,u.setZIndex&&(u.setZIndex(r),this._layersOrder.push(this._layers[l]),r--),null==this._layers[l].onZIndexChangeEvent&&(this._layers[l].onZIndexChangeEvent=u.on("change:zIndex",(function(){return e._updateLayersOrder()})))}t.updateSize()},t.prototype._onMapMoveEnd=function(e){var t=this;e.getLayers().forEach((function(o){var r=o.gpLayerId;if(t._layers[r]){var n=t._layers[r];t.isInRange(o,e)&&!n.inRange?(n.inRange=!0,document.getElementById(t._addUID("GPlayerSwitcher_ID_"+r)).classList.remove("outOfRange")):!t.isInRange(o,e)&&n.inRange&&(n.inRange=!1,document.getElementById(t._addUID("GPlayerSwitcher_ID_"+r)).classList.add("outOfRange"))}}))},t.prototype.getLayerDOMId=function(e){var t=null;return this.getMap().getLayers().forEach((function(o){o===e&&(t=o.hasOwnProperty("gpLayerId")?o.gpLayerId:null)})),null!==t?this._addUID("GPlayerSwitcher_ID_"+t):null},t.prototype.isInRange=function(e,t){if(t){var o=t.getView().getResolution();if(o>e.getMaxResolution()||o<e.getMinResolution())return!1;var r=t.getView().calculateExtent(t.getSize()),n=e.getExtent();return!(n&&!Object(i.intersects)(r,n))}},t.prototype.getLayerInfo=function(e){var t={};if(void 0!==e.getProperties&&void 0!==e.getSource){var o=e.getProperties(),r=o.source;r&&(t._title=r._title||o.id||"",t._description=r._description||"",t._quicklookUrl=r._quicklookUrl||"",t._metadata=r._metadata||[],t._legends=r._legends||[])}return t},t}(r.default);t.default=p,window.ol&&window.ol.control&&(window.ol.control.LayerSwitcher=p)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/LocationSelector.js":function(e,t,o){"use strict";o.r(t);o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/LocationSelector/GPlocationOpenLayers.css");var r=o("./node_modules/ol/control/Control.js"),n=o("./node_modules/ol/Overlay.js"),i=o("./node_modules/ol/proj.js"),s=o("./node_modules/ol/Observable.js"),a=o("./node_modules/geoportal-access-lib/src/Gp.js"),l=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),u=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),c=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/GeocodeUtils.js"),d=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js"),p=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/Markers.js"),h=o("./node_modules/geoportal-extensions-openlayers/src/Common/Controls/LocationSelectorDOM.js"),f=l.default.getLogger("locationselector"),m=function(e){function t(o){if(o=o||{},!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");this.initialize(o),this._container=this._initContainer(),o.element&&o.element.appendChild&&(o.element.appendChild(this._container),this._container=o.element),e.call(this,{element:this._container,target:o.target,render:o.render})}return e&&(t.__proto__=e),t.prototype=Object.create(e.prototype,{}),u.default.assign(t.prototype,h.default),t.prototype.constructor=t,t.prototype.initialize=function(e){this.options={tag:{id:1,groupId:null,label:">",display:!0,addOption:!1,removeOption:!1},displayInfo:!0,autocompleteOptions:{}},u.default.mergeParams(this.options,e),this._uid=this.options.tag.groupId||d.default.generate(),this._map=null,this._inputsContainer=null,this._inputLabelContainer=null,this._inputAutoCompleteContainer=null,this._inputShowPointerContainer=null,this._inputShowPointer=null,this._inputCoordinateContainer=null,this._addPointElement=null,this._removePointElement=null,this._coordinate=null,this._suggestedContainer=null,this._suggestedLocations=[],this._currentLocation=null,this._initMarker(),this._resources={},this.listenerKey=null},t.prototype._initMarker=function(){if(this._marker=null,this._markerUrl="",this._markerOffset=[0,0],this.options.tag.markerOpts&&this.options.tag.markerOpts.url){this._markerUrl=this.options.tag.markerOpts.url;var e=this.options.tag.markerOpts.offset;e&&(Array.isArray(e)&&2===e.length?this._markerOffset=e:f.log("markerOpts.offset should be an array. e.g. : [0,0]"))}else this._markerUrl=p.default.lightOrange,this._markerOffset=p.default.defaultOffset},t.prototype.getCoordinate=function(){return this._coordinate},t.prototype.setCoordinate=function(e,t){var o=this.getMap().getView().getProjection().getCode();t||(t=o),this._setCoordinate(e,t),e=Object(i.transform)(e,t,o),this._setMarker([e[0],e[1]],null,!1)},t.prototype.clear=function(){this.clearResults(),this._inputLabelContainer.click()},t.prototype.clearResults=function(){this._currentLocation=null,this._coordinate=null,this._hideSuggestedLocation(),this._clearSuggestedLocation(),this._setMarker(),Object(s.unByKey)(this.listenerKey)},t.prototype._initContainer=function(){var e=this,t=this.options.tag.id,o=this._createMainContainerElement(),r=this._inputsContainer=this._createLocationPointElement(t,this.options.tag.display);o.appendChild(r);var n=this._inputLabelContainer=this._createLocationPointLabelElement(t,this.options.tag.label);r.appendChild(n);var i=this._inputAutoCompleteContainer=this._createLocationAutoCompleteteInputElement(t);i.addEventListener?i.addEventListener("click",(function(){return e.onAutoCompleteInputClick()})):i.attachEvent&&i.attachEvent("onclick",(function(){return e.onAutoCompleteInputClick()})),r.appendChild(i);var s=this._inputCoordinateContainer=this._createLocationCoordinateInputElement(t);r.appendChild(s);var a=this._inputShowPointerContainer=this._createLocationPointerShowInputElement(t);r.appendChild(a);var l=this._inputShowPointer=this._createLocationPointerInputElement(t);if(r.appendChild(l),this.options.tag.addOption){var u=this._addPointElement=this._createLocationAddPointElement();r.appendChild(u)}if(this.options.tag.removeOption){var c=this._removePointElement=this._createLocationRemovePointElement(t);r.appendChild(c)}var d=this._suggestedContainer=this._createLocationAutoCompleteResultElement(t);return o.appendChild(d),o},t.prototype.onAutoCompleteInputClick=function(){this._inputAutoCompleteContainer&&this._inputAutoCompleteContainer.value.length>2&&this._displaySuggestedLocation()},t.prototype.onAutoCompleteSearchText=function(e){var t=this,o=e.target.value;if(o){var r=this.options.autocompleteOptions||{},n=r.onSuccess||null,i=r.onFailure||null;if(this._currentLocation=o,o.length<3)this._clearSuggestedLocation();else{var s=this;this._requestAutoComplete({text:o,maximumResponses:5,onSuccess:function(e){if(e){var t=e.suggestedLocations;s._fillAutoCompletedLocationListContainer(t),n&&n.call(this,e)}},onFailure:function(e){s._clearSuggestedLocation(),f.log(e.message),i&&i.call(this,e)}});var a=this.getMap();a.on("click",(function(){return t._hideSuggestedLocation()})),a.on("pointerdrag",(function(){return t._hideSuggestedLocation()}))}}},t.prototype.onAutoCompletedResultsItemClick=function(e){var t=d.default.index(e.target.id);if(t){var o=[this._suggestedLocations[t].position.x,this._suggestedLocations[t].position.y];this._coordinate=o;var r={type:this._suggestedLocations[t].type,fields:this._suggestedLocations[t]},n=c.default.getSuggestedLocationFreeform(this._suggestedLocations[t]);this._setLabel(n);var s=this.getMap().getView().getProjection().getCode();"EPSG:4326"!==s&&(o=Object(i.transform)(o,"EPSG:4326",s)),this._setPosition(o),this._setMarker(o,r,this.options.displayInfo)}},t.prototype.onActivateMapPointClick=function(){var e=this,t=this.getMap();this._inputShowPointerContainer.checked?(this.clearResults(),this.listenerKey=t.on("click",(function(t){return e.onMouseMapClick(t)})),this._setCursor("crosshair")):(Object(s.unByKey)(this.listenerKey),this._setCursor())},t.prototype.onLocationClearPointClick=function(){this._setCursor(),this.clearResults()},t.prototype.onLocationRemovePointClick=function(){this._setCursor(),this.clearResults()},t.prototype.onLocationAddPointClick=function(e){f.log("onRouteAddPointClick",e)},t.prototype.onMouseMapClick=function(e){var t=e.coordinate;if(e.map&&e.map.getView()){var o=e.map.getView().getProjection();this._setCoordinate(t,o),this._setMarker([t[0],t[1]],null,!1),this.onActivateMapPointClick(e)}},t.prototype._setLabel=function(e){this._inputAutoCompleteContainer.value=e},t.prototype._setCursor=function(e){var t=this.getMap().getTargetElement();t.style.cursor=e||null},t.prototype._setCoordinate=function(e,t){this._coordinate=Object(i.transform)(e,t,"EPSG:4326");var o=this._coordinate[0].toFixed(4),r=this._coordinate[1].toFixed(4)+" / "+o;this.GPdisplayCoordinate(r)},t.prototype._setPosition=function(e){this.getMap().getView().setCenter(e)},t.prototype._setMarker=function(e,t,o){var r=this.getMap();if(null!=this._marker&&(r.removeOverlay(this._marker),this._marker=null),e){var i=document.createElement("img");i.src=this._markerUrl,this._marker=new n.default({position:e,offset:this._markerOffset,element:i,stopEvent:!1}),r.addOverlay(this._marker),o&&f.log("marker information : ",t)}},t.prototype._clearSuggestedLocation=function(){if(this._suggestedLocations=[],this._suggestedContainer)for(;this._suggestedContainer.firstChild;)this._suggestedContainer.removeChild(this._suggestedContainer.firstChild)},t.prototype._hideSuggestedLocation=function(){this._suggestedContainer&&(this._suggestedContainer.style.display="none")},t.prototype._displaySuggestedLocation=function(){this._suggestedContainer&&(this._suggestedContainer.style.display="block")},t.prototype._requestAutoComplete=function(e){if(f.log("_requestAutoComplete()",e),e&&0!==Object.keys(e).length&&e.text){f.log(e);var t={};u.default.assign(t,this.options.autocompleteOptions),u.default.assign(t,e);var o=this._resources.AutoCompletion||null;o&&Array.isArray(o)&&(t.filterOptions||(t.filterOptions={}),t.filterOptions.type=o),t.apiKey=t.apiKey||this.options.apiKey,"boolean"!=typeof t.ssl&&("boolean"==typeof this.options.ssl?t.ssl=this.options.ssl:t.ssl=!0),f.log(t),a.default.Services.autoComplete(t)}},t.prototype._fillAutoCompletedLocationListContainer=function(e){if(e&&0!==e.length){var t=this._suggestedContainer;if(t.childElementCount)for(;t.firstChild;)t.removeChild(t.firstChild);for(var o=0;o<e.length;o++)this._createLocationAutoCompletedLocationElement(this.options.tag.id,e[o],o);this._suggestedLocations=e}},t}(r.default);t.default=m,window.ol&&window.ol.control&&(window.ol.control.LocationSelector=m)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/MeasureToolBox.js":function(e,t,o){"use strict";o.r(t);o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/ToolBoxMeasure/GPtoolBoxMeasureOpenLayers.css");var r=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),n=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),i=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/Common/Controls/MeasureToolBoxDOM.js"),a=r.default.getLogger("toolbox"),l={_toolbox:{},add:function(e,t){if(a.trace("ToolBox.add()",t),e){var o="undefined"!=typeof window?window:"undefined"!=typeof self?self:null;o&&(this._toolbox=o.gpShareMeasureToolBox||{});var r=e.getTargetElement(),n=r.ownerDocument,s=r.id;this._toolbox&&0!==Object.keys(this._toolbox).length?this._toolbox[s]||(this._toolbox[s]=i.default.generate()):(this._toolbox={},this._toolbox[s]=i.default.generate());var l=this._toolbox[s];if(!n.getElementById(this.getToolBoxID(l))){a.trace("create toolbox !");var u=this._createToolBoxContainerElement(l);u.style.pointerEvents="auto",r.getElementsByClassName("ol-overlaycontainer-stopevent")[0].appendChild(u)}var c=n.getElementById(this.getWidgetID(l));t.setTarget(c),o&&(o.gpShareMeasureToolBox=this._toolbox),a.trace("add control to toolbox !")}else a.trace("map doesn't exist !?")}};n.default.assign(l,s.default),t.default=l},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Measures/MeasureArea.js":function(e,t,o){"use strict";o.r(t);o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Measures/GPmeasureAreaOpenLayers.css");var r=o("./node_modules/ol/control/Control.js"),n=o("./node_modules/ol/sphere.js"),i=o("./node_modules/ol/geom.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),a=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),l=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js"),u=o("./node_modules/geoportal-extensions-openlayers/src/Common/Controls/MeasureAreaDOM.js"),c=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Measures/Measures.js"),d=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/MeasureToolBox.js"),p=s.default.getLogger("measurearea"),h=function(e){function t(o){if(o=o||{},!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");this.CLASSNAME="MeasureArea",this._uid=l.default.generate(),this._showContainer=null,this._pictoContainer=null,this._initialize(o);var r=o.element?o.element:this._initializeContainer();e.call(this,{element:r,target:o.target,render:o.render})}return e&&(t.__proto__=e),t.prototype=Object.create(e.prototype,{}),a.default.assign(t.prototype,c.default),a.default.assign(t.prototype,u.default),t.prototype.constructor=t,t.prototype.setMap=function(t){p.trace("setMap()");var o=this.CLASSNAME;t?this.options.target||d.default.add(t,this):this.clean(),this.tools[o].push({instance:t?this:null,active:!1,map:t?t.getTargetElement().id:null});var r="undefined"!=typeof window?window:"undefined"!=typeof self?self:null;r&&(r.gpShareMeasures||(r.gpShareMeasures={}),r.gpShareMeasures[o]=this.tools[o]),e.prototype.setMap.call(this,t)},t.prototype._initialize=function(e){p.trace("call MeasureArea::_initialize() : ",e),this.options={},this.options.geodesic=void 0===e.geodesic||e.geodesic,this.options.target=void 0!==e.target?e.target:null,this.options.render=void 0!==e.render?e.render:null,this.options.layerDescription=void 0!==e.layerDescription?e.layerDescription:{title:"Mesures de surface",description:"Mes mesures"},this.createStylingMeasureInteraction(e.styles)},t.prototype._initializeContainer=function(){p.trace("call MeasureArea::_initializeContainer() : ",this._uid);var e=this._createMainContainerElement(),t=this._showContainer=this._createShowMeasureAreaElement();e.appendChild(t),this._showContainer.checked=!1;var o=this._pictoContainer=this._createShowMeasureAreaPictoElement();return e.appendChild(o),e},t.prototype.addMeasureEvents=function(){var e=this;p.trace("call MeasureArea::addMeasureEvents()");var t=this.getMap();t.on("singleclick",(function(t){return e.onPointerMoveHandler(t)})),t.on("pointermove",(function(t){return e.onPointerMoveHandler(t)}))},t.prototype.removeMeasureEvents=function(){var e=this;p.trace("call MeasureArea::removeMeasureEvents()");var t=this.getMap();t.un("singleclick",(function(t){return e.onPointerMoveHandler(t)})),t.un("pointermove",(function(t){return e.onPointerMoveHandler(t)}))},t.prototype.format=function(e){var t;if(p.trace("call MeasureArea::format()"),this.options.geodesic){var o=e.clone().getLinearRing(0).getCoordinates();t=Math.abs(Object(n.getArea)(new i.Polygon([o])))}else t=e.getArea();return t>1e6?Math.round(t/1e6*100)/100+" km<sup>2</sup>":t>1e5?Math.round(t/1e6*1e3)/1e3+" km<sup>2</sup>":t>1e3?10*Math.round(t/10)+" m<sup>2</sup>":Math.round(100*t)/100+" m<sup>2</sup>"},t.prototype.onShowMeasureAreaClick=function(e){p.trace("call MeasureArea::onShowMeasureAreaClick()",e),this.onShowMeasureClick(e,"Polygon")},t}(r.default);t.default=h,window.ol&&window.ol.control&&(window.ol.control.MeasureArea=h)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Measures/MeasureAzimuth.js":function(e,t,o){"use strict";o.r(t);o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Measures/GPmeasureAzimuthOpenLayers.css");var r=o("./node_modules/ol/control/Control.js"),n=o("./node_modules/ol/sphere.js"),i=o("./node_modules/ol/proj.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),a=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),l=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js"),u=o("./node_modules/geoportal-extensions-openlayers/src/Common/Controls/MeasureAzimuthDOM.js"),c=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/MeasureToolBox.js"),d=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Measures/Measures.js"),p=s.default.getLogger("measureazimut"),h=function(e){function t(o){if(o=o||{},!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");this.CLASSNAME="MeasureAzimuth",this._uid=l.default.generate(),this._showContainer=null,this._pictoContainer=null,this._initialize(o);var r=o.element?o.element:this._initializeContainer();e.call(this,{element:r,target:o.target,render:o.render})}return e&&(t.__proto__=e),t.prototype=Object.create(e.prototype,{}),a.default.assign(t.prototype,d.default),a.default.assign(t.prototype,u.default),t.prototype.constructor=t,t.prototype.setMap=function(t){p.trace("setMap()");var o=this.CLASSNAME;t?this.options.target||c.default.add(t,this):this.clean(),this.tools[o].push({instance:t?this:null,active:!1,map:t?t.getTargetElement().id:null});var r="undefined"!=typeof window?window:"undefined"!=typeof self?self:null;r&&(r.gpShareMeasures||(r.gpShareMeasures={}),r.gpShareMeasures[o]=this.tools[o]),e.prototype.setMap.call(this,t)},t.prototype.setGeodesic=function(e){this.options.geodesic=void 0!==e&&e},t.prototype.isGeodesic=function(){return this.options.geodesic},t.prototype._initialize=function(e){p.trace("call MeasureAzimuth::_initialize() : ",e),this.options={},this.options.geodesic=void 0!==e.geodesic&&e.geodesic,this.options.target=void 0!==e.target?e.target:null,this.options.render=void 0!==e.render?e.render:null,this.options.layerDescription=void 0!==e.layerDescription?e.layerDescription:{title:"Mesures d'azimuth",description:"Mes mesures"},this.createStylingMeasureInteraction(e.styles)},t.prototype._initializeContainer=function(){p.trace("call MeasureAzimuth::_initializeContainer() : ",this._uid);var e=this._createMainContainerElement(),t=this._showContainer=this._createShowMeasureAzimuthElement();e.appendChild(t),this._showContainer.checked=!1;var o=this._pictoContainer=this._createShowMeasureAzimuthPictoElement();return e.appendChild(o),e},t.prototype.addMeasureEvents=function(){var e=this;p.trace("call MeasureAzimuth::addMeasureEvents()");var t=this.getMap();t.on("singleclick",(function(t){return e.onPointerMoveAzimutHandler(t)})),t.on("pointermove",(function(t){return e.onPointerMoveAzimutHandler(t)}))},t.prototype.removeMeasureEvents=function(){var e=this;p.trace("call MeasureAzimuth::removeMeasureEvents()");var t=this.getMap();t.un("singleclick",(function(t){return e.onPointerMoveAzimutHandler(t)})),t.un("pointermove",(function(t){return e.onPointerMoveAzimutHandler(t)}))},t.prototype.format=function(e){p.trace("call MeasureAzimuth::format()");var t=this.getMap().getView().getProjection(),o=Object(i.transform)(e.getFirstCoordinate(),t,"EPSG:4326"),r=Object(i.transform)(e.getLastCoordinate(),t,"EPSG:4326");if(!this.options.geodesic){var s=Object(n.getDistance)(o,r);if(p.trace("measure between 2 points with geodesic method",s),s>500){var a=500/s;p.trace("%",a),r=Object(i.transform)(e.getCoordinateAt(a),t,"EPSG:4326")}}var l=Math.PI/180,u=180/Math.PI,c=l*o[0],d=l*r[0],h=l*o[1],f=l*r[1],m=Math.sin(d-c)*Math.cos(f),g=Math.cos(h)*Math.sin(f)-Math.sin(h)*Math.cos(f)*Math.cos(d-c),y=u*Math.atan2(m,g);return p.trace("azimut",y),y<0&&(y+=360),Math.round(100*y)/100+" °"},t.prototype.onShowMeasureAzimuthClick=function(e){p.trace("call MeasureAzimuth::onShowMeasureAzimuthClick()",e),this.onShowMeasureClick(e,"LineString")},t.prototype.onPointerMoveAzimutHandler=function(e){(this.onPointerMoveHandler(e),this.sketch)&&(this.sketch.getGeometry().getCoordinates().length>2&&this.measureDraw.finishDrawing())},t}(r.default);t.default=h,window.ol&&window.ol.control&&(window.ol.control.MeasureAzimuth=h)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Measures/MeasureLength.js":function(e,t,o){"use strict";o.r(t);o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Measures/GPmeasureLengthOpenLayers.css");var r=o("./node_modules/ol/control/Control.js"),n=o("./node_modules/ol/sphere.js"),i=o("./node_modules/ol/proj.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),a=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),l=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js"),u=o("./node_modules/geoportal-extensions-openlayers/src/Common/Controls/MeasureLengthDOM.js"),c=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/MeasureToolBox.js"),d=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Measures/Measures.js"),p=s.default.getLogger("measurelength"),h=function(e){function t(o){if(o=o||{},!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");this.CLASSNAME="MeasureLength",this._uid=l.default.generate(),this._showContainer=null,this._pictoContainer=null,this._initialize(o);var r=o.element?o.element:this._initializeContainer();e.call(this,{element:r,target:o.target,render:o.render})}return e&&(t.__proto__=e),t.prototype=Object.create(e.prototype,{}),a.default.assign(t.prototype,d.default),a.default.assign(t.prototype,u.default),t.prototype.constructor=t,t.prototype.setMap=function(t){p.trace("setMap()");var o=this.CLASSNAME;t?this.options.target||c.default.add(t,this):this.clean(),this.tools[o].push({instance:t?this:null,active:!1,map:t?t.getTargetElement().id:null});var r="undefined"!=typeof window?window:"undefined"!=typeof self?self:null;r&&(r.gpShareMeasures||(r.gpShareMeasures={}),r.gpShareMeasures[o]=this.tools[o]),e.prototype.setMap.call(this,t)},t.prototype._initialize=function(e){p.trace("call MeasureLength::_initialize() : ",e),this.options={},this.options.geodesic=void 0===e.geodesic||e.geodesic,this.options.target=void 0!==e.target?e.target:null,this.options.render=void 0!==e.render?e.render:null,this.options.layerDescription=void 0!==e.layerDescription?e.layerDescription:{title:"Mesures de distance",description:"Mes mesures"},this.createStylingMeasureInteraction(e.styles)},t.prototype._initializeContainer=function(){p.trace("call MeasureLength::_initializeContainer() : ",this._uid);var e=this._createMainContainerElement(),t=this._showContainer=this._createShowMeasureLengthElement();e.appendChild(t),this._showContainer.checked=!1;var o=this._pictoContainer=this._createShowMeasureLengthPictoElement();return e.appendChild(o),e},t.prototype.addMeasureEvents=function(){var e=this;p.trace("call MeasureLength::addMeasureEvents()");var t=this.getMap();t.on("singleclick",(function(t){return e.onPointerMoveHandler(t)})),t.on("pointermove",(function(t){return e.onPointerMoveHandler(t)}))},t.prototype.removeMeasureEvents=function(){var e=this;p.trace("call MeasureLength::removeMeasureEvents()");var t=this.getMap();t.un("singleclick",(function(t){return e.onPointerMoveHandle(t)})),t.un("pointermove",(function(t){return e.onPointerMoveHandler(t)}))},t.prototype.format=function(e){p.trace("call MeasureLength::format()");var t,o=this.getMap();if(this.options.geodesic){var r=e.getCoordinates();t=0;for(var s=o.getView().getProjection(),a=0,l=r.length-1;a<l;++a){var u=Object(i.transform)(r[a],s,"EPSG:4326"),c=Object(i.transform)(r[a+1],s,"EPSG:4326");t+=Object(n.getDistance)(u,c)}}else t=Math.round(100*e.getLength())/100;return t>1e3?Math.round(t/1e3*100)/100+" km":Math.round(100*t)/100+" m"},t.prototype.onShowMeasureLengthClick=function(e){p.trace("call MeasureLength::onShowMeasureLengthClick()",e),this.onShowMeasureClick(e,"LineString")},t}(r.default);t.default=h,window.ol&&window.ol.control&&(window.ol.control.MeasureLength=h)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Measures/Measures.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/Overlay.js"),n=o("./node_modules/ol/interaction.js"),i=o("./node_modules/ol/style.js"),s=o("./node_modules/ol/layer/Vector.js"),a=o("./node_modules/ol/source/Vector.js"),l=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),u=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/Interactions.js"),c=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/LayerSwitcher.js"),d=l.default.getLogger("measures"),p={DEFAULT_POINTER_STYLE:new i.Circle({radius:5,stroke:new i.Stroke({color:"#002A50",width:2}),fill:new i.Fill({color:"rgba(255, 155, 0, 0.7)"})}),DEFAULT_DRAW_START_STYLE:new i.Style({fill:new i.Fill({color:"rgba(0, 183, 152, 0.2)"}),stroke:new i.Stroke({color:"#002A50",lineDash:[10,10],width:2})}),DEFAULT_DRAW_FINISH_STYLE:new i.Style({fill:new i.Fill({color:"rgba(0, 183, 152, 0.3)"}),stroke:new i.Stroke({color:"#002A50",width:3})}),tools:{MeasureLength:[],MeasureArea:[],MeasureAzimuth:[]},measureDraw:null,measureSource:null,measureVector:null,sketch:null,measureTooltipElement:null,measureTooltip:null,helpTooltipElement:null,helpTooltip:null,clean:function(){var e=this.CLASSNAME;d.trace("["+e+"] deactived tool !"),this.clearMeasure(),this.clearMeasureToolTip(),this.removeMeasureEvents(),this._showContainer.checked=!1},onPointerMoveHandler:function(e){if(!e.dragging){var t=e.coordinate;if(this.sketch){var o,r=this.sketch.getGeometry();if(o=this.format(r),"LineString"===r.getType())t=r.getLastCoordinate();else{if("Polygon"!==r.getType())return;t=r.getInteriorPoint().getCoordinates()}this.measureTooltipElement.innerHTML=o,this.measureTooltip.setPosition(t)}}},onShowMeasureClick:function(e,t){var o=this.getMap(),r=o.getTargetElement().id,n="undefined"!=typeof window?window:"undefined"!=typeof self?self:null;n&&(this.tools=n.gpShareMeasures||{});var i=this.CLASSNAME;for(var s in this.tools)if(this.tools.hasOwnProperty(s))for(var a=this.tools[s],l=0;l<a.length;l++){var c=a[l];c&&c.active&&s!==i&&c.map===r&&(c.active=!1,null!==c.instance&&c.instance.clean())}if(u.default.unset(o,{current:"Measures"}),this._showContainer.checked){this.clearMeasure(),this.clearMeasureToolTip(),this.removeMeasureEvents();for(var d=0;d<this.tools[i].length;d++)this.tools[i][d].map===r&&(this.tools[i][d].active=!1)}else{this.addMeasureEvents(),this.initMeasureInteraction(),this.addMeasureInteraction(t);for(var p=0;p<this.tools[i].length;p++)this.tools[i][p].map===r&&(this.tools[i][p].active=!0)}},clearMeasureToolTip:function(){var e=this.getMap();if(e)for(var t=e.getTargetElement().getElementsByClassName("ol-overlaycontainer"),o=0;o<t.length;o++){for(var r=t[o],n=r.children.length,i=[],s=0;s<n;s++){var a=r.children[s];if(0!==a.children.length){var l=a.children[0];"GPmeasureTooltip GPmeasureTooltip-static"!==l.className&&"GPmeasureTooltip GPmeasureTooltip-measure"!==l.className||i.push(a)}}for(var u=0;u<i.length;u++)r.removeChild(i[u])}},clearMeasure:function(){var e=this.getMap();this.measureVector&&(e.removeLayer(this.measureVector),this.measureVector=null),this.measureDraw&&(e.removeInteraction(this.measureDraw),this.measureDraw=null)},createMeasureTooltip:function(e){this.measureTooltipElement&&this.measureTooltipElement.parentNode.removeChild(this.measureTooltipElement),this.measureTooltipElement=document.createElement("div"),this.measureTooltipElement.className="GPmeasureTooltip GPmeasureTooltip-measure",this.measureTooltip=new r.default({element:this.measureTooltipElement,stopEvent:!1,offset:[0,-15],positioning:"bottom-center"}),e.addOverlay(this.measureTooltip)},createHelpTooltip:function(e){this.helpTooltipElement&&this.helpTooltipElement.parentNode.removeChild(this.helpTooltipElement),this.helpTooltipElement=document.createElement("div"),this.helpTooltipElement.className="tooltip hidden",this.helpTooltip=new r.default({element:this.helpTooltipElement,stopEvent:!1,offset:[15,0],positioning:"center-left"}),e.addOverlay(this.helpTooltip)},createStylingMeasureInteraction:function(e){this.options.styles=e||{},d.trace("style start",this.options.styles.start);var t={image:p.DEFAULT_POINTER_STYLE,fill:p.DEFAULT_DRAW_START_STYLE.getFill(),stroke:p.DEFAULT_DRAW_START_STYLE.getStroke()};this.options.styles.hasOwnProperty("pointer")&&this.options.styles.pointer instanceof Image&&(t.image=this.options.styles.pointer),this.options.styles.hasOwnProperty("start")&&this.options.styles.start instanceof i.Style&&(null!=this.options.styles.start.getFill()&&(t.fill=this.options.styles.start.getFill()),null!=this.options.styles.start.getStroke()&&(t.stroke=this.options.styles.start.getStroke())),this.options.styles.start=new i.Style(t),d.trace("style finish",this.options.styles.finish);var o={fill:p.DEFAULT_DRAW_FINISH_STYLE.getFill(),stroke:p.DEFAULT_DRAW_FINISH_STYLE.getStroke()};this.options.styles.hasOwnProperty("finish")&&this.options.styles.finish instanceof i.Style&&(null!=this.options.styles.finish.getFill()&&(o.fill=this.options.styles.finish.getFill()),null!=this.options.styles.finish.getStroke()&&(o.stroke=this.options.styles.finish.getStroke())),this.options.styles.finish=new i.Style(o)},addMeasureInteraction:function(e){var t=this.getMap(),o=this;this.measureDraw=new n.Draw({source:this.measureSource,condition:function(e){return!e.originalEvent.ctrlKey||(o.sketch&&this.removeLastPoint(),!1)},type:e,style:this.options.styles.start||p.DEFAULT_DRAW_START_STYLE}),this.measureDraw.setProperties({name:"Measures",source:this}),t.addInteraction(this.measureDraw),this.createMeasureTooltip(t),this.measureDraw.on("drawstart",(function(e){o.sketch=e.feature})),this.measureDraw.on("drawend",(function(){if(o.sketch){var e,r,n=o.sketch.getGeometry();if(e=o.format(n),"LineString"===n.getType())r=n.getLastCoordinate();else{if("Polygon"!==n.getType())return;r=n.getInteriorPoint().getCoordinates()}o.measureTooltipElement.innerHTML=e,o.measureTooltip.setPosition(r)}o.measureTooltipElement.className="GPmeasureTooltip GPmeasureTooltip-static",o.measureTooltip.setOffset([0,-7]),o.sketch=null,o.measureTooltipElement=null,o.createMeasureTooltip(t)}))},initMeasureInteraction:function(){var e=this,t=this.getMap();this.measureSource=new a.default,this.measureVector=new s.default({source:this.measureSource,style:this.options.styles.finish||p.DEFAULT_DRAW_FINISH_STYLE}),this.measureVector.gpResultLayerId="measure",t.addLayer(this.measureVector),t.getControls().forEach((function(t){if(t instanceof c.default){var o=e.measureVector.gpLayerId;t._layers[o].title===o&&t.addLayer(e.measureVector,{title:e.options.layerDescription.title,description:e.options.layerDescription.description})}}))}};t.default=p},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/MousePosition.js":function(e,t,o){"use strict";o.r(t);o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/MousePosition/GPmousePositionOpenLayers.css");var r=o("./node_modules/ol/control/Control.js"),n=o("./node_modules/ol/Overlay.js"),i=o("./node_modules/ol/Observable.js"),s=o("./node_modules/ol/proj.js"),a=o("./node_modules/geoportal-access-lib/src/Gp.js"),l=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),u=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),c=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/Interactions.js"),d=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/Markers.js"),p=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js"),h=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/MathUtils.js"),f=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/Draggable.js"),m=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CRS/CRS.js"),g=o("./node_modules/geoportal-extensions-openlayers/src/Common/Controls/MousePositionDOM.js");function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}var v=l.default.getLogger("GeoportalMousePosition"),_=function(e){function t(o){if(o=o||{},!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");this._initialize(o);var r=this._container=this._initContainer(o);e.call(this,{element:r,target:o.target,render:o.render})}return e&&(t.__proto__=e),t.prototype=Object.create(e.prototype,{}),u.default.assign(t.prototype,g.default),t.prototype.constructor=t,t.prototype.setMap=function(t){var o=this,r=this;if(t){var s=this._createMapCenter();if(t.getViewport().appendChild(s),this.collapsed||this._isDesktop||(s.className="GPmapCenterVisible"),this.draggable&&f.default.dragElement(this._panelMousePositionContainer,this._panelHeaderMousePositionContainer,t.getTargetElement()),this.collapsed||(this._isDesktop?this.listenerKey=t.on("pointermove",(function(e){o.onMouseMove(e)})):this.listenerKey=t.on("moveend",(function(e){return o.onMapMove(e)}))),this.options.editCoordinates){var a=document.createElement("img");a.id=this._addUID("GPmousePositionMarker"),a.src=this._markerUrl,a.title="Cliquer pour supprimer",a.addEventListener("click",(function(){r._markerOverlay.setPosition(void 0)})),this._markerOverlay=new n.default({offset:this._markerOffset,element:a,stopEvent:!1}),t.addOverlay(this._markerOverlay)}}else Object(i.unByKey)(this.listenerKey);(e.prototype.setMap.call(this,t),null!==t)&&(this.collapsed||(document.getElementById("GPshowMousePosition-"+this._uid).checked="checked",this._setElevationPanel(this.options.displayAltitude),this._setCoordinatesPanel(this.options.displayCoordinates),this.options.displayCoordinates||this._setSettingsPanel(!1)))},t.prototype.addSystem=function(e){if("object"===y(e))if(e.crs)if(e.label||(v.warn("crs label not defined, use crs code by default."),e.label=e.crs),e.type||(v.warn("type srs not defined, use 'Metric' by default."),e.type="Metric"),m.default.loadByName(e.crs),Object(s.get)(e.crs)){for(var t=0;t<this._projectionSystems.length;t++){var o=this._projectionSystems[t];e.crs===o.crs&&v.info("crs '{}' already configured",o.crs)}e.code=this._projectionSystems.length,this._projectionSystems.push(e);var r=document.getElementById("GPmousePositionProjectionSystem-"+this._uid);if(r){var n=document.createElement("option");n.value=e.code,n.text=e.label,r.appendChild(n)}}else v.error("crs '{}' not available into proj4 definitions !",e.crs);else v.error("crs not defined !");else v.log("[ERROR] MousePosition:addSystem - system parameter should be an object")},t.prototype.addSystems=function(e){if(e)if(Array.isArray(e))for(var t=0;t<e.length;t++)this.addSystem(e[t]);else v.log("[ERROR] MousePosition:addSystems - systems parameter should be an array")},t.prototype.removeSystem=function(e){if(e&&"string"==typeof e){for(var t=document.getElementById("GPmousePositionProjectionSystem-"+this._uid),o=null,r=0;r<this._projectionSystems.length;r++){var n=this._projectionSystems[r];if(e===n.crs){o=n.code,this._projectionSystems.splice(r,1);break}}if(null!=o){for(var i=[],s=0;s<this._projectionSystems.length;s++)i[Number(this._projectionSystems[s].code)]=s,this._projectionSystems[s].code=s;for(var a=null,l=0;l<t.childNodes.length;l++)o!==t.childNodes[s].value?t.childNodes[s].value=i[Number(t.childNodes[s].value)]:a=l;null!=a&&t.removeChild(t.childNodes[a]),this._currentProjectionSystems.code===Number(o)&&(t.childNodes[0].setAttribute("selected","selected"),this._setCurrentSystem(t.childNodes[0].value))}else v.log("[WARN] MousePosition:removeSystem - system not found")}else v.log("[ERROR] MousePosition:removeSystem - systemCode parameter should be a string")},t.prototype.setUnits=function(e){e&&Array.isArray(e)&&(this.options.units=e,this._projectionUnits=[],this._initProjectionUnits(),this._currentProjectionType&&this._setTypeUnitsPanel(this._currentProjectionType))},t.prototype.setAltitudeOptions=function(e){if(e&&"object"===y(e)&&(this.options.altitude.triggerDelay=e.triggerDelay,this.options.altitude.responseDelay=e.responseDelay,e.serviceOptions))for(var t in e.serviceOptions)e.serviceOptions.hasOwnProperty(t)&&(this.options.altitude.serviceOptions[t]=e.serviceOptions[t])},t.prototype.displayAltitude=function(e){void 0!==e&&(this.options.displayAltitude=e,this._setElevationPanel(e))},t.prototype.displayCoordinates=function(e){void 0!==e&&(this.options.displayCoordinates=e,this._setCoordinatesPanel(e),this._setSettingsPanel(e))},t.prototype.setCollapsed=function(e){void 0!==e?e&&this.collapsed||!e&&!this.collapsed||(this._isDesktop||(document.getElementById("GPmapCenter").className=e?"":"GPmapCenterVisible"),this.onShowMousePositionClick(),this._showMousePositionContainer.checked=!e):v.log("[ERROR] MousePosition:setCollapsed - missing collapsed parameter")},t.prototype._initialize=function(e){if(e=e||{},this.options=e,this.options.collapsed=void 0===e.collapsed||e.collapsed,this.collapsed=this.options.collapsed,this.options.draggable=void 0!==e.draggable&&e.draggable,this.draggable=this.options.draggable,this._markerOverlay=null,this._markerUrl=null,this._markerOffset=[0,0],this._hideMarker=!1,this._initMarker(e.positionMarker),this.options.units=e.units||[],this.options.displayAltitude=void 0===e.displayAltitude||e.displayAltitude,this.options.displayCoordinates=void 0===e.displayCoordinates||e.displayCoordinates,this.options.displayCoordinates?this.options.editCoordinates=void 0!==e.editCoordinates&&e.editCoordinates:this.options.editCoordinates=!1,this.editing=!1,this.options.systems=e.systems||[],e.altitude){var t=e.altitude;this.options.altitude={triggerDelay:void 0!==t.triggerDelay?t.triggerDelay:200,responseDelay:void 0!==t.responseDelay?t.responseDelay:500,serviceOptions:t.serviceOptions||{},noDataValue:void 0!==t.noDataValue?t.noDataValue:-99999,noDataValueTolerance:void 0!==t.noDataValueTolerance?t.noDataValueTolerance:9e4}}else this.options.altitude={triggerDelay:200,responseDelay:500,serviceOptions:{}};this._uid=p.default.generate(),this._projectionSystems=[],this._initProjectionSystems(),this._projectionUnits={},this._initProjectionUnits(),this._isDesktop=u.default.detectSupport(),this.options.altitude.triggerDelay<100&&(this.options.altitude.triggerDelay=100),this._timer=this.options.altitude.triggerDelay,this._currentProjectionSystems=this._projectionSystems[0],this._currentProjectionType=this._projectionSystems[0].type,this._currentProjectionUnits=this._projectionUnits[this._currentProjectionType][0].code,this._projectionUnitsContainer=null,this._showMousePositionContainer=null,this._panelMousePositionContainer=null,this._panelHeaderMousePositionContainer=null,this.options.displayAltitude||this.options.displayCoordinates||(this.options.displayCoordinates=!0),this.listenerKey=null},t.prototype._initMarker=function(e){if(this.options.editCoordinates){if(!e)return this._markerUrl=d.default.lightOrange,void(this._markerOffset=d.default.defaultOffset);this._hideMarker=void 0!==e.hide&&e.hide,e.offset?Array.isArray(e.offset)&&2===e.offset.length?this._markerOffset=e.offset:(v.log("positionMarker.offset should be an array. e.g. : [0,0]"),this._markerOffset=d.default.defaultOffset):this._markerOffset=d.default.defaultOffset;var t=e.url;t?t.match(/^[a-zA-Z]+$/)?this._markerUrl=void 0!==d.default[t]?d.default[t]:d.default.lightOrange:this._markerUrl=t:this._markerUrl=d.default.lightOrange}},t.prototype._initProjectionSystems=function(){for(var e=[{label:"Géographique",crs:Object(s.get)("EPSG:4326").getCode(),type:"Geographical"},{label:"Web Mercator",crs:Object(s.get)("EPSG:3857").getCode(),type:"Metric"},{label:"Lambert 93",crs:Object(s.get)("EPSG:2154").getCode(),type:"Metric",geoBBox:{left:-9.86,bottom:41.15,right:10.38,top:51.56}},{label:"Lambert II étendu",crs:Object(s.get)("EPSG:27572").getCode(),type:"Metric",geoBBox:{left:-4.87,bottom:42.33,right:8.23,top:51.14}}],t=this.options.systems,o=0;o<t.length;o++){var r=t[o];this.addSystem(r)}if(0===this._projectionSystems.length)for(var n=0;n<e.length;n++)this.addSystem(e[n])},t.prototype._initProjectionUnits=function(){var e={Geographical:[{code:"DEC",label:"degrés décimaux",format:this._displayDEC},{code:"DMS",label:"degrés sexagésimaux",format:this._displayDMS},{code:"RAD",label:"radians",format:this._displayRAD},{code:"GON",label:"grades",format:this._displayGON}],Metric:[{code:"M",label:"mètres",format:this._displayMeter},{code:"KM",label:"kilomètres",format:this._displayKMeter}]},t=this.options.units;for(var o in e)if(e.hasOwnProperty(o)){for(var r=!1,n=0;n<e[o].length;n++)for(var i=e[o][n],s=0;s<t.length;s++){var a=t[s];i.code===a&&(r=!0,this._projectionUnits[o]||(this._projectionUnits[o]=[]),this._projectionUnits[o].push(i))}r||(this._projectionUnits[o]=e[o])}"object"===y(this._projectionUnits)&&0===Object.keys(this._projectionUnits).length&&(this._projectionUnits=e)},t.prototype._getCurrentProjectionInformation=function(){for(var e=[this._currentProjectionSystems.label,"en"],t=this._projectionUnits[this._currentProjectionType],o=0;o<t.length;++o)if(t[o].code===this._currentProjectionUnits){e.push(t[o].label);break}return e.join(" ")},t.prototype._initContainer=function(){var e=this._createMainContainerElement(),t=this._showMousePositionContainer=this._createShowMousePositionElement();e.appendChild(t);var o=this._createShowMousePositionPictoElement(this._isDesktop);e.appendChild(o);var r=this._panelMousePositionContainer=this._createMousePositionPanelElement(),n=this._panelHeaderMousePositionContainer=this._createMousePositionPanelHeaderElement();r.appendChild(n);var i=this._createMousePositionPanelBasicElement(this.options.displayAltitude,this.options.displayCoordinates,this.options.editCoordinates,this._currentProjectionUnits);r.appendChild(i);for(var s=this._createShowMousePositionSettingsElement(this.options.displayCoordinates),a=0;a<s.length;a++)r.appendChild(s[a]);var l=this._createMousePositionSettingsElement(),u=this._projectionSystemsContainer=this._createMousePositionSettingsSystemsElement(this._projectionSystems),c=this._projectionUnitsContainer=this._createMousePositionSettingsUnitsElement(this._projectionUnits[this._currentProjectionType]);return l.appendChild(u),l.appendChild(c),r.appendChild(l),e.appendChild(r),e},t.prototype._setElevationPanel=function(e){document.getElementById("GPmousePositionAltitude-"+this._uid).style.display=e?"":"none"},t.prototype._setCoordinatesPanel=function(e){var t=document.getElementById("GPmousePositionCoordinate-"+this._uid);t.style.display=e?"":"none"},t.prototype._setSettingsPanel=function(e){var t=document.getElementById("GPshowMousePositionSettingsPicto-"+this._uid),o=document.getElementById("GPmousePositionSettings-"+this._uid);e?(t.style.display="",o.style.display=""):(t.style.display="none",o.style.display="none")},t.prototype._setTypeUnitsPanel=function(e){for(var t=this._projectionUnitsContainer;t.firstChild;)t.removeChild(t.firstChild);for(var o=this._projectionUnits[e],r=0;r<o.length;r++){var n=o[r],i=document.createElement("option");i.value=n.code?n.code:r,i.text=n.label||r,t.appendChild(i)}var s=this._projectionUnits[e][0].code;"DMS"!==this._currentProjectionUnits&&"DMS"!==s||(this._resetCoordinateElements(this.options.editCoordinates,e,s),this._setEditMode(this.editing)),this._currentProjectionType=e,this._resetLabelElements(e),this._resetUnitElements(s),this._currentProjectionUnits=s},t.prototype._displayDEC=function(e){var t={};return t.lat=e[1].toFixed(6),t.lng=e[0].toFixed(6),t.unit="°",t},t.prototype._displayDMS=function(e){return{lng:h.default.decimalToDMS(e[0],"EO",2),lat:h.default.decimalToDMS(e[1],"NS",2),unit:"DMS"}},t.prototype._displayRAD=function(e){var t={},o=.017453292519943295;return t.lng=e[0]*o,t.lng=t.lng.toFixed(8),t.lat=e[1]*o,t.lat=t.lat.toFixed(8),t.unit="rad",t},t.prototype._displayGON=function(e){var t={},o=1.1111111111111112;return t.lng=e[0]*o,t.lng=t.lng.toFixed(8),t.lat=e[1]*o,t.lat=t.lat.toFixed(8),t.unit="gon",t},t.prototype._displayMeter=function(e){var t={};return t.x=e[0].toFixed(2),t.y=e[1].toFixed(2),t.unit="m",t},t.prototype._displayKMeter=function(e){var t={};return t.x=(e[0]/1e3).toFixed(2),t.y=(e[1]/1e3).toFixed(2),t.unit="km",t},t.prototype._setCoordinate=function(e,t){var o={},r=this._currentProjectionSystems.crs;if(r){e=Object(s.transform)(e,t,r);for(var n=this._currentProjectionSystems.type,i=null,a=this._projectionUnits[n],l=0;l<a.length;l++)if(a[l].code===this._currentProjectionUnits){i=a[l].format;break}i&&"function"==typeof i?(o=i(e))&&0!==Object.keys(o).length&&this.GPdisplayCoords(o):v.log("WARNING : coordinates format function not found")}else v.log("ERROR : system crs not found")},t.prototype._setElevation=function(e){var t=this.options.altitude.responseDelay,o=this.options.altitude.noDataValue,r=this.options.altitude.noDataValueTolerance;this.GPdisplayElevation(e,t,o,r)},t.prototype.onMoveStopped=function(e,t){var o=Object(s.transform)(e,t,"EPSG:4326");this._setElevation(o)},t.prototype.onMouseMove=function(e){var t=this,o=e.coordinate;if(e.map&&e.map.getView()){var r=e.map.getView().getProjection();this._setCoordinate(o,r),clearTimeout(this._timer),this._timer=setTimeout((function(){t.onMoveStopped(o,r)}),this.options.altitude.triggerDelay)}},t.prototype.onMapMove=function(){var e=this,t=this.getMap();if(t&&t.getView()){var o=t.getView(),r=o.getCenter(),n=o.getProjection();this._setCoordinate(r,n),clearTimeout(this._timer),this._timer=setTimeout((function(){e.onMoveStopped(r,n)}),this.options.altitude.triggerDelay)}},t.prototype.onRequestAltitude=function(e,t){if(e&&0!==Object.keys(e).length&&this.options.displayAltitude){var o=this.options.altitude.serviceOptions||{},r=o.protocol||"XHR",n=o.timeOut||0;"JSONP"===r&&0===n&&(n=15e3);var i,s=o.outputFormat||"json";i=!1!==o.zonly||o.zonly;var l,u=o.measures||!1,c=[{lon:e[0],lat:e[1]}],d=o.resource,p=o.rawResponse||!1,h=o.onSuccess||null,f=null;f=p?function(e){h&&h.call(this,e),v.log("alti service raw response : ",e)}:function(e){e&&Object.keys(e).length&&(h&&h.call(this,e),t.call(this,e.elevations[0].z))},l=function(e){v.log("[getAltitude] ERROR : "+e.message)};var m=o.apiKey||this.options.apiKey;"boolean"!=typeof o.ssl&&("boolean"==typeof this.options.ssl?o.ssl=this.options.ssl:o.ssl=!0);var g=o.ssl;a.default.Services.getAltitude({apiKey:m,protocol:r,ssl:g,timeOut:n,scope:this,outputFormat:s,rawResponse:p,onSuccess:f,onFailure:l,zonly:i,measures:u,resource:d,positions:c})}},t.prototype.onShowMousePositionClick=function(){var e=this,t=this.getMap();c.default.unset(t),this.collapsed=this._showMousePositionContainer.checked,this.dispatchEvent("change:collapsed"),this._showMousePositionContainer.checked?Object(i.unByKey)(this.listenerKey):this.editing||(this._isDesktop?this.listenerKey=t.on("pointermove",(function(t){e.onMouseMove(t)})):(this.listenerKey=t.on("moveend",(function(t){return e.onMapMove(t)})),this.onMapMove())),this._setElevationPanel(this.options.displayAltitude),this._setCoordinatesPanel(this.options.displayCoordinates),this.options.displayCoordinates||this._setSettingsPanel(!1)},t.prototype.onShowMousePositionSettingsClick=function(e){if(!this.draggable){this._panelMousePositionContainer.style.transition="top 0.5s ease-out 0s",this._panelMousePositionContainer.style.transitionProperty="top",this._panelMousePositionContainer.style.transitionDuration="0.5s",this._panelMousePositionContainer.style.transitionTimingFunction="ease-out",this._panelMousePositionContainer.style.transitionDelay="0s";var t=this._panelMousePositionContainer.offsetTop;document.getElementById(e.target.htmlFor).checked?this._panelMousePositionContainer.style.top=t- -95+"px":this._panelMousePositionContainer.style.top=t+-95+"px"}},t.prototype.onMousePositionEditModeClick=function(e){var t=this;if(this.options.editCoordinates&&this.editing!==e){this.editing=e,this._setEditMode(this.editing);var o=this.getMap();this._isDesktop?this.editing?Object(i.unByKey)(this.listenerKey):(this.listenerKey=o.on("pointermove",(function(e){t.onMouseMove(e)})),this.onMapMove()):this.editing?Object(i.unByKey)(this.listenerKey):(this.listenerKey=o.on("moveend",(function(e){return t.onMapMove(e)})),this.onMapMove()),!this.editing&&this._markerOverlay&&this._markerOverlay.setPosition(void 0)}},t.prototype.getCoordinate=function(e){var t=document.getElementById(this._addUID("GPmousePosition"+e+"Degrees")),o=t.value;if(!o)return null;if(o=o.replace(",","."),!h.default.isInteger(o))return null;var r=h.default.toInteger(o);if(r<Number(t.dataset.min)||r>Number(t.dataset.max))return null;var n=document.getElementById(this._addUID("GPmousePosition"+e+"Direction")).value,i=document.getElementById(this._addUID("GPmousePosition"+e+"Minutes")),s=i.value;if(s&&(s=s.replace(",","."),h.default.isInteger(s))){var a=h.default.toInteger(s);a>=Number(i.dataset.min)&&a<=Number(i.dataset.max)&&(r+=a/60)}var l=document.getElementById(this._addUID("GPmousePosition"+e+"Seconds")),u=l.value;if(u){u=u.replace(",",".");var c=h.default.toFloat(u);c&&c>=Number(l.dataset.min)&&c<=Number(l.dataset.max)&&(r+=c/3600)}return"O"!==n&&"S"!==n||(r=-r),r},t.prototype.locateDMSCoordinates=function(){var e=[this.getCoordinate("Lon"),this.getCoordinate("Lat")];if(null!==e[0]&&null!==e[1]){var t=this._currentProjectionSystems.crs;if(t){var o=this.getMap().getView(),r=Object(s.transform)(e,t,o.getProjection());o.setCenter(r),this._markerOverlay&&!this._hideMarker&&this._markerOverlay.setPosition(r)}else v.log("ERROR : system crs not found")}},t.prototype.locateCoordinates=function(){var e=document.getElementById(this._addUID("GPmousePositionLon")).value;if(e=e.replace(",","."),null!==(e=h.default.toFloat(e))){var t=document.getElementById(this._addUID("GPmousePositionLat")).value;if(t=t.replace(",","."),null!==(t=h.default.toFloat(t))){var o=this._currentProjectionSystems.crs;if(o){var r;r="Geographical"===this._currentProjectionSystems.type?[this.convert(e),this.convert(t)]:[this.convert(t),this.convert(e)];var n=Object(s.transform)(r,this._currentProjectionSystems.crs,"EPSG:4326"),i=this._currentProjectionSystems.geoBBox;if(i){var a=[i.left,i.bottom,i.right,i.top];if(n[0]<a[0]||n[0]>a[2])return;if(n[1]<a[1]||n[1]>a[3])return}var l=this.getMap().getView(),u=Object(s.transform)(r,o,l.getProjection());l.setCenter(u),this._markerOverlay&&!this._hideMarker&&this._markerOverlay.setPosition(u)}else v.log("ERROR : system crs not found")}}},t.prototype.onMousePositionEditModeLocateClick=function(){if(this.options.editCoordinates)if(this.editing){"DMS"===this._currentProjectionUnits?this.locateDMSCoordinates():this.locateCoordinates();var e=this.options.mapCenterCallback;if("function"==typeof e){var t=this.getMap().getView().getCenter();e.call(this,t)}}else this.onMousePositionEditModeClick(!0)},t.prototype.onMousePositionProjectionSystemChange=function(e){var t=e.target.selectedIndex,o=e.target.options[t].value;this._setCurrentSystem(o)},t.prototype._setCurrentSystem=function(e){for(var t=null,o=0;o<this._projectionSystems.length;++o)if(this._projectionSystems[o].code===Number(e)){t=this._projectionSystems[o].type;break}t?(this._currentProjectionSystems=this._projectionSystems[Number(e)],t!==this._currentProjectionType&&this._setTypeUnitsPanel(t),this._isDesktop||this.onMapMove()):v.log("system not found in projection systems container")},t.prototype.onMousePositionProjectionSystemMouseOver=function(e){v.trace(e);var t=this.getMap();if(t&&t.getView()){var o=t.getView(),r=o.getProjection(),n=o.calculateExtent(t.getSize());n=Object(s.transformExtent)(n,r,"EPSG:4326");var i=document.getElementById(this._addUID("GPmousePositionProjectionSystem"));i.innerHTML="";for(var a=0;a<this._projectionSystems.length;a++){var l=this._projectionSystems[a],u=null;if(l.geoBBox&&(n[0]>l.geoBBox.right||n[1]>l.geoBBox.top||n[2]<l.geoBBox.left||n[3]<l.geoBBox.bottom))l===this._currentProjectionSystems&&((u=document.createElement("option")).value=l.code,u.text=l.label||a,u.setAttribute("selected","selected"),u.setAttribute("disabled","disabled"),i.appendChild(u));else{var c=document.createElement("option");c.value=l.code,c.text=l.label||a,l===this._currentProjectionSystems&&c.setAttribute("selected","selected"),i.appendChild(c)}}}},t.prototype.onMousePositionProjectionUnitsChange=function(e){var t=e.target.selectedIndex,o=e.target.options[t].value,r=this._currentProjectionUnits;this._currentProjectionUnits=o,this._resetLabelElements(this._currentProjectionType),this._resetUnitElements(this._currentProjectionUnits),"DMS"!==r&&"DMS"!==this._currentProjectionUnits||(this._resetCoordinateElements(this.options.editCoordinates,this._currentProjectionType,this._currentProjectionUnits),this._setEditMode(this.editing)),this._isDesktop||this.onMapMove()},t.prototype.convert=function(e){var t;if("M"===this._currentProjectionUnits||"DEC"===this._currentProjectionUnits)t=e;else if("KM"===this._currentProjectionUnits)t=1e3*e;else if("RAD"===this._currentProjectionUnits){t=(e*(180/Math.PI).toFixed(20)).toFixed(20)}else if("GON"===this._currentProjectionUnits){t=(e*.9.toFixed(20)).toFixed(20)}return t},t.prototype.validateExtentCoordinate=function(e,t){if(-1===["Lon","Lat"].indexOf(e))return!1;var o=t.replace(",",".");if(null===(o=h.default.toFloat(o)))return!1;o=this.convert(o);var r=this._currentProjectionSystems.geoBBox;if(void 0===r)return!0;var n=[r.left,r.bottom,r.right,r.top];return n=Object(s.transformExtent)(n,"EPSG:4326",this._currentProjectionSystems.crs),("Lat"!==e||!(o<n[0]||o>n[2]))&&("Lon"!==e||!(o<n[1]||o>n[3]))},t}(r.default);t.default=_,window.ol&&window.ol.control&&(window.ol.control.GeoportalMousePosition=_)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/ReverseGeocode.js":function(e,t,o){"use strict";o.r(t);o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/ReverseGeocoding/GPreverseGeocodingOpenLayers.css");var r=o("./node_modules/ol/control/Control.js"),n=o("./node_modules/ol/Overlay.js"),i=o("./node_modules/ol/Collection.js"),s=o("./node_modules/ol/Feature.js"),a=o("./node_modules/ol/style.js"),l=o("./node_modules/ol/geom.js"),u=o("./node_modules/ol/interaction.js"),c=o("./node_modules/ol/events/condition.js"),d=o("./node_modules/ol/proj.js"),p=o("./node_modules/ol/layer/Vector.js"),h=o("./node_modules/ol/source/Vector.js"),f=o("./node_modules/geoportal-access-lib/src/Gp.js"),m=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),g=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),y=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js"),v=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/Markers.js"),_=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/Draggable.js"),b=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/Interactions.js"),A=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/LayerSwitcher.js"),C=o("./node_modules/geoportal-extensions-openlayers/src/Common/Controls/ReverseGeocodingDOM.js"),E=g.default.getLogger("reversegeocoding"),S=function(e){function t(o){if(o=o||{},!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");this.initialize(o),this._container=this._initContainer(),this._containerElement=null,o.element&&o.element.appendChild&&(o.element.appendChild(this._container),this._containerElement=o.element),e.call(this,{element:this._containerElement||this._container,target:o.target,render:o.render})}return e&&(t.__proto__=e),t.prototype=Object.create(e.prototype,{}),m.default.assign(t.prototype,C.default),t.prototype.constructor=t,t.prototype.getCollapsed=function(){return this.collapsed},t.prototype.setCollapsed=function(e){void 0!==e?e&&this.collapsed||!e&&!this.collapsed||(e?document.getElementById("GPreverseGeocodingPanelClose-"+this._uid).click():document.getElementById("GPshowReverseGeocoding-"+this._uid).click(),this.collapsed=e):E.log("[ERROR] ReverseGeocode:setCollapsed - missing collapsed parameter")},t.prototype.setMap=function(t){if(t)this._activateMapInteraction(t),this.draggable&&_.default.dragElement(this._panelContainer,this._panelHeaderContainer,t.getTargetElement());else{var o=this.getMap();this._clearResults(),this._clearInputFeatures(),this._removeMapInteraction(o),null!=this._inputFeaturesLayer&&(o.removeLayer(this._inputFeaturesLayer),this._inputFeaturesLayer=null,this._inputFeaturesSources=null,this._inputFeatures=null)}e.prototype.setMap.call(this,t)},t.prototype.getData=function(){return this._reverseGeocodingLocations},t.prototype.initialize=function(e){this._checkInputOptions(e),this.options={collapsed:!0,draggable:!1,resources:["StreetAddress","PositionOfInterest","CadastralParcel"],delimitations:["Point","Circle","Extent"],reverseGeocodeOptions:{},layerDescription:{title:"Saisie (recherche inverse)",description:"Couche de saisie d'une zone de recherche pour la recherche inverse"}},m.default.assign(this.options,e),this.collapsed=this.options.collapsed,this.draggable=this.options.draggable,this._uid=y.default.generate(),this._currentGeocodingType=null,this._initGeocodingType(),this._currentGeocodingDelimitation=null,this._initGeocodingDelimitation(),this._showReverseGeocodingInput=null,this._panelContainer=null,this._panelHeaderContainer=null,this._panelTitleContainer=null,this._returnPictoContainer=null,this._formContainer=null,this._resultsContainer=null,this._resultsListContainer=null,this._waitingContainer=null,this._inputFeatures=null,this._inputFeaturesSource=null,this._inputFeaturesLayer=null,this._mapInteraction=null,this._requestOptions=null,this._requestGeom=null,this._waiting=!1,this._timer=null,this._reverseGeocodingLocations=[],this._reverseGeocodingLocationsMarkers=[],this._resultsDefaultStyle=new a.Style({image:new a.Icon({src:v.default.lightOrange,anchor:[.5,1]})}),this._resultsSelectedStyle=new a.Style({image:new a.Icon({src:v.default.red,anchor:[.5,1]})}),this._resultsHoverInteraction=null,this._resultsSelectInteraction=null,this._popupContent=null,this._popupDiv=this._initPopupDiv(),this._popupOverlay=null},t.prototype._checkInputOptions=function(e){var t,o;if(e.resources){var r=e.resources;if(Array.isArray(r)){var n=["StreetAddress","PositionOfInterest","CadastralParcel"],i=[];for(t=0;t<r.length;t++)-1===n.indexOf(r[t])&&(i.push(t),E.log("[ReverseGeocode] options.resources : "+r[t]+" is not a resource for reverse geocode"));if(0!==i.length)for(o=0;o<i.length;o++)r.splice(i[o],1)}else E.log("[ReverseGeocode] 'options.resources' parameter should be an array"),r=null}if(e.delimitations){var s=e.delimitations;if(Array.isArray(s)){var a=["Circle","Point","Extent"],l=[];for(t=0;t<s.length;t++)-1===a.indexOf(s[t])&&(l.push(t),E.log("[ReverseGeocode] options.delimitations : "+s[t]+" is not a delimitation for reverse geocode"));if(0!==l.length)for(o=0;o<l.length;o++)s.splice(l[o],1)}else E.log("[ReverseGeocode] 'options.delimitations' parameter should be an array"),s=null}},t.prototype._initGeocodingType=function(){this._currentGeocodingType="StreetAddress";var e=this.options.resources;e&&0!==e.length||(this.options.resources=["StreetAddress","PositionOfInterest","CadastralParcel"]),Array.isArray(e)&&e.length&&("StreetAddress"!==e[0]&&"PositionOfInterest"!==e[0]&&"CadastralParcel"!==e[0]||(this._currentGeocodingType=e[0]));var t=this.options.reverseGeocodeOptions;t.filterOptions&&Array.isArray(t.filterOptions.type)&&0!==t.filterOptions.type.length&&(this._currentGeocodingType=t.filterOptions.type[0])},t.prototype._initGeocodingDelimitation=function(){this._currentGeocodingDelimitation="Point";var e=this.options.delimitations;if(e&&0!==e.length||(this.options.delimitations=["Point","Circle","Extent"]),Array.isArray(e)&&e.length){var t=e[0].toLowerCase();"point"!==t&&"circle"!==t&&"extent"!==t||(this._currentGeocodingDelimitation=e[0])}},t.prototype._initPopupDiv=function(){var e=this,t=document.createElement("div");t.className="gp-feature-info-div";var o=document.createElement("input");return o.type="button",o.className="gp-styling-button closer",o.onclick=function(){return null!=e._popupOverlay&&e._popupOverlay.setPosition(void 0),!1},this._popupContent=document.createElement("div"),this._popupContent.className="gp-features-content-div",t.appendChild(this._popupContent),t.appendChild(o),t},t.prototype._initContainer=function(){var e=this._createMainContainerElement(),t=this._showReverseGeocodingInput=this._createShowReverseGeocodingElement();e.appendChild(t),this.collapsed||(t.checked=!0);var o=this._createShowReverseGeocodingPictoElement();e.appendChild(o);var r=this._panelContainer=this._createReverseGeocodingPanelElement(),n=this._panelHeaderContainer=this._createReverseGeocodingPanelHeaderElement(),i=this._returnPictoContainer=this._createReverseGeocodingPanelReturnPictoElement();n.appendChild(i);var s=this._panelTitleContainer=this._createReverseGeocodingPanelTitleElement();n.appendChild(s);var a=this._createReverseGeocodingPanelCloseElement();n.appendChild(a),r.appendChild(n);var l=this._formContainer=this._createReverseGeocodingPanelFormElement();l.appendChild(this._createReverseGeocodingFormModeChoiceGeocodingTypeElement(this.options.resources)),l.appendChild(this._createReverseGeocodingFormModeChoiceGeocodingDelimitationElement(this.options.delimitations));var u=this._createReverseGeocodingSubmitFormElement();l.appendChild(u),r.appendChild(l);var c=this._waitingContainer=this._createReverseGeocodingWaitingElement();r.appendChild(c);var d=this._resultsContainer=this._createReverseGeocodingResultsPanelElement(),p=this._resultsListContainer=this._createReverseGeocodingResultsListElement();return d.appendChild(p),r.appendChild(d),e.appendChild(r),E.log(e),e},t.prototype._activateMapInteraction=function(e){var t=this;if(!this.collapsed){switch(null==this._inputFeaturesLayer&&(this._inputFeatures=new i.default,this._inputFeaturesSource=new h.default({features:this._inputFeatures}),this._inputFeaturesLayer=new p.default({source:this._inputFeaturesSource,style:new a.Style({fill:new a.Fill({color:"rgba(0, 183, 152, 0.3)"}),stroke:new a.Stroke({color:"rgba(0, 183, 152, 0.8)",width:3}),image:new a.Icon({src:v.default.turquoiseBlue,anchor:[.5,1]})})}),this._inputFeaturesLayer.gpResultLayerId="reverseGeocoding",e.addLayer(this._inputFeaturesLayer)),this._currentGeocodingDelimitation.toLowerCase()){case"point":this._activatePointInteraction(e);break;case"circle":this._activateCircleInteraction(e);break;case"extent":this._activateBoxInteraction(e)}e.getControls().forEach((function(e){if(e instanceof A.default){var o=t._inputFeaturesLayer.gpLayerId;e._layers[o].title===o&&(e.addLayer(t._inputFeaturesLayer,{title:t.options.layerDescription.title,description:t.options.layerDescription.description}),e.setRemovable(t._inputFeaturesLayer,!1))}}))}},t.prototype._activatePointInteraction=function(e){var t=this;this._mapInteraction=new u.Draw({style:new a.Style({image:new a.Circle({radius:0,fill:new a.Fill({color:"rgba(0, 183, 152, 0.8)"})})}),type:"Point",source:this._inputFeaturesSource}),this._mapInteraction.on("drawstart",(function(e){E.log("on drawstart ",e),t._inputFeatures.clear(),t._onDrawStart(e,"point")})),this._mapInteraction.on("drawend",(function(e){E.log("on drawend",e),e.feature&&e.feature.getGeometry&&(t._requestGeom={type:"Point",coordinates:[t._requestPosition.lon,t._requestPosition.lat]})})),e.addInteraction(this._mapInteraction),this._setCursor("crosshair",e)},t.prototype._activateCircleInteraction=function(e){var t=this;this._mapInteraction=new u.Draw({style:new a.Style({fill:new a.Fill({color:"rgba(0, 183, 152, 0.3)"}),stroke:new a.Stroke({color:"rgba(0, 183, 152, 0.8)",width:3}),image:new a.Circle({radius:4,fill:new a.Fill({color:"rgba(0, 183, 152, 0.8)"})})}),type:"Circle",source:this._inputFeaturesSource}),this._mapInteraction.on("drawstart",(function(e){E.log("on drawstart ",e),t._inputFeatures.clear(),t._onDrawStart(e,"circle")})),this._mapInteraction.on("drawend",(function(e){if(E.log("on drawend",e),e.feature&&e.feature.getGeometry){var o=e.feature.getGeometry().getRadius();t._requestGeom={},t._requestGeom.type="Circle",t._requestGeom.radius=o,t._requestPosition&&(t._requestGeom.coordinates=[t._requestPosition.lon,t._requestPosition.lat]),E.log("circle radius : ",o)}})),e.addInteraction(this._mapInteraction)},t.prototype._activateBoxInteraction=function(e){var t=this;this._mapInteraction=new u.Draw({style:new a.Style({fill:new a.Fill({color:"rgba(0, 183, 152, 0.3)"}),stroke:new a.Stroke({color:"rgba(0, 183, 152, 0.8)",width:3}),image:new a.Circle({radius:4,fill:new a.Fill({color:"rgba(0, 183, 152, 0.8)"})})}),type:"LineString",source:this._inputFeaturesSource,maxPoints:2,geometryFunction:function(e,t){t||(t=new l.Polygon([]));var o=e[0],r=e[1];return t.setCoordinates([[o,[o[0],r[1]],r,[r[0],o[1]],o]]),t}}),this._mapInteraction.on("drawstart",(function(e){E.log("on drawstart",e),t._inputFeatures.clear()})),this._mapInteraction.on("drawend",(function(e){E.log("on drawend",e),t._onBoxDrawEnd(e)})),e.addInteraction(this._mapInteraction)},t.prototype._removeMapInteraction=function(e){null!=this._mapInteraction&&(e.removeInteraction(this._mapInteraction),this._mapInteraction=null),this._setCursor()},t.prototype._onDrawStart=function(e,t){var o;if(e.feature&&e.feature.getGeometry){var r=e.feature.getGeometry();"point"===t&&(o=r.getCoordinates()),"circle"===t&&(o=r.getCenter())}if(o){var n;if(this.options.reverseGeocodeOptions&&this.options.reverseGeocodeOptions.srs)n=this.options.reverseGeocodeOptions.srs;else{var i=this.getMap();if(!i||!i.getView())return;n=i.getView().getProjection()}var s=Object(d.transform)(o,n,"EPSG:4326");this._requestPosition={lon:s[0],lat:s[1]},E.log("position coordinates : ",this._requestPosition)}},t.prototype._onBoxDrawEnd=function(e){if(e.feature&&e.feature.getGeometry){var t,o=e.feature.getGeometry().getCoordinates()[0],r=o[0],n=o[2];if(this.options.reverseGeocodeOptions&&this.options.reverseGeocodeOptions.srs)t=this.options.reverseGeocodeOptions.srs;else{var i=this.getMap();if(!i||!i.getView())return;t=i.getView().getProjection()}var s=Object(d.transform)(r,t,"EPSG:4326"),a=Object(d.transform)(n,t,"EPSG:4326"),l={};s[0]<a[0]?(l.left=s[0],l.right=a[0]):(l.left=a[0],l.right=s[0]),s[1]<a[1]?(l.bottom=s[1],l.top=a[1]):(l.bottom=a[1],l.top=s[1]),this._requestGeom={type:"Polygon",coordinates:[[[l.left,l.top],[l.left,l.bottom],[l.right,l.bottom],[l.right,l.top],[l.left,l.top]]]},E.log("searchGeometry filter : ",this._requestGeom)}},t.prototype._setCursor=function(e,t){if(t=t||this.getMap()){var o=t.getTargetElement();o.style.cursor=e||null}},t.prototype._reverseGeocodingRequest=function(){var e=this.getMap();this._requestOptions=this._getReverseGeocodingRequestOptions(),this._removeMapInteraction(e),this._displayWaitingContainer(),f.default.Services.reverseGeocode(this._requestOptions)},t.prototype._getReverseGeocodingRequestOptions=function(){var e=this.getMap(),t=this.options.reverseGeocodeOptions,o=this;"boolean"!=typeof this.options.ssl&&(this.options.ssl=!0);var r=!(null===t.onFailure||"function"!=typeof t.onFailure),n=!(null===t.onSuccess||"function"!=typeof t.onSuccess),i={apiKey:t.apiKey||this.options.apiKey,ssl:this.options.ssl,position:this._requestPosition,filterOptions:{type:[this._currentGeocodingType]},srs:"CRS:84",returnFreeForm:!1,maximumResponses:t.maximumResponses||18,timeOut:t.timeOut||3e4,onSuccess:function(e){e.locations&&(E.log("reverseGeocode results : ",e.locations),o._displayGeocodedLocations(e.locations)),n&&t.onSuccess.call(o,e.locations)},onFailure:function(n){o._hideWaitingContainer(),o._clearResults(),o._clearInputFeatures(),o._activateMapInteraction(e),E.log(n.message),r&&t.onFailure.call(o,n)}};return"circle"===this._requestGeom.type.toLowerCase()?(this._requestGeom.radius>500&&(E.log("INFO : initial circle radius ("+this._requestGeom.radius+") limited to 1000m."),this._requestGeom.radius=500),i.searchGeometry=this._requestGeom):"polygon"===this._requestGeom.type.toLowerCase()?i.searchGeometry=this._requestGeom:"point"===this._requestGeom.type.toLowerCase()&&("StreetAddress"===this._currentGeocodingType?(i.searchGeometry={type:"Circle",radius:50,coordinates:this._requestGeom.coordinates},i.maximumResponses=1):i.searchGeometry=this._requestGeom),E.log("reverseGeocode request options : ",i),i},t.prototype._displayGeocodedLocations=function(e){this._clearResults(),this._reverseGeocodingLocations=e,this.dispatchEvent({type:"reversegeocode:compute"}),this._formContainer.className="GPreverseGeocodingComponentHidden",this._hideWaitingContainer(),this._panelTitleContainer.innerHTML="Résultats de la recherche",this._returnPictoContainer.className="",this._resultsContainer.className="GPpanel",this._fillGeocodedLocationListContainer(e),this._displayGeocodedLocationsOnMap(e)},t.prototype._fillGeocodedLocationListContainer=function(e){for(var t=0;t<e.length;t++){var o=e[t];E.log(o);var r=this._fillGeocodedLocationDescription(o);0!==r.length&&this._createReverseGeocodingResultElement(r,t)}},t.prototype._fillGeocodedLocationDescription=function(e){if(e&&e.placeAttributes){var t=e.placeAttributes,o="";switch(e.type){case"StreetAddress":t.street&&(o+=t.housenumber?t.housenumber+" ":"",o+=t.street+", "),o+=t.postcode+" "+t.city;break;case"PositionOfInterest":o+=t.toponym,1===t.postcode.length&&(o+=", "+t.postcode[0]),o+=" ("+t.category.join(",")+")";break;case"CadastralParcel":o+=t.id,o+=t.city?" ("+t.city+")":"";break;default:o+=t.city?t.city:""}return o}},t.prototype._displayGeocodedLocationsOnMap=function(e){var t=this;if(0!==this._reverseGeocodingLocations.length){var o=this.getMap();this._createResultsLayer();for(var r=0;r<e.length;r++)this._addResultFeature(e[r],r);if(this._resultsFeatures.getLength()>1){if(this._resultsFeaturesSource&&this._resultsFeaturesSource.getExtent){var n=this._resultsFeaturesSource.getExtent();o.getView().fit(n,o.getSize())}}else{var i=this._resultsFeatures.item(0).getGeometry().getCoordinates();o.getView().setCenter(i),o.getView().setZoom(17)}this._resultsHoverInteraction=new u.Select({condition:c.pointerMove,layers:[this._resultsFeaturesLayer]}),this._resultsHoverInteraction.on("select",(function(e){return t._onResultsFeatureMouseOver(e)})),o.addInteraction(this._resultsHoverInteraction),this._resultsSelectInteraction=new u.Select({layers:[this._resultsFeaturesLayer]}),this._resultsSelectInteraction.on("select",(function(e){return t._onResultsFeatureSelect(e)})),o.addInteraction(this._resultsSelectInteraction);var s="";switch(this._currentGeocodingType){case"StreetAddress":s="adresses";break;case"PositionOfInterest":s="toponymes";break;case"CadastralParcel":s="parcelles cadastrales"}o.getControls().forEach((function(e){if(e instanceof A.default){var o=t._resultsFeaturesLayer.gpLayerId;e._layers[o].title===o&&(e.addLayer(t._resultsFeaturesLayer,{title:"Résultats de la recherche inverse",description:"Résultats de la recherche inverse sur les "+s}),e.setRemovable(t._resultsFeaturesLayer,!1))}}))}},t.prototype._createResultsLayer=function(){var e=this.getMap();this._resultsFeatures=new i.default,this._resultsFeaturesSource=new h.default({features:this._resultsFeatures}),this._resultsFeaturesLayer=new p.default({source:this._resultsFeaturesSource}),this._resultsFeaturesLayer.gpResultLayerId="reverseGeocodingResults",e.addLayer(this._resultsFeaturesLayer)},t.prototype._addResultFeature=function(e,t){var o=this.getMap(),r=[e.position.lon,e.position.lat];if(0!==r.length){var n=o.getView().getProjection().getCode();"EPSG:4326"!==n&&(r=Object(d.transform)(r,"EPSG:4326",n));var i=new s.default({geometry:new l.Point(r)});i.setStyle(this._resultsDefaultStyle),i.setId(t),i.setProperties({location:e,popupContent:this._fillPopupContent(e)}),this._resultsFeatures.push(i)}},t.prototype._fillPopupContent=function(e){var t="<ul>",o=e.placeAttributes;for(var r in o)o.hasOwnProperty(r)&&"trueGeometry"!==r&&"extraFields"!==r&&"houseNumberInfos"!==r&&"_count"!==r&&(t+="<li>",t+='<span class="gp-attname-others-span">'+r.toUpperCase()+" : </span>",t+=o[r],t+=" </li>");return t+=" </ul>"},t.prototype._onResultsFeatureMouseOver=function(e){var t;if(0!==e.selected.length){if((t=e.selected[0]).setStyle(this._resultsSelectedStyle),null!=t.getId()){var o=document.getElementById("ReverseGeocodedLocation_"+t.getId()+"-"+this._uid);o&&o.classList&&o.classList.add("GPreverseGeocodedLocationHighlight")}document.getElementById("ReverseGeocodedLocation_"+t.getId()+"-"+this._uid)}if(0!==e.deselected.length){(t=e.deselected[0]).setStyle(this._resultsDefaultStyle);var r=document.getElementById("ReverseGeocodedLocation_"+t.getId()+"-"+this._uid);r&&r.classList&&r.classList.remove("GPreverseGeocodedLocationHighlight")}},t.prototype._onResultsFeatureSelect=function(e){var t=this.getMap();if(0!==e.selected.length){var o=e.selected[0];this._popupContent.innerHTML=o.getProperties().popupContent,this._popupOverlay?this._popupOverlay.setPosition(e.mapBrowserEvent.coordinate):(this._popupOverlay=new n.default({element:this._popupDiv,positioning:"bottom-center",position:e.mapBrowserEvent.coordinate}),t.addOverlay(this._popupOverlay)),this.dispatchEvent({type:"reversegeocode:onclickresult",location:o.getProperties().location})}else null!=this._popupOverlay&&this._popupOverlay.setPosition(void 0)},t.prototype.onShowReverseGeocodingClick=function(){var e=this.getMap();b.default.unset(e),this.collapsed=this._showReverseGeocodingInput.checked,this.dispatchEvent("change:collapsed"),this._waiting||this._reverseGeocodingLocations.length||(this.collapsed?(this._clearResults(),this._clearInputFeatures(),this._removeMapInteraction(e),null!=this._inputFeaturesLayer&&(e.removeLayer(this._inputFeaturesLayer),this._inputFeaturesLayer=null,this._inputFeaturesSources=null,this._inputFeatures=null)):this._activateMapInteraction(e))},t.prototype.onReverseGeocodingTypeChange=function(e){var t=e.target.selectedIndex,o=e.target.options[t].value;o&&(E.log(o),this._currentGeocodingType=o)},t.prototype.onReverseGeocodingDelimitationChange=function(e){var t=e.target.selectedIndex,o=e.target.options[t].value;if(o){E.log(o),this._currentGeocodingDelimitation=o;var r=this.getMap();this._clearInputFeatures(),this._removeMapInteraction(r),this._activateMapInteraction(r)}},t.prototype.onGPreverseGeocodingReturnPictoClick=function(){this._clearResults(),this._clearInputFeatures(),this._activateMapInteraction(this.getMap())},t.prototype.onReverseGeocodingSubmit=function(){this._requestPosition?this._reverseGeocodingRequest():E.log("missing position")},t.prototype.onReverseGeocodingResultClick=function(e){var t=e.target.id,o=t.substring(t.indexOf("_")+1),r=this._resultsFeaturesSource.getFeatureById(parseInt(o,10));this.dispatchEvent({type:"reversegeocode:onclickresult",location:r.getProperties().location})},t.prototype.onReverseGeocodingResultMouseOver=function(e){var t=e.target.id,o=t.substring(t.indexOf("_")+1);(e.target.classList&&e.target.classList.add("GPreverseGeocodedLocationHighlight"),this._resultsFeaturesSource)&&this._resultsFeaturesSource.getFeatureById(parseInt(o,10)).setStyle(this._resultsSelectedStyle)},t.prototype.onReverseGeocodingResultMouseOut=function(e){var t=e.target.id,o=t.substring(t.indexOf("_")+1);(e.target.classList&&e.target.classList.remove("GPreverseGeocodedLocationHighlight"),this._resultsFeaturesSource)&&this._resultsFeaturesSource.getFeatureById(parseInt(o,10)).setStyle(this._resultsDefaultStyle)},t.prototype._clearResults=function(){var e=this.getMap();if(this._reverseGeocodingLocations=[],this._resultsListContainer)for(;this._resultsListContainer.firstChild;)this._resultsListContainer.removeChild(this._resultsListContainer.firstChild);this._resultsFeaturesLayer&&(e.removeLayer(this._resultsFeaturesLayer),this._resultsFeaturesLayer=null),null!=this._popupOverlay&&(e.removeOverlay(this._popupOverlay),this._popupOverlay=null),null!=this._resultsSelectInteraction&&(e.removeInteraction(this._resultsSelectInteraction),this._resultsSelectInteraction=null),null!=this._resultsHoverInteraction&&(e.removeInteraction(this._resultsHoverInteraction),this._resultsHoverInteraction=null)},t.prototype._clearInputFeatures=function(){this._inputFeatures&&this._inputFeatures.clear(),this._requestGeom=null},t.prototype._displayWaitingContainer=function(){this._waitingContainer.className="GProuteCalcWaitingContainerVisible",this._waiting=!0,this._timer&&(clearTimeout(this._timer),this._timer=null);var e=this;this._timer=setTimeout((function(){!0===e._waiting?e._hideWaitingContainer():e._timer&&clearTimeout(e._timer)}),16e3)},t.prototype._hideWaitingContainer=function(){this._waiting&&(this._waitingContainer.className="GProuteCalcWaitingContainerHidden",this._waiting=!1,clearTimeout(this._timer),this._timer=null)},t}(r.default);t.default=S,window.ol&&window.ol.control&&(window.ol.control.ReverseGeocode=S)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Route.js":function(e,t,o){"use strict";o.r(t);o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Route/GProuteOpenLayers.css");var r=o("./node_modules/ol/control/Control.js"),n=o("./node_modules/ol/Observable.js"),i=o("./node_modules/ol/Overlay.js"),s=o("./node_modules/ol/layer/Vector.js"),a=o("./node_modules/ol/source/Vector.js"),l=o("./node_modules/ol/events/condition.js"),u=o("./node_modules/ol/interaction.js"),c=o("./node_modules/ol/style.js"),d=o("./node_modules/ol/proj.js"),p=o("./node_modules/geoportal-access-lib/src/Gp.js"),h=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),f=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),m=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js"),g=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/Markers.js"),y=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/Draggable.js"),v=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/Interactions.js"),_=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/LocationSelector.js"),b=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Export.js"),A=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/LayerSwitcher.js"),C=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Formats/GeoJSON.js"),E=o("./node_modules/geoportal-extensions-openlayers/src/Common/Controls/RouteDOM.js");function S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}var w=h.default.getLogger("route"),O=function(e){function t(o){if(o=o||{},!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");this.initialize(o),this._container=this._createMainContainerElement(),this._containerElement=null,o.element&&o.element.appendChild&&(o.element.appendChild(this._container),this._containerElement=o.element),e.call(this,{element:this._containerElement||this._container,target:o.target,render:o.render})}return e&&(t.__proto__=e),t.prototype=Object.create(e.prototype,{}),f.default.assign(t.prototype,E.default),t.prototype.constructor=t,t.prototype.setMap=function(t){if(t){if(this._container=this._initContainer(t),this.options.export){var o=f.default.assign({control:this},this.options.export);this.export=new b.default(o),this.export.render();var r=this;this.export.on("export:compute",(function(e){r.dispatchEvent({type:"export:compute",content:e.content})}))}this.draggable&&y.default.dragElement(this._panelRouteContainer,this._panelHeaderRouteContainer,t.getTargetElement())}e.prototype.setMap.call(this,t)},t.prototype.getCollapsed=function(){return this.collapsed},t.prototype.setCollapsed=function(e){void 0!==e?e&&this.collapsed||!e&&!this.collapsed||(e?document.getElementById("GProutePanelClose-"+this._uid).click():document.getElementById("GPshowRoute-"+this._uid).click(),this.collapsed=e):w.log("[ERROR] Route:setCollapsed - missing collapsed parameter")},t.prototype.getLayer=function(){return this._geojsonSections},t.prototype.setLayer=function(e){e?e instanceof s.default?(e.setStyle(this._defaultFeatureStyle),this._geojsonSections=e):w.log("no valid layer given for hosting drawn features."):this._geojsonSections=null},t.prototype.getGeoJSON=function(){return JSON.stringify(this._geojsonObject)},t.prototype.setGeoJSON=function(e){try{this._geojsonObject=JSON.parse(e)}catch(e){w.log("no valid geojson given :"+e.message)}},t.prototype.getData=function(){for(var e=[],t=0;t<this._currentPoints.length;t++){var o=this._currentPoints[t];e.push(o.getCoordinate())}var r={type:"route",points:e,transport:this._currentTransport,exclusions:this._currentExclusions,computation:this._currentComputation,results:{}};return f.default.assign(r.results,this._currentRouteInformations),r},t.prototype.setData=function(e){this._currentTransport=e.transport,this._currentComputation=e.computation,this._currentExclusions=e.exclusions;for(var t=0;t<this._currentPoints.length;t++){var o=this._currentPoints[t];if(o.getCoordinate()){o.clearResults();var r=t+1+"-"+this._uid;document.getElementById("GPlocationOriginCoords_"+r).value="",document.getElementById("GPlocationOrigin_"+r).value="",document.getElementById("GPlocationPoint_"+r).style.cssText="",t>0&&t<6&&(document.getElementById("GPlocationPoint_"+r).className="GPflexInput GPlocationStageFlexInputHidden"),document.getElementById("GPlocationOriginPointer_"+r).checked=!1,document.getElementById("GPlocationOrigin_"+r).className="GPlocationOriginVisible",document.getElementById("GPlocationOriginCoords_"+r).className="GPlocationOriginHidden"}}for(var n=0;n<e.points.length;n++){var i=e.points[n];i&&this._currentPoints[n].setCoordinate(i,"EPSG:4326")}this._currentRouteInformations=e.results},t.prototype.getContainer=function(){return this._container},t.prototype.getStyle=function(){return this._defaultFeatureStyle},t.prototype.init=function(){for(var e=0;e<this._currentPoints.length;e++){var t=e+1,o=this._currentPoints[e].getCoordinate();if(o)document.getElementById("GPlocationOrigin_"+t+"-"+this._uid).value=o[1].toFixed(4)+" / "+o[0].toFixed(4),e>0&&e<6&&(document.getElementById("GPlocationPoint_"+t+"-"+this._uid).className="GPflexInput GPlocationStageFlexInput")}var r,n=document.getElementsByClassName("GPlocationPoint-"+this._uid);this._addRouteResultsStagesValuesElement(n),"Pieton"===this._currentTransport?(r=document.getElementById("GProuteTransportPedestrian-"+this._uid))&&(r.checked="true"):(r=document.getElementById("GProuteTransportCar-"+this._uid))&&(r.checked="true");var i=document.getElementById("GProuteComputationSelect-"+this._uid);i&&(i.value=this._currentComputation);var s=document.getElementById("GProuteExclusionsToll-"+this._uid);s&&(-1!==this._currentExclusions.indexOf("toll")?s.checked=!1:s.checked=!0);var a=document.getElementById("GProuteExclusionsTunnel-"+this._uid);a&&(-1!==this._currentExclusions.indexOf("tunnel")?a.checked=!1:a.checked=!0);var l=document.getElementById("GProuteExclusionsBridge-"+this._uid);l&&(-1!==this._currentExclusions.indexOf("bridge")?l.checked=!1:l.checked=!0);var u=this._currentRouteInformations.totalDistance,c=this._currentRouteInformations.totalTime,d=this._simplifiedInstructions(this._currentRouteInformations.routeInstructions);d&&this._fillRouteResultsDetailsContainer(u,c,d),this._formRouteContainer.className="GProuteComponentHidden",this._hideWaitingContainer(),this._resultsRouteContainer.className=""},t.prototype.clean=function(){this._currentTransport=null,this._currentExclusions=[],this._currentComputation=null;for(var e=0;e<this._currentPoints.length;e++)this._currentPoints[e].clear();this._removeRouteStepLocations(),this._clearRouteInputOptions(),this._clearRouteResultsDetails(),this.setLayer(),this._formRouteContainer.className="",this._resultsRouteContainer.className="GProuteComponentHidden"},t.prototype.initialize=function(e){this._checkInputOptions(e),this.options={collapsed:!0,draggable:!1,export:!1,graphs:["Voiture","Pieton"],exclusions:{toll:!1,tunnel:!1,bridge:!1},routeOptions:{},autocompleteOptions:{},layerDescription:{title:"Itinéraire",description:"Itinéraire basé sur un graphe"}},f.default.assign(this.options,e);var t={departure:{url:g.default.red,offset:g.default.defaultOffset},stages:{url:g.default.lightOrange,offset:g.default.defaultOffset},arrival:{url:g.default.darkOrange,offset:g.default.defaultOffset}};this.options.markersOpts=f.default.assign(t,e.markersOpts),this.collapsed=this.options.collapsed,this.draggable=this.options.draggable,this._uid=m.default.generate(),this._panelRouteContainer=null,this._panelHeaderRouteContainer=null,this._waitingContainer=null,this._formRouteContainer=null,this._resultsRouteContainer=null,this._showRouteExclusionsElement=null,this._currentPoints=[],this._currentTransport=null,this._initTransport(),this._currentComputation=null,this._initComputation(),this._currentExclusions=[],this._initExclusions(),this._waiting=!1,this._timer=null,this._geojsonRoute=null,this._geojsonSections=null,this._geojsonObject=null,this.export=null,this._popupContent=null,this._popupDiv=this._initPopupDiv(),this._popupOverlay=null,this._resultsSelectInteraction=null,this._resultsHoverInteraction=null,this._defaultFeatureStyle=new c.Style({stroke:new c.Stroke({color:"rgba(0,183,152,0.9)",width:12})}),this._selectedFeatureStyle=new c.Style({stroke:new c.Stroke({color:"rgba(255,102,0,0.9)",width:12})}),this._currentRouteInformations=null,this._resources={},this.listenerKey=null},t.prototype._checkInputOptions=function(e){if(e.graphs)if(Array.isArray(e.graphs)&&e.graphs.length)for(var t=0;t<e.graphs.length;t++)"string"==typeof e.graphs[t]?("pieton"===e.graphs[t].toLowerCase()&&(e.graphs[t]="Pieton"),"voiture"===e.graphs[t].toLowerCase()&&(e.graphs[t]="Voiture")):(w.log("[ol.control.Route] ERROR : parameter 'graphs' elements should be of type 'string'"),e.graphs[t]=null);else w.warn("'graphs' parameter should be an array"),e.graphs=null;"true"===e.collapsed&&(e.collapsed=!0),"false"===e.collapsed&&(e.collapsed=!1)},t.prototype._initContainer=function(e){var t=this,o=this._container,r=this._showRouteContainer=this._createShowRouteElement();o.appendChild(r),this.collapsed||(r.checked=!0);var n=this._createShowRoutePictoElement();o.appendChild(n);var i=this._panelRouteContainer=this._createRoutePanelElement(),s=this._panelHeaderRouteContainer=this._createRoutePanelHeaderElement();i.appendChild(s);for(var a=this._formRouteContainer=this._createRoutePanelFormElement(),l=this._createRoutePanelFormPointsElement(e),u=0;u<l.length;u++)a.appendChild(l[u]);var c=this._createRoutePanelFormModeChoiceElement();c.appendChild(this._createRoutePanelFormModeChoiceTransportElement(this.options.graphs)),c.appendChild(this._createRoutePanelFormModeChoiceComputeElement()),a.appendChild(c),a.appendChild(this._createShowRouteExclusionsElement()),this._showRouteExclusionsElement=this._createShowRouteExclusionsPictoElement(),a.appendChild(this._showRouteExclusionsElement);var d=this._createRoutePanelFormExclusionsElement();d.appendChild(this._createRoutePanelFormExclusionOptionsElement(this.options.exclusions)),a.appendChild(d);var p=this._createRouteFormResetElement();a.appendChild(p);var h=this._createRouteSubmitFormElement();a.appendChild(h),i.appendChild(a);var f=this._resultsRouteContainer=this._createRoutePanelResultsElement();i.appendChild(f);var m=this._waitingContainer=this._createRouteWaitingElement();return i.appendChild(m),o.appendChild(i),o.addEventListener&&o.addEventListener("click",(function(e){return t._hideRouteSuggestedLocations(e)})),o},t.prototype._initTransport=function(){this._currentTransport="Voiture";var e=this.options.graphs;e&&0!==e.length||(this.options.graphs=["Voiture","Pieton"]),Array.isArray(e)&&e.length&&("Voiture"!==e[0]&&"Pieton"!==e[0]||(this._currentTransport=e[0]));var t=this.options.routeOptions;t.graph&&(this._currentTransport=t.graph)},t.prototype._initComputation=function(){this._currentComputation="fastest";var e=this.options.routeOptions;e.routePreference&&(this._currentComputation=e.routePreference)},t.prototype._initExclusions=function(){this._currentExclusions=[];var e=this.options.exclusions;if((!e||"object"===S(e)&&0===Object.keys(e).length)&&(this.options.exclusions={toll:!1,tunnel:!1,bridge:!1}),e&&"object"===S(e)&&Object.keys(e).length)for(var t in e)e.hasOwnProperty(t)&&e[t]&&this._currentExclusions.push(t);var o=this.options.routeOptions;Array.isArray(o.exclusions)&&(this._currentExclusions=o.exclusions)},t.prototype._initPopupDiv=function(){var e=this,t=document.createElement("div");t.className="gp-feature-info-div";var o=document.createElement("input");return o.type="button",o.className="gp-styling-button closer",o.onclick=function(){return null!=e._popupOverlay&&e._popupOverlay.setPosition(void 0),!1},this._popupContent=document.createElement("div"),this._popupContent.className="gp-features-content-div",t.appendChild(this._popupContent),t.appendChild(o),t},t.prototype._createRoutePanelFormPointsElement=function(e){var t=[],o=1,r=new _.default({apiKey:this.options.apiKey||null,tag:{id:o,groupId:this._uid,markerOpts:this.options.markersOpts.departure,label:"Départ",display:!0},autocompleteOptions:this.options.autocompleteOptions||null});for(r.setMap(e),this._addFormPointsEventListeners(r),t.push(r._container),this._currentPoints.push(r),o=2;o<7;o++){var n=new _.default({apiKey:this.options.apiKey||null,tag:{id:o,groupId:this._uid,label:"Etape",markerOpts:this.options.markersOpts.stages,display:!1,removeOption:!0},autocompleteOptions:this.options.autocompleteOptions||null});n.setMap(e),this._addFormPointsEventListeners(n),t.push(n._container),this._currentPoints.push(n)}var i=new _.default({apiKey:this.options.apiKey||null,tag:{id:o,groupId:this._uid,markerOpts:this.options.markersOpts.arrival,label:"Arrivée",display:!0,addOption:!0},autocompleteOptions:this.options.autocompleteOptions||null});return i.setMap(e),this._addFormPointsEventListeners(i),t.push(i._container),this._currentPoints.push(i),t},t.prototype._addFormPointsEventListeners=function(e){var t=this;e&&(e._inputLabelContainer.addEventListener?(e._inputLabelContainer.addEventListener("click",(function(e){return t.onRouteOriginLabelClick(e)})),e._inputShowPointer.addEventListener("click",(function(o){return t.onRouteOriginPointerClick(o,e)})),e._removePointElement&&e._removePointElement.addEventListener("click",(function(e){w.trace("click on _removePointElement",e)})),e._addPointElement&&e._addPointElement.addEventListener("click",(function(e){w.trace("click on _addPointElement",e)}))):e._inputLabelContainer.attachEvent&&(e._inputLabelContainer.attachEvent("onclick",(function(e){return t.onRouteOriginLabelClick(e)})),e._inputShowPointer.attachEvent("onclick",(function(o){return t.onRouteOriginPointerClick(o,e)})),e._removePointElement&&e._removePointElement.attachEvent("onclick",(function(e){})),e._addPointElement&&e._addPointElement.attachEvent("onclick",(function(e){}))))},t.prototype.onRouteComputationSubmit=function(e){w.log("onRouteComputationSubmit",e);var t,o,r=this._currentPoints;if(r[0]&&r[0].getCoordinate){var n=r[0].getCoordinate();t={x:n[0],y:n[1]},w.log("start",t)}var i=r[r.length-1];if(i&&i.getCoordinate){var s=i.getCoordinate();o={x:s[0],y:s[1]},w.log("end",o)}for(var a=[],l=1;l<r.length-1;l++)if(r[l]&&r[l].getCoordinate){var u=r[l].getCoordinate();if(u){var c={x:u[0],y:u[1]};w.log("step",c),a.push(c)}}this._currentTransport=e.transport,this._currentComputation=e.computation,this._currentExclusions=e.exclusions;var d,p=this.options.routeOptions;p.resource?d=p.resource:"fastest"===this._currentComputation&&"Pieton"===this._currentTransport&&(d="bdtopo-valhalla");var h=p.protocol||"XHR",f=p.timeOut||0;"JSONP"===h&&0===f&&(f=15e3);var m=!(null===p.onFailure||"function"!=typeof p.onFailure),g=!(null===p.onSuccess||"function"!=typeof p.onSuccess),y=this;this._requestRouting({startPoint:t,endPoint:o,viaPoints:a,graph:p.graph||this._currentTransport,routePreference:p.routePreference||this._currentComputation,exclusions:p.exclusions||this._currentExclusions,geometryInInstructions:!0,distanceUnit:"m",timeOut:f,protocol:h,resource:d,onSuccess:function(e){w.log(e),e&&y._fillRouteResultsDetails(e),g&&p.onSuccess.call(y,e)},onFailure:function(e){y._hideWaitingContainer(),y._clearRouteResultsDetails(),w.log(e.message),m&&p.onFailure.call(y,e)}})},t.prototype.onRouteOriginLabelClick=function(){this._formRouteContainer.className="",Object(n.unByKey)(this.listenerKey),this.dispatchEvent("route:drawend")},t.prototype.onRouteOriginPointerClick=function(e,t){var o=this,r=this.getMap();t._inputShowPointerContainer.checked?(this._formRouteContainer.className="GProuteFormMini",this.listenerKey=r.on("click",(function(){"GProuteFormMini"===o._formRouteContainer.className&&(o._formRouteContainer.className=""),Object(n.unByKey)(o.listenerKey),o.dispatchEvent("route:drawend")})),this.dispatchEvent("route:drawstart")):(this._formRouteContainer.className="",Object(n.unByKey)(this.listenerKey),this.dispatchEvent("route:drawend"))},t.prototype.onShowRoutePanelClick=function(e){var t=this.getMap();v.default.unset(t),this._geojsonSections||this._waiting||this._clear(),this.collapsed=document.getElementById("GPshowRoute-"+this._uid).checked,this.dispatchEvent("change:collapsed")},t.prototype.onRouteModeComputationChange=function(e){var t=e.target.selectedIndex,o=e.target.options[t].value;o&&(w.log(o),this._currentComputation=o)},t.prototype.onRouteModeComputationChangeAndRun=function(e){this.onRouteModeComputationChange(e),this._clearRouteResultsDetails(),this._clearRouteResultsGeometry(),this._clearRouteResultsFeatureGeometry(),this.onRouteComputationSubmit({computation:this._currentComputation,transport:this._currentTransport,exclusions:this._currentExclusions})},t.prototype.onRouteModeTransportChange=function(e){var t=e.target.value;t&&(this._currentTransport=t)},t.prototype.onShowRouteExclusionsClick=function(e){w.log("onShowRouteExclusionsClick",e)},t.prototype.onRouteExclusionsChange=function(e){var t=e.target.value,o=e.target.checked;if(t&&"string"==typeof t){t=t.toLowerCase();for(var r=!1,n=null,i=0;i<this._currentExclusions.length;i++)this._currentExclusions[i]===t&&(n=i,r=!0);r||o||this._currentExclusions.push(t),r&&o&&this._currentExclusions.splice(n,1)}},t.prototype.onRouteResetClick=function(){for(var e=this._currentPoints,t=0;t<e.length;t++)e[t].clear();this._clear(),this._clearRouteInputOptions()},t.prototype.onShowRouteResultsNewClick=function(){this._clearRouteResultsDetails(),this._clearRouteResultsGeometry(),this._clearRouteResultsFeatureGeometry()},t.prototype.onRouteResultsDetailsMouseOver=function(e){var t=e.target.id,o=t.substring(t.indexOf("_")+1);(e.target.classList&&e.target.classList.add("GProuteResultsDetailsInstructionHighlight"),this._geojsonSections)&&this._geojsonSections.getSource().getFeatureById(parseInt(o,10)).setStyle(this._selectedFeatureStyle)},t.prototype.onRouteResultsDetailsMouseOut=function(e){var t=e.target.id,o=t.substring(t.indexOf("_")+1);(e.target.classList&&e.target.classList.remove("GProuteResultsDetailsInstructionHighlight"),this._geojsonSections)&&this._geojsonSections.getSource().getFeatureById(parseInt(o,10)).setStyle(null)},t.prototype._requestRouting=function(e){!e||"object"===S(e)&&0===Object.keys(e).length||e.startPoint&&e.endPoint&&(e.apiKey=this.options.routeOptions.apiKey||this.options.apiKey,"boolean"!=typeof e.ssl&&("boolean"==typeof this.options.ssl?e.ssl=this.options.ssl:e.ssl=!0),w.log(e),this._displayWaitingContainer(),p.default.Services.route(e))},t.prototype._fillRouteResultsDetails=function(e){var t=e.totalDistance,o=e.totalTime,r=this._simplifiedInstructions(e.routeInstructions);r&&this._fillRouteResultsDetailsContainer(t,o,r);var n=e.routeGeometry;n&&this._fillRouteResultsDetailsGeometry(n,this._defaultFeatureStyle),r&&r[0].geometry&&this._fillRouteResultsDetailsFeatureGeometry(r,this._defaultFeatureStyle);var i=e.bbox;if(i){var s=this.getMap(),a=[i.left,i.bottom,i.right,i.top],l=s.getView().getProjection().getCode();"EPSG:4326"!==l&&(a=Object(d.transformExtent)(a,"EPSG:4326",l)),s.getView().fit(a,s.getSize())}this._currentRouteInformations=e,this.dispatchEvent({type:"route:compute"}),this._formRouteContainer.className="GProuteComponentHidden",this._hideWaitingContainer(),this._resultsRouteContainer.className=""},t.prototype._fillRouteResultsDetailsContainer=function(e,t,o){this._resultsRouteValuesContainer=this._addRouteResultsValuesElement(e,t,this._convertSecondsToTime),this._resultsRouteDetailsContainer=this._addRouteResultsDetailsElement(o,this._convertSecondsToTime)},t.prototype._fillRouteResultsDetailsGeometry=function(e,t){this._clearRouteResultsGeometry();var o=this.getMap();if(e){var r={type:"FeatureCollection",features:[{type:"Feature",crs:{type:"name",properties:{name:"EPSG:4326"}},geometry:e}]},n=new C.default({defaultDataProjection:"EPSG:4326",defaultStyle:t}).readFeatures(r,{dataProjection:"EPSG:4326",featureProjection:"EPSG:3857"});this._geojsonRoute=new s.default({source:new a.default({features:n}),style:t}),o.addLayer(this._geojsonRoute)}},t.prototype._fillRouteResultsDetailsFeatureGeometry=function(e,t){var o=this;this._clearRouteResultsFeatureGeometry();var r=this.getMap();this._geojsonObject={type:"FeatureCollection",crs:{type:"name",properties:{name:"EPSG:4326"}},features:[]};for(var n=0;n<e.length;n++){for(var i=e[n],c=n+1,d=i.geometry.coordinates,p=0;p<d.length;p++)"string"==typeof d[p][0]&&(d[p][0]=parseFloat(d[p][0]),d[p][1]=parseFloat(d[p][1]));this._geojsonObject.features.push({type:"Feature",geometry:i.geometry,properties:{popupContent:"("+c+") distance : "+this._convertDistance(i.distance)+" / temps : "+this._convertSecondsToTime(i.duration)},id:c})}this._geojsonObject.features.push({type:"Feature",geometry:{type:"Point",coordinates:this._currentPoints[0].getCoordinate()},properties:{description:"Point de départ","marker-symbol":this.options.markersOpts.departure.url}});for(var h=1;h<this._currentPoints.length-1;h++)if(this._currentPoints[h]&&this._currentPoints[h].getCoordinate){var f=this._currentPoints[h].getCoordinate();f&&this._geojsonObject.features.push({type:"Feature",geometry:{type:"Point",coordinates:f},properties:{description:"Point d'étape","marker-symbol":this.options.markersOpts.stages.url}})}this._geojsonObject.features.push({type:"Feature",geometry:{type:"Point",coordinates:this._currentPoints[this._currentPoints.length-1].getCoordinate()},properties:{description:"Point d'arrivée","marker-symbol":this.options.markersOpts.arrival.url}});var m,g=new C.default({defaultDataProjection:"EPSG:4326",defaultStyle:t}),y=this.getMap().getView().getProjection().getCode(),v=g.readFeatures(this._geojsonObject,{dataProjection:"EPSG:4326",featureProjection:y});this._geojsonSections=new s.default({source:new a.default({features:v}),style:t,opacity:.9}),"Pieton"===this._currentTransport?(m="piéton",this._geojsonSections.gpResultLayerId="Pieton$OGC:OPENLS;Itineraire"):(m="voiture",this._geojsonSections.gpResultLayerId="Voiture$OGC:OPENLS;Itineraire"),r.addLayer(this._geojsonSections),r.getControls().forEach((function(e){if(e instanceof A.default){var t=o._geojsonSections.gpLayerId;e._layers[t].title===t&&e.addLayer(o._geojsonSections,{title:o.options.layerDescription.title+" ("+m+")",description:o.options.layerDescription.description})}}),this),this._resultsHoverInteraction=new u.Select({condition:l.pointerMove,layers:[this._geojsonSections],style:this._selectedFeatureStyle}),this._resultsHoverInteraction.on("select",(function(e){return o._onResultsFeatureMouseOver(e)})),r.addInteraction(this._resultsHoverInteraction),this._resultsSelectInteraction=new u.Select({layers:[this._geojsonSections],style:this._selectedFeatureStyle}),this._resultsSelectInteraction.on("select",(function(e){return o._onResultsFeatureSelect(e)})),r.addInteraction(this._resultsSelectInteraction)},t.prototype._onResultsFeatureMouseOver=function(e){if(0!==e.selected.length){var t=e.selected[0],o=document.getElementById("GProuteResultsDetailsInstruction_"+t.getId()+"-"+this._uid);o&&o.classList&&o.classList.add("GProuteResultsDetailsInstructionHighlight")}if(0!==e.deselected.length){var r=e.deselected[0],n=document.getElementById("GProuteResultsDetailsInstruction_"+r.getId()+"-"+this._uid);n&&n.classList&&n.classList.remove("GProuteResultsDetailsInstructionHighlight")}},t.prototype._onResultsFeatureSelect=function(e){var t=this.getMap();if(0!==e.selected.length){var o=e.selected[0];this._popupContent.innerHTML=o.getProperties().popupContent,this._popupOverlay?this._popupOverlay.setPosition(e.mapBrowserEvent.coordinate):(this._popupOverlay=new i.default({element:this._popupDiv,positioning:"bottom-center",position:e.mapBrowserEvent.coordinate}),t.addOverlay(this._popupOverlay))}else null!=this._popupOverlay&&this._popupOverlay.setPosition(void 0)},t.prototype._clear=function(){this._currentTransport=null,this._currentExclusions=[],this._currentComputation=null,this._clearRouteResultsDetails(),this._clearRouteResultsGeometry(),this._clearRouteResultsFeatureGeometry();for(var e=0;e<this._currentPoints.length;e++)this._currentPoints[e].clear();this._removeRouteStepLocations()},t.prototype._clearRouteInputOptions=function(){var e;this._initTransport(),this._initComputation(),this._initExclusions(),"Pieton"===this._currentTransport?(e=document.getElementById("GProuteTransportPedestrian-"+this._uid))&&(e.checked="true"):(e=document.getElementById("GProuteTransportCar-"+this._uid))&&(e.checked="true");var t=document.getElementById("GProuteComputationSelect-"+this._uid);t&&(t.value=this._currentComputation);var o=document.getElementById("GProuteExclusionsToll-"+this._uid);o&&(-1!==this._currentExclusions.indexOf("toll")?o.checked=!1:o.checked=!0);var r=document.getElementById("GProuteExclusionsTunnel-"+this._uid);r&&(-1!==this._currentExclusions.indexOf("tunnel")?r.checked=!1:r.checked=!0);var n=document.getElementById("GProuteExclusionsBridge-"+this._uid);n&&(-1!==this._currentExclusions.indexOf("bridge")?n.checked=!1:n.checked=!0)},t.prototype._removeRouteStepLocations=function(){var e=document.querySelectorAll('div[id^="GPlocationPoint"]');if(0!==e.length){for(var t=[],o=0;o<e.length;o++)-1!==e[o].id.indexOf(this._uid)&&t.push(e[o]);for(var r=1;r<t.length-1;r++){var n=t[r].classList;if(0!==n.length)for(var i=0;i<n.length;i++)"GPlocationStageFlexInput"===n[i]&&document.getElementById(this._addUID("GPlocationStageRemove_"+(r+1))).click()}}},t.prototype._clearRouteResultsDetails=function(){if(this._currentRouteInformations=null,this._resultsRouteDetailsContainer){var e=this._resultsRouteDetailsContainer;if(e.childElementCount)for(;e.firstChild;)e.removeChild(e.firstChild)}if(this._resultsRouteValuesContainer){var t=this._resultsRouteValuesContainer;if(t.childElementCount)for(;t.firstChild;)t.removeChild(t.firstChild)}},t.prototype._clearRouteResultsGeometry=function(){var e=this.getMap();null!=this._geojsonRoute&&(e.removeLayer(this._geojsonRoute),this._geojsonRoute=null)},t.prototype._clearRouteResultsFeatureGeometry=function(){var e=this.getMap();null!=this._geojsonSections&&(e.removeLayer(this._geojsonSections),this._geojsonSections=null,this._geojsonObject=null),null!=this._popupOverlay&&(e.removeOverlay(this._popupOverlay),this._popupOverlay=null),null!=this._resultsSelectInteraction&&(e.removeInteraction(this._resultsSelectInteraction),this._resultsSelectInteraction=null),null!=this._resultsHoverInteraction&&(e.removeInteraction(this._resultsHoverInteraction),this._resultsHoverInteraction=null)},t.prototype._hideRouteSuggestedLocations=function(e){if(e.target&&e.target.id&&-1!==e.target.id.indexOf("GPlocationOrigin_"))for(var t=parseInt(e.target.id.split("_")[1][0],10)-1,o=0;o<this._currentPoints.length;o++)o!==parseInt(t,10)&&this._currentPoints[o]._hideSuggestedLocation();else for(var r=0;r<this._currentPoints.length;r++)this._currentPoints[r]._hideSuggestedLocation()},t.prototype._displayWaitingContainer=function(){this._waitingContainer.className="GProuteCalcWaitingContainerVisible",this._waiting=!0;var e=this.options.routeOptions;if(e&&e.timeOut){this._timer&&(clearTimeout(this._timer),this._timer=null);var t=this;this._timer=setTimeout((function(){!0===t._waiting?t._hideWaitingContainer():t._timer&&clearTimeout(t._timer)}),16e3)}},t.prototype._hideWaitingContainer=function(){if(this._waiting){this._waitingContainer.className="GProuteCalcWaitingContainerHidden",this._waiting=!1;var e=this.options.routeOptions;e&&e.timeOut&&(clearTimeout(this._timer),this._timer=null)}},t.prototype._simplifiedInstructions=function(e){var t=[],o=e[0];1===e.length&&t.push(o);for(var r=1;r<e.length;r++){var n=e[r];if(n.instruction===o.instruction){o.distance=(parseFloat(n.distance)+parseFloat(o.distance)).toString(),o.duration=(parseFloat(n.duration)+parseFloat(o.duration)).toString();for(var i=1;i<n.geometry.coordinates.length;i++)o.geometry.coordinates.push(n.geometry.coordinates[i])}else t.push(o),o=n,r===e.length-1&&(t.push(n),o=null)}return w.log(t),t},t.prototype._convertSecondsToTime=function(e){var t="";e=Math.round(e);var o=Math.floor(e/3600),r=e%3600;return o&&(t=o+"h "),t+=Math.floor(r/60)+" min"},t.prototype._convertDistance=function(e){var t=parseInt(e/1e3,10);return t?t+" km":parseInt(e,10)+" m"},t}(r.default);t.default=O,window.ol&&window.ol.control&&(window.ol.control.Route=O)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/SearchEngine.js":function(e,t,o){"use strict";o.r(t);o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/SearchEngine/GPsearchEngineOpenLayers.css");var r=o("./node_modules/ol/control/Control.js"),n=o("./node_modules/ol/Overlay.js"),i=o("./node_modules/ol/proj.js"),s=o("./node_modules/geoportal-access-lib/src/Gp.js"),a=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),l=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),u=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/Markers.js"),c=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/Interactions.js"),d=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SelectorID.js"),p=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/SearchEngineUtils.js"),h=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/GeocodeUtils.js"),f=o("./node_modules/geoportal-extensions-openlayers/src/Common/Controls/SearchEngineDOM.js");function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}var g=a.default.getLogger("searchengine"),y=function(e){function t(o){if(o=o||{},!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");this.initialize(o),this._container=this._initContainer(),this._containerElement=null,o.element&&o.element.appendChild&&(o.element.appendChild(this._container),this._containerElement=o.element),e.call(this,{element:this._containerElement||this._container,target:o.target,render:o.render})}return e&&(t.__proto__=e),t.prototype=Object.create(e.prototype,{}),l.default.assign(t.prototype,f.default),t.prototype.constructor=t,t.prototype.setMap=function(t){t||this._clearResults(),e.prototype.setMap.call(this,t)},t.prototype.getCollapsed=function(){return this.collapsed},t.prototype.setCollapsed=function(e){void 0!==e?e&&this.collapsed||!e&&!this.collapsed||(this._showSearchEngineInput.click(),this.collapsed=e):g.log("[ERROR] SearchEngine:setCollapsed - missing collapsed parameter")},t.prototype.getData=function(){return this._geocodedLocations},t.prototype.initialize=function(e){this._checkInputOptions(e),this.options={collapsed:!0,zoomTo:"",resources:{geocode:[],autocomplete:[]},displayAdvancedSearch:!0,advancedSearch:{},geocodeOptions:{serviceOptions:{}},autocompleteOptions:{serviceOptions:{},triggerGeocode:!1,triggerDelay:1e3},displayMarker:!0,markerStyle:"lightOrange",placeholder:"Rechercher un lieu, une adresse"},l.default.mergeParams(this.options,e),""===this.options.resources.geocode&&(this.options.resources.geocode=["PositionOfInterest","StreetAddress"]),0===this.options.resources.autocomplete.length&&(this.options.resources.autocomplete=["PositionOfInterest","StreetAddress"]),this.collapsed=this.options.collapsed,this._uid=d.default.generate(),this._showSearchEngineInput=null,this._inputSearchContainer=null,this._autocompleteContainer=null,this._suggestedContainer=null,this._suggestedLocations=[],this._geocodedContainer=null,this._geocodedLocations=[],this._filterContainer=null,this._currentGeocodingCode=null,this._currentGeocodingLocation=null,this._advancedSearchFilters={},this._initAdvancedSearchFilters(),this._advancedSearchCodes=[],this._initAdvancedSearchCodes(),this._marker=null;var t=this.options.markerStyle;this._markerUrl=-1===Object.keys(u.default).indexOf(t)?u.default.lightOrange:u.default[t],this._displayMarker=this.options.displayMarker,this._popupContent=null,this._popupDiv=this._initPopupDiv(),this._popupOverlay=null,this._triggerHandler=null},t.prototype._checkInputOptions=function(e){var t;if(e.resources)if("object"===m(e.resources)){var o=e.resources.geocode;if(o)if(Array.isArray(o)){var r=["StreetAddress","PositionOfInterest","CadastralParcel","Administratif"];for(t=0;t<o.length;t++)-1===r.indexOf(o[t])&&g.log("[SearchEngine] options.resources.geocode : "+o[t]+" is not a resource for geocode")}else g.log("[SearchEngine] 'options.resources.geocode' parameter should be an array"),o=null;var n=e.resources.autocomplete;if(n)if(Array.isArray(n)){var i=["StreetAddress","PositionOfInterest"];for(t=0;t<n.length;t++)-1===i.indexOf(n[t])&&g.log("[SearchEngine] options.resources.autocomplete : "+n[t]+" is not a resource for autocomplete")}else g.log("[SearchEngine] 'options.resources.autocomplete' parameter should be an array"),n=null}else g.log("[SearchEngine] 'resources' parameter should be an object"),e.resources=null},t.prototype._initAdvancedSearchCodes=function(){var e=this.options.resources.geocode;"location"===e&&(e=["PositionOfInterest","StreetAddress","CadastralParcel"]),Array.isArray(e)||(e=[e]);for(var t=0;t<e.length;t++)switch(e[t]){case"PositionOfInterest":this._advancedSearchCodes.push({id:"PositionOfInterest",title:"Lieux/toponymes"});break;case"StreetAddress":this._advancedSearchCodes.push({id:"StreetAddress",title:"Adresses"});break;case"CadastralParcel":this._advancedSearchCodes.push({id:"CadastralParcel",title:"Parcelles cadastrales"})}0===this._advancedSearchCodes.length&&(this._advancedSearchCodes=[{id:"StreetAddress",title:"Adresses"},{id:"PositionOfInterest",title:"Lieux/toponymes"},{id:"CadastralParcel",title:"Cadastre"}]),g.log("advancedSearchCodes",this._advancedSearchCodes)},t.prototype._initAdvancedSearchFilters=function(){this._advancedSearchFilters=p.default.advancedSearchFiltersByDefault;var e=this.options.advancedSearch;l.default.assign(this._advancedSearchFilters,e),g.log("advancedSearchFilters",this._advancedSearchFilters)},t.prototype._initPopupDiv=function(){var e=this,t=document.createElement("div");t.className="gp-feature-info-div";var o=document.createElement("input");return o.type="button",o.className="gp-styling-button closer",o.onclick=function(){return null!=e._popupOverlay&&e._popupOverlay.setPosition(void 0),!1},this._popupContent=document.createElement("div"),this._popupContent.className="gp-features-content-div",this._popupContent.style["min-width"]="200px",t.appendChild(this._popupContent),t.appendChild(o),t},t.prototype._initContainer=function(){var e=this._createMainContainerElement(),t=this._showSearchEngineInput=this._createShowSearchEngineElement();e.appendChild(t),this.options.collapsed||(t.checked=!0);var o=this._createShowSearchEnginePictoElement();e.appendChild(o);var r=this._inputSearchContainer=this._createSearchInputElement(this.options.placeholder),n=this;if(r.addEventListener?r.addEventListener("click",(function(){n.onAutoCompleteInputClick()})):r.attachEvent&&r.attachEvent("onclick",(function(){n.onAutoCompleteInputClick()})),e.appendChild(r),this.options.displayAdvancedSearch){var i=this._createShowAdvancedSearchElement();e.appendChild(i);var s=this._createAdvancedSearchPanelElement(),a=this._createAdvancedSearchPanelHeaderElement(),l=this._createAdvancedSearchPanelFormElement(this._advancedSearchCodes),u=this._filterContainer=this._createAdvancedSearchFormFiltersElement();this._setFilter(this._advancedSearchCodes[0].id);var c=this._createAdvancedSearchFormInputElement();l.appendChild(u),l.appendChild(c),s.appendChild(a),s.appendChild(l),e.appendChild(s)}var d=this._autocompleteContainer=this._createAutoCompleteElement(),p=this._suggestedContainer=this._createAutoCompleteListElement();d.appendChild(p),e.appendChild(d);var h=this._createGeocodeResultsElement(),f=this._geocodedContainer=this._createGeocodeResultsListElement();return h.appendChild(f),e.appendChild(h),e},t.prototype._setFilter=function(e){for(var t=this._filterContainer,o=!1,r=0;r<this._advancedSearchCodes.length;r++)if(this._advancedSearchCodes[r].id===e){o=!0;break}if(o){for(this._currentGeocodingCode=e;t.firstChild;)t.removeChild(t.firstChild);var n=this._advancedSearchFilters[e];if(n&&0!==n.length){for(var i=this._createAdvancedSearchFiltersTableElement(e,!0),s=0;s<n.length;s++){var a=this._createAdvancedSearchFiltersAttributElement(n[s]);i.appendChild(a)}return t.appendChild(i),t}}else for(;t.firstChild;)t.removeChild(t.firstChild)},t.prototype._requestAutoComplete=function(e){if(e&&("object"!==m(e)||0!==Object.keys(e).length)&&e.text){g.log(e);var t={};l.default.assign(t,this.options.autocompleteOptions.serviceOptions),l.default.assign(t,e);var o=this.options.resources.autocomplete;o&&Array.isArray(o)&&(t.type||(t.type=o)),t.apiKey=t.apiKey||this.options.apiKey,"boolean"!=typeof t.ssl&&("boolean"==typeof this.options.ssl?t.ssl=this.options.ssl:t.ssl=!0),g.log(t),s.default.Services.autoComplete(t)}},t.prototype._fillAutoCompletedLocationListContainer=function(e){if(e&&0!==e.length){var t=this._suggestedContainer;if(t.childElementCount)for(;t.firstChild;)t.removeChild(t.firstChild);this._displaySuggestedLocation();for(var o=0;o<e.length;o++)this._createAutoCompletedLocationElement(e[o],o)}},t.prototype._requestGeocoding=function(e){if(e&&("object"!==m(e)||0!==Object.keys(e).length)&&null!==e.query){g.log(e);var t={};l.default.assign(t,this.options.geocodeOptions.serviceOptions),l.default.assign(t,e);var o=this,r=!(null===this.options.geocodeOptions.serviceOptions.onFailure||"function"!=typeof this.options.geocodeOptions.serviceOptions.onFailure);if(!(null===this.options.geocodeOptions.serviceOptions.onSuccess||"function"!=typeof this.options.geocodeOptions.serviceOptions.onSuccess)){t.onSuccess=function(t){e.onSuccess.call(o,t),o.options.geocodeOptions.serviceOptions.onSuccess.call(o,t)}}if(r){t.onFailure=function(t){e.onFailure.call(o,t),o.options.geocodeOptions.serviceOptions.onFailure.call(o,t)}}var n=this.options.resources.geocode;n&&(t.index||(t.index=n)),t.apiKey=t.apiKey||this.options.apiKey,"boolean"!=typeof t.ssl&&("boolean"==typeof this.options.ssl?t.ssl=this.options.ssl:t.ssl=!0),g.log(t),s.default.Services.geocode(t)}},t.prototype._fillGeocodedLocationListContainer=function(e){if(e&&0!==e.length){var t=this._geocodedContainer;if(t.childElementCount)for(;t.firstChild;)t.removeChild(t.firstChild);for(var o=0;o<e.length;o++)g.log(e[o]),this._createGeocodedLocationElement(e[o],o);this._geocodedLocations=e}else this._clearGeocodedLocation()},t.prototype._setLabel=function(e){document.getElementById("GPsearchInputText-"+this._uid).value=e},t.prototype._setPosition=function(e,t){var o=this.getMap().getView();o.setCenter(e),o.setZoom(t)},t.prototype._setMarker=function(e,t){var o=this.getMap(),r=this;if(null!=this._marker&&(o.removeOverlay(this._marker),this._marker=null),e){var i=document.createElement("img");i.src=this._markerUrl,i.addEventListener?i.addEventListener("click",(function(){r._onResultMarkerSelect(t)})):i.attachEvent&&i.attachEvent("onclick",(function(){r._onResultMarkerSelect(t)})),this._marker=new n.default({position:e,offset:[-25.5,-38],element:i,stopEvent:!1}),o.addOverlay(this._marker)}},t.prototype._getZoom=function(e){var t=this.getMap(),o=this.options.zoomTo,r=null;if("function"==typeof o&&(g.trace("zoom function"),r=o.call(this,e)),"number"==typeof o&&(g.trace("zoom level"),r=o),"string"==typeof o)if("auto"===o)g.trace("zoom auto"),r=p.default.zoomToResultsByDefault(e);else{g.trace("zoom level parsing");var n=parseInt(o,10);isNaN(n)||(g.trace("zoom parsing"),r=n)}Number.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},r&&""!==r&&Number.isInteger(r)||(g.trace("zoom not found, current zoom..."),r=t.getView().getZoom());var i=t.minZoom,s=t.maxZoom;return r<i&&(g.trace("zoom level min..."),r=i),r>s&&(g.trace("zoom level max..."),r=s),g.trace("zoom",r),r},t.prototype._onResultMarkerSelect=function(e){var t=this.getMap(),o="";if("string"!=typeof e)if("GeocodedLocation"===e.service){o="<ul>";var r=e.location.placeAttributes;for(var i in r)r.hasOwnProperty(i)&&"trueGeometry"!==i&&"extraFields"!==i&&"houseNumberInfos"!==i&&"_count"!==i&&(o+="<li>",o+='<span class="gp-attname-others-span">'+i.toUpperCase()+" : </span>",o+=r[i],o+=" </li>");o+=" </ul>"}else o="SuggestedLocation"===e.service?h.default.getSuggestedLocationFreeform(e.location):"sans informations.";else o=e;this._popupContent.innerHTML=o,this._popupOverlay?this._popupOverlay.setPosition(this._marker.getPosition()):(this._popupOverlay=new n.default({element:this._popupDiv,positioning:"bottom-center",position:this._marker.getPosition(),offset:[0,-42]}),t.addOverlay(this._popupOverlay))},t.prototype.onShowSearchEngineClick=function(){var e=this.getMap();c.default.unset(e),this.collapsed=this._showSearchEngineInput.checked,this.dispatchEvent("change:collapsed")},t.prototype.onSearchResetClick=function(){this._clearResults()},t.prototype.onAutoCompleteInputClick=function(){var e=document.getElementById("GPsearchInputText-"+this._uid);e&&!e.disabled&&e.value.length>2&&this._displaySuggestedLocation()},t.prototype.onAutoCompleteSearchText=function(e){var t=e.target.value;if(t)if(this._currentGeocodingLocation=t,t.length<3)this._clearSuggestedLocation();else{var o=this.options.autocompleteOptions.triggerGeocode,r=this.options.autocompleteOptions.triggerDelay,n=this;this._requestAutoComplete({text:t,onSuccess:function(e){if(g.log("request from AutoComplete",e),e){n._suggestedLocations=e.suggestedLocations,n._locationsToBeDisplayed=[];for(var t=0;t<n._suggestedLocations.length;t++){var o=n._suggestedLocations[t];o.position&&0===o.position.x&&0===o.position.y&&o.fullText?n._getGeocodeCoordinatesFromFullText(o,t):n._locationsToBeDisplayed.push(o)}n._fillAutoCompletedLocationListContainer(n._locationsToBeDisplayed),n._triggerHandler&&(clearTimeout(n._triggerHandler),n._triggerHandler=null,g.warn("Cancel a geocode request !"))}},onFailure:function(e){n._clearSuggestedLocation(),g.log(e.message),"No suggestion matching the search"===e.message&&o&&(n._triggerHandler&&(clearTimeout(n._triggerHandler),g.warn("Cancel the last geocode request !")),n._triggerHandler=setTimeout((function(){g.warn("Launch a geocode request (code postal) !"),n._requestGeocoding({location:t,onSuccess:function(e){if(g.log("request from Geocoding",e),e){n._locationsToBeDisplayed=[];for(var t=e.locations,o=0;o<t.length;o++){var r=t[o];r.fullText=h.default.getGeocodedLocationFreeform(r),r.position={x:r.position.lon,y:r.position.lat},n._locationsToBeDisplayed.push(r)}n._fillAutoCompletedLocationListContainer(t)}},onFailure:function(e){g.log(e.message)}})}),r))}});var i=this.getMap();i.on("click",this._hideSuggestedLocation,this),i.on("pointerdrag",this._hideSuggestedLocation,this)}},t.prototype._getGeocodeCoordinatesFromFullText=function(e,t){var o=this;s.default.Services.geocode({apiKey:this.options.apiKey,ssl:this.options.ssl,q:h.default.getSuggestedLocationFreeform(e),index:e.type,onSuccess:function(e){g.log("request from Geocoding (coordinates null)",e),e.locations&&0!==e.locations.length&&e.locations[0].position&&o._suggestedLocations&&o._suggestedLocations[t]&&(o._suggestedLocations[t].position={lon:e.locations[0].position.y,lat:e.locations[0].position.x},o._locationsToBeDisplayed.unshift(o._suggestedLocations[t]),o._fillAutoCompletedLocationListContainer(o._locationsToBeDisplayed))},onFailure:function(){o._suggestedLocations&&o._suggestedLocations[t]&&o._createAutoCompletedLocationElement(o._suggestedLocations[t],t)}})},t.prototype.onAutoCompletedResultsItemClick=function(e){var t=d.default.index(e.target.id);if(g.log(t),g.log(this._locationsToBeDisplayed[t]),t){var o=[this._locationsToBeDisplayed[t].position.x,this._locationsToBeDisplayed[t].position.y],r={service:"SuggestedLocation",location:this._locationsToBeDisplayed[t]},n=h.default.getSuggestedLocationFreeform(this._locationsToBeDisplayed[t]);this._setLabel(n),this._currentGeocodingLocation=n;var s=this.getMap().getView().getProjection().getCode();"EPSG:4326"!==s&&(o=Object(i.transform)(o,"EPSG:4326",s));var a=this._getZoom(r);this._setPosition(o,a),this._displayMarker&&this._setMarker(o,r),this.dispatchEvent({type:"searchengine:autocomplete:click",location:this._locationsToBeDisplayed[t]})}},t.prototype.onGeocodingSearchSubmit=function(e){var t=e.target[0].value;if(t){this._currentGeocodingLocation=t;var o=this;this._requestGeocoding({query:t,onSuccess:function(e){if(g.log("request from Geocoding",e),e){var t=e.locations;o._fillGeocodedLocationListContainer(t)}},onFailure:function(e){o._clearGeocodedLocation(),g.log(e.message)}})}},t.prototype.onGeocodedResultsItemClick=function(e){var t=d.default.index(e.target.id);if(t){var o=[this._geocodedLocations[t].position.lon,this._geocodedLocations[t].position.lat],r={service:"GeocodedLocation",location:this._geocodedLocations[t]},n=h.default.getGeocodedLocationFreeform(this._geocodedLocations[t]);this._setLabel(n);var s=this.getMap().getView().getProjection().getCode();"EPSG:4326"!==s&&(o=Object(i.transform)(o,"EPSG:4326",s));var a=this._getZoom(r);this._setPosition(o,a),this._displayMarker&&this._setMarker(o,r),this.dispatchEvent({type:"searchengine:geocode:click",location:this._geocodedLocations[t]})}},t.prototype.onGeocodingAdvancedSearchCodeChange=function(e){g.log(e);var t=e.target.selectedIndex,o=e.target.options[t].value;o&&this._setFilter(o)},t.prototype.onGeocodingAdvancedSearchSubmit=function(e,t){if(g.log(t),t&&0!==t.length){for(var o,r={},n=0;n<t.length;n++){var i=t[n];i.value&&("section"===i.key&&(i.value=i.value.toUpperCase()),r[i.key]=i.value)}o=document.getElementById("GPsearchInputText-"+this._uid).value,"CadastralParcel"===this._currentGeocodingCode&&(o="");var s=this;this._requestGeocoding({query:o,index:this._currentGeocodingCode,filters:r,onSuccess:function(e){if(g.log(e),e){var t=e.locations;s._fillGeocodedLocationListContainer(t)}},onFailure:function(e){s._clearGeocodedLocation(),g.log(e.message)}})}},t.prototype._getCadastralParcelRequestParams=function(e){var t,o="",r=e.department;o=r?2===(t=r.length)?r:1===t?"0"+r:r.substring(0,2):"__";var n=e.commune;o+=n?3===(t=n.length)?n:2===t?"_"+n:1===t?"__"+n:n.substring(0,3):"___";var i=e.insee;i&&5===i.length&&(o=i);var s=e.absorbedCity;s?3===(t=s.length)?o+=s:t<3?2===t?o+="_"+s:1===t&&(o+="__"+s):o+=s.substring(0,3):o+="___";var a=e.section;o+=a?2===(t=a.length)?a:1===t?"_"+a:a.substring(0,2):"__";var l=e.number;return o+=l?4===(t=l.length)?l:3===t?"_"+l:2===t?"__"+l:1===t?"___"+l:l.substring(0,4):"___",g.log("location : "+o),o},t.prototype._clearResults=function(){var e=this.getMap();this._currentGeocodingLocation=null,this._clearSuggestedLocation(),this._clearGeocodedLocation(),this._setMarker(),null!=this._popupOverlay&&(e.removeOverlay(this._popupOverlay),this._popupOverlay=null)},t.prototype._clearSuggestedLocation=function(){if(this._suggestedLocations=[],this._suggestedContainer)for(;this._suggestedContainer.firstChild;)this._suggestedContainer.removeChild(this._suggestedContainer.firstChild)},t.prototype._hideSuggestedLocation=function(){this._autocompleteContainer&&(this._autocompleteContainer.style.display="none")},t.prototype._displaySuggestedLocation=function(){this._autocompleteContainer&&(this._autocompleteContainer.style.display="block")},t.prototype._clearGeocodedLocation=function(){if(this._geocodedLocations=[],this._geocodedContainer)for(;this._geocodedContainer.firstChild;)this._geocodedContainer.removeChild(this._geocodedContainer.firstChild)},t}(r.default);t.default=y,window.ol&&window.ol.control&&(window.ol.control.SearchEngine=y)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/Interactions.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/control/Control.js"),n=o("./node_modules/ol/interaction.js"),i=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),a=i.default.getLogger("interactions"),l={_extensions:["Measures","ElevationPath","Drawing"],_options:{current:null,clean:null},unset:function(e,t){a.trace("unset()");var o={};s.default.mergeParams(o,this._options),s.default.mergeParams(o,t);for(var i=e.getInteractions().getArray(),l=0;l<i.length;l++)if(i[l].getActive()&&(i[l]instanceof n.Draw||i[l]instanceof n.Select||i[l]instanceof n.Modify)){var u=i[l].getProperties(),c=u.name;if(void 0!==c&&this._extensions.indexOf(c)>-1){if(o.current&&o.current===c)continue;i[l].setActive(!1);var d=u.source;if(void 0!==d&&d instanceof r.default)for(var p in o)if(o.hasOwnProperty(p)){if("current"===p)continue;if("function"==typeof d[p]){var h=Array.isArray(o[p])?o[p]:[o[p]];d[p].apply(d,h)}}}else i[l].setActive(!1)}}};t.default=l},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/Markers.js":function(e,t,o){"use strict";o.r(t);t.default={lightOrange:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAgCAYAAAC/40AfAAASf3pUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjapZpptuO4DYX/cxVZAsEBIJfD8ZzsIMvPB8mvpq5OupN6Xc8uW5Yo4OIOdIfzr3/e8A/+lNo1lGpNu2rkT+mlp8GTFt8/4/ktsTy/nz85f96Tn18P6fN6TLzkB30ObPo5/ut1+XaC92HwrP5worY+b8yf3+jlc/72y4k+F8q+Il/F/pyof06U0/uGfE4w3tuK2pv9eAvzvI/7607a+zf4r/tVE3sffv13Maq3K9fJKZ0sOfL7U6ycsv/NIQ+eVH6nXDhQsj3P31fssxIK8rs6ffvTWdH1pZbfHvRTV749+6Vbnwpwa790q6TPIfmXIuu3x9++HqT+vitP6X+4cmmfZ+nn10eVz4p+qf5T/Lvbfe6ZuxhFKbV+burrFp9nHDe5hF+6BZamdEfBUOPRfzo/jZtfQGHHFSc/S7ok2nWlyJYhV87zuGSxxJJOSMaTlFbKz4stW+ppZe9f8R+5yXLPOze6uJ62l5y+rUWey/a4wnO1xpW3cGgSTiZ85G//hL/7gXt9FES8luOtFetKyYvNMrxz/pvD6IjcT1HrU+Cvn1//eF8zHaxeZR+Rzqnne4r5NvPFVn4anTmw8vjOoNj+nIAScenKYiTTAbomuYpKtJRMhEI2GjRYus/MpANSa9osMpWcld605JfmIybPoakmXg68DpnRiZqVOWt0aNCsUir4sdLA0Ki5llqrVqut9jo0a9GqqqZOisOylWDV1MyadRstt9Jq02attd5GTz1DmhBpt95672NwzcGZB58eHDDGTDPPMmuYOm222edYwGeVVZcuW231NXbaecMfW7fttvseRw5QOuXUo8dOO/2MC9RuDrfcevXabbff8a1rn7b+4edvdE0+XUtPp/xA+9Y1XjX7OoU4nVTvGQ1LoQgdN28BgE7es9iklOSd857FDv3lmlhk9Z5t8Y7RwXIk1StfvQvp7ah37v/qW7DyU9/S/9q54K37m537Y99+17XtJLyejr1T6EWNmenjmJEa/zGtf3wMnycdEnrmgScKh+W2rFIB58FVtiU7CVaLdS1hHXPoPkvVW5b2oXDBZM5kyN7VVS1pzsLdAoljo1+6tE5b+ciweuqaTNwEgrpb3atwvSOzw3Aa7Git98o4VD3nq3Nz/50yiEw9MXMCh+hOfU+a3euZl0IjZX1tW/VQIF0lHO5kjFqF2hvlvCOvrEi+yhlzzHKu6fCXapZzFpUqw+TMUoU1TrM8K8eEt2CcvwpvlcXjErqqEPqJVIoz1cQ7CdQOB0qqW1QrkrCsK6Afva0R7pobdpd7pG47/Z7UpwDkCm4ql9Y8G2Oi4+S0rJ3LiVdtruM9Jb1Ja6ESIbdenfb7pXSsmRIcyTStcG9xoGh7gbLD1W/ra462dTTubFKUsWyMLTThhmZUszvGdgZEZizn7D1Pvb3VmlkuoOsHSOIrxmpt0EbpgB81ynTMBlDt4TB1Vq5U0EsVt3mfgfWpNiTznwumVxaPWHprbym/Svr9MfzZG/QkgrS9IGdlYQ6i4zdpbQ/m9sbCKqv0ZKwrI5D8c+V9b9uzAIzM/Z4lm07xdl/X4aOlTekLNI+orHQcAKRJpdnQM8CoBLRYV9plleJl8yJpa3OPe+a+2ljD2pnF7GnxzrzWZijn2Ke3SytrYTJHl3CK9lQgFlNNC3tc+vJx88VLOxAB9avWjwIU0L+9m61oK7lrkrd4DEFof16knx/5sM6pOzqQ89r9dFase7a2kvXApdQOnAIH5T1mG+BM+ikt1QrNMltZKx0fC2XliVbK2enAuDk5P93TQXSY4nS4IchETYYPGGuNXfPJe8dboIixZ13bJ3mSES4KnZel1RgaaOZA8OcESKbuDaQOmjUXww93t1szsyHSFGynylw7HKfe096ywI75p6qE/1AWLgx4tMx14z2j6kyisec64EDuBCwwy/Hkm8cNzHK6iw7YiNbnVQpjdjOH0neUT9rCo7fozG2DjiOBKQKQC/0ivclYZtIwF7fDPLR2xsKkM0cZc3h3ubjIPgBmOYr3S+fTa5Zz1mfVLToJjbVH2GgN1DhKaQuluyAVe7PRRMRsWBqIgqYBoNC+NuDliY1RKG/iF5V5dztbGlQLAybsk82qaE3fzPS1zo1n5ygmKC4wsUvbiNBGerilBnJoSE4DG6x13BXWzXBv4vYFstG1VoOoC6oGPXX/UIRoN9Ib52D6Juin06jZss0ksVys5ZihjGxtMgDdLmq0EzXjzAC3GYCBXfJmwiQVEFzdurMKcZKkpyctqt0wSD0I04f4UnjXutEEdDzPuPOKKFPiKejaATr81NlRGzDe3HRwNPkVbr8UG4ZhJjM8BolsXMthNArGnMEfadoZhuRvosTdXPLOb6A0JOrIp3/hv06r4ESq1wpWZVzvZn6y/7vgYoE/RL0HgLxUNSFWB62gtiN2hhEcIbWpICkUOvvAoA/4gwScv+C0v8MJXQ+Nhqg1bgvZyqdP8vWsKBV8RUCGpsq1Orzz87Z547iFBkQcRUQrWKA86w2AavJxAguRhd6xoAOTYog6816YrroLXcGYxwUwoyFHxbtxwRY8c6zO2TQAYZkL53DIRQdBfHU1oxhJNzYpyVhcSYrFDSNPjwSTWZx0C7pf0DkOS8j9rA2q42RUpIpREda6Y4OVDMScySKSXydzjIPsENagrkkhcCt4BqZhB/N2onoPdi7ctdN3/3Qrd4qgPo8DCaYdnU9QE0W7h/vF5XGz3/AdFCBL/iqDfzDxQUSMGzfioPgJEvYDInjPyQaugchuEgbt4iCQY5ZDnwpnKTiqgj3mLhg1NCq+QwLyYPY43chRPVrq0WriYlciCNXr9VZ3eICCMIBS4nhvGEAIw0qEhaAkDex6p7qYKmQHB1AbnfAkxigx1QyOzGYXWYL/CubfGEbWGIDhxA3eiL9PpQDHRUgAbReX0ZAINyI0tQyUgcVzKFiDBOCFjXMlQ6QIYkMb7saZZliZxQwEHn7o2G6Dw8gKBXCjW9HZ5/SKXUR+OGGzMloZaAvkmmvAMyBcC4kU4YA7WToAmhlidyGKa0VSxUljYxnPcmeRgXsRbqRzbRBckHloBPPrw4Zr9/nkeMzb5VrMpFf9AdVcbrK+uoGUwtqrX/d3dJMJxvohLt7qvV04IsR7p1zM26eJ1/k1x//g+d/H8D4BAfSL+aSxxKRFa8VwUdeY6QURKy/NDAFrToKxoZTYfM331eZeAgxflY4XBZ69YaDqBP0056yGHyqnI9Rm+K1p4rSSFV9wIQGusB4PwEsdXUP9DnZtZ94jN0xuBSPBvXtoV2+0IasUFkXDKp3lXoDfe5DX9kLTOsqO9cOHgM9dqcdiEIusVMgFQy508wSbpxADbn2mkuCEx6EsXBGIAZaI1QujONgyMWaU1cti1qaQEDl1Vj7vsZFkI2m+A1t7/N49QJhK5OIUe/mWkE5sXwYa+J+lLKYCuDVajRjq3pAsYg3SQnkfQcb5LTz7xuPjv3k+dmCWUDi39Gl2ps4dXcYVJ+59d99wRJHQ9LtAD2XCRjYYkN8YUkIsrfFM5Bua5BDFyIKdxluACNO7zFkGegGi99np8n9j/ehWp2oYY4SOQWj9XHz1WcHWQL0BTYasCIpgkjyEg2C5TjD10bCGFz/PM8b5+O4Qk/m+Q5382uG5+CN3633jvfzjO4W5+TohQ8+pxIiNEfMI6VGFDe3Vd7VByDt4j0ebGrIEM2FxoZRLB0ld8XEkKBgMwyDC7QsJysobUBnjBgjRwxnsynv/tfjqx2VNJC2GPT4rjSDBV4jDl/3nVG6B+hHJ/bY9TyerWAXsIZHtzugCQWRAOXCVZl5Xxtv3fWErmHaDtJp8l2EikIXuKSylj/uCveU2fazmTH53yCEnm+KTd2E8hu4qTrIvHDJGlUkZS4IXFcPl7A8fAbrNqGf3Qh0xQTZ0SOsbIwDBLK/x9DWhsopPIiRsgHCMYjfP9wzMjbM37G0lr8B9aaI3NOogBL6Xs2HMOSH289KUQKo/Buvw+9qVTK6UUwqBuBPJFVPro5AfXk+Hn4zJjMj3RBR5J8BC2PqEG63CIG16OTfx+pr5fu30UWcS0DFuDuKHtdFjnLuM6psYkD2+oF5CjVvhS0CnoHwa/WNusfqXim5qQpjM1ZuFIjyYKi4vxKw4DZoiVeu6o4ZKaXzoURuq4nOHt6Fa9ATnU7ncxo7g6UE+0kYg8fExDzwLcq3ErIGXRo5wH+cRiu336mjg3/3hG2IT6ohLvVXuTCXB0dhTZ+++gRgyV/xAITch2WCqEVVrzPAxLgXRI1voOfSbmnM3/CXgYh8rPhxfDFL225b2jePCd7J7H2GzAwgjZgFyJj8SfsUItFBpFvCwUUQDA4ArY0Ch61SNvFZ8rw4vVhHyw5p9f3bEFDt1PjrID05RjBzVgqbJUJXSLARoRkQCNSZf5olAkobc12LqI73yrQJsCI4mLYS/rubukwKjPDlOFkPFgSrnRyNwuAcbiRm94aPI9zdmLUkujYQqcYLjaGRIFnZ9jYRcLJlv/hX30BiQgE6j5A+dU2RwwDKwGdzTAYnH2f2ctN0O7I1HTtBURMBcroAlYgjM8GYBFvPdA+imolWmjWHi4gzYfRqHKRuMrUQIsUDygBhBxs1jo+CJ/IRoNDEAuvemMJCC/Xg00L/U+v7I1Ly3qnhB/Jnv36SmOB4fM0A35hihOAcqHpM4x/zAdUx8e02G/BVzGxEpEBsqKathzVgltlb3EfNtLcNVGPPt0TpvbA+eMs3SfMcK04ln8fXDhgIiSOwUm4lj8jugXZhmRg6AHMb9gijciwnTDnNhKBXDI9m3iD38ciZ0YLpbxWho2ISpAY66Q2ZZgwv9YyzHM2QkASaOBrCM9OP4q+8xXnvSaycEuDbB4cHeJeEM08EstvvA765nu7r4RjF5YxNiO742DawE9XUMghITWK87c1sOWHBLFCdbxFqYR1wcoI8cBOX6jFuFBLCGvrO4QGX1bQxLMyX1IOX6X7bSfq7geCNzFbDeFfsL4sAm9acvxwtCFjQCGbaQ5SXYzrfVaxzOdTr6hCG35oVdOc2NjGrlX48wehxksic+UH1zZFGbgTZ0K7g4w03xafwEKo3qmAT1ovmmWMLjkxQfaNJsfbCSfP/Bjam3D72Oor77aumCQix5g05JlNJPOM40mKCcXes2BgAqwbwjX9C6YD5GLvF1Btsafh9ONbfSezJDaSKHSLBCtccxqI9oQpBKdPOW8ElM6cLAUEp480Jj9F8ZWZlutjwrw34IF3Ru/nXGEPVdmdKGfy3h2xPSckwZ++JVZyTNxYgPu4Xr7t9dEwC884PvdGPaUoDyS8JT24R1WOfECBGsahPUmDtm+cTW6WDpaAjUzlyS1kncYJEIDAiZyxN0E5/siGdvg+9mUv9KxWpkpJZHQvPvaxZnxBcgaAiXh+X94PwInyIy3xvwy/LG3eRYB/K+3Rv/0tbkr5t1/t2Cf/2ywR63xthCV3sBUwghIvm+R2nAiiQx9m1ALsHxHN59A48pBKgBad+otn9vQ+k4H3eDprO46VGMaI8i2WtEMWRIDaGfMTZn+VEuSgW8+gwAObmZIcwd38EfjH/1vT7fEMfSUMtuvYNP3y02Lp8384OnnB5SE3yl2JVLXkupN8SeLMR0edpWPOdiYAzEoLsnU06ADN0M4jS0g3qw/pl6ie/3qbB8IAwhZKSSWdYi2UeyRcdX7oYRIJHqRg3ohnS35cvNC0hB48rizpKbfgIpJ4K8UTXsMyPJS8f3molSYALLgj3yJXXfIQUczfMrnTGm9vXmbqT9Cxm1gL0Av0xdB/GsoGePVRtqwDiU7NkOC5OoSHUj2313k5QM26h2luk7Bj3ZCNe/pU0Qy4KK4CUIssMEE7uGyWV2uHjb+uw+wh8kX2daUJevGzUyICdt1kJizKnhNN9fJdvgDiNkP/wLw3jTrngRHBUjR54lJbBuOeAjo47O6yybKKQ1+BYN9E7SdXSh7kg7fhkCp+XcFTAgpvpIdDeDnincsPl3LFAaQHpywRwhptNoKXGKHlun1+/eKorKDU6M+vPdy4TRM3hBqOByFyqMtsOze740DPsC8pAEAoG/Lv5/CMA8eARSjpFJ/D3fpm7bv13y/1/gYgKdVn1LkvDNrMDBe5OOZLrnE6TOLjSDqjEAmIBNMzyKH+RuFd8whbrQq0Eg9sSGkBz/Ho6Yxe0G6mANNHo8de/ikteZX99WyNEZrVJf5T6opO+8RJLMjhgqGLMdsOXbSlqCutkhdPhvUMPc/H7Tgqm9nnHDvwF6YngoNZcUVAAAAYRpQ0NQSUNDIHByb2ZpbGUAAHicfZE9SMNAHMVfU0tFKh3sUMUhQ3WyICriqFUoQoVSK7TqYHLpFzRpSFJcHAXXgoMfi1UHF2ddHVwFQfADxNXFSdFFSvxfUmgR48FxP97de9y9A4RmlalmzzigapaRSSbEXH5VDL4igCjCGERIYqY+l06n4Dm+7uHj612cZ3mf+3P0KwWTAT6ReJbphkW8QTy9aemc94kjrCwpxOfEYwZdkPiR67LLb5xLDgs8M2JkM/PEEWKx1MVyF7OyoRJPEccUVaN8IeeywnmLs1qts/Y9+QtDBW1lmes0h5HEIpaQhggZdVRQhYU4rRopJjK0n/DwDzn+NLlkclXAyLGAGlRIjh/8D353axYnJ9ykUAIIvNj2xwgQ3AVaDdv+Prbt1gngfwautI6/1gRmPklvdLTYERDeBi6uO5q8B1zuANEnXTIkR/LTFIpF4P2MvikPDNwCfWtub+19nD4AWeoqdQMcHAKjJcpe93h3b3dv/55p9/cDPGdykYtTXU4AAA0aaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJYTVAgQ29yZSA0LjQuMC1FeGl2MiI+CiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiCiAgICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgICB4bWxuczpHSU1QPSJodHRwOi8vd3d3LmdpbXAub3JnL3htcC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgeG1wTU06RG9jdW1lbnRJRD0iZ2ltcDpkb2NpZDpnaW1wOjkyYWVkNjM2LWY3MDMtNDAzOC1hNzM4LWZiYzYxYzZlMTljNCIKICAgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo5NWMzZWI3NC0zYWRmLTRkYzUtOWZjZS1iODQ4NTc3Nzg4ODQiCiAgIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0NjI3ZDg3NC1lZDIyLTRiZTUtYTlkNS00NDlmMzVhZDIxYzgiCiAgIGRjOkZvcm1hdD0iaW1hZ2UvcG5nIgogICBHSU1QOkFQST0iMi4wIgogICBHSU1QOlBsYXRmb3JtPSJMaW51eCIKICAgR0lNUDpUaW1lU3RhbXA9IjE2ODQ5NDE5Mjc4OTUzMDYiCiAgIEdJTVA6VmVyc2lvbj0iMi4xMC4zMCIKICAgdGlmZjpPcmllbnRhdGlvbj0iMSIKICAgeG1wOkNyZWF0b3JUb29sPSJHSU1QIDIuMTAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJzYXZlZCIKICAgICAgc3RFdnQ6Y2hhbmdlZD0iLyIKICAgICAgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDphM2U3ZWQ1MS0xNTI4LTRhYjAtODVjOS0zNzNkNzgxZGM2ZmMiCiAgICAgIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkdpbXAgMi4xMCAoTGludXgpIgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTA1LTI0VDE3OjI1OjI3KzAyOjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/PofUkY4AAAAGYktHRAD/AP8A/6C9p5MAAAAJcEhZcwAADdcAAA3XAUIom3gAAAAHdElNRQfnBRgPGRuA4VZTAAAFcElEQVRYw82YW2xbVRaGv7XP8bHjXByHQkNhWigdVX1AikRBMBoQ8wASl4fRqPDAAxIPKAVxeRqQRohHBEVCaoGKUBCl4qHcNKCZVKMRRQxtgTaACLRKqlwB14NzM2ni2D2XvXjgBFXQOnFiA1uy/HB89u9/7bX+vf4l1HnpK57hTNCE0AzqAS5gAAuEID5KiWSiLPf4tp7YUjcSu4yLZzdi2IJyNXANcBlwAdAKzAHTwDhwDKEPywC+GZWHbPi7IKOvZIWguAnlr8BtwJ+AxDJeDYCPgF6Ed0hkh+Weov5mZLTHJMDeBjwYk0itYJtKTOpZML3SbYNfnYz2SBr0buARYENcFytdFvga2AGyT7p14Vcjoz3ShOgdKDuAi+pUewpMIDyCypvSreWGk9HdroOEV2F4A1hfTxGJCX2D5U7U/UzuD6NaXq49NRJhBsOjwMVLEtE4gaL4W5cV3IsxPEoizDT0ZLTHcSH6M/BWLLlVwpQKuPzhb+i8sRkv04Y/e5rvPigxtnM9trKU2k0D28A5LN3RsmXbrbFOU8DtQLpqfJqu97nh6TydmzvwWpOI8VDbxqbrkmz62yk+/Ps6yoe8KkeV/hHHfgrMNyrNEkBX1SAktgRs3T7ApV1rSWayiEkDLmLSJDNZLu1ay9btAyS2BEsEuWuZ99WKyRhgHeCcn8wGw/qbOnAS3jmfOwmP9Td1kNhQDduJcUwjyciS0RJXMMkWkPPUo/z4XFxZRhZII8mEwFCsT+f5xXTE7FAOteduItVaZodyhNPVZDeKccJGkxmsChIMOvTt6aRSzIP+7A9rRKWYp29PJ8GgsyqcVauZSADaj+IDTecWvBlD4e01HKjM07XtOOuuy+A2X0BYmib/8SxfvLWRYm8LdqZaCvkI/SDBci6nld0ze7KCLa4F3gSurR4MB5x1FnMhiCeor9hJiPKmWpbGp3EU2IbJFuTe5XfStbczLxgP7K0IPcCFDWhnJoFuMAek2/oNbWdku/WxHATejT1JPZcPvINysFYiK+gAFkXTK6H+MyhXADeseJ9fmrVDM6X080/+p1M2/yFsD1zjEIauEeMAqNpQE16oaKiqwfjYeLk+fuYl10HDq7DsBTavxs8o6FzFKez/dM3rLx9LjUyVxcb7yVkfzmpXFbACJURHIxgyxkyu1ml6qL0Z4YX4xl7Jfrrgm9Ov9bX/e++x1tHCgkQ11lgELGA4sBp3iHRbH5GDwJPAFLXo6KJnDmTh/aG2w2/3t47VSGQxs1zAE9U2s9pEjx3hXuBloCa7G1rxv8o3f/7SkUz/UFFWMqGRWMpHAqsDbl00KGotIXM7MawF7gKSS5oJJRospI7v+rD96Ikp8aV2EgrkVPW4OnIy6SVL9ZubvZgyaOVyYDfwl2oNqVWiXNEb231oTe+/BrzvK9Gy01MFyoiOKzIEmqsEfjGf/39U1yHgosJFUXhlFMl+z9E/nkvhVNHZsjux+9Caf77RnyzMBaJLmW4RrWAlB3Y4Uh13HLOA4wQjo6O2IRPNxVV4JuG5Et2SSelzjtFLzsZQ0NIZ8/2rx7K9+/paxqbKvyh4Bc4AFQxzau23Dow7FS+nHmfEUz05OqINH8+evXJPJVOuE93XkY4eSziaXcQpB2b+vZNt7+/8IPPl2OxPRMJ4dDsLzIho3hpzamJ6aqJ0ei6qtZAasmZ2OS1RyOMd6egBIzSFVoKj4y1Hnvhv+8cD02ZOkEmgIKITVnXKWDs1ksvNrgbTbRSZ46cypY50aWcllIsyKXvr8GTyi9f6WvePFGVQhO8EPW2NzI+OfV2pF2bDTgbg8D/aJeVUspd1BK3/G24u7/skO3+iYP3h3LdhI/B+AGodUpo8WKwoAAAAAElFTkSuQmCC",darkOrange:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAgCAYAAAC/40AfAAAStXpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjapZpplmO5boT/cxVeAkeQWA4H8BzvwMv3B0pV7qou26/tyk5JeXXFAQgEIqgO9h//fsO/8a/2KKG2PkRFIv+qVs2TFyN+/s33mGJ9j+9fKd/30q/XQ/5ej5lLftP3xiHf+39cTz8H+DxNXrW/DDT294316xtav+OP3wb6TlR8Rb6K8x1IvwOV/HkjfQeYn21F0dH/uoVln+fzYyfj8xv84f6ISf88/f537UTvNOYpOVtJJfL4DVbJxX9LKJMXjcdcKjem0t/r9q7/2BIB+VOcfv5TVnR9qfWPN/2SlZ+vfsvWNwJs7bds1fy9pfwWZPn5/MfrIbU/Z+WF/i8z1/F9lX+9nkpKnxX9Fv0X/HvGfXtmF7MKoZbvpn5s8b3ivsUUPvUILE3IjoChwbP/KD+DzW+gcOKOi5+dNGXSdVNNJ810k73nnTZLrNlC7rzIeefyLo7Ss+ZdPH/Vf9LNvWg5ZZDL/dJeS/65lvSm1bjDm20w80ncmhODJT7yj3/CP/3AvV4KBHi81KdPfnP2YLMMz5w/chsZSfcb1PYC/OPn93+e10IGm0fZS0QZen2GWC39FxOUl+jCjY3nTw2mfr4DECKmbiwGBNRE1lJpSVLsOfeUCOQgQZOle80sMpBay4dF5lqKkJuRfWo+0tO7NbfM5cB1yIxMtCLU2SBDk2TV2sBPrwMMzVZaba1J6200bVOKVGki0sVJcfbSa+itS+99dO1zlFFHGzL6GEPH1KwF0mwq2nWo6pzMORl58unJDXOuvMqqq4Ulq6+xdM0NfHbdbcvue2zd8+RTDvxx5PQzjp5pyYCSVWsm1m2Y2rxA7ZZw621Xbr/j6p0/s/ZN699+/kHW0jdr+WXKb+w/s8bV3n8MkZxOmueMhOVQExnvngIAnT1ncaRas2fOcxYV+ists8jmOTvJM0YGq6XcbvqRu5A/GfXM/b/yFnr9JW/5/5q54Kn7h5n7e97+lLXjJLxfxj5V+BiwUH3cM/PgP6r178/h+2IWNXr3IZDKnG1YHtrtFtaVWu1ilevx7tYtr7VXOy3nSum0NHSeHSC4lcbIFUozk32J9iFdrXthMcaFq0z0Wlp6+qg7HfZer+Z0+zpjlQ5fRmKkS8fOua1j1CP7llovW7E816hHdHtUrZ5+oz0IDLDFuIMOT2Rma2CHreke6c5TYFqCY9puXmPuPRcL6KvoarLOvlBpNrRL37lJbySs733aav2UesPNIHA2O7WlZr3tW+ML4QSvXKsuLPpsgL0u/mbyXnZpdPGZjOttnz2khypsW2Jt5Fozqdl8qnedcofdunR20BHbANt15T1WAltjrZ53p6nfQqC6rqBWe6l0nMIi9+69RD0LYHu7WZT7SBuQzttKZNQmaIJGvHZZtrsC2T07siMATFvb7ja2C4/eLpMY6Y3jssO25l3SrxyZyBE7R4kTA+Zia60CIJVPnhkqFFtZ7lbmX7OMuH2OHEEBv42VEN66HZf+st21L32sSZIpaVIuvZie0Ge0B9BFHxzfMMd/8DzkZjNwFFdW4zWFApTWlpP3vCOzxUm1FWKkBtHMW+zI2iReZFFt7DcKsCld21qB8OQjdRDXQhXmKB1CEcC+q2c0bT7SjLbfG228GPk7hRnhmQNmEQOdQj6htHgI3AZ5KV/KSy5Qvz4ukCY1hWWM0YhnSa3Uk9dmzdAdoeYHkiPXuQbNHUoZk0+U1KEXyZnw7UUCFyAmnmlQI1tjE1u3fEp+abX5p+r/Iz2QS1Kc9umzQg1lt3Lhw1NuHXclsLDiGHcfUBnKZe/sIx0kz6JICFA+2cTpDpqVDFCytG0wMyxRxibwdjZ7Il4ytbdVoBED6TSBNCbLX7lBnKTOUXZxF2o2nAngN2KboX6uU13NKlAVjWsOwqVSAwGjKo22ARgudUtcr3jbr7JqqgS73qGbknEAGrMVbrKz7oxe06mx+Z3Ct8DT//JMvxjD+NC4EX461F1OUiEZ9Fo6PQak4+Q9cFXp/RXYwfqdetl701wUChFKMN42b+9HHuVV8vC2TBo2vXVGDSCqz6sQl2sSK9HIcSu0Boa7ZhMwb2bxhfVtCl19V/kBwlpSpmxq7XRkqEtPSbqTM/gr6VupkEZLO4fWYHXTxiKN58CCXNsCME6+O0Pc7LgEgroA87HqGzRqHg7g1iwoZdilXwZ1KQgjzcFdjZZAWs+iOv16vVkgmkBYdJF2PuA6s/DJnibdlxZzJwDhCu6LAGRQmeH6TpWowl4bxmBRWhagC2iAc05T0HOmEgY2Au9Qj3bpoMwJCCe7bsTXYPTvhMNbNy35wNACBQfebVUHW6cb07j9jtu4NhM6gGYFw2/BSEz7shWMncc+X1RAvc6jEiaCB4r2pC2MMTlBMZVELQMZ8sm87CGvc2yZLlbHzL5AGkM370hIm3UtpL4vKf2U9EEeSP1X6XGmaf1u5kU+BYRD0+6xqOhky2zr/PWGv79/S1EEBfVpo592XV3EGVjeB2AddoXuX/mwwVzp5WiI5K2oRm6nfGNeDSKS00DeGClvsFMQXpYCssEzwwNTL5wNayGwm/Z/EJA80jz7ukpsB3THWulMHV13IAfym+m+VAleRFOX4kRD6SEbCCQl4mKfAWCOJhC9AtoeUZMtbl7SD8aBayBoffyKhlwj0/zovihoCM2J6cwrkAYIoUEAvaO8n82lBUATNBjkBuFAz2jX69Gii1xgw/YFTl9mr6KFjXbxEih0lDTYKeQDaGlYWEA21FAdcME9yQnMc3hDivcvCX9w+QmbsVAVDI0MBeQQnLNu/lxhFsL3+SBgK+Gf4ebcDyzS32AR/jFu+gc3v8IG6fcDNwhHF3qHHr2JKxWOxa4GvSBc5MDZFQxAfgK1S3NJHLvz9aTBQRjBdTjkIZooUtwD+YcX9bWmaXD04mOOlQcfkghzo2hSvcz6GCkT/9bCKBEhhWrfyE6KFNm7EVoFtQCBILKAYro1Ge9EBFtVWGDZhCwaHNAQyAnJH8MtiKZVBxYBAYpEVEJZkQkoCMNQb2xFRX4AJ8iqpu7AqLZ9YXR/yB6mA/BBYR6iTfPcvZZ4yvTwcA3VjiY/9MkL6fVUNBu690BZQJXyQOShufFPKAW2dg6qJaPqaRfwIi2p+/pxEpdcokQK3RHJqILUAfKsNV1uRStfGq4e8Or4COhH4vE/IvJ3PCqY/hWNgDH8y2hcU3c+NAb0VY2If0FNd5zlrVtbph0h75BRgNL7LH/ePtT7LAouIZ6E5v/6rFs9Yo8NQaluBzGOrKGMHVkrFJe+bVOGy7B/GAhBBjJg75Wx8G/e6RgXkjmsCy14jXxw+63UNLEr04kNyoc4BNw3rJ0r0a7S3L/ebkgoIU3XOR/oYyHZFn+IkR8FYWQQfYgUa8hjrIJMUtkPsgHxr191N/JPtdzzIlqomkJs0dZIJ0rB1wCVQlNSLeBzyAw6N4vEM1B34oIfH5zBSOXNT4Mp+a8iHItfoMZdELWsAuILvO7QH/VNQo6rWzx9o4niuNx/Alw25XGqqBW8GS0x0TSN1TcuirqCbick1OFedZ+IZm00BUGeI6Iw5+7wwDNekAElOjrPoEAQ7vlaLndsJwZlnb25zTqYKdmUHgoVoW/TbQoQRyzdJ6egYhzH0x7R4sddUrh0GdT7wJTo0UAhkp5zgScViyGnkayJFFkIPW9+h05xySh/5Sdw8JFU/JvgRGjuWkxoyPeWx5SFsobrf+Nz3o0uOrgyBhFBfZHXtly3UTF9g4+Bw4iobQRTCahTcObjlt7co60nhwsZBdPNRKhMbYcFF39nVRsJk77A2qiMd8yPxDQUc8qtLjMhaH6n4s/cxkTEKvwwky/eF/Bx3lD7/INVCN8X0LRRg/vNekelk+FYGNfdY8IvYHUQXnZN7B5cyj2zAWqmX/idg86erDH7wYsiP5GtFcqPFEfCn70MQZ7AFbbod2La6ap4VgiTKoVgGoaku4ZMKOzW+TVv1V7KG4HMipBvtHCASd/Jxc+astMWOkDIOk0ZW1vOVZT5PrWESpfBRY423JcjvphjR0FHIPgorIt1VCrZGzjsbhQQ5EDFYudxaui3LJk1YPxw5fQVGo1+Gp47uF9F+R+dGKUKbcEHMIR1Cdk7Iu02D0X1WK4R4+7apqMdkDdMookuMgfea/phsvh3H8go/AOWFZZiQWWFjHhGiqSCUySO9FC6wXN41dWxHwSYPTG2l6cpDTYLzeNgMRqHoqKfdoJN53Syk04No6vmpGJKrscZchpwv8fe+U9EdomvwN1Pxh3Mi6LVtAFtaQitxVbBbSWOWKFnwA4suZPO5n+75os4exayDhZ83KN+ZnjdpGdaHAvut4Y5n/LGW7RKye3E/CiA5Qt87ANeWC14hAhGfLUIVEg+1oduAjaf1Apo9P/W9KFvcN2jEGpgDBoLPJz/puvRFGyNlWOhEhtxu9DRKNV0ozFB9xP1Y3WUTfFGRM+1om4xKgHeKeGMB2oEFje6CDRa0cBIJz/FchGAmHATTihQBojPgf5160WbqQpsN1IgDWFfup1Yd4KzMXjXpZQlbpWOIE+U1UkKqT+bTyXjre0dZ1U/Tft64hr/65nghzq2nw+q0zs0kw+2aMCBLR3UZZ2IMJQz0sUD0Zz9E5YS4vfmQTy2lwziI7RSITFofBE5qbGwBD/NOE8rUi/gqnk3AjzIJef0w/4+X58ISyh8hDQEQu1npzAGoCHoSE8IzskbcY76Wl9z/8HWH/JLInx7oUFd7APzRdOjJQgM7vYYyUTSucMPiunOIMij04t9FLqfV/81VuGXoH0VLjIL+d/84G/gxPMp3vAuQo6OFxH+Ha5Cd7k5Ue8bNUtwn1txU2cWDOIUJOeC7JSST8MPjXZVVAP9TEmddbQdoQX64PA08TZsxi82SzY2G95A/0CUbjSKwxIiq610mIy9IJmmH7AOQFE9KJQe8pgxyi4EAM6mC1HLSsshbMJO1Pzgjj6DWb906nvgnn7xBgoPQENyHul725zomKKEDXMMs0A/AitvQzdvNDVvmDMo5BCJd6e14c2Vhr4GmYGAzVHUq3+TMEv207ca/HAPoda7Vcyklg77X+9nFfXgehp7dyraEC1HyG8FTlOyOsSRlbGgWSjAFHCnAnfDZ2jq/NqAkGzsQETfUyaHlZXL6ogHrTopSECq09eoP4llyTvWC24H4NTNJhpcpAhXq09Wt+GYbnul7vb+nbF/TL0r9NcFqh8PrYoK2OHRb3QHiysgU2DERaHhACp967hQTKgmcN2JWUreSXNZHUshBZOCLnI7GlCFKArV+U7Vp94l5xB9MgRbH2gYGQOZOj46DQeF3tG9hrDU9mQOThdP8mTNfCrnwJwISKQPnT0uR7VNigXpWiEFP0Lxr98KaVRvvbFK9W99yFLG00LSEBRM6N9hdpSdn1v1xajAaNI5aoM1RvOvbtFmReiHev0we/lXd/QOdgDhk35za4XWdq2Kq0CLNKSaZSMmiFa3b52utEkcBgkaBtPuvCgUnUfhvWgjBioKqFKmzXuYpxTl/eQshPPO2ShJRza2dD8dmfb8nMrEf/mI9cczhuFgqAQhsyhVlS50UbeZhXJw12E90H4zEaXeyEpzm1hL9S8p8IDmB3Uoe0SMkyiamhaFiUZRkxc/jhjIoYNyQNaQfNBIVzUIyF2vZUKndnGxeMRUKB8atHpXwjJENI834Aua3xE9HrDApxJwLZAABnp544Cu6gTzDanTXSRBCgWnZa1TIFQX/aCR3IJnEahlwKxX5PoZ2xzJv1FDSTHR2I/yJ5bIE+PfISQqkGpHdqMYFqq1uu8F/1n8izQPIr5lhztexUKSUDfKYvHn8KA6E7wzR1wtru04SeGJVKUgRZzL9yofVU7H6QEpk7p/0zasYFQpSSG90K2fcl64K5m79bFoTBb91AYHjv+/uSLhYRe6bvajej/vvKkVHJ0TPF4buZAoev8WpEDemJctMADcTzd4GkafL0juiyEKwG0XETEBfR4bioCLBmZlDprvZuGtR/zHJPHinE9Ok5/YQ3yYCfrV8iOC1oAVOgDBDksbjH9wOmwIuBPo5icdgiwS1wbND9YU/UHbRZBMgo0IV1jpSUKhQlaYrnkehdAkrI/jgs7JwVWXutTfHbKGdLO6gSFyCyp2j738tB41BgTSDRFYZZQCTKx0bOZkVEiuHFbhtecqYjkv107p0VeeJ6GFqZ+UMrS5tr5BQKz3toOfxbe3a1dtvW+oRnvdOiOWQK+fRFWJgk9hWwgNBvX6peddODKw713i8VM+1Bw+zzXE80FMMd0LY9XoxN0P/Nty75bP4xRkTPHvFMwzuwKeBW3l38aB4uaPlBEG8s8HGwhv/x9y/hPOIdIfHx3GqQAAAYRpQ0NQSUNDIHByb2ZpbGUAAHicfZE9SMNQFIVPU0tFKh3sUMQhQ3WyIFrEUatQhAqhVmjVweSlf9CkJUlxcRRcCw7+LFYdXJx1dXAVBMEfEFcXJ0UXKfG+pNAixgeX93HeO4f77gOEVpVpZt8EoOmWkUklxVx+VQy+IoAowlQJmZn1OUlKw3N93cPH97s4z/K+9+caVAsmA3wi8SyrGxbxBvH0plXnvE8cYWVZJT4nHjeoQeJHrisuv3EuOSzwzIiRzcwTR4jFUg8rPczKhkacII6pmk75Qs5llfMWZ63aYJ0++QtDBX1lmetUI0hhEUuQIEJBAxVUYSFOu06KiQydJz38w45fIpdCrgoYORZQgwbZ8YP/we/ZmsWpSTcplAQCL7b9MQoEd4F207a/j227fQL4n4ErveuvtYCZT9KbXS12BIS3gYvrrqbsAZc7QPSpLhuyI/mphGIReD+jb8oDQ7fAwJo7t845Th+ALM0qfQMcHAJjJcpe93h3f+/c/r3Tmd8PnXByuOaabnkAAA0aaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJYTVAgQ29yZSA0LjQuMC1FeGl2MiI+CiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiCiAgICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgICB4bWxuczpHSU1QPSJodHRwOi8vd3d3LmdpbXAub3JnL3htcC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgeG1wTU06RG9jdW1lbnRJRD0iZ2ltcDpkb2NpZDpnaW1wOjIxNDZjMzUzLWIxZjItNGVjOC04NzQ3LTIwMGEyYWExM2ViMyIKICAgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo2NGViNmI2Ni03Y2I2LTRkZGUtYTI3OS01MGY0ZWFiZGFhODAiCiAgIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo1ODRhM2VjZC1kNGFmLTQ3NjItYjA1ZS04ODk2MGQ4ZTk0Y2MiCiAgIGRjOkZvcm1hdD0iaW1hZ2UvcG5nIgogICBHSU1QOkFQST0iMi4wIgogICBHSU1QOlBsYXRmb3JtPSJMaW51eCIKICAgR0lNUDpUaW1lU3RhbXA9IjE2ODQ5NDE5MDM3ODI2MTQiCiAgIEdJTVA6VmVyc2lvbj0iMi4xMC4zMCIKICAgdGlmZjpPcmllbnRhdGlvbj0iMSIKICAgeG1wOkNyZWF0b3JUb29sPSJHSU1QIDIuMTAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJzYXZlZCIKICAgICAgc3RFdnQ6Y2hhbmdlZD0iLyIKICAgICAgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDoxYzNjOGRkZi1kMjVkLTQ4YzQtYTAwYS0yMmU3ZDYwMzg1YjYiCiAgICAgIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkdpbXAgMi4xMCAoTGludXgpIgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTA1LTI0VDE3OjI1OjAzKzAyOjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/PuhCAHgAAAAGYktHRAD/AP8A/6C9p5MAAAAJcEhZcwAADdcAAA3XAUIom3gAAAAHdElNRQfnBRgPGQOTjc4FAAAFdklEQVRYw82YW2gcZRTHf+eb2dlkc9lsrFYr2notfSgWxKKiog8VvIFI9UFQEaWtYPFJfREfRRSEeqlttViLD/WGisYXrShWpfWC1WpSN5eN3cZumkuTzWY3c/mOD9lI0WSTTXbVA8M8zMz3n//5zvl/5xyhxqb3ewYvaERpAvUAFzCABUIQH6GAHyvKa76tJbbUjMRW4+LbC7GsQbgCWA+sAs4AWoA8MAxkgEMo32LoxDO98oIN/xdk9IGUYEYvRrgduAW4Gogt4NMA+BroQHkfm+qW3aP6n5HRTSYG9hZga5lEwyKWKZVJvQCmQ3bZ4F8no5skAXov8BiwspwXizUL9APPgOyVXTr5r5HRzdKI1TsRngHOqlHuKTCI8hhG3padWqw7GX3IddDwcixvAefXUkTKhH7HcBfifi8vh1E1H1cfGkGYxPI4cM68RGw5zf3y3S7IuedgeZwgTNZ1Z3Sz46LRNcA7Zcmd25yGgPWP/M7q65toTLZSHBvn6OcFDm07n6g0n9oNAxsR54DsjBYs2251QWAbgFuBREX/tF3rc9+zA6xa3U5jSxwxHmpbueyqOOvvOM7rj67g1JfedFTNagngVtR+B0zUK8xiwLqKTmhcE3Dblk4uXbecRDKFmATgIiZBIpni0nXLuW1LJ41rgnmcvG6B59WiyRhgBeDM+UZipWHthnbcmDf7b8Y81m5oJ7GyErZTxjH1JCPzesu4ghtvBpkjH2X6uXFlAVEg9SMjhEAamFsyp4Yjcuks1s6uXdZacuksU8OVZDcC0mW8OpFRQqBruvqdwwpdDh+9cjaF0QHQv/2wRhRGB6afdzkVkKZxtDoyVaqZBKCHEXygcXafjhi63l3G9tIEGzYe4ZKrksSbzmCqMEz6mzE+eedC+juaiUYqhZCPchgkqKB4SzxntqQEO7oceBu4srIzHIitsMTOBOMJ1leCkxAMmEpRWt6Vg8BGTConOxZeSVdfzmwxHmpvRtkJnFmHcuYksBkxH8tO69e1nJEd1sdhP/BBuUippfnA+3jsr5ZI9TnzV33mFcB/DuEi4LpFr/PPZu3LkanES08fOltWnxe2Ba5xCEPXiHEAVG2oMS9UNFTVINOXKdamn3nQdSC8HMMeYPVS+hkFzQdObl9m2Zu7+xt6hkKx5fXktGumdNXyZQUKiPZGkDbGnFxqp+kh9kaUHeUTezHr6WRkxt/oa/toT39Lby6QqMoci4BJDB8vpTtEdlkflf3A08AQ1ejoTM8cyeRnudYD72Zb+qokMhNZLuCJaqtZaqDLLi0i7EHYDVTV7oZW/J9PNf3wanfycLoki5nQSFnKewKrnW5NNMhtKRDlt6EsB+4G4vM2/UrUNd5w5Pl028FfiuJL9SQUyKrqEXXkaNyLF2o3N9vUYKB0AbAduKFSQWqVKFv0+rYfXdbx4aB3qqQLDk8VKCKaUSQNmi0F/ujAwB9RTYeAMwoXabg2QvZ5jl4ym8Ip6FjgDm7/bdl7bw3Ec/lItEJyWyAS0RJWsmC7I9WM45hJHCfo6e21dZlozlju3pjnSnRT0tMXHdFzT8dQ0EJoTr2eSXXs7W/uG/pnwiswBZQw5NXaYw5knJKXVY8p8VSP9vZo3cezp1v2nniDK9FD7V70RMxoaganGJmJT0+0frbtt+RPfVN/EQnLo9sxYEREB6wxxweHhwYL4/mo2kSqi43c5zRH8GS7Fz1shMZQJTg41PzVU7+2fdNZNHlBTgI5ER20qkPG2qGebHZsSTpULzJH8slCe6ywrWTlrGTM3tw9Ef/xjUzLvp6idIlwQtBxa2Sit6+/VCvMuu0MwIE726RBSqlViaDli6Gm4t6e1MQveet3Z4+F9cD7Ewo4WRJBbaaSAAAAAElFTkSuQmCC",red:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAgCAYAAAC/40AfAAATbHpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjapZppchuxEUb/4xQ5AvYGjgOgG1W5QY6f10NKtmW5EieiTVLDIQbo5VswCvavf97wD37qyD3UJqPP3iM/ddaZF29GfP2s5znF+jw/P6W8P0u/Hg/5fTxmDvlJ7xNHf5//cTx9DvB6WbxrPw00zvuD/esHs77HH18Gel+o+Ix8FvoeaL4HKvn1QXoPsF7Lin0O+XkJ216v+rGS8fof/Ol+xEReL19/r0L0tHGdkrOVVCLP72CVXPx/CWXxpvGcS+XEVOR5H3mu5SMmBOS7OH3+TGZ0far125N+ycrnuy/ZekeApX3JVs3vU8qXIPfP12+Ph9S+z8oT+p+uXMf7Xf71+NgpvWb0JfpP8K+O+6yZVazaCXV/L+ozak9Srm4u4Zcegal1stOpocGrPyaPweIPpaDxxM3jpJky6bqpJk0r3WTP60mHKdZsIQtvcj65PAdHkTzzKZ6/6o90s5RZtAxyeZ6015I/55Key854wnO1wZU1cWpODJb4yl8/wt9+4V5vBQI8ntSnV35z9mAzDc+cP3MaGUn3HdT2BPjj8fXH81rIYPMoe4tMht6vIXZLP5CgPIkunNh4ffVgEn0PQIi4dGMyqZABspZKSz1FyVlSIpCDBC2m7j2zyUBqLSuTzLWUTm5G9kvzFUnPqbllDgeOA2ZkopVOnw0ytEhWrY36kTqoodVKq6213qSNNtvqpdfeeu/SHRSXFKlBmnQRGTJljTLqaKMPGWPMsWaeBdBss0+ZY865FtdcjLz49uKEtXbeZdfdwu5b9thzr0P5nHra6UfOOPMszVoU/NCuokOnLktGKVm1Zt3Ehk1bl1K7Jdx62+1X7rjzrs+svdP62+MvspbeWctPpvxE+cwaR0U+hkgOJ81zRsJyqImMi6eAgs6eszhSrdkz5zmLE/grLTPJ5jnT5Bkjg9VSbjd95C7kV0Y9c/9X3oLUX/KW/9fMBU/dX2bu97x9lzV1ED5Pxl5d6EGNhe7jnJUH/+jW31/D+83KPiEmlrd0ZremEblUT7eZm0BzexaimmXYgubnuEPvkbQGa9wthiOWrraVZNfSbR0D3dM5e18pXeZJJmnLWKdvldHSuKUOsxOt3bbTboUw2gyslJWdOaVdy9qByFHOHqbkHGo8yhf7pMzaZaS57phW01Jel0mrG5SmjUNddDez7oydWuXyM2lNdiFWXboPJVg7FGLzCt/lNwpH8zahiOZobe1kVcJOl4zlA+HOkZfx6ZCqda7d110dOqk5j555J51FiWZST5Qtdd1klCVRBYFSJPLQBhVUm0uIVsH9rLkAPGR3mNdLnms6F9jxCstcglo/til6U1v7hJm27l3rQ7HE7SzZVqiFqgKlzQ0BSa17KIOX6mWnnHzLOfToTkNLH9lgkXjuufNIsdmoM5nGyaSbACl51ihnS4t7TBrI9uikqdFIpLPGdaGkO4e2QBHMZEe8Ls6U6DWk+dBZ9VLGu98lM11aIjXjakwmrUP6KF24IvLlTbBSMKXAz7ibZFg6JtIZFqmoicKJlpnItETwSSfBphrjGTYkkzzqgArxS9wA7/o/amHMG4VpUQ4naZO6llRb63b19J1i3g9Lqy/ptx4Jf2yej95JmyqnPp40nD1FZ6eEE5GkmCLLXyizGgweEiqMDJ59WrKiWnajjLNcFMFdh/WCApcKnDU3Ymiqex46z4jy0O5rCny1U8sU44naDrlFlpBoiqK2FSlQEkHj0YlVtbmq2OSJIt9n3XKPnkuWEFrHx1cmu67wCdWWb26RPgIq6cbWQSCh7ae1mavXCLiYj//UCeia5L5SWHfOUy1nmsah0qgDFAnlMSvhAGM7iEUB9aZX4xO7Zb2Agc/b+D4UPt78/jq64wBC6Jaup8vuDiT7JCo/slSKKILbA1xMusPOqh2o3McIKmivFJLa3bxx2ChgFek5k49tFcrJazxJPZAlqmxVaMSQfstACssdyhDQIDJr+rfDSzfXCzFsBrte200pvE5xAkmDNjbIohNm5klmgx9YnSeanMqY5A/FTwObIRibOeDRqguEXKfVlYUsDBao9WTlykDd1C2A/6v6HDLrn8L19fWACeBm7jfSqwkmzehsIIaOBraQNtfrp43aAEzqpEvhK1NPFeC4qG2jkWBXunMnuOISRcCYsAdsF3O7fUNnujpInQp4DZ8KwV2FmvtIOsh0MU0/t5EmSrcCsRpAyod4KFVKDYGfrdIxkSyVp42oJ1W+RLmRdmi0Esc0V7UIzJJ//A+4FBq6GJDSNahvqK0ceqdOtLOlCY7I3aUpxTsUdtOZL6m/rVwjKAPk2qwfngswTfY1DlqXBA1y3zIyIc/qRPHoW5SIy37KpWFJjHxD3I6/c2bOA3y2hQ4pYTZgbjokXWhk5NuoOmZiZwI/XVUnUEJFcawCmm1Ta/tw3ZnakHNtNGbUWEmVz6sXlxuq5lNV4lOqIJuQU5QHEMeyooAIrnXphlkdMea0QBdhgMjIKxu4ijyOJsAkNkSA4nW3zegoRhLwGvsiwsZFjaA+vJ+Pgl41LFqKTBzKJzeY4y4K5XoNc7nis0wgQnLKo12glDFaehPgz6/h64EaExPNTwJAe1DE3wFUMBxd4DV7naTKl3PCl5MMxeG/EgQoy39r+w5UIWwAZ7wmNqNo/ZhYKgiEmkMjJViEcWAN4ggPgzAdfloCgu4iHEgRDTcRcXnedsSBlODF7lLlgOpER4KNup9IZKHakS9TXDhct95PHzZaH3cFI3KsEcHSDhw4pxZUZEFXqYrF0L1DQXjKGS3CVVwx8nDWQ8lEU9eXCBiEat99LPSlgWplOVQDS2NDg3WSNSQYde+YyYCuVZNkYNUgND126YEyidh4loQEG2DBs/cx8KWQNz0yTgqCTkMLmclevB/oQSuswMNCWvYAHh277jmLiswGO2w9Q1IplD35KTr5Hkwr71QA1z9KYTfXDe9ie6JJUVGMgMsSH6YhBvcTN5Z+bw/6BkhdiOf4X0Pk+Qpv4YVvn/BmtOy3CPg+A8gw+v/J82EJl0ikfsma0i508WtNQFu6GJ5nsZ7sTacCgBfB1FmObYVEFLW3GkrRWXPP3mc5A+7fEinK4mqRU5D8gGpdNjZaTx7lfU3nAo5S7q6ZuzncQWjEbqGSyCJeBLuCbu5dB2B0NAvwQyBz0dO4KqIKUmzL6q2DRavRClhgVIC4xaAFJtpuxYBysKndvZhDL1fAUIGdSPVI1pj/IDsdOKzaO8oQp+O6V3E/4NI4XnZr1TBg9+zyic6BWbfzLUlOLB6VgvGd9dJlG2R3DQsnLrRb6tTGFEK3xB7SD1RT3S59Z7c2jisR42rokoQEIGggP4WMs4k1IYD3cOfVdnNjhiKwU8dM8YaSfVVYkKt2aOTuqsgBZY7jUazQPnqrocQgNSYPRF9E+SvLGIzVnyRDRzT5U7xUMb2wAFgAhqoHIja8Y7WQRurG2vHdnqeq6N53vShmnb5r4SmYj8L506vjGsLOMErgHKOchXNdCpdq3QKvrjCj24kXD1E11zUiyyQP1MMjC1GiLD4NtFbhbGXGdkY8i7TXDL5BETfhadPCzeugxtwL4lmKYfiQ+XpIzLxwA9hIky+ggMIqYFfDmiPa8AX7XMRUP+GAPciSQmZh4Q3ckRH3wIhZAsCijAbKl3J+pBtLw3pYK7n4IYHuIwk8Qdyjb+veV3i3lQFXjE95i470ifEZ34URpc53BJVKlIXJwbJgCB41Ag71DFpSqxtLXgf2MW3cvBmvhAaOZEiIFY4AVBNM8UITXn7AS1iF7J6pAoWAjmh4y5Wmx51o7qBVgkfol4MYBDQ6qnu60cLlwDyLZYLAnBUqs8u49IqKPjh1RKKDN4iOh8DC90kXJ3xR8Z3IXSKZY8wTHxaiwMkIazyh4r9Gh4PQgzQ5mi1l/HgDodGAEMOgPtzPUKjxDvqs3BfQ2QO0J2IC73XMhu3pL5h3OK0uF1GF9tgFiBzAEbEjPTfS0cXuhVAaV2toiWcgvopYcMpGI0r0rdl00vNRBbx+vXb6+do4CCDx7s8BhYZKAbGVsYEF33o6xfVwbB6PDhm42oxaeA0Pis6BgJjTlTqIdcdjI5CuK9YAEKmrYea3ZUCxeBgkMLVzXT48dD4WLX4TigKZ1x4yfWTZoIw5Yfj9Abj/j9QD9LCQRHR8r8ZAtosh4YsTZzwE6+t04rsoc2+g1h5gIHF4+O1J7Vg+NGbz7SfwOlPzvqVFhJCQ4mnAXHYqSrG5AGNBbEqAGmFR7CdXyA2PXUBbZDh04fz6OMUM3MHoVfGpA62Ch3LlCzVgC7l8h8oDzdHdYxXflJvm2zGM3fYpvodExdcdIZQVxzzLN/gLhzHDXBEgfgFpqgumRYc6Z2AyvCqVChakJ3UFShQaws6WkvrLRGBZ2vdBDT8fmO5ZrS1WV7AY6aEvuGNBCy6dENU+H7cj+IjURXxTlPiK5oBpiACdbw2ydEwhPeXgVeb0ZnPzCSk4aFIe3c7D+pQqdIRsEnklqk/0kTRiCrR5Cwx7NlvcKcK/+C842Hscz4SUBV8uHsfcFaHWDgNiVHyPq2tg2I0GwSGsCArBXY9aaonlIA/89/xSTMxu0YksrZC3USmjxhTd1OydAjy7HAWjs35LiSTJJGK+1fLY/jYha/Vtoc6KLD7NAwjBqov6ivQQKv+1N5Lit2LeX0kyrAOWwx4Y324Y6Ta1Pfe28KB+o20SyxGKged8rR68DLyOIPFZ8CylJuyKu1OIFtC7cUjNvv1wXNFyGgVX0BpryQgwPEYaTYyRPB4XzBaiaPdjDIqGRRW4knDdjsiAkxdzpWuOpxqgQMMzl0uLjOmW/UD7ziKzeymC3sVo9mXbwe1RmQix8c2+EFYJ2pqhsAx6apOdEn2fGXY9rvHJmE1Ae+fyqD0sH6o6dwh1wtUz6c6+XccvEf4MCg1gEJAu+DwazG+DVNf1RCkDYkgs37VXmFBbf21t9YRme7YS1HcXi284Q9kfNGWse323t0VlvTrImQsPsQe6oMLeHd2EbPNN6ub3aUuCjRDEcgcWHxX+kvCkf/xHvW1E1jcoJZxauvcKydiCv48V37kWZQxtw4qJNODPVsIU+R44zQtroi0Be+hQX63ZyRriAqWJJEBGzKI6HJPsdjpG3Vc3onja7pSJW3QaDu/lW8PjGISJQeEi9QZyj2GseK/BcVrkzo6CmB6a4tMCg2mQY5Ir7qkXBGGv51Yy496L2SD5l4UJHQG9D4NFJC5gLAA8HHMB1ULcWPqjb/FcfCK03wHQM64NAO9+x/lQNAHAAX2YIPJ5gjLOmy259gcgyvU7L8idDkJ2yr1iWAUkKo7aIk9uF+QrKQAFiq4u8yDdIZJNQ+Ts+x2oKKSDb5VtVDdyAHQi/ANtRPG4NK/Z8W1ilCdNK4egJtQD80GKITglgrcAvDm7GAgUvenMrdOOvrlEwcpEut/RfSe/eJeHm6vvwhdX3gi1lwnEsNAm/jZX13mIJM+UrhGdBlhhvig38IwcJ8W9zsAUzqpRN4VOZ6jfC6b+sS/Y0+VtHOmH6PwKZYMjbnwus9HtO0/IURgRkxFYTHJapCqYIzWFN4BpySEpeKAeD6PzeaflxfmdVkq7ynBzOtqlqAW/BkrR0Y7mINvwbWv4iO6GSDPJHdmbG+xH+UW+DEnHia4hqdQ2ohfBna6CR8CN+u0CFILsuJOLZ99dv72NlBM1hBDGM8IP5TFZ/QAQhDXKyVAIySckQWg/67gP6hDcqVNQlTt3Z3Bp5Ksj2JAxfs+OKrZqmi8nKzhDDVK6ie+cEli83+7BM4qzhKseI23xey7482t4xHg1VjMBA+zFo89895p+Rfr4Ni6Ek+j4+ayNAovkBd00m7iCQrQSvXB97wCkxqsPopP00DnR7zRQIHs2uowUsjA8dPG/jrjS/UYoEgyM9Xs/FSUpLaAjORmgMNyebyyd3G82egkJ4rfESLTf/Lfie7SAK4GFZyh/GrsDyRW3gxoNiJjVkPK++Ygp9T1h3BB4xirxqpZXj7YAtoUcBcCwBRv9j0xh9EFhGOyOMwoO4rmNW/1GTWx0/FnUAZN0P19SxougYiS7BzkOfe63MH3Nd29lMhC6UvG0g7Pwn4sCXag3v1t6XXfn5RrBnc4hwNv3CiYVAk75nhTtZy6QhgFusIEE1Gf1sTiISULf0Q1Ukd8PtZuzAzk1bA2fbRAJUoZT0iWiKGNFpKKLerkngI3DN5P83tEsCCValn5tCSSoAFZ8NE5iZCGOFvnI2+fc0hSMyOP6hgheBC/JqM0XtzPY4ff3CcRZGFPQp+eT9FGVEXZAx5l6MPfTxBAh6p9mAdsCes1v4slb46vGhDSdrI7iP3whocfnC9FXoxzU/6gk3T51NDqRmqXEDBZpfvMByw0xUJeUSzQ5viPcMHg1uzxlzOnc9szCN1b5NBH44/uD8eVHwoMzBAdw5t/eZ7uSp4CG3yd2DETwEdbr9O8QEP3Wg28roCeRYRkHdKL6HzKxMGDwGRf0vRjBi75j7X6nFNW/ckp20Z7t7ZL6fRp0CBMDCbLfwU4hteMuyDWR35qZvpvj1ZDwnfkxnjWhUnmmRRqK67v2d+On/kdI/wa+GQTprDiGjAAAAYRpQ0NQSUNDIHByb2ZpbGUAAHicfZE9SMNAHMVfU0tFKh0MUsQhQ3WyICriqFUoQoVQK7TqYD76BU0akhQXR8G14ODHYtXBxVlXB1dBEPwAcXVxUnSREv+XFFrEeHDcj3f3HnfvAK5ZVTSrZxzQdNvMpJJCLr8qhF8RQgxR8BiUFMuYE8U0fMfXPQJsvUuwLP9zf45+tWApQEAgnlUM0ybeIJ7etA3G+8S8UpZU4nPiMZMuSPzIdNnjN8YllzmWyZvZzDwxTyyUuljuYqVsasRTxHFV0ymfy3msMt5irFXrSvue7IWRgr6yzHSaw0hhEUsQIUBGHRVUYSNBq06KhQztJ338Q65fJJdMrgoUciygBg2S6wf7g9/dWsXJCS8pkgRCL47zMQKEd4FWw3G+jx2ndQIEn4ErveOvNYGZT9IbHS1+BES3gYvrjibvAZc7QOzJkEzJlYI0uWIReD+jb8oDA7dA35rXW3sfpw9AlrpK3wAHh8BoibLXfd7d293bv2fa/f0ASM5yljz/NiUAAA0aaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJYTVAgQ29yZSA0LjQuMC1FeGl2MiI+CiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiCiAgICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgICB4bWxuczpHSU1QPSJodHRwOi8vd3d3LmdpbXAub3JnL3htcC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgeG1wTU06RG9jdW1lbnRJRD0iZ2ltcDpkb2NpZDpnaW1wOmI5YjA2YTAwLWZkOTQtNDc5MC1hNzIzLTlkMGUwNGRiNTRlNyIKICAgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1MTQ3ZGU5Yi1kOTA0LTRlNWYtYjIyYy0wZmMzOGRmMWI3ZGEiCiAgIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo4YzBjNTI2YS1lYTkyLTQxYWItODM5Yy05OWFhYTM0YjdlYzciCiAgIGRjOkZvcm1hdD0iaW1hZ2UvcG5nIgogICBHSU1QOkFQST0iMi4wIgogICBHSU1QOlBsYXRmb3JtPSJMaW51eCIKICAgR0lNUDpUaW1lU3RhbXA9IjE2ODQ5NDE2NDAxNTU0MjYiCiAgIEdJTVA6VmVyc2lvbj0iMi4xMC4zMCIKICAgdGlmZjpPcmllbnRhdGlvbj0iMSIKICAgeG1wOkNyZWF0b3JUb29sPSJHSU1QIDIuMTAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJzYXZlZCIKICAgICAgc3RFdnQ6Y2hhbmdlZD0iLyIKICAgICAgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDowMjQ4MDc5ZS1kMTYyLTQxZmItOGViYS1lMzY2NTRiNGRjMjYiCiAgICAgIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkdpbXAgMi4xMCAoTGludXgpIgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTA1LTI0VDE3OjIwOjQwKzAyOjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/PkaovgIAAAAGYktHRAD/AP8A/6C9p5MAAAAJcEhZcwAADdcAAA3XAUIom3gAAAAHdElNRQfnBRgPFCiKn0kIAAAFfUlEQVRYw82YTWxc1RXHf+e+N2/GH+Px2IEEV02AgqIsIkwgoYS2ahepVGCBUOiCRRdsAAnECthErBBCICGFj4gqRQqBRSABUrVm1URtCSATJ5ASZCPHH0kGgx1/xJl5nvH7uIcFY4iIM/GzZyhHenqL994993/u+f/fOUeos+nNnkHCJoQWRD0UFzCARYhQCVB8NFWWTwNbT99SNxC3GZfIXg9sADYDWxCuRekEskARYQplFPgEOAr045ph6bXRzwKM3pEX5mduQLkHuAvYCqSW8GkIfAT0IBwknT8lH87o/w2M3mpSqL0LeLQKIrOMZSpVUC8hpkf6bPiTg9FbpBn0L8ATwLoqL5ZrFjgNPAeyV47p3E8GRjdLE6r3oTwHXF0n7ikwgfAEIvvlqJYbDkY3uw4a3YLyNrC2niJSBXQG4c+Ie0yORnGSj5OnRhzlUJ4ErrkikBAoAjPVe7ik4F6D8iRxlGvoyegmx4X4NwgHgM6a8fUyIfc8doZbf99Ca66N0uwF+v7tc3DnWoJK6gqep1C2g3NEjsdLlm03GXSbAe4GmmvGZ91vA3Y8P8aN6ztoyaYxxsPaNrbcnmbbvV/x9ONdnPnA+w71otaMcDfYPqDUmDQTUgjdNYPQsSHkgYf62di9mmwujzHNgIsxzWRzeTZ2r+aBh/rp2BDWDLLQjSzpf7VMMIpB6QKcy77Tuc6wdVsHbspbfJspj63bOuhcV8u3g9KFJtufWQbHakfLdQUv3YrI4qwQ+e65616Jr6mknE4KJgIGgctLZnEq5vRgAWsXLyKttZweLFCcqiW7cdVP1DgwQoQwUNPJxIDDG7vXMDszBvqjDWvM7MwYb+xew8SAUzNowgCSDEwyNVMJQU8AAdC06DvBtOG/76xirlLi3u0nufn2HJmWTir+FJ9+PMu7B66nr6eVYLpWCgUoJ0DCGoq3wv/MbXkhmlkN7Ad+XTMY4kBTl6XlKnA8IQ4U/xyUx8wlB3ZpKvcC23Hz49K79Ep6GeWM8VB7J8pfgasaUM6cAx5EzPvSZ4OGljNy1AYIh4C/L6lASWYBcBCHQ0mBJOfM94rk+WjwAsKvgN8te51LK7kPpm3zK89OrZH1v4zaQ9c4RJFrxDgAqjbSlBcpGqlqODoyWq5TP1OtnoU9wPqV9DMKWlRnfJ+/6q3XKpmhSRVbXU8uuhb6Hq1eVsBHdDiGQWPMuZV1mpuMB/aPCK8CXcsMjs6pufCm3/7PPZXs8LhKnJBjMTCH4f2VdIfIcRsgcgh4FpgkiY4u9Mwqc4fn2468M58dSQhkIbNcwBPVNrPSRJdjWgb2AK8BidrdSCX4PGw5/re53IlBK8uZ0EhVyodCq/1uXTTIzfrExZ0oq4H7gfQSmv54IMqcfNFv7/0ilkCSg1CgoKon1ZEv017ar9/cbEvGEFeuQ9mF8IdaBamFuBB7I7tKq3r+EXjnK0tPTxUoIzqqyCBooRIGM2NjX8d1HQIuKFys0cYY2eeJ3riYwinorHUndvmr3nt7Pj1eVNEa5LZALKIVrBTAnopVRx3HzOE44dDwsG3IRHPBxrtTnkv8p5yjLzvoLy72oaC+mvOvz+V79pZbRyYvJbwC80AFQ1GtPevAqFPxCuoxL57ql8ND2vDx7MVW2JTOuMQPdxDvSInmF/yU1ZT+Nd92eGcp97+RH4BE1XHHLDAtomPWmK8mpiYn/AvFOCmRGmLTm53WOOKpDhM/YqApQsLe+dYPnym1f9xvTVGQc8C4iE5Y1Ulj7eRQoTC7Ih1qFJiTQc7vwN9ZUbk6Z+ydp6L0Z2+Ws/uGrAyI8I2gF6yR0vDI6Uq9fDbsZACO3NQuGa3kr3XC7H+ClvJeP1/6IrbBqbNno0b4+xbMlmARngcRbAAAAABJRU5ErkJggg==",turquoiseBlue:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAgCAYAAAC/40AfAAAQDHpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjapZlrciO5joX/cxWzhCRB8LEckiAjZgez/PnAlD1drrpxu+/YUZJKSmWSwMF5pMP+n/8+4b/4yTHmkLW20kt5+Mk99zR40Z73Z9zH+OT7eH9EPp/FX98P6fP+k3jLD/oc2Mrn+K/34/cJ3qfBK/3Lidr6fDB//aDnz/nbjxN9LiS+Il+FfU7UPyeS9H4QPycY77ae0lv96xbmfp/tayft/Rf84XzVpL5PP/+fK9Uz5TqS0pYoD4+fYkkS/ydBBi+UxySZA6PU9/V9LJ+VUJA/1en7p7Oi40vNfzzol658v/rRrU8F2NqPbuX0OUR+FLl8P//x/RD1z125pf/LlXP7vEq/vr/k2e+KflT/Fv9YO3fP7GLkQqnLZ1NfW7yvOG5yCb90Cyyt0J0ChhrP/tv5bWx+AQV71jP5XbHHRLtOzNHiiCfu+7ziYok57ZAqL1JaSe6bTWrqifXSv+y/8aQqXUwaXVy37VnS91rivWx/VrhXa1zZIoemyMkiX/nHv+GffuEcH4UYvZbjrRXrSsmLzTK8c/7IYXQknk9R9Rb46/fnj/dV6KB6lX1EOqee7ymmxv9jArmNFg5Unt8ZjNU+J6BEXFpZTBQ6QNeiaCzxqSlVCEpSo0GDpfvMTDoQVZOxyJRFCr1pyS/NV2q8hyZNvB14HzKjEyqFOWt0aNCsnBX81NzA0FDRrKpFqzbtOoqUXLSUUouT4qhSc6haS6211V5Hk5abttJqa6230VMXSFN76bW33vsYXHNw5sG3BweMMdOUmaeGWWadbfY5FvBZeekqq662+hqWTAz+sGLVmnUbO26gtPPWXXbdbfc9DlA7Ek4+esqpp51+xnfXPm397fcfdC1+upZup/zA+t013q316xTR6US9ZzQshRzpePUWAOjkPXtazDl557xnT4f+RBOLVO+ZRe8YHcw7Jj3xq3chvR31zv2/+hZq/qVv6T/tXPDW/cPO/d63P3XNnITX7dg7hV7UR5g+Pt9tpDZc7H57Dl8vmBBZjQJKZuNivLe6qJ0KRa10Ri3sSNYUdlTSNhm2fHrW3q2WHUz5Uoy2+qhR1zpd42Kfqyg8pnJK5+GxtfY5jWIPR8pZTsbIJJvx55WD1SrglQsUYzWZesXZ6EkvyWy2BWNz5ii8eI4Oy0Oimkb6skc7bSy6pxpOdJYYfF/3mc9YVbJGen163LX5y4iCvNVAAtgR2sr6lTeca5byylbY04Zy0lkYmkRfF1ReNGUqriVaiyxjp7FhRh2DtvV1qia+03tuAKqzuDlD4XICE9HCqRXrsGVorgIPmcFOOteac6Su7GnsGruyokw9o4BjmR0ARLQ/jwP6BpXm2fXsKYML5BPnaTWtkxc79oIWNTBfe9+FB/A3Oe2s0XJfVYMAPuF6JY3l7goPEzen6iXzT9eoNnwSlc5YYkriFIq5D4N668YUQbg5qBuit6R/55niMfQdTow+0WNvrlaf1sLs3mChUH0c5PChozp06pmlnrJKn4+UbX1r7SOmvPuc0vZs2/wMjDgk0VtYqxjIM1dYscoJtGQYvTb2n5n30Tkf6BursV16Av77ZMB90ucZjDxYsOCHFZuw/1vDvlhJ2YKlPEbd6M9gX8Of00jJTeEY176YG8UDIkBnDqWu7YSyZCM+pjMmOzPXqic9Xsw0s7SV/vW4vs+h3T69/xsRhPcJA/Sdzz51OUPUep69F73eWyzNJidiM5NDYiJEZ04GNnB1WcvGinPN48iEv549+ZStTUt7SN8AY5cIG9bWk7bOPPaUgcRz+LSVmWDI8kBTtZh2O42TplnioNGx7n0YJGe0/MGpMZq1AeLCRxkQIcHZWtMZWkOYa88AP85ZhWvSFmu7zEatE3LewfssC3ZnGhI96iseCHaPafkLlUH/LhpjPVm8LgypZPNX44wGO2V4BWJzCQCLcAzitjMDL/VsLue27FlaJ3tjC3UIVH0aX20MX/5u6a6/UK2/lR05de6JOMTWtzzmBhEZYzQ5Tc+QRtkKC9YEqcF9A/RZKmUGwysy8sNYYWlXNWiILrihT3uAes1rQlP7OTTjHJGzo8IDA+YjV1BReKcFo2UGWgBGbZy/l2nQtwGauIVsUNEpOtFTNdaky7kYApqIyuqMhM7HAEsYYApVU0e+i1uMrCdDT3PpQT+o20OXgEPZwBKiy8REeBwv22wNhA5Bw0S4okzNG35mqDMMaVTl0jZunyl6QV/5IMFkSB8EhX0DGTOBi1E3FHh6YICd/fbZ4/06lbX8tzHBVIELRJmYhTI5dvUigxWcYq4Df0CDx70vPGi03hkp6OEsbTWM9+TQzpH22dKT0T0MjdSiEHJh5OJZggTYdLMzQTrDW3BGMmGpBZcF9X0z4AtKWwK71Mlw8mpfgj5HYVNo7UEJEzPBtxjkTEBt6xiDdAYsVyTggptVFBK7tJCwXhycUQBHmk9VZ/3J+pb3qKMXk1kDsJQHfRGmOO1mD64WS8OJ0Eeqv1D4zfekuw8Alrkkx9LjBMkc3TpyalBHtw5Xm1+VDScVdJByj0tUsFq2crIXUjrAbSZdLdHUDWjevuKdTvvuH+xOA8I2f1EAKCEsU6bqJ4QXzzao7UMTENho75h6mPnDc/jLGx7P0oco6u9EYdiMpB/YXNQAhxc37C0AG5j2d1zgmN99oAv7G39lrE2WwVFQSAFzbnfZdi/BBwI23hOlS9XNbWHOC2yaHOWQ9oTRCrS1eQCsRiZNyb0OeIoHcMQ9FRzlZgfXBoPgG/YqcPO5y4YO8EsTN94fJ4UOxYCqOfjFF1d8ImG042Oa7BbE+CgSfPkaACzizdHSzO8HQQSivWFjk/uYPAm08ML0Oxlj5EZNYNeJky5h4/oWxdnIP68xUhgQCmDb/TYGDPUfczW4nmnWYhgam4adQQ9nq24MODXIPlg1aQgIBmG4KYBBB/XDdGW3ZoYLVazkgYAIVFTlwK4oWesYQAwzSyS9Bwwc9beJo2LIKe9nhuPWn5j7E+S+ARf+NuJ+AI5xvnBboOjArMH78+INjoT6cnMQWNkJokBBi1tjvoBTcpOw0GLGKTvF6zLyB5RSqzEiWyhCQviNkiMvIpQOx4LrwlWnOuDTzs49wpNvcMOgHkfsdhrCByEJeJQAQAYxI/9cPgrQYWbsg7iGRgjlDKlb4Xckeidy0ioTqwt/kXRC58hFGsNjt4ovxYBjL5W8R/hT7XnW99wkrPYXxgYc+FmK293mkftBSbYluHaDfDay1ODagSwdcVET7CMc1zkXWy7L8wYA5IChD6II2pNLesCUUOmHHDST05V6iKiQq8PmoDmMeNcbZK6FWBVCpawscajPgdd3bJw/1UBI8UH1ysPGVCYlDDnj6tmki5t/5Jb7oL554rFh39P35a524lgrMIZUxqLORIcNkO7x/RXcZPyxGhIwZcMpmacKIm3vHoF2AEv6TCwP0XopjZ/uAeBiPC7ChlawzcowIPcoBGrObFFLl9TmbeE0fk8y/Abey4xQX2OPm2TjWefgu434eMCaE7EJlhrXcpAJ5sr1MLB+qkP21oEJngtlRWw20WXjJTHJfIOMRjlLYYc7ERNIxcL2ngjaKRDb3zm4D0JVkQ76ZejoBgasfHm8w+27PrWH/0ZoMvZ9PDrgEzzjEkOQzDnJbkQI1HJBrBNpg1bh54gCP57oSZoZzBG/1hJscm+5OwOcymQAn3kqafWSBWYU7/MR/H/57Gk5ne7UuGEn0+RqeW0SRBrZ8rM2bkQBoHtdbCbaCiHS3GevBXYqChEHkZM98k4io4Fq0ihehV0el5yi7vcsRCzHvmBbM4Oo4a4x9YohJUqwb6FgdoRVVSNIMP8kIi3drSHjMD0erTpCd1qn2+IAyR4Xn+OxoVV4EW9CcmBAS3FzARHEKOWgUXZ3TSn9Bpt/xqxBOeJI1a6CyMAwjRiF3/e/JahO+ALcwOUv1OKf3VvwF9jMhkhgPI3gb9uQQhJJzbXjfvMaxLbtaRxOwNgCb3X4uRYOiz7osgKpTT2ZiC2mA9JthP7l4XQXDvNIZH6Nx/1KvNcgGfl9pfVeY7x3uIN7qsn6VckwqA/DCE/hAwWjS0bT5PMFh6KIU2K5UgGJ/Ix+4YFxAUUpGO0Me16HlBLJ7N7AQusY3EcIWpSY/uKmPCBwIAFCvQYH4Sq0P7IYOMwnxzWcdIWHncQITB62vKWGnQbwwIIh89FHLkkihUyJojCjWwnCoSMnqNp+Ch1HL15exsqP9K8hT6ZgXSU7pmveB8AGGhsxIxlEyHRUR3cGFd8hfjvtNrz92ygnOfjoHMkd29zd1JwEFSO/SCM5lh17sqkGRs7usAhuExZRQktLhdkDmdiGOJg1RK3xBb/1jrvVxQA0D7/QbBloVoU3K/pM/Ohk1Qaj8QVcNmkrI0FV3QSH6Dcw8A5GhK24M4zXqUJ92Tk05ARIVVudK89Xbcltox5yHiNKxriMivWDmO/UTi/bMKIGLoOeM0TEp1z9htwS1HXZ5c5l8EYb+G+mFgEnw/UmWgJenLHN08Coma6DCSK7em/xWlxCM3XiubnDtT08jiIgBFVwljwbIIS6gjMmRtygIiwfowtA/G9kD21jsjGMrXa/fSBQYuxsTByznPXeSirOK3q7VisGrAOqjgQwRMAcYSSn5ERQfKN0QqVcZ5YyKPgX9sls0HlmaeJ8KromfhsYSNjoiZHmlExMo4iwUqrYCl+y3HtnfmNQi9f5yJWlV4OH5YUc0dd7/39TXvB8ovgND7Sdo/e9twbhx/fmZU7YeMcrEsCM0TDfzGyM9AxM+IgMBLI9JsPKaY+TeInkhPeW30IgFsQJbPrUODmW2UTFoTGuACs4sW1K0akJGvg1Cf/+ZtHnmbX67RbAU2uwXvYoDS8GzzKM5LRNYql+H/NQs4gJEjDb88GPp/sXRsyH39RdW+vohMhra6bf0T0EU4pL1EBKRvV8yMCw/e5BHtJwrJAeico3PhZTupL9jk71O511WcC+53vPadEifNmqD/6+Ca1a+B57arkpfxFk/S4oBApPH1aOizMC7lK/D7cCm8Gpmdv8LMsTKPbUoy1mXBbBt/uYUu7kt8X4iEBJVtkKezRr12rliBml/GgfMnphhinBrj0+tkwZfgmFOlagbcwpjomMXOgZY+i+WTBVpb6OMbB3ZnOgIMktAhxTMxLpZXCJvwYdgJdOAiLLEXEflQefJrV5ANNaUX5MRN1kPYPqoWe/TcPEkUmoDPyNRmNehZrh+bo7Yohe/P4KKbNMwW7XxCDD7hYmLI3RhiJ8hjBiC6vitzy3/9nFcwD2X+tecsqjzW1bh3oWs0z623xJIO5TgydMFMUaXh1X4RiCLcheaIZHJKDKqm4NMcBcTmjxGP3GAdIIVtIepjocEsqDaI07Tyi2npk9YovfGDpzY4E8CST/O91aOT5FPS24MRIS9Ze+hF+Ehmaa/4H7fwGCg3GYVGiblAAAAYRpQ0NQSUNDIHByb2ZpbGUAAHicfZE9SMNQFIVPW0tFKx3sUMQhQ3WyICriqFUoQoVQK7TqYPLSP2jSkKS4OAquBQd/FqsOLs66OrgKguAPiKuLk6KLlHhfUmgR44PL+zjvncN99wH+ZpWpZs84oGqWkUklhVx+VQi9IogYIlT9EjP1OVFMw3N93cPH97sEz/K+9+caUAomA3wC8SzTDYt4g3h609I57xNHWVlSiM+JxwxqkPiR67LLb5xLDvt5ZtTIZuaJo8RCqYvlLmZlQyWeIo4rqkb5/pzLCuctzmq1ztp98heGC9rKMtephpHCIpYgQoCMOiqowkKCdo0UExk6T3r4hxy/SC6ZXBUwciygBhWS4wf/g9+zNYuTE25SOAkEX2z7YwQI7QKthm1/H9t26wQIPANXWsdfawIzn6Q3Olr8CIhsAxfXHU3eAy53gNiTLhmSIwWo/MUi8H5G35QHBm+BvjV3bu1znD4AWZpV+gY4OARGS5S97vHu3u65/XunPb8fN2tyj8UDOK0AAA0aaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJYTVAgQ29yZSA0LjQuMC1FeGl2MiI+CiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiCiAgICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgICB4bWxuczpHSU1QPSJodHRwOi8vd3d3LmdpbXAub3JnL3htcC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgeG1wTU06RG9jdW1lbnRJRD0iZ2ltcDpkb2NpZDpnaW1wOjEwNGNlNWFhLTE1YzctNGI4Yi1iOGU1LTFmYWQyNWFiYzBhZCIKICAgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpkNDMyZTY1Zi0xOThhLTQxM2EtYWYyMy1jNzhlNzczNGRlN2QiCiAgIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoyNzExODVkMi03MWZiLTRhZDMtYTJmMi1iNjM3OWU3MDc1OTEiCiAgIGRjOkZvcm1hdD0iaW1hZ2UvcG5nIgogICBHSU1QOkFQST0iMi4wIgogICBHSU1QOlBsYXRmb3JtPSJMaW51eCIKICAgR0lNUDpUaW1lU3RhbXA9IjE2ODQ5NDE4NjYyMzgzMjQiCiAgIEdJTVA6VmVyc2lvbj0iMi4xMC4zMCIKICAgdGlmZjpPcmllbnRhdGlvbj0iMSIKICAgeG1wOkNyZWF0b3JUb29sPSJHSU1QIDIuMTAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJzYXZlZCIKICAgICAgc3RFdnQ6Y2hhbmdlZD0iLyIKICAgICAgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo1NGFiYzNkYS1lZWJiLTRlZjctYjdjNS04ZDRjODY5OGVjODMiCiAgICAgIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkdpbXAgMi4xMCAoTGludXgpIgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTA1LTI0VDE3OjI0OjI2KzAyOjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/Pj0tlUwAAAAJcEhZcwAADdcAAA3XAUIom3gAAAAHdElNRQfnBRgPGBru/VeEAAAABmJLR0QA/wD/AP+gvaeTAAAFO0lEQVRYw9WYe2xTVRzHTx97dYS5B1UHa+/tY12dDoOKWyIGlfgHkCkSNTHGwHxA3NiAP/A5x4CMKEzdYL29YyAyBxKQZbI+NvYIaowaH9Ogi2GRbGjcFrbBNrq2a2/9nq5LCFnbbfSOeZJPTs/t6Tm/7/39zu+cU0IiXc7WSImNX0BsZiVYAhigmah5tHklsZrjSYtJSuZtaeSiiJU3gHUwfC9oARfBIHBP1DzaPH1eRuzmp0E6aTgSNX9EWMwSvOkMGPgG+CpguG8a0H7nA78zkMYqye0V0lYXDSHrYUw7cE5TxM04/b+38+vJ+RPRt0eIjVeAAhhyCQizFDKJEBjndaCY49Di4+CRlzFxfwSE3Ciol9i4DSBujoRUy7HIszFxdwSF3CioBy8qm1g5ufhirHwyJqwHrrDGWTlg8hFL1URN2+EF0XFPkyYuSWwhUVgnT2CygXBG3dFcM7bz1/au1u7OK9/93eWidUlHe1dCc810EsUAsXOPQZCI3rGZ6Wb4EXAEM0SCUFnZduz6T/09l4bHXYOCz+f0+XxeWg+7XYM/4vnKtlqHJHSIOrAHlYMFYmawRNCKycaDGZLVfMRdf/nPDpfXM+abotDnpy93dtzXfNgdZg+im2uimJ6h66UTeIMZsrat1jvkdPRRb/imLt4hl6N3DfqFEIPvOMzDJYspJsWfbUKEyFNttcKoyzkKo4UgYoRRt3OE9guT1br984nsmQ7gCWbIipaj4xeu9v/hFQTPlG7B89+u9v9O+4UQQ8f/BSlaVM8kgBOhji4p9mpvwQ+Wfwddjp6bQw2u8g44HT3535/tTUa/0Eccvg4sFDE1m2PBZkx2LVRqVcLQvG/PDDX1/tVxze38x+UZH6O1He28b764qgwtxOcf327eBGLFE9NikiD3qzDZhVBJgCJH3KubDnkfbD4s5Jw74qM1bcvDnxq8/vHt1SrS9InIJ2m7OQ4UYsKhCB9lJqHj0gPsHJzPvsS9w8rRRPDptI40M8PlH9fOJ5M5K008rsZmIwi5gc4QN9Zja8zn+5epch9PTFepU1iGuVunVqeyS9g0iv8zy96l0WiSjIsXx28iJEJhaONkMGB5YP14bkmI1SzIz1T0pRa9VKnNzCjUMcwWUAS2BtgWYLJN+xTo1OyrOhW7xsAwqnSGkd3i+uGjkT5Xw6DLt3AdEKQNB4YXbdtwQpuVuRtG7pwhxWA7vJgRib0nDuSDvtkIkjYcHE3aVWjRLL9/zyyETPK2Vq3OidAaOhiPDLcbxo3MRIik0eReWPnO15pHHiqbpYhS6hkNw7wAz0To6GM5hAzH3wkDa6b7x4bEwnkUfMnP6idX7Nex7GxElIDNerV6hU6jSdbp9RHck2w0w/FaGGoJm7KtnCfmWNlF1fOrK3Q6bekMRFABO7QM8yxewFLUi+5JSxPpAmcxy0gjt1Rytir4NcHKCfJTH/al5j1j1hr0pWEML55YD+x2GP6cVqNZZjQYEvUsG4vP4v8jKju5L1p6qnytxGKa6qogyOorBpVbXvxMe69xdxABb9I0DAGvIIRWp7NsBsJIoWVZKfaXuf+jMKp2b6z8+Adb4aErNwpCCh5J2pnfoH0ga08g7invBfaQjXjjuQifhyEgLdNolJP5UqR17y+QnSwvk1i565OZK6F8RzubvWwvDH8LvKZnmHXY8HKws+sNLJtI5muJ/7hYElOzJ1V+fN9R7CVDClPJOVXuqo06vS4HQjTwgDKDZRXk/1JiD7wrieFLk6T1lczCXUVK7aPZinS9XrTw+Q+Tql7SUmvGuQAAAABJRU5ErkJggg==",defaultOffset:[-25.5,-32]}},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/MarkersOther.js":function(e,t,o){"use strict";o.r(t);t.default={drawing_portail:[{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAMAAABjq9sOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAClFBMVEUAAAD//////////////////////////////////////////////////////////fv/+fL//////////////////////////////////////////////////////////////////////////////////////v7//////fr/////+vL//////////////////Pj//////////////////////////////////////////////////////////////////////////v7//////////////////////////////////////v7//////////////////////////////////////////////////////////////////////////////v7/////////////9+v/9ej/9+z/7tT/3q3/y3//v2D/uU//+O7/5L3/xW//piH/mQH/mAD//v7/79f/yXj/oxr/lwD/mQD//fv/58T/tkr/mQL//v3/58P/sTz/79b/tUf/x3X/mQP/5Lv/oRX/ng3/s0H/w2n/u1b/4rf/8Nr/9eb/7tX/pBv/x3P/8d7/3av/79j///7/zH//mgX/2qP//vz/9+3/wGH/qyz/6Mb/vFj/sj//7NH/wGL/rTP/6sr/+fH/yXf/oBP/37H/2aH/6sz/nw//oBT/0pD/+vT/9OX/uE7/pB3/y33/7ND//Pj/26b/mwj/nAn/sT7/w2r/zYL/8+P/ulT/mwb/5Lz/qCj/+/b/1JT/nQz/nQ3/9uj/w2j/mAH/9un/6sv/skH/lwH/3Kf/pB7/pR7/3Kj/nAj/y37/+/f/8t//mQT/rDD/rDH/1JX/7tb/4LT/pR//z4j/z4n/vFn/7dP/4rn//fq31ydlAAAAY3RSTlMAAAMQLWqp1fMBEUOe6Pn8/gUukuz+CU3EW9kGUNsCMsvxrzbuePq1/OD++P3qw/2N+0j2GMcHYx68BOkMd/x2IKf+pjrS0WDvXxSL+Cy3TEsIdRyhoDXINOSK8rY72mnrhe2jCycJAAAAAWJLR0QB/wIt3gAAAAd0SU1FB+cFGQAhKnVAysoAAAMmSURBVDjLY2AAA0ZGJmYWVjZ2juRkDnY2VhZmJkZGBiTAyMnFzcPLxy+QkpqaIsDPx8vDzcWJpIJRUEhYRDQtPSMzKzs7KzMjPU1URFhIEK6CUUxcIjknNy+/oBAMCvLzcnOSJcTFGGHyklJFxSWlZYWF5WBQWFhWWlJcJCUJUcEoLSNbUVlVDZWFqqmuqqyQlZEGqZCTV6iprStDkQeqKKurrVGQlwMawMWTXN+ALg9S0VCfzMPFyCAorpjW2ASzvQwIYOymxjRFcUEGLqWa5pZCqONa27Ky2lqhji1saa5R4mJQVklpL4M6rKOzq7u7q7MD6uCy9hQVZQZVtZ5eML+woK+/KBkIivr7CiAivT1qqgzqGhPA3MKy7ImTksFg0sRssEMKCyZoqDNoak2GKJ8ydVoyFEybOgUiNllLk0F7+gwwp2zmrGQ4mDUT7KzCGdO1GZJTZkMUzJmLUDB3DkTB7JRkBp3p8yAK5i9AKFgwH6Jg3nQdBt2FiyD2LV5SBJMvWrIYIrZooS6Dnv5SCKesPQ2mIK0dEpyFS/X1GAwMly2H8FasXAWRX7VyBURk+TJDAwYj49VroAG3dt16oC1F69ethQbtmtXGRgwmphs2boKq2Lxl67ZtW7dshspv2rjB1ITBzFxn+44yeGTu3AmPzrId23XMzRg4LSwrdu2GJQdQkoQxd++qsLTgZGC0MrLes3cfZoLZv3ePtZEVMM0x2tjqHDh4CD3JHdp62M7eBpxqOR0cnY4cPYaaaI8dPeLk7MAJSfZyLq4Vx08UIqkoLDx5qsLNRQ6WMQTdPfasO42sYPOZsx6eiKzF6eXtc27HebiKwvM7zvl4e3EiZU5fv+TcC4icdTFX1M8XNXv7yyZfaoEpaLmULBuAIs/AEGivsrAd4ozCze0LVYICUeUZGIND+C63gTJQYVNbMV9oMJoBQBVh4clXroKC+uqV5PAIDHmgCsnIimv7Cgv3Xa+IlMQiDwzyqOiUG1Om3EiJjrLBpgDojBi7mxcu3LSLCcYqD1QRGzft1q1pcbE45IExH59w+3ZCvBUuBUBnJCYlJaI6AABB269xUXFElwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMy0wNS0yNVQwMDoyOTozNyswMDowMEpaoL8AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjMtMDUtMjRUMjI6NDM6MjIrMDA6MDB1WI3HAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAMAAABjq9sOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAACplBMVEUAAAD//////////////////////////////////////////////////////////fz/9/P//////////////////////////////////////////////////////////////////////////////////////v7//////Pr/////////////////////+/n//////////////////////////////////////////////////////////////////////////v7//////////////////////////////////////v7//////////////////////////////////////////////////////////////////////////////v7/////////////8+3/8er/9O7/5dj/zrX/s4z/oHH/lmL/9fD/2MT/qX7/ejj/Zxz/Zhn/Zhr//v7/59z/rof/djL/ZBf/Zxv//fz/3Mr/k13/aBz/ZRn//f3/i1D/5tr/kVr/ZRj/rIP//v3/1sL/cy3/byf/jVX/pnn/aB3/mmf/077/6d7/8On/5tn/dzT/q4H/6+H/zbP/lmH/s43/ah//yK3/9O//oXL/gUP/3cz/m2n/jVT/5Nb/onP/hkn/4ND/9vL/rob/cSv/0Ln/x6r/Zxr/Yxb/pXn/8+7/4NH/cCj/ciz/vZz/+PX/7+f/lWH/eDT/sov/49X/+/n/ya//ayH/bCP/jFL/pnr/tJD/7ub/mWb/ZBb/aiD/18P/fj3/+vf/vp//bSX/bib/v5//pXj/8uv/yrD/eDX/eTb/y7H/bCL/soz/7OL/18T/g0b/hEb/v6D/cy7/wKH/9vP/5tv/jlX/59v/0rz/ejf/uJX/nGr/aR//nGv/g0X/1cD//PvyoJNrAAAAYnRSTlMAAAMQLWqp1fMBEUOe6Pn8/gUukuz+CU3EW9kGUNsCMsvxrzbuePq1/OD4/erD/Y37SPYYxwdjHrwE6Qx3/HYgp/6mOtLRYO9fFIv4LLdMSwh1HKGgNcg05IrytjvaaeuF7djGYAwAAAABYktHRAH/Ai3eAAAAB3RJTUUH5wUZACErAkf6XAAAA0JJREFUOMtjYAADRkYmZhZWNnaOpCQOdjZWFmYmRkYGJMDIycXNw8vHL5CckpIswM/Hy8PNxYmkglFQSFhENDUtPSMzKyszIz0tVVREWEgQroJRTFwiKTsnNy+/oBAICvLzcnOykyTExRhh8pJSRcUlpWWFheVgUFhYVlpSXCQlCVHBKC0jW1FZVV1TjgRqqqsqK2RlpEEq5OQVaivrygrLUUBhWV1lrYK8HNAALp6k+oZGNHmgisaG+iQeLkYGQXHF1KZ8mO2NZWUwtYX5TamK4oIMXErNLa0FEKGatvbMzPa2GoiSgtaWZiUuBmWV5I5GiHxnV3dPb29Pd1cnREVjR7KKMoOqWl9/IcTICROLkoCgaOIEiJWF/X1qqgzqGpPA3MKyycVgeaCK4slgTxXmT9JQZ9AUmAJRPnVaRRIUVEybChGbIqDJoDV9BpjTOHNWEhzMmgl2VuGM6VoMScmzwQrK5sxFKJg7pwysYHZyEoP29HkQE+YvQChYMB9iwrzp2gw6CxeBFRQsXlIEky9ashgcMoWLFuow6OotBXOWLV+xEqZg5Yrly8CalurpMugbrFoNMWLN2nUQ+XVr10AMWL3KQJ/B0Gj9BkhINm7ctBkkv3nTRqjAhvVGhgzGJlu2boMG7fYdO3ft2rljOzTot23dYmLMYGqmvXvPXmgE7i3bt69sLzQ69+7ZrW1mysBpblGx/0AjLLGBAITdeGB/hYU5JwOjpaHVwUOHMRPMkaMHrQwtgWmO0dpGO+VYAXqSK+g4bmtnDU61nPYOjgvaURNdYWP7Kkcne05Ispdzdqk4cbIGSUVhzanTFa7OcrCMIejmfnDTmQKEgoIzZw+6eyCyFqenl/e5PeVwIwrL95zz9vLkRMqcPr5J5y/AHFpYcPG8qK8Pavb2k026dBkaGo2XryTJ+qPIMzAE2KlcXbEN7IyCbR1XVQIDUOUZGIOC+a61VwMtKay+foMvJAjNAKCK0LCkm7dAIX3rZlJYOIY8UIVkRMXtI4WFR25XREhikQcGeWRU8p27d+8lR0VaY1MAdEa0bdr9+2m20UFY5YEqYmJrHzyojY3BIQ+M+bj4hw/j4yxxKQA6IyExMQHVAQBpWLIaKI0lIgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMy0wNS0yNVQwMDoyOTozNyswMDowMEpaoL8AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjMtMDUtMjRUMjI6NDQ6MDYrMDA6MDAh7rXQAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAMAAABjq9sOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAACbVBMVEUAAAD/////////////////////////////////////////////////////////+/v/8vL//////////////////////////////////////////////////////////////////////////////////////v7/////+vr/////////////////////+Pj//////////////////////////////////////////////////////////////////////////v7//////////////////////////////////////v7//////////////////////////////////////////////////////////////////////////////v7/////////////6+v/6Oj/7Oz/1NT/ra3/f3//YGD/T0//7u7/vb3/b2//ISH/AQH/AAD//v7/19f/eHj/Ghr/+/v/xMT/Skr/AgL//f3/w8P/PDz/1tb/R0f/dXX/AwP/u7v/FRX/DQ3/QUH/aWn/Vlb/t7f/2tr/5ub/1dX/Gxv/c3P/3t7/q6v/2Nj/BQX/o6P//Pz/7e3/YWH/LCz/xsb/WFj/Pz//0dH/YmL/MzP/ysr/8fH/d3f/ExP/sbH/oaH/zMz/Dw//FBT/kJD/9PT/5eX/Tk7/HR3/fX3/0ND/+Pj/pqb/CAj/CQn/Pj7/amr/goL/4+P/VFT/Bgb/vLz/KCj/9vb/lJT/DAz/aGj/6en/y8v/p6f/Hh7/qKj/fn7/9/f/39//BAT/MDD/MTH/lZX/tLT/Hx//iIj/iYn/WVn/09P/ubn/+vpgzcAPAAAAYnRSTlMAAAMQLWqp1fMBEUOe6Pn8/gUukuz+CU3EW9kGUNsCMsvxrzbuePq1/OD4/erD/Y37SPYYxwdjHrwE6Qx3/HYgp/6mOtLRYO9fFIv4LLdMSwh1HKGgNcg05IrytjvaaeuF7djGYAwAAAABYktHRAH/Ai3eAAAAB3RJTUUH5wUZACErAkf6XAAAAu1JREFUOMtjYAADRkYmZhZWNnaOpCQOdjZWFmYmRkYGJMDIycXNw8vHL5CckpIswM/Hy8PNxYmkglFQSFhENDUtPSMzKyszIz0tVVREWEgQroJRTFwiKTsnNy+/AAzy83JzspMkxMUYYfKSUoVFxSUFSKCkuKhQShKiglFaRra0rLyiAAVUlJeVyspIg1TIyStUVlUXYIDqqkoFeTmgAVw8STW1BVhAbU0SDxcjg6C4YmpdPTYF9XWpiuKCDFxKlQ2NMLGm5szM5iYYr7GhUomLQVkluQXmsNa29o6O9rZWmINbklWUGVTVOrug3u/uKUwCgsKebmiAdHWqqTKoa/RCuVl9YHmgir4sqJZeDXUGTYEMCK9/wsQkKJg4oR8iliGgyaA1aTKEM2VqEhxMnQIRmzxJiyEpeRqEM30GQsGM6RCxaclJDNqTZkI4s2YjFMyeBRGbOUmbQWfOXAhn3vxCmHzh/HkQsblzdBh09RbAfJ0KU5AKC5kFeroM+gYLF0F4i5cshcgvXbIYIrJooYE+g6HRsuVQ9StWrgLaUrhq5QqowPJlRoYMxiar16yFCqxbv2Hjxg3r10G5a9esNjFmMDXT3rQZEYVbtiDYmzdpm5kycJpblG7dhi26t20ttTDnZGC0NLTavmMnpnzTju1WhpbANMdobaOdsisfXT5/w25bO2twquW0d3Dc04ymIr95j6OTPSck2cs5u5Tu3YeqYN/+UldnOVjGEHRz375yLbL8ugMH3T0QWYvT08v70ObDCPnDmw95e3lyImVOH9+knCMIBUdzRH19ULO3n2zSMXjibjyWJOuPIs/AEGCnMqcF6ox1LXNUAgNQ5RkYg4L5aprBGai+uYgvJAjNAKCK0LCk4ydACk4cTwoLx5AHqpCMKD0JDPKdp0ojJLHIA4M8Mir5dH//6eSoSGtsCoDOiLY9c+TIGdvoIKzyQBUxsRPPnp0YG4NDHhjzcfHnzsXHWeJSAHRGQmJiAqoDAOgCnVLAYqeOAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTA1LTI1VDAwOjI5OjM3KzAwOjAwSlqgvwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0wNS0yNFQyMjo0NDoxOSswMDowMBsMxacAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAAAAElFTkSuQmCC",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAMAAABjq9sOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAACf1BMVEUAAAD//////////////////////////////////////////////////////////P3/9Pn//////////////////////////////////////////////////////////////////////////////////////v7/////+/3/////9fr/////////////////+vz//////////////////////////////////////////////////////////////////////////v7//////////////////////////////////////v7//////////////////////////////////////////////////////////////////////////////v7/////////////7/f/7PX/8Pf/3O7/vd7/mcv/gL//c7n/8fj/yuT/jMX/Tab/NJn/MZj/Mpj//v7/3+//k8n/R6P/L5f/M5n//P3/0Of/brb//f7/z+f/Y7H/MJf/bLX/kcf/yeT/Q6H/PZ7/ZrP/h8P/d7v/xeL/4fD/6/X/3e7/SaT/j8f/5PH/u93/crn//v//mMz/N5r/tdr/gcD/Vqv/0ej/ebz/ZrL/2uz/gsD/XK3/1er/8/n/ksn/QaD/wN//tNn/1ur/P5//QqD/ptL/9vr/6vT/cbj/l8v/+vz/t9v/OJv/Opz/ZLH/iMP/m83/6fP/d7r/N5v/Uqj/Mpn/+Pv/qdT/PJ3/7fb/Z7L/uNz/SqT/S6X/udz/OZz/mMv/5fL/drr/Waz/Wqz/qtT/RKH/q9T/9Pn/3u7/Z7P/w+D/TKX/oM//PZ3/erz/Npr/3O3/x+L/+/0F2pMDAAAAY3RSTlMAAAMQLWqp1fMBEUOe6Pn8/gUukuz+CU3EW9kGUNsCMsvxrzbuePq1/OD++P3qw/2N+0j2GMcHYx68BOkMd/x2IKf+pjrS0WDvXxSL+Cy3TEsIdRyhoDXINOSK8rY72mnrhe2jCycJAAAAAWJLR0QB/wIt3gAAAAd0SU1FB+cFGQAhKwJH+lwAAAM4SURBVDjLdZNnWxNBFIVnEZGEGpBeROkSuoIUwS4KFkTFQp+wFEWzk+AmEFhEDBZQlA5ioxcRsCDYELADSvlBbnY2kACeTztz3r1znztnAOBEEAYbDDcabTKG0HiT0UbDDQYEAXRECIQmpmbmFpaS7GyJpYW5mamJUKBDECIr6802ZE5uXv6lS/l5uTmkzWZrK9EyQdja2cPLBVeuSinEipJevVJwGdrb2RJa38FRJi+8RiOk4IQQfa1QLnN0wATh5OyiLCqWUgodUdLiIqWLs5OGcN3ipiopZZBCT4gpLVG5bXFlCwhNobxsta8hyuTQVEgAkd1W8rpUezrDSvstvU5utRMB4TZV+Q18PqIqbubn36ygMELdKFdtEwJ3D4ma4X+pvHX7zp3btyr5goxa4uEOPL3uViHsV9+TQVaye9WYQFV3vTyBt899bomYGvkDyOmBvIZrBEnv+3gD3+0PMV5bp4K8VHW1eO/hdl/gR9ZzC6ahES6rsYFrC9WTfgBKmjiAbm5ZAVqaaQ5okkAgJltxhUdtK0DbI1yhlRQD/8dPOIB6+kym9WXPnnKTQU8e+4OAwOe4IVpNagFSTeO954EBICi4vQOvOru6sd/d1Yl3OtqDg0BIaE8vnjRT1dfCniJr6avCo6V6e0JDwI6d/QMv+NEOvhwaHh56OciP/sVA/84dICxcPPKK5i+Qpl+/pmn+OulXI+LwMCDYFaEsf8PH6a0mk2/5UL0pV0bsEgAiMiRq9N3Y2sCMvRuNColkM0dE7xaPq6nVkaPU4zGx0VxqBXv27mtr1g8dYt637du/R4Bj73rgoPLDR90aiPr0WXnogKv2YYgOx432Tejknhr8Mhp3ZOVpCY7GJ0xOKZZLIMXUZEL8UYHO4zx2HBZMaw9B1NcCm+PH9J/3CRf47Tt/CPX9B3Q5qecDkBjr8VON26Amhn56nErU9wGRdNr8129NfJH0t9z8TNKqAixxNhnOzGpGPTsDk8+t8VnC4bxybgyhP3PK8w7r+OzIL1yU/J2f/yu5eCF6PYBtIyVmYXp6ISYlaV2fJVLTVIuLqrTU//jszadnLC1lpEf+D2DbyMzKytRv4B+n7ayGbXJj1gAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMy0wNS0yNVQwMDoyOTozNyswMDowMEpaoL8AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjMtMDUtMjRUMjI6NDQ6MjkrMDA6MDCVg8JEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAMAAABjq9sOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAACslBMVEUAAAD////////////////////////////////////////////////////////+/fz79/T////////////////////////////////////////////////////////////////////////////////////+/v7////9/Pv////79/X////////////////9+/r////////////////////////////////////////////////////////////////////////+/v7////////////////////////////////////+/v7////////////////////////////////////////////////////////////////////////////+/v7////////////58+/48ez69PDz5dzpzr3cspnUoIDQlXP69PHt18rYqIzDeU27ZjS6ZTG6ZTL+/v7059/brpPCdUe6Yy+7ZjP+/fzv29DOkm67ZzS6ZDH+/f3v28/LiWO6YzD05t/OkGy6ZDDarJH+/v3t1snAckO+bj3MjWbUn4DXpYfRmXfr08X16eH48Ovz5t3CdknZqo/26+TozLvQlXL//v7dspi8aTfmyLXUoIHGgFbv3NHSm3m5Yy/LjGby49rVoYLIhVzx39X79vPbrZK/cEHq0MDmxrS6ZjK5Yi/58/Dx4Na+bz/AcULhvab8+Pb47+rPlHHCd0ncsZf9+/rnybe9aji9azrLi2TXpojdtJv37unt18nFfVK7ZTL8+vjivqm+bTziv6n58e3WpIfWpYfx4NXMjWfnyrjCd0rDeEvoyrm9azncsZj27OXRmHbHg1nIg1rt2Mriv6rAckTjwKv79vS8ajm9ajnXpYj05t7r0sPDeUzfuKC+bT3Sm3q8aTbIglns1cf9/Pua7OXrAAAAY3RSTlMAAAMQLWqp1fMBEUOe6Pn8/gUukuz+CU3EW9kGUNsCMsvxrzbuePq1/OD++P3qw/2N+0j2GMcHYx68BOkMd/x2IKf+pjrS0WDvXxSL+Cy3TEsIdRyhoDXINOSK8rY72mnrhe2jCycJAAAAAWJLR0QB/wIt3gAAAAd0SU1FB+cFGQAhKwJH+lwAAANISURBVDjLY2AAA0ZGJmYWVjZ2juRkDnY2VhZmJkZGBiTAyMnFzcPLxy+QkpqaIsDPx8vDzcWJpIJRUEhYRDQtPSMzKzs7KzMjPU1URFhIEK6CUUxcIjknNy+/oLAICAoL8vNyc5IlxMUYYfKSUsUlpWXlRUUVYFBUVF5WWlIsJQlRwSgtI1tZVV1TW4EEamuqqyplZaRBKuTkFerqGxqLKlBAUWNDfZ2CvBzQAC6e5KbmFjR5oIqW5qZkHi5GBkFxxbTWApjtLY2NMLVFBa1piuKCDFxKbe0dhRCh2s6u7u6uzlqIksKO9jYlLgZllZSeFoh8TW9f/4QJ/X29NRAVLT0pKsoMqmoTJxVBjJw8pTgZCIqnTIZYWTRpopoqg7rGVDC3qHFayfRkMJheMg3sqaKCqRrqDJpaMyDKZ86qS4aCulkzIWIztDQZtNNmgzktc+Ymw8HcOWBnFc1O02ZITpkHVjB/wUKEgoUL5oMVzEtJZtBJWwQxYfEShIIliyEmLErTYdBdugysoHD5imKYfPGK5eCQKVq2VJdBT38lWMGq1T1rYArW9KxeBVawUl+PwcBw7TqIk9dv2AiR37hhPURk3VpDAwYj402bITHdsmXrQqAtxQu3boEEbe3mTcZGDCam27bvgAbtzl279+zZvWsnNOh3bN9masJgZq6zt3c+NALnz585c/58aHTO792rY27GwGlhWblvPzQ5HQClyQPQRLV/X6WlBScDo5WR9cFDhzETzOEjB62NrIBpjtHGVufosUL0JFd4/KidvQ041XI6ODqd6EJNdEUtJ084OTtwQpK9nItr5anTtUgqimrPnK10c5GDZQxBd4+DW88VIhQU7jx/0MMTkbU4vbx9LlysgBtRVHHxgo+3FydS5vT1S869BHNoUeHlK6J+vqjZ2182+eo1aGjUXrueLBuAIs/AEGivcqPnJtgZhbdu31AJCkSVZ2AMDuG7cxKU3otqTpbwhQajGQBUERaefPceKKjv3U0Oj8CQB6qQjKy8f7io6MH9ykhJLPLAII+KTnn46NHDlOgoG2wKgM6IsUt//DjdLiYYqzxQRWxc3ZMndXGxOOSBMR+f8PRpQrwVLgVAZyQmJSWiOgAArqa4BP2YBKMAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjMtMDUtMjVUMDA6Mjk6MzcrMDA6MDBKWqC/AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIzLTA1LTI0VDIyOjQ0OjQ2KzAwOjAwpaS7KgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAMAAABjq9sOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAChVBMVEUAAAD//////////////////////////////////////////////////////////vv//fL//////////////////////////////////////////////////////////////////////////////////////v7//////vr//////////////////////vj//////v///////////////////////////////////////////////////////////////////v7//////////////////////////////////////v7//////////////////////////////////////////////////////////////////////////////v7//////////////Ov/++j//Oz/+dT/863/7X//6mD/50///O7/9r3/62//4SH/3QH/3AD//v7/+df/7Xj/4Br/3QD//vv/98T/5kr/3QL//v3/98P/5Tz/+db/5kf/7HX/3QP/9rv/4BX/3g3/5UH/6WD/62n/6Fb/9bf/+tr/++b/+dX/4Bv/7HP/+t7///7/86v/+dj/3QX/8qP//vz//O3/6mH/4iz/98b/6Fj/5T//+dH/6mL/4zP/+Mr//fH/7Hf/3xP/9LH/8qH/6mn/+Mz/3g//3xT/8JD//fT/++X/507/4B3/7X3/+ND//vj/86b/3Qj/3gn/5T7/62r/7oL/++P/6FT/3Qb/9rz/4ij//fb/8ZT/3gz//Oj/62j/3AH//On/+Mv/86f/4R7/86j/7n7//vf/+t//3QT/4zD/4zH/8JX/3xX/3gj/9bT/4R//74j/74n/6Fn/+dP/9bn//vrsMn7uAAAAYnRSTlMAAAMQLWqp1fMBEUOe6Pn8/gUukuz+CU3EW9kGUNsCMsvxrzbuePq1/OD4/erD/Y37SPYYxwdjHrwE6Qx3/HYgp/6mOtLRYO9fFIv4LLdMSwh1HKGgNcg05IrytjvaaeuF7djGYAwAAAABYktHRAH/Ai3eAAAAB3RJTUUH5wUZACErAkf6XAAAAxZJREFUOMtjYAADRkYmZhZWNnaOpCQOdjZWFmYmRkYGJMDIycXNw8vHL5CckpIswM/Hy8PNxYmkglFQSFhENDUtPSMzKyszIz0tVVREWEgQroJRTFwiKTsnNy+/AAzy83JzspMkxMUYYfKSUoVFxSVAqVIwADJKiosKpSQhKhilZWTLyisqobJQNZUV5WWyMtIgFXLyClXVNQUo8iBTaqqrFOTlgAZw8STV1qHLg1TU1SbxcDEyCIorptY3IGxHuKShPlVRXJCBS6mqsakAKt3c0tra0gxVUtDUWKXExaCsktwGFahs7+js6ursaIc6uKAtWUWZQVWtuwfML8jv7etPAoL+vt58iEhPt5oqg7rGBDC3oCBrYmESGBROzALbUpA/QUOdQVMgA6J80uQpSVAwZfIkiFiGgCaD1tRpEM70GUlwMGM6RGzaVC2GpOSZEM6s2QgFs2dBxGYmJzFoT50D4cydh1Awby5EbM5UbQad+QsgnIWLCmHyhYsWQsQWzNdh0NVbDPX1klSYgtQlUKHFeroM+gZLl0GUL1+xEiK/csVyiMiypQb6DIZGq1ZD1a9Zuw5oS+G6tWugAqtXGRkyGJus37ARKrBp85atW7ds3gTlbtyw3sSYwdRMe9t2RGTu2IGIzu3btM1MGTjNLcp27oIlB0Rslxbs2llmYc7JwGhpaLV7z17MBNO8Z7eVoSUwzTFa22jv238APckd2HLQ1s4anGo57R0cD7Wgqig40HLI0cmeE5Ls5Zxdyg4fQVZQUHDkaJmrsxwsYwi6ue9euxFJRcGmY8fdPRBZi9PTy/vE9pNwFQUnt5/w9vLkRMqcPr5JOacQOet0jqivD2r29pNNOnMWpuDsmSRZfxR5BoYAO5X5becgcbSpbb5KYACqPANjUDBfbQsoAxU0tBTxhQShGQBUERqWdP4CKKgvnE8KC8eQB6qQjCi7uLegYO+lsghJLPLAII+MSr48adLl5KhIa2wKgM6Itr1y6tQV2+ggrPJAFTGxU65enRIbg0MeGPNx8deuxcdZ4lIAdEZCYmICqgMA6f6os3UKuXAAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjMtMDUtMjVUMDA6Mjk6MzcrMDA6MDBKWqC/AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIzLTA1LTI0VDIyOjQ0OjU4KzAwOjAwOTHA6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAMAAABjq9sOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAACr1BMVEUAAAD////////////////////////////////////////////////////////7/v3y+/n////////////////////////////////////////////////////////////////////////////////////+/v7////6/f3////y+/r////////////////4/fz//////v/////////////////////////////////////////////////////////////////+/v7////////////////////////////////////+/v7////////////////////////////////////////////////////////////////////////////+/v7////////////r+ffo+PXs+ffU8+2t591/28tg0r5Pzbju+vi97ORv1sQhwKUBt5gAtpf+/v7X9O942ckavqIAtZYAt5j7/v3E7udKy7UCt5j9/v7D7uY8x7DW8+5Hy7QAtpZ118cDt5i77OQVvKANup1BybJg0b5p1cJWz7q36uLa9PDm9/XV8u4bvqNz18be9fGr59zY8+9/2ssFuJmj5dr8/v7t+fdh0r8sw6rG7+hYz7s/ybHR8uxi0r8zxazK8Onx+/l32MgTvJ+x6N+h5Nlp1MLM8OoPu54UvJ+Q39L0/Prl9/ROzbcdv6N92srQ8ez4/fym5tsIuJoJuZs+yLBq1cOC28zj9/NUz7oGuJq87OMowaf2/PuU4NQMupwNupyU4dTo+PZo1MIBtpdq1cLp+fbL8OoBtpan5tsev6Mev6So5twIuZt+2sv3/Pvf9fJUzroEt5gwxKsxxKuV4NQVvaCV4dTW8+/X8++06eEfv6T7/f2I3c6J3c9Zz7wFuJrT8u256+L6/f3ow7cxAAAAY3RSTlMAAAMQLWqp1fMBEUOe6Pn8/gUukuz+CU3EW9kGUNsCMsvxrzbuePq1/OD++P3qw/2N+0j2GMcHYx68BOkMd/x2IKf+pjrS0WDvXxSL+Cy3TEsIdRyhoDXINOSK8rY72mnrhe2jCycJAAAAAWJLR0QB/wIt3gAAAAd0SU1FB+cFGQAhKwJH+lwAAAMvSURBVDjLY2AAA0ZGJmYWVjZ2juRkDnY2VhZmJkZGBiTAyMnFzcPLxy+QkpqaIsDPx8vDzcWJpIJRUEhYRDQtPSMzKzs7KzMjPU1URFhIEK6CUUxcIjknNy+/oBAMCvLzcnOSJcTFGGHyklJFxSWlZYWF5WBQWFhWWlJcJCUJUcEoLSNbUVlVDZWFqqmuqqyQlZEGqZCTV6iprStDkQeqKKurrVGQlwMawMWTXN/QiCYPVNHYUJ/Mw8XIICiumNbUDLO9sawMprawuSlNUVyQgUuppqW1EOq4tvaOjvY2qGMLW1tqlLgYlFVSOhuhDuvq7unt7enugjq4sTNFRZlBVa2vH8wvLJgwsSgZCIomTiiAiPT3qakyqGtMAnMLG7Mng+WBKiZngx1SWDBJQ51BU2sKRPnUadOToWD6tKkQsSlamgzaM2aCOY2zZifDwexZYGcVzpyhzZCcMgesoGzuPISCeXPLwArmpCQz6MyYDzFhwUKEgoULICbMn6HDoLtoMcS+JUuLYPJFS5dAxBYv0mXQ018G4ZQtT4MpSFsOiZrCZfp6DAaGK1ZCeKtWr4HIr1m9CiKycoWhAYOR8dp10IBbv2Ej0JaijRvWQ4N23VpjIwYT002bt0BVbN22fceO7du2QuW3bN5kasJgZq6zc1cZLBGU7d5dBksaZbt26pibMXBaWFbs2QtLDqAkCWPu3VNhacHJwGhlZL1v/wHMBHPw0D5rIytgmmO0sdU5fOQoepI7euy4nb0NONVyOjg6nWg/iZpoT7afcHJ24IQkezkX14pTpwuRVBQWnjlb4eYiB8sYgu4e+zacQ1aw9fwFD09E1uL08va5eOkyXEXh5UsXfby9OJEyp69fcu4VRM66mivq54uavf1lk6+1whRcv5EsG4Aiz8AQaK+yaDnEGYVbly9SCQpElWdgDA7hu9kOykCFze23+EKD0QwAqggLT759BxTUd24nh0dgyANVSEbevXegsPDA/buRkljkgUEeFZ3y4OHDBynRUTbYFACdEWP36MqVR3YxwVjlgSpi46Y/fjw9LhaHPDDm4xOePEmIt8KlAOiMxKSkRFQHAAAsgrQ2sknLAAAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMy0wNS0yNVQwMDoyOTozNyswMDowMEpaoL8AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjMtMDUtMjRUMjI6NDU6MTIrMDA6MDD2yfpjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAMAAABjq9sOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAACfFBMVEUAAAD////////////////////////////////////////////////////////8/vz0/fT////////////////////////////////////////////////////////////////////////////////////+/v7////7/vv////1/fX////////////////6/vr//////v/////////////////////////////////////////////////////////////////+/v7////////////////////////////////////+/v7////////////////////////////////////////////////////////////////////////////+/v7////////////v/O/s++zw/PDc+dy9872Z7ZmA6oBz53Px/PHK9sqM64xN4U003TQx3DEy3DL+/v7f+d+T7ZNH4Ecv3C8z3TP8/vzQ99Bu5m79/v3P989j5WMw3DBs5myR7JHJ9slD4EM93j1m5WaA6YCH64d36HfF9cXh+uHr++vd+d1J4EmP7I/k+uT+//6787ty53KY7Zg33Te18rWB6oFW4lbR99F56Hna+dqC6oJc41zV+NXz/fOS7JJB30HA9MC08rQy3TKH6ofW+NY/3j9C30Km8Kb2/fbq++px53GX7Zfa+Nr6/vq387c43Tg63jpk5WSI64ib7pvp++lS4lL4/fip8ak83jzt/O1n5We487hK4UpL4Uu587k53TmY7pj4/vjl+uV26HZZ41la41qq8KpE30Sr8Kv0/fQ53jne+d7D9cNM4Uyg76B66Ho23TbH9cf7/vts+qXUAAAAY3RSTlMAAAMQLWqp1fMBEUOe6Pn8/gUukuz+CU3EW9kGUNsCMsvxrzbuePq1/OD++P3qw/2N+0j2GMcHYx68BOkMd/x2IKf+pjrS0WDvXxSL+Cy3TEsIdRyhoDXINOSK8rY72mnrhe2jCycJAAAAAWJLR0QB/wIt3gAAAAd0SU1FB+cFGQAhKwJH+lwAAAM8SURBVDjLdZP3X9NQFMVfFIUWLJRpVcoeYlVEQEUExIUyFFFRcfJqqiyb12paDQQKpQXZorJXARcbFRC3oohb/yHTJIUW8fyU5Hxz7/3cdx4ArDBs2XK7FSvtHSB0sF+5wm75MgwDVsIEQkenVSJnF/mlS3IXZ9EqJ0ehwIrAxK5u7h644vKVnNzcnCuXFbiHu5ureJ7APL1Ww7z8gqtKAjEilFcL8vPgai9PzOJL1qjU166TCGlYIURev6ZWrZFwBLZ2nbf2xk0lobESobx5Q+u9bq2ZkPr4UoVFNNLYCNFFhZSvj5QpIHSC6uLFvpkoVkMnIQbEXn54idLSnWZkeVaW4H5eYiD0p3SlXH9ElOnLy/VlBIcQpTrKXwgCAuUGmv/FWFF561ZlhZEvSBvkgQEgKLiqGnF+TW0dZFRXW8MRqLoqOAiEhNazr4huUKsgK5W6gR0EKetDQ8D6sNsc3niHgryoO43ct9th68EG/C77Qt9rgvNquseOhe7iGwCUN7MAqW9ZAFr0JAs0yyGQ4a1chbb2BaC9javQisvAxo5OFiC6ulUWX9XdxW4GdXZsBJs297CAiezFLQDeS5pYoGfzJhC+pa+fG/n+g4ec//DBfe5Lf9+WcBCx9dFjbtN09cAg00U1OFDNrZZ4/GhrBIiMGhoe4Vc7Ojb+5Mn42Ci/+pHhoahIEL1N9tRI8gdIko2NJMkfJ2l8KtsWDQTbd2h1z/g4mcyZNPGheqbT7tguAFhMxM6Jyal/AzM1ObEzIobJHBa7S/bcQCyOHGF4Hhcfy6ZWkLA7sV1vGzpET7cn7kkQcLGX7t2nffGSMFn//+q1dv9eqeViiA8kTQy8sco9Mfr2XdLBhaslOJSc8v6DZr4J0nx4n5J8SGB1OVPTYP6MZVBEfMz3SEu1vd6HveGnWb4JMfsZeh+x8QFIjw+cM3xhCeLL+Fzg0XRbH2AZx0Rfp83xRcppteh4xqICDHEiE377bl71928w8+Q/PkNITml/TCFU9kN7SrKEz6z8dJb8569fP+VZp2OXApgxzsQpZmYUcWcylvQZ4uw56vdv6tzZ//jMyZ+/8OfPhfMx/wOYMS5mZ1+0HeAvs9msMpv5tz0AAAAldEVYdGRhdGU6Y3JlYXRlADIwMjMtMDUtMjVUMDA6Mjk6MzcrMDA6MDBKWqC/AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIzLTA1LTI0VDIyOjQ1OjQxKzAwOjAwj8HumgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAMAAABjq9sOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAACr1BMVEUAAAD////////////////////////////////////////////////////////9/vv5+/L////////////////////////////////////////////////////////////////////////////////////+/v7////9/fr////5+/P////////////////8/fn////////////////////////////////////////////////////////////////////////+/v7////////////////////////////////////+/v7////////////////////////////////////////////////////////////////////////////+/v7////////////3+uz1+en3+u3t9Nbd6rHK34W912i20lj4+u/j7sDD23ajxyyWvw6VvguVvgz+/v7u9drH3X+gxSWUvgmWvw39/vvm8Me00VP+/v3m8MauzkXu9Nmz0FDG3HyUvgrj7r+exCCbwhqwz0rB2XGWvw+51F7h7Lrv9dz0+Oft9NehxifF3Hrx9t/c6a+201j+//7K3oaYwBHZ56j+/vy+12moyjfn8Mn2+uy61WCwzkns89P3+u6+12qryz7p8c35+/HH3X6dwx7e67XY56aVvg2UvQjq8s6cwhuexB/R45b6/PT0+Oa20leVvgqhxijJ3oT8/fna6KqYwBOZwRavzkfB2XLL34nz+OS41F2UvQmYwBKmyDGWvwz7/PfS5JmawRebwhjT5JrB2XD1+erp8s79/vzb6ayiximixir7/PbJ3oOZwRXK3oTx9+Cpyzuqyzvj7sGexCH5+/KZwBSwz0vu9dng7LijxivO4Y6awRjO4Y+61WGXwBHt89Wpyzri7bz9/frM0I39AAAAY3RSTlMAAAMQLWqp1fMBEUOe6Pn8/gUukuz+CU3EW9kGUNsCMsvxrzbuePq1/OD++P3qw/2N+0j2GMcHYx68BOkMd/x2IKf+pjrS0WDvXxSL+Cy3TEsIdRyhoDXINOSK8rY72mnrhe2jCycJAAAAAWJLR0QB/wIt3gAAAAd0SU1FB+cFGQAhKwJH+lwAAANESURBVDjLY2AAA0ZGJmYWVjZ2juRkDnY2VhZmJkZGBiTAyMnFzcPLxy+QkpqaIsDPx8vDzcWJpIJRUEhYRDQtPSMzKzs7KzMjPU1URFhIEK6CUUxcIjknNy+/oLAICAoL8vNyc5IlxMUYYfKSUsUlpWXlhUUVYFBUWF5WWlIsJQlRwSgtI1tZVV1QWIEECguqqyplZaRBKuTkFWpq68qLKlBAUXldbY2CvBzQAC6e5PoGdHmQiob6ZB4uRgZBccW0xgKY7U3l5U0wdkFjmqK4IAOXUk1zSyHUca1tWVltrVDHFrY01yhxMSirpLQ3QeQ7Oru6e3q6uzo7ICqa2lNUlBlU1Xr7iiBG9k8oTgaC4gn9ECuL+nrVVBnUNSaCuUXlk0omJ4PB5JJJYEcXFUzUUGfQ1JoCUT512vRkKJg+bSpEbIqWJoN22gwwp2nmrGQ4mDUT7KyiGWnaDMmz54AVlM+dh1Awb245WMGc2ckMOvMXQBQsXIRQsGghRMGC+ToMuouXgBUULl1WDJMvXrYUHDJFSxbrMujpLwdzVqxsT4MpSGtfuQKsabm+HoOB4arVECPWrF0HkV+3dg3EgNWrDA0YjIzXb9gICbhNm+cBbSmet3kTJGg3blhvbMRgYrpl6zZo0G7fsXPXrp07tkODftvWLaYmDGbmOrv3rIQmk5V79+3buxKadFbu2a1jbsbAaWFZ2bwfYknFAVCaPABhb9zfXGlpwcnAaGVkffDQYcwEc+ToQWsjK2CaY7Sx1Uk9Voie5Ap3HreztwGnWk4HR6cTbU0oKoqa2k44OTtwQpK9nIvryVOnNyKpKNp45tRJNxc5WMYQdPc4e+48UrovPH/hoIcnImtxenn7XNxTATeiqGLPRR9vL06kzOnrl5x7CZGzLl8R9fNFzd7+sslHr0JDY+PVo8myASjyDAyB9irX2q+DnVF4vf2aSlAgqjwDY3AIX30bKPkWFdy4yRcajGYAUEVYePKt26Cgvn0rOTwCQx6oQjKy8s7doqK79yojJbHIA4M8Knr2/QcP7s+OjrLBpgDojBi7h48ePbSLCcYqD1QRGzf98ePpcbE45IExH5/w5ElCvBUuBUBnJCYlJaI6AADXv7i4Kd/lawAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMy0wNS0yNVQwMDoyOTozNyswMDowMEpaoL8AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjMtMDUtMjRUMjI6NDk6NDUrMDA6MDBhsioHAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAMAAABjq9sOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAACnVBMVEUAAAD////////////////////////////////////////////////////////7/fvy+fL////////////////////////////////////////////////////////////////////////////////////+/v7////6/Pr////////////////////4/Pj////////////////////////////////////////////////////////////////////////+/v7////////////////////////////////////+/v7////////////////////////////////////////////////////////////////////////////+/v7////////////r9uvo9Ojs9uzU69St2K1/w39gtWBPrU/u9+694L1vu28hlyEBiAEAhwD+/v7X7Nd4wHgalBoAhgAAiAD7/fvE48RKqkoCiAL9/v3D48M8pDzW7NZHqUd1vnUDiAO737sVkRUNjg1BpkFgtGBpuWkCiQJWsFa33bfa7drm8+bV69UblBtzvXPe796r16vY7Nj+//4FigWj1KP8/fzt9u1htWEsnCzG5Mbr9etYsVg/pT/R6dFitmIzoDPK5srx+PF3wHcTkBOx2rGh06EAhQDM58wPjg8UkRSQy5D0+vTl8uVOrE4dlR19wn3Q6dD4/Pim1aYIiwgJjAk+pD5qumqCxYLj8uNUr1QGiga837womij2+/aUzZQMjQwNjQ1ouGgBhwFquWrp9OnL5ssBhgGn1qcelR4elh6o1qj2+vZ+w373+/ff8N8EiAQwnjAxnjGVzZUVkhUJiwm03LQflh+IyIiJyIlZsVnT6tP8/vy53rn6/Pq97PRtAAAAYnRSTlMAAAMQLWqp1fMBEUOe6Pn8/gUukuz+CU3EW9kGUNsCMsvxrzbuePq1/OD4/erD/Y37SPYYxwdjHrwE6Qx3/HYgp/6mOtLRYO9fFIv4LLdMSwh1HKGgNcg05IrytjvaaeuF7djGYAwAAAABYktHRAH/Ai3eAAAAB3RJTUUH5wUZACErAkf6XAAAAzFJREFUOMtjYAADRkYmZhZWNnaOpCQOdjZWFmYmRkYGJMDIycXNw8vHL5CckpIswM/Hy8PNxYmkglFQSFhENDUtPSMzKyszIz0tVVREWEgQroJRTFwiKTsnNy+/AAzy83JzspMkxMUYYfKSUoVFxSWlBQVlYFBQUFpSXFQoJQlRwSgtI1teUVkFlYWqqaqsKJeVkQapkJNXqK6pLUWRB6oora2pVpCXAxrAxZNUV48uD1JRX5fEw8XIICiumNrQCLO9FAhg7MaGVEVxQQYupeqm5gKo41pa29paW6COLWhuqlbiYlBWSW4vhQh0dHZ19/R0d3V2QFSUtierKDOoqvX2gfkF+f0TCpOAoHBCfz5EpK9XTZVBXWMimFtQmjVpchIYTJ6UBXZIQf5EDXUGTYEMiPIpU6clQcG0qVMgYhkCmgxa02eAOaUzZyXBwayZYGcVzJiuxZA0ew5Ewdx5CAXz5kIUzJmdxKA9fT5EwYKFCAULF0AUzJ+uzaCzaDHEviVLC2HyhUuXQMQWL9Jh0NVbBuEsb0+FKUhtXw4RW6any6BvsGIlhLdq9RqI/JrVqyAiK1cY6DMYGq1dBwnJ0vUbNgJDYvLGDeuhAuvWGhkyGJts2rwFGrRbt23fsWP7tq3QoN+yeZOJMYOpmfbOXcuhEbi8dPfu0uXQ6Fy+a6e2mSkDp7lF+Z69pbBUUABLd2Wle/eUW5hzMjBaGlrt238AM8Ec3L/PytASmOYYrW20Uw4dRk9yh48ctbWzBqdaTnsHx2Otx1ET7fHWY45O9pyQZC/n7FJ+4mQBkoqCglOny12d5WAZQ9DN/cyGLcgKtp495+6ByFqcnl7e53ddgKsouLDrvLeXJydS5vTxTcq5iMhZl3JEfX1Qs7efbNLlK9DQKL1yOUnWH0WegSHATmVRO8QZBVfbF6kEBqDKMzAGBfPVtYIyUEFjaxFfSBCaAUAVoWFJ166Dgvr6taSwcAx5oArJiPIbBwoKDtwsj5DEIg8M8sio2bemTLk1OyrSGpsCoDOibW9fvHjbNjoIqzxQRUzsnbt378TG4JAHxnxc/L178XGWuBQAnZGQmJiA6gAAFLyvxAL3bxQAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjMtMDUtMjVUMDA6Mjk6MzcrMDA6MDBKWqC/AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIzLTA1LTI0VDIyOjQ5OjU2KzAwOjAwnPAwBAAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAMAAABjq9sOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAClFBMVEUAAAD////////////////////////////////////////////////////////7//3y//n////////////////////////////////////////////////////////////////////////////////////+//7////6//3////y//r////////////////4//z////////////////////////////////////////////////////////////////////////+//7////////////////////////////////////+//7////////////////////////////////////////////////////////////////////////////+//7////////////r//fo//Xs//fU/+6t/95//8tg/79P/7nu//i9/+Rv/8Uh/6YB/5kA/5j+//7X/+94/8ka/6MA/5cA/5n7//3E/+dK/7YC/5n9//7D/+c8/7HW/+9H/7V1/8cD/5m7/+QV/6EN/55B/7Np/8NW/7u3/+La//Dm//XV/+4b/6Rz/8fe//Gr/93Y/+/+//9//8wF/5qj/9r8//7t//dh/8As/6vG/+hY/7w//7LR/+xi/8Az/63K/+rx//l3/8kT/6Cx/9+h/9nM/+oP/58U/6CQ/9L0//rl//RO/7gd/6R9/8vQ/+z4//ym/9sI/5sJ/5w+/7Fq/8OC/83j//NU/7oG/5u8/+Qo/6j2//uU/9QM/50N/53o//Zo/8MB/5jp//bL/+pB/7IB/5en/9we/6Qe/6Wo/9wI/5x+/8v3//vf//IE/5kw/6wx/6yV/9TW/+60/+Af/6WI/8+J/89Z/7zT/+25/+L6//2DMMmrAAAAY3RSTlMAAAMQLWqp1fMBEUOe6Pn8/gUukuz+CU3EW9kGUNsCMsvxrzbuePq1/OD++P3qw/2N+0j2GMcHYx68BOkMd/x2IKf+pjrS0WDvXxSL+Cy3TEsIdRyhoDXINOSK8rY72mnrhe2jCycJAAAAAWJLR0QB/wIt3gAAAAd0SU1FB+cFGQAhKwJH+lwAAAMmSURBVDjLY2AAA0ZGJmYWVjZ2juRkDnY2VhZmJkZGBiTAyMnFzcPLxy+QkpqaIsDPx8vDzcWJpIJRUEhYRDQtPSMzKzs7KzMjPU1URFhIEK6CUUxcIjknNy+/oBAMCvLzcnOSJcTFGGHyklJFxSWlZYWF5WBQWFhWWlJcJCUJUcEoLSNbUVlVDZWFqqmuqqyQlZEGqZCTV6iprStDkQeqKKurrVGQlwMawMWTXN+ALg9S0VCfzMPFyCAorpjW2ASzvQwIYOymxjRFcUEGLqWa5pZCqONa27Ky2lqhji1saa5R4mJQVklpL4M6rKOzq7u7q7MD6uCy9hQVZQZVtZ5eML+woK+/KBkIivr7CiAivT1qqgzqGhPA3MKy7ImTksFg0sRssEMKCyZoqDNoak2GKJ8ydVoyFEybOgUiNllLk0F7+gwwp2zmrGQ4mDUT7KzCGdO1GZJTZkMUzJmLUDB3DkTB7JRkBp3p8yAK5i9AKFgwH6Jg3nQdBt2FiyD2LV5SBJMvWrIYIrZooS6Dnv5SCKesPQ2mIK0dEpyFS/X1GAwMly2H8FasXAWRX7VyBURk+TJDAwYj49VroAG3dt16oC1F69ethQbtmtXGRgwmphs2boKq2Lxl67ZtW7dshspv2rjB1ITBzFxn+44yeGTu3AmPzrId23XMzRg4LSwrdu2GJQdQkoQxd++qsLTgZGC0MrLes3cfZoLZv3ePtZEVMM0x2tjqHDh4CD3JHdp62M7eBpxqOR0cnY4cPYaaaI8dPeLk7MAJSfZyLq4Vx08UIqkoLDx5qsLNRQ6WMQTdPfasO42sYPOZsx6eiKzF6eXtc27HebiKwvM7zvl4e3EiZU5fv+TcC4icdTFX1M8XNXv7yyZfaoEpaLmULBuAIs/AEGivsrAd4ozCze0LVYICUeUZGIND+C63gTJQYVNbMV9oMJoBQBVh4clXroKC+uqV5PAIDHmgCsnIimv7Cgv3Xa+IlMQiDwzyqOiUG1Om3EiJjrLBpgDojBi7mxcu3LSLCcYqD1QRGzft1q1pcbE45IExH59w+3ZCvBUuBUBnJCYlJaI6AABB269xUXFElwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMy0wNS0yNVQwMDoyOTozNyswMDowMEpaoL8AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjMtMDUtMjRUMjI6NTA6MDYrMDA6MDDpi8pqAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAMAAABjq9sOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAACbVBMVEUAAAD////////////////////////////////////////////////////////7///y///////////////////////////////////////////////////////////////////////////////////////+///////6///////////////////////4///////////////////////////////////////////////////////////////////////////+///////////////////////////////////////+///////////////////////////////////////////////////////////////////////////////+///////////////r///o///s///U//+t//9///9g//9P///u//+9//9v//8h//8B//8A///+///X//94//8a///7///E//9K//8C///9///D//88///W//9H//91//8D//+7//8V//8N//9B//9p//9W//+3///a///m///V//8b//9z///e//+r///Y//8F//+j///8///t//9h//8s///G//9Y//8////R//9i//8z///K///x//93//8T//+x//+h///M//8P//8U//+Q///0///l//9O//8d//99///Q///4//+m//8I//8J//8+//9q//+C///j//9U//8G//+8//8o///2//+U//8M//9o///p///L//+n//8e//+o//9+///3///f//8E//8w//8x//+V//+0//8f//+I//+J//9Z///T//+5///6//8Ngdu6AAAAYnRSTlMAAAMQLWqp1fMBEUOe6Pn8/gUukuz+CU3EW9kGUNsCMsvxrzbuePq1/OD4/erD/Y37SPYYxwdjHrwE6Qx3/HYgp/6mOtLRYO9fFIv4LLdMSwh1HKGgNcg05IrytjvaaeuF7djGYAwAAAABYktHRAH/Ai3eAAAAB3RJTUUH5wUZACErAkf6XAAAAu1JREFUOMtjYAADRkYmZhZWNnaOpCQOdjZWFmYmRkYGJMDIycXNw8vHL5CckpIswM/Hy8PNxYmkglFQSFhENDUtPSMzKyszIz0tVVREWEgQroJRTFwiKTsnNy+/AAzy83JzspMkxMUYYfKSUoVFxSUFSKCkuKhQShKiglFaRra0rLyiAAVUlJeVyspIg1TIyStUVlUXYIDqqkoFeTmgAVw8STW1BVhAbU0SDxcjg6C4YmpdPTYF9XWpiuKCDFxKlQ2NMLGm5szM5iYYr7GhUomLQVkluQXmsNa29o6O9rZWmINbklWUGVTVOrug3u/uKUwCgsKebmiAdHWqqTKoa/RCuVl9YHmgir4sqJZeDXUGTYEMCK9/wsQkKJg4oR8iliGgyaA1aTKEM2VqEhxMnQIRmzxJiyEpeRqEM30GQsGM6RCxaclJDNqTZkI4s2YjFMyeBRGbOUmbQWfOXAhn3vxCmHzh/HkQsblzdBh09RbAfJ0KU5AKC5kFeroM+gYLF0F4i5cshcgvXbIYIrJooYE+g6HRsuVQ9StWrgLaUrhq5QqowPJlRoYMxiar16yFCqxbv2Hjxg3r10G5a9esNjFmMDXT3rQZEYVbtiDYmzdpm5kycJpblG7dhi26t20ttTDnZGC0NLTavmMnpnzTju1WhpbANMdobaOdsisfXT5/w25bO2twquW0d3Dc04ymIr95j6OTPSck2cs5u5Tu3YeqYN/+UldnOVjGEHRz375yLbL8ugMH3T0QWYvT08v70ObDCPnDmw95e3lyImVOH9+knCMIBUdzRH19ULO3n2zSMXjibjyWJOuPIs/AEGCnMqcF6ox1LXNUAgNQ5RkYg4L5aprBGai+uYgvJAjNAKCK0LCk4ydACk4cTwoLx5AHqpCMKD0JDPKdp0ojJLHIA4M8Mir5dH//6eSoSGtsCoDOiLY9c+TIGdvoIKzyQBUxsRPPnp0YG4NDHhjzcfHnzsXHWeJSAHRGQmJiAqoDAOgCnVLAYqeOAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTA1LTI1VDAwOjI5OjM3KzAwOjAwSlqgvwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0wNS0yNFQyMjo1MDoyMSswMDowMG4J85kAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAAAAElFTkSuQmCC",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAMAAABjq9sOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAACu1BMVEUAAAD////////////////////////////////////////////////////////8/f3y9/r////////////////////////////////////////////////////////////////////////////////////+/v7////6/P3////z9/r////////////////5+/z//////v/////////////////////////////////////////////////////////////////+/v7////////////////////////////////////+/v7////////////////////////////////////////////////////////////////////////////+/v7////////////s8/jp8fft9PjW5vCwz+KEtdJno8hXmcLu9fnA2Oh1q80qfrIMa6cJaqYKaqb+/v7Z6PF+sdAkea8HaKULa6f8/f3G3epRlcAJaab9/f7G3OpEjrsHaaXY5/FOlL97rs8Iaab9/v6+2Ocfdq0Yc6tJkb1no8dvqMsIaaUNbKhdncS61ebb6fLn8PbX5vAle7B5rs7f7POuzuGFtdMPbainyt/8/f5oo8g1hbbI3utfnsVHkLzT5O/u9PhppMk8ibjM4Ozx9/p9sNAcda200eSlyN4La6YGaKVwqMvO4e0Zc6wddq2Vv9j0+Pvm8PZWmMIme7GDs9LS5O/+/v/5+/ypy98Rb6kTcKpGj7xxqcyIt9Pk7/VcnMQQbqj7/f0wgbQKaqf3+vyYwdkVcaoWcquZwdpvp8vq8vfN4e1JkL2rzOAnfLEofLGszOH2+vyCs9ITb6mDtNLg7PNbnMQ5h7c5h7jA2egfd66awtry9/pvqMoSb6kMbKe30+UpfbGNutaOutZgn8XV5vC81ub7/P0PF+8/AAAAY3RSTlMAAAMQLWqp1fMBEUOe6Pn8/gUukuz+CU3EW9kGUNsCMsvxrzbuePq1/OD++P3qw/2N+0j2GMcHYx68BOkMd/x2IKf+pjrS0WDvXxSL+Cy3TEsIdRyhoDXINOSK8rY72mnrhe2jCycJAAAAAWJLR0QB/wIt3gAAAAd0SU1FB+cFGQAhKwJH+lwAAANLSURBVDjLY2AAA0ZGJmYWVjZ2juRkDnY2VhZmJkZGBiTAyMnFzcPLxy+QkpqaIsDPx8vDzcWJpIJRUEhYRDQtPSMzKzs7KzMjPU1URFhIEK6CUUxcIjknNy+/oLAICAoL8vNyc5IlxMUYYfKSUsUlpWXlhUUVYFBUWF5WWlIsJQlRwSgtI1tZVV1QU4EEagqqqyplZaRBKuTkFWrr6huKKlBAUUN9Xa2CvBzQAC6e5MYmdHmQiqbGZB4uRgZBccW05gKY7S3l5S0wdkFzmqK4IAOXUmtbeyFEqKajs6urs6MGoqSwva1ViYtBWSWluwci39vXP2HixAn9fb0QFT3dKSrKDKpqkyYXQYycMrU4GQiKp06BWFk0eZKaKoO6xjQwt6ghuwQsD1RRkg12dFHBNA11Bk2t6RDlM2bOSoaCWTNnQMSma2kyaKfNBnNa5sxNhoO5c1rACmanaTMkp8wDKyifvwChYMH8crCCeSnJDDoLF4EVNCxeglCwZHEDWMGihToMukuXgRUULl9RDJMvXrEcHDJFy5bqMujprwRzVq1ekwZTkLZm9SqwppX6egwGhmvXQYxYv2EjRH7jhvUQA9atNTRgMDLetBns5IqWLVu3bU9O3r5t6xaowOZNxkYMJqY7du6CBG3L7j179+3bu2c3RL5o184dpiYMZuY6+w+shkRg4erygwfLV0OirmL1gf065mYMnBaWh9oOQ/RUHAGlySMQdsvhtkOWFpwMjFZG1kePHcdMMCdOHrU2sgKmOUYbW53UU4XoSa5wzWk7extwquV0cHQ6c7YFRUVRy9kzTs4OnJBkL+fiWnnuPLKKopYLFyvdXORgGUPQ3ePS5SuFCAWFu68e9fBEZC1OL2+fa9cr4EYUVRy45uPtxYmUOX39knNvIHLWzVuifr6o2dtfNvnkbWhotNy+kywbgCLPwBBor3L33n2wMwrvr7mrEhSIKs/AGBzC13j2AdCSogdnS/hCg9EMAKoIC09++AgU1I8eJodHYMgDVUhGHnp8oqjoxJNDkZJY5IFBHhWd8nTGjKcp0VE22BQAnRFj9+zGjWd2McFY5YEqYuNmPX8+Ky4Whzww5uMTXrxIiLfCpQDojMSkpERUBwAAPAa7YJpbYIgAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjMtMDUtMjVUMDA6Mjk6MzcrMDA6MDBKWqC/AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIzLTA1LTI0VDIyOjUwOjM0KzAwOjAw8JvcoAAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAMAAABjq9sOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAACzVBMVEUAAAD////////////////////////////////////////////////////////7/Pzy9Pb////////////////////////////////////////////////////////////////////////////////////+/v7////6+/v////////////////////4+fr////////////////////////////////////////////////////////////////////////+/v7////////////////////////////////////+/v7////////////////////////////////////////////////////////////////////////////+/v7////////////r7/Ho7O/s7/LU2+GtusZ/lKdge5JPbIfu8fO9yNFvh5whRWYBK1AAKE8AKU/+/v7X3uR4j6IaP2EAJk0AKlD7/PzEztZKZ4ICK1EAKE79/f3DzdY8XHkAJ03W3eNHZYB1jKADK1EAJ067xtAVO14NNVlBYHxgepHr7vFpgpgCLFFWcou3ws3a4OXm6u3V2+IbQWMBK1Fzip7e4+iruMVPbIbY3uQFLlOjssD8/f3t8PJhe5IsT27Gz9hYc4w/X3vR2d9ifJMzVXPK09vx8/V3jqITOVyxvcmhsL4AKVAAJUzM1NwPNloUOl2QorP09vfl6e1Oa4UdQmN9k6bQ2N/4+fqmtMIIL1QJMVY+XXpqg5mCl6nj6OxUcYoAJkwGL1S8x9EoSmr2+PmUpbUMM1cNNFiUprVogZgBKE5qgpjp7PDL1NsBJ06ntcIeQmQeQ2WotsP29/l9kqUIMVV+k6b3+Pnf5OlUcIoEKlAwUnExUnG9yNKVprYVPF4IMFUJMFVBYH3X3uO0wMwfRGWInK0MNFiJnK5ZdI3T2uEwUnC5xM/6+/yAxxLtAAAAYnRSTlMAAAMQLWqp1fMBEUOe6Pn8/gUukuz+CU3EW9kGUNsCMsvxrzbuePq1/OD4/erD/Y37SPYYxwdjHrwE6Qx3/HYgp/6mOtLRYO9fFIv4LLdMSwh1HKGgNcg05IrytjvaaeuF7djGYAwAAAABYktHRAH/Ai3eAAAAB3RJTUUH5wUZACErAkf6XAAAA0hJREFUOMtjYAADRkYmZhZWNnaOpCQOdjZWFmYmRkYGJMDIycXNw8vHL5CckpIswM/Hy8PNxYmkglFQSFhENDUtPSMzKyszIz0tVVREWEgQroJRTFwiKTsnNy+/oBAICvLzcnOykyTExRhh8pJSRcUlpWWFheVgUFhYVlpSXCQlCVHBKC0jW1FZVV1TjgRqqqsqK2RlpEEq5OQVauvqGwrLUUBhQ31drYK8HNAALp6kxiZ0eZCKpsYkHi5GBkFxxdTmFpjtrWVlrTB2S3OqorggA5dSbVs7xP7Cmo7Orq7OjhqIkpr2tlolLgZlle6eBoh8b1//hIkTJ/T39UJUNPR0qygzqKpNmgzmF06ZOq0oCQiKpk2dAhGZPElNlUFdY3p+IdhRM2aC5YEqZs4AO7owf7qGOoOmQAZE+azZc5KgYM7sWRCxDAFNBq2588Cc1vkLkuBgwfxWsIJ5c7UYkroXghWULVqMULB4URlYwcLuJAbtuUvAChqWLkMoWLYU7LHCJXO1GXSWrwArKFi5qggmX7RqZQFYwYrlOgy6eqvBCtas7UmFKUjtWbsGrGC1ni6DvsG69RAnb9i4CSK/aeMGiMj6dQb6DIZGm7dAQrp167btQFuKtm/b2goJ6y2bjQwZjE127NwFCdrW3Xv27tu3d89uiHzhrp07TIwZTM209x84CI3AgwcPHTp4EBqdBw/s1zYzZeA0t6g4fKQGlthAAJqojhyusDDnZGC0NLQ6euw4ZoI5cfKolaElMM0xWttop5w6jZ7kTp85a2tnDU61nPYOjuc6z6OoKDzfec7RyZ4TkuzlnF0qLlysQVJRWHPpcoWrsxwsYwi6uV+5eg0p3dfsvn7D3QORtTg9vbxv3roNN6Lw9q2b3l6enEiZ08c3KecOzJLCmrv3RH19ULO3n2zSfWjiLq95cD9J1h9FnoEhwE5lec9DcCQXPOpZrhIYgCrPwBgUzNfYCcpAhS2Pn/CFBKEZAFQRGpb09BkopJ89TQoLx5AHqpCMqHj+orDwxcuKCEks8sAgj4zqfjVr1qvuqEhrbAqAzoi2ff3mzWvb6CCs8kAVMbFz3r6dExuDQx4Y83Hx797Fx1niUgB0RkJiYgKqAwC8prs7Sn3FCAAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMy0wNS0yNVQwMDoyOTozNyswMDowMEpaoL8AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjMtMDUtMjRUMjI6NTA6NDMrMDA6MDA/+es3AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAMAAABjq9sOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAACfFBMVEUAAAD////////////////////////////////////////////////////////8/P709P3////////////////////////////////////////////////////////////////////////////////////+/v7////7+/7////19f3////////////////6+v7///////7////////////////////////////////////////////////////////////////+/v7////////////////////////////////////+/v7////////////////////////////////////////////////////////////////////////////+/v7////////////v7/zs7Pvw8Pzc3Pm9vfOZme2AgOpzc+fx8fzKyvaMjOtNTeE0NN0xMdwyMtz+/v7f3/mTk+1HR+AvL9wzM938/P7Q0Pdubub9/f7Pz/djY+UwMNxsbOaRkezJyfZDQ+A9Pd5mZuWAgOmHh+t3d+jFxfXh4frr6/vd3flJSeCPj+zk5Pr+/v+7u/NycueYmO03N921tfKBgepWVuLR0fd5eeja2vmCgupcXOPV1fjz8/2SkuxBQd/AwPS0tPIyMt2Hh+rW1vg/P95CQt+mpvD29v3q6vtxceeXl+3a2vj6+v63t/M4ON06Ot5kZOWIiOubm+7p6ftSUuL4+P2pqfE8PN7t7fxnZ+W4uPNKSuFLS+G5ufM5Od2YmO74+P7l5fp2duhZWeNaWuOqqvBERN+rq/D09P05Od7e3vnDw/VMTOGgoO96eug2Nt3Hx/X7+/4Nm4E+AAAAY3RSTlMAAAMQLWqp1fMBEUOe6Pn8/gUukuz+CU3EW9kGUNsCMsvxrzbuePq1/OD++P3qw/2N+0j2GMcHYx68BOkMd/x2IKf+pjrS0WDvXxSL+Cy3TEsIdRyhoDXINOSK8rY72mnrhe2jCycJAAAAAWJLR0QB/wIt3gAAAAd0SU1FB+cFGQAhKwJH+lwAAAM8SURBVDjLdZP3X9NQFMVfFIUWLJRpVcoeYlVEQEUExIUyFFFRcfJqqiyb12paDQQKpQXZorJXARcbFRC3oohb/yHTJIUW8fyU5Hxz7/3cdx4ArDBs2XK7FSvtHSB0sF+5wm75MgwDVsIEQkenVSJnF/mlS3IXZ9EqJ0ehwIrAxK5u7h644vKVnNzcnCuXFbiHu5ureJ7APL1Ww7z8gqtKAjEilFcL8vPgai9PzOJL1qjU166TCGlYIURev6ZWrZFwBLZ2nbf2xk0lobESobx5Q+u9bq2ZkPr4UoVFNNLYCNFFhZSvj5QpIHSC6uLFvpkoVkMnIQbEXn54idLSnWZkeVaW4H5eYiD0p3SlXH9ElOnLy/VlBIcQpTrKXwgCAuUGmv/FWFF561ZlhZEvSBvkgQEgKLiqGnF+TW0dZFRXW8MRqLoqOAiEhNazr4huUKsgK5W6gR0EKetDQ8D6sNsc3niHgryoO43ct9th68EG/C77Qt9rgvNquseOhe7iGwCUN7MAqW9ZAFr0JAs0yyGQ4a1chbb2BaC9javQisvAxo5OFiC6ulUWX9XdxW4GdXZsBJs297CAiezFLQDeS5pYoGfzJhC+pa+fG/n+g4ec//DBfe5Lf9+WcBCx9dFjbtN09cAg00U1OFDNrZZ4/GhrBIiMGhoe4Vc7Ojb+5Mn42Ci/+pHhoahIEL1N9tRI8gdIko2NJMkfJ2l8KtsWDQTbd2h1z/g4mcyZNPGheqbT7tguAFhMxM6Jyal/AzM1ObEzIobJHBa7S/bcQCyOHGF4Hhcfy6ZWkLA7sV1vGzpET7cn7kkQcLGX7t2nffGSMFn//+q1dv9eqeViiA8kTQy8sco9Mfr2XdLBhaslOJSc8v6DZr4J0nx4n5J8SGB1OVPTYP6MZVBEfMz3SEu1vd6HveGnWb4JMfsZeh+x8QFIjw+cM3xhCeLL+Fzg0XRbH2AZx0Rfp83xRcppteh4xqICDHEiE377bl71928w8+Q/PkNITml/TCFU9kN7SrKEz6z8dJb8569fP+VZp2OXApgxzsQpZmYUcWcylvQZ4uw56vdv6tzZ//jMyZ+/8OfPhfMx/wOYMS5mZ1+0HeAvs9msMpv5tz0AAAAldEVYdGRhdGU6Y3JlYXRlADIwMjMtMDUtMjVUMDA6Mjk6MzcrMDA6MDBKWqC/AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIzLTA1LTI0VDIyOjUwOjU2KzAwOjAwoWvEDgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAMAAABjq9sOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAACTFBMVEUAAAD////////////////////////////////////////////////////////9/v/5+v/////////////////////////////////////////////////////////////////////////////////////+/v/////8/f/////////////////////8/P///////v/////////////////////////////////////////////////////////////////+/v/////////////////////////////////////+/v/////////////////////////////////////////////////////////////////////////////+/v/////////////2+P/09//r8P/Y5P/D1P+1yv+txP/3+f/g6f+7z/+Xtf+Iqv+Hqf/+/v/s8f/A0v+Usv+GqP/9/f/j6/+qwv+kvv+pwf++0f+Gqf/f6P+RsP+Orv+mv/+0yv+5zf+Jq/+wxv/d5//t8v/z9v+Us/+90P/v9P/X4/+Kq//U4P/9/v/2+f+cuP/k7P/1+P+xx/+lv//p7/+2yv+gu//m7f/4+v+Qr//a5P/T3/+FqP/n7f/L2v/6+//y9v+sxP+Vs//C1P/8/P/V4f+LrP+Mrf+6zf/F1f/y9f+vxv+KrP+atv/7/P/N2/+Nrf+Nrv+4zP/W4v+VtP+WtP/6/P/C0/+MrP/D0//w9P+euv+SsP+Ssf/N3P/c5v/I1//q8P/e5//8/f/tCMxjAAAAYnRSTlMAAAMQLWqp1fMBEUOe6Pn8/gUukuz+CU3EW9kGUNsCMsvxrzbuePq1/OD4/erD/Y37SPYYxwdjHrwE6Qx3/HYgp/6mOtLRYO9fFIv4LLdMSwh1HKGgNcg05IrytjvaaeuF7djGYAwAAAABYktHRAH/Ai3eAAAAB3RJTUUH5wUZACErAkf6XAAAAyFJREFUOMt1k+db01AUxm+U1QKllT0KAlXUInsjoOICRREVFZGRMMrKTSFlBVoKKGgZUqZShiJDUUARFyrrHzPkJrRlnE855/09J+9z7jkAcIFhx47b2NrZO+C4g72drc3xYxgGLAITiR2dnCUuUqKkhJC6SJydHMUiCwKTnXB1cydKy8pVFRWq8rJSwt3N9YRsj8A8PL3wyqrqGhJyQdZUV1XiXp4emKB7+1Dq2jqalbiAkK6rVVM+3ojAfP3kmvoGkld5hmyo18j9fHcJ/4CTVH0jbaWzBN1YT50M8GcbiJ1wddN+fZdoUuNOYgzIPAOJZqE/ZGiaEb7JZiLQUwbEQVRLK+TNaXVtbTotbxa2tlBBYhCsIPQ0KrR3dD57/vxZZ0c7Img9oQgGp06XdkHUsvsFhbNBvehGv4RdpadPgZAzL7kU0hVqnA91BWcaki/PhICz0nKEG3p6BaC3x4Bq5dKz4FyfikuY/lf4XrzqZzhA1XcO4ANGDqAHh8zA0CDnGxoHcKDsG0bAyKgZGB1BwHCfEoSO1aL/vX5DCTr15jWq1Y6FgvNh4ygx6QkBIPQmVBsPOw/CIya0KGudnEL61CQaLdRORISDyKjpt5xlknk3w/kcmnnHF95OR0WC6Jj3s3NotMx848KHDwuN80iHc7PvY6JBbJzy46KJf0AT/ekTbeKf07T4URkXC0TxCZqWz4ywBVDYO5L53KJJiBcBLDEyaWl55eDCfFleSopMZHcOS76gLPkK968c1JekpCZzWytKu3hpVMdYLy2jG710OU2E1t4//Ypm9ZtlDwjXVjVX0/2Fw5Bdu/79x5wl8PPX0vUb5tMSZWTe/L1ovgxILv6+mZkhsjjOW1l41br5star3LNuWZ/3bTm+/IefBvP3Hy6/Y6UDkJ2qGNMjG3BOP6a4m22tAyznnkSt27UBSZ1acj9nXwOWeJCLb6ztjnptA899eEBnCe9Hms0VCFc2NY+8D9HZkT/OGzAaDMaBvMfJhwGsjScpW+vrWylPcg7VWSL/KbW9TT3NP0JnX76gcGensCDxKIC1UVRcXGRt4D+SPpTGEJHXggAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMy0wNS0yNVQwMDoyOTozNyswMDowMEpaoL8AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjMtMDUtMjRUMjI6NTE6MDYrMDA6MDAGSaFUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAMAAABjq9sOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAClFBMVEUAAAD////////////////////////////////////////////////////////9+//58v/////////////////////////////////////////////////////////////////////////////////////+/v/////9+v/////68v/////////////////8+P/////////////////////////////////////////////////////////////////////////+/v/////////////////////////////////////+/v/////////////////////////////////////////////////////////////////////////////+/v/////////////36//16P/37P/u1P/erf/Lf/+/YP+5T//47v/kvf/Fb/+mIf+ZAf+YAP/+/v/v1//JeP+jGv+XAP+ZAP/9+//nxP+2Sv+ZAv/+/f/nw/+xPP/v1v+1R//Hdf+ZA//ku/+hFf+eDf+zQf/Daf+7Vv/it//w2v/15v/u1f+kG//Hc//x3v/dq//v2P///v/Mf/+aBf/ao//+/P/37f/AYf+rLP/oxv+8WP+yP//s0f/AYv+tM//qyv/58f/Jd/+gE//fsf/Zof/qzP+fD/+gFP/SkP/69P/05f+4Tv+kHf/Lff/s0P/8+P/bpv+bCP+cCf+xPv/Dav/Ngv/z4/+6VP+bBv/kvP+oKP/79v/UlP+dDP+dDf/26P/DaP+YAf/26f/qy/+yQf+XAf/cp/+kHv+lHv/cqP+cCP/Lfv/79//y3/+ZBP+sMP+sMf/Ulf/u1v/gtP+lH//PiP/Pif+8Wf/t0//iuf/9+v/1rAt3AAAAY3RSTlMAAAMQLWqp1fMBEUOe6Pn8/gUukuz+CU3EW9kGUNsCMsvxrzbuePq1/OD++P3qw/2N+0j2GMcHYx68BOkMd/x2IKf+pjrS0WDvXxSL+Cy3TEsIdRyhoDXINOSK8rY72mnrhe2jCycJAAAAAWJLR0QB/wIt3gAAAAd0SU1FB+cFGQAhKwJH+lwAAAMmSURBVDjLY2AAA0ZGJmYWVjZ2juRkDnY2VhZmJkZGBiTAyMnFzcPLxy+QkpqaIsDPx8vDzcWJpIJRUEhYRDQtPSMzKzs7KzMjPU1URFhIEK6CUUxcIjknNy+/oBAMCvLzcnOSJcTFGGHyklJFxSWlZYWF5WBQWFhWWlJcJCUJUcEoLSNbUVlVDZWFqqmuqqyQlZEGqZCTV6iprStDkQeqKKurrVGQlwMawMWTXN+ALg9S0VCfzMPFyCAorpjW2ASzvQwIYOymxjRFcUEGLqWa5pZCqONa27Ky2lqhji1saa5R4mJQVklpL4M6rKOzq7u7q7MD6uCy9hQVZQZVtZ5eML+woK+/KBkIivr7CiAivT1qqgzqGhPA3MKy7ImTksFg0sRssEMKCyZoqDNoak2GKJ8ydVoyFEybOgUiNllLk0F7+gwwp2zmrGQ4mDUT7KzCGdO1GZJTZkMUzJmLUDB3DkTB7JRkBp3p8yAK5i9AKFgwH6Jg3nQdBt2FiyD2LV5SBJMvWrIYIrZooS6Dnv5SCKesPQ2mIK0dEpyFS/X1GAwMly2H8FasXAWRX7VyBURk+TJDAwYj49VroAG3dt16oC1F69ethQbtmtXGRgwmphs2boKq2Lxl67ZtW7dshspv2rjB1ITBzFxn+44yeGTu3AmPzrId23XMzRg4LSwrdu2GJQdQkoQxd++qsLTgZGC0MrLes3cfZoLZv3ePtZEVMM0x2tjqHDh4CD3JHdp62M7eBpxqOR0cnY4cPYaaaI8dPeLk7MAJSfZyLq4Vx08UIqkoLDx5qsLNRQ6WMQTdPfasO42sYPOZsx6eiKzF6eXtc27HebiKwvM7zvl4e3EiZU5fv+TcC4icdTFX1M8XNXv7yyZfaoEpaLmULBuAIs/AEGivsrAd4ozCze0LVYICUeUZGIND+C63gTJQYVNbMV9oMJoBQBVh4clXroKC+uqV5PAIDHmgCsnIimv7Cgv3Xa+IlMQiDwzyqOiUG1Om3EiJjrLBpgDojBi7mxcu3LSLCcYqD1QRGzft1q1pcbE45IExH59w+3ZCvBUuBUBnJCYlJaI6AABB269xUXFElwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMy0wNS0yNVQwMDoyOTozNyswMDowMEpaoL8AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjMtMDUtMjRUMjI6NTE6MjArMDA6MDAnvJMTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAABJRU5ErkJggg==",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAMAAABjq9sOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAACbVBMVEUAAAD/////////////////////////////////////////////////////////+///8v///////////////////////////////////////////////////////////////////////////////////////v//////+v//////////////////////+P///////////////////////////////////////////////////////////////////////////v///////////////////////////////////////v///////////////////////////////////////////////////////////////////////////////v//////////////6///6P//7P//1P//rf//f///YP//T///7v//vf//b///If//Af//AP///v//1///eP//Gv//+///xP//Sv//Av///f//w///PP//1v//R///df//A///u///Ff//Df//Qf//af//Vv//t///2v//5v//1f//G///c///3v//q///2P//Bf//o////P//7f//Yf//LP//xv//WP//P///0f//Yv//M///yv//8f//d///E///sf//of//zP//D///FP//kP//9P//5f//Tv//Hf//ff//0P//+P//pv//CP//Cf//Pv//av//gv//4///VP//Bv//vP//KP//9v//lP//DP//aP//6f//y///p///Hv//qP//fv//9///3///BP//MP//Mf//lf//tP//H///iP//if//Wf//0///uf//+v8BRUUXAAAAYnRSTlMAAAMQLWqp1fMBEUOe6Pn8/gUukuz+CU3EW9kGUNsCMsvxrzbuePq1/OD4/erD/Y37SPYYxwdjHrwE6Qx3/HYgp/6mOtLRYO9fFIv4LLdMSwh1HKGgNcg05IrytjvaaeuF7djGYAwAAAABYktHRAH/Ai3eAAAAB3RJTUUH5wUZACErAkf6XAAAAu1JREFUOMtjYAADRkYmZhZWNnaOpCQOdjZWFmYmRkYGJMDIycXNw8vHL5CckpIswM/Hy8PNxYmkglFQSFhENDUtPSMzKyszIz0tVVREWEgQroJRTFwiKTsnNy+/AAzy83JzspMkxMUYYfKSUoVFxSUFSKCkuKhQShKiglFaRra0rLyiAAVUlJeVyspIg1TIyStUVlUXYIDqqkoFeTmgAVw8STW1BVhAbU0SDxcjg6C4YmpdPTYF9XWpiuKCDFxKlQ2NMLGm5szM5iYYr7GhUomLQVkluQXmsNa29o6O9rZWmINbklWUGVTVOrug3u/uKUwCgsKebmiAdHWqqTKoa/RCuVl9YHmgir4sqJZeDXUGTYEMCK9/wsQkKJg4oR8iliGgyaA1aTKEM2VqEhxMnQIRmzxJiyEpeRqEM30GQsGM6RCxaclJDNqTZkI4s2YjFMyeBRGbOUmbQWfOXAhn3vxCmHzh/HkQsblzdBh09RbAfJ0KU5AKC5kFeroM+gYLF0F4i5cshcgvXbIYIrJooYE+g6HRsuVQ9StWrgLaUrhq5QqowPJlRoYMxiar16yFCqxbv2Hjxg3r10G5a9esNjFmMDXT3rQZEYVbtiDYmzdpm5kycJpblG7dhi26t20ttTDnZGC0NLTavmMnpnzTju1WhpbANMdobaOdsisfXT5/w25bO2twquW0d3Dc04ymIr95j6OTPSck2cs5u5Tu3YeqYN/+UldnOVjGEHRz375yLbL8ugMH3T0QWYvT08v70ObDCPnDmw95e3lyImVOH9+knCMIBUdzRH19ULO3n2zSMXjibjyWJOuPIs/AEGCnMqcF6ox1LXNUAgNQ5RkYg4L5aprBGai+uYgvJAjNAKCK0LCk4ydACk4cTwoLx5AHqpCMKD0JDPKdp0ojJLHIA4M8Mir5dH//6eSoSGtsCoDOiLY9c+TIGdvoIKzyQBUxsRPPnp0YG4NDHhjzcfHnzsXHWeJSAHRGQmJiAqoDAOgCnVLAYqeOAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTA1LTI1VDAwOjI5OjM3KzAwOjAwSlqgvwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0wNS0yNFQyMjo1MTo0MiswMDowMHZMi70AAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAAAAElFTkSuQmCC",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAQAAAD+fOO3AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfnBRkAISsCR/pcAAADj0lEQVRIx5WWO2xURxSGvzN7H7a0AdFRkFSQBovKqcCyBF0kmlDS0SHRpkJKEYmGEBeENImFRJMoLlLk4caJrCguEDSguMEijYMQAu+uwfZ672v+FHe93nu9fnCmO3P+f87jn7nXGDIBNPiAD5limgk+oglsssoyf/E3/7FBAcZIEzKd0CXd1yslPve+ULm897kSvdJ9XdIJmfaBhzqnu1qTL5QrUVeb2tCGNtVVolyF5LWmuzqnUCPg47qsJalQqi2tq63W0GprXVtKVUjSki5rfIfC+rWP8xlf6GNPSoLf3RruDo6YCIet8CU/s21llCDiU77S6YJtMvZtEgJCxmlgz/mceVLDAY4Jbh4OL3cytinQaW4ygQMnOM4NJv2h8GEKD5Pc4LhwhFzgiifZA9fQqlMkeLjCBUJHk2s6VpBW4EIYITExIVYhMSClQMe4RjPgDNMixVfgJdhhgCjz0yDC8KQ0sGnOBFxUU2S1XsfENAaeBg5Hb4gCMsZQ0y46pnBFZQuiCrykiIkqnRAFOKYcZ0uC4fQj3J7+OyKsEleA46zjpMzXTnMjhmm4WlYeGScd8d7Q0VoY6Y8dvu6rzv0Qv3e0rFaxx48IFb52lsOg5XiGH67N8GQjCbKKVqABnmeOR+YdrgLJSGsUIq1pxeEwzyPHApkjqOWQ0KMYeAp6JLXzAxxkLDie8NRqMzYKenTpss02Xbr0KGpSjzB4yhNHh1nzAWFtZCKj119ZTakQEmCeWTqOlAUWjZhG7draYHRWu+YNYgwWWSB1iJfcsdcBcaWMHZK6fIQjJsBec4eXyBnkLDFjPiKCfUS0C4eICCv4miVyw4HBFj8xZ4oJD6QoH9UIE3PMsWXQF6FY5RtbbhCPuIdV9cU0sH+4x2p5kitrxfOYGVsPR3RieHgxIbbODI/xxoAADHJ+Y5Zk5w0cBQ+JIWGW38ltkNNOx8UaD2zR9V+jupTLV8nJFnnA2u73dahkg2W+5XkwshPl8PiXeyxbxV+ZO3/wvXWiWhll+hHW4Tv+tBpx1Xr8wK+WjhEMKIQRMIal/MKP9DjYhD7RQylRRy211VZLHSWS9FCT4ggmdFUvvLr9f4S2uvLSC109EhyEmrqtd4U21FZbGyqkd7qt5hEJQOiU5pXnequ3yqVc8zp1ZHif4rxWvFKl8tKKzr8XHIQCXfdvvLz8G11X8J4E/U7cUkst3Tqo+v8BGqkQrMMFpyAAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjMtMDUtMjVUMDA6Mjk6MzcrMDA6MDBKWqC/AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIzLTA1LTI0VDIyOjUyOjAxKzAwOjAwKNkk2QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAQAAAD+fOO3AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfnBRkAISsCR/pcAAAD/0lEQVRIx5WVP2wcRRTGf29u9/44a5/Pd2cHEagIEgoFRYSQHMtSQkVJOsoICUVKi+gokFIgghubArAipTHCBVL448ZBFiI0caQ4whGKFRoTx3aS89k+fL7b3ZtHcb7zzdkOyWyzOzPf99773jezQsdQgAS9vMIIo7zJqwTAvyyzyG/8zj9UaIBw6FBUNKfn9Kquad3GsY001FAjja2Nta5relXPaU5FO1DSEd3nDT7kAwZiiaixS0gMeCTJkMbHUzaYYpK/iMQlUMjwLp8wHFNli01C3DhJ+snSgwd/8Dk32JV9AoUM7/Opvl6nRInQTa6lDkny5EkhS3zGD00KAYUk7/GFvrbDKtvoUSKhCH28xDHkAR8zQygIqOEtvtbTO6xQ4UiN25n08jLHkNt8xIJYo5DlEqdrrP4vvLlaYZUanOYSWcXgc4bzMSW2D9S9/7gU25SI4Txn8A0BF7SvSsmpXVES9FGgQB8Jh0RQSlTRPi4QeJxktEGZyIELOfKkSAAN6pQodwQQIsr04I1y0uOsBhFbXVoPUSS5B/BJkSbJupPjFoMkAjlrGMHUiBydsxTa8JaNCmTbfgCIqIFhxHDKml2HW8iR6uqGkCLn7FF2sYZThuMqobM5cwDeosg4MyEqHDekwDoLCcyhHjAknG8LkDJYugDW6XunuLaLELCGkuA7C3WiQyiUiLoz4yNQMtwXm3ZqjdiicYCgwZbjFUgjlvuGW8am8RynldnoomiwQdmxmkcaY7llmCXyCZwcYtZYp9qeqbLOGrETP8CHiFmPBe567wywje2wasgaFTL4QMQuOx2roBgG8OAuCx5lJs3bgclSdrKwVKhgWu3qckaWAGOZpGwImWXOp0i669gKYLHt9/34aYr4MMcsoUF5xBV5HDBIoqt9sve47UwwSIA85gqPUCMQc5MxY3MMwBEm2odDnhymwZfcJBYMCOzwPdOeFuh9JkXzRszjKdNMsyMtP6IsMy6LPRRJHkmhQJIiPcifTLDc3Gb2FLbMMyab/RSOOErNzQX6kU3GmMcKbQIQiPmZSannySKHngWhnzxSZ5JfiKVN2lJceco1mUtRJHOgDAUyFEmpzHGNp/v/1458BRb5igd9FLrOJ4BPgV74mwkWOxvrFCxwg28p5+nHdOSgGPrJQ5lv+NX1RbdiNab4KREOEbSVUISAIRIhP/IdNZ5FIPCQCe6kGdxraLN5g6ThDhM87L4tD/RMYJ5xVrIU9+7ABEWysMI4tw9etoc3/TpTUimQxWDIUkAqTHGd5x2KntAZjat6T+9pVTXWGT2hz41vUgzrktVN3VSruqTDLwQHRT29aJ9YtWqf6EX1XpAAFA30spa0pJc1OBr+H/Nbm042akI7AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTA1LTI1VDAwOjI5OjM3KzAwOjAwSlqgvwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0wNS0yNFQyMjo1MjoyOCswMDowMP9kZncAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAAAAElFTkSuQmCC",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAQAAAD+fOO3AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfnBRkAISsCR/pcAAAEJklEQVRIx5XVT2xc1RUG8N+9M2M79tgxJDLR1MHYjosQrdRFVFUKUSToqsuy6xJVqpDYVuy6qMSiKmSTdNHWQmKTqllUon+yIFRRVbohSAQRgRxRJXWwSQzGjpzYnsnMOyzsOPPGNoX7Nk9P9/vO+b7z5yVdJ6Bi2FEnnfI9j6vjrnlX/cu/3bSmQ7LnCZHikXguXo9b0SzarWIzNmIjNqNVFO1oxq14PZ6LRyJFFyp1Ra95ys/9zKPNtOmuVeta6DNoVN2A/vClc2Z97H4qEwQH/NjLTrSsWrTonnKcIQ0No/r4j99420Z6SBAc8FO/iu+u+Z8b1iVlpYEw6AkThqVrfu0vWxSJoM9P/LY49qWP3RL7mSQkRzzlUfkTv3RBK0lE9gO/j+PLPrQk7QvfNtqY7zskvecXrqQiBwe95Piaj/4vnCRZ8pE1jnvJwZDVPOP5phtu98BDKBSix87kthuaPO8ZtazuhRhZdb2kPYSaMVOmjKmVSJJw3aoY8YJ61YxTLQs25S549h2ThlTRds91CwoPa79pwaj+U2aqno36psVS9GTGMYM73+qGDbrWlWOyaFpfPT2bnYy8ZqOUfMOkoS7KZMikRknIhjWRncye7uQ7Jf0V44Z3+T9sXKXkwx2d7OnsSKT1nqv1PYqZ1Hto10VyJOsPnVLx+rsidZ+K/lJBO4L+rEg9gLZiT4JCu4cwUWTLyUAp1bs2SpEeZLbhbknagMRyNpeLsram21q7CFpua/Z4lQtz2bu5GFHbiZkkN833pNs272ZXq4eaEbnwbnYx3T9grCSiac6c1Z0vq+bMaZYEjDkg3Xex6ooP+n501C2drj5bN2fJQQPYdMeKdqlXK47q4wNXqlbMVn54ODfMl3qvbcnS9izYNacNh1UKs1aylosuDZgy0jO2WdLR2X7rho+YMsAlF7WysOjVvHTYjGpP+dL2Uy5nzYzD8pJXLYqcaHvH6UoxboI9OqAMZ8K4Ssdr3tFOMol7/ux8f0wa+1qKwJgn9IfzzruX2N4iYd6ZdHXUtKF9KQJDpo1KHzprfuta3tKqcNnpvNowsc8oQcWEhrzqtMuKLW/yA7u0/d1sbk5qSHvOQtIwKTfN+of2A2t3FmEKX3gjXdpKsldGYNS0oUiXvOGLh//Xh5tU4qrf+WTMpP5dGQyYMsZ/nXW1u7C5+1LibX+0MuGoSlcOoWLc46z4g3+W+yL3BNp0zt9qrWMO7TgRkkOOqbX81Z9s+jqCxKfOen/EkwbZ3sODnjTC+876tHdb9mYgcdkZC4+ZVgVV0x5jwRnv7V62uwjAm87ltUkNWd4q3ppz3vRNT4jxuBDt1Xgr3orViHZciPH4xvgtihNxrYjP4rMoIq7FiW8FJ0Q1Xiw+70Qnis/jxah+SwJC1OOVWI7leCXq+8O/AuFKp/3c1qOQAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTA1LTI1VDAwOjI5OjM3KzAwOjAwSlqgvwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0wNS0yNFQyMjo1Mjo0MiswMDowMJ17ML4AAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAAAAElFTkSuQmCC",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAQAAAD+fOO3AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfnBRkAISsCR/pcAAAER0lEQVRIx5XVS2xV1xXG8d/evrbxC7CpMbVSECGg2qlRU5tXDEVNOmmHzazDqFIVKdOqsw4qZVA1RZGgg7ZWpEyoyqBS+qADgpxSOglYkIQE2aFCIuGNMcEOhsu9Z3WAgXts0yb7zI7O919nfevbeycNK6BJl2/YY69vWa8Tcy4445/+5VOz6iTLrhApuuPFeDOuxL167W4xF7fjdszF3aJei3txJd6MF6M7UjSoUkP1ZgN+4sd67qRZ110xYx5tuq3Tq0t7uOmgMWfdT2VA0Ob7fm503iUf+9iMcp1ugwb1a+PffuUd8+kxIGjzI7+ILTdMmHBLVu40UFht2LCvSVN+6c8PEImgxQ/9unjmgnFT6vLyJik02eJ71svn/Mxh1SQR2bf9rhi54B/OS0/y+KHRNvqB9fJJP3U6FTlY5VUjNxz9v3KS5LyjbjDiVatC1my3l+446ZNF8lAsPLEI8YmT7vCS3ZqzTi/HyosmRIM8FFbYbJttNltRgiRhwkWx0ss6Kzbbe8dHZhusC9mQYWu0oGrahA8VHs9+1kf6dey1ueKF6JxztlQ9222X7kfv1ui1yvES4qxd2jvTC9meIl/zecnnAdsb5A9itN2AaGjkc9cU2Z7s2Vq+Wuq/YsiaRdNI1hhSKflwVS17NltXTzMl73v1LBOlrEdvaR4z6sm6rDXUSoB2LctmoEV7CVATtGZF0lz62ar6soC6aqmxZokim846SoCbbpcqPfyz226WAB0y09lkpVhbAsyZMr8EMG/KXAmwVqUwmb3XVPRpa6iZfeCUakledcoHpai16dNUeC87ku6v9HQpqnOOedflhXfhsncdK9UPT1sp3Xek4rT323duNan26INsxjHn9enCrKs+VS3Vb7ZVO+87XTFjrLJ9Yx50WlNDG/edc25hL5BLySgM2qhSGDOTVR0x3mWHPkXJzCZZTU3WVDKv0GeHLsYdUc3CJa/naxs8r3XR+NLCUx7nCqM2yNe87pLIiZrj9jUXWw2zTALKcr5jSHPdbxxXSzKJL/zJoY4Ysam045bKwyYjOsIhh3yRWPAmXLA/nem3Q88TESH02KFf+tABFx58lh/0qnDCvnxr0PATthK0GDYo37LPCUXyCECi5m/GKveGfVNadi8kA4ZV7hnzd7XHmXnoeLjhrTTeY6evLzEz0G+nnkjj3nLj8f3akI/EGb917hnbdS4BdNpmE/9xwJnGwZaOnsQ7/mDmOUNaGhChxZDnmPF7R8u5WHx23XXQX1dUn7f+kRMh2WDUiqq/+KO7/hcg8ZkDTq31XasXRsdqe/RyygGfLb76lpyeiRP2u7jFTq2g1S5buGi/k0tvzuVv8rcdzLPbDGjSZMCIPOugt33ZFeKpOBy1y/FGvBGXI2pxOJ6KL61/gBiNqXpMxmTUI6Zi9CvJCVGJV4rrtahFcT1eicpXBBCiM16L6ZiO16LzyfL/AjzmtojnBFLlAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTA1LTI1VDAwOjI5OjM3KzAwOjAwSlqgvwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0wNS0yNFQyMjo1Mjo1NCswMDowMDIBBRoAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAAAAElFTkSuQmCC",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAQAAAD+fOO3AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfnBRkAISsCR/pcAAAEXklEQVRIx5XVS2xdxR3H8c/MuX5g/CBGTQzkATIggQt1K7fNgzgI5YVDWmjaRdsdrRQhsa2666ISi6o0m6SLtu6CRYIS1Er0EdGYEKV1GwlbTaxGRYkCgWAiYuKH4kaxfX3PdOHg3HPttDBnNXPm9x39/vObmaCqJci0WGOzLb5orWb8xyVnnfQ3H5pWIVRpQkEe3OUrvq/Piko2G8shR1SXGvKsYtJRB/3TlBSWAhJ1HvFD39N+LUz40EVjptFipQes0a41mXBIv3eUQxGQuMNWP7Zp2rtO+YcrKov0JLPKRht0auHvfuZNN8ItQOIO3/KT9PCoYwaMiUV3EnIrbbPdauG8n/r9AiKQqNfn55UH3/GqIRXR8i2X+arvekR2wY8cNRcEUtTtV3nPv/3WiFhYubYluS/5gUfFYXudCXlMtHlRz6iD/1dOEI04aJQeL2pLojpP2HPNG4Zr5EmuoiJfyEcVYtgbrrHHE+pKmj2ft15wTF7lPUnu9LBVuOK864JbG5c7pkd3a3zeYMlDtkwbNCGrkke9drhXI2Zc9hd/lS8iogmDOrVt8VDJU6l5yqnC6tEe39CxKLjXal/wuwLilG9qbQ5PRZsr8QNXC8436KuSE3Tos6FQjas+UIk2R11z8X2panq9XvfV7EZwn171Vf3kfXNRV9QxH8YKYVnrnmWiFN1jrbxqZMx80BE1JLOFqS0al81Ao5ZCf1aiIcpDjeCG8rKAshs1wEAejWfaCm4/Nl6IzqfFHfdxoTJtMsajc/X5uoLXScOmlwCmDZss1Gad+ty56O26fJ3mqjUzJx03U5DPOO5kIWrN1qnLvR0NKN/t8SpAMOU1h723OPKew14zVWUgedzdlA2UnDHSuv5JQ8pVObviiBEPaMeEi86ZKWS13pNaGXGmZFJ/3dceixu9pVRViVmnnb55FsgK7iu2eExdrt9kNGfAiXa73F+ISZDJlJVlskL1c/fbpZ0TBsxFyWUvZ2NdntVUc/JvfdXbeafndMnGvOyyFAPzBu1ryHttY5kEFNPANr0aKn5h0HwQCVx32JG70k7d0v9AJEm3HdqSI464HrhZm+SS/eFsp11W3RaRJB2e0Sn8ywGXFqbFBbdyQ/ZlUxtt13hbQKPtNsqm7DMkDxYBBOb9SX/97E5fF5c9C9F6O9TN6vdn87cy82nNk6teCSc67Na5xEaSPGi3jhROeMXVsPi7Kh+Bs37pwpf1WbEEsMLTunnXAWert7Vw9QTe9BuTW/VqqEIkDXptZdKvHS9edrV314xD/tg096xHFyuRRF2e0zTnD16tOaa1gMCoA06v9R0rb3pnpW9bw2kHjNY+fUtuz8CQ/T7q8Ywm0GS3Hj6y3/DSl3P5l/x1h7Lpp61XUrLeTtm0Q173WVuSVqejaf5i2pv2pospzaejaXX6zPoFxKZ0vpKG0lCqpHQ+bfpccpJUSi/kn5RTOeWfpBdS6XMCSFJzeimNp/H0Umq+vfy/0JikOgfvvUIAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjMtMDUtMjVUMDA6Mjk6MzcrMDA6MDBKWqC/AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIzLTA1LTI0VDIyOjUzOjA1KzAwOjAwM1Rr9AAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAApCAQAAAD+fOO3AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfnBRkAISsCR/pcAAADzElEQVRIx5WVTUxUVxiG33tnhmF0iJ0iCVF+NJpghTSUVNOoTTMrCS1qm4mJZVFSu+h048Jg2dCdSatb3TWkTaw2ISkbBY2waGBBJGmsoggkasEfyDhDsQjM33m6YGjnzgw4fmd1v++8z7nnnPecYykrkCSXylStD/WRGlQjv6RFTWtMv2tIM/pHacnK0lgOuaW31KQ2tSiQci3bcSstySUvPuNOa159+kV/6G9h5QOQPHpHX+lzvR21ZjWhO/pL85ICqtW7qlOlylFMl/WjxpXM/gtJCB+tDEOMQU6xEwtlNYudnGKQGMAwrfjIk7cxYRink20OaXbbRifjGJigLQuBKOEYU0mGacFeVy6ETQvDJGGKY5RkENg0MZpmiEMbitfaIYZIwyhN2KvjB+iG+xwuSi7EYe4DdBNAwkMrCy/owFU0wEUHL2CBVjwiQG+am1TkdSsjSDvtBCnLq1VwkzT0EhD7iUUI5y3WcfqZ5BnPmKSf43mLGyYCMfaLTpO4x/acXT/NQwxrYXjI6RxnbOceJkGnuJZI9eQUj/IgS76KeMDRnEF6SKS4Zqt+xR5Ttq88Cmm3nFa1tFsheRzmG9OKrXpblUlr2tG5TrvkUm64tEt1jsy0kpYqbXmNlh2Fcm1Wodiscsf3sozktWVsbXIUFhUvCIhr0fG9SbZkbEXdqnAUHuu5Y03W5vxcjx2ZCrmlqK0Jr9nrKER1XbE8QEzXFXVk9sprNGHrltfUa4uj1KNLeuXIvNIl9TgyW1Qvr9Et0czSU47k+KyaLm5nvGC4TRfVOT2O8BSWaLaoVG/8g9/0pVYcI/i0Tw2qlDSrMY3m7FSpuvWZvCP6VHg5SXqGUMFzV0JJwXyIGUhzEq+wqGEgyQB7ij7OexggCQPUYAnhppm5JS7gL0pexgWWYI5m3KzuMH6+JT3L1zmHqlCz+IY5SHEG///XqsUOrhgzSvA1CIsgoxjDZXZkvS4ImwPcSXKFmg0BNfxKEv7kAHbuy+ChnfkluihdV+7jO5Zhni/w5Jkdi62cNyuPCOEuKHcT4hFmhfNsxVJ+IBroh0EaCwLeYxAM/TSgdQLxCVNwscAdXcFFgCk+XlcuSZRyhtgC4ZyV8BFmAWJ0UKoNAaKKn4nfJ5j10LgIMg5xfqJqw/EziH2MwFVq/wPUchVghPdfK88g2niS5PuMtf38QBKe0FaUPGPtc7yMcAIPHk4QgZecy7JuEYgq+kjdpZFG7kKKviJmn4M4yGSKG9wgBZMcfCO5Vo0XNpEECUyEcObgviHCz1miRDm70ez/BYYI/lv2W3BZAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTA1LTI1VDAwOjI5OjM3KzAwOjAwSlqgvwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0wNS0yNFQyMjo1MzoxNiswMDowMM4WcfcAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAAAAElFTkSuQmCC",anchor:[.5,1]}],drawing_api:[{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIosGP4JQAABapJREFUWMO1mGtsFFUUgL9zZ6bdbaEP2kpRCYj4wlciRMHEHxo0MdHEqDFG/aExvmJiYmJ8G2P0B8YYYozC+oivCAl/VMRqIkTBUIygCAiNlr6oQAttd9vS7bQ7c48/pq0QdtvZFU9yM5nZOfd895xz7zmzQomibwFlgACVCCPUI1QDCcAFAsBHydBDP2ejOEAlyN2l2XRLhaUcyCDUsoQsK4DrgCuBRmAWcALoAfbQyDaUn1nGAZrRUk1KSV59DwhpRLgLuAe4JsZMPwPrsGzA0CuP/M+wugYwCMJFKM+g3IVQEU8ZgCywAeF1LH/ioPJwfPvFpUGA4LEYeBW4DSlCP3JLBXAfSgXCC7i0TS0jhpjYXk0BHjXAE8BtaMn57gK3IzxBjhpdE18xNiyKg3ADcD/glpbtExJF5AGUGwDnjMJqChBqgccRZhVYTDTCk8bks/zvzwIeBWr1vXiwcUNpgCuAqwuCgtKwtIcFtzqU19Ywls5waGPI8d8aUeS0SET3KxAuB34kRu7Gh1VuRCjPDyqWhbcMsGI1VJ1fCRPH/wX3DrHjyX46N9XlBY5O65XAT0RFZEaPxYMVlpAvvxSoXjTIsteGqTp/LvAvbNXiuSx7dZiqRZkCfnOAy9B4HHFhhagy5d9WsxcmmXN5XZ75DHOunEPVecmC8ypz0XjbtZjjJ5H3qQLGcxHJb1CkHPGcghkpFFrIaRL/6ILBAsbA7zvBWLov7+/+QB/+8ZFpfJc5s7CKRWlFCfPCDhxI0JKyaDh8ql44TMtaJd2SLAAbAn8BNg5GvDRQLEIzUdNy6iYTIMgm+H3VXMYz3Vz8UAavqoHc0HEOpMZpSc0nyJYVgM0RNTixYGMltq5BEM4DvkdYlGcxkRg3xKsAcR1sEBJkwQbONFbaEVYCnfLwzOds3JxV4CiwLq8XZGLYwGFsyMEfgPEhZwZQC3xO1PPGamZiV3hNAcqFCJ8Ay+PqTSM7EO6/86PGv347Uo6xEFqD41isiepHhe9zXU8Pk71Ocf1sCg+4HVgNzCuVUpWjA1nz3B3vn7PxSNZ4AbjGYkJrjOPY0BqxAuNJ389eMjjk7204i3meLRoWop70ZeBJwIuvHLnGKnZ7R2LbU183fHVs2PFdo65G6SiR71QRUcCiBChpA/vFaGvRjd4E8EKUtcBNeSv+NLxtfV778011m3YeSmSciYyWU94QUJ24CIAVGLXo98UUBQAmvp26UFYDHcXoDo6azPrds5t3dSfSjkElArFMDYmuIhbEiqgVQRStQLWmaNgJYCXNZuAdou+qGSUXEvzQmty1fvfsDiMgseIhgqqoyBE1prUkWACOESJ8DHzJdEePRlHd31Pe8vb2mt3jgdgYoAIYBR/YY6DJJBKHS//f4BIA0sAbqlwMXJUXQuDYsNOb2lHd3JX2sqe/ogKCTjbwgkU1CxxE5E+gO51MnqjO5YpqZE5leGTSb+zNhawOleGpJydd/RxjX+yb1bzlYLJXmAp/FF7FqAqoBsAI0KmwxXHdzxS+u7mzswU4MT+Tof3gwf/02RcxpaCzz6ltqLKvJD19zAju5KYOlfCntsTOF7+t33pkyPUdE9U6VUVExoERVdKCdomY1hCOqxCM9veHlbW14Di0tbdP2So9DU7y8M7nTAbHfFBfGSyt8PRaI5FjuwbcQx/+Uv3r34Ou7xp1VMkBaRE5BhwVkW7Xcw+j5KwNkFyouA71Cxbwx759+TLqzEjHKo8yx97RUBm+7TnMG/Rl+N3tNU1rm6v3ey5pgaOo/q3QU5FI9I6OjfkiguN5nLt8OZs//XRmx5wpWIDvnp6duLR+9KXaZPjgjs7k1mebGtals6bDiPY7IpnusrKReb5PeVkZB1pbi57/P6fByVKXDPzOtPtmwtX1f/Qm0u3pRL/b0+VXL2xEVbm+r49v+vtLnv8f2Pk64kl5WH4AAAAldEVYdGRhdGU6Y3JlYXRlADIwMjMtMDUtMjVUMDA6Mjg6NTkrMDA6MDAzyLlbAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIzLTA1LTI0VDIzOjAyOjM4KzAwOjAwnw8TLgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAASUVORK5CYII=",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIosGP4JQAABm5JREFUWMO1mFtsXFcVhr+195mLx3bshNghKWkNpCglPEBpUYSAKg88gGigUftARSJzkbiIB54QalQkKvGISkGQSkTQplJBKQgQbbmUW6CkTZuGVq0pjV3n4jSOnUzG47HHM545++fhjNs6npDjISzpaDQ6s9f69tr/XnvtMTo0fbYfAhACbN5knJ1ch9QHlseIgAZSHbMyhRsvUj0qvIPeHPbd6Y5iRp3CIkGjy8jUtnJ28mbgg8B7gEGgB5gDpoCXmD92GOxZ3pt/haN1dRrSOuLcvQYitwHpNsTtwE0gj5kAXeLfkGLgKGaPgPslIZ62A7P/X9hk6YMRuB5nX8PYBeoBiy+BbBfHA3OIXyDdh7NRXFP24/nU8VcnA3OG6R047QXtTACsmWaeQBNUAO7E6Ea6B984cYVJLjOXOqvD/aC4D/gSxk7MPFhY1WSx0Bq3E/gizVyf9vSmHp0aloBH3ALcCeZIakEnFkgk8RmCfQTkryqshvshoh/4AtBNu6WTjBAbzUWjUYfmYvJdWrkvDLX8fB58n/b0p4JNp1lhBG0D3k+yWZbDJkCBd95c5H0fz1LoX0u1VOKfv11k/Ln1SNaqFMuR4SaMbYgnSaHddLAmD+wAsm0zigI33lrh09/OMzDUD3QBxvY7Zvjp3lmO/aYX4ZYBmwHkEDswPQVccaOm1KwcaCuJ1i55FWDDlgq79i4yMLSJZHkd0M3A0CZ23bXIhi0V1FbiHtNWTKk4UsKagQ22/X0IMDhU4JobBlhZt41r3j3A4FCB0BbWgW1YSvOVLK1mAfKAtTbHm18Kn4kwy11mnll8RpeRpLX8prK0pUvALO0imjMqF+aols+3HTk/c4HZC3NJtVvhVUhlpFQHQ1rNCvQqEK/04GFiJMuhB+uEUFn2LoQKhx6sc2Yki2tbTptgY8hSwaY9bgNwBNMdYMujmkG9muPR7/RTnZ3glt095HsHWKic59CBOf68fwP1agbXLi9qAs9i6Q6YVMLWcK8hfx3oVxhvZ6UcDAl8pkmuYPjIEzdj6lURN6LW/mlXZ09g9knUPG0PzF0xu+k1GzSFeAQRt5mkMCBuRFTLnkpRVMv+v4KKGHEQaRrSySB1i6jdfeDYAuzD2E47/aY3j/Q0xpd3He0de74S4QLEweF9IDjDgEKtxofPnWNfa1DqFtEeKqPhNSeR7UNch/FWVtHMSK3EGIY0WWy4n9z2zJriVMMGWxyu9cQtv4uC6vmuQu1dA4NszIRVNt/DfRAoYHwd01fBMlz2TBfSG8VeyCRzTaF/lKKnvvHv7sfPL7paZIqUQFqr7VDrWA6IJqLkYMScRld9rdGePjBdC9wLfHTlVeYNyCC5gHmBCZmBjc378W8e7/79c+Wo7F2SLHvTWLCkUtpSf0QwWAjoifT97JIcDpTBwgTSD4Fxlu5ZCEkWZC4WviGyTcgE4aQkc6WGK/1sMvfMsdloxhuyBCTw+mPJp1kAC2YKZphQAal/1bAA9sCcmF74K/AjpPmlbAaZb4pMLKKAnLBkp5hoBGv8pZh5/ueTuVOOtN2AGZLJ7KycG+0IFoCLzZhgD4M9KpliETUhkuRkMsPUWlAk00jFH7//dP6FxWAhBagBTlADXnDwuMvnX+v8f4MtfVDIzlCvf09ia4x9QBKtZC5p2Awxtein9p/JH5lY8AsrOWVLZwqtNh+pCoxh9gowUerqmutrNFZxB7t06g+Xod4QxCO12H4Qi7IlZUnQSimiHlvt11PZI4eKmWnj9eVPlle4pHdXE5gHTgr+5KPoIcHvPnby5MvA3OaZGcbHxjr7k2NZXoZ7GatE/etzujvn9RVnconMZEEW/n4xc/Rbo4UnJ+uu7pcULGFmi8C8RMnQKTM3GsN5Gc2FYjHuXrsWvOfV8fFl2vif7fAn1tr6vG1bn42/3+X5kFlyLTgx70/eM1b4w+FSphglV6MGUDKzaWDSzCZ8FL2GaITQJG7EUuQp9PTw0osvrlzNqwELcPz2deRd+NS6rO7NODaXG1a6/1T+if1nci9nnJUMJpHOCM4V8vmphXq9Zmb4TIa3bd/OHw8cuGKMqwYL8NitA7kb8s27+jL63NOl6G93j/UcnGnYCYeK3mxmIpud31irkctm+dfo6Kr9d14N2thbolA/VbP7rnc6ODIXzZyqZy76M6cX1ly7EUnsuHCBx4rFjv3/B5an/+2QIsMIAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTA1LTI1VDAwOjI4OjU5KzAwOjAwM8i5WwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0wNS0yNFQyMzowMjo1MCswMDowMGqPVM4AAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIosGP4JQAABPdJREFUWMO9mNtrXFUUh7+1z5nMmdhkkjZpE1RsWi1FqQWL0gp98EUQ7JP+AYJPPigIlvqgiIr4IFqxSFtQ1AqW4oMXUAreK7Zia0vv2Exz6SVNc5u0SZpJZ875+XBOa0oz6UwydcFimNln//a3195nrb3HmKPpxq8GtABZIAB8oAQUgFFgeHoXm+OY/lxhp417P7AOWA+sBtqABcA40A8cBvYAfwInbp7nbTbF3iZ4QfCnQBX4PsHzgiX/C20CaYKVgk8EExWCXvOJpN/KROe2wprgPsGXgmKVoNe8KNgluFdz374VRbVZsGUeoNOBP0j0bgusJ3hKMDZP0Gs+luh5tyOqLYKfawR6zX9IdCuySlOXAx4EHpl1TmvW9LNhg0dzcxP5/Cjffhty8GAb5ffmOmAV8Cu1SmkCX/B22b1qFmrDhkHlcn2SxiWVJI2rs7NPTz45KIhm2btvaf75/gbYOsE3ZQddvnxEhw93SQp1o4U6dKhLy5aNlIGNEt26Spe3EjPiyjTzci5dmmHVqkUz6DlWr15IR0dmFt0lVJjCqgl/ULYllfIxm3lAszSp1GxvfIYKrdLIAlwq2zI0NE4+PzRj28jIEIODE7PojtYaNgI6gXDG1hMnArZvjwjDsRt+D8Mxtm0TJ0+Wi14InEr0a2NJQXhWMFk2Z2azU9q0Kadc7owGBiaVy53Rxo05NTZOzZJnJxPd2hWG5EywTHB61iTv+yU1Npa0cKHU2FiS75duURROCzpqekZIKlhG8KYgrFH1CgVvJLoVWcUzSgRXAJ8Ba2sQg33AM0+3tZ06mE7jIggjh+dFRM4woL5QYH1/P1uTDhWnLouBu4H3gc1A+zxW6sKIc9ufuvPOwT7nFiccLvGQ+IW7KrgymKkvrGhdTHsqqm6vJNGtB14DXgRS1YJGEP0RBHteam39ZsDzCr7kK4a0JCTCTECEKCHyDo6bU2dVNTmJ7hVgK/F963Gq3EpdqVTPlqamIwOe1+yByWyagGI5xa+cYv52QUcofqimKFwHBnqJt0J3NX0vOTe6s6Fh74EgyHsgg8jiJU/c4k+zCCwyU2SGCdUjNVUNmwAL+BH4kDjSt7QilH7JZA7sbGjodhUvhxmSyaxPznXOCTaxEPgU+JpbnEUFHE+nT25pajp01SyqANQAp/h/h8MOvndBcH6+58g88I5gJfBQOYgBz7u4PZvd25tKXbn5GRkYUjIvI0K6AuQw+wc4m89kxrPFYlUHmZumngTtSBE2hzA203MFmPpqwYK9P2UyF+2/fvHyCicZSCVgAugR/OT5/ueC3U/09JwExu8eHaUrl5t/mRPQ43nNrVH0ekZ6zk3L3SGEvwfB/ldaWn7r8/2CF7OaJMzsKjAhkTfUa+Y6QxiUUZocHg7vaG4Gz+N0V9f1seZ9nTBgv3OjOPdRS6m0pl561CWT6PX9Mx9ns3+f8/2CL3mCIpA3swHggpmd9VP+eUQxikpYMRS+R8s993Ds6NGbxqrJ3efhYlHdqdSRy869lw7DDgftl83GdjU0/LUnk7mYigEvIJ0T9GfS6YuTU1OFeLbGXevW8uOOHRUFpma2u6EheGBy8tXmMHx2X5D57eXFrV/knet20rBnNnq2rm6ivVAgXVfHic7OqvVrd6sEFpVKhR7ffzeItPNYOsh3BcGw39tbyLa1IYnHhob4bnh4zvr/AlFvZYTScGjCAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTA1LTI1VDAwOjI4OjU5KzAwOjAwM8i5WwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0wNS0yNFQyMzowMzowMSswMDowMGvaOiAAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIosGP4JQAABfxJREFUWMO1mF1sXEcVx39n5u5613btOIlrp0lEhBr6RSmKLUiQIkQFSH0rLSoI8VCE1DSqVKkIAeVDCPECQhChClKXB0qBRKpoQbQNRbSUNIoTKW1NmsZW6vgjNbHXjje79q7Xd33vncPDjYuc7qZ3t+ZIq5V27sz5zZn/mXPuCk2a7vwlZNNgBK5vE/JLm0E6UTIIHhCi+KBFSrk8nTcokYVqGzL85aZ8es3C0tkCI0Xhpq5byVf2AHuBO4BeoB0oAzngNNf1vorTk8z1D9MzqM26lKaiuusJMFEvTu4DvgJ88t2l6q2onAQOoe5pxMzKG/v+v7DafxAiI4jchOi3Qe8DaU04G5QK8DTITxF3DmdVhh5I7L8xGdhQcKkbgR8Dd6PiJd+ugNAKfBXVVlS+h3pj8S6SmUke1QEIUxsQHgbuBm0A9KoACfeAPIwEG7TvYOKJiWFRtSB3AvfH2d4caWziAV9D9E7Arius9g2AkS7gIZD2OpsBpxBEsBLF307j32vyajvwII4u7X8iEWwyzSoGx8eAT9QFBeW27hx7P2TpaNnAYrXIq+9EjFzqRVWQq09CQNiDyO3Av0ig3WSwggH9HEhLHVDHp3dc5ht7YFtHG/HRtnHXzkV+cSLP0clNUAuYFuCzKMeA8P0wkmrWgNxKLX05hW2dC+zvL7Gtowf4H+z2jh7295fY3lHE1QycBT4KmogjGawiKL3UyioFtl6X5caNm2qsZ9i5cSNbO7J1DllAe0ATZWtSGQBkam9EwTMeIrUdirRgxdZNNCSbiCFxZGNbqAMDBb/MYnW+5viiP0/RX0LqBq+4zrDqQEdBo/cMWYGxyxmeHXE4La0Zc1rimRFlrJDF1oBVIpS3UVwSioTlVh3IIHHTsjbJRMAPMzz57x5KK1N84eYibaluloJLPDu8wjMj2/HDNKYGrBAAJ2E9YQVHxCsYpoEPv2fcAKVqmj+c3sGfhsGKJXI34IcQOlsTNLZpVP6JTQabVLOKZQY4VDsKEkc4dJZy1bLgQ3nFEjp7Da06lD8COTRZM5O4wGv/AET6EUR+h7A76bxr2AlU7v/iwm/ffiOcxjiInMFahzOCAK2+z95cjtVWp7F+tm8gBdwDHAC2NEup6MxlV3n03uJv/jrtKqkQPOMwkTPGWhc5I05gJev7lVsWFv03u69nS8o1/FoTAM8Bu4BHgFQjiCA4VXc8mDj3zfJzXXOu/CUP4xkwGMSauMcw8cPOb8mEQ92ZgoGzM5GMNtznad8AwA5UH0f4PNcQZS3csWh+/LvlI8+fCt4pWonvM1nzhMSFRkDjwuYElh36j0aKAgDy+j6AC4geACYambvglouH/aHB14KpgsWoxCCOdz8Sf4s4ECeiTgRRtBXVDQ3DXgFWsoWXgF8BlSRzAo3CV4LR1w77QxMGqVudr/IkqIqKTKsxo03BAtA+F6HyJMpfrn31KKrK2Sg38ljl+NCKhi4BqABGwQdOGzhiMpmLzf9vcOkWWKFAmp8pejPKrtoQwpwrzQ5UTgxeiAqVGm2bgKz2OYrgUK0A5xE5B0wVstlyZxA01MisRXh9H6RQhDcDogMRq33BlSBf8e67oPrn6pnBl4PzswKrxx8fr2JUBVRDYAmYVHjZet7vFV68a3JyBChvLxYZP3/+A731xUx9A0xG813dpuNHWVL7jYi3mtWRanQsGDv1/fLfjk67Rd+KEUBUFRFZAZZUKQh6QcSMRnBJhXA5n4/aurrAWsbGx9do4wPbqTselc3Seftm03awldSnjAgKTIT5iR8u/f3IsWB83sNY4nu6ICJzwIyITFnPu4gSOBcSBZGqZ2ltb+etM2dqCGqdbOLjPyEt9t5uaXssJXbLgvNLv14+fuTx5cGzKfEKAjOo/kch15rJzC5Xq76IYFMptu3ezUtPPfW+PtYNFuDFXd/K3Kabf9Al2a+fCC4c/c7SC4cKrjJhkLwVKU6l00tbfJ+WdJrh0dGG12/+NqhhmzTrT0aFn2esd/itaLYwTiHvXcz5nVt3oKp8Zn6eF/L5ptf/L2sInRchOhqOAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTA1LTI1VDAwOjI4OjU5KzAwOjAwM8i5WwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0wNS0yNFQyMzowNjo0OCswMDowMJwhuk0AAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIosGP4JQAABmRJREFUWMO1mF2MlFcZx3//887Ozs5O96OwZekupiq0ptJigFhaJaZNa9MbbTVBY5pYY0MlxiZ640XjhfHGxtheGFNFL7AIGmIbEy2Cix8sCSWxSCiyKyy7QGGXhd1hZnc+dnbfec/jxSwI7ADvjvhPJm/yvufj93ycc54zokHt+tYqMnMtOHN0lu7RdGt2KdBuWApTQqIKVgHy3d2F7PhYu7koork0y6d3DTQ0Z6JR2Ltn23m/Y1Crcw88OJ3OPgpsBNYA3UAGKALjwNHx8bv6kT+06r1LA/9+bJk1Oqca6fTnF9fiAtftzW8CvgI8IsAAzQ9p1yDNvzkE7DRnu5zXxSd/8c//L+y+l9bjfSRMDyB9V2ITRjrOKDV2Kwt2yXjVnE74yNvTvzwSe/5FpYESgRT6lQY/AJ4FS6B49tY8rzTG8yZLm9krvmrDV+2IIRe3Yd/m9VhY7QC9jHhWIrHYLJpPlYShL2C87JrUsfeldbH7x4Y1LDDjCeAFoYYX5nwgEoKvSXrCILijsHs3ryMw1wl8k9pKX2iMGeY9vhriwzl8NcS8x2xhlAWYlAG+EeA7+15cHws2pofMefzDwCdvBiqwtg9/fHzpwxuDRLqto1qezk8c7Y8KZwe7zUy6IbcFYHoU00PA34mRu7FgHXKIp4DmeqCAX7rmM5fv3/Qd0l29rdRC29r9yDPTJ3e9lp04un+JGQuAgWaDJ4UdAKq354gh1do9SL38Mk/6nt6plZ/fUkh39S4DrsKmu1Ys++jnthTSXSvymK83dCBYjeJxxGpkmMC6qbP8zYyWJT0trT0rl9QZz2V6V93dsrSnpV7uIoRYdvUkuY1i5qwAUvUtMRQkEvViDCCpWUEQYDdNyZZ4DHE9a2DGVH07xFwxVwzL05P1Poel6cm5Yr50i8Mjf0dhJbzEEBAt+OYCSmPDqdH+t715X7jOSO8L5/vfstLocItcve3UIjM7aVY/oW9UvDQQHuMgtaLlulklEc1VUmf2bFsWlgvnejc+lw9SrV1RpTRxvv/tufMH3loRhZWktNAvZgqBQ8CdgzXkRfQ3cGPARxZ63hGWC8kP+n593+j+30EQBETRvdFcBR9Vg3qg8xrD7K9GEAs27tZlEFww2HkzL0jCR9UgnCkGYXGKcKYY1EDr56oZHmyHwTi3WH03cMRT3+b1eKL7hX4ltCFuv1voXcle+OG7UyeHp6o4D5F3BIHHu9pelq5U2Dg+zhvzHWIXEdsPj/HVtT3TkqaATwF3NUppxoVC6F99pT9/ZLIctXlol9Fupg7nLGNSRtCcqFZJRz6q3tuj1UvbFlk9iRD4A7AW49smmuKGpnaLAG/mB7PhiW3Hip3Ts/5LgUg4cDgUOAMwV2vuK82p6pGuVM7B8QuRhhZ9renbvA7gPsN+BvqsFlnUjhejke0DxT8OXQ7zgZOuGHGdSWbzDwF4wYzH+mLXs1f01NbDeDiL9DpwOn6dD6U5n99/vnLwVC7MOdW8p9qCnf+p9pQ8yEvmJWRYGrOORcMCPL31sCU6W/YJfgqU4/SJvFWPTYbvHThXOS1qu8ftJWEmk8bMuaGGYAHC7kwkbBuy399q6zFqxc7ZQjT4znD5SNWbjwEqwBlUgKMOdrtUarTh60lyYAKfnMvZXPJHGB8zbG09CAH5WX9x70j54KVyVF7YwgS6Yq7VTksrA6eQTgDnci0txfYwjH8Hu1GPbz2MhU0m0/tV43UPBfivj6+UhGHkZw+NzR48NhFevCb8tfAazkxgVgVKwBmDvwSJxHaDPc+cOTMIFFfk84ycOtXYnxzXat/mdVyaiTrbku77TY4tTkqY1S6GZhYdnwz/sWOguP9yxVdcjVRWuzbMASUzcsLOSm4oggkT1ZlsNmrt7IQgYHhk5Loo/c/6+ZfXKJPQQ21J90ZzwGNX0mG8VD3928HS7uOT4WQgAiAEcpIuARcknQsSiVGM0PsqURiZJQLSmQz/OnasbkrdEe14/hM0SV+8q1k/STgtL4e+8KeRmd17Ts8cD5xygguYnTcYT6dSF2dmZyuSCJqa6N2wgX1vvnnbOe4YLMBrz61NLc/Y9zJN+vqJy+H+7cdLOwuhP+0gG0j5c8lkaXmlQnMyycDQ0KLHb3g3qKdMk1UuzUQ/TrrEbz4o+NzFClmNjlZaP9SDmfH45CTvZLMNj/8ffOgG6JpOcn4AAAAldEVYdGRhdGU6Y3JlYXRlADIwMjMtMDUtMjVUMDA6Mjg6NTkrMDA6MDAzyLlbAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIzLTA1LTI0VDIzOjA3OjAwKzAwOjAwxEaR7gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAASUVORK5CYII=",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIosGP4JQAABZ5JREFUWMO1mF1oXFUQx39z7r3Z3aQx2TYxCVo1aaviJyhqK/TBUgVBRVT6oD4oIiqFgiAoqIjogyIaoYgGFGrFVuuDWloRrWgrxmKrYmtbbZovY76z2e0m2W6ye8/4cLe1obvN3bUOHO7DOTPzP/+ZM2fOFSoUHQaygAVyCB4NKHUIUcAF8ihZIMUUCepQCGbkosp8upWCJQM0IoxxBS6rgNXAtUAzsAiYBkaA36hlD5a9xDlMsgC6ApGKWO0GhGaUdcD9wE3ogtb2AluAbSijsvx/Bqs9gEUQLgOeBtahVJdhJYOyDXgV5U9AZUV4/+WlgUFQlgMvodwNuGXGphp4sPB9ljzdED4tTFms+tQDG1DuRsoGGojgAvcgbMCjXrvL4Sq8EwdYAzxUcFi5BPoPI6wBnHMKtsBqHFhPcNKLLCoxSgNehPI4lnhYdsMyZBCuQbmxaOiDSqBErh8hdqeDE6/HJlPMbPeZ/aUZkBIpswrhapTvCJG74cAqBrgVIVIUKGKpuWOSxe3gLashCG0Nix5Ik3gywcyOJWgRwIG9tcD3QH5hxsKCVa6gVH55bcepf3kKb1kT8C9Yb3kT8Zem8NpSJSw7KFcVyFhQwh4wIbiZigfTuyRG1dVLitgzVF27GLc1VoIEAZoIWe/DpUFgKlp6geciUtyhSATxikdEACVGSAlfuuB4yRl/Yho/OVF8bnICOz5zFiJSYet12Jy1KF0oftH53OEo6Q6L+lPz9fwp0u8oc0dKsecDRwl6twUlbOmyQCdB0zI/pALYTJTUK03Y1ADnPZrCnNeITY+T7pgj3bEUm6kqwV6OoMEJBTZUALQLAVoRvkZoK8E+iOsj1SCug+Z9NAOad87ipQfDWpQ+aVu4zobNWUUYRthSkgUhAGbTDv4k2LSzAFALfIhlhJDNTOhWpHAlXgq8D6wMq3cW+RGHh+57rPnoL39EMBZ8a3AcizXB/VGdzbJ6ZIS3CwqhGxJZBnqMXoQ3gXagpVKUqgxPpkzHvesvGB8aMecXcJjC8AuszylkxmPV2Usbz6fFs2U23wG71cALwJOAF14ZELAW+8PP0T1PvdL4+VjCybpGXQ1ASiGXFBEFLEoeJWngkBjtKqvVk2Wg3WSAtwneW7cRNpUkwNsz4PVt3Fx/YGzCiTsOonJ6y1DYkWphvYDQotDqK1+XcymcAgz0o7Sj9JajezxtUlu313buPxhNOg4qgpUg5IUhwVfEglgRtSKIotWo1pcNtgBYGWMX8BbBO3dByeXJf7s3tn/rjtpeY0BCxUMEVVGRITWmqyKwAEzio2xC+Qw9S+nRIKqHjkaObNxc/+tcTmwIoAIYDf5M/GbgCxONDlb+PFkOKEmE1xQuR7muKAiBsQlntOOjus7+QS9z5hoVEFQLWxMsqhngGCJ/AgPJWGy6Lpcrq5GZj+FygteBcCCXo933mTrJ5Onf7Cyzn361qPObztioyKnwB+FVjKqAah6YAfoUvnFc9wOFL2/v6zsCTC9Npeg5dqyynxzzeOmGvkEn3rjYvhiL6BPG4J481L7F/35fdN9zrzfsHhpzs05wn4mqIiJzwIwqSUH7RUyXD+Mq5E8kEn5NPA6OQ3dPzylf/+2VSlAd9m03KdS827A4f311VG82JiC2f9D9671P6n7+e8TNuq46quSApIiMAcMiMuB67iBKzto8kvMV16Hh4ov5/eDBM3z9Z7AAN9yV097d3oH0lHkj4vmtxtCSnpapj3fW/rTnp9io55EUZBjVvxVGYpHI6InZ2WywW+HCVSvZtXnzwsScC7An5ctNtdErV5x4Pl7nP/Ljr7Hdz7zWuCV53PQa0YQjkhqoqpppyWaJVFVxuKurbPvnhNmTsiSez/YNua9HI7r1965osmcgmnCT/dm6S5pRVW6ZmGBnIlGx/X8AIXpAQWXTlG4AAAAldEVYdGRhdGU6Y3JlYXRlADIwMjMtMDUtMjVUMDA6Mjg6NTkrMDA6MDAzyLlbAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIzLTA1LTI0VDIzOjA3OjE0KzAwOjAw/KO1YwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAASUVORK5CYII=",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIosGP4JQAABh1JREFUWMO1mH+MXFUVxz/nvje/3s7+mLa72wqNSykIxEKCqKUJf0jQgGJCIGKC/AEaUSEh4R+NGv8wEMUY0xgjTI2J2Go1/EWA7hbBxELcboKh0tItZZfd7a50Z3dmdmZ3Z2dndt67xz9mt7bd2fbNUE/y8jL35d77eed83znnjtCqvfRrcKPgCBS7ha7sFtBOkDioC+KDVFAt0lXKU0wqvgu5Tvjm11ra0m0ZNhqDXFXYHLuJzuztwB3ALcBWIAmUQDPAu8y3vYnRId6+bZg9R7XVLaWlWf1pUN2K8CDIQ8DnEb1oufOZBGAI5SDoixgzw93f+T/DHkqDEUH1U6A/AHkQUS/UMgqIlkFeROQXqJ4Gq9zzeOjtm5SBFdTsBJ4G7kNwQ7+vAIqH8DCqHuiPwX7IhSG4pJnQnANpwHQBTyLch0jzehcBVRflfuBJ1HTV173SsKiDcCfwCB/nwxShHhEeBbkTxbmysAP7wJoU8ARCsvG7aP2ywf+utbHG1EmE72I0xeHnQmGE9ZBB9GbgcxuCCvqZjp7MV3s+6aTcaFehVi2+nJ0M3lnIbkVVkIbavh3YBfyDENoNCasG4YtArBGogL23p29u7w17uNbraAMcoO0bV12/8NT7g/lXZyY2bwAcQ7kLkbcA//IeC+tZuGkV4mJadnid889c99nFa72OXuAc7E6vo/fpnbct7vA6ihs4zgE+jYbjCAsr1CvT+lgq9HntiV3JTZsbrGduad+86RqvI7FBkAWlFw2X/5r5quONh5WIGFeksShFJBYR4zT2rIBoIixAE6mL+cbDQm6lUirUqrlGT+dqlVx2ZXmpYfFQQCmGLQvhYBWLMgIEDVzHcGkuvm/qlA1UF89/FKgupieH9VSpkGiYDYQAkQ8QsWEwwsrAgg6i8hBy0UcmQjnw48+OH+st+tWpb199Y7HDjXQv+LXsvqnhlX1Tw9vLgR9tnLq0BgwhhIINV9gPpQVHr0F5HWTH+j3rcXSNCTwngivi+KpBOajhW+tskGMBxkDuQvwJ7n7ismIIq1kFpoGDqK73ggiI4FvrLNSqztxKhYVa1bkkqKpF9c/1nldCqTZ8i3g4DVavR+SPwO7Q8za2o4g8sv3nL3zgTpzFWAiswXEs1ggCeJUKd2QyPN80LMBrv4sQBPcDexHZ1jKm6rQpLf/wqmd+/3J8finig2ssJrDGOI4NrBErsJKoVMo3zi9Ujnf3sC1im+yeVGuovoKRW4GngEgTc+tysWq99ydO9/zhlZQ7v/h1NcY1YDCIYxRATV12thKL+8e64wUDJ6cDGWn+WHPoOTCmDyUNfAlpLjqRTH6s50D/q4mRySKOc9FhaPVXvTFCVQCswLJFX2+mKNTtK4+DmjOI7kV0vJmpprRc7DzyzmBidKqAMboKYjl3Sf0uYkGsiFoRRFEP1a7mYQG+/JgSLbwB/BYoh5oTBH7bidF/db717/G17HF5E0FVVOSsGjPSGixA8myAygsoL3GpXnS1AY9PZk5t6v/nMfF9GwJUAKNQAd410G/i8Y9aP55kb4aIKWD9X6J6A3Br45IqOMXFma7XhgYjs4XyeoWrgKzVFUWwqJaBUUROA1OFRKLUWas11chcaPc+BjZQ0OP4di92tS9YO8as3mWlVm0fOjHYdnx0BmEt/PXwKkZVQNUHloAJhb87rntA4fA9ExOngNL2YpGx0dEW/+Q43wbSOLm5lG1P/lQjke9hxD2XplQD7+TY2z1/GjjiFhYqGCOAqCoisgIsqVIQ9IyIGQkgq4K/nM8HbakUOA4fjo1doI2PbZH0jwQvuctvb3teY9E9a3KIZPLj3X/9W793ciynjnGAGlAQkVlgWkSmHNf9CKVmrU9QC1RdBy+Z5L0TJ9Yr6krAAkT2/wzruA8EnW2/wXG2mXJlMTUw2J86fPQkrlMAplH9j0LGi8dnlqvViojgRCJcvXs3b+zff9k9rhgsQPuz348vb9/yk8CLf8s7feZI74H+g6ZUHkck74gUp6LRpW2VCrFolOGRkabXbz0bNDC/PVFxZwu/0k9s+UtscrYQny3ka9lMRfv6UFW+kMtxKJ9vef3/AgyZp3iOwsFtAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTA1LTI1VDAwOjI4OjU5KzAwOjAwM8i5WwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0wNS0yNFQyMzowNzozMyswMDowMHshjJAAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIosGP4JQAABjBJREFUWMO1mFFsXFcRhr//3F1713biOCVxotiolJiUlpLKtiBFiiqqgpS3tkhFQjwU8QBRpUr0BSHEA+IFVNoIIVQeQ4CAKiVCoUSIFokEKUSENGpCYxJnnUQmteN4u+v12r7ru+cMD+tESbOO727DSFfn4dwz852ZOXPmXtGmDE0NkY/zuODYnGxWMVv8GEavyXJCGaBuZjFQnp+fL/b29prHU8vUOP/x823ZzLQL27vYy9imMe2Y2fFIMVN8AtgN7AS2AD1AFZgG3l23bt3xEMLJmb6Z8/2lfmvXptpZNFwYxsltCRaeB74GfB5raNMqKg07CRw07A2Zrr+z/Z3/L+zoxCg+eEnaIfRd4HmMrrRaDFvEeAP4iUwXAsHODJ1Jbb+lNIhcpGBhO/AjjGcMy0jp9yvUBXzdsC7Dvm91KwCp08K14tW6r28QegnjGURLoLcRZ4SeQ7ykrDaMFEZSL00Na7IIeAp4QVLbB/MmMPANSU8B0X2FHZkYwXnXB7xI46TfvRkzggUSS1i2ZRJLCBawVaIsqQfj2yGEvtHCaCrYVB4yzAWFz2J8rtlhMjMQ9mjno9O787uj9dH6DZVQKR9fOO7HamNbDFOzlBF6QtJjGH8jRe6mgpXJAV9CdDYFhfBk95MfvLzxZQayA900Qtu9p2dP5bXia8VjC8cewLgbuKHvacP+DtTX4kiXs4bDeIQm+RUIDGQH5vZu2Ds/kB3oB27BDmYH+/f27Z0fzA6WA6GZ5gjjM1g6jlQvGSbDttCkLhvGtuy2/PaO7Q800eeGOoY2bstsyzfNXUNAPynrfbo0aIQvt8pGyJDJaJU6JqkzUhQ1hRVg5NMwpPbsisw1hUGUfKla8ZXZZvMVX5kth/LCatcwopz2BkybswFjHMN/eCoiopAUcocrh0OwMH/7XLAwf6hyyArLhXzUpJwa5g27aFgghaQt7gE4QaNpucOqJOIQ5/aX9/fPh/nJZ9c/W+523ZsWwsKNw5XDy4cqhwbjEHc43e0XoQQ4uaJ/TUkVgNHxUXn8J5zcW4iHmjrfjIwyPqcckaLIm/exxdStHt3jWp4wZ09HFl059dCpNets2py1SNEU4uBqXpBE3epRNVSjOT9HNVSjNUCDYb8lMG1YqmYmdScyWhjF4z8l9CuhXWnX3UP+YZG9sPituYu1/9RxAXxwRFEguMZx7Ipjdk9P83qrsAAjl0ayiOeAfcDWtjGNqVAO35t7sXwkmg7ZOmRcwPngXBQFH5yCYDkfx4ufnqvEZzdtZms2tPhZIxLgj8Aw8B0g2wIgCCxYqJ9OLiz9uNqnYviqOTIOHA5FzgDMNd4OcWeufmZTruTgvSmv8ZYb0pX+80HDfin05Vaj46/6icWfVt/0Z5OyIsl0u4KbO7KVQQBBsBSwt1q5FAA4/cnTAFdl2odxuZW1Vgnl5SPxCX8uKRFhiKDGgV151BilAAqSBQkZ1oXZhpZhV4AtP5N/G/gFsJgKtG715GTyr+U348u4W1f4GiJhJpPeN+fG24IF6Pmgx5vZfjP7g9k9So81arC/6MfiA4tnLLGQAlSAM4iBdx0cdbnctbY/T25sv8GyLZc61PEK8LCZDTeFENhsuF77/eKJcM0vNunbBLpZaQ0RMFsELiFdACZL+Xy1N0laamTukNMPnyarrEk6S8I+PPM3PdkYV6zXQm35L7UTyYnkOroV/kZ4DWcmMKsDC8AVg79GmcyvDf6858qVMaA6WC4zcelSez85bpeRwgj+mu9zG90P6WSvnDK3lSlfP5WcWnq1eizMhFiRBMjMkLQMLJhREnZVcuMebpioLxWLvruvD6KIwsTEHbnxkWXnkZ1Srx5zG93r5PiCnBqFcrJ+eelnC0fr/0xmyRABCVCSNANMSZqMMplrGEkIdXzizTIRXT09/PvcuWYZdX/k8WOPo6y+oo36ubLaatUwH/9m6Wjt4NJ7yqoETGH2X4Pprlzu+lKtFksiymYZ2LWLtw8cWNPGfYMFGN4/nLMh+4F69c36meRY/MrCQT8XLksUI6k82dGxsDWO6ezo4Pz4eMv6P9rPig+J9Vns3/evRp2Z3/nxULJJila6FuvBbZgZX5yd5U/FYtv6/weDRwGc3Jre9AAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMy0wNS0yNVQwMDoyODo1OSswMDowMDPIuVsAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjMtMDUtMjRUMjM6MDc6NDkrMDA6MDDVlNrHAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAABJRU5ErkJggg==",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIosGP4JQAABmJJREFUWMO1l1tsXFcVhr9/7zPjGY/jSy6NXVHVScsttCBVqElBFU0FFYiXqkitVPEQBA8ERBFPqCIUIZAQApSHFgchSEorAuoTUJJSNalTUNNQLs0FO0qcOE6d+D6ecXwbe+bsxcPYpYknyvE0LOloP5yz1/r22v9Ze21Rpz3zxlrcYgULMes2NCk/Prte0AJkDEWCCkbJsOKVcnu+OT1sFfNMqYGnto/XFTOqF1bzC6Q2NKuSn9kyOT53H3A/8DGgHWgCZoAR4ERzeuSvoGP/mr21d2tu0OqOWc+krldzBNEuuUdlPA62FRP2bqfLng2QYXAMtN9CeMF7Rnc+MPv/hX2mO4cHmfFBQ99GPApqvKETq0YybE7wgmQ/DsYZ55zt/NR04virk0GIZfJ3gn4APCxTlGjJqgILNSL7opkaZXzHOzu/tJRE5pJ+2HV4Dbio1aQnEA9LilAC0HcDCwxFZjwCPFGJ1dp1eE3iXCWGNTMv9CCwg+WM1mFVZkWgL2E8iJm/qbBdR3I479pkfF2mplrZNDPMYuKwSBwWiMMiZjFmNXZZgKzJsK+ad217DucSwSbNkDPCRxH31tp3MwNht6z5+Ejnus/6dNTaulgpFgcmXorHZo63m5mklfME92HhbuAICbSbDNbkDD4jaLgOaOhc//nJT97xI1qym3KAB3Lv3/jYldfPPZkfmDi4biWwABqQfdqkvwGVG2YsKaxMW0Ar9GUEWjKbp7Z27ppuyW7aCLwD25LdvPHeTbumW7KbikZY6Ra8obsMJeJIBiuEaKeGBswCzdnbs2tzH1lXw59bl7tr7ZpsZ9Ys1PYMG1GymrKavzpznbQjRVFNUQKSGpwiX0uSSxOySSttosxa9ZmqDeMolfMzC+XiRK33pXJholTOz6rWTlcdF28qrCAI+oB45TvP5OzpTO/w3mAWrjo7zcJ0z9Bem5ztzYqV5dREbOKsiUACSyQDCwTEUeBxXRNVEpV4LvPvt3dvXKhMDW7p2FFM+TUbyvH0eM/QvsXeob23VeL5dK3MCsrAMW4mbEDBQTeEIUybr/0dJMdCuZg+Pvh0Z8/lXyN5bxbfWg5zhFD215OAiSEz92okSwSbVAaG4mGJ/chCLY1JEELZL1SmfKk8yUJlyldBax13gCwIfisXRixhM5O4RezqzoHcBzB+g7Gtvk74KntDnh37v9d89lJ/hAsQB4f3geCqtayxVOL+kRH2rBYWoOtQcwofHgF2Y+qoF9jMhuem3ZP7nmr9U7moVAUiF3BxcM77EAenIFjMlkpzH566Ujq54RY6UmGV/awoI3uR4O4x8S1BKjkgSIYFhYu96TMv/bKpbb7oHvPOIgcOh7wzAHNVWYRSQ6by1oZMwUHPcKy+Veem60gOC64T+IXgoaSnz7IsJ4ei/pf35f586Uyq6L3JrnKwfKWwpUFQLZvzAXslcT+7bF97YJYguwi227ALq5k7P+OKJ7ozRy+fTRWcw0BBEHjnUXWUAihIFiRkWCNmrauGBfjG9hmb0vwhoZ9jzCXJaohV6T+R+ufJ7oYLUrV63NgkzGTSkDnXVxcswIVMHDvTs8AfanfYS5hW3c7RAX/62B8b36pUFBKACnAGJeCEg4Muk7lc9/Vk63Qb026+kFbqJ6APYdxTC0IyZgp+9M0DjUeLo36uRt8mEEvLNUTAbA44h3QGGCxkszMt5XLyO9i19pWHCjQoZZI7GSrstsA02HLQpdGoLGqh5/WGo+ePp0b53/ZXt9dwZgKzCjALDBgc9lH0vMFfPjcwcBqYua1YpP/cufde2ru6mymOubbG5vj7qTQ75SwyU7VMmeKBk6l/vPJs7rUrk77k3NLtywxJi8CsGQVhFyXXF8O4icp8Ph/n2trAe87391+ljfdsu361Vpmm+O5cc9iTzvAJaalMDfsLh5/PHRw4lZ5w3jzVxqUgaQwYljToo+gyRjmECnE5Nos8jU1N/OfUqZWSuhmwAD/8fQtRxBdyLeFpH1lHadZN//3FzME3DzT2uIiCYBizSwYjjZnM6PzCQkkSPpXifdu2cei5524Y46bBAnzzp+sz7beXv5ttCl8e7E2/9vLepv3zM+6CZHkvFQfT6dmOUomGdJrevr5V+6+7GtSyXHMoFcf8z1Jp+93Y26lCYawhz/jFUrazAzNj+8QEB/L5uv3/F2k1+QZ70J2JAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTA1LTI1VDAwOjI4OjU5KzAwOjAwM8i5WwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0wNS0yNFQyMzowODowMiswMDowMKLS20oAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIosGP4JQAABdtJREFUWMO1mFuMFFUax3/fqarp7ppLdzMDDCwmzAxegrIka7KLF2JkITFGE5NNfFAeNPuwGh8ML2rcbDYbXMNkszFmH7w8qYmYGB92jcuDwkYwQYzILEFmggODgDANc+menkvX0FXn24dqFJZuprrVf1KpTup85/zP/7uc77TQKv4KmNrvKoJHD0IWSAMuEKIEQIlZpsihGKAT+ENrS7otk3WBACHFejzuAjYDG4FeoAOYAwrAUTo5gOUQ9zLMAbTVJaUlq12A0IvyKMpjCL9JYHUI2I3wPsJFnvu5yQ7WbJRbgeeBRwE/ka0CwgLwPoZBLCewKC8mX77ZMBBgHbAT5RHATbxdARQfYTsWH+WPWE7VtpEITpOq5lFeALYjTRC9lrABbgUcDIf4LQH7kpmbZMO+39gW4Al+TGIKILjAk8AWJLlgyci+DCh5lGeIM/16KGCBCAhrb8uNnNwBPIUlz8vJyCZVyKD8Evh1XdfHyaN3rrqz8PC6h518Kp8rLhZLH45+GB0pHOlFkevs4pC4C2ED8CkJYjcZWcEA24BUPaKC2Idufmj6lS2vMJAbaCcOmfbH1z9e3rFvx9RHJz/qrksYUghbgc9q/lhCsaRkhfV140uhP98/89Lml2YHcgMrge/JrsuvW7lz887Z/lx/qa5ugoNwR02MJZE0wYT4ZLpeG4W12bWZDT0buuvMZzau2LisL9eXaeBkAVaSsN43k9XpRh88x3NFpO6CIpLyjNc445VMUgLNlK6ZRtpMLkzOFYPiZL3P08H05ERlYr6hdkIpab1OStYCo8QF6TqywxPD6Tf++4aNNJq9+lOk0ezrQ6/ryMRIpgGhCPimNv+SSFaQtyIo3cADtYJ+DdmqrbqHC4cz5cXyeF+ubz6yUaowXxgf/GKw/OpXr66euzyXakD2MvAmMMTepUtXMgfsQrD0IXyC0F93jILruJHv+bjiOqGG0UJ1gTAKnRusMlaT4lueX5ps0jBQhHFgN41cJhBGoVMOys50ZZpyUHaWIGpR3iXueRM1M8lbkV2AcgvC28CmxHaN8TnCEzd90PuNeymFsRBZg+NYrInPDz8I2Fwo8FrNIHnXtRfYRpm4KtxDfEFpDcq4qZjBNe+uGUrPeF0WsqJkVSVnjHaoSIdAyg1D/MhG4epfyB09XdJck7cLiJvtPwM7AK8Jglf6Aet/lz6wYt/yf7kLToCoq3E4Sm2AIhK3RUqIUjRwXIyOJlf2irpbqQInUW4HBuqe+PVQG+WVvNM9B5d9liq2CYYuFWkXET9+NH6rtovQAdKF0IPQH8Fcc2R/IDwDTAD3IOSTmprAlPJHs/s6T7VfqPW1KrHmtUfit4iCqIiqiIiiHqoXmyd7hfB9fIuLIb7VLh0OlrBjzD/YfTh/TFQ0mT9EUBUVuaAiXzRz3F6LEhHCWyj/RG9QemqapSdSI8u+yg1JJDYBUQGMQgAcNbDHpNPnW7+erAZmKOLzN4TbUH5Vl4SAM+dczA1lD3oz3kKd3QgIqrWtCRbVBeAkIieAc8VMZi5brTZRuv4fHwMPAB6XiJgHtiGkrsr6OL9DFrtGuv6THe4cE5UriRa7FzEgCBqCVIDzKhx2XfdTa+3xB8+cKZzM5S4vn59n5OzZFv/kuBqD4JScvPXtX9TVpxHcqwhH/tn0lyv29+x359wAE6eVqiIil4F5VYqCnhExoxFMqBBWpqai9nweHIdTY2PXxMaPhvesJ2TYEPrha+rp3T+UKff08gPde/xzmUk16gBVoCgil4BxETnnuO55lKq1IVE1UnUd/I4Ovj52rF5E/TTwXvCwrv1dlIn+gcMqsyiz+SO5Pfkj2eM4FIFxVL9TKPjp9MXK4mIgIjiex5pNm9j7zjtLrvGTkQXofLozXVlW+VOUin7vn8/sX7l/+W5TMacRnXJESufa2uZXBQGptjaGR0ebnr/1alAHYToM3JL7d+3W91KT6WK6nJ6qXjgT6NpeVJX7Jyf599RUy/P/D0pQLH84wUhqAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTA1LTI1VDAwOjI4OjU5KzAwOjAwM8i5WwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0wNS0yNFQyMzowODoxNiswMDowMJo3/8cAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIosGP4JQAABapJREFUWMO1mF1sFFUUgL9zZ6bd3ULbBUpBJVTwB1E0UaJg4oNGTUw0MZoYoz5ojKAxMeFFQ4wxBh8wxhB/sWriPyY+GH+RBDT+FhQVFaSBQrtQhRba7ral22l35h4fZosou3R2qSe5mWTm3nu+e+6555w7QrWizwI1gAB1AiOzQBqABOACAeCD5qCnH85QcIA6kNurUulWDUstkBNIL4b8cuAq4BJgDjANOAb0AL/BnG9At8HS3dCm1WqU6qz6ChDOAbkNuAO4IsZU24ANYN8H04us/J9hdT1gBOR80EdAbwNJxRwMkAfeB3kK7B5wFFkRW32FbhAIeOcAa4CbQSoYLwAp4C7QFMij4O6fWEUcMfGt2gp4jcBDEahW6+8ucAvIQ1BojHZrqmFRB+Qa4O5IYXXuHom4wD2g1xCFiCmE1VZA0sCDINPKdCq28IQ28a5k/2nA/UA6OrCTS9ytNMDFwOXlQdHLaOq5iflOmtrGLGO5jzkY/sLROaBy8k4IwHKQJcBXxPDdCmD1OpDaUqAC9kZaBtaxnIXU11GM/ndy7tAqtvZ/SmZmaWBqgWuBb4mSyKQWiwkriynpX8oCGgafZOnwQuqbgeOw51DfvIalwwuoz5UxnANcBBqLIy6sEGWmkqeqhenJJcyYWWI+cwkzZpxNfbL8vNocWX1yqST8JEq/VjyMK0hJhYLUeohT3iWl3EJOkgpCF4PljNOHfyzLWF+prwP4fUfxR04R6nJTDKsWtAM0LAW7m4FEK+02RIdP/BKiwy/Tru1kk2VgQ2AvYONQxHQDtSBtREXLfw6ZkCdIrOXX5hzj3fexKFeP1zRE4Wgru8dbaZ+XJ6gpA1sgKnBiwcZLQ7peQM4GNoMsKNGhuHITpvBwESfAhnkCAqxzCjWdINcCGWTFpHE2rs8qcBjYUNoKAggB1hlizBnAZ4hxZxJQC7xLVPPGKmbiJ3htBfQ8kDeBZbHHlZetIHfPu/n1ve6vhzAWQmtwHIs1ggAp3+eqnh4mSp0K69lWD7gFWAfMrRpT9bAZyK8+89ZXP05k8l4ArrGY0BrjODa0RqzAeNL38xcMDvm/N81mrmcrhoWoJn0cWAV4FQyObGPVpr7r+mb2qk8+co8M+zjG1cgdi+lYFREFLEqAkjXwhxjtqLzOi4BbQF8GrqdMMijH6+3v65z9yMZPkz8czOE68u+Kobgg1eJDAKzAqEU3V5IUIonuTgdA1wFdlQw1udFcwzs72pLbu7O4RhGsRAet2CR6ilgQK6JWBFE0hWpj5bARsEJ2C/Ai0b1qcimEQd2XHT81bNjRFV3j4myICKqiIofUmI7qYAE4EoK8AXzIKUOPgiqJXT3tM577foeMBzYGqABGwQd+M7DRJBJ/ncZ/gwsAssDTqC4CLi0NITi9w72N67e2eZls/uQjHXmtanFlgkU1D+xDZA/QnU0mjzUUChUVMv9hWFk0G79TCNcRTtQFE0aOnuIXxqZ/sLOt7ot9vVHukGgFqqKKURVQDYARIKPwheO6bytsuiGTaQeOzcvl6Ny377RufUWmVpxMX9o21T+hSe8BjLjHT3WgYerb/dtnr/78a/fQkI9jBBBVRUTGgRFVsoIeEDEdIRxVIRjt7w/r0mlwHPZ3dh5XdRpu8I+FzfbVOYPzWjCr7jJNeVdiJApTBwYONr7648/un4O+usZBtQBkReQIcFhEul3P/QulYG2AFELFdZg1fz67du4s4VBTJF7XWmyNc2vYVPc8njPXDPrD6Re+35h+qe0PatwscBjVPxV6UolE7+jYmC8iOJ7HWcuWseWttya3y1TBAkzf9HBi9MJZj4WNyXtTWw983fzwZxvMQL4LI/2OSK67pmZkru9TW1PD7o6Oiuc/fTc4QYKZSd/NZJ/RRe57tbt6s4nObH9hqMfXlhZUlav7+visv7/q+f8Gb188Ax2DNawAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjMtMDUtMjVUMDA6Mjg6NTkrMDA6MDAzyLlbAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIzLTA1LTI0VDIzOjA4OjMyKzAwOjAwLF3cqQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAASUVORK5CYII=",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIosGP4JQAABQ5JREFUWMO9mNtvFFUcxz+/M9N2d1HaQgEbNVy8hEiURIIBEx98MTGRhIR/wMQnHzThQXwyPhkfjBcwBg0mKiJiTIiYoCQKEWOoEZWLXCIt2+VWWnrZddvSLTszXx9ma8tll9m2+EtOJrtnzvd85nd+8zu/M8Z0TZr6y4A2oBlIAT4QACWgAAwCkwPMpjWlP23YSchHgLXAU8BK4B7gLmAE6AWOAT8DvwKnroP+X0wC6R6kl5F+RVKC1oH0EtKiG1bljkIa0nKkT5BGE4JOtNHKuOUVnTsKa0gPIX2NVK4TdKKVkb5CehBpesGb0KutSO/PAHQq8JaK3h2B9ZA2IA3PEHSiDVf0vDvh1TakA7MEOtF+qOgmwkiauhzwGPBErUdaBb3rwGuFljwUvoXwzziVVYvNtcCjwE/MWkqTfKQ3q8WqSeE6qb9L6pE0IimQNNIp9Twn9SNFNWL3DaSZ5vvrYBuR9lSb9AFp6JiUlRTqeguPSNll0lAV2Kii25h0eZOYUWM5l0D6UZh/Cz23EuYthXQN3UVUD5PrrB73p6p1NIBvVSY0aGqAWm98moSW1LMA/1TrGICRPAzcqm8IBvphtIZuYbZhI6ATCG/VeQpSH0EUwvDU/0MY/hB0urr3QuBMRX+WLN4QXkAaq5Yzm6XxV6WuLun8FWmsSzr/itQ1VxqvkWfHKrqzuDHENcEypLO1krwvBXOlYJ6kuVLgS8FtNoWzSEuT1ghJw0DAZWBnrSULwCuCNwQUwQtqv1gR8AVxzZtoQ0he9cRb4sPAZ8Ca6S7SFOsAnr9//foz/tGjuAjCyOF5EZEzDMiUSjzV28vWyoDkqcsMpG7gPeBdoH3amNJlNzT00b0bNvSncrmFQczhKi2seP2a4Gp/OlN6eMFC2huiOjw76d0M8DqwEWioGzSKoswvv/y8cOPGPf6VKyU8z1cMWUnVEmYCIkSAyDs4aU6d9e3JsXevAluJz1vPUGcoNWSzudbNm4/7fX2t+L7JbIqAYjkpvsT87YKlofihnk1hEhjOEYdCdz1DXaFQaN6x41D68OE8vi/MIouXvNIsvppFYJGZIjNMKIPUUj9sDCzgR+AD4GqiMeVyMOfAgd+bd+7sxrmEx3EzJJNZj5zrnB5sbCHwKfANt0s9EqkTJ07P27LliF27FiUANcAp/u5wzMF3LpW6NNM6Mg+8hbQceLwahNfX19eydeuhhlzu6s33yOC/g64wosp70YXZ38CFfDo90lwu11XI3PDsRsWjxymX3yUMh295W6k0fvfu3Yfm7N/fh9nEuHh5hZMMpIC42MkJ9nu+/7lg37O53Glg5P5CgWxX1wy/yMTZIfJ6evZGCxZ8KudexLlJzSAI0x0dR1q2bz9j5bLwPANMEmZ2zWBUIg+cc2adIfTLCIr9/eGc1la+X7aMs9nsf3IzP06Y4Q4fLjj4OGhrW6VM5kmci9PUuXPnW7Zt+8O/eLEk3/eQykDezK4Al83sgt/gX0KUoyjAyqHwPdoWL+bEX3/dNNWsnH3Kq1erobv7uCsW3wmbmpbiXLsrFofn7tr1W+bgwT4aG/MGl5EuCnrTTU19Y+PjpYmHvW/tGn7cvv32fpkN2Am7e9++1NiKFa+FLa0vZDoOHVy0adNONzTUjXODnlnhQmPjaHupRFNjI6c6O+vWn8VTJQTz55f8XO5tLU992XTiZD6VzQ6Wi8WSlixBEk8PDLB3cHDa+v8CFsk24crxS5QAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjMtMDUtMjVUMDA6Mjg6NTkrMDA6MDAzyLlbAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIzLTA1LTI0VDIzOjA4OjQ3KzAwOjAwdKD6FwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAASUVORK5CYII=",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIosGP4JQAABm5JREFUWMO1mFtsXFcVhr9/nzMXj8ceu4mVG1VSFwiq4iIqKClVHygFqQgkRKNAqjyk4gFC+gBPRYI8IISgIKgQjdKXiFKUi6IGVQKiirb0kjakCiJtrk0dO26cxHbsiWdsjz23sxcPdkJIxs3xpGxpdGZ0zt77m3/9a+01I5ocXd99lrJLUnfQPXGnBtr6FxuWk5QGC5HqZpRlVlgzkckfzU1b6Opks5cZ+sUPmtozbBZ2OkjRVaxotD1910Bb/33AA8CngaVAFmMKGAbePd4+84ZDhz6x+sDJ0ye+ZM3uqWYmtXx/D4H5pSbWgx41+DwyhOAqyuwbk+Y2skPALnm3N8JGZrZv+P/CZjfvJgIhrRb2hLD1JjKKsYwBMqYN9prxJI7THqyyLT70gmygyEmB/zjYzxDfAMI4oFdVERnMNkrKGPy4Cn1cE4ubjSDug61bdoKzTqQfgW2UCJtxkSSHbLVQEJodSt27rlw7vC/WXBd3E5MFJnsQbJOkpkD/q7JC4DEHD3ostmCxYLOP78HVw05MWxDZhl/GjMgb1bqnUo+o1j2RN8waR1mQRfpeaOrMPr4zFmxczzocdyPdOx+okH125W3DD/csDzoyyY7CdLWw/9iF6J1zl5eamaRGkbD7TPQArxHDu7FgzZsDvoyRuj76c8r5r9694vIvv/kZuruyrczmQuu3P7dy4onnj+T3H7+waB7glMFDwAGgfnPF4sAKZ+IudGNCeoPurrbi1q/1THZ3ZZcAV2G7u9qWbP16z+Qdi7MF31i3wGCNmWJxxHpIIM2eTDdI481Yuai1Zc3y3KIG67meFR23rVqcbfENvSvJtESmWNm6kDqbbqi6QSJw4TymRFIqESiw+R3ZEhcgZukywIqNcsAJ8lOVqcJ0dazRzPFSZWxsslJy82knCnGrYDxYw2P0AtH1twInTl4spHe8ecZ7b5PX3vPeJne81Wcnh4otQWPaCHgf8HEwYtrAebCDGI9en2SSmK5F6d/+/dSS4kxt8LH77yy0pRNdE+Xq6B/e7KvueKvv9plalHQNXGJQAzskUyzYWAFo3bxHTnaHh5cQ3Q3FNyMRuCiTDAmcgshbNF2tU4t8MI+dMazfyx4KzA2Utm24aZ2Ne9yaR0PALmyekEnUIh8UZ6rB5VKF4kw1+DBQzLyMnc4YJmYzE/uAb92yB8x/EumPGGtvoTWYU5V/Stq0+MDT77vCIM5D5B1B4PFutpfLlMs8MDzM9rk5sZuI2uHnSaxdNyGjCNyPaGue1IZctfTkon/86kiqNNbuIScjZ6YO5yxrUlaQCut1MpGP6stXaM3idi2snzVqGH8B7gH7ISixEC1nOwjzqbHe0x3v7O105YlvmVzoZnsPBc4AzM3awpdT6fqRrvS4gxNDkXoXHMzWLbuR2SqDZ0z6imJa6YopE5OX+nPH9v01mT9bwAUyrl1g7pPZ3EUAXjDjsZdi97NXRmnbBgLvPzDpKeBsnNS48oirThcy594+mLw8MI6czYF4rr40e5U8yEvmJWRYBrOOBcMCFJ/ZaJVc58uCbcim4ySzfFRPX3rvX5lzb5+92m3cfJYwk0kXzbnepmABokwucuJZgxfsQ2kNmZEoXjiV7X3liKK6jwEqwBmUgXcd7Hfp9IWm/zdYNDpIXonxjNV+LbNPgd1Dw1NKhJXiSLbvtYNhaWz6RoubQMw1OobwmE0DZ5BOA4PjLS1TuVot/m+w60f+d+tpsbrJ7Cg+egpscjaX50Q2wwBXr1XS5/99MDXy3sg14Z8Nr+HMBGZ1oAQMGLwShOGfDF58eGDgFDB1e6FA/5kzt1raZ6uDK412+lT7TwmSm00KZYZJyCxKjZ4+nDv659eDcrGMnACZGZKqQMmMcWEfSK43glET9Zl8Pmrt7IQgoK+//3+8ccujfcPPRSrXE6Wy2wmSX7jSS4dTo2dzx1/YnxrtHTO5AKgB45IuAUOSBoMwvIBR875OVIvMwoBMNsvxY8du2OcjgQVo3/Q05oJHfCr7e3PhMledmcyeeXV/tu/VE7hwHBjC7LzBcCadHpmpVMqSCBIJPrZ2LS8/99xN9/jIYAG61v0kXWlftjVKtH4nNdb3eufRfbtUK50F5QOpMJhMlpaVy6SSSU729i54/aarQaMRJbNlVxr7jW9L7E5MXBxPlvP52vmRMitXYWZ8cWyMv+XzTa//H6b399ILDmv5AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTA1LTI1VDAwOjI4OjU5KzAwOjAwM8i5WwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0wNS0yNFQyMzowOToxMyswMDowMCfNu14AAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIpx2TIswAABhBJREFUWMO1l0tsXGcVx3//e+94xmPHzsSxPXm4NK/adRKKQISUKjz6QIBKFIQUpMCiwIoFSF3RDQsELCIWCLEosKiggiyyQKWQSFV5pJRHUKpaVbDj2HnUedmOPR57xmOPPfd+h8Wk1JbH9Z1p+kmf7uK795zfd87/nu98otHxkScgbAYLYM4XbdFWsHZQCiNAhIgy2CwtTTmKy0YgaHfwj5cbchk0DLvcCh23xcyOftqiRzGOIB4BskArMI8xAbzFfOXv4J1nb2KIkWVr1KUa+qr/GMhlMR0HToA+gRlohbm1SOcRp/B0GucmGfrDBwy7/yg4T4he4HtgxzGl41kyQAvAabCTOF0GZwzHl4RfF2zXPoH2gn4MHMeURHG3LDASyA5gZIEBQsszM/IBwO4/CngZ4DlMXwcLVqU9Ji/IA/UifHzO0/VwmanhWJ97dbjyMR4HnkHUD7oaOgC+gfQ4ZrEDFu/F/i8DdAA/AXpr5t2sOsMIogicvftarY1JTaAtyDtDV99CnOjGLV0epg8jDtVcNQOwjx3cN/Glz3zcz7S1bM4XSrMvn7sQvTl4JYuZ1snEo2AHwc5Rq340Bmse4imM5JqgmiFwT3/20MxPn/sme3qyLVQz1vK1pz9VePbkC7k//e1CxzrASeBJ0OtAuHHE4sJi/aiGbJyx+4Hs3I++e6K4pyfbDfwfdu8D27p/+J0Txd092VlcjcAZPsYBXDyOmLASKEstsTrHgzu6mw8+9KGOGva8R3of3LJrZ3czztU0DNYNFutvree4Ta23kAj8QKotSknJRODX/pGrpaw5LkA9pWuutkMxnS/O5wvz07WWZ+aK01P5Quk9St3s/YU1c5iNAtGaNd9j6MpY6penX3GRc8WVS5FzxV+cfsUujd5oxq/pKsIYwXDEGPHqbGefgA7E50GrpSNRqYTBG0NXmwvFhfFdO7OlyLnkxHR+/OQLvy/87Ldnts+XFpN4tWBtGfgVaIDp4Q1LV7xjqO+o8LxdwKvA7nWiTxAEUbo5SeB7fhi5aGGxTBhG/voSsGvIniTy3mb4pQ1h42rWEONgp9ZPmQjD0C8US/7MbJFCseS/J2jVzu8wTRDjQIgfWYD9x8DcQ6DfYDrcYCe8kvbfwDM9iyMjgVvAcxA5D99397pQSJfLHJmY4Pl7X8TvuqaGoau3AJoDPYbY1DinjXsWntxZHhpIuaU2B+0y2s202fOs1aRWQTIIQ9KRi8LtO3Rga5vqvdZUMP0R+CjwLJBogNSlXfFy19JYJrDwqwaBBx4e8r1qj+FVZeHKyVQ40JnKezA4Hmm0vuZ76jJ09VUQV4D9wB4M1SOJhCtf31q583rSLQmpzaQWSenqtOrTrEWiFdSG2IrYHcF8fbBQlUN3/xzmpoDHQJm4sJ6Fs5lw6i+bwtk7AEimahTvTVWfkoFMMpMkwxKYTdYPC3D3EuzreZtyk4d0hDhyMAtbo7l/dVQmLgqzeM27hJlMumPSf+o5blePlrkI6dfAS2xUesxIuYVLWyoTAzLnYoAK8AzKwFsenPVSqduNRRag9RBAGeMqZocQ29arhL5VJjsq4682u1L+nYCt2IlAqrbFgHCYlYBBpH8K3syn09PJMIx//1kzJoehsw+Mu2Al0FNIyRUQgJC5pbYo99f2KHdN74JW01u9PCIsBC0Ct028EQTBOefc4BfHxiaubN683FkqcenGjfdf2uk/hh8uZZwf/MDkfbvaO1RBMYvSUfFC1/KN1wKrlKm2kTIzJC0DJTPywsYkbzSCKRPhYi4XtWQy4PtcvXZtlTbe90js/ZxI+AdDgucN75PvpDnhytc7l26dTbvCtCEfqAB5SXeBcUk3/SC4jVFxLiSqRGaBT7q1lf9evLjGz32BBUj0fwHn+ErkNf0ctM2zsJipTJ7NVCYHkZcHxjG7ZTCRTqUmF5eWypLwEwl2Hj7Mn198cUMf9w0WYNPDn04tkv5+RPCtdDT/Wnfl5inPwutAzpdmbzY1lbaVyySbmhgaHa3b/n2Fbe57AnO2peI3b2+v5PJZG89Vbtwq244ePGBfsciZXK5h+/8DFYWTIIiuQPwAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjMtMDUtMjVUMDA6Mjg6NTkrMDA6MDAzyLlbAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIzLTA1LTI0VDIzOjA5OjIzKzAwOjAwqUK8vQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAASUVORK5CYII=",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIpx2TIswAABilJREFUWMO1mF9sXEcVh78zd9fetZ04TkmcKDYqJSalpaSyLUiRooqqIOWtLVKREA9FPEBUqRJ9QQjxgHgBlTZCCJXHECCgSolQKBGiRSJBSiNCGjWhMYljJ5FJ7Tje7np3bd/duzM/HtZFCazju9twpNU83J0z3znzmzN/jA5tZGSWfD7GucDWrYkVCtmPgPoly5mRARqSYqBUqVQK/f398h5qtQwXL360ozEzncL29y8zMbHFdu2af6hQyDwG7AV2A9uAPqAKzAHvbNiw4WQI4fT8/MDFwcGiOh3TOuk0OjqFc7YtBD0LfAX4LAgwbA2PEqeBwxKvmenm22/v/P/Cjo9P430wM9tlxreBZ0E9ad1ILINeA35kpkshoHPnRlKP35YMoshZCNoJ/AD0lETGLH28ZvQAX5Xokfiu1JiiOSWpzLWT1UbDbzLjBdBTYG2B3oacMeMZsBfMspvGxqZS90wNK1kEPAE8Z2YdL8wPgIGvmdkTQHRPYcfGpnHODwDP01zpLYIRIYgkEfV6sw1BaI1JNrM+0DdDCAPj4+mymypDEi4E+zToM60WkyTA9PDD3XN79+ajjRujTeVyKJ08ueQnJmrbJKyVZMx4zMweAf2FFNpNBWsmB3wBrLs1KOHxx3vff/HFzQwNZXtpTm3vvn195VdeKRROnFi6D9QC2LqBJyX+CjTW40ipWTnQQ7TQVwgwNJRd3L9/U2VoKDsI/Ad2eDg7uH//QGV4OFsKoaXjCPSppv/1LdWfJExiGy00IMGOHdn8zp1d97Xw50ZGujbv2JHJt9auDBgkZaFOKQMDyK0RCJkMGVujjplZdxRZ1BrWAOXTMKTO7KottoaBYtFXy2W/0Op7uewXSqWwtHZJtlLaHTCtZgNoEuT/+0sUwdRUkjt6tBxCUOX2byGocuRIWVNT9XzUoppKeInLEoEUlra4B+AUzUPLHcOaGXEccgcPlgYrlTDz9NMbS729bsvSUrh19Gi5fuRIeTiOQ5dzLUtXApxe9b+upcr/+Pikec/HnLM3wB5omXuJTMZ8LmdEkUXey8exaDQU3WVbnpbck1Gka2fOPLBunU2rWUWRzYIdXisLZkajoahaDdHioqdaDdE6oEHi1xDmpHSHmdQnkfHxKbznE2b8wow9afvdxd6SoueWF79xudb4Jy6AD44oCgRnGNATx+ydm+PVdmEBxsauZMGeAQ4A2zvn1GwIpe8slp4/FoW5bAMyLuB8cC6Kgg/OgkE9H8fLn1wsx+e3bGV7NrR7rbEE+D0wCnwLyLYBCBhSCI3k7KWV6g8HLBS+LFzGgcNhkROsbpdAiLtzjXNbckUH7856m2z7QLp6/rxf4udmfLHd2fH++vRy9cev++R8ySwyYbc5aAaEtNoYQDBYCeiNdjYFAM6e/TjAdTMdAF1tp69CuVSPj53yyYUiRAIL1lywqz9rtmYBLJgpmGFCPUib2oZdBVY+P/8m8DNgORWoGo0kOf33evz6VXCku2WYIZnM3pNzkx3BAvT1ve8lHZT0O0l3KT1CEt5fnoiXD52TkpAC1AAniIF3HBx3udyNjq8nt27tpF5XsavLXgIelDTaGsJQWLhZW/7tqeBvLP+vxGXNhbcamRGQloErmF0CZor5fLU/Sdo6yNxhZ88+SDZrMrPzkBwAX/kgk81mdfRQq9VrfzqVJKduNt8VbDUCmYSTDKQGsARcE/w5ymR+KfjjvmvXJoDqcKnE9JUrnT1y3G5jY1N4f2PAuc3fh+79Zi5zW5nyjeTMmZXqyydCmI/NIgNMzXtOHViSKBq6buYmPdyS0VgpFHzvwABEEVPT03do40Pb7t3HzKz/Eec2vwq5z5m5ZqFszFxdWfrJ8UbytwXIREACFM1sHpg1s5kok7mBSEJo4BMvZSJ6+vr4x4ULLQR1j+zRR09glv2S2eafmmW3K1Qr8cqvjtdWDr9rli0Cs0j/Esz15HI3V2q12MyIslmG9uzhzUOH1h3jnsECjI4ezEkj3zPr/3ojOXciXnrpsA+LVw0rRGalma6upe1xTHdXFxcnJ9v2/yEfK+40aSD2/r2Xo6j7N95fKYqZgm4UY9txP5L4/MICfygUOvb/b4OFAZuQsv++AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTA1LTI1VDAwOjI4OjU5KzAwOjAwM8i5WwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0wNS0yNFQyMzowOTo0MSswMDowMPiypBMAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIpx2TIswAABfxJREFUWMOtmF1sHNUVgL9zZ3a9u97gXRITO4CwImhpAqXioQ2oeWgESPAUgRQk4AHEQ4uQqJAQP614QFVRItSi/tD0CRVo08gR/xAhkQRIIhMURJxAfm2vHdzY63g3Hv/P7s7c04dxCm7WYXbJkUZXmtl7znfPOffcc1doUn7/smJSgIHalUiiyApR2lBSCC4QKPiAN62Uc4IaB5al4Zd3SVM23WZh3Sz4g0hLF2sSo9wCrAduAjqALDADFIHDy4S9Fg78fC3H9h5Bm7XZ1BI3dyuidChsUrhP4GcxNB4AtonQLZaxJ+9t3HRDM7Z0Kwiiyg9RnkLYBGTizFUFEeZQug1ssYaTVtHfbIqP0FgaWATDtcDvFDYCblxTIqCQEXjAChlVfmuFAYifFqYhrxpyCo8BG0Xig/4PGFDBVbgbeMyx5J7fHj+FY8OiOMAG4EG+x8aU6HFRHgI2CDiXFPb5HYoa8gqPEu30C9eiYBVCC0EYjVaj90tIFviVFfJxvRvXQ0bhx8BP64V+YfNoZ57itZ04LUlylSpe3yhh8Rwdqoj830QRUOUWgRuBj4mRu7FgBQzK7UBLPVDAXreKcxtuglyWVqLQtq65hqndvZT7R1heDxhoEbgN2AcE3+mxWLCKEVhTL78UyGeZXL+W6VyWlfANbD7LyvU3MJ3L4tVzm4AjcINIPI54G0wRlA7q1GVVaGslvaKN5XX0mSvauDzXSlrr0wrCSiRevY+Xs5Gq1FKfHYMrSxgUocWYpXe8QjoWQ2zPRjK51DrmKsz4VUr1vvtVSvMVZpdynSiexCy1cWEt0AeEdTzH+CSp3gJWlelFXlOmDw2g45OkpT5tiHAKwcaBiFu6rEIPUdOyKKQiEISkDpxgpV9l+Cer8ZIJ2qs1xnsLVHsLXB2EJJeArRE1OJcQVrCqfCTKCMLqet71qyQPnqKrdwDE4KhlVS06HBxZKgeUEZQ9EtOzcdNAxTIKbEPrKxaJwPwaznwF/BrORUGjaP0LoYjEa2Zi9yKbtysq/EDgFYR1ceddRD4V4cG3/7Tx1OhwL8ZCaA2OY7EmKi0Z32d9scjWRmEBNndrgqhjehHobJZSVUfnZ849s+OP97wTzAwlAnCNxYTWGMexoTViBapp35/70eSUf6T9CjoTtuHuqQa8C9wMPA4k4gOe7wesPXNq/8mPtz+er0ydvdcYxzVgMIhjFEBNdDBavyUVHGpPTRg4OhpKX8N3i83dCtClyt+BOyTm6bOAjHd2oLB3x1PvFQufecZxRRcdXwrIwspAVQCswLxFP2zkUADg6egacpooFQYbmevPet6xT//ZUxw8OCHGVRArUdlaeCQaRSyIFVErgiiaQTXXMOwCsNZy7BJ4CWUuzhwb1oKvj+/5/MSBbYMipm4LdqGIoCoqMqLG9DUFC+BdSSjKPxTe0ov0oqqgqpTOfHX80K4/HwqDqo0BKkQ9tA8cNrDTpFJnmr6erDoMk2kmMgEviOr1CjfXgxCB2cmxscMfbe2ZKg3NccFvVEDO98WKYFGdA/oROQkMT6TTM221WkONzCJ54n4hHaAuHLFB7UW14fR5T357DGt+pe+LN3pOH9s9hsj58EfhVYyqgGoAzAJDCrsd131N4YM7h4aOAzNXex6F/v7m/uT4tmzpVrzSUD6zrP05N5F+RIxxvylTQTh8Yt/B/a8/88mMN+Ib4wggGl0bqsCsKhOCnhYxfSGMqxDMl8thaz4PjsNAobAoN763/PqFg5LOrLgxc9mKrYlk5lYRAyjeeGGw581ndw6f2FsyjusQ1ekJETkLjIrIsOO6Z1Bq1gaEtVDVdchks3z15ZcXptSlgAV4+qVB3GTynnS2/S+Ok+iszE1O9+75687ePX87atzkhMAoqv9RKGZSqbH5SsUXEZxEgqvWrWPXq69+p41LBgvwyHMfpC7vWPtsSyb/8Eh/zyf7dzy5bX723KCIKTsi3nAyOdvp+7Qkkxzr62tYf9PVoJ6kWpf7XnnoD8vd1L9LI0cnvFKhzNkpP9XVharyi1KJ98vlpvX/F5vAnOxV5r8nAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTA1LTI1VDAwOjI4OjU5KzAwOjAwM8i5WwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0wNS0yNFQyMzowOTo1MiswMDowMAXwvhAAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIpx2TIswAABa9JREFUWMOtmGtoHFUUx3/nzkyym7R5tIlNfdCH9f0CLdoK/aCoICiUFkTUDxWxKoLQL0oREdEPikjxGaP9oLVW8IOo2GqpilqJlfporU2oaZKNaW3SZrOb12aSnbnHD7PV1O42s2sPDBdm773nd8/933PurFChvYxSBQhQCzIBTQL1QAJwgQDwFbIDkD4X1In6cjdSkU+3UthqIAvSCJfnYCWwCrgGaAHmAOPAALC/Bb5T2LMcOtpBK/VZ0RLfQgmhReAu4B7ghhgT7QG2WfjQwOBDFbgua0QrigERuEThCYW7BGrijC2EMwd8KPCChUMO6PoyEMqSQQDiwTLgWWC1lDG+gFQD3KdQI/CkC92UIQsTt2MbigcNwGPAaq1c7y6wRuCxPDS0liHh2LAKjsDNwDrArew8R1bYkfs1ms85q7BtKAKNwKMSnfRii0GBcMZz8l2J/nOAh4HGt2JGN+5WGuBq4PpSoIA2X8fAojtxqhtpmMqQ/fNTwhO/0KLRofxvdAFWClwFfEMM7caGVbhVovR6OqhgF9/B8MpNUHchtURbW3vRvYz+sIF06jPmFwMmmu8WYDdREZk1YrFgBS6niL4UqF/KyPLnGKu7kAXwL2zdMhYsf5axuqVkS4TNAa7UmBxxYYWoMhU9V3MXk5x3FfOLzGfmXcO8uiUkS82rsEBj5vty0k+i2EsFjIcrUtyhCNXi4ZQSpFByIadZ7NQFjJRwhj/E+FSGoWK/+8MM+SeYOEPosmcVVsEqdGmUkU6DHe4g0dmG1ZCxU8aFjHW+iWY6SZaADYE/ABuHI5YMFKxAO9Gl5ZRDJkCQI7HveRZMZ+m/9EGyXh3N+VFOdLQx3dnGBUGOqhKweaILTizYWMJuRUVgCbBLYGmRxQBgXEKvBsTFsQFhkAMb4JzBSY9EqSu1Hpk1z8bVrALHgG3FoiCFxwY4U6M4/jBMj+LMAmqB94nuvLFKWOwS34aicLHAu8CKuOPOYD8IrNvasvqP/up9GAuhNTiOxZootdT4PqsGBmgtF7YA7AFrgE3AwkopFT2WM8MbN5+39tO8SXkBuMZiQmuM49jQGrEC00nfz102Mur/1nwOCz1bNixEd9KngQ2AFx8wioxibSrx/Xfbmzd8Mu4c9x113EIFk0IPRUQBixKgZAwcFKNdZd/0CsCLFd4EbpOydkdJe909n89/4rMjiR+zDq4oM6tJYUmqhUYgykSTFt1VTlEAoPDt1KeRFHrLGTtpstl9c7e2H03szRhcBbESHbTCI1ErYkGsiFoRRNEaVBvKhi0Aawa+BF4n+q6a1ULyQXfy65/2z93WKxgk1oaIoCoq8pca01URLMBxCAXeAT7mDKknuoArg9W/d7Y3vPJrINM2BqgQXUt9YL+BHSaROFrx/waXRU0GeFHRS4Fri0EIMO4MDv5Y39qe9VK50yWuAoJqYW2CRTUHHEbkENCfSSbH6/P5si4yp1hBuwr8FpLfpIRjJ1/MbPP4UwfmfNR+OPnVIMjJ7Y+2VzGqAqoBMAGkFL5yXPc9hS9uT6U6gfELsll6Dh+u8H+cGdaGMuSkGuts8zOeJh8RjPtvmgrC3sTuvTubNn476v7lm6igiaoiItPAhCoZQftETFcIJ1QIJtPpsLaxERyH7p6ef3xVLIOZEd5o9mYdw+baoOk6T2tuFAygDLt9f+6tf/vnEfeIb9R1FM0DGRE5DhwTkX7Xc4+i5K0NkHyouA5Nixbx+4EDRSV1Vux5rxfHVq2tDZtfdfAW+jIytqfhtR176t84aKjKCBxD9YjCQE0iMTg5NeWLCI7ncf6KFXy5ZcusPs4aLMDjc79INE1e8VQybHygL9H+7c5zHt+WM8O9oibtiGT7q6omFvo+1VVVdHR1lT3//5bBTEsG8/2Mm3rJtYkPBqsPZoYTPWn6Rv1ky2JUlZuGhtieTlc8/98L/TvfZZ49dwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMy0wNS0yNVQwMDoyODo1OSswMDowMDPIuVsAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjMtMDUtMjRUMjM6MTA6MDQrMDA6MDATW3FEAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAABJRU5ErkJggg==",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIpx2TIswAABQpJREFUWMO9mNtvVFUUh7+1z5nOTKWUSsE2ahRUQiRootGIiQ++mJhIYoJ/gIlPPmhi4u3F+GR8MN4gBokaFRU0Jt4SlYSLQhSIKAhyibRMWy6l9xl6nTLnnJ8Pc4pFmOFMW1yTlZMz++y1v73WPmvtfYwZitD0WwOagUYgA/hAABSBAjAI/3YwbEZj+jOFnQZ5O7AKeAC4E2gB5gGjQA9wENgF7AWOTof+X0TlX4vQ00J7hZRA9wg9JXSd/g/eGNKElgt9KDSWEHRKx+J+y2M7VxXWhG4T+lKoVCPolJaEvhC6VWhmizehV5uE1s0CdDrw2tjeVYH1hNYIjcwSdEpHYnve1fBqs9COOQKd0q2x3UQcSVOXA+4A7q06p7vpYTUeTSwgT4HvCNlPC1RMrKuAlcDPzFVKE/KFXq24Vk2hVqtf7eqWNCopkDSqNnXrEfULRVXW7itCs833F8HWCX1bcdBbNKSDykkKdbGEOqCclmqoAmwU261LGt4kYlAlnDeTZSULL2PPcSfXsoRsFbvXQbL6W4v7MxVbUvgVC76RJkW1Nz5LQknqWYBzFVsGGCXPwGXbhhign7EqdgtzDRsBbUB42dajZNhARMjIRf+HjPAu4lhF74XA8dj+3EhcEJ4QmqiYMxs1qRfUrnadVJ8m1K6Tek7tmq/JKnl2IrY7d4Uh3hMsFTpRNcn7CjRfga6VNF+BfAVXKAonhJYk3SMkXQYCzgKbqoYswGMYjyFgGI+g6osVAZ9R3vMmKgiJdz1xSVwGfAzcN9MoTZM9wOOPtTx6fH/6T1wEYeTwvIjIlVNLfbHIAz09rI87JE5dhiHUAbwFvAm0zpRS6OyQG9qw5vo1/d2uc3HM4WINY6+fF4z3Z+uLyxYtpjUV1XYYir1bD7wMPAOkagWNiKJfM7/senbRM9/2eX1FX56vMqSVAy1hJiBCBIi8gyPm1FZTTY69Ow6sp3zeeogal1Iuletct+DtQ31eb5OHb7Lp1URlc1L5UuZvFSwJxdZaisIFYKCL8lLoqKXvOVcobG74dPfvmX15D1+GRVYOeaxWvppFYJGZIjNMqB5pQc2wMbCAbcA7wHiSPiVKwU/ZHb9vbtjU4XAJj+NmSCazbjnXNiPYWELgI+AbrpB6hDiSPnxs3YK1B87b+SgBqAFO5e8OBx384DKZM7PdR+aB14SWA3dVgujzens3NK7f3ZXqHL/0GRkYUjwvI0IaB9ox+xs4lc9mRxtLpZo2Mv+ZuhF79FCJ0psh4cjlnitSnPx63le7t2e39xo21a8cXuEkAykAxoBOwXbP9z8RbHm4s/MYMHpjoUCuvX12X2Ti7BB1e93fL4oWfeTknnS4CzZDgnBvZs+BTxs2Hg+sJA/PAJOEmZ03GJPIA13OrC2EfhnBcH9/eE1TEz8uXcqJXO7CeLM+ThjGPrevgOP95qD57nrV3+9wCNHld538oPG9P077p4u+fE+oBOTNrA84a2an/JR/BlGKogArhcL3aL7pJg7/9dclY83J2eee0j3qSHUcGnbDb6TD9BKHax224ZEvGj7/bVd2Z2+KurwZZ5FOC3qy6XTvxORksTxb44ZV97Ft48YEjplD2dKwJbNiYsVLTWHTE3syu3e+uPj5TXk31OHkBj2zwqm6urHWYpF0XR1H29pqtj93p0pgYbCw2Ol3vp6JMpsPp4/kc5ncoN81XGxsuRlJPDgwwPeDgzO2/w/IRTXCFJZFPwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMy0wNS0yNVQwMDoyODo1OSswMDowMDPIuVsAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjMtMDUtMjRUMjM6MTA6MTMrMDA6MDAaVk9UAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAABJRU5ErkJggg==",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIpx2TIswAABfVJREFUWMO9mE1sXFcVx3/nvnn2PI/leEZDHSNQ04gUUgGVQIIGqQuqgMSuYtEFRUoqNlRIlVixoKiqukIIwgZVhEr9CAS1Vj+Q2oJE+EijpmnTNiRNaxKnSWyntmM/z0wyiXnjmXf/LGZchXbGvHECR7q6i3vPub93znnnnveMDUq9XqfVaiGJarVqo6OjZTPbBOSBHNACEkm1hYWF5fHxcQE45xgdHd3QmbZR2DiOGRkZsXq9fhuwA7jTzG4HNgPDwBVgQdJx4BXgSD6ff6/RaKhUKv3/YKvVKmmabnbO3QN8B/hqBrUjwH4zewa4WCwW/7ewcRwTBIEBn5X0I0n3mNlQHyZWgGfM7KfAKUD9QOf6gfXem3PuM8AjwN1m1pe+pCEz+25n/rFz7n1AWfVd1o2VSoUgCEYlPQDcLakvUAAzo6P3bUkPeO9HK5VKZv3MsEBgZncBu4Gc2cbezY5eDrhP0l1AcENh4zhGUlHSD8xsuNseST1HDxmW9H1JxTiOM8FmDaUDvgh8pReomSkIgoUwDAMzG5VUazabaZqmmyVZj0jsAL4A/J0MuZvJs2bmgG8Agz1AfRiGy4VCgSiKCvl8PoiiqFAoFAjDcNnM1MPDg8BOM8uUCplhzey2Xkadc5eiKKoHQTAGFGjnYSEIgrEoiurOuVoP0wHw+awcWdPAaN9MXWPpnIucc0GXQ51zruScG0zTtJfdMTLW+37KT349O72S0swG6fHGd1SirAD9lK5LvRYkXZEU91iLJV1dR7e2TsXoH1aSlzQlqWss0zTNNxoNL6n+Eb16o9FQmqa9vJea2Wkz8zcM1sy8mR02s2aXNSTlkyQZS5Jk0Xs/671PvPezSZIsJkkyJmmwh+kmcCQrbKacdc75NE3/BsyZ2dZuwN77gSRJtjQaDWjn6Cc7l0KwtqeLzEn66w31rNoyD+yX1NVwx8OB9z7w3uO9DyQFZtYVtGPnd865BTI2M5kv+DiOMbNbgSfN7I6seus44LUgCHbvvvfe08dPnsR5SL0jCDzeGQYMJQl3LizwaEcnc+kql8tUKpVzwC+BPcD4dYDOV6vVX+/atWtp8cKFmzocrjNSwAOrgpWlaCi59RM3MR76/prvTjs3BDwE/BAI+wBcy23/xuuvv/LQgw/+YSmOk5xzObUhrR1oCTMBHtFCVB28a05TffWkpVKJSqWyAjwq6XYz+yYZU2ktb6enp8//Zu/eE0tLS8UgCExm1xhQ25zUntr844JbUvHnfi6FD4GBaTPbA5zLWtABLtVqtecmJg7/4+23q0EQyMy8tUPeGdaezTyYN5M3w4SGkEb7hu0Aa3h4+ADwKzNbyaLTarVahw4devO5Z58955wjW/NuhmQym5NzUxuCBQjDMDWzJ4AXtI571xrwycnJycf27j22urrqM4Aa4AQJcNzByy6f/6Dv76g1qdfrrK6uVsMw/JmZfU7Sl7pBmBmLi4sXn3z88cMXZmdXPr5HBkbncYXhkVaAM5idAmarUXRlU7PZVyPzHzIyMkIYhnLOnWg2m3vSNK2vefLaudFoNF5+8cXDhw4evHjNBdEOr3CSgdQCrgLnBX8Jcrl9gj996/z5SeDKp2s1zp4509+n+EelVCpRrVb9/Pz8S+Vy+Qnn3P3Oudw1ZSp96+jRYxNPP3261Wqp88/BOuurBlclqsC0M5tKYUlG6/LSUlooFvnj1q28f/bsh+ddFyxAsVjkwIEDNUmPlcvlL0dR9DXn2gGbnZmZ+e2+fW/Nzc0luVwukNQEqma2CMyb2WwuzH2AaHrfwpqpyAWUb76Zk++887GzrhsWYOfOnTp27NiJer3+i4GBgVucc+OXL1+uv/D882+89uqrF3MDA1WDeaQLgoVocPDivxqNBAAzPrXjDg489dR/PWfDP+a6ycTERH779u0/2bRp0/fePHr04CMPP7y/Vqudc2bLgVltdmDg6niSMDgwwHtTU33bvyGeXZNSqZTMzMz8fNu2bb//5+Sp6vT09HJQqyUjW7Ygia/HMS8tL2/Y/r8BRVECE4yt2dgAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjMtMDUtMjVUMDA6Mjg6NTkrMDA6MDAzyLlbAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIzLTA1LTI0VDIzOjEwOjMxKzAwOjAwz+xZAAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAASUVORK5CYII=",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIpx2TIswAABihJREFUWMO1mF9sW2cVwH/n+6597aRVbLykf0S0iiJGpwLSGkGHtAcmQOINDWlIEw9DvIAmTeKhoAnxgHhCCFVa1UIRDxBEkaZ1He2YUCnQDalUqdextmvnpUs60sVxbMdO4tROfO93eMhNadO4vXbLka6u7v3uOefn853zfeez0KMUCgWazSbOOWZnZyWXyz0EDIhICvBUNRCRFlDPZDLVubk5tdbi+z67d+/uyafXK+z8/Dy7du2SQqHwaC6Xexx4AvgcsBXYBDSAGeCder3+pjHm7NDQ0OVSqaS9+pRelPL5PM65rcaYp4FngC9s9J3q/7hE5CxwREReUtXSyMjI/xd2bGwMa62o6iOq+kPgaaBP5N5mVBURuQG8BPxMVQvGGN2zZ09s/12lQRiGYoz5JPBT4OsiEls/+kF9qvotEekTkR+JyAdA7LQw3UTV87yMqj7fLeg6aE9VnwKeV9VMPp+PrRsbVkQs8CTwLPdRmGvAwLdV9UlVtQ8UNiqoLPAcq5V+h6gqqopz7ua19q6DbAK+a63Njo2NxYKNGyFjjPmsiHy+Eyig/f39MwMDA9bzvEwQBPX5+flwaWlpq6pKhyJ8PAzDzwCniZG7sWBV1QBfUVV/vdMI1GUymbnh4WF83+8HLNCfy+UWpqamqvV6PbcRsKr6wJdF5J9AcM+IxY0s8GgEcYekUqn57du3L/q+vwW4Cev7/pbofb2DXQvsjssRK7JRSLbSYV1OJpPpdDptN3Bq0un0x3zf95eXlzc0DWwh5nrfTVWnNnoZLfZep6QUEV9EbPTd+jGAdFyA2EsXMN8BhiAIGkEQVDYaD4KgEgTBUqddTlXrd1kxuodVVaeq40C40Xiz2UyVy2Wnqovr9BbL5bI2m81O0QtF5H0RcXE44qaBA86o6jPR5nBbZJ1zqVKptCUMw6nBwcG6MWbQOVcul8srlUpl2DmX3CiyqtoGzkb2Hwysqjpr7T+cc9PAJ9aPR6mQLJVKOyqVCqxW+fYwDFFV2ykFRGQa+HsYhrFg4+ashmFYBI50ioKIoKo2CAIbBAFBENi7gUZ2/gDMiEispI3dIkbt4adU9XfA3rh6d5F/WWuffWHfvvcL4+MYB6EzWOtwRhCgr9XiiZkZftktLMC5c+cSIvIUsB/Y1iulqhYXFhZe+MG+fccXqtVEAJ5xmNAZY60LnREnsJJutW7sml9oXRgcYlvCddc9iUgbOAE8BnwfSHQBuFaM7uKFC4WDL76YrdVq37TGeAYMBrFmtccwq32Ca/mp4O3BVM3Au8VQxrs+1kT95w7gV8BXu52d69evTxw+dOi1K5cv1z3PE73NQPSkGt0EwAk0HfrXbjYFAKKz04equl9VJ7vRXVxcrJ86efJM4b33atZajUAcNy9ZvYs4ECeiTgRRtA/VTNewEbA2m81TwEFVvRFHJwiC4Hw+nz918uSkiBDn3AYiqIqKTKsx4z3BAjQajVBEfisir3KXXnStAZ+cmLhy9OWX32632y4GqABGoQW8Y+B1k0p91PPxZGhoiGQyWVtZWfm5qn4aeGwjCBFhbm6u9Kdjx87MFIs37vxGBYSoPVAEx+psXUWkAEzV0unGQLvdVSNzm4yMjNBut1VVLwRBsN85t7gWyVvvK8vLy2+ePn3mrXy+dMv0r06vYlQFVANgCbim8Dfreb9X+MvXrl27AjSG63Umrl7t7U+OWyWfzzM9PZ3NZrM/8X3/e8YYb22ZUtXw3+fPn/v14cNvVCuVljFGAInGV4AlVWqCfihixkMoqxA0q9WwP5sFa/lgYuKmr/s6pa5FeHR0tC4iv8lkMntSqdQX16a6WCz+57UTJ94qz862rLU2alxqIjILFEVkykt4H6G0nQuQdqh4locefphLFy/emVL3C7smx48fJ5FIfCObzR7wPG9bo9FYfPWVV14/dvTou14iURMoonpdYaYvlSo1l5dbIoJNJPj43r2cGh29p48HBgtw4MCB1M6dO3+8efPm71y6eOmNw4cOHllYXJw0IlUrUp9KJpe2tVr4ySSXx8e7tn/faXCrZDKZVqlU+kUymfzj5ORkbbpYrJpqtbVpxw5UlS9VKvy5Wu3Z/n8BcY8RVtNG93EAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjMtMDUtMjVUMDA6Mjg6NTkrMDA6MDAzyLlbAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIzLTA1LTI0VDIzOjEwOjQwKzAwOjAwY15brQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAASUVORK5CYII=",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIpx2TIswAABh5JREFUWMO1mF9sW3cVxz/nd23Xf26bhFGaNEyNKrTB0lFpD9Ah7QEESPRpAimVKA9DvIAmTdoTQoiHiidUsWpCZTxVMESJHG3lb4VEl64gteWPuiZjTZrUdqZQ203sxk7s1H/u/R0e7FTpZqfXXvlK1pX98zm/zz3n/H6/c6/Qp86cOUM0GsUYw+joqOTz+Y+r6oCqRkUkBHhADSipalFE1HEcYrEYR48e7WvOUL+wruuSyWRkbGzsqVwu9yzwHHAYGAZcoALkgRkR+RtwdXx8/Mbs7Kz2O6f0Y5RMJlHVYWAC+Cbw+fsOpavLq8BZEUlaa+8cO3bs/wubTCYREVHVJ1X1+yIyAcSD2KoqIrKpqkngJ8aYm6qqExMTgefvqQystWKM+RTwY+D5XuzbEY8D3xKRuKr+UERSQOCyML1E1RgzCLwEPN9eRD2rbfd14CVr7eDk5GRg28CwquoAXwJe6CWiXRRS1W+3/TmPFHZqagpjzBDwIq2V3ulmUFWstfi+j7X2/m9d5ALfFZGhoNENGiEDfBb4XDdQEdGhoaH8yMiIE4lEBhuNRimXy/l3794dVlX54C4hIqjqs8DTwNsEqN3AsKr6FWBXJ1DA7t+//+7hw4dxXTdBK7WJAwcOrF+/fr2YzWYf6wTc9vdl4O+0DpGHRuyhUlUDPEWX+nJdtzw+Pr7huu4+4D6s67r7Dh06tOG6bqmLawc4JCKBOILCSvsQkA5jJBKJ2MDAwGMd/JmBgYGPJRKJWKfalZb2yQ4nyXYFKoO2r2jXOzYm1G1CEdlljNlpxceCMASObFvlbgP1er3SaDQKncYajUahXq9Xu9mqammHHaMvWAssAn6HyFEul6PpdNqq6sYHQDZSqZSWy+VYl8D7IrIgIjYIRNDdwAKXaTUtD6RURPB9Pzo/P7+v0WgsHzx4sBQOh/c2m83VdDrdSKfTj/u+H+kC26TV4Dw6WBGxqnpRVbMicrBTdBuNRmRhYWEslUphjHGstfvbh4PTbf2oalZVp4NGNmgZqLU2B5xV1Y6ORQRrrdNsNp16vU6z2XR2Am1H8zcikheRQEUbuEWcnJxERJ4AfiUiR4La7aArIvLCz199dWFpeRljwbcGx7FYIwgQr9V4Lp/ntV5hAZLJZJhWx3QKGOmXUlVzlUrlB6deeeUP9Uol7EHIWIxvjXEc61sjVqARq9U2P1Ner83u/QQjYdtz99QE/gg8A7wMhHsA3OoH7OLCws2pycmh6vr6MceYkAGDQRyjAGpafYKt7Yp67+yNrhl4L+fLYs+PNclkEmBMVX8BfDXo6bOllZWV9JtTU3/KpNMlx3FE2Z7e9jfV9kUArMA9i/61l0MBgPZjyPu0SiHTi+1mtVr655Url5cymTVjjLZBLPc/0rqKWBArolYEUTSO6mDPsG1gHRwcvACcVtXNIDa+73vzc3P//sfVqxkRIVhCRFAVFcmqMYt9wQKMjo76qvpL4Hfs0ItuNeDZ27fn3rpw4R3P82wAUAGMtt47zBg4b6LR230/nszMzBCLxdY8zzupqp8GnukEISKsl8t3Ll28eLlYKGx++D8qILTbA0WwtLJ1C5GbwPJaLFYZaDZ7amQe0PHjx/E8T4FZz/NOWWs3tiK5/dpsNuvXrl27PHfjxp1t6W+lVzGqAqoeUAWWFN5yQqFfK/zla0tLc0Dl8VKJ9K1b/b3k2K5kMkmhUBjavXv3iXA4/D1jTGjbNuUvzM//69wbb1wqlUo1Y4wA0h5vAFVV1gR9X8Qs+rCqgnevWPQTQ0PgOKTS6Qdq4yPr5MmTEo/Hn96zZ89rkUjkC1upXl1dzfz+3Lnzi/PzBeM4Dq19ek1EVoCciCw7odBtlKa1Hn7TVw05xF2X/7z77odL6lHAApw+fZpIJPIN13V/5jjOyL3NzY2L09Pn356efs8JhdYEcqj+VyEfj0bv3KvXayKCEw7zySNHuPD66w+d45HBApw4cSI6PDz8o3g8/p3UrdSlN6eSZyvVasaIFB2R0nIkUh2p1dgViXBjcbFn/x/1ZcUDSiQStWKx+NNQKPTbbDa7tlooFGVlpRYfG0NV+WKhwJ+Lxb79/w9bQvQtKYEySwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMy0wNS0yNVQwMDoyODo1OSswMDowMDPIuVsAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjMtMDUtMjRUMjM6MTA6NTArMDA6MDCv9FszAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAABJRU5ErkJggg==",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIpx2TIswAABjJJREFUWMO1mE1sFOcZx3//d9beXePixQvCpFSp0qopNGlFKlGn2EhF5VIulSqlUsQhqDduPfClqqdeiEJPPeTApY1UKuVUCcIhaikpBrxRKEmJ7RrMR7CNd8GuP3a9O/bszNPDrhE4Xjy7oY80GmneeZ/nN8/832eed0SLduLECaIoAqCtrU1BEGw2sy5JKSBhZlVJPjCXyWRmZmZmLIoiisUip0+fbilmolXYarVKKpXS0tLSziAIXgf6gR8APUAnUALywGdzc3P/dM4NDgwMDO/du9dajalWJh09ehQz65H0hqQ3gR+ZGdLT7sye4hoEzpjZ+2ZWOHXq1P8X9siRIwCS9DJwDHhDUkfc+WZWBt6Pouht59yoc85OnjwZO36zMhDwbeB3kn7e7HxJHWZ20DnXIek3zrnbQGxZeE1mdZOk48BBSS3pXZKrvxnPzAb7+/v9gYGBWHNdE3E8YB/wVqugT1gCOATsM7PYCYt14/HjxwGykt4BXl69kKC2mMyMMAyJouhxWatncy237UC3c+6Dvr6+cpzsxs2Qk/R9YPdag/VKYNu3b8/v2LHDS6fTmUqlMjcyMhJOTEz0mJkaAL9uZq8CF4mh3ViwZuaA/UByLVAg2rlz538PHDhANpvdQO2Nbdi1a9fCuXPnZoaHh7MNgJNm9lPgElBdN2NxYc1sJ2vIxszIZrPz+/fvL2az2a3AY9hsNru1fn1uVc1dMc/MXqknY12LdZNq1sMaddnM6O7uTvf09GTX8Oe2bdvW3d3dnW4AK0lbG2lktTWzqlMNn9i5RKOAkpLOuWct5HRcgGZK13yjgXK5XKpUKtMNxqYXFxcX1xqrV5BGEmkZNgJuAeGXHDhHPp9P5XK5KIqi4lOToqg4ODhohUIh7dyaoULgZt3/uhZXBhFwBXiTVYtMEkEQpC5evLi1UqmM7969ey6VSm3xff9RLpdbzuVy3wiCoL2BSgJqDc7zhZX0DzN7ALy0elASlUql/dKlS98cHBzEOedFUfRCEASEYeg9Y/08AC6YWSzYuDIwM5sCzjTKgiTCMPR83/fK5TK+73vrgEaS/kyt540l2tgt4rFjxwC+A/wJ6I077xl2VdJbFz788OajmRlcBGHk8LyIyAkBHb5Pfz7Pu/UJsZuIy5cvs2fPngVJ88Ae4GutUprZ1NLS0tvnzp69XikWN0bQJaPLTBnnrNOkTkEyUa3SEUZh9YWv65XNG5vrniQFwFngNTP7taS2FkCjQj4/+kkutynw/V86KeHA4ZDnDMBcTRaRn0xVr29JzToYmgp1K3ZmV7Lb19cXAGOSvgd8iyZ3G8WFhbv//vTTSwvz83LObTRpg6SO2mG1s9kGiU7QRsRmxEshlJqCfQJ4HngE7DGzTTG/liwvLc3dGh39+8T4+ANJSDLVslg/VDtLBjKp1v0Y1oZZoWnYFeB9+/bdq1arDuiPI4coiqqTExNXhoeGblitBYsRScJMJj0wKdfM5/Ypy2QyoZn9UdJfWaf0mBmzs7Mjw8PD18MwjGKACnAGPvCZg/MulZpseXsyOTlJV1fXbLlcfsfMvgu81gjC9/3CzZGRK4vFYnmNRxGIentgiIjaLngMaRQYn02nS11BEL90rbarV6/S29uLmT2MomgR2C8pufL/YOUcVqtLd27fvnBnbOwOPN7i1F4vciCEVUEVYNLEJ4lE4mIURUM/++KL/Fgms7xlcZGR+/dbhwUYGBigr6/PSqXSuOd5m5xzP5TkngAOHxYK14Y///xfQRBU622kq+8aAokFYEpww8l9FEk5k+4vTk8X29Pp6lg2y+1798iXSo+18ZXt0KFD6ujoeDWZTL6bSCR+vCKH4sLC3evXrp0v5PPTkjxqjcuspIfAlKRxL5GYxAiiqEoYhGYJj47OTj6/ceNLcZ4LLMDhw4dxzv0inU7/wTm3bXl5ufifoaHzoyMjQ87zZoEpzCYM8h2pVKGytORLwmtrY3tvL3977711Yzw3WICDBw+mMpnMb5PJ5K8eFgofXfv44zNLy8t3BTOeNDfe3r64zfdJtrczfOtW0/6/6s+KpyyZTPqlUun3nuf9ZW5ufnaxXJ6JJif95IsvYmb8ZHqaD2ZmWvb/PzZaBDRi9tDdAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTA1LTI1VDAwOjI4OjU5KzAwOjAwM8i5WwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0wNS0yNFQyMzoxMTowMCswMDowMAjWPmkAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIpx2TIswAABixJREFUWMO1mE1sVNcVx3//+549Y2MMDkTMTBHCNgpVmlApi2IagVQ0SFVXlYpSKcoC1BXLrlKp6qLqKoq66gKpqzZSqciGSnXYuEVJIwWjVkIRkAhMBtt82MYej8fz4fHMe/d0MQZR8Mcbhx7p6S3uu+f87rn/d+55T2zTTp8+TbVaxXtPqVRSf3//XmCXpDQQAhHQMLOl2dnZYjabtTiOWVlZYXx8fFsxw+3CLi4ucuTIEd28efP1/v7+Y8Bx4PtABugDqsAs8GUmk/mXmY1PT09/NTg4aNuNqe1MyufzeO8zzrl3gHeBo1vNMbNx4IKkj733c1euXPn/wp48eRLnnIDDwPtm9g7QKyV2Uzezj83sA0m3nXM2NjaWOH5HMjAzmdkhSb8DfiqpUxn1Au9J6pX0a+AbILEsgqQP5vN5gAFJv5L0npmFHWT0qUlykg4DgaTx4eHhRqFQSDTXdRAkkHQSOANsC/QZC4GzwElJiROW6MFTp04RRdEeSR+uZeUFMzPMjCiKiOMY7z1PFrTBwrqBV7z3nwwPD9eTZDep5pxz7oikH2wECtjhw4dnR0ZGgp07d+6uVCpL165di+/cuZMxM60HbGbHgDeBT0mg3USw3nsHnDKz1PNB10D9sWPHFs+dO0cul9tBe8d25PP55fPnzxevXr26Zz1gSSkgD3xO+xDZPGNJMwu8zjqyMTNyuVz57NmzlVwutw94CpvL5fadOXOmks1ml9YW9bwFwBtJORI9pLZl1ttL7z2ZTKZncHBwzzr+3NDQ0CvZbLbHe7+ua2AfCet9J3UyvaGTMAy1wVskKRUEwWYvck9SgMSlCyhvAEO5XK5Wq9WF9cYrlcpCuVyubVLqll4qrJl5M5sws/gFB84xOTmZHh0d9d77yrNj3vvK6OioTU5O9ji3bqgYuAN4EliiOjs0NCRgD/Dj549YSbRarXBiYqKnVqvNZDKZmvc+tbi4OHPx4sXlS5cu5er1emoD2CbwR+B6oVDYsnQlEnY+n5eZDQJjkoY2yD5hGMapVIogCII4juPV1VWiKAo2kUAByEuaHBsb2xI2qWYNmJF0gU22LIqioFarBcvLy9RqtWALUA/8RdIsCZuZxAd8Pp9H0mtm9mdgJOm8TeyqpDOPpqfv1BsNnIfYO4LA450Q0NtocHx2lvNrExI3EYVCgcHBwWVJZeBtYOe3AJ2J4/iDyXv3rvtWq9/DLhm7zLTbOeszqU+QCqOI3tjHUe47emNvf2f9qKQW8Hczewv4paSuTinNzDdWVm7Pz80NEMc/NwgdOBwKXLvHcG1Z+EYqHV1/NV1ycGsm1kTizD7J7tDQUAu4K+l7wDAdSMmAVrN5b7FY/LzVbEpSv0k71prxXsnad7MdEn2gfsRexFAM1Y5gnwAfOnSoDMwDb5vZQNLe1sfxUmVp6Z+1avXR2k6Z2mtYu9S+SwYyqd39GNaF2VzHsE+ADxw4MCnJAceTyMHMolq1+kW5VLph7RYsQSQJM5n0yKRrnRy3/2NdXV2xmf0J+BtblB4zY3V19eulUum6994nABXgDBrAlw4uu3T64bb/GzSbTXp6ekpRFH1oZt8F3toIwsfx3HKp9EXUbNbXWYpArHWQhvCY1YG7SLeB+6WenuquVit56XrepqamOHjwIMBjM6tJOrXWTD/NpiTM+9Xl5eUrlXK5AE8/cdrbixwIYRFoBXho4j9hGH7qvb/1k6mp2bu7dzdfrdX4enp6ez85nrV8Pk+j0Rjo6ur6rXPunKTwKahZ3KjX/73w+PFnURQ11tpIrY03gZoZJWFTkpuIYd5EtFIsxjsGBiAI+OaZb7NvDQswMjKi7u7uN8MwPC/ph0/k0Go27xXn5y+v1OsLtA+gFlCS9Jj28X0/CMOHGC3vI+JWbBYG9Pb1cfPGjRfivBRYgBMnTiDpZ2EY/kFSNo7jSnlx8fJSqXTLOVcCZjB7YDDbm07PrayuNiQRdHWxf2SEf3z00ZYxXhoswNGjR9PpdPo3QRD8olFf+aw4//hCFMf3BMVAWrrf3V3LNhqkurv5amKiY//brgbrWRAEjVar9Xsn99dms1WKvC/6Bw8awf79mBk/Wljgk2Jx2/7/C8D87PcyjeWGAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIzLTA1LTI1VDAwOjI4OjU5KzAwOjAwM8i5WwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMy0wNS0yNFQyMzoxMTowOSswMDowMJ1Oe7oAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAAAElFTkSuQmCC",anchor:[.5,1]},{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAgCAYAAACLmoEDAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5wUZACIpx2TIswAABNVJREFUWMO9l8trXHUUxz/nd+/NPJK5k5kmzbRG2iRWijZmESit0qUbaVb+A0JXLhRclK5EVETcuNCFLQhiF4K4asFVtbT1UZ8JsSbBzjQ1qU3zntQkzCRz7z0u7kRazKSTzI0HDhd+j+/5/n7n/M45V4hGBGgD0kAcsAEPKANLwAKgURhpdP9TwHHgBNAH5IAWYAWYBoaBa8APwGgUpHciOeDVKgmtQ68DrwAd/ydJAQ4DnwCrdRLd0NXqvsM07tW6iB4CvgAq2yS6oRXgc+CJ3SacAT5sgOiDhD+o4u2KWMCLwHKDRDd0uYpn7QbZNuByREQ39FIVty6x61xngGeAo1us0f7+/umBgQErk8m0FovFpYsXL/qDg4M5asfmcaAXuEKEKc0G3qVGrIqIPzAwMFcoFKZUdUVVPVVdyefzUydPnpwDAmrH7jvbuLS6pAm4UMtoT0/P4vDw8Liq+vqw+ENDQ+Pd3d2LNcgGVdymekiYOskKYRHY1J0HDx5M9Pb27tkEz/T19WW7uroSW+B2UGcK2871x2tNOI5ji8imBkUk5jjOVi8+QZ1S780C3K81MT8/v1IsFuc3m1tcXJyfm5tb3QJ3KWqyAZAH/M0mR0dH4+fOnQt8319+cNz3/eWzZ8/q2NhYrdvzgZtV/MjEAk4BJWrkzHQ6vXbmzJlCoVCYnJ2dLRUKhcnTp08XXNddo3aeLVVxIy0MAnQDt7YwrLZte67retlsVl3X9Wzb9ti6KNwCutiFHiEBvE3ouiiqlw+8xTYe2HZP9CTwKXAsgsNfB156PJe7acdimAD8wGBZAYERBEiWy5yYnuaj6obtxsrfhFnhOSDVANF7xpj3Ojs7h+KO4waQFiWtKq3GaIuKtAjEbM8j6Qe+t/8xOdLmyk5iJQm8AbwGODvYHyTj8Wt729sv2JZVRtXWMCtJ6GhVRMLqpngoRQMjYjS/k1dYAQrA00AP2wwlx3Fut2Wz38SamgRwVaRZRJKhavhVbRahBcRFaEPo9mFlpynjPjBHGA51N9DGmKVMOv11qrl5qjqk8tCjk/AroiAqoioioqiD6kwj+e1PQvedoL5w8FqSye/3ZDI3JHRzHSKCqqjIlIr82AhZBf4gzL9HeEQ4xGOxkfZs9lvLstbrYQkYhbLAqIhckXj8bqOVo0yY2I8C+2otsixrZk8mcykRjxc3ObOAiGr1sEKA6iowgsh3AoPFZHI+5nkaRZmbJfzFfh6IbXJFa67rXk6nUuMPNGahexEDgqAeSAm4q8Ivtm1fCYJg5IWJielCa+t6++oqY5OT0ZQ5y7IyQRC8qaov83Db6Sfj8Z/3trVdtW27HHJHVBURWQdWVSkKOiFi8j7MqeCVFhb85kwGLItb4+P/gkXyO2GMWTLGfOx5Xr+qPrsx7tj2ZGs6/att22VVtQjTXlFEZoF7InLHduy7KJUg8JCKr9gWbQcO8PuNG/+xEwnZSqWijuP8Zox53/f9LmCfEVl2U6mfkonETJXgPVT/UphOxGIzpbW1chgQQufxY3x1/vwj7UTa7aRSqXipVHrd9/1TyXjiasfe9s+MMbdRXbBElu40Na3uK5eJNTUxms9vGz9SsolEAlXNVtYr+9NuupjraF+oTEyUNZfDAIeWl/lyYWHH+P8AZ0RW2q2R2psAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjMtMDUtMjVUMDA6Mjg6NTkrMDA6MDAzyLlbAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIzLTA1LTI0VDIzOjExOjE5KzAwOjAwUeR7JAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAASUVORK5CYII=",anchor:[.5,1]}]}},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Formats/GPX.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/format/GPX.js"),n=o("./node_modules/ol/geom/MultiLineString.js"),i=o("./node_modules/ol/geom/LineString.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Formats/Styling.js"),a=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/Parser.js"),l=function(e){function t(o){if(!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");if(this.options=o||{},this.options.readExtensions&&"function"==typeof this.options.readExtensions){var r=this.options.readExtensions;this.options.readExtensions=function(e,t){this.readExtensions(e,t),r.call(this,e,t)}}else this.options.readExtensions=this.readExtensions;null!==this.options.defaultStyle&&void 0!==this.options.defaultStyle||(this.options.defaultStyle={}),this.source=null,e.call(this,this.options)}function o(e,t){var o=document.createElementNS(t.parentNode.namespaceURI,"extensions");s.default.getListTags().forEach((function(r){if(e.get(r)){var n=document.createElementNS(t.parentNode.namespaceURI,r);n.innerHTML=e.get(r),o.appendChild(n)}})),t.appendChild(o)}return e&&(t.__proto__=e),t.prototype=Object.create(e.prototype,{}),t.prototype.constructor=t,t.prototype.readFeatures=function(t,o){var r=e.prototype.readFeatures.call(this,t,o);"string"==typeof t?this.source=a.default.parse(t):null!==t&&(this.source=t);var n=this;return r.forEach((function(e,t,o){e.setId(t+1);var r=e.getProperties().desc;if(r&&e.setProperties({description:r}),!e.getStyleFunction()){var i=s.default.defineStyleFunctionByDefault(n.options.defaultStyle);i&&e.setStyle(i)}})),r},t.prototype.writeFeatures=function(t,r){if(t.forEach((function(e,o,r){var a=e.getProperties().description;a&&e.setProperties({desc:a}),s.default.definePropertiesFromStyle(e);var l=e.getGeometry().getType();if("Polygon"===l){var u=e.clone();u.set("type",l),u.setGeometry(new i.default(e.getGeometry().getCoordinates())),t.push(u),r.splice(o,1)}else if("MultiPolygon"===l){var c=e.clone();c.set("type",l),c.setGeometry(new n.default(e.getGeometry().getCoordinates())),t.push(c),r.splice(o,1)}})),void 0!==this.options.orderBy){var l=this.options.orderBy;if(l){t.sort((function(e,t){var o=e.get(l)||0,r=t.get(l)||0;return o.toString().localeCompare(r.toString(),void 0,{numeric:!0})}))}}var u=e.prototype.writeFeaturesNode.call(this,t,r);if(null===u)return null;this.options.hasOwnProperty("extensions")&&function(e,t,o){var r=document.createElement("metadata"),n=document.createElement("extensions");function i(e,t){for(var o in t)if(Object.hasOwnProperty.call(t,o)){var r=t[o]||"",n=document.createElement(o);if("string"==typeof r||"number"==typeof r)n.innerHTML=r,e.appendChild(n);else if(r instanceof Array){n.setAttribute("type","array"),n.setAttribute("index",r.length);for(var s=0;s<r.length;s++){var a=r[s]||"",l=document.createElement("value");if("string"==typeof a||"number"==typeof a)l.innerHTML=a,n.appendChild(l);else if(a instanceof Array){l.setAttribute("type","array"),l.setAttribute("index",a.length);for(var u=0;u<a.length;u++){var c=a[u]||"",d=document.createElement("value");"string"!=typeof c&&"number"!=typeof c||(d.innerHTML=c,l.appendChild(d))}n.appendChild(l)}else a instanceof Object&&n.appendChild(i(l,a))}e.appendChild(n)}else r instanceof Object&&e.appendChild(i(n,r))}return e}if(o)i(n,t);else for(var s in t)if(Object.hasOwnProperty.call(t,s)){var a=t[s],l=document.createElement("data");l.setAttribute("name",s);var u=document.createTextNode(JSON.stringify(a));l.appendChild(u),n.appendChild(l)}r.appendChild(n);var c=e.firstChild;e.insertBefore(r,c)}(u,this.options.extensions),function(e,t,o){for(var r=-1,n=e.childNodes,i=0;i<n.length;i++){var s=n[i];switch(s.nodeName){case"wpt":case"rte":case"trk":var a=t[++r];if(a.getStyle()){var l=o.extensions;l&&"function"==typeof l&&l(a,s)}break;case"metadata":break;default:console.warn("nodename unknown :",s.nodeName)}}}(u,t,{extensions:o});var c=a.default.toString(u);if(!c)return null;var d=a.default.format(c);return""===d?null:d},t.prototype.readExtensions=function(e,t){var o=t;if(!t){var r=e.getProperties();for(var n in r)if(Object.hasOwnProperty.call(r,n)){var i=r[n];if(i instanceof Node){o=i;break}}}if(o){for(var a=0;a<o.childNodes.length;a++){var l=o.childNodes[a];1===l.nodeType&&e.set(l.nodeName,l.textContent)}s.default.APPLY_CONVERT_GEOM_GPX=!0;var u=s.default.defineStyleFromProperties(e);u&&e.setStyle(u)}else console.warn("node not found !")},t.prototype.readRootExtensions=function(e){for(var t={},o=this.source.childNodes[0].childNodes,r=0;r<o.length;r++){var n=o[r];if("metadata"===n.nodeName)for(var i=n.childNodes,s=0;s<i.length;s++){var a=i[s];if("extensions"===a.nodeName)for(var l=a.childNodes,u=0;u<l.length;u++){var c=l[u];if("data"===c.nodeName){var d=c.attributes[0];if(d&&"name"===d.nodeName&&d.nodeValue===e){t=JSON.parse(c.textContent);break}}}}}return t},t}(r.default);t.default=l,window.ol&&window.ol.format&&(window.ol.format.GPXExtended=l)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Formats/GeoJSON.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/format/GeoJSON.js"),n=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Formats/Styling.js"),i=function(e){function t(o){if(!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");this.options=o||{},null!==this.options.defaultStyle&&void 0!==this.options.defaultStyle||(this.options.defaultStyle={}),this.source=null,e.call(this,this.options)}return e&&(t.__proto__=e),t.prototype=Object.create(e.prototype,{}),t.prototype.constructor=t,t.prototype.readFeatures=function(t,o){var r=this,i=e.prototype.readFeatures.call(this,t,o);return"string"==typeof t?this.source=JSON.parse(t):null!==t&&(this.source=t),i.forEach((function(e){var t=e.getStyleFunction();if(t){var o=t.call(r,e,0);o&&0!==o.length&&e.setStyle(o[0])}else{var i=n.default.defineStyleFromProperties(e);if(i)e.setStyle(i);else{var s=n.default.defineStyleFunctionByDefault(r.options.defaultStyle);s&&(e.setStyle(s),n.default.definePropertiesFromStyle(e))}}})),i},t.prototype.writeFeatures=function(t,o){t.forEach((function(e){n.default.definePropertiesFromStyle(e)}));var r=e.prototype.writeFeaturesObject.call(this,t,o);return this.options.hasOwnProperty("extensions")&&Object.assign(r,this.options.extensions),JSON.stringify(r)},t.prototype.readRootExtensions=function(e){return this.source[e]},t}(r.default);t.default=i,window.ol&&window.ol.format&&(window.ol.format.GeoJSONExtended=i)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Formats/KML.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/format/KML.js"),n=o("./node_modules/ol/style.js"),i=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Formats/Styling.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/ColorUtils.js"),a=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),l=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/Parser.js"),u=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),c=a.default.getLogger("extended KML format"),d=function(e){function t(o){if(!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");o=o||{},this.source=null,this.extensions=o.extensions||null,o.defaultStyle&&!Array.isArray(o.defaultStyle)&&(o.defaultStyle=[o.defaultStyle]),null!==o.defaultStyle&&void 0!==o.defaultStyle||(o.defaultStyle=[]),e.call(this,o)}function o(e,t,o){for(var r="#document"===e.nodeName?e.childNodes[0].childNodes:e.childNodes,i=r,s=0;s<r.length;s++){var a=r[s];if("Document"===a.nodeName){i=a.childNodes;break}if("Placemark"===a.nodeName){i=[a];break}}for(var l={},u=-1,d=0;d<i.length;d++){var p=i[d];switch(p.nodeName){case"Style":var h=p.attributes[0];if(h&&"id"===h.nodeName){var f=p;l[h.nodeValue]=f}break;case"Placemark":u++;for(var m=p.childNodes,g=!1,y=!1,v=!1,_=null,b=null,A=null,C=p,E=0;E<m.length;E++)switch(m[E].nodeName){case"Polygon":v=!0;break;case"LineString":y=!0;break;case"Point":g=!0;break;case"Style":b=m[E],_=m[E].childNodes;break;case"styleUrl":var S=m[E].textContent.slice(1);l[S]&&(_=l[S].childNodes);break;case"ExtendedData":A=m[E].childNodes;break;case"name":C=null}if(A){c.log("ExtendedData :",A);var w=o.extendedData;w&&"function"==typeof w&&w(t[u],A)}if(C){c.log("Name :",C);var O=o.nameData;O&&"function"==typeof O&&O(t[u],C)}if(g&&_&&0!==_.length){for(var I=null,x=null,j=0;j<_.length;j++)switch(_[j].nodeName){case"LabelStyle":I=_[j];break;case"IconStyle":x=_[j]}var T=t[u].getProperties().name,P=t[u].getProperties().description,M=T||P;if(c.trace(M),!x&&I){var R=o.labelStyle;R&&"function"==typeof R&&R(t[u],I)}else if(x&&!I){var L=o.iconStyle;L&&"function"==typeof L&&L(t[u],x)}else if(x&&I){var k=o.iconLabelStyle;k&&"function"==typeof k&&k(t[u],x,I)}}else{var N=t[u],D=N.getStyle();if(D&&"function"==typeof D){var G=D.call(this,N,0);G&&0!==G.length&&(D=G[0])}if(v){var F=o.polygonStyle;F&&"function"==typeof F&&F(t[u],_)}if(y){var U=o.lineStringStyle;U&&"function"==typeof U&&U(t[u],_)}if(g&&D){var B=D.getImage();if(B&&B instanceof n.Circle){var z=o.circleStyle;z&&"function"==typeof z&&z(t[u],b)}else if(B&&B instanceof n.Icon){var V=o.pointStyle;V&&"function"==typeof V&&V(t[u],b)}}}break;default:c.trace("tag is not processing !")}}}function r(e,t,r){function a(e,t){var o=e.toString(16);"#"===o.charAt(0)&&(o=o.slice(1)),t=t||1;var r=t=(t=parseInt(255*t,10)).toString(16);return r+=o.substr(4,2),r+=o.substr(2,2),(r+=o.substr(0,2)).toLowerCase()}var u=function(t,o){if(c.trace("label with style :",o),t&&t.getStyle()instanceof n.Style){var r=t.getStyle().getText();if(!r)return;var i="Sans",l="16px",u=r.getFont();if(u){var d=u.split(" ",2);l=d[0],i=d[1]}var p=t.getStyle().getText().getStroke();if(!p)return;if(p instanceof n.Stroke){var h=a("#FFFFFF"),f=p.getColor();if(Array.isArray(f)){var m="rgba(";m+=f[0]+",",m+=f[1]+",",m+=f[2]+",",f=m+=f[3]+")"}if(s.default.isRGB(f)){var g=s.default.rgbaToHex(f);h=a(g.hex,g.opacity)}else h=a(f);var y=p.getWidth()||"0";if(o&&0===o.getElementsByTagName("LabelStyleSimpleExtensionGroup").length){var v=document.createElementNS(e.namespaceURI,"LabelStyleSimpleExtensionGroup");v.setAttribute("fontSize",l),v.setAttribute("fontFamily",i),v.setAttribute("haloColor",h),v.setAttribute("haloRadius",y),v.setAttribute("haloOpacity","1"),o.appendChild(v)}}var _=t.getStyle().getImage();if(!_)return;if(_ instanceof n.Circle){var b=null,A=null;if(_.getStroke()){if(A=_.getStroke().getWidth(),b=_.getStroke().getColor(),Array.isArray(b)){var C="rgba(";C+=b[0]+",",C+=b[1]+",",C+=b[2]+",",b=C+=b[3]+")"}if(s.default.isRGB(b)){var E=s.default.rgbaToHex(b);b=a(E.hex,E.opacity)}else b=a(b)}var S=null;if(_.getFill()){if(S=_.getFill().getColor(),Array.isArray(S)){var w="rgba(";w+=S[0]+",",w+=S[1]+",",w+=S[2]+",",S=w+=S[3]+")"}if(s.default.isRGB(S)){var O=s.default.rgbaToHex(S);S=a(O.hex,O.opacity)}else S=a(S)}if(o&&0===o.getElementsByTagName("ObjectSimpleExtensionGroup").length){var I=document.createElementNS(e.namespaceURI,"ObjectSimpleExtensionGroup");I.setAttribute("type","circle"),I.setAttribute("radius",_.getRadius()),I.setAttribute("fillColor",S),I.setAttribute("strokeColor",b),I.setAttribute("strokeWidth",A),o.appendChild(I)}}}},d=function(t,o){if(c.trace("marker with style (hotspot):",o),t&&t.getStyle()instanceof n.Style){var r=t.getStyle().getImage();if(!r)return;if(r instanceof n.Icon){var i=0,s=0,a="pixels",l=r.getSize(),u=r.getAnchor();if(u.length&&(i=u[0],s=(s=u[1])===l[1]?0:l[1]-s),o&&0===o.getElementsByTagName("hotSpot").length){var d=document.createElementNS(e.namespaceURI,"hotSpot");d.setAttribute("x",i),d.setAttribute("y",s),d.setAttribute("xunits","pixels"),d.setAttribute("yunits",a),o.appendChild(d)}}}};o.call(this,e,t,{labelStyle:u,iconStyle:d,iconLabelStyle:function(e,t,o){c.trace("write an icon with a label"),d(e,t),u(e,o)},circleStyle:function(t,o){if(t&&t.getStyle()instanceof n.Style){var r=t.getStyle().getImage();if(!r)return;if(r instanceof n.Circle){var i=null,l=null;if(r.getStroke()){if(l=r.getStroke().getWidth(),i=r.getStroke().getColor(),Array.isArray(i)){var u="rgba(";u+=i[0]+",",u+=i[1]+",",u+=i[2]+",",i=u+=i[3]+")"}if(s.default.isRGB(i)){var c=s.default.rgbaToHex(i);i=a(c.hex,c.opacity)}else i=a(i)}var d=null;if(r.getFill()){if(d=r.getFill().getColor(),Array.isArray(d)){var p="rgba(";p+=d[0]+",",p+=d[1]+",",p+=d[2]+",",d=p+=d[3]+")"}if(s.default.isRGB(d)){var h=s.default.rgbaToHex(d);d=a(h.hex,h.opacity)}else d=a(d)}if(o&&0===o.getElementsByTagName("ObjectSimpleExtensionGroup").length){var f=document.createElementNS(e.namespaceURI,"LabelStyle"),m=document.createElementNS(e.namespaceURI,"ObjectSimpleExtensionGroup");m.setAttribute("type","circle"),m.setAttribute("radius",r.getRadius()),m.setAttribute("fillColor",d),m.setAttribute("strokeColor",i),m.setAttribute("strokeWidth",l),f.appendChild(m),o.appendChild(f)}}}},pointStyle:function(e,t){},nameData:function(e,t){for(var o=0;o<t.length;o++){if("name"===t[o].nodeName)return}var r=e.getProperties().name;if(r){var n=document.createElement("name");n.innerHTML=r,t.appendChild(n)}},extendedData:function(e,t){if(t&&t.length){for(var o=[],r=0;r<t.length;r++){var n=t[r];if("Data"===n.nodeName){var s=n.getAttribute("name");i.default.getListTags().includes(s)&&o.push(n)}}o&&o.length&&o.forEach((function(e){e.remove()}))}}});var p=l.default.toString(e);return p||null}function a(t,r){var i,a=e.prototype.readFeatures.call(this,t,r),d="";if(d=(d=(d="string"==typeof t?t:t.documentElement.outerHTML).replace(/\n/g,"")).replace(/(>)\s*(<)/g,"$1$2"),null===(i=l.default.parse(d)))return a;function p(e){var t="";t+=e.substr(6,2),t+=e.substr(4,2),t+=e.substr(2,2);for(var o=parseInt(t,16).toString(16),r="",n=o.length||0,i=0;i<6-n;i++)r+="0";return o="#"+r+o}var h=function(e,t){if(c.trace("label with style :",t),e){for(var o=e.getProperties().name,r=p("ff000000"),i="#FFFFFF",a=0,l="Sans",u="16px",d=null,h=5,f="#000000",m="#ffffff",g=1,y=!1,v=!1,_=t.childNodes,b=0;b<_.length;b++)switch(_[b].nodeName){case"scale":case"colorMode":break;case"color":r=p(_[b].textContent);break;case"LabelStyleSimpleExtensionGroup":y=!0;for(var A=_[b].attributes,C=0;C<A.length;C++)switch(A[C].nodeName){case"fontFamily":l=A[C].nodeValue;break;case"fontSize":u=A[C].nodeValue;break;case"haloColor":i=p(A[C].nodeValue);break;case"haloRadius":a=parseInt(A[C].nodeValue,10);break;case"haloOpacity":parseFloat(A[C].nodeValue)}break;case"ObjectSimpleExtensionGroup":v=!0;for(var E=_[b].attributes,S=0;S<E.length;S++)switch(E[S].nodeName){case"type":d=E[S].nodeValue;break;case"radius":h=parseInt(E[S].nodeValue,10);break;case"fillColor":var w=E[S].nodeValue,O=Math.round(s.default.num(w.substr(0,2))/255*10)/10,I=p(w);f=s.default.hexToRgba(I,O);break;case"strokeColor":var x=E[S].nodeValue,j=Math.round(s.default.num(x.substr(0,2))/255*10)/10,T=p(x);m=s.default.hexToRgba(T,j);break;case"strokeWidth":g=parseInt(E[S].nodeValue,10)}}var P=null;v&&"circle"===d?P=new n.Circle({radius:h,fill:new n.Fill({color:f}),stroke:new n.Stroke({color:m,width:g})}):y&&(P=new n.Icon({src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR4nGNiYAAAAAkAAxkR2eQAAAAASUVORK5CYII=",size:[51,38],anchor:[25.5,38],anchorOrigin:"top-left",anchorXUnits:"pixels",anchorYUnits:"pixels"})),e.setStyle(new n.Style({image:P,text:new n.Text({font:u+" "+l,textAlign:"left",text:o,fill:new n.Fill({color:r}),stroke:new n.Stroke({color:i,width:a})})}))}},f=function(e,t){c.trace("hotspot :",t);for(var o=null,r=null,i=p("ffffffff"),s=!1,a=51,l=38,d=!1,h=25.5,f="pixels",m=38,g="pixels",y=t.childNodes,v=!1,_=0;_<y.length;_++)switch(y[_].nodeName){case"Icon":v=!0;for(var b=y[_].childNodes,A=0;A<b.length;A++)switch(b[A].nodeName){case"href":o=b[A].textContent;break;case"gx:w":s=!0,a=parseFloat(b[A].textContent);break;case"gx:h":s=!0,l=parseFloat(b[A].textContent)}break;case"hotSpot":d=!0;for(var C=y[_].attributes,E=0;E<C.length;E++)switch(C[E].nodeName){case"x":h=parseFloat(C[E].nodeValue);break;case"y":m=parseFloat(C[E].nodeValue);break;case"yunits":f=C[E].nodeValue;break;case"xunits":g=C[E].nodeValue}break;case"scale":r=parseFloat(y[_].textContent);break;case"color":i=p(y[_].textContent)}var S=null;if(v){var w={src:o||"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR4nGNiYAAAAAkAAxkR2eQAAAAASUVORK5CYII=",color:i,crossOrigin:"anonymous",scale:r||1};s&&u.default.mergeParams(w,{size:[a,l]}),d&&u.default.mergeParams(w,{anchor:[h,m],anchorOrigin:"bottom-left",anchorXUnits:f||"pixels",anchorYUnits:g||"pixels"}),S=new n.Icon(w)}var O=e.getStyleFunction();if(O){var I=O(e,0);if(I&&!Array.isArray(I)&&(I=[I]),I&&0!==I.length){var x=1===I.length?I[0]:I[I.length-1];e.setStyle(new n.Style({image:S,text:x.getText()}))}}},m=function(e,t){};return o.call(this,i,a,{lineStringStyle:m,polygonStyle:m,pointStyle:m,labelStyle:this.showPointNames_?h:null,iconStyle:f,iconLabelStyle:this.showPointNames_?function(e,t,o){c.trace("display icon and label"),h(e,o),f(e,t)}:f,extendedData:function(e,t){if(c.trace("extendData :",t),e){for(var o={},r=e.get("name")||"",n=e.get("description")||"",i=null,s=0;s<t.length;s++){var a=t[s],l=a.attributes[0],u=a.childNodes;if("name"===l.nodeName)switch(l.nodeValue){case"label":r=a.textContent,o.name=r;break;case"title":case"attributetitle":for(var d=0;d<u.length;d++)"value"===u[d].nodeName&&(i=u[d].textContent);break;default:o[l.nodeValue]=a.textContent}}i&&(n=n?i+" : "+n:i,o.description=n),Object.keys(o).length&&e.setProperties(o,!0)}}}),a}return e&&(t.__proto__=e),t.prototype=Object.create(e.prototype,{}),t.prototype.constructor=t,t.prototype.writeFeatures=function(t,o){c.log("overload : ol.format.KML.writeFeatures");var n=e.prototype.writeFeaturesNode.call(this,t,o);if(null===n)return null;this.hasOwnProperty("extensions")&&function(e,t){var o=document.createElementNS(e.namespaceURI,"ExtendedData");for(var r in t)if(Object.hasOwnProperty.call(t,r)){var n=t[r],i=document.createElementNS(e.namespaceURI,"Data");i.setAttribute("name",r);var s=document.createTextNode(JSON.stringify(n));i.appendChild(s),o.appendChild(i)}var a=e.firstChild;e.insertBefore(o,a)}(n,this.extensions);var i=r.call(this,n,t,o),s=l.default.format(i);return""===s?null:s},t.prototype.readFeatures=function(e,t){c.log("overload : ol.format.KML.readFeatures"),"string"==typeof e?this.source=l.default.parse(e):null!==e&&(this.source=e);var o=a.call(this,e,t);return c.trace("Styles étendus",o),o.forEach((function(e){i.default.definePropertiesFromStyle(e)})),o},t.prototype.readRootExtensions=function(e){for(var t={},o=("#document"===this.source.nodeName?this.source.childNodes[0]:this.source).childNodes,r=0;r<o.length;r++){var n=o[r];if("ExtendedData"===n.nodeName)for(var i=n.childNodes,s=0;s<i.length;s++){var a=i[s];if("Data"===a.nodeName){var l=a.attributes[0];if(l&&"name"===l.nodeName&&l.nodeValue===e){t=JSON.parse(a.textContent);break}}}}return t},t}(r.default);t.default=d,window.ol&&window.ol.format&&(window.ol.format.KMLExtended=d)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Formats/Styling.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/ColorUtils.js"),n=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),i=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/Markers.js"),s=o("./node_modules/ol/Feature.js"),a=o("./node_modules/ol/style/Style.js"),l=o("./node_modules/ol/style/Circle.js"),u=o("./node_modules/ol/style/Icon.js"),c=o("./node_modules/ol/style/Fill.js"),d=o("./node_modules/ol/style/Stroke.js"),p=o("./node_modules/ol/style/Text.js"),h=o("./node_modules/ol/geom/Polygon.js"),f=o("./node_modules/ol/geom/MultiPolygon.js"),m=n.default.getLogger("styling");s.default.prototype.setPropertyFill=function(){var e=this.getStyle();if(e&&(!Array.isArray(e)||0!==e.length)){var t=e.getFill();if(t){var o=t.getColor();if(Array.isArray(o)){var n="rgba(";n+=o[0]+",",n+=o[1]+",",n+=o[2]+",",o=n+=o[3]+")"}if(r.default.isRGB(o)){var i=r.default.rgbaToHex(o);this.set("fill",i.hex),this.set("fill-opacity",i.opacity)}else this.set("fill",o),this.set("fill-opacity",1)}}},s.default.prototype.setPropertyStroke=function(){var e=this.getStyle();if(e&&(!Array.isArray(e)||0!==e.length)){var t=e.getStroke();if(t){var o=t.getColor();if(Array.isArray(o)){var n="rgba(";n+=o[0]+",",n+=o[1]+",",n+=o[2]+",",o=n+=o[3]+")"}if(r.default.isRGB(o)){var i=r.default.rgbaToHex(o);this.set("stroke",i.hex),this.set("stroke-opacity",i.opacity)}else this.set("stroke",o),this.set("stroke-opacity",1);this.set("stroke-width",t.getWidth())}}},s.default.prototype.setPropertyLabel=function(){var e=this.getStyle();if(e&&(!Array.isArray(e)||0!==e.length)){var t=void 0!==this.get("name");if(e.getText()&&t){var o=e.getText().getFill();if(o){var n=o.getColor();if(Array.isArray(n)){var i="rgba(";i+=n[0]+",",i+=n[1]+",",i+=n[2]+",",n=i+=n[3]+")"}if(r.default.isRGB(n)){var s=r.default.rgbaToHex(n);this.set("label-fill",s.hex),this.set("label-fill-opacity",s.opacity)}else this.set("label-fill",n),this.set("label-fill-opacity",1)}var a=e.getText().getStroke();if(a){var l=a.getColor();if(Array.isArray(l)){var u="rgba(";u+=l[0]+",",u+=l[1]+",",u+=l[2]+",",l=u+=l[3]+")"}if(r.default.isRGB(l)){var c=r.default.rgbaToHex(l);this.set("label-stroke",c.hex),this.set("label-stroke-opacity",c.opacity)}else this.set("label-stroke",l),this.set("label-stroke-opacity",1);this.set("label-stroke-width",a.getWidth())}this.set("label-font",e.getText().getFont()||g.DEFAULT_TEXT.font),this.set("label-textAlign",e.getText().getTextAlign()||g.DEFAULT_TEXT.textAlign)}}},s.default.prototype.setPropertyMarker=function(){var e=this.getStyle();if(e&&(!Array.isArray(e)||0!==e.length)){var t=e.getImage();if(t)if(t instanceof u.default){var o=t.getColor();if(Array.isArray(o)){var n="rgba(";n+=o[0]+",",n+=o[1]+",",n+=o[2]+",",o=n+=o[3]+")"}if(o){var i=r.default.rgbaToHex(o);this.set("marker-color",i.hex)}var s=t.getScale();switch(Math.round(2*s)/2){case 0:case.5:this.set("marker-size","small");break;case 1:this.set("marker-size","medium");break;case 1.5:case 2:this.set("marker-size","large")}var a=t.getSrc();a&&this.set("marker-symbol",a),this.unset("circle-fill"),this.unset("circle-fill-opacity"),this.unset("circle-stroke"),this.unset("circle-stroke-width"),this.unset("circle-stroke-opacity"),this.unset("circle-radius")}else{var l=t.getFill();if(l){var c=l.getColor();if(Array.isArray(c)){var d="rgba(";d+=c[0]+",",d+=c[1]+",",d+=c[2]+",",c=d+=c[3]+")"}if(r.default.isRGB(c)){var p=r.default.rgbaToHex(c);this.set("circle-fill",p.hex),this.set("circle-fill-opacity",p.opacity)}else this.set("circle-fill",c),this.set("circle-fill-opacity",1)}var h=t.getStroke();if(h){var f=h.getColor();if(Array.isArray(f)){var m="rgba(";m+=f[0]+",",m+=f[1]+",",m+=f[2]+",",f=m+=f[3]+")"}if(r.default.isRGB(f)){var g=r.default.rgbaToHex(f);this.set("circle-stroke",g.hex),this.set("circle-stroke-opacity",g.opacity)}else this.set("circle-stroke",f),this.set("circle-stroke-opacity",1);this.set("circle-stroke-width",h.getWidth())}var y=t.getRadius();this.set("circle-radius",y)}}};var g={APPLY_CONVERT_GEOM_GPX:!0,DEFAULT_ICON:{src:i.default.lightOrange,anchor:[.5,1],scale:1},DEFAULT_CIRCLE:{radius:10,fill:{opacity:1,color:[0,0,0,1]},stroke:{width:1,opacity:1,color:[0,0,0,1]}},DEFAULT_STROKE:{width:5,opacity:1,color:[250,250,250,1]},DEFAULT_FILL:{opacity:1,color:[0,0,0,1]},DEFAULT_TEXT:{font:"16px sans",textAlign:"left",stroke:{color:[250,250,250,1],width:5,opactity:1},fill:{opacity:1,color:[0,0,0,1]}},getListTags:function(){return["type","fill","fill-opacity","stroke","stroke-opacity","stroke-width","circle-fill","circle-fill-opacity","circle-stroke","circle-stroke-opacity","circle-stroke-width","circle-radius","marker-symbol","marker-color","marker-size","label-fill","label-fill-opacity","label-stroke","label-stroke-width","label-stroke-opacity","label-font","label-textAlign"]},defineStyleFromProperties:function(e){var t=null,o={},n=null;if(e.get("marker-color")||e.get("marker-size")||e.get("marker-symbol")){(n={}).src=this.DEFAULT_ICON.src,n.anchor=this.DEFAULT_ICON.anchor;var i=e.get("marker-symbol");i&&-1!==i.search("data:image/png;base64")&&(n.src=i);var s=e.get("marker-color");r.default.isHex(s)&&(n.color=r.default.hexToRgba(s,1));var m=e.get("marker-size");if(m)switch(m){case"small":n.scale=.5;break;case"medium":n.scale=1;break;case"large":n.scale=1.5;break;default:n.scale=this.DEFAULT_ICON.scale}}var g=null;(e.get("stroke")||e.get("stroke-opacity")||e.get("stroke-width"))&&((g={}).color=r.default.hexToRgba(e.get("stroke"),+e.get("stroke-opacity")||this.DEFAULT_STROKE.opacity),g.width=+e.get("stroke-width")||this.DEFAULT_STROKE.width);var y=null;(e.get("fill")||e.get("fill-opacity"))&&((y={}).color=r.default.hexToRgba(e.get("fill"),+e.get("fill-opacity")||this.DEFAULT_FILL.opacity));var v=null,_=null,b=""!==e.get("name");b&&((e.get("label-fill")||e.get("label-fill-opacity"))&&((_={}).color=r.default.hexToRgba(e.get("label-fill"),+e.get("label-fill-opacity")||this.DEFAULT_TEXT.fill.opacity)),(e.get("label-stroke")||e.get("label-stroke-opacity")||e.get("label-stroke-width"))&&((v={}).color=r.default.hexToRgba(e.get("label-stroke"),+e.get("label-stroke-opacity")||this.DEFAULT_TEXT.stroke.opacity),v.width=+e.get("label-stroke-width")||this.DEFAULT_TEXT.stroke.width));var A=e.get("circle-radius")||this.DEFAULT_CIRCLE.radius,C=null;(e.get("circle-stroke")||e.get("circle-stroke-opacity")||e.get("circle-stroke-width"))&&((C={}).color=r.default.hexToRgba(e.get("circle-stroke"),+e.get("circle-stroke-opacity")||this.DEFAULT_CIRCLE.stroke.opacity),C.width=+e.get("circle-stroke-width")||this.DEFAULT_CIRCLE.stroke.width);var E=null;(e.get("circle-fill")||e.get("circle-fill-opacity"))&&((E={}).color=r.default.hexToRgba(e.get("circle-fill"),+e.get("circle-fill-opacity")||this.DEFAULT_CIRCLE.fill.opacity));var S=e.getGeometry().getType();switch(S){case"Circle":case"Point":case"MultiPoint":var w=!1,O={};if(C&&(O.stroke=new d.default(C)),E&&(O.fill=new c.default(E)),0!==Object.keys(O).length&&(w=!0,O.radius=+A,o.image=new l.default(O)),n&&(o.image=new u.default(n)),b){var I={};if(v&&(I.stroke=new d.default(v)),_&&(I.fill=new c.default(_)),0!==Object.keys(I).length)I.text=e.get("name"),I.textAlign=e.get("label-textAlign")||this.DEFAULT_TEXT.textAlign,I.font=e.get("label-font")||this.DEFAULT_TEXT.font,o.text=new p.default(Object.assign({},this.DEFAULT_TEXT,I));else if(n||w){var x=new p.default(Object.assign({},this.DEFAULT_TEXT,{fill:new c.default(this.DEFAULT_TEXT.fill),stroke:new d.default(this.DEFAULT_TEXT.stroke)}));if(x){var j=x.clone();j.setText(e.get("name")),o.text=j}}}break;case"Polygon":case"MultiPolygon":g&&(o.stroke=new d.default(g)),y&&(o.fill=new c.default(y));break;case"LineString":case"MultiLineString":if(g&&(o.stroke=new d.default(g)),this.APPLY_CONVERT_GEOM_GPX&&y){var T=e.get("type");if(T&&("Polygon"===T||"MultiPolygon"===T)){o.fill=new c.default(y);var P=e.clone(),M="LineString"===S?h.default:f.default;e.setGeometry(new M([P.getGeometry().getCoordinates()]))}}}return 0!==Object.keys(o).length&&(t=new a.default(o)),t},defineStyleFunctionByDefault:function(e){if(!e)return[];if(0===Object.keys(e).length)return[];return function(t,o){var r=null;switch(t.getGeometry().getType()){case"Point":case"MultiPoint":var n={};if(e.getImage()&&(n.image=e.getImage()),e.getText()&&t.get("name")){var i=e.getText().clone();i.setText(t.get("name")),n.text=i}r=new a.default(n);break;case"Circle":var s={},u={};if(e.getFill()&&(u.fill=e.getFill()),e.getStroke()&&(u.stroke=e.getStroke()),e.getText()&&t.get("name")){var c=e.getText().clone();c.setText(t.get("name")),s.text=c}0!==Object.keys(u).length&&(u.radius=3,s.image=new l.default(u)),r=new a.default(s);break;case"Polygon":case"MultiPolygon":var d={};e.getFill()&&(d.fill=e.getFill()),e.getStroke()&&(d.stroke=e.getStroke()),r=new a.default(d);break;case"LineString":case"LinearRing":case"MultiLineString":var p={};e.getStroke()&&(p.stroke=e.getStroke()),r=new a.default(p)}return[r]}},definePropertiesFromStyleByType:function(e){switch(e.getGeometry().getType()){case"Point":case"MultiPoint":e.setPropertyMarker(),e.setPropertyLabel();break;case"LineString":case"MultiLineString":e.setPropertyStroke();break;case"Polygon":case"MultiPolygon":e.setPropertyStroke(),e.setPropertyFill()}},definePropertiesFromStyle:function(e){var t=e.getStyle()||e.getStyleFunction();if(t){if("function"==typeof t){var o=t.call(this,e,0);if(!o||0===o.length)return;t=Array.isArray(o)?o[0]:o,e.setStyle(t)}this.definePropertiesFromStyleByType(e)}},defineTagFromStyle:function(e,t){return m.trace("todo..."),null}};t.default=g},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/GfiUtils.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/Overlay.js"),n=o("./node_modules/ol/source/VectorTile.js"),i=o("./node_modules/ol/source/Vector.js"),s=o("./node_modules/ol/source/TileWMS.js"),a=o("./node_modules/ol/source/WMTS.js"),l=o("./node_modules/ol/source/ImageWMS.js"),u=o("./node_modules/ol/interaction.js"),c=o("./node_modules/geoportal-access-lib/src/Gp.js"),d=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),p=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/ProxyUtils.js");function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}var f=d.default.getLogger("GfiUtils"),m={getLayerFormat:function(e){var t="function"==typeof e.getType?e.getType():null,o=e.getSource();if(t){if("VECTOR"===t||"VECTOR_TILE"===t)return"vector";if("TILE"===t)return o.tileGrid?"wmts":"wms";if("IMAGE"===t)return"wms"}else{if(o instanceof s.default||o instanceof l.default)return"wms";if(o instanceof a.default)return"wmts";if(o instanceof i.default||o instanceof n.default)return"vector"}return"unknown"},displayInfo:function(e,t,n,i,s){if(f.trace("[GfiUtils] : displayInfo..."),i||(i="text/html"),null!==n){var a=null,l=n;l=(l=l.replace(/\n/g,"")).replace(/(>)\s*(<)/g,"$1$2");var u="undefined"!=typeof window?window:null;if("object"===("undefined"==typeof exports?"undefined":h(exports))&&null===window)a=(new(0,o("./node_modules/geoportal-extensions-openlayers/node_modules/@xmldom/xmldom/lib/index.js").DOMParser)).parseFromString(l,i);else if(u.DOMParser)a=(new u.DOMParser).parseFromString(l,i);else{if(!u.ActiveXObject)return f.log("Incompatible environment for DOM Parser !"),!1;(a=new u.ActiveXObject("Microsoft.XMLDOM")).async=!1,a.loadXML(l)}var c=a.getElementsByTagName("body");if(c&&1===c.length&&!c[0].hasChildNodes())return!1;var d=document.createElement("div");d.className="gp-feature-info-div";var p=document.createElement("input");p.type="button",p.className="gp-styling-button closer",p.onclick=function(){return e.featuresOverlay&&(e.removeOverlay(e.featuresOverlay),e.featuresOverlay=null),!1};var m=document.createElement("div");return m.className="gp-features-content-div",m.innerHTML=n,d.appendChild(m),d.appendChild(p),e.featuresOverlay&&(e.removeOverlay(e.featuresOverlay),e.featuresOverlay=null),e.featuresOverlay=new r.default({element:d,autoPan:s.autoPan,autoPanAnimation:s.autoPanAnimation,autoPanMargin:s.autoPanMargin,positioning:"bottom-center",insertFirst:!1,stopEvent:!0}),e.addOverlay(e.featuresOverlay),e.featuresOverlay.setPosition(t),e.featuresOverlay.render(),!0}},features2html:function(e,t){var o=document.createElement("div");return t.forEach((function(e){var t=e.getProperties();if(t.hasOwnProperty("render"))o.insertAdjacentHTML("beforeend",t.render);else{if(t.hasOwnProperty("name")){var r=document.createElement("div");r.className="gp-att-name-div",r.insertAdjacentHTML("afterbegin",t.name),o.appendChild(r)}if(t.hasOwnProperty("description")){var n=document.createElement("div");n.className="gp-att-description-div",n.insertAdjacentHTML("afterbegin",t.description),o.appendChild(n)}var i=null,s=!1,a=null,l=null,u=null,c=["fill","fill-opacity","stroke","stroke-opacity","stroke-width","marker-symbol","marker-color","marker-size","geometry","value","name","description","styleUrl","extensionsNode_","icon"];for(i in t)if(void 0!==t[i]&&-1===c.indexOf(i)){s||((a=document.createElement("div")).className="gp-att-others-div",l=document.createElement("ul"),s=!0),u=document.createElement("li");var d=document.createElement("span");d.className="gp-attname-others-span",d.appendChild(document.createTextNode(i+" : ")),u.appendChild(d),u.appendChild(document.createTextNode(t[i])),l.appendChild(u)}l&&(a.appendChild(l),o.appendChild(a))}}),e),o.hasChildNodes()||(o=null),o},layerGetFeatureAtCoordinates:function(e,t,o){var r=e.getPixelFromCoordinate(o);return e.hasFeatureAtPixel(r,(function(e){return e===t}))},displayVectorFeatureInfo:function(e,t,o,r){var n=e.getPixelFromCoordinate(t),i=[];if(e.forEachFeatureAtPixel(n,(function(e,t){(!o||o.indexOf(t)>-1)&&i.push(e)})),0===i.length)return!1;var s=this.features2html(e,i);return null!==s&&(this.displayInfo(e,t,s.innerHTML,"text/html",r),!0)},displayFeatureInfo:function(e,t,o,r,n){for(var i={},s=0;s<o.length;s++){var a=o[s],l=a.obj.getZIndex();i[l]||(i[l]=[]),i[l].push(a)}var u=[],d=Object.keys(i);d.sort((function(e,t){return t-e}));for(var h=0;h<d.length;h++)for(var m=d[h],g=0;g<i[m].length;++g){var y=i[m][g].obj,v=i[m][g].infoFormat||"text/html",_=!0;if(y.minResolution&&y.minResolution>e.getResolution()&&(_=!1),_&&y.maxResolution&&y.maxResolution<e.getResolution()&&(_=!1),y.getVisible()&&_){var b=this.getLayerFormat(y);if("vector"===b){this.layerGetFeatureAtCoordinates(e,y,t)&&u.push({format:b,scope:this,coordinate:t});continue}if("wms"!==b&&"wmts"!==b){f.log("[ERROR] DisplayFeatureInfo - layer format '"+b+"' not allowed");continue}var A=e.getView().getResolution(),C=null;C="wmts"===b?y.getSource().getFeatureInfoUrl.call(y.getSource(),t,A,e.getView().getProjection(),{INFOFORMAT:v}):y.getSource().getFeatureInfoUrl.call(y.getSource(),t,A,e.getView().getProjection(),{INFO_FORMAT:v}),u.push({format:v,url:p.default.proxifyUrl(C,r),scope:this,coordinate:t})}}var E=null;var S=this;!function(e,t,o){if(0!==e.length){var r=0;t(e[0],(function n(i){r++,i||r===e.length?o():t(e[r],n)}))}}(u,(function(t,o){if("vector"===t.format){if(!E){E=[];for(var r=0;r<d.length;r++)for(var s=d[r],a=0;a<i[s].length;++a)E.push(i[s][a].obj)}o(t.scope.displayVectorFeatureInfo(e,t.coordinate,E,n))}else c.default.Protocols.XHR.call({url:t.url,method:"GET",scope:t.scope,onResponse:function(r){var i=!1;0!==r.trim().length&&-1===r.indexOf("ServiceExceptionReport")&&-1===r.indexOf("java.lang.NullPointerException")&&-1===r.indexOf("java.lang.OutOfMemoryError")&&-1===r.indexOf("not queryable")||(i=!0);var s=!i&&S.displayInfo(e,t.coordinate,r,"text/html",n);o(s)},onFailure:function(e){f.log(e),o(!1)}})}),(function(){f.trace("Finish sync to GFI !")}))},getPosition:function(e,t){if(e.coordinate)return e.coordinate;var o=[0,0];if(e.offsetX||e.offsetY)o[0]=e.offsetX,o[1]=e.offsetY;else if("touch"===e.pointerType){var r=e.pointers[0];o[0]=r.pageX,o[1]=r.pageY}return t.getCoordinateFromPixel(o)},onDisplayFeatureInfo:function(e,t){if(t.isActive()){f.trace(e);var o=t.getMap();if("contextmenu"===e.type||"dblclick"===e.type)e.preventDefault();else if("singleclick"===e.type)for(var r=o.getInteractions().getArray(),n=0;n<r.length;n++)if(r[n].getActive()&&(r[n]instanceof u.Select||r[n]instanceof u.Modify||r[n]instanceof u.Draw))return;var i={};t._proxyUrl&&(i.proxyUrl=t._proxyUrl),t._noProxyDomains&&(i.noProxyDomains=t._noProxyDomains);var s={};t._autoPan&&(s.autoPan=t._autoPan),t._autoPanAnimation&&(s.autoPanAnimation=t._autoPanAnimation),t._autoPanMargin&&(s.autoPanMargin=t._autoPanMargin);for(var a=[],l=0;l<t._layers.length;++l){if((t._layers[l].event?t._layers[l].event:t._defaultEvent)===e.type){var c=a.push(t._layers[l])-1;a[c].infoFormat||(a[c].infoFormat=t._defaultInfoFormat)}}var d=this.getPosition(e,o);this.displayFeatureInfo(o,d,a,i,s)}}};t.default=m,window.ol&&(window.ol.gp?window.ol.gp.GfiUtils=m:window.ol.gp={GfiUtils:m})},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Layers/LayerMapBox.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/layer/VectorTile.js"),n=o("./node_modules/ol/source/VectorTile.js"),i=o("./node_modules/ol/source/TileJSON.js"),s=o("./node_modules/ol/format/MVT.js"),a=o("./node_modules/ol/Observable.js"),l=o("./node_modules/ol-mapbox-style/dist/index.js"),u=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),c=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/Config.js"),d=function(e){function t(o,r){if(!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");if(!o.layer)throw new Error("ERROR PARAM_MISSING : layer");if("string"!=typeof o.layer)throw new Error("ERROR WRONG TYPE : layer");if(this.layerName=o.layer,this.styleName=o.style,this.sourceId=o.source,void 0===o.ssl&&(o.ssl=!0),this.protocol=!1===o.ssl?"http://":"https://",!c.default.isConfigLoaded())throw new Error("ERROR : contract key configuration has to be loaded to load Geoportal layers.");var i=this.layerName+"$GEOPORTAIL:GPP:TMS",a=c.default.configuration.getLayerConf(i);if(!a)throw new Error("ERROR : Layer ID not found into the catalogue !?");this.styleUrl=null,this.styleTitle="";for(var l=0;l<a.styles.length;l++){var d=a.styles[l];if(this.styleName&&d.name===this.styleName){this.styleUrl=d.url,this.styleTitle=d.title;break}if(!this.styleName&&d.current){this.styleName=d.name,this.styleUrl=d.url,this.styleTitle=d.title;break}}if(!this.styleUrl)throw new Error("ERROR : Style URL not found !?");this.styleUrl.replace(/(http|https):\/\//,this.protocol);var p=new n.default({state:"loading",format:new s.default});p._originators=a.originators,p._legends=a.legends,p._metadata=a.metadata,p._description=a.description,p._title=a.title+" ("+this.styleTitle+")",p._quicklookUrl=a.quicklookUrl;var h={source:p};u.default.mergeParams(h,r),e.call(this,h),o.olParams&&!a.originators&&(p._originators=o.olParams.attributions),this._originators=p.originators,this.setStyleMapBox()}return e&&(t.__proto__=e),t.prototype=Object.create(e.prototype,{}),t.prototype.constructor=t,t.prototype.setStyleMapBox=function(){var e=this;fetch(this.styleUrl,{credentials:"same-origin"}).then((function(t){t.ok&&t.json().then((function(t){e.onStyleMapBoxLoad(t)}))})).catch((function(t){e.onStyleMapBoxError(t)}))},t.prototype.onStyleMapBoxLoad=function(e){var t=this;this.sourceId||(this.sourceId=Object.keys(e.sources)[0]);var o=e.sources[this.sourceId];if(o)if("vector"===o.type){var r=this.getSource();if(o.url){o.url.replace(/(http|https):\/\//,this.protocol);var n=new i.default({url:o.url}),s=this,u=n.on("change",(function(){if("ready"===n.getState()){var e=n.getTileJSON();if(!e)return;s.set("mapbox-extensions",e);for(var t=Array.isArray(e.tiles)?e.tiles:[e.tiles],i=0;i<o.tiles.length;i++)t[i].replace(/(http|https):\/\//,this.protocol);r.setUrls(t),Object(a.unByKey)(u)}}))}if(o.tiles){for(var c=0;c<o.tiles.length;c++)o.tiles[c].replace(/(http|https):\/\//,this.protocol);r.setUrls(o.tiles)}Object(l.applyStyle)(this,e,this.sourceId).then((function(){r.setState("ready"),t.set("mapbox-styles",e)})).catch((function(e){t.onStyleMapBoxError(e)}))}else this.onStyleMapBoxError({message:"ERROR : Source TYPE not permitted !"});else this.onStyleMapBoxError({message:"ERROR : Source ID not found !? !"})},t.prototype.onStyleMapBoxError=function(e){this.getSource().setState("error"),console.error(e.message)},t}(r.default);t.default=d,window.ol&&window.ol.layer&&(window.ol.layer.GeoportalMapBox=d)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Layers/LayerWMS.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/proj.js"),n=o("./node_modules/ol/layer/Tile.js"),i=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/Config.js"),a=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Layers/SourceWMS.js");function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var u=function(e){function t(o){if(!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");if(!o.layer)throw new Error("ERROR PARAM_MISSING : layer");if("string"!=typeof o.layer)throw new Error("ERROR WRONG TYPE : layer");if(void 0===o.ssl&&(o.ssl=!0),!s.default.isConfigLoaded())throw new Error("ERROR : contract key configuration has to be loaded to load Geoportal layers.");var n;o.olParams&&o.olParams.sourceParams&&(n=o.olParams.sourceParams);var u=new a.default({layer:o.layer,ssl:o.ssl,apiKey:o.apiKey,olParams:n}),c={source:u};if(void 0!==u.getParams().LAYERS){var d=s.default.configuration.getLayerId(o.layer,"WMS"),p=s.default.configuration.getGlobalConstraints(d);if(n&&n.projection){var h,f=[p.extent.left,p.extent.bottom,p.extent.right,p.extent.top];c.extent=Object(r.transformExtent)(f,"EPSG:4326",n.projection),"string"==typeof n.projection?h=Object(r.get)(n.projection):"object"===l(n.projection)&&n.projection.getCode()&&(h=Object(r.get)(n.projection.getCode())),h&&h.getUnits()&&("m"===h.getUnits()?(c.minResolution=28e-5*(p.minScale-1),c.maxResolution=28e-5*(p.maxScale+1)):"degrees"===h.getUnits()&&(c.minResolution=28e-5*(p.minScale-1)*180/(6378137*Math.PI),c.maxResolution=28e-5*(p.maxScale+1)*180/(6378137*Math.PI)))}}i.default.mergeParams(c,o.olParams),e.call(this,c)}return e&&(t.__proto__=e),t.prototype=Object.create(e.prototype,{}),t.prototype.constructor=t,t}(n.default);t.default=u,window.ol&&window.ol.layer&&(window.ol.layer.GeoportalWMS=u)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Layers/LayerWMTS.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/proj.js"),n=o("./node_modules/ol/layer/Tile.js"),i=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/Config.js"),a=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Layers/SourceWMTS.js"),l=function(e){function t(o){if(!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");if(!o.layer)throw new Error("ERROR PARAM_MISSING : layer");if("string"!=typeof o.layer)throw new Error("ERROR WRONG TYPE : layer");if(void 0===o.ssl&&(o.ssl=!0),!s.default.isConfigLoaded())throw new Error("ERROR : contract key configuration has to be loaded to load Geoportal layers.");var n;o.olParams&&o.olParams.sourceParams&&(n=o.olParams.sourceParams);var l=new a.default({layer:o.layer,ssl:o.ssl,apiKey:o.apiKey,olParams:n}),u={source:l};if(void 0!==l.getLayer()){var c,d=s.default.configuration.getLayerId(o.layer,"WMTS"),p=s.default.configuration.getGlobalConstraints(d);if(p&&p.projection)"string"==typeof p.projection&&(c=Object(r.get)(p.projection)),c&&c.getUnits()&&("m"===c.getUnits()?(u.minResolution=28e-5*(p.minScale-1),u.maxResolution=28e-5*(p.maxScale+1)):"degrees"===c.getUnits()&&(u.minResolution=28e-5*(p.minScale-1)*180/(6378137*Math.PI),u.maxResolution=28e-5*(p.maxScale+1)*180/(6378137*Math.PI)))}i.default.mergeParams(u,o.olParams),e.call(this,u)}return e&&(t.__proto__=e),t.prototype=Object.create(e.prototype,{}),t.prototype.constructor=t,t}(n.default);t.default=l,window.ol&&window.ol.layer&&(window.ol.layer.GeoportalWMTS=l)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Layers/SourceWMS.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Gp.js"),n=o("./node_modules/ol/source/TileWMS.js"),i=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),a=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/Config.js"),l=o("./node_modules/geoportal-extensions-openlayers/package.json"),u=s.default.getLogger("sourcewms"),c=function(e){function t(o){if(!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");if(!o.layer)throw new Error("ERROR PARAM_MISSING : layer");if("string"!=typeof o.layer)throw new Error("ERROR WRONG TYPE : layer");if(void 0===o.ssl&&(o.ssl=!0),!a.default.isConfigLoaded())throw new Error("ERROR : contract key configuration has to be loaded to load Geoportal layers.");var n=a.default.configuration.getLayerId(o.layer,"WMS");if(!n||!a.default.configuration.getLayerConf(n))return u.log("[source WMS] ERROR : "+o.layer+" cannot be found in Geoportal Configuration. Make sure that this resource is included in your contract key."),new e({});var s=a.default.configuration.getLayerParams(o.layer,"WMS"),c=!1===o.ssl?"http://":"https://",d={"gp-ol-ext":l.olExtVersion||l.version};s.url.includes("/private/")&&(d.apikey=o.apiKey||a.default.configuration.getLayerKey(n)[0]);var p={url:r.default.Helper.normalyzeUrl(s.url.replace(/(http|https):\/\//,c),d,!1),params:{SERVICE:"WMS",LAYERS:o.layer,VERSION:s.version,STYLES:s.styles,FORMAT:s.format}};i.default.mergeParams(p,o.olParams),e.call(this,p),o.olParams&&!s.originators&&(s.originators=o.olParams.attributions),this._originators=s.originators,this._legends=o.legends||s.legends,this._metadata=o.metadata||s.metadata,this._title=o.title||s.title,this._description=o.description||s.description,this._quicklookUrl=o.quicklookUrl||s.quicklookUrl}return e&&(t.__proto__=e),t.prototype=Object.create(e.prototype,{}),t.prototype.constructor=t,t}(n.default);t.default=c,window.ol&&window.ol.source&&(window.ol.source.GeoportalWMS=c)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Layers/SourceWMTS.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/geoportal-access-lib/src/Gp.js"),n=o("./node_modules/ol/tilegrid/WMTS.js"),i=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Sources/WMTS.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),a=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LayerUtils.js"),l=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js"),u=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/Config.js"),c=o("./node_modules/geoportal-extensions-openlayers/package.json"),d=l.default.getLogger("sourcewmts"),p=function(e){function t(o){if(!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");if(!o.layer)throw new Error("ERROR PARAM_MISSING : layer");if("string"!=typeof o.layer)throw new Error("ERROR WRONG TYPE : layer");if(void 0===o.ssl&&(o.ssl=!0),!u.default.isConfigLoaded())throw new Error("ERROR : contract key configuration has to be loaded to load Geoportal layers.");var i=u.default.configuration.getLayerId(o.layer,"WMTS");if(!i||!u.default.configuration.getLayerConf(i))return d.log("[source WMTS] ERROR : "+o.layer+" cannot be found in Geoportal Configuration. Make sure that this resource is included in your contract key."),new e({});var l=u.default.configuration.getLayerParams(o.layer,"WMTS"),p=!1===o.ssl?"http://":"https://";this._originators=l.originators;var h={"gp-ol-ext":c.olExtVersion||c.version};l.url.includes("/private/")&&(h.apikey=o.apiKey||u.default.configuration.getLayerKey(i)[0]);var f={url:r.default.Helper.normalyzeUrl(l.url.replace(/(http|https):\/\//,p),h,!1),version:l.version,style:l.styles,format:l.format,projection:l.projection,maxZoom:a.default.getZoomLevelFromScaleDenominator(l.minScale),layer:o.layer,matrixSet:l.TMSLink,tileGrid:new n.default({resolutions:l.nativeResolutions,matrixIds:l.matrixIds,origin:[Object.values(l.tileMatrices)[0].topLeftCorner.x,Object.values(l.tileMatrices)[0].topLeftCorner.y]})};s.default.mergeParams(f,o.olParams),e.call(this,f),o.olParams&&!l.originators&&(l.originators=o.olParams.attributions),this._originators=l.originators,this._legends=o.legends||l.legends,this._metadata=o.metadata||l.metadata,this._description=o.description||l.description,this._title=o.title||l.title,this._quicklookUrl=o.quicklookUrl||l.quicklookUrl}return e&&(t.__proto__=e),t.prototype=Object.create(e.prototype,{}),t.prototype.constructor=t,t}(i.default);t.default=p,window.ol&&window.ol.source&&(window.ol.source.GeoportalWMTS=p)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Sources/WMTS.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/source/WMTS.js"),n=o("./node_modules/ol/extent.js"),i=o("./node_modules/geoportal-access-lib/src/Gp.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js"),a=function(e){function t(o){if(!(this instanceof t))throw new TypeError("ERROR CLASS_CONSTRUCTOR");e.call(this,o)}return e&&(t.__proto__=e),t.prototype=Object.create(e.prototype,{}),t.prototype.constructor=t,t.prototype.getFeatureInfoUrl=function(e,t,o,r){var a=this.options&&this.options.tilePixelRatio?this.options.tilePixelRatio:1,l=this.tileGrid,u=this.tileGrid.getTileCoordForCoordAndResolution(e,t),c=l.getTileCoordExtent(u),d=function(e,t,o){var r=[0,0,0],i=Object(n.createEmpty)(),s=e[1],a=e[2],l=t.getTileCoordExtent(e),u=o.getExtent();null!=u&&o.isGlobal()&&(s%=Math.ceil(Object(n.getWidth)(u)/Object(n.getWidth)(l)),r[0]=e[0],r[1]=s,r[2]=e[2],l=t.getTileCoordExtent(r,i));return Object(n.intersects)(l,u)?[e[0],s,a]:null}(u,l,o);if(!(l.getResolutions().length<=u[0])){var p=l.getResolution(u[0]),h=l.getMatrixIds()[u[0]],f={SERVICE:"WMTS",VERSION:"1.0.0",REQUEST:"GetFeatureInfo",LAYER:this.getLayer(),TILECOL:d[1],TILEROW:d[2],TILEMATRIX:h,TILEMATRIXSET:this.getMatrixSet(),FORMAT:this.getFormat()||"image/png",STYLE:this.getStyle()||"normal"};s.default.assign(f,r);var m=Math.floor((e[0]-c[0])/(p/a)),g=Math.floor((c[3]-e[1])/(p/a)),y=l.getTileSize(u[0]);m=Math.min(m,(y[0]|y)-1),g=Math.max(g,0),f.I=m,f.J=g;var v=this.urls[0];return i.default.Helper.normalyzeUrl(v,f)}},t}(r.default);t.default=a,window.ol&&window.ol.source&&(window.ol.source.WMTSExtended=a)},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Styles.js":function(e,t,o){"use strict";o.r(t);o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/GPgeneralWidgetOpenLayers.css"),o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Attribution/GPattributionOpenLayers.css"),o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Drawing/GPdrawingOpenLayers.css"),o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Editor/GPeditorOpenLayers.css"),o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/ElevationPath/GPelevationPathOpenLayers.css"),o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/GetFeatureInfo/GPgetFeatureInfoOpenLayers.css"),o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Isochrone/GPisochronOpenLayers.css"),o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/LayerImport/GPimportOpenLayers.css"),o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/LayerSwitcher/GPlayerSwitcherOpenLayers.css"),o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/LocationSelector/GPlocationOpenLayers.css"),o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Measures/GPmeasureAreaOpenLayers.css"),o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Measures/GPmeasureAzimuthOpenLayers.css"),o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Measures/GPmeasureLengthOpenLayers.css"),o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/MousePosition/GPmousePositionOpenLayers.css"),o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/ReverseGeocoding/GPreverseGeocodingOpenLayers.css"),o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/Route/GProuteOpenLayers.css"),o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/SearchEngine/GPsearchEngineOpenLayers.css"),o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CSS/Controls/ToolBoxMeasure/GPtoolBoxMeasureOpenLayers.css")},"./node_modules/geoportal-extensions-openlayers/src/OpenLayers/index.js":function(e,t,o){"use strict";o.r(t),o.d(t,"Config",(function(){return ee})),o.d(t,"Services",(function(){return X})),o.d(t,"Error",(function(){return Z})),o.d(t,"Helper",(function(){return K})),o.d(t,"Protocols",(function(){return J})),o.d(t,"servicesDate",(function(){return Q})),o.d(t,"servicesVersion",(function(){return $})),o.d(t,"olExtVersion",(function(){return te})),o.d(t,"olExtDate",(function(){return oe})),o.d(t,"olExtended",(function(){return ne}));var r=o("./node_modules/geoportal-extensions-openlayers/package.json"),n=(o("./node_modules/geoportal-extensions-openlayers/src/Common/Styles.js"),o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Styles.js"),o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/GfiUtils.js")),i=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Formats/KML.js"),s=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Formats/GPX.js"),a=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Formats/GeoJSON.js"),l=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Sources/WMTS.js"),u=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Layers/SourceWMTS.js"),c=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Layers/SourceWMS.js"),d=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Layers/LayerWMTS.js"),p=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Layers/LayerWMS.js"),h=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Layers/LayerMapBox.js"),f=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/LayerSwitcher.js"),m=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/GetFeatureInfo.js"),g=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/SearchEngine.js"),y=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/MousePosition.js"),v=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Drawing.js"),_=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Route.js"),b=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Isocurve.js"),A=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/ReverseGeocode.js"),C=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/LocationSelector.js"),E=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/LayerImport.js"),S=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/GeoportalAttribution.js"),w=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Utils/Markers.js"),O=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/ElevationPath.js"),I=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Measures/MeasureLength.js"),x=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Measures/MeasureArea.js"),j=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Measures/MeasureAzimuth.js"),T=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Export.js"),P=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Style.js"),M=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Filter.js"),R=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Layer.js"),L=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Themes.js"),k=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Legend.js"),N=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Group.js"),D=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor/Search.js"),G=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/Controls/Editor.js"),F=(o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/AutoLoadConfig.js"),o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CRS/AutoLoadCRS.js"),o("./node_modules/geoportal-access-lib/src/Gp.js")),U=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/CRS/CRS.js"),B=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils.js");o.d(t,"olUtils",(function(){return B.default}));var z=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LayerUtils.js");o.d(t,"LayerUtils",(function(){return z.default}));var V=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/ProxyUtils.js");o.d(t,"ProxyUtils",(function(){return V.default}));var W=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/ColorUtils.js");o.d(t,"ColorUtils",(function(){return W.default}));var q=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/MathUtils.js");o.d(t,"MathUtils",(function(){return q.default}));var Y=o("./node_modules/geoportal-extensions-openlayers/src/Common/Utils/LoggerByDefault.js");function H(e){return H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},H(e)}o.d(t,"Logger",(function(){return Y.default}));var X=F.default.Services,Z=F.default.Error,K=F.default.Helper,J=F.default.Protocols,Q=F.default.servicesDate,$=F.default.servicesVersion,ee=window.Gp?window.Gp.Config:{},te=r.olExtVersion||r.version,oe=r.date;function re(e,t){return function e(t,o){for(var r in t)t.hasOwnProperty(r)&&(o.hasOwnProperty(r)?"object"===H(t[r])&&e(t[r],o[r]):o[r]=t[r])}(e,t)}var ne={gp:{}};ne.gp.GfiUtils=n.default,ne.includeProjections=U.default.load,ne.style=ne.style||{},ne.style.Editor=G.default,ne.style.editor=ne.style.editor||{},ne.style.editor.Style=P.default,ne.style.editor.Filter=M.default,ne.style.editor.Layer=R.default,ne.style.editor.Legend=k.default,ne.style.editor.Group=N.default,ne.style.editor.Themes=L.default,ne.style.editor.Search=D.default,ne.format=ne.format||{},ne.format.KMLExtended=i.default,ne.format.GPXExtended=s.default,ne.format.GeoJSONExtended=a.default,ne.source=ne.source||{},ne.source.WMTSExtended=l.default,ne.source.GeoportalWMTS=u.default,ne.source.GeoportalWMS=c.default,ne.layer=ne.layer||{},ne.layer.GeoportalWMTS=d.default,ne.layer.GeoportalWMS=p.default,ne.layer.GeoportalMapBox=h.default,ne.control=ne.control||{},ne.control.LayerSwitcher=f.default,ne.control.GeoportalAttribution=S.default,ne.control.GetFeatureInfo=m.default,ne.control.SearchEngine=g.default,ne.control.Route=_.default,ne.control.Isocurve=b.default,ne.control.GeoportalMousePosition=y.default,ne.control.Drawing=v.default,ne.control.ReverseGeocode=A.default,ne.control.LayerImport=E.default,ne.control.MeasureLength=I.default,ne.control.MeasureArea=x.default,ne.control.MeasureAzimuth=j.default,ne.control.DefaultMarkers=w.default,ne.control.ElevationPath=O.default,ne.control.LocationSelector=C.default,ne.control.Export=T.default,window.ol&&(re(ne,window.ol),re(window.ol,ne))},"./node_modules/geotiff/node_modules/lru-cache/index.js":function(e,t,o){"use strict";const r=o("./node_modules/geotiff/node_modules/yallist/yallist.js"),n=Symbol("max"),i=Symbol("length"),s=Symbol("lengthCalculator"),a=Symbol("allowStale"),l=Symbol("maxAge"),u=Symbol("dispose"),c=Symbol("noDisposeOnSet"),d=Symbol("lruList"),p=Symbol("cache"),h=Symbol("updateAgeOnGet"),f=()=>1;const m=(e,t,o)=>{const r=e[p].get(t);if(r){const t=r.value;if(g(e,t)){if(v(e,r),!e[a])return}else o&&(e[h]&&(r.value.now=Date.now()),e[d].unshiftNode(r));return t.value}},g=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const o=Date.now()-t.now;return t.maxAge?o>t.maxAge:e[l]&&o>e[l]},y=e=>{if(e[i]>e[n])for(let t=e[d].tail;e[i]>e[n]&&null!==t;){const o=t.prev;v(e,t),t=o}},v=(e,t)=>{if(t){const o=t.value;e[u]&&e[u](o.key,o.value),e[i]-=o.length,e[p].delete(o.key),e[d].removeNode(t)}};class _{constructor(e,t,o,r,n){this.key=e,this.value=t,this.length=o,this.now=r,this.maxAge=n||0}}const b=(e,t,o,r)=>{let n=o.value;g(e,n)&&(v(e,o),e[a]||(n=void 0)),n&&t.call(r,n.value,n.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[n]=e.max||1/0;const t=e.length||f;if(this[s]="function"!=typeof t?f:t,this[a]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[u]=e.dispose,this[c]=e.noDisposeOnSet||!1,this[h]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[n]=e||1/0,y(this)}get max(){return this[n]}set allowStale(e){this[a]=!!e}get allowStale(){return this[a]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,y(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[s]&&(this[s]=e,this[i]=0,this[d].forEach((e=>{e.length=this[s](e.value,e.key),this[i]+=e.length}))),y(this)}get lengthCalculator(){return this[s]}get length(){return this[i]}get itemCount(){return this[d].length}rforEach(e,t){t=t||this;for(let o=this[d].tail;null!==o;){const r=o.prev;b(this,e,o,t),o=r}}forEach(e,t){t=t||this;for(let o=this[d].head;null!==o;){const r=o.next;b(this,e,o,t),o=r}}keys(){return this[d].toArray().map((e=>e.key))}values(){return this[d].toArray().map((e=>e.value))}reset(){this[u]&&this[d]&&this[d].length&&this[d].forEach((e=>this[u](e.key,e.value))),this[p]=new Map,this[d]=new r,this[i]=0}dump(){return this[d].map((e=>!g(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[d]}set(e,t,o){if((o=o||this[l])&&"number"!=typeof o)throw new TypeError("maxAge must be a number");const r=o?Date.now():0,a=this[s](t,e);if(this[p].has(e)){if(a>this[n])return v(this,this[p].get(e)),!1;const s=this[p].get(e).value;return this[u]&&(this[c]||this[u](e,s.value)),s.now=r,s.maxAge=o,s.value=t,this[i]+=a-s.length,s.length=a,this.get(e),y(this),!0}const h=new _(e,t,a,r,o);return h.length>this[n]?(this[u]&&this[u](e,t),!1):(this[i]+=h.length,this[d].unshift(h),this[p].set(e,this[d].head),y(this),!0)}has(e){if(!this[p].has(e))return!1;const t=this[p].get(e).value;return!g(this,t)}get(e){return m(this,e,!0)}peek(e){return m(this,e,!1)}pop(){const e=this[d].tail;return e?(v(this,e),e.value):null}del(e){v(this,this[p].get(e))}load(e){this.reset();const t=Date.now();for(let o=e.length-1;o>=0;o--){const r=e[o],n=r.e||0;if(0===n)this.set(r.k,r.v);else{const e=n-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[p].forEach(((e,t)=>m(this,t,!1)))}}},"./node_modules/geotiff/node_modules/yallist/iterator.js":function(e,t,o){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},"./node_modules/geotiff/node_modules/yallist/yallist.js":function(e,t,o){"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var o=0,n=arguments.length;o<n;o++)t.push(arguments[o]);return t}function n(e,t,o){var r=t===e.head?new a(o,null,t,e):new a(o,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function i(e,t){e.tail=new a(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function s(e,t){e.head=new a(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function a(e,t,o,r){if(!(this instanceof a))return new a(e,t,o,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,o?(o.prev=this,this.next=o):this.next=null}e.exports=r,r.Node=a,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,o=e.prev;return t&&(t.prev=o),o&&(o.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=o),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)s(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var o=this.head,r=0;null!==o;r++)e.call(t,o.value,r,this),o=o.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var o=this.tail,r=this.length-1;null!==o;r--)e.call(t,o.value,r,this),o=o.prev},r.prototype.get=function(e){for(var t=0,o=this.head;null!==o&&t<e;t++)o=o.next;if(t===e&&null!==o)return o.value},r.prototype.getReverse=function(e){for(var t=0,o=this.tail;null!==o&&t<e;t++)o=o.prev;if(t===e&&null!==o)return o.value},r.prototype.map=function(e,t){t=t||this;for(var o=new r,n=this.head;null!==n;)o.push(e.call(t,n.value,this)),n=n.next;return o},r.prototype.mapReverse=function(e,t){t=t||this;for(var o=new r,n=this.tail;null!==n;)o.push(e.call(t,n.value,this)),n=n.prev;return o},r.prototype.reduce=function(e,t){var o,r=this.head;if(arguments.length>1)o=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,o=this.head.value}for(var n=0;null!==r;n++)o=e(o,r.value,n),r=r.next;return o},r.prototype.reduceReverse=function(e,t){var o,r=this.tail;if(arguments.length>1)o=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,o=this.tail.value}for(var n=this.length-1;null!==r;n--)o=e(o,r.value,n),r=r.prev;return o},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,o=this.head;null!==o;t++)e[t]=o.value,o=o.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,o=this.tail;null!==o;t++)e[t]=o.value,o=o.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var o=new r;if(t<e||t<0)return o;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=0,i=this.head;null!==i&&n<e;n++)i=i.next;for(;null!==i&&n<t;n++,i=i.next)o.push(i.value);return o},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var o=new r;if(t<e||t<0)return o;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=this.length,i=this.tail;null!==i&&n>t;n--)i=i.prev;for(;null!==i&&n>e;n--,i=i.prev)o.push(i.value);return o},r.prototype.splice=function(e,t,...o){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,i=this.head;null!==i&&r<e;r++)i=i.next;var s=[];for(r=0;i&&r<t;r++)s.push(i.value),i=this.removeNode(i);null===i&&(i=this.tail),i!==this.head&&i!==this.tail&&(i=i.prev);for(r=0;r<o.length;r++)i=n(this,i,o[r]);return s},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,o=e;null!==o;o=o.prev){var r=o.prev;o.prev=o.next,o.next=r}return this.head=t,this.tail=e,this};try{o("./node_modules/geotiff/node_modules/yallist/iterator.js")(r)}catch(e){}},"./node_modules/geotiff/src/compression/index.js":function(e,t,o){"use strict";o.r(t),o.d(t,"addDecoder",(function(){return n})),o.d(t,"getDecoder",(function(){return i}));const r=new Map;function n(e,t){Array.isArray(e)||(e=[e]),e.forEach((e=>r.set(e,t)))}async function i(e){const t=r.get(e.Compression);if(!t)throw new Error(`Unknown compression method identifier: ${e.Compression}`);return new(await t())(e)}n([void 0,1],(()=>o.e(1).then(o.bind(null,"./node_modules/geotiff/src/compression/raw.js")).then((e=>e.default)))),n(5,(()=>o.e(1).then(o.bind(null,"./node_modules/geotiff/src/compression/lzw.js")).then((e=>e.default)))),n(6,(()=>{throw new Error("old style JPEG compression is not supported.")})),n(7,(()=>o.e(1).then(o.bind(null,"./node_modules/geotiff/src/compression/jpeg.js")).then((e=>e.default)))),n([8,32946],(()=>o.e(1).then(o.bind(null,"./node_modules/geotiff/src/compression/deflate.js")).then((e=>e.default)))),n(32773,(()=>o.e(1).then(o.bind(null,"./node_modules/geotiff/src/compression/packbits.js")).then((e=>e.default)))),n(34887,(()=>o.e(1).then(o.bind(null,"./node_modules/geotiff/src/compression/lerc.js")).then((e=>e.default))))},"./node_modules/geotiff/src/dataslice.js":function(e,t,o){"use strict";o.r(t),o.d(t,"default",(function(){return r}));class r{constructor(e,t,o,r){this._dataView=new DataView(e),this._sliceOffset=t,this._littleEndian=o,this._bigTiff=r}get sliceOffset(){return this._sliceOffset}get sliceTop(){return this._sliceOffset+this.buffer.byteLength}get littleEndian(){return this._littleEndian}get bigTiff(){return this._bigTiff}get buffer(){return this._dataView.buffer}covers(e,t){return this.sliceOffset<=e&&this.sliceTop>=e+t}readUint8(e){return this._dataView.getUint8(e-this._sliceOffset,this._littleEndian)}readInt8(e){return this._dataView.getInt8(e-this._sliceOffset,this._littleEndian)}readUint16(e){return this._dataView.getUint16(e-this._sliceOffset,this._littleEndian)}readInt16(e){return this._dataView.getInt16(e-this._sliceOffset,this._littleEndian)}readUint32(e){return this._dataView.getUint32(e-this._sliceOffset,this._littleEndian)}readInt32(e){return this._dataView.getInt32(e-this._sliceOffset,this._littleEndian)}readFloat32(e){return this._dataView.getFloat32(e-this._sliceOffset,this._littleEndian)}readFloat64(e){return this._dataView.getFloat64(e-this._sliceOffset,this._littleEndian)}readUint64(e){const t=this.readUint32(e),o=this.readUint32(e+4);let r;if(this._littleEndian){if(r=t+2**32*o,!Number.isSafeInteger(r))throw new Error(`${r} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return r}if(r=2**32*t+o,!Number.isSafeInteger(r))throw new Error(`${r} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return r}readInt64(e){let t=0;const o=(128&this._dataView.getUint8(e+(this._littleEndian?7:0)))>0;let r=!0;for(let n=0;n<8;n++){let i=this._dataView.getUint8(e+(this._littleEndian?n:7-n));o&&(r?0!==i&&(i=255&~(i-1),r=!1):i=255&~i),t+=i*256**n}return o&&(t=-t),t}readOffset(e){return this._bigTiff?this.readUint64(e):this.readUint32(e)}}},"./node_modules/geotiff/src/dataview64.js":function(e,t,o){"use strict";o.r(t),o.d(t,"default",(function(){return n}));var r=o("./node_modules/@petamoriken/float16/browser/float16.js");class n{constructor(e){this._dataView=new DataView(e)}get buffer(){return this._dataView.buffer}getUint64(e,t){const o=this.getUint32(e,t),r=this.getUint32(e+4,t);let n;if(t){if(n=o+2**32*r,!Number.isSafeInteger(n))throw new Error(`${n} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return n}if(n=2**32*o+r,!Number.isSafeInteger(n))throw new Error(`${n} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return n}getInt64(e,t){let o=0;const r=(128&this._dataView.getUint8(e+(t?7:0)))>0;let n=!0;for(let i=0;i<8;i++){let s=this._dataView.getUint8(e+(t?i:7-i));r&&(n?0!==s&&(s=255&~(s-1),n=!1):s=255&~s),o+=s*256**i}return r&&(o=-o),o}getUint8(e,t){return this._dataView.getUint8(e,t)}getInt8(e,t){return this._dataView.getInt8(e,t)}getUint16(e,t){return this._dataView.getUint16(e,t)}getInt16(e,t){return this._dataView.getInt16(e,t)}getUint32(e,t){return this._dataView.getUint32(e,t)}getInt32(e,t){return this._dataView.getInt32(e,t)}getFloat16(e,t){return Object(r.getFloat16)(this._dataView,e,t)}getFloat32(e,t){return this._dataView.getFloat32(e,t)}getFloat64(e,t){return this._dataView.getFloat64(e,t)}}},"./node_modules/geotiff/src/geotiff.js":function(e,t,o){"use strict";o.r(t),o.d(t,"GeoTIFF",(function(){return A})),o.d(t,"MultiGeoTIFF",(function(){return C})),o.d(t,"fromUrl",(function(){return E})),o.d(t,"fromArrayBuffer",(function(){return S})),o.d(t,"fromFile",(function(){return w})),o.d(t,"fromBlob",(function(){return O})),o.d(t,"fromUrls",(function(){return I})),o.d(t,"writeArrayBuffer",(function(){return x}));var r=o("./node_modules/geotiff/src/geotiffimage.js"),n=o("./node_modules/geotiff/src/dataview64.js"),i=o("./node_modules/geotiff/src/dataslice.js"),s=o("./node_modules/geotiff/src/pool.js");o.d(t,"Pool",(function(){return s.default}));var a=o("./node_modules/geotiff/src/source/remote.js"),l=o("./node_modules/geotiff/src/source/arraybuffer.js"),u=o("./node_modules/geotiff/src/source/filereader.js"),c=o("./node_modules/geotiff/src/source/file.js"),d=o("./node_modules/geotiff/src/globals.js"),p=o("./node_modules/geotiff/src/geotiffwriter.js");o.d(t,"globals",(function(){return d}));var h=o("./node_modules/geotiff/src/rgb.js");o.d(t,"rgb",(function(){return h}));var f=o("./node_modules/geotiff/src/compression/index.js");o.d(t,"getDecoder",(function(){return f.getDecoder})),o.d(t,"addDecoder",(function(){return f.addDecoder}));var m=o("./node_modules/geotiff/src/logging.js");function g(e){switch(e){case d.fieldTypes.BYTE:case d.fieldTypes.ASCII:case d.fieldTypes.SBYTE:case d.fieldTypes.UNDEFINED:return 1;case d.fieldTypes.SHORT:case d.fieldTypes.SSHORT:return 2;case d.fieldTypes.LONG:case d.fieldTypes.SLONG:case d.fieldTypes.FLOAT:case d.fieldTypes.IFD:return 4;case d.fieldTypes.RATIONAL:case d.fieldTypes.SRATIONAL:case d.fieldTypes.DOUBLE:case d.fieldTypes.LONG8:case d.fieldTypes.SLONG8:case d.fieldTypes.IFD8:return 8;default:throw new RangeError(`Invalid field type: ${e}`)}}function y(e,t,o,r){let n=null,i=null;const s=g(t);switch(t){case d.fieldTypes.BYTE:case d.fieldTypes.ASCII:case d.fieldTypes.UNDEFINED:n=new Uint8Array(o),i=e.readUint8;break;case d.fieldTypes.SBYTE:n=new Int8Array(o),i=e.readInt8;break;case d.fieldTypes.SHORT:n=new Uint16Array(o),i=e.readUint16;break;case d.fieldTypes.SSHORT:n=new Int16Array(o),i=e.readInt16;break;case d.fieldTypes.LONG:case d.fieldTypes.IFD:n=new Uint32Array(o),i=e.readUint32;break;case d.fieldTypes.SLONG:n=new Int32Array(o),i=e.readInt32;break;case d.fieldTypes.LONG8:case d.fieldTypes.IFD8:n=new Array(o),i=e.readUint64;break;case d.fieldTypes.SLONG8:n=new Array(o),i=e.readInt64;break;case d.fieldTypes.RATIONAL:n=new Uint32Array(2*o),i=e.readUint32;break;case d.fieldTypes.SRATIONAL:n=new Int32Array(2*o),i=e.readInt32;break;case d.fieldTypes.FLOAT:n=new Float32Array(o),i=e.readFloat32;break;case d.fieldTypes.DOUBLE:n=new Float64Array(o),i=e.readFloat64;break;default:throw new RangeError(`Invalid field type: ${t}`)}if(t!==d.fieldTypes.RATIONAL&&t!==d.fieldTypes.SRATIONAL)for(let t=0;t<o;++t)n[t]=i.call(e,r+t*s);else for(let t=0;t<o;t+=2)n[t]=i.call(e,r+t*s),n[t+1]=i.call(e,r+(t*s+4));return t===d.fieldTypes.ASCII?new TextDecoder("utf-8").decode(n):n}o.d(t,"setLogger",(function(){return m.setLogger}));class v{constructor(e,t,o){this.fileDirectory=e,this.geoKeyDirectory=t,this.nextIFDByteOffset=o}}class _ extends Error{constructor(e){super(`No image at index ${e}`),this.index=e}}class b{async readRasters(e={}){const{window:t,width:o,height:r}=e;let{resX:n,resY:i,bbox:s}=e;const a=await this.getImage();let l=a;const u=await this.getImageCount(),c=a.getBoundingBox();if(t&&s)throw new Error('Both "bbox" and "window" passed.');if(o||r){if(t){const[e,o]=a.getOrigin(),[r,n]=a.getResolution();s=[e+t[0]*r,o+t[1]*n,e+t[2]*r,o+t[3]*n]}const e=s||c;if(o){if(n)throw new Error("Both width and resX passed");n=(e[2]-e[0])/o}if(r){if(i)throw new Error("Both width and resY passed");i=(e[3]-e[1])/r}}if(n||i){const e=[];for(let t=0;t<u;++t){const o=await this.getImage(t),{SubfileType:r,NewSubfileType:n}=o.fileDirectory;(0===t||2===r||1&n)&&e.push(o)}e.sort(((e,t)=>e.getWidth()-t.getWidth()));for(let t=0;t<e.length;++t){const o=e[t],r=(c[2]-c[0])/o.getWidth(),s=(c[3]-c[1])/o.getHeight();if(l=o,n&&n>r||i&&i>s)break}}let d=t;if(s){const[e,t]=a.getOrigin(),[o,r]=l.getResolution(a);d=[Math.round((s[0]-e)/o),Math.round((s[1]-t)/r),Math.round((s[2]-e)/o),Math.round((s[3]-t)/r)],d=[Math.min(d[0],d[2]),Math.min(d[1],d[3]),Math.max(d[0],d[2]),Math.max(d[1],d[3])]}return l.readRasters({...e,window:d})}}class A extends b{constructor(e,t,o,r,n={}){super(),this.source=e,this.littleEndian=t,this.bigTiff=o,this.firstIFDOffset=r,this.cache=n.cache||!1,this.ifdRequests=[],this.ghostValues=null}async getSlice(e,t){const o=this.bigTiff?4048:1024;return new i.default((await this.source.fetch([{offset:e,length:void 0!==t?t:o}]))[0],e,this.littleEndian,this.bigTiff)}async parseFileDirectoryAt(e){const t=this.bigTiff?20:12,o=this.bigTiff?8:2;let r=await this.getSlice(e);const n=this.bigTiff?r.readUint64(e):r.readUint16(e),i=n*t+(this.bigTiff?16:6);r.covers(e,i)||(r=await this.getSlice(e,i));const s={};let a=e+(this.bigTiff?8:2);for(let e=0;e<n;a+=t,++e){const e=r.readUint16(a),t=r.readUint16(a+2),o=this.bigTiff?r.readUint64(a+4):r.readUint32(a+4);let n,i;const l=g(t),u=a+(this.bigTiff?12:8);if(l*o<=(this.bigTiff?8:4))n=y(r,t,o,u);else{const e=r.readOffset(u),i=g(t)*o;if(r.covers(e,i))n=y(r,t,o,e);else{n=y(await this.getSlice(e,i),t,o,e)}}i=1===o&&-1===d.arrayFields.indexOf(e)&&t!==d.fieldTypes.RATIONAL&&t!==d.fieldTypes.SRATIONAL?n[0]:n,s[d.fieldTagNames[e]]=i}const l=function(e){const t=e.GeoKeyDirectory;if(!t)return null;const o={};for(let r=4;r<=4*t[3];r+=4){const n=d.geoKeyNames[t[r]],i=t[r+1]?d.fieldTagNames[t[r+1]]:null,s=t[r+2],a=t[r+3];let l=null;if(i){if(l=e[i],null==l)throw new Error(`Could not get value of geoKey '${n}'.`);"string"==typeof l?l=l.substring(a,a+s-1):l.subarray&&(l=l.subarray(a,a+s),1===s&&(l=l[0]))}else l=a;o[n]=l}return o}(s),u=r.readOffset(e+o+t*n);return new v(s,l,u)}async requestIFD(e){if(this.ifdRequests[e])return this.ifdRequests[e];if(0===e)return this.ifdRequests[e]=this.parseFileDirectoryAt(this.firstIFDOffset),this.ifdRequests[e];if(!this.ifdRequests[e-1])try{this.ifdRequests[e-1]=this.requestIFD(e-1)}catch(t){if(t instanceof _)throw new _(e);throw t}return this.ifdRequests[e]=(async()=>{const t=await this.ifdRequests[e-1];if(0===t.nextIFDByteOffset)throw new _(e);return this.parseFileDirectoryAt(t.nextIFDByteOffset)})(),this.ifdRequests[e]}async getImage(e=0){const t=await this.requestIFD(e);return new r.default(t.fileDirectory,t.geoKeyDirectory,this.dataView,this.littleEndian,this.cache,this.source)}async getImageCount(){let e=0,t=!0;for(;t;)try{await this.requestIFD(e),++e}catch(e){if(!(e instanceof _))throw e;t=!1}return e}async getGhostValues(){const e=this.bigTiff?16:8;if(this.ghostValues)return this.ghostValues;const t="GDAL_STRUCTURAL_METADATA_SIZE=";let o=await this.getSlice(e,130);if(t===y(o,d.fieldTypes.ASCII,30,e)){const t=y(o,d.fieldTypes.ASCII,130,e).split("\n")[0],r=Number(t.split("=")[1].split(" ")[0])+t.length;r>130&&(o=await this.getSlice(e,r));const n=y(o,d.fieldTypes.ASCII,r,e);this.ghostValues={},n.split("\n").filter((e=>e.length>0)).map((e=>e.split("="))).forEach((([e,t])=>{this.ghostValues[e]=t}))}return this.ghostValues}static async fromSource(e,t,o){const r=(await e.fetch([{offset:0,length:1024}],o))[0],i=new n.default(r),s=i.getUint16(0,0);let a;if(18761===s)a=!0;else{if(19789!==s)throw new TypeError("Invalid byte order value.");a=!1}const l=i.getUint16(2,a);let u;if(42===l)u=!1;else{if(43!==l)throw new TypeError("Invalid magic number.");u=!0;if(8!==i.getUint16(4,a))throw new Error("Unsupported offset byte-size.")}const c=u?i.getUint64(8,a):i.getUint32(4,a);return new A(e,a,u,c,t)}close(){return"function"==typeof this.source.close&&this.source.close()}}t.default=A;class C extends b{constructor(e,t){super(),this.mainFile=e,this.overviewFiles=t,this.imageFiles=[e].concat(t),this.fileDirectoriesPerFile=null,this.fileDirectoriesPerFileParsing=null,this.imageCount=null}async parseFileDirectoriesPerFile(){const e=[this.mainFile.parseFileDirectoryAt(this.mainFile.firstIFDOffset)].concat(this.overviewFiles.map((e=>e.parseFileDirectoryAt(e.firstIFDOffset))));return this.fileDirectoriesPerFile=await Promise.all(e),this.fileDirectoriesPerFile}async getImage(e=0){await this.getImageCount(),await this.parseFileDirectoriesPerFile();let t=0,o=0;for(let n=0;n<this.imageFiles.length;n++){const i=this.imageFiles[n];for(let s=0;s<this.imageCounts[n];s++){if(e===t){const e=await i.requestIFD(o);return new r.default(e.fileDirectory,e.geoKeyDirectory,i.dataView,i.littleEndian,i.cache,i.source)}t++,o++}o=0}throw new RangeError("Invalid image index")}async getImageCount(){if(null!==this.imageCount)return this.imageCount;const e=[this.mainFile.getImageCount()].concat(this.overviewFiles.map((e=>e.getImageCount())));return this.imageCounts=await Promise.all(e),this.imageCount=this.imageCounts.reduce(((e,t)=>e+t),0),this.imageCount}}async function E(e,t={},o){return A.fromSource(Object(a.makeRemoteSource)(e,t),o)}async function S(e,t){return A.fromSource(Object(l.makeBufferSource)(e),t)}async function w(e,t){return A.fromSource(Object(c.makeFileSource)(e),t)}async function O(e,t){return A.fromSource(Object(u.makeFileReaderSource)(e),t)}async function I(e,t=[],o={},r){const n=await A.fromSource(Object(a.makeRemoteSource)(e,o),r),i=await Promise.all(t.map((e=>A.fromSource(Object(a.makeRemoteSource)(e,o)))));return new C(n,i)}async function x(e,t){return Object(p.writeGeotiff)(e,t)}},"./node_modules/geotiff/src/geotiffimage.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/@petamoriken/float16/browser/float16.js"),n=o("./node_modules/xml-utils/get-attribute.mjs"),i=o("./node_modules/xml-utils/find-tags-by-name.mjs"),s=o("./node_modules/geotiff/src/globals.js"),a=o("./node_modules/geotiff/src/rgb.js"),l=o("./node_modules/geotiff/src/compression/index.js"),u=o("./node_modules/geotiff/src/resample.js");function c(e,t,o){let r=0;for(let n=t;n<o;++n)r+=e[n];return r}function d(e,t,o){switch(e){case 1:if(t<=8)return new Uint8Array(o);if(t<=16)return new Uint16Array(o);if(t<=32)return new Uint32Array(o);break;case 2:if(8===t)return new Int8Array(o);if(16===t)return new Int16Array(o);if(32===t)return new Int32Array(o);break;case 3:switch(t){case 16:case 32:return new Float32Array(o);case 64:return new Float64Array(o)}}throw Error("Unsupported data format/bitsPerSample")}t.default=class{constructor(e,t,o,r,n,i){this.fileDirectory=e,this.geoKeys=t,this.dataView=o,this.littleEndian=r,this.tiles=n?{}:null,this.isTiled=!e.StripOffsets;const s=e.PlanarConfiguration;if(this.planarConfiguration=void 0===s?1:s,1!==this.planarConfiguration&&2!==this.planarConfiguration)throw new Error("Invalid planar configuration.");this.source=i}getFileDirectory(){return this.fileDirectory}getGeoKeys(){return this.geoKeys}getWidth(){return this.fileDirectory.ImageWidth}getHeight(){return this.fileDirectory.ImageLength}getSamplesPerPixel(){return void 0!==this.fileDirectory.SamplesPerPixel?this.fileDirectory.SamplesPerPixel:1}getTileWidth(){return this.isTiled?this.fileDirectory.TileWidth:this.getWidth()}getTileHeight(){return this.isTiled?this.fileDirectory.TileLength:void 0!==this.fileDirectory.RowsPerStrip?Math.min(this.fileDirectory.RowsPerStrip,this.getHeight()):this.getHeight()}getBlockWidth(){return this.getTileWidth()}getBlockHeight(e){return this.isTiled||(e+1)*this.getTileHeight()<=this.getHeight()?this.getTileHeight():this.getHeight()-e*this.getTileHeight()}getBytesPerPixel(){let e=0;for(let t=0;t<this.fileDirectory.BitsPerSample.length;++t)e+=this.getSampleByteSize(t);return e}getSampleByteSize(e){if(e>=this.fileDirectory.BitsPerSample.length)throw new RangeError(`Sample index ${e} is out of range.`);return Math.ceil(this.fileDirectory.BitsPerSample[e]/8)}getReaderForSample(e){const t=this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1,o=this.fileDirectory.BitsPerSample[e];switch(t){case 1:if(o<=8)return DataView.prototype.getUint8;if(o<=16)return DataView.prototype.getUint16;if(o<=32)return DataView.prototype.getUint32;break;case 2:if(o<=8)return DataView.prototype.getInt8;if(o<=16)return DataView.prototype.getInt16;if(o<=32)return DataView.prototype.getInt32;break;case 3:switch(o){case 16:return function(e,t){return Object(r.getFloat16)(this,e,t)};case 32:return DataView.prototype.getFloat32;case 64:return DataView.prototype.getFloat64}}throw Error("Unsupported data format/bitsPerSample")}getSampleFormat(e=0){return this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1}getBitsPerSample(e=0){return this.fileDirectory.BitsPerSample[e]}getArrayForSample(e,t){return d(this.getSampleFormat(e),this.getBitsPerSample(e),t)}async getTileOrStrip(e,t,o,r,n){const i=Math.ceil(this.getWidth()/this.getTileWidth()),s=Math.ceil(this.getHeight()/this.getTileHeight());let a;const{tiles:l}=this;let u,c;1===this.planarConfiguration?a=t*i+e:2===this.planarConfiguration&&(a=o*i*s+t*i+e),this.isTiled?(u=this.fileDirectory.TileOffsets[a],c=this.fileDirectory.TileByteCounts[a]):(u=this.fileDirectory.StripOffsets[a],c=this.fileDirectory.StripByteCounts[a]);const p=(await this.source.fetch([{offset:u,length:c}],n))[0];let h;return null!==l&&l[a]?h=l[a]:(h=(async()=>{let e=await r.decode(this.fileDirectory,p);const o=this.getSampleFormat(),n=this.getBitsPerSample();return function(e,t){return(1!==e&&2!==e||!(t<=32)||t%8!=0)&&(3!==e||16!==t&&32!==t&&64!==t)}(o,n)&&(e=function(e,t,o,r,n,i,s){const a=new DataView(e),l=2===o?1:r,u=d(t,n,2===o?s*i:s*i*r),c=parseInt("1".repeat(n),2);if(1===t){let e;e=1===o?r*n:n;let t=i*e;7&t&&(t=t+7&-8);for(let e=0;e<s;++e){const o=e*t;for(let t=0;t<i;++t){const r=o+t*l*n;for(let o=0;o<l;++o){const s=r+o*n,d=(e*i+t)*l+o,p=Math.floor(s/8),h=s%8;if(h+n<=8)u[d]=a.getUint8(p)>>8-n-h&c;else if(h+n<=16)u[d]=a.getUint16(p)>>16-n-h&c;else if(h+n<=24){const e=a.getUint16(p)<<8|a.getUint8(p+2);u[d]=e>>24-n-h&c}else u[d]=a.getUint32(p)>>32-n-h&c}}}}return u.buffer}(e,o,this.planarConfiguration,this.getSamplesPerPixel(),n,this.getTileWidth(),this.getBlockHeight(t))),e})(),null!==l&&(l[a]=h)),{x:e,y:t,sample:o,data:await h}}async _readRaster(e,t,o,r,n,i,s,a,l){const d=this.getTileWidth(),p=this.getTileHeight(),h=this.getWidth(),f=this.getHeight(),m=Math.max(Math.floor(e[0]/d),0),g=Math.min(Math.ceil(e[2]/d),Math.ceil(h/d)),y=Math.max(Math.floor(e[1]/p),0),v=Math.min(Math.ceil(e[3]/p),Math.ceil(f/p)),_=e[2]-e[0];let b=this.getBytesPerPixel();const A=[],C=[];for(let e=0;e<t.length;++e)1===this.planarConfiguration?A.push(c(this.fileDirectory.BitsPerSample,0,t[e])/8):A.push(0),C.push(this.getReaderForSample(t[e]));const E=[],{littleEndian:S}=this;for(let i=y;i<v;++i)for(let s=m;s<g;++s)for(let a=0;a<t.length;++a){const u=a,c=t[a];2===this.planarConfiguration&&(b=this.getSampleByteSize(a));const m=this.getTileOrStrip(s,i,c,n,l);E.push(m),m.then((n=>{const i=n.data,s=new DataView(i),a=this.getBlockHeight(n.y),l=n.y*p,c=n.x*d,m=l+a,g=(n.x+1)*d,y=C[u],v=Math.min(a,a-(m-e[3]),f-l),E=Math.min(d,d-(g-e[2]),h-c);for(let n=Math.max(0,e[1]-l);n<v;++n)for(let i=Math.max(0,e[0]-c);i<E;++i){const a=(n*d+i)*b,p=y.call(s,a+A[u],S);let h;r?(h=(n+l-e[1])*_*t.length+(i+c-e[0])*t.length+u,o[h]=p):(h=(n+l-e[1])*_+i+c-e[0],o[u][h]=p)}}))}if(await Promise.all(E),i&&e[2]-e[0]!==i||s&&e[3]-e[1]!==s){let n;return n=r?Object(u.resampleInterleaved)(o,e[2]-e[0],e[3]-e[1],i,s,t.length,a):Object(u.resample)(o,e[2]-e[0],e[3]-e[1],i,s,a),n.width=i,n.height=s,n}return o.width=i||e[2]-e[0],o.height=s||e[3]-e[1],o}async readRasters({window:e,samples:t=[],interleave:o,pool:r=null,width:n,height:i,resampleMethod:s,fillValue:a,signal:u}={}){const c=e||[0,0,this.getWidth(),this.getHeight()];if(c[0]>c[2]||c[1]>c[3])throw new Error("Invalid subsets");const p=(c[2]-c[0])*(c[3]-c[1]),h=this.getSamplesPerPixel();if(t&&t.length){for(let e=0;e<t.length;++e)if(t[e]>=h)return Promise.reject(new RangeError(`Invalid sample index '${t[e]}'.`))}else for(let e=0;e<h;++e)t.push(e);let f;if(o){f=d(this.fileDirectory.SampleFormat?Math.max.apply(null,this.fileDirectory.SampleFormat):1,Math.max.apply(null,this.fileDirectory.BitsPerSample),p*t.length),a&&f.fill(a)}else{f=[];for(let e=0;e<t.length;++e){const o=this.getArrayForSample(t[e],p);Array.isArray(a)&&e<a.length?o.fill(a[e]):a&&!Array.isArray(a)&&o.fill(a),f.push(o)}}const m=r||await Object(l.getDecoder)(this.fileDirectory);return await this._readRaster(c,t,f,o,m,n,i,s,u)}async readRGB({window:e,interleave:t=!0,pool:o=null,width:r,height:n,resampleMethod:i,enableAlpha:l=!1,signal:u}={}){const c=e||[0,0,this.getWidth(),this.getHeight()];if(c[0]>c[2]||c[1]>c[3])throw new Error("Invalid subsets");const d=this.fileDirectory.PhotometricInterpretation;if(d===s.photometricInterpretations.RGB){let a=[0,1,2];if(this.fileDirectory.ExtraSamples!==s.ExtraSamplesValues.Unspecified&&l){a=[];for(let e=0;e<this.fileDirectory.BitsPerSample.length;e+=1)a.push(e)}return this.readRasters({window:e,interleave:t,samples:a,pool:o,width:r,height:n,resampleMethod:i,signal:u})}let p;switch(d){case s.photometricInterpretations.WhiteIsZero:case s.photometricInterpretations.BlackIsZero:case s.photometricInterpretations.Palette:p=[0];break;case s.photometricInterpretations.CMYK:p=[0,1,2,3];break;case s.photometricInterpretations.YCbCr:case s.photometricInterpretations.CIELab:p=[0,1,2];break;default:throw new Error("Invalid or unsupported photometric interpretation.")}const h={window:c,interleave:!0,samples:p,pool:o,width:r,height:n,resampleMethod:i,signal:u},{fileDirectory:f}=this,m=await this.readRasters(h),g=2**this.fileDirectory.BitsPerSample[0];let y;switch(d){case s.photometricInterpretations.WhiteIsZero:y=Object(a.fromWhiteIsZero)(m,g);break;case s.photometricInterpretations.BlackIsZero:y=Object(a.fromBlackIsZero)(m,g);break;case s.photometricInterpretations.Palette:y=Object(a.fromPalette)(m,f.ColorMap);break;case s.photometricInterpretations.CMYK:y=Object(a.fromCMYK)(m);break;case s.photometricInterpretations.YCbCr:y=Object(a.fromYCbCr)(m);break;case s.photometricInterpretations.CIELab:y=Object(a.fromCIELab)(m);break;default:throw new Error("Unsupported photometric interpretation.")}if(!t){const e=new Uint8Array(y.length/3),t=new Uint8Array(y.length/3),o=new Uint8Array(y.length/3);for(let r=0,n=0;r<y.length;r+=3,++n)e[n]=y[r],t[n]=y[r+1],o[n]=y[r+2];y=[e,t,o]}return y.width=m.width,y.height=m.height,y}getTiePoints(){if(!this.fileDirectory.ModelTiepoint)return[];const e=[];for(let t=0;t<this.fileDirectory.ModelTiepoint.length;t+=6)e.push({i:this.fileDirectory.ModelTiepoint[t],j:this.fileDirectory.ModelTiepoint[t+1],k:this.fileDirectory.ModelTiepoint[t+2],x:this.fileDirectory.ModelTiepoint[t+3],y:this.fileDirectory.ModelTiepoint[t+4],z:this.fileDirectory.ModelTiepoint[t+5]});return e}getGDALMetadata(e=null){const t={};if(!this.fileDirectory.GDAL_METADATA)return null;const o=this.fileDirectory.GDAL_METADATA;let r=Object(i.default)(o,"Item");null!==e&&(r=r.filter((t=>Number(Object(n.default)(t,"sample"))===e)));for(let e=0;e<r.length;++e){const o=r[e];t[Object(n.default)(o,"name")]=o.inner}return t}getGDALNoData(){if(!this.fileDirectory.GDAL_NODATA)return null;const e=this.fileDirectory.GDAL_NODATA;return Number(e.substring(0,e.length-1))}getOrigin(){const e=this.fileDirectory.ModelTiepoint,t=this.fileDirectory.ModelTransformation;if(e&&6===e.length)return[e[3],e[4],e[5]];if(t)return[t[3],t[7],t[11]];throw new Error("The image does not have an affine transformation.")}getResolution(e=null){const t=this.fileDirectory.ModelPixelScale,o=this.fileDirectory.ModelTransformation;if(t)return[t[0],-t[1],t[2]];if(o)return[o[0],o[5],o[10]];if(e){const[t,o,r]=e.getResolution();return[t*e.getWidth()/this.getWidth(),o*e.getHeight()/this.getHeight(),r*e.getWidth()/this.getWidth()]}throw new Error("The image does not have an affine transformation.")}pixelIsArea(){return 1===this.geoKeys.GTRasterTypeGeoKey}getBoundingBox(){const e=this.getOrigin(),t=this.getResolution(),o=e[0],r=e[1],n=o+t[0]*this.getWidth(),i=r+t[1]*this.getHeight();return[Math.min(o,n),Math.min(r,i),Math.max(o,n),Math.max(r,i)]}}},"./node_modules/geotiff/src/geotiffwriter.js":function(e,t,o){"use strict";o.r(t),o.d(t,"writeGeotiff",(function(){return g}));var r=o("./node_modules/geotiff/src/globals.js"),n=o("./node_modules/geotiff/src/utils.js");const i=Object(n.invert)(r.fieldTagNames),s=Object(n.invert)(r.geoKeyNames),a={};Object(n.assign)(a,i),Object(n.assign)(a,s);const l=Object(n.invert)(r.fieldTypeNames),u=1e3,c={nextZero:(e,t)=>{let o=t;for(;0!==e[o];)o++;return o},readUshort:(e,t)=>e[t]<<8|e[t+1],readShort:(e,t)=>{const o=c.ui8;return o[0]=e[t+1],o[1]=e[t+0],c.i16[0]},readInt:(e,t)=>{const o=c.ui8;return o[0]=e[t+3],o[1]=e[t+2],o[2]=e[t+1],o[3]=e[t+0],c.i32[0]},readUint:(e,t)=>{const o=c.ui8;return o[0]=e[t+3],o[1]=e[t+2],o[2]=e[t+1],o[3]=e[t+0],c.ui32[0]},readASCII:(e,t,o)=>o.map((o=>String.fromCharCode(e[t+o]))).join(""),readFloat:(e,t)=>{const o=c.ui8;return Object(n.times)(4,(r=>{o[r]=e[t+3-r]})),c.fl32[0]},readDouble:(e,t)=>{const o=c.ui8;return Object(n.times)(8,(r=>{o[r]=e[t+7-r]})),c.fl64[0]},writeUshort:(e,t,o)=>{e[t]=o>>8&255,e[t+1]=255&o},writeUint:(e,t,o)=>{e[t]=o>>24&255,e[t+1]=o>>16&255,e[t+2]=o>>8&255,e[t+3]=255&o},writeASCII:(e,t,o)=>{Object(n.times)(o.length,(r=>{e[t+r]=o.charCodeAt(r)}))},ui8:new Uint8Array(8)};c.fl64=new Float64Array(c.ui8.buffer),c.writeDouble=(e,t,o)=>{c.fl64[0]=o,Object(n.times)(8,(o=>{e[t+o]=c.ui8[7-o]}))};const d=e=>{const t=new Uint8Array(u);let o=4;const i=c;t[0]=77,t[1]=77,t[3]=42;let s=8;if(i.writeUint(t,o,s),o+=4,e.forEach(((o,a)=>{const u=((e,t,o,i)=>{let s=o;const a=Object.keys(i).filter((e=>null!=e&&"undefined"!==e));e.writeUshort(t,s,a.length),s+=2;let u=s+12*a.length+4;for(const o of a){let a=null;"number"==typeof o?a=o:"string"==typeof o&&(a=parseInt(o,10));const c=r.fieldTagTypes[a],d=l[c];if(null==c||void 0===c||void 0===c)throw new Error(`unknown type of tag: ${a}`);let p=i[o];if(void 0===p)throw new Error(`failed to get value for key ${o}`);"ASCII"===c&&"string"==typeof p&&!1===Object(n.endsWith)(p,"\0")&&(p+="\0");const h=p.length;e.writeUshort(t,s,a),s+=2,e.writeUshort(t,s,d),s+=2,e.writeUint(t,s,h),s+=4;let f=[-1,1,1,2,4,8,0,0,0,0,0,0,8][d]*h,m=s;f>4&&(e.writeUint(t,s,u),m=u),"ASCII"===c?e.writeASCII(t,m,p):"SHORT"===c?Object(n.times)(h,(o=>{e.writeUshort(t,m+2*o,p[o])})):"LONG"===c?Object(n.times)(h,(o=>{e.writeUint(t,m+4*o,p[o])})):"RATIONAL"===c?Object(n.times)(h,(o=>{e.writeUint(t,m+8*o,Math.round(1e4*p[o])),e.writeUint(t,m+8*o+4,1e4)})):"DOUBLE"===c&&Object(n.times)(h,(o=>{e.writeDouble(t,m+8*o,p[o])})),f>4&&(f+=1&f,u+=f),s+=4}return[s,u]})(i,t,s,o);s=u[1],a<e.length-1&&i.writeUint(t,u[0],s)})),t.slice)return t.slice(0,s).buffer;const a=new Uint8Array(s);for(let e=0;e<s;e++)a[e]=t[e];return a.buffer},p=(e,t,o,r)=>{if(null==o)throw new Error(`you passed into encodeImage a width of type ${o}`);if(null==t)throw new Error(`you passed into encodeImage a width of type ${t}`);const i={256:[t],257:[o],273:[u],278:[o],305:"geotiff.js"};if(r)for(const e in r)r.hasOwnProperty(e)&&(i[e]=r[e]);const s=new Uint8Array(d([i])),a=new Uint8Array(e),l=i[277],c=new Uint8Array(u+t*o*l);return Object(n.times)(s.length,(e=>{c[e]=s[e]})),Object(n.forEach)(a,((e,t)=>{c[u+t]=e})),c.buffer},h=e=>{const t={};for(const o in e)"StripOffsets"!==o&&(a[o]||console.error(o,"not in name2code:",Object.keys(a)),t[a[o]]=e[o]);return t},f=e=>Array.isArray(e)?e:[e],m=[["Compression",1],["PlanarConfiguration",1],["ExtraSamples",0]];function g(e,t){let o,i,s,l;"number"==typeof e[0]?(o=t.height||t.ImageLength,s=t.width||t.ImageWidth,i=e.length/(o*s),l=e):(i=e.length,o=e[0].length,s=e[0][0].length,l=[],Object(n.times)(o,(t=>{Object(n.times)(s,(o=>{Object(n.times)(i,(r=>{l.push(e[r][t][o])}))}))}))),t.ImageLength=o,delete t.height,t.ImageWidth=s,delete t.width,t.BitsPerSample||(t.BitsPerSample=Object(n.times)(i,(()=>8))),m.forEach((e=>{const o=e[0];if(!t[o]){const r=e[1];t[o]=r}})),t.PhotometricInterpretation||(t.PhotometricInterpretation=3===t.BitsPerSample.length?2:1),t.SamplesPerPixel||(t.SamplesPerPixel=[i]),t.StripByteCounts||(t.StripByteCounts=[i*o*s]),t.ModelPixelScale||(t.ModelPixelScale=[360/s,180/o,0]),t.SampleFormat||(t.SampleFormat=Object(n.times)(i,(()=>1))),t.hasOwnProperty("GeographicTypeGeoKey")||t.hasOwnProperty("ProjectedCSTypeGeoKey")||(t.GeographicTypeGeoKey=4326,t.ModelTiepoint=[0,0,0,-180,90,0],t.GeogCitationGeoKey="WGS 84",t.GTModelTypeGeoKey=2);const u=Object.keys(t).filter((e=>Object(n.endsWith)(e,"GeoKey"))).sort(((e,t)=>a[e]-a[t]));if(!t.GeoAsciiParams){let e="";u.forEach((o=>{const n=Number(a[o]);"ASCII"===r.fieldTagTypes[n]&&(e+=`${t[o].toString()}\0`)})),e.length>0&&(t.GeoAsciiParams=e)}if(!t.GeoKeyDirectory){const e=[1,1,0,u.length];u.forEach((o=>{const n=Number(a[o]);let i,s,l;e.push(n),"SHORT"===r.fieldTagTypes[n]?(i=1,s=0,l=t[o]):"GeogCitationGeoKey"===o?(i=t.GeoAsciiParams.length,s=Number(a.GeoAsciiParams),l=0):console.log(`[geotiff.js] couldn't get TIFFTagLocation for ${o}`),e.push(s),e.push(i),e.push(l)})),t.GeoKeyDirectory=e}for(const e in u)u.hasOwnProperty(e)&&delete t[e];["Compression","ExtraSamples","GeographicTypeGeoKey","GTModelTypeGeoKey","GTRasterTypeGeoKey","ImageLength","ImageWidth","Orientation","PhotometricInterpretation","ProjectedCSTypeGeoKey","PlanarConfiguration","ResolutionUnit","SamplesPerPixel","XPosition","YPosition"].forEach((e=>{t[e]&&(t[e]=f(t[e]))}));const c=h(t);return p(l,s,o,c)}},"./node_modules/geotiff/src/globals.js":function(e,t,o){"use strict";o.r(t),o.d(t,"fieldTagNames",(function(){return r})),o.d(t,"fieldTags",(function(){return n})),o.d(t,"fieldTagTypes",(function(){return i})),o.d(t,"arrayFields",(function(){return s})),o.d(t,"fieldTypeNames",(function(){return a})),o.d(t,"fieldTypes",(function(){return l})),o.d(t,"photometricInterpretations",(function(){return u})),o.d(t,"ExtraSamplesValues",(function(){return c})),o.d(t,"LercParameters",(function(){return d})),o.d(t,"LercAddCompression",(function(){return p})),o.d(t,"geoKeyNames",(function(){return h})),o.d(t,"geoKeys",(function(){return f}));const r={315:"Artist",258:"BitsPerSample",265:"CellLength",264:"CellWidth",320:"ColorMap",259:"Compression",33432:"Copyright",306:"DateTime",338:"ExtraSamples",266:"FillOrder",289:"FreeByteCounts",288:"FreeOffsets",291:"GrayResponseCurve",290:"GrayResponseUnit",316:"HostComputer",270:"ImageDescription",257:"ImageLength",256:"ImageWidth",271:"Make",281:"MaxSampleValue",280:"MinSampleValue",272:"Model",254:"NewSubfileType",274:"Orientation",262:"PhotometricInterpretation",284:"PlanarConfiguration",296:"ResolutionUnit",278:"RowsPerStrip",277:"SamplesPerPixel",305:"Software",279:"StripByteCounts",273:"StripOffsets",255:"SubfileType",263:"Threshholding",282:"XResolution",283:"YResolution",326:"BadFaxLines",327:"CleanFaxData",343:"ClipPath",328:"ConsecutiveBadFaxLines",433:"Decode",434:"DefaultImageColor",269:"DocumentName",336:"DotRange",321:"HalftoneHints",346:"Indexed",347:"JPEGTables",285:"PageName",297:"PageNumber",317:"Predictor",319:"PrimaryChromaticities",532:"ReferenceBlackWhite",339:"SampleFormat",340:"SMinSampleValue",341:"SMaxSampleValue",559:"StripRowCounts",330:"SubIFDs",292:"T4Options",293:"T6Options",325:"TileByteCounts",323:"TileLength",324:"TileOffsets",322:"TileWidth",301:"TransferFunction",318:"WhitePoint",344:"XClipPathUnits",286:"XPosition",529:"YCbCrCoefficients",531:"YCbCrPositioning",530:"YCbCrSubSampling",345:"YClipPathUnits",287:"YPosition",37378:"ApertureValue",40961:"ColorSpace",36868:"DateTimeDigitized",36867:"DateTimeOriginal",34665:"Exif IFD",36864:"ExifVersion",33434:"ExposureTime",41728:"FileSource",37385:"Flash",40960:"FlashpixVersion",33437:"FNumber",42016:"ImageUniqueID",37384:"LightSource",37500:"MakerNote",37377:"ShutterSpeedValue",37510:"UserComment",33723:"IPTC",34675:"ICC Profile",700:"XMP",42112:"GDAL_METADATA",42113:"GDAL_NODATA",34377:"Photoshop",33550:"ModelPixelScale",33922:"ModelTiepoint",34264:"ModelTransformation",34735:"GeoKeyDirectory",34736:"GeoDoubleParams",34737:"GeoAsciiParams",50674:"LercParameters"},n={};for(const e in r)r.hasOwnProperty(e)&&(n[r[e]]=parseInt(e,10));const i={256:"SHORT",257:"SHORT",258:"SHORT",259:"SHORT",262:"SHORT",273:"LONG",274:"SHORT",277:"SHORT",278:"LONG",279:"LONG",282:"RATIONAL",283:"RATIONAL",284:"SHORT",286:"SHORT",287:"RATIONAL",296:"SHORT",297:"SHORT",305:"ASCII",306:"ASCII",338:"SHORT",339:"SHORT",513:"LONG",514:"LONG",1024:"SHORT",1025:"SHORT",2048:"SHORT",2049:"ASCII",3072:"SHORT",3073:"ASCII",33550:"DOUBLE",33922:"DOUBLE",34665:"LONG",34735:"SHORT",34737:"ASCII",42113:"ASCII"},s=[n.BitsPerSample,n.ExtraSamples,n.SampleFormat,n.StripByteCounts,n.StripOffsets,n.StripRowCounts,n.TileByteCounts,n.TileOffsets,n.SubIFDs],a={1:"BYTE",2:"ASCII",3:"SHORT",4:"LONG",5:"RATIONAL",6:"SBYTE",7:"UNDEFINED",8:"SSHORT",9:"SLONG",10:"SRATIONAL",11:"FLOAT",12:"DOUBLE",13:"IFD",16:"LONG8",17:"SLONG8",18:"IFD8"},l={};for(const e in a)a.hasOwnProperty(e)&&(l[a[e]]=parseInt(e,10));const u={WhiteIsZero:0,BlackIsZero:1,RGB:2,Palette:3,TransparencyMask:4,CMYK:5,YCbCr:6,CIELab:8,ICCLab:9},c={Unspecified:0,Assocalpha:1,Unassalpha:2},d={Version:0,AddCompression:1},p={None:0,Deflate:1},h={1024:"GTModelTypeGeoKey",1025:"GTRasterTypeGeoKey",1026:"GTCitationGeoKey",2048:"GeographicTypeGeoKey",2049:"GeogCitationGeoKey",2050:"GeogGeodeticDatumGeoKey",2051:"GeogPrimeMeridianGeoKey",2052:"GeogLinearUnitsGeoKey",2053:"GeogLinearUnitSizeGeoKey",2054:"GeogAngularUnitsGeoKey",2055:"GeogAngularUnitSizeGeoKey",2056:"GeogEllipsoidGeoKey",2057:"GeogSemiMajorAxisGeoKey",2058:"GeogSemiMinorAxisGeoKey",2059:"GeogInvFlatteningGeoKey",2060:"GeogAzimuthUnitsGeoKey",2061:"GeogPrimeMeridianLongGeoKey",2062:"GeogTOWGS84GeoKey",3072:"ProjectedCSTypeGeoKey",3073:"PCSCitationGeoKey",3074:"ProjectionGeoKey",3075:"ProjCoordTransGeoKey",3076:"ProjLinearUnitsGeoKey",3077:"ProjLinearUnitSizeGeoKey",3078:"ProjStdParallel1GeoKey",3079:"ProjStdParallel2GeoKey",3080:"ProjNatOriginLongGeoKey",3081:"ProjNatOriginLatGeoKey",3082:"ProjFalseEastingGeoKey",3083:"ProjFalseNorthingGeoKey",3084:"ProjFalseOriginLongGeoKey",3085:"ProjFalseOriginLatGeoKey",3086:"ProjFalseOriginEastingGeoKey",3087:"ProjFalseOriginNorthingGeoKey",3088:"ProjCenterLongGeoKey",3089:"ProjCenterLatGeoKey",3090:"ProjCenterEastingGeoKey",3091:"ProjCenterNorthingGeoKey",3092:"ProjScaleAtNatOriginGeoKey",3093:"ProjScaleAtCenterGeoKey",3094:"ProjAzimuthAngleGeoKey",3095:"ProjStraightVertPoleLongGeoKey",3096:"ProjRectifiedGridAngleGeoKey",4096:"VerticalCSTypeGeoKey",4097:"VerticalCitationGeoKey",4098:"VerticalDatumGeoKey",4099:"VerticalUnitsGeoKey"},f={};for(const e in h)h.hasOwnProperty(e)&&(f[h[e]]=parseInt(e,10))},"./node_modules/geotiff/src/logging.js":function(e,t,o){"use strict";o.r(t),o.d(t,"setLogger",(function(){return i})),o.d(t,"debug",(function(){return s})),o.d(t,"log",(function(){return a})),o.d(t,"info",(function(){return l})),o.d(t,"warn",(function(){return u})),o.d(t,"error",(function(){return c})),o.d(t,"time",(function(){return d})),o.d(t,"timeEnd",(function(){return p}));class r{log(){}debug(){}info(){}warn(){}error(){}time(){}timeEnd(){}}let n=new r;function i(e=new r){n=e}function s(...e){return n.debug(...e)}function a(...e){return n.log(...e)}function l(...e){return n.info(...e)}function u(...e){return n.warn(...e)}function c(...e){return n.error(...e)}function d(...e){return n.time(...e)}function p(...e){return n.timeEnd(...e)}},"./node_modules/geotiff/src/pool.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/threads/dist-esm/index.js");const n="undefined"!=typeof navigator?navigator.hardwareConcurrency:null;t.default=class{constructor(e=n,t=new r.Worker("./decoder.worker.js")){this.pool=Object(r.Pool)((()=>Object(r.spawn)(t)),e)}async decode(e,t){return new Promise(((o,n)=>{this.pool.queue((async i=>{try{const n=await i(e,Object(r.Transfer)(t));o(n)}catch(e){n(e)}}))}))}destroy(){this.pool.terminate(!0)}}},"./node_modules/geotiff/src/resample.js":function(e,t,o){"use strict";function r(e,t,o,r=1){return new(Object.getPrototypeOf(e).constructor)(t*o*r)}function n(e,t,o,n,i){const s=t/n,a=o/i;return e.map((e=>{const l=r(e,n,i);for(let r=0;r<i;++r){const i=Math.min(Math.round(a*r),o-1);for(let o=0;o<n;++o){const a=Math.min(Math.round(s*o),t-1),u=e[i*t+a];l[r*n+o]=u}}return l}))}function i(e,t,o){return(1-o)*e+o*t}function s(e,t,o,n,s){const a=t/n,l=o/s;return e.map((e=>{const u=r(e,n,s);for(let r=0;r<s;++r){const s=l*r,c=Math.floor(s),d=Math.min(Math.ceil(s),o-1);for(let o=0;o<n;++o){const l=a*o,p=l%1,h=Math.floor(l),f=Math.min(Math.ceil(l),t-1),m=e[c*t+h],g=e[c*t+f],y=e[d*t+h],v=e[d*t+f],_=i(i(m,g,p),i(y,v,p),s%1);u[r*n+o]=_}}return u}))}function a(e,t,o,r,i,a="nearest"){switch(a.toLowerCase()){case"nearest":return n(e,t,o,r,i);case"bilinear":case"linear":return s(e,t,o,r,i);default:throw new Error(`Unsupported resampling method: '${a}'`)}}function l(e,t,o,n,i,s){const a=t/n,l=o/i,u=r(e,n,i,s);for(let r=0;r<i;++r){const i=Math.min(Math.round(l*r),o-1);for(let o=0;o<n;++o){const l=Math.min(Math.round(a*o),t-1);for(let a=0;a<s;++a){const c=e[i*t*s+l*s+a];u[r*n*s+o*s+a]=c}}}return u}function u(e,t,o,n,s,a){const l=t/n,u=o/s,c=r(e,n,s,a);for(let r=0;r<s;++r){const s=u*r,d=Math.floor(s),p=Math.min(Math.ceil(s),o-1);for(let o=0;o<n;++o){const u=l*o,h=u%1,f=Math.floor(u),m=Math.min(Math.ceil(u),t-1);for(let l=0;l<a;++l){const u=e[d*t*a+f*a+l],g=e[d*t*a+m*a+l],y=e[p*t*a+f*a+l],v=e[p*t*a+m*a+l],_=i(i(u,g,h),i(y,v,h),s%1);c[r*n*a+o*a+l]=_}}}return c}function c(e,t,o,r,n,i,s="nearest"){switch(s.toLowerCase()){case"nearest":return l(e,t,o,r,n,i);case"bilinear":case"linear":return u(e,t,o,r,n,i);default:throw new Error(`Unsupported resampling method: '${s}'`)}}o.r(t),o.d(t,"resampleNearest",(function(){return n})),o.d(t,"resampleBilinear",(function(){return s})),o.d(t,"resample",(function(){return a})),o.d(t,"resampleNearestInterleaved",(function(){return l})),o.d(t,"resampleBilinearInterleaved",(function(){return u})),o.d(t,"resampleInterleaved",(function(){return c}))},"./node_modules/geotiff/src/rgb.js":function(e,t,o){"use strict";function r(e,t){const{width:o,height:r}=e,n=new Uint8Array(o*r*3);let i;for(let o=0,r=0;o<e.length;++o,r+=3)i=256-e[o]/t*256,n[r]=i,n[r+1]=i,n[r+2]=i;return n}function n(e,t){const{width:o,height:r}=e,n=new Uint8Array(o*r*3);let i;for(let o=0,r=0;o<e.length;++o,r+=3)i=e[o]/t*256,n[r]=i,n[r+1]=i,n[r+2]=i;return n}function i(e,t){const{width:o,height:r}=e,n=new Uint8Array(o*r*3),i=t.length/3,s=t.length/3*2;for(let o=0,r=0;o<e.length;++o,r+=3){const a=e[o];n[r]=t[a]/65536*256,n[r+1]=t[a+i]/65536*256,n[r+2]=t[a+s]/65536*256}return n}function s(e){const{width:t,height:o}=e,r=new Uint8Array(t*o*3);for(let t=0,o=0;t<e.length;t+=4,o+=3){const n=e[t],i=e[t+1],s=e[t+2],a=e[t+3];r[o]=(255-n)/256*255*((255-a)/256),r[o+1]=(255-i)/256*255*((255-a)/256),r[o+2]=(255-s)/256*255*((255-a)/256)}return r}function a(e){const{width:t,height:o}=e,r=new Uint8ClampedArray(t*o*3);for(let t=0,o=0;t<e.length;t+=3,o+=3){const n=e[t],i=e[t+1],s=e[t+2];r[o]=n+1.402*(s-128),r[o+1]=n-.34414*(i-128)-.71414*(s-128),r[o+2]=n+1.772*(i-128)}return r}o.r(t),o.d(t,"fromWhiteIsZero",(function(){return r})),o.d(t,"fromBlackIsZero",(function(){return n})),o.d(t,"fromPalette",(function(){return i})),o.d(t,"fromCMYK",(function(){return s})),o.d(t,"fromYCbCr",(function(){return a})),o.d(t,"fromCIELab",(function(){return d}));const l=.95047,u=1,c=1.08883;function d(e){const{width:t,height:o}=e,r=new Uint8Array(t*o*3);for(let t=0,o=0;t<e.length;t+=3,o+=3){let n,i,s,a=(e[t+0]+16)/116,d=(e[t+1]<<24>>24)/500+a,p=a-(e[t+2]<<24>>24)/200;d=l*(d*d*d>.008856?d*d*d:(d-16/116)/7.787),a=u*(a*a*a>.008856?a*a*a:(a-16/116)/7.787),p=c*(p*p*p>.008856?p*p*p:(p-16/116)/7.787),n=3.2406*d+-1.5372*a+-.4986*p,i=-.9689*d+1.8758*a+.0415*p,s=.0557*d+-.204*a+1.057*p,n=n>.0031308?1.055*n**(1/2.4)-.055:12.92*n,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,r[o]=255*Math.max(0,Math.min(1,n)),r[o+1]=255*Math.max(0,Math.min(1,i)),r[o+2]=255*Math.max(0,Math.min(1,s))}return r}},"./node_modules/geotiff/src/source/arraybuffer.js":function(e,t,o){"use strict";o.r(t),o.d(t,"makeBufferSource",(function(){return s}));var r=o("./node_modules/geotiff/src/source/basesource.js"),n=o("./node_modules/geotiff/src/utils.js");class i extends r.BaseSource{constructor(e){super(),this.arrayBuffer=e}fetchSlice(e,t){if(t&&t.aborted)throw new n.AbortError("Request aborted");return this.arrayBuffer.slice(e.offset,e.offset+e.length)}}function s(e){return new i(e)}},"./node_modules/geotiff/src/source/basesource.js":function(e,t,o){"use strict";o.r(t),o.d(t,"BaseSource",(function(){return r}));class r{async fetch(e,t=void 0){return Promise.all(e.map((e=>this.fetchSlice(e,t))))}async fetchSlice(e){throw new Error(`fetching of slice ${e} not possible, not implemented`)}get fileSize(){return null}async close(){}}},"./node_modules/geotiff/src/source/blockedsource.js":function(e,t,o){"use strict";o.r(t),o.d(t,"BlockedSource",(function(){return u}));var r=o("./node_modules/geotiff/node_modules/lru-cache/index.js"),n=o.n(r),i=o("./node_modules/geotiff/src/source/basesource.js"),s=o("./node_modules/geotiff/src/utils.js");class a{constructor(e,t,o=null){this.offset=e,this.length=t,this.data=o}get top(){return this.offset+this.length}}class l{constructor(e,t,o){this.offset=e,this.length=t,this.blockIds=o}}class u extends i.BaseSource{constructor(e,{blockSize:t=65536,cacheSize:o=100}={}){super(),this.source=e,this.blockSize=t,this.blockCache=new n.a({max:o}),this.blockRequests=new Map,this.blockIdsToFetch=new Set}get fileSize(){return this.source.fileSize}async fetch(e,t){const o=new Map,r=new Map,n=new Set;for(const{offset:t,length:i}of e){let e=t+i;const{fileSize:s}=this;null!==s&&(e=Math.min(e,s));for(let i=Math.floor(t/this.blockSize)*this.blockSize;i<e;i+=this.blockSize){const e=Math.floor(i/this.blockSize);this.blockCache.has(e)?o.set(e,this.blockCache.get(e)):this.blockRequests.has(e)?r.set(e,this.blockRequests.get(e)):(this.blockIdsToFetch.has(e)||this.blockIdsToFetch.add(e),n.add(e))}}await Object(s.wait)(),this.fetchBlocks(t);for(const e of n){const t=this.blockRequests.get(e),n=this.blockCache.get(e);if(t)r.set(e,t);else{if(!n)throw new Error(`Block ${e} is not in the block requests`);o.set(e,n)}}let i=await Promise.allSettled(Array.from(r.values()));if(i.some((e=>"rejected"===e.status))){const e=new Set;for(const[o,n]of Object(s.zip)(r.keys(),i)){const{rejected:r,reason:i}=n;r&&"AbortError"===i.name&&i.signal!==t&&(this.blockIdsToFetch.add(o),e.add(o))}if(this.blockIdsToFetch.length>0){this.fetchBlocks(t);for(const t of e){const e=this.blockRequests.get(t);if(!e)throw new Error(`Block ${t} is not in the block requests`);r.set(t,e)}i=await Promise.allSettled(Array.from(r.values()))}}if(i.some((e=>"rejected"===e.status))){if(t&&t.aborted)throw new s.AbortError("Request was aborted");throw new s.AggregateError(i.filter((e=>"rejected"===e.status)).map((e=>e.reason)),"Request failed")}const a=i.map((e=>e.value)),l=new Map(Object(s.zip)(Array.from(r.keys()),a));for(const[e,t]of o)l.set(e,t);return this.readSliceData(e,l)}fetchBlocks(e){if(this.blockIdsToFetch.size>0){const t=this.groupBlocks(this.blockIdsToFetch),o=this.source.fetch(t,e);for(let r=0;r<t.length;++r){const n=t[r];for(const t of n.blockIds){const n=(async()=>{try{const e=(await o)[r],n=t*this.blockSize,i=n-e.offset,s=Math.min(i+this.blockSize,e.data.byteLength),l=e.data.slice(i,s),u=new a(n,l.byteLength,l);return this.blockCache.set(t,u),u}catch(t){throw"AbortError"===t.name&&(t.signal=e),t}finally{this.blockRequests.delete(t)}})();this.blockRequests.set(t,n)}}this.blockIdsToFetch.clear()}}groupBlocks(e){const t=Array.from(e).sort(((e,t)=>e-t));if(0===t.length)return[];let o=[],r=null;const n=[];for(const e of t)null===r||r+1===e?(o.push(e),r=e):(n.push(new l(o[0]*this.blockSize,o.length*this.blockSize,o)),o=[e],r=e);return n.push(new l(o[0]*this.blockSize,o.length*this.blockSize,o)),n}readSliceData(e,t){return e.map((e=>{const o=e.offset+e.length,r=Math.floor(e.offset/this.blockSize),n=Math.floor((e.offset+e.length)/this.blockSize),i=new ArrayBuffer(e.length),s=new Uint8Array(i);for(let i=r;i<=n;++i){const r=t.get(i),n=r.offset-e.offset;let a,l=0,u=0;n<0?l=-n:n>0&&(u=n),a=r.top-o<0?r.length-l:o-r.offset-l;const c=new Uint8Array(r.data,l,a);s.set(c,u)}return i}))}}},"./node_modules/geotiff/src/source/client/base.js":function(e,t,o){"use strict";o.r(t),o.d(t,"BaseResponse",(function(){return r})),o.d(t,"BaseClient",(function(){return n}));class r{get ok(){return this.status>=200&&this.status<=299}get status(){throw new Error("not implemented")}getHeader(e){throw new Error("not implemented")}async getData(){throw new Error("not implemented")}}class n{constructor(e){this.url=e}async request({headers:e,credentials:t,signal:o}={}){throw new Error("request is not implemented")}}},"./node_modules/geotiff/src/source/client/fetch.js":function(e,t,o){"use strict";o.r(t),o.d(t,"FetchClient",(function(){return i}));var r=o("./node_modules/geotiff/src/source/client/base.js");class n extends r.BaseResponse{constructor(e){super(),this.response=e}get status(){return this.response.status}getHeader(e){return this.response.headers.get(e)}async getData(){return this.response.arrayBuffer?await this.response.arrayBuffer():(await this.response.buffer()).buffer}}class i extends r.BaseClient{constructor(e,t){super(e),this.credentials=t}async request({headers:e,credentials:t,signal:o}={}){const r=await fetch(this.url,{headers:e,credentials:t,signal:o});return new n(r)}}},"./node_modules/geotiff/src/source/client/http.js":function(e,t,o){"use strict";o.r(t),function(e){o.d(t,"HttpClient",(function(){return p}));var r=o(1),n=o.n(r),i=o(2),s=o.n(i),a=o(3),l=o.n(a),u=o("./node_modules/geotiff/src/source/client/base.js"),c=o("./node_modules/geotiff/src/utils.js");class d extends u.BaseResponse{constructor(e,t){super(),this.response=e,this.dataPromise=t}get status(){return this.response.statusCode}getHeader(e){return this.response.headers[e]}async getData(){return await this.dataPromise}}class p extends u.BaseClient{constructor(e){super(e),this.parsedUrl=l.a.parse(this.url),this.httpApi="http:"===this.parsedUrl.protocol?n.a:s.a}constructRequest(t,o){return new Promise(((r,n)=>{const i=this.httpApi.get({...this.parsedUrl,headers:t},(t=>{const o=new Promise((o=>{const r=[];t.on("data",(e=>{r.push(e)})),t.on("end",(()=>{const t=e.concat(r).buffer;o(t)})),t.on("error",n)}));r(new d(t,o))}));i.on("error",n),o&&(o.aborted&&i.destroy(new c.AbortError("Request aborted")),o.addEventListener("abort",(()=>i.destroy(new c.AbortError("Request aborted")))))}))}async request({headers:e,signal:t}={}){return await this.constructRequest(e,t)}}}.call(this,o("./node_modules/buffer/index.js").Buffer)},"./node_modules/geotiff/src/source/client/xhr.js":function(e,t,o){"use strict";o.r(t),o.d(t,"XHRClient",(function(){return s}));var r=o("./node_modules/geotiff/src/source/client/base.js"),n=o("./node_modules/geotiff/src/utils.js");class i extends r.BaseResponse{constructor(e,t){super(),this.xhr=e,this.data=t}get status(){return this.xhr.status}getHeader(e){return this.xhr.getResponseHeader(e)}async getData(){return this.data}}class s extends r.BaseClient{constructRequest(e,t){return new Promise(((o,r)=>{const s=new XMLHttpRequest;s.open("GET",this.url),s.responseType="arraybuffer";for(const[t,o]of Object.entries(e))s.setRequestHeader(t,o);s.onload=()=>{const e=s.response;o(new i(s,e))},s.onerror=r,s.onabort=()=>r(new n.AbortError("Request aborted")),s.send(),t&&(t.aborted&&s.abort(),t.addEventListener("abort",(()=>s.abort())))}))}async request({headers:e,signal:t}={}){return await this.constructRequest(e,t)}}},"./node_modules/geotiff/src/source/file.js":function(e,t,o){"use strict";o.r(t),function(e){o.d(t,"makeFileSource",(function(){return a}));var r=o(4),n=o.n(r),i=o("./node_modules/geotiff/src/source/basesource.js");class s extends i.BaseSource{constructor(e){super(),this.path=e,this.openRequest=function(e,t,o){return new Promise(((r,i)=>{n.a.open(e,t,o,((e,t)=>{e?i(e):r(t)}))}))}(e,"r")}async fetchSlice(t){const o=await this.openRequest,{buffer:r}=await function(...e){return new Promise(((t,o)=>{n.a.read(...e,((e,r,n)=>{e?o(e):t({bytesRead:r,buffer:n})}))}))}(o,e.alloc(t.length),0,t.length,t.offset);return r.buffer}async close(){const e=await this.openRequest;await function(e){return new Promise(((t,o)=>{n.a.close(e,(e=>{e?o(e):t()}))}))}(e)}}function a(e){return new s(e)}}.call(this,o("./node_modules/buffer/index.js").Buffer)},"./node_modules/geotiff/src/source/filereader.js":function(e,t,o){"use strict";o.r(t),o.d(t,"makeFileReaderSource",(function(){return i}));var r=o("./node_modules/geotiff/src/source/basesource.js");class n extends r.BaseSource{constructor(e){super(),this.file=e}async fetchSlice(e,t){return new Promise(((o,r)=>{const n=this.file.slice(e.offset,e.offset+e.length),i=new FileReader;i.onload=e=>o(e.target.result),i.onerror=r,i.onabort=r,i.readAsArrayBuffer(n),t&&t.addEventListener("abort",(()=>i.abort()))}))}}function i(e){return new n(e)}},"./node_modules/geotiff/src/source/httputils.js":function(e,t,o){"use strict";o.r(t),o.d(t,"parseContentType",(function(){return s})),o.d(t,"parseContentRange",(function(){return a})),o.d(t,"parseByteRanges",(function(){return l}));const r="\r\n\r\n";function n(e){if(void 0!==Object.fromEntries)return Object.fromEntries(e);const t={};for(const[o,r]of e)t[o.toLowerCase()]=r;return t}function i(e){return n(e.split("\r\n").map((e=>{const t=e.split(":").map((e=>e.trim()));return t[0]=t[0].toLowerCase(),t})))}function s(e){const[t,...o]=e.split(";").map((e=>e.trim()));return{type:t,params:n(o.map((e=>e.split("="))))}}function a(e){let t,o,r;return e&&([,t,o,r]=e.match(/bytes (\d+)-(\d+)\/(\d+)/),t=parseInt(t,10),o=parseInt(o,10),r=parseInt(r,10)),{start:t,end:o,total:r}}function l(e,t){let o=null;const n=new TextDecoder("ascii"),s=[],l=`--${t}`,u=`${l}--`;for(let t=0;t<10;++t){n.decode(new Uint8Array(e,t,l.length))===l&&(o=t)}if(null===o)throw new Error("Could not find initial boundary");for(;o<e.byteLength;){const t=n.decode(new Uint8Array(e,o,Math.min(l.length+1024,e.byteLength-o)));if(0===t.length||t.startsWith(u))break;if(!t.startsWith(l))throw new Error("Part does not start with boundary");const c=t.substr(l.length+2);if(0===c.length)break;const d=c.indexOf(r),p=i(c.substr(0,d)),{start:h,end:f,total:m}=a(p["content-range"]),g=o+l.length+d+r.length,y=parseInt(f,10)+1-parseInt(h,10);s.push({headers:p,data:e.slice(g,g+y),offset:h,length:y,fileSize:m}),o=g+y+4}return s}},"./node_modules/geotiff/src/source/remote.js":function(e,t,o){"use strict";o.r(t),o.d(t,"makeFetchSource",(function(){return d})),o.d(t,"makeXHRSource",(function(){return p})),o.d(t,"makeHttpSource",(function(){return h})),o.d(t,"makeRemoteSource",(function(){return f}));var r=o("./node_modules/geotiff/src/source/httputils.js"),n=o("./node_modules/geotiff/src/source/basesource.js"),i=o("./node_modules/geotiff/src/source/blockedsource.js"),s=o("./node_modules/geotiff/src/source/client/fetch.js"),a=o("./node_modules/geotiff/src/source/client/xhr.js"),l=o("./node_modules/geotiff/src/source/client/http.js");class u extends n.BaseSource{constructor(e,t,o,r){super(),this.client=e,this.headers=t,this.maxRanges=o,this.allowFullFile=r,this._fileSize=null}async fetch(e,t){return this.maxRanges>=e.length?this.fetchSlices(e,t):(this.maxRanges>0&&e.length,Promise.all(e.map((e=>this.fetchSlice(e,t)))))}async fetchSlices(e,t){const o=await this.client.request({headers:{...this.headers,Range:`bytes=${e.map((({offset:e,length:t})=>`${e}-${e+t}`)).join(",")}`},signal:t});if(o.ok){if(206===o.status){const{type:n,params:i}=Object(r.parseContentType)(o.getHeader("content-type"));if("multipart/byteranges"===n){const e=Object(r.parseByteRanges)(await o.getData(),i.boundary);return this._fileSize=e[0].fileSize||null,e}const s=await o.getData(),{start:a,end:l,total:u}=Object(r.parseContentRange)(o.getHeader("content-range"));this._fileSize=u||null;const c=[{data:s,offset:a,length:l-a}];if(e.length>1){const o=await Promise.all(e.slice(1).map((e=>this.fetchSlice(e,t))));return c.concat(o)}return c}{if(!this.allowFullFile)throw new Error("Server responded with full file");const e=await o.getData();return this._fileSize=e.byteLength,[{data:e,offset:0,length:e.byteLength}]}}throw new Error("Error fetching data.")}async fetchSlice(e,t){const{offset:o,length:n}=e,i=await this.client.request({headers:{...this.headers,Range:`bytes=${o}-${o+n}`},signal:t});if(i.ok){if(206===i.status){const e=await i.getData(),{total:t}=Object(r.parseContentRange)(i.getHeader("content-range"));return this._fileSize=t||null,{data:e,offset:o,length:n}}{if(!this.allowFullFile)throw new Error("Server responded with full file");const e=await i.getData();return this._fileSize=e.byteLength,{data:e,offset:0,length:e.byteLength}}}throw new Error("Error fetching data.")}get fileSize(){return this._fileSize}}function c(e,{blockSize:t,cacheSize:o}){return null===t?e:new i.BlockedSource(e,t,o)}function d(e,{headers:t={},credentials:o,maxRanges:r=0,allowFullFile:n=!1,...i}={}){const a=new s.FetchClient(e,o);return c(new u(a,t,r,n),i)}function p(e,{headers:t={},maxRanges:o=0,allowFullFile:r=!1,...n}={}){const i=new a.XHRClient(e);return c(new u(i,t,o,r),n)}function h(e,{headers:t={},maxRanges:o=0,allowFullFile:r=!1,...n}={}){const i=new l.HttpClient(e);return c(new u(i,t,o,r),n)}function f(e,{forceXHR:t=!1,...o}={}){return"function"!=typeof fetch||t?"undefined"!=typeof XMLHttpRequest?p(e,o):h(e,o):d(e,o)}},"./node_modules/geotiff/src/utils.js":function(e,t,o){"use strict";function r(e,t){for(const o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}function n(e,t){const o=[],r=e.length;for(let n=0;n<r;n+=t){const r=[];for(let o=n;o<n+t;o++)r.push(e[o]);o.push(r)}return o}function i(e,t){if(e.length<t.length)return!1;return e.substr(e.length-t.length)===t}function s(e,t){const{length:o}=e;for(let r=0;r<o;r++)t(e[r],r)}function a(e){const t={};for(const o in e)if(e.hasOwnProperty(o)){t[e[o]]=o}return t}function l(e){const t=[];for(let o=0;o<e;o++)t.push(o);return t}function u(e,t){const o=[];for(let r=0;r<e;r++)o.push(t(r));return o}function c(e){const t=[],{length:o}=e;for(let r=0;r<o;r++)t.push(e[r]);return t}function d(e){return e.length?c(e).map(d):e}function p(e){if(!e)return null;if("string"!=typeof e)throw new Error("invalid argument");const t=e=>Number.parseInt(e,10);let o=e.match(/^(\w*) /);const r=o&&o[1];return o=e.match(/(\d+)-(\d+)\/(\d+|\*)/),o?{unit:r,first:t(o[1]),last:t(o[2]),length:"*"===o[3]?null:t(o[3])}:(o=e.match(/(\d+|\*)/),o?{unit:r,first:null,last:null,length:"*"===o[1]?null:t(o[1])}:null)}async function h(e){return new Promise((t=>setTimeout(t,e)))}function f(e,t){const o=Array.isArray(e)?e:Array.from(e),r=Array.isArray(t)?t:Array.from(t);return o.map(((e,t)=>[e,r[t]]))}o.r(t),o.d(t,"assign",(function(){return r})),o.d(t,"chunk",(function(){return n})),o.d(t,"endsWith",(function(){return i})),o.d(t,"forEach",(function(){return s})),o.d(t,"invert",(function(){return a})),o.d(t,"range",(function(){return l})),o.d(t,"times",(function(){return u})),o.d(t,"toArray",(function(){return c})),o.d(t,"toArrayRecursively",(function(){return d})),o.d(t,"parseContentRange",(function(){return p})),o.d(t,"wait",(function(){return h})),o.d(t,"zip",(function(){return f})),o.d(t,"AbortError",(function(){return m})),o.d(t,"CustomAggregateError",(function(){return g})),o.d(t,"AggregateError",(function(){return y}));class m extends Error{constructor(e){super(e),Error.captureStackTrace&&Error.captureStackTrace(this,m),this.name="AbortError"}}class g extends Error{constructor(e,t){super(t),this.errors=e,this.message=t,this.name="AggregateError"}}const y=g},"./node_modules/ieee754/index.js":function(e,t){
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
t.read=function(e,t,o,r,n){var i,s,a=8*n-r-1,l=(1<<a)-1,u=l>>1,c=-7,d=o?n-1:0,p=o?-1:1,h=e[t+d];for(d+=p,i=h&(1<<-c)-1,h>>=-c,c+=a;c>0;i=256*i+e[t+d],d+=p,c-=8);for(s=i&(1<<-c)-1,i>>=-c,c+=r;c>0;s=256*s+e[t+d],d+=p,c-=8);if(0===i)i=1-u;else{if(i===l)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,r),i-=u}return(h?-1:1)*s*Math.pow(2,i-r)},t.write=function(e,t,o,r,n,i){var s,a,l,u=8*i-n-1,c=(1<<u)-1,d=c>>1,p=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),(t+=s+d>=1?p/l:p*Math.pow(2,1-d))*l>=2&&(s++,l/=2),s+d>=c?(a=0,s=c):s+d>=1?(a=(t*l-1)*Math.pow(2,n),s+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,n),s=0));n>=8;e[o+h]=255&a,h+=f,a/=256,n-=8);for(s=s<<n|a,u+=n;u>0;e[o+h]=255&s,h+=f,s/=256,u-=8);e[o+h-f]|=128*m}},"./node_modules/is-observable/index.js":function(e,t,o){"use strict";e.exports=e=>!!e&&("symbol"==typeof Symbol.observable&&"function"==typeof e[Symbol.observable]?e===e[Symbol.observable]():"function"==typeof e["@@observable"]&&e===e["@@observable"]())},"./node_modules/isarray/index.js":function(e,t){var o={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==o.call(e)}},"./node_modules/loglevel/lib/loglevel.js":function(e,t,o){var r,n;!function(){"use strict";r=function(){var e=function(){},t="undefined",o=typeof window!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),r=["trace","debug","info","warn","error"];function n(e,t){var o=e[t];if("function"==typeof o.bind)return o.bind(e);try{return Function.prototype.bind.call(o,e)}catch(t){return function(){return Function.prototype.apply.apply(o,[e,arguments])}}}function i(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function s(r){return"debug"===r&&(r="log"),typeof console!==t&&("trace"===r&&o?i:void 0!==console[r]?n(console,r):void 0!==console.log?n(console,"log"):e)}function a(t,o){for(var n=0;n<r.length;n++){var i=r[n];this[i]=n<t?e:this.methodFactory(i,t,o)}this.log=this.debug}function l(e,o,r){return function(){typeof console!==t&&(a.call(this,o,r),this[e].apply(this,arguments))}}function u(e,t,o){return s(e)||l.apply(this,arguments)}function c(e,o,n){var i,s=this,l="loglevel";function c(e){var o=(r[e]||"silent").toUpperCase();if(typeof window!==t){try{return void(window.localStorage[l]=o)}catch(e){}try{window.document.cookie=encodeURIComponent(l)+"="+o+";"}catch(e){}}}function d(){var e;if(typeof window!==t){try{e=window.localStorage[l]}catch(e){}if(typeof e===t)try{var o=window.document.cookie,r=o.indexOf(encodeURIComponent(l)+"=");-1!==r&&(e=/^([^;]+)/.exec(o.slice(r))[1])}catch(e){}return void 0===s.levels[e]&&(e=void 0),e}}e&&(l+=":"+e),s.name=e,s.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},s.methodFactory=n||u,s.getLevel=function(){return i},s.setLevel=function(o,r){if("string"==typeof o&&void 0!==s.levels[o.toUpperCase()]&&(o=s.levels[o.toUpperCase()]),!("number"==typeof o&&o>=0&&o<=s.levels.SILENT))throw"log.setLevel() called with invalid level: "+o;if(i=o,!1!==r&&c(o),a.call(s,o,e),typeof console===t&&o<s.levels.SILENT)return"No console available for logging"},s.setDefaultLevel=function(e){d()||s.setLevel(e,!1)},s.enableAll=function(e){s.setLevel(s.levels.TRACE,e)},s.disableAll=function(e){s.setLevel(s.levels.SILENT,e)};var p=d();null==p&&(p=null==o?"WARN":o),s.setLevel(p,!1)}var d=new c,p={};d.getLogger=function(e){if("string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=p[e];return t||(t=p[e]=new c(e,d.getLevel(),d.methodFactory)),t};var h=typeof window!==t?window.log:void 0;return d.noConflict=function(){return typeof window!==t&&window.log===d&&(window.log=h),d},d.getLoggers=function(){return p},d},void 0===(n="function"==typeof r?r.call(t,o,t,e):r)||(e.exports=n)}()},"./node_modules/mapbox-to-css-font/index.js":function(e,t){var o={thin:100,hairline:100,"ultra-light":200,"extra-light":200,light:300,book:300,regular:400,normal:400,plain:400,roman:400,standard:400,medium:500,"semi-bold":600,"demi-bold":600,bold:700,"extra-bold":800,"ultra-bold":800,heavy:900,black:900,"heavy-black":900,fat:900,poster:900,"ultra-black":950,"extra-black":950},r=" ",n=/(italic|oblique)$/i,i={};e.exports=function(e,t,s){var a=i[e];if(!a){Array.isArray(e)||(e=[e]);for(var l,u,c=400,d="normal",p=[],h=0,f=e.length;h<f;++h){var m=e[h].split(" "),g=m[m.length-1].toLowerCase();for(var y in"normal"==g||"italic"==g||"oblique"==g?(d=u?d:g,u=!0,m.pop(),g=m[m.length-1].toLowerCase()):n.test(g)&&(g=g.replace(n,""),d=u?d:m[m.length-1].replace(g,""),u=!0),o){var v=m.length>1?m[m.length-2].toLowerCase():"";if(g==y||g==y.replace("-","")||v+"-"+g==y){c=l?c:o[y],m.pop(),v&&y.startsWith(v)&&m.pop();break}}l||"number"!=typeof g||(c=g,l=!0);var _=m.join(r).replace("Klokantech Noto Sans","Noto Sans");-1!==_.indexOf(r)&&(_='"'+_+'"'),p.push(_)}a=i[e]=[d,c,p]}return a[0]+r+a[1]+r+t+"px"+(s?"/"+s:"")+r+a[2]}},"./node_modules/ms/index.js":function(e,t){var o=1e3,r=60*o,n=60*r,i=24*n,s=7*i,a=365.25*i;function l(e,t,o,r){var n=t>=1.5*o;return Math.round(e/o)+" "+r+(n?"s":"")}e.exports=function(e,t){t=t||{};var u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var l=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*a;case"weeks":case"week":case"w":return l*s;case"days":case"day":case"d":return l*i;case"hours":case"hour":case"hrs":case"hr":case"h":return l*n;case"minutes":case"minute":case"mins":case"min":case"m":return l*r;case"seconds":case"second":case"secs":case"sec":case"s":return l*o;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}(e);if("number"===u&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=i)return l(e,t,i,"day");if(t>=n)return l(e,t,n,"hour");if(t>=r)return l(e,t,r,"minute");if(t>=o)return l(e,t,o,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=i)return Math.round(e/i)+"d";if(t>=n)return Math.round(e/n)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=o)return Math.round(e/o)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},"./node_modules/observable-fns/dist.esm/_scheduler.js":function(e,t,o){"use strict";o.r(t),o.d(t,"AsyncSerialScheduler",(function(){return n}));var r=function(e,t,o,r){return new(o||(o=Promise))((function(n,i){function s(e){try{l(r.next(e))}catch(e){i(e)}}function a(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))};class n{constructor(e){this._baseObserver=e,this._pendingPromises=new Set}complete(){Promise.all(this._pendingPromises).then((()=>this._baseObserver.complete())).catch((e=>this._baseObserver.error(e)))}error(e){this._baseObserver.error(e)}schedule(e){const t=Promise.all(this._pendingPromises),o=[],n=e=>o.push(e),i=Promise.resolve().then((()=>r(this,void 0,void 0,(function*(){yield t,yield e(n),this._pendingPromises.delete(i);for(const e of o)this._baseObserver.next(e)})))).catch((e=>{this._pendingPromises.delete(i),this._baseObserver.error(e)}));this._pendingPromises.add(i)}}},"./node_modules/observable-fns/dist.esm/_symbols.js":function(e,t,o){"use strict";o.r(t),o.d(t,"hasSymbols",(function(){return r})),o.d(t,"hasSymbol",(function(){return n})),o.d(t,"getSymbol",(function(){return i})),o.d(t,"registerObservableSymbol",(function(){return s}));const r=()=>"function"==typeof Symbol,n=e=>r()&&Boolean(Symbol[e]),i=e=>n(e)?Symbol[e]:"@@"+e;function s(){r()&&!n("observable")&&(Symbol.observable=Symbol("observable"))}n("asyncIterator")||(Symbol.asyncIterator=Symbol.asyncIterator||Symbol.for("Symbol.asyncIterator"))},"./node_modules/observable-fns/dist.esm/_util.js":function(e,t,o){"use strict";o.r(t),o.d(t,"isAsyncIterator",(function(){return n})),o.d(t,"isIterator",(function(){return i}));var r=o("./node_modules/observable-fns/dist.esm/_symbols.js");function n(e){return e&&Object(r.hasSymbol)("asyncIterator")&&e[Symbol.asyncIterator]}function i(e){return e&&Object(r.hasSymbol)("iterator")&&e[Symbol.iterator]}},"./node_modules/observable-fns/dist.esm/filter.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/observable-fns/dist.esm/_scheduler.js"),n=o("./node_modules/observable-fns/dist.esm/observable.js"),i=o("./node_modules/observable-fns/dist.esm/unsubscribe.js"),s=function(e,t,o,r){return new(o||(o=Promise))((function(n,i){function s(e){try{l(r.next(e))}catch(e){i(e)}}function a(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))};t.default=function(e){return t=>new n.default((o=>{const n=new r.AsyncSerialScheduler(o),a=t.subscribe({complete(){n.complete()},error(e){n.error(e)},next(t){n.schedule((o=>s(this,void 0,void 0,(function*(){(yield e(t))&&o(t)}))))}});return()=>Object(i.default)(a)}))}},"./node_modules/observable-fns/dist.esm/flatMap.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/observable-fns/dist.esm/_scheduler.js"),n=o("./node_modules/observable-fns/dist.esm/_util.js"),i=o("./node_modules/observable-fns/dist.esm/observable.js"),s=o("./node_modules/observable-fns/dist.esm/unsubscribe.js"),a=function(e,t,o,r){return new(o||(o=Promise))((function(n,i){function s(e){try{l(r.next(e))}catch(e){i(e)}}function a(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))},l=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,o=e[Symbol.asyncIterator];return o?o.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(t){return new Promise((function(r,n){(function(e,t,o,r){Promise.resolve(r).then((function(t){e({value:t,done:o})}),t)})(r,n,(t=e[o](t)).done,t.value)}))}}};t.default=function(e){return t=>new i.default((o=>{const i=new r.AsyncSerialScheduler(o),u=t.subscribe({complete(){i.complete()},error(e){i.error(e)},next(t){i.schedule((o=>a(this,void 0,void 0,(function*(){var r,i;const s=yield e(t);if(Object(n.isIterator)(s)||Object(n.isAsyncIterator)(s))try{for(var a,u=l(s);!(a=yield u.next()).done;){const e=a.value;o(e)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(i=u.return)&&(yield i.call(u))}finally{if(r)throw r.error}}else s.map((e=>o(e)))}))))}});return()=>Object(s.default)(u)}))}},"./node_modules/observable-fns/dist.esm/index.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/observable-fns/dist.esm/filter.js");o.d(t,"filter",(function(){return r.default}));var n=o("./node_modules/observable-fns/dist.esm/flatMap.js");o.d(t,"flatMap",(function(){return n.default}));var i=o("./node_modules/observable-fns/dist.esm/interval.js");o.d(t,"interval",(function(){return i.default}));var s=o("./node_modules/observable-fns/dist.esm/map.js");o.d(t,"map",(function(){return s.default}));var a=o("./node_modules/observable-fns/dist.esm/merge.js");o.d(t,"merge",(function(){return a.default}));var l=o("./node_modules/observable-fns/dist.esm/multicast.js");o.d(t,"multicast",(function(){return l.default}));var u=o("./node_modules/observable-fns/dist.esm/observable.js");o.d(t,"Observable",(function(){return u.default}));var c=o("./node_modules/observable-fns/dist.esm/scan.js");o.d(t,"scan",(function(){return c.default}));var d=o("./node_modules/observable-fns/dist.esm/subject.js");o.d(t,"Subject",(function(){return d.default}));var p=o("./node_modules/observable-fns/dist.esm/unsubscribe.js");o.d(t,"unsubscribe",(function(){return p.default}))},"./node_modules/observable-fns/dist.esm/interval.js":function(e,t,o){"use strict";o.r(t),o.d(t,"default",(function(){return n}));var r=o("./node_modules/observable-fns/dist.esm/observable.js");function n(e){return new r.Observable((t=>{let o=0;const r=setInterval((()=>{t.next(o++)}),e);return()=>clearInterval(r)}))}},"./node_modules/observable-fns/dist.esm/map.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/observable-fns/dist.esm/_scheduler.js"),n=o("./node_modules/observable-fns/dist.esm/observable.js"),i=o("./node_modules/observable-fns/dist.esm/unsubscribe.js"),s=function(e,t,o,r){return new(o||(o=Promise))((function(n,i){function s(e){try{l(r.next(e))}catch(e){i(e)}}function a(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))};t.default=function(e){return t=>new n.default((o=>{const n=new r.AsyncSerialScheduler(o),a=t.subscribe({complete(){n.complete()},error(e){n.error(e)},next(t){n.schedule((o=>s(this,void 0,void 0,(function*(){const r=yield e(t);o(r)}))))}});return()=>Object(i.default)(a)}))}},"./node_modules/observable-fns/dist.esm/merge.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/observable-fns/dist.esm/observable.js"),n=o("./node_modules/observable-fns/dist.esm/unsubscribe.js");t.default=function(...e){return 0===e.length?r.Observable.from([]):new r.Observable((t=>{let o=0;const r=e.map((r=>r.subscribe({error(e){t.error(e),i()},next(e){t.next(e)},complete(){++o===e.length&&(t.complete(),i())}}))),i=()=>{r.forEach((e=>Object(n.default)(e)))};return i}))}},"./node_modules/observable-fns/dist.esm/multicast.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/observable-fns/dist.esm/observable.js"),n=o("./node_modules/observable-fns/dist.esm/subject.js"),i=o("./node_modules/observable-fns/dist.esm/unsubscribe.js");t.default=function(e){const t=new n.default;let o,s=0;return new r.default((r=>{o||(o=e.subscribe(t));const n=t.subscribe(r);return s++,()=>{s--,n.unsubscribe(),0===s&&(Object(i.default)(o),o=void 0)}}))}},"./node_modules/observable-fns/dist.esm/observable.js":function(e,t,o){"use strict";o.r(t),o.d(t,"Subscription",(function(){return m})),o.d(t,"SubscriptionObserver",(function(){return g})),o.d(t,"Observable",(function(){return y}));o("./node_modules/observable-fns/dist.esm/symbols.js");var r=o("./node_modules/observable-fns/dist.esm/_symbols.js");const n=Object(r.getSymbol)("iterator"),i=Object(r.getSymbol)("observable"),s=Object(r.getSymbol)("species");function a(e,t){const o=e[t];if(null!=o){if("function"!=typeof o)throw new TypeError(o+" is not a function");return o}}function l(e){let t=e.constructor;return void 0!==t&&(t=t[s],null===t&&(t=void 0)),void 0!==t?t:y}function u(e){u.log?u.log(e):setTimeout((()=>{throw e}),0)}function c(e){Promise.resolve().then((()=>{try{e()}catch(e){u(e)}}))}function d(e){const t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{const e=a(t,"unsubscribe");e&&e.call(t)}}catch(e){u(e)}}function p(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function h(e,t,o){e._state="running";const r=e._observer;try{const n=r?a(r,t):void 0;switch(t){case"next":n&&n.call(r,o);break;case"error":if(p(e),!n)throw o;n.call(r,o);break;case"complete":p(e),n&&n.call(r)}}catch(e){u(e)}"closed"===e._state?d(e):"running"===e._state&&(e._state="ready")}function f(e,t,o){if("closed"!==e._state)return"buffering"===e._state?(e._queue=e._queue||[],void e._queue.push({type:t,value:o})):"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:o}],void c((()=>function(e){const t=e._queue;if(t){e._queue=void 0,e._state="ready";for(const o of t)if(h(e,o.type,o.value),"closed"===e._state)break}}(e)))):void h(e,t,o)}class m{constructor(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";const o=new g(this);try{this._cleanup=t.call(void 0,o)}catch(e){o.error(e)}"initializing"===this._state&&(this._state="ready")}get closed(){return"closed"===this._state}unsubscribe(){"closed"!==this._state&&(p(this),d(this))}}class g{constructor(e){this._subscription=e}get closed(){return"closed"===this._subscription._state}next(e){f(this._subscription,"next",e)}error(e){f(this._subscription,"error",e)}complete(){f(this._subscription,"complete")}}class y{constructor(e){if(!(this instanceof y))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof e)throw new TypeError("Observable initializer must be a function");this._subscriber=e}subscribe(e,t,o){return"object"==typeof e&&null!==e||(e={next:e,error:t,complete:o}),new m(e,this._subscriber)}pipe(e,...t){let o=this;for(const r of[e,...t])o=r(o);return o}tap(e,t,o){const r="object"!=typeof e||null===e?{next:e,error:t,complete:o}:e;return new y((e=>this.subscribe({next(t){r.next&&r.next(t),e.next(t)},error(t){r.error&&r.error(t),e.error(t)},complete(){r.complete&&r.complete(),e.complete()},start(e){r.start&&r.start(e)}})))}forEach(e){return new Promise(((t,o)=>{if("function"!=typeof e)return void o(new TypeError(e+" is not a function"));function r(){n.unsubscribe(),t(void 0)}const n=this.subscribe({next(t){try{e(t,r)}catch(e){o(e),n.unsubscribe()}},error(e){o(e)},complete(){t(void 0)}})}))}map(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(l(this))((t=>this.subscribe({next(o){let r=o;try{r=e(o)}catch(e){return t.error(e)}t.next(r)},error(e){t.error(e)},complete(){t.complete()}})))}filter(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(l(this))((t=>this.subscribe({next(o){try{if(!e(o))return}catch(e){return t.error(e)}t.next(o)},error(e){t.error(e)},complete(){t.complete()}})))}reduce(e,t){if("function"!=typeof e)throw new TypeError(e+" is not a function");const o=l(this),r=arguments.length>1;let n=!1,i=t;return new o((t=>this.subscribe({next(o){const s=!n;if(n=!0,!s||r)try{i=e(i,o)}catch(e){return t.error(e)}else i=o},error(e){t.error(e)},complete(){if(!n&&!r)return t.error(new TypeError("Cannot reduce an empty sequence"));t.next(i),t.complete()}})))}concat(...e){const t=l(this);return new t((o=>{let r,n=0;return function i(s){r=s.subscribe({next(e){o.next(e)},error(e){o.error(e)},complete(){n===e.length?(r=void 0,o.complete()):i(t.from(e[n++]))}})}(this),()=>{r&&(r.unsubscribe(),r=void 0)}}))}flatMap(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");const t=l(this);return new t((o=>{const r=[],n=this.subscribe({next(n){let s;if(e)try{s=e(n)}catch(e){return o.error(e)}else s=n;const a=t.from(s).subscribe({next(e){o.next(e)},error(e){o.error(e)},complete(){const e=r.indexOf(a);e>=0&&r.splice(e,1),i()}});r.push(a)},error(e){o.error(e)},complete(){i()}});function i(){n.closed&&0===r.length&&o.complete()}return()=>{r.forEach((e=>e.unsubscribe())),n.unsubscribe()}}))}[(Symbol.observable,i)](){return this}static from(e){const t="function"==typeof this?this:y;if(null==e)throw new TypeError(e+" is not an object");const o=a(e,i);if(o){const r=o.call(e);if(Object(r)!==r)throw new TypeError(r+" is not an object");return function(e){return e instanceof y}(r)&&r.constructor===t?r:new t((e=>r.subscribe(e)))}if(Object(r.hasSymbol)("iterator")){const o=a(e,n);if(o)return new t((t=>{c((()=>{if(!t.closed){for(const r of o.call(e))if(t.next(r),t.closed)return;t.complete()}}))}))}if(Array.isArray(e))return new t((t=>{c((()=>{if(!t.closed){for(const o of e)if(t.next(o),t.closed)return;t.complete()}}))}));throw new TypeError(e+" is not observable")}static of(...e){return new("function"==typeof this?this:y)((t=>{c((()=>{if(!t.closed){for(const o of e)if(t.next(o),t.closed)return;t.complete()}}))}))}static get[s](){return this}}Object(r.hasSymbols)()&&Object.defineProperty(y,Symbol("extensions"),{value:{symbol:i,hostReportError:u},configurable:!0}),t.default=y},"./node_modules/observable-fns/dist.esm/scan.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/observable-fns/dist.esm/_scheduler.js"),n=o("./node_modules/observable-fns/dist.esm/observable.js"),i=o("./node_modules/observable-fns/dist.esm/unsubscribe.js"),s=function(e,t,o,r){return new(o||(o=Promise))((function(n,i){function s(e){try{l(r.next(e))}catch(e){i(e)}}function a(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))};t.default=function(e,t){return o=>new n.default((n=>{let a,l=0;const u=new r.AsyncSerialScheduler(n),c=o.subscribe({complete(){u.complete()},error(e){u.error(e)},next(o){u.schedule((r=>s(this,void 0,void 0,(function*(){const n=0===l?void 0===t?o:t:a;a=yield e(n,o,l++),r(a)}))))}});return()=>Object(i.default)(c)}))}},"./node_modules/observable-fns/dist.esm/subject.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/observable-fns/dist.esm/observable.js");class n extends r.default{constructor(){super((e=>(this._observers.add(e),()=>this._observers.delete(e)))),this._observers=new Set}next(e){for(const t of this._observers)t.next(e)}error(e){for(const t of this._observers)t.error(e)}complete(){for(const e of this._observers)e.complete()}}t.default=n},"./node_modules/observable-fns/dist.esm/symbols.js":function(e,t,o){"use strict";o.r(t)},"./node_modules/observable-fns/dist.esm/unsubscribe.js":function(e,t,o){"use strict";o.r(t),t.default=function(e){"function"==typeof e?e():e&&"function"==typeof e.unsubscribe&&e.unsubscribe()}},"./node_modules/ol-mapbox-style/dist/index.js":function(e,t,o){"use strict";o.r(t),o.d(t,"applyStyle",(function(){return N})),o.d(t,"applyBackground",(function(){return F})),o.d(t,"setupVectorSource",(function(){return B})),o.d(t,"default",(function(){return q})),o.d(t,"apply",(function(){return Y})),o.d(t,"getLayer",(function(){return X})),o.d(t,"getLayers",(function(){return Z})),o.d(t,"getSource",(function(){return K})),o.d(t,"_finalizeLayer",(function(){return H})),o.d(t,"_getFonts",(function(){return M}));var r=o("./node_modules/ol/format/GeoJSON.js"),n=o("./node_modules/ol/format/MVT.js"),i=o("./node_modules/ol/Map.js"),s=o("./node_modules/ol/tilegrid/TileGrid.js"),a=o("./node_modules/ol/source/TileJSON.js"),l=o("./node_modules/ol/layer/Tile.js"),u=o("./node_modules/ol/layer/Vector.js"),c=o("./node_modules/ol/source/Vector.js"),d=o("./node_modules/ol/layer/VectorTile.js"),p=o("./node_modules/ol/source/VectorTile.js"),h=o("./node_modules/ol/View.js"),f=o("./node_modules/ol-mapbox-style/dist/stylefunction.js"),m=o("./node_modules/webfont-matcher/lib/fonts/google.js"),g=o.n(m),y=o("./node_modules/mapbox-to-css-font/index.js"),v=o.n(y),_=o("./node_modules/@mapbox/mapbox-gl-style-spec/dist/index.es.js"),b=o("./node_modules/ol-mapbox-style/dist/util.js"),A=o("./node_modules/ol/tilegrid.js"),C=o("./node_modules/ol/proj.js"),E=o("./node_modules/ol/Observable.js");function S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}var w,O={},I=/font-family: ?([^;]*);/,x=/("|')/g;function j(e){if(!w){w={};for(var t=document.styleSheets,o=0,r=t.length;o<r;++o){var n=t[o];try{var i=n.rules||n.cssRules;if(i)for(var s=0,a=i.length;s<a;++s){var l=i[s];if(5==l.type){var u=l.cssText.match(I);w[u[1].replace(x,"")]=!0}}}catch(e){}}}return e in w}var T={},P=g.a.getNames();function M(e){var t=e.toString();if(t in T)return e;for(var o=e.map((function(e){var t=v()(e,1).split(" ");return[t.slice(3).join(" ").replace(/"/g,""),t[1]+t[0]]})),r=0,n=o.length;r<n;++r){var i=o[r],s=i[0];if(!j(s)&&-1!==P.indexOf(s)){var a="https://fonts.googleapis.com/css?family="+s.replace(/ /g,"+")+":"+i[1];if(!document.querySelector('link[href="'+a+'"]')){var l=document.createElement("link");l.href=a,l.rel="stylesheet",document.head.appendChild(l)}}}return T[t]=!0,e}var R=/^(.*)(\?.*)$/;function L(e,t){return t&&0===e.indexOf(".")&&(e=t+e),e}function k(e,t,o){var r=(e=L(e,t)).match(R);return r?r[1]+o+(r.length>2?r[2]:""):e+o}function N(e,t,o,r,n){return new Promise((function(i,s){if("object"!=S(t)&&(t=JSON.parse(t)),8!=t.version)return s(new Error("glStyle version 8 required."));if(!(e instanceof u.default||e instanceof d.default))return s(new Error("Can only apply to VectorLayer or VectorTileLayer"));var a,l,c;function p(){c||t.sprite&&!a?c?(e.setStyle(c),i()):s(new Error("Something went wrong trying to apply style.")):(c=Object(f.default)(e,t,o,n,a,l,M),e.getStyle()?i():s(new Error("Nothing to show for source [".concat(o,"]"))))}if(t.sprite){var h=.5==(window.devicePixelRatio>=1.5?.5:1)?"@2x":"",m=k(t.sprite,r,h+".json");fetch(m,{credentials:"same-origin"}).then((function(e){return e.ok||""===h?e:(m=k(t.sprite,r,".json"),fetch(m,{credentials:"same-origin"}))})).then((function(e){if(e.ok)return e.json();s(new Error("Problem fetching sprite from ".concat(m,": ").concat(e.statusText)))})).then((function(e){if(void 0===e)return s(new Error("No sprites found."));a=e,l=k(t.sprite,r,h+".png"),p()})).catch((function(e){s(new Error("Sprites cannot be loaded: ".concat(m,": ").concat(e.message)))}))}else p()}))}var D={};function G(e,t){var o={id:t.id,type:t.type},r={};function n(n){var i=t.layout||{},s=t.paint||{};o.paint=s;var a,l,u="function"==typeof e.getSource?e.getSource().getTileGrid().getZForResolution(n):e.getView().getZoom(),c="function"==typeof e.getTargetElement?e.getTargetElement():void 0;return void 0!==s["background-color"]&&(a=Object(f.getValue)(o,"paint","background-color",u,D,r),c&&(c.style.background=_.Color.parse(a).toString())),void 0!==s["background-opacity"]&&(l=Object(f.getValue)(o,"paint","background-opacity",u,D,r),c&&(c.style.opacity=l)),"none"==i.visibility&&c?(c.style.backgroundColor="",void(c.style.opacity="")):Object(f._colorWithOpacity)(a,l)}if("function"==typeof e.getTargetElement)e.getTargetElement()&&n(),e.on(["change:resolution","change:target"],n);else{if("function"!=typeof e.setBackground)throw new Error("Unable to apply background.");e.setBackground(n)}}function F(e,t){t.layers.some((function(t){if("background"==t.type)return G(e,t),!0}))}function U(e){var t=e.bounds;if(t){var o=Object(C.fromLonLat)([t[0],t[1]]),r=Object(C.fromLonLat)([t[2],t[3]]);return[o[0],o[1],r[0],r[1]]}}function B(e,t){e=Object(b.assign)({},e);var o=[t,JSON.stringify(e)].toString(),r=O[o];return r||(r=new a.default({url:e.tiles?void 0:t,tileJSON:e.tiles?e:void 0}),O[o]=r),new Promise((function(e){var o=r.on("change",(function(){var i=r.getState();if("ready"===i){var a=r.getTileJSON(),l=Array.isArray(a.tiles)?a.tiles:[a.tiles];if(t)for(var u=0,c=l.length;u<c;++u)l[u]=decodeURI(new URL(l[u],t).href);var d=r.getTileGrid(),h=U(a),f=a.minzoom||0,m=a.maxzoom||22,g=r.get("ol-source");void 0===g&&(g=new p.default({attributions:r.getAttributions(),format:new n.default,tileGrid:new s.default({origin:d.getOrigin(0),extent:h||d.getExtent(),minZoom:f,resolutions:b.defaultResolutions.slice(0,m+1),tileSize:512}),urls:l}),r.set("ol-source",g)),Object(E.unByKey)(o),e(g)}else"error"===i&&(r.set("ol-source",null),Object(E.unByKey)(o),e(void 0))}));"ready"===r.getState()&&r.changed()}))}var z=new r.default;function V(e,t,o,r){var n=o.getZoom(),i=Object(f.getValue)(e,"paint","raster-opacity",n,D,r);t.setOpacity(i)}function W(e,t,o,r,n,i){void 0===i&&(i="");var p=[],f=t.getView();f.isDef()||f.getRotation()||f.getResolutions()||(f=new h.default({maxResolution:b.defaultResolutions[0]}),t.setView(f)),"center"in e&&!f.getCenter()&&f.setCenter(Object(C.fromLonLat)(e.center)),"zoom"in e&&void 0===f.getZoom()&&f.setResolution(b.defaultResolutions[0]/Math.pow(2,e.zoom)),f.getCenter()&&void 0!==f.getZoom()||f.fit(f.getProjection().getExtent(),{nearest:!0,size:t.getSize()}),e.sprite&&(0==e.sprite.indexOf("mapbox://")?e.sprite=o+"/sprite"+i:0!=e.sprite.indexOf("http")&&(e.sprite=(r?r+n:"")+e.sprite+i));for(var m,g,y,v,_,S,w=e.layers,O=[],I=function(o,h){var b,C,I,j=(m=w[o]).type;if("heatmap"==j||"hillshade"==j);else if("background"==j)G(t,m);else{if(v=m.source||(b=w,C=m.ref,b.some((function(e){if(e.id==C)return I=e.source,!0})),I),v!=y){if(O.length&&(p.push(H(_,O,e,n,t)),O=[]),g=e.sources[v],S=g.url)if(0==(S=L(S,n)).indexOf("mapbox://")){var T=S.replace("mapbox://","");g.tiles=["a","b","c","d"].map((function(e){return"https://"+e+".tiles.mapbox.com/v4/"+T+"/{z}/{x}/{y}."+("vector"==g.type?"vector.pbf":"png")+i}))}else 0===S.indexOf("/")&&0===r.indexOf("http")&&(S=r+S);if(g.tiles&&(g.tiles=g.tiles.map((function(e){return L(e,n)}))),"vector"==g.type)_=function(e,t){var o=new d.default({declutter:!0,visible:!1});return B(e,t).then((function(e){o.setSource(e)})),o}(g,S);else if("raster"==g.type){_=function(e,t){var o=new l.default,r=new a.default({transition:0,url:e.tiles?void 0:t,tileJSON:e.tiles?e:void 0,crossOrigin:"anonymous"}),n=r.on("change",(function(){var t=r.getState();if("ready"===t){Object(E.unByKey)(n);var i=r.getTileJSON(),a=U(i),l=r.getTileGrid(),u=e.tileSize||i.tileSize||512,c=i.minzoom||0,d=i.maxzoom||22;r.tileGrid=new s.default({origin:l.getOrigin(0),extent:a||l.getExtent(),minZoom:c,resolutions:Object(A.createXYZ)({maxZoom:d,tileSize:u}).getResolutions(),tileSize:u}),o.setSource(r)}else"error"===t&&(Object(E.unByKey)(n),o.setSource(void 0))}));return r.setTileLoadFunction((function(e,t){if(-1!=t.indexOf("{bbox-epsg-3857}")){var o=r.getTileGrid().getTileCoordExtent(e.getTileCoord());t=t.replace("{bbox-epsg-3857}",o.toString())}e.getImage().src=t})),o}(g,S),_.setVisible(!m.layout||"none"!==m.layout.visibility);var P={};f.on("change:resolution",V.bind(x,m,_,f,P)),V(m,_,f,P)}else"geojson"==g.type&&(_=function(e,t){var o,r,n=e.data;return"string"==typeof n?r=L(n,t):o=z.readFeatures(n,{featureProjection:"EPSG:3857"}),new u.default({source:new c.default({attributions:e.attribution,features:o,format:z,url:r}),visible:!1})}(g,n));y=v,_&&_.set("mapbox-source",y)}O.push(m.id)}},x=this,j=0,T=w.length;j<T;++j)I(j);return p.push(H(_,O,e,n,t)),t.set("mapbox-style",e),Promise.all(p)}function q(e,t){var o,r="",n="",s="",a="";if(("string"==typeof e||e instanceof HTMLElement)&&(e=new i.default({target:e})),"string"==typeof t){var l=t.match(R);l&&(n=l[1],r=l.length>2?l[2]:""),o=new Promise((function(o,i){fetch(t,{credentials:"same-origin"}).then((function(e){return e.json()})).then((function(l){var u=document.createElement("A");u.href=t;var c=u.href;a=u.pathname.split("/").slice(0,-1).join("/")+"/",s=c.substr(0,c.indexOf(a)),W(l,e,n,s,a,r).then((function(){o(e)})).catch(i)})).catch((function(e){i(new Error("Could not load ".concat(t,": ").concat(e.message)))}))}))}else o=new Promise((function(o,r){W(t,e).then((function(){o(e)})).catch(r)}));return o}function Y(e,t){return("string"==typeof e||e instanceof HTMLElement)&&(e=new i.default({target:e})),setTimeout((function(){q(e,t)}),0),e}function H(e,t,o,r,n){for(var i=24,s=0,a=o.layers,l=0,u=a.length;l<u;++l){var d=a[l];-1!==t.indexOf(d.id)&&(i=Math.min("minzoom"in d?d.minzoom:0,i),s=Math.max("maxzoom"in d?d.maxzoom:24,s))}return new Promise((function(a,l){var u=function(){var n=e.getSource();if(n&&"error"!==n.getState()){if("function"==typeof n.getTileGrid){var u=n.getTileGrid();if(u){var d=u.getMinZoom();(i>0||d>0)&&e.setMaxResolution(Math.min(b.defaultResolutions[i],u.getResolution(d))+1e-9),s<24&&e.setMinResolution(b.defaultResolutions[s]+1e-9)}}n instanceof c.default||n instanceof p.default?N(e,o,t,r).then((function(){e.setVisible(!0),a()}),(function(e){l(e)})):a()}else l(new Error("Error accessing data for source "+e.get("mapbox-source")))};e.set("mapbox-layers",t),-1===n.getLayers().getArray().indexOf(e)&&n.addLayer(e),e.getSource()?u():e.once("change:source",u)}))}function X(e,t){for(var o=e.getLayers().getArray(),r=0,n=o.length;r<n;++r){var i=o[r].get("mapbox-layers");if(i&&-1!==i.indexOf(t))return o[r]}}function Z(e,t){for(var o=[],r=e.getLayers().getArray(),n=0,i=r.length;n<i;++n)r[n].get("mapbox-source")===t&&o.push(r[n]);return o}function K(e,t){for(var o=e.getLayers().getArray(),r=0,n=o.length;r<n;++r){var i=o[r].getSource();if(o[r].get("mapbox-source")===t)return i}}},"./node_modules/ol-mapbox-style/dist/stylefunction.js":function(e,t,o){"use strict";o.r(t),o.d(t,"getValue",(function(){return w})),o.d(t,"recordStyleLayer",(function(){return P})),o.d(t,"_colorWithOpacity",(function(){return I})),o.d(t,"_evaluateFilter",(function(){return O})),o.d(t,"_fromTemplate",(function(){return j})),o.d(t,"_getValue",(function(){return w}));var r,n,i=o("./node_modules/ol/style/Circle.js"),s=o("./node_modules/ol/style/Fill.js"),a=o("./node_modules/ol/style/Icon.js"),l=o("./node_modules/ol/render/Feature.js"),u=o("./node_modules/ol/style/Stroke.js"),c=o("./node_modules/ol/style/Style.js"),d=o("./node_modules/ol/style/Text.js"),p=o("./node_modules/mapbox-to-css-font/index.js"),h=o.n(p),f=o("./node_modules/@mapbox/mapbox-gl-style-spec/dist/index.es.js"),m=o("./node_modules/ol-mapbox-style/dist/util.js"),g=f.function.isFunction,y=f.function.convertFunction,v=f.expression.isExpression,_=f.expression.createPropertyExpression,b={Point:1,MultiPoint:1,LineString:2,MultiLineString:2,Polygon:3,MultiPolygon:3},A={center:[.5,.5],left:[0,.5],right:[1,.5],top:[.5,0],bottom:[.5,1],"top-left":[0,0],"top-right":[1,0],"bottom-left":[0,1],"bottom-right":[1,1]},C=function(e,t){var o=_(e,t);if("error"===o.result)throw new Error(o.value.map((function(e){return"".concat(e.key,": ").concat(e.message)})).join(", "));return o.value},E={},S={zoom:0};function w(e,t,o,r,n,i){var s=e.id;i||(i={},console.warn("No functionCache provided to getValue()")),i[s]||(i[s]={});var a=i[s];if(!a[o]){var l=(e[t]||E)[o],u=f.latest["".concat(t,"_").concat(e.type)][o];void 0===l&&(l=u.default);var c=v(l);if(!c&&g(l)&&(l=y(l,u),c=!0),c){var d=C(l,u);a[o]=d.evaluate.bind(d)}else"color"==u.type&&(l=f.Color.parse(l)),a[o]=function(){return l}}return S.zoom=r,a[o](S,n)}function O(e,t,o,r,n){return n||console.warn("No filterCache provided to evaluateFilter()"),e in n||(n[e]=Object(f.featureFilter)(t).filter),S.zoom=r,n[e](S,o)}function I(e,t){if(e){if(0===e.a||0===t)return;var o=e.a;return t=void 0===t?1:t,"rgba("+Math.round(255*e.r/o)+","+Math.round(255*e.g/o)+","+Math.round(255*e.b/o)+","+o*t+")"}return e}var x=/^([^]*)\{(.*)\}([^]*)$/;function j(e,t){var o;do{if(o=e.match(x)){var r=t[o[2]]||"";e=o[1]+r+o[3]}}while(o);return e}var T=!1;function P(e){T=e}t.default=function(e,t,o,p,g,y,v){if(void 0===p&&(p=m.defaultResolutions),"string"==typeof t&&(t=JSON.parse(t)),8!=t.version)throw new Error("glStyle version 8 required.");var _,C;if(y)if("undefined"!=typeof Image){var S=new Image;S.crossOrigin="anonymous",S.onload=function(){_=S,C=[S.width,S.height],e.changed(),S.onload=null},S.src=y}else if("undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope){var x=self;x.postMessage({action:"loadImage",src:y}),x.addEventListener("message",(function(e){"imageLoaded"===e.data.action&&e.data.src===y&&(_=e.data.image,C=[_.width,_.height])}))}for(var P,M=Object(f.derefLayers)(t.layers),R={},L=[],k={},N={},D={},G={},F=0,U=M.length;F<U;++F){var B=M[F],z=B.id;if("string"==typeof o&&B.source==o||-1!==o.indexOf(z)){var V=B["source-layer"];if(!P){P=B.source;var W=t.sources[P];if(!W)throw new Error('Source "'.concat(P,'" is not defined'));var q=W.type;if("vector"!==q&&"geojson"!==q)throw new Error('Source "'.concat(P,'" is not of type "vector" or "geojson", but "').concat(q,'"'))}var Y=R[V];Y||(Y=[],R[V]=Y),Y.push({layer:B,index:F}),L.push(z)}}var H=new u.default,X=new s.default,Z=[],K=function(e,t){var o=e.getProperties(),f=R[o.layer];if(f){var y=p.indexOf(t);-1==y&&(y=Object(m.getZoomForResolution)(t,p));for(var S,x=b[e.getGeometry().getType()],P={properties:o,type:x},M=-1,L=function(p,b){var T=f[p],R=T.layer,L=R.id,F=R.layout||E,U=R.paint||E;if("none"===F.visibility||"minzoom"in R&&y<R.minzoom||"maxzoom"in R&&y>=R.maxzoom)return"continue";var B=R.filter;if(!B||O(L,B,P,y,G)){S=R;var z=void 0,V=void 0,W=void 0,q=void 0,Y=void 0,K=void 0,J=T.index;if(3==x&&("fill"==R.type||"fill-extrusion"==R.type))if(V=w(R,"paint",R.type+"-opacity",y,P,D),R.type+"-pattern"in U){var Q=w(R,"paint",R.type+"-pattern",y,P,D);if(Q){var $="string"==typeof Q?j(Q,o):Q.toString();if(_&&g&&g[$]){++M,(K=Z[M])&&K.getFill()&&!K.getStroke()&&!K.getText()||(K=new c.default({fill:new s.default}),Z[M]=K),W=K.getFill(),K.setZIndex(J);var ee=N[Pe=$+"."+V];if(!ee){var te=g[$],oe=Object(m.createCanvas)(te.width,te.height),re=oe.getContext("2d");re.globalAlpha=V,re.drawImage(_,te.x,te.y,te.width,te.height,0,0,te.width,te.height),ee=re.createPattern(oe,"repeat"),N[Pe]=ee}W.setColor(ee)}}}else(z=I(w(R,"paint",R.type+"-color",y,P,D),V))&&(R.type+"-outline-color"in U&&(Y=I(w(R,"paint",R.type+"-outline-color",y,P,D),V)),Y||(Y=z),++M,(K=Z[M])&&K.getFill()&&K.getStroke()&&!K.getText()||(K=new c.default({fill:new s.default,stroke:new u.default}),Z[M]=K),(W=K.getFill()).setColor(z),(q=K.getStroke()).setColor(Y),q.setWidth(1),K.setZIndex(J));if(1!=x&&"line"==R.type){z=!("line-pattern"in U)&&"line-color"in U?I(w(R,"paint","line-color",y,P,D),w(R,"paint","line-opacity",y,P,D)):void 0;var ne=w(R,"paint","line-width",y,P,D);z&&ne>0&&(++M,(K=Z[M])&&K.getStroke()&&!K.getFill()&&!K.getText()||(K=new c.default({stroke:new u.default}),Z[M]=K),(q=K.getStroke()).setLineCap(w(R,"layout","line-cap",y,P,D)),q.setLineJoin(w(R,"layout","line-join",y,P,D)),q.setMiterLimit(w(R,"layout","line-miter-limit",y,P,D)),q.setColor(z),q.setWidth(ne),q.setLineDash(U["line-dasharray"]?w(R,"paint","line-dasharray",y,P,D).map((function(e){return e*ne})):null),K.setZIndex(J))}var ie=!1,se=null,ae=0,le=void 0,ue=void 0,ce=void 0;if((1==x||2==x)&&"icon-image"in F){var de=w(R,"layout","icon-image",y,P,D);if(de){le="string"==typeof de?j(de,o):de.toString();var pe=void 0;if(_&&g&&g[le]){var he=w(R,"layout","icon-rotation-alignment",y,P,D);if(2==x){var fe=e.getGeometry();if(fe.getFlatMidpoint||fe.getFlatMidpoints){var me=fe.getExtent();if(Math.sqrt(Math.max(Math.pow((me[2]-me[0])/t,2),Math.pow((me[3]-me[1])/t,2)))>150){var ge="MultiLineString"===fe.getType()?fe.getFlatMidpoints():fe.getFlatMidpoint();if(n||(r=[NaN,NaN],n=new l.default("Point",r,[],{},null)),pe=n,r[0]=ge[0],r[1]=ge[1],"line"===(He=w(R,"layout","symbol-placement",y,P,D))&&"map"===he)for(var ye=fe.getStride(),ve=fe.getFlatCoordinates(),_e=0,be=ve.length-ye;_e<be;_e+=ye){var Ae=ve[_e],Ce=ve[_e+1],Ee=ve[_e+ye],Se=ve[_e+ye+1],we=Math.min(Ae,Ee),Oe=Math.min(Ce,Se),Ie=Math.max(Ae,Ee),xe=Math.max(Ce,Se);if(ge[0]>=we&&ge[0]<=Ie&&ge[1]>=Oe&&ge[1]<=xe){ae=Math.atan2(Ce-Se,Ee-Ae);break}}}}}if(2!==x||pe){var je=w(R,"layout","icon-size",y,P,D),Te=void 0!==U["icon-color"]?w(R,"paint","icon-color",y,P,D):null;if(!Te||0!==Te.a){var Pe=le+"."+je;if(null!==Te&&(Pe+="."+Te),!(ue=k[Pe])){te=g[le];ue=new a.default({color:Te?[255*Te.r,255*Te.g,255*Te.b,Te.a]:void 0,img:_,imgSize:C,size:[te.width,te.height],offset:[te.x,te.y],rotateWithView:"map"===he,scale:je/te.pixelRatio}),k[Pe]=ue}}ue&&(++M,(K=Z[M])&&K.getImage()&&!K.getFill()&&!K.getStroke()||(K=new c.default,Z[M]=K),K.setGeometry(pe),ue.setRotation(ae+Object(m.deg2rad)(w(R,"layout","icon-rotate",y,P,D))),ue.setOpacity(w(R,"paint","icon-opacity",y,P,D)),ue.setAnchor(A[w(R,"layout","icon-anchor",y,P,D)]),K.setImage(ue),se=K.getText(),K.setText(void 0),K.setZIndex(J),ie=!0,ce=!1)}else ce=!0}}}if(1==x&&"circle-radius"in U){++M,(K=Z[M])&&K.getImage()&&!K.getFill()&&!K.getStroke()||(K=new c.default,Z[M]=K);var Me=w(R,"paint","circle-radius",y,P,D),Re=I(w(R,"paint","circle-stroke-color",y,P,D),w(R,"paint","circle-stroke-opacity",y,P,D)),Le=I(w(R,"paint","circle-color",y,P,D),w(R,"paint","circle-opacity",y,P,D)),ke=w(R,"paint","circle-stroke-width",y,P,D),Ne=Me+"."+Re+"."+Le+"."+ke;(ue=k[Ne])||(ue=new i.default({radius:Me,stroke:Re&&ke>0?new u.default({width:ke,color:Re}):void 0,fill:Le?new s.default({color:Le}):void 0}),k[Ne]=ue),K.setImage(ue),se=K.getText(),K.setText(void 0),K.setGeometry(void 0),K.setZIndex(J),ie=!0}var De=void 0;if("text-field"in F)De=j(w(R,"layout","text-field",y,P,D).toString(),o).trim(),V=w(R,"paint","text-opacity",y,P,D);if(De&&V&&!ce){ie||(++M,(K=Z[M])&&K.getText()&&!K.getFill()&&!K.getStroke()||(K=new c.default,Z[M]=K),K.setImage(void 0),K.setGeometry(void 0)),K.getText()||K.setText(se||new d.default({padding:[2,2,2,2]})),se=K.getText();var Ge=Math.round(w(R,"layout","text-size",y,P,D)),Fe=w(R,"layout","text-font",y,P,D),Ue=w(R,"layout","text-line-height",y,P,D),Be=h()(v?v(Fe):Fe,Ge,Ue),ze=F["text-transform"];"uppercase"==ze?De=De.toUpperCase():"lowercase"==ze&&(De=De.toLowerCase());var Ve=w(R,"layout","text-max-width",y,P,D),We=w(R,"layout","text-letter-spacing",y,P,D),qe=2==x?Object(m.applyLetterSpacing)(De,We):Object(m.wrapText)(De,Be,Ve,We);se.setText(qe),se.setFont(Be),se.setRotation(Object(m.deg2rad)(w(R,"layout","text-rotate",y,P,D)));var Ye=w(R,"layout","text-anchor",y,P,D),He=ie||1==x?"point":w(R,"layout","symbol-placement",y,P,D);se.setPlacement(He);var Xe=w(R,"paint","text-halo-width",y,P,D),Ze=w(R,"layout","text-offset",y,P,D),Ke=w(R,"paint","text-translate",y,P,D),Je=0,Qe=0;if("point"==He){var $e="center";-1!==Ye.indexOf("left")?($e="left",Qe=Xe):-1!==Ye.indexOf("right")&&($e="right",Qe=-Xe),se.setTextAlign($e);var et=w(R,"layout","text-rotation-alignment",y,P,D);se.setRotateWithView("map"==et)}else se.setMaxAngle(Object(m.deg2rad)(w(R,"layout","text-max-angle",y,P,D))*De.length/qe.length),se.setTextAlign(),se.setRotateWithView(!1);var tt="middle";0==Ye.indexOf("bottom")?(tt="bottom",Je=-Xe-.5*(Ue-1)*Ge):0==Ye.indexOf("top")&&(tt="top",Je=Xe+.5*(Ue-1)*Ge),se.setTextBaseline(tt),se.setOffsetX(Ze[0]*Ge+Qe+Ke[0]),se.setOffsetY(Ze[1]*Ge+Je+Ke[1]),X.setColor(I(w(R,"paint","text-color",y,P,D),V)),se.setFill(X);var ot=I(w(R,"paint","text-halo-color",y,P,D),V);if(ot){H.setColor(ot),Xe*=2;var rt=.5*Ge;H.setWidth(Xe<=rt?Xe:rt),se.setStroke(H)}else se.setStroke(void 0);var nt=w(R,"layout","text-padding",y,P,D),it=se.getPadding();nt!==it[0]&&(it[0]=nt,it[1]=nt,it[2]=nt,it[3]=nt),K.setZIndex(J)}}},F=0,U=f.length;F<U;++F)L(F);return M>-1?(Z.length=M+1,T&&("function"==typeof e.set?e.set("mapbox-layer",S):e.getProperties()["mapbox-layer"]=S),Z):void 0}};return e.setStyle(K),e.set("mapbox-source",P),e.set("mapbox-layers",L),K}},"./node_modules/ol-mapbox-style/dist/util.js":function(e,t,o){"use strict";o.r(t),o.d(t,"assign",(function(){return s})),o.d(t,"deg2rad",(function(){return a})),o.d(t,"defaultResolutions",(function(){return l})),o.d(t,"createCanvas",(function(){return u})),o.d(t,"getZoomForResolution",(function(){return c})),o.d(t,"applyLetterSpacing",(function(){return h})),o.d(t,"wrapText",(function(){return y}));var r=o("./node_modules/ol/events/EventType.js"),n=o("./node_modules/ol/render/canvas.js"),i=o("./node_modules/ol/events.js"),s="function"==typeof Object.assign?Object.assign:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(e),r=1,n=arguments.length;r<n;++r){var i=arguments[r];if(null!=i)for(var s in i)i.hasOwnProperty(s)&&(o[s]=i[s])}return o};function a(e){return e*Math.PI/180}var l=function(){for(var e=[],t=78271.51696402048;e.length<=24;t/=2)e.push(t);return e}();function u(e,t){if("undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"undefined"!=typeof OffscreenCanvas)return new OffscreenCanvas(e,t);var o=document.createElement("canvas");return o.width=e,o.height=t,o}function c(e,t){for(var o=0,r=t.length;o<r;++o){if(t[o]<e&&o+1<r){var n=t[o]/t[o+1];return o+Math.log(t[o]/e)/Math.log(n)}}return r-1}var d,p=Array(256).join(" ");function h(e,t){if(t>=.05){for(var o="",r=e.split("\n"),n=p.slice(0,Math.round(t/.1)),i=0,s=r.length;i<s;++i)i>0&&(o+="\n"),o+=r[i].split("").join(n);return o}return e}function f(){return d||(d=u(1,1).getContext("2d")),d}function m(e,t){return f().measureText(e).width+(e.length-1)*t}var g={};function y(e,t,o,r){if(-1!==e.indexOf("\n")){for(var n=e.split("\n"),i=[],s=0,a=n.length;s<a;++s)i.push(y(n[s],t,o,r));return i.join("\n")}var l=o+","+t+","+e+","+r,u=g[l];if(!u){var c=e.split(" ");if(c.length>1){var d=f();d.font=t;var p=d.measureText("M").width*o,v="";for(i=[],s=0,a=c.length;s<a;++s){var _=c[s],b=v+(v?" ":"")+_;m(b,r)<=p?v=b:(v&&i.push(v),v=_)}v&&i.push(v);for(s=0,a=i.length;s<a&&a>1;++s){var A=i[s];if(m(A,r)<.35*p){var C=s>0?m(i[s-1],r):1/0,E=s<a-1?m(i[s+1],r):1/0;i.splice(s,1),a-=1,C<E?(i[s-1]+=" "+A,s-=1):i[s]=A+" "+i[s]}}for(s=0,a=i.length-1;s<a;++s){var S=i[s],w=i[s+1];if(m(S,r)>.7*p&&m(w,r)<.6*p){var O=S.split(" "),I=O.pop();m(I,r)<.2*p&&(i[s]=O.join(" "),i[s+1]=I+" "+w),a-=1}}u=i.join("\n")}else u=e;u=h(u,r),g[l]=u}return u}n.labelCache&&Object(i.listen)(n.labelCache,r.default.CLEAR,(function(){g={}}))},"./node_modules/ol/AssertionError.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/util.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t){var o=this,r="Assertion failed. See https://openlayers.org/en/"+("latest"===n.VERSION?n.VERSION:"v"+n.VERSION.split("-")[0])+"/doc/errors/#"+t+" for details.";return(o=e.call(this,r)||this).code=t,o.name="AssertionError",o.message=r,o}return i(t,e),t}(Error);t.default=s},"./node_modules/ol/Collection.js":function(e,t,o){"use strict";o.r(t),o.d(t,"CollectionEvent",(function(){return c}));var r,n=o("./node_modules/ol/AssertionError.js"),i=o("./node_modules/ol/Object.js"),s=o("./node_modules/ol/CollectionEventType.js"),a=o("./node_modules/ol/events/Event.js"),l=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),u="length",c=function(e){function t(t,o,r){var n=e.call(this,t)||this;return n.element=o,n.index=r,n}return l(t,e),t}(a.default),d=function(e){function t(t,o){var r=e.call(this)||this;r.on,r.once,r.un;var n=o||{};if(r.unique_=!!n.unique,r.array_=t||[],r.unique_)for(var i=0,s=r.array_.length;i<s;++i)r.assertUnique_(r.array_[i],i);return r.updateLength_(),r}return l(t,e),t.prototype.clear=function(){for(;this.getLength()>0;)this.pop()},t.prototype.extend=function(e){for(var t=0,o=e.length;t<o;++t)this.push(e[t]);return this},t.prototype.forEach=function(e){for(var t=this.array_,o=0,r=t.length;o<r;++o)e(t[o],o,t)},t.prototype.getArray=function(){return this.array_},t.prototype.item=function(e){return this.array_[e]},t.prototype.getLength=function(){return this.get(u)},t.prototype.insertAt=function(e,t){this.unique_&&this.assertUnique_(t),this.array_.splice(e,0,t),this.updateLength_(),this.dispatchEvent(new c(s.default.ADD,t,e))},t.prototype.pop=function(){return this.removeAt(this.getLength()-1)},t.prototype.push=function(e){this.unique_&&this.assertUnique_(e);var t=this.getLength();return this.insertAt(t,e),this.getLength()},t.prototype.remove=function(e){for(var t=this.array_,o=0,r=t.length;o<r;++o)if(t[o]===e)return this.removeAt(o)},t.prototype.removeAt=function(e){var t=this.array_[e];return this.array_.splice(e,1),this.updateLength_(),this.dispatchEvent(new c(s.default.REMOVE,t,e)),t},t.prototype.setAt=function(e,t){var o=this.getLength();if(e<o){this.unique_&&this.assertUnique_(t,e);var r=this.array_[e];this.array_[e]=t,this.dispatchEvent(new c(s.default.REMOVE,r,e)),this.dispatchEvent(new c(s.default.ADD,t,e))}else{for(var n=o;n<e;++n)this.insertAt(n,void 0);this.insertAt(e,t)}},t.prototype.updateLength_=function(){this.set(u,this.array_.length)},t.prototype.assertUnique_=function(e,t){for(var o=0,r=this.array_.length;o<r;++o)if(this.array_[o]===e&&o!==t)throw new n.default(58)},t}(i.default);t.default=d},"./node_modules/ol/CollectionEventType.js":function(e,t,o){"use strict";o.r(t),t.default={ADD:"add",REMOVE:"remove"}},"./node_modules/ol/DataTile.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/Tile.js"),i=o("./node_modules/ol/TileState.js"),s=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=function(e){function t(t){var o=this,r=i.default.IDLE;return(o=e.call(this,t.tileCoord,r,{transition:t.transition})||this).loader_=t.loader,o.data_=null,o.error_=null,o}return s(t,e),t.prototype.getData=function(){return this.data_},t.prototype.getError=function(){return this.error_},t.prototype.load=function(){this.state=i.default.LOADING,this.changed();var e=this;this.loader_().then((function(t){e.data_=t,e.state=i.default.LOADED,e.changed()})).catch((function(t){e.error_=t,e.state=i.default.ERROR,e.changed()}))},t}(n.default);t.default=a},"./node_modules/ol/Disposable.js":function(e,t,o){"use strict";o.r(t);var r=function(){function e(){this.disposed=!1}return e.prototype.dispose=function(){this.disposed||(this.disposed=!0,this.disposeInternal())},e.prototype.disposeInternal=function(){},e}();t.default=r},"./node_modules/ol/Feature.js":function(e,t,o){"use strict";o.r(t),o.d(t,"createStyleFunction",(function(){return c}));var r,n=o("./node_modules/ol/Object.js"),i=o("./node_modules/ol/events/EventType.js"),s=o("./node_modules/ol/asserts.js"),a=o("./node_modules/ol/events.js"),l=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),u=function(e){function t(t){var o=e.call(this)||this;if(o.on,o.once,o.un,o.id_=void 0,o.geometryName_="geometry",o.style_=null,o.styleFunction_=void 0,o.geometryChangeKey_=null,o.addChangeListener(o.geometryName_,o.handleGeometryChanged_),t)if("function"==typeof t.getSimplifiedGeometry){var r=t;o.setGeometry(r)}else{var n=t;o.setProperties(n)}return o}return l(t,e),t.prototype.clone=function(){var e=new t(this.hasProperties()?this.getProperties():null);e.setGeometryName(this.getGeometryName());var o=this.getGeometry();o&&e.setGeometry(o.clone());var r=this.getStyle();return r&&e.setStyle(r),e},t.prototype.getGeometry=function(){return this.get(this.geometryName_)},t.prototype.getId=function(){return this.id_},t.prototype.getGeometryName=function(){return this.geometryName_},t.prototype.getStyle=function(){return this.style_},t.prototype.getStyleFunction=function(){return this.styleFunction_},t.prototype.handleGeometryChange_=function(){this.changed()},t.prototype.handleGeometryChanged_=function(){this.geometryChangeKey_&&(Object(a.unlistenByKey)(this.geometryChangeKey_),this.geometryChangeKey_=null);var e=this.getGeometry();e&&(this.geometryChangeKey_=Object(a.listen)(e,i.default.CHANGE,this.handleGeometryChange_,this)),this.changed()},t.prototype.setGeometry=function(e){this.set(this.geometryName_,e)},t.prototype.setStyle=function(e){this.style_=e,this.styleFunction_=e?c(e):void 0,this.changed()},t.prototype.setId=function(e){this.id_=e,this.changed()},t.prototype.setGeometryName=function(e){this.removeChangeListener(this.geometryName_,this.handleGeometryChanged_),this.geometryName_=e,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),this.handleGeometryChanged_()},t}(n.default);function c(e){return"function"==typeof e?e:(Array.isArray(e)?t=e:(Object(s.assert)("function"==typeof e.getZIndex,41),t=[e]),function(){return t});var t}t.default=u},"./node_modules/ol/Geolocation.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/events/Event.js"),i=o("./node_modules/ol/Object.js"),s=o("./node_modules/ol/events/EventType.js"),a=o("./node_modules/ol/geom/Polygon.js"),l=o("./node_modules/ol/proj.js"),u=o("./node_modules/ol/math.js"),c=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),d="accuracy",p="accuracyGeometry",h="altitude",f="altitudeAccuracy",m="heading",g="position",y="projection",v="speed",_="tracking",b="trackingOptions",A=function(e){function t(t){var o=e.call(this,s.default.ERROR)||this;return o.code=t.code,o.message=t.message,o}return c(t,e),t}(n.default),C=function(e){function t(t){var o=e.call(this)||this;o.on,o.once,o.un;var r=t||{};return o.position_=null,o.transform_=l.identityTransform,o.watchId_=void 0,o.addChangeListener(y,o.handleProjectionChanged_),o.addChangeListener(_,o.handleTrackingChanged_),void 0!==r.projection&&o.setProjection(r.projection),void 0!==r.trackingOptions&&o.setTrackingOptions(r.trackingOptions),o.setTracking(void 0!==r.tracking&&r.tracking),o}return c(t,e),t.prototype.disposeInternal=function(){this.setTracking(!1),e.prototype.disposeInternal.call(this)},t.prototype.handleProjectionChanged_=function(){var e=this.getProjection();e&&(this.transform_=Object(l.getTransformFromProjections)(Object(l.get)("EPSG:4326"),e),this.position_&&this.set(g,this.transform_(this.position_)))},t.prototype.handleTrackingChanged_=function(){if("geolocation"in navigator){var e=this.getTracking();e&&void 0===this.watchId_?this.watchId_=navigator.geolocation.watchPosition(this.positionChange_.bind(this),this.positionError_.bind(this),this.getTrackingOptions()):e||void 0===this.watchId_||(navigator.geolocation.clearWatch(this.watchId_),this.watchId_=void 0)}},t.prototype.positionChange_=function(e){var t=e.coords;this.set(d,t.accuracy),this.set(h,null===t.altitude?void 0:t.altitude),this.set(f,null===t.altitudeAccuracy?void 0:t.altitudeAccuracy),this.set(m,null===t.heading?void 0:Object(u.toRadians)(t.heading)),this.position_?(this.position_[0]=t.longitude,this.position_[1]=t.latitude):this.position_=[t.longitude,t.latitude];var o=this.transform_(this.position_);this.set(g,o),this.set(v,null===t.speed?void 0:t.speed);var r=Object(a.circular)(this.position_,t.accuracy);r.applyTransform(this.transform_),this.set(p,r),this.changed()},t.prototype.positionError_=function(e){this.dispatchEvent(new A(e))},t.prototype.getAccuracy=function(){return this.get(d)},t.prototype.getAccuracyGeometry=function(){return this.get(p)||null},t.prototype.getAltitude=function(){return this.get(h)},t.prototype.getAltitudeAccuracy=function(){return this.get(f)},t.prototype.getHeading=function(){return this.get(m)},t.prototype.getPosition=function(){return this.get(g)},t.prototype.getProjection=function(){return this.get(y)},t.prototype.getSpeed=function(){return this.get(v)},t.prototype.getTracking=function(){return this.get(_)},t.prototype.getTrackingOptions=function(){return this.get(b)},t.prototype.setProjection=function(e){this.set(y,Object(l.get)(e))},t.prototype.setTracking=function(e){this.set(_,e)},t.prototype.setTrackingOptions=function(e){this.set(b,e)},t}(i.default);t.default=C},"./node_modules/ol/Image.js":function(e,t,o){"use strict";o.r(t),o.d(t,"listenImage",(function(){return p}));var r,n=o("./node_modules/ol/events/EventType.js"),i=o("./node_modules/ol/ImageBase.js"),s=o("./node_modules/ol/ImageState.js"),a=o("./node_modules/ol/has.js"),l=o("./node_modules/ol/extent.js"),u=o("./node_modules/ol/events.js"),c=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),d=function(e){function t(t,o,r,n,i,a){var l=e.call(this,t,o,r,s.default.IDLE)||this;return l.src_=n,l.image_=new Image,null!==i&&(l.image_.crossOrigin=i),l.unlisten_=null,l.state=s.default.IDLE,l.imageLoadFunction_=a,l}return c(t,e),t.prototype.getImage=function(){return this.image_},t.prototype.handleImageError_=function(){this.state=s.default.ERROR,this.unlistenImage_(),this.changed()},t.prototype.handleImageLoad_=function(){void 0===this.resolution&&(this.resolution=Object(l.getHeight)(this.extent)/this.image_.height),this.state=s.default.LOADED,this.unlistenImage_(),this.changed()},t.prototype.load=function(){this.state!=s.default.IDLE&&this.state!=s.default.ERROR||(this.state=s.default.LOADING,this.changed(),this.imageLoadFunction_(this,this.src_),this.unlisten_=p(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))},t.prototype.setImage=function(e){this.image_=e,this.resolution=Object(l.getHeight)(this.extent)/this.image_.height},t.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)},t}(i.default);function p(e,t,o){var r=e;if(r.src&&a.IMAGE_DECODE){var i=r.decode(),s=!0;return i.then((function(){s&&t()})).catch((function(e){s&&("EncodingError"===e.name&&"Invalid image type."===e.message?t():o())})),function(){s=!1}}var l=[Object(u.listenOnce)(r,n.default.LOAD,t),Object(u.listenOnce)(r,n.default.ERROR,o)];return function(){l.forEach(u.unlistenByKey)}}t.default=d},"./node_modules/ol/ImageBase.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/events/Target.js"),i=o("./node_modules/ol/events/EventType.js"),s=o("./node_modules/ol/util.js"),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=function(e){function t(t,o,r,n){var i=e.call(this)||this;return i.extent=t,i.pixelRatio_=r,i.resolution=o,i.state=n,i}return a(t,e),t.prototype.changed=function(){this.dispatchEvent(i.default.CHANGE)},t.prototype.getExtent=function(){return this.extent},t.prototype.getImage=function(){return Object(s.abstract)()},t.prototype.getPixelRatio=function(){return this.pixelRatio_},t.prototype.getResolution=function(){return this.resolution},t.prototype.getState=function(){return this.state},t.prototype.load=function(){Object(s.abstract)()},t}(n.default);t.default=l},"./node_modules/ol/ImageCanvas.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/ImageBase.js"),i=o("./node_modules/ol/ImageState.js"),s=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=function(e){function t(t,o,r,n,s){var a=this,l=void 0!==s?i.default.IDLE:i.default.LOADED;return(a=e.call(this,t,o,r,l)||this).loader_=void 0!==s?s:null,a.canvas_=n,a.error_=null,a}return s(t,e),t.prototype.getError=function(){return this.error_},t.prototype.handleLoad_=function(e){e?(this.error_=e,this.state=i.default.ERROR):this.state=i.default.LOADED,this.changed()},t.prototype.load=function(){this.state==i.default.IDLE&&(this.state=i.default.LOADING,this.changed(),this.loader_(this.handleLoad_.bind(this)))},t.prototype.getImage=function(){return this.canvas_},t}(n.default);t.default=a},"./node_modules/ol/ImageState.js":function(e,t,o){"use strict";o.r(t),t.default={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4}},"./node_modules/ol/ImageTile.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/Tile.js"),i=o("./node_modules/ol/TileState.js"),s=o("./node_modules/ol/dom.js"),a=o("./node_modules/ol/Image.js"),l=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),u=function(e){function t(t,o,r,n,i,s){var a=e.call(this,t,o,s)||this;return a.crossOrigin_=n,a.src_=r,a.key=r,a.image_=new Image,null!==n&&(a.image_.crossOrigin=n),a.unlisten_=null,a.tileLoadFunction_=i,a}return l(t,e),t.prototype.getImage=function(){return this.image_},t.prototype.setImage=function(e){this.image_=e,this.state=i.default.LOADED,this.unlistenImage_(),this.changed()},t.prototype.handleImageError_=function(){var e;this.state=i.default.ERROR,this.unlistenImage_(),this.image_=((e=Object(s.createCanvasContext2D)(1,1)).fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),e.canvas),this.changed()},t.prototype.handleImageLoad_=function(){var e=this.image_;e.naturalWidth&&e.naturalHeight?this.state=i.default.LOADED:this.state=i.default.EMPTY,this.unlistenImage_(),this.changed()},t.prototype.load=function(){this.state==i.default.ERROR&&(this.state=i.default.IDLE,this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==i.default.IDLE&&(this.state=i.default.LOADING,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=Object(a.listenImage)(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))},t.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)},t}(n.default);t.default=u},"./node_modules/ol/Kinetic.js":function(e,t,o){"use strict";o.r(t);var r=function(){function e(e,t,o){this.decay_=e,this.minVelocity_=t,this.delay_=o,this.points_=[],this.angle_=0,this.initialVelocity_=0}return e.prototype.begin=function(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0},e.prototype.update=function(e,t){this.points_.push(e,t,Date.now())},e.prototype.end=function(){if(this.points_.length<6)return!1;var e=Date.now()-this.delay_,t=this.points_.length-3;if(this.points_[t+2]<e)return!1;for(var o=t-3;o>0&&this.points_[o+2]>e;)o-=3;var r=this.points_[t+2]-this.points_[o+2];if(r<1e3/60)return!1;var n=this.points_[t]-this.points_[o],i=this.points_[t+1]-this.points_[o+1];return this.angle_=Math.atan2(i,n),this.initialVelocity_=Math.sqrt(n*n+i*i)/r,this.initialVelocity_>this.minVelocity_},e.prototype.getDistance=function(){return(this.minVelocity_-this.initialVelocity_)/this.decay_},e.prototype.getAngle=function(){return this.angle_},e}();t.default=r},"./node_modules/ol/Map.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/renderer/Composite.js"),i=o("./node_modules/ol/PluggableMap.js"),s=o("./node_modules/ol/obj.js"),a=o("./node_modules/ol/control.js"),l=o("./node_modules/ol/interaction.js"),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),c=function(e){function t(t){return(t=Object(s.assign)({},t)).controls||(t.controls=Object(a.defaults)()),t.interactions||(t.interactions=Object(l.defaults)({onFocusOnly:!0})),e.call(this,t)||this}return u(t,e),t.prototype.createRenderer=function(){return new n.default(this)},t}(i.default);t.default=c},"./node_modules/ol/MapBrowserEvent.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/MapEvent.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t,o,r,n,i){var s=e.call(this,t,o,i)||this;return s.originalEvent=r,s.pixel_=null,s.coordinate_=null,s.dragging=void 0!==n&&n,s}return i(t,e),Object.defineProperty(t.prototype,"pixel",{get:function(){return this.pixel_||(this.pixel_=this.map.getEventPixel(this.originalEvent)),this.pixel_},set:function(e){this.pixel_=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"coordinate",{get:function(){return this.coordinate_||(this.coordinate_=this.map.getCoordinateFromPixel(this.pixel)),this.coordinate_},set:function(e){this.coordinate_=e},enumerable:!1,configurable:!0}),t.prototype.preventDefault=function(){e.prototype.preventDefault.call(this),"preventDefault"in this.originalEvent&&this.originalEvent.preventDefault()},t.prototype.stopPropagation=function(){e.prototype.stopPropagation.call(this),"stopPropagation"in this.originalEvent&&this.originalEvent.stopPropagation()},t}(n.default);t.default=s},"./node_modules/ol/MapBrowserEventHandler.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/events/EventType.js"),i=o("./node_modules/ol/MapBrowserEvent.js"),s=o("./node_modules/ol/MapBrowserEventType.js"),a=o("./node_modules/ol/pointer/EventType.js"),l=o("./node_modules/ol/events/Target.js"),u=o("./node_modules/ol/has.js"),c=o("./node_modules/ol/functions.js"),d=o("./node_modules/ol/events.js"),p=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),h=function(e){function t(t,o){var r=e.call(this,t)||this;r.map_=t,r.clickTimeoutId_,r.emulateClicks_=!1,r.dragging_=!1,r.dragListenerKeys_=[],r.moveTolerance_=void 0===o?1:o,r.down_=null;var i=r.map_.getViewport();return r.activePointers_=0,r.trackedTouches_={},r.element_=i,r.pointerdownListenerKey_=Object(d.listen)(i,a.default.POINTERDOWN,r.handlePointerDown_,r),r.originalPointerMoveEvent_,r.relayedListenerKey_=Object(d.listen)(i,a.default.POINTERMOVE,r.relayEvent_,r),r.boundHandleTouchMove_=r.handleTouchMove_.bind(r),r.element_.addEventListener(n.default.TOUCHMOVE,r.boundHandleTouchMove_,!!u.PASSIVE_EVENT_LISTENERS&&{passive:!1}),r}return p(t,e),t.prototype.emulateClick_=function(e){var t=new i.default(s.default.CLICK,this.map_,e);this.dispatchEvent(t),void 0!==this.clickTimeoutId_?(clearTimeout(this.clickTimeoutId_),this.clickTimeoutId_=void 0,t=new i.default(s.default.DBLCLICK,this.map_,e),this.dispatchEvent(t)):this.clickTimeoutId_=setTimeout(function(){this.clickTimeoutId_=void 0;var t=new i.default(s.default.SINGLECLICK,this.map_,e);this.dispatchEvent(t)}.bind(this),250)},t.prototype.updateActivePointers_=function(e){var t=e;t.type==s.default.POINTERUP||t.type==s.default.POINTERCANCEL?delete this.trackedTouches_[t.pointerId]:t.type==s.default.POINTERDOWN&&(this.trackedTouches_[t.pointerId]=!0),this.activePointers_=Object.keys(this.trackedTouches_).length},t.prototype.handlePointerUp_=function(e){this.updateActivePointers_(e);var t=new i.default(s.default.POINTERUP,this.map_,e);this.dispatchEvent(t),this.emulateClicks_&&!t.defaultPrevented&&!this.dragging_&&this.isMouseActionButton_(e)&&this.emulateClick_(this.down_),0===this.activePointers_&&(this.dragListenerKeys_.forEach(d.unlistenByKey),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)},t.prototype.isMouseActionButton_=function(e){return 0===e.button},t.prototype.handlePointerDown_=function(e){this.emulateClicks_=0===this.activePointers_,this.updateActivePointers_(e);var t=new i.default(s.default.POINTERDOWN,this.map_,e);for(var o in this.dispatchEvent(t),this.down_={},e){var r=e[o];this.down_[o]="function"==typeof r?c.VOID:r}if(0===this.dragListenerKeys_.length){var n=this.map_.getOwnerDocument();this.dragListenerKeys_.push(Object(d.listen)(n,s.default.POINTERMOVE,this.handlePointerMove_,this),Object(d.listen)(n,s.default.POINTERUP,this.handlePointerUp_,this),Object(d.listen)(this.element_,s.default.POINTERCANCEL,this.handlePointerUp_,this)),this.element_.getRootNode&&this.element_.getRootNode()!==n&&this.dragListenerKeys_.push(Object(d.listen)(this.element_.getRootNode(),s.default.POINTERUP,this.handlePointerUp_,this))}},t.prototype.handlePointerMove_=function(e){if(this.isMoving_(e)){this.dragging_=!0;var t=new i.default(s.default.POINTERDRAG,this.map_,e,this.dragging_);this.dispatchEvent(t)}},t.prototype.relayEvent_=function(e){this.originalPointerMoveEvent_=e;var t=!(!this.down_||!this.isMoving_(e));this.dispatchEvent(new i.default(e.type,this.map_,e,t))},t.prototype.handleTouchMove_=function(e){var t=this.originalPointerMoveEvent_;t&&!t.defaultPrevented||"boolean"==typeof e.cancelable&&!0!==e.cancelable||e.preventDefault()},t.prototype.isMoving_=function(e){return this.dragging_||Math.abs(e.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(e.clientY-this.down_.clientY)>this.moveTolerance_},t.prototype.disposeInternal=function(){this.relayedListenerKey_&&(Object(d.unlistenByKey)(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(n.default.TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(Object(d.unlistenByKey)(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(d.unlistenByKey),this.dragListenerKeys_.length=0,this.element_=null,e.prototype.disposeInternal.call(this)},t}(l.default);t.default=h},"./node_modules/ol/MapBrowserEventType.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/events/EventType.js");t.default={SINGLECLICK:"singleclick",CLICK:r.default.CLICK,DBLCLICK:r.default.DBLCLICK,POINTERDRAG:"pointerdrag",POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"}},"./node_modules/ol/MapEvent.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/events/Event.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t,o,r){var n=e.call(this,t)||this;return n.map=o,n.frameState=void 0!==r?r:null,n}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/MapEventType.js":function(e,t,o){"use strict";o.r(t),t.default={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend"}},"./node_modules/ol/MapProperty.js":function(e,t,o){"use strict";o.r(t),t.default={LAYERGROUP:"layergroup",SIZE:"size",TARGET:"target",VIEW:"view"}},"./node_modules/ol/Object.js":function(e,t,o){"use strict";o.r(t),o.d(t,"ObjectEvent",(function(){return c}));var r,n=o("./node_modules/ol/events/Event.js"),i=o("./node_modules/ol/ObjectEventType.js"),s=o("./node_modules/ol/Observable.js"),a=o("./node_modules/ol/obj.js"),l=o("./node_modules/ol/util.js"),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),c=function(e){function t(t,o,r){var n=e.call(this,t)||this;return n.key=o,n.oldValue=r,n}return u(t,e),t}(n.default),d=function(e){function t(t){var o=e.call(this)||this;return o.on,o.once,o.un,Object(l.getUid)(o),o.values_=null,void 0!==t&&o.setProperties(t),o}return u(t,e),t.prototype.get=function(e){var t;return this.values_&&this.values_.hasOwnProperty(e)&&(t=this.values_[e]),t},t.prototype.getKeys=function(){return this.values_&&Object.keys(this.values_)||[]},t.prototype.getProperties=function(){return this.values_&&Object(a.assign)({},this.values_)||{}},t.prototype.hasProperties=function(){return!!this.values_},t.prototype.notify=function(e,t){var o;o="change:"+e,this.dispatchEvent(new c(o,e,t)),o=i.default.PROPERTYCHANGE,this.dispatchEvent(new c(o,e,t))},t.prototype.addChangeListener=function(e,t){this.addEventListener("change:"+e,t)},t.prototype.removeChangeListener=function(e,t){this.removeEventListener("change:"+e,t)},t.prototype.set=function(e,t,o){var r=this.values_||(this.values_={});if(o)r[e]=t;else{var n=r[e];r[e]=t,n!==t&&this.notify(e,n)}},t.prototype.setProperties=function(e,t){for(var o in e)this.set(o,e[o],t)},t.prototype.applyProperties=function(e){e.values_&&Object(a.assign)(this.values_||(this.values_={}),e.values_)},t.prototype.unset=function(e,t){if(this.values_&&e in this.values_){var o=this.values_[e];delete this.values_[e],Object(a.isEmpty)(this.values_)&&(this.values_=null),t||this.notify(e,o)}},t}(s.default);t.default=d},"./node_modules/ol/ObjectEventType.js":function(e,t,o){"use strict";o.r(t),t.default={PROPERTYCHANGE:"propertychange"}},"./node_modules/ol/Observable.js":function(e,t,o){"use strict";o.r(t),o.d(t,"unByKey",(function(){return u}));var r,n=o("./node_modules/ol/events/Target.js"),i=o("./node_modules/ol/events/EventType.js"),s=o("./node_modules/ol/events.js"),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=function(e){function t(){var t=e.call(this)||this;return t.on=t.onInternal,t.once=t.onceInternal,t.un=t.unInternal,t.revision_=0,t}return a(t,e),t.prototype.changed=function(){++this.revision_,this.dispatchEvent(i.default.CHANGE)},t.prototype.getRevision=function(){return this.revision_},t.prototype.onInternal=function(e,t){if(Array.isArray(e)){for(var o=e.length,r=new Array(o),n=0;n<o;++n)r[n]=Object(s.listen)(this,e[n],t);return r}return Object(s.listen)(this,e,t)},t.prototype.onceInternal=function(e,t){var o;if(Array.isArray(e)){var r=e.length;o=new Array(r);for(var n=0;n<r;++n)o[n]=Object(s.listenOnce)(this,e[n],t)}else o=Object(s.listenOnce)(this,e,t);return t.ol_key=o,o},t.prototype.unInternal=function(e,t){var o=t.ol_key;if(o)u(o);else if(Array.isArray(e))for(var r=0,n=e.length;r<n;++r)this.removeEventListener(e[r],t);else this.removeEventListener(e,t)},t}(n.default);function u(e){if(Array.isArray(e))for(var t=0,o=e.length;t<o;++t)Object(s.unlistenByKey)(e[t]);else Object(s.unlistenByKey)(e)}l.prototype.on,l.prototype.once,l.prototype.un,t.default=l},"./node_modules/ol/Overlay.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/Object.js"),i=o("./node_modules/ol/MapEventType.js"),s=o("./node_modules/ol/OverlayPositioning.js"),a=o("./node_modules/ol/css.js"),l=o("./node_modules/ol/extent.js"),u=o("./node_modules/ol/events.js"),c=o("./node_modules/ol/dom.js"),d=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),p="element",h="map",f="offset",m="position",g="positioning",y=function(e){function t(t){var o=e.call(this)||this;o.on,o.once,o.un,o.options=t,o.id=t.id,o.insertFirst=void 0===t.insertFirst||t.insertFirst,o.stopEvent=void 0===t.stopEvent||t.stopEvent,o.element=document.createElement("div"),o.element.className=void 0!==t.className?t.className:"ol-overlay-container "+a.CLASS_SELECTABLE,o.element.style.position="absolute",o.element.style.pointerEvents="auto";var r=t.autoPan;return r&&"object"!=typeof r&&(r={animation:t.autoPanAnimation,margin:t.autoPanMargin}),o.autoPan=r||!1,o.rendered={transform_:"",visible:!0},o.mapPostrenderListenerKey=null,o.addChangeListener(p,o.handleElementChanged),o.addChangeListener(h,o.handleMapChanged),o.addChangeListener(f,o.handleOffsetChanged),o.addChangeListener(m,o.handlePositionChanged),o.addChangeListener(g,o.handlePositioningChanged),void 0!==t.element&&o.setElement(t.element),o.setOffset(void 0!==t.offset?t.offset:[0,0]),o.setPositioning(void 0!==t.positioning?t.positioning:s.default.TOP_LEFT),void 0!==t.position&&o.setPosition(t.position),o}return d(t,e),t.prototype.getElement=function(){return this.get(p)},t.prototype.getId=function(){return this.id},t.prototype.getMap=function(){return this.get(h)},t.prototype.getOffset=function(){return this.get(f)},t.prototype.getPosition=function(){return this.get(m)},t.prototype.getPositioning=function(){return this.get(g)},t.prototype.handleElementChanged=function(){Object(c.removeChildren)(this.element);var e=this.getElement();e&&this.element.appendChild(e)},t.prototype.handleMapChanged=function(){this.mapPostrenderListenerKey&&(Object(c.removeNode)(this.element),Object(u.unlistenByKey)(this.mapPostrenderListenerKey),this.mapPostrenderListenerKey=null);var e=this.getMap();if(e){this.mapPostrenderListenerKey=Object(u.listen)(e,i.default.POSTRENDER,this.render,this),this.updatePixelPosition();var t=this.stopEvent?e.getOverlayContainerStopEvent():e.getOverlayContainer();this.insertFirst?t.insertBefore(this.element,t.childNodes[0]||null):t.appendChild(this.element),this.performAutoPan()}},t.prototype.render=function(){this.updatePixelPosition()},t.prototype.handleOffsetChanged=function(){this.updatePixelPosition()},t.prototype.handlePositionChanged=function(){this.updatePixelPosition(),this.performAutoPan()},t.prototype.handlePositioningChanged=function(){this.updatePixelPosition()},t.prototype.setElement=function(e){this.set(p,e)},t.prototype.setMap=function(e){this.set(h,e)},t.prototype.setOffset=function(e){this.set(f,e)},t.prototype.setPosition=function(e){this.set(m,e)},t.prototype.performAutoPan=function(){this.autoPan&&this.panIntoView(this.autoPan)},t.prototype.panIntoView=function(e){var t=this.getMap();if(t&&t.getTargetElement()&&this.get(m)){var o=this.getRect(t.getTargetElement(),t.getSize()),r=this.getElement(),n=this.getRect(r,[Object(c.outerWidth)(r),Object(c.outerHeight)(r)]),i=e||{},s=void 0===i.margin?20:i.margin;if(!Object(l.containsExtent)(o,n)){var a=n[0]-o[0],u=o[2]-n[2],d=n[1]-o[1],p=o[3]-n[3],h=[0,0];if(a<0?h[0]=a-s:u<0&&(h[0]=Math.abs(u)+s),d<0?h[1]=d-s:p<0&&(h[1]=Math.abs(p)+s),0!==h[0]||0!==h[1]){var f=t.getView().getCenterInternal(),g=t.getPixelFromCoordinateInternal(f);if(!g)return;var y=[g[0]+h[0],g[1]+h[1]],v=i.animation||{};t.getView().animateInternal({center:t.getCoordinateFromPixelInternal(y),duration:v.duration,easing:v.easing})}}}},t.prototype.getRect=function(e,t){var o=e.getBoundingClientRect(),r=o.left+window.pageXOffset,n=o.top+window.pageYOffset;return[r,n,r+t[0],n+t[1]]},t.prototype.setPositioning=function(e){this.set(g,e)},t.prototype.setVisible=function(e){this.rendered.visible!==e&&(this.element.style.display=e?"":"none",this.rendered.visible=e)},t.prototype.updatePixelPosition=function(){var e=this.getMap(),t=this.getPosition();if(e&&e.isRendered()&&t){var o=e.getPixelFromCoordinate(t),r=e.getSize();this.updateRenderedPosition(o,r)}else this.setVisible(!1)},t.prototype.updateRenderedPosition=function(e,t){var o=this.element.style,r=this.getOffset(),n=this.getPositioning();this.setVisible(!0);var i=Math.round(e[0]+r[0])+"px",a=Math.round(e[1]+r[1])+"px",l="0%",u="0%";n==s.default.BOTTOM_RIGHT||n==s.default.CENTER_RIGHT||n==s.default.TOP_RIGHT?l="-100%":n!=s.default.BOTTOM_CENTER&&n!=s.default.CENTER_CENTER&&n!=s.default.TOP_CENTER||(l="-50%"),n==s.default.BOTTOM_LEFT||n==s.default.BOTTOM_CENTER||n==s.default.BOTTOM_RIGHT?u="-100%":n!=s.default.CENTER_LEFT&&n!=s.default.CENTER_CENTER&&n!=s.default.CENTER_RIGHT||(u="-50%");var c="translate("+l+", "+u+") translate("+i+", "+a+")";this.rendered.transform_!=c&&(this.rendered.transform_=c,o.transform=c,o.msTransform=c)},t.prototype.getOptions=function(){return this.options},t}(n.default);t.default=y},"./node_modules/ol/OverlayPositioning.js":function(e,t,o){"use strict";o.r(t),t.default={BOTTOM_LEFT:"bottom-left",BOTTOM_CENTER:"bottom-center",BOTTOM_RIGHT:"bottom-right",CENTER_LEFT:"center-left",CENTER_CENTER:"center-center",CENTER_RIGHT:"center-right",TOP_LEFT:"top-left",TOP_CENTER:"top-center",TOP_RIGHT:"top-right"}},"./node_modules/ol/PluggableMap.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/Object.js"),i=o("./node_modules/ol/Collection.js"),s=o("./node_modules/ol/CollectionEventType.js"),a=o("./node_modules/ol/events/EventType.js"),l=o("./node_modules/ol/layer/Group.js"),u=o("./node_modules/ol/MapBrowserEvent.js"),c=o("./node_modules/ol/MapBrowserEventHandler.js"),d=o("./node_modules/ol/MapBrowserEventType.js"),p=o("./node_modules/ol/MapEvent.js"),h=o("./node_modules/ol/MapEventType.js"),f=o("./node_modules/ol/MapProperty.js"),m=o("./node_modules/ol/ObjectEventType.js"),g=o("./node_modules/ol/pointer/EventType.js"),y=o("./node_modules/ol/render/EventType.js"),v=o("./node_modules/ol/TileQueue.js"),_=o("./node_modules/ol/View.js"),b=o("./node_modules/ol/ViewHint.js"),A=o("./node_modules/ol/has.js"),C=o("./node_modules/ol/functions.js"),E=o("./node_modules/ol/transform.js"),S=o("./node_modules/ol/asserts.js"),w=o("./node_modules/ol/extent.js"),O=o("./node_modules/ol/proj.js"),I=o("./node_modules/ol/size.js"),x=o("./node_modules/ol/events.js"),j=o("./node_modules/ol/dom.js"),T=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),P=function(e){function t(t){var o=e.call(this)||this;o.on,o.once,o.un;var r=function(e){var t=null;void 0!==e.keyboardEventTarget&&(t="string"==typeof e.keyboardEventTarget?document.getElementById(e.keyboardEventTarget):e.keyboardEventTarget);var o,r,n,s={},a=e.layers&&"function"==typeof e.layers.getLayers?e.layers:new l.default({layers:e.layers});s[f.default.LAYERGROUP]=a,s[f.default.TARGET]=e.target,s[f.default.VIEW]=e.view instanceof _.default?e.view:new _.default,void 0!==e.controls&&(Array.isArray(e.controls)?o=new i.default(e.controls.slice()):(Object(S.assert)("function"==typeof e.controls.getArray,47),o=e.controls));void 0!==e.interactions&&(Array.isArray(e.interactions)?r=new i.default(e.interactions.slice()):(Object(S.assert)("function"==typeof e.interactions.getArray,48),r=e.interactions));void 0!==e.overlays?Array.isArray(e.overlays)?n=new i.default(e.overlays.slice()):(Object(S.assert)("function"==typeof e.overlays.getArray,49),n=e.overlays):n=new i.default;return{controls:o,interactions:r,keyboardEventTarget:t,overlays:n,values:s}}(t);o.boundHandleBrowserEvent_=o.handleBrowserEvent.bind(o),o.maxTilesLoading_=void 0!==t.maxTilesLoading?t.maxTilesLoading:16,o.pixelRatio_=void 0!==t.pixelRatio?t.pixelRatio:A.DEVICE_PIXEL_RATIO,o.postRenderTimeoutHandle_,o.animationDelayKey_,o.animationDelay_=function(){this.animationDelayKey_=void 0,this.renderFrame_(Date.now())}.bind(o),o.coordinateToPixelTransform_=Object(E.create)(),o.pixelToCoordinateTransform_=Object(E.create)(),o.frameIndex_=0,o.frameState_=null,o.previousExtent_=null,o.viewPropertyListenerKey_=null,o.viewChangeListenerKey_=null,o.layerGroupPropertyListenerKeys_=null,o.viewport_=document.createElement("div"),o.viewport_.className="ol-viewport"+("ontouchstart"in window?" ol-touch":""),o.viewport_.style.position="relative",o.viewport_.style.overflow="hidden",o.viewport_.style.width="100%",o.viewport_.style.height="100%",o.overlayContainer_=document.createElement("div"),o.overlayContainer_.style.position="absolute",o.overlayContainer_.style.zIndex="0",o.overlayContainer_.style.width="100%",o.overlayContainer_.style.height="100%",o.overlayContainer_.style.pointerEvents="none",o.overlayContainer_.className="ol-overlaycontainer",o.viewport_.appendChild(o.overlayContainer_),o.overlayContainerStopEvent_=document.createElement("div"),o.overlayContainerStopEvent_.style.position="absolute",o.overlayContainerStopEvent_.style.zIndex="0",o.overlayContainerStopEvent_.style.width="100%",o.overlayContainerStopEvent_.style.height="100%",o.overlayContainerStopEvent_.style.pointerEvents="none",o.overlayContainerStopEvent_.className="ol-overlaycontainer-stopevent",o.viewport_.appendChild(o.overlayContainerStopEvent_),o.mapBrowserEventHandler_=null,o.moveTolerance_=t.moveTolerance,o.keyboardEventTarget_=r.keyboardEventTarget,o.keyHandlerKeys_=null,o.controls=r.controls||new i.default,o.interactions=r.interactions||new i.default,o.overlays_=r.overlays,o.overlayIdIndex_={},o.renderer_=null,o.handleResize_,o.postRenderFunctions_=[],o.tileQueue_=new v.default(o.getTilePriority.bind(o),o.handleTileChange_.bind(o)),o.addChangeListener(f.default.LAYERGROUP,o.handleLayerGroupChanged_),o.addChangeListener(f.default.VIEW,o.handleViewChanged_),o.addChangeListener(f.default.SIZE,o.handleSizeChanged_),o.addChangeListener(f.default.TARGET,o.handleTargetChanged_),o.setProperties(r.values);var n=o;return!t.view||t.view instanceof _.default||t.view.then((function(e){n.setView(new _.default(e))})),o.controls.addEventListener(s.default.ADD,function(e){e.element.setMap(this)}.bind(o)),o.controls.addEventListener(s.default.REMOVE,function(e){e.element.setMap(null)}.bind(o)),o.interactions.addEventListener(s.default.ADD,function(e){e.element.setMap(this)}.bind(o)),o.interactions.addEventListener(s.default.REMOVE,function(e){e.element.setMap(null)}.bind(o)),o.overlays_.addEventListener(s.default.ADD,function(e){this.addOverlayInternal_(e.element)}.bind(o)),o.overlays_.addEventListener(s.default.REMOVE,function(e){var t=e.element.getId();void 0!==t&&delete this.overlayIdIndex_[t.toString()],e.element.setMap(null)}.bind(o)),o.controls.forEach(function(e){e.setMap(this)}.bind(o)),o.interactions.forEach(function(e){e.setMap(this)}.bind(o)),o.overlays_.forEach(o.addOverlayInternal_.bind(o)),o}return T(t,e),t.prototype.createRenderer=function(){throw new Error("Use a map type that has a createRenderer method")},t.prototype.addControl=function(e){this.getControls().push(e)},t.prototype.addInteraction=function(e){this.getInteractions().push(e)},t.prototype.addLayer=function(e){this.getLayerGroup().getLayers().push(e)},t.prototype.addOverlay=function(e){this.getOverlays().push(e)},t.prototype.addOverlayInternal_=function(e){var t=e.getId();void 0!==t&&(this.overlayIdIndex_[t.toString()]=e),e.setMap(this)},t.prototype.disposeInternal=function(){this.setTarget(null),e.prototype.disposeInternal.call(this)},t.prototype.forEachFeatureAtPixel=function(e,t,o){if(this.frameState_){var r=this.getCoordinateFromPixelInternal(e),n=void 0!==(o=void 0!==o?o:{}).hitTolerance?o.hitTolerance:0,i=void 0!==o.layerFilter?o.layerFilter:C.TRUE,s=!1!==o.checkWrapped;return this.renderer_.forEachFeatureAtCoordinate(r,this.frameState_,n,s,t,null,i,null)}},t.prototype.getFeaturesAtPixel=function(e,t){var o=[];return this.forEachFeatureAtPixel(e,(function(e){o.push(e)}),t),o},t.prototype.forEachLayerAtPixel=function(e,t,o){if(this.frameState_){var r=o||{},n=void 0!==r.hitTolerance?r.hitTolerance:0,i=r.layerFilter||C.TRUE;return this.renderer_.forEachLayerAtPixel(e,this.frameState_,n,t,i)}},t.prototype.hasFeatureAtPixel=function(e,t){if(!this.frameState_)return!1;var o=this.getCoordinateFromPixelInternal(e),r=void 0!==(t=void 0!==t?t:{}).layerFilter?t.layerFilter:C.TRUE,n=void 0!==t.hitTolerance?t.hitTolerance:0,i=!1!==t.checkWrapped;return this.renderer_.hasFeatureAtCoordinate(o,this.frameState_,n,i,r,null)},t.prototype.getEventCoordinate=function(e){return this.getCoordinateFromPixel(this.getEventPixel(e))},t.prototype.getEventCoordinateInternal=function(e){return this.getCoordinateFromPixelInternal(this.getEventPixel(e))},t.prototype.getEventPixel=function(e){var t=this.viewport_.getBoundingClientRect(),o="changedTouches"in e?e.changedTouches[0]:e;return[o.clientX-t.left,o.clientY-t.top]},t.prototype.getTarget=function(){return this.get(f.default.TARGET)},t.prototype.getTargetElement=function(){var e=this.getTarget();return void 0!==e?"string"==typeof e?document.getElementById(e):e:null},t.prototype.getCoordinateFromPixel=function(e){return Object(O.toUserCoordinate)(this.getCoordinateFromPixelInternal(e),this.getView().getProjection())},t.prototype.getCoordinateFromPixelInternal=function(e){var t=this.frameState_;return t?Object(E.apply)(t.pixelToCoordinateTransform,e.slice()):null},t.prototype.getControls=function(){return this.controls},t.prototype.getOverlays=function(){return this.overlays_},t.prototype.getOverlayById=function(e){var t=this.overlayIdIndex_[e.toString()];return void 0!==t?t:null},t.prototype.getInteractions=function(){return this.interactions},t.prototype.getLayerGroup=function(){return this.get(f.default.LAYERGROUP)},t.prototype.setLayers=function(e){var t=this.getLayerGroup();if(e instanceof i.default)t.setLayers(e);else{var o=t.getLayers();o.clear(),o.extend(e)}},t.prototype.getLayers=function(){return this.getLayerGroup().getLayers()},t.prototype.getLoading=function(){for(var e=this.getLayerGroup().getLayerStatesArray(),t=0,o=e.length;t<o;++t){var r=e[t].layer.getSource();if(r&&r.loading)return!0}return!1},t.prototype.getPixelFromCoordinate=function(e){var t=Object(O.fromUserCoordinate)(e,this.getView().getProjection());return this.getPixelFromCoordinateInternal(t)},t.prototype.getPixelFromCoordinateInternal=function(e){var t=this.frameState_;return t?Object(E.apply)(t.coordinateToPixelTransform,e.slice(0,2)):null},t.prototype.getRenderer=function(){return this.renderer_},t.prototype.getSize=function(){return this.get(f.default.SIZE)},t.prototype.getView=function(){return this.get(f.default.VIEW)},t.prototype.getViewport=function(){return this.viewport_},t.prototype.getOverlayContainer=function(){return this.overlayContainer_},t.prototype.getOverlayContainerStopEvent=function(){return this.overlayContainerStopEvent_},t.prototype.getOwnerDocument=function(){var e=this.getTargetElement();return e?e.ownerDocument:document},t.prototype.getTilePriority=function(e,t,o,r){return Object(v.getTilePriority)(this.frameState_,e,t,o,r)},t.prototype.handleBrowserEvent=function(e,t){var o=t||e.type,r=new u.default(o,this,e);this.handleMapBrowserEvent(r)},t.prototype.handleMapBrowserEvent=function(e){if(this.frameState_){var t=e.originalEvent,o=t.type;if(o===g.default.POINTERDOWN||o===a.default.WHEEL||o===a.default.KEYDOWN){var r=this.getOwnerDocument(),n=this.viewport_.getRootNode?this.viewport_.getRootNode():r,i=t.target;if(this.overlayContainerStopEvent_.contains(i)||!(n===r?r.documentElement:n).contains(i))return}if(e.frameState=this.frameState_,!1!==this.dispatchEvent(e))for(var s=this.getInteractions().getArray().slice(),l=s.length-1;l>=0;l--){var u=s[l];if(u.getMap()===this&&u.getActive()&&this.getTargetElement())if(!u.handleEvent(e)||e.propagationStopped)break}}},t.prototype.handlePostRender=function(){var e=this.frameState_,t=this.tileQueue_;if(!t.isEmpty()){var o=this.maxTilesLoading_,r=o;if(e){var n=e.viewHints;if(n[b.default.ANIMATING]||n[b.default.INTERACTING]){var i=Date.now()-e.time>8;o=i?0:8,r=i?0:2}}t.getTilesLoading()<o&&(t.reprioritize(),t.loadMoreTiles(o,r))}!e||!this.hasListener(y.default.RENDERCOMPLETE)||e.animate||this.tileQueue_.getTilesLoading()||this.getLoading()||this.renderer_.dispatchRenderEvent(y.default.RENDERCOMPLETE,e);for(var s=this.postRenderFunctions_,a=0,l=s.length;a<l;++a)s[a](this,e);s.length=0},t.prototype.handleSizeChanged_=function(){this.getView()&&!this.getView().getAnimating()&&this.getView().resolveConstraints(0),this.render()},t.prototype.handleTargetChanged_=function(){var e;if(this.getTarget()&&(e=this.getTargetElement()),this.mapBrowserEventHandler_){for(var t=0,o=this.keyHandlerKeys_.length;t<o;++t)Object(x.unlistenByKey)(this.keyHandlerKeys_[t]);this.keyHandlerKeys_=null,this.viewport_.removeEventListener(a.default.CONTEXTMENU,this.boundHandleBrowserEvent_),this.viewport_.removeEventListener(a.default.WHEEL,this.boundHandleBrowserEvent_),void 0!==this.handleResize_&&(removeEventListener(a.default.RESIZE,this.handleResize_,!1),this.handleResize_=void 0),this.mapBrowserEventHandler_.dispose(),this.mapBrowserEventHandler_=null,Object(j.removeNode)(this.viewport_)}if(e){for(var r in e.appendChild(this.viewport_),this.renderer_||(this.renderer_=this.createRenderer()),this.mapBrowserEventHandler_=new c.default(this,this.moveTolerance_),d.default)this.mapBrowserEventHandler_.addEventListener(d.default[r],this.handleMapBrowserEvent.bind(this));this.viewport_.addEventListener(a.default.CONTEXTMENU,this.boundHandleBrowserEvent_,!1),this.viewport_.addEventListener(a.default.WHEEL,this.boundHandleBrowserEvent_,!!A.PASSIVE_EVENT_LISTENERS&&{passive:!1});var n=this.keyboardEventTarget_?this.keyboardEventTarget_:e;this.keyHandlerKeys_=[Object(x.listen)(n,a.default.KEYDOWN,this.handleBrowserEvent,this),Object(x.listen)(n,a.default.KEYPRESS,this.handleBrowserEvent,this)],this.handleResize_||(this.handleResize_=this.updateSize.bind(this),window.addEventListener(a.default.RESIZE,this.handleResize_,!1))}else this.renderer_&&(clearTimeout(this.postRenderTimeoutHandle_),this.postRenderTimeoutHandle_=void 0,this.postRenderFunctions_.length=0,this.renderer_.dispose(),this.renderer_=null),this.animationDelayKey_&&(cancelAnimationFrame(this.animationDelayKey_),this.animationDelayKey_=void 0);this.updateSize()},t.prototype.handleTileChange_=function(){this.render()},t.prototype.handleViewPropertyChanged_=function(){this.render()},t.prototype.handleViewChanged_=function(){this.viewPropertyListenerKey_&&(Object(x.unlistenByKey)(this.viewPropertyListenerKey_),this.viewPropertyListenerKey_=null),this.viewChangeListenerKey_&&(Object(x.unlistenByKey)(this.viewChangeListenerKey_),this.viewChangeListenerKey_=null);var e=this.getView();e&&(this.updateViewportSize_(),this.viewPropertyListenerKey_=Object(x.listen)(e,m.default.PROPERTYCHANGE,this.handleViewPropertyChanged_,this),this.viewChangeListenerKey_=Object(x.listen)(e,a.default.CHANGE,this.handleViewPropertyChanged_,this),e.resolveConstraints(0)),this.render()},t.prototype.handleLayerGroupChanged_=function(){this.layerGroupPropertyListenerKeys_&&(this.layerGroupPropertyListenerKeys_.forEach(x.unlistenByKey),this.layerGroupPropertyListenerKeys_=null);var e=this.getLayerGroup();e&&(this.layerGroupPropertyListenerKeys_=[Object(x.listen)(e,m.default.PROPERTYCHANGE,this.render,this),Object(x.listen)(e,a.default.CHANGE,this.render,this)]),this.render()},t.prototype.isRendered=function(){return!!this.frameState_},t.prototype.renderSync=function(){this.animationDelayKey_&&cancelAnimationFrame(this.animationDelayKey_),this.animationDelay_()},t.prototype.redrawText=function(){for(var e=this.getLayerGroup().getLayerStatesArray(),t=0,o=e.length;t<o;++t){var r=e[t].layer;r.hasRenderer()&&r.getRenderer().handleFontsChanged()}},t.prototype.render=function(){this.renderer_&&void 0===this.animationDelayKey_&&(this.animationDelayKey_=requestAnimationFrame(this.animationDelay_))},t.prototype.removeControl=function(e){return this.getControls().remove(e)},t.prototype.removeInteraction=function(e){return this.getInteractions().remove(e)},t.prototype.removeLayer=function(e){return this.getLayerGroup().getLayers().remove(e)},t.prototype.removeOverlay=function(e){return this.getOverlays().remove(e)},t.prototype.renderFrame_=function(e){var t=this,o=this.getSize(),r=this.getView(),n=this.frameState_,i=null;if(void 0!==o&&Object(I.hasArea)(o)&&r&&r.isDef()){var s=r.getHints(this.frameState_?this.frameState_.viewHints:void 0),a=r.getState();if(i={animate:!1,coordinateToPixelTransform:this.coordinateToPixelTransform_,declutterTree:null,extent:Object(w.getForViewAndSize)(a.center,a.resolution,a.rotation,o),index:this.frameIndex_++,layerIndex:0,layerStatesArray:this.getLayerGroup().getLayerStatesArray(),pixelRatio:this.pixelRatio_,pixelToCoordinateTransform:this.pixelToCoordinateTransform_,postRenderFunctions:[],size:o,tileQueue:this.tileQueue_,time:e,usedTiles:{},viewState:a,viewHints:s,wantedTiles:{}},a.nextCenter&&a.nextResolution){var l=isNaN(a.nextRotation)?a.rotation:a.nextRotation;i.nextExtent=Object(w.getForViewAndSize)(a.nextCenter,a.nextResolution,l,o)}}if(this.frameState_=i,this.renderer_.renderFrame(i),i){if(i.animate&&this.render(),Array.prototype.push.apply(this.postRenderFunctions_,i.postRenderFunctions),n)(!this.previousExtent_||!Object(w.isEmpty)(this.previousExtent_)&&!Object(w.equals)(i.extent,this.previousExtent_))&&(this.dispatchEvent(new p.default(h.default.MOVESTART,this,n)),this.previousExtent_=Object(w.createOrUpdateEmpty)(this.previousExtent_));this.previousExtent_&&!i.viewHints[b.default.ANIMATING]&&!i.viewHints[b.default.INTERACTING]&&!Object(w.equals)(i.extent,this.previousExtent_)&&(this.dispatchEvent(new p.default(h.default.MOVEEND,this,i)),Object(w.clone)(i.extent,this.previousExtent_))}this.dispatchEvent(new p.default(h.default.POSTRENDER,this,i)),this.postRenderTimeoutHandle_||(this.postRenderTimeoutHandle_=setTimeout((function(){t.postRenderTimeoutHandle_=void 0,t.handlePostRender()}),0))},t.prototype.setLayerGroup=function(e){this.set(f.default.LAYERGROUP,e)},t.prototype.setSize=function(e){this.set(f.default.SIZE,e)},t.prototype.setTarget=function(e){this.set(f.default.TARGET,e)},t.prototype.setView=function(e){if(!e||e instanceof _.default)this.set(f.default.VIEW,e);else{this.set(f.default.VIEW,new _.default);var t=this;e.then((function(e){t.setView(new _.default(e))}))}},t.prototype.updateSize=function(){var e=this.getTargetElement(),t=void 0;if(e){var o=getComputedStyle(e),r=e.offsetWidth-parseFloat(o.borderLeftWidth)-parseFloat(o.paddingLeft)-parseFloat(o.paddingRight)-parseFloat(o.borderRightWidth),n=e.offsetHeight-parseFloat(o.borderTopWidth)-parseFloat(o.paddingTop)-parseFloat(o.paddingBottom)-parseFloat(o.borderBottomWidth);isNaN(r)||isNaN(n)||(t=[r,n],!Object(I.hasArea)(t)&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)&&console.warn("No map visible because the map container's width or height are 0."))}this.setSize(t),this.updateViewportSize_()},t.prototype.updateViewportSize_=function(){var e=this.getView();if(e){var t=void 0,o=getComputedStyle(this.viewport_);o.width&&o.height&&(t=[parseInt(o.width,10),parseInt(o.height,10)]),e.setViewportSize(t)}},t}(n.default);t.default=P},"./node_modules/ol/Tile.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/events/Target.js"),i=o("./node_modules/ol/events/EventType.js"),s=o("./node_modules/ol/TileState.js"),a=o("./node_modules/ol/util.js"),l=o("./node_modules/ol/easing.js"),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),c=function(e){function t(t,o,r){var n=e.call(this)||this,i=r||{};return n.tileCoord=t,n.state=o,n.interimTile=null,n.key="",n.transition_=void 0===i.transition?250:i.transition,n.transitionStarts_={},n}return u(t,e),t.prototype.changed=function(){this.dispatchEvent(i.default.CHANGE)},t.prototype.release=function(){},t.prototype.getKey=function(){return this.key+"/"+this.tileCoord},t.prototype.getInterimTile=function(){if(!this.interimTile)return this;var e=this.interimTile;do{if(e.getState()==s.default.LOADED)return this.transition_=0,e;e=e.interimTile}while(e);return this},t.prototype.refreshInterimChain=function(){if(this.interimTile){var e=this.interimTile,t=this;do{if(e.getState()==s.default.LOADED){e.interimTile=null;break}e.getState()==s.default.LOADING?t=e:e.getState()==s.default.IDLE?t.interimTile=e.interimTile:t=e,e=t.interimTile}while(e)}},t.prototype.getTileCoord=function(){return this.tileCoord},t.prototype.getState=function(){return this.state},t.prototype.setState=function(e){if(this.state!==s.default.ERROR&&this.state>e)throw new Error("Tile load sequence violation");this.state=e,this.changed()},t.prototype.load=function(){Object(a.abstract)()},t.prototype.getAlpha=function(e,t){if(!this.transition_)return 1;var o=this.transitionStarts_[e];if(o){if(-1===o)return 1}else o=t,this.transitionStarts_[e]=o;var r=t-o+1e3/60;return r>=this.transition_?1:Object(l.easeIn)(r/this.transition_)},t.prototype.inTransition=function(e){return!!this.transition_&&-1!==this.transitionStarts_[e]},t.prototype.endTransition=function(e){this.transition_&&(this.transitionStarts_[e]=-1)},t}(n.default);t.default=c},"./node_modules/ol/TileCache.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/structs/LRUCache.js"),i=o("./node_modules/ol/tilecoord.js"),s=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.expireCache=function(e){for(;this.canExpireCache();){if(this.peekLast().getKey()in e)break;this.pop().release()}},t.prototype.pruneExceptNewestZ=function(){if(0!==this.getCount()){var e=this.peekFirstKey(),t=Object(i.fromKey)(e)[0];this.forEach(function(e){e.tileCoord[0]!==t&&(this.remove(Object(i.getKey)(e.tileCoord)),e.release())}.bind(this))}},t}(n.default);t.default=a},"./node_modules/ol/TileQueue.js":function(e,t,o){"use strict";o.r(t),o.d(t,"getTilePriority",(function(){return u}));var r,n=o("./node_modules/ol/events/EventType.js"),i=o("./node_modules/ol/structs/PriorityQueue.js"),s=o("./node_modules/ol/TileState.js"),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=function(e){function t(t,o){var r=e.call(this,(function(e){return t.apply(null,e)}),(function(e){return e[0].getKey()}))||this;return r.boundHandleTileChange_=r.handleTileChange.bind(r),r.tileChangeCallback_=o,r.tilesLoading_=0,r.tilesLoadingKeys_={},r}return a(t,e),t.prototype.enqueue=function(t){var o=e.prototype.enqueue.call(this,t);o&&t[0].addEventListener(n.default.CHANGE,this.boundHandleTileChange_);return o},t.prototype.getTilesLoading=function(){return this.tilesLoading_},t.prototype.handleTileChange=function(e){var t=e.target,o=t.getState();if(o===s.default.LOADED||o===s.default.ERROR||o===s.default.EMPTY){t.removeEventListener(n.default.CHANGE,this.boundHandleTileChange_);var r=t.getKey();r in this.tilesLoadingKeys_&&(delete this.tilesLoadingKeys_[r],--this.tilesLoading_),this.tileChangeCallback_()}},t.prototype.loadMoreTiles=function(e,t){for(var o,r,n=0;this.tilesLoading_<e&&n<t&&this.getCount()>0;)r=(o=this.dequeue()[0]).getKey(),o.getState()!==s.default.IDLE||r in this.tilesLoadingKeys_||(this.tilesLoadingKeys_[r]=!0,++this.tilesLoading_,++n,o.load())},t}(i.default);function u(e,t,o,r,n){if(!e||!(o in e.wantedTiles))return i.DROP;if(!e.wantedTiles[o][t.getKey()])return i.DROP;var s=e.viewState.center,a=r[0]-s[0],l=r[1]-s[1];return 65536*Math.log(n)+Math.sqrt(a*a+l*l)/n}t.default=l},"./node_modules/ol/TileRange.js":function(e,t,o){"use strict";o.r(t),o.d(t,"createOrUpdate",(function(){return n}));var r=function(){function e(e,t,o,r){this.minX=e,this.maxX=t,this.minY=o,this.maxY=r}return e.prototype.contains=function(e){return this.containsXY(e[1],e[2])},e.prototype.containsTileRange=function(e){return this.minX<=e.minX&&e.maxX<=this.maxX&&this.minY<=e.minY&&e.maxY<=this.maxY},e.prototype.containsXY=function(e,t){return this.minX<=e&&e<=this.maxX&&this.minY<=t&&t<=this.maxY},e.prototype.equals=function(e){return this.minX==e.minX&&this.minY==e.minY&&this.maxX==e.maxX&&this.maxY==e.maxY},e.prototype.extend=function(e){e.minX<this.minX&&(this.minX=e.minX),e.maxX>this.maxX&&(this.maxX=e.maxX),e.minY<this.minY&&(this.minY=e.minY),e.maxY>this.maxY&&(this.maxY=e.maxY)},e.prototype.getHeight=function(){return this.maxY-this.minY+1},e.prototype.getSize=function(){return[this.getWidth(),this.getHeight()]},e.prototype.getWidth=function(){return this.maxX-this.minX+1},e.prototype.intersects=function(e){return this.minX<=e.maxX&&this.maxX>=e.minX&&this.minY<=e.maxY&&this.maxY>=e.minY},e}();function n(e,t,o,n,i){return void 0!==i?(i.minX=e,i.maxX=t,i.minY=o,i.maxY=n,i):new r(e,t,o,n)}t.default=r},"./node_modules/ol/TileState.js":function(e,t,o){"use strict";o.r(t),t.default={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4}},"./node_modules/ol/VectorRenderTile.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/Tile.js"),i=o("./node_modules/ol/dom.js"),s=o("./node_modules/ol/util.js"),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=[],u=function(e){function t(t,o,r,n){var i=e.call(this,t,o,{transition:0})||this;return i.context_={},i.executorGroups={},i.declutterExecutorGroups={},i.loadingSourceTiles=0,i.hitDetectionImageData={},i.replayState_={},i.sourceTiles=[],i.errorTileKeys={},i.wantedResolution,i.getSourceTiles=n.bind(void 0,i),i.wrappedTileCoord=r,i}return a(t,e),t.prototype.getContext=function(e){var t=Object(s.getUid)(e);return t in this.context_||(this.context_[t]=Object(i.createCanvasContext2D)(1,1,l)),this.context_[t]},t.prototype.hasContext=function(e){return Object(s.getUid)(e)in this.context_},t.prototype.getImage=function(e){return this.hasContext(e)?this.getContext(e).canvas:null},t.prototype.getReplayState=function(e){var t=Object(s.getUid)(e);return t in this.replayState_||(this.replayState_[t]={dirty:!1,renderedRenderOrder:null,renderedResolution:NaN,renderedRevision:-1,renderedTileResolution:NaN,renderedTileRevision:-1,renderedTileZ:-1}),this.replayState_[t]},t.prototype.load=function(){this.getSourceTiles()},t.prototype.release=function(){for(var t in this.context_)l.push(this.context_[t].canvas),delete this.context_[t];e.prototype.release.call(this)},t}(n.default);t.default=u},"./node_modules/ol/VectorTile.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/Tile.js"),i=o("./node_modules/ol/TileState.js"),s=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=function(e){function t(t,o,r,n,i,s){var a=e.call(this,t,o,s)||this;return a.extent=null,a.format_=n,a.features_=null,a.loader_,a.projection=null,a.resolution,a.tileLoadFunction_=i,a.url_=r,a.key=r,a}return s(t,e),t.prototype.getFormat=function(){return this.format_},t.prototype.getFeatures=function(){return this.features_},t.prototype.load=function(){this.state==i.default.IDLE&&(this.setState(i.default.LOADING),this.tileLoadFunction_(this,this.url_),this.loader_&&this.loader_(this.extent,this.resolution,this.projection))},t.prototype.onLoad=function(e,t){this.setFeatures(e)},t.prototype.onError=function(){this.setState(i.default.ERROR)},t.prototype.setFeatures=function(e){this.features_=e,this.setState(i.default.LOADED)},t.prototype.setLoader=function(e){this.loader_=e},t}(n.default);t.default=a},"./node_modules/ol/View.js":function(e,t,o){"use strict";o.r(t),o.d(t,"createCenterConstraint",(function(){return I})),o.d(t,"createResolutionConstraint",(function(){return x})),o.d(t,"createRotationConstraint",(function(){return j})),o.d(t,"isNoopAnimation",(function(){return T}));var r,n=o("./node_modules/ol/Object.js"),i=o("./node_modules/ol/geom/GeometryType.js"),s=o("./node_modules/ol/proj/Units.js"),a=o("./node_modules/ol/ViewHint.js"),l=o("./node_modules/ol/ViewProperty.js"),u=o("./node_modules/ol/tilegrid/common.js"),c=o("./node_modules/ol/proj.js"),d=o("./node_modules/ol/functions.js"),p=o("./node_modules/ol/coordinate.js"),h=o("./node_modules/ol/asserts.js"),f=o("./node_modules/ol/obj.js"),m=o("./node_modules/ol/centerconstraint.js"),g=o("./node_modules/ol/math.js"),y=o("./node_modules/ol/resolutionconstraint.js"),v=o("./node_modules/ol/rotationconstraint.js"),_=o("./node_modules/ol/easing.js"),b=o("./node_modules/ol/extent.js"),A=o("./node_modules/ol/array.js"),C=o("./node_modules/ol/geom/Polygon.js"),E=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),S=0,w=function(e){function t(t){var o=e.call(this)||this;o.on,o.once,o.un;var r=Object(f.assign)({},t);return o.hints_=[0,0],o.animations_=[],o.updateAnimationKey_,o.projection_=Object(c.createProjection)(r.projection,"EPSG:3857"),o.viewportSize_=[100,100],o.targetCenter_=null,o.targetResolution_,o.targetRotation_,o.nextCenter_=null,o.nextResolution_,o.nextRotation_,o.cancelAnchor_=void 0,r.center&&(r.center=Object(c.fromUserCoordinate)(r.center,o.projection_)),r.extent&&(r.extent=Object(c.fromUserExtent)(r.extent,o.projection_)),o.applyOptions_(r),o}return E(t,e),t.prototype.applyOptions_=function(e){var t=x(e);this.maxResolution_=t.maxResolution,this.minResolution_=t.minResolution,this.zoomFactor_=t.zoomFactor,this.resolutions_=e.resolutions,this.padding_=e.padding,this.minZoom_=t.minZoom;var o=I(e),r=t.constraint,n=j(e);this.constraints_={center:o,resolution:r,rotation:n},this.setRotation(void 0!==e.rotation?e.rotation:0),this.setCenterInternal(void 0!==e.center?e.center:null),void 0!==e.resolution?this.setResolution(e.resolution):void 0!==e.zoom&&this.setZoom(e.zoom),this.setProperties({}),this.options_=e},Object.defineProperty(t.prototype,"padding",{get:function(){return this.padding_},set:function(e){var t=this.padding_;this.padding_=e;var o=this.getCenter();if(o){var r=e||[0,0,0,0];t=t||[0,0,0,0];var n=this.getResolution(),i=n/2*(r[3]-t[3]+t[1]-r[1]),s=n/2*(r[0]-t[0]+t[2]-r[2]);this.setCenterInternal([o[0]+i,o[1]-s])}},enumerable:!1,configurable:!0}),t.prototype.getUpdatedOptions_=function(e){var t=Object(f.assign)({},this.options_);return void 0!==t.resolution?t.resolution=this.getResolution():t.zoom=this.getZoom(),t.center=this.getCenterInternal(),t.rotation=this.getRotation(),Object(f.assign)({},t,e)},t.prototype.animate=function(e){this.isDef()&&!this.getAnimating()&&this.resolveConstraints(0);for(var t=new Array(arguments.length),o=0;o<t.length;++o){var r=arguments[o];r.center&&((r=Object(f.assign)({},r)).center=Object(c.fromUserCoordinate)(r.center,this.getProjection())),r.anchor&&((r=Object(f.assign)({},r)).anchor=Object(c.fromUserCoordinate)(r.anchor,this.getProjection())),t[o]=r}this.animateInternal.apply(this,t)},t.prototype.animateInternal=function(e){var t,o=arguments.length;o>1&&"function"==typeof arguments[o-1]&&(t=arguments[o-1],--o);for(var r=0;r<o&&!this.isDef();++r){var n=arguments[r];n.center&&this.setCenterInternal(n.center),void 0!==n.zoom?this.setZoom(n.zoom):n.resolution&&this.setResolution(n.resolution),void 0!==n.rotation&&this.setRotation(n.rotation)}if(r!==o){for(var i=Date.now(),s=this.targetCenter_.slice(),l=this.targetResolution_,u=this.targetRotation_,c=[];r<o;++r){var d=arguments[r],p={start:i,complete:!1,anchor:d.anchor,duration:void 0!==d.duration?d.duration:1e3,easing:d.easing||_.inAndOut,callback:t};if(d.center&&(p.sourceCenter=s,p.targetCenter=d.center.slice(),s=p.targetCenter),void 0!==d.zoom?(p.sourceResolution=l,p.targetResolution=this.getResolutionForZoom(d.zoom),l=p.targetResolution):d.resolution&&(p.sourceResolution=l,p.targetResolution=d.resolution,l=p.targetResolution),void 0!==d.rotation){p.sourceRotation=u;var h=Object(g.modulo)(d.rotation-u+Math.PI,2*Math.PI)-Math.PI;p.targetRotation=u+h,u=p.targetRotation}T(p)?p.complete=!0:i+=p.duration,c.push(p)}this.animations_.push(c),this.setHint(a.default.ANIMATING,1),this.updateAnimations_()}else t&&O(t,!0)},t.prototype.getAnimating=function(){return this.hints_[a.default.ANIMATING]>0},t.prototype.getInteracting=function(){return this.hints_[a.default.INTERACTING]>0},t.prototype.cancelAnimations=function(){var e;this.setHint(a.default.ANIMATING,-this.hints_[a.default.ANIMATING]);for(var t=0,o=this.animations_.length;t<o;++t){var r=this.animations_[t];if(r[0].callback&&O(r[0].callback,!1),!e)for(var n=0,i=r.length;n<i;++n){var s=r[n];if(!s.complete){e=s.anchor;break}}}this.animations_.length=0,this.cancelAnchor_=e,this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN},t.prototype.updateAnimations_=function(){if(void 0!==this.updateAnimationKey_&&(cancelAnimationFrame(this.updateAnimationKey_),this.updateAnimationKey_=void 0),this.getAnimating()){for(var e=Date.now(),t=!1,o=this.animations_.length-1;o>=0;--o){for(var r=this.animations_[o],n=!0,i=0,s=r.length;i<s;++i){var l=r[i];if(!l.complete){var u=e-l.start,c=l.duration>0?u/l.duration:1;c>=1?(l.complete=!0,c=1):n=!1;var d=l.easing(c);if(l.sourceCenter){var p=l.sourceCenter[0],h=l.sourceCenter[1],f=l.targetCenter[0],m=l.targetCenter[1];this.nextCenter_=l.targetCenter;var y=p+d*(f-p),v=h+d*(m-h);this.targetCenter_=[y,v]}if(l.sourceResolution&&l.targetResolution){var _=1===d?l.targetResolution:l.sourceResolution+d*(l.targetResolution-l.sourceResolution);if(l.anchor){var b=this.getViewportSize_(this.getRotation()),A=this.constraints_.resolution(_,0,b,!0);this.targetCenter_=this.calculateCenterZoom(A,l.anchor)}this.nextResolution_=l.targetResolution,this.targetResolution_=_,this.applyTargetState_(!0)}if(void 0!==l.sourceRotation&&void 0!==l.targetRotation){var C=1===d?Object(g.modulo)(l.targetRotation+Math.PI,2*Math.PI)-Math.PI:l.sourceRotation+d*(l.targetRotation-l.sourceRotation);if(l.anchor){var E=this.constraints_.rotation(C,!0);this.targetCenter_=this.calculateCenterRotate(E,l.anchor)}this.nextRotation_=l.targetRotation,this.targetRotation_=C}if(this.applyTargetState_(!0),t=!0,!l.complete)break}}if(n){this.animations_[o]=null,this.setHint(a.default.ANIMATING,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;var S=r[0].callback;S&&O(S,!0)}}this.animations_=this.animations_.filter(Boolean),t&&void 0===this.updateAnimationKey_&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}},t.prototype.calculateCenterRotate=function(e,t){var o,r=this.getCenterInternal();return void 0!==r&&(o=[r[0]-t[0],r[1]-t[1]],Object(p.rotate)(o,e-this.getRotation()),Object(p.add)(o,t)),o},t.prototype.calculateCenterZoom=function(e,t){var o,r=this.getCenterInternal(),n=this.getResolution();void 0!==r&&void 0!==n&&(o=[t[0]-e*(t[0]-r[0])/n,t[1]-e*(t[1]-r[1])/n]);return o},t.prototype.getViewportSize_=function(e){var t=this.viewportSize_;if(e){var o=t[0],r=t[1];return[Math.abs(o*Math.cos(e))+Math.abs(r*Math.sin(e)),Math.abs(o*Math.sin(e))+Math.abs(r*Math.cos(e))]}return t},t.prototype.setViewportSize=function(e){this.viewportSize_=Array.isArray(e)?e.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)},t.prototype.getCenter=function(){var e=this.getCenterInternal();return e?Object(c.toUserCoordinate)(e,this.getProjection()):e},t.prototype.getCenterInternal=function(){return this.get(l.default.CENTER)},t.prototype.getConstraints=function(){return this.constraints_},t.prototype.getConstrainResolution=function(){return this.options_.constrainResolution},t.prototype.getHints=function(e){return void 0!==e?(e[0]=this.hints_[0],e[1]=this.hints_[1],e):this.hints_.slice()},t.prototype.calculateExtent=function(e){var t=this.calculateExtentInternal(e);return Object(c.toUserExtent)(t,this.getProjection())},t.prototype.calculateExtentInternal=function(e){var t=e||this.getViewportSizeMinusPadding_(),o=this.getCenterInternal();Object(h.assert)(o,1);var r=this.getResolution();Object(h.assert)(void 0!==r,2);var n=this.getRotation();return Object(h.assert)(void 0!==n,3),Object(b.getForViewAndSize)(o,r,n,t)},t.prototype.getMaxResolution=function(){return this.maxResolution_},t.prototype.getMinResolution=function(){return this.minResolution_},t.prototype.getMaxZoom=function(){return this.getZoomForResolution(this.minResolution_)},t.prototype.setMaxZoom=function(e){this.applyOptions_(this.getUpdatedOptions_({maxZoom:e}))},t.prototype.getMinZoom=function(){return this.getZoomForResolution(this.maxResolution_)},t.prototype.setMinZoom=function(e){this.applyOptions_(this.getUpdatedOptions_({minZoom:e}))},t.prototype.setConstrainResolution=function(e){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:e}))},t.prototype.getProjection=function(){return this.projection_},t.prototype.getResolution=function(){return this.get(l.default.RESOLUTION)},t.prototype.getResolutions=function(){return this.resolutions_},t.prototype.getResolutionForExtent=function(e,t){return this.getResolutionForExtentInternal(Object(c.fromUserExtent)(e,this.getProjection()),t)},t.prototype.getResolutionForExtentInternal=function(e,t){var o=t||this.getViewportSizeMinusPadding_(),r=Object(b.getWidth)(e)/o[0],n=Object(b.getHeight)(e)/o[1];return Math.max(r,n)},t.prototype.getResolutionForValueFunction=function(e){var t=e||2,o=this.getConstrainedResolution(this.maxResolution_),r=this.minResolution_,n=Math.log(o/r)/Math.log(t);return function(e){return o/Math.pow(t,e*n)}},t.prototype.getRotation=function(){return this.get(l.default.ROTATION)},t.prototype.getValueForResolutionFunction=function(e){var t=Math.log(e||2),o=this.getConstrainedResolution(this.maxResolution_),r=this.minResolution_,n=Math.log(o/r)/t;return function(e){return Math.log(o/e)/t/n}},t.prototype.getViewportSizeMinusPadding_=function(e){var t=this.getViewportSize_(e),o=this.padding_;return o&&(t=[t[0]-o[1]-o[3],t[1]-o[0]-o[2]]),t},t.prototype.getState=function(){var e=this.getProjection(),t=this.getResolution(),o=this.getRotation(),r=this.getCenterInternal(),n=this.padding_;if(n){var i=this.getViewportSizeMinusPadding_();r=P(r,this.getViewportSize_(),[i[0]/2+n[3],i[1]/2+n[0]],t,o)}return{center:r.slice(0),projection:void 0!==e?e:null,resolution:t,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:o,zoom:this.getZoom()}},t.prototype.getZoom=function(){var e,t=this.getResolution();return void 0!==t&&(e=this.getZoomForResolution(t)),e},t.prototype.getZoomForResolution=function(e){var t,o,r=this.minZoom_||0;if(this.resolutions_){var n=Object(A.linearFindNearest)(this.resolutions_,e,1);r=n,t=this.resolutions_[n],o=n==this.resolutions_.length-1?2:t/this.resolutions_[n+1]}else t=this.maxResolution_,o=this.zoomFactor_;return r+Math.log(t/e)/Math.log(o)},t.prototype.getResolutionForZoom=function(e){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;var t=Object(g.clamp)(Math.floor(e),0,this.resolutions_.length-2),o=this.resolutions_[t]/this.resolutions_[t+1];return this.resolutions_[t]/Math.pow(o,Object(g.clamp)(e-t,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,e-this.minZoom_)},t.prototype.fit=function(e,t){var o;if(Object(h.assert)(Array.isArray(e)||"function"==typeof e.getSimplifiedGeometry,24),Array.isArray(e)){Object(h.assert)(!Object(b.isEmpty)(e),25);var r=Object(c.fromUserExtent)(e,this.getProjection());o=Object(C.fromExtent)(r)}else if(e.getType()===i.default.CIRCLE){r=Object(c.fromUserExtent)(e.getExtent(),this.getProjection());(o=Object(C.fromExtent)(r)).rotate(this.getRotation(),Object(b.getCenter)(r))}else{var n=Object(c.getUserProjection)();o=n?e.clone().transform(n,this.getProjection()):e}this.fitInternal(o,t)},t.prototype.rotatedExtentForGeometry=function(e){for(var t=this.getRotation(),o=Math.cos(t),r=Math.sin(-t),n=e.getFlatCoordinates(),i=e.getStride(),s=1/0,a=1/0,l=-1/0,u=-1/0,c=0,d=n.length;c<d;c+=i){var p=n[c]*o-n[c+1]*r,h=n[c]*r+n[c+1]*o;s=Math.min(s,p),a=Math.min(a,h),l=Math.max(l,p),u=Math.max(u,h)}return[s,a,l,u]},t.prototype.fitInternal=function(e,t){var o=t||{},r=o.size;r||(r=this.getViewportSizeMinusPadding_());var n,i=void 0!==o.padding?o.padding:[0,0,0,0],s=void 0!==o.nearest&&o.nearest;n=void 0!==o.minResolution?o.minResolution:void 0!==o.maxZoom?this.getResolutionForZoom(o.maxZoom):0;var a=this.rotatedExtentForGeometry(e),l=this.getResolutionForExtentInternal(a,[r[0]-i[1]-i[3],r[1]-i[0]-i[2]]);l=isNaN(l)?n:Math.max(l,n),l=this.getConstrainedResolution(l,s?0:1);var u=this.getRotation(),c=Math.sin(u),p=Math.cos(u),h=Object(b.getCenter)(a);h[0]+=(i[1]-i[3])/2*l,h[1]+=(i[0]-i[2])/2*l;var f=h[0]*p-h[1]*c,m=h[1]*p+h[0]*c,g=this.getConstrainedCenter([f,m],l),y=o.callback?o.callback:d.VOID;void 0!==o.duration?this.animateInternal({resolution:l,center:g,duration:o.duration,easing:o.easing},y):(this.targetResolution_=l,this.targetCenter_=g,this.applyTargetState_(!1,!0),O(y,!0))},t.prototype.centerOn=function(e,t,o){this.centerOnInternal(Object(c.fromUserCoordinate)(e,this.getProjection()),t,o)},t.prototype.centerOnInternal=function(e,t,o){this.setCenterInternal(P(e,t,o,this.getResolution(),this.getRotation()))},t.prototype.calculateCenterShift=function(e,t,o,r){var n,i=this.padding_;if(i&&e){var s=this.getViewportSizeMinusPadding_(-o),a=P(e,r,[s[0]/2+i[3],s[1]/2+i[0]],t,o);n=[e[0]-a[0],e[1]-a[1]]}return n},t.prototype.isDef=function(){return!!this.getCenterInternal()&&void 0!==this.getResolution()},t.prototype.adjustCenter=function(e){var t=Object(c.toUserCoordinate)(this.targetCenter_,this.getProjection());this.setCenter([t[0]+e[0],t[1]+e[1]])},t.prototype.adjustCenterInternal=function(e){var t=this.targetCenter_;this.setCenterInternal([t[0]+e[0],t[1]+e[1]])},t.prototype.adjustResolution=function(e,t){var o=t&&Object(c.fromUserCoordinate)(t,this.getProjection());this.adjustResolutionInternal(e,o)},t.prototype.adjustResolutionInternal=function(e,t){var o=this.getAnimating()||this.getInteracting(),r=this.getViewportSize_(this.getRotation()),n=this.constraints_.resolution(this.targetResolution_*e,0,r,o);t&&(this.targetCenter_=this.calculateCenterZoom(n,t)),this.targetResolution_*=e,this.applyTargetState_()},t.prototype.adjustZoom=function(e,t){this.adjustResolution(Math.pow(this.zoomFactor_,-e),t)},t.prototype.adjustRotation=function(e,t){t&&(t=Object(c.fromUserCoordinate)(t,this.getProjection())),this.adjustRotationInternal(e,t)},t.prototype.adjustRotationInternal=function(e,t){var o=this.getAnimating()||this.getInteracting(),r=this.constraints_.rotation(this.targetRotation_+e,o);t&&(this.targetCenter_=this.calculateCenterRotate(r,t)),this.targetRotation_+=e,this.applyTargetState_()},t.prototype.setCenter=function(e){this.setCenterInternal(Object(c.fromUserCoordinate)(e,this.getProjection()))},t.prototype.setCenterInternal=function(e){this.targetCenter_=e,this.applyTargetState_()},t.prototype.setHint=function(e,t){return this.hints_[e]+=t,this.changed(),this.hints_[e]},t.prototype.setResolution=function(e){this.targetResolution_=e,this.applyTargetState_()},t.prototype.setRotation=function(e){this.targetRotation_=e,this.applyTargetState_()},t.prototype.setZoom=function(e){this.setResolution(this.getResolutionForZoom(e))},t.prototype.applyTargetState_=function(e,t){var o=this.getAnimating()||this.getInteracting()||t,r=this.constraints_.rotation(this.targetRotation_,o),n=this.getViewportSize_(r),i=this.constraints_.resolution(this.targetResolution_,0,n,o),s=this.constraints_.center(this.targetCenter_,i,n,o,this.calculateCenterShift(this.targetCenter_,i,r,n));this.get(l.default.ROTATION)!==r&&this.set(l.default.ROTATION,r),this.get(l.default.RESOLUTION)!==i&&this.set(l.default.RESOLUTION,i),this.get(l.default.CENTER)&&Object(p.equals)(this.get(l.default.CENTER),s)||this.set(l.default.CENTER,s),this.getAnimating()&&!e&&this.cancelAnimations(),this.cancelAnchor_=void 0},t.prototype.resolveConstraints=function(e,t,o){var r=void 0!==e?e:200,n=t||0,i=this.constraints_.rotation(this.targetRotation_),s=this.getViewportSize_(i),a=this.constraints_.resolution(this.targetResolution_,n,s),l=this.constraints_.center(this.targetCenter_,a,s,!1,this.calculateCenterShift(this.targetCenter_,a,i,s));if(0===r&&!this.cancelAnchor_)return this.targetResolution_=a,this.targetRotation_=i,this.targetCenter_=l,void this.applyTargetState_();var u=o||(0===r?this.cancelAnchor_:void 0);this.cancelAnchor_=void 0,this.getResolution()===a&&this.getRotation()===i&&this.getCenterInternal()&&Object(p.equals)(this.getCenterInternal(),l)||(this.getAnimating()&&this.cancelAnimations(),this.animateInternal({rotation:i,center:l,resolution:a,duration:r,easing:_.easeOut,anchor:u}))},t.prototype.beginInteraction=function(){this.resolveConstraints(0),this.setHint(a.default.INTERACTING,1)},t.prototype.endInteraction=function(e,t,o){var r=o&&Object(c.fromUserCoordinate)(o,this.getProjection());this.endInteractionInternal(e,t,r)},t.prototype.endInteractionInternal=function(e,t,o){this.setHint(a.default.INTERACTING,-1),this.resolveConstraints(e,t,o)},t.prototype.getConstrainedCenter=function(e,t){var o=this.getViewportSize_(this.getRotation());return this.constraints_.center(e,t||this.getResolution(),o)},t.prototype.getConstrainedZoom=function(e,t){var o=this.getResolutionForZoom(e);return this.getZoomForResolution(this.getConstrainedResolution(o,t))},t.prototype.getConstrainedResolution=function(e,t){var o=t||0,r=this.getViewportSize_(this.getRotation());return this.constraints_.resolution(e,o,r)},t}(n.default);function O(e,t){setTimeout((function(){e(t)}),0)}function I(e){if(void 0!==e.extent){var t=void 0===e.smoothExtentConstraint||e.smoothExtentConstraint;return Object(m.createExtent)(e.extent,e.constrainOnlyCenter,t)}var o=Object(c.createProjection)(e.projection,"EPSG:3857");if(!0!==e.multiWorld&&o.isGlobal()){var r=o.getExtent().slice();return r[0]=-1/0,r[2]=1/0,Object(m.createExtent)(r,!1,!1)}return m.none}function x(e){var t,o,r,n=void 0!==e.minZoom?e.minZoom:S,i=void 0!==e.maxZoom?e.maxZoom:28,a=void 0!==e.zoomFactor?e.zoomFactor:2,l=void 0!==e.multiWorld&&e.multiWorld,d=void 0===e.smoothResolutionConstraint||e.smoothResolutionConstraint,p=void 0!==e.showFullExtent&&e.showFullExtent,h=Object(c.createProjection)(e.projection,"EPSG:3857"),f=h.getExtent(),m=e.constrainOnlyCenter,g=e.extent;if(l||g||!h.isGlobal()||(m=!1,g=f),void 0!==e.resolutions){var v=e.resolutions;o=v[n],r=void 0!==v[i]?v[i]:v[v.length-1],t=e.constrainResolution?Object(y.createSnapToResolutions)(v,d,!m&&g,p):Object(y.createMinMaxResolution)(o,r,d,!m&&g,p)}else{var _=(f?Math.max(Object(b.getWidth)(f),Object(b.getHeight)(f)):360*c.METERS_PER_UNIT[s.default.DEGREES]/h.getMetersPerUnit())/u.DEFAULT_TILE_SIZE/Math.pow(2,S),A=_/Math.pow(2,28-S);void 0!==(o=e.maxResolution)?n=0:o=_/Math.pow(a,n),void 0===(r=e.minResolution)&&(r=void 0!==e.maxZoom?void 0!==e.maxResolution?o/Math.pow(a,i):_/Math.pow(a,i):A),i=n+Math.floor(Math.log(o/r)/Math.log(a)),r=o/Math.pow(a,i-n),t=e.constrainResolution?Object(y.createSnapToPower)(a,o,r,d,!m&&g,p):Object(y.createMinMaxResolution)(o,r,d,!m&&g,p)}return{constraint:t,maxResolution:o,minResolution:r,minZoom:n,zoomFactor:a}}function j(e){if(void 0===e.enableRotation||e.enableRotation){var t=e.constrainRotation;return void 0===t||!0===t?Object(v.createSnapToZero)():!1===t?v.none:"number"==typeof t?Object(v.createSnapToN)(t):v.none}return v.disable}function T(e){return!(e.sourceCenter&&e.targetCenter&&!Object(p.equals)(e.sourceCenter,e.targetCenter))&&(e.sourceResolution===e.targetResolution&&e.sourceRotation===e.targetRotation)}function P(e,t,o,r,n){var i=Math.cos(-n),s=Math.sin(-n),a=e[0]*i-e[1]*s,l=e[1]*i+e[0]*s;return[(a+=(t[0]/2-o[0])*r)*i-(l+=(o[1]-t[1]/2)*r)*(s=-s),l*i+a*s]}t.default=w},"./node_modules/ol/ViewHint.js":function(e,t,o){"use strict";o.r(t),t.default={ANIMATING:0,INTERACTING:1}},"./node_modules/ol/ViewProperty.js":function(e,t,o){"use strict";o.r(t),t.default={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"}},"./node_modules/ol/array.js":function(e,t,o){"use strict";function r(e,t,o){for(var r,i,s=o||n,a=0,l=e.length,u=!1;a<l;)(i=+s(e[r=a+(l-a>>1)],t))<0?a=r+1:(l=r,u=!i);return u?a:~a}function n(e,t){return e>t?1:e<t?-1:0}function i(e,t){return e.indexOf(t)>=0}function s(e,t,o){var r=e.length;if(e[0]<=t)return 0;if(t<=e[r-1])return r-1;var n=void 0;if(o>0){for(n=1;n<r;++n)if(e[n]<t)return n-1}else if(o<0){for(n=1;n<r;++n)if(e[n]<=t)return n}else for(n=1;n<r;++n){if(e[n]==t)return n;if(e[n]<t)return"function"==typeof o?o(t,e[n-1],e[n])>0?n-1:n:e[n-1]-t<t-e[n]?n-1:n}return r-1}function a(e,t,o){for(;t<o;){var r=e[t];e[t]=e[o],e[o]=r,++t,--o}}function l(e,t){for(var o=Array.isArray(t)?t:[t],r=o.length,n=0;n<r;n++)e[e.length]=o[n]}function u(e,t){var o=e.indexOf(t),r=o>-1;return r&&e.splice(o,1),r}function c(e,t){for(var o,r=e.length>>>0,n=0;n<r;n++)if(t(o=e[n],n,e))return o;return null}function d(e,t){var o=e.length;if(o!==t.length)return!1;for(var r=0;r<o;r++)if(e[r]!==t[r])return!1;return!0}function p(e,t){var o,r=e.length,n=Array(e.length);for(o=0;o<r;o++)n[o]={index:o,value:e[o]};for(n.sort((function(e,o){return t(e.value,o.value)||e.index-o.index})),o=0;o<e.length;o++)e[o]=n[o].value}function h(e,t){var o;return!e.every((function(r,n){return o=n,!t(r,n,e)}))?o:-1}function f(e,t,o){var r=t||n;return e.every((function(t,n){if(0===n)return!0;var i=r(e[n-1],t);return!(i>0||o&&0===i)}))}o.r(t),o.d(t,"binarySearch",(function(){return r})),o.d(t,"numberSafeCompareFunction",(function(){return n})),o.d(t,"includes",(function(){return i})),o.d(t,"linearFindNearest",(function(){return s})),o.d(t,"reverseSubArray",(function(){return a})),o.d(t,"extend",(function(){return l})),o.d(t,"remove",(function(){return u})),o.d(t,"find",(function(){return c})),o.d(t,"equals",(function(){return d})),o.d(t,"stableSort",(function(){return p})),o.d(t,"findIndex",(function(){return h})),o.d(t,"isSorted",(function(){return f}))},"./node_modules/ol/asserts.js":function(e,t,o){"use strict";o.r(t),o.d(t,"assert",(function(){return n}));var r=o("./node_modules/ol/AssertionError.js");function n(e,t){if(!e)throw new r.default(t)}},"./node_modules/ol/centerconstraint.js":function(e,t,o){"use strict";o.r(t),o.d(t,"createExtent",(function(){return n})),o.d(t,"none",(function(){return i}));var r=o("./node_modules/ol/math.js");function n(e,t,o){return function(n,i,s,a,l){if(n){var u=t?0:s[0]*i,c=t?0:s[1]*i,d=l?l[0]:0,p=l?l[1]:0,h=e[0]+u/2+d,f=e[2]-u/2+d,m=e[1]+c/2+p,g=e[3]-c/2+p;h>f&&(f=h=(f+h)/2),m>g&&(g=m=(g+m)/2);var y=Object(r.clamp)(n[0],h,f),v=Object(r.clamp)(n[1],m,g),_=30*i;return a&&o&&(y+=-_*Math.log(1+Math.max(0,h-n[0])/_)+_*Math.log(1+Math.max(0,n[0]-f)/_),v+=-_*Math.log(1+Math.max(0,m-n[1])/_)+_*Math.log(1+Math.max(0,n[1]-g)/_)),[y,v]}}}function i(e){return e}},"./node_modules/ol/color.js":function(e,t,o){"use strict";o.r(t),o.d(t,"asString",(function(){return a})),o.d(t,"fromString",(function(){return d})),o.d(t,"asArray",(function(){return p})),o.d(t,"normalize",(function(){return h})),o.d(t,"toString",(function(){return f})),o.d(t,"isStringColor",(function(){return m}));var r=o("./node_modules/ol/asserts.js"),n=o("./node_modules/ol/math.js"),i=/^#([a-f0-9]{3}|[a-f0-9]{4}(?:[a-f0-9]{2}){0,2})$/i,s=/^([a-z]*)$|^hsla?\(.*\)$/i;function a(e){return"string"==typeof e?e:f(e)}function l(e){var t=document.createElement("div");if(t.style.color=e,""!==t.style.color){document.body.appendChild(t);var o=getComputedStyle(t).color;return document.body.removeChild(t),o}return""}var u,c,d=(u={},c=0,function(e){var t;if(u.hasOwnProperty(e))t=u[e];else{if(c>=1024){var o=0;for(var n in u)3&o++||(delete u[n],--c)}t=function(e){var t,o,n,a,u;if(s.exec(e)&&(e=l(e)),i.exec(e)){var c=e.length-1,d=void 0;d=c<=4?1:2;var p=4===c||8===c;t=parseInt(e.substr(1+0*d,d),16),o=parseInt(e.substr(1+1*d,d),16),n=parseInt(e.substr(1+2*d,d),16),a=p?parseInt(e.substr(1+3*d,d),16):255,1==d&&(t=(t<<4)+t,o=(o<<4)+o,n=(n<<4)+n,p&&(a=(a<<4)+a)),u=[t,o,n,a/255]}else 0==e.indexOf("rgba(")?h(u=e.slice(5,-1).split(",").map(Number)):0==e.indexOf("rgb(")?((u=e.slice(4,-1).split(",").map(Number)).push(1),h(u)):Object(r.assert)(!1,14);return u}(e),u[e]=t,++c}return t});function p(e){return Array.isArray(e)?e:d(e)}function h(e){return e[0]=Object(n.clamp)(e[0]+.5|0,0,255),e[1]=Object(n.clamp)(e[1]+.5|0,0,255),e[2]=Object(n.clamp)(e[2]+.5|0,0,255),e[3]=Object(n.clamp)(e[3],0,1),e}function f(e){var t=e[0];t!=(0|t)&&(t=t+.5|0);var o=e[1];o!=(0|o)&&(o=o+.5|0);var r=e[2];return r!=(0|r)&&(r=r+.5|0),"rgba("+t+","+o+","+r+","+(void 0===e[3]?1:e[3])+")"}function m(e){return s.test(e)&&(e=l(e)),i.test(e)||0===e.indexOf("rgba(")||0===e.indexOf("rgb(")}},"./node_modules/ol/colorlike.js":function(e,t,o){"use strict";o.r(t),o.d(t,"asColorLike",(function(){return n}));var r=o("./node_modules/ol/color.js");function n(e){return Array.isArray(e)?Object(r.toString)(e):e}},"./node_modules/ol/control.js":function(e,t,o){"use strict";o.r(t),o.d(t,"defaults",(function(){return f}));var r=o("./node_modules/ol/control/Attribution.js"),n=o("./node_modules/ol/Collection.js"),i=o("./node_modules/ol/control/Rotate.js"),s=o("./node_modules/ol/control/Zoom.js");o.d(t,"Attribution",(function(){return r.default}));var a=o("./node_modules/ol/control/Control.js");o.d(t,"Control",(function(){return a.default}));var l=o("./node_modules/ol/control/FullScreen.js");o.d(t,"FullScreen",(function(){return l.default}));var u=o("./node_modules/ol/control/MousePosition.js");o.d(t,"MousePosition",(function(){return u.default}));var c=o("./node_modules/ol/control/OverviewMap.js");o.d(t,"OverviewMap",(function(){return c.default})),o.d(t,"Rotate",(function(){return i.default}));var d=o("./node_modules/ol/control/ScaleLine.js");o.d(t,"ScaleLine",(function(){return d.default})),o.d(t,"Zoom",(function(){return s.default}));var p=o("./node_modules/ol/control/ZoomSlider.js");o.d(t,"ZoomSlider",(function(){return p.default}));var h=o("./node_modules/ol/control/ZoomToExtent.js");function f(e){var t=e||{},o=new n.default;return(void 0===t.zoom||t.zoom)&&o.push(new s.default(t.zoomOptions)),(void 0===t.rotate||t.rotate)&&o.push(new i.default(t.rotateOptions)),(void 0===t.attribution||t.attribution)&&o.push(new r.default(t.attributionOptions)),o}o.d(t,"ZoomToExtent",(function(){return h.default}))},"./node_modules/ol/control/Attribution.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/control/Control.js"),i=o("./node_modules/ol/events/EventType.js"),s=o("./node_modules/ol/css.js"),a=o("./node_modules/ol/array.js"),l=o("./node_modules/ol/layer/Layer.js"),u=o("./node_modules/ol/dom.js"),c=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),d=function(e){function t(t){var o=this,r=t||{};(o=e.call(this,{element:document.createElement("div"),render:r.render,target:r.target})||this).ulElement_=document.createElement("ul"),o.collapsed_=void 0===r.collapsed||r.collapsed,o.userCollapsed_=o.collapsed_,o.overrideCollapsible_=void 0!==r.collapsible,o.collapsible_=void 0===r.collapsible||r.collapsible,o.collapsible_||(o.collapsed_=!1);var n=void 0!==r.className?r.className:"ol-attribution",a=void 0!==r.tipLabel?r.tipLabel:"Attributions",l=void 0!==r.expandClassName?r.expandClassName:n+"-expand",u=void 0!==r.collapseLabel?r.collapseLabel:"›",c=void 0!==r.collapseClassName?r.collapseClassName:n+"-collpase";"string"==typeof u?(o.collapseLabel_=document.createElement("span"),o.collapseLabel_.textContent=u,o.collapseLabel_.className=c):o.collapseLabel_=u;var d=void 0!==r.label?r.label:"i";"string"==typeof d?(o.label_=document.createElement("span"),o.label_.textContent=d,o.label_.className=l):o.label_=d;var p=o.collapsible_&&!o.collapsed_?o.collapseLabel_:o.label_;o.toggleButton_=document.createElement("button"),o.toggleButton_.setAttribute("type","button"),o.toggleButton_.setAttribute("aria-expanded",String(!o.collapsed_)),o.toggleButton_.title=a,o.toggleButton_.appendChild(p),o.toggleButton_.addEventListener(i.default.CLICK,o.handleClick_.bind(o),!1);var h=n+" "+s.CLASS_UNSELECTABLE+" "+s.CLASS_CONTROL+(o.collapsed_&&o.collapsible_?" "+s.CLASS_COLLAPSED:"")+(o.collapsible_?"":" ol-uncollapsible"),f=o.element;return f.className=h,f.appendChild(o.toggleButton_),f.appendChild(o.ulElement_),o.renderedAttributions_=[],o.renderedVisible_=!0,o}return c(t,e),t.prototype.collectSourceAttributions_=function(e){for(var t={},o=[],r=!0,n=e.layerStatesArray,i=0,s=n.length;i<s;++i){var a=n[i];if(Object(l.inView)(a,e.viewState)){var u=a.layer.getSource();if(u){var c=u.getAttributions();if(c){var d=c(e);if(d)if(r=r&&!1!==u.getAttributionsCollapsible(),Array.isArray(d))for(var p=0,h=d.length;p<h;++p)d[p]in t||(o.push(d[p]),t[d[p]]=!0);else d in t||(o.push(d),t[d]=!0)}}}}return this.overrideCollapsible_||this.setCollapsible(r),o},t.prototype.updateElement_=function(e){if(e){var t=this.collectSourceAttributions_(e),o=t.length>0;if(this.renderedVisible_!=o&&(this.element.style.display=o?"":"none",this.renderedVisible_=o),!Object(a.equals)(t,this.renderedAttributions_)){Object(u.removeChildren)(this.ulElement_);for(var r=0,n=t.length;r<n;++r){var i=document.createElement("li");i.innerHTML=t[r],this.ulElement_.appendChild(i)}this.renderedAttributions_=t}}else this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1)},t.prototype.handleClick_=function(e){e.preventDefault(),this.handleToggle_(),this.userCollapsed_=this.collapsed_},t.prototype.handleToggle_=function(){this.element.classList.toggle(s.CLASS_COLLAPSED),this.collapsed_?Object(u.replaceNode)(this.collapseLabel_,this.label_):Object(u.replaceNode)(this.label_,this.collapseLabel_),this.collapsed_=!this.collapsed_,this.toggleButton_.setAttribute("aria-expanded",String(!this.collapsed_))},t.prototype.getCollapsible=function(){return this.collapsible_},t.prototype.setCollapsible=function(e){this.collapsible_!==e&&(this.collapsible_=e,this.element.classList.toggle("ol-uncollapsible"),this.userCollapsed_&&this.handleToggle_())},t.prototype.setCollapsed=function(e){this.userCollapsed_=e,this.collapsible_&&this.collapsed_!==e&&this.handleToggle_()},t.prototype.getCollapsed=function(){return this.collapsed_},t.prototype.render=function(e){this.updateElement_(e.frameState)},t}(n.default);t.default=d},"./node_modules/ol/control/Control.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/Object.js"),i=o("./node_modules/ol/MapEventType.js"),s=o("./node_modules/ol/functions.js"),a=o("./node_modules/ol/events.js"),l=o("./node_modules/ol/dom.js"),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),c=function(e){function t(t){var o=e.call(this)||this,r=t.element;return!r||t.target||r.style.pointerEvents||(r.style.pointerEvents="auto"),o.element=r||null,o.target_=null,o.map_=null,o.listenerKeys=[],t.render&&(o.render=t.render),t.target&&o.setTarget(t.target),o}return u(t,e),t.prototype.disposeInternal=function(){Object(l.removeNode)(this.element),e.prototype.disposeInternal.call(this)},t.prototype.getMap=function(){return this.map_},t.prototype.setMap=function(e){this.map_&&Object(l.removeNode)(this.element);for(var t=0,o=this.listenerKeys.length;t<o;++t)Object(a.unlistenByKey)(this.listenerKeys[t]);(this.listenerKeys.length=0,this.map_=e,this.map_)&&((this.target_?this.target_:e.getOverlayContainerStopEvent()).appendChild(this.element),this.render!==s.VOID&&this.listenerKeys.push(Object(a.listen)(e,i.default.POSTRENDER,this.render,this)),e.render())},t.prototype.render=function(e){},t.prototype.setTarget=function(e){this.target_="string"==typeof e?document.getElementById(e):e},t}(n.default);t.default=c},"./node_modules/ol/control/FullScreen.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/control/Control.js"),i=o("./node_modules/ol/events/EventType.js"),s=o("./node_modules/ol/css.js"),a=o("./node_modules/ol/events.js"),l=o("./node_modules/ol/dom.js"),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),c=["fullscreenchange","webkitfullscreenchange","MSFullscreenChange"],d="enterfullscreen",p="leavefullscreen",h=function(e){function t(t){var o=this,r=t||{};(o=e.call(this,{element:document.createElement("div"),target:r.target})||this).on,o.once,o.un,o.cssClassName_=void 0!==r.className?r.className:"ol-full-screen",o.activeClassName_=void 0!==r.activeClassName?r.activeClassName.split(" "):[o.cssClassName_+"-true"],o.inactiveClassName_=void 0!==r.inactiveClassName?r.inactiveClassName.split(" "):[o.cssClassName_+"-false"];var n=void 0!==r.label?r.label:"⤢";o.labelNode_="string"==typeof n?document.createTextNode(n):n;var a=void 0!==r.labelActive?r.labelActive:"×";o.labelActiveNode_="string"==typeof a?document.createTextNode(a):a,o.button_=document.createElement("button");var l=r.tipLabel?r.tipLabel:"Toggle full-screen";o.setClassName_(o.button_,m()),o.button_.setAttribute("type","button"),o.button_.title=l,o.button_.appendChild(o.labelNode_),o.button_.addEventListener(i.default.CLICK,o.handleClick_.bind(o),!1);var u=o.cssClassName_+" "+s.CLASS_UNSELECTABLE+" "+s.CLASS_CONTROL+" "+(f()?"":s.CLASS_UNSUPPORTED),c=o.element;return c.className=u,c.appendChild(o.button_),o.keys_=void 0!==r.keys&&r.keys,o.source_=r.source,o}return u(t,e),t.prototype.handleClick_=function(e){e.preventDefault(),this.handleFullScreen_()},t.prototype.handleFullScreen_=function(){if(f()){var e=this.getMap();if(e)if(m())document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.webkitExitFullscreen&&document.webkitExitFullscreen();else{var t=void 0;t=this.source_?"string"==typeof this.source_?document.getElementById(this.source_):this.source_:e.getTargetElement(),this.keys_?function(e){e.webkitRequestFullscreen?e.webkitRequestFullscreen():g(e)}(t):g(t)}}},t.prototype.handleFullScreenChange_=function(){var e=this.getMap();m()?(this.setClassName_(this.button_,!0),Object(l.replaceNode)(this.labelActiveNode_,this.labelNode_),this.dispatchEvent(d)):(this.setClassName_(this.button_,!1),Object(l.replaceNode)(this.labelNode_,this.labelActiveNode_),this.dispatchEvent(p)),e&&e.updateSize()},t.prototype.setClassName_=function(e,t){var o,r,n,i=this.activeClassName_,s=this.inactiveClassName_,a=t?i:s;(o=e.classList).remove.apply(o,i),(r=e.classList).remove.apply(r,s),(n=e.classList).add.apply(n,a)},t.prototype.setMap=function(t){if(e.prototype.setMap.call(this,t),t)for(var o=0,r=c.length;o<r;++o)this.listenerKeys.push(Object(a.listen)(document,c[o],this.handleFullScreenChange_,this))},t}(n.default);function f(){var e=document.body;return!!(e.webkitRequestFullscreen||e.msRequestFullscreen&&document.msFullscreenEnabled||e.requestFullscreen&&document.fullscreenEnabled)}function m(){return!!(document.webkitIsFullScreen||document.msFullscreenElement||document.fullscreenElement)}function g(e){e.requestFullscreen?e.requestFullscreen():e.msRequestFullscreen?e.msRequestFullscreen():e.webkitRequestFullscreen&&e.webkitRequestFullscreen()}t.default=h},"./node_modules/ol/control/MousePosition.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/control/Control.js"),i=o("./node_modules/ol/pointer/EventType.js"),s=o("./node_modules/ol/proj.js"),a=o("./node_modules/ol/events.js"),l=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),u="projection",c="coordinateFormat",d=function(e){function t(t){var o=this,r=t||{},n=document.createElement("div");n.className=void 0!==r.className?r.className:"ol-mouse-position",(o=e.call(this,{element:n,render:r.render,target:r.target})||this).on,o.once,o.un,o.addChangeListener(u,o.handleProjectionChanged_),r.coordinateFormat&&o.setCoordinateFormat(r.coordinateFormat),r.projection&&o.setProjection(r.projection);var i=!0,s="&#160;";return"undefinedHTML"in r?(void 0!==r.undefinedHTML&&(s=r.undefinedHTML),i=!!s):"placeholder"in r&&(!1===r.placeholder?i=!1:s=String(r.placeholder)),o.placeholder_=s,o.renderOnMouseOut_=i,o.renderedHTML_=n.innerHTML,o.mapProjection_=null,o.transform_=null,o}return l(t,e),t.prototype.handleProjectionChanged_=function(){this.transform_=null},t.prototype.getCoordinateFormat=function(){return this.get(c)},t.prototype.getProjection=function(){return this.get(u)},t.prototype.handleMouseMove=function(e){var t=this.getMap();this.updateHTML_(t.getEventPixel(e))},t.prototype.handleMouseOut=function(e){this.updateHTML_(null)},t.prototype.setMap=function(t){if(e.prototype.setMap.call(this,t),t){var o=t.getViewport();this.listenerKeys.push(Object(a.listen)(o,i.default.POINTERMOVE,this.handleMouseMove,this)),this.renderOnMouseOut_&&this.listenerKeys.push(Object(a.listen)(o,i.default.POINTEROUT,this.handleMouseOut,this)),this.updateHTML_(null)}},t.prototype.setCoordinateFormat=function(e){this.set(c,e)},t.prototype.setProjection=function(e){this.set(u,Object(s.get)(e))},t.prototype.updateHTML_=function(e){var t=this.placeholder_;if(e&&this.mapProjection_){if(!this.transform_){var o=this.getProjection();this.transform_=o?Object(s.getTransformFromProjections)(this.mapProjection_,o):s.identityTransform}var r=this.getMap().getCoordinateFromPixelInternal(e);if(r){var n=Object(s.getUserProjection)();n&&(this.transform_=Object(s.getTransformFromProjections)(this.mapProjection_,n)),this.transform_(r,r);var i=this.getCoordinateFormat();t=i?i(r):r.toString()}}this.renderedHTML_&&t===this.renderedHTML_||(this.element.innerHTML=t,this.renderedHTML_=t)},t.prototype.render=function(e){var t=e.frameState;t?this.mapProjection_!=t.viewState.projection&&(this.mapProjection_=t.viewState.projection,this.transform_=null):this.mapProjection_=null},t}(n.default);t.default=d},"./node_modules/ol/control/OverviewMap.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/renderer/Composite.js"),i=o("./node_modules/ol/control/Control.js"),s=o("./node_modules/ol/events/EventType.js"),a=o("./node_modules/ol/MapEventType.js"),l=o("./node_modules/ol/MapProperty.js"),u=o("./node_modules/ol/ObjectEventType.js"),c=o("./node_modules/ol/Overlay.js"),d=o("./node_modules/ol/OverlayPositioning.js"),p=o("./node_modules/ol/PluggableMap.js"),h=o("./node_modules/ol/View.js"),f=o("./node_modules/ol/ViewProperty.js"),m=o("./node_modules/ol/css.js"),g=o("./node_modules/ol/extent.js"),y=o("./node_modules/ol/events.js"),v=o("./node_modules/ol/geom/Polygon.js"),_=o("./node_modules/ol/dom.js"),b=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),A=.75,C=.1,E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b(t,e),t.prototype.createRenderer=function(){return new n.default(this)},t}(p.default),S=function(e){function t(t){var o=this,r=t||{};(o=e.call(this,{element:document.createElement("div"),render:r.render,target:r.target})||this).boundHandleRotationChanged_=o.handleRotationChanged_.bind(o),o.collapsed_=void 0===r.collapsed||r.collapsed,o.collapsible_=void 0===r.collapsible||r.collapsible,o.collapsible_||(o.collapsed_=!1),o.rotateWithView_=void 0!==r.rotateWithView&&r.rotateWithView,o.viewExtent_=void 0;var n=void 0!==r.className?r.className:"ol-overviewmap",i=void 0!==r.tipLabel?r.tipLabel:"Overview map",a=void 0!==r.collapseLabel?r.collapseLabel:"‹";"string"==typeof a?(o.collapseLabel_=document.createElement("span"),o.collapseLabel_.textContent=a):o.collapseLabel_=a;var l=void 0!==r.label?r.label:"›";"string"==typeof l?(o.label_=document.createElement("span"),o.label_.textContent=l):o.label_=l;var u=o.collapsible_&&!o.collapsed_?o.collapseLabel_:o.label_,p=document.createElement("button");p.setAttribute("type","button"),p.title=i,p.appendChild(u),p.addEventListener(s.default.CLICK,o.handleClick_.bind(o),!1),o.ovmapDiv_=document.createElement("div"),o.ovmapDiv_.className="ol-overviewmap-map",o.view_=r.view,o.ovmap_=new E({view:r.view});var h=o.ovmap_;r.layers&&r.layers.forEach((function(e){h.addLayer(e)}));var f=document.createElement("div");f.className="ol-overviewmap-box",f.style.boxSizing="border-box",o.boxOverlay_=new c.default({position:[0,0],positioning:d.default.CENTER_CENTER,element:f}),o.ovmap_.addOverlay(o.boxOverlay_);var g=n+" "+m.CLASS_UNSELECTABLE+" "+m.CLASS_CONTROL+(o.collapsed_&&o.collapsible_?" "+m.CLASS_COLLAPSED:"")+(o.collapsible_?"":" ol-uncollapsible"),y=o.element;y.className=g,y.appendChild(o.ovmapDiv_),y.appendChild(p);var v=o,_=o.boxOverlay_,b=o.boxOverlay_.getElement(),A=function(e){var t,o={clientX:(t=e).clientX,clientY:t.clientY},r=h.getEventCoordinateInternal(o);_.setPosition(r)},C=function(e){var t=h.getEventCoordinateInternal(e);v.getMap().getView().setCenterInternal(t),window.removeEventListener("mousemove",A),window.removeEventListener("mouseup",C)};return b.addEventListener("mousedown",(function(){window.addEventListener("mousemove",A),window.addEventListener("mouseup",C)})),o}return b(t,e),t.prototype.setMap=function(t){var o=this.getMap();if(t!==o){if(o){var r=o.getView();r&&this.unbindView_(r),this.ovmap_.setTarget(null)}if(e.prototype.setMap.call(this,t),t){this.ovmap_.setTarget(this.ovmapDiv_),this.listenerKeys.push(Object(y.listen)(t,u.default.PROPERTYCHANGE,this.handleMapPropertyChange_,this));var n=t.getView();n&&(this.bindView_(n),n.isDef()&&(this.ovmap_.updateSize(),this.resetExtent_())),this.ovmap_.isRendered()||this.updateBoxAfterOvmapIsRendered_()}}},t.prototype.handleMapPropertyChange_=function(e){if(e.key===l.default.VIEW){var t=e.oldValue;t&&this.unbindView_(t);var o=this.getMap().getView();this.bindView_(o)}else this.ovmap_.isRendered()||e.key!==l.default.TARGET&&e.key!==l.default.SIZE||this.ovmap_.updateSize()},t.prototype.bindView_=function(e){if(!this.view_){var t=new h.default({projection:e.getProjection()});this.ovmap_.setView(t)}e.addChangeListener(f.default.ROTATION,this.boundHandleRotationChanged_),this.handleRotationChanged_()},t.prototype.unbindView_=function(e){e.removeChangeListener(f.default.ROTATION,this.boundHandleRotationChanged_)},t.prototype.handleRotationChanged_=function(){this.rotateWithView_&&this.ovmap_.getView().setRotation(this.getMap().getView().getRotation())},t.prototype.validateExtent_=function(){var e=this.getMap(),t=this.ovmap_;if(e.isRendered()&&t.isRendered()){var o=e.getSize(),r=e.getView().calculateExtentInternal(o);if(!this.viewExtent_||!Object(g.equals)(r,this.viewExtent_)){this.viewExtent_=r;var n=t.getSize(),i=t.getView().calculateExtentInternal(n),s=t.getPixelFromCoordinateInternal(Object(g.getTopLeft)(r)),a=t.getPixelFromCoordinateInternal(Object(g.getBottomRight)(r)),l=Math.abs(s[0]-a[0]),u=Math.abs(s[1]-a[1]),c=n[0],d=n[1];l<c*C||u<d*C||l>c*A||u>d*A?this.resetExtent_():Object(g.containsExtent)(i,r)||this.recenter_()}}},t.prototype.resetExtent_=function(){var e=this.getMap(),t=this.ovmap_,o=e.getSize(),r=e.getView().calculateExtentInternal(o),n=t.getView(),i=Math.log(7.5)/Math.LN2,s=1/(Math.pow(2,i/2)*C);Object(g.scaleFromCenter)(r,s),n.fitInternal(Object(v.fromExtent)(r))},t.prototype.recenter_=function(){var e=this.getMap(),t=this.ovmap_,o=e.getView();t.getView().setCenterInternal(o.getCenterInternal())},t.prototype.updateBox_=function(){var e=this.getMap(),t=this.ovmap_;if(e.isRendered()&&t.isRendered()){var o=e.getSize(),r=e.getView(),n=t.getView(),i=this.rotateWithView_?0:-r.getRotation(),s=this.boxOverlay_,a=this.boxOverlay_.getElement(),l=r.getCenterInternal(),u=r.getResolution(),c=n.getResolution(),d=o[0]*u/c,p=o[1]*u/c;if(s.setPosition(l),a){a.style.width=d+"px",a.style.height=p+"px";var h="rotate("+i+"rad)";a.style.transform=h}}},t.prototype.updateBoxAfterOvmapIsRendered_=function(){this.ovmapPostrenderKey_||(this.ovmapPostrenderKey_=Object(y.listenOnce)(this.ovmap_,a.default.POSTRENDER,(function(e){delete this.ovmapPostrenderKey_,this.updateBox_()}),this))},t.prototype.handleClick_=function(e){e.preventDefault(),this.handleToggle_()},t.prototype.handleToggle_=function(){this.element.classList.toggle(m.CLASS_COLLAPSED),this.collapsed_?Object(_.replaceNode)(this.collapseLabel_,this.label_):Object(_.replaceNode)(this.label_,this.collapseLabel_),this.collapsed_=!this.collapsed_;var e=this.ovmap_;if(!this.collapsed_){if(e.isRendered())return this.viewExtent_=void 0,void e.render();e.updateSize(),this.resetExtent_(),this.updateBoxAfterOvmapIsRendered_()}},t.prototype.getCollapsible=function(){return this.collapsible_},t.prototype.setCollapsible=function(e){this.collapsible_!==e&&(this.collapsible_=e,this.element.classList.toggle("ol-uncollapsible"),!e&&this.collapsed_&&this.handleToggle_())},t.prototype.setCollapsed=function(e){this.collapsible_&&this.collapsed_!==e&&this.handleToggle_()},t.prototype.getCollapsed=function(){return this.collapsed_},t.prototype.getRotateWithView=function(){return this.rotateWithView_},t.prototype.setRotateWithView=function(e){this.rotateWithView_!==e&&(this.rotateWithView_=e,0!==this.getMap().getView().getRotation()&&(this.rotateWithView_?this.handleRotationChanged_():this.ovmap_.getView().setRotation(0),this.viewExtent_=void 0,this.validateExtent_(),this.updateBox_()))},t.prototype.getOverviewMap=function(){return this.ovmap_},t.prototype.render=function(e){this.validateExtent_(),this.updateBox_()},t}(i.default);t.default=S},"./node_modules/ol/control/Rotate.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/control/Control.js"),i=o("./node_modules/ol/events/EventType.js"),s=o("./node_modules/ol/css.js"),a=o("./node_modules/ol/easing.js"),l=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),u=function(e){function t(t){var o=this,r=t||{};o=e.call(this,{element:document.createElement("div"),render:r.render,target:r.target})||this;var n=void 0!==r.className?r.className:"ol-rotate",a=void 0!==r.label?r.label:"⇧",l=void 0!==r.compassClassName?r.compassClassName:"ol-compass";o.label_=null,"string"==typeof a?(o.label_=document.createElement("span"),o.label_.className=l,o.label_.textContent=a):(o.label_=a,o.label_.classList.add(l));var u=r.tipLabel?r.tipLabel:"Reset rotation",c=document.createElement("button");c.className=n+"-reset",c.setAttribute("type","button"),c.title=u,c.appendChild(o.label_),c.addEventListener(i.default.CLICK,o.handleClick_.bind(o),!1);var d=n+" "+s.CLASS_UNSELECTABLE+" "+s.CLASS_CONTROL,p=o.element;return p.className=d,p.appendChild(c),o.callResetNorth_=r.resetNorth?r.resetNorth:void 0,o.duration_=void 0!==r.duration?r.duration:250,o.autoHide_=void 0===r.autoHide||r.autoHide,o.rotation_=void 0,o.autoHide_&&o.element.classList.add(s.CLASS_HIDDEN),o}return l(t,e),t.prototype.handleClick_=function(e){e.preventDefault(),void 0!==this.callResetNorth_?this.callResetNorth_():this.resetNorth_()},t.prototype.resetNorth_=function(){var e=this.getMap().getView();if(e){var t=e.getRotation();void 0!==t&&(this.duration_>0&&t%(2*Math.PI)!=0?e.animate({rotation:0,duration:this.duration_,easing:a.easeOut}):e.setRotation(0))}},t.prototype.render=function(e){var t=e.frameState;if(t){var o=t.viewState.rotation;if(o!=this.rotation_){var r="rotate("+o+"rad)";if(this.autoHide_){var n=this.element.classList.contains(s.CLASS_HIDDEN);n||0!==o?n&&0!==o&&this.element.classList.remove(s.CLASS_HIDDEN):this.element.classList.add(s.CLASS_HIDDEN)}this.label_.style.transform=r}this.rotation_=o}},t}(n.default);t.default=u},"./node_modules/ol/control/ScaleLine.js":function(e,t,o){"use strict";o.r(t),o.d(t,"Units",(function(){return d}));var r,n=o("./node_modules/ol/control/Control.js"),i=o("./node_modules/ol/proj/Units.js"),s=o("./node_modules/ol/css.js"),a=o("./node_modules/ol/proj.js"),l=o("./node_modules/ol/asserts.js"),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),c="units",d={DEGREES:"degrees",IMPERIAL:"imperial",NAUTICAL:"nautical",METRIC:"metric",US:"us"},p=[1,2,5],h=25.4/.28,f=function(e){function t(t){var o=this,r=t||{},n=void 0!==r.className?r.className:r.bar?"ol-scale-bar":"ol-scale-line";return(o=e.call(this,{element:document.createElement("div"),render:r.render,target:r.target})||this).on,o.once,o.un,o.innerElement_=document.createElement("div"),o.innerElement_.className=n+"-inner",o.element.className=n+" "+s.CLASS_UNSELECTABLE,o.element.appendChild(o.innerElement_),o.viewState_=null,o.minWidth_=void 0!==r.minWidth?r.minWidth:64,o.renderedVisible_=!1,o.renderedWidth_=void 0,o.renderedHTML_="",o.addChangeListener(c,o.handleUnitsChanged_),o.setUnits(r.units||d.METRIC),o.scaleBar_=r.bar||!1,o.scaleBarSteps_=r.steps||4,o.scaleBarText_=r.text||!1,o.dpi_=r.dpi||void 0,o}return u(t,e),t.prototype.getUnits=function(){return this.get(c)},t.prototype.handleUnitsChanged_=function(){this.updateElement_()},t.prototype.setUnits=function(e){this.set(c,e)},t.prototype.setDpi=function(e){this.dpi_=e},t.prototype.updateElement_=function(){var e=this.viewState_;if(e){var t=e.center,o=e.projection,r=this.getUnits(),n=r==d.DEGREES?i.default.DEGREES:i.default.METERS,s=Object(a.getPointResolution)(o,e.resolution,t,n),u=this.minWidth_*(this.dpi_||h)/h,c=u*s,f="";if(r==d.DEGREES){var m=a.METERS_PER_UNIT[i.default.DEGREES];(c*=m)<m/60?(f="″",s*=3600):c<m?(f="′",s*=60):f="°"}else r==d.IMPERIAL?c<.9144?(f="in",s/=.0254):c<1609.344?(f="ft",s/=.3048):(f="mi",s/=1609.344):r==d.NAUTICAL?(s/=1852,f="nm"):r==d.METRIC?c<.001?(f="μm",s*=1e6):c<1?(f="mm",s*=1e3):c<1e3?f="m":(f="km",s/=1e3):r==d.US?c<.9144?(f="in",s*=39.37):c<1609.344?(f="ft",s/=.30480061):(f="mi",s/=1609.3472):Object(l.assert)(!1,33);for(var g,y,v,_,b=3*Math.floor(Math.log(u*s)/Math.log(10));;){v=Math.floor(b/3);var A=Math.pow(10,v);if(g=p[(b%3+3)%3]*A,y=Math.round(g/s),isNaN(y))return this.element.style.display="none",void(this.renderedVisible_=!1);if(y>=u)break;++b}_=this.scaleBar_?this.createScaleBar(y,g,f):g.toFixed(v<0?-v:0)+" "+f,this.renderedHTML_!=_&&(this.innerElement_.innerHTML=_,this.renderedHTML_=_),this.renderedWidth_!=y&&(this.innerElement_.style.width=y+"px",this.renderedWidth_=y),this.renderedVisible_||(this.element.style.display="",this.renderedVisible_=!0)}else this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1)},t.prototype.createScaleBar=function(e,t,o){for(var r="1 : "+Math.round(this.getScaleForResolution()).toLocaleString(),n=[],i=e/this.scaleBarSteps_,s="#ffffff",a=0;a<this.scaleBarSteps_;a++)0===a&&n.push(this.createMarker("absolute",a)),n.push('<div><div class="ol-scale-singlebar" style="width: '+i+"px;background-color: "+s+';"></div>'+this.createMarker("relative",a)+(a%2==0||2===this.scaleBarSteps_?this.createStepText(a,e,!1,t,o):"")+"</div>"),a===this.scaleBarSteps_-1&&n.push(this.createStepText(a+1,e,!0,t,o)),s="#ffffff"===s?"#000000":"#ffffff";return'<div style="display: flex;">'+(this.scaleBarText_?'<div class="ol-scale-text" style="width: '+e+'px;">'+r+"</div>":"")+n.join("")+"</div>"},t.prototype.createMarker=function(e,t){return'<div class="ol-scale-step-marker" style="position: '+e+";top: "+("absolute"===e?3:-10)+'px;"></div>'},t.prototype.createStepText=function(e,t,o,r,n){var i=(0===e?0:Math.round(r/this.scaleBarSteps_*e*100)/100)+(0===e?"":" "+n);return'<div class="ol-scale-step-text" style="margin-left: '+(0===e?-3:t/this.scaleBarSteps_*-1)+"px;text-align: "+(0===e?"left":"center")+"; min-width: "+(0===e?0:t/this.scaleBarSteps_*2)+"px;left: "+(o?t+"px":"unset")+';">'+i+"</div>"},t.prototype.getScaleForResolution=function(){var e=Object(a.getPointResolution)(this.viewState_.projection,this.viewState_.resolution,this.viewState_.center),t=this.dpi_||h,o=this.viewState_.projection.getMetersPerUnit();return parseFloat(e.toString())*o*(1e3/25.4)*t},t.prototype.render=function(e){var t=e.frameState;this.viewState_=t?t.viewState:null,this.updateElement_()},t}(n.default);t.default=f},"./node_modules/ol/control/Zoom.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/control/Control.js"),i=o("./node_modules/ol/events/EventType.js"),s=o("./node_modules/ol/css.js"),a=o("./node_modules/ol/easing.js"),l=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),u=function(e){function t(t){var o=this,r=t||{};o=e.call(this,{element:document.createElement("div"),target:r.target})||this;var n=void 0!==r.className?r.className:"ol-zoom",a=void 0!==r.delta?r.delta:1,l=void 0!==r.zoomInClassName?r.zoomInClassName:n+"-in",u=void 0!==r.zoomOutClassName?r.zoomOutClassName:n+"-out",c=void 0!==r.zoomInLabel?r.zoomInLabel:"+",d=void 0!==r.zoomOutLabel?r.zoomOutLabel:"–",p=void 0!==r.zoomInTipLabel?r.zoomInTipLabel:"Zoom in",h=void 0!==r.zoomOutTipLabel?r.zoomOutTipLabel:"Zoom out",f=document.createElement("button");f.className=l,f.setAttribute("type","button"),f.title=p,f.appendChild("string"==typeof c?document.createTextNode(c):c),f.addEventListener(i.default.CLICK,o.handleClick_.bind(o,a),!1);var m=document.createElement("button");m.className=u,m.setAttribute("type","button"),m.title=h,m.appendChild("string"==typeof d?document.createTextNode(d):d),m.addEventListener(i.default.CLICK,o.handleClick_.bind(o,-a),!1);var g=n+" "+s.CLASS_UNSELECTABLE+" "+s.CLASS_CONTROL,y=o.element;return y.className=g,y.appendChild(f),y.appendChild(m),o.duration_=void 0!==r.duration?r.duration:250,o}return l(t,e),t.prototype.handleClick_=function(e,t){t.preventDefault(),this.zoomByDelta_(e)},t.prototype.zoomByDelta_=function(e){var t=this.getMap().getView();if(t){var o=t.getZoom();if(void 0!==o){var r=t.getConstrainedZoom(o+e);this.duration_>0?(t.getAnimating()&&t.cancelAnimations(),t.animate({zoom:r,duration:this.duration_,easing:a.easeOut})):t.setZoom(r)}}},t}(n.default);t.default=u},"./node_modules/ol/control/ZoomSlider.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/control/Control.js"),i=o("./node_modules/ol/events/EventType.js"),s=o("./node_modules/ol/pointer/EventType.js"),a=o("./node_modules/ol/css.js"),l=o("./node_modules/ol/math.js"),u=o("./node_modules/ol/easing.js"),c=o("./node_modules/ol/events.js"),d=o("./node_modules/ol/events/Event.js"),p=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),h=0,f=1,m=function(e){function t(t){var o=this,r=t||{};(o=e.call(this,{element:document.createElement("div"),render:r.render})||this).dragListenerKeys_=[],o.currentResolution_=void 0,o.direction_=h,o.dragging_,o.heightLimit_=0,o.widthLimit_=0,o.startX_,o.startY_,o.thumbSize_=null,o.sliderInitialized_=!1,o.duration_=void 0!==r.duration?r.duration:200;var n=void 0!==r.className?r.className:"ol-zoomslider",l=document.createElement("button");l.setAttribute("type","button"),l.className=n+"-thumb "+a.CLASS_UNSELECTABLE;var u=o.element;return u.className=n+" "+a.CLASS_UNSELECTABLE+" "+a.CLASS_CONTROL,u.appendChild(l),u.addEventListener(s.default.POINTERDOWN,o.handleDraggerStart_.bind(o),!1),u.addEventListener(s.default.POINTERMOVE,o.handleDraggerDrag_.bind(o),!1),u.addEventListener(s.default.POINTERUP,o.handleDraggerEnd_.bind(o),!1),u.addEventListener(i.default.CLICK,o.handleContainerClick_.bind(o),!1),l.addEventListener(i.default.CLICK,d.stopPropagation,!1),o}return p(t,e),t.prototype.setMap=function(t){e.prototype.setMap.call(this,t),t&&t.render()},t.prototype.initSlider_=function(){var e=this.element,t=e.offsetWidth,o=e.offsetHeight;if(0===t&&0===o)return this.sliderInitialized_=!1;var r=getComputedStyle(e);t-=parseFloat(r.paddingRight)+parseFloat(r.paddingLeft),o-=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom);var n=e.firstElementChild,i=getComputedStyle(n),s=n.offsetWidth+parseFloat(i.marginRight)+parseFloat(i.marginLeft),a=n.offsetHeight+parseFloat(i.marginTop)+parseFloat(i.marginBottom);return this.thumbSize_=[s,a],t>o?(this.direction_=f,this.widthLimit_=t-s):(this.direction_=h,this.heightLimit_=o-a),this.sliderInitialized_=!0},t.prototype.handleContainerClick_=function(e){var t=this.getMap().getView(),o=this.getRelativePosition_(e.offsetX-this.thumbSize_[0]/2,e.offsetY-this.thumbSize_[1]/2),r=this.getResolutionForPosition_(o),n=t.getConstrainedZoom(t.getZoomForResolution(r));t.animateInternal({zoom:n,duration:this.duration_,easing:u.easeOut})},t.prototype.handleDraggerStart_=function(e){if(!this.dragging_&&e.target===this.element.firstElementChild){var t=this.element.firstElementChild;if(this.getMap().getView().beginInteraction(),this.startX_=e.clientX-parseFloat(t.style.left),this.startY_=e.clientY-parseFloat(t.style.top),this.dragging_=!0,0===this.dragListenerKeys_.length){var o=this.handleDraggerDrag_,r=this.handleDraggerEnd_,n=this.getMap().getOwnerDocument();this.dragListenerKeys_.push(Object(c.listen)(n,s.default.POINTERMOVE,o,this),Object(c.listen)(n,s.default.POINTERUP,r,this))}}},t.prototype.handleDraggerDrag_=function(e){if(this.dragging_){var t=e.clientX-this.startX_,o=e.clientY-this.startY_,r=this.getRelativePosition_(t,o);this.currentResolution_=this.getResolutionForPosition_(r),this.getMap().getView().setResolution(this.currentResolution_)}},t.prototype.handleDraggerEnd_=function(e){this.dragging_&&(this.getMap().getView().endInteraction(),this.dragging_=!1,this.startX_=void 0,this.startY_=void 0,this.dragListenerKeys_.forEach(c.unlistenByKey),this.dragListenerKeys_.length=0)},t.prototype.setThumbPosition_=function(e){var t=this.getPositionForResolution_(e),o=this.element.firstElementChild;this.direction_==f?o.style.left=this.widthLimit_*t+"px":o.style.top=this.heightLimit_*t+"px"},t.prototype.getRelativePosition_=function(e,t){var o;return o=this.direction_===f?e/this.widthLimit_:t/this.heightLimit_,Object(l.clamp)(o,0,1)},t.prototype.getResolutionForPosition_=function(e){return this.getMap().getView().getResolutionForValueFunction()(1-e)},t.prototype.getPositionForResolution_=function(e){var t=this.getMap().getView().getValueForResolutionFunction();return Object(l.clamp)(1-t(e),0,1)},t.prototype.render=function(e){if(e.frameState&&(this.sliderInitialized_||this.initSlider_())){var t=e.frameState.viewState.resolution;this.currentResolution_=t,this.setThumbPosition_(t)}},t}(n.default);t.default=m},"./node_modules/ol/control/ZoomToExtent.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/control/Control.js"),i=o("./node_modules/ol/events/EventType.js"),s=o("./node_modules/ol/css.js"),a=o("./node_modules/ol/geom/Polygon.js"),l=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),u=function(e){function t(t){var o=this,r=t||{};(o=e.call(this,{element:document.createElement("div"),target:r.target})||this).extent=r.extent?r.extent:null;var n=void 0!==r.className?r.className:"ol-zoom-extent",a=void 0!==r.label?r.label:"E",l=void 0!==r.tipLabel?r.tipLabel:"Fit to extent",u=document.createElement("button");u.setAttribute("type","button"),u.title=l,u.appendChild("string"==typeof a?document.createTextNode(a):a),u.addEventListener(i.default.CLICK,o.handleClick_.bind(o),!1);var c=n+" "+s.CLASS_UNSELECTABLE+" "+s.CLASS_CONTROL,d=o.element;return d.className=c,d.appendChild(u),o}return l(t,e),t.prototype.handleClick_=function(e){e.preventDefault(),this.handleZoomToExtent()},t.prototype.handleZoomToExtent=function(){var e=this.getMap().getView(),t=this.extent?this.extent:e.getProjection().getExtent();e.fitInternal(Object(a.fromExtent)(t))},t}(n.default);t.default=u},"./node_modules/ol/coordinate.js":function(e,t,o){"use strict";o.r(t),o.d(t,"add",(function(){return s})),o.d(t,"closestOnCircle",(function(){return a})),o.d(t,"closestOnSegment",(function(){return l})),o.d(t,"createStringXY",(function(){return u})),o.d(t,"degreesToStringHDMS",(function(){return c})),o.d(t,"format",(function(){return d})),o.d(t,"equals",(function(){return p})),o.d(t,"rotate",(function(){return h})),o.d(t,"scale",(function(){return f})),o.d(t,"squaredDistance",(function(){return m})),o.d(t,"distance",(function(){return g})),o.d(t,"squaredDistanceToSegment",(function(){return y})),o.d(t,"toStringHDMS",(function(){return v})),o.d(t,"toStringXY",(function(){return _})),o.d(t,"wrapX",(function(){return b})),o.d(t,"getWorldsAway",(function(){return A}));var r=o("./node_modules/ol/extent.js"),n=o("./node_modules/ol/math.js"),i=o("./node_modules/ol/string.js");function s(e,t){return e[0]+=+t[0],e[1]+=+t[1],e}function a(e,t){var o=t.getRadius(),r=t.getCenter(),n=r[0],i=r[1],s=e[0]-n,a=e[1]-i;0===s&&0===a&&(s=1);var l=Math.sqrt(s*s+a*a);return[n+o*s/l,i+o*a/l]}function l(e,t){var o,r,n=e[0],i=e[1],s=t[0],a=t[1],l=s[0],u=s[1],c=a[0],d=a[1],p=c-l,h=d-u,f=0===p&&0===h?0:(p*(n-l)+h*(i-u))/(p*p+h*h||0);return f<=0?(o=l,r=u):f>=1?(o=c,r=d):(o=l+f*p,r=u+f*h),[o,r]}function u(e){return function(t){return _(t,e)}}function c(e,t,o){var r=Object(n.modulo)(t+180,360)-180,s=Math.abs(3600*r),a=o||0,l=Math.pow(10,a),u=Math.floor(s/3600),c=Math.floor((s-3600*u)/60),d=s-3600*u-60*c;return(d=Math.ceil(d*l)/l)>=60&&(d=0,c+=1),c>=60&&(c=0,u+=1),u+"° "+Object(i.padNumber)(c,2)+"′ "+Object(i.padNumber)(d,2,a)+"″"+(0==r?"":" "+e.charAt(r<0?1:0))}function d(e,t,o){return e?t.replace("{x}",e[0].toFixed(o)).replace("{y}",e[1].toFixed(o)):""}function p(e,t){for(var o=!0,r=e.length-1;r>=0;--r)if(e[r]!=t[r]){o=!1;break}return o}function h(e,t){var o=Math.cos(t),r=Math.sin(t),n=e[0]*o-e[1]*r,i=e[1]*o+e[0]*r;return e[0]=n,e[1]=i,e}function f(e,t){return e[0]*=t,e[1]*=t,e}function m(e,t){var o=e[0]-t[0],r=e[1]-t[1];return o*o+r*r}function g(e,t){return Math.sqrt(m(e,t))}function y(e,t){return m(e,l(e,t))}function v(e,t){return e?c("NS",e[1],t)+" "+c("EW",e[0],t):""}function _(e,t){return d(e,"{x}, {y}",t)}function b(e,t){if(t.canWrapX()){var o=Object(r.getWidth)(t.getExtent()),n=A(e,t,o);n&&(e[0]-=n*o)}return e}function A(e,t,o){var n=t.getExtent(),i=0;if(t.canWrapX()&&(e[0]<n[0]||e[0]>n[2])){var s=o||Object(r.getWidth)(n);i=Math.floor((e[0]-n[0])/s)}return i}},"./node_modules/ol/css.js":function(e,t,o){"use strict";o.r(t),o.d(t,"CLASS_HIDDEN",(function(){return r})),o.d(t,"CLASS_SELECTABLE",(function(){return n})),o.d(t,"CLASS_UNSELECTABLE",(function(){return i})),o.d(t,"CLASS_UNSUPPORTED",(function(){return s})),o.d(t,"CLASS_CONTROL",(function(){return a})),o.d(t,"CLASS_COLLAPSED",(function(){return l})),o.d(t,"getFontParameters",(function(){return d})),o.d(t,"cssOpacity",(function(){return p}));var r="ol-hidden",n="ol-selectable",i="ol-unselectable",s="ol-unsupported",a="ol-control",l="ol-collapsed",u=new RegExp(["^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)","(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?","(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))","(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))","?\\s*([-,\\\"\\'\\sa-z]+?)\\s*$"].join(""),"i"),c=["style","variant","weight","size","lineHeight","family"],d=function(e){var t=e.match(u);if(!t)return null;for(var o={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"},r=0,n=c.length;r<n;++r){var i=t[r+1];void 0!==i&&(o[c[r]]=i)}return o.families=o.family.split(/,\s?/),o};function p(e){return 1===e?"":String(Math.round(100*e)/100)}},"./node_modules/ol/dom.js":function(e,t,o){"use strict";o.r(t),o.d(t,"createCanvasContext2D",(function(){return n})),o.d(t,"outerWidth",(function(){return i})),o.d(t,"outerHeight",(function(){return s})),o.d(t,"replaceNode",(function(){return a})),o.d(t,"removeNode",(function(){return l})),o.d(t,"removeChildren",(function(){return u})),o.d(t,"replaceChildren",(function(){return c}));var r=o("./node_modules/ol/has.js");function n(e,t,o,n){var i;return o&&o.length?i=o.shift():r.WORKER_OFFSCREEN_CANVAS?i=new OffscreenCanvas(e||300,t||300):(i=document.createElement("canvas")).style.all="unset",e&&(i.width=e),t&&(i.height=t),i.getContext("2d",n)}function i(e){var t=e.offsetWidth,o=getComputedStyle(e);return t+=parseInt(o.marginLeft,10)+parseInt(o.marginRight,10)}function s(e){var t=e.offsetHeight,o=getComputedStyle(e);return t+=parseInt(o.marginTop,10)+parseInt(o.marginBottom,10)}function a(e,t){var o=t.parentNode;o&&o.replaceChild(e,t)}function l(e){return e&&e.parentNode?e.parentNode.removeChild(e):null}function u(e){for(;e.lastChild;)e.removeChild(e.lastChild)}function c(e,t){for(var o=e.childNodes,r=0;;++r){var n=o[r],i=t[r];if(!n&&!i)break;n!==i&&(n?i?e.insertBefore(i,n):(e.removeChild(n),--r):e.appendChild(i))}}},"./node_modules/ol/easing.js":function(e,t,o){"use strict";function r(e){return Math.pow(e,3)}function n(e){return 1-r(1-e)}function i(e){return 3*e*e-2*e*e*e}function s(e){return e}function a(e){return e<.5?i(2*e):1-i(2*(e-.5))}o.r(t),o.d(t,"easeIn",(function(){return r})),o.d(t,"easeOut",(function(){return n})),o.d(t,"inAndOut",(function(){return i})),o.d(t,"linear",(function(){return s})),o.d(t,"upAndDown",(function(){return a}))},"./node_modules/ol/events.js":function(e,t,o){"use strict";o.r(t),o.d(t,"listen",(function(){return n})),o.d(t,"listenOnce",(function(){return i})),o.d(t,"unlistenByKey",(function(){return s}));var r=o("./node_modules/ol/obj.js");function n(e,t,o,r,n){if(r&&r!==e&&(o=o.bind(r)),n){var i=o;o=function(){e.removeEventListener(t,o),i.apply(this,arguments)}}var s={target:e,type:t,listener:o};return e.addEventListener(t,o),s}function i(e,t,o,r){return n(e,t,o,r,!0)}function s(e){e&&e.target&&(e.target.removeEventListener(e.type,e.listener),Object(r.clear)(e))}},"./node_modules/ol/events/Event.js":function(e,t,o){"use strict";o.r(t),o.d(t,"stopPropagation",(function(){return n})),o.d(t,"preventDefault",(function(){return i}));var r=function(){function e(e){this.propagationStopped,this.defaultPrevented,this.type=e,this.target=null}return e.prototype.preventDefault=function(){this.defaultPrevented=!0},e.prototype.stopPropagation=function(){this.propagationStopped=!0},e}();function n(e){e.stopPropagation()}function i(e){e.preventDefault()}t.default=r},"./node_modules/ol/events/EventType.js":function(e,t,o){"use strict";o.r(t),t.default={CHANGE:"change",ERROR:"error",BLUR:"blur",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",FOCUS:"focus",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",RESIZE:"resize",TOUCHMOVE:"touchmove",WHEEL:"wheel"}},"./node_modules/ol/events/KeyCode.js":function(e,t,o){"use strict";o.r(t),t.default={LEFT:37,UP:38,RIGHT:39,DOWN:40}},"./node_modules/ol/events/Target.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/Disposable.js"),i=o("./node_modules/ol/events/Event.js"),s=o("./node_modules/ol/functions.js"),a=o("./node_modules/ol/obj.js"),l=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),u=function(e){function t(t){var o=e.call(this)||this;return o.eventTarget_=t,o.pendingRemovals_=null,o.dispatching_=null,o.listeners_=null,o}return l(t,e),t.prototype.addEventListener=function(e,t){if(e&&t){var o=this.listeners_||(this.listeners_={}),r=o[e]||(o[e]=[]);-1===r.indexOf(t)&&r.push(t)}},t.prototype.dispatchEvent=function(e){var t="string"==typeof e?new i.default(e):e,o=t.type;t.target||(t.target=this.eventTarget_||this);var r,n=this.listeners_&&this.listeners_[o];if(n){var a=this.dispatching_||(this.dispatching_={}),l=this.pendingRemovals_||(this.pendingRemovals_={});o in a||(a[o]=0,l[o]=0),++a[o];for(var u=0,c=n.length;u<c;++u)if(!1===(r="handleEvent"in n[u]?n[u].handleEvent(t):n[u].call(this,t))||t.propagationStopped){r=!1;break}if(--a[o],0===a[o]){var d=l[o];for(delete l[o];d--;)this.removeEventListener(o,s.VOID);delete a[o]}return r}},t.prototype.disposeInternal=function(){this.listeners_&&Object(a.clear)(this.listeners_)},t.prototype.getListeners=function(e){return this.listeners_&&this.listeners_[e]||void 0},t.prototype.hasListener=function(e){return!!this.listeners_&&(e?e in this.listeners_:Object.keys(this.listeners_).length>0)},t.prototype.removeEventListener=function(e,t){var o=this.listeners_&&this.listeners_[e];if(o){var r=o.indexOf(t);-1!==r&&(this.pendingRemovals_&&e in this.pendingRemovals_?(o[r]=s.VOID,++this.pendingRemovals_[e]):(o.splice(r,1),0===o.length&&delete this.listeners_[e]))}},t}(n.default);t.default=u},"./node_modules/ol/events/condition.js":function(e,t,o){"use strict";o.r(t),o.d(t,"all",(function(){return a})),o.d(t,"altKeyOnly",(function(){return l})),o.d(t,"altShiftKeysOnly",(function(){return u})),o.d(t,"focus",(function(){return c})),o.d(t,"focusWithTabindex",(function(){return d})),o.d(t,"always",(function(){return p})),o.d(t,"click",(function(){return h})),o.d(t,"mouseActionButton",(function(){return f})),o.d(t,"never",(function(){return m})),o.d(t,"pointerMove",(function(){return g})),o.d(t,"singleClick",(function(){return y})),o.d(t,"doubleClick",(function(){return v})),o.d(t,"noModifierKeys",(function(){return _})),o.d(t,"platformModifierKeyOnly",(function(){return b})),o.d(t,"shiftKeyOnly",(function(){return A})),o.d(t,"targetNotEditable",(function(){return C})),o.d(t,"mouseOnly",(function(){return E})),o.d(t,"touchOnly",(function(){return S})),o.d(t,"penOnly",(function(){return w})),o.d(t,"primaryAction",(function(){return O}));var r=o("./node_modules/ol/MapBrowserEventType.js"),n=o("./node_modules/ol/functions.js"),i=o("./node_modules/ol/has.js"),s=o("./node_modules/ol/asserts.js");function a(e){var t=arguments;return function(e){for(var o=!0,r=0,n=t.length;r<n&&(o=o&&t[r](e));++r);return o}}var l=function(e){var t=e.originalEvent;return t.altKey&&!(t.metaKey||t.ctrlKey)&&!t.shiftKey},u=function(e){var t=e.originalEvent;return t.altKey&&!(t.metaKey||t.ctrlKey)&&t.shiftKey},c=function(e){return e.target.getTargetElement().contains(document.activeElement)},d=function(e){return!e.map.getTargetElement().hasAttribute("tabindex")||c(e)},p=n.TRUE,h=function(e){return e.type==r.default.CLICK},f=function(e){var t=e.originalEvent;return 0==t.button&&!(i.WEBKIT&&i.MAC&&t.ctrlKey)},m=n.FALSE,g=function(e){return"pointermove"==e.type},y=function(e){return e.type==r.default.SINGLECLICK},v=function(e){return e.type==r.default.DBLCLICK},_=function(e){var t=e.originalEvent;return!t.altKey&&!(t.metaKey||t.ctrlKey)&&!t.shiftKey},b=function(e){var t=e.originalEvent;return!t.altKey&&(i.MAC?t.metaKey:t.ctrlKey)&&!t.shiftKey},A=function(e){var t=e.originalEvent;return!t.altKey&&!(t.metaKey||t.ctrlKey)&&t.shiftKey},C=function(e){var t=e.originalEvent.target.tagName;return"INPUT"!==t&&"SELECT"!==t&&"TEXTAREA"!==t},E=function(e){var t=e.originalEvent;return Object(s.assert)(void 0!==t,56),"mouse"==t.pointerType},S=function(e){var t=e.originalEvent;return Object(s.assert)(void 0!==t,56),"touch"===t.pointerType},w=function(e){var t=e.originalEvent;return Object(s.assert)(void 0!==t,56),"pen"===t.pointerType},O=function(e){var t=e.originalEvent;return Object(s.assert)(void 0!==t,56),t.isPrimary&&0===t.button}},"./node_modules/ol/extent.js":function(e,t,o){"use strict";o.r(t),o.d(t,"boundingExtent",(function(){return s})),o.d(t,"buffer",(function(){return a})),o.d(t,"clone",(function(){return l})),o.d(t,"closestSquaredDistanceXY",(function(){return u})),o.d(t,"containsCoordinate",(function(){return c})),o.d(t,"containsExtent",(function(){return d})),o.d(t,"containsXY",(function(){return p})),o.d(t,"coordinateRelationship",(function(){return h})),o.d(t,"createEmpty",(function(){return f})),o.d(t,"createOrUpdate",(function(){return m})),o.d(t,"createOrUpdateEmpty",(function(){return g})),o.d(t,"createOrUpdateFromCoordinate",(function(){return y})),o.d(t,"createOrUpdateFromCoordinates",(function(){return v})),o.d(t,"createOrUpdateFromFlatCoordinates",(function(){return _})),o.d(t,"createOrUpdateFromRings",(function(){return b})),o.d(t,"equals",(function(){return A})),o.d(t,"approximatelyEquals",(function(){return C})),o.d(t,"extend",(function(){return E})),o.d(t,"extendCoordinate",(function(){return S})),o.d(t,"extendCoordinates",(function(){return w})),o.d(t,"extendFlatCoordinates",(function(){return O})),o.d(t,"extendRings",(function(){return I})),o.d(t,"extendXY",(function(){return x})),o.d(t,"forEachCorner",(function(){return j})),o.d(t,"getArea",(function(){return T})),o.d(t,"getBottomLeft",(function(){return P})),o.d(t,"getBottomRight",(function(){return M})),o.d(t,"getCenter",(function(){return R})),o.d(t,"getCorner",(function(){return L})),o.d(t,"getEnlargedArea",(function(){return k})),o.d(t,"getForViewAndSize",(function(){return N})),o.d(t,"getHeight",(function(){return D})),o.d(t,"getIntersectionArea",(function(){return G})),o.d(t,"getIntersection",(function(){return F})),o.d(t,"getMargin",(function(){return U})),o.d(t,"getSize",(function(){return B})),o.d(t,"getTopLeft",(function(){return z})),o.d(t,"getTopRight",(function(){return V})),o.d(t,"getWidth",(function(){return W})),o.d(t,"intersects",(function(){return q})),o.d(t,"isEmpty",(function(){return Y})),o.d(t,"returnOrUpdate",(function(){return H})),o.d(t,"scaleFromCenter",(function(){return X})),o.d(t,"intersectsSegment",(function(){return Z})),o.d(t,"applyTransform",(function(){return K})),o.d(t,"wrapX",(function(){return J}));var r=o("./node_modules/ol/extent/Corner.js"),n=o("./node_modules/ol/extent/Relationship.js"),i=o("./node_modules/ol/asserts.js");function s(e){for(var t=f(),o=0,r=e.length;o<r;++o)S(t,e[o]);return t}function a(e,t,o){return o?(o[0]=e[0]-t,o[1]=e[1]-t,o[2]=e[2]+t,o[3]=e[3]+t,o):[e[0]-t,e[1]-t,e[2]+t,e[3]+t]}function l(e,t){return t?(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t):e.slice()}function u(e,t,o){var r,n;return(r=t<e[0]?e[0]-t:e[2]<t?t-e[2]:0)*r+(n=o<e[1]?e[1]-o:e[3]<o?o-e[3]:0)*n}function c(e,t){return p(e,t[0],t[1])}function d(e,t){return e[0]<=t[0]&&t[2]<=e[2]&&e[1]<=t[1]&&t[3]<=e[3]}function p(e,t,o){return e[0]<=t&&t<=e[2]&&e[1]<=o&&o<=e[3]}function h(e,t){var o=e[0],r=e[1],i=e[2],s=e[3],a=t[0],l=t[1],u=n.default.UNKNOWN;return a<o?u|=n.default.LEFT:a>i&&(u|=n.default.RIGHT),l<r?u|=n.default.BELOW:l>s&&(u|=n.default.ABOVE),u===n.default.UNKNOWN&&(u=n.default.INTERSECTING),u}function f(){return[1/0,1/0,-1/0,-1/0]}function m(e,t,o,r,n){return n?(n[0]=e,n[1]=t,n[2]=o,n[3]=r,n):[e,t,o,r]}function g(e){return m(1/0,1/0,-1/0,-1/0,e)}function y(e,t){var o=e[0],r=e[1];return m(o,r,o,r,t)}function v(e,t){return w(g(t),e)}function _(e,t,o,r,n){return O(g(n),e,t,o,r)}function b(e,t){return I(g(t),e)}function A(e,t){return e[0]==t[0]&&e[2]==t[2]&&e[1]==t[1]&&e[3]==t[3]}function C(e,t,o){return Math.abs(e[0]-t[0])<o&&Math.abs(e[2]-t[2])<o&&Math.abs(e[1]-t[1])<o&&Math.abs(e[3]-t[3])<o}function E(e,t){return t[0]<e[0]&&(e[0]=t[0]),t[2]>e[2]&&(e[2]=t[2]),t[1]<e[1]&&(e[1]=t[1]),t[3]>e[3]&&(e[3]=t[3]),e}function S(e,t){t[0]<e[0]&&(e[0]=t[0]),t[0]>e[2]&&(e[2]=t[0]),t[1]<e[1]&&(e[1]=t[1]),t[1]>e[3]&&(e[3]=t[1])}function w(e,t){for(var o=0,r=t.length;o<r;++o)S(e,t[o]);return e}function O(e,t,o,r,n){for(;o<r;o+=n)x(e,t[o],t[o+1]);return e}function I(e,t){for(var o=0,r=t.length;o<r;++o)w(e,t[o]);return e}function x(e,t,o){e[0]=Math.min(e[0],t),e[1]=Math.min(e[1],o),e[2]=Math.max(e[2],t),e[3]=Math.max(e[3],o)}function j(e,t){var o;return(o=t(P(e)))||(o=t(M(e)))||(o=t(V(e)))?o:(o=t(z(e)))||!1}function T(e){var t=0;return Y(e)||(t=W(e)*D(e)),t}function P(e){return[e[0],e[1]]}function M(e){return[e[2],e[1]]}function R(e){return[(e[0]+e[2])/2,(e[1]+e[3])/2]}function L(e,t){var o;return t===r.default.BOTTOM_LEFT?o=P(e):t===r.default.BOTTOM_RIGHT?o=M(e):t===r.default.TOP_LEFT?o=z(e):t===r.default.TOP_RIGHT?o=V(e):Object(i.assert)(!1,13),o}function k(e,t){var o=Math.min(e[0],t[0]),r=Math.min(e[1],t[1]);return(Math.max(e[2],t[2])-o)*(Math.max(e[3],t[3])-r)}function N(e,t,o,r,n){var i=t*r[0]/2,s=t*r[1]/2,a=Math.cos(o),l=Math.sin(o),u=i*a,c=i*l,d=s*a,p=s*l,h=e[0],f=e[1],g=h-u+p,y=h-u-p,v=h+u-p,_=h+u+p,b=f-c-d,A=f-c+d,C=f+c+d,E=f+c-d;return m(Math.min(g,y,v,_),Math.min(b,A,C,E),Math.max(g,y,v,_),Math.max(b,A,C,E),n)}function D(e){return e[3]-e[1]}function G(e,t){return T(F(e,t))}function F(e,t,o){var r=o||[1/0,1/0,-1/0,-1/0];return q(e,t)?(e[0]>t[0]?r[0]=e[0]:r[0]=t[0],e[1]>t[1]?r[1]=e[1]:r[1]=t[1],e[2]<t[2]?r[2]=e[2]:r[2]=t[2],e[3]<t[3]?r[3]=e[3]:r[3]=t[3]):g(r),r}function U(e){return W(e)+D(e)}function B(e){return[e[2]-e[0],e[3]-e[1]]}function z(e){return[e[0],e[3]]}function V(e){return[e[2],e[3]]}function W(e){return e[2]-e[0]}function q(e,t){return e[0]<=t[2]&&e[2]>=t[0]&&e[1]<=t[3]&&e[3]>=t[1]}function Y(e){return e[2]<e[0]||e[3]<e[1]}function H(e,t){return t?(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t):e}function X(e,t){var o=(e[2]-e[0])/2*(t-1),r=(e[3]-e[1])/2*(t-1);e[0]-=o,e[2]+=o,e[1]-=r,e[3]+=r}function Z(e,t,o){var r=!1,i=h(e,t),s=h(e,o);if(i===n.default.INTERSECTING||s===n.default.INTERSECTING)r=!0;else{var a=e[0],l=e[1],u=e[2],c=e[3],d=t[0],p=t[1],f=o[0],m=o[1],g=(m-p)/(f-d),y=void 0,v=void 0;s&n.default.ABOVE&&!(i&n.default.ABOVE)&&(r=(y=f-(m-c)/g)>=a&&y<=u),r||!(s&n.default.RIGHT)||i&n.default.RIGHT||(r=(v=m-(f-u)*g)>=l&&v<=c),r||!(s&n.default.BELOW)||i&n.default.BELOW||(r=(y=f-(m-l)/g)>=a&&y<=u),r||!(s&n.default.LEFT)||i&n.default.LEFT||(r=(v=m-(f-a)*g)>=l&&v<=c)}return r}function K(e,t,o,r){var n=[];if(r>1)for(var i=e[2]-e[0],s=e[3]-e[1],a=0;a<r;++a)n.push(e[0]+i*a/r,e[1],e[2],e[1]+s*a/r,e[2]-i*a/r,e[3],e[0],e[3]-s*a/r);else n=[e[0],e[1],e[2],e[1],e[2],e[3],e[0],e[3]];t(n,n,2);for(var l=[],u=[],c=(a=0,n.length);a<c;a+=2)l.push(n[a]),u.push(n[a+1]);return function(e,t,o){return m(Math.min.apply(null,e),Math.min.apply(null,t),Math.max.apply(null,e),Math.max.apply(null,t),o)}(l,u,o)}function J(e,t){var o=t.getExtent(),r=R(e);if(t.canWrapX()&&(r[0]<o[0]||r[0]>=o[2])){var n=W(o),i=Math.floor((r[0]-o[0])/n)*n;e[0]-=i,e[2]-=i}return e}},"./node_modules/ol/extent/Corner.js":function(e,t,o){"use strict";o.r(t),t.default={BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",TOP_LEFT:"top-left",TOP_RIGHT:"top-right"}},"./node_modules/ol/extent/Relationship.js":function(e,t,o){"use strict";o.r(t),t.default={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16}},"./node_modules/ol/featureloader.js":function(e,t,o){"use strict";o.r(t),o.d(t,"loadFeaturesXhr",(function(){return s})),o.d(t,"xhr",(function(){return a})),o.d(t,"setWithCredentials",(function(){return l}));var r=o("./node_modules/ol/format/FormatType.js"),n=o("./node_modules/ol/functions.js"),i=!1;function s(e,t,o,n,s,a,l){var u=new XMLHttpRequest;u.open("GET","function"==typeof e?e(o,n,s):e,!0),t.getType()==r.default.ARRAY_BUFFER&&(u.responseType="arraybuffer"),u.withCredentials=i,u.onload=function(e){if(!u.status||u.status>=200&&u.status<300){var n=t.getType(),i=void 0;n==r.default.JSON||n==r.default.TEXT?i=u.responseText:n==r.default.XML?(i=u.responseXML)||(i=(new DOMParser).parseFromString(u.responseText,"application/xml")):n==r.default.ARRAY_BUFFER&&(i=u.response),i?a(t.readFeatures(i,{extent:o,featureProjection:s}),t.readProjection(i)):l()}else l()},u.onerror=l,u.send()}function a(e,t){return function(o,r,i,a,l){var u=this;s(e,t,o,r,i,(function(e,t){u.addFeatures(e),void 0!==a&&a(e)}),l||n.VOID)}}function l(e){i=e}},"./node_modules/ol/format/EsriJSON.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/Feature.js"),i=o("./node_modules/ol/geom/GeometryLayout.js"),s=o("./node_modules/ol/geom/GeometryType.js"),a=o("./node_modules/ol/format/JSONFeature.js"),l=o("./node_modules/ol/geom/LineString.js"),u=o("./node_modules/ol/geom/LinearRing.js"),c=o("./node_modules/ol/geom/MultiLineString.js"),d=o("./node_modules/ol/geom/MultiPoint.js"),p=o("./node_modules/ol/geom/MultiPolygon.js"),h=o("./node_modules/ol/geom/Point.js"),f=o("./node_modules/ol/geom/Polygon.js"),m=o("./node_modules/ol/asserts.js"),g=o("./node_modules/ol/obj.js"),y=o("./node_modules/ol/extent.js"),v=o("./node_modules/ol/geom/flat/deflate.js"),_=o("./node_modules/ol/proj.js"),b=o("./node_modules/ol/geom/flat/orient.js"),A=o("./node_modules/ol/format/Feature.js"),C=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),E={};E[s.default.POINT]=function(e){var t;t=void 0!==e.m&&void 0!==e.z?new h.default([e.x,e.y,e.z,e.m],i.default.XYZM):void 0!==e.z?new h.default([e.x,e.y,e.z],i.default.XYZ):void 0!==e.m?new h.default([e.x,e.y,e.m],i.default.XYM):new h.default([e.x,e.y]);return t},E[s.default.LINE_STRING]=function(e){var t=I(e);return new l.default(e.paths[0],t)},E[s.default.POLYGON]=function(e){var t=I(e);return new f.default(e.rings,t)},E[s.default.MULTI_POINT]=function(e){var t=I(e);return new d.default(e.points,t)},E[s.default.MULTI_LINE_STRING]=function(e){var t=I(e);return new c.default(e.paths,t)},E[s.default.MULTI_POLYGON]=function(e){var t=I(e);return new p.default(e.rings,t)};var S={};S[s.default.POINT]=function(e,t){var o,r=e.getCoordinates(),n=e.getLayout();n===i.default.XYZ?o={x:r[0],y:r[1],z:r[2]}:n===i.default.XYM?o={x:r[0],y:r[1],m:r[2]}:n===i.default.XYZM?o={x:r[0],y:r[1],z:r[2],m:r[3]}:n===i.default.XY?o={x:r[0],y:r[1]}:Object(m.assert)(!1,34);return o},S[s.default.LINE_STRING]=function(e,t){var o=x(e);return{hasZ:o.hasZ,hasM:o.hasM,paths:[e.getCoordinates()]}},S[s.default.POLYGON]=function(e,t){var o=x(e);return{hasZ:o.hasZ,hasM:o.hasM,rings:e.getCoordinates(!1)}},S[s.default.MULTI_POINT]=function(e,t){var o=x(e);return{hasZ:o.hasZ,hasM:o.hasM,points:e.getCoordinates()}},S[s.default.MULTI_LINE_STRING]=function(e,t){var o=x(e);return{hasZ:o.hasZ,hasM:o.hasM,paths:e.getCoordinates()}},S[s.default.MULTI_POLYGON]=function(e,t){for(var o=x(e),r=e.getCoordinates(!1),n=[],i=0;i<r.length;i++)for(var s=r[i].length-1;s>=0;s--)n.push(r[i][s]);return{hasZ:o.hasZ,hasM:o.hasM,rings:n}};var w=function(e){function t(t){var o=this,r=t||{};return(o=e.call(this)||this).geometryName_=r.geometryName,o}return C(t,e),t.prototype.readFeatureFromObject=function(e,t,o){var r=e,i=O(r.geometry,t),s=new n.default;if(this.geometryName_&&s.setGeometryName(this.geometryName_),s.setGeometry(i),r.attributes){s.setProperties(r.attributes,!0);var a=r.attributes[o];void 0!==a&&s.setId(a)}return s},t.prototype.readFeaturesFromObject=function(e,t){var o=t||{};if(e.features){for(var r=[],n=e.features,i=0,s=n.length;i<s;++i)r.push(this.readFeatureFromObject(n[i],o,e.objectIdFieldName));return r}return[this.readFeatureFromObject(e,o)]},t.prototype.readGeometryFromObject=function(e,t){return O(e,t)},t.prototype.readProjectionFromObject=function(e){if(e.spatialReference&&void 0!==e.spatialReference.wkid){var t=e.spatialReference.wkid;return Object(_.get)("EPSG:"+t)}return null},t.prototype.writeGeometryObject=function(e,t){return j(e,this.adaptOptions(t))},t.prototype.writeFeatureObject=function(e,t){t=this.adaptOptions(t);var o={};if(!e.hasProperties())return o.attributes={},o;var r=e.getProperties(),n=e.getGeometry();if(n){o.geometry=j(n,t);var i=t&&(t.dataProjection||t.featureProjection);i&&(o.geometry.spatialReference={wkid:Number(Object(_.get)(i).getCode().split(":").pop())}),delete r[e.getGeometryName()]}return Object(g.isEmpty)(r)?o.attributes={}:o.attributes=r,o},t.prototype.writeFeaturesObject=function(e,t){t=this.adaptOptions(t);for(var o=[],r=0,n=e.length;r<n;++r)o.push(this.writeFeatureObject(e[r],t));return{features:o}},t}(a.default);function O(e,t){var o,r,n;if(!e)return null;if("number"==typeof e.x&&"number"==typeof e.y)n=s.default.POINT;else if(e.points)n=s.default.MULTI_POINT;else if(e.paths){n=1===e.paths.length?s.default.LINE_STRING:s.default.MULTI_LINE_STRING}else if(e.rings){var i=e,a=I(i),l=function(e,t){var o,r,n=[],i=[],s=[];for(o=0,r=e.length;o<r;++o){n.length=0,Object(v.deflateCoordinates)(n,0,e[o],t.length),Object(b.linearRingIsClockwise)(n,0,n.length,t.length)?i.push([e[o]]):s.push(e[o])}for(;s.length;){var a=s.shift(),l=!1;for(o=i.length-1;o>=0;o--){var c=i[o][0];if(Object(y.containsExtent)(new u.default(c).getExtent(),new u.default(a).getExtent())){i[o].push(a),l=!0;break}}l||i.push([a.reverse()])}return i}(i.rings,a);1===l.length?(n=s.default.POLYGON,e=Object(g.assign)({},e,((o={}).rings=l[0],o))):(n=s.default.MULTI_POLYGON,e=Object(g.assign)({},e,((r={}).rings=l,r)))}var c=E[n];return Object(A.transformGeometryWithOptions)(c(e),!1,t)}function I(e){var t=i.default.XY;return!0===e.hasZ&&!0===e.hasM?t=i.default.XYZM:!0===e.hasZ?t=i.default.XYZ:!0===e.hasM&&(t=i.default.XYM),t}function x(e){var t=e.getLayout();return{hasZ:t===i.default.XYZ||t===i.default.XYZM,hasM:t===i.default.XYM||t===i.default.XYZM}}function j(e,t){return(0,S[e.getType()])(Object(A.transformGeometryWithOptions)(e,!0,t),t)}t.default=w},"./node_modules/ol/format/Feature.js":function(e,t,o){"use strict";o.r(t),o.d(t,"transformGeometryWithOptions",(function(){return l})),o.d(t,"transformExtentWithOptions",(function(){return u}));var r=o("./node_modules/ol/proj/Units.js"),n=o("./node_modules/ol/util.js"),i=o("./node_modules/ol/obj.js"),s=o("./node_modules/ol/proj.js"),a=function(){function e(){this.dataProjection=void 0,this.defaultFeatureProjection=void 0,this.supportedMediaTypes=null}return e.prototype.getReadOptions=function(e,t){var o;if(t){var n=t.dataProjection?Object(s.get)(t.dataProjection):this.readProjection(e);t.extent&&n&&n.getUnits()===r.default.TILE_PIXELS&&(n=Object(s.get)(n)).setWorldExtent(t.extent),o={dataProjection:n,featureProjection:t.featureProjection}}return this.adaptOptions(o)},e.prototype.adaptOptions=function(e){return Object(i.assign)({dataProjection:this.dataProjection,featureProjection:this.defaultFeatureProjection},e)},e.prototype.getType=function(){return Object(n.abstract)()},e.prototype.readFeature=function(e,t){return Object(n.abstract)()},e.prototype.readFeatures=function(e,t){return Object(n.abstract)()},e.prototype.readGeometry=function(e,t){return Object(n.abstract)()},e.prototype.readProjection=function(e){return Object(n.abstract)()},e.prototype.writeFeature=function(e,t){return Object(n.abstract)()},e.prototype.writeFeatures=function(e,t){return Object(n.abstract)()},e.prototype.writeGeometry=function(e,t){return Object(n.abstract)()},e}();function l(e,t,o){var r,n=o?Object(s.get)(o.featureProjection):null,i=o?Object(s.get)(o.dataProjection):null;if(r=n&&i&&!Object(s.equivalent)(n,i)?(t?e.clone():e).transform(t?n:i,t?i:n):e,t&&o&&void 0!==o.decimals){var a=Math.pow(10,o.decimals);r===e&&(r=e.clone()),r.applyTransform((function(e){for(var t=0,o=e.length;t<o;++t)e[t]=Math.round(e[t]*a)/a;return e}))}return r}function u(e,t){var o=t?Object(s.get)(t.featureProjection):null,r=t?Object(s.get)(t.dataProjection):null;return o&&r&&!Object(s.equivalent)(o,r)?Object(s.transformExtent)(e,r,o):e}t.default=a},"./node_modules/ol/format/FormatType.js":function(e,t,o){"use strict";o.r(t),t.default={ARRAY_BUFFER:"arraybuffer",JSON:"json",TEXT:"text",XML:"xml"}},"./node_modules/ol/format/GML.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/format/GML3.js").default;r.prototype.writeFeatures,r.prototype.writeFeaturesNode,t.default=r},"./node_modules/ol/format/GML2.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/GMLBase.js"),i=o("./node_modules/ol/xml.js"),s=o("./node_modules/ol/obj.js"),a=o("./node_modules/ol/extent.js"),l=o("./node_modules/ol/proj.js"),u=o("./node_modules/ol/format/Feature.js"),c=o("./node_modules/ol/format/xsd.js"),d=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),p=n.GMLNS+" http://schemas.opengis.net/gml/2.1.2/feature.xsd",h={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"},f=function(e){function t(t){var o=this,r=t||{};return(o=e.call(this,r)||this).FEATURE_COLLECTION_PARSERS[n.GMLNS].featureMember=Object(i.makeArrayPusher)(o.readFeaturesInternal),o.schemaLocation=r.schemaLocation?r.schemaLocation:p,o}return d(t,e),t.prototype.readFlatCoordinates=function(e,t){var o=Object(i.getAllTextContent)(e,!1).replace(/^\s*|\s*$/g,""),r=t[0].srsName,n="enu";if(r){var s=Object(l.get)(r);s&&(n=s.getAxisOrientation())}for(var a=o.trim().split(/\s+/),u=[],c=0,d=a.length;c<d;c++){var p=a[c].split(/,+/),h=parseFloat(p[0]),f=parseFloat(p[1]),m=3===p.length?parseFloat(p[2]):0;"en"===n.substr(0,2)?u.push(h,f,m):u.push(f,h,m)}return u},t.prototype.readBox=function(e,t){var o=Object(i.pushParseAndPop)([null],this.BOX_PARSERS_,e,t,this);return Object(a.createOrUpdate)(o[1][0],o[1][1],o[1][3],o[1][4])},t.prototype.innerBoundaryIsParser=function(e,t){var o=Object(i.pushParseAndPop)(void 0,this.RING_PARSERS,e,t,this);o&&t[t.length-1].push(o)},t.prototype.outerBoundaryIsParser=function(e,t){var o=Object(i.pushParseAndPop)(void 0,this.RING_PARSERS,e,t,this);o&&(t[t.length-1][0]=o)},t.prototype.GEOMETRY_NODE_FACTORY_=function(e,t,o){var r,n=t[t.length-1],s=n.multiSurface,a=n.surface,l=n.multiCurve;return Array.isArray(e)?r="Envelope":"MultiPolygon"===(r=e.getType())&&!0===s?r="MultiSurface":"Polygon"===r&&!0===a?r="Surface":"MultiLineString"===r&&!0===l&&(r="MultiCurve"),Object(i.createElementNS)("http://www.opengis.net/gml",r)},t.prototype.writeFeatureElement=function(e,t,o){var r=t.getId();r&&e.setAttribute("fid",r);var n=o[o.length-1],a=n.featureNS,l=t.getGeometryName();n.serializers||(n.serializers={},n.serializers[a]={});var u=[],d=[];if(t.hasProperties()){var p=t.getProperties();for(var h in p){var f=p[h];null!==f&&(u.push(h),d.push(f),h==l||"function"==typeof f.getSimplifiedGeometry?h in n.serializers[a]||(n.serializers[a][h]=Object(i.makeChildAppender)(this.writeGeometryElement,this)):h in n.serializers[a]||(n.serializers[a][h]=Object(i.makeChildAppender)(c.writeStringTextNode)))}}var m=Object(s.assign)({},n);m.node=e,Object(i.pushSerializeAndPop)(m,n.serializers,Object(i.makeSimpleNodeFactory)(void 0,a),d,o,u)},t.prototype.writeCurveOrLineString=function(e,t,o){var r=o[o.length-1].srsName;if("LineStringSegment"!==e.nodeName&&r&&e.setAttribute("srsName",r),"LineString"===e.nodeName||"LineStringSegment"===e.nodeName){var n=this.createCoordinatesNode_(e.namespaceURI);e.appendChild(n),this.writeCoordinates_(n,t,o)}else if("Curve"===e.nodeName){var s=Object(i.createElementNS)(e.namespaceURI,"segments");e.appendChild(s),this.writeCurveSegments_(s,t,o)}},t.prototype.writeLineStringOrCurveMember=function(e,t,o){var r=this.GEOMETRY_NODE_FACTORY_(t,o);r&&(e.appendChild(r),this.writeCurveOrLineString(r,t,o))},t.prototype.writeMultiCurveOrLineString=function(e,t,o){var r=o[o.length-1],n=r.hasZ,s=r.srsName,a=r.curve;s&&e.setAttribute("srsName",s);var l=t.getLineStrings();Object(i.pushSerializeAndPop)({node:e,hasZ:n,srsName:s,curve:a},this.LINESTRINGORCURVEMEMBER_SERIALIZERS,this.MULTIGEOMETRY_MEMBER_NODE_FACTORY_,l,o,void 0,this)},t.prototype.writeGeometryElement=function(e,t,o){var r,n=o[o.length-1],a=Object(s.assign)({},n);a.node=e,r=Array.isArray(t)?Object(u.transformExtentWithOptions)(t,n):Object(u.transformGeometryWithOptions)(t,!0,n),Object(i.pushSerializeAndPop)(a,this.GEOMETRY_SERIALIZERS,this.GEOMETRY_NODE_FACTORY_,[r],o,void 0,this)},t.prototype.createCoordinatesNode_=function(e){var t=Object(i.createElementNS)(e,"coordinates");return t.setAttribute("decimal","."),t.setAttribute("cs",","),t.setAttribute("ts"," "),t},t.prototype.writeCoordinates_=function(e,t,o){for(var r=o[o.length-1],n=r.hasZ,i=r.srsName,s=t.getCoordinates(),a=s.length,l=new Array(a),u=0;u<a;++u){var d=s[u];l[u]=this.getCoords_(d,i,n)}Object(c.writeStringTextNode)(e,l.join(" "))},t.prototype.writeCurveSegments_=function(e,t,o){var r=Object(i.createElementNS)(e.namespaceURI,"LineStringSegment");e.appendChild(r),this.writeCurveOrLineString(r,t,o)},t.prototype.writeSurfaceOrPolygon=function(e,t,o){var r=o[o.length-1],n=r.hasZ,s=r.srsName;if("PolygonPatch"!==e.nodeName&&s&&e.setAttribute("srsName",s),"Polygon"===e.nodeName||"PolygonPatch"===e.nodeName){var a=t.getLinearRings();Object(i.pushSerializeAndPop)({node:e,hasZ:n,srsName:s},this.RING_SERIALIZERS,this.RING_NODE_FACTORY_,a,o,void 0,this)}else if("Surface"===e.nodeName){var l=Object(i.createElementNS)(e.namespaceURI,"patches");e.appendChild(l),this.writeSurfacePatches_(l,t,o)}},t.prototype.RING_NODE_FACTORY_=function(e,t,o){var r=t[t.length-1],n=r.node,s=r.exteriorWritten;return void 0===s&&(r.exteriorWritten=!0),Object(i.createElementNS)(n.namespaceURI,void 0!==s?"innerBoundaryIs":"outerBoundaryIs")},t.prototype.writeSurfacePatches_=function(e,t,o){var r=Object(i.createElementNS)(e.namespaceURI,"PolygonPatch");e.appendChild(r),this.writeSurfaceOrPolygon(r,t,o)},t.prototype.writeRing=function(e,t,o){var r=Object(i.createElementNS)(e.namespaceURI,"LinearRing");e.appendChild(r),this.writeLinearRing(r,t,o)},t.prototype.getCoords_=function(e,t,o){var r="enu";t&&(r=Object(l.get)(t).getAxisOrientation());var n="en"===r.substr(0,2)?e[0]+","+e[1]:e[1]+","+e[0];o&&(n+=","+(e[2]||0));return n},t.prototype.writePoint=function(e,t,o){var r=o[o.length-1],n=r.hasZ,i=r.srsName;i&&e.setAttribute("srsName",i);var s=this.createCoordinatesNode_(e.namespaceURI);e.appendChild(s);var a=t.getCoordinates(),l=this.getCoords_(a,i,n);Object(c.writeStringTextNode)(s,l)},t.prototype.writeMultiPoint=function(e,t,o){var r=o[o.length-1],n=r.hasZ,s=r.srsName;s&&e.setAttribute("srsName",s);var a=t.getPoints();Object(i.pushSerializeAndPop)({node:e,hasZ:n,srsName:s},this.POINTMEMBER_SERIALIZERS,Object(i.makeSimpleNodeFactory)("pointMember"),a,o,void 0,this)},t.prototype.writePointMember=function(e,t,o){var r=Object(i.createElementNS)(e.namespaceURI,"Point");e.appendChild(r),this.writePoint(r,t,o)},t.prototype.writeLinearRing=function(e,t,o){var r=o[o.length-1].srsName;r&&e.setAttribute("srsName",r);var n=this.createCoordinatesNode_(e.namespaceURI);e.appendChild(n),this.writeCoordinates_(n,t,o)},t.prototype.writeMultiSurfaceOrPolygon=function(e,t,o){var r=o[o.length-1],n=r.hasZ,s=r.srsName,a=r.surface;s&&e.setAttribute("srsName",s);var l=t.getPolygons();Object(i.pushSerializeAndPop)({node:e,hasZ:n,srsName:s,surface:a},this.SURFACEORPOLYGONMEMBER_SERIALIZERS,this.MULTIGEOMETRY_MEMBER_NODE_FACTORY_,l,o,void 0,this)},t.prototype.writeSurfaceOrPolygonMember=function(e,t,o){var r=this.GEOMETRY_NODE_FACTORY_(t,o);r&&(e.appendChild(r),this.writeSurfaceOrPolygon(r,t,o))},t.prototype.writeEnvelope=function(e,t,o){var r=o[o.length-1].srsName;r&&e.setAttribute("srsName",r);var n=[t[0]+" "+t[1],t[2]+" "+t[3]];Object(i.pushSerializeAndPop)({node:e},this.ENVELOPE_SERIALIZERS,i.OBJECT_PROPERTY_NODE_FACTORY,n,o,["lowerCorner","upperCorner"],this)},t.prototype.MULTIGEOMETRY_MEMBER_NODE_FACTORY_=function(e,t,o){var r=t[t.length-1].node;return Object(i.createElementNS)("http://www.opengis.net/gml",h[r.nodeName])},t}(n.default);f.prototype.GEOMETRY_FLAT_COORDINATES_PARSERS={"http://www.opengis.net/gml":{coordinates:Object(i.makeReplacer)(f.prototype.readFlatCoordinates)}},f.prototype.FLAT_LINEAR_RINGS_PARSERS={"http://www.opengis.net/gml":{innerBoundaryIs:f.prototype.innerBoundaryIsParser,outerBoundaryIs:f.prototype.outerBoundaryIsParser}},f.prototype.BOX_PARSERS_={"http://www.opengis.net/gml":{coordinates:Object(i.makeArrayPusher)(f.prototype.readFlatCoordinates)}},f.prototype.GEOMETRY_PARSERS={"http://www.opengis.net/gml":{Point:Object(i.makeReplacer)(n.default.prototype.readPoint),MultiPoint:Object(i.makeReplacer)(n.default.prototype.readMultiPoint),LineString:Object(i.makeReplacer)(n.default.prototype.readLineString),MultiLineString:Object(i.makeReplacer)(n.default.prototype.readMultiLineString),LinearRing:Object(i.makeReplacer)(n.default.prototype.readLinearRing),Polygon:Object(i.makeReplacer)(n.default.prototype.readPolygon),MultiPolygon:Object(i.makeReplacer)(n.default.prototype.readMultiPolygon),Box:Object(i.makeReplacer)(f.prototype.readBox)}},f.prototype.GEOMETRY_SERIALIZERS={"http://www.opengis.net/gml":{Curve:Object(i.makeChildAppender)(f.prototype.writeCurveOrLineString),MultiCurve:Object(i.makeChildAppender)(f.prototype.writeMultiCurveOrLineString),Point:Object(i.makeChildAppender)(f.prototype.writePoint),MultiPoint:Object(i.makeChildAppender)(f.prototype.writeMultiPoint),LineString:Object(i.makeChildAppender)(f.prototype.writeCurveOrLineString),MultiLineString:Object(i.makeChildAppender)(f.prototype.writeMultiCurveOrLineString),LinearRing:Object(i.makeChildAppender)(f.prototype.writeLinearRing),Polygon:Object(i.makeChildAppender)(f.prototype.writeSurfaceOrPolygon),MultiPolygon:Object(i.makeChildAppender)(f.prototype.writeMultiSurfaceOrPolygon),Surface:Object(i.makeChildAppender)(f.prototype.writeSurfaceOrPolygon),MultiSurface:Object(i.makeChildAppender)(f.prototype.writeMultiSurfaceOrPolygon),Envelope:Object(i.makeChildAppender)(f.prototype.writeEnvelope)}},f.prototype.LINESTRINGORCURVEMEMBER_SERIALIZERS={"http://www.opengis.net/gml":{lineStringMember:Object(i.makeChildAppender)(f.prototype.writeLineStringOrCurveMember),curveMember:Object(i.makeChildAppender)(f.prototype.writeLineStringOrCurveMember)}},f.prototype.RING_SERIALIZERS={"http://www.opengis.net/gml":{outerBoundaryIs:Object(i.makeChildAppender)(f.prototype.writeRing),innerBoundaryIs:Object(i.makeChildAppender)(f.prototype.writeRing)}},f.prototype.POINTMEMBER_SERIALIZERS={"http://www.opengis.net/gml":{pointMember:Object(i.makeChildAppender)(f.prototype.writePointMember)}},f.prototype.SURFACEORPOLYGONMEMBER_SERIALIZERS={"http://www.opengis.net/gml":{surfaceMember:Object(i.makeChildAppender)(f.prototype.writeSurfaceOrPolygonMember),polygonMember:Object(i.makeChildAppender)(f.prototype.writeSurfaceOrPolygonMember)}},f.prototype.ENVELOPE_SERIALIZERS={"http://www.opengis.net/gml":{lowerCorner:Object(i.makeChildAppender)(c.writeStringTextNode),upperCorner:Object(i.makeChildAppender)(c.writeStringTextNode)}},t.default=f},"./node_modules/ol/format/GML3.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/GML2.js"),i=o("./node_modules/ol/format/GMLBase.js"),s=o("./node_modules/ol/geom/GeometryLayout.js"),a=o("./node_modules/ol/geom/LineString.js"),l=o("./node_modules/ol/geom/MultiLineString.js"),u=o("./node_modules/ol/geom/MultiPolygon.js"),c=o("./node_modules/ol/geom/Polygon.js"),d=o("./node_modules/ol/xml.js"),p=o("./node_modules/ol/obj.js"),h=o("./node_modules/ol/extent.js"),f=o("./node_modules/ol/array.js"),m=o("./node_modules/ol/proj.js"),g=o("./node_modules/ol/format/xsd.js"),y=o("./node_modules/ol/format/Feature.js"),v=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),_=i.GMLNS+" http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd",b={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"},A=function(e){function t(t){var o=this,r=t||{};return(o=e.call(this,r)||this).surface_=void 0!==r.surface&&r.surface,o.curve_=void 0!==r.curve&&r.curve,o.multiCurve_=void 0===r.multiCurve||r.multiCurve,o.multiSurface_=void 0===r.multiSurface||r.multiSurface,o.schemaLocation=r.schemaLocation?r.schemaLocation:_,o.hasZ=void 0!==r.hasZ&&r.hasZ,o}return v(t,e),t.prototype.readMultiCurve=function(e,t){var o=Object(d.pushParseAndPop)([],this.MULTICURVE_PARSERS,e,t,this);return o?new l.default(o):void 0},t.prototype.readMultiSurface=function(e,t){var o=Object(d.pushParseAndPop)([],this.MULTISURFACE_PARSERS,e,t,this);if(o)return new u.default(o)},t.prototype.curveMemberParser=function(e,t){Object(d.parseNode)(this.CURVEMEMBER_PARSERS,e,t,this)},t.prototype.surfaceMemberParser=function(e,t){Object(d.parseNode)(this.SURFACEMEMBER_PARSERS,e,t,this)},t.prototype.readPatch=function(e,t){return Object(d.pushParseAndPop)([null],this.PATCHES_PARSERS,e,t,this)},t.prototype.readSegment=function(e,t){return Object(d.pushParseAndPop)([null],this.SEGMENTS_PARSERS,e,t,this)},t.prototype.readPolygonPatch=function(e,t){return Object(d.pushParseAndPop)([null],this.FLAT_LINEAR_RINGS_PARSERS,e,t,this)},t.prototype.readLineStringSegment=function(e,t){return Object(d.pushParseAndPop)([null],this.GEOMETRY_FLAT_COORDINATES_PARSERS,e,t,this)},t.prototype.interiorParser=function(e,t){var o=Object(d.pushParseAndPop)(void 0,this.RING_PARSERS,e,t,this);o&&t[t.length-1].push(o)},t.prototype.exteriorParser=function(e,t){var o=Object(d.pushParseAndPop)(void 0,this.RING_PARSERS,e,t,this);o&&(t[t.length-1][0]=o)},t.prototype.readSurface=function(e,t){var o=Object(d.pushParseAndPop)([null],this.SURFACE_PARSERS,e,t,this);if(o&&o[0]){var r,n=o[0],i=[n.length],a=void 0;for(a=1,r=o.length;a<r;++a)Object(f.extend)(n,o[a]),i.push(n.length);return new c.default(n,s.default.XYZ,i)}},t.prototype.readCurve=function(e,t){var o=Object(d.pushParseAndPop)([null],this.CURVE_PARSERS,e,t,this);return o?new a.default(o,s.default.XYZ):void 0},t.prototype.readEnvelope=function(e,t){var o=Object(d.pushParseAndPop)([null],this.ENVELOPE_PARSERS,e,t,this);return Object(h.createOrUpdate)(o[1][0],o[1][1],o[2][0],o[2][1])},t.prototype.readFlatPos=function(e,t){for(var o,r=Object(d.getAllTextContent)(e,!1),n=/^\s*([+\-]?\d*\.?\d+(?:[eE][+\-]?\d+)?)\s*/,i=[];o=n.exec(r);)i.push(parseFloat(o[1])),r=r.substr(o[0].length);if(""===r){var s=t[0].srsName,a="enu";if(s)a=Object(m.get)(s).getAxisOrientation();if("neu"===a){var l,u=void 0;for(u=0,l=i.length;u<l;u+=3){var c=i[u],p=i[u+1];i[u]=p,i[u+1]=c}}var h=i.length;if(2==h&&i.push(0),0!==h)return i}},t.prototype.readFlatPosList=function(e,t){var o=Object(d.getAllTextContent)(e,!1).replace(/^\s*|\s*$/g,""),r=t[0],n=r.srsName,i=r.srsDimension,s="enu";n&&(s=Object(m.get)(n).getAxisOrientation());var a,l,u,c=o.split(/\s+/),p=2;e.getAttribute("srsDimension")?p=Object(g.readNonNegativeIntegerString)(e.getAttribute("srsDimension")):e.getAttribute("dimension")?p=Object(g.readNonNegativeIntegerString)(e.getAttribute("dimension")):e.parentNode.getAttribute("srsDimension")?p=Object(g.readNonNegativeIntegerString)(e.parentNode.getAttribute("srsDimension")):i&&(p=Object(g.readNonNegativeIntegerString)(i));for(var h=[],f=0,y=c.length;f<y;f+=p)a=parseFloat(c[f]),l=parseFloat(c[f+1]),u=3===p?parseFloat(c[f+2]):0,"en"===s.substr(0,2)?h.push(a,l,u):h.push(l,a,u);return h},t.prototype.writePos_=function(e,t,o){var r=o[o.length-1],n=r.hasZ,i=n?"3":"2";e.setAttribute("srsDimension",i);var s=r.srsName,a="enu";s&&(a=Object(m.get)(s).getAxisOrientation());var l,u=t.getCoordinates();(l="en"===a.substr(0,2)?u[0]+" "+u[1]:u[1]+" "+u[0],n)&&(l+=" "+(u[2]||0));Object(g.writeStringTextNode)(e,l)},t.prototype.getCoords_=function(e,t,o){var r="enu";t&&(r=Object(m.get)(t).getAxisOrientation());var n="en"===r.substr(0,2)?e[0]+" "+e[1]:e[1]+" "+e[0];o&&(n+=" "+(e[2]||0));return n},t.prototype.writePosList_=function(e,t,o){var r=o[o.length-1],n=r.hasZ,i=n?"3":"2";e.setAttribute("srsDimension",i);for(var s,a=r.srsName,l=t.getCoordinates(),u=l.length,c=new Array(u),d=0;d<u;++d)s=l[d],c[d]=this.getCoords_(s,a,n);Object(g.writeStringTextNode)(e,c.join(" "))},t.prototype.writePoint=function(e,t,o){var r=o[o.length-1].srsName;r&&e.setAttribute("srsName",r);var n=Object(d.createElementNS)(e.namespaceURI,"pos");e.appendChild(n),this.writePos_(n,t,o)},t.prototype.writeEnvelope=function(e,t,o){var r=o[o.length-1].srsName;r&&e.setAttribute("srsName",r);var n=[t[0]+" "+t[1],t[2]+" "+t[3]];Object(d.pushSerializeAndPop)({node:e},this.ENVELOPE_SERIALIZERS,d.OBJECT_PROPERTY_NODE_FACTORY,n,o,["lowerCorner","upperCorner"],this)},t.prototype.writeLinearRing=function(e,t,o){var r=o[o.length-1].srsName;r&&e.setAttribute("srsName",r);var n=Object(d.createElementNS)(e.namespaceURI,"posList");e.appendChild(n),this.writePosList_(n,t,o)},t.prototype.RING_NODE_FACTORY_=function(e,t,o){var r=t[t.length-1],n=r.node,i=r.exteriorWritten;return void 0===i&&(r.exteriorWritten=!0),Object(d.createElementNS)(n.namespaceURI,void 0!==i?"interior":"exterior")},t.prototype.writeSurfaceOrPolygon=function(e,t,o){var r=o[o.length-1],n=r.hasZ,i=r.srsName;if("PolygonPatch"!==e.nodeName&&i&&e.setAttribute("srsName",i),"Polygon"===e.nodeName||"PolygonPatch"===e.nodeName){var s=t.getLinearRings();Object(d.pushSerializeAndPop)({node:e,hasZ:n,srsName:i},this.RING_SERIALIZERS,this.RING_NODE_FACTORY_,s,o,void 0,this)}else if("Surface"===e.nodeName){var a=Object(d.createElementNS)(e.namespaceURI,"patches");e.appendChild(a),this.writeSurfacePatches_(a,t,o)}},t.prototype.writeCurveOrLineString=function(e,t,o){var r=o[o.length-1].srsName;if("LineStringSegment"!==e.nodeName&&r&&e.setAttribute("srsName",r),"LineString"===e.nodeName||"LineStringSegment"===e.nodeName){var n=Object(d.createElementNS)(e.namespaceURI,"posList");e.appendChild(n),this.writePosList_(n,t,o)}else if("Curve"===e.nodeName){var i=Object(d.createElementNS)(e.namespaceURI,"segments");e.appendChild(i),this.writeCurveSegments_(i,t,o)}},t.prototype.writeMultiSurfaceOrPolygon=function(e,t,o){var r=o[o.length-1],n=r.hasZ,i=r.srsName,s=r.surface;i&&e.setAttribute("srsName",i);var a=t.getPolygons();Object(d.pushSerializeAndPop)({node:e,hasZ:n,srsName:i,surface:s},this.SURFACEORPOLYGONMEMBER_SERIALIZERS,this.MULTIGEOMETRY_MEMBER_NODE_FACTORY_,a,o,void 0,this)},t.prototype.writeMultiPoint=function(e,t,o){var r=o[o.length-1],n=r.srsName,i=r.hasZ;n&&e.setAttribute("srsName",n);var s=t.getPoints();Object(d.pushSerializeAndPop)({node:e,hasZ:i,srsName:n},this.POINTMEMBER_SERIALIZERS,Object(d.makeSimpleNodeFactory)("pointMember"),s,o,void 0,this)},t.prototype.writeMultiCurveOrLineString=function(e,t,o){var r=o[o.length-1],n=r.hasZ,i=r.srsName,s=r.curve;i&&e.setAttribute("srsName",i);var a=t.getLineStrings();Object(d.pushSerializeAndPop)({node:e,hasZ:n,srsName:i,curve:s},this.LINESTRINGORCURVEMEMBER_SERIALIZERS,this.MULTIGEOMETRY_MEMBER_NODE_FACTORY_,a,o,void 0,this)},t.prototype.writeRing=function(e,t,o){var r=Object(d.createElementNS)(e.namespaceURI,"LinearRing");e.appendChild(r),this.writeLinearRing(r,t,o)},t.prototype.writeSurfaceOrPolygonMember=function(e,t,o){var r=this.GEOMETRY_NODE_FACTORY_(t,o);r&&(e.appendChild(r),this.writeSurfaceOrPolygon(r,t,o))},t.prototype.writePointMember=function(e,t,o){var r=Object(d.createElementNS)(e.namespaceURI,"Point");e.appendChild(r),this.writePoint(r,t,o)},t.prototype.writeLineStringOrCurveMember=function(e,t,o){var r=this.GEOMETRY_NODE_FACTORY_(t,o);r&&(e.appendChild(r),this.writeCurveOrLineString(r,t,o))},t.prototype.writeSurfacePatches_=function(e,t,o){var r=Object(d.createElementNS)(e.namespaceURI,"PolygonPatch");e.appendChild(r),this.writeSurfaceOrPolygon(r,t,o)},t.prototype.writeCurveSegments_=function(e,t,o){var r=Object(d.createElementNS)(e.namespaceURI,"LineStringSegment");e.appendChild(r),this.writeCurveOrLineString(r,t,o)},t.prototype.writeGeometryElement=function(e,t,o){var r,n=o[o.length-1],i=Object(p.assign)({},n);i.node=e,r=Array.isArray(t)?Object(y.transformExtentWithOptions)(t,n):Object(y.transformGeometryWithOptions)(t,!0,n),Object(d.pushSerializeAndPop)(i,this.GEOMETRY_SERIALIZERS,this.GEOMETRY_NODE_FACTORY_,[r],o,void 0,this)},t.prototype.writeFeatureElement=function(e,t,o){var r=t.getId();r&&e.setAttribute("fid",r);var n=o[o.length-1],i=n.featureNS,s=t.getGeometryName();n.serializers||(n.serializers={},n.serializers[i]={});var a=[],l=[];if(t.hasProperties()){var u=t.getProperties();for(var c in u){var h=u[c];null!==h&&(a.push(c),l.push(h),c==s||"function"==typeof h.getSimplifiedGeometry?c in n.serializers[i]||(n.serializers[i][c]=Object(d.makeChildAppender)(this.writeGeometryElement,this)):c in n.serializers[i]||(n.serializers[i][c]=Object(d.makeChildAppender)(g.writeStringTextNode)))}}var f=Object(p.assign)({},n);f.node=e,Object(d.pushSerializeAndPop)(f,n.serializers,Object(d.makeSimpleNodeFactory)(void 0,i),l,o,a)},t.prototype.writeFeatureMembers_=function(e,t,o){var r=o[o.length-1],n=r.featureType,i=r.featureNS,s={};s[i]={},s[i][n]=Object(d.makeChildAppender)(this.writeFeatureElement,this);var a=Object(p.assign)({},r);a.node=e,Object(d.pushSerializeAndPop)(a,s,Object(d.makeSimpleNodeFactory)(n,i),t,o)},t.prototype.MULTIGEOMETRY_MEMBER_NODE_FACTORY_=function(e,t,o){var r=t[t.length-1].node;return Object(d.createElementNS)(this.namespace,b[r.nodeName])},t.prototype.GEOMETRY_NODE_FACTORY_=function(e,t,o){var r,n=t[t.length-1],i=n.multiSurface,s=n.surface,a=n.curve,l=n.multiCurve;return Array.isArray(e)?r="Envelope":"MultiPolygon"===(r=e.getType())&&!0===i?r="MultiSurface":"Polygon"===r&&!0===s?r="Surface":"LineString"===r&&!0===a?r="Curve":"MultiLineString"===r&&!0===l&&(r="MultiCurve"),Object(d.createElementNS)(this.namespace,r)},t.prototype.writeGeometryNode=function(e,t){t=this.adaptOptions(t);var o=Object(d.createElementNS)(this.namespace,"geom"),r={node:o,hasZ:this.hasZ,srsName:this.srsName,curve:this.curve_,surface:this.surface_,multiSurface:this.multiSurface_,multiCurve:this.multiCurve_};return t&&Object(p.assign)(r,t),this.writeGeometryElement(o,e,[r]),o},t.prototype.writeFeaturesNode=function(e,t){t=this.adaptOptions(t);var o=Object(d.createElementNS)(this.namespace,"featureMembers");o.setAttributeNS(d.XML_SCHEMA_INSTANCE_URI,"xsi:schemaLocation",this.schemaLocation);var r={srsName:this.srsName,hasZ:this.hasZ,curve:this.curve_,surface:this.surface_,multiSurface:this.multiSurface_,multiCurve:this.multiCurve_,featureNS:this.featureNS,featureType:this.featureType};return t&&Object(p.assign)(r,t),this.writeFeatureMembers_(o,e,[r]),o},t}(i.default);A.prototype.GEOMETRY_FLAT_COORDINATES_PARSERS={"http://www.opengis.net/gml":{pos:Object(d.makeReplacer)(A.prototype.readFlatPos),posList:Object(d.makeReplacer)(A.prototype.readFlatPosList),coordinates:Object(d.makeReplacer)(n.default.prototype.readFlatCoordinates)}},A.prototype.FLAT_LINEAR_RINGS_PARSERS={"http://www.opengis.net/gml":{interior:A.prototype.interiorParser,exterior:A.prototype.exteriorParser}},A.prototype.GEOMETRY_PARSERS={"http://www.opengis.net/gml":{Point:Object(d.makeReplacer)(i.default.prototype.readPoint),MultiPoint:Object(d.makeReplacer)(i.default.prototype.readMultiPoint),LineString:Object(d.makeReplacer)(i.default.prototype.readLineString),MultiLineString:Object(d.makeReplacer)(i.default.prototype.readMultiLineString),LinearRing:Object(d.makeReplacer)(i.default.prototype.readLinearRing),Polygon:Object(d.makeReplacer)(i.default.prototype.readPolygon),MultiPolygon:Object(d.makeReplacer)(i.default.prototype.readMultiPolygon),Surface:Object(d.makeReplacer)(A.prototype.readSurface),MultiSurface:Object(d.makeReplacer)(A.prototype.readMultiSurface),Curve:Object(d.makeReplacer)(A.prototype.readCurve),MultiCurve:Object(d.makeReplacer)(A.prototype.readMultiCurve),Envelope:Object(d.makeReplacer)(A.prototype.readEnvelope)}},A.prototype.MULTICURVE_PARSERS={"http://www.opengis.net/gml":{curveMember:Object(d.makeArrayPusher)(A.prototype.curveMemberParser),curveMembers:Object(d.makeArrayPusher)(A.prototype.curveMemberParser)}},A.prototype.MULTISURFACE_PARSERS={"http://www.opengis.net/gml":{surfaceMember:Object(d.makeArrayPusher)(A.prototype.surfaceMemberParser),surfaceMembers:Object(d.makeArrayPusher)(A.prototype.surfaceMemberParser)}},A.prototype.CURVEMEMBER_PARSERS={"http://www.opengis.net/gml":{LineString:Object(d.makeArrayPusher)(i.default.prototype.readLineString),Curve:Object(d.makeArrayPusher)(A.prototype.readCurve)}},A.prototype.SURFACEMEMBER_PARSERS={"http://www.opengis.net/gml":{Polygon:Object(d.makeArrayPusher)(i.default.prototype.readPolygon),Surface:Object(d.makeArrayPusher)(A.prototype.readSurface)}},A.prototype.SURFACE_PARSERS={"http://www.opengis.net/gml":{patches:Object(d.makeReplacer)(A.prototype.readPatch)}},A.prototype.CURVE_PARSERS={"http://www.opengis.net/gml":{segments:Object(d.makeReplacer)(A.prototype.readSegment)}},A.prototype.ENVELOPE_PARSERS={"http://www.opengis.net/gml":{lowerCorner:Object(d.makeArrayPusher)(A.prototype.readFlatPosList),upperCorner:Object(d.makeArrayPusher)(A.prototype.readFlatPosList)}},A.prototype.PATCHES_PARSERS={"http://www.opengis.net/gml":{PolygonPatch:Object(d.makeReplacer)(A.prototype.readPolygonPatch)}},A.prototype.SEGMENTS_PARSERS={"http://www.opengis.net/gml":{LineStringSegment:Object(d.makeReplacer)(A.prototype.readLineStringSegment)}},A.prototype.writeFeatures,A.prototype.RING_SERIALIZERS={"http://www.opengis.net/gml":{exterior:Object(d.makeChildAppender)(A.prototype.writeRing),interior:Object(d.makeChildAppender)(A.prototype.writeRing)}},A.prototype.ENVELOPE_SERIALIZERS={"http://www.opengis.net/gml":{lowerCorner:Object(d.makeChildAppender)(g.writeStringTextNode),upperCorner:Object(d.makeChildAppender)(g.writeStringTextNode)}},A.prototype.SURFACEORPOLYGONMEMBER_SERIALIZERS={"http://www.opengis.net/gml":{surfaceMember:Object(d.makeChildAppender)(A.prototype.writeSurfaceOrPolygonMember),polygonMember:Object(d.makeChildAppender)(A.prototype.writeSurfaceOrPolygonMember)}},A.prototype.POINTMEMBER_SERIALIZERS={"http://www.opengis.net/gml":{pointMember:Object(d.makeChildAppender)(A.prototype.writePointMember)}},A.prototype.LINESTRINGORCURVEMEMBER_SERIALIZERS={"http://www.opengis.net/gml":{lineStringMember:Object(d.makeChildAppender)(A.prototype.writeLineStringOrCurveMember),curveMember:Object(d.makeChildAppender)(A.prototype.writeLineStringOrCurveMember)}},A.prototype.GEOMETRY_SERIALIZERS={"http://www.opengis.net/gml":{Curve:Object(d.makeChildAppender)(A.prototype.writeCurveOrLineString),MultiCurve:Object(d.makeChildAppender)(A.prototype.writeMultiCurveOrLineString),Point:Object(d.makeChildAppender)(A.prototype.writePoint),MultiPoint:Object(d.makeChildAppender)(A.prototype.writeMultiPoint),LineString:Object(d.makeChildAppender)(A.prototype.writeCurveOrLineString),MultiLineString:Object(d.makeChildAppender)(A.prototype.writeMultiCurveOrLineString),LinearRing:Object(d.makeChildAppender)(A.prototype.writeLinearRing),Polygon:Object(d.makeChildAppender)(A.prototype.writeSurfaceOrPolygon),MultiPolygon:Object(d.makeChildAppender)(A.prototype.writeMultiSurfaceOrPolygon),Surface:Object(d.makeChildAppender)(A.prototype.writeSurfaceOrPolygon),MultiSurface:Object(d.makeChildAppender)(A.prototype.writeMultiSurfaceOrPolygon),Envelope:Object(d.makeChildAppender)(A.prototype.writeEnvelope)}},t.default=A},"./node_modules/ol/format/GML32.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/GML2.js"),i=o("./node_modules/ol/format/GML3.js"),s=o("./node_modules/ol/format/GMLBase.js"),a=o("./node_modules/ol/xml.js"),l=o("./node_modules/ol/format/xsd.js"),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),c=function(e){function t(t){var o=this,r=t||{};return(o=e.call(this,r)||this).schemaLocation=r.schemaLocation?r.schemaLocation:o.namespace+" http://schemas.opengis.net/gml/3.2.1/gml.xsd",o}return u(t,e),t}(i.default);c.prototype.namespace="http://www.opengis.net/gml/3.2",c.prototype.GEOMETRY_FLAT_COORDINATES_PARSERS={"http://www.opengis.net/gml/3.2":{pos:Object(a.makeReplacer)(i.default.prototype.readFlatPos),posList:Object(a.makeReplacer)(i.default.prototype.readFlatPosList),coordinates:Object(a.makeReplacer)(n.default.prototype.readFlatCoordinates)}},c.prototype.FLAT_LINEAR_RINGS_PARSERS={"http://www.opengis.net/gml/3.2":{interior:i.default.prototype.interiorParser,exterior:i.default.prototype.exteriorParser}},c.prototype.GEOMETRY_PARSERS={"http://www.opengis.net/gml/3.2":{Point:Object(a.makeReplacer)(s.default.prototype.readPoint),MultiPoint:Object(a.makeReplacer)(s.default.prototype.readMultiPoint),LineString:Object(a.makeReplacer)(s.default.prototype.readLineString),MultiLineString:Object(a.makeReplacer)(s.default.prototype.readMultiLineString),LinearRing:Object(a.makeReplacer)(s.default.prototype.readLinearRing),Polygon:Object(a.makeReplacer)(s.default.prototype.readPolygon),MultiPolygon:Object(a.makeReplacer)(s.default.prototype.readMultiPolygon),Surface:Object(a.makeReplacer)(c.prototype.readSurface),MultiSurface:Object(a.makeReplacer)(i.default.prototype.readMultiSurface),Curve:Object(a.makeReplacer)(c.prototype.readCurve),MultiCurve:Object(a.makeReplacer)(i.default.prototype.readMultiCurve),Envelope:Object(a.makeReplacer)(c.prototype.readEnvelope)}},c.prototype.MULTICURVE_PARSERS={"http://www.opengis.net/gml/3.2":{curveMember:Object(a.makeArrayPusher)(i.default.prototype.curveMemberParser),curveMembers:Object(a.makeArrayPusher)(i.default.prototype.curveMemberParser)}},c.prototype.MULTISURFACE_PARSERS={"http://www.opengis.net/gml/3.2":{surfaceMember:Object(a.makeArrayPusher)(i.default.prototype.surfaceMemberParser),surfaceMembers:Object(a.makeArrayPusher)(i.default.prototype.surfaceMemberParser)}},c.prototype.CURVEMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{LineString:Object(a.makeArrayPusher)(s.default.prototype.readLineString),Curve:Object(a.makeArrayPusher)(i.default.prototype.readCurve)}},c.prototype.SURFACEMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{Polygon:Object(a.makeArrayPusher)(s.default.prototype.readPolygon),Surface:Object(a.makeArrayPusher)(i.default.prototype.readSurface)}},c.prototype.SURFACE_PARSERS={"http://www.opengis.net/gml/3.2":{patches:Object(a.makeReplacer)(i.default.prototype.readPatch)}},c.prototype.CURVE_PARSERS={"http://www.opengis.net/gml/3.2":{segments:Object(a.makeReplacer)(i.default.prototype.readSegment)}},c.prototype.ENVELOPE_PARSERS={"http://www.opengis.net/gml/3.2":{lowerCorner:Object(a.makeArrayPusher)(i.default.prototype.readFlatPosList),upperCorner:Object(a.makeArrayPusher)(i.default.prototype.readFlatPosList)}},c.prototype.PATCHES_PARSERS={"http://www.opengis.net/gml/3.2":{PolygonPatch:Object(a.makeReplacer)(i.default.prototype.readPolygonPatch)}},c.prototype.SEGMENTS_PARSERS={"http://www.opengis.net/gml/3.2":{LineStringSegment:Object(a.makeReplacer)(i.default.prototype.readLineStringSegment)}},c.prototype.MULTIPOINT_PARSERS={"http://www.opengis.net/gml/3.2":{pointMember:Object(a.makeArrayPusher)(s.default.prototype.pointMemberParser),pointMembers:Object(a.makeArrayPusher)(s.default.prototype.pointMemberParser)}},c.prototype.MULTILINESTRING_PARSERS={"http://www.opengis.net/gml/3.2":{lineStringMember:Object(a.makeArrayPusher)(s.default.prototype.lineStringMemberParser),lineStringMembers:Object(a.makeArrayPusher)(s.default.prototype.lineStringMemberParser)}},c.prototype.MULTIPOLYGON_PARSERS={"http://www.opengis.net/gml/3.2":{polygonMember:Object(a.makeArrayPusher)(s.default.prototype.polygonMemberParser),polygonMembers:Object(a.makeArrayPusher)(s.default.prototype.polygonMemberParser)}},c.prototype.POINTMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{Point:Object(a.makeArrayPusher)(s.default.prototype.readFlatCoordinatesFromNode)}},c.prototype.LINESTRINGMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{LineString:Object(a.makeArrayPusher)(s.default.prototype.readLineString)}},c.prototype.POLYGONMEMBER_PARSERS={"http://www.opengis.net/gml/3.2":{Polygon:Object(a.makeArrayPusher)(s.default.prototype.readPolygon)}},c.prototype.RING_PARSERS={"http://www.opengis.net/gml/3.2":{LinearRing:Object(a.makeReplacer)(s.default.prototype.readFlatLinearRing)}},c.prototype.RING_SERIALIZERS={"http://www.opengis.net/gml/3.2":{exterior:Object(a.makeChildAppender)(i.default.prototype.writeRing),interior:Object(a.makeChildAppender)(i.default.prototype.writeRing)}},c.prototype.ENVELOPE_SERIALIZERS={"http://www.opengis.net/gml/3.2":{lowerCorner:Object(a.makeChildAppender)(l.writeStringTextNode),upperCorner:Object(a.makeChildAppender)(l.writeStringTextNode)}},c.prototype.SURFACEORPOLYGONMEMBER_SERIALIZERS={"http://www.opengis.net/gml/3.2":{surfaceMember:Object(a.makeChildAppender)(i.default.prototype.writeSurfaceOrPolygonMember),polygonMember:Object(a.makeChildAppender)(i.default.prototype.writeSurfaceOrPolygonMember)}},c.prototype.POINTMEMBER_SERIALIZERS={"http://www.opengis.net/gml/3.2":{pointMember:Object(a.makeChildAppender)(i.default.prototype.writePointMember)}},c.prototype.LINESTRINGORCURVEMEMBER_SERIALIZERS={"http://www.opengis.net/gml/3.2":{lineStringMember:Object(a.makeChildAppender)(i.default.prototype.writeLineStringOrCurveMember),curveMember:Object(a.makeChildAppender)(i.default.prototype.writeLineStringOrCurveMember)}},c.prototype.GEOMETRY_SERIALIZERS={"http://www.opengis.net/gml/3.2":{Curve:Object(a.makeChildAppender)(i.default.prototype.writeCurveOrLineString),MultiCurve:Object(a.makeChildAppender)(i.default.prototype.writeMultiCurveOrLineString),Point:Object(a.makeChildAppender)(c.prototype.writePoint),MultiPoint:Object(a.makeChildAppender)(i.default.prototype.writeMultiPoint),LineString:Object(a.makeChildAppender)(i.default.prototype.writeCurveOrLineString),MultiLineString:Object(a.makeChildAppender)(i.default.prototype.writeMultiCurveOrLineString),LinearRing:Object(a.makeChildAppender)(i.default.prototype.writeLinearRing),Polygon:Object(a.makeChildAppender)(i.default.prototype.writeSurfaceOrPolygon),MultiPolygon:Object(a.makeChildAppender)(i.default.prototype.writeMultiSurfaceOrPolygon),Surface:Object(a.makeChildAppender)(i.default.prototype.writeSurfaceOrPolygon),MultiSurface:Object(a.makeChildAppender)(i.default.prototype.writeMultiSurfaceOrPolygon),Envelope:Object(a.makeChildAppender)(i.default.prototype.writeEnvelope)}},t.default=c},"./node_modules/ol/format/GMLBase.js":function(e,t,o){"use strict";o.r(t),o.d(t,"GMLNS",(function(){return b}));var r,n=o("./node_modules/ol/Feature.js"),i=o("./node_modules/ol/geom/GeometryLayout.js"),s=o("./node_modules/ol/geom/LineString.js"),a=o("./node_modules/ol/geom/LinearRing.js"),l=o("./node_modules/ol/geom/MultiLineString.js"),u=o("./node_modules/ol/geom/MultiPoint.js"),c=o("./node_modules/ol/geom/MultiPolygon.js"),d=o("./node_modules/ol/geom/Point.js"),p=o("./node_modules/ol/geom/Polygon.js"),h=o("./node_modules/ol/format/XMLFeature.js"),f=o("./node_modules/ol/obj.js"),m=o("./node_modules/ol/array.js"),g=o("./node_modules/ol/xml.js"),y=o("./node_modules/ol/proj.js"),v=o("./node_modules/ol/format/Feature.js"),_=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),b="http://www.opengis.net/gml",A=/^[\s\xa0]*$/,C=function(e){function t(t){var o=e.call(this)||this,r=t||{};return o.featureType=r.featureType,o.featureNS=r.featureNS,o.srsName=r.srsName,o.schemaLocation="",o.FEATURE_COLLECTION_PARSERS={},o.FEATURE_COLLECTION_PARSERS[o.namespace]={featureMember:Object(g.makeArrayPusher)(o.readFeaturesInternal),featureMembers:Object(g.makeReplacer)(o.readFeaturesInternal)},o.supportedMediaTypes=["application/gml+xml"],o}return _(t,e),t.prototype.readFeaturesInternal=function(e,t){var o=e.localName,r=null;if("FeatureCollection"==o)r=Object(g.pushParseAndPop)([],this.FEATURE_COLLECTION_PARSERS,e,t,this);else if("featureMembers"==o||"featureMember"==o||"member"==o){var n=t[0],i=n.featureType,s=n.featureNS;if(!i&&e.childNodes){i=[],s={};for(var a=0,l=e.childNodes.length;a<l;++a){var u=e.childNodes[a];if(1===u.nodeType){var c=u.nodeName.split(":").pop();if(-1===i.indexOf(c)){var d="",p=0,h=u.namespaceURI;for(var f in s){if(s[f]===h){d=f;break}++p}d||(s[d="p"+p]=h),i.push(d+":"+c)}}}"featureMember"!=o&&(n.featureType=i,n.featureNS=s)}if("string"==typeof s){var m=s;(s={}).p0=m}var y={},v=Array.isArray(i)?i:[i];for(var _ in s){var b={};for(a=0,l=v.length;a<l;++a){(-1===v[a].indexOf(":")?"p0":v[a].split(":")[0])===_&&(b[v[a].split(":").pop()]="featureMembers"==o?Object(g.makeArrayPusher)(this.readFeatureElement,this):Object(g.makeReplacer)(this.readFeatureElement,this))}y[s[_]]=b}r="featureMember"==o||"member"==o?Object(g.pushParseAndPop)(void 0,y,e,t):Object(g.pushParseAndPop)([],y,e,t)}return null===r&&(r=[]),r},t.prototype.readGeometryElement=function(e,t){var o=t[0];o.srsName=e.firstElementChild.getAttribute("srsName"),o.srsDimension=e.firstElementChild.getAttribute("srsDimension");var r=Object(g.pushParseAndPop)(null,this.GEOMETRY_PARSERS,e,t,this);return r?Array.isArray(r)?Object(v.transformExtentWithOptions)(r,o):Object(v.transformGeometryWithOptions)(r,!1,o):void 0},t.prototype.readFeatureElementInternal=function(e,t,o){for(var r,i={},s=e.firstElementChild;s;s=s.nextElementSibling){var a=void 0,l=s.localName;0===s.childNodes.length||1===s.childNodes.length&&(3===s.firstChild.nodeType||4===s.firstChild.nodeType)?(a=Object(g.getAllTextContent)(s,!1),A.test(a)&&(a=void 0)):(o&&(a=this.readGeometryElement(s,t)),a?"boundedBy"!==l&&(r=l):a=this.readFeatureElementInternal(s,t,!1)),i[l]?(i[l]instanceof Array||(i[l]=[i[l]]),i[l].push(a)):i[l]=a;var u=s.attributes.length;if(u>0){i[l]={_content_:i[l]};for(var c=0;c<u;c++){var d=s.attributes[c].name;i[l][d]=s.attributes[c].value}}}if(o){var p=new n.default(i);r&&p.setGeometryName(r);var h=e.getAttribute("fid")||Object(g.getAttributeNS)(e,this.namespace,"id");return h&&p.setId(h),p}return i},t.prototype.readFeatureElement=function(e,t){return this.readFeatureElementInternal(e,t,!0)},t.prototype.readPoint=function(e,t){var o=this.readFlatCoordinatesFromNode(e,t);if(o)return new d.default(o,i.default.XYZ)},t.prototype.readMultiPoint=function(e,t){var o=Object(g.pushParseAndPop)([],this.MULTIPOINT_PARSERS,e,t,this);return o?new u.default(o):void 0},t.prototype.readMultiLineString=function(e,t){var o=Object(g.pushParseAndPop)([],this.MULTILINESTRING_PARSERS,e,t,this);if(o)return new l.default(o)},t.prototype.readMultiPolygon=function(e,t){var o=Object(g.pushParseAndPop)([],this.MULTIPOLYGON_PARSERS,e,t,this);if(o)return new c.default(o)},t.prototype.pointMemberParser=function(e,t){Object(g.parseNode)(this.POINTMEMBER_PARSERS,e,t,this)},t.prototype.lineStringMemberParser=function(e,t){Object(g.parseNode)(this.LINESTRINGMEMBER_PARSERS,e,t,this)},t.prototype.polygonMemberParser=function(e,t){Object(g.parseNode)(this.POLYGONMEMBER_PARSERS,e,t,this)},t.prototype.readLineString=function(e,t){var o=this.readFlatCoordinatesFromNode(e,t);return o?new s.default(o,i.default.XYZ):void 0},t.prototype.readFlatLinearRing=function(e,t){var o=Object(g.pushParseAndPop)(null,this.GEOMETRY_FLAT_COORDINATES_PARSERS,e,t,this);return o||void 0},t.prototype.readLinearRing=function(e,t){var o=this.readFlatCoordinatesFromNode(e,t);if(o)return new a.default(o,i.default.XYZ)},t.prototype.readPolygon=function(e,t){var o=Object(g.pushParseAndPop)([null],this.FLAT_LINEAR_RINGS_PARSERS,e,t,this);if(o&&o[0]){var r,n=o[0],s=[n.length],a=void 0;for(a=1,r=o.length;a<r;++a)Object(m.extend)(n,o[a]),s.push(n.length);return new p.default(n,i.default.XYZ,s)}},t.prototype.readFlatCoordinatesFromNode=function(e,t){return Object(g.pushParseAndPop)(null,this.GEOMETRY_FLAT_COORDINATES_PARSERS,e,t,this)},t.prototype.readGeometryFromNode=function(e,t){var o=this.readGeometryElement(e,[this.getReadOptions(e,t||{})]);return o||null},t.prototype.readFeaturesFromNode=function(e,t){var o={featureType:this.featureType,featureNS:this.featureNS};return t&&Object(f.assign)(o,this.getReadOptions(e,t)),this.readFeaturesInternal(e,[o])||[]},t.prototype.readProjectionFromNode=function(e){return Object(y.get)(this.srsName?this.srsName:e.firstElementChild.getAttribute("srsName"))},t}(h.default);C.prototype.namespace=b,C.prototype.FLAT_LINEAR_RINGS_PARSERS={"http://www.opengis.net/gml":{}},C.prototype.GEOMETRY_FLAT_COORDINATES_PARSERS={"http://www.opengis.net/gml":{}},C.prototype.GEOMETRY_PARSERS={"http://www.opengis.net/gml":{}},C.prototype.MULTIPOINT_PARSERS={"http://www.opengis.net/gml":{pointMember:Object(g.makeArrayPusher)(C.prototype.pointMemberParser),pointMembers:Object(g.makeArrayPusher)(C.prototype.pointMemberParser)}},C.prototype.MULTILINESTRING_PARSERS={"http://www.opengis.net/gml":{lineStringMember:Object(g.makeArrayPusher)(C.prototype.lineStringMemberParser),lineStringMembers:Object(g.makeArrayPusher)(C.prototype.lineStringMemberParser)}},C.prototype.MULTIPOLYGON_PARSERS={"http://www.opengis.net/gml":{polygonMember:Object(g.makeArrayPusher)(C.prototype.polygonMemberParser),polygonMembers:Object(g.makeArrayPusher)(C.prototype.polygonMemberParser)}},C.prototype.POINTMEMBER_PARSERS={"http://www.opengis.net/gml":{Point:Object(g.makeArrayPusher)(C.prototype.readFlatCoordinatesFromNode)}},C.prototype.LINESTRINGMEMBER_PARSERS={"http://www.opengis.net/gml":{LineString:Object(g.makeArrayPusher)(C.prototype.readLineString)}},C.prototype.POLYGONMEMBER_PARSERS={"http://www.opengis.net/gml":{Polygon:Object(g.makeArrayPusher)(C.prototype.readPolygon)}},C.prototype.RING_PARSERS={"http://www.opengis.net/gml":{LinearRing:Object(g.makeReplacer)(C.prototype.readFlatLinearRing)}},t.default=C},"./node_modules/ol/format/GPX.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/Feature.js"),i=o("./node_modules/ol/geom/GeometryLayout.js"),s=o("./node_modules/ol/geom/GeometryType.js"),a=o("./node_modules/ol/geom/LineString.js"),l=o("./node_modules/ol/geom/MultiLineString.js"),u=o("./node_modules/ol/geom/Point.js"),c=o("./node_modules/ol/format/XMLFeature.js"),d=o("./node_modules/ol/xml.js"),p=o("./node_modules/ol/proj.js"),h=o("./node_modules/ol/array.js"),f=o("./node_modules/ol/format/xsd.js"),m=o("./node_modules/ol/format/Feature.js"),g=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),y=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"],v={rte:Y,trk:H,wpt:X},_=Object(d.makeStructureNS)(y,{rte:Object(d.makeArrayPusher)(Y),trk:Object(d.makeArrayPusher)(H),wpt:Object(d.makeArrayPusher)(X)}),b=Object(d.makeStructureNS)(y,{text:Object(d.makeObjectPropertySetter)(f.readString,"linkText"),type:Object(d.makeObjectPropertySetter)(f.readString,"linkType")}),A=Object(d.makeStructureNS)(y,{rte:Object(d.makeChildAppender)((function(e,t,o){var r=o[0],n=t.getProperties(),i={node:e};i.properties=n;var a=t.getGeometry();if(a.getType()==s.default.LINE_STRING){var l=Object(m.transformGeometryWithOptions)(a,!0,r);i.geometryLayout=l.getLayout(),n.rtept=l.getCoordinates()}var u=o[o.length-1].node,c=P[u.namespaceURI],p=Object(d.makeSequence)(n,c);Object(d.pushSerializeAndPop)(i,M,d.OBJECT_PROPERTY_NODE_FACTORY,p,o,c)})),trk:Object(d.makeChildAppender)((function(e,t,o){var r=o[0],n=t.getProperties(),i={node:e};i.properties=n;var a=t.getGeometry();if(a.getType()==s.default.MULTI_LINE_STRING){var l=Object(m.transformGeometryWithOptions)(a,!0,r);n.trkseg=l.getLineStrings()}var u=o[o.length-1].node,c=L[u.namespaceURI],p=Object(d.makeSequence)(n,c);Object(d.pushSerializeAndPop)(i,k,d.OBJECT_PROPERTY_NODE_FACTORY,p,o,c)})),wpt:Object(d.makeChildAppender)((function(e,t,o){var r=o[0],n=o[o.length-1];n.properties=t.getProperties();var i=t.getGeometry();if(i.getType()==s.default.POINT){var a=Object(m.transformGeometryWithOptions)(i,!0,r);n.geometryLayout=a.getLayout(),K(e,a.getCoordinates(),o)}}))}),C=function(e){function t(t){var o=e.call(this)||this,r=t||{};return o.dataProjection=Object(p.get)("EPSG:4326"),o.readExtensions_=r.readExtensions,o}return g(t,e),t.prototype.handleReadExtensions_=function(e){e||(e=[]);for(var t=0,o=e.length;t<o;++t){var r=e[t];if(this.readExtensions_){var n=r.get("extensionsNode_")||null;this.readExtensions_(r,n)}r.set("extensionsNode_",void 0)}},t.prototype.readFeatureFromNode=function(e,t){if(!Object(h.includes)(y,e.namespaceURI))return null;var o=v[e.localName];if(!o)return null;var r=o(e,[this.getReadOptions(e,t)]);return r?(this.handleReadExtensions_([r]),r):null},t.prototype.readFeaturesFromNode=function(e,t){if(!Object(h.includes)(y,e.namespaceURI))return[];if("gpx"==e.localName){var o=Object(d.pushParseAndPop)([],_,e,[this.getReadOptions(e,t)]);return o?(this.handleReadExtensions_(o),o):[]}return[]},t.prototype.writeFeaturesNode=function(e,t){t=this.adaptOptions(t);var o=Object(d.createElementNS)("http://www.topografix.com/GPX/1/1","gpx");return o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xsi",d.XML_SCHEMA_INSTANCE_URI),o.setAttributeNS(d.XML_SCHEMA_INSTANCE_URI,"xsi:schemaLocation","http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"),o.setAttribute("version","1.1"),o.setAttribute("creator","OpenLayers"),Object(d.pushSerializeAndPop)({node:o},A,B,e,[t]),o},t}(c.default),E=Object(d.makeStructureNS)(y,{name:Object(d.makeObjectPropertySetter)(f.readString),cmt:Object(d.makeObjectPropertySetter)(f.readString),desc:Object(d.makeObjectPropertySetter)(f.readString),src:Object(d.makeObjectPropertySetter)(f.readString),link:W,number:Object(d.makeObjectPropertySetter)(f.readPositiveInteger),extensions:q,type:Object(d.makeObjectPropertySetter)(f.readString),rtept:function(e,t){var o=Object(d.pushParseAndPop)({},S,e,t);if(o){var r=t[t.length-1];z(r.flatCoordinates,r.layoutOptions,e,o)}}}),S=Object(d.makeStructureNS)(y,{ele:Object(d.makeObjectPropertySetter)(f.readDecimal),time:Object(d.makeObjectPropertySetter)(f.readDateTime)}),w=Object(d.makeStructureNS)(y,{name:Object(d.makeObjectPropertySetter)(f.readString),cmt:Object(d.makeObjectPropertySetter)(f.readString),desc:Object(d.makeObjectPropertySetter)(f.readString),src:Object(d.makeObjectPropertySetter)(f.readString),link:W,number:Object(d.makeObjectPropertySetter)(f.readPositiveInteger),type:Object(d.makeObjectPropertySetter)(f.readString),extensions:q,trkseg:function(e,t){var o=t[t.length-1];Object(d.parseNode)(O,e,t);var r=o.flatCoordinates;o.ends.push(r.length)}}),O=Object(d.makeStructureNS)(y,{trkpt:function(e,t){var o=Object(d.pushParseAndPop)({},I,e,t);if(o){var r=t[t.length-1];z(r.flatCoordinates,r.layoutOptions,e,o)}}}),I=Object(d.makeStructureNS)(y,{ele:Object(d.makeObjectPropertySetter)(f.readDecimal),time:Object(d.makeObjectPropertySetter)(f.readDateTime)}),x=Object(d.makeStructureNS)(y,{ele:Object(d.makeObjectPropertySetter)(f.readDecimal),time:Object(d.makeObjectPropertySetter)(f.readDateTime),magvar:Object(d.makeObjectPropertySetter)(f.readDecimal),geoidheight:Object(d.makeObjectPropertySetter)(f.readDecimal),name:Object(d.makeObjectPropertySetter)(f.readString),cmt:Object(d.makeObjectPropertySetter)(f.readString),desc:Object(d.makeObjectPropertySetter)(f.readString),src:Object(d.makeObjectPropertySetter)(f.readString),link:W,sym:Object(d.makeObjectPropertySetter)(f.readString),type:Object(d.makeObjectPropertySetter)(f.readString),fix:Object(d.makeObjectPropertySetter)(f.readString),sat:Object(d.makeObjectPropertySetter)(f.readPositiveInteger),hdop:Object(d.makeObjectPropertySetter)(f.readDecimal),vdop:Object(d.makeObjectPropertySetter)(f.readDecimal),pdop:Object(d.makeObjectPropertySetter)(f.readDecimal),ageofdgpsdata:Object(d.makeObjectPropertySetter)(f.readDecimal),dgpsid:Object(d.makeObjectPropertySetter)(f.readPositiveInteger),extensions:q}),j=["text","type"],T=Object(d.makeStructureNS)(y,{text:Object(d.makeChildAppender)(f.writeStringTextNode),type:Object(d.makeChildAppender)(f.writeStringTextNode)}),P=Object(d.makeStructureNS)(y,["name","cmt","desc","src","link","number","type","rtept"]),M=Object(d.makeStructureNS)(y,{name:Object(d.makeChildAppender)(f.writeStringTextNode),cmt:Object(d.makeChildAppender)(f.writeStringTextNode),desc:Object(d.makeChildAppender)(f.writeStringTextNode),src:Object(d.makeChildAppender)(f.writeStringTextNode),link:Object(d.makeChildAppender)(Z),number:Object(d.makeChildAppender)(f.writeNonNegativeIntegerTextNode),type:Object(d.makeChildAppender)(f.writeStringTextNode),rtept:Object(d.makeArraySerializer)(Object(d.makeChildAppender)(K))}),R=Object(d.makeStructureNS)(y,["ele","time"]),L=Object(d.makeStructureNS)(y,["name","cmt","desc","src","link","number","type","trkseg"]),k=Object(d.makeStructureNS)(y,{name:Object(d.makeChildAppender)(f.writeStringTextNode),cmt:Object(d.makeChildAppender)(f.writeStringTextNode),desc:Object(d.makeChildAppender)(f.writeStringTextNode),src:Object(d.makeChildAppender)(f.writeStringTextNode),link:Object(d.makeChildAppender)(Z),number:Object(d.makeChildAppender)(f.writeNonNegativeIntegerTextNode),type:Object(d.makeChildAppender)(f.writeStringTextNode),trkseg:Object(d.makeArraySerializer)(Object(d.makeChildAppender)((function(e,t,o){var r={node:e};r.geometryLayout=t.getLayout(),r.properties={},Object(d.pushSerializeAndPop)(r,D,N,t.getCoordinates(),o)})))}),N=Object(d.makeSimpleNodeFactory)("trkpt"),D=Object(d.makeStructureNS)(y,{trkpt:Object(d.makeChildAppender)(K)}),G=Object(d.makeStructureNS)(y,["ele","time","magvar","geoidheight","name","cmt","desc","src","link","sym","type","fix","sat","hdop","vdop","pdop","ageofdgpsdata","dgpsid"]),F=Object(d.makeStructureNS)(y,{ele:Object(d.makeChildAppender)(f.writeDecimalTextNode),time:Object(d.makeChildAppender)(f.writeDateTimeTextNode),magvar:Object(d.makeChildAppender)(f.writeDecimalTextNode),geoidheight:Object(d.makeChildAppender)(f.writeDecimalTextNode),name:Object(d.makeChildAppender)(f.writeStringTextNode),cmt:Object(d.makeChildAppender)(f.writeStringTextNode),desc:Object(d.makeChildAppender)(f.writeStringTextNode),src:Object(d.makeChildAppender)(f.writeStringTextNode),link:Object(d.makeChildAppender)(Z),sym:Object(d.makeChildAppender)(f.writeStringTextNode),type:Object(d.makeChildAppender)(f.writeStringTextNode),fix:Object(d.makeChildAppender)(f.writeStringTextNode),sat:Object(d.makeChildAppender)(f.writeNonNegativeIntegerTextNode),hdop:Object(d.makeChildAppender)(f.writeDecimalTextNode),vdop:Object(d.makeChildAppender)(f.writeDecimalTextNode),pdop:Object(d.makeChildAppender)(f.writeDecimalTextNode),ageofdgpsdata:Object(d.makeChildAppender)(f.writeDecimalTextNode),dgpsid:Object(d.makeChildAppender)(f.writeNonNegativeIntegerTextNode)}),U={Point:"wpt",LineString:"rte",MultiLineString:"trk"};function B(e,t,o){var r=e.getGeometry();if(r){var n=U[r.getType()];if(n){var i=t[t.length-1].node;return Object(d.createElementNS)(i.namespaceURI,n)}}}function z(e,t,o,r){return e.push(parseFloat(o.getAttribute("lon")),parseFloat(o.getAttribute("lat"))),"ele"in r?(e.push(r.ele),delete r.ele,t.hasZ=!0):e.push(0),"time"in r?(e.push(r.time),delete r.time,t.hasM=!0):e.push(0),e}function V(e,t,o){var r=i.default.XY,n=2;if(e.hasZ&&e.hasM?(r=i.default.XYZM,n=4):e.hasZ?(r=i.default.XYZ,n=3):e.hasM&&(r=i.default.XYM,n=3),4!==n){for(var s=0,a=t.length/4;s<a;s++)t[s*n]=t[4*s],t[s*n+1]=t[4*s+1],e.hasZ&&(t[s*n+2]=t[4*s+2]),e.hasM&&(t[s*n+2]=t[4*s+3]);if(t.length=t.length/4*n,o)for(s=0,a=o.length;s<a;s++)o[s]=o[s]/4*n}return r}function W(e,t){var o=t[t.length-1],r=e.getAttribute("href");null!==r&&(o.link=r),Object(d.parseNode)(b,e,t)}function q(e,t){t[t.length-1].extensionsNode_=e}function Y(e,t){var o=t[0],r=Object(d.pushParseAndPop)({flatCoordinates:[],layoutOptions:{}},E,e,t);if(r){var i=r.flatCoordinates;delete r.flatCoordinates;var s=r.layoutOptions;delete r.layoutOptions;var l=V(s,i),u=new a.default(i,l);Object(m.transformGeometryWithOptions)(u,!1,o);var c=new n.default(u);return c.setProperties(r,!0),c}}function H(e,t){var o=t[0],r=Object(d.pushParseAndPop)({flatCoordinates:[],ends:[],layoutOptions:{}},w,e,t);if(r){var i=r.flatCoordinates;delete r.flatCoordinates;var s=r.ends;delete r.ends;var a=r.layoutOptions;delete r.layoutOptions;var u=V(a,i,s),c=new l.default(i,u,s);Object(m.transformGeometryWithOptions)(c,!1,o);var p=new n.default(c);return p.setProperties(r,!0),p}}function X(e,t){var o=t[0],r=Object(d.pushParseAndPop)({},x,e,t);if(r){var i={},s=z([],i,e,r),a=V(i,s),l=new u.default(s,a);Object(m.transformGeometryWithOptions)(l,!1,o);var c=new n.default(l);return c.setProperties(r,!0),c}}function Z(e,t,o){e.setAttribute("href",t);var r=o[o.length-1].properties,n=[r.linkText,r.linkType];Object(d.pushSerializeAndPop)({node:e},T,d.OBJECT_PROPERTY_NODE_FACTORY,n,o,j)}function K(e,t,o){var r=o[o.length-1],n=r.node.namespaceURI,s=r.properties;switch(e.setAttributeNS(null,"lat",String(t[1])),e.setAttributeNS(null,"lon",String(t[0])),r.geometryLayout){case i.default.XYZM:0!==t[3]&&(s.time=t[3]);case i.default.XYZ:0!==t[2]&&(s.ele=t[2]);break;case i.default.XYM:0!==t[2]&&(s.time=t[2])}var a="rtept"==e.nodeName?R[n]:G[n],l=Object(d.makeSequence)(s,a);Object(d.pushSerializeAndPop)({node:e,properties:s},F,d.OBJECT_PROPERTY_NODE_FACTORY,l,o,a)}t.default=C},"./node_modules/ol/format/GeoJSON.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/Feature.js"),i=o("./node_modules/ol/geom/GeometryCollection.js"),s=o("./node_modules/ol/geom/GeometryType.js"),a=o("./node_modules/ol/format/JSONFeature.js"),l=o("./node_modules/ol/geom/LineString.js"),u=o("./node_modules/ol/geom/MultiLineString.js"),c=o("./node_modules/ol/geom/MultiPoint.js"),d=o("./node_modules/ol/geom/MultiPolygon.js"),p=o("./node_modules/ol/geom/Point.js"),h=o("./node_modules/ol/geom/Polygon.js"),f=o("./node_modules/ol/asserts.js"),m=o("./node_modules/ol/obj.js"),g=o("./node_modules/ol/proj.js"),y=o("./node_modules/ol/format/Feature.js"),v=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),_=function(e){function t(t){var o=this,r=t||{};return(o=e.call(this)||this).dataProjection=Object(g.get)(r.dataProjection?r.dataProjection:"EPSG:4326"),r.featureProjection&&(o.defaultFeatureProjection=Object(g.get)(r.featureProjection)),o.geometryName_=r.geometryName,o.extractGeometryName_=r.extractGeometryName,o.supportedMediaTypes=["application/geo+json","application/vnd.geo+json"],o}return v(t,e),t.prototype.readFeatureFromObject=function(e,t){var o=null,r=b((o="Feature"===e.type?e:{type:"Feature",geometry:e,properties:null}).geometry,t),i=new n.default;return this.geometryName_?i.setGeometryName(this.geometryName_):this.extractGeometryName_&&"geometry_name"in o!==void 0&&i.setGeometryName(o.geometry_name),i.setGeometry(r),"id"in o&&i.setId(o.id),o.properties&&i.setProperties(o.properties,!0),i},t.prototype.readFeaturesFromObject=function(e,t){var o=null;if("FeatureCollection"===e.type){o=[];for(var r=e.features,n=0,i=r.length;n<i;++n)o.push(this.readFeatureFromObject(r[n],t))}else o=[this.readFeatureFromObject(e,t)];return o},t.prototype.readGeometryFromObject=function(e,t){return b(e,t)},t.prototype.readProjectionFromObject=function(e){var t,o=e.crs;return o?"name"==o.type?t=Object(g.get)(o.properties.name):"EPSG"===o.type?t=Object(g.get)("EPSG:"+o.properties.code):Object(f.assert)(!1,36):t=this.dataProjection,t},t.prototype.writeFeatureObject=function(e,t){t=this.adaptOptions(t);var o={type:"Feature",geometry:null,properties:null},r=e.getId();if(void 0!==r&&(o.id=r),!e.hasProperties())return o;var n=e.getProperties(),i=e.getGeometry();return i&&(o.geometry=A(i,t),delete n[e.getGeometryName()]),Object(m.isEmpty)(n)||(o.properties=n),o},t.prototype.writeFeaturesObject=function(e,t){t=this.adaptOptions(t);for(var o=[],r=0,n=e.length;r<n;++r)o.push(this.writeFeatureObject(e[r],t));return{type:"FeatureCollection",features:o}},t.prototype.writeGeometryObject=function(e,t){return A(e,this.adaptOptions(t))},t}(a.default);function b(e,t){if(!e)return null;var o;switch(e.type){case s.default.POINT:o=function(e){return new p.default(e.coordinates)}(e);break;case s.default.LINE_STRING:o=function(e){return new l.default(e.coordinates)}(e);break;case s.default.POLYGON:o=function(e){return new h.default(e.coordinates)}(e);break;case s.default.MULTI_POINT:o=function(e){return new c.default(e.coordinates)}(e);break;case s.default.MULTI_LINE_STRING:o=function(e){return new u.default(e.coordinates)}(e);break;case s.default.MULTI_POLYGON:o=function(e){return new d.default(e.coordinates)}(e);break;case s.default.GEOMETRY_COLLECTION:o=function(e,t){var o=e.geometries.map((function(e){return b(e,t)}));return new i.default(o)}(e);break;default:throw new Error("Unsupported GeoJSON type: "+e.type)}return Object(y.transformGeometryWithOptions)(o,!1,t)}function A(e,t){var o,r=(e=Object(y.transformGeometryWithOptions)(e,!0,t)).getType();switch(r){case s.default.POINT:o=function(e){return{type:"Point",coordinates:e.getCoordinates()}}(e);break;case s.default.LINE_STRING:o=function(e){return{type:"LineString",coordinates:e.getCoordinates()}}(e);break;case s.default.POLYGON:o=function(e,t){var o;t&&(o=t.rightHanded);return{type:"Polygon",coordinates:e.getCoordinates(o)}}(e,t);break;case s.default.MULTI_POINT:o=function(e){return{type:"MultiPoint",coordinates:e.getCoordinates()}}(e);break;case s.default.MULTI_LINE_STRING:o=function(e){return{type:"MultiLineString",coordinates:e.getCoordinates()}}(e);break;case s.default.MULTI_POLYGON:o=function(e,t){var o;t&&(o=t.rightHanded);return{type:"MultiPolygon",coordinates:e.getCoordinates(o)}}(e,t);break;case s.default.GEOMETRY_COLLECTION:o=function(e,t){var o=e.getGeometriesArray().map((function(e){var o=Object(m.assign)({},t);return delete o.featureProjection,A(e,o)}));return{type:"GeometryCollection",geometries:o}}(e,t);break;case s.default.CIRCLE:o={type:"GeometryCollection",geometries:[]};break;default:throw new Error("Unsupported geometry type: "+r)}return o}t.default=_},"./node_modules/ol/format/IGC.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/Feature.js"),i=o("./node_modules/ol/geom/GeometryLayout.js"),s=o("./node_modules/ol/geom/LineString.js"),a=o("./node_modules/ol/format/TextFeature.js"),l=o("./node_modules/ol/proj.js"),u=o("./node_modules/ol/format/Feature.js"),c=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),d="barometric",p="gps",h="none",f=/^B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})/,m=/^H.([A-Z]{3}).*?:(.*)/,g=/^HFDTE(\d{2})(\d{2})(\d{2})/,y=/\r\n|\r|\n/,v=function(e){function t(t){var o=e.call(this)||this,r=t||{};return o.dataProjection=Object(l.get)("EPSG:4326"),o.altitudeMode_=r.altitudeMode?r.altitudeMode:h,o}return c(t,e),t.prototype.readFeatureFromText=function(e,t){var o,r,a=this.altitudeMode_,l=e.split(y),c={},v=[],_=2e3,b=0,A=1,C=-1;for(o=0,r=l.length;o<r;++o){var E=l[o],S=void 0;if("B"==E.charAt(0)){if(S=f.exec(E)){var w=parseInt(S[1],10),O=parseInt(S[2],10),I=parseInt(S[3],10),x=parseInt(S[4],10)+parseInt(S[5],10)/6e4;"S"==S[6]&&(x=-x);var j=parseInt(S[7],10)+parseInt(S[8],10)/6e4;if("W"==S[9]&&(j=-j),v.push(j,x),a!=h){var T=void 0;T=a==p?parseInt(S[11],10):a==d?parseInt(S[12],10):0,v.push(T)}var P=Date.UTC(_,b,A,w,O,I);P<C&&(P=Date.UTC(_,b,A+1,w,O,I)),v.push(P/1e3),C=P}}else"H"==E.charAt(0)&&((S=g.exec(E))?(A=parseInt(S[1],10),b=parseInt(S[2],10)-1,_=2e3+parseInt(S[3],10)):(S=m.exec(E))&&(c[S[1]]=S[2].trim()))}if(0===v.length)return null;var M=a==h?i.default.XYM:i.default.XYZM,R=new s.default(v,M),L=new n.default(Object(u.transformGeometryWithOptions)(R,!1,t));return L.setProperties(c,!0),L},t.prototype.readFeaturesFromText=function(e,t){var o=this.readFeatureFromText(e,t);return o?[o]:[]},t}(a.default);t.default=v},"./node_modules/ol/format/IIIFInfo.js":function(e,t,o){"use strict";o.r(t),o.d(t,"Versions",(function(){return s}));var r=o("./node_modules/ol/asserts.js"),n=o("./node_modules/ol/array.js"),i=function(e,t){for(var o=0,r=t.length,n=e.length;o<r;o++,n++)e[n]=t[o];return e},s={VERSION1:"version1",VERSION2:"version2",VERSION3:"version3"},a={};a[s.VERSION1]={level0:{supports:[],formats:[],qualities:["native"]},level1:{supports:["regionByPx","sizeByW","sizeByH","sizeByPct"],formats:["jpg"],qualities:["native"]},level2:{supports:["regionByPx","regionByPct","sizeByW","sizeByH","sizeByPct","sizeByConfinedWh","sizeByWh"],formats:["jpg","png"],qualities:["native","color","grey","bitonal"]}},a[s.VERSION2]={level0:{supports:[],formats:["jpg"],qualities:["default"]},level1:{supports:["regionByPx","sizeByW","sizeByH","sizeByPct"],formats:["jpg"],qualities:["default"]},level2:{supports:["regionByPx","regionByPct","sizeByW","sizeByH","sizeByPct","sizeByConfinedWh","sizeByDistortedWh","sizeByWh"],formats:["jpg","png"],qualities:["default","bitonal"]}},a[s.VERSION3]={level0:{supports:[],formats:["jpg"],qualities:["default"]},level1:{supports:["regionByPx","regionSquare","sizeByW","sizeByH","sizeByWh"],formats:["jpg"],qualities:["default"]},level2:{supports:["regionByPx","regionSquare","regionByPct","sizeByW","sizeByH","sizeByPct","sizeByConfinedWh","sizeByWh"],formats:["jpg","png"],qualities:["default"]}},a.none={none:{supports:[],formats:[],qualities:[]}};var l=/^https?:\/\/library\.stanford\.edu\/iiif\/image-api\/(?:1\.1\/)?compliance\.html#level[0-2]$/,u=/^https?:\/\/iiif\.io\/api\/image\/2\/level[0-2](?:\.json)?$/,c=/(^https?:\/\/iiif\.io\/api\/image\/3\/level[0-2](?:\.json)?$)|(^level[0-2]$)/;var d={};d[s.VERSION1]=function(e){var t=e.getComplianceLevelSupportedFeatures();return void 0===t&&(t=a[s.VERSION1].level0),{url:void 0===e.imageInfo["@id"]?void 0:e.imageInfo["@id"].replace(/\/?(?:info\.json)?$/g,""),supports:t.supports,formats:i(i([],t.formats),[void 0===e.imageInfo.formats?[]:e.imageInfo.formats]),qualities:i(i([],t.qualities),[void 0===e.imageInfo.qualities?[]:e.imageInfo.qualities]),resolutions:e.imageInfo.scale_factors,tileSize:void 0!==e.imageInfo.tile_width?void 0!==e.imageInfo.tile_height?[e.imageInfo.tile_width,e.imageInfo.tile_height]:[e.imageInfo.tile_width,e.imageInfo.tile_width]:null!=e.imageInfo.tile_height?[e.imageInfo.tile_height,e.imageInfo.tile_height]:void 0}},d[s.VERSION2]=function(e){var t=e.getComplianceLevelSupportedFeatures(),o=Array.isArray(e.imageInfo.profile)&&e.imageInfo.profile.length>1,r=o&&e.imageInfo.profile[1].supports?e.imageInfo.profile[1].supports:[],n=o&&e.imageInfo.profile[1].formats?e.imageInfo.profile[1].formats:[],s=o&&e.imageInfo.profile[1].qualities?e.imageInfo.profile[1].qualities:[];return{url:e.imageInfo["@id"].replace(/\/?(?:info\.json)?$/g,""),sizes:void 0===e.imageInfo.sizes?void 0:e.imageInfo.sizes.map((function(e){return[e.width,e.height]})),tileSize:void 0===e.imageInfo.tiles?void 0:[e.imageInfo.tiles.map((function(e){return e.width}))[0],e.imageInfo.tiles.map((function(e){return void 0===e.height?e.width:e.height}))[0]],resolutions:void 0===e.imageInfo.tiles?void 0:e.imageInfo.tiles.map((function(e){return e.scaleFactors}))[0],supports:i(i([],t.supports),r),formats:i(i([],t.formats),n),qualities:i(i([],t.qualities),s)}},d[s.VERSION3]=function(e){var t=e.getComplianceLevelSupportedFeatures(),o=void 0===e.imageInfo.extraFormats?t.formats:i(i([],t.formats),e.imageInfo.extraFormats),r=void 0!==e.imageInfo.preferredFormats&&Array.isArray(e.imageInfo.preferredFormats)&&e.imageInfo.preferredFormats.length>0?e.imageInfo.preferredFormats.filter((function(e){return Object(n.includes)(["jpg","png","gif"],e)})).reduce((function(e,t){return void 0===e&&Object(n.includes)(o,t)?t:e}),void 0):void 0;return{url:e.imageInfo.id,sizes:void 0===e.imageInfo.sizes?void 0:e.imageInfo.sizes.map((function(e){return[e.width,e.height]})),tileSize:void 0===e.imageInfo.tiles?void 0:[e.imageInfo.tiles.map((function(e){return e.width}))[0],e.imageInfo.tiles.map((function(e){return e.height}))[0]],resolutions:void 0===e.imageInfo.tiles?void 0:e.imageInfo.tiles.map((function(e){return e.scaleFactors}))[0],supports:void 0===e.imageInfo.extraFeatures?t.supports:i(i([],t.supports),e.imageInfo.extraFeatures),formats:o,qualities:void 0===e.imageInfo.extraQualities?t.qualities:i(i([],t.qualities),e.imageInfo.extraQualities),preferredFormat:r}};var p=function(){function e(e){this.setImageInfo(e)}return e.prototype.setImageInfo=function(e){this.imageInfo="string"==typeof e?JSON.parse(e):e},e.prototype.getImageApiVersion=function(){if(void 0!==this.imageInfo){var e=this.imageInfo["@context"]||"ol-no-context";"string"==typeof e&&(e=[e]);for(var t=0;t<e.length;t++)switch(e[t]){case"http://library.stanford.edu/iiif/image-api/1.1/context.json":case"http://iiif.io/api/image/1/context.json":return s.VERSION1;case"http://iiif.io/api/image/2/context.json":return s.VERSION2;case"http://iiif.io/api/image/3/context.json":return s.VERSION3;case"ol-no-context":if(this.getComplianceLevelEntryFromProfile(s.VERSION1)&&this.imageInfo.identifier)return s.VERSION1}Object(r.assert)(!1,61)}},e.prototype.getComplianceLevelEntryFromProfile=function(e){if(void 0!==this.imageInfo&&void 0!==this.imageInfo.profile)switch(void 0===e&&(e=this.getImageApiVersion()),e){case s.VERSION1:if(l.test(this.imageInfo.profile))return this.imageInfo.profile;break;case s.VERSION3:if(c.test(this.imageInfo.profile))return this.imageInfo.profile;break;case s.VERSION2:if("string"==typeof this.imageInfo.profile&&u.test(this.imageInfo.profile))return this.imageInfo.profile;if(Array.isArray(this.imageInfo.profile)&&this.imageInfo.profile.length>0&&"string"==typeof this.imageInfo.profile[0]&&u.test(this.imageInfo.profile[0]))return this.imageInfo.profile[0]}},e.prototype.getComplianceLevelFromProfile=function(e){var t=this.getComplianceLevelEntryFromProfile(e);if(void 0!==t){var o=t.match(/level[0-2](?:\.json)?$/g);return Array.isArray(o)?o[0].replace(".json",""):void 0}},e.prototype.getComplianceLevelSupportedFeatures=function(){if(void 0!==this.imageInfo){var e=this.getImageApiVersion(),t=this.getComplianceLevelFromProfile(e);return void 0===t?a.none.none:a[e][t]}},e.prototype.getTileSourceOptions=function(e){var t=e||{},o=this.getImageApiVersion();if(void 0!==o){var r=void 0===o?void 0:d[o](this);if(void 0!==r)return{url:r.url,version:o,size:[this.imageInfo.width,this.imageInfo.height],sizes:r.sizes,format:void 0!==t.format&&Object(n.includes)(r.formats,t.format)?t.format:void 0!==r.preferredFormat?r.preferredFormat:"jpg",supports:r.supports,quality:t.quality&&Object(n.includes)(r.qualities,t.quality)?t.quality:Object(n.includes)(r.qualities,"native")?"native":"default",resolutions:Array.isArray(r.resolutions)?r.resolutions.sort((function(e,t){return t-e})):void 0,tileSize:r.tileSize}}},e}();t.default=p},"./node_modules/ol/format/JSONFeature.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/Feature.js"),i=o("./node_modules/ol/format/FormatType.js"),s=o("./node_modules/ol/util.js"),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=function(e){function t(){return e.call(this)||this}return a(t,e),t.prototype.getType=function(){return i.default.JSON},t.prototype.readFeature=function(e,t){return this.readFeatureFromObject(u(e),this.getReadOptions(e,t))},t.prototype.readFeatures=function(e,t){return this.readFeaturesFromObject(u(e),this.getReadOptions(e,t))},t.prototype.readFeatureFromObject=function(e,t){return Object(s.abstract)()},t.prototype.readFeaturesFromObject=function(e,t){return Object(s.abstract)()},t.prototype.readGeometry=function(e,t){return this.readGeometryFromObject(u(e),this.getReadOptions(e,t))},t.prototype.readGeometryFromObject=function(e,t){return Object(s.abstract)()},t.prototype.readProjection=function(e){return this.readProjectionFromObject(u(e))},t.prototype.readProjectionFromObject=function(e){return Object(s.abstract)()},t.prototype.writeFeature=function(e,t){return JSON.stringify(this.writeFeatureObject(e,t))},t.prototype.writeFeatureObject=function(e,t){return Object(s.abstract)()},t.prototype.writeFeatures=function(e,t){return JSON.stringify(this.writeFeaturesObject(e,t))},t.prototype.writeFeaturesObject=function(e,t){return Object(s.abstract)()},t.prototype.writeGeometry=function(e,t){return JSON.stringify(this.writeGeometryObject(e,t))},t.prototype.writeGeometryObject=function(e,t){return Object(s.abstract)()},t}(n.default);function u(e){if("string"==typeof e){var t=JSON.parse(e);return t||null}return null!==e?e:null}t.default=l},"./node_modules/ol/format/KML.js":function(e,t,o){"use strict";o.r(t),o.d(t,"getDefaultFillStyle",(function(){return X})),o.d(t,"getDefaultImageStyle",(function(){return J})),o.d(t,"getDefaultStrokeStyle",(function(){return ee})),o.d(t,"getDefaultTextStyle",(function(){return oe})),o.d(t,"getDefaultStyle",(function(){return ne})),o.d(t,"getDefaultStyleArray",(function(){return ae})),o.d(t,"readFlatCoordinates",(function(){return he}));var r,n,i,s,a,l,u,c=o("./node_modules/ol/Feature.js"),d=o("./node_modules/ol/style/Fill.js"),p=o("./node_modules/ol/geom/GeometryCollection.js"),h=o("./node_modules/ol/geom/GeometryLayout.js"),f=o("./node_modules/ol/geom/GeometryType.js"),m=o("./node_modules/ol/style/Icon.js"),g=o("./node_modules/ol/style/IconAnchorUnits.js"),y=o("./node_modules/ol/style/IconOrigin.js"),v=o("./node_modules/ol/ImageState.js"),_=o("./node_modules/ol/geom/LineString.js"),b=o("./node_modules/ol/geom/MultiLineString.js"),A=o("./node_modules/ol/geom/MultiPoint.js"),C=o("./node_modules/ol/geom/MultiPolygon.js"),E=o("./node_modules/ol/geom/Point.js"),S=o("./node_modules/ol/geom/Polygon.js"),w=o("./node_modules/ol/style/Stroke.js"),O=o("./node_modules/ol/style/Style.js"),I=o("./node_modules/ol/style/Text.js"),x=o("./node_modules/ol/format/XMLFeature.js"),j=o("./node_modules/ol/xml.js"),T=o("./node_modules/ol/color.js"),P=o("./node_modules/ol/asserts.js"),M=o("./node_modules/ol/array.js"),R=o("./node_modules/ol/proj.js"),L=o("./node_modules/ol/format/xsd.js"),k=o("./node_modules/ol/math.js"),N=o("./node_modules/ol/format/Feature.js"),D=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),G=["http://www.google.com/kml/ext/2.2"],F=[null,"http://earth.google.com/kml/2.0","http://earth.google.com/kml/2.1","http://earth.google.com/kml/2.2","http://www.opengis.net/kml/2.2"],U={fraction:g.default.FRACTION,pixels:g.default.PIXELS,insetPixels:g.default.PIXELS},B=Object(j.makeStructureNS)(F,{ExtendedData:We,Region:qe,MultiGeometry:Object(j.makeObjectPropertySetter)(ke,"geometry"),LineString:Object(j.makeObjectPropertySetter)(Me,"geometry"),LinearRing:Object(j.makeObjectPropertySetter)(Re,"geometry"),Point:Object(j.makeObjectPropertySetter)(Ne,"geometry"),Polygon:Object(j.makeObjectPropertySetter)(Ge,"geometry"),Style:Object(j.makeObjectPropertySetter)(Ue),StyleMap:function(e,t){var o=ve.call(this,e,t);if(!o)return;var r=t[t.length-1];Array.isArray(o)?r.Style=o:"string"==typeof o?r.styleUrl=o:Object(P.assert)(!1,38)},address:Object(j.makeObjectPropertySetter)(L.readString),description:Object(j.makeObjectPropertySetter)(L.readString),name:Object(j.makeObjectPropertySetter)(L.readString),open:Object(j.makeObjectPropertySetter)(L.readBoolean),phoneNumber:Object(j.makeObjectPropertySetter)(L.readString),styleUrl:Object(j.makeObjectPropertySetter)(me),visibility:Object(j.makeObjectPropertySetter)(L.readBoolean)},Object(j.makeStructureNS)(G,{MultiTrack:Object(j.makeObjectPropertySetter)((function(e,t){var o=Object(j.pushParseAndPop)([],we,e,t);if(!o)return;return new b.default(o)}),"geometry"),Track:Object(j.makeObjectPropertySetter)(Ie,"geometry")})),z=Object(j.makeStructureNS)(F,{ExtendedData:We,Region:qe,Link:function(e,t){Object(j.parseNode)(V,e,t)},address:Object(j.makeObjectPropertySetter)(L.readString),description:Object(j.makeObjectPropertySetter)(L.readString),name:Object(j.makeObjectPropertySetter)(L.readString),open:Object(j.makeObjectPropertySetter)(L.readBoolean),phoneNumber:Object(j.makeObjectPropertySetter)(L.readString),visibility:Object(j.makeObjectPropertySetter)(L.readBoolean)}),V=Object(j.makeStructureNS)(F,{href:Object(j.makeObjectPropertySetter)(fe)}),W=Object(j.makeStructureNS)(F,{LatLonAltBox:function(e,t){var o=Object(j.pushParseAndPop)({},Xe,e,t);if(!o)return;var r=t[t.length-1],n=[parseFloat(o.west),parseFloat(o.south),parseFloat(o.east),parseFloat(o.north)];r.extent=n,r.altitudeMode=o.altitudeMode,r.minAltitude=parseFloat(o.minAltitude),r.maxAltitude=parseFloat(o.maxAltitude)},Lod:function(e,t){var o=Object(j.pushParseAndPop)({},Ze,e,t);if(!o)return;var r=t[t.length-1];r.minLodPixels=parseFloat(o.minLodPixels),r.maxLodPixels=parseFloat(o.maxLodPixels),r.minFadeExtent=parseFloat(o.minFadeExtent),r.maxFadeExtent=parseFloat(o.maxFadeExtent)}}),q=Object(j.makeStructureNS)(F,["Document","Placemark"]),Y=Object(j.makeStructureNS)(F,{Document:Object(j.makeChildAppender)((function(e,t,o){var r={node:e};Object(j.pushSerializeAndPop)(r,et,tt,t,o,void 0,this)})),Placemark:Object(j.makeChildAppender)(wt)}),H=null;function X(){return H}var Z,K=null;function J(){return K}var Q,$=null;function ee(){return $}var te=null;function oe(){return te}var re=null;function ne(){return re}var ie,se=null;function ae(){return se}function le(e){return 32/Math.min(e[0],e[1])}function ue(e){return e}var ce=function(e){function t(t){var o=e.call(this)||this,r=t||{};return se||(n=[255,255,255,1],H=new d.default({color:n}),i=[20,2],s=g.default.PIXELS,a=g.default.PIXELS,l=[64,64],u="https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png",K=new m.default({anchor:i,anchorOrigin:y.default.BOTTOM_LEFT,anchorXUnits:s,anchorYUnits:a,crossOrigin:"anonymous",rotation:0,scale:le(l),size:l,src:u}),Z="NO_IMAGE",$=new w.default({color:n,width:1}),Q=new w.default({color:[51,51,51,1],width:2}),te=new I.default({font:"bold 16px Helvetica",fill:H,stroke:Q,scale:.8}),re=new O.default({fill:H,image:K,text:te,stroke:$,zIndex:0}),se=[re]),o.dataProjection=Object(R.get)("EPSG:4326"),o.defaultStyle_=r.defaultStyle?r.defaultStyle:se,o.extractStyles_=void 0===r.extractStyles||r.extractStyles,o.writeStyles_=void 0===r.writeStyles||r.writeStyles,o.sharedStyles_={},o.showPointNames_=void 0===r.showPointNames||r.showPointNames,o.crossOrigin_=void 0!==r.crossOrigin?r.crossOrigin:"anonymous",o.iconUrlFunction_=r.iconUrlFunction?r.iconUrlFunction:ue,o.supportedMediaTypes=["application/vnd.google-earth.kml+xml"],o}return D(t,e),t.prototype.readDocumentOrFolder_=function(e,t){var o=Object(j.makeStructureNS)(F,{Document:Object(j.makeArrayExtender)(this.readDocumentOrFolder_,this),Folder:Object(j.makeArrayExtender)(this.readDocumentOrFolder_,this),Placemark:Object(j.makeArrayPusher)(this.readPlacemark_,this),Style:this.readSharedStyle_.bind(this),StyleMap:this.readSharedStyleMap_.bind(this)}),r=Object(j.pushParseAndPop)([],o,e,t,this);return r||void 0},t.prototype.readPlacemark_=function(e,t){var o=Object(j.pushParseAndPop)({geometry:null},B,e,t,this);if(o){var r=new c.default,n=e.getAttribute("id");null!==n&&r.setId(n);var i=t[0],s=o.geometry;if(s&&Object(N.transformGeometryWithOptions)(s,!1,i),r.setGeometry(s),delete o.geometry,this.extractStyles_){var a=function(e,t,o,r,n){return function(i,s){var a=n,l="",u=[];if(a){var c=i.getGeometry();if(c){var d=c.getType();d===f.default.GEOMETRY_COLLECTION?(u=c.getGeometriesArrayRecursive().filter((function(e){var t=e.getType();return t===f.default.POINT||t===f.default.MULTI_POINT})),a=u.length>0):a=d===f.default.POINT||d===f.default.MULTI_POINT}}a&&(l=i.get("name"),(a=a&&!!l)&&l.search(/&[^&]+;/)>-1&&(ie||(ie=document.createElement("textarea")),ie.innerHTML=l,l=ie.value));var h=o;if(e?h=e:t&&(h=de(t,o,r)),a){var m=function(e,t){var o=[0,0],r="start",n=e.getImage();if(n){var i=n.getSize();if(i&&2==i.length){var s=n.getScaleArray(),a=n.getAnchor();o[0]=s[0]*(i[0]-a[0]),o[1]=s[1]*(i[1]/2-a[1]),r="left"}}var l=e.getText();l?((l=l.clone()).setFont(l.getFont()||te.getFont()),l.setScale(l.getScale()||te.getScale()),l.setFill(l.getFill()||te.getFill()),l.setStroke(l.getStroke()||Q)):l=te.clone();l.setText(t),l.setOffsetX(o[0]),l.setOffsetY(o[1]),l.setTextAlign(r);var u=new O.default({image:n,text:l});return u}(h[0],l);return u.length>0?(m.setGeometry(new p.default(u)),[m,new O.default({geometry:h[0].getGeometry(),image:null,fill:h[0].getFill(),stroke:h[0].getStroke(),text:null})].concat(h.slice(1))):m}return h}}(o.Style,o.styleUrl,this.defaultStyle_,this.sharedStyles_,this.showPointNames_);r.setStyle(a)}return delete o.Style,r.setProperties(o,!0),r}},t.prototype.readSharedStyle_=function(e,t){var o=e.getAttribute("id");if(null!==o){var r=Ue.call(this,e,t);if(r){var n=void 0,i=e.baseURI;if(i&&"about:blank"!=i||(i=window.location.href),i)n=new URL("#"+o,i).href;else n="#"+o;this.sharedStyles_[n]=r}}},t.prototype.readSharedStyleMap_=function(e,t){var o=e.getAttribute("id");if(null!==o){var r=ve.call(this,e,t);if(r){var n,i=e.baseURI;if(i&&"about:blank"!=i||(i=window.location.href),i)n=new URL("#"+o,i).href;else n="#"+o;this.sharedStyles_[n]=r}}},t.prototype.readFeatureFromNode=function(e,t){if(!Object(M.includes)(F,e.namespaceURI))return null;var o=this.readPlacemark_(e,[this.getReadOptions(e,t)]);return o||null},t.prototype.readFeaturesFromNode=function(e,t){if(!Object(M.includes)(F,e.namespaceURI))return[];var o,r=e.localName;if("Document"==r||"Folder"==r)return(o=this.readDocumentOrFolder_(e,[this.getReadOptions(e,t)]))||[];if("Placemark"==r){var n=this.readPlacemark_(e,[this.getReadOptions(e,t)]);return n?[n]:[]}if("kml"==r){o=[];for(var i=e.firstElementChild;i;i=i.nextElementSibling){var s=this.readFeaturesFromNode(i,t);s&&Object(M.extend)(o,s)}return o}return[]},t.prototype.readName=function(e){if(e){if("string"==typeof e){var t=Object(j.parse)(e);return this.readNameFromDocument(t)}return Object(j.isDocument)(e)?this.readNameFromDocument(e):this.readNameFromNode(e)}},t.prototype.readNameFromDocument=function(e){for(var t=e.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE){var o=this.readNameFromNode(t);if(o)return o}},t.prototype.readNameFromNode=function(e){for(var t=e.firstElementChild;t;t=t.nextElementSibling)if(Object(M.includes)(F,t.namespaceURI)&&"name"==t.localName)return Object(L.readString)(t);for(t=e.firstElementChild;t;t=t.nextElementSibling){var o=t.localName;if(Object(M.includes)(F,t.namespaceURI)&&("Document"==o||"Folder"==o||"Placemark"==o||"kml"==o)){var r=this.readNameFromNode(t);if(r)return r}}},t.prototype.readNetworkLinks=function(e){var t=[];if("string"==typeof e){var o=Object(j.parse)(e);Object(M.extend)(t,this.readNetworkLinksFromDocument(o))}else Object(j.isDocument)(e)?Object(M.extend)(t,this.readNetworkLinksFromDocument(e)):Object(M.extend)(t,this.readNetworkLinksFromNode(e));return t},t.prototype.readNetworkLinksFromDocument=function(e){for(var t=[],o=e.firstChild;o;o=o.nextSibling)o.nodeType==Node.ELEMENT_NODE&&Object(M.extend)(t,this.readNetworkLinksFromNode(o));return t},t.prototype.readNetworkLinksFromNode=function(e){for(var t=[],o=e.firstElementChild;o;o=o.nextElementSibling)if(Object(M.includes)(F,o.namespaceURI)&&"NetworkLink"==o.localName){var r=Object(j.pushParseAndPop)({},z,o,[]);t.push(r)}for(o=e.firstElementChild;o;o=o.nextElementSibling){var n=o.localName;!Object(M.includes)(F,o.namespaceURI)||"Document"!=n&&"Folder"!=n&&"kml"!=n||Object(M.extend)(t,this.readNetworkLinksFromNode(o))}return t},t.prototype.readRegion=function(e){var t=[];if("string"==typeof e){var o=Object(j.parse)(e);Object(M.extend)(t,this.readRegionFromDocument(o))}else Object(j.isDocument)(e)?Object(M.extend)(t,this.readRegionFromDocument(e)):Object(M.extend)(t,this.readRegionFromNode(e));return t},t.prototype.readRegionFromDocument=function(e){for(var t=[],o=e.firstChild;o;o=o.nextSibling)o.nodeType==Node.ELEMENT_NODE&&Object(M.extend)(t,this.readRegionFromNode(o));return t},t.prototype.readRegionFromNode=function(e){for(var t=[],o=e.firstElementChild;o;o=o.nextElementSibling)if(Object(M.includes)(F,o.namespaceURI)&&"Region"==o.localName){var r=Object(j.pushParseAndPop)({},W,o,[]);t.push(r)}for(o=e.firstElementChild;o;o=o.nextElementSibling){var n=o.localName;!Object(M.includes)(F,o.namespaceURI)||"Document"!=n&&"Folder"!=n&&"kml"!=n||Object(M.extend)(t,this.readRegionFromNode(o))}return t},t.prototype.writeFeaturesNode=function(e,t){t=this.adaptOptions(t);var o=Object(j.createElementNS)(F[4],"kml"),r="http://www.w3.org/2000/xmlns/";o.setAttributeNS(r,"xmlns:gx",G[0]),o.setAttributeNS(r,"xmlns:xsi",j.XML_SCHEMA_INSTANCE_URI),o.setAttributeNS(j.XML_SCHEMA_INSTANCE_URI,"xsi:schemaLocation","http://www.opengis.net/kml/2.2 https://developers.google.com/kml/schema/kml22gx.xsd");var n={node:o},i={};e.length>1?i.Document=e:1==e.length&&(i.Placemark=e[0]);var s=q[o.namespaceURI],a=Object(j.makeSequence)(i,s);return Object(j.pushSerializeAndPop)(n,Y,j.OBJECT_PROPERTY_NODE_FACTORY,a,[t],s,this),o},t}(x.default);function de(e,t,o){return Array.isArray(e)?e:"string"==typeof e?de(o[e],t,o):t}function pe(e){var t=Object(j.getAllTextContent)(e,!1),o=/^\s*#?\s*([0-9A-Fa-f]{8})\s*$/.exec(t);if(o){var r=o[1];return[parseInt(r.substr(6,2),16),parseInt(r.substr(4,2),16),parseInt(r.substr(2,2),16),parseInt(r.substr(0,2),16)/255]}}function he(e){var t=Object(j.getAllTextContent)(e,!1),o=[];t=t.replace(/\s*,\s*/g,",");for(var r,n=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?),([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s+|,|$)(?:([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s+|$))?\s*/i;r=n.exec(t);){var i=parseFloat(r[1]),s=parseFloat(r[2]),a=r[3]?parseFloat(r[3]):0;o.push(i,s,a),t=t.substr(r[0].length)}if(""===t)return o}function fe(e){var t=Object(j.getAllTextContent)(e,!1).trim(),o=e.baseURI;return o&&"about:blank"!=o||(o=window.location.href),o?new URL(t,o).href:t}function me(e){var t=Object(j.getAllTextContent)(e,!1).trim().replace(/^(?!.*#)/,"#"),o=e.baseURI;return o&&"about:blank"!=o||(o=window.location.href),o?new URL(t,o).href:t}function ge(e){return Object(L.readDecimal)(e)}var ye=Object(j.makeStructureNS)(F,{Pair:function(e,t){var o=Object(j.pushParseAndPop)({},Ye,e,t,this);if(!o)return;var r=o.key;if(r&&"normal"==r){var n=o.styleUrl;n&&(t[t.length-1]=n);var i=o.Style;i&&(t[t.length-1]=i)}}});function ve(e,t){return Object(j.pushParseAndPop)(void 0,ye,e,t,this)}var _e=Object(j.makeStructureNS)(F,{Icon:Object(j.makeObjectPropertySetter)((function(e,t){var o=Object(j.pushParseAndPop)({},xe,e,t);return o||null})),color:Object(j.makeObjectPropertySetter)(pe),heading:Object(j.makeObjectPropertySetter)(L.readDecimal),hotSpot:Object(j.makeObjectPropertySetter)((function(e){var t,o=e.getAttribute("xunits"),r=e.getAttribute("yunits");return t="insetPixels"!==o?"insetPixels"!==r?y.default.BOTTOM_LEFT:y.default.TOP_LEFT:"insetPixels"!==r?y.default.BOTTOM_RIGHT:y.default.TOP_RIGHT,{x:parseFloat(e.getAttribute("x")),xunits:U[o],y:parseFloat(e.getAttribute("y")),yunits:U[r],origin:t}})),scale:Object(j.makeObjectPropertySetter)(ge)});var be=Object(j.makeStructureNS)(F,{color:Object(j.makeObjectPropertySetter)(pe),scale:Object(j.makeObjectPropertySetter)(ge)});var Ae=Object(j.makeStructureNS)(F,{color:Object(j.makeObjectPropertySetter)(pe),width:Object(j.makeObjectPropertySetter)(L.readDecimal)});var Ce=Object(j.makeStructureNS)(F,{color:Object(j.makeObjectPropertySetter)(pe),fill:Object(j.makeObjectPropertySetter)(L.readBoolean),outline:Object(j.makeObjectPropertySetter)(L.readBoolean)});var Ee=Object(j.makeStructureNS)(F,{coordinates:Object(j.makeReplacer)(he)});function Se(e,t){return Object(j.pushParseAndPop)(null,Ee,e,t)}var we=Object(j.makeStructureNS)(G,{Track:Object(j.makeArrayPusher)(Ie)});var Oe=Object(j.makeStructureNS)(F,{when:function(e,t){var o=t[t.length-1].whens,r=Object(j.getAllTextContent)(e,!1),n=Date.parse(r);o.push(isNaN(n)?0:n)}},Object(j.makeStructureNS)(G,{coord:function(e,t){var o=t[t.length-1].coordinates,r=Object(j.getAllTextContent)(e,!1),n=/^\s*([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s*$/i.exec(r);if(n){var i=parseFloat(n[1]),s=parseFloat(n[2]),a=parseFloat(n[3]);o.push([i,s,a])}else o.push([])}}));function Ie(e,t){var o=Object(j.pushParseAndPop)({coordinates:[],whens:[]},Oe,e,t);if(o){for(var r=[],n=o.coordinates,i=o.whens,s=0,a=Math.min(n.length,i.length);s<a;++s)3==n[s].length&&r.push(n[s][0],n[s][1],n[s][2],i[s]);return new _.default(r,h.default.XYZM)}}var xe=Object(j.makeStructureNS)(F,{href:Object(j.makeObjectPropertySetter)(fe)},Object(j.makeStructureNS)(G,{x:Object(j.makeObjectPropertySetter)(L.readDecimal),y:Object(j.makeObjectPropertySetter)(L.readDecimal),w:Object(j.makeObjectPropertySetter)(L.readDecimal),h:Object(j.makeObjectPropertySetter)(L.readDecimal)}));var je=Object(j.makeStructureNS)(F,{coordinates:Object(j.makeReplacer)(he)});function Te(e,t){return Object(j.pushParseAndPop)(null,je,e,t)}var Pe=Object(j.makeStructureNS)(F,{extrude:Object(j.makeObjectPropertySetter)(L.readBoolean),tessellate:Object(j.makeObjectPropertySetter)(L.readBoolean),altitudeMode:Object(j.makeObjectPropertySetter)(L.readString)});function Me(e,t){var o=Object(j.pushParseAndPop)({},Pe,e,t),r=Te(e,t);if(r){var n=new _.default(r,h.default.XYZ);return n.setProperties(o,!0),n}}function Re(e,t){var o=Object(j.pushParseAndPop)({},Pe,e,t),r=Te(e,t);if(r){var n=new S.default(r,h.default.XYZ,[r.length]);return n.setProperties(o,!0),n}}var Le=Object(j.makeStructureNS)(F,{LineString:Object(j.makeArrayPusher)(Me),LinearRing:Object(j.makeArrayPusher)(Re),MultiGeometry:Object(j.makeArrayPusher)(ke),Point:Object(j.makeArrayPusher)(Ne),Polygon:Object(j.makeArrayPusher)(Ge)});function ke(e,t){var o,r=Object(j.pushParseAndPop)([],Le,e,t);if(!r)return null;if(0===r.length)return new p.default(r);for(var n,i=!0,s=r[0].getType(),a=1,l=r.length;a<l;++a)if((n=r[a]).getType()!=s){i=!1;break}if(i){var u=void 0,c=void 0;if(s==f.default.POINT){var d=r[0];u=d.getLayout(),c=d.getFlatCoordinates();for(a=1,l=r.length;a<l;++a)n=r[a],Object(M.extend)(c,n.getFlatCoordinates());Be(o=new A.default(c,u),r)}else s==f.default.LINE_STRING?Be(o=new b.default(r),r):s==f.default.POLYGON?Be(o=new C.default(r),r):s==f.default.GEOMETRY_COLLECTION?o=new p.default(r):Object(P.assert)(!1,37)}else o=new p.default(r);return o}function Ne(e,t){var o=Object(j.pushParseAndPop)({},Pe,e,t),r=Te(e,t);if(r){var n=new E.default(r,h.default.XYZ);return n.setProperties(o,!0),n}}var De=Object(j.makeStructureNS)(F,{innerBoundaryIs:function(e,t){var o=Object(j.pushParseAndPop)([],Ke,e,t);if(o.length>0){var r=t[t.length-1];r.push.apply(r,o)}},outerBoundaryIs:function(e,t){var o=Object(j.pushParseAndPop)(void 0,Je,e,t);if(o){t[t.length-1][0]=o}}});function Ge(e,t){var o=Object(j.pushParseAndPop)({},Pe,e,t),r=Object(j.pushParseAndPop)([null],De,e,t);if(r&&r[0]){for(var n=r[0],i=[n.length],s=1,a=r.length;s<a;++s)Object(M.extend)(n,r[s]),i.push(n.length);var l=new S.default(n,h.default.XYZ,i);return l.setProperties(o,!0),l}}var Fe=Object(j.makeStructureNS)(F,{IconStyle:function(e,t){var o=Object(j.pushParseAndPop)({},_e,e,t);if(o){var r,n,c,d,p=t[t.length-1],h="Icon"in o?o.Icon:{},f=!("Icon"in o)||Object.keys(h).length>0,g=h.href;g?r=g:f&&(r=u);var _,b=y.default.BOTTOM_LEFT,A=o.hotSpot;A?(n=[A.x,A.y],c=A.xunits,d=A.yunits,b=A.origin):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(r)&&(/pushpin/.test(r)?(n=i,c=s,d=a):/arrow-reverse/.test(r)?(n=[54,42],c=s,d=a):/paddle/.test(r)&&(n=[32,1],c=s,d=a));var C,E=h.x,S=h.y;void 0!==E&&void 0!==S&&(_=[E,S]);var w,O=h.w,I=h.h;void 0!==O&&void 0!==I&&(C=[O,I]);var x=o.heading;void 0!==x&&(w=Object(k.toRadians)(x));var T=o.scale,P=o.color;if(f){r==u&&(C=l);var M=new m.default({anchor:n,anchorOrigin:b,anchorXUnits:c,anchorYUnits:d,crossOrigin:this.crossOrigin_,offset:_,offsetOrigin:y.default.BOTTOM_LEFT,rotation:w,scale:T,size:C,src:this.iconUrlFunction_(r),color:P}),R=M.getScaleArray()[0],L=M.getSize();if(null===L){var N=M.getImageState();if(N===v.default.IDLE||N===v.default.LOADING){var D=function(){var e=M.getImageState();if(e!==v.default.IDLE&&e!==v.default.LOADING){var t=M.getSize();if(t&&2==t.length){var o=le(t);M.setScale(R*o)}M.unlistenImageChange(D)}};M.listenImageChange(D),N===v.default.IDLE&&M.load()}}else if(2==L.length){var G=le(L);M.setScale(R*G)}p.imageStyle=M}else p.imageStyle=Z}},LabelStyle:function(e,t){var o=Object(j.pushParseAndPop)({},be,e,t);if(o){var r=t[t.length-1],i=new I.default({fill:new d.default({color:"color"in o?o.color:n}),scale:o.scale});r.textStyle=i}},LineStyle:function(e,t){var o=Object(j.pushParseAndPop)({},Ae,e,t);if(o){var r=t[t.length-1],i=new w.default({color:"color"in o?o.color:n,width:"width"in o?o.width:1});r.strokeStyle=i}},PolyStyle:function(e,t){var o=Object(j.pushParseAndPop)({},Ce,e,t);if(o){var r=t[t.length-1],i=new d.default({color:"color"in o?o.color:n});r.fillStyle=i;var s=o.fill;void 0!==s&&(r.fill=s);var a=o.outline;void 0!==a&&(r.outline=a)}}});function Ue(e,t){var o=Object(j.pushParseAndPop)({},Fe,e,t,this);if(!o)return null;var r,n="fillStyle"in o?o.fillStyle:H,i=o.fill;void 0===i||i||(n=null),"imageStyle"in o?o.imageStyle!=Z&&(r=o.imageStyle):r=K;var s="textStyle"in o?o.textStyle:te,a="strokeStyle"in o?o.strokeStyle:$,l=o.outline;return void 0===l||l?[new O.default({fill:n,image:r,stroke:a,text:s,zIndex:void 0})]:[new O.default({geometry:function(e){var t=e.getGeometry(),o=t.getType();if(o===f.default.GEOMETRY_COLLECTION){var r=t;return new p.default(r.getGeometriesArrayRecursive().filter((function(e){var t=e.getType();return t!==f.default.POLYGON&&t!==f.default.MULTI_POLYGON})))}if(o!==f.default.POLYGON&&o!==f.default.MULTI_POLYGON)return t},fill:n,image:r,stroke:a,text:s,zIndex:void 0}),new O.default({geometry:function(e){var t=e.getGeometry(),o=t.getType();if(o===f.default.GEOMETRY_COLLECTION){var r=t;return new p.default(r.getGeometriesArrayRecursive().filter((function(e){var t=e.getType();return t===f.default.POLYGON||t===f.default.MULTI_POLYGON})))}if(o===f.default.POLYGON||o===f.default.MULTI_POLYGON)return t},fill:n,stroke:null,zIndex:void 0})]}function Be(e,t){var o,r,n,i=t.length,s=new Array(t.length),a=new Array(t.length),l=new Array(t.length);o=!1,r=!1,n=!1;for(var u=0;u<i;++u){var c=t[u];s[u]=c.get("extrude"),a[u]=c.get("tessellate"),l[u]=c.get("altitudeMode"),o=o||void 0!==s[u],r=r||void 0!==a[u],n=n||l[u]}o&&e.set("extrude",s),r&&e.set("tessellate",a),n&&e.set("altitudeMode",l)}var ze=Object(j.makeStructureNS)(F,{displayName:Object(j.makeObjectPropertySetter)(L.readString),value:Object(j.makeObjectPropertySetter)(L.readString)});var Ve=Object(j.makeStructureNS)(F,{Data:function(e,t){var o=e.getAttribute("name");Object(j.parseNode)(ze,e,t);var r=t[t.length-1];o&&r.displayName?r[o]={value:r.value,displayName:r.displayName,toString:function(){return r.value}}:null!==o?r[o]=r.value:null!==r.displayName&&(r[r.displayName]=r.value),delete r.value},SchemaData:function(e,t){Object(j.parseNode)(He,e,t)}});function We(e,t){Object(j.parseNode)(Ve,e,t)}function qe(e,t){Object(j.parseNode)(W,e,t)}var Ye=Object(j.makeStructureNS)(F,{Style:Object(j.makeObjectPropertySetter)(Ue),key:Object(j.makeObjectPropertySetter)(L.readString),styleUrl:Object(j.makeObjectPropertySetter)(me)});var He=Object(j.makeStructureNS)(F,{SimpleData:function(e,t){var o=e.getAttribute("name");if(null!==o){var r=Object(L.readString)(e);t[t.length-1][o]=r}}});var Xe=Object(j.makeStructureNS)(F,{altitudeMode:Object(j.makeObjectPropertySetter)(L.readString),minAltitude:Object(j.makeObjectPropertySetter)(L.readDecimal),maxAltitude:Object(j.makeObjectPropertySetter)(L.readDecimal),north:Object(j.makeObjectPropertySetter)(L.readDecimal),south:Object(j.makeObjectPropertySetter)(L.readDecimal),east:Object(j.makeObjectPropertySetter)(L.readDecimal),west:Object(j.makeObjectPropertySetter)(L.readDecimal)});var Ze=Object(j.makeStructureNS)(F,{minLodPixels:Object(j.makeObjectPropertySetter)(L.readDecimal),maxLodPixels:Object(j.makeObjectPropertySetter)(L.readDecimal),minFadeExtent:Object(j.makeObjectPropertySetter)(L.readDecimal),maxFadeExtent:Object(j.makeObjectPropertySetter)(L.readDecimal)});var Ke=Object(j.makeStructureNS)(F,{LinearRing:Object(j.makeArrayPusher)(Se)});var Je=Object(j.makeStructureNS)(F,{LinearRing:Object(j.makeReplacer)(Se)});function Qe(e,t){for(var o=Object(T.asArray)(t),r=[255*(4==o.length?o[3]:1),o[2],o[1],o[0]],n=0;n<4;++n){var i=Math.floor(r[n]).toString(16);r[n]=1==i.length?"0"+i:i}Object(L.writeStringTextNode)(e,r.join(""))}var $e=Object(j.makeStructureNS)(F,{Data:Object(j.makeChildAppender)((function(e,t,o){e.setAttribute("name",t.name);var r={node:e},n=t.value;"object"==typeof n?(null!==n&&n.displayName&&Object(j.pushSerializeAndPop)(r,$e,j.OBJECT_PROPERTY_NODE_FACTORY,[n.displayName],o,["displayName"]),null!==n&&n.value&&Object(j.pushSerializeAndPop)(r,$e,j.OBJECT_PROPERTY_NODE_FACTORY,[n.value],o,["value"])):Object(j.pushSerializeAndPop)(r,$e,j.OBJECT_PROPERTY_NODE_FACTORY,[n],o,["value"])})),value:Object(j.makeChildAppender)((function(e,t){Object(L.writeStringTextNode)(e,t)})),displayName:Object(j.makeChildAppender)((function(e,t){Object(L.writeCDATASection)(e,t)}))});var et=Object(j.makeStructureNS)(F,{Placemark:Object(j.makeChildAppender)(wt)}),tt=function(e,t,o){var r=t[t.length-1].node;return Object(j.createElementNS)(r.namespaceURI,"Placemark")};var ot=Object(j.makeSimpleNodeFactory)("Data");var rt=Object(j.makeStructureNS)(F,["href"],Object(j.makeStructureNS)(G,["x","y","w","h"])),nt=Object(j.makeStructureNS)(F,{href:Object(j.makeChildAppender)(L.writeStringTextNode)},Object(j.makeStructureNS)(G,{x:Object(j.makeChildAppender)(L.writeDecimalTextNode),y:Object(j.makeChildAppender)(L.writeDecimalTextNode),w:Object(j.makeChildAppender)(L.writeDecimalTextNode),h:Object(j.makeChildAppender)(L.writeDecimalTextNode)})),it=function(e,t,o){return Object(j.createElementNS)(G[0],"gx:"+o)};var st=Object(j.makeStructureNS)(F,["scale","heading","Icon","color","hotSpot"]),at=Object(j.makeStructureNS)(F,{Icon:Object(j.makeChildAppender)((function(e,t,o){var r={node:e},n=o[o.length-1].node,i=rt[n.namespaceURI],s=Object(j.makeSequence)(t,i);Object(j.pushSerializeAndPop)(r,nt,j.OBJECT_PROPERTY_NODE_FACTORY,s,o,i),i=rt[G[0]],s=Object(j.makeSequence)(t,i),Object(j.pushSerializeAndPop)(r,nt,it,s,o,i)})),color:Object(j.makeChildAppender)(Qe),heading:Object(j.makeChildAppender)(L.writeDecimalTextNode),hotSpot:Object(j.makeChildAppender)((function(e,t){e.setAttribute("x",String(t.x)),e.setAttribute("y",String(t.y)),e.setAttribute("xunits",t.xunits),e.setAttribute("yunits",t.yunits)})),scale:Object(j.makeChildAppender)(kt)});var lt=Object(j.makeStructureNS)(F,["color","scale"]),ut=Object(j.makeStructureNS)(F,{color:Object(j.makeChildAppender)(Qe),scale:Object(j.makeChildAppender)(kt)});var ct=Object(j.makeStructureNS)(F,["color","width"]),dt=Object(j.makeStructureNS)(F,{color:Object(j.makeChildAppender)(Qe),width:Object(j.makeChildAppender)(L.writeDecimalTextNode)});var pt={Point:"Point",LineString:"LineString",LinearRing:"LinearRing",Polygon:"Polygon",MultiPoint:"MultiGeometry",MultiLineString:"MultiGeometry",MultiPolygon:"MultiGeometry",GeometryCollection:"MultiGeometry"},ht=function(e,t,o){if(e){var r=t[t.length-1].node;return Object(j.createElementNS)(r.namespaceURI,pt[e.getType()])}},ft=Object(j.makeSimpleNodeFactory)("Point"),mt=Object(j.makeSimpleNodeFactory)("LineString"),gt=Object(j.makeSimpleNodeFactory)("LinearRing"),yt=Object(j.makeSimpleNodeFactory)("Polygon"),vt=Object(j.makeStructureNS)(F,{LineString:Object(j.makeChildAppender)(xt),Point:Object(j.makeChildAppender)(xt),Polygon:Object(j.makeChildAppender)(Rt),GeometryCollection:Object(j.makeChildAppender)(_t)});function _t(e,t,o){var r,n={node:e},i=t.getType(),s=[];i===f.default.GEOMETRY_COLLECTION?(t.getGeometriesArrayRecursive().forEach((function(e){var t=e.getType();t===f.default.MULTI_POINT?s=s.concat(e.getPoints()):t===f.default.MULTI_LINE_STRING?s=s.concat(e.getLineStrings()):t===f.default.MULTI_POLYGON?s=s.concat(e.getPolygons()):t===f.default.POINT||t===f.default.LINE_STRING||t===f.default.POLYGON?s.push(e):Object(P.assert)(!1,39)})),r=ht):i===f.default.MULTI_POINT?(s=t.getPoints(),r=ft):i===f.default.MULTI_LINE_STRING?(s=t.getLineStrings(),r=mt):i===f.default.MULTI_POLYGON?(s=t.getPolygons(),r=yt):Object(P.assert)(!1,39),Object(j.pushSerializeAndPop)(n,vt,r,s,o)}var bt=Object(j.makeStructureNS)(F,{LinearRing:Object(j.makeChildAppender)(xt)});function At(e,t,o){var r={node:e};Object(j.pushSerializeAndPop)(r,bt,gt,[t],o)}var Ct=Object(j.makeStructureNS)(F,{ExtendedData:Object(j.makeChildAppender)((function(e,t,o){for(var r={node:e},n=t.names,i=t.values,s=n.length,a=0;a<s;a++)Object(j.pushSerializeAndPop)(r,$e,ot,[{name:n[a],value:i[a]}],o)})),MultiGeometry:Object(j.makeChildAppender)(_t),LineString:Object(j.makeChildAppender)(xt),LinearRing:Object(j.makeChildAppender)(xt),Point:Object(j.makeChildAppender)(xt),Polygon:Object(j.makeChildAppender)(Rt),Style:Object(j.makeChildAppender)((function(e,t,o){var r={node:e},n={};if(t.pointStyles.length){var i=t.pointStyles[0].getText();i&&(n.LabelStyle=i);var s=t.pointStyles[0].getImage();s&&"function"==typeof s.getSrc&&(n.IconStyle=s)}if(t.lineStyles.length){(a=t.lineStyles[0].getStroke())&&(n.LineStyle=a)}if(t.polyStyles.length){var a;(a=t.polyStyles[0].getStroke())&&!n.LineStyle&&(n.LineStyle=a),n.PolyStyle=t.polyStyles[0]}var l=o[o.length-1].node,u=Nt[l.namespaceURI],c=Object(j.makeSequence)(n,u);Object(j.pushSerializeAndPop)(r,Dt,j.OBJECT_PROPERTY_NODE_FACTORY,c,o,u)})),address:Object(j.makeChildAppender)(L.writeStringTextNode),description:Object(j.makeChildAppender)(L.writeStringTextNode),name:Object(j.makeChildAppender)(L.writeStringTextNode),open:Object(j.makeChildAppender)(L.writeBooleanTextNode),phoneNumber:Object(j.makeChildAppender)(L.writeStringTextNode),styleUrl:Object(j.makeChildAppender)(L.writeStringTextNode),visibility:Object(j.makeChildAppender)(L.writeBooleanTextNode)}),Et=Object(j.makeStructureNS)(F,["name","open","visibility","address","phoneNumber","description","styleUrl","Style"]),St=Object(j.makeSimpleNodeFactory)("ExtendedData");function wt(e,t,o){var r={node:e};t.getId()&&e.setAttribute("id",t.getId());var n=t.getProperties(),i={address:1,description:1,name:1,open:1,phoneNumber:1,styleUrl:1,visibility:1};i[t.getGeometryName()]=1;var s=Object.keys(n||{}).sort().filter((function(e){return!i[e]})),a=t.getStyleFunction();if(a){var l=a(t,0);if(l){var u=Array.isArray(l)?l:[l],c=u;if(t.getGeometry()&&(c=u.filter((function(e){var o=e.getGeometryFunction()(t);if(o){var r=o.getType();return r===f.default.GEOMETRY_COLLECTION?o.getGeometriesArrayRecursive().filter((function(e){var t=e.getType();return t===f.default.POINT||t===f.default.MULTI_POINT})).length:r===f.default.POINT||r===f.default.MULTI_POINT}}))),this.writeStyles_){var d=u,p=u;t.getGeometry()&&(d=u.filter((function(e){var o=e.getGeometryFunction()(t);if(o){var r=o.getType();return r===f.default.GEOMETRY_COLLECTION?o.getGeometriesArrayRecursive().filter((function(e){var t=e.getType();return t===f.default.LINE_STRING||t===f.default.MULTI_LINE_STRING})).length:r===f.default.LINE_STRING||r===f.default.MULTI_LINE_STRING}})),p=u.filter((function(e){var o=e.getGeometryFunction()(t);if(o){var r=o.getType();return r===f.default.GEOMETRY_COLLECTION?o.getGeometriesArrayRecursive().filter((function(e){var t=e.getType();return t===f.default.POLYGON||t===f.default.MULTI_POLYGON})).length:r===f.default.POLYGON||r===f.default.MULTI_POLYGON}}))),n.Style={pointStyles:c,lineStyles:d,polyStyles:p}}if(c.length&&void 0===n.name){var h=c[0].getText();h&&(n.name=h.getText())}}}var m=o[o.length-1].node,g=Et[m.namespaceURI],y=Object(j.makeSequence)(n,g);if(Object(j.pushSerializeAndPop)(r,Ct,j.OBJECT_PROPERTY_NODE_FACTORY,y,o,g),s.length>0){var v={names:s,values:Object(j.makeSequence)(n,s)};Object(j.pushSerializeAndPop)(r,Ct,St,[v],o)}var _=o[0],b=t.getGeometry();b&&(b=Object(N.transformGeometryWithOptions)(b,!0,_)),Object(j.pushSerializeAndPop)(r,Ct,ht,[b],o)}var Ot=Object(j.makeStructureNS)(F,["extrude","tessellate","altitudeMode","coordinates"]),It=Object(j.makeStructureNS)(F,{extrude:Object(j.makeChildAppender)(L.writeBooleanTextNode),tessellate:Object(j.makeChildAppender)(L.writeBooleanTextNode),altitudeMode:Object(j.makeChildAppender)(L.writeStringTextNode),coordinates:Object(j.makeChildAppender)((function(e,t,o){var r,n=o[o.length-1],i=n.layout,s=n.stride;i==h.default.XY||i==h.default.XYM?r=2:i==h.default.XYZ||i==h.default.XYZM?r=3:Object(P.assert)(!1,34);var a=t.length,l="";if(a>0){l+=t[0];for(var u=1;u<r;++u)l+=","+t[u];for(var c=s;c<a;c+=s){l+=" "+t[c];for(u=1;u<r;++u)l+=","+t[c+u]}}Object(L.writeStringTextNode)(e,l)}))});function xt(e,t,o){var r=t.getFlatCoordinates(),n={node:e};n.layout=t.getLayout(),n.stride=t.getStride();var i=t.getProperties();i.coordinates=r;var s=o[o.length-1].node,a=Ot[s.namespaceURI],l=Object(j.makeSequence)(i,a);Object(j.pushSerializeAndPop)(n,It,j.OBJECT_PROPERTY_NODE_FACTORY,l,o,a)}var jt=Object(j.makeStructureNS)(F,["color","fill","outline"]),Tt=Object(j.makeStructureNS)(F,{outerBoundaryIs:Object(j.makeChildAppender)(At),innerBoundaryIs:Object(j.makeChildAppender)(At)}),Pt=Object(j.makeSimpleNodeFactory)("innerBoundaryIs"),Mt=Object(j.makeSimpleNodeFactory)("outerBoundaryIs");function Rt(e,t,o){var r=t.getLinearRings(),n=r.shift(),i={node:e};Object(j.pushSerializeAndPop)(i,Tt,Pt,r,o),Object(j.pushSerializeAndPop)(i,Tt,Mt,[n],o)}var Lt=Object(j.makeStructureNS)(F,{color:Object(j.makeChildAppender)(Qe),fill:Object(j.makeChildAppender)(L.writeBooleanTextNode),outline:Object(j.makeChildAppender)(L.writeBooleanTextNode)});function kt(e,t){Object(L.writeDecimalTextNode)(e,Math.round(1e6*t)/1e6)}var Nt=Object(j.makeStructureNS)(F,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),Dt=Object(j.makeStructureNS)(F,{IconStyle:Object(j.makeChildAppender)((function(e,t,o){var r={node:e},n={},i=t.getSrc(),s=t.getSize(),a=t.getImageSize(),u={href:i};if(s){u.w=s[0],u.h=s[1];var c=t.getAnchor(),d=t.getOrigin();if(d&&a&&0!==d[0]&&d[1]!==s[1]&&(u.x=d[0],u.y=a[1]-(d[1]+s[1])),c&&(c[0]!==s[0]/2||c[1]!==s[1]/2)){var p={x:c[0],xunits:g.default.PIXELS,y:s[1]-c[1],yunits:g.default.PIXELS};n.hotSpot=p}}n.Icon=u;var h=t.getScaleArray()[0],f=s;null===f&&(f=l),2==f.length&&(h/=le(f)),1!==h&&(n.scale=h);var m=t.getRotation();0!==m&&(n.heading=m);var y=t.getColor();y&&(n.color=y);var v=o[o.length-1].node,_=st[v.namespaceURI],b=Object(j.makeSequence)(n,_);Object(j.pushSerializeAndPop)(r,at,j.OBJECT_PROPERTY_NODE_FACTORY,b,o,_)})),LabelStyle:Object(j.makeChildAppender)((function(e,t,o){var r={node:e},n={},i=t.getFill();i&&(n.color=i.getColor());var s=t.getScale();s&&1!==s&&(n.scale=s);var a=o[o.length-1].node,l=lt[a.namespaceURI],u=Object(j.makeSequence)(n,l);Object(j.pushSerializeAndPop)(r,ut,j.OBJECT_PROPERTY_NODE_FACTORY,u,o,l)})),LineStyle:Object(j.makeChildAppender)((function(e,t,o){var r={node:e},n={color:t.getColor(),width:Number(t.getWidth())||1},i=o[o.length-1].node,s=ct[i.namespaceURI],a=Object(j.makeSequence)(n,s);Object(j.pushSerializeAndPop)(r,dt,j.OBJECT_PROPERTY_NODE_FACTORY,a,o,s)})),PolyStyle:Object(j.makeChildAppender)((function(e,t,o){var r={node:e},n=t.getFill(),i=t.getStroke(),s={color:n?n.getColor():void 0,fill:!!n&&void 0,outline:!!i&&void 0},a=o[o.length-1].node,l=jt[a.namespaceURI],u=Object(j.makeSequence)(s,l);Object(j.pushSerializeAndPop)(r,Lt,j.OBJECT_PROPERTY_NODE_FACTORY,u,o,l)}))});t.default=ce},"./node_modules/ol/format/MVT.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/Feature.js"),i=o("./node_modules/ol/format/FormatType.js"),s=o("./node_modules/ol/geom/GeometryLayout.js"),a=o("./node_modules/ol/geom/GeometryType.js"),l=o("./node_modules/ol/geom/LineString.js"),u=o("./node_modules/ol/geom/MultiLineString.js"),c=o("./node_modules/ol/geom/MultiPoint.js"),d=o("./node_modules/ol/geom/MultiPolygon.js"),p=o("./node_modules/ol/node_modules/pbf/index.js"),h=o.n(p),f=o("./node_modules/ol/geom/Point.js"),m=o("./node_modules/ol/geom/Polygon.js"),g=o("./node_modules/ol/proj/Projection.js"),y=o("./node_modules/ol/render/Feature.js"),v=o("./node_modules/ol/proj/Units.js"),_=o("./node_modules/ol/asserts.js"),b=o("./node_modules/ol/proj.js"),A=o("./node_modules/ol/geom/flat/orient.js"),C=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),E=function(e){function t(t){var o=e.call(this)||this,r=t||{};return o.dataProjection=new g.default({code:"",units:v.default.TILE_PIXELS}),o.featureClass_=r.featureClass?r.featureClass:y.default,o.geometryName_=r.geometryName,o.layerName_=r.layerName?r.layerName:"layer",o.layers_=r.layers?r.layers:null,o.idProperty_=r.idProperty,o.supportedMediaTypes=["application/vnd.mapbox-vector-tile","application/x-protobuf"],o}return C(t,e),t.prototype.readRawGeometry_=function(e,t,o,r){e.pos=t.geometry;for(var n=e.readVarint()+e.pos,i=1,s=0,a=0,l=0,u=0,c=0;e.pos<n;){if(!s){var d=e.readVarint();i=7&d,s=d>>3}s--,1===i||2===i?(a+=e.readSVarint(),l+=e.readSVarint(),1===i&&u>c&&(r.push(u),c=u),o.push(a,l),u+=2):7===i?u>c&&(o.push(o[c],o[c+1]),u+=2):Object(_.assert)(!1,59)}u>c&&(r.push(u),c=u)},t.prototype.createFeature_=function(e,t,o){var r,i=t.type;if(0===i)return null;var p,h=t.properties;this.idProperty_?(p=h[this.idProperty_],delete h[this.idProperty_]):p=t.id,h[this.layerName_]=t.layer.name;var g=[],v=[];this.readRawGeometry_(e,t,g,v);var _=function(e,t){var o;1===e?o=1===t?a.default.POINT:a.default.MULTI_POINT:2===e?o=1===t?a.default.LINE_STRING:a.default.MULTI_LINE_STRING:3===e&&(o=a.default.POLYGON);return o}(i,v.length);if(this.featureClass_===y.default)(r=new this.featureClass_(_,g,v,h,p)).transform(o.dataProjection);else{var b=void 0;if(_==a.default.POLYGON){for(var C=[],E=0,S=0,w=0,O=v.length;w<O;++w){var I=v[w];if(Object(A.linearRingIsClockwise)(g,E,I,2)){if(0===C.length)continue;C[C.length-1].push(v[S])}else C.push(v.slice(S,w+1));S=w+1,E=I}b=C.length>1?new d.default(g,s.default.XY,C):new m.default(g,s.default.XY,v)}else b=_===a.default.POINT?new f.default(g,s.default.XY):_===a.default.LINE_STRING?new l.default(g,s.default.XY):_===a.default.POLYGON?new m.default(g,s.default.XY,v):_===a.default.MULTI_POINT?new c.default(g,s.default.XY):_===a.default.MULTI_LINE_STRING?new u.default(g,s.default.XY,v):null;r=new(0,this.featureClass_),this.geometryName_&&r.setGeometryName(this.geometryName_);var x=Object(n.transformGeometryWithOptions)(b,!1,o);r.setGeometry(x),r.setId(p),r.setProperties(h,!0)}return r},t.prototype.getType=function(){return i.default.ARRAY_BUFFER},t.prototype.readFeatures=function(e,t){var o=this.layers_,r=this.adaptOptions(t),n=Object(b.get)(r.dataProjection);n.setWorldExtent(r.extent),r.dataProjection=n;var i=new h.a(e),s=i.readFields(S,{}),a=[];for(var l in s)if(!o||-1!=o.indexOf(l)){var u=s[l],c=u?[0,0,u.extent,u.extent]:null;n.setExtent(c);for(var d=0,p=u.length;d<p;++d){var f=I(i,u,d);a.push(this.createFeature_(i,f,r))}}return a},t.prototype.readProjection=function(e){return this.dataProjection},t.prototype.setLayers=function(e){this.layers_=e},t}(n.default);function S(e,t,o){if(3===e){var r={keys:[],values:[],features:[]},n=o.readVarint()+o.pos;o.readFields(w,r,n),r.length=r.features.length,r.length&&(t[r.name]=r)}}function w(e,t,o){if(15===e)t.version=o.readVarint();else if(1===e)t.name=o.readString();else if(5===e)t.extent=o.readVarint();else if(2===e)t.features.push(o.pos);else if(3===e)t.keys.push(o.readString());else if(4===e){for(var r=null,n=o.readVarint()+o.pos;o.pos<n;)r=1===(e=o.readVarint()>>3)?o.readString():2===e?o.readFloat():3===e?o.readDouble():4===e?o.readVarint64():5===e?o.readVarint():6===e?o.readSVarint():7===e?o.readBoolean():null;t.values.push(r)}}function O(e,t,o){if(1==e)t.id=o.readVarint();else if(2==e)for(var r=o.readVarint()+o.pos;o.pos<r;){var n=t.layer.keys[o.readVarint()],i=t.layer.values[o.readVarint()];t.properties[n]=i}else 3==e?t.type=o.readVarint():4==e&&(t.geometry=o.pos)}function I(e,t,o){e.pos=t.features[o];var r=e.readVarint()+e.pos,n={layer:t,type:0,properties:{}};return e.readFields(O,n,r),n}t.default=E},"./node_modules/ol/format/OSMXML.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/Feature.js"),i=o("./node_modules/ol/geom/GeometryLayout.js"),s=o("./node_modules/ol/geom/LineString.js"),a=o("./node_modules/ol/geom/Point.js"),l=o("./node_modules/ol/geom/Polygon.js"),u=o("./node_modules/ol/format/XMLFeature.js"),c=o("./node_modules/ol/array.js"),d=o("./node_modules/ol/proj.js"),p=o("./node_modules/ol/obj.js"),h=o("./node_modules/ol/xml.js"),f=o("./node_modules/ol/format/Feature.js"),m=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),g=[null],y=Object(h.makeStructureNS)(g,{nd:function(e,t){t[t.length-1].ndrefs.push(e.getAttribute("ref"))},tag:A}),v=Object(h.makeStructureNS)(g,{node:function(e,t){var o=t[0],r=t[t.length-1],i=e.getAttribute("id"),s=[parseFloat(e.getAttribute("lon")),parseFloat(e.getAttribute("lat"))];r.nodes[i]=s;var l=Object(h.pushParseAndPop)({tags:{}},b,e,t);if(!Object(p.isEmpty)(l.tags)){var u=new a.default(s);Object(f.transformGeometryWithOptions)(u,!1,o);var c=new n.default(u);c.setId(i),c.setProperties(l.tags,!0),r.features.push(c)}},way:function(e,t){var o=e.getAttribute("id"),r=Object(h.pushParseAndPop)({id:o,ndrefs:[],tags:{}},y,e,t);t[t.length-1].ways.push(r)}}),_=function(e){function t(){var t=e.call(this)||this;return t.dataProjection=Object(d.get)("EPSG:4326"),t}return m(t,e),t.prototype.readFeaturesFromNode=function(e,t){var o=this.getReadOptions(e,t);if("osm"==e.localName){for(var r=Object(h.pushParseAndPop)({nodes:{},ways:[],features:[]},v,e,[o]),a=0;a<r.ways.length;a++){for(var u=r.ways[a],d=[],p=0,m=u.ndrefs.length;p<m;p++){var g=r.nodes[u.ndrefs[p]];Object(c.extend)(d,g)}var y=void 0;y=u.ndrefs[0]==u.ndrefs[u.ndrefs.length-1]?new l.default(d,i.default.XY,[d.length]):new s.default(d,i.default.XY),Object(f.transformGeometryWithOptions)(y,!1,o);var _=new n.default(y);_.setId(u.id),_.setProperties(u.tags,!0),r.features.push(_)}if(r.features)return r.features}return[]},t}(u.default),b=Object(h.makeStructureNS)(g,{tag:A});function A(e,t){t[t.length-1].tags[e.getAttribute("k")]=e.getAttribute("v")}t.default=_},"./node_modules/ol/format/OWS.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/XML.js"),i=o("./node_modules/ol/xml.js"),s=o("./node_modules/ol/format/xlink.js"),a=o("./node_modules/ol/format/xsd.js"),l=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),u=[null,"http://www.opengis.net/ows/1.1"],c=Object(i.makeStructureNS)(u,{ServiceIdentification:Object(i.makeObjectPropertySetter)((function(e,t){return Object(i.pushParseAndPop)({},E,e,t)})),ServiceProvider:Object(i.makeObjectPropertySetter)((function(e,t){return Object(i.pushParseAndPop)({},S,e,t)})),OperationsMetadata:Object(i.makeObjectPropertySetter)((function(e,t){return Object(i.pushParseAndPop)({},_,e,t)}))}),d=function(e){function t(){return e.call(this)||this}return l(t,e),t.prototype.readFromNode=function(e){var t=Object(i.pushParseAndPop)({},c,e,[]);return t||null},t}(n.default),p=Object(i.makeStructureNS)(u,{DeliveryPoint:Object(i.makeObjectPropertySetter)(a.readString),City:Object(i.makeObjectPropertySetter)(a.readString),AdministrativeArea:Object(i.makeObjectPropertySetter)(a.readString),PostalCode:Object(i.makeObjectPropertySetter)(a.readString),Country:Object(i.makeObjectPropertySetter)(a.readString),ElectronicMailAddress:Object(i.makeObjectPropertySetter)(a.readString)}),h=Object(i.makeStructureNS)(u,{Value:Object(i.makeObjectPropertyPusher)((function(e,t){return Object(a.readString)(e)}))}),f=Object(i.makeStructureNS)(u,{AllowedValues:Object(i.makeObjectPropertySetter)((function(e,t){return Object(i.pushParseAndPop)({},h,e,t)}))}),m=Object(i.makeStructureNS)(u,{Phone:Object(i.makeObjectPropertySetter)((function(e,t){return Object(i.pushParseAndPop)({},b,e,t)})),Address:Object(i.makeObjectPropertySetter)((function(e,t){return Object(i.pushParseAndPop)({},p,e,t)}))}),g=Object(i.makeStructureNS)(u,{HTTP:Object(i.makeObjectPropertySetter)((function(e,t){return Object(i.pushParseAndPop)({},y,e,t)}))}),y=Object(i.makeStructureNS)(u,{Get:Object(i.makeObjectPropertyPusher)((function(e,t){var o=Object(s.readHref)(e);if(!o)return;return Object(i.pushParseAndPop)({href:o},A,e,t)})),Post:void 0}),v=Object(i.makeStructureNS)(u,{DCP:Object(i.makeObjectPropertySetter)((function(e,t){return Object(i.pushParseAndPop)({},g,e,t)}))}),_=Object(i.makeStructureNS)(u,{Operation:function(e,t){var o=e.getAttribute("name"),r=Object(i.pushParseAndPop)({},v,e,t);if(!r)return;t[t.length-1][o]=r}}),b=Object(i.makeStructureNS)(u,{Voice:Object(i.makeObjectPropertySetter)(a.readString),Facsimile:Object(i.makeObjectPropertySetter)(a.readString)}),A=Object(i.makeStructureNS)(u,{Constraint:Object(i.makeObjectPropertyPusher)((function(e,t){var o=e.getAttribute("name");if(!o)return;return Object(i.pushParseAndPop)({name:o},f,e,t)}))}),C=Object(i.makeStructureNS)(u,{IndividualName:Object(i.makeObjectPropertySetter)(a.readString),PositionName:Object(i.makeObjectPropertySetter)(a.readString),ContactInfo:Object(i.makeObjectPropertySetter)((function(e,t){return Object(i.pushParseAndPop)({},m,e,t)}))}),E=Object(i.makeStructureNS)(u,{Abstract:Object(i.makeObjectPropertySetter)(a.readString),AccessConstraints:Object(i.makeObjectPropertySetter)(a.readString),Fees:Object(i.makeObjectPropertySetter)(a.readString),Title:Object(i.makeObjectPropertySetter)(a.readString),ServiceTypeVersion:Object(i.makeObjectPropertySetter)(a.readString),ServiceType:Object(i.makeObjectPropertySetter)(a.readString)}),S=Object(i.makeStructureNS)(u,{ProviderName:Object(i.makeObjectPropertySetter)(a.readString),ProviderSite:Object(i.makeObjectPropertySetter)(s.readHref),ServiceContact:Object(i.makeObjectPropertySetter)((function(e,t){return Object(i.pushParseAndPop)({},C,e,t)}))});t.default=d},"./node_modules/ol/format/Polyline.js":function(e,t,o){"use strict";o.r(t),o.d(t,"encodeDeltas",(function(){return g})),o.d(t,"decodeDeltas",(function(){return y})),o.d(t,"encodeFloats",(function(){return v})),o.d(t,"decodeFloats",(function(){return _})),o.d(t,"encodeSignedIntegers",(function(){return b})),o.d(t,"decodeSignedIntegers",(function(){return A})),o.d(t,"encodeUnsignedIntegers",(function(){return C})),o.d(t,"decodeUnsignedIntegers",(function(){return E})),o.d(t,"encodeUnsignedInteger",(function(){return S}));var r,n=o("./node_modules/ol/Feature.js"),i=o("./node_modules/ol/geom/GeometryLayout.js"),s=o("./node_modules/ol/geom/LineString.js"),a=o("./node_modules/ol/format/TextFeature.js"),l=o("./node_modules/ol/asserts.js"),u=o("./node_modules/ol/geom/flat/flip.js"),c=o("./node_modules/ol/proj.js"),d=o("./node_modules/ol/geom/SimpleGeometry.js"),p=o("./node_modules/ol/geom/flat/inflate.js"),h=o("./node_modules/ol/format/Feature.js"),f=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),m=function(e){function t(t){var o=e.call(this)||this,r=t||{};return o.dataProjection=Object(c.get)("EPSG:4326"),o.factor_=r.factor?r.factor:1e5,o.geometryLayout_=r.geometryLayout?r.geometryLayout:i.default.XY,o}return f(t,e),t.prototype.readFeatureFromText=function(e,t){var o=this.readGeometryFromText(e,t);return new n.default(o)},t.prototype.readFeaturesFromText=function(e,t){return[this.readFeatureFromText(e,t)]},t.prototype.readGeometryFromText=function(e,t){var o=Object(d.getStrideForLayout)(this.geometryLayout_),r=y(e,o,this.factor_);Object(u.flipXY)(r,0,r.length,o,r);var n=Object(p.inflateCoordinates)(r,0,r.length,o),i=new s.default(n,this.geometryLayout_);return Object(h.transformGeometryWithOptions)(i,!1,this.adaptOptions(t))},t.prototype.writeFeatureText=function(e,t){var o=e.getGeometry();return o?this.writeGeometryText(o,t):(Object(l.assert)(!1,40),"")},t.prototype.writeFeaturesText=function(e,t){return this.writeFeatureText(e[0],t)},t.prototype.writeGeometryText=function(e,t){var o=(e=Object(h.transformGeometryWithOptions)(e,!0,this.adaptOptions(t))).getFlatCoordinates(),r=e.getStride();return Object(u.flipXY)(o,0,o.length,r,o),g(o,r,this.factor_)},t}(a.default);function g(e,t,o){var r,n=o||1e5,i=new Array(t);for(r=0;r<t;++r)i[r]=0;for(var s=0,a=e.length;s<a;)for(r=0;r<t;++r,++s){var l=e[s],u=l-i[r];i[r]=l,e[s]=u}return v(e,n)}function y(e,t,o){var r,n=o||1e5,i=new Array(t);for(r=0;r<t;++r)i[r]=0;for(var s=_(e,n),a=0,l=s.length;a<l;)for(r=0;r<t;++r,++a)i[r]+=s[a],s[a]=i[r];return s}function v(e,t){for(var o=t||1e5,r=0,n=e.length;r<n;++r)e[r]=Math.round(e[r]*o);return b(e)}function _(e,t){for(var o=t||1e5,r=A(e),n=0,i=r.length;n<i;++n)r[n]/=o;return r}function b(e){for(var t=0,o=e.length;t<o;++t){var r=e[t];e[t]=r<0?~(r<<1):r<<1}return C(e)}function A(e){for(var t=E(e),o=0,r=t.length;o<r;++o){var n=t[o];t[o]=1&n?~(n>>1):n>>1}return t}function C(e){for(var t="",o=0,r=e.length;o<r;++o)t+=S(e[o]);return t}function E(e){for(var t=[],o=0,r=0,n=0,i=e.length;n<i;++n){var s=e.charCodeAt(n)-63;o|=(31&s)<<r,s<32?(t.push(o),o=0,r=0):r+=5}return t}function S(e){for(var t,o="";e>=32;)t=63+(32|31&e),o+=String.fromCharCode(t),e>>=5;return t=e+63,o+=String.fromCharCode(t)}t.default=m},"./node_modules/ol/format/TextFeature.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/Feature.js"),i=o("./node_modules/ol/format/FormatType.js"),s=o("./node_modules/ol/util.js"),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=function(e){function t(){return e.call(this)||this}return a(t,e),t.prototype.getType=function(){return i.default.TEXT},t.prototype.readFeature=function(e,t){return this.readFeatureFromText(u(e),this.adaptOptions(t))},t.prototype.readFeatureFromText=function(e,t){return Object(s.abstract)()},t.prototype.readFeatures=function(e,t){return this.readFeaturesFromText(u(e),this.adaptOptions(t))},t.prototype.readFeaturesFromText=function(e,t){return Object(s.abstract)()},t.prototype.readGeometry=function(e,t){return this.readGeometryFromText(u(e),this.adaptOptions(t))},t.prototype.readGeometryFromText=function(e,t){return Object(s.abstract)()},t.prototype.readProjection=function(e){return this.readProjectionFromText(u(e))},t.prototype.readProjectionFromText=function(e){return this.dataProjection},t.prototype.writeFeature=function(e,t){return this.writeFeatureText(e,this.adaptOptions(t))},t.prototype.writeFeatureText=function(e,t){return Object(s.abstract)()},t.prototype.writeFeatures=function(e,t){return this.writeFeaturesText(e,this.adaptOptions(t))},t.prototype.writeFeaturesText=function(e,t){return Object(s.abstract)()},t.prototype.writeGeometry=function(e,t){return this.writeGeometryText(e,this.adaptOptions(t))},t.prototype.writeGeometryText=function(e,t){return Object(s.abstract)()},t}(n.default);function u(e){return"string"==typeof e?e:""}t.default=l},"./node_modules/ol/format/TopoJSON.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/Feature.js"),i=o("./node_modules/ol/format/JSONFeature.js"),s=o("./node_modules/ol/geom/LineString.js"),a=o("./node_modules/ol/geom/MultiLineString.js"),l=o("./node_modules/ol/geom/MultiPoint.js"),u=o("./node_modules/ol/geom/MultiPolygon.js"),c=o("./node_modules/ol/geom/Point.js"),d=o("./node_modules/ol/geom/Polygon.js"),p=o("./node_modules/ol/proj.js"),h=o("./node_modules/ol/format/Feature.js"),f=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),m=function(e){function t(t){var o=e.call(this)||this,r=t||{};return o.layerName_=r.layerName,o.layers_=r.layers?r.layers:null,o.dataProjection=Object(p.get)(r.dataProjection?r.dataProjection:"EPSG:4326"),o}return f(t,e),t.prototype.readFeaturesFromObject=function(e,t){if("Topology"==e.type){var o=e,r=void 0,n=null,i=null;o.transform&&(n=(r=o.transform).scale,i=r.translate);var s=o.arcs;r&&function(e,t,o){for(var r=0,n=e.length;r<n;++r)b(e[r],t,o)}(s,n,i);var a=[],l=o.objects,u=this.layerName_,c=void 0;for(var d in l)this.layers_&&-1==this.layers_.indexOf(d)||("GeometryCollection"===l[d].type?(c=l[d],a.push.apply(a,v(c,s,n,i,u,d,t))):(c=l[d],a.push(_(c,s,n,i,u,d,t))));return a}return[]},t.prototype.readProjectionFromObject=function(e){return this.dataProjection},t}(i.default),g={Point:function(e,t,o){var r=e.coordinates;t&&o&&A(r,t,o);return new c.default(r)},LineString:function(e,t){var o=y(e.arcs,t);return new s.default(o)},Polygon:function(e,t){for(var o=[],r=0,n=e.arcs.length;r<n;++r)o[r]=y(e.arcs[r],t);return new d.default(o)},MultiPoint:function(e,t,o){var r=e.coordinates;if(t&&o)for(var n=0,i=r.length;n<i;++n)A(r[n],t,o);return new l.default(r)},MultiLineString:function(e,t){for(var o=[],r=0,n=e.arcs.length;r<n;++r)o[r]=y(e.arcs[r],t);return new a.default(o)},MultiPolygon:function(e,t){for(var o=[],r=0,n=e.arcs.length;r<n;++r){for(var i=e.arcs[r],s=[],a=0,l=i.length;a<l;++a)s[a]=y(i[a],t);o[r]=s}return new u.default(o)}};function y(e,t){for(var o,r,n=[],i=0,s=e.length;i<s;++i)o=e[i],i>0&&n.pop(),r=o>=0?t[o]:t[~o].slice().reverse(),n.push.apply(n,r);for(var a=0,l=n.length;a<l;++a)n[a]=n[a].slice();return n}function v(e,t,o,r,n,i,s){for(var a=e.geometries,l=[],u=0,c=a.length;u<c;++u)l[u]=_(a[u],t,o,r,n,i,s);return l}function _(e,t,o,r,i,s,a){var l=null,u=e.type;if(u){var c=g[u];l="Point"===u||"MultiPoint"===u?c(e,o,r):c(e,t),l=Object(h.transformGeometryWithOptions)(l,!1,a)}var d=new n.default({geometry:l});void 0!==e.id&&d.setId(e.id);var p=e.properties;return i&&(p||(p={}),p[i]=s),p&&d.setProperties(p,!0),d}function b(e,t,o){for(var r=0,n=0,i=0,s=e.length;i<s;++i){var a=e[i];r+=a[0],n+=a[1],a[0]=r,a[1]=n,A(a,t,o)}}function A(e,t,o){e[0]=e[0]*t[0]+o[0],e[1]=e[1]*t[1]+o[1]}t.default=m},"./node_modules/ol/format/WFS.js":function(e,t,o){"use strict";o.r(t),o.d(t,"writeFilter",(function(){return ie}));var r,n=o("./node_modules/ol/format/GML2.js"),i=o("./node_modules/ol/format/GML3.js"),s=o("./node_modules/ol/format/GML32.js"),a=o("./node_modules/ol/format/GMLBase.js"),l=o("./node_modules/ol/format/XMLFeature.js"),u=o("./node_modules/ol/xml.js"),c=o("./node_modules/ol/format/filter.js"),d=o("./node_modules/ol/asserts.js"),p=o("./node_modules/ol/obj.js"),h=o("./node_modules/ol/proj.js"),f=o("./node_modules/ol/format/xsd.js"),m=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),g={"http://www.opengis.net/gml":{boundedBy:Object(u.makeObjectPropertySetter)(a.default.prototype.readGeometryElement,"bounds")},"http://www.opengis.net/wfs/2.0":{member:Object(u.makeArrayPusher)(a.default.prototype.readFeaturesInternal)}},y={"http://www.opengis.net/wfs":{totalInserted:Object(u.makeObjectPropertySetter)(f.readPositiveInteger),totalUpdated:Object(u.makeObjectPropertySetter)(f.readPositiveInteger),totalDeleted:Object(u.makeObjectPropertySetter)(f.readPositiveInteger)},"http://www.opengis.net/wfs/2.0":{totalInserted:Object(u.makeObjectPropertySetter)(f.readPositiveInteger),totalUpdated:Object(u.makeObjectPropertySetter)(f.readPositiveInteger),totalDeleted:Object(u.makeObjectPropertySetter)(f.readPositiveInteger)}},v={"http://www.opengis.net/wfs":{TransactionSummary:Object(u.makeObjectPropertySetter)(T,"transactionSummary"),InsertResults:Object(u.makeObjectPropertySetter)(L,"insertIds")},"http://www.opengis.net/wfs/2.0":{TransactionSummary:Object(u.makeObjectPropertySetter)(T,"transactionSummary"),InsertResults:Object(u.makeObjectPropertySetter)(L,"insertIds")}},_={"http://www.opengis.net/wfs":{PropertyName:Object(u.makeChildAppender)(f.writeStringTextNode)},"http://www.opengis.net/wfs/2.0":{PropertyName:Object(u.makeChildAppender)(f.writeStringTextNode)}},b={"http://www.opengis.net/wfs":{Insert:Object(u.makeChildAppender)(k),Update:Object(u.makeChildAppender)(F),Delete:Object(u.makeChildAppender)(G),Property:Object(u.makeChildAppender)(U),Native:Object(u.makeChildAppender)(B)},"http://www.opengis.net/wfs/2.0":{Insert:Object(u.makeChildAppender)(k),Update:Object(u.makeChildAppender)(F),Delete:Object(u.makeChildAppender)(G),Property:Object(u.makeChildAppender)(U),Native:Object(u.makeChildAppender)(B)}},A="feature",C="http://www.w3.org/2000/xmlns/",E={"2.0.0":"http://www.opengis.net/ogc/1.1","1.1.0":"http://www.opengis.net/ogc","1.0.0":"http://www.opengis.net/ogc"},S={"2.0.0":"http://www.opengis.net/wfs/2.0","1.1.0":"http://www.opengis.net/wfs","1.0.0":"http://www.opengis.net/wfs"},w={"2.0.0":"http://www.opengis.net/fes/2.0","1.1.0":"http://www.opengis.net/fes","1.0.0":"http://www.opengis.net/fes"},O={"2.0.0":"http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd","1.1.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd","1.0.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/wfs.xsd"},I={"2.0.0":s.default,"1.1.0":i.default,"1.0.0":n.default},x=function(e){function t(t){var o=e.call(this)||this,r=t||{};return o.version_=r.version?r.version:"1.1.0",o.featureType_=r.featureType,o.featureNS_=r.featureNS,o.gmlFormat_=r.gmlFormat?r.gmlFormat:new I[o.version_],o.schemaLocation_=r.schemaLocation?r.schemaLocation:O[o.version_],o}return m(t,e),t.prototype.getFeatureType=function(){return this.featureType_},t.prototype.setFeatureType=function(e){this.featureType_=e},t.prototype.readFeaturesFromNode=function(e,t){var o={node:e};Object(p.assign)(o,{featureType:this.featureType_,featureNS:this.featureNS_}),Object(p.assign)(o,this.getReadOptions(e,t||{}));var r,n=[o];r="2.0.0"===this.version_?g:this.gmlFormat_.FEATURE_COLLECTION_PARSERS;var i=Object(u.pushParseAndPop)([],r,e,n,this.gmlFormat_);return i||(i=[]),i},t.prototype.readTransactionResponse=function(e){if(e){if("string"==typeof e){var t=Object(u.parse)(e);return this.readTransactionResponseFromDocument(t)}return Object(u.isDocument)(e)?this.readTransactionResponseFromDocument(e):this.readTransactionResponseFromNode(e)}},t.prototype.readFeatureCollectionMetadata=function(e){if(e){if("string"==typeof e){var t=Object(u.parse)(e);return this.readFeatureCollectionMetadataFromDocument(t)}return Object(u.isDocument)(e)?this.readFeatureCollectionMetadataFromDocument(e):this.readFeatureCollectionMetadataFromNode(e)}},t.prototype.readFeatureCollectionMetadataFromDocument=function(e){for(var t=e.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.readFeatureCollectionMetadataFromNode(t)},t.prototype.readFeatureCollectionMetadataFromNode=function(e){var t={},o=Object(f.readNonNegativeIntegerString)(e.getAttribute("numberOfFeatures"));return t.numberOfFeatures=o,Object(u.pushParseAndPop)(t,g,e,[],this.gmlFormat_)},t.prototype.readTransactionResponseFromDocument=function(e){for(var t=e.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.readTransactionResponseFromNode(t)},t.prototype.readTransactionResponseFromNode=function(e){return Object(u.pushParseAndPop)({},v,e,[])},t.prototype.writeGetFeature=function(e){var t=this,o=Object(u.createElementNS)(S[this.version_],"GetFeature");o.setAttribute("service","WFS"),o.setAttribute("version",this.version_),e.handle&&o.setAttribute("handle",e.handle),e.outputFormat&&o.setAttribute("outputFormat",e.outputFormat),void 0!==e.maxFeatures&&o.setAttribute("maxFeatures",String(e.maxFeatures)),e.resultType&&o.setAttribute("resultType",e.resultType),void 0!==e.startIndex&&o.setAttribute("startIndex",String(e.startIndex)),void 0!==e.count&&o.setAttribute("count",String(e.count)),void 0!==e.viewParams&&o.setAttribute("viewParams",e.viewParams),o.setAttributeNS(u.XML_SCHEMA_INSTANCE_URI,"xsi:schemaLocation",this.schemaLocation_);var r={node:o};if(Object(p.assign)(r,{version:this.version_,srsName:e.srsName,featureNS:e.featureNS?e.featureNS:this.featureNS_,featurePrefix:e.featurePrefix,propertyNames:e.propertyNames?e.propertyNames:[]}),Object(d.assert)(Array.isArray(e.featureTypes),11),"string"==typeof e.featureTypes[0]){var n=e.filter;e.bbox&&(Object(d.assert)(e.geometryName,12),n=this.combineBboxAndFilter(e.geometryName,e.bbox,e.srsName,n)),Object(p.assign)(r,{geometryName:e.geometryName,filter:n}),se(o,e.featureTypes,[r])}else e.featureTypes.forEach((function(n){var i=t.combineBboxAndFilter(n.geometryName,n.bbox,e.srsName,e.filter);Object(p.assign)(r,{geometryName:n.geometryName,filter:i}),se(o,[n.name],[r])}));return o},t.prototype.combineBboxAndFilter=function(e,t,o,r){var n=Object(c.bbox)(e,t,o);return r?Object(c.and)(r,n):n},t.prototype.writeTransaction=function(e,t,o,r){var n,i=[],s=r.version?r.version:this.version_,a=Object(u.createElementNS)(S[s],"Transaction");a.setAttribute("service","WFS"),a.setAttribute("version",s),r&&(n=r.gmlOptions?r.gmlOptions:{},r.handle&&a.setAttribute("handle",r.handle)),a.setAttributeNS(u.XML_SCHEMA_INSTANCE_URI,"xsi:schemaLocation",O[s]);var l=function(e,t,o,r){var n,i=r.featurePrefix?r.featurePrefix:A;"1.0.0"===o?n=2:"1.1.0"===o?n=3:"2.0.0"===o&&(n=3.2);var s=Object(p.assign)({node:e},{version:o,featureNS:r.featureNS,featureType:r.featureType,featurePrefix:i,gmlVersion:n,hasZ:r.hasZ,srsName:r.srsName},t);return s}(a,n,s,r);return e&&j("Insert",e,i,l),t&&j("Update",t,i,l),o&&j("Delete",o,i,l),r.nativeElements&&j("Native",r.nativeElements,i,l),a},t.prototype.readProjectionFromDocument=function(e){for(var t=e.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.readProjectionFromNode(t);return null},t.prototype.readProjectionFromNode=function(e){if(e.firstElementChild&&e.firstElementChild.firstElementChild)for(var t=(e=e.firstElementChild.firstElementChild).firstElementChild;t;t=t.nextElementSibling)if(0!==t.childNodes.length&&(1!==t.childNodes.length||3!==t.firstChild.nodeType)){var o=[{}];return this.gmlFormat_.readGeometryElement(t,o),Object(h.get)(o.pop().srsName)}return null},t}(l.default);function j(e,t,o,r){Object(u.pushSerializeAndPop)(r,b,Object(u.makeSimpleNodeFactory)(e),t,o)}function T(e,t){return Object(u.pushParseAndPop)({},y,e,t)}var P={"http://www.opengis.net/ogc":{FeatureId:Object(u.makeArrayPusher)((function(e,t){return e.getAttribute("fid")}))},"http://www.opengis.net/ogc/1.1":{FeatureId:Object(u.makeArrayPusher)((function(e,t){return e.getAttribute("fid")}))}};function M(e,t){Object(u.parseNode)(P,e,t)}var R={"http://www.opengis.net/wfs":{Feature:M},"http://www.opengis.net/wfs/2.0":{Feature:M}};function L(e,t){return Object(u.pushParseAndPop)([],R,e,t)}function k(e,t,o){var r=o[o.length-1],a=r.featureType,l=r.featureNS,c=r.gmlVersion,d=Object(u.createElementNS)(l,a);e.appendChild(d),2===c?n.default.prototype.writeFeatureElement(d,t,o):3===c?i.default.prototype.writeFeatureElement(d,t,o):s.default.prototype.writeFeatureElement(d,t,o)}function N(e,t,o){var r=o[o.length-1].version,n=E[r],i=Object(u.createElementNS)(n,"Filter"),s=Object(u.createElementNS)(n,"FeatureId");i.appendChild(s),s.setAttribute("fid",t),e.appendChild(i)}function D(e,t){var o=(e=e||A)+":";return 0===t.indexOf(o)?t:o+t}function G(e,t,o){var r=o[o.length-1];Object(d.assert)(void 0!==t.getId(),26);var n=r.featureType,i=r.featurePrefix,s=r.featureNS,a=D(i,n);e.setAttribute("typeName",a),e.setAttributeNS(C,"xmlns:"+i,s);var l=t.getId();void 0!==l&&N(e,l,o)}function F(e,t,o){var r=o[o.length-1];Object(d.assert)(void 0!==t.getId(),27);var n=r.version,i=r.featureType,s=r.featurePrefix,a=r.featureNS,l=D(s,i),c=t.getGeometryName();e.setAttribute("typeName",l),e.setAttributeNS(C,"xmlns:"+s,a);var p=t.getId();if(void 0!==p){for(var h=t.getKeys(),f=[],m=0,g=h.length;m<g;m++){var y=t.get(h[m]);if(void 0!==y){var v=h[m];y&&"function"==typeof y.getSimplifiedGeometry&&(v=c),f.push({name:v,value:y})}}Object(u.pushSerializeAndPop)({version:n,gmlVersion:r.gmlVersion,node:e,hasZ:r.hasZ,srsName:r.srsName},b,Object(u.makeSimpleNodeFactory)("Property"),f,o),N(e,p,o)}}function U(e,t,o){var r=o[o.length-1],a=r.version,l=S[a],c=Object(u.createElementNS)(l,"Name"),d=r.gmlVersion;if(e.appendChild(c),Object(f.writeStringTextNode)(c,t.name),void 0!==t.value&&null!==t.value){var p=Object(u.createElementNS)(l,"Value");e.appendChild(p),t.value&&"function"==typeof t.value.getSimplifiedGeometry?2===d?n.default.prototype.writeGeometryElement(p,t.value,o):3===d?i.default.prototype.writeGeometryElement(p,t.value,o):s.default.prototype.writeGeometryElement(p,t.value,o):Object(f.writeStringTextNode)(p,t.value)}}function B(e,t,o){t.vendorId&&e.setAttribute("vendorId",t.vendorId),void 0!==t.safeToIgnore&&e.setAttribute("safeToIgnore",String(t.safeToIgnore)),void 0!==t.value&&Object(f.writeStringTextNode)(e,t.value)}var z={"http://www.opengis.net/wfs":{Query:Object(u.makeChildAppender)(V)},"http://www.opengis.net/wfs/2.0":{Query:Object(u.makeChildAppender)(V)},"http://www.opengis.net/ogc":{During:Object(u.makeChildAppender)(X),And:Object(u.makeChildAppender)(Z),Or:Object(u.makeChildAppender)(Z),Not:Object(u.makeChildAppender)(K),BBOX:Object(u.makeChildAppender)(q),Contains:Object(u.makeChildAppender)(Y),Intersects:Object(u.makeChildAppender)(Y),Within:Object(u.makeChildAppender)(Y),DWithin:Object(u.makeChildAppender)(H),PropertyIsEqualTo:Object(u.makeChildAppender)(J),PropertyIsNotEqualTo:Object(u.makeChildAppender)(J),PropertyIsLessThan:Object(u.makeChildAppender)(J),PropertyIsLessThanOrEqualTo:Object(u.makeChildAppender)(J),PropertyIsGreaterThan:Object(u.makeChildAppender)(J),PropertyIsGreaterThanOrEqualTo:Object(u.makeChildAppender)(J),PropertyIsNull:Object(u.makeChildAppender)(Q),PropertyIsBetween:Object(u.makeChildAppender)($),PropertyIsLike:Object(u.makeChildAppender)(ee)},"http://www.opengis.net/fes/2.0":{During:Object(u.makeChildAppender)(X),And:Object(u.makeChildAppender)(Z),Or:Object(u.makeChildAppender)(Z),Not:Object(u.makeChildAppender)(K),BBOX:Object(u.makeChildAppender)(q),Contains:Object(u.makeChildAppender)(Y),Disjoint:Object(u.makeChildAppender)(Y),Intersects:Object(u.makeChildAppender)(Y),ResourceId:Object(u.makeChildAppender)((function(e,t,o){e.setAttribute("rid",t.rid)})),Within:Object(u.makeChildAppender)(Y),DWithin:Object(u.makeChildAppender)(H),PropertyIsEqualTo:Object(u.makeChildAppender)(J),PropertyIsNotEqualTo:Object(u.makeChildAppender)(J),PropertyIsLessThan:Object(u.makeChildAppender)(J),PropertyIsLessThanOrEqualTo:Object(u.makeChildAppender)(J),PropertyIsGreaterThan:Object(u.makeChildAppender)(J),PropertyIsGreaterThanOrEqualTo:Object(u.makeChildAppender)(J),PropertyIsNull:Object(u.makeChildAppender)(Q),PropertyIsBetween:Object(u.makeChildAppender)($),PropertyIsLike:Object(u.makeChildAppender)(ee)}};function V(e,t,o){var r,n,i=o[o.length-1],s=i.version,a=i.featurePrefix,l=i.featureNS,c=i.propertyNames,d=i.srsName;r=a?D(a,t):t,n="2.0.0"===s?"typeNames":"typeName",e.setAttribute(n,r),d&&e.setAttribute("srsName",d),l&&e.setAttributeNS(C,"xmlns:"+a,l);var h=Object(p.assign)({},i);h.node=e,Object(u.pushSerializeAndPop)(h,_,Object(u.makeSimpleNodeFactory)("PropertyName"),c,o);var f=i.filter;if(f){var m=Object(u.createElementNS)(ae(s),"Filter");e.appendChild(m),W(m,f,o)}}function W(e,t,o){var r=o[o.length-1],n={node:e};Object(p.assign)(n,{context:r}),Object(u.pushSerializeAndPop)(n,z,Object(u.makeSimpleNodeFactory)(t.getTagName()),[t],o)}function q(e,t,o){var r=o[o.length-1],n=r.context.version;r.srsName=t.srsName;var i=I[n];re(n,e,t.geometryName),i.prototype.writeGeometryElement(e,t.extent,o)}function Y(e,t,o){var r=o[o.length-1],n=r.context.version;r.srsName=t.srsName;var i=I[n];re(n,e,t.geometryName),i.prototype.writeGeometryElement(e,t.geometry,o)}function H(e,t,o){var r=o[o.length-1].context.version;Y(e,t,o);var n=Object(u.createElementNS)(ae(r),"Distance");Object(f.writeStringTextNode)(n,t.distance.toString()),"2.0.0"===r?n.setAttribute("uom",t.unit):n.setAttribute("units",t.unit),e.appendChild(n)}function X(e,t,o){var r=o[o.length-1].context.version;te(w[r],"ValueReference",e,t.propertyName);var n=Object(u.createElementNS)(a.GMLNS,"TimePeriod");e.appendChild(n);var i=Object(u.createElementNS)(a.GMLNS,"begin");n.appendChild(i),ne(i,t.begin);var s=Object(u.createElementNS)(a.GMLNS,"end");n.appendChild(s),ne(s,t.end)}function Z(e,t,o){var r=o[o.length-1].context,n={node:e};Object(p.assign)(n,{context:r});for(var i=t.conditions,s=0,a=i.length;s<a;++s){var l=i[s];Object(u.pushSerializeAndPop)(n,z,Object(u.makeSimpleNodeFactory)(l.getTagName()),[l],o)}}function K(e,t,o){var r=o[o.length-1].context,n={node:e};Object(p.assign)(n,{context:r});var i=t.condition;Object(u.pushSerializeAndPop)(n,z,Object(u.makeSimpleNodeFactory)(i.getTagName()),[i],o)}function J(e,t,o){var r=o[o.length-1].context.version;void 0!==t.matchCase&&e.setAttribute("matchCase",t.matchCase.toString()),re(r,e,t.propertyName),oe(r,e,""+t.expression)}function Q(e,t,o){re(o[o.length-1].context.version,e,t.propertyName)}function $(e,t,o){var r=o[o.length-1].context.version,n=ae(r);re(r,e,t.propertyName);var i=Object(u.createElementNS)(n,"LowerBoundary");e.appendChild(i),oe(r,i,""+t.lowerBoundary);var s=Object(u.createElementNS)(n,"UpperBoundary");e.appendChild(s),oe(r,s,""+t.upperBoundary)}function ee(e,t,o){var r=o[o.length-1].context.version;e.setAttribute("wildCard",t.wildCard),e.setAttribute("singleChar",t.singleChar),e.setAttribute("escapeChar",t.escapeChar),void 0!==t.matchCase&&e.setAttribute("matchCase",t.matchCase.toString()),re(r,e,t.propertyName),oe(r,e,""+t.pattern)}function te(e,t,o,r){var n=Object(u.createElementNS)(e,t);Object(f.writeStringTextNode)(n,r),o.appendChild(n)}function oe(e,t,o){te(ae(e),"Literal",t,o)}function re(e,t,o){"2.0.0"===e?te(w[e],"ValueReference",t,o):te(E[e],"PropertyName",t,o)}function ne(e,t){var o=Object(u.createElementNS)(a.GMLNS,"TimeInstant");e.appendChild(o);var r=Object(u.createElementNS)(a.GMLNS,"timePosition");o.appendChild(r),Object(f.writeStringTextNode)(r,t)}function ie(e,t){var o=t||"1.1.0",r=Object(u.createElementNS)(ae(o),"Filter"),n={node:r};return Object(p.assign)(n,{version:o,filter:e}),W(r,e,[n]),r}function se(e,t,o){var r=o[o.length-1],n=Object(p.assign)({},r);n.node=e,Object(u.pushSerializeAndPop)(n,z,Object(u.makeSimpleNodeFactory)("Query"),t,o)}function ae(e){return"2.0.0"===e?w[e]:E[e]}t.default=x},"./node_modules/ol/format/WKB.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/Feature.js"),i=o("./node_modules/ol/format/Feature.js"),s=o("./node_modules/ol/format/FormatType.js"),a=o("./node_modules/ol/geom/GeometryCollection.js"),l=o("./node_modules/ol/geom/GeometryLayout.js"),u=o("./node_modules/ol/geom/GeometryType.js"),c=o("./node_modules/ol/geom/LineString.js"),d=o("./node_modules/ol/geom/MultiLineString.js"),p=o("./node_modules/ol/geom/MultiPoint.js"),h=o("./node_modules/ol/geom/MultiPolygon.js"),f=o("./node_modules/ol/geom/Point.js"),m=o("./node_modules/ol/geom/Polygon.js"),g=o("./node_modules/ol/proj.js"),y=o("./node_modules/ol/geom/SimpleGeometry.js"),v=o("./node_modules/ol/obj.js"),_=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),b=1,A=2,C=3,E=4,S=5,w=6,O=7,I=15,x=16,j=17,T=function(){function e(e){this.view_=e,this.pos_=0,this.initialized_=!1,this.isLittleEndian_=!1,this.hasZ_=!1,this.hasM_=!1,this.srid_=null,this.layout_=l.default.XY}return e.prototype.readUint8=function(){return this.view_.getUint8(this.pos_++)},e.prototype.readUint32=function(e){return this.view_.getUint32((this.pos_+=4)-4,void 0!==e?e:this.isLittleEndian_)},e.prototype.readDouble=function(e){return this.view_.getFloat64((this.pos_+=8)-8,void 0!==e?e:this.isLittleEndian_)},e.prototype.readPoint=function(){var e=[];return e.push(this.readDouble()),e.push(this.readDouble()),this.hasZ_&&e.push(this.readDouble()),this.hasM_&&e.push(this.readDouble()),e},e.prototype.readLineString=function(){for(var e=this.readUint32(),t=[],o=0;o<e;o++)t.push(this.readPoint());return t},e.prototype.readPolygon=function(){for(var e=this.readUint32(),t=[],o=0;o<e;o++)t.push(this.readLineString());return t},e.prototype.readWkbHeader=function(e){var t=this.readUint8()>0,o=this.readUint32(t),r=Math.floor((268435455&o)/1e3),n=Boolean(2147483648&o)||1===r||3===r,i=Boolean(1073741824&o)||2===r||3===r,s=Boolean(536870912&o),a=(268435455&o)%1e3,l=["XY",n?"Z":"",i?"M":""].join(""),u=s?this.readUint32(t):null;if(void 0!==e&&e!==a)throw new Error("Unexpected WKB geometry type "+a);if(this.initialized_){if(this.isLittleEndian_!==t)throw new Error("Inconsistent endian");if(this.layout_!==l)throw new Error("Inconsistent geometry layout");if(u&&this.srid_!==u)throw new Error("Inconsistent coordinate system (SRID)")}else this.isLittleEndian_=t,this.hasZ_=n,this.hasM_=i,this.layout_=l,this.srid_=u,this.initialized_=!0;return a},e.prototype.readWkbPayload=function(e){switch(e){case b:return this.readPoint();case A:return this.readLineString();case C:case j:return this.readPolygon();case E:return this.readMultiPoint();case S:return this.readMultiLineString();case w:case I:case x:return this.readMultiPolygon();case O:return this.readGeometryCollection();default:throw new Error("Unsupported WKB geometry type "+e+" is found")}},e.prototype.readWkbBlock=function(e){return this.readWkbPayload(this.readWkbHeader(e))},e.prototype.readWkbCollection=function(e,t){for(var o=this.readUint32(),r=[],n=0;n<o;n++){var i=e.call(this,t);i&&r.push(i)}return r},e.prototype.readMultiPoint=function(){return this.readWkbCollection(this.readWkbBlock,b)},e.prototype.readMultiLineString=function(){return this.readWkbCollection(this.readWkbBlock,A)},e.prototype.readMultiPolygon=function(){return this.readWkbCollection(this.readWkbBlock,C)},e.prototype.readGeometryCollection=function(){return this.readWkbCollection(this.readGeometry)},e.prototype.readGeometry=function(){var e=this.readWkbHeader(),t=this.readWkbPayload(e);switch(e){case b:return new f.default(t,this.layout_);case A:return new c.default(t,this.layout_);case C:case j:return new m.default(t,this.layout_);case E:return new p.default(t,this.layout_);case S:return new d.default(t,this.layout_);case w:case I:case x:return new h.default(t,this.layout_);case O:return new a.default(t);default:return null}},e.prototype.getSrid=function(){return this.srid_},e}(),P=function(){function e(e){e=e||{},this.layout_=e.layout,this.isLittleEndian_=!1!==e.littleEndian,this.isEWKB_=!1!==e.ewkb,this.writeQueue_=[],this.nodata_=Object(v.assign)({X:0,Y:0,Z:0,M:0},e.nodata)}return e.prototype.writeUint8=function(e){this.writeQueue_.push([1,e])},e.prototype.writeUint32=function(e){this.writeQueue_.push([4,e])},e.prototype.writeDouble=function(e){this.writeQueue_.push([8,e])},e.prototype.writePoint=function(e,t){for(var o=v.assign.apply(null,t.split("").map((function(t,o){var r;return(r={})[t]=e[o],r}))),r=0,n=this.layout_;r<n.length;r++){var i=n[r];this.writeDouble(i in o?o[i]:this.nodata_[i])}},e.prototype.writeLineString=function(e,t){this.writeUint32(e.length);for(var o=0;o<e.length;o++)this.writePoint(e[o],t)},e.prototype.writePolygon=function(e,t){this.writeUint32(e.length);for(var o=0;o<e.length;o++)this.writeLineString(e[o],t)},e.prototype.writeWkbHeader=function(e,t){e%=1e3,this.layout_.indexOf("Z")>=0&&(e+=this.isEWKB_?2147483648:1e3),this.layout_.indexOf("M")>=0&&(e+=this.isEWKB_?1073741824:2e3),this.isEWKB_&&Number.isInteger(t)&&(e|=536870912),this.writeUint8(this.isLittleEndian_?1:0),this.writeUint32(e),this.isEWKB_&&Number.isInteger(t)&&this.writeUint32(t)},e.prototype.writeMultiPoint=function(e,t){this.writeUint32(e.length);for(var o=0;o<e.length;o++)this.writeWkbHeader(1),this.writePoint(e[o],t)},e.prototype.writeMultiLineString=function(e,t){this.writeUint32(e.length);for(var o=0;o<e.length;o++)this.writeWkbHeader(2),this.writeLineString(e[o],t)},e.prototype.writeMultiPolygon=function(e,t){this.writeUint32(e.length);for(var o=0;o<e.length;o++)this.writeWkbHeader(3),this.writePolygon(e[o],t)},e.prototype.writeGeometryCollection=function(e){this.writeUint32(e.length);for(var t=0;t<e.length;t++)this.writeGeometry(e[t])},e.prototype.findMinimumLayout=function(e,t){void 0===t&&(t=l.default.XYZM);var o,r;if(e instanceof y.default)return(o=e.getLayout())===(r=t)?o:o===l.default.XYZM?r:r===l.default.XYZM?o:l.default.XY;if(e instanceof a.default)for(var n=e.getGeometriesArray(),i=0;i<n.length&&t!==l.default.XY;i++)t=this.findMinimumLayout(n[i],t);return t},e.prototype.writeGeometry=function(e,t){var o,r,n=((o={})[u.default.POINT]=b,o[u.default.LINE_STRING]=A,o[u.default.POLYGON]=C,o[u.default.MULTI_POINT]=E,o[u.default.MULTI_LINE_STRING]=S,o[u.default.MULTI_POLYGON]=w,o[u.default.GEOMETRY_COLLECTION]=O,o),i=e.getType(),s=n[i];if(!s)throw new Error("GeometryType "+i+" is not supported");(this.layout_||(this.layout_=this.findMinimumLayout(e)),this.writeWkbHeader(s,t),e instanceof y.default)?((r={})[u.default.POINT]=this.writePoint,r[u.default.LINE_STRING]=this.writeLineString,r[u.default.POLYGON]=this.writePolygon,r[u.default.MULTI_POINT]=this.writeMultiPoint,r[u.default.MULTI_LINE_STRING]=this.writeMultiLineString,r[u.default.MULTI_POLYGON]=this.writeMultiPolygon,r)[i].call(this,e.getCoordinates(),e.getLayout()):e instanceof a.default&&this.writeGeometryCollection(e.getGeometriesArray())},e.prototype.getBuffer=function(){var e=this,t=this.writeQueue_.reduce((function(e,t){return e+t[0]}),0),o=new ArrayBuffer(t),r=new DataView(o),n=0;return this.writeQueue_.forEach((function(t){switch(t[0]){case 1:r.setUint8(n,t[1]);break;case 4:r.setUint32(n,t[1],e.isLittleEndian_);break;case 8:r.setFloat64(n,t[1],e.isLittleEndian_)}n+=t[0]})),o},e}(),M=function(e){function t(t){var o=e.call(this)||this,r=t||{};return o.splitCollection=Boolean(r.splitCollection),o.viewCache_=null,o.hex_=!1!==r.hex,o.littleEndian_=!1!==r.littleEndian,o.ewkb_=!1!==r.ewkb,o.layout_=r.geometryLayout,o.nodataZ_=r.nodataZ||0,o.nodataM_=r.nodataM||0,o.srid_=r.srid,o}return _(t,e),t.prototype.getType=function(){return this.hex_?s.default.TEXT:s.default.ARRAY_BUFFER},t.prototype.readFeature=function(e,t){return new n.default({geometry:this.readGeometry(e,t)})},t.prototype.readFeatures=function(e,t){var o=this.readGeometry(e,t);return(this.splitCollection&&o instanceof a.default?o.getGeometriesArray():[o]).map((function(e){return new n.default({geometry:e})}))},t.prototype.readGeometry=function(e,t){var o=R(e);if(!o)return null;var r=new T(o).readGeometry();this.viewCache_=o;var n=this.getReadOptions(e,t);return this.viewCache_=null,Object(i.transformGeometryWithOptions)(r,!1,n)},t.prototype.readProjection=function(e){var t=this.viewCache_||R(e);if(t){var o=new T(t);return o.readWkbHeader(),o.getSrid()&&Object(g.get)("EPSG:"+o.getSrid())||void 0}},t.prototype.writeFeature=function(e,t){return this.writeGeometry(e.getGeometry(),t)},t.prototype.writeFeatures=function(e,t){return this.writeGeometry(new a.default(e.map((function(e){return e.getGeometry()}))),t)},t.prototype.writeGeometry=function(e,t){var o=this.adaptOptions(t),r=new P({layout:this.layout_,littleEndian:this.littleEndian_,ewkb:this.ewkb_,nodata:{Z:this.nodataZ_,M:this.nodataM_}}),n=Number.isInteger(this.srid_)?Number(this.srid_):null;if(!1!==this.srid_&&!Number.isInteger(this.srid_)){var s=o.dataProjection&&Object(g.get)(o.dataProjection);if(s){var a=s.getCode();0===a.indexOf("EPSG:")&&(n=Number(a.substring(5)))}}r.writeGeometry(Object(i.transformGeometryWithOptions)(e,!0,o),n);var l=r.getBuffer();return this.hex_?function(e){var t=new Uint8Array(e);return Array.from(t.values()).map((function(e){return(e<16?"0":"")+Number(e).toString(16).toUpperCase()})).join("")}(l):l},t}(i.default);function R(e){return"string"==typeof e?function(e){for(var t=new Uint8Array(e.length/2),o=0;o<e.length/2;o++)t[o]=parseInt(e.substr(2*o,2),16);return new DataView(t.buffer)}(e):ArrayBuffer.isView(e)?e instanceof DataView?e:new DataView(e.buffer,e.byteOffset,e.byteLength):e instanceof ArrayBuffer?new DataView(e):null}t.default=M},"./node_modules/ol/format/WKT.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/Feature.js"),i=o("./node_modules/ol/geom/GeometryCollection.js"),s=o("./node_modules/ol/geom/GeometryLayout.js"),a=o("./node_modules/ol/geom/GeometryType.js"),l=o("./node_modules/ol/geom/LineString.js"),u=o("./node_modules/ol/geom/MultiLineString.js"),c=o("./node_modules/ol/geom/MultiPoint.js"),d=o("./node_modules/ol/geom/MultiPolygon.js"),p=o("./node_modules/ol/geom/Point.js"),h=o("./node_modules/ol/geom/Polygon.js"),f=o("./node_modules/ol/format/TextFeature.js"),m=o("./node_modules/ol/format/Feature.js"),g=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),y={POINT:p.default,LINESTRING:l.default,POLYGON:h.default,MULTIPOINT:c.default,MULTILINESTRING:u.default,MULTIPOLYGON:d.default},v="EMPTY",_=0,b=1,A=2,C=3,E=4,S=5,w=6,O={};for(var I in a.default)O[I]=a.default[I].toUpperCase();var x=function(){function e(e){this.wkt=e,this.index_=-1}return e.prototype.isAlpha_=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"},e.prototype.isNumeric_=function(e,t){return e>="0"&&e<="9"||"."==e&&!(void 0!==t&&t)},e.prototype.isWhiteSpace_=function(e){return" "==e||"\t"==e||"\r"==e||"\n"==e},e.prototype.nextChar_=function(){return this.wkt.charAt(++this.index_)},e.prototype.nextToken=function(){var e,t=this.nextChar_(),o=this.index_,r=t;if("("==t)e=A;else if(","==t)e=S;else if(")"==t)e=C;else if(this.isNumeric_(t)||"-"==t)e=E,r=this.readNumber_();else if(this.isAlpha_(t))e=b,r=this.readText_();else{if(this.isWhiteSpace_(t))return this.nextToken();if(""!==t)throw new Error("Unexpected character: "+t);e=w}return{position:o,value:r,type:e}},e.prototype.readNumber_=function(){var e,t=this.index_,o=!1,r=!1;do{"."==e?o=!0:"e"!=e&&"E"!=e||(r=!0),e=this.nextChar_()}while(this.isNumeric_(e,o)||!r&&("e"==e||"E"==e)||r&&("-"==e||"+"==e));return parseFloat(this.wkt.substring(t,this.index_--))},e.prototype.readText_=function(){var e,t=this.index_;do{e=this.nextChar_()}while(this.isAlpha_(e));return this.wkt.substring(t,this.index_--).toUpperCase()},e}(),j=function(){function e(e){this.lexer_=e,this.token_={position:0,type:_},this.layout_=s.default.XY}return e.prototype.consume_=function(){this.token_=this.lexer_.nextToken()},e.prototype.isTokenType=function(e){return this.token_.type==e},e.prototype.match=function(e){var t=this.isTokenType(e);return t&&this.consume_(),t},e.prototype.parse=function(){return this.consume_(),this.parseGeometry_()},e.prototype.parseGeometryLayout_=function(){var e=s.default.XY,t=this.token_;if(this.isTokenType(b)){var o=t.value;"Z"===o?e=s.default.XYZ:"M"===o?e=s.default.XYM:"ZM"===o&&(e=s.default.XYZM),e!==s.default.XY&&this.consume_()}return e},e.prototype.parseGeometryCollectionText_=function(){if(this.match(A)){var e=[];do{e.push(this.parseGeometry_())}while(this.match(S));if(this.match(C))return e}throw new Error(this.formatErrorMessage_())},e.prototype.parsePointText_=function(){if(this.match(A)){var e=this.parsePoint_();if(this.match(C))return e}throw new Error(this.formatErrorMessage_())},e.prototype.parseLineStringText_=function(){if(this.match(A)){var e=this.parsePointList_();if(this.match(C))return e}throw new Error(this.formatErrorMessage_())},e.prototype.parsePolygonText_=function(){if(this.match(A)){var e=this.parseLineStringTextList_();if(this.match(C))return e}throw new Error(this.formatErrorMessage_())},e.prototype.parseMultiPointText_=function(){if(this.match(A)){var e=void 0;if(e=this.token_.type==A?this.parsePointTextList_():this.parsePointList_(),this.match(C))return e}throw new Error(this.formatErrorMessage_())},e.prototype.parseMultiLineStringText_=function(){if(this.match(A)){var e=this.parseLineStringTextList_();if(this.match(C))return e}throw new Error(this.formatErrorMessage_())},e.prototype.parseMultiPolygonText_=function(){if(this.match(A)){var e=this.parsePolygonTextList_();if(this.match(C))return e}throw new Error(this.formatErrorMessage_())},e.prototype.parsePoint_=function(){for(var e=[],t=this.layout_.length,o=0;o<t;++o){var r=this.token_;if(!this.match(E))break;e.push(r.value)}if(e.length==t)return e;throw new Error(this.formatErrorMessage_())},e.prototype.parsePointList_=function(){for(var e=[this.parsePoint_()];this.match(S);)e.push(this.parsePoint_());return e},e.prototype.parsePointTextList_=function(){for(var e=[this.parsePointText_()];this.match(S);)e.push(this.parsePointText_());return e},e.prototype.parseLineStringTextList_=function(){for(var e=[this.parseLineStringText_()];this.match(S);)e.push(this.parseLineStringText_());return e},e.prototype.parsePolygonTextList_=function(){for(var e=[this.parsePolygonText_()];this.match(S);)e.push(this.parsePolygonText_());return e},e.prototype.isEmptyGeometry_=function(){var e=this.isTokenType(b)&&this.token_.value==v;return e&&this.consume_(),e},e.prototype.formatErrorMessage_=function(){return"Unexpected `"+this.token_.value+"` at position "+this.token_.position+" in `"+this.lexer_.wkt+"`"},e.prototype.parseGeometry_=function(){var e=this.token_;if(this.match(b)){var t=e.value;this.layout_=this.parseGeometryLayout_();var o=this.isEmptyGeometry_();if("GEOMETRYCOLLECTION"==t){if(o)return new i.default([]);var r=this.parseGeometryCollectionText_();return new i.default(r)}var n=y[t];if(!n)throw new Error("Invalid geometry type: "+t);var s=void 0;if(o)s="POINT"==t?[NaN,NaN]:[];else switch(t){case"POINT":s=this.parsePointText_();break;case"LINESTRING":s=this.parseLineStringText_();break;case"POLYGON":s=this.parsePolygonText_();break;case"MULTIPOINT":s=this.parseMultiPointText_();break;case"MULTILINESTRING":s=this.parseMultiLineStringText_();break;case"MULTIPOLYGON":s=this.parseMultiPolygonText_()}return new n(s,this.layout_)}throw new Error(this.formatErrorMessage_())},e}(),T=function(e){function t(t){var o=e.call(this)||this,r=t||{};return o.splitCollection_=void 0!==r.splitCollection&&r.splitCollection,o}return g(t,e),t.prototype.parse_=function(e){var t=new x(e);return new j(t).parse()},t.prototype.readFeatureFromText=function(e,t){var o=this.readGeometryFromText(e,t),r=new n.default;return r.setGeometry(o),r},t.prototype.readFeaturesFromText=function(e,t){for(var o=[],r=this.readGeometryFromText(e,t),i=[],s=0,l=(o=this.splitCollection_&&r.getType()==a.default.GEOMETRY_COLLECTION?r.getGeometriesArray():[r]).length;s<l;++s){var u=new n.default;u.setGeometry(o[s]),i.push(u)}return i},t.prototype.readGeometryFromText=function(e,t){var o=this.parse_(e);return Object(m.transformGeometryWithOptions)(o,!1,t)},t.prototype.writeFeatureText=function(e,t){var o=e.getGeometry();return o?this.writeGeometryText(o,t):""},t.prototype.writeFeaturesText=function(e,t){if(1==e.length)return this.writeFeatureText(e[0],t);for(var o=[],r=0,n=e.length;r<n;++r)o.push(e[r].getGeometry());var s=new i.default(o);return this.writeGeometryText(s,t)},t.prototype.writeGeometryText=function(e,t){return k(Object(m.transformGeometryWithOptions)(e,!0,t))},t}(f.default);function P(e){var t=e.getCoordinates();return 0===t.length?"":t.join(" ")}function M(e){for(var t=e.getCoordinates(),o=[],r=0,n=t.length;r<n;++r)o.push(t[r].join(" "));return o.join(",")}function R(e){for(var t=[],o=e.getLinearRings(),r=0,n=o.length;r<n;++r)t.push("("+M(o[r])+")");return t.join(",")}var L={Point:P,LineString:M,Polygon:R,MultiPoint:function(e){for(var t=[],o=e.getPoints(),r=0,n=o.length;r<n;++r)t.push("("+P(o[r])+")");return t.join(",")},MultiLineString:function(e){for(var t=[],o=e.getLineStrings(),r=0,n=o.length;r<n;++r)t.push("("+M(o[r])+")");return t.join(",")},MultiPolygon:function(e){for(var t=[],o=e.getPolygons(),r=0,n=o.length;r<n;++r)t.push("("+R(o[r])+")");return t.join(",")},GeometryCollection:function(e){for(var t=[],o=e.getGeometries(),r=0,n=o.length;r<n;++r)t.push(k(o[r]));return t.join(",")}};function k(e){var t=e.getType(),o=(0,L[t])(e);if(t=t.toUpperCase(),"function"==typeof e.getFlatCoordinates){var r=function(e){var t=e.getLayout(),o="";return t!==s.default.XYZ&&t!==s.default.XYZM||(o+="Z"),t!==s.default.XYM&&t!==s.default.XYZM||(o+="M"),o}(e);r.length>0&&(t+=" "+r)}return 0===o.length?t+" "+v:t+"("+o+")"}t.default=T},"./node_modules/ol/format/WMSCapabilities.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/XML.js"),i=o("./node_modules/ol/xml.js"),s=o("./node_modules/ol/format/xsd.js"),a=o("./node_modules/ol/format/xlink.js"),l=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),u=[null,"http://www.opengis.net/wms"],c=Object(i.makeStructureNS)(u,{Service:Object(i.makeObjectPropertySetter)((function(e,t){return Object(i.pushParseAndPop)({},h,e,t)})),Capability:Object(i.makeObjectPropertySetter)((function(e,t){return Object(i.pushParseAndPop)({},d,e,t)}))}),d=Object(i.makeStructureNS)(u,{Request:Object(i.makeObjectPropertySetter)((function(e,t){return Object(i.pushParseAndPop)({},A,e,t)})),Exception:Object(i.makeObjectPropertySetter)((function(e,t){return Object(i.pushParseAndPop)([],y,e,t)})),Layer:Object(i.makeObjectPropertySetter)((function(e,t){var o=Object(i.pushParseAndPop)({},v,e,t);if(void 0===o.Layer)return Object.assign(o,x(e,t));return o}))}),p=function(e){function t(){var t=e.call(this)||this;return t.version=void 0,t}return l(t,e),t.prototype.readFromNode=function(e){this.version=e.getAttribute("version").trim();var t=Object(i.pushParseAndPop)({version:this.version},c,e,[]);return t||null},t}(n.default),h=Object(i.makeStructureNS)(u,{Name:Object(i.makeObjectPropertySetter)(s.readString),Title:Object(i.makeObjectPropertySetter)(s.readString),Abstract:Object(i.makeObjectPropertySetter)(s.readString),KeywordList:Object(i.makeObjectPropertySetter)(M),OnlineResource:Object(i.makeObjectPropertySetter)(a.readHref),ContactInformation:Object(i.makeObjectPropertySetter)((function(e,t){return Object(i.pushParseAndPop)({},f,e,t)})),Fees:Object(i.makeObjectPropertySetter)(s.readString),AccessConstraints:Object(i.makeObjectPropertySetter)(s.readString),LayerLimit:Object(i.makeObjectPropertySetter)(s.readPositiveInteger),MaxWidth:Object(i.makeObjectPropertySetter)(s.readPositiveInteger),MaxHeight:Object(i.makeObjectPropertySetter)(s.readPositiveInteger)}),f=Object(i.makeStructureNS)(u,{ContactPersonPrimary:Object(i.makeObjectPropertySetter)((function(e,t){return Object(i.pushParseAndPop)({},m,e,t)})),ContactPosition:Object(i.makeObjectPropertySetter)(s.readString),ContactAddress:Object(i.makeObjectPropertySetter)((function(e,t){return Object(i.pushParseAndPop)({},g,e,t)})),ContactVoiceTelephone:Object(i.makeObjectPropertySetter)(s.readString),ContactFacsimileTelephone:Object(i.makeObjectPropertySetter)(s.readString),ContactElectronicMailAddress:Object(i.makeObjectPropertySetter)(s.readString)}),m=Object(i.makeStructureNS)(u,{ContactPerson:Object(i.makeObjectPropertySetter)(s.readString),ContactOrganization:Object(i.makeObjectPropertySetter)(s.readString)}),g=Object(i.makeStructureNS)(u,{AddressType:Object(i.makeObjectPropertySetter)(s.readString),Address:Object(i.makeObjectPropertySetter)(s.readString),City:Object(i.makeObjectPropertySetter)(s.readString),StateOrProvince:Object(i.makeObjectPropertySetter)(s.readString),PostCode:Object(i.makeObjectPropertySetter)(s.readString),Country:Object(i.makeObjectPropertySetter)(s.readString)}),y=Object(i.makeStructureNS)(u,{Format:Object(i.makeArrayPusher)(s.readString)}),v=Object(i.makeStructureNS)(u,{Name:Object(i.makeObjectPropertySetter)(s.readString),Title:Object(i.makeObjectPropertySetter)(s.readString),Abstract:Object(i.makeObjectPropertySetter)(s.readString),KeywordList:Object(i.makeObjectPropertySetter)(M),CRS:Object(i.makeObjectPropertyPusher)(s.readString),EX_GeographicBoundingBox:Object(i.makeObjectPropertySetter)((function(e,t){var o=Object(i.pushParseAndPop)({},b,e,t);if(!o)return;var r=o.westBoundLongitude,n=o.southBoundLatitude,s=o.eastBoundLongitude,a=o.northBoundLatitude;if(void 0===r||void 0===n||void 0===s||void 0===a)return;return[r,n,s,a]})),BoundingBox:Object(i.makeObjectPropertyPusher)((function(e,t){var o=[Object(s.readDecimalString)(e.getAttribute("minx")),Object(s.readDecimalString)(e.getAttribute("miny")),Object(s.readDecimalString)(e.getAttribute("maxx")),Object(s.readDecimalString)(e.getAttribute("maxy"))],r=[Object(s.readDecimalString)(e.getAttribute("resx")),Object(s.readDecimalString)(e.getAttribute("resy"))];return{crs:e.getAttribute("CRS"),extent:o,res:r}})),Dimension:Object(i.makeObjectPropertyPusher)((function(e,t){return{name:e.getAttribute("name"),units:e.getAttribute("units"),unitSymbol:e.getAttribute("unitSymbol"),default:e.getAttribute("default"),multipleValues:Object(s.readBooleanString)(e.getAttribute("multipleValues")),nearestValue:Object(s.readBooleanString)(e.getAttribute("nearestValue")),current:Object(s.readBooleanString)(e.getAttribute("current")),values:Object(s.readString)(e)}})),Attribution:Object(i.makeObjectPropertySetter)((function(e,t){return Object(i.pushParseAndPop)({},_,e,t)})),AuthorityURL:Object(i.makeObjectPropertyPusher)((function(e,t){var o=j(e,t);if(o)return o.name=e.getAttribute("name"),o;return})),Identifier:Object(i.makeObjectPropertyPusher)(s.readString),MetadataURL:Object(i.makeObjectPropertyPusher)((function(e,t){var o=j(e,t);if(o)return o.type=e.getAttribute("type"),o;return})),DataURL:Object(i.makeObjectPropertyPusher)(j),FeatureListURL:Object(i.makeObjectPropertyPusher)(j),Style:Object(i.makeObjectPropertyPusher)((function(e,t){return Object(i.pushParseAndPop)({},w,e,t)})),MinScaleDenominator:Object(i.makeObjectPropertySetter)(s.readDecimal),MaxScaleDenominator:Object(i.makeObjectPropertySetter)(s.readDecimal),Layer:Object(i.makeObjectPropertyPusher)(x)}),_=Object(i.makeStructureNS)(u,{Title:Object(i.makeObjectPropertySetter)(s.readString),OnlineResource:Object(i.makeObjectPropertySetter)(a.readHref),LogoURL:Object(i.makeObjectPropertySetter)(P)}),b=Object(i.makeStructureNS)(u,{westBoundLongitude:Object(i.makeObjectPropertySetter)(s.readDecimal),eastBoundLongitude:Object(i.makeObjectPropertySetter)(s.readDecimal),southBoundLatitude:Object(i.makeObjectPropertySetter)(s.readDecimal),northBoundLatitude:Object(i.makeObjectPropertySetter)(s.readDecimal)}),A=Object(i.makeStructureNS)(u,{GetCapabilities:Object(i.makeObjectPropertySetter)(T),GetMap:Object(i.makeObjectPropertySetter)(T),GetFeatureInfo:Object(i.makeObjectPropertySetter)(T)}),C=Object(i.makeStructureNS)(u,{Format:Object(i.makeObjectPropertyPusher)(s.readString),DCPType:Object(i.makeObjectPropertyPusher)((function(e,t){return Object(i.pushParseAndPop)({},E,e,t)}))}),E=Object(i.makeStructureNS)(u,{HTTP:Object(i.makeObjectPropertySetter)((function(e,t){return Object(i.pushParseAndPop)({},S,e,t)}))}),S=Object(i.makeStructureNS)(u,{Get:Object(i.makeObjectPropertySetter)(j),Post:Object(i.makeObjectPropertySetter)(j)}),w=Object(i.makeStructureNS)(u,{Name:Object(i.makeObjectPropertySetter)(s.readString),Title:Object(i.makeObjectPropertySetter)(s.readString),Abstract:Object(i.makeObjectPropertySetter)(s.readString),LegendURL:Object(i.makeObjectPropertyPusher)(P),StyleSheetURL:Object(i.makeObjectPropertySetter)(j),StyleURL:Object(i.makeObjectPropertySetter)(j)}),O=Object(i.makeStructureNS)(u,{Format:Object(i.makeObjectPropertySetter)(s.readString),OnlineResource:Object(i.makeObjectPropertySetter)(a.readHref)}),I=Object(i.makeStructureNS)(u,{Keyword:Object(i.makeArrayPusher)(s.readString)});function x(e,t){var o=t[t.length-1],r=Object(i.pushParseAndPop)({},v,e,t);if(r){var n=Object(s.readBooleanString)(e.getAttribute("queryable"));void 0===n&&(n=o.queryable),r.queryable=void 0!==n&&n;var a=Object(s.readNonNegativeIntegerString)(e.getAttribute("cascaded"));void 0===a&&(a=o.cascaded),r.cascaded=a;var l=Object(s.readBooleanString)(e.getAttribute("opaque"));void 0===l&&(l=o.opaque),r.opaque=void 0!==l&&l;var u=Object(s.readBooleanString)(e.getAttribute("noSubsets"));void 0===u&&(u=o.noSubsets),r.noSubsets=void 0!==u&&u;var c=Object(s.readDecimalString)(e.getAttribute("fixedWidth"));c||(c=o.fixedWidth),r.fixedWidth=c;var d=Object(s.readDecimalString)(e.getAttribute("fixedHeight"));d||(d=o.fixedHeight),r.fixedHeight=d;["Style","CRS","AuthorityURL"].forEach((function(e){if(e in o){var t=r[e]||[];r[e]=t.concat(o[e])}}));return["EX_GeographicBoundingBox","BoundingBox","Dimension","Attribution","MinScaleDenominator","MaxScaleDenominator"].forEach((function(e){if(!(e in r)){var t=o[e];r[e]=t}})),r}}function j(e,t){return Object(i.pushParseAndPop)({},O,e,t)}function T(e,t){return Object(i.pushParseAndPop)({},C,e,t)}function P(e,t){var o=j(e,t);if(o){var r=[Object(s.readNonNegativeIntegerString)(e.getAttribute("width")),Object(s.readNonNegativeIntegerString)(e.getAttribute("height"))];return o.size=r,o}}function M(e,t){return Object(i.pushParseAndPop)([],I,e,t)}t.default=p},"./node_modules/ol/format/WMSGetFeatureInfo.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/GML2.js"),i=o("./node_modules/ol/format/XMLFeature.js"),s=o("./node_modules/ol/obj.js"),a=o("./node_modules/ol/array.js"),l=o("./node_modules/ol/xml.js"),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),c=function(e){function t(t){var o=e.call(this)||this,r=t||{};return o.featureNS_="http://mapserver.gis.umn.edu/mapserver",o.gmlFormat_=new n.default,o.layers_=r.layers?r.layers:null,o}return u(t,e),t.prototype.getLayers=function(){return this.layers_},t.prototype.setLayers=function(e){this.layers_=e},t.prototype.readFeatures_=function(e,t){e.setAttribute("namespaceURI",this.featureNS_);var o=e.localName,r=[];if(0===e.childNodes.length)return r;if("msGMLOutput"==o)for(var n=0,i=e.childNodes.length;n<i;n++){var s=e.childNodes[n];if(s.nodeType===Node.ELEMENT_NODE){var u=s,c=t[0],d=u.localName.replace("_layer","");if(!this.layers_||Object(a.includes)(this.layers_,d)){var p=d+"_feature";c.featureType=p,c.featureNS=this.featureNS_;var h={};h[p]=Object(l.makeArrayPusher)(this.gmlFormat_.readFeatureElement,this.gmlFormat_);var f=Object(l.makeStructureNS)([c.featureNS,null],h);u.setAttribute("namespaceURI",this.featureNS_);var m=Object(l.pushParseAndPop)([],f,u,t,this.gmlFormat_);m&&Object(a.extend)(r,m)}}}if("FeatureCollection"==o){var g=Object(l.pushParseAndPop)([],this.gmlFormat_.FEATURE_COLLECTION_PARSERS,e,[{}],this.gmlFormat_);g&&(r=g)}return r},t.prototype.readFeaturesFromNode=function(e,t){var o={};return t&&Object(s.assign)(o,this.getReadOptions(e,t)),this.readFeatures_(e,[o])},t}(i.default);t.default=c},"./node_modules/ol/format/WMTSCapabilities.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/OWS.js"),i=o("./node_modules/ol/format/XML.js"),s=o("./node_modules/ol/extent.js"),a=o("./node_modules/ol/xml.js"),l=o("./node_modules/ol/format/xsd.js"),u=o("./node_modules/ol/format/xlink.js"),c=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),d=[null,"http://www.opengis.net/wmts/1.0"],p=[null,"http://www.opengis.net/ows/1.1"],h=Object(a.makeStructureNS)(d,{Contents:Object(a.makeObjectPropertySetter)((function(e,t){return Object(a.pushParseAndPop)({},m,e,t)}))}),f=function(e){function t(){var t=e.call(this)||this;return t.owsParser_=new n.default,t}return c(t,e),t.prototype.readFromNode=function(e){var t=e.getAttribute("version");t&&(t=t.trim());var o=this.owsParser_.readFromNode(e);return o?(o.version=t,(o=Object(a.pushParseAndPop)(o,h,e,[]))||null):null},t}(i.default),m=Object(a.makeStructureNS)(d,{Layer:Object(a.makeObjectPropertyPusher)((function(e,t){return Object(a.pushParseAndPop)({},g,e,t)})),TileMatrixSet:Object(a.makeObjectPropertyPusher)((function(e,t){return Object(a.pushParseAndPop)({},E,e,t)}))}),g=Object(a.makeStructureNS)(d,{Style:Object(a.makeObjectPropertyPusher)((function(e,t){var o=Object(a.pushParseAndPop)({},y,e,t);if(!o)return;var r="true"===e.getAttribute("isDefault");return o.isDefault=r,o})),Format:Object(a.makeObjectPropertyPusher)(l.readString),TileMatrixSetLink:Object(a.makeObjectPropertyPusher)((function(e,t){return Object(a.pushParseAndPop)({},v,e,t)})),Dimension:Object(a.makeObjectPropertyPusher)((function(e,t){return Object(a.pushParseAndPop)({},A,e,t)})),ResourceURL:Object(a.makeObjectPropertyPusher)((function(e,t){var o=e.getAttribute("format"),r=e.getAttribute("template"),n=e.getAttribute("resourceType"),i={};o&&(i.format=o);r&&(i.template=r);n&&(i.resourceType=n);return i}))},Object(a.makeStructureNS)(p,{Title:Object(a.makeObjectPropertySetter)(l.readString),Abstract:Object(a.makeObjectPropertySetter)(l.readString),WGS84BoundingBox:Object(a.makeObjectPropertySetter)(w),Identifier:Object(a.makeObjectPropertySetter)(l.readString)})),y=Object(a.makeStructureNS)(d,{LegendURL:Object(a.makeObjectPropertyPusher)((function(e,t){var o={};return o.format=e.getAttribute("format"),o.href=Object(u.readHref)(e),o}))},Object(a.makeStructureNS)(p,{Title:Object(a.makeObjectPropertySetter)(l.readString),Identifier:Object(a.makeObjectPropertySetter)(l.readString)})),v=Object(a.makeStructureNS)(d,{TileMatrixSet:Object(a.makeObjectPropertySetter)(l.readString),TileMatrixSetLimits:Object(a.makeObjectPropertySetter)((function(e,t){return Object(a.pushParseAndPop)([],_,e,t)}))}),_=Object(a.makeStructureNS)(d,{TileMatrixLimits:Object(a.makeArrayPusher)((function(e,t){return Object(a.pushParseAndPop)({},b,e,t)}))}),b=Object(a.makeStructureNS)(d,{TileMatrix:Object(a.makeObjectPropertySetter)(l.readString),MinTileRow:Object(a.makeObjectPropertySetter)(l.readPositiveInteger),MaxTileRow:Object(a.makeObjectPropertySetter)(l.readPositiveInteger),MinTileCol:Object(a.makeObjectPropertySetter)(l.readPositiveInteger),MaxTileCol:Object(a.makeObjectPropertySetter)(l.readPositiveInteger)}),A=Object(a.makeStructureNS)(d,{Default:Object(a.makeObjectPropertySetter)(l.readString),Value:Object(a.makeObjectPropertyPusher)(l.readString)},Object(a.makeStructureNS)(p,{Identifier:Object(a.makeObjectPropertySetter)(l.readString)})),C=Object(a.makeStructureNS)(p,{LowerCorner:Object(a.makeArrayPusher)(O),UpperCorner:Object(a.makeArrayPusher)(O)}),E=Object(a.makeStructureNS)(d,{WellKnownScaleSet:Object(a.makeObjectPropertySetter)(l.readString),TileMatrix:Object(a.makeObjectPropertyPusher)((function(e,t){return Object(a.pushParseAndPop)({},S,e,t)}))},Object(a.makeStructureNS)(p,{SupportedCRS:Object(a.makeObjectPropertySetter)(l.readString),Identifier:Object(a.makeObjectPropertySetter)(l.readString),BoundingBox:Object(a.makeObjectPropertySetter)(w)})),S=Object(a.makeStructureNS)(d,{TopLeftCorner:Object(a.makeObjectPropertySetter)(O),ScaleDenominator:Object(a.makeObjectPropertySetter)(l.readDecimal),TileWidth:Object(a.makeObjectPropertySetter)(l.readPositiveInteger),TileHeight:Object(a.makeObjectPropertySetter)(l.readPositiveInteger),MatrixWidth:Object(a.makeObjectPropertySetter)(l.readPositiveInteger),MatrixHeight:Object(a.makeObjectPropertySetter)(l.readPositiveInteger)},Object(a.makeStructureNS)(p,{Identifier:Object(a.makeObjectPropertySetter)(l.readString)}));function w(e,t){var o=Object(a.pushParseAndPop)([],C,e,t);if(2==o.length)return Object(s.boundingExtent)(o)}function O(e,t){var o=Object(l.readString)(e).split(/\s+/);if(o&&2==o.length){var r=+o[0],n=+o[1];if(!isNaN(r)&&!isNaN(n))return[r,n]}}t.default=f},"./node_modules/ol/format/XML.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/xml.js"),n=function(){function e(){}return e.prototype.read=function(e){if(e){if("string"==typeof e){var t=Object(r.parse)(e);return this.readFromDocument(t)}return Object(r.isDocument)(e)?this.readFromDocument(e):this.readFromNode(e)}return null},e.prototype.readFromDocument=function(e){for(var t=e.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.readFromNode(t);return null},e.prototype.readFromNode=function(e){},e}();t.default=n},"./node_modules/ol/format/XMLFeature.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/Feature.js"),i=o("./node_modules/ol/format/FormatType.js"),s=o("./node_modules/ol/util.js"),a=o("./node_modules/ol/array.js"),l=o("./node_modules/ol/xml.js"),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),c=function(e){function t(){var t=e.call(this)||this;return t.xmlSerializer_=Object(l.getXMLSerializer)(),t}return u(t,e),t.prototype.getType=function(){return i.default.XML},t.prototype.readFeature=function(e,t){if(e){if("string"==typeof e){var o=Object(l.parse)(e);return this.readFeatureFromDocument(o,t)}return Object(l.isDocument)(e)?this.readFeatureFromDocument(e,t):this.readFeatureFromNode(e,t)}return null},t.prototype.readFeatureFromDocument=function(e,t){var o=this.readFeaturesFromDocument(e,t);return o.length>0?o[0]:null},t.prototype.readFeatureFromNode=function(e,t){return null},t.prototype.readFeatures=function(e,t){if(e){if("string"==typeof e){var o=Object(l.parse)(e);return this.readFeaturesFromDocument(o,t)}return Object(l.isDocument)(e)?this.readFeaturesFromDocument(e,t):this.readFeaturesFromNode(e,t)}return[]},t.prototype.readFeaturesFromDocument=function(e,t){for(var o=[],r=e.firstChild;r;r=r.nextSibling)r.nodeType==Node.ELEMENT_NODE&&Object(a.extend)(o,this.readFeaturesFromNode(r,t));return o},t.prototype.readFeaturesFromNode=function(e,t){return Object(s.abstract)()},t.prototype.readGeometry=function(e,t){if(e){if("string"==typeof e){var o=Object(l.parse)(e);return this.readGeometryFromDocument(o,t)}return Object(l.isDocument)(e)?this.readGeometryFromDocument(e,t):this.readGeometryFromNode(e,t)}return null},t.prototype.readGeometryFromDocument=function(e,t){return null},t.prototype.readGeometryFromNode=function(e,t){return null},t.prototype.readProjection=function(e){if(e){if("string"==typeof e){var t=Object(l.parse)(e);return this.readProjectionFromDocument(t)}return Object(l.isDocument)(e)?this.readProjectionFromDocument(e):this.readProjectionFromNode(e)}return null},t.prototype.readProjectionFromDocument=function(e){return this.dataProjection},t.prototype.readProjectionFromNode=function(e){return this.dataProjection},t.prototype.writeFeature=function(e,t){var o=this.writeFeatureNode(e,t);return this.xmlSerializer_.serializeToString(o)},t.prototype.writeFeatureNode=function(e,t){return null},t.prototype.writeFeatures=function(e,t){var o=this.writeFeaturesNode(e,t);return this.xmlSerializer_.serializeToString(o)},t.prototype.writeFeaturesNode=function(e,t){return null},t.prototype.writeGeometry=function(e,t){var o=this.writeGeometryNode(e,t);return this.xmlSerializer_.serializeToString(o)},t.prototype.writeGeometryNode=function(e,t){return null},t}(n.default);t.default=c},"./node_modules/ol/format/filter.js":function(e,t,o){"use strict";o.r(t),o.d(t,"and",(function(){return E})),o.d(t,"or",(function(){return S})),o.d(t,"not",(function(){return w})),o.d(t,"bbox",(function(){return O})),o.d(t,"contains",(function(){return I})),o.d(t,"intersects",(function(){return x})),o.d(t,"disjoint",(function(){return j})),o.d(t,"within",(function(){return T})),o.d(t,"dwithin",(function(){return P})),o.d(t,"equalTo",(function(){return M})),o.d(t,"notEqualTo",(function(){return R})),o.d(t,"lessThan",(function(){return L})),o.d(t,"lessThanOrEqualTo",(function(){return k})),o.d(t,"greaterThan",(function(){return N})),o.d(t,"greaterThanOrEqualTo",(function(){return D})),o.d(t,"isNull",(function(){return G})),o.d(t,"between",(function(){return F})),o.d(t,"like",(function(){return U})),o.d(t,"during",(function(){return B})),o.d(t,"resourceId",(function(){return z}));var r=o("./node_modules/ol/format/filter/And.js"),n=o("./node_modules/ol/format/filter/Bbox.js"),i=o("./node_modules/ol/format/filter/Contains.js"),s=o("./node_modules/ol/format/filter/DWithin.js"),a=o("./node_modules/ol/format/filter/Disjoint.js"),l=o("./node_modules/ol/format/filter/During.js"),u=o("./node_modules/ol/format/filter/EqualTo.js"),c=o("./node_modules/ol/format/filter/GreaterThan.js"),d=o("./node_modules/ol/format/filter/GreaterThanOrEqualTo.js"),p=o("./node_modules/ol/format/filter/Intersects.js"),h=o("./node_modules/ol/format/filter/IsBetween.js"),f=o("./node_modules/ol/format/filter/IsLike.js"),m=o("./node_modules/ol/format/filter/IsNull.js"),g=o("./node_modules/ol/format/filter/LessThan.js"),y=o("./node_modules/ol/format/filter/LessThanOrEqualTo.js"),v=o("./node_modules/ol/format/filter/Not.js"),_=o("./node_modules/ol/format/filter/NotEqualTo.js"),b=o("./node_modules/ol/format/filter/Or.js"),A=o("./node_modules/ol/format/filter/ResourceId.js"),C=o("./node_modules/ol/format/filter/Within.js");function E(e){var t=[null].concat(Array.prototype.slice.call(arguments));return new(Function.prototype.bind.apply(r.default,t))}function S(e){var t=[null].concat(Array.prototype.slice.call(arguments));return new(Function.prototype.bind.apply(b.default,t))}function w(e){return new v.default(e)}function O(e,t,o){return new n.default(e,t,o)}function I(e,t,o){return new i.default(e,t,o)}function x(e,t,o){return new p.default(e,t,o)}function j(e,t,o){return new a.default(e,t,o)}function T(e,t,o){return new C.default(e,t,o)}function P(e,t,o,r,n){return new s.default(e,t,o,r,n)}function M(e,t,o){return new u.default(e,t,o)}function R(e,t,o){return new _.default(e,t,o)}function L(e,t){return new g.default(e,t)}function k(e,t){return new y.default(e,t)}function N(e,t){return new c.default(e,t)}function D(e,t){return new d.default(e,t)}function G(e){return new m.default(e)}function F(e,t,o){return new h.default(e,t,o)}function U(e,t,o,r,n,i){return new f.default(e,t,o,r,n,i)}function B(e,t,o){return new l.default(e,t,o)}function z(e){return new A.default(e)}},"./node_modules/ol/format/filter/And.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/LogicalNary.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t){return e.call(this,"And",Array.prototype.slice.call(arguments))||this}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/filter/Bbox.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/Filter.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t,o,r){var n=e.call(this,"BBOX")||this;if(n.geometryName=t,n.extent=o,4!==o.length)throw new Error("Expected an extent with four values ([minX, minY, maxX, maxY])");return n.srsName=r,n}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/filter/Comparison.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/Filter.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t,o){var r=e.call(this,t)||this;return r.propertyName=o,r}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/filter/ComparisonBinary.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/Comparison.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t,o,r,n){var i=e.call(this,t,o)||this;return i.expression=r,i.matchCase=n,i}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/filter/Contains.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/Spatial.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t,o,r){return e.call(this,"Contains",t,o,r)||this}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/filter/DWithin.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/Spatial.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t,o,r,n,i){var s=e.call(this,"DWithin",t,o,i)||this;return s.distance=r,s.unit=n,s}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/filter/Disjoint.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/Spatial.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t,o,r){return e.call(this,"Disjoint",t,o,r)||this}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/filter/During.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/Comparison.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t,o,r){var n=e.call(this,"During",t)||this;return n.begin=o,n.end=r,n}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/filter/EqualTo.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/ComparisonBinary.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t,o,r){return e.call(this,"PropertyIsEqualTo",t,o,r)||this}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/filter/Filter.js":function(e,t,o){"use strict";o.r(t);var r=function(){function e(e){this.tagName_=e}return e.prototype.getTagName=function(){return this.tagName_},e}();t.default=r},"./node_modules/ol/format/filter/GreaterThan.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/ComparisonBinary.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t,o){return e.call(this,"PropertyIsGreaterThan",t,o)||this}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/filter/GreaterThanOrEqualTo.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/ComparisonBinary.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t,o){return e.call(this,"PropertyIsGreaterThanOrEqualTo",t,o)||this}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/filter/Intersects.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/Spatial.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t,o,r){return e.call(this,"Intersects",t,o,r)||this}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/filter/IsBetween.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/Comparison.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t,o,r){var n=e.call(this,"PropertyIsBetween",t)||this;return n.lowerBoundary=o,n.upperBoundary=r,n}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/filter/IsLike.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/Comparison.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t,o,r,n,i,s){var a=e.call(this,"PropertyIsLike",t)||this;return a.pattern=o,a.wildCard=void 0!==r?r:"*",a.singleChar=void 0!==n?n:".",a.escapeChar=void 0!==i?i:"!",a.matchCase=s,a}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/filter/IsNull.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/Comparison.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t){return e.call(this,"PropertyIsNull",t)||this}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/filter/LessThan.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/ComparisonBinary.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t,o){return e.call(this,"PropertyIsLessThan",t,o)||this}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/filter/LessThanOrEqualTo.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/ComparisonBinary.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t,o){return e.call(this,"PropertyIsLessThanOrEqualTo",t,o)||this}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/filter/LogicalNary.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/Filter.js"),i=o("./node_modules/ol/asserts.js"),s=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=function(e){function t(t,o){var r=e.call(this,t)||this;return r.conditions=o,Object(i.assert)(r.conditions.length>=2,57),r}return s(t,e),t}(n.default);t.default=a},"./node_modules/ol/format/filter/Not.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/Filter.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t){var o=e.call(this,"Not")||this;return o.condition=t,o}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/filter/NotEqualTo.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/ComparisonBinary.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t,o,r){return e.call(this,"PropertyIsNotEqualTo",t,o,r)||this}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/filter/Or.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/LogicalNary.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t){return e.call(this,"Or",Array.prototype.slice.call(arguments))||this}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/filter/ResourceId.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/Filter.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t){var o=e.call(this,"ResourceId")||this;return o.rid=t,o}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/filter/Spatial.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/Filter.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t,o,r,n){var i=e.call(this,t)||this;return i.geometryName=o||"the_geom",i.geometry=r,i.srsName=n,i}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/filter/Within.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/format/filter/Spatial.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t,o,r){return e.call(this,"Within",t,o,r)||this}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/format/xlink.js":function(e,t,o){"use strict";o.r(t),o.d(t,"readHref",(function(){return n}));var r="http://www.w3.org/1999/xlink";function n(e){return e.getAttributeNS(r,"href")}},"./node_modules/ol/format/xsd.js":function(e,t,o){"use strict";o.r(t),o.d(t,"readBoolean",(function(){return i})),o.d(t,"readBooleanString",(function(){return s})),o.d(t,"readDateTime",(function(){return a})),o.d(t,"readDecimal",(function(){return l})),o.d(t,"readDecimalString",(function(){return u})),o.d(t,"readPositiveInteger",(function(){return c})),o.d(t,"readNonNegativeIntegerString",(function(){return d})),o.d(t,"readString",(function(){return p})),o.d(t,"writeBooleanTextNode",(function(){return h})),o.d(t,"writeCDATASection",(function(){return f})),o.d(t,"writeDateTimeTextNode",(function(){return m})),o.d(t,"writeDecimalTextNode",(function(){return g})),o.d(t,"writeNonNegativeIntegerTextNode",(function(){return y})),o.d(t,"writeStringTextNode",(function(){return v}));var r=o("./node_modules/ol/xml.js"),n=o("./node_modules/ol/string.js");function i(e){return s(Object(r.getAllTextContent)(e,!1))}function s(e){var t=/^\s*(true|1)|(false|0)\s*$/.exec(e);return t?void 0!==t[1]||!1:void 0}function a(e){var t=Object(r.getAllTextContent)(e,!1),o=Date.parse(t);return isNaN(o)?void 0:o/1e3}function l(e){return u(Object(r.getAllTextContent)(e,!1))}function u(e){var t=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(e);return t?parseFloat(t[1]):void 0}function c(e){return d(Object(r.getAllTextContent)(e,!1))}function d(e){var t=/^\s*(\d+)\s*$/.exec(e);return t?parseInt(t[1],10):void 0}function p(e){return Object(r.getAllTextContent)(e,!1).trim()}function h(e,t){v(e,t?"1":"0")}function f(e,t){e.appendChild(Object(r.getDocument)().createCDATASection(t))}function m(e,t){var o=new Date(1e3*t),i=o.getUTCFullYear()+"-"+Object(n.padNumber)(o.getUTCMonth()+1,2)+"-"+Object(n.padNumber)(o.getUTCDate(),2)+"T"+Object(n.padNumber)(o.getUTCHours(),2)+":"+Object(n.padNumber)(o.getUTCMinutes(),2)+":"+Object(n.padNumber)(o.getUTCSeconds(),2)+"Z";e.appendChild(Object(r.getDocument)().createTextNode(i))}function g(e,t){var o=t.toPrecision();e.appendChild(Object(r.getDocument)().createTextNode(o))}function y(e,t){var o=t.toString();e.appendChild(Object(r.getDocument)().createTextNode(o))}function v(e,t){e.appendChild(Object(r.getDocument)().createTextNode(t))}},"./node_modules/ol/functions.js":function(e,t,o){"use strict";o.r(t),o.d(t,"TRUE",(function(){return n})),o.d(t,"FALSE",(function(){return i})),o.d(t,"VOID",(function(){return s})),o.d(t,"memoizeOne",(function(){return a}));var r=o("./node_modules/ol/array.js");function n(){return!0}function i(){return!1}function s(){}function a(e){var t,o,n,i=!1;return function(){var s=Array.prototype.slice.call(arguments);return i&&this===n&&Object(r.equals)(s,o)||(i=!0,n=this,o=s,t=e.apply(this,arguments)),t}}},"./node_modules/ol/geom.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/geom/Circle.js");o.d(t,"Circle",(function(){return r.default}));var n=o("./node_modules/ol/geom/Geometry.js");o.d(t,"Geometry",(function(){return n.default}));var i=o("./node_modules/ol/geom/GeometryCollection.js");o.d(t,"GeometryCollection",(function(){return i.default}));var s=o("./node_modules/ol/geom/LinearRing.js");o.d(t,"LinearRing",(function(){return s.default}));var a=o("./node_modules/ol/geom/LineString.js");o.d(t,"LineString",(function(){return a.default}));var l=o("./node_modules/ol/geom/MultiLineString.js");o.d(t,"MultiLineString",(function(){return l.default}));var u=o("./node_modules/ol/geom/MultiPoint.js");o.d(t,"MultiPoint",(function(){return u.default}));var c=o("./node_modules/ol/geom/MultiPolygon.js");o.d(t,"MultiPolygon",(function(){return c.default}));var d=o("./node_modules/ol/geom/Point.js");o.d(t,"Point",(function(){return d.default}));var p=o("./node_modules/ol/geom/Polygon.js");o.d(t,"Polygon",(function(){return p.default}));var h=o("./node_modules/ol/geom/SimpleGeometry.js");o.d(t,"SimpleGeometry",(function(){return h.default}))},"./node_modules/ol/geom/Circle.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/geom/GeometryType.js"),i=o("./node_modules/ol/geom/SimpleGeometry.js"),s=o("./node_modules/ol/extent.js"),a=o("./node_modules/ol/geom/flat/deflate.js"),l=o("./node_modules/ol/geom/flat/transform.js"),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),c=function(e){function t(t,o,r){var n=e.call(this)||this;if(void 0!==r&&void 0===o)n.setFlatCoordinates(r,t);else{var i=o||0;n.setCenterAndRadius(t,i,r)}return n}return u(t,e),t.prototype.clone=function(){var e=new t(this.flatCoordinates.slice(),void 0,this.layout);return e.applyProperties(this),e},t.prototype.closestPointXY=function(e,t,o,r){var n=this.flatCoordinates,i=e-n[0],s=t-n[1],a=i*i+s*s;if(a<r){if(0===a)for(var l=0;l<this.stride;++l)o[l]=n[l];else{var u=this.getRadius()/Math.sqrt(a);o[0]=n[0]+u*i,o[1]=n[1]+u*s;for(l=2;l<this.stride;++l)o[l]=n[l]}return o.length=this.stride,a}return r},t.prototype.containsXY=function(e,t){var o=this.flatCoordinates,r=e-o[0],n=t-o[1];return r*r+n*n<=this.getRadiusSquared_()},t.prototype.getCenter=function(){return this.flatCoordinates.slice(0,this.stride)},t.prototype.computeExtent=function(e){var t=this.flatCoordinates,o=t[this.stride]-t[0];return Object(s.createOrUpdate)(t[0]-o,t[1]-o,t[0]+o,t[1]+o,e)},t.prototype.getRadius=function(){return Math.sqrt(this.getRadiusSquared_())},t.prototype.getRadiusSquared_=function(){var e=this.flatCoordinates[this.stride]-this.flatCoordinates[0],t=this.flatCoordinates[this.stride+1]-this.flatCoordinates[1];return e*e+t*t},t.prototype.getType=function(){return n.default.CIRCLE},t.prototype.intersectsExtent=function(e){var t=this.getExtent();if(Object(s.intersects)(e,t)){var o=this.getCenter();return e[0]<=o[0]&&e[2]>=o[0]||(e[1]<=o[1]&&e[3]>=o[1]||Object(s.forEachCorner)(e,this.intersectsCoordinate.bind(this)))}return!1},t.prototype.setCenter=function(e){var t=this.stride,o=this.flatCoordinates[t]-this.flatCoordinates[0],r=e.slice();r[t]=r[0]+o;for(var n=1;n<t;++n)r[t+n]=e[n];this.setFlatCoordinates(this.layout,r),this.changed()},t.prototype.setCenterAndRadius=function(e,t,o){this.setLayout(o,e,0),this.flatCoordinates||(this.flatCoordinates=[]);var r=this.flatCoordinates,n=Object(a.deflateCoordinate)(r,0,e,this.stride);r[n++]=r[0]+t;for(var i=1,s=this.stride;i<s;++i)r[n++]=r[i];r.length=n,this.changed()},t.prototype.getCoordinates=function(){return null},t.prototype.setCoordinates=function(e,t){},t.prototype.setRadius=function(e){this.flatCoordinates[this.stride]=this.flatCoordinates[0]+e,this.changed()},t.prototype.rotate=function(e,t){var o=this.getCenter(),r=this.getStride();this.setCenter(Object(l.rotate)(o,0,o.length,r,e,t,o)),this.changed()},t.prototype.translate=function(e,t){var o=this.getCenter(),r=this.getStride();this.setCenter(Object(l.translate)(o,0,o.length,r,e,t,o)),this.changed()},t}(i.default);c.prototype.transform,t.default=c},"./node_modules/ol/geom/Geometry.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/Object.js"),i=o("./node_modules/ol/proj/Units.js"),s=o("./node_modules/ol/util.js"),a=o("./node_modules/ol/transform.js"),l=o("./node_modules/ol/extent.js"),u=o("./node_modules/ol/proj.js"),c=o("./node_modules/ol/functions.js"),d=o("./node_modules/ol/geom/flat/transform.js"),p=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),h=Object(a.create)(),f=function(e){function t(){var t=e.call(this)||this;return t.extent_=Object(l.createEmpty)(),t.extentRevision_=-1,t.simplifiedGeometryMaxMinSquaredTolerance=0,t.simplifiedGeometryRevision=0,t.simplifyTransformedInternal=Object(c.memoizeOne)((function(e,t,o){if(!o)return this.getSimplifiedGeometry(t);var r=this.clone();return r.applyTransform(o),r.getSimplifiedGeometry(t)})),t}return p(t,e),t.prototype.simplifyTransformed=function(e,t){return this.simplifyTransformedInternal(this.getRevision(),e,t)},t.prototype.clone=function(){return Object(s.abstract)()},t.prototype.closestPointXY=function(e,t,o,r){return Object(s.abstract)()},t.prototype.containsXY=function(e,t){var o=this.getClosestPoint([e,t]);return o[0]===e&&o[1]===t},t.prototype.getClosestPoint=function(e,t){var o=t||[NaN,NaN];return this.closestPointXY(e[0],e[1],o,1/0),o},t.prototype.intersectsCoordinate=function(e){return this.containsXY(e[0],e[1])},t.prototype.computeExtent=function(e){return Object(s.abstract)()},t.prototype.getExtent=function(e){if(this.extentRevision_!=this.getRevision()){var t=this.computeExtent(this.extent_);(isNaN(t[0])||isNaN(t[1]))&&Object(l.createOrUpdateEmpty)(t),this.extentRevision_=this.getRevision()}return Object(l.returnOrUpdate)(this.extent_,e)},t.prototype.rotate=function(e,t){Object(s.abstract)()},t.prototype.scale=function(e,t,o){Object(s.abstract)()},t.prototype.simplify=function(e){return this.getSimplifiedGeometry(e*e)},t.prototype.getSimplifiedGeometry=function(e){return Object(s.abstract)()},t.prototype.getType=function(){return Object(s.abstract)()},t.prototype.applyTransform=function(e){Object(s.abstract)()},t.prototype.intersectsExtent=function(e){return Object(s.abstract)()},t.prototype.translate=function(e,t){Object(s.abstract)()},t.prototype.transform=function(e,t){var o=Object(u.get)(e),r=o.getUnits()==i.default.TILE_PIXELS?function(e,r,n){var i=o.getExtent(),s=o.getWorldExtent(),c=Object(l.getHeight)(s)/Object(l.getHeight)(i);return Object(a.compose)(h,s[0],s[3],c,-c,0,0,0),Object(d.transform2D)(e,0,e.length,n,h,r),Object(u.getTransform)(o,t)(e,r,n)}:Object(u.getTransform)(o,t);return this.applyTransform(r),this},t}(n.default);t.default=f},"./node_modules/ol/geom/GeometryCollection.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/events/EventType.js"),i=o("./node_modules/ol/geom/Geometry.js"),s=o("./node_modules/ol/geom/GeometryType.js"),a=o("./node_modules/ol/extent.js"),l=o("./node_modules/ol/events.js"),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),c=function(e){function t(t){var o=e.call(this)||this;return o.geometries_=t||null,o.changeEventsKeys_=[],o.listenGeometriesChange_(),o}return u(t,e),t.prototype.unlistenGeometriesChange_=function(){this.changeEventsKeys_.forEach(l.unlistenByKey),this.changeEventsKeys_.length=0},t.prototype.listenGeometriesChange_=function(){if(this.geometries_)for(var e=0,t=this.geometries_.length;e<t;++e)this.changeEventsKeys_.push(Object(l.listen)(this.geometries_[e],n.default.CHANGE,this.changed,this))},t.prototype.clone=function(){var e=new t(null);return e.setGeometries(this.geometries_),e.applyProperties(this),e},t.prototype.closestPointXY=function(e,t,o,r){if(r<Object(a.closestSquaredDistanceXY)(this.getExtent(),e,t))return r;for(var n=this.geometries_,i=0,s=n.length;i<s;++i)r=n[i].closestPointXY(e,t,o,r);return r},t.prototype.containsXY=function(e,t){for(var o=this.geometries_,r=0,n=o.length;r<n;++r)if(o[r].containsXY(e,t))return!0;return!1},t.prototype.computeExtent=function(e){Object(a.createOrUpdateEmpty)(e);for(var t=this.geometries_,o=0,r=t.length;o<r;++o)Object(a.extend)(e,t[o].getExtent());return e},t.prototype.getGeometries=function(){return d(this.geometries_)},t.prototype.getGeometriesArray=function(){return this.geometries_},t.prototype.getGeometriesArrayRecursive=function(){for(var e=[],t=this.geometries_,o=0,r=t.length;o<r;++o)t[o].getType()===this.getType()?e=e.concat(t[o].getGeometriesArrayRecursive()):e.push(t[o]);return e},t.prototype.getSimplifiedGeometry=function(e){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),e<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&e<this.simplifiedGeometryMaxMinSquaredTolerance)return this;for(var o=[],r=this.geometries_,n=!1,i=0,s=r.length;i<s;++i){var a=r[i],l=a.getSimplifiedGeometry(e);o.push(l),l!==a&&(n=!0)}if(n){var u=new t(null);return u.setGeometriesArray(o),u}return this.simplifiedGeometryMaxMinSquaredTolerance=e,this},t.prototype.getType=function(){return s.default.GEOMETRY_COLLECTION},t.prototype.intersectsExtent=function(e){for(var t=this.geometries_,o=0,r=t.length;o<r;++o)if(t[o].intersectsExtent(e))return!0;return!1},t.prototype.isEmpty=function(){return 0===this.geometries_.length},t.prototype.rotate=function(e,t){for(var o=this.geometries_,r=0,n=o.length;r<n;++r)o[r].rotate(e,t);this.changed()},t.prototype.scale=function(e,t,o){var r=o;r||(r=Object(a.getCenter)(this.getExtent()));for(var n=this.geometries_,i=0,s=n.length;i<s;++i)n[i].scale(e,t,r);this.changed()},t.prototype.setGeometries=function(e){this.setGeometriesArray(d(e))},t.prototype.setGeometriesArray=function(e){this.unlistenGeometriesChange_(),this.geometries_=e,this.listenGeometriesChange_(),this.changed()},t.prototype.applyTransform=function(e){for(var t=this.geometries_,o=0,r=t.length;o<r;++o)t[o].applyTransform(e);this.changed()},t.prototype.translate=function(e,t){for(var o=this.geometries_,r=0,n=o.length;r<n;++r)o[r].translate(e,t);this.changed()},t.prototype.disposeInternal=function(){this.unlistenGeometriesChange_(),e.prototype.disposeInternal.call(this)},t}(i.default);function d(e){for(var t=[],o=0,r=e.length;o<r;++o)t.push(e[o].clone());return t}t.default=c},"./node_modules/ol/geom/GeometryLayout.js":function(e,t,o){"use strict";o.r(t),t.default={XY:"XY",XYZ:"XYZ",XYM:"XYM",XYZM:"XYZM"}},"./node_modules/ol/geom/GeometryType.js":function(e,t,o){"use strict";o.r(t),t.default={POINT:"Point",LINE_STRING:"LineString",LINEAR_RING:"LinearRing",POLYGON:"Polygon",MULTI_POINT:"MultiPoint",MULTI_LINE_STRING:"MultiLineString",MULTI_POLYGON:"MultiPolygon",GEOMETRY_COLLECTION:"GeometryCollection",CIRCLE:"Circle"}},"./node_modules/ol/geom/LineString.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/geom/GeometryLayout.js"),i=o("./node_modules/ol/geom/GeometryType.js"),s=o("./node_modules/ol/geom/SimpleGeometry.js"),a=o("./node_modules/ol/geom/flat/closest.js"),l=o("./node_modules/ol/extent.js"),u=o("./node_modules/ol/geom/flat/deflate.js"),c=o("./node_modules/ol/geom/flat/simplify.js"),d=o("./node_modules/ol/array.js"),p=o("./node_modules/ol/geom/flat/segments.js"),h=o("./node_modules/ol/geom/flat/inflate.js"),f=o("./node_modules/ol/geom/flat/interpolate.js"),m=o("./node_modules/ol/geom/flat/intersectsextent.js"),g=o("./node_modules/ol/geom/flat/length.js"),y=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),v=function(e){function t(t,o){var r=e.call(this)||this;return r.flatMidpoint_=null,r.flatMidpointRevision_=-1,r.maxDelta_=-1,r.maxDeltaRevision_=-1,void 0===o||Array.isArray(t[0])?r.setCoordinates(t,o):r.setFlatCoordinates(o,t),r}return y(t,e),t.prototype.appendCoordinate=function(e){this.flatCoordinates?Object(d.extend)(this.flatCoordinates,e):this.flatCoordinates=e.slice(),this.changed()},t.prototype.clone=function(){var e=new t(this.flatCoordinates.slice(),this.layout);return e.applyProperties(this),e},t.prototype.closestPointXY=function(e,t,o,r){return r<Object(l.closestSquaredDistanceXY)(this.getExtent(),e,t)?r:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(a.maxSquaredDelta)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(a.assignClosestPoint)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!1,e,t,o,r))},t.prototype.forEachSegment=function(e){return Object(p.forEach)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e)},t.prototype.getCoordinateAtM=function(e,t){if(this.layout!=n.default.XYM&&this.layout!=n.default.XYZM)return null;var o=void 0!==t&&t;return Object(f.lineStringCoordinateAtM)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e,o)},t.prototype.getCoordinates=function(){return Object(h.inflateCoordinates)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},t.prototype.getCoordinateAt=function(e,t){return Object(f.interpolatePoint)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e,t,this.stride)},t.prototype.getLength=function(){return Object(g.lineStringLength)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},t.prototype.getFlatMidpoint=function(){return this.flatMidpointRevision_!=this.getRevision()&&(this.flatMidpoint_=this.getCoordinateAt(.5,this.flatMidpoint_),this.flatMidpointRevision_=this.getRevision()),this.flatMidpoint_},t.prototype.getSimplifiedGeometryInternal=function(e){var o=[];return o.length=Object(c.douglasPeucker)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e,o,0),new t(o,n.default.XY)},t.prototype.getType=function(){return i.default.LINE_STRING},t.prototype.intersectsExtent=function(e){return Object(m.intersectsLineString)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e)},t.prototype.setCoordinates=function(e,t){this.setLayout(t,e,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Object(u.deflateCoordinates)(this.flatCoordinates,0,e,this.stride),this.changed()},t}(s.default);t.default=v},"./node_modules/ol/geom/LinearRing.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/geom/GeometryLayout.js"),i=o("./node_modules/ol/geom/GeometryType.js"),s=o("./node_modules/ol/geom/SimpleGeometry.js"),a=o("./node_modules/ol/geom/flat/closest.js"),l=o("./node_modules/ol/extent.js"),u=o("./node_modules/ol/geom/flat/deflate.js"),c=o("./node_modules/ol/geom/flat/simplify.js"),d=o("./node_modules/ol/geom/flat/inflate.js"),p=o("./node_modules/ol/geom/flat/area.js"),h=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),f=function(e){function t(t,o){var r=e.call(this)||this;return r.maxDelta_=-1,r.maxDeltaRevision_=-1,void 0===o||Array.isArray(t[0])?r.setCoordinates(t,o):r.setFlatCoordinates(o,t),r}return h(t,e),t.prototype.clone=function(){return new t(this.flatCoordinates.slice(),this.layout)},t.prototype.closestPointXY=function(e,t,o,r){return r<Object(l.closestSquaredDistanceXY)(this.getExtent(),e,t)?r:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(a.maxSquaredDelta)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(a.assignClosestPoint)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!0,e,t,o,r))},t.prototype.getArea=function(){return Object(p.linearRing)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},t.prototype.getCoordinates=function(){return Object(d.inflateCoordinates)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},t.prototype.getSimplifiedGeometryInternal=function(e){var o=[];return o.length=Object(c.douglasPeucker)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e,o,0),new t(o,n.default.XY)},t.prototype.getType=function(){return i.default.LINEAR_RING},t.prototype.intersectsExtent=function(e){return!1},t.prototype.setCoordinates=function(e,t){this.setLayout(t,e,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Object(u.deflateCoordinates)(this.flatCoordinates,0,e,this.stride),this.changed()},t}(s.default);t.default=f},"./node_modules/ol/geom/MultiLineString.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/geom/GeometryLayout.js"),i=o("./node_modules/ol/geom/GeometryType.js"),s=o("./node_modules/ol/geom/LineString.js"),a=o("./node_modules/ol/geom/SimpleGeometry.js"),l=o("./node_modules/ol/geom/flat/closest.js"),u=o("./node_modules/ol/extent.js"),c=o("./node_modules/ol/geom/flat/deflate.js"),d=o("./node_modules/ol/geom/flat/simplify.js"),p=o("./node_modules/ol/array.js"),h=o("./node_modules/ol/geom/flat/inflate.js"),f=o("./node_modules/ol/geom/flat/interpolate.js"),m=o("./node_modules/ol/geom/flat/intersectsextent.js"),g=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),y=function(e){function t(t,o,r){var n=e.call(this)||this;if(n.ends_=[],n.maxDelta_=-1,n.maxDeltaRevision_=-1,Array.isArray(t[0]))n.setCoordinates(t,o);else if(void 0!==o&&r)n.setFlatCoordinates(o,t),n.ends_=r;else{for(var i=n.getLayout(),s=t,a=[],l=[],u=0,c=s.length;u<c;++u){var d=s[u];0===u&&(i=d.getLayout()),Object(p.extend)(a,d.getFlatCoordinates()),l.push(a.length)}n.setFlatCoordinates(i,a),n.ends_=l}return n}return g(t,e),t.prototype.appendLineString=function(e){this.flatCoordinates?Object(p.extend)(this.flatCoordinates,e.getFlatCoordinates().slice()):this.flatCoordinates=e.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()},t.prototype.clone=function(){var e=new t(this.flatCoordinates.slice(),this.layout,this.ends_.slice());return e.applyProperties(this),e},t.prototype.closestPointXY=function(e,t,o,r){return r<Object(u.closestSquaredDistanceXY)(this.getExtent(),e,t)?r:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(l.arrayMaxSquaredDelta)(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(l.assignClosestArrayPoint)(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!1,e,t,o,r))},t.prototype.getCoordinateAtM=function(e,t,o){if(this.layout!=n.default.XYM&&this.layout!=n.default.XYZM||0===this.flatCoordinates.length)return null;var r=void 0!==t&&t,i=void 0!==o&&o;return Object(f.lineStringsCoordinateAtM)(this.flatCoordinates,0,this.ends_,this.stride,e,r,i)},t.prototype.getCoordinates=function(){return Object(h.inflateCoordinatesArray)(this.flatCoordinates,0,this.ends_,this.stride)},t.prototype.getEnds=function(){return this.ends_},t.prototype.getLineString=function(e){return e<0||this.ends_.length<=e?null:new s.default(this.flatCoordinates.slice(0===e?0:this.ends_[e-1],this.ends_[e]),this.layout)},t.prototype.getLineStrings=function(){for(var e=this.flatCoordinates,t=this.ends_,o=this.layout,r=[],n=0,i=0,a=t.length;i<a;++i){var l=t[i],u=new s.default(e.slice(n,l),o);r.push(u),n=l}return r},t.prototype.getFlatMidpoints=function(){for(var e=[],t=this.flatCoordinates,o=0,r=this.ends_,n=this.stride,i=0,s=r.length;i<s;++i){var a=r[i],l=Object(f.interpolatePoint)(t,o,a,n,.5);Object(p.extend)(e,l),o=a}return e},t.prototype.getSimplifiedGeometryInternal=function(e){var o=[],r=[];return o.length=Object(d.douglasPeuckerArray)(this.flatCoordinates,0,this.ends_,this.stride,e,o,0,r),new t(o,n.default.XY,r)},t.prototype.getType=function(){return i.default.MULTI_LINE_STRING},t.prototype.intersectsExtent=function(e){return Object(m.intersectsLineStringArray)(this.flatCoordinates,0,this.ends_,this.stride,e)},t.prototype.setCoordinates=function(e,t){this.setLayout(t,e,2),this.flatCoordinates||(this.flatCoordinates=[]);var o=Object(c.deflateCoordinatesArray)(this.flatCoordinates,0,e,this.stride,this.ends_);this.flatCoordinates.length=0===o.length?0:o[o.length-1],this.changed()},t}(a.default);t.default=y},"./node_modules/ol/geom/MultiPoint.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/geom/GeometryType.js"),i=o("./node_modules/ol/geom/Point.js"),s=o("./node_modules/ol/geom/SimpleGeometry.js"),a=o("./node_modules/ol/extent.js"),l=o("./node_modules/ol/geom/flat/deflate.js"),u=o("./node_modules/ol/array.js"),c=o("./node_modules/ol/geom/flat/inflate.js"),d=o("./node_modules/ol/math.js"),p=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),h=function(e){function t(t,o){var r=e.call(this)||this;return o&&!Array.isArray(t[0])?r.setFlatCoordinates(o,t):r.setCoordinates(t,o),r}return p(t,e),t.prototype.appendPoint=function(e){this.flatCoordinates?Object(u.extend)(this.flatCoordinates,e.getFlatCoordinates()):this.flatCoordinates=e.getFlatCoordinates().slice(),this.changed()},t.prototype.clone=function(){var e=new t(this.flatCoordinates.slice(),this.layout);return e.applyProperties(this),e},t.prototype.closestPointXY=function(e,t,o,r){if(r<Object(a.closestSquaredDistanceXY)(this.getExtent(),e,t))return r;for(var n=this.flatCoordinates,i=this.stride,s=0,l=n.length;s<l;s+=i){var u=Object(d.squaredDistance)(e,t,n[s],n[s+1]);if(u<r){r=u;for(var c=0;c<i;++c)o[c]=n[s+c];o.length=i}}return r},t.prototype.getCoordinates=function(){return Object(c.inflateCoordinates)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},t.prototype.getPoint=function(e){var t=this.flatCoordinates?this.flatCoordinates.length/this.stride:0;return e<0||t<=e?null:new i.default(this.flatCoordinates.slice(e*this.stride,(e+1)*this.stride),this.layout)},t.prototype.getPoints=function(){for(var e=this.flatCoordinates,t=this.layout,o=this.stride,r=[],n=0,s=e.length;n<s;n+=o){var a=new i.default(e.slice(n,n+o),t);r.push(a)}return r},t.prototype.getType=function(){return n.default.MULTI_POINT},t.prototype.intersectsExtent=function(e){for(var t=this.flatCoordinates,o=this.stride,r=0,n=t.length;r<n;r+=o){var i=t[r],s=t[r+1];if(Object(a.containsXY)(e,i,s))return!0}return!1},t.prototype.setCoordinates=function(e,t){this.setLayout(t,e,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Object(l.deflateCoordinates)(this.flatCoordinates,0,e,this.stride),this.changed()},t}(s.default);t.default=h},"./node_modules/ol/geom/MultiPolygon.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/geom/GeometryLayout.js"),i=o("./node_modules/ol/geom/GeometryType.js"),s=o("./node_modules/ol/geom/MultiPoint.js"),a=o("./node_modules/ol/geom/Polygon.js"),l=o("./node_modules/ol/geom/SimpleGeometry.js"),u=o("./node_modules/ol/geom/flat/closest.js"),c=o("./node_modules/ol/extent.js"),d=o("./node_modules/ol/geom/flat/deflate.js"),p=o("./node_modules/ol/array.js"),h=o("./node_modules/ol/geom/flat/interiorpoint.js"),f=o("./node_modules/ol/geom/flat/inflate.js"),m=o("./node_modules/ol/geom/flat/intersectsextent.js"),g=o("./node_modules/ol/geom/flat/orient.js"),y=o("./node_modules/ol/geom/flat/area.js"),v=o("./node_modules/ol/geom/flat/center.js"),_=o("./node_modules/ol/geom/flat/contains.js"),b=o("./node_modules/ol/geom/flat/simplify.js"),A=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),C=function(e){function t(t,o,r){var n=e.call(this)||this;if(n.endss_=[],n.flatInteriorPointsRevision_=-1,n.flatInteriorPoints_=null,n.maxDelta_=-1,n.maxDeltaRevision_=-1,n.orientedRevision_=-1,n.orientedFlatCoordinates_=null,!r&&!Array.isArray(t[0])){for(var i=n.getLayout(),s=t,a=[],l=[],u=0,c=s.length;u<c;++u){var d=s[u];0===u&&(i=d.getLayout());for(var h=a.length,f=d.getEnds(),m=0,g=f.length;m<g;++m)f[m]+=h;Object(p.extend)(a,d.getFlatCoordinates()),l.push(f)}o=i,t=a,r=l}return void 0!==o&&r?(n.setFlatCoordinates(o,t),n.endss_=r):n.setCoordinates(t,o),n}return A(t,e),t.prototype.appendPolygon=function(e){var t;if(this.flatCoordinates){var o=this.flatCoordinates.length;Object(p.extend)(this.flatCoordinates,e.getFlatCoordinates());for(var r=0,n=(t=e.getEnds().slice()).length;r<n;++r)t[r]+=o}else this.flatCoordinates=e.getFlatCoordinates().slice(),t=e.getEnds().slice(),this.endss_.push();this.endss_.push(t),this.changed()},t.prototype.clone=function(){for(var e=this.endss_.length,o=new Array(e),r=0;r<e;++r)o[r]=this.endss_[r].slice();var n=new t(this.flatCoordinates.slice(),this.layout,o);return n.applyProperties(this),n},t.prototype.closestPointXY=function(e,t,o,r){return r<Object(c.closestSquaredDistanceXY)(this.getExtent(),e,t)?r:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(u.multiArrayMaxSquaredDelta)(this.flatCoordinates,0,this.endss_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(u.assignClosestMultiArrayPoint)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,this.maxDelta_,!0,e,t,o,r))},t.prototype.containsXY=function(e,t){return Object(_.linearRingssContainsXY)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,e,t)},t.prototype.getArea=function(){return Object(y.linearRingss)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride)},t.prototype.getCoordinates=function(e){var t;return void 0!==e?(t=this.getOrientedFlatCoordinates().slice(),Object(g.orientLinearRingsArray)(t,0,this.endss_,this.stride,e)):t=this.flatCoordinates,Object(f.inflateMultiCoordinatesArray)(t,0,this.endss_,this.stride)},t.prototype.getEndss=function(){return this.endss_},t.prototype.getFlatInteriorPoints=function(){if(this.flatInteriorPointsRevision_!=this.getRevision()){var e=Object(v.linearRingss)(this.flatCoordinates,0,this.endss_,this.stride);this.flatInteriorPoints_=Object(h.getInteriorPointsOfMultiArray)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,e),this.flatInteriorPointsRevision_=this.getRevision()}return this.flatInteriorPoints_},t.prototype.getInteriorPoints=function(){return new s.default(this.getFlatInteriorPoints().slice(),n.default.XYM)},t.prototype.getOrientedFlatCoordinates=function(){if(this.orientedRevision_!=this.getRevision()){var e=this.flatCoordinates;Object(g.linearRingssAreOriented)(e,0,this.endss_,this.stride)?this.orientedFlatCoordinates_=e:(this.orientedFlatCoordinates_=e.slice(),this.orientedFlatCoordinates_.length=Object(g.orientLinearRingsArray)(this.orientedFlatCoordinates_,0,this.endss_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_},t.prototype.getSimplifiedGeometryInternal=function(e){var o=[],r=[];return o.length=Object(b.quantizeMultiArray)(this.flatCoordinates,0,this.endss_,this.stride,Math.sqrt(e),o,0,r),new t(o,n.default.XY,r)},t.prototype.getPolygon=function(e){if(e<0||this.endss_.length<=e)return null;var t;if(0===e)t=0;else{var o=this.endss_[e-1];t=o[o.length-1]}var r=this.endss_[e].slice(),n=r[r.length-1];if(0!==t)for(var i=0,s=r.length;i<s;++i)r[i]-=t;return new a.default(this.flatCoordinates.slice(t,n),this.layout,r)},t.prototype.getPolygons=function(){for(var e=this.layout,t=this.flatCoordinates,o=this.endss_,r=[],n=0,i=0,s=o.length;i<s;++i){var l=o[i].slice(),u=l[l.length-1];if(0!==n)for(var c=0,d=l.length;c<d;++c)l[c]-=n;var p=new a.default(t.slice(n,u),e,l);r.push(p),n=u}return r},t.prototype.getType=function(){return i.default.MULTI_POLYGON},t.prototype.intersectsExtent=function(e){return Object(m.intersectsLinearRingMultiArray)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,e)},t.prototype.setCoordinates=function(e,t){this.setLayout(t,e,3),this.flatCoordinates||(this.flatCoordinates=[]);var o=Object(d.deflateMultiCoordinatesArray)(this.flatCoordinates,0,e,this.stride,this.endss_);if(0===o.length)this.flatCoordinates.length=0;else{var r=o[o.length-1];this.flatCoordinates.length=0===r.length?0:r[r.length-1]}this.changed()},t}(l.default);t.default=C},"./node_modules/ol/geom/Point.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/geom/GeometryType.js"),i=o("./node_modules/ol/geom/SimpleGeometry.js"),s=o("./node_modules/ol/extent.js"),a=o("./node_modules/ol/geom/flat/deflate.js"),l=o("./node_modules/ol/math.js"),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),c=function(e){function t(t,o){var r=e.call(this)||this;return r.setCoordinates(t,o),r}return u(t,e),t.prototype.clone=function(){var e=new t(this.flatCoordinates.slice(),this.layout);return e.applyProperties(this),e},t.prototype.closestPointXY=function(e,t,o,r){var n=this.flatCoordinates,i=Object(l.squaredDistance)(e,t,n[0],n[1]);if(i<r){for(var s=this.stride,a=0;a<s;++a)o[a]=n[a];return o.length=s,i}return r},t.prototype.getCoordinates=function(){return this.flatCoordinates?this.flatCoordinates.slice():[]},t.prototype.computeExtent=function(e){return Object(s.createOrUpdateFromCoordinate)(this.flatCoordinates,e)},t.prototype.getType=function(){return n.default.POINT},t.prototype.intersectsExtent=function(e){return Object(s.containsXY)(e,this.flatCoordinates[0],this.flatCoordinates[1])},t.prototype.setCoordinates=function(e,t){this.setLayout(t,e,0),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Object(a.deflateCoordinate)(this.flatCoordinates,0,e,this.stride),this.changed()},t}(i.default);t.default=c},"./node_modules/ol/geom/Polygon.js":function(e,t,o){"use strict";o.r(t),o.d(t,"circular",(function(){return S})),o.d(t,"fromExtent",(function(){return w})),o.d(t,"fromCircle",(function(){return O})),o.d(t,"makeRegular",(function(){return I}));var r,n=o("./node_modules/ol/geom/GeometryLayout.js"),i=o("./node_modules/ol/geom/GeometryType.js"),s=o("./node_modules/ol/geom/LinearRing.js"),a=o("./node_modules/ol/geom/Point.js"),l=o("./node_modules/ol/geom/SimpleGeometry.js"),u=o("./node_modules/ol/geom/flat/closest.js"),c=o("./node_modules/ol/extent.js"),d=o("./node_modules/ol/geom/flat/deflate.js"),p=o("./node_modules/ol/array.js"),h=o("./node_modules/ol/geom/flat/interiorpoint.js"),f=o("./node_modules/ol/geom/flat/inflate.js"),m=o("./node_modules/ol/geom/flat/intersectsextent.js"),g=o("./node_modules/ol/geom/flat/orient.js"),y=o("./node_modules/ol/geom/flat/area.js"),v=o("./node_modules/ol/geom/flat/contains.js"),_=o("./node_modules/ol/math.js"),b=o("./node_modules/ol/geom/flat/simplify.js"),A=o("./node_modules/ol/sphere.js"),C=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),E=function(e){function t(t,o,r){var n=e.call(this)||this;return n.ends_=[],n.flatInteriorPointRevision_=-1,n.flatInteriorPoint_=null,n.maxDelta_=-1,n.maxDeltaRevision_=-1,n.orientedRevision_=-1,n.orientedFlatCoordinates_=null,void 0!==o&&r?(n.setFlatCoordinates(o,t),n.ends_=r):n.setCoordinates(t,o),n}return C(t,e),t.prototype.appendLinearRing=function(e){this.flatCoordinates?Object(p.extend)(this.flatCoordinates,e.getFlatCoordinates()):this.flatCoordinates=e.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()},t.prototype.clone=function(){var e=new t(this.flatCoordinates.slice(),this.layout,this.ends_.slice());return e.applyProperties(this),e},t.prototype.closestPointXY=function(e,t,o,r){return r<Object(c.closestSquaredDistanceXY)(this.getExtent(),e,t)?r:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(u.arrayMaxSquaredDelta)(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(u.assignClosestArrayPoint)(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!0,e,t,o,r))},t.prototype.containsXY=function(e,t){return Object(v.linearRingsContainsXY)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,e,t)},t.prototype.getArea=function(){return Object(y.linearRings)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride)},t.prototype.getCoordinates=function(e){var t;return void 0!==e?(t=this.getOrientedFlatCoordinates().slice(),Object(g.orientLinearRings)(t,0,this.ends_,this.stride,e)):t=this.flatCoordinates,Object(f.inflateCoordinatesArray)(t,0,this.ends_,this.stride)},t.prototype.getEnds=function(){return this.ends_},t.prototype.getFlatInteriorPoint=function(){if(this.flatInteriorPointRevision_!=this.getRevision()){var e=Object(c.getCenter)(this.getExtent());this.flatInteriorPoint_=Object(h.getInteriorPointOfArray)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,e,0),this.flatInteriorPointRevision_=this.getRevision()}return this.flatInteriorPoint_},t.prototype.getInteriorPoint=function(){return new a.default(this.getFlatInteriorPoint(),n.default.XYM)},t.prototype.getLinearRingCount=function(){return this.ends_.length},t.prototype.getLinearRing=function(e){return e<0||this.ends_.length<=e?null:new s.default(this.flatCoordinates.slice(0===e?0:this.ends_[e-1],this.ends_[e]),this.layout)},t.prototype.getLinearRings=function(){for(var e=this.layout,t=this.flatCoordinates,o=this.ends_,r=[],n=0,i=0,a=o.length;i<a;++i){var l=o[i],u=new s.default(t.slice(n,l),e);r.push(u),n=l}return r},t.prototype.getOrientedFlatCoordinates=function(){if(this.orientedRevision_!=this.getRevision()){var e=this.flatCoordinates;Object(g.linearRingsAreOriented)(e,0,this.ends_,this.stride)?this.orientedFlatCoordinates_=e:(this.orientedFlatCoordinates_=e.slice(),this.orientedFlatCoordinates_.length=Object(g.orientLinearRings)(this.orientedFlatCoordinates_,0,this.ends_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_},t.prototype.getSimplifiedGeometryInternal=function(e){var o=[],r=[];return o.length=Object(b.quantizeArray)(this.flatCoordinates,0,this.ends_,this.stride,Math.sqrt(e),o,0,r),new t(o,n.default.XY,r)},t.prototype.getType=function(){return i.default.POLYGON},t.prototype.intersectsExtent=function(e){return Object(m.intersectsLinearRingArray)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,e)},t.prototype.setCoordinates=function(e,t){this.setLayout(t,e,2),this.flatCoordinates||(this.flatCoordinates=[]);var o=Object(d.deflateCoordinatesArray)(this.flatCoordinates,0,e,this.stride,this.ends_);this.flatCoordinates.length=0===o.length?0:o[o.length-1],this.changed()},t}(l.default);function S(e,t,o,r){for(var i=o||32,s=[],a=0;a<i;++a)Object(p.extend)(s,Object(A.offset)(e,t,2*Math.PI*a/i,r));return s.push(s[0],s[1]),new E(s,n.default.XY,[s.length])}function w(e){var t=e[0],o=e[1],r=e[2],i=e[3],s=[t,o,t,i,r,i,r,o,t,o];return new E(s,n.default.XY,[s.length])}function O(e,t,o){for(var r=t||32,n=e.getStride(),i=e.getLayout(),s=e.getCenter(),a=n*(r+1),l=new Array(a),u=0;u<a;u+=n){l[u]=0,l[u+1]=0;for(var c=2;c<n;c++)l[u+c]=s[c]}var d=[l.length],p=new E(l,i,d);return I(p,s,e.getRadius(),o),p}function I(e,t,o,r){for(var n=e.getFlatCoordinates(),i=e.getStride(),s=n.length/i-1,a=r||0,l=0;l<=s;++l){var u=l*i,c=a+2*Object(_.modulo)(l,s)*Math.PI/s;n[u]=t[0]+o*Math.cos(c),n[u+1]=t[1]+o*Math.sin(c)}e.changed()}t.default=E},"./node_modules/ol/geom/SimpleGeometry.js":function(e,t,o){"use strict";o.r(t),o.d(t,"getStrideForLayout",(function(){return d})),o.d(t,"transformGeom2D",(function(){return p}));var r,n=o("./node_modules/ol/geom/Geometry.js"),i=o("./node_modules/ol/geom/GeometryLayout.js"),s=o("./node_modules/ol/util.js"),a=o("./node_modules/ol/extent.js"),l=o("./node_modules/ol/geom/flat/transform.js"),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),c=function(e){function t(){var t=e.call(this)||this;return t.layout=i.default.XY,t.stride=2,t.flatCoordinates=null,t}return u(t,e),t.prototype.computeExtent=function(e){return Object(a.createOrUpdateFromFlatCoordinates)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e)},t.prototype.getCoordinates=function(){return Object(s.abstract)()},t.prototype.getFirstCoordinate=function(){return this.flatCoordinates.slice(0,this.stride)},t.prototype.getFlatCoordinates=function(){return this.flatCoordinates},t.prototype.getLastCoordinate=function(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)},t.prototype.getLayout=function(){return this.layout},t.prototype.getSimplifiedGeometry=function(e){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),e<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&e<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;var t=this.getSimplifiedGeometryInternal(e);return t.getFlatCoordinates().length<this.flatCoordinates.length?t:(this.simplifiedGeometryMaxMinSquaredTolerance=e,this)},t.prototype.getSimplifiedGeometryInternal=function(e){return this},t.prototype.getStride=function(){return this.stride},t.prototype.setFlatCoordinates=function(e,t){this.stride=d(e),this.layout=e,this.flatCoordinates=t},t.prototype.setCoordinates=function(e,t){Object(s.abstract)()},t.prototype.setLayout=function(e,t,o){var r;if(e)r=d(e);else{for(var n=0;n<o;++n){if(0===t.length)return this.layout=i.default.XY,void(this.stride=2);t=t[0]}e=function(e){var t;2==e?t=i.default.XY:3==e?t=i.default.XYZ:4==e&&(t=i.default.XYZM);return t}(r=t.length)}this.layout=e,this.stride=r},t.prototype.applyTransform=function(e){this.flatCoordinates&&(e(this.flatCoordinates,this.flatCoordinates,this.stride),this.changed())},t.prototype.rotate=function(e,t){var o=this.getFlatCoordinates();if(o){var r=this.getStride();Object(l.rotate)(o,0,o.length,r,e,t,o),this.changed()}},t.prototype.scale=function(e,t,o){var r=t;void 0===r&&(r=e);var n=o;n||(n=Object(a.getCenter)(this.getExtent()));var i=this.getFlatCoordinates();if(i){var s=this.getStride();Object(l.scale)(i,0,i.length,s,e,r,n,i),this.changed()}},t.prototype.translate=function(e,t){var o=this.getFlatCoordinates();if(o){var r=this.getStride();Object(l.translate)(o,0,o.length,r,e,t,o),this.changed()}},t}(n.default);function d(e){var t;return e==i.default.XY?t=2:e==i.default.XYZ||e==i.default.XYM?t=3:e==i.default.XYZM&&(t=4),t}function p(e,t,o){var r=e.getFlatCoordinates();if(r){var n=e.getStride();return Object(l.transform2D)(r,0,r.length,n,t,o)}return null}t.default=c},"./node_modules/ol/geom/flat/area.js":function(e,t,o){"use strict";function r(e,t,o,r){for(var n=0,i=e[o-r],s=e[o-r+1];t<o;t+=r){var a=e[t],l=e[t+1];n+=s*a-i*l,i=a,s=l}return n/2}function n(e,t,o,n){for(var i=0,s=0,a=o.length;s<a;++s){var l=o[s];i+=r(e,t,l,n),t=l}return i}function i(e,t,o,r){for(var i=0,s=0,a=o.length;s<a;++s){var l=o[s];i+=n(e,t,l,r),t=l[l.length-1]}return i}o.r(t),o.d(t,"linearRing",(function(){return r})),o.d(t,"linearRings",(function(){return n})),o.d(t,"linearRingss",(function(){return i}))},"./node_modules/ol/geom/flat/center.js":function(e,t,o){"use strict";o.r(t),o.d(t,"linearRingss",(function(){return n}));var r=o("./node_modules/ol/extent.js");function n(e,t,o,n){for(var i=[],s=Object(r.createEmpty)(),a=0,l=o.length;a<l;++a){var u=o[a];s=Object(r.createOrUpdateFromFlatCoordinates)(e,t,u[0],n),i.push((s[0]+s[2])/2,(s[1]+s[3])/2),t=u[u.length-1]}return i}},"./node_modules/ol/geom/flat/closest.js":function(e,t,o){"use strict";o.r(t),o.d(t,"maxSquaredDelta",(function(){return i})),o.d(t,"arrayMaxSquaredDelta",(function(){return s})),o.d(t,"multiArrayMaxSquaredDelta",(function(){return a})),o.d(t,"assignClosestPoint",(function(){return l})),o.d(t,"assignClosestArrayPoint",(function(){return u})),o.d(t,"assignClosestMultiArrayPoint",(function(){return c}));var r=o("./node_modules/ol/math.js");function n(e,t,o,n,i,s,a){var l,u=e[t],c=e[t+1],d=e[o]-u,p=e[o+1]-c;if(0===d&&0===p)l=t;else{var h=((i-u)*d+(s-c)*p)/(d*d+p*p);if(h>1)l=o;else{if(h>0){for(var f=0;f<n;++f)a[f]=Object(r.lerp)(e[t+f],e[o+f],h);return void(a.length=n)}l=t}}for(f=0;f<n;++f)a[f]=e[l+f];a.length=n}function i(e,t,o,n,i){var s=e[t],a=e[t+1];for(t+=n;t<o;t+=n){var l=e[t],u=e[t+1],c=Object(r.squaredDistance)(s,a,l,u);c>i&&(i=c),s=l,a=u}return i}function s(e,t,o,r,n){for(var s=0,a=o.length;s<a;++s){var l=o[s];n=i(e,t,l,r,n),t=l}return n}function a(e,t,o,r,n){for(var i=0,a=o.length;i<a;++i){var l=o[i];n=s(e,t,l,r,n),t=l[l.length-1]}return n}function l(e,t,o,i,s,a,l,u,c,d,p){if(t==o)return d;var h,f;if(0===s){if((f=Object(r.squaredDistance)(l,u,e[t],e[t+1]))<d){for(h=0;h<i;++h)c[h]=e[t+h];return c.length=i,f}return d}for(var m=p||[NaN,NaN],g=t+i;g<o;)if(n(e,g-i,g,i,l,u,m),(f=Object(r.squaredDistance)(l,u,m[0],m[1]))<d){for(d=f,h=0;h<i;++h)c[h]=m[h];c.length=i,g+=i}else g+=i*Math.max((Math.sqrt(f)-Math.sqrt(d))/s|0,1);if(a&&(n(e,o-i,t,i,l,u,m),(f=Object(r.squaredDistance)(l,u,m[0],m[1]))<d)){for(d=f,h=0;h<i;++h)c[h]=m[h];c.length=i}return d}function u(e,t,o,r,n,i,s,a,u,c,d){for(var p=d||[NaN,NaN],h=0,f=o.length;h<f;++h){var m=o[h];c=l(e,t,m,r,n,i,s,a,u,c,p),t=m}return c}function c(e,t,o,r,n,i,s,a,l,c,d){for(var p=d||[NaN,NaN],h=0,f=o.length;h<f;++h){var m=o[h];c=u(e,t,m,r,n,i,s,a,l,c,p),t=m[m.length-1]}return c}},"./node_modules/ol/geom/flat/contains.js":function(e,t,o){"use strict";o.r(t),o.d(t,"linearRingContainsExtent",(function(){return n})),o.d(t,"linearRingContainsXY",(function(){return i})),o.d(t,"linearRingsContainsXY",(function(){return s})),o.d(t,"linearRingssContainsXY",(function(){return a}));var r=o("./node_modules/ol/extent.js");function n(e,t,o,n,s){return!Object(r.forEachCorner)(s,(function(r){return!i(e,t,o,n,r[0],r[1])}))}function i(e,t,o,r,n,i){for(var s=0,a=e[o-r],l=e[o-r+1];t<o;t+=r){var u=e[t],c=e[t+1];l<=i?c>i&&(u-a)*(i-l)-(n-a)*(c-l)>0&&s++:c<=i&&(u-a)*(i-l)-(n-a)*(c-l)<0&&s--,a=u,l=c}return 0!==s}function s(e,t,o,r,n,s){if(0===o.length)return!1;if(!i(e,t,o[0],r,n,s))return!1;for(var a=1,l=o.length;a<l;++a)if(i(e,o[a-1],o[a],r,n,s))return!1;return!0}function a(e,t,o,r,n,i){if(0===o.length)return!1;for(var a=0,l=o.length;a<l;++a){var u=o[a];if(s(e,t,u,r,n,i))return!0;t=u[u.length-1]}return!1}},"./node_modules/ol/geom/flat/deflate.js":function(e,t,o){"use strict";function r(e,t,o,r){for(var n=0,i=o.length;n<i;++n)e[t++]=o[n];return t}function n(e,t,o,r){for(var n=0,i=o.length;n<i;++n)for(var s=o[n],a=0;a<r;++a)e[t++]=s[a];return t}function i(e,t,o,r,i){for(var s=i||[],a=0,l=0,u=o.length;l<u;++l){var c=n(e,t,o[l],r);s[a++]=c,t=c}return s.length=a,s}function s(e,t,o,r,n){for(var s=n||[],a=0,l=0,u=o.length;l<u;++l){var c=i(e,t,o[l],r,s[a]);s[a++]=c,t=c[c.length-1]}return s.length=a,s}o.r(t),o.d(t,"deflateCoordinate",(function(){return r})),o.d(t,"deflateCoordinates",(function(){return n})),o.d(t,"deflateCoordinatesArray",(function(){return i})),o.d(t,"deflateMultiCoordinatesArray",(function(){return s}))},"./node_modules/ol/geom/flat/flip.js":function(e,t,o){"use strict";function r(e,t,o,r,n,i){var s,a;void 0!==n?(s=n,a=void 0!==i?i:0):(s=[],a=0);for(var l=t;l<o;){var u=e[l++];s[a++]=e[l++],s[a++]=u;for(var c=2;c<r;++c)s[a++]=e[l++]}return s.length=a,s}o.r(t),o.d(t,"flipXY",(function(){return r}))},"./node_modules/ol/geom/flat/geodesic.js":function(e,t,o){"use strict";o.r(t),o.d(t,"greatCircleArc",(function(){return s})),o.d(t,"meridian",(function(){return a})),o.d(t,"parallel",(function(){return l}));var r=o("./node_modules/ol/proj.js"),n=o("./node_modules/ol/math.js");function i(e,t,o){for(var r,i,s,a,l,u,c=[],d=e(0),p=e(1),h=t(d),f=t(p),m=[p,d],g=[f,h],y=[1,0],v={},_=1e5;--_>0&&y.length>0;)s=y.pop(),d=m.pop(),h=g.pop(),(u=s.toString())in v||(c.push(h[0],h[1]),v[u]=!0),a=y.pop(),p=m.pop(),f=g.pop(),i=t(r=e(l=(s+a)/2)),Object(n.squaredSegmentDistance)(i[0],i[1],h[0],h[1],f[0],f[1])<o?(c.push(f[0],f[1]),v[u=a.toString()]=!0):(y.push(a,l,l,s),g.push(f,i,i,h),m.push(p,r,r,d));return c}function s(e,t,o,s,a,l){var u=Object(r.get)("EPSG:4326"),c=Math.cos(Object(n.toRadians)(t)),d=Math.sin(Object(n.toRadians)(t)),p=Math.cos(Object(n.toRadians)(s)),h=Math.sin(Object(n.toRadians)(s)),f=Math.cos(Object(n.toRadians)(o-e)),m=Math.sin(Object(n.toRadians)(o-e)),g=d*h+c*p*f;return i((function(t){if(1<=g)return[o,s];var r=t*Math.acos(g),i=Math.cos(r),a=Math.sin(r),l=m*p,u=c*h-d*p*f,y=Math.atan2(l,u),v=Math.asin(d*i+c*a*Math.cos(y)),_=Object(n.toRadians)(e)+Math.atan2(Math.sin(y)*a*c,i-d*Math.sin(v));return[Object(n.toDegrees)(_),Object(n.toDegrees)(v)]}),Object(r.getTransform)(u,a),l)}function a(e,t,o,n,s){var a=Object(r.get)("EPSG:4326");return i((function(r){return[e,t+(o-t)*r]}),Object(r.getTransform)(a,n),s)}function l(e,t,o,n,s){var a=Object(r.get)("EPSG:4326");return i((function(r){return[t+(o-t)*r,e]}),Object(r.getTransform)(a,n),s)}},"./node_modules/ol/geom/flat/inflate.js":function(e,t,o){"use strict";function r(e,t,o,r,n){for(var i=void 0!==n?n:[],s=0,a=t;a<o;a+=r)i[s++]=e.slice(a,a+r);return i.length=s,i}function n(e,t,o,n,i){for(var s=void 0!==i?i:[],a=0,l=0,u=o.length;l<u;++l){var c=o[l];s[a++]=r(e,t,c,n,s[a]),t=c}return s.length=a,s}function i(e,t,o,r,i){for(var s=void 0!==i?i:[],a=0,l=0,u=o.length;l<u;++l){var c=o[l];s[a++]=n(e,t,c,r,s[a]),t=c[c.length-1]}return s.length=a,s}o.r(t),o.d(t,"inflateCoordinates",(function(){return r})),o.d(t,"inflateCoordinatesArray",(function(){return n})),o.d(t,"inflateMultiCoordinatesArray",(function(){return i}))},"./node_modules/ol/geom/flat/interiorpoint.js":function(e,t,o){"use strict";o.r(t),o.d(t,"getInteriorPointOfArray",(function(){return i})),o.d(t,"getInteriorPointsOfMultiArray",(function(){return s}));var r=o("./node_modules/ol/geom/flat/contains.js"),n=o("./node_modules/ol/array.js");function i(e,t,o,i,s,a,l){for(var u,c,d,p,h,f,m,g=s[a+1],y=[],v=0,_=o.length;v<_;++v){var b=o[v];for(p=e[b-i],f=e[b-i+1],u=t;u<b;u+=i)h=e[u],m=e[u+1],(g<=f&&m<=g||f<=g&&g<=m)&&(d=(g-f)/(m-f)*(h-p)+p,y.push(d)),p=h,f=m}var A=NaN,C=-1/0;for(y.sort(n.numberSafeCompareFunction),p=y[0],u=1,c=y.length;u<c;++u){h=y[u];var E=Math.abs(h-p);E>C&&(d=(p+h)/2,Object(r.linearRingsContainsXY)(e,t,o,i,d,g)&&(A=d,C=E)),p=h}return isNaN(A)&&(A=s[a]),l?(l.push(A,g,C),l):[A,g,C]}function s(e,t,o,r,n){for(var s=[],a=0,l=o.length;a<l;++a){var u=o[a];s=i(e,t,u,r,n,2*a,s),t=u[u.length-1]}return s}},"./node_modules/ol/geom/flat/interpolate.js":function(e,t,o){"use strict";o.r(t),o.d(t,"interpolatePoint",(function(){return i})),o.d(t,"lineStringCoordinateAtM",(function(){return s})),o.d(t,"lineStringsCoordinateAtM",(function(){return a}));var r=o("./node_modules/ol/array.js"),n=o("./node_modules/ol/math.js");function i(e,t,o,i,s,a,l){var u,c,d=(o-t)/i;if(1===d)u=t;else if(2===d)u=t,c=s;else if(0!==d){for(var p=e[t],h=e[t+1],f=0,m=[0],g=t+i;g<o;g+=i){var y=e[g],v=e[g+1];f+=Math.sqrt((y-p)*(y-p)+(v-h)*(v-h)),m.push(f),p=y,h=v}var _=s*f,b=Object(r.binarySearch)(m,_);b<0?(c=(_-m[-b-2])/(m[-b-1]-m[-b-2]),u=t+(-b-2)*i):u=t+b*i}var A=l>1?l:2,C=a||new Array(A);for(g=0;g<A;++g)C[g]=void 0===u?NaN:void 0===c?e[u+g]:Object(n.lerp)(e[u+g],e[u+i+g],c);return C}function s(e,t,o,r,i,s){if(o==t)return null;var a;if(i<e[t+r-1])return s?((a=e.slice(t,t+r))[r-1]=i,a):null;if(e[o-1]<i)return s?((a=e.slice(o-r,o))[r-1]=i,a):null;if(i==e[t+r-1])return e.slice(t,t+r);for(var l=t/r,u=o/r;l<u;){var c=l+u>>1;i<e[(c+1)*r-1]?u=c:l=c+1}var d=e[l*r-1];if(i==d)return e.slice((l-1)*r,(l-1)*r+r);var p=(i-d)/(e[(l+1)*r-1]-d);a=[];for(var h=0;h<r-1;++h)a.push(Object(n.lerp)(e[(l-1)*r+h],e[l*r+h],p));return a.push(i),a}function a(e,t,o,r,n,i,a){if(a)return s(e,t,o[o.length-1],r,n,i);var l;if(n<e[r-1])return i?((l=e.slice(0,r))[r-1]=n,l):null;if(e[e.length-1]<n)return i?((l=e.slice(e.length-r))[r-1]=n,l):null;for(var u=0,c=o.length;u<c;++u){var d=o[u];if(t!=d){if(n<e[t+r-1])return null;if(n<=e[d-1])return s(e,t,d,r,n,!1);t=d}}return null}},"./node_modules/ol/geom/flat/intersectsextent.js":function(e,t,o){"use strict";o.r(t),o.d(t,"intersectsLineString",(function(){return s})),o.d(t,"intersectsLineStringArray",(function(){return a})),o.d(t,"intersectsLinearRing",(function(){return l})),o.d(t,"intersectsLinearRingArray",(function(){return u})),o.d(t,"intersectsLinearRingMultiArray",(function(){return c}));var r=o("./node_modules/ol/extent.js"),n=o("./node_modules/ol/geom/flat/segments.js"),i=o("./node_modules/ol/geom/flat/contains.js");function s(e,t,o,i,s){var a=Object(r.extendFlatCoordinates)(Object(r.createEmpty)(),e,t,o,i);return!!Object(r.intersects)(s,a)&&(!!Object(r.containsExtent)(s,a)||(a[0]>=s[0]&&a[2]<=s[2]||(a[1]>=s[1]&&a[3]<=s[3]||Object(n.forEach)(e,t,o,i,(function(e,t){return Object(r.intersectsSegment)(s,e,t)})))))}function a(e,t,o,r,n){for(var i=0,a=o.length;i<a;++i){if(s(e,t,o[i],r,n))return!0;t=o[i]}return!1}function l(e,t,o,r,n){return!!s(e,t,o,r,n)||(!!Object(i.linearRingContainsXY)(e,t,o,r,n[0],n[1])||(!!Object(i.linearRingContainsXY)(e,t,o,r,n[0],n[3])||(!!Object(i.linearRingContainsXY)(e,t,o,r,n[2],n[1])||!!Object(i.linearRingContainsXY)(e,t,o,r,n[2],n[3]))))}function u(e,t,o,r,n){if(!l(e,t,o[0],r,n))return!1;if(1===o.length)return!0;for(var a=1,u=o.length;a<u;++a)if(Object(i.linearRingContainsExtent)(e,o[a-1],o[a],r,n)&&!s(e,o[a-1],o[a],r,n))return!1;return!0}function c(e,t,o,r,n){for(var i=0,s=o.length;i<s;++i){var a=o[i];if(u(e,t,a,r,n))return!0;t=a[a.length-1]}return!1}},"./node_modules/ol/geom/flat/length.js":function(e,t,o){"use strict";function r(e,t,o,r){for(var n=e[t],i=e[t+1],s=0,a=t+r;a<o;a+=r){var l=e[a],u=e[a+1];s+=Math.sqrt((l-n)*(l-n)+(u-i)*(u-i)),n=l,i=u}return s}function n(e,t,o,n){var i=r(e,t,o,n),s=e[o-n]-e[t],a=e[o-n+1]-e[t+1];return i+=Math.sqrt(s*s+a*a)}o.r(t),o.d(t,"lineStringLength",(function(){return r})),o.d(t,"linearRingLength",(function(){return n}))},"./node_modules/ol/geom/flat/orient.js":function(e,t,o){"use strict";o.r(t),o.d(t,"linearRingIsClockwise",(function(){return n})),o.d(t,"linearRingsAreOriented",(function(){return i})),o.d(t,"linearRingssAreOriented",(function(){return s})),o.d(t,"orientLinearRings",(function(){return a})),o.d(t,"orientLinearRingsArray",(function(){return l}));var r=o("./node_modules/ol/geom/flat/reverse.js");function n(e,t,o,r){for(var n=0,i=e[o-r],s=e[o-r+1];t<o;t+=r){var a=e[t],l=e[t+1];n+=(a-i)*(l+s),i=a,s=l}return 0===n?void 0:n>0}function i(e,t,o,r,i){for(var s=void 0!==i&&i,a=0,l=o.length;a<l;++a){var u=o[a],c=n(e,t,u,r);if(0===a){if(s&&c||!s&&!c)return!1}else if(s&&!c||!s&&c)return!1;t=u}return!0}function s(e,t,o,r,n){for(var s=0,a=o.length;s<a;++s){var l=o[s];if(!i(e,t,l,r,n))return!1;l.length&&(t=l[l.length-1])}return!0}function a(e,t,o,i,s){for(var a=void 0!==s&&s,l=0,u=o.length;l<u;++l){var c=o[l],d=n(e,t,c,i);(0===l?a&&d||!a&&!d:a&&!d||!a&&d)&&Object(r.coordinates)(e,t,c,i),t=c}return t}function l(e,t,o,r,n){for(var i=0,s=o.length;i<s;++i)t=a(e,t,o[i],r,n);return t}},"./node_modules/ol/geom/flat/reverse.js":function(e,t,o){"use strict";function r(e,t,o,r){for(;t<o-r;){for(var n=0;n<r;++n){var i=e[t+n];e[t+n]=e[o-r+n],e[o-r+n]=i}t+=r,o-=r}}o.r(t),o.d(t,"coordinates",(function(){return r}))},"./node_modules/ol/geom/flat/segments.js":function(e,t,o){"use strict";function r(e,t,o,r,n){var i;for(t+=r;t<o;t+=r)if(i=n(e.slice(t-r,t),e.slice(t,t+r)))return i;return!1}o.r(t),o.d(t,"forEach",(function(){return r}))},"./node_modules/ol/geom/flat/simplify.js":function(e,t,o){"use strict";o.r(t),o.d(t,"simplifyLineString",(function(){return n})),o.d(t,"douglasPeucker",(function(){return i})),o.d(t,"douglasPeuckerArray",(function(){return s})),o.d(t,"douglasPeuckerMultiArray",(function(){return a})),o.d(t,"radialDistance",(function(){return l})),o.d(t,"snap",(function(){return u})),o.d(t,"quantize",(function(){return c})),o.d(t,"quantizeArray",(function(){return d})),o.d(t,"quantizeMultiArray",(function(){return p}));var r=o("./node_modules/ol/math.js");function n(e,t,o,r,n,s,a){var u=void 0!==a?a:[];return s||(o=l(e,t,o,r,n,u,0),e=u,t=0,r=2),u.length=i(e,t,o,r,n,u,0),u}function i(e,t,o,n,i,s,a){var l=(o-t)/n;if(l<3){for(;t<o;t+=n)s[a++]=e[t],s[a++]=e[t+1];return a}var u=new Array(l);u[0]=1,u[l-1]=1;for(var c=[t,o-n],d=0;c.length>0;){for(var p=c.pop(),h=c.pop(),f=0,m=e[h],g=e[h+1],y=e[p],v=e[p+1],_=h+n;_<p;_+=n){var b=e[_],A=e[_+1],C=Object(r.squaredSegmentDistance)(b,A,m,g,y,v);C>f&&(d=_,f=C)}f>i&&(u[(d-t)/n]=1,h+n<d&&c.push(h,d),d+n<p&&c.push(d,p))}for(_=0;_<l;++_)u[_]&&(s[a++]=e[t+_*n],s[a++]=e[t+_*n+1]);return a}function s(e,t,o,r,n,s,a,l){for(var u=0,c=o.length;u<c;++u){var d=o[u];a=i(e,t,d,r,n,s,a),l.push(a),t=d}return a}function a(e,t,o,r,n,i,a,l){for(var u=0,c=o.length;u<c;++u){var d=o[u],p=[];a=s(e,t,d,r,n,i,a,p),l.push(p),t=d[d.length-1]}return a}function l(e,t,o,n,i,s,a){if(o<=t+n){for(;t<o;t+=n)s[a++]=e[t],s[a++]=e[t+1];return a}var l=e[t],u=e[t+1];s[a++]=l,s[a++]=u;var c=l,d=u;for(t+=n;t<o;t+=n)c=e[t],d=e[t+1],Object(r.squaredDistance)(l,u,c,d)>i&&(s[a++]=c,s[a++]=d,l=c,u=d);return c==l&&d==u||(s[a++]=c,s[a++]=d),a}function u(e,t){return t*Math.round(e/t)}function c(e,t,o,r,n,i,s){if(t==o)return s;var a,l,c=u(e[t],n),d=u(e[t+1],n);t+=r,i[s++]=c,i[s++]=d;do{if(a=u(e[t],n),l=u(e[t+1],n),(t+=r)==o)return i[s++]=a,i[s++]=l,s}while(a==c&&l==d);for(;t<o;){var p=u(e[t],n),h=u(e[t+1],n);if(t+=r,p!=a||h!=l){var f=a-c,m=l-d,g=p-c,y=h-d;f*y==m*g&&(f<0&&g<f||f==g||f>0&&g>f)&&(m<0&&y<m||m==y||m>0&&y>m)?(a=p,l=h):(i[s++]=a,i[s++]=l,c=a,d=l,a=p,l=h)}}return i[s++]=a,i[s++]=l,s}function d(e,t,o,r,n,i,s,a){for(var l=0,u=o.length;l<u;++l){var d=o[l];s=c(e,t,d,r,n,i,s),a.push(s),t=d}return s}function p(e,t,o,r,n,i,s,a){for(var l=0,u=o.length;l<u;++l){var c=o[l],p=[];s=d(e,t,c,r,n,i,s,p),a.push(p),t=c[c.length-1]}return s}},"./node_modules/ol/geom/flat/straightchunk.js":function(e,t,o){"use strict";function r(e,t,o,r,n){var i,s,a,l,u,c,d,p,h,f=o,m=o,g=0,y=0,v=o;for(i=o;i<r;i+=n){var _=t[i],b=t[i+1];void 0!==l&&(p=_-l,h=b-u,a=Math.sqrt(p*p+h*h),void 0!==c&&(y+=s,Math.acos((c*p+d*h)/(s*a))>e&&(y>g&&(g=y,f=v,m=i),y=0,v=i-n)),s=a,c=p,d=h),l=_,u=b}return(y+=a)>g?[v,i]:[f,m]}o.r(t),o.d(t,"matchingChunk",(function(){return r}))},"./node_modules/ol/geom/flat/textpath.js":function(e,t,o){"use strict";o.r(t),o.d(t,"drawTextOnPath",(function(){return i}));var r=o("./node_modules/ol/math.js"),n=o("./node_modules/ol/geom/flat/transform.js");function i(e,t,o,i,s,a,l,u,c,d,p,h){var f=e[t],m=e[t+1],g=0,y=0,v=0,_=0;function b(){g=f,y=m,f=e[t+=i],m=e[t+1],_+=v,v=Math.sqrt((f-g)*(f-g)+(m-y)*(m-y))}do{b()}while(t<o-i&&_+v<a);for(var A=0===v?0:(a-_)/v,C=Object(r.lerp)(g,f,A),E=Object(r.lerp)(y,m,A),S=t-i,w=_,O=a+u*c(d,s,p);t<o-i&&_+v<O;)b();A=0===v?0:(O-_)/v;var I,x=Object(r.lerp)(g,f,A),j=Object(r.lerp)(y,m,A);if(h){var T=[C,E,x,j];Object(n.rotate)(T,0,4,2,h,T,T),I=T[0]>T[2]}else I=C>x;var P,M=Math.PI,R=[],L=S+i===t;if(v=0,_=w,f=e[t=S],m=e[t+1],L){b(),P=Math.atan2(m-y,f-g),I&&(P+=P>0?-M:M);var k=(x+C)/2,N=(j+E)/2;return R[0]=[k,N,(O-a)/2,P,s],R}for(var D=0,G=s.length;D<G;){b();var F=Math.atan2(m-y,f-g);if(I&&(F+=F>0?-M:M),void 0!==P){var U=F-P;if(U+=U>M?-2*M:U<-M?2*M:0,Math.abs(U)>l)return null}P=F;for(var B=D,z=0;D<G;++D){var V=u*c(d,s[I?G-D-1:D],p);if(t+i<o&&_+v<a+z+V/2)break;z+=V}if(D!==B){var W=I?s.substring(G-B,G-D):s.substring(B,D);A=0===v?0:(a+z/2-_)/v;k=Object(r.lerp)(g,f,A),N=Object(r.lerp)(y,m,A);R.push([k,N,z/2,F,W]),a+=z}}return R}},"./node_modules/ol/geom/flat/topology.js":function(e,t,o){"use strict";o.r(t),o.d(t,"lineStringIsClosed",(function(){return n}));var r=o("./node_modules/ol/geom/flat/area.js");function n(e,t,o,n){var i=o-n;return e[t]===e[i]&&e[t+1]===e[i+1]&&(o-t)/n>3&&!!Object(r.linearRing)(e,t,o,n)}},"./node_modules/ol/geom/flat/transform.js":function(e,t,o){"use strict";function r(e,t,o,r,n,i){for(var s=i||[],a=0,l=t;l<o;l+=r){var u=e[l],c=e[l+1];s[a++]=n[0]*u+n[2]*c+n[4],s[a++]=n[1]*u+n[3]*c+n[5]}return i&&s.length!=a&&(s.length=a),s}function n(e,t,o,r,n,i,s){for(var a=s||[],l=Math.cos(n),u=Math.sin(n),c=i[0],d=i[1],p=0,h=t;h<o;h+=r){var f=e[h]-c,m=e[h+1]-d;a[p++]=c+f*l-m*u,a[p++]=d+f*u+m*l;for(var g=h+2;g<h+r;++g)a[p++]=e[g]}return s&&a.length!=p&&(a.length=p),a}function i(e,t,o,r,n,i,s,a){for(var l=a||[],u=s[0],c=s[1],d=0,p=t;p<o;p+=r){var h=e[p]-u,f=e[p+1]-c;l[d++]=u+n*h,l[d++]=c+i*f;for(var m=p+2;m<p+r;++m)l[d++]=e[m]}return a&&l.length!=d&&(l.length=d),l}function s(e,t,o,r,n,i,s){for(var a=s||[],l=0,u=t;u<o;u+=r){a[l++]=e[u]+n,a[l++]=e[u+1]+i;for(var c=u+2;c<u+r;++c)a[l++]=e[c]}return s&&a.length!=l&&(a.length=l),a}o.r(t),o.d(t,"transform2D",(function(){return r})),o.d(t,"rotate",(function(){return n})),o.d(t,"scale",(function(){return i})),o.d(t,"translate",(function(){return s}))},"./node_modules/ol/has.js":function(e,t,o){"use strict";o.r(t),o.d(t,"FIREFOX",(function(){return n})),o.d(t,"SAFARI",(function(){return i})),o.d(t,"WEBKIT",(function(){return s})),o.d(t,"MAC",(function(){return a})),o.d(t,"DEVICE_PIXEL_RATIO",(function(){return l})),o.d(t,"WORKER_OFFSCREEN_CANVAS",(function(){return u})),o.d(t,"IMAGE_DECODE",(function(){return c})),o.d(t,"PASSIVE_EVENT_LISTENERS",(function(){return d}));var r="undefined"!=typeof navigator&&void 0!==navigator.userAgent?navigator.userAgent.toLowerCase():"",n=-1!==r.indexOf("firefox"),i=-1!==r.indexOf("safari")&&-1==r.indexOf("chrom"),s=-1!==r.indexOf("webkit")&&-1==r.indexOf("edge"),a=-1!==r.indexOf("macintosh"),l="undefined"!=typeof devicePixelRatio?devicePixelRatio:1,u="undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof OffscreenCanvas&&self instanceof WorkerGlobalScope,c="undefined"!=typeof Image&&Image.prototype.decode,d=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("_",null,t),window.removeEventListener("_",null,t)}catch(e){}return e}()},"./node_modules/ol/interaction.js":function(e,t,o){"use strict";o.r(t),o.d(t,"defaults",(function(){return w}));var r=o("./node_modules/ol/Collection.js"),n=o("./node_modules/ol/interaction/DoubleClickZoom.js"),i=o("./node_modules/ol/interaction/DragPan.js"),s=o("./node_modules/ol/interaction/DragRotate.js"),a=o("./node_modules/ol/interaction/DragZoom.js"),l=o("./node_modules/ol/interaction/KeyboardPan.js"),u=o("./node_modules/ol/interaction/KeyboardZoom.js"),c=o("./node_modules/ol/Kinetic.js"),d=o("./node_modules/ol/interaction/MouseWheelZoom.js"),p=o("./node_modules/ol/interaction/PinchRotate.js"),h=o("./node_modules/ol/interaction/PinchZoom.js");o.d(t,"DoubleClickZoom",(function(){return n.default}));var f=o("./node_modules/ol/interaction/DragAndDrop.js");o.d(t,"DragAndDrop",(function(){return f.default}));var m=o("./node_modules/ol/interaction/DragBox.js");o.d(t,"DragBox",(function(){return m.default})),o.d(t,"DragPan",(function(){return i.default})),o.d(t,"DragRotate",(function(){return s.default}));var g=o("./node_modules/ol/interaction/DragRotateAndZoom.js");o.d(t,"DragRotateAndZoom",(function(){return g.default})),o.d(t,"DragZoom",(function(){return a.default}));var y=o("./node_modules/ol/interaction/Draw.js");o.d(t,"Draw",(function(){return y.default}));var v=o("./node_modules/ol/interaction/Extent.js");o.d(t,"Extent",(function(){return v.default}));var _=o("./node_modules/ol/interaction/Interaction.js");o.d(t,"Interaction",(function(){return _.default})),o.d(t,"KeyboardPan",(function(){return l.default})),o.d(t,"KeyboardZoom",(function(){return u.default}));var b=o("./node_modules/ol/interaction/Modify.js");o.d(t,"Modify",(function(){return b.default})),o.d(t,"MouseWheelZoom",(function(){return d.default})),o.d(t,"PinchRotate",(function(){return p.default})),o.d(t,"PinchZoom",(function(){return h.default}));var A=o("./node_modules/ol/interaction/Pointer.js");o.d(t,"Pointer",(function(){return A.default}));var C=o("./node_modules/ol/interaction/Select.js");o.d(t,"Select",(function(){return C.default}));var E=o("./node_modules/ol/interaction/Snap.js");o.d(t,"Snap",(function(){return E.default}));var S=o("./node_modules/ol/interaction/Translate.js");function w(e){var t=e||{},o=new r.default,f=new c.default(-.005,.05,100);return(void 0===t.altShiftDragRotate||t.altShiftDragRotate)&&o.push(new s.default),(void 0===t.doubleClickZoom||t.doubleClickZoom)&&o.push(new n.default({delta:t.zoomDelta,duration:t.zoomDuration})),(void 0===t.dragPan||t.dragPan)&&o.push(new i.default({onFocusOnly:t.onFocusOnly,kinetic:f})),(void 0===t.pinchRotate||t.pinchRotate)&&o.push(new p.default),(void 0===t.pinchZoom||t.pinchZoom)&&o.push(new h.default({duration:t.zoomDuration})),(void 0===t.keyboard||t.keyboard)&&(o.push(new l.default),o.push(new u.default({delta:t.zoomDelta,duration:t.zoomDuration}))),(void 0===t.mouseWheelZoom||t.mouseWheelZoom)&&o.push(new d.default({onFocusOnly:t.onFocusOnly,duration:t.zoomDuration})),(void 0===t.shiftDragZoom||t.shiftDragZoom)&&o.push(new a.default({duration:t.zoomDuration})),o}o.d(t,"Translate",(function(){return S.default}))},"./node_modules/ol/interaction/DoubleClickZoom.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/interaction/Interaction.js"),i=o("./node_modules/ol/MapBrowserEventType.js"),s=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=function(e){function t(t){var o=e.call(this)||this,r=t||{};return o.delta_=r.delta?r.delta:1,o.duration_=void 0!==r.duration?r.duration:250,o}return s(t,e),t.prototype.handleEvent=function(e){var t=!1;if(e.type==i.default.DBLCLICK){var o=e.originalEvent,r=e.map,s=e.coordinate,a=o.shiftKey?-this.delta_:this.delta_,l=r.getView();Object(n.zoomByDelta)(l,a,s,this.duration_),o.preventDefault(),t=!0}return!t},t}(n.default);t.default=a},"./node_modules/ol/interaction/DragAndDrop.js":function(e,t,o){"use strict";o.r(t),o.d(t,"DragAndDropEvent",(function(){return h}));var r,n=o("./node_modules/ol/events/Event.js"),i=o("./node_modules/ol/events/EventType.js"),s=o("./node_modules/ol/format/FormatType.js"),a=o("./node_modules/ol/interaction/Interaction.js"),l=o("./node_modules/ol/functions.js"),u=o("./node_modules/ol/proj.js"),c=o("./node_modules/ol/events.js"),d=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),p="addfeatures",h=function(e){function t(t,o,r,n){var i=e.call(this,t)||this;return i.features=r,i.file=o,i.projection=n,i}return d(t,e),t}(n.default),f=function(e){function t(t){var o=this,r=t||{};(o=e.call(this,{handleEvent:l.TRUE})||this).on,o.once,o.un,o.readAsBuffer_=!1,o.formats_=[];for(var n=r.formatConstructors?r.formatConstructors:[],i=0,a=n.length;i<a;++i){var c=n[i];"function"==typeof c&&(c=new c),o.formats_.push(c),o.readAsBuffer_=o.readAsBuffer_||c.getType()===s.default.ARRAY_BUFFER}return o.projection_=r.projection?Object(u.get)(r.projection):null,o.dropListenKeys_=null,o.source_=r.source||null,o.target=r.target?r.target:null,o}return d(t,e),t.prototype.handleResult_=function(e,t){var o,r=t.target.result,n=this.getMap(),i=this.projection_;i||(i=n.getView().getProjection());for(var a=this.formats_,l=0,u=a.length;l<u;++l){var c=a[l],d=r;this.readAsBuffer_&&c.getType()!==s.default.ARRAY_BUFFER&&(void 0===o&&(o=(new TextDecoder).decode(r)),d=o);var f=this.tryReadFeatures_(c,d,{featureProjection:i});if(f&&f.length>0){this.source_&&(this.source_.clear(),this.source_.addFeatures(f)),this.dispatchEvent(new h(p,e,f,i));break}}},t.prototype.registerListeners_=function(){var e=this.getMap();if(e){var t=this.target?this.target:e.getViewport();this.dropListenKeys_=[Object(c.listen)(t,i.default.DROP,this.handleDrop,this),Object(c.listen)(t,i.default.DRAGENTER,this.handleStop,this),Object(c.listen)(t,i.default.DRAGOVER,this.handleStop,this),Object(c.listen)(t,i.default.DROP,this.handleStop,this)]}},t.prototype.setActive=function(t){!this.getActive()&&t&&this.registerListeners_(),this.getActive()&&!t&&this.unregisterListeners_(),e.prototype.setActive.call(this,t)},t.prototype.setMap=function(t){this.unregisterListeners_(),e.prototype.setMap.call(this,t),this.getActive()&&this.registerListeners_()},t.prototype.tryReadFeatures_=function(e,t,o){try{return e.readFeatures(t,o)}catch(e){return null}},t.prototype.unregisterListeners_=function(){this.dropListenKeys_&&(this.dropListenKeys_.forEach(c.unlistenByKey),this.dropListenKeys_=null)},t.prototype.handleDrop=function(e){for(var t=e.dataTransfer.files,o=0,r=t.length;o<r;++o){var n=t.item(o),s=new FileReader;s.addEventListener(i.default.LOAD,this.handleResult_.bind(this,n)),this.readAsBuffer_?s.readAsArrayBuffer(n):s.readAsText(n)}},t.prototype.handleStop=function(e){e.stopPropagation(),e.preventDefault(),e.dataTransfer.dropEffect="copy"},t}(a.default);t.default=f},"./node_modules/ol/interaction/DragBox.js":function(e,t,o){"use strict";o.r(t),o.d(t,"DragBoxEvent",(function(){return h}));var r,n=o("./node_modules/ol/events/Event.js"),i=o("./node_modules/ol/interaction/Pointer.js"),s=o("./node_modules/ol/render/Box.js"),a=o("./node_modules/ol/events/condition.js"),l=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),u="boxstart",c="boxdrag",d="boxend",p="boxcancel",h=function(e){function t(t,o,r){var n=e.call(this,t)||this;return n.coordinate=o,n.mapBrowserEvent=r,n}return l(t,e),t}(n.default),f=function(e){function t(t){var o=e.call(this)||this;o.on,o.once,o.un;var r=t||{};return o.box_=new s.default(r.className||"ol-dragbox"),o.minArea_=void 0!==r.minArea?r.minArea:64,r.onBoxEnd&&(o.onBoxEnd=r.onBoxEnd),o.startPixel_=null,o.condition_=r.condition?r.condition:a.mouseActionButton,o.boxEndCondition_=r.boxEndCondition?r.boxEndCondition:o.defaultBoxEndCondition,o}return l(t,e),t.prototype.defaultBoxEndCondition=function(e,t,o){var r=o[0]-t[0],n=o[1]-t[1];return r*r+n*n>=this.minArea_},t.prototype.getGeometry=function(){return this.box_.getGeometry()},t.prototype.handleDragEvent=function(e){this.box_.setPixels(this.startPixel_,e.pixel),this.dispatchEvent(new h(c,e.coordinate,e))},t.prototype.handleUpEvent=function(e){this.box_.setMap(null);var t=this.boxEndCondition_(e,this.startPixel_,e.pixel);return t&&this.onBoxEnd(e),this.dispatchEvent(new h(t?d:p,e.coordinate,e)),!1},t.prototype.handleDownEvent=function(e){return!!this.condition_(e)&&(this.startPixel_=e.pixel,this.box_.setMap(e.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new h(u,e.coordinate,e)),!0)},t.prototype.onBoxEnd=function(e){},t}(i.default);t.default=f},"./node_modules/ol/interaction/DragPan.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/interaction/Pointer.js"),i=o("./node_modules/ol/functions.js"),s=o("./node_modules/ol/events/condition.js"),a=o("./node_modules/ol/easing.js"),l=o("./node_modules/ol/coordinate.js"),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),c=function(e){function t(t){var o=e.call(this,{stopDown:i.FALSE})||this,r=t||{};o.kinetic_=r.kinetic,o.lastCentroid=null,o.lastPointersCount_,o.panning_=!1;var n=r.condition?r.condition:Object(s.all)(s.noModifierKeys,s.primaryAction);return o.condition_=r.onFocusOnly?Object(s.all)(s.focusWithTabindex,n):n,o.noKinetic_=!1,o}return u(t,e),t.prototype.handleDragEvent=function(e){this.panning_||(this.panning_=!0,this.getMap().getView().beginInteraction());var t=this.targetPointers,o=Object(n.centroid)(t);if(t.length==this.lastPointersCount_){if(this.kinetic_&&this.kinetic_.update(o[0],o[1]),this.lastCentroid){var r=[this.lastCentroid[0]-o[0],o[1]-this.lastCentroid[1]],i=e.map.getView();Object(l.scale)(r,i.getResolution()),Object(l.rotate)(r,i.getRotation()),i.adjustCenterInternal(r)}}else this.kinetic_&&this.kinetic_.begin();this.lastCentroid=o,this.lastPointersCount_=t.length,e.originalEvent.preventDefault()},t.prototype.handleUpEvent=function(e){var t=e.map,o=t.getView();if(0===this.targetPointers.length){if(!this.noKinetic_&&this.kinetic_&&this.kinetic_.end()){var r=this.kinetic_.getDistance(),n=this.kinetic_.getAngle(),i=o.getCenterInternal(),s=t.getPixelFromCoordinateInternal(i),l=t.getCoordinateFromPixelInternal([s[0]-r*Math.cos(n),s[1]-r*Math.sin(n)]);o.animateInternal({center:o.getConstrainedCenter(l),duration:500,easing:a.easeOut})}return this.panning_&&(this.panning_=!1,o.endInteraction()),!1}return this.kinetic_&&this.kinetic_.begin(),this.lastCentroid=null,!0},t.prototype.handleDownEvent=function(e){if(this.targetPointers.length>0&&this.condition_(e)){var t=e.map.getView();return this.lastCentroid=null,t.getAnimating()&&t.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1},t}(n.default);t.default=c},"./node_modules/ol/interaction/DragRotate.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/interaction/Pointer.js"),i=o("./node_modules/ol/functions.js"),s=o("./node_modules/ol/events/condition.js"),a=o("./node_modules/ol/rotationconstraint.js"),l=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),u=function(e){function t(t){var o=this,r=t||{};return(o=e.call(this,{stopDown:i.FALSE})||this).condition_=r.condition?r.condition:s.altShiftKeysOnly,o.lastAngle_=void 0,o.duration_=void 0!==r.duration?r.duration:250,o}return l(t,e),t.prototype.handleDragEvent=function(e){if(Object(s.mouseOnly)(e)){var t=e.map,o=t.getView();if(o.getConstraints().rotation!==a.disable){var r=t.getSize(),n=e.pixel,i=Math.atan2(r[1]/2-n[1],n[0]-r[0]/2);if(void 0!==this.lastAngle_){var l=i-this.lastAngle_;o.adjustRotationInternal(-l)}this.lastAngle_=i}}},t.prototype.handleUpEvent=function(e){return!Object(s.mouseOnly)(e)||(e.map.getView().endInteraction(this.duration_),!1)},t.prototype.handleDownEvent=function(e){return!!Object(s.mouseOnly)(e)&&(!(!Object(s.mouseActionButton)(e)||!this.condition_(e))&&(e.map.getView().beginInteraction(),this.lastAngle_=void 0,!0))},t}(n.default);t.default=u},"./node_modules/ol/interaction/DragRotateAndZoom.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/interaction/Pointer.js"),i=o("./node_modules/ol/events/condition.js"),s=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=function(e){function t(t){var o=this,r=t||{};return(o=e.call(this,r)||this).condition_=r.condition?r.condition:i.shiftKeyOnly,o.lastAngle_=void 0,o.lastMagnitude_=void 0,o.lastScaleDelta_=0,o.duration_=void 0!==r.duration?r.duration:400,o}return s(t,e),t.prototype.handleDragEvent=function(e){if(Object(i.mouseOnly)(e)){var t=e.map,o=t.getSize(),r=e.pixel,n=r[0]-o[0]/2,s=o[1]/2-r[1],a=Math.atan2(s,n),l=Math.sqrt(n*n+s*s),u=t.getView();if(void 0!==this.lastAngle_){var c=this.lastAngle_-a;u.adjustRotationInternal(c)}this.lastAngle_=a,void 0!==this.lastMagnitude_&&u.adjustResolutionInternal(this.lastMagnitude_/l),void 0!==this.lastMagnitude_&&(this.lastScaleDelta_=this.lastMagnitude_/l),this.lastMagnitude_=l}},t.prototype.handleUpEvent=function(e){if(!Object(i.mouseOnly)(e))return!0;var t=e.map.getView(),o=this.lastScaleDelta_>1?1:-1;return t.endInteraction(this.duration_,o),this.lastScaleDelta_=0,!1},t.prototype.handleDownEvent=function(e){return!!Object(i.mouseOnly)(e)&&(!!this.condition_(e)&&(e.map.getView().beginInteraction(),this.lastAngle_=void 0,this.lastMagnitude_=void 0,!0))},t}(n.default);t.default=a},"./node_modules/ol/interaction/DragZoom.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/interaction/DragBox.js"),i=o("./node_modules/ol/easing.js"),s=o("./node_modules/ol/events/condition.js"),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=function(e){function t(t){var o=this,r=t||{},n=r.condition?r.condition:s.shiftKeyOnly;return(o=e.call(this,{condition:n,className:r.className||"ol-dragzoom",minArea:r.minArea})||this).duration_=void 0!==r.duration?r.duration:200,o.out_=void 0!==r.out&&r.out,o}return a(t,e),t.prototype.onBoxEnd=function(e){var t=this.getMap().getView(),o=this.getGeometry();if(this.out_){var r=t.rotatedExtentForGeometry(o),n=t.getResolutionForExtentInternal(r),s=t.getResolution()/n;(o=o.clone()).scale(s*s)}t.fitInternal(o,{duration:this.duration_,easing:i.easeOut})},t}(n.default);t.default=l},"./node_modules/ol/interaction/Draw.js":function(e,t,o){"use strict";o.r(t),o.d(t,"DrawEvent",(function(){return k})),o.d(t,"createRegularPolygon",(function(){return D})),o.d(t,"createBox",(function(){return G}));var r,n=o("./node_modules/ol/geom/Circle.js"),i=o("./node_modules/ol/events/Event.js"),s=o("./node_modules/ol/events/EventType.js"),a=o("./node_modules/ol/Feature.js"),l=o("./node_modules/ol/geom/GeometryType.js"),u=o("./node_modules/ol/interaction/Property.js"),c=o("./node_modules/ol/geom/LineString.js"),d=o("./node_modules/ol/MapBrowserEvent.js"),p=o("./node_modules/ol/MapBrowserEventType.js"),h=o("./node_modules/ol/geom/MultiLineString.js"),f=o("./node_modules/ol/geom/MultiPoint.js"),m=o("./node_modules/ol/geom/MultiPolygon.js"),g=o("./node_modules/ol/geom/Point.js"),y=o("./node_modules/ol/interaction/Pointer.js"),v=o("./node_modules/ol/geom/Polygon.js"),_=o("./node_modules/ol/layer/Vector.js"),b=o("./node_modules/ol/source/Vector.js"),A=o("./node_modules/ol/functions.js"),C=o("./node_modules/ol/events/condition.js"),E=o("./node_modules/ol/extent.js"),S=o("./node_modules/ol/style/Style.js"),w=o("./node_modules/ol/proj.js"),O=o("./node_modules/ol/coordinate.js"),I=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),x="Point",j="LineString",T="Polygon",P="Circle",M="drawstart",R="drawend",L="drawabort",k=function(e){function t(t,o){var r=e.call(this,t)||this;return r.feature=o,r}return I(t,e),t}(i.default),N=function(e){function t(t){var o=this,r=t;r.stopDown||(r.stopDown=A.FALSE),(o=e.call(this,r)||this).on,o.once,o.un,o.shouldHandle_=!1,o.downPx_=null,o.downTimeout_,o.lastDragTime_,o.pointerType_,o.freehand_=!1,o.source_=t.source?t.source:null,o.features_=t.features?t.features:null,o.snapTolerance_=t.snapTolerance?t.snapTolerance:12,o.type_=t.type,o.mode_=function(e){switch(e){case l.default.POINT:case l.default.MULTI_POINT:return x;case l.default.LINE_STRING:case l.default.MULTI_LINE_STRING:return j;case l.default.POLYGON:case l.default.MULTI_POLYGON:return T;case l.default.CIRCLE:return P;default:throw new Error("Invalid type: "+e)}}(o.type_),o.stopClick_=!!t.stopClick,o.minPoints_=t.minPoints?t.minPoints:o.mode_===T?3:2,o.maxPoints_=o.mode_===P?2:t.maxPoints?t.maxPoints:1/0,o.finishCondition_=t.finishCondition?t.finishCondition:A.TRUE;var i,s=t.geometryFunction;if(!s){var a,d=o.mode_;if(d===P)s=function(e,t,o){var r=t||new n.default([NaN,NaN]),i=Object(w.fromUserCoordinate)(e[0],o),s=Object(O.squaredDistance)(i,Object(w.fromUserCoordinate)(e[e.length-1],o));r.setCenterAndRadius(i,Math.sqrt(s));var a=Object(w.getUserProjection)();return a&&r.transform(o,a),r};else d===x?a=g.default:d===j?a=c.default:d===T&&(a=v.default),s=function(e,t,o){return t?d===T?e[0].length?t.setCoordinates([e[0].concat([e[0][0]])]):t.setCoordinates([]):t.setCoordinates(e):t=new a(e),t}}return o.geometryFunction_=s,o.dragVertexDelay_=void 0!==t.dragVertexDelay?t.dragVertexDelay:500,o.finishCoordinate_=null,o.sketchFeature_=null,o.sketchPoint_=null,o.sketchCoords_=null,o.sketchLine_=null,o.sketchLineCoords_=null,o.squaredClickTolerance_=t.clickTolerance?t.clickTolerance*t.clickTolerance:36,o.overlay_=new _.default({source:new b.default({useSpatialIndex:!1,wrapX:!!t.wrapX&&t.wrapX}),style:t.style?t.style:(i=Object(S.createEditingStyle)(),function(e,t){return i[e.getGeometry().getType()]}),updateWhileInteracting:!0}),o.geometryName_=t.geometryName,o.condition_=t.condition?t.condition:C.noModifierKeys,o.freehandCondition_,t.freehand?o.freehandCondition_=C.always:o.freehandCondition_=t.freehandCondition?t.freehandCondition:C.shiftKeyOnly,o.addChangeListener(u.default.ACTIVE,o.updateState_),o}return I(t,e),t.prototype.setMap=function(t){e.prototype.setMap.call(this,t),this.updateState_()},t.prototype.getOverlay=function(){return this.overlay_},t.prototype.handleEvent=function(t){t.originalEvent.type===s.default.CONTEXTMENU&&t.originalEvent.preventDefault(),this.freehand_=this.mode_!==x&&this.freehandCondition_(t);var o=t.type===p.default.POINTERMOVE,r=!0;!this.freehand_&&this.lastDragTime_&&t.type===p.default.POINTERDRAG&&(Date.now()-this.lastDragTime_>=this.dragVertexDelay_?(this.downPx_=t.pixel,this.shouldHandle_=!this.freehand_,o=!0):this.lastDragTime_=void 0,this.shouldHandle_&&void 0!==this.downTimeout_&&(clearTimeout(this.downTimeout_),this.downTimeout_=void 0));return this.freehand_&&t.type===p.default.POINTERDRAG&&null!==this.sketchFeature_?(this.addToDrawing_(t.coordinate),r=!1):this.freehand_&&t.type===p.default.POINTERDOWN?r=!1:o&&this.getPointerCount()<2?(r=t.type===p.default.POINTERMOVE)&&this.freehand_?(this.handlePointerMove_(t),this.shouldHandle_&&t.originalEvent.preventDefault()):("mouse"===t.originalEvent.pointerType||t.type===p.default.POINTERDRAG&&void 0===this.downTimeout_)&&this.handlePointerMove_(t):t.type===p.default.DBLCLICK&&(r=!1),e.prototype.handleEvent.call(this,t)&&r},t.prototype.handleDownEvent=function(e){return this.shouldHandle_=!this.freehand_,this.freehand_?(this.downPx_=e.pixel,this.finishCoordinate_||this.startDrawing_(e.coordinate),!0):this.condition_(e)?(this.lastDragTime_=Date.now(),this.downTimeout_=setTimeout(function(){this.handlePointerMove_(new d.default(p.default.POINTERMOVE,e.map,e.originalEvent,!1,e.frameState))}.bind(this),this.dragVertexDelay_),this.downPx_=e.pixel,!0):(this.lastDragTime_=void 0,!1)},t.prototype.handleUpEvent=function(e){var t=!0;if(0===this.getPointerCount())if(this.downTimeout_&&(clearTimeout(this.downTimeout_),this.downTimeout_=void 0),this.handlePointerMove_(e),this.shouldHandle_){var o=!this.finishCoordinate_;o&&this.startDrawing_(e.coordinate),!o&&this.freehand_?this.finishDrawing():this.freehand_||o&&this.mode_!==x||(this.atFinish_(e.pixel)?this.finishCondition_(e)&&this.finishDrawing():this.addToDrawing_(e.coordinate)),t=!1}else this.freehand_&&this.abortDrawing();return!t&&this.stopClick_&&e.preventDefault(),t},t.prototype.handlePointerMove_=function(e){if(this.pointerType_=e.originalEvent.pointerType,this.downPx_&&(!this.freehand_&&this.shouldHandle_||this.freehand_&&!this.shouldHandle_)){var t=this.downPx_,o=e.pixel,r=t[0]-o[0],n=t[1]-o[1],i=r*r+n*n;if(this.shouldHandle_=this.freehand_?i>this.squaredClickTolerance_:i<=this.squaredClickTolerance_,!this.shouldHandle_)return}this.finishCoordinate_?this.modifyDrawing_(e.coordinate):this.createOrUpdateSketchPoint_(e.coordinate.slice())},t.prototype.atFinish_=function(e){var t=!1;if(this.sketchFeature_){var o=!1,r=[this.finishCoordinate_],n=this.mode_;if(n===x)t=!0;else if(n===P)t=2===this.sketchCoords_.length;else if(n===j)o=this.sketchCoords_.length>this.minPoints_;else if(n===T){var i=this.sketchCoords_;o=i[0].length>this.minPoints_,r=[i[0][0],i[0][i[0].length-2]]}if(o)for(var s=this.getMap(),a=0,l=r.length;a<l;a++){var u=r[a],c=s.getPixelFromCoordinate(u),d=e[0]-c[0],p=e[1]-c[1],h=this.freehand_?1:this.snapTolerance_;if(t=Math.sqrt(d*d+p*p)<=h){this.finishCoordinate_=u;break}}}return t},t.prototype.createOrUpdateSketchPoint_=function(e){this.sketchPoint_?this.sketchPoint_.getGeometry().setCoordinates(e):(this.sketchPoint_=new a.default(new g.default(e)),this.updateSketchFeatures_())},t.prototype.createOrUpdateCustomSketchLine_=function(e){this.sketchLine_||(this.sketchLine_=new a.default);var t=e.getLinearRing(0),o=this.sketchLine_.getGeometry();o?(o.setFlatCoordinates(t.getLayout(),t.getFlatCoordinates()),o.changed()):(o=new c.default(t.getFlatCoordinates(),t.getLayout()),this.sketchLine_.setGeometry(o))},t.prototype.startDrawing_=function(e){var t=this.getMap().getView().getProjection();this.finishCoordinate_=e,this.mode_===x?this.sketchCoords_=e.slice():this.mode_===T?(this.sketchCoords_=[[e.slice(),e.slice()]],this.sketchLineCoords_=this.sketchCoords_[0]):this.sketchCoords_=[e.slice(),e.slice()],this.sketchLineCoords_&&(this.sketchLine_=new a.default(new c.default(this.sketchLineCoords_)));var o=this.geometryFunction_(this.sketchCoords_,void 0,t);this.sketchFeature_=new a.default,this.geometryName_&&this.sketchFeature_.setGeometryName(this.geometryName_),this.sketchFeature_.setGeometry(o),this.updateSketchFeatures_(),this.dispatchEvent(new k(M,this.sketchFeature_))},t.prototype.modifyDrawing_=function(e){var t,o,r=this.getMap(),n=this.sketchFeature_.getGeometry(),i=r.getView().getProjection();(this.mode_===x?o=this.sketchCoords_:this.mode_===T?(o=(t=this.sketchCoords_[0])[t.length-1],this.atFinish_(r.getPixelFromCoordinate(e))&&(e=this.finishCoordinate_.slice())):o=(t=this.sketchCoords_)[t.length-1],o[0]=e[0],o[1]=e[1],this.geometryFunction_(this.sketchCoords_,n,i),this.sketchPoint_)&&this.sketchPoint_.getGeometry().setCoordinates(e);if(n.getType()===l.default.POLYGON&&this.mode_!==T)this.createOrUpdateCustomSketchLine_(n);else if(this.sketchLineCoords_){this.sketchLine_.getGeometry().setCoordinates(this.sketchLineCoords_)}this.updateSketchFeatures_()},t.prototype.addToDrawing_=function(e){var t,o,r=this.sketchFeature_.getGeometry(),n=this.getMap().getView().getProjection(),i=this.mode_;i===j||i===P?(this.finishCoordinate_=e.slice(),(o=this.sketchCoords_).length>=this.maxPoints_&&(this.freehand_?o.pop():t=!0),o.push(e.slice()),this.geometryFunction_(o,r,n)):i===T&&((o=this.sketchCoords_[0]).length>=this.maxPoints_&&(this.freehand_?o.pop():t=!0),o.push(e.slice()),t&&(this.finishCoordinate_=o[0]),this.geometryFunction_(this.sketchCoords_,r,n)),this.createOrUpdateSketchPoint_(e.slice()),this.updateSketchFeatures_(),t&&this.finishDrawing()},t.prototype.removeLastPoint=function(){if(this.sketchFeature_){var e,t=this.sketchFeature_.getGeometry(),o=this.getMap().getView().getProjection(),r=this.mode_;if(r===j||r===P){if((e=this.sketchCoords_).splice(-2,1),e.length>=2){this.finishCoordinate_=e[e.length-2].slice();var n=this.finishCoordinate_.slice();e[e.length-1]=n,this.createOrUpdateSketchPoint_(n)}this.geometryFunction_(e,t,o),t.getType()===l.default.POLYGON&&this.sketchLine_&&this.createOrUpdateCustomSketchLine_(t)}else if(r===T){(e=this.sketchCoords_[0]).splice(-2,1);var i=this.sketchLine_.getGeometry();if(e.length>=2){n=e[e.length-2].slice();e[e.length-1]=n,this.createOrUpdateSketchPoint_(n)}i.setCoordinates(e),this.geometryFunction_(this.sketchCoords_,t,o)}1===e.length&&this.abortDrawing(),this.updateSketchFeatures_()}},t.prototype.finishDrawing=function(){var e=this.abortDrawing_();if(e){var t=this.sketchCoords_,o=e.getGeometry(),r=this.getMap().getView().getProjection();this.mode_===j?(t.pop(),this.geometryFunction_(t,o,r)):this.mode_===T&&(t[0].pop(),this.geometryFunction_(t,o,r),t=o.getCoordinates()),this.type_===l.default.MULTI_POINT?e.setGeometry(new f.default([t])):this.type_===l.default.MULTI_LINE_STRING?e.setGeometry(new h.default([t])):this.type_===l.default.MULTI_POLYGON&&e.setGeometry(new m.default([t])),this.dispatchEvent(new k(R,e)),this.features_&&this.features_.push(e),this.source_&&this.source_.addFeature(e)}},t.prototype.abortDrawing_=function(){this.finishCoordinate_=null;var e=this.sketchFeature_;return this.sketchFeature_=null,this.sketchPoint_=null,this.sketchLine_=null,this.overlay_.getSource().clear(!0),e},t.prototype.abortDrawing=function(){var e=this.abortDrawing_();e&&this.dispatchEvent(new k(L,e))},t.prototype.appendCoordinates=function(e){var t,o=this.mode_,r=!this.sketchFeature_;if(r&&this.startDrawing_(e[0]),o===j||o===P)t=this.sketchCoords_;else{if(o!==T)return;t=this.sketchCoords_&&this.sketchCoords_.length?this.sketchCoords_[0]:[]}r&&t.shift(),t.pop();for(var n=0;n<e.length;n++)this.addToDrawing_(e[n]);var i=e[e.length-1];this.addToDrawing_(i),this.modifyDrawing_(i)},t.prototype.extend=function(e){var t=e.getGeometry();this.sketchFeature_=e,this.sketchCoords_=t.getCoordinates();var o=this.sketchCoords_[this.sketchCoords_.length-1];this.finishCoordinate_=o.slice(),this.sketchCoords_.push(o.slice()),this.sketchPoint_=new a.default(new g.default(o)),this.updateSketchFeatures_(),this.dispatchEvent(new k(M,this.sketchFeature_))},t.prototype.updateSketchFeatures_=function(){var e=[];this.sketchFeature_&&e.push(this.sketchFeature_),this.sketchLine_&&e.push(this.sketchLine_),this.sketchPoint_&&e.push(this.sketchPoint_);var t=this.overlay_.getSource();t.clear(!0),t.addFeatures(e)},t.prototype.updateState_=function(){var e=this.getMap(),t=this.getActive();e&&t||this.abortDrawing(),this.overlay_.setMap(t?e:null)},t}(y.default);function D(e,t){return function(o,r,i){var s=Object(w.fromUserCoordinate)(o[0],i),a=Object(w.fromUserCoordinate)(o[o.length-1],i),l=Math.sqrt(Object(O.squaredDistance)(s,a)),u=r||Object(v.fromCircle)(new n.default(s),e),c=t;if(!t&&0!==t){var d=a[0]-s[0],p=a[1]-s[1];c=Math.atan2(p,d)}Object(v.makeRegular)(u,s,l,c);var h=Object(w.getUserProjection)();return h&&u.transform(i,h),u}}function G(){return function(e,t,o){var r=Object(E.boundingExtent)([e[0],e[e.length-1]].map((function(e){return Object(w.fromUserCoordinate)(e,o)}))),n=[[Object(E.getBottomLeft)(r),Object(E.getBottomRight)(r),Object(E.getTopRight)(r),Object(E.getTopLeft)(r),Object(E.getBottomLeft)(r)]],i=t;i?i.setCoordinates(n):i=new v.default(n);var s=Object(w.getUserProjection)();return s&&i.transform(o,s),i}}t.default=N},"./node_modules/ol/interaction/Extent.js":function(e,t,o){"use strict";o.r(t),o.d(t,"ExtentEvent",(function(){return b}));var r,n=o("./node_modules/ol/events/Event.js"),i=o("./node_modules/ol/Feature.js"),s=o("./node_modules/ol/geom/GeometryType.js"),a=o("./node_modules/ol/MapBrowserEventType.js"),l=o("./node_modules/ol/geom/Point.js"),u=o("./node_modules/ol/interaction/Pointer.js"),c=o("./node_modules/ol/layer/Vector.js"),d=o("./node_modules/ol/source/Vector.js"),p=o("./node_modules/ol/events/condition.js"),h=o("./node_modules/ol/extent.js"),f=o("./node_modules/ol/coordinate.js"),m=o("./node_modules/ol/style/Style.js"),g=o("./node_modules/ol/geom/Polygon.js"),y=o("./node_modules/ol/proj.js"),v=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),_="extentchanged",b=function(e){function t(t){var o=e.call(this,_)||this;return o.extent=t,o}return v(t,e),t}(n.default),A=function(e){function t(t){var o,r=this,n=t||{};return(r=e.call(this,n)||this).on,r.once,r.un,r.condition_=n.condition?n.condition:p.always,r.extent_=null,r.pointerHandler_=null,r.pixelTolerance_=void 0!==n.pixelTolerance?n.pixelTolerance:10,r.snappedToVertex_=!1,r.extentFeature_=null,r.vertexFeature_=null,t||(t={}),r.extentOverlay_=new c.default({source:new d.default({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.boxStyle?t.boxStyle:(o=Object(m.createEditingStyle)(),function(e,t){return o[s.default.POLYGON]}),updateWhileAnimating:!0,updateWhileInteracting:!0}),r.vertexOverlay_=new c.default({source:new d.default({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.pointerStyle?t.pointerStyle:C(),updateWhileAnimating:!0,updateWhileInteracting:!0}),t.extent&&r.setExtent(t.extent),r}return v(t,e),t.prototype.snapToVertex_=function(e,t){var o=t.getCoordinateFromPixelInternal(e),r=this.getExtentInternal();if(r){var n=function(e){return[[[e[0],e[1]],[e[0],e[3]]],[[e[0],e[3]],[e[2],e[3]]],[[e[2],e[3]],[e[2],e[1]]],[[e[2],e[1]],[e[0],e[1]]]]}(r);n.sort((function(e,t){return Object(f.squaredDistanceToSegment)(o,e)-Object(f.squaredDistanceToSegment)(o,t)}));var i=n[0],s=Object(f.closestOnSegment)(o,i),a=t.getPixelFromCoordinateInternal(s);if(Object(f.distance)(e,a)<=this.pixelTolerance_){var l=t.getPixelFromCoordinateInternal(i[0]),u=t.getPixelFromCoordinateInternal(i[1]),c=Object(f.squaredDistance)(a,l),d=Object(f.squaredDistance)(a,u),p=Math.sqrt(Math.min(c,d));return this.snappedToVertex_=p<=this.pixelTolerance_,this.snappedToVertex_&&(s=c>d?i[1]:i[0]),s}}return null},t.prototype.handlePointerMove_=function(e){var t=e.pixel,o=e.map,r=this.snapToVertex_(t,o);r||(r=o.getCoordinateFromPixelInternal(t)),this.createOrUpdatePointerFeature_(r)},t.prototype.createOrUpdateExtentFeature_=function(e){var t=this.extentFeature_;return t?e?t.setGeometry(Object(g.fromExtent)(e)):t.setGeometry(void 0):(t=e?new i.default(Object(g.fromExtent)(e)):new i.default({}),this.extentFeature_=t,this.extentOverlay_.getSource().addFeature(t)),t},t.prototype.createOrUpdatePointerFeature_=function(e){var t=this.vertexFeature_;t?t.getGeometry().setCoordinates(e):(t=new i.default(new l.default(e)),this.vertexFeature_=t,this.vertexOverlay_.getSource().addFeature(t));return t},t.prototype.handleEvent=function(t){return!t.originalEvent||!this.condition_(t)||(t.type!=a.default.POINTERMOVE||this.handlingDownUpSequence||this.handlePointerMove_(t),e.prototype.handleEvent.call(this,t),!1)},t.prototype.handleDownEvent=function(e){var t=e.pixel,o=e.map,r=this.getExtentInternal(),n=this.snapToVertex_(t,o),i=function(e){var t=null,o=null;return e[0]==r[0]?t=r[2]:e[0]==r[2]&&(t=r[0]),e[1]==r[1]?o=r[3]:e[1]==r[3]&&(o=r[1]),null!==t&&null!==o?[t,o]:null};if(n&&r){var s=n[0]==r[0]||n[0]==r[2]?n[0]:null,a=n[1]==r[1]||n[1]==r[3]?n[1]:null;null!==s&&null!==a?this.pointerHandler_=E(i(n)):null!==s?this.pointerHandler_=S(i([s,r[1]]),i([s,r[3]])):null!==a&&(this.pointerHandler_=S(i([r[0],a]),i([r[2],a])))}else n=o.getCoordinateFromPixelInternal(t),this.setExtent([n[0],n[1],n[0],n[1]]),this.pointerHandler_=E(n);return!0},t.prototype.handleDragEvent=function(e){if(this.pointerHandler_){var t=e.coordinate;this.setExtent(this.pointerHandler_(t)),this.createOrUpdatePointerFeature_(t)}},t.prototype.handleUpEvent=function(e){this.pointerHandler_=null;var t=this.getExtentInternal();return t&&0!==Object(h.getArea)(t)||this.setExtent(null),!1},t.prototype.setMap=function(t){this.extentOverlay_.setMap(t),this.vertexOverlay_.setMap(t),e.prototype.setMap.call(this,t)},t.prototype.getExtent=function(){return Object(y.toUserExtent)(this.getExtentInternal(),this.getMap().getView().getProjection())},t.prototype.getExtentInternal=function(){return this.extent_},t.prototype.setExtent=function(e){this.extent_=e||null,this.createOrUpdateExtentFeature_(e),this.dispatchEvent(new b(this.extent_))},t}(u.default);function C(){var e=Object(m.createEditingStyle)();return function(t,o){return e[s.default.POINT]}}function E(e){return function(t){return Object(h.boundingExtent)([e,t])}}function S(e,t){return e[0]==t[0]?function(o){return Object(h.boundingExtent)([e,[o[0],t[1]]])}:e[1]==t[1]?function(o){return Object(h.boundingExtent)([e,[t[0],o[1]]])}:null}t.default=A},"./node_modules/ol/interaction/Interaction.js":function(e,t,o){"use strict";o.r(t),o.d(t,"pan",(function(){return u})),o.d(t,"zoomByDelta",(function(){return c}));var r,n=o("./node_modules/ol/Object.js"),i=o("./node_modules/ol/interaction/Property.js"),s=o("./node_modules/ol/easing.js"),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=function(e){function t(t){var o=e.call(this)||this;return o.on,o.once,o.un,t&&t.handleEvent&&(o.handleEvent=t.handleEvent),o.map_=null,o.setActive(!0),o}return a(t,e),t.prototype.getActive=function(){return this.get(i.default.ACTIVE)},t.prototype.getMap=function(){return this.map_},t.prototype.handleEvent=function(e){return!0},t.prototype.setActive=function(e){this.set(i.default.ACTIVE,e)},t.prototype.setMap=function(e){this.map_=e},t}(n.default);function u(e,t,o){var r=e.getCenterInternal();if(r){var n=[r[0]+t[0],r[1]+t[1]];e.animateInternal({duration:void 0!==o?o:250,easing:s.linear,center:e.getConstrainedCenter(n)})}}function c(e,t,o,r){var n=e.getZoom();if(void 0!==n){var i=e.getConstrainedZoom(n+t),a=e.getResolutionForZoom(i);e.getAnimating()&&e.cancelAnimations(),e.animate({resolution:a,anchor:o,duration:void 0!==r?r:250,easing:s.easeOut})}}t.default=l},"./node_modules/ol/interaction/KeyboardPan.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/events/EventType.js"),i=o("./node_modules/ol/interaction/Interaction.js"),s=o("./node_modules/ol/events/KeyCode.js"),a=o("./node_modules/ol/events/condition.js"),l=o("./node_modules/ol/coordinate.js"),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),c=function(e){function t(t){var o=e.call(this)||this,r=t||{};return o.defaultCondition_=function(e){return Object(a.noModifierKeys)(e)&&Object(a.targetNotEditable)(e)},o.condition_=void 0!==r.condition?r.condition:o.defaultCondition_,o.duration_=void 0!==r.duration?r.duration:100,o.pixelDelta_=void 0!==r.pixelDelta?r.pixelDelta:128,o}return u(t,e),t.prototype.handleEvent=function(e){var t=!1;if(e.type==n.default.KEYDOWN){var o=e.originalEvent,r=o.keyCode;if(this.condition_(e)&&(r==s.default.DOWN||r==s.default.LEFT||r==s.default.RIGHT||r==s.default.UP)){var a=e.map.getView(),u=a.getResolution()*this.pixelDelta_,c=0,d=0;r==s.default.DOWN?d=-u:r==s.default.LEFT?c=-u:r==s.default.RIGHT?c=u:d=u;var p=[c,d];Object(l.rotate)(p,a.getRotation()),Object(i.pan)(a,p,this.duration_),o.preventDefault(),t=!0}}return!t},t}(i.default);t.default=c},"./node_modules/ol/interaction/KeyboardZoom.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/events/EventType.js"),i=o("./node_modules/ol/interaction/Interaction.js"),s=o("./node_modules/ol/events/condition.js"),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=function(e){function t(t){var o=e.call(this)||this,r=t||{};return o.condition_=r.condition?r.condition:s.targetNotEditable,o.delta_=r.delta?r.delta:1,o.duration_=void 0!==r.duration?r.duration:100,o}return a(t,e),t.prototype.handleEvent=function(e){var t=!1;if(e.type==n.default.KEYDOWN||e.type==n.default.KEYPRESS){var o=e.originalEvent,r=o.charCode;if(this.condition_(e)&&(r=="+".charCodeAt(0)||r=="-".charCodeAt(0))){var s=e.map,a=r=="+".charCodeAt(0)?this.delta_:-this.delta_,l=s.getView();Object(i.zoomByDelta)(l,a,void 0,this.duration_),o.preventDefault(),t=!0}}return!t},t}(i.default);t.default=l},"./node_modules/ol/interaction/Modify.js":function(e,t,o){"use strict";o.r(t),o.d(t,"ModifyEvent",(function(){return T}));var r,n=o("./node_modules/ol/Collection.js"),i=o("./node_modules/ol/CollectionEventType.js"),s=o("./node_modules/ol/events/Event.js"),a=o("./node_modules/ol/events/EventType.js"),l=o("./node_modules/ol/Feature.js"),u=o("./node_modules/ol/geom/GeometryType.js"),c=o("./node_modules/ol/MapBrowserEventType.js"),d=o("./node_modules/ol/geom/Point.js"),p=o("./node_modules/ol/interaction/Pointer.js"),h=o("./node_modules/ol/structs/RBush.js"),f=o("./node_modules/ol/source/VectorEventType.js"),m=o("./node_modules/ol/layer/Vector.js"),g=o("./node_modules/ol/source/Vector.js"),y=o("./node_modules/ol/events/condition.js"),v=o("./node_modules/ol/extent.js"),_=o("./node_modules/ol/coordinate.js"),b=o("./node_modules/ol/style/Style.js"),A=o("./node_modules/ol/array.js"),C=o("./node_modules/ol/geom/Polygon.js"),E=o("./node_modules/ol/proj.js"),S=o("./node_modules/ol/util.js"),w=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),O=[0,0,0,0],I=[],x="modifystart",j="modifyend",T=function(e){function t(t,o,r){var n=e.call(this,t)||this;return n.features=o,n.mapBrowserEvent=r,n}return w(t,e),t}(s.default),P=function(e){function t(t){var o,r,s=e.call(this,t)||this;if(s.on,s.once,s.un,s.boundHandleFeatureChange_=s.handleFeatureChange_.bind(s),s.condition_=t.condition?t.condition:y.primaryAction,s.defaultDeleteCondition_=function(e){return Object(y.altKeyOnly)(e)&&Object(y.singleClick)(e)},s.deleteCondition_=t.deleteCondition?t.deleteCondition:s.defaultDeleteCondition_,s.insertVertexCondition_=t.insertVertexCondition?t.insertVertexCondition:y.always,s.vertexFeature_=null,s.vertexSegments_=null,s.lastPixel_=[0,0],s.ignoreNextSingleClick_=!1,s.featuresBeingModified_=null,s.rBush_=new h.default,s.pixelTolerance_=void 0!==t.pixelTolerance?t.pixelTolerance:10,s.snappedToVertex_=!1,s.changingFeature_=!1,s.dragSegments_=[],s.overlay_=new m.default({source:new g.default({useSpatialIndex:!1,wrapX:!!t.wrapX}),style:t.style?t.style:(o=Object(b.createEditingStyle)(),function(e,t){return o[u.default.POINT]}),updateWhileAnimating:!0,updateWhileInteracting:!0}),s.SEGMENT_WRITERS_={Point:s.writePointGeometry_.bind(s),LineString:s.writeLineStringGeometry_.bind(s),LinearRing:s.writeLineStringGeometry_.bind(s),Polygon:s.writePolygonGeometry_.bind(s),MultiPoint:s.writeMultiPointGeometry_.bind(s),MultiLineString:s.writeMultiLineStringGeometry_.bind(s),MultiPolygon:s.writeMultiPolygonGeometry_.bind(s),Circle:s.writeCircleGeometry_.bind(s),GeometryCollection:s.writeGeometryCollectionGeometry_.bind(s)},s.source_=null,s.hitDetection_=null,t.features?r=t.features:t.source&&(s.source_=t.source,r=new n.default(s.source_.getFeatures()),s.source_.addEventListener(f.default.ADDFEATURE,s.handleSourceAdd_.bind(s)),s.source_.addEventListener(f.default.REMOVEFEATURE,s.handleSourceRemove_.bind(s))),!r)throw new Error("The modify interaction requires features, a source or a layer");return t.hitDetection&&(s.hitDetection_=t.hitDetection),s.features_=r,s.features_.forEach(s.addFeature_.bind(s)),s.features_.addEventListener(i.default.ADD,s.handleFeatureAdd_.bind(s)),s.features_.addEventListener(i.default.REMOVE,s.handleFeatureRemove_.bind(s)),s.lastPointerEvent_=null,s.delta_=[0,0],s.snapToPointer_=void 0===t.snapToPointer?!s.hitDetection_:t.snapToPointer,s}return w(t,e),t.prototype.addFeature_=function(e){var t=e.getGeometry();if(t){var o=this.SEGMENT_WRITERS_[t.getType()];o&&o(e,t)}var r=this.getMap();r&&r.isRendered()&&this.getActive()&&this.handlePointerAtPixel_(this.lastPixel_,r),e.addEventListener(a.default.CHANGE,this.boundHandleFeatureChange_)},t.prototype.willModifyFeatures_=function(e,t){if(!this.featuresBeingModified_){this.featuresBeingModified_=new n.default;for(var o=this.featuresBeingModified_.getArray(),r=0,i=t.length;r<i;++r)for(var s=t[r],a=0,l=s.length;a<l;++a){var u=s[a].feature;u&&-1===o.indexOf(u)&&this.featuresBeingModified_.push(u)}0===this.featuresBeingModified_.getLength()?this.featuresBeingModified_=null:this.dispatchEvent(new T(x,this.featuresBeingModified_,e))}},t.prototype.removeFeature_=function(e){this.removeFeatureSegmentData_(e),this.vertexFeature_&&0===this.features_.getLength()&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null),e.removeEventListener(a.default.CHANGE,this.boundHandleFeatureChange_)},t.prototype.removeFeatureSegmentData_=function(e){var t=this.rBush_,o=[];t.forEach((function(t){e===t.feature&&o.push(t)}));for(var r=o.length-1;r>=0;--r){for(var n=o[r],i=this.dragSegments_.length-1;i>=0;--i)this.dragSegments_[i][0]===n&&this.dragSegments_.splice(i,1);t.remove(n)}},t.prototype.setActive=function(t){this.vertexFeature_&&!t&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null),e.prototype.setActive.call(this,t)},t.prototype.setMap=function(t){this.overlay_.setMap(t),e.prototype.setMap.call(this,t)},t.prototype.getOverlay=function(){return this.overlay_},t.prototype.handleSourceAdd_=function(e){e.feature&&this.features_.push(e.feature)},t.prototype.handleSourceRemove_=function(e){e.feature&&this.features_.remove(e.feature)},t.prototype.handleFeatureAdd_=function(e){this.addFeature_(e.element)},t.prototype.handleFeatureChange_=function(e){if(!this.changingFeature_){var t=e.target;this.removeFeature_(t),this.addFeature_(t)}},t.prototype.handleFeatureRemove_=function(e){var t=e.element;this.removeFeature_(t)},t.prototype.writePointGeometry_=function(e,t){var o=t.getCoordinates(),r={feature:e,geometry:t,segment:[o,o]};this.rBush_.insert(t.getExtent(),r)},t.prototype.writeMultiPointGeometry_=function(e,t){for(var o=t.getCoordinates(),r=0,n=o.length;r<n;++r){var i=o[r],s={feature:e,geometry:t,depth:[r],index:r,segment:[i,i]};this.rBush_.insert(t.getExtent(),s)}},t.prototype.writeLineStringGeometry_=function(e,t){for(var o=t.getCoordinates(),r=0,n=o.length-1;r<n;++r){var i=o.slice(r,r+2),s={feature:e,geometry:t,index:r,segment:i};this.rBush_.insert(Object(v.boundingExtent)(i),s)}},t.prototype.writeMultiLineStringGeometry_=function(e,t){for(var o=t.getCoordinates(),r=0,n=o.length;r<n;++r)for(var i=o[r],s=0,a=i.length-1;s<a;++s){var l=i.slice(s,s+2),u={feature:e,geometry:t,depth:[r],index:s,segment:l};this.rBush_.insert(Object(v.boundingExtent)(l),u)}},t.prototype.writePolygonGeometry_=function(e,t){for(var o=t.getCoordinates(),r=0,n=o.length;r<n;++r)for(var i=o[r],s=0,a=i.length-1;s<a;++s){var l=i.slice(s,s+2),u={feature:e,geometry:t,depth:[r],index:s,segment:l};this.rBush_.insert(Object(v.boundingExtent)(l),u)}},t.prototype.writeMultiPolygonGeometry_=function(e,t){for(var o=t.getCoordinates(),r=0,n=o.length;r<n;++r)for(var i=o[r],s=0,a=i.length;s<a;++s)for(var l=i[s],u=0,c=l.length-1;u<c;++u){var d=l.slice(u,u+2),p={feature:e,geometry:t,depth:[s,r],index:u,segment:d};this.rBush_.insert(Object(v.boundingExtent)(d),p)}},t.prototype.writeCircleGeometry_=function(e,t){var o=t.getCenter(),r={feature:e,geometry:t,index:0,segment:[o,o]},n={feature:e,geometry:t,index:1,segment:[o,o]},i=[r,n];r.featureSegments=i,n.featureSegments=i,this.rBush_.insert(Object(v.createOrUpdateFromCoordinate)(o),r);var s=t,a=Object(E.getUserProjection)();if(a&&this.getMap()){var l=this.getMap().getView().getProjection();s=s.clone().transform(a,l),s=Object(C.fromCircle)(s).transform(l,a)}this.rBush_.insert(s.getExtent(),n)},t.prototype.writeGeometryCollectionGeometry_=function(e,t){for(var o=t.getGeometriesArray(),r=0;r<o.length;++r){var n=o[r];(0,this.SEGMENT_WRITERS_[n.getType()])(e,n)}},t.prototype.createOrUpdateVertexFeature_=function(e,t,o){var r=this.vertexFeature_;r?r.getGeometry().setCoordinates(e):(r=new l.default(new d.default(e)),this.vertexFeature_=r,this.overlay_.getSource().addFeature(r));return r.set("features",t),r.set("geometries",o),r},t.prototype.handleEvent=function(t){return!t.originalEvent||(this.lastPointerEvent_=t,t.map.getView().getInteracting()||t.type!=c.default.POINTERMOVE||this.handlingDownUpSequence||this.handlePointerMove_(t),this.vertexFeature_&&this.deleteCondition_(t)&&(o=!(t.type!=c.default.SINGLECLICK||!this.ignoreNextSingleClick_)||this.removePoint()),t.type==c.default.SINGLECLICK&&(this.ignoreNextSingleClick_=!1),e.prototype.handleEvent.call(this,t)&&!o);var o},t.prototype.handleDragEvent=function(e){this.ignoreNextSingleClick_=!1,this.willModifyFeatures_(e,this.dragSegments_);for(var t=[e.coordinate[0]+this.delta_[0],e.coordinate[1]+this.delta_[1]],o=[],r=[],n=0,i=this.dragSegments_.length;n<i;++n){var s=this.dragSegments_[n],a=s[0],l=a.feature;-1===o.indexOf(l)&&o.push(l);var c=a.geometry;-1===r.indexOf(c)&&r.push(c);for(var d=a.depth,p=void 0,h=a.segment,f=s[1];t.length<c.getStride();)t.push(h[f][t.length]);switch(c.getType()){case u.default.POINT:p=t,h[0]=t,h[1]=t;break;case u.default.MULTI_POINT:(p=c.getCoordinates())[a.index]=t,h[0]=t,h[1]=t;break;case u.default.LINE_STRING:(p=c.getCoordinates())[a.index+f]=t,h[f]=t;break;case u.default.MULTI_LINE_STRING:case u.default.POLYGON:(p=c.getCoordinates())[d[0]][a.index+f]=t,h[f]=t;break;case u.default.MULTI_POLYGON:(p=c.getCoordinates())[d[1]][d[0]][a.index+f]=t,h[f]=t;break;case u.default.CIRCLE:if(h[0]=t,h[1]=t,0===a.index)this.changingFeature_=!0,c.setCenter(t),this.changingFeature_=!1;else{this.changingFeature_=!0;var m=e.map.getView().getProjection(),g=Object(_.distance)(Object(E.fromUserCoordinate)(c.getCenter(),m),Object(E.fromUserCoordinate)(t,m)),y=Object(E.getUserProjection)();if(y){var v=c.clone().transform(y,m);v.setRadius(g),g=v.transform(m,y).getRadius()}c.setRadius(g),this.changingFeature_=!1}}p&&this.setGeometryCoordinates_(c,p)}this.createOrUpdateVertexFeature_(t,o,r)},t.prototype.handleDownEvent=function(e){if(!this.condition_(e))return!1;var t=e.coordinate;this.handlePointerAtPixel_(e.pixel,e.map,t),this.dragSegments_.length=0,this.featuresBeingModified_=null;var o=this.vertexFeature_;if(o){var r=e.map.getView().getProjection(),n=[],i=o.getGeometry().getCoordinates(),s=Object(v.boundingExtent)([i]),a=this.rBush_.getInExtent(s),l={};a.sort(M);for(var c=0,d=a.length;c<d;++c){var p=a[c],h=p.segment,f=Object(S.getUid)(p.geometry),m=p.depth;if(m&&(f+="-"+m.join("-")),l[f]||(l[f]=new Array(2)),p.geometry.getType()!==u.default.CIRCLE||1!==p.index)if(!Object(_.equals)(h[0],i)||l[f][0])if(!Object(_.equals)(h[1],i)||l[f][1])Object(S.getUid)(h)in this.vertexSegments_&&!l[f][0]&&!l[f][1]&&this.insertVertexCondition_(e)&&n.push(p);else{if((p.geometry.getType()===u.default.LINE_STRING||p.geometry.getType()===u.default.MULTI_LINE_STRING)&&l[f][0]&&0===l[f][0].index)continue;this.dragSegments_.push([p,1]),l[f][1]=p}else this.dragSegments_.push([p,0]),l[f][0]=p;else{var g=L(t,p,r);Object(_.equals)(g,i)&&!l[f][0]&&(this.dragSegments_.push([p,0]),l[f][0]=p)}}n.length&&this.willModifyFeatures_(e,[n]);for(var y=n.length-1;y>=0;--y)this.insertVertex_(n[y],i)}return!!this.vertexFeature_},t.prototype.handleUpEvent=function(e){for(var t=this.dragSegments_.length-1;t>=0;--t){var o=this.dragSegments_[t][0],r=o.geometry;if(r.getType()===u.default.CIRCLE){var n=r.getCenter(),i=o.featureSegments[0],s=o.featureSegments[1];i.segment[0]=n,i.segment[1]=n,s.segment[0]=n,s.segment[1]=n,this.rBush_.update(Object(v.createOrUpdateFromCoordinate)(n),i);var a=r,l=Object(E.getUserProjection)();if(l){var c=e.map.getView().getProjection();a=a.clone().transform(l,c),a=Object(C.fromCircle)(a).transform(c,l)}this.rBush_.update(a.getExtent(),s)}else this.rBush_.update(Object(v.boundingExtent)(o.segment),o)}return this.featuresBeingModified_&&(this.dispatchEvent(new T(j,this.featuresBeingModified_,e)),this.featuresBeingModified_=null),!1},t.prototype.handlePointerMove_=function(e){this.lastPixel_=e.pixel,this.handlePointerAtPixel_(e.pixel,e.map,e.coordinate)},t.prototype.handlePointerAtPixel_=function(e,t,o){var r,n,i=this,s=o||t.getCoordinateFromPixel(e),a=t.getView().getProjection();if(this.hitDetection_){var l="object"==typeof this.hitDetection_?function(e){return e===i.hitDetection_}:void 0;t.forEachFeatureAtPixel(e,(function(e,t,o){if((o=o||e.getGeometry()).getType()===u.default.POINT&&Object(A.includes)(i.features_.getArray(),e)){n=o;var s=o.getFlatCoordinates().slice(0,2);r=[{feature:e,geometry:o,segment:[s,s]}]}return!0}),{layerFilter:l})}if(!r){var c=Object(E.fromUserExtent)(Object(v.createOrUpdateFromCoordinate)(s,O),a),d=t.getView().getResolution()*this.pixelTolerance_,p=Object(E.toUserExtent)(Object(v.buffer)(c,d,O),a);r=this.rBush_.getInExtent(p)}if(r&&r.length>0){var h=r.sort((function(e,t){return R(s,e,a)-R(s,t,a)}))[0],f=h.segment,m=L(s,h,a),g=t.getPixelFromCoordinate(m),y=Object(_.distance)(e,g);if(n||y<=this.pixelTolerance_){var b={};if(b[Object(S.getUid)(f)]=!0,this.snapToPointer_||(this.delta_[0]=m[0]-s[0],this.delta_[1]=m[1]-s[1]),h.geometry.getType()===u.default.CIRCLE&&1===h.index)this.snappedToVertex_=!0,this.createOrUpdateVertexFeature_(m,[h.feature],[h.geometry]);else{var C=t.getPixelFromCoordinate(f[0]),w=t.getPixelFromCoordinate(f[1]),I=Object(_.squaredDistance)(g,C),x=Object(_.squaredDistance)(g,w);y=Math.sqrt(Math.min(I,x)),this.snappedToVertex_=y<=this.pixelTolerance_,this.snappedToVertex_&&(m=I>x?f[1]:f[0]),this.createOrUpdateVertexFeature_(m,[h.feature],[h.geometry]);var j={};j[Object(S.getUid)(h.geometry)]=!0;for(var T=1,P=r.length;T<P;++T){var M=r[T].segment;if(!(Object(_.equals)(f[0],M[0])&&Object(_.equals)(f[1],M[1])||Object(_.equals)(f[0],M[1])&&Object(_.equals)(f[1],M[0])))break;var k=Object(S.getUid)(r[T].geometry);k in j||(j[k]=!0,b[Object(S.getUid)(M)]=!0)}}return void(this.vertexSegments_=b)}}this.vertexFeature_&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null)},t.prototype.insertVertex_=function(e,t){for(var o,r=e.segment,n=e.feature,i=e.geometry,s=e.depth,a=e.index;t.length<i.getStride();)t.push(0);switch(i.getType()){case u.default.MULTI_LINE_STRING:case u.default.POLYGON:(o=i.getCoordinates())[s[0]].splice(a+1,0,t);break;case u.default.MULTI_POLYGON:(o=i.getCoordinates())[s[1]][s[0]].splice(a+1,0,t);break;case u.default.LINE_STRING:(o=i.getCoordinates()).splice(a+1,0,t);break;default:return}this.setGeometryCoordinates_(i,o);var l=this.rBush_;l.remove(e),this.updateSegmentIndices_(i,a,s,1);var c={segment:[r[0],t],feature:n,geometry:i,depth:s,index:a};l.insert(Object(v.boundingExtent)(c.segment),c),this.dragSegments_.push([c,1]);var d={segment:[t,r[1]],feature:n,geometry:i,depth:s,index:a+1};l.insert(Object(v.boundingExtent)(d.segment),d),this.dragSegments_.push([d,0]),this.ignoreNextSingleClick_=!0},t.prototype.removePoint=function(){if(this.lastPointerEvent_&&this.lastPointerEvent_.type!=c.default.POINTERDRAG){var e=this.lastPointerEvent_;this.willModifyFeatures_(e,this.dragSegments_);var t=this.removeVertex_();return this.dispatchEvent(new T(j,this.featuresBeingModified_,e)),this.featuresBeingModified_=null,t}return!1},t.prototype.removeVertex_=function(){var e,t,o,r,n,i,s,a,l,c,d,p=this.dragSegments_,h={},f=!1;for(n=p.length-1;n>=0;--n)c=(o=p[n])[0],d=Object(S.getUid)(c.feature),c.depth&&(d+="-"+c.depth.join("-")),d in h||(h[d]={}),0===o[1]?(h[d].right=c,h[d].index=c.index):1==o[1]&&(h[d].left=c,h[d].index=c.index+1);for(d in h){switch(l=h[d].right,s=h[d].left,(a=(i=h[d].index)-1)<0&&(a=0),e=t=(r=(c=void 0!==s?s:l).geometry).getCoordinates(),f=!1,r.getType()){case u.default.MULTI_LINE_STRING:t[c.depth[0]].length>2&&(t[c.depth[0]].splice(i,1),f=!0);break;case u.default.LINE_STRING:t.length>2&&(t.splice(i,1),f=!0);break;case u.default.MULTI_POLYGON:e=e[c.depth[1]];case u.default.POLYGON:(e=e[c.depth[0]]).length>4&&(i==e.length-1&&(i=0),e.splice(i,1),f=!0,0===i&&(e.pop(),e.push(e[0]),a=e.length-1))}if(f){this.setGeometryCoordinates_(r,t);var m=[];if(void 0!==s&&(this.rBush_.remove(s),m.push(s.segment[0])),void 0!==l&&(this.rBush_.remove(l),m.push(l.segment[1])),void 0!==s&&void 0!==l){var g={depth:c.depth,feature:c.feature,geometry:c.geometry,index:a,segment:m};this.rBush_.insert(Object(v.boundingExtent)(g.segment),g)}this.updateSegmentIndices_(r,i,c.depth,-1),this.vertexFeature_&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null),p.length=0}}return f},t.prototype.setGeometryCoordinates_=function(e,t){this.changingFeature_=!0,e.setCoordinates(t),this.changingFeature_=!1},t.prototype.updateSegmentIndices_=function(e,t,o,r){this.rBush_.forEachInExtent(e.getExtent(),(function(n){n.geometry===e&&(void 0===o||void 0===n.depth||Object(A.equals)(n.depth,o))&&n.index>t&&(n.index+=r)}))},t}(p.default);function M(e,t){return e.index-t.index}function R(e,t,o){var r=t.geometry;if(r.getType()===u.default.CIRCLE){var n=r;if(1===t.index){var i=Object(E.getUserProjection)();i&&(n=n.clone().transform(i,o));var s=Object(_.squaredDistance)(n.getCenter(),Object(E.fromUserCoordinate)(e,o)),a=Math.sqrt(s)-n.getRadius();return a*a}}var l=Object(E.fromUserCoordinate)(e,o);return I[0]=Object(E.fromUserCoordinate)(t.segment[0],o),I[1]=Object(E.fromUserCoordinate)(t.segment[1],o),Object(_.squaredDistanceToSegment)(l,I)}function L(e,t,o){var r=t.geometry;if(r.getType()===u.default.CIRCLE&&1===t.index){var n=r,i=Object(E.getUserProjection)();return i&&(n=n.clone().transform(i,o)),Object(E.toUserCoordinate)(n.getClosestPoint(Object(E.fromUserCoordinate)(e,o)),o)}var s=Object(E.fromUserCoordinate)(e,o);return I[0]=Object(E.fromUserCoordinate)(t.segment[0],o),I[1]=Object(E.fromUserCoordinate)(t.segment[1],o),Object(E.toUserCoordinate)(Object(_.closestOnSegment)(s,I),o)}t.default=P},"./node_modules/ol/interaction/MouseWheelZoom.js":function(e,t,o){"use strict";o.r(t),o.d(t,"Mode",(function(){return c}));var r,n=o("./node_modules/ol/events/EventType.js"),i=o("./node_modules/ol/interaction/Interaction.js"),s=o("./node_modules/ol/has.js"),a=o("./node_modules/ol/events/condition.js"),l=o("./node_modules/ol/math.js"),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),c={TRACKPAD:"trackpad",WHEEL:"wheel"},d=function(e){function t(t){var o=this,r=t||{};(o=e.call(this,r)||this).totalDelta_=0,o.lastDelta_=0,o.maxDelta_=void 0!==r.maxDelta?r.maxDelta:1,o.duration_=void 0!==r.duration?r.duration:250,o.timeout_=void 0!==r.timeout?r.timeout:80,o.useAnchor_=void 0===r.useAnchor||r.useAnchor,o.constrainResolution_=void 0!==r.constrainResolution&&r.constrainResolution;var n=r.condition?r.condition:a.always;return o.condition_=r.onFocusOnly?Object(a.all)(a.focusWithTabindex,n):n,o.lastAnchor_=null,o.startTime_=void 0,o.timeoutId_,o.mode_=void 0,o.trackpadEventGap_=400,o.trackpadTimeoutId_,o.deltaPerZoom_=300,o}return u(t,e),t.prototype.endInteraction_=function(){this.trackpadTimeoutId_=void 0,this.getMap().getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)},t.prototype.handleEvent=function(e){if(!this.condition_(e))return!0;if(e.type!==n.default.WHEEL)return!0;var t,o=e.map,r=e.originalEvent;if(r.preventDefault(),this.useAnchor_&&(this.lastAnchor_=e.coordinate),e.type==n.default.WHEEL&&(t=r.deltaY,s.FIREFOX&&r.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(t/=s.DEVICE_PIXEL_RATIO),r.deltaMode===WheelEvent.DOM_DELTA_LINE&&(t*=40)),0===t)return!1;this.lastDelta_=t;var i=Date.now();void 0===this.startTime_&&(this.startTime_=i),(!this.mode_||i-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(t)<4?c.TRACKPAD:c.WHEEL);var a=o.getView();if(this.mode_===c.TRACKPAD&&!a.getConstrainResolution()&&!this.constrainResolution_)return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(a.getAnimating()&&a.cancelAnimations(),a.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),a.adjustZoom(-t/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=i,!1;this.totalDelta_+=t;var l=Math.max(this.timeout_-(i-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,o),l),!1},t.prototype.handleWheelZoom_=function(e){var t=e.getView();t.getAnimating()&&t.cancelAnimations();var o=-Object(l.clamp)(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(t.getConstrainResolution()||this.constrainResolution_)&&(o=o?o>0?1:-1:0),Object(i.zoomByDelta)(t,o,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0},t.prototype.setMouseAnchor=function(e){this.useAnchor_=e,e||(this.lastAnchor_=null)},t}(i.default);t.default=d},"./node_modules/ol/interaction/PinchRotate.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/interaction/Pointer.js"),i=o("./node_modules/ol/functions.js"),s=o("./node_modules/ol/rotationconstraint.js"),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=function(e){function t(t){var o=this,r=t||{},n=r;return n.stopDown||(n.stopDown=i.FALSE),(o=e.call(this,n)||this).anchor_=null,o.lastAngle_=void 0,o.rotating_=!1,o.rotationDelta_=0,o.threshold_=void 0!==r.threshold?r.threshold:.3,o.duration_=void 0!==r.duration?r.duration:250,o}return a(t,e),t.prototype.handleDragEvent=function(e){var t=0,o=this.targetPointers[0],r=this.targetPointers[1],i=Math.atan2(r.clientY-o.clientY,r.clientX-o.clientX);if(void 0!==this.lastAngle_){var a=i-this.lastAngle_;this.rotationDelta_+=a,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),t=a}this.lastAngle_=i;var l=e.map,u=l.getView();if(u.getConstraints().rotation!==s.disable){var c=l.getViewport().getBoundingClientRect(),d=Object(n.centroid)(this.targetPointers);d[0]-=c.left,d[1]-=c.top,this.anchor_=l.getCoordinateFromPixelInternal(d),this.rotating_&&(l.render(),u.adjustRotationInternal(t,this.anchor_))}},t.prototype.handleUpEvent=function(e){return!(this.targetPointers.length<2)||(e.map.getView().endInteraction(this.duration_),!1)},t.prototype.handleDownEvent=function(e){if(this.targetPointers.length>=2){var t=e.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||t.getView().beginInteraction(),!0}return!1},t}(n.default);t.default=l},"./node_modules/ol/interaction/PinchZoom.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/interaction/Pointer.js"),i=o("./node_modules/ol/functions.js"),s=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=function(e){function t(t){var o=this,r=t||{},n=r;return n.stopDown||(n.stopDown=i.FALSE),(o=e.call(this,n)||this).anchor_=null,o.duration_=void 0!==r.duration?r.duration:400,o.lastDistance_=void 0,o.lastScaleDelta_=1,o}return s(t,e),t.prototype.handleDragEvent=function(e){var t=1,o=this.targetPointers[0],r=this.targetPointers[1],i=o.clientX-r.clientX,s=o.clientY-r.clientY,a=Math.sqrt(i*i+s*s);void 0!==this.lastDistance_&&(t=this.lastDistance_/a),this.lastDistance_=a;var l=e.map,u=l.getView();1!=t&&(this.lastScaleDelta_=t);var c=l.getViewport().getBoundingClientRect(),d=Object(n.centroid)(this.targetPointers);d[0]-=c.left,d[1]-=c.top,this.anchor_=l.getCoordinateFromPixelInternal(d),l.render(),u.adjustResolutionInternal(t,this.anchor_)},t.prototype.handleUpEvent=function(e){if(this.targetPointers.length<2){var t=e.map.getView(),o=this.lastScaleDelta_>1?1:-1;return t.endInteraction(this.duration_,o),!1}return!0},t.prototype.handleDownEvent=function(e){if(this.targetPointers.length>=2){var t=e.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||t.getView().beginInteraction(),!0}return!1},t}(n.default);t.default=a},"./node_modules/ol/interaction/Pointer.js":function(e,t,o){"use strict";o.r(t),o.d(t,"centroid",(function(){return u}));var r,n=o("./node_modules/ol/interaction/Interaction.js"),i=o("./node_modules/ol/MapBrowserEventType.js"),s=o("./node_modules/ol/obj.js"),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=function(e){function t(t){var o=this,r=t||{};return o=e.call(this,r)||this,r.handleDownEvent&&(o.handleDownEvent=r.handleDownEvent),r.handleDragEvent&&(o.handleDragEvent=r.handleDragEvent),r.handleMoveEvent&&(o.handleMoveEvent=r.handleMoveEvent),r.handleUpEvent&&(o.handleUpEvent=r.handleUpEvent),r.stopDown&&(o.stopDown=r.stopDown),o.handlingDownUpSequence=!1,o.trackedPointers_={},o.targetPointers=[],o}return a(t,e),t.prototype.getPointerCount=function(){return this.targetPointers.length},t.prototype.handleDownEvent=function(e){return!1},t.prototype.handleDragEvent=function(e){},t.prototype.handleEvent=function(e){if(!e.originalEvent)return!0;var t=!1;if(this.updateTrackedPointers_(e),this.handlingDownUpSequence){if(e.type==i.default.POINTERDRAG)this.handleDragEvent(e),e.originalEvent.preventDefault();else if(e.type==i.default.POINTERUP){var o=this.handleUpEvent(e);this.handlingDownUpSequence=o&&this.targetPointers.length>0}}else if(e.type==i.default.POINTERDOWN){var r=this.handleDownEvent(e);this.handlingDownUpSequence=r,t=this.stopDown(r)}else e.type==i.default.POINTERMOVE&&this.handleMoveEvent(e);return!t},t.prototype.handleMoveEvent=function(e){},t.prototype.handleUpEvent=function(e){return!1},t.prototype.stopDown=function(e){return e},t.prototype.updateTrackedPointers_=function(e){if(function(e){var t=e.type;return t===i.default.POINTERDOWN||t===i.default.POINTERDRAG||t===i.default.POINTERUP}(e)){var t=e.originalEvent,o=t.pointerId.toString();e.type==i.default.POINTERUP?delete this.trackedPointers_[o]:(e.type==i.default.POINTERDOWN||o in this.trackedPointers_)&&(this.trackedPointers_[o]=t),this.targetPointers=Object(s.getValues)(this.trackedPointers_)}},t}(n.default);function u(e){for(var t=e.length,o=0,r=0,n=0;n<t;n++)o+=e[n].clientX,r+=e[n].clientY;return[o/t,r/t]}t.default=l},"./node_modules/ol/interaction/Property.js":function(e,t,o){"use strict";o.r(t),t.default={ACTIVE:"active"}},"./node_modules/ol/interaction/Select.js":function(e,t,o){"use strict";o.r(t),o.d(t,"SelectEvent",(function(){return y}));var r,n=o("./node_modules/ol/Collection.js"),i=o("./node_modules/ol/CollectionEventType.js"),s=o("./node_modules/ol/events/Event.js"),a=o("./node_modules/ol/geom/GeometryType.js"),l=o("./node_modules/ol/interaction/Interaction.js"),u=o("./node_modules/ol/functions.js"),c=o("./node_modules/ol/obj.js"),d=o("./node_modules/ol/style/Style.js"),p=o("./node_modules/ol/array.js"),h=o("./node_modules/ol/util.js"),f=o("./node_modules/ol/events/condition.js"),m=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),g="select",y=function(e){function t(t,o,r,n){var i=e.call(this,t)||this;return i.selected=o,i.deselected=r,i.mapBrowserEvent=n,i}return m(t,e),t}(s.default),v={},_=function(e){function t(t){var o=e.call(this)||this;o.on,o.once,o.un;var r,i,s=t||{};if(o.boundAddFeature_=o.addFeature_.bind(o),o.boundRemoveFeature_=o.removeFeature_.bind(o),o.condition_=s.condition?s.condition:f.singleClick,o.addCondition_=s.addCondition?s.addCondition:f.never,o.removeCondition_=s.removeCondition?s.removeCondition:f.never,o.toggleCondition_=s.toggleCondition?s.toggleCondition:f.shiftKeyOnly,o.multi_=!!s.multi&&s.multi,o.filter_=s.filter?s.filter:u.TRUE,o.hitTolerance_=s.hitTolerance?s.hitTolerance:0,o.style_=void 0!==s.style?s.style:(r=Object(d.createEditingStyle)(),Object(p.extend)(r[a.default.POLYGON],r[a.default.LINE_STRING]),Object(p.extend)(r[a.default.GEOMETRY_COLLECTION],r[a.default.LINE_STRING]),function(e){return e.getGeometry()?r[e.getGeometry().getType()]:null}),o.features_=s.features||new n.default,s.layers)if("function"==typeof s.layers)i=s.layers;else{var l=s.layers;i=function(e){return Object(p.includes)(l,e)}}else i=u.TRUE;return o.layerFilter_=i,o.featureLayerAssociation_={},o}return m(t,e),t.prototype.addFeatureLayerAssociation_=function(e,t){this.featureLayerAssociation_[Object(h.getUid)(e)]=t},t.prototype.getFeatures=function(){return this.features_},t.prototype.getHitTolerance=function(){return this.hitTolerance_},t.prototype.getLayer=function(e){return this.featureLayerAssociation_[Object(h.getUid)(e)]},t.prototype.setHitTolerance=function(e){this.hitTolerance_=e},t.prototype.setMap=function(t){this.getMap()&&this.style_&&this.features_.forEach(this.restorePreviousStyle_.bind(this)),e.prototype.setMap.call(this,t),t?(this.features_.addEventListener(i.default.ADD,this.boundAddFeature_),this.features_.addEventListener(i.default.REMOVE,this.boundRemoveFeature_),this.style_&&this.features_.forEach(this.applySelectedStyle_.bind(this))):(this.features_.removeEventListener(i.default.ADD,this.boundAddFeature_),this.features_.removeEventListener(i.default.REMOVE,this.boundRemoveFeature_))},t.prototype.addFeature_=function(e){var t=e.element;this.style_&&this.applySelectedStyle_(t)},t.prototype.removeFeature_=function(e){var t=e.element;this.style_&&this.restorePreviousStyle_(t)},t.prototype.getStyle=function(){return this.style_},t.prototype.applySelectedStyle_=function(e){var t=Object(h.getUid)(e);t in v||(v[t]=e.getStyle()),e.setStyle(this.style_)},t.prototype.restorePreviousStyle_=function(e){for(var o=this.getMap().getInteractions().getArray(),r=o.length-1;r>=0;--r){var n=o[r];if(n!==this&&n instanceof t&&n.getStyle()&&-1!==n.getFeatures().getArray().lastIndexOf(e))return void e.setStyle(n.getStyle())}var i=Object(h.getUid)(e);e.setStyle(v[i]),delete v[i]},t.prototype.removeFeatureLayerAssociation_=function(e){delete this.featureLayerAssociation_[Object(h.getUid)(e)]},t.prototype.handleEvent=function(e){if(!this.condition_(e))return!0;var t=this.addCondition_(e),o=this.removeCondition_(e),r=this.toggleCondition_(e),n=!t&&!o&&!r,i=e.map,s=this.getFeatures(),a=[],l=[];if(n){Object(c.clear)(this.featureLayerAssociation_),i.forEachFeatureAtPixel(e.pixel,function(e,t){if(this.filter_(e,t))return l.push(e),this.addFeatureLayerAssociation_(e,t),!this.multi_}.bind(this),{layerFilter:this.layerFilter_,hitTolerance:this.hitTolerance_});for(var u=s.getLength()-1;u>=0;--u){var d=s.item(u),h=l.indexOf(d);h>-1?l.splice(h,1):(s.remove(d),a.push(d))}0!==l.length&&s.extend(l)}else{i.forEachFeatureAtPixel(e.pixel,function(e,n){if(this.filter_(e,n))return!t&&!r||Object(p.includes)(s.getArray(),e)?(o||r)&&Object(p.includes)(s.getArray(),e)&&(a.push(e),this.removeFeatureLayerAssociation_(e)):(l.push(e),this.addFeatureLayerAssociation_(e,n)),!this.multi_}.bind(this),{layerFilter:this.layerFilter_,hitTolerance:this.hitTolerance_});for(var f=a.length-1;f>=0;--f)s.remove(a[f]);s.extend(l)}return(l.length>0||a.length>0)&&this.dispatchEvent(new y(g,l,a,e)),!0},t}(l.default);t.default=_},"./node_modules/ol/interaction/Snap.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/CollectionEventType.js"),i=o("./node_modules/ol/events/EventType.js"),s=o("./node_modules/ol/geom/GeometryType.js"),a=o("./node_modules/ol/interaction/Pointer.js"),l=o("./node_modules/ol/structs/RBush.js"),u=o("./node_modules/ol/source/VectorEventType.js"),c=o("./node_modules/ol/functions.js"),d=o("./node_modules/ol/extent.js"),p=o("./node_modules/ol/coordinate.js"),h=o("./node_modules/ol/geom/Polygon.js"),f=o("./node_modules/ol/proj.js"),m=o("./node_modules/ol/util.js"),g=o("./node_modules/ol/obj.js"),y=o("./node_modules/ol/events.js"),v=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});function _(e){return e.feature?e.feature:e.element?e.element:void 0}var b=[],A=function(e){function t(t){var o=this,r=t||{},n=r;return n.handleDownEvent||(n.handleDownEvent=c.TRUE),n.stopDown||(n.stopDown=c.FALSE),(o=e.call(this,n)||this).source_=r.source?r.source:null,o.vertex_=void 0===r.vertex||r.vertex,o.edge_=void 0===r.edge||r.edge,o.features_=r.features?r.features:null,o.featuresListenerKeys_=[],o.featureChangeListenerKeys_={},o.indexedFeaturesExtents_={},o.pendingFeatures_={},o.pixelTolerance_=void 0!==r.pixelTolerance?r.pixelTolerance:10,o.rBush_=new l.default,o.SEGMENT_WRITERS_={Point:o.writePointGeometry_.bind(o),LineString:o.writeLineStringGeometry_.bind(o),LinearRing:o.writeLineStringGeometry_.bind(o),Polygon:o.writePolygonGeometry_.bind(o),MultiPoint:o.writeMultiPointGeometry_.bind(o),MultiLineString:o.writeMultiLineStringGeometry_.bind(o),MultiPolygon:o.writeMultiPolygonGeometry_.bind(o),GeometryCollection:o.writeGeometryCollectionGeometry_.bind(o),Circle:o.writeCircleGeometry_.bind(o)},o}return v(t,e),t.prototype.addFeature=function(e,t){var o=void 0===t||t,r=Object(m.getUid)(e),n=e.getGeometry();if(n){var s=this.SEGMENT_WRITERS_[n.getType()];s&&(this.indexedFeaturesExtents_[r]=n.getExtent(Object(d.createEmpty)()),s(e,n))}o&&(this.featureChangeListenerKeys_[r]=Object(y.listen)(e,i.default.CHANGE,this.handleFeatureChange_,this))},t.prototype.forEachFeatureAdd_=function(e){this.addFeature(e)},t.prototype.forEachFeatureRemove_=function(e){this.removeFeature(e)},t.prototype.getFeatures_=function(){var e;return this.features_?e=this.features_:this.source_&&(e=this.source_.getFeatures()),e},t.prototype.handleEvent=function(t){var o=this.snapTo(t.pixel,t.coordinate,t.map);return o.snapped&&(t.coordinate=o.vertex.slice(0,2),t.pixel=o.vertexPixel),e.prototype.handleEvent.call(this,t)},t.prototype.handleFeatureAdd_=function(e){var t=_(e);this.addFeature(t)},t.prototype.handleFeatureRemove_=function(e){var t=_(e);this.removeFeature(t)},t.prototype.handleFeatureChange_=function(e){var t=e.target;if(this.handlingDownUpSequence){var o=Object(m.getUid)(t);o in this.pendingFeatures_||(this.pendingFeatures_[o]=t)}else this.updateFeature_(t)},t.prototype.handleUpEvent=function(e){var t=Object(g.getValues)(this.pendingFeatures_);return t.length&&(t.forEach(this.updateFeature_.bind(this)),this.pendingFeatures_={}),!1},t.prototype.removeFeature=function(e,t){var o=void 0===t||t,r=Object(m.getUid)(e),n=this.indexedFeaturesExtents_[r];if(n){var i=this.rBush_,s=[];i.forEachInExtent(n,(function(t){e===t.feature&&s.push(t)}));for(var a=s.length-1;a>=0;--a)i.remove(s[a])}o&&(Object(y.unlistenByKey)(this.featureChangeListenerKeys_[r]),delete this.featureChangeListenerKeys_[r])},t.prototype.setMap=function(t){var o=this.getMap(),r=this.featuresListenerKeys_,i=this.getFeatures_();o&&(r.forEach(y.unlistenByKey),r.length=0,i.forEach(this.forEachFeatureRemove_.bind(this))),e.prototype.setMap.call(this,t),t&&(this.features_?r.push(Object(y.listen)(this.features_,n.default.ADD,this.handleFeatureAdd_,this),Object(y.listen)(this.features_,n.default.REMOVE,this.handleFeatureRemove_,this)):this.source_&&r.push(Object(y.listen)(this.source_,u.default.ADDFEATURE,this.handleFeatureAdd_,this),Object(y.listen)(this.source_,u.default.REMOVEFEATURE,this.handleFeatureRemove_,this)),i.forEach(this.forEachFeatureAdd_.bind(this)))},t.prototype.snapTo=function(e,t,o){var r=o.getCoordinateFromPixel([e[0]-this.pixelTolerance_,e[1]+this.pixelTolerance_]),n=o.getCoordinateFromPixel([e[0]+this.pixelTolerance_,e[1]-this.pixelTolerance_]),i=Object(d.boundingExtent)([r,n]),a=this.rBush_.getInExtent(i);this.vertex_&&!this.edge_&&(a=a.filter((function(e){return e.feature.getGeometry().getType()!==s.default.CIRCLE})));var l=!1,u=null,c=null;if(0===a.length)return{snapped:l,vertex:u,vertexPixel:c};for(var h,m=o.getView().getProjection(),g=Object(f.fromUserCoordinate)(t,m),y=1/0,v=0;v<a.length;++v){var _=a[v];b[0]=Object(f.fromUserCoordinate)(_.segment[0],m),b[1]=Object(f.fromUserCoordinate)(_.segment[1],m);var A=Object(p.squaredDistanceToSegment)(g,b);A<y&&(h=_,y=A)}var C=h.segment;if(this.vertex_&&!this.edge_){var E=o.getPixelFromCoordinate(C[0]),S=o.getPixelFromCoordinate(C[1]),w=Object(p.squaredDistance)(e,E),O=Object(p.squaredDistance)(e,S);Math.sqrt(Math.min(w,O))<=this.pixelTolerance_&&(l=!0,u=w>O?C[1]:C[0],c=o.getPixelFromCoordinate(u))}else if(this.edge_){var I=h.feature.getGeometry().getType()===s.default.CIRCLE;if(I){var x=h.feature.getGeometry(),j=Object(f.getUserProjection)();j&&(x=x.clone().transform(j,m)),u=Object(f.toUserCoordinate)(Object(p.closestOnCircle)(g,x),m)}else b[0]=Object(f.fromUserCoordinate)(C[0],m),b[1]=Object(f.fromUserCoordinate)(C[1],m),u=Object(f.toUserCoordinate)(Object(p.closestOnSegment)(g,b),m);if(c=o.getPixelFromCoordinate(u),Object(p.distance)(e,c)<=this.pixelTolerance_&&(l=!0,this.vertex_&&!I)){E=o.getPixelFromCoordinate(C[0]),S=o.getPixelFromCoordinate(C[1]),w=Object(p.squaredDistance)(c,E),O=Object(p.squaredDistance)(c,S);Math.sqrt(Math.min(w,O))<=this.pixelTolerance_&&(u=w>O?C[1]:C[0],c=o.getPixelFromCoordinate(u))}}return l&&(c=[Math.round(c[0]),Math.round(c[1])]),{snapped:l,vertex:u,vertexPixel:c}},t.prototype.updateFeature_=function(e){this.removeFeature(e,!1),this.addFeature(e,!1)},t.prototype.writeCircleGeometry_=function(e,t){var o=this.getMap().getView().getProjection(),r=t,n=Object(f.getUserProjection)();n&&(r=r.clone().transform(n,o));var i=Object(h.fromCircle)(r);n&&i.transform(o,n);for(var s=i.getCoordinates()[0],a=0,l=s.length-1;a<l;++a){var u=s.slice(a,a+2),c={feature:e,segment:u};this.rBush_.insert(Object(d.boundingExtent)(u),c)}},t.prototype.writeGeometryCollectionGeometry_=function(e,t){for(var o=t.getGeometriesArray(),r=0;r<o.length;++r){var n=this.SEGMENT_WRITERS_[o[r].getType()];n&&n(e,o[r])}},t.prototype.writeLineStringGeometry_=function(e,t){for(var o=t.getCoordinates(),r=0,n=o.length-1;r<n;++r){var i=o.slice(r,r+2),s={feature:e,segment:i};this.rBush_.insert(Object(d.boundingExtent)(i),s)}},t.prototype.writeMultiLineStringGeometry_=function(e,t){for(var o=t.getCoordinates(),r=0,n=o.length;r<n;++r)for(var i=o[r],s=0,a=i.length-1;s<a;++s){var l=i.slice(s,s+2),u={feature:e,segment:l};this.rBush_.insert(Object(d.boundingExtent)(l),u)}},t.prototype.writeMultiPointGeometry_=function(e,t){for(var o=t.getCoordinates(),r=0,n=o.length;r<n;++r){var i=o[r],s={feature:e,segment:[i,i]};this.rBush_.insert(t.getExtent(),s)}},t.prototype.writeMultiPolygonGeometry_=function(e,t){for(var o=t.getCoordinates(),r=0,n=o.length;r<n;++r)for(var i=o[r],s=0,a=i.length;s<a;++s)for(var l=i[s],u=0,c=l.length-1;u<c;++u){var p=l.slice(u,u+2),h={feature:e,segment:p};this.rBush_.insert(Object(d.boundingExtent)(p),h)}},t.prototype.writePointGeometry_=function(e,t){var o=t.getCoordinates(),r={feature:e,segment:[o,o]};this.rBush_.insert(t.getExtent(),r)},t.prototype.writePolygonGeometry_=function(e,t){for(var o=t.getCoordinates(),r=0,n=o.length;r<n;++r)for(var i=o[r],s=0,a=i.length-1;s<a;++s){var l=i.slice(s,s+2),u={feature:e,segment:l};this.rBush_.insert(Object(d.boundingExtent)(l),u)}},t}(a.default);t.default=A},"./node_modules/ol/interaction/Translate.js":function(e,t,o){"use strict";o.r(t),o.d(t,"TranslateEvent",(function(){return m}));var r,n=o("./node_modules/ol/Collection.js"),i=o("./node_modules/ol/events/Event.js"),s=o("./node_modules/ol/interaction/Property.js"),a=o("./node_modules/ol/interaction/Pointer.js"),l=o("./node_modules/ol/functions.js"),u=o("./node_modules/ol/events/condition.js"),c=o("./node_modules/ol/array.js"),d=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),p="translatestart",h="translating",f="translateend",m=function(e){function t(t,o,r,n,i){var s=e.call(this,t)||this;return s.features=o,s.coordinate=r,s.startCoordinate=n,s.mapBrowserEvent=i,s}return d(t,e),t}(i.default),g=function(e){function t(t){var o,r=this,n=t||{};if((r=e.call(this,n)||this).on,r.once,r.un,r.lastCoordinate_=null,r.startCoordinate_=null,r.features_=void 0!==n.features?n.features:null,n.layers&&!r.features_)if("function"==typeof n.layers)o=n.layers;else{var i=n.layers;o=function(e){return Object(c.includes)(i,e)}}else o=l.TRUE;return r.layerFilter_=o,r.filter_=n.filter&&!r.features_?n.filter:l.TRUE,r.hitTolerance_=n.hitTolerance?n.hitTolerance:0,r.condition_=n.condition?n.condition:u.always,r.lastFeature_=null,r.addChangeListener(s.default.ACTIVE,r.handleActiveChanged_),r}return d(t,e),t.prototype.handleDownEvent=function(e){if(!e.originalEvent||!this.condition_(e))return!1;if(this.lastFeature_=this.featuresAtPixel_(e.pixel,e.map),!this.lastCoordinate_&&this.lastFeature_){this.startCoordinate_=e.coordinate,this.lastCoordinate_=e.coordinate,this.handleMoveEvent(e);var t=this.features_||new n.default([this.lastFeature_]);return this.dispatchEvent(new m(p,t,e.coordinate,this.startCoordinate_,e)),!0}return!1},t.prototype.handleUpEvent=function(e){if(this.lastCoordinate_){this.lastCoordinate_=null,this.handleMoveEvent(e);var t=this.features_||new n.default([this.lastFeature_]);return this.dispatchEvent(new m(f,t,e.coordinate,this.startCoordinate_,e)),this.startCoordinate_=null,!0}return!1},t.prototype.handleDragEvent=function(e){if(this.lastCoordinate_){var t=e.coordinate,o=t[0]-this.lastCoordinate_[0],r=t[1]-this.lastCoordinate_[1],i=this.features_||new n.default([this.lastFeature_]);i.forEach((function(e){var t=e.getGeometry();t.translate(o,r),e.setGeometry(t)})),this.lastCoordinate_=t,this.dispatchEvent(new m(h,i,t,this.startCoordinate_,e))}},t.prototype.handleMoveEvent=function(e){var t=e.map.getViewport();this.featuresAtPixel_(e.pixel,e.map)?(t.classList.remove(this.lastCoordinate_?"ol-grab":"ol-grabbing"),t.classList.add(this.lastCoordinate_?"ol-grabbing":"ol-grab")):t.classList.remove("ol-grab","ol-grabbing")},t.prototype.featuresAtPixel_=function(e,t){return t.forEachFeatureAtPixel(e,function(e,t){if(this.filter_(e,t)&&(!this.features_||Object(c.includes)(this.features_.getArray(),e)))return e}.bind(this),{layerFilter:this.layerFilter_,hitTolerance:this.hitTolerance_})},t.prototype.getHitTolerance=function(){return this.hitTolerance_},t.prototype.setHitTolerance=function(e){this.hitTolerance_=e},t.prototype.setMap=function(t){var o=this.getMap();e.prototype.setMap.call(this,t),this.updateState_(o)},t.prototype.handleActiveChanged_=function(){this.updateState_(null)},t.prototype.updateState_=function(e){var t=this.getMap(),o=this.getActive();t&&o||(t=t||e)&&t.getViewport().classList.remove("ol-grab","ol-grabbing")},t}(a.default);t.default=g},"./node_modules/ol/layer/Base.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/Object.js"),i=o("./node_modules/ol/layer/Property.js"),s=o("./node_modules/ol/util.js"),a=o("./node_modules/ol/asserts.js"),l=o("./node_modules/ol/obj.js"),u=o("./node_modules/ol/math.js"),c=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),d=function(e){function t(t){var o=e.call(this)||this;o.on,o.once,o.un;var r=Object(l.assign)({},t);return"object"==typeof t.properties&&(delete r.properties,Object(l.assign)(r,t.properties)),r[i.default.OPACITY]=void 0!==t.opacity?t.opacity:1,Object(a.assert)("number"==typeof r[i.default.OPACITY],64),r[i.default.VISIBLE]=void 0===t.visible||t.visible,r[i.default.Z_INDEX]=t.zIndex,r[i.default.MAX_RESOLUTION]=void 0!==t.maxResolution?t.maxResolution:1/0,r[i.default.MIN_RESOLUTION]=void 0!==t.minResolution?t.minResolution:0,r[i.default.MIN_ZOOM]=void 0!==t.minZoom?t.minZoom:-1/0,r[i.default.MAX_ZOOM]=void 0!==t.maxZoom?t.maxZoom:1/0,o.className_=void 0!==r.className?t.className:"ol-layer",delete r.className,o.setProperties(r),o.state_=null,o}return c(t,e),t.prototype.getClassName=function(){return this.className_},t.prototype.getLayerState=function(e){var t=this.state_||{layer:this,managed:void 0===e||e},o=this.getZIndex();return t.opacity=Object(u.clamp)(Math.round(100*this.getOpacity())/100,0,1),t.sourceState=this.getSourceState(),t.visible=this.getVisible(),t.extent=this.getExtent(),t.zIndex=void 0!==o||t.managed?o:1/0,t.maxResolution=this.getMaxResolution(),t.minResolution=Math.max(this.getMinResolution(),0),t.minZoom=this.getMinZoom(),t.maxZoom=this.getMaxZoom(),this.state_=t,t},t.prototype.getLayersArray=function(e){return Object(s.abstract)()},t.prototype.getLayerStatesArray=function(e){return Object(s.abstract)()},t.prototype.getExtent=function(){return this.get(i.default.EXTENT)},t.prototype.getMaxResolution=function(){return this.get(i.default.MAX_RESOLUTION)},t.prototype.getMinResolution=function(){return this.get(i.default.MIN_RESOLUTION)},t.prototype.getMinZoom=function(){return this.get(i.default.MIN_ZOOM)},t.prototype.getMaxZoom=function(){return this.get(i.default.MAX_ZOOM)},t.prototype.getOpacity=function(){return this.get(i.default.OPACITY)},t.prototype.getSourceState=function(){return Object(s.abstract)()},t.prototype.getVisible=function(){return this.get(i.default.VISIBLE)},t.prototype.getZIndex=function(){return this.get(i.default.Z_INDEX)},t.prototype.setExtent=function(e){this.set(i.default.EXTENT,e)},t.prototype.setMaxResolution=function(e){this.set(i.default.MAX_RESOLUTION,e)},t.prototype.setMinResolution=function(e){this.set(i.default.MIN_RESOLUTION,e)},t.prototype.setMaxZoom=function(e){this.set(i.default.MAX_ZOOM,e)},t.prototype.setMinZoom=function(e){this.set(i.default.MIN_ZOOM,e)},t.prototype.setOpacity=function(e){Object(a.assert)("number"==typeof e,64),this.set(i.default.OPACITY,e)},t.prototype.setVisible=function(e){this.set(i.default.VISIBLE,e)},t.prototype.setZIndex=function(e){this.set(i.default.Z_INDEX,e)},t.prototype.disposeInternal=function(){this.state_&&(this.state_.layer=null,this.state_=null),e.prototype.disposeInternal.call(this)},t}(n.default);t.default=d},"./node_modules/ol/layer/BaseImage.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/layer/Layer.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t){var o=t||{};return e.call(this,o)||this}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/layer/BaseTile.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/layer/Layer.js"),i=o("./node_modules/ol/layer/TileProperty.js"),s=o("./node_modules/ol/obj.js"),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=function(e){function t(t){var o=this,r=t||{},n=Object(s.assign)({},r);return delete n.preload,delete n.useInterimTilesOnError,(o=e.call(this,n)||this).on,o.once,o.un,o.setPreload(void 0!==r.preload?r.preload:0),o.setUseInterimTilesOnError(void 0===r.useInterimTilesOnError||r.useInterimTilesOnError),o}return a(t,e),t.prototype.getPreload=function(){return this.get(i.default.PRELOAD)},t.prototype.setPreload=function(e){this.set(i.default.PRELOAD,e)},t.prototype.getUseInterimTilesOnError=function(){return this.get(i.default.USE_INTERIM_TILES_ON_ERROR)},t.prototype.setUseInterimTilesOnError=function(e){this.set(i.default.USE_INTERIM_TILES_ON_ERROR,e)},t}(n.default);t.default=l},"./node_modules/ol/layer/BaseVector.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/layer/Layer.js"),i=o("./node_modules/rbush/rbush.min.js"),s=o.n(i),a=o("./node_modules/ol/obj.js"),l=o("./node_modules/ol/style/Style.js"),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),c="renderOrder",d=function(e){function t(t){var o=this,r=t||{},n=Object(a.assign)({},r);return delete n.style,delete n.renderBuffer,delete n.updateWhileAnimating,delete n.updateWhileInteracting,(o=e.call(this,n)||this).declutter_=void 0!==r.declutter&&r.declutter,o.renderBuffer_=void 0!==r.renderBuffer?r.renderBuffer:100,o.style_=null,o.styleFunction_=void 0,o.setStyle(r.style),o.updateWhileAnimating_=void 0!==r.updateWhileAnimating&&r.updateWhileAnimating,o.updateWhileInteracting_=void 0!==r.updateWhileInteracting&&r.updateWhileInteracting,o}return u(t,e),t.prototype.getDeclutter=function(){return this.declutter_},t.prototype.getFeatures=function(t){return e.prototype.getFeatures.call(this,t)},t.prototype.getRenderBuffer=function(){return this.renderBuffer_},t.prototype.getRenderOrder=function(){return this.get(c)},t.prototype.getStyle=function(){return this.style_},t.prototype.getStyleFunction=function(){return this.styleFunction_},t.prototype.getUpdateWhileAnimating=function(){return this.updateWhileAnimating_},t.prototype.getUpdateWhileInteracting=function(){return this.updateWhileInteracting_},t.prototype.renderDeclutter=function(e){e.declutterTree||(e.declutterTree=new s.a(9)),this.getRenderer().renderDeclutter(e)},t.prototype.setRenderOrder=function(e){this.set(c,e)},t.prototype.setStyle=function(e){this.style_=void 0!==e?e:l.createDefaultStyle,this.styleFunction_=null===e?void 0:Object(l.toFunction)(this.style_),this.changed()},t}(n.default);t.default=d},"./node_modules/ol/layer/Graticule.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/Collection.js"),i=o("./node_modules/ol/render/EventType.js"),s=o("./node_modules/ol/Feature.js"),a=o("./node_modules/ol/style/Fill.js"),l=o("./node_modules/ol/geom/GeometryLayout.js"),u=o("./node_modules/ol/geom/LineString.js"),c=o("./node_modules/ol/geom/Point.js"),d=o("./node_modules/ol/style/Stroke.js"),p=o("./node_modules/ol/style/Style.js"),h=o("./node_modules/ol/style/Text.js"),f=o("./node_modules/ol/layer/Vector.js"),m=o("./node_modules/ol/source/Vector.js"),g=o("./node_modules/ol/extent.js"),y=o("./node_modules/ol/obj.js"),v=o("./node_modules/ol/math.js"),_=o("./node_modules/ol/coordinate.js"),b=o("./node_modules/ol/proj.js"),A=o("./node_modules/ol/render.js"),C=o("./node_modules/ol/geom/flat/geodesic.js"),E=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),S=new d.default({color:"rgba(0,0,0,0.2)"}),w=[90,45,30,20,10,5,2,1,.5,.2,.1,.05,.01,.005,.002,.001],O=function(e){function t(t){var o=this,r=t||{},s=Object(y.assign)({updateWhileAnimating:!0,updateWhileInteracting:!0,renderBuffer:0},r);return delete s.maxLines,delete s.strokeStyle,delete s.targetSize,delete s.showLabels,delete s.lonLabelFormatter,delete s.latLabelFormatter,delete s.lonLabelPosition,delete s.latLabelPosition,delete s.lonLabelStyle,delete s.latLabelStyle,delete s.intervals,(o=e.call(this,s)||this).projection_=null,o.maxLat_=1/0,o.maxLon_=1/0,o.minLat_=-1/0,o.minLon_=-1/0,o.maxX_=1/0,o.maxY_=1/0,o.minX_=-1/0,o.minY_=-1/0,o.targetSize_=void 0!==r.targetSize?r.targetSize:100,o.maxLines_=void 0!==r.maxLines?r.maxLines:100,o.meridians_=[],o.parallels_=[],o.strokeStyle_=void 0!==r.strokeStyle?r.strokeStyle:S,o.fromLonLatTransform_=void 0,o.toLonLatTransform_=void 0,o.projectionCenterLonLat_=null,o.bottomLeft_=null,o.bottomRight_=null,o.topLeft_=null,o.topRight_=null,o.meridiansLabels_=null,o.parallelsLabels_=null,r.showLabels&&(o.lonLabelFormatter_=null==r.lonLabelFormatter?_.degreesToStringHDMS.bind(o,"EW"):r.lonLabelFormatter,o.latLabelFormatter_=null==r.latLabelFormatter?_.degreesToStringHDMS.bind(o,"NS"):r.latLabelFormatter,o.lonLabelPosition_=null==r.lonLabelPosition?0:r.lonLabelPosition,o.latLabelPosition_=null==r.latLabelPosition?1:r.latLabelPosition,o.lonLabelStyleBase_=new p.default({text:void 0!==r.lonLabelStyle?r.lonLabelStyle.clone():new h.default({font:"12px Calibri,sans-serif",textBaseline:"bottom",fill:new a.default({color:"rgba(0,0,0,1)"}),stroke:new d.default({color:"rgba(255,255,255,1)",width:3})})}),o.lonLabelStyle_=function(e){var t=e.get("graticule_label");return this.lonLabelStyleBase_.getText().setText(t),this.lonLabelStyleBase_}.bind(o),o.latLabelStyleBase_=new p.default({text:void 0!==r.latLabelStyle?r.latLabelStyle.clone():new h.default({font:"12px Calibri,sans-serif",textAlign:"right",fill:new a.default({color:"rgba(0,0,0,1)"}),stroke:new d.default({color:"rgba(255,255,255,1)",width:3})})}),o.latLabelStyle_=function(e){var t=e.get("graticule_label");return this.latLabelStyleBase_.getText().setText(t),this.latLabelStyleBase_}.bind(o),o.meridiansLabels_=[],o.parallelsLabels_=[],o.addEventListener(i.default.POSTRENDER,o.drawLabels_.bind(o))),o.intervals_=void 0!==r.intervals?r.intervals:w,o.setSource(new m.default({loader:o.loaderFunction.bind(o),strategy:o.strategyFunction.bind(o),features:new n.default,overlaps:!1,useSpatialIndex:!1,wrapX:r.wrapX})),o.featurePool_=[],o.lineStyle_=new p.default({stroke:o.strokeStyle_}),o.loadedExtent_=null,o.renderedExtent_=null,o.setRenderOrder(null),o}return E(t,e),t.prototype.strategyFunction=function(e,t){var o=e.slice();return this.projection_&&this.getSource().getWrapX()&&Object(g.wrapX)(o,this.projection_),this.loadedExtent_&&(Object(g.approximatelyEquals)(this.loadedExtent_,o,t)?o=this.loadedExtent_.slice():this.getSource().removeLoadedExtent(this.loadedExtent_)),[o]},t.prototype.loaderFunction=function(e,t,o){this.loadedExtent_=e;var r=this.getSource(),n=this.getExtent()||[-1/0,-1/0,1/0,1/0],i=Object(g.getIntersection)(n,e);if(!(this.renderedExtent_&&Object(g.equals)(this.renderedExtent_,i)||(this.renderedExtent_=i,Object(g.isEmpty)(i)))){var a=Object(g.getCenter)(i),l=t*t/4;(!this.projection_||!Object(b.equivalent)(this.projection_,o))&&this.updateProjectionInfo_(o),this.createGraticule_(i,a,t,l);var u,c=this.meridians_.length+this.parallels_.length;for(this.meridiansLabels_&&(c+=this.meridians_.length),this.parallelsLabels_&&(c+=this.parallels_.length);c>this.featurePool_.length;)u=new s.default,this.featurePool_.push(u);var d=r.getFeaturesCollection();d.clear();var p,h,f=0;for(p=0,h=this.meridians_.length;p<h;++p)(u=this.featurePool_[f++]).setGeometry(this.meridians_[p]),u.setStyle(this.lineStyle_),d.push(u);for(p=0,h=this.parallels_.length;p<h;++p)(u=this.featurePool_[f++]).setGeometry(this.parallels_[p]),u.setStyle(this.lineStyle_),d.push(u)}},t.prototype.addMeridian_=function(e,t,o,r,n,i){var s=this.getMeridian_(e,t,o,r,i);if(Object(g.intersects)(s.getExtent(),n)){if(this.meridiansLabels_){var a=this.lonLabelFormatter_(e);i in this.meridiansLabels_?this.meridiansLabels_[i].text=a:this.meridiansLabels_[i]={geom:new c.default([]),text:a}}this.meridians_[i++]=s}return i},t.prototype.addParallel_=function(e,t,o,r,n,i){var s=this.getParallel_(e,t,o,r,i);if(Object(g.intersects)(s.getExtent(),n)){if(this.parallelsLabels_){var a=this.latLabelFormatter_(e);i in this.parallelsLabels_?this.parallelsLabels_[i].text=a:this.parallelsLabels_[i]={geom:new c.default([]),text:a}}this.parallels_[i++]=s}return i},t.prototype.drawLabels_=function(e){var t=e.frameState.viewState.rotation,o=e.frameState.extent,r=Object(g.getCenter)(o),n=o;if(t){var i=Object(g.getWidth)(o),s=Object(g.getHeight)(o),a=Math.abs(Math.cos(t)),l=Math.abs(Math.sin(t)),u=(l*s-a*i)/(l*l-a*a),c=(l*i-a*s)/(l*l-a*a);n=[r[0]-u/2,r[1]-c/2,r[0]+u/2,r[1]+c/2]}var d=0,p=0,h=this.latLabelPosition_<.5,f=this.projection_.getExtent(),m=Object(g.getWidth)(f);this.getSource().getWrapX()&&this.projection_.canWrapX()&&!Object(g.containsExtent)(f,o)&&(d=Math.floor((o[0]-f[0])/m),p=Math.ceil((o[2]-f[2])/m),h=h!==Math.abs(t)>Math.PI/2);for(var y=Object(A.getVectorContext)(e),v=d;v<=p;++v){var _=this.meridians_.length+this.parallels_.length,b=void 0,C=void 0,E=void 0,S=void 0;if(this.meridiansLabels_)for(C=0,E=this.meridiansLabels_.length;C<E;++C){var w=this.meridians_[C];if(t||0!==v)(O=w.clone()).translate(v*m,0),O.rotate(-t,r),(S=this.getMeridianPoint_(O,n,C)).rotate(t,r);else S=this.getMeridianPoint_(w,o,C);(b=this.featurePool_[_++]).setGeometry(S),b.set("graticule_label",this.meridiansLabels_[C].text),y.drawFeature(b,this.lonLabelStyle_(b))}if(this.parallelsLabels_&&(v===d&&h||v===p&&!h))for(C=0,E=this.parallels_.length;C<E;++C){var O;w=this.parallels_[C];if(t||0!==v)(O=w.clone()).translate(v*m,0),O.rotate(-t,r),(S=this.getParallelPoint_(O,n,C)).rotate(t,r);else S=this.getParallelPoint_(w,o,C);(b=this.featurePool_[_++]).setGeometry(S),b.set("graticule_label",this.parallelsLabels_[C].text),y.drawFeature(b,this.latLabelStyle_(b))}}},t.prototype.createGraticule_=function(e,t,o,r){var n=this.getInterval_(o);if(-1==n)return this.meridians_.length=0,this.parallels_.length=0,this.meridiansLabels_&&(this.meridiansLabels_.length=0),void(this.parallelsLabels_&&(this.parallelsLabels_.length=0));var i=!1,s=this.projection_.getExtent(),a=Object(g.getWidth)(s);this.getSource().getWrapX()&&this.projection_.canWrapX()&&!Object(g.containsExtent)(s,e)&&(Object(g.getWidth)(e)>=a?(e[0]=s[0],e[2]=s[2]):i=!0);var l=[Object(v.clamp)(t[0],this.minX_,this.maxX_),Object(v.clamp)(t[1],this.minY_,this.maxY_)],u=this.toLonLatTransform_(l);isNaN(u[1])&&(u[1]=Math.abs(this.maxLat_)>=Math.abs(this.minLat_)?this.maxLat_:this.minLat_);var c,d,p,h,f=Object(v.clamp)(u[0],this.minLon_,this.maxLon_),m=Object(v.clamp)(u[1],this.minLat_,this.maxLat_),y=this.maxLines_,_=e;i||(_=[Object(v.clamp)(e[0],this.minX_,this.maxX_),Object(v.clamp)(e[1],this.minY_,this.maxY_),Object(v.clamp)(e[2],this.minX_,this.maxX_),Object(v.clamp)(e[3],this.minY_,this.maxY_)]);var b=Object(g.applyTransform)(_,this.toLonLatTransform_,void 0,8),A=b[3],C=b[2],E=b[1],S=b[0];if(i||(Object(g.containsCoordinate)(_,this.bottomLeft_)&&(S=this.minLon_,E=this.minLat_),Object(g.containsCoordinate)(_,this.bottomRight_)&&(C=this.maxLon_,E=this.minLat_),Object(g.containsCoordinate)(_,this.topLeft_)&&(S=this.minLon_,A=this.maxLat_),Object(g.containsCoordinate)(_,this.topRight_)&&(C=this.maxLon_,A=this.maxLat_),A=Object(v.clamp)(A,m,this.maxLat_),C=Object(v.clamp)(C,f,this.maxLon_),E=Object(v.clamp)(E,this.minLat_,m),S=Object(v.clamp)(S,this.minLon_,f)),f=Math.floor(f/n)*n,h=Object(v.clamp)(f,this.minLon_,this.maxLon_),d=this.addMeridian_(h,E,A,r,e,0),c=0,i)for(;(h-=n)>=S&&c++<y;)d=this.addMeridian_(h,E,A,r,e,d);else for(;h!=this.minLon_&&c++<y;)h=Math.max(h-n,this.minLon_),d=this.addMeridian_(h,E,A,r,e,d);if(h=Object(v.clamp)(f,this.minLon_,this.maxLon_),c=0,i)for(;(h+=n)<=C&&c++<y;)d=this.addMeridian_(h,E,A,r,e,d);else for(;h!=this.maxLon_&&c++<y;)h=Math.min(h+n,this.maxLon_),d=this.addMeridian_(h,E,A,r,e,d);for(this.meridians_.length=d,this.meridiansLabels_&&(this.meridiansLabels_.length=d),m=Math.floor(m/n)*n,p=Object(v.clamp)(m,this.minLat_,this.maxLat_),d=this.addParallel_(p,S,C,r,e,0),c=0;p!=this.minLat_&&c++<y;)p=Math.max(p-n,this.minLat_),d=this.addParallel_(p,S,C,r,e,d);for(p=Object(v.clamp)(m,this.minLat_,this.maxLat_),c=0;p!=this.maxLat_&&c++<y;)p=Math.min(p+n,this.maxLat_),d=this.addParallel_(p,S,C,r,e,d);this.parallels_.length=d,this.parallelsLabels_&&(this.parallelsLabels_.length=d)},t.prototype.getInterval_=function(e){for(var t=this.projectionCenterLonLat_[0],o=this.projectionCenterLonLat_[1],r=-1,n=Math.pow(this.targetSize_*e,2),i=[],s=[],a=0,l=this.intervals_.length;a<l;++a){var u=Object(v.clamp)(this.intervals_[a]/2,0,90),c=Object(v.clamp)(o,-90+u,90-u);if(i[0]=t-u,i[1]=c-u,s[0]=t+u,s[1]=c+u,this.fromLonLatTransform_(i,i),this.fromLonLatTransform_(s,s),Math.pow(s[0]-i[0],2)+Math.pow(s[1]-i[1],2)<=n)break;r=this.intervals_[a]}return r},t.prototype.getMeridian_=function(e,t,o,r,n){var i=Object(C.meridian)(e,t,o,this.projection_,r),s=this.meridians_[n];return s?(s.setFlatCoordinates(l.default.XY,i),s.changed()):(s=new u.default(i,l.default.XY),this.meridians_[n]=s),s},t.prototype.getMeridianPoint_=function(e,t,o){var r=e.getFlatCoordinates(),n=1,i=r.length-1;r[n]>r[i]&&(n=i,i=1);var s=Math.max(t[1],r[n]),a=Math.min(t[3],r[i]),l=Object(v.clamp)(t[1]+Math.abs(t[1]-t[3])*this.lonLabelPosition_,s,a),u=[r[n-1]+(r[i-1]-r[n-1])*(l-r[n])/(r[i]-r[n]),l],c=this.meridiansLabels_[o].geom;return c.setCoordinates(u),c},t.prototype.getMeridians=function(){return this.meridians_},t.prototype.getParallel_=function(e,t,o,r,n){var i=Object(C.parallel)(e,t,o,this.projection_,r),s=this.parallels_[n];return s?(s.setFlatCoordinates(l.default.XY,i),s.changed()):s=new u.default(i,l.default.XY),s},t.prototype.getParallelPoint_=function(e,t,o){var r=e.getFlatCoordinates(),n=0,i=r.length-2;r[n]>r[i]&&(n=i,i=0);var s=Math.max(t[0],r[n]),a=Math.min(t[2],r[i]),l=Object(v.clamp)(t[0]+Math.abs(t[0]-t[2])*this.latLabelPosition_,s,a),u=[l,r[n+1]+(r[i+1]-r[n+1])*(l-r[n])/(r[i]-r[n])],c=this.parallelsLabels_[o].geom;return c.setCoordinates(u),c},t.prototype.getParallels=function(){return this.parallels_},t.prototype.updateProjectionInfo_=function(e){var t=Object(b.get)("EPSG:4326"),o=e.getWorldExtent();this.maxLat_=o[3],this.maxLon_=o[2],this.minLat_=o[1],this.minLon_=o[0];var r=Object(b.getTransform)(e,t);if(this.minLon_<this.maxLon_)this.toLonLatTransform_=r;else{var n=this.minLon_+this.maxLon_/2;this.maxLon_+=360,this.toLonLatTransform_=function(e,t,o){for(var i=o||2,s=r(e,t,i),a=0,l=s.length;a<l;a+=i)s[a]<n&&(s[a]+=360);return s}}this.fromLonLatTransform_=Object(b.getTransform)(t,e);var i=Object(g.applyTransform)([this.minLon_,this.minLat_,this.maxLon_,this.maxLat_],this.fromLonLatTransform_,void 0,8);this.minX_=i[0],this.maxX_=i[2],this.minY_=i[1],this.maxY_=i[3],this.bottomLeft_=this.fromLonLatTransform_([this.minLon_,this.minLat_]),this.bottomRight_=this.fromLonLatTransform_([this.maxLon_,this.minLat_]),this.topLeft_=this.fromLonLatTransform_([this.minLon_,this.maxLat_]),this.topRight_=this.fromLonLatTransform_([this.maxLon_,this.maxLat_]),this.projectionCenterLonLat_=this.toLonLatTransform_(Object(g.getCenter)(e.getExtent())),isNaN(this.projectionCenterLonLat_[1])&&(this.projectionCenterLonLat_[1]=Math.abs(this.maxLat_)>=Math.abs(this.minLat_)?this.maxLat_:this.minLat_),this.projection_=e},t}(f.default);t.default=O},"./node_modules/ol/layer/Group.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/layer/Base.js"),i=o("./node_modules/ol/Collection.js"),s=o("./node_modules/ol/CollectionEventType.js"),a=o("./node_modules/ol/events/EventType.js"),l=o("./node_modules/ol/ObjectEventType.js"),u=o("./node_modules/ol/source/State.js"),c=o("./node_modules/ol/asserts.js"),d=o("./node_modules/ol/obj.js"),p=o("./node_modules/ol/extent.js"),h=o("./node_modules/ol/util.js"),f=o("./node_modules/ol/events.js"),m=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),g="layers",y=function(e){function t(t){var o=this,r=t||{},n=Object(d.assign)({},r);delete n.layers;var s=r.layers;return(o=e.call(this,n)||this).on,o.once,o.un,o.layersListenerKeys_=[],o.listenerKeys_={},o.addChangeListener(g,o.handleLayersChanged_),s?Array.isArray(s)?s=new i.default(s.slice(),{unique:!0}):Object(c.assert)("function"==typeof s.getArray,43):s=new i.default(void 0,{unique:!0}),o.setLayers(s),o}return m(t,e),t.prototype.handleLayerChange_=function(){this.changed()},t.prototype.handleLayersChanged_=function(){this.layersListenerKeys_.forEach(f.unlistenByKey),this.layersListenerKeys_.length=0;var e=this.getLayers();for(var t in this.layersListenerKeys_.push(Object(f.listen)(e,s.default.ADD,this.handleLayersAdd_,this),Object(f.listen)(e,s.default.REMOVE,this.handleLayersRemove_,this)),this.listenerKeys_)this.listenerKeys_[t].forEach(f.unlistenByKey);Object(d.clear)(this.listenerKeys_);for(var o=e.getArray(),r=0,n=o.length;r<n;r++){var i=o[r];this.listenerKeys_[Object(h.getUid)(i)]=[Object(f.listen)(i,l.default.PROPERTYCHANGE,this.handleLayerChange_,this),Object(f.listen)(i,a.default.CHANGE,this.handleLayerChange_,this)]}this.changed()},t.prototype.handleLayersAdd_=function(e){var t=e.element;this.listenerKeys_[Object(h.getUid)(t)]=[Object(f.listen)(t,l.default.PROPERTYCHANGE,this.handleLayerChange_,this),Object(f.listen)(t,a.default.CHANGE,this.handleLayerChange_,this)],this.changed()},t.prototype.handleLayersRemove_=function(e){var t=e.element,o=Object(h.getUid)(t);this.listenerKeys_[o].forEach(f.unlistenByKey),delete this.listenerKeys_[o],this.changed()},t.prototype.getLayers=function(){return this.get(g)},t.prototype.setLayers=function(e){this.set(g,e)},t.prototype.getLayersArray=function(e){var t=void 0!==e?e:[];return this.getLayers().forEach((function(e){e.getLayersArray(t)})),t},t.prototype.getLayerStatesArray=function(e){var t=void 0!==e?e:[],o=t.length;this.getLayers().forEach((function(e){e.getLayerStatesArray(t)}));var r=this.getLayerState(),n=r.zIndex;e||void 0!==r.zIndex||(n=0);for(var i=o,s=t.length;i<s;i++){var a=t[i];a.opacity*=r.opacity,a.visible=a.visible&&r.visible,a.maxResolution=Math.min(a.maxResolution,r.maxResolution),a.minResolution=Math.max(a.minResolution,r.minResolution),a.minZoom=Math.max(a.minZoom,r.minZoom),a.maxZoom=Math.min(a.maxZoom,r.maxZoom),void 0!==r.extent&&(void 0!==a.extent?a.extent=Object(p.getIntersection)(a.extent,r.extent):a.extent=r.extent),void 0===a.zIndex&&(a.zIndex=n)}return t},t.prototype.getSourceState=function(){return u.default.READY},t}(n.default);t.default=y},"./node_modules/ol/layer/Heatmap.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/layer/Vector.js"),i=o("./node_modules/ol/renderer/webgl/PointsLayer.js"),s=o("./node_modules/ol/obj.js"),a=o("./node_modules/ol/math.js"),l=o("./node_modules/ol/dom.js"),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),c="blur",d="gradient",p="radius",h=["#00f","#0ff","#0f0","#ff0","#f00"],f=function(e){function t(t){var o=this,r=t||{},n=Object(s.assign)({},r);delete n.gradient,delete n.radius,delete n.blur,delete n.weight,(o=e.call(this,n)||this).gradient_=null,o.addChangeListener(d,o.handleGradientChanged_),o.setGradient(r.gradient?r.gradient:h),o.setBlur(void 0!==r.blur?r.blur:15),o.setRadius(void 0!==r.radius?r.radius:8);var i=r.weight?r.weight:"weight";return o.weightFunction_="string"==typeof i?function(e){return e.get(i)}:i,o.setRenderOrder(null),o}return u(t,e),t.prototype.getBlur=function(){return this.get(c)},t.prototype.getGradient=function(){return this.get(d)},t.prototype.getRadius=function(){return this.get(p)},t.prototype.handleGradientChanged_=function(){this.gradient_=function(e){for(var t=1,o=256,r=Object(l.createCanvasContext2D)(t,o),n=r.createLinearGradient(0,0,t,o),i=1/(e.length-1),s=0,a=e.length;s<a;++s)n.addColorStop(s*i,e[s]);return r.fillStyle=n,r.fillRect(0,0,t,o),r.canvas}(this.getGradient())},t.prototype.setBlur=function(e){this.set(c,e)},t.prototype.setGradient=function(e){this.set(d,e)},t.prototype.setRadius=function(e){this.set(p,e)},t.prototype.createRenderer=function(){return new i.default(this,{className:this.getClassName(),attributes:[{name:"weight",callback:function(e){var t=this.weightFunction_(e);return void 0!==t?Object(a.clamp)(t,0,1):1}.bind(this)}],vertexShader:"\n        precision mediump float;\n        uniform mat4 u_projectionMatrix;\n        uniform mat4 u_offsetScaleMatrix;\n        uniform float u_size;\n        attribute vec2 a_position;\n        attribute float a_index;\n        attribute float a_weight;\n\n        varying vec2 v_texCoord;\n        varying float v_weight;\n\n        void main(void) {\n          mat4 offsetMatrix = u_offsetScaleMatrix;\n          float offsetX = a_index == 0.0 || a_index == 3.0 ? -u_size / 2.0 : u_size / 2.0;\n          float offsetY = a_index == 0.0 || a_index == 1.0 ? -u_size / 2.0 : u_size / 2.0;\n          vec4 offsets = offsetMatrix * vec4(offsetX, offsetY, 0.0, 0.0);\n          gl_Position = u_projectionMatrix * vec4(a_position, 0.0, 1.0) + offsets;\n          float u = a_index == 0.0 || a_index == 3.0 ? 0.0 : 1.0;\n          float v = a_index == 0.0 || a_index == 1.0 ? 0.0 : 1.0;\n          v_texCoord = vec2(u, v);\n          v_weight = a_weight;\n        }",fragmentShader:"\n        precision mediump float;\n        uniform float u_blurSlope;\n\n        varying vec2 v_texCoord;\n        varying float v_weight;\n\n        void main(void) {\n          vec2 texCoord = v_texCoord * 2.0 - vec2(1.0, 1.0);\n          float sqRadius = texCoord.x * texCoord.x + texCoord.y * texCoord.y;\n          float value = (1.0 - sqrt(sqRadius)) * u_blurSlope;\n          float alpha = smoothstep(0.0, 1.0, value) * v_weight;\n          gl_FragColor = vec4(alpha, alpha, alpha, alpha);\n        }",hitVertexShader:"\n        precision mediump float;\n        uniform mat4 u_projectionMatrix;\n        uniform mat4 u_offsetScaleMatrix;\n        uniform float u_size;\n        attribute vec2 a_position;\n        attribute float a_index;\n        attribute float a_weight;\n        attribute vec4 a_hitColor;\n\n        varying vec2 v_texCoord;\n        varying float v_weight;\n        varying vec4 v_hitColor;\n\n        void main(void) {\n          mat4 offsetMatrix = u_offsetScaleMatrix;\n          float offsetX = a_index == 0.0 || a_index == 3.0 ? -u_size / 2.0 : u_size / 2.0;\n          float offsetY = a_index == 0.0 || a_index == 1.0 ? -u_size / 2.0 : u_size / 2.0;\n          vec4 offsets = offsetMatrix * vec4(offsetX, offsetY, 0.0, 0.0);\n          gl_Position = u_projectionMatrix * vec4(a_position, 0.0, 1.0) + offsets;\n          float u = a_index == 0.0 || a_index == 3.0 ? 0.0 : 1.0;\n          float v = a_index == 0.0 || a_index == 1.0 ? 0.0 : 1.0;\n          v_texCoord = vec2(u, v);\n          v_hitColor = a_hitColor;\n          v_weight = a_weight;\n        }",hitFragmentShader:"\n        precision mediump float;\n        uniform float u_blurSlope;\n\n        varying vec2 v_texCoord;\n        varying float v_weight;\n        varying vec4 v_hitColor;\n\n        void main(void) {\n          vec2 texCoord = v_texCoord * 2.0 - vec2(1.0, 1.0);\n          float sqRadius = texCoord.x * texCoord.x + texCoord.y * texCoord.y;\n          float value = (1.0 - sqrt(sqRadius)) * u_blurSlope;\n          float alpha = smoothstep(0.0, 1.0, value) * v_weight;\n          if (alpha < 0.05) {\n            discard;\n          }\n\n          gl_FragColor = v_hitColor;\n        }",uniforms:{u_size:function(){return 2*(this.get(p)+this.get(c))}.bind(this),u_blurSlope:function(){return this.get(p)/Math.max(1,this.get(c))}.bind(this)},postProcesses:[{fragmentShader:"\n            precision mediump float;\n\n            uniform sampler2D u_image;\n            uniform sampler2D u_gradientTexture;\n\n            varying vec2 v_texCoord;\n\n            void main() {\n              vec4 color = texture2D(u_image, v_texCoord);\n              gl_FragColor.a = color.a;\n              gl_FragColor.rgb = texture2D(u_gradientTexture, vec2(0.5, color.a)).rgb;\n              gl_FragColor.rgb *= gl_FragColor.a;\n            }",uniforms:{u_gradientTexture:function(){return this.gradient_}.bind(this)}}]})},t.prototype.renderDeclutter=function(){},t}(n.default);t.default=f},"./node_modules/ol/layer/Image.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/layer/BaseImage.js"),i=o("./node_modules/ol/renderer/canvas/ImageLayer.js"),s=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=function(e){function t(t){return e.call(this,t)||this}return s(t,e),t.prototype.createRenderer=function(){return new i.default(this)},t}(n.default);t.default=a},"./node_modules/ol/layer/Layer.js":function(e,t,o){"use strict";o.r(t),o.d(t,"inView",(function(){return f}));var r,n=o("./node_modules/ol/layer/Base.js"),i=o("./node_modules/ol/events/EventType.js"),s=o("./node_modules/ol/layer/Property.js"),a=o("./node_modules/ol/render/EventType.js"),l=o("./node_modules/ol/source/State.js"),u=o("./node_modules/ol/asserts.js"),c=o("./node_modules/ol/obj.js"),d=o("./node_modules/ol/events.js"),p=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),h=function(e){function t(t){var o=this,r=Object(c.assign)({},t);delete r.source,(o=e.call(this,r)||this).on,o.once,o.un,o.mapPrecomposeKey_=null,o.mapRenderKey_=null,o.sourceChangeKey_=null,o.renderer_=null,t.render&&(o.render=t.render),t.map&&o.setMap(t.map),o.addChangeListener(s.default.SOURCE,o.handleSourcePropertyChange_);var n=t.source?t.source:null;return o.setSource(n),o}return p(t,e),t.prototype.getLayersArray=function(e){var t=e||[];return t.push(this),t},t.prototype.getLayerStatesArray=function(e){var t=e||[];return t.push(this.getLayerState()),t},t.prototype.getSource=function(){return this.get(s.default.SOURCE)||null},t.prototype.getSourceState=function(){var e=this.getSource();return e?e.getState():l.default.UNDEFINED},t.prototype.handleSourceChange_=function(){this.changed()},t.prototype.handleSourcePropertyChange_=function(){this.sourceChangeKey_&&(Object(d.unlistenByKey)(this.sourceChangeKey_),this.sourceChangeKey_=null);var e=this.getSource();e&&(this.sourceChangeKey_=Object(d.listen)(e,i.default.CHANGE,this.handleSourceChange_,this)),this.changed()},t.prototype.getFeatures=function(e){return this.renderer_?this.renderer_.getFeatures(e):new Promise((function(e){return e([])}))},t.prototype.render=function(e,t){var o=this.getRenderer();if(o.prepareFrame(e))return o.renderFrame(e,t)},t.prototype.setMap=function(e){this.mapPrecomposeKey_&&(Object(d.unlistenByKey)(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),e||this.changed(),this.mapRenderKey_&&(Object(d.unlistenByKey)(this.mapRenderKey_),this.mapRenderKey_=null),e&&(this.mapPrecomposeKey_=Object(d.listen)(e,a.default.PRECOMPOSE,(function(e){var t=e.frameState.layerStatesArray,o=this.getLayerState(!1);Object(u.assert)(!t.some((function(e){return e.layer===o.layer})),67),t.push(o)}),this),this.mapRenderKey_=Object(d.listen)(this,i.default.CHANGE,e.render,e),this.changed())},t.prototype.setSource=function(e){this.set(s.default.SOURCE,e)},t.prototype.getRenderer=function(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_},t.prototype.hasRenderer=function(){return!!this.renderer_},t.prototype.createRenderer=function(){return null},t.prototype.disposeInternal=function(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_),this.setSource(null),e.prototype.disposeInternal.call(this)},t}(n.default);function f(e,t){if(!e.visible)return!1;var o=t.resolution;if(o<e.minResolution||o>=e.maxResolution)return!1;var r=t.zoom;return r>e.minZoom&&r<=e.maxZoom}t.default=h},"./node_modules/ol/layer/MapboxVector.js":function(e,t,o){"use strict";o.r(t),o.d(t,"getMapboxPath",(function(){return h})),o.d(t,"normalizeSpriteUrl",(function(){return f})),o.d(t,"normalizeGlyphsUrl",(function(){return m})),o.d(t,"normalizeStyleUrl",(function(){return g})),o.d(t,"normalizeSourceUrl",(function(){return y}));var r,n=o("./node_modules/ol/events/Event.js"),i=o("./node_modules/ol/events/EventType.js"),s=o("./node_modules/ol/format/MVT.js"),a=o("./node_modules/ol/source/State.js"),l=o("./node_modules/ol/layer/VectorTile.js"),u=o("./node_modules/ol/source/VectorTile.js"),c=o("./node_modules/ol-mapbox-style/dist/index.js"),d=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),p="https://api.mapbox.com";function h(e){var t="mapbox://";return 0!==e.indexOf(t)?"":e.slice(9)}function f(e,t){var o=h(e);if(!o)return e;var r="sprites/";if(0!==o.indexOf(r))throw new Error("unexpected sprites url: "+e);var n=o.slice(8);return p+"/styles/v1/"+n+"/sprite?access_token="+t}function m(e,t){var o=h(e);if(!o)return e;var r="fonts/";if(0!==o.indexOf(r))throw new Error("unexpected fonts url: "+e);var n=o.slice(6);return p+"/fonts/v1/"+n+"/0-255.pbf?access_token="+t}function g(e,t){var o=h(e);if(!o)return e;var r="styles/";if(0!==o.indexOf(r))throw new Error("unexpected style url: "+e);var n=o.slice(7);return p+"/styles/v1/"+n+"?&access_token="+t}function y(e,t){var o=h(e);return o?"https://{a-d}.tiles.mapbox.com/v4/"+o+"/{z}/{x}/{y}.vector.pbf?access_token="+t:e}var v=function(e){function t(t){var o=e.call(this,i.default.ERROR)||this;return o.error=t,o}return d(t,e),t}(n.default),_="vector",b=function(e){function t(t){var o=this,r=!("declutter"in t)||t.declutter,n=new u.default({state:a.default.LOADING,format:new s.default});return(o=e.call(this,{source:n,declutter:r,className:t.className,opacity:t.opacity,visible:t.visible,zIndex:t.zIndex,minResolution:t.minResolution,maxResolution:t.maxResolution,minZoom:t.minZoom,maxZoom:t.maxZoom,renderOrder:t.renderOrder,renderBuffer:t.renderBuffer,renderMode:t.renderMode,map:t.map,updateWhileAnimating:t.updateWhileAnimating,updateWhileInteracting:t.updateWhileInteracting,preload:t.preload,useInterimTilesOnError:t.useInterimTilesOnError,properties:t.properties})||this).sourceId=t.source,o.layers=t.layers,o.accessToken=t.accessToken,o.fetchStyle(t.styleUrl),o}return d(t,e),t.prototype.fetchStyle=function(e){var t=this,o=g(e,this.accessToken);fetch(o).then((function(e){if(!e.ok)throw new Error("unexpected response when fetching style: "+e.status);return e.json()})).then((function(e){t.onStyleLoad(e)})).catch((function(e){t.handleError(e)}))},t.prototype.onStyleLoad=function(e){var t,o,r=this;if(this.layers){for(var n={},i=0;i<e.layers.length;++i){var s=e.layers[i];s.source&&(n[s.id]=s.source)}var l=void 0;for(i=0;i<this.layers.length;++i){var u=n[this.layers[i]];if(!u)return void this.handleError(new Error("could not find source for "+this.layers[i]));if(l){if(l!==u)return void this.handleError(new Error("layers can only use a single source, found "+l+" and "+u))}else l=u}t=l,o=this.layers}else t=this.sourceId,o=t;o||(t=Object.keys(e.sources)[0],o=t),e.sprite&&(e.sprite=f(e.sprite,this.accessToken)),e.glyphs&&(e.glyphs=m(e.glyphs,this.accessToken));var d=e.sources[t];if(d.type===_){var p=this.getSource();d.url.startsWith("mapbox://")||-1!==d.url.indexOf("{z}")?(p.setUrl(y(d.url,this.accessToken)),Object(c.applyStyle)(this,e,o).then((function(){p.setState(a.default.READY)})).catch((function(e){r.handleError(e)}))):Object(c.setupVectorSource)(d,d.url).then((function(t){Object(c.applyStyle)(r,e,o).then((function(){r.setSource(t)})).catch((function(e){r.setSource(t),r.handleError(e)}))}))}else this.handleError(new Error("only works for vector sources, found "+d.type))},t.prototype.handleError=function(e){this.dispatchEvent(new v(e)),this.getSource().setState(a.default.ERROR)},t}(l.default);t.default=b},"./node_modules/ol/layer/Property.js":function(e,t,o){"use strict";o.r(t),t.default={OPACITY:"opacity",VISIBLE:"visible",EXTENT:"extent",Z_INDEX:"zIndex",MAX_RESOLUTION:"maxResolution",MIN_RESOLUTION:"minResolution",MAX_ZOOM:"maxZoom",MIN_ZOOM:"minZoom",SOURCE:"source"}},"./node_modules/ol/layer/Tile.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/layer/BaseTile.js"),i=o("./node_modules/ol/renderer/canvas/TileLayer.js"),s=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=function(e){function t(t){return e.call(this,t)||this}return s(t,e),t.prototype.createRenderer=function(){return new i.default(this)},t}(n.default);t.default=a},"./node_modules/ol/layer/TileProperty.js":function(e,t,o){"use strict";o.r(t),t.default={PRELOAD:"preload",USE_INTERIM_TILES_ON_ERROR:"useInterimTilesOnError"}},"./node_modules/ol/layer/Vector.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/layer/BaseVector.js"),i=o("./node_modules/ol/renderer/canvas/VectorLayer.js"),s=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=function(e){function t(t){return e.call(this,t)||this}return s(t,e),t.prototype.createRenderer=function(){return new i.default(this)},t}(n.default);t.default=a},"./node_modules/ol/layer/VectorImage.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/layer/BaseVector.js"),i=o("./node_modules/ol/renderer/canvas/VectorImageLayer.js"),s=o("./node_modules/ol/obj.js"),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=function(e){function t(t){var o=this,r=t||{},n=Object(s.assign)({},r);return delete n.imageRatio,(o=e.call(this,n)||this).imageRatio_=void 0!==r.imageRatio?r.imageRatio:1,o}return a(t,e),t.prototype.getImageRatio=function(){return this.imageRatio_},t.prototype.createRenderer=function(){return new i.default(this)},t}(n.default);t.default=l},"./node_modules/ol/layer/VectorTile.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/layer/BaseVector.js"),i=o("./node_modules/ol/renderer/canvas/VectorTileLayer.js"),s=o("./node_modules/ol/layer/TileProperty.js"),a=o("./node_modules/ol/layer/VectorTileRenderType.js"),l=o("./node_modules/ol/asserts.js"),u=o("./node_modules/ol/obj.js"),c=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),d=function(e){function t(t){var o=this,r=t||{},n=Object(u.assign)({},r);delete n.preload,delete n.useInterimTilesOnError,(o=e.call(this,n)||this).on,o.once,o.un,r.renderMode===a.default.IMAGE&&(console.warn('renderMode: "image" is deprecated. Option ignored.'),r.renderMode=void 0);var i=r.renderMode||a.default.HYBRID;return Object(l.assert)(i==a.default.HYBRID||i==a.default.VECTOR,28),o.renderMode_=i,o.setPreload(r.preload?r.preload:0),o.setUseInterimTilesOnError(void 0===r.useInterimTilesOnError||r.useInterimTilesOnError),o}return c(t,e),t.prototype.createRenderer=function(){return new i.default(this)},t.prototype.getFeatures=function(t){return e.prototype.getFeatures.call(this,t)},t.prototype.getRenderMode=function(){return this.renderMode_},t.prototype.getPreload=function(){return this.get(s.default.PRELOAD)},t.prototype.getUseInterimTilesOnError=function(){return this.get(s.default.USE_INTERIM_TILES_ON_ERROR)},t.prototype.setPreload=function(e){this.set(s.default.PRELOAD,e)},t.prototype.setUseInterimTilesOnError=function(e){this.set(s.default.USE_INTERIM_TILES_ON_ERROR,e)},t}(n.default);t.default=d},"./node_modules/ol/layer/VectorTileRenderType.js":function(e,t,o){"use strict";o.r(t),t.default={IMAGE:"image",HYBRID:"hybrid",VECTOR:"vector"}},"./node_modules/ol/layer/WebGLPoints.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/layer/Layer.js"),i=o("./node_modules/ol/renderer/webgl/PointsLayer.js"),s=o("./node_modules/ol/obj.js"),a=o("./node_modules/ol/webgl/ShaderBuilder.js"),l=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),u=function(e){function t(t){var o=this,r=Object(s.assign)({},t);return(o=e.call(this,r)||this).parseResult_=Object(a.parseLiteralStyle)(t.style),o.hitDetectionDisabled_=!!t.disableHitDetection,o}return l(t,e),t.prototype.createRenderer=function(){return new i.default(this,{className:this.getClassName(),vertexShader:this.parseResult_.builder.getSymbolVertexShader(),fragmentShader:this.parseResult_.builder.getSymbolFragmentShader(),hitVertexShader:!this.hitDetectionDisabled_&&this.parseResult_.builder.getSymbolVertexShader(!0),hitFragmentShader:!this.hitDetectionDisabled_&&this.parseResult_.builder.getSymbolFragmentShader(!0),uniforms:this.parseResult_.uniforms,attributes:this.parseResult_.attributes})},t}(n.default);t.default=u},"./node_modules/ol/layer/WebGLTile.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/layer/BaseTile.js"),i=o("./node_modules/ol/renderer/webgl/TileLayer.js"),s=o("./node_modules/ol/style/expressions.js"),a=o("./node_modules/ol/obj.js"),l=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});var u=function(e){function t(t){var o=this,r=t?Object(a.assign)({},t):{},n=r.style||{};delete r.style;var i=r.cacheSize;return delete r.cacheSize,(o=e.call(this,r)||this).style_=n,o.cacheSize_=i,o}return l(t,e),t.prototype.createRenderer=function(){var e=this.getSource(),t=function(e,t){var o="\n    attribute vec2 "+i.Attributes.TEXTURE_COORD+";\n    uniform mat4 "+i.Uniforms.TILE_TRANSFORM+";\n    uniform float "+i.Uniforms.DEPTH+";\n\n    varying vec2 v_textureCoord;\n\n    void main() {\n      v_textureCoord = "+i.Attributes.TEXTURE_COORD+";\n      gl_Position = "+i.Uniforms.TILE_TRANSFORM+" * vec4("+i.Attributes.TEXTURE_COORD+", "+i.Uniforms.DEPTH+", 1.0);\n    }\n  ",r={inFragmentShader:!0,variables:[],attributes:[],stringLiteralsMap:{},bandCount:t},n=[];if(void 0!==e.color){var a=Object(s.expressionToGlsl)(r,e.color,s.ValueTypes.COLOR);n.push("color = "+a+";")}if(void 0!==e.contrast){var l=Object(s.expressionToGlsl)(r,e.contrast,s.ValueTypes.NUMBER);n.push("color.rgb = clamp(("+l+" + 1.0) * color.rgb - ("+l+" / 2.0), vec3(0.0, 0.0, 0.0), vec3(1.0, 1.0, 1.0));")}if(void 0!==e.exposure){var u=Object(s.expressionToGlsl)(r,e.exposure,s.ValueTypes.NUMBER);n.push("color.rgb = clamp(("+u+" + 1.0) * color.rgb, vec3(0.0, 0.0, 0.0), vec3(1.0, 1.0, 1.0));")}if(void 0!==e.saturation){var c=Object(s.expressionToGlsl)(r,e.saturation,s.ValueTypes.NUMBER);n.push("\n      float saturation = "+c+" + 1.0;\n      float sr = (1.0 - saturation) * 0.2126;\n      float sg = (1.0 - saturation) * 0.7152;\n      float sb = (1.0 - saturation) * 0.0722;\n      mat3 saturationMatrix = mat3(\n        sr + saturation, sr, sr,\n        sg, sg + saturation, sg,\n        sb, sb, sb + saturation\n      );\n      color.rgb = clamp(saturationMatrix * color.rgb, vec3(0.0, 0.0, 0.0), vec3(1.0, 1.0, 1.0));\n    ")}if(void 0!==e.gamma){var d=Object(s.expressionToGlsl)(r,e.gamma,s.ValueTypes.NUMBER);n.push("color.rgb = pow(color.rgb, vec3(1.0 / "+d+"));")}if(void 0!==e.brightness){var p=Object(s.expressionToGlsl)(r,e.brightness,s.ValueTypes.NUMBER);n.push("color.rgb = clamp(color.rgb + "+p+", vec3(0.0, 0.0, 0.0), vec3(1.0, 1.0, 1.0));")}var h={},f=r.variables.length;if(f>1&&!e.variables)throw new Error("Missing variables in style (expected "+r.variables+")");for(var m=function(t){var o=r.variables[t];if(!(o in e.variables))throw new Error("Missing '"+o+"' in style variables");var n=Object(s.uniformNameForVariable)(o);h[n]=function(){var t=e.variables[o];return"string"==typeof t&&(t=Object(s.getStringNumberEquivalent)(r,t)),void 0!==t?t:-9999999}},g=0;g<f;++g)m(g);for(var y=Object.keys(h).map((function(e){return"uniform float "+e+";"})),v=Math.ceil(t/4),_=new Array(v),b=0;b<v;++b){var A=i.Uniforms.TILE_TEXTURE_PREFIX+b;y.push("uniform sampler2D "+A+";"),_[b]="vec4 color"+b+" = texture2D("+A+", v_textureCoord);"}return{vertexShader:o,fragmentShader:"\n    #ifdef GL_FRAGMENT_PRECISION_HIGH\n    precision highp float;\n    #else\n    precision mediump float;\n    #endif\n\n    varying vec2 v_textureCoord;\n    uniform float "+i.Uniforms.TRANSITION_ALPHA+";\n    uniform float "+i.Uniforms.TEXTURE_PIXEL_WIDTH+";\n    uniform float "+i.Uniforms.TEXTURE_PIXEL_HEIGHT+";\n    uniform float "+i.Uniforms.RESOLUTION+";\n    uniform float "+i.Uniforms.ZOOM+";\n\n    "+y.join("\n")+"\n\n    void main() {\n      "+_.join("\n")+"\n\n      vec4 color = color0;\n\n      "+n.join("\n")+"\n\n      if (color.a == 0.0) {\n        discard;\n      }\n\n      gl_FragColor = color;\n      gl_FragColor.rgb *= gl_FragColor.a;\n      gl_FragColor *= "+i.Uniforms.TRANSITION_ALPHA+";\n    }",uniforms:h}}(this.style_,"bandCount"in e?e.bandCount:4);return this.styleVariables_=this.style_.variables||{},new i.default(this,{vertexShader:t.vertexShader,fragmentShader:t.fragmentShader,uniforms:t.uniforms,className:this.getClassName(),cacheSize:this.cacheSize_})},t.prototype.updateStyleVariables=function(e){Object(a.assign)(this.styleVariables_,e),this.changed()},t}(n.default);u.prototype.dispose,t.default=u},"./node_modules/ol/loadingstrategy.js":function(e,t,o){"use strict";o.r(t),o.d(t,"all",(function(){return n})),o.d(t,"bbox",(function(){return i})),o.d(t,"tile",(function(){return s}));var r=o("./node_modules/ol/proj.js");function n(e,t){return[[-1/0,-1/0,1/0,1/0]]}function i(e,t){return[e]}function s(e){return function(t,o,n){var i=e.getZForResolution(Object(r.fromUserResolution)(o,n)),s=e.getTileRangeForExtentAndZ(Object(r.fromUserExtent)(t,n),i),a=[],l=[i,0,0];for(l[1]=s.minX;l[1]<=s.maxX;++l[1])for(l[2]=s.minY;l[2]<=s.maxY;++l[2])a.push(Object(r.toUserExtent)(e.getTileCoordExtent(l),n));return a}}},"./node_modules/ol/math.js":function(e,t,o){"use strict";function r(e,t,o){return Math.min(Math.max(e,t),o)}o.r(t),o.d(t,"clamp",(function(){return r})),o.d(t,"cosh",(function(){return n})),o.d(t,"log2",(function(){return i})),o.d(t,"squaredSegmentDistance",(function(){return s})),o.d(t,"squaredDistance",(function(){return a})),o.d(t,"solveLinearSystem",(function(){return l})),o.d(t,"toDegrees",(function(){return u})),o.d(t,"toRadians",(function(){return c})),o.d(t,"modulo",(function(){return d})),o.d(t,"lerp",(function(){return p}));var n="cosh"in Math?Math.cosh:function(e){var t=Math.exp(e);return(t+1/t)/2},i="log2"in Math?Math.log2:function(e){return Math.log(e)*Math.LOG2E};function s(e,t,o,r,n,i){var s=n-o,l=i-r;if(0!==s||0!==l){var u=((e-o)*s+(t-r)*l)/(s*s+l*l);u>1?(o=n,r=i):u>0&&(o+=s*u,r+=l*u)}return a(e,t,o,r)}function a(e,t,o,r){var n=o-e,i=r-t;return n*n+i*i}function l(e){for(var t=e.length,o=0;o<t;o++){for(var r=o,n=Math.abs(e[o][o]),i=o+1;i<t;i++){var s=Math.abs(e[i][o]);s>n&&(n=s,r=i)}if(0===n)return null;var a=e[r];e[r]=e[o],e[o]=a;for(var l=o+1;l<t;l++)for(var u=-e[l][o]/e[o][o],c=o;c<t+1;c++)o==c?e[l][c]=0:e[l][c]+=u*e[o][c]}for(var d=new Array(t),p=t-1;p>=0;p--){d[p]=e[p][t]/e[p][p];for(var h=p-1;h>=0;h--)e[h][t]-=e[h][p]*d[p]}return d}function u(e){return 180*e/Math.PI}function c(e){return e*Math.PI/180}function d(e,t){var o=e%t;return o*t<0?o+t:o}function p(e,t,o){return e+o*(t-e)}},"./node_modules/ol/net.js":function(e,t,o){"use strict";o.r(t),function(e){o.d(t,"jsonp",(function(){return s})),o.d(t,"ResponseError",(function(){return l})),o.d(t,"ClientError",(function(){return u})),o.d(t,"getJSON",(function(){return c})),o.d(t,"resolveUrl",(function(){return d})),o.d(t,"overrideXHR",(function(){return p})),o.d(t,"restoreXHR",(function(){return h}));var r,n=o("./node_modules/ol/util.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});function s(e,t,o,r){var i=document.createElement("script"),s="olc_"+Object(n.getUid)(t);function a(){delete window[s],i.parentNode.removeChild(i)}i.async=!0,i.src=e+(-1==e.indexOf("?")?"?":"&")+(r||"callback")+"="+s;var l=setTimeout((function(){a(),o&&o()}),1e4);window[s]=function(e){clearTimeout(l),a(),t(e)},document.getElementsByTagName("head")[0].appendChild(i)}var a,l=function(e){function t(t){var o=this,r="Unexpected response status: "+t.status;return(o=e.call(this,r)||this).name="ResponseError",o.response=t,o}return i(t,e),t}(Error),u=function(e){function t(t){var o=e.call(this,"Failed to issue request")||this;return o.name="ClientError",o.client=t,o}return i(t,e),t}(Error);function c(e){return new Promise((function(t,o){var r=new XMLHttpRequest;r.addEventListener("load",(function(e){var r=e.target;if(!r.status||r.status>=200&&r.status<300){var n=void 0;try{n=JSON.parse(r.responseText)}catch(e){var i="Error parsing response text as JSON: "+e.message;return void o(new Error(i))}t(n)}else o(new l(r))})),r.addEventListener("error",(function(e){o(new u(e.target))})),r.open("GET",e),r.setRequestHeader("Accept","application/json"),r.send()}))}function d(e,t){return t.indexOf("://")>=0?t:new URL(t,e).href}function p(t){"undefined"!=typeof XMLHttpRequest&&(a=XMLHttpRequest),e.XMLHttpRequest=t}function h(){e.XMLHttpRequest=a}}.call(this,o("./node_modules/webpack/buildin/global.js"))},"./node_modules/ol/node_modules/pbf/index.js":function(e,t,o){"use strict";e.exports=n;var r=o("./node_modules/ieee754/index.js");function n(e){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(e)?e:new Uint8Array(e||0),this.pos=0,this.type=0,this.length=this.buf.length}n.Varint=0,n.Fixed64=1,n.Bytes=2,n.Fixed32=5;var i=4294967296,s=1/i,a="undefined"==typeof TextDecoder?null:new TextDecoder("utf8");function l(e){return e.type===n.Bytes?e.readVarint()+e.pos:e.pos+1}function u(e,t,o){return o?4294967296*t+(e>>>0):4294967296*(t>>>0)+(e>>>0)}function c(e,t,o){var r=t<=16383?1:t<=2097151?2:t<=268435455?3:Math.floor(Math.log(t)/(7*Math.LN2));o.realloc(r);for(var n=o.pos-1;n>=e;n--)o.buf[n+r]=o.buf[n]}function d(e,t){for(var o=0;o<e.length;o++)t.writeVarint(e[o])}function p(e,t){for(var o=0;o<e.length;o++)t.writeSVarint(e[o])}function h(e,t){for(var o=0;o<e.length;o++)t.writeFloat(e[o])}function f(e,t){for(var o=0;o<e.length;o++)t.writeDouble(e[o])}function m(e,t){for(var o=0;o<e.length;o++)t.writeBoolean(e[o])}function g(e,t){for(var o=0;o<e.length;o++)t.writeFixed32(e[o])}function y(e,t){for(var o=0;o<e.length;o++)t.writeSFixed32(e[o])}function v(e,t){for(var o=0;o<e.length;o++)t.writeFixed64(e[o])}function _(e,t){for(var o=0;o<e.length;o++)t.writeSFixed64(e[o])}function b(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+16777216*e[t+3]}function A(e,t,o){e[o]=t,e[o+1]=t>>>8,e[o+2]=t>>>16,e[o+3]=t>>>24}function C(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+(e[t+3]<<24)}n.prototype={destroy:function(){this.buf=null},readFields:function(e,t,o){for(o=o||this.length;this.pos<o;){var r=this.readVarint(),n=r>>3,i=this.pos;this.type=7&r,e(n,t,this),this.pos===i&&this.skip(r)}return t},readMessage:function(e,t){return this.readFields(e,t,this.readVarint()+this.pos)},readFixed32:function(){var e=b(this.buf,this.pos);return this.pos+=4,e},readSFixed32:function(){var e=C(this.buf,this.pos);return this.pos+=4,e},readFixed64:function(){var e=b(this.buf,this.pos)+b(this.buf,this.pos+4)*i;return this.pos+=8,e},readSFixed64:function(){var e=b(this.buf,this.pos)+C(this.buf,this.pos+4)*i;return this.pos+=8,e},readFloat:function(){var e=r.read(this.buf,this.pos,!0,23,4);return this.pos+=4,e},readDouble:function(){var e=r.read(this.buf,this.pos,!0,52,8);return this.pos+=8,e},readVarint:function(e){var t,o,r=this.buf;return t=127&(o=r[this.pos++]),o<128?t:(t|=(127&(o=r[this.pos++]))<<7,o<128?t:(t|=(127&(o=r[this.pos++]))<<14,o<128?t:(t|=(127&(o=r[this.pos++]))<<21,o<128?t:function(e,t,o){var r,n,i=o.buf;if(n=i[o.pos++],r=(112&n)>>4,n<128)return u(e,r,t);if(n=i[o.pos++],r|=(127&n)<<3,n<128)return u(e,r,t);if(n=i[o.pos++],r|=(127&n)<<10,n<128)return u(e,r,t);if(n=i[o.pos++],r|=(127&n)<<17,n<128)return u(e,r,t);if(n=i[o.pos++],r|=(127&n)<<24,n<128)return u(e,r,t);if(n=i[o.pos++],r|=(1&n)<<31,n<128)return u(e,r,t);throw new Error("Expected varint not more than 10 bytes")}(t|=(15&(o=r[this.pos]))<<28,e,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var e=this.readVarint();return e%2==1?(e+1)/-2:e/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var e=this.readVarint()+this.pos,t=this.pos;return this.pos=e,e-t>=12&&a?function(e,t,o){return a.decode(e.subarray(t,o))}(this.buf,t,e):function(e,t,o){var r="",n=t;for(;n<o;){var i,s,a,l=e[n],u=null,c=l>239?4:l>223?3:l>191?2:1;if(n+c>o)break;1===c?l<128&&(u=l):2===c?128==(192&(i=e[n+1]))&&(u=(31&l)<<6|63&i)<=127&&(u=null):3===c?(i=e[n+1],s=e[n+2],128==(192&i)&&128==(192&s)&&((u=(15&l)<<12|(63&i)<<6|63&s)<=2047||u>=55296&&u<=57343)&&(u=null)):4===c&&(i=e[n+1],s=e[n+2],a=e[n+3],128==(192&i)&&128==(192&s)&&128==(192&a)&&((u=(15&l)<<18|(63&i)<<12|(63&s)<<6|63&a)<=65535||u>=1114112)&&(u=null)),null===u?(u=65533,c=1):u>65535&&(u-=65536,r+=String.fromCharCode(u>>>10&1023|55296),u=56320|1023&u),r+=String.fromCharCode(u),n+=c}return r}(this.buf,t,e)},readBytes:function(){var e=this.readVarint()+this.pos,t=this.buf.subarray(this.pos,e);return this.pos=e,t},readPackedVarint:function(e,t){if(this.type!==n.Bytes)return e.push(this.readVarint(t));var o=l(this);for(e=e||[];this.pos<o;)e.push(this.readVarint(t));return e},readPackedSVarint:function(e){if(this.type!==n.Bytes)return e.push(this.readSVarint());var t=l(this);for(e=e||[];this.pos<t;)e.push(this.readSVarint());return e},readPackedBoolean:function(e){if(this.type!==n.Bytes)return e.push(this.readBoolean());var t=l(this);for(e=e||[];this.pos<t;)e.push(this.readBoolean());return e},readPackedFloat:function(e){if(this.type!==n.Bytes)return e.push(this.readFloat());var t=l(this);for(e=e||[];this.pos<t;)e.push(this.readFloat());return e},readPackedDouble:function(e){if(this.type!==n.Bytes)return e.push(this.readDouble());var t=l(this);for(e=e||[];this.pos<t;)e.push(this.readDouble());return e},readPackedFixed32:function(e){if(this.type!==n.Bytes)return e.push(this.readFixed32());var t=l(this);for(e=e||[];this.pos<t;)e.push(this.readFixed32());return e},readPackedSFixed32:function(e){if(this.type!==n.Bytes)return e.push(this.readSFixed32());var t=l(this);for(e=e||[];this.pos<t;)e.push(this.readSFixed32());return e},readPackedFixed64:function(e){if(this.type!==n.Bytes)return e.push(this.readFixed64());var t=l(this);for(e=e||[];this.pos<t;)e.push(this.readFixed64());return e},readPackedSFixed64:function(e){if(this.type!==n.Bytes)return e.push(this.readSFixed64());var t=l(this);for(e=e||[];this.pos<t;)e.push(this.readSFixed64());return e},skip:function(e){var t=7&e;if(t===n.Varint)for(;this.buf[this.pos++]>127;);else if(t===n.Bytes)this.pos=this.readVarint()+this.pos;else if(t===n.Fixed32)this.pos+=4;else{if(t!==n.Fixed64)throw new Error("Unimplemented type: "+t);this.pos+=8}},writeTag:function(e,t){this.writeVarint(e<<3|t)},realloc:function(e){for(var t=this.length||16;t<this.pos+e;)t*=2;if(t!==this.length){var o=new Uint8Array(t);o.set(this.buf),this.buf=o,this.length=t}},finish:function(){return this.length=this.pos,this.pos=0,this.buf.subarray(0,this.length)},writeFixed32:function(e){this.realloc(4),A(this.buf,e,this.pos),this.pos+=4},writeSFixed32:function(e){this.realloc(4),A(this.buf,e,this.pos),this.pos+=4},writeFixed64:function(e){this.realloc(8),A(this.buf,-1&e,this.pos),A(this.buf,Math.floor(e*s),this.pos+4),this.pos+=8},writeSFixed64:function(e){this.realloc(8),A(this.buf,-1&e,this.pos),A(this.buf,Math.floor(e*s),this.pos+4),this.pos+=8},writeVarint:function(e){(e=+e||0)>268435455||e<0?function(e,t){var o,r;e>=0?(o=e%4294967296|0,r=e/4294967296|0):(r=~(-e/4294967296),4294967295^(o=~(-e%4294967296))?o=o+1|0:(o=0,r=r+1|0));if(e>=0x10000000000000000||e<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");t.realloc(10),function(e,t,o){o.buf[o.pos++]=127&e|128,e>>>=7,o.buf[o.pos++]=127&e|128,e>>>=7,o.buf[o.pos++]=127&e|128,e>>>=7,o.buf[o.pos++]=127&e|128,e>>>=7,o.buf[o.pos]=127&e}(o,0,t),function(e,t){var o=(7&e)<<4;if(t.buf[t.pos++]|=o|((e>>>=3)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;t.buf[t.pos++]=127&e}(r,t)}(e,this):(this.realloc(4),this.buf[this.pos++]=127&e|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=e>>>7&127))))},writeSVarint:function(e){this.writeVarint(e<0?2*-e-1:2*e)},writeBoolean:function(e){this.writeVarint(Boolean(e))},writeString:function(e){e=String(e),this.realloc(4*e.length),this.pos++;var t=this.pos;this.pos=function(e,t,o){for(var r,n,i=0;i<t.length;i++){if((r=t.charCodeAt(i))>55295&&r<57344){if(!n){r>56319||i+1===t.length?(e[o++]=239,e[o++]=191,e[o++]=189):n=r;continue}if(r<56320){e[o++]=239,e[o++]=191,e[o++]=189,n=r;continue}r=n-55296<<10|r-56320|65536,n=null}else n&&(e[o++]=239,e[o++]=191,e[o++]=189,n=null);r<128?e[o++]=r:(r<2048?e[o++]=r>>6|192:(r<65536?e[o++]=r>>12|224:(e[o++]=r>>18|240,e[o++]=r>>12&63|128),e[o++]=r>>6&63|128),e[o++]=63&r|128)}return o}(this.buf,e,this.pos);var o=this.pos-t;o>=128&&c(t,o,this),this.pos=t-1,this.writeVarint(o),this.pos+=o},writeFloat:function(e){this.realloc(4),r.write(this.buf,e,this.pos,!0,23,4),this.pos+=4},writeDouble:function(e){this.realloc(8),r.write(this.buf,e,this.pos,!0,52,8),this.pos+=8},writeBytes:function(e){var t=e.length;this.writeVarint(t),this.realloc(t);for(var o=0;o<t;o++)this.buf[this.pos++]=e[o]},writeRawMessage:function(e,t){this.pos++;var o=this.pos;e(t,this);var r=this.pos-o;r>=128&&c(o,r,this),this.pos=o-1,this.writeVarint(r),this.pos+=r},writeMessage:function(e,t,o){this.writeTag(e,n.Bytes),this.writeRawMessage(t,o)},writePackedVarint:function(e,t){t.length&&this.writeMessage(e,d,t)},writePackedSVarint:function(e,t){t.length&&this.writeMessage(e,p,t)},writePackedBoolean:function(e,t){t.length&&this.writeMessage(e,m,t)},writePackedFloat:function(e,t){t.length&&this.writeMessage(e,h,t)},writePackedDouble:function(e,t){t.length&&this.writeMessage(e,f,t)},writePackedFixed32:function(e,t){t.length&&this.writeMessage(e,g,t)},writePackedSFixed32:function(e,t){t.length&&this.writeMessage(e,y,t)},writePackedFixed64:function(e,t){t.length&&this.writeMessage(e,v,t)},writePackedSFixed64:function(e,t){t.length&&this.writeMessage(e,_,t)},writeBytesField:function(e,t){this.writeTag(e,n.Bytes),this.writeBytes(t)},writeFixed32Field:function(e,t){this.writeTag(e,n.Fixed32),this.writeFixed32(t)},writeSFixed32Field:function(e,t){this.writeTag(e,n.Fixed32),this.writeSFixed32(t)},writeFixed64Field:function(e,t){this.writeTag(e,n.Fixed64),this.writeFixed64(t)},writeSFixed64Field:function(e,t){this.writeTag(e,n.Fixed64),this.writeSFixed64(t)},writeVarintField:function(e,t){this.writeTag(e,n.Varint),this.writeVarint(t)},writeSVarintField:function(e,t){this.writeTag(e,n.Varint),this.writeSVarint(t)},writeStringField:function(e,t){this.writeTag(e,n.Bytes),this.writeString(t)},writeFloatField:function(e,t){this.writeTag(e,n.Fixed32),this.writeFloat(t)},writeDoubleField:function(e,t){this.writeTag(e,n.Fixed64),this.writeDouble(t)},writeBooleanField:function(e,t){this.writeVarintField(e,Boolean(t))}}},"./node_modules/ol/obj.js":function(e,t,o){"use strict";o.r(t),o.d(t,"assign",(function(){return r})),o.d(t,"clear",(function(){return n})),o.d(t,"getValues",(function(){return i})),o.d(t,"isEmpty",(function(){return s}));var r="function"==typeof Object.assign?Object.assign:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(e),r=1,n=arguments.length;r<n;++r){var i=arguments[r];if(null!=i)for(var s in i)i.hasOwnProperty(s)&&(o[s]=i[s])}return o};function n(e){for(var t in e)delete e[t]}var i="function"==typeof Object.values?Object.values:function(e){var t=[];for(var o in e)t.push(e[o]);return t};function s(e){var t;for(t in e)return!1;return!t}},"./node_modules/ol/ol.css":function(e,t,o){},"./node_modules/ol/pointer/EventType.js":function(e,t,o){"use strict";o.r(t),t.default={POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"}},"./node_modules/ol/proj.js":function(e,t,o){"use strict";o.r(t),o.d(t,"cloneTransform",(function(){return h})),o.d(t,"identityTransform",(function(){return f})),o.d(t,"addProjection",(function(){return m})),o.d(t,"addProjections",(function(){return g})),o.d(t,"get",(function(){return y})),o.d(t,"getPointResolution",(function(){return v})),o.d(t,"addEquivalentProjections",(function(){return _})),o.d(t,"addEquivalentTransforms",(function(){return b})),o.d(t,"clearAllProjections",(function(){return A})),o.d(t,"createProjection",(function(){return C})),o.d(t,"createTransformFromCoordinateTransform",(function(){return E})),o.d(t,"addCoordinateTransforms",(function(){return S})),o.d(t,"fromLonLat",(function(){return w})),o.d(t,"toLonLat",(function(){return O})),o.d(t,"equivalent",(function(){return I})),o.d(t,"getTransformFromProjections",(function(){return x})),o.d(t,"getTransform",(function(){return j})),o.d(t,"transform",(function(){return T})),o.d(t,"transformExtent",(function(){return P})),o.d(t,"transformWithProjections",(function(){return M})),o.d(t,"setUserProjection",(function(){return L})),o.d(t,"clearUserProjection",(function(){return k})),o.d(t,"getUserProjection",(function(){return N})),o.d(t,"useGeographic",(function(){return D})),o.d(t,"toUserCoordinate",(function(){return G})),o.d(t,"fromUserCoordinate",(function(){return F})),o.d(t,"toUserExtent",(function(){return U})),o.d(t,"fromUserExtent",(function(){return B})),o.d(t,"toUserResolution",(function(){return z})),o.d(t,"fromUserResolution",(function(){return V})),o.d(t,"createSafeCoordinateTransform",(function(){return W})),o.d(t,"addCommon",(function(){return q}));var r=o("./node_modules/ol/proj/Projection.js");o.d(t,"Projection",(function(){return r.default}));var n=o("./node_modules/ol/proj/Units.js");o.d(t,"METERS_PER_UNIT",(function(){return n.METERS_PER_UNIT}));var i=o("./node_modules/ol/proj/epsg3857.js"),s=o("./node_modules/ol/proj/epsg4326.js"),a=o("./node_modules/ol/proj/projections.js"),l=o("./node_modules/ol/proj/transforms.js"),u=o("./node_modules/ol/extent.js"),c=o("./node_modules/ol/math.js"),d=o("./node_modules/ol/sphere.js"),p=o("./node_modules/ol/coordinate.js");function h(e,t,o){var r;if(void 0!==t){for(var n=0,i=e.length;n<i;++n)t[n]=e[n];r=t}else r=e.slice();return r}function f(e,t,o){if(void 0!==t&&e!==t){for(var r=0,n=e.length;r<n;++r)t[r]=e[r];e=t}return e}function m(e){Object(a.add)(e.getCode(),e),Object(l.add)(e,e,h)}function g(e){e.forEach(m)}function y(e){return"string"==typeof e?Object(a.get)(e):e||null}function v(e,t,o,r){var i,s=(e=y(e)).getPointResolutionFunc();if(s){if(i=s(t,o),r&&r!==e.getUnits())(l=e.getMetersPerUnit())&&(i=i*l/n.METERS_PER_UNIT[r])}else{var a=e.getUnits();if(a==n.default.DEGREES&&!r||r==n.default.DEGREES)i=t;else{var l,u=x(e,y("EPSG:4326"));if(u===f&&a!==n.default.DEGREES)i=t*e.getMetersPerUnit();else{var c=[o[0]-t/2,o[1],o[0]+t/2,o[1],o[0],o[1]-t/2,o[0],o[1]+t/2];c=u(c,c,2),i=(Object(d.getDistance)(c.slice(0,2),c.slice(2,4))+Object(d.getDistance)(c.slice(4,6),c.slice(6,8)))/2}void 0!==(l=r?n.METERS_PER_UNIT[r]:e.getMetersPerUnit())&&(i/=l)}}return i}function _(e){g(e),e.forEach((function(t){e.forEach((function(e){t!==e&&Object(l.add)(t,e,h)}))}))}function b(e,t,o,r){e.forEach((function(e){t.forEach((function(t){Object(l.add)(e,t,o),Object(l.add)(t,e,r)}))}))}function A(){Object(a.clear)(),Object(l.clear)()}function C(e,t){return e?"string"==typeof e?y(e):e:y(t)}function E(e){return function(t,o,r){for(var n=t.length,i=void 0!==r?r:2,s=void 0!==o?o:new Array(n),a=0;a<n;a+=i){var l=e([t[a],t[a+1]]);s[a]=l[0],s[a+1]=l[1];for(var u=i-1;u>=2;--u)s[a+u]=t[a+u]}return s}}function S(e,t,o,r){var n=y(e),i=y(t);Object(l.add)(n,i,E(o)),Object(l.add)(i,n,E(r))}function w(e,t){return T(e,"EPSG:4326",void 0!==t?t:"EPSG:3857")}function O(e,t){var o=T(e,void 0!==t?t:"EPSG:3857","EPSG:4326"),r=o[0];return(r<-180||r>180)&&(o[0]=Object(c.modulo)(r+180,360)-180),o}function I(e,t){if(e===t)return!0;var o=e.getUnits()===t.getUnits();return(e.getCode()===t.getCode()||x(e,t)===h)&&o}function x(e,t){var o=e.getCode(),r=t.getCode(),n=Object(l.get)(o,r);return n||(n=f),n}function j(e,t){return x(y(e),y(t))}function T(e,t,o){return j(t,o)(e,void 0,e.length)}function P(e,t,o,r){var n=j(t,o);return Object(u.applyTransform)(e,n,void 0,r)}function M(e,t,o){return x(t,o)(e)}var R=null;function L(e){R=y(e)}function k(){R=null}function N(){return R}function D(){L("EPSG:4326")}function G(e,t){return R?T(e,t,R):e}function F(e,t){return R?T(e,R,t):e}function U(e,t){return R?P(e,t,R):e}function B(e,t){return R?P(e,R,t):e}function z(e,t){if(!R)return e;var o=y(t).getUnits(),r=R.getUnits();return o&&r?e*n.METERS_PER_UNIT[o]/n.METERS_PER_UNIT[r]:e}function V(e,t){if(!R)return e;var o=y(t).getUnits(),r=R.getUnits();return o&&r?e*n.METERS_PER_UNIT[r]/n.METERS_PER_UNIT[o]:e}function W(e,t,o){return function(r){var n,i,s=r[0],a=r[1];if(e.canWrapX()){var l=e.getExtent(),d=Object(u.getWidth)(l);(i=Object(p.getWorldsAway)(r,e,d))&&(s-=i*d),s=Object(c.clamp)(s,l[0],l[2]),a=Object(c.clamp)(a,l[1],l[3]),n=o([s,a])}else n=o(r);return i&&t.canWrapX()&&(n[0]+=i*Object(u.getWidth)(t.getExtent())),n}}function q(){_(i.PROJECTIONS),_(s.PROJECTIONS),b(s.PROJECTIONS,i.PROJECTIONS,i.fromEPSG4326,i.toEPSG4326)}q()},"./node_modules/ol/proj/Projection.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/proj/Units.js"),n=function(){function e(e){this.code_=e.code,this.units_=e.units,this.extent_=void 0!==e.extent?e.extent:null,this.worldExtent_=void 0!==e.worldExtent?e.worldExtent:null,this.axisOrientation_=void 0!==e.axisOrientation?e.axisOrientation:"enu",this.global_=void 0!==e.global&&e.global,this.canWrapX_=!(!this.global_||!this.extent_),this.getPointResolutionFunc_=e.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=e.metersPerUnit}return e.prototype.canWrapX=function(){return this.canWrapX_},e.prototype.getCode=function(){return this.code_},e.prototype.getExtent=function(){return this.extent_},e.prototype.getUnits=function(){return this.units_},e.prototype.getMetersPerUnit=function(){return this.metersPerUnit_||r.METERS_PER_UNIT[this.units_]},e.prototype.getWorldExtent=function(){return this.worldExtent_},e.prototype.getAxisOrientation=function(){return this.axisOrientation_},e.prototype.isGlobal=function(){return this.global_},e.prototype.setGlobal=function(e){this.global_=e,this.canWrapX_=!(!e||!this.extent_)},e.prototype.getDefaultTileGrid=function(){return this.defaultTileGrid_},e.prototype.setDefaultTileGrid=function(e){this.defaultTileGrid_=e},e.prototype.setExtent=function(e){this.extent_=e,this.canWrapX_=!(!this.global_||!e)},e.prototype.setWorldExtent=function(e){this.worldExtent_=e},e.prototype.setGetPointResolution=function(e){this.getPointResolutionFunc_=e},e.prototype.getPointResolutionFunc=function(){return this.getPointResolutionFunc_},e}();t.default=n},"./node_modules/ol/proj/Units.js":function(e,t,o){"use strict";o.r(t),o.d(t,"fromCode",(function(){return i})),o.d(t,"METERS_PER_UNIT",(function(){return s}));var r={RADIANS:"radians",DEGREES:"degrees",FEET:"ft",METERS:"m",PIXELS:"pixels",TILE_PIXELS:"tile-pixels",USFEET:"us-ft"},n={9001:r.METERS,9002:r.FEET,9003:r.USFEET,9101:r.RADIANS,9102:r.DEGREES};function i(e){return n[e]}var s={};s[r.RADIANS]=6370997/(2*Math.PI),s[r.DEGREES]=2*Math.PI*6370997/360,s[r.FEET]=.3048,s[r.METERS]=1,s[r.USFEET]=1200/3937,t.default=r},"./node_modules/ol/proj/epsg3857.js":function(e,t,o){"use strict";o.r(t),o.d(t,"RADIUS",(function(){return l})),o.d(t,"HALF_SIZE",(function(){return u})),o.d(t,"EXTENT",(function(){return c})),o.d(t,"WORLD_EXTENT",(function(){return d})),o.d(t,"MAX_SAFE_Y",(function(){return p})),o.d(t,"PROJECTIONS",(function(){return f})),o.d(t,"fromEPSG4326",(function(){return m})),o.d(t,"toEPSG4326",(function(){return g}));var r,n=o("./node_modules/ol/proj/Projection.js"),i=o("./node_modules/ol/proj/Units.js"),s=o("./node_modules/ol/math.js"),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=6378137,u=Math.PI*l,c=[-u,-u,u,u],d=[-180,-85,180,85],p=l*Math.log(Math.tan(Math.PI/2)),h=function(e){function t(t){return e.call(this,{code:t,units:i.default.METERS,extent:c,global:!0,worldExtent:d,getPointResolution:function(e,t){return e/Object(s.cosh)(t[1]/l)}})||this}return a(t,e),t}(n.default),f=[new h("EPSG:3857"),new h("EPSG:102100"),new h("EPSG:102113"),new h("EPSG:900913"),new h("http://www.opengis.net/def/crs/EPSG/0/3857"),new h("http://www.opengis.net/gml/srs/epsg.xml#3857")];function m(e,t,o){var r=e.length,n=o>1?o:2,i=t;void 0===i&&(i=n>2?e.slice():new Array(r));for(var s=0;s<r;s+=n){i[s]=u*e[s]/180;var a=l*Math.log(Math.tan(Math.PI*(+e[s+1]+90)/360));a>p?a=p:a<-p&&(a=-p),i[s+1]=a}return i}function g(e,t,o){var r=e.length,n=o>1?o:2,i=t;void 0===i&&(i=n>2?e.slice():new Array(r));for(var s=0;s<r;s+=n)i[s]=180*e[s]/u,i[s+1]=360*Math.atan(Math.exp(e[s+1]/l))/Math.PI-90;return i}},"./node_modules/ol/proj/epsg4326.js":function(e,t,o){"use strict";o.r(t),o.d(t,"RADIUS",(function(){return a})),o.d(t,"EXTENT",(function(){return l})),o.d(t,"METERS_PER_UNIT",(function(){return u})),o.d(t,"PROJECTIONS",(function(){return d}));var r,n=o("./node_modules/ol/proj/Projection.js"),i=o("./node_modules/ol/proj/Units.js"),s=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=6378137,l=[-180,-90,180,90],u=Math.PI*a/180,c=function(e){function t(t,o){return e.call(this,{code:t,units:i.default.DEGREES,extent:l,axisOrientation:o,global:!0,metersPerUnit:u,worldExtent:l})||this}return s(t,e),t}(n.default),d=[new c("CRS:84"),new c("EPSG:4326","neu"),new c("urn:ogc:def:crs:OGC:1.3:CRS84"),new c("urn:ogc:def:crs:OGC:2:84"),new c("http://www.opengis.net/def/crs/OGC/1.3/CRS84","neu"),new c("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new c("http://www.opengis.net/def/crs/EPSG/0/4326","neu")]},"./node_modules/ol/proj/proj4.js":function(e,t,o){"use strict";o.r(t),o.d(t,"register",(function(){return a}));var r=o("./node_modules/ol/proj/Projection.js"),n=o("./node_modules/ol/proj/Units.js"),i=o("./node_modules/ol/proj.js"),s=o("./node_modules/ol/proj/transforms.js");function a(e){var t,o,a=Object.keys(e.defs),l=a.length;for(t=0;t<l;++t){var u=a[t];if(!Object(i.get)(u)){var c=e.defs(u),d=c.units;d||"longlat"!==c.projName||(d=n.default.DEGREES),Object(i.addProjection)(new r.default({code:u,axisOrientation:c.axis,metersPerUnit:c.to_meter,units:d}))}}for(t=0;t<l;++t){var p=a[t],h=Object(i.get)(p);for(o=0;o<l;++o){var f=a[o],m=Object(i.get)(f);if(!Object(s.get)(p,f))if(e.defs[p]===e.defs[f])Object(i.addEquivalentProjections)([h,m]);else{var g=e(p,f);Object(i.addCoordinateTransforms)(h,m,Object(i.createSafeCoordinateTransform)(h,m,g.forward),Object(i.createSafeCoordinateTransform)(m,h,g.inverse))}}}}},"./node_modules/ol/proj/projections.js":function(e,t,o){"use strict";o.r(t),o.d(t,"clear",(function(){return n})),o.d(t,"get",(function(){return i})),o.d(t,"add",(function(){return s}));var r={};function n(){r={}}function i(e){return r[e]||r[e.replace(/urn:(x-)?ogc:def:crs:EPSG:(.*:)?(\w+)$/,"EPSG:$3")]||null}function s(e,t){r[e]=t}},"./node_modules/ol/proj/transforms.js":function(e,t,o){"use strict";o.r(t),o.d(t,"clear",(function(){return i})),o.d(t,"add",(function(){return s})),o.d(t,"remove",(function(){return a})),o.d(t,"get",(function(){return l}));var r=o("./node_modules/ol/obj.js"),n={};function i(){n={}}function s(e,t,o){var r=e.getCode(),i=t.getCode();r in n||(n[r]={}),n[r][i]=o}function a(e,t){var o=e.getCode(),i=t.getCode(),s=n[o][i];return delete n[o][i],Object(r.isEmpty)(n[o])&&delete n[o],s}function l(e,t){var o;return e in n&&t in n[e]&&(o=n[e][t]),o}},"./node_modules/ol/render.js":function(e,t,o){"use strict";o.r(t),o.d(t,"toContext",(function(){return l})),o.d(t,"getVectorContext",(function(){return u})),o.d(t,"getRenderPixel",(function(){return c}));var r=o("./node_modules/ol/render/canvas/Immediate.js"),n=o("./node_modules/ol/has.js"),i=o("./node_modules/ol/transform.js"),s=o("./node_modules/ol/renderer/vector.js"),a=o("./node_modules/ol/proj.js");function l(e,t){var o=e.canvas,s=t||{},a=s.pixelRatio||n.DEVICE_PIXEL_RATIO,l=s.size;l&&(o.width=l[0]*a,o.height=l[1]*a,o.style.width=l[0]+"px",o.style.height=l[1]+"px");var u=[0,0,o.width,o.height],c=Object(i.scale)(Object(i.create)(),a,a);return new r.default(e,a,u,c,0)}function u(e){var t,o=e.inversePixelTransform[0],n=e.frameState,l=Object(i.multiply)(e.inversePixelTransform.slice(),n.coordinateToPixelTransform),u=Object(s.getSquaredTolerance)(n.viewState.resolution,o),c=Object(a.getUserProjection)();return c&&(t=Object(a.getTransformFromProjections)(c,n.viewState.projection)),new r.default(e.context,o,n.extent,l,n.viewState.rotation,u,t)}function c(e,t){var o=t.slice(0);return Object(i.apply)(e.inversePixelTransform.slice(),o),o}},"./node_modules/ol/render/Box.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/Disposable.js"),i=o("./node_modules/ol/geom/Polygon.js"),s=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=function(e){function t(t){var o=e.call(this)||this;return o.geometry_=null,o.element_=document.createElement("div"),o.element_.style.position="absolute",o.element_.style.pointerEvents="auto",o.element_.className="ol-box "+t,o.map_=null,o.startPixel_=null,o.endPixel_=null,o}return s(t,e),t.prototype.disposeInternal=function(){this.setMap(null)},t.prototype.render_=function(){var e=this.startPixel_,t=this.endPixel_,o="px",r=this.element_.style;r.left=Math.min(e[0],t[0])+o,r.top=Math.min(e[1],t[1])+o,r.width=Math.abs(t[0]-e[0])+o,r.height=Math.abs(t[1]-e[1])+o},t.prototype.setMap=function(e){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);var t=this.element_.style;t.left="inherit",t.top="inherit",t.width="inherit",t.height="inherit"}this.map_=e,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)},t.prototype.setPixels=function(e,t){this.startPixel_=e,this.endPixel_=t,this.createOrUpdateGeometry(),this.render_()},t.prototype.createOrUpdateGeometry=function(){var e=this.startPixel_,t=this.endPixel_,o=[e,[e[0],t[1]],t,[t[0],e[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);o[4]=o[0].slice(),this.geometry_?this.geometry_.setCoordinates([o]):this.geometry_=new i.default([o])},t.prototype.getGeometry=function(){return this.geometry_},t}(n.default);t.default=a},"./node_modules/ol/render/Event.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/events/Event.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t,o,r,n){var i=e.call(this,t)||this;return i.inversePixelTransform=o,i.frameState=r,i.context=n,i}return i(t,e),t}(n.default);t.default=s},"./node_modules/ol/render/EventType.js":function(e,t,o){"use strict";o.r(t),t.default={PRERENDER:"prerender",POSTRENDER:"postrender",PRECOMPOSE:"precompose",POSTCOMPOSE:"postcompose",RENDERCOMPLETE:"rendercomplete"}},"./node_modules/ol/render/Feature.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/geom/GeometryType.js"),n=o("./node_modules/ol/transform.js"),i=o("./node_modules/ol/extent.js"),s=o("./node_modules/ol/array.js"),a=o("./node_modules/ol/geom/flat/interiorpoint.js"),l=o("./node_modules/ol/proj.js"),u=o("./node_modules/ol/geom/flat/interpolate.js"),c=o("./node_modules/ol/geom/flat/center.js"),d=o("./node_modules/ol/geom/flat/transform.js"),p=Object(n.create)(),h=function(){function e(e,t,o,r,n){this.extent_,this.id_=n,this.type_=e,this.flatCoordinates_=t,this.flatInteriorPoints_=null,this.flatMidpoints_=null,this.ends_=o,this.properties_=r}return e.prototype.get=function(e){return this.properties_[e]},e.prototype.getExtent=function(){return this.extent_||(this.extent_=this.type_===r.default.POINT?Object(i.createOrUpdateFromCoordinate)(this.flatCoordinates_):Object(i.createOrUpdateFromFlatCoordinates)(this.flatCoordinates_,0,this.flatCoordinates_.length,2)),this.extent_},e.prototype.getFlatInteriorPoint=function(){if(!this.flatInteriorPoints_){var e=Object(i.getCenter)(this.getExtent());this.flatInteriorPoints_=Object(a.getInteriorPointOfArray)(this.flatCoordinates_,0,this.ends_,2,e,0)}return this.flatInteriorPoints_},e.prototype.getFlatInteriorPoints=function(){if(!this.flatInteriorPoints_){var e=Object(c.linearRingss)(this.flatCoordinates_,0,this.ends_,2);this.flatInteriorPoints_=Object(a.getInteriorPointsOfMultiArray)(this.flatCoordinates_,0,this.ends_,2,e)}return this.flatInteriorPoints_},e.prototype.getFlatMidpoint=function(){return this.flatMidpoints_||(this.flatMidpoints_=Object(u.interpolatePoint)(this.flatCoordinates_,0,this.flatCoordinates_.length,2,.5)),this.flatMidpoints_},e.prototype.getFlatMidpoints=function(){if(!this.flatMidpoints_){this.flatMidpoints_=[];for(var e=this.flatCoordinates_,t=0,o=this.ends_,r=0,n=o.length;r<n;++r){var i=o[r],a=Object(u.interpolatePoint)(e,t,i,2,.5);Object(s.extend)(this.flatMidpoints_,a),t=i}}return this.flatMidpoints_},e.prototype.getId=function(){return this.id_},e.prototype.getOrientedFlatCoordinates=function(){return this.flatCoordinates_},e.prototype.getGeometry=function(){return this},e.prototype.getSimplifiedGeometry=function(e){return this},e.prototype.simplifyTransformed=function(e,t){return this},e.prototype.getProperties=function(){return this.properties_},e.prototype.getStride=function(){return 2},e.prototype.getStyleFunction=function(){},e.prototype.getType=function(){return this.type_},e.prototype.transform=function(e){var t=(e=Object(l.get)(e)).getExtent(),o=e.getWorldExtent();if(t&&o){var r=Object(i.getHeight)(o)/Object(i.getHeight)(t);Object(n.compose)(p,o[0],o[3],r,-r,0,0,0),Object(d.transform2D)(this.flatCoordinates_,0,this.flatCoordinates_.length,2,p,this.flatCoordinates_)}},e.prototype.getEnds=function(){return this.ends_},e}();h.prototype.getEndss=h.prototype.getEnds,h.prototype.getFlatCoordinates=h.prototype.getOrientedFlatCoordinates,t.default=h},"./node_modules/ol/render/VectorContext.js":function(e,t,o){"use strict";o.r(t);var r=function(){function e(){}return e.prototype.drawCustom=function(e,t,o,r){},e.prototype.drawGeometry=function(e){},e.prototype.setStyle=function(e){},e.prototype.drawCircle=function(e,t){},e.prototype.drawFeature=function(e,t){},e.prototype.drawGeometryCollection=function(e,t){},e.prototype.drawLineString=function(e,t){},e.prototype.drawMultiLineString=function(e,t){},e.prototype.drawMultiPoint=function(e,t){},e.prototype.drawMultiPolygon=function(e,t){},e.prototype.drawPoint=function(e,t){},e.prototype.drawPolygon=function(e,t){},e.prototype.drawText=function(e,t){},e.prototype.setFillStrokeStyle=function(e,t){},e.prototype.setImageStyle=function(e,t){},e.prototype.setTextStyle=function(e,t){},e}();t.default=r},"./node_modules/ol/render/canvas.js":function(e,t,o){"use strict";o.r(t),o.d(t,"defaultFont",(function(){return u})),o.d(t,"defaultFillStyle",(function(){return c})),o.d(t,"defaultLineCap",(function(){return d})),o.d(t,"defaultLineDash",(function(){return p})),o.d(t,"defaultLineDashOffset",(function(){return h})),o.d(t,"defaultLineJoin",(function(){return f})),o.d(t,"defaultMiterLimit",(function(){return m})),o.d(t,"defaultStrokeStyle",(function(){return g})),o.d(t,"defaultTextAlign",(function(){return y})),o.d(t,"defaultTextBaseline",(function(){return v})),o.d(t,"defaultPadding",(function(){return _})),o.d(t,"defaultLineWidth",(function(){return b})),o.d(t,"checkedFonts",(function(){return A})),o.d(t,"labelCache",(function(){return C})),o.d(t,"textHeights",(function(){return O})),o.d(t,"registerFont",(function(){return I})),o.d(t,"measureTextHeight",(function(){return x})),o.d(t,"measureTextWidth",(function(){return T})),o.d(t,"measureAndCacheTextWidth",(function(){return P})),o.d(t,"measureTextWidths",(function(){return M})),o.d(t,"rotateAtOffset",(function(){return R})),o.d(t,"drawImageOrLabel",(function(){return L}));var r=o("./node_modules/ol/Object.js"),n=o("./node_modules/ol/events/Target.js"),i=o("./node_modules/ol/has.js"),s=o("./node_modules/ol/obj.js"),a=o("./node_modules/ol/dom.js"),l=o("./node_modules/ol/css.js"),u="10px sans-serif",c="#000",d="round",p=[],h=0,f="round",m=10,g="#000",y="center",v="middle",_=[0,0,0,0],b=1,A=new r.default,C=new n.default;C.setSize=function(){console.warn("labelCache is deprecated.")};var E,S,w=null,O={},I=function(){var e,t,o="32px ",r=["monospace","serif"],n=r.length,i="wmytzilWMYTZIL@#/&?$%10";function a(e,s,a){for(var l=!0,u=0;u<n;++u){var c=r[u];if(t=T(e+" "+s+" "+o+c,i),a!=c){var d=T(e+" "+s+" "+o+a+","+c,i);l=l&&d!=t}}return!!l}function u(){for(var t=!0,o=A.getKeys(),r=0,n=o.length;r<n;++r){var i=o[r];A.get(i)<100&&(a.apply(this,i.split("\n"))?(Object(s.clear)(O),w=null,E=void 0,A.set(i,100)):(A.set(i,A.get(i)+1,!0),t=!1))}t&&(clearInterval(e),e=void 0)}return function(t){var o=Object(l.getFontParameters)(t);if(o)for(var r=o.families,n=0,i=r.length;n<i;++n){var s=r[n],c=o.style+"\n"+o.weight+"\n"+s;void 0===A.get(c)&&(A.set(c,100,!0),a(o.style,o.weight,s)||(A.set(c,0,!0),void 0===e&&(e=setInterval(u,32))))}}}(),x=function(e){var t=O[e];if(null==t){if(i.WORKER_OFFSCREEN_CANVAS){var o=Object(l.getFontParameters)(e),r=j(e,"Žg");t=(isNaN(Number(o.lineHeight))?1.2:Number(o.lineHeight))*(r.actualBoundingBoxAscent+r.actualBoundingBoxDescent)}else S||((S=document.createElement("div")).innerHTML="M",S.style.minHeight="0",S.style.maxHeight="none",S.style.height="auto",S.style.padding="0",S.style.border="none",S.style.position="absolute",S.style.display="block",S.style.left="-99999px"),S.style.font=e,document.body.appendChild(S),t=S.offsetHeight,document.body.removeChild(S);O[e]=t}return t};function j(e,t){return w||(w=Object(a.createCanvasContext2D)(1,1)),e!=E&&(w.font=e,E=w.font),w.measureText(t)}function T(e,t){return j(e,t).width}function P(e,t,o){if(t in o)return o[t];var r=T(e,t);return o[t]=r,r}function M(e,t,o){for(var r=t.length,n=0,i=0;i<r;++i){var s=T(e,t[i]);n=Math.max(n,s),o.push(s)}return n}function R(e,t,o,r){0!==t&&(e.translate(o,r),e.rotate(t),e.translate(-o,-r))}function L(e,t,o,r,n,i,s,a,l,u,c){e.save(),1!==o&&(e.globalAlpha*=o),t&&e.setTransform.apply(e,t),r.contextInstructions?(e.translate(l,u),e.scale(c[0],c[1]),function(e,t){for(var o=e.contextInstructions,r=0,n=o.length;r<n;r+=2)Array.isArray(o[r+1])?t[o[r]].apply(t,o[r+1]):t[o[r]]=o[r+1]}(r,e)):c[0]<0||c[1]<0?(e.translate(l,u),e.scale(c[0],c[1]),e.drawImage(r,n,i,s,a,0,0,s,a)):e.drawImage(r,n,i,s,a,l,u,s*c[0],a*c[1]),e.restore()}},"./node_modules/ol/render/canvas/Builder.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/render/canvas/Instruction.js"),i=o("./node_modules/ol/geom/GeometryType.js"),s=o("./node_modules/ol/extent/Relationship.js"),a=o("./node_modules/ol/render/VectorContext.js"),l=o("./node_modules/ol/colorlike.js"),u=o("./node_modules/ol/extent.js"),c=o("./node_modules/ol/render/canvas.js"),d=o("./node_modules/ol/array.js"),p=o("./node_modules/ol/geom/flat/inflate.js"),h=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),f=function(e){function t(t,o,r,n){var i=e.call(this)||this;return i.tolerance=t,i.maxExtent=o,i.pixelRatio=n,i.maxLineWidth=0,i.resolution=r,i.beginGeometryInstruction1_=null,i.beginGeometryInstruction2_=null,i.bufferedMaxExtent_=null,i.instructions=[],i.coordinates=[],i.tmpCoordinate_=[],i.hitDetectionInstructions=[],i.state={},i}return h(t,e),t.prototype.applyPixelRatio=function(e){var t=this.pixelRatio;return 1==t?e:e.map((function(e){return e*t}))},t.prototype.appendFlatPointCoordinates=function(e,t){for(var o=this.getBufferedMaxExtent(),r=this.tmpCoordinate_,n=this.coordinates,i=n.length,s=0,a=e.length;s<a;s+=t)r[0]=e[s],r[1]=e[s+1],Object(u.containsCoordinate)(o,r)&&(n[i++]=r[0],n[i++]=r[1]);return i},t.prototype.appendFlatLineCoordinates=function(e,t,o,r,n,i){var a=this.coordinates,l=a.length,c=this.getBufferedMaxExtent();i&&(t+=r);var d,p,h,f=e[t],m=e[t+1],g=this.tmpCoordinate_,y=!0;for(d=t+r;d<o;d+=r)g[0]=e[d],g[1]=e[d+1],(h=Object(u.coordinateRelationship)(c,g))!==p?(y&&(a[l++]=f,a[l++]=m,y=!1),a[l++]=g[0],a[l++]=g[1]):h===s.default.INTERSECTING?(a[l++]=g[0],a[l++]=g[1],y=!1):y=!0,f=g[0],m=g[1],p=h;return(n&&y||d===t+r)&&(a[l++]=f,a[l++]=m),l},t.prototype.drawCustomCoordinates_=function(e,t,o,r,n){for(var i=0,s=o.length;i<s;++i){var a=o[i],l=this.appendFlatLineCoordinates(e,t,a,r,!1,!1);n.push(l),t=a}return t},t.prototype.drawCustom=function(e,t,o,r){this.beginGeometry(e,t);var s,a,l,u,c,d=e.getType(),h=e.getStride(),f=this.coordinates.length;switch(d){case i.default.MULTI_POLYGON:s=e.getOrientedFlatCoordinates(),u=[];var m=e.getEndss();c=0;for(var g=0,y=m.length;g<y;++g){var v=[];c=this.drawCustomCoordinates_(s,c,m[g],h,v),u.push(v)}this.instructions.push([n.default.CUSTOM,f,u,e,o,p.inflateMultiCoordinatesArray]),this.hitDetectionInstructions.push([n.default.CUSTOM,f,u,e,r||o,p.inflateMultiCoordinatesArray]);break;case i.default.POLYGON:case i.default.MULTI_LINE_STRING:l=[],s=d==i.default.POLYGON?e.getOrientedFlatCoordinates():e.getFlatCoordinates(),c=this.drawCustomCoordinates_(s,0,e.getEnds(),h,l),this.instructions.push([n.default.CUSTOM,f,l,e,o,p.inflateCoordinatesArray]),this.hitDetectionInstructions.push([n.default.CUSTOM,f,l,e,r||o,p.inflateCoordinatesArray]);break;case i.default.LINE_STRING:case i.default.CIRCLE:s=e.getFlatCoordinates(),a=this.appendFlatLineCoordinates(s,0,s.length,h,!1,!1),this.instructions.push([n.default.CUSTOM,f,a,e,o,p.inflateCoordinates]),this.hitDetectionInstructions.push([n.default.CUSTOM,f,a,e,r||o,p.inflateCoordinates]);break;case i.default.MULTI_POINT:s=e.getFlatCoordinates(),(a=this.appendFlatPointCoordinates(s,h))>f&&(this.instructions.push([n.default.CUSTOM,f,a,e,o,p.inflateCoordinates]),this.hitDetectionInstructions.push([n.default.CUSTOM,f,a,e,r||o,p.inflateCoordinates]));break;case i.default.POINT:s=e.getFlatCoordinates(),this.coordinates.push(s[0],s[1]),a=this.coordinates.length,this.instructions.push([n.default.CUSTOM,f,a,e,o]),this.hitDetectionInstructions.push([n.default.CUSTOM,f,a,e,r||o])}this.endGeometry(t)},t.prototype.beginGeometry=function(e,t){this.beginGeometryInstruction1_=[n.default.BEGIN_GEOMETRY,t,0,e],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[n.default.BEGIN_GEOMETRY,t,0,e],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)},t.prototype.finish=function(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}},t.prototype.reverseHitDetectionInstructions=function(){var e,t=this.hitDetectionInstructions;t.reverse();var o,r,i=t.length,s=-1;for(e=0;e<i;++e)(r=(o=t[e])[0])==n.default.END_GEOMETRY?s=e:r==n.default.BEGIN_GEOMETRY&&(o[2]=e,Object(d.reverseSubArray)(this.hitDetectionInstructions,s,e),s=-1)},t.prototype.setFillStrokeStyle=function(e,t){var o=this.state;if(e){var r=e.getColor();o.fillStyle=Object(l.asColorLike)(r||c.defaultFillStyle)}else o.fillStyle=void 0;if(t){var n=t.getColor();o.strokeStyle=Object(l.asColorLike)(n||c.defaultStrokeStyle);var i=t.getLineCap();o.lineCap=void 0!==i?i:c.defaultLineCap;var s=t.getLineDash();o.lineDash=s?s.slice():c.defaultLineDash;var a=t.getLineDashOffset();o.lineDashOffset=a||c.defaultLineDashOffset;var u=t.getLineJoin();o.lineJoin=void 0!==u?u:c.defaultLineJoin;var d=t.getWidth();o.lineWidth=void 0!==d?d:c.defaultLineWidth;var p=t.getMiterLimit();o.miterLimit=void 0!==p?p:c.defaultMiterLimit,o.lineWidth>this.maxLineWidth&&(this.maxLineWidth=o.lineWidth,this.bufferedMaxExtent_=null)}else o.strokeStyle=void 0,o.lineCap=void 0,o.lineDash=null,o.lineDashOffset=void 0,o.lineJoin=void 0,o.lineWidth=void 0,o.miterLimit=void 0},t.prototype.createFill=function(e){var t=e.fillStyle,o=[n.default.SET_FILL_STYLE,t];return"string"!=typeof t&&o.push(!0),o},t.prototype.applyStroke=function(e){this.instructions.push(this.createStroke(e))},t.prototype.createStroke=function(e){return[n.default.SET_STROKE_STYLE,e.strokeStyle,e.lineWidth*this.pixelRatio,e.lineCap,e.lineJoin,e.miterLimit,this.applyPixelRatio(e.lineDash),e.lineDashOffset*this.pixelRatio]},t.prototype.updateFillStyle=function(e,t){var o=e.fillStyle;"string"==typeof o&&e.currentFillStyle==o||(void 0!==o&&this.instructions.push(t.call(this,e)),e.currentFillStyle=o)},t.prototype.updateStrokeStyle=function(e,t){var o=e.strokeStyle,r=e.lineCap,n=e.lineDash,i=e.lineDashOffset,s=e.lineJoin,a=e.lineWidth,l=e.miterLimit;(e.currentStrokeStyle!=o||e.currentLineCap!=r||n!=e.currentLineDash&&!Object(d.equals)(e.currentLineDash,n)||e.currentLineDashOffset!=i||e.currentLineJoin!=s||e.currentLineWidth!=a||e.currentMiterLimit!=l)&&(void 0!==o&&t.call(this,e),e.currentStrokeStyle=o,e.currentLineCap=r,e.currentLineDash=n,e.currentLineDashOffset=i,e.currentLineJoin=s,e.currentLineWidth=a,e.currentMiterLimit=l)},t.prototype.endGeometry=function(e){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;var t=[n.default.END_GEOMETRY,e];this.instructions.push(t),this.hitDetectionInstructions.push(t)},t.prototype.getBufferedMaxExtent=function(){if(!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=Object(u.clone)(this.maxExtent),this.maxLineWidth>0)){var e=this.resolution*(this.maxLineWidth+1)/2;Object(u.buffer)(this.bufferedMaxExtent_,e,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_},t}(a.default);t.default=f},"./node_modules/ol/render/canvas/BuilderGroup.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/render/canvas/Builder.js"),n=o("./node_modules/ol/render/canvas/ImageBuilder.js"),i=o("./node_modules/ol/render/canvas/LineStringBuilder.js"),s=o("./node_modules/ol/render/canvas/PolygonBuilder.js"),a=o("./node_modules/ol/render/canvas/TextBuilder.js"),l={Circle:s.default,Default:r.default,Image:n.default,LineString:i.default,Polygon:s.default,Text:a.default},u=function(){function e(e,t,o,r){this.tolerance_=e,this.maxExtent_=t,this.pixelRatio_=r,this.resolution_=o,this.buildersByZIndex_={}}return e.prototype.finish=function(){var e={};for(var t in this.buildersByZIndex_){e[t]=e[t]||{};var o=this.buildersByZIndex_[t];for(var r in o){var n=o[r].finish();e[t][r]=n}}return e},e.prototype.getBuilder=function(e,t){var o=void 0!==e?e.toString():"0",r=this.buildersByZIndex_[o];void 0===r&&(r={},this.buildersByZIndex_[o]=r);var n=r[t];void 0===n&&(n=new(0,l[t])(this.tolerance_,this.maxExtent_,this.resolution_,this.pixelRatio_),r[t]=n);return n},e}();t.default=u},"./node_modules/ol/render/canvas/BuilderType.js":function(e,t,o){"use strict";o.r(t),t.default={CIRCLE:"Circle",DEFAULT:"Default",IMAGE:"Image",LINE_STRING:"LineString",POLYGON:"Polygon",TEXT:"Text"}},"./node_modules/ol/render/canvas/Executor.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/render/canvas/Instruction.js"),n=o("./node_modules/ol/render/canvas/TextBuilder.js"),i=o("./node_modules/ol/has.js"),s=o("./node_modules/ol/transform.js"),a=o("./node_modules/ol/extent.js"),l=o("./node_modules/ol/render/canvas.js"),u=o("./node_modules/ol/geom/flat/textpath.js"),c=o("./node_modules/ol/array.js"),d=o("./node_modules/ol/geom/flat/length.js"),p=o("./node_modules/ol/geom/flat/transform.js"),h=Object(a.createEmpty)(),f=[],m=[],g=[],y=[];function v(e){return e[3].declutterBox}var _=new RegExp("["+String.fromCharCode(1425)+"-"+String.fromCharCode(2303)+String.fromCharCode(64285)+"-"+String.fromCharCode(65023)+String.fromCharCode(65136)+"-"+String.fromCharCode(65276)+String.fromCharCode(67584)+"-"+String.fromCharCode(69631)+String.fromCharCode(124928)+"-"+String.fromCharCode(126975)+"]");function b(e,t){return"start"!==t&&"end"!==t||_.test(e)||(t="start"===t?"left":"right"),n.TEXT_ALIGN[t]}var A=function(){function e(e,t,o,r){this.overlaps=o,this.pixelRatio=t,this.resolution=e,this.alignFill_,this.instructions=r.instructions,this.coordinates=r.coordinates,this.coordinateCache_={},this.renderedTransform_=Object(s.create)(),this.hitDetectionInstructions=r.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=r.fillStates||{},this.strokeStates=r.strokeStates||{},this.textStates=r.textStates||{},this.widths_={},this.labels_={}}return e.prototype.createLabel=function(e,t,o,r){var n=e+t+o+r;if(this.labels_[n])return this.labels_[n];var s=r?this.strokeStates[r]:null,a=o?this.fillStates[o]:null,u=this.textStates[t],c=this.pixelRatio,d=[u.scale[0]*c,u.scale[1]*c],p=b(e,u.textAlign||l.defaultTextAlign),h=r&&s.lineWidth?s.lineWidth:0,f=e.split("\n"),m=f.length,g=[],y=Object(l.measureTextWidths)(u.font,f,g),v=Object(l.measureTextHeight)(u.font),_=y+h,A=[],C=(_+2)*d[0],E=(v*m+h)*d[1],S={width:C<0?Math.floor(C):Math.ceil(C),height:E<0?Math.floor(E):Math.ceil(E),contextInstructions:A};(1==d[0]&&1==d[1]||A.push("scale",d),A.push("font",u.font),r)&&(A.push("strokeStyle",s.strokeStyle),A.push("lineWidth",h),A.push("lineCap",s.lineCap),A.push("lineJoin",s.lineJoin),A.push("miterLimit",s.miterLimit),(i.WORKER_OFFSCREEN_CANVAS?OffscreenCanvasRenderingContext2D:CanvasRenderingContext2D).prototype.setLineDash&&(A.push("setLineDash",[s.lineDash]),A.push("lineDashOffset",s.lineDashOffset)));o&&A.push("fillStyle",a.fillStyle),A.push("textBaseline","middle"),A.push("textAlign","center");var w,O=.5-p,I=p*_+O*h;if(r)for(w=0;w<m;++w)A.push("strokeText",[f[w],I+O*g[w],.5*(h+v)+w*v]);if(o)for(w=0;w<m;++w)A.push("fillText",[f[w],I+O*g[w],.5*(h+v)+w*v]);return this.labels_[n]=S,S},e.prototype.replayTextBackground_=function(e,t,o,r,n,i,s){e.beginPath(),e.moveTo.apply(e,t),e.lineTo.apply(e,o),e.lineTo.apply(e,r),e.lineTo.apply(e,n),e.lineTo.apply(e,t),i&&(this.alignFill_=i[2],this.fill_(e)),s&&(this.setStrokeStyle_(e,s),e.stroke())},e.prototype.calculateImageOrLabelDimensions_=function(e,t,o,r,n,i,l,u,c,d,p,v,_,b,A,C){var E,S=o-(l*=v[0]),w=r-(u*=v[1]),O=n+c>e?e-c:n,I=i+d>t?t-d:i,x=b[3]+O*v[0]+b[1],j=b[0]+I*v[1]+b[2],T=S-b[3],P=w-b[0];return(A||0!==p)&&(f[0]=T,y[0]=T,f[1]=P,m[1]=P,m[0]=T+x,g[0]=m[0],g[1]=P+j,y[1]=g[1]),0!==p?(E=Object(s.compose)(Object(s.create)(),o,r,1,1,p,-o,-r),Object(s.apply)(E,f),Object(s.apply)(E,m),Object(s.apply)(E,g),Object(s.apply)(E,y),Object(a.createOrUpdate)(Math.min(f[0],m[0],g[0],y[0]),Math.min(f[1],m[1],g[1],y[1]),Math.max(f[0],m[0],g[0],y[0]),Math.max(f[1],m[1],g[1],y[1]),h)):Object(a.createOrUpdate)(Math.min(T,T+x),Math.min(P,P+j),Math.max(T,T+x),Math.max(P,P+j),h),_&&(S=Math.round(S),w=Math.round(w)),{drawImageX:S,drawImageY:w,drawImageW:O,drawImageH:I,originX:c,originY:d,declutterBox:{minX:h[0],minY:h[1],maxX:h[2],maxY:h[3],value:C},canvasTransform:E,scale:v}},e.prototype.replayImageOrLabel_=function(e,t,o,r,n,i,s){var a=!(!i&&!s),u=r.declutterBox,c=e.canvas,d=s?s[2]*r.scale[0]/2:0;return u.minX-d<=c.width/t&&u.maxX+d>=0&&u.minY-d<=c.height/t&&u.maxY+d>=0&&(a&&this.replayTextBackground_(e,f,m,g,y,i,s),Object(l.drawImageOrLabel)(e,r.canvasTransform,n,o,r.originX,r.originY,r.drawImageW,r.drawImageH,r.drawImageX,r.drawImageY,r.scale)),!0},e.prototype.fill_=function(e){if(this.alignFill_){var t=Object(s.apply)(this.renderedTransform_,[0,0]),o=512*this.pixelRatio;e.save(),e.translate(t[0]%o,t[1]%o),e.rotate(this.viewRotation_)}e.fill(),this.alignFill_&&e.restore()},e.prototype.setStrokeStyle_=function(e,t){e.strokeStyle=t[1],e.lineWidth=t[2],e.lineCap=t[3],e.lineJoin=t[4],e.miterLimit=t[5],e.setLineDash&&(e.lineDashOffset=t[7],e.setLineDash(t[6]))},e.prototype.drawLabelWithPointPlacement_=function(e,t,o,r){var i=this.textStates[t],s=this.createLabel(e,t,r,o),a=this.strokeStates[o],u=this.pixelRatio,c=b(e,i.textAlign||l.defaultTextAlign),d=n.TEXT_ALIGN[i.textBaseline||l.defaultTextBaseline],p=a&&a.lineWidth?a.lineWidth:0;return{label:s,anchorX:c*(s.width/u-2*i.scale[0])+2*(.5-c)*p,anchorY:d*s.height/u+2*(.5-d)*p}},e.prototype.execute_=function(e,t,o,i,h,f,m,g){var y;this.pixelCoordinates_&&Object(c.equals)(o,this.renderedTransform_)?y=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),y=Object(p.transform2D)(this.coordinates,0,this.coordinates.length,2,o,this.pixelCoordinates_),Object(s.setFromArray)(this.renderedTransform_,o));for(var _,b,A,C,E,S,w,O,I,x,j,T,P,M,R,L,k=0,N=i.length,D=0,G=0,F=0,U=null,B=null,z=this.coordinateCache_,V=this.viewRotation_,W=Math.round(1e12*Math.atan2(-o[1],o[0]))/1e12,q={context:e,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:V},Y=this.instructions!=i||this.overlaps?0:200;k<N;){var H=i[k];switch(H[0]){case r.default.BEGIN_GEOMETRY:P=H[1],L=H[3],P.getGeometry()?void 0===m||Object(a.intersects)(m,L.getExtent())?++k:k=H[2]+1:k=H[2];break;case r.default.BEGIN_PATH:G>Y&&(this.fill_(e),G=0),F>Y&&(e.stroke(),F=0),G||F||(e.beginPath(),C=NaN,E=NaN),++k;break;case r.default.CIRCLE:var X=y[D=H[1]],Z=y[D+1],K=y[D+2]-X,J=y[D+3]-Z,Q=Math.sqrt(K*K+J*J);e.moveTo(X+Q,Z),e.arc(X,Z,Q,0,2*Math.PI,!0),++k;break;case r.default.CLOSE_PATH:e.closePath(),++k;break;case r.default.CUSTOM:D=H[1],_=H[2];var $=H[3],ee=H[4],te=6==H.length?H[5]:void 0;q.geometry=$,q.feature=P,k in z||(z[k]=[]);var oe=z[k];te?te(y,D,_,2,oe):(oe[0]=y[D],oe[1]=y[D+1],oe.length=2),ee(oe,q),++k;break;case r.default.DRAW_IMAGE:D=H[1],_=H[2],O=H[3],b=H[4],A=H[5];var re=H[6],ne=H[7],ie=H[8],se=H[9],ae=H[10],le=H[11],ue=H[12],ce=H[13],de=H[14];if(!O&&H.length>=19){I=H[18],x=H[19],j=H[20],T=H[21];var pe=this.drawLabelWithPointPlacement_(I,x,j,T);O=pe.label,H[3]=O;var he=H[22];b=(pe.anchorX-he)*this.pixelRatio,H[4]=b;var fe=H[23];A=(pe.anchorY-fe)*this.pixelRatio,H[5]=A,re=O.height,H[6]=re,ce=O.width,H[13]=ce}var me=void 0;H.length>24&&(me=H[24]);var ge=void 0,ye=void 0,ve=void 0;H.length>16?(ge=H[15],ye=H[16],ve=H[17]):(ge=l.defaultPadding,ye=!1,ve=!1),ae&&W?le+=V:ae||W||(le-=V);for(var _e=0;D<_;D+=2)if(!(me&&me[_e++]<ce/this.pixelRatio)){var be=[e,t,O,Xe=this.calculateImageOrLabelDimensions_(O.width,O.height,y[D],y[D+1],ce,re,b,A,ie,se,le,ue,h,ge,ye||ve,P),ne,ye?U:null,ve?B:null],Ae=void 0,Ce=void 0;if(g&&de){var Ee=_-D;if(!de[Ee]){de[Ee]=be;continue}if(Ae=de[Ee],delete de[Ee],Ce=v(Ae),g.collides(Ce))continue}g&&g.collides(Xe.declutterBox)||(Ae&&(g&&g.insert(Ce),this.replayImageOrLabel_.apply(this,Ae)),g&&g.insert(Xe.declutterBox),this.replayImageOrLabel_.apply(this,be))}++k;break;case r.default.DRAW_CHARS:var Se=H[1],we=H[2],Oe=H[3],Ie=H[4];T=H[5];var xe=H[6],je=H[7],Te=H[8];j=H[9];var Pe=H[10];I=H[11],x=H[12];var Me=[H[13],H[13]],Re=this.textStates[x],Le=Re.font,ke=[Re.scale[0]*je,Re.scale[1]*je],Ne=void 0;Le in this.widths_?Ne=this.widths_[Le]:(Ne={},this.widths_[Le]=Ne);var De=Object(d.lineStringLength)(y,Se,we,2),Ge=Math.abs(ke[0])*Object(l.measureAndCacheTextWidth)(Le,I,Ne);if(Ie||Ge<=De){var Fe=this.textStates[x].textAlign,Ue=(De-Ge)*n.TEXT_ALIGN[Fe],Be=Object(u.drawTextOnPath)(y,Se,we,2,I,Ue,xe,Math.abs(ke[0]),l.measureAndCacheTextWidth,Le,Ne,W?0:this.viewRotation_);e:if(Be){var ze=[],Ve=void 0,We=void 0,qe=void 0,Ye=void 0,He=void 0;if(j)for(Ve=0,We=Be.length;Ve<We;++Ve){qe=(He=Be[Ve])[4],Ye=this.createLabel(qe,x,"",j),b=He[2]+(ke[0]<0?-Pe:Pe),A=Oe*Ye.height+2*(.5-Oe)*Pe*ke[1]/ke[0]-Te;var Xe=this.calculateImageOrLabelDimensions_(Ye.width,Ye.height,He[0],He[1],Ye.width,Ye.height,b,A,0,0,He[3],Me,!1,l.defaultPadding,!1,P);if(g&&g.collides(Xe.declutterBox))break e;ze.push([e,t,Ye,Xe,1,null,null])}if(T)for(Ve=0,We=Be.length;Ve<We;++Ve){qe=(He=Be[Ve])[4],Ye=this.createLabel(qe,x,T,""),b=He[2],A=Oe*Ye.height-Te;Xe=this.calculateImageOrLabelDimensions_(Ye.width,Ye.height,He[0],He[1],Ye.width,Ye.height,b,A,0,0,He[3],Me,!1,l.defaultPadding,!1,P);if(g&&g.collides(Xe.declutterBox))break e;ze.push([e,t,Ye,Xe,1,null,null])}g&&g.load(ze.map(v));for(var Ze=0,Ke=ze.length;Ze<Ke;++Ze)this.replayImageOrLabel_.apply(this,ze[Ze])}}++k;break;case r.default.END_GEOMETRY:if(void 0!==f){var Je=f(P=H[1],L);if(Je)return Je}++k;break;case r.default.FILL:Y?G++:this.fill_(e),++k;break;case r.default.MOVE_TO_LINE_TO:for(D=H[1],_=H[2],M=y[D],w=(R=y[D+1])+.5|0,(S=M+.5|0)===C&&w===E||(e.moveTo(M,R),C=S,E=w),D+=2;D<_;D+=2)S=(M=y[D])+.5|0,w=(R=y[D+1])+.5|0,D!=_-2&&S===C&&w===E||(e.lineTo(M,R),C=S,E=w);++k;break;case r.default.SET_FILL_STYLE:U=H,this.alignFill_=H[2],G&&(this.fill_(e),G=0,F&&(e.stroke(),F=0)),e.fillStyle=H[1],++k;break;case r.default.SET_STROKE_STYLE:B=H,F&&(e.stroke(),F=0),this.setStrokeStyle_(e,H),++k;break;case r.default.STROKE:Y?F++:e.stroke(),++k;break;default:++k}}G&&this.fill_(e),F&&e.stroke()},e.prototype.execute=function(e,t,o,r,n,i){this.viewRotation_=r,this.execute_(e,t,o,this.instructions,n,void 0,void 0,i)},e.prototype.executeHitDetection=function(e,t,o,r,n){return this.viewRotation_=o,this.execute_(e,1,t,this.hitDetectionInstructions,!0,r,n)},e}();t.default=A},"./node_modules/ol/render/canvas/ExecutorGroup.js":function(e,t,o){"use strict";o.r(t),o.d(t,"getPixelIndexArray",(function(){return f}));var r=o("./node_modules/ol/render/canvas/BuilderType.js"),n=o("./node_modules/ol/render/canvas/Executor.js"),i=o("./node_modules/ol/extent.js"),s=o("./node_modules/ol/transform.js"),a=o("./node_modules/ol/dom.js"),l=o("./node_modules/ol/obj.js"),u=o("./node_modules/ol/array.js"),c=o("./node_modules/ol/geom/flat/transform.js"),d=[r.default.POLYGON,r.default.CIRCLE,r.default.LINE_STRING,r.default.IMAGE,r.default.TEXT,r.default.DEFAULT],p=function(){function e(e,t,o,r,n,i){this.maxExtent_=e,this.overlaps_=r,this.pixelRatio_=o,this.resolution_=t,this.renderBuffer_=i,this.executorsByZIndex_={},this.hitDetectionContext_=null,this.hitDetectionTransform_=Object(s.create)(),this.createExecutors_(n)}return e.prototype.clip=function(e,t){var o=this.getClipCoords(t);e.beginPath(),e.moveTo(o[0],o[1]),e.lineTo(o[2],o[3]),e.lineTo(o[4],o[5]),e.lineTo(o[6],o[7]),e.clip()},e.prototype.createExecutors_=function(e){for(var t in e){var o=this.executorsByZIndex_[t];void 0===o&&(o={},this.executorsByZIndex_[t]=o);var r=e[t];for(var i in r){var s=r[i];o[i]=new n.default(this.resolution_,this.pixelRatio_,this.overlaps_,s)}}},e.prototype.hasExecutors=function(e){for(var t in this.executorsByZIndex_)for(var o=this.executorsByZIndex_[t],r=0,n=e.length;r<n;++r)if(e[r]in o)return!0;return!1},e.prototype.forEachFeatureAtCoordinate=function(e,t,o,n,l,c){var p=2*(n=Math.round(n))+1,h=Object(s.compose)(this.hitDetectionTransform_,n+.5,n+.5,1/t,-1/t,-o,-e[0],-e[1]),m=!this.hitDetectionContext_;m&&(this.hitDetectionContext_=Object(a.createCanvasContext2D)(p,p));var g,y=this.hitDetectionContext_;y.canvas.width!==p||y.canvas.height!==p?(y.canvas.width=p,y.canvas.height=p):m||y.clearRect(0,0,p,p),void 0!==this.renderBuffer_&&(g=Object(i.createEmpty)(),Object(i.extendCoordinate)(g,e),Object(i.buffer)(g,t*(this.renderBuffer_+n),g));var v,_=f(n);function b(e,t){for(var o=y.getImageData(0,0,p,p).data,i=0,s=_.length;i<s;i++)if(o[_[i]]>0){if(!c||v!==r.default.IMAGE&&v!==r.default.TEXT||-1!==c.indexOf(e)){var a=(_[i]-3)/4,u=n-a%p,d=n-(a/p|0),h=l(e,t,u*u+d*d);if(h)return h}y.clearRect(0,0,p,p);break}}var A,C,E,S,w,O=Object.keys(this.executorsByZIndex_).map(Number);for(O.sort(u.numberSafeCompareFunction),A=O.length-1;A>=0;--A){var I=O[A].toString();for(E=this.executorsByZIndex_[I],C=d.length-1;C>=0;--C)if(void 0!==(S=E[v=d[C]])&&(w=S.executeHitDetection(y,h,o,b,g)))return w}},e.prototype.getClipCoords=function(e){var t=this.maxExtent_;if(!t)return null;var o=t[0],r=t[1],n=t[2],i=t[3],s=[o,r,o,i,n,i,n,r];return Object(c.transform2D)(s,0,8,2,e,s),s},e.prototype.isEmpty=function(){return Object(l.isEmpty)(this.executorsByZIndex_)},e.prototype.execute=function(e,t,o,r,n,i,s){var a=Object.keys(this.executorsByZIndex_).map(Number);a.sort(u.numberSafeCompareFunction),this.maxExtent_&&(e.save(),this.clip(e,o));var l,c,p,h,f,m,g=i||d;for(s&&a.reverse(),l=0,c=a.length;l<c;++l){var y=a[l].toString();for(f=this.executorsByZIndex_[y],p=0,h=g.length;p<h;++p){void 0!==(m=f[g[p]])&&m.execute(e,t,o,r,n,s)}}this.maxExtent_&&e.restore()},e}(),h={};function f(e){if(void 0!==h[e])return h[e];for(var t=2*e+1,o=e*e,r=new Array(o+1),n=0;n<=e;++n)for(var i=0;i<=e;++i){var s=n*n+i*i;if(s>o)break;var a=r[s];a||(a=[],r[s]=a),a.push(4*((e+n)*t+(e+i))+3),n>0&&a.push(4*((e-n)*t+(e+i))+3),i>0&&(a.push(4*((e+n)*t+(e-i))+3),n>0&&a.push(4*((e-n)*t+(e-i))+3))}for(var l=[],u=(n=0,r.length);n<u;++n)r[n]&&l.push.apply(l,r[n]);return h[e]=l,l}t.default=p},"./node_modules/ol/render/canvas/ImageBuilder.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/render/canvas/Builder.js"),i=o("./node_modules/ol/render/canvas/Instruction.js"),s=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=function(e){function t(t,o,r,n){var i=e.call(this,t,o,r,n)||this;return i.hitDetectionImage_=null,i.image_=null,i.imagePixelRatio_=void 0,i.anchorX_=void 0,i.anchorY_=void 0,i.height_=void 0,i.opacity_=void 0,i.originX_=void 0,i.originY_=void 0,i.rotateWithView_=void 0,i.rotation_=void 0,i.scale_=void 0,i.width_=void 0,i.declutterImageWithText_=void 0,i}return s(t,e),t.prototype.drawPoint=function(e,t){if(this.image_){this.beginGeometry(e,t);var o=e.getFlatCoordinates(),r=e.getStride(),n=this.coordinates.length,s=this.appendFlatPointCoordinates(o,r);this.instructions.push([i.default.DRAW_IMAGE,n,s,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterImageWithText_]),this.hitDetectionInstructions.push([i.default.DRAW_IMAGE,n,s,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterImageWithText_]),this.endGeometry(t)}},t.prototype.drawMultiPoint=function(e,t){if(this.image_){this.beginGeometry(e,t);var o=e.getFlatCoordinates(),r=e.getStride(),n=this.coordinates.length,s=this.appendFlatPointCoordinates(o,r);this.instructions.push([i.default.DRAW_IMAGE,n,s,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterImageWithText_]),this.hitDetectionInstructions.push([i.default.DRAW_IMAGE,n,s,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterImageWithText_]),this.endGeometry(t)}},t.prototype.finish=function(){return this.reverseHitDetectionInstructions(),this.anchorX_=void 0,this.anchorY_=void 0,this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.height_=void 0,this.scale_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.width_=void 0,e.prototype.finish.call(this)},t.prototype.setImageStyle=function(e,t){var o=e.getAnchor(),r=e.getSize(),n=e.getHitDetectionImage(),i=e.getImage(this.pixelRatio),s=e.getOrigin();this.imagePixelRatio_=e.getPixelRatio(this.pixelRatio),this.anchorX_=o[0],this.anchorY_=o[1],this.hitDetectionImage_=n,this.image_=i,this.height_=r[1],this.opacity_=e.getOpacity(),this.originX_=s[0]*this.imagePixelRatio_,this.originY_=s[1]*this.imagePixelRatio_,this.rotateWithView_=e.getRotateWithView(),this.rotation_=e.getRotation(),this.scale_=e.getScaleArray(),this.width_=r[0],this.declutterImageWithText_=t},t}(n.default);t.default=a},"./node_modules/ol/render/canvas/Immediate.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/geom/GeometryType.js"),i=o("./node_modules/ol/render/VectorContext.js"),s=o("./node_modules/ol/colorlike.js"),a=o("./node_modules/ol/transform.js"),l=o("./node_modules/ol/render/canvas.js"),u=o("./node_modules/ol/array.js"),c=o("./node_modules/ol/extent.js"),d=o("./node_modules/ol/geom/flat/transform.js"),p=o("./node_modules/ol/geom/SimpleGeometry.js"),h=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),f=function(e){function t(t,o,r,n,i,s,l){var u=e.call(this)||this;return u.context_=t,u.pixelRatio_=o,u.extent_=r,u.transform_=n,u.viewRotation_=i,u.squaredTolerance_=s,u.userTransform_=l,u.contextFillState_=null,u.contextStrokeState_=null,u.contextTextState_=null,u.fillState_=null,u.strokeState_=null,u.image_=null,u.imageAnchorX_=0,u.imageAnchorY_=0,u.imageHeight_=0,u.imageOpacity_=0,u.imageOriginX_=0,u.imageOriginY_=0,u.imageRotateWithView_=!1,u.imageRotation_=0,u.imageScale_=[0,0],u.imageWidth_=0,u.text_="",u.textOffsetX_=0,u.textOffsetY_=0,u.textRotateWithView_=!1,u.textRotation_=0,u.textScale_=[0,0],u.textFillState_=null,u.textStrokeState_=null,u.textState_=null,u.pixelCoordinates_=[],u.tmpLocalTransform_=Object(a.create)(),u}return h(t,e),t.prototype.drawImages_=function(e,t,o,r){if(this.image_){var n=Object(d.transform2D)(e,t,o,r,this.transform_,this.pixelCoordinates_),i=this.context_,s=this.tmpLocalTransform_,l=i.globalAlpha;1!=this.imageOpacity_&&(i.globalAlpha=l*this.imageOpacity_);var u=this.imageRotation_;this.imageRotateWithView_&&(u+=this.viewRotation_);for(var c=0,p=n.length;c<p;c+=2){var h=n[c]-this.imageAnchorX_,f=n[c+1]-this.imageAnchorY_;if(0!==u||1!=this.imageScale_[0]||1!=this.imageScale_[1]){var m=h+this.imageAnchorX_,g=f+this.imageAnchorY_;Object(a.compose)(s,m,g,1,1,u,-m,-g),i.setTransform.apply(i,s),i.translate(m,g),i.scale(this.imageScale_[0],this.imageScale_[1]),i.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,-this.imageAnchorX_,-this.imageAnchorY_,this.imageWidth_,this.imageHeight_),i.setTransform(1,0,0,1,0,0)}else i.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,h,f,this.imageWidth_,this.imageHeight_)}1!=this.imageOpacity_&&(i.globalAlpha=l)}},t.prototype.drawText_=function(e,t,o,r){if(this.textState_&&""!==this.text_){this.textFillState_&&this.setContextFillState_(this.textFillState_),this.textStrokeState_&&this.setContextStrokeState_(this.textStrokeState_),this.setContextTextState_(this.textState_);var n=Object(d.transform2D)(e,t,o,r,this.transform_,this.pixelCoordinates_),i=this.context_,s=this.textRotation_;for(this.textRotateWithView_&&(s+=this.viewRotation_);t<o;t+=r){var l=n[t]+this.textOffsetX_,u=n[t+1]+this.textOffsetY_;if(0!==s||1!=this.textScale_[0]||1!=this.textScale_[1]){var c=Object(a.compose)(this.tmpLocalTransform_,l,u,1,1,s,-l,-u);i.setTransform.apply(i,c),i.translate(l,u),i.scale(this.textScale_[0],this.textScale_[1]),this.textStrokeState_&&i.strokeText(this.text_,0,0),this.textFillState_&&i.fillText(this.text_,0,0),i.setTransform(1,0,0,1,0,0)}else this.textStrokeState_&&i.strokeText(this.text_,l,u),this.textFillState_&&i.fillText(this.text_,l,u)}}},t.prototype.moveToLineTo_=function(e,t,o,r,n){var i=this.context_,s=Object(d.transform2D)(e,t,o,r,this.transform_,this.pixelCoordinates_);i.moveTo(s[0],s[1]);var a=s.length;n&&(a-=2);for(var l=2;l<a;l+=2)i.lineTo(s[l],s[l+1]);return n&&i.closePath(),o},t.prototype.drawRings_=function(e,t,o,r){for(var n=0,i=o.length;n<i;++n)t=this.moveToLineTo_(e,t,o[n],r,!0);return t},t.prototype.drawCircle=function(e){if(Object(c.intersects)(this.extent_,e.getExtent())){if(this.fillState_||this.strokeState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);var t=Object(p.transformGeom2D)(e,this.transform_,this.pixelCoordinates_),o=t[2]-t[0],r=t[3]-t[1],n=Math.sqrt(o*o+r*r),i=this.context_;i.beginPath(),i.arc(t[0],t[1],n,0,2*Math.PI),this.fillState_&&i.fill(),this.strokeState_&&i.stroke()}""!==this.text_&&this.drawText_(e.getCenter(),0,2,2)}},t.prototype.setStyle=function(e){this.setFillStrokeStyle(e.getFill(),e.getStroke()),this.setImageStyle(e.getImage()),this.setTextStyle(e.getText())},t.prototype.setTransform=function(e){this.transform_=e},t.prototype.drawGeometry=function(e){switch(e.getType()){case n.default.POINT:this.drawPoint(e);break;case n.default.LINE_STRING:this.drawLineString(e);break;case n.default.POLYGON:this.drawPolygon(e);break;case n.default.MULTI_POINT:this.drawMultiPoint(e);break;case n.default.MULTI_LINE_STRING:this.drawMultiLineString(e);break;case n.default.MULTI_POLYGON:this.drawMultiPolygon(e);break;case n.default.GEOMETRY_COLLECTION:this.drawGeometryCollection(e);break;case n.default.CIRCLE:this.drawCircle(e)}},t.prototype.drawFeature=function(e,t){var o=t.getGeometryFunction()(e);o&&Object(c.intersects)(this.extent_,o.getExtent())&&(this.setStyle(t),this.drawGeometry(o))},t.prototype.drawGeometryCollection=function(e){for(var t=e.getGeometriesArray(),o=0,r=t.length;o<r;++o)this.drawGeometry(t[o])},t.prototype.drawPoint=function(e){this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_));var t=e.getFlatCoordinates(),o=e.getStride();this.image_&&this.drawImages_(t,0,t.length,o),""!==this.text_&&this.drawText_(t,0,t.length,o)},t.prototype.drawMultiPoint=function(e){this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_));var t=e.getFlatCoordinates(),o=e.getStride();this.image_&&this.drawImages_(t,0,t.length,o),""!==this.text_&&this.drawText_(t,0,t.length,o)},t.prototype.drawLineString=function(e){if(this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),Object(c.intersects)(this.extent_,e.getExtent())){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);var t=this.context_,o=e.getFlatCoordinates();t.beginPath(),this.moveToLineTo_(o,0,o.length,e.getStride(),!1),t.stroke()}if(""!==this.text_){var r=e.getFlatMidpoint();this.drawText_(r,0,2,2)}}},t.prototype.drawMultiLineString=function(e){this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_));var t=e.getExtent();if(Object(c.intersects)(this.extent_,t)){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);var o=this.context_,r=e.getFlatCoordinates(),n=0,i=e.getEnds(),s=e.getStride();o.beginPath();for(var a=0,l=i.length;a<l;++a)n=this.moveToLineTo_(r,n,i[a],s,!1);o.stroke()}if(""!==this.text_){var u=e.getFlatMidpoints();this.drawText_(u,0,u.length,2)}}},t.prototype.drawPolygon=function(e){if(this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),Object(c.intersects)(this.extent_,e.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);var t=this.context_;t.beginPath(),this.drawRings_(e.getOrientedFlatCoordinates(),0,e.getEnds(),e.getStride()),this.fillState_&&t.fill(),this.strokeState_&&t.stroke()}if(""!==this.text_){var o=e.getFlatInteriorPoint();this.drawText_(o,0,2,2)}}},t.prototype.drawMultiPolygon=function(e){if(this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),Object(c.intersects)(this.extent_,e.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);var t=this.context_,o=e.getOrientedFlatCoordinates(),r=0,n=e.getEndss(),i=e.getStride();t.beginPath();for(var s=0,a=n.length;s<a;++s){var l=n[s];r=this.drawRings_(o,r,l,i)}this.fillState_&&t.fill(),this.strokeState_&&t.stroke()}if(""!==this.text_){var u=e.getFlatInteriorPoints();this.drawText_(u,0,u.length,2)}}},t.prototype.setContextFillState_=function(e){var t=this.context_,o=this.contextFillState_;o?o.fillStyle!=e.fillStyle&&(o.fillStyle=e.fillStyle,t.fillStyle=e.fillStyle):(t.fillStyle=e.fillStyle,this.contextFillState_={fillStyle:e.fillStyle})},t.prototype.setContextStrokeState_=function(e){var t=this.context_,o=this.contextStrokeState_;o?(o.lineCap!=e.lineCap&&(o.lineCap=e.lineCap,t.lineCap=e.lineCap),t.setLineDash&&(Object(u.equals)(o.lineDash,e.lineDash)||t.setLineDash(o.lineDash=e.lineDash),o.lineDashOffset!=e.lineDashOffset&&(o.lineDashOffset=e.lineDashOffset,t.lineDashOffset=e.lineDashOffset)),o.lineJoin!=e.lineJoin&&(o.lineJoin=e.lineJoin,t.lineJoin=e.lineJoin),o.lineWidth!=e.lineWidth&&(o.lineWidth=e.lineWidth,t.lineWidth=e.lineWidth),o.miterLimit!=e.miterLimit&&(o.miterLimit=e.miterLimit,t.miterLimit=e.miterLimit),o.strokeStyle!=e.strokeStyle&&(o.strokeStyle=e.strokeStyle,t.strokeStyle=e.strokeStyle)):(t.lineCap=e.lineCap,t.setLineDash&&(t.setLineDash(e.lineDash),t.lineDashOffset=e.lineDashOffset),t.lineJoin=e.lineJoin,t.lineWidth=e.lineWidth,t.miterLimit=e.miterLimit,t.strokeStyle=e.strokeStyle,this.contextStrokeState_={lineCap:e.lineCap,lineDash:e.lineDash,lineDashOffset:e.lineDashOffset,lineJoin:e.lineJoin,lineWidth:e.lineWidth,miterLimit:e.miterLimit,strokeStyle:e.strokeStyle})},t.prototype.setContextTextState_=function(e){var t=this.context_,o=this.contextTextState_,r=e.textAlign?e.textAlign:l.defaultTextAlign;o?(o.font!=e.font&&(o.font=e.font,t.font=e.font),o.textAlign!=r&&(o.textAlign=r,t.textAlign=r),o.textBaseline!=e.textBaseline&&(o.textBaseline=e.textBaseline,t.textBaseline=e.textBaseline)):(t.font=e.font,t.textAlign=r,t.textBaseline=e.textBaseline,this.contextTextState_={font:e.font,textAlign:r,textBaseline:e.textBaseline})},t.prototype.setFillStrokeStyle=function(e,t){var o=this;if(e){var r=e.getColor();this.fillState_={fillStyle:Object(s.asColorLike)(r||l.defaultFillStyle)}}else this.fillState_=null;if(t){var n=t.getColor(),i=t.getLineCap(),a=t.getLineDash(),u=t.getLineDashOffset(),c=t.getLineJoin(),d=t.getWidth(),p=t.getMiterLimit(),h=a||l.defaultLineDash;this.strokeState_={lineCap:void 0!==i?i:l.defaultLineCap,lineDash:1===this.pixelRatio_?h:h.map((function(e){return e*o.pixelRatio_})),lineDashOffset:(u||l.defaultLineDashOffset)*this.pixelRatio_,lineJoin:void 0!==c?c:l.defaultLineJoin,lineWidth:(void 0!==d?d:l.defaultLineWidth)*this.pixelRatio_,miterLimit:void 0!==p?p:l.defaultMiterLimit,strokeStyle:Object(s.asColorLike)(n||l.defaultStrokeStyle)}}else this.strokeState_=null},t.prototype.setImageStyle=function(e){var t;if(e&&(t=e.getSize())){var o=e.getAnchor(),r=e.getOrigin();this.image_=e.getImage(this.pixelRatio_),this.imageAnchorX_=o[0]*this.pixelRatio_,this.imageAnchorY_=o[1]*this.pixelRatio_,this.imageHeight_=t[1]*this.pixelRatio_,this.imageOpacity_=e.getOpacity(),this.imageOriginX_=r[0],this.imageOriginY_=r[1],this.imageRotateWithView_=e.getRotateWithView(),this.imageRotation_=e.getRotation(),this.imageScale_=e.getScaleArray(),this.imageWidth_=t[0]*this.pixelRatio_}else this.image_=null},t.prototype.setTextStyle=function(e){if(e){var t=e.getFill();if(t){var o=t.getColor();this.textFillState_={fillStyle:Object(s.asColorLike)(o||l.defaultFillStyle)}}else this.textFillState_=null;var r=e.getStroke();if(r){var n=r.getColor(),i=r.getLineCap(),a=r.getLineDash(),u=r.getLineDashOffset(),c=r.getLineJoin(),d=r.getWidth(),p=r.getMiterLimit();this.textStrokeState_={lineCap:void 0!==i?i:l.defaultLineCap,lineDash:a||l.defaultLineDash,lineDashOffset:u||l.defaultLineDashOffset,lineJoin:void 0!==c?c:l.defaultLineJoin,lineWidth:void 0!==d?d:l.defaultLineWidth,miterLimit:void 0!==p?p:l.defaultMiterLimit,strokeStyle:Object(s.asColorLike)(n||l.defaultStrokeStyle)}}else this.textStrokeState_=null;var h=e.getFont(),f=e.getOffsetX(),m=e.getOffsetY(),g=e.getRotateWithView(),y=e.getRotation(),v=e.getScaleArray(),_=e.getText(),b=e.getTextAlign(),A=e.getTextBaseline();this.textState_={font:void 0!==h?h:l.defaultFont,textAlign:void 0!==b?b:l.defaultTextAlign,textBaseline:void 0!==A?A:l.defaultTextBaseline},this.text_=void 0!==_?_:"",this.textOffsetX_=void 0!==f?this.pixelRatio_*f:0,this.textOffsetY_=void 0!==m?this.pixelRatio_*m:0,this.textRotateWithView_=void 0!==g&&g,this.textRotation_=void 0!==y?y:0,this.textScale_=[this.pixelRatio_*v[0],this.pixelRatio_*v[1]]}else this.text_=""},t}(i.default);t.default=f},"./node_modules/ol/render/canvas/Instruction.js":function(e,t,o){"use strict";o.r(t),o.d(t,"fillInstruction",(function(){return n})),o.d(t,"strokeInstruction",(function(){return i})),o.d(t,"beginPathInstruction",(function(){return s})),o.d(t,"closePathInstruction",(function(){return a}));var r={BEGIN_GEOMETRY:0,BEGIN_PATH:1,CIRCLE:2,CLOSE_PATH:3,CUSTOM:4,DRAW_CHARS:5,DRAW_IMAGE:6,END_GEOMETRY:7,FILL:8,MOVE_TO_LINE_TO:9,SET_FILL_STYLE:10,SET_STROKE_STYLE:11,STROKE:12},n=[r.FILL],i=[r.STROKE],s=[r.BEGIN_PATH],a=[r.CLOSE_PATH];t.default=r},"./node_modules/ol/render/canvas/LineStringBuilder.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/render/canvas/Builder.js"),i=o("./node_modules/ol/render/canvas/Instruction.js"),s=o("./node_modules/ol/render/canvas.js"),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=function(e){function t(t,o,r,n){return e.call(this,t,o,r,n)||this}return a(t,e),t.prototype.drawFlatCoordinates_=function(e,t,o,r){var n=this.coordinates.length,s=this.appendFlatLineCoordinates(e,t,o,r,!1,!1),a=[i.default.MOVE_TO_LINE_TO,n,s];return this.instructions.push(a),this.hitDetectionInstructions.push(a),o},t.prototype.drawLineString=function(e,t){var o=this.state,r=o.strokeStyle,n=o.lineWidth;if(void 0!==r&&void 0!==n){this.updateStrokeStyle(o,this.applyStroke),this.beginGeometry(e,t),this.hitDetectionInstructions.push([i.default.SET_STROKE_STYLE,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,s.defaultLineDash,s.defaultLineDashOffset],i.beginPathInstruction);var a=e.getFlatCoordinates(),l=e.getStride();this.drawFlatCoordinates_(a,0,a.length,l),this.hitDetectionInstructions.push(i.strokeInstruction),this.endGeometry(t)}},t.prototype.drawMultiLineString=function(e,t){var o=this.state,r=o.strokeStyle,n=o.lineWidth;if(void 0!==r&&void 0!==n){this.updateStrokeStyle(o,this.applyStroke),this.beginGeometry(e,t),this.hitDetectionInstructions.push([i.default.SET_STROKE_STYLE,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset],i.beginPathInstruction);for(var s=e.getEnds(),a=e.getFlatCoordinates(),l=e.getStride(),u=0,c=0,d=s.length;c<d;++c)u=this.drawFlatCoordinates_(a,u,s[c],l);this.hitDetectionInstructions.push(i.strokeInstruction),this.endGeometry(t)}},t.prototype.finish=function(){var t=this.state;return null!=t.lastStroke&&t.lastStroke!=this.coordinates.length&&this.instructions.push(i.strokeInstruction),this.reverseHitDetectionInstructions(),this.state=null,e.prototype.finish.call(this)},t.prototype.applyStroke=function(t){null!=t.lastStroke&&t.lastStroke!=this.coordinates.length&&(this.instructions.push(i.strokeInstruction),t.lastStroke=this.coordinates.length),t.lastStroke=0,e.prototype.applyStroke.call(this,t),this.instructions.push(i.beginPathInstruction)},t}(n.default);t.default=l},"./node_modules/ol/render/canvas/PolygonBuilder.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/render/canvas/Builder.js"),i=o("./node_modules/ol/render/canvas/Instruction.js"),s=o("./node_modules/ol/render/canvas.js"),a=o("./node_modules/ol/geom/flat/simplify.js"),l=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),u=function(e){function t(t,o,r,n){return e.call(this,t,o,r,n)||this}return l(t,e),t.prototype.drawFlatCoordinatess_=function(e,t,o,r){var n=this.state,s=void 0!==n.fillStyle,a=void 0!==n.strokeStyle,l=o.length;this.instructions.push(i.beginPathInstruction),this.hitDetectionInstructions.push(i.beginPathInstruction);for(var u=0;u<l;++u){var c=o[u],d=this.coordinates.length,p=this.appendFlatLineCoordinates(e,t,c,r,!0,!a),h=[i.default.MOVE_TO_LINE_TO,d,p];this.instructions.push(h),this.hitDetectionInstructions.push(h),a&&(this.instructions.push(i.closePathInstruction),this.hitDetectionInstructions.push(i.closePathInstruction)),t=c}return s&&(this.instructions.push(i.fillInstruction),this.hitDetectionInstructions.push(i.fillInstruction)),a&&(this.instructions.push(i.strokeInstruction),this.hitDetectionInstructions.push(i.strokeInstruction)),t},t.prototype.drawCircle=function(e,t){var o=this.state,r=o.fillStyle,n=o.strokeStyle;if(void 0!==r||void 0!==n){this.setFillStrokeStyles_(),this.beginGeometry(e,t),void 0!==o.fillStyle&&this.hitDetectionInstructions.push([i.default.SET_FILL_STYLE,s.defaultFillStyle]),void 0!==o.strokeStyle&&this.hitDetectionInstructions.push([i.default.SET_STROKE_STYLE,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset]);var a=e.getFlatCoordinates(),l=e.getStride(),u=this.coordinates.length;this.appendFlatLineCoordinates(a,0,a.length,l,!1,!1);var c=[i.default.CIRCLE,u];this.instructions.push(i.beginPathInstruction,c),this.hitDetectionInstructions.push(i.beginPathInstruction,c),void 0!==o.fillStyle&&(this.instructions.push(i.fillInstruction),this.hitDetectionInstructions.push(i.fillInstruction)),void 0!==o.strokeStyle&&(this.instructions.push(i.strokeInstruction),this.hitDetectionInstructions.push(i.strokeInstruction)),this.endGeometry(t)}},t.prototype.drawPolygon=function(e,t){var o=this.state,r=o.fillStyle,n=o.strokeStyle;if(void 0!==r||void 0!==n){this.setFillStrokeStyles_(),this.beginGeometry(e,t),void 0!==o.fillStyle&&this.hitDetectionInstructions.push([i.default.SET_FILL_STYLE,s.defaultFillStyle]),void 0!==o.strokeStyle&&this.hitDetectionInstructions.push([i.default.SET_STROKE_STYLE,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset]);var a=e.getEnds(),l=e.getOrientedFlatCoordinates(),u=e.getStride();this.drawFlatCoordinatess_(l,0,a,u),this.endGeometry(t)}},t.prototype.drawMultiPolygon=function(e,t){var o=this.state,r=o.fillStyle,n=o.strokeStyle;if(void 0!==r||void 0!==n){this.setFillStrokeStyles_(),this.beginGeometry(e,t),void 0!==o.fillStyle&&this.hitDetectionInstructions.push([i.default.SET_FILL_STYLE,s.defaultFillStyle]),void 0!==o.strokeStyle&&this.hitDetectionInstructions.push([i.default.SET_STROKE_STYLE,o.strokeStyle,o.lineWidth,o.lineCap,o.lineJoin,o.miterLimit,o.lineDash,o.lineDashOffset]);for(var a=e.getEndss(),l=e.getOrientedFlatCoordinates(),u=e.getStride(),c=0,d=0,p=a.length;d<p;++d)c=this.drawFlatCoordinatess_(l,c,a[d],u);this.endGeometry(t)}},t.prototype.finish=function(){this.reverseHitDetectionInstructions(),this.state=null;var t=this.tolerance;if(0!==t)for(var o=this.coordinates,r=0,n=o.length;r<n;++r)o[r]=Object(a.snap)(o[r],t);return e.prototype.finish.call(this)},t.prototype.setFillStrokeStyles_=function(){var e=this.state;void 0!==e.fillStyle&&this.updateFillStyle(e,this.createFill),void 0!==e.strokeStyle&&this.updateStrokeStyle(e,this.applyStroke)},t}(n.default);t.default=u},"./node_modules/ol/render/canvas/TextBuilder.js":function(e,t,o){"use strict";o.r(t),o.d(t,"TEXT_ALIGN",(function(){return f}));var r,n=o("./node_modules/ol/render/canvas/Builder.js"),i=o("./node_modules/ol/render/canvas/Instruction.js"),s=o("./node_modules/ol/geom/GeometryType.js"),a=o("./node_modules/ol/style/TextPlacement.js"),l=o("./node_modules/ol/colorlike.js"),u=o("./node_modules/ol/render/canvas.js"),c=o("./node_modules/ol/util.js"),d=o("./node_modules/ol/extent.js"),p=o("./node_modules/ol/geom/flat/straightchunk.js"),h=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),f={left:0,end:0,center:.5,right:1,start:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1},m=function(e){function t(t,o,r,n){var i=e.call(this,t,o,r,n)||this;return i.labels_=null,i.text_="",i.textOffsetX_=0,i.textOffsetY_=0,i.textRotateWithView_=void 0,i.textRotation_=0,i.textFillState_=null,i.fillStates={},i.textStrokeState_=null,i.strokeStates={},i.textState_={},i.textStates={},i.textKey_="",i.fillKey_="",i.strokeKey_="",i.declutterImageWithText_=void 0,i}return h(t,e),t.prototype.finish=function(){var t=e.prototype.finish.call(this);return t.textStates=this.textStates,t.fillStates=this.fillStates,t.strokeStates=this.strokeStates,t},t.prototype.drawText=function(e,t){var o=this.textFillState_,r=this.textStrokeState_,n=this.textState_;if(""!==this.text_&&n&&(o||r)){var l=this.coordinates,c=l.length,h=e.getType(),f=null,m=e.getStride();if(n.placement!==a.default.LINE||h!=s.default.LINE_STRING&&h!=s.default.MULTI_LINE_STRING&&h!=s.default.POLYGON&&h!=s.default.MULTI_POLYGON){var g=n.overflow?null:[];switch(h){case s.default.POINT:case s.default.MULTI_POINT:f=e.getFlatCoordinates();break;case s.default.LINE_STRING:f=e.getFlatMidpoint();break;case s.default.CIRCLE:f=e.getCenter();break;case s.default.MULTI_LINE_STRING:f=e.getFlatMidpoints(),m=2;break;case s.default.POLYGON:f=e.getFlatInteriorPoint(),n.overflow||g.push(f[2]/this.resolution),m=3;break;case s.default.MULTI_POLYGON:var y=e.getFlatInteriorPoints();f=[];for(x=0,j=y.length;x<j;x+=3)n.overflow||g.push(y[x+2]/this.resolution),f.push(y[x],y[x+1]);if(0===f.length)return;m=2}if((N=this.appendFlatPointCoordinates(f,m))===c)return;if(g&&(N-c)/2!=f.length/m){var v=c/2;g=g.filter((function(e,t){var o=l[2*(v+t)]===f[t*m]&&l[2*(v+t)+1]===f[t*m+1];return o||--v,o}))}this.saveTextStates_(),(n.backgroundFill||n.backgroundStroke)&&(this.setFillStrokeStyle(n.backgroundFill,n.backgroundStroke),n.backgroundFill&&(this.updateFillStyle(this.state,this.createFill),this.hitDetectionInstructions.push(this.createFill(this.state))),n.backgroundStroke&&(this.updateStrokeStyle(this.state,this.applyStroke),this.hitDetectionInstructions.push(this.createStroke(this.state)))),this.beginGeometry(e,t);var _=n.padding;if(_!=u.defaultPadding&&(n.scale[0]<0||n.scale[1]<0)){var b=n.padding[0],A=n.padding[1],C=n.padding[2],E=n.padding[3];n.scale[0]<0&&(A=-A,E=-E),n.scale[1]<0&&(b=-b,C=-C),_=[b,A,C,E]}var S=this.pixelRatio;this.instructions.push([i.default.DRAW_IMAGE,c,N,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[1,1],NaN,this.declutterImageWithText_,_==u.defaultPadding?u.defaultPadding:_.map((function(e){return e*S})),!!n.backgroundFill,!!n.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,g]);var w=1/S;this.hitDetectionInstructions.push([i.default.DRAW_IMAGE,c,N,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[w,w],NaN,this.declutterImageWithText_,_,!!n.backgroundFill,!!n.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,g]),this.endGeometry(t)}else{if(!Object(d.intersects)(this.getBufferedMaxExtent(),e.getExtent()))return;var O=void 0;if(f=e.getFlatCoordinates(),h==s.default.LINE_STRING)O=[f.length];else if(h==s.default.MULTI_LINE_STRING)O=e.getEnds();else if(h==s.default.POLYGON)O=e.getEnds().slice(0,1);else if(h==s.default.MULTI_POLYGON){var I=e.getEndss();O=[];for(var x=0,j=I.length;x<j;++x)O.push(I[x][0])}this.beginGeometry(e,t);for(var T=n.textAlign,P=0,M=void 0,R=0,L=O.length;R<L;++R){if(null==T){var k=Object(p.matchingChunk)(n.maxAngle,f,P,O[R],m);P=k[0],M=k[1]}else M=O[R];for(var x=P;x<M;x+=m)l.push(f[x],f[x+1]);var N=l.length;P=O[R],this.drawChars_(c,N),c=N}this.endGeometry(t)}}},t.prototype.saveTextStates_=function(){var e=this.textStrokeState_,t=this.textState_,o=this.textFillState_,r=this.strokeKey_;e&&(r in this.strokeStates||(this.strokeStates[r]={strokeStyle:e.strokeStyle,lineCap:e.lineCap,lineDashOffset:e.lineDashOffset,lineWidth:e.lineWidth,lineJoin:e.lineJoin,miterLimit:e.miterLimit,lineDash:e.lineDash}));var n=this.textKey_;n in this.textStates||(this.textStates[n]={font:t.font,textAlign:t.textAlign||u.defaultTextAlign,textBaseline:t.textBaseline||u.defaultTextBaseline,scale:t.scale});var i=this.fillKey_;o&&(i in this.fillStates||(this.fillStates[i]={fillStyle:o.fillStyle}))},t.prototype.drawChars_=function(e,t){var o=this.textStrokeState_,r=this.textState_,n=this.strokeKey_,s=this.textKey_,a=this.fillKey_;this.saveTextStates_();var l=this.pixelRatio,u=f[r.textBaseline],c=this.textOffsetY_*l,d=this.text_,p=o?o.lineWidth*Math.abs(r.scale[0])/2:0;this.instructions.push([i.default.DRAW_CHARS,e,t,u,r.overflow,a,r.maxAngle,l,c,n,p*l,d,s,1]),this.hitDetectionInstructions.push([i.default.DRAW_CHARS,e,t,u,r.overflow,a,r.maxAngle,1,c,n,p,d,s,1/l])},t.prototype.setTextStyle=function(e,t){var o,r,n;if(e){var i=e.getFill();i?((r=this.textFillState_)||(r={},this.textFillState_=r),r.fillStyle=Object(l.asColorLike)(i.getColor()||u.defaultFillStyle)):(r=null,this.textFillState_=r);var s=e.getStroke();if(s){(n=this.textStrokeState_)||(n={},this.textStrokeState_=n);var a=s.getLineDash(),d=s.getLineDashOffset(),p=s.getWidth(),h=s.getMiterLimit();n.lineCap=s.getLineCap()||u.defaultLineCap,n.lineDash=a?a.slice():u.defaultLineDash,n.lineDashOffset=void 0===d?u.defaultLineDashOffset:d,n.lineJoin=s.getLineJoin()||u.defaultLineJoin,n.lineWidth=void 0===p?u.defaultLineWidth:p,n.miterLimit=void 0===h?u.defaultMiterLimit:h,n.strokeStyle=Object(l.asColorLike)(s.getColor()||u.defaultStrokeStyle)}else n=null,this.textStrokeState_=n;o=this.textState_;var f=e.getFont()||u.defaultFont;Object(u.registerFont)(f);var m=e.getScaleArray();o.overflow=e.getOverflow(),o.font=f,o.maxAngle=e.getMaxAngle(),o.placement=e.getPlacement(),o.textAlign=e.getTextAlign(),o.textBaseline=e.getTextBaseline()||u.defaultTextBaseline,o.backgroundFill=e.getBackgroundFill(),o.backgroundStroke=e.getBackgroundStroke(),o.padding=e.getPadding()||u.defaultPadding,o.scale=void 0===m?[1,1]:m;var g=e.getOffsetX(),y=e.getOffsetY(),v=e.getRotateWithView(),_=e.getRotation();this.text_=e.getText()||"",this.textOffsetX_=void 0===g?0:g,this.textOffsetY_=void 0===y?0:y,this.textRotateWithView_=void 0!==v&&v,this.textRotation_=void 0===_?0:_,this.strokeKey_=n?("string"==typeof n.strokeStyle?n.strokeStyle:Object(c.getUid)(n.strokeStyle))+n.lineCap+n.lineDashOffset+"|"+n.lineWidth+n.lineJoin+n.miterLimit+"["+n.lineDash.join()+"]":"",this.textKey_=o.font+o.scale+(o.textAlign||"?")+(o.textBaseline||"?"),this.fillKey_=r?"string"==typeof r.fillStyle?r.fillStyle:"|"+Object(c.getUid)(r.fillStyle):""}else this.text_="";this.declutterImageWithText_=t},t}(n.default);t.default=m},"./node_modules/ol/render/canvas/hitdetect.js":function(e,t,o){"use strict";o.r(t),o.d(t,"HIT_DETECT_RESOLUTION",(function(){return d})),o.d(t,"createHitDetectionImageData",(function(){return p})),o.d(t,"hitDetect",(function(){return h}));var r=o("./node_modules/ol/render/canvas/Immediate.js"),n=o("./node_modules/ol/geom/GeometryType.js"),i=o("./node_modules/ol/style/IconAnchorUnits.js"),s=o("./node_modules/ol/style.js"),a=o("./node_modules/ol/math.js"),l=o("./node_modules/ol/dom.js"),u=o("./node_modules/ol/extent.js"),c=o("./node_modules/ol/array.js"),d=.5;function p(e,t,o,a,p,h,f){var m=e[0]*d,g=e[1]*d,y=Object(l.createCanvasContext2D)(m,g);y.imageSmoothingEnabled=!1;for(var v=y.canvas,_=new r.default(y,d,p,null,f),b=o.length,A=Math.floor(16777215/b),C={},E=1;E<=b;++E){var S=o[E-1],w=S.getStyleFunction()||a;if(a){var O=w(S,h);if(O){Array.isArray(O)||(O=[O]);for(var I="#"+("000000"+(E*A).toString(16)).slice(-6),x=0,j=O.length;x<j;++x){var T=O[x],P=T.getGeometryFunction()(S);if(P&&Object(u.intersects)(p,P.getExtent())){var M=T.clone(),R=M.getFill();R&&R.setColor(I);var L=M.getStroke();L&&(L.setColor(I),L.setLineDash(null)),M.setText(void 0);var k=T.getImage();if(k&&0!==k.getOpacity()){var N=k.getImageSize();if(!N)continue;var D=Object(l.createCanvasContext2D)(N[0],N[1],void 0,{alpha:!1}),G=D.canvas;D.fillStyle=I,D.fillRect(0,0,G.width,G.height),M.setImage(new s.Icon({img:G,imgSize:N,anchor:k.getAnchor(),anchorXUnits:i.default.PIXELS,anchorYUnits:i.default.PIXELS,offset:k.getOrigin(),opacity:1,size:k.getSize(),scale:k.getScale(),rotation:k.getRotation(),rotateWithView:k.getRotateWithView()}))}var F=M.getZIndex()||0;(z=C[F])||(z={},C[F]=z,z[n.default.POLYGON]=[],z[n.default.CIRCLE]=[],z[n.default.LINE_STRING]=[],z[n.default.POINT]=[]),z[P.getType().replace("Multi","")].push(P,M)}}}}}for(var U=Object.keys(C).map(Number).sort(c.numberSafeCompareFunction),B=(E=0,U.length);E<B;++E){var z=C[U[E]];for(var V in z){var W=z[V];for(x=0,j=W.length;x<j;x+=2){_.setStyle(W[x+1]);for(var q=0,Y=t.length;q<Y;++q)_.setTransform(t[q]),_.drawGeometry(W[x])}}}return y.getImageData(0,0,v.width,v.height)}function h(e,t,o){var r=[];if(o){var n=Math.floor(Math.round(e[0])*d),i=Math.floor(Math.round(e[1])*d),s=4*(Object(a.clamp)(n,0,o.width-1)+Object(a.clamp)(i,0,o.height-1)*o.width),l=o.data[s],u=o.data[s+1],c=o.data[s+2]+256*(u+256*l),p=Math.floor(16777215/t.length);c&&c%p==0&&r.push(t[c/p-1])}return r}},"./node_modules/ol/renderer/Composite.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/renderer/Map.js"),i=o("./node_modules/ol/ObjectEventType.js"),s=o("./node_modules/ol/render/Event.js"),a=o("./node_modules/ol/render/EventType.js"),l=o("./node_modules/ol/source/State.js"),u=o("./node_modules/ol/css.js"),c=o("./node_modules/ol/render/canvas.js"),d=o("./node_modules/ol/layer/Layer.js"),p=o("./node_modules/ol/events.js"),h=o("./node_modules/ol/dom.js"),f=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),m=function(e){function t(t){var o=e.call(this,t)||this;o.fontChangeListenerKey_=Object(p.listen)(c.checkedFonts,i.default.PROPERTYCHANGE,t.redrawText.bind(t)),o.element_=document.createElement("div");var r=o.element_.style;r.position="absolute",r.width="100%",r.height="100%",r.zIndex="0",o.element_.className=u.CLASS_UNSELECTABLE+" ol-layers";var n=t.getViewport();return n.insertBefore(o.element_,n.firstChild||null),o.children_=[],o.renderedVisible_=!0,o}return f(t,e),t.prototype.dispatchRenderEvent=function(e,t){var o=this.getMap();if(o.hasListener(e)){var r=new s.default(e,void 0,t);o.dispatchEvent(r)}},t.prototype.disposeInternal=function(){Object(p.unlistenByKey)(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),e.prototype.disposeInternal.call(this)},t.prototype.renderFrame=function(e){if(e){this.calculateMatrices2D(e),this.dispatchRenderEvent(a.default.PRECOMPOSE,e);var t=e.layerStatesArray.sort((function(e,t){return e.zIndex-t.zIndex})),o=e.viewState;this.children_.length=0;for(var r=[],n=null,i=0,s=t.length;i<s;++i){var u=t[i];if(e.layerIndex=i,Object(d.inView)(u,o)&&(u.sourceState==l.default.READY||u.sourceState==l.default.UNDEFINED)){var c=u.layer,p=c.render(e,n);p&&(p!==n&&(this.children_.push(p),n=p),"getDeclutter"in c&&r.push(c))}}for(i=r.length-1;i>=0;--i)r[i].renderDeclutter(e);Object(h.replaceChildren)(this.element_,this.children_),this.dispatchRenderEvent(a.default.POSTCOMPOSE,e),this.renderedVisible_||(this.element_.style.display="",this.renderedVisible_=!0),this.scheduleExpireIconCache(e)}else this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1)},t.prototype.forEachLayerAtPixel=function(e,t,o,r,n){for(var i=t.viewState,s=t.layerStatesArray,a=s.length-1;a>=0;--a){var l=s[a],u=l.layer;if(u.hasRenderer()&&Object(d.inView)(l,i)&&n(u)){var c=u.getRenderer().getDataAtPixel(e,t,o);if(c){var p=r(u,c);if(p)return p}}}},t}(n.default);t.default=m},"./node_modules/ol/renderer/Layer.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/events/EventType.js"),i=o("./node_modules/ol/ImageState.js"),s=o("./node_modules/ol/Observable.js"),a=o("./node_modules/ol/source/State.js"),l=o("./node_modules/ol/util.js"),u=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),c=function(e){function t(t){var o=e.call(this)||this;return o.boundHandleImageChange_=o.handleImageChange_.bind(o),o.layer_=t,o.declutterExecutorGroup=null,o}return u(t,e),t.prototype.getFeatures=function(e){return Object(l.abstract)()},t.prototype.prepareFrame=function(e){return Object(l.abstract)()},t.prototype.renderFrame=function(e,t){return Object(l.abstract)()},t.prototype.loadedTileCallback=function(e,t,o){e[t]||(e[t]={}),e[t][o.tileCoord.toString()]=o},t.prototype.createLoadedTileFinder=function(e,t,o){return function(r,n){var i=this.loadedTileCallback.bind(this,o,r);return e.forEachLoadedTile(t,r,n,i)}.bind(this)},t.prototype.forEachFeatureAtCoordinate=function(e,t,o,r,n){},t.prototype.getDataAtPixel=function(e,t,o){return null},t.prototype.getLayer=function(){return this.layer_},t.prototype.handleFontsChanged=function(){},t.prototype.handleImageChange_=function(e){e.target.getState()===i.default.LOADED&&this.renderIfReadyAndVisible()},t.prototype.loadImage=function(e){var t=e.getState();return t!=i.default.LOADED&&t!=i.default.ERROR&&e.addEventListener(n.default.CHANGE,this.boundHandleImageChange_),t==i.default.IDLE&&(e.load(),t=e.getState()),t==i.default.LOADED},t.prototype.renderIfReadyAndVisible=function(){var e=this.getLayer();e.getVisible()&&e.getSourceState()==a.default.READY&&e.changed()},t}(s.default);t.default=c},"./node_modules/ol/renderer/Map.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/Disposable.js"),i=o("./node_modules/ol/functions.js"),s=o("./node_modules/ol/util.js"),a=o("./node_modules/ol/transform.js"),l=o("./node_modules/ol/extent.js"),u=o("./node_modules/ol/style/IconImageCache.js"),c=o("./node_modules/ol/layer/Layer.js"),d=o("./node_modules/ol/coordinate.js"),p=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),h=function(e){function t(t){var o=e.call(this)||this;return o.map_=t,o}return p(t,e),t.prototype.dispatchRenderEvent=function(e,t){Object(s.abstract)()},t.prototype.calculateMatrices2D=function(e){var t=e.viewState,o=e.coordinateToPixelTransform,r=e.pixelToCoordinateTransform;Object(a.compose)(o,e.size[0]/2,e.size[1]/2,1/t.resolution,-1/t.resolution,-t.rotation,-t.center[0],-t.center[1]),Object(a.makeInverse)(r,o)},t.prototype.forEachFeatureAtCoordinate=function(e,t,o,r,n,i,s,a){var u,p=t.viewState;function h(e,t,o,r){return n.call(i,t,e?o:null,r)}var f=p.projection,m=Object(d.wrapX)(e.slice(),f),g=[[0,0]];if(f.canWrapX()&&r){var y=f.getExtent(),v=Object(l.getWidth)(y);g.push([-v,0],[v,0])}for(var _=t.layerStatesArray,b=_.length,A=[],C=[],E=0;E<g.length;E++)for(var S=b-1;S>=0;--S){var w=_[S],O=w.layer;if(O.hasRenderer()&&Object(c.inView)(w,p)&&s.call(a,O)){var I=O.getRenderer(),x=O.getSource();if(I&&x){var j=x.getWrapX()?m:e,T=h.bind(null,w.managed);C[0]=j[0]+g[E][0],C[1]=j[1]+g[E][1],u=I.forEachFeatureAtCoordinate(C,t,o,T,A)}if(u)return u}}if(0!==A.length){var P=1/A.length;return A.forEach((function(e,t){return e.distanceSq+=t*P})),A.sort((function(e,t){return e.distanceSq-t.distanceSq})),A.some((function(e){return u=e.callback(e.feature,e.layer,e.geometry)})),u}},t.prototype.forEachLayerAtPixel=function(e,t,o,r,n){return Object(s.abstract)()},t.prototype.hasFeatureAtCoordinate=function(e,t,o,r,n,s){return void 0!==this.forEachFeatureAtCoordinate(e,t,o,r,i.TRUE,this,n,s)},t.prototype.getMap=function(){return this.map_},t.prototype.renderFrame=function(e){Object(s.abstract)()},t.prototype.scheduleExpireIconCache=function(e){u.shared.canExpireCache()&&e.postRenderFunctions.push(f)},t}(n.default);function f(e,t){u.shared.expire()}t.default=h},"./node_modules/ol/renderer/canvas/ImageLayer.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/renderer/canvas/Layer.js"),i=o("./node_modules/ol/ViewHint.js"),s=o("./node_modules/ol/reproj/common.js"),a=o("./node_modules/ol/obj.js"),l=o("./node_modules/ol/transform.js"),u=o("./node_modules/ol/extent.js"),c=o("./node_modules/ol/proj.js"),d=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),p=function(e){function t(t){var o=e.call(this,t)||this;return o.image_=null,o}return d(t,e),t.prototype.getImage=function(){return this.image_?this.image_.getImage():null},t.prototype.prepareFrame=function(e){var t=e.layerStatesArray[e.layerIndex],o=e.pixelRatio,r=e.viewState,n=r.resolution,a=this.getLayer().getSource(),l=e.viewHints,d=e.extent;if(void 0!==t.extent&&(d=Object(u.getIntersection)(d,Object(c.fromUserExtent)(t.extent,r.projection))),!l[i.default.ANIMATING]&&!l[i.default.INTERACTING]&&!Object(u.isEmpty)(d))if(a){var p=r.projection;if(!s.ENABLE_RASTER_REPROJECTION){var h=a.getProjection();h&&(p=h)}var f=a.getImage(d,n,o,p);f&&this.loadImage(f)&&(this.image_=f)}else this.image_=null;return!!this.image_},t.prototype.renderFrame=function(e,t){var o=this.image_,r=o.getExtent(),n=o.getResolution(),i=o.getPixelRatio(),s=e.layerStatesArray[e.layerIndex],d=e.pixelRatio,p=e.viewState,h=p.center,f=p.resolution,m=e.size,g=d*n/(f*i),y=Math.round(m[0]*d),v=Math.round(m[1]*d),_=p.rotation;if(_){var b=Math.round(Math.sqrt(y*y+v*v));y=b,v=b}Object(l.compose)(this.pixelTransform,e.size[0]/2,e.size[1]/2,1/d,1/d,_,-y/2,-v/2),Object(l.makeInverse)(this.inversePixelTransform,this.pixelTransform);var A=Object(l.toString)(this.pixelTransform);this.useContainer(t,A,s.opacity);var C=this.context,E=C.canvas;E.width!=y||E.height!=v?(E.width=y,E.height=v):this.containerReused||C.clearRect(0,0,y,v);var S=!1,w=!0;if(s.extent){var O=Object(c.fromUserExtent)(s.extent,p.projection);(S=(w=Object(u.intersects)(O,e.extent))&&!Object(u.containsExtent)(O,e.extent))&&this.clipUnrotated(C,e,O)}var I=o.getImage(),x=Object(l.compose)(this.tempTransform,y/2,v/2,g,g,0,i*(r[0]-h[0])/n,i*(h[1]-r[3])/n);this.renderedResolution=n*d/i;var j=I.width*x[0],T=I.height*x[3];if(Object(a.assign)(C,this.getLayer().getSource().getContextOptions()),this.preRender(C,e),w&&j>=.5&&T>=.5){var P=x[4],M=x[5],R=s.opacity,L=void 0;1!==R&&(L=C.globalAlpha,C.globalAlpha=R),C.drawImage(I,0,0,+I.width,+I.height,Math.round(P),Math.round(M),Math.round(j),Math.round(T)),1!==R&&(C.globalAlpha=L)}return this.postRender(C,e),S&&C.restore(),A!==E.style.transform&&(E.style.transform=A),this.container},t}(n.default);t.default=p},"./node_modules/ol/renderer/canvas/Layer.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/renderer/Layer.js"),i=o("./node_modules/ol/render/Event.js"),s=o("./node_modules/ol/render/EventType.js"),a=o("./node_modules/ol/transform.js"),l=o("./node_modules/ol/extent.js"),u=o("./node_modules/ol/dom.js"),c=o("./node_modules/ol/css.js"),d=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),p=function(e){function t(t){var o=e.call(this,t)||this;return o.container=null,o.renderedResolution,o.tempTransform=Object(a.create)(),o.pixelTransform=Object(a.create)(),o.inversePixelTransform=Object(a.create)(),o.context=null,o.containerReused=!1,o}return d(t,e),t.prototype.useContainer=function(e,t,o){var r,n,i=this.getLayer().getClassName();e&&e.style.opacity===Object(c.cssOpacity)(o)&&e.className===i&&((a=e.firstElementChild)instanceof HTMLCanvasElement&&(n=a.getContext("2d")));if(n&&n.canvas.style.transform===t?(this.container=e,this.context=n,this.containerReused=!0):this.containerReused&&(this.container=null,this.context=null,this.containerReused=!1),!this.container){(r=document.createElement("div")).className=i;var s=r.style;s.position="absolute",s.width="100%",s.height="100%";var a=(n=Object(u.createCanvasContext2D)()).canvas;r.appendChild(a),(s=a.style).position="absolute",s.left="0",s.transformOrigin="top left",this.container=r,this.context=n}},t.prototype.clipUnrotated=function(e,t,o){var r=Object(l.getTopLeft)(o),n=Object(l.getTopRight)(o),i=Object(l.getBottomRight)(o),s=Object(l.getBottomLeft)(o);Object(a.apply)(t.coordinateToPixelTransform,r),Object(a.apply)(t.coordinateToPixelTransform,n),Object(a.apply)(t.coordinateToPixelTransform,i),Object(a.apply)(t.coordinateToPixelTransform,s);var u=this.inversePixelTransform;Object(a.apply)(u,r),Object(a.apply)(u,n),Object(a.apply)(u,i),Object(a.apply)(u,s),e.save(),e.beginPath(),e.moveTo(Math.round(r[0]),Math.round(r[1])),e.lineTo(Math.round(n[0]),Math.round(n[1])),e.lineTo(Math.round(i[0]),Math.round(i[1])),e.lineTo(Math.round(s[0]),Math.round(s[1])),e.clip()},t.prototype.dispatchRenderEvent_=function(e,t,o){var r=this.getLayer();if(r.hasListener(e)){var n=new i.default(e,this.inversePixelTransform,o,t);r.dispatchEvent(n)}},t.prototype.preRender=function(e,t){this.dispatchRenderEvent_(s.default.PRERENDER,e,t)},t.prototype.postRender=function(e,t){this.dispatchRenderEvent_(s.default.POSTRENDER,e,t)},t.prototype.getRenderTransform=function(e,t,o,r,n,i,s){var l=n/2,u=i/2,c=r/t,d=-c,p=-e[0]+s,h=-e[1];return Object(a.compose)(this.tempTransform,l,u,c,d,-o,p,h)},t.prototype.getDataAtPixel=function(e,t,o){var r,n=Object(a.apply)(this.inversePixelTransform,e.slice()),i=this.context,s=this.getLayer().getExtent();if(s){var u=Object(a.apply)(t.pixelToCoordinateTransform,e.slice());if(!Object(l.containsCoordinate)(s,u))return null}try{var c=Math.round(n[0]),d=Math.round(n[1]),p=document.createElement("canvas"),h=p.getContext("2d");p.width=1,p.height=1,h.clearRect(0,0,1,1),h.drawImage(i.canvas,c,d,1,1,0,0,1,1),r=h.getImageData(0,0,1,1).data}catch(e){return"SecurityError"===e.name?new Uint8Array:r}return 0===r[3]?null:r},t}(n.default);t.default=p},"./node_modules/ol/renderer/canvas/TileLayer.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/renderer/canvas/Layer.js"),i=o("./node_modules/ol/TileRange.js"),s=o("./node_modules/ol/TileState.js"),a=o("./node_modules/ol/transform.js"),l=o("./node_modules/ol/obj.js"),u=o("./node_modules/ol/extent.js"),c=o("./node_modules/ol/css.js"),d=o("./node_modules/ol/proj.js"),p=o("./node_modules/ol/util.js"),h=o("./node_modules/ol/array.js"),f=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),m=function(e){function t(t){var o=e.call(this,t)||this;return o.extentChanged=!0,o.renderedExtent_=null,o.renderedPixelRatio,o.renderedProjection=null,o.renderedRevision,o.renderedTiles=[],o.newTiles_=!1,o.tmpExtent=Object(u.createEmpty)(),o.tmpTileRange_=new i.default(0,0,0,0),o}return f(t,e),t.prototype.isDrawableTile=function(e){var t=this.getLayer(),o=e.getState(),r=t.getUseInterimTilesOnError();return o==s.default.LOADED||o==s.default.EMPTY||o==s.default.ERROR&&!r},t.prototype.getTile=function(e,t,o,r){var n=r.pixelRatio,i=r.viewState.projection,a=this.getLayer(),l=a.getSource().getTile(e,t,o,n,i);return l.getState()==s.default.ERROR&&(a.getUseInterimTilesOnError()?a.getPreload()>0&&(this.newTiles_=!0):l.setState(s.default.LOADED)),this.isDrawableTile(l)||(l=l.getInterimTile()),l},t.prototype.loadedTileCallback=function(t,o,r){return!!this.isDrawableTile(r)&&e.prototype.loadedTileCallback.call(this,t,o,r)},t.prototype.prepareFrame=function(e){return!!this.getLayer().getSource()},t.prototype.renderFrame=function(e,t){var o=e.layerStatesArray[e.layerIndex],r=e.viewState,n=r.projection,i=r.resolution,f=r.center,m=r.rotation,g=e.pixelRatio,y=this.getLayer(),v=y.getSource(),_=v.getRevision(),b=v.getTileGridForProjection(n),A=b.getZForResolution(i,v.zDirection),C=b.getResolution(A),E=e.extent,S=o.extent&&Object(d.fromUserExtent)(o.extent,n);S&&(E=Object(u.getIntersection)(E,Object(d.fromUserExtent)(o.extent,n)));var w=v.getTilePixelRatio(g),O=Math.round(e.size[0]*w),I=Math.round(e.size[1]*w);if(m){var x=Math.round(Math.sqrt(O*O+I*I));O=x,I=x}var j=C*O/2/w,T=C*I/2/w,P=[f[0]-j,f[1]-T,f[0]+j,f[1]+T],M=b.getTileRangeForExtentAndZ(E,A),R={};R[A]={};var L=this.createLoadedTileFinder(v,n,R),k=this.tmpExtent,N=this.tmpTileRange_;this.newTiles_=!1;for(var D=M.minX;D<=M.maxX;++D)for(var G=M.minY;G<=M.maxY;++G){var F=this.getTile(A,D,G,e);if(this.isDrawableTile(F)){var U=Object(p.getUid)(this);if(F.getState()==s.default.LOADED){R[A][F.tileCoord.toString()]=F;var B=F.inTransition(U);this.newTiles_||!B&&-1!==this.renderedTiles.indexOf(F)||(this.newTiles_=!0)}if(1===F.getAlpha(U,e.time))continue}var z=b.getTileCoordChildTileRange(F.tileCoord,N,k),V=!1;z&&(V=L(A+1,z)),V||b.forEachTileCoordParentTileRange(F.tileCoord,L,N,k)}var W=C/i;Object(a.compose)(this.pixelTransform,e.size[0]/2,e.size[1]/2,1/w,1/w,m,-O/2,-I/2);var q=Object(a.toString)(this.pixelTransform);this.useContainer(t,q,o.opacity);var Y=this.context,H=Y.canvas;Object(a.makeInverse)(this.inversePixelTransform,this.pixelTransform),Object(a.compose)(this.tempTransform,O/2,I/2,W,W,0,-O/2,-I/2),H.width!=O||H.height!=I?(H.width=O,H.height=I):this.containerReused||Y.clearRect(0,0,O,I),S&&this.clipUnrotated(Y,e,S),Object(l.assign)(Y,v.getContextOptions()),this.preRender(Y,e),this.renderedTiles.length=0;var X,Z,K,J=Object.keys(R).map(Number);J.sort(h.numberSafeCompareFunction),1!==o.opacity||this.containerReused&&!v.getOpaque(e.viewState.projection)?(X=[],Z=[]):J=J.reverse();for(var Q=J.length-1;Q>=0;--Q){var $=J[Q],ee=v.getTilePixelSize($,g,n),te=b.getResolution($)/C,oe=ee[0]*te*W,re=ee[1]*te*W,ne=b.getTileCoordForCoordAndZ(Object(u.getTopLeft)(P),$),ie=b.getTileCoordExtent(ne),se=Object(a.apply)(this.tempTransform,[w*(ie[0]-P[0])/C,w*(P[3]-ie[3])/C]),ae=w*v.getGutterForProjection(n),le=R[$];for(var ue in le){var ce=(F=le[ue]).tileCoord,de=ne[1]-ce[1],pe=Math.round(se[0]-(de-1)*oe),he=ne[2]-ce[2],fe=Math.round(se[1]-(he-1)*re),me=pe-(D=Math.round(se[0]-de*oe)),ge=fe-(G=Math.round(se[1]-he*re)),ye=A===$;if(!(B=ye&&1!==F.getAlpha(Object(p.getUid)(this),e.time)))if(X){Y.save(),K=[D,G,D+me,G,D+me,G+ge,D,G+ge];for(var ve=0,_e=X.length;ve<_e;++ve)if(A!==$&&$<Z[ve]){var be=X[ve];Y.beginPath(),Y.moveTo(K[0],K[1]),Y.lineTo(K[2],K[3]),Y.lineTo(K[4],K[5]),Y.lineTo(K[6],K[7]),Y.moveTo(be[6],be[7]),Y.lineTo(be[4],be[5]),Y.lineTo(be[2],be[3]),Y.lineTo(be[0],be[1]),Y.clip()}X.push(K),Z.push($)}else Y.clearRect(D,G,me,ge);this.drawTileImage(F,e,D,G,me,ge,ae,ye),X&&!B?(Y.restore(),this.renderedTiles.unshift(F)):this.renderedTiles.push(F),this.updateUsedTiles(e.usedTiles,v,F)}}this.renderedRevision=_,this.renderedResolution=C,this.extentChanged=!this.renderedExtent_||!Object(u.equals)(this.renderedExtent_,P),this.renderedExtent_=P,this.renderedPixelRatio=g,this.renderedProjection=n,this.manageTilePyramid(e,v,b,g,n,E,A,y.getPreload()),this.scheduleExpireCache(e,v),this.postRender(Y,e),o.extent&&Y.restore(),q!==H.style.transform&&(H.style.transform=q);var Ae=Object(c.cssOpacity)(o.opacity),Ce=this.container;return Ae!==Ce.style.opacity&&(Ce.style.opacity=Ae),this.container},t.prototype.drawTileImage=function(e,t,o,r,n,i,s,a){var l=this.getTileImage(e);if(l){var u=Object(p.getUid)(this),c=a?e.getAlpha(u,t.time):1,d=c!==this.context.globalAlpha;d&&(this.context.save(),this.context.globalAlpha=c),this.context.drawImage(l,s,s,l.width-2*s,l.height-2*s,o,r,n,i),d&&this.context.restore(),1!==c?t.animate=!0:a&&e.endTransition(u)}},t.prototype.getImage=function(){var e=this.context;return e?e.canvas:null},t.prototype.getTileImage=function(e){return e.getImage()},t.prototype.scheduleExpireCache=function(e,t){if(t.canExpireCache()){var o=function(e,t,o){var r=Object(p.getUid)(e);r in o.usedTiles&&e.expireCache(o.viewState.projection,o.usedTiles[r])}.bind(null,t);e.postRenderFunctions.push(o)}},t.prototype.updateUsedTiles=function(e,t,o){var r=Object(p.getUid)(t);r in e||(e[r]={}),e[r][o.getKey()]=!0},t.prototype.manageTilePyramid=function(e,t,o,r,n,i,a,l,u){var c=Object(p.getUid)(t);c in e.wantedTiles||(e.wantedTiles[c]={});var d,h,f,m,g,y,v=e.wantedTiles[c],_=e.tileQueue,b=0;for(y=o.getMinZoom();y<=a;++y)for(h=o.getTileRangeForExtentAndZ(i,y,h),f=o.getResolution(y),m=h.minX;m<=h.maxX;++m)for(g=h.minY;g<=h.maxY;++g)a-y<=l?(++b,(d=t.getTile(y,m,g,r,n)).getState()==s.default.IDLE&&(v[d.getKey()]=!0,_.isKeyQueued(d.getKey())||_.enqueue([d,c,o.getTileCoordCenter(d.tileCoord),f])),void 0!==u&&u(d)):t.useTile(y,m,g,n);t.updateCacheSize(b,n)},t}(n.default);m.prototype.getLayer,t.default=m},"./node_modules/ol/renderer/canvas/VectorImageLayer.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/renderer/canvas/ImageLayer.js"),i=o("./node_modules/ol/renderer/canvas/VectorLayer.js"),s=o("./node_modules/ol/events/EventType.js"),a=o("./node_modules/ol/ImageCanvas.js"),l=o("./node_modules/ol/ImageState.js"),u=o("./node_modules/rbush/rbush.min.js"),c=o.n(u),d=o("./node_modules/ol/ViewHint.js"),p=o("./node_modules/ol/transform.js"),h=o("./node_modules/ol/obj.js"),f=o("./node_modules/ol/extent.js"),m=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),g=function(e){function t(t){var o=e.call(this,t)||this;return o.vectorRenderer_=new i.default(t),o.layerImageRatio_=t.getImageRatio(),o.coordinateToVectorPixelTransform_=Object(p.create)(),o.renderedPixelToCoordinateTransform_=null,o}return m(t,e),t.prototype.disposeInternal=function(){this.vectorRenderer_.dispose(),e.prototype.disposeInternal.call(this)},t.prototype.getFeatures=function(e){if(!this.vectorRenderer_)return new Promise((function(e){return e([])}));var t=Object(p.apply)(this.coordinateToVectorPixelTransform_,Object(p.apply)(this.renderedPixelToCoordinateTransform_,e.slice()));return this.vectorRenderer_.getFeatures(t)},t.prototype.handleFontsChanged=function(){this.vectorRenderer_.handleFontsChanged()},t.prototype.prepareFrame=function(e){var t=e.pixelRatio,o=e.viewState,r=o.resolution,n=e.viewHints,i=this.vectorRenderer_,u=e.extent;1!==this.layerImageRatio_&&(u=u.slice(0),Object(f.scaleFromCenter)(u,this.layerImageRatio_));var m=Object(f.getWidth)(u)/r,g=Object(f.getHeight)(u)/r;if(!n[d.default.ANIMATING]&&!n[d.default.INTERACTING]&&!Object(f.isEmpty)(u)){i.useContainer(null,null,1);var y=i.context,v=Object(h.assign)({},e,{declutterTree:new c.a(9),extent:u,size:[m,g],viewState:Object(h.assign)({},e.viewState,{rotation:0})}),_=!0,b=new a.default(u,r,t,y.canvas,(function(e){i.prepareFrame(v)&&i.replayGroupChanged&&(i.clipping=!1,i.renderFrame(v,null)&&(i.renderDeclutter(v),_=!1),e())}));b.addEventListener(s.default.CHANGE,function(){if(b.getState()===l.default.LOADED){this.image_=_?null:b;var e=b.getResolution(),r=b.getPixelRatio(),n=e*t/r;this.renderedResolution=n,this.coordinateToVectorPixelTransform_=Object(p.compose)(this.coordinateToVectorPixelTransform_,m/2,g/2,1/n,-1/n,0,-o.center[0],-o.center[1])}}.bind(this)),b.load()}return this.image_&&(this.renderedPixelToCoordinateTransform_=e.pixelToCoordinateTransform.slice()),!!this.image_},t.prototype.preRender=function(){},t.prototype.postRender=function(){},t.prototype.renderDeclutter=function(){},t.prototype.forEachFeatureAtCoordinate=function(t,o,r,n,i){return this.vectorRenderer_?this.vectorRenderer_.forEachFeatureAtCoordinate(t,o,r,n,i):e.prototype.forEachFeatureAtCoordinate.call(this,t,o,r,n,i)},t}(n.default);t.default=g},"./node_modules/ol/renderer/canvas/VectorLayer.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/render/canvas/BuilderGroup.js"),i=o("./node_modules/ol/renderer/canvas/Layer.js"),s=o("./node_modules/ol/render/canvas/ExecutorGroup.js"),a=o("./node_modules/ol/ViewHint.js"),l=o("./node_modules/ol/render/canvas/hitdetect.js"),u=o("./node_modules/ol/transform.js"),c=o("./node_modules/ol/extent.js"),d=o("./node_modules/ol/css.js"),p=o("./node_modules/ol/renderer/vector.js"),h=o("./node_modules/ol/array.js"),f=o("./node_modules/ol/proj.js"),m=o("./node_modules/ol/util.js"),g=o("./node_modules/ol/coordinate.js"),y=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),v=function(e){function t(t){var o=e.call(this,t)||this;return o.boundHandleStyleImageChange_=o.handleStyleImageChange_.bind(o),o.animatingOrInteracting_,o.dirty_=!1,o.hitDetectionImageData_=null,o.renderedFeatures_=null,o.renderedRevision_=-1,o.renderedResolution_=NaN,o.renderedExtent_=Object(c.createEmpty)(),o.wrappedRenderedExtent_=Object(c.createEmpty)(),o.renderedRotation_,o.renderedCenter_=null,o.renderedProjection_=null,o.renderedRenderOrder_=null,o.replayGroup_=null,o.replayGroupChanged=!0,o.declutterExecutorGroup=null,o.clipping=!0,o}return y(t,e),t.prototype.useContainer=function(t,o,r){r<1&&(t=null),e.prototype.useContainer.call(this,t,o,r)},t.prototype.renderWorlds=function(e,t,o){var r=t.extent,n=t.viewState,i=n.center,s=n.resolution,l=n.projection,u=n.rotation,d=l.getExtent(),p=this.getLayer().getSource(),h=t.pixelRatio,f=t.viewHints,m=!(f[a.default.ANIMATING]||f[a.default.INTERACTING]),g=this.context,y=Math.round(t.size[0]*h),v=Math.round(t.size[1]*h),_=p.getWrapX()&&l.canWrapX(),b=_?Object(c.getWidth)(d):null,A=_?Math.ceil((r[2]-d[2])/b)+1:1,C=_?Math.floor((r[0]-d[0])/b):0;do{var E=this.getRenderTransform(i,s,u,h,y,v,C*b);e.execute(g,1,E,u,m,void 0,o)}while(++C<A)},t.prototype.renderDeclutter=function(e){this.declutterExecutorGroup&&this.renderWorlds(this.declutterExecutorGroup,e,e.declutterTree)},t.prototype.renderFrame=function(e,t){var o=e.pixelRatio,r=e.layerStatesArray[e.layerIndex];Object(u.makeScale)(this.pixelTransform,1/o,1/o),Object(u.makeInverse)(this.inversePixelTransform,this.pixelTransform);var n=Object(u.toString)(this.pixelTransform);this.useContainer(t,n,r.opacity);var i=this.context,s=i.canvas,a=this.replayGroup_,l=this.declutterExecutorGroup;if((!a||a.isEmpty())&&(!l||l.isEmpty()))return null;var p=Math.round(e.size[0]*o),h=Math.round(e.size[1]*o);s.width!=p||s.height!=h?(s.width=p,s.height=h,s.style.transform!==n&&(s.style.transform=n)):this.containerReused||i.clearRect(0,0,p,h),this.preRender(i,e);var m=e.viewState,g=m.projection,y=!1,v=!0;if(r.extent&&this.clipping){var _=Object(f.fromUserExtent)(r.extent,g);(y=(v=Object(c.intersects)(_,e.extent))&&!Object(c.containsExtent)(_,e.extent))&&this.clipUnrotated(i,e,_)}v&&this.renderWorlds(a,e),y&&i.restore(),this.postRender(i,e);var b=Object(d.cssOpacity)(r.opacity),A=this.container;return b!==A.style.opacity&&(A.style.opacity=b),this.renderedRotation_!==m.rotation&&(this.renderedRotation_=m.rotation,this.hitDetectionImageData_=null),this.container},t.prototype.getFeatures=function(e){return new Promise(function(t){if(!this.hitDetectionImageData_&&!this.animatingOrInteracting_){var o=[this.context.canvas.width,this.context.canvas.height];Object(u.apply)(this.pixelTransform,o);var r=this.renderedCenter_,n=this.renderedResolution_,i=this.renderedRotation_,s=this.renderedProjection_,a=this.wrappedRenderedExtent_,d=this.getLayer(),p=[],h=o[0]*l.HIT_DETECT_RESOLUTION,f=o[1]*l.HIT_DETECT_RESOLUTION;p.push(this.getRenderTransform(r,n,i,l.HIT_DETECT_RESOLUTION,h,f,0).slice());var m=d.getSource(),g=s.getExtent();if(m.getWrapX()&&s.canWrapX()&&!Object(c.containsExtent)(g,a)){for(var y=a[0],v=Object(c.getWidth)(g),_=0,b=void 0;y<g[0];)b=v*--_,p.push(this.getRenderTransform(r,n,i,l.HIT_DETECT_RESOLUTION,h,f,b).slice()),y+=v;for(_=0,y=a[2];y>g[2];)b=v*++_,p.push(this.getRenderTransform(r,n,i,l.HIT_DETECT_RESOLUTION,h,f,b).slice()),y-=v}this.hitDetectionImageData_=Object(l.createHitDetectionImageData)(o,p,this.renderedFeatures_,d.getStyleFunction(),a,n,i)}t(Object(l.hitDetect)(e,this.renderedFeatures_,this.hitDetectionImageData_))}.bind(this))},t.prototype.forEachFeatureAtCoordinate=function(e,t,o,r,n){var i=this;if(this.replayGroup_){var s,a=t.viewState.resolution,l=t.viewState.rotation,u=this.getLayer(),c={},d=function(e,t,o){var i=Object(m.getUid)(e),s=c[i];if(s){if(!0!==s&&o<s.distanceSq){if(0===o)return c[i]=!0,n.splice(n.lastIndexOf(s),1),r(e,u,t);s.geometry=t,s.distanceSq=o}}else{if(0===o)return c[i]=!0,r(e,u,t);n.push(c[i]={feature:e,layer:u,geometry:t,distanceSq:o,callback:r})}},p=[this.replayGroup_];return this.declutterExecutorGroup&&p.push(this.declutterExecutorGroup),p.some((function(r){return s=r.forEachFeatureAtCoordinate(e,a,l,o,d,r===i.declutterExecutorGroup?t.declutterTree.all().map((function(e){return e.value})):null)})),s}},t.prototype.handleFontsChanged=function(){var e=this.getLayer();e.getVisible()&&this.replayGroup_&&e.changed()},t.prototype.handleStyleImageChange_=function(e){this.renderIfReadyAndVisible()},t.prototype.prepareFrame=function(e){var t=this.getLayer(),o=t.getSource();if(!o)return!1;var r=e.viewHints[a.default.ANIMATING],i=e.viewHints[a.default.INTERACTING],l=t.getUpdateWhileAnimating(),u=t.getUpdateWhileInteracting();if(!this.dirty_&&!l&&r||!u&&i)return this.animatingOrInteracting_=!0,!0;this.animatingOrInteracting_=!1;var d=e.extent,m=e.viewState,y=m.projection,v=m.resolution,_=e.pixelRatio,b=t.getRevision(),A=t.getRenderBuffer(),C=t.getRenderOrder();void 0===C&&(C=p.defaultOrder);var E=m.center.slice(),S=Object(c.buffer)(d,A*v),w=S.slice(),O=[S.slice()],I=y.getExtent();if(o.getWrapX()&&y.canWrapX()&&!Object(c.containsExtent)(I,e.extent)){var x=Object(c.getWidth)(I),j=Math.max(Object(c.getWidth)(S)/2,x);S[0]=I[0]-j,S[2]=I[2]+j,Object(g.wrapX)(E,y);var T=Object(c.wrapX)(O[0],y);T[0]<I[0]&&T[2]<I[2]?O.push([T[0]+x,T[1],T[2]+x,T[3]]):T[0]>I[0]&&T[2]>I[2]&&O.push([T[0]-x,T[1],T[2]-x,T[3]])}if(!this.dirty_&&this.renderedResolution_==v&&this.renderedRevision_==b&&this.renderedRenderOrder_==C&&Object(c.containsExtent)(this.wrappedRenderedExtent_,S))return Object(h.equals)(this.renderedExtent_,w)||(this.hitDetectionImageData_=null,this.renderedExtent_=w),this.renderedCenter_=E,this.replayGroupChanged=!1,!0;this.replayGroup_=null,this.dirty_=!1;var P,M=new n.default(Object(p.getTolerance)(v,_),S,v,_);this.getLayer().getDeclutter()&&(P=new n.default(Object(p.getTolerance)(v,_),S,v,_));var R,L=Object(f.getUserProjection)();if(L){for(var k=0,N=O.length;k<N;++k){var D=O[k],G=Object(f.toUserExtent)(D,y);o.loadFeatures(G,Object(f.toUserResolution)(v,y),L)}R=Object(f.getTransformFromProjections)(L,y)}else for(k=0,N=O.length;k<N;++k)o.loadFeatures(O[k],v,y);var F=Object(p.getSquaredTolerance)(v,_),U=function(e){var o,r=e.getStyleFunction()||t.getStyleFunction();if(r&&(o=r(e,v)),o){var n=this.renderFeature(e,F,o,M,R,P);this.dirty_=this.dirty_||n}}.bind(this),B=Object(f.toUserExtent)(S,y),z=o.getFeaturesInExtent(B);C&&z.sort(C);for(k=0,N=z.length;k<N;++k)U(z[k]);this.renderedFeatures_=z;var V=M.finish(),W=new s.default(S,v,_,o.getOverlaps(),V,t.getRenderBuffer());return P&&(this.declutterExecutorGroup=new s.default(S,v,_,o.getOverlaps(),P.finish(),t.getRenderBuffer())),this.renderedResolution_=v,this.renderedRevision_=b,this.renderedRenderOrder_=C,this.renderedExtent_=w,this.wrappedRenderedExtent_=S,this.renderedCenter_=E,this.renderedProjection_=y,this.replayGroup_=W,this.hitDetectionImageData_=null,this.replayGroupChanged=!0,!0},t.prototype.renderFeature=function(e,t,o,r,n,i){if(!o)return!1;var s=!1;if(Array.isArray(o))for(var a=0,l=o.length;a<l;++a)s=Object(p.renderFeature)(r,e,o[a],t,this.boundHandleStyleImageChange_,n,i)||s;else s=Object(p.renderFeature)(r,e,o,t,this.boundHandleStyleImageChange_,n,i);return s},t}(i.default);t.default=v},"./node_modules/ol/renderer/canvas/VectorTileLayer.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/render/canvas/BuilderGroup.js"),i=o("./node_modules/ol/render/canvas/ExecutorGroup.js"),s=o("./node_modules/ol/renderer/canvas/TileLayer.js"),a=o("./node_modules/ol/render/canvas/BuilderType.js"),l=o("./node_modules/ol/TileState.js"),u=o("./node_modules/ol/layer/VectorTileRenderType.js"),c=o("./node_modules/ol/ViewHint.js"),d=o("./node_modules/ol/render/canvas/hitdetect.js"),p=o("./node_modules/ol/transform.js"),h=o("./node_modules/ol/extent.js"),f=o("./node_modules/ol/renderer/vector.js"),m=o("./node_modules/ol/util.js"),g=o("./node_modules/ol/size.js"),y=o("./node_modules/ol/coordinate.js"),v=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),_={image:[a.default.POLYGON,a.default.CIRCLE,a.default.LINE_STRING,a.default.IMAGE,a.default.TEXT],hybrid:[a.default.POLYGON,a.default.LINE_STRING],vector:[]},b={hybrid:[a.default.IMAGE,a.default.TEXT,a.default.DEFAULT],vector:[a.default.POLYGON,a.default.CIRCLE,a.default.LINE_STRING,a.default.IMAGE,a.default.TEXT,a.default.DEFAULT]},A=function(e){function t(t){var o=e.call(this,t)||this;return o.boundHandleStyleImageChange_=o.handleStyleImageChange_.bind(o),o.dirty_=!1,o.renderedLayerRevision_,o.renderedPixelToCoordinateTransform_=null,o.renderedRotation_,o.tmpTransform_=Object(p.create)(),o}return v(t,e),t.prototype.prepareTile=function(e,t,o){var r,n=e.getState();return n!==l.default.LOADED&&n!==l.default.ERROR||(this.updateExecutorGroup_(e,t,o),this.tileImageNeedsRender_(e)&&(r=!0)),r},t.prototype.getTile=function(t,o,r,n){var i=n.pixelRatio,s=n.viewState,a=s.resolution,l=s.projection,d=this.getLayer(),p=d.getSource().getTile(t,o,r,i,l),h=n.viewHints,f=!(h[c.default.ANIMATING]||h[c.default.INTERACTING]);return!f&&p.wantedResolution||(p.wantedResolution=a),this.prepareTile(p,i,l)&&(f||Date.now()-n.time<8)&&d.getRenderMode()!==u.default.VECTOR&&this.renderTileImage_(p,n),e.prototype.getTile.call(this,t,o,r,n)},t.prototype.isDrawableTile=function(t){var o=this.getLayer();return e.prototype.isDrawableTile.call(this,t)&&(o.getRenderMode()===u.default.VECTOR?Object(m.getUid)(o)in t.executorGroups:t.hasContext(o))},t.prototype.getTileImage=function(e){return e.getImage(this.getLayer())},t.prototype.prepareFrame=function(t){var o=this.getLayer().getRevision();return this.renderedLayerRevision_!=o&&(this.renderedTiles.length=0),this.renderedLayerRevision_=o,e.prototype.prepareFrame.call(this,t)},t.prototype.updateExecutorGroup_=function(e,t,o){var r=this.getLayer(),s=r.getRevision(),a=r.getRenderOrder()||null,c=e.wantedResolution,d=e.getReplayState(r);if(d.dirty||d.renderedResolution!==c||d.renderedRevision!=s||d.renderedRenderOrder!=a){var p=r.getSource(),g=r.getDeclutter(),y=p.getTileGrid(),v=p.getTileGridForProjection(o).getTileCoordExtent(e.wrappedTileCoord),_=p.getSourceTiles(t,o,e),b=Object(m.getUid)(r);delete e.hitDetectionImageData[b],e.executorGroups[b]=[],g&&(e.declutterExecutorGroups[b]=[]);for(var A=function(o,s){var m=_[o];if(m.getState()!=l.default.LOADED)return"continue";var A=m.tileCoord,E=y.getTileCoordExtent(A),S=Object(h.getIntersection)(v,E),w=Object(h.buffer)(S,r.getRenderBuffer()*c,C.tmpExtent),O=Object(h.equals)(E,S)?null:w;d.dirty=!1;var I=new n.default(0,w,c,t),x=g?new n.default(0,S,c,t):void 0,j=Object(f.getSquaredTolerance)(c,t),T=function(e){var t,o=e.getStyleFunction()||r.getStyleFunction();if(o&&(t=o(e,c)),t){var n=this.renderFeature(e,j,t,I,x);this.dirty_=this.dirty_||n,d.dirty=d.dirty||n}},P=m.getFeatures();a&&a!==d.renderedRenderOrder&&P.sort(a);for(var M=0,R=P.length;M<R;++M){var L=P[M];O&&!Object(h.intersects)(O,L.getGeometry().getExtent())||T.call(C,L)}var k=I.finish(),N=r.getRenderMode()!==u.default.VECTOR&&g&&1===_.length?null:S,D=new i.default(N,c,t,p.getOverlaps(),k,r.getRenderBuffer());if(e.executorGroups[b].push(D),x){var G=new i.default(null,c,t,p.getOverlaps(),x.finish(),r.getRenderBuffer());e.declutterExecutorGroups[b].push(G)}},C=this,E=0,S=_.length;E<S;++E)A(E);d.renderedRevision=s,d.renderedRenderOrder=a,d.renderedResolution=c}},t.prototype.forEachFeatureAtCoordinate=function(e,t,o,r,n){var i=t.viewState.resolution,s=t.viewState.rotation;o=null==o?0:o;var a=this.getLayer(),l=a.getSource().getTileGridForProjection(t.viewState.projection),u=Object(h.boundingExtent)([e]);Object(h.buffer)(u,i*o,u);for(var c,d={},p=function(e,t,o){var i=e.getId();void 0===i&&(i=Object(m.getUid)(e));var s=d[i];if(s){if(!0!==s&&o<s.distanceSq){if(0===o)return d[i]=!0,n.splice(n.lastIndexOf(s),1),r(e,a,t);s.geometry=t,s.distanceSq=o}}else{if(0===o)return d[i]=!0,r(e,a,t);n.push(d[i]={feature:e,layer:a,geometry:t,distanceSq:o,callback:r})}},f=this.renderedTiles,g=function(r,n){var d=f[r],g=l.getTileCoordExtent(d.wrappedTileCoord);if(!Object(h.intersects)(g,u))return"continue";var y=Object(m.getUid)(a),v=[d.executorGroups[y]],_=d.declutterExecutorGroups[y];_&&v.push(_),v.some((function(r){for(var n=r===_?t.declutterTree.all().map((function(e){return e.value})):null,a=0,l=r.length;a<l;++a){var u=r[a];if(c=u.forEachFeatureAtCoordinate(e,i,s,o,p,n))return!0}}))},y=0,v=f.length;!c&&y<v;++y)g(y);return c},t.prototype.getFeatures=function(e){return new Promise(function(t,o){for(var r,n=this.getLayer(),i=Object(m.getUid)(n),s=n.getSource(),a=this.renderedProjection,u=a.getExtent(),c=this.renderedResolution,f=s.getTileGridForProjection(a),v=Object(p.apply)(this.renderedPixelToCoordinateTransform_,e.slice()),_=f.getTileCoordForCoordAndResolution(v,c),b=0,A=this.renderedTiles.length;b<A;++b)if(_.toString()===this.renderedTiles[b].tileCoord.toString()){if((r=this.renderedTiles[b]).getState()===l.default.LOADED){var C=f.getTileCoordExtent(r.tileCoord);s.getWrapX()&&a.canWrapX()&&!Object(h.containsExtent)(u,C)&&Object(y.wrapX)(v,a);break}r=void 0}if(!r||r.loadingSourceTiles>0)t([]);else{var E=f.getTileCoordExtent(r.wrappedTileCoord),S=Object(h.getTopLeft)(E),w=[(v[0]-S[0])/c,(S[1]-v[1])/c],O=r.getSourceTiles().reduce((function(e,t){return e.concat(t.getFeatures())}),[]),I=r.hitDetectionImageData[i];if(!I&&!this.animatingOrInteracting_){var x=Object(g.toSize)(f.getTileSize(f.getZForResolution(c))),j=this.renderedRotation_,T=[this.getRenderTransform(f.getTileCoordCenter(r.wrappedTileCoord),c,0,d.HIT_DETECT_RESOLUTION,x[0]*d.HIT_DETECT_RESOLUTION,x[1]*d.HIT_DETECT_RESOLUTION,0)];I=Object(d.createHitDetectionImageData)(x,T,O,n.getStyleFunction(),f.getTileCoordExtent(r.wrappedTileCoord),r.getReplayState(n).renderedResolution,j),r.hitDetectionImageData[i]=I}t(Object(d.hitDetect)(w,O,I))}}.bind(this))},t.prototype.handleFontsChanged=function(){var e=this.getLayer();e.getVisible()&&void 0!==this.renderedLayerRevision_&&e.changed()},t.prototype.handleStyleImageChange_=function(e){this.renderIfReadyAndVisible()},t.prototype.renderDeclutter=function(e){var t=this.context,o=t.globalAlpha;t.globalAlpha=this.getLayer().getOpacity();for(var r=e.viewHints,n=!(r[c.default.ANIMATING]||r[c.default.INTERACTING]),i=this.renderedTiles,s=0,a=i.length;s<a;++s){var l=i[s],u=l.declutterExecutorGroups[Object(m.getUid)(this.getLayer())];if(u)for(var d=u.length-1;d>=0;--d)u[d].execute(this.context,1,this.getTileRenderTransform(l,e),e.viewState.rotation,n,void 0,e.declutterTree)}t.globalAlpha=o},t.prototype.getTileRenderTransform=function(e,t){var o=t.pixelRatio,r=t.viewState,n=r.center,i=r.resolution,s=r.rotation,a=t.size,l=Math.round(a[0]*o),u=Math.round(a[1]*o),c=this.getLayer().getSource().getTileGridForProjection(t.viewState.projection),d=e.tileCoord,h=c.getTileCoordExtent(e.wrappedTileCoord),f=c.getTileCoordExtent(d,this.tmpExtent)[0]-h[0];return Object(p.multiply)(Object(p.scale)(this.inversePixelTransform.slice(),1/o,1/o),this.getRenderTransform(n,i,s,o,l,u,f))},t.prototype.renderFrame=function(t,o){var r=t.viewHints,n=!(r[c.default.ANIMATING]||r[c.default.INTERACTING]);e.prototype.renderFrame.call(this,t,o),this.renderedPixelToCoordinateTransform_=t.pixelToCoordinateTransform.slice(),this.renderedRotation_=t.viewState.rotation;var i=this.getLayer(),s=i.getRenderMode(),a=this.context,l=a.globalAlpha;a.globalAlpha=i.getOpacity();for(var u=b[s],d=t.viewState.rotation,p=this.renderedTiles,h=[],f=[],g=p.length-1;g>=0;--g)for(var y=p[g],v=this.getTileRenderTransform(y,t),_=y.executorGroups[Object(m.getUid)(i)],A=!1,C=0,E=_.length;C<E;++C){var S=_[C];if(S.hasExecutors(u)){var w=y.tileCoord[0],O=void 0;if(!A&&(O=S.getClipCoords(v))){a.save();for(var I=0,x=h.length;I<x;++I){var j=h[I];w<f[I]&&(a.beginPath(),a.moveTo(O[0],O[1]),a.lineTo(O[2],O[3]),a.lineTo(O[4],O[5]),a.lineTo(O[6],O[7]),a.moveTo(j[6],j[7]),a.lineTo(j[4],j[5]),a.lineTo(j[2],j[3]),a.lineTo(j[0],j[1]),a.clip())}}S.execute(a,1,v,d,n,u),!A&&O&&(a.restore(),h.push(O),f.push(w),A=!0)}}return a.globalAlpha=l,this.container},t.prototype.renderFeature=function(e,t,o,r,n){if(!o)return!1;var i=!1;if(Array.isArray(o))for(var s=0,a=o.length;s<a;++s)i=Object(f.renderFeature)(r,e,o[s],t,this.boundHandleStyleImageChange_,void 0,n)||i;else i=Object(f.renderFeature)(r,e,o,t,this.boundHandleStyleImageChange_,void 0,n);return i},t.prototype.tileImageNeedsRender_=function(e){var t=this.getLayer();if(t.getRenderMode()===u.default.VECTOR)return!1;var o=e.getReplayState(t),r=t.getRevision(),n=e.wantedResolution;return o.renderedTileResolution!==n||o.renderedTileRevision!==r},t.prototype.renderTileImage_=function(e,t){var o=this.getLayer(),r=e.getReplayState(o),n=o.getRevision(),i=e.executorGroups[Object(m.getUid)(o)];r.renderedTileRevision=n;var s=e.wrappedTileCoord,a=s[0],l=o.getSource(),u=t.pixelRatio,c=t.viewState.projection,d=l.getTileGridForProjection(c),h=d.getResolution(e.tileCoord[0]),f=t.pixelRatio/e.wantedResolution*h,g=d.getResolution(a),y=e.getContext(o);u=Math.round(Math.max(u,f/u));var v=l.getTilePixelSize(a,u,c);y.canvas.width=v[0],y.canvas.height=v[1];var b=u/f;if(1!==b){var A=Object(p.reset)(this.tmpTransform_);Object(p.scale)(A,b,b),y.setTransform.apply(y,A)}var C=d.getTileCoordExtent(s,this.tmpExtent),E=f/g,S=Object(p.reset)(this.tmpTransform_);Object(p.scale)(S,E,-E),Object(p.translate)(S,-C[0],-C[3]);for(var w=0,O=i.length;w<O;++w){i[w].execute(y,b,S,0,!0,_[o.getRenderMode()])}r.renderedTileResolution=e.wantedResolution},t}(s.default);t.default=A},"./node_modules/ol/renderer/vector.js":function(e,t,o){"use strict";o.r(t),o.d(t,"defaultOrder",(function(){return u})),o.d(t,"getSquaredTolerance",(function(){return c})),o.d(t,"getTolerance",(function(){return d})),o.d(t,"renderFeature",(function(){return p}));var r=o("./node_modules/ol/render/canvas/BuilderType.js"),n=o("./node_modules/ol/geom/GeometryType.js"),i=o("./node_modules/ol/ImageState.js"),s=o("./node_modules/ol/util.js"),a=.5,l={Point:function(e,t,o,n,s){var a,l=o.getImage(),u=o.getText();s&&(e=s,a=l&&u&&u.getText()?{}:void 0);if(l){if(l.getImageState()!=i.default.LOADED)return;var c=e.getBuilder(o.getZIndex(),r.default.IMAGE);c.setImageStyle(l,a),c.drawPoint(t,n)}if(u&&u.getText()){var d=e.getBuilder(o.getZIndex(),r.default.TEXT);d.setTextStyle(u,a),d.drawText(t,n)}},LineString:function(e,t,o,n,i){var s=o.getStroke();if(s){var a=e.getBuilder(o.getZIndex(),r.default.LINE_STRING);a.setFillStrokeStyle(null,s),a.drawLineString(t,n)}var l=o.getText();if(l&&l.getText()){var u=(i||e).getBuilder(o.getZIndex(),r.default.TEXT);u.setTextStyle(l),u.drawText(t,n)}},Polygon:function(e,t,o,n,i){var s=o.getFill(),a=o.getStroke();if(s||a){var l=e.getBuilder(o.getZIndex(),r.default.POLYGON);l.setFillStrokeStyle(s,a),l.drawPolygon(t,n)}var u=o.getText();if(u&&u.getText()){var c=(i||e).getBuilder(o.getZIndex(),r.default.TEXT);c.setTextStyle(u),c.drawText(t,n)}},MultiPoint:function(e,t,o,n,s){var a,l=o.getImage(),u=o.getText();s&&(e=s,a=l&&u&&u.getText()?{}:void 0);if(l){if(l.getImageState()!=i.default.LOADED)return;var c=e.getBuilder(o.getZIndex(),r.default.IMAGE);c.setImageStyle(l,a),c.drawMultiPoint(t,n)}if(u&&u.getText()){var d=(s||e).getBuilder(o.getZIndex(),r.default.TEXT);d.setTextStyle(u,a),d.drawText(t,n)}},MultiLineString:function(e,t,o,n,i){var s=o.getStroke();if(s){var a=e.getBuilder(o.getZIndex(),r.default.LINE_STRING);a.setFillStrokeStyle(null,s),a.drawMultiLineString(t,n)}var l=o.getText();if(l&&l.getText()){var u=(i||e).getBuilder(o.getZIndex(),r.default.TEXT);u.setTextStyle(l),u.drawText(t,n)}},MultiPolygon:function(e,t,o,n,i){var s=o.getFill(),a=o.getStroke();if(a||s){var l=e.getBuilder(o.getZIndex(),r.default.POLYGON);l.setFillStrokeStyle(s,a),l.drawMultiPolygon(t,n)}var u=o.getText();if(u&&u.getText()){var c=(i||e).getBuilder(o.getZIndex(),r.default.TEXT);c.setTextStyle(u),c.drawText(t,n)}},GeometryCollection:function(e,t,o,r,n){var i,s,a=t.getGeometriesArray();for(i=0,s=a.length;i<s;++i){(0,l[a[i].getType()])(e,a[i],o,r,n)}},Circle:function(e,t,o,n,i){var s=o.getFill(),a=o.getStroke();if(s||a){var l=e.getBuilder(o.getZIndex(),r.default.CIRCLE);l.setFillStrokeStyle(s,a),l.drawCircle(t,n)}var u=o.getText();if(u&&u.getText()){var c=(i||e).getBuilder(o.getZIndex(),r.default.TEXT);c.setTextStyle(u),c.drawText(t,n)}}};function u(e,t){return parseInt(Object(s.getUid)(e),10)-parseInt(Object(s.getUid)(t),10)}function c(e,t){var o=d(e,t);return o*o}function d(e,t){return a*e/t}function p(e,t,o,r,n,s,a){var u=!1,c=o.getImage();if(c){var d=c.getImageState();d==i.default.LOADED||d==i.default.ERROR?c.unlistenImageChange(n):(d==i.default.IDLE&&c.load(),d=c.getImageState(),c.listenImageChange(n),u=!0)}return function(e,t,o,r,n,i){var s=o.getGeometryFunction()(t);if(!s)return;var a=s.simplifyTransformed(r,n),u=o.getRenderer();if(u)h(e,a,o,t);else{(0,l[a.getType()])(e,a,o,t,i)}}(e,t,o,r,s,a),u}function h(e,t,o,i){if(t.getType()!=n.default.GEOMETRY_COLLECTION)e.getBuilder(o.getZIndex(),r.default.DEFAULT).drawCustom(t,i,o.getRenderer(),o.getHitDetectionRenderer());else for(var s=t.getGeometries(),a=0,l=s.length;a<l;++a)h(e,s[a],o,i)}},"./node_modules/ol/renderer/webgl/Layer.js":function(e,t,o){"use strict";o.r(t),o.d(t,"WebGLWorkerMessageType",(function(){return u})),o.d(t,"writePointFeatureToBuffers",(function(){return f})),o.d(t,"getBlankImageData",(function(){return m})),o.d(t,"colorEncodeId",(function(){return g})),o.d(t,"colorDecodeId",(function(){return y}));var r,n=o("./node_modules/ol/renderer/Layer.js"),i=o("./node_modules/ol/render/Event.js"),s=o("./node_modules/ol/render/EventType.js"),a=o("./node_modules/ol/webgl/Helper.js"),l=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),u={GENERATE_BUFFERS:"GENERATE_BUFFERS"},c=function(e){function t(t,o){var r=e.call(this,t)||this,n=o||{};return r.helper=new a.default({postProcesses:n.postProcesses,uniforms:n.uniforms}),void 0!==n.className&&(r.helper.getCanvas().className=n.className),r}return l(t,e),t.prototype.disposeInternal=function(){this.helper.dispose(),delete this.helper,e.prototype.disposeInternal.call(this)},t.prototype.dispatchRenderEvent_=function(e,t){var o=this.getLayer();if(o.hasListener(e)){var r=new i.default(e,null,t,null);o.dispatchEvent(r)}},t.prototype.preRender=function(e){this.dispatchRenderEvent_(s.default.PRERENDER,e)},t.prototype.postRender=function(e){this.dispatchRenderEvent_(s.default.POSTRENDER,e)},t}(n.default),d=[],p={vertexPosition:0,indexPosition:0};function h(e,t,o,r,n){e[t+0]=o,e[t+1]=r,e[t+2]=n}function f(e,t,o,r,n,i){var s=3+n,a=e[t+0],l=e[t+1],u=d;u.length=n;for(var c=0;c<u.length;c++)u[c]=e[t+2+c];var f=i?i.vertexPosition:0,m=i?i.indexPosition:0,g=f/s;return h(o,f,a,l,0),u.length&&o.set(u,f+3),h(o,f+=s,a,l,1),u.length&&o.set(u,f+3),h(o,f+=s,a,l,2),u.length&&o.set(u,f+3),h(o,f+=s,a,l,3),u.length&&o.set(u,f+3),f+=s,r[m++]=g,r[m++]=g+1,r[m++]=g+3,r[m++]=g+1,r[m++]=g+2,r[m++]=g+3,p.vertexPosition=f,p.indexPosition=m,p}function m(){var e=document.createElement("canvas").getContext("2d").createImageData(1,1);return e.data[0]=255,e.data[1]=255,e.data[2]=255,e.data[3]=255,e}function g(e,t){var o=t||[],r=256,n=255;return o[0]=Math.floor(e/r/r/r)/n,o[1]=Math.floor(e/r/r)%r/n,o[2]=Math.floor(e/r)%r/n,o[3]=e%r/n,o}function y(e){var t=0,o=256,r=255;return t+=Math.round(e[0]*o*o*o*r),t+=Math.round(e[1]*o*o*r),t+=Math.round(e[2]*o*r),t+=Math.round(e[3]*r)}t.default=c},"./node_modules/ol/renderer/webgl/PointsLayer.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/layer/BaseVector.js"),i=o("./node_modules/ol/geom/GeometryType.js"),s=o("./node_modules/ol/source/VectorEventType.js"),a=o("./node_modules/ol/ViewHint.js"),l=o("./node_modules/ol/webgl/Buffer.js"),u=o("./node_modules/ol/renderer/webgl/Layer.js"),c=o("./node_modules/ol/webgl/RenderTarget.js"),d=o("./node_modules/ol/webgl.js"),p=o("./node_modules/ol/webgl/Helper.js"),h=o("./node_modules/ol/transform.js"),f=o("./node_modules/ol/asserts.js"),m=o("./node_modules/ol/extent.js"),g=o("./node_modules/ol/worker/webgl.js"),y=o("./node_modules/ol/util.js"),v=o("./node_modules/ol/events.js"),_=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),b=function(e){function t(t,o){var r=this,n=o.uniforms||{},i=Object(h.create)();n[p.DefaultUniform.PROJECTION_MATRIX]=i,(r=e.call(this,t,{className:o.className,uniforms:n,postProcesses:o.postProcesses})||this).sourceRevision_=-1,r.verticesBuffer_=new l.default(d.ARRAY_BUFFER,d.DYNAMIC_DRAW),r.hitVerticesBuffer_=new l.default(d.ARRAY_BUFFER,d.DYNAMIC_DRAW),r.indicesBuffer_=new l.default(d.ELEMENT_ARRAY_BUFFER,d.DYNAMIC_DRAW),r.program_=r.helper.getProgram(o.fragmentShader,o.vertexShader),r.hitDetectionEnabled_=!(!o.hitFragmentShader||!o.hitVertexShader),r.hitProgram_=r.hitDetectionEnabled_&&r.helper.getProgram(o.hitFragmentShader,o.hitVertexShader);var a=o.attributes?o.attributes.map((function(e){return{name:"a_"+e.name,size:1,type:p.AttributeType.FLOAT}})):[];r.attributes=[{name:"a_position",size:2,type:p.AttributeType.FLOAT},{name:"a_index",size:1,type:p.AttributeType.FLOAT}].concat(a),r.hitDetectionAttributes=[{name:"a_position",size:2,type:p.AttributeType.FLOAT},{name:"a_index",size:1,type:p.AttributeType.FLOAT},{name:"a_hitColor",size:4,type:p.AttributeType.FLOAT},{name:"a_featureUid",size:1,type:p.AttributeType.FLOAT}].concat(a),r.customAttributes=o.attributes?o.attributes:[],r.previousExtent_=Object(m.createEmpty)(),r.currentTransform_=i,r.renderTransform_=Object(h.create)(),r.invertRenderTransform_=Object(h.create)(),r.renderInstructions_=new Float32Array(0),r.hitRenderInstructions_=new Float32Array(0),r.hitRenderTarget_=r.hitDetectionEnabled_&&new c.default(r.helper),r.worker_=Object(g.create)(),r.worker_.addEventListener("message",function(e){var t=e.data;if(t.type===u.WebGLWorkerMessageType.GENERATE_BUFFERS){var o=t.projectionTransform;t.hitDetection?(this.hitVerticesBuffer_.fromArrayBuffer(t.vertexBuffer),this.helper.flushBufferData(this.hitVerticesBuffer_)):(this.verticesBuffer_.fromArrayBuffer(t.vertexBuffer),this.helper.flushBufferData(this.verticesBuffer_)),this.indicesBuffer_.fromArrayBuffer(t.indexBuffer),this.helper.flushBufferData(this.indicesBuffer_),this.renderTransform_=o,Object(h.makeInverse)(this.invertRenderTransform_,this.renderTransform_),t.hitDetection?this.hitRenderInstructions_=new Float32Array(e.data.renderInstructions):this.renderInstructions_=new Float32Array(e.data.renderInstructions),this.getLayer().changed()}}.bind(r)),r.featureCache_={},r.featureCount_=0;var f=r.getLayer().getSource();return r.sourceListenKeys_=[Object(v.listen)(f,s.default.ADDFEATURE,r.handleSourceFeatureAdded_,r),Object(v.listen)(f,s.default.CHANGEFEATURE,r.handleSourceFeatureChanged_,r),Object(v.listen)(f,s.default.REMOVEFEATURE,r.handleSourceFeatureDelete_,r),Object(v.listen)(f,s.default.CLEAR,r.handleSourceFeatureClear_,r)],f.forEachFeature(function(e){this.featureCache_[Object(y.getUid)(e)]={feature:e,properties:e.getProperties(),geometry:e.getGeometry()},this.featureCount_++}.bind(r)),r}return _(t,e),t.prototype.handleSourceFeatureAdded_=function(e){var t=e.feature;this.featureCache_[Object(y.getUid)(t)]={feature:t,properties:t.getProperties(),geometry:t.getGeometry()},this.featureCount_++},t.prototype.handleSourceFeatureChanged_=function(e){var t=e.feature;this.featureCache_[Object(y.getUid)(t)]={feature:t,properties:t.getProperties(),geometry:t.getGeometry()}},t.prototype.handleSourceFeatureDelete_=function(e){var t=e.feature;delete this.featureCache_[Object(y.getUid)(t)],this.featureCount_--},t.prototype.handleSourceFeatureClear_=function(){this.featureCache_={},this.featureCount_=0},t.prototype.renderFrame=function(e){this.preRender(e);var t=this.indicesBuffer_.getSize();this.helper.drawElements(0,t),this.helper.finalizeDraw(e);var o=this.helper.getCanvas(),r=e.layerStatesArray[e.layerIndex].opacity;return r!==parseFloat(o.style.opacity)&&(o.style.opacity=String(r)),this.hitDetectionEnabled_&&(this.renderHitDetection(e),this.hitRenderTarget_.clearCachedData()),this.postRender(e),o},t.prototype.prepareFrame=function(e){var t=this.getLayer(),o=t.getSource(),r=e.viewState,i=!e.viewHints[a.default.ANIMATING]&&!e.viewHints[a.default.INTERACTING],s=!Object(m.equals)(this.previousExtent_,e.extent),l=this.sourceRevision_<o.getRevision();if(l&&(this.sourceRevision_=o.getRevision()),i&&(s||l)){var u=r.projection,c=r.resolution,d=t instanceof n.default?t.getRenderBuffer():0,p=Object(m.buffer)(e.extent,d*c);o.loadFeatures(p,c,u),this.rebuildBuffers_(e),this.previousExtent_=e.extent.slice()}return this.helper.makeProjectionTransform(e,this.currentTransform_),Object(h.multiply)(this.currentTransform_,this.invertRenderTransform_),this.helper.useProgram(this.program_),this.helper.prepareDraw(e),this.helper.bindBuffer(this.verticesBuffer_),this.helper.bindBuffer(this.indicesBuffer_),this.helper.enableAttributes(this.attributes),!0},t.prototype.rebuildBuffers_=function(e){var t=Object(h.create)();this.helper.makeProjectionTransform(e,t);var o,r,n=(2+this.customAttributes.length)*this.featureCount_;if(this.renderInstructions_&&this.renderInstructions_.length===n||(this.renderInstructions_=new Float32Array(n)),this.hitDetectionEnabled_){var s=(7+this.customAttributes.length)*this.featureCount_;this.hitRenderInstructions_&&this.hitRenderInstructions_.length===s||(this.hitRenderInstructions_=new Float32Array(s))}var a,l=[],c=[],d=0,p=0;for(var f in this.featureCache_)if((r=(o=this.featureCache_[f]).geometry)&&r.getType()===i.default.POINT){l[0]=r.getFlatCoordinates()[0],l[1]=r.getFlatCoordinates()[1],Object(h.apply)(t,l),a=Object(u.colorEncodeId)(p+6,c),this.renderInstructions_[d++]=l[0],this.renderInstructions_[d++]=l[1],this.hitDetectionEnabled_&&(this.hitRenderInstructions_[p++]=l[0],this.hitRenderInstructions_[p++]=l[1],this.hitRenderInstructions_[p++]=a[0],this.hitRenderInstructions_[p++]=a[1],this.hitRenderInstructions_[p++]=a[2],this.hitRenderInstructions_[p++]=a[3],this.hitRenderInstructions_[p++]=Number(f));for(var m=void 0,g=0;g<this.customAttributes.length;g++)m=this.customAttributes[g].callback(o.feature,o.properties),this.renderInstructions_[d++]=m,this.hitDetectionEnabled_&&(this.hitRenderInstructions_[p++]=m)}var y={type:u.WebGLWorkerMessageType.GENERATE_BUFFERS,renderInstructions:this.renderInstructions_.buffer,customAttributesCount:this.customAttributes.length};if(y.projectionTransform=t,this.worker_.postMessage(y,[this.renderInstructions_.buffer]),this.renderInstructions_=null,this.hitDetectionEnabled_){var v={type:u.WebGLWorkerMessageType.GENERATE_BUFFERS,renderInstructions:this.hitRenderInstructions_.buffer,customAttributesCount:5+this.customAttributes.length};v.projectionTransform=t,v.hitDetection=!0,this.worker_.postMessage(v,[this.hitRenderInstructions_.buffer]),this.hitRenderInstructions_=null}},t.prototype.forEachFeatureAtCoordinate=function(e,t,o,r,n){if(Object(f.assert)(this.hitDetectionEnabled_,66),this.hitRenderInstructions_){var i=Object(h.apply)(t.coordinateToPixelTransform,e.slice()),s=this.hitRenderTarget_.readPixel(i[0]/2,i[1]/2),a=[s[0]/255,s[1]/255,s[2]/255,s[3]/255],l=Object(u.colorDecodeId)(a),c=this.hitRenderInstructions_[l],d=Math.floor(c).toString(),p=this.getLayer().getSource().getFeatureByUid(d);return p?r(p,this.getLayer(),null):void 0}},t.prototype.renderHitDetection=function(e){if(this.hitVerticesBuffer_.getSize()){this.hitRenderTarget_.setSize([Math.floor(e.size[0]/2),Math.floor(e.size[1]/2)]),this.helper.useProgram(this.hitProgram_),this.helper.prepareDrawToRenderTarget(e,this.hitRenderTarget_,!0),this.helper.bindBuffer(this.hitVerticesBuffer_),this.helper.bindBuffer(this.indicesBuffer_),this.helper.enableAttributes(this.hitDetectionAttributes);var t=this.indicesBuffer_.getSize();this.helper.drawElements(0,t)}},t.prototype.disposeInternal=function(){this.worker_.terminate(),this.layer_=null,this.sourceListenKeys_.forEach((function(e){Object(v.unlistenByKey)(e)})),this.sourceListenKeys_=null,e.prototype.disposeInternal.call(this)},t}(u.default);t.default=b},"./node_modules/ol/renderer/webgl/TileLayer.js":function(e,t,o){"use strict";o.r(t),o.d(t,"Uniforms",(function(){return C})),o.d(t,"Attributes",(function(){return E}));var r,n=o("./node_modules/ol/structs/LRUCache.js"),i=o("./node_modules/ol/source/State.js"),s=o("./node_modules/ol/TileRange.js"),a=o("./node_modules/ol/TileState.js"),l=o("./node_modules/ol/webgl/TileTexture.js"),u=o("./node_modules/ol/webgl/Buffer.js"),c=o("./node_modules/ol/renderer/webgl/Layer.js"),d=o("./node_modules/ol/webgl/Helper.js"),p=o("./node_modules/ol/webgl.js"),h=o("./node_modules/ol/transform.js"),f=o("./node_modules/ol/vec/mat4.js"),m=o("./node_modules/ol/tilecoord.js"),g=o("./node_modules/ol/proj.js"),y=o("./node_modules/ol/extent.js"),v=o("./node_modules/ol/util.js"),_=o("./node_modules/ol/array.js"),b=o("./node_modules/ol/size.js"),A=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),C={TILE_TEXTURE_PREFIX:"u_tileTexture",TILE_TRANSFORM:"u_tileTransform",TRANSITION_ALPHA:"u_transitionAlpha",DEPTH:"u_depth",TEXTURE_PIXEL_WIDTH:"u_texturePixelWidth",TEXTURE_PIXEL_HEIGHT:"u_texturePixelHeight",RESOLUTION:"u_resolution",ZOOM:"u_zoom"},E={TEXTURE_COORD:"a_textureCoord"},S=[{name:E.TEXTURE_COORD,size:2,type:d.AttributeType.FLOAT}],w={};function O(e){return 2*(1-1/(e+1))-1}function I(e,t,o){o in e||(e[o]=[]),e[o].push(t)}function x(e,t){var o=e.layerStatesArray[e.layerIndex];return o.extent&&(t=Object(y.getIntersection)(t,Object(g.fromUserExtent)(o.extent,e.viewState.projection))),t}var j=function(e){function t(t,o){var r=e.call(this,t,{uniforms:o.uniforms,className:o.className})||this;r.tileTransform_=Object(h.create)(),r.tempMat4_=Object(f.create)(),r.tempTileRange_=new s.default(0,0,0,0),r.tempTileCoord_=Object(m.createOrUpdate)(0,0,0),r.tempSize_=[0,0],r.program_=r.helper.getProgram(o.fragmentShader,o.vertexShader);var i=new u.default(p.ELEMENT_ARRAY_BUFFER,p.STATIC_DRAW);i.fromArray([0,1,3,1,2,3]),r.helper.flushBufferData(i),r.indices_=i;var a=void 0!==o.cacheSize?o.cacheSize:512;return r.tileTextureCache_=new n.default(a),r.renderedOpacity_=NaN,r}return A(t,e),t.prototype.isDrawableTile=function(e){var t=this.getLayer(),o=e.getState(),r=t.getUseInterimTilesOnError();return o==a.default.LOADED||o==a.default.EMPTY||o==a.default.ERROR&&!r},t.prototype.prepareFrame=function(e){if(Object(y.isEmpty)(x(e,e.extent)))return!1;var t=this.getLayer().getSource();return!!t&&t.getState()===i.default.READY},t.prototype.enqueueTiles=function(e,t,o,r){var n=e.viewState,i=this.getLayer().getSource(),s=i.getTileGridForProjection(n.projection),u=this.tileTextureCache_,c=s.getTileRangeForExtentAndZ(t,o),d=Object(v.getUid)(i);d in e.wantedTiles||(e.wantedTiles[d]={});for(var p=e.wantedTiles[d],h=s.getResolution(o),f=c.minX;f<=c.maxX;++f)for(var g=c.minY;g<=c.maxY;++g){var y=Object(m.createOrUpdate)(o,f,g,this.tempTileCoord_),_=Object(m.getKey)(y),b=void 0,A=void 0;u.containsKey(_)&&(A=(b=u.get(_)).tile),b&&b.tile.key===i.getKey()||(A=i.getTile(o,f,g,e.pixelRatio,n.projection),b?b.setTile(this.isDrawableTile(A)?A:A.getInterimTile()):(b=new l.default(A,s,this.helper),u.set(_,b))),I(r,b,o);var C=A.getKey();p[C]=!0,A.getState()===a.default.IDLE&&(e.tileQueue.isKeyQueued(C)||e.tileQueue.enqueue([A,d,s.getTileCoordCenter(y),h]))}},t.prototype.renderFrame=function(e){this.preRender(e);var t=e.viewState,o=e.layerStatesArray[e.layerIndex],r=x(e,e.extent),n=this.getLayer().getSource(),i=n.getTileGridForProjection(t.projection),s=i.getZForResolution(t.resolution,n.zDirection),a={};if(e.nextExtent){var l=i.getZForResolution(t.nextResolution,n.zDirection),u=x(e,e.nextExtent);this.enqueueTiles(e,u,l,a)}this.enqueueTiles(e,r,s,a);for(var c={},d=Object(v.getUid)(this),p=e.time,g=!1,y=a[s],A=0,E=y.length;A<E;++A){var I=(q=(oe=y[A]).tile).tileCoord;if(oe.loaded){if(1===(Y=q.getAlpha(d,p))){q.endTransition(d);continue}g=!0,c[H=Object(m.getKey)(I)]=Y}if(!this.findAltTiles_(i,I,s+1,a))for(var j=s-1;j>=i.minZoom;--j){if(this.findAltTiles_(i,I,j,a))break}}this.helper.useProgram(this.program_),this.helper.prepareDraw(e,!g);for(var T=Object.keys(a).map(Number).sort(_.numberSafeCompareFunction),P=this.helper.getGL(),M=t.center[0],R=t.center[1],L=0,k=T.length;L<k;++L){var N=T[L],D=i.getResolution(N),G=Object(b.toSize)(i.getTileSize(N),this.tempSize_),F=i.getOrigin(N),U=(M-F[0])/(G[0]*D),B=(F[1]-R)/(G[1]*D),z=t.resolution/D,V=O(N),W=a[N];for(A=0,E=W.length;A<E;++A){if((oe=W[A]).loaded){I=(q=oe.tile).tileCoord;var q,Y,H=Object(m.getKey)(I),X=I[1],Z=I[2];Object(h.compose)(this.tileTransform_,0,0,2/(e.size[0]*z/G[0]),-2/(e.size[1]*z/G[1]),t.rotation,-(U-X),-(B-Z)),this.helper.setUniformMatrixValue(C.TILE_TRANSFORM,Object(f.fromTransform)(this.tempMat4_,this.tileTransform_)),this.helper.bindBuffer(oe.coords),this.helper.bindBuffer(this.indices_),this.helper.enableAttributes(S);for(var K=0;K<oe.textures.length;++K){var J="TEXTURE"+K,Q=C.TILE_TEXTURE_PREFIX+K;P.activeTexture(P[J]),P.bindTexture(P.TEXTURE_2D,oe.textures[K]),P.uniform1i(this.helper.getUniformLocation(Q),K)}(Y=H in c?c[H]:1)<1&&(e.animate=!0),this.helper.setUniformFloatValue(C.TRANSITION_ALPHA,Y),this.helper.setUniformFloatValue(C.DEPTH,V),this.helper.setUniformFloatValue(C.TEXTURE_PIXEL_WIDTH,G[0]),this.helper.setUniformFloatValue(C.TEXTURE_PIXEL_HEIGHT,G[1]),this.helper.setUniformFloatValue(C.RESOLUTION,t.resolution),this.helper.setUniformFloatValue(C.ZOOM,t.zoom),this.helper.drawElements(0,this.indices_.getSize())}}}this.helper.finalizeDraw(e);var $=this.helper.getCanvas(),ee=o.opacity;this.renderedOpacity_!==ee&&($.style.opacity=String(ee),this.renderedOpacity_=ee);for(var te=this.tileTextureCache_;te.canExpireCache();){var oe;(oe=te.pop()).dispose()}return e.postRenderFunctions.push((function(e,t){n.expireCache(n.getProjection(),w)})),this.postRender(e),$},t.prototype.findAltTiles_=function(e,t,o,r){var n=e.getTileRangeForTileCoordAndZ(t,o,this.tempTileRange_);if(!n)return!1;for(var i=!0,s=this.tileTextureCache_,a=n.minX;a<=n.maxX;++a)for(var l=n.minY;l<=n.maxY;++l){var u=Object(m.getKeyZXY)(o,a,l),c=!1;if(s.containsKey(u)){var d=s.get(u);d.loaded&&(I(r,d,o),c=!0)}c||(i=!1)}return i},t.prototype.disposeInternal=function(){var t=this.helper,o=t.getGL();t.deleteBuffer(this.indices_),delete this.indices_,o.deleteProgram(this.program_),delete this.program_;var r=this.tileTextureCache_;r.forEach((function(e){e.dispose()})),r.clear(),delete this.tileTextureCache_,e.prototype.disposeInternal.call(this)},t}(c.default);j.prototype.getLayer,t.default=j},"./node_modules/ol/reproj.js":function(e,t,o){"use strict";o.r(t),o.d(t,"calculateSourceResolution",(function(){return p})),o.d(t,"calculateSourceExtentResolution",(function(){return h})),o.d(t,"render",(function(){return f}));var r,n=o("./node_modules/ol/source/common.js"),i=o("./node_modules/ol/obj.js"),s=o("./node_modules/ol/extent.js"),a=o("./node_modules/ol/dom.js"),l=o("./node_modules/ol/proj.js"),u=o("./node_modules/ol/math.js");function c(e,t,o,r,n){e.beginPath(),e.moveTo(0,0),e.lineTo(t,o),e.lineTo(r,n),e.closePath(),e.save(),e.clip(),e.fillRect(0,0,Math.max(t,r)+1,Math.max(o,n)),e.restore()}function d(e,t){return Math.abs(e[4*t]-210)>2||Math.abs(e[4*t+3]-191.25)>2}function p(e,t,o,r){var n=Object(l.transform)(o,t,e),i=Object(l.getPointResolution)(t,r,o),a=t.getMetersPerUnit();void 0!==a&&(i*=a);var u=e.getMetersPerUnit();void 0!==u&&(i/=u);var c=e.getExtent();if(!c||Object(s.containsCoordinate)(c,n)){var d=Object(l.getPointResolution)(e,i,n)/i;isFinite(d)&&d>0&&(i/=d)}return i}function h(e,t,o,r){var n=Object(s.getCenter)(o),i=p(e,t,n,r);return(!isFinite(i)||i<=0)&&Object(s.forEachCorner)(o,(function(o){return i=p(e,t,o,r),isFinite(i)&&i>0})),i}function f(e,t,o,l,p,h,f,m,g,y,v,_){var b=Object(a.createCanvasContext2D)(Math.round(o*e),Math.round(o*t));if(Object(i.assign)(b,_),0===g.length)return b.canvas;function A(e){return Math.round(e*o)/o}b.scale(o,o),b.globalCompositeOperation="lighter";var C=Object(s.createEmpty)();g.forEach((function(e,t,o){Object(s.extend)(C,e.extent)}));var E=Object(s.getWidth)(C),S=Object(s.getHeight)(C),w=Object(a.createCanvasContext2D)(Math.round(o*E/l),Math.round(o*S/l));Object(i.assign)(w,_);var O=o/l;g.forEach((function(e,t,o){var r=e.extent[0]-C[0],n=-(e.extent[3]-C[3]),i=Object(s.getWidth)(e.extent),a=Object(s.getHeight)(e.extent);e.image.width>0&&e.image.height>0&&w.drawImage(e.image,y,y,e.image.width-2*y,e.image.height-2*y,r*O,n*O,i*O,a*O)}));var I=Object(s.getTopLeft)(f);return m.getTriangles().forEach((function(e,t,i){var s=e.source,a=e.target,p=s[0][0],f=s[0][1],m=s[1][0],g=s[1][1],y=s[2][0],v=s[2][1],E=A((a[0][0]-I[0])/h),S=A(-(a[0][1]-I[1])/h),O=A((a[1][0]-I[0])/h),x=A(-(a[1][1]-I[1])/h),j=A((a[2][0]-I[0])/h),T=A(-(a[2][1]-I[1])/h),P=p,M=f;p=0,f=0;var R=[[m-=P,g-=M,0,0,O-E],[y-=P,v-=M,0,0,j-E],[0,0,m,g,x-S],[0,0,y,v,T-S]],L=Object(u.solveLinearSystem)(R);if(L){if(b.save(),b.beginPath(),function(){if(void 0===r){var e=document.createElement("canvas").getContext("2d");e.globalCompositeOperation="lighter",e.fillStyle="rgba(210, 0, 0, 0.75)",c(e,4,5,4,0),c(e,4,5,0,5);var t=e.getImageData(0,0,3,3).data;r=d(t,0)||d(t,4)||d(t,8)}return r}()||_===n.IMAGE_SMOOTHING_DISABLED){b.moveTo(O,x);for(var k=E-O,N=S-x,D=0;D<4;D++)b.lineTo(O+A((D+1)*k/4),x+A(D*N/3)),3!=D&&b.lineTo(O+A((D+1)*k/4),x+A((D+1)*N/3));b.lineTo(j,T)}else b.moveTo(O,x),b.lineTo(E,S),b.lineTo(j,T);b.clip(),b.transform(L[0],L[2],L[1],L[3],E,S),b.translate(C[0]-P,C[3]-M),b.scale(l/o,-l/o),b.drawImage(w.canvas,0,0),b.restore()}})),v&&(b.save(),b.globalCompositeOperation="source-over",b.strokeStyle="black",b.lineWidth=1,m.getTriangles().forEach((function(e,t,o){var r=e.target,n=(r[0][0]-I[0])/h,i=-(r[0][1]-I[1])/h,s=(r[1][0]-I[0])/h,a=-(r[1][1]-I[1])/h,l=(r[2][0]-I[0])/h,u=-(r[2][1]-I[1])/h;b.beginPath(),b.moveTo(s,a),b.lineTo(n,i),b.lineTo(l,u),b.closePath(),b.stroke()})),b.restore()),b.canvas}},"./node_modules/ol/reproj/Image.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/reproj/common.js"),i=o("./node_modules/ol/events/EventType.js"),s=o("./node_modules/ol/ImageBase.js"),a=o("./node_modules/ol/ImageState.js"),l=o("./node_modules/ol/reproj/Triangulation.js"),u=o("./node_modules/ol/reproj.js"),c=o("./node_modules/ol/extent.js"),d=o("./node_modules/ol/events.js"),p=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),h=function(e){function t(t,o,r,i,s,d,p){var h=this,f=t.getExtent(),m=o.getExtent(),g=m?Object(c.getIntersection)(r,m):r,y=Object(c.getCenter)(g),v=Object(u.calculateSourceResolution)(t,o,y,i),_=n.ERROR_THRESHOLD,b=new l.default(t,o,g,f,v*_,i),A=d(b.calculateSourceExtent(),v,s),C=A?a.default.IDLE:a.default.EMPTY,E=A?A.getPixelRatio():1;return(h=e.call(this,r,i,E,C)||this).targetProj_=o,h.maxSourceExtent_=f,h.triangulation_=b,h.targetResolution_=i,h.targetExtent_=r,h.sourceImage_=A,h.sourcePixelRatio_=E,h.contextOptions_=p,h.canvas_=null,h.sourceListenerKey_=null,h}return p(t,e),t.prototype.disposeInternal=function(){this.state==a.default.LOADING&&this.unlistenSource_(),e.prototype.disposeInternal.call(this)},t.prototype.getImage=function(){return this.canvas_},t.prototype.getProjection=function(){return this.targetProj_},t.prototype.reproject_=function(){var e=this.sourceImage_.getState();if(e==a.default.LOADED){var t=Object(c.getWidth)(this.targetExtent_)/this.targetResolution_,o=Object(c.getHeight)(this.targetExtent_)/this.targetResolution_;this.canvas_=Object(u.render)(t,o,this.sourcePixelRatio_,this.sourceImage_.getResolution(),this.maxSourceExtent_,this.targetResolution_,this.targetExtent_,this.triangulation_,[{extent:this.sourceImage_.getExtent(),image:this.sourceImage_.getImage()}],0,void 0,this.contextOptions_)}this.state=e,this.changed()},t.prototype.load=function(){if(this.state==a.default.IDLE){this.state=a.default.LOADING,this.changed();var e=this.sourceImage_.getState();e==a.default.LOADED||e==a.default.ERROR?this.reproject_():(this.sourceListenerKey_=Object(d.listen)(this.sourceImage_,i.default.CHANGE,(function(e){var t=this.sourceImage_.getState();t!=a.default.LOADED&&t!=a.default.ERROR||(this.unlistenSource_(),this.reproject_())}),this),this.sourceImage_.load())}},t.prototype.unlistenSource_=function(){Object(d.unlistenByKey)(this.sourceListenerKey_),this.sourceListenerKey_=null},t}(s.default);t.default=h},"./node_modules/ol/reproj/Tile.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/reproj/common.js"),i=o("./node_modules/ol/events/EventType.js"),s=o("./node_modules/ol/Tile.js"),a=o("./node_modules/ol/TileState.js"),l=o("./node_modules/ol/reproj/Triangulation.js"),u=o("./node_modules/ol/reproj.js"),c=o("./node_modules/ol/math.js"),d=o("./node_modules/ol/extent.js"),p=o("./node_modules/ol/events.js"),h=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),f=function(e){function t(t,o,r,i,s,p,h,f,m,g,y,v){var _=e.call(this,s,a.default.IDLE)||this;_.renderEdges_=void 0!==y&&y,_.contextOptions_=v,_.pixelRatio_=h,_.gutter_=f,_.canvas_=null,_.sourceTileGrid_=o,_.targetTileGrid_=i,_.wrappedTileCoord_=p||s,_.sourceTiles_=[],_.sourcesListenerKeys_=null,_.sourceZ_=0;var b=i.getTileCoordExtent(_.wrappedTileCoord_),A=_.targetTileGrid_.getExtent(),C=_.sourceTileGrid_.getExtent(),E=A?Object(d.getIntersection)(b,A):b;if(0===Object(d.getArea)(E))return _.state=a.default.EMPTY,_;var S=t.getExtent();S&&(C=C?Object(d.getIntersection)(C,S):S);var w=i.getResolution(_.wrappedTileCoord_[0]),O=Object(u.calculateSourceExtentResolution)(t,r,E,w);if(!isFinite(O)||O<=0)return _.state=a.default.EMPTY,_;var I=void 0!==g?g:n.ERROR_THRESHOLD;if(_.triangulation_=new l.default(t,r,E,C,O*I,w),0===_.triangulation_.getTriangles().length)return _.state=a.default.EMPTY,_;_.sourceZ_=o.getZForResolution(O);var x=_.triangulation_.calculateSourceExtent();if(C&&(t.canWrapX()?(x[1]=Object(c.clamp)(x[1],C[1],C[3]),x[3]=Object(c.clamp)(x[3],C[1],C[3])):x=Object(d.getIntersection)(x,C)),Object(d.getArea)(x)){for(var j=o.getTileRangeForExtentAndZ(x,_.sourceZ_),T=j.minX;T<=j.maxX;T++)for(var P=j.minY;P<=j.maxY;P++){var M=m(_.sourceZ_,T,P,h);M&&_.sourceTiles_.push(M)}0===_.sourceTiles_.length&&(_.state=a.default.EMPTY)}else _.state=a.default.EMPTY;return _}return h(t,e),t.prototype.getImage=function(){return this.canvas_},t.prototype.reproject_=function(){var e=[];if(this.sourceTiles_.forEach(function(t,o,r){t&&t.getState()==a.default.LOADED&&e.push({extent:this.sourceTileGrid_.getTileCoordExtent(t.tileCoord),image:t.getImage()})}.bind(this)),this.sourceTiles_.length=0,0===e.length)this.state=a.default.ERROR;else{var t=this.wrappedTileCoord_[0],o=this.targetTileGrid_.getTileSize(t),r="number"==typeof o?o:o[0],n="number"==typeof o?o:o[1],i=this.targetTileGrid_.getResolution(t),s=this.sourceTileGrid_.getResolution(this.sourceZ_),l=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=Object(u.render)(r,n,this.pixelRatio_,s,this.sourceTileGrid_.getExtent(),i,l,this.triangulation_,e,this.gutter_,this.renderEdges_,this.contextOptions_),this.state=a.default.LOADED}this.changed()},t.prototype.load=function(){if(this.state==a.default.IDLE){this.state=a.default.LOADING,this.changed();var e=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach(function(t,o,r){var n=t.getState();if(n==a.default.IDLE||n==a.default.LOADING){e++;var s=Object(p.listen)(t,i.default.CHANGE,(function(o){var r=t.getState();r!=a.default.LOADED&&r!=a.default.ERROR&&r!=a.default.EMPTY||(Object(p.unlistenByKey)(s),0===--e&&(this.unlistenSources_(),this.reproject_()))}),this);this.sourcesListenerKeys_.push(s)}}.bind(this)),0===e?setTimeout(this.reproject_.bind(this),0):this.sourceTiles_.forEach((function(e,t,o){e.getState()==a.default.IDLE&&e.load()}))}},t.prototype.unlistenSources_=function(){this.sourcesListenerKeys_.forEach(p.unlistenByKey),this.sourcesListenerKeys_=null},t}(s.default);t.default=f},"./node_modules/ol/reproj/Triangulation.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/extent.js"),n=o("./node_modules/ol/proj.js"),i=o("./node_modules/ol/math.js"),s=function(){function e(e,t,o,s,a,l){this.sourceProj_=e,this.targetProj_=t;var u={},c=Object(n.getTransform)(this.targetProj_,this.sourceProj_);this.transformInv_=function(e){var t=e[0]+"/"+e[1];return u[t]||(u[t]=c(e)),u[t]},this.maxSourceExtent_=s,this.errorThresholdSquared_=a*a,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!s&&!!this.sourceProj_.getExtent()&&Object(r.getWidth)(s)==Object(r.getWidth)(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?Object(r.getWidth)(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?Object(r.getWidth)(this.targetProj_.getExtent()):null;var d=Object(r.getTopLeft)(o),p=Object(r.getTopRight)(o),h=Object(r.getBottomRight)(o),f=Object(r.getBottomLeft)(o),m=this.transformInv_(d),g=this.transformInv_(p),y=this.transformInv_(h),v=this.transformInv_(f),_=10+(l?Math.max(0,Math.ceil(Object(i.log2)(Object(r.getArea)(o)/(l*l*256*256)))):0);if(this.addQuad_(d,p,h,f,m,g,y,v,_),this.wrapsXInSource_){var b=1/0;this.triangles_.forEach((function(e,t,o){b=Math.min(b,e.source[0][0],e.source[1][0],e.source[2][0])})),this.triangles_.forEach(function(e){if(Math.max(e.source[0][0],e.source[1][0],e.source[2][0])-b>this.sourceWorldWidth_/2){var t=[[e.source[0][0],e.source[0][1]],[e.source[1][0],e.source[1][1]],[e.source[2][0],e.source[2][1]]];t[0][0]-b>this.sourceWorldWidth_/2&&(t[0][0]-=this.sourceWorldWidth_),t[1][0]-b>this.sourceWorldWidth_/2&&(t[1][0]-=this.sourceWorldWidth_),t[2][0]-b>this.sourceWorldWidth_/2&&(t[2][0]-=this.sourceWorldWidth_);var o=Math.min(t[0][0],t[1][0],t[2][0]);Math.max(t[0][0],t[1][0],t[2][0])-o<this.sourceWorldWidth_/2&&(e.source=t)}}.bind(this))}u={}}return e.prototype.addTriangle_=function(e,t,o,r,n,i){this.triangles_.push({source:[r,n,i],target:[e,t,o]})},e.prototype.addQuad_=function(e,t,o,n,s,a,l,u,c){var d=Object(r.boundingExtent)([s,a,l,u]),p=this.sourceWorldWidth_?Object(r.getWidth)(d)/this.sourceWorldWidth_:null,h=this.sourceWorldWidth_,f=this.sourceProj_.canWrapX()&&p>.5&&p<1,m=!1;if(c>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){var g=Object(r.boundingExtent)([e,t,o,n]);m=Object(r.getWidth)(g)/this.targetWorldWidth_>.25||m}!f&&this.sourceProj_.isGlobal()&&p&&(m=p>.25||m)}if(!(!m&&this.maxSourceExtent_&&isFinite(d[0])&&isFinite(d[1])&&isFinite(d[2])&&isFinite(d[3]))||Object(r.intersects)(d,this.maxSourceExtent_)){var y=0;if(!(m||isFinite(s[0])&&isFinite(s[1])&&isFinite(a[0])&&isFinite(a[1])&&isFinite(l[0])&&isFinite(l[1])&&isFinite(u[0])&&isFinite(u[1])))if(c>0)m=!0;else if(1!=(y=(isFinite(s[0])&&isFinite(s[1])?0:8)+(isFinite(a[0])&&isFinite(a[1])?0:4)+(isFinite(l[0])&&isFinite(l[1])?0:2)+(isFinite(u[0])&&isFinite(u[1])?0:1))&&2!=y&&4!=y&&8!=y)return;if(c>0){if(!m){var v=[(e[0]+o[0])/2,(e[1]+o[1])/2],_=this.transformInv_(v),b=void 0;if(f)b=(Object(i.modulo)(s[0],h)+Object(i.modulo)(l[0],h))/2-Object(i.modulo)(_[0],h);else b=(s[0]+l[0])/2-_[0];var A=(s[1]+l[1])/2-_[1];m=b*b+A*A>this.errorThresholdSquared_}if(m){if(Math.abs(e[0]-o[0])<=Math.abs(e[1]-o[1])){var C=[(t[0]+o[0])/2,(t[1]+o[1])/2],E=this.transformInv_(C),S=[(n[0]+e[0])/2,(n[1]+e[1])/2],w=this.transformInv_(S);this.addQuad_(e,t,C,S,s,a,E,w,c-1),this.addQuad_(S,C,o,n,w,E,l,u,c-1)}else{var O=[(e[0]+t[0])/2,(e[1]+t[1])/2],I=this.transformInv_(O),x=[(o[0]+n[0])/2,(o[1]+n[1])/2],j=this.transformInv_(x);this.addQuad_(e,O,x,n,s,I,j,u,c-1),this.addQuad_(O,t,o,x,I,a,l,j,c-1)}return}}if(f){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}11&y||this.addTriangle_(e,o,n,s,l,u),14&y||this.addTriangle_(e,o,t,s,l,a),y&&(13&y||this.addTriangle_(t,n,e,a,u,s),7&y||this.addTriangle_(t,n,o,a,u,l))}},e.prototype.calculateSourceExtent=function(){var e=Object(r.createEmpty)();return this.triangles_.forEach((function(t,o,n){var i=t.source;Object(r.extendCoordinate)(e,i[0]),Object(r.extendCoordinate)(e,i[1]),Object(r.extendCoordinate)(e,i[2])})),e},e.prototype.getTriangles=function(){return this.triangles_},e}();t.default=s},"./node_modules/ol/reproj/common.js":function(e,t,o){"use strict";o.r(t),o.d(t,"ERROR_THRESHOLD",(function(){return r})),o.d(t,"ENABLE_RASTER_REPROJECTION",(function(){return n}));var r=.5,n=!0},"./node_modules/ol/resolutionconstraint.js":function(e,t,o){"use strict";o.r(t),o.d(t,"createSnapToResolutions",(function(){return l})),o.d(t,"createSnapToPower",(function(){return u})),o.d(t,"createMinMaxResolution",(function(){return c}));var r=o("./node_modules/ol/math.js"),n=o("./node_modules/ol/extent.js"),i=o("./node_modules/ol/array.js");function s(e,t,o,r){var i=Object(n.getWidth)(t)/o[0],s=Object(n.getHeight)(t)/o[1];return r?Math.min(e,Math.max(i,s)):Math.min(e,Math.min(i,s))}function a(e,t,o){var n=Math.min(e,t);return n*=Math.log(1+50*Math.max(0,e/t-1))/50+1,o&&(n=Math.max(n,o),n/=Math.log(1+50*Math.max(0,o/e-1))/50+1),Object(r.clamp)(n,o/2,2*t)}function l(e,t,o,n){return function(l,u,c,d){if(void 0!==l){var p=e[0],h=e[e.length-1],f=o?s(p,o,c,n):p;if(d)return void 0===t||t?a(l,f,h):Object(r.clamp)(l,h,f);var m=Math.min(f,l),g=Math.floor(Object(i.linearFindNearest)(e,m,u));return e[g]>f&&g<e.length-1?e[g+1]:e[g]}}}function u(e,t,o,n,i,l){return function(u,c,d,p){if(void 0!==u){var h=i?s(t,i,d,l):t,f=void 0!==o?o:0;if(p)return void 0===n||n?a(u,h,f):Object(r.clamp)(u,f,h);var m=Math.ceil(Math.log(t/h)/Math.log(e)-1e-9),g=-c*(.5-1e-9)+.5,y=Math.min(h,u),v=Math.floor(Math.log(t/y)/Math.log(e)+g),_=Math.max(m,v),b=t/Math.pow(e,_);return Object(r.clamp)(b,f,h)}}}function c(e,t,o,n,i){return function(l,u,c,d){if(void 0!==l){var p=n?s(e,n,c,i):e;return(void 0===o||o)&&d?a(l,p,t):Object(r.clamp)(l,t,p)}}}},"./node_modules/ol/rotationconstraint.js":function(e,t,o){"use strict";o.r(t),o.d(t,"disable",(function(){return n})),o.d(t,"none",(function(){return i})),o.d(t,"createSnapToN",(function(){return s})),o.d(t,"createSnapToZero",(function(){return a}));var r=o("./node_modules/ol/math.js");function n(e){return void 0!==e?0:void 0}function i(e){return void 0!==e?e:void 0}function s(e){var t=2*Math.PI/e;return function(e,o){return o?e:void 0!==e?e=Math.floor(e/t+.5)*t:void 0}}function a(e){var t=e||Object(r.toRadians)(5);return function(e,o){return o?e:void 0!==e?Math.abs(e)<=t?0:e:void 0}}},"./node_modules/ol/size.js":function(e,t,o){"use strict";function r(e,t,o){return void 0===o&&(o=[0,0]),o[0]=e[0]+2*t,o[1]=e[1]+2*t,o}function n(e){return e[0]>0&&e[1]>0}function i(e,t,o){return void 0===o&&(o=[0,0]),o[0]=e[0]*t+.5|0,o[1]=e[1]*t+.5|0,o}function s(e,t){return Array.isArray(e)?e:(void 0===t?t=[e,e]:(t[0]=e,t[1]=e),t)}o.r(t),o.d(t,"buffer",(function(){return r})),o.d(t,"hasArea",(function(){return n})),o.d(t,"scale",(function(){return i})),o.d(t,"toSize",(function(){return s}))},"./node_modules/ol/source/BingMaps.js":function(e,t,o){"use strict";o.r(t),o.d(t,"quadKey",(function(){return h}));var r,n=o("./node_modules/ol/source/State.js"),i=o("./node_modules/ol/source/TileImage.js"),s=o("./node_modules/ol/extent.js"),a=o("./node_modules/ol/tileurlfunction.js"),l=o("./node_modules/ol/tilecoord.js"),u=o("./node_modules/ol/tilegrid.js"),c=o("./node_modules/ol/proj.js"),d=o("./node_modules/ol/net.js"),p=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});function h(e){var t,o,r=e[0],n=new Array(r),i=1<<r-1;for(t=0;t<r;++t)o=48,e[1]&i&&(o+=1),e[2]&i&&(o+=2),n[t]=String.fromCharCode(o),i>>=1;return n.join("")}var f=function(e){function t(t){var o=this,r=void 0!==t.hidpi&&t.hidpi;(o=e.call(this,{cacheSize:t.cacheSize,crossOrigin:"anonymous",imageSmoothing:t.imageSmoothing,opaque:!0,projection:Object(c.get)("EPSG:3857"),reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:n.default.LOADING,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:r?2:1,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition,zDirection:t.zDirection})||this).hidpi_=r,o.culture_=void 0!==t.culture?t.culture:"en-us",o.maxZoom_=void 0!==t.maxZoom?t.maxZoom:-1,o.apiKey_=t.key,o.imagerySet_=t.imagerySet;var i="https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+o.imagerySet_+"?uriScheme=https&include=ImageryProviders&key="+o.apiKey_+"&c="+o.culture_;return Object(d.jsonp)(i,o.handleImageryMetadataResponse.bind(o),void 0,"jsonp"),o}return p(t,e),t.prototype.getApiKey=function(){return this.apiKey_},t.prototype.getImagerySet=function(){return this.imagerySet_},t.prototype.handleImageryMetadataResponse=function(e){if(200==e.statusCode&&"OK"==e.statusDescription&&"ValidCredentials"==e.authenticationResultCode&&1==e.resourceSets.length&&1==e.resourceSets[0].resources.length){var t=e.resourceSets[0].resources[0],o=-1==this.maxZoom_?t.zoomMax:this.maxZoom_,r=this.getProjection(),i=Object(u.extentFromProjection)(r),d=this.hidpi_?2:1,p=t.imageWidth==t.imageHeight?t.imageWidth/d:[t.imageWidth/d,t.imageHeight/d],f=Object(u.createXYZ)({extent:i,minZoom:t.zoomMin,maxZoom:o,tileSize:p});this.tileGrid=f;var m=this.culture_,g=this.hidpi_;if(this.tileUrlFunction=Object(a.createFromTileUrlFunctions)(t.imageUrlSubdomains.map((function(e){var o=[0,0,0],r=t.imageUrl.replace("{subdomain}",e).replace("{culture}",m);return function(e,t,n){if(e){Object(l.createOrUpdate)(e[0],e[1],e[2],o);var i=r;return g&&(i+="&dpi=d1&device=mobile"),i.replace("{quadkey}",h(o))}}}))),t.imageryProviders){var y=Object(c.getTransformFromProjections)(Object(c.get)("EPSG:4326"),this.getProjection());this.setAttributions(function(e){var o=[],r=e.viewState,n=this.getTileGrid(),i=n.getZForResolution(r.resolution,this.zDirection),a=n.getTileCoordForCoordAndZ(r.center,i)[0];return t.imageryProviders.map((function(t){for(var r=!1,n=t.coverageAreas,i=0,l=n.length;i<l;++i){var u=n[i];if(a>=u.zoomMin&&a<=u.zoomMax){var c=u.bbox,d=[c[1],c[0],c[3],c[2]],p=Object(s.applyTransform)(d,y);if(Object(s.intersects)(p,e.extent)){r=!0;break}}}r&&o.push(t.attribution)})),o.push('<a class="ol-attribution-bing-tos" href="https://www.microsoft.com/maps/product/terms.html" target="_blank">Terms of Use</a>'),o}.bind(this))}this.setState(n.default.READY)}else this.setState(n.default.ERROR)},t}(i.default);t.default=f},"./node_modules/ol/source/CartoDB.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/source/State.js"),i=o("./node_modules/ol/source/XYZ.js"),s=o("./node_modules/ol/obj.js"),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=function(e){function t(t){var o=e.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,maxZoom:void 0!==t.maxZoom?t.maxZoom:18,minZoom:t.minZoom,projection:t.projection,transition:t.transition,wrapX:t.wrapX,zDirection:t.zDirection})||this;return o.account_=t.account,o.mapId_=t.map||"",o.config_=t.config||{},o.templateCache_={},o.initializeMap_(),o}return a(t,e),t.prototype.getConfig=function(){return this.config_},t.prototype.updateConfig=function(e){Object(s.assign)(this.config_,e),this.initializeMap_()},t.prototype.setConfig=function(e){this.config_=e||{},this.initializeMap_()},t.prototype.initializeMap_=function(){var e=JSON.stringify(this.config_);if(this.templateCache_[e])this.applyTemplate_(this.templateCache_[e]);else{var t="https://"+this.account_+".carto.com/api/v1/map";this.mapId_&&(t+="/named/"+this.mapId_);var o=new XMLHttpRequest;o.addEventListener("load",this.handleInitResponse_.bind(this,e)),o.addEventListener("error",this.handleInitError_.bind(this)),o.open("POST",t),o.setRequestHeader("Content-type","application/json"),o.send(JSON.stringify(this.config_))}},t.prototype.handleInitResponse_=function(e,t){var o=t.target;if(!o.status||o.status>=200&&o.status<300){var r=void 0;try{r=JSON.parse(o.responseText)}catch(e){return void this.setState(n.default.ERROR)}this.applyTemplate_(r),this.templateCache_[e]=r,this.setState(n.default.READY)}else this.setState(n.default.ERROR)},t.prototype.handleInitError_=function(e){this.setState(n.default.ERROR)},t.prototype.applyTemplate_=function(e){var t="https://"+e.cdn_url.https+"/"+this.account_+"/api/v1/map/"+e.layergroupid+"/{z}/{x}/{y}.png";this.setUrl(t)},t}(i.default);t.default=l},"./node_modules/ol/source/Cluster.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/events/EventType.js"),i=o("./node_modules/ol/Feature.js"),s=o("./node_modules/ol/geom/GeometryType.js"),a=o("./node_modules/ol/geom/Point.js"),l=o("./node_modules/ol/source/Vector.js"),u=o("./node_modules/ol/coordinate.js"),c=o("./node_modules/ol/asserts.js"),d=o("./node_modules/ol/extent.js"),p=o("./node_modules/ol/util.js"),h=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),f=function(e){function t(t){var o=e.call(this,{attributions:t.attributions,wrapX:t.wrapX})||this;return o.resolution=void 0,o.distance=void 0!==t.distance?t.distance:20,o.minDistance=t.minDistance||0,o.interpolationRatio=0,o.features=[],o.geometryFunction=t.geometryFunction||function(e){var t=e.getGeometry();return Object(c.assert)(t.getType()==s.default.POINT,10),t},o.createCustomCluster_=t.createCluster,o.source=null,o.boundRefresh_=o.refresh.bind(o),o.updateDistance(o.distance,o.minDistance),o.setSource(t.source||null),o}return h(t,e),t.prototype.clear=function(t){this.features.length=0,e.prototype.clear.call(this,t)},t.prototype.getDistance=function(){return this.distance},t.prototype.getSource=function(){return this.source},t.prototype.loadFeatures=function(e,t,o){this.source.loadFeatures(e,t,o),t!==this.resolution&&(this.resolution=t,this.refresh())},t.prototype.setDistance=function(e){this.updateDistance(e,this.minDistance)},t.prototype.setMinDistance=function(e){this.updateDistance(this.distance,e)},t.prototype.getMinDistance=function(){return this.minDistance},t.prototype.setSource=function(e){this.source&&this.source.removeEventListener(n.default.CHANGE,this.boundRefresh_),this.source=e,e&&e.addEventListener(n.default.CHANGE,this.boundRefresh_),this.refresh()},t.prototype.refresh=function(){this.clear(),this.cluster(),this.addFeatures(this.features)},t.prototype.updateDistance=function(e,t){var o=0===e?0:Math.min(t,e)/e,r=e!==this.distance||this.interpolationRatio!==o;this.distance=e,this.minDistance=t,this.interpolationRatio=o,r&&this.refresh()},t.prototype.cluster=function(){if(void 0!==this.resolution&&this.source)for(var e=Object(d.createEmpty)(),t=this.distance*this.resolution,o=this.source.getFeatures(),r={},n=0,i=o.length;n<i;n++){var s=o[n];if(!(Object(p.getUid)(s)in r)){var a=this.geometryFunction(s);if(a){var l=a.getCoordinates();Object(d.createOrUpdateFromCoordinate)(l,e),Object(d.buffer)(e,t,e);var u=this.source.getFeaturesInExtent(e).filter((function(e){var t=Object(p.getUid)(e);return!(t in r)&&(r[t]=!0,!0)}));this.features.push(this.createCluster(u,e))}}}},t.prototype.createCluster=function(e,t){for(var o=[0,0],r=e.length-1;r>=0;--r){var n=this.geometryFunction(e[r]);n?Object(u.add)(o,n.getCoordinates()):e.splice(r,1)}Object(u.scale)(o,1/e.length);var s=Object(d.getCenter)(t),l=this.interpolationRatio,c=new a.default([o[0]*(1-l)+s[0]*l,o[1]*(1-l)+s[1]*l]);return this.createCustomCluster_?this.createCustomCluster_(c,e):new i.default({geometry:c,features:e})},t}(l.default);t.default=f},"./node_modules/ol/source/DataTile.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/DataTile.js"),i=o("./node_modules/ol/events/EventType.js"),s=o("./node_modules/ol/source/TileEventType.js"),a=o("./node_modules/ol/source/Tile.js"),l=o("./node_modules/ol/TileState.js"),u=o("./node_modules/ol/obj.js"),c=o("./node_modules/ol/tilegrid.js"),d=o("./node_modules/ol/tilecoord.js"),p=o("./node_modules/ol/util.js"),h=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),f=function(e){function t(t){var o=this,r=void 0===t.projection?"EPSG:3857":t.projection,n=t.tileGrid;return void 0===n&&r&&(n=Object(c.createXYZ)({extent:Object(c.extentFromProjection)(r),maxResolution:t.maxResolution,maxZoom:t.maxZoom,minZoom:t.minZoom,tileSize:t.tileSize})),(o=e.call(this,{cacheSize:.1,projection:r,tileGrid:n,opaque:t.opaque,state:t.state,tilePixelRatio:t.tilePixelRatio,wrapX:t.wrapX,transition:t.transition})||this).tileLoadingKeys_={},o.loader_=t.loader,o.handleTileChange_=o.handleTileChange_.bind(o),o.bandCount=void 0===t.bandCount?4:t.bandCount,o}return h(t,e),t.prototype.setLoader=function(e){this.loader_=e},t.prototype.getTile=function(e,t,o,r,s){var a=Object(d.getKeyZXY)(e,t,o);if(this.tileCache.containsKey(a))return this.tileCache.get(a);var l=this.loader_;var c=new n.default(Object(u.assign)({tileCoord:[e,t,o],loader:function(){return l(e,t,o)}},this.tileOptions));return c.key=this.getKey(),c.addEventListener(i.default.CHANGE,this.handleTileChange_),this.tileCache.set(a,c),c},t.prototype.handleTileChange_=function(e){var t,o=e.target,r=Object(p.getUid)(o),n=o.getState();n==l.default.LOADING?(this.tileLoadingKeys_[r]=!0,t=s.default.TILELOADSTART):r in this.tileLoadingKeys_&&(delete this.tileLoadingKeys_[r],t=n==l.default.ERROR?s.default.TILELOADERROR:n==l.default.LOADED?s.default.TILELOADEND:void 0),t&&this.dispatchEvent(new a.TileSourceEvent(t,o))},t}(a.default);t.default=f},"./node_modules/ol/source/GeoTIFF.js":function(e,t,o){"use strict";o.r(t);var r,n,i=o("./node_modules/ol/source/DataTile.js"),s=o("./node_modules/ol/source/State.js"),a=o("./node_modules/ol/tilegrid/TileGrid.js"),l=o("./node_modules/geotiff/src/geotiff.js"),u=o("./node_modules/ol/proj.js"),c=o("./node_modules/ol/math.js"),d=o("./node_modules/ol/worker/geotiff-decoder.js"),p=o("./node_modules/ol/extent.js"),h=o("./node_modules/ol/size.js"),f=o("./node_modules/ol/proj/Units.js"),m=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});function g(e){try{return e.getBoundingBox()}catch(o){var t=e.fileDirectory;return[0,0,t.ImageWidth,t.ImageLength]}}function y(e){try{return e.getOrigin().slice(0,2)}catch(t){return[0,e.fileDirectory.ImageLength]}}function v(e,t){try{return e.getResolution(t)[0]}catch(o){return t.fileDirectory.ImageWidth/e.fileDirectory.ImageWidth}}function _(e){var t=e.geoKeys;if(!t)return null;if(t.ProjectedCSTypeGeoKey){var o="EPSG:"+t.ProjectedCSTypeGeoKey;if(!(r=Object(u.get)(o)))(n=Object(f.fromCode)(t.ProjLinearUnitsGeoKey))&&(r=new u.Projection({code:o,units:n}));return r}if(t.GeographicTypeGeoKey){var r,n;o="EPSG:"+t.GeographicTypeGeoKey;if(!(r=Object(u.get)(o)))(n=Object(f.fromCode)(t.GeogAngularUnitsGeoKey))&&(r=new u.Projection({code:o,units:n}));return r}return null}function b(e){return e.getImageCount().then((function(t){for(var o=new Array(t),r=0;r<t;++r)o[r]=e.getImage(r);return Promise.all(o)}))}function A(e,t,o,r,n){if(Array.isArray(e)){var i=e.length;if(!Array.isArray(t)||i!=t.length){var s=new Error(r);throw n(s),s}for(var a=0;a<i;++a)A(e[a],t[a],o,r,n)}else if(Math.abs(e-t)>o*e)throw new Error(r)}function C(e){return e instanceof Int8Array?127:e instanceof Uint8Array||e instanceof Uint8ClampedArray?255:e instanceof Int16Array?32767:e instanceof Uint16Array?65535:e instanceof Int32Array?2147483647:e instanceof Uint32Array?4294967295:e instanceof Float32Array?34e37:255}var E=function(e){function t(t){var o=e.call(this,{state:s.default.LOADING,tileGrid:null,projection:null,opaque:t.opaque,transition:t.transition})||this;o.sourceInfo_=t.sources;var r=o.sourceInfo_.length;o.sourceImagery_=new Array(r),o.resolutionFactors_=new Array(r),o.samplesPerPixel_,o.nodataValues_,o.normalize_=!1!==t.normalize,o.addAlpha_=!1,o.error_=null,o.readMethod_=t.convertToRGB?"readRGB":"readRasters",o.setKey(o.sourceInfo_.map((function(e){return e.url})).join(","));for(var n,i=o,a=new Array(r),u=0;u<r;++u)a[u]=((n=o.sourceInfo_[u]).overviews?Object(l.fromUrls)(n.url,n.overviews):Object(l.fromUrl)(n.url)).then(b);return Promise.all(a).then((function(e){i.configure_(e)})).catch((function(e){console.error(e),i.error_=e,i.setState(s.default.ERROR)})),o}return m(t,e),t.prototype.getError=function(){return this.error_},t.prototype.configure_=function(e){for(var t,o,r,n,i=new Array(e.length),l=new Array(e.length),c=0,d=e.length,h=function(s){var a=e[s],u=a.length,d=void 0,h=void 0,m=new Array(u),_=new Array(u);l[s]=new Array(u);for(var b=0;b<u;++b){var C=a[b],E=C.getGDALNoData();l[s][b]=null===E?NaN:E;var S=f.sourceInfo_[s].bands;i[s]=S?S.length:C.getSamplesPerPixel();var w=u-(b+1);d||(d=g(C)),h||(h=y(C)),_[w]=v(C,a[0]),m[w]=[C.getTileWidth(),C.getTileHeight()]}(t?Object(p.getIntersection)(t,d,t):t=d,o)?A(o,h,0,x="Origin mismatch for source "+s+", got ["+h+"] but expected ["+o+"]",f.viewRejector):o=h;if(n){n.length-c>_.length&&(c=n.length-_.length);var O=n[n.length-1]/_[_.length-1];f.resolutionFactors_[s]=O;var I=_.map((function(e){return e*O})),x="Resolution mismatch for source "+s+", got ["+I+"] but expected ["+n+"]";A(n.slice(c,n.length),I,.005,x,f.viewRejector)}else n=_,f.resolutionFactors_[s]=1;r?A(r.slice(c,r.length),m,0,"Tile size mismatch for source "+s,f.viewRejector):r=m,f.sourceImagery_[s]=a.reverse()},f=this,m=0;m<d;++m)h(m);for(var b=0,C=this.sourceImagery_.length;b<C;++b)for(var E=this.sourceImagery_[b];E.length<n.length;)E.unshift(void 0);if(!this.getProjection()){var S=e[0];for(b=S.length-1;b>=0;--b){var w=_(S[b]);if(w){this.projection=w;break}}}this.samplesPerPixel_=i,this.nodataValues_=l;e:for(m=0;m<d;++m){if(void 0!==this.sourceInfo_[m].nodata){this.addAlpha_=!0;break}var O=l[m],I=this.sourceInfo_[m].bands;if(I){for(b=0;b<I.length;++b)if(!isNaN(O[I[b]-1])){this.addAlpha_=!0;break e}}else for(var x=0;x<O.length;++x)if(!isNaN(O[x])){this.addAlpha_=!0;break e}}var j=this.addAlpha_?1:0;this.bandCount=i.reduce((function(e,t){return e+=t}),0)+j;var T=new a.default({extent:t,minZoom:c,origin:o,resolutions:n,tileSizes:r});this.tileGrid=T,this.setLoader(this.loadTile_.bind(this)),this.setState(s.default.READY),this.viewResolver({projection:this.projection,resolutions:n,center:Object(u.toUserCoordinate)(Object(p.getCenter)(t),this.projection),extent:Object(u.toUserExtent)(t,this.projection),zoom:0})},t.prototype.loadTile_=function(e,t,o){for(var r=Object(h.toSize)(this.tileGrid.getTileSize(e)),i=this.sourceImagery_.length,s=new Array(i),a=this.addAlpha_,u=this.bandCount,p=this.samplesPerPixel_,f=this.nodataValues_,m=this.sourceInfo_,g=function(i){var a=m[i],u=y.resolutionFactors_[i],c=[Math.round(t*(r[0]*u)),Math.round(o*(r[1]*u)),Math.round((t+1)*(r[0]*u)),Math.round((o+1)*(r[1]*u))],p=y.sourceImagery_[i][e],h=void 0;a.bands&&(h=a.bands.map((function(e){return e-1})));var g=void 0;g=isNaN(a.nodata)?h?h.map((function(e){return f[i][e]})):f[i]:a.nodata,s[i]=p[y.readMethod_]({window:c,width:r[0],height:r[1],samples:h,fillValue:g,pool:(n||(n=new l.Pool(void 0,Object(d.create)())),n),interleave:!1})},y=this,v=0;v<i;++v)g(v);var _=r[0]*r[1],b=_*u,A=this.normalize_;return Promise.all(s).then((function(e){var t;t=A?new Uint8Array(b):new Float32Array(b);for(var o,r=0,n=0;n<_;++n){for(var s=a,l=0;l<i;++l){var u=m[l],d=u.min,h=u.max,g=void 0,y=void 0;A&&(void 0===d&&(d=(o=e[l][0])instanceof Int8Array?-128:o instanceof Int16Array?-32768:o instanceof Int32Array?-2147483648:o instanceof Float32Array?12e-39:0),void 0===h&&(h=C(e[l][0])),y=-d*(g=255/(h-d)));for(var v=0;v<p[l];++v){var E=e[l][v][n],S=void 0;if(S=A?Object(c.clamp)(g*E+y,0,255):E,a){var w=u.nodata;if(void 0===w){var O=void 0;O=u.bands?u.bands[v]-1:v,w=f[l][O]}E!==w&&(s=!1,t[r]=S)}else t[r]=S;r++}}a&&(s||(t[r]=255),r++)}return t}))},t}(i.default);E.prototype.getView,t.default=E},"./node_modules/ol/source/IIIF.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/tilegrid/TileGrid.js"),i=o("./node_modules/ol/source/TileImage.js"),s=o("./node_modules/ol/source/Zoomify.js"),a=o("./node_modules/ol/tilegrid/common.js"),l=o("./node_modules/ol/format/IIIFInfo.js"),u=o("./node_modules/ol/asserts.js"),c=o("./node_modules/ol/extent.js"),d=o("./node_modules/ol/array.js"),p=o("./node_modules/ol/size.js"),h=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});function f(e){return e.toLocaleString("en",{maximumFractionDigits:10})}var m=function(e){function t(t){var o=this,r=t||{},i=r.url||"";i+=i.lastIndexOf("/")===i.length-1||""===i?"":"/";var h=r.version||l.Versions.VERSION2,m=r.sizes||[],g=r.size;Object(u.assert)(null!=g&&Array.isArray(g)&&2==g.length&&!isNaN(g[0])&&g[0]>0&&!isNaN(g[1])&&g[1]>0,60);var y,v,_,b=g[0],A=g[1],C=r.tileSize,E=r.tilePixelRatio||1,S=r.format||"jpg",w=r.quality||(r.version==l.Versions.VERSION1?"native":"default"),O=r.resolutions||[],I=r.supports||[],x=r.extent||[0,-A,b,0],j=null!=m&&Array.isArray(m)&&m.length>0,T=void 0!==C&&("number"==typeof C&&Number.isInteger(C)&&C>0||Array.isArray(C)&&C.length>0),P=null!=I&&Array.isArray(I)&&(Object(d.includes)(I,"regionByPx")||Object(d.includes)(I,"regionByPct"))&&(Object(d.includes)(I,"sizeByWh")||Object(d.includes)(I,"sizeByH")||Object(d.includes)(I,"sizeByW")||Object(d.includes)(I,"sizeByPct"));if(O.sort((function(e,t){return t-e})),T||P)if(null!=C&&("number"==typeof C&&Number.isInteger(C)&&C>0?(y=C,v=C):Array.isArray(C)&&C.length>0&&((1==C.length||null==C[1]&&Number.isInteger(C[0]))&&(y=C[0],v=C[0]),2==C.length&&(Number.isInteger(C[0])&&Number.isInteger(C[1])?(y=C[0],v=C[1]):null==C[0]&&Number.isInteger(C[1])&&(y=C[1],v=C[1])))),void 0!==y&&void 0!==v||(y=a.DEFAULT_TILE_SIZE,v=a.DEFAULT_TILE_SIZE),0==O.length)for(var M=_=Math.max(Math.ceil(Math.log(b/y)/Math.LN2),Math.ceil(Math.log(A/v)/Math.LN2));M>=0;M--)O.push(Math.pow(2,M));else{var R=Math.max.apply(Math,O);_=Math.round(Math.log(R)/Math.LN2)}else if(y=b,v=A,O=[],j){m.sort((function(e,t){return e[0]-t[0]})),_=-1;var L=[];for(M=0;M<m.length;M++){var k=b/m[M][0];O.length>0&&O[O.length-1]==k?L.push(M):(O.push(k),_++)}if(L.length>0)for(M=0;M<L.length;M++)m.splice(L[M]-M,1)}else O.push(1),m.push([b,A]),_=0;var N=new n.default({tileSize:[y,v],extent:x,origin:Object(c.getTopLeft)(x),resolutions:O}),D=s.CustomTile.bind(null,Object(p.toSize)(C||256).map((function(e){return e*E})));return(o=e.call(this,{attributions:r.attributions,attributionsCollapsible:r.attributionsCollapsible,cacheSize:r.cacheSize,crossOrigin:r.crossOrigin,imageSmoothing:r.imageSmoothing,projection:r.projection,reprojectionErrorThreshold:r.reprojectionErrorThreshold,state:r.state,tileClass:D,tileGrid:N,tilePixelRatio:r.tilePixelRatio,tileUrlFunction:function(e,t,o){var r,n,s=e[0];if(!(s>_)){var a=e[1],u=e[2],c=O[s];if(!(void 0===a||void 0===u||void 0===c||a<0||Math.ceil(b/c/y)<=a||u<0||Math.ceil(A/c/v)<=u)){if(P||T){var p=a*y*c,g=u*v*c,C=y*c,E=v*c,x=y,M=v;if(p+C>b&&(C=b-p),g+E>A&&(E=A-g),p+y*c>b&&(x=Math.floor((b-p+c-1)/c)),g+v*c>A&&(M=Math.floor((A-g+c-1)/c)),0==p&&C==b&&0==g&&E==A)r="full";else if(!P||Object(d.includes)(I,"regionByPx"))r=p+","+g+","+C+","+E;else if(Object(d.includes)(I,"regionByPct")){r="pct:"+f(p/b*100)+","+f(g/A*100)+","+f(C/b*100)+","+f(E/A*100)}h!=l.Versions.VERSION3||P&&!Object(d.includes)(I,"sizeByWh")?!P||Object(d.includes)(I,"sizeByW")?n=x+",":Object(d.includes)(I,"sizeByH")?n=","+M:Object(d.includes)(I,"sizeByWh")?n=x+","+M:Object(d.includes)(I,"sizeByPct")&&(n="pct:"+f(100/c)):n=x+","+M}else if(r="full",j){var R=m[s][0],L=m[s][1];n=h==l.Versions.VERSION3?R==b&&L==A?"max":R+","+L:R==b?"full":R+","}else n=h==l.Versions.VERSION3?"max":"full";return i+r+"/"+n+"/0/"+w+"."+S}}},transition:r.transition})||this).zDirection=r.zDirection,o}return h(t,e),t}(i.default);t.default=m},"./node_modules/ol/source/Image.js":function(e,t,o){"use strict";o.r(t),o.d(t,"ImageSourceEventType",(function(){return m})),o.d(t,"ImageSourceEvent",(function(){return g})),o.d(t,"defaultImageLoadFunction",(function(){return v}));var r,n=o("./node_modules/ol/events/Event.js"),i=o("./node_modules/ol/ImageState.js"),s=o("./node_modules/ol/reproj/Image.js"),a=o("./node_modules/ol/source/Source.js"),l=o("./node_modules/ol/reproj/common.js"),u=o("./node_modules/ol/source/common.js"),c=o("./node_modules/ol/util.js"),d=o("./node_modules/ol/extent.js"),p=o("./node_modules/ol/proj.js"),h=o("./node_modules/ol/array.js"),f=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),m={IMAGELOADSTART:"imageloadstart",IMAGELOADEND:"imageloadend",IMAGELOADERROR:"imageloaderror"},g=function(e){function t(t,o){var r=e.call(this,t)||this;return r.image=o,r}return f(t,e),t}(n.default),y=function(e){function t(t){var o=e.call(this,{attributions:t.attributions,projection:t.projection,state:t.state})||this;return o.on,o.once,o.un,o.resolutions_=void 0!==t.resolutions?t.resolutions:null,o.reprojectedImage_=null,o.reprojectedRevision_=0,o.contextOptions_=!1===t.imageSmoothing?u.IMAGE_SMOOTHING_DISABLED:void 0,o}return f(t,e),t.prototype.getResolutions=function(){return this.resolutions_},t.prototype.getContextOptions=function(){return this.contextOptions_},t.prototype.findNearestResolution=function(e){if(this.resolutions_){var t=Object(h.linearFindNearest)(this.resolutions_,e,0);e=this.resolutions_[t]}return e},t.prototype.getImage=function(e,t,o,r){var n=this.getProjection();if(l.ENABLE_RASTER_REPROJECTION&&n&&r&&!Object(p.equivalent)(n,r)){if(this.reprojectedImage_){if(this.reprojectedRevision_==this.getRevision()&&Object(p.equivalent)(this.reprojectedImage_.getProjection(),r)&&this.reprojectedImage_.getResolution()==t&&Object(d.equals)(this.reprojectedImage_.getExtent(),e))return this.reprojectedImage_;this.reprojectedImage_.dispose(),this.reprojectedImage_=null}return this.reprojectedImage_=new s.default(n,r,e,t,o,function(e,t,o){return this.getImageInternal(e,t,o,n)}.bind(this),this.contextOptions_),this.reprojectedRevision_=this.getRevision(),this.reprojectedImage_}return n&&(r=n),this.getImageInternal(e,t,o,r)},t.prototype.getImageInternal=function(e,t,o,r){return Object(c.abstract)()},t.prototype.handleImageChange=function(e){var t=e.target;switch(t.getState()){case i.default.LOADING:this.loading=!0,this.dispatchEvent(new g(m.IMAGELOADSTART,t));break;case i.default.LOADED:this.loading=!1,this.dispatchEvent(new g(m.IMAGELOADEND,t));break;case i.default.ERROR:this.loading=!1,this.dispatchEvent(new g(m.IMAGELOADERROR,t))}},t}(a.default);function v(e,t){e.getImage().src=t}t.default=y},"./node_modules/ol/source/ImageArcGISRest.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/events/EventType.js"),i=o("./node_modules/ol/source/Image.js"),s=o("./node_modules/ol/Image.js"),a=o("./node_modules/ol/uri.js"),l=o("./node_modules/ol/asserts.js"),u=o("./node_modules/ol/obj.js"),c=o("./node_modules/ol/extent.js"),d=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),p=function(e){function t(t){var o=this,r=t||{};return(o=e.call(this,{attributions:r.attributions,imageSmoothing:r.imageSmoothing,projection:r.projection,resolutions:r.resolutions})||this).crossOrigin_=void 0!==r.crossOrigin?r.crossOrigin:null,o.hidpi_=void 0===r.hidpi||r.hidpi,o.url_=r.url,o.imageLoadFunction_=void 0!==r.imageLoadFunction?r.imageLoadFunction:i.defaultImageLoadFunction,o.params_=r.params||{},o.image_=null,o.imageSize_=[0,0],o.renderedRevision_=0,o.ratio_=void 0!==r.ratio?r.ratio:1.5,o}return d(t,e),t.prototype.getParams=function(){return this.params_},t.prototype.getImageInternal=function(e,t,o,r){if(void 0===this.url_)return null;t=this.findNearestResolution(t),o=this.hidpi_?o:1;var i=this.image_;if(i&&this.renderedRevision_==this.getRevision()&&i.getResolution()==t&&i.getPixelRatio()==o&&Object(c.containsExtent)(i.getExtent(),e))return i;var a={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};Object(u.assign)(a,this.params_);var l=((e=e.slice())[0]+e[2])/2,d=(e[1]+e[3])/2;if(1!=this.ratio_){var p=this.ratio_*Object(c.getWidth)(e)/2,h=this.ratio_*Object(c.getHeight)(e)/2;e[0]=l-p,e[1]=d-h,e[2]=l+p,e[3]=d+h}var f=t/o,m=Math.ceil(Object(c.getWidth)(e)/f),g=Math.ceil(Object(c.getHeight)(e)/f);e[0]=l-f*m/2,e[2]=l+f*m/2,e[1]=d-f*g/2,e[3]=d+f*g/2,this.imageSize_[0]=m,this.imageSize_[1]=g;var y=this.getRequestUrl_(e,this.imageSize_,o,r,a);return this.image_=new s.default(e,t,o,y,this.crossOrigin_,this.imageLoadFunction_),this.renderedRevision_=this.getRevision(),this.image_.addEventListener(n.default.CHANGE,this.handleImageChange.bind(this)),this.image_},t.prototype.getImageLoadFunction=function(){return this.imageLoadFunction_},t.prototype.getRequestUrl_=function(e,t,o,r,n){var i=r.getCode().split(/:(?=\d+$)/).pop();n.SIZE=t[0]+","+t[1],n.BBOX=e.join(","),n.BBOXSR=i,n.IMAGESR=i,n.DPI=Math.round(90*o);var s=this.url_,u=s.replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage");return u==s&&Object(l.assert)(!1,50),Object(a.appendParams)(u,n)},t.prototype.getUrl=function(){return this.url_},t.prototype.setImageLoadFunction=function(e){this.image_=null,this.imageLoadFunction_=e,this.changed()},t.prototype.setUrl=function(e){e!=this.url_&&(this.url_=e,this.image_=null,this.changed())},t.prototype.updateParams=function(e){Object(u.assign)(this.params_,e),this.image_=null,this.changed()},t}(i.default);t.default=p},"./node_modules/ol/source/ImageCanvas.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/ImageCanvas.js"),i=o("./node_modules/ol/source/Image.js"),s=o("./node_modules/ol/extent.js"),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=function(e){function t(t){var o=this,r=t||{};return(o=e.call(this,{attributions:r.attributions,imageSmoothing:r.imageSmoothing,projection:r.projection,resolutions:r.resolutions,state:r.state})||this).canvasFunction_=r.canvasFunction,o.canvas_=null,o.renderedRevision_=0,o.ratio_=void 0!==r.ratio?r.ratio:1.5,o}return a(t,e),t.prototype.getImageInternal=function(e,t,o,r){t=this.findNearestResolution(t);var i=this.canvas_;if(i&&this.renderedRevision_==this.getRevision()&&i.getResolution()==t&&i.getPixelRatio()==o&&Object(s.containsExtent)(i.getExtent(),e))return i;e=e.slice(),Object(s.scaleFromCenter)(e,this.ratio_);var a=[Object(s.getWidth)(e)/t*o,Object(s.getHeight)(e)/t*o],l=this.canvasFunction_.call(this,e,t,o,a,r);return l&&(i=new n.default(e,t,o,l)),this.canvas_=i,this.renderedRevision_=this.getRevision(),i},t}(i.default);t.default=l},"./node_modules/ol/source/ImageMapGuide.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/events/EventType.js"),i=o("./node_modules/ol/source/Image.js"),s=o("./node_modules/ol/Image.js"),a=o("./node_modules/ol/uri.js"),l=o("./node_modules/ol/obj.js"),u=o("./node_modules/ol/extent.js"),c=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),d=function(e){function t(t){var o=e.call(this,{imageSmoothing:t.imageSmoothing,projection:t.projection,resolutions:t.resolutions})||this;return o.crossOrigin_=void 0!==t.crossOrigin?t.crossOrigin:null,o.displayDpi_=void 0!==t.displayDpi?t.displayDpi:96,o.params_=t.params||{},o.url_=t.url,o.imageLoadFunction_=void 0!==t.imageLoadFunction?t.imageLoadFunction:i.defaultImageLoadFunction,o.hidpi_=void 0===t.hidpi||t.hidpi,o.metersPerUnit_=void 0!==t.metersPerUnit?t.metersPerUnit:1,o.ratio_=void 0!==t.ratio?t.ratio:1,o.useOverlay_=void 0!==t.useOverlay&&t.useOverlay,o.image_=null,o.renderedRevision_=0,o}return c(t,e),t.prototype.getParams=function(){return this.params_},t.prototype.getImageInternal=function(e,t,o,r){t=this.findNearestResolution(t),o=this.hidpi_?o:1;var i=this.image_;if(i&&this.renderedRevision_==this.getRevision()&&i.getResolution()==t&&i.getPixelRatio()==o&&Object(u.containsExtent)(i.getExtent(),e))return i;1!=this.ratio_&&(e=e.slice(),Object(u.scaleFromCenter)(e,this.ratio_));var a=[Object(u.getWidth)(e)/t*o,Object(u.getHeight)(e)/t*o];if(void 0!==this.url_){var l=this.getUrl(this.url_,this.params_,e,a,r);(i=new s.default(e,t,o,l,this.crossOrigin_,this.imageLoadFunction_)).addEventListener(n.default.CHANGE,this.handleImageChange.bind(this))}else i=null;return this.image_=i,this.renderedRevision_=this.getRevision(),i},t.prototype.getImageLoadFunction=function(){return this.imageLoadFunction_},t.prototype.updateParams=function(e){Object(l.assign)(this.params_,e),this.changed()},t.prototype.getUrl=function(e,t,o,r,n){var i=function(e,t,o,r){var n=Object(u.getWidth)(e),i=Object(u.getHeight)(e),s=t[0],a=t[1],l=.0254/r;return a*n>s*i?n*o/(s*l):i*o/(a*l)}(o,r,this.metersPerUnit_,this.displayDpi_),s=Object(u.getCenter)(o),c={OPERATION:this.useOverlay_?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol/source/ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:this.displayDpi_,SETDISPLAYWIDTH:Math.round(r[0]),SETDISPLAYHEIGHT:Math.round(r[1]),SETVIEWSCALE:i,SETVIEWCENTERX:s[0],SETVIEWCENTERY:s[1]};return Object(l.assign)(c,t),Object(a.appendParams)(e,c)},t.prototype.setImageLoadFunction=function(e){this.image_=null,this.imageLoadFunction_=e,this.changed()},t}(i.default);t.default=d},"./node_modules/ol/source/ImageStatic.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/events/EventType.js"),i=o("./node_modules/ol/source/Image.js"),s=o("./node_modules/ol/ImageState.js"),a=o("./node_modules/ol/Image.js"),l=o("./node_modules/ol/obj.js"),u=o("./node_modules/ol/dom.js"),c=o("./node_modules/ol/extent.js"),d=o("./node_modules/ol/proj.js"),p=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),h=function(e){function t(t){var o=this,r=void 0!==t.crossOrigin?t.crossOrigin:null,s=void 0!==t.imageLoadFunction?t.imageLoadFunction:i.defaultImageLoadFunction;return(o=e.call(this,{attributions:t.attributions,imageSmoothing:t.imageSmoothing,projection:Object(d.get)(t.projection)})||this).url_=t.url,o.imageExtent_=t.imageExtent,o.image_=new a.default(o.imageExtent_,void 0,1,o.url_,r,s),o.imageSize_=t.imageSize?t.imageSize:null,o.image_.addEventListener(n.default.CHANGE,o.handleImageChange.bind(o)),o}return p(t,e),t.prototype.getImageExtent=function(){return this.imageExtent_},t.prototype.getImageInternal=function(e,t,o,r){return Object(c.intersects)(e,this.image_.getExtent())?this.image_:null},t.prototype.getUrl=function(){return this.url_},t.prototype.handleImageChange=function(t){if(this.image_.getState()==s.default.LOADED){var o=this.image_.getExtent(),r=this.image_.getImage(),n=void 0,i=void 0;this.imageSize_?(n=this.imageSize_[0],i=this.imageSize_[1]):(n=r.width,i=r.height);var a=Object(c.getWidth)(o),d=Object(c.getHeight)(o),p=a/n,h=d/i,f=n,m=i;if(p>h?f=Math.round(a/h):m=Math.round(d/p),f!==n||m!==i){var g=Object(u.createCanvasContext2D)(f,m);Object(l.assign)(g,this.getContextOptions());var y=g.canvas;g.drawImage(r,0,0,n,i,0,0,y.width,y.height),this.image_.setImage(y)}}e.prototype.handleImageChange.call(this,t)},t}(i.default);t.default=h},"./node_modules/ol/source/ImageWMS.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/source/common.js"),i=o("./node_modules/ol/events/EventType.js"),s=o("./node_modules/ol/source/Image.js"),a=o("./node_modules/ol/Image.js"),l=o("./node_modules/ol/source/WMSServerType.js"),u=o("./node_modules/ol/uri.js"),c=o("./node_modules/ol/asserts.js"),d=o("./node_modules/ol/obj.js"),p=o("./node_modules/ol/reproj.js"),h=o("./node_modules/ol/string.js"),f=o("./node_modules/ol/extent.js"),m=o("./node_modules/ol/proj.js"),g=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),y=[101,101],v=function(e){function t(t){var o=this,r=t||{};return(o=e.call(this,{attributions:r.attributions,imageSmoothing:r.imageSmoothing,projection:r.projection,resolutions:r.resolutions})||this).crossOrigin_=void 0!==r.crossOrigin?r.crossOrigin:null,o.url_=r.url,o.imageLoadFunction_=void 0!==r.imageLoadFunction?r.imageLoadFunction:s.defaultImageLoadFunction,o.params_=r.params||{},o.v13_=!0,o.updateV13_(),o.serverType_=r.serverType,o.hidpi_=void 0===r.hidpi||r.hidpi,o.image_=null,o.imageSize_=[0,0],o.renderedRevision_=0,o.ratio_=void 0!==r.ratio?r.ratio:1.5,o}return g(t,e),t.prototype.getFeatureInfoUrl=function(e,t,o,r){if(void 0!==this.url_){var i=Object(m.get)(o),s=this.getProjection();s&&s!==i&&(t=Object(p.calculateSourceResolution)(s,i,e,t),e=Object(m.transform)(e,i,s));var a=Object(f.getForViewAndSize)(e,t,0,y),l={SERVICE:"WMS",VERSION:n.DEFAULT_WMS_VERSION,REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.params_.LAYERS};Object(d.assign)(l,this.params_,r);var u=Math.floor((e[0]-a[0])/t),c=Math.floor((a[3]-e[1])/t);return l[this.v13_?"I":"X"]=u,l[this.v13_?"J":"Y"]=c,this.getRequestUrl_(a,y,1,s||i,l)}},t.prototype.getLegendUrl=function(e,t){if(void 0!==this.url_){var o={SERVICE:"WMS",VERSION:n.DEFAULT_WMS_VERSION,REQUEST:"GetLegendGraphic",FORMAT:"image/png"};if(void 0===t||void 0===t.LAYER){var r=this.params_.LAYERS;if(!(!Array.isArray(r)||1===r.length))return;o.LAYER=r}if(void 0!==e){var i=this.getProjection()?this.getProjection().getMetersPerUnit():1;o.SCALE=e*i/28e-5}return Object(d.assign)(o,t),Object(u.appendParams)(this.url_,o)}},t.prototype.getParams=function(){return this.params_},t.prototype.getImageInternal=function(e,t,o,r){if(void 0===this.url_)return null;t=this.findNearestResolution(t),1==o||this.hidpi_&&void 0!==this.serverType_||(o=1);var s=t/o,l=Object(f.getCenter)(e),u=Math.ceil(Object(f.getWidth)(e)/s),c=Math.ceil(Object(f.getHeight)(e)/s),p=Object(f.getForViewAndSize)(l,s,0,[u,c]),h=Math.ceil(this.ratio_*Object(f.getWidth)(e)/s),m=Math.ceil(this.ratio_*Object(f.getHeight)(e)/s),g=Object(f.getForViewAndSize)(l,s,0,[h,m]),y=this.image_;if(y&&this.renderedRevision_==this.getRevision()&&y.getResolution()==t&&y.getPixelRatio()==o&&Object(f.containsExtent)(y.getExtent(),p))return y;var v={SERVICE:"WMS",VERSION:n.DEFAULT_WMS_VERSION,REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};Object(d.assign)(v,this.params_),this.imageSize_[0]=Math.round(Object(f.getWidth)(g)/s),this.imageSize_[1]=Math.round(Object(f.getHeight)(g)/s);var _=this.getRequestUrl_(g,this.imageSize_,o,r,v);return this.image_=new a.default(g,t,o,_,this.crossOrigin_,this.imageLoadFunction_),this.renderedRevision_=this.getRevision(),this.image_.addEventListener(i.default.CHANGE,this.handleImageChange.bind(this)),this.image_},t.prototype.getImageLoadFunction=function(){return this.imageLoadFunction_},t.prototype.getRequestUrl_=function(e,t,o,r,n){if(Object(c.assert)(void 0!==this.url_,9),n[this.v13_?"CRS":"SRS"]=r.getCode(),"STYLES"in this.params_||(n.STYLES=""),1!=o)switch(this.serverType_){case l.default.GEOSERVER:var i=90*o+.5|0;"FORMAT_OPTIONS"in n?n.FORMAT_OPTIONS+=";dpi:"+i:n.FORMAT_OPTIONS="dpi:"+i;break;case l.default.MAPSERVER:n.MAP_RESOLUTION=90*o;break;case l.default.CARMENTA_SERVER:case l.default.QGIS:n.DPI=90*o;break;default:Object(c.assert)(!1,8)}n.WIDTH=t[0],n.HEIGHT=t[1];var s,a=r.getAxisOrientation();return s=this.v13_&&"ne"==a.substr(0,2)?[e[1],e[0],e[3],e[2]]:e,n.BBOX=s.join(","),Object(u.appendParams)(this.url_,n)},t.prototype.getUrl=function(){return this.url_},t.prototype.setImageLoadFunction=function(e){this.image_=null,this.imageLoadFunction_=e,this.changed()},t.prototype.setUrl=function(e){e!=this.url_&&(this.url_=e,this.image_=null,this.changed())},t.prototype.updateParams=function(e){Object(d.assign)(this.params_,e),this.updateV13_(),this.image_=null,this.changed()},t.prototype.updateV13_=function(){var e=this.params_.VERSION||n.DEFAULT_WMS_VERSION;this.v13_=Object(h.compareVersions)(e,"1.3")>=0},t}(s.default);t.default=v},"./node_modules/ol/source/OGCMapTile.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/source/State.js"),i=o("./node_modules/ol/source/TileImage.js"),s=o("./node_modules/ol/source/ogcTileUtil.js"),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=function(e){function t(t){var o=e.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,imageSmoothing:t.imageSmoothing,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:n.default.LOADING,tileLoadFunction:t.tileLoadFunction,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition})||this,r={url:t.url,projection:o.getProjection(),mediaType:t.mediaType,context:t.context||null};return Object(s.getTileSetInfo)(r).then(o.handleTileSetInfo_.bind(o)).catch(o.handleError_.bind(o)),o}return a(t,e),t.prototype.handleTileSetInfo_=function(e){this.tileGrid=e.grid,this.setTileUrlFunction(e.urlFunction,e.urlTemplate),this.setState(n.default.READY)},t.prototype.handleError_=function(e){console.error(e),this.setState(n.default.ERROR)},t}(i.default);t.default=l},"./node_modules/ol/source/OGCVectorTile.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/source/State.js"),i=o("./node_modules/ol/source/VectorTile.js"),s=o("./node_modules/ol/source/ogcTileUtil.js"),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=function(e){function t(t){var o=e.call(this,{attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,cacheSize:t.cacheSize,format:t.format,overlaps:t.overlaps,projection:t.projection,tileClass:t.tileClass,transition:t.transition,wrapX:t.wrapX,zDirection:t.zDirection,state:n.default.LOADING})||this,r={url:t.url,projection:o.getProjection(),mediaType:t.mediaType,supportedMediaTypes:t.format.supportedMediaTypes,context:t.context||null};return Object(s.getTileSetInfo)(r).then(o.handleTileSetInfo_.bind(o)).catch(o.handleError_.bind(o)),o}return a(t,e),t.prototype.handleTileSetInfo_=function(e){this.tileGrid=e.grid,this.setTileUrlFunction(e.urlFunction,e.urlTemplate),this.setState(n.default.READY)},t.prototype.handleError_=function(e){console.error(e),this.setState(n.default.ERROR)},t}(i.default);t.default=l},"./node_modules/ol/source/OSM.js":function(e,t,o){"use strict";o.r(t),o.d(t,"ATTRIBUTION",(function(){return s}));var r,n=o("./node_modules/ol/source/XYZ.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s='&#169; <a href="https://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a> contributors.',a=function(e){function t(t){var o,r=t||{};o=void 0!==r.attributions?r.attributions:[s];var n=void 0!==r.crossOrigin?r.crossOrigin:"anonymous",i=void 0!==r.url?r.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png";return e.call(this,{attributions:o,attributionsCollapsible:!1,cacheSize:r.cacheSize,crossOrigin:n,imageSmoothing:r.imageSmoothing,maxZoom:void 0!==r.maxZoom?r.maxZoom:19,opaque:void 0===r.opaque||r.opaque,reprojectionErrorThreshold:r.reprojectionErrorThreshold,tileLoadFunction:r.tileLoadFunction,transition:r.transition,url:i,wrapX:r.wrapX,zDirection:r.zDirection})||this}return i(t,e),t}(n.default);t.default=a},"./node_modules/ol/source/Raster.js":function(e,t,o){"use strict";o.r(t),o.d(t,"newImageData",(function(){return C})),o.d(t,"Processor",(function(){return w})),o.d(t,"RasterSourceEvent",(function(){return T}));var r,n,i=o("./node_modules/ol/Disposable.js"),s=o("./node_modules/ol/events/Event.js"),a=o("./node_modules/ol/events/EventType.js"),l=o("./node_modules/ol/ImageCanvas.js"),u=o("./node_modules/ol/layer/Image.js"),c=o("./node_modules/ol/source/Image.js"),d=o("./node_modules/ol/source/Source.js"),p=o("./node_modules/ol/source/State.js"),h=o("./node_modules/ol/layer/Tile.js"),f=o("./node_modules/ol/TileQueue.js"),m=o("./node_modules/ol/source/Tile.js"),g=o("./node_modules/ol/obj.js"),y=o("./node_modules/ol/dom.js"),v=o("./node_modules/ol/transform.js"),_=o("./node_modules/ol/extent.js"),b=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),A=!0;try{new ImageData(10,10)}catch(e){A=!1}function C(e,t,o){if(A)return new ImageData(e,t,o);n||(n=document.createElement("canvas").getContext("2d"));var r=n.createImageData(t,o);return r.data.set(e),r}function E(e){var t=!0;try{new ImageData(10,10)}catch(e){t=!1}function o(e,o,r){return t?new ImageData(e,o,r):{data:e,width:o,height:r}}return function(t){var r=t.buffers,n=t.meta,i=t.imageOps,s=t.width,a=t.height,l=r.length,u=r[0].byteLength;if(i){for(var c=new Array(l),d=0;d<l;++d)c[d]=o(new Uint8ClampedArray(r[d]),s,a);return e(c,n).data.buffer}var p=new Uint8ClampedArray(u),h=new Array(l),f=new Array(l);for(d=0;d<l;++d)h[d]=new Uint8ClampedArray(r[d]),f[d]=[0,0,0,0];for(var m=0;m<u;m+=4){for(var g=0;g<l;++g){var y=h[g];f[g][0]=y[m],f[g][1]=y[m+1],f[g][2]=y[m+2],f[g][3]=y[m+3]}var v=e(f,n);p[m]=v[0],p[m+1]=v[1],p[m+2]=v[2],p[m+3]=v[3]}return p.buffer}}function S(e,t){var o=Object.keys(e.lib||{}).map((function(t){return"var "+t+" = "+e.lib[t].toString()+";"})).concat(["var __minion__ = ("+E.toString()+")(",e.operation.toString(),");",'self.addEventListener("message", function(event) {',"  var buffer = __minion__(event.data);","  self.postMessage({buffer: buffer, meta: event.data.meta}, [buffer]);","});"]),r=new Blob(o,{type:"text/javascript"}),n=URL.createObjectURL(r),i=new Worker(n);return i.addEventListener("message",t),i}var w=function(e){function t(t){var o,r=e.call(this)||this;r._imageOps=!!t.imageOps,o=0===t.threads?0:r._imageOps?1:t.threads||1;var n=new Array(o);if(o)for(var i=0;i<o;++i)n[i]=S(t,r._onWorkerMessage.bind(r,i));else n[0]=function(e,t){var o=E(e.operation),r=!1;return{postMessage:function(e){setTimeout((function(){r||t({data:{buffer:o(e),meta:e.meta}})}),0)},terminate:function(){r=!0}}}(t,r._onWorkerMessage.bind(r,0));return r._workers=n,r._queue=[],r._maxQueueLength=t.queue||1/0,r._running=0,r._dataLookup={},r._job=null,r}return b(t,e),t.prototype.process=function(e,t,o){this._enqueue({inputs:e,meta:t,callback:o}),this._dispatch()},t.prototype._enqueue=function(e){for(this._queue.push(e);this._queue.length>this._maxQueueLength;)this._queue.shift().callback(null,null)},t.prototype._dispatch=function(){if(!this._running&&0!==this._queue.length){var e=this._queue.shift();this._job=e;var t=e.inputs[0].width,o=e.inputs[0].height,r=e.inputs.map((function(e){return e.data.buffer})),n=this._workers.length;if(this._running=n,1!==n)for(var i=e.inputs[0].data.length,s=4*Math.ceil(i/4/n),a=0;a<n;++a){for(var l=a*s,u=[],c=0,d=r.length;c<d;++c)u.push(r[c].slice(l,l+s));this._workers[a].postMessage({buffers:u,meta:e.meta,imageOps:this._imageOps,width:t,height:o},u)}else this._workers[0].postMessage({buffers:r,meta:e.meta,imageOps:this._imageOps,width:t,height:o},r)}},t.prototype._onWorkerMessage=function(e,t){this.disposed||(this._dataLookup[e]=t.data,--this._running,0===this._running&&this._resolveJob())},t.prototype._resolveJob=function(){var e,t,o=this._job,r=this._workers.length;if(1===r)e=new Uint8ClampedArray(this._dataLookup[0].buffer),t=this._dataLookup[0].meta;else{var n=o.inputs[0].data.length;e=new Uint8ClampedArray(n),t=new Array(r);for(var i=4*Math.ceil(n/4/r),s=0;s<r;++s){var a=this._dataLookup[s].buffer,l=s*i;e.set(new Uint8ClampedArray(a),l),t[s]=this._dataLookup[s].meta}}this._job=null,this._dataLookup={},o.callback(null,C(e,o.inputs[0].width,o.inputs[0].height),t),this._dispatch()},t.prototype.disposeInternal=function(){for(var e=0;e<this._workers.length;++e)this._workers[e].terminate();this._workers.length=0},t}(i.default),O="beforeoperations",I="afteroperations",x="pixel",j="image",T=function(e){function t(t,o,r){var n=e.call(this,t)||this;return n.extent=o.extent,n.resolution=o.viewState.resolution/o.pixelRatio,n.data=r,n}return b(t,e),t}(s.default),P=function(e){function t(t){var o=e.call(this,{projection:null})||this;o.on,o.once,o.un,o.processor_=null,o.operationType_=void 0!==t.operationType?t.operationType:x,o.threads_=void 0!==t.threads?t.threads:1,o.layers_=function(e){for(var t=e.length,o=new Array(t),r=0;r<t;++r)o[r]=L(e[r]);return o}(t.sources);for(var r,n=o.changed.bind(o),i=0,s=o.layers_.length;i<s;++i)o.layers_[i].addEventListener(a.default.CHANGE,n);return o.tileQueue_=new f.default((function(){return 1}),o.changed.bind(o)),o.requestedFrameState_,o.renderedImageCanvas_=null,o.renderedRevision_,o.frameState_={animate:!1,coordinateToPixelTransform:Object(v.create)(),declutterTree:null,extent:null,index:0,layerIndex:0,layerStatesArray:(r=o.layers_,r.map((function(e){return e.getLayerState()}))),pixelRatio:1,pixelToCoordinateTransform:Object(v.create)(),postRenderFunctions:[],size:[0,0],tileQueue:o.tileQueue_,time:Date.now(),usedTiles:{},viewState:{rotation:0},viewHints:[],wantedTiles:{}},o.setAttributions((function(e){for(var o=[],r=0,n=t.sources.length;r<n;++r){var i=t.sources[r],s=(i instanceof d.default?i:i.getSource()).getAttributions();if("function"==typeof s){var a=s(e);o.push.apply(o,a)}}return 0!==o.length?o:null})),void 0!==t.operation&&o.setOperation(t.operation,t.lib),o}return b(t,e),t.prototype.setOperation=function(e,t){this.processor_&&this.processor_.dispose(),this.processor_=new w({operation:e,imageOps:this.operationType_===j,queue:1,lib:t,threads:this.threads_}),this.changed()},t.prototype.updateFrameState_=function(e,t,o){var r=Object(g.assign)({},this.frameState_);r.viewState=Object(g.assign)({},r.viewState);var n=Object(_.getCenter)(e);r.extent=e.slice(),r.size[0]=Math.round(Object(_.getWidth)(e)/t),r.size[1]=Math.round(Object(_.getHeight)(e)/t),r.time=Date.now();var i=r.viewState;return i.center=n,i.projection=o,i.resolution=t,r},t.prototype.allSourcesReady_=function(){for(var e=!0,t=0,o=this.layers_.length;t<o;++t)if(this.layers_[t].getSource().getState()!==p.default.READY){e=!1;break}return e},t.prototype.getImage=function(e,t,o,r){if(!this.allSourcesReady_())return null;var n=this.updateFrameState_(e,t,r);if(this.requestedFrameState_=n,this.renderedImageCanvas_){var i=this.renderedImageCanvas_.getResolution(),s=this.renderedImageCanvas_.getExtent();t===i&&Object(_.equals)(e,s)||(this.renderedImageCanvas_=null)}return this.renderedImageCanvas_&&this.getRevision()===this.renderedRevision_||this.processSources_(),n.tileQueue.loadMoreTiles(16,16),n.animate&&requestAnimationFrame(this.changed.bind(this)),this.renderedImageCanvas_},t.prototype.processSources_=function(){for(var e=this.requestedFrameState_,t=this.layers_.length,o=new Array(t),r=0;r<t;++r){e.layerIndex=r;var n=R(this.layers_[r],e);if(!n)return;o[r]=n}var i={};this.dispatchEvent(new T(O,e,i)),this.processor_.process(o,i,this.onWorkerComplete_.bind(this,e))},t.prototype.onWorkerComplete_=function(e,t,o,r){if(!t&&o){var n=e.extent,i=e.viewState.resolution;if(i===this.requestedFrameState_.viewState.resolution&&Object(_.equals)(n,this.requestedFrameState_.extent)){var s;if(this.renderedImageCanvas_)s=this.renderedImageCanvas_.getImage().getContext("2d");else{var a=Math.round(Object(_.getWidth)(n)/i),u=Math.round(Object(_.getHeight)(n)/i);s=Object(y.createCanvasContext2D)(a,u),this.renderedImageCanvas_=new l.default(n,i,1,s.canvas)}s.putImageData(o,0,0),this.changed(),this.renderedRevision_=this.getRevision(),this.dispatchEvent(new T(I,e,r)),e.animate&&requestAnimationFrame(this.changed.bind(this))}}},t.prototype.disposeInternal=function(){this.processor_&&this.processor_.dispose(),e.prototype.disposeInternal.call(this)},t}(c.default);P.prototype.dispose;var M=null;function R(e,t){var o=e.getRenderer();if(!o)throw new Error("Unsupported layer type: "+e);if(!o.prepareFrame(t))return null;var r=t.size[0],n=t.size[1];if(0===r||0===n)return null;var i,s=o.renderFrame(t,null);if(s&&(i=s.firstElementChild),!(i instanceof HTMLCanvasElement))throw new Error("Unsupported rendered element: "+i);if(i.width===r&&i.height===n)return i.getContext("2d").getImageData(0,0,r,n);if(M){var a=M.canvas;a.width!==r||a.height!==n?M=Object(y.createCanvasContext2D)(r,n):M.clearRect(0,0,r,n)}else M=Object(y.createCanvasContext2D)(r,n);return M.drawImage(i,0,0,r,n),M.getImageData(0,0,r,n)}function L(e){var t;return e instanceof d.default?e instanceof m.default?t=new h.default({source:e}):e instanceof c.default&&(t=new u.default({source:e})):t=e,t}t.default=P},"./node_modules/ol/source/Source.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/Object.js"),i=o("./node_modules/ol/source/State.js"),s=o("./node_modules/ol/util.js"),a=o("./node_modules/ol/proj.js"),l=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),u=function(e){function t(t){var o=e.call(this)||this;o.projection=Object(a.get)(t.projection),o.attributions_=c(t.attributions),o.attributionsCollapsible_=void 0===t.attributionsCollapsible||t.attributionsCollapsible,o.loading=!1,o.state_=void 0!==t.state?t.state:i.default.READY,o.wrapX_=void 0!==t.wrapX&&t.wrapX,o.viewResolver=null,o.viewRejector=null;var r=o;return o.viewPromise_=new Promise((function(e,t){r.viewResolver=e,r.viewRejector=t})),o}return l(t,e),t.prototype.getAttributions=function(){return this.attributions_},t.prototype.getAttributionsCollapsible=function(){return this.attributionsCollapsible_},t.prototype.getProjection=function(){return this.projection},t.prototype.getResolutions=function(){return Object(s.abstract)()},t.prototype.getView=function(){return this.viewPromise_},t.prototype.getState=function(){return this.state_},t.prototype.getWrapX=function(){return this.wrapX_},t.prototype.getContextOptions=function(){},t.prototype.refresh=function(){this.changed()},t.prototype.setAttributions=function(e){this.attributions_=c(e),this.changed()},t.prototype.setState=function(e){this.state_=e,this.changed()},t}(n.default);function c(e){return e?Array.isArray(e)?function(t){return e}:"function"==typeof e?e:function(t){return[e]}:null}t.default=u},"./node_modules/ol/source/Stamen.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/source/XYZ.js"),i=o("./node_modules/ol/source/OSM.js"),s=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=['Map tiles by <a href="https://stamen.com/" target="_blank">Stamen Design</a>, under <a href="https://creativecommons.org/licenses/by/3.0/" target="_blank">CC BY 3.0</a>.',i.ATTRIBUTION],l={terrain:{extension:"jpg",opaque:!0},"terrain-background":{extension:"jpg",opaque:!0},"terrain-labels":{extension:"png",opaque:!1},"terrain-lines":{extension:"png",opaque:!1},"toner-background":{extension:"png",opaque:!0},toner:{extension:"png",opaque:!0},"toner-hybrid":{extension:"png",opaque:!1},"toner-labels":{extension:"png",opaque:!1},"toner-lines":{extension:"png",opaque:!1},"toner-lite":{extension:"png",opaque:!0},watercolor:{extension:"jpg",opaque:!0}},u={terrain:{minZoom:0,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:0,maxZoom:18}},c=function(e){function t(t){var o=t.layer.indexOf("-"),r=-1==o?t.layer:t.layer.slice(0,o),n=u[r],i=l[t.layer],s=void 0!==t.url?t.url:"https://stamen-tiles-{a-d}.a.ssl.fastly.net/"+t.layer+"/{z}/{x}/{y}."+i.extension;return e.call(this,{attributions:a,cacheSize:t.cacheSize,crossOrigin:"anonymous",imageSmoothing:t.imageSmoothing,maxZoom:null!=t.maxZoom?t.maxZoom:n.maxZoom,minZoom:null!=t.minZoom?t.minZoom:n.minZoom,opaque:i.opaque,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,transition:t.transition,url:s,wrapX:t.wrapX,zDirection:t.zDirection})||this}return s(t,e),t}(n.default);t.default=c},"./node_modules/ol/source/State.js":function(e,t,o){"use strict";o.r(t),t.default={UNDEFINED:"undefined",LOADING:"loading",READY:"ready",ERROR:"error"}},"./node_modules/ol/source/Tile.js":function(e,t,o){"use strict";o.r(t),o.d(t,"TileSourceEvent",(function(){return g}));var r,n=o("./node_modules/ol/events/Event.js"),i=o("./node_modules/ol/source/Source.js"),s=o("./node_modules/ol/TileCache.js"),a=o("./node_modules/ol/TileState.js"),l=o("./node_modules/ol/util.js"),u=o("./node_modules/ol/asserts.js"),c=o("./node_modules/ol/proj.js"),d=o("./node_modules/ol/tilecoord.js"),p=o("./node_modules/ol/tilegrid.js"),h=o("./node_modules/ol/size.js"),f=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),m=function(e){function t(t){var o=e.call(this,{attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,projection:t.projection,state:t.state,wrapX:t.wrapX})||this;o.on,o.once,o.un,o.opaque_=void 0!==t.opaque&&t.opaque,o.tilePixelRatio_=void 0!==t.tilePixelRatio?t.tilePixelRatio:1,o.tileGrid=void 0!==t.tileGrid?t.tileGrid:null;var r=t.tileGrid;return r&&Object(h.toSize)(r.getTileSize(r.getMinZoom()),[256,256]),o.tileCache=new s.default(t.cacheSize||0),o.tmpSize=[0,0],o.key_=t.key||"",o.tileOptions={transition:t.transition},o.zDirection=t.zDirection?t.zDirection:0,o}return f(t,e),t.prototype.canExpireCache=function(){return this.tileCache.canExpireCache()},t.prototype.expireCache=function(e,t){var o=this.getTileCacheForProjection(e);o&&o.expireCache(t)},t.prototype.forEachLoadedTile=function(e,t,o,r){var n=this.getTileCacheForProjection(e);if(!n)return!1;for(var i,s,l,u=!0,c=o.minX;c<=o.maxX;++c)for(var p=o.minY;p<=o.maxY;++p)s=Object(d.getKeyZXY)(t,c,p),l=!1,n.containsKey(s)&&(l=(i=n.get(s)).getState()===a.default.LOADED)&&(l=!1!==r(i)),l||(u=!1);return u},t.prototype.getGutterForProjection=function(e){return 0},t.prototype.getKey=function(){return this.key_},t.prototype.setKey=function(e){this.key_!==e&&(this.key_=e,this.changed())},t.prototype.getOpaque=function(e){return this.opaque_},t.prototype.getResolutions=function(){return this.tileGrid.getResolutions()},t.prototype.getTile=function(e,t,o,r,n){return Object(l.abstract)()},t.prototype.getTileGrid=function(){return this.tileGrid},t.prototype.getTileGridForProjection=function(e){return this.tileGrid?this.tileGrid:Object(p.getForProjection)(e)},t.prototype.getTileCacheForProjection=function(e){return Object(u.assert)(Object(c.equivalent)(this.getProjection(),e),68),this.tileCache},t.prototype.getTilePixelRatio=function(e){return this.tilePixelRatio_},t.prototype.getTilePixelSize=function(e,t,o){var r=this.getTileGridForProjection(o),n=this.getTilePixelRatio(t),i=Object(h.toSize)(r.getTileSize(e),this.tmpSize);return 1==n?i:Object(h.scale)(i,n,this.tmpSize)},t.prototype.getTileCoordForTileUrlFunction=function(e,t){var o=void 0!==t?t:this.getProjection(),r=this.getTileGridForProjection(o);return this.getWrapX()&&o.isGlobal()&&(e=Object(p.wrapX)(r,e,o)),Object(d.withinExtentAndZ)(e,r)?e:null},t.prototype.clear=function(){this.tileCache.clear()},t.prototype.refresh=function(){this.clear(),e.prototype.refresh.call(this)},t.prototype.updateCacheSize=function(e,t){var o=this.getTileCacheForProjection(t);e>o.highWaterMark&&(o.highWaterMark=e)},t.prototype.useTile=function(e,t,o,r){},t}(i.default),g=function(e){function t(t,o){var r=e.call(this,t)||this;return r.tile=o,r}return f(t,e),t}(n.default);t.default=m},"./node_modules/ol/source/TileArcGISRest.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/source/TileImage.js"),i=o("./node_modules/ol/uri.js"),s=o("./node_modules/ol/obj.js"),a=o("./node_modules/ol/extent.js"),l=o("./node_modules/ol/math.js"),u=o("./node_modules/ol/size.js"),c=o("./node_modules/ol/tilecoord.js"),d=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),p=function(e){function t(t){var o=this,r=t||{};return(o=e.call(this,{attributions:r.attributions,cacheSize:r.cacheSize,crossOrigin:r.crossOrigin,imageSmoothing:r.imageSmoothing,projection:r.projection,reprojectionErrorThreshold:r.reprojectionErrorThreshold,tileGrid:r.tileGrid,tileLoadFunction:r.tileLoadFunction,url:r.url,urls:r.urls,wrapX:void 0===r.wrapX||r.wrapX,transition:r.transition,zDirection:r.zDirection})||this).params_=r.params||{},o.hidpi_=void 0===r.hidpi||r.hidpi,o.tmpExtent_=Object(a.createEmpty)(),o.setKey(o.getKeyForParams_()),o}return d(t,e),t.prototype.getKeyForParams_=function(){var e=0,t=[];for(var o in this.params_)t[e++]=o+"-"+this.params_[o];return t.join("/")},t.prototype.getParams=function(){return this.params_},t.prototype.getRequestUrl_=function(e,t,o,r,n,s){var a=this.urls;if(a){var u,d=n.getCode().split(/:(?=\d+$)/).pop();if(s.SIZE=t[0]+","+t[1],s.BBOX=o.join(","),s.BBOXSR=d,s.IMAGESR=d,s.DPI=Math.round(s.DPI?s.DPI*r:90*r),1==a.length)u=a[0];else u=a[Object(l.modulo)(Object(c.hash)(e),a.length)];var p=u.replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage");return Object(i.appendParams)(p,s)}},t.prototype.getTilePixelRatio=function(e){return this.hidpi_?e:1},t.prototype.updateParams=function(e){Object(s.assign)(this.params_,e),this.setKey(this.getKeyForParams_())},t.prototype.tileUrlFunction=function(e,t,o){var r=this.getTileGrid();if(r||(r=this.getTileGridForProjection(o)),!(r.getResolutions().length<=e[0])){1==t||this.hidpi_||(t=1);var n=r.getTileCoordExtent(e,this.tmpExtent_),i=Object(u.toSize)(r.getTileSize(e[0]),this.tmpSize);1!=t&&(i=Object(u.scale)(i,t,this.tmpSize));var a={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};return Object(s.assign)(a,this.params_),this.getRequestUrl_(e,i,n,t,o,a)}},t}(n.default);t.default=p},"./node_modules/ol/source/TileDebug.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/source/XYZ.js"),i=o("./node_modules/ol/dom.js"),s=o("./node_modules/ol/size.js"),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=function(e){function t(t){var o=this,r=t||{};return o=e.call(this,{opaque:!1,projection:r.projection,tileGrid:r.tileGrid,wrapX:void 0===r.wrapX||r.wrapX,zDirection:r.zDirection,url:r.template||"z:{z} x:{x} y:{y}",tileLoadFunction:function(e,t){var r=e.getTileCoord()[0],n=Object(s.toSize)(o.tileGrid.getTileSize(r)),a=Object(i.createCanvasContext2D)(n[0],n[1]);a.strokeStyle="grey",a.strokeRect(.5,.5,n[0]+.5,n[1]+.5),a.fillStyle="grey",a.strokeStyle="white",a.textAlign="center",a.textBaseline="middle",a.font="24px sans-serif",a.lineWidth=4,a.strokeText(t,n[0]/2,n[1]/2,n[0]),a.fillText(t,n[0]/2,n[1]/2,n[0]),e.setImage(a.canvas)}})||this}return a(t,e),t}(n.default);t.default=l},"./node_modules/ol/source/TileEventType.js":function(e,t,o){"use strict";o.r(t),t.default={TILELOADSTART:"tileloadstart",TILELOADEND:"tileloadend",TILELOADERROR:"tileloaderror"}},"./node_modules/ol/source/TileImage.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/events/EventType.js"),i=o("./node_modules/ol/ImageTile.js"),s=o("./node_modules/ol/reproj/Tile.js"),a=o("./node_modules/ol/TileCache.js"),l=o("./node_modules/ol/TileState.js"),u=o("./node_modules/ol/source/UrlTile.js"),c=o("./node_modules/ol/reproj/common.js"),d=o("./node_modules/ol/source/common.js"),p=o("./node_modules/ol/proj.js"),h=o("./node_modules/ol/tilecoord.js"),f=o("./node_modules/ol/tilegrid.js"),m=o("./node_modules/ol/util.js"),g=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),y=function(e){function t(t){var o=e.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:v,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX,transition:t.transition,key:t.key,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection})||this;return o.crossOrigin=void 0!==t.crossOrigin?t.crossOrigin:null,o.tileClass=void 0!==t.tileClass?t.tileClass:i.default,o.tileCacheForProjection={},o.tileGridForProjection={},o.reprojectionErrorThreshold_=t.reprojectionErrorThreshold,o.contextOptions_=!1===t.imageSmoothing?d.IMAGE_SMOOTHING_DISABLED:void 0,o.renderReprojectionEdges_=!1,o}return g(t,e),t.prototype.canExpireCache=function(){if(!c.ENABLE_RASTER_REPROJECTION)return e.prototype.canExpireCache.call(this);if(this.tileCache.canExpireCache())return!0;for(var t in this.tileCacheForProjection)if(this.tileCacheForProjection[t].canExpireCache())return!0;return!1},t.prototype.expireCache=function(t,o){if(c.ENABLE_RASTER_REPROJECTION){var r=this.getTileCacheForProjection(t);for(var n in this.tileCache.expireCache(this.tileCache==r?o:{}),this.tileCacheForProjection){var i=this.tileCacheForProjection[n];i.expireCache(i==r?o:{})}}else e.prototype.expireCache.call(this,t,o)},t.prototype.getContextOptions=function(){return this.contextOptions_},t.prototype.getGutterForProjection=function(e){return c.ENABLE_RASTER_REPROJECTION&&this.getProjection()&&e&&!Object(p.equivalent)(this.getProjection(),e)?0:this.getGutter()},t.prototype.getGutter=function(){return 0},t.prototype.getKey=function(){return e.prototype.getKey.call(this)+(this.contextOptions_?"\n"+JSON.stringify(this.contextOptions_):"")},t.prototype.getOpaque=function(t){return!(c.ENABLE_RASTER_REPROJECTION&&this.getProjection()&&t&&!Object(p.equivalent)(this.getProjection(),t))&&e.prototype.getOpaque.call(this,t)},t.prototype.getTileGridForProjection=function(t){if(!c.ENABLE_RASTER_REPROJECTION)return e.prototype.getTileGridForProjection.call(this,t);var o=this.getProjection();if(!this.tileGrid||o&&!Object(p.equivalent)(o,t)){var r=Object(m.getUid)(t);return r in this.tileGridForProjection||(this.tileGridForProjection[r]=Object(f.getForProjection)(t)),this.tileGridForProjection[r]}return this.tileGrid},t.prototype.getTileCacheForProjection=function(t){if(!c.ENABLE_RASTER_REPROJECTION)return e.prototype.getTileCacheForProjection.call(this,t);var o=this.getProjection();if(!o||Object(p.equivalent)(o,t))return this.tileCache;var r=Object(m.getUid)(t);return r in this.tileCacheForProjection||(this.tileCacheForProjection[r]=new a.default(this.tileCache.highWaterMark)),this.tileCacheForProjection[r]},t.prototype.createTile_=function(e,t,o,r,i,s){var a=[e,t,o],u=this.getTileCoordForTileUrlFunction(a,i),c=u?this.tileUrlFunction(u,r,i):void 0,d=new this.tileClass(a,void 0!==c?l.default.IDLE:l.default.EMPTY,void 0!==c?c:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return d.key=s,d.addEventListener(n.default.CHANGE,this.handleTileChange.bind(this)),d},t.prototype.getTile=function(e,t,o,r,n){var i=this.getProjection();if(c.ENABLE_RASTER_REPROJECTION&&i&&n&&!Object(p.equivalent)(i,n)){var a=this.getTileCacheForProjection(n),l=[e,t,o],u=void 0,d=Object(h.getKey)(l);a.containsKey(d)&&(u=a.get(d));var f=this.getKey();if(u&&u.key==f)return u;var m=this.getTileGridForProjection(i),g=this.getTileGridForProjection(n),y=this.getTileCoordForTileUrlFunction(l,n),v=new s.default(i,m,n,g,l,y,this.getTilePixelRatio(r),this.getGutter(),function(e,t,o,r){return this.getTileInternal(e,t,o,r,i)}.bind(this),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.contextOptions_);return v.key=f,u?(v.interimTile=u,v.refreshInterimChain(),a.replace(d,v)):a.set(d,v),v}return this.getTileInternal(e,t,o,r,i||n)},t.prototype.getTileInternal=function(e,t,o,r,n){var i=null,s=Object(h.getKeyZXY)(e,t,o),a=this.getKey();if(this.tileCache.containsKey(s)){if((i=this.tileCache.get(s)).key!=a){var u=i;i=this.createTile_(e,t,o,r,n,a),u.getState()==l.default.IDLE?i.interimTile=u.interimTile:i.interimTile=u,i.refreshInterimChain(),this.tileCache.replace(s,i)}}else i=this.createTile_(e,t,o,r,n,a),this.tileCache.set(s,i);return i},t.prototype.setRenderReprojectionEdges=function(e){if(c.ENABLE_RASTER_REPROJECTION&&this.renderReprojectionEdges_!=e){for(var t in this.renderReprojectionEdges_=e,this.tileCacheForProjection)this.tileCacheForProjection[t].clear();this.changed()}},t.prototype.setTileGridForProjection=function(e,t){if(c.ENABLE_RASTER_REPROJECTION){var o=Object(p.get)(e);if(o){var r=Object(m.getUid)(o);r in this.tileGridForProjection||(this.tileGridForProjection[r]=t)}}},t}(u.default);function v(e,t){e.getImage().src=t}t.default=y},"./node_modules/ol/source/TileJSON.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/source/State.js"),i=o("./node_modules/ol/source/TileImage.js"),s=o("./node_modules/ol/extent.js"),a=o("./node_modules/ol/asserts.js"),l=o("./node_modules/ol/tileurlfunction.js"),u=o("./node_modules/ol/tilegrid.js"),c=o("./node_modules/ol/proj.js"),d=o("./node_modules/ol/net.js"),p=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),h=function(e){function t(t){var o=e.call(this,{attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,imageSmoothing:t.imageSmoothing,projection:Object(c.get)("EPSG:3857"),reprojectionErrorThreshold:t.reprojectionErrorThreshold,state:n.default.LOADING,tileLoadFunction:t.tileLoadFunction,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition,zDirection:t.zDirection})||this;if(o.tileJSON_=null,o.tileSize_=t.tileSize,t.url)if(t.jsonp)Object(d.jsonp)(t.url,o.handleTileJSONResponse.bind(o),o.handleTileJSONError.bind(o));else{var r=new XMLHttpRequest;r.addEventListener("load",o.onXHRLoad_.bind(o)),r.addEventListener("error",o.onXHRError_.bind(o)),r.open("GET",t.url),r.send()}else t.tileJSON?o.handleTileJSONResponse(t.tileJSON):Object(a.assert)(!1,51);return o}return p(t,e),t.prototype.onXHRLoad_=function(e){var t=e.target;if(!t.status||t.status>=200&&t.status<300){var o=void 0;try{o=JSON.parse(t.responseText)}catch(e){return void this.handleTileJSONError()}this.handleTileJSONResponse(o)}else this.handleTileJSONError()},t.prototype.onXHRError_=function(e){this.handleTileJSONError()},t.prototype.getTileJSON=function(){return this.tileJSON_},t.prototype.handleTileJSONResponse=function(e){var t,o=Object(c.get)("EPSG:4326"),r=this.getProjection();if(void 0!==e.bounds){var i=Object(c.getTransformFromProjections)(o,r);t=Object(s.applyTransform)(e.bounds,i)}var a=Object(u.extentFromProjection)(r),d=e.minzoom||0,p=e.maxzoom||22,h=Object(u.createXYZ)({extent:a,maxZoom:p,minZoom:d,tileSize:this.tileSize_});if(this.tileGrid=h,this.tileUrlFunction=Object(l.createFromTemplates)(e.tiles,h),void 0!==e.attribution&&!this.getAttributions()){var f=void 0!==t?t:a;this.setAttributions((function(t){return Object(s.intersects)(f,t.extent)?[e.attribution]:null}))}this.tileJSON_=e,this.setState(n.default.READY)},t.prototype.handleTileJSONError=function(){this.setState(n.default.ERROR)},t}(i.default);t.default=h},"./node_modules/ol/source/TileWMS.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/source/common.js"),i=o("./node_modules/ol/source/TileImage.js"),s=o("./node_modules/ol/source/WMSServerType.js"),a=o("./node_modules/ol/uri.js"),l=o("./node_modules/ol/asserts.js"),u=o("./node_modules/ol/obj.js"),c=o("./node_modules/ol/extent.js"),d=o("./node_modules/ol/size.js"),p=o("./node_modules/ol/reproj.js"),h=o("./node_modules/ol/string.js"),f=o("./node_modules/ol/proj.js"),m=o("./node_modules/ol/math.js"),g=o("./node_modules/ol/tilecoord.js"),y=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),v=function(e){function t(t){var o=this,r=t||{},n=r.params||{},i=!("TRANSPARENT"in n)||n.TRANSPARENT;return(o=e.call(this,{attributions:r.attributions,attributionsCollapsible:r.attributionsCollapsible,cacheSize:r.cacheSize,crossOrigin:r.crossOrigin,imageSmoothing:r.imageSmoothing,opaque:!i,projection:r.projection,reprojectionErrorThreshold:r.reprojectionErrorThreshold,tileClass:r.tileClass,tileGrid:r.tileGrid,tileLoadFunction:r.tileLoadFunction,url:r.url,urls:r.urls,wrapX:void 0===r.wrapX||r.wrapX,transition:r.transition,zDirection:r.zDirection})||this).gutter_=void 0!==r.gutter?r.gutter:0,o.params_=n,o.v13_=!0,o.serverType_=r.serverType,o.hidpi_=void 0===r.hidpi||r.hidpi,o.tmpExtent_=Object(c.createEmpty)(),o.updateV13_(),o.setKey(o.getKeyForParams_()),o}return y(t,e),t.prototype.getFeatureInfoUrl=function(e,t,o,r){var i=Object(f.get)(o),s=this.getProjection(),a=this.getTileGrid();a||(a=this.getTileGridForProjection(i));var l=a.getZForResolution(t,this.zDirection),h=a.getTileCoordForCoordAndZ(e,l);if(!(a.getResolutions().length<=h[0])){var m=a.getResolution(h[0]),g=a.getTileCoordExtent(h,this.tmpExtent_),y=Object(d.toSize)(a.getTileSize(h[0]),this.tmpSize),v=this.gutter_;0!==v&&(y=Object(d.buffer)(y,v,this.tmpSize),g=Object(c.buffer)(g,m*v,g)),s&&s!==i&&(m=Object(p.calculateSourceResolution)(s,i,e,m),g=Object(f.transformExtent)(g,i,s),e=Object(f.transform)(e,i,s));var _={SERVICE:"WMS",VERSION:n.DEFAULT_WMS_VERSION,REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.params_.LAYERS};Object(u.assign)(_,this.params_,r);var b=Math.floor((e[0]-g[0])/m),A=Math.floor((g[3]-e[1])/m);return _[this.v13_?"I":"X"]=b,_[this.v13_?"J":"Y"]=A,this.getRequestUrl_(h,y,g,1,s||i,_)}},t.prototype.getLegendUrl=function(e,t){if(void 0!==this.urls[0]){var o={SERVICE:"WMS",VERSION:n.DEFAULT_WMS_VERSION,REQUEST:"GetLegendGraphic",FORMAT:"image/png"};if(void 0===t||void 0===t.LAYER){var r=this.params_.LAYERS;if(!(!Array.isArray(r)||1===r.length))return;o.LAYER=r}if(void 0!==e){var i=this.getProjection()?this.getProjection().getMetersPerUnit():1;o.SCALE=e*i/28e-5}return Object(u.assign)(o,t),Object(a.appendParams)(this.urls[0],o)}},t.prototype.getGutter=function(){return this.gutter_},t.prototype.getParams=function(){return this.params_},t.prototype.getRequestUrl_=function(e,t,o,r,n,i){var u=this.urls;if(u){if(i.WIDTH=t[0],i.HEIGHT=t[1],i[this.v13_?"CRS":"SRS"]=n.getCode(),"STYLES"in this.params_||(i.STYLES=""),1!=r)switch(this.serverType_){case s.default.GEOSERVER:var c=90*r+.5|0;"FORMAT_OPTIONS"in i?i.FORMAT_OPTIONS+=";dpi:"+c:i.FORMAT_OPTIONS="dpi:"+c;break;case s.default.MAPSERVER:i.MAP_RESOLUTION=90*r;break;case s.default.CARMENTA_SERVER:case s.default.QGIS:i.DPI=90*r;break;default:Object(l.assert)(!1,52)}var d,p=n.getAxisOrientation(),h=o;if(this.v13_&&"ne"==p.substr(0,2)){var f=void 0;f=o[0],h[0]=o[1],h[1]=f,f=o[2],h[2]=o[3],h[3]=f}if(i.BBOX=h.join(","),1==u.length)d=u[0];else d=u[Object(m.modulo)(Object(g.hash)(e),u.length)];return Object(a.appendParams)(d,i)}},t.prototype.getTilePixelRatio=function(e){return this.hidpi_&&void 0!==this.serverType_?e:1},t.prototype.getKeyForParams_=function(){var e=0,t=[];for(var o in this.params_)t[e++]=o+"-"+this.params_[o];return t.join("/")},t.prototype.updateParams=function(e){Object(u.assign)(this.params_,e),this.updateV13_(),this.setKey(this.getKeyForParams_())},t.prototype.updateV13_=function(){var e=this.params_.VERSION||n.DEFAULT_WMS_VERSION;this.v13_=Object(h.compareVersions)(e,"1.3")>=0},t.prototype.tileUrlFunction=function(e,t,o){var r=this.getTileGrid();if(r||(r=this.getTileGridForProjection(o)),!(r.getResolutions().length<=e[0])){1==t||this.hidpi_&&void 0!==this.serverType_||(t=1);var i=r.getResolution(e[0]),s=r.getTileCoordExtent(e,this.tmpExtent_),a=Object(d.toSize)(r.getTileSize(e[0]),this.tmpSize),l=this.gutter_;0!==l&&(a=Object(d.buffer)(a,l,this.tmpSize),s=Object(c.buffer)(s,i*l,s)),1!=t&&(a=Object(d.scale)(a,t,this.tmpSize));var p={SERVICE:"WMS",VERSION:n.DEFAULT_WMS_VERSION,REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};return Object(u.assign)(p,this.params_),this.getRequestUrl_(e,a,s,t,o,p)}},t}(i.default);t.default=v},"./node_modules/ol/source/UTFGrid.js":function(e,t,o){"use strict";o.r(t),o.d(t,"CustomTile",(function(){return v}));var r,n=o("./node_modules/ol/events/EventType.js"),i=o("./node_modules/ol/source/State.js"),s=o("./node_modules/ol/Tile.js"),a=o("./node_modules/ol/source/Tile.js"),l=o("./node_modules/ol/TileState.js"),u=o("./node_modules/ol/extent.js"),c=o("./node_modules/ol/asserts.js"),d=o("./node_modules/ol/tileurlfunction.js"),p=o("./node_modules/ol/tilegrid.js"),h=o("./node_modules/ol/tilecoord.js"),f=o("./node_modules/ol/proj.js"),m=o("./node_modules/ol/events.js"),g=o("./node_modules/ol/net.js"),y=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),v=function(e){function t(t,o,r,n,i,s){var a=e.call(this,t,o)||this;return a.src_=r,a.extent_=n,a.preemptive_=i,a.grid_=null,a.keys_=null,a.data_=null,a.jsonp_=s,a}return y(t,e),t.prototype.getImage=function(){return null},t.prototype.getData=function(e){if(!this.grid_||!this.keys_)return null;var t=(e[0]-this.extent_[0])/(this.extent_[2]-this.extent_[0]),o=(e[1]-this.extent_[1])/(this.extent_[3]-this.extent_[1]),r=this.grid_[Math.floor((1-o)*this.grid_.length)];if("string"!=typeof r)return null;var n=r.charCodeAt(Math.floor(t*r.length));n>=93&&n--,n>=35&&n--;var i=null;if((n-=32)in this.keys_){var s=this.keys_[n];i=this.data_&&s in this.data_?this.data_[s]:s}return i},t.prototype.forDataAtCoordinate=function(e,t,o){this.state==l.default.EMPTY&&!0===o?(this.state=l.default.IDLE,Object(m.listenOnce)(this,n.default.CHANGE,(function(o){t(this.getData(e))}),this),this.loadInternal_()):!0===o?setTimeout(function(){t(this.getData(e))}.bind(this),0):t(this.getData(e))},t.prototype.getKey=function(){return this.src_},t.prototype.handleError_=function(){this.state=l.default.ERROR,this.changed()},t.prototype.handleLoad_=function(e){this.grid_=e.grid,this.keys_=e.keys,this.data_=e.data,this.state=l.default.LOADED,this.changed()},t.prototype.loadInternal_=function(){if(this.state==l.default.IDLE)if(this.state=l.default.LOADING,this.jsonp_)Object(g.jsonp)(this.src_,this.handleLoad_.bind(this),this.handleError_.bind(this));else{var e=new XMLHttpRequest;e.addEventListener("load",this.onXHRLoad_.bind(this)),e.addEventListener("error",this.onXHRError_.bind(this)),e.open("GET",this.src_),e.send()}},t.prototype.onXHRLoad_=function(e){var t=e.target;if(!t.status||t.status>=200&&t.status<300){var o=void 0;try{o=JSON.parse(t.responseText)}catch(e){return void this.handleError_()}this.handleLoad_(o)}else this.handleError_()},t.prototype.onXHRError_=function(e){this.handleError_()},t.prototype.load=function(){this.preemptive_?this.loadInternal_():this.setState(l.default.EMPTY)},t}(s.default),_=function(e){function t(t){var o=e.call(this,{projection:Object(f.get)("EPSG:3857"),state:i.default.LOADING,zDirection:t.zDirection})||this;if(o.preemptive_=void 0===t.preemptive||t.preemptive,o.tileUrlFunction_=d.nullTileUrlFunction,o.template_=void 0,o.jsonp_=t.jsonp||!1,t.url)if(o.jsonp_)Object(g.jsonp)(t.url,o.handleTileJSONResponse.bind(o),o.handleTileJSONError.bind(o));else{var r=new XMLHttpRequest;r.addEventListener("load",o.onXHRLoad_.bind(o)),r.addEventListener("error",o.onXHRError_.bind(o)),r.open("GET",t.url),r.send()}else t.tileJSON?o.handleTileJSONResponse(t.tileJSON):Object(c.assert)(!1,51);return o}return y(t,e),t.prototype.onXHRLoad_=function(e){var t=e.target;if(!t.status||t.status>=200&&t.status<300){var o=void 0;try{o=JSON.parse(t.responseText)}catch(e){return void this.handleTileJSONError()}this.handleTileJSONResponse(o)}else this.handleTileJSONError()},t.prototype.onXHRError_=function(e){this.handleTileJSONError()},t.prototype.getTemplate=function(){return this.template_},t.prototype.forDataAtCoordinateAndResolution=function(e,t,o,r){if(this.tileGrid){var n=this.tileGrid.getZForResolution(t,this.zDirection),i=this.tileGrid.getTileCoordForCoordAndZ(e,n);this.getTile(i[0],i[1],i[2],1,this.getProjection()).forDataAtCoordinate(e,o,r)}else!0===r?setTimeout((function(){o(null)}),0):o(null)},t.prototype.handleTileJSONError=function(){this.setState(i.default.ERROR)},t.prototype.handleTileJSONResponse=function(e){var t,o=Object(f.get)("EPSG:4326"),r=this.getProjection();if(void 0!==e.bounds){var n=Object(f.getTransformFromProjections)(o,r);t=Object(u.applyTransform)(e.bounds,n)}var s=Object(p.extentFromProjection)(r),a=e.minzoom||0,l=e.maxzoom||22,c=Object(p.createXYZ)({extent:s,maxZoom:l,minZoom:a});this.tileGrid=c,this.template_=e.template;var h=e.grids;if(h){if(this.tileUrlFunction_=Object(d.createFromTemplates)(h,c),void 0!==e.attribution){var m=void 0!==t?t:s;this.setAttributions((function(t){return Object(u.intersects)(m,t.extent)?[e.attribution]:null}))}this.setState(i.default.READY)}else this.setState(i.default.ERROR)},t.prototype.getTile=function(e,t,o,r,n){var i=Object(h.getKeyZXY)(e,t,o);if(this.tileCache.containsKey(i))return this.tileCache.get(i);var s=[e,t,o],a=this.getTileCoordForTileUrlFunction(s,n),u=this.tileUrlFunction_(a,r,n),c=new v(s,void 0!==u?l.default.IDLE:l.default.EMPTY,void 0!==u?u:"",this.tileGrid.getTileCoordExtent(s),this.preemptive_,this.jsonp_);return this.tileCache.set(i,c),c},t.prototype.useTile=function(e,t,o){var r=Object(h.getKeyZXY)(e,t,o);this.tileCache.containsKey(r)&&this.tileCache.get(r)},t}(a.default);t.default=_},"./node_modules/ol/source/UrlTile.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/source/TileEventType.js"),i=o("./node_modules/ol/source/Tile.js"),s=o("./node_modules/ol/TileState.js"),a=o("./node_modules/ol/tileurlfunction.js"),l=o("./node_modules/ol/tilecoord.js"),u=o("./node_modules/ol/util.js"),c=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),d=function(e){function t(o){var r=e.call(this,{attributions:o.attributions,cacheSize:o.cacheSize,opaque:o.opaque,projection:o.projection,state:o.state,tileGrid:o.tileGrid,tilePixelRatio:o.tilePixelRatio,wrapX:o.wrapX,transition:o.transition,key:o.key,attributionsCollapsible:o.attributionsCollapsible,zDirection:o.zDirection})||this;return r.generateTileUrlFunction_=r.tileUrlFunction===t.prototype.tileUrlFunction,r.tileLoadFunction=o.tileLoadFunction,o.tileUrlFunction&&(r.tileUrlFunction=o.tileUrlFunction),r.urls=null,o.urls?r.setUrls(o.urls):o.url&&r.setUrl(o.url),r.tileLoadingKeys_={},r}return c(t,e),t.prototype.getTileLoadFunction=function(){return this.tileLoadFunction},t.prototype.getTileUrlFunction=function(){return Object.getPrototypeOf(this).tileUrlFunction===this.tileUrlFunction?this.tileUrlFunction.bind(this):this.tileUrlFunction},t.prototype.getUrls=function(){return this.urls},t.prototype.handleTileChange=function(e){var t,o=e.target,r=Object(u.getUid)(o),a=o.getState();a==s.default.LOADING?(this.tileLoadingKeys_[r]=!0,t=n.default.TILELOADSTART):r in this.tileLoadingKeys_&&(delete this.tileLoadingKeys_[r],t=a==s.default.ERROR?n.default.TILELOADERROR:a==s.default.LOADED?n.default.TILELOADEND:void 0),null!=t&&this.dispatchEvent(new i.TileSourceEvent(t,o))},t.prototype.setTileLoadFunction=function(e){this.tileCache.clear(),this.tileLoadFunction=e,this.changed()},t.prototype.setTileUrlFunction=function(e,t){this.tileUrlFunction=e,this.tileCache.pruneExceptNewestZ(),void 0!==t?this.setKey(t):this.changed()},t.prototype.setUrl=function(e){var t=Object(a.expandUrl)(e);this.urls=t,this.setUrls(t)},t.prototype.setUrls=function(e){this.urls=e;var t=e.join("\n");this.generateTileUrlFunction_?this.setTileUrlFunction(Object(a.createFromTemplates)(e,this.tileGrid),t):this.setKey(t)},t.prototype.tileUrlFunction=function(e,t,o){},t.prototype.useTile=function(e,t,o){var r=Object(l.getKeyZXY)(e,t,o);this.tileCache.containsKey(r)&&this.tileCache.get(r)},t}(i.default);t.default=d},"./node_modules/ol/source/Vector.js":function(e,t,o){"use strict";o.r(t),o.d(t,"VectorSourceEvent",(function(){return E}));var r,n=o("./node_modules/ol/Collection.js"),i=o("./node_modules/ol/CollectionEventType.js"),s=o("./node_modules/ol/events/Event.js"),a=o("./node_modules/ol/events/EventType.js"),l=o("./node_modules/ol/ObjectEventType.js"),u=o("./node_modules/ol/structs/RBush.js"),c=o("./node_modules/ol/source/Source.js"),d=o("./node_modules/ol/source/State.js"),p=o("./node_modules/ol/source/VectorEventType.js"),h=o("./node_modules/ol/functions.js"),f=o("./node_modules/ol/loadingstrategy.js"),m=o("./node_modules/ol/asserts.js"),g=o("./node_modules/ol/extent.js"),y=o("./node_modules/ol/array.js"),v=o("./node_modules/ol/util.js"),_=o("./node_modules/ol/obj.js"),b=o("./node_modules/ol/events.js"),A=o("./node_modules/ol/featureloader.js"),C=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),E=function(e){function t(t,o,r){var n=e.call(this,t)||this;return n.feature=o,n.features=r,n}return C(t,e),t}(s.default),S=function(e){function t(t){var o=this,r=t||{};(o=e.call(this,{attributions:r.attributions,projection:void 0,state:d.default.READY,wrapX:void 0===r.wrapX||r.wrapX})||this).on,o.once,o.un,o.loader_=h.VOID,o.format_=r.format,o.overlaps_=void 0===r.overlaps||r.overlaps,o.url_=r.url,void 0!==r.loader?o.loader_=r.loader:void 0!==o.url_&&(Object(m.assert)(o.format_,7),o.loader_=Object(A.xhr)(o.url_,o.format_)),o.strategy_=void 0!==r.strategy?r.strategy:f.all;var i,s,a=void 0===r.useSpatialIndex||r.useSpatialIndex;return o.featuresRtree_=a?new u.default:null,o.loadedExtentsRtree_=new u.default,o.loadingExtentsCount_=0,o.nullGeometryFeatures_={},o.idIndex_={},o.uidIndex_={},o.featureChangeKeys_={},o.featuresCollection_=null,Array.isArray(r.features)?s=r.features:r.features&&(s=(i=r.features).getArray()),a||void 0!==i||(i=new n.default(s)),void 0!==s&&o.addFeaturesInternal(s),void 0!==i&&o.bindFeaturesCollection_(i),o}return C(t,e),t.prototype.addFeature=function(e){this.addFeatureInternal(e),this.changed()},t.prototype.addFeatureInternal=function(e){var t=Object(v.getUid)(e);if(this.addToIndex_(t,e)){this.setupChangeEvents_(t,e);var o=e.getGeometry();if(o){var r=o.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(r,e)}else this.nullGeometryFeatures_[t]=e;this.dispatchEvent(new E(p.default.ADDFEATURE,e))}else this.featuresCollection_&&this.featuresCollection_.remove(e)},t.prototype.setupChangeEvents_=function(e,t){this.featureChangeKeys_[e]=[Object(b.listen)(t,a.default.CHANGE,this.handleFeatureChange_,this),Object(b.listen)(t,l.default.PROPERTYCHANGE,this.handleFeatureChange_,this)]},t.prototype.addToIndex_=function(e,t){var o=!0,r=t.getId();return void 0!==r&&(r.toString()in this.idIndex_?o=!1:this.idIndex_[r.toString()]=t),o&&(Object(m.assert)(!(e in this.uidIndex_),30),this.uidIndex_[e]=t),o},t.prototype.addFeatures=function(e){this.addFeaturesInternal(e),this.changed()},t.prototype.addFeaturesInternal=function(e){for(var t=[],o=[],r=[],n=0,i=e.length;n<i;n++){var s=e[n],a=Object(v.getUid)(s);this.addToIndex_(a,s)&&o.push(s)}n=0;for(var l=o.length;n<l;n++){s=o[n],a=Object(v.getUid)(s);this.setupChangeEvents_(a,s);var u=s.getGeometry();if(u){var c=u.getExtent();t.push(c),r.push(s)}else this.nullGeometryFeatures_[a]=s}this.featuresRtree_&&this.featuresRtree_.load(t,r);n=0;for(var d=o.length;n<d;n++)this.dispatchEvent(new E(p.default.ADDFEATURE,o[n]))},t.prototype.bindFeaturesCollection_=function(e){var t=!1;this.addEventListener(p.default.ADDFEATURE,(function(o){t||(t=!0,e.push(o.feature),t=!1)})),this.addEventListener(p.default.REMOVEFEATURE,(function(o){t||(t=!0,e.remove(o.feature),t=!1)})),e.addEventListener(i.default.ADD,function(e){t||(t=!0,this.addFeature(e.element),t=!1)}.bind(this)),e.addEventListener(i.default.REMOVE,function(e){t||(t=!0,this.removeFeature(e.element),t=!1)}.bind(this)),this.featuresCollection_=e},t.prototype.clear=function(e){if(e){for(var t in this.featureChangeKeys_){this.featureChangeKeys_[t].forEach(b.unlistenByKey)}this.featuresCollection_||(this.featureChangeKeys_={},this.idIndex_={},this.uidIndex_={})}else if(this.featuresRtree_)for(var o in this.featuresRtree_.forEach(this.removeFeatureInternal.bind(this)),this.nullGeometryFeatures_)this.removeFeatureInternal(this.nullGeometryFeatures_[o]);this.featuresCollection_&&this.featuresCollection_.clear(),this.featuresRtree_&&this.featuresRtree_.clear(),this.nullGeometryFeatures_={};var r=new E(p.default.CLEAR);this.dispatchEvent(r),this.changed()},t.prototype.forEachFeature=function(e){if(this.featuresRtree_)return this.featuresRtree_.forEach(e);this.featuresCollection_&&this.featuresCollection_.forEach(e)},t.prototype.forEachFeatureAtCoordinateDirect=function(e,t){var o=[e[0],e[1],e[0],e[1]];return this.forEachFeatureInExtent(o,(function(o){return o.getGeometry().intersectsCoordinate(e)?t(o):void 0}))},t.prototype.forEachFeatureInExtent=function(e,t){if(this.featuresRtree_)return this.featuresRtree_.forEachInExtent(e,t);this.featuresCollection_&&this.featuresCollection_.forEach(t)},t.prototype.forEachFeatureIntersectingExtent=function(e,t){return this.forEachFeatureInExtent(e,(function(o){if(o.getGeometry().intersectsExtent(e)){var r=t(o);if(r)return r}}))},t.prototype.getFeaturesCollection=function(){return this.featuresCollection_},t.prototype.getFeatures=function(){var e;return this.featuresCollection_?e=this.featuresCollection_.getArray().slice(0):this.featuresRtree_&&(e=this.featuresRtree_.getAll(),Object(_.isEmpty)(this.nullGeometryFeatures_)||Object(y.extend)(e,Object(_.getValues)(this.nullGeometryFeatures_))),e},t.prototype.getFeaturesAtCoordinate=function(e){var t=[];return this.forEachFeatureAtCoordinateDirect(e,(function(e){t.push(e)})),t},t.prototype.getFeaturesInExtent=function(e){return this.featuresRtree_?this.featuresRtree_.getInExtent(e):this.featuresCollection_?this.featuresCollection_.getArray().slice(0):[]},t.prototype.getClosestFeatureToCoordinate=function(e,t){var o=e[0],r=e[1],n=null,i=[NaN,NaN],s=1/0,a=[-1/0,-1/0,1/0,1/0],l=t||h.TRUE;return this.featuresRtree_.forEachInExtent(a,(function(e){if(l(e)){var t=e.getGeometry(),u=s;if((s=t.closestPointXY(o,r,i,s))<u){n=e;var c=Math.sqrt(s);a[0]=o-c,a[1]=r-c,a[2]=o+c,a[3]=r+c}}})),n},t.prototype.getExtent=function(e){return this.featuresRtree_.getExtent(e)},t.prototype.getFeatureById=function(e){var t=this.idIndex_[e.toString()];return void 0!==t?t:null},t.prototype.getFeatureByUid=function(e){var t=this.uidIndex_[e];return void 0!==t?t:null},t.prototype.getFormat=function(){return this.format_},t.prototype.getOverlaps=function(){return this.overlaps_},t.prototype.getUrl=function(){return this.url_},t.prototype.handleFeatureChange_=function(e){var t=e.target,o=Object(v.getUid)(t),r=t.getGeometry();if(r){var n=r.getExtent();o in this.nullGeometryFeatures_?(delete this.nullGeometryFeatures_[o],this.featuresRtree_&&this.featuresRtree_.insert(n,t)):this.featuresRtree_&&this.featuresRtree_.update(n,t)}else o in this.nullGeometryFeatures_||(this.featuresRtree_&&this.featuresRtree_.remove(t),this.nullGeometryFeatures_[o]=t);var i=t.getId();if(void 0!==i){var s=i.toString();this.idIndex_[s]!==t&&(this.removeFromIdIndex_(t),this.idIndex_[s]=t)}else this.removeFromIdIndex_(t),this.uidIndex_[o]=t;this.changed(),this.dispatchEvent(new E(p.default.CHANGEFEATURE,t))},t.prototype.hasFeature=function(e){var t=e.getId();return void 0!==t?t in this.idIndex_:Object(v.getUid)(e)in this.uidIndex_},t.prototype.isEmpty=function(){return this.featuresRtree_.isEmpty()&&Object(_.isEmpty)(this.nullGeometryFeatures_)},t.prototype.loadFeatures=function(e,t,o){for(var r=this.loadedExtentsRtree_,n=this.strategy_(e,t,o),i=function(e,i){var a=n[e];r.forEachInExtent(a,(function(e){return Object(g.containsExtent)(e.extent,a)}))||(++s.loadingExtentsCount_,s.dispatchEvent(new E(p.default.FEATURESLOADSTART)),s.loader_.call(s,a,t,o,function(e){--this.loadingExtentsCount_,this.dispatchEvent(new E(p.default.FEATURESLOADEND,void 0,e))}.bind(s),function(){--this.loadingExtentsCount_,this.dispatchEvent(new E(p.default.FEATURESLOADERROR))}.bind(s)),r.insert(a,{extent:a.slice()}))},s=this,a=0,l=n.length;a<l;++a)i(a);this.loading=!(this.loader_.length<4)&&this.loadingExtentsCount_>0},t.prototype.refresh=function(){this.clear(!0),this.loadedExtentsRtree_.clear(),e.prototype.refresh.call(this)},t.prototype.removeLoadedExtent=function(e){var t,o=this.loadedExtentsRtree_;o.forEachInExtent(e,(function(o){if(Object(g.equals)(o.extent,e))return t=o,!0})),t&&o.remove(t)},t.prototype.removeFeature=function(e){var t=Object(v.getUid)(e);t in this.nullGeometryFeatures_?delete this.nullGeometryFeatures_[t]:this.featuresRtree_&&this.featuresRtree_.remove(e),this.removeFeatureInternal(e),this.changed()},t.prototype.removeFeatureInternal=function(e){var t=Object(v.getUid)(e);this.featureChangeKeys_[t].forEach(b.unlistenByKey),delete this.featureChangeKeys_[t];var o=e.getId();void 0!==o&&delete this.idIndex_[o.toString()],delete this.uidIndex_[t],this.dispatchEvent(new E(p.default.REMOVEFEATURE,e))},t.prototype.removeFromIdIndex_=function(e){var t=!1;for(var o in this.idIndex_)if(this.idIndex_[o]===e){delete this.idIndex_[o],t=!0;break}return t},t.prototype.setLoader=function(e){this.loader_=e},t.prototype.setUrl=function(e){Object(m.assert)(this.format_,7),this.url_=e,this.setLoader(Object(A.xhr)(e,this.format_))},t}(c.default);t.default=S},"./node_modules/ol/source/VectorEventType.js":function(e,t,o){"use strict";o.r(t),t.default={ADDFEATURE:"addfeature",CHANGEFEATURE:"changefeature",CLEAR:"clear",REMOVEFEATURE:"removefeature",FEATURESLOADSTART:"featuresloadstart",FEATURESLOADEND:"featuresloadend",FEATURESLOADERROR:"featuresloaderror"}},"./node_modules/ol/source/VectorTile.js":function(e,t,o){"use strict";o.r(t),o.d(t,"defaultLoadFunction",(function(){return v}));var r,n=o("./node_modules/ol/events/EventType.js"),i=o("./node_modules/ol/VectorTile.js"),s=o("./node_modules/ol/TileCache.js"),a=o("./node_modules/ol/TileState.js"),l=o("./node_modules/ol/source/UrlTile.js"),u=o("./node_modules/ol/VectorRenderTile.js"),c=o("./node_modules/ol/extent.js"),d=o("./node_modules/ol/tilegrid.js"),p=o("./node_modules/ol/tilecoord.js"),h=o("./node_modules/ol/obj.js"),f=o("./node_modules/ol/featureloader.js"),m=o("./node_modules/ol/size.js"),g=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),y=function(e){function t(t){var o=this,r=t.projection||"EPSG:3857",n=t.extent||Object(d.extentFromProjection)(r),a=t.tileGrid||Object(d.createXYZ)({extent:n,maxResolution:t.maxResolution,maxZoom:void 0!==t.maxZoom?t.maxZoom:22,minZoom:t.minZoom,tileSize:t.tileSize||512});return(o=e.call(this,{attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,cacheSize:t.cacheSize,opaque:!1,projection:r,state:t.state,tileGrid:a,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:v,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition,zDirection:void 0===t.zDirection?1:t.zDirection})||this).format_=t.format?t.format:null,o.sourceTileCache=new s.default(o.tileCache.highWaterMark),o.overlaps_=null==t.overlaps||t.overlaps,o.tileClass=t.tileClass?t.tileClass:i.default,o.tileGrids_={},o}return g(t,e),t.prototype.getFeaturesInExtent=function(e){var t=[],o=this.tileCache;if(0===o.getCount())return t;var r=Object(p.fromKey)(o.peekFirstKey())[0],n=this.tileGrid;return o.forEach((function(o){if(o.tileCoord[0]===r&&o.getState()===a.default.LOADED)for(var i=o.getSourceTiles(),s=0,l=i.length;s<l;++s){var u=i[s],d=u.tileCoord;if(Object(c.intersects)(e,n.getTileCoordExtent(d))){var p=u.getFeatures();if(p)for(var h=0,f=p.length;h<f;++h){var m=p[h],g=m.getGeometry();Object(c.intersects)(e,g.getExtent())&&t.push(m)}}}})),t},t.prototype.getOverlaps=function(){return this.overlaps_},t.prototype.clear=function(){this.tileCache.clear(),this.sourceTileCache.clear()},t.prototype.expireCache=function(t,o){var r=this.getTileCacheForProjection(t),n=Object.keys(o).reduce((function(e,t){var o=Object(p.getCacheKeyForTileKey)(t);if(r.containsKey(o))for(var n=r.get(o).sourceTiles,i=0,s=n.length;i<s;++i)e[n[i].getKey()]=!0;return e}),{});e.prototype.expireCache.call(this,t,o),this.sourceTileCache.expireCache(n)},t.prototype.getSourceTiles=function(e,t,o){var r=this;if(o.getState()===a.default.IDLE){o.setState(a.default.LOADING);var i=o.wrappedTileCoord,s=this.getTileGridForProjection(t),l=s.getTileCoordExtent(i),u=i[0],d=s.getResolution(u);Object(c.buffer)(l,-d,l);var p=this.tileGrid,f=p.getExtent();f&&Object(c.getIntersection)(l,f,l);var m=p.getZForResolution(d,1);p.forEachTileCoord(l,m,(function(i){var s=r.tileUrlFunction(i,e,t),l=r.sourceTileCache.containsKey(s)?r.sourceTileCache.get(s):new r.tileClass(i,s?a.default.IDLE:a.default.EMPTY,s,r.format_,r.tileLoadFunction);o.sourceTiles.push(l);var u=l.getState();if(u<a.default.LOADED){var c=function(e){r.handleTileChange(e);var t=l.getState();if(t===a.default.LOADED||t===a.default.ERROR){var i=l.getKey();i in o.errorTileKeys?l.getState()===a.default.LOADED&&delete o.errorTileKeys[i]:o.loadingSourceTiles--,t===a.default.ERROR?o.errorTileKeys[i]=!0:l.removeEventListener(n.default.CHANGE,c),0===o.loadingSourceTiles&&o.setState(Object(h.isEmpty)(o.errorTileKeys)?a.default.LOADED:a.default.ERROR)}};l.addEventListener(n.default.CHANGE,c),o.loadingSourceTiles++}u===a.default.IDLE&&(l.extent=p.getTileCoordExtent(i),l.projection=t,l.resolution=p.getResolution(i[0]),r.sourceTileCache.set(s,l),l.load())})),o.loadingSourceTiles||o.setState(o.sourceTiles.some((function(e){return e.getState()===a.default.ERROR}))?a.default.ERROR:a.default.LOADED)}return o.sourceTiles},t.prototype.getTile=function(e,t,o,r,n){var i,s=Object(p.getKeyZXY)(e,t,o),l=this.getKey();if(this.tileCache.containsKey(s)&&(i=this.tileCache.get(s)).key===l)return i;var d=[e,t,o],h=this.getTileCoordForTileUrlFunction(d,n),f=this.getTileGrid().getExtent(),m=this.getTileGridForProjection(n);if(h&&f){var g=m.getTileCoordExtent(h);Object(c.buffer)(g,-m.getResolution(e),g),Object(c.intersects)(f,g)||(h=null)}var y=!0;if(null!==h){var v=this.tileGrid,_=m.getResolution(e),b=v.getZForResolution(_,1),A=m.getTileCoordExtent(h);Object(c.buffer)(A,-_,A),v.forEachTileCoord(A,b,function(e){y=y&&!this.tileUrlFunction(e,r,n)}.bind(this))}var C=new u.default(d,y?a.default.EMPTY:a.default.IDLE,h,this.getSourceTiles.bind(this,r,n));return C.key=l,i?(C.interimTile=i,C.refreshInterimChain(),this.tileCache.replace(s,C)):this.tileCache.set(s,C),C},t.prototype.getTileGridForProjection=function(e){var t=e.getCode(),o=this.tileGrids_[t];if(!o){var r=this.tileGrid;o=Object(d.createForProjection)(e,void 0,r?r.getTileSize(r.getMinZoom()):void 0),this.tileGrids_[t]=o}return o},t.prototype.getTilePixelRatio=function(e){return e},t.prototype.getTilePixelSize=function(e,t,o){var r=this.getTileGridForProjection(o),n=Object(m.toSize)(r.getTileSize(e),this.tmpSize);return[Math.round(n[0]*t),Math.round(n[1]*t)]},t.prototype.updateCacheSize=function(t,o){e.prototype.updateCacheSize.call(this,2*t,o),this.sourceTileCache.highWaterMark=this.getTileCacheForProjection(o).highWaterMark},t}(l.default);function v(e,t){e.setLoader((function(o,r,n){Object(f.loadFeaturesXhr)(t,e.getFormat(),o,r,n,e.onLoad.bind(e),e.onError.bind(e))}))}t.default=y},"./node_modules/ol/source/WMSServerType.js":function(e,t,o){"use strict";o.r(t),t.default={CARMENTA_SERVER:"carmentaserver",GEOSERVER:"geoserver",MAPSERVER:"mapserver",QGIS:"qgis"}},"./node_modules/ol/source/WMTS.js":function(e,t,o){"use strict";o.r(t),o.d(t,"optionsFromCapabilities",(function(){return m}));var r,n=o("./node_modules/ol/source/TileImage.js"),i=o("./node_modules/ol/source/WMTSRequestEncoding.js"),s=o("./node_modules/ol/uri.js"),a=o("./node_modules/ol/obj.js"),l=o("./node_modules/ol/extent.js"),u=o("./node_modules/ol/tilegrid/WMTS.js"),c=o("./node_modules/ol/tileurlfunction.js"),d=o("./node_modules/ol/proj.js"),p=o("./node_modules/ol/array.js"),h=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),f=function(e){function t(t){var o=this,r=void 0!==t.requestEncoding?t.requestEncoding:i.default.KVP,n=t.tileGrid,s=t.urls;return void 0===s&&void 0!==t.url&&(s=Object(c.expandUrl)(t.url)),(o=e.call(this,{attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,imageSmoothing:t.imageSmoothing,projection:t.projection,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileClass:t.tileClass,tileGrid:n,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,urls:s,wrapX:void 0!==t.wrapX&&t.wrapX,transition:t.transition,zDirection:t.zDirection})||this).version_=void 0!==t.version?t.version:"1.0.0",o.format_=void 0!==t.format?t.format:"image/jpeg",o.dimensions_=void 0!==t.dimensions?t.dimensions:{},o.layer_=t.layer,o.matrixSet_=t.matrixSet,o.style_=t.style,o.requestEncoding_=r,o.setKey(o.getKeyForDimensions_()),s&&s.length>0&&(o.tileUrlFunction=Object(c.createFromTileUrlFunctions)(s.map(o.createFromWMTSTemplate.bind(o)))),o}return h(t,e),t.prototype.setUrls=function(e){this.urls=e;var t=e.join("\n");this.setTileUrlFunction(Object(c.createFromTileUrlFunctions)(e.map(this.createFromWMTSTemplate.bind(this))),t)},t.prototype.getDimensions=function(){return this.dimensions_},t.prototype.getFormat=function(){return this.format_},t.prototype.getLayer=function(){return this.layer_},t.prototype.getMatrixSet=function(){return this.matrixSet_},t.prototype.getRequestEncoding=function(){return this.requestEncoding_},t.prototype.getStyle=function(){return this.style_},t.prototype.getVersion=function(){return this.version_},t.prototype.getKeyForDimensions_=function(){var e=0,t=[];for(var o in this.dimensions_)t[e++]=o+"-"+this.dimensions_[o];return t.join("/")},t.prototype.updateDimensions=function(e){Object(a.assign)(this.dimensions_,e),this.setKey(this.getKeyForDimensions_())},t.prototype.createFromWMTSTemplate=function(e){var t=this.requestEncoding_,o={layer:this.layer_,style:this.style_,tilematrixset:this.matrixSet_};t==i.default.KVP&&Object(a.assign)(o,{Service:"WMTS",Request:"GetTile",Version:this.version_,Format:this.format_}),e=t==i.default.KVP?Object(s.appendParams)(e,o):e.replace(/\{(\w+?)\}/g,(function(e,t){return t.toLowerCase()in o?o[t.toLowerCase()]:e}));var r=this.tileGrid,n=this.dimensions_;return function(o,l,u){if(o){var c={TileMatrix:r.getMatrixId(o[0]),TileCol:o[1],TileRow:o[2]};Object(a.assign)(c,n);var d=e;return d=t==i.default.KVP?Object(s.appendParams)(d,c):d.replace(/\{(\w+?)\}/g,(function(e,t){return c[t]}))}}},t}(n.default);function m(e,t){var o=e.Contents.Layer,r=Object(p.find)(o,(function(e,o,r){return e.Identifier==t.layer}));if(null===r)return null;var n,s=e.Contents.TileMatrixSet;(n=r.TileMatrixSetLink.length>1?"projection"in t?Object(p.findIndex)(r.TileMatrixSetLink,(function(e,o,r){var n=Object(p.find)(s,(function(t){return t.Identifier==e.TileMatrixSet})).SupportedCRS,i=Object(d.get)(n),a=Object(d.get)(t.projection);return i&&a?Object(d.equivalent)(i,a):n==t.projection})):Object(p.findIndex)(r.TileMatrixSetLink,(function(e,o,r){return e.TileMatrixSet==t.matrixSet})):0)<0&&(n=0);var a=r.TileMatrixSetLink[n].TileMatrixSet,c=r.TileMatrixSetLink[n].TileMatrixSetLimits,h=r.Format[0];"format"in t&&(h=t.format),(n=Object(p.findIndex)(r.Style,(function(e,o,r){return"style"in t?e.Title==t.style:e.isDefault})))<0&&(n=0);var f=r.Style[n].Identifier,m={};"Dimension"in r&&r.Dimension.forEach((function(e,t,o){var r=e.Identifier,n=e.Default;void 0===n&&(n=e.Value[0]),m[r]=n}));var g,y=e.Contents.TileMatrixSet,v=Object(p.find)(y,(function(e,t,o){return e.Identifier==a})),_=v.SupportedCRS;if(_&&(g=Object(d.get)(_)),"projection"in t){var b=Object(d.get)(t.projection);b&&(g&&!Object(d.equivalent)(b,g)||(g=b))}var A=!1,C="ne"==g.getAxisOrientation().substr(0,2),E=v.TileMatrix[0],S={MinTileCol:0,MinTileRow:0,MaxTileCol:E.MatrixWidth-1,MaxTileRow:E.MatrixHeight-1};if(c){S=c[c.length-1];var w=Object(p.find)(v.TileMatrix,(function(e){return e.Identifier===S.TileMatrix||v.Identifier+":"+e.Identifier===S.TileMatrix}));w&&(E=w)}var O=28e-5*E.ScaleDenominator/g.getMetersPerUnit(),I=C?[E.TopLeftCorner[1],E.TopLeftCorner[0]]:E.TopLeftCorner,x=E.TileWidth*O,j=E.TileHeight*O,T=v.BoundingBox,P=[I[0]+x*S.MinTileCol,I[1]-j*(1+S.MaxTileRow),I[0]+x*(1+S.MaxTileCol),I[1]-j*S.MinTileRow];if(void 0!==T&&!Object(l.containsExtent)(T,P)){var M=r.WGS84BoundingBox,R=Object(d.get)("EPSG:4326").getExtent();if(P=T,M)A=M[0]===R[0]&&M[2]===R[2];else{var L=Object(d.transformExtent)(T,v.SupportedCRS,"EPSG:4326");A=L[0]-1e-10<=R[0]&&L[2]+1e-10>=R[2]}}var k=Object(u.createFromCapabilitiesMatrixSet)(v,P,c),N=[],D=t.requestEncoding;if(D=void 0!==D?D:"","OperationsMetadata"in e&&"GetTile"in e.OperationsMetadata)for(var G=e.OperationsMetadata.GetTile.DCP.HTTP.Get,F=0,U=G.length;F<U;++F)if(G[F].Constraint){var B=Object(p.find)(G[F].Constraint,(function(e){return"GetEncoding"==e.name})).AllowedValues.Value;if(""===D&&(D=B[0]),D!==i.default.KVP)break;Object(p.includes)(B,i.default.KVP)&&N.push(G[F].href)}else G[F].href&&(D=i.default.KVP,N.push(G[F].href));return 0===N.length&&(D=i.default.REST,r.ResourceURL.forEach((function(e){"tile"===e.resourceType&&(h=e.format,N.push(e.template))}))),{urls:N,layer:t.layer,matrixSet:a,format:h,projection:g,requestEncoding:D,tileGrid:k,style:f,dimensions:m,wrapX:A,crossOrigin:t.crossOrigin}}t.default=f},"./node_modules/ol/source/WMTSRequestEncoding.js":function(e,t,o){"use strict";o.r(t),t.default={KVP:"KVP",REST:"REST"}},"./node_modules/ol/source/XYZ.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/source/TileImage.js"),i=o("./node_modules/ol/tilegrid.js"),s=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=function(e){function t(t){var o=t||{},r=void 0!==o.projection?o.projection:"EPSG:3857",n=void 0!==o.tileGrid?o.tileGrid:Object(i.createXYZ)({extent:Object(i.extentFromProjection)(r),maxResolution:o.maxResolution,maxZoom:o.maxZoom,minZoom:o.minZoom,tileSize:o.tileSize});return e.call(this,{attributions:o.attributions,cacheSize:o.cacheSize,crossOrigin:o.crossOrigin,imageSmoothing:o.imageSmoothing,opaque:o.opaque,projection:r,reprojectionErrorThreshold:o.reprojectionErrorThreshold,tileGrid:n,tileLoadFunction:o.tileLoadFunction,tilePixelRatio:o.tilePixelRatio,tileUrlFunction:o.tileUrlFunction,url:o.url,urls:o.urls,wrapX:void 0===o.wrapX||o.wrapX,transition:o.transition,attributionsCollapsible:o.attributionsCollapsible,zDirection:o.zDirection})||this}return s(t,e),t}(n.default);t.default=a},"./node_modules/ol/source/Zoomify.js":function(e,t,o){"use strict";o.r(t),o.d(t,"CustomTile",(function(){return y}));var r,n=o("./node_modules/ol/tilegrid/common.js"),i=o("./node_modules/ol/ImageTile.js"),s=o("./node_modules/ol/tilegrid/TileGrid.js"),a=o("./node_modules/ol/source/TileImage.js"),l=o("./node_modules/ol/TileState.js"),u=o("./node_modules/ol/asserts.js"),c=o("./node_modules/ol/dom.js"),d=o("./node_modules/ol/tileurlfunction.js"),p=o("./node_modules/ol/extent.js"),h=o("./node_modules/ol/size.js"),f=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),m="default",g="truncated",y=function(e){function t(t,o,r,n,i,s,a){var l=e.call(this,o,r,n,i,s,a)||this;return l.zoomifyImage_=null,l.tileSize_=t,l}return f(t,e),t.prototype.getImage=function(){if(this.zoomifyImage_)return this.zoomifyImage_;var t=e.prototype.getImage.call(this);if(this.state==l.default.LOADED){var o=this.tileSize_;if(t.width==o[0]&&t.height==o[1])return this.zoomifyImage_=t,t;var r=Object(c.createCanvasContext2D)(o[0],o[1]);return r.drawImage(t,0,0),this.zoomifyImage_=r.canvas,r.canvas}return t},t}(i.default),v=function(e){function t(t){var o=this,r=t,i=r.size,a=void 0!==r.tierSizeCalculation?r.tierSizeCalculation:m,l=r.tilePixelRatio||1,c=i[0],f=i[1],v=[],_=r.tileSize||n.DEFAULT_TILE_SIZE,b=_*l;switch(a){case m:for(;c>b||f>b;)v.push([Math.ceil(c/b),Math.ceil(f/b)]),b+=b;break;case g:for(var A=c,C=f;A>b||C>b;)v.push([Math.ceil(A/b),Math.ceil(C/b)]),A>>=1,C>>=1;break;default:Object(u.assert)(!1,53)}v.push([1,1]),v.reverse();for(var E=[l],S=[0],w=1,O=v.length;w<O;w++)E.push(l<<w),S.push(v[w-1][0]*v[w-1][1]+S[w-1]);E.reverse();var I=new s.default({tileSize:_,extent:r.extent||[0,-f,c,0],resolutions:E}),x=r.url;x&&-1==x.indexOf("{TileGroup}")&&-1==x.indexOf("{tileIndex}")&&(x+="{TileGroup}/{z}-{x}-{y}.jpg");var j=Object(d.expandUrl)(x),T=_*l;var P=Object(d.createFromTileUrlFunctions)(j.map((function(e){return function(t,o,r){if(t){var n=t[0],i=t[1],s=t[2],a=i+s*v[n][0],l={z:n,x:i,y:s,tileIndex:a,TileGroup:"TileGroup"+((a+S[n])/T|0)};return e.replace(/\{(\w+?)\}/g,(function(e,t){return l[t]}))}}}))),M=y.bind(null,Object(h.toSize)(_*l));(o=e.call(this,{attributions:r.attributions,cacheSize:r.cacheSize,crossOrigin:r.crossOrigin,imageSmoothing:r.imageSmoothing,projection:r.projection,tilePixelRatio:l,reprojectionErrorThreshold:r.reprojectionErrorThreshold,tileClass:M,tileGrid:I,tileUrlFunction:P,transition:r.transition})||this).zDirection=r.zDirection;var R=P(I.getTileCoordForCoordAndResolution(Object(p.getCenter)(I.getExtent()),E[E.length-1]),1,null),L=new Image;return L.addEventListener("error",function(){T=_,this.changed()}.bind(o)),L.src=R,o}return f(t,e),t}(a.default);t.default=v},"./node_modules/ol/source/common.js":function(e,t,o){"use strict";o.r(t),o.d(t,"DEFAULT_WMS_VERSION",(function(){return r})),o.d(t,"IMAGE_SMOOTHING_DISABLED",(function(){return n}));var r="1.3.0",n={imageSmoothingEnabled:!1,msImageSmoothingEnabled:!1}},"./node_modules/ol/source/ogcTileUtil.js":function(e,t,o){"use strict";o.r(t),o.d(t,"getMapTileUrlTemplate",(function(){return c})),o.d(t,"getVectorTileUrlTemplate",(function(){return d})),o.d(t,"getTileSetInfo",(function(){return h}));var r=o("./node_modules/ol/tilegrid/TileGrid.js"),n=o("./node_modules/ol/obj.js"),i=o("./node_modules/ol/net.js"),s=o("./node_modules/ol/proj.js"),a=o("./node_modules/ol/extent.js"),l={"image/png":!0,"image/jpeg":!0,"image/gif":!0,"image/webp":!0},u={"application/vnd.mapbox-vector-tile":!0,"application/geo+json":!0};function c(e,t){for(var o,r,n=0;n<e.length;++n){var i=e[n];if("item"===i.rel){if(i.type===t){o=i.href;break}l[i.type]?r=i.href:r||0!==i.type.indexOf("image/")||(r=i.href)}}if(!o){if(!r)throw new Error('Could not find "item" link');o=r}return o}function d(e,t,o){for(var r,n,i={},s=0;s<e.length;++s){var a=e[s];if(i[a.type]=a.href,"item"===a.rel){if(a.type===t){r=a.href;break}u[a.type]&&(n=a.href)}}if(!r&&o)for(s=0;s<o.length;++s){var l=o[s];if(i[l]){r=i[l];break}}if(!r){if(!n)throw new Error('Could not find "item" link');r=n}return r}function p(e,t,o,l){var u=e.projection;if(!u&&!(u=Object(s.get)(t.crs)))throw new Error("Unsupported CRS: "+t.crs);for(var c="en"!==u.getAxisOrientation().substr(0,2),d=t.tileMatrices,p={},h=0;h<d.length;++h){var f=d[h];p[f.id]=f}var m={},g=[];if(l)for(h=0;h<l.length;++h){var y=(S=l[h]).tileMatrix;g.push(y),m[y]=S}else for(h=0;h<d.length;++h){y=d[h].id;g.push(y)}var v=g.length,_=new Array(v),b=new Array(v),A=new Array(v),C=new Array(v),E=[-1/0,-1/0,1/0,1/0];for(h=0;h<v;++h){y=g[h];var S,w=(f=p[y]).pointOfOrigin;if(_[h]=c?[w[1],w[0]]:w,b[h]=f.cellSize,A[h]=[f.matrixWidth,f.matrixHeight],C[h]=[f.tileWidth,f.tileHeight],S=m[y]){var O=f.cellSize*f.tileWidth,I=_[h][0]+S.minTileCol*O,x=_[h][0]+(S.maxTileCol+1)*O,j=f.cellSize*f.tileHeight,T=void 0,P=void 0;"bottomLeft"===f.cornerOfOrigin?(T=_[h][1]+S.minTileRow*j,P=_[h][1]+(S.maxTileRow+1)*j):(T=_[h][1]-(S.maxTileRow+1)*j,P=_[h][1]-S.minTileRow*j),Object(a.getIntersection)(E,[I,T,x,P],E)}}var M=new r.default({origins:_,resolutions:b,sizes:A,tileSizes:C,extent:l?E:void 0}),R=e.context,L=e.url;return{grid:M,urlTemplate:o,urlFunction:function(e,t,r){if(e){var s=g[e[0]],a=p[s],u="bottomLeft"===a.cornerOfOrigin,c={tileMatrix:s,tileCol:e[1],tileRow:u?-e[2]-1:e[2]};if(l){var d=m[a.id];if(c.tileCol<d.minTileCol||c.tileCol>d.maxTileCol||c.tileRow<d.minTileRow||c.tileRow>d.maxTileRow)return}Object(n.assign)(c,R);var h=o.replace(/\{(\w+?)\}/g,(function(e,t){return c[t]}));return Object(i.resolveUrl)(L,h)}}}}function h(e){return Object(i.getJSON)(e.url).then((function(t){return function(e,t){var o,r=t.tileMatrixSetLimits;if("map"===t.dataType)o=c(t.links,e.mediaType);else{if("vector"!==t.dataType)throw new Error('Expected tileset data type to be "map" or "vector"');o=d(t.links,e.mediaType,e.supportedMediaTypes)}if(t.tileMatrixSet)return p(e,t.tileMatrixSet,o,r);if(!t.tileMatrixSetDefinition)throw new Error("Expected tileMatrixSetDefinition or tileMatrixSet");var n=Object(i.resolveUrl)(e.url,t.tileMatrixSetDefinition);return Object(i.getJSON)(n).then((function(t){return p(e,t,o,r)}))}(e,t)}))}},"./node_modules/ol/sphere.js":function(e,t,o){"use strict";o.r(t),o.d(t,"DEFAULT_RADIUS",(function(){return i})),o.d(t,"getDistance",(function(){return s})),o.d(t,"getLength",(function(){return l})),o.d(t,"getArea",(function(){return c})),o.d(t,"offset",(function(){return d}));var r=o("./node_modules/ol/geom/GeometryType.js"),n=o("./node_modules/ol/math.js"),i=6371008.8;function s(e,t,o){var r=o||i,s=Object(n.toRadians)(e[1]),a=Object(n.toRadians)(t[1]),l=(a-s)/2,u=Object(n.toRadians)(t[0]-e[0])/2,c=Math.sin(l)*Math.sin(l)+Math.sin(u)*Math.sin(u)*Math.cos(s)*Math.cos(a);return 2*r*Math.atan2(Math.sqrt(c),Math.sqrt(1-c))}function a(e,t){for(var o=0,r=0,n=e.length;r<n-1;++r)o+=s(e[r],e[r+1],t);return o}function l(e,t){var o=t||{},n=o.radius||i,s=o.projection||"EPSG:3857",u=e.getType();u!==r.default.GEOMETRY_COLLECTION&&(e=e.clone().transform(s,"EPSG:4326"));var c,d,p,h,f,m,g=0;switch(u){case r.default.POINT:case r.default.MULTI_POINT:break;case r.default.LINE_STRING:case r.default.LINEAR_RING:g=a(c=e.getCoordinates(),n);break;case r.default.MULTI_LINE_STRING:case r.default.POLYGON:for(p=0,h=(c=e.getCoordinates()).length;p<h;++p)g+=a(c[p],n);break;case r.default.MULTI_POLYGON:for(p=0,h=(c=e.getCoordinates()).length;p<h;++p)for(f=0,m=(d=c[p]).length;f<m;++f)g+=a(d[f],n);break;case r.default.GEOMETRY_COLLECTION:var y=e.getGeometries();for(p=0,h=y.length;p<h;++p)g+=l(y[p],t);break;default:throw new Error("Unsupported geometry type: "+u)}return g}function u(e,t){for(var o=0,r=e.length,i=e[r-1][0],s=e[r-1][1],a=0;a<r;a++){var l=e[a][0],u=e[a][1];o+=Object(n.toRadians)(l-i)*(2+Math.sin(Object(n.toRadians)(s))+Math.sin(Object(n.toRadians)(u))),i=l,s=u}return o*t*t/2}function c(e,t){var o=t||{},n=o.radius||i,s=o.projection||"EPSG:3857",a=e.getType();a!==r.default.GEOMETRY_COLLECTION&&(e=e.clone().transform(s,"EPSG:4326"));var l,d,p,h,f,m,g=0;switch(a){case r.default.POINT:case r.default.MULTI_POINT:case r.default.LINE_STRING:case r.default.MULTI_LINE_STRING:case r.default.LINEAR_RING:break;case r.default.POLYGON:for(l=e.getCoordinates(),g=Math.abs(u(l[0],n)),p=1,h=l.length;p<h;++p)g-=Math.abs(u(l[p],n));break;case r.default.MULTI_POLYGON:for(p=0,h=(l=e.getCoordinates()).length;p<h;++p)for(d=l[p],g+=Math.abs(u(d[0],n)),f=1,m=d.length;f<m;++f)g-=Math.abs(u(d[f],n));break;case r.default.GEOMETRY_COLLECTION:var y=e.getGeometries();for(p=0,h=y.length;p<h;++p)g+=c(y[p],t);break;default:throw new Error("Unsupported geometry type: "+a)}return g}function d(e,t,o,r){var s=r||i,a=Object(n.toRadians)(e[1]),l=Object(n.toRadians)(e[0]),u=t/s,c=Math.asin(Math.sin(a)*Math.cos(u)+Math.cos(a)*Math.sin(u)*Math.cos(o)),d=l+Math.atan2(Math.sin(o)*Math.sin(u)*Math.cos(a),Math.cos(u)-Math.sin(a)*Math.sin(c));return[Object(n.toDegrees)(d),Object(n.toDegrees)(c)]}},"./node_modules/ol/string.js":function(e,t,o){"use strict";function r(e,t,o){var r=void 0!==o?e.toFixed(o):""+e,n=r.indexOf(".");return(n=-1===n?r.length:n)>t?r:new Array(1+t-n).join("0")+r}function n(e,t){for(var o=(""+e).split("."),r=(""+t).split("."),n=0;n<Math.max(o.length,r.length);n++){var i=parseInt(o[n]||"0",10),s=parseInt(r[n]||"0",10);if(i>s)return 1;if(s>i)return-1}return 0}o.r(t),o.d(t,"padNumber",(function(){return r})),o.d(t,"compareVersions",(function(){return n}))},"./node_modules/ol/structs/LRUCache.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/asserts.js"),n=function(){function e(e){this.highWaterMark=void 0!==e?e:2048,this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}return e.prototype.canExpireCache=function(){return this.highWaterMark>0&&this.getCount()>this.highWaterMark},e.prototype.clear=function(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null},e.prototype.containsKey=function(e){return this.entries_.hasOwnProperty(e)},e.prototype.forEach=function(e){for(var t=this.oldest_;t;)e(t.value_,t.key_,this),t=t.newer},e.prototype.get=function(e,t){var o=this.entries_[e];return Object(r.assert)(void 0!==o,15),o===this.newest_||(o===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(o.newer.older=o.older,o.older.newer=o.newer),o.newer=null,o.older=this.newest_,this.newest_.newer=o,this.newest_=o),o.value_},e.prototype.remove=function(e){var t=this.entries_[e];return Object(r.assert)(void 0!==t,15),t===this.newest_?(this.newest_=t.older,this.newest_&&(this.newest_.newer=null)):t===this.oldest_?(this.oldest_=t.newer,this.oldest_&&(this.oldest_.older=null)):(t.newer.older=t.older,t.older.newer=t.newer),delete this.entries_[e],--this.count_,t.value_},e.prototype.getCount=function(){return this.count_},e.prototype.getKeys=function(){var e,t=new Array(this.count_),o=0;for(e=this.newest_;e;e=e.older)t[o++]=e.key_;return t},e.prototype.getValues=function(){var e,t=new Array(this.count_),o=0;for(e=this.newest_;e;e=e.older)t[o++]=e.value_;return t},e.prototype.peekLast=function(){return this.oldest_.value_},e.prototype.peekLastKey=function(){return this.oldest_.key_},e.prototype.peekFirstKey=function(){return this.newest_.key_},e.prototype.pop=function(){var e=this.oldest_;return delete this.entries_[e.key_],e.newer&&(e.newer.older=null),this.oldest_=e.newer,this.oldest_||(this.newest_=null),--this.count_,e.value_},e.prototype.replace=function(e,t){this.get(e),this.entries_[e].value_=t},e.prototype.set=function(e,t){Object(r.assert)(!(e in this.entries_),16);var o={key_:e,newer:null,older:this.newest_,value_:t};this.newest_?this.newest_.newer=o:this.oldest_=o,this.newest_=o,this.entries_[e]=o,++this.count_},e.prototype.setSize=function(e){this.highWaterMark=e},e}();t.default=n},"./node_modules/ol/structs/LinkedList.js":function(e,t,o){"use strict";o.r(t);var r=function(){function e(e){this.first_,this.last_,this.head_,this.circular_=void 0===e||e,this.length_=0}return e.prototype.insertItem=function(e){var t={prev:void 0,next:void 0,data:e},o=this.head_;if(o){var r=o.next;t.prev=o,t.next=r,o.next=t,r&&(r.prev=t),o===this.last_&&(this.last_=t)}else this.first_=t,this.last_=t,this.circular_&&(t.next=t,t.prev=t);this.head_=t,this.length_++},e.prototype.removeItem=function(){var e=this.head_;if(e){var t=e.next,o=e.prev;t&&(t.prev=o),o&&(o.next=t),this.head_=t||o,this.first_===this.last_?(this.head_=void 0,this.first_=void 0,this.last_=void 0):this.first_===e?this.first_=this.head_:this.last_===e&&(this.last_=o?this.head_.prev:this.head_),this.length_--}},e.prototype.firstItem=function(){if(this.head_=this.first_,this.head_)return this.head_.data},e.prototype.lastItem=function(){if(this.head_=this.last_,this.head_)return this.head_.data},e.prototype.nextItem=function(){if(this.head_&&this.head_.next)return this.head_=this.head_.next,this.head_.data},e.prototype.getNextItem=function(){if(this.head_&&this.head_.next)return this.head_.next.data},e.prototype.prevItem=function(){if(this.head_&&this.head_.prev)return this.head_=this.head_.prev,this.head_.data},e.prototype.getPrevItem=function(){if(this.head_&&this.head_.prev)return this.head_.prev.data},e.prototype.getCurrItem=function(){if(this.head_)return this.head_.data},e.prototype.setFirstItem=function(){this.circular_&&this.head_&&(this.first_=this.head_,this.last_=this.head_.prev)},e.prototype.concat=function(e){if(e.head_){if(this.head_){var t=this.head_.next;this.head_.next=e.first_,e.first_.prev=this.head_,t.prev=e.last_,e.last_.next=t,this.length_+=e.length_}else this.head_=e.head_,this.first_=e.first_,this.last_=e.last_,this.length_=e.length_;e.head_=void 0,e.first_=void 0,e.last_=void 0,e.length_=0}},e.prototype.getLength=function(){return this.length_},e}();t.default=r},"./node_modules/ol/structs/PriorityQueue.js":function(e,t,o){"use strict";o.r(t),o.d(t,"DROP",(function(){return i}));var r=o("./node_modules/ol/asserts.js"),n=o("./node_modules/ol/obj.js"),i=1/0,s=function(){function e(e,t){this.priorityFunction_=e,this.keyFunction_=t,this.elements_=[],this.priorities_=[],this.queuedElements_={}}return e.prototype.clear=function(){this.elements_.length=0,this.priorities_.length=0,Object(n.clear)(this.queuedElements_)},e.prototype.dequeue=function(){var e=this.elements_,t=this.priorities_,o=e[0];1==e.length?(e.length=0,t.length=0):(e[0]=e.pop(),t[0]=t.pop(),this.siftUp_(0));var r=this.keyFunction_(o);return delete this.queuedElements_[r],o},e.prototype.enqueue=function(e){Object(r.assert)(!(this.keyFunction_(e)in this.queuedElements_),31);var t=this.priorityFunction_(e);return t!=i&&(this.elements_.push(e),this.priorities_.push(t),this.queuedElements_[this.keyFunction_(e)]=!0,this.siftDown_(0,this.elements_.length-1),!0)},e.prototype.getCount=function(){return this.elements_.length},e.prototype.getLeftChildIndex_=function(e){return 2*e+1},e.prototype.getRightChildIndex_=function(e){return 2*e+2},e.prototype.getParentIndex_=function(e){return e-1>>1},e.prototype.heapify_=function(){var e;for(e=(this.elements_.length>>1)-1;e>=0;e--)this.siftUp_(e)},e.prototype.isEmpty=function(){return 0===this.elements_.length},e.prototype.isKeyQueued=function(e){return e in this.queuedElements_},e.prototype.isQueued=function(e){return this.isKeyQueued(this.keyFunction_(e))},e.prototype.siftUp_=function(e){for(var t=this.elements_,o=this.priorities_,r=t.length,n=t[e],i=o[e],s=e;e<r>>1;){var a=this.getLeftChildIndex_(e),l=this.getRightChildIndex_(e),u=l<r&&o[l]<o[a]?l:a;t[e]=t[u],o[e]=o[u],e=u}t[e]=n,o[e]=i,this.siftDown_(s,e)},e.prototype.siftDown_=function(e,t){for(var o=this.elements_,r=this.priorities_,n=o[t],i=r[t];t>e;){var s=this.getParentIndex_(t);if(!(r[s]>i))break;o[t]=o[s],r[t]=r[s],t=s}o[t]=n,r[t]=i},e.prototype.reprioritize=function(){var e,t,o,r=this.priorityFunction_,n=this.elements_,s=this.priorities_,a=0,l=n.length;for(t=0;t<l;++t)(o=r(e=n[t]))==i?delete this.queuedElements_[this.keyFunction_(e)]:(s[a]=o,n[a++]=e);n.length=a,s.length=a,this.heapify_()},e}();t.default=s},"./node_modules/ol/structs/RBush.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/rbush/rbush.min.js"),n=o.n(r),i=o("./node_modules/ol/extent.js"),s=o("./node_modules/ol/util.js"),a=o("./node_modules/ol/obj.js"),l=function(){function e(e){this.rbush_=new n.a(e),this.items_={}}return e.prototype.insert=function(e,t){var o={minX:e[0],minY:e[1],maxX:e[2],maxY:e[3],value:t};this.rbush_.insert(o),this.items_[Object(s.getUid)(t)]=o},e.prototype.load=function(e,t){for(var o=new Array(t.length),r=0,n=t.length;r<n;r++){var i=e[r],a=t[r],l={minX:i[0],minY:i[1],maxX:i[2],maxY:i[3],value:a};o[r]=l,this.items_[Object(s.getUid)(a)]=l}this.rbush_.load(o)},e.prototype.remove=function(e){var t=Object(s.getUid)(e),o=this.items_[t];return delete this.items_[t],null!==this.rbush_.remove(o)},e.prototype.update=function(e,t){var o=this.items_[Object(s.getUid)(t)],r=[o.minX,o.minY,o.maxX,o.maxY];Object(i.equals)(r,e)||(this.remove(t),this.insert(e,t))},e.prototype.getAll=function(){return this.rbush_.all().map((function(e){return e.value}))},e.prototype.getInExtent=function(e){var t={minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]};return this.rbush_.search(t).map((function(e){return e.value}))},e.prototype.forEach=function(e){return this.forEach_(this.getAll(),e)},e.prototype.forEachInExtent=function(e,t){return this.forEach_(this.getInExtent(e),t)},e.prototype.forEach_=function(e,t){for(var o,r=0,n=e.length;r<n;r++)if(o=t(e[r]))return o;return o},e.prototype.isEmpty=function(){return Object(a.isEmpty)(this.items_)},e.prototype.clear=function(){this.rbush_.clear(),this.items_={}},e.prototype.getExtent=function(e){var t=this.rbush_.toJSON();return Object(i.createOrUpdate)(t.minX,t.minY,t.maxX,t.maxY,e)},e.prototype.concat=function(e){for(var t in this.rbush_.load(e.rbush_.all()),e.items_)this.items_[t]=e.items_[t]},e}();t.default=l},"./node_modules/ol/style.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/style/Circle.js");o.d(t,"Circle",(function(){return r.default}));var n=o("./node_modules/ol/style/Fill.js");o.d(t,"Fill",(function(){return n.default}));var i=o("./node_modules/ol/style/Icon.js");o.d(t,"Icon",(function(){return i.default}));var s=o("./node_modules/ol/style/IconImage.js");o.d(t,"IconImage",(function(){return s.default}));var a=o("./node_modules/ol/style/Image.js");o.d(t,"Image",(function(){return a.default}));var l=o("./node_modules/ol/style/RegularShape.js");o.d(t,"RegularShape",(function(){return l.default}));var u=o("./node_modules/ol/style/Stroke.js");o.d(t,"Stroke",(function(){return u.default}));var c=o("./node_modules/ol/style/Style.js");o.d(t,"Style",(function(){return c.default}));var d=o("./node_modules/ol/style/Text.js");o.d(t,"Text",(function(){return d.default}))},"./node_modules/ol/style/Circle.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/style/RegularShape.js"),i=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),s=function(e){function t(t){var o=t||{};return e.call(this,{points:1/0,fill:o.fill,radius:o.radius,stroke:o.stroke,scale:void 0!==o.scale?o.scale:1,rotation:void 0!==o.rotation?o.rotation:0,rotateWithView:void 0!==o.rotateWithView&&o.rotateWithView,displacement:void 0!==o.displacement?o.displacement:[0,0]})||this}return i(t,e),t.prototype.clone=function(){var e=this.getScale(),o=new t({fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,radius:this.getRadius(),scale:Array.isArray(e)?e.slice():e,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice()});return o.setOpacity(this.getOpacity()),o},t.prototype.setRadius=function(e){this.radius_=e,this.render()},t}(n.default);t.default=s},"./node_modules/ol/style/Fill.js":function(e,t,o){"use strict";o.r(t);var r=function(){function e(e){var t=e||{};this.color_=void 0!==t.color?t.color:null}return e.prototype.clone=function(){var t=this.getColor();return new e({color:Array.isArray(t)?t.slice():t||void 0})},e.prototype.getColor=function(){return this.color_},e.prototype.setColor=function(e){this.color_=e},e}();t.default=r},"./node_modules/ol/style/Icon.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/events/EventType.js"),i=o("./node_modules/ol/style/IconAnchorUnits.js"),s=o("./node_modules/ol/style/IconOrigin.js"),a=o("./node_modules/ol/ImageState.js"),l=o("./node_modules/ol/style/Image.js"),u=o("./node_modules/ol/color.js"),c=o("./node_modules/ol/asserts.js"),d=o("./node_modules/ol/style/IconImage.js"),p=o("./node_modules/ol/util.js"),h=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),f=function(e){function t(t){var o=this,r=t||{},n=void 0!==r.opacity?r.opacity:1,l=void 0!==r.rotation?r.rotation:0,h=void 0!==r.scale?r.scale:1,f=void 0!==r.rotateWithView&&r.rotateWithView;(o=e.call(this,{opacity:n,rotation:l,scale:h,displacement:void 0!==r.displacement?r.displacement:[0,0],rotateWithView:f})||this).anchor_=void 0!==r.anchor?r.anchor:[.5,.5],o.normalizedAnchor_=null,o.anchorOrigin_=void 0!==r.anchorOrigin?r.anchorOrigin:s.default.TOP_LEFT,o.anchorXUnits_=void 0!==r.anchorXUnits?r.anchorXUnits:i.default.FRACTION,o.anchorYUnits_=void 0!==r.anchorYUnits?r.anchorYUnits:i.default.FRACTION,o.crossOrigin_=void 0!==r.crossOrigin?r.crossOrigin:null;var m=void 0!==r.img?r.img:null,g=void 0!==r.imgSize?r.imgSize:null,y=r.src;Object(c.assert)(!(void 0!==y&&m),4),Object(c.assert)(!m||m&&g,5),void 0!==y&&0!==y.length||!m||(y=m.src||Object(p.getUid)(m)),Object(c.assert)(void 0!==y&&y.length>0,6);var v=void 0!==r.src?a.default.IDLE:a.default.LOADED;return o.color_=void 0!==r.color?Object(u.asArray)(r.color):null,o.iconImage_=Object(d.get)(m,y,g,o.crossOrigin_,v,o.color_),o.offset_=void 0!==r.offset?r.offset:[0,0],o.offsetOrigin_=void 0!==r.offsetOrigin?r.offsetOrigin:s.default.TOP_LEFT,o.origin_=null,o.size_=void 0!==r.size?r.size:null,o}return h(t,e),t.prototype.clone=function(){var e=this.getScale();return new t({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,crossOrigin:this.crossOrigin_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,src:this.getSrc(),offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,size:null!==this.size_?this.size_.slice():void 0,opacity:this.getOpacity(),scale:Array.isArray(e)?e.slice():e,rotation:this.getRotation(),rotateWithView:this.getRotateWithView()})},t.prototype.getAnchor=function(){if(this.normalizedAnchor_)return this.normalizedAnchor_;var e=this.anchor_,t=this.getSize();if(this.anchorXUnits_==i.default.FRACTION||this.anchorYUnits_==i.default.FRACTION){if(!t)return null;e=this.anchor_.slice(),this.anchorXUnits_==i.default.FRACTION&&(e[0]*=t[0]),this.anchorYUnits_==i.default.FRACTION&&(e[1]*=t[1])}if(this.anchorOrigin_!=s.default.TOP_LEFT){if(!t)return null;e===this.anchor_&&(e=this.anchor_.slice()),this.anchorOrigin_!=s.default.TOP_RIGHT&&this.anchorOrigin_!=s.default.BOTTOM_RIGHT||(e[0]=-e[0]+t[0]),this.anchorOrigin_!=s.default.BOTTOM_LEFT&&this.anchorOrigin_!=s.default.BOTTOM_RIGHT||(e[1]=-e[1]+t[1])}var o=this.getDisplacement();return e[0]-=o[0],e[1]+=o[1],this.normalizedAnchor_=e,this.normalizedAnchor_},t.prototype.setAnchor=function(e){this.anchor_=e,this.normalizedAnchor_=null},t.prototype.getColor=function(){return this.color_},t.prototype.getImage=function(e){return this.iconImage_.getImage(e)},t.prototype.getPixelRatio=function(e){return this.iconImage_.getPixelRatio(e)},t.prototype.getImageSize=function(){return this.iconImage_.getSize()},t.prototype.getImageState=function(){return this.iconImage_.getImageState()},t.prototype.getHitDetectionImage=function(){return this.iconImage_.getHitDetectionImage()},t.prototype.getOrigin=function(){if(this.origin_)return this.origin_;var e=this.offset_;if(this.offsetOrigin_!=s.default.TOP_LEFT){var t=this.getSize(),o=this.iconImage_.getSize();if(!t||!o)return null;e=e.slice(),this.offsetOrigin_!=s.default.TOP_RIGHT&&this.offsetOrigin_!=s.default.BOTTOM_RIGHT||(e[0]=o[0]-t[0]-e[0]),this.offsetOrigin_!=s.default.BOTTOM_LEFT&&this.offsetOrigin_!=s.default.BOTTOM_RIGHT||(e[1]=o[1]-t[1]-e[1])}return this.origin_=e,this.origin_},t.prototype.getSrc=function(){return this.iconImage_.getSrc()},t.prototype.getSize=function(){return this.size_?this.size_:this.iconImage_.getSize()},t.prototype.listenImageChange=function(e){this.iconImage_.addEventListener(n.default.CHANGE,e)},t.prototype.load=function(){this.iconImage_.load()},t.prototype.unlistenImageChange=function(e){this.iconImage_.removeEventListener(n.default.CHANGE,e)},t}(l.default);t.default=f},"./node_modules/ol/style/IconAnchorUnits.js":function(e,t,o){"use strict";o.r(t),t.default={FRACTION:"fraction",PIXELS:"pixels"}},"./node_modules/ol/style/IconImage.js":function(e,t,o){"use strict";o.r(t),o.d(t,"get",(function(){return f}));var r,n=o("./node_modules/ol/events/Target.js"),i=o("./node_modules/ol/events/EventType.js"),s=o("./node_modules/ol/ImageState.js"),a=o("./node_modules/ol/color.js"),l=o("./node_modules/ol/dom.js"),u=o("./node_modules/ol/style/IconImageCache.js"),c=o("./node_modules/ol/Image.js"),d=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),p=null,h=function(e){function t(t,o,r,n,i,s){var a=e.call(this)||this;return a.hitDetectionImage_=null,a.image_=t||new Image,null!==n&&(a.image_.crossOrigin=n),a.canvas_={},a.color_=s,a.unlisten_=null,a.imageState_=i,a.size_=r,a.src_=o,a.tainted_,a}return d(t,e),t.prototype.isTainted_=function(){if(void 0===this.tainted_&&this.imageState_===s.default.LOADED){p||(p=Object(l.createCanvasContext2D)(1,1)),p.drawImage(this.image_,0,0);try{p.getImageData(0,0,1,1),this.tainted_=!1}catch(e){p=null,this.tainted_=!0}}return!0===this.tainted_},t.prototype.dispatchChangeEvent_=function(){this.dispatchEvent(i.default.CHANGE)},t.prototype.handleImageError_=function(){this.imageState_=s.default.ERROR,this.unlistenImage_(),this.dispatchChangeEvent_()},t.prototype.handleImageLoad_=function(){this.imageState_=s.default.LOADED,this.size_?(this.image_.width=this.size_[0],this.image_.height=this.size_[1]):this.size_=[this.image_.width,this.image_.height],this.unlistenImage_(),this.dispatchChangeEvent_()},t.prototype.getImage=function(e){return this.replaceColor_(e),this.canvas_[e]?this.canvas_[e]:this.image_},t.prototype.getPixelRatio=function(e){return this.replaceColor_(e),this.canvas_[e]?e:1},t.prototype.getImageState=function(){return this.imageState_},t.prototype.getHitDetectionImage=function(){if(!this.hitDetectionImage_)if(this.isTainted_()){var e=this.size_[0],t=this.size_[1],o=Object(l.createCanvasContext2D)(e,t);o.fillRect(0,0,e,t),this.hitDetectionImage_=o.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_},t.prototype.getSize=function(){return this.size_},t.prototype.getSrc=function(){return this.src_},t.prototype.load=function(){if(this.imageState_==s.default.IDLE){this.imageState_=s.default.LOADING;try{this.image_.src=this.src_}catch(e){this.handleImageError_()}this.unlisten_=Object(c.listenImage)(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this))}},t.prototype.replaceColor_=function(e){if(this.color_&&!this.canvas_[e]&&this.imageState_===s.default.LOADED){var t=document.createElement("canvas");this.canvas_[e]=t,t.width=Math.ceil(this.image_.width*e),t.height=Math.ceil(this.image_.height*e);var o=t.getContext("2d");if(o.scale(e,e),o.drawImage(this.image_,0,0),o.globalCompositeOperation="multiply","multiply"===o.globalCompositeOperation||this.isTainted_())o.fillStyle=Object(a.asString)(this.color_),o.fillRect(0,0,t.width/e,t.height/e),o.globalCompositeOperation="destination-in",o.drawImage(this.image_,0,0);else{for(var r=o.getImageData(0,0,t.width,t.height),n=r.data,i=this.color_[0]/255,l=this.color_[1]/255,u=this.color_[2]/255,c=this.color_[3],d=0,p=n.length;d<p;d+=4)n[d]*=i,n[d+1]*=l,n[d+2]*=u,n[d+3]*=c;o.putImageData(r,0,0)}}},t.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)},t}(n.default);function f(e,t,o,r,n,i){var s=u.shared.get(t,r,i);return s||(s=new h(e,t,o,r,n,i),u.shared.set(t,r,i,s)),s}t.default=h},"./node_modules/ol/style/IconImageCache.js":function(e,t,o){"use strict";o.r(t),o.d(t,"shared",(function(){return s}));var r=o("./node_modules/ol/color.js"),n=function(){function e(){this.cache_={},this.cacheSize_=0,this.maxCacheSize_=32}return e.prototype.clear=function(){this.cache_={},this.cacheSize_=0},e.prototype.canExpireCache=function(){return this.cacheSize_>this.maxCacheSize_},e.prototype.expire=function(){if(this.canExpireCache()){var e=0;for(var t in this.cache_){var o=this.cache_[t];3&e++||o.hasListener()||(delete this.cache_[t],--this.cacheSize_)}}},e.prototype.get=function(e,t,o){var r=i(e,t,o);return r in this.cache_?this.cache_[r]:null},e.prototype.set=function(e,t,o,r){var n=i(e,t,o);this.cache_[n]=r,++this.cacheSize_},e.prototype.setSize=function(e){this.maxCacheSize_=e,this.expire()},e}();function i(e,t,o){return t+":"+e+":"+(o?Object(r.asString)(o):"null")}t.default=n;var s=new n},"./node_modules/ol/style/IconOrigin.js":function(e,t,o){"use strict";o.r(t),t.default={BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",TOP_LEFT:"top-left",TOP_RIGHT:"top-right"}},"./node_modules/ol/style/Image.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/util.js"),n=o("./node_modules/ol/size.js"),i=function(){function e(e){this.opacity_=e.opacity,this.rotateWithView_=e.rotateWithView,this.rotation_=e.rotation,this.scale_=e.scale,this.scaleArray_=Object(n.toSize)(e.scale),this.displacement_=e.displacement}return e.prototype.clone=function(){var t=this.getScale();return new e({opacity:this.getOpacity(),scale:Array.isArray(t)?t.slice():t,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice()})},e.prototype.getOpacity=function(){return this.opacity_},e.prototype.getRotateWithView=function(){return this.rotateWithView_},e.prototype.getRotation=function(){return this.rotation_},e.prototype.getScale=function(){return this.scale_},e.prototype.getScaleArray=function(){return this.scaleArray_},e.prototype.getDisplacement=function(){return this.displacement_},e.prototype.getAnchor=function(){return Object(r.abstract)()},e.prototype.getImage=function(e){return Object(r.abstract)()},e.prototype.getHitDetectionImage=function(){return Object(r.abstract)()},e.prototype.getPixelRatio=function(e){return 1},e.prototype.getImageState=function(){return Object(r.abstract)()},e.prototype.getImageSize=function(){return Object(r.abstract)()},e.prototype.getOrigin=function(){return Object(r.abstract)()},e.prototype.getSize=function(){return Object(r.abstract)()},e.prototype.setOpacity=function(e){this.opacity_=e},e.prototype.setRotateWithView=function(e){this.rotateWithView_=e},e.prototype.setRotation=function(e){this.rotation_=e},e.prototype.setScale=function(e){this.scale_=e,this.scaleArray_=Object(n.toSize)(e)},e.prototype.listenImageChange=function(e){Object(r.abstract)()},e.prototype.load=function(){Object(r.abstract)()},e.prototype.unlistenImageChange=function(e){Object(r.abstract)()},e}();t.default=i},"./node_modules/ol/style/RegularShape.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/ImageState.js"),i=o("./node_modules/ol/style/Image.js"),s=o("./node_modules/ol/color.js"),a=o("./node_modules/ol/colorlike.js"),l=o("./node_modules/ol/dom.js"),u=o("./node_modules/ol/render/canvas.js"),c=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),d=function(e){function t(t){var o=this,r=void 0!==t.rotateWithView&&t.rotateWithView;return(o=e.call(this,{opacity:1,rotateWithView:r,rotation:void 0!==t.rotation?t.rotation:0,scale:void 0!==t.scale?t.scale:1,displacement:void 0!==t.displacement?t.displacement:[0,0]})||this).canvas_=void 0,o.hitDetectionCanvas_=null,o.fill_=void 0!==t.fill?t.fill:null,o.origin_=[0,0],o.points_=t.points,o.radius_=void 0!==t.radius?t.radius:t.radius1,o.radius2_=t.radius2,o.angle_=void 0!==t.angle?t.angle:0,o.stroke_=void 0!==t.stroke?t.stroke:null,o.anchor_=null,o.size_=null,o.renderOptions_=null,o.render(),o}return c(t,e),t.prototype.clone=function(){var e=this.getScale(),o=new t({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(e)?e.slice():e,displacement:this.getDisplacement().slice()});return o.setOpacity(this.getOpacity()),o},t.prototype.getAnchor=function(){return this.anchor_},t.prototype.getAngle=function(){return this.angle_},t.prototype.getFill=function(){return this.fill_},t.prototype.getHitDetectionImage=function(){return this.hitDetectionCanvas_||this.createHitDetectionCanvas_(this.renderOptions_),this.hitDetectionCanvas_},t.prototype.getImage=function(e){var t=this.canvas_[e];if(!t){var o=this.renderOptions_,r=Object(l.createCanvasContext2D)(o.size*e,o.size*e);this.draw_(o,r,e),t=r.canvas,this.canvas_[e]=t}return t},t.prototype.getPixelRatio=function(e){return e},t.prototype.getImageSize=function(){return this.size_},t.prototype.getImageState=function(){return n.default.LOADED},t.prototype.getOrigin=function(){return this.origin_},t.prototype.getPoints=function(){return this.points_},t.prototype.getRadius=function(){return this.radius_},t.prototype.getRadius2=function(){return this.radius2_},t.prototype.getSize=function(){return this.size_},t.prototype.getStroke=function(){return this.stroke_},t.prototype.listenImageChange=function(e){},t.prototype.load=function(){},t.prototype.unlistenImageChange=function(e){},t.prototype.calculateLineJoinSize_=function(e,t,o){if(0===t||this.points_===1/0||"bevel"!==e&&"miter"!==e)return t;var r=this.radius_,n=void 0===this.radius2_?r:this.radius2_;if(r<n){var i=r;r=n,n=i}var s=void 0===this.radius2_?this.points_:2*this.points_,a=2*Math.PI/s,l=n*Math.sin(a),u=r-Math.sqrt(n*n-l*l),c=Math.sqrt(l*l+u*u),d=c/l;if("miter"===e&&d<=o)return d*t;var p=t/2/d,h=t/2*(u/c),f=Math.sqrt((r+p)*(r+p)+h*h)-r;if(void 0===this.radius2_||"bevel"===e)return 2*f;var m=r*Math.sin(a),g=n-Math.sqrt(r*r-m*m),y=Math.sqrt(m*m+g*g)/m;if(y<=o){var v=y*t/2-n-r;return 2*Math.max(f,v)}return 2*f},t.prototype.createRenderOptions=function(){var e,t=u.defaultLineJoin,o=0,r=null,n=0,i=0;this.stroke_&&(null===(e=this.stroke_.getColor())&&(e=u.defaultStrokeStyle),e=Object(a.asColorLike)(e),void 0===(i=this.stroke_.getWidth())&&(i=u.defaultLineWidth),r=this.stroke_.getLineDash(),n=this.stroke_.getLineDashOffset(),void 0===(t=this.stroke_.getLineJoin())&&(t=u.defaultLineJoin),void 0===(o=this.stroke_.getMiterLimit())&&(o=u.defaultMiterLimit));var s=this.calculateLineJoinSize_(t,i,o),l=Math.max(this.radius_,this.radius2_||0);return{strokeStyle:e,strokeWidth:i,size:Math.ceil(2*l+s),lineDash:r,lineDashOffset:n,lineJoin:t,miterLimit:o}},t.prototype.render=function(){this.renderOptions_=this.createRenderOptions();var e=this.renderOptions_.size,t=this.getDisplacement();this.canvas_={},this.anchor_=[e/2-t[0],e/2+t[1]],this.size_=[e,e]},t.prototype.draw_=function(e,t,o){if(t.scale(o,o),t.translate(e.size/2,e.size/2),this.createPath_(t),this.fill_){var r=this.fill_.getColor();null===r&&(r=u.defaultFillStyle),t.fillStyle=Object(a.asColorLike)(r),t.fill()}this.stroke_&&(t.strokeStyle=e.strokeStyle,t.lineWidth=e.strokeWidth,t.setLineDash&&e.lineDash&&(t.setLineDash(e.lineDash),t.lineDashOffset=e.lineDashOffset),t.lineJoin=e.lineJoin,t.miterLimit=e.miterLimit,t.stroke())},t.prototype.createHitDetectionCanvas_=function(e){if(this.fill_){var t=this.fill_.getColor(),o=0;if("string"==typeof t&&(t=Object(s.asArray)(t)),null===t?o=1:Array.isArray(t)&&(o=4===t.length?t[3]:1),0===o){var r=Object(l.createCanvasContext2D)(e.size,e.size);this.hitDetectionCanvas_=r.canvas,this.drawHitDetectionCanvas_(e,r)}}this.hitDetectionCanvas_||(this.hitDetectionCanvas_=this.getImage(1))},t.prototype.createPath_=function(e){var t=this.points_,o=this.radius_;if(t===1/0)e.arc(0,0,o,0,2*Math.PI);else{var r=void 0===this.radius2_?o:this.radius2_;void 0!==this.radius2_&&(t*=2);for(var n=this.angle_-Math.PI/2,i=2*Math.PI/t,s=0;s<t;s++){var a=n+s*i,l=s%2==0?o:r;e.lineTo(l*Math.cos(a),l*Math.sin(a))}e.closePath()}},t.prototype.drawHitDetectionCanvas_=function(e,t){t.translate(e.size/2,e.size/2),this.createPath_(t),t.fillStyle=u.defaultFillStyle,t.fill(),this.stroke_&&(t.strokeStyle=e.strokeStyle,t.lineWidth=e.strokeWidth,e.lineDash&&(t.setLineDash(e.lineDash),t.lineDashOffset=e.lineDashOffset),t.lineJoin=e.lineJoin,t.miterLimit=e.miterLimit,t.stroke())},t}(i.default);t.default=d},"./node_modules/ol/style/Stroke.js":function(e,t,o){"use strict";o.r(t);var r=function(){function e(e){var t=e||{};this.color_=void 0!==t.color?t.color:null,this.lineCap_=t.lineCap,this.lineDash_=void 0!==t.lineDash?t.lineDash:null,this.lineDashOffset_=t.lineDashOffset,this.lineJoin_=t.lineJoin,this.miterLimit_=t.miterLimit,this.width_=t.width}return e.prototype.clone=function(){var t=this.getColor();return new e({color:Array.isArray(t)?t.slice():t||void 0,lineCap:this.getLineCap(),lineDash:this.getLineDash()?this.getLineDash().slice():void 0,lineDashOffset:this.getLineDashOffset(),lineJoin:this.getLineJoin(),miterLimit:this.getMiterLimit(),width:this.getWidth()})},e.prototype.getColor=function(){return this.color_},e.prototype.getLineCap=function(){return this.lineCap_},e.prototype.getLineDash=function(){return this.lineDash_},e.prototype.getLineDashOffset=function(){return this.lineDashOffset_},e.prototype.getLineJoin=function(){return this.lineJoin_},e.prototype.getMiterLimit=function(){return this.miterLimit_},e.prototype.getWidth=function(){return this.width_},e.prototype.setColor=function(e){this.color_=e},e.prototype.setLineCap=function(e){this.lineCap_=e},e.prototype.setLineDash=function(e){this.lineDash_=e},e.prototype.setLineDashOffset=function(e){this.lineDashOffset_=e},e.prototype.setLineJoin=function(e){this.lineJoin_=e},e.prototype.setMiterLimit=function(e){this.miterLimit_=e},e.prototype.setWidth=function(e){this.width_=e},e}();t.default=r},"./node_modules/ol/style/Style.js":function(e,t,o){"use strict";o.r(t),o.d(t,"toFunction",(function(){return u})),o.d(t,"createDefaultStyle",(function(){return d})),o.d(t,"createEditingStyle",(function(){return p}));var r=o("./node_modules/ol/style/Circle.js"),n=o("./node_modules/ol/style/Fill.js"),i=o("./node_modules/ol/geom/GeometryType.js"),s=o("./node_modules/ol/style/Stroke.js"),a=o("./node_modules/ol/asserts.js"),l=function(){function e(e){var t=e||{};this.geometry_=null,this.geometryFunction_=h,void 0!==t.geometry&&this.setGeometry(t.geometry),this.fill_=void 0!==t.fill?t.fill:null,this.image_=void 0!==t.image?t.image:null,this.renderer_=void 0!==t.renderer?t.renderer:null,this.hitDetectionRenderer_=void 0!==t.hitDetectionRenderer?t.hitDetectionRenderer:null,this.stroke_=void 0!==t.stroke?t.stroke:null,this.text_=void 0!==t.text?t.text:null,this.zIndex_=t.zIndex}return e.prototype.clone=function(){var t=this.getGeometry();return t&&"object"==typeof t&&(t=t.clone()),new e({geometry:t,fill:this.getFill()?this.getFill().clone():void 0,image:this.getImage()?this.getImage().clone():void 0,renderer:this.getRenderer(),stroke:this.getStroke()?this.getStroke().clone():void 0,text:this.getText()?this.getText().clone():void 0,zIndex:this.getZIndex()})},e.prototype.getRenderer=function(){return this.renderer_},e.prototype.setRenderer=function(e){this.renderer_=e},e.prototype.setHitDetectionRenderer=function(e){this.hitDetectionRenderer_=e},e.prototype.getHitDetectionRenderer=function(){return this.hitDetectionRenderer_},e.prototype.getGeometry=function(){return this.geometry_},e.prototype.getGeometryFunction=function(){return this.geometryFunction_},e.prototype.getFill=function(){return this.fill_},e.prototype.setFill=function(e){this.fill_=e},e.prototype.getImage=function(){return this.image_},e.prototype.setImage=function(e){this.image_=e},e.prototype.getStroke=function(){return this.stroke_},e.prototype.setStroke=function(e){this.stroke_=e},e.prototype.getText=function(){return this.text_},e.prototype.setText=function(e){this.text_=e},e.prototype.getZIndex=function(){return this.zIndex_},e.prototype.setGeometry=function(e){"function"==typeof e?this.geometryFunction_=e:"string"==typeof e?this.geometryFunction_=function(t){return t.get(e)}:e?void 0!==e&&(this.geometryFunction_=function(){return e}):this.geometryFunction_=h,this.geometry_=e},e.prototype.setZIndex=function(e){this.zIndex_=e},e}();function u(e){var t;if("function"==typeof e)t=e;else{var o;if(Array.isArray(e))o=e;else Object(a.assert)("function"==typeof e.getZIndex,41),o=[e];t=function(){return o}}return t}var c=null;function d(e,t){if(!c){var o=new n.default({color:"rgba(255,255,255,0.4)"}),i=new s.default({color:"#3399CC",width:1.25});c=[new l({image:new r.default({fill:o,stroke:i,radius:5}),fill:o,stroke:i})]}return c}function p(){var e={},t=[255,255,255,1],o=[0,153,255,1];return e[i.default.POLYGON]=[new l({fill:new n.default({color:[255,255,255,.5]})})],e[i.default.MULTI_POLYGON]=e[i.default.POLYGON],e[i.default.LINE_STRING]=[new l({stroke:new s.default({color:t,width:5})}),new l({stroke:new s.default({color:o,width:3})})],e[i.default.MULTI_LINE_STRING]=e[i.default.LINE_STRING],e[i.default.CIRCLE]=e[i.default.POLYGON].concat(e[i.default.LINE_STRING]),e[i.default.POINT]=[new l({image:new r.default({radius:6,fill:new n.default({color:o}),stroke:new s.default({color:t,width:1.5})}),zIndex:1/0})],e[i.default.MULTI_POINT]=e[i.default.POINT],e[i.default.GEOMETRY_COLLECTION]=e[i.default.POLYGON].concat(e[i.default.LINE_STRING],e[i.default.POINT]),e}function h(e){return e.getGeometry()}t.default=l},"./node_modules/ol/style/Text.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/style/Fill.js"),n=o("./node_modules/ol/style/TextPlacement.js"),i=o("./node_modules/ol/size.js"),s=function(){function e(e){var t=e||{};this.font_=t.font,this.rotation_=t.rotation,this.rotateWithView_=t.rotateWithView,this.scale_=t.scale,this.scaleArray_=Object(i.toSize)(void 0!==t.scale?t.scale:1),this.text_=t.text,this.textAlign_=t.textAlign,this.textBaseline_=t.textBaseline,this.fill_=void 0!==t.fill?t.fill:new r.default({color:"#333"}),this.maxAngle_=void 0!==t.maxAngle?t.maxAngle:Math.PI/4,this.placement_=void 0!==t.placement?t.placement:n.default.POINT,this.overflow_=!!t.overflow,this.stroke_=void 0!==t.stroke?t.stroke:null,this.offsetX_=void 0!==t.offsetX?t.offsetX:0,this.offsetY_=void 0!==t.offsetY?t.offsetY:0,this.backgroundFill_=t.backgroundFill?t.backgroundFill:null,this.backgroundStroke_=t.backgroundStroke?t.backgroundStroke:null,this.padding_=void 0===t.padding?null:t.padding}return e.prototype.clone=function(){var t=this.getScale();return new e({font:this.getFont(),placement:this.getPlacement(),maxAngle:this.getMaxAngle(),overflow:this.getOverflow(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(t)?t.slice():t,text:this.getText(),textAlign:this.getTextAlign(),textBaseline:this.getTextBaseline(),fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,offsetX:this.getOffsetX(),offsetY:this.getOffsetY(),backgroundFill:this.getBackgroundFill()?this.getBackgroundFill().clone():void 0,backgroundStroke:this.getBackgroundStroke()?this.getBackgroundStroke().clone():void 0,padding:this.getPadding()})},e.prototype.getOverflow=function(){return this.overflow_},e.prototype.getFont=function(){return this.font_},e.prototype.getMaxAngle=function(){return this.maxAngle_},e.prototype.getPlacement=function(){return this.placement_},e.prototype.getOffsetX=function(){return this.offsetX_},e.prototype.getOffsetY=function(){return this.offsetY_},e.prototype.getFill=function(){return this.fill_},e.prototype.getRotateWithView=function(){return this.rotateWithView_},e.prototype.getRotation=function(){return this.rotation_},e.prototype.getScale=function(){return this.scale_},e.prototype.getScaleArray=function(){return this.scaleArray_},e.prototype.getStroke=function(){return this.stroke_},e.prototype.getText=function(){return this.text_},e.prototype.getTextAlign=function(){return this.textAlign_},e.prototype.getTextBaseline=function(){return this.textBaseline_},e.prototype.getBackgroundFill=function(){return this.backgroundFill_},e.prototype.getBackgroundStroke=function(){return this.backgroundStroke_},e.prototype.getPadding=function(){return this.padding_},e.prototype.setOverflow=function(e){this.overflow_=e},e.prototype.setFont=function(e){this.font_=e},e.prototype.setMaxAngle=function(e){this.maxAngle_=e},e.prototype.setOffsetX=function(e){this.offsetX_=e},e.prototype.setOffsetY=function(e){this.offsetY_=e},e.prototype.setPlacement=function(e){this.placement_=e},e.prototype.setRotateWithView=function(e){this.rotateWithView_=e},e.prototype.setFill=function(e){this.fill_=e},e.prototype.setRotation=function(e){this.rotation_=e},e.prototype.setScale=function(e){this.scale_=e,this.scaleArray_=Object(i.toSize)(void 0!==e?e:1)},e.prototype.setStroke=function(e){this.stroke_=e},e.prototype.setText=function(e){this.text_=e},e.prototype.setTextAlign=function(e){this.textAlign_=e},e.prototype.setTextBaseline=function(e){this.textBaseline_=e},e.prototype.setBackgroundFill=function(e){this.backgroundFill_=e},e.prototype.setBackgroundStroke=function(e){this.backgroundStroke_=e},e.prototype.setPadding=function(e){this.padding_=e},e}();t.default=s},"./node_modules/ol/style/TextPlacement.js":function(e,t,o){"use strict";o.r(t),t.default={POINT:"point",LINE:"line"}},"./node_modules/ol/style/expressions.js":function(e,t,o){"use strict";o.r(t),o.d(t,"ValueTypes",(function(){return s})),o.d(t,"Operators",(function(){return a})),o.d(t,"getValueType",(function(){return l})),o.d(t,"isTypeUnique",(function(){return u})),o.d(t,"numberToGlsl",(function(){return c})),o.d(t,"arrayToGlsl",(function(){return d})),o.d(t,"colorToGlsl",(function(){return p})),o.d(t,"getStringNumberEquivalent",(function(){return h})),o.d(t,"stringToGlsl",(function(){return f})),o.d(t,"expressionToGlsl",(function(){return m})),o.d(t,"uniformNameForVariable",(function(){return w}));var r=o("./node_modules/ol/renderer/webgl/TileLayer.js"),n=o("./node_modules/ol/color.js"),i=o("./node_modules/ol/math.js"),s={NUMBER:1,STRING:2,COLOR:4,BOOLEAN:8,NUMBER_ARRAY:16,ANY:31,NONE:0},a={};function l(e){if("number"==typeof e)return s.NUMBER;if("boolean"==typeof e)return s.BOOLEAN;if("string"==typeof e)return Object(n.isStringColor)(e)?s.COLOR|s.STRING:s.STRING;if(!Array.isArray(e))throw new Error("Unhandled value type: "+JSON.stringify(e));var t=e;if(t.every((function(e){return"number"==typeof e})))return 3===t.length||4===t.length?s.COLOR|s.NUMBER_ARRAY:s.NUMBER_ARRAY;if("string"!=typeof t[0])throw new Error("Expected an expression operator but received: "+JSON.stringify(t));var o=a[t[0]];if(void 0===o)throw new Error("Unrecognized expression operator: "+JSON.stringify(t));return o.getReturnType(t.slice(1))}function u(e){return Object(i.log2)(e)%1==0}function c(e){var t=e.toString();return-1===t.indexOf(".")?t+".0":t}function d(e){if(e.length<2||e.length>4)throw new Error("`formatArray` can only output `vec2`, `vec3` or `vec4` arrays.");return"vec"+e.length+"("+e.map(c).join(", ")+")"}function p(e){var t=Object(n.asArray)(e).slice();return t.length<4&&t.push(1),d(t.map((function(e,t){return t<3?e/255:e})))}function h(e,t){return void 0===e.stringLiteralsMap[t]&&(e.stringLiteralsMap[t]=Object.keys(e.stringLiteralsMap).length),e.stringLiteralsMap[t]}function f(e,t){return c(h(e,t))}function m(e,t,o){if(Array.isArray(t)&&"string"==typeof t[0]){var r=a[t[0]];if(void 0===r)throw new Error("Unrecognized expression operator: "+JSON.stringify(t));return r.toGlsl(e,t.slice(1),o)}var n=l(t);if((n&s.NUMBER)>0)return c(t);if((n&s.BOOLEAN)>0)return t.toString();if((n&s.STRING)>0&&(void 0===o||o==s.STRING))return f(e,t.toString());if((n&s.COLOR)>0&&(void 0===o||o==s.COLOR))return p(t);if((n&s.NUMBER_ARRAY)>0)return d(t);throw new Error("Unexpected expression "+t+" (expected type "+o+")")}function g(e){if(!(l(e)&s.NUMBER))throw new Error("A numeric value was expected, got "+JSON.stringify(e)+" instead")}function y(e){for(var t=0;t<e.length;t++)g(e[t])}function v(e){if(!(l(e)&s.STRING))throw new Error("A string value was expected, got "+JSON.stringify(e)+" instead")}function _(e){if(!(l(e)&s.BOOLEAN))throw new Error("A boolean value was expected, got "+JSON.stringify(e)+" instead")}function b(e,t){if(e.length!==t)throw new Error("Exactly "+t+" arguments were expected, got "+e.length+" instead")}function A(e,t){if(e.length<t)throw new Error("At least "+t+" arguments were expected, got "+e.length+" instead")}function C(e,t){if(e.length>t)throw new Error("At most "+t+" arguments were expected, got "+e.length+" instead")}function E(e){if(e.length%2!=0)throw new Error("An even amount of arguments was expected, got "+e+" instead")}function S(e,t){if(!u(t))throw new Error("Could not infer only one type from the following expression: "+JSON.stringify(e))}function w(e){return"u_var_"+e}function O(e){return{getReturnType:function(e){return s.BOOLEAN},toGlsl:function(t,o){b(o,2);for(var r=s.ANY,n=0;n<o.length;n++)r&=l(o[n]);if(r===s.NONE)throw new Error("All arguments should be of compatible type, got "+JSON.stringify(o)+" instead");return r&=~s.COLOR,"("+m(t,o[0],r)+" "+e+" "+m(t,o[1],r)+")"}}}function I(e){return{getReturnType:function(e){return s.BOOLEAN},toGlsl:function(t,o){A(o,2);for(var r=0;r<o.length;r++)_(o[r]);return"("+o.map((function(e){return m(t,e)})).join(" "+e+" ")+")"}}}a.get={getReturnType:function(e){return s.ANY},toGlsl:function(e,t){b(t,1),v(t[0]);var o=t[0].toString();return-1===e.attributes.indexOf(o)&&e.attributes.push(o),(e.inFragmentShader?"v_":"a_")+o}},a.var={getReturnType:function(e){return s.ANY},toGlsl:function(e,t){b(t,1),v(t[0]);var o=t[0].toString();return-1===e.variables.indexOf(o)&&e.variables.push(o),w(o)}},a.band={getReturnType:function(e){return s.NUMBER},toGlsl:function(e,t){A(t,1),C(t,3);var o=t[0];if("number"!=typeof o)throw new Error("Band index must be a number");var n=o-1,i=Math.floor(n/4),s=n%4;if(o===e.bandCount&&1===s&&(s=3),1===t.length)return"color"+i+"["+s+"]";var a=t[1],l=t[2]||0;return g(a),g(l),"texture2D("+(r.Uniforms.TILE_TEXTURE_PREFIX+i)+", v_textureCoord + vec2("+m(e,a)+" / "+r.Uniforms.TEXTURE_PIXEL_WIDTH+", "+m(e,l)+" / "+r.Uniforms.TEXTURE_PIXEL_HEIGHT+"))["+s+"]"}},a.time={getReturnType:function(e){return s.NUMBER},toGlsl:function(e,t){return b(t,0),"u_time"}},a.zoom={getReturnType:function(e){return s.NUMBER},toGlsl:function(e,t){return b(t,0),"u_zoom"}},a.resolution={getReturnType:function(e){return s.NUMBER},toGlsl:function(e,t){return b(t,0),"u_resolution"}},a["*"]={getReturnType:function(e){return s.NUMBER},toGlsl:function(e,t){return b(t,2),y(t),"("+m(e,t[0])+" * "+m(e,t[1])+")"}},a["/"]={getReturnType:function(e){return s.NUMBER},toGlsl:function(e,t){return b(t,2),y(t),"("+m(e,t[0])+" / "+m(e,t[1])+")"}},a["+"]={getReturnType:function(e){return s.NUMBER},toGlsl:function(e,t){return b(t,2),y(t),"("+m(e,t[0])+" + "+m(e,t[1])+")"}},a["-"]={getReturnType:function(e){return s.NUMBER},toGlsl:function(e,t){return b(t,2),y(t),"("+m(e,t[0])+" - "+m(e,t[1])+")"}},a.clamp={getReturnType:function(e){return s.NUMBER},toGlsl:function(e,t){b(t,3),y(t);var o=m(e,t[1]),r=m(e,t[2]);return"clamp("+m(e,t[0])+", "+o+", "+r+")"}},a["%"]={getReturnType:function(e){return s.NUMBER},toGlsl:function(e,t){return b(t,2),y(t),"mod("+m(e,t[0])+", "+m(e,t[1])+")"}},a["^"]={getReturnType:function(e){return s.NUMBER},toGlsl:function(e,t){return b(t,2),y(t),"pow("+m(e,t[0])+", "+m(e,t[1])+")"}},a.abs={getReturnType:function(e){return s.NUMBER},toGlsl:function(e,t){return b(t,1),y(t),"abs("+m(e,t[0])+")"}},a.sin={getReturnType:function(e){return s.NUMBER},toGlsl:function(e,t){return b(t,1),y(t),"sin("+m(e,t[0])+")"}},a.cos={getReturnType:function(e){return s.NUMBER},toGlsl:function(e,t){return b(t,1),y(t),"cos("+m(e,t[0])+")"}},a.atan={getReturnType:function(e){return s.NUMBER},toGlsl:function(e,t){return A(t,1),C(t,2),y(t),2===t.length?"atan("+m(e,t[0])+", "+m(e,t[1])+")":"atan("+m(e,t[0])+")"}},a[">"]={getReturnType:function(e){return s.BOOLEAN},toGlsl:function(e,t){return b(t,2),y(t),"("+m(e,t[0])+" > "+m(e,t[1])+")"}},a[">="]={getReturnType:function(e){return s.BOOLEAN},toGlsl:function(e,t){return b(t,2),y(t),"("+m(e,t[0])+" >= "+m(e,t[1])+")"}},a["<"]={getReturnType:function(e){return s.BOOLEAN},toGlsl:function(e,t){return b(t,2),y(t),"("+m(e,t[0])+" < "+m(e,t[1])+")"}},a["<="]={getReturnType:function(e){return s.BOOLEAN},toGlsl:function(e,t){return b(t,2),y(t),"("+m(e,t[0])+" <= "+m(e,t[1])+")"}},a["=="]=O("=="),a["!="]=O("!="),a["!"]={getReturnType:function(e){return s.BOOLEAN},toGlsl:function(e,t){return b(t,1),_(t[0]),"(!"+m(e,t[0])+")"}},a.all=I("&&"),a.any=I("||"),a.between={getReturnType:function(e){return s.BOOLEAN},toGlsl:function(e,t){b(t,3),y(t);var o=m(e,t[1]),r=m(e,t[2]),n=m(e,t[0]);return"("+n+" >= "+o+" && "+n+" <= "+r+")"}},a.array={getReturnType:function(e){return s.NUMBER_ARRAY},toGlsl:function(e,t){A(t,2),C(t,4),y(t);var o=t.map((function(t){return m(e,t,s.NUMBER)}));return"vec"+t.length+"("+o.join(", ")+")"}},a.color={getReturnType:function(e){return s.COLOR},toGlsl:function(e,t){A(t,3),C(t,4),y(t);var o=t;3===t.length&&o.push(1);var r=t.map((function(t,o){return m(e,t,s.NUMBER)+(o<3?" / 255.0":"")}));return"vec"+t.length+"("+r.join(", ")+")"}},a.interpolate={getReturnType:function(e){for(var t=s.COLOR|s.NUMBER,o=3;o<e.length;o+=2)t&=l(e[o]);return t},toGlsl:function(e,t,o){E(t),A(t,6);var r,n=t[0];switch(n[0]){case"linear":r=1;break;case"exponential":r=n[1];break;default:r=null}if(!r)throw new Error('Invalid interpolation type for "interpolate" operator, received: '+JSON.stringify(n));var i=void 0!==o?o:s.ANY,l=a.interpolate.getReturnType(t)&i;S(t,l);for(var u=m(e,t[1]),d=c(r),p="",h=2;h<t.length-2;h+=2){var f=m(e,t[h]),g=p||m(e,t[h+1],l),y=m(e,t[h+2]);p="mix("+g+", "+m(e,t[h+3],l)+", pow(clamp(("+u+" - "+f+") / ("+y+" - "+f+"), 0.0, 1.0), "+d+"))"}return p}},a.match={getReturnType:function(e){for(var t=s.ANY,o=2;o<e.length;o+=2)t&=l(e[o]);return t&=l(e[e.length-1])},toGlsl:function(e,t,o){E(t),A(t,4);var r=void 0!==o?o:s.ANY,n=a.match.getReturnType(t)&r;S(t,n);for(var i=m(e,t[0]),l=m(e,t[t.length-1],n),u=null,c=t.length-3;c>=1;c-=2){u="("+i+" == "+m(e,t[c])+" ? "+m(e,t[c+1],n)+" : "+(u||l)+")"}return u}},a.case={getReturnType:function(e){for(var t=s.ANY,o=1;o<e.length;o+=2)t&=l(e[o]);return t&=l(e[e.length-1])},toGlsl:function(e,t,o){!function(e){if(e.length%2==0)throw new Error("An odd amount of arguments was expected, got "+e+" instead")}(t),A(t,3);var r=void 0!==o?o:s.ANY,n=a.case.getReturnType(t)&r;S(t,n);for(var i=0;i<t.length-1;i+=2)_(t[i]);var l=m(e,t[t.length-1],n),u=null;for(i=t.length-3;i>=0;i-=2){u="("+m(e,t[i])+" ? "+m(e,t[i+1],n)+" : "+(u||l)+")"}return u}}},"./node_modules/ol/tilecoord.js":function(e,t,o){"use strict";function r(e,t,o,r){return void 0!==r?(r[0]=e,r[1]=t,r[2]=o,r):[e,t,o]}function n(e,t,o){return e+"/"+t+"/"+o}function i(e){return n(e[0],e[1],e[2])}function s(e){var t=e.substring(e.lastIndexOf("/")+1,e.length).split(",").map(Number);return n(t[0],t[1],t[2])}function a(e){return e.split("/").map(Number)}function l(e){return(e[1]<<e[0])+e[2]}function u(e,t){var o=e[0],r=e[1],n=e[2];if(t.getMinZoom()>o||o>t.getMaxZoom())return!1;var i=t.getFullTileRange(o);return!i||i.containsXY(r,n)}o.r(t),o.d(t,"createOrUpdate",(function(){return r})),o.d(t,"getKeyZXY",(function(){return n})),o.d(t,"getKey",(function(){return i})),o.d(t,"getCacheKeyForTileKey",(function(){return s})),o.d(t,"fromKey",(function(){return a})),o.d(t,"hash",(function(){return l})),o.d(t,"withinExtentAndZ",(function(){return u}))},"./node_modules/ol/tilegrid.js":function(e,t,o){"use strict";o.r(t),o.d(t,"getForProjection",(function(){return c})),o.d(t,"wrapX",(function(){return d})),o.d(t,"createForExtent",(function(){return p})),o.d(t,"createXYZ",(function(){return h})),o.d(t,"createForProjection",(function(){return m})),o.d(t,"extentFromProjection",(function(){return g}));var r=o("./node_modules/ol/extent/Corner.js"),n=o("./node_modules/ol/tilegrid/TileGrid.js"),i=o("./node_modules/ol/proj/Units.js"),s=o("./node_modules/ol/tilegrid/common.js"),a=o("./node_modules/ol/proj.js"),l=o("./node_modules/ol/extent.js"),u=o("./node_modules/ol/size.js");function c(e){var t=e.getDefaultTileGrid();return t||(t=m(e),e.setDefaultTileGrid(t)),t}function d(e,t,o){var r=t[0],n=e.getTileCoordCenter(t),i=g(o);if(Object(l.containsCoordinate)(i,n))return t;var s=Object(l.getWidth)(i),a=Math.ceil((i[0]-n[0])/s);return n[0]+=s*a,e.getTileCoordForCoordAndZ(n,r)}function p(e,t,o,i){var s=void 0!==i?i:r.default.TOP_LEFT,a=f(e,t,o);return new n.default({extent:e,origin:Object(l.getCorner)(e,s),resolutions:a,tileSize:o})}function h(e){var t=e||{},o=t.extent||Object(a.get)("EPSG:3857").getExtent(),r={extent:o,minZoom:t.minZoom,tileSize:t.tileSize,resolutions:f(o,t.maxZoom,t.tileSize,t.maxResolution)};return new n.default(r)}function f(e,t,o,r){for(var n=void 0!==t?t:s.DEFAULT_MAX_ZOOM,i=Object(l.getHeight)(e),a=Object(l.getWidth)(e),c=Object(u.toSize)(void 0!==o?o:s.DEFAULT_TILE_SIZE),d=r>0?r:Math.max(a/c[0],i/c[1]),p=n+1,h=new Array(p),f=0;f<p;++f)h[f]=d/Math.pow(2,f);return h}function m(e,t,o,r){return p(g(e),t,o,r)}function g(e){var t=(e=Object(a.get)(e)).getExtent();if(!t){var o=180*a.METERS_PER_UNIT[i.default.DEGREES]/e.getMetersPerUnit();t=Object(l.createOrUpdate)(-o,-o,o,o)}return t}},"./node_modules/ol/tilegrid/TileGrid.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/TileRange.js"),n=o("./node_modules/ol/tilegrid/common.js"),i=o("./node_modules/ol/asserts.js"),s=o("./node_modules/ol/math.js"),a=o("./node_modules/ol/extent.js"),l=o("./node_modules/ol/tilecoord.js"),u=o("./node_modules/ol/array.js"),c=o("./node_modules/ol/size.js"),d=[0,0,0],p=function(){function e(e){var t;if(this.minZoom=void 0!==e.minZoom?e.minZoom:0,this.resolutions_=e.resolutions,Object(i.assert)(Object(u.isSorted)(this.resolutions_,(function(e,t){return t-e}),!0),17),!e.origins)for(var o=0,s=this.resolutions_.length-1;o<s;++o)if(t){if(this.resolutions_[o]/this.resolutions_[o+1]!==t){t=void 0;break}}else t=this.resolutions_[o]/this.resolutions_[o+1];this.zoomFactor_=t,this.maxZoom=this.resolutions_.length-1,this.origin_=void 0!==e.origin?e.origin:null,this.origins_=null,void 0!==e.origins&&(this.origins_=e.origins,Object(i.assert)(this.origins_.length==this.resolutions_.length,20));var l=e.extent;void 0===l||this.origin_||this.origins_||(this.origin_=Object(a.getTopLeft)(l)),Object(i.assert)(!this.origin_&&this.origins_||this.origin_&&!this.origins_,18),this.tileSizes_=null,void 0!==e.tileSizes&&(this.tileSizes_=e.tileSizes,Object(i.assert)(this.tileSizes_.length==this.resolutions_.length,19)),this.tileSize_=void 0!==e.tileSize?e.tileSize:this.tileSizes_?null:n.DEFAULT_TILE_SIZE,Object(i.assert)(!this.tileSize_&&this.tileSizes_||this.tileSize_&&!this.tileSizes_,22),this.extent_=void 0!==l?l:null,this.fullTileRanges_=null,this.tmpSize_=[0,0],this.tmpExtent_=[0,0,0,0],void 0!==e.sizes?this.fullTileRanges_=e.sizes.map((function(e,t){var o=new r.default(Math.min(0,e[0]),Math.max(e[0]-1,-1),Math.min(0,e[1]),Math.max(e[1]-1,-1));if(l){var n=this.getTileRangeForExtentAndZ(l,t);o.minX=Math.max(n.minX,o.minX),o.maxX=Math.min(n.maxX,o.maxX),o.minY=Math.max(n.minY,o.minY),o.maxY=Math.min(n.maxY,o.maxY)}return o}),this):l&&this.calculateTileRanges_(l)}return e.prototype.forEachTileCoord=function(e,t,o){for(var r=this.getTileRangeForExtentAndZ(e,t),n=r.minX,i=r.maxX;n<=i;++n)for(var s=r.minY,a=r.maxY;s<=a;++s)o([t,n,s])},e.prototype.forEachTileCoordParentTileRange=function(e,t,o,n){var i,s,a,l=null,u=e[0]-1;for(2===this.zoomFactor_?(s=e[1],a=e[2]):l=this.getTileCoordExtent(e,n);u>=this.minZoom;){if(2===this.zoomFactor_?(s=Math.floor(s/2),a=Math.floor(a/2),i=Object(r.createOrUpdate)(s,s,a,a,o)):i=this.getTileRangeForExtentAndZ(l,u,o),t(u,i))return!0;--u}return!1},e.prototype.getExtent=function(){return this.extent_},e.prototype.getMaxZoom=function(){return this.maxZoom},e.prototype.getMinZoom=function(){return this.minZoom},e.prototype.getOrigin=function(e){return this.origin_?this.origin_:this.origins_[e]},e.prototype.getResolution=function(e){return this.resolutions_[e]},e.prototype.getResolutions=function(){return this.resolutions_},e.prototype.getTileCoordChildTileRange=function(e,t,o){if(e[0]<this.maxZoom){if(2===this.zoomFactor_){var n=2*e[1],i=2*e[2];return Object(r.createOrUpdate)(n,n+1,i,i+1,t)}var s=this.getTileCoordExtent(e,o||this.tmpExtent_);return this.getTileRangeForExtentAndZ(s,e[0]+1,t)}return null},e.prototype.getTileRangeForTileCoordAndZ=function(e,t,o){if(t>this.maxZoom||t<this.minZoom)return null;var n=e[0],i=e[1],s=e[2];if(t===n)return Object(r.createOrUpdate)(i,s,i,s,o);if(this.zoomFactor_){var a=Math.pow(this.zoomFactor_,t-n),l=Math.floor(i*a),u=Math.floor(s*a);if(t<n)return Object(r.createOrUpdate)(l,l,u,u,o);var c=Math.floor(a*(i+1))-1,d=Math.floor(a*(s+1))-1;return Object(r.createOrUpdate)(l,c,u,d,o)}var p=this.getTileCoordExtent(e,this.tmpExtent_);return this.getTileRangeForExtentAndZ(p,t,o)},e.prototype.getTileRangeExtent=function(e,t,o){var r=this.getOrigin(e),n=this.getResolution(e),i=Object(c.toSize)(this.getTileSize(e),this.tmpSize_),s=r[0]+t.minX*i[0]*n,l=r[0]+(t.maxX+1)*i[0]*n,u=r[1]+t.minY*i[1]*n,d=r[1]+(t.maxY+1)*i[1]*n;return Object(a.createOrUpdate)(s,u,l,d,o)},e.prototype.getTileRangeForExtentAndZ=function(e,t,o){var n=d;this.getTileCoordForXYAndZ_(e[0],e[3],t,!1,n);var i=n[1],s=n[2];return this.getTileCoordForXYAndZ_(e[2],e[1],t,!0,n),Object(r.createOrUpdate)(i,n[1],s,n[2],o)},e.prototype.getTileCoordCenter=function(e){var t=this.getOrigin(e[0]),o=this.getResolution(e[0]),r=Object(c.toSize)(this.getTileSize(e[0]),this.tmpSize_);return[t[0]+(e[1]+.5)*r[0]*o,t[1]-(e[2]+.5)*r[1]*o]},e.prototype.getTileCoordExtent=function(e,t){var o=this.getOrigin(e[0]),r=this.getResolution(e[0]),n=Object(c.toSize)(this.getTileSize(e[0]),this.tmpSize_),i=o[0]+e[1]*n[0]*r,s=o[1]-(e[2]+1)*n[1]*r,l=i+n[0]*r,u=s+n[1]*r;return Object(a.createOrUpdate)(i,s,l,u,t)},e.prototype.getTileCoordForCoordAndResolution=function(e,t,o){return this.getTileCoordForXYAndResolution_(e[0],e[1],t,!1,o)},e.prototype.getTileCoordForXYAndResolution_=function(e,t,o,r,n){var i=this.getZForResolution(o),s=o/this.getResolution(i),a=this.getOrigin(i),u=Object(c.toSize)(this.getTileSize(i),this.tmpSize_),d=r?.5:0,p=r?.5:0,h=Math.floor((e-a[0])/o+d),f=Math.floor((a[1]-t)/o+p),m=s*h/u[0],g=s*f/u[1];return r?(m=Math.ceil(m)-1,g=Math.ceil(g)-1):(m=Math.floor(m),g=Math.floor(g)),Object(l.createOrUpdate)(i,m,g,n)},e.prototype.getTileCoordForXYAndZ_=function(e,t,o,r,n){var i=this.getOrigin(o),s=this.getResolution(o),a=Object(c.toSize)(this.getTileSize(o),this.tmpSize_),u=r?.5:0,d=r?.5:0,p=Math.floor((e-i[0])/s+u),h=Math.floor((i[1]-t)/s+d),f=p/a[0],m=h/a[1];return r?(f=Math.ceil(f)-1,m=Math.ceil(m)-1):(f=Math.floor(f),m=Math.floor(m)),Object(l.createOrUpdate)(o,f,m,n)},e.prototype.getTileCoordForCoordAndZ=function(e,t,o){return this.getTileCoordForXYAndZ_(e[0],e[1],t,!1,o)},e.prototype.getTileCoordResolution=function(e){return this.resolutions_[e[0]]},e.prototype.getTileSize=function(e){return this.tileSize_?this.tileSize_:this.tileSizes_[e]},e.prototype.getFullTileRange=function(e){return this.fullTileRanges_?this.fullTileRanges_[e]:this.extent_?this.getTileRangeForExtentAndZ(this.extent_,e):null},e.prototype.getZForResolution=function(e,t){var o=Object(u.linearFindNearest)(this.resolutions_,e,t||0);return Object(s.clamp)(o,this.minZoom,this.maxZoom)},e.prototype.calculateTileRanges_=function(e){for(var t=this.resolutions_.length,o=new Array(t),r=this.minZoom;r<t;++r)o[r]=this.getTileRangeForExtentAndZ(e,r);this.fullTileRanges_=o},e}();t.default=p},"./node_modules/ol/tilegrid/WMTS.js":function(e,t,o){"use strict";o.r(t),o.d(t,"createFromCapabilitiesMatrixSet",(function(){return u}));var r,n=o("./node_modules/ol/tilegrid/TileGrid.js"),i=o("./node_modules/ol/array.js"),s=o("./node_modules/ol/proj.js"),a=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),l=function(e){function t(t){var o=e.call(this,{extent:t.extent,origin:t.origin,origins:t.origins,resolutions:t.resolutions,tileSize:t.tileSize,tileSizes:t.tileSizes,sizes:t.sizes})||this;return o.matrixIds_=t.matrixIds,o}return a(t,e),t.prototype.getMatrixId=function(e){return this.matrixIds_[e]},t.prototype.getMatrixIds=function(){return this.matrixIds_},t}(n.default);function u(e,t,o){var r=[],n=[],a=[],u=[],c=[],d=void 0!==o?o:[],p="TileMatrix",h="Identifier",f="ScaleDenominator",m="TopLeftCorner",g=e.SupportedCRS,y=Object(s.get)(g),v=y.getMetersPerUnit(),_="ne"==y.getAxisOrientation().substr(0,2);return e[p].sort((function(e,t){return t[f]-e[f]})),e[p].forEach((function(t){if(!(d.length>0)||Object(i.find)(d,(function(o){return t[h]==o[p]||-1===t[h].indexOf(":")&&e[h]+":"+t[h]===o[p]}))){n.push(t[h]);var o=28e-5*t[f]/v,s=t.TileWidth,l=t.TileHeight;_?a.push([t[m][1],t[m][0]]):a.push(t[m]),r.push(o),u.push(s==l?s:[s,l]),c.push([t.MatrixWidth,t.MatrixHeight])}})),new l({extent:t,origins:a,resolutions:r,matrixIds:n,tileSizes:u,sizes:c})}t.default=l},"./node_modules/ol/tilegrid/common.js":function(e,t,o){"use strict";o.r(t),o.d(t,"DEFAULT_MAX_ZOOM",(function(){return r})),o.d(t,"DEFAULT_TILE_SIZE",(function(){return n}));var r=42,n=256},"./node_modules/ol/tileurlfunction.js":function(e,t,o){"use strict";o.r(t),o.d(t,"createFromTemplate",(function(){return s})),o.d(t,"createFromTemplates",(function(){return a})),o.d(t,"createFromTileUrlFunctions",(function(){return l})),o.d(t,"nullTileUrlFunction",(function(){return u})),o.d(t,"expandUrl",(function(){return c}));var r=o("./node_modules/ol/asserts.js"),n=o("./node_modules/ol/math.js"),i=o("./node_modules/ol/tilecoord.js");function s(e,t){var o=/\{z\}/g,n=/\{x\}/g,i=/\{y\}/g,s=/\{-y\}/g;return function(a,l,u){return a?e.replace(o,a[0].toString()).replace(n,a[1].toString()).replace(i,a[2].toString()).replace(s,(function(){var e=a[0],o=t.getFullTileRange(e);return Object(r.assert)(o,55),(o.getHeight()-a[2]-1).toString()})):void 0}}function a(e,t){for(var o=e.length,r=new Array(o),n=0;n<o;++n)r[n]=s(e[n],t);return l(r)}function l(e){return 1===e.length?e[0]:function(t,o,r){if(t){var s=Object(i.hash)(t),a=Object(n.modulo)(s,e.length);return e[a](t,o,r)}}}function u(e,t,o){}function c(e){var t=[],o=/\{([a-z])-([a-z])\}/.exec(e);if(o){var r=o[1].charCodeAt(0),n=o[2].charCodeAt(0),i=void 0;for(i=r;i<=n;++i)t.push(e.replace(o[0],String.fromCharCode(i)));return t}if(o=/\{(\d+)-(\d+)\}/.exec(e)){for(var s=parseInt(o[2],10),a=parseInt(o[1],10);a<=s;a++)t.push(e.replace(o[0],a.toString()));return t}return t.push(e),t}},"./node_modules/ol/transform.js":function(e,t,o){"use strict";o.r(t),o.d(t,"create",(function(){return a})),o.d(t,"reset",(function(){return l})),o.d(t,"multiply",(function(){return u})),o.d(t,"set",(function(){return c})),o.d(t,"setFromArray",(function(){return d})),o.d(t,"apply",(function(){return p})),o.d(t,"rotate",(function(){return h})),o.d(t,"scale",(function(){return f})),o.d(t,"makeScale",(function(){return m})),o.d(t,"translate",(function(){return g})),o.d(t,"compose",(function(){return y})),o.d(t,"composeCssTransform",(function(){return v})),o.d(t,"invert",(function(){return _})),o.d(t,"makeInverse",(function(){return b})),o.d(t,"determinant",(function(){return A})),o.d(t,"toString",(function(){return C}));var r,n=o("./node_modules/ol/has.js"),i=o("./node_modules/ol/asserts.js"),s=new Array(6);function a(){return[1,0,0,1,0,0]}function l(e){return c(e,1,0,0,1,0,0)}function u(e,t){var o=e[0],r=e[1],n=e[2],i=e[3],s=e[4],a=e[5],l=t[0],u=t[1],c=t[2],d=t[3],p=t[4],h=t[5];return e[0]=o*l+n*u,e[1]=r*l+i*u,e[2]=o*c+n*d,e[3]=r*c+i*d,e[4]=o*p+n*h+s,e[5]=r*p+i*h+a,e}function c(e,t,o,r,n,i,s){return e[0]=t,e[1]=o,e[2]=r,e[3]=n,e[4]=i,e[5]=s,e}function d(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function p(e,t){var o=t[0],r=t[1];return t[0]=e[0]*o+e[2]*r+e[4],t[1]=e[1]*o+e[3]*r+e[5],t}function h(e,t){var o=Math.cos(t),r=Math.sin(t);return u(e,c(s,o,r,-r,o,0,0))}function f(e,t,o){return u(e,c(s,t,0,0,o,0,0))}function m(e,t,o){return c(e,t,0,0,o,0,0)}function g(e,t,o){return u(e,c(s,1,0,0,1,t,o))}function y(e,t,o,r,n,i,s,a){var l=Math.sin(i),u=Math.cos(i);return e[0]=r*u,e[1]=n*l,e[2]=-r*l,e[3]=n*u,e[4]=s*r*u-a*r*l+t,e[5]=s*n*l+a*n*u+o,e}function v(e,t,o,r,n,i,s){return C(y([1,0,0,1,0,0],e,t,o,r,n,i,s))}function _(e){return b(e,e)}function b(e,t){var o=A(t);Object(i.assert)(0!==o,32);var r=t[0],n=t[1],s=t[2],a=t[3],l=t[4],u=t[5];return e[0]=a/o,e[1]=-n/o,e[2]=-s/o,e[3]=r/o,e[4]=(s*u-a*l)/o,e[5]=-(r*u-n*l)/o,e}function A(e){return e[0]*e[3]-e[1]*e[2]}function C(e){var t="matrix("+e.join(", ")+")";if(n.WORKER_OFFSCREEN_CANVAS)return t;var o=r||(r=document.createElement("div"));return o.style.transform=t,o.style.transform}},"./node_modules/ol/uri.js":function(e,t,o){"use strict";function r(e,t){var o=[];Object.keys(t).forEach((function(e){null!==t[e]&&void 0!==t[e]&&o.push(e+"="+encodeURIComponent(t[e]))}));var r=o.join("&");return(e=-1===(e=e.replace(/[?&]$/,"")).indexOf("?")?e+"?":e+"&")+r}o.r(t),o.d(t,"appendParams",(function(){return r}))},"./node_modules/ol/util.js":function(e,t,o){"use strict";function r(){return function(){throw new Error("Unimplemented abstract method.")}()}o.r(t),o.d(t,"abstract",(function(){return r})),o.d(t,"getUid",(function(){return i})),o.d(t,"VERSION",(function(){return s}));var n=0;function i(e){return e.ol_uid||(e.ol_uid=String(++n))}var s="6.9.0"},"./node_modules/ol/vec/mat4.js":function(e,t,o){"use strict";function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function n(e,t){return e[0]=t[0],e[1]=t[1],e[4]=t[2],e[5]=t[3],e[12]=t[4],e[13]=t[5],e}o.r(t),o.d(t,"create",(function(){return r})),o.d(t,"fromTransform",(function(){return n}))},"./node_modules/ol/webgl.js":function(e,t,o){"use strict";o.r(t),o.d(t,"ARRAY_BUFFER",(function(){return n})),o.d(t,"ELEMENT_ARRAY_BUFFER",(function(){return i})),o.d(t,"STREAM_DRAW",(function(){return s})),o.d(t,"STATIC_DRAW",(function(){return a})),o.d(t,"DYNAMIC_DRAW",(function(){return l})),o.d(t,"UNSIGNED_BYTE",(function(){return u})),o.d(t,"UNSIGNED_SHORT",(function(){return c})),o.d(t,"UNSIGNED_INT",(function(){return d})),o.d(t,"FLOAT",(function(){return p})),o.d(t,"getContext",(function(){return f})),o.d(t,"getSupportedExtensions",(function(){return m}));var r,n=34962,i=34963,s=35040,a=35044,l=35048,u=5121,c=5123,d=5125,p=5126,h=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function f(e,t){for(var o=h.length,r=0;r<o;++r)try{var n=e.getContext(h[r],t);if(n)return n}catch(e){}return null}function m(){if(!r){var e=f(document.createElement("canvas"));e&&(r=e.getSupportedExtensions())}return r}},"./node_modules/ol/webgl/Buffer.js":function(e,t,o){"use strict";o.r(t),o.d(t,"BufferUsage",(function(){return i})),o.d(t,"getArrayClassForType",(function(){return a}));var r=o("./node_modules/ol/webgl.js"),n=o("./node_modules/ol/asserts.js"),i={STATIC_DRAW:r.STATIC_DRAW,STREAM_DRAW:r.STREAM_DRAW,DYNAMIC_DRAW:r.DYNAMIC_DRAW},s=function(){function e(e,t){this.array=null,this.type=e,Object(n.assert)(e===r.ARRAY_BUFFER||e===r.ELEMENT_ARRAY_BUFFER,62),this.usage=void 0!==t?t:i.STATIC_DRAW}return e.prototype.ofSize=function(e){this.array=new(a(this.type))(e)},e.prototype.fromArray=function(e){var t=a(this.type);this.array=t.from?t.from(e):new t(e)},e.prototype.fromArrayBuffer=function(e){this.array=new(a(this.type))(e)},e.prototype.getType=function(){return this.type},e.prototype.getArray=function(){return this.array},e.prototype.getUsage=function(){return this.usage},e.prototype.getSize=function(){return this.array?this.array.length:0},e}();function a(e){switch(e){case r.ARRAY_BUFFER:return Float32Array;case r.ELEMENT_ARRAY_BUFFER:return Uint32Array;default:return Float32Array}}t.default=s},"./node_modules/ol/webgl/ContextEventType.js":function(e,t,o){"use strict";o.r(t),t.default={LOST:"webglcontextlost",RESTORED:"webglcontextrestored"}},"./node_modules/ol/webgl/Helper.js":function(e,t,o){"use strict";o.r(t),o.d(t,"ShaderType",(function(){return h})),o.d(t,"DefaultUniform",(function(){return f})),o.d(t,"AttributeType",(function(){return m})),o.d(t,"computeAttributesStride",(function(){return y}));var r,n=o("./node_modules/ol/webgl/ContextEventType.js"),i=o("./node_modules/ol/Disposable.js"),s=o("./node_modules/ol/webgl/PostProcessingPass.js"),a=o("./node_modules/ol/webgl.js"),l=o("./node_modules/ol/obj.js"),u=o("./node_modules/ol/transform.js"),c=o("./node_modules/ol/vec/mat4.js"),d=o("./node_modules/ol/util.js"),p=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),h={FRAGMENT_SHADER:35632,VERTEX_SHADER:35633},f={PROJECTION_MATRIX:"u_projectionMatrix",OFFSET_SCALE_MATRIX:"u_offsetScaleMatrix",OFFSET_ROTATION_MATRIX:"u_offsetRotateMatrix",TIME:"u_time",ZOOM:"u_zoom",RESOLUTION:"u_resolution"},m={UNSIGNED_BYTE:a.UNSIGNED_BYTE,UNSIGNED_SHORT:a.UNSIGNED_SHORT,UNSIGNED_INT:a.UNSIGNED_INT,FLOAT:a.FLOAT},g=function(e){function t(t){var o=e.call(this)||this,r=t||{};o.boundHandleWebGLContextLost_=o.handleWebGLContextLost.bind(o),o.boundHandleWebGLContextRestored_=o.handleWebGLContextRestored.bind(o),o.canvas_=document.createElement("canvas"),o.canvas_.style.position="absolute",o.canvas_.style.left="0",o.gl_=Object(a.getContext)(o.canvas_);var i=o.getGL();if(o.bufferCache_={},o.extensionCache_={},o.currentProgram_=null,o.canvas_.addEventListener(n.default.LOST,o.boundHandleWebGLContextLost_),o.canvas_.addEventListener(n.default.RESTORED,o.boundHandleWebGLContextRestored_),o.offsetRotateMatrix_=Object(u.create)(),o.offsetScaleMatrix_=Object(u.create)(),o.tmpMat4_=Object(c.create)(),o.uniformLocations_={},o.attribLocations_={},o.uniforms_=[],r.uniforms)for(var l in r.uniforms)o.uniforms_.push({name:l,value:r.uniforms[l]});return o.postProcessPasses_=r.postProcesses?r.postProcesses.map((function(e){return new s.default({webGlContext:i,scaleRatio:e.scaleRatio,vertexShader:e.vertexShader,fragmentShader:e.fragmentShader,uniforms:e.uniforms})})):[new s.default({webGlContext:i})],o.shaderCompileErrors_=null,o.startTime_=Date.now(),o}return p(t,e),t.prototype.getExtension=function(e){if(e in this.extensionCache_)return this.extensionCache_[e];var t=this.gl_.getExtension(e);return this.extensionCache_[e]=t,t},t.prototype.bindBuffer=function(e){var t=this.getGL(),o=Object(d.getUid)(e),r=this.bufferCache_[o];r||(r={buffer:e,webGlBuffer:t.createBuffer()},this.bufferCache_[o]=r);t.bindBuffer(e.getType(),r.webGlBuffer)},t.prototype.flushBufferData=function(e){var t=this.getGL();this.bindBuffer(e),t.bufferData(e.getType(),e.getArray(),e.getUsage())},t.prototype.deleteBuffer=function(e){var t=this.getGL(),o=Object(d.getUid)(e),r=this.bufferCache_[o];r&&!t.isContextLost()&&t.deleteBuffer(r.webGlBuffer),delete this.bufferCache_[o]},t.prototype.disposeInternal=function(){this.canvas_.removeEventListener(n.default.LOST,this.boundHandleWebGLContextLost_),this.canvas_.removeEventListener(n.default.RESTORED,this.boundHandleWebGLContextRestored_);var e=this.gl_.getExtension("WEBGL_lose_context");e&&e.loseContext(),delete this.gl_,delete this.canvas_},t.prototype.prepareDraw=function(e,t){var o=this.getGL(),r=this.getCanvas(),n=e.size,i=e.pixelRatio;r.width=n[0]*i,r.height=n[1]*i,r.style.width=n[0]+"px",r.style.height=n[1]+"px",o.useProgram(this.currentProgram_);for(var s=this.postProcessPasses_.length-1;s>=0;s--)this.postProcessPasses_[s].init(e);o.bindTexture(o.TEXTURE_2D,null),o.clearColor(0,0,0,0),o.clear(o.COLOR_BUFFER_BIT),o.enable(o.BLEND),o.blendFunc(o.ONE,t?o.ZERO:o.ONE_MINUS_SRC_ALPHA),o.useProgram(this.currentProgram_),this.applyFrameState(e),this.applyUniforms(e)},t.prototype.prepareDrawToRenderTarget=function(e,t,o){var r=this.getGL(),n=t.getSize();r.bindFramebuffer(r.FRAMEBUFFER,t.getFramebuffer()),r.viewport(0,0,n[0],n[1]),r.bindTexture(r.TEXTURE_2D,t.getTexture()),r.clearColor(0,0,0,0),r.clear(r.COLOR_BUFFER_BIT),r.enable(r.BLEND),r.blendFunc(r.ONE,o?r.ZERO:r.ONE_MINUS_SRC_ALPHA),r.useProgram(this.currentProgram_),this.applyFrameState(e),this.applyUniforms(e)},t.prototype.drawElements=function(e,t){var o=this.getGL();this.getExtension("OES_element_index_uint");var r=o.UNSIGNED_INT,n=t-e,i=4*e;o.drawElements(o.TRIANGLES,n,r,i)},t.prototype.finalizeDraw=function(e){for(var t=0;t<this.postProcessPasses_.length;t++)this.postProcessPasses_[t].apply(e,this.postProcessPasses_[t+1]||null)},t.prototype.getCanvas=function(){return this.canvas_},t.prototype.getGL=function(){return this.gl_},t.prototype.applyFrameState=function(e){var t=e.size,o=e.viewState.rotation,r=Object(u.reset)(this.offsetScaleMatrix_);Object(u.scale)(r,2/t[0],2/t[1]);var n=Object(u.reset)(this.offsetRotateMatrix_);0!==o&&Object(u.rotate)(n,-o),this.setUniformMatrixValue(f.OFFSET_SCALE_MATRIX,Object(c.fromTransform)(this.tmpMat4_,r)),this.setUniformMatrixValue(f.OFFSET_ROTATION_MATRIX,Object(c.fromTransform)(this.tmpMat4_,n)),this.setUniformFloatValue(f.TIME,.001*(Date.now()-this.startTime_)),this.setUniformFloatValue(f.ZOOM,e.viewState.zoom),this.setUniformFloatValue(f.RESOLUTION,e.viewState.resolution)},t.prototype.applyUniforms=function(e){var t,o=this.getGL(),r=0;this.uniforms_.forEach(function(n){if((t="function"==typeof n.value?n.value(e):n.value)instanceof HTMLCanvasElement||t instanceof HTMLImageElement||t instanceof ImageData)n.texture||(n.prevValue=void 0,n.texture=o.createTexture()),o.activeTexture(o["TEXTURE"+r]),o.bindTexture(o.TEXTURE_2D,n.texture),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_MIN_FILTER,o.LINEAR),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_WRAP_S,o.CLAMP_TO_EDGE),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_WRAP_T,o.CLAMP_TO_EDGE),(!(t instanceof HTMLImageElement)||t.complete)&&n.prevValue!==t&&(n.prevValue=t,o.texImage2D(o.TEXTURE_2D,0,o.RGBA,o.RGBA,o.UNSIGNED_BYTE,t)),o.uniform1i(this.getUniformLocation(n.name),r++);else if(Array.isArray(t)&&6===t.length)this.setUniformMatrixValue(n.name,Object(c.fromTransform)(this.tmpMat4_,t));else if(Array.isArray(t)&&t.length<=4)switch(t.length){case 2:return void o.uniform2f(this.getUniformLocation(n.name),t[0],t[1]);case 3:return void o.uniform3f(this.getUniformLocation(n.name),t[0],t[1],t[2]);case 4:return void o.uniform4f(this.getUniformLocation(n.name),t[0],t[1],t[2],t[3]);default:return}else"number"==typeof t&&o.uniform1f(this.getUniformLocation(n.name),t)}.bind(this))},t.prototype.useProgram=function(e){return e!=this.currentProgram_&&(this.getGL().useProgram(e),this.currentProgram_=e,this.uniformLocations_={},this.attribLocations_={},!0)},t.prototype.compileShader=function(e,t){var o=this.getGL(),r=o.createShader(t);return o.shaderSource(r,e),o.compileShader(r),r},t.prototype.getProgram=function(e,t){var o=this.getGL(),r=this.compileShader(e,o.FRAGMENT_SHADER),n=this.compileShader(t,o.VERTEX_SHADER),i=o.createProgram();if(o.attachShader(i,r),o.attachShader(i,n),o.linkProgram(i),!o.getShaderParameter(r,o.COMPILE_STATUS)){var s="Fragment shader compliation failed: "+o.getShaderInfoLog(r);throw new Error(s)}if(o.deleteShader(r),!o.getShaderParameter(n,o.COMPILE_STATUS)){s="Vertex shader compilation failed: "+o.getShaderInfoLog(n);throw new Error(s)}if(o.deleteShader(n),!o.getProgramParameter(i,o.LINK_STATUS)){s="GL program linking failed: "+o.getShaderInfoLog(n);throw new Error(s)}return i},t.prototype.getUniformLocation=function(e){return void 0===this.uniformLocations_[e]&&(this.uniformLocations_[e]=this.getGL().getUniformLocation(this.currentProgram_,e)),this.uniformLocations_[e]},t.prototype.getAttributeLocation=function(e){return void 0===this.attribLocations_[e]&&(this.attribLocations_[e]=this.getGL().getAttribLocation(this.currentProgram_,e)),this.attribLocations_[e]},t.prototype.makeProjectionTransform=function(e,t){var o=e.size,r=e.viewState.rotation,n=e.viewState.resolution,i=e.viewState.center;return Object(u.reset)(t),Object(u.compose)(t,0,0,2/(n*o[0]),2/(n*o[1]),-r,-i[0],-i[1]),t},t.prototype.setUniformFloatValue=function(e,t){this.getGL().uniform1f(this.getUniformLocation(e),t)},t.prototype.setUniformMatrixValue=function(e,t){this.getGL().uniformMatrix4fv(this.getUniformLocation(e),!1,t)},t.prototype.enableAttributeArray_=function(e,t,o,r,n){var i=this.getAttributeLocation(e);i<0||(this.getGL().enableVertexAttribArray(i),this.getGL().vertexAttribPointer(i,t,o,!1,r,n))},t.prototype.enableAttributes=function(e){for(var t=y(e),o=0,r=0;r<e.length;r++){var n=e[r];this.enableAttributeArray_(n.name,n.size,n.type||a.FLOAT,t,o),o+=n.size*v(n.type)}},t.prototype.handleWebGLContextLost=function(){Object(l.clear)(this.bufferCache_),this.currentProgram_=null},t.prototype.handleWebGLContextRestored=function(){},t.prototype.createTexture=function(e,t,o){var r=this.getGL(),n=o||r.createTexture(),i=r.RGBA,s=r.RGBA,a=r.UNSIGNED_BYTE;return r.bindTexture(r.TEXTURE_2D,n),t?r.texImage2D(r.TEXTURE_2D,0,i,s,a,t):r.texImage2D(r.TEXTURE_2D,0,i,e[0],e[1],0,s,a,null),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,r.LINEAR),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,r.CLAMP_TO_EDGE),n},t}(i.default);function y(e){for(var t=0,o=0;o<e.length;o++){var r=e[o];t+=r.size*v(r.type)}return t}function v(e){switch(e){case m.UNSIGNED_BYTE:return Uint8Array.BYTES_PER_ELEMENT;case m.UNSIGNED_SHORT:return Uint16Array.BYTES_PER_ELEMENT;case m.UNSIGNED_INT:return Uint32Array.BYTES_PER_ELEMENT;case m.FLOAT:default:return Float32Array.BYTES_PER_ELEMENT}}t.default=g},"./node_modules/ol/webgl/PostProcessingPass.js":function(e,t,o){"use strict";o.r(t);var r=function(){function e(e){this.gl_=e.webGlContext;var t=this.gl_;this.scaleRatio_=e.scaleRatio||1,this.renderTargetTexture_=t.createTexture(),this.renderTargetTextureSize_=null,this.frameBuffer_=t.createFramebuffer();var o=t.createShader(t.VERTEX_SHADER);t.shaderSource(o,e.vertexShader||"\n  precision mediump float;\n  \n  attribute vec2 a_position;\n  varying vec2 v_texCoord;\n  varying vec2 v_screenCoord;\n  \n  uniform vec2 u_screenSize;\n   \n  void main() {\n    v_texCoord = a_position * 0.5 + 0.5;\n    v_screenCoord = v_texCoord * u_screenSize;\n    gl_Position = vec4(a_position, 0.0, 1.0);\n  }\n"),t.compileShader(o);var r=t.createShader(t.FRAGMENT_SHADER);t.shaderSource(r,e.fragmentShader||"\n  precision mediump float;\n   \n  uniform sampler2D u_image;\n   \n  varying vec2 v_texCoord;\n   \n  void main() {\n    gl_FragColor = texture2D(u_image, v_texCoord);\n  }\n"),t.compileShader(r),this.renderTargetProgram_=t.createProgram(),t.attachShader(this.renderTargetProgram_,o),t.attachShader(this.renderTargetProgram_,r),t.linkProgram(this.renderTargetProgram_),this.renderTargetVerticesBuffer_=t.createBuffer();t.bindBuffer(t.ARRAY_BUFFER,this.renderTargetVerticesBuffer_),t.bufferData(t.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,1,-1,1,1,-1,1]),t.STATIC_DRAW),this.renderTargetAttribLocation_=t.getAttribLocation(this.renderTargetProgram_,"a_position"),this.renderTargetUniformLocation_=t.getUniformLocation(this.renderTargetProgram_,"u_screenSize"),this.renderTargetTextureLocation_=t.getUniformLocation(this.renderTargetProgram_,"u_image"),this.uniforms_=[],e.uniforms&&Object.keys(e.uniforms).forEach(function(o){this.uniforms_.push({value:e.uniforms[o],location:t.getUniformLocation(this.renderTargetProgram_,o)})}.bind(this))}return e.prototype.getGL=function(){return this.gl_},e.prototype.init=function(e){var t=this.getGL(),o=[t.drawingBufferWidth*this.scaleRatio_,t.drawingBufferHeight*this.scaleRatio_];if(t.bindFramebuffer(t.FRAMEBUFFER,this.getFrameBuffer()),t.viewport(0,0,o[0],o[1]),!this.renderTargetTextureSize_||this.renderTargetTextureSize_[0]!==o[0]||this.renderTargetTextureSize_[1]!==o[1]){this.renderTargetTextureSize_=o;var r=t.RGBA,n=t.RGBA,i=t.UNSIGNED_BYTE;t.bindTexture(t.TEXTURE_2D,this.renderTargetTexture_),t.texImage2D(t.TEXTURE_2D,0,r,o[0],o[1],0,n,i,null),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE),t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,this.renderTargetTexture_,0)}},e.prototype.apply=function(e,t){var o=this.getGL(),r=e.size;o.bindFramebuffer(o.FRAMEBUFFER,t?t.getFrameBuffer():null),o.activeTexture(o.TEXTURE0),o.bindTexture(o.TEXTURE_2D,this.renderTargetTexture_),o.clearColor(0,0,0,0),o.clear(o.COLOR_BUFFER_BIT),o.enable(o.BLEND),o.blendFunc(o.ONE,o.ONE_MINUS_SRC_ALPHA),o.viewport(0,0,o.drawingBufferWidth,o.drawingBufferHeight),o.bindBuffer(o.ARRAY_BUFFER,this.renderTargetVerticesBuffer_),o.useProgram(this.renderTargetProgram_),o.enableVertexAttribArray(this.renderTargetAttribLocation_),o.vertexAttribPointer(this.renderTargetAttribLocation_,2,o.FLOAT,!1,0,0),o.uniform2f(this.renderTargetUniformLocation_,r[0],r[1]),o.uniform1i(this.renderTargetTextureLocation_,0),this.applyUniforms(e),o.drawArrays(o.TRIANGLES,0,6)},e.prototype.getFrameBuffer=function(){return this.frameBuffer_},e.prototype.applyUniforms=function(e){var t,o=this.getGL(),r=1;this.uniforms_.forEach((function(n){if((t="function"==typeof n.value?n.value(e):n.value)instanceof HTMLCanvasElement||t instanceof ImageData)n.texture||(n.texture=o.createTexture()),o.activeTexture(o["TEXTURE"+r]),o.bindTexture(o.TEXTURE_2D,n.texture),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_MIN_FILTER,o.LINEAR),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_WRAP_S,o.CLAMP_TO_EDGE),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_WRAP_T,o.CLAMP_TO_EDGE),t instanceof ImageData?o.texImage2D(o.TEXTURE_2D,0,o.RGBA,o.RGBA,t.width,t.height,0,o.UNSIGNED_BYTE,new Uint8Array(t.data)):o.texImage2D(o.TEXTURE_2D,0,o.RGBA,o.RGBA,o.UNSIGNED_BYTE,t),o.uniform1i(n.location,r++);else if(Array.isArray(t))switch(t.length){case 2:return void o.uniform2f(n.location,t[0],t[1]);case 3:return void o.uniform3f(n.location,t[0],t[1],t[2]);case 4:return void o.uniform4f(n.location,t[0],t[1],t[2],t[3]);default:return}else"number"==typeof t&&o.uniform1f(n.location,t)}))},e}();t.default=r},"./node_modules/ol/webgl/RenderTarget.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/ol/array.js"),n=new Uint8Array(4),i=function(){function e(e,t){this.helper_=e;var o=e.getGL();this.texture_=o.createTexture(),this.framebuffer_=o.createFramebuffer(),this.size_=t||[1,1],this.data_=new Uint8Array(0),this.dataCacheDirty_=!0,this.updateSize_()}return e.prototype.setSize=function(e){Object(r.equals)(e,this.size_)||(this.size_[0]=e[0],this.size_[1]=e[1],this.updateSize_())},e.prototype.getSize=function(){return this.size_},e.prototype.clearCachedData=function(){this.dataCacheDirty_=!0},e.prototype.readAll=function(){if(this.dataCacheDirty_){var e=this.size_,t=this.helper_.getGL();t.bindFramebuffer(t.FRAMEBUFFER,this.framebuffer_),t.readPixels(0,0,e[0],e[1],t.RGBA,t.UNSIGNED_BYTE,this.data_),this.dataCacheDirty_=!1}return this.data_},e.prototype.readPixel=function(e,t){if(e<0||t<0||e>this.size_[0]||t>=this.size_[1])return n[0]=0,n[1]=0,n[2]=0,n[3]=0,n;this.readAll();var o=Math.floor(e)+(this.size_[1]-Math.floor(t)-1)*this.size_[0];return n[0]=this.data_[4*o],n[1]=this.data_[4*o+1],n[2]=this.data_[4*o+2],n[3]=this.data_[4*o+3],n},e.prototype.getTexture=function(){return this.texture_},e.prototype.getFramebuffer=function(){return this.framebuffer_},e.prototype.updateSize_=function(){var e=this.size_,t=this.helper_.getGL();this.texture_=this.helper_.createTexture(e,null,this.texture_),t.bindFramebuffer(t.FRAMEBUFFER,this.framebuffer_),t.viewport(0,0,e[0],e[1]),t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,this.texture_,0),this.data_=new Uint8Array(e[0]*e[1]*4)},e}();t.default=i},"./node_modules/ol/webgl/ShaderBuilder.js":function(e,t,o){"use strict";o.r(t),o.d(t,"ShaderBuilder",(function(){return n})),o.d(t,"parseLiteralStyle",(function(){return i}));var r=o("./node_modules/ol/style/expressions.js"),n=function(){function e(){this.uniforms=[],this.attributes=[],this.varyings=[],this.sizeExpression="vec2(1.0)",this.rotationExpression="0.0",this.offsetExpression="vec2(0.0)",this.colorExpression="vec4(1.0)",this.texCoordExpression="vec4(0.0, 0.0, 1.0, 1.0)",this.discardExpression="false",this.rotateWithView=!1}return e.prototype.addUniform=function(e){return this.uniforms.push(e),this},e.prototype.addAttribute=function(e){return this.attributes.push(e),this},e.prototype.addVarying=function(e,t,o){return this.varyings.push({name:e,type:t,expression:o}),this},e.prototype.setSizeExpression=function(e){return this.sizeExpression=e,this},e.prototype.setRotationExpression=function(e){return this.rotationExpression=e,this},e.prototype.setSymbolOffsetExpression=function(e){return this.offsetExpression=e,this},e.prototype.setColorExpression=function(e){return this.colorExpression=e,this},e.prototype.setTextureCoordinateExpression=function(e){return this.texCoordExpression=e,this},e.prototype.setFragmentDiscardExpression=function(e){return this.discardExpression=e,this},e.prototype.setSymbolRotateWithView=function(e){return this.rotateWithView=e,this},e.prototype.getSizeExpression=function(){return this.sizeExpression},e.prototype.getOffsetExpression=function(){return this.offsetExpression},e.prototype.getColorExpression=function(){return this.colorExpression},e.prototype.getTextureCoordinateExpression=function(){return this.texCoordExpression},e.prototype.getFragmentDiscardExpression=function(){return this.discardExpression},e.prototype.getSymbolVertexShader=function(e){var t=this.rotateWithView?"u_offsetScaleMatrix * u_offsetRotateMatrix":"u_offsetScaleMatrix",o=this.attributes,r=this.varyings;return e&&(o=o.concat("vec4 a_hitColor"),r=r.concat({name:"v_hitColor",type:"vec4",expression:"a_hitColor"})),"precision mediump float;\nuniform mat4 u_projectionMatrix;\nuniform mat4 u_offsetScaleMatrix;\nuniform mat4 u_offsetRotateMatrix;\nuniform float u_time;\nuniform float u_zoom;\nuniform float u_resolution;\n"+this.uniforms.map((function(e){return"uniform "+e+";"})).join("\n")+"\nattribute vec2 a_position;\nattribute float a_index;\n"+o.map((function(e){return"attribute "+e+";"})).join("\n")+"\nvarying vec2 v_texCoord;\nvarying vec2 v_quadCoord;\n"+r.map((function(e){return"varying "+e.type+" "+e.name+";"})).join("\n")+"\nvoid main(void) {\n  mat4 offsetMatrix = "+t+";\n  vec2 halfSize = "+this.sizeExpression+" * 0.5;\n  vec2 offset = "+this.offsetExpression+";\n  float angle = "+this.rotationExpression+";\n  float offsetX;\n  float offsetY;\n  if (a_index == 0.0) {\n    offsetX = (offset.x - halfSize.x) * cos(angle) + (offset.y - halfSize.y) * sin(angle);\n    offsetY = (offset.y - halfSize.y) * cos(angle) - (offset.x - halfSize.x) * sin(angle);\n  } else if (a_index == 1.0) {\n    offsetX = (offset.x + halfSize.x) * cos(angle) + (offset.y - halfSize.y) * sin(angle);\n    offsetY = (offset.y - halfSize.y) * cos(angle) - (offset.x + halfSize.x) * sin(angle);\n  } else if (a_index == 2.0) {\n    offsetX = (offset.x + halfSize.x) * cos(angle) + (offset.y + halfSize.y) * sin(angle);\n    offsetY = (offset.y + halfSize.y) * cos(angle) - (offset.x + halfSize.x) * sin(angle);\n  } else {\n    offsetX = (offset.x - halfSize.x) * cos(angle) + (offset.y + halfSize.y) * sin(angle);\n    offsetY = (offset.y + halfSize.y) * cos(angle) - (offset.x - halfSize.x) * sin(angle);\n  }\n  vec4 offsets = offsetMatrix * vec4(offsetX, offsetY, 0.0, 0.0);\n  gl_Position = u_projectionMatrix * vec4(a_position, 0.0, 1.0) + offsets;\n  vec4 texCoord = "+this.texCoordExpression+";\n  float u = a_index == 0.0 || a_index == 3.0 ? texCoord.s : texCoord.p;\n  float v = a_index == 2.0 || a_index == 3.0 ? texCoord.t : texCoord.q;\n  v_texCoord = vec2(u, v);\n  u = a_index == 0.0 || a_index == 3.0 ? 0.0 : 1.0;\n  v = a_index == 2.0 || a_index == 3.0 ? 0.0 : 1.0;\n  v_quadCoord = vec2(u, v);\n"+r.map((function(e){return"  "+e.name+" = "+e.expression+";"})).join("\n")+"\n}"},e.prototype.getSymbolFragmentShader=function(e){var t=e?"  if (gl_FragColor.a < 0.1) { discard; } gl_FragColor = v_hitColor;":"",o=this.varyings;return e&&(o=o.concat({name:"v_hitColor",type:"vec4",expression:"a_hitColor"})),"precision mediump float;\nuniform float u_time;\nuniform float u_zoom;\nuniform float u_resolution;\n"+this.uniforms.map((function(e){return"uniform "+e+";"})).join("\n")+"\nvarying vec2 v_texCoord;\nvarying vec2 v_quadCoord;\n"+o.map((function(e){return"varying "+e.type+" "+e.name+";"})).join("\n")+"\nvoid main(void) {\n  if ("+this.discardExpression+") { discard; }\n  gl_FragColor = "+this.colorExpression+";\n  gl_FragColor.rgb *= gl_FragColor.a;\n"+t+"\n}"},e}();function i(e){var t=e.symbol,o=void 0!==t.size?t.size:1,i=t.color||"white",s=t.textureCoord||[0,0,1,1],a=t.offset||[0,0],l=void 0!==t.opacity?t.opacity:1,u=void 0!==t.rotation?t.rotation:0,c={inFragmentShader:!1,variables:[],attributes:[],stringLiteralsMap:{}},d=Object(r.expressionToGlsl)(c,o,r.ValueTypes.NUMBER_ARRAY|r.ValueTypes.NUMBER),p=Object(r.expressionToGlsl)(c,a,r.ValueTypes.NUMBER_ARRAY),h=Object(r.expressionToGlsl)(c,s,r.ValueTypes.NUMBER_ARRAY),f=Object(r.expressionToGlsl)(c,u,r.ValueTypes.NUMBER),m={inFragmentShader:!0,variables:c.variables,attributes:[],stringLiteralsMap:c.stringLiteralsMap},g=Object(r.expressionToGlsl)(m,i,r.ValueTypes.COLOR),y=Object(r.expressionToGlsl)(m,l,r.ValueTypes.NUMBER),v="1.0",_="vec2("+Object(r.expressionToGlsl)(m,o,r.ValueTypes.NUMBER_ARRAY|r.ValueTypes.NUMBER)+").x";switch(t.symbolType){case"square":case"image":break;case"circle":v="(1.0-smoothstep(1.-4./"+_+",1.,dot(v_quadCoord-.5,v_quadCoord-.5)*4.))";break;case"triangle":var b="(v_quadCoord*2.-1.)",A="(atan("+b+".x,"+b+".y))";v="(1.0-smoothstep(.5-3./"+_+",.5,cos(floor(.5+"+A+"/2.094395102)*2.094395102-"+A+")*length("+b+")))";break;default:throw new Error("Unexpected symbol type: "+t.symbolType)}var C=(new n).setSizeExpression("vec2("+d+")").setRotationExpression(f).setSymbolOffsetExpression(p).setTextureCoordinateExpression(h).setSymbolRotateWithView(!!t.rotateWithView).setColorExpression("vec4("+g+".rgb, "+g+".a * "+y+" * "+v+")");if(e.filter){var E=Object(r.expressionToGlsl)(m,e.filter,r.ValueTypes.BOOLEAN);C.setFragmentDiscardExpression("!"+E)}var S={};if(m.variables.forEach((function(t){var o=Object(r.uniformNameForVariable)(t);C.addUniform("float "+o),S[o]=function(){if(!e.variables||void 0===e.variables[t])throw new Error("The following variable is missing from the style: "+t);var o=e.variables[t];return"string"==typeof o&&(o=Object(r.getStringNumberEquivalent)(c,o)),void 0!==o?o:-9999999}})),"image"===t.symbolType&&t.src){var w=new Image;w.src=t.src,C.addUniform("sampler2D u_texture").setColorExpression(C.getColorExpression()+" * texture2D(u_texture, v_texCoord)"),S.u_texture=w}return m.attributes.forEach((function(e){-1===c.attributes.indexOf(e)&&c.attributes.push(e),C.addVarying("v_"+e,"float","a_"+e)})),c.attributes.forEach((function(e){C.addAttribute("float a_"+e)})),{builder:C,attributes:c.attributes.map((function(e){return{name:e,callback:function(t,o){var n=o[e];return"string"==typeof n&&(n=Object(r.getStringNumberEquivalent)(c,n)),void 0!==n?n:-9999999}}})),uniforms:S}}},"./node_modules/ol/webgl/TileTexture.js":function(e,t,o){"use strict";o.r(t);var r,n=o("./node_modules/ol/events/Target.js"),i=o("./node_modules/ol/events/EventType.js"),s=o("./node_modules/ol/ImageTile.js"),a=o("./node_modules/ol/TileState.js"),l=o("./node_modules/ol/webgl/Buffer.js"),u=o("./node_modules/ol/webgl.js"),c=o("./node_modules/ol/size.js"),d=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)});function p(e,t){e.bindTexture(e.TEXTURE_2D,t),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.LINEAR)}function h(e,t,o,r,n){var i,s,a=e.getGL();switch(p(a,t),n){case 1:i=a.LUMINANCE;break;case 2:i=a.LUMINANCE_ALPHA;break;case 3:i=a.RGB;break;case 4:i=a.RGBA;break;default:throw new Error("Unsupported number of bands: "+n)}o instanceof Float32Array?(s=a.FLOAT,e.getExtension("OES_texture_float"),e.getExtension("OES_texture_float_linear")):s=a.UNSIGNED_BYTE,a.texImage2D(a.TEXTURE_2D,0,i,r[0],r[1],0,i,s,o)}var f=function(e){function t(t,o,r){var n=e.call(this)||this;n.tile,n.textures=[],n.handleTileChange_=n.handleTileChange_.bind(n),n.size=Object(c.toSize)(o.getTileSize(t.tileCoord[0])),n.bandCount=NaN,n.helper_=r;var i=new l.default(u.ARRAY_BUFFER,u.STATIC_DRAW);return i.fromArray([0,1,1,1,1,0,0,0]),r.flushBufferData(i),n.coords=i,n.setTile(t),n}return d(t,e),t.prototype.setTile=function(e){e!==this.tile&&(this.tile&&this.tile.removeEventListener(i.default.CHANGE,this.handleTileChange_),this.tile=e,this.textures.length=0,this.loaded=e.getState()===a.default.LOADED,this.loaded?this.uploadTile_():e.addEventListener(i.default.CHANGE,this.handleTileChange_))},t.prototype.uploadTile_=function(){var e=this.helper_,t=e.getGL(),o=this.tile;if(o instanceof s.default){var r=t.createTexture();return this.textures.push(r),this.bandCount=4,void function(e,t,o){p(e,t),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,o)}(t,r,o.getImage())}var n=o.getData(),i=n instanceof Float32Array,a=this.size[0]*this.size[1];this.bandCount=n.byteLength/(i?4:1)/a;var l=Math.ceil(this.bandCount/4);if(1===l){r=t.createTexture();return this.textures.push(r),void h(e,r,n,this.size,this.bandCount)}for(var u=i?Float32Array:Uint8Array,c=new Array(l),d=0;d<l;++d){r=t.createTexture();this.textures.push(r);var f=d<l-1?4:this.bandCount%4;c[d]=new u(a*f)}for(var m=a*this.bandCount,g=0;g<m;++g){var y=g%this.bandCount,v=y%4,_=(f=(d=Math.floor(y/4))<l-1?4:this.bandCount%4,Math.floor(g/this.bandCount));c[d][_*f+v]=n[g]}for(d=0;d<l;++d){f=d<l-1?4:this.bandCount%4;h(e,r=this.textures[d],c[d],this.size,f)}},t.prototype.handleTileChange_=function(){this.tile.getState()===a.default.LOADED&&(this.loaded=!0,this.uploadTile_(),this.dispatchEvent(i.default.CHANGE))},t.prototype.disposeInternal=function(){var e=this.helper_.getGL();this.helper_.deleteBuffer(this.coords);for(var t=0;t<this.textures.length;++t)e.deleteTexture(this.textures[t]);this.tile.removeEventListener(i.default.CHANGE,this.handleTileChange_)},t}(n.default);t.default=f},"./node_modules/ol/worker/geotiff-decoder.js":function(e,t,o){"use strict";o.r(t),o.d(t,"create",(function(){return i}));var r=new Blob(['function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function asyncGeneratorStep(e,t,r,n,a,i,o){try{var s=e[i](o),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,a)}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function o(e){asyncGeneratorStep(i,n,a,o,s,"next",e)}function s(e){asyncGeneratorStep(i,n,a,o,s,"throw",e)}o(void 0)}))}}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),e}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_setPrototypeOf(e,t)}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}function _possibleConstructorReturn(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var r,n=_getPrototypeOf(e);if(t){var a=_getPrototypeOf(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return _possibleConstructorReturn(this,r)}}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var runtime={exports:{}};!function(e){var t=function(e){var t,r=Object.prototype,n=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",o=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var a=t&&t.prototype instanceof g?t:g,i=Object.create(a.prototype),o=new A(n||[]);return i._invoke=function(e,t,r){var n=u;return function(a,i){if(n===h)throw new Error("Generator is already running");if(n===p){if("throw"===a)throw i;return I()}for(r.method=a,r.arg=i;;){var o=r.delegate;if(o){var s=x(o,r);if(s){if(s===m)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===u)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var l=c(e,t,r);if("normal"===l.type){if(n=r.done?p:d,l.arg===m)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n=p,r.method="throw",r.arg=l.arg)}}}(e,r,o),i}function c(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=f;var u="suspendedStart",d="suspendedYield",h="executing",p="completed",m={};function g(){}function y(){}function _(){}var b={};l(b,i,(function(){return this}));var v=Object.getPrototypeOf,w=v&&v(v(M([])));w&&w!==r&&n.call(w,i)&&(b=w);var k=_.prototype=g.prototype=Object.create(b);function T(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function r(a,i,o,s){var l=c(e[a],e,i);if("throw"!==l.type){var f=l.arg,u=f.value;return u&&"object"===_typeof(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,o,s)}),(function(e){r("throw",e,o,s)})):t.resolve(u).then((function(e){f.value=e,o(f)}),(function(e){return r("throw",e,o,s)}))}s(l.arg)}var a;this._invoke=function(e,n){function i(){return new t((function(t,a){r(e,n,t,a)}))}return a=a?a.then(i,i):i()}}function x(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,x(e,r),"throw"===r.method))return m;r.method="throw",r.arg=new TypeError("The iterator does not provide a \'throw\' method")}return m}var a=c(n,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function M(e){if(e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}return{next:I}}function I(){return{value:t,done:!0}}return y.prototype=_,l(k,"constructor",_),l(_,"constructor",y),y.displayName=l(_,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,l(e,s,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},T(E.prototype),l(E.prototype,o,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,a,i){void 0===i&&(i=Promise);var o=new E(f(t,r,n,a),i);return e.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},T(k),l(k,s,"Generator"),l(k,i,(function(){return this})),l(k,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=M,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(D),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function a(n,a){return s.type="throw",s.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),f=n.call(o,"finallyLoc");if(l&&f){if(this.prev<o.catchLoc)return a(o.catchLoc,!0);if(this.prev<o.finallyLoc)return a(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return a(o.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return a(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),D(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;D(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:M(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"===("undefined"==typeof globalThis?"undefined":_typeof(globalThis))?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}(runtime);var worker={},isObservable=function(e){return!!e&&("symbol"===_typeof(Symbol.observable)&&"function"==typeof e[Symbol.observable]?e===e[Symbol.observable]():"function"==typeof e["@@observable"]&&e===e["@@observable"]())},common$1={},serializers={};function extendSerializer(e,t){var r=e.deserialize.bind(e),n=e.serialize.bind(e);return{deserialize:function(e){return t.deserialize(e,r)},serialize:function(e){return t.serialize(e,n)}}}Object.defineProperty(serializers,"__esModule",{value:!0}),serializers.DefaultSerializer=serializers.extendSerializer=void 0,serializers.extendSerializer=extendSerializer;var DefaultErrorSerializer={deserialize:function(e){return Object.assign(Error(e.message),{name:e.name,stack:e.stack})},serialize:function(e){return{__error_marker:"$$error",message:e.message,name:e.name,stack:e.stack}}},isSerializedError=function(e){return e&&"object"===_typeof(e)&&"__error_marker"in e&&"$$error"===e.__error_marker};serializers.DefaultSerializer={deserialize:function(e){return isSerializedError(e)?DefaultErrorSerializer.deserialize(e):e},serialize:function(e){return e instanceof Error?DefaultErrorSerializer.serialize(e):e}},Object.defineProperty(common$1,"__esModule",{value:!0}),common$1.serialize=common$1.deserialize=common$1.registerSerializer=void 0;var serializers_1=serializers,registeredSerializer=serializers_1.DefaultSerializer;function registerSerializer(e){registeredSerializer=serializers_1.extendSerializer(registeredSerializer,e)}function deserialize(e){return registeredSerializer.deserialize(e)}function serialize(e){return registeredSerializer.serialize(e)}common$1.registerSerializer=registerSerializer,common$1.deserialize=deserialize,common$1.serialize=serialize;var transferable={},symbols={};Object.defineProperty(symbols,"__esModule",{value:!0}),symbols.$worker=symbols.$transferable=symbols.$terminate=symbols.$events=symbols.$errors=void 0,symbols.$errors=Symbol("thread.errors"),symbols.$events=Symbol("thread.events"),symbols.$terminate=Symbol("thread.terminate"),symbols.$transferable=Symbol("thread.transferable"),symbols.$worker=Symbol("thread.worker"),Object.defineProperty(transferable,"__esModule",{value:!0}),transferable.Transfer=transferable.isTransferDescriptor=void 0;var symbols_1=symbols;function isTransferable(e){return!(!e||"object"!==_typeof(e))}function isTransferDescriptor(e){return e&&"object"===_typeof(e)&&e[symbols_1.$transferable]}function Transfer$1(e,t){var r;if(!t){if(!isTransferable(e))throw Error();t=[e]}return _defineProperty(r={},symbols_1.$transferable,!0),_defineProperty(r,"send",e),_defineProperty(r,"transferables",t),r}transferable.isTransferDescriptor=isTransferDescriptor,transferable.Transfer=Transfer$1;var messages$1={},exports,MasterMessageType,WorkerMessageType;exports=messages$1,Object.defineProperty(exports,"__esModule",{value:!0}),exports.WorkerMessageType=exports.MasterMessageType=void 0,(MasterMessageType=exports.MasterMessageType||(exports.MasterMessageType={})).cancel="cancel",MasterMessageType.run="run",(WorkerMessageType=exports.WorkerMessageType||(exports.WorkerMessageType={})).error="error",WorkerMessageType.init="init",WorkerMessageType.result="result",WorkerMessageType.running="running",WorkerMessageType.uncaughtError="uncaughtError";var implementation$1={},implementation_browser={};Object.defineProperty(implementation_browser,"__esModule",{value:!0});var isWorkerRuntime$2=function(){var e="undefined"!=typeof self&&"undefined"!=typeof Window&&self instanceof Window;return!("undefined"==typeof self||!self.postMessage||e)},postMessageToMaster$2=function(e,t){self.postMessage(e,t)},subscribeToMasterMessages$2=function(e){var t=function(t){e(t.data)};return self.addEventListener("message",t),function(){self.removeEventListener("message",t)}};implementation_browser.default={isWorkerRuntime:isWorkerRuntime$2,postMessageToMaster:postMessageToMaster$2,subscribeToMasterMessages:subscribeToMasterMessages$2};var implementation_tinyWorker={};Object.defineProperty(implementation_tinyWorker,"__esModule",{value:!0}),"undefined"==typeof self&&(commonjsGlobal.self=commonjsGlobal);var isWorkerRuntime$1=function(){return!("undefined"==typeof self||!self.postMessage)},postMessageToMaster$1=function(e){self.postMessage(e)},muxingHandlerSetUp=!1,messageHandlers=new Set,subscribeToMasterMessages$1=function(e){muxingHandlerSetUp||(self.addEventListener("message",(function(e){messageHandlers.forEach((function(t){return t(e.data)}))})),muxingHandlerSetUp=!0),messageHandlers.add(e);return function(){return messageHandlers.delete(e)}};implementation_tinyWorker.default={isWorkerRuntime:isWorkerRuntime$1,postMessageToMaster:postMessageToMaster$1,subscribeToMasterMessages:subscribeToMasterMessages$1};var implementation_worker_threads={},worker_threads={},implementation;function selectImplementation(){return"function"==typeof __non_webpack_require__?__non_webpack_require__("worker_threads"):eval("require")("worker_threads")}function getImplementation(){return implementation||(implementation=selectImplementation()),implementation}Object.defineProperty(worker_threads,"__esModule",{value:!0}),worker_threads.default=getImplementation;var __importDefault$1=commonjsGlobal&&commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(implementation_worker_threads,"__esModule",{value:!0});var worker_threads_1=__importDefault$1(worker_threads);function assertMessagePort(e){if(!e)throw Error("Invariant violation: MessagePort to parent is not available.");return e}var isWorkerRuntime=function(){return!worker_threads_1.default().isMainThread},postMessageToMaster=function(e,t){assertMessagePort(worker_threads_1.default().parentPort).postMessage(e,t)},subscribeToMasterMessages=function(e){var t=worker_threads_1.default().parentPort;if(!t)throw Error("Invariant violation: MessagePort to parent is not available.");var r=function(t){e(t)};return assertMessagePort(t).on("message",r),function(){assertMessagePort(t).off("message",r)}};function testImplementation(){worker_threads_1.default()}implementation_worker_threads.default={isWorkerRuntime:isWorkerRuntime,postMessageToMaster:postMessageToMaster,subscribeToMasterMessages:subscribeToMasterMessages,testImplementation:testImplementation};var __importDefault=commonjsGlobal&&commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(implementation$1,"__esModule",{value:!0});var implementation_browser_1=__importDefault(implementation_browser),implementation_tiny_worker_1=__importDefault(implementation_tinyWorker),implementation_worker_threads_1=__importDefault(implementation_worker_threads),runningInNode="undefined"!=typeof process&&"browser"!==process.arch&&"pid"in process;function selectNodeImplementation(){try{return implementation_worker_threads_1.default.testImplementation(),implementation_worker_threads_1.default}catch(e){return implementation_tiny_worker_1.default}}implementation$1.default=runningInNode?selectNodeImplementation():implementation_browser_1.default,function(e){var t=commonjsGlobal&&commonjsGlobal.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(a,i){function o(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}l((n=n.apply(e,t||[])).next())}))},r=commonjsGlobal&&commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.expose=e.isWorkerRuntime=e.Transfer=e.registerSerializer=void 0;var n=r(isObservable),a=common$1,i=transferable,o=messages$1,s=r(implementation$1),l=common$1;Object.defineProperty(e,"registerSerializer",{enumerable:!0,get:function(){return l.registerSerializer}});var f=transferable;Object.defineProperty(e,"Transfer",{enumerable:!0,get:function(){return f.Transfer}}),e.isWorkerRuntime=s.default.isWorkerRuntime;var c=!1,u=new Map,d=function(e){return e&&e.type===o.MasterMessageType.run},h=function(e){return n.default(e)||function(e){return e&&"object"===_typeof(e)&&"function"==typeof e.subscribe}(e)};function p(e){return i.isTransferDescriptor(e)?{payload:e.send,transferables:e.transferables}:{payload:e,transferables:void 0}}function m(e,t){var r=p(t),n=r.payload,i=r.transferables,l={type:o.WorkerMessageType.error,uid:e,error:a.serialize(n)};s.default.postMessageToMaster(l,i)}function g(e,t,r){var n=p(r),a=n.payload,i=n.transferables,l={type:o.WorkerMessageType.result,uid:e,complete:!!t||void 0,payload:a};s.default.postMessageToMaster(l,i)}function y(e,t){var r={type:o.WorkerMessageType.running,uid:e,resultType:t};s.default.postMessageToMaster(r)}function _(e){try{var t={type:o.WorkerMessageType.uncaughtError,error:a.serialize(e)};s.default.postMessageToMaster(t)}catch(t){console.error("Not reporting uncaught error back to master thread as it occured while reporting an uncaught error already.\\nLatest error:",t,"\\nOriginal error:",e)}}function b(e,r,n){return t(this,void 0,void 0,regeneratorRuntime.mark((function t(){var i,o,s,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.prev=0,i=r.apply(void 0,_toConsumableArray(n)),t.next=7;break;case 4:return t.prev=4,t.t0=t.catch(0),t.abrupt("return",m(e,t.t0));case 7:if(o=h(i)?"observable":"promise",y(e,o),!h(i)){t.next=14;break}s=i.subscribe((function(t){return g(e,!1,a.serialize(t))}),(function(t){m(e,a.serialize(t)),u.delete(e)}),(function(){g(e,!0),u.delete(e)})),u.set(e,s),t.next=24;break;case 14:return t.prev=14,t.next=17,i;case 17:l=t.sent,g(e,!0,a.serialize(l)),t.next=24;break;case 21:t.prev=21,t.t1=t.catch(14),m(e,a.serialize(t.t1));case 24:case"end":return t.stop()}}),t,null,[[0,4],[14,21]])})))}e.expose=function(e){if(!s.default.isWorkerRuntime())throw Error("expose() called in the master thread.");if(c)throw Error("expose() called more than once. This is not possible. Pass an object to expose() if you want to expose multiple functions.");if(c=!0,"function"==typeof e)s.default.subscribeToMasterMessages((function(t){d(t)&&!t.method&&b(t.uid,e,t.args.map(a.deserialize))})),t={type:o.WorkerMessageType.init,exposed:{type:"function"}},s.default.postMessageToMaster(t);else{if("object"!==_typeof(e)||!e)throw Error("Invalid argument passed to expose(). Expected a function or an object, got: ".concat(e));s.default.subscribeToMasterMessages((function(t){d(t)&&t.method&&b(t.uid,e[t.method],t.args.map(a.deserialize))})),function(e){var t={type:o.WorkerMessageType.init,exposed:{type:"module",methods:e}};s.default.postMessageToMaster(t)}(Object.keys(e).filter((function(t){return"function"==typeof e[t]})))}var t;s.default.subscribeToMasterMessages((function(e){if((n=e)&&n.type===o.MasterMessageType.cancel){var t=e.uid,r=u.get(t);r&&(r.unsubscribe(),u.delete(t))}var n}))},"undefined"!=typeof self&&"function"==typeof self.addEventListener&&s.default.isWorkerRuntime()&&(self.addEventListener("error",(function(e){setTimeout((function(){return _(e.error||e)}),250)})),self.addEventListener("unhandledrejection",(function(e){var t=e.reason;t&&"string"==typeof t.message&&setTimeout((function(){return _(t)}),250)}))),"undefined"!=typeof process&&"function"==typeof process.on&&s.default.isWorkerRuntime()&&(process.on("uncaughtException",(function(e){setTimeout((function(){return _(e)}),250)})),process.on("unhandledRejection",(function(e){e&&"string"==typeof e.message&&setTimeout((function(){return _(e)}),250)})))}(worker);var WorkerContext=getDefaultExportFromCjs(worker),expose=WorkerContext.expose;WorkerContext.registerSerializer;var Transfer=WorkerContext.Transfer,registry=new Map;function addDecoder(e,t){Array.isArray(e)||(e=[e]),e.forEach((function(e){return registry.set(e,t)}))}function getDecoder(e){return _getDecoder.apply(this,arguments)}function _getDecoder(){return(_getDecoder=_asyncToGenerator(regeneratorRuntime.mark((function e(t){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=registry.get(t.Compression)){e.next=3;break}throw new Error("Unknown compression method identifier: ".concat(t.Compression));case 3:return e.next=5,r();case 5:return n=e.sent,e.abrupt("return",new n(t));case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function decode(e,t){return _decode.apply(this,arguments)}function _decode(){return(_decode=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){var n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,getDecoder(t);case 2:return n=e.sent,e.next=5,n.decode(t,r);case 5:return a=e.sent,e.abrupt("return",Transfer(a));case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function decodeRowAcc(e,t){var r=e.length-t,n=0;do{for(var a=t;a>0;a--)e[n+t]+=e[n],n++;r-=t}while(r>0)}function decodeRowFloatingPoint(e,t,r){for(var n=0,a=e.length,i=a/r;a>t;){for(var o=t;o>0;--o)e[n+t]+=e[n],++n;a-=t}for(var s=e.slice(),l=0;l<i;++l)for(var f=0;f<r;++f)e[r*l+f]=s[(r-f-1)*i+l]}function applyPredictor(e,t,r,n,a,i){if(!t||1===t)return e;for(var o=0;o<a.length;++o){if(a[o]%8!=0)throw new Error("When decoding with predictor, only multiple of 8 bits are supported.");if(a[o]!==a[0])throw new Error("When decoding with predictor, all samples must have the same size.")}for(var s=a[0]/8,l=2===i?1:a.length,f=0;f<n&&!(f*l*r*s>=e.byteLength);++f){var c=void 0;if(2===t){switch(a[0]){case 8:c=new Uint8Array(e,f*l*r*s,l*r*s);break;case 16:c=new Uint16Array(e,f*l*r*s,l*r*s/2);break;case 32:c=new Uint32Array(e,f*l*r*s,l*r*s/4);break;default:throw new Error("Predictor 2 not allowed with ".concat(a[0]," bits per sample."))}decodeRowAcc(c,l)}else 3===t&&decodeRowFloatingPoint(c=new Uint8Array(e,f*l*r*s,l*r*s),l,s)}return e}addDecoder([void 0,1],(function(){return Promise.resolve().then((function(){return raw})).then((function(e){return e.default}))})),addDecoder(5,(function(){return Promise.resolve().then((function(){return lzw})).then((function(e){return e.default}))})),addDecoder(6,(function(){throw new Error("old style JPEG compression is not supported.")})),addDecoder(7,(function(){return Promise.resolve().then((function(){return jpeg})).then((function(e){return e.default}))})),addDecoder([8,32946],(function(){return Promise.resolve().then((function(){return deflate})).then((function(e){return e.default}))})),addDecoder(32773,(function(){return Promise.resolve().then((function(){return packbits})).then((function(e){return e.default}))})),addDecoder(34887,(function(){return Promise.resolve().then((function(){return lerc})).then((function(e){return e.default}))})),expose(decode);var BaseDecoder=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"decode",value:function(){var e=_asyncToGenerator(regeneratorRuntime.mark((function e(t,r){var n,a,i,o,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.decodeBlock(r);case 2:if(n=e.sent,1===(a=t.Predictor||1)){e.next=9;break}return i=!t.StripOffsets,o=i?t.TileWidth:t.ImageWidth,s=i?t.TileLength:t.RowsPerStrip||t.ImageLength,e.abrupt("return",applyPredictor(n,a,o,s,t.BitsPerSample,t.PlanarConfiguration));case 9:return e.abrupt("return",n);case 10:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()}]),e}(),RawDecoder=function(e){_inherits(r,BaseDecoder);var t=_createSuper(r);function r(){return _classCallCheck(this,r),t.apply(this,arguments)}return _createClass(r,[{key:"decodeBlock",value:function(e){return e}}]),r}(),raw=Object.freeze({__proto__:null,default:RawDecoder}),MIN_BITS=9,CLEAR_CODE=256,EOI_CODE=257,MAX_BYTELENGTH=12;function getByte(e,t,r){var n=t%8,a=Math.floor(t/8),i=8-n,o=t+r-8*(a+1),s=8*(a+2)-(t+r),l=8*(a+2)-t;if(s=Math.max(0,s),a>=e.length)return console.warn("ran off the end of the buffer before finding EOI_CODE (end on input code)"),EOI_CODE;var f=e[a]&Math.pow(2,8-n)-1,c=f<<=r-i;if(a+1<e.length){var u=e[a+1]>>>s;c+=u<<=Math.max(0,r-l)}if(o>8&&a+2<e.length){var d=8*(a+3)-(t+r);c+=e[a+2]>>>d}return c}function appendReversed(e,t){for(var r=t.length-1;r>=0;r--)e.push(t[r]);return e}function decompress(e){for(var t=new Uint16Array(4093),r=new Uint8Array(4093),n=0;n<=257;n++)t[n]=4096,r[n]=n;var a=258,i=MIN_BITS,o=0;function s(){a=258,i=MIN_BITS}function l(e){var t=getByte(e,o,i);return o+=i,t}function f(e,n){return r[a]=n,t[a]=e,++a-1}function c(e){for(var n=[],a=e;4096!==a;a=t[a])n.push(r[a]);return n}var u=[];s();for(var d,h=new Uint8Array(e),p=l(h);p!==EOI_CODE;){if(p===CLEAR_CODE){for(s(),p=l(h);p===CLEAR_CODE;)p=l(h);if(p===EOI_CODE)break;if(p>CLEAR_CODE)throw new Error("corrupted code at scanline ".concat(p));appendReversed(u,c(p)),d=p}else if(p<a){var m=c(p);appendReversed(u,m),f(d,m[m.length-1]),d=p}else{var g=c(d);if(!g)throw new Error("Bogus entry. Not in dictionary, ".concat(d," / ").concat(a,", position: ").concat(o));appendReversed(u,g),u.push(g[g.length-1]),f(d,g[g.length-1]),d=p}a+1>=Math.pow(2,i)&&(i===MAX_BYTELENGTH?d=void 0:i++),p=l(h)}return new Uint8Array(u)}var LZWDecoder=function(e){_inherits(r,BaseDecoder);var t=_createSuper(r);function r(){return _classCallCheck(this,r),t.apply(this,arguments)}return _createClass(r,[{key:"decodeBlock",value:function(e){return decompress(e).buffer}}]),r}(),lzw=Object.freeze({__proto__:null,default:LZWDecoder}),dctZigZag=new Int32Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),dctCos1=4017,dctSin1=799,dctCos3=3406,dctSin3=2276,dctCos6=1567,dctSin6=3784,dctSqrt2=5793,dctSqrt1d2=2896;function buildHuffmanTable(e,t){for(var r=0,n=[],a=16;a>0&&!e[a-1];)--a;n.push({children:[],index:0});for(var i,o=n[0],s=0;s<a;s++){for(var l=0;l<e[s];l++){for((o=n.pop()).children[o.index]=t[r];o.index>0;)o=n.pop();for(o.index++,n.push(o);n.length<=s;)n.push(i={children:[],index:0}),o.children[o.index]=i.children,o=i;r++}s+1<a&&(n.push(i={children:[],index:0}),o.children[o.index]=i.children,o=i)}return n[0].children}function decodeScan(e,t,r,n,a,i,o,s,l){var f=r.mcusPerLine,c=r.progressive,u=t,d=t,h=0,p=0;function m(){if(p>0)return p--,h>>p&1;if(255===(h=e[d++])){var t=e[d++];if(t)throw new Error("unexpected marker: ".concat((h<<8|t).toString(16)))}return p=7,h>>>7}function g(e){for(var t,r=e;null!==(t=m());){if("number"==typeof(r=r[t]))return r;if("object"!==_typeof(r))throw new Error("invalid huffman sequence")}return null}function y(e){for(var t=e,r=0;t>0;){var n=m();if(null===n)return;r=r<<1|n,--t}return r}function _(e){var t=y(e);return t>=1<<e-1?t:t+(-1<<e)+1}var b=0;var v,w=0;function k(e,t,r,n,a){var i=r%f,o=(r/f|0)*e.v+n,s=i*e.h+a;t(e,e.blocks[o][s])}function T(e,t,r){var n=r/e.blocksPerLine|0,a=r%e.blocksPerLine;t(e,e.blocks[n][a])}var E,x,S,D,A,M,I=n.length;M=c?0===i?0===s?function(e,t){var r=g(e.huffmanTableDC),n=0===r?0:_(r)<<l;e.pred+=n,t[0]=e.pred}:function(e,t){t[0]|=m()<<l}:0===s?function(e,t){if(b>0)b--;else for(var r=i,n=o;r<=n;){var a=g(e.huffmanTableAC),s=15&a,f=a>>4;if(0===s){if(f<15){b=y(f)+(1<<f)-1;break}r+=16}else t[dctZigZag[r+=f]]=_(s)*(1<<l),r++}}:function(e,t){for(var r=i,n=o,a=0;r<=n;){var s=dctZigZag[r],f=t[s]<0?-1:1;switch(w){case 0:var c=g(e.huffmanTableAC),u=15&c;if(a=c>>4,0===u)a<15?(b=y(a)+(1<<a),w=4):(a=16,w=1);else{if(1!==u)throw new Error("invalid ACn encoding");v=_(u),w=a?2:3}continue;case 1:case 2:t[s]?t[s]+=(m()<<l)*f:0==--a&&(w=2===w?3:0);break;case 3:t[s]?t[s]+=(m()<<l)*f:(t[s]=v<<l,w=0);break;case 4:t[s]&&(t[s]+=(m()<<l)*f)}r++}4===w&&0==--b&&(w=0)}:function(e,t){var r=g(e.huffmanTableDC),n=0===r?0:_(r);e.pred+=n,t[0]=e.pred;for(var a=1;a<64;){var i=g(e.huffmanTableAC),o=15&i,s=i>>4;if(0===o){if(s<15)break;a+=16}else t[dctZigZag[a+=s]]=_(o),a++}};var R,O,C=0;O=1===I?n[0].blocksPerLine*n[0].blocksPerColumn:f*r.mcusPerColumn;for(var P=a||O;C<O;){for(x=0;x<I;x++)n[x].pred=0;if(b=0,1===I)for(E=n[0],A=0;A<P;A++)T(E,M,C),C++;else for(A=0;A<P;A++){for(x=0;x<I;x++){var L=E=n[x],U=L.h,B=L.v;for(S=0;S<B;S++)for(D=0;D<U;D++)k(E,M,C,S,D)}if(++C===O)break}if(p=0,(R=e[d]<<8|e[d+1])<65280)throw new Error("marker was not found");if(!(R>=65488&&R<=65495))break;d+=2}return d-u}function buildComponentData(e,t){var r=[],n=t.blocksPerLine,a=t.blocksPerColumn,i=n<<3,o=new Int32Array(64),s=new Uint8Array(64);function l(e,r,n){var a,i,o,s,l,f,c,u,d,h,p=t.quantizationTable,m=n;for(h=0;h<64;h++)m[h]=e[h]*p[h];for(h=0;h<8;++h){var g=8*h;0!==m[1+g]||0!==m[2+g]||0!==m[3+g]||0!==m[4+g]||0!==m[5+g]||0!==m[6+g]||0!==m[7+g]?(a=dctSqrt2*m[0+g]+128>>8,i=dctSqrt2*m[4+g]+128>>8,o=m[2+g],s=m[6+g],l=dctSqrt1d2*(m[1+g]-m[7+g])+128>>8,u=dctSqrt1d2*(m[1+g]+m[7+g])+128>>8,f=m[3+g]<<4,c=m[5+g]<<4,d=a-i+1>>1,a=a+i+1>>1,i=d,d=o*dctSin6+s*dctCos6+128>>8,o=o*dctCos6-s*dctSin6+128>>8,s=d,d=l-c+1>>1,l=l+c+1>>1,c=d,d=u+f+1>>1,f=u-f+1>>1,u=d,d=a-s+1>>1,a=a+s+1>>1,s=d,d=i-o+1>>1,i=i+o+1>>1,o=d,d=l*dctSin3+u*dctCos3+2048>>12,l=l*dctCos3-u*dctSin3+2048>>12,u=d,d=f*dctSin1+c*dctCos1+2048>>12,f=f*dctCos1-c*dctSin1+2048>>12,c=d,m[0+g]=a+u,m[7+g]=a-u,m[1+g]=i+c,m[6+g]=i-c,m[2+g]=o+f,m[5+g]=o-f,m[3+g]=s+l,m[4+g]=s-l):(d=dctSqrt2*m[0+g]+512>>10,m[0+g]=d,m[1+g]=d,m[2+g]=d,m[3+g]=d,m[4+g]=d,m[5+g]=d,m[6+g]=d,m[7+g]=d)}for(h=0;h<8;++h){var y=h;0!==m[8+y]||0!==m[16+y]||0!==m[24+y]||0!==m[32+y]||0!==m[40+y]||0!==m[48+y]||0!==m[56+y]?(a=dctSqrt2*m[0+y]+2048>>12,i=dctSqrt2*m[32+y]+2048>>12,o=m[16+y],s=m[48+y],l=dctSqrt1d2*(m[8+y]-m[56+y])+2048>>12,u=dctSqrt1d2*(m[8+y]+m[56+y])+2048>>12,f=m[24+y],c=m[40+y],d=a-i+1>>1,a=a+i+1>>1,i=d,d=o*dctSin6+s*dctCos6+2048>>12,o=o*dctCos6-s*dctSin6+2048>>12,s=d,d=l-c+1>>1,l=l+c+1>>1,c=d,d=u+f+1>>1,f=u-f+1>>1,u=d,d=a-s+1>>1,a=a+s+1>>1,s=d,d=i-o+1>>1,i=i+o+1>>1,o=d,d=l*dctSin3+u*dctCos3+2048>>12,l=l*dctCos3-u*dctSin3+2048>>12,u=d,d=f*dctSin1+c*dctCos1+2048>>12,f=f*dctCos1-c*dctSin1+2048>>12,c=d,m[0+y]=a+u,m[56+y]=a-u,m[8+y]=i+c,m[48+y]=i-c,m[16+y]=o+f,m[40+y]=o-f,m[24+y]=s+l,m[32+y]=s-l):(d=dctSqrt2*n[h+0]+8192>>14,m[0+y]=d,m[8+y]=d,m[16+y]=d,m[24+y]=d,m[32+y]=d,m[40+y]=d,m[48+y]=d,m[56+y]=d)}for(h=0;h<64;++h){var _=128+(m[h]+8>>4);r[h]=_<0?0:_>255?255:_}}for(var f=0;f<a;f++){for(var c=f<<3,u=0;u<8;u++)r.push(new Uint8Array(i));for(var d=0;d<n;d++){l(t.blocks[f][d],s,o);for(var h=0,p=d<<3,m=0;m<8;m++)for(var g=r[c+m],y=0;y<8;y++)g[p+y]=s[h++]}}return r}var JpegStreamReader=function(){function e(){_classCallCheck(this,e),this.jfif=null,this.adobe=null,this.quantizationTables=[],this.huffmanTablesAC=[],this.huffmanTablesDC=[],this.resetFrames()}return _createClass(e,[{key:"resetFrames",value:function(){this.frames=[]}},{key:"parse",value:function(e){var t=0;function r(){var r=e[t]<<8|e[t+1];return t+=2,r}function n(e){var t,r,n=0,a=0;for(r in e.components)e.components.hasOwnProperty(r)&&(n<(t=e.components[r]).h&&(n=t.h),a<t.v&&(a=t.v));var i=Math.ceil(e.samplesPerLine/8/n),o=Math.ceil(e.scanLines/8/a);for(r in e.components)if(e.components.hasOwnProperty(r)){t=e.components[r];for(var s=Math.ceil(Math.ceil(e.samplesPerLine/8)*t.h/n),l=Math.ceil(Math.ceil(e.scanLines/8)*t.v/a),f=i*t.h,c=o*t.v,u=[],d=0;d<c;d++){for(var h=[],p=0;p<f;p++)h.push(new Int32Array(64));u.push(h)}t.blocksPerLine=s,t.blocksPerColumn=l,t.blocks=u}e.maxH=n,e.maxV=a,e.mcusPerLine=i,e.mcusPerColumn=o}var a,i,o=r();if(65496!==o)throw new Error("SOI not found");for(o=r();65497!==o;){switch(o){case 65280:break;case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:var s=(a=void 0,i=void 0,a=r(),i=e.subarray(t,t+a-2),t+=i.length,i);65504===o&&74===s[0]&&70===s[1]&&73===s[2]&&70===s[3]&&0===s[4]&&(this.jfif={version:{major:s[5],minor:s[6]},densityUnits:s[7],xDensity:s[8]<<8|s[9],yDensity:s[10]<<8|s[11],thumbWidth:s[12],thumbHeight:s[13],thumbData:s.subarray(14,14+3*s[12]*s[13])}),65518===o&&65===s[0]&&100===s[1]&&111===s[2]&&98===s[3]&&101===s[4]&&0===s[5]&&(this.adobe={version:s[6],flags0:s[7]<<8|s[8],flags1:s[9]<<8|s[10],transformCode:s[11]});break;case 65499:for(var l=r()+t-2;t<l;){var f=e[t++],c=new Int32Array(64);if(f>>4==0)for(var u=0;u<64;u++){c[dctZigZag[u]]=e[t++]}else{if(f>>4!=1)throw new Error("DQT: invalid table spec");for(var d=0;d<64;d++){c[dctZigZag[d]]=r()}}this.quantizationTables[15&f]=c}break;case 65472:case 65473:case 65474:r();for(var h={extended:65473===o,progressive:65474===o,precision:e[t++],scanLines:r(),samplesPerLine:r(),components:{},componentsOrder:[]},p=e[t++],m=void 0,g=0;g<p;g++){m=e[t];var y=e[t+1]>>4,_=15&e[t+1],b=e[t+2];h.componentsOrder.push(m),h.components[m]={h:y,v:_,quantizationIdx:b},t+=3}n(h),this.frames.push(h);break;case 65476:for(var v=r(),w=2;w<v;){for(var k=e[t++],T=new Uint8Array(16),E=0,x=0;x<16;x++,t++)T[x]=e[t],E+=T[x];for(var S=new Uint8Array(E),D=0;D<E;D++,t++)S[D]=e[t];w+=17+E,k>>4==0?this.huffmanTablesDC[15&k]=buildHuffmanTable(T,S):this.huffmanTablesAC[15&k]=buildHuffmanTable(T,S)}break;case 65501:r(),this.resetInterval=r();break;case 65498:r();for(var A=e[t++],M=[],I=this.frames[0],R=0;R<A;R++){var O=I.components[e[t++]],C=e[t++];O.huffmanTableDC=this.huffmanTablesDC[C>>4],O.huffmanTableAC=this.huffmanTablesAC[15&C],M.push(O)}var P=e[t++],L=e[t++],U=e[t++],B=decodeScan(e,t,I,M,this.resetInterval,P,L,U>>4,15&U);t+=B;break;case 65535:255!==e[t]&&t--;break;default:if(255===e[t-3]&&e[t-2]>=192&&e[t-2]<=254){t-=3;break}throw new Error("unknown JPEG marker ".concat(o.toString(16)))}o=r()}}},{key:"getResult",value:function(){var e=this.frames;if(0===this.frames.length)throw new Error("no frames were decoded");this.frames.length>1&&console.warn("more than one frame is not supported");for(var t=0;t<this.frames.length;t++)for(var r=this.frames[t].components,n=0,a=Object.keys(r);n<a.length;n++){var i=a[n];r[i].quantizationTable=this.quantizationTables[r[i].quantizationIdx],delete r[i].quantizationIdx}for(var o=e[0],s=o.components,l=o.componentsOrder,f=[],c=o.samplesPerLine,u=o.scanLines,d=0;d<l.length;d++){var h=s[l[d]];f.push({lines:buildComponentData(o,h),scaleX:h.h/o.maxH,scaleY:h.v/o.maxV})}for(var p=new Uint8Array(c*u*f.length),m=0,g=0;g<u;++g)for(var y=0;y<c;++y)for(var _=0;_<f.length;++_){var b=f[_];p[m]=b.lines[0|g*b.scaleY][0|y*b.scaleX],++m}return p}}]),e}(),JpegDecoder=function(e){_inherits(r,BaseDecoder);var t=_createSuper(r);function r(e){var n;return _classCallCheck(this,r),(n=t.call(this)).reader=new JpegStreamReader,e.JPEGTables&&n.reader.parse(e.JPEGTables),n}return _createClass(r,[{key:"decodeBlock",value:function(e){return this.reader.resetFrames(),this.reader.parse(new Uint8Array(e)),this.reader.getResult().buffer}}]),r}(),jpeg=Object.freeze({__proto__:null,default:JpegDecoder});function zero$1(e){for(var t=e.length;--t>=0;)e[t]=0}var MIN_MATCH$1=3,MAX_MATCH$1=258,LENGTH_CODES$1=29,LITERALS$1=256,L_CODES$1=LITERALS$1+1+LENGTH_CODES$1,D_CODES$1=30,DIST_CODE_LEN=512,static_ltree=new Array(2*(L_CODES$1+2));zero$1(static_ltree);var static_dtree=new Array(2*D_CODES$1);zero$1(static_dtree);var _dist_code=new Array(DIST_CODE_LEN);zero$1(_dist_code);var _length_code=new Array(MAX_MATCH$1-MIN_MATCH$1+1);zero$1(_length_code);var base_length=new Array(LENGTH_CODES$1);zero$1(base_length);var base_dist=new Array(D_CODES$1);zero$1(base_dist);var adler32=function(e,t,r,n){for(var a=65535&e|0,i=e>>>16&65535|0,o=0;0!==r;){r-=o=r>2e3?2e3:r;do{i=i+(a=a+t[n++]|0)|0}while(--o);a%=65521,i%=65521}return a|i<<16|0},adler32_1=adler32,makeTable=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t},crcTable=new Uint32Array(makeTable()),crc32=function(e,t,r,n){var a=crcTable,i=n+r;e^=-1;for(var o=n;o<i;o++)e=e>>>8^a[255&(e^t[o])];return-1^e},crc32_1=crc32,messages={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},constants$2={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},_has=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!==_typeof(r))throw new TypeError(r+"must be non-object");for(var n in r)_has(r,n)&&(e[n]=r[n])}}return e},flattenChunks=function(e){for(var t=0,r=0,n=e.length;r<n;r++)t+=e[r].length;for(var a=new Uint8Array(t),i=0,o=0,s=e.length;i<s;i++){var l=e[i];a.set(l,o),o+=l.length}return a},common={assign:assign,flattenChunks:flattenChunks},STR_APPLY_UIA_OK=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){STR_APPLY_UIA_OK=!1}for(var _utf8len=new Uint8Array(256),q=0;q<256;q++)_utf8len[q]=q>=252?6:q>=248?5:q>=240?4:q>=224?3:q>=192?2:1;_utf8len[254]=_utf8len[254]=1;var string2buf=function(e){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(e);var t,r,n,a,i,o=e.length,s=0;for(a=0;a<o;a++)55296==(64512&(r=e.charCodeAt(a)))&&a+1<o&&56320==(64512&(n=e.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(n-56320),a++),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=new Uint8Array(s),i=0,a=0;i<s;a++)55296==(64512&(r=e.charCodeAt(a)))&&a+1<o&&56320==(64512&(n=e.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(n-56320),a++),r<128?t[i++]=r:r<2048?(t[i++]=192|r>>>6,t[i++]=128|63&r):r<65536?(t[i++]=224|r>>>12,t[i++]=128|r>>>6&63,t[i++]=128|63&r):(t[i++]=240|r>>>18,t[i++]=128|r>>>12&63,t[i++]=128|r>>>6&63,t[i++]=128|63&r);return t},buf2binstring=function(e,t){if(t<65534&&e.subarray&&STR_APPLY_UIA_OK)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));for(var r="",n=0;n<t;n++)r+=String.fromCharCode(e[n]);return r},buf2string=function(e,t){var r,n,a=t||e.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(e.subarray(0,t));var i=new Array(2*a);for(n=0,r=0;r<a;){var o=e[r++];if(o<128)i[n++]=o;else{var s=_utf8len[o];if(s>4)i[n++]=65533,r+=s-1;else{for(o&=2===s?31:3===s?15:7;s>1&&r<a;)o=o<<6|63&e[r++],s--;s>1?i[n++]=65533:o<65536?i[n++]=o:(o-=65536,i[n++]=55296|o>>10&1023,i[n++]=56320|1023&o)}}}return buf2binstring(i,n)},utf8border=function(e,t){(t=t||e.length)>e.length&&(t=e.length);for(var r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+_utf8len[e[r]]>t?r:t},strings={string2buf:string2buf,buf2string:buf2string,utf8border:utf8border};function ZStream(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var zstream=ZStream,BAD$1=30,TYPE$1=12,inffast=function(e,t){var r,n,a,i,o,s,l,f,c,u,d,h,p,m,g,y,_,b,v,w,k,T,E,x,S=e.state;r=e.next_in,E=e.input,n=r+(e.avail_in-5),a=e.next_out,x=e.output,i=a-(t-e.avail_out),o=a+(e.avail_out-257),s=S.dmax,l=S.wsize,f=S.whave,c=S.wnext,u=S.window,d=S.hold,h=S.bits,p=S.lencode,m=S.distcode,g=(1<<S.lenbits)-1,y=(1<<S.distbits)-1;e:do{h<15&&(d+=E[r++]<<h,h+=8,d+=E[r++]<<h,h+=8),_=p[d&g];t:for(;;){if(d>>>=b=_>>>24,h-=b,0===(b=_>>>16&255))x[a++]=65535&_;else{if(!(16&b)){if(0==(64&b)){_=p[(65535&_)+(d&(1<<b)-1)];continue t}if(32&b){S.mode=TYPE$1;break e}e.msg="invalid literal/length code",S.mode=BAD$1;break e}v=65535&_,(b&=15)&&(h<b&&(d+=E[r++]<<h,h+=8),v+=d&(1<<b)-1,d>>>=b,h-=b),h<15&&(d+=E[r++]<<h,h+=8,d+=E[r++]<<h,h+=8),_=m[d&y];r:for(;;){if(d>>>=b=_>>>24,h-=b,!(16&(b=_>>>16&255))){if(0==(64&b)){_=m[(65535&_)+(d&(1<<b)-1)];continue r}e.msg="invalid distance code",S.mode=BAD$1;break e}if(w=65535&_,h<(b&=15)&&(d+=E[r++]<<h,(h+=8)<b&&(d+=E[r++]<<h,h+=8)),(w+=d&(1<<b)-1)>s){e.msg="invalid distance too far back",S.mode=BAD$1;break e}if(d>>>=b,h-=b,w>(b=a-i)){if((b=w-b)>f&&S.sane){e.msg="invalid distance too far back",S.mode=BAD$1;break e}if(k=0,T=u,0===c){if(k+=l-b,b<v){v-=b;do{x[a++]=u[k++]}while(--b);k=a-w,T=x}}else if(c<b){if(k+=l+c-b,(b-=c)<v){v-=b;do{x[a++]=u[k++]}while(--b);if(k=0,c<v){v-=b=c;do{x[a++]=u[k++]}while(--b);k=a-w,T=x}}}else if(k+=c-b,b<v){v-=b;do{x[a++]=u[k++]}while(--b);k=a-w,T=x}for(;v>2;)x[a++]=T[k++],x[a++]=T[k++],x[a++]=T[k++],v-=3;v&&(x[a++]=T[k++],v>1&&(x[a++]=T[k++]))}else{k=a-w;do{x[a++]=x[k++],x[a++]=x[k++],x[a++]=x[k++],v-=3}while(v>2);v&&(x[a++]=x[k++],v>1&&(x[a++]=x[k++]))}break}}break}}while(r<n&&a<o);r-=v=h>>3,d&=(1<<(h-=v<<3))-1,e.next_in=r,e.next_out=a,e.avail_in=r<n?n-r+5:5-(r-n),e.avail_out=a<o?o-a+257:257-(a-o),S.hold=d,S.bits=h},MAXBITS=15,ENOUGH_LENS$1=852,ENOUGH_DISTS$1=592,CODES$1=0,LENS$1=1,DISTS$1=2,lbase=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),lext=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),dbase=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),dext=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),inflate_table=function(e,t,r,n,a,i,o,s){var l,f,c,u,d,h,p,m,g,y=s.bits,_=0,b=0,v=0,w=0,k=0,T=0,E=0,x=0,S=0,D=0,A=null,M=0,I=new Uint16Array(MAXBITS+1),R=new Uint16Array(MAXBITS+1),O=null,C=0;for(_=0;_<=MAXBITS;_++)I[_]=0;for(b=0;b<n;b++)I[t[r+b]]++;for(k=y,w=MAXBITS;w>=1&&0===I[w];w--);if(k>w&&(k=w),0===w)return a[i++]=20971520,a[i++]=20971520,s.bits=1,0;for(v=1;v<w&&0===I[v];v++);for(k<v&&(k=v),x=1,_=1;_<=MAXBITS;_++)if(x<<=1,(x-=I[_])<0)return-1;if(x>0&&(e===CODES$1||1!==w))return-1;for(R[1]=0,_=1;_<MAXBITS;_++)R[_+1]=R[_]+I[_];for(b=0;b<n;b++)0!==t[r+b]&&(o[R[t[r+b]]++]=b);if(e===CODES$1?(A=O=o,h=19):e===LENS$1?(A=lbase,M-=257,O=lext,C-=257,h=256):(A=dbase,O=dext,h=-1),D=0,b=0,_=v,d=i,T=k,E=0,c=-1,u=(S=1<<k)-1,e===LENS$1&&S>ENOUGH_LENS$1||e===DISTS$1&&S>ENOUGH_DISTS$1)return 1;for(;;){p=_-E,o[b]<h?(m=0,g=o[b]):o[b]>h?(m=O[C+o[b]],g=A[M+o[b]]):(m=96,g=0),l=1<<_-E,v=f=1<<T;do{a[d+(D>>E)+(f-=l)]=p<<24|m<<16|g|0}while(0!==f);for(l=1<<_-1;D&l;)l>>=1;if(0!==l?(D&=l-1,D+=l):D=0,b++,0==--I[_]){if(_===w)break;_=t[r+o[b]]}if(_>k&&(D&u)!==c){for(0===E&&(E=k),d+=v,x=1<<(T=_-E);T+E<w&&!((x-=I[T+E])<=0);)T++,x<<=1;if(S+=1<<T,e===LENS$1&&S>ENOUGH_LENS$1||e===DISTS$1&&S>ENOUGH_DISTS$1)return 1;a[c=D&u]=k<<24|T<<16|d-i|0}}return 0!==D&&(a[d+D]=_-E<<24|64<<16|0),s.bits=k,0},inftrees=inflate_table,CODES=0,LENS=1,DISTS=2,Z_FINISH$1=constants$2.Z_FINISH,Z_BLOCK=constants$2.Z_BLOCK,Z_TREES=constants$2.Z_TREES,Z_OK$1=constants$2.Z_OK,Z_STREAM_END$1=constants$2.Z_STREAM_END,Z_NEED_DICT$1=constants$2.Z_NEED_DICT,Z_STREAM_ERROR$1=constants$2.Z_STREAM_ERROR,Z_DATA_ERROR$1=constants$2.Z_DATA_ERROR,Z_MEM_ERROR$1=constants$2.Z_MEM_ERROR,Z_BUF_ERROR=constants$2.Z_BUF_ERROR,Z_DEFLATED=constants$2.Z_DEFLATED,HEAD=1,FLAGS=2,TIME=3,OS=4,EXLEN=5,EXTRA=6,NAME=7,COMMENT=8,HCRC=9,DICTID=10,DICT=11,TYPE=12,TYPEDO=13,STORED=14,COPY_=15,COPY=16,TABLE=17,LENLENS=18,CODELENS=19,LEN_=20,LEN=21,LENEXT=22,DIST=23,DISTEXT=24,MATCH=25,LIT=26,CHECK=27,LENGTH=28,DONE=29,BAD=30,MEM=31,SYNC=32,ENOUGH_LENS=852,ENOUGH_DISTS=592,MAX_WBITS=15,DEF_WBITS=MAX_WBITS,zswap32=function(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)};function InflateState(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}var inflateResetKeep=function(e){if(!e||!e.state)return Z_STREAM_ERROR$1;var t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=HEAD,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(ENOUGH_LENS),t.distcode=t.distdyn=new Int32Array(ENOUGH_DISTS),t.sane=1,t.back=-1,Z_OK$1},inflateReset=function(e){if(!e||!e.state)return Z_STREAM_ERROR$1;var t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,inflateResetKeep(e)},inflateReset2=function(e,t){var r;if(!e||!e.state)return Z_STREAM_ERROR$1;var n=e.state;return t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?Z_STREAM_ERROR$1:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,inflateReset(e))},inflateInit2=function(e,t){if(!e)return Z_STREAM_ERROR$1;var r=new InflateState;e.state=r,r.window=null;var n=inflateReset2(e,t);return n!==Z_OK$1&&(e.state=null),n},inflateInit=function(e){return inflateInit2(e,DEF_WBITS)},virgin=!0,lenfix,distfix,fixedtables=function(e){if(virgin){lenfix=new Int32Array(512),distfix=new Int32Array(32);for(var t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(inftrees(LENS,e.lens,0,288,lenfix,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;inftrees(DISTS,e.lens,0,32,distfix,0,e.work,{bits:5}),virgin=!1}e.lencode=lenfix,e.lenbits=9,e.distcode=distfix,e.distbits=5},updatewindow=function(e,t,r,n){var a,i=e.state;return null===i.window&&(i.wsize=1<<i.wbits,i.wnext=0,i.whave=0,i.window=new Uint8Array(i.wsize)),n>=i.wsize?(i.window.set(t.subarray(r-i.wsize,r),0),i.wnext=0,i.whave=i.wsize):((a=i.wsize-i.wnext)>n&&(a=n),i.window.set(t.subarray(r-n,r-n+a),i.wnext),(n-=a)?(i.window.set(t.subarray(r-n,r),0),i.wnext=n,i.whave=i.wsize):(i.wnext+=a,i.wnext===i.wsize&&(i.wnext=0),i.whave<i.wsize&&(i.whave+=a))),0},inflate$2=function(e,t){var r,n,a,i,o,s,l,f,c,u,d,h,p,m,g,y,_,b,v,w,k,T,E,x,S=0,D=new Uint8Array(4),A=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return Z_STREAM_ERROR$1;(r=e.state).mode===TYPE&&(r.mode=TYPEDO),o=e.next_out,a=e.output,l=e.avail_out,i=e.next_in,n=e.input,s=e.avail_in,f=r.hold,c=r.bits,u=s,d=l,T=Z_OK$1;e:for(;;)switch(r.mode){case HEAD:if(0===r.wrap){r.mode=TYPEDO;break}for(;c<16;){if(0===s)break e;s--,f+=n[i++]<<c,c+=8}if(2&r.wrap&&35615===f){r.check=0,D[0]=255&f,D[1]=f>>>8&255,r.check=crc32_1(r.check,D,2,0),f=0,c=0,r.mode=FLAGS;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&f)<<8)+(f>>8))%31){e.msg="incorrect header check",r.mode=BAD;break}if((15&f)!==Z_DEFLATED){e.msg="unknown compression method",r.mode=BAD;break}if(c-=4,k=8+(15&(f>>>=4)),0===r.wbits)r.wbits=k;else if(k>r.wbits){e.msg="invalid window size",r.mode=BAD;break}r.dmax=1<<r.wbits,e.adler=r.check=1,r.mode=512&f?DICTID:TYPE,f=0,c=0;break;case FLAGS:for(;c<16;){if(0===s)break e;s--,f+=n[i++]<<c,c+=8}if(r.flags=f,(255&r.flags)!==Z_DEFLATED){e.msg="unknown compression method",r.mode=BAD;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=BAD;break}r.head&&(r.head.text=f>>8&1),512&r.flags&&(D[0]=255&f,D[1]=f>>>8&255,r.check=crc32_1(r.check,D,2,0)),f=0,c=0,r.mode=TIME;case TIME:for(;c<32;){if(0===s)break e;s--,f+=n[i++]<<c,c+=8}r.head&&(r.head.time=f),512&r.flags&&(D[0]=255&f,D[1]=f>>>8&255,D[2]=f>>>16&255,D[3]=f>>>24&255,r.check=crc32_1(r.check,D,4,0)),f=0,c=0,r.mode=OS;case OS:for(;c<16;){if(0===s)break e;s--,f+=n[i++]<<c,c+=8}r.head&&(r.head.xflags=255&f,r.head.os=f>>8),512&r.flags&&(D[0]=255&f,D[1]=f>>>8&255,r.check=crc32_1(r.check,D,2,0)),f=0,c=0,r.mode=EXLEN;case EXLEN:if(1024&r.flags){for(;c<16;){if(0===s)break e;s--,f+=n[i++]<<c,c+=8}r.length=f,r.head&&(r.head.extra_len=f),512&r.flags&&(D[0]=255&f,D[1]=f>>>8&255,r.check=crc32_1(r.check,D,2,0)),f=0,c=0}else r.head&&(r.head.extra=null);r.mode=EXTRA;case EXTRA:if(1024&r.flags&&((h=r.length)>s&&(h=s),h&&(r.head&&(k=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Uint8Array(r.head.extra_len)),r.head.extra.set(n.subarray(i,i+h),k)),512&r.flags&&(r.check=crc32_1(r.check,n,h,i)),s-=h,i+=h,r.length-=h),r.length))break e;r.length=0,r.mode=NAME;case NAME:if(2048&r.flags){if(0===s)break e;h=0;do{k=n[i+h++],r.head&&k&&r.length<65536&&(r.head.name+=String.fromCharCode(k))}while(k&&h<s);if(512&r.flags&&(r.check=crc32_1(r.check,n,h,i)),s-=h,i+=h,k)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=COMMENT;case COMMENT:if(4096&r.flags){if(0===s)break e;h=0;do{k=n[i+h++],r.head&&k&&r.length<65536&&(r.head.comment+=String.fromCharCode(k))}while(k&&h<s);if(512&r.flags&&(r.check=crc32_1(r.check,n,h,i)),s-=h,i+=h,k)break e}else r.head&&(r.head.comment=null);r.mode=HCRC;case HCRC:if(512&r.flags){for(;c<16;){if(0===s)break e;s--,f+=n[i++]<<c,c+=8}if(f!==(65535&r.check)){e.msg="header crc mismatch",r.mode=BAD;break}f=0,c=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=TYPE;break;case DICTID:for(;c<32;){if(0===s)break e;s--,f+=n[i++]<<c,c+=8}e.adler=r.check=zswap32(f),f=0,c=0,r.mode=DICT;case DICT:if(0===r.havedict)return e.next_out=o,e.avail_out=l,e.next_in=i,e.avail_in=s,r.hold=f,r.bits=c,Z_NEED_DICT$1;e.adler=r.check=1,r.mode=TYPE;case TYPE:if(t===Z_BLOCK||t===Z_TREES)break e;case TYPEDO:if(r.last){f>>>=7&c,c-=7&c,r.mode=CHECK;break}for(;c<3;){if(0===s)break e;s--,f+=n[i++]<<c,c+=8}switch(r.last=1&f,c-=1,3&(f>>>=1)){case 0:r.mode=STORED;break;case 1:if(fixedtables(r),r.mode=LEN_,t===Z_TREES){f>>>=2,c-=2;break e}break;case 2:r.mode=TABLE;break;case 3:e.msg="invalid block type",r.mode=BAD}f>>>=2,c-=2;break;case STORED:for(f>>>=7&c,c-=7&c;c<32;){if(0===s)break e;s--,f+=n[i++]<<c,c+=8}if((65535&f)!=(f>>>16^65535)){e.msg="invalid stored block lengths",r.mode=BAD;break}if(r.length=65535&f,f=0,c=0,r.mode=COPY_,t===Z_TREES)break e;case COPY_:r.mode=COPY;case COPY:if(h=r.length){if(h>s&&(h=s),h>l&&(h=l),0===h)break e;a.set(n.subarray(i,i+h),o),s-=h,i+=h,l-=h,o+=h,r.length-=h;break}r.mode=TYPE;break;case TABLE:for(;c<14;){if(0===s)break e;s--,f+=n[i++]<<c,c+=8}if(r.nlen=257+(31&f),f>>>=5,c-=5,r.ndist=1+(31&f),f>>>=5,c-=5,r.ncode=4+(15&f),f>>>=4,c-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=BAD;break}r.have=0,r.mode=LENLENS;case LENLENS:for(;r.have<r.ncode;){for(;c<3;){if(0===s)break e;s--,f+=n[i++]<<c,c+=8}r.lens[A[r.have++]]=7&f,f>>>=3,c-=3}for(;r.have<19;)r.lens[A[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,E={bits:r.lenbits},T=inftrees(CODES,r.lens,0,19,r.lencode,0,r.work,E),r.lenbits=E.bits,T){e.msg="invalid code lengths set",r.mode=BAD;break}r.have=0,r.mode=CODELENS;case CODELENS:for(;r.have<r.nlen+r.ndist;){for(;y=(S=r.lencode[f&(1<<r.lenbits)-1])>>>16&255,_=65535&S,!((g=S>>>24)<=c);){if(0===s)break e;s--,f+=n[i++]<<c,c+=8}if(_<16)f>>>=g,c-=g,r.lens[r.have++]=_;else{if(16===_){for(x=g+2;c<x;){if(0===s)break e;s--,f+=n[i++]<<c,c+=8}if(f>>>=g,c-=g,0===r.have){e.msg="invalid bit length repeat",r.mode=BAD;break}k=r.lens[r.have-1],h=3+(3&f),f>>>=2,c-=2}else if(17===_){for(x=g+3;c<x;){if(0===s)break e;s--,f+=n[i++]<<c,c+=8}c-=g,k=0,h=3+(7&(f>>>=g)),f>>>=3,c-=3}else{for(x=g+7;c<x;){if(0===s)break e;s--,f+=n[i++]<<c,c+=8}c-=g,k=0,h=11+(127&(f>>>=g)),f>>>=7,c-=7}if(r.have+h>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=BAD;break}for(;h--;)r.lens[r.have++]=k}}if(r.mode===BAD)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=BAD;break}if(r.lenbits=9,E={bits:r.lenbits},T=inftrees(LENS,r.lens,0,r.nlen,r.lencode,0,r.work,E),r.lenbits=E.bits,T){e.msg="invalid literal/lengths set",r.mode=BAD;break}if(r.distbits=6,r.distcode=r.distdyn,E={bits:r.distbits},T=inftrees(DISTS,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,E),r.distbits=E.bits,T){e.msg="invalid distances set",r.mode=BAD;break}if(r.mode=LEN_,t===Z_TREES)break e;case LEN_:r.mode=LEN;case LEN:if(s>=6&&l>=258){e.next_out=o,e.avail_out=l,e.next_in=i,e.avail_in=s,r.hold=f,r.bits=c,inffast(e,d),o=e.next_out,a=e.output,l=e.avail_out,i=e.next_in,n=e.input,s=e.avail_in,f=r.hold,c=r.bits,r.mode===TYPE&&(r.back=-1);break}for(r.back=0;y=(S=r.lencode[f&(1<<r.lenbits)-1])>>>16&255,_=65535&S,!((g=S>>>24)<=c);){if(0===s)break e;s--,f+=n[i++]<<c,c+=8}if(y&&0==(240&y)){for(b=g,v=y,w=_;y=(S=r.lencode[w+((f&(1<<b+v)-1)>>b)])>>>16&255,_=65535&S,!(b+(g=S>>>24)<=c);){if(0===s)break e;s--,f+=n[i++]<<c,c+=8}f>>>=b,c-=b,r.back+=b}if(f>>>=g,c-=g,r.back+=g,r.length=_,0===y){r.mode=LIT;break}if(32&y){r.back=-1,r.mode=TYPE;break}if(64&y){e.msg="invalid literal/length code",r.mode=BAD;break}r.extra=15&y,r.mode=LENEXT;case LENEXT:if(r.extra){for(x=r.extra;c<x;){if(0===s)break e;s--,f+=n[i++]<<c,c+=8}r.length+=f&(1<<r.extra)-1,f>>>=r.extra,c-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=DIST;case DIST:for(;y=(S=r.distcode[f&(1<<r.distbits)-1])>>>16&255,_=65535&S,!((g=S>>>24)<=c);){if(0===s)break e;s--,f+=n[i++]<<c,c+=8}if(0==(240&y)){for(b=g,v=y,w=_;y=(S=r.distcode[w+((f&(1<<b+v)-1)>>b)])>>>16&255,_=65535&S,!(b+(g=S>>>24)<=c);){if(0===s)break e;s--,f+=n[i++]<<c,c+=8}f>>>=b,c-=b,r.back+=b}if(f>>>=g,c-=g,r.back+=g,64&y){e.msg="invalid distance code",r.mode=BAD;break}r.offset=_,r.extra=15&y,r.mode=DISTEXT;case DISTEXT:if(r.extra){for(x=r.extra;c<x;){if(0===s)break e;s--,f+=n[i++]<<c,c+=8}r.offset+=f&(1<<r.extra)-1,f>>>=r.extra,c-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=BAD;break}r.mode=MATCH;case MATCH:if(0===l)break e;if(h=d-l,r.offset>h){if((h=r.offset-h)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=BAD;break}h>r.wnext?(h-=r.wnext,p=r.wsize-h):p=r.wnext-h,h>r.length&&(h=r.length),m=r.window}else m=a,p=o-r.offset,h=r.length;h>l&&(h=l),l-=h,r.length-=h;do{a[o++]=m[p++]}while(--h);0===r.length&&(r.mode=LEN);break;case LIT:if(0===l)break e;a[o++]=r.length,l--,r.mode=LEN;break;case CHECK:if(r.wrap){for(;c<32;){if(0===s)break e;s--,f|=n[i++]<<c,c+=8}if(d-=l,e.total_out+=d,r.total+=d,d&&(e.adler=r.check=r.flags?crc32_1(r.check,a,d,o-d):adler32_1(r.check,a,d,o-d)),d=l,(r.flags?f:zswap32(f))!==r.check){e.msg="incorrect data check",r.mode=BAD;break}f=0,c=0}r.mode=LENGTH;case LENGTH:if(r.wrap&&r.flags){for(;c<32;){if(0===s)break e;s--,f+=n[i++]<<c,c+=8}if(f!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=BAD;break}f=0,c=0}r.mode=DONE;case DONE:T=Z_STREAM_END$1;break e;case BAD:T=Z_DATA_ERROR$1;break e;case MEM:return Z_MEM_ERROR$1;case SYNC:default:return Z_STREAM_ERROR$1}return e.next_out=o,e.avail_out=l,e.next_in=i,e.avail_in=s,r.hold=f,r.bits=c,(r.wsize||d!==e.avail_out&&r.mode<BAD&&(r.mode<CHECK||t!==Z_FINISH$1))&&updatewindow(e,e.output,e.next_out,d-e.avail_out),u-=e.avail_in,d-=e.avail_out,e.total_in+=u,e.total_out+=d,r.total+=d,r.wrap&&d&&(e.adler=r.check=r.flags?crc32_1(r.check,a,d,e.next_out-d):adler32_1(r.check,a,d,e.next_out-d)),e.data_type=r.bits+(r.last?64:0)+(r.mode===TYPE?128:0)+(r.mode===LEN_||r.mode===COPY_?256:0),(0===u&&0===d||t===Z_FINISH$1)&&T===Z_OK$1&&(T=Z_BUF_ERROR),T},inflateEnd=function(e){if(!e||!e.state)return Z_STREAM_ERROR$1;var t=e.state;return t.window&&(t.window=null),e.state=null,Z_OK$1},inflateGetHeader=function(e,t){if(!e||!e.state)return Z_STREAM_ERROR$1;var r=e.state;return 0==(2&r.wrap)?Z_STREAM_ERROR$1:(r.head=t,t.done=!1,Z_OK$1)},inflateSetDictionary=function(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&r.mode!==DICT?Z_STREAM_ERROR$1:r.mode===DICT&&adler32_1(1,t,n,0)!==r.check?Z_DATA_ERROR$1:updatewindow(e,t,n,n)?(r.mode=MEM,Z_MEM_ERROR$1):(r.havedict=1,Z_OK$1):Z_STREAM_ERROR$1},inflateReset_1=inflateReset,inflateReset2_1=inflateReset2,inflateResetKeep_1=inflateResetKeep,inflateInit_1=inflateInit,inflateInit2_1=inflateInit2,inflate_2$1=inflate$2,inflateEnd_1=inflateEnd,inflateGetHeader_1=inflateGetHeader,inflateSetDictionary_1=inflateSetDictionary,inflateInfo="pako inflate (from Nodeca project)",inflate_1$2={inflateReset:inflateReset_1,inflateReset2:inflateReset2_1,inflateResetKeep:inflateResetKeep_1,inflateInit:inflateInit_1,inflateInit2:inflateInit2_1,inflate:inflate_2$1,inflateEnd:inflateEnd_1,inflateGetHeader:inflateGetHeader_1,inflateSetDictionary:inflateSetDictionary_1,inflateInfo:inflateInfo};function GZheader(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var gzheader=GZheader,toString=Object.prototype.toString,Z_NO_FLUSH=constants$2.Z_NO_FLUSH,Z_FINISH=constants$2.Z_FINISH,Z_OK=constants$2.Z_OK,Z_STREAM_END=constants$2.Z_STREAM_END,Z_NEED_DICT=constants$2.Z_NEED_DICT,Z_STREAM_ERROR=constants$2.Z_STREAM_ERROR,Z_DATA_ERROR=constants$2.Z_DATA_ERROR,Z_MEM_ERROR=constants$2.Z_MEM_ERROR;function Inflate$1(e){this.options=common.assign({chunkSize:65536,windowBits:15,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new zstream,this.strm.avail_out=0;var r=inflate_1$2.inflateInit2(this.strm,t.windowBits);if(r!==Z_OK)throw new Error(messages[r]);if(this.header=new gzheader,inflate_1$2.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=strings.string2buf(t.dictionary):"[object ArrayBuffer]"===toString.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=inflate_1$2.inflateSetDictionary(this.strm,t.dictionary))!==Z_OK))throw new Error(messages[r])}function inflate$1(e,t){var r=new Inflate$1(t);if(r.push(e),r.err)throw r.msg||messages[r.err];return r.result}function inflateRaw$1(e,t){return(t=t||{}).raw=!0,inflate$1(e,t)}Inflate$1.prototype.push=function(e,t){var r,n,a,i=this.strm,o=this.options.chunkSize,s=this.options.dictionary;if(this.ended)return!1;for(n=t===~~t?t:!0===t?Z_FINISH:Z_NO_FLUSH,"[object ArrayBuffer]"===toString.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;;){for(0===i.avail_out&&(i.output=new Uint8Array(o),i.next_out=0,i.avail_out=o),(r=inflate_1$2.inflate(i,n))===Z_NEED_DICT&&s&&((r=inflate_1$2.inflateSetDictionary(i,s))===Z_OK?r=inflate_1$2.inflate(i,n):r===Z_DATA_ERROR&&(r=Z_NEED_DICT));i.avail_in>0&&r===Z_STREAM_END&&i.state.wrap>0&&0!==e[i.next_in];)inflate_1$2.inflateReset(i),r=inflate_1$2.inflate(i,n);switch(r){case Z_STREAM_ERROR:case Z_DATA_ERROR:case Z_NEED_DICT:case Z_MEM_ERROR:return this.onEnd(r),this.ended=!0,!1}if(a=i.avail_out,i.next_out&&(0===i.avail_out||r===Z_STREAM_END))if("string"===this.options.to){var l=strings.utf8border(i.output,i.next_out),f=i.next_out-l,c=strings.buf2string(i.output,l);i.next_out=f,i.avail_out=o-f,f&&i.output.set(i.output.subarray(l,l+f),0),this.onData(c)}else this.onData(i.output.length===i.next_out?i.output:i.output.subarray(0,i.next_out));if(r!==Z_OK||0!==a){if(r===Z_STREAM_END)return r=inflate_1$2.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,!0;if(0===i.avail_in)break}}return!0},Inflate$1.prototype.onData=function(e){this.chunks.push(e)},Inflate$1.prototype.onEnd=function(e){e===Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=common.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};var Inflate_1$1=Inflate$1,inflate_2=inflate$1,inflateRaw_1$1=inflateRaw$1,ungzip$1=inflate$1,constants=constants$2,inflate_1$1={Inflate:Inflate_1$1,inflate:inflate_2,inflateRaw:inflateRaw_1$1,ungzip:ungzip$1,constants:constants},inflate=inflate_1$1.inflate,inflate_1=inflate,DeflateDecoder=function(e){_inherits(r,BaseDecoder);var t=_createSuper(r);function r(){return _classCallCheck(this,r),t.apply(this,arguments)}return _createClass(r,[{key:"decodeBlock",value:function(e){return inflate_1(new Uint8Array(e)).buffer}}]),r}(),deflate=Object.freeze({__proto__:null,default:DeflateDecoder}),PackbitsDecoder=function(e){_inherits(r,BaseDecoder);var t=_createSuper(r);function r(){return _classCallCheck(this,r),t.apply(this,arguments)}return _createClass(r,[{key:"decodeBlock",value:function(e){for(var t=new DataView(e),r=[],n=0;n<e.byteLength;++n){var a=t.getInt8(n);if(a<0){var i=t.getUint8(n+1);a=-a;for(var o=0;o<=a;++o)r.push(i);n+=1}else{for(var s=0;s<=a;++s)r.push(t.getUint8(n+s+1));n+=a+1}}return new Uint8Array(r).buffer}}]),r}(),packbits=Object.freeze({__proto__:null,default:PackbitsDecoder}),LercDecode={exports:{}},module;module=LercDecode,\n/* Copyright 2015-2021 Esri. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 @preserve */\nfunction(){var e,t,r,n,a,i,o,s,l,f,c,u,d,h,p,m,g=(e={defaultNoDataValue:-34027999387901484e22,decode:function(i,o){var s=(o=o||{}).encodedMaskData||null===o.encodedMaskData,l=a(i,o.inputOffset||0,s),f=null!==o.noDataValue?o.noDataValue:e.defaultNoDataValue,c=t(l,o.pixelType||Float32Array,o.encodedMaskData,f,o.returnMask),u={width:l.width,height:l.height,pixelData:c.resultPixels,minValue:c.minValue,maxValue:l.pixels.maxValue,noDataValue:f};return c.resultMask&&(u.maskData=c.resultMask),o.returnEncodedMask&&l.mask&&(u.encodedMaskData=l.mask.bitset?l.mask.bitset:null),o.returnFileInfo&&(u.fileInfo=r(l),o.computeUsedBitDepths&&(u.fileInfo.bitDepths=n(l))),u}},t=function(e,t,r,n,a){var o,s,l,f=0,c=e.pixels.numBlocksX,u=e.pixels.numBlocksY,d=Math.floor(e.width/c),h=Math.floor(e.height/u),p=2*e.maxZError,m=Number.MAX_VALUE;r=r||(e.mask?e.mask.bitset:null),s=new t(e.width*e.height),a&&r&&(l=new Uint8Array(e.width*e.height));for(var g,y,_=new Float32Array(d*h),b=0;b<=u;b++){var v=b!==u?h:e.height%u;if(0!==v)for(var w=0;w<=c;w++){var k=w!==c?d:e.width%c;if(0!==k){var T,E,x,S,D=b*e.width*h+w*d,A=e.width-k,M=e.pixels.blocks[f];if(M.encoding<2?(0===M.encoding?T=M.rawData:(i(M.stuffedData,M.bitsPerPixel,M.numValidPixels,M.offset,p,_,e.pixels.maxValue),T=_),E=0):x=2===M.encoding?0:M.offset,r)for(y=0;y<v;y++){for(7&D&&(S=r[D>>3],S<<=7&D),g=0;g<k;g++)7&D||(S=r[D>>3]),128&S?(l&&(l[D]=1),m=m>(o=M.encoding<2?T[E++]:x)?o:m,s[D++]=o):(l&&(l[D]=0),s[D++]=n),S<<=1;D+=A}else if(M.encoding<2)for(y=0;y<v;y++){for(g=0;g<k;g++)m=m>(o=T[E++])?o:m,s[D++]=o;D+=A}else for(m=m>x?x:m,y=0;y<v;y++){for(g=0;g<k;g++)s[D++]=x;D+=A}if(1===M.encoding&&E!==M.numValidPixels)throw"Block and Mask do not match";f++}}}return{resultPixels:s,resultMask:l,minValue:m}},r=function(e){return{fileIdentifierString:e.fileIdentifierString,fileVersion:e.fileVersion,imageType:e.imageType,height:e.height,width:e.width,maxZError:e.maxZError,eofOffset:e.eofOffset,mask:e.mask?{numBlocksX:e.mask.numBlocksX,numBlocksY:e.mask.numBlocksY,numBytes:e.mask.numBytes,maxValue:e.mask.maxValue}:null,pixels:{numBlocksX:e.pixels.numBlocksX,numBlocksY:e.pixels.numBlocksY,numBytes:e.pixels.numBytes,maxValue:e.pixels.maxValue,noDataValue:e.noDataValue}}},n=function(e){for(var t=e.pixels.numBlocksX*e.pixels.numBlocksY,r={},n=0;n<t;n++){var a=e.pixels.blocks[n];0===a.encoding?r.float32=!0:1===a.encoding?r[a.bitsPerPixel]=!0:r[0]=!0}return Object.keys(r)},a=function(e,t,r){var n={},a=new Uint8Array(e,t,10);if(n.fileIdentifierString=String.fromCharCode.apply(null,a),"CntZImage"!==n.fileIdentifierString.trim())throw"Unexpected file identifier string: "+n.fileIdentifierString;t+=10;var i=new DataView(e,t,24);if(n.fileVersion=i.getInt32(0,!0),n.imageType=i.getInt32(4,!0),n.height=i.getUint32(8,!0),n.width=i.getUint32(12,!0),n.maxZError=i.getFloat64(16,!0),t+=24,!r)if(i=new DataView(e,t,16),n.mask={},n.mask.numBlocksY=i.getUint32(0,!0),n.mask.numBlocksX=i.getUint32(4,!0),n.mask.numBytes=i.getUint32(8,!0),n.mask.maxValue=i.getFloat32(12,!0),t+=16,n.mask.numBytes>0){var o=new Uint8Array(Math.ceil(n.width*n.height/8)),s=(i=new DataView(e,t,n.mask.numBytes)).getInt16(0,!0),l=2,f=0;do{if(s>0)for(;s--;)o[f++]=i.getUint8(l++);else{var c=i.getUint8(l++);for(s=-s;s--;)o[f++]=c}s=i.getInt16(l,!0),l+=2}while(l<n.mask.numBytes);if(-32768!==s||f<o.length)throw"Unexpected end of mask RLE encoding";n.mask.bitset=o,t+=n.mask.numBytes}else 0==(n.mask.numBytes|n.mask.numBlocksY|n.mask.maxValue)&&(n.mask.bitset=new Uint8Array(Math.ceil(n.width*n.height/8)));i=new DataView(e,t,16),n.pixels={},n.pixels.numBlocksY=i.getUint32(0,!0),n.pixels.numBlocksX=i.getUint32(4,!0),n.pixels.numBytes=i.getUint32(8,!0),n.pixels.maxValue=i.getFloat32(12,!0),t+=16;var u=n.pixels.numBlocksX,d=n.pixels.numBlocksY,h=u+(n.width%u>0?1:0),p=d+(n.height%d>0?1:0);n.pixels.blocks=new Array(h*p);for(var m=0,g=0;g<p;g++)for(var y=0;y<h;y++){var _=0,b=e.byteLength-t;i=new DataView(e,t,Math.min(10,b));var v={};n.pixels.blocks[m++]=v;var w=i.getUint8(0);if(_++,v.encoding=63&w,v.encoding>3)throw"Invalid block encoding ("+v.encoding+")";if(2!==v.encoding){if(0!==w&&2!==w){if(w>>=6,v.offsetType=w,2===w)v.offset=i.getInt8(1),_++;else if(1===w)v.offset=i.getInt16(1,!0),_+=2;else{if(0!==w)throw"Invalid block offset type";v.offset=i.getFloat32(1,!0),_+=4}if(1===v.encoding)if(w=i.getUint8(_),_++,v.bitsPerPixel=63&w,w>>=6,v.numValidPixelsType=w,2===w)v.numValidPixels=i.getUint8(_),_++;else if(1===w)v.numValidPixels=i.getUint16(_,!0),_+=2;else{if(0!==w)throw"Invalid valid pixel count type";v.numValidPixels=i.getUint32(_,!0),_+=4}}var k;if(t+=_,3!==v.encoding)if(0===v.encoding){var T=(n.pixels.numBytes-1)/4;if(T!==Math.floor(T))throw"uncompressed block has invalid length";k=new ArrayBuffer(4*T),new Uint8Array(k).set(new Uint8Array(e,t,4*T));var E=new Float32Array(k);v.rawData=E,t+=4*T}else if(1===v.encoding){var x=Math.ceil(v.numValidPixels*v.bitsPerPixel/8),S=Math.ceil(x/4);k=new ArrayBuffer(4*S),new Uint8Array(k).set(new Uint8Array(e,t,x)),v.stuffedData=new Uint32Array(k),t+=x}}else t++}return n.eofOffset=t,n},i=function(e,t,r,n,a,i,o){var s,l,f,c=(1<<t)-1,u=0,d=0,h=Math.ceil((o-n)/a),p=4*e.length-Math.ceil(t*r/8);for(e[e.length-1]<<=8*p,s=0;s<r;s++){if(0===d&&(f=e[u++],d=32),d>=t)l=f>>>d-t&c,d-=t;else{var m=t-d;l=(f&c)<<m&c,l+=(f=e[u++])>>>(d=32-m)}i[s]=l<h?n+l*a:o}return i},e),y=(o=function(e,t,r,n,a,i,o,s){var l,f,c,u,d,h=(1<<r)-1,p=0,m=0,g=4*e.length-Math.ceil(r*n/8);if(e[e.length-1]<<=8*g,a)for(l=0;l<n;l++)0===m&&(c=e[p++],m=32),m>=r?(f=c>>>m-r&h,m-=r):(f=(c&h)<<(u=r-m)&h,f+=(c=e[p++])>>>(m=32-u)),t[l]=a[f];else for(d=Math.ceil((s-i)/o),l=0;l<n;l++)0===m&&(c=e[p++],m=32),m>=r?(f=c>>>m-r&h,m-=r):(f=(c&h)<<(u=r-m)&h,f+=(c=e[p++])>>>(m=32-u)),t[l]=f<d?i+f*o:s},s=function(e,t,r,n,a,i){var o,s=(1<<t)-1,l=0,f=0,c=0,u=0,d=0,h=[],p=4*e.length-Math.ceil(t*r/8);e[e.length-1]<<=8*p;var m=Math.ceil((i-n)/a);for(f=0;f<r;f++)0===u&&(o=e[l++],u=32),u>=t?(d=o>>>u-t&s,u-=t):(d=(o&s)<<(c=t-u)&s,d+=(o=e[l++])>>>(u=32-c)),h[f]=d<m?n+d*a:i;return h.unshift(n),h},l=function(e,t,r,n,a,i,o,s){var l,f,c,u,d=(1<<r)-1,h=0,p=0,m=0;if(a)for(l=0;l<n;l++)0===p&&(c=e[h++],p=32,m=0),p>=r?(f=c>>>m&d,p-=r,m+=r):(f=c>>>m&d,p=32-(u=r-p),f|=((c=e[h++])&(1<<u)-1)<<r-u,m=u),t[l]=a[f];else{var g=Math.ceil((s-i)/o);for(l=0;l<n;l++)0===p&&(c=e[h++],p=32,m=0),p>=r?(f=c>>>m&d,p-=r,m+=r):(f=c>>>m&d,p=32-(u=r-p),f|=((c=e[h++])&(1<<u)-1)<<r-u,m=u),t[l]=f<g?i+f*o:s}return t},f=function(e,t,r,n,a,i){var o,s=(1<<t)-1,l=0,f=0,c=0,u=0,d=0,h=0,p=[],m=Math.ceil((i-n)/a);for(f=0;f<r;f++)0===u&&(o=e[l++],u=32,h=0),u>=t?(d=o>>>h&s,u-=t,h+=t):(d=o>>>h&s,u=32-(c=t-u),d|=((o=e[l++])&(1<<c)-1)<<t-c,h=c),p[f]=d<m?n+d*a:i;return p.unshift(n),p},c=function(e,t,r,n){var a,i,o,s,l=(1<<r)-1,f=0,c=0,u=4*e.length-Math.ceil(r*n/8);for(e[e.length-1]<<=8*u,a=0;a<n;a++)0===c&&(o=e[f++],c=32),c>=r?(i=o>>>c-r&l,c-=r):(i=(o&l)<<(s=r-c)&l,i+=(o=e[f++])>>>(c=32-s)),t[a]=i;return t},u=function(e,t,r,n){var a,i,o,s,l=(1<<r)-1,f=0,c=0,u=0;for(a=0;a<n;a++)0===c&&(o=e[f++],c=32,u=0),c>=r?(i=o>>>u&l,c-=r,u+=r):(i=o>>>u&l,c=32-(s=r-c),i|=((o=e[f++])&(1<<s)-1)<<r-s,u=s),t[a]=i;return t},d={HUFFMAN_LUT_BITS_MAX:12,computeChecksumFletcher32:function(e){for(var t=65535,r=65535,n=e.length,a=Math.floor(n/2),i=0;a;){var o=a>=359?359:a;a-=o;do{t+=e[i++]<<8,r+=t+=e[i++]}while(--o);t=(65535&t)+(t>>>16),r=(65535&r)+(r>>>16)}return 1&n&&(r+=t+=e[i]<<8),((r=(65535&r)+(r>>>16))<<16|(t=(65535&t)+(t>>>16)))>>>0},readHeaderInfo:function(e,t){var r=t.ptr,n=new Uint8Array(e,r,6),a={};if(a.fileIdentifierString=String.fromCharCode.apply(null,n),0!==a.fileIdentifierString.lastIndexOf("Lerc2",0))throw"Unexpected file identifier string (expect Lerc2 ): "+a.fileIdentifierString;r+=6;var i,o=new DataView(e,r,8),s=o.getInt32(0,!0);if(a.fileVersion=s,r+=4,s>=3&&(a.checksum=o.getUint32(4,!0),r+=4),o=new DataView(e,r,12),a.height=o.getUint32(0,!0),a.width=o.getUint32(4,!0),r+=8,s>=4?(a.numDims=o.getUint32(8,!0),r+=4):a.numDims=1,o=new DataView(e,r,40),a.numValidPixel=o.getUint32(0,!0),a.microBlockSize=o.getInt32(4,!0),a.blobSize=o.getInt32(8,!0),a.imageType=o.getInt32(12,!0),a.maxZError=o.getFloat64(16,!0),a.zMin=o.getFloat64(24,!0),a.zMax=o.getFloat64(32,!0),r+=40,t.headerInfo=a,t.ptr=r,s>=3&&(i=s>=4?52:48,this.computeChecksumFletcher32(new Uint8Array(e,r-i,a.blobSize-14))!==a.checksum))throw"Checksum failed.";return!0},checkMinMaxRanges:function(e,t){var r=t.headerInfo,n=this.getDataTypeArray(r.imageType),a=r.numDims*this.getDataTypeSize(r.imageType),i=this.readSubArray(e,t.ptr,n,a),o=this.readSubArray(e,t.ptr+a,n,a);t.ptr+=2*a;var s,l=!0;for(s=0;s<r.numDims;s++)if(i[s]!==o[s]){l=!1;break}return r.minValues=i,r.maxValues=o,l},readSubArray:function(e,t,r,n){var a;if(r===Uint8Array)a=new Uint8Array(e,t,n);else{var i=new ArrayBuffer(n);new Uint8Array(i).set(new Uint8Array(e,t,n)),a=new r(i)}return a},readMask:function(e,t){var r,n,a=t.ptr,i=t.headerInfo,o=i.width*i.height,s=i.numValidPixel,l=new DataView(e,a,4),f={};if(f.numBytes=l.getUint32(0,!0),a+=4,(0===s||o===s)&&0!==f.numBytes)throw"invalid mask";if(0===s)r=new Uint8Array(Math.ceil(o/8)),f.bitset=r,n=new Uint8Array(o),t.pixels.resultMask=n,a+=f.numBytes;else if(f.numBytes>0){r=new Uint8Array(Math.ceil(o/8));var c=(l=new DataView(e,a,f.numBytes)).getInt16(0,!0),u=2,d=0,h=0;do{if(c>0)for(;c--;)r[d++]=l.getUint8(u++);else for(h=l.getUint8(u++),c=-c;c--;)r[d++]=h;c=l.getInt16(u,!0),u+=2}while(u<f.numBytes);if(-32768!==c||d<r.length)throw"Unexpected end of mask RLE encoding";n=new Uint8Array(o);var p=0,m=0;for(m=0;m<o;m++)7&m?(p=r[m>>3],p<<=7&m):p=r[m>>3],128&p&&(n[m]=1);t.pixels.resultMask=n,f.bitset=r,a+=f.numBytes}return t.ptr=a,t.mask=f,!0},readDataOneSweep:function(e,t,r,n){var a,i=t.ptr,o=t.headerInfo,s=o.numDims,l=o.width*o.height,f=o.imageType,c=o.numValidPixel*d.getDataTypeSize(f)*s,u=t.pixels.resultMask;if(r===Uint8Array)a=new Uint8Array(e,i,c);else{var h=new ArrayBuffer(c);new Uint8Array(h).set(new Uint8Array(e,i,c)),a=new r(h)}if(a.length===l*s)t.pixels.resultPixels=n?d.swapDimensionOrder(a,l,s,r,!0):a;else{t.pixels.resultPixels=new r(l*s);var p=0,m=0,g=0,y=0;if(s>1){if(n){for(m=0;m<l;m++)if(u[m])for(y=m,g=0;g<s;g++,y+=l)t.pixels.resultPixels[y]=a[p++]}else for(m=0;m<l;m++)if(u[m])for(y=m*s,g=0;g<s;g++)t.pixels.resultPixels[y+g]=a[p++]}else for(m=0;m<l;m++)u[m]&&(t.pixels.resultPixels[m]=a[p++])}return i+=c,t.ptr=i,!0},readHuffmanTree:function(e,t){var r=this.HUFFMAN_LUT_BITS_MAX,n=new DataView(e,t.ptr,16);if(t.ptr+=16,n.getInt32(0,!0)<2)throw"unsupported Huffman version";var a=n.getInt32(4,!0),i=n.getInt32(8,!0),o=n.getInt32(12,!0);if(i>=o)return!1;var s=new Uint32Array(o-i);d.decodeBits(e,t,s);var l,f,c,u,p=[];for(l=i;l<o;l++)p[f=l-(l<a?0:a)]={first:s[l-i],second:null};var m=e.byteLength-t.ptr,g=Math.ceil(m/4),y=new ArrayBuffer(4*g);new Uint8Array(y).set(new Uint8Array(e,t.ptr,m));var _,b=new Uint32Array(y),v=0,w=0;for(_=b[0],l=i;l<o;l++)(u=p[f=l-(l<a?0:a)].first)>0&&(p[f].second=_<<v>>>32-u,32-v>=u?32===(v+=u)&&(v=0,_=b[++w]):(v+=u-32,_=b[++w],p[f].second|=_>>>32-v));var k=0,T=0,E=new h;for(l=0;l<p.length;l++)void 0!==p[l]&&(k=Math.max(k,p[l].first));T=k>=r?r:k;var x,S,D,A,M,I=[];for(l=i;l<o;l++)if((u=p[f=l-(l<a?0:a)].first)>0)if(x=[u,f],u<=T)for(S=p[f].second<<T-u,D=1<<T-u,c=0;c<D;c++)I[S|c]=x;else for(S=p[f].second,M=E,A=u-1;A>=0;A--)S>>>A&1?(M.right||(M.right=new h),M=M.right):(M.left||(M.left=new h),M=M.left),0!==A||M.val||(M.val=x[1]);return{decodeLut:I,numBitsLUTQick:T,numBitsLUT:k,tree:E,stuffedData:b,srcPtr:w,bitPos:v}},readHuffman:function(e,t,r,n){var a,i,o,s,l,f,c,u,h,p=t.headerInfo.numDims,m=t.headerInfo.height,g=t.headerInfo.width,y=g*m,_=this.readHuffmanTree(e,t),b=_.decodeLut,v=_.tree,w=_.stuffedData,k=_.srcPtr,T=_.bitPos,E=_.numBitsLUTQick,x=_.numBitsLUT,S=0===t.headerInfo.imageType?128:0,D=t.pixels.resultMask,A=0;T>0&&(k++,T=0);var M,I=w[k],R=1===t.encodeMode,O=new r(y*p),C=O;if(p<2||R){for(M=0;M<p;M++)if(p>1&&(C=new r(O.buffer,y*M,y),A=0),t.headerInfo.numValidPixel===g*m)for(u=0,f=0;f<m;f++)for(c=0;c<g;c++,u++){if(i=0,l=s=I<<T>>>32-E,32-T<E&&(l=s|=w[k+1]>>>64-T-E),b[l])i=b[l][1],T+=b[l][0];else for(l=s=I<<T>>>32-x,32-T<x&&(l=s|=w[k+1]>>>64-T-x),a=v,h=0;h<x;h++)if(!(a=s>>>x-h-1&1?a.right:a.left).left&&!a.right){i=a.val,T=T+h+1;break}T>=32&&(T-=32,I=w[++k]),o=i-S,R?(o+=c>0?A:f>0?C[u-g]:A,o&=255,C[u]=o,A=o):C[u]=o}else for(u=0,f=0;f<m;f++)for(c=0;c<g;c++,u++)if(D[u]){if(i=0,l=s=I<<T>>>32-E,32-T<E&&(l=s|=w[k+1]>>>64-T-E),b[l])i=b[l][1],T+=b[l][0];else for(l=s=I<<T>>>32-x,32-T<x&&(l=s|=w[k+1]>>>64-T-x),a=v,h=0;h<x;h++)if(!(a=s>>>x-h-1&1?a.right:a.left).left&&!a.right){i=a.val,T=T+h+1;break}T>=32&&(T-=32,I=w[++k]),o=i-S,R?(c>0&&D[u-1]?o+=A:f>0&&D[u-g]?o+=C[u-g]:o+=A,o&=255,C[u]=o,A=o):C[u]=o}}else for(u=0,f=0;f<m;f++)for(c=0;c<g;c++)if(u=f*g+c,!D||D[u])for(M=0;M<p;M++,u+=y){if(i=0,l=s=I<<T>>>32-E,32-T<E&&(l=s|=w[k+1]>>>64-T-E),b[l])i=b[l][1],T+=b[l][0];else for(l=s=I<<T>>>32-x,32-T<x&&(l=s|=w[k+1]>>>64-T-x),a=v,h=0;h<x;h++)if(!(a=s>>>x-h-1&1?a.right:a.left).left&&!a.right){i=a.val,T=T+h+1;break}T>=32&&(T-=32,I=w[++k]),o=i-S,C[u]=o}t.ptr=t.ptr+4*(k+1)+(T>0?4:0),t.pixels.resultPixels=O,p>1&&!n&&(t.pixels.resultPixels=d.swapDimensionOrder(O,y,p,r))},decodeBits:function(e,t,r,n,a){var i=t.headerInfo,d=i.fileVersion,h=0,p=e.byteLength-t.ptr>=5?5:e.byteLength-t.ptr,m=new DataView(e,t.ptr,p),g=m.getUint8(0);h++;var y=g>>6,_=0===y?4:3-y,b=(32&g)>0,v=31&g,w=0;if(1===_)w=m.getUint8(h),h++;else if(2===_)w=m.getUint16(h,!0),h+=2;else{if(4!==_)throw"Invalid valid pixel count type";w=m.getUint32(h,!0),h+=4}var k,T,E,x,S,D,A,M,I,R=2*i.maxZError,O=i.numDims>1?i.maxValues[a]:i.zMax;if(b){for(t.counter.lut++,M=m.getUint8(h),h++,x=Math.ceil((M-1)*v/8),S=Math.ceil(x/4),T=new ArrayBuffer(4*S),E=new Uint8Array(T),t.ptr+=h,E.set(new Uint8Array(e,t.ptr,x)),A=new Uint32Array(T),t.ptr+=x,I=0;M-1>>>I;)I++;x=Math.ceil(w*I/8),S=Math.ceil(x/4),T=new ArrayBuffer(4*S),(E=new Uint8Array(T)).set(new Uint8Array(e,t.ptr,x)),k=new Uint32Array(T),t.ptr+=x,D=d>=3?f(A,v,M-1,n,R,O):s(A,v,M-1,n,R,O),d>=3?l(k,r,I,w,D):o(k,r,I,w,D)}else t.counter.bitstuffer++,I=v,t.ptr+=h,I>0&&(x=Math.ceil(w*I/8),S=Math.ceil(x/4),T=new ArrayBuffer(4*S),(E=new Uint8Array(T)).set(new Uint8Array(e,t.ptr,x)),k=new Uint32Array(T),t.ptr+=x,d>=3?null==n?u(k,r,I,w):l(k,r,I,w,!1,n,R,O):null==n?c(k,r,I,w):o(k,r,I,w,!1,n,R,O))},readTiles:function(e,t,r,n){var a=t.headerInfo,i=a.width,o=a.height,s=i*o,l=a.microBlockSize,f=a.imageType,c=d.getDataTypeSize(f),u=Math.ceil(i/l),h=Math.ceil(o/l);t.pixels.numBlocksY=h,t.pixels.numBlocksX=u,t.pixels.ptr=0;var p,m,g,y,_,b,v,w,k,T,E=0,x=0,S=0,D=0,A=0,M=0,I=0,R=0,O=0,C=0,P=0,L=0,U=0,B=0,$=0,N=new r(l*l),z=o%l||l,Z=i%l||l,G=a.numDims,j=t.pixels.resultMask,V=t.pixels.resultPixels,F=a.fileVersion>=5?14:15,K=a.zMax;for(S=0;S<h;S++)for(A=S!==h-1?l:z,D=0;D<u;D++)for(C=S*i*l+D*l,P=i-(M=D!==u-1?l:Z),w=0;w<G;w++){if(G>1?(T=V,C=S*i*l+D*l,V=new r(t.pixels.resultPixels.buffer,s*w*c,s),K=a.maxValues[w]):T=null,I=e.byteLength-t.ptr,m={},$=0,R=(p=new DataView(e,t.ptr,Math.min(10,I))).getUint8(0),$++,k=a.fileVersion>=5?4&R:0,O=R>>6&255,(R>>2&F)!=(D*l>>3&F))throw"integrity issue";if(k&&0===w)throw"integrity issue";if((_=3&R)>3)throw t.ptr+=$,"Invalid block encoding ("+_+")";if(2!==_)if(0===_){if(k)throw"integrity issue";if(t.counter.uncompressed++,t.ptr+=$,L=(L=A*M*c)<(U=e.byteLength-t.ptr)?L:U,g=new ArrayBuffer(L%c==0?L:L+c-L%c),new Uint8Array(g).set(new Uint8Array(e,t.ptr,L)),y=new r(g),B=0,j)for(E=0;E<A;E++){for(x=0;x<M;x++)j[C]&&(V[C]=y[B++]),C++;C+=P}else for(E=0;E<A;E++){for(x=0;x<M;x++)V[C++]=y[B++];C+=P}t.ptr+=B*c}else if(b=d.getDataTypeUsed(k&&f<6?4:f,O),v=d.getOnePixel(m,$,b,p),$+=d.getDataTypeSize(b),3===_)if(t.ptr+=$,t.counter.constantoffset++,j)for(E=0;E<A;E++){for(x=0;x<M;x++)j[C]&&(V[C]=k?Math.min(K,T[C]+v):v),C++;C+=P}else for(E=0;E<A;E++){for(x=0;x<M;x++)V[C]=k?Math.min(K,T[C]+v):v,C++;C+=P}else if(t.ptr+=$,d.decodeBits(e,t,N,v,w),$=0,k)if(j)for(E=0;E<A;E++){for(x=0;x<M;x++)j[C]&&(V[C]=N[$++]+T[C]),C++;C+=P}else for(E=0;E<A;E++){for(x=0;x<M;x++)V[C]=N[$++]+T[C],C++;C+=P}else if(j)for(E=0;E<A;E++){for(x=0;x<M;x++)j[C]&&(V[C]=N[$++]),C++;C+=P}else for(E=0;E<A;E++){for(x=0;x<M;x++)V[C++]=N[$++];C+=P}else{if(k)if(j)for(E=0;E<A;E++)for(x=0;x<M;x++)j[C]&&(V[C]=T[C]),C++;else for(E=0;E<A;E++)for(x=0;x<M;x++)V[C]=T[C],C++;t.counter.constant++,t.ptr+=$}}G>1&&!n&&(t.pixels.resultPixels=d.swapDimensionOrder(t.pixels.resultPixels,s,G,r))},formatFileInfo:function(e){return{fileIdentifierString:e.headerInfo.fileIdentifierString,fileVersion:e.headerInfo.fileVersion,imageType:e.headerInfo.imageType,height:e.headerInfo.height,width:e.headerInfo.width,numValidPixel:e.headerInfo.numValidPixel,microBlockSize:e.headerInfo.microBlockSize,blobSize:e.headerInfo.blobSize,maxZError:e.headerInfo.maxZError,pixelType:d.getPixelType(e.headerInfo.imageType),eofOffset:e.eofOffset,mask:e.mask?{numBytes:e.mask.numBytes}:null,pixels:{numBlocksX:e.pixels.numBlocksX,numBlocksY:e.pixels.numBlocksY,maxValue:e.headerInfo.zMax,minValue:e.headerInfo.zMin,noDataValue:e.noDataValue}}},constructConstantSurface:function(e,t){var r=e.headerInfo.zMax,n=e.headerInfo.zMin,a=e.headerInfo.maxValues,i=e.headerInfo.numDims,o=e.headerInfo.height*e.headerInfo.width,s=0,l=0,f=0,c=e.pixels.resultMask,u=e.pixels.resultPixels;if(c)if(i>1){if(t)for(s=0;s<i;s++)for(f=s*o,r=a[s],l=0;l<o;l++)c[l]&&(u[f+l]=r);else for(l=0;l<o;l++)if(c[l])for(f=l*i,s=0;s<i;s++)u[f+i]=a[s]}else for(l=0;l<o;l++)c[l]&&(u[l]=r);else if(i>1&&n!==r)if(t)for(s=0;s<i;s++)for(f=s*o,r=a[s],l=0;l<o;l++)u[f+l]=r;else for(l=0;l<o;l++)for(f=l*i,s=0;s<i;s++)u[f+s]=a[s];else for(l=0;l<o*i;l++)u[l]=r},getDataTypeArray:function(e){var t;switch(e){case 0:t=Int8Array;break;case 1:t=Uint8Array;break;case 2:t=Int16Array;break;case 3:t=Uint16Array;break;case 4:t=Int32Array;break;case 5:t=Uint32Array;break;case 6:t=Float32Array;break;case 7:t=Float64Array;break;default:t=Float32Array}return t},getPixelType:function(e){var t;switch(e){case 0:t="S8";break;case 1:t="U8";break;case 2:t="S16";break;case 3:t="U16";break;case 4:t="S32";break;case 5:t="U32";break;case 6:t="F32";break;case 7:t="F64";break;default:t="F32"}return t},isValidPixelValue:function(e,t){if(null==t)return!1;var r;switch(e){case 0:r=t>=-128&&t<=127;break;case 1:r=t>=0&&t<=255;break;case 2:r=t>=-32768&&t<=32767;break;case 3:r=t>=0&&t<=65536;break;case 4:r=t>=-2147483648&&t<=2147483647;break;case 5:r=t>=0&&t<=4294967296;break;case 6:r=t>=-34027999387901484e22&&t<=34027999387901484e22;break;case 7:r=t>=-17976931348623157e292&&t<=17976931348623157e292;break;default:r=!1}return r},getDataTypeSize:function(e){var t=0;switch(e){case 0:case 1:t=1;break;case 2:case 3:t=2;break;case 4:case 5:case 6:t=4;break;case 7:t=8;break;default:t=e}return t},getDataTypeUsed:function(e,t){var r=e;switch(e){case 2:case 4:r=e-t;break;case 3:case 5:r=e-2*t;break;case 6:r=0===t?e:1===t?2:1;break;case 7:r=0===t?e:e-2*t+1;break;default:r=e}return r},getOnePixel:function(e,t,r,n){var a=0;switch(r){case 0:a=n.getInt8(t);break;case 1:a=n.getUint8(t);break;case 2:a=n.getInt16(t,!0);break;case 3:a=n.getUint16(t,!0);break;case 4:a=n.getInt32(t,!0);break;case 5:a=n.getUInt32(t,!0);break;case 6:a=n.getFloat32(t,!0);break;case 7:a=n.getFloat64(t,!0);break;default:throw"the decoder does not understand this pixel type"}return a},swapDimensionOrder:function(e,t,r,n,a){var i=0,o=0,s=0,l=0,f=e;if(r>1)if(f=new n(t*r),a)for(i=0;i<t;i++)for(l=i,s=0;s<r;s++,l+=t)f[l]=e[o++];else for(i=0;i<t;i++)for(l=i,s=0;s<r;s++,l+=t)f[o++]=e[l];return f}},h=function(e,t,r){this.val=e,this.left=t,this.right=r},{decode:function(e,t){var r=(t=t||{}).noDataValue,n=0,a={};a.ptr=t.inputOffset||0,a.pixels={},d.readHeaderInfo(e,a);var i=a.headerInfo,o=i.fileVersion,s=d.getDataTypeArray(i.imageType);if(o>5)throw"unsupported lerc version 2."+o;d.readMask(e,a),i.numValidPixel===i.width*i.height||a.pixels.resultMask||(a.pixels.resultMask=t.maskData);var l=i.width*i.height;a.pixels.resultPixels=new s(l*i.numDims),a.counter={onesweep:0,uncompressed:0,lut:0,bitstuffer:0,constant:0,constantoffset:0};var f,c=!t.returnPixelInterleavedDims;if(0!==i.numValidPixel)if(i.zMax===i.zMin)d.constructConstantSurface(a,c);else if(o>=4&&d.checkMinMaxRanges(e,a))d.constructConstantSurface(a,c);else{var u=new DataView(e,a.ptr,2),h=u.getUint8(0);if(a.ptr++,h)d.readDataOneSweep(e,a,s,c);else if(o>1&&i.imageType<=1&&Math.abs(i.maxZError-.5)<1e-5){var p=u.getUint8(1);if(a.ptr++,a.encodeMode=p,p>2||o<4&&p>1)throw"Invalid Huffman flag "+p;p?d.readHuffman(e,a,s,c):d.readTiles(e,a,s,c)}else d.readTiles(e,a,s,c)}a.eofOffset=a.ptr,t.inputOffset?(f=a.headerInfo.blobSize+t.inputOffset-a.ptr,Math.abs(f)>=1&&(a.eofOffset=t.inputOffset+a.headerInfo.blobSize)):(f=a.headerInfo.blobSize-a.ptr,Math.abs(f)>=1&&(a.eofOffset=a.headerInfo.blobSize));var m={width:i.width,height:i.height,pixelData:a.pixels.resultPixels,minValue:i.zMin,maxValue:i.zMax,validPixelCount:i.numValidPixel,dimCount:i.numDims,dimStats:{minValues:i.minValues,maxValues:i.maxValues},maskData:a.pixels.resultMask};if(a.pixels.resultMask&&d.isValidPixelValue(i.imageType,r)){var g=a.pixels.resultMask;for(n=0;n<l;n++)g[n]||(m.pixelData[n]=r);m.noDataValue=r}return a.noDataValue=r,t.returnFileInfo&&(m.fileInfo=d.formatFileInfo(a)),m},getBandCount:function(e){for(var t=0,r=0,n={ptr:0,pixels:{}};r<e.byteLength-58;)d.readHeaderInfo(e,n),r+=n.headerInfo.blobSize,t++,n.ptr=r;return t}}),_=(p=new ArrayBuffer(4),m=new Uint8Array(p),new Uint32Array(p)[0]=1,1===m[0]),b={decode:function(e,t){if(!_)throw"Big endian system is not supported.";var r,n,a=(t=t||{}).inputOffset||0,i=new Uint8Array(e,a,10),o=String.fromCharCode.apply(null,i);if("CntZImage"===o.trim())r=g,n=1;else{if("Lerc2"!==o.substring(0,5))throw"Unexpected file identifier string: "+o;r=y,n=2}for(var s,l,f,c,u,d,h=0,p=e.byteLength-10,m=[],b={width:0,height:0,pixels:[],pixelType:t.pixelType,mask:null,statistics:[]},v=0;a<p;){var w=r.decode(e,{inputOffset:a,encodedMaskData:s,maskData:f,returnMask:0===h,returnEncodedMask:0===h,returnFileInfo:!0,returnPixelInterleavedDims:t.returnPixelInterleavedDims,pixelType:t.pixelType||null,noDataValue:t.noDataValue||null});a=w.fileInfo.eofOffset,f=w.maskData,0===h&&(s=w.encodedMaskData,b.width=w.width,b.height=w.height,b.dimCount=w.dimCount||1,b.pixelType=w.pixelType||w.fileInfo.pixelType,b.mask=f),n>1&&(f&&m.push(f),w.fileInfo.mask&&w.fileInfo.mask.numBytes>0&&v++),h++,b.pixels.push(w.pixelData),b.statistics.push({minValue:w.minValue,maxValue:w.maxValue,noDataValue:w.noDataValue,dimStats:w.dimStats})}if(n>1&&v>1){for(d=b.width*b.height,b.bandMasks=m,(f=new Uint8Array(d)).set(m[0]),c=1;c<m.length;c++)for(l=m[c],u=0;u<d;u++)f[u]=f[u]&l[u];b.maskData=f}return b}};module.exports?module.exports=b:this.Lerc=b}();var Lerc=LercDecode.exports,fieldTagNames={315:"Artist",258:"BitsPerSample",265:"CellLength",264:"CellWidth",320:"ColorMap",259:"Compression",33432:"Copyright",306:"DateTime",338:"ExtraSamples",266:"FillOrder",289:"FreeByteCounts",288:"FreeOffsets",291:"GrayResponseCurve",290:"GrayResponseUnit",316:"HostComputer",270:"ImageDescription",257:"ImageLength",256:"ImageWidth",271:"Make",281:"MaxSampleValue",280:"MinSampleValue",272:"Model",254:"NewSubfileType",274:"Orientation",262:"PhotometricInterpretation",284:"PlanarConfiguration",296:"ResolutionUnit",278:"RowsPerStrip",277:"SamplesPerPixel",305:"Software",279:"StripByteCounts",273:"StripOffsets",255:"SubfileType",263:"Threshholding",282:"XResolution",283:"YResolution",326:"BadFaxLines",327:"CleanFaxData",343:"ClipPath",328:"ConsecutiveBadFaxLines",433:"Decode",434:"DefaultImageColor",269:"DocumentName",336:"DotRange",321:"HalftoneHints",346:"Indexed",347:"JPEGTables",285:"PageName",297:"PageNumber",317:"Predictor",319:"PrimaryChromaticities",532:"ReferenceBlackWhite",339:"SampleFormat",340:"SMinSampleValue",341:"SMaxSampleValue",559:"StripRowCounts",330:"SubIFDs",292:"T4Options",293:"T6Options",325:"TileByteCounts",323:"TileLength",324:"TileOffsets",322:"TileWidth",301:"TransferFunction",318:"WhitePoint",344:"XClipPathUnits",286:"XPosition",529:"YCbCrCoefficients",531:"YCbCrPositioning",530:"YCbCrSubSampling",345:"YClipPathUnits",287:"YPosition",37378:"ApertureValue",40961:"ColorSpace",36868:"DateTimeDigitized",36867:"DateTimeOriginal",34665:"Exif IFD",36864:"ExifVersion",33434:"ExposureTime",41728:"FileSource",37385:"Flash",40960:"FlashpixVersion",33437:"FNumber",42016:"ImageUniqueID",37384:"LightSource",37500:"MakerNote",37377:"ShutterSpeedValue",37510:"UserComment",33723:"IPTC",34675:"ICC Profile",700:"XMP",42112:"GDAL_METADATA",42113:"GDAL_NODATA",34377:"Photoshop",33550:"ModelPixelScale",33922:"ModelTiepoint",34264:"ModelTransformation",34735:"GeoKeyDirectory",34736:"GeoDoubleParams",34737:"GeoAsciiParams",50674:"LercParameters"},fieldTags={};for(var key in fieldTagNames)fieldTagNames.hasOwnProperty(key)&&(fieldTags[fieldTagNames[key]]=parseInt(key,10));fieldTags.BitsPerSample,fieldTags.ExtraSamples,fieldTags.SampleFormat,fieldTags.StripByteCounts,fieldTags.StripOffsets,fieldTags.StripRowCounts,fieldTags.TileByteCounts,fieldTags.TileOffsets,fieldTags.SubIFDs;var fieldTypeNames={1:"BYTE",2:"ASCII",3:"SHORT",4:"LONG",5:"RATIONAL",6:"SBYTE",7:"UNDEFINED",8:"SSHORT",9:"SLONG",10:"SRATIONAL",11:"FLOAT",12:"DOUBLE",13:"IFD",16:"LONG8",17:"SLONG8",18:"IFD8"},fieldTypes={};for(var _key in fieldTypeNames)fieldTypeNames.hasOwnProperty(_key)&&(fieldTypes[fieldTypeNames[_key]]=parseInt(_key,10));var LercParameters={Version:0,AddCompression:1},LercAddCompression={None:0,Deflate:1},geoKeyNames={1024:"GTModelTypeGeoKey",1025:"GTRasterTypeGeoKey",1026:"GTCitationGeoKey",2048:"GeographicTypeGeoKey",2049:"GeogCitationGeoKey",2050:"GeogGeodeticDatumGeoKey",2051:"GeogPrimeMeridianGeoKey",2052:"GeogLinearUnitsGeoKey",2053:"GeogLinearUnitSizeGeoKey",2054:"GeogAngularUnitsGeoKey",2055:"GeogAngularUnitSizeGeoKey",2056:"GeogEllipsoidGeoKey",2057:"GeogSemiMajorAxisGeoKey",2058:"GeogSemiMinorAxisGeoKey",2059:"GeogInvFlatteningGeoKey",2060:"GeogAzimuthUnitsGeoKey",2061:"GeogPrimeMeridianLongGeoKey",2062:"GeogTOWGS84GeoKey",3072:"ProjectedCSTypeGeoKey",3073:"PCSCitationGeoKey",3074:"ProjectionGeoKey",3075:"ProjCoordTransGeoKey",3076:"ProjLinearUnitsGeoKey",3077:"ProjLinearUnitSizeGeoKey",3078:"ProjStdParallel1GeoKey",3079:"ProjStdParallel2GeoKey",3080:"ProjNatOriginLongGeoKey",3081:"ProjNatOriginLatGeoKey",3082:"ProjFalseEastingGeoKey",3083:"ProjFalseNorthingGeoKey",3084:"ProjFalseOriginLongGeoKey",3085:"ProjFalseOriginLatGeoKey",3086:"ProjFalseOriginEastingGeoKey",3087:"ProjFalseOriginNorthingGeoKey",3088:"ProjCenterLongGeoKey",3089:"ProjCenterLatGeoKey",3090:"ProjCenterEastingGeoKey",3091:"ProjCenterNorthingGeoKey",3092:"ProjScaleAtNatOriginGeoKey",3093:"ProjScaleAtCenterGeoKey",3094:"ProjAzimuthAngleGeoKey",3095:"ProjStraightVertPoleLongGeoKey",3096:"ProjRectifiedGridAngleGeoKey",4096:"VerticalCSTypeGeoKey",4097:"VerticalCitationGeoKey",4098:"VerticalDatumGeoKey",4099:"VerticalUnitsGeoKey"},geoKeys={};for(var _key2 in geoKeyNames)geoKeyNames.hasOwnProperty(_key2)&&(geoKeys[geoKeyNames[_key2]]=parseInt(_key2,10));var LercDecoder=function(e){_inherits(r,BaseDecoder);var t=_createSuper(r);function r(e){var n;return _classCallCheck(this,r),(n=t.call(this)).planarConfiguration=void 0!==e.PlanarConfiguration?e.PlanarConfiguration:1,n.samplesPerPixel=void 0!==e.SamplesPerPixel?e.SamplesPerPixel:1,n.addCompression=e.LercParameters[LercParameters.AddCompression],n}return _createClass(r,[{key:"decodeBlock",value:function(e){switch(this.addCompression){case LercAddCompression.None:break;case LercAddCompression.Deflate:e=inflate_1(new Uint8Array(e)).buffer;break;default:throw new Error("Unsupported LERC additional compression method identifier: ".concat(this.addCompression))}return Lerc.decode(e,{returnPixelInterleavedDims:1===this.planarConfiguration}).pixels[0].buffer}}]),r}(),lerc=Object.freeze({__proto__:null,default:LercDecoder});'],{type:"application/javascript"}),n=URL.createObjectURL(r);function i(){return new Worker(n)}},"./node_modules/ol/worker/webgl.js":function(e,t,o){"use strict";o.r(t),o.d(t,"create",(function(){return i}));var r=new Blob(['var e="function"==typeof Object.assign?Object.assign:function(e,n){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1,o=arguments.length;r<o;++r){var i=arguments[r];if(null!=i)for(var f in i)i.hasOwnProperty(f)&&(t[f]=i[f])}return t},n="GENERATE_BUFFERS",t=[],r={vertexPosition:0,indexPosition:0};function o(e,n,t,r,o){e[n+0]=t,e[n+1]=r,e[n+2]=o}function i(e,n,i,f,s,u){var a=3+s,l=e[n+0],v=e[n+1],c=t;c.length=s;for(var g=0;g<c.length;g++)c[g]=e[n+2+g];var b=u?u.vertexPosition:0,h=u?u.indexPosition:0,d=b/a;return o(i,b,l,v,0),c.length&&i.set(c,b+3),o(i,b+=a,l,v,1),c.length&&i.set(c,b+3),o(i,b+=a,l,v,2),c.length&&i.set(c,b+3),o(i,b+=a,l,v,3),c.length&&i.set(c,b+3),b+=a,f[h++]=d,f[h++]=d+1,f[h++]=d+3,f[h++]=d+1,f[h++]=d+2,f[h++]=d+3,r.vertexPosition=b,r.indexPosition=h,r}var f=self;f.onmessage=function(t){var r=t.data;if(r.type===n){for(var o=r.customAttributesCount,s=2+o,u=new Float32Array(r.renderInstructions),a=u.length/s,l=4*a*(o+3),v=new Uint32Array(6*a),c=new Float32Array(l),g=null,b=0;b<u.length;b+=s)g=i(u,b,c,v,o,g);var h=e({vertexBuffer:c.buffer,indexBuffer:v.buffer,renderInstructions:u.buffer},r);f.postMessage(h,[c.buffer,v.buffer,u.buffer])}};'],{type:"application/javascript"}),n=URL.createObjectURL(r);function i(){return new Worker(n)}},"./node_modules/ol/xml.js":function(e,t,o){"use strict";o.r(t),o.d(t,"XML_SCHEMA_INSTANCE_URI",(function(){return n})),o.d(t,"createElementNS",(function(){return i})),o.d(t,"getAllTextContent",(function(){return s})),o.d(t,"getAllTextContent_",(function(){return a})),o.d(t,"isDocument",(function(){return l})),o.d(t,"getAttributeNS",(function(){return u})),o.d(t,"parse",(function(){return c})),o.d(t,"makeArrayExtender",(function(){return d})),o.d(t,"makeArrayPusher",(function(){return p})),o.d(t,"makeReplacer",(function(){return h})),o.d(t,"makeObjectPropertyPusher",(function(){return f})),o.d(t,"makeObjectPropertySetter",(function(){return m})),o.d(t,"makeChildAppender",(function(){return g})),o.d(t,"makeArraySerializer",(function(){return y})),o.d(t,"makeSimpleNodeFactory",(function(){return v})),o.d(t,"OBJECT_PROPERTY_NODE_FACTORY",(function(){return _})),o.d(t,"makeSequence",(function(){return b})),o.d(t,"makeStructureNS",(function(){return A})),o.d(t,"parseNode",(function(){return C})),o.d(t,"pushParseAndPop",(function(){return E})),o.d(t,"serialize",(function(){return S})),o.d(t,"pushSerializeAndPop",(function(){return w})),o.d(t,"registerXMLSerializer",(function(){return I})),o.d(t,"getXMLSerializer",(function(){return x})),o.d(t,"registerDocument",(function(){return T})),o.d(t,"getDocument",(function(){return P}));var r=o("./node_modules/ol/array.js"),n="http://www.w3.org/2001/XMLSchema-instance";function i(e,t){return P().createElementNS(e,t)}function s(e,t){return a(e,t,[]).join("")}function a(e,t,o){if(e.nodeType==Node.CDATA_SECTION_NODE||e.nodeType==Node.TEXT_NODE)t?o.push(String(e.nodeValue).replace(/(\r\n|\r|\n)/g,"")):o.push(e.nodeValue);else{var r=void 0;for(r=e.firstChild;r;r=r.nextSibling)a(r,t,o)}return o}function l(e){return"documentElement"in e}function u(e,t,o){return e.getAttributeNS(t,o)||""}function c(e){return(new DOMParser).parseFromString(e,"application/xml")}function d(e,t){return function(o,n){var i=e.call(void 0!==t?t:this,o,n);if(void 0!==i){var s=n[n.length-1];Object(r.extend)(s,i)}}}function p(e,t){return function(o,r){var n=e.call(void 0!==t?t:this,o,r);void 0!==n&&r[r.length-1].push(n)}}function h(e,t){return function(o,r){var n=e.call(void 0!==t?t:this,o,r);void 0!==n&&(r[r.length-1]=n)}}function f(e,t,o){return function(r,n){var i=e.call(void 0!==o?o:this,r,n);if(void 0!==i){var s=n[n.length-1],a=void 0!==t?t:r.localName,l=void 0;a in s?l=s[a]:(l=[],s[a]=l),l.push(i)}}}function m(e,t,o){return function(r,n){var i=e.call(void 0!==o?o:this,r,n);void 0!==i&&(n[n.length-1][void 0!==t?t:r.localName]=i)}}function g(e,t){return function(o,r,n){e.call(void 0!==t?t:this,o,r,n),n[n.length-1].node.appendChild(o)}}function y(e,t){var o,r;return function(t,n,i){if(void 0===o){o={};var s={};s[t.localName]=e,o[t.namespaceURI]=s,r=v(t.localName)}S(o,r,n,i)}}function v(e,t){var o=e;return function(e,r,n){var s=r[r.length-1].node,a=o;return void 0===a&&(a=n),i(void 0!==t?t:s.namespaceURI,a)}}var _=v();function b(e,t){for(var o=t.length,r=new Array(o),n=0;n<o;++n)r[n]=e[t[n]];return r}function A(e,t,o){var r,n,i=void 0!==o?o:{};for(r=0,n=e.length;r<n;++r)i[e[r]]=t;return i}function C(e,t,o,r){var n;for(n=t.firstElementChild;n;n=n.nextElementSibling){var i=e[n.namespaceURI];if(void 0!==i){var s=i[n.localName];void 0!==s&&s.call(r,n,o)}}}function E(e,t,o,r,n){return r.push(e),C(t,o,r,n),r.pop()}function S(e,t,o,r,n,i){for(var s,a,l=(void 0!==n?n:o).length,u=0;u<l;++u)void 0!==(s=o[u])&&void 0!==(a=t.call(void 0!==i?i:this,s,r,void 0!==n?n[u]:void 0))&&e[a.namespaceURI][a.localName].call(i,a,s,r)}function w(e,t,o,r,n,i,s){return n.push(e),S(t,o,r,n,i,s),n.pop()}var O=void 0;function I(e){O=e}function x(){return void 0===O&&"undefined"!=typeof XMLSerializer&&(O=new XMLSerializer),O}var j=void 0;function T(e){j=e}function P(){return void 0===j&&"undefined"!=typeof document&&(j=document.implementation.createDocument("","",null)),j}},"./node_modules/process/browser.js":function(e,t){var o,r,n=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(o===setTimeout)return setTimeout(e,0);if((o===i||!o)&&setTimeout)return o=setTimeout,setTimeout(e,0);try{return o(e,0)}catch(t){try{return o.call(null,e,0)}catch(t){return o.call(this,e,0)}}}!function(){try{o="function"==typeof setTimeout?setTimeout:i}catch(e){o=i}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var l,u=[],c=!1,d=-1;function p(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&h())}function h(){if(!c){var e=a(p);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function m(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var o=1;o<arguments.length;o++)t[o-1]=arguments[o];u.push(new f(e,t)),1!==u.length||c||a(h)},f.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=m,n.addListener=m,n.once=m,n.off=m,n.removeListener=m,n.removeAllListeners=m,n.emit=m,n.prependListener=m,n.prependOnceListener=m,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},"./node_modules/proj4/dist/proj4-src.js":function(e,t,o){e.exports=function(){"use strict";var e=function(e){e("EPSG:4326","+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"),e("EPSG:4269","+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"),e("EPSG:3857","+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"),e.WGS84=e["EPSG:4326"],e["EPSG:3785"]=e["EPSG:3857"],e.GOOGLE=e["EPSG:3857"],e["EPSG:900913"]=e["EPSG:3857"],e["EPSG:102113"]=e["EPSG:3857"]},t=1,o=2,r=3,n=4,i=5,s=6378137,a=6356752.314,l=.0066943799901413165,u=484813681109536e-20,c=Math.PI/2,d=.16666666666666666,p=.04722222222222222,h=.022156084656084655,f=1e-10,m=.017453292519943295,g=57.29577951308232,y=Math.PI/4,v=2*Math.PI,_=3.14159265359,b={greenwich:0,lisbon:-9.131906111111,paris:2.337229166667,bogota:-74.080916666667,madrid:-3.687938888889,rome:12.452333333333,bern:7.439583333333,jakarta:106.807719444444,ferro:-17.666666666667,brussels:4.367975,stockholm:18.058277777778,athens:23.7163375,oslo:10.722916666667},A={ft:{to_meter:.3048},"us-ft":{to_meter:1200/3937}},C=/[\s_\-\/\(\)]/g;function E(e,t){if(e[t])return e[t];for(var o,r=Object.keys(e),n=t.toLowerCase().replace(C,""),i=-1;++i<r.length;)if((o=r[i]).toLowerCase().replace(C,"")===n)return e[o]}var S=function(e){var t,o,r,n={},i=e.split("+").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var o=t.split("=");return o.push(!0),e[o[0].toLowerCase()]=o[1],e}),{}),s={proj:"projName",datum:"datumCode",rf:function(e){n.rf=parseFloat(e)},lat_0:function(e){n.lat0=e*m},lat_1:function(e){n.lat1=e*m},lat_2:function(e){n.lat2=e*m},lat_ts:function(e){n.lat_ts=e*m},lon_0:function(e){n.long0=e*m},lon_1:function(e){n.long1=e*m},lon_2:function(e){n.long2=e*m},alpha:function(e){n.alpha=parseFloat(e)*m},gamma:function(e){n.rectified_grid_angle=parseFloat(e)},lonc:function(e){n.longc=e*m},x_0:function(e){n.x0=parseFloat(e)},y_0:function(e){n.y0=parseFloat(e)},k_0:function(e){n.k0=parseFloat(e)},k:function(e){n.k0=parseFloat(e)},a:function(e){n.a=parseFloat(e)},b:function(e){n.b=parseFloat(e)},r_a:function(){n.R_A=!0},zone:function(e){n.zone=parseInt(e,10)},south:function(){n.utmSouth=!0},towgs84:function(e){n.datum_params=e.split(",").map((function(e){return parseFloat(e)}))},to_meter:function(e){n.to_meter=parseFloat(e)},units:function(e){n.units=e;var t=E(A,e);t&&(n.to_meter=t.to_meter)},from_greenwich:function(e){n.from_greenwich=e*m},pm:function(e){var t=E(b,e);n.from_greenwich=(t||parseFloat(e))*m},nadgrids:function(e){"@null"===e?n.datumCode="none":n.nadgrids=e},axis:function(e){var t="ewnsud";3===e.length&&-1!==t.indexOf(e.substr(0,1))&&-1!==t.indexOf(e.substr(1,1))&&-1!==t.indexOf(e.substr(2,1))&&(n.axis=e)},approx:function(){n.approx=!0}};for(t in i)o=i[t],t in s?"function"==typeof(r=s[t])?r(o):n[r]=o:n[t]=o;return"string"==typeof n.datumCode&&"WGS84"!==n.datumCode&&(n.datumCode=n.datumCode.toLowerCase()),n},w=1,O=2,I=3,x=4,j=5,T=-1,P=/\s/,M=/[A-Za-z]/,R=/[A-Za-z84]/,L=/[,\]]/,k=/[\d\.E\-\+]/;function N(e){if("string"!=typeof e)throw new Error("not a string");this.text=e.trim(),this.level=0,this.place=0,this.root=null,this.stack=[],this.currentObject=null,this.state=w}function D(e){return new N(e).output()}function G(e,t,o){Array.isArray(t)&&(o.unshift(t),t=null);var r=t?{}:e,n=o.reduce((function(e,t){return F(t,e),e}),r);t&&(e[t]=n)}function F(e,t){if(Array.isArray(e)){var o=e.shift();if("PARAMETER"===o&&(o=e.shift()),1===e.length)return Array.isArray(e[0])?(t[o]={},void F(e[0],t[o])):void(t[o]=e[0]);if(e.length)if("TOWGS84"!==o){if("AXIS"===o)return o in t||(t[o]=[]),void t[o].push(e);var r;switch(Array.isArray(o)||(t[o]={}),o){case"UNIT":case"PRIMEM":case"VERT_DATUM":return t[o]={name:e[0].toLowerCase(),convert:e[1]},void(3===e.length&&F(e[2],t[o]));case"SPHEROID":case"ELLIPSOID":return t[o]={name:e[0],a:e[1],rf:e[2]},void(4===e.length&&F(e[3],t[o]));case"PROJECTEDCRS":case"PROJCRS":case"GEOGCS":case"GEOCCS":case"PROJCS":case"LOCAL_CS":case"GEODCRS":case"GEODETICCRS":case"GEODETICDATUM":case"EDATUM":case"ENGINEERINGDATUM":case"VERT_CS":case"VERTCRS":case"VERTICALCRS":case"COMPD_CS":case"COMPOUNDCRS":case"ENGINEERINGCRS":case"ENGCRS":case"FITTED_CS":case"LOCAL_DATUM":case"DATUM":return e[0]=["name",e[0]],void G(t,o,e);default:for(r=-1;++r<e.length;)if(!Array.isArray(e[r]))return F(e,t[o]);return G(t,o,e)}}else t[o]=e;else t[o]=!0}else t[e]=!0}N.prototype.readCharicter=function(){var e=this.text[this.place++];if(this.state!==x)for(;P.test(e);){if(this.place>=this.text.length)return;e=this.text[this.place++]}switch(this.state){case w:return this.neutral(e);case O:return this.keyword(e);case x:return this.quoted(e);case j:return this.afterquote(e);case I:return this.number(e);case T:return}},N.prototype.afterquote=function(e){if('"'===e)return this.word+='"',void(this.state=x);if(L.test(e))return this.word=this.word.trim(),void this.afterItem(e);throw new Error("havn't handled \""+e+'" in afterquote yet, index '+this.place)},N.prototype.afterItem=function(e){return","===e?(null!==this.word&&this.currentObject.push(this.word),this.word=null,void(this.state=w)):"]"===e?(this.level--,null!==this.word&&(this.currentObject.push(this.word),this.word=null),this.state=w,this.currentObject=this.stack.pop(),void(this.currentObject||(this.state=T))):void 0},N.prototype.number=function(e){if(!k.test(e)){if(L.test(e))return this.word=parseFloat(this.word),void this.afterItem(e);throw new Error("havn't handled \""+e+'" in number yet, index '+this.place)}this.word+=e},N.prototype.quoted=function(e){'"'!==e?this.word+=e:this.state=j},N.prototype.keyword=function(e){if(R.test(e))this.word+=e;else{if("["===e){var t=[];return t.push(this.word),this.level++,null===this.root?this.root=t:this.currentObject.push(t),this.stack.push(this.currentObject),this.currentObject=t,void(this.state=w)}if(!L.test(e))throw new Error("havn't handled \""+e+'" in keyword yet, index '+this.place);this.afterItem(e)}},N.prototype.neutral=function(e){if(M.test(e))return this.word=e,void(this.state=O);if('"'===e)return this.word="",void(this.state=x);if(k.test(e))return this.word=e,void(this.state=I);if(!L.test(e))throw new Error("havn't handled \""+e+'" in neutral yet, index '+this.place);this.afterItem(e)},N.prototype.output=function(){for(;this.place<this.text.length;)this.readCharicter();if(this.state===T)return this.root;throw new Error('unable to parse string "'+this.text+'". State is '+this.state)};var U=.017453292519943295;function B(e,t){var o=t[0],r=t[1];!(o in e)&&r in e&&(e[o]=e[r],3===t.length&&(e[o]=t[2](e[o])))}function z(e){return e*U}function V(e){if("GEOGCS"===e.type?e.projName="longlat":"LOCAL_CS"===e.type?(e.projName="identity",e.local=!0):"object"==typeof e.PROJECTION?e.projName=Object.keys(e.PROJECTION)[0]:e.projName=e.PROJECTION,e.AXIS){for(var t="",o=0,r=e.AXIS.length;o<r;++o){var n=[e.AXIS[o][0].toLowerCase(),e.AXIS[o][1].toLowerCase()];-1!==n[0].indexOf("north")||("y"===n[0]||"lat"===n[0])&&"north"===n[1]?t+="n":-1!==n[0].indexOf("south")||("y"===n[0]||"lat"===n[0])&&"south"===n[1]?t+="s":-1!==n[0].indexOf("east")||("x"===n[0]||"lon"===n[0])&&"east"===n[1]?t+="e":-1===n[0].indexOf("west")&&("x"!==n[0]&&"lon"!==n[0]||"west"!==n[1])||(t+="w")}2===t.length&&(t+="u"),3===t.length&&(e.axis=t)}e.UNIT&&(e.units=e.UNIT.name.toLowerCase(),"metre"===e.units&&(e.units="meter"),e.UNIT.convert&&("GEOGCS"===e.type?e.DATUM&&e.DATUM.SPHEROID&&(e.to_meter=e.UNIT.convert*e.DATUM.SPHEROID.a):e.to_meter=e.UNIT.convert));var i=e.GEOGCS;function s(t){return t*(e.to_meter||1)}"GEOGCS"===e.type&&(i=e),i&&(i.DATUM?e.datumCode=i.DATUM.name.toLowerCase():e.datumCode=i.name.toLowerCase(),"d_"===e.datumCode.slice(0,2)&&(e.datumCode=e.datumCode.slice(2)),"new_zealand_geodetic_datum_1949"!==e.datumCode&&"new_zealand_1949"!==e.datumCode||(e.datumCode="nzgd49"),"wgs_1984"!==e.datumCode&&"world_geodetic_system_1984"!==e.datumCode||("Mercator_Auxiliary_Sphere"===e.PROJECTION&&(e.sphere=!0),e.datumCode="wgs84"),"_ferro"===e.datumCode.slice(-6)&&(e.datumCode=e.datumCode.slice(0,-6)),"_jakarta"===e.datumCode.slice(-8)&&(e.datumCode=e.datumCode.slice(0,-8)),~e.datumCode.indexOf("belge")&&(e.datumCode="rnb72"),i.DATUM&&i.DATUM.SPHEROID&&(e.ellps=i.DATUM.SPHEROID.name.replace("_19","").replace(/[Cc]larke\_18/,"clrk"),"international"===e.ellps.toLowerCase().slice(0,13)&&(e.ellps="intl"),e.a=i.DATUM.SPHEROID.a,e.rf=parseFloat(i.DATUM.SPHEROID.rf,10)),i.DATUM&&i.DATUM.TOWGS84&&(e.datum_params=i.DATUM.TOWGS84),~e.datumCode.indexOf("osgb_1936")&&(e.datumCode="osgb36"),~e.datumCode.indexOf("osni_1952")&&(e.datumCode="osni52"),(~e.datumCode.indexOf("tm65")||~e.datumCode.indexOf("geodetic_datum_of_1965"))&&(e.datumCode="ire65"),"ch1903+"===e.datumCode&&(e.datumCode="ch1903"),~e.datumCode.indexOf("israel")&&(e.datumCode="isr93")),e.b&&!isFinite(e.b)&&(e.b=e.a),[["standard_parallel_1","Standard_Parallel_1"],["standard_parallel_1","Latitude of 1st standard parallel"],["standard_parallel_2","Standard_Parallel_2"],["standard_parallel_2","Latitude of 2nd standard parallel"],["false_easting","False_Easting"],["false_easting","False easting"],["false-easting","Easting at false origin"],["false_northing","False_Northing"],["false_northing","False northing"],["false_northing","Northing at false origin"],["central_meridian","Central_Meridian"],["central_meridian","Longitude of natural origin"],["central_meridian","Longitude of false origin"],["latitude_of_origin","Latitude_Of_Origin"],["latitude_of_origin","Central_Parallel"],["latitude_of_origin","Latitude of natural origin"],["latitude_of_origin","Latitude of false origin"],["scale_factor","Scale_Factor"],["k0","scale_factor"],["latitude_of_center","Latitude_Of_Center"],["latitude_of_center","Latitude_of_center"],["lat0","latitude_of_center",z],["longitude_of_center","Longitude_Of_Center"],["longitude_of_center","Longitude_of_center"],["longc","longitude_of_center",z],["x0","false_easting",s],["y0","false_northing",s],["long0","central_meridian",z],["lat0","latitude_of_origin",z],["lat0","standard_parallel_1",z],["lat1","standard_parallel_1",z],["lat2","standard_parallel_2",z],["azimuth","Azimuth"],["alpha","azimuth",z],["srsCode","name"]].forEach((function(t){return B(e,t)})),e.long0||!e.longc||"Albers_Conic_Equal_Area"!==e.projName&&"Lambert_Azimuthal_Equal_Area"!==e.projName||(e.long0=e.longc),e.lat_ts||!e.lat1||"Stereographic_South_Pole"!==e.projName&&"Polar Stereographic (variant B)"!==e.projName||(e.lat0=z(e.lat1>0?90:-90),e.lat_ts=e.lat1)}var W=function(e){var t=D(e),o=t.shift(),r=t.shift();t.unshift(["name",r]),t.unshift(["type",o]);var n={};return F(t,n),V(n),n};function q(e){var t=this;if(2===arguments.length){var o=arguments[1];"string"==typeof o?"+"===o.charAt(0)?q[e]=S(arguments[1]):q[e]=W(arguments[1]):q[e]=o}else if(1===arguments.length){if(Array.isArray(e))return e.map((function(e){Array.isArray(e)?q.apply(t,e):q(e)}));if("string"==typeof e){if(e in q)return q[e]}else"EPSG"in e?q["EPSG:"+e.EPSG]=e:"ESRI"in e?q["ESRI:"+e.ESRI]=e:"IAU2000"in e?q["IAU2000:"+e.IAU2000]=e:console.log(e);return}}function Y(e){return"string"==typeof e}function H(e){return e in q}e(q);var X=["PROJECTEDCRS","PROJCRS","GEOGCS","GEOCCS","PROJCS","LOCAL_CS","GEODCRS","GEODETICCRS","GEODETICDATUM","ENGCRS","ENGINEERINGCRS"];function Z(e){return X.some((function(t){return e.indexOf(t)>-1}))}var K=["3857","900913","3785","102113"];function J(e){var t=E(e,"authority");if(t){var o=E(t,"epsg");return o&&K.indexOf(o)>-1}}function Q(e){var t=E(e,"extension");if(t)return E(t,"proj4")}function $(e){return"+"===e[0]}function ee(e){if(!Y(e))return e;if(H(e))return q[e];if(Z(e)){var t=W(e);if(J(t))return q["EPSG:3857"];var o=Q(t);return o?S(o):t}return $(e)?S(e):void 0}var te=function(e,t){var o,r;if(e=e||{},!t)return e;for(r in t)void 0!==(o=t[r])&&(e[r]=o);return e},oe=function(e,t,o){var r=e*t;return o/Math.sqrt(1-r*r)},re=function(e){return e<0?-1:1},ne=function(e){return Math.abs(e)<=_?e:e-re(e)*v},ie=function(e,t,o){var r=e*o,n=.5*e;return r=Math.pow((1-r)/(1+r),n),Math.tan(.5*(c-t))/r},se=function(e,t){for(var o,r,n=.5*e,i=c-2*Math.atan(t),s=0;s<=15;s++)if(o=e*Math.sin(i),i+=r=c-2*Math.atan(t*Math.pow((1-o)/(1+o),n))-i,Math.abs(r)<=1e-10)return i;return-9999};function ae(){var e=this.b/this.a;this.es=1-e*e,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.sphere?this.k0=Math.cos(this.lat_ts):this.k0=oe(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k?this.k0=this.k:this.k0=1)}function le(e){var t,o,r=e.x,n=e.y;if(n*g>90&&n*g<-90&&r*g>180&&r*g<-180)return null;if(Math.abs(Math.abs(n)-c)<=f)return null;if(this.sphere)t=this.x0+this.a*this.k0*ne(r-this.long0),o=this.y0+this.a*this.k0*Math.log(Math.tan(y+.5*n));else{var i=Math.sin(n),s=ie(this.e,n,i);t=this.x0+this.a*this.k0*ne(r-this.long0),o=this.y0-this.a*this.k0*Math.log(s)}return e.x=t,e.y=o,e}function ue(e){var t,o,r=e.x-this.x0,n=e.y-this.y0;if(this.sphere)o=c-2*Math.atan(Math.exp(-n/(this.a*this.k0)));else{var i=Math.exp(-n/(this.a*this.k0));if(-9999===(o=se(this.e,i)))return null}return t=ne(this.long0+r/(this.a*this.k0)),e.x=t,e.y=o,e}function ce(){}function de(e){return e}var pe=[{init:ae,forward:le,inverse:ue,names:["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"]},{init:ce,forward:de,inverse:de,names:["longlat","identity"]}],he={},fe=[];function me(e,t){var o=fe.length;return e.names?(fe[o]=e,e.names.forEach((function(e){he[e.toLowerCase()]=o})),this):(console.log(t),!0)}function ge(e){if(!e)return!1;var t=e.toLowerCase();return void 0!==he[t]&&fe[he[t]]?fe[he[t]]:void 0}function ye(){pe.forEach(me)}var ve={start:ye,add:me,get:ge},_e={MERIT:{a:6378137,rf:298.257,ellipseName:"MERIT 1983"},SGS85:{a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"},GRS80:{a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"},IAU76:{a:6378140,rf:298.257,ellipseName:"IAU 1976"},airy:{a:6377563.396,b:6356256.91,ellipseName:"Airy 1830"},APL4:{a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"},NWL9D:{a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"},mod_airy:{a:6377340.189,b:6356034.446,ellipseName:"Modified Airy"},andrae:{a:6377104.43,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"},aust_SA:{a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"},GRS67:{a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"},bessel:{a:6377397.155,rf:299.1528128,ellipseName:"Bessel 1841"},bess_nam:{a:6377483.865,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"},clrk66:{a:6378206.4,b:6356583.8,ellipseName:"Clarke 1866"},clrk80:{a:6378249.145,rf:293.4663,ellipseName:"Clarke 1880 mod."},clrk58:{a:6378293.645208759,rf:294.2606763692654,ellipseName:"Clarke 1858"},CPM:{a:6375738.7,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"},delmbr:{a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"},engelis:{a:6378136.05,rf:298.2566,ellipseName:"Engelis 1985"},evrst30:{a:6377276.345,rf:300.8017,ellipseName:"Everest 1830"},evrst48:{a:6377304.063,rf:300.8017,ellipseName:"Everest 1948"},evrst56:{a:6377301.243,rf:300.8017,ellipseName:"Everest 1956"},evrst69:{a:6377295.664,rf:300.8017,ellipseName:"Everest 1969"},evrstSS:{a:6377298.556,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"},fschr60:{a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"},fschr60m:{a:6378155,rf:298.3,ellipseName:"Fischer 1960"},fschr68:{a:6378150,rf:298.3,ellipseName:"Fischer 1968"},helmert:{a:6378200,rf:298.3,ellipseName:"Helmert 1906"},hough:{a:6378270,rf:297,ellipseName:"Hough"},intl:{a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"},kaula:{a:6378163,rf:298.24,ellipseName:"Kaula 1961"},lerch:{a:6378139,rf:298.257,ellipseName:"Lerch 1979"},mprts:{a:6397300,rf:191,ellipseName:"Maupertius 1738"},new_intl:{a:6378157.5,b:6356772.2,ellipseName:"New International 1967"},plessis:{a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"},krass:{a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"},SEasia:{a:6378155,b:6356773.3205,ellipseName:"Southeast Asia"},walbeck:{a:6376896,b:6355834.8467,ellipseName:"Walbeck"},WGS60:{a:6378165,rf:298.3,ellipseName:"WGS 60"},WGS66:{a:6378145,rf:298.25,ellipseName:"WGS 66"},WGS7:{a:6378135,rf:298.26,ellipseName:"WGS 72"}},be=_e.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"};function Ae(e,t,o,r){var n=e*e,i=t*t,s=(n-i)/n,a=0;return r?(n=(e*=1-s*(d+s*(p+s*h)))*e,s=0):a=Math.sqrt(s),{es:s,e:a,ep2:(n-i)/i}}function Ce(e,t,o,r,n){if(!e){var i=E(_e,r);i||(i=be),e=i.a,t=i.b,o=i.rf}return o&&!t&&(t=(1-1/o)*e),(0===o||Math.abs(e-t)<f)&&(n=!0,t=e),{a:e,b:t,rf:o,sphere:n}}_e.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"};var Ee={};function Se(e,s,a,l,c,d,p){var h={};return h.datum_type=void 0===e||"none"===e?i:n,s&&(h.datum_params=s.map(parseFloat),0===h.datum_params[0]&&0===h.datum_params[1]&&0===h.datum_params[2]||(h.datum_type=t),h.datum_params.length>3&&(0===h.datum_params[3]&&0===h.datum_params[4]&&0===h.datum_params[5]&&0===h.datum_params[6]||(h.datum_type=o,h.datum_params[3]*=u,h.datum_params[4]*=u,h.datum_params[5]*=u,h.datum_params[6]=h.datum_params[6]/1e6+1))),p&&(h.datum_type=r,h.grids=p),h.a=a,h.b=l,h.es=c,h.ep2=d,h}Ee.wgs84={towgs84:"0,0,0",ellipse:"WGS84",datumName:"WGS84"},Ee.ch1903={towgs84:"674.374,15.056,405.346",ellipse:"bessel",datumName:"swiss"},Ee.ggrs87={towgs84:"-199.87,74.79,246.62",ellipse:"GRS80",datumName:"Greek_Geodetic_Reference_System_1987"},Ee.nad83={towgs84:"0,0,0",ellipse:"GRS80",datumName:"North_American_Datum_1983"},Ee.nad27={nadgrids:"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",ellipse:"clrk66",datumName:"North_American_Datum_1927"},Ee.potsdam={towgs84:"598.1,73.7,418.2,0.202,0.045,-2.455,6.7",ellipse:"bessel",datumName:"Potsdam Rauenberg 1950 DHDN"},Ee.carthage={towgs84:"-263.0,6.0,431.0",ellipse:"clark80",datumName:"Carthage 1934 Tunisia"},Ee.hermannskogel={towgs84:"577.326,90.129,463.919,5.137,1.474,5.297,2.4232",ellipse:"bessel",datumName:"Hermannskogel"},Ee.osni52={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"airy",datumName:"Irish National"},Ee.ire65={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"},Ee.rassadiran={towgs84:"-133.63,-157.5,-158.62",ellipse:"intl",datumName:"Rassadiran"},Ee.nzgd49={towgs84:"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",ellipse:"intl",datumName:"New Zealand Geodetic Datum 1949"},Ee.osgb36={towgs84:"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",ellipse:"airy",datumName:"Airy 1830"},Ee.s_jtsk={towgs84:"589,76,480",ellipse:"bessel",datumName:"S-JTSK (Ferro)"},Ee.beduaram={towgs84:"-106,-87,188",ellipse:"clrk80",datumName:"Beduaram"},Ee.gunung_segara={towgs84:"-403,684,41",ellipse:"bessel",datumName:"Gunung Segara Jakarta"},Ee.rnb72={towgs84:"106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1",ellipse:"intl",datumName:"Reseau National Belge 1972"};var we={};function Oe(e,t){var o=new DataView(t),r=Te(o),n=Pe(o,r);n.nSubgrids>1&&console.log("Only single NTv2 subgrids are currently supported, subsequent sub grids are ignored");var i={header:n,subgrids:Re(o,n,r)};return we[e]=i,i}function Ie(e){return void 0===e?null:e.split(",").map(xe)}function xe(e){if(0===e.length)return null;var t="@"===e[0];return t&&(e=e.slice(1)),"null"===e?{name:"null",mandatory:!t,grid:null,isNull:!0}:{name:e,mandatory:!t,grid:we[e]||null,isNull:!1}}function je(e){return e/3600*Math.PI/180}function Te(e){var t=e.getInt32(8,!1);return 11!==t&&(11!==(t=e.getInt32(8,!0))&&console.warn("Failed to detect nadgrid endian-ness, defaulting to little-endian"),!0)}function Pe(e,t){return{nFields:e.getInt32(8,t),nSubgridFields:e.getInt32(24,t),nSubgrids:e.getInt32(40,t),shiftType:Me(e,56,64).trim(),fromSemiMajorAxis:e.getFloat64(120,t),fromSemiMinorAxis:e.getFloat64(136,t),toSemiMajorAxis:e.getFloat64(152,t),toSemiMinorAxis:e.getFloat64(168,t)}}function Me(e,t,o){return String.fromCharCode.apply(null,new Uint8Array(e.buffer.slice(t,o)))}function Re(e,t,o){for(var r=176,n=[],i=0;i<t.nSubgrids;i++){var s=ke(e,r,o),a=Ne(e,r,s,o),l=Math.round(1+(s.upperLongitude-s.lowerLongitude)/s.longitudeInterval),u=Math.round(1+(s.upperLatitude-s.lowerLatitude)/s.latitudeInterval);n.push({ll:[je(s.lowerLongitude),je(s.lowerLatitude)],del:[je(s.longitudeInterval),je(s.latitudeInterval)],lim:[l,u],count:s.gridNodeCount,cvs:Le(a)})}return n}function Le(e){return e.map((function(e){return[je(e.longitudeShift),je(e.latitudeShift)]}))}function ke(e,t,o){return{name:Me(e,t+8,t+16).trim(),parent:Me(e,t+24,t+24+8).trim(),lowerLatitude:e.getFloat64(t+72,o),upperLatitude:e.getFloat64(t+88,o),lowerLongitude:e.getFloat64(t+104,o),upperLongitude:e.getFloat64(t+120,o),latitudeInterval:e.getFloat64(t+136,o),longitudeInterval:e.getFloat64(t+152,o),gridNodeCount:e.getInt32(t+168,o)}}function Ne(e,t,o,r){for(var n=t+176,i=16,s=[],a=0;a<o.gridNodeCount;a++){var l={latitudeShift:e.getFloat32(n+a*i,r),longitudeShift:e.getFloat32(n+a*i+4,r),latitudeAccuracy:e.getFloat32(n+a*i+8,r),longitudeAccuracy:e.getFloat32(n+a*i+12,r)};s.push(l)}return s}function De(e,t){if(!(this instanceof De))return new De(e);t=t||function(e){if(e)throw e};var o=ee(e);if("object"==typeof o){var r=De.projections.get(o.projName);if(r){if(o.datumCode&&"none"!==o.datumCode){var n=E(Ee,o.datumCode);n&&(o.datum_params=o.datum_params||(n.towgs84?n.towgs84.split(","):null),o.ellps=n.ellipse,o.datumName=n.datumName?n.datumName:o.datumCode)}o.k0=o.k0||1,o.axis=o.axis||"enu",o.ellps=o.ellps||"wgs84",o.lat1=o.lat1||o.lat0;var i=Ce(o.a,o.b,o.rf,o.ellps,o.sphere),s=Ae(i.a,i.b,i.rf,o.R_A),a=Ie(o.nadgrids),l=o.datum||Se(o.datumCode,o.datum_params,i.a,i.b,s.es,s.ep2,a);te(this,o),te(this,r),this.a=i.a,this.b=i.b,this.rf=i.rf,this.sphere=i.sphere,this.es=s.es,this.e=s.e,this.ep2=s.ep2,this.datum=l,this.init(),t(null,this)}else t(e)}else t(e)}function Ge(e,r){return e.datum_type===r.datum_type&&!(e.a!==r.a||Math.abs(e.es-r.es)>5e-11)&&(e.datum_type===t?e.datum_params[0]===r.datum_params[0]&&e.datum_params[1]===r.datum_params[1]&&e.datum_params[2]===r.datum_params[2]:e.datum_type!==o||e.datum_params[0]===r.datum_params[0]&&e.datum_params[1]===r.datum_params[1]&&e.datum_params[2]===r.datum_params[2]&&e.datum_params[3]===r.datum_params[3]&&e.datum_params[4]===r.datum_params[4]&&e.datum_params[5]===r.datum_params[5]&&e.datum_params[6]===r.datum_params[6])}function Fe(e,t,o){var r,n,i,s,a=e.x,l=e.y,u=e.z?e.z:0;if(l<-c&&l>-1.001*c)l=-c;else if(l>c&&l<1.001*c)l=c;else{if(l<-c)return{x:-1/0,y:-1/0,z:e.z};if(l>c)return{x:1/0,y:1/0,z:e.z}}return a>Math.PI&&(a-=2*Math.PI),n=Math.sin(l),s=Math.cos(l),i=n*n,{x:((r=o/Math.sqrt(1-t*i))+u)*s*Math.cos(a),y:(r+u)*s*Math.sin(a),z:(r*(1-t)+u)*n}}function Ue(e,t,o,r){var n,i,s,a,l,u,c,d,p,h,f,m,g,y,v,_=1e-12,b=_*_,A=30,C=e.x,E=e.y,S=e.z?e.z:0;if(n=Math.sqrt(C*C+E*E),i=Math.sqrt(C*C+E*E+S*S),n/o<_){if(y=0,i/o<_)return v=-r,{x:e.x,y:e.y,z:e.z}}else y=Math.atan2(E,C);s=S/i,d=(a=n/i)*(1-t)*(l=1/Math.sqrt(1-t*(2-t)*a*a)),p=s*l,g=0;do{g++,u=t*(c=o/Math.sqrt(1-t*p*p))/(c+(v=n*d+S*p-c*(1-t*p*p))),m=(f=s*(l=1/Math.sqrt(1-u*(2-u)*a*a)))*d-(h=a*(1-u)*l)*p,d=h,p=f}while(m*m>b&&g<A);return{x:y,y:Math.atan(f/Math.abs(h)),z:v}}function Be(e,r,n){if(r===t)return{x:e.x+n[0],y:e.y+n[1],z:e.z+n[2]};if(r===o){var i=n[0],s=n[1],a=n[2],l=n[3],u=n[4],c=n[5],d=n[6];return{x:d*(e.x-c*e.y+u*e.z)+i,y:d*(c*e.x+e.y-l*e.z)+s,z:d*(-u*e.x+l*e.y+e.z)+a}}}function ze(e,r,n){if(r===t)return{x:e.x-n[0],y:e.y-n[1],z:e.z-n[2]};if(r===o){var i=n[0],s=n[1],a=n[2],l=n[3],u=n[4],c=n[5],d=n[6],p=(e.x-i)/d,h=(e.y-s)/d,f=(e.z-a)/d;return{x:p+c*h-u*f,y:-c*p+h+l*f,z:u*p-l*h+f}}}function Ve(e){return e===t||e===o}De.projections=ve,De.projections.start();var We=function(e,t,o){if(Ge(e,t))return o;if(e.datum_type===i||t.datum_type===i)return o;var n=e.a,u=e.es;if(e.datum_type===r){if(0!==qe(e,!1,o))return;n=s,u=l}var c=t.a,d=t.b,p=t.es;return t.datum_type===r&&(c=s,d=a,p=l),u!==p||n!==c||Ve(e.datum_type)||Ve(t.datum_type)?(o=Fe(o,u,n),Ve(e.datum_type)&&(o=Be(o,e.datum_type,e.datum_params)),Ve(t.datum_type)&&(o=ze(o,t.datum_type,t.datum_params)),o=Ue(o,p,c,d),t.datum_type!==r||0===qe(t,!0,o)?o:void 0):o};function qe(e,t,o){if(null===e.grids||0===e.grids.length)return console.log("Grid shift grids not found"),-1;for(var r={x:-o.x,y:o.y},n={x:Number.NaN,y:Number.NaN},i=[],s=0;s<e.grids.length;s++){var a=e.grids[s];if(i.push(a.name),a.isNull){n=r;break}if(null!==a.grid){var l=a.grid.subgrids[0],u=(Math.abs(l.del[1])+Math.abs(l.del[0]))/1e4,c=l.ll[0]-u,d=l.ll[1]-u,p=l.ll[0]+(l.lim[0]-1)*l.del[0]+u,h=l.ll[1]+(l.lim[1]-1)*l.del[1]+u;if(!(d>r.y||c>r.x||h<r.y||p<r.x||(n=Ye(r,t,l),isNaN(n.x))))break}else if(a.mandatory)return console.log("Unable to find mandatory grid '"+a.name+"'"),-1}return isNaN(n.x)?(console.log("Failed to find a grid shift table for location '"+-r.x*g+" "+r.y*g+" tried: '"+i+"'"),-1):(o.x=-n.x,o.y=n.y,0)}function Ye(e,t,o){var r={x:Number.NaN,y:Number.NaN};if(isNaN(e.x))return r;var n={x:e.x,y:e.y};n.x-=o.ll[0],n.y-=o.ll[1],n.x=ne(n.x-Math.PI)+Math.PI;var i=He(n,o);if(t){if(isNaN(i.x))return r;i.x=n.x-i.x,i.y=n.y-i.y;var s,a,l=9,u=1e-12;do{if(a=He(i,o),isNaN(a.x)){console.log("Inverse grid shift iteration failed, presumably at grid edge.  Using first approximation.");break}s={x:n.x-(a.x+i.x),y:n.y-(a.y+i.y)},i.x+=s.x,i.y+=s.y}while(l--&&Math.abs(s.x)>u&&Math.abs(s.y)>u);if(l<0)return console.log("Inverse grid shift iterator failed to converge."),r;r.x=ne(i.x+o.ll[0]),r.y=i.y+o.ll[1]}else isNaN(i.x)||(r.x=e.x+i.x,r.y=e.y+i.y);return r}function He(e,t){var o,r={x:e.x/t.del[0],y:e.y/t.del[1]},n={x:Math.floor(r.x),y:Math.floor(r.y)},i={x:r.x-1*n.x,y:r.y-1*n.y},s={x:Number.NaN,y:Number.NaN};if(n.x<0||n.x>=t.lim[0])return s;if(n.y<0||n.y>=t.lim[1])return s;o=n.y*t.lim[0]+n.x;var a={x:t.cvs[o][0],y:t.cvs[o][1]};o++;var l={x:t.cvs[o][0],y:t.cvs[o][1]};o+=t.lim[0];var u={x:t.cvs[o][0],y:t.cvs[o][1]};o--;var c={x:t.cvs[o][0],y:t.cvs[o][1]},d=i.x*i.y,p=i.x*(1-i.y),h=(1-i.x)*(1-i.y),f=(1-i.x)*i.y;return s.x=h*a.x+p*l.x+f*c.x+d*u.x,s.y=h*a.y+p*l.y+f*c.y+d*u.y,s}var Xe=function(e,t,o){var r,n,i,s=o.x,a=o.y,l=o.z||0,u={};for(i=0;i<3;i++)if(!t||2!==i||void 0!==o.z)switch(0===i?(r=s,n=-1!=="ew".indexOf(e.axis[i])?"x":"y"):1===i?(r=a,n=-1!=="ns".indexOf(e.axis[i])?"y":"x"):(r=l,n="z"),e.axis[i]){case"e":case"n":u[n]=r;break;case"w":case"s":u[n]=-r;break;case"u":void 0!==o[n]&&(u.z=r);break;case"d":void 0!==o[n]&&(u.z=-r);break;default:return null}return u},Ze=function(e){var t={x:e[0],y:e[1]};return e.length>2&&(t.z=e[2]),e.length>3&&(t.m=e[3]),t},Ke=function(e){Je(e.x),Je(e.y)};function Je(e){if("function"==typeof Number.isFinite){if(Number.isFinite(e))return;throw new TypeError("coordinates must be finite numbers")}if("number"!=typeof e||e!=e||!isFinite(e))throw new TypeError("coordinates must be finite numbers")}function Qe(e,r){return(e.datum.datum_type===t||e.datum.datum_type===o)&&"WGS84"!==r.datumCode||(r.datum.datum_type===t||r.datum.datum_type===o)&&"WGS84"!==e.datumCode}function $e(e,t,o,r){var n;if(Array.isArray(o)&&(o=Ze(o)),Ke(o),e.datum&&t.datum&&Qe(e,t)&&(o=$e(e,n=new De("WGS84"),o,r),e=n),r&&"enu"!==e.axis&&(o=Xe(e,!1,o)),"longlat"===e.projName)o={x:o.x*m,y:o.y*m,z:o.z||0};else if(e.to_meter&&(o={x:o.x*e.to_meter,y:o.y*e.to_meter,z:o.z||0}),!(o=e.inverse(o)))return;if(e.from_greenwich&&(o.x+=e.from_greenwich),o=We(e.datum,t.datum,o))return t.from_greenwich&&(o={x:o.x-t.from_greenwich,y:o.y,z:o.z||0}),"longlat"===t.projName?o={x:o.x*g,y:o.y*g,z:o.z||0}:(o=t.forward(o),t.to_meter&&(o={x:o.x/t.to_meter,y:o.y/t.to_meter,z:o.z||0})),r&&"enu"!==t.axis?Xe(t,!0,o):o}var et=De("WGS84");function tt(e,t,o,r){var n,i,s;return Array.isArray(o)?(n=$e(e,t,o,r)||{x:NaN,y:NaN},o.length>2?void 0!==e.name&&"geocent"===e.name||void 0!==t.name&&"geocent"===t.name?"number"==typeof n.z?[n.x,n.y,n.z].concat(o.splice(3)):[n.x,n.y,o[2]].concat(o.splice(3)):[n.x,n.y].concat(o.splice(2)):[n.x,n.y]):(i=$e(e,t,o,r),2===(s=Object.keys(o)).length||s.forEach((function(r){if(void 0!==e.name&&"geocent"===e.name||void 0!==t.name&&"geocent"===t.name){if("x"===r||"y"===r||"z"===r)return}else if("x"===r||"y"===r)return;i[r]=o[r]})),i)}function ot(e){return e instanceof De?e:e.oProj?e.oProj:De(e)}function rt(e,t,o){e=ot(e);var r,n=!1;return void 0===t?(t=e,e=et,n=!0):(void 0!==t.x||Array.isArray(t))&&(o=t,t=e,e=et,n=!0),t=ot(t),o?tt(e,t,o):(r={forward:function(o,r){return tt(e,t,o,r)},inverse:function(o,r){return tt(t,e,o,r)}},n&&(r.oProj=t),r)}var nt=6,it="AJSAJS",st="AFAFAF",at=65,lt=73,ut=79,ct=86,dt=90,pt={forward:ht,inverse:ft,toPoint:mt};function ht(e,t){return t=t||5,At(vt({lat:e[1],lon:e[0]}),t)}function ft(e){var t=_t(wt(e.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat,t.lon,t.lat]:[t.left,t.bottom,t.right,t.top]}function mt(e){var t=_t(wt(e.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat]:[(t.left+t.right)/2,(t.top+t.bottom)/2]}function gt(e){return e*(Math.PI/180)}function yt(e){return e/Math.PI*180}function vt(e){var t,o,r,n,i,s,a,l=e.lat,u=e.lon,c=6378137,d=.00669438,p=.9996,h=gt(l),f=gt(u);a=Math.floor((u+180)/6)+1,180===u&&(a=60),l>=56&&l<64&&u>=3&&u<12&&(a=32),l>=72&&l<84&&(u>=0&&u<9?a=31:u>=9&&u<21?a=33:u>=21&&u<33?a=35:u>=33&&u<42&&(a=37)),s=gt(6*(a-1)-180+3),t=d/(1-d),o=c/Math.sqrt(1-d*Math.sin(h)*Math.sin(h)),r=Math.tan(h)*Math.tan(h),n=t*Math.cos(h)*Math.cos(h);var m=p*o*((i=Math.cos(h)*(f-s))+(1-r+n)*i*i*i/6+(5-18*r+r*r+72*n-58*t)*i*i*i*i*i/120)+5e5,g=p*(c*((1-d/4-3*d*d/64-5*d*d*d/256)*h-(3*d/8+3*d*d/32+45*d*d*d/1024)*Math.sin(2*h)+(15*d*d/256+45*d*d*d/1024)*Math.sin(4*h)-35*d*d*d/3072*Math.sin(6*h))+o*Math.tan(h)*(i*i/2+(5-r+9*n+4*n*n)*i*i*i*i/24+(61-58*r+r*r+600*n-330*t)*i*i*i*i*i*i/720));return l<0&&(g+=1e7),{northing:Math.round(g),easting:Math.round(m),zoneNumber:a,zoneLetter:bt(l)}}function _t(e){var t=e.northing,o=e.easting,r=e.zoneLetter,n=e.zoneNumber;if(n<0||n>60)return null;var i,s,a,l,u,c,d,p,h,f=.9996,m=6378137,g=.00669438,y=(1-Math.sqrt(1-g))/(1+Math.sqrt(1-g)),v=o-5e5,_=t;r<"N"&&(_-=1e7),d=6*(n-1)-180+3,i=g/(1-g),h=(p=_/f/(m*(1-g/4-3*g*g/64-5*g*g*g/256)))+(3*y/2-27*y*y*y/32)*Math.sin(2*p)+(21*y*y/16-55*y*y*y*y/32)*Math.sin(4*p)+151*y*y*y/96*Math.sin(6*p),s=m/Math.sqrt(1-g*Math.sin(h)*Math.sin(h)),a=Math.tan(h)*Math.tan(h),l=i*Math.cos(h)*Math.cos(h),u=m*(1-g)/Math.pow(1-g*Math.sin(h)*Math.sin(h),1.5),c=v/(s*f);var b=h-s*Math.tan(h)/u*(c*c/2-(5+3*a+10*l-4*l*l-9*i)*c*c*c*c/24+(61+90*a+298*l+45*a*a-252*i-3*l*l)*c*c*c*c*c*c/720);b=yt(b);var A,C=(c-(1+2*a+l)*c*c*c/6+(5-2*l+28*a-3*l*l+8*i+24*a*a)*c*c*c*c*c/120)/Math.cos(h);if(C=d+yt(C),e.accuracy){var E=_t({northing:e.northing+e.accuracy,easting:e.easting+e.accuracy,zoneLetter:e.zoneLetter,zoneNumber:e.zoneNumber});A={top:E.lat,right:E.lon,bottom:b,left:C}}else A={lat:b,lon:C};return A}function bt(e){var t="Z";return 84>=e&&e>=72?t="X":72>e&&e>=64?t="W":64>e&&e>=56?t="V":56>e&&e>=48?t="U":48>e&&e>=40?t="T":40>e&&e>=32?t="S":32>e&&e>=24?t="R":24>e&&e>=16?t="Q":16>e&&e>=8?t="P":8>e&&e>=0?t="N":0>e&&e>=-8?t="M":-8>e&&e>=-16?t="L":-16>e&&e>=-24?t="K":-24>e&&e>=-32?t="J":-32>e&&e>=-40?t="H":-40>e&&e>=-48?t="G":-48>e&&e>=-56?t="F":-56>e&&e>=-64?t="E":-64>e&&e>=-72?t="D":-72>e&&e>=-80&&(t="C"),t}function At(e,t){var o="00000"+e.easting,r="00000"+e.northing;return e.zoneNumber+e.zoneLetter+Ct(e.easting,e.northing,e.zoneNumber)+o.substr(o.length-5,t)+r.substr(r.length-5,t)}function Ct(e,t,o){var r=Et(o);return St(Math.floor(e/1e5),Math.floor(t/1e5)%20,r)}function Et(e){var t=e%nt;return 0===t&&(t=nt),t}function St(e,t,o){var r=o-1,n=it.charCodeAt(r),i=st.charCodeAt(r),s=n+e-1,a=i+t,l=!1;return s>dt&&(s=s-dt+at-1,l=!0),(s===lt||n<lt&&s>lt||(s>lt||n<lt)&&l)&&s++,(s===ut||n<ut&&s>ut||(s>ut||n<ut)&&l)&&++s===lt&&s++,s>dt&&(s=s-dt+at-1),a>ct?(a=a-ct+at-1,l=!0):l=!1,(a===lt||i<lt&&a>lt||(a>lt||i<lt)&&l)&&a++,(a===ut||i<ut&&a>ut||(a>ut||i<ut)&&l)&&++a===lt&&a++,a>ct&&(a=a-ct+at-1),String.fromCharCode(s)+String.fromCharCode(a)}function wt(e){if(e&&0===e.length)throw"MGRSPoint coverting from nothing";for(var t,o=e.length,r=null,n="",i=0;!/[A-Z]/.test(t=e.charAt(i));){if(i>=2)throw"MGRSPoint bad conversion from: "+e;n+=t,i++}var s=parseInt(n,10);if(0===i||i+3>o)throw"MGRSPoint bad conversion from: "+e;var a=e.charAt(i++);if(a<="A"||"B"===a||"Y"===a||a>="Z"||"I"===a||"O"===a)throw"MGRSPoint zone letter "+a+" not handled: "+e;r=e.substring(i,i+=2);for(var l=Et(s),u=Ot(r.charAt(0),l),c=It(r.charAt(1),l);c<xt(a);)c+=2e6;var d=o-i;if(d%2!=0)throw"MGRSPoint has to have an even number \nof digits after the zone letter and two 100km letters - front \nhalf for easting meters, second half for \nnorthing meters"+e;var p,h,f,m=d/2,g=0,y=0;return m>0&&(p=1e5/Math.pow(10,m),h=e.substring(i,i+m),g=parseFloat(h)*p,f=e.substring(i+m),y=parseFloat(f)*p),{easting:g+u,northing:y+c,zoneLetter:a,zoneNumber:s,accuracy:p}}function Ot(e,t){for(var o=it.charCodeAt(t-1),r=1e5,n=!1;o!==e.charCodeAt(0);){if(++o===lt&&o++,o===ut&&o++,o>dt){if(n)throw"Bad character: "+e;o=at,n=!0}r+=1e5}return r}function It(e,t){if(e>"V")throw"MGRSPoint given invalid Northing "+e;for(var o=st.charCodeAt(t-1),r=0,n=!1;o!==e.charCodeAt(0);){if(++o===lt&&o++,o===ut&&o++,o>ct){if(n)throw"Bad character: "+e;o=at,n=!0}r+=1e5}return r}function xt(e){var t;switch(e){case"C":t=11e5;break;case"D":t=2e6;break;case"E":t=28e5;break;case"F":t=37e5;break;case"G":t=46e5;break;case"H":t=55e5;break;case"J":t=64e5;break;case"K":t=73e5;break;case"L":t=82e5;break;case"M":t=91e5;break;case"N":t=0;break;case"P":t=8e5;break;case"Q":t=17e5;break;case"R":t=26e5;break;case"S":t=35e5;break;case"T":t=44e5;break;case"U":t=53e5;break;case"V":t=62e5;break;case"W":t=7e6;break;case"X":t=79e5;break;default:t=-1}if(t>=0)return t;throw"Invalid zone letter: "+e}function jt(e,t,o){if(!(this instanceof jt))return new jt(e,t,o);if(Array.isArray(e))this.x=e[0],this.y=e[1],this.z=e[2]||0;else if("object"==typeof e)this.x=e.x,this.y=e.y,this.z=e.z||0;else if("string"==typeof e&&void 0===t){var r=e.split(",");this.x=parseFloat(r[0],10),this.y=parseFloat(r[1],10),this.z=parseFloat(r[2],10)||0}else this.x=e,this.y=t,this.z=o||0;console.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}jt.fromMGRS=function(e){return new jt(mt(e))},jt.prototype.toMGRS=function(e){return ht([this.x,this.y],e)};var Tt=1,Pt=.25,Mt=.046875,Rt=.01953125,Lt=.01068115234375,kt=.75,Nt=.46875,Dt=.013020833333333334,Gt=.007120768229166667,Ft=.3645833333333333,Ut=.005696614583333333,Bt=.3076171875,zt=function(e){var t=[];t[0]=Tt-e*(Pt+e*(Mt+e*(Rt+e*Lt))),t[1]=e*(kt-e*(Mt+e*(Rt+e*Lt)));var o=e*e;return t[2]=o*(Nt-e*(Dt+e*Gt)),o*=e,t[3]=o*(Ft-e*Ut),t[4]=o*e*Bt,t},Vt=function(e,t,o,r){return o*=t,t*=t,r[0]*e-o*(r[1]+t*(r[2]+t*(r[3]+t*r[4])))},Wt=20,qt=function(e,t,o){for(var r=1/(1-t),n=e,i=Wt;i;--i){var s=Math.sin(n),a=1-t*s*s;if(n-=a=(Vt(n,s,Math.cos(n),o)-e)*(a*Math.sqrt(a))*r,Math.abs(a)<f)return n}return n};function Yt(){this.x0=void 0!==this.x0?this.x0:0,this.y0=void 0!==this.y0?this.y0:0,this.long0=void 0!==this.long0?this.long0:0,this.lat0=void 0!==this.lat0?this.lat0:0,this.es&&(this.en=zt(this.es),this.ml0=Vt(this.lat0,Math.sin(this.lat0),Math.cos(this.lat0),this.en))}function Ht(e){var t,o,r,n=e.x,i=e.y,s=ne(n-this.long0),a=Math.sin(i),l=Math.cos(i);if(this.es){var u=l*s,c=Math.pow(u,2),d=this.ep2*Math.pow(l,2),p=Math.pow(d,2),h=Math.abs(l)>f?Math.tan(i):0,m=Math.pow(h,2),g=Math.pow(m,2);t=1-this.es*Math.pow(a,2),u/=Math.sqrt(t);var y=Vt(i,a,l,this.en);o=this.a*(this.k0*u*(1+c/6*(1-m+d+c/20*(5-18*m+g+14*d-58*m*d+c/42*(61+179*g-g*m-479*m)))))+this.x0,r=this.a*(this.k0*(y-this.ml0+a*s*u/2*(1+c/12*(5-m+9*d+4*p+c/30*(61+g-58*m+270*d-330*m*d+c/56*(1385+543*g-g*m-3111*m))))))+this.y0}else{var v=l*Math.sin(s);if(Math.abs(Math.abs(v)-1)<f)return 93;if(o=.5*this.a*this.k0*Math.log((1+v)/(1-v))+this.x0,r=l*Math.cos(s)/Math.sqrt(1-Math.pow(v,2)),(v=Math.abs(r))>=1){if(v-1>f)return 93;r=0}else r=Math.acos(r);i<0&&(r=-r),r=this.a*this.k0*(r-this.lat0)+this.y0}return e.x=o,e.y=r,e}function Xt(e){var t,o,r,n,i=(e.x-this.x0)*(1/this.a),s=(e.y-this.y0)*(1/this.a);if(this.es)if(t=this.ml0+s/this.k0,o=qt(t,this.es,this.en),Math.abs(o)<c){var a=Math.sin(o),l=Math.cos(o),u=Math.abs(l)>f?Math.tan(o):0,d=this.ep2*Math.pow(l,2),p=Math.pow(d,2),h=Math.pow(u,2),m=Math.pow(h,2);t=1-this.es*Math.pow(a,2);var g=i*Math.sqrt(t)/this.k0,y=Math.pow(g,2);r=o-(t*=u)*y/(1-this.es)*.5*(1-y/12*(5+3*h-9*d*h+d-4*p-y/30*(61+90*h-252*d*h+45*m+46*d-y/56*(1385+3633*h+4095*m+1574*m*h)))),n=ne(this.long0+g*(1-y/6*(1+2*h+d-y/20*(5+28*h+24*m+8*d*h+6*d-y/42*(61+662*h+1320*m+720*m*h))))/l)}else r=c*re(s),n=0;else{var v=Math.exp(i/this.k0),_=.5*(v-1/v),b=this.lat0+s/this.k0,A=Math.cos(b);t=Math.sqrt((1-Math.pow(A,2))/(1+Math.pow(_,2))),r=Math.asin(t),s<0&&(r=-r),n=0===_&&0===A?0:ne(Math.atan2(_,A)+this.long0)}return e.x=n,e.y=r,e}var Zt={init:Yt,forward:Ht,inverse:Xt,names:["Fast_Transverse_Mercator","Fast Transverse Mercator"]},Kt=function(e){var t=Math.exp(e);return t=(t-1/t)/2},Jt=function(e,t){e=Math.abs(e),t=Math.abs(t);var o=Math.max(e,t),r=Math.min(e,t)/(o||1);return o*Math.sqrt(1+Math.pow(r,2))},Qt=function(e){var t=1+e,o=t-1;return 0===o?e:e*Math.log(t)/o},$t=function(e){var t=Math.abs(e);return t=Qt(t*(1+t/(Jt(1,t)+1))),e<0?-t:t},eo=function(e,t){for(var o,r=2*Math.cos(2*t),n=e.length-1,i=e[n],s=0;--n>=0;)o=r*i-s+e[n],s=i,i=o;return t+o*Math.sin(2*t)},to=function(e,t){for(var o,r=2*Math.cos(t),n=e.length-1,i=e[n],s=0;--n>=0;)o=r*i-s+e[n],s=i,i=o;return Math.sin(t)*o},oo=function(e){var t=Math.exp(e);return t=(t+1/t)/2},ro=function(e,t,o){for(var r,n,i=Math.sin(t),s=Math.cos(t),a=Kt(o),l=oo(o),u=2*s*l,c=-2*i*a,d=e.length-1,p=e[d],h=0,f=0,m=0;--d>=0;)r=f,n=h,p=u*(f=p)-r-c*(h=m)+e[d],m=c*f-n+u*h;return[(u=i*l)*p-(c=s*a)*m,u*m+c*p]};function no(){if(!this.approx&&(isNaN(this.es)||this.es<=0))throw new Error('Incorrect elliptical usage. Try using the +approx option in the proj string, or PROJECTION["Fast_Transverse_Mercator"] in the WKT.');this.approx&&(Zt.init.apply(this),this.forward=Zt.forward,this.inverse=Zt.inverse),this.x0=void 0!==this.x0?this.x0:0,this.y0=void 0!==this.y0?this.y0:0,this.long0=void 0!==this.long0?this.long0:0,this.lat0=void 0!==this.lat0?this.lat0:0,this.cgb=[],this.cbg=[],this.utg=[],this.gtu=[];var e=this.es/(1+Math.sqrt(1-this.es)),t=e/(2-e),o=t;this.cgb[0]=t*(2+t*(-2/3+t*(t*(116/45+t*(26/45+t*(-2854/675)))-2))),this.cbg[0]=t*(t*(2/3+t*(4/3+t*(-82/45+t*(32/45+t*(4642/4725)))))-2),o*=t,this.cgb[1]=o*(7/3+t*(t*(-227/45+t*(2704/315+t*(2323/945)))-1.6)),this.cbg[1]=o*(5/3+t*(-16/15+t*(-13/9+t*(904/315+t*(-1522/945))))),o*=t,this.cgb[2]=o*(56/15+t*(-136/35+t*(-1262/105+t*(73814/2835)))),this.cbg[2]=o*(-26/15+t*(34/21+t*(1.6+t*(-12686/2835)))),o*=t,this.cgb[3]=o*(4279/630+t*(-332/35+t*(-399572/14175))),this.cbg[3]=o*(1237/630+t*(t*(-24832/14175)-2.4)),o*=t,this.cgb[4]=o*(4174/315+t*(-144838/6237)),this.cbg[4]=o*(-734/315+t*(109598/31185)),o*=t,this.cgb[5]=o*(601676/22275),this.cbg[5]=o*(444337/155925),o=Math.pow(t,2),this.Qn=this.k0/(1+t)*(1+o*(1/4+o*(1/64+o/256))),this.utg[0]=t*(t*(2/3+t*(-37/96+t*(1/360+t*(81/512+t*(-96199/604800)))))-.5),this.gtu[0]=t*(.5+t*(-2/3+t*(5/16+t*(41/180+t*(-127/288+t*(7891/37800)))))),this.utg[1]=o*(-1/48+t*(-1/15+t*(437/1440+t*(-46/105+t*(1118711/3870720))))),this.gtu[1]=o*(13/48+t*(t*(557/1440+t*(281/630+t*(-1983433/1935360)))-.6)),o*=t,this.utg[2]=o*(-17/480+t*(37/840+t*(209/4480+t*(-5569/90720)))),this.gtu[2]=o*(61/240+t*(-103/140+t*(15061/26880+t*(167603/181440)))),o*=t,this.utg[3]=o*(-4397/161280+t*(11/504+t*(830251/7257600))),this.gtu[3]=o*(49561/161280+t*(-179/168+t*(6601661/7257600))),o*=t,this.utg[4]=o*(-4583/161280+t*(108847/3991680)),this.gtu[4]=o*(34729/80640+t*(-3418889/1995840)),o*=t,this.utg[5]=o*(-20648693/638668800),this.gtu[5]=.6650675310896665*o;var r=eo(this.cbg,this.lat0);this.Zb=-this.Qn*(r+to(this.gtu,2*r))}function io(e){var t=ne(e.x-this.long0),o=e.y;o=eo(this.cbg,o);var r=Math.sin(o),n=Math.cos(o),i=Math.sin(t),s=Math.cos(t);o=Math.atan2(r,s*n),t=Math.atan2(i*n,Jt(r,n*s)),t=$t(Math.tan(t));var a,l,u=ro(this.gtu,2*o,2*t);return o+=u[0],t+=u[1],Math.abs(t)<=2.623395162778?(a=this.a*(this.Qn*t)+this.x0,l=this.a*(this.Qn*o+this.Zb)+this.y0):(a=1/0,l=1/0),e.x=a,e.y=l,e}function so(e){var t,o,r=(e.x-this.x0)*(1/this.a),n=(e.y-this.y0)*(1/this.a);if(n=(n-this.Zb)/this.Qn,r/=this.Qn,Math.abs(r)<=2.623395162778){var i=ro(this.utg,2*n,2*r);n+=i[0],r+=i[1],r=Math.atan(Kt(r));var s=Math.sin(n),a=Math.cos(n),l=Math.sin(r),u=Math.cos(r);n=Math.atan2(s*u,Jt(l,u*a)),r=Math.atan2(l,u*a),t=ne(r+this.long0),o=eo(this.cgb,n)}else t=1/0,o=1/0;return e.x=t,e.y=o,e}var ao={init:no,forward:io,inverse:so,names:["Extended_Transverse_Mercator","Extended Transverse Mercator","etmerc","Transverse_Mercator","Transverse Mercator","tmerc"]},lo=function(e,t){if(void 0===e){if((e=Math.floor(30*(ne(t)+Math.PI)/Math.PI)+1)<0)return 0;if(e>60)return 60}return e};function uo(){var e=lo(this.zone,this.long0);if(void 0===e)throw new Error("unknown utm zone");this.lat0=0,this.long0=(6*Math.abs(e)-183)*m,this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,ao.init.apply(this),this.forward=ao.forward,this.inverse=ao.inverse}var co={init:uo,names:["Universal Transverse Mercator System","utm"],dependsOn:"etmerc"},po=function(e,t){return Math.pow((1-e)/(1+e),t)},ho=20;function fo(){var e=Math.sin(this.lat0),t=Math.cos(this.lat0);t*=t,this.rc=Math.sqrt(1-this.es)/(1-this.es*e*e),this.C=Math.sqrt(1+this.es*t*t/(1-this.es)),this.phic0=Math.asin(e/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+y)/(Math.pow(Math.tan(.5*this.lat0+y),this.C)*po(this.e*e,this.ratexp))}function mo(e){var t=e.x,o=e.y;return e.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*o+y),this.C)*po(this.e*Math.sin(o),this.ratexp))-c,e.x=this.C*t,e}function go(e){for(var t=1e-14,o=e.x/this.C,r=e.y,n=Math.pow(Math.tan(.5*r+y)/this.K,1/this.C),i=ho;i>0&&(r=2*Math.atan(n*po(this.e*Math.sin(e.y),-.5*this.e))-c,!(Math.abs(r-e.y)<t));--i)e.y=r;return i?(e.x=o,e.y=r,e):null}var yo={init:fo,forward:mo,inverse:go,names:["gauss"]};function vo(){yo.init.apply(this),this.rc&&(this.sinc0=Math.sin(this.phic0),this.cosc0=Math.cos(this.phic0),this.R2=2*this.rc,this.title||(this.title="Oblique Stereographic Alternative"))}function _o(e){var t,o,r,n;return e.x=ne(e.x-this.long0),yo.forward.apply(this,[e]),t=Math.sin(e.y),o=Math.cos(e.y),r=Math.cos(e.x),n=this.k0*this.R2/(1+this.sinc0*t+this.cosc0*o*r),e.x=n*o*Math.sin(e.x),e.y=n*(this.cosc0*t-this.sinc0*o*r),e.x=this.a*e.x+this.x0,e.y=this.a*e.y+this.y0,e}function bo(e){var t,o,r,n,i;if(e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,i=Math.sqrt(e.x*e.x+e.y*e.y)){var s=2*Math.atan2(i,this.R2);t=Math.sin(s),o=Math.cos(s),n=Math.asin(o*this.sinc0+e.y*t*this.cosc0/i),r=Math.atan2(e.x*t,i*this.cosc0*o-e.y*this.sinc0*t)}else n=this.phic0,r=0;return e.x=r,e.y=n,yo.inverse.apply(this,[e]),e.x=ne(e.x+this.long0),e}var Ao={init:vo,forward:_o,inverse:bo,names:["Stereographic_North_Pole","Oblique_Stereographic","Polar_Stereographic","sterea","Oblique Stereographic Alternative","Double_Stereographic"]};function Co(e,t,o){return t*=o,Math.tan(.5*(c+e))*Math.pow((1-t)/(1+t),.5*o)}function Eo(){this.coslat0=Math.cos(this.lat0),this.sinlat0=Math.sin(this.lat0),this.sphere?1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=f&&(this.k0=.5*(1+re(this.lat0)*Math.sin(this.lat_ts))):(Math.abs(this.coslat0)<=f&&(this.lat0>0?this.con=1:this.con=-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=f&&(this.k0=.5*this.cons*oe(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/ie(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=oe(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-c,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))}function So(e){var t,o,r,n,i,s,a=e.x,l=e.y,u=Math.sin(l),d=Math.cos(l),p=ne(a-this.long0);return Math.abs(Math.abs(a-this.long0)-Math.PI)<=f&&Math.abs(l+this.lat0)<=f?(e.x=NaN,e.y=NaN,e):this.sphere?(t=2*this.k0/(1+this.sinlat0*u+this.coslat0*d*Math.cos(p)),e.x=this.a*t*d*Math.sin(p)+this.x0,e.y=this.a*t*(this.coslat0*u-this.sinlat0*d*Math.cos(p))+this.y0,e):(o=2*Math.atan(this.ssfn_(l,u,this.e))-c,n=Math.cos(o),r=Math.sin(o),Math.abs(this.coslat0)<=f?(i=ie(this.e,l*this.con,this.con*u),s=2*this.a*this.k0*i/this.cons,e.x=this.x0+s*Math.sin(a-this.long0),e.y=this.y0-this.con*s*Math.cos(a-this.long0),e):(Math.abs(this.sinlat0)<f?(t=2*this.a*this.k0/(1+n*Math.cos(p)),e.y=t*r):(t=2*this.a*this.k0*this.ms1/(this.cosX0*(1+this.sinX0*r+this.cosX0*n*Math.cos(p))),e.y=t*(this.cosX0*r-this.sinX0*n*Math.cos(p))+this.y0),e.x=t*n*Math.sin(p)+this.x0,e))}function wo(e){var t,o,r,n,i;e.x-=this.x0,e.y-=this.y0;var s=Math.sqrt(e.x*e.x+e.y*e.y);if(this.sphere){var a=2*Math.atan(s/(2*this.a*this.k0));return t=this.long0,o=this.lat0,s<=f?(e.x=t,e.y=o,e):(o=Math.asin(Math.cos(a)*this.sinlat0+e.y*Math.sin(a)*this.coslat0/s),t=Math.abs(this.coslat0)<f?this.lat0>0?ne(this.long0+Math.atan2(e.x,-1*e.y)):ne(this.long0+Math.atan2(e.x,e.y)):ne(this.long0+Math.atan2(e.x*Math.sin(a),s*this.coslat0*Math.cos(a)-e.y*this.sinlat0*Math.sin(a))),e.x=t,e.y=o,e)}if(Math.abs(this.coslat0)<=f){if(s<=f)return o=this.lat0,t=this.long0,e.x=t,e.y=o,e;e.x*=this.con,e.y*=this.con,r=s*this.cons/(2*this.a*this.k0),o=this.con*se(this.e,r),t=this.con*ne(this.con*this.long0+Math.atan2(e.x,-1*e.y))}else n=2*Math.atan(s*this.cosX0/(2*this.a*this.k0*this.ms1)),t=this.long0,s<=f?i=this.X0:(i=Math.asin(Math.cos(n)*this.sinX0+e.y*Math.sin(n)*this.cosX0/s),t=ne(this.long0+Math.atan2(e.x*Math.sin(n),s*this.cosX0*Math.cos(n)-e.y*this.sinX0*Math.sin(n)))),o=-1*se(this.e,Math.tan(.5*(c+i)));return e.x=t,e.y=o,e}var Oo={init:Eo,forward:So,inverse:wo,names:["stere","Stereographic_South_Pole","Polar Stereographic (variant B)"],ssfn_:Co};function Io(){var e=this.lat0;this.lambda0=this.long0;var t=Math.sin(e),o=this.a,r=1/this.rf,n=2*r-Math.pow(r,2),i=this.e=Math.sqrt(n);this.R=this.k0*o*Math.sqrt(1-n)/(1-n*Math.pow(t,2)),this.alpha=Math.sqrt(1+n/(1-n)*Math.pow(Math.cos(e),4)),this.b0=Math.asin(t/this.alpha);var s=Math.log(Math.tan(Math.PI/4+this.b0/2)),a=Math.log(Math.tan(Math.PI/4+e/2)),l=Math.log((1+i*t)/(1-i*t));this.K=s-this.alpha*a+this.alpha*i/2*l}function xo(e){var t=Math.log(Math.tan(Math.PI/4-e.y/2)),o=this.e/2*Math.log((1+this.e*Math.sin(e.y))/(1-this.e*Math.sin(e.y))),r=-this.alpha*(t+o)+this.K,n=2*(Math.atan(Math.exp(r))-Math.PI/4),i=this.alpha*(e.x-this.lambda0),s=Math.atan(Math.sin(i)/(Math.sin(this.b0)*Math.tan(n)+Math.cos(this.b0)*Math.cos(i))),a=Math.asin(Math.cos(this.b0)*Math.sin(n)-Math.sin(this.b0)*Math.cos(n)*Math.cos(i));return e.y=this.R/2*Math.log((1+Math.sin(a))/(1-Math.sin(a)))+this.y0,e.x=this.R*s+this.x0,e}function jo(e){for(var t=e.x-this.x0,o=e.y-this.y0,r=t/this.R,n=2*(Math.atan(Math.exp(o/this.R))-Math.PI/4),i=Math.asin(Math.cos(this.b0)*Math.sin(n)+Math.sin(this.b0)*Math.cos(n)*Math.cos(r)),s=Math.atan(Math.sin(r)/(Math.cos(this.b0)*Math.cos(r)-Math.sin(this.b0)*Math.tan(n))),a=this.lambda0+s/this.alpha,l=0,u=i,c=-1e3,d=0;Math.abs(u-c)>1e-7;){if(++d>20)return;l=1/this.alpha*(Math.log(Math.tan(Math.PI/4+i/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(u))/2)),c=u,u=2*Math.atan(Math.exp(l))-Math.PI/2}return e.x=a,e.y=u,e}var To={init:Io,forward:xo,inverse:jo,names:["somerc"]},Po=1e-7;function Mo(e){var t=["Hotine_Oblique_Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin"],o="object"==typeof e.PROJECTION?Object.keys(e.PROJECTION)[0]:e.PROJECTION;return"no_uoff"in e||"no_off"in e||-1!==t.indexOf(o)}function Ro(){var e,t,o,r,n,i,s,a,l,u,d,p=0,h=0,g=0,_=0,b=0,A=0,C=0;this.no_off=Mo(this),this.no_rot="no_rot"in this;var E=!1;"alpha"in this&&(E=!0);var S=!1;if("rectified_grid_angle"in this&&(S=!0),E&&(C=this.alpha),S&&(p=this.rectified_grid_angle*m),E||S)h=this.longc;else if(g=this.long1,b=this.lat1,_=this.long2,A=this.lat2,Math.abs(b-A)<=Po||(e=Math.abs(b))<=Po||Math.abs(e-c)<=Po||Math.abs(Math.abs(this.lat0)-c)<=Po||Math.abs(Math.abs(A)-c)<=Po)throw new Error;var w=1-this.es;t=Math.sqrt(w),Math.abs(this.lat0)>f?(a=Math.sin(this.lat0),o=Math.cos(this.lat0),e=1-this.es*a*a,this.B=o*o,this.B=Math.sqrt(1+this.es*this.B*this.B/w),this.A=this.B*this.k0*t/e,(n=(r=this.B*t/(o*Math.sqrt(e)))*r-1)<=0?n=0:(n=Math.sqrt(n),this.lat0<0&&(n=-n)),this.E=n+=r,this.E*=Math.pow(ie(this.e,this.lat0,a),this.B)):(this.B=1/t,this.A=this.k0,this.E=r=n=1),E||S?(E?(d=Math.asin(Math.sin(C)/r),S||(p=C)):(d=p,C=Math.asin(r*Math.sin(d))),this.lam0=h-Math.asin(.5*(n-1/n)*Math.tan(d))/this.B):(i=Math.pow(ie(this.e,b,Math.sin(b)),this.B),s=Math.pow(ie(this.e,A,Math.sin(A)),this.B),n=this.E/i,l=(s-i)/(s+i),u=((u=this.E*this.E)-s*i)/(u+s*i),(e=g-_)<-Math.pi?_-=v:e>Math.pi&&(_+=v),this.lam0=ne(.5*(g+_)-Math.atan(u*Math.tan(.5*this.B*(g-_))/l)/this.B),d=Math.atan(2*Math.sin(this.B*ne(g-this.lam0))/(n-1/n)),p=C=Math.asin(r*Math.sin(d))),this.singam=Math.sin(d),this.cosgam=Math.cos(d),this.sinrot=Math.sin(p),this.cosrot=Math.cos(p),this.rB=1/this.B,this.ArB=this.A*this.rB,this.BrA=1/this.ArB,this.no_off?this.u_0=0:(this.u_0=Math.abs(this.ArB*Math.atan(Math.sqrt(r*r-1)/Math.cos(C))),this.lat0<0&&(this.u_0=-this.u_0)),n=.5*d,this.v_pole_n=this.ArB*Math.log(Math.tan(y-n)),this.v_pole_s=this.ArB*Math.log(Math.tan(y+n))}function Lo(e){var t,o,r,n,i,s,a,l,u={};if(e.x=e.x-this.lam0,Math.abs(Math.abs(e.y)-c)>f){if(t=.5*((i=this.E/Math.pow(ie(this.e,e.y,Math.sin(e.y)),this.B))-(s=1/i)),o=.5*(i+s),n=Math.sin(this.B*e.x),r=(t*this.singam-n*this.cosgam)/o,Math.abs(Math.abs(r)-1)<f)throw new Error;l=.5*this.ArB*Math.log((1-r)/(1+r)),s=Math.cos(this.B*e.x),a=Math.abs(s)<Po?this.A*e.x:this.ArB*Math.atan2(t*this.cosgam+n*this.singam,s)}else l=e.y>0?this.v_pole_n:this.v_pole_s,a=this.ArB*e.y;return this.no_rot?(u.x=a,u.y=l):(a-=this.u_0,u.x=l*this.cosrot+a*this.sinrot,u.y=a*this.cosrot-l*this.sinrot),u.x=this.a*u.x+this.x0,u.y=this.a*u.y+this.y0,u}function ko(e){var t,o,r,n,i,s,a,l={};if(e.x=(e.x-this.x0)*(1/this.a),e.y=(e.y-this.y0)*(1/this.a),this.no_rot?(o=e.y,t=e.x):(o=e.x*this.cosrot-e.y*this.sinrot,t=e.y*this.cosrot+e.x*this.sinrot+this.u_0),n=.5*((r=Math.exp(-this.BrA*o))-1/r),i=.5*(r+1/r),a=((s=Math.sin(this.BrA*t))*this.cosgam+n*this.singam)/i,Math.abs(Math.abs(a)-1)<f)l.x=0,l.y=a<0?-c:c;else{if(l.y=this.E/Math.sqrt((1+a)/(1-a)),l.y=se(this.e,Math.pow(l.y,1/this.B)),l.y===1/0)throw new Error;l.x=-this.rB*Math.atan2(n*this.cosgam-s*this.singam,Math.cos(this.BrA*t))}return l.x+=this.lam0,l}var No={init:Ro,forward:Lo,inverse:ko,names:["Hotine_Oblique_Mercator","Hotine Oblique Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin","Hotine_Oblique_Mercator_Two_Point_Natural_Origin","Hotine_Oblique_Mercator_Azimuth_Center","Oblique_Mercator","omerc"]};function Do(){if(this.lat2||(this.lat2=this.lat1),this.k0||(this.k0=1),this.x0=this.x0||0,this.y0=this.y0||0,!(Math.abs(this.lat1+this.lat2)<f)){var e=this.b/this.a;this.e=Math.sqrt(1-e*e);var t=Math.sin(this.lat1),o=Math.cos(this.lat1),r=oe(this.e,t,o),n=ie(this.e,this.lat1,t),i=Math.sin(this.lat2),s=Math.cos(this.lat2),a=oe(this.e,i,s),l=ie(this.e,this.lat2,i),u=ie(this.e,this.lat0,Math.sin(this.lat0));Math.abs(this.lat1-this.lat2)>f?this.ns=Math.log(r/a)/Math.log(n/l):this.ns=t,isNaN(this.ns)&&(this.ns=t),this.f0=r/(this.ns*Math.pow(n,this.ns)),this.rh=this.a*this.f0*Math.pow(u,this.ns),this.title||(this.title="Lambert Conformal Conic")}}function Go(e){var t=e.x,o=e.y;Math.abs(2*Math.abs(o)-Math.PI)<=f&&(o=re(o)*(c-2*f));var r,n,i=Math.abs(Math.abs(o)-c);if(i>f)r=ie(this.e,o,Math.sin(o)),n=this.a*this.f0*Math.pow(r,this.ns);else{if((i=o*this.ns)<=0)return null;n=0}var s=this.ns*ne(t-this.long0);return e.x=this.k0*(n*Math.sin(s))+this.x0,e.y=this.k0*(this.rh-n*Math.cos(s))+this.y0,e}function Fo(e){var t,o,r,n,i,s=(e.x-this.x0)/this.k0,a=this.rh-(e.y-this.y0)/this.k0;this.ns>0?(t=Math.sqrt(s*s+a*a),o=1):(t=-Math.sqrt(s*s+a*a),o=-1);var l=0;if(0!==t&&(l=Math.atan2(o*s,o*a)),0!==t||this.ns>0){if(o=1/this.ns,r=Math.pow(t/(this.a*this.f0),o),-9999===(n=se(this.e,r)))return null}else n=-c;return i=ne(l/this.ns+this.long0),e.x=i,e.y=n,e}var Uo={init:Do,forward:Go,inverse:Fo,names:["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_1SP","Lambert_Conformal_Conic_2SP","lcc"]};function Bo(){this.a=6377397.155,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.4334234309119251),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq}function zo(e){var t,o,r,n,i,s,a,l=e.x,u=e.y,c=ne(l-this.long0);return t=Math.pow((1+this.e*Math.sin(u))/(1-this.e*Math.sin(u)),this.alfa*this.e/2),o=2*(Math.atan(this.k*Math.pow(Math.tan(u/2+this.s45),this.alfa)/t)-this.s45),r=-c*this.alfa,n=Math.asin(Math.cos(this.ad)*Math.sin(o)+Math.sin(this.ad)*Math.cos(o)*Math.cos(r)),i=Math.asin(Math.cos(o)*Math.sin(r)/Math.cos(n)),s=this.n*i,a=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(n/2+this.s45),this.n),e.y=a*Math.cos(s)/1,e.x=a*Math.sin(s)/1,this.czech||(e.y*=-1,e.x*=-1),e}function Vo(e){var t,o,r,n,i,s,a,l=e.x;e.x=e.y,e.y=l,this.czech||(e.y*=-1,e.x*=-1),i=Math.sqrt(e.x*e.x+e.y*e.y),n=Math.atan2(e.y,e.x)/Math.sin(this.s0),r=2*(Math.atan(Math.pow(this.ro0/i,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),t=Math.asin(Math.cos(this.ad)*Math.sin(r)-Math.sin(this.ad)*Math.cos(r)*Math.cos(n)),o=Math.asin(Math.cos(r)*Math.sin(n)/Math.cos(t)),e.x=this.long0-o/this.alfa,s=t,a=0;var u=0;do{e.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(t/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(s))/(1-this.e*Math.sin(s)),this.e/2))-this.s45),Math.abs(s-e.y)<1e-10&&(a=1),s=e.y,u+=1}while(0===a&&u<15);return u>=15?null:e}var Wo={init:Bo,forward:zo,inverse:Vo,names:["Krovak","krovak"]},qo=function(e,t,o,r,n){return e*n-t*Math.sin(2*n)+o*Math.sin(4*n)-r*Math.sin(6*n)},Yo=function(e){return 1-.25*e*(1+e/16*(3+1.25*e))},Ho=function(e){return.375*e*(1+.25*e*(1+.46875*e))},Xo=function(e){return.05859375*e*e*(1+.75*e)},Zo=function(e){return e*e*e*(35/3072)},Ko=function(e,t,o){var r=t*o;return e/Math.sqrt(1-r*r)},Jo=function(e){return Math.abs(e)<c?e:e-re(e)*Math.PI},Qo=function(e,t,o,r,n){var i,s;i=e/t;for(var a=0;a<15;a++)if(i+=s=(e-(t*i-o*Math.sin(2*i)+r*Math.sin(4*i)-n*Math.sin(6*i)))/(t-2*o*Math.cos(2*i)+4*r*Math.cos(4*i)-6*n*Math.cos(6*i)),Math.abs(s)<=1e-10)return i;return NaN};function $o(){this.sphere||(this.e0=Yo(this.es),this.e1=Ho(this.es),this.e2=Xo(this.es),this.e3=Zo(this.es),this.ml0=this.a*qo(this.e0,this.e1,this.e2,this.e3,this.lat0))}function er(e){var t,o,r=e.x,n=e.y;if(r=ne(r-this.long0),this.sphere)t=this.a*Math.asin(Math.cos(n)*Math.sin(r)),o=this.a*(Math.atan2(Math.tan(n),Math.cos(r))-this.lat0);else{var i=Math.sin(n),s=Math.cos(n),a=Ko(this.a,this.e,i),l=Math.tan(n)*Math.tan(n),u=r*Math.cos(n),c=u*u,d=this.es*s*s/(1-this.es);t=a*u*(1-c*l*(1/6-(8-l+8*d)*c/120)),o=this.a*qo(this.e0,this.e1,this.e2,this.e3,n)-this.ml0+a*i/s*c*(.5+(5-l+6*d)*c/24)}return e.x=t+this.x0,e.y=o+this.y0,e}function tr(e){e.x-=this.x0,e.y-=this.y0;var t,o,r=e.x/this.a,n=e.y/this.a;if(this.sphere){var i=n+this.lat0;t=Math.asin(Math.sin(i)*Math.cos(r)),o=Math.atan2(Math.tan(r),Math.cos(i))}else{var s=this.ml0/this.a+n,a=Qo(s,this.e0,this.e1,this.e2,this.e3);if(Math.abs(Math.abs(a)-c)<=f)return e.x=this.long0,e.y=c,n<0&&(e.y*=-1),e;var l=Ko(this.a,this.e,Math.sin(a)),u=l*l*l/this.a/this.a*(1-this.es),d=Math.pow(Math.tan(a),2),p=r*this.a/l,h=p*p;t=a-l*Math.tan(a)/u*p*p*(.5-(1+3*d)*p*p/24),o=p*(1-h*(d/3+(1+3*d)*d*h/15))/Math.cos(a)}return e.x=ne(o+this.long0),e.y=Jo(t),e}var or={init:$o,forward:er,inverse:tr,names:["Cassini","Cassini_Soldner","cass"]},rr=function(e,t){var o;return e>1e-7?(1-e*e)*(t/(1-(o=e*t)*o)-.5/e*Math.log((1-o)/(1+o))):2*t};function nr(){var e,t=Math.abs(this.lat0);if(Math.abs(t-c)<f?this.mode=this.lat0<0?this.S_POLE:this.N_POLE:Math.abs(t)<f?this.mode=this.EQUIT:this.mode=this.OBLIQ,this.es>0)switch(this.qp=rr(this.e,1),this.mmf=.5/(1-this.es),this.apa=hr(this.es),this.mode){case this.N_POLE:case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),e=Math.sin(this.lat0),this.sinb1=rr(this.e,e)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*e*e)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))}function ir(e){var t,o,r,n,i,s,a,l,u,d,p=e.x,h=e.y;if(p=ne(p-this.long0),this.sphere){if(i=Math.sin(h),d=Math.cos(h),r=Math.cos(p),this.mode===this.OBLIQ||this.mode===this.EQUIT){if((o=this.mode===this.EQUIT?1+d*r:1+this.sinph0*i+this.cosph0*d*r)<=f)return null;t=(o=Math.sqrt(2/o))*d*Math.sin(p),o*=this.mode===this.EQUIT?i:this.cosph0*i-this.sinph0*d*r}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(r=-r),Math.abs(h+this.lat0)<f)return null;o=y-.5*h,t=(o=2*(this.mode===this.S_POLE?Math.cos(o):Math.sin(o)))*Math.sin(p),o*=r}}else{switch(a=0,l=0,u=0,r=Math.cos(p),n=Math.sin(p),i=Math.sin(h),s=rr(this.e,i),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(a=s/this.qp,l=Math.sqrt(1-a*a)),this.mode){case this.OBLIQ:u=1+this.sinb1*a+this.cosb1*l*r;break;case this.EQUIT:u=1+l*r;break;case this.N_POLE:u=c+h,s=this.qp-s;break;case this.S_POLE:u=h-c,s=this.qp+s}if(Math.abs(u)<f)return null;switch(this.mode){case this.OBLIQ:case this.EQUIT:u=Math.sqrt(2/u),o=this.mode===this.OBLIQ?this.ymf*u*(this.cosb1*a-this.sinb1*l*r):(u=Math.sqrt(2/(1+l*r)))*a*this.ymf,t=this.xmf*u*l*n;break;case this.N_POLE:case this.S_POLE:s>=0?(t=(u=Math.sqrt(s))*n,o=r*(this.mode===this.S_POLE?u:-u)):t=o=0}}return e.x=this.a*t+this.x0,e.y=this.a*o+this.y0,e}function sr(e){e.x-=this.x0,e.y-=this.y0;var t,o,r,n,i,s,a,l=e.x/this.a,u=e.y/this.a;if(this.sphere){var d,p=0,h=0;if((o=.5*(d=Math.sqrt(l*l+u*u)))>1)return null;switch(o=2*Math.asin(o),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(h=Math.sin(o),p=Math.cos(o)),this.mode){case this.EQUIT:o=Math.abs(d)<=f?0:Math.asin(u*h/d),l*=h,u=p*d;break;case this.OBLIQ:o=Math.abs(d)<=f?this.lat0:Math.asin(p*this.sinph0+u*h*this.cosph0/d),l*=h*this.cosph0,u=(p-Math.sin(o)*this.sinph0)*d;break;case this.N_POLE:u=-u,o=c-o;break;case this.S_POLE:o-=c}t=0!==u||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(l,u):0}else{if(a=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(l/=this.dd,u*=this.dd,(s=Math.sqrt(l*l+u*u))<f)return e.x=this.long0,e.y=this.lat0,e;n=2*Math.asin(.5*s/this.rq),r=Math.cos(n),l*=n=Math.sin(n),this.mode===this.OBLIQ?(a=r*this.sinb1+u*n*this.cosb1/s,i=this.qp*a,u=s*this.cosb1*r-u*this.sinb1*n):(a=u*n/s,i=this.qp*a,u=s*r)}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(u=-u),!(i=l*l+u*u))return e.x=this.long0,e.y=this.lat0,e;a=1-i/this.qp,this.mode===this.S_POLE&&(a=-a)}t=Math.atan2(l,u),o=fr(Math.asin(a),this.apa)}return e.x=ne(this.long0+t),e.y=o,e}var ar=.3333333333333333,lr=.17222222222222222,ur=.10257936507936508,cr=.06388888888888888,dr=.0664021164021164,pr=.016415012942191543;function hr(e){var t,o=[];return o[0]=e*ar,t=e*e,o[0]+=t*lr,o[1]=t*cr,t*=e,o[0]+=t*ur,o[1]+=t*dr,o[2]=t*pr,o}function fr(e,t){var o=e+e;return e+t[0]*Math.sin(o)+t[1]*Math.sin(o+o)+t[2]*Math.sin(o+o+o)}var mr={init:nr,forward:ir,inverse:sr,names:["Lambert Azimuthal Equal Area","Lambert_Azimuthal_Equal_Area","laea"],S_POLE:1,N_POLE:2,EQUIT:3,OBLIQ:4},gr=function(e){return Math.abs(e)>1&&(e=e>1?1:-1),Math.asin(e)};function yr(){Math.abs(this.lat1+this.lat2)<f||(this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e3=Math.sqrt(this.es),this.sin_po=Math.sin(this.lat1),this.cos_po=Math.cos(this.lat1),this.t1=this.sin_po,this.con=this.sin_po,this.ms1=oe(this.e3,this.sin_po,this.cos_po),this.qs1=rr(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat2),this.cos_po=Math.cos(this.lat2),this.t2=this.sin_po,this.ms2=oe(this.e3,this.sin_po,this.cos_po),this.qs2=rr(this.e3,this.sin_po,this.cos_po),this.sin_po=Math.sin(this.lat0),this.cos_po=Math.cos(this.lat0),this.t3=this.sin_po,this.qs0=rr(this.e3,this.sin_po,this.cos_po),Math.abs(this.lat1-this.lat2)>f?this.ns0=(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.ns0=this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)}function vr(e){var t=e.x,o=e.y;this.sin_phi=Math.sin(o),this.cos_phi=Math.cos(o);var r=rr(this.e3,this.sin_phi,this.cos_phi),n=this.a*Math.sqrt(this.c-this.ns0*r)/this.ns0,i=this.ns0*ne(t-this.long0),s=n*Math.sin(i)+this.x0,a=this.rh-n*Math.cos(i)+this.y0;return e.x=s,e.y=a,e}function _r(e){var t,o,r,n,i,s;return e.x-=this.x0,e.y=this.rh-e.y+this.y0,this.ns0>=0?(t=Math.sqrt(e.x*e.x+e.y*e.y),r=1):(t=-Math.sqrt(e.x*e.x+e.y*e.y),r=-1),n=0,0!==t&&(n=Math.atan2(r*e.x,r*e.y)),r=t*this.ns0/this.a,this.sphere?s=Math.asin((this.c-r*r)/(2*this.ns0)):(o=(this.c-r*r)/this.ns0,s=this.phi1z(this.e3,o)),i=ne(n/this.ns0+this.long0),e.x=i,e.y=s,e}function br(e,t){var o,r,n,i,s=gr(.5*t);if(e<f)return s;for(var a=e*e,l=1;l<=25;l++)if(s+=i=.5*(n=1-(r=e*(o=Math.sin(s)))*r)*n/Math.cos(s)*(t/(1-a)-o/n+.5/e*Math.log((1-r)/(1+r))),Math.abs(i)<=1e-7)return s;return null}var Ar={init:yr,forward:vr,inverse:_r,names:["Albers_Conic_Equal_Area","Albers","aea"],phi1z:br};function Cr(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0),this.infinity_dist=1e3*this.a,this.rc=1}function Er(e){var t,o,r,n,i,s,a,l,u=e.x,c=e.y;return r=ne(u-this.long0),t=Math.sin(c),o=Math.cos(c),n=Math.cos(r),i=1,(s=this.sin_p14*t+this.cos_p14*o*n)>0||Math.abs(s)<=f?(a=this.x0+this.a*i*o*Math.sin(r)/s,l=this.y0+this.a*i*(this.cos_p14*t-this.sin_p14*o*n)/s):(a=this.x0+this.infinity_dist*o*Math.sin(r),l=this.y0+this.infinity_dist*(this.cos_p14*t-this.sin_p14*o*n)),e.x=a,e.y=l,e}function Sr(e){var t,o,r,n,i,s;return e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,(t=Math.sqrt(e.x*e.x+e.y*e.y))?(n=Math.atan2(t,this.rc),o=Math.sin(n),r=Math.cos(n),s=gr(r*this.sin_p14+e.y*o*this.cos_p14/t),i=Math.atan2(e.x*o,t*this.cos_p14*r-e.y*this.sin_p14*o),i=ne(this.long0+i)):(s=this.phic0,i=0),e.x=i,e.y=s,e}var wr={init:Cr,forward:Er,inverse:Sr,names:["gnom"]},Or=function(e,t){var o=1-(1-e*e)/(2*e)*Math.log((1-e)/(1+e));if(Math.abs(Math.abs(t)-o)<1e-6)return t<0?-1*c:c;for(var r,n,i,s,a=Math.asin(.5*t),l=0;l<30;l++)if(n=Math.sin(a),i=Math.cos(a),s=e*n,a+=r=Math.pow(1-s*s,2)/(2*i)*(t/(1-e*e)-n/(1-s*s)+.5/e*Math.log((1-s)/(1+s))),Math.abs(r)<=1e-10)return a;return NaN};function Ir(){this.sphere||(this.k0=oe(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)))}function xr(e){var t,o,r=e.x,n=e.y,i=ne(r-this.long0);if(this.sphere)t=this.x0+this.a*i*Math.cos(this.lat_ts),o=this.y0+this.a*Math.sin(n)/Math.cos(this.lat_ts);else{var s=rr(this.e,Math.sin(n));t=this.x0+this.a*this.k0*i,o=this.y0+this.a*s*.5/this.k0}return e.x=t,e.y=o,e}function jr(e){var t,o;return e.x-=this.x0,e.y-=this.y0,this.sphere?(t=ne(this.long0+e.x/this.a/Math.cos(this.lat_ts)),o=Math.asin(e.y/this.a*Math.cos(this.lat_ts))):(o=Or(this.e,2*e.y*this.k0/this.a),t=ne(this.long0+e.x/(this.a*this.k0))),e.x=t,e.y=o,e}var Tr={init:Ir,forward:xr,inverse:jr,names:["cea"]};function Pr(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Equidistant Cylindrical (Plate Carre)",this.rc=Math.cos(this.lat_ts)}function Mr(e){var t=e.x,o=e.y,r=ne(t-this.long0),n=Jo(o-this.lat0);return e.x=this.x0+this.a*r*this.rc,e.y=this.y0+this.a*n,e}function Rr(e){var t=e.x,o=e.y;return e.x=ne(this.long0+(t-this.x0)/(this.a*this.rc)),e.y=Jo(this.lat0+(o-this.y0)/this.a),e}var Lr={init:Pr,forward:Mr,inverse:Rr,names:["Equirectangular","Equidistant_Cylindrical","eqc"]},kr=20;function Nr(){this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=Yo(this.es),this.e1=Ho(this.es),this.e2=Xo(this.es),this.e3=Zo(this.es),this.ml0=this.a*qo(this.e0,this.e1,this.e2,this.e3,this.lat0)}function Dr(e){var t,o,r,n=e.x,i=e.y,s=ne(n-this.long0);if(r=s*Math.sin(i),this.sphere)Math.abs(i)<=f?(t=this.a*s,o=-1*this.a*this.lat0):(t=this.a*Math.sin(r)/Math.tan(i),o=this.a*(Jo(i-this.lat0)+(1-Math.cos(r))/Math.tan(i)));else if(Math.abs(i)<=f)t=this.a*s,o=-1*this.ml0;else{var a=Ko(this.a,this.e,Math.sin(i))/Math.tan(i);t=a*Math.sin(r),o=this.a*qo(this.e0,this.e1,this.e2,this.e3,i)-this.ml0+a*(1-Math.cos(r))}return e.x=t+this.x0,e.y=o+this.y0,e}function Gr(e){var t,o,r,n,i,s,a,l,u;if(r=e.x-this.x0,n=e.y-this.y0,this.sphere)if(Math.abs(n+this.a*this.lat0)<=f)t=ne(r/this.a+this.long0),o=0;else{var c;for(s=this.lat0+n/this.a,a=r*r/this.a/this.a+s*s,l=s,i=kr;i;--i)if(l+=u=-1*(s*(l*(c=Math.tan(l))+1)-l-.5*(l*l+a)*c)/((l-s)/c-1),Math.abs(u)<=f){o=l;break}t=ne(this.long0+Math.asin(r*Math.tan(l)/this.a)/Math.sin(o))}else if(Math.abs(n+this.ml0)<=f)o=0,t=ne(this.long0+r/this.a);else{var d,p,h,m,g;for(s=(this.ml0+n)/this.a,a=r*r/this.a/this.a+s*s,l=s,i=kr;i;--i)if(g=this.e*Math.sin(l),d=Math.sqrt(1-g*g)*Math.tan(l),p=this.a*qo(this.e0,this.e1,this.e2,this.e3,l),h=this.e0-2*this.e1*Math.cos(2*l)+4*this.e2*Math.cos(4*l)-6*this.e3*Math.cos(6*l),l-=u=(s*(d*(m=p/this.a)+1)-m-.5*d*(m*m+a))/(this.es*Math.sin(2*l)*(m*m+a-2*s*m)/(4*d)+(s-m)*(d*h-2/Math.sin(2*l))-h),Math.abs(u)<=f){o=l;break}d=Math.sqrt(1-this.es*Math.pow(Math.sin(o),2))*Math.tan(o),t=ne(this.long0+Math.asin(r*d/this.a)/Math.sin(o))}return e.x=t,e.y=o,e}var Fr={init:Nr,forward:Dr,inverse:Gr,names:["Polyconic","poly"]};function Ur(){this.A=[],this.A[1]=.6399175073,this.A[2]=-.1358797613,this.A[3]=.063294409,this.A[4]=-.02526853,this.A[5]=.0117879,this.A[6]=-.0055161,this.A[7]=.0026906,this.A[8]=-.001333,this.A[9]=67e-5,this.A[10]=-34e-5,this.B_re=[],this.B_im=[],this.B_re[1]=.7557853228,this.B_im[1]=0,this.B_re[2]=.249204646,this.B_im[2]=.003371507,this.B_re[3]=-.001541739,this.B_im[3]=.04105856,this.B_re[4]=-.10162907,this.B_im[4]=.01727609,this.B_re[5]=-.26623489,this.B_im[5]=-.36249218,this.B_re[6]=-.6870983,this.B_im[6]=-1.1651967,this.C_re=[],this.C_im=[],this.C_re[1]=1.3231270439,this.C_im[1]=0,this.C_re[2]=-.577245789,this.C_im[2]=-.007809598,this.C_re[3]=.508307513,this.C_im[3]=-.112208952,this.C_re[4]=-.15094762,this.C_im[4]=.18200602,this.C_re[5]=1.01418179,this.C_im[5]=1.64497696,this.C_re[6]=1.9660549,this.C_im[6]=2.5127645,this.D=[],this.D[1]=1.5627014243,this.D[2]=.5185406398,this.D[3]=-.03333098,this.D[4]=-.1052906,this.D[5]=-.0368594,this.D[6]=.007317,this.D[7]=.0122,this.D[8]=.00394,this.D[9]=-.0013}function Br(e){var t,o=e.x,r=e.y-this.lat0,n=o-this.long0,i=r/u*1e-5,s=n,a=1,l=0;for(t=1;t<=10;t++)a*=i,l+=this.A[t]*a;var c,d=l,p=s,h=1,f=0,m=0,g=0;for(t=1;t<=6;t++)c=f*d+h*p,h=h*d-f*p,f=c,m=m+this.B_re[t]*h-this.B_im[t]*f,g=g+this.B_im[t]*h+this.B_re[t]*f;return e.x=g*this.a+this.x0,e.y=m*this.a+this.y0,e}function zr(e){var t,o,r=e.x,n=e.y,i=r-this.x0,s=(n-this.y0)/this.a,a=i/this.a,l=1,c=0,d=0,p=0;for(t=1;t<=6;t++)o=c*s+l*a,l=l*s-c*a,c=o,d=d+this.C_re[t]*l-this.C_im[t]*c,p=p+this.C_im[t]*l+this.C_re[t]*c;for(var h=0;h<this.iterations;h++){var f,m=d,g=p,y=s,v=a;for(t=2;t<=6;t++)f=g*d+m*p,m=m*d-g*p,g=f,y+=(t-1)*(this.B_re[t]*m-this.B_im[t]*g),v+=(t-1)*(this.B_im[t]*m+this.B_re[t]*g);m=1,g=0;var _=this.B_re[1],b=this.B_im[1];for(t=2;t<=6;t++)f=g*d+m*p,m=m*d-g*p,g=f,_+=t*(this.B_re[t]*m-this.B_im[t]*g),b+=t*(this.B_im[t]*m+this.B_re[t]*g);var A=_*_+b*b;d=(y*_+v*b)/A,p=(v*_-y*b)/A}var C=d,E=p,S=1,w=0;for(t=1;t<=9;t++)S*=C,w+=this.D[t]*S;var O=this.lat0+w*u*1e5,I=this.long0+E;return e.x=I,e.y=O,e}var Vr={init:Ur,forward:Br,inverse:zr,names:["New_Zealand_Map_Grid","nzmg"]};function Wr(){}function qr(e){var t=e.x,o=e.y,r=ne(t-this.long0),n=this.x0+this.a*r,i=this.y0+this.a*Math.log(Math.tan(Math.PI/4+o/2.5))*1.25;return e.x=n,e.y=i,e}function Yr(e){e.x-=this.x0,e.y-=this.y0;var t=ne(this.long0+e.x/this.a),o=2.5*(Math.atan(Math.exp(.8*e.y/this.a))-Math.PI/4);return e.x=t,e.y=o,e}var Hr={init:Wr,forward:qr,inverse:Yr,names:["Miller_Cylindrical","mill"]},Xr=20;function Zr(){this.sphere?(this.n=1,this.m=0,this.es=0,this.C_y=Math.sqrt((this.m+1)/this.n),this.C_x=this.C_y/(this.m+1)):this.en=zt(this.es)}function Kr(e){var t,o,r=e.x,n=e.y;if(r=ne(r-this.long0),this.sphere){if(this.m)for(var i=this.n*Math.sin(n),s=Xr;s;--s){var a=(this.m*n+Math.sin(n)-i)/(this.m+Math.cos(n));if(n-=a,Math.abs(a)<f)break}else n=1!==this.n?Math.asin(this.n*Math.sin(n)):n;t=this.a*this.C_x*r*(this.m+Math.cos(n)),o=this.a*this.C_y*n}else{var l=Math.sin(n),u=Math.cos(n);o=this.a*Vt(n,l,u,this.en),t=this.a*r*u/Math.sqrt(1-this.es*l*l)}return e.x=t,e.y=o,e}function Jr(e){var t,o,r,n;return e.x-=this.x0,r=e.x/this.a,e.y-=this.y0,t=e.y/this.a,this.sphere?(t/=this.C_y,r/=this.C_x*(this.m+Math.cos(t)),this.m?t=gr((this.m*t+Math.sin(t))/this.n):1!==this.n&&(t=gr(Math.sin(t)/this.n)),r=ne(r+this.long0),t=Jo(t)):(t=qt(e.y/this.a,this.es,this.en),(n=Math.abs(t))<c?(n=Math.sin(t),o=this.long0+e.x*Math.sqrt(1-this.es*n*n)/(this.a*Math.cos(t)),r=ne(o)):n-f<c&&(r=this.long0)),e.x=r,e.y=t,e}var Qr={init:Zr,forward:Kr,inverse:Jr,names:["Sinusoidal","sinu"]};function $r(){}function en(e){for(var t=e.x,o=e.y,r=ne(t-this.long0),n=o,i=Math.PI*Math.sin(o);;){var s=-(n+Math.sin(n)-i)/(1+Math.cos(n));if(n+=s,Math.abs(s)<f)break}n/=2,Math.PI/2-Math.abs(o)<f&&(r=0);var a=.900316316158*this.a*r*Math.cos(n)+this.x0,l=1.4142135623731*this.a*Math.sin(n)+this.y0;return e.x=a,e.y=l,e}function tn(e){var t,o;e.x-=this.x0,e.y-=this.y0,o=e.y/(1.4142135623731*this.a),Math.abs(o)>.999999999999&&(o=.999999999999),t=Math.asin(o);var r=ne(this.long0+e.x/(.900316316158*this.a*Math.cos(t)));r<-Math.PI&&(r=-Math.PI),r>Math.PI&&(r=Math.PI),o=(2*t+Math.sin(2*t))/Math.PI,Math.abs(o)>1&&(o=1);var n=Math.asin(o);return e.x=r,e.y=n,e}var on={init:$r,forward:en,inverse:tn,names:["Mollweide","moll"]};function rn(){Math.abs(this.lat1+this.lat2)<f||(this.lat2=this.lat2||this.lat1,this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=Yo(this.es),this.e1=Ho(this.es),this.e2=Xo(this.es),this.e3=Zo(this.es),this.sinphi=Math.sin(this.lat1),this.cosphi=Math.cos(this.lat1),this.ms1=oe(this.e,this.sinphi,this.cosphi),this.ml1=qo(this.e0,this.e1,this.e2,this.e3,this.lat1),Math.abs(this.lat1-this.lat2)<f?this.ns=this.sinphi:(this.sinphi=Math.sin(this.lat2),this.cosphi=Math.cos(this.lat2),this.ms2=oe(this.e,this.sinphi,this.cosphi),this.ml2=qo(this.e0,this.e1,this.e2,this.e3,this.lat2),this.ns=(this.ms1-this.ms2)/(this.ml2-this.ml1)),this.g=this.ml1+this.ms1/this.ns,this.ml0=qo(this.e0,this.e1,this.e2,this.e3,this.lat0),this.rh=this.a*(this.g-this.ml0))}function nn(e){var t,o=e.x,r=e.y;if(this.sphere)t=this.a*(this.g-r);else{var n=qo(this.e0,this.e1,this.e2,this.e3,r);t=this.a*(this.g-n)}var i=this.ns*ne(o-this.long0),s=this.x0+t*Math.sin(i),a=this.y0+this.rh-t*Math.cos(i);return e.x=s,e.y=a,e}function sn(e){var t,o,r,n;e.x-=this.x0,e.y=this.rh-e.y+this.y0,this.ns>=0?(o=Math.sqrt(e.x*e.x+e.y*e.y),t=1):(o=-Math.sqrt(e.x*e.x+e.y*e.y),t=-1);var i=0;if(0!==o&&(i=Math.atan2(t*e.x,t*e.y)),this.sphere)return n=ne(this.long0+i/this.ns),r=Jo(this.g-o/this.a),e.x=n,e.y=r,e;var s=this.g-o/this.a;return r=Qo(s,this.e0,this.e1,this.e2,this.e3),n=ne(this.long0+i/this.ns),e.x=n,e.y=r,e}var an={init:rn,forward:nn,inverse:sn,names:["Equidistant_Conic","eqdc"]};function ln(){this.R=this.a}function un(e){var t,o,r=e.x,n=e.y,i=ne(r-this.long0);Math.abs(n)<=f&&(t=this.x0+this.R*i,o=this.y0);var s=gr(2*Math.abs(n/Math.PI));(Math.abs(i)<=f||Math.abs(Math.abs(n)-c)<=f)&&(t=this.x0,o=n>=0?this.y0+Math.PI*this.R*Math.tan(.5*s):this.y0+Math.PI*this.R*-Math.tan(.5*s));var a=.5*Math.abs(Math.PI/i-i/Math.PI),l=a*a,u=Math.sin(s),d=Math.cos(s),p=d/(u+d-1),h=p*p,m=p*(2/u-1),g=m*m,y=Math.PI*this.R*(a*(p-g)+Math.sqrt(l*(p-g)*(p-g)-(g+l)*(h-g)))/(g+l);i<0&&(y=-y),t=this.x0+y;var v=l+p;return y=Math.PI*this.R*(m*v-a*Math.sqrt((g+l)*(l+1)-v*v))/(g+l),o=n>=0?this.y0+y:this.y0-y,e.x=t,e.y=o,e}function cn(e){var t,o,r,n,i,s,a,l,u,c,d,p;return e.x-=this.x0,e.y-=this.y0,d=Math.PI*this.R,i=(r=e.x/d)*r+(n=e.y/d)*n,d=3*(n*n/(l=-2*(s=-Math.abs(n)*(1+i))+1+2*n*n+i*i)+(2*(a=s-2*n*n+r*r)*a*a/l/l/l-9*s*a/l/l)/27)/(u=(s-a*a/3/l)/l)/(c=2*Math.sqrt(-u/3)),Math.abs(d)>1&&(d=d>=0?1:-1),p=Math.acos(d)/3,o=e.y>=0?(-c*Math.cos(p+Math.PI/3)-a/3/l)*Math.PI:-(-c*Math.cos(p+Math.PI/3)-a/3/l)*Math.PI,t=Math.abs(r)<f?this.long0:ne(this.long0+Math.PI*(i-1+Math.sqrt(1+2*(r*r-n*n)+i*i))/2/r),e.x=t,e.y=o,e}var dn={init:ln,forward:un,inverse:cn,names:["Van_der_Grinten_I","VanDerGrinten","vandg"]};function pn(){this.sin_p12=Math.sin(this.lat0),this.cos_p12=Math.cos(this.lat0)}function hn(e){var t,o,r,n,i,s,a,l,u,d,p,h,m,g,y,v,_,b,A,C,E,S,w=e.x,O=e.y,I=Math.sin(e.y),x=Math.cos(e.y),j=ne(w-this.long0);return this.sphere?Math.abs(this.sin_p12-1)<=f?(e.x=this.x0+this.a*(c-O)*Math.sin(j),e.y=this.y0-this.a*(c-O)*Math.cos(j),e):Math.abs(this.sin_p12+1)<=f?(e.x=this.x0+this.a*(c+O)*Math.sin(j),e.y=this.y0+this.a*(c+O)*Math.cos(j),e):(b=this.sin_p12*I+this.cos_p12*x*Math.cos(j),_=(v=Math.acos(b))?v/Math.sin(v):1,e.x=this.x0+this.a*_*x*Math.sin(j),e.y=this.y0+this.a*_*(this.cos_p12*I-this.sin_p12*x*Math.cos(j)),e):(t=Yo(this.es),o=Ho(this.es),r=Xo(this.es),n=Zo(this.es),Math.abs(this.sin_p12-1)<=f?(i=this.a*qo(t,o,r,n,c),s=this.a*qo(t,o,r,n,O),e.x=this.x0+(i-s)*Math.sin(j),e.y=this.y0-(i-s)*Math.cos(j),e):Math.abs(this.sin_p12+1)<=f?(i=this.a*qo(t,o,r,n,c),s=this.a*qo(t,o,r,n,O),e.x=this.x0+(i+s)*Math.sin(j),e.y=this.y0+(i+s)*Math.cos(j),e):(a=I/x,l=Ko(this.a,this.e,this.sin_p12),u=Ko(this.a,this.e,I),d=Math.atan((1-this.es)*a+this.es*l*this.sin_p12/(u*x)),A=0===(p=Math.atan2(Math.sin(j),this.cos_p12*Math.tan(d)-this.sin_p12*Math.cos(j)))?Math.asin(this.cos_p12*Math.sin(d)-this.sin_p12*Math.cos(d)):Math.abs(Math.abs(p)-Math.PI)<=f?-Math.asin(this.cos_p12*Math.sin(d)-this.sin_p12*Math.cos(d)):Math.asin(Math.sin(j)*Math.cos(d)/Math.sin(p)),h=this.e*this.sin_p12/Math.sqrt(1-this.es),v=l*A*(1-(C=A*A)*(y=(m=this.e*this.cos_p12*Math.cos(p)/Math.sqrt(1-this.es))*m)*(1-y)/6+(E=C*A)/8*(g=h*m)*(1-2*y)+(S=E*A)/120*(y*(4-7*y)-3*h*h*(1-7*y))-S*A/48*g),e.x=this.x0+v*Math.sin(p),e.y=this.y0+v*Math.cos(p),e))}function fn(e){var t,o,r,n,i,s,a,l,u,d,p,h,m,g,y,v,_,b,A,C,E,S,w;if(e.x-=this.x0,e.y-=this.y0,this.sphere){if((t=Math.sqrt(e.x*e.x+e.y*e.y))>2*c*this.a)return;return o=t/this.a,r=Math.sin(o),n=Math.cos(o),i=this.long0,Math.abs(t)<=f?s=this.lat0:(s=gr(n*this.sin_p12+e.y*r*this.cos_p12/t),a=Math.abs(this.lat0)-c,i=Math.abs(a)<=f?this.lat0>=0?ne(this.long0+Math.atan2(e.x,-e.y)):ne(this.long0-Math.atan2(-e.x,e.y)):ne(this.long0+Math.atan2(e.x*r,t*this.cos_p12*n-e.y*this.sin_p12*r))),e.x=i,e.y=s,e}return l=Yo(this.es),u=Ho(this.es),d=Xo(this.es),p=Zo(this.es),Math.abs(this.sin_p12-1)<=f?(h=this.a*qo(l,u,d,p,c),t=Math.sqrt(e.x*e.x+e.y*e.y),s=Qo((h-t)/this.a,l,u,d,p),i=ne(this.long0+Math.atan2(e.x,-1*e.y)),e.x=i,e.y=s,e):Math.abs(this.sin_p12+1)<=f?(h=this.a*qo(l,u,d,p,c),t=Math.sqrt(e.x*e.x+e.y*e.y),s=Qo((t-h)/this.a,l,u,d,p),i=ne(this.long0+Math.atan2(e.x,e.y)),e.x=i,e.y=s,e):(t=Math.sqrt(e.x*e.x+e.y*e.y),y=Math.atan2(e.x,e.y),m=Ko(this.a,this.e,this.sin_p12),v=Math.cos(y),b=-(_=this.e*this.cos_p12*v)*_/(1-this.es),A=3*this.es*(1-b)*this.sin_p12*this.cos_p12*v/(1-this.es),S=1-b*(E=(C=t/m)-b*(1+b)*Math.pow(C,3)/6-A*(1+3*b)*Math.pow(C,4)/24)*E/2-C*E*E*E/6,g=Math.asin(this.sin_p12*Math.cos(E)+this.cos_p12*Math.sin(E)*v),i=ne(this.long0+Math.asin(Math.sin(y)*Math.sin(E)/Math.cos(g))),w=Math.sin(g),s=Math.atan2((w-this.es*S*this.sin_p12)*Math.tan(g),w*(1-this.es)),e.x=i,e.y=s,e)}var mn={init:pn,forward:hn,inverse:fn,names:["Azimuthal_Equidistant","aeqd"]};function gn(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0)}function yn(e){var t,o,r,n,i,s,a,l,u=e.x,c=e.y;return r=ne(u-this.long0),t=Math.sin(c),o=Math.cos(c),n=Math.cos(r),i=1,((s=this.sin_p14*t+this.cos_p14*o*n)>0||Math.abs(s)<=f)&&(a=this.a*i*o*Math.sin(r),l=this.y0+this.a*i*(this.cos_p14*t-this.sin_p14*o*n)),e.x=a,e.y=l,e}function vn(e){var t,o,r,n,i,s,a;return e.x-=this.x0,e.y-=this.y0,t=Math.sqrt(e.x*e.x+e.y*e.y),o=gr(t/this.a),r=Math.sin(o),n=Math.cos(o),s=this.long0,Math.abs(t)<=f?(a=this.lat0,e.x=s,e.y=a,e):(a=gr(n*this.sin_p14+e.y*r*this.cos_p14/t),i=Math.abs(this.lat0)-c,Math.abs(i)<=f?(s=this.lat0>=0?ne(this.long0+Math.atan2(e.x,-e.y)):ne(this.long0-Math.atan2(-e.x,e.y)),e.x=s,e.y=a,e):(s=ne(this.long0+Math.atan2(e.x*r,t*this.cos_p14*n-e.y*this.sin_p14*r)),e.x=s,e.y=a,e))}var _n={init:gn,forward:yn,inverse:vn,names:["ortho"]},bn={FRONT:1,RIGHT:2,BACK:3,LEFT:4,TOP:5,BOTTOM:6},An={AREA_0:1,AREA_1:2,AREA_2:3,AREA_3:4};function Cn(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Quadrilateralized Spherical Cube",this.lat0>=c-y/2?this.face=bn.TOP:this.lat0<=-(c-y/2)?this.face=bn.BOTTOM:Math.abs(this.long0)<=y?this.face=bn.FRONT:Math.abs(this.long0)<=c+y?this.face=this.long0>0?bn.RIGHT:bn.LEFT:this.face=bn.BACK,0!==this.es&&(this.one_minus_f=1-(this.a-this.b)/this.a,this.one_minus_f_squared=this.one_minus_f*this.one_minus_f)}function En(e){var t,o,r,n,i,s,a={x:0,y:0},l={value:0};if(e.x-=this.long0,t=0!==this.es?Math.atan(this.one_minus_f_squared*Math.tan(e.y)):e.y,o=e.x,this.face===bn.TOP)n=c-t,o>=y&&o<=c+y?(l.value=An.AREA_0,r=o-c):o>c+y||o<=-(c+y)?(l.value=An.AREA_1,r=o>0?o-_:o+_):o>-(c+y)&&o<=-y?(l.value=An.AREA_2,r=o+c):(l.value=An.AREA_3,r=o);else if(this.face===bn.BOTTOM)n=c+t,o>=y&&o<=c+y?(l.value=An.AREA_0,r=-o+c):o<y&&o>=-y?(l.value=An.AREA_1,r=-o):o<-y&&o>=-(c+y)?(l.value=An.AREA_2,r=-o-c):(l.value=An.AREA_3,r=o>0?-o+_:-o-_);else{var u,d,p,h,f,m;this.face===bn.RIGHT?o=On(o,+c):this.face===bn.BACK?o=On(o,+_):this.face===bn.LEFT&&(o=On(o,-c)),h=Math.sin(t),f=Math.cos(t),m=Math.sin(o),u=f*Math.cos(o),d=f*m,p=h,this.face===bn.FRONT?r=wn(n=Math.acos(u),p,d,l):this.face===bn.RIGHT?r=wn(n=Math.acos(d),p,-u,l):this.face===bn.BACK?r=wn(n=Math.acos(-u),p,-d,l):this.face===bn.LEFT?r=wn(n=Math.acos(-d),p,u,l):(n=r=0,l.value=An.AREA_0)}return s=Math.atan(12/_*(r+Math.acos(Math.sin(r)*Math.cos(y))-c)),i=Math.sqrt((1-Math.cos(n))/(Math.cos(s)*Math.cos(s))/(1-Math.cos(Math.atan(1/Math.cos(r))))),l.value===An.AREA_1?s+=c:l.value===An.AREA_2?s+=_:l.value===An.AREA_3&&(s+=1.5*_),a.x=i*Math.cos(s),a.y=i*Math.sin(s),a.x=a.x*this.a+this.x0,a.y=a.y*this.a+this.y0,e.x=a.x,e.y=a.y,e}function Sn(e){var t,o,r,n,i,s,a,l,u,d,p,h,f={lam:0,phi:0},m={value:0};if(e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,o=Math.atan(Math.sqrt(e.x*e.x+e.y*e.y)),t=Math.atan2(e.y,e.x),e.x>=0&&e.x>=Math.abs(e.y)?m.value=An.AREA_0:e.y>=0&&e.y>=Math.abs(e.x)?(m.value=An.AREA_1,t-=c):e.x<0&&-e.x>=Math.abs(e.y)?(m.value=An.AREA_2,t=t<0?t+_:t-_):(m.value=An.AREA_3,t+=c),u=_/12*Math.tan(t),i=Math.sin(u)/(Math.cos(u)-1/Math.sqrt(2)),s=Math.atan(i),(a=1-(r=Math.cos(t))*r*(n=Math.tan(o))*n*(1-Math.cos(Math.atan(1/Math.cos(s)))))<-1?a=-1:a>1&&(a=1),this.face===bn.TOP)l=Math.acos(a),f.phi=c-l,m.value===An.AREA_0?f.lam=s+c:m.value===An.AREA_1?f.lam=s<0?s+_:s-_:m.value===An.AREA_2?f.lam=s-c:f.lam=s;else if(this.face===bn.BOTTOM)l=Math.acos(a),f.phi=l-c,m.value===An.AREA_0?f.lam=-s+c:m.value===An.AREA_1?f.lam=-s:m.value===An.AREA_2?f.lam=-s-c:f.lam=s<0?-s-_:-s+_;else{var g,y,v;u=(g=a)*g,y=(u+=(v=u>=1?0:Math.sqrt(1-u)*Math.sin(s))*v)>=1?0:Math.sqrt(1-u),m.value===An.AREA_1?(u=y,y=-v,v=u):m.value===An.AREA_2?(y=-y,v=-v):m.value===An.AREA_3&&(u=y,y=v,v=-u),this.face===bn.RIGHT?(u=g,g=-y,y=u):this.face===bn.BACK?(g=-g,y=-y):this.face===bn.LEFT&&(u=g,g=y,y=-u),f.phi=Math.acos(-v)-c,f.lam=Math.atan2(y,g),this.face===bn.RIGHT?f.lam=On(f.lam,-c):this.face===bn.BACK?f.lam=On(f.lam,-_):this.face===bn.LEFT&&(f.lam=On(f.lam,+c))}return 0!==this.es&&(d=f.phi<0?1:0,p=Math.tan(f.phi),h=this.b/Math.sqrt(p*p+this.one_minus_f_squared),f.phi=Math.atan(Math.sqrt(this.a*this.a-h*h)/(this.one_minus_f*h)),d&&(f.phi=-f.phi)),f.lam+=this.long0,e.x=f.lam,e.y=f.phi,e}function wn(e,t,o,r){var n;return e<f?(r.value=An.AREA_0,n=0):(n=Math.atan2(t,o),Math.abs(n)<=y?r.value=An.AREA_0:n>y&&n<=c+y?(r.value=An.AREA_1,n-=c):n>c+y||n<=-(c+y)?(r.value=An.AREA_2,n=n>=0?n-_:n+_):(r.value=An.AREA_3,n+=c)),n}function On(e,t){var o=e+t;return o<-_?o+=v:o>+_&&(o-=v),o}var In={init:Cn,forward:En,inverse:Sn,names:["Quadrilateralized Spherical Cube","Quadrilateralized_Spherical_Cube","qsc"]},xn=[[1,22199e-21,-715515e-10,31103e-10],[.9986,-482243e-9,-24897e-9,-13309e-10],[.9954,-83103e-8,-448605e-10,-9.86701e-7],[.99,-.00135364,-59661e-9,36777e-10],[.9822,-.00167442,-449547e-11,-572411e-11],[.973,-.00214868,-903571e-10,1.8736e-8],[.96,-.00305085,-900761e-10,164917e-11],[.9427,-.00382792,-653386e-10,-26154e-10],[.9216,-.00467746,-10457e-8,481243e-11],[.8962,-.00536223,-323831e-10,-543432e-11],[.8679,-.00609363,-113898e-9,332484e-11],[.835,-.00698325,-640253e-10,9.34959e-7],[.7986,-.00755338,-500009e-10,9.35324e-7],[.7597,-.00798324,-35971e-9,-227626e-11],[.7186,-.00851367,-701149e-10,-86303e-10],[.6732,-.00986209,-199569e-9,191974e-10],[.6213,-.010418,883923e-10,624051e-11],[.5722,-.00906601,182e-6,624051e-11],[.5322,-.00677797,275608e-9,624051e-11]],jn=[[-520417e-23,.0124,121431e-23,-845284e-16],[.062,.0124,-1.26793e-9,4.22642e-10],[.124,.0124,5.07171e-9,-1.60604e-9],[.186,.0123999,-1.90189e-8,6.00152e-9],[.248,.0124002,7.10039e-8,-2.24e-8],[.31,.0123992,-2.64997e-7,8.35986e-8],[.372,.0124029,9.88983e-7,-3.11994e-7],[.434,.0123893,-369093e-11,-4.35621e-7],[.4958,.0123198,-102252e-10,-3.45523e-7],[.5571,.0121916,-154081e-10,-5.82288e-7],[.6176,.0119938,-241424e-10,-5.25327e-7],[.6769,.011713,-320223e-10,-5.16405e-7],[.7346,.0113541,-397684e-10,-6.09052e-7],[.7903,.0109107,-489042e-10,-104739e-11],[.8435,.0103431,-64615e-9,-1.40374e-9],[.8936,.00969686,-64636e-9,-8547e-9],[.9394,.00840947,-192841e-9,-42106e-10],[.9761,.00616527,-256e-6,-42106e-10],[1,.00328947,-319159e-9,-42106e-10]],Tn=.8487,Pn=1.3523,Mn=g/5,Rn=1/Mn,Ln=18,kn=function(e,t){return e[0]+t*(e[1]+t*(e[2]+t*e[3]))},Nn=function(e,t){return e[1]+t*(2*e[2]+3*t*e[3])};function Dn(e,t,o,r){for(var n=t;r;--r){var i=e(n);if(n-=i,Math.abs(i)<o)break}return n}function Gn(){this.x0=this.x0||0,this.y0=this.y0||0,this.long0=this.long0||0,this.es=0,this.title=this.title||"Robinson"}function Fn(e){var t=ne(e.x-this.long0),o=Math.abs(e.y),r=Math.floor(o*Mn);r<0?r=0:r>=Ln&&(r=Ln-1),o=g*(o-Rn*r);var n={x:kn(xn[r],o)*t,y:kn(jn[r],o)};return e.y<0&&(n.y=-n.y),n.x=n.x*this.a*Tn+this.x0,n.y=n.y*this.a*Pn+this.y0,n}function Un(e){var t={x:(e.x-this.x0)/(this.a*Tn),y:Math.abs(e.y-this.y0)/(this.a*Pn)};if(t.y>=1)t.x/=xn[Ln][0],t.y=e.y<0?-c:c;else{var o=Math.floor(t.y*Ln);for(o<0?o=0:o>=Ln&&(o=Ln-1);;)if(jn[o][0]>t.y)--o;else{if(!(jn[o+1][0]<=t.y))break;++o}var r=jn[o],n=5*(t.y-r[0])/(jn[o+1][0]-r[0]);n=Dn((function(e){return(kn(r,e)-t.y)/Nn(r,e)}),n,f,100),t.x/=kn(xn[o],n),t.y=(5*o+n)*m,e.y<0&&(t.y=-t.y)}return t.x=ne(t.x+this.long0),t}var Bn={init:Gn,forward:Fn,inverse:Un,names:["Robinson","robin"]};function zn(){this.name="geocent"}function Vn(e){return Fe(e,this.es,this.a)}function Wn(e){return Ue(e,this.es,this.a,this.b)}var qn={init:zn,forward:Vn,inverse:Wn,names:["Geocentric","geocentric","geocent","Geocent"]},Yn={N_POLE:0,S_POLE:1,EQUIT:2,OBLIQ:3},Hn={h:{def:1e5,num:!0},azi:{def:0,num:!0,degrees:!0},tilt:{def:0,num:!0,degrees:!0},long0:{def:0,num:!0},lat0:{def:0,num:!0}};function Xn(){if(Object.keys(Hn).forEach(function(e){if(void 0===this[e])this[e]=Hn[e].def;else{if(Hn[e].num&&isNaN(this[e]))throw new Error("Invalid parameter value, must be numeric "+e+" = "+this[e]);Hn[e].num&&(this[e]=parseFloat(this[e]))}Hn[e].degrees&&(this[e]=this[e]*m)}.bind(this)),Math.abs(Math.abs(this.lat0)-c)<f?this.mode=this.lat0<0?Yn.S_POLE:Yn.N_POLE:Math.abs(this.lat0)<f?this.mode=Yn.EQUIT:(this.mode=Yn.OBLIQ,this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0)),this.pn1=this.h/this.a,this.pn1<=0||this.pn1>1e10)throw new Error("Invalid height");this.p=1+this.pn1,this.rp=1/this.p,this.h1=1/this.pn1,this.pfact=(this.p+1)*this.h1,this.es=0;var e=this.tilt,t=this.azi;this.cg=Math.cos(t),this.sg=Math.sin(t),this.cw=Math.cos(e),this.sw=Math.sin(e)}function Zn(e){e.x-=this.long0;var t,o,r,n,i=Math.sin(e.y),s=Math.cos(e.y),a=Math.cos(e.x);switch(this.mode){case Yn.OBLIQ:o=this.sinph0*i+this.cosph0*s*a;break;case Yn.EQUIT:o=s*a;break;case Yn.S_POLE:o=-i;break;case Yn.N_POLE:o=i}switch(t=(o=this.pn1/(this.p-o))*s*Math.sin(e.x),this.mode){case Yn.OBLIQ:o*=this.cosph0*i-this.sinph0*s*a;break;case Yn.EQUIT:o*=i;break;case Yn.N_POLE:o*=-s*a;break;case Yn.S_POLE:o*=s*a}return n=1/((r=o*this.cg+t*this.sg)*this.sw*this.h1+this.cw),t=(t*this.cg-o*this.sg)*this.cw*n,o=r*n,e.x=t*this.a,e.y=o*this.a,e}function Kn(e){e.x/=this.a,e.y/=this.a;var t,o,r,n={x:e.x,y:e.y};r=1/(this.pn1-e.y*this.sw),t=this.pn1*e.x*r,o=this.pn1*e.y*this.cw*r,e.x=t*this.cg+o*this.sg,e.y=o*this.cg-t*this.sg;var i=Jt(e.x,e.y);if(Math.abs(i)<f)n.x=0,n.y=e.y;else{var s,a;switch(a=1-i*i*this.pfact,a=(this.p-Math.sqrt(a))/(this.pn1/i+i/this.pn1),s=Math.sqrt(1-a*a),this.mode){case Yn.OBLIQ:n.y=Math.asin(s*this.sinph0+e.y*a*this.cosph0/i),e.y=(s-this.sinph0*Math.sin(n.y))*i,e.x*=a*this.cosph0;break;case Yn.EQUIT:n.y=Math.asin(e.y*a/i),e.y=s*i,e.x*=a;break;case Yn.N_POLE:n.y=Math.asin(s),e.y=-e.y;break;case Yn.S_POLE:n.y=-Math.asin(s)}n.x=Math.atan2(e.x,e.y)}return e.x=n.x+this.long0,e.y=n.y,e}var Jn={init:Xn,forward:Zn,inverse:Kn,names:["Tilted_Perspective","tpers"]},Qn=function(e){e.Proj.projections.add(Zt),e.Proj.projections.add(ao),e.Proj.projections.add(co),e.Proj.projections.add(Ao),e.Proj.projections.add(Oo),e.Proj.projections.add(To),e.Proj.projections.add(No),e.Proj.projections.add(Uo),e.Proj.projections.add(Wo),e.Proj.projections.add(or),e.Proj.projections.add(mr),e.Proj.projections.add(Ar),e.Proj.projections.add(wr),e.Proj.projections.add(Tr),e.Proj.projections.add(Lr),e.Proj.projections.add(Fr),e.Proj.projections.add(Vr),e.Proj.projections.add(Hr),e.Proj.projections.add(Qr),e.Proj.projections.add(on),e.Proj.projections.add(an),e.Proj.projections.add(dn),e.Proj.projections.add(mn),e.Proj.projections.add(_n),e.Proj.projections.add(In),e.Proj.projections.add(Bn),e.Proj.projections.add(qn),e.Proj.projections.add(Jn)};return rt.defaultDatum="WGS84",rt.Proj=De,rt.WGS84=new rt.Proj("WGS84"),rt.Point=jt,rt.toPoint=Ze,rt.defs=q,rt.nadgrid=Oe,rt.transform=$e,rt.mgrs=pt,rt.version="2.7.5",Qn(rt),rt}()},"./node_modules/proj4/dist/proj4-src.js-exposed":function(e,t,o){(function(t){e.exports=t.proj4=o("./node_modules/proj4/dist/proj4-src.js")}).call(this,o("./node_modules/webpack/buildin/global.js"))},"./node_modules/rbush/rbush.min.js":function(e,t,o){e.exports=function(){"use strict";function e(e,r,n,i,s){!function e(o,r,n,i,s){for(;i>n;){if(i-n>600){var a=i-n+1,l=r-n+1,u=Math.log(a),c=.5*Math.exp(2*u/3),d=.5*Math.sqrt(u*c*(a-c)/a)*(l-a/2<0?-1:1);e(o,r,Math.max(n,Math.floor(r-l*c/a+d)),Math.min(i,Math.floor(r+(a-l)*c/a+d)),s)}var p=o[r],h=n,f=i;for(t(o,n,r),s(o[i],p)>0&&t(o,n,i);h<f;){for(t(o,h,f),h++,f--;s(o[h],p)<0;)h++;for(;s(o[f],p)>0;)f--}0===s(o[n],p)?t(o,n,f):t(o,++f,i),f<=r&&(n=f+1),r<=f&&(i=f-1)}}(e,r,n||0,i||e.length-1,s||o)}function t(e,t,o){var r=e[t];e[t]=e[o],e[o]=r}function o(e,t){return e<t?-1:e>t?1:0}var r=function(e){void 0===e&&(e=9),this._maxEntries=Math.max(4,e),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function n(e,t,o){if(!o)return t.indexOf(e);for(var r=0;r<t.length;r++)if(o(e,t[r]))return r;return-1}function i(e,t){s(e,0,e.children.length,t,e)}function s(e,t,o,r,n){n||(n=f(null)),n.minX=1/0,n.minY=1/0,n.maxX=-1/0,n.maxY=-1/0;for(var i=t;i<o;i++){var s=e.children[i];a(n,e.leaf?r(s):s)}return n}function a(e,t){return e.minX=Math.min(e.minX,t.minX),e.minY=Math.min(e.minY,t.minY),e.maxX=Math.max(e.maxX,t.maxX),e.maxY=Math.max(e.maxY,t.maxY),e}function l(e,t){return e.minX-t.minX}function u(e,t){return e.minY-t.minY}function c(e){return(e.maxX-e.minX)*(e.maxY-e.minY)}function d(e){return e.maxX-e.minX+(e.maxY-e.minY)}function p(e,t){return e.minX<=t.minX&&e.minY<=t.minY&&t.maxX<=e.maxX&&t.maxY<=e.maxY}function h(e,t){return t.minX<=e.maxX&&t.minY<=e.maxY&&t.maxX>=e.minX&&t.maxY>=e.minY}function f(e){return{children:e,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function m(t,o,r,n,i){for(var s=[o,r];s.length;)if(!((r=s.pop())-(o=s.pop())<=n)){var a=o+Math.ceil((r-o)/n/2)*n;e(t,a,o,r,i),s.push(o,a,a,r)}}return r.prototype.all=function(){return this._all(this.data,[])},r.prototype.search=function(e){var t=this.data,o=[];if(!h(e,t))return o;for(var r=this.toBBox,n=[];t;){for(var i=0;i<t.children.length;i++){var s=t.children[i],a=t.leaf?r(s):s;h(e,a)&&(t.leaf?o.push(s):p(e,a)?this._all(s,o):n.push(s))}t=n.pop()}return o},r.prototype.collides=function(e){var t=this.data;if(!h(e,t))return!1;for(var o=[];t;){for(var r=0;r<t.children.length;r++){var n=t.children[r],i=t.leaf?this.toBBox(n):n;if(h(e,i)){if(t.leaf||p(e,i))return!0;o.push(n)}}t=o.pop()}return!1},r.prototype.load=function(e){if(!e||!e.length)return this;if(e.length<this._minEntries){for(var t=0;t<e.length;t++)this.insert(e[t]);return this}var o=this._build(e.slice(),0,e.length-1,0);if(this.data.children.length)if(this.data.height===o.height)this._splitRoot(this.data,o);else{if(this.data.height<o.height){var r=this.data;this.data=o,o=r}this._insert(o,this.data.height-o.height-1,!0)}else this.data=o;return this},r.prototype.insert=function(e){return e&&this._insert(e,this.data.height-1),this},r.prototype.clear=function(){return this.data=f([]),this},r.prototype.remove=function(e,t){if(!e)return this;for(var o,r,i,s=this.data,a=this.toBBox(e),l=[],u=[];s||l.length;){if(s||(s=l.pop(),r=l[l.length-1],o=u.pop(),i=!0),s.leaf){var c=n(e,s.children,t);if(-1!==c)return s.children.splice(c,1),l.push(s),this._condense(l),this}i||s.leaf||!p(s,a)?r?(o++,s=r.children[o],i=!1):s=null:(l.push(s),u.push(o),o=0,r=s,s=s.children[0])}return this},r.prototype.toBBox=function(e){return e},r.prototype.compareMinX=function(e,t){return e.minX-t.minX},r.prototype.compareMinY=function(e,t){return e.minY-t.minY},r.prototype.toJSON=function(){return this.data},r.prototype.fromJSON=function(e){return this.data=e,this},r.prototype._all=function(e,t){for(var o=[];e;)e.leaf?t.push.apply(t,e.children):o.push.apply(o,e.children),e=o.pop();return t},r.prototype._build=function(e,t,o,r){var n,s=o-t+1,a=this._maxEntries;if(s<=a)return i(n=f(e.slice(t,o+1)),this.toBBox),n;r||(r=Math.ceil(Math.log(s)/Math.log(a)),a=Math.ceil(s/Math.pow(a,r-1))),(n=f([])).leaf=!1,n.height=r;var l=Math.ceil(s/a),u=l*Math.ceil(Math.sqrt(a));m(e,t,o,u,this.compareMinX);for(var c=t;c<=o;c+=u){var d=Math.min(c+u-1,o);m(e,c,d,l,this.compareMinY);for(var p=c;p<=d;p+=l){var h=Math.min(p+l-1,d);n.children.push(this._build(e,p,h,r-1))}}return i(n,this.toBBox),n},r.prototype._chooseSubtree=function(e,t,o,r){for(;r.push(t),!t.leaf&&r.length-1!==o;){for(var n=1/0,i=1/0,s=void 0,a=0;a<t.children.length;a++){var l=t.children[a],u=c(l),d=(p=e,h=l,(Math.max(h.maxX,p.maxX)-Math.min(h.minX,p.minX))*(Math.max(h.maxY,p.maxY)-Math.min(h.minY,p.minY))-u);d<i?(i=d,n=u<n?u:n,s=l):d===i&&u<n&&(n=u,s=l)}t=s||t.children[0]}var p,h;return t},r.prototype._insert=function(e,t,o){var r=o?e:this.toBBox(e),n=[],i=this._chooseSubtree(r,this.data,t,n);for(i.children.push(e),a(i,r);t>=0&&n[t].children.length>this._maxEntries;)this._split(n,t),t--;this._adjustParentBBoxes(r,n,t)},r.prototype._split=function(e,t){var o=e[t],r=o.children.length,n=this._minEntries;this._chooseSplitAxis(o,n,r);var s=this._chooseSplitIndex(o,n,r),a=f(o.children.splice(s,o.children.length-s));a.height=o.height,a.leaf=o.leaf,i(o,this.toBBox),i(a,this.toBBox),t?e[t-1].children.push(a):this._splitRoot(o,a)},r.prototype._splitRoot=function(e,t){this.data=f([e,t]),this.data.height=e.height+1,this.data.leaf=!1,i(this.data,this.toBBox)},r.prototype._chooseSplitIndex=function(e,t,o){for(var r,n,i,a,l,u,d,p=1/0,h=1/0,f=t;f<=o-t;f++){var m=s(e,0,f,this.toBBox),g=s(e,f,o,this.toBBox),y=(n=m,i=g,a=void 0,l=void 0,u=void 0,d=void 0,a=Math.max(n.minX,i.minX),l=Math.max(n.minY,i.minY),u=Math.min(n.maxX,i.maxX),d=Math.min(n.maxY,i.maxY),Math.max(0,u-a)*Math.max(0,d-l)),v=c(m)+c(g);y<p?(p=y,r=f,h=v<h?v:h):y===p&&v<h&&(h=v,r=f)}return r||o-t},r.prototype._chooseSplitAxis=function(e,t,o){var r=e.leaf?this.compareMinX:l,n=e.leaf?this.compareMinY:u;this._allDistMargin(e,t,o,r)<this._allDistMargin(e,t,o,n)&&e.children.sort(r)},r.prototype._allDistMargin=function(e,t,o,r){e.children.sort(r);for(var n=this.toBBox,i=s(e,0,t,n),l=s(e,o-t,o,n),u=d(i)+d(l),c=t;c<o-t;c++){var p=e.children[c];a(i,e.leaf?n(p):p),u+=d(i)}for(var h=o-t-1;h>=t;h--){var f=e.children[h];a(l,e.leaf?n(f):f),u+=d(l)}return u},r.prototype._adjustParentBBoxes=function(e,t,o){for(var r=o;r>=0;r--)a(t[r],e)},r.prototype._condense=function(e){for(var t=e.length-1,o=void 0;t>=0;t--)0===e[t].children.length?t>0?(o=e[t-1].children).splice(o.indexOf(e[t]),1):this.clear():i(e[t],this.toBBox)},r}()},"./node_modules/sortablejs/modular/sortable.esm.js":function(e,t,o){"use strict";
/**!
 * Sortable 1.14.0
 * @author	RubaXa   <trash@rubaxa.org>
 * @author	owenm    <owen23355@gmail.com>
 * @license MIT
 */
function r(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function n(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?r(Object(o),!0).forEach((function(t){s(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):r(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function s(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},a.apply(this,arguments)}function l(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o,r,n={},i=Object.keys(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function u(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return c(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}o.r(t),o.d(t,"MultiDrag",(function(){return Ct})),o.d(t,"Sortable",(function(){return Ve})),o.d(t,"Swap",(function(){return dt}));function d(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var p=d(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),h=d(/Edge/i),f=d(/firefox/i),m=d(/safari/i)&&!d(/chrome/i)&&!d(/android/i),g=d(/iP(ad|od|hone)/i),y=d(/chrome/i)&&d(/android/i),v={capture:!1,passive:!1};function _(e,t,o){e.addEventListener(t,o,!p&&v)}function b(e,t,o){e.removeEventListener(t,o,!p&&v)}function A(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function C(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function E(e,t,o,r){if(e){o=o||document;do{if(null!=t&&(">"===t[0]?e.parentNode===o&&A(e,t):A(e,t))||r&&e===o)return e;if(e===o)break}while(e=C(e))}return null}var S,w=/\s+/g;function O(e,t,o){if(e&&t)if(e.classList)e.classList[o?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(w," ").replace(" "+t+" "," ");e.className=(r+(o?" "+t:"")).replace(w," ")}}function I(e,t,o){var r=e&&e.style;if(r){if(void 0===o)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(o=e.currentStyle),void 0===t?o:o[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=o+("string"==typeof o?"":"px")}}function x(e,t){var o="";if("string"==typeof e)o=e;else do{var r=I(e,"transform");r&&"none"!==r&&(o=r+" "+o)}while(!t&&(e=e.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return n&&new n(o)}function j(e,t,o){if(e){var r=e.getElementsByTagName(t),n=0,i=r.length;if(o)for(;n<i;n++)o(r[n],n);return r}return[]}function T(){var e=document.scrollingElement;return e||document.documentElement}function P(e,t,o,r,n){if(e.getBoundingClientRect||e===window){var i,s,a,l,u,c,d;if(e!==window&&e.parentNode&&e!==T()?(s=(i=e.getBoundingClientRect()).top,a=i.left,l=i.bottom,u=i.right,c=i.height,d=i.width):(s=0,a=0,l=window.innerHeight,u=window.innerWidth,c=window.innerHeight,d=window.innerWidth),(t||o)&&e!==window&&(n=n||e.parentNode,!p))do{if(n&&n.getBoundingClientRect&&("none"!==I(n,"transform")||o&&"static"!==I(n,"position"))){var h=n.getBoundingClientRect();s-=h.top+parseInt(I(n,"border-top-width")),a-=h.left+parseInt(I(n,"border-left-width")),l=s+i.height,u=a+i.width;break}}while(n=n.parentNode);if(r&&e!==window){var f=x(n||e),m=f&&f.a,g=f&&f.d;f&&(l=(s/=g)+(c/=g),u=(a/=m)+(d/=m))}return{top:s,left:a,bottom:l,right:u,width:d,height:c}}}function M(e,t,o){for(var r=D(e,!0),n=P(e)[t];r;){var i=P(r)[o];if(!("top"===o||"left"===o?n>=i:n<=i))return r;if(r===T())break;r=D(r,!1)}return!1}function R(e,t,o,r){for(var n=0,i=0,s=e.children;i<s.length;){if("none"!==s[i].style.display&&s[i]!==Ve.ghost&&(r||s[i]!==Ve.dragged)&&E(s[i],o.draggable,e,!1)){if(n===t)return s[i];n++}i++}return null}function L(e,t){for(var o=e.lastElementChild;o&&(o===Ve.ghost||"none"===I(o,"display")||t&&!A(o,t));)o=o.previousElementSibling;return o||null}function k(e,t){var o=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===Ve.clone||t&&!A(e,t)||o++;return o}function N(e){var t=0,o=0,r=T();if(e)do{var n=x(e),i=n.a,s=n.d;t+=e.scrollLeft*i,o+=e.scrollTop*s}while(e!==r&&(e=e.parentNode));return[t,o]}function D(e,t){if(!e||!e.getBoundingClientRect)return T();var o=e,r=!1;do{if(o.clientWidth<o.scrollWidth||o.clientHeight<o.scrollHeight){var n=I(o);if(o.clientWidth<o.scrollWidth&&("auto"==n.overflowX||"scroll"==n.overflowX)||o.clientHeight<o.scrollHeight&&("auto"==n.overflowY||"scroll"==n.overflowY)){if(!o.getBoundingClientRect||o===document.body)return T();if(r||t)return o;r=!0}}}while(o=o.parentNode);return T()}function G(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function F(e,t){return function(){if(!S){var o=arguments;1===o.length?e.call(this,o[0]):e.apply(this,o),S=setTimeout((function(){S=void 0}),t)}}}function U(e,t,o){e.scrollLeft+=t,e.scrollTop+=o}function B(e){var t=window.Polymer,o=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):o?o(e).clone(!0)[0]:e.cloneNode(!0)}function z(e,t){I(e,"position","absolute"),I(e,"top",t.top),I(e,"left",t.left),I(e,"width",t.width),I(e,"height",t.height)}function V(e){I(e,"position",""),I(e,"top",""),I(e,"left",""),I(e,"width",""),I(e,"height","")}var W="Sortable"+(new Date).getTime();function q(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==I(e,"display")&&e!==Ve.ghost){t.push({target:e,rect:P(e)});var o=n({},t[t.length-1].rect);if(e.thisAnimationDuration){var r=x(e,!0);r&&(o.top-=r.f,o.left-=r.e)}e.fromRect=o}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var o in e)if(e.hasOwnProperty(o))for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[o][r])return Number(o);return-1}(t,{target:e}),1)},animateAll:function(o){var r=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof o&&o());var n=!1,i=0;t.forEach((function(e){var t=0,o=e.target,s=o.fromRect,a=P(o),l=o.prevFromRect,u=o.prevToRect,c=e.rect,d=x(o,!0);d&&(a.top-=d.f,a.left-=d.e),o.toRect=a,o.thisAnimationDuration&&G(l,a)&&!G(s,a)&&(c.top-a.top)/(c.left-a.left)==(s.top-a.top)/(s.left-a.left)&&(t=function(e,t,o,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-o.top,2)+Math.pow(t.left-o.left,2))*r.animation}(c,l,u,r.options)),G(a,s)||(o.prevFromRect=s,o.prevToRect=a,t||(t=r.options.animation),r.animate(o,c,a,t)),t&&(n=!0,i=Math.max(i,t),clearTimeout(o.animationResetTimer),o.animationResetTimer=setTimeout((function(){o.animationTime=0,o.prevFromRect=null,o.fromRect=null,o.prevToRect=null,o.thisAnimationDuration=null}),t),o.thisAnimationDuration=t)})),clearTimeout(e),n?e=setTimeout((function(){"function"==typeof o&&o()}),i):"function"==typeof o&&o(),t=[]},animate:function(e,t,o,r){if(r){I(e,"transition",""),I(e,"transform","");var n=x(this.el),i=n&&n.a,s=n&&n.d,a=(t.left-o.left)/(i||1),l=(t.top-o.top)/(s||1);e.animatingX=!!a,e.animatingY=!!l,I(e,"transform","translate3d("+a+"px,"+l+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),I(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),I(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){I(e,"transition",""),I(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),r)}}}}var Y=[],H={initializeByDefault:!0},X={mount:function(e){for(var t in H)H.hasOwnProperty(t)&&!(t in e)&&(e[t]=H[t]);Y.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),Y.push(e)},pluginEvent:function(e,t,o){var r=this;this.eventCanceled=!1,o.cancel=function(){r.eventCanceled=!0};var i=e+"Global";Y.forEach((function(r){t[r.pluginName]&&(t[r.pluginName][i]&&t[r.pluginName][i](n({sortable:t},o)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](n({sortable:t},o)))}))},initializePlugins:function(e,t,o,r){for(var n in Y.forEach((function(r){var n=r.pluginName;if(e.options[n]||r.initializeByDefault){var i=new r(e,t,e.options);i.sortable=e,i.options=e.options,e[n]=i,a(o,i.defaults)}})),e.options)if(e.options.hasOwnProperty(n)){var i=this.modifyOption(e,n,e.options[n]);void 0!==i&&(e.options[n]=i)}},getEventProperties:function(e,t){var o={};return Y.forEach((function(r){"function"==typeof r.eventProperties&&a(o,r.eventProperties.call(t[r.pluginName],e))})),o},modifyOption:function(e,t,o){var r;return Y.forEach((function(n){e[n.pluginName]&&n.optionListeners&&"function"==typeof n.optionListeners[t]&&(r=n.optionListeners[t].call(e[n.pluginName],o))})),r}};function Z(e){var t=e.sortable,o=e.rootEl,r=e.name,i=e.targetEl,s=e.cloneEl,a=e.toEl,l=e.fromEl,u=e.oldIndex,c=e.newIndex,d=e.oldDraggableIndex,f=e.newDraggableIndex,m=e.originalEvent,g=e.putSortable,y=e.extraEventProperties;if(t=t||o&&o[W]){var v,_=t.options,b="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||p||h?(v=document.createEvent("Event")).initEvent(r,!0,!0):v=new CustomEvent(r,{bubbles:!0,cancelable:!0}),v.to=a||o,v.from=l||o,v.item=i||o,v.clone=s,v.oldIndex=u,v.newIndex=c,v.oldDraggableIndex=d,v.newDraggableIndex=f,v.originalEvent=m,v.pullMode=g?g.lastPutMode:void 0;var A=n(n({},y),X.getEventProperties(r,t));for(var C in A)v[C]=A[C];o&&o.dispatchEvent(v),_[b]&&_[b].call(t,v)}}var K=["evt"],J=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=o.evt,i=l(o,K);X.pluginEvent.bind(Ve)(e,t,n({dragEl:$,parentEl:ee,ghostEl:te,rootEl:oe,nextEl:re,lastDownEl:ne,cloneEl:ie,cloneHidden:se,dragStarted:_e,putSortable:pe,activeSortable:Ve.active,originalEvent:r,oldIndex:ae,oldDraggableIndex:ue,newIndex:le,newDraggableIndex:ce,hideGhostForTarget:Fe,unhideGhostForTarget:Ue,cloneNowHidden:function(){se=!0},cloneNowShown:function(){se=!1},dispatchSortableEvent:function(e){Q({sortable:t,name:e,originalEvent:r})}},i))};function Q(e){Z(n({putSortable:pe,cloneEl:ie,targetEl:$,rootEl:oe,oldIndex:ae,oldDraggableIndex:ue,newIndex:le,newDraggableIndex:ce},e))}var $,ee,te,oe,re,ne,ie,se,ae,le,ue,ce,de,pe,he,fe,me,ge,ye,ve,_e,be,Ae,Ce,Ee,Se=!1,we=!1,Oe=[],Ie=!1,xe=!1,je=[],Te=!1,Pe=[],Me="undefined"!=typeof document,Re=g,Le=h||p?"cssFloat":"float",ke=Me&&!y&&!g&&"draggable"in document.createElement("div"),Ne=function(){if(Me){if(p)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),De=function(e,t){var o=I(e),r=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),n=R(e,0,t),i=R(e,1,t),s=n&&I(n),a=i&&I(i),l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+P(n).width,u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+P(i).width;if("flex"===o.display)return"column"===o.flexDirection||"column-reverse"===o.flexDirection?"vertical":"horizontal";if("grid"===o.display)return o.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(n&&s.float&&"none"!==s.float){var c="left"===s.float?"left":"right";return!i||"both"!==a.clear&&a.clear!==c?"horizontal":"vertical"}return n&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||l>=r&&"none"===o[Le]||i&&"none"===o[Le]&&l+u>r)?"vertical":"horizontal"},Ge=function(e){function t(e,o){return function(r,n,i,s){var a=r.options.group.name&&n.options.group.name&&r.options.group.name===n.options.group.name;if(null==e&&(o||a))return!0;if(null==e||!1===e)return!1;if(o&&"clone"===e)return e;if("function"==typeof e)return t(e(r,n,i,s),o)(r,n,i,s);var l=(o?r:n).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var o={},r=e.group;r&&"object"==i(r)||(r={name:r}),o.name=r.name,o.checkPull=t(r.pull,!0),o.checkPut=t(r.put),o.revertClone=r.revertClone,e.group=o},Fe=function(){!Ne&&te&&I(te,"display","none")},Ue=function(){!Ne&&te&&I(te,"display","")};Me&&document.addEventListener("click",(function(e){if(we)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),we=!1,!1}),!0);var Be=function(e){if($){e=e.touches?e.touches[0]:e;var t=(n=e.clientX,i=e.clientY,Oe.some((function(e){var t=e[W].options.emptyInsertThreshold;if(t&&!L(e)){var o=P(e),r=n>=o.left-t&&n<=o.right+t,a=i>=o.top-t&&i<=o.bottom+t;return r&&a?s=e:void 0}})),s);if(t){var o={};for(var r in e)e.hasOwnProperty(r)&&(o[r]=e[r]);o.target=o.rootEl=t,o.preventDefault=void 0,o.stopPropagation=void 0,t[W]._onDragOver(o)}}var n,i,s},ze=function(e){$&&$.parentNode[W]._isOutsideThisEl(e.target)};function Ve(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=a({},t),e[W]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return De(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Ve.supportPointer&&"PointerEvent"in window&&!m,emptyInsertThreshold:5};for(var r in X.initializePlugins(this,e,o),o)!(r in t)&&(t[r]=o[r]);for(var n in Ge(t),this)"_"===n.charAt(0)&&"function"==typeof this[n]&&(this[n]=this[n].bind(this));this.nativeDraggable=!t.forceFallback&&ke,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?_(e,"pointerdown",this._onTapStart):(_(e,"mousedown",this._onTapStart),_(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(_(e,"dragover",this),_(e,"dragenter",this)),Oe.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),a(this,q())}function We(e,t,o,r,n,i,s,a){var l,u,c=e[W],d=c.options.onMove;return!window.CustomEvent||p||h?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=o,l.draggedRect=r,l.related=n||t,l.relatedRect=i||P(t),l.willInsertAfter=a,l.originalEvent=s,e.dispatchEvent(l),d&&(u=d.call(c,l,s)),u}function qe(e){e.draggable=!1}function Ye(){Te=!1}function He(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,o=t.length,r=0;o--;)r+=t.charCodeAt(o);return r.toString(36)}function Xe(e){return setTimeout(e,0)}function Ze(e){return clearTimeout(e)}Ve.prototype={constructor:Ve,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(be=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,$):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,o=this.el,r=this.options,n=r.preventOnFilter,i=e.type,s=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,a=(s||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||a,u=r.filter;if(function(e){Pe.length=0;var t=e.getElementsByTagName("input"),o=t.length;for(;o--;){var r=t[o];r.checked&&Pe.push(r)}}(o),!$&&!(/mousedown|pointerdown/.test(i)&&0!==e.button||r.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!m||!a||"SELECT"!==a.tagName.toUpperCase())&&!((a=E(a,r.draggable,o,!1))&&a.animated||ne===a)){if(ae=k(a),ue=k(a,r.draggable),"function"==typeof u){if(u.call(this,e,a,this))return Q({sortable:t,rootEl:l,name:"filter",targetEl:a,toEl:o,fromEl:o}),J("filter",t,{evt:e}),void(n&&e.cancelable&&e.preventDefault())}else if(u&&(u=u.split(",").some((function(r){if(r=E(l,r.trim(),o,!1))return Q({sortable:t,rootEl:r,name:"filter",targetEl:a,fromEl:o,toEl:o}),J("filter",t,{evt:e}),!0}))))return void(n&&e.cancelable&&e.preventDefault());r.handle&&!E(l,r.handle,o,!1)||this._prepareDragStart(e,s,a)}}},_prepareDragStart:function(e,t,o){var r,n=this,i=n.el,s=n.options,a=i.ownerDocument;if(o&&!$&&o.parentNode===i){var l=P(o);if(oe=i,ee=($=o).parentNode,re=$.nextSibling,ne=o,de=s.group,Ve.dragged=$,he={target:$,clientX:(t||e).clientX,clientY:(t||e).clientY},ye=he.clientX-l.left,ve=he.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,$.style["will-change"]="all",r=function(){J("delayEnded",n,{evt:e}),Ve.eventCanceled?n._onDrop():(n._disableDelayedDragEvents(),!f&&n.nativeDraggable&&($.draggable=!0),n._triggerDragStart(e,t),Q({sortable:n,name:"choose",originalEvent:e}),O($,s.chosenClass,!0))},s.ignore.split(",").forEach((function(e){j($,e.trim(),qe)})),_(a,"dragover",Be),_(a,"mousemove",Be),_(a,"touchmove",Be),_(a,"mouseup",n._onDrop),_(a,"touchend",n._onDrop),_(a,"touchcancel",n._onDrop),f&&this.nativeDraggable&&(this.options.touchStartThreshold=4,$.draggable=!0),J("delayStart",this,{evt:e}),!s.delay||s.delayOnTouchOnly&&!t||this.nativeDraggable&&(h||p))r();else{if(Ve.eventCanceled)return void this._onDrop();_(a,"mouseup",n._disableDelayedDrag),_(a,"touchend",n._disableDelayedDrag),_(a,"touchcancel",n._disableDelayedDrag),_(a,"mousemove",n._delayedDragTouchMoveHandler),_(a,"touchmove",n._delayedDragTouchMoveHandler),s.supportPointer&&_(a,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(r,s.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){$&&qe($),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;b(e,"mouseup",this._disableDelayedDrag),b(e,"touchend",this._disableDelayedDrag),b(e,"touchcancel",this._disableDelayedDrag),b(e,"mousemove",this._delayedDragTouchMoveHandler),b(e,"touchmove",this._delayedDragTouchMoveHandler),b(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?_(document,"pointermove",this._onTouchMove):_(document,t?"touchmove":"mousemove",this._onTouchMove):(_($,"dragend",this),_(oe,"dragstart",this._onDragStart));try{document.selection?Xe((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(Se=!1,oe&&$){J("dragStarted",this,{evt:t}),this.nativeDraggable&&_(document,"dragover",ze);var o=this.options;!e&&O($,o.dragClass,!1),O($,o.ghostClass,!0),Ve.active=this,e&&this._appendGhost(),Q({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(fe){this._lastX=fe.clientX,this._lastY=fe.clientY,Fe();for(var e=document.elementFromPoint(fe.clientX,fe.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(fe.clientX,fe.clientY))!==t;)t=e;if($.parentNode[W]._isOutsideThisEl(e),t)do{if(t[W]){if(t[W]._onDragOver({clientX:fe.clientX,clientY:fe.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Ue()}},_onTouchMove:function(e){if(he){var t=this.options,o=t.fallbackTolerance,r=t.fallbackOffset,n=e.touches?e.touches[0]:e,i=te&&x(te,!0),s=te&&i&&i.a,a=te&&i&&i.d,l=Re&&Ee&&N(Ee),u=(n.clientX-he.clientX+r.x)/(s||1)+(l?l[0]-je[0]:0)/(s||1),c=(n.clientY-he.clientY+r.y)/(a||1)+(l?l[1]-je[1]:0)/(a||1);if(!Ve.active&&!Se){if(o&&Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))<o)return;this._onDragStart(e,!0)}if(te){i?(i.e+=u-(me||0),i.f+=c-(ge||0)):i={a:1,b:0,c:0,d:1,e:u,f:c};var d="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");I(te,"webkitTransform",d),I(te,"mozTransform",d),I(te,"msTransform",d),I(te,"transform",d),me=u,ge=c,fe=n}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!te){var e=this.options.fallbackOnBody?document.body:oe,t=P($,!0,Re,!0,e),o=this.options;if(Re){for(Ee=e;"static"===I(Ee,"position")&&"none"===I(Ee,"transform")&&Ee!==document;)Ee=Ee.parentNode;Ee!==document.body&&Ee!==document.documentElement?(Ee===document&&(Ee=T()),t.top+=Ee.scrollTop,t.left+=Ee.scrollLeft):Ee=T(),je=N(Ee)}O(te=$.cloneNode(!0),o.ghostClass,!1),O(te,o.fallbackClass,!0),O(te,o.dragClass,!0),I(te,"transition",""),I(te,"transform",""),I(te,"box-sizing","border-box"),I(te,"margin",0),I(te,"top",t.top),I(te,"left",t.left),I(te,"width",t.width),I(te,"height",t.height),I(te,"opacity","0.8"),I(te,"position",Re?"absolute":"fixed"),I(te,"zIndex","100000"),I(te,"pointerEvents","none"),Ve.ghost=te,e.appendChild(te),I(te,"transform-origin",ye/parseInt(te.style.width)*100+"% "+ve/parseInt(te.style.height)*100+"%")}},_onDragStart:function(e,t){var o=this,r=e.dataTransfer,n=o.options;J("dragStart",this,{evt:e}),Ve.eventCanceled?this._onDrop():(J("setupClone",this),Ve.eventCanceled||((ie=B($)).draggable=!1,ie.style["will-change"]="",this._hideClone(),O(ie,this.options.chosenClass,!1),Ve.clone=ie),o.cloneId=Xe((function(){J("clone",o),Ve.eventCanceled||(o.options.removeCloneOnHide||oe.insertBefore(ie,$),o._hideClone(),Q({sortable:o,name:"clone"}))})),!t&&O($,n.dragClass,!0),t?(we=!0,o._loopId=setInterval(o._emulateDragOver,50)):(b(document,"mouseup",o._onDrop),b(document,"touchend",o._onDrop),b(document,"touchcancel",o._onDrop),r&&(r.effectAllowed="move",n.setData&&n.setData.call(o,r,$)),_(document,"drop",o),I($,"transform","translateZ(0)")),Se=!0,o._dragStartId=Xe(o._dragStarted.bind(o,t,e)),_(document,"selectstart",o),_e=!0,m&&I(document.body,"user-select","none"))},_onDragOver:function(e){var t,o,r,i,s=this.el,a=e.target,l=this.options,u=l.group,c=Ve.active,d=de===u,p=l.sort,h=pe||c,f=this,m=!1;if(!Te){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=E(a,l.draggable,s,!0),G("dragOver"),Ve.eventCanceled)return m;if($.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||f._ignoreWhileAnimating===a)return B(!1);if(we=!1,c&&!l.disabled&&(d?p||(r=ee!==oe):pe===this||(this.lastPutMode=de.checkPull(this,c,$,e))&&u.checkPut(this,c,$,e))){if(i="vertical"===this._getDirection(e,a),t=P($),G("dragOverValid"),Ve.eventCanceled)return m;if(r)return ee=oe,F(),this._hideClone(),G("revert"),Ve.eventCanceled||(re?oe.insertBefore($,re):oe.appendChild($)),B(!0);var g=L(s,l.draggable);if(!g||function(e,t,o){var r=P(L(o.el,o.options.draggable)),n=10;return t?e.clientX>r.right+n||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+n}(e,i,this)&&!g.animated){if(g===$)return B(!1);if(g&&s===e.target&&(a=g),a&&(o=P(a)),!1!==We(oe,s,$,t,a,o,e,!!a))return F(),s.appendChild($),ee=s,z(),B(!0)}else if(g&&function(e,t,o){var r=P(R(o.el,0,o.options,!0)),n=10;return t?e.clientX<r.left-n||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-n||e.clientY<r.bottom&&e.clientX<r.left}(e,i,this)){var y=R(s,0,l,!0);if(y===$)return B(!1);if(o=P(a=y),!1!==We(oe,s,$,t,a,o,e,!1))return F(),s.insertBefore($,y),ee=s,z(),B(!0)}else if(a.parentNode===s){o=P(a);var v,_,b,A=$.parentNode!==s,C=!function(e,t,o){var r=o?e.left:e.top,n=o?e.right:e.bottom,i=o?e.width:e.height,s=o?t.left:t.top,a=o?t.right:t.bottom,l=o?t.width:t.height;return r===s||n===a||r+i/2===s+l/2}($.animated&&$.toRect||t,a.animated&&a.toRect||o,i),S=i?"top":"left",w=M(a,"top","top")||M($,"top","top"),x=w?w.scrollTop:void 0;if(be!==a&&(_=o[S],Ie=!1,xe=!C&&l.invertSwap||A),v=function(e,t,o,r,n,i,s,a){var l=r?e.clientY:e.clientX,u=r?o.height:o.width,c=r?o.top:o.left,d=r?o.bottom:o.right,p=!1;if(!s)if(a&&Ce<u*n){if(!Ie&&(1===Ae?l>c+u*i/2:l<d-u*i/2)&&(Ie=!0),Ie)p=!0;else if(1===Ae?l<c+Ce:l>d-Ce)return-Ae}else if(l>c+u*(1-n)/2&&l<d-u*(1-n)/2)return function(e){return k($)<k(e)?1:-1}(t);if((p=p||s)&&(l<c+u*i/2||l>d-u*i/2))return l>c+u/2?1:-1;return 0}(e,a,o,i,C?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,xe,be===a),0!==v){var j=k($);do{j-=v,b=ee.children[j]}while(b&&("none"===I(b,"display")||b===te))}if(0===v||b===a)return B(!1);be=a,Ae=v;var T=a.nextElementSibling,N=!1,D=We(oe,s,$,t,a,o,e,N=1===v);if(!1!==D)return 1!==D&&-1!==D||(N=1===D),Te=!0,setTimeout(Ye,30),F(),N&&!T?s.appendChild($):a.parentNode.insertBefore($,N?T:a),w&&U(w,0,x-w.scrollTop),ee=$.parentNode,void 0===_||xe||(Ce=Math.abs(_-P(a)[S])),z(),B(!0)}if(s.contains($))return B(!1)}return!1}function G(l,u){J(l,f,n({evt:e,isOwner:d,axis:i?"vertical":"horizontal",revert:r,dragRect:t,targetRect:o,canSort:p,fromSortable:h,target:a,completed:B,onMove:function(o,r){return We(oe,s,$,t,o,P(o),e,r)},changed:z},u))}function F(){G("dragOverAnimationCapture"),f.captureAnimationState(),f!==h&&h.captureAnimationState()}function B(t){return G("dragOverCompleted",{insertion:t}),t&&(d?c._hideClone():c._showClone(f),f!==h&&(O($,pe?pe.options.ghostClass:c.options.ghostClass,!1),O($,l.ghostClass,!0)),pe!==f&&f!==Ve.active?pe=f:f===Ve.active&&pe&&(pe=null),h===f&&(f._ignoreWhileAnimating=a),f.animateAll((function(){G("dragOverAnimationComplete"),f._ignoreWhileAnimating=null})),f!==h&&(h.animateAll(),h._ignoreWhileAnimating=null)),(a===$&&!$.animated||a===s&&!a.animated)&&(be=null),l.dragoverBubble||e.rootEl||a===document||($.parentNode[W]._isOutsideThisEl(e.target),!t&&Be(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function z(){le=k($),ce=k($,l.draggable),Q({sortable:f,name:"change",toEl:s,newIndex:le,newDraggableIndex:ce,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){b(document,"mousemove",this._onTouchMove),b(document,"touchmove",this._onTouchMove),b(document,"pointermove",this._onTouchMove),b(document,"dragover",Be),b(document,"mousemove",Be),b(document,"touchmove",Be)},_offUpEvents:function(){var e=this.el.ownerDocument;b(e,"mouseup",this._onDrop),b(e,"touchend",this._onDrop),b(e,"pointerup",this._onDrop),b(e,"touchcancel",this._onDrop),b(document,"selectstart",this)},_onDrop:function(e){var t=this.el,o=this.options;le=k($),ce=k($,o.draggable),J("drop",this,{evt:e}),ee=$&&$.parentNode,le=k($),ce=k($,o.draggable),Ve.eventCanceled||(Se=!1,xe=!1,Ie=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Ze(this.cloneId),Ze(this._dragStartId),this.nativeDraggable&&(b(document,"drop",this),b(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),m&&I(document.body,"user-select",""),I($,"transform",""),e&&(_e&&(e.cancelable&&e.preventDefault(),!o.dropBubble&&e.stopPropagation()),te&&te.parentNode&&te.parentNode.removeChild(te),(oe===ee||pe&&"clone"!==pe.lastPutMode)&&ie&&ie.parentNode&&ie.parentNode.removeChild(ie),$&&(this.nativeDraggable&&b($,"dragend",this),qe($),$.style["will-change"]="",_e&&!Se&&O($,pe?pe.options.ghostClass:this.options.ghostClass,!1),O($,this.options.chosenClass,!1),Q({sortable:this,name:"unchoose",toEl:ee,newIndex:null,newDraggableIndex:null,originalEvent:e}),oe!==ee?(le>=0&&(Q({rootEl:ee,name:"add",toEl:ee,fromEl:oe,originalEvent:e}),Q({sortable:this,name:"remove",toEl:ee,originalEvent:e}),Q({rootEl:ee,name:"sort",toEl:ee,fromEl:oe,originalEvent:e}),Q({sortable:this,name:"sort",toEl:ee,originalEvent:e})),pe&&pe.save()):le!==ae&&le>=0&&(Q({sortable:this,name:"update",toEl:ee,originalEvent:e}),Q({sortable:this,name:"sort",toEl:ee,originalEvent:e})),Ve.active&&(null!=le&&-1!==le||(le=ae,ce=ue),Q({sortable:this,name:"end",toEl:ee,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){J("nulling",this),oe=$=ee=te=re=ie=ne=se=he=fe=_e=le=ce=ae=ue=be=Ae=pe=de=Ve.dragged=Ve.ghost=Ve.clone=Ve.active=null,Pe.forEach((function(e){e.checked=!0})),Pe.length=me=ge=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":$&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],o=this.el.children,r=0,n=o.length,i=this.options;r<n;r++)E(e=o[r],i.draggable,this.el,!1)&&t.push(e.getAttribute(i.dataIdAttr)||He(e));return t},sort:function(e,t){var o={},r=this.el;this.toArray().forEach((function(e,t){var n=r.children[t];E(n,this.options.draggable,r,!1)&&(o[e]=n)}),this),t&&this.captureAnimationState(),e.forEach((function(e){o[e]&&(r.removeChild(o[e]),r.appendChild(o[e]))})),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return E(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var o=this.options;if(void 0===t)return o[e];var r=X.modifyOption(this,e,t);o[e]=void 0!==r?r:t,"group"===e&&Ge(o)},destroy:function(){J("destroy",this);var e=this.el;e[W]=null,b(e,"mousedown",this._onTapStart),b(e,"touchstart",this._onTapStart),b(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(b(e,"dragover",this),b(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Oe.splice(Oe.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!se){if(J("hideClone",this),Ve.eventCanceled)return;I(ie,"display","none"),this.options.removeCloneOnHide&&ie.parentNode&&ie.parentNode.removeChild(ie),se=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(se){if(J("showClone",this),Ve.eventCanceled)return;$.parentNode!=oe||this.options.group.revertClone?re?oe.insertBefore(ie,re):oe.appendChild(ie):oe.insertBefore(ie,$),this.options.group.revertClone&&this.animate($,ie),I(ie,"display",""),se=!1}}else this._hideClone()}},Me&&_(document,"touchmove",(function(e){(Ve.active||Se)&&e.cancelable&&e.preventDefault()})),Ve.utils={on:_,off:b,css:I,find:j,is:function(e,t){return!!E(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);return e},throttle:F,closest:E,toggleClass:O,clone:B,index:k,nextTick:Xe,cancelNextTick:Ze,detectDirection:De,getChild:R},Ve.get=function(e){return e[W]},Ve.mount=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(Ve.utils=n(n({},Ve.utils),e.utils)),X.mount(e)}))},Ve.create=function(e,t){return new Ve(e,t)},Ve.version="1.14.0";var Ke,Je,Qe,$e,et,tt,ot=[],rt=!1;function nt(){ot.forEach((function(e){clearInterval(e.pid)})),ot=[]}function it(){clearInterval(tt)}var st,at=F((function(e,t,o,r){if(t.scroll){var n,i=(e.touches?e.touches[0]:e).clientX,s=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,l=t.scrollSpeed,u=T(),c=!1;Je!==o&&(Je=o,nt(),Ke=t.scroll,n=t.scrollFn,!0===Ke&&(Ke=D(o,!0)));var d=0,p=Ke;do{var h=p,f=P(h),m=f.top,g=f.bottom,y=f.left,v=f.right,_=f.width,b=f.height,A=void 0,C=void 0,E=h.scrollWidth,S=h.scrollHeight,w=I(h),O=h.scrollLeft,x=h.scrollTop;h===u?(A=_<E&&("auto"===w.overflowX||"scroll"===w.overflowX||"visible"===w.overflowX),C=b<S&&("auto"===w.overflowY||"scroll"===w.overflowY||"visible"===w.overflowY)):(A=_<E&&("auto"===w.overflowX||"scroll"===w.overflowX),C=b<S&&("auto"===w.overflowY||"scroll"===w.overflowY));var j=A&&(Math.abs(v-i)<=a&&O+_<E)-(Math.abs(y-i)<=a&&!!O),M=C&&(Math.abs(g-s)<=a&&x+b<S)-(Math.abs(m-s)<=a&&!!x);if(!ot[d])for(var R=0;R<=d;R++)ot[R]||(ot[R]={});ot[d].vx==j&&ot[d].vy==M&&ot[d].el===h||(ot[d].el=h,ot[d].vx=j,ot[d].vy=M,clearInterval(ot[d].pid),0==j&&0==M||(c=!0,ot[d].pid=setInterval(function(){r&&0===this.layer&&Ve.active._onTouchMove(et);var t=ot[this.layer].vy?ot[this.layer].vy*l:0,o=ot[this.layer].vx?ot[this.layer].vx*l:0;"function"==typeof n&&"continue"!==n.call(Ve.dragged.parentNode[W],o,t,e,et,ot[this.layer].el)||U(ot[this.layer].el,o,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&p!==u&&(p=D(p,!1)));rt=c}}),30),lt=function(e){var t=e.originalEvent,o=e.putSortable,r=e.dragEl,n=e.activeSortable,i=e.dispatchSortableEvent,s=e.hideGhostForTarget,a=e.unhideGhostForTarget;if(t){var l=o||n;s();var u=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,c=document.elementFromPoint(u.clientX,u.clientY);a(),l&&!l.el.contains(c)&&(i("spill"),this.onSpill({dragEl:r,putSortable:o}))}};function ut(){}function ct(){}function dt(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;st=t},dragOverValid:function(e){var t=e.completed,o=e.target,r=e.onMove,n=e.activeSortable,i=e.changed,s=e.cancel;if(n.options.swap){var a=this.sortable.el,l=this.options;if(o&&o!==a){var u=st;!1!==r(o)?(O(o,l.swapClass,!0),st=o):st=null,u&&u!==st&&O(u,l.swapClass,!1)}i(),t(!0),s()}},drop:function(e){var t=e.activeSortable,o=e.putSortable,r=e.dragEl,n=o||this.sortable,i=this.options;st&&O(st,i.swapClass,!1),st&&(i.swap||o&&o.options.swap)&&r!==st&&(n.captureAnimationState(),n!==t&&t.captureAnimationState(),function(e,t){var o,r,n=e.parentNode,i=t.parentNode;if(!n||!i||n.isEqualNode(t)||i.isEqualNode(e))return;o=k(e),r=k(t),n.isEqualNode(i)&&o<r&&r++;n.insertBefore(t,n.children[o]),i.insertBefore(e,i.children[r])}(r,st),n.animateAll(),n!==t&&t.animateAll())},nulling:function(){st=null}},a(e,{pluginName:"swap",eventProperties:function(){return{swapItem:st}}})}ut.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,o=e.putSortable;this.sortable.captureAnimationState(),o&&o.captureAnimationState();var r=R(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(t,r):this.sortable.el.appendChild(t),this.sortable.animateAll(),o&&o.animateAll()},drop:lt},a(ut,{pluginName:"revertOnSpill"}),ct.prototype={onSpill:function(e){var t=e.dragEl,o=e.putSortable||this.sortable;o.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),o.animateAll()},drop:lt},a(ct,{pluginName:"removeOnSpill"});var pt,ht,ft,mt,gt,yt=[],vt=[],_t=!1,bt=!1,At=!1;function Ct(){function e(e){for(var t in this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this));e.options.supportPointer?_(document,"pointerup",this._deselectMultiDrag):(_(document,"mouseup",this._deselectMultiDrag),_(document,"touchend",this._deselectMultiDrag)),_(document,"keydown",this._checkKeyDown),_(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(t,o){var r="";yt.length&&ht===e?yt.forEach((function(e,t){r+=(t?", ":"")+e.textContent})):r=o.textContent,t.setData("Text",r)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(e){var t=e.dragEl;ft=t},delayEnded:function(){this.isMultiDrag=~yt.indexOf(ft)},setupClone:function(e){var t=e.sortable,o=e.cancel;if(this.isMultiDrag){for(var r=0;r<yt.length;r++)vt.push(B(yt[r])),vt[r].sortableIndex=yt[r].sortableIndex,vt[r].draggable=!1,vt[r].style["will-change"]="",O(vt[r],this.options.selectedClass,!1),yt[r]===ft&&O(vt[r],this.options.chosenClass,!1);t._hideClone(),o()}},clone:function(e){var t=e.sortable,o=e.rootEl,r=e.dispatchSortableEvent,n=e.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||yt.length&&ht===t&&(Et(!0,o),r("clone"),n()))},showClone:function(e){var t=e.cloneNowShown,o=e.rootEl,r=e.cancel;this.isMultiDrag&&(Et(!1,o),vt.forEach((function(e){I(e,"display","")})),t(),gt=!1,r())},hideClone:function(e){var t=this,o=(e.sortable,e.cloneNowHidden),r=e.cancel;this.isMultiDrag&&(vt.forEach((function(e){I(e,"display","none"),t.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)})),o(),gt=!0,r())},dragStartGlobal:function(e){e.sortable;!this.isMultiDrag&&ht&&ht.multiDrag._deselectMultiDrag(),yt.forEach((function(e){e.sortableIndex=k(e)})),yt=yt.sort((function(e,t){return e.sortableIndex-t.sortableIndex})),At=!0},dragStarted:function(e){var t=this,o=e.sortable;if(this.isMultiDrag){if(this.options.sort&&(o.captureAnimationState(),this.options.animation)){yt.forEach((function(e){e!==ft&&I(e,"position","absolute")}));var r=P(ft,!1,!0,!0);yt.forEach((function(e){e!==ft&&z(e,r)})),bt=!0,_t=!0}o.animateAll((function(){bt=!1,_t=!1,t.options.animation&&yt.forEach((function(e){V(e)})),t.options.sort&&St()}))}},dragOver:function(e){var t=e.target,o=e.completed,r=e.cancel;bt&&~yt.indexOf(t)&&(o(!1),r())},revert:function(e){var t=e.fromSortable,o=e.rootEl,r=e.sortable,n=e.dragRect;yt.length>1&&(yt.forEach((function(e){r.addAnimationState({target:e,rect:bt?P(e):n}),V(e),e.fromRect=n,t.removeAnimationState(e)})),bt=!1,function(e,t){yt.forEach((function(o,r){var n=t.children[o.sortableIndex+(e?Number(r):0)];n?t.insertBefore(o,n):t.appendChild(o)}))}(!this.options.removeCloneOnHide,o))},dragOverCompleted:function(e){var t=e.sortable,o=e.isOwner,r=e.insertion,n=e.activeSortable,i=e.parentEl,s=e.putSortable,a=this.options;if(r){if(o&&n._hideClone(),_t=!1,a.animation&&yt.length>1&&(bt||!o&&!n.options.sort&&!s)){var l=P(ft,!1,!0,!0);yt.forEach((function(e){e!==ft&&(z(e,l),i.appendChild(e))})),bt=!0}if(!o)if(bt||St(),yt.length>1){var u=gt;n._showClone(t),n.options.animation&&!gt&&u&&vt.forEach((function(e){n.addAnimationState({target:e,rect:mt}),e.fromRect=mt,e.thisAnimationDuration=null}))}else n._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,o=e.isOwner,r=e.activeSortable;if(yt.forEach((function(e){e.thisAnimationDuration=null})),r.options.animation&&!o&&r.multiDrag.isMultiDrag){mt=a({},t);var n=x(ft,!0);mt.top-=n.f,mt.left-=n.e}},dragOverAnimationComplete:function(){bt&&(bt=!1,St())},drop:function(e){var t=e.originalEvent,o=e.rootEl,r=e.parentEl,n=e.sortable,i=e.dispatchSortableEvent,s=e.oldIndex,a=e.putSortable,l=a||this.sortable;if(t){var u=this.options,c=r.children;if(!At)if(u.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),O(ft,u.selectedClass,!~yt.indexOf(ft)),~yt.indexOf(ft))yt.splice(yt.indexOf(ft),1),pt=null,Z({sortable:n,rootEl:o,name:"deselect",targetEl:ft,originalEvt:t});else{if(yt.push(ft),Z({sortable:n,rootEl:o,name:"select",targetEl:ft,originalEvt:t}),t.shiftKey&&pt&&n.el.contains(pt)){var d,p,h=k(pt),f=k(ft);if(~h&&~f&&h!==f)for(f>h?(p=h,d=f):(p=f,d=h+1);p<d;p++)~yt.indexOf(c[p])||(O(c[p],u.selectedClass,!0),yt.push(c[p]),Z({sortable:n,rootEl:o,name:"select",targetEl:c[p],originalEvt:t}))}else pt=ft;ht=l}if(At&&this.isMultiDrag){if(bt=!1,(r[W].options.sort||r!==o)&&yt.length>1){var m=P(ft),g=k(ft,":not(."+this.options.selectedClass+")");if(!_t&&u.animation&&(ft.thisAnimationDuration=null),l.captureAnimationState(),!_t&&(u.animation&&(ft.fromRect=m,yt.forEach((function(e){if(e.thisAnimationDuration=null,e!==ft){var t=bt?P(e):m;e.fromRect=t,l.addAnimationState({target:e,rect:t})}}))),St(),yt.forEach((function(e){c[g]?r.insertBefore(e,c[g]):r.appendChild(e),g++})),s===k(ft))){var y=!1;yt.forEach((function(e){e.sortableIndex===k(e)||(y=!0)})),y&&i("update")}yt.forEach((function(e){V(e)})),l.animateAll()}ht=l}(o===r||a&&"clone"!==a.lastPutMode)&&vt.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=At=!1,vt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),b(document,"pointerup",this._deselectMultiDrag),b(document,"mouseup",this._deselectMultiDrag),b(document,"touchend",this._deselectMultiDrag),b(document,"keydown",this._checkKeyDown),b(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==At&&At||ht!==this.sortable||e&&E(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;yt.length;){var t=yt[0];O(t,this.options.selectedClass,!1),yt.shift(),Z({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},a(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[W];t&&t.options.multiDrag&&!~yt.indexOf(e)&&(ht&&ht!==t&&(ht.multiDrag._deselectMultiDrag(),ht=t),O(e,t.options.selectedClass,!0),yt.push(e))},deselect:function(e){var t=e.parentNode[W],o=yt.indexOf(e);t&&t.options.multiDrag&&~o&&(O(e,t.options.selectedClass,!1),yt.splice(o,1))}},eventProperties:function(){var e=this,t=[],o=[];return yt.forEach((function(r){var n;t.push({multiDragElement:r,index:r.sortableIndex}),n=bt&&r!==ft?-1:bt?k(r,":not(."+e.options.selectedClass+")"):k(r),o.push({multiDragElement:r,index:n})})),{items:u(yt),clones:[].concat(vt),oldIndicies:t,newIndicies:o}},optionListeners:{multiDragKey:function(e){return"ctrl"===(e=e.toLowerCase())?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}function Et(e,t){vt.forEach((function(o,r){var n=t.children[o.sortableIndex+(e?Number(r):0)];n?t.insertBefore(o,n):t.appendChild(o)}))}function St(){yt.forEach((function(e){e!==ft&&e.parentNode&&e.parentNode.removeChild(e)}))}Ve.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?_(document,"dragover",this._handleAutoScroll):this.options.supportPointer?_(document,"pointermove",this._handleFallbackAutoScroll):t.touches?_(document,"touchmove",this._handleFallbackAutoScroll):_(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?b(document,"dragover",this._handleAutoScroll):(b(document,"pointermove",this._handleFallbackAutoScroll),b(document,"touchmove",this._handleFallbackAutoScroll),b(document,"mousemove",this._handleFallbackAutoScroll)),it(),nt(),clearTimeout(S),S=void 0},nulling:function(){et=Je=Ke=rt=tt=Qe=$e=null,ot.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var o=this,r=(e.touches?e.touches[0]:e).clientX,n=(e.touches?e.touches[0]:e).clientY,i=document.elementFromPoint(r,n);if(et=e,t||this.options.forceAutoScrollFallback||h||p||m){at(e,this.options,i,t);var s=D(i,!0);!rt||tt&&r===Qe&&n===$e||(tt&&it(),tt=setInterval((function(){var i=D(document.elementFromPoint(r,n),!0);i!==s&&(s=i,nt()),at(e,o.options,i,t)}),10),Qe=r,$e=n)}else{if(!this.options.bubbleScroll||D(i,!0)===T())return void nt();at(e,this.options,D(i,!1),!1)}}},a(e,{pluginName:"scroll",initializeByDefault:!0})}),Ve.mount(ct,ut),t.default=Ve},"./node_modules/threads/dist-esm/common.js":function(e,t,o){"use strict";o.r(t),o.d(t,"registerSerializer",(function(){return i})),o.d(t,"deserialize",(function(){return s})),o.d(t,"serialize",(function(){return a}));var r=o("./node_modules/threads/dist-esm/serializers.js");let n=r.DefaultSerializer;function i(e){n=Object(r.extendSerializer)(n,e)}function s(e){return n.deserialize(e)}function a(e){return n.serialize(e)}},"./node_modules/threads/dist-esm/index.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/threads/dist-esm/common.js");o.d(t,"registerSerializer",(function(){return r.registerSerializer}));var n=o("./node_modules/threads/dist-esm/master/index.js");o.d(t,"Pool",(function(){return n.Pool})),o.d(t,"spawn",(function(){return n.spawn})),o.d(t,"Thread",(function(){return n.Thread})),o.d(t,"isWorkerRuntime",(function(){return n.isWorkerRuntime})),o.d(t,"BlobWorker",(function(){return n.BlobWorker})),o.d(t,"Worker",(function(){return n.Worker}));var i=o("./node_modules/threads/dist-esm/worker/index.js");o.d(t,"expose",(function(){return i.expose}));var s=o("./node_modules/threads/dist-esm/serializers.js");o.d(t,"DefaultSerializer",(function(){return s.DefaultSerializer}));var a=o("./node_modules/threads/dist-esm/transferable.js");o.d(t,"Transfer",(function(){return a.Transfer}))},"./node_modules/threads/dist-esm/master/get-bundle-url.browser.js":function(e,t,o){"use strict";let r;function n(){return r||(r=function(){try{throw new Error}catch(e){const t=(""+e.stack).match(/(https?|file|ftp|chrome-extension|moz-extension):\/\/[^)\n]+/g);if(t)return i(t[0])}return"/"}()),r}function i(e){return(""+e).replace(/^((?:https?|file|ftp|chrome-extension|moz-extension):\/\/.+)?\/[^/]+(?:\?.*)?$/,"$1")+"/"}o.r(t),o.d(t,"getBaseURL",(function(){return i})),o.d(t,"getBundleURL",(function(){return n}))},"./node_modules/threads/dist-esm/master/implementation.browser.js":function(e,t,o){"use strict";o.r(t),o.d(t,"defaultPoolSize",(function(){return n})),o.d(t,"getWorkerImplementation",(function(){return l})),o.d(t,"isWorkerRuntime",(function(){return u}));var r=o("./node_modules/threads/dist-esm/master/get-bundle-url.browser.js");const n="undefined"!=typeof navigator&&navigator.hardwareConcurrency?navigator.hardwareConcurrency:4,i=e=>/^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e);function s(e){const t=new Blob([e],{type:"application/javascript"});return URL.createObjectURL(t)}let a;function l(){return a||(a=function(){if("undefined"==typeof Worker)return class{constructor(){throw Error("No web worker implementation available. You might have tried to spawn a worker within a worker in a browser that doesn't support workers in workers.")}};class e extends Worker{constructor(e,t){var o,n;"string"==typeof e&&t&&t._baseURL?e=new URL(e,t._baseURL):"string"==typeof e&&!i(e)&&Object(r.getBundleURL)().match(/^file:\/\//i)&&(e=new URL(e,Object(r.getBundleURL)().replace(/\/[^\/]+$/,"/")),(null===(o=null==t?void 0:t.CORSWorkaround)||void 0===o||o)&&(e=s(`importScripts(${JSON.stringify(e)});`))),"string"==typeof e&&i(e)&&(null===(n=null==t?void 0:t.CORSWorkaround)||void 0===n||n)&&(e=s(`importScripts(${JSON.stringify(e)});`)),super(e,t)}}class t extends e{constructor(e,t){super(window.URL.createObjectURL(e),t)}static fromText(e,o){const r=new window.Blob([e],{type:"text/javascript"});return new t(r,o)}}return{blob:t,default:e}}()),a}function u(){const e="undefined"!=typeof self&&"undefined"!=typeof Window&&self instanceof Window;return!("undefined"==typeof self||!self.postMessage||e)}},"./node_modules/threads/dist-esm/master/index.js":function(e,t,o){"use strict";o.r(t),o.d(t,"BlobWorker",(function(){return a})),o.d(t,"Worker",(function(){return l}));var r=o("./node_modules/threads/dist-esm/master/implementation.browser.js");o.d(t,"isWorkerRuntime",(function(){return r.isWorkerRuntime}));var n=o("./node_modules/threads/dist-esm/master/pool.js");o.d(t,"Pool",(function(){return n.Pool}));var i=o("./node_modules/threads/dist-esm/master/spawn.js");o.d(t,"spawn",(function(){return i.spawn}));var s=o("./node_modules/threads/dist-esm/master/thread.js");o.d(t,"Thread",(function(){return s.Thread}));const a=Object(r.getWorkerImplementation)().blob,l=Object(r.getWorkerImplementation)().default},"./node_modules/threads/dist-esm/master/invocation-proxy.js":function(e,t,o){"use strict";o.r(t),o.d(t,"createProxyFunction",(function(){return g})),o.d(t,"createProxyModule",(function(){return y}));var r=o("./node_modules/debug/src/browser.js"),n=o.n(r),i=o("./node_modules/observable-fns/dist.esm/index.js"),s=o("./node_modules/threads/dist-esm/common.js"),a=o("./node_modules/threads/dist-esm/observable-promise.js"),l=o("./node_modules/threads/dist-esm/transferable.js"),u=o("./node_modules/threads/dist-esm/types/messages.js");const c=n()("threads:master:messages");let d=1;const p=e=>Array.from(new Set(e)),h=e=>e&&e.type===u.WorkerMessageType.error,f=e=>e&&e.type===u.WorkerMessageType.result,m=e=>e&&e.type===u.WorkerMessageType.running;function g(e,t){return(...o)=>{const r=d++,{args:n,transferables:g}=function(e){if(0===e.length)return{args:[],transferables:[]};const t=[],o=[];for(const r of e)Object(l.isTransferDescriptor)(r)?(t.push(Object(s.serialize)(r.send)),o.push(...r.transferables)):t.push(Object(s.serialize)(r));return{args:t,transferables:0===o.length?o:p(o)}}(o),y={type:u.MasterMessageType.run,uid:r,method:t,args:n};c("Sending command to run function to worker:",y);try{e.postMessage(y,g)}catch(e){return a.ObservablePromise.from(Promise.reject(e))}return a.ObservablePromise.from(Object(i.multicast)(function(e,t){return new i.Observable((o=>{let r;const n=i=>{if(c("Message from worker:",i.data),i.data&&i.data.uid===t)if(m(i.data))r=i.data.resultType;else if(f(i.data))"promise"===r?(void 0!==i.data.payload&&o.next(Object(s.deserialize)(i.data.payload)),o.complete(),e.removeEventListener("message",n)):(i.data.payload&&o.next(Object(s.deserialize)(i.data.payload)),i.data.complete&&(o.complete(),e.removeEventListener("message",n)));else if(h(i.data)){const t=Object(s.deserialize)(i.data.error);o.error(t),e.removeEventListener("message",n)}};return e.addEventListener("message",n),()=>{if("observable"===r||!r){const o={type:u.MasterMessageType.cancel,uid:t};e.postMessage(o)}e.removeEventListener("message",n)}}))}(e,r)))}}function y(e,t){const o={};for(const r of t)o[r]=g(e,r);return o}},"./node_modules/threads/dist-esm/master/pool-types.js":function(e,t,o){"use strict";var r;o.r(t),o.d(t,"PoolEventType",(function(){return r})),function(e){e.initialized="initialized",e.taskCanceled="taskCanceled",e.taskCompleted="taskCompleted",e.taskFailed="taskFailed",e.taskQueued="taskQueued",e.taskQueueDrained="taskQueueDrained",e.taskStart="taskStart",e.terminated="terminated"}(r||(r={}))},"./node_modules/threads/dist-esm/master/pool.js":function(e,t,o){"use strict";o.r(t),o.d(t,"Pool",(function(){return f}));var r=o("./node_modules/debug/src/browser.js"),n=o.n(r),i=o("./node_modules/observable-fns/dist.esm/index.js"),s=o("./node_modules/threads/dist-esm/ponyfills.js"),a=o("./node_modules/threads/dist-esm/master/implementation.browser.js"),l=o("./node_modules/threads/dist-esm/master/pool-types.js");o.d(t,"PoolEventType",(function(){return l.PoolEventType}));var u=o("./node_modules/threads/dist-esm/master/thread.js");o.d(t,"Thread",(function(){return u.Thread}));var c=function(e,t,o,r){return new(o||(o=Promise))((function(n,i){function s(e){try{l(r.next(e))}catch(e){i(e)}}function a(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))};let d=1;class p{constructor(e,t){this.eventSubject=new i.Subject,this.initErrors=[],this.isClosing=!1,this.nextTaskID=1,this.taskQueue=[];const o="number"==typeof t?{size:t}:t||{},{size:r=a.defaultPoolSize}=o;var s;this.debug=n()(`threads:pool:${s=o.name||String(d++),s.replace(/\W/g," ").trim().replace(/\s+/g,"-")}`),this.options=o,this.workers=function(e,t){return function(e){const t=[];for(let o=0;o<e;o++)t.push(o);return t}(t).map((()=>({init:e(),runningTasks:[]})))}(e,r),this.eventObservable=Object(i.multicast)(i.Observable.from(this.eventSubject)),Promise.all(this.workers.map((e=>e.init))).then((()=>this.eventSubject.next({type:l.PoolEventType.initialized,size:this.workers.length})),(e=>{this.debug("Error while initializing pool worker:",e),this.eventSubject.error(e),this.initErrors.push(e)}))}findIdlingWorker(){const{concurrency:e=1}=this.options;return this.workers.find((t=>t.runningTasks.length<e))}runPoolTask(e,t){return c(this,void 0,void 0,(function*(){const o=this.workers.indexOf(e)+1;this.debug(`Running task #${t.id} on worker #${o}...`),this.eventSubject.next({type:l.PoolEventType.taskStart,taskID:t.id,workerID:o});try{const r=yield t.run(yield e.init);this.debug(`Task #${t.id} completed successfully`),this.eventSubject.next({type:l.PoolEventType.taskCompleted,returnValue:r,taskID:t.id,workerID:o})}catch(e){this.debug(`Task #${t.id} failed`),this.eventSubject.next({type:l.PoolEventType.taskFailed,taskID:t.id,error:e,workerID:o})}}))}run(e,t){return c(this,void 0,void 0,(function*(){const o=(()=>c(this,void 0,void 0,(function*(){var r;yield(r=0,new Promise((e=>setTimeout(e,r))));try{yield this.runPoolTask(e,t)}finally{e.runningTasks=e.runningTasks.filter((e=>e!==o)),this.isClosing||this.scheduleWork()}})))();e.runningTasks.push(o)}))}scheduleWork(){this.debug("Attempt de-queueing a task in order to run it...");const e=this.findIdlingWorker();if(!e)return;const t=this.taskQueue.shift();if(!t)return this.debug("Task queue is empty"),void this.eventSubject.next({type:l.PoolEventType.taskQueueDrained});this.run(e,t)}taskCompletion(e){return new Promise(((t,o)=>{const r=this.events().subscribe((n=>{n.type===l.PoolEventType.taskCompleted&&n.taskID===e?(r.unsubscribe(),t(n.returnValue)):n.type===l.PoolEventType.taskFailed&&n.taskID===e?(r.unsubscribe(),o(n.error)):n.type===l.PoolEventType.terminated&&(r.unsubscribe(),o(Error("Pool has been terminated before task was run.")))}))}))}settled(e=!1){return c(this,void 0,void 0,(function*(){const t=()=>{return e=this.workers,t=e=>e.runningTasks,e.reduce(((e,o)=>[...e,...t(o)]),[]);var e,t},o=[],r=this.eventObservable.subscribe((e=>{e.type===l.PoolEventType.taskFailed&&o.push(e.error)}));return this.initErrors.length>0?Promise.reject(this.initErrors[0]):e&&0===this.taskQueue.length?(yield Object(s.allSettled)(t()),o):(yield new Promise(((e,t)=>{const o=this.eventObservable.subscribe({next(t){t.type===l.PoolEventType.taskQueueDrained&&(o.unsubscribe(),e(void 0))},error:t})})),yield Object(s.allSettled)(t()),r.unsubscribe(),o)}))}completed(e=!1){return c(this,void 0,void 0,(function*(){const t=this.settled(e),o=new Promise(((e,o)=>{const r=this.eventObservable.subscribe({next(n){n.type===l.PoolEventType.taskQueueDrained?(r.unsubscribe(),e(t)):n.type===l.PoolEventType.taskFailed&&(r.unsubscribe(),o(n.error))},error:o})})),r=yield Promise.race([t,o]);if(r.length>0)throw r[0]}))}events(){return this.eventObservable}queue(e){const{maxQueuedJobs:t=1/0}=this.options;if(this.isClosing)throw Error("Cannot schedule pool tasks after terminate() has been called.");if(this.initErrors.length>0)throw this.initErrors[0];const o=this.nextTaskID++,r=this.taskCompletion(o);r.catch((e=>{this.debug(`Task #${o} errored:`,e)}));const n={id:o,run:e,cancel:()=>{-1!==this.taskQueue.indexOf(n)&&(this.taskQueue=this.taskQueue.filter((e=>e!==n)),this.eventSubject.next({type:l.PoolEventType.taskCanceled,taskID:n.id}))},then:r.then.bind(r)};if(this.taskQueue.length>=t)throw Error("Maximum number of pool tasks queued. Refusing to queue another one.\nThis usually happens for one of two reasons: We are either at peak workload right now or some tasks just won't finish, thus blocking the pool.");return this.debug(`Queueing task #${n.id}...`),this.taskQueue.push(n),this.eventSubject.next({type:l.PoolEventType.taskQueued,taskID:n.id}),this.scheduleWork(),n}terminate(e){return c(this,void 0,void 0,(function*(){this.isClosing=!0,e||(yield this.completed(!0)),this.eventSubject.next({type:l.PoolEventType.terminated,remainingQueue:[...this.taskQueue]}),this.eventSubject.complete(),yield Promise.all(this.workers.map((e=>c(this,void 0,void 0,(function*(){return u.Thread.terminate(yield e.init)})))))}))}}function h(e,t){return new p(e,t)}p.EventType=l.PoolEventType,h.EventType=l.PoolEventType;const f=h},"./node_modules/threads/dist-esm/master/spawn.js":function(e,t,o){"use strict";o.r(t),function(e){o.d(t,"spawn",(function(){return _}));var r=o("./node_modules/debug/src/browser.js"),n=o.n(r),i=o("./node_modules/observable-fns/dist.esm/index.js"),s=o("./node_modules/threads/dist-esm/common.js"),a=o("./node_modules/threads/dist-esm/promise.js"),l=o("./node_modules/threads/dist-esm/symbols.js"),u=o("./node_modules/threads/dist-esm/types/master.js"),c=o("./node_modules/threads/dist-esm/master/invocation-proxy.js"),d=function(e,t,o,r){return new(o||(o=Promise))((function(n,i){function s(e){try{l(r.next(e))}catch(e){i(e)}}function a(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))};const p=n()("threads:master:messages"),h=n()("threads:master:spawn"),f=n()("threads:master:thread-utils"),m=e=>e&&"init"===e.type,g=e=>e&&"uncaughtError"===e.type,y=void 0!==e&&e.env.THREADS_WORKER_INIT_TIMEOUT?Number.parseInt(e.env.THREADS_WORKER_INIT_TIMEOUT,10):1e4;function v(e,t,o,r){const n=o.filter((e=>e.type===u.WorkerEventType.internalError)).map((e=>e.error));return Object.assign(e,{[l.$errors]:n,[l.$events]:o,[l.$terminate]:r,[l.$worker]:t})}function _(e,t){return d(this,void 0,void 0,(function*(){h("Initializing new thread");const o=t&&t.timeout?t.timeout:y,r=yield function(e,t,o){return d(this,void 0,void 0,(function*(){let r;const n=new Promise(((e,n)=>{r=setTimeout((()=>n(Error(o))),t)})),i=yield Promise.race([e,n]);return clearTimeout(r),i}))}(function(e){return new Promise(((t,o)=>{const r=n=>{p("Message from worker before finishing initialization:",n.data),m(n.data)?(e.removeEventListener("message",r),t(n.data)):g(n.data)&&(e.removeEventListener("message",r),o(Object(s.deserialize)(n.data.error)))};e.addEventListener("message",r)}))}(e),o,`Timeout: Did not receive an init message from worker after ${o}ms. Make sure the worker calls expose().`),n=r.exposed,{termination:l,terminate:_}=function(e){const[t,o]=Object(a.createPromiseWithResolver)();return{terminate:()=>d(this,void 0,void 0,(function*(){f("Terminating worker"),yield e.terminate(),o()})),termination:t}}(e),b=function(e,t){return new i.Observable((o=>{const r=e=>{const t={type:u.WorkerEventType.message,data:e.data};o.next(t)},n=e=>{f("Unhandled promise rejection event in thread:",e);const t={type:u.WorkerEventType.internalError,error:Error(e.reason)};o.next(t)};e.addEventListener("message",r),e.addEventListener("unhandledrejection",n),t.then((()=>{const t={type:u.WorkerEventType.termination};e.removeEventListener("message",r),e.removeEventListener("unhandledrejection",n),o.next(t),o.complete()}))}))}(e,l);if("function"===n.type){return v(Object(c.createProxyFunction)(e),e,b,_)}if("module"===n.type){return v(Object(c.createProxyModule)(e,n.methods),e,b,_)}{const e=n.type;throw Error(`Worker init message states unexpected type of expose(): ${e}`)}}))}}.call(this,o("./node_modules/process/browser.js"))},"./node_modules/threads/dist-esm/master/thread.js":function(e,t,o){"use strict";o.r(t),o.d(t,"Thread",(function(){return i}));var r=o("./node_modules/threads/dist-esm/symbols.js");function n(e){throw Error(e)}const i={errors:e=>e[r.$errors]||n("Error observable not found. Make sure to pass a thread instance as returned by the spawn() promise."),events:e=>e[r.$events]||n("Events observable not found. Make sure to pass a thread instance as returned by the spawn() promise."),terminate:e=>e[r.$terminate]()}},"./node_modules/threads/dist-esm/observable-promise.js":function(e,t,o){"use strict";o.r(t),o.d(t,"ObservablePromise",(function(){return l}));var r=o("./node_modules/observable-fns/dist.esm/index.js");const n=()=>{},i=e=>e,s=e=>Promise.resolve().then(e);function a(e){throw e}class l extends r.Observable{constructor(e){super((t=>{const o=this,r=Object.assign(Object.assign({},t),{complete(){t.complete(),o.onCompletion()},error(e){t.error(e),o.onError(e)},next(e){t.next(e),o.onNext(e)}});try{return this.initHasRun=!0,e(r)}catch(e){r.error(e)}})),this.initHasRun=!1,this.fulfillmentCallbacks=[],this.rejectionCallbacks=[],this.firstValueSet=!1,this.state="pending"}onNext(e){this.firstValueSet||(this.firstValue=e,this.firstValueSet=!0)}onError(e){this.state="rejected",this.rejection=e;for(const t of this.rejectionCallbacks)s((()=>t(e)))}onCompletion(){this.state="fulfilled";for(const e of this.fulfillmentCallbacks)s((()=>e(this.firstValue)))}then(e,t){const o=e||i,r=t||a;let n=!1;return new Promise(((e,t)=>{const i=o=>{if(!n){n=!0;try{e(r(o))}catch(e){t(e)}}};return this.initHasRun||this.subscribe({error:i}),"fulfilled"===this.state?e(o(this.firstValue)):"rejected"===this.state?(n=!0,e(r(this.rejection))):(this.fulfillmentCallbacks.push((t=>{try{e(o(t))}catch(e){i(e)}})),void this.rejectionCallbacks.push(i))}))}catch(e){return this.then(void 0,e)}finally(e){const t=e||n;return this.then((e=>(t(),e)),(()=>t()))}static from(e){return function(e){return e&&"function"==typeof e.then}(e)?new l((t=>{e.then((e=>{t.next(e),t.complete()}),(e=>{t.error(e)}))})):super.from(e)}}},"./node_modules/threads/dist-esm/ponyfills.js":function(e,t,o){"use strict";function r(e){return Promise.all(e.map((e=>{const t=e=>({status:"fulfilled",value:e}),o=e=>({status:"rejected",reason:e}),r=Promise.resolve(e);try{return r.then(t,o)}catch(e){return Promise.reject(e)}})))}o.r(t),o.d(t,"allSettled",(function(){return r}))},"./node_modules/threads/dist-esm/promise.js":function(e,t,o){"use strict";o.r(t),o.d(t,"createPromiseWithResolver",(function(){return n}));const r=()=>{};function n(){let e,t=!1,o=r;return[new Promise((r=>{t?r(e):o=r})),r=>{t=!0,e=r,o(e)}]}},"./node_modules/threads/dist-esm/serializers.js":function(e,t,o){"use strict";function r(e,t){const o=e.deserialize.bind(e),r=e.serialize.bind(e);return{deserialize:e=>t.deserialize(e,o),serialize:e=>t.serialize(e,r)}}o.r(t),o.d(t,"extendSerializer",(function(){return r})),o.d(t,"DefaultSerializer",(function(){return i}));const n={deserialize:e=>Object.assign(Error(e.message),{name:e.name,stack:e.stack}),serialize:e=>({__error_marker:"$$error",message:e.message,name:e.name,stack:e.stack})},i={deserialize(e){return(t=e)&&"object"==typeof t&&"__error_marker"in t&&"$$error"===t.__error_marker?n.deserialize(e):e;var t},serialize:e=>e instanceof Error?n.serialize(e):e}},"./node_modules/threads/dist-esm/symbols.js":function(e,t,o){"use strict";o.r(t),o.d(t,"$errors",(function(){return r})),o.d(t,"$events",(function(){return n})),o.d(t,"$terminate",(function(){return i})),o.d(t,"$transferable",(function(){return s})),o.d(t,"$worker",(function(){return a}));const r=Symbol("thread.errors"),n=Symbol("thread.events"),i=Symbol("thread.terminate"),s=Symbol("thread.transferable"),a=Symbol("thread.worker")},"./node_modules/threads/dist-esm/transferable.js":function(e,t,o){"use strict";o.r(t),o.d(t,"isTransferDescriptor",(function(){return n})),o.d(t,"Transfer",(function(){return i}));var r=o("./node_modules/threads/dist-esm/symbols.js");function n(e){return e&&"object"==typeof e&&e[r.$transferable]}function i(e,t){if(!t){if(!(o=e)||"object"!=typeof o)throw Error();t=[e]}var o;return{[r.$transferable]:!0,send:e,transferables:t}}},"./node_modules/threads/dist-esm/types/master.js":function(e,t,o){"use strict";o.r(t),o.d(t,"WorkerEventType",(function(){return r}));var r;o("./node_modules/threads/dist-esm/symbols.js");!function(e){e.internalError="internalError",e.message="message",e.termination="termination"}(r||(r={}))},"./node_modules/threads/dist-esm/types/messages.js":function(e,t,o){"use strict";var r,n;o.r(t),o.d(t,"MasterMessageType",(function(){return r})),o.d(t,"WorkerMessageType",(function(){return n})),function(e){e.cancel="cancel",e.run="run"}(r||(r={})),function(e){e.error="error",e.init="init",e.result="result",e.running="running",e.uncaughtError="uncaughtError"}(n||(n={}))},"./node_modules/threads/dist-esm/worker/implementation.browser.js":function(e,t,o){"use strict";o.r(t);t.default={isWorkerRuntime:function(){const e="undefined"!=typeof self&&"undefined"!=typeof Window&&self instanceof Window;return!("undefined"==typeof self||!self.postMessage||e)},postMessageToMaster:function(e,t){self.postMessage(e,t)},subscribeToMasterMessages:function(e){const t=t=>{e(t.data)};return self.addEventListener("message",t),()=>{self.removeEventListener("message",t)}}}},"./node_modules/threads/dist-esm/worker/index.js":function(e,t,o){"use strict";o.r(t),function(e){o.d(t,"isWorkerRuntime",(function(){return c})),o.d(t,"expose",(function(){return A}));var r=o("./node_modules/is-observable/index.js"),n=o.n(r),i=o("./node_modules/threads/dist-esm/common.js"),s=o("./node_modules/threads/dist-esm/transferable.js"),a=o("./node_modules/threads/dist-esm/types/messages.js"),l=o("./node_modules/threads/dist-esm/worker/implementation.browser.js");o.d(t,"registerSerializer",(function(){return i.registerSerializer})),o.d(t,"Transfer",(function(){return s.Transfer}));var u=function(e,t,o,r){return new(o||(o=Promise))((function(n,i){function s(e){try{l(r.next(e))}catch(e){i(e)}}function a(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))};const c=l.default.isWorkerRuntime;let d=!1;const p=new Map,h=e=>e&&e.type===a.MasterMessageType.cancel,f=e=>e&&e.type===a.MasterMessageType.run,m=e=>n()(e)||function(e){return e&&"object"==typeof e&&"function"==typeof e.subscribe}(e);function g(e){return Object(s.isTransferDescriptor)(e)?{payload:e.send,transferables:e.transferables}:{payload:e,transferables:void 0}}function y(e,t){const{payload:o,transferables:r}=g(t),n={type:a.WorkerMessageType.error,uid:e,error:Object(i.serialize)(o)};l.default.postMessageToMaster(n,r)}function v(e,t,o){const{payload:r,transferables:n}=g(o),i={type:a.WorkerMessageType.result,uid:e,complete:!!t||void 0,payload:r};l.default.postMessageToMaster(i,n)}function _(e){try{const t={type:a.WorkerMessageType.uncaughtError,error:Object(i.serialize)(e)};l.default.postMessageToMaster(t)}catch(t){console.error("Not reporting uncaught error back to master thread as it occured while reporting an uncaught error already.\nLatest error:",t,"\nOriginal error:",e)}}function b(e,t,o){return u(this,void 0,void 0,(function*(){let r;try{r=t(...o)}catch(t){return y(e,t)}const n=m(r)?"observable":"promise";if(function(e,t){const o={type:a.WorkerMessageType.running,uid:e,resultType:t};l.default.postMessageToMaster(o)}(e,n),m(r)){const t=r.subscribe((t=>v(e,!1,Object(i.serialize)(t))),(t=>{y(e,Object(i.serialize)(t)),p.delete(e)}),(()=>{v(e,!0),p.delete(e)}));p.set(e,t)}else try{const t=yield r;v(e,!0,Object(i.serialize)(t))}catch(t){y(e,Object(i.serialize)(t))}}))}function A(e){if(!l.default.isWorkerRuntime())throw Error("expose() called in the master thread.");if(d)throw Error("expose() called more than once. This is not possible. Pass an object to expose() if you want to expose multiple functions.");if(d=!0,"function"==typeof e)l.default.subscribeToMasterMessages((t=>{f(t)&&!t.method&&b(t.uid,e,t.args.map(i.deserialize))})),function(){const e={type:a.WorkerMessageType.init,exposed:{type:"function"}};l.default.postMessageToMaster(e)}();else{if("object"!=typeof e||!e)throw Error(`Invalid argument passed to expose(). Expected a function or an object, got: ${e}`);l.default.subscribeToMasterMessages((t=>{f(t)&&t.method&&b(t.uid,e[t.method],t.args.map(i.deserialize))}));!function(e){const t={type:a.WorkerMessageType.init,exposed:{type:"module",methods:e}};l.default.postMessageToMaster(t)}(Object.keys(e).filter((t=>"function"==typeof e[t])))}l.default.subscribeToMasterMessages((e=>{if(h(e)){const t=e.uid,o=p.get(t);o&&(o.unsubscribe(),p.delete(t))}}))}"undefined"!=typeof self&&"function"==typeof self.addEventListener&&l.default.isWorkerRuntime()&&(self.addEventListener("error",(e=>{setTimeout((()=>_(e.error||e)),250)})),self.addEventListener("unhandledrejection",(e=>{const t=e.reason;t&&"string"==typeof t.message&&setTimeout((()=>_(t)),250)}))),void 0!==e&&"function"==typeof e.on&&l.default.isWorkerRuntime()&&(e.on("uncaughtException",(e=>{setTimeout((()=>_(e)),250)})),e.on("unhandledRejection",(e=>{e&&"string"==typeof e.message&&setTimeout((()=>_(e)),250)})))}.call(this,o("./node_modules/process/browser.js"))},"./node_modules/webfont-matcher/lib/fonts/google.js":function(e,t){(function(){var t;e.exports={icon:"icons/google.svg",name:"google",title:"Google Fonts",link:"google.com/fonts",getNames:function(){return t},getLink:function(e){return"https://fonts.google.com/specimen/"+e.replace(/( )/g,"+")},normalizeName:function(e){return e}},t=["ABeeZee","Abel","Abril Fatface","Aclonica","Acme","Actor","Adamina","Advent Pro","Aguafina Script","Akronim","Aladin","Aldrich","Alef","Alegreya","Alegreya SC","Alegreya Sans","Alegreya Sans SC","Alex Brush","Alfa Slab One","Alice","Alike","Alike Angular","Allan","Allerta","Allerta Stencil","Allura","Almendra","Almendra Display","Almendra SC","Amarante","Amaranth","Amatic SC","Amethysta","Amiri","Amita","Anaheim","Andada","Andika","Angkor","Annie Use Your Telescope","Anonymous Pro","Antic","Antic Didone","Antic Slab","Anton","Arapey","Arbutus","Arbutus Slab","Architects Daughter","Archivo Black","Archivo Narrow","Arimo","Arizonia","Armata","Artifika","Arvo","Arya","Asap","Asar","Asset","Astloch","Asul","Atomic Age","Aubrey","Audiowide","Autour One","Average","Average Sans","Averia Gruesa Libre","Averia Libre","Averia Sans Libre","Averia Serif Libre","Bad Script","Balthazar","Bangers","Basic","Battambang","Baumans","Bayon","Belgrano","Belleza","BenchNine","Bentham","Berkshire Swash","Bevan","Bigelow Rules","Bigshot One","Bilbo","Bilbo Swash Caps","Biryani","Bitter","Black Ops One","Bokor","Bonbon","Boogaloo","Bowlby One","Bowlby One SC","Brawler","Bree Serif","Bubblegum Sans","Bubbler One","Buda","Buenard","Butcherman","Butterfly Kids","Cabin","Cabin Condensed","Cabin Sketch","Caesar Dressing","Cagliostro","Calligraffitti","Cambay","Cambo","Candal","Cantarell","Cantata One","Cantora One","Capriola","Cardo","Carme","Carrois Gothic","Carrois Gothic SC","Carter One","Catamaran","Caudex","Caveat","Caveat Brush","Cedarville Cursive","Ceviche One","Changa One","Chango","Chau Philomene One","Chela One","Chelsea Market","Chenla","Cherry Cream Soda","Cherry Swash","Chewy","Chicle","Chivo","Chonburi","Cinzel","Cinzel Decorative","Clicker Script","Coda","Coda Caption","Codystar","Combo","Comfortaa","Coming Soon","Concert One","Condiment","Content","Contrail One","Convergence","Cookie","Copse","Corben","Courgette","Cousine","Coustard","Covered By Your Grace","Crafty Girls","Creepster","Crete Round","Crimson Text","Croissant One","Crushed","Cuprum","Cutive","Cutive Mono","Damion","Dancing Script","Dangrek","Dawning of a New Day","Days One","Dekko","Delius","Delius Swash Caps","Delius Unicase","Della Respira","Denk One","Devonshire","Dhurjati","Didact Gothic","Diplomata","Diplomata SC","Domine","Donegal One","Doppio One","Dorsa","Dosis","Dr Sugiyama","Droid Sans","Droid Sans Mono","Droid Serif","Duru Sans","Dynalight","EB Garamond","Eagle Lake","Eater","Economica","Eczar","Ek Mukta","Electrolize","Elsie","Elsie Swash Caps","Emblema One","Emilys Candy","Engagement","Englebert","Enriqueta","Erica One","Esteban","Euphoria Script","Ewert","Exo","Exo 2","Expletus Sans","Fanwood Text","Fascinate","Fascinate Inline","Faster One","Fasthand","Fauna One","Federant","Federo","Felipa","Fenix","Finger Paint","Fira Mono","Fira Sans","Fjalla One","Fjord One","Flamenco","Flavors","Fondamento","Fontdiner Swanky","Forum","Francois One","Freckle Face","Fredericka the Great","Fredoka One","Freehand","Fresca","Frijole","Fruktur","Fugaz One","GFS Didot","GFS Neohellenic","Gabriela","Gafata","Galdeano","Galindo","Gentium Basic","Gentium Book Basic","Geo","Geostar","Geostar Fill","Germania One","Gidugu","Gilda Display","Give You Glory","Glass Antiqua","Glegoo","Gloria Hallelujah","Goblin One","Gochi Hand","Gorditas","Goudy Bookletter 1911","Graduate","Grand Hotel","Gravitas One","Great Vibes","Griffy","Gruppo","Gudea","Gurajada","Habibi","Halant","Hammersmith One","Hanalei","Hanalei Fill","Handlee","Hanuman","Happy Monkey","Headland One","Henny Penny","Herr Von Muellerhoff","Hind","Hind Siliguri","Hind Vadodara","Holtwood One SC","Homemade Apple","Homenaje","IM Fell DW Pica","IM Fell DW Pica SC","IM Fell Double Pica","IM Fell Double Pica SC","IM Fell English","IM Fell English SC","IM Fell French Canon","IM Fell French Canon SC","IM Fell Great Primer","IM Fell Great Primer SC","Iceberg","Iceland","Imprima","Inconsolata","Inder","Indie Flower","Inika","Inknut Antiqua","Irish Grover","Istok Web","Italiana","Italianno","Itim","Jacques Francois","Jacques Francois Shadow","Jaldi","Jim Nightshade","Jockey One","Jolly Lodger","Josefin Sans","Josefin Slab","Joti One","Judson","Julee","Julius Sans One","Junge","Jura","Just Another Hand","Just Me Again Down Here","Kadwa","Kalam","Kameron","Kantumruy","Karla","Karma","Kaushan Script","Kavoon","Kdam Thmor","Keania One","Kelly Slab","Kenia","Khand","Khmer","Khula","Kite One","Knewave","Kotta One","Koulen","Kranky","Kreon","Kristi","Krona One","Kurale","La Belle Aurore","Laila","Lakki Reddy","Lancelot","Lateef","Lato","League Script","Leckerli One","Ledger","Lekton","Lemon","Libre Baskerville","Life Savers","Lilita One","Lily Script One","Limelight","Linden Hill","Lobster","Lobster Two","Londrina Outline","Londrina Shadow","Londrina Sketch","Londrina Solid","Lora","Love Ya Like A Sister","Loved by the King","Lovers Quarrel","Luckiest Guy","Lusitana","Lustria","Macondo","Macondo Swash Caps","Magra","Maiden Orange","Mako","Mallanna","Mandali","Marcellus","Marcellus SC","Marck Script","Margarine","Marko One","Marmelad","Martel","Martel Sans","Marvel","Mate","Mate SC","Maven Pro","McLaren","Meddon","MedievalSharp","Medula One","Megrim","Meie Script","Merienda","Merienda One","Merriweather","Merriweather Sans","Metal","Metal Mania","Metamorphous","Metrophobic","Michroma","Milonga","Miltonian","Miltonian Tattoo","Miniver","Miss Fajardose","Modak","Modern Antiqua","Molengo","Molle","Monda","Monofett","Monoton","Monsieur La Doulaise","Montaga","Montez","Montserrat","Montserrat Alternates","Montserrat Subrayada","Moul","Moulpali","Mountains of Christmas","Mouse Memoirs","Mr Bedfort","Mr Dafoe","Mr De Haviland","Mrs Saint Delafield","Mrs Sheppards","Muli","Mystery Quest","NTR","Neucha","Neuton","New Rocker","News Cycle","Niconne","Nixie One","Nobile","Nokora","Norican","Nosifer","Nothing You Could Do","Noticia Text","Noto Sans","Noto Serif","Nova Cut","Nova Flat","Nova Mono","Nova Oval","Nova Round","Nova Script","Nova Slim","Nova Square","Numans","Nunito","Odor Mean Chey","Offside","Old Standard TT","Oldenburg","Oleo Script","Oleo Script Swash Caps","Open Sans","Open Sans Condensed","Oranienbaum","Orbitron","Oregano","Orienta","Original Surfer","Oswald","Over the Rainbow","Overlock","Overlock SC","Ovo","Oxygen","Oxygen Mono","PT Mono","PT Sans","PT Sans Caption","PT Sans Narrow","PT Serif","PT Serif Caption","Pacifico","Palanquin","Palanquin Dark","Paprika","Parisienne","Passero One","Passion One","Pathway Gothic One","Patrick Hand","Patrick Hand SC","Patua One","Paytone One","Peddana","Peralta","Permanent Marker","Petit Formal Script","Petrona","Philosopher","Piedra","Pinyon Script","Pirata One","Plaster","Play","Playball","Playfair Display","Playfair Display SC","Podkova","Poiret One","Poller One","Poly","Pompiere","Pontano Sans","Poppins","Port Lligat Sans","Port Lligat Slab","Pragati Narrow","Prata","Preahvihear","Press Start 2P","Princess Sofia","Prociono","Prosto One","Puritan","Purple Purse","Quando","Quantico","Quattrocento","Quattrocento Sans","Questrial","Quicksand","Quintessential","Qwigley","Racing Sans One","Radley","Rajdhani","Raleway","Raleway Dots","Ramabhadra","Ramaraja","Rambla","Rammetto One","Ranchers","Rancho","Ranga","Rationale","Ravi Prakash","Redressed","Reenie Beanie","Revalia","Rhodium Libre","Ribeye","Ribeye Marrow","Righteous","Risque","Roboto","Roboto Condensed","Roboto Mono","Roboto Slab","Rochester","Rock Salt","Rokkitt","Romanesco","Ropa Sans","Rosario","Rosarivo","Rouge Script","Rozha One","Rubik","Rubik Mono One","Rubik One","Ruda","Rufina","Ruge Boogie","Ruluko","Rum Raisin","Ruslan Display","Russo One","Ruthie","Rye","Sacramento","Sahitya","Sail","Salsa","Sanchez","Sancreek","Sansita One","Sarala","Sarina","Sarpanch","Satisfy","Scada","Scheherazade","Schoolbell","Seaweed Script","Sevillana","Seymour One","Shadows Into Light","Shadows Into Light Two","Shanti","Share","Share Tech","Share Tech Mono","Shojumaru","Short Stack","Siemreap","Sigmar One","Signika","Signika Negative","Simonetta","Sintony","Sirin Stencil","Six Caps","Skranji","Slabo 13px","Slabo 27px","Slackey","Smokum","Smythe","Sniglet","Snippet","Snowburst One","Sofadi One","Sofia","Sonsie One","Sorts Mill Goudy","Source Code Pro","Source Sans Pro","Source Serif Pro","Special Elite","Spicy Rice","Spinnaker","Spirax","Squada One","Sree Krushnadevaraya","Stalemate","Stalinist One","Stardos Stencil","Stint Ultra Condensed","Stint Ultra Expanded","Stoke","Strait","Sue Ellen Francisco","Sumana","Sunshiney","Supermercado One","Sura","Suranna","Suravaram","Suwannaphum","Swanky and Moo Moo","Syncopate","Tangerine","Taprom","Tauri","Teko","Telex","Tenali Ramakrishna","Tenor Sans","Text Me One","The Girl Next Door","Tienne","Tillana","Timmana","Tinos","Titan One","Titillium Web","Trade Winds","Trocchi","Trochut","Trykker","Tulpen One","Ubuntu","Ubuntu Condensed","Ubuntu Mono","Ultra","Uncial Antiqua","Underdog","Unica One","UnifrakturCook","UnifrakturMaguntia","Unkempt","Unlock","Unna","VT323","Vampiro One","Varela","Varela Round","Vast Shadow","Vesper Libre","Vibur","Vidaloka","Viga","Voces","Volkhov","Vollkorn","Voltaire","Waiting for the Sunrise","Wallpoet","Walter Turncoat","Warnes","Wellfleet","Wendy One","Wire One","Work Sans","Yanone Kaffeesatz","Yantramanav","Yellowtail","Yeseva One","Yesteryear","Zeyada"]}).call(this)},"./node_modules/webpack/buildin/global.js":function(e,t){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(e){"object"==typeof window&&(o=window)}e.exports=o},"./node_modules/whatwg-fetch/fetch.js":function(e,t,o){"use strict";o.r(t),o.d(t,"Headers",(function(){return u})),o.d(t,"Request",(function(){return g})),o.d(t,"Response",(function(){return v})),o.d(t,"DOMException",(function(){return b})),o.d(t,"fetch",(function(){return A}));var r={searchParams:"URLSearchParams"in self,iterable:"Symbol"in self&&"iterator"in Symbol,blob:"FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in self,arrayBuffer:"ArrayBuffer"in self};if(r.arrayBuffer)var n=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(e){return e&&n.indexOf(Object.prototype.toString.call(e))>-1};function s(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function a(e){return"string"!=typeof e&&(e=String(e)),e}function l(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r.iterable&&(t[Symbol.iterator]=function(){return t}),t}function u(e){this.map={},e instanceof u?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function c(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function d(e){return new Promise((function(t,o){e.onload=function(){t(e.result)},e.onerror=function(){o(e.error)}}))}function p(e){var t=new FileReader,o=d(t);return t.readAsArrayBuffer(e),o}function h(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function f(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:r.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:r.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():r.arrayBuffer&&r.blob&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=h(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):r.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||i(e))?this._bodyArrayBuffer=h(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r.blob&&(this.blob=function(){var e=c(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var e,t,o,r=c(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,o=d(t),t.readAsText(e),o;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),o=new Array(t.length),r=0;r<t.length;r++)o[r]=String.fromCharCode(t[r]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},r.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}u.prototype.append=function(e,t){e=s(e),t=a(t);var o=this.map[e];this.map[e]=o?o+", "+t:t},u.prototype.delete=function(e){delete this.map[s(e)]},u.prototype.get=function(e){return e=s(e),this.has(e)?this.map[e]:null},u.prototype.has=function(e){return this.map.hasOwnProperty(s(e))},u.prototype.set=function(e,t){this.map[s(e)]=a(t)},u.prototype.forEach=function(e,t){for(var o in this.map)this.map.hasOwnProperty(o)&&e.call(t,this.map[o],o,this)},u.prototype.keys=function(){var e=[];return this.forEach((function(t,o){e.push(o)})),l(e)},u.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),l(e)},u.prototype.entries=function(){var e=[];return this.forEach((function(t,o){e.push([o,t])})),l(e)},r.iterable&&(u.prototype[Symbol.iterator]=u.prototype.entries);var m=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(e,t){var o,r,n=(t=t||{}).body;if(e instanceof g){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new u(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new u(t.headers)),this.method=(o=t.method||this.method||"GET",r=o.toUpperCase(),m.indexOf(r)>-1?r:o),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function y(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var o=e.split("="),r=o.shift().replace(/\+/g," "),n=o.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(n))}})),t}function v(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new u(t.headers),this.url=t.url||"",this._initBody(e)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},f.call(g.prototype),f.call(v.prototype),v.prototype.clone=function(){return new v(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},v.error=function(){var e=new v(null,{status:0,statusText:""});return e.type="error",e};var _=[301,302,303,307,308];v.redirect=function(e,t){if(-1===_.indexOf(t))throw new RangeError("Invalid status code");return new v(null,{status:t,headers:{location:e}})};var b=self.DOMException;try{new b}catch(e){(b=function(e,t){this.message=e,this.name=t;var o=Error(e);this.stack=o.stack}).prototype=Object.create(Error.prototype),b.prototype.constructor=b}function A(e,t){return new Promise((function(o,n){var i=new g(e,t);if(i.signal&&i.signal.aborted)return n(new b("Aborted","AbortError"));var s=new XMLHttpRequest;function a(){s.abort()}s.onload=function(){var e,t,r={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new u,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var o=e.split(":"),r=o.shift().trim();if(r){var n=o.join(":").trim();t.append(r,n)}})),t)};r.url="responseURL"in s?s.responseURL:r.headers.get("X-Request-URL");var n="response"in s?s.response:s.responseText;o(new v(n,r))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new b("Aborted","AbortError"))},s.open(i.method,i.url,!0),"include"===i.credentials?s.withCredentials=!0:"omit"===i.credentials&&(s.withCredentials=!1),"responseType"in s&&r.blob&&(s.responseType="blob"),i.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),i.signal&&(i.signal.addEventListener("abort",a),s.onreadystatechange=function(){4===s.readyState&&i.signal.removeEventListener("abort",a)}),s.send(void 0===i._bodyInit?null:i._bodyInit)}))}A.polyfill=!0,self.fetch||(self.fetch=A,self.Headers=u,self.Request=g,self.Response=v)},"./node_modules/xml-utils/count-substring.mjs":function(e,t,o){"use strict";function r(e,t){const o=new RegExp(t,"g"),r=e.match(o);return r?r.length:0}o.r(t),o.d(t,"default",(function(){return r}))},"./node_modules/xml-utils/find-tag-by-name.mjs":function(e,t,o){"use strict";o.r(t),o.d(t,"default",(function(){return s}));var r=o("./node_modules/xml-utils/index-of-match.mjs"),n=o("./node_modules/xml-utils/index-of-match-end.mjs"),i=o("./node_modules/xml-utils/count-substring.mjs");function s(e,t,o){const s=o&&o.debug||!1,a=!(o&&!1===typeof o.nested),l=o&&o.startIndex||0;s&&console.log("[xml-utils] starting findTagByName with",t," and ",o);const u=Object(r.default)(e,`<${t}[ \n>/]`,l);if(s&&console.log("[xml-utils] start:",u),-1===u)return;const c=e.slice(u+t.length);let d=Object(n.default)(c,"^[^<]*[ /]>",0);const p=-1!==d&&"/"===c[d-1];if(s&&console.log("[xml-utils] selfClosing:",p),!1===p)if(a){let e=0,o=1,r=0;for(;-1!==(d=Object(n.default)(c,"[ /]"+t+">",e));){const n=c.substring(e,d+1);if(o+=Object(i.default)(n,"<"+t+"[ \n\t>]"),r+=Object(i.default)(n,"</"+t+">"),r>=o)break;e=d}}else d=Object(n.default)(c,"[ /]"+t+">",0);const h=u+t.length+d+1;if(s&&console.log("[xml-utils] end:",h),-1===h)return;const f=e.slice(u,h);let m;return m=p?null:f.slice(f.indexOf(">")+1,f.lastIndexOf("<")),{inner:m,outer:f,start:u,end:h}}},"./node_modules/xml-utils/find-tags-by-name.mjs":function(e,t,o){"use strict";o.r(t),o.d(t,"default",(function(){return n}));var r=o("./node_modules/xml-utils/find-tag-by-name.mjs");function n(e,t,o){const n=[],i=o&&o.debug||!1,s=!o||"boolean"!=typeof o.nested||o.nested;let a,l=o&&o.startIndex||0;for(;a=Object(r.default)(e,t,{debug:i,startIndex:l});)l=s?a.start+1+t.length:a.end,n.push(a);return i&&console.log("findTagsByName found",n.length,"tags"),n}},"./node_modules/xml-utils/get-attribute.mjs":function(e,t,o){"use strict";function r(e,t,o){const r=o&&o.debug||!1;r&&console.log("[xml-utils] getting "+t+" in "+e);const n="object"==typeof e?e.outer:e,i=n.slice(0,n.indexOf(">")+1),s=['"',"'"];for(let e=0;e<s.length;e++){const o=s[e],n=t+"\\="+o+"([^"+o+"]*)"+o;r&&console.log("[xml-utils] pattern:",n);const a=new RegExp(n).exec(i);if(r&&console.log("[xml-utils] match:",a),a)return a[1]}}o.r(t),o.d(t,"default",(function(){return r}))},"./node_modules/xml-utils/index-of-match-end.mjs":function(e,t,o){"use strict";function r(e,t,o){const r=new RegExp(t).exec(e.slice(o));return r?o+r.index+r[0].length-1:-1}o.r(t),o.d(t,"default",(function(){return r}))},"./node_modules/xml-utils/index-of-match.mjs":function(e,t,o){"use strict";function r(e,t,o){const r=new RegExp(t).exec(e.slice(o));return r?o+r.index:-1}o.r(t),o.d(t,"default",(function(){return r}))},"./package.json":function(e){e.exports=JSON.parse('{"name":"geoportal-sdk","version":"3.5.6","date":"12/06/2025","SDK2DVersion":"3.5.6","SDK3DVersion":"3.5.6","description":"French Geoportal SDK based on OpenLayers (2D) and iTowns (3D) libraries","main":"dist/2d/GpSDK2D-src.js, dist/3d/GpSDK3d-src.js","module":"src/SDK2D.js, src/SDK3D.js","scripts":{"setup":"npm install","clean":"echo \\"Warning: target not yet implemented!\\" && exit 0","check":"eslint src/","test:serve":"webpack-dev-server --config webpack.test.serve.js","doc:serve":"webpack-dev-server --config webpack.config.3d --content-base jsdoc/ --port 9001 --open","sample:3d:serve":"webpack-dev-server --config webpack.config.3d --mode=development --https --open-page samples/index-3d-map.html --content-base . --output-public-path \'/dist/3d/\' --port 9001 --open","sample:2d:serve":"webpack-dev-server --config webpack.config.2d --mode=development --https --open-page samples/index-2d-map.html --content-base . --output-public-path \'/dist/2d/\' --port 9001 --open","stat:2d":"npm run build:2d:src -- --profile --json > map-2d.json","stat:3d":"npm run build:3d:src -- --profile --json > map-3d.json","clean:chunk":"rm dist/*/chunk*","build":"npm-run-all --print-label --print-name build:*:*","build:dev":"npm-run-all --print-label --print-name build:*:dev","build:prod":"npm-run-all --print-label --print-name build:*:prod","build:src":"npm-run-all --print-label --print-name build:*:src","build:3d":"npm-run-all --print-label --print-name build:3d:*","build:3d:src":"webpack --config webpack.config.3d --mode=none && npm run clean:chunk","build:3d:dev":"webpack --config webpack.config.3d --mode=development && npm run clean:chunk","build:3d:prod":"webpack --config webpack.config.3d --mode=production && npm run clean:chunk","build:2d":"npm-run-all --print-label --print-name build:2d:*","build:2d:src":"webpack --config webpack.config.2d --mode=none && npm run clean:chunk","build:2d:dev":"webpack --config webpack.config.2d --mode=development && npm run clean:chunk","build:2d:prod":"webpack --config webpack.config.2d --mode=production && npm run clean:chunk"},"repository":{"type":"git","url":"https://github.com/IGNF/geoportal-sdk.git"},"keywords":["openlayers","itowns","geoportail","geoplateforme","webservice","javascript"],"author":"IGNF","license":"CECILL-B","bugs":{"url":"https://github.com/IGNF/geoportal-sdk/issues"},"homepage":"https://geoservices.ign.fr/documentation/utilisation_web/sdk.html","dependencies":{"whatwg-fetch":"3.0.0"},"devDependencies":{"@babel/core":"^7.8.3","@babel/plugin-transform-runtime":"^7.8.3","@babel/preset-env":"^7.8.3","@mapbox/mapbox-gl-style-spec":"13.20.1","babel-loader":"^8.0.5","chai":"^4.2.0","chalk":"^4.0.0","copy-webpack-plugin":"^5.1.1","core-js":"^3.6.4","css-loader":"^3.4.2","eslint":"^6.8.0","eslint-config-standard":"^14.1.1","eslint-loader":"^4.0.0","eslint-plugin-import":"^2.17.2","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.1.1","eslint-plugin-standard":"^4.0.0","exports-loader":"^0.7.0","expose-loader":"^0.7.5","fs-extra":"^9.0.0","geoportal-extensions-itowns":"2.5.1","geoportal-extensions-openlayers":"3.4.6","handlebars":"^4.7.5","handlebars-layouts":"^3.1.4","html-webpack-plugin":"^4.0.4","itowns":"2.38.2","jsdoc-webpack-plugin":"^0.3.0","loglevel":"1.6.6","mini-css-extract-plugin":"^0.9.0","mocha":"^7.1.1","mocha-loader":"^5.0.0","npm-run-all":"^4.1.5","ol":"6.9.0","ol-mapbox-style":"6.7.0","optimize-css-assets-webpack-plugin":"^5.0.1","path":"^0.12.7","proj4":"2.7.5","replace-bundle-webpack-plugin":"^1.0.0","requirejs":"^2.3.6","responsive-loader":"^1.2.0","shelljs":"^0.8.3","speed-measure-webpack-plugin":"^1.3.0","string-template":"^1.0.0","style-loader":"^1.1.3","terser-webpack-plugin":"^2.0.0","three":"0.137.5","three.meshline":"1.2.0","url-loader":"^4.0.0","webpack":"^4.41.5","webpack-cli":"^3.3.10","webpack-dev-server":"^3.10.1","webpack-merge":"^4.2.1","webpack-node-externals":"^1.7.2"}}')},"./src/Interface/IMap.js":function(e,t,o){"use strict";o.r(t);o("./src/Interface/IMapLayers.js"),o("./src/Interface/IMapControls.js"),o("./src/Interface/IMapListeners.js"),o("./src/Interface/IMapView.js");var r=o("./src/Interface/IMapBase.js");o.d(t,"IMap",(function(){return r.IMap}))},"./src/Interface/IMapBase.js":function(e,t,o){"use strict";o.r(t),o.d(t,"IMap",(function(){return i}));var r=o("./src/Utils/LoggerByDefault.js"),n=(o("./node_modules/ol/proj.js"),o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/index.js"));o("./src/Utils/MapLoader.js");function i(e){if(!(this instanceof i))throw new TypeError("IMap constructor cannot be called as a function.");for(var t in this._opts=e,this.logger=r.default.getLogger("IMap"),this.logger.trace("[Constructeur IMap (options)]"),this._layers=[],this._layersRemoved=[],this._controls=[],this._events={},this._markers=[],this._isConfLoaded=!1,this._opts.mapOptions&&(this.apiKey=this._opts.mapOptions.apiKey),this.div=this._opts.div,this.mapOptions=Object.create(i.DEFAULTOPTIONS),this._opts.mapOptions)this._opts.mapOptions.hasOwnProperty(t)&&(this.mapOptions[t]=this._opts.mapOptions[t],this.logger.trace("option "+t+" récupérée"));this._initMap()}i.DEFAULTOPTIONS={projection:"EPSG:3857",center:{x:0,y:0,projection:"EPSG:4326",geolocate:!1,location:null,locationType:"location"},azimuth:0,enableRotation:!0,tilt:90,zoom:10,minZoom:0,maxZoom:21,reloadConfig:!0,controlsOptions:{draggable:!0,keyboard:!0,selectable:!1},mapEventsOptions:{},noProxyDomains:["wxs.ign.fr"]},i.DEFAULTLAYER=function(e){return{"ORTHOIMAGERY.ORTHOPHOTOS::GEOPORTAIL:OGC:WMTS":{minZoom:0,maxZoom:19,queryable:!0,opacity:1,format:"wmts",position:0,title:"Photographies aériennes",description:"Photographies aériennes",url:"https://data.geopf.fr/wmts",layer:"ORTHOIMAGERY.ORTHOPHOTOS",projection:"EPSG:3857",tileMatrixSet:"PM",topLeftCorner:{x:-20037508,y:20037508},resolutions:[156543.033928041,78271.51696402048,39135.758482010235,19567.87924100512,9783.93962050256,4891.96981025128,2445.98490512564,1222.99245256282,611.49622628141,305.7481131407048,152.8740565703525,76.43702828517624,38.21851414258813,19.10925707129406,9.554628535647032,4.777314267823516,2.388657133911758,1.194328566955879,.5971642834779395,.2985821417389697,.1492910708694849,.0746455354347424],matrixIds:["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21"],styleName:"normal",outputFormat:"image/jpeg",originators:[{name:"IGN",attribution:"Institut National de l'Information Géographique et Forestière",url:"https://www.ign.fr"}],quicklookUrl:"https://wxs.ign.fr/static/pictures/ign_ortho.jpg",metadata:[{url:""},{format:"xml",url:"https://wxs.ign.fr/geoportail/csw?service=CSW&version=2.0.2&request=GetRecordById&Id=IGNF_BDORTHOr_2-0.xml"},{format:"xml",url:"https://wxs.ign.fr/geoportail/csw?service=CSW&version=2.0.2&request=GetRecordById&Id=SPOT5.xml"},{format:"xml",url:"https://wxs.ign.fr/geoportail/csw?service=CSW&version=2.0.2&request=GetRecordById&Id=NCL-DITTT-ORTHO.xml"},{format:"xml",url:"https://wxs.ign.fr/geoportail/csw?service=CSW&version=2.0.2&request=GetRecordById&Id=IGNF_BDORTHOr_2-0.xml"},{format:"xml",url:"https://wxs.ign.fr/geoportail/csw?service=CSW&version=2.0.2&request=GetRecordById&Id=IGNF_ORTHOHR_1-0.xml"}],legends:[{format:"application/pdf",url:"https://www.geoportail.gouv.fr/depot/fiches/photographiesaeriennes/geoportail_dates_des_prises_de_vues_aeriennes.pdf",minScaleDenominator:null}]}}},i.prototype={constructor:i,_afterInitMap:function(){var e=this.mapOptions.mapEventsOptions;if(e)for(var t in e)this.listen(t,e[t],this);this.listen("layerChanged",this._onLayerChanged,this),"2d"===this.getViewMode()&&this.setXYCenter(this.mapOptions.center);var o="undefined"!=typeof window?window:{},r=o.Gp?o.Gp.Config:void 0,i=!1;this.apiKey&&!this.mapOptions.reloadConfig?i=!1:this.apiKey||this.mapOptions.customConfigFile?i=this.mapOptions.reloadConfig||!r||!r.isKeyConfLoaded(Array.isArray(this.apiKey)?this.apiKey[0]:this.apiKey):r?this.apiKey=Object.keys(r.generalOptions.apiKeys):(this.apiKey="full",i=!0);var s=this;if(i){var a=this.mapOptions.callbackSuffix;this.mapOptions.customConfigFile&&(a=a||""),n.Services.getConfig({apiKey:this.apiKey,customConfigFile:this.mapOptions.customConfigFile,callbackSuffix:a,onSuccess:function(e){s._afterGetConfig(e)},onFailure:function(e){this.logger.error(e),s._afterGetConfig(null)}})}else setTimeout((function(){s._afterGetConfig(r)}))},_afterGetConfig:function(e){this.logger.trace("[IMap] : Configuration chargée ... ou pas"),this._isConfLoaded=!(void 0===e);var t=i.CustomEvent("configured",{detail:{config:e}});this.div.dispatchEvent(t),this.mapOptions.hasOwnProperty("layersOptions")||(this._isConfLoaded?this.mapOptions.layersOptions={"ORTHOIMAGERY.ORTHOPHOTOS":{}}:this.mapOptions.layersOptions=i.DEFAULTLAYER(this.apiKey)),!this._isConfLoaded||this.mapOptions.center.hasOwnProperty("x")&&0!==this.mapOptions.center.x||this.mapOptions.center.hasOwnProperty("y")&&0!==this.mapOptions.center.y||(this.logger.trace("[IMap] : _afterGetConfig : setting default map center to (2.345274398, 48.860832558)"),this.mapOptions.center.x="2.345274398",this.mapOptions.center.y="48.860832558",this.mapOptions.center.projection="EPSG:4326"),(this.mapOptions.center.location||this.mapOptions.center.geolocate)&&this.setCenter(this.mapOptions.center),this.mapOptions.hasOwnProperty("markersOptions")&&this.setMarkersOptions(this.mapOptions.markersOptions),this.addLayers(this.mapOptions.layersOptions),this.addControls(this._getDefaultControls()),this.addControls(this.mapOptions.controlsOptions);var o=i.CustomEvent("mapLoaded",{detail:{map:this}});this.div.dispatchEvent(o)},_initMap:function(){this.logger.trace("[IMap] : _initMap")},setProxy:function(e){return n.ProxyUtils.proxifyUrl(e,this.mapOptions)},getViewMode:function(){return this.mapOptions.viewMode},getLibMap:function(){return{}},destroyMap:function(){}}},"./src/Interface/IMapControls.js":function(e,t,o){"use strict";o.r(t);var r=o("./src/Interface/IMapBase.js");r.IMap.DEFAULT_AUTOPAN_OPTIONS={autoPan:!0,duration:250,margin:5},r.IMap.DEFAULT_MEAS_STYLES={pointer:{strokeColor:"#002A50",strokeWidth:2,radius:5,fillColor:"rgba(255, 155, 0, 0.7)"},start:{strokeColor:"#002A50",strokeWidth:2,strokeLineDash:"[10, 10]",fillColor:"rgba(0, 183, 152, 0.2)"},finish:{strokeColor:"#002A50",strokeWidth:3,fillColor:"rgba(0, 183, 152, 0.3)"}},r.IMap.prototype._hexToRgba=function(e,t){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,o,r){return t+t+o+o+r+r}));var o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return(o=o?{r:parseInt(o[1],16),g:parseInt(o[2],16),b:parseInt(o[3],16)}:null)?"rgba("+o.r+", "+o.g+", "+o.b+", "+t+")":null},r.IMap.prototype.getControlsOptions=function(e){(!e||Array.isArray(e)&&0===e.length)&&(e=[],this._controls.forEach((function(t){e.push(t.id)}),this));var t={};return Array.isArray(e)||(e=[e]),this._controls.forEach((function(o){e.indexOf(o.id)<0||(t[o.id]=o.options)}),this),t},r.IMap.prototype.getLibMapControl=function(e){return null},r.IMap.prototype.addControls=function(e){this.logger.trace("[IMap] addControls");var t=null;for(t in e){var o=null,r=e[t],n=this.getLibMapControl(t);if(!(this._findRegisteredControl(t)>=0||n)||(this.logger.info("[IMap] addControls : ["+t+"] déjà présent."),this.removeControls([t]),null!=r)){switch(this.logger.trace("[IMap] addControls : adding : ["+t+"]"),t.toLowerCase()){case"draggable":o=this.setDraggable(r);break;case"keyboard":o=this.setKeyboard(r);break;case"selectable":o=this.setSelectable(r);break;case"zoom":o=this.addZoomControl(r);break;case"zoombox":o=this._addZoomBoxControl(r);break;case"overview":o=this.addOverviewControl(r);break;case"orientation":o=this.addOrientationControl(r);break;case"graphicscale":o=this.addGraphicScaleControl(r);break;case"boostrelief":o=this.addBoostReliefControl(r);break;case"buildings":o=this.addBuildingsControl(r);break;case"mouseposition":o=this.addMousePositionControl(r);break;case"route":o=this.addRouteControl(r);break;case"isocurve":o=this.addIsocurveControl(r);break;case"graticule":o=this.addGraticuleControl(r);break;case"layerswitcher":o=this.addLayerSwitcherControl(r);break;case"layerimport":o=this.addLayerImportControl(r);break;case"length":o=this.addLengthControl(r);break;case"area":o=this.addAreaControl(r);break;case"azimuth":o=this.addAzimuthControl(r);break;case"elevationpath":o=this.addElevationPathControl(r);break;case"search":o=this.addSearchControl(r);break;case"reversesearch":o=this.addReverseSearchControl(r);break;case"drawing":o=this.addDrawingControl(r);break;case"attributions":o=this.addAttributionsControl(r);break;case"camera":o=this.addCameraControl(r);break;case"getfeatureinfo":o=this.addGetFeatureInfoControl(r);break;default:this.logger.info("Controle "+t+"inconnu.");continue}this.logger.trace("[IMap] addControls : registering : ["+t+"]"),this._controls.push({obj:o||"2D-only-control",id:t.toLowerCase(),options:r})}}},r.IMap.prototype.removeControls=function(e){},r.IMap.prototype.modifyControls=function(e){this.logger.trace("[IMap] : modifyControls ... ");var t=Object.keys(e);if(0!==t.length){for(var o=null,r=0;r<t.length;r++){o=t[r];var n=this.getLibMapControl(o),i=this._findRegisteredControl(o);if(i>=0){if(!n){this.logger.trace("[IMap] : modifyControls : removing control : "+o),this.removeControls([o]),delete e[o];continue}var s=this._controls[i].options;for(var a in e[o])s[a]=e[o][a];e[o]=s}else if(!n){delete e[o];continue}}this.addControls(e)}else this.logger.info("No control to modify.")},r.IMap.prototype.addZoomControl=function(e){},r.IMap.prototype.addZoomBoxControl=function(e){},r.IMap.prototype.addOverviewControl=function(e){},r.IMap.prototype.addOrientationControl=function(e){},r.IMap.prototype.addGraphicScaleControl=function(e){},r.IMap.prototype.addMousePositionControl=function(e){},r.IMap.prototype.addRouteControl=function(e){},r.IMap.prototype.addIsocurveControl=function(e){},r.IMap.prototype.addGraticuleControl=function(e){},r.IMap.prototype.addLayerSwitcherControl=function(e){},r.IMap.prototype.addLayerImportControl=function(e){},r.IMap.prototype.addLengthControl=function(e){},r.IMap.prototype.addAreaControl=function(e){},r.IMap.prototype.addAzimuthControl=function(e){},r.IMap.prototype.addElevationPathControl=function(e){},r.IMap.prototype.addSearchControl=function(e){},r.IMap.prototype.addReverseSearchControl=function(e){},r.IMap.prototype.addDrawingControl=function(e){},r.IMap.prototype.addAttributionsControl=function(e){},r.IMap.prototype.addBoostReliefControl=function(e){},r.IMap.prototype.addBuildingsControl=function(e){},r.IMap.prototype.addCameraControl=function(e){},r.IMap.prototype.addGetFeatureInfoControl=function(e){},r.IMap.prototype.getLSLayerContainerDivId=function(e){return null},r.IMap.prototype._getDefaultControls=function(){return{draggable:!0,keyboard:!0,selectable:!1,zoom:{},attributions:{maximised:!1}}},r.IMap.prototype._findRegisteredControl=function(e){if(!e||"string"!=typeof e)return this.logger.warn("[IMap] _findRegisteredControl : controlId is not a straight string"),-1;for(var t=0;t<this._controls.length;t++)if(this._controls[t].id.toLowerCase()===e.toLowerCase())return this.logger.trace("[IMap] _findRegisteredControl : found control "+e+" at index : "+t),t;return this.logger.trace("[IMap] _findRegisteredControl : control "+e+" not found."),-1},r.IMap.prototype._addLayerConfToLayerSwitcher=function(e,t){}},"./src/Interface/IMapLayers.js":function(e,t,o){"use strict";o.r(t);var r=o("./src/Interface/IMapBase.js");r.IMap.DEFAULT_VECTORLAYERS_STYLES={markerSrc:"data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAADMAAAAmCAYAAABpuqMCAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAARDSURBVFiF3ZndaxxVGMZ/Z/YjX00Nadpo1qrFBgu56D9QbAtiLoRC7ywSNK1NURRREBKRFlSwFBW0gnSrJXY1CmISgyjFiyYSFC9ajE3MmpjdjWlMUtNos9lN9mteLzbRuCbZmTMTBB+Yi51znvd5n3nPnjnnjBIR/i/wuh4xpCpI0ojiENAA1AE1wCzwKzCE0EM5l2iShJvSyrXKnFVb8dOK4hmg3AIjifAmaU7ztMy7kYI7Zs6rQwjvka+AXcyiOMZx6XGahuE0AEHVitCFnhGAGoQugqrVaSrOKpNP4FWnSaxCGy1yWpesbyY/tLpwo7p/w0RxWHfI6Zk5q7ZSwhj6Q2sjzJLiXp1JQe+p+mllc4wA1CzHtw37lQmpCha5gbXpVxdJythh9z1kvzJJGrFixPBmOXixl+Z4mONmguZ4mIMXezG8WQsq5cs6tmDfTP7NXiSqN0vTzBD1TQfwbdmDUhX4tuyhvukATTNDlgxZ0SmUtUsgv0TZGPsv9FNSvXfNtpLqvey/0O+KTgF0zNQV7XHP4dsdtVvVKYCOmeqiPbwVOx21W9UpgI6ZWNEe2cSEo3arOgWwb0YYLp5G17Sjdqs6BdCZzYqL9B3dR2puYM221NwAfUf3uaJTAB0zaye5GmbWS6i2gdFQL5mFMCIJMgthRkO9hGobMLPFN4VWdAoptlcAQeUDRoG77YrZwDhQT4tk7JDsV6ZFMggv2+bZwyt2jYDuQnOa94GIFrc4IkzRrkPUM3NKsijatLjF0copsbJ++xec7TTPqw6EI/oB/glT+PC+13Y/aSQNv/Is+tNer09lMn7DMHwAYppp8fvTIpISkVQsFrslqww4M9OuqkgzANzl1MhCyrjZGAycm573pK1yFCyi5FoWvo/FYlPOT2fOqftRXMbB9lkEs+3zbe2f/FD5i3YMj2p3vn8/IV8DZ5yE+Gqkot+JEQCPada5dRhxEriiQ5ya90w+272916F+KpnJDLhjpkUy5HgESNqhZU2Vfr5ne+dSFtOBeso06J6cnEy6d0z0hPwEPGeH8sGVykvfjpfe1NZUci2+mHg7Go2G8z/d/goQVJ9B8S1veMYffujduo/thl+ZwUzDuBqJRGZWt7n/FcDH46lFNVLilar1uiTTxsJTnTssH/QpJVlMNQa5wbGJiWERya3Vz30zzfLb3OveY3dU5j5dp4e80Xdbd3TOu/H/yyAtpjnqgeGS8crRQRks+v5xf5gtY/KM/6NAVebhwvv90bLvHu2o/XId2pJSMmIaxo/RaHRMxN6yZtPM0K5K/7hl/FxVZgZWbs0mPDceeKcuGE95/kpSKUmaImHDNIfHrl+PiIj2zOb+MFvBY7IUOVl2ZG9g6bJH4ckJuRe/2NYZT3myKIkrGM4pNRyLjY+LW09URDb1+uaF0pfm3zJ+7zhRGdq1c9eDuwOBOzdLa/OG2X+APwE8DU64Y/5gfAAAAABJRU5ErkJggg==",markerXAnchor:25.5,markerYAnchor:38,pointColor:"#002A50",pointOpacity:.9,pointRadius:6,strokeColor:"#002A50",strokeWidth:4,strokeOpacity:.8,polyFillColor:"#00B798",polyFillOpacity:.5,textStrokeColor:"#000000",textColor:"#FFFFFF"},r.IMap.WMTSDEFAULTS={"EPSG:3857":{resolutions:[156543.033928041,78271.51696402048,39135.758482010235,19567.87924100512,9783.93962050256,4891.96981025128,2445.98490512564,1222.99245256282,611.49622628141,305.7481131407048,152.8740565703525,76.43702828517624,38.21851414258813,19.10925707129406,9.554628535647032,4.777314267823516,2.388657133911758,1.194328566955879,.5971642834779395,.2985821417389697,.1492910708694849,.0746455354347424],scales:{0:559082264,1:279541132,2:139770566,3:69885283,4:34942642,5:17471321,6:8735660,7:4367830,8:2183915,9:1091958,10:545979,11:272989,12:136495,13:68247,14:34124,15:17062,16:8531,17:4265,18:2133,19:1066,20:533,21:267},threshold:1e-7,topLeftCorner:{x:-20037508,y:20037508}},"EPSG:4326":{resolutions:[1.40625,.703125,.3515625,.17578125,.087890625,.0439453125,.02197265625,.010986328125,.0054931640625,.00274658203125,.001373291015625,.0006866455078125,.00034332275390625,.000171661376953126,858306884765628e-19,429153442382813e-19,214576721191407e-19,107288360595703e-19,536441802978517e-20,268220901489259e-20,13411045074463e-19,6.70552253723145e-7,3.3527612686157e-7],threshold:1e-10,topLeftCorner:{x:90,y:-180}},"EPSG:2154":{resolutions:[104579.22454989408,52277.53235379051,26135.487078595408,13066.891381800004,6533.228604113456,3266.5595244626675,1633.2660045974187,816.6295549860224,408.31391467683596,204.15674151090204,102.07831678324082,51.0391448966112,25.519569074269395,12.759783693647506,6.379891635966491,3.18994576530532,1.5949728694977277,.7974864315474559,.398743214900604,.19937160727567999,.099685803696052,.049842901818919996],threshold:1e-8,topLeftCorner:{x:0,y:12e6}}},r.IMap.prototype.getLayersOptions=function(e){(!e||Array.isArray(e)&&0===e.length)&&(e=[],this._layers.forEach((function(t){e.push(t.id)}),this));var t={};return this._layers.sort((function(e,t){return e.options.position-t.options.position})),Array.isArray(e)||(e=[e]),this._layers.forEach((function(o){e.indexOf(o.id)<0||(t[o.id]=o.options)}),this),t},r.IMap.prototype.addLayers=function(e){if(e){this.listen("layerChanged",this._onLayerChanged,this);var t=null,o=null;for(t in e)if(this._getLayersObj([t]).length>0)this.logger.info("Layer ["+t+"] already added to map.");else{this.logger.trace("[IMap] addLayers : adding : ["+t+"]");var r=e[t],n={};n[t]=r;var i="undefined"!=typeof window?window:{},s=i.Gp?i.Gp.Config:void 0;if(!r.hasOwnProperty("url")&&s){var a=null;r.format&&(a=r.format);var l=null;switch(null!=a&&"WMTS"!==a.toUpperCase()||(o=t+"$GEOPORTAIL:OGC:WMTS",(l=s.getLayerConf(o))&&(a="WMTS")),null!=a&&"WMS"!==a.toUpperCase()||(o=t+"$GEOPORTAIL:OGC:WMS",(l=s.getLayerConf(o))?a="WMS":(o=t+"$INSPIRE:OGC:WMS",(l=s.getLayerConf(o))&&(a="WMS"))),null!=a&&"MAPBOX"!==a.toUpperCase()||(o=t+"$GEOPORTAIL:GPP:TMS",(l=s.getLayerConf(o))&&(a="MAPBOX")),l&&(l.gpLayerId=o,l.apiKeys=s.getLayerKey(l.gpLayerId),this.logger.trace("[IMap] addLayers : ["+t+"] is a geoportalLayer. Adding inner properties."),n[t].format=a,n[t].originators=[],n[t]=this._layerOptions2layerConf(l,n[t])),a){case"MAPBOX":case"WMTS":case"WMS":this._addGeoportalLayer(n,l);continue;default:this.logger.trace("[IMap] addLayers : ["+t+"] is not a Geoportal Layer")}}if(r.hasOwnProperty("format")&&"string"==typeof r.format)if(r.hasOwnProperty("url")&&"string"==typeof r.url||r.hasOwnProperty("data")&&"string"==typeof r.data)if(this._checkLayerParams(r))switch(r.format.toUpperCase()){case"GEORSS":break;case"COMPUTE":case"KML":case"GPX":case"GEOJSON":case"WFS":case"DRAWING":this._addVectorLayer(n);break;case"MAPBOX":this._addMapBoxLayer(n);break;case"WMS":case"WMTS":case"OSM":this._addRasterLayer(n);break;default:this.logger.info("Impossible to add layer ["+t+"] : unhandled format ["+r.format+"]")}else this.logger.info("Impossible to add layer ["+t+"] : unsufficient or inadapted parameters given");else this.logger.info("Impossible to add layer ["+t+"] : no url given");else this.logger.info("Impossible to add layer ["+t+"] : no format given")}this._resetLayerChangedEvent()}else this.logger.trace("[IMap] addLayers : no layers to add")},r.IMap.prototype.removeLayers=function(e){return!e||Array.isArray(e)&&0===e.length?(this.logger.info("removeLayers : nothing to remove !"),!1):(Array.isArray(e)||(e=[e]),!0)},r.IMap.prototype.modifyLayers=function(e){return e?0!==Object.keys(e).length||(this.logger.info("modifyLayers : wrong format for layersOptions !"),!1):(this.logger.info("modifyLayers : nothing to modify !"),!1)},r.IMap.prototype._getWMTSDefaultOpts=function(){this.logger.trace("[IMap] : _getWMTSDefaultOpts");for(var e={version:"1.0.0",outputFormat:"image/jpeg"},t=[],o=0;o<=20;o++)t.push(""+o);e.matrixIds=t;var n=null,i=null,s=this.getProjection();return"string"!=typeof s||["EPSG:3857"].indexOf(s.toUpperCase())>=0?(n=r.IMap.WMTSDEFAULTS["EPSG:3857"].resolutions,i=r.IMap.WMTSDEFAULTS["EPSG:3857"].topLeftCorner):["EPSG:4326","CRS:84"].indexOf(s.toUpperCase())>=0?(n=r.IMap.WMTSDEFAULTS["EPSG:4326"].resolution7s,i=r.IMap.WMTSDEFAULTS["EPSG:4326"].topLeftCorner):["EPSG:2154"].indexOf(s.toUpperCase())>=0&&(n=r.IMap.WMTSDEFAULTS["EPSG:2154"].resolution7s,i=r.IMap.WMTSDEFAULTS["EPSG:2154"].topLeftCorner),n&&(e.resolutions=n,e.topLeftCorner=i),e},r.IMap.prototype._getLayersObj=function(e){var t=[];return this._layers.forEach((function(o,r,n){e.indexOf(o.id)<0?this.logger.trace("[IMap] _getLayersObj : "+o.id+" not found."):(this.logger.trace("[IMap] _getLayersObj : found obj for : "+o.id),t.push(o))}),this),t},r.IMap.prototype._addMarkers=function(e){this.logger.trace("[IMap] _addMarkers : generic function")},r.IMap.prototype._removeMarkers=function(){this.logger.trace("[IMap] _removeMarkers : generic function")},r.IMap.prototype.getMarkersOptions=function(){this.logger.trace("[IMap] getMarkersOptions : generic function")},r.IMap.prototype.setMarkersOptions=function(e){this.logger.trace("[IMap] setMarkersOptions : generic function")},r.IMap.prototype._checkLayerParams=function(e){var t=[];switch(e.format.toUpperCase()){case"WMS":e.hasOwnProperty("layers")&&e.layers instanceof Array||t.push("layers");break;case"WMTS":e.hasOwnProperty("layer")&&"string"==typeof e.layer||t.push("layer"),e.hasOwnProperty("tileMatrixSet")&&"string"==typeof e.tileMatrixSet||t.push("tileMatrixSet"),e.hasOwnProperty("styleName")&&"string"==typeof e.styleName||t.push("styleName");break;case"WFS":e.hasOwnProperty("typeNames")&&"string"==typeof e.typeNames||t.push("typeNames")}return!(t.length>0)||(this.logger.info("Impossible to add "+e.format+" layer : missing mandatory parameter(s) : "+t.toString()),!1)},r.IMap.prototype._addRasterLayer=function(e){},r.IMap.prototype._addVectorLayer=function(e){},r.IMap.prototype._addMapBoxLayer=function(e){},r.IMap.prototype._addGeoportalLayer=function(e,t){},r.IMap.prototype._applyCommonLayerParams=function(e){return{}},r.IMap.prototype._getLayerIndexByLayerOpts=function(e){if(!e)return-1;for(var t=0;t<this._layers.length;t++){var o=this._layers[t];if(e.hasOwnProperty(o.id))return t}return-1},r.IMap.prototype._getLayerIndexByLayerId=function(e){for(var t=0;t<this._layers.length;t++){if(e===this._layers[t].id)return t}return-1},r.IMap.prototype._filterEmptyMetadata=function(e){if(!e||!Array.isArray(e))return e;for(var t=[],o=0;o<e.length;o++)e[o].url&&e[o].url.trim().length>0&&t.push(e[o]);return t},r.IMap.prototype._layerOptions2layerConf=function(e,t){var o=t||{};return o.title=o.title||e.title,o.description=o.description||e.description,o.quicklookUrl=o.quicklookUrl||e.quicklookUrl,o.legends=o.legends||e.legends,o.metadata=o.metadata||e.metadata,o.metadata=this._filterEmptyMetadata(o.metadata),o},r.IMap.prototype._setSelectedMapboxStyle=function(e,t){for(var o=0;o<e.length;o++)e[o].selected=!1,o===t&&(e[o].selected=!0);return e},r.IMap.prototype._changeLayerColor=function(e,t){}},"./src/Interface/IMapListeners.js":function(e,t,o){"use strict";o.r(t);var r=o("./src/Interface/IMapBase.js");r.IMap.CustomEvent=function(e,t){if("function"==typeof CustomEvent)return t.bubbles=!1,t.cancelable=!0,new CustomEvent(e,t);var o=document.createEvent("CustomEvent");return o.initCustomEvent(e,!1,!0,t.detail),o},r.IMap.prototype.setDraggable=function(e){},r.IMap.prototype.setKeyboard=function(e){},r.IMap.prototype.setSelectable=function(e){},r.IMap.prototype.listen=function(e,t,o){if("function"!=typeof t)return this.logger.error("no action provided for the event : "+e),!1;t.name&&"anomynous"!==t.name||this.logger.warn("the action provided for the event : "+e+" should be named so that it can be remove later"),o=o||this;switch(e){case"mapFailure":case"centerChanged":case"zoomChanged":case"azimuthChanged":case"tiltChanged":case"layerChanged":case"projectionChanged":case"controlChanged":break;case"mapLoaded":case"geolocated":case"located":case"configured":this.logger.trace("[IMap] listening event : ["+e+"]");var r=function(e){t.call(o,e.detail)},n=this._registerEvent(r,e,t,o);n.eventOrigin=this.div,n.eventType=e,n.eventOrigin.addEventListener(n.eventType,r,this);break;default:return this.logger.info("unhandled event : "+e),!1}return!0},r.IMap.prototype.forget=function(e,t){if("function"!=typeof t)return this.logger.info("no action provided for event : "+e),!1;switch(e){case"mapLoaded":case"geolocated":case"located":case"configured":case"pickFeature":var o=this._events[e];if(!o)return this.logger.info("nothing to forget for  : "+e),!1;for(var r=null,n=o.length-1;n>=0;n--)if(o[n].action===t){if(!o[n].eventOrigin)continue;r=o[n].key;var i=o[n].eventOrigin,s=o[n].eventType;if(!r)return this.logger.info("action to forget not found for  : "+e),!1;o.splice(n,1),this.logger.trace("[IT]  : forgetting  : "+e+" ("+r+")"),i.removeEventListener(s,r)}if(!r)return this.logger.info("action to forget not found for  : "+e),!1;break;case"mapFailure":case"centerChanged":case"zoomChanged":case"azimuthChanged":case"tiltChanged":case"projectionChanged":case"layerChanged":case"controlChanged":break;default:return this.logger.info("unhandled event : "+e),!1}return!0},r.IMap.prototype.forgetAllListeners=function(){for(var e in this._events)for(;this._events[e].length>0;)this.forget(e,this._events[e][0].action)},r.IMap.prototype._onLayerChanged=function(e){var t=null,o=-1,r=null;if(e.hasOwnProperty("layerAdded"))t=e.layerAdded,o=this._getLayerIndexByLayerOpts(t),this.logger.trace("[IMap] _onLayerChanged : layerAdded : "+o),o>=0&&o<this._layers.length?(r=this._layers[o].id,this._layers[o].options.position=e.position,this.logger.trace("[IMap] _onLayerChanged : setting position value to "+e.position+" for layer : "+r)):this.logger.warn("[IMap] _onLayerChanged : layerOpts ("+Object.keys(t)[0]+") not found for layerAdded Event");else if(e.hasOwnProperty("layerRemoved"))if(t=e.layerRemoved,(o=this._getLayerIndexByLayerOpts(t))>=0&&o<this._layers.length){this.logger.trace("[IMap] _onLayerChanged : removing layer at index "+o);var n={};n.id=this._layers[o].id,n.options=this._layers[o].options,n.obj=this._layers[o].obj,this._layersRemoved.push(n),this._layers.splice(o,1),this.logger.trace("[IMap] _onLayerChanged : #(layers) == "+this._layers.length)}else this.logger.warn("[IMap] _onLayerChanged : layerOpts not found for layerRemoved Event");else if(e.hasOwnProperty("layerChanged")){t=e.layerChanged;var i=this._getLayerIndexByLayerOpts(t);i>=0&&i<this._layers.length?(r=this._layers[i].id,"mapbox-status"===e.property?(this._layers[i].options.styles=this._setSelectedMapboxStyle(this._layers[i].options.styles,parseInt(e.newValue.theme.index)),this.logger.trace("[IMap] _onLayerChanged : setting selected style key to "+e.newValue.theme.key+" for layer : "+r)):(this._layers[i].options[e.property]=e.newValue,this.logger.trace("[IMap] _onLayerChanged : setting "+e.property+" value to "+e.newValue+" for layer : "+r))):this.logger.warn("[IMap] _onLayerChanged : layerOpts ("+Object.keys(t)[0]+") not found for layerChanged Event")}},r.IMap.prototype._registerEvent=function(e,t,o,r){return this.logger.trace("[IMap] : listen registering : "+e),e&&(this._events.hasOwnProperty(t)||(this._events[t]=[]),this._events[t].push({action:o,key:e,context:r})),this._events[t][this._events[t].length-1]},r.IMap.prototype._resetLayerChangedEvent=function(){if(this._events.hasOwnProperty("layerChanged")){var e=[],t=[];this._events.layerChanged.forEach((function(o){e.indexOf(o.action)<0&&(e.push(o.action),t.push(o.context))}),this);for(var o=0;o<e.length;++o)this.forget("layerChanged",e[o]),this.listen("layerChanged",e[o],t[o])}},r.IMap.prototype._setSelectedMapboxStyle=function(e,t){for(var o=0;o<e.length;o++)e[o].selected=!1,o===t&&(e[o].selected=!0);return e}},"./src/Interface/IMapView.js":function(e,t,o){"use strict";o.r(t);var r=o("./src/Interface/IMapBase.js"),n=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/index.js");r.IMap.prototype.centerGeocode=function(e){var t=this;n.Services.geocode({apiKey:"calcul",query:e.location,index:"StreetAddress",onSuccess:function(e){t.logger.trace("[IMap] found center by geocoding ("+e.locations[0].position.lon+", "+e.locations[0].position.lat+")");var o={x:e.locations[0].position.lon,y:e.locations[0].position.lat,projection:"EPSG:4326"};t.setAutoCenter(o);var n=r.IMap.CustomEvent("located",{detail:{position:o}});t.div.dispatchEvent(n)},onFailure:function(){this.logger.info("Erreur du service de géocodage !!!")}})},r.IMap.prototype.centerGeolocate=function(){var e=this;navigator.geolocation?navigator.geolocation.getCurrentPosition((function(t){e.logger.trace("[IMap] found center by geolocation ("+t.coords.longitude+", "+t.coords.latitude+")");var o={x:t.coords.longitude,y:t.coords.latitude,projection:"EPSG:4326"};e.setAutoCenter(o,17);var n=r.IMap.CustomEvent("geolocated",{detail:{position:o}});e.div.dispatchEvent(n)}),(function(t){var o="Erreur lors de la géolocalisation : ";switch(t.code){case t.TIMEOUT:o+="Timeout !";break;case t.PERMISSION_DENIED:o+="Vous n’avez pas donné la permission";break;case t.POSITION_UNAVAILABLE:o+="La position n’a pu être déterminée";break;case t.UNKNOWN_ERROR:o+="Erreur inconnue"}e.logger.info(o)})):this.logger.info("Geolocate impossible")},r.IMap.prototype.getCenter=function(){return{}},r.IMap.prototype.setCenter=function(e){this.logger.trace("[IMap] : setCenter"),e&&(e.hasOwnProperty("x")&&e.hasOwnProperty("y")&&(this.logger.trace("[IMap] : setCenter - x, y"),this.setXYCenter(e)),e.geolocate&&(this.logger.trace("[IMap] : setCenter - geolocate"),this.centerGeolocate()),e.location&&e.location.trim().length>0&&(this.logger.trace("[IMap] : setCenter - geocode"),this.centerGeocode(e)))},r.IMap.prototype.setXYCenter=function(e){},r.IMap.prototype.setAutoCenter=function(e){},r.IMap.prototype.getViewExtent=function(){return{}},r.IMap.prototype.getProjection=function(){return""},r.IMap.prototype.setProjection=function(e){},r.IMap.prototype.getTilt=function(){return 90},r.IMap.prototype.setTilt=function(e){},r.IMap.prototype.getAzimuth=function(){return 0},r.IMap.prototype.setAzimuth=function(e){},r.IMap.prototype.getZoom=function(){return 0},r.IMap.prototype.setZoom=function(e){},r.IMap.prototype.zoomIn=function(){},r.IMap.prototype.zoomOut=function(){},r.IMap.prototype.getResolution=function(){return 0},r.IMap.prototype.setResolution=function(e){},r.IMap.prototype._getZoomFromResolution=function(e,t){this.logger.trace("[IMap] : _getZoomFromResolution");for(var o=this.getProjection(),n=r.IMap.WMTSDEFAULTS[t]||r.IMap.WMTSDEFAULTS[o]||r.IMap.WMTSDEFAULTS["EPSG:3857"],i=0,s=Math.abs(n.resolutions[0]-e),a=1;a<n.resolutions.length;a++){var l=Math.abs(n.resolutions[a]-e);if(l>=s)break;i=a,s=l}return i},r.IMap.prototype._getResolutionFromZoomLevel=function(e,t){this.logger.trace("[IMap] : _getResolutionFromZoomLevel");var o=this.getProjection(),n=r.IMap.WMTSDEFAULTS[t]||r.IMap.WMTSDEFAULTS[o]||r.IMap.WMTSDEFAULTS["EPSG:3857"],i=-1;return e>=0&&e<n.resolutions.length?i=n.resolutions[e]:this.logger.info("unhandled zoom level : "+e),i}},"./src/OpenLayers/CSS/OlMap.css":function(e,t,o){},"./src/OpenLayers/OlMap.js":function(e,t,o){"use strict";o.r(t);o("./src/OpenLayers/OlMapLayers.js"),o("./src/OpenLayers/OlMapVectorTile.js"),o("./src/OpenLayers/OlMapControls.js"),o("./src/OpenLayers/OlMapListeners.js"),o("./src/OpenLayers/OlMapView.js");var r=o("./src/OpenLayers/OlMapBase.js");o.d(t,"OlMap",(function(){return r.OlMap}))},"./src/OpenLayers/OlMapBase.js":function(e,t,o){"use strict";o.r(t),o.d(t,"OlMap",(function(){return u}));var r=o("./src/Utils/LoggerByDefault.js"),n=o("./src/Interface/IMap.js"),i=o("./node_modules/ol/View.js"),s=o("./node_modules/ol/Map.js"),a=o("./node_modules/ol/interaction.js"),l=o("./node_modules/ol/events/condition.js");function u(e){if(!(this instanceof u))throw new TypeError("OlMap constructor cannot be called as a function.");this.CLASSNAME="OlMap",e.mapOptions||(e.mapOptions={}),e.mapOptions.viewMode||(e.mapOptions.viewMode="2d"),n.IMap.apply(this,arguments),this.logger=r.default.getLogger("OlMap"),this.logger.trace("[Constructeur OlMap (options)]")}u.prototype=Object.create(n.IMap.prototype,{}),u.prototype.constructor=u,u.prototype._initMap=function(){this.logger.trace("[OlMap] : _initMap");var e={enableRotation:this.mapOptions.enableRotation,zoom:this.mapOptions.zoom,minZoom:this.mapOptions.minZoom,maxZoom:this.mapOptions.maxZoom,projection:this.mapOptions.projection,rotation:this.mapOptions.azimuth*Math.PI/180};this.mapOptions.extent&&(e.extent=this.mapOptions.extent);var t=new i.default(e);this.libMap=new s.default({interactions:Object(a.defaults)().extend([new a.MouseWheelZoom({constrainResolution:!0,condition:l.shiftKeyOnly})]),target:this.div,view:t}),this._afterInitMap()},u.prototype.getLibMap=function(){return this.libMap},u.prototype.destroyMap=function(){this.forgetAllListeners(),this.libMap.setTarget(null)}},"./src/OpenLayers/OlMapControls.js":function(e,t,o){"use strict";o.r(t);var r=o("./src/OpenLayers/OlMapBase.js"),n=o("./src/Interface/IMap.js"),i=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/index.js"),s=o("./node_modules/ol/interaction.js"),a=o("./node_modules/ol/control.js"),l=o("./node_modules/ol/layer/Graticule.js"),u=o("./node_modules/ol/View.js"),c=o("./node_modules/ol/style.js"),d=o("./node_modules/ol/layer/Tile.js"),p=o("./node_modules/ol/tilegrid/WMTS.js");function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}r.OlMap.CONTROLPROPERTIES={maximised:"collapsed"},r.OlMap.CONTROLSCLASSES={draggable:[s.Pointer,s.MouseWheelZoom,s.DoubleClickZoom],keyboard:[s.KeyboardPan,s.KeyboardZoom],scrollwheel:null,selectable:[s.Select],zoom:a.Zoom,zoombox:null,overview:a.OverviewMap,orientation:a.Rotate,graphicscale:a.ScaleLine,getfeatureinfo:i.olExtended.control.GetFeatureInfo,mouseposition:i.olExtended.control.GeoportalMousePosition,route:i.olExtended.control.Route,layerswitcher:i.olExtended.control.LayerSwitcher,layerimport:i.olExtended.control.LayerImport,isocurve:i.olExtended.control.Isocurve,length:i.olExtended.control.MeasureLength,area:i.olExtended.control.MeasureArea,azimuth:i.olExtended.control.MeasureAzimuth,elevationpath:i.olExtended.control.ElevationPath,graticule:l.default,search:i.olExtended.control.SearchEngine,reversesearch:i.olExtended.control.ReverseGeocode,drawing:i.olExtended.control.Drawing,attributions:i.olExtended.control.GeoportalAttribution,camera:null},r.OlMap.prototype.addZoomControl=function(e){var t=new a.Zoom({target:e.div});return this.libMap.addControl(t),t},r.OlMap.prototype.addZoomBoxControl=function(e){return null},r.OlMap.prototype.addOverviewControl=function(e){var t=this;this.logger.trace("[OlMap] addOverviewControl : ... ");var o={};if(e.div&&(o.target=e.div),o.collapsed=!e.maximised,e.layers&&Array.isArray(e.layers)){var r=this._getLayersObj(e.layers),n=[];if(r.forEach((function(e){t.logger.trace("[OlMap] addOverviewControl : adding "+e.id+" to map"),n.push(e.obj)}),this),0===n.length&&e.layers.length>0)for(var s=0;s<e.layers.length;s++){this.logger.trace("[OlMap] addOverviewControl : adding geoportal layer : "+e.layers[s]+" to map");var l=!1;"object"===h(e.layers[s])?0===Object.keys(e.layers[s]).length&&(l=!0):l=!0;var c={};if(this._isConfLoaded||(c.apiKey=this.apiKey),l){c.layer=e.layers[s];var f=new i.olExtended.layer.GeoportalWMTS(c);n.push(f)}else{var m=e.layers[s],g=this._applyCommonLayerParams(m),y=this._getWMTSDefaultOpts();Object.assign(c,g,y,m);var v={url:c.url,layer:c.layer,matrixSet:c.tileMatrixSet,format:c.outputFormat,version:c.version,style:c.styleName,tileGrid:new p.default({origin:[c.topLeftCorner.x,c.topLeftCorner.y],resolutions:c.resolutions,matrixIds:c.matrixIds})};c.source=new i.olExtended.source.WMTSExtended(v);var _=new d.default(c);n.push(_)}}n.length>0&&(o.layers=n)}var b={},A=!1;e.hasOwnProperty("minZoom")&&(b.minZoom=e.minZoom,A=!0),e.hasOwnProperty("maxZoom")&&(b.maxZoom=e.maxZoom,A=!0),e.hasOwnProperty("projection")&&(b.projection=e.projection,A=!0),A&&(o.view=new u.default(b));var C=new a.OverviewMap(o);return this.libMap.addControl(C),C},r.OlMap.prototype.addOrientationControl=function(e){var t=new a.Rotate({target:e.div,autoHide:e.autoHide||!1});return this.libMap.addControl(t),t},r.OlMap.prototype.addGraphicScaleControl=function(e){var t=e.units;t&&"deg"===e.units.toLowerCase()?t="degrees":t&&"m"===e.units.toLowerCase()&&(t="metric"),this.logger.trace("[OlMap] addGraphicScaleControl : setting graphicscale units to "+t);var o=new a.ScaleLine({target:e.div,units:t,minWidth:e.minWidth});return this.libMap.addControl(o),o},r.OlMap.prototype.addGraticuleControl=function(e){var t=e||{};if(!t.strokeStyle){t.strokeColor=t.strokeColor||"#000000",t.strokeOpacity=t.strokeOpacity||.2,t.strokeWidth=t.strokeWidth||1;var o=n.IMap.prototype._hexToRgba.call(this,t.strokeColor,t.strokeOpacity);t.strokeStyle=new c.Stroke({color:o,width:t.strokeWidth})}var r=new l.default(t);return r.setMap(this.libMap),this.libMap.graticule=r,r},r.OlMap.prototype.addMousePositionControl=function(e){var t={};if(e.div&&(t.target=e.div),t.collapsed=!e.maximised,this._isConfLoaded||(t.apiKey=this.apiKey),e.systems&&Array.isArray(e.systems)&&e.systems.length>0)for(var o=0;o<e.systems.length;o++)t.systems||(t.systems=[]),t.systems.push(e.systems[o]);if(e.units&&Array.isArray(e.units)&&e.units.length>0){t.units=[];for(var r=0;r<e.units.length;r++)"string"==typeof e.units[r]&&(this.logger.trace("[OlMap] addMousePositionControl : adding unit   ["+e.units[r].toUpperCase()),t.units.push(e.units[r]))}t.displayAltitude=e.displayAltitude,t.displayCoordinates=e.displayCoordinates,e.altitude&&(t.altitude=e.altitude),t.editCoordinates=e.editCoordinates,t.positionMarker=e.positionMarker;var n=new i.olExtended.control.GeoportalMousePosition(t);return this.libMap.addControl(n),n},r.OlMap.prototype.addRouteControl=function(e){var t={};e.div&&(t.target=e.div),t.collapsed=!e.maximised,this._isConfLoaded||(t.apiKey=this.apiKey),e.export&&(t.export=e.export),e.graphs&&(t.graphs=e.graphs),e.exclusions&&(t.exclusions=e.exclusions),e.markersOpts&&(t.markersOpts={},e.markersOpts.departure&&(t.markersOpts.departure=e.markersOpts.departure),e.markersOpts.stages&&(t.markersOpts.stages=e.markersOpts.stages),e.markersOpts.arrival&&(t.markersOpts.arrival=e.markersOpts.arrival)),e.routeOptions&&(t.routeOptions=e.routeOptions),e.autocompleteOptions&&(t.autocompleteOptions=e.autocompleteOptions);var o=new i.olExtended.control.Route(t);return this.libMap.addControl(o),o},r.OlMap.prototype.addIsocurveControl=function(e){var t={};e.div&&(t.target=e.div),t.collapsed=!e.maximised,this._isConfLoaded||(t.apiKey=this.apiKey),e.export&&(t.export=e.export),e.graphs&&(t.graphs=e.graphs),e.exclusions&&(t.exclusions=e.exclusions),e.methods&&(t.methods=e.methods),e.directions&&(t.directions=e.directions),e.markerOpts&&(t.markerOpts=e.markerOpts),e.isocurveOptions&&(t.isocurveOptions=e.isocurveOptions),e.autocompleteOptions&&(t.autocompleteOptions=e.autocompleteOptions);var o=new i.olExtended.control.Isocurve(t);return this.libMap.addControl(o),o},r.OlMap.prototype.addLayerImportControl=function(e){var t={};if(e.div&&(t.target=e.div),t.collapsed=!e.maximised,e.layerTypes&&(t.layerTypes=e.layerTypes),t.webServicesOptions={},e.webServicesOptions?t.webServicesOptions=e.webServicesOptions:(this.mapOptions&&this.mapOptions.proxyUrl&&(t.webServicesOptions.proxyUrl=this.mapOptions.proxyUrl),this.mapOptions&&this.mapOptions.noProxyDomains&&(t.webServicesOptions.noProxyDomains=this.mapOptions.noProxyDomains)),e.defaultStyles){t.vectorStyleOptions={};var o,r,s,a,l,u,d="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAADMAAAAmCAYAAABpuqMCAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAARDSURBVFiF3ZndaxxVGMZ/Z/YjX00Nadpo1qrFBgu56D9QbAtiLoRC7ywSNK1NURRREBKRFlSwFBW0gnSrJXY1CmISgyjFiyYSFC9ajE3MmpjdjWlMUtNos9lN9mteLzbRuCbZmTMTBB+Yi51znvd5n3nPnjnnjBIR/i/wuh4xpCpI0ojiENAA1AE1wCzwKzCE0EM5l2iShJvSyrXKnFVb8dOK4hmg3AIjifAmaU7ztMy7kYI7Zs6rQwjvka+AXcyiOMZx6XGahuE0AEHVitCFnhGAGoQugqrVaSrOKpNP4FWnSaxCGy1yWpesbyY/tLpwo7p/w0RxWHfI6Zk5q7ZSwhj6Q2sjzJLiXp1JQe+p+mllc4wA1CzHtw37lQmpCha5gbXpVxdJythh9z1kvzJJGrFixPBmOXixl+Z4mONmguZ4mIMXezG8WQsq5cs6tmDfTP7NXiSqN0vTzBD1TQfwbdmDUhX4tuyhvukATTNDlgxZ0SmUtUsgv0TZGPsv9FNSvXfNtpLqvey/0O+KTgF0zNQV7XHP4dsdtVvVKYCOmeqiPbwVOx21W9UpgI6ZWNEe2cSEo3arOgWwb0YYLp5G17Sjdqs6BdCZzYqL9B3dR2puYM221NwAfUf3uaJTAB0zaye5GmbWS6i2gdFQL5mFMCIJMgthRkO9hGobMLPFN4VWdAoptlcAQeUDRoG77YrZwDhQT4tk7JDsV6ZFMggv2+bZwyt2jYDuQnOa94GIFrc4IkzRrkPUM3NKsijatLjF0copsbJ++xec7TTPqw6EI/oB/glT+PC+13Y/aSQNv/Is+tNer09lMn7DMHwAYppp8fvTIpISkVQsFrslqww4M9OuqkgzANzl1MhCyrjZGAycm573pK1yFCyi5FoWvo/FYlPOT2fOqftRXMbB9lkEs+3zbe2f/FD5i3YMj2p3vn8/IV8DZ5yE+Gqkot+JEQCPada5dRhxEriiQ5ya90w+272916F+KpnJDLhjpkUy5HgESNqhZU2Vfr5ne+dSFtOBeso06J6cnEy6d0z0hPwEPGeH8sGVykvfjpfe1NZUci2+mHg7Go2G8z/d/goQVJ9B8S1veMYffujduo/thl+ZwUzDuBqJRGZWt7n/FcDH46lFNVLilar1uiTTxsJTnTssH/QpJVlMNQa5wbGJiWERya3Vz30zzfLb3OveY3dU5j5dp4e80Xdbd3TOu/H/yyAtpjnqgeGS8crRQRks+v5xf5gtY/KM/6NAVebhwvv90bLvHu2o/XId2pJSMmIaxo/RaHRMxN6yZtPM0K5K/7hl/FxVZgZWbs0mPDceeKcuGE95/kpSKUmaImHDNIfHrl+PiIj2zOb+MFvBY7IUOVl2ZG9g6bJH4ckJuRe/2NYZT3myKIkrGM4pNRyLjY+LW09URDb1+uaF0pfm3zJ+7zhRGdq1c9eDuwOBOzdLa/OG2X+APwE8DU64Y/5gfAAAAABJRU5ErkJggg==";if(e.defaultStyles.KML){var p=e.defaultStyles.KML,h={};h.image=new c.Icon({src:p.markerSrc||d,anchor:[p.markerXAnchor||25.5,p.markerYAnchor||38],anchorOrigin:"top-left",anchorXUnits:"pixels",anchorYUnits:"pixels"}),o=p.strokeOpacity||.8,r=p.strokeColor||"#002A50",h.stroke=new c.Stroke({color:n.IMap.prototype._hexToRgba.call(this,r,o),width:p.strokeWidth||4}),s=p.polyFillOpacity||.5,a=p.polyFillColor||"#00B798",h.fill=new c.Fill({color:n.IMap.prototype._hexToRgba.call(this,a,s)}),l=p.textColor||"#FFFFFF",u=p.textStrokeColor||"#000000",h.text=new c.Text({font:"16px Sans",textAlign:"left",fill:new c.Fill({color:n.IMap.prototype._hexToRgba.call(this,l,1)}),stroke:new c.Stroke({color:n.IMap.prototype._hexToRgba.call(this,u,1),width:p.textStrokeWidth||4})});var f=new c.Style(h);t.vectorStyleOptions.KML={defaultStyle:f}}if(e.defaultStyles.GPX){var m=e.defaultStyles.GPX,g={};g.image=new c.Icon({src:m.markerSrc||d,anchor:[m.markerXAnchor||25.5,m.markerYAnchor||38],anchorOrigin:"top-left",anchorXUnits:"pixels",anchorYUnits:"pixels"}),o=m.strokeOpacity||.8,r=m.strokeColor||"#002A50",g.stroke=new c.Stroke({color:n.IMap.prototype._hexToRgba.call(this,r,o),width:m.strokeWidth||4}),l=m.textColor||"#FFFFFF",u=m.textStrokeColor||"#000000",g.text=new c.Text({font:"16px Sans",textAlign:"left",fill:new c.Fill({color:n.IMap.prototype._hexToRgba.call(this,l,1)}),stroke:new c.Stroke({color:n.IMap.prototype._hexToRgba.call(this,u,1),width:m.textStrokeWidth||4})});var y=new c.Style(g);t.vectorStyleOptions.GPX={defaultStyle:y}}if(e.defaultStyles.GeoJSON){var v=e.defaultStyles.GeoJSON,_={};_.image=new c.Icon({src:v.markerSrc||d,anchor:[v.markerXAnchor||25.5,v.markerYAnchor||38],anchorOrigin:"top-left",anchorXUnits:"pixels",anchorYUnits:"pixels"}),o=v.strokeOpacity||.8,r=v.strokeColor||"#002A50",_.stroke=new c.Stroke({color:n.IMap.prototype._hexToRgba.call(this,r,o),width:v.strokeWidth||4}),s=v.polyFillOpacity||.5,a=v.polyFillColor||"#00B798",_.fill=new c.Fill({color:n.IMap.prototype._hexToRgba.call(this,r,o)}),l=v.textColor||"#FFFFFF",u=v.textStrokeColor||"#000000",_.text=new c.Text({font:"16px Sans",textAlign:"left",fill:new c.Fill({color:n.IMap.prototype._hexToRgba.call(this,l,1)}),stroke:new c.Stroke({color:n.IMap.prototype._hexToRgba.call(this,u,1),width:v.textStrokeWidth||4})});var b=new c.Style(_);t.vectorStyleOptions.GeoJSON={defaultStyle:b}}if(e.defaultStyles.MapBox){var A=e.defaultStyles.MapBox,C={};C.image=new c.Icon({src:A.markerSrc||d,anchor:[A.markerXAnchor||25.5,A.markerYAnchor||38],anchorOrigin:"top-left",anchorXUnits:"pixels",anchorYUnits:"pixels"}),o=A.strokeOpacity||.8,r=A.strokeColor||"#002A50",C.stroke=new c.Stroke({color:n.IMap.prototype._hexToRgba.call(this,r,o),width:A.strokeWidth||4}),s=A.polyFillOpacity||.5,a=A.polyFillColor||"#00B798",C.fill=new c.Fill({color:n.IMap.prototype._hexToRgba.call(this,r,o)});var E=new c.Style(_);t.vectorStyleOptions.MapBox={defaultStyle:E,editor:A.editor,display:A.display}}}var S=new i.olExtended.control.LayerImport(t);return this.libMap.addControl(S),S},r.OlMap.prototype.addLayerSwitcherControl=function(e){this.logger.trace("[OlMap] : addLayerSwitcherControl ... ");var t={layers:[],options:{collapsed:!(e&&e.maximised)}};e&&e.div&&(t.options.target=e.div);for(var o=0;o<this._layers.length;o++){var r=this._layers[o];this.logger.trace("[OlMap] : layerSwitcher : configuring layer : "+r.id);var n={layer:r.obj,config:{id:r.id}};r.options.title&&(this.logger.trace("[OlMap] : layerSwitcher : setting title to ["+r.options.title+"] for layer "+r.id),n.config.title=r.options.title),r.options.description&&(this.logger.trace("[OlMap] : layerSwitcher : setting description to ["+r.options.description+"] for layer "+r.id),n.config.description=r.options.description),r.options.quicklookUrl&&(this.logger.trace("[OlMap] : layerSwitcher : setting quicklookUrl to ["+r.options.quicklookUrl+"] for layer "+r.id),n.config.quicklookUrl=r.options.quicklookUrl),r.options.legends&&(this.logger.trace("[OlMap] : layerSwitcher : setting legends to ["+r.options.legends+"] for layer "+r.id),n.config.legends=r.options.legends),r.options.metadata&&(this.logger.trace("[OlMap] : layerSwitcher : setting metadata to ["+r.options.metadata+"] for layer "+r.id),n.config.metadata=this._filterEmptyMetadata(r.options.metadata)),t.layers.push(n)}this.logger.trace("[OlMap] : layerSwitcher Opts : ... ");var s=new i.olExtended.control.LayerSwitcher(t);return this.libMap.addControl(s),s},r.OlMap.prototype.addLengthControl=function(e){var t={};if(e.div&&(t.target=e.div),e.hasOwnProperty("styles")){if(t.styles={},e.styles.hasOwnProperty("pointer")&&(t.styles.pointer=this._fillPointerStyles(e.styles.pointer)),e.styles.hasOwnProperty("start")){var o={};o.stroke=this._fillStrokeStyles(e.styles.start),e.styles.start.hasOwnProperty("fillColor")&&(o.fill=new c.Fill({color:e.styles.start.fillColor})),t.styles.start=new c.Style(o)}if(e.styles.hasOwnProperty("finish")){var r={};r.stroke=this._fillStrokeStyles(e.styles.finish),e.styles.finish.hasOwnProperty("fillColor")&&(r.fill=new c.Fill({color:e.styles.finish.fillColor})),t.styles.finish=new c.Style(r)}}e.hasOwnProperty("geodesic")&&(t.geodesic=e.geodesic);var n=new i.olExtended.control.MeasureLength(t);return this.libMap.addControl(n),n},r.OlMap.prototype.addAreaControl=function(e){this.logger.trace("[OlMap] addAreaControl : ... ");var t={};if(e.div&&(t.target=e.div),e.hasOwnProperty("styles")){if(t.styles={},e.styles.hasOwnProperty("pointer")&&(t.styles.pointer=this._fillPointerStyles(e.styles.pointer)),e.styles.hasOwnProperty("start")){var o={};o.stroke=this._fillStrokeStyles(e.styles.start),e.styles.start.hasOwnProperty("fillColor")&&(o.fill=new c.Fill({color:e.styles.start.fillColor})),t.styles.start=new c.Style(o)}if(e.styles.hasOwnProperty("finish")){var r={};r.stroke=this._fillStrokeStyles(e.styles.finish),e.styles.finish.hasOwnProperty("fillColor")&&(r.fill=new c.Fill({color:e.styles.finish.fillColor})),t.styles.finish=new c.Style(r)}}e.hasOwnProperty("geodesic")&&(t.geodesic=e.geodesic);var n=new i.olExtended.control.MeasureArea(t);return this.libMap.addControl(n),n},r.OlMap.prototype.addAzimuthControl=function(e){var t={};if(e.div&&(t.target=e.div),e.hasOwnProperty("styles")){if(t.styles={},e.styles.hasOwnProperty("pointer")&&(t.styles.pointer=this._fillPointerStyles(e.styles.pointer)),e.styles.hasOwnProperty("start")){var o={};o.stroke=this._fillStrokeStyles(e.styles.start),e.styles.start.hasOwnProperty("fillColor")&&(o.fill=new c.Fill({color:e.styles.start.fillColor})),t.styles.start=new c.Style(o)}if(e.styles.hasOwnProperty("finish")){var r={};r.stroke=this._fillStrokeStyles(e.styles.finish),e.styles.finish.hasOwnProperty("fillColor")&&(r.fill=new c.Fill({color:e.styles.finish.fillColor})),t.styles.finish=new c.Style(r)}}e.hasOwnProperty("geodesic")&&(t.geodesic=e.geodesic);var n=new i.olExtended.control.MeasureAzimuth(t);return this.libMap.addControl(n),n},r.OlMap.prototype.addElevationPathControl=function(e){var t={};if(this.logger.trace("[OlMap] addElevationPathControl : ... "),e.div&&(t.target=e.div),this._isConfLoaded||(t.apiKey=this.apiKey),e.styles&&(t.stylesOptions={},e.styles.hasOwnProperty("pointer")&&(t.stylesOptions.draw={},t.stylesOptions.draw.pointer=this._fillPointerStyles(e.styles.pointer)),e.styles.hasOwnProperty("start")&&(t.stylesOptions.draw||(t.stylesOptions.draw={}),t.stylesOptions.draw.start=this._fillStrokeStyles(e.styles.start)),e.styles.hasOwnProperty("finish")&&(t.stylesOptions.draw||(t.stylesOptions.draw={}),t.stylesOptions.draw.finish=this._fillStrokeStyles(e.styles.finish)),e.styles.hasOwnProperty("marker"))){var o={};e.styles.marker.src&&(o.src=e.styles.marker.src,o.anchor=[e.styles.marker.xAnchor?e.styles.marker.xAnchor:0,e.styles.marker.yAnchor?e.styles.marker.yAnchor:0]),Object.keys(o).length>0&&(t.stylesOptions.marker=new c.Icon(o))}e.elevationOptions&&(t.elevationOptions=e.elevationOptions),e.displayProfileOptions&&(t.displayProfileOptions=e.displayProfileOptions),e.export&&(t.export=e.export);var r=new i.olExtended.control.ElevationPath(t);return this.libMap.addControl(r),r},r.OlMap.prototype.addSearchControl=function(e){var t={};e.div&&(t.target=e.div),t.collapsed=!e.maximised,this._isConfLoaded||(t.apiKey=this.apiKey),t.zoomTo=e.zoomTo||null,e.hasOwnProperty("resources")&&(t.resources={},e.resources.hasOwnProperty("geocode")&&(t.resources.geocode=e.resources.geocode),e.resources.hasOwnProperty("autocomplete")&&(t.resources.autocomplete=e.resources.autocomplete)),t.displayAdvancedSearch=e.hasOwnProperty("displayAdvancedSearch")&&e.displayAdvancedSearch,e.hasOwnProperty("advancedSearch")&&(t.advancedSearch=e.advancedSearch),e.hasOwnProperty("geocodeOptions")&&(t.geocodeOptions=e.geocodeOptions),e.hasOwnProperty("autocompleteOptions")&&(t.autocompleteOptions=e.autocompleteOptions);var o=new i.olExtended.control.SearchEngine(t);return this.libMap.addControl(o),o},r.OlMap.prototype.addReverseSearchControl=function(e){var t={};e.div&&(t.target=e.div),t.collapsed=!e.maximised,this._isConfLoaded||(t.apiKey=this.apiKey),e.hasOwnProperty("resources")&&(t.resources=e.resources),e.hasOwnProperty("reverseGeocodeOptions")&&(t.reverseGeocodeOptions=e.reverseGeocodeOptions),e.hasOwnProperty("delimitations")&&(t.delimitations=e.delimitations);var o=new i.olExtended.control.ReverseGeocode(t);return this.libMap.addControl(o),o},r.OlMap.prototype.addDrawingControl=function(e){var t={};if(e.div&&(t.target=e.div),t.collapsed=!e.maximised,e.hasOwnProperty("tools")&&(t.tools=e.tools),e.hasOwnProperty("labels")&&(t.labels=e.labels),e.hasOwnProperty("defaultStyles")&&(t.defaultStyles=e.defaultStyles),e.hasOwnProperty("cursorStyle")&&(t.cursorStyle=e.cursorStyle),e.hasOwnProperty("markersList")&&Array.isArray(e.markersList)&&e.markersList.length>0){t.markersList=[];for(var o=0;o<e.markersList.length;o++){var r=e.markersList[o];if(r.src){var n={src:r.src};r.xAnchor&&r.yAnchor&&(n.anchor=[r.xAnchor,r.yAnchor]),t.markersList.push(n)}}}if(e.layer){var s=this._getLayersObj([e.layer]);s&&s.length>0&&(t.layer=s[0])}var a=new i.olExtended.control.Drawing(t);return this.libMap.addControl(a),a},r.OlMap.prototype.addAttributionsControl=function(e){var t={};e.div&&(t.target=e.div),t.collapsed=!e.maximised;var o=new i.olExtended.control.GeoportalAttribution(t);return this.libMap.addControl(o),o},r.OlMap.prototype.addCameraControl=function(e){return null},r.OlMap.prototype.addGetFeatureInfoControl=function(e){var t={options:{}};for(var o in e.hasOwnProperty("options")&&(e.options.hasOwnProperty("auto")&&(t.options.auto=e.options.auto),e.options.hasOwnProperty("active")&&(t.options.active=e.options.active),e.options.hasOwnProperty("hidden")&&(t.options.hidden=e.options.hidden),e.options.hasOwnProperty("defaultEvent")&&(t.options.defaultEvent=e.options.defaultEvent),e.options.hasOwnProperty("defaultInfoFormat")&&(t.options.defaultInfoFormat=e.options.defaultInfoFormat),e.options.hasOwnProperty("cursorStyle")&&(t.options.cursorStyle=e.options.cursorStyle),e.options.hasOwnProperty("autoPanOptions")||(e.options.autoPanOptions=n.IMap.DEFAULT_AUTOPAN_OPTIONS),t.options.autoPan=e.options.autoPanOptions.autoPan,t.options.autoPanAnimation={duration:e.options.autoPanOptions.duration},t.options.autoPanMargin=e.options.autoPanOptions.margin),this.mapOptions&&this.mapOptions.proxyUrl&&(t.options.proxyUrl=this.mapOptions.proxyUrl),this.mapOptions&&this.mapOptions.noProxyDomains&&(t.options.noProxyDomains=this.mapOptions.noProxyDomains),t.layers=[],e.layers)for(var r=e.layers[o],s=0;s<this._layers.length;++s){var a=this._layers[s];if(o===a.id){var l=a.options.format.toLowerCase();if(a.options.queryable||"kml"===l||"geojson"===l||"gpx"===l||"georss"===l||"wfs"===l||"drawing"===l){var u={obj:a.obj};r.event&&(u.event=r.event),a.options.gfiFormat&&(u.infoFormat=a.options.gfiFormat),t.layers.push(u);break}this.logger.info("GetFeatureInfo layer '"+o+"' has not been added to control because this layer is not queryable.");break}}var c=new i.olExtended.control.GetFeatureInfo(t);return this.libMap.addControl(c),c},r.OlMap.prototype.removeControls=function(e){if(this.logger.trace("[OlMap] : removeControls ... "),!e||Array.isArray(e)&&0===e.length)this.logger.info("No control to remove.");else{Array.isArray(e)||(e=[e]);for(var t=null,o=0;o<e.length;o++){t=e[o];var r=this._findRegisteredControl(t);r>=0&&(this.logger.trace("[OlMap] : removeControls : removing ["+t+"] from register."),this._controls.splice(r,1));var n=this.getLibMapControl(t);if(n)if("graticule"!==t.toLowerCase()){if(Array.isArray(n))return;this.logger.trace("[OlMap] : removeControls : removing ["+t+"] from Map."),this.libMap.removeControl(n)}else n.setMap(null),delete this.getLibMap().graticule;else this.logger.info("Impossible to remove control ["+t+"] : not found or unhandled")}}},r.OlMap.prototype.getLibMapControl=function(e){var t=this,o=null;if(!r.OlMap.CONTROLSCLASSES.hasOwnProperty(e.toLowerCase())||!r.OlMap.CONTROLSCLASSES[e.toLowerCase()])return this.logger.trace("[OlMap] getLibMapControl : control "+e+" non implémenté."),o;var n=r.OlMap.CONTROLSCLASSES[e.toLowerCase()];if(Array.isArray(n)){this.logger.trace("[OlMap] getLibMapControl : searching interactions.");var i=[];return this.getLibMap().getInteractions().forEach((function(e){for(var o=0;o<n.length;o++)if(e instanceof n[o]){t.logger.trace("[OlMap] getLibMapControl : found interaction : "+n[o].name),i.push(e);break}})),i.length>0?i:null}if("graticule"===e.toLowerCase())return this.getLibMap().hasOwnProperty("graticule")?this.getLibMap().graticule:null;this.logger.trace("[OlMap] getLibMapControl : controlClass : "+n.name);var s=this.getLibMap().getControls().getArray();if(0===s.length)return this.logger.trace("[OlMap] getLibMapControl : no control found on map"),o;for(var a=0;a<s.length;a++){var l=s[a];if(this.logger.trace("[OlMap] getLibMapControl : analyzing : "+h(l)),l instanceof n){o=l,this.logger.trace("[OlMap] getLibMapControl : found ! ");break}}return o},r.OlMap.prototype._fillStrokeStyles=function(e){var t={},o=null;return e.hasOwnProperty("strokeLineDash")&&(t.lineDash=e.strokeLineDash),e.hasOwnProperty("strokeColor")&&(t.color=e.strokeColor),e.hasOwnProperty("strokeWidth")&&(t.width=e.strokeWidth),Object.keys(t).length>0&&(o=new c.Stroke(t)),o},r.OlMap.prototype._fillPointerStyles=function(e){var t={};return e.hasOwnProperty("radius")&&(t.radius=e.radius),t.stroke=this._fillStrokeStyles(e),e.hasOwnProperty("fillColor")&&(t.fill=new c.Fill({color:e.fillColor})),new c.Circle(t)},r.OlMap.prototype._addLayerConfToLayerSwitcher=function(e,t){this.logger.trace("[OlMap] : _addLayerConfToLayerSwitcher ... ");var o=this.getLibMapControl("layerswitcher");o&&o.addLayer(e,this._layerOptions2layerConf(t))},r.OlMap.prototype.getLSLayerContainerDivId=function(e){var t=this._findRegisteredControl("layerswitcher");if(t<0)return this.logger.trace("[OlMap] : getLSLayerContainerDivId : no layerswitcher on map !"),null;var o=this._getLayersObj([e]);return o.length>0?this._controls[t].obj.getLayerDOMId(o[0].obj):(this.logger.trace("[OlMap] : getLSLayerContainerDivId : layer ["+e+"] not found on map !"),null)}},"./src/OpenLayers/OlMapLayers.js":function(e,t,o){"use strict";o.r(t);var r=o("./src/OpenLayers/OlMapBase.js"),n=o("./src/Interface/IMap.js"),i=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/index.js"),s=o("./node_modules/ol/layer/Vector.js"),a=o("./node_modules/ol/layer/Image.js"),l=o("./node_modules/ol/layer/Tile.js"),u=o("./node_modules/ol/source/Vector.js"),c=o("./node_modules/ol/source/TileWMS.js"),d=o("./node_modules/ol/source/ImageWMS.js"),p=o("./node_modules/ol/source/OSM.js"),h=o("./node_modules/ol/format/GML2.js"),f=o("./node_modules/ol/format/GML3.js"),m=o("./node_modules/ol/Overlay.js"),g=o("./node_modules/ol/proj.js"),y=o("./node_modules/ol/tilegrid/WMTS.js"),v=o("./node_modules/ol/style.js"),_=o("./node_modules/ol/Collection.js"),b=o("./node_modules/ol/Observable.js"),A=o("./node_modules/ol/loadingstrategy.js");r.OlMap.LAYERPROPERTIES={visible:"visibility",opacity:"opacity",zIndex:"position",grayScaled:"grayScaled",minResolution:"maxZoom",maxResolution:"minZoom"},r.OlMap.LAYERPROPERTIES["mapbox-status"]="mapbox-status",r.OlMap.prototype.removeLayers=function(e){n.IMap.prototype.removeLayers.apply(this,arguments)&&this._getLayersObj(e).forEach((function(e,t,o){this.libMap.removeLayer(e.obj)}),this)},r.OlMap.prototype.modifyLayers=function(e){if(n.IMap.prototype.modifyLayers.apply(this,arguments)){var t=Object.keys(e);this._getLayersObj(t).forEach((function(t){this.logger.trace("[modifyLayers] : modifying : ["+t.id+"]");var o=this._applyCommonLayerParams(e[t.id]);o.hasOwnProperty("opacity")&&(this.logger.trace("[modifyLayers] : setting opacity of : ["+t.id+"] to : "+o.opacity),t.obj.setOpacity(o.opacity)),o.hasOwnProperty("visible")&&(this.logger.trace("[modifyLayers] : setting visible of : ["+t.id+"] to : "+o.visible),t.obj.setVisible(o.visible)),o.hasOwnProperty("zIndex")&&(this.logger.trace("[modifyLayers] : setting zIndex of : ["+t.id+"] to : "+o.zIndex),t.obj.setZIndex(o.zIndex),0===o.zIndex&&(t.obj._forceNullzIndex=!0),0!==o.zIndex&&t.obj._forceNullzIndex&&(t.obj._forceNullzIndex=!1)),o.hasOwnProperty("minResolution")&&(this.logger.trace("[modifyLayers] : setting minResolution of : ["+t.id+"] to : "+o.minResolution),t.obj.setMinResolution(o.minResolution)),o.hasOwnProperty("maxResolution")&&(this.logger.trace("[modifyLayers] : setting maxResolution of : ["+t.id+"] to : "+o.maxResolution),t.obj.setMaxResolution(o.maxResolution)),o.hasOwnProperty("grayScaled")&&(this.logger.trace("[modifyLayers] : setting grayScaled of : ["+t.id+"] to : "+o.grayScaled),this._changeLayerColor(t.id,o.grayScaled))}),this)}},r.OlMap.prototype._addRasterLayer=function(e){var t=Object.keys(e)[0],o=e[t];if("elevation"!==o.type){var r=this._applyCommonLayerParams(o);switch(o.format.toUpperCase()){case"WMS":this.logger.trace("[_addRasterLayer] : ajout d'une couche WMS");var n={};n.LAYERS=o.layers.join(","),o.version&&(n.VERSION=o.version),o.stylesNames=o.stylesNames||o.stylesName,o.stylesNames&&(Array.isArray(o.stylesNames)?n.STYLES=o.stylesNames.join():this.logger.info("[_addRasterLayer] : 'stylesNames' parameter should be an array of style names (string)")),o.outputFormat&&(n.FORMAT=o.outputFormat),o.backgroundColor?(n.BGCOLOR=o.backgroundColor,n.TRANSPARENT="FALSE"):n.TRANSPARENT="TRUE";var s={url:o.url,params:n};o.hasOwnProperty("projection")&&(s.projection=o.projection),o.hasOwnProperty("tiled")&&!0===o.tiled?r.source=new c.default(s):r.source=new d.default(s);break;case"WMTS":this.logger.trace("[_addRasterLayer] : ajout d'une couche WMTS");var u=this._getWMTSDefaultOpts();for(var h in o)u[h]=o[h];var f={url:(o=u).url,layer:o.layer,matrixSet:o.tileMatrixSet,format:o.outputFormat,version:o.version,style:o.styleName,projection:o.projection,tileGrid:new y.default({origin:[o.topLeftCorner.x,o.topLeftCorner.y],resolutions:o.resolutions,matrixIds:o.matrixIds})};o.url.indexOf("{TileMatrixSet}")>0||o.url.indexOf("{TileRow}")>0||o.url.indexOf("{TileCol}")>0?f.requestEncoding="REST":f.requestEncoding="KVP",r.source=new i.olExtended.source.WMTSExtended(f);break;case"OSM":this.logger.trace("[_addRasterLayer] : ajout d'une couche OSM"),r.source=new p.default({url:o.url})}if(r.hasOwnProperty("source")){o.hasOwnProperty("originators")&&(r.source._originators=o.originators);var m=null;m="WMS"!==o.format.toUpperCase()||o.hasOwnProperty("tiled")&&!0===o.tiled?new l.default(r):new a.default(r),r.hasOwnProperty("zIndex")&&0===r.zIndex&&(m._forceNullzIndex=!0);var g={id:t,obj:m,options:o};o.hasOwnProperty("grayScaled")&&o.grayScaled&&this._colorGrayscaleLayerSwitch(g,!0),this._layers.push(g),this.libMap.addLayer(g.obj),this._addLayerConfToLayerSwitcher(g.obj,o)}}else{var v={id:t,obj:"3D-only-layer",options:o};this._3Dlayers||(this._3Dlayers=[]),this._3Dlayers.push(v)}},r.OlMap.prototype._addVectorLayer=function(e){var t=Object.keys(e)[0],o=e[t],r=this._applyCommonLayerParams(o),a=o.styleOptions||{},l=this.mapOptions.defaultFeaturesStyle||{},c=n.IMap.DEFAULT_VECTORLAYERS_STYLES,d={};d.image=new v.Icon({src:a.markerSrc||l.markerSrc||c.markerSrc,anchor:[a.markerXAnchor||l.markerXAnchor||c.markerXAnchor,a.markerYAnchor||l.markerYAnchor||c.markerYAnchor],anchorOrigin:"top-left",anchorXUnits:"pixels",anchorYUnits:"pixels"}),d.stroke=new v.Stroke({color:n.IMap.prototype._hexToRgba.call(this,a.strokeColor||l.strokeColor||c.strokeColor,a.strokeOpacity||l.strokeOpacity||c.strokeOpacity),width:a.strokeWidth||l.strokeWidth||c.strokeWidth}),d.fill=new v.Fill({color:n.IMap.prototype._hexToRgba.call(this,a.polyFillColor||l.polyFillColor||c.polyFillColor,a.polyFillOpacity||l.polyFillOpacity||c.polyFillOpacity)}),d.text=new v.Text({font:"16px Sans",textAlign:"left",fill:new v.Fill({color:n.IMap.prototype._hexToRgba.call(this,a.textColor||l.textColor||c.textColor,1)})}),a.textStrokeColor&&(d.text.stroke=new v.Stroke({color:n.IMap.prototype._hexToRgba.call(this,a.textStrokeColor||l.textStrokeColor||c.textStrokeColor,1),width:1}));var p=new v.Style(d);switch(o.format.toUpperCase()){case"KML":if(this.logger.trace("[_addVectorLayer] : ajout d'une couche KML"),o.url)r.source=new u.default({url:this.setProxy(o.url),format:new i.olExtended.format.KMLExtended({extractStyles:o.extractStyles,showPointNames:o.showPointNames})});else if(o.data){var m=new i.olExtended.format.KMLExtended({extractStyles:o.extractStyles,showPointNames:o.showPointNames,defaultStyle:[p]});r.source=new u.default({features:new _.default,loader:function(e,t,n){var i=m.readProjection(o.data),s=m.readFeatures(o.data,{dataProjection:i,featureProjection:n});s.length>0&&r.source.addFeatures(s)}})}r.style=p;break;case"GPX":if(this.logger.trace("[_addVectorLayer] : ajout d'une couche GPX"),o.url)r.source=new u.default({url:this.setProxy(o.url),format:new i.olExtended.format.GPXExtended({defaultStyle:p})});else if(o.data){var g=new i.olExtended.format.GPXExtended({defaultStyle:p});r.source=new u.default({features:new _.default,loader:function(e,t,n){var i=g.readProjection(o.data),s=g.readFeatures(o.data,{dataProjection:i,featureProjection:n});s.length>0&&r.source.addFeatures(s)}})}r.style=p;break;case"GEORSS":default:break;case"COMPUTE":case"GEOJSON":if(this.logger.trace("[_addVectorLayer] : ajout d'une couche GeoJSON"),o.url)r.source=new u.default({url:this.setProxy(o.url),format:new i.olExtended.format.GeoJSONExtended({defaultStyle:p})});else if(o.data){var y=new i.olExtended.format.GeoJSONExtended({defaultStyle:p});r.source=new u.default({features:new _.default,loader:function(e,t,n){var i=y.readProjection(o.data),s=y.readFeatures(o.data,{dataProjection:i,featureProjection:n});s.length>0&&r.source.addFeatures(s)}})}r.style=p;break;case"WFS":this.logger.trace("[_addVectorLayer] : ajout d'une couche WFS");var C="",E="";o.version||(o.version="2.0.0"),o.outputFormat||(o.outputFormat="application/json"),o.maxFeatures&&(C=parseInt(o.version.charAt(0))<2?"&maxFeatures="+o.maxFeatures:"&count="+o.maxFeatures),o.sld&&(E="&sld="+o.sld);var S=this.setProxy(o.url),w=o.outputFormat.toLowerCase(),O=null,I={};o.projection&&(I.defaultDataProjection=o.projection,I.srsName=o.projection),O=w.indexOf("gml")>0||w.indexOf("xml")>0?w.indexOf("2.1")>0||w.indexOf("gml2")>0?new h.default(I):new f.default(I):new i.olExtended.format.GeoJSONExtended(I),r.source=new u.default({format:O,url:function(e,t,r){return S+"?service=WFS&request=GetFeature&version="+o.version+"&typename="+o.typeNames+"&outputFormat="+o.outputFormat+"&srsname="+r.getCode()+"&bbox="+e.join(",")+","+r.getCode()+C+E},strategy:A.bbox});break;case"DRAWING":this.logger.trace("[_addVectorLayer] : ajout d'une couche de dessin"),r.source=new u.default({})}if(r.hasOwnProperty("source")){o.hasOwnProperty("originators")&&(r.source._originators=o.originators);var x=new s.default(r);this._layers.push({id:t,obj:x,options:o}),this.libMap.addLayer(x),this._addLayerConfToLayerSwitcher(x,o);var j=this.libMap,T=r.source;if(j.getView()&&j.getSize()&&T.getExtent)if(o.zoomToExtent||!1){var P=T.on("change",(function(){var e=T.getExtent();"ready"===T.getState()&&e[0]!==1/0&&(Object(b.unByKey)(P),j.getView().fit(e,{maxZoom:18}))}));setTimeout((function(){T.dispatchEvent("change")}),100)}}},r.OlMap.prototype._addGeoportalLayer=function(e,t){var o=Object.keys(e)[0],r=e[o],n={};r.hasOwnProperty("opacity")&&(n.opacity=r.opacity),r.hasOwnProperty("visibility")&&(n.visible=r.visibility),r.hasOwnProperty("position")&&(n.zIndex=r.position),r.hasOwnProperty("styleName")&&(n.sourceParams={},n.sourceParams.style=r.styleName),r.hasOwnProperty("styleNames")&&(n.sourceParams={},n.sourceParams.params={},n.sourceParams.params.STYLES=r.styleNames[0]),r.hasOwnProperty("minZoom")&&r.minZoom>=0&&r.minZoom<=28&&(n.maxResolution=this._getResolutionFromZoomLevel(r.minZoom),this.logger.trace("[_addGeoportalLayer] : apply MaxResolution : "+n.maxResolution)),r.hasOwnProperty("maxZoom")&&r.maxZoom>=0&&r.maxZoom<=28&&(n.minResolution=this._getResolutionFromZoomLevel(r.maxZoom),this.logger.trace("[_addGeoportalLayer] : apply minResolution : "+n.minResolution));var s,a,l=null;switch(r.format.toUpperCase()){case"MAPBOX":if(this.logger.info("[_addGeoportalLayer] --\x3e [_addMapBoxLayer]..."),t)for(var u=!0,c=0;c<t.styles.length;c++){var d=t.styles[c];d.current?(r.hasOwnProperty("url")||(e[o].url=d.url),r.hasOwnProperty("defaultStyleName")||(e[o].defaultStyleName=d.name),r.hasOwnProperty("defaultStyleDescription")||(e[o].defaultStyleDescription=d.title),r.hasOwnProperty("defaultStyleThumbnail")||(e[o].defaultStyleThumbnail=d.thumbnail)):(s=r.hasOwnProperty("styles"),a=u,!s&&!a||s&&a||(u=!1,e[o].styles||(e[o].styles=[]),e[o].styles.push({thumbnail:d.thumbnail,name:d.name,description:d.title,url:d.url})))}this._addMapBoxLayer(e);break;case"WMTS":l=i.olExtended.layer.GeoportalWMTS;break;case"WMS":l=i.olExtended.layer.GeoportalWMS;break;default:this.logger.info("[_addGeoportalLayer] : no class found for "+r.format)}if(null!==l){var p={layer:o,olParams:n};this._isConfLoaded||(p.apiKey=this.apiKey);var h=new l(p);r.hasOwnProperty("originators")&&(h.getSource()._originators=r.originators),n.hasOwnProperty("zIndex")&&0===n.zIndex&&(h._forceNullzIndex=!0),this._layers.push({id:o,obj:h,options:r}),this.libMap.addLayer(h),this._addLayerConfToLayerSwitcher(h,r)}},r.OlMap.prototype._getLayerOpts=function(e,t){var o=null;t=t||this._layers;for(var r=0;r<t.length;r++){var n=t[r];if(n.obj===e){(o={})[n.id]=n.options;break}}return o},r.OlMap.prototype._registerUnknownLayer=function(e){var t="unknownLayer";e.hasOwnProperty("gpResultLayerId")&&(t=e.gpResultLayerId);var o={};switch(t.toLowerCase()){case"measure:profil":o.format="COMPUTE",o.graph=null,o.control="elevationpath",o.title="Profil altimétrique",o.name="profil altimetrique",o.description="Profil altimétrique",o.controlOptions=this.getLibMapControl(o.control.toLowerCase()).getData(),o.data=this.getLibMapControl(o.control.toLowerCase()).getGeoJSON();break;case"drawing":o.format="drawing";break;case"layerimport:kml":o.format="KML";break;case"layerimport:gpx":o.format="GPX";break;case"layerimport:geojson":o.format="GeoJSON";break;case"layerimport:wms":if(o.format="WMS",e.gpGFIparams&&(e.gpGFIparams.queryable&&(o.queryable=!0),Array.isArray(e.gpGFIparams.formats))){o.gfiFormat=e.gpGFIparams.formats[0];for(var r=0;r<e.gpGFIparams.formats.length;r++)if("text/html"===e.gpGFIparams.formats[r]){o.gfiFormat="text/html";break}}break;case"layerimport:wmts":o.format="WMTS";break;case"layerimport:mapbox":o.format="MAPBOX";break;case"layerimport:compute":o.format="COMPUTE";var n=e.getProperties();o.graph=n.graph,o.name=n.name,o.control=n.control,o.title=n.title,o.controlOptions=n.data||{},o.data=n.geojson||{},"isocurve"===o.name&&(o.description="Isochrone basé sur un graphe"),"itineraire"===o.name&&(o.description="Itinéraire basé sur un graphe"),"profil altimetrique"===o.name&&(o.description="Profil altimétrique");break;case"voiture$ogc:openls;isocurve":case"voiture$geoportail:gpp:isocurve":case"voiture$ogc:openls;itineraire":case"voiture$geoportail:gpp:itineraire":case"pieton$ogc:openls;isocurve":case"pieton$geoportail:gpp:isocurve":case"pieton$ogc:openls;itineraire":case"pieton$geoportail:gpp:itineraire":var i=t.toLowerCase();o.format="COMPUTE",o.graph=i.split(/[$:;]/)[0],o.name=i.split(/[$:;]/).slice(-1)[0],o.control=o.name,"isocurve"===o.name&&(o.description="Isochrone basé sur un graphe"),"itineraire"===o.name&&(o.control="route",o.description="Itinéraire basé sur un graphe"),o.title=o.name+" ("+o.graph+")",o.controlOptions=this.getLibMapControl(o.control.toLowerCase()).getData(),o.data=this.getLibMapControl(o.control.toLowerCase()).getGeoJSON();break;default:o.format=""}"unknownLayer"===t?e.getProperties&&(t=e.getProperties().id):t+="-"+Date.now(),this._layers.push({id:t,obj:e,options:o});var s={};return s[t]=o,s},r.OlMap.prototype._checkLayerParams=function(e){return!!n.IMap.prototype._checkLayerParams.apply(this,arguments)},r.OlMap.prototype._changeLayerColor=function(e,t){var o=this._getLayerIndexByLayerId(e),r=this._layers[o];switch(r.options.format.toUpperCase()){case"MAPBOX":case"KML":case"GPX":case"WFS":case"COMPUTE":case"DRAWING":return void this.logger.warn("[_changeLayerColor] : _changeLayerColor not allowed on vector layers (layer id: "+e+")")}this._colorGrayscaleLayerSwitch(r,t);var i=n.IMap.CustomEvent("change:grayScaled",{detail:{oldValue:!t,newValue:t}});Object.defineProperty(i,"target",{writable:!0}),r.obj.dispatchEvent(i)},r.OlMap.prototype._colorGrayscaleLayerSwitch=function(e,t){function o(e,t){var o=function(e){e.crossOrigin="anonymous";var t=document.createElement("canvas"),o=t.getContext("2d");e.width=e.width||256,e.height=e.height||256,t.width=e.width,t.height=e.height,o.drawImage(e,0,0);for(var r=o.getImageData(0,0,e.width,e.height),n=r.data,i=0;i<n.length;i+=4){var s=(n[i]+n[i+1]+n[i+2])/3;n[i]=s,n[i+1]=s,n[i+2]=s}return o.putImageData(r,0,0),t.toDataURL()}(e);e.src="",e.onload=function(){t.changed()},e.src=o}var r=e.obj.getSource();t?r instanceof d.default?(r.loadstartListenerKey=r.on("imageloadstart",(function(e){e.image.getImage().crossOrigin="Anonymous"})),r.loadendListenerKey=r.on("imageloadend",(function(e){o(e.image.getImage(),e.target)}))):(r.loadstartListenerKey=r.on("tileloadstart",(function(e){e.tile.getImage().crossOrigin="Anonymous"})),r.loadendListenerKey=r.on("tileloadend",(function(e){o(e.tile.getImage(),e.target)}))):(Object(b.unByKey)(r.loadstartListenerKey),Object(b.unByKey)(r.loadendListenerKey),r.loadstartListenerKey=null,r.loadendListenerKey=null),r.refresh()},r.OlMap.prototype._applyCommonLayerParams=function(e){var t={};if(this.logger.trace("[_applyCommonLayerParams] : _applyCommonLayerParams "),e.hasOwnProperty("opacity")&&(this.logger.trace("[_applyCommonLayerParams] : _applyCommonLayerParams - opacity : "+e.opacity),t.opacity=e.opacity),e.hasOwnProperty("visibility")&&(this.logger.trace("[_applyCommonLayerParams] : _applyCommonLayerParams - visibility : "+e.visibility),t.visible=e.visibility),e.hasOwnProperty("position")&&(this.logger.trace("[_applyCommonLayerParams] : _applyCommonLayerParams - position : "+e.position),t.zIndex=e.position),e.hasOwnProperty("maxZoom")&&e.maxZoom>=0&&e.maxZoom<=20){var o=this._getResolutionFromZoomLevel(e.maxZoom);this.logger.trace("[_applyCommonLayerParams] : _applyCommonLayerParams - minRes : "+o),t.minResolution=o}if(e.hasOwnProperty("minZoom")&&e.minZoom>=0&&e.minZoom<=20){var r=this._getResolutionFromZoomLevel(e.minZoom);this.logger.trace("[_applyCommonLayerParams] : _applyCommonLayerParams - maxRes : "+r),t.maxResolution=r}return e.hasOwnProperty("grayScaled")&&(this.logger.trace("[_applyCommonLayerParams] : _applyCommonLayerParams - grayScaled : "+e.grayScaled),t.grayScaled=e.grayScaled),t},r.OlMap.prototype._addMarkers=function(e){if(this.logger.trace("[OlMap] : _addMarkers"),Array.isArray(e)){var t=null,o=this,r=0,s=function(e){var r=o.getLibMap().getEventPixel(e);o.logger.trace("[OlMap] : _addMarkers : display content : "+t.content),i.olExtended.gp.GfiUtils.displayInfo(o.getLibMap(),o.getLibMap().getCoordinateFromPixel([r[0]+this.mo.ppoffset[0],r[1]+this.mo.ppoffset[1]]),this.mo.content,this.mo.contentType,this.mo.autoPanOptions)};for(r=0;r<e.length;r++){(t=e[r]).hasOwnProperty("content")||(t.content=""),t.hasOwnProperty("url")||(t.url=i.olExtended.control.DefaultMarkers.lightOrange),t.hasOwnProperty("offset")||(t.offset=i.olExtended.control.DefaultMarkers.defaultOffset),this.logger.trace("[OlMap] : _addMarkers : offset ["+t.offset[0]+","+t.offset[1]+"]"),t.hasOwnProperty("ppoffset")||(t.ppoffset=[0,-15]);var a=!1;t.hasOwnProperty("position")||(t.position={x:this.libMap.getView().getCenter()[0],y:this.libMap.getView().getCenter()[1]},a=!0),t.hasOwnProperty("contentType")||(t.contentType="text/html"),t.hasOwnProperty("autoPanOptions")||(t.autoPanOptions={autoPan:n.IMap.DEFAULT_AUTOPAN_OPTIONS.autoPan,autoPanAnimation:{duration:n.IMap.DEFAULT_AUTOPAN_OPTIONS.duration},autoPanMargin:n.IMap.DEFAULT_AUTOPAN_OPTIONS.margin});var l=[t.position.x,t.position.y];t.position.hasOwnProperty("projection")&&(l=Object(g.transform)(l,t.position.projection,this.getProjection())),this.logger.trace("[OlMap] : _addMarkers : coords ["+l[0]+", "+l[1]+"]");var u=document.createElement("img");u.src=t.url,u.mo=t;var c=new m.default({position:l,offset:t.offset,element:u});if(this.libMap.addOverlay(c),this._markers.push(t),!0===a){var d=this,p=function(e){var t=[e.position.x,e.position.y];e.position.hasOwnProperty("projection")&&(t=Object(g.transform)(t,e.position.projection,d.getProjection())),this.setPosition(t)};this.listen("located",p,c),this.listen("geolocated",p,c)}u.addEventListener("click",s,!0),u.addEventListener("touchend",s,!0)}}else this.logger.info("Can not process markersOptions. It is not an Array.")},r.OlMap.prototype._removeMarkers=function(){for(var e=this.libMap.getOverlays().getArray();e.length>0;)this.libMap.removeOverlay(e[0]);this._markers=[]},r.OlMap.prototype.getMarkersOptions=function(){return this._markers},r.OlMap.prototype.setMarkersOptions=function(e){this._removeMarkers(),this._addMarkers(e)}},"./src/OpenLayers/OlMapListeners.js":function(e,t,o){"use strict";o.r(t);var r=o("./src/OpenLayers/OlMapBase.js"),n=o("./src/Interface/IMap.js"),i=o("./node_modules/ol/Observable.js");r.OlMap.prototype.listen=function(e,t,o){var i=this;if(this.logger.trace("[OlMap] : listen..."),n.IMap.prototype.listen.apply(this,arguments)){o=o||this;var s=this,a=null;switch(e){case"mapLoaded":case"mapFailure":case"located":case"geolocated":case"configured":case"tiltChanged":case"projectionChanged":case"controlChanged":break;case"centerChanged":var l=function(e){var r={};e.oldValue&&(r.oldCenter={x:e.oldValue[0],y:e.oldValue[1]}),r.newCenter={x:this.libMap.getView().getCenter()[0],y:this.libMap.getView().getCenter()[1]},t.call(o,r)}.bind(this);a=this.libMap.getView().on("change:center",l);break;case"zoomChanged":var u=function(e){t.call(o,{oldZoom:this._getZoomFromResolution(e.oldValue),newZoom:this._getZoomFromResolution(this.libMap.getView().getResolution())})}.bind(this);a=this.libMap.getView().on("change:resolution",u);break;case"azimuthChanged":var c=function(e){t.call(o,{oldAzimuth:180*e.oldValue/Math.PI,newAzimuth:180*this.libMap.getView().getRotation()/Math.PI})}.bind(this);a=this.libMap.getView().on("change:rotation",c);break;case"layerChanged":var d=function(e){var r=e.element,n=this._getLayerOpts(r);n||(s.logger.trace("[OlMap] listen : enregistrement d'une couche 'inconnue'."),n=this._registerUnknownLayer(r)),t.call(o,{layerAdded:n,position:r.getZIndex()})}.bind(this);a=this.libMap.getLayers().on("add",d),this._registerEvent(a,e,t,o);var p=function(e){var r=e.element,n=this._getLayerOpts(r)||this._getLayerOpts(r,this._layersRemoved),i=o.getLibMap();i.featuresOverlay&&n[i.featuresOverlay.getId()]&&(i.removeOverlay(i.featuresOverlay),i.featuresOverlay=null),t.call(o,{layerRemoved:n}),setTimeout((function(){o._resetLayerChangedEvent()}),0)}.bind(this);for(var h in a=this.libMap.getLayers().on("remove",p),this._registerEvent(a,e,t,o),r.OlMap.LAYERPROPERTIES)s.logger.trace("[OlMap] listen : abonnement layerProperty : "+h),this.libMap.getLayers().forEach((function(n,l,u){var c=i._getLayerOpts(n);if("grayScaled"===h){var d=function(e){t.call(o,{property:"grayScaled",oldValue:e.detail.oldValue,newValue:e.detail.newValue,layerChanged:c})},p=s._registerEvent(d,e,t,o);p.eventOrigin=n,p.eventType="change:"+h,p.eventOrigin.addEventListener(p.eventType,d,i)}else{a=n.on("change:"+h,(function(e){var i={};i[e.key]=e.oldValue;var a=s._getCommonLayerParams(i),l={};l[e.key]=n.get(e.key);var u=s._getCommonLayerParams(l);t.call(o,{property:r.OlMap.LAYERPROPERTIES[e.key],oldValue:a[r.OlMap.LAYERPROPERTIES[e.key]],newValue:u[r.OlMap.LAYERPROPERTIES[e.key]],layerChanged:c})})),i._registerEvent(a,e,t,o)}}),s);a=null;break;default:this.logger.info("unhandled event : "+e)}a&&this._registerEvent(a,e,t,o)}},r.OlMap.prototype.forget=function(e,t){if(this.logger.trace("[OlMap] : forget..."),n.IMap.prototype.forget.apply(this,arguments)){var o=this._events[e];if(o)for(var r=null,s=o.length-1;s>=0;s--)o[s].action===t&&(r=o[s].key,o.splice(s,1),this.logger.trace("[OlMap] : forgetting : "+e+" ("+r+")"),Object(i.unByKey)(r));else this.logger.info("nothing to forget for : "+e)}},r.OlMap.prototype.setDraggable=function(e){return this._toggleInteractions("draggable",e)},r.OlMap.prototype.setKeyboard=function(e){return this._toggleInteractions("keyboard",e)},r.OlMap.prototype.setSelectable=function(e){return this._toggleInteractions("selectable",e)},r.OlMap.prototype._toggleInteractions=function(e,t){var o=this.getLibMapControl(e);if(null==o){o=[];for(var n=0;n<r.OlMap.CONTROLSCLASSES[e].length;n++){this.logger.trace("[OlMap] : adding interaction "+r.OlMap.CONTROLSCLASSES[e][n].name+" to the map.");var i=new r.OlMap.CONTROLSCLASSES[e][n];this.libMap.addInteraction(i),o.push(i)}}for(var s=0;s<o.length;s++){var a=o[s];this.logger.trace("[OlMap] : setting interaction to "+t+" for control : "+e),a.setActive(t)}return o},r.OlMap.prototype._getCommonLayerParams=function(e){var t={};if(this.logger.trace("[OlMap] : _getCommonLayerParams "),e.hasOwnProperty("opacity")&&(this.logger.trace("[OlMap] : _getCommonLayerParams - opacity : "+e.opacity),t.opacity=e.opacity),e.hasOwnProperty("visible")&&(this.logger.trace("[OlMap] : _getCommonLayerParams - visibility : "+e.visible),t.visibility=e.visible),e.hasOwnProperty("zIndex")&&(this.logger.trace("[OlMap] : _getCommonLayerParams - position : "+e.zIndex),t.position=e.zIndex),e.hasOwnProperty("mapbox-status")&&(this.logger.trace("[OlMap] : _getCommonLayerParams - mapbox-status : "+e["mapbox-status"]),t["mapbox-status"]=e["mapbox-status"]),e.hasOwnProperty("maxResolution")){var o=this._getZoomFromResolution(e.maxResolution);this.logger.trace("[OlMap] : _getCommonLayerParams - minZoom : "+o),t.minZoom=o}if(e.hasOwnProperty("minResolution")){var r=this._getZoomFromResolution(e.minResolution);this.logger.trace("[OlMap] : _getCommonLayerParams - maxZoom : "+r),t.maxZoom=r}return t}},"./src/OpenLayers/OlMapVectorTile.js":function(e,t,o){"use strict";o.r(t);var r=o("./src/OpenLayers/OlMapBase.js"),n=o("./src/Interface/IMap.js"),i=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/index.js"),s=o("./node_modules/ol-mapbox-style/dist/index.js"),a=o("./node_modules/ol/layer/VectorTile.js"),l=o("./node_modules/ol/source/VectorTile.js"),u=o("./node_modules/ol/source/TileJSON.js"),c=o("./node_modules/ol/Feature.js"),d=o("./node_modules/ol/format/MVT.js"),p=o("./node_modules/ol/format/GeoJSON.js"),h=(o("./node_modules/ol/tilegrid.js"),o("./node_modules/ol/Observable.js")),f=o("./node_modules/ol/proj.js"),m=function(e){function t(e){if(e>255)throw new Error("'"+e+"'' is greater than 255(0xff);");return("0"+Number(e).toString(16)).slice(-2)}var o=JSON.stringify(e).replace(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(0?.?\d+)\s*)?\)/gm,(function(e,o,r,n,i){return"#"+(t(o)+t(r)+t(n))})).replace(/"#([a-f\d])([a-f\d])([a-f\d])"/gim,(function(e,t,o,r,n){return'"#'+(t+t+o+o+r+r)+'"'})).replace(/#([a-f\d]{2}[a-f\d]{2}[a-f\d]{2})/gim,(function(e,t,o){var r,n;return"#"+(r=parseInt(t,16),((n=.2126*(r>>16)+.7152*(r>>8&255)+.0722*(255&r)&255)<<16|n<<8|n).toString(16))}));try{return JSON.parse(o)}catch(e){return null}},g=function(e,t,o,r,n){var i=function(e,t,o,r,n){for(var i=RegExp("__"+t+"__"),s=0;s<r.length;s++){var a=e.layers[r[s]];if(a&&a.id===o[s]&&a.filter)for(var l=0;l<a.filter.length;l++)if(Array.isArray(a.filter[l]))for(var u=0;u<a.filter[l].length;u++){var c=a.filter[l][u];-1!==c.indexOf(t)&&(n?i.test(c)&&(a.filter[l][u]=t):a.filter[l][u]="__"+t+"__")}else{var d=a.filter[l];-1!==d.indexOf(t)&&(n?i.test(d)&&(a.filter[l]=t):a.filter[l]="__"+t+"__")}}},s=function(e,t,o,r){var n=null,i=e.toLowerCase();switch(i){case"string":case"text":case(i.match(/^character/)||{}).input:n=[r||"in",t,o];break;case"numeric":case"integer":n=[r||"<=",t,parseInt(o,10)];break;default:n=[]}return n},a=function(e){var t=null,o=("#"+Math.floor(16777215*Math.random()).toString(16)).padEnd(7,"f");switch(e.toUpperCase()){case"MULTIPOLYGON":case"POLYGON":t={"fill-color":o,"fill-opacity":.5,"fill-width":1};break;case"MULTILINE":case"LINE":case"LINESTRING":t={"line-color":o,"line-width":1};break;case"MULTIPOINT":case"POINT":t={"circle-color":o,"circle-radius":5,"circle-stroke-color":"#FFFFFF","circle-stroke-width":2};break;default:t={}}return t},l=function(e){var t=null;switch(e.toUpperCase()){case"MULTIPOLYGON":case"POLYGON":t="fill";break;case"MULTILINE":case"LINE":case"LINESTRING":t="line";break;case"MULTIPOINT":case"POINT":t="circle";break;default:t="symbol"}return t},u={version:8};u.name=o.filterName,u.center=r.center||[],u.bounds=r.bounds||[],u.layers=[],u.sources={},u.sources[e]={type:"vector",tiles:[t]};var c=r.vector_layers;if(c)for(var d=!1,p=0;p<c.length&&!d;p++){var h=c[p];for(var f in h.fields)if(h.fields.hasOwnProperty(f)&&f===o.propertyName){var m=h.id,g=h.geometry,y=h.fields[f].type,v=h.fields[f].values;if(v&&v.sort(),o.tableName&&m!==o.tableName)continue;for(var _=[],b=[],A=n.layers.length,C=0;C<A;C++){var E=n.layers[C];if(E["source-layer"]&&E["source-layer"]===m){if(E.metadata&&E.metadata["geoportail:entry"]&&E.metadata["geoportail:index"])continue;if(1===A&&0===o.type){E.filter||(E.filter=[],E.filter.push("in"),E.filter.push(o.propertyName));for(var S=0;S<v.length;S++){var w=v[S];-1===E.filter.indexOf(w)&&E.filter.push(w)}}_.push(E.id),b.push(C)}}if(!_){console.warn("Filtres utilisateurs : auncune association possible ("+o.filterName+") !?");break}if(d=!0,!v){console.warn("Filtres utilisateurs : auncune valeurs ("+o.filterName+") !?");continue}for(var O=0;O<v.length;O++){var I=v[O],x=null,j=s(y,f,I),T="visible",P=0,M=o.filterName;0===o.type?o.selected&&o.selected.length&&i(n,I,_,b,o.selected[O]):1===o.type?(T="none",x=a(g),P=1):2===o.type&&(T="none",P=2,o.selected&&o.selected.length),o.selected&&o.selected.length&&(T=o.selected[O]?"visible":"none"),u.layers.push({id:I,type:l(g),source:e,"source-layer":m,metadata:{"geoportail:category":M,"geoportail:filter":P,"geoportail:group":null,"geoportail:entry":_,"geoportail:index":b,"geoportail:order":null},layout:{visibility:T},paint:x,filter:j})}if(d)break}}return 0===u.layers.length&&console.warn("Filtres utilisateurs : aucun 'layers' ("+o.filterName+") !?"),u};r.OlMap.MAPBOXPROPERTIES={filters:"mapbox-filters",status:"mapbox-status",themes:"mapbox-themes",styles:"mapbox-styles",layers:"mapbox-layers",source:"mapbox-source",extensions:"mapbox-extensions",loaded:"mapbox-loaded"},r.OlMap.prototype._callbackMapBoxObservableFilters=function(e){this.logger.warn("DEBUG:ObservableFilters",e,e.target.get(r.OlMap.MAPBOXPROPERTIES.filters))},r.OlMap.prototype._callbackMapBoxObservableStatus=function(e){this.logger.warn("DEBUG:ObservableStatus",e,e.target.get(r.OlMap.MAPBOXPROPERTIES.status))},r.OlMap.prototype._callbackMapBoxObservableThemes=function(e){this.logger.warn("DEBUG:ObservableThemes",e,e.target.get(r.OlMap.MAPBOXPROPERTIES.themes))},r.OlMap.prototype._callbackMapBoxObservableStyles=function(e){this.logger.warn("DEBUG:ObservableStyles",e,e.target.get(r.OlMap.MAPBOXPROPERTIES.styles))},r.OlMap.prototype._callbackMapBoxObservableMapStyles=function(e){this.logger.warn("DEBUG:ObservableMapStyles",e,e.target.get(r.OlMap.MAPBOXPROPERTIES.styles))},r.OlMap.prototype._callbackMapBoxObservableExtensions=function(e){this.logger.warn("DEBUG:ObservableExtensions",e,e.target.get(r.OlMap.MAPBOXPROPERTIES.extensions))},r.OlMap.prototype._callbackMapBoxObservableLoaded=function(e){this.logger.warn("DEBUG:ObservableLoaded",e,e.target.get(r.OlMap.MAPBOXPROPERTIES.loaded))},r.OlMap.prototype._addMapBoxLayer=function(e){var t=this.libMap,o=this;return function(e){var y=Object.keys(e)[0],v=e[y],_=o.setProxy(v.url);if(Array.isArray(v.styles)){for(var b=!1,A=!1,C=0;C<v.styles.length;C++){var E=v.styles[C];E.url===v.url&&(b=!0),E.selected&&(_=E.url,A=!0)}if(!b){var S=v.url,w=v.defaultStyleThumbnail||null,O=v.defaultStyleName||"Style par défaut",I=v.defaultStyleDescription||"Style par défaut";v.styles.unshift({thumbnail:w,name:O,url:S,description:I,selected:!A})}}return Array.isArray(v.filters),fetch(_,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw new Error("HTTP error ("+e.url+") = "+e.status+" ("+e.statusText+")");e.json().then((function(e){var b=v.mapboxOptions;if(b&&Object.keys(b).length){var A=b.layers;if(A)for(var C=e.layers.reduce((function(e,t){return e[t.id]=t,e}),{}),E=0;E<A.length;E++)C[A[E].id]&&i.olUtils.mergeParams(C[A[E].id],A[E])}var S=e.sources,w=Object.keys(S).length>1?1:0;for(var O in S){var I=null,x=null,j=null,T=null;if(S.hasOwnProperty(O)){var P,M,R="",L="",k=null,N=null,D=null,G=null,F=null,U=null;if(e.metadata)for(var B in e.metadata)if(e.metadata.hasOwnProperty(B)){var z=B.split(":");if("geoportail"===z[0]){var V=z[1];if("title"===V&&!v.title){R=v.title=e.metadata[B];continue}if("description"===V&&!v.description){L=v.description=e.metadata[B];continue}if("quicklookUrl"===V&&!v.quicklookUrl){k=v.quicklookUrl=e.metadata[B];continue}if("legends"===V&&!v.legends){N=v.legends=e.metadata[B];continue}if("metadata"===V&&!v.metadata){D=v.metadata=e.metadata[B];continue}if("originators"===V&&!v.originators){G=v.originators=e.metadata[B];continue}if("styles"===V&&!v.styles){F=v.styles=e.metadata[B];continue}if("filters"===V&&!v.filters){U=v.filters=e.metadata[B];continue}}}v.title||(v.title="Couche MapBox"),v.description||(v.description="Couche MapBox"),R=w?v.title+"("+O+")":v.title,L=v.description,k=v.quicklookUrl,D=v.metadata,N=v.legends,G=v.originators,P=v.position,M=void 0===v.queryable||v.queryable;var W={};if(Array.isArray(v.styles)){F=v.styles;for(var q=null,Y=null,H=0;H<v.styles.length;H++){var X=v.styles[H];X.selected&&(q=H,Y=X.url.match(/([^/]+)(?=\.\w+$)/)[1],W={index:q,key:Y})}}var Z=[];if(Array.isArray(v.filters)){U=v.filters;for(var K=0;K<v.filters.length;K++){var J=v.filters[K],Q=[];J.configuration&&J.configuration.selected&&Array.isArray(J.configuration.selected)&&J.configuration.selected.length&&(Q=J.configuration.selected),Z.push({k:J.filterName,v:Q})}}var $=[],ee=S[O],te=ee.type;if("vector"===te){var oe=ee.url,re=ee.tiles,ne=e.sprite;if(oe&&0===oe.indexOf("mapbox://")&&(re=["a","b","c","d"].map((function(e){return"https://"+e+".tiles.mapbox.com/v4/"+oe.replace("mapbox://","")+"/{z}/{x}/{y}.vector.pbf?"+_.split("?")[1]})),0===ne.indexOf("mapbox://"))){var ie=_.split("?");e.sprite=ie[0]+"/sprite?"+ie[1]}if(re)I=new d.default({featureClass:c.default}),(x=new l.default({attributions:ee.attribution,format:I,urls:re}))._title=R,x._description=L,x._quicklookUrl=k,x._metadata=D,x._legends=N,x._originators=G,(j=new a.default({className:R,source:x,visible:!1,zIndex:P,declutter:!0})).id=O;else if(oe){I=new d.default({featureClass:c.default}),(j=new a.default({className:R,visible:!1,zIndex:P,declutter:!0})).id=O,T=new u.default({url:oe}),j.set(r.OlMap.MAPBOXPROPERTIES.loaded,!1),j.dispatchEvent("change:"+r.OlMap.MAPBOXPROPERTIES.loaded),j.on("change:"+r.OlMap.MAPBOXPROPERTIES.loaded,o._callbackMapBoxObservableLoaded.bind(o));var se=T.on("change",(function(t){if("error"===T.getState()&&(console.error("HTTP TileJSON error (metadata.json)"),j.set(r.OlMap.MAPBOXPROPERTIES.loaded,!0)),"ready"===T.getState()){var n=T.getTileJSON();j.set(r.OlMap.MAPBOXPROPERTIES.extensions,n),j.on("change:"+r.OlMap.MAPBOXPROPERTIES.extensions,o._callbackMapBoxObservableExtensions.bind(o)),j.dispatchEvent("change:"+r.OlMap.MAPBOXPROPERTIES.extensions);for(var i=Array.isArray(n.tiles)?n.tiles:[n.tiles],s=0;s<i.length;s++){var a=i[s];0!==a.indexOf("http")&&(i[s]=oe+a)}if((x=new l.default({attributions:T.getAttributions()||n.attribution,format:I,urls:i}))._title=R,x._description=L,x._quicklookUrl=k,x._metadata=D,x._legends=N,x._originators=G,j.setSource(x),Array.isArray(v.filters)){for(var u=0;u<v.filters.length;u++){var c=v.filters[u],d=c.configuration||{},p=d.selected?d.selected:[],f=d.type?d.type:0,m={tableName:null,propertyName:c.propertyName,filterName:c.filterName,selected:p,type:f};if(-1!==m.propertyName.indexOf(".")){var y=m.propertyName.split(".");m.tableName=y[0],m.propertyName=y[1]}var _=null;j.getSource()&&(_=j.getSource().urls);var b=g(O,_,m,n,e);if(!b.layers)break;for(var A=JSON.parse(JSON.stringify(e)),C=A.layers,E=0;E<C.length;E++){var S=C[E];S.source===O?S.metadata&&S.metadata.hasOwnProperty("geoportail:category")&&S.metadata.hasOwnProperty("geoportail:filter")&&(C.splice(E,1),E--):(C.splice(E,1),E--)}j.set(r.OlMap.MAPBOXPROPERTIES.styles,A);for(var w=0;w<b.layers.length;w++)e.layers.push(b.layers[w]);c.style=b}j.set(r.OlMap.MAPBOXPROPERTIES.filters,{filtersSummary:v.filtersSummary,filters:v.filters})}j.set(r.OlMap.MAPBOXPROPERTIES.loaded,!0),Object(h.unByKey)(se)}}))}}else{if("geojson"!==te)return;var ae=ee.data;I=new p.default,(x=new l.default({attributions:ee.attribution,format:I,url:ae}))._title=R,x._description=L,x._quicklookUrl=k,x._metadata=D,x._legends=N,x._originators=G,(j=new a.default({className:R,source:x,visible:!1,zIndex:P,declutter:!0})).id=O}j.set(r.OlMap.MAPBOXPROPERTIES.themes,{}),j.on("change:"+r.OlMap.MAPBOXPROPERTIES.themes,o._callbackMapBoxObservableThemes.bind(o)),j.dispatchEvent("change:"+r.OlMap.MAPBOXPROPERTIES.themes),j.set(r.OlMap.MAPBOXPROPERTIES.styles,{}),j.on("change:"+r.OlMap.MAPBOXPROPERTIES.styles,o._callbackMapBoxObservableStyles.bind(o)),j.dispatchEvent("change:"+r.OlMap.MAPBOXPROPERTIES.styles),j.set(r.OlMap.MAPBOXPROPERTIES.filters,{}),j.on("change:"+r.OlMap.MAPBOXPROPERTIES.filters,o._callbackMapBoxObservableFilters.bind(o)),j.dispatchEvent("change:"+r.OlMap.MAPBOXPROPERTIES.filters),j.set(r.OlMap.MAPBOXPROPERTIES.status,{}),j.on("change:"+r.OlMap.MAPBOXPROPERTIES.status,o._callbackMapBoxObservableStatus.bind(o)),j.dispatchEvent("change:"+r.OlMap.MAPBOXPROPERTIES.status);var le=function(){var a={visibility:v.visibility,queryable:M,opacity:v.opacity,grayScaled:v.grayScaled,position:P,zoomToExtent:v.zoomToExtent,url:v.url,defaultStyleName:v.defaultStyleName,defaultStyleThumbnail:v.defaultStyleThumbnail,defaultStyleDescription:v.defaultStyleDescription,format:v.format,mapboxOptions:v.mapboxOptions,stylesSummary:v.stylesSummary,styles:F,filtersSummary:v.filtersSummary,filters:U,title:R,description:L,quicklookUrl:k,metadata:D,legends:N,originators:G};i.olUtils.mergeParams(a,v,!1),function(e){var i=function(){Object(s.applyStyle)(e.layer,e.styles,e.id).then((function(){var t=void 0===v.visibility||v.visibility;e.layer.setVisible(t),e.layer.setOpacity(v.opacity||1)})).then((function(){if(e.options.zoomToExtent||!1){var o=e.layer.getSource();if(t.getView()&&o&&o.getExtent){var r=o.on("change",(function(){var e=o.getExtent();"ready"===o.getState()&&e[0]!==1/0&&(Object(h.unByKey)(r),t.getView().fit(e,{maxZoom:18}))}));setTimeout((function(){o.dispatchEvent("change")}),100)}else{var n=t.getView().getProjection().getCode();t.getView()&&e.styles.center&&e.styles.center.length&&t.getView().setCenter(Object(f.transform)(e.styles.center,"EPSG:4326",n)),t.getView()&&(e.styles.zoom||0===e.styles.zoom)&&t.getView().setZoom(e.styles.zoom)}}})).then((function(){var t=o.getLibMapControl("GetFeatureInfo");if(t&&t.isActive()){var r=t.getLayers();if(!0===e.options.queryable){for(var n=!1,i=0;i<r.length;i++)r[i].obj===e.layer&&(n=!0);n||r.push({obj:e.layer,event:"singleclick",infoFormat:""})}if(!1===e.options.queryable){for(var s=[],a=0;a<r.length;a++)r[a].obj!==e.layer&&s.push(r[a]);t.setLayers(s)}}})).then((function(){var o=n.IMap.CustomEvent("render:success",{detail:{id:e.id,style:e.styles}});Object.defineProperty(o,"target",{writable:!0}),t.dispatchEvent(o)})).catch((function(r){o.logger.warn("DEBUG:Apply Style error = "+r.message);var i=n.IMap.CustomEvent("render:failure",{detail:{id:e.id,error:r}});Object.defineProperty(i,"target",{writable:!0}),t.dispatchEvent(i)}))},a=w?y+"-"+e.id:y;if(a===y&&o._getLayersObj([y]).length>0)o.logger.info("Layer ["+y+"] already added to map.");else{o._layers.push({id:a,obj:e.layer,options:e.options}),t.addLayer(e.layer);var l=t.get(r.OlMap.MAPBOXPROPERTIES.styles)||{};l[a]=e.styles,t.set(r.OlMap.MAPBOXPROPERTIES.styles,l),t.on("change:"+r.OlMap.MAPBOXPROPERTIES.styles,o._callbackMapBoxObservableMapStyles.bind(o)),t.dispatchEvent("change:"+r.OlMap.MAPBOXPROPERTIES.styles);for(var u=JSON.parse(JSON.stringify(e.styles)),c=u.layers,d=0;d<c.length;d++){var p=c[d];p.source===e.id?p.metadata&&p.metadata.hasOwnProperty("geoportail:category")&&p.metadata.hasOwnProperty("geoportail:filter")&&(c.splice(d,1),d--):(c.splice(d,1),d--)}e.layer.set(r.OlMap.MAPBOXPROPERTIES.styles,u),e.layer.set(r.OlMap.MAPBOXPROPERTIES.themes,{stylesSummary:e.options.stylesSummary,styles:e.options.styles}),e.layer.set(r.OlMap.MAPBOXPROPERTIES.filters,{filtersSummary:e.options.filtersSummary,filters:e.options.filters}),e.layer.set(r.OlMap.MAPBOXPROPERTIES.status,{theme:e.selectedTheme,layers:e.selectedLayers,filters:e.selectedFilters}),e.options.grayScaled&&(e.styles=m(u),e.styles||console.error("Erreur de transformation en N/B !?")),e.layer.getSource()?i():e.layer.once("change:source",i);for(var g=0;g<o._layers.length&&o._layers.length===Object.keys(o.mapOptions.layersOptions).length;g++){var _=o._layers[g].id;o.mapOptions.layersOptions&&o.mapOptions.layersOptions[_]&&void 0!==o.mapOptions.layersOptions[_].position&&(o._layers[g].options.position=o.mapOptions.layersOptions[_].position,o._layers[g].obj.setZIndex(o._layers[g].options.position))}o._addLayerConfToLayerSwitcher(e.layer,e.options),o._resetLayerChangedEvent()}}({id:O,styles:e,layer:j,selectedTheme:W,selectedFilters:Z,selectedLayers:$,options:a})};T?(o.logger.warn("tilejson loading!"),j.once("change:"+r.OlMap.MAPBOXPROPERTIES.loaded,le)):(o.logger.warn("loaded!"),le())}}})).catch((function(e){throw new Error("Parsing JSON error = "+e.message)}))})).catch((function(e){}))}(e)},r.OlMap.prototype._updateStyleMapBoxLayer=function(e,t,o){var n=this;return fetch(o.url,{credentials:"same-origin"}).then((function(i){if(i.ok)return i.json().then((function(i){var a=e.get(r.OlMap.MAPBOXPROPERTIES.source);return Object(s.applyStyle)(e,i,a).then((function(){for(var t=JSON.parse(JSON.stringify(i)),o=t.layers,n=0;n<o.length;n++){var s=o[n];s.source===e.id?s.metadata&&s.metadata.hasOwnProperty("geoportail:category")&&s.metadata.hasOwnProperty("geoportail:filter")&&(o.splice(n,1),n--):(o.splice(n,1),n--)}e.set(r.OlMap.MAPBOXPROPERTIES.styles,t)})).then((function(){var o=n.getLibMap(),s=e.get(r.OlMap.MAPBOXPROPERTIES.extensions),l=e.getSource().urls,u=e.get(r.OlMap.MAPBOXPROPERTIES.filters),c=JSON.parse(JSON.stringify(o.get(r.OlMap.MAPBOXPROPERTIES.styles)))||{},d=Object.assign({},i);c[t]=function(e,t,o,r,n){if(Array.isArray(o))for(var i=0;i<o.length;i++){var s=o[i],a=s.configuration||{},l={tableName:null,propertyName:s.propertyName,filterName:s.filterName,selected:a.selected?a.selected:[],type:a.type?a.type:0};if(-1!==l.propertyName.indexOf(".")){var u=l.propertyName.split(".");l.tableName=u[0],l.propertyName=u[1]}var c=g(e,t,l,r,n);if(!c.layers)break;for(var d=0;d<c.layers.length;d++)n.layers.push(c.layers[d]);s.style=c}return n}(a,l,u.filters,s,d),o.set(r.OlMap.MAPBOXPROPERTIES.styles,c)})).then((function(){var t=JSON.parse(JSON.stringify(e.get(r.OlMap.MAPBOXPROPERTIES.filters)));t&&e.set(r.OlMap.MAPBOXPROPERTIES.filters,t)})).then((function(){var t=JSON.parse(JSON.stringify(e.get(r.OlMap.MAPBOXPROPERTIES.themes)));if(t){for(var n=0;n<t.styles.length;n++){var i=t.styles[n];i.selected&&delete i.selected,parseInt(o.index,10)===n&&(i.selected=!0)}e.set(r.OlMap.MAPBOXPROPERTIES.themes,t)}})).then((function(){var t=JSON.parse(JSON.stringify(e.get(r.OlMap.MAPBOXPROPERTIES.filters))),n=JSON.parse(JSON.stringify(e.get(r.OlMap.MAPBOXPROPERTIES.status)));if(n){var i=[];if(t.filters)for(var s=0;s<t.filters.length;s++){var a=t.filters[s];i.push({k:a.filterName,v:a.configuration&&a.configuration.selected?a.configuration.selected:[]})}var l={theme:{index:o.index,key:o.url.match(/([^/]+)(?=\.\w+$)/)[1]},layers:n.layers,filters:i};e.set(r.OlMap.MAPBOXPROPERTIES.status,l)}})).catch((function(e){n.logger.error(e)}))}))})).catch((function(e){}))},r.OlMap.prototype._updateFilterMapBoxLayer=function(e,t,o){var n=this,i=this.getLibMap(),a=e.get(r.OlMap.MAPBOXPROPERTIES.source),l=i.get(r.OlMap.MAPBOXPROPERTIES.styles)[t];if(a!==o.data.source)return new Promise((function(e,t){t()}));for(var u=l.layers,c=0;c<u.length;c++)if(u[c].id===o.data.id){var d=u[c].metadata;if(d&&d.hasOwnProperty("geoportail:category")&&o.category===d["geoportail:category"]){var p=u[c],h=p.id,f=RegExp("__"+h+"__");if(d.hasOwnProperty("geoportail:filter")&&0===d["geoportail:filter"]){for(var m=d.hasOwnProperty("geoportail:entry")?d["geoportail:entry"]:[],g=d.hasOwnProperty("geoportail:index")?d["geoportail:index"]:[],y=[],v=0;v<m.length;v++){var _=u[g[v]];if(_&&_.id===m[v]&&_.filter)for(var b=0;b<_.filter.length;b++)if(Array.isArray(_.filter[b]))for(var A=null,C=0;C<_.filter[b].length;C++)-1!==(A=_.filter[b][C]).indexOf(h)&&(y.push(_.id),o.active?f.test(A)&&(_.filter[b][C]=h):_.filter[b][C]="__"+h+"__");else-1!==(A=_.filter[b]).indexOf(h)&&(y.push(_.id),o.active?f.test(A)&&(_.filter[b]=h):_.filter[b]="__"+h+"__")}var E=p.layout;E&&E.visibility?E.visibility=o.active?"visible":"none":p.layout={visibility:o.active?"visible":"none"}}if(d.hasOwnProperty("geoportail:filter")&&1===d["geoportail:filter"]){var S=p.layout;S&&S.visibility?S.visibility=o.active?"visible":"none":p.layout={visibility:o.active?"visible":"none"}}d.hasOwnProperty("geoportail:filter")&&d["geoportail:filter"];break}}return Object(s.applyStyle)(e,l,a).then((function(){var t=JSON.parse(JSON.stringify(e.get(r.OlMap.MAPBOXPROPERTIES.filters)));if(t){if(t.filters)for(var n=0;n<t.filters.length;n++){var i=t.filters[n];if(i.filterName===o.category){i.configuration&&i.configuration.selected?i.configuration.selected=o.status:i.configuration={selected:o.status,type:0};break}}e.set(r.OlMap.MAPBOXPROPERTIES.filters,t)}})).then((function(){for(var t=JSON.parse(JSON.stringify(l)),o=t.layers,n=0;n<o.length;n++){var i=o[n];i.source===a?i.metadata&&i.metadata.hasOwnProperty("geoportail:category")&&i.metadata.hasOwnProperty("geoportail:filter")&&(o.splice(n,1),n--):(o.splice(n,1),n--)}e.set(r.OlMap.MAPBOXPROPERTIES.styles,t)})).then((function(){var e=JSON.parse(JSON.stringify(i.get(r.OlMap.MAPBOXPROPERTIES.styles)||{}));e[t]=l,i.set(r.OlMap.MAPBOXPROPERTIES.styles,e)})).then((function(){var t=JSON.parse(JSON.stringify(e.get(r.OlMap.MAPBOXPROPERTIES.status)));if(t){for(var n=0;n<t.filters.length;n++)t.filters[n].k===o.category&&(t.filters[n].v=[],t.filters[n].v=o.status);var i={theme:t.theme,layers:t.layers,filters:t.filters};e.set(r.OlMap.MAPBOXPROPERTIES.status,i)}})).catch((function(e){n.logger.error(e)}))},r.OlMap.prototype._updateGrayScaledMapBoxLayer=function(e,t,o){var n=this,i=this.getLibMap(),a=e.get(r.OlMap.MAPBOXPROPERTIES.source),l=i.get(r.OlMap.MAPBOXPROPERTIES.styles)[t];this._layers.forEach((function(e){e.id===t&&(e.options.grayScaled=o.active)}));var u=null;if(o.active){if(!(u=m(l)))return new Promise((function(e,t){t()}))}else u=l;return Object(s.applyStyle)(e,u,a).then((function(){})).catch((function(e){n.logger.error(e)}))}},"./src/OpenLayers/OlMapView.js":function(e,t,o){"use strict";o.r(t);var r=o("./src/OpenLayers/OlMapBase.js"),n=o("./node_modules/ol/View.js"),i=o("./node_modules/ol/proj.js");r.OlMap.prototype.getProjection=function(){return this.libMap.getView().getProjection().getCode()},r.OlMap.prototype.getCenter=function(){return{x:this.libMap.getView().getCenter()[0],y:this.libMap.getView().getCenter()[1]}},r.OlMap.prototype.getViewExtent=function(e){var t={};if(this.libMap&&this.libMap.getView()){var o=this.libMap.getView().calculateExtent(this.libMap.getSize()),r=this.libMap.getView().getProjection().getCode();e&&e!==r&&(o=Object(i.transformExtent)(o,r,e)),t.left=o[0],t.right=o[2],t.bottom=o[1],t.top=o[3]}return t},r.OlMap.prototype.getAzimuth=function(){return 180*this.libMap.getView().getRotation()/Math.PI},r.OlMap.prototype.getZoom=function(){return this._getZoomFromResolution(this.getResolution())},r.OlMap.prototype.getResolution=function(){return this.libMap.getView().getResolution()},r.OlMap.prototype.setProjection=function(e){var t=new n.default({center:this.libMap.getView().getCenter(),projection:e,rotation:this.libMap.getView().getRotation(),zoom:this.getZoom()});this.libMap.setView(t)},r.OlMap.prototype.setXYCenter=function(e){if(this.logger.trace("[OlMap] - setXYCenter"),e.hasOwnProperty("x")&&e.hasOwnProperty("y")){var t=[e.x,e.y],o=this.libMap.getView().getProjection().getCode();e.projection&&e.projection!==o&&(t=Object(i.transform)(t,e.projection,o)),this.libMap.getView().setCenter(t),this.logger.trace("[OlMap] - setXYCenter("+e.x+","+e.y+"), projection Map : "+o)}else this.logger.info("no valid coordinates for map center")},r.OlMap.prototype.setAutoCenter=function(e,t){this.logger.trace("[IT] - setAutoCenter"),this.setXYCenter(e,t)},r.OlMap.prototype.setAzimuth=function(e){this.libMap.getView().setRotation(e*Math.PI/180)},r.OlMap.prototype.setZoom=function(e){this.libMap.getView().setZoom(e)},r.OlMap.prototype.setResolution=function(e){this.libMap.getView().setResolution(e)},r.OlMap.prototype.zoomIn=function(){this.libMap.getView().setZoom(this.getZoom()+1)},r.OlMap.prototype.zoomOut=function(){this.libMap.getView().setZoom(this.getZoom()-1)}},"./src/SDK2D.js":function(e,t,o){"use strict";o.r(t),o.d(t,"sdkVersion",(function(){return p})),o.d(t,"sdkDate",(function(){return h})),o.d(t,"Editor",(function(){return f}));var r=o("./package.json"),n=o("./src/Utils/MapLoader.js");o.d(t,"Map",(function(){return n.MapLoader}));var i=o("./src/OpenLayers/OlMap.js"),s=o("./src/Utils/LoggerByDefault.js"),a=(o("./src/OpenLayers/CSS/OlMap.css"),o("./src/Utils/dist-openlayers/index.js-exposed")),l=o.n(a),u=o("./node_modules/geoportal-extensions-openlayers/src/OpenLayers/index.js");function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function d(e,t){return function e(t,o){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(Object.prototype.hasOwnProperty.call(o,r)?"object"===c(t[r])&&e(t[r],o[r]):o[r]=t[r])}(e,t)}o.d(t,"Services",(function(){return u.Services})),o.d(t,"Error",(function(){return u.Error})),o.d(t,"Helper",(function(){return u.Helper})),o.d(t,"Protocols",(function(){return u.Protocols})),o.d(t,"Logger",(function(){return u.Logger})),o.d(t,"servicesDate",(function(){return u.servicesDate})),o.d(t,"servicesVersion",(function(){return u.servicesVersion})),o.d(t,"LayerUtils",(function(){return u.LayerUtils})),o.d(t,"ProxyUtils",(function(){return u.ProxyUtils})),o.d(t,"ColorUtils",(function(){return u.ColorUtils})),o.d(t,"MathUtils",(function(){return u.MathUtils})),o.d(t,"olUtils",(function(){return u.olUtils})),o.d(t,"olExtVersion",(function(){return u.olExtVersion})),o.d(t,"olExtDate",(function(){return u.olExtDate})),o.d(t,"olExtended",(function(){return u.olExtended})),s.default.getLogger("SDK2D").log("Chargement SDK 2D..."),d(u.olExtended,l.a),d(l.a,u.olExtended),n.MapLoader.__class2d=i.OlMap;var p=r.SDK2DVersion,h=r.date,f=u.olExtended.style.Editor;window&&window.ol&&(window.ol=l.a)},"./src/Utils/LoggerByDefault.js":function(e,t,o){"use strict";o.r(t);var r=o("./node_modules/loglevel/lib/loglevel.js"),n={getLogger:function(e){"false".match(/true/)?r.disableAll():r.enableAll();var t=e||"default";return r.getLogger(t)}};t.default=n},"./src/Utils/MapLoader.js":function(e,t,o){"use strict";o.r(t),o.d(t,"MapLoader",(function(){return n}));var r=o("./src/Utils/LoggerByDefault.js"),n={load:function(e,t){var o=r.default.getLogger("MapLoader.load");if(!e)throw new Error("missing parameter div !");if("string"==typeof e&&(e=document.getElementById(e)),!e)throw new Error("HTML element with id ["+e+"] not found.");t||(t={}),t.hasOwnProperty("viewMode")||(t.viewMode="2d");var n=null,i=null;null!==this.__class2d&&"function"==typeof this.__class2d&&(n=this.__class2d),null!==this.__class3d&&"function"==typeof this.__class3d&&(i=this.__class3d);var s=null;switch(t.viewMode){case"2d":if(o.trace("construction de la carte 2D"),null===n||"function"!=typeof n)throw new Error("library ol is not loaded !");s=new n({div:e,mapOptions:t});break;case"3d":if(o.trace("construction du globe 3D"),null===i||"function"!=typeof i)throw new Error("library itowns is not loaded !");s=new i({div:e,mapOptions:t});break;default:throw new Error("not supported view mode")}return s}}},"./src/Utils/dist-openlayers/index.js-exposed":function(e,t,o){(function(t){e.exports=t.ol=o("./node_modules/eslint-loader/dist/cjs.js?!./src/Utils/dist-openlayers/index.js")}).call(this,o("./node_modules/webpack/buildin/global.js"))},0:function(e,t,o){o("./node_modules/whatwg-fetch/fetch.js"),o("./node_modules/ol/ol.css"),o("./node_modules/geoportal-extensions-openlayers/dist/GpPluginOpenLayers-src.css"),e.exports=o("./src/SDK2D.js")},1:function(e,t){},2:function(e,t){},3:function(e,t){},4:function(e,t){},"node-fetch":function(t,o){t.exports=e}})}));
//# sourceMappingURL=/sm/230756ab5ca472041d63d3a780e47a7ac5582cbc1d1583d0358313982de291db.map