text: // OpenLayers 3. See http://openlayers.org/
  // License: https://raw.githubusercontent.com/openlayers/ol3/master/LICENSE.md
  // Version: v3.16.0-101-g29c8af7
  
  (function (root, factory) {
    if (typeof exports === "object") {
      module.exports = factory();
    } else if (typeof define === "function" && define.amd) {
      define([], factory);
    } else {
      root.ol = factory();
    }
  }(this, function () {
    var OPENLAYERS = {};
    var l,aa=this;function t(a,c,d){a=a.split(".");d=d||aa;a[0]in d||!d.execScript||d.execScript("var "+a[0]);for(var e;a.length&&(e=a.shift());)a.length||void 0===c?d[e]?d=d[e]:d=d[e]={}:d[e]=c}function ba(a){a.Ub=function(){return a.Ng?a.Ng:a.Ng=new a}}
  function ca(a){var c=typeof a;if("object"==c)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return c;var d=Object.prototype.toString.call(a);if("[object Window]"==d)return"object";if("[object Array]"==d||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==d||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
  else if("function"==c&&"undefined"==typeof a.call)return"object";return c}function da(a){var c=ca(a);return"array"==c||"object"==c&&"number"==typeof a.length}function ea(a){return"string"==typeof a}function fa(a){return"number"==typeof a}function ga(a){var c=typeof a;return"object"==c&&null!=a||"function"==c}function w(a){return a[ha]||(a[ha]=++ia)}var ha="closure_uid_"+(1E9*Math.random()>>>0),ia=0;function ja(a,c,d){return a.call.apply(a.bind,arguments)}
  function ka(a,c,d){if(!a)throw Error();if(2<arguments.length){var e=Array.prototype.slice.call(arguments,2);return function(){var d=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(d,e);return a.apply(c,d)}}return function(){return a.apply(c,arguments)}}function la(a,c,d){la=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ja:ka;return la.apply(null,arguments)}
  function ma(a,c){function d(){}d.prototype=c.prototype;a.Mp=c.prototype;a.prototype=new d;a.prototype.constructor=a;a.Jp=function(a,d,g){for(var h=Array(arguments.length-2),k=2;k<arguments.length;k++)h[k-2]=arguments[k];return c.prototype[d].apply(a,h)}};var na,oa;function y(a,c){a.prototype=Object.create(c.prototype);a.prototype.constructor=a}function pa(){}var qa=Function("return this")();var ra;var sa=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};function ta(a){if(!ua.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(va,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(xa,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(ya,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(za,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(Aa,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Ba,"&#0;"));return a}var va=/&/g,xa=/</g,ya=/>/g,za=/"/g,Aa=/'/g,Ba=/\x00/g,ua=/[\x00&<>"']/;
  function Ca(a,c){return a<c?-1:a>c?1:0};function Da(a,c,d){return Math.min(Math.max(a,c),d)}var Ea=function(){var a;"cosh"in Math?a=Math.cosh:a=function(a){a=Math.exp(a);return(a+1/a)/2};return a}();function Fa(a,c,d,e,f,g){var h=f-d,k=g-e;if(0!==h||0!==k){var m=((a-d)*h+(c-e)*k)/(h*h+k*k);1<m?(d=f,e=g):0<m&&(d+=h*m,e+=k*m)}return Ga(a,c,d,e)}function Ga(a,c,d,e){a=d-a;c=e-c;return a*a+c*c}function Ha(a){return a*Math.PI/180}function Ja(a,c){var d=a%c;return 0>d*c?d+c:d}function Ka(a,c,d){return a+d*(c-a)};function Ma(a){return function(c){if(c)return[Da(c[0],a[0],a[2]),Da(c[1],a[1],a[3])]}}function Na(a){return a};function Oa(a,c,d){this.center=a;this.resolution=c;this.rotation=d};var Pa="function"===typeof Object.assign?Object.assign:function(a,c){if(void 0===a||null===a)throw new TypeError("Cannot convert undefined or null to object");for(var d=Object(a),e=1,f=arguments.length;e<f;++e){var g=arguments[e];if(void 0!==g&&null!==g)for(var h in g)g.hasOwnProperty(h)&&(d[h]=g[h])}return d};function Qa(a){for(var c in a)delete a[c]}function Ra(a){var c=[],d;for(d in a)c.push(a[d]);return c}function Sa(a){for(var c in a)return!1;return!c};var Ta="olm_"+(1E4*Math.random()|0);function Va(a){function c(c){var e=a.listener,f=a.ig||a.target;a.kg&&Wa(a);return e.call(f,c)}return a.jg=c}function Xa(a,c,d,e){for(var f,g=0,h=a.length;g<h;++g)if(f=a[g],f.listener===c&&f.ig===d)return e&&(f.deleteIndex=g),f}function Za(a,c){var d=a[Ta];return d?d[c]:void 0}function $a(a){var c=a[Ta];c||(c=a[Ta]={});return c}
  function ab(a,c){var d=Za(a,c);if(d){for(var e=0,f=d.length;e<f;++e)a.removeEventListener(c,d[e].jg),Qa(d[e]);d.length=0;if(d=a[Ta])delete d[c],0===Object.keys(d).length&&delete a[Ta]}}function C(a,c,d,e,f){var g=$a(a),h=g[c];h||(h=g[c]=[]);(g=Xa(h,d,e,!1))?f||(g.kg=!1):(g={ig:e,kg:!!f,listener:d,target:a,type:c},a.addEventListener(c,Va(g)),h.push(g));return g}function bb(a,c,d,e){return C(a,c,d,e,!0)}function cb(a,c,d,e){(a=Za(a,c))&&(d=Xa(a,d,e,!0))&&Wa(d)}
  function Wa(a){if(a&&a.target){a.target.removeEventListener(a.type,a.jg);var c=Za(a.target,a.type);if(c){var d="deleteIndex"in a?a.deleteIndex:c.indexOf(a);-1!==d&&c.splice(d,1);0===c.length&&ab(a.target,a.type)}Qa(a)}}function db(a){var c=$a(a),d;for(d in c)ab(a,d)};function eb(){}eb.prototype.Cb=!1;function fb(a){a.Cb||(a.Cb=!0,a.fa())}eb.prototype.fa=pa;function gb(a,c){this.type=a;this.target=c||null}gb.prototype.preventDefault=gb.prototype.stopPropagation=function(){this.lo=!0};function ib(a){a.stopPropagation()}function jb(a){a.preventDefault()};function kb(){this.Pa={};this.xa={};this.ua={}}y(kb,eb);kb.prototype.addEventListener=function(a,c){var d=this.ua[a];d||(d=this.ua[a]=[]);-1===d.indexOf(c)&&d.push(c)};
  kb.prototype.b=function(a){var c="string"===typeof a?new gb(a):a;a=c.type;c.target=this;var d=this.ua[a],e;if(d){a in this.xa||(this.xa[a]=0,this.Pa[a]=0);++this.xa[a];for(var f=0,g=d.length;f<g;++f)if(!1===d[f].call(this,c)||c.lo){e=!1;break}--this.xa[a];if(0===this.xa[a]){c=this.Pa[a];for(delete this.Pa[a];c--;)this.removeEventListener(a,pa);delete this.xa[a]}return e}};kb.prototype.fa=function(){db(this)};function lb(a,c){return c?c in a.ua:0<Object.keys(a.ua).length}
  kb.prototype.removeEventListener=function(a,c){var d=this.ua[a];if(d){var e=d.indexOf(c);a in this.Pa?(d[e]=pa,++this.Pa[a]):(d.splice(e,1),0===d.length&&delete this.ua[a])}};function mb(){kb.call(this);this.g=0}y(mb,kb);function nb(a){if(Array.isArray(a))for(var c=0,d=a.length;c<d;++c)Wa(a[c]);else Wa(a)}l=mb.prototype;l.u=function(){++this.g;this.b("change")};l.K=function(){return this.g};l.I=function(a,c,d){if(Array.isArray(a)){for(var e=a.length,f=Array(e),g=0;g<e;++g)f[g]=C(this,a[g],c,d);return f}return C(this,a,c,d)};l.L=function(a,c,d){if(Array.isArray(a)){for(var e=a.length,f=Array(e),g=0;g<e;++g)f[g]=bb(this,a[g],c,d);return f}return bb(this,a,c,d)};
  l.J=function(a,c,d){if(Array.isArray(a))for(var e=0,f=a.length;e<f;++e)cb(this,a[e],c,d);else cb(this,a,c,d)};l.M=nb;function ob(a,c,d){gb.call(this,a);this.key=c;this.oldValue=d}y(ob,gb);function pb(a){mb.call(this);w(this);this.U={};void 0!==a&&this.G(a)}y(pb,mb);var qb={};function rb(a){return qb.hasOwnProperty(a)?qb[a]:qb[a]="change:"+a}l=pb.prototype;l.get=function(a){var c;this.U.hasOwnProperty(a)&&(c=this.U[a]);return c};l.N=function(){return Object.keys(this.U)};l.O=function(){return Pa({},this.U)};function sb(a,c,d){var e;e=rb(c);a.b(new ob(e,c,d));a.b(new ob("propertychange",c,d))}
  l.set=function(a,c,d){d?this.U[a]=c:(d=this.U[a],this.U[a]=c,d!==c&&sb(this,a,d))};l.G=function(a,c){for(var d in a)this.set(d,a[d],c)};l.P=function(a,c){if(a in this.U){var d=this.U[a];delete this.U[a];c||sb(this,a,d)}};function tb(a,c){return a>c?1:a<c?-1:0}function ub(a,c){return 0<=a.indexOf(c)}function vb(a,c,d){var e=a.length;if(a[0]<=c)return 0;if(!(c<=a[e-1]))if(0<d)for(d=1;d<e;++d){if(a[d]<c)return d-1}else if(0>d)for(d=1;d<e;++d){if(a[d]<=c)return d}else for(d=1;d<e;++d){if(a[d]==c)return d;if(a[d]<c)return a[d-1]-c<c-a[d]?d-1:d}return e-1}function wb(a){return a.reduce(function(a,d){return Array.isArray(d)?a.concat(wb(d)):a.concat(d)},[])}
  function xb(a,c){var d,e=da(c)?c:[c],f=e.length;for(d=0;d<f;d++)a[a.length]=e[d]}function yb(a,c){var d=a.indexOf(c),e=-1<d;e&&a.splice(d,1);return e}function zb(a,c){for(var d=a.length>>>0,e,f=0;f<d;f++)if(e=a[f],c(e,f,a))return e;return null}function Ab(a,c){var d=a.length;if(d!==c.length)return!1;for(var e=0;e<d;e++)if(a[e]!==c[e])return!1;return!0}
  function Bb(a){var c=Cb,d=a.length,e=Array(a.length),f;for(f=0;f<d;f++)e[f]={index:f,value:a[f]};e.sort(function(a,d){return c(a.value,d.value)||a.index-d.index});for(f=0;f<a.length;f++)a[f]=e[f].value}function Db(a,c){var d;return a.every(function(e,f){d=f;return!c(e,f,a)})?-1:d};function Eb(a){return function(c,d,e){if(void 0!==c)return c=vb(a,c,e),c=Da(c+d,0,a.length-1),a[c]}}function Fb(a,c,d){return function(e,f,g){if(void 0!==e)return e=Math.max(Math.floor(Math.log(c/e)/Math.log(a)+(0<g?0:0>g?1:.5))+f,0),void 0!==d&&(e=Math.min(e,d)),c/Math.pow(a,e)}};function Gb(a){if(void 0!==a)return 0}function Hb(a,c){if(void 0!==a)return a+c}function Ib(a){var c=2*Math.PI/a;return function(a,e){if(void 0!==a)return a=Math.floor((a+e)/c+.5)*c}}function Jb(){var a=Ha(5);return function(c,d){if(void 0!==c)return Math.abs(c+d)<=a?0:c+d}};function Kb(a,c){var d=void 0!==c?a.toFixed(c):""+a,e=d.indexOf("."),e=-1===e?d.length:e;return 2<e?d:Array(3-e).join("0")+d}function Lb(a){a=(""+a).split(".");for(var c=["1","3"],d=0;d<Math.max(a.length,c.length);d++){var e=parseInt(a[d]||"0",10),f=parseInt(c[d]||"0",10);if(e>f)return 1;if(f>e)return-1}return 0};function Mb(a,c){a[0]+=c[0];a[1]+=c[1];return a}function Nb(a,c){var d=a[0],e=a[1],f=c[0],g=c[1],h=f[0],f=f[1],k=g[0],g=g[1],m=k-h,n=g-f,d=0===m&&0===n?0:(m*(d-h)+n*(e-f))/(m*m+n*n||0);0>=d||(1<=d?(h=k,f=g):(h+=d*m,f+=d*n));return[h,f]}function Ob(a,c,d){a=Ja(a+180,360)-180;var e=Math.abs(3600*a);return Math.floor(e/3600)+"\u00b0 "+Kb(Math.floor(e/60%60))+"\u2032 "+Kb(e%60,d||0)+"\u2033 "+c.charAt(0>a?1:0)}
  function Pb(a,c,d){return a?c.replace("{x}",a[0].toFixed(d)).replace("{y}",a[1].toFixed(d)):""}function Qb(a,c){for(var d=!0,e=a.length-1;0<=e;--e)if(a[e]!=c[e]){d=!1;break}return d}function Rb(a,c){var d=Math.cos(c),e=Math.sin(c),f=a[1]*d+a[0]*e;a[0]=a[0]*d-a[1]*e;a[1]=f;return a}function Sb(a,c){var d=a[0]-c[0],e=a[1]-c[1];return d*d+e*e}function Tb(a,c){return Sb(a,Nb(a,c))}function Ub(a,c){return Pb(a,"{x}, {y}",c)};function Vb(a){for(var c=Wb(),d=0,e=a.length;d<e;++d)Xb(c,a[d]);return c}function Yb(a,c,d){return d?(d[0]=a[0]-c,d[1]=a[1]-c,d[2]=a[2]+c,d[3]=a[3]+c,d):[a[0]-c,a[1]-c,a[2]+c,a[3]+c]}function Zb(a,c){return c?(c[0]=a[0],c[1]=a[1],c[2]=a[2],c[3]=a[3],c):a.slice()}function $b(a,c,d){c=c<a[0]?a[0]-c:a[2]<c?c-a[2]:0;a=d<a[1]?a[1]-d:a[3]<d?d-a[3]:0;return c*c+a*a}function ac(a,c){return bc(a,c[0],c[1])}function cc(a,c){return a[0]<=c[0]&&c[2]<=a[2]&&a[1]<=c[1]&&c[3]<=a[3]}
  function bc(a,c,d){return a[0]<=c&&c<=a[2]&&a[1]<=d&&d<=a[3]}function dc(a,c){var d=a[1],e=a[2],f=a[3],g=c[0],h=c[1],k=0;g<a[0]?k|=16:g>e&&(k|=4);h<d?k|=8:h>f&&(k|=2);0===k&&(k=1);return k}function Wb(){return[Infinity,Infinity,-Infinity,-Infinity]}function ec(a,c,d,e,f){return f?(f[0]=a,f[1]=c,f[2]=d,f[3]=e,f):[a,c,d,e]}function fc(a,c){var d=a[0],e=a[1];return ec(d,e,d,e,c)}function hc(a,c,d,e,f){f=ec(Infinity,Infinity,-Infinity,-Infinity,f);return ic(f,a,c,d,e)}
  function jc(a,c){return a[0]==c[0]&&a[2]==c[2]&&a[1]==c[1]&&a[3]==c[3]}function kc(a,c){c[0]<a[0]&&(a[0]=c[0]);c[2]>a[2]&&(a[2]=c[2]);c[1]<a[1]&&(a[1]=c[1]);c[3]>a[3]&&(a[3]=c[3]);return a}function Xb(a,c){c[0]<a[0]&&(a[0]=c[0]);c[0]>a[2]&&(a[2]=c[0]);c[1]<a[1]&&(a[1]=c[1]);c[1]>a[3]&&(a[3]=c[1])}function ic(a,c,d,e,f){for(;d<e;d+=f){var g=a,h=c[d],k=c[d+1];g[0]=Math.min(g[0],h);g[1]=Math.min(g[1],k);g[2]=Math.max(g[2],h);g[3]=Math.max(g[3],k)}return a}
  function lc(a,c,d){var e;return(e=c.call(d,mc(a)))||(e=c.call(d,nc(a)))||(e=c.call(d,oc(a)))?e:(e=c.call(d,pc(a)))?e:!1}function qc(a){var c=0;rc(a)||(c=sc(a)*tc(a));return c}function mc(a){return[a[0],a[1]]}function nc(a){return[a[2],a[1]]}function uc(a){return[(a[0]+a[2])/2,(a[1]+a[3])/2]}
  function vc(a,c,d,e,f){var g=c*e[0]/2;e=c*e[1]/2;c=Math.cos(d);var h=Math.sin(d);d=g*c;g*=h;c*=e;var k=e*h,m=a[0],n=a[1];a=m-d+k;e=m-d-k;h=m+d-k;d=m+d+k;var k=n-g-c,m=n-g+c,p=n+g+c,g=n+g-c;return ec(Math.min(a,e,h,d),Math.min(k,m,p,g),Math.max(a,e,h,d),Math.max(k,m,p,g),f)}function tc(a){return a[3]-a[1]}function xc(a,c,d){d=d?d:Wb();yc(a,c)&&(d[0]=a[0]>c[0]?a[0]:c[0],d[1]=a[1]>c[1]?a[1]:c[1],d[2]=a[2]<c[2]?a[2]:c[2],d[3]=a[3]<c[3]?a[3]:c[3]);return d}function pc(a){return[a[0],a[3]]}
  function oc(a){return[a[2],a[3]]}function sc(a){return a[2]-a[0]}function yc(a,c){return a[0]<=c[2]&&a[2]>=c[0]&&a[1]<=c[3]&&a[3]>=c[1]}function rc(a){return a[2]<a[0]||a[3]<a[1]}function zc(a,c){var d=(a[2]-a[0])/2*(c-1),e=(a[3]-a[1])/2*(c-1);a[0]-=d;a[2]+=d;a[1]-=e;a[3]+=e}
  function Ac(a,c,d){a=[a[0],a[1],a[0],a[3],a[2],a[1],a[2],a[3]];c(a,a,2);var e=[a[0],a[2],a[4],a[6]],f=[a[1],a[3],a[5],a[7]];c=Math.min.apply(null,e);a=Math.min.apply(null,f);e=Math.max.apply(null,e);f=Math.max.apply(null,f);return ec(c,a,e,f,d)};function Bc(){return!0}function Cc(){return!1};/*
  
   Latitude/longitude spherical geodesy formulae taken from
   http://www.movable-type.co.uk/scripts/latlong.html
   Licensed under CC-BY-3.0.
  */
  function Dc(a){this.radius=a}Dc.prototype.a=function(a){for(var c=0,d=a.length,e=a[d-1][0],f=a[d-1][1],g=0;g<d;g++)var h=a[g][0],k=a[g][1],c=c+Ha(h-e)*(2+Math.sin(Ha(f))+Math.sin(Ha(k))),e=h,f=k;return c*this.radius*this.radius/2};Dc.prototype.b=function(a,c){var d=Ha(a[1]),e=Ha(c[1]),f=(e-d)/2,g=Ha(c[0]-a[0])/2,d=Math.sin(f)*Math.sin(f)+Math.sin(g)*Math.sin(g)*Math.cos(d)*Math.cos(e);return 2*this.radius*Math.atan2(Math.sqrt(d),Math.sqrt(1-d))};
  Dc.prototype.offset=function(a,c,d){var e=Ha(a[1]);c/=this.radius;var f=Math.asin(Math.sin(e)*Math.cos(c)+Math.cos(e)*Math.sin(c)*Math.cos(d));return[180*(Ha(a[0])+Math.atan2(Math.sin(d)*Math.sin(c)*Math.cos(e),Math.cos(c)-Math.sin(e)*Math.sin(f)))/Math.PI,180*f/Math.PI]};var Ec=new Dc(6370997);var Fc={};Fc.degrees=2*Math.PI*Ec.radius/360;Fc.ft=.3048;Fc.m=1;Fc["us-ft"]=1200/3937;
  function Gc(a){this.cb=a.code;this.c=a.units;this.f=void 0!==a.extent?a.extent:null;this.i=void 0!==a.worldExtent?a.worldExtent:null;this.b=void 0!==a.axisOrientation?a.axisOrientation:"enu";this.g=void 0!==a.global?a.global:!1;this.a=!(!this.g||!this.f);this.o=void 0!==a.getPointResolution?a.getPointResolution:this.lk;this.l=null;this.j=a.metersPerUnit;var c=Hc,d=a.code,e=Ic||qa.proj4;if("function"==typeof e&&void 0===c[d]){var f=e.defs(d);if(void 0!==f){void 0!==f.axis&&void 0===a.axisOrientation&&
  (this.b=f.axis);void 0===a.metersPerUnit&&(this.j=f.to_meter);void 0===a.units&&(this.c=f.units);for(var g in c)c=e.defs(g),void 0!==c&&(a=Jc(g),c===f?Kc([a,this]):(c=e(g,d),Lc(a,this,c.forward,c.inverse)))}}}l=Gc.prototype;l.Mj=function(){return this.cb};l.H=function(){return this.f};l.ub=function(){return this.c};l.Vb=function(){return this.j||Fc[this.c]};l.yk=function(){return this.i};l.jl=function(){return this.g};l.Wo=function(a){this.g=a;this.a=!(!a||!this.f)};
  l.Em=function(a){this.f=a;this.a=!(!this.g||!a)};l.ep=function(a){this.i=a};l.Vo=function(a){this.o=a};l.lk=function(a,c){if("degrees"==this.ub())return a;var d=Mc(this,Jc("EPSG:4326")),e=[c[0]-a/2,c[1],c[0]+a/2,c[1],c[0],c[1]-a/2,c[0],c[1]+a/2],e=d(e,e,2),d=Ec.b(e.slice(0,2),e.slice(2,4)),e=Ec.b(e.slice(4,6),e.slice(6,8)),e=(d+e)/2,d=this.Vb();void 0!==d&&(e/=d);return e};l.getPointResolution=function(a,c){return this.o(a,c)};var Hc={},Nc={},Ic=null;
  function Kc(a){Oc(a);a.forEach(function(c){a.forEach(function(a){c!==a&&Pc(c,a,Qc)})})}function Rc(){var a=Sc,c=Tc,d=Uc;Vc.forEach(function(e){a.forEach(function(a){Pc(e,a,c);Pc(a,e,d)})})}function Wc(a){Hc[a.cb]=a;Pc(a,a,Qc)}function Oc(a){var c=[];a.forEach(function(a){c.push(Wc(a))})}function Xc(a){return a?"string"===typeof a?Jc(a):a:Jc("EPSG:3857")}function Pc(a,c,d){a=a.cb;c=c.cb;a in Nc||(Nc[a]={});Nc[a][c]=d}function Lc(a,c,d,e){a=Jc(a);c=Jc(c);Pc(a,c,Yc(d));Pc(c,a,Yc(e))}
  function Yc(a){return function(c,d,e){var f=c.length;e=void 0!==e?e:2;d=void 0!==d?d:Array(f);var g,h;for(h=0;h<f;h+=e)for(g=a([c[h],c[h+1]]),d[h]=g[0],d[h+1]=g[1],g=e-1;2<=g;--g)d[h+g]=c[h+g];return d}}function Jc(a){var c;if(a instanceof Gc)c=a;else if("string"===typeof a){c=Hc[a];var d=Ic||qa.proj4;void 0===c&&"function"==typeof d&&void 0!==d.defs(a)&&(c=new Gc({code:a}),Wc(c))}else c=null;return c}function Zc(a,c){if(a===c)return!0;var d=a.ub()===c.ub();return a.cb===c.cb?d:Mc(a,c)===Qc&&d}
  function $c(a,c){var d=Jc(a),e=Jc(c);return Mc(d,e)}function Mc(a,c){var d=a.cb,e=c.cb,f;d in Nc&&e in Nc[d]&&(f=Nc[d][e]);void 0===f&&(f=ad);return f}function ad(a,c){if(void 0!==c&&a!==c){for(var d=0,e=a.length;d<e;++d)c[d]=a[d];a=c}return a}function Qc(a,c){var d;if(void 0!==c){d=0;for(var e=a.length;d<e;++d)c[d]=a[d];d=c}else d=a.slice();return d}function bd(a,c,d){return $c(c,d)(a,void 0,a.length)}function cd(a,c,d){c=$c(c,d);return Ac(a,c)};function dd(){pb.call(this);this.v=Wb();this.B=-1;this.l={};this.s=this.o=0}y(dd,pb);l=dd.prototype;l.tb=function(a,c){var d=c?c:[NaN,NaN];this.qb(a[0],a[1],d,Infinity);return d};l.ng=function(a){return this.wc(a[0],a[1])};l.wc=Cc;l.H=function(a){this.B!=this.g&&(this.v=this.Jd(this.v),this.B=this.g);var c=this.v;a?(a[0]=c[0],a[1]=c[1],a[2]=c[2],a[3]=c[3]):a=c;return a};l.xb=function(a){return this.hd(a*a)};l.gb=function(a,c){this.mc($c(a,c));return this};function ed(a){this.length=a.length||a;for(var c=0;c<this.length;c++)this[c]=a[c]||0}ed.prototype.BYTES_PER_ELEMENT=4;ed.prototype.set=function(a,c){c=c||0;for(var d=0;d<a.length&&c+d<this.length;d++)this[c+d]=a[d]};ed.prototype.toString=Array.prototype.join;"undefined"==typeof Float32Array&&(ed.BYTES_PER_ELEMENT=4,ed.prototype.BYTES_PER_ELEMENT=ed.prototype.BYTES_PER_ELEMENT,ed.prototype.set=ed.prototype.set,ed.prototype.toString=ed.prototype.toString,t("Float32Array",ed,void 0));function fd(a){this.length=a.length||a;for(var c=0;c<this.length;c++)this[c]=a[c]||0}fd.prototype.BYTES_PER_ELEMENT=8;fd.prototype.set=function(a,c){c=c||0;for(var d=0;d<a.length&&c+d<this.length;d++)this[c+d]=a[d]};fd.prototype.toString=Array.prototype.join;if("undefined"==typeof Float64Array){try{fd.BYTES_PER_ELEMENT=8}catch(a){}fd.prototype.BYTES_PER_ELEMENT=fd.prototype.BYTES_PER_ELEMENT;fd.prototype.set=fd.prototype.set;fd.prototype.toString=fd.prototype.toString;t("Float64Array",fd,void 0)};function gd(a,c,d,e,f){a[0]=c;a[1]=d;a[2]=e;a[3]=f};function hd(){var a=Array(16);id(a,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);return a}function jd(){var a=Array(16);id(a,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);return a}function id(a,c,d,e,f,g,h,k,m,n,p,q,r,u,v,x,z){a[0]=c;a[1]=d;a[2]=e;a[3]=f;a[4]=g;a[5]=h;a[6]=k;a[7]=m;a[8]=n;a[9]=p;a[10]=q;a[11]=r;a[12]=u;a[13]=v;a[14]=x;a[15]=z}
  function kd(a,c){a[0]=c[0];a[1]=c[1];a[2]=c[2];a[3]=c[3];a[4]=c[4];a[5]=c[5];a[6]=c[6];a[7]=c[7];a[8]=c[8];a[9]=c[9];a[10]=c[10];a[11]=c[11];a[12]=c[12];a[13]=c[13];a[14]=c[14];a[15]=c[15]}function ld(a){a[0]=1;a[1]=0;a[2]=0;a[3]=0;a[4]=0;a[5]=1;a[6]=0;a[7]=0;a[8]=0;a[9]=0;a[10]=1;a[11]=0;a[12]=0;a[13]=0;a[14]=0;a[15]=1}
  function md(a,c,d){var e=a[0],f=a[1],g=a[2],h=a[3],k=a[4],m=a[5],n=a[6],p=a[7],q=a[8],r=a[9],u=a[10],v=a[11],x=a[12],z=a[13],E=a[14];a=a[15];var B=c[0],A=c[1],G=c[2],O=c[3],N=c[4],Y=c[5],Ya=c[6],J=c[7],wa=c[8],Ua=c[9],hb=c[10],La=c[11],Ia=c[12],gc=c[13],wc=c[14];c=c[15];d[0]=e*B+k*A+q*G+x*O;d[1]=f*B+m*A+r*G+z*O;d[2]=g*B+n*A+u*G+E*O;d[3]=h*B+p*A+v*G+a*O;d[4]=e*N+k*Y+q*Ya+x*J;d[5]=f*N+m*Y+r*Ya+z*J;d[6]=g*N+n*Y+u*Ya+E*J;d[7]=h*N+p*Y+v*Ya+a*J;d[8]=e*wa+k*Ua+q*hb+x*La;d[9]=f*wa+m*Ua+r*hb+z*La;d[10]=g*
  wa+n*Ua+u*hb+E*La;d[11]=h*wa+p*Ua+v*hb+a*La;d[12]=e*Ia+k*gc+q*wc+x*c;d[13]=f*Ia+m*gc+r*wc+z*c;d[14]=g*Ia+n*gc+u*wc+E*c;d[15]=h*Ia+p*gc+v*wc+a*c}
  function nd(a,c){var d=a[0],e=a[1],f=a[2],g=a[3],h=a[4],k=a[5],m=a[6],n=a[7],p=a[8],q=a[9],r=a[10],u=a[11],v=a[12],x=a[13],z=a[14],E=a[15],B=d*k-e*h,A=d*m-f*h,G=d*n-g*h,O=e*m-f*k,N=e*n-g*k,Y=f*n-g*m,Ya=p*x-q*v,J=p*z-r*v,wa=p*E-u*v,Ua=q*z-r*x,hb=q*E-u*x,La=r*E-u*z,Ia=B*La-A*hb+G*Ua+O*wa-N*J+Y*Ya;0!=Ia&&(Ia=1/Ia,c[0]=(k*La-m*hb+n*Ua)*Ia,c[1]=(-e*La+f*hb-g*Ua)*Ia,c[2]=(x*Y-z*N+E*O)*Ia,c[3]=(-q*Y+r*N-u*O)*Ia,c[4]=(-h*La+m*wa-n*J)*Ia,c[5]=(d*La-f*wa+g*J)*Ia,c[6]=(-v*Y+z*G-E*A)*Ia,c[7]=(p*Y-r*G+u*A)*Ia,
  c[8]=(h*hb-k*wa+n*Ya)*Ia,c[9]=(-d*hb+e*wa-g*Ya)*Ia,c[10]=(v*N-x*G+E*B)*Ia,c[11]=(-p*N+q*G-u*B)*Ia,c[12]=(-h*Ua+k*J-m*Ya)*Ia,c[13]=(d*Ua-e*J+f*Ya)*Ia,c[14]=(-v*O+x*A-z*B)*Ia,c[15]=(p*O-q*A+r*B)*Ia)}function od(a,c,d){var e=a[1]*c+a[5]*d+0*a[9]+a[13],f=a[2]*c+a[6]*d+0*a[10]+a[14],g=a[3]*c+a[7]*d+0*a[11]+a[15];a[12]=a[0]*c+a[4]*d+0*a[8]+a[12];a[13]=e;a[14]=f;a[15]=g}
  function pd(a,c,d){id(a,a[0]*c,a[1]*c,a[2]*c,a[3]*c,a[4]*d,a[5]*d,a[6]*d,a[7]*d,1*a[8],1*a[9],1*a[10],1*a[11],a[12],a[13],a[14],a[15])}function qd(a,c){var d=a[0],e=a[1],f=a[2],g=a[3],h=a[4],k=a[5],m=a[6],n=a[7],p=Math.cos(c),q=Math.sin(c);a[0]=d*p+h*q;a[1]=e*p+k*q;a[2]=f*p+m*q;a[3]=g*p+n*q;a[4]=d*-q+h*p;a[5]=e*-q+k*p;a[6]=f*-q+m*p;a[7]=g*-q+n*p}new Float64Array(3);new Float64Array(3);new Float64Array(4);new Float64Array(4);new Float64Array(4);new Float64Array(16);function rd(a,c,d,e,f,g){var h=f[0],k=f[1],m=f[4],n=f[5],p=f[12];f=f[13];for(var q=g?g:[],r=0;c<d;c+=e){var u=a[c],v=a[c+1];q[r++]=h*u+m*v+p;q[r++]=k*u+n*v+f}g&&q.length!=r&&(q.length=r);return q};function sd(){dd.call(this);this.f="XY";this.a=2;this.A=null}y(sd,dd);function td(a){if("XY"==a)return 2;if("XYZ"==a||"XYM"==a)return 3;if("XYZM"==a)return 4}l=sd.prototype;l.wc=Cc;l.Jd=function(a){return hc(this.A,0,this.A.length,this.a,a)};l.Eb=function(){return this.A.slice(0,this.a)};l.ga=function(){return this.A};l.Fb=function(){return this.A.slice(this.A.length-this.a)};l.Gb=function(){return this.f};
  l.hd=function(a){this.s!=this.g&&(Qa(this.l),this.o=0,this.s=this.g);if(0>a||0!==this.o&&a<=this.o)return this;var c=a.toString();if(this.l.hasOwnProperty(c))return this.l[c];var d=this.Ic(a);if(d.ga().length<this.A.length)return this.l[c]=d;this.o=a;return this};l.Ic=function(){return this};l.ta=function(){return this.a};function ud(a,c,d){a.a=td(c);a.f=c;a.A=d}
  function vd(a,c,d,e){if(c)d=td(c);else{for(c=0;c<e;++c){if(0===d.length){a.f="XY";a.a=2;return}d=d[0]}d=d.length;c=2==d?"XY":3==d?"XYZ":4==d?"XYZM":void 0}a.f=c;a.a=d}l.mc=function(a){this.A&&(a(this.A,this.A,this.a),this.u())};l.rotate=function(a,c){var d=this.ga();if(d){for(var e=d.length,f=this.ta(),g=d?d:[],h=Math.cos(a),k=Math.sin(a),m=c[0],n=c[1],p=0,q=0;q<e;q+=f){var r=d[q]-m,u=d[q+1]-n;g[p++]=m+r*h-u*k;g[p++]=n+r*k+u*h;for(r=q+2;r<q+f;++r)g[p++]=d[r]}d&&g.length!=p&&(g.length=p);this.u()}};
  l.Nc=function(a,c){var d=this.ga();if(d){var e=d.length,f=this.ta(),g=d?d:[],h=0,k,m;for(k=0;k<e;k+=f)for(g[h++]=d[k]+a,g[h++]=d[k+1]+c,m=k+2;m<k+f;++m)g[h++]=d[m];d&&g.length!=h&&(g.length=h);this.u()}};function wd(a,c,d,e){for(var f=0,g=a[d-e],h=a[d-e+1];c<d;c+=e)var k=a[c],m=a[c+1],f=f+(h*k-g*m),g=k,h=m;return f/2}function xd(a,c,d,e){var f=0,g,h;g=0;for(h=d.length;g<h;++g){var k=d[g],f=f+wd(a,c,k,e);c=k}return f};function yd(a,c,d,e,f,g,h){var k=a[c],m=a[c+1],n=a[d]-k,p=a[d+1]-m;if(0!==n||0!==p)if(g=((f-k)*n+(g-m)*p)/(n*n+p*p),1<g)c=d;else if(0<g){for(f=0;f<e;++f)h[f]=Ka(a[c+f],a[d+f],g);h.length=e;return}for(f=0;f<e;++f)h[f]=a[c+f];h.length=e}function zd(a,c,d,e,f){var g=a[c],h=a[c+1];for(c+=e;c<d;c+=e){var k=a[c],m=a[c+1],g=Ga(g,h,k,m);g>f&&(f=g);g=k;h=m}return f}function Ad(a,c,d,e,f){var g,h;g=0;for(h=d.length;g<h;++g){var k=d[g];f=zd(a,c,k,e,f);c=k}return f}
  function Bd(a,c,d,e,f,g,h,k,m,n,p){if(c==d)return n;var q;if(0===f){q=Ga(h,k,a[c],a[c+1]);if(q<n){for(p=0;p<e;++p)m[p]=a[c+p];m.length=e;return q}return n}for(var r=p?p:[NaN,NaN],u=c+e;u<d;)if(yd(a,u-e,u,e,h,k,r),q=Ga(h,k,r[0],r[1]),q<n){n=q;for(p=0;p<e;++p)m[p]=r[p];m.length=e;u+=e}else u+=e*Math.max((Math.sqrt(q)-Math.sqrt(n))/f|0,1);if(g&&(yd(a,d-e,c,e,h,k,r),q=Ga(h,k,r[0],r[1]),q<n)){n=q;for(p=0;p<e;++p)m[p]=r[p];m.length=e}return n}
  function Cd(a,c,d,e,f,g,h,k,m,n,p){p=p?p:[NaN,NaN];var q,r;q=0;for(r=d.length;q<r;++q){var u=d[q];n=Bd(a,c,u,e,f,g,h,k,m,n,p);c=u}return n};function Dd(a,c){var d=0,e,f;e=0;for(f=c.length;e<f;++e)a[d++]=c[e];return d}function Ed(a,c,d,e){var f,g;f=0;for(g=d.length;f<g;++f){var h=d[f],k;for(k=0;k<e;++k)a[c++]=h[k]}return c}function Fd(a,c,d,e,f){f=f?f:[];var g=0,h,k;h=0;for(k=d.length;h<k;++h)c=Ed(a,c,d[h],e),f[g++]=c;f.length=g;return f};function Gd(a,c,d,e,f){f=void 0!==f?f:[];for(var g=0;c<d;c+=e)f[g++]=a.slice(c,c+e);f.length=g;return f}function Hd(a,c,d,e,f){f=void 0!==f?f:[];var g=0,h,k;h=0;for(k=d.length;h<k;++h){var m=d[h];f[g++]=Gd(a,c,m,e,f[g]);c=m}f.length=g;return f};function Id(a,c,d,e,f,g,h){var k=(d-c)/e;if(3>k){for(;c<d;c+=e)g[h++]=a[c],g[h++]=a[c+1];return h}var m=Array(k);m[0]=1;m[k-1]=1;d=[c,d-e];for(var n=0,p;0<d.length;){var q=d.pop(),r=d.pop(),u=0,v=a[r],x=a[r+1],z=a[q],E=a[q+1];for(p=r+e;p<q;p+=e){var B=Fa(a[p],a[p+1],v,x,z,E);B>u&&(n=p,u=B)}u>f&&(m[(n-c)/e]=1,r+e<n&&d.push(r,n),n+e<q&&d.push(n,q))}for(p=0;p<k;++p)m[p]&&(g[h++]=a[c+p*e],g[h++]=a[c+p*e+1]);return h}
  function Jd(a,c,d,e,f,g,h,k){var m,n;m=0;for(n=d.length;m<n;++m){var p=d[m];a:{var q=a,r=p,u=e,v=f,x=g;if(c!=r){var z=v*Math.round(q[c]/v),E=v*Math.round(q[c+1]/v);c+=u;x[h++]=z;x[h++]=E;var B,A;do if(B=v*Math.round(q[c]/v),A=v*Math.round(q[c+1]/v),c+=u,c==r){x[h++]=B;x[h++]=A;break a}while(B==z&&A==E);for(;c<r;){var G,O;G=v*Math.round(q[c]/v);O=v*Math.round(q[c+1]/v);c+=u;if(G!=B||O!=A){var N=B-z,Y=A-E,Ya=G-z,J=O-E;N*J==Y*Ya&&(0>N&&Ya<N||N==Ya||0<N&&Ya>N)&&(0>Y&&J<Y||Y==J||0<Y&&J>Y)||(x[h++]=B,x[h++]=
  A,z=B,E=A);B=G;A=O}}x[h++]=B;x[h++]=A}}k.push(h);c=p}return h};function Kd(a,c){sd.call(this);this.i=this.j=-1;this.la(a,c)}y(Kd,sd);l=Kd.prototype;l.clone=function(){var a=new Kd(null);Ld(a,this.f,this.A.slice());return a};l.qb=function(a,c,d,e){if(e<$b(this.H(),a,c))return e;this.i!=this.g&&(this.j=Math.sqrt(zd(this.A,0,this.A.length,this.a,0)),this.i=this.g);return Bd(this.A,0,this.A.length,this.a,this.j,!0,a,c,d,e)};l.fm=function(){return wd(this.A,0,this.A.length,this.a)};l.Z=function(){return Gd(this.A,0,this.A.length,this.a)};
  l.Ic=function(a){var c=[];c.length=Id(this.A,0,this.A.length,this.a,a,c,0);a=new Kd(null);Ld(a,"XY",c);return a};l.X=function(){return"LinearRing"};l.la=function(a,c){a?(vd(this,c,a,1),this.A||(this.A=[]),this.A.length=Ed(this.A,0,a,this.a),this.u()):Ld(this,"XY",null)};function Ld(a,c,d){ud(a,c,d);a.u()};function D(a,c){sd.call(this);this.la(a,c)}y(D,sd);l=D.prototype;l.clone=function(){var a=new D(null);a.ba(this.f,this.A.slice());return a};l.qb=function(a,c,d,e){var f=this.A;a=Ga(a,c,f[0],f[1]);if(a<e){e=this.a;for(c=0;c<e;++c)d[c]=f[c];d.length=e;return a}return e};l.Z=function(){return this.A?this.A.slice():[]};l.Jd=function(a){return fc(this.A,a)};l.X=function(){return"Point"};l.Ha=function(a){return bc(a,this.A[0],this.A[1])};
  l.la=function(a,c){a?(vd(this,c,a,0),this.A||(this.A=[]),this.A.length=Dd(this.A,a),this.u()):this.ba("XY",null)};l.ba=function(a,c){ud(this,a,c);this.u()};function Md(a,c,d,e,f){return!lc(f,function(f){return!Nd(a,c,d,e,f[0],f[1])})}function Nd(a,c,d,e,f,g){for(var h=!1,k=a[d-e],m=a[d-e+1];c<d;c+=e){var n=a[c],p=a[c+1];m>g!=p>g&&f<(n-k)*(g-m)/(p-m)+k&&(h=!h);k=n;m=p}return h}function Od(a,c,d,e,f,g){if(0===d.length||!Nd(a,c,d[0],e,f,g))return!1;var h;c=1;for(h=d.length;c<h;++c)if(Nd(a,d[c-1],d[c],e,f,g))return!1;return!0};function Pd(a,c,d,e,f,g,h){var k,m,n,p,q,r=f[g+1],u=[],v=d[0];n=a[v-e];q=a[v-e+1];for(k=c;k<v;k+=e){p=a[k];m=a[k+1];if(r<=q&&m<=r||q<=r&&r<=m)n=(r-q)/(m-q)*(p-n)+n,u.push(n);n=p;q=m}v=NaN;q=-Infinity;u.sort(tb);n=u[0];k=1;for(m=u.length;k<m;++k){p=u[k];var x=Math.abs(p-n);x>q&&(n=(n+p)/2,Od(a,c,d,e,n,r)&&(v=n,q=x));n=p}isNaN(v)&&(v=f[g]);return h?(h.push(v,r),h):[v,r]};function Qd(a,c,d,e,f,g){for(var h=[a[c],a[c+1]],k=[],m;c+e<d;c+=e){k[0]=a[c+e];k[1]=a[c+e+1];if(m=f.call(g,h,k))return m;h[0]=k[0];h[1]=k[1]}return!1};function Rd(a,c,d,e,f){var g=ic(Wb(),a,c,d,e);return yc(f,g)?cc(f,g)||g[0]>=f[0]&&g[2]<=f[2]||g[1]>=f[1]&&g[3]<=f[3]?!0:Qd(a,c,d,e,function(a,c){var d=!1,e=dc(f,a),g=dc(f,c);if(1===e||1===g)d=!0;else{var q=f[0],r=f[1],u=f[2],v=f[3],x=c[0],z=c[1],E=(z-a[1])/(x-a[0]);g&2&&!(e&2)&&(d=x-(z-v)/E,d=d>=q&&d<=u);d||!(g&4)||e&4||(d=z-(x-u)*E,d=d>=r&&d<=v);d||!(g&8)||e&8||(d=x-(z-r)/E,d=d>=q&&d<=u);d||!(g&16)||e&16||(d=z-(x-q)*E,d=d>=r&&d<=v)}return d}):!1}
  function Sd(a,c,d,e,f){var g=d[0];if(!(Rd(a,c,g,e,f)||Nd(a,c,g,e,f[0],f[1])||Nd(a,c,g,e,f[0],f[3])||Nd(a,c,g,e,f[2],f[1])||Nd(a,c,g,e,f[2],f[3])))return!1;if(1===d.length)return!0;c=1;for(g=d.length;c<g;++c)if(Md(a,d[c-1],d[c],e,f))return!1;return!0};function Td(a,c,d,e){for(var f=0,g=a[d-e],h=a[d-e+1];c<d;c+=e)var k=a[c],m=a[c+1],f=f+(k-g)*(m+h),g=k,h=m;return 0<f}function Ud(a,c,d,e){var f=0;e=void 0!==e?e:!1;var g,h;g=0;for(h=c.length;g<h;++g){var k=c[g],f=Td(a,f,k,d);if(0===g){if(e&&f||!e&&!f)return!1}else if(e&&!f||!e&&f)return!1;f=k}return!0}
  function Vd(a,c,d,e,f){f=void 0!==f?f:!1;var g,h;g=0;for(h=d.length;g<h;++g){var k=d[g],m=Td(a,c,k,e);if(0===g?f&&m||!f&&!m:f&&!m||!f&&m)for(var m=a,n=k,p=e;c<n-p;){var q;for(q=0;q<p;++q){var r=m[c+q];m[c+q]=m[n-p+q];m[n-p+q]=r}c+=p;n-=p}c=k}return c}function Wd(a,c,d,e){var f=0,g,h;g=0;for(h=c.length;g<h;++g)f=Vd(a,f,c[g],d,e);return f};function F(a,c){sd.call(this);this.i=[];this.C=-1;this.D=null;this.T=this.R=this.S=-1;this.j=null;this.la(a,c)}y(F,sd);l=F.prototype;l.sj=function(a){this.A?xb(this.A,a.ga()):this.A=a.ga().slice();this.i.push(this.A.length);this.u()};l.clone=function(){var a=new F(null);a.ba(this.f,this.A.slice(),this.i.slice());return a};
  l.qb=function(a,c,d,e){if(e<$b(this.H(),a,c))return e;this.R!=this.g&&(this.S=Math.sqrt(Ad(this.A,0,this.i,this.a,0)),this.R=this.g);return Cd(this.A,0,this.i,this.a,this.S,!0,a,c,d,e)};l.wc=function(a,c){return Od(this.Jb(),0,this.i,this.a,a,c)};l.im=function(){return xd(this.Jb(),0,this.i,this.a)};l.Z=function(a){var c;void 0!==a?(c=this.Jb().slice(),Vd(c,0,this.i,this.a,a)):c=this.A;return Hd(c,0,this.i,this.a)};l.zb=function(){return this.i};
  function Xd(a){if(a.C!=a.g){var c=uc(a.H());a.D=Pd(a.Jb(),0,a.i,a.a,c,0);a.C=a.g}return a.D}l.Wj=function(){return new D(Xd(this))};l.ak=function(){return this.i.length};l.Bg=function(a){if(0>a||this.i.length<=a)return null;var c=new Kd(null);Ld(c,this.f,this.A.slice(0===a?0:this.i[a-1],this.i[a]));return c};l.Pd=function(){var a=this.f,c=this.A,d=this.i,e=[],f=0,g,h;g=0;for(h=d.length;g<h;++g){var k=d[g],m=new Kd(null);Ld(m,a,c.slice(f,k));e.push(m);f=k}return e};
  l.Jb=function(){if(this.T!=this.g){var a=this.A;Ud(a,this.i,this.a)?this.j=a:(this.j=a.slice(),this.j.length=Vd(this.j,0,this.i,this.a));this.T=this.g}return this.j};l.Ic=function(a){var c=[],d=[];c.length=Jd(this.A,0,this.i,this.a,Math.sqrt(a),c,0,d);a=new F(null);a.ba("XY",c,d);return a};l.X=function(){return"Polygon"};l.Ha=function(a){return Sd(this.Jb(),0,this.i,this.a,a)};
  l.la=function(a,c){if(a){vd(this,c,a,2);this.A||(this.A=[]);var d=Fd(this.A,0,a,this.a,this.i);this.A.length=0===d.length?0:d[d.length-1];this.u()}else this.ba("XY",null,this.i)};l.ba=function(a,c,d){ud(this,a,c);this.i=d;this.u()};function Yd(a,c,d,e){var f=e?e:32;e=[];var g;for(g=0;g<f;++g)xb(e,a.offset(c,d,2*Math.PI*g/f));e.push(e[0],e[1]);a=new F(null);a.ba("XY",e,[e.length]);return a}
  function Zd(a){var c=a[0],d=a[1],e=a[2];a=a[3];c=[c,d,c,a,e,a,e,d,c,d];d=new F(null);d.ba("XY",c,[c.length]);return d}function $d(a,c,d){var e=c?c:32,f=a.ta();c=a.f;for(var g=new F(null,c),e=f*(e+1),f=Array(e),h=0;h<e;h++)f[h]=0;g.ba(c,f,[f.length]);ae(g,a.ld(),a.rf(),d);return g}function ae(a,c,d,e){var f=a.ga(),g=a.f,h=a.ta(),k=a.zb(),m=f.length/h-1;e=e?e:0;for(var n,p,q=0;q<=m;++q)p=q*h,n=e+2*Ja(q,m)*Math.PI/m,f[p]=c[0]+d*Math.cos(n),f[p+1]=c[1]+d*Math.sin(n);a.ba(g,f,k)};function be(a){pb.call(this);a=a||{};this.f=[0,0];var c={};c.center=void 0!==a.center?a.center:null;this.i=Xc(a.projection);var d,e,f,g=void 0!==a.minZoom?a.minZoom:0;d=void 0!==a.maxZoom?a.maxZoom:28;var h=void 0!==a.zoomFactor?a.zoomFactor:2;if(void 0!==a.resolutions)d=a.resolutions,e=d[0],f=d[d.length-1],d=Eb(d);else{e=Xc(a.projection);f=e.H();var k=(f?Math.max(sc(f),tc(f)):360*Fc.degrees/e.Vb())/256/Math.pow(2,0),m=k/Math.pow(2,28);e=a.maxResolution;void 0!==e?g=0:e=k/Math.pow(h,g);f=a.minResolution;
  void 0===f&&(f=void 0!==a.maxZoom?void 0!==a.maxResolution?e/Math.pow(h,d):k/Math.pow(h,d):m);d=g+Math.floor(Math.log(e/f)/Math.log(h));f=e/Math.pow(h,d-g);d=Fb(h,e,d-g)}this.a=e;this.o=f;this.j=a.resolutions;this.c=g;g=void 0!==a.extent?Ma(a.extent):Na;(void 0!==a.enableRotation?a.enableRotation:1)?(e=a.constrainRotation,e=void 0===e||!0===e?Jb():!1===e?Hb:fa(e)?Ib(e):Hb):e=Gb;this.l=new Oa(g,d,e);void 0!==a.resolution?c.resolution=a.resolution:void 0!==a.zoom&&(c.resolution=this.constrainResolution(this.a,
  a.zoom-this.c));c.rotation=void 0!==a.rotation?a.rotation:0;this.G(c)}y(be,pb);l=be.prototype;l.Kd=function(a){return this.l.center(a)};l.constrainResolution=function(a,c,d){return this.l.resolution(a,c||0,d||0)};l.constrainRotation=function(a,c){return this.l.rotation(a,c||0)};l.ab=function(){return this.get("center")};function ce(a,c){return void 0!==c?(c[0]=a.f[0],c[1]=a.f[1],c):a.f.slice()}l.Fc=function(a){var c=this.ab(),d=this.$(),e=this.Ja();return vc(c,d,e,a)};l.Pl=function(){return this.i};
  l.$=function(){return this.get("resolution")};l.Ql=function(){return this.j};function de(a,c){return Math.max(sc(a)/c[0],tc(a)/c[1])}function ee(a){var c=a.a,d=Math.log(c/a.o)/Math.log(2);return function(a){return c/Math.pow(2,a*d)}}l.Ja=function(){return this.get("rotation")};function fe(a){var c=a.a,d=Math.log(c/a.o)/Math.log(2);return function(a){return Math.log(c/a)/Math.log(2)/d}}
  l.V=function(){var a=this.ab(),c=this.i,d=this.$(),e=this.Ja();return{center:[Math.round(a[0]/d)*d,Math.round(a[1]/d)*d],projection:void 0!==c?c:null,resolution:d,rotation:e}};l.zk=function(){var a,c=this.$();if(void 0!==c){var d,e=0;do{d=this.constrainResolution(this.a,e);if(d==c){a=e;break}++e}while(d>this.o)}return void 0!==a?this.c+a:a};
  l.Ye=function(a,c,d){a instanceof sd||(a=Zd(a));var e=d||{};d=void 0!==e.padding?e.padding:[0,0,0,0];var f=void 0!==e.constrainResolution?e.constrainResolution:!0,g=void 0!==e.nearest?e.nearest:!1,h;void 0!==e.minResolution?h=e.minResolution:void 0!==e.maxZoom?h=this.constrainResolution(this.a,e.maxZoom-this.c,0):h=0;var k=a.ga(),m=this.Ja(),e=Math.cos(-m),m=Math.sin(-m),n=Infinity,p=Infinity,q=-Infinity,r=-Infinity;a=a.ta();for(var u=0,v=k.length;u<v;u+=a)var x=k[u]*e-k[u+1]*m,z=k[u]*m+k[u+1]*e,
  n=Math.min(n,x),p=Math.min(p,z),q=Math.max(q,x),r=Math.max(r,z);c=de([n,p,q,r],[c[0]-d[1]-d[3],c[1]-d[0]-d[2]]);c=isNaN(c)?h:Math.max(c,h);f&&(h=this.constrainResolution(c,0,0),!g&&h<c&&(h=this.constrainResolution(h,-1,0)),c=h);this.Pb(c);m=-m;g=(n+q)/2+(d[1]-d[3])/2*c;d=(p+r)/2+(d[0]-d[2])/2*c;this.ib([g*e-d*m,d*e+g*m])};
  l.yj=function(a,c,d){var e=this.Ja(),f=Math.cos(-e),e=Math.sin(-e),g=a[0]*f-a[1]*e;a=a[1]*f+a[0]*e;var h=this.$(),g=g+(c[0]/2-d[0])*h;a+=(d[1]-c[1]/2)*h;e=-e;this.ib([g*f-a*e,a*f+g*e])};function ge(a){return!!a.ab()&&void 0!==a.$()}l.rotate=function(a,c){if(void 0!==c){var d,e=this.ab();void 0!==e&&(d=[e[0]-c[0],e[1]-c[1]],Rb(d,a-this.Ja()),Mb(d,c));this.ib(d)}this.de(a)};l.ib=function(a){this.set("center",a)};function he(a,c){a.f[1]+=c}l.Pb=function(a){this.set("resolution",a)};
  l.de=function(a){this.set("rotation",a)};l.fp=function(a){a=this.constrainResolution(this.a,a-this.c,0);this.Pb(a)};function ie(a){return Math.pow(a,3)}function je(a){return 1-ie(1-a)}function ke(a){return 3*a*a-2*a*a*a}function le(a){return a}function me(a){return.5>a?ke(2*a):1-ke(2*(a-.5))};function ne(a){var c=a.source,d=a.start?a.start:Date.now(),e=c[0],f=c[1],g=void 0!==a.duration?a.duration:1E3,h=a.easing?a.easing:ke;return function(a,c){if(c.time<d)return c.animate=!0,c.viewHints[0]+=1,!0;if(c.time<d+g){var n=1-h((c.time-d)/g),p=e-c.viewState.center[0],q=f-c.viewState.center[1];c.animate=!0;c.viewState.center[0]+=n*p;c.viewState.center[1]+=n*q;c.viewHints[0]+=1;return!0}return!1}}
  function oe(a){var c=a.rotation?a.rotation:0,d=a.start?a.start:Date.now(),e=void 0!==a.duration?a.duration:1E3,f=a.easing?a.easing:ke,g=a.anchor?a.anchor:null;return function(a,k){if(k.time<d)return k.animate=!0,k.viewHints[0]+=1,!0;if(k.time<d+e){var m=1-f((k.time-d)/e),m=(c-k.viewState.rotation)*m;k.animate=!0;k.viewState.rotation+=m;if(g){var n=k.viewState.center;n[0]-=g[0];n[1]-=g[1];Rb(n,m);Mb(n,g)}k.viewHints[0]+=1;return!0}return!1}}
  function pe(a){var c=a.resolution,d=a.start?a.start:Date.now(),e=void 0!==a.duration?a.duration:1E3,f=a.easing?a.easing:ke;return function(a,h){if(h.time<d)return h.animate=!0,h.viewHints[0]+=1,!0;if(h.time<d+e){var k=1-f((h.time-d)/e),m=c-h.viewState.resolution;h.animate=!0;h.viewState.resolution+=k*m;h.viewHints[0]+=1;return!0}return!1}};function qe(a,c,d,e){this.b=a;this.a=c;this.g=d;this.f=e}qe.prototype.contains=function(a){return re(this,a[1],a[2])};function re(a,c,d){return a.b<=c&&c<=a.a&&a.g<=d&&d<=a.f}function se(a,c){return a.b==c.b&&a.g==c.g&&a.a==c.a&&a.f==c.f}function te(a,c){return a.b<=c.a&&a.a>=c.b&&a.g<=c.f&&a.f>=c.g};function ue(a){this.a=a.html;this.b=a.tileRanges?a.tileRanges:null}ue.prototype.g=function(){return this.a};function ve(a,c,d){gb.call(this,a,d);this.element=c}y(ve,gb);function we(a){pb.call(this);this.a=a?a:[];xe(this)}y(we,pb);l=we.prototype;l.clear=function(){for(;0<this.Zb();)this.pop()};l.kf=function(a){var c,d;c=0;for(d=a.length;c<d;++c)this.push(a[c]);return this};l.forEach=function(a,c){this.a.forEach(a,c)};l.Al=function(){return this.a};l.item=function(a){return this.a[a]};l.Zb=function(){return this.get("length")};l.Zd=function(a,c){this.a.splice(a,0,c);xe(this);this.b(new ve("add",c,this))};
  l.pop=function(){return this.Mf(this.Zb()-1)};l.push=function(a){var c=this.a.length;this.Zd(c,a);return c};l.remove=function(a){var c=this.a,d,e;d=0;for(e=c.length;d<e;++d)if(c[d]===a)return this.Mf(d)};l.Mf=function(a){var c=this.a[a];this.a.splice(a,1);xe(this);this.b(new ve("remove",c,this));return c};l.Ro=function(a,c){var d=this.Zb();if(a<d)d=this.a[a],this.a[a]=c,this.b(new ve("remove",d,this)),this.b(new ve("add",c,this));else{for(;d<a;++d)this.Zd(d,void 0);this.Zd(a,c)}};
  function xe(a){a.set("length",a.a.length)};var ye=Array.prototype.forEach?function(a,c,d){Array.prototype.forEach.call(a,c,d)}:function(a,c,d){for(var e=a.length,f=ea(a)?a.split(""):a,g=0;g<e;g++)g in f&&c.call(d,f[g],g,a)};function ze(a){return Array.prototype.concat.apply(Array.prototype,arguments)}function Ae(a){var c=a.length;if(0<c){for(var d=Array(c),e=0;e<c;e++)d[e]=a[e];return d}return[]}function Be(a,c,d){return 2>=arguments.length?Array.prototype.slice.call(a,c):Array.prototype.slice.call(a,c,d)};var Ce=/^#(?:[0-9a-f]{3}){1,2}$/i,De=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,Ee=/^(?:rgba)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|1|0\.\d{0,10})\)$/i;function Fe(a){return Array.isArray(a)?a:Ge(a)}function Ie(a){if("string"!==typeof a){var c=a[0];c!=(c|0)&&(c=c+.5|0);var d=a[1];d!=(d|0)&&(d=d+.5|0);var e=a[2];e!=(e|0)&&(e=e+.5|0);a="rgba("+c+","+d+","+e+","+(void 0===a[3]?1:a[3])+")"}return a}
  var Ge=function(){var a={},c=0;return function(d){var e;if(a.hasOwnProperty(d))e=a[d];else{if(1024<=c){e=0;for(var f in a)0===(e++&3)&&(delete a[f],--c)}var g,h;Ce.exec(d)?(h=3==d.length-1?1:2,e=parseInt(d.substr(1+0*h,h),16),f=parseInt(d.substr(1+1*h,h),16),g=parseInt(d.substr(1+2*h,h),16),1==h&&(e=(e<<4)+e,f=(f<<4)+f,g=(g<<4)+g),e=[e,f,g,1]):(h=Ee.exec(d))?(e=Number(h[1]),f=Number(h[2]),g=Number(h[3]),h=Number(h[4]),e=[e,f,g,h],e=Je(e,e)):(h=De.exec(d))?(e=Number(h[1]),f=Number(h[2]),g=Number(h[3]),
  e=[e,f,g,1],e=Je(e,e)):e=void 0;a[d]=e;++c}return e}}();function Je(a,c){var d=c||[];d[0]=Da(a[0]+.5|0,0,255);d[1]=Da(a[1]+.5|0,0,255);d[2]=Da(a[2]+.5|0,0,255);d[3]=Da(a[3],0,1);return d};function Ke(a){return"string"===typeof a||a instanceof CanvasPattern||a instanceof CanvasGradient?a:Ie(a)};var Le;a:{var Me=aa.navigator;if(Me){var Ne=Me.userAgent;if(Ne){Le=Ne;break a}}Le=""}function Oe(a){return-1!=Le.indexOf(a)};function Pe(a,c){for(var d in a)c.call(void 0,a[d],d,a)}var Qe="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Re(a,c){for(var d,e,f=1;f<arguments.length;f++){e=arguments[f];for(d in e)a[d]=e[d];for(var g=0;g<Qe.length;g++)d=Qe[g],Object.prototype.hasOwnProperty.call(e,d)&&(a[d]=e[d])}};var Se=Oe("Opera"),Te=Oe("Trident")||Oe("MSIE"),Ue=Oe("Edge"),Ve=Oe("Gecko")&&!(-1!=Le.toLowerCase().indexOf("webkit")&&!Oe("Edge"))&&!(Oe("Trident")||Oe("MSIE"))&&!Oe("Edge"),We=-1!=Le.toLowerCase().indexOf("webkit")&&!Oe("Edge");function Xe(){var a=aa.document;return a?a.documentMode:void 0}var Ye;
  a:{var Ze="",$e=function(){var a=Le;if(Ve)return/rv\:([^\);]+)(\)|;)/.exec(a);if(Ue)return/Edge\/([\d\.]+)/.exec(a);if(Te)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(We)return/WebKit\/(\S+)/.exec(a);if(Se)return/(?:Version)[ \/]?(\S+)/.exec(a)}();$e&&(Ze=$e?$e[1]:"");if(Te){var af=Xe();if(null!=af&&af>parseFloat(Ze)){Ye=String(af);break a}}Ye=Ze}var bf={};
  function cf(a){var c;if(!(c=bf[a])){c=0;for(var d=sa(String(Ye)).split("."),e=sa(String(a)).split("."),f=Math.max(d.length,e.length),g=0;0==c&&g<f;g++){var h=d[g]||"",k=e[g]||"",m=RegExp("(\\d*)(\\D*)","g"),n=RegExp("(\\d*)(\\D*)","g");do{var p=m.exec(h)||["","",""],q=n.exec(k)||["","",""];if(0==p[0].length&&0==q[0].length)break;c=Ca(0==p[1].length?0:parseInt(p[1],10),0==q[1].length?0:parseInt(q[1],10))||Ca(0==p[2].length,0==q[2].length)||Ca(p[2],q[2])}while(0==c)}c=bf[a]=0<=c}return c}
  var df=aa.document,ef=df&&Te?Xe()||("CSS1Compat"==df.compatMode?parseInt(Ye,10):5):void 0;var ff=!Te||9<=Number(ef);!Ve&&!Te||Te&&9<=Number(ef)||Ve&&cf("1.9.1");Te&&cf("9");function gf(a){var c=document;return ea(a)?c.getElementById(a):a}function hf(a,c){Pe(c,function(c,e){"style"==e?a.style.cssText=c:"class"==e?a.className=c:"for"==e?a.htmlFor=c:jf.hasOwnProperty(e)?a.setAttribute(jf[e],c):0==e.lastIndexOf("aria-",0)||0==e.lastIndexOf("data-",0)?a.setAttribute(e,c):a[e]=c})}
  var jf={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};
  function kf(a,c,d){var e=arguments,f=document,g=e[0],h=e[1];if(!ff&&h&&(h.name||h.type)){g=["<",g];h.name&&g.push(' name="',ta(h.name),'"');if(h.type){g.push(' type="',ta(h.type),'"');var k={};Re(k,h);delete k.type;h=k}g.push(">");g=g.join("")}g=f.createElement(g);h&&(ea(h)?g.className=h:"array"==ca(h)?g.className=h.join(" "):hf(g,h));2<e.length&&lf(f,g,e);return g}
  function lf(a,c,d){function e(d){d&&c.appendChild(ea(d)?a.createTextNode(d):d)}for(var f=2;f<d.length;f++){var g=d[f];!da(g)||ga(g)&&0<g.nodeType?e(g):ye(mf(g)?Ae(g):g,e)}}function nf(a){for(var c;c=a.firstChild;)a.removeChild(c)}function of(a,c,d){a.insertBefore(c,a.childNodes[d]||null)}function pf(a){a&&a.parentNode&&a.parentNode.removeChild(a)}function qf(a,c){var d=c.parentNode;d&&d.replaceChild(a,c)}
  function rf(a,c){if(!a||!c)return!1;if(a.contains&&1==c.nodeType)return a==c||a.contains(c);if("undefined"!=typeof a.compareDocumentPosition)return a==c||!!(a.compareDocumentPosition(c)&16);for(;c&&a!=c;)c=c.parentNode;return c==a}function mf(a){if(a&&"number"==typeof a.length){if(ga(a))return"function"==typeof a.item||"string"==typeof a.item;if("function"==ca(a))return"function"==typeof a.item}return!1}function sf(a){this.b=a||aa.document||document}sf.prototype.G=hf;sf.prototype.createElement=function(a){return this.b.createElement(a)};
  sf.prototype.appendChild=function(a,c){a.appendChild(c)};sf.prototype.contains=rf;function tf(a,c,d){gb.call(this,a);this.map=c;this.frameState=void 0!==d?d:null}y(tf,gb);function uf(a){pb.call(this);this.element=a.element?a.element:null;this.a=this.S=null;this.s=[];this.render=a.render?a.render:pa;a.target&&this.c(a.target)}y(uf,pb);uf.prototype.fa=function(){pf(this.element);pb.prototype.fa.call(this)};uf.prototype.i=function(){return this.a};
  uf.prototype.setMap=function(a){this.a&&pf(this.element);for(var c=0,d=this.s.length;c<d;++c)Wa(this.s[c]);this.s.length=0;if(this.a=a)(this.S?this.S:a.v).appendChild(this.element),this.render!==pa&&this.s.push(C(a,"postrender",this.render,this)),a.render()};uf.prototype.c=function(a){this.S=gf(a)};function vf(){this.g=0;this.f={};this.a=this.b=null}l=vf.prototype;l.clear=function(){this.g=0;this.f={};this.a=this.b=null};function wf(a,c){return a.f.hasOwnProperty(c)}l.forEach=function(a,c){for(var d=this.b;d;)a.call(c,d.kc,d.Yb,this),d=d.wb};l.get=function(a){a=this.f[a];if(a===this.a)return a.kc;a===this.b?(this.b=this.b.wb,this.b.fc=null):(a.wb.fc=a.fc,a.fc.wb=a.wb);a.wb=null;a.fc=this.a;this.a=this.a.wb=a;return a.kc};l.rc=function(){return this.g};
  l.N=function(){var a=Array(this.g),c=0,d;for(d=this.a;d;d=d.fc)a[c++]=d.Yb;return a};l.uc=function(){var a=Array(this.g),c=0,d;for(d=this.a;d;d=d.fc)a[c++]=d.kc;return a};l.pop=function(){var a=this.b;delete this.f[a.Yb];a.wb&&(a.wb.fc=null);this.b=a.wb;this.b||(this.a=null);--this.g;return a.kc};l.replace=function(a,c){this.get(a);this.f[a].kc=c};l.set=function(a,c){var d={Yb:a,wb:null,fc:this.a,kc:c};this.a?this.a.wb=d:this.b=d;this.a=d;this.f[a]=d;++this.g};function xf(a,c,d,e){return void 0!==e?(e[0]=a,e[1]=c,e[2]=d,e):[a,c,d]}function yf(a){var c=a[0],d=Array(c),e=1<<c-1,f,g;for(f=0;f<c;++f)g=48,a[1]&e&&(g+=1),a[2]&e&&(g+=2),d[f]=String.fromCharCode(g),e>>=1;return d.join("")};function zf(a){vf.call(this);this.c=void 0!==a?a:2048}y(zf,vf);function Af(a){return a.rc()>a.c}zf.prototype.Gc=function(a){for(var c,d;Af(this)&&!(c=this.b.kc,d=c.ia[0].toString(),d in a&&a[d].contains(c.ia));)fb(this.pop())};function Bf(a,c){kb.call(this);this.ia=a;this.state=c;this.a=null;this.key=""}y(Bf,kb);function Cf(a){a.b("change")}Bf.prototype.fb=function(){return w(this).toString()};Bf.prototype.i=function(){return this.ia};Bf.prototype.V=function(){return this.state};function Df(a,c,d){void 0===d&&(d=[0,0]);d[0]=a[0]+2*c;d[1]=a[1]+2*c;return d}function Ef(a,c,d){void 0===d&&(d=[0,0]);d[0]=a[0]*c+.5|0;d[1]=a[1]*c+.5|0;return d}function Ff(a,c){if(Array.isArray(a))return a;void 0===c?c=[a,a]:(c[0]=a,c[1]=a);return c};function Gf(a){pb.call(this);this.f=Jc(a.projection);this.l=Hf(a.attributions);this.R=a.logo;this.va=void 0!==a.state?a.state:"ready";this.D=void 0!==a.wrapX?a.wrapX:!1}y(Gf,pb);function Hf(a){if("string"===typeof a)return[new ue({html:a})];if(a instanceof ue)return[a];if(Array.isArray(a)){for(var c=a.length,d=Array(c),e=0;e<c;e++){var f=a[e];d[e]="string"===typeof f?new ue({html:f}):f}return d}return null}l=Gf.prototype;l.na=pa;l.qa=function(){return this.l};l.pa=function(){return this.R};l.ra=function(){return this.f};
  l.V=function(){return this.va};l.oa=function(){this.u()};l.ja=function(a){this.l=Hf(a);this.u()};function If(a,c){a.va=c;a.u()};function Jf(a){this.minZoom=void 0!==a.minZoom?a.minZoom:0;this.b=a.resolutions;this.maxZoom=this.b.length-1;this.g=void 0!==a.origin?a.origin:null;this.c=null;void 0!==a.origins&&(this.c=a.origins);var c=a.extent;void 0===c||this.g||this.c||(this.g=pc(c));this.i=null;void 0!==a.tileSizes&&(this.i=a.tileSizes);this.o=void 0!==a.tileSize?a.tileSize:this.i?null:256;this.s=void 0!==c?c:null;this.a=null;this.f=[0,0];void 0!==a.sizes?this.a=a.sizes.map(function(a){return new qe(Math.min(0,a[0]),Math.max(a[0]-
  1,-1),Math.min(0,a[1]),Math.max(a[1]-1,-1))},this):c&&Kf(this,c)}var Lf=[0,0,0];function Mf(a,c,d,e,f){f=a.Aa(c,f);for(c=c[0]-1;c>=a.minZoom;){if(d.call(null,c,Nf(a,f,c,e)))return!0;--c}return!1}l=Jf.prototype;l.H=function(){return this.s};l.Cg=function(){return this.maxZoom};l.Dg=function(){return this.minZoom};l.Ea=function(a){return this.g?this.g:this.c[a]};l.$=function(a){return this.b[a]};l.Eh=function(){return this.b};
  function Of(a,c,d,e){return c[0]<a.maxZoom?(e=a.Aa(c,e),Nf(a,e,c[0]+1,d)):null}function Pf(a,c,d,e){Qf(a,c[0],c[1],d,!1,Lf);var f=Lf[1],g=Lf[2];Qf(a,c[2],c[3],d,!0,Lf);a=Lf[1];c=Lf[2];void 0!==e?(e.b=f,e.a=a,e.g=g,e.f=c):e=new qe(f,a,g,c);return e}function Nf(a,c,d,e){d=a.$(d);return Pf(a,c,d,e)}function Rf(a,c){var d=a.Ea(c[0]),e=a.$(c[0]),f=Ff(a.Ga(c[0]),a.f);return[d[0]+(c[1]+.5)*f[0]*e,d[1]+(c[2]+.5)*f[1]*e]}
  l.Aa=function(a,c){var d=this.Ea(a[0]),e=this.$(a[0]),f=Ff(this.Ga(a[0]),this.f),g=d[0]+a[1]*f[0]*e,d=d[1]+a[2]*f[1]*e;return ec(g,d,g+f[0]*e,d+f[1]*e,c)};l.Td=function(a,c,d){return Qf(this,a[0],a[1],c,!1,d)};function Qf(a,c,d,e,f,g){var h=Sf(a,e),k=e/a.$(h),m=a.Ea(h);a=Ff(a.Ga(h),a.f);c=k*Math.floor((c-m[0])/e+(f?.5:0))/a[0];d=k*Math.floor((d-m[1])/e+(f?0:.5))/a[1];f?(c=Math.ceil(c)-1,d=Math.ceil(d)-1):(c=Math.floor(c),d=Math.floor(d));return xf(h,c,d,g)}
  l.kd=function(a,c,d){c=this.$(c);return Qf(this,a[0],a[1],c,!1,d)};l.Ga=function(a){return this.o?this.o:this.i[a]};function Sf(a,c,d){c=vb(a.b,c,d||0);return Da(c,a.minZoom,a.maxZoom)}function Kf(a,c){for(var d=a.b.length,e=Array(d),f=a.minZoom;f<d;++f)e[f]=Nf(a,c,f);a.a=e}function Tf(a){var c=a.l;if(!c){var c=Uf(a),d=Vf(c,void 0,void 0),c=new Jf({extent:c,origin:pc(c),resolutions:d,tileSize:void 0});a.l=c}return c}
  function Wf(a){var c={};Pa(c,void 0!==a?a:{});void 0===c.extent&&(c.extent=Jc("EPSG:3857").H());c.resolutions=Vf(c.extent,c.maxZoom,c.tileSize);delete c.maxZoom;return new Jf(c)}function Vf(a,c,d){c=void 0!==c?c:42;var e=tc(a);a=sc(a);d=Ff(void 0!==d?d:256);d=Math.max(a/d[0],e/d[1]);c+=1;e=Array(c);for(a=0;a<c;++a)e[a]=d/Math.pow(2,a);return e}function Uf(a){a=Jc(a);var c=a.H();c||(a=180*Fc.degrees/a.Vb(),c=ec(-a,-a,a,a));return c};function Xf(a){Gf.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,state:a.state,wrapX:a.wrapX});this.ea=void 0!==a.opaque?a.opaque:!1;this.sa=void 0!==a.tilePixelRatio?a.tilePixelRatio:1;this.tileGrid=void 0!==a.tileGrid?a.tileGrid:null;this.a=new zf(a.cacheSize);this.o=[0,0];this.Yb=""}y(Xf,Gf);l=Xf.prototype;l.uh=function(){return Af(this.a)};l.Gc=function(a,c){var d=this.jd(a);d&&d.Gc(c)};
  function Yf(a,c,d,e,f){c=a.jd(c);if(!c)return!1;for(var g=!0,h,k,m=e.b;m<=e.a;++m)for(var n=e.g;n<=e.f;++n)h=a.Ab(d,m,n),k=!1,wf(c,h)&&(h=c.get(h),(k=2===h.V())&&(k=!1!==f(h))),k||(g=!1);return g}l.Od=function(){return 0};function Zf(a,c){a.Yb!==c&&(a.Yb=c,a.u())}l.Ab=function(a,c,d){return a+"/"+c+"/"+d};l.df=function(){return this.ea};l.Fa=function(){return this.tileGrid};l.eb=function(a){return this.tileGrid?this.tileGrid:Tf(a)};l.jd=function(a){var c=this.f;return c&&!Zc(c,a)?null:this.a};
  l.Xb=function(){return this.sa};l.Ud=function(a,c,d){d=this.eb(d);c=this.Xb(c);a=Ff(d.Ga(a),this.o);return 1==c?a:Ef(a,c,this.o)};function $f(a,c,d){var e=void 0!==d?d:a.f;d=a.eb(e);if(a.D&&e.g){var f=c;c=f[0];a=Rf(d,f);e=Uf(e);ac(e,a)?c=f:(f=sc(e),a[0]+=f*Math.ceil((e[0]-a[0])/f),c=d.kd(a,c))}f=c[0];e=c[1];a=c[2];if(d.minZoom>f||f>d.maxZoom)d=!1;else{var g=d.H();d=(d=g?Nf(d,g,f):d.a?d.a[f]:null)?re(d,e,a):!0}return d?c:null}l.oa=function(){this.a.clear();this.u()};l.Tf=pa;
  function ag(a,c){gb.call(this,a);this.tile=c}y(ag,gb);function bg(a){a=a?a:{};this.C=document.createElement("UL");this.v=document.createElement("LI");this.C.appendChild(this.v);this.v.style.display="none";this.f=void 0!==a.collapsed?a.collapsed:!0;this.o=void 0!==a.collapsible?a.collapsible:!0;this.o||(this.f=!1);var c=void 0!==a.className?a.className:"ol-attribution",d=void 0!==a.tipLabel?a.tipLabel:"Attributions",e=void 0!==a.collapseLabel?a.collapseLabel:"\u00bb";this.D="string"===typeof e?kf("SPAN",{},e):e;e=void 0!==a.label?a.label:"i";this.R="string"===
  typeof e?kf("SPAN",{},e):e;d=kf("BUTTON",{type:"button",title:d},this.o&&!this.f?this.D:this.R);C(d,"click",this.Tl,this);c=kf("DIV",c+" ol-unselectable ol-control"+(this.f&&this.o?" ol-collapsed":"")+(this.o?"":" ol-uncollapsible"),this.C,d);uf.call(this,{element:c,render:a.render?a.render:cg,target:a.target});this.B=!0;this.j={};this.l={};this.T={}}y(bg,uf);
  function cg(a){if(a=a.frameState){var c,d,e,f,g,h,k,m,n,p,q,r=a.layerStatesArray,u=Pa({},a.attributions),v={},x=a.viewState.projection;d=0;for(c=r.length;d<c;d++)if(h=r[d].layer.da())if(p=w(h).toString(),n=h.l)for(e=0,f=n.length;e<f;e++)if(k=n[e],m=w(k).toString(),!(m in u)){if(g=a.usedTiles[p]){var z=h.eb(x);a:{q=k;var E=x;if(q.b){var B,A,G,O=void 0;for(O in g)if(O in q.b){G=g[O];var N;B=0;for(A=q.b[O].length;B<A;++B){N=q.b[O][B];if(te(N,G)){q=!0;break a}var Y=Nf(z,Uf(E),parseInt(O,10)),Ya=Y.a-Y.b+
  1;if(G.b<Y.b||G.a>Y.a)if(te(N,new qe(Ja(G.b,Ya),Ja(G.a,Ya),G.g,G.f))||G.a-G.b+1>Ya&&te(N,Y)){q=!0;break a}}}q=!1}else q=!0}}else q=!1;q?(m in v&&delete v[m],u[m]=k):v[m]=k}c=[u,v];d=c[0];c=c[1];for(var J in this.j)J in d?(this.l[J]||(this.j[J].style.display="",this.l[J]=!0),delete d[J]):J in c?(this.l[J]&&(this.j[J].style.display="none",delete this.l[J]),delete c[J]):(pf(this.j[J]),delete this.j[J],delete this.l[J]);for(J in d)e=document.createElement("LI"),e.innerHTML=d[J].a,this.C.appendChild(e),
  this.j[J]=e,this.l[J]=!0;for(J in c)e=document.createElement("LI"),e.innerHTML=c[J].a,e.style.display="none",this.C.appendChild(e),this.j[J]=e;J=!Sa(this.l)||!Sa(a.logos);this.B!=J&&(this.element.style.display=J?"":"none",this.B=J);J&&Sa(this.l)?this.element.classList.add("ol-logo-only"):this.element.classList.remove("ol-logo-only");var wa;a=a.logos;J=this.T;for(wa in J)wa in a||(pf(J[wa]),delete J[wa]);for(var Ua in a)d=a[Ua],d instanceof HTMLElement&&(this.v.appendChild(d),J[Ua]=d),Ua in J||(wa=
  new Image,wa.src=Ua,""===d?d=wa:(d=kf("A",{href:d}),d.appendChild(wa)),this.v.appendChild(d),J[Ua]=d);this.v.style.display=Sa(a)?"none":""}else this.B&&(this.element.style.display="none",this.B=!1)}l=bg.prototype;l.Tl=function(a){a.preventDefault();dg(this)};function dg(a){a.element.classList.toggle("ol-collapsed");a.f?qf(a.D,a.R):qf(a.R,a.D);a.f=!a.f}l.Sl=function(){return this.o};l.Vl=function(a){this.o!==a&&(this.o=a,this.element.classList.toggle("ol-uncollapsible"),!a&&this.f&&dg(this))};
  l.Ul=function(a){this.o&&this.f!==a&&dg(this)};l.Rl=function(){return this.f};function eg(a){a=a?a:{};var c=void 0!==a.className?a.className:"ol-rotate",d=void 0!==a.label?a.label:"\u21e7";this.f=null;"string"===typeof d?this.f=kf("SPAN","ol-compass",d):(this.f=d,this.f.classList.add("ol-compass"));d=kf("BUTTON",{"class":c+"-reset",type:"button",title:a.tipLabel?a.tipLabel:"Reset rotation"},this.f);C(d,"click",eg.prototype.B,this);c=kf("DIV",c+" ol-unselectable ol-control",d);d=a.render?a.render:fg;this.o=a.resetNorth?a.resetNorth:void 0;uf.call(this,{element:c,render:d,target:a.target});
  this.j=void 0!==a.duration?a.duration:250;this.l=void 0!==a.autoHide?a.autoHide:!0;this.v=void 0;this.l&&this.element.classList.add("ol-hidden")}y(eg,uf);eg.prototype.B=function(a){a.preventDefault();if(void 0!==this.o)this.o();else{a=this.a;var c=a.aa();if(c){var d=c.Ja();void 0!==d&&(0<this.j&&(d%=2*Math.PI,d<-Math.PI&&(d+=2*Math.PI),d>Math.PI&&(d-=2*Math.PI),a.Ta(oe({rotation:d,duration:this.j,easing:je}))),c.de(0))}}};
  function fg(a){if(a=a.frameState){a=a.viewState.rotation;if(a!=this.v){var c="rotate("+a+"rad)";if(this.l){var d=this.element.classList.contains("ol-hidden");d||0!==a?d&&0!==a&&this.element.classList.remove("ol-hidden"):this.element.classList.add("ol-hidden")}this.f.style.msTransform=c;this.f.style.webkitTransform=c;this.f.style.transform=c}this.v=a}};function gg(a){a=a?a:{};var c=void 0!==a.className?a.className:"ol-zoom",d=void 0!==a.delta?a.delta:1,e=void 0!==a.zoomOutLabel?a.zoomOutLabel:"\u2212",f=void 0!==a.zoomOutTipLabel?a.zoomOutTipLabel:"Zoom out",g=kf("BUTTON",{"class":c+"-in",type:"button",title:void 0!==a.zoomInTipLabel?a.zoomInTipLabel:"Zoom in"},void 0!==a.zoomInLabel?a.zoomInLabel:"+");C(g,"click",gg.prototype.l.bind(this,d));e=kf("BUTTON",{"class":c+"-out",type:"button",title:f},e);C(e,"click",gg.prototype.l.bind(this,-d));c=kf("DIV",
  c+" ol-unselectable ol-control",g,e);uf.call(this,{element:c,target:a.target});this.f=void 0!==a.duration?a.duration:250}y(gg,uf);gg.prototype.l=function(a,c){c.preventDefault();var d=this.a,e=d.aa();if(e){var f=e.$();f&&(0<this.f&&d.Ta(pe({resolution:f,duration:this.f,easing:je})),d=e.constrainResolution(f,a),e.Pb(d))}};function hg(a){a=a?a:{};var c=new we;(void 0!==a.zoom?a.zoom:1)&&c.push(new gg(a.zoomOptions));(void 0!==a.rotate?a.rotate:1)&&c.push(new eg(a.rotateOptions));(void 0!==a.attribution?a.attribution:1)&&c.push(new bg(a.attributionOptions));return c};var ig=We?"webkitfullscreenchange":Ve?"mozfullscreenchange":Te?"MSFullscreenChange":"fullscreenchange";function jg(){var a=kg(),c=a.body;return!!(c.webkitRequestFullscreen||c.mozRequestFullScreen&&a.mozFullScreenEnabled||c.msRequestFullscreen&&a.msFullscreenEnabled||c.requestFullscreen&&a.fullscreenEnabled)}
  function lg(a){a.webkitRequestFullscreen?a.webkitRequestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.msRequestFullscreen?a.msRequestFullscreen():a.requestFullscreen&&a.requestFullscreen()}function mg(){var a=kg();return!!(a.webkitIsFullScreen||a.mozFullScreen||a.msFullscreenElement||a.fullscreenElement)}function kg(){return(ra||(ra=new sf)).b};function ng(a){a=a?a:{};this.f=void 0!==a.className?a.className:"ol-full-screen";var c=void 0!==a.label?a.label:"\u2922";this.l="string"===typeof c?document.createTextNode(c):c;c=void 0!==a.labelActive?a.labelActive:"\u00d7";this.o="string"===typeof c?document.createTextNode(c):c;c=a.tipLabel?a.tipLabel:"Toggle full-screen";c=kf("BUTTON",{"class":this.f+"-"+mg(),type:"button",title:c},this.l);C(c,"click",this.C,this);var d=this.f+" ol-unselectable ol-control "+(jg()?"":"ol-unsupported"),c=kf("DIV",
  d,c);uf.call(this,{element:c,target:a.target});this.B=void 0!==a.keys?a.keys:!1;this.j=a.source}y(ng,uf);
  ng.prototype.C=function(a){a.preventDefault();jg()&&(a=this.a)&&(mg()?(a=kg(),a.webkitCancelFullScreen?a.webkitCancelFullScreen():a.mozCancelFullScreen?a.mozCancelFullScreen():a.msExitFullscreen?a.msExitFullscreen():a.exitFullscreen&&a.exitFullscreen()):(a=this.j?gf(this.j):a.tc(),this.B?a.mozRequestFullScreenWithKeys?a.mozRequestFullScreenWithKeys():a.webkitRequestFullscreen?a.webkitRequestFullscreen():lg(a):lg(a)))};
  ng.prototype.v=function(){var a=this.element.firstElementChild,c=this.a;mg()?(a.className=this.f+"-true",qf(this.o,this.l)):(a.className=this.f+"-false",qf(this.l,this.o));c&&c.Sc()};ng.prototype.setMap=function(a){uf.prototype.setMap.call(this,a);a&&this.s.push(C(qa.document,ig,this.v,this))};function og(a){a=a?a:{};var c=document.createElement("DIV");c.className=void 0!==a.className?a.className:"ol-mouse-position";uf.call(this,{element:c,render:a.render?a.render:pg,target:a.target});C(this,rb("projection"),this.Wl,this);a.coordinateFormat&&this.Zh(a.coordinateFormat);a.projection&&this.bh(Jc(a.projection));this.v=void 0!==a.undefinedHTML?a.undefinedHTML:"";this.j=c.innerHTML;this.o=this.l=this.f=null}y(og,uf);
  function pg(a){a=a.frameState;a?this.f!=a.viewState.projection&&(this.f=a.viewState.projection,this.l=null):this.f=null;qg(this,this.o)}l=og.prototype;l.Wl=function(){this.l=null};l.wg=function(){return this.get("coordinateFormat")};l.ah=function(){return this.get("projection")};l.Rk=function(a){this.o=this.a.Nd(a);qg(this,this.o)};l.Sk=function(){qg(this,null);this.o=null};
  l.setMap=function(a){uf.prototype.setMap.call(this,a);a&&(a=a.a,this.s.push(C(a,"mousemove",this.Rk,this),C(a,"mouseout",this.Sk,this)))};l.Zh=function(a){this.set("coordinateFormat",a)};l.bh=function(a){this.set("projection",a)};function qg(a,c){var d=a.v;if(c&&a.f){if(!a.l){var e=a.ah();a.l=e?Mc(a.f,e):ad}if(e=a.a.La(c))a.l(e,e),d=(d=a.wg())?d(e):e.toString()}a.j&&d==a.j||(a.element.innerHTML=d,a.j=d)};function rg(a,c){var d=a;c&&(d=la(a,c));"function"!=ca(aa.setImmediate)||aa.Window&&aa.Window.prototype&&!Oe("Edge")&&aa.Window.prototype.setImmediate==aa.setImmediate?(sg||(sg=tg()),sg(d)):aa.setImmediate(d)}var sg;
  function tg(){var a=aa.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Oe("Presto")&&(a=function(){var a=document.createElement("IFRAME");a.style.display="none";a.src="";document.documentElement.appendChild(a);var c=a.contentWindow,a=c.document;a.open();a.write("");a.close();var d="callImmediate"+Math.random(),e="file:"==c.location.protocol?"*":c.location.protocol+"//"+c.location.host,a=la(function(a){if(("*"==e||a.origin==e)&&a.data==
  d)this.port1.onmessage()},this);c.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){c.postMessage(d,e)}}});if("undefined"!==typeof a&&!Oe("Trident")&&!Oe("MSIE")){var c=new a,d={},e=d;c.port1.onmessage=function(){if(void 0!==d.next){d=d.next;var a=d.mg;d.mg=null;a()}};return function(a){e.next={mg:a};e=e.next;c.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(a){var c=document.createElement("SCRIPT");
  c.onreadystatechange=function(){c.onreadystatechange=null;c.parentNode.removeChild(c);c=null;a();a=null};document.documentElement.appendChild(c)}:function(a){aa.setTimeout(a,0)}};function ug(a,c,d){gb.call(this,a);this.b=c;a=d?d:{};this.buttons=vg(a);this.pressure=wg(a,this.buttons);this.bubbles="bubbles"in a?a.bubbles:!1;this.cancelable="cancelable"in a?a.cancelable:!1;this.view="view"in a?a.view:null;this.detail="detail"in a?a.detail:null;this.screenX="screenX"in a?a.screenX:0;this.screenY="screenY"in a?a.screenY:0;this.clientX="clientX"in a?a.clientX:0;this.clientY="clientY"in a?a.clientY:0;this.button="button"in a?a.button:0;this.relatedTarget="relatedTarget"in a?a.relatedTarget:
  null;this.pointerId="pointerId"in a?a.pointerId:0;this.width="width"in a?a.width:0;this.height="height"in a?a.height:0;this.pointerType="pointerType"in a?a.pointerType:"";this.isPrimary="isPrimary"in a?a.isPrimary:!1;c.preventDefault&&(this.preventDefault=function(){c.preventDefault()})}y(ug,gb);function vg(a){if(a.buttons||xg)a=a.buttons;else switch(a.which){case 1:a=1;break;case 2:a=4;break;case 3:a=2;break;default:a=0}return a}
  function wg(a,c){var d=0;a.pressure?d=a.pressure:d=c?.5:0;return d}var xg=!1;try{xg=1===(new MouseEvent("click",{buttons:1})).buttons}catch(a){};function yg(a,c){var d=document.createElement("CANVAS");a&&(d.width=a);c&&(d.height=c);return d.getContext("2d")}
  var zg=function(){var a;return function(){if(void 0===a){var c=document.createElement("P"),d,e={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.appendChild(c);for(var f in e)f in c.style&&(c.style[f]="translate(1px,1px)",d=qa.getComputedStyle(c).getPropertyValue(e[f]));document.body.removeChild(c);a=d&&"none"!==d}return a}}(),Ag=function(){var a;return function(){if(void 0===a){var c=document.createElement("P"),
  d,e={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.appendChild(c);for(var f in e)f in c.style&&(c.style[f]="translate3d(1px,1px,1px)",d=qa.getComputedStyle(c).getPropertyValue(e[f]));document.body.removeChild(c);a=d&&"none"!==d}return a}}();
  function Bg(a,c){var d=a.style;d.WebkitTransform=c;d.MozTransform=c;d.b=c;d.msTransform=c;d.transform=c;Te&&cf("9.0")&&(a.style.transformOrigin="0 0")}function Cg(a,c){var d;if(Ag()){var e=Array(16);for(d=0;16>d;++d)e[d]=c[d].toFixed(6);Bg(a,"matrix3d("+e.join(",")+")")}else if(zg()){var e=[c[0],c[1],c[4],c[5],c[12],c[13]],f=Array(6);for(d=0;6>d;++d)f[d]=e[d].toFixed(6);Bg(a,"matrix("+f.join(",")+")")}else a.style.left=Math.round(c[12])+"px",a.style.top=Math.round(c[13])+"px"};var Dg=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function Eg(a,c){var d,e,f=Dg.length;for(e=0;e<f;++e)try{if(d=a.getContext(Dg[e],c))return d}catch(g){}return null};var Fg,Gg="undefined"!==typeof navigator?navigator.userAgent.toLowerCase():"",Hg=-1!==Gg.indexOf("firefox"),Ig=-1!==Gg.indexOf("safari")&&-1===Gg.indexOf("chrom"),Jg=-1!==Gg.indexOf("macintosh"),Kg=qa.devicePixelRatio||1,Lg=!1,Mg=function(){if(!("HTMLCanvasElement"in qa))return!1;try{var a=yg();return a?(void 0!==a.setLineDash&&(Lg=!0),!0):!1}catch(c){return!1}}(),Ng="DeviceOrientationEvent"in qa,Og="geolocation"in qa.navigator,Pg="ontouchstart"in qa,Qg="PointerEvent"in qa,Rg=!!qa.navigator.msPointerEnabled,
  Sg=!1,Tg,Ug=[];if("WebGLRenderingContext"in qa)try{var Vg=Eg(document.createElement("CANVAS"),{failIfMajorPerformanceCaveat:!0});Vg&&(Sg=!0,Tg=Vg.getParameter(Vg.MAX_TEXTURE_SIZE),Ug=Vg.getSupportedExtensions())}catch(a){}Fg=Sg;oa=Ug;na=Tg;function Wg(a,c){this.b=a;this.c=c};function Xg(a){Wg.call(this,a,{mousedown:this.ll,mousemove:this.ml,mouseup:this.pl,mouseover:this.ol,mouseout:this.nl});this.a=a.g;this.g=[]}y(Xg,Wg);function Yg(a,c){for(var d=a.g,e=c.clientX,f=c.clientY,g=0,h=d.length,k;g<h&&(k=d[g]);g++){var m=Math.abs(f-k[1]);if(25>=Math.abs(e-k[0])&&25>=m)return!0}return!1}function Zg(a){var c=$g(a,a),d=c.preventDefault;c.preventDefault=function(){a.preventDefault();d()};c.pointerId=1;c.isPrimary=!0;c.pointerType="mouse";return c}l=Xg.prototype;
  l.ll=function(a){if(!Yg(this,a)){if((1).toString()in this.a){var c=Zg(a);ah(this.b,bh,c,a);delete this.a[(1).toString()]}c=Zg(a);this.a[(1).toString()]=a;ah(this.b,ch,c,a)}};l.ml=function(a){if(!Yg(this,a)){var c=Zg(a);ah(this.b,dh,c,a)}};l.pl=function(a){if(!Yg(this,a)){var c=this.a[(1).toString()];c&&c.button===a.button&&(c=Zg(a),ah(this.b,eh,c,a),delete this.a[(1).toString()])}};l.ol=function(a){if(!Yg(this,a)){var c=Zg(a);fh(this.b,c,a)}};
  l.nl=function(a){if(!Yg(this,a)){var c=Zg(a);gh(this.b,c,a)}};function hh(a){Wg.call(this,a,{MSPointerDown:this.ul,MSPointerMove:this.vl,MSPointerUp:this.yl,MSPointerOut:this.wl,MSPointerOver:this.xl,MSPointerCancel:this.tl,MSGotPointerCapture:this.rl,MSLostPointerCapture:this.sl});this.a=a.g;this.g=["","unavailable","touch","pen","mouse"]}y(hh,Wg);function ih(a,c){var d=c;fa(c.pointerType)&&(d=$g(c,c),d.pointerType=a.g[c.pointerType]);return d}l=hh.prototype;l.ul=function(a){this.a[a.pointerId.toString()]=a;var c=ih(this,a);ah(this.b,ch,c,a)};
  l.vl=function(a){var c=ih(this,a);ah(this.b,dh,c,a)};l.yl=function(a){var c=ih(this,a);ah(this.b,eh,c,a);delete this.a[a.pointerId.toString()]};l.wl=function(a){var c=ih(this,a);gh(this.b,c,a)};l.xl=function(a){var c=ih(this,a);fh(this.b,c,a)};l.tl=function(a){var c=ih(this,a);ah(this.b,bh,c,a);delete this.a[a.pointerId.toString()]};l.sl=function(a){this.b.b(new ug("lostpointercapture",a,a))};l.rl=function(a){this.b.b(new ug("gotpointercapture",a,a))};function jh(a){Wg.call(this,a,{pointerdown:this.bo,pointermove:this.co,pointerup:this.ho,pointerout:this.eo,pointerover:this.fo,pointercancel:this.ao,gotpointercapture:this.Ak,lostpointercapture:this.kl})}y(jh,Wg);l=jh.prototype;l.bo=function(a){kh(this.b,a)};l.co=function(a){kh(this.b,a)};l.ho=function(a){kh(this.b,a)};l.eo=function(a){kh(this.b,a)};l.fo=function(a){kh(this.b,a)};l.ao=function(a){kh(this.b,a)};l.kl=function(a){kh(this.b,a)};l.Ak=function(a){kh(this.b,a)};function lh(a,c){Wg.call(this,a,{touchstart:this.kp,touchmove:this.jp,touchend:this.ip,touchcancel:this.hp});this.a=a.g;this.l=c;this.g=void 0;this.i=0;this.f=void 0}y(lh,Wg);l=lh.prototype;l.Xh=function(){this.i=0;this.f=void 0};
  function mh(a,c,d){c=$g(c,d);c.pointerId=d.identifier+2;c.bubbles=!0;c.cancelable=!0;c.detail=a.i;c.button=0;c.buttons=1;c.width=d.webkitRadiusX||d.radiusX||0;c.height=d.webkitRadiusY||d.radiusY||0;c.pressure=d.webkitForce||d.force||.5;c.isPrimary=a.g===d.identifier;c.pointerType="touch";c.clientX=d.clientX;c.clientY=d.clientY;c.screenX=d.screenX;c.screenY=d.screenY;return c}
  function nh(a,c,d){function e(){c.preventDefault()}var f=Array.prototype.slice.call(c.changedTouches),g=f.length,h,k;for(h=0;h<g;++h)k=mh(a,c,f[h]),k.preventDefault=e,d.call(a,c,k)}
  l.kp=function(a){var c=a.touches,d=Object.keys(this.a),e=d.length;if(e>=c.length){var f=[],g,h,k;for(g=0;g<e;++g){h=d[g];k=this.a[h];var m;if(!(m=1==h))a:{m=c.length;for(var n,p=0;p<m;p++)if(n=c[p],n.identifier===h-2){m=!0;break a}m=!1}m||f.push(k.out)}for(g=0;g<f.length;++g)this.Pe(a,f[g])}c=a.changedTouches[0];d=Object.keys(this.a).length;if(0===d||1===d&&(1).toString()in this.a)this.g=c.identifier,void 0!==this.f&&qa.clearTimeout(this.f);oh(this,a);this.i++;nh(this,a,this.Xn)};
  l.Xn=function(a,c){this.a[c.pointerId]={target:c.target,out:c,Fh:c.target};var d=this.b;c.bubbles=!0;ah(d,ph,c,a);d=this.b;c.bubbles=!1;ah(d,qh,c,a);ah(this.b,ch,c,a)};l.jp=function(a){a.preventDefault();nh(this,a,this.ql)};l.ql=function(a,c){var d=this.a[c.pointerId];if(d){var e=d.out,f=d.Fh;ah(this.b,dh,c,a);e&&f!==c.target&&(e.relatedTarget=c.target,c.relatedTarget=f,e.target=f,c.target?(gh(this.b,e,a),fh(this.b,c,a)):(c.target=f,c.relatedTarget=null,this.Pe(a,c)));d.out=c;d.Fh=c.target}};
  l.ip=function(a){oh(this,a);nh(this,a,this.lp)};l.lp=function(a,c){ah(this.b,eh,c,a);this.b.out(c,a);var d=this.b;c.bubbles=!1;ah(d,rh,c,a);delete this.a[c.pointerId];c.isPrimary&&(this.g=void 0,this.f=qa.setTimeout(this.Xh.bind(this),200))};l.hp=function(a){nh(this,a,this.Pe)};l.Pe=function(a,c){ah(this.b,bh,c,a);this.b.out(c,a);var d=this.b;c.bubbles=!1;ah(d,rh,c,a);delete this.a[c.pointerId];c.isPrimary&&(this.g=void 0,this.f=qa.setTimeout(this.Xh.bind(this),200))};
  function oh(a,c){var d=a.l.g,e=c.changedTouches[0];if(a.g===e.identifier){var f=[e.clientX,e.clientY];d.push(f);qa.setTimeout(function(){yb(d,f)},2500)}};function sh(a){kb.call(this);this.i=a;this.g={};this.c={};this.a=[];Qg?th(this,new jh(this)):Rg?th(this,new hh(this)):(a=new Xg(this),th(this,a),Pg&&th(this,new lh(this,a)));a=this.a.length;for(var c,d=0;d<a;d++)c=this.a[d],uh(this,Object.keys(c.c))}y(sh,kb);function th(a,c){var d=Object.keys(c.c);d&&(d.forEach(function(a){var d=c.c[a];d&&(this.c[a]=d.bind(c))},a),a.a.push(c))}sh.prototype.f=function(a){var c=this.c[a.type];c&&c(a)};
  function uh(a,c){c.forEach(function(a){C(this.i,a,this.f,this)},a)}function vh(a,c){c.forEach(function(a){cb(this.i,a,this.f,this)},a)}function $g(a,c){for(var d={},e,f=0,g=wh.length;f<g;f++)e=wh[f][0],d[e]=a[e]||c[e]||wh[f][1];return d}sh.prototype.out=function(a,c){a.bubbles=!0;ah(this,xh,a,c)};function gh(a,c,d){a.out(c,d);var e=c.relatedTarget;e&&rf(c.target,e)||(c.bubbles=!1,ah(a,rh,c,d))}
  function fh(a,c,d){c.bubbles=!0;ah(a,ph,c,d);var e=c.relatedTarget;e&&rf(c.target,e)||(c.bubbles=!1,ah(a,qh,c,d))}function ah(a,c,d,e){a.b(new ug(c,e,d))}function kh(a,c){a.b(new ug(c.type,c,c))}sh.prototype.fa=function(){for(var a=this.a.length,c,d=0;d<a;d++)c=this.a[d],vh(this,Object.keys(c.c));kb.prototype.fa.call(this)};
  var dh="pointermove",ch="pointerdown",eh="pointerup",ph="pointerover",xh="pointerout",qh="pointerenter",rh="pointerleave",bh="pointercancel",wh=[["bubbles",!1],["cancelable",!1],["view",null],["detail",null],["screenX",0],["screenY",0],["clientX",0],["clientY",0],["ctrlKey",!1],["altKey",!1],["shiftKey",!1],["metaKey",!1],["button",0],["relatedTarget",null],["buttons",0],["pointerId",0],["width",0],["height",0],["pressure",0],["tiltX",0],["tiltY",0],["pointerType",""],["hwTimestamp",0],["isPrimary",
  !1],["type",""],["target",null],["currentTarget",null],["which",0]];function yh(a,c,d,e,f){tf.call(this,a,c,f);this.originalEvent=d;this.pixel=c.Nd(d);this.coordinate=c.La(this.pixel);this.dragging=void 0!==e?e:!1}y(yh,tf);yh.prototype.preventDefault=function(){tf.prototype.preventDefault.call(this);this.originalEvent.preventDefault()};yh.prototype.stopPropagation=function(){tf.prototype.stopPropagation.call(this);this.originalEvent.stopPropagation()};function zh(a,c,d,e,f){yh.call(this,a,c,d.b,e,f);this.b=d}y(zh,yh);
  function Ah(a){kb.call(this);this.f=a;this.l=0;this.o=!1;this.c=[];this.g=null;a=this.f.a;this.U=0;this.v={};this.i=new sh(a);this.a=null;this.j=C(this.i,ch,this.Uk,this);this.s=C(this.i,dh,this.Fo,this)}y(Ah,kb);function Bh(a,c){var d;d=new zh(Ch,a.f,c);a.b(d);0!==a.l?(qa.clearTimeout(a.l),a.l=0,d=new zh(Dh,a.f,c),a.b(d)):a.l=qa.setTimeout(function(){this.l=0;var a=new zh(Eh,this.f,c);this.b(a)}.bind(a),250)}
  function Fh(a,c){c.type==Gh||c.type==Hh?delete a.v[c.pointerId]:c.type==Ih&&(a.v[c.pointerId]=!0);a.U=Object.keys(a.v).length}l=Ah.prototype;l.Kg=function(a){Fh(this,a);var c=new zh(Gh,this.f,a);this.b(c);!this.o&&0===a.button&&Bh(this,this.g);0===this.U&&(this.c.forEach(Wa),this.c.length=0,this.o=!1,this.g=null,fb(this.a),this.a=null)};
  l.Uk=function(a){Fh(this,a);var c=new zh(Ih,this.f,a);this.b(c);this.g=a;0===this.c.length&&(this.a=new sh(document),this.c.push(C(this.a,Jh,this.Ml,this),C(this.a,Gh,this.Kg,this),C(this.i,Hh,this.Kg,this)))};l.Ml=function(a){if(a.clientX!=this.g.clientX||a.clientY!=this.g.clientY){this.o=!0;var c=new zh(Kh,this.f,a,this.o);this.b(c)}a.preventDefault()};l.Fo=function(a){this.b(new zh(a.type,this.f,a,!(!this.g||a.clientX==this.g.clientX&&a.clientY==this.g.clientY)))};
  l.fa=function(){this.s&&(Wa(this.s),this.s=null);this.j&&(Wa(this.j),this.j=null);this.c.forEach(Wa);this.c.length=0;this.a&&(fb(this.a),this.a=null);this.i&&(fb(this.i),this.i=null);kb.prototype.fa.call(this)};var Eh="singleclick",Ch="click",Dh="dblclick",Kh="pointerdrag",Jh="pointermove",Ih="pointerdown",Gh="pointerup",Hh="pointercancel",Lh={Ep:Eh,tp:Ch,up:Dh,xp:Kh,Ap:Jh,wp:Ih,Dp:Gh,Cp:"pointerover",Bp:"pointerout",yp:"pointerenter",zp:"pointerleave",vp:Hh};function Mh(a){pb.call(this);var c=Pa({},a);c.opacity=void 0!==a.opacity?a.opacity:1;c.visible=void 0!==a.visible?a.visible:!0;c.zIndex=void 0!==a.zIndex?a.zIndex:0;c.maxResolution=void 0!==a.maxResolution?a.maxResolution:Infinity;c.minResolution=void 0!==a.minResolution?a.minResolution:0;this.G(c)}y(Mh,pb);
  function Nh(a){var c=a.Kb(),d=a.ef(),e=a.vb(),f=a.H(),g=a.Lb(),h=a.Hb(),k=a.Ib();return{layer:a,opacity:Da(c,0,1),R:d,visible:e,Lc:!0,extent:f,zIndex:g,maxResolution:h,minResolution:Math.max(k,0)}}l=Mh.prototype;l.H=function(){return this.get("extent")};l.Hb=function(){return this.get("maxResolution")};l.Ib=function(){return this.get("minResolution")};l.Kb=function(){return this.get("opacity")};l.vb=function(){return this.get("visible")};l.Lb=function(){return this.get("zIndex")};
  l.ac=function(a){this.set("extent",a)};l.ic=function(a){this.set("maxResolution",a)};l.jc=function(a){this.set("minResolution",a)};l.bc=function(a){this.set("opacity",a)};l.cc=function(a){this.set("visible",a)};l.dc=function(a){this.set("zIndex",a)};function Oh(){};function Ph(a,c,d,e,f,g){gb.call(this,a,c);this.vectorContext=d;this.frameState=e;this.context=f;this.glContext=g}y(Ph,gb);function Qh(a){var c=Pa({},a);delete c.source;Mh.call(this,c);this.v=this.j=this.o=null;a.map&&this.setMap(a.map);C(this,rb("source"),this.$k,this);this.Ac(a.source?a.source:null)}y(Qh,Mh);function Rh(a,c){return a.visible&&c>=a.minResolution&&c<a.maxResolution}l=Qh.prototype;l.cf=function(a){a=a?a:[];a.push(Nh(this));return a};l.da=function(){return this.get("source")||null};l.ef=function(){var a=this.da();return a?a.V():"undefined"};l.Dm=function(){this.u()};
  l.$k=function(){this.v&&(Wa(this.v),this.v=null);var a=this.da();a&&(this.v=C(a,"change",this.Dm,this));this.u()};l.setMap=function(a){this.o&&(Wa(this.o),this.o=null);a||this.u();this.j&&(Wa(this.j),this.j=null);a&&(this.o=C(a,"precompose",function(a){var d=Nh(this);d.Lc=!1;d.zIndex=Infinity;a.frameState.layerStatesArray.push(d);a.frameState.layerStates[w(this)]=d},this),this.j=C(this,"change",a.render,a),this.u())};l.Ac=function(a){this.set("source",a)};function Sh(a,c,d,e,f){kb.call(this);this.l=f;this.extent=a;this.f=d;this.resolution=c;this.state=e}y(Sh,kb);function Th(a){a.b("change")}Sh.prototype.H=function(){return this.extent};Sh.prototype.$=function(){return this.resolution};Sh.prototype.V=function(){return this.state};function Uh(a,c,d,e,f,g,h,k){ld(a);0===c&&0===d||od(a,c,d);1==e&&1==f||pd(a,e,f);0!==g&&qd(a,g);0===h&&0===k||od(a,h,k);return a}function Vh(a,c){return a[0]==c[0]&&a[1]==c[1]&&a[4]==c[4]&&a[5]==c[5]&&a[12]==c[12]&&a[13]==c[13]}function Wh(a,c,d){var e=a[1],f=a[5],g=a[13],h=c[0];c=c[1];d[0]=a[0]*h+a[4]*c+a[12];d[1]=e*h+f*c+g;return d};function Xh(a){mb.call(this);this.a=a}y(Xh,mb);l=Xh.prototype;l.na=pa;l.xc=function(a,c,d,e){a=a.slice();Wh(c.pixelToCoordinateMatrix,a,a);if(this.na(a,c,Bc,this))return d.call(e,this.a)};l.ge=Cc;l.Ld=function(a,c,d){return function(e,f){return Yf(a,c,e,f,function(a){d[e]||(d[e]={});d[e][a.ia.toString()]=a})}};l.Gm=function(a){2===a.target.V()&&Yh(this)};function Zh(a,c){var d=c.V();2!=d&&3!=d&&C(c,"change",a.Gm,a);0==d&&(c.load(),d=c.V());return 2==d}
  function Yh(a){var c=a.a;c.vb()&&"ready"==c.ef()&&a.u()}function $h(a,c){c.uh()&&a.postRenderFunctions.push(function(a,c,f){c=w(a).toString();a.Gc(f.viewState.projection,f.usedTiles[c])}.bind(null,c))}function ai(a,c){if(c){var d,e,f;e=0;for(f=c.length;e<f;++e)d=c[e],a[w(d).toString()]=d}}function bi(a,c){var d=c.R;void 0!==d&&("string"===typeof d?a.logos[d]="":ga(d)&&(a.logos[d.src]=d.href))}
  function ci(a,c,d,e){c=w(c).toString();d=d.toString();c in a?d in a[c]?(a=a[c][d],e.b<a.b&&(a.b=e.b),e.a>a.a&&(a.a=e.a),e.g<a.g&&(a.g=e.g),e.f>a.f&&(a.f=e.f)):a[c][d]=e:(a[c]={},a[c][d]=e)}function di(a,c,d){return[c*(Math.round(a[0]/c)+d[0]%2/2),c*(Math.round(a[1]/c)+d[1]%2/2)]}
  function ei(a,c,d,e,f,g,h,k,m,n){var p=w(c).toString();p in a.wantedTiles||(a.wantedTiles[p]={});var q=a.wantedTiles[p];a=a.tileQueue;var r=d.minZoom,u,v,x,z,E,B;for(B=h;B>=r;--B)for(v=Nf(d,g,B,v),x=d.$(B),z=v.b;z<=v.a;++z)for(E=v.g;E<=v.f;++E)h-B<=k?(u=c.Wb(B,z,E,e,f),0==u.V()&&(q[u.ia.toString()]=!0,u.fb()in a.g||a.f([u,p,Rf(d,u.ia),x])),void 0!==m&&m.call(n,u)):c.Tf(B,z,E,f)};function fi(a){this.v=a.opacity;this.U=a.rotateWithView;this.j=a.rotation;this.i=a.scale;this.C=a.snapToPixel}l=fi.prototype;l.le=function(){return this.v};l.Rd=function(){return this.U};l.me=function(){return this.j};l.ne=function(){return this.i};l.Sd=function(){return this.C};l.oe=function(a){this.v=a};l.pe=function(a){this.j=a};l.qe=function(a){this.i=a};function gi(a){a=a||{};this.c=void 0!==a.anchor?a.anchor:[.5,.5];this.f=null;this.a=void 0!==a.anchorOrigin?a.anchorOrigin:"top-left";this.o=void 0!==a.anchorXUnits?a.anchorXUnits:"fraction";this.s=void 0!==a.anchorYUnits?a.anchorYUnits:"fraction";var c=void 0!==a.crossOrigin?a.crossOrigin:null,d=void 0!==a.img?a.img:null,e=void 0!==a.imgSize?a.imgSize:null,f=a.src;void 0!==f&&0!==f.length||!d||(f=d.src||w(d).toString());var g=void 0!==a.src?0:2,h=void 0!==a.color?Fe(a.color):null,k=hi.Ub(),m=k.get(f,
  c,h);m||(m=new ii(d,f,e,c,g,h),k.set(f,c,h,m));this.b=m;this.D=void 0!==a.offset?a.offset:[0,0];this.g=void 0!==a.offsetOrigin?a.offsetOrigin:"top-left";this.l=null;this.B=void 0!==a.size?a.size:null;fi.call(this,{opacity:void 0!==a.opacity?a.opacity:1,rotation:void 0!==a.rotation?a.rotation:0,scale:void 0!==a.scale?a.scale:1,snapToPixel:void 0!==a.snapToPixel?a.snapToPixel:!0,rotateWithView:void 0!==a.rotateWithView?a.rotateWithView:!1})}y(gi,fi);l=gi.prototype;
  l.Tb=function(){if(this.f)return this.f;var a=this.c,c=this.Bb();if("fraction"==this.o||"fraction"==this.s){if(!c)return null;a=this.c.slice();"fraction"==this.o&&(a[0]*=c[0]);"fraction"==this.s&&(a[1]*=c[1])}if("top-left"!=this.a){if(!c)return null;a===this.c&&(a=this.c.slice());if("top-right"==this.a||"bottom-right"==this.a)a[0]=-a[0]+c[0];if("bottom-left"==this.a||"bottom-right"==this.a)a[1]=-a[1]+c[1]}return this.f=a};l.ec=function(){var a=this.b;return a.c?a.c:a.a};l.fd=function(){return this.b.g};
  l.od=function(){return this.b.f};l.ke=function(){var a=this.b;if(!a.o)if(a.s){var c=a.g[0],d=a.g[1],e=yg(c,d);e.fillRect(0,0,c,d);a.o=e.canvas}else a.o=a.a;return a.o};l.Ea=function(){if(this.l)return this.l;var a=this.D;if("top-left"!=this.g){var c=this.Bb(),d=this.b.g;if(!c||!d)return null;a=a.slice();if("top-right"==this.g||"bottom-right"==this.g)a[0]=d[0]-c[0]-a[0];if("bottom-left"==this.g||"bottom-right"==this.g)a[1]=d[1]-c[1]-a[1]}return this.l=a};l.wn=function(){return this.b.j};
  l.Bb=function(){return this.B?this.B:this.b.g};l.jf=function(a,c){return C(this.b,"change",a,c)};l.load=function(){this.b.load()};l.Sf=function(a,c){cb(this.b,"change",a,c)};function ii(a,c,d,e,f,g){kb.call(this);this.o=null;this.a=a?a:new Image;null!==e&&(this.a.crossOrigin=e);this.c=g?document.createElement("CANVAS"):null;this.l=g;this.i=null;this.f=f;this.g=d;this.j=c;this.s=!1;2==this.f&&ji(this)}y(ii,kb);
  function ji(a){var c=yg(1,1);try{c.drawImage(a.a,0,0),c.getImageData(0,0,1,1)}catch(d){a.s=!0}}ii.prototype.v=function(){this.f=3;this.i.forEach(Wa);this.i=null;this.b("change")};
  ii.prototype.U=function(){this.f=2;this.g&&(this.a.width=this.g[0],this.a.height=this.g[1]);this.g=[this.a.width,this.a.height];this.i.forEach(Wa);this.i=null;ji(this);if(!this.s&&null!==this.l){this.c.width=this.a.width;this.c.height=this.a.height;var a=this.c.getContext("2d");a.drawImage(this.a,0,0);for(var c=a.getImageData(0,0,this.a.width,this.a.height),d=c.data,e=this.l[0]/255,f=this.l[1]/255,g=this.l[2]/255,h=0,k=d.length;h<k;h+=4)d[h]*=e,d[h+1]*=f,d[h+2]*=g;a.putImageData(c,0,0)}this.b("change")};
  ii.prototype.load=function(){if(0==this.f){this.f=1;this.i=[bb(this.a,"error",this.v,this),bb(this.a,"load",this.U,this)];try{this.a.src=this.j}catch(a){this.v()}}};function hi(){this.b={};this.a=0}ba(hi);hi.prototype.clear=function(){this.b={};this.a=0};hi.prototype.get=function(a,c,d){a=c+":"+a+":"+(d?Ie(d):"null");return a in this.b?this.b[a]:null};hi.prototype.set=function(a,c,d,e){this.b[c+":"+a+":"+(d?Ie(d):"null")]=e;++this.a};function ki(a,c){this.i=c;this.g={};this.s={}}y(ki,eb);function li(a){var c=a.viewState,d=a.coordinateToPixelMatrix;Uh(d,a.size[0]/2,a.size[1]/2,1/c.resolution,-1/c.resolution,-c.rotation,-c.center[0],-c.center[1]);nd(d,a.pixelToCoordinateMatrix)}l=ki.prototype;l.fa=function(){for(var a in this.g)fb(this.g[a])};function mi(){var a=hi.Ub();if(32<a.a){var c=0,d,e;for(d in a.b)e=a.b[d],0!==(c++&3)||lb(e)||(delete a.b[d],--a.a)}}
  l.na=function(a,c,d,e,f,g){function h(a,f){var g=w(a).toString(),h=c.layerStates[w(f)].Lc;if(!(g in c.skippedFeatureUids)||h)return d.call(e,a,h?f:null)}var k,m=c.viewState,n=m.resolution,p=m.projection,m=a;if(p.a){var p=p.H(),q=sc(p),r=a[0];if(r<p[0]||r>p[2])m=[r+q*Math.ceil((p[0]-r)/q),a[1]]}p=c.layerStatesArray;for(q=p.length-1;0<=q;--q){var u=p[q],r=u.layer;if(Rh(u,n)&&f.call(g,r)&&(u=ni(this,r),r.da()&&(k=u.na(r.da().D?m:a,c,h,e)),k))return k}};
  l.lh=function(a,c,d,e,f,g){var h,k=c.viewState.resolution,m=c.layerStatesArray,n;for(n=m.length-1;0<=n;--n){h=m[n];var p=h.layer;if(Rh(h,k)&&f.call(g,p)&&(h=ni(this,p).xc(a,c,d,e)))return h}};l.mh=function(a,c,d,e){return void 0!==this.na(a,c,Bc,this,d,e)};function ni(a,c){var d=w(c).toString();if(d in a.g)return a.g[d];var e=a.Se(c);a.g[d]=e;a.s[d]=C(e,"change",a.Lk,a);return e}l.Lk=function(){this.i.render()};l.xe=pa;
  l.Lo=function(a,c){for(var d in this.g)if(!(c&&d in c.layerStates)){var e=d,f=this.g[e];delete this.g[e];Wa(this.s[e]);delete this.s[e];fb(f)}};function oi(a,c){for(var d in a.g)if(!(d in c.layerStates)){c.postRenderFunctions.push(a.Lo.bind(a));break}}function Cb(a,c){return a.zIndex-c.zIndex};function pi(a,c){this.j=a;this.l=c;this.b=[];this.a=[];this.g={}}pi.prototype.clear=function(){this.b.length=0;this.a.length=0;Qa(this.g)};function qi(a){var c=a.b,d=a.a,e=c[0];1==c.length?(c.length=0,d.length=0):(c[0]=c.pop(),d[0]=d.pop(),ri(a,0));c=a.l(e);delete a.g[c];return e}pi.prototype.f=function(a){var c=this.j(a);return Infinity!=c?(this.b.push(a),this.a.push(c),this.g[this.l(a)]=!0,si(this,0,this.b.length-1),!0):!1};pi.prototype.rc=function(){return this.b.length};
  pi.prototype.Ya=function(){return 0===this.b.length};function ri(a,c){for(var d=a.b,e=a.a,f=d.length,g=d[c],h=e[c],k=c;c<f>>1;){var m=2*c+1,n=2*c+2,m=n<f&&e[n]<e[m]?n:m;d[c]=d[m];e[c]=e[m];c=m}d[c]=g;e[c]=h;si(a,k,c)}function si(a,c,d){var e=a.b;a=a.a;for(var f=e[d],g=a[d];d>c;){var h=d-1>>1;if(a[h]>g)e[d]=e[h],a[d]=a[h],d=h;else break}e[d]=f;a[d]=g}
  function ti(a){var c=a.j,d=a.b,e=a.a,f=0,g=d.length,h,k,m;for(k=0;k<g;++k)h=d[k],m=c(h),Infinity==m?delete a.g[a.l(h)]:(e[f]=m,d[f++]=h);d.length=f;e.length=f;for(c=(a.b.length>>1)-1;0<=c;c--)ri(a,c)};function ui(a,c){pi.call(this,function(c){return a.apply(null,c)},function(a){return a[0].fb()});this.s=c;this.i=0;this.c={}}y(ui,pi);ui.prototype.f=function(a){var c=pi.prototype.f.call(this,a);c&&C(a[0],"change",this.o,this);return c};ui.prototype.o=function(a){a=a.target;var c=a.V();if(2===c||3===c||4===c||5===c)cb(a,"change",this.o,this),a=a.fb(),a in this.c&&(delete this.c[a],--this.i),this.s()};
  function vi(a,c,d){for(var e=0,f,g;a.i<c&&e<d&&0<a.rc();)f=qi(a)[0],g=f.fb(),0!==f.V()||g in a.c||(a.c[g]=!0,++a.i,++e,f.load())};function wi(a,c,d){this.f=a;this.g=c;this.i=d;this.b=[];this.a=this.c=0}function xi(a,c){var d=a.f,e=a.a,f=a.g-e,g=Math.log(a.g/a.a)/a.f;return ne({source:c,duration:g,easing:function(a){return e*(Math.exp(d*a*g)-1)/f}})};function yi(a){pb.call(this);this.v=null;this.i(!0);this.handleEvent=a.handleEvent}y(yi,pb);yi.prototype.f=function(){return this.get("active")};yi.prototype.l=function(){return this.v};yi.prototype.i=function(a){this.set("active",a)};yi.prototype.setMap=function(a){this.v=a};function zi(a,c,d,e,f){if(void 0!==d){var g=c.Ja(),h=c.ab();void 0!==g&&h&&f&&0<f&&(a.Ta(oe({rotation:g,duration:f,easing:je})),e&&a.Ta(ne({source:h,duration:f,easing:je})));c.rotate(d,e)}}
  function Ai(a,c,d,e,f){var g=c.$();d=c.constrainResolution(g,d,0);Bi(a,c,d,e,f)}function Bi(a,c,d,e,f){if(d){var g=c.$(),h=c.ab();void 0!==g&&h&&d!==g&&f&&0<f&&(a.Ta(pe({resolution:g,duration:f,easing:je})),e&&a.Ta(ne({source:h,duration:f,easing:je})));if(e){var k;a=c.ab();f=c.$();void 0!==a&&void 0!==f&&(k=[e[0]-d*(e[0]-a[0])/f,e[1]-d*(e[1]-a[1])/f]);c.ib(k)}c.Pb(d)}};function Ci(a){a=a?a:{};this.a=a.delta?a.delta:1;yi.call(this,{handleEvent:Di});this.c=void 0!==a.duration?a.duration:250}y(Ci,yi);function Di(a){var c=!1,d=a.originalEvent;if(a.type==Dh){var c=a.map,e=a.coordinate,d=d.shiftKey?-this.a:this.a,f=c.aa();Ai(c,f,d,e,this.c);a.preventDefault();c=!0}return!c};function Ei(a){a=a.originalEvent;return a.altKey&&!(a.metaKey||a.ctrlKey)&&a.shiftKey}function Fi(a){a=a.originalEvent;return 0==a.button&&!(We&&Jg&&a.ctrlKey)}function Gi(a){return"pointermove"==a.type}function Hi(a){return a.type==Eh}function Ii(a){a=a.originalEvent;return!a.altKey&&!(a.metaKey||a.ctrlKey)&&!a.shiftKey}function Ji(a){a=a.originalEvent;return!a.altKey&&!(a.metaKey||a.ctrlKey)&&a.shiftKey}
  function Ki(a){a=a.originalEvent.target.tagName;return"INPUT"!==a&&"SELECT"!==a&&"TEXTAREA"!==a}function Li(a){return"mouse"==a.b.pointerType}function Mi(a){a=a.b;return a.isPrimary&&0===a.button};function Ni(a){a=a?a:{};yi.call(this,{handleEvent:a.handleEvent?a.handleEvent:Oi});this.Je=a.handleDownEvent?a.handleDownEvent:Cc;this.Ke=a.handleDragEvent?a.handleDragEvent:pa;this.Gi=a.handleMoveEvent?a.handleMoveEvent:pa;this.nj=a.handleUpEvent?a.handleUpEvent:Cc;this.C=!1;this.ea={};this.o=[]}y(Ni,yi);function Pi(a){for(var c=a.length,d=0,e=0,f=0;f<c;f++)d+=a[f].clientX,e+=a[f].clientY;return[d/c,e/c]}
  function Oi(a){if(!(a instanceof zh))return!0;var c=!1,d=a.type;if(d===Ih||d===Kh||d===Gh)d=a.b,a.type==Gh?delete this.ea[d.pointerId]:a.type==Ih?this.ea[d.pointerId]=d:d.pointerId in this.ea&&(this.ea[d.pointerId]=d),this.o=Ra(this.ea);this.C&&(a.type==Kh?this.Ke(a):a.type==Gh&&(this.C=this.nj(a)));a.type==Ih?(this.C=a=this.Je(a),c=this.Bc(a)):a.type==Jh&&this.Gi(a);return!c}Ni.prototype.Bc=function(a){return a};function Qi(a){Ni.call(this,{handleDownEvent:Ri,handleDragEvent:Si,handleUpEvent:Ti});a=a?a:{};this.a=a.kinetic;this.c=this.j=null;this.B=a.condition?a.condition:Ii;this.s=!1}y(Qi,Ni);function Si(a){var c=Pi(this.o);this.a&&this.a.b.push(c[0],c[1],Date.now());if(this.c){var d=this.c[0]-c[0],e=c[1]-this.c[1];a=a.map;var f=a.aa(),g=f.V(),e=d=[d,e],h=g.resolution;e[0]*=h;e[1]*=h;Rb(d,g.rotation);Mb(d,g.center);d=f.Kd(d);a.render();f.ib(d)}this.c=c}
  function Ti(a){a=a.map;var c=a.aa();if(0===this.o.length){var d;if(d=!this.s&&this.a)if(d=this.a,6>d.b.length)d=!1;else{var e=Date.now()-d.i,f=d.b.length-3;if(d.b[f+2]<e)d=!1;else{for(var g=f-3;0<g&&d.b[g+2]>e;)g-=3;var e=d.b[f+2]-d.b[g+2],h=d.b[f]-d.b[g],f=d.b[f+1]-d.b[g+1];d.c=Math.atan2(f,h);d.a=Math.sqrt(h*h+f*f)/e;d=d.a>d.g}}d&&(d=this.a,d=(d.g-d.a)/d.f,f=this.a.c,g=c.ab(),this.j=xi(this.a,g),a.Ta(this.j),g=a.Ca(g),d=a.La([g[0]-d*Math.cos(f),g[1]-d*Math.sin(f)]),d=c.Kd(d),c.ib(d));he(c,-1);a.render();
  return!1}this.c=null;return!0}function Ri(a){if(0<this.o.length&&this.B(a)){var c=a.map,d=c.aa();this.c=null;this.C||he(d,1);c.render();this.j&&yb(c.R,this.j)&&(d.ib(a.frameState.viewState.center),this.j=null);this.a&&(a=this.a,a.b.length=0,a.c=0,a.a=0);this.s=1<this.o.length;return!0}return!1}Qi.prototype.Bc=Cc;function Ui(a){a=a?a:{};Ni.call(this,{handleDownEvent:Vi,handleDragEvent:Wi,handleUpEvent:Xi});this.c=a.condition?a.condition:Ei;this.a=void 0;this.j=void 0!==a.duration?a.duration:250}y(Ui,Ni);function Wi(a){if(Li(a)){var c=a.map,d=c.Za();a=a.pixel;d=Math.atan2(d[1]/2-a[1],a[0]-d[0]/2);if(void 0!==this.a){a=d-this.a;var e=c.aa(),f=e.Ja();c.render();zi(c,e,f-a)}this.a=d}}
  function Xi(a){if(!Li(a))return!0;a=a.map;var c=a.aa();he(c,-1);var d=c.Ja(),e=this.j,d=c.constrainRotation(d,0);zi(a,c,d,void 0,e);return!1}function Vi(a){return Li(a)&&Fi(a)&&this.c(a)?(a=a.map,he(a.aa(),1),a.render(),this.a=void 0,!0):!1}Ui.prototype.Bc=Cc;function Yi(a){this.f=null;this.a=document.createElement("div");this.a.style.position="absolute";this.a.className="ol-box "+a;this.g=this.c=this.b=null}ma(Yi,eb);Yi.prototype.fa=function(){this.setMap(null)};function Zi(a){var c=a.c,d=a.g;a=a.a.style;a.left=Math.min(c[0],d[0])+"px";a.top=Math.min(c[1],d[1])+"px";a.width=Math.abs(d[0]-c[0])+"px";a.height=Math.abs(d[1]-c[1])+"px"}
  Yi.prototype.setMap=function(a){if(this.b){this.b.B.removeChild(this.a);var c=this.a.style;c.left=c.top=c.width=c.height="inherit"}(this.b=a)&&this.b.B.appendChild(this.a)};function $i(a){var c=a.c,d=a.g,c=[c,[c[0],d[1]],d,[d[0],c[1]]].map(a.b.La,a.b);c[4]=c[0].slice();a.f?a.f.la([c]):a.f=new F([c])}Yi.prototype.W=function(){return this.f};function aj(a,c,d){gb.call(this,a);this.coordinate=c;this.mapBrowserEvent=d}y(aj,gb);function bj(a){Ni.call(this,{handleDownEvent:cj,handleDragEvent:dj,handleUpEvent:ej});a=a?a:{};this.a=new Yi(a.className||"ol-dragbox");this.c=null;this.D=a.condition?a.condition:Bc;this.B=a.boxEndCondition?a.boxEndCondition:fj}y(bj,Ni);function fj(a,c,d){a=d[0]-c[0];c=d[1]-c[1];return 64<=a*a+c*c}
  function dj(a){if(Li(a)){var c=this.a,d=a.pixel;c.c=this.c;c.g=d;$i(c);Zi(c);this.b(new aj("boxdrag",a.coordinate,a))}}bj.prototype.W=function(){return this.a.W()};bj.prototype.s=pa;function ej(a){if(!Li(a))return!0;this.a.setMap(null);this.B(a,this.c,a.pixel)&&(this.s(a),this.b(new aj("boxend",a.coordinate,a)));return!1}
  function cj(a){if(Li(a)&&Fi(a)&&this.D(a)){this.c=a.pixel;this.a.setMap(a.map);var c=this.a,d=this.c;c.c=this.c;c.g=d;$i(c);Zi(c);this.b(new aj("boxstart",a.coordinate,a));return!0}return!1};function gj(a){a=a?a:{};var c=a.condition?a.condition:Ji;this.j=void 0!==a.duration?a.duration:200;this.R=void 0!==a.out?a.out:!1;bj.call(this,{condition:c,className:a.className||"ol-dragzoom"})}y(gj,bj);
  gj.prototype.s=function(){var a=this.v,c=a.aa(),d=a.Za(),e=this.W().H();if(this.R){var f=c.Fc(d),e=[a.Ca(mc(e)),a.Ca(oc(e))],g=ec(Infinity,Infinity,-Infinity,-Infinity,void 0),h,k;h=0;for(k=e.length;h<k;++h)Xb(g,e[h]);zc(f,1/de(g,d));e=f}d=c.constrainResolution(de(e,d));f=c.$();g=c.ab();a.Ta(pe({resolution:f,duration:this.j,easing:je}));a.Ta(ne({source:g,duration:this.j,easing:je}));c.ib(uc(e));c.Pb(d)};function hj(a){yi.call(this,{handleEvent:ij});a=a||{};this.a=function(a){return Ii(a)&&Ki(a)};this.c=void 0!==a.condition?a.condition:this.a;this.o=void 0!==a.duration?a.duration:100;this.j=void 0!==a.pixelDelta?a.pixelDelta:128}y(hj,yi);
  function ij(a){var c=!1;if("keydown"==a.type){var d=a.originalEvent.keyCode;if(this.c(a)&&(40==d||37==d||39==d||38==d)){var e=a.map,c=e.aa(),f=c.$()*this.j,g=0,h=0;40==d?h=-f:37==d?g=-f:39==d?g=f:h=f;d=[g,h];Rb(d,c.Ja());f=this.o;if(g=c.ab())f&&0<f&&e.Ta(ne({source:g,duration:f,easing:le})),e=c.Kd([g[0]+d[0],g[1]+d[1]]),c.ib(e);a.preventDefault();c=!0}}return!c};function jj(a){yi.call(this,{handleEvent:kj});a=a?a:{};this.c=a.condition?a.condition:Ki;this.a=a.delta?a.delta:1;this.o=void 0!==a.duration?a.duration:100}y(jj,yi);function kj(a){var c=!1;if("keydown"==a.type||"keypress"==a.type){var d=a.originalEvent.charCode;if(this.c(a)&&(43==d||45==d)){c=a.map;d=43==d?this.a:-this.a;c.render();var e=c.aa();Ai(c,e,d,void 0,this.o);a.preventDefault();c=!0}}return!c};function lj(a){yi.call(this,{handleEvent:mj});a=a||{};this.c=0;this.C=void 0!==a.duration?a.duration:250;this.s=void 0!==a.useAnchor?a.useAnchor:!0;this.a=null;this.j=this.o=void 0}y(lj,yi);
  function mj(a){var c=!1;if("wheel"==a.type||"mousewheel"==a.type){var c=a.map,d=a.originalEvent;this.s&&(this.a=a.coordinate);var e;"wheel"==a.type?(e=d.deltaY,Hg&&d.deltaMode===qa.WheelEvent.DOM_DELTA_PIXEL&&(e/=Kg),d.deltaMode===qa.WheelEvent.DOM_DELTA_LINE&&(e*=40)):"mousewheel"==a.type&&(e=-d.wheelDeltaY,Ig&&(e/=3));this.c+=e;void 0===this.o&&(this.o=Date.now());e=Math.max(80-(Date.now()-this.o),0);qa.clearTimeout(this.j);this.j=qa.setTimeout(this.B.bind(this,c),e);a.preventDefault();c=!0}return!c}
  lj.prototype.B=function(a){var c=Da(this.c,-1,1),d=a.aa();a.render();Ai(a,d,-c,this.a,this.C);this.c=0;this.a=null;this.j=this.o=void 0};lj.prototype.D=function(a){this.s=a;a||(this.a=null)};function nj(a){Ni.call(this,{handleDownEvent:oj,handleDragEvent:pj,handleUpEvent:qj});a=a||{};this.c=null;this.j=void 0;this.a=!1;this.s=0;this.D=void 0!==a.threshold?a.threshold:.3;this.B=void 0!==a.duration?a.duration:250}y(nj,Ni);
  function pj(a){var c=0,d=this.o[0],e=this.o[1],d=Math.atan2(e.clientY-d.clientY,e.clientX-d.clientX);void 0!==this.j&&(c=d-this.j,this.s+=c,!this.a&&Math.abs(this.s)>this.D&&(this.a=!0));this.j=d;a=a.map;d=a.a.getBoundingClientRect();e=Pi(this.o);e[0]-=d.left;e[1]-=d.top;this.c=a.La(e);this.a&&(d=a.aa(),e=d.Ja(),a.render(),zi(a,d,e+c,this.c))}
  function qj(a){if(2>this.o.length){a=a.map;var c=a.aa();he(c,-1);if(this.a){var d=c.Ja(),e=this.c,f=this.B,d=c.constrainRotation(d,0);zi(a,c,d,e,f)}return!1}return!0}function oj(a){return 2<=this.o.length?(a=a.map,this.c=null,this.j=void 0,this.a=!1,this.s=0,this.C||he(a.aa(),1),a.render(),!0):!1}nj.prototype.Bc=Cc;function rj(a){Ni.call(this,{handleDownEvent:sj,handleDragEvent:tj,handleUpEvent:uj});a=a?a:{};this.c=null;this.s=void 0!==a.duration?a.duration:400;this.a=void 0;this.j=1}y(rj,Ni);function tj(a){var c=1,d=this.o[0],e=this.o[1],f=d.clientX-e.clientX,d=d.clientY-e.clientY,f=Math.sqrt(f*f+d*d);void 0!==this.a&&(c=this.a/f);this.a=f;1!=c&&(this.j=c);a=a.map;var f=a.aa(),d=f.$(),e=a.a.getBoundingClientRect(),g=Pi(this.o);g[0]-=e.left;g[1]-=e.top;this.c=a.La(g);a.render();Bi(a,f,d*c,this.c)}
  function uj(a){if(2>this.o.length){a=a.map;var c=a.aa();he(c,-1);var d=c.$(),e=this.c,f=this.s,d=c.constrainResolution(d,0,this.j-1);Bi(a,c,d,e,f);return!1}return!0}function sj(a){return 2<=this.o.length?(a=a.map,this.c=null,this.a=void 0,this.j=1,this.C||he(a.aa(),1),a.render(),!0):!1}rj.prototype.Bc=Cc;function vj(a){a=a?a:{};var c=new we,d=new wi(-.005,.05,100);(void 0!==a.altShiftDragRotate?a.altShiftDragRotate:1)&&c.push(new Ui);(void 0!==a.doubleClickZoom?a.doubleClickZoom:1)&&c.push(new Ci({delta:a.zoomDelta,duration:a.zoomDuration}));(void 0!==a.dragPan?a.dragPan:1)&&c.push(new Qi({kinetic:d}));(void 0!==a.pinchRotate?a.pinchRotate:1)&&c.push(new nj);(void 0!==a.pinchZoom?a.pinchZoom:1)&&c.push(new rj({duration:a.zoomDuration}));if(void 0!==a.keyboard?a.keyboard:1)c.push(new hj),c.push(new jj({delta:a.zoomDelta,
  duration:a.zoomDuration}));(void 0!==a.mouseWheelZoom?a.mouseWheelZoom:1)&&c.push(new lj({duration:a.zoomDuration}));(void 0!==a.shiftDragZoom?a.shiftDragZoom:1)&&c.push(new gj({duration:a.zoomDuration}));return c};function wj(a){var c=a||{};a=Pa({},c);delete a.layers;c=c.layers;Mh.call(this,a);this.f=[];this.a={};C(this,rb("layers"),this.Nk,this);c?Array.isArray(c)&&(c=new we(c.slice())):c=new we;this.ih(c)}y(wj,Mh);l=wj.prototype;l.Xd=function(){this.vb()&&this.u()};
  l.Nk=function(){this.f.forEach(Wa);this.f.length=0;var a=this.Oc();this.f.push(C(a,"add",this.Mk,this),C(a,"remove",this.Ok,this));for(var c in this.a)this.a[c].forEach(Wa);Qa(this.a);var a=a.a,d,e;c=0;for(d=a.length;c<d;c++)e=a[c],this.a[w(e).toString()]=[C(e,"propertychange",this.Xd,this),C(e,"change",this.Xd,this)];this.u()};l.Mk=function(a){a=a.element;var c=w(a).toString();this.a[c]=[C(a,"propertychange",this.Xd,this),C(a,"change",this.Xd,this)];this.u()};
  l.Ok=function(a){a=w(a.element).toString();this.a[a].forEach(Wa);delete this.a[a];this.u()};l.Oc=function(){return this.get("layers")};l.ih=function(a){this.set("layers",a)};
  l.cf=function(a){var c=void 0!==a?a:[],d=c.length;this.Oc().forEach(function(a){a.cf(c)});a=Nh(this);var e,f;for(e=c.length;d<e;d++)f=c[d],f.opacity*=a.opacity,f.visible=f.visible&&a.visible,f.maxResolution=Math.min(f.maxResolution,a.maxResolution),f.minResolution=Math.max(f.minResolution,a.minResolution),void 0!==a.extent&&(f.extent=void 0!==f.extent?xc(f.extent,a.extent):a.extent);return c};l.ef=function(){return"ready"};function xj(a){Gc.call(this,{code:a,units:"m",extent:yj,global:!0,worldExtent:zj})}y(xj,Gc);xj.prototype.getPointResolution=function(a,c){return a/Ea(c[1]/6378137)};var Aj=6378137*Math.PI,yj=[-Aj,-Aj,Aj,Aj],zj=[-180,-85,180,85],Sc="EPSG:3857 EPSG:102100 EPSG:102113 EPSG:900913 urn:ogc:def:crs:EPSG:6.18:3:3857 urn:ogc:def:crs:EPSG::3857 http://www.opengis.net/gml/srs/epsg.xml#3857".split(" ").map(function(a){return new xj(a)});
  function Tc(a,c,d){var e=a.length;d=1<d?d:2;void 0===c&&(2<d?c=a.slice():c=Array(e));for(var f=0;f<e;f+=d)c[f]=6378137*Math.PI*a[f]/180,c[f+1]=6378137*Math.log(Math.tan(Math.PI*(a[f+1]+90)/360));return c}function Uc(a,c,d){var e=a.length;d=1<d?d:2;void 0===c&&(2<d?c=a.slice():c=Array(e));for(var f=0;f<e;f+=d)c[f]=180*a[f]/(6378137*Math.PI),c[f+1]=360*Math.atan(Math.exp(a[f+1]/6378137))/Math.PI-90;return c};var Bj=new Dc(6378137);function Cj(a,c){Gc.call(this,{code:a,units:"degrees",extent:Dj,axisOrientation:c,global:!0,metersPerUnit:Ej,worldExtent:Dj})}y(Cj,Gc);Cj.prototype.getPointResolution=function(a){return a};
  var Dj=[-180,-90,180,90],Ej=Math.PI*Bj.radius/180,Vc=[new Cj("CRS:84"),new Cj("EPSG:4326","neu"),new Cj("urn:ogc:def:crs:EPSG::4326","neu"),new Cj("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new Cj("urn:ogc:def:crs:OGC:1.3:CRS84"),new Cj("urn:ogc:def:crs:OGC:2:84"),new Cj("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new Cj("urn:x-ogc:def:crs:EPSG:4326","neu")];function Fj(){Kc(Sc);Kc(Vc);Rc()};function Gj(a){Qh.call(this,a?a:{})}y(Gj,Qh);function Hj(a){a=a?a:{};var c=Pa({},a);delete c.preload;delete c.useInterimTilesOnError;Qh.call(this,c);this.l(void 0!==a.preload?a.preload:0);this.B(void 0!==a.useInterimTilesOnError?a.useInterimTilesOnError:!0)}y(Hj,Qh);Hj.prototype.f=function(){return this.get("preload")};Hj.prototype.l=function(a){this.set("preload",a)};Hj.prototype.c=function(){return this.get("useInterimTilesOnError")};Hj.prototype.B=function(a){this.set("useInterimTilesOnError",a)};var Ij=[0,0,0,1],Jj=[],Kj=[0,0,0,1];function Lj(a,c,d,e){0!==c&&(a.translate(d,e),a.rotate(c),a.translate(-d,-e))};function Mj(a){a=a||{};this.b=void 0!==a.color?a.color:null;this.a=void 0}Mj.prototype.g=function(){return this.b};Mj.prototype.f=function(a){this.b=a;this.a=void 0};function Nj(a){void 0===a.a&&(a.a=a.b instanceof CanvasPattern||a.b instanceof CanvasGradient?w(a.b).toString():"f"+(a.b?Ie(a.b):"-"));return a.a};function Oj(){this.a=-1};function Pj(){this.a=-1;this.a=64;this.b=Array(4);this.c=Array(this.a);this.f=this.g=0;this.b[0]=1732584193;this.b[1]=4023233417;this.b[2]=2562383102;this.b[3]=271733878;this.f=this.g=0}ma(Pj,Oj);
  function Qj(a,c,d){d||(d=0);var e=Array(16);if(ea(c))for(var f=0;16>f;++f)e[f]=c.charCodeAt(d++)|c.charCodeAt(d++)<<8|c.charCodeAt(d++)<<16|c.charCodeAt(d++)<<24;else for(f=0;16>f;++f)e[f]=c[d++]|c[d++]<<8|c[d++]<<16|c[d++]<<24;c=a.b[0];d=a.b[1];var f=a.b[2],g=a.b[3],h;h=c+(g^d&(f^g))+e[0]+3614090360&4294967295;c=d+(h<<7&4294967295|h>>>25);h=g+(f^c&(d^f))+e[1]+3905402710&4294967295;g=c+(h<<12&4294967295|h>>>20);h=f+(d^g&(c^d))+e[2]+606105819&4294967295;f=g+(h<<17&4294967295|h>>>15);h=d+(c^f&(g^c))+
  e[3]+3250441966&4294967295;d=f+(h<<22&4294967295|h>>>10);h=c+(g^d&(f^g))+e[4]+4118548399&4294967295;c=d+(h<<7&4294967295|h>>>25);h=g+(f^c&(d^f))+e[5]+1200080426&4294967295;g=c+(h<<12&4294967295|h>>>20);h=f+(d^g&(c^d))+e[6]+2821735955&4294967295;f=g+(h<<17&4294967295|h>>>15);h=d+(c^f&(g^c))+e[7]+4249261313&4294967295;d=f+(h<<22&4294967295|h>>>10);h=c+(g^d&(f^g))+e[8]+1770035416&4294967295;c=d+(h<<7&4294967295|h>>>25);h=g+(f^c&(d^f))+e[9]+2336552879&4294967295;g=c+(h<<12&4294967295|h>>>20);h=f+(d^g&
  (c^d))+e[10]+4294925233&4294967295;f=g+(h<<17&4294967295|h>>>15);h=d+(c^f&(g^c))+e[11]+2304563134&4294967295;d=f+(h<<22&4294967295|h>>>10);h=c+(g^d&(f^g))+e[12]+1804603682&4294967295;c=d+(h<<7&4294967295|h>>>25);h=g+(f^c&(d^f))+e[13]+4254626195&4294967295;g=c+(h<<12&4294967295|h>>>20);h=f+(d^g&(c^d))+e[14]+2792965006&4294967295;f=g+(h<<17&4294967295|h>>>15);h=d+(c^f&(g^c))+e[15]+1236535329&4294967295;d=f+(h<<22&4294967295|h>>>10);h=c+(f^g&(d^f))+e[1]+4129170786&4294967295;c=d+(h<<5&4294967295|h>>>
  27);h=g+(d^f&(c^d))+e[6]+3225465664&4294967295;g=c+(h<<9&4294967295|h>>>23);h=f+(c^d&(g^c))+e[11]+643717713&4294967295;f=g+(h<<14&4294967295|h>>>18);h=d+(g^c&(f^g))+e[0]+3921069994&4294967295;d=f+(h<<20&4294967295|h>>>12);h=c+(f^g&(d^f))+e[5]+3593408605&4294967295;c=d+(h<<5&4294967295|h>>>27);h=g+(d^f&(c^d))+e[10]+38016083&4294967295;g=c+(h<<9&4294967295|h>>>23);h=f+(c^d&(g^c))+e[15]+3634488961&4294967295;f=g+(h<<14&4294967295|h>>>18);h=d+(g^c&(f^g))+e[4]+3889429448&4294967295;d=f+(h<<20&4294967295|
  h>>>12);h=c+(f^g&(d^f))+e[9]+568446438&4294967295;c=d+(h<<5&4294967295|h>>>27);h=g+(d^f&(c^d))+e[14]+3275163606&4294967295;g=c+(h<<9&4294967295|h>>>23);h=f+(c^d&(g^c))+e[3]+4107603335&4294967295;f=g+(h<<14&4294967295|h>>>18);h=d+(g^c&(f^g))+e[8]+1163531501&4294967295;d=f+(h<<20&4294967295|h>>>12);h=c+(f^g&(d^f))+e[13]+2850285829&4294967295;c=d+(h<<5&4294967295|h>>>27);h=g+(d^f&(c^d))+e[2]+4243563512&4294967295;g=c+(h<<9&4294967295|h>>>23);h=f+(c^d&(g^c))+e[7]+1735328473&4294967295;f=g+(h<<14&4294967295|
  h>>>18);h=d+(g^c&(f^g))+e[12]+2368359562&4294967295;d=f+(h<<20&4294967295|h>>>12);h=c+(d^f^g)+e[5]+4294588738&4294967295;c=d+(h<<4&4294967295|h>>>28);h=g+(c^d^f)+e[8]+2272392833&4294967295;g=c+(h<<11&4294967295|h>>>21);h=f+(g^c^d)+e[11]+1839030562&4294967295;f=g+(h<<16&4294967295|h>>>16);h=d+(f^g^c)+e[14]+4259657740&4294967295;d=f+(h<<23&4294967295|h>>>9);h=c+(d^f^g)+e[1]+2763975236&4294967295;c=d+(h<<4&4294967295|h>>>28);h=g+(c^d^f)+e[4]+1272893353&4294967295;g=c+(h<<11&4294967295|h>>>21);h=f+(g^
  c^d)+e[7]+4139469664&4294967295;f=g+(h<<16&4294967295|h>>>16);h=d+(f^g^c)+e[10]+3200236656&4294967295;d=f+(h<<23&4294967295|h>>>9);h=c+(d^f^g)+e[13]+681279174&4294967295;c=d+(h<<4&4294967295|h>>>28);h=g+(c^d^f)+e[0]+3936430074&4294967295;g=c+(h<<11&4294967295|h>>>21);h=f+(g^c^d)+e[3]+3572445317&4294967295;f=g+(h<<16&4294967295|h>>>16);h=d+(f^g^c)+e[6]+76029189&4294967295;d=f+(h<<23&4294967295|h>>>9);h=c+(d^f^g)+e[9]+3654602809&4294967295;c=d+(h<<4&4294967295|h>>>28);h=g+(c^d^f)+e[12]+3873151461&4294967295;
  g=c+(h<<11&4294967295|h>>>21);h=f+(g^c^d)+e[15]+530742520&4294967295;f=g+(h<<16&4294967295|h>>>16);h=d+(f^g^c)+e[2]+3299628645&4294967295;d=f+(h<<23&4294967295|h>>>9);h=c+(f^(d|~g))+e[0]+4096336452&4294967295;c=d+(h<<6&4294967295|h>>>26);h=g+(d^(c|~f))+e[7]+1126891415&4294967295;g=c+(h<<10&4294967295|h>>>22);h=f+(c^(g|~d))+e[14]+2878612391&4294967295;f=g+(h<<15&4294967295|h>>>17);h=d+(g^(f|~c))+e[5]+4237533241&4294967295;d=f+(h<<21&4294967295|h>>>11);h=c+(f^(d|~g))+e[12]+1700485571&4294967295;c=d+
  (h<<6&4294967295|h>>>26);h=g+(d^(c|~f))+e[3]+2399980690&4294967295;g=c+(h<<10&4294967295|h>>>22);h=f+(c^(g|~d))+e[10]+4293915773&4294967295;f=g+(h<<15&4294967295|h>>>17);h=d+(g^(f|~c))+e[1]+2240044497&4294967295;d=f+(h<<21&4294967295|h>>>11);h=c+(f^(d|~g))+e[8]+1873313359&4294967295;c=d+(h<<6&4294967295|h>>>26);h=g+(d^(c|~f))+e[15]+4264355552&4294967295;g=c+(h<<10&4294967295|h>>>22);h=f+(c^(g|~d))+e[6]+2734768916&4294967295;f=g+(h<<15&4294967295|h>>>17);h=d+(g^(f|~c))+e[13]+1309151649&4294967295;
  d=f+(h<<21&4294967295|h>>>11);h=c+(f^(d|~g))+e[4]+4149444226&4294967295;c=d+(h<<6&4294967295|h>>>26);h=g+(d^(c|~f))+e[11]+3174756917&4294967295;g=c+(h<<10&4294967295|h>>>22);h=f+(c^(g|~d))+e[2]+718787259&4294967295;f=g+(h<<15&4294967295|h>>>17);h=d+(g^(f|~c))+e[9]+3951481745&4294967295;a.b[0]=a.b[0]+c&4294967295;a.b[1]=a.b[1]+(f+(h<<21&4294967295|h>>>11))&4294967295;a.b[2]=a.b[2]+f&4294967295;a.b[3]=a.b[3]+g&4294967295}
  function Rj(a,c){var d;void 0===d&&(d=c.length);for(var e=d-a.a,f=a.c,g=a.g,h=0;h<d;){if(0==g)for(;h<=e;)Qj(a,c,h),h+=a.a;if(ea(c))for(;h<d;){if(f[g++]=c.charCodeAt(h++),g==a.a){Qj(a,f);g=0;break}}else for(;h<d;)if(f[g++]=c[h++],g==a.a){Qj(a,f);g=0;break}}a.g=g;a.f+=d};function Sj(a){a=a||{};this.b=void 0!==a.color?a.color:null;this.f=a.lineCap;this.g=void 0!==a.lineDash?a.lineDash:null;this.c=a.lineJoin;this.i=a.miterLimit;this.a=a.width;this.l=void 0}l=Sj.prototype;l.Cn=function(){return this.b};l.Yj=function(){return this.f};l.Dn=function(){return this.g};l.Zj=function(){return this.c};l.dk=function(){return this.i};l.En=function(){return this.a};l.Fn=function(a){this.b=a;this.l=void 0};l.Xo=function(a){this.f=a;this.l=void 0};
  l.Gn=function(a){this.g=a;this.l=void 0};l.Yo=function(a){this.c=a;this.l=void 0};l.Zo=function(a){this.i=a;this.l=void 0};l.cp=function(a){this.a=a;this.l=void 0};
  function Tj(a){if(void 0===a.l){var c="s"+(a.b?Ie(a.b):"-")+","+(void 0!==a.f?a.f.toString():"-")+","+(a.g?a.g.toString():"-")+","+(void 0!==a.c?a.c:"-")+","+(void 0!==a.i?a.i.toString():"-")+","+(void 0!==a.a?a.a.toString():"-"),d=new Pj;Rj(d,c);c=Array((56>d.g?d.a:2*d.a)-d.g);c[0]=128;for(var e=1;e<c.length-8;++e)c[e]=0;for(var f=8*d.f,e=c.length-8;e<c.length;++e)c[e]=f&255,f/=256;Rj(d,c);c=Array(16);for(e=f=0;4>e;++e)for(var g=0;32>g;g+=8)c[f++]=d.b[e]>>>g&255;if(8192>=c.length)d=String.fromCharCode.apply(null,
  c);else for(d="",e=0;e<c.length;e+=8192)f=Be(c,e,e+8192),d+=String.fromCharCode.apply(null,f);a.l=d}return a.l};function Uj(a){a=a||{};this.l=this.f=this.c=null;this.g=void 0!==a.fill?a.fill:null;this.b=void 0!==a.stroke?a.stroke:null;this.a=a.radius;this.B=[0,0];this.s=this.D=this.o=null;var c=a.atlasManager,d,e=null,f,g=0;this.b&&(f=Ie(this.b.b),g=this.b.a,void 0===g&&(g=1),e=this.b.g,Lg||(e=null));var h=2*(this.a+g)+1;f={strokeStyle:f,wd:g,size:h,lineDash:e};if(void 0===c)c=yg(h,h),this.f=c.canvas,d=h=this.f.width,this.Ah(f,c,0,0),this.g?this.l=this.f:(c=yg(f.size,f.size),this.l=c.canvas,this.zh(f,c,0,0));
  else{h=Math.round(h);(e=!this.g)&&(d=this.zh.bind(this,f));var g=this.b?Tj(this.b):"-",k=this.g?Nj(this.g):"-";this.c&&g==this.c[1]&&k==this.c[2]&&this.a==this.c[3]||(this.c=["c"+g+k+(void 0!==this.a?this.a.toString():"-"),g,k,this.a]);c=c.add(this.c[0],h,h,this.Ah.bind(this,f),d);this.f=c.image;this.B=[c.offsetX,c.offsetY];d=c.image.width;this.l=e?c.Mg:this.f}this.o=[h/2,h/2];this.D=[h,h];this.s=[d,d];fi.call(this,{opacity:1,rotateWithView:!1,rotation:0,scale:1,snapToPixel:void 0!==a.snapToPixel?
  a.snapToPixel:!0})}y(Uj,fi);l=Uj.prototype;l.Tb=function(){return this.o};l.sn=function(){return this.g};l.ke=function(){return this.l};l.ec=function(){return this.f};l.od=function(){return 2};l.fd=function(){return this.s};l.Ea=function(){return this.B};l.tn=function(){return this.a};l.Bb=function(){return this.D};l.vn=function(){return this.b};l.jf=pa;l.load=pa;l.Sf=pa;
  l.Ah=function(a,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();c.arc(a.size/2,a.size/2,this.a,0,2*Math.PI,!0);this.g&&(c.fillStyle=Ke(this.g.b),c.fill());this.b&&(c.strokeStyle=a.strokeStyle,c.lineWidth=a.wd,a.lineDash&&c.setLineDash(a.lineDash),c.stroke());c.closePath()};
  l.zh=function(a,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();c.arc(a.size/2,a.size/2,this.a,0,2*Math.PI,!0);c.fillStyle=Ie(Ij);c.fill();this.b&&(c.strokeStyle=a.strokeStyle,c.lineWidth=a.wd,a.lineDash&&c.setLineDash(a.lineDash),c.stroke());c.closePath()};function Vj(a){a=a||{};this.i=null;this.g=Wj;void 0!==a.geometry&&this.Dh(a.geometry);this.c=void 0!==a.fill?a.fill:null;this.a=void 0!==a.image?a.image:null;this.f=void 0!==a.stroke?a.stroke:null;this.l=void 0!==a.text?a.text:null;this.b=a.zIndex}l=Vj.prototype;l.W=function(){return this.i};l.Tj=function(){return this.g};l.Hn=function(){return this.c};l.In=function(){return this.a};l.Jn=function(){return this.f};l.Da=function(){return this.l};l.Kn=function(){return this.b};
  l.Dh=function(a){"function"===typeof a?this.g=a:"string"===typeof a?this.g=function(c){return c.get(a)}:a?void 0!==a&&(this.g=function(){return a}):this.g=Wj;this.i=a};l.Ln=function(a){this.b=a};function Xj(a){if("function"!==typeof a){var c;c=Array.isArray(a)?a:[a];a=function(){return c}}return a}var Yj=null;function Zj(){if(!Yj){var a=new Mj({color:"rgba(255,255,255,0.4)"}),c=new Sj({color:"#3399CC",width:1.25});Yj=[new Vj({image:new Uj({fill:a,stroke:c,radius:5}),fill:a,stroke:c})]}return Yj}
  function ak(){var a={},c=[255,255,255,1],d=[0,153,255,1];a.Polygon=[new Vj({fill:new Mj({color:[255,255,255,.5]})})];a.MultiPolygon=a.Polygon;a.LineString=[new Vj({stroke:new Sj({color:c,width:5})}),new Vj({stroke:new Sj({color:d,width:3})})];a.MultiLineString=a.LineString;a.Circle=a.Polygon.concat(a.LineString);a.Point=[new Vj({image:new Uj({radius:6,fill:new Mj({color:d}),stroke:new Sj({color:c,width:1.5})}),zIndex:Infinity})];a.MultiPoint=a.Point;a.GeometryCollection=a.Polygon.concat(a.LineString,
  a.Point);return a}function Wj(a){return a.W()};function H(a){a=a?a:{};var c=Pa({},a);delete c.style;delete c.renderBuffer;delete c.updateWhileAnimating;delete c.updateWhileInteracting;Qh.call(this,c);this.a=void 0!==a.renderBuffer?a.renderBuffer:100;this.B=null;this.i=void 0;this.l(a.style);this.S=void 0!==a.updateWhileAnimating?a.updateWhileAnimating:!1;this.T=void 0!==a.updateWhileInteracting?a.updateWhileInteracting:!1}y(H,Qh);function bk(a){return a.get("renderOrder")}H.prototype.C=function(){return this.B};H.prototype.D=function(){return this.i};
  H.prototype.l=function(a){this.B=void 0!==a?a:Zj;this.i=null===a?void 0:Xj(this.B);this.u()};function I(a){a=a?a:{};var c=Pa({},a);delete c.preload;delete c.useInterimTilesOnError;H.call(this,c);this.Y(a.preload?a.preload:0);this.ea(a.useInterimTilesOnError?a.useInterimTilesOnError:!0);this.s=a.renderMode||"hybrid"}y(I,H);I.prototype.f=function(){return this.get("preload")};I.prototype.c=function(){return this.get("useInterimTilesOnError")};I.prototype.Y=function(a){this.set("preload",a)};I.prototype.ea=function(a){this.set("useInterimTilesOnError",a)};function ck(a,c,d,e,f){this.f=a;this.B=c;this.c=d;this.D=e;this.Cc=f;this.i=this.b=this.a=this.ea=this.Pa=this.Y=null;this.ma=this.va=this.v=this.xa=this.ua=this.R=0;this.Cb=!1;this.l=this.sa=0;this.wa=!1;this.S=0;this.g="";this.j=this.C=this.ob=this.Qa=0;this.T=this.s=this.o=null;this.U=[];this.Db=hd()}y(ck,Oh);
  function dk(a,c,d){if(a.i){c=rd(c,0,d,2,a.D,a.U);d=a.f;var e=a.Db,f=d.globalAlpha;1!=a.v&&(d.globalAlpha=f*a.v);var g=a.sa;a.Cb&&(g+=a.Cc);var h,k;h=0;for(k=c.length;h<k;h+=2){var m=c[h]-a.R,n=c[h+1]-a.ua;a.wa&&(m=Math.round(m),n=Math.round(n));if(0!==g||1!=a.l){var p=m+a.R,q=n+a.ua;Uh(e,p,q,a.l,a.l,g,-p,-q);d.setTransform(e[0],e[1],e[4],e[5],e[12],e[13])}d.drawImage(a.i,a.va,a.ma,a.S,a.xa,m,n,a.S,a.xa)}0===g&&1==a.l||d.setTransform(1,0,0,1,0,0);1!=a.v&&(d.globalAlpha=f)}}
  function ek(a,c,d,e){var f=0;if(a.T&&""!==a.g){a.o&&fk(a,a.o);a.s&&gk(a,a.s);var g=a.T,h=a.f,k=a.ea;k?(k.font!=g.font&&(k.font=h.font=g.font),k.textAlign!=g.textAlign&&(k.textAlign=h.textAlign=g.textAlign),k.textBaseline!=g.textBaseline&&(k.textBaseline=h.textBaseline=g.textBaseline)):(h.font=g.font,h.textAlign=g.textAlign,h.textBaseline=g.textBaseline,a.ea={font:g.font,textAlign:g.textAlign,textBaseline:g.textBaseline});c=rd(c,f,d,e,a.D,a.U);for(g=a.f;f<d;f+=e){h=c[f]+a.Qa;k=c[f+1]+a.ob;if(0!==a.C||
  1!=a.j){var m=Uh(a.Db,h,k,a.j,a.j,a.C,-h,-k);g.setTransform(m[0],m[1],m[4],m[5],m[12],m[13])}a.s&&g.strokeText(a.g,h,k);a.o&&g.fillText(a.g,h,k)}0===a.C&&1==a.j||g.setTransform(1,0,0,1,0,0)}}function hk(a,c,d,e,f,g){var h=a.f;a=rd(c,d,e,f,a.D,a.U);h.moveTo(a[0],a[1]);c=a.length;g&&(c-=2);for(d=2;d<c;d+=2)h.lineTo(a[d],a[d+1]);g&&h.closePath();return e}function ik(a,c,d,e,f){var g,h;g=0;for(h=e.length;g<h;++g)d=hk(a,c,d,e[g],f,!0);return d}l=ck.prototype;
  l.Md=function(a){if(yc(this.c,a.H())){if(this.a||this.b){this.a&&fk(this,this.a);this.b&&gk(this,this.b);var c;c=this.D;var d=this.U,e=a.ga();c=e?rd(e,0,e.length,a.ta(),c,d):null;d=c[2]-c[0];e=c[3]-c[1];d=Math.sqrt(d*d+e*e);e=this.f;e.beginPath();e.arc(c[0],c[1],d,0,2*Math.PI);this.a&&e.fill();this.b&&e.stroke()}""!==this.g&&ek(this,a.ld(),2,2)}};l.md=function(a){this.Nb(a.c,a.f);this.Ob(a.a);this.Qb(a.Da())};
  l.nc=function(a){switch(a.X()){case "Point":this.pc(a);break;case "LineString":this.cd(a);break;case "Polygon":this.Xe(a);break;case "MultiPoint":this.oc(a);break;case "MultiLineString":this.Ve(a);break;case "MultiPolygon":this.We(a);break;case "GeometryCollection":this.Ue(a);break;case "Circle":this.Md(a)}};l.Te=function(a,c){var d=(0,c.g)(a);d&&yc(this.c,d.H())&&(this.md(c),this.nc(d))};l.Ue=function(a){a=a.c;var c,d;c=0;for(d=a.length;c<d;++c)this.nc(a[c])};
  l.pc=function(a){var c=a.ga();a=a.ta();this.i&&dk(this,c,c.length);""!==this.g&&ek(this,c,c.length,a)};l.oc=function(a){var c=a.ga();a=a.ta();this.i&&dk(this,c,c.length);""!==this.g&&ek(this,c,c.length,a)};l.cd=function(a){if(yc(this.c,a.H())){if(this.b){gk(this,this.b);var c=this.f,d=a.ga();c.beginPath();hk(this,d,0,d.length,a.ta(),!1);c.stroke()}""!==this.g&&(a=jk(a),ek(this,a,2,2))}};
  l.Ve=function(a){var c=a.H();if(yc(this.c,c)){if(this.b){gk(this,this.b);var c=this.f,d=a.ga(),e=0,f=a.zb(),g=a.ta();c.beginPath();var h,k;h=0;for(k=f.length;h<k;++h)e=hk(this,d,e,f[h],g,!1);c.stroke()}""!==this.g&&(a=kk(a),ek(this,a,a.length,2))}};l.Xe=function(a){if(yc(this.c,a.H())){if(this.b||this.a){this.a&&fk(this,this.a);this.b&&gk(this,this.b);var c=this.f;c.beginPath();ik(this,a.Jb(),0,a.zb(),a.ta());this.a&&c.fill();this.b&&c.stroke()}""!==this.g&&(a=Xd(a),ek(this,a,2,2))}};
  l.We=function(a){if(yc(this.c,a.H())){if(this.b||this.a){this.a&&fk(this,this.a);this.b&&gk(this,this.b);var c=this.f,d=lk(a),e=0,f=a.i,g=a.ta(),h,k;h=0;for(k=f.length;h<k;++h){var m=f[h];c.beginPath();e=ik(this,d,e,m,g);this.a&&c.fill();this.b&&c.stroke()}}""!==this.g&&(a=mk(a),ek(this,a,a.length,2))}};function fk(a,c){var d=a.f,e=a.Y;e?e.fillStyle!=c.fillStyle&&(e.fillStyle=d.fillStyle=c.fillStyle):(d.fillStyle=c.fillStyle,a.Y={fillStyle:c.fillStyle})}
  function gk(a,c){var d=a.f,e=a.Pa;e?(e.lineCap!=c.lineCap&&(e.lineCap=d.lineCap=c.lineCap),Lg&&!Ab(e.lineDash,c.lineDash)&&d.setLineDash(e.lineDash=c.lineDash),e.lineJoin!=c.lineJoin&&(e.lineJoin=d.lineJoin=c.lineJoin),e.lineWidth!=c.lineWidth&&(e.lineWidth=d.lineWidth=c.lineWidth),e.miterLimit!=c.miterLimit&&(e.miterLimit=d.miterLimit=c.miterLimit),e.strokeStyle!=c.strokeStyle&&(e.strokeStyle=d.strokeStyle=c.strokeStyle)):(d.lineCap=c.lineCap,Lg&&d.setLineDash(c.lineDash),d.lineJoin=c.lineJoin,d.lineWidth=
  c.lineWidth,d.miterLimit=c.miterLimit,d.strokeStyle=c.strokeStyle,a.Pa={lineCap:c.lineCap,lineDash:c.lineDash,lineJoin:c.lineJoin,lineWidth:c.lineWidth,miterLimit:c.miterLimit,strokeStyle:c.strokeStyle})}
  l.Nb=function(a,c){if(a){var d=a.b;this.a={fillStyle:Ke(d?d:Ij)}}else this.a=null;if(c){var d=c.b,e=c.f,f=c.g,g=c.c,h=c.a,k=c.i;this.b={lineCap:void 0!==e?e:"round",lineDash:f?f:Jj,lineJoin:void 0!==g?g:"round",lineWidth:this.B*(void 0!==h?h:1),miterLimit:void 0!==k?k:10,strokeStyle:Ie(d?d:Kj)}}else this.b=null};
  l.Ob=function(a){if(a){var c=a.Tb(),d=a.ec(1),e=a.Ea(),f=a.Bb();this.R=c[0];this.ua=c[1];this.xa=f[1];this.i=d;this.v=a.v;this.va=e[0];this.ma=e[1];this.Cb=a.U;this.sa=a.j;this.l=a.i;this.wa=a.C;this.S=f[0]}else this.i=null};
  l.Qb=function(a){if(a){var c=a.b;c?(c=c.b,this.o={fillStyle:Ke(c?c:Ij)}):this.o=null;var d=a.l;if(d){var c=d.b,e=d.f,f=d.g,g=d.c,h=d.a,d=d.i;this.s={lineCap:void 0!==e?e:"round",lineDash:f?f:Jj,lineJoin:void 0!==g?g:"round",lineWidth:void 0!==h?h:1,miterLimit:void 0!==d?d:10,strokeStyle:Ie(c?c:Kj)}}else this.s=null;var c=a.g,e=a.f,f=a.c,g=a.i,h=a.a,d=a.Da(),k=a.o;a=a.j;this.T={font:void 0!==c?c:"10px sans-serif",textAlign:void 0!==k?k:"center",textBaseline:void 0!==a?a:"middle"};this.g=void 0!==d?
  d:"";this.Qa=void 0!==e?this.B*e:0;this.ob=void 0!==f?this.B*f:0;this.C=void 0!==g?g:0;this.j=this.B*(void 0!==h?h:1)}else this.g=""};function nk(a){Xh.call(this,a);this.R=hd()}y(nk,Xh);
  nk.prototype.i=function(a,c,d){ok(this,"precompose",d,a,void 0);var e=this.f?this.f.a():null;if(e){var f=c.extent,g=void 0!==f;if(g){var h=a.pixelRatio,k=a.size[0]*h,m=a.size[1]*h,n=a.viewState.rotation,p=pc(f),q=oc(f),r=nc(f),f=mc(f);Wh(a.coordinateToPixelMatrix,p,p);Wh(a.coordinateToPixelMatrix,q,q);Wh(a.coordinateToPixelMatrix,r,r);Wh(a.coordinateToPixelMatrix,f,f);d.save();Lj(d,-n,k/2,m/2);d.beginPath();d.moveTo(p[0]*h,p[1]*h);d.lineTo(q[0]*h,q[1]*h);d.lineTo(r[0]*h,r[1]*h);d.lineTo(f[0]*h,f[1]*
  h);d.clip();Lj(d,n,k/2,m/2)}h=this.s;k=d.globalAlpha;d.globalAlpha=c.opacity;d.drawImage(e,0,0,+e.width,+e.height,Math.round(h[12]),Math.round(h[13]),Math.round(e.width*h[0]),Math.round(e.height*h[5]));d.globalAlpha=k;g&&d.restore()}pk(this,d,a)};
  function ok(a,c,d,e,f){var g=a.a;if(lb(g,c)){var h=e.size[0]*e.pixelRatio,k=e.size[1]*e.pixelRatio,m=e.viewState.rotation;Lj(d,-m,h/2,k/2);a=void 0!==f?f:qk(a,e,0);a=new ck(d,e.pixelRatio,e.extent,a,e.viewState.rotation);g.b(new Ph(c,g,a,e,d,null));Lj(d,m,h/2,k/2)}}function pk(a,c,d,e){ok(a,"postcompose",c,d,e)}function qk(a,c,d){var e=c.viewState,f=c.pixelRatio;return Uh(a.R,f*c.size[0]/2,f*c.size[1]/2,f/e.resolution,-f/e.resolution,-e.rotation,-e.center[0]+d,-e.center[1])};var rk=["Polygon","LineString","Image","Text"];function sk(a,c,d){this.ma=a;this.T=c;this.f=null;this.c=0;this.resolution=d;this.xa=this.ua=null;this.a=[];this.coordinates=[];this.Pa=hd();this.b=[];this.Y=[];this.ea=hd();this.va=hd()}y(sk,Oh);
  function tk(a,c,d,e,f,g){var h=a.coordinates.length,k=a.Ze(),m=[c[d],c[d+1]],n=[NaN,NaN],p=!0,q,r,u;for(q=d+f;q<e;q+=f)n[0]=c[q],n[1]=c[q+1],u=dc(k,n),u!==r?(p&&(a.coordinates[h++]=m[0],a.coordinates[h++]=m[1]),a.coordinates[h++]=n[0],a.coordinates[h++]=n[1],p=!1):1===u?(a.coordinates[h++]=n[0],a.coordinates[h++]=n[1],p=!1):p=!0,m[0]=n[0],m[1]=n[1],r=u;q===d+f&&(a.coordinates[h++]=m[0],a.coordinates[h++]=m[1]);g&&(a.coordinates[h++]=c[d],a.coordinates[h++]=c[d+1]);return h}
  function uk(a,c){a.ua=[0,c,0];a.a.push(a.ua);a.xa=[0,c,0];a.b.push(a.xa)}
  function vk(a,c,d,e,f,g,h,k,m){var n;Vh(e,a.Pa)?n=a.Y:(n=rd(a.coordinates,0,a.coordinates.length,2,e,a.Y),kd(a.Pa,e));e=!Sa(g);var p=0,q=h.length,r,u,v=a.ea;a=a.va;for(var x,z,E,B;p<q;){var A=h[p],G,O,N,Y;switch(A[0]){case 0:r=A[1];e&&g[w(r).toString()]||!r.W()?p=A[2]:void 0===m||yc(m,r.W().H())?++p:p=A[2];break;case 1:c.beginPath();++p;break;case 2:r=A[1];u=n[r];A=n[r+1];E=n[r+2]-u;r=n[r+3]-A;c.arc(u,A,Math.sqrt(E*E+r*r),0,2*Math.PI,!0);++p;break;case 3:c.closePath();++p;break;case 4:r=A[1];u=A[2];
  G=A[3];N=A[4]*d;var Ya=A[5]*d,J=A[6];O=A[7];var wa=A[8],Ua=A[9];E=A[11];B=A[12];var hb=A[13],La=A[14];for(A[10]&&(E+=f);r<u;r+=2){A=n[r]-N;Y=n[r+1]-Ya;hb&&(A=Math.round(A),Y=Math.round(Y));if(1!=B||0!==E){var Ia=A+N,gc=Y+Ya;Uh(v,Ia,gc,B,B,E,-Ia,-gc);c.transform(v[0],v[1],v[4],v[5],v[12],v[13])}Ia=c.globalAlpha;1!=O&&(c.globalAlpha=Ia*O);var gc=La+wa>G.width?G.width-wa:La,wc=J+Ua>G.height?G.height-Ua:J;c.drawImage(G,wa,Ua,gc,wc,A,Y,gc*d,wc*d);1!=O&&(c.globalAlpha=Ia);if(1!=B||0!==E)nd(v,a),c.transform(a[0],
  a[1],a[4],a[5],a[12],a[13])}++p;break;case 5:r=A[1];u=A[2];N=A[3];Ya=A[4]*d;J=A[5]*d;E=A[6];B=A[7]*d;G=A[8];for(O=A[9];r<u;r+=2){A=n[r]+Ya;Y=n[r+1]+J;if(1!=B||0!==E)Uh(v,A,Y,B,B,E,-A,-Y),c.transform(v[0],v[1],v[4],v[5],v[12],v[13]);wa=N.split("\n");Ua=wa.length;1<Ua?(hb=Math.round(1.5*c.measureText("M").width),Y-=(Ua-1)/2*hb):hb=0;for(La=0;La<Ua;La++)Ia=wa[La],O&&c.strokeText(Ia,A,Y),G&&c.fillText(Ia,A,Y),Y+=hb;if(1!=B||0!==E)nd(v,a),c.transform(a[0],a[1],a[4],a[5],a[12],a[13])}++p;break;case 6:if(void 0!==
  k&&(r=A[1],r=k(r)))return r;++p;break;case 7:c.fill();++p;break;case 8:r=A[1];u=A[2];A=n[r];Y=n[r+1];E=A+.5|0;B=Y+.5|0;if(E!==x||B!==z)c.moveTo(A,Y),x=E,z=B;for(r+=2;r<u;r+=2)if(A=n[r],Y=n[r+1],E=A+.5|0,B=Y+.5|0,E!==x||B!==z)c.lineTo(A,Y),x=E,z=B;++p;break;case 9:c.fillStyle=A[1];++p;break;case 10:x=void 0!==A[7]?A[7]:!0;z=A[2];c.strokeStyle=A[1];c.lineWidth=x?z*d:z;c.lineCap=A[3];c.lineJoin=A[4];c.miterLimit=A[5];Lg&&c.setLineDash(A[6]);z=x=NaN;++p;break;case 11:c.font=A[1];c.textAlign=A[2];c.textBaseline=
  A[3];++p;break;case 12:c.stroke();++p;break;default:++p}}}sk.prototype.Oa=function(a,c,d,e,f){vk(this,a,c,d,e,f,this.a,void 0)};function wk(a){var c=a.b;c.reverse();var d,e=c.length,f,g,h=-1;for(d=0;d<e;++d)if(f=c[d],g=f[0],6==g)h=d;else if(0==g){f[2]=d;f=a.b;for(g=d;h<g;){var k=f[h];f[h]=f[g];f[g]=k;++h;--g}h=-1}}function xk(a,c){a.ua[2]=a.a.length;a.ua=null;a.xa[2]=a.b.length;a.xa=null;var d=[6,c];a.a.push(d);a.b.push(d)}sk.prototype.fe=pa;sk.prototype.Ze=function(){return this.T};
  function yk(a,c,d){sk.call(this,a,c,d);this.o=this.S=null;this.R=this.D=this.C=this.B=this.U=this.v=this.s=this.j=this.l=this.i=this.g=void 0}y(yk,sk);yk.prototype.pc=function(a,c){if(this.o){uk(this,c);var d=a.ga(),e=this.coordinates.length,d=tk(this,d,0,d.length,a.ta(),!1);this.a.push([4,e,d,this.o,this.g,this.i,this.l,this.j,this.s,this.v,this.U,this.B,this.C,this.D,this.R]);this.b.push([4,e,d,this.S,this.g,this.i,this.l,this.j,this.s,this.v,this.U,this.B,this.C,this.D,this.R]);xk(this,c)}};
  yk.prototype.oc=function(a,c){if(this.o){uk(this,c);var d=a.ga(),e=this.coordinates.length,d=tk(this,d,0,d.length,a.ta(),!1);this.a.push([4,e,d,this.o,this.g,this.i,this.l,this.j,this.s,this.v,this.U,this.B,this.C,this.D,this.R]);this.b.push([4,e,d,this.S,this.g,this.i,this.l,this.j,this.s,this.v,this.U,this.B,this.C,this.D,this.R]);xk(this,c)}};yk.prototype.fe=function(){wk(this);this.i=this.g=void 0;this.o=this.S=null;this.R=this.D=this.B=this.U=this.v=this.s=this.j=this.C=this.l=void 0};
  yk.prototype.Ob=function(a){var c=a.Tb(),d=a.Bb(),e=a.ke(1),f=a.ec(1),g=a.Ea();this.g=c[0];this.i=c[1];this.S=e;this.o=f;this.l=d[1];this.j=a.v;this.s=g[0];this.v=g[1];this.U=a.U;this.B=a.j;this.C=a.i;this.D=a.C;this.R=d[0]};function zk(a,c,d){sk.call(this,a,c,d);this.g={ad:void 0,Wc:void 0,Xc:null,Yc:void 0,Zc:void 0,$c:void 0,hf:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}y(zk,sk);
  function Ak(a,c,d,e,f){var g=a.coordinates.length;c=tk(a,c,d,e,f,!1);g=[8,g,c];a.a.push(g);a.b.push(g);return e}l=zk.prototype;l.Ze=function(){this.f||(this.f=Zb(this.T),0<this.c&&Yb(this.f,this.resolution*(this.c+1)/2,this.f));return this.f};
  function Bk(a){var c=a.g,d=c.strokeStyle,e=c.lineCap,f=c.lineDash,g=c.lineJoin,h=c.lineWidth,k=c.miterLimit;c.ad==d&&c.Wc==e&&Ab(c.Xc,f)&&c.Yc==g&&c.Zc==h&&c.$c==k||(c.hf!=a.coordinates.length&&(a.a.push([12]),c.hf=a.coordinates.length),a.a.push([10,d,h,e,g,k,f],[1]),c.ad=d,c.Wc=e,c.Xc=f,c.Yc=g,c.Zc=h,c.$c=k)}
  l.cd=function(a,c){var d=this.g,e=d.lineWidth;void 0!==d.strokeStyle&&void 0!==e&&(Bk(this),uk(this,c),this.b.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash],[1]),d=a.ga(),Ak(this,d,0,d.length,a.ta()),this.b.push([12]),xk(this,c))};
  l.Ve=function(a,c){var d=this.g,e=d.lineWidth;if(void 0!==d.strokeStyle&&void 0!==e){Bk(this);uk(this,c);this.b.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash],[1]);var d=a.zb(),e=a.ga(),f=a.ta(),g=0,h,k;h=0;for(k=d.length;h<k;++h)g=Ak(this,e,g,d[h],f);this.b.push([12]);xk(this,c)}};l.fe=function(){this.g.hf!=this.coordinates.length&&this.a.push([12]);wk(this);this.g=null};
  l.Nb=function(a,c){var d=c.b;this.g.strokeStyle=Ie(d?d:Kj);d=c.f;this.g.lineCap=void 0!==d?d:"round";d=c.g;this.g.lineDash=d?d:Jj;d=c.c;this.g.lineJoin=void 0!==d?d:"round";d=c.a;this.g.lineWidth=void 0!==d?d:1;d=c.i;this.g.miterLimit=void 0!==d?d:10;this.g.lineWidth>this.c&&(this.c=this.g.lineWidth,this.f=null)};
  function Ck(a,c,d){sk.call(this,a,c,d);this.g={pg:void 0,ad:void 0,Wc:void 0,Xc:null,Yc:void 0,Zc:void 0,$c:void 0,fillStyle:void 0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}y(Ck,sk);
  function Dk(a,c,d,e,f){var g=a.g,h=[1];a.a.push(h);a.b.push(h);var k,h=0;for(k=e.length;h<k;++h){var m=e[h],n=a.coordinates.length;d=tk(a,c,d,m,f,!0);d=[8,n,d];n=[3];a.a.push(d,n);a.b.push(d,n);d=m}c=[7];a.b.push(c);void 0!==g.fillStyle&&a.a.push(c);void 0!==g.strokeStyle&&(g=[12],a.a.push(g),a.b.push(g));return d}l=Ck.prototype;
  l.Md=function(a,c){var d=this.g,e=d.strokeStyle;if(void 0!==d.fillStyle||void 0!==e){Ek(this);uk(this,c);this.b.push([9,Ie(Ij)]);void 0!==d.strokeStyle&&this.b.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]);var f=a.ga(),e=this.coordinates.length;tk(this,f,0,f.length,a.ta(),!1);f=[1];e=[2,e];this.a.push(f,e);this.b.push(f,e);e=[7];this.b.push(e);void 0!==d.fillStyle&&this.a.push(e);void 0!==d.strokeStyle&&(d=[12],this.a.push(d),this.b.push(d));xk(this,c)}};
  l.Xe=function(a,c){var d=this.g,e=d.strokeStyle;if(void 0!==d.fillStyle||void 0!==e)Ek(this),uk(this,c),this.b.push([9,Ie(Ij)]),void 0!==d.strokeStyle&&this.b.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]),d=a.zb(),e=a.Jb(),Dk(this,e,0,d,a.ta()),xk(this,c)};
  l.We=function(a,c){var d=this.g,e=d.strokeStyle;if(void 0!==d.fillStyle||void 0!==e){Ek(this);uk(this,c);this.b.push([9,Ie(Ij)]);void 0!==d.strokeStyle&&this.b.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]);var d=a.i,e=lk(a),f=a.ta(),g=0,h,k;h=0;for(k=d.length;h<k;++h)g=Dk(this,e,g,d[h],f);xk(this,c)}};l.fe=function(){wk(this);this.g=null;var a=this.ma;if(0!==a){var c=this.coordinates,d,e;d=0;for(e=c.length;d<e;++d)c[d]=a*Math.round(c[d]/a)}};
  l.Ze=function(){this.f||(this.f=Zb(this.T),0<this.c&&Yb(this.f,this.resolution*(this.c+1)/2,this.f));return this.f};
  l.Nb=function(a,c){var d=this.g;if(a){var e=a.b;d.fillStyle=Ke(e?e:Ij)}else d.fillStyle=void 0;c?(e=c.b,d.strokeStyle=Ie(e?e:Kj),e=c.f,d.lineCap=void 0!==e?e:"round",e=c.g,d.lineDash=e?e.slice():Jj,e=c.c,d.lineJoin=void 0!==e?e:"round",e=c.a,d.lineWidth=void 0!==e?e:1,e=c.i,d.miterLimit=void 0!==e?e:10,d.lineWidth>this.c&&(this.c=d.lineWidth,this.f=null)):(d.strokeStyle=void 0,d.lineCap=void 0,d.lineDash=null,d.lineJoin=void 0,d.lineWidth=void 0,d.miterLimit=void 0)};
  function Ek(a){var c=a.g,d=c.fillStyle,e=c.strokeStyle,f=c.lineCap,g=c.lineDash,h=c.lineJoin,k=c.lineWidth,m=c.miterLimit;void 0!==d&&c.pg!=d&&(a.a.push([9,d]),c.pg=c.fillStyle);void 0===e||c.ad==e&&c.Wc==f&&c.Xc==g&&c.Yc==h&&c.Zc==k&&c.$c==m||(a.a.push([10,e,k,f,h,m,g]),c.ad=e,c.Wc=f,c.Xc=g,c.Yc=h,c.Zc=k,c.$c=m)}function Fk(a,c,d){sk.call(this,a,c,d);this.D=this.C=this.B=null;this.o="";this.U=this.v=this.s=this.j=0;this.l=this.i=this.g=null}y(Fk,sk);
  function Gk(a,c,d,e,f){if(""!==a.o&&a.l&&(a.g||a.i)){if(a.g){var g=a.g,h=a.B;if(!h||h.fillStyle!=g.fillStyle){var k=[9,g.fillStyle];a.a.push(k);a.b.push(k);h?h.fillStyle=g.fillStyle:a.B={fillStyle:g.fillStyle}}}a.i&&(g=a.i,h=a.C,h&&h.lineCap==g.lineCap&&h.lineDash==g.lineDash&&h.lineJoin==g.lineJoin&&h.lineWidth==g.lineWidth&&h.miterLimit==g.miterLimit&&h.strokeStyle==g.strokeStyle||(k=[10,g.strokeStyle,g.lineWidth,g.lineCap,g.lineJoin,g.miterLimit,g.lineDash,!1],a.a.push(k),a.b.push(k),h?(h.lineCap=
  g.lineCap,h.lineDash=g.lineDash,h.lineJoin=g.lineJoin,h.lineWidth=g.lineWidth,h.miterLimit=g.miterLimit,h.strokeStyle=g.strokeStyle):a.C={lineCap:g.lineCap,lineDash:g.lineDash,lineJoin:g.lineJoin,lineWidth:g.lineWidth,miterLimit:g.miterLimit,strokeStyle:g.strokeStyle}));g=a.l;h=a.D;h&&h.font==g.font&&h.textAlign==g.textAlign&&h.textBaseline==g.textBaseline||(k=[11,g.font,g.textAlign,g.textBaseline],a.a.push(k),a.b.push(k),h?(h.font=g.font,h.textAlign=g.textAlign,h.textBaseline=g.textBaseline):a.D=
  {font:g.font,textAlign:g.textAlign,textBaseline:g.textBaseline});uk(a,f);g=a.coordinates.length;c=tk(a,c,0,d,e,!1);c=[5,g,c,a.o,a.j,a.s,a.v,a.U,!!a.g,!!a.i];a.a.push(c);a.b.push(c);xk(a,f)}}
  Fk.prototype.Qb=function(a){if(a){var c=a.b;c?(c=c.b,c=Ke(c?c:Ij),this.g?this.g.fillStyle=c:this.g={fillStyle:c}):this.g=null;var d=a.l;if(d){var c=d.b,e=d.f,f=d.g,g=d.c,h=d.a,d=d.i,e=void 0!==e?e:"round",f=f?f.slice():Jj,g=void 0!==g?g:"round",h=void 0!==h?h:1,d=void 0!==d?d:10,c=Ie(c?c:Kj);if(this.i){var k=this.i;k.lineCap=e;k.lineDash=f;k.lineJoin=g;k.lineWidth=h;k.miterLimit=d;k.strokeStyle=c}else this.i={lineCap:e,lineDash:f,lineJoin:g,lineWidth:h,miterLimit:d,strokeStyle:c}}else this.i=null;
  var m=a.g,c=a.f,e=a.c,f=a.i,h=a.a,d=a.Da(),g=a.o,k=a.j;a=void 0!==m?m:"10px sans-serif";g=void 0!==g?g:"center";k=void 0!==k?k:"middle";this.l?(m=this.l,m.font=a,m.textAlign=g,m.textBaseline=k):this.l={font:a,textAlign:g,textBaseline:k};this.o=void 0!==d?d:"";this.j=void 0!==c?c:0;this.s=void 0!==e?e:0;this.v=void 0!==f?f:0;this.U=void 0!==h?h:1}else this.o=""};function Hk(a,c,d,e){this.o=a;this.g=c;this.l=d;this.f=e;this.a={};this.c=yg(1,1);this.i=hd()}
  function Ik(a){for(var c in a.a){var d=a.a[c],e;for(e in d)d[e].fe()}}Hk.prototype.na=function(a,c,d,e,f){var g=this.i;Uh(g,.5,.5,1/c,-1/c,-d,-a[0],-a[1]);var h=this.c;h.clearRect(0,0,1,1);var k;void 0!==this.f&&(k=Wb(),Xb(k,a),Yb(k,c*this.f,k));return Jk(this,h,g,d,e,function(a){if(0<h.getImageData(0,0,1,1).data[3]){if(a=f(a))return a;h.clearRect(0,0,1,1)}},k)};
  Hk.prototype.b=function(a,c){var d=void 0!==a?a.toString():"0",e=this.a[d];void 0===e&&(e={},this.a[d]=e);d=e[c];void 0===d&&(d=new Kk[c](this.o,this.g,this.l),e[c]=d);return d};Hk.prototype.Ya=function(){return Sa(this.a)};
  Hk.prototype.Oa=function(a,c,d,e,f,g){var h=Object.keys(this.a).map(Number);h.sort(tb);var k=this.g,m=k[0],n=k[1],p=k[2],k=k[3],m=[m,n,m,k,p,k,p,n];rd(m,0,8,2,d,m);a.save();a.beginPath();a.moveTo(m[0],m[1]);a.lineTo(m[2],m[3]);a.lineTo(m[4],m[5]);a.lineTo(m[6],m[7]);a.closePath();a.clip();g=g?g:rk;for(var q,r,m=0,n=h.length;m<n;++m)for(q=this.a[h[m].toString()],p=0,k=g.length;p<k;++p)r=q[g[p]],void 0!==r&&r.Oa(a,c,d,e,f);a.restore()};
  function Jk(a,c,d,e,f,g,h){var k=Object.keys(a.a).map(Number);k.sort(function(a,c){return c-a});var m,n,p,q,r;m=0;for(n=k.length;m<n;++m)for(q=a.a[k[m].toString()],p=rk.length-1;0<=p;--p)if(r=q[rk[p]],void 0!==r&&(r=vk(r,c,1,d,e,f,r.b,g,h)))return r}var Kk={Image:yk,LineString:zk,Polygon:Ck,Text:Fk};function Lk(a,c,d,e){this.g=a;this.b=c;this.c=d;this.f=e}l=Lk.prototype;l.get=function(a){return this.f[a]};l.zb=function(){return this.c};l.H=function(){this.a||(this.a="Point"===this.g?fc(this.b):hc(this.b,0,this.b.length,2));return this.a};l.Jb=function(){return this.b};l.ga=Lk.prototype.Jb;l.W=function(){return this};l.Fm=function(){return this.f};l.hd=Lk.prototype.W;l.ta=function(){return 2};l.$b=pa;l.X=function(){return this.g};function Mk(a,c){return w(a)-w(c)}function Nk(a,c){var d=.5*a/c;return d*d}function Ok(a,c,d,e,f,g){var h=!1,k,m;if(k=d.a)m=k.od(),2==m||3==m?k.Sf(f,g):(0==m&&k.load(),k.jf(f,g),h=!0);if(f=(0,d.g)(c))e=f.hd(e),(0,Pk[e.X()])(a,e,d,c);return h}
  var Pk={Point:function(a,c,d,e){var f=d.a;if(f){if(2!=f.od())return;var g=a.b(d.b,"Image");g.Ob(f);g.pc(c,e)}if(f=d.Da())a=a.b(d.b,"Text"),a.Qb(f),Gk(a,c.ga(),2,2,e)},LineString:function(a,c,d,e){var f=d.f;if(f){var g=a.b(d.b,"LineString");g.Nb(null,f);g.cd(c,e)}if(f=d.Da())a=a.b(d.b,"Text"),a.Qb(f),Gk(a,jk(c),2,2,e)},Polygon:function(a,c,d,e){var f=d.c,g=d.f;if(f||g){var h=a.b(d.b,"Polygon");h.Nb(f,g);h.Xe(c,e)}if(f=d.Da())a=a.b(d.b,"Text"),a.Qb(f),Gk(a,Xd(c),2,2,e)},MultiPoint:function(a,c,d,e){var f=
  d.a;if(f){if(2!=f.od())return;var g=a.b(d.b,"Image");g.Ob(f);g.oc(c,e)}if(f=d.Da())a=a.b(d.b,"Text"),a.Qb(f),d=c.ga(),Gk(a,d,d.length,c.ta(),e)},MultiLineString:function(a,c,d,e){var f=d.f;if(f){var g=a.b(d.b,"LineString");g.Nb(null,f);g.Ve(c,e)}if(f=d.Da())a=a.b(d.b,"Text"),a.Qb(f),c=kk(c),Gk(a,c,c.length,2,e)},MultiPolygon:function(a,c,d,e){var f=d.c,g=d.f;if(g||f){var h=a.b(d.b,"Polygon");h.Nb(f,g);h.We(c,e)}if(f=d.Da())a=a.b(d.b,"Text"),a.Qb(f),c=mk(c),Gk(a,c,c.length,2,e)},GeometryCollection:function(a,
  c,d,e){c=c.c;var f,g;f=0;for(g=c.length;f<g;++f)(0,Pk[c[f].X()])(a,c[f],d,e)},Circle:function(a,c,d,e){var f=d.c,g=d.f;if(f||g){var h=a.b(d.b,"Polygon");h.Nb(f,g);h.Md(c,e)}if(f=d.Da())a=a.b(d.b,"Text"),a.Qb(f),Gk(a,c.ld(),2,2,e)}};function Qk(a,c,d,e,f,g){this.c=void 0!==g?g:null;Sh.call(this,a,c,d,void 0!==g?0:2,e);this.g=f}y(Qk,Sh);Qk.prototype.i=function(a){this.state=a?3:2;Th(this)};Qk.prototype.load=function(){0==this.state&&(this.state=1,Th(this),this.c(this.i.bind(this)))};Qk.prototype.a=function(){return this.g};var Rk,Sk=qa.navigator,Tk=qa.chrome,Uk=-1<Sk.userAgent.indexOf("OPR"),Vk=-1<Sk.userAgent.indexOf("Edge");Rk=!(!Sk.userAgent.match("CriOS")&&null!==Tk&&void 0!==Tk&&"Google Inc."===Sk.vendor&&0==Uk&&0==Vk);function Wk(a,c,d,e){var f=bd(d,c,a);d=c.getPointResolution(e,d);c=c.Vb();void 0!==c&&(d*=c);c=a.Vb();void 0!==c&&(d/=c);a=a.getPointResolution(d,f)/d;isFinite(a)&&0<a&&(d/=a);return d}function Xk(a,c,d,e){a=d-a;c=e-c;var f=Math.sqrt(a*a+c*c);return[Math.round(d+a/f),Math.round(e+c/f)]}
  function Yk(a,c,d,e,f,g,h,k,m,n,p){var q=yg(Math.round(d*a),Math.round(d*c));if(0===m.length)return q.canvas;q.scale(d,d);var r=Wb();m.forEach(function(a){kc(r,a.extent)});var u=yg(Math.round(d*sc(r)/e),Math.round(d*tc(r)/e)),v=d/e;m.forEach(function(a){u.drawImage(a.image,n,n,a.image.width-2*n,a.image.height-2*n,(a.extent[0]-r[0])*v,-(a.extent[3]-r[3])*v,sc(a.extent)*v,tc(a.extent)*v)});var x=pc(h);k.f.forEach(function(a){var c=a.source,f=a.target,h=c[1][0],k=c[1][1],m=c[2][0],n=c[2][1];a=(f[0][0]-
  x[0])/g;var p=-(f[0][1]-x[1])/g,v=(f[1][0]-x[0])/g,J=-(f[1][1]-x[1])/g,wa=(f[2][0]-x[0])/g,Ua=-(f[2][1]-x[1])/g,f=c[0][0],c=c[0][1],h=h-f,k=k-c,m=m-f,n=n-c;a:{h=[[h,k,0,0,v-a],[m,n,0,0,wa-a],[0,0,h,k,J-p],[0,0,m,n,Ua-p]];k=h.length;for(m=0;m<k;m++){for(var n=m,hb=Math.abs(h[m][m]),La=m+1;La<k;La++){var Ia=Math.abs(h[La][m]);Ia>hb&&(hb=Ia,n=La)}if(0===hb){h=null;break a}hb=h[n];h[n]=h[m];h[m]=hb;for(n=m+1;n<k;n++)for(hb=-h[n][m]/h[m][m],La=m;La<k+1;La++)h[n][La]=m==La?0:h[n][La]+hb*h[m][La]}m=Array(k);
  for(n=k-1;0<=n;n--)for(m[n]=h[n][k]/h[n][n],hb=n-1;0<=hb;hb--)h[hb][k]-=h[hb][n]*m[n];h=m}h&&(q.save(),q.beginPath(),Rk?(m=(a+v+wa)/3,n=(p+J+Ua)/3,k=Xk(m,n,a,p),v=Xk(m,n,v,J),wa=Xk(m,n,wa,Ua),q.moveTo(k[0],k[1]),q.lineTo(v[0],v[1]),q.lineTo(wa[0],wa[1])):(q.moveTo(a,p),q.lineTo(v,J),q.lineTo(wa,Ua)),q.closePath(),q.clip(),q.transform(h[0],h[2],h[1],h[3],a,p),q.translate(r[0]-f,r[3]-c),q.scale(e/d,-e/d),q.drawImage(u.canvas,0,0),q.restore())});p&&(q.save(),q.strokeStyle="black",q.lineWidth=1,k.f.forEach(function(a){var c=
  a.target;a=(c[0][0]-x[0])/g;var d=-(c[0][1]-x[1])/g,e=(c[1][0]-x[0])/g,f=-(c[1][1]-x[1])/g,h=(c[2][0]-x[0])/g,c=-(c[2][1]-x[1])/g;q.beginPath();q.moveTo(a,d);q.lineTo(e,f);q.lineTo(h,c);q.closePath();q.stroke()}),q.restore());return q.canvas};function Zk(a,c,d,e,f){this.g=a;this.c=c;var g={},h=$c(this.c,this.g);this.a=function(a){var c=a[0]+"/"+a[1];g[c]||(g[c]=h(a));return g[c]};this.i=e;this.s=f*f;this.f=[];this.o=!1;this.j=this.g.a&&!!e&&!!this.g.H()&&sc(e)==sc(this.g.H());this.b=this.g.H()?sc(this.g.H()):null;this.l=this.c.H()?sc(this.c.H()):null;a=pc(d);c=oc(d);e=nc(d);d=mc(d);f=this.a(a);var k=this.a(c),m=this.a(e),n=this.a(d);$k(this,a,c,e,d,f,k,m,n,10);if(this.o){var p=Infinity;this.f.forEach(function(a){p=Math.min(p,a.source[0][0],
  a.source[1][0],a.source[2][0])});this.f.forEach(function(a){if(Math.max(a.source[0][0],a.source[1][0],a.source[2][0])-p>this.b/2){var c=[[a.source[0][0],a.source[0][1]],[a.source[1][0],a.source[1][1]],[a.source[2][0],a.source[2][1]]];c[0][0]-p>this.b/2&&(c[0][0]-=this.b);c[1][0]-p>this.b/2&&(c[1][0]-=this.b);c[2][0]-p>this.b/2&&(c[2][0]-=this.b);Math.max(c[0][0],c[1][0],c[2][0])-Math.min(c[0][0],c[1][0],c[2][0])<this.b/2&&(a.source=c)}},this)}g={}}
  function $k(a,c,d,e,f,g,h,k,m,n){var p=Vb([g,h,k,m]),q=a.b?sc(p)/a.b:null,r=a.g.a&&.5<q&&1>q,u=!1;if(0<n){if(a.c.g&&a.l)var v=Vb([c,d,e,f]),u=u|.25<sc(v)/a.l;!r&&a.g.g&&q&&(u|=.25<q)}if(u||!a.i||yc(p,a.i)){if(!(u||isFinite(g[0])&&isFinite(g[1])&&isFinite(h[0])&&isFinite(h[1])&&isFinite(k[0])&&isFinite(k[1])&&isFinite(m[0])&&isFinite(m[1])))if(0<n)u=!0;else return;if(0<n&&(u||(q=a.a([(c[0]+e[0])/2,(c[1]+e[1])/2]),p=r?(Ja(g[0],a.b)+Ja(k[0],a.b))/2-Ja(q[0],a.b):(g[0]+k[0])/2-q[0],q=(g[1]+k[1])/2-q[1],
  u=p*p+q*q>a.s),u)){Math.abs(c[0]-e[0])<=Math.abs(c[1]-e[1])?(r=[(d[0]+e[0])/2,(d[1]+e[1])/2],p=a.a(r),q=[(f[0]+c[0])/2,(f[1]+c[1])/2],u=a.a(q),$k(a,c,d,r,q,g,h,p,u,n-1),$k(a,q,r,e,f,u,p,k,m,n-1)):(r=[(c[0]+d[0])/2,(c[1]+d[1])/2],p=a.a(r),q=[(e[0]+f[0])/2,(e[1]+f[1])/2],u=a.a(q),$k(a,c,r,q,f,g,p,u,m,n-1),$k(a,r,d,e,q,p,h,k,u,n-1));return}if(r){if(!a.j)return;a.o=!0}a.f.push({source:[g,k,m],target:[c,e,f]});a.f.push({source:[g,h,k],target:[c,d,e]})}}
  function al(a){var c=Wb();a.f.forEach(function(a){a=a.source;Xb(c,a[0]);Xb(c,a[1]);Xb(c,a[2])});return c};function bl(a,c,d,e,f,g){this.v=c;this.s=a.H();var h=c.H(),k=h?xc(d,h):d,h=Wk(a,c,uc(k),e);this.o=new Zk(a,c,k,this.s,.5*h);this.c=e;this.g=d;a=al(this.o);this.j=(this.mb=g(a,h,f))?this.mb.f:1;this.vd=this.i=null;f=2;g=[];this.mb&&(f=0,g=this.mb.l);Sh.call(this,d,e,this.j,f,g)}y(bl,Sh);bl.prototype.fa=function(){1==this.state&&(Wa(this.vd),this.vd=null);Sh.prototype.fa.call(this)};bl.prototype.a=function(){return this.i};
  bl.prototype.ud=function(){var a=this.mb.V();2==a&&(this.i=Yk(sc(this.g)/this.c,tc(this.g)/this.c,this.j,this.mb.$(),0,this.c,this.g,this.o,[{extent:this.mb.H(),image:this.mb.a()}],0));this.state=a;Th(this)};bl.prototype.load=function(){if(0==this.state){this.state=1;Th(this);var a=this.mb.V();2==a||3==a?this.ud():(this.vd=C(this.mb,"change",function(){var a=this.mb.V();if(2==a||3==a)Wa(this.vd),this.vd=null,this.ud()},this),this.mb.load())}};function cl(a){Gf.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,state:a.state});this.C=void 0!==a.resolutions?a.resolutions:null;this.a=null;this.ma=0}y(cl,Gf);function dl(a,c){if(a.C){var d=vb(a.C,c,0);c=a.C[d]}return c}
  cl.prototype.B=function(a,c,d,e){var f=this.f;if(f&&e&&!Zc(f,e)){if(this.a){if(this.ma==this.g&&Zc(this.a.v,e)&&this.a.$()==c&&this.a.f==d&&jc(this.a.H(),a))return this.a;fb(this.a);this.a=null}this.a=new bl(f,e,a,c,d,function(a,c,d){return this.Hc(a,c,d,f)}.bind(this));this.ma=this.g;return this.a}f&&(e=f);return this.Hc(a,c,d,e)};cl.prototype.o=function(a){a=a.target;switch(a.V()){case 1:this.b(new el(fl,a));break;case 2:this.b(new el(gl,a));break;case 3:this.b(new el(hl,a))}};
  function il(a,c){a.a().src=c}function el(a,c){gb.call(this,a);this.image=c}y(el,gb);var fl="imageloadstart",gl="imageloadend",hl="imageloaderror";function jl(a){cl.call(this,{attributions:a.attributions,logo:a.logo,projection:a.projection,resolutions:a.resolutions,state:a.state});this.ea=a.canvasFunction;this.T=null;this.Y=0;this.sa=void 0!==a.ratio?a.ratio:1.5}y(jl,cl);jl.prototype.Hc=function(a,c,d,e){c=dl(this,c);var f=this.T;if(f&&this.Y==this.g&&f.$()==c&&f.f==d&&cc(f.H(),a))return f;a=a.slice();zc(a,this.sa);(e=this.ea(a,c,d,[sc(a)/c*d,tc(a)/c*d],e))&&(f=new Qk(a,c,d,this.l,e));this.T=f;this.Y=this.g;return f};function kl(a){pb.call(this);this.i=void 0;this.a="geometry";this.c=null;this.l=void 0;this.f=null;C(this,rb(this.a),this.Wd,this);void 0!==a&&(a instanceof dd||!a?this.Ra(a):this.G(a))}y(kl,pb);l=kl.prototype;l.clone=function(){var a=new kl(this.O());a.zc(this.a);var c=this.W();c&&a.Ra(c.clone());(c=this.c)&&a.mf(c);return a};l.W=function(){return this.get(this.a)};l.Ua=function(){return this.i};l.Uj=function(){return this.a};l.Dl=function(){return this.c};l.$b=function(){return this.l};l.El=function(){this.u()};
  l.Wd=function(){this.f&&(Wa(this.f),this.f=null);var a=this.W();a&&(this.f=C(a,"change",this.El,this));this.u()};l.Ra=function(a){this.set(this.a,a)};l.mf=function(a){this.l=(this.c=a)?ll(a):void 0;this.u()};l.hc=function(a){this.i=a;this.u()};l.zc=function(a){cb(this,rb(this.a),this.Wd,this);this.a=a;C(this,rb(this.a),this.Wd,this);this.Wd()};function ll(a){if("function"!==typeof a){var c;c=Array.isArray(a)?a:[a];a=function(){return c}}return a};function ml(a,c,d,e,f){Bf.call(this,a,c);this.g=yg();this.l=e;this.c=null;this.f={bd:!1,Of:null,Wh:-1,Pf:-1,td:null,ni:[]};this.v=f;this.j=d}y(ml,Bf);l=ml.prototype;l.$a=function(){return-1==this.f.Pf?null:this.g.canvas};l.Ol=function(){return this.l};l.fb=function(){return this.j};l.load=function(){0==this.state&&(this.state=1,Cf(this),this.v(this,this.j),this.s(null,NaN,null))};l.ai=function(a){this.c=a;this.state=2;Cf(this)};l.qf=function(a){this.o=a};l.ei=function(a){this.s=a};var nl=document.implementation.createDocument("","",null);function pl(a,c){return nl.createElementNS(a,c)}function ql(a,c){return rl(a,c,[]).join("")}function rl(a,c,d){if(4==a.nodeType||3==a.nodeType)c?d.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):d.push(a.nodeValue);else for(a=a.firstChild;a;a=a.nextSibling)rl(a,c,d);return d}function sl(a){return a instanceof Document}function tl(a){return a instanceof Node}function ul(a){return(new DOMParser).parseFromString(a,"application/xml")}
  function vl(a,c){return function(d,e){var f=a.call(c,d,e);void 0!==f&&xb(e[e.length-1],f)}}function wl(a,c){return function(d,e){var f=a.call(void 0!==c?c:this,d,e);void 0!==f&&e[e.length-1].push(f)}}function xl(a,c){return function(d,e){var f=a.call(void 0!==c?c:this,d,e);void 0!==f&&(e[e.length-1]=f)}}function yl(a){return function(c,d){var e=a.call(this,c,d);if(void 0!==e){var f=d[d.length-1],g=c.localName,h;g in f?h=f[g]:h=f[g]=[];h.push(e)}}}
  function K(a,c){return function(d,e){var f=a.call(this,d,e);void 0!==f&&(e[e.length-1][void 0!==c?c:d.localName]=f)}}function L(a,c){return function(d,e,f){a.call(void 0!==c?c:this,d,e,f);f[f.length-1].node.appendChild(d)}}function zl(a){var c,d;return function(e,f,g){if(void 0===c){c={};var h={};h[e.localName]=a;c[e.namespaceURI]=h;d=Al(e.localName)}Bl(c,d,f,g)}}function Al(a,c){return function(d,e,f){d=e[e.length-1].node;e=a;void 0===e&&(e=f);f=c;void 0===c&&(f=d.namespaceURI);return pl(f,e)}}
  var Cl=Al();function Dl(a,c){for(var d=c.length,e=Array(d),f=0;f<d;++f)e[f]=a[c[f]];return e}function M(a,c,d){d=void 0!==d?d:{};var e,f;e=0;for(f=a.length;e<f;++e)d[a[e]]=c;return d}function El(a,c,d,e){for(c=c.firstElementChild;c;c=c.nextElementSibling){var f=a[c.namespaceURI];void 0!==f&&(f=f[c.localName],void 0!==f&&f.call(e,c,d))}}function P(a,c,d,e,f){e.push(a);El(c,d,e,f);return e.pop()}
  function Bl(a,c,d,e,f,g){for(var h=(void 0!==f?f:d).length,k,m,n=0;n<h;++n)k=d[n],void 0!==k&&(m=c.call(g,k,e,void 0!==f?f[n]:void 0),void 0!==m&&a[m.namespaceURI][m.localName].call(g,m,k,e))}function Fl(a,c,d,e,f,g,h){f.push(a);Bl(c,d,e,f,g,h);f.pop()};function Gl(a,c,d,e){return function(f,g,h){var k=new XMLHttpRequest;k.open("GET","function"===typeof a?a(f,g,h):a,!0);"arraybuffer"==c.X()&&(k.responseType="arraybuffer");k.onload=function(){if(200<=k.status&&300>k.status){var a=c.X(),f;"json"==a||"text"==a?f=k.responseText:"xml"==a?(f=k.responseXML)||(f=ul(k.responseText)):"arraybuffer"==a&&(f=k.response);f&&d.call(this,c.Ba(f,{featureProjection:h}),c.Na(f))}else e.call(this)}.bind(this);k.send()}}
  function Hl(a,c){return Gl(a,c,function(a,c){this.qf(c);this.ai(a)},function(){this.state=3;Cf(this)})}function Il(a,c){return Gl(a,c,function(a){this.Ec(a)},pa)};function Jl(){return[[-Infinity,-Infinity,Infinity,Infinity]]};var Kl,Ll,Ml,Nl;
  (function(){var a={ha:{}};(function(){function c(a,d){if(!(this instanceof c))return new c(a,d);this.Oe=Math.max(4,a||9);this.cg=Math.max(2,Math.ceil(.4*this.Oe));d&&this.gj(d);this.clear()}function d(a,c){a.bbox=e(a,0,a.children.length,c)}function e(a,c,d,e){for(var g=[Infinity,Infinity,-Infinity,-Infinity],h;c<d;c++)h=a.children[c],f(g,a.Ia?e(h):h.bbox);return g}function f(a,c){a[0]=Math.min(a[0],c[0]);a[1]=Math.min(a[1],c[1]);a[2]=Math.max(a[2],c[2]);a[3]=Math.max(a[3],c[3])}function g(a,c){return a.bbox[0]-
  c.bbox[0]}function h(a,c){return a.bbox[1]-c.bbox[1]}function k(a){return(a[2]-a[0])*(a[3]-a[1])}function m(a){return a[2]-a[0]+(a[3]-a[1])}function n(a,c){return a[0]<=c[0]&&a[1]<=c[1]&&c[2]<=a[2]&&c[3]<=a[3]}function p(a,c){return c[0]<=a[2]&&c[1]<=a[3]&&c[2]>=a[0]&&c[3]>=a[1]}function q(a,c,d,e,f){for(var g=[c,d],h;g.length;)d=g.pop(),c=g.pop(),d-c<=e||(h=c+Math.ceil((d-c)/e/2)*e,r(a,c,d,h,f),g.push(c,h,h,d))}function r(a,c,d,e,f){for(var g,h,k,m,n;d>c;){600<d-c&&(g=d-c+1,h=e-c+1,k=Math.log(g),
  m=.5*Math.exp(2*k/3),n=.5*Math.sqrt(k*m*(g-m)/g)*(0>h-g/2?-1:1),k=Math.max(c,Math.floor(e-h*m/g+n)),h=Math.min(d,Math.floor(e+(g-h)*m/g+n)),r(a,k,h,e,f));g=a[e];h=c;m=d;u(a,c,e);for(0<f(a[d],g)&&u(a,c,d);h<m;){u(a,h,m);h++;for(m--;0>f(a[h],g);)h++;for(;0<f(a[m],g);)m--}0===f(a[c],g)?u(a,c,m):(m++,u(a,m,d));m<=e&&(c=m+1);e<=m&&(d=m-1)}}function u(a,c,d){var e=a[c];a[c]=a[d];a[d]=e}c.prototype={all:function(){return this.Yf(this.data,[])},search:function(a){var c=this.data,d=[],e=this.hb;if(!p(a,c.bbox))return d;
  for(var f=[],g,h,k,m;c;){g=0;for(h=c.children.length;g<h;g++)k=c.children[g],m=c.Ia?e(k):k.bbox,p(a,m)&&(c.Ia?d.push(k):n(a,m)?this.Yf(k,d):f.push(k));c=f.pop()}return d},load:function(a){if(!a||!a.length)return this;if(a.length<this.cg){for(var c=0,d=a.length;c<d;c++)this.ya(a[c]);return this}a=this.$f(a.slice(),0,a.length-1,0);this.data.children.length?this.data.height===a.height?this.eg(this.data,a):(this.data.height<a.height&&(c=this.data,this.data=a,a=c),this.bg(a,this.data.height-a.height-1,
  !0)):this.data=a;return this},ya:function(a){a&&this.bg(a,this.data.height-1);return this},clear:function(){this.data={children:[],height:1,bbox:[Infinity,Infinity,-Infinity,-Infinity],Ia:!0};return this},remove:function(a){if(!a)return this;for(var c=this.data,d=this.hb(a),e=[],f=[],g,h,k,m;c||e.length;){c||(c=e.pop(),h=e[e.length-1],g=f.pop(),m=!0);if(c.Ia&&(k=c.children.indexOf(a),-1!==k)){c.children.splice(k,1);e.push(c);this.ej(e);break}m||c.Ia||!n(c.bbox,d)?h?(g++,c=h.children[g],m=!1):c=null:
  (e.push(c),f.push(g),g=0,h=c,c=c.children[0])}return this},hb:function(a){return a},Qe:function(a,c){return a[0]-c[0]},Re:function(a,c){return a[1]-c[1]},toJSON:function(){return this.data},Yf:function(a,c){for(var d=[];a;)a.Ia?c.push.apply(c,a.children):d.push.apply(d,a.children),a=d.pop();return c},$f:function(a,c,e,f){var g=e-c+1,h=this.Oe,k;if(g<=h)return k={children:a.slice(c,e+1),height:1,bbox:null,Ia:!0},d(k,this.hb),k;f||(f=Math.ceil(Math.log(g)/Math.log(h)),h=Math.ceil(g/Math.pow(h,f-1)));
  k={children:[],height:f,bbox:null,Ia:!1};var g=Math.ceil(g/h),h=g*Math.ceil(Math.sqrt(h)),m,n,p;for(q(a,c,e,h,this.Qe);c<=e;c+=h)for(n=Math.min(c+h-1,e),q(a,c,n,g,this.Re),m=c;m<=n;m+=g)p=Math.min(m+g-1,n),k.children.push(this.$f(a,m,p,f-1));d(k,this.hb);return k},dj:function(a,c,d,e){for(var f,g,h,m,n,p,q,r;;){e.push(c);if(c.Ia||e.length-1===d)break;q=r=Infinity;f=0;for(g=c.children.length;f<g;f++)h=c.children[f],n=k(h.bbox),p=h.bbox,p=(Math.max(p[2],a[2])-Math.min(p[0],a[0]))*(Math.max(p[3],a[3])-
  Math.min(p[1],a[1]))-n,p<r?(r=p,q=n<q?n:q,m=h):p===r&&n<q&&(q=n,m=h);c=m||c.children[0]}return c},bg:function(a,c,d){var e=this.hb;d=d?a.bbox:e(a);var e=[],g=this.dj(d,this.data,c,e);g.children.push(a);for(f(g.bbox,d);0<=c;)if(e[c].children.length>this.Oe)this.mj(e,c),c--;else break;this.aj(d,e,c)},mj:function(a,c){var e=a[c],f=e.children.length,g=this.cg;this.bj(e,g,f);f=this.cj(e,g,f);f={children:e.children.splice(f,e.children.length-f),height:e.height,bbox:null,Ia:!1};e.Ia&&(f.Ia=!0);d(e,this.hb);
  d(f,this.hb);c?a[c-1].children.push(f):this.eg(e,f)},eg:function(a,c){this.data={children:[a,c],height:a.height+1,bbox:null,Ia:!1};d(this.data,this.hb)},cj:function(a,c,d){var f,g,h,m,n,p,q;n=p=Infinity;for(f=c;f<=d-c;f++)g=e(a,0,f,this.hb),h=e(a,f,d,this.hb),m=Math.max(0,Math.min(g[2],h[2])-Math.max(g[0],h[0]))*Math.max(0,Math.min(g[3],h[3])-Math.max(g[1],h[1])),g=k(g)+k(h),m<n?(n=m,q=f,p=g<p?g:p):m===n&&g<p&&(p=g,q=f);return q},bj:function(a,c,d){var e=a.Ia?this.Qe:g,f=a.Ia?this.Re:h,k=this.Zf(a,
  c,d,e);c=this.Zf(a,c,d,f);k<c&&a.children.sort(e)},Zf:function(a,c,d,g){a.children.sort(g);g=this.hb;var h=e(a,0,c,g),k=e(a,d-c,d,g),n=m(h)+m(k),p,q;for(p=c;p<d-c;p++)q=a.children[p],f(h,a.Ia?g(q):q.bbox),n+=m(h);for(p=d-c-1;p>=c;p--)q=a.children[p],f(k,a.Ia?g(q):q.bbox),n+=m(k);return n},aj:function(a,c,d){for(;0<=d;d--)f(c[d].bbox,a)},ej:function(a){for(var c=a.length-1,e;0<=c;c--)0===a[c].children.length?0<c?(e=a[c-1].children,e.splice(e.indexOf(a[c]),1)):this.clear():d(a[c],this.hb)},gj:function(a){var c=
  ["return a"," - b",";"];this.Qe=new Function("a","b",c.join(a[0]));this.Re=new Function("a","b",c.join(a[1]));this.hb=new Function("a","return [a"+a.join(", a")+"];")}};"undefined"!==typeof a?a.ha=c:"undefined"!==typeof self?self.b=c:window.b=c})();Kl=a.ha})();function Ol(a){this.a=Kl(a);this.b={}}l=Ol.prototype;l.ya=function(a,c){var d=[a[0],a[1],a[2],a[3],c];this.a.ya(d);this.b[w(c)]=d};l.load=function(a,c){for(var d=Array(c.length),e=0,f=c.length;e<f;e++){var g=a[e],h=c[e],g=[g[0],g[1],g[2],g[3],h];d[e]=g;this.b[w(h)]=g}this.a.load(d)};l.remove=function(a){a=w(a);var c=this.b[a];delete this.b[a];return null!==this.a.remove(c)};function Pl(a,c,d){var e=w(d);jc(a.b[e].slice(0,4),c)||(a.remove(d),a.ya(c,d))}
  function Ql(a){return a.a.all().map(function(a){return a[4]})}function Rl(a,c){return a.a.search(c).map(function(a){return a[4]})}l.forEach=function(a,c){return Sl(Ql(this),a,c)};function Tl(a,c,d,e){return Sl(Rl(a,c),d,e)}function Sl(a,c,d){for(var e,f=0,g=a.length;f<g&&!(e=c.call(d,a[f]));f++);return e}l.Ya=function(){return Sa(this.b)};l.clear=function(){this.a.clear();this.b={}};l.H=function(){return this.a.data.bbox};function Q(a){a=a||{};Gf.call(this,{attributions:a.attributions,logo:a.logo,projection:void 0,state:"ready",wrapX:void 0!==a.wrapX?a.wrapX:!0});this.S=pa;this.ma=a.format;this.T=a.url;void 0!==a.loader?this.S=a.loader:void 0!==this.T&&(this.S=Il(this.T,this.ma));this.ob=void 0!==a.strategy?a.strategy:Jl;var c=void 0!==a.useSpatialIndex?a.useSpatialIndex:!0;this.a=c?new Ol:null;this.Y=new Ol;this.i={};this.o={};this.j={};this.s={};this.c=null;var d,e;a.features instanceof we?(d=a.features,e=d.a):Array.isArray(a.features)&&
  (e=a.features);c||void 0!==d||(d=new we(e));void 0!==e&&Ul(this,e);void 0!==d&&Vl(this,d)}y(Q,Gf);l=Q.prototype;l.pb=function(a){var c=w(a).toString();if(Wl(this,c,a)){Xl(this,c,a);var d=a.W();d?(c=d.H(),this.a&&this.a.ya(c,a)):this.i[c]=a;this.b(new Yl("addfeature",a))}this.u()};function Xl(a,c,d){a.s[c]=[C(d,"change",a.yh,a),C(d,"propertychange",a.yh,a)]}function Wl(a,c,d){var e=!0,f=d.Ua();void 0!==f?f.toString()in a.o?e=!1:a.o[f.toString()]=d:a.j[c]=d;return e}l.Ec=function(a){Ul(this,a);this.u()};
  function Ul(a,c){var d,e,f,g,h=[],k=[],m=[];e=0;for(f=c.length;e<f;e++)g=c[e],d=w(g).toString(),Wl(a,d,g)&&k.push(g);e=0;for(f=k.length;e<f;e++){g=k[e];d=w(g).toString();Xl(a,d,g);var n=g.W();n?(d=n.H(),h.push(d),m.push(g)):a.i[d]=g}a.a&&a.a.load(h,m);e=0;for(f=k.length;e<f;e++)a.b(new Yl("addfeature",k[e]))}
  function Vl(a,c){var d=!1;C(a,"addfeature",function(a){d||(d=!0,c.push(a.feature),d=!1)});C(a,"removefeature",function(a){d||(d=!0,c.remove(a.feature),d=!1)});C(c,"add",function(a){d||(a=a.element,d=!0,this.pb(a),d=!1)},a);C(c,"remove",function(a){d||(a=a.element,d=!0,this.jb(a),d=!1)},a);a.c=c}
  l.clear=function(a){if(a){for(var c in this.s)this.s[c].forEach(Wa);this.c||(this.s={},this.o={},this.j={})}else if(this.a){this.a.forEach(this.Nf,this);for(var d in this.i)this.Nf(this.i[d])}this.c&&this.c.clear();this.a&&this.a.clear();this.Y.clear();this.i={};this.b(new Yl("clear"));this.u()};l.rg=function(a,c){if(this.a)return this.a.forEach(a,c);if(this.c)return this.c.forEach(a,c)};function Zl(a,c,d){a.sb([c[0],c[1],c[0],c[1]],function(a){if(a.W().ng(c))return d.call(void 0,a)})}
  l.sb=function(a,c,d){if(this.a)return Tl(this.a,a,c,d);if(this.c)return this.c.forEach(c,d)};l.sg=function(a,c,d){return this.sb(a,function(e){if(e.W().Ha(a)&&(e=c.call(d,e)))return e})};l.zg=function(){return this.c};l.je=function(){var a;this.c?a=this.c.a:this.a&&(a=Ql(this.a),Sa(this.i)||xb(a,Ra(this.i)));return a};l.yg=function(a){var c=[];Zl(this,a,function(a){c.push(a)});return c};l.$e=function(a){return Rl(this.a,a)};
  l.ug=function(a,c){var d=a[0],e=a[1],f=null,g=[NaN,NaN],h=Infinity,k=[-Infinity,-Infinity,Infinity,Infinity],m=c?c:Bc;Tl(this.a,k,function(a){if(m(a)){var c=a.W(),q=h;h=c.qb(d,e,g,h);h<q&&(f=a,a=Math.sqrt(h),k[0]=d-a,k[1]=e-a,k[2]=d+a,k[3]=e+a)}});return f};l.H=function(){return this.a.H()};l.xg=function(a){a=this.o[a.toString()];return void 0!==a?a:null};l.wh=function(){return this.ma};l.xh=function(){return this.T};
  l.yh=function(a){a=a.target;var c=w(a).toString(),d=a.W();d?(d=d.H(),c in this.i?(delete this.i[c],this.a&&this.a.ya(d,a)):this.a&&Pl(this.a,d,a)):c in this.i||(this.a&&this.a.remove(a),this.i[c]=a);d=a.Ua();void 0!==d?(d=d.toString(),c in this.j?(delete this.j[c],this.o[d]=a):this.o[d]!==a&&($l(this,a),this.o[d]=a)):c in this.j||($l(this,a),this.j[c]=a);this.u();this.b(new Yl("changefeature",a))};l.Ya=function(){return this.a.Ya()&&Sa(this.i)};
  l.Kc=function(a,c,d){var e=this.Y;a=this.ob(a,c);var f,g;f=0;for(g=a.length;f<g;++f){var h=a[f];Tl(e,h,function(a){return cc(a.extent,h)})||(this.S.call(this,h,c,d),e.ya(h,{extent:h.slice()}))}};l.jb=function(a){var c=w(a).toString();c in this.i?delete this.i[c]:this.a&&this.a.remove(a);this.Nf(a);this.u()};l.Nf=function(a){var c=w(a).toString();this.s[c].forEach(Wa);delete this.s[c];var d=a.Ua();void 0!==d?delete this.o[d.toString()]:delete this.j[c];this.b(new Yl("removefeature",a))};
  function $l(a,c){for(var d in a.o)if(a.o[d]===c){delete a.o[d];break}}function Yl(a,c){gb.call(this,a);this.feature=c}y(Yl,gb);function am(a){this.c=a.source;this.wa=hd();this.i=yg();this.j=[0,0];this.v=null;jl.call(this,{attributions:a.attributions,canvasFunction:this.xj.bind(this),logo:a.logo,projection:a.projection,ratio:a.ratio,resolutions:a.resolutions,state:this.c.V()});this.S=null;this.s=void 0;this.rh(a.style);C(this.c,"change",this.Xm,this)}y(am,jl);l=am.prototype;
  l.xj=function(a,c,d,e,f){var g=new Hk(.5*c/d,a,c);this.c.Kc(a,c,f);var h=!1;this.c.sb(a,function(a){var e;if(!(e=h)){var f;(e=a.$b())?f=e.call(a,c):this.s&&(f=this.s(a,c));if(f){var p,q=!1;Array.isArray(f)||(f=[f]);e=0;for(p=f.length;e<p;++e)q=Ok(g,a,f[e],Nk(c,d),this.Wm,this)||q;e=q}else e=!1}h=e},this);Ik(g);if(h)return null;this.j[0]!=e[0]||this.j[1]!=e[1]?(this.i.canvas.width=e[0],this.i.canvas.height=e[1],this.j[0]=e[0],this.j[1]=e[1]):this.i.clearRect(0,0,e[0],e[1]);a=bm(this,uc(a),c,d,e);g.Oa(this.i,
  d,a,0,{});this.v=g;return this.i.canvas};l.na=function(a,c,d,e,f){if(this.v){var g={};return this.v.na(a,c,0,e,function(a){var c=w(a).toString();if(!(c in g))return g[c]=!0,f(a)})}};l.Tm=function(){return this.c};l.Um=function(){return this.S};l.Vm=function(){return this.s};function bm(a,c,d,e,f){return Uh(a.wa,f[0]/2,f[1]/2,e/d,-e/d,0,-c[0],-c[1])}l.Wm=function(){this.u()};l.Xm=function(){If(this,this.c.V())};l.rh=function(a){this.S=void 0!==a?a:Zj;this.s=a?Xj(this.S):void 0;this.u()};function cm(a){nk.call(this,a);this.f=null;this.s=hd();this.o=this.c=null}y(cm,nk);cm.prototype.na=function(a,c,d,e){var f=this.a;return f.da().na(a,c.viewState.resolution,c.viewState.rotation,c.skippedFeatureUids,function(a){return d.call(e,a,f)})};
  cm.prototype.xc=function(a,c,d,e){if(this.f&&this.f.a())if(this.a.da()instanceof am){if(a=a.slice(),Wh(c.pixelToCoordinateMatrix,a,a),this.na(a,c,Bc,this))return d.call(e,this.a)}else if(this.c||(this.c=hd(),nd(this.s,this.c)),c=[0,0],Wh(this.c,a,c),this.o||(this.o=yg(1,1)),this.o.clearRect(0,0,1,1),this.o.drawImage(this.f?this.f.a():null,c[0],c[1],1,1,0,0,1,1),0<this.o.getImageData(0,0,1,1).data[3])return d.call(e,this.a)};
  cm.prototype.l=function(a,c){var d=a.pixelRatio,e=a.viewState,f=e.center,g=e.resolution,h=this.a.da(),k=a.viewHints,m=a.extent;void 0!==c.extent&&(m=xc(m,c.extent));k[0]||k[1]||rc(m)||(e=h.B(m,g,d,e.projection))&&Zh(this,e)&&(this.f=e);if(this.f){var e=this.f,k=e.H(),m=e.$(),n=e.f,g=d*m/(g*n);Uh(this.s,d*a.size[0]/2,d*a.size[1]/2,g,g,0,n*(k[0]-f[0])/m,n*(f[1]-k[3])/m);this.c=null;ai(a.attributions,e.l);bi(a,h)}return!!this.f};function dm(a){nk.call(this,a);this.c=yg();this.o=null;this.j=Wb();this.S=[0,0,0];this.D=hd();this.C=0}y(dm,nk);dm.prototype.i=function(a,c,d){var e=qk(this,a,0);ok(this,"precompose",d,a,e);em(this,d,a,c);pk(this,d,a,e)};
  dm.prototype.l=function(a,c){function d(a){a=a.V();return 2==a||4==a||3==a&&!u}var e=a.pixelRatio,f=a.viewState,g=f.projection,h=this.a,k=h.da(),m=k.eb(g),n=Sf(m,f.resolution,this.C),p=m.$(n),q=f.center;p==f.resolution?(q=di(q,p,a.size),f=vc(q,p,f.rotation,a.size)):f=a.extent;void 0!==c.extent&&(f=xc(f,c.extent));if(rc(f))return!1;p=Pf(m,f,p);q={};q[n]={};var r=this.Ld(k,g,q),u=h.c(),v=Wb(),x=new qe(0,0,0,0),z,E,B,A;for(B=p.b;B<=p.a;++B)for(A=p.g;A<=p.f;++A)z=k.Wb(n,B,A,e,g),!d(z)&&z.a&&(z=z.a),d(z)?
  q[n][z.ia.toString()]=z:(E=Mf(m,z.ia,r,x,v),E||(z=Of(m,z.ia,x,v))&&r(n+1,z));r=Object.keys(q).map(Number);r.sort(tb);var v=[],G,x=0;for(B=r.length;x<B;++x)for(G in z=r[x],A=q[z],A)z=A[G],2==z.V()&&v.push(z);this.o=v;ci(a.usedTiles,k,n,p);ei(a,k,m,e,g,f,n,h.f());$h(a,k);bi(a,k);return!0};dm.prototype.xc=function(a,c,d,e){var f=this.c.canvas,g=c.size;f.width=g[0];f.height=g[1];this.i(c,Nh(this.a),this.c);if(0<this.c.getImageData(a[0],a[1],1,1).data[3])return d.call(e,this.a)};
  function em(a,c,d,e){var f=d.pixelRatio,g=d.viewState,h=g.center,k=g.projection,m=g.resolution,g=g.rotation,n=d.size,p=Math.round(f*n[0]/2),q=Math.round(f*n[1]/2),n=f/m,r=a.a,u=r.da(),v=u.Od(k),x=u.eb(k),r=lb(r,"render"),z=c,E,B,A,G;if(g||r)z=a.c,E=z.canvas,G=Sf(x,m),A=u.Ud(G,f,k),G=Ff(x.Ga(G)),A=A[0]/G[0],m=c.canvas.width*A,B=c.canvas.height*A,G=Math.round(Math.sqrt(m*m+B*B)),E.width!=G?E.width=E.height=G:z.clearRect(0,0,G,G),E=(G-m)/2/A,B=(G-B)/2/A,n*=A,p=Math.round(A*(p+E)),q=Math.round(A*(q+B));
  m=z.globalAlpha;z.globalAlpha=e.opacity;var O=a.o,N;e=u.df(k)&&1==e.opacity;e||(O.reverse(),N=[]);for(var Y=0,Ya=O.length;Y<Ya;++Y){var J=O[Y],wa=J.ia,Ua=x.Aa(wa,a.j),hb=wa[0],La=mc(x.Aa(x.kd(h,hb,a.S))),wa=Math.round(sc(Ua)*n),Ia=Math.round(tc(Ua)*n),gc=Math.round((Ua[0]-La[0])*n/wa)*wa+p+Math.round((La[0]-h[0])*n),Ua=Math.round((La[1]-Ua[3])*n/Ia)*Ia+q+Math.round((h[1]-La[1])*n);if(!e){La=[gc,Ua,gc+wa,Ua+Ia];z.save();for(var wc=0,at=N.length;wc<at;++wc){var He=N[wc];yc(La,He)&&(z.beginPath(),z.moveTo(La[0],
  La[1]),z.lineTo(La[0],La[3]),z.lineTo(La[2],La[3]),z.lineTo(La[2],La[1]),z.moveTo(He[0],He[1]),z.lineTo(He[2],He[1]),z.lineTo(He[2],He[3]),z.lineTo(He[0],He[3]),z.closePath(),z.clip())}N.push(La)}hb=u.Ud(hb,f,k);z.drawImage(J.$a(),v,v,hb[0],hb[1],gc,Ua,wa,Ia);e||z.restore()}r&&(f=E-p/A+p,k=B-q/A+q,h=Uh(a.D,G/2-f,G/2-k,n,-n,-g,-h[0]+f/n,-h[1]-k/n),ok(a,"render",z,d,h));(g||r)&&c.drawImage(z.canvas,-Math.round(E),-Math.round(B),G/A,G/A);z.globalAlpha=m};function fm(a){nk.call(this,a);this.c=!1;this.C=-1;this.B=NaN;this.v=Wb();this.o=this.U=null;this.j=yg()}y(fm,nk);
  fm.prototype.i=function(a,c,d){var e=a.extent,f=a.pixelRatio,g=c.Lc?a.skippedFeatureUids:{},h=a.viewState,k=h.projection,h=h.rotation,m=k.H(),n=this.a.da(),p=qk(this,a,0);ok(this,"precompose",d,a,p);var q=this.o;if(q&&!q.Ya()){var r;lb(this.a,"render")?(this.j.canvas.width=d.canvas.width,this.j.canvas.height=d.canvas.height,r=this.j):r=d;var u=r.globalAlpha;r.globalAlpha=c.opacity;c=a.size[0]*f;var v=a.size[1]*f;Lj(r,-h,c/2,v/2);q.Oa(r,f,p,h,g);if(n.D&&k.a&&!cc(m,e)){for(var k=e[0],n=sc(m),x=0;k<
  m[0];)--x,p=n*x,p=qk(this,a,p),q.Oa(r,f,p,h,g),k+=n;x=0;for(k=e[2];k>m[2];)++x,p=n*x,p=qk(this,a,p),q.Oa(r,f,p,h,g),k-=n;p=qk(this,a,0)}Lj(r,h,c/2,v/2);r!=d&&(ok(this,"render",r,a,p),d.drawImage(r.canvas,0,0));r.globalAlpha=u}pk(this,d,a,p)};fm.prototype.na=function(a,c,d,e){if(this.o){var f=this.a,g={};return this.o.na(a,c.viewState.resolution,c.viewState.rotation,{},function(a){var c=w(a).toString();if(!(c in g))return g[c]=!0,d.call(e,a,f)})}};fm.prototype.D=function(){Yh(this)};
  fm.prototype.l=function(a){function c(a){var c,e=a.$b();e?c=e.call(a,n):(e=d.i)&&(c=e(a,n));if(c){if(c){e=!1;if(Array.isArray(c))for(var f=0,g=c.length;f<g;++f)e=Ok(r,a,c[f],Nk(n,p),this.D,this)||e;else e=Ok(r,a,c,Nk(n,p),this.D,this)||e;a=e}else a=!1;this.c=this.c||a}}var d=this.a,e=d.da();ai(a.attributions,e.l);bi(a,e);var f=a.viewHints[0],g=a.viewHints[1],h=d.S,k=d.T;if(!this.c&&!h&&f||!k&&g)return!0;var m=a.extent,k=a.viewState,f=k.projection,n=k.resolution,p=a.pixelRatio,g=d.g,q=d.a,h=bk(d);
  void 0===h&&(h=Mk);m=Yb(m,q*n);q=k.projection.H();e.D&&k.projection.a&&!cc(q,a.extent)&&(a=Math.max(sc(m)/2,sc(q)),m[0]=q[0]-a,m[2]=q[2]+a);if(!this.c&&this.B==n&&this.C==g&&this.U==h&&cc(this.v,m))return!0;this.o=null;this.c=!1;var r=new Hk(.5*n/p,m,n,d.a);e.Kc(m,n,f);if(h){var u=[];e.sb(m,function(a){u.push(a)},this);u.sort(h);u.forEach(c,this)}else e.sb(m,c,this);Ik(r);this.B=n;this.C=g;this.U=h;this.v=m;this.o=r;return!0};function gm(a,c){var d=/\{z\}/g,e=/\{x\}/g,f=/\{y\}/g,g=/\{-y\}/g;return function(h){if(h)return a.replace(d,h[0].toString()).replace(e,h[1].toString()).replace(f,function(){return(-h[2]-1).toString()}).replace(g,function(){var a=c.a?c.a[h[0]]:null;return(a.f-a.g+1+h[2]).toString()})}}function hm(a,c){for(var d=a.length,e=Array(d),f=0;f<d;++f)e[f]=gm(a[f],c);return im(e)}function im(a){return 1===a.length?a[0]:function(c,d,e){if(c)return a[Ja((c[1]<<c[0])+c[2],a.length)](c,d,e)}}function jm(){}
  function km(a){var c=[],d=/\{(\d)-(\d)\}/.exec(a)||/\{([a-z])-([a-z])\}/.exec(a);if(d){var e=d[2].charCodeAt(0),f;for(f=d[1].charCodeAt(0);f<=e;++f)c.push(a.replace(d[0],String.fromCharCode(f)))}else c.push(a);return c};function lm(a){Xf.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,extent:a.extent,logo:a.logo,opaque:a.opaque,projection:a.projection,state:a.state,tileGrid:a.tileGrid,tilePixelRatio:a.tilePixelRatio,wrapX:a.wrapX});this.tileLoadFunction=a.tileLoadFunction;this.tileUrlFunction=this.qc?this.qc.bind(this):jm;this.urls=null;a.urls?this.Sa(a.urls):a.url&&this.Ma(a.url);a.tileUrlFunction&&this.Ka(a.tileUrlFunction)}y(lm,Xf);l=lm.prototype;l.Va=function(){return this.tileLoadFunction};
  l.Wa=function(){return this.tileUrlFunction};l.Xa=function(){return this.urls};l.vh=function(a){a=a.target;switch(a.V()){case 1:this.b(new ag("tileloadstart",a));break;case 2:this.b(new ag("tileloadend",a));break;case 3:this.b(new ag("tileloaderror",a))}};l.bb=function(a){this.a.clear();this.tileLoadFunction=a;this.u()};l.Ka=function(a,c){this.tileUrlFunction=a;"undefined"!==typeof c?Zf(this,c):this.u()};
  l.Ma=function(a){var c=this.urls=km(a);this.Ka(this.qc?this.qc.bind(this):hm(c,this.tileGrid),a)};l.Sa=function(a){this.urls=a;var c=a.join("\n");this.Ka(this.qc?this.qc.bind(this):hm(a,this.tileGrid),c)};l.Tf=function(a,c,d){a=this.Ab(a,c,d);wf(this.a,a)&&this.a.get(a)};function mm(a){lm.call(this,{attributions:a.attributions,cacheSize:void 0!==a.cacheSize?a.cacheSize:128,extent:a.extent,logo:a.logo,opaque:!1,projection:a.projection,state:a.state,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction?a.tileLoadFunction:nm,tileUrlFunction:a.tileUrlFunction,tilePixelRatio:a.tilePixelRatio,url:a.url,urls:a.urls,wrapX:void 0===a.wrapX?!0:a.wrapX});this.c=a.format?a.format:null;this.tileClass=a.tileClass?a.tileClass:ml}y(mm,lm);
  mm.prototype.Wb=function(a,c,d,e,f){var g=this.Ab(a,c,d);if(wf(this.a,g))return this.a.get(g);a=[a,c,d];e=(c=$f(this,a,f))?this.tileUrlFunction(c,e,f):void 0;e=new this.tileClass(a,void 0!==e?0:4,void 0!==e?e:"",this.c,this.tileLoadFunction);C(e,"change",this.vh,this);this.a.set(g,e);return e};mm.prototype.Ud=function(a,c){var d=Ff(this.tileGrid.Ga(a));return[d[0]*c,d[1]*c]};function nm(a,c){a.ei(Hl(c,a.l))};var om={image:rk,hybrid:["Polygon","LineString"]},pm={hybrid:["Image","Text"],vector:rk};function qm(a){dm.call(this,a);this.U=!1;this.v=hd();this.C="vector"==a.s?1:0}y(qm,dm);
  qm.prototype.i=function(a,c,d){var e=qk(this,a,0);ok(this,"precompose",d,a,e);var f=this.a.s;"vector"!==f&&em(this,d,a,c);if("image"!==f){var g=this.a,f=pm[g.s],h=a.pixelRatio,k=c.Lc?a.skippedFeatureUids:{},m=a.viewState,n=m.center,p=m.rotation,q=a.size,m=h/m.resolution,r=g.da(),u=r.Xb(h),v=qk(this,a,0);lb(g,"render")?(this.c.canvas.width=d.canvas.width,this.c.canvas.height=d.canvas.height,g=this.c):g=d;var x=g.globalAlpha;g.globalAlpha=c.opacity;c=this.o;var r=r.tileGrid,z,E,B,A,G,O,N,Y;E=0;for(B=
  c.length;E<B;++E)A=c[E],N=A.f,G=r.Aa(A.ia,this.j),z=A.ia[0],O="tile-pixels"==A.o.ub(),z=r.$(z),Y=z/u,z=Math.round(h*q[0]/2),A=Math.round(h*q[1]/2),O?(G=pc(G),G=Uh(this.v,z,A,m*Y,m*Y,p,(G[0]-n[0])/Y,(n[1]-G[1])/Y)):G=v,Lj(g,-p,z,A),N.td.Oa(g,h,G,p,k,f),Lj(g,p,z,A);g!=d&&(ok(this,"render",g,a,v),d.drawImage(g.canvas,0,0));g.globalAlpha=x}pk(this,d,a,e)};
  function rm(a,c,d){function e(a){var c,d=a.$b();d?c=d.call(a,v):(d=f.i)&&(c=d(a,v));if(c){Array.isArray(c)||(c=[c]);var d=E,e=z;if(c){var g=!1;if(Array.isArray(c))for(var h=0,k=c.length;h<k;++h)g=Ok(e,a,c[h],d,this.B,this)||g;else g=Ok(e,a,c,d,this.B,this)||g;a=g}else a=!1;this.U=this.U||a;m.bd=m.bd||a}}var f=a.a,g=d.pixelRatio;d=d.viewState.projection;var h=f.g,k=bk(f)||null,m=c.f;if(m.bd||m.Wh!=h||m.Of!=k){m.td=null;m.bd=!1;var n=f.da(),p=n.tileGrid,q=c.ia,r=c.o,u="tile-pixels"==r.ub(),v=p.$(q[0]),
  x;u?(u=n=n.Xb(g),p=Ff(p.Ga(q[0])),p=[0,0,p[0]*u,p[1]*u]):(n=v,p=p.Aa(q),Zc(d,r)||(x=!0,c.qf(d)));m.bd=!1;var z=new Hk(0,p,n,f.a),E=Nk(n,g);c=c.c;k&&k!==m.Of&&c.sort(k);p=0;for(q=c.length;p<q;++p)g=c[p],x&&g.W().gb(r,d),e.call(a,g);Ik(z);m.Wh=h;m.Of=k;m.td=z;m.resolution=NaN}}
  qm.prototype.na=function(a,c,d,e){var f=c.pixelRatio,g=c.viewState.resolution;c=c.viewState.rotation;var h=this.a,k={},m=this.o,n=h.da(),p=n.tileGrid,q,r,u,v,x,z;u=0;for(v=m.length;u<v;++u)z=m[u],r=z.ia,x=n.tileGrid.Aa(r,this.j),ac(x,a)&&("tile-pixels"===z.o.ub()?(x=pc(x),g=n.Xb(f),r=p.$(r[0])/g,r=[(a[0]-x[0])/r,(x[1]-a[1])/r]):r=a,z=z.f.td,q=q||z.na(r,g,c,{},function(a){var c=w(a).toString();if(!(c in k))return k[c]=!0,d.call(e,a,h)}));return q};qm.prototype.B=function(){Yh(this)};
  qm.prototype.l=function(a,c){var d=dm.prototype.l.call(this,a,c);if(d)for(var e=Object.keys(a.ze||{}),f=0,g=this.o.length;f<g;++f){var h=this.o[f];rm(this,h,a);var k=h,h=a,m=this.a,n=om[m.s];if(n){var p=h.pixelRatio,q=k.f,r=m.g;if(!Ab(q.ni,e)||q.Pf!==r){q.ni=e;q.Pf=r;var r=k.g,u=m.da(),v=u.tileGrid,x=k.ia[0],z=v.$(x),m=Ff(v.Ga(x)),x=v.$(x),E=x/z,B=m[0]*p*E,A=m[1]*p*E;r.canvas.width=B/E+.5;r.canvas.height=A/E+.5;r.scale(1/E,1/E);r.translate(B/2,A/2);E="tile-pixels"==k.o.ub();z=p/z;u=u.Xb(p);x/=u;k=
  v.Aa(k.ia,this.j);E?k=Uh(this.v,0,0,z*x,z*x,0,-m[0]*u/2,-m[1]*u/2):(k=uc(k),k=Uh(this.v,0,0,z,-z,0,-k[0],-k[1]));q.td.Oa(r,p,k,0,h.skippedFeatureUids||{},n)}}}return d};function sm(a,c){ki.call(this,0,c);this.f=yg();this.b=this.f.canvas;this.b.style.width="100%";this.b.style.height="100%";this.b.className="ol-unselectable";of(a,this.b,0);this.a=!0;this.c=hd()}y(sm,ki);sm.prototype.Se=function(a){return a instanceof Gj?new cm(a):a instanceof Hj?new dm(a):a instanceof I?new qm(a):a instanceof H?new fm(a):null};
  function tm(a,c,d){var e=a.i,f=a.f;if(lb(e,c)){var g=d.extent,h=d.pixelRatio,k=d.viewState.rotation,m=d.pixelRatio,n=d.viewState,p=n.resolution;a=Uh(a.c,a.b.width/2,a.b.height/2,m/p,-m/p,-n.rotation,-n.center[0],-n.center[1]);g=new ck(f,h,g,a,k);e.b(new Ph(c,e,g,d,f,null))}}sm.prototype.X=function(){return"canvas"};
  sm.prototype.xe=function(a){if(a){var c=this.f,d=a.pixelRatio,e=Math.round(a.size[0]*d),d=Math.round(a.size[1]*d);this.b.width!=e||this.b.height!=d?(this.b.width=e,this.b.height=d):c.clearRect(0,0,e,d);var f=a.viewState.rotation;li(a);tm(this,"precompose",a);var g=a.layerStatesArray;Bb(g);Lj(c,f,e/2,d/2);var h=a.viewState.resolution,k,m,n,p;k=0;for(m=g.length;k<m;++k)p=g[k],n=p.layer,n=ni(this,n),Rh(p,h)&&"ready"==p.R&&n.l(a,p)&&n.i(a,p,c);Lj(c,-f,e/2,d/2);tm(this,"postcompose",a);this.a||(this.b.style.display=
  "",this.a=!0);oi(this,a);a.postRenderFunctions.push(mi)}else this.a&&(this.b.style.display="none",this.a=!1)};function um(a,c){Xh.call(this,a);this.target=c}y(um,Xh);um.prototype.Id=pa;um.prototype.nh=pa;function vm(a){var c=document.createElement("DIV");c.style.position="absolute";um.call(this,a,c);this.f=null;this.c=jd()}y(vm,um);vm.prototype.na=function(a,c,d,e){var f=this.a;return f.da().na(a,c.viewState.resolution,c.viewState.rotation,c.skippedFeatureUids,function(a){return d.call(e,a,f)})};vm.prototype.Id=function(){nf(this.target);this.f=null};
  vm.prototype.tf=function(a,c){var d=a.viewState,e=d.center,f=d.resolution,g=d.rotation,h=this.f,k=this.a.da(),m=a.viewHints,n=a.extent;void 0!==c.extent&&(n=xc(n,c.extent));m[0]||m[1]||rc(n)||(d=k.B(n,f,a.pixelRatio,d.projection))&&Zh(this,d)&&(h=d);h&&(m=h.H(),n=h.$(),d=hd(),Uh(d,a.size[0]/2,a.size[1]/2,n/f,n/f,g,(m[0]-e[0])/n,(e[1]-m[3])/n),h!=this.f&&(e=h.a(this),e.style.maxWidth="none",e.style.position="absolute",nf(this.target),this.target.appendChild(e),this.f=h),Vh(d,this.c)||(Cg(this.target,
  d),kd(this.c,d)),ai(a.attributions,h.l),bi(a,k));return!0};function wm(a){var c=document.createElement("DIV");c.style.position="absolute";um.call(this,a,c);this.c=!0;this.l=1;this.i=0;this.f={}}y(wm,um);wm.prototype.Id=function(){nf(this.target);this.i=0};
  wm.prototype.tf=function(a,c){if(!c.visible)return this.c&&(this.target.style.display="none",this.c=!1),!0;var d=a.pixelRatio,e=a.viewState,f=e.projection,g=this.a,h=g.da(),k=h.eb(f),m=h.Od(f),n=Sf(k,e.resolution),p=k.$(n),q=e.center,r;p==e.resolution?(q=di(q,p,a.size),r=vc(q,p,e.rotation,a.size)):r=a.extent;void 0!==c.extent&&(r=xc(r,c.extent));var p=Pf(k,r,p),u={};u[n]={};var v=this.Ld(h,f,u),x=g.c(),z=Wb(),E=new qe(0,0,0,0),B,A,G,O;for(G=p.b;G<=p.a;++G)for(O=p.g;O<=p.f;++O)B=h.Wb(n,G,O,d,f),A=
  B.V(),A=2==A||4==A||3==A&&!x,!A&&B.a&&(B=B.a),A=B.V(),2==A?u[n][B.ia.toString()]=B:4==A||3==A&&!x||(A=Mf(k,B.ia,v,E,z),A||(B=Of(k,B.ia,E,z))&&v(n+1,B));var N;if(this.i!=h.g){for(N in this.f)x=this.f[+N],pf(x.target);this.f={};this.i=h.g}z=Object.keys(u).map(Number);z.sort(tb);var v={},Y;G=0;for(O=z.length;G<O;++G){N=z[G];N in this.f?x=this.f[N]:(x=k.kd(q,N),x=new xm(k,x),v[N]=!0,this.f[N]=x);N=u[N];for(Y in N){B=x;A=N[Y];var Ya=m,J=A.ia,wa=J[0],Ua=J[1],hb=J[2],J=J.toString();if(!(J in B.a)){var wa=
  Ff(B.c.Ga(wa),B.o),La=A.$a(B),Ia=La.style;Ia.maxWidth="none";var gc,wc;0<Ya?(gc=document.createElement("DIV"),wc=gc.style,wc.overflow="hidden",wc.width=wa[0]+"px",wc.height=wa[1]+"px",Ia.position="absolute",Ia.left=-Ya+"px",Ia.top=-Ya+"px",Ia.width=wa[0]+2*Ya+"px",Ia.height=wa[1]+2*Ya+"px",gc.appendChild(La)):(Ia.width=wa[0]+"px",Ia.height=wa[1]+"px",gc=La,wc=Ia);wc.position="absolute";wc.left=(Ua-B.g[1])*wa[0]+"px";wc.top=(B.g[2]-hb)*wa[1]+"px";B.b||(B.b=document.createDocumentFragment());B.b.appendChild(gc);
  B.a[J]=A}}x.b&&(x.target.appendChild(x.b),x.b=null)}m=Object.keys(this.f).map(Number);m.sort(tb);G=hd();Y=0;for(z=m.length;Y<z;++Y)if(N=m[Y],x=this.f[N],N in u)if(B=x.$(),O=x.Ea(),Uh(G,a.size[0]/2,a.size[1]/2,B/e.resolution,B/e.resolution,e.rotation,(O[0]-q[0])/B,(q[1]-O[1])/B),x.setTransform(G),N in v){for(--N;0<=N;--N)if(N in this.f){O=this.f[N].target;O.parentNode&&O.parentNode.insertBefore(x.target,O.nextSibling);break}0>N&&of(this.target,x.target,0)}else{if(!a.viewHints[0]&&!a.viewHints[1]){A=
  Nf(x.c,r,x.g[0],E);N=[];B=void 0;for(B in x.a)O=x.a[B],A.contains(O.ia)||N.push(O);A=0;for(Ya=N.length;A<Ya;++A)O=N[A],B=O.ia.toString(),pf(O.$a(x)),delete x.a[B]}}else pf(x.target),delete this.f[N];c.opacity!=this.l&&(this.l=this.target.style.opacity=c.opacity);c.visible&&!this.c&&(this.target.style.display="",this.c=!0);ci(a.usedTiles,h,n,p);ei(a,h,k,d,f,r,n,g.f());$h(a,h);bi(a,h);return!0};
  function xm(a,c){this.target=document.createElement("DIV");this.target.style.position="absolute";this.target.style.width="100%";this.target.style.height="100%";this.c=a;this.g=c;this.i=pc(a.Aa(c));this.l=a.$(c[0]);this.a={};this.b=null;this.f=jd();this.o=[0,0]}xm.prototype.Ea=function(){return this.i};xm.prototype.$=function(){return this.l};xm.prototype.setTransform=function(a){Vh(a,this.f)||(Cg(this.target,a),kd(this.f,a))};function ym(a){this.i=yg();var c=this.i.canvas;c.style.maxWidth="none";c.style.position="absolute";um.call(this,a,c);this.f=!1;this.l=-1;this.s=NaN;this.o=Wb();this.c=this.j=null;this.U=hd();this.v=hd()}y(ym,um);l=ym.prototype;l.Id=function(){var a=this.i.canvas;a.width=a.width;this.l=0};
  l.nh=function(a,c){var d=a.viewState,e=d.center,f=d.rotation,g=d.resolution,d=a.pixelRatio,h=a.size[0],k=a.size[1],m=h*d,n=k*d,e=Uh(this.U,d*h/2,d*k/2,d/g,-d/g,-f,-e[0],-e[1]),g=this.i;g.canvas.width=m;g.canvas.height=n;h=Uh(this.v,0,0,1/d,1/d,0,-(m-h)/2*d,-(n-k)/2*d);Cg(g.canvas,h);zm(this,"precompose",a,e);(h=this.c)&&!h.Ya()&&(g.globalAlpha=c.opacity,h.Oa(g,d,e,f,c.Lc?a.skippedFeatureUids:{}),zm(this,"render",a,e));zm(this,"postcompose",a,e)};
  function zm(a,c,d,e){var f=a.i;a=a.a;lb(a,c)&&(e=new ck(f,d.pixelRatio,d.extent,e,d.viewState.rotation),a.b(new Ph(c,a,e,d,f,null)))}l.na=function(a,c,d,e){if(this.c){var f=this.a,g={};return this.c.na(a,c.viewState.resolution,c.viewState.rotation,{},function(a){var c=w(a).toString();if(!(c in g))return g[c]=!0,d.call(e,a,f)})}};l.oh=function(){Yh(this)};
  l.tf=function(a){function c(a){var c,e=a.$b();e?c=e.call(a,m):(e=d.i)&&(c=e(a,m));if(c){if(c){e=!1;if(Array.isArray(c))for(var f=0,g=c.length;f<g;++f)e=Ok(p,a,c[f],Nk(m,n),this.oh,this)||e;else e=Ok(p,a,c,Nk(m,n),this.oh,this)||e;a=e}else a=!1;this.f=this.f||a}}var d=this.a,e=d.da();ai(a.attributions,e.l);bi(a,e);var f=a.viewHints[0],g=a.viewHints[1],h=d.S,k=d.T;if(!this.f&&!h&&f||!k&&g)return!0;var g=a.extent,h=a.viewState,f=h.projection,m=h.resolution,n=a.pixelRatio;a=d.g;k=d.a;h=bk(d);void 0===
  h&&(h=Mk);g=Yb(g,k*m);if(!this.f&&this.s==m&&this.l==a&&this.j==h&&cc(this.o,g))return!0;this.c=null;this.f=!1;var p=new Hk(.5*m/n,g,m,d.a);e.Kc(g,m,f);if(h){var q=[];e.sb(g,function(a){q.push(a)},this);q.sort(h);q.forEach(c,this)}else e.sb(g,c,this);Ik(p);this.s=m;this.l=a;this.j=h;this.o=g;this.c=p;return!0};function Am(a,c){ki.call(this,0,c);this.f=yg();var d=this.f.canvas;d.style.position="absolute";d.style.width="100%";d.style.height="100%";d.className="ol-unselectable";of(a,d,0);this.c=hd();this.b=document.createElement("DIV");this.b.className="ol-unselectable";d=this.b.style;d.position="absolute";d.width="100%";d.height="100%";C(this.b,"touchstart",jb);of(a,this.b,0);this.a=!0}y(Am,ki);Am.prototype.fa=function(){pf(this.b);ki.prototype.fa.call(this)};
  Am.prototype.Se=function(a){if(a instanceof Gj)a=new vm(a);else if(a instanceof Hj)a=new wm(a);else if(a instanceof H)a=new ym(a);else return null;return a};function Bm(a,c,d){var e=a.i;if(lb(e,c)){var f=d.extent,g=d.pixelRatio,h=d.viewState,k=h.rotation,m=a.f,n=m.canvas;Uh(a.c,n.width/2,n.height/2,g/h.resolution,-g/h.resolution,-h.rotation,-h.center[0],-h.center[1]);a=new ck(m,g,f,a.c,k);e.b(new Ph(c,e,a,d,m,null))}}Am.prototype.X=function(){return"dom"};
  Am.prototype.xe=function(a){if(a){var c=this.i;if(lb(c,"precompose")||lb(c,"postcompose")){var c=this.f.canvas,d=a.pixelRatio;c.width=a.size[0]*d;c.height=a.size[1]*d}Bm(this,"precompose",a);c=a.layerStatesArray;Bb(c);var d=a.viewState.resolution,e,f,g,h;e=0;for(f=c.length;e<f;++e)h=c[e],g=h.layer,g=ni(this,g),of(this.b,g.target,e),Rh(h,d)&&"ready"==h.R?g.tf(a,h)&&g.nh(a,h):g.Id();var c=a.layerStates,k;for(k in this.g)k in c||(g=this.g[k],pf(g.target));this.a||(this.b.style.display="",this.a=!0);
  li(a);oi(this,a);a.postRenderFunctions.push(mi);Bm(this,"postcompose",a)}else this.a&&(this.b.style.display="none",this.a=!1)};function Cm(a){this.b=a}function Dm(a){this.b=a}y(Dm,Cm);Dm.prototype.X=function(){return 35632};function Em(a){this.b=a}y(Em,Cm);Em.prototype.X=function(){return 35633};function Fm(){this.b="precision mediump float;varying vec2 a;varying float b;uniform float k;uniform sampler2D l;void main(void){vec4 texColor=texture2D(l,a);gl_FragColor.rgb=texColor.rgb;float alpha=texColor.a*b*k;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"}y(Fm,Dm);ba(Fm);
  function Gm(){this.b="varying vec2 a;varying float b;attribute vec2 c;attribute vec2 d;attribute vec2 e;attribute float f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;void main(void){mat4 offsetMatrix=i;if(g==1.0){offsetMatrix=i*j;}vec4 offsets=offsetMatrix*vec4(e,0.,0.);gl_Position=h*vec4(c,0.,1.)+offsets;a=d;b=f;}"}y(Gm,Em);ba(Gm);
  function Hm(a,c){this.o=a.getUniformLocation(c,"j");this.j=a.getUniformLocation(c,"i");this.i=a.getUniformLocation(c,"k");this.l=a.getUniformLocation(c,"h");this.b=a.getAttribLocation(c,"e");this.a=a.getAttribLocation(c,"f");this.f=a.getAttribLocation(c,"c");this.g=a.getAttribLocation(c,"g");this.c=a.getAttribLocation(c,"d")};function Im(a){this.b=void 0!==a?a:[]};function Jm(a,c){this.l=a;this.b=c;this.a={};this.c={};this.f={};this.j=this.s=this.i=this.o=null;(this.g=ub(oa,"OES_element_index_uint"))&&c.getExtension("OES_element_index_uint");C(this.l,"webglcontextlost",this.Tn,this);C(this.l,"webglcontextrestored",this.Un,this)}ma(Jm,eb);
  function Km(a,c,d){var e=a.b,f=d.b,g=String(w(d));if(g in a.a)e.bindBuffer(c,a.a[g].buffer);else{var h=e.createBuffer();e.bindBuffer(c,h);var k;34962==c?k=new Float32Array(f):34963==c&&(k=a.g?new Uint32Array(f):new Uint16Array(f));e.bufferData(c,k,35044);a.a[g]={yb:d,buffer:h}}}function Lm(a,c){var d=a.b,e=String(w(c)),f=a.a[e];d.isContextLost()||d.deleteBuffer(f.buffer);delete a.a[e]}l=Jm.prototype;
  l.fa=function(){db(this.l);var a=this.b;if(!a.isContextLost()){for(var c in this.a)a.deleteBuffer(this.a[c].buffer);for(c in this.f)a.deleteProgram(this.f[c]);for(c in this.c)a.deleteShader(this.c[c]);a.deleteFramebuffer(this.i);a.deleteRenderbuffer(this.j);a.deleteTexture(this.s)}};l.Sn=function(){return this.b};
  function Mm(a){if(!a.i){var c=a.b,d=c.createFramebuffer();c.bindFramebuffer(c.FRAMEBUFFER,d);var e=Nm(c,1,1),f=c.createRenderbuffer();c.bindRenderbuffer(c.RENDERBUFFER,f);c.renderbufferStorage(c.RENDERBUFFER,c.DEPTH_COMPONENT16,1,1);c.framebufferTexture2D(c.FRAMEBUFFER,c.COLOR_ATTACHMENT0,c.TEXTURE_2D,e,0);c.framebufferRenderbuffer(c.FRAMEBUFFER,c.DEPTH_ATTACHMENT,c.RENDERBUFFER,f);c.bindTexture(c.TEXTURE_2D,null);c.bindRenderbuffer(c.RENDERBUFFER,null);c.bindFramebuffer(c.FRAMEBUFFER,null);a.i=d;
  a.s=e;a.j=f}return a.i}function Om(a,c){var d=String(w(c));if(d in a.c)return a.c[d];var e=a.b,f=e.createShader(c.X());e.shaderSource(f,c.b);e.compileShader(f);return a.c[d]=f}function Pm(a,c,d){var e=w(c)+"/"+w(d);if(e in a.f)return a.f[e];var f=a.b,g=f.createProgram();f.attachShader(g,Om(a,c));f.attachShader(g,Om(a,d));f.linkProgram(g);return a.f[e]=g}l.Tn=function(){Qa(this.a);Qa(this.c);Qa(this.f);this.j=this.s=this.i=this.o=null};l.Un=function(){};
  l.re=function(a){if(a==this.o)return!1;this.b.useProgram(a);this.o=a;return!0};function Qm(a,c,d){var e=a.createTexture();a.bindTexture(a.TEXTURE_2D,e);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.LINEAR);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.LINEAR);void 0!==c&&a.texParameteri(3553,10242,c);void 0!==d&&a.texParameteri(3553,10243,d);return e}function Nm(a,c,d){var e=Qm(a,void 0,void 0);a.texImage2D(a.TEXTURE_2D,0,a.RGBA,c,d,0,a.RGBA,a.UNSIGNED_BYTE,null);return e}
  function Rm(a,c){var d=Qm(a,33071,33071);a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,c);return d};function Sm(a,c){this.C=this.B=void 0;this.j=uc(c);this.U=[];this.i=[];this.R=void 0;this.c=[];this.f=[];this.xa=this.ua=void 0;this.a=[];this.D=this.o=null;this.S=void 0;this.sa=jd();this.wa=jd();this.Y=this.T=void 0;this.Qa=jd();this.va=this.ea=this.Pa=void 0;this.Cb=[];this.l=[];this.b=[];this.v=null;this.g=[];this.s=[];this.ma=void 0}y(Sm,Oh);
  function Tm(a,c){var d=a.v,e=a.o,f=a.Cb,g=a.l,h=c.b;return function(){if(!h.isContextLost()){var a,m;a=0;for(m=f.length;a<m;++a)h.deleteTexture(f[a]);a=0;for(m=g.length;a<m;++a)h.deleteTexture(g[a])}Lm(c,d);Lm(c,e)}}
  function Um(a,c,d,e){var f=a.B,g=a.C,h=a.R,k=a.ua,m=a.xa,n=a.S,p=a.T,q=a.Y,r=a.Pa?1:0,u=a.ea,v=a.va,x=a.ma,z=Math.cos(u),u=Math.sin(u),E=a.a.length,B=a.b.length,A,G,O,N,Y,Ya;for(A=0;A<d;A+=e)Y=c[A]-a.j[0],Ya=c[A+1]-a.j[1],G=B/8,O=-v*f,N=-v*(h-g),a.b[B++]=Y,a.b[B++]=Ya,a.b[B++]=O*z-N*u,a.b[B++]=O*u+N*z,a.b[B++]=p/m,a.b[B++]=(q+h)/k,a.b[B++]=n,a.b[B++]=r,O=v*(x-f),N=-v*(h-g),a.b[B++]=Y,a.b[B++]=Ya,a.b[B++]=O*z-N*u,a.b[B++]=O*u+N*z,a.b[B++]=(p+x)/m,a.b[B++]=(q+h)/k,a.b[B++]=n,a.b[B++]=r,O=v*(x-f),N=
  v*g,a.b[B++]=Y,a.b[B++]=Ya,a.b[B++]=O*z-N*u,a.b[B++]=O*u+N*z,a.b[B++]=(p+x)/m,a.b[B++]=q/k,a.b[B++]=n,a.b[B++]=r,O=-v*f,N=v*g,a.b[B++]=Y,a.b[B++]=Ya,a.b[B++]=O*z-N*u,a.b[B++]=O*u+N*z,a.b[B++]=p/m,a.b[B++]=q/k,a.b[B++]=n,a.b[B++]=r,a.a[E++]=G,a.a[E++]=G+1,a.a[E++]=G+2,a.a[E++]=G,a.a[E++]=G+2,a.a[E++]=G+3}Sm.prototype.oc=function(a,c){this.g.push(this.a.length);this.s.push(c);var d=a.ga();Um(this,d,d.length,a.ta())};
  Sm.prototype.pc=function(a,c){this.g.push(this.a.length);this.s.push(c);var d=a.ga();Um(this,d,d.length,a.ta())};function Vm(a,c){var d=c.b;a.U.push(a.a.length);a.i.push(a.a.length);a.v=new Im(a.b);Km(c,34962,a.v);a.o=new Im(a.a);Km(c,34963,a.o);var e={};Wm(a.Cb,a.c,e,d);Wm(a.l,a.f,e,d);a.B=void 0;a.C=void 0;a.R=void 0;a.c=null;a.f=null;a.ua=void 0;a.xa=void 0;a.a=null;a.S=void 0;a.T=void 0;a.Y=void 0;a.Pa=void 0;a.ea=void 0;a.va=void 0;a.b=null;a.ma=void 0}
  function Wm(a,c,d,e){var f,g,h,k=c.length;for(h=0;h<k;++h)f=c[h],g=w(f).toString(),g in d?f=d[g]:(f=Rm(e,f),d[g]=f),a[h]=f}
  Sm.prototype.Oa=function(a,c,d,e,f,g,h,k,m,n,p){g=a.b;Km(a,34962,this.v);Km(a,34963,this.o);var q=Fm.Ub(),r=Gm.Ub(),r=Pm(a,q,r);this.D?q=this.D:this.D=q=new Hm(g,r);a.re(r);g.enableVertexAttribArray(q.f);g.vertexAttribPointer(q.f,2,5126,!1,32,0);g.enableVertexAttribArray(q.b);g.vertexAttribPointer(q.b,2,5126,!1,32,8);g.enableVertexAttribArray(q.c);g.vertexAttribPointer(q.c,2,5126,!1,32,16);g.enableVertexAttribArray(q.a);g.vertexAttribPointer(q.a,1,5126,!1,32,24);g.enableVertexAttribArray(q.g);g.vertexAttribPointer(q.g,
  1,5126,!1,32,28);r=this.Qa;Uh(r,0,0,2/(d*f[0]),2/(d*f[1]),-e,-(c[0]-this.j[0]),-(c[1]-this.j[1]));c=this.wa;d=2/f[0];f=2/f[1];ld(c);c[0]=d;c[5]=f;c[10]=1;c[15]=1;f=this.sa;ld(f);0!==e&&qd(f,-e);g.uniformMatrix4fv(q.l,!1,r);g.uniformMatrix4fv(q.j,!1,c);g.uniformMatrix4fv(q.o,!1,f);g.uniform1f(q.i,h);var u;if(void 0===m)Xm(this,g,a,k,this.Cb,this.U);else{if(n)a:{e=a.g?5125:5123;a=a.g?4:2;f=this.g.length-1;for(h=this.l.length-1;0<=h;--h)for(g.bindTexture(3553,this.l[h]),n=0<h?this.i[h-1]:0,c=this.i[h];0<=
  f&&this.g[f]>=n;){u=this.g[f];d=this.s[f];r=w(d).toString();if(void 0===k[r]&&d.W()&&(void 0===p||yc(p,d.W().H()))&&(g.clear(g.COLOR_BUFFER_BIT|g.DEPTH_BUFFER_BIT),g.drawElements(4,c-u,e,u*a),c=m(d))){k=c;break a}c=u;f--}k=void 0}else g.clear(g.COLOR_BUFFER_BIT|g.DEPTH_BUFFER_BIT),Xm(this,g,a,k,this.l,this.i),k=(k=m(null))?k:void 0;u=k}g.disableVertexAttribArray(q.f);g.disableVertexAttribArray(q.b);g.disableVertexAttribArray(q.c);g.disableVertexAttribArray(q.a);g.disableVertexAttribArray(q.g);return u};
  function Xm(a,c,d,e,f,g){var h=d.g?5125:5123;d=d.g?4:2;if(Sa(e)){var k;a=0;e=f.length;for(k=0;a<e;++a){c.bindTexture(3553,f[a]);var m=g[a];c.drawElements(4,m-k,h,k*d);k=m}}else{k=0;var n,m=0;for(n=f.length;m<n;++m){c.bindTexture(3553,f[m]);for(var p=0<m?g[m-1]:0,q=g[m],r=p;k<a.g.length&&a.g[k]<=q;){var u=w(a.s[k]).toString();void 0!==e[u]?(r!==p&&c.drawElements(4,p-r,h,r*d),p=r=k===a.g.length-1?q:a.g[k+1]):p=k===a.g.length-1?q:a.g[k+1];k++}r!==p&&c.drawElements(4,p-r,h,r*d)}}}
  Sm.prototype.Ob=function(a){var c=a.Tb(),d=a.ec(1),e=a.fd(),f=a.ke(1),g=a.v,h=a.Ea(),k=a.U,m=a.j,n=a.Bb();a=a.i;var p;0===this.c.length?this.c.push(d):(p=this.c[this.c.length-1],w(p)!=w(d)&&(this.U.push(this.a.length),this.c.push(d)));0===this.f.length?this.f.push(f):(p=this.f[this.f.length-1],w(p)!=w(f)&&(this.i.push(this.a.length),this.f.push(f)));this.B=c[0];this.C=c[1];this.R=n[1];this.ua=e[1];this.xa=e[0];this.S=g;this.T=h[0];this.Y=h[1];this.ea=m;this.Pa=k;this.va=a;this.ma=n[0]};
  function Ym(a,c,d){this.f=c;this.c=a;this.g=d;this.a={}}function Zm(a,c){var d=[],e;for(e in a.a)d.push(Tm(a.a[e],c));return function(){for(var a=d.length,c,e=0;e<a;e++)c=d[e].apply(this,arguments);return c}}function $m(a,c){for(var d in a.a)Vm(a.a[d],c)}Ym.prototype.b=function(a,c){var d=this.a[c];void 0===d&&(d=new an[c](this.c,this.f),this.a[c]=d);return d};Ym.prototype.Ya=function(){return Sa(this.a)};
  Ym.prototype.Oa=function(a,c,d,e,f,g,h,k){var m,n,p;m=0;for(n=rk.length;m<n;++m)p=this.a[rk[m]],void 0!==p&&p.Oa(a,c,d,e,f,g,h,k,void 0,!1)};function bn(a,c,d,e,f,g,h,k,m,n,p){var q=cn,r,u;for(r=rk.length-1;0<=r;--r)if(u=a.a[rk[r]],void 0!==u&&(u=u.Oa(c,d,e,f,q,g,h,k,m,n,p)))return u}
  Ym.prototype.na=function(a,c,d,e,f,g,h,k,m,n){var p=c.b;p.bindFramebuffer(p.FRAMEBUFFER,Mm(c));var q;void 0!==this.g&&(q=Yb(fc(a),e*this.g));return bn(this,c,a,e,f,h,k,m,function(a){var c=new Uint8Array(4);p.readPixels(0,0,1,1,p.RGBA,p.UNSIGNED_BYTE,c);if(0<c[3]&&(a=n(a)))return a},!0,q)};
  function dn(a,c,d,e,f,g,h,k){var m=d.b;m.bindFramebuffer(m.FRAMEBUFFER,Mm(d));return void 0!==bn(a,d,c,e,f,g,h,k,function(){var a=new Uint8Array(4);m.readPixels(0,0,1,1,m.RGBA,m.UNSIGNED_BYTE,a);return 0<a[3]},!1)}var an={Image:Sm},cn=[1,1];function en(a,c,d,e,f,g,h){this.b=a;this.f=c;this.g=g;this.c=h;this.o=f;this.l=e;this.i=d;this.a=null}y(en,Oh);l=en.prototype;l.md=function(a){this.Ob(a.a)};l.nc=function(a){switch(a.X()){case "Point":this.pc(a,null);break;case "MultiPoint":this.oc(a,null);break;case "GeometryCollection":this.Ue(a,null)}};l.Te=function(a,c){var d=(0,c.g)(a);d&&yc(this.g,d.H())&&(this.md(c),this.nc(d))};l.Ue=function(a){a=a.c;var c,d;c=0;for(d=a.length;c<d;++c)this.nc(a[c])};
  l.pc=function(a,c){var d=this.b,e=(new Ym(1,this.g)).b(0,"Image");e.Ob(this.a);e.pc(a,c);Vm(e,d);e.Oa(this.b,this.f,this.i,this.l,this.o,this.c,1,{},void 0,!1);Tm(e,d)()};l.oc=function(a,c){var d=this.b,e=(new Ym(1,this.g)).b(0,"Image");e.Ob(this.a);e.oc(a,c);Vm(e,d);e.Oa(this.b,this.f,this.i,this.l,this.o,this.c,1,{},void 0,!1);Tm(e,d)()};l.Ob=function(a){this.a=a};function fn(){this.b="precision mediump float;varying vec2 a;uniform float f;uniform sampler2D g;void main(void){vec4 texColor=texture2D(g,a);gl_FragColor.rgb=texColor.rgb;gl_FragColor.a=texColor.a*f;}"}y(fn,Dm);ba(fn);function gn(){this.b="varying vec2 a;attribute vec2 b;attribute vec2 c;uniform mat4 d;uniform mat4 e;void main(void){gl_Position=e*vec4(b,0.,1.);a=(d*vec4(c,0.,1.)).st;}"}y(gn,Em);ba(gn);
  function hn(a,c){this.g=a.getUniformLocation(c,"f");this.f=a.getUniformLocation(c,"e");this.i=a.getUniformLocation(c,"d");this.c=a.getUniformLocation(c,"g");this.b=a.getAttribLocation(c,"b");this.a=a.getAttribLocation(c,"c")};function jn(a,c){Xh.call(this,c);this.f=a;this.S=new Im([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]);this.i=this.nb=null;this.l=void 0;this.s=hd();this.U=jd();this.v=null}y(jn,Xh);
  function kn(a,c,d){var e=a.f.f;if(void 0===a.l||a.l!=d){c.postRenderFunctions.push(function(a,c,d){a.isContextLost()||(a.deleteFramebuffer(c),a.deleteTexture(d))}.bind(null,e,a.i,a.nb));c=Nm(e,d,d);var f=e.createFramebuffer();e.bindFramebuffer(36160,f);e.framebufferTexture2D(36160,36064,3553,c,0);a.nb=c;a.i=f;a.l=d}else e.bindFramebuffer(36160,a.i)}
  jn.prototype.ph=function(a,c,d){ln(this,"precompose",d,a);Km(d,34962,this.S);var e=d.b,f=fn.Ub(),g=gn.Ub(),f=Pm(d,f,g);this.v?g=this.v:this.v=g=new hn(e,f);d.re(f)&&(e.enableVertexAttribArray(g.b),e.vertexAttribPointer(g.b,2,5126,!1,16,0),e.enableVertexAttribArray(g.a),e.vertexAttribPointer(g.a,2,5126,!1,16,8),e.uniform1i(g.c,0));e.uniformMatrix4fv(g.i,!1,this.s);e.uniformMatrix4fv(g.f,!1,this.U);e.uniform1f(g.g,c.opacity);e.bindTexture(3553,this.nb);e.drawArrays(5,0,4);ln(this,"postcompose",d,a)};
  function ln(a,c,d,e){a=a.a;if(lb(a,c)){var f=e.viewState;a.b(new Ph(c,a,new en(d,f.center,f.resolution,f.rotation,e.size,e.extent,e.pixelRatio),e,null,d))}}jn.prototype.uf=function(){this.i=this.nb=null;this.l=void 0};function mn(a,c){jn.call(this,a,c);this.j=this.o=this.c=null}y(mn,jn);function nn(a,c){var d=c.a();return Rm(a.f.f,d)}mn.prototype.na=function(a,c,d,e){var f=this.a;return f.da().na(a,c.viewState.resolution,c.viewState.rotation,c.skippedFeatureUids,function(a){return d.call(e,a,f)})};
  mn.prototype.vf=function(a,c){var d=this.f.f,e=a.pixelRatio,f=a.viewState,g=f.center,h=f.resolution,k=f.rotation,m=this.c,n=this.nb,p=this.a.da(),q=a.viewHints,r=a.extent;void 0!==c.extent&&(r=xc(r,c.extent));q[0]||q[1]||rc(r)||(f=p.B(r,h,e,f.projection))&&Zh(this,f)&&(m=f,n=nn(this,f),this.nb&&a.postRenderFunctions.push(function(a,c){a.isContextLost()||a.deleteTexture(c)}.bind(null,d,this.nb)));m&&(d=this.f.c.l,on(this,d.width,d.height,e,g,h,k,m.H()),this.j=null,e=this.s,ld(e),pd(e,1,-1),od(e,0,
  -1),this.c=m,this.nb=n,ai(a.attributions,m.l),bi(a,p));return!0};function on(a,c,d,e,f,g,h,k){c*=g;d*=g;a=a.U;ld(a);pd(a,2*e/c,2*e/d);qd(a,-h);od(a,k[0]-f[0],k[1]-f[1]);pd(a,(k[2]-k[0])/2,(k[3]-k[1])/2);od(a,1,1)}mn.prototype.ge=function(a,c){return void 0!==this.na(a,c,Bc,this)};
  mn.prototype.xc=function(a,c,d,e){if(this.c&&this.c.a())if(this.a.da()instanceof am){if(a=a.slice(),Wh(c.pixelToCoordinateMatrix,a,a),this.na(a,c,Bc,this))return d.call(e,this.a)}else{var f=[this.c.a().width,this.c.a().height];if(!this.j){var g=c.size;c=hd();ld(c);od(c,-1,-1);pd(c,2/g[0],2/g[1]);od(c,0,g[1]);pd(c,1,-1);g=hd();nd(this.U,g);var h=hd();ld(h);od(h,0,f[1]);pd(h,1,-1);pd(h,f[0]/2,f[1]/2);od(h,1,1);var k=hd();md(h,g,k);md(k,c,k);this.j=k}c=[0,0];Wh(this.j,a,c);if(!(0>c[0]||c[0]>f[0]||0>
  c[1]||c[1]>f[1])&&(this.o||(this.o=yg(1,1)),this.o.clearRect(0,0,1,1),this.o.drawImage(this.c.a(),c[0],c[1],1,1,0,0,1,1),0<this.o.getImageData(0,0,1,1).data[3]))return d.call(e,this.a)}};function pn(){this.b="precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"}y(pn,Dm);ba(pn);function qn(){this.b="varying vec2 a;attribute vec2 b;attribute vec2 c;uniform vec4 d;void main(void){gl_Position=vec4(b*d.xy+d.zw,0.,1.);a=c;}"}y(qn,Em);ba(qn);function rn(a,c){this.g=a.getUniformLocation(c,"e");this.f=a.getUniformLocation(c,"d");this.b=a.getAttribLocation(c,"b");this.a=a.getAttribLocation(c,"c")};function sn(a,c){jn.call(this,a,c);this.D=pn.Ub();this.T=qn.Ub();this.c=null;this.C=new Im([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]);this.B=this.o=null;this.j=-1;this.R=[0,0]}y(sn,jn);l=sn.prototype;l.fa=function(){Lm(this.f.c,this.C);jn.prototype.fa.call(this)};l.Ld=function(a,c,d){var e=this.f;return function(f,g){return Yf(a,c,f,g,function(a){var c=wf(e.a,a.fb());c&&(d[f]||(d[f]={}),d[f][a.ia.toString()]=a);return c})}};l.uf=function(){jn.prototype.uf.call(this);this.c=null};
  l.vf=function(a,c,d){var e=this.f,f=d.b,g=a.viewState,h=g.projection,k=this.a,m=k.da(),n=m.eb(h),p=Sf(n,g.resolution),q=n.$(p),r=m.Ud(p,a.pixelRatio,h),u=r[0]/Ff(n.Ga(p),this.R)[0],v=q/u,x=m.Od(h),z=g.center,E;q==g.resolution?(z=di(z,q,a.size),E=vc(z,q,g.rotation,a.size)):E=a.extent;q=Pf(n,E,q);if(this.o&&se(this.o,q)&&this.j==m.g)v=this.B;else{var B=[q.a-q.b+1,q.f-q.g+1],A=Math.pow(2,Math.ceil(Math.log(Math.max(B[0]*r[0],B[1]*r[1]))/Math.LN2)),B=v*A,G=n.Ea(p),O=G[0]+q.b*r[0]*v,v=G[1]+q.g*r[1]*v,
  v=[O,v,O+B,v+B];kn(this,a,A);f.viewport(0,0,A,A);f.clearColor(0,0,0,0);f.clear(16384);f.disable(3042);A=Pm(d,this.D,this.T);d.re(A);this.c||(this.c=new rn(f,A));Km(d,34962,this.C);f.enableVertexAttribArray(this.c.b);f.vertexAttribPointer(this.c.b,2,5126,!1,16,0);f.enableVertexAttribArray(this.c.a);f.vertexAttribPointer(this.c.a,2,5126,!1,16,8);f.uniform1i(this.c.g,0);d={};d[p]={};var N=this.Ld(m,h,d),Y=k.c(),A=!0,O=Wb(),Ya=new qe(0,0,0,0),J,wa,Ua;for(wa=q.b;wa<=q.a;++wa)for(Ua=q.g;Ua<=q.f;++Ua){G=
  m.Wb(p,wa,Ua,u,h);if(void 0!==c.extent&&(J=n.Aa(G.ia,O),!yc(J,c.extent)))continue;J=G.V();J=2==J||4==J||3==J&&!Y;!J&&G.a&&(G=G.a);J=G.V();if(2==J){if(wf(e.a,G.fb())){d[p][G.ia.toString()]=G;continue}}else if(4==J||3==J&&!Y)continue;A=!1;J=Mf(n,G.ia,N,Ya,O);J||(G=Of(n,G.ia,Ya,O))&&N(p+1,G)}c=Object.keys(d).map(Number);c.sort(tb);for(var N=new Float32Array(4),hb,La,Ia,Y=0,Ya=c.length;Y<Ya;++Y)for(hb in La=d[c[Y]],La)G=La[hb],J=n.Aa(G.ia,O),wa=2*(J[2]-J[0])/B,Ua=2*(J[3]-J[1])/B,Ia=2*(J[0]-v[0])/B-1,
  J=2*(J[1]-v[1])/B-1,gd(N,wa,Ua,Ia,J),f.uniform4fv(this.c.f,N),tn(e,G,r,x*u),f.drawArrays(5,0,4);A?(this.o=q,this.B=v,this.j=m.g):(this.B=this.o=null,this.j=-1,a.animate=!0)}ci(a.usedTiles,m,p,q);var gc=e.o;ei(a,m,n,u,h,E,p,k.f(),function(a){var c;(c=2!=a.V()||wf(e.a,a.fb()))||(c=a.fb()in gc.g);c||gc.f([a,Rf(n,a.ia),n.$(a.ia[0]),r,x*u])},this);$h(a,m);bi(a,m);f=this.s;ld(f);od(f,(z[0]-v[0])/(v[2]-v[0]),(z[1]-v[1])/(v[3]-v[1]));0!==g.rotation&&qd(f,g.rotation);pd(f,a.size[0]*g.resolution/(v[2]-v[0]),
  a.size[1]*g.resolution/(v[3]-v[1]));od(f,-.5,-.5);return!0};l.xc=function(a,c,d,e){if(this.i){var f=[0,0];Wh(this.s,[a[0]/c.size[0],(c.size[1]-a[1])/c.size[1]],f);a=[f[0]*this.l,f[1]*this.l];c=this.f.c.b;c.bindFramebuffer(c.FRAMEBUFFER,this.i);f=new Uint8Array(4);c.readPixels(a[0],a[1],1,1,c.RGBA,c.UNSIGNED_BYTE,f);if(0<f[3])return d.call(e,this.a)}};function un(a,c){jn.call(this,a,c);this.j=!1;this.R=-1;this.D=NaN;this.B=Wb();this.o=this.c=this.C=null}y(un,jn);l=un.prototype;l.ph=function(a,c,d){this.o=c;var e=a.viewState,f=this.c;f&&!f.Ya()&&f.Oa(d,e.center,e.resolution,e.rotation,a.size,a.pixelRatio,c.opacity,c.Lc?a.skippedFeatureUids:{})};l.fa=function(){var a=this.c;a&&(Zm(a,this.f.c)(),this.c=null);jn.prototype.fa.call(this)};
  l.na=function(a,c,d,e){if(this.c&&this.o){var f=c.viewState,g=this.a,h={};return this.c.na(a,this.f.c,f.center,f.resolution,f.rotation,c.size,c.pixelRatio,this.o.opacity,{},function(a){var c=w(a).toString();if(!(c in h))return h[c]=!0,d.call(e,a,g)})}};l.ge=function(a,c){if(this.c&&this.o){var d=c.viewState;return dn(this.c,a,this.f.c,d.resolution,d.rotation,c.pixelRatio,this.o.opacity,c.skippedFeatureUids)}return!1};
  l.xc=function(a,c,d,e){a=a.slice();Wh(c.pixelToCoordinateMatrix,a,a);if(this.ge(a,c))return d.call(e,this.a)};l.qh=function(){Yh(this)};
  l.vf=function(a,c,d){function e(a){var c,d=a.$b();d?c=d.call(a,n):(d=f.i)&&(c=d(a,n));if(c){if(c){d=!1;if(Array.isArray(c))for(var e=0,g=c.length;e<g;++e)d=Ok(r,a,c[e],Nk(n,p),this.qh,this)||d;else d=Ok(r,a,c,Nk(n,p),this.qh,this)||d;a=d}else a=!1;this.j=this.j||a}}var f=this.a;c=f.da();ai(a.attributions,c.l);bi(a,c);var g=a.viewHints[0],h=a.viewHints[1],k=f.S,m=f.T;if(!this.j&&!k&&g||!m&&h)return!0;var h=a.extent,k=a.viewState,g=k.projection,n=k.resolution,p=a.pixelRatio,k=f.g,q=f.a,m=bk(f);void 0===
  m&&(m=Mk);h=Yb(h,q*n);if(!this.j&&this.D==n&&this.R==k&&this.C==m&&cc(this.B,h))return!0;this.c&&a.postRenderFunctions.push(Zm(this.c,d));this.j=!1;var r=new Ym(.5*n/p,h,f.a);c.Kc(h,n,g);if(m){var u=[];c.sb(h,function(a){u.push(a)},this);u.sort(m);u.forEach(e,this)}else c.sb(h,e,this);$m(r,d);this.D=n;this.R=k;this.C=m;this.B=h;this.c=r;return!0};function vn(a,c){ki.call(this,0,c);this.b=document.createElement("CANVAS");this.b.style.width="100%";this.b.style.height="100%";this.b.className="ol-unselectable";of(a,this.b,0);this.U=this.B=0;this.C=yg();this.j=!0;this.f=Eg(this.b,{antialias:!0,depth:!1,failIfMajorPerformanceCaveat:!0,preserveDrawingBuffer:!1,stencil:!0});this.c=new Jm(this.b,this.f);C(this.b,"webglcontextlost",this.Hm,this);C(this.b,"webglcontextrestored",this.Im,this);this.a=new vf;this.v=null;this.o=new pi(function(a){var c=
  a[1];a=a[2];var f=c[0]-this.v[0],c=c[1]-this.v[1];return 65536*Math.log(a)+Math.sqrt(f*f+c*c)/a}.bind(this),function(a){return a[0].fb()});this.D=function(){if(!this.o.Ya()){ti(this.o);var a=qi(this.o);tn(this,a[0],a[3],a[4])}return!1}.bind(this);this.l=0;wn(this)}y(vn,ki);
  function tn(a,c,d,e){var f=a.f,g=c.fb();if(wf(a.a,g))a=a.a.get(g),f.bindTexture(3553,a.nb),9729!=a.Qg&&(f.texParameteri(3553,10240,9729),a.Qg=9729),9729!=a.Sg&&(f.texParameteri(3553,10241,9729),a.Sg=9729);else{var h=f.createTexture();f.bindTexture(3553,h);if(0<e){var k=a.C.canvas,m=a.C;a.B!==d[0]||a.U!==d[1]?(k.width=d[0],k.height=d[1],a.B=d[0],a.U=d[1]):m.clearRect(0,0,d[0],d[1]);m.drawImage(c.$a(),e,e,d[0],d[1],0,0,d[0],d[1]);f.texImage2D(3553,0,6408,6408,5121,k)}else f.texImage2D(3553,0,6408,6408,
  5121,c.$a());f.texParameteri(3553,10240,9729);f.texParameteri(3553,10241,9729);f.texParameteri(3553,10242,33071);f.texParameteri(3553,10243,33071);a.a.set(g,{nb:h,Qg:9729,Sg:9729})}}l=vn.prototype;l.Se=function(a){return a instanceof Gj?new mn(this,a):a instanceof Hj?new sn(this,a):a instanceof H?new un(this,a):null};function xn(a,c,d){var e=a.i;if(lb(e,c)){a=a.c;var f=d.viewState;e.b(new Ph(c,e,new en(a,f.center,f.resolution,f.rotation,d.size,d.extent,d.pixelRatio),d,null,a))}}
  l.fa=function(){var a=this.f;a.isContextLost()||this.a.forEach(function(c){c&&a.deleteTexture(c.nb)});fb(this.c);ki.prototype.fa.call(this)};l.Aj=function(a,c){for(var d=this.f,e;1024<this.a.rc()-this.l;){if(e=this.a.b.kc)d.deleteTexture(e.nb);else if(+this.a.b.Yb==c.index)break;else--this.l;this.a.pop()}};l.X=function(){return"webgl"};l.Hm=function(a){a.preventDefault();this.a.clear();this.l=0;a=this.g;for(var c in a)a[c].uf()};l.Im=function(){wn(this);this.i.render()};
  function wn(a){a=a.f;a.activeTexture(33984);a.blendFuncSeparate(770,771,1,771);a.disable(2884);a.disable(2929);a.disable(3089);a.disable(2960)}
  l.xe=function(a){var c=this.c,d=this.f;if(d.isContextLost())return!1;if(!a)return this.j&&(this.b.style.display="none",this.j=!1),!1;this.v=a.focus;this.a.set((-a.index).toString(),null);++this.l;xn(this,"precompose",a);var e=[],f=a.layerStatesArray;Bb(f);var g=a.viewState.resolution,h,k,m,n;h=0;for(k=f.length;h<k;++h)n=f[h],Rh(n,g)&&"ready"==n.R&&(m=ni(this,n.layer),m.vf(a,n,c)&&e.push(n));f=a.size[0]*a.pixelRatio;g=a.size[1]*a.pixelRatio;if(this.b.width!=f||this.b.height!=g)this.b.width=f,this.b.height=
  g;d.bindFramebuffer(36160,null);d.clearColor(0,0,0,0);d.clear(16384);d.enable(3042);d.viewport(0,0,this.b.width,this.b.height);h=0;for(k=e.length;h<k;++h)n=e[h],m=ni(this,n.layer),m.ph(a,n,c);this.j||(this.b.style.display="",this.j=!0);li(a);1024<this.a.rc()-this.l&&a.postRenderFunctions.push(this.Aj.bind(this));this.o.Ya()||(a.postRenderFunctions.push(this.D),a.animate=!0);xn(this,"postcompose",a);oi(this,a);a.postRenderFunctions.push(mi)};
  l.na=function(a,c,d,e,f,g){var h;if(this.f.isContextLost())return!1;var k=c.viewState,m=c.layerStatesArray,n;for(n=m.length-1;0<=n;--n){h=m[n];var p=h.layer;if(Rh(h,k.resolution)&&f.call(g,p)&&(h=ni(this,p).na(a,c,d,e)))return h}};l.mh=function(a,c,d,e){var f=!1;if(this.f.isContextLost())return!1;var g=c.viewState,h=c.layerStatesArray,k;for(k=h.length-1;0<=k;--k){var m=h[k],n=m.layer;if(Rh(m,g.resolution)&&d.call(e,n)&&(f=ni(this,n).ge(a,c)))return!0}return f};
  l.lh=function(a,c,d,e,f){if(this.f.isContextLost())return!1;var g=c.viewState,h,k=c.layerStatesArray,m;for(m=k.length-1;0<=m;--m){h=k[m];var n=h.layer;if(Rh(h,g.resolution)&&f.call(e,n)&&(h=ni(this,n).xc(a,c,d,e)))return h}};var yn=["canvas","webgl","dom"];
  function R(a){pb.call(this);var c=zn(a);this.Db=void 0!==a.loadTilesWhileAnimating?a.loadTilesWhileAnimating:!1;this.Cc=void 0!==a.loadTilesWhileInteracting?a.loadTilesWhileInteracting:!1;this.Je=void 0!==a.pixelRatio?a.pixelRatio:Kg;this.Ie=c.logos;this.Y=function(){this.i=void 0;this.Mo.call(this,Date.now())}.bind(this);this.Qa=hd();this.Ke=hd();this.ob=0;this.f=null;this.wa=Wb();this.D=this.S=null;this.a=document.createElement("DIV");this.a.className="ol-viewport"+(Pg?" ol-touch":"");this.a.style.position=
  "relative";this.a.style.overflow="hidden";this.a.style.width="100%";this.a.style.height="100%";this.a.style.msTouchAction="none";this.a.style.touchAction="none";this.B=document.createElement("DIV");this.B.className="ol-overlaycontainer";this.a.appendChild(this.B);this.v=document.createElement("DIV");this.v.className="ol-overlaycontainer-stopevent";a=["click","dblclick","mousedown","touchstart","mspointerdown",Ih,"mousewheel","wheel"];for(var d=0,e=a.length;d<e;++d)C(this.v,a[d],ib);this.a.appendChild(this.v);
  this.va=new Ah(this);for(var f in Lh)C(this.va,Lh[f],this.Jg,this);this.ea=c.keyboardEventTarget;this.s=null;C(this.a,"wheel",this.Jc,this);C(this.a,"mousewheel",this.Jc,this);this.o=c.controls;this.l=c.interactions;this.j=c.overlays;this.xf={};this.C=new c.Oo(this.a,this);this.T=null;this.R=[];this.sa=[];this.ma=new ui(this.vk.bind(this),this.bl.bind(this));this.ze={};C(this,rb("layergroup"),this.Ik,this);C(this,rb("view"),this.cl,this);C(this,rb("size"),this.Zk,this);C(this,rb("target"),this.al,
  this);this.G(c.values);this.o.forEach(function(a){a.setMap(this)},this);C(this.o,"add",function(a){a.element.setMap(this)},this);C(this.o,"remove",function(a){a.element.setMap(null)},this);this.l.forEach(function(a){a.setMap(this)},this);C(this.l,"add",function(a){a.element.setMap(this)},this);C(this.l,"remove",function(a){a.element.setMap(null)},this);this.j.forEach(this.hg,this);C(this.j,"add",function(a){this.hg(a.element)},this);C(this.j,"remove",function(a){var c=a.element.Ua();void 0!==c&&delete this.xf[c.toString()];
  a.element.setMap(null)},this)}y(R,pb);l=R.prototype;l.oj=function(a){this.o.push(a)};l.pj=function(a){this.l.push(a)};l.fg=function(a){this.sc().Oc().push(a)};l.gg=function(a){this.j.push(a)};l.hg=function(a){var c=a.Ua();void 0!==c&&(this.xf[c.toString()]=a);a.setMap(this)};l.Ta=function(a){this.render();Array.prototype.push.apply(this.R,arguments)};
  l.fa=function(){fb(this.va);fb(this.C);cb(this.a,"wheel",this.Jc,this);cb(this.a,"mousewheel",this.Jc,this);void 0!==this.c&&(qa.removeEventListener("resize",this.c,!1),this.c=void 0);this.i&&(qa.cancelAnimationFrame(this.i),this.i=void 0);this.Zg(null);pb.prototype.fa.call(this)};l.ed=function(a,c,d,e,f){if(this.f)return a=this.La(a),this.C.na(a,this.f,c,void 0!==d?d:null,void 0!==e?e:Bc,void 0!==f?f:null)};
  l.Nl=function(a,c,d,e,f){if(this.f)return this.C.lh(a,this.f,c,void 0!==d?d:null,void 0!==e?e:Bc,void 0!==f?f:null)};l.el=function(a,c,d){if(!this.f)return!1;a=this.La(a);return this.C.mh(a,this.f,void 0!==c?c:Bc,void 0!==d?d:null)};l.Qj=function(a){return this.La(this.Nd(a))};l.Nd=function(a){var c=this.a.getBoundingClientRect();a=a.changedTouches?a.changedTouches[0]:a;return[a.clientX-c.left,a.clientY-c.top]};l.nf=function(){return this.get("target")};
  l.tc=function(){var a=this.nf();return void 0!==a?gf(a):null};l.La=function(a){var c=this.f;return c?(a=a.slice(),Wh(c.pixelToCoordinateMatrix,a,a)):null};l.Oj=function(){return this.o};l.hk=function(){return this.j};l.gk=function(a){a=this.xf[a.toString()];return void 0!==a?a:null};l.Vj=function(){return this.l};l.sc=function(){return this.get("layergroup")};l.Yg=function(){return this.sc().Oc()};l.Ca=function(a){var c=this.f;return c?(a=a.slice(0,2),Wh(c.coordinateToPixelMatrix,a,a)):null};
  l.Za=function(){return this.get("size")};l.aa=function(){return this.get("view")};l.xk=function(){return this.a};l.vk=function(a,c,d,e){var f=this.f;if(!(f&&c in f.wantedTiles&&f.wantedTiles[c][a.ia.toString()]))return Infinity;a=d[0]-f.focus[0];d=d[1]-f.focus[1];return 65536*Math.log(e)+Math.sqrt(a*a+d*d)/e};l.Jc=function(a,c){var d=new yh(c||a.type,this,a);this.Jg(d)};
  l.Jg=function(a){if(this.f){this.T=a.coordinate;a.frameState=this.f;var c=this.l.a,d;if(!1!==this.b(a))for(d=c.length-1;0<=d;d--){var e=c[d];if(e.f()&&!e.handleEvent(a))break}}};l.Xk=function(){var a=this.f,c=this.ma;if(!c.Ya()){var d=16,e=d;if(a){var f=a.viewHints;f[0]&&(d=this.Db?8:0,e=2);f[1]&&(d=this.Cc?8:0,e=2)}c.i<d&&(ti(c),vi(c,d,e))}c=this.sa;d=0;for(e=c.length;d<e;++d)c[d](this,a);c.length=0};l.Zk=function(){this.render()};
  l.al=function(){var a;this.nf()&&(a=this.tc());if(this.s){for(var c=0,d=this.s.length;c<d;++c)Wa(this.s[c]);this.s=null}a?(a.appendChild(this.a),a=this.ea?this.ea:a,this.s=[C(a,"keydown",this.Jc,this),C(a,"keypress",this.Jc,this)],this.c||(this.c=this.Sc.bind(this),qa.addEventListener("resize",this.c,!1))):(pf(this.a),void 0!==this.c&&(qa.removeEventListener("resize",this.c,!1),this.c=void 0));this.Sc()};l.bl=function(){this.render()};l.dl=function(){this.render()};
  l.cl=function(){this.S&&(Wa(this.S),this.S=null);var a=this.aa();a&&(this.S=C(a,"propertychange",this.dl,this));this.render()};l.Jk=function(){this.render()};l.Kk=function(){this.render()};l.Ik=function(){this.D&&(this.D.forEach(Wa),this.D=null);var a=this.sc();a&&(this.D=[C(a,"propertychange",this.Kk,this),C(a,"change",this.Jk,this)]);this.render()};l.No=function(){this.i&&qa.cancelAnimationFrame(this.i);this.Y()};l.render=function(){void 0===this.i&&(this.i=qa.requestAnimationFrame(this.Y))};
  l.Go=function(a){return this.o.remove(a)};l.Ho=function(a){return this.l.remove(a)};l.Jo=function(a){return this.sc().Oc().remove(a)};l.Ko=function(a){return this.j.remove(a)};
  l.Mo=function(a){var c,d,e,f=this.Za(),g=this.aa(),h=Wb(),k=null;if(void 0!==f&&0<f[0]&&0<f[1]&&g&&ge(g)){var k=ce(g,this.f?this.f.viewHints:void 0),m=this.sc().cf(),n={};c=0;for(d=m.length;c<d;++c)n[w(m[c].layer)]=m[c];e=g.V();k={animate:!1,attributions:{},coordinateToPixelMatrix:this.Qa,extent:h,focus:this.T?this.T:e.center,index:this.ob++,layerStates:n,layerStatesArray:m,logos:Pa({},this.Ie),pixelRatio:this.Je,pixelToCoordinateMatrix:this.Ke,postRenderFunctions:[],size:f,skippedFeatureUids:this.ze,
  tileQueue:this.ma,time:a,usedTiles:{},viewState:e,viewHints:k,wantedTiles:{}}}if(k){a=this.R;c=f=0;for(d=a.length;c<d;++c)g=a[c],g(this,k)&&(a[f++]=g);a.length=f;k.extent=vc(e.center,e.resolution,e.rotation,k.size,h)}this.f=k;this.C.xe(k);k&&(k.animate&&this.render(),Array.prototype.push.apply(this.sa,k.postRenderFunctions),0!==this.R.length||k.viewHints[0]||k.viewHints[1]||jc(k.extent,this.wa)||(this.b(new tf("moveend",this,k)),Zb(k.extent,this.wa)));this.b(new tf("postrender",this,k));rg(this.Xk,
  this)};l.di=function(a){this.set("layergroup",a)};l.Rf=function(a){this.set("size",a)};l.Zg=function(a){this.set("target",a)};l.bp=function(a){this.set("view",a)};l.mi=function(a){a=w(a).toString();this.ze[a]=!0;this.render()};
  l.Sc=function(){var a=this.tc();if(a){var c=qa.getComputedStyle(a);this.Rf([a.offsetWidth-parseFloat(c.borderLeftWidth)-parseFloat(c.paddingLeft)-parseFloat(c.paddingRight)-parseFloat(c.borderRightWidth),a.offsetHeight-parseFloat(c.borderTopWidth)-parseFloat(c.paddingTop)-parseFloat(c.paddingBottom)-parseFloat(c.borderBottomWidth)])}else this.Rf(void 0)};l.pi=function(a){a=w(a).toString();delete this.ze[a];this.render()};
  function zn(a){var c=null;void 0!==a.keyboardEventTarget&&(c="string"===typeof a.keyboardEventTarget?document.getElementById(a.keyboardEventTarget):a.keyboardEventTarget);var d={},e={};if(void 0===a.logo||"boolean"===typeof a.logo&&a.logo)e["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAAnCAYAAACSamGGAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAxhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDM0MiwgMjAxMC8wMS8xMC0xODowNjo0MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo2MkUwMjc4MTVFQkIxMUU2QjIwQjk3NEM5QTFFRTZFQyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo2MkUwMjc4MjVFQkIxMUU2QjIwQjk3NEM5QTFFRTZFQyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjYyRTAyNzdGNUVCQjExRTZCMjBCOTc0QzlBMUVFNkVDIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjYyRTAyNzgwNUVCQjExRTZCMjBCOTc0QzlBMUVFNkVDIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8++jSynwAACUhJREFUeNrMWXt0VEcd/u7dm+wmWfIkCYTQkAQICQLhUZQAUsRy0BxFKS0WKtW2pwg9lXos2B6xKH3go9B6VCLUgg9KS+tRWkqRQmOrHCoIiJBAwBDyME/Ic5Pse9dvJneT3SSbvfQvZ8/HbO7dmfnN7/f9HjMofr8f/+9NE/9krH77k4xNJz5HLCCmEya9D7R/6f054hRRSty63UUaDizvE1JRlNsZt4jYRBRH+N2CoH4j4SWOEM8TZ25nQbWvU4yggHiX+JAoNjgmGNS08mXiNPEWMdHYOF1IockIeI4oJ4qDnws2O90+9Di8Er1OL7w+Tsp3Pr50uAbe2fld0F8fu5KoIJ6KtHY/J0doVuL3xFcDD8QwIZzD5YXFbMKdk5ORlmSG1+uXz6/UdqGqsQcp8dHyXZI1moL74KHUZTc60dbtkpvQObydoIWwjrCP6DiKog73LpX4gJg28IjaozqcHh+WF2XiobsnQDP1aW1uXhIOn27Ctteu4JtLc7BmcSY8ZGF0lIrC3AT87kQtymu6uUMVihriA18n8oilRGdYIQO2D2oJxPuhAvZp0Onx46GlEyhIFn75ThWOnGnC5nsnobq5F4+XXMDT9+Xhi3PHYPvBq/h72S28tG4G+1a8cLACJm7IZDLpM4W0ucRRYslwGu1ToVB/KHYThYOfe2jS7PQ4KeTmV8vwm2PViIvRMC8/BSXvVWF6dqIUcO2Oczj0cSPGpsQgKy0W+47XSH6ZVFX3B2U4zCNeHvI8jOOsJlYNR2I/V5iaFY+mdgfO/qcT8bFRiNZUyTGb3Ys5k5NQXmvD9YYeWCm8WTNJeri4OVVVjDjoo4OdM0iTagDRxPagv4egl14azcUtlihpusYONyop1P2LxqOjxwMzOahFadA0Ddeb7ehx+rBifgZsDj9GmjcIPyVM/X/3a3Lgs5G4Q8HwH43aKK/tRpxFw+ycBLi9ffTaeagKy2anoTA7ASmjzJg0Ng4uNx2MePFPlXh02QQ8cNd4dNsZn/zhZu//FBAPB/4abO6YSHFLo2mb251462QDNq3Mpbk1aepr1OR3XinHp6ckYRY9eePyHGlesanTVzuwae9l+fu1SzIZL72SaxHM/gxhCjG3X/CNPCSS9e9yIv8gCPVbzBr2fVCPpjYXdm2YTrNTUDrExepuPFZSjpqbdty3MANb7p/MHEO+0nLHL7Tiyb1X8MRXclA0NUVGCP8w8wdhHFHsD3EcdsRKve+HiGkOpx+95FOvsw9ON5hBfFhfchm3utzY/dh0ZKXGMR5q5KYdz79RibIaG6NALHY8XMBgboaF7z661I4/lNZj3bIsahMDc7J3uftkUEPXX6XoLqPpjmPSC4f+5qRH5qRZsKIoHT5Ga5Hu+kM6N+hiOqxibLx75mjs3TgNa3ZeQkObE+dv9KCz10tauHAPx45m5vnWrssc5MXhM7fwtc+OxbMPTJKpUlAlSmNk6PVg/0dNnNMbXOwsCgnm5PI0PQUOBFBuosXmZmpLxMKCxLB5U+Tj9MRoPLJ0HJ45UAmP38eUGIX5+ePk+yUzUrBywRjG0Tq+8yM1wYxvfykrZI6XD9eg2+mhwCGZT0yQTdzQHUfNE6kxGBrDi43euGnfNdTddIQVMrDxz0xJZLBX8IVZqcgbFxfym1k58RTARC1mICE2tFw4eo5Z6e06uZ46SAYh10Duhpo6nACWKIUmdeIHB6qwe8MUGQMDzUXy+6iZQBpOiotCyfp8FM8ZDY9wjKDUl50ew/H5WDYrBcGla3WLAz98oxpuDzi3KVz9EBBSsYZTU5xZ5W5bsef9BjxenNn/qozFwrNvVsPKSkiEGxMRZzGh9GKHTJ/B+d5LTmemmGn65AHOk9PbKOCNJruMu0r4KizgOBjRnGKXvzpSj5nZVizQ+VkwPg456Ra8eqJRBl2hdX+Q+QMVk6gj47iRnzyYG2LqPccacPT8rT4BFSOVuaJ0hkn6Ehr5JDx26+vVaOpwySFeCrBlVTZ+vX4KivITZIpU1AE+iXGxFGBFURpef7JA9kJg0U5e6cIv3msgTzU5ZoS1O4NDUH2kc4ZY8FqTE2teqkAuOeZhIetgXk5nwfuNJRmw0tRX6nrQxvwteJqRbEbuGAtutDix/2838cqJZub8Pm1frO6Bg7FR6/fmsKqsDyp6latGDkRRrAfL63pROMGKBxdnSDOWUbBLNT146p7x9OwkyUdRCItWUW/HP67asHZxOtISotFu8+C5P9YynroRa1aNLCnlUgRvctefFd9bAt40UhO/H8UyTGgpZZSGyRmxmJNrRTs1eL7KhlZmIRGQs1ItKMyxSqFPVXRSMBcrJheLYycjg8/ICbWSmHS9ZE5/CBLdcWJ1pJFi7labF5nJfiyfm4qaFjsdoB3JVg13ToynA6nSeMLsp8g9IeTU8VZMyfRjx6EG2J2QMdNAO96/ptDMxA3yHC/O0e8aPQuLNDkmMQrz8qwyDoqYeZOaEhlIxEgREVL5vpd5/jIpcvZ6t0wOgoYG70yKiI8rd80MpEWpyb/oKp5oZAYxpKnTQ4fRCFEdqdRWDFo6ReGrICHGhAbmb8FbX51CzfrkocxnTMALQsBBp0XJD1HCbiVeMyQkh5BaOHaxC3dNHSU9VxQMo+M1ebz9N51EOFpjuxtnKnukgKrxm5ItQ+JkULF5gDhn4CwiEcV68b9tQohezM+Lx/SsWHT1+uRRdmH+KBns/1pu45HDLw9hBuctJY4MvRzwh+zwCeJD/fAescWQe41tHgbnZnx+Rjym3REDB1V8qqIHpZe6AF9fhW6QiCJTfDfM5UCIkCeJHxPfN2R2cZvBs0xdqxuLPxXPGBojn/c4WlFT6oYlWoVq/D7saZ2Pw11YDWmCmweNziz42EEzf29/PTp5tD1LDr74TrMsaG/jwm4PsTPsDYZfHSKrcKK1uslXGtGmxQxcrnfiR282oZ487bT7mVVMRsPNb4kNI98FDZ87BT/u1c3+nCF+Rms49E+brOpjmcuFhBEU6dU5+POIN70RUpS49OQhBbuNpE1NC9ryyBKK4uERPT4buUSN2P5M5Ohc7Y5k+ghNlF+bRV42IuBIF1bDoZvYRuTofa3BcQFcJbbo439G2A2NG+DkbbWbuka36veK4k58tu5khXov+HxJ78/pYa3yk/7vw/8EGACjq1uiQYi8HgAAAABJRU5ErkJggg=="]=
  "http://www.ssd.net.cn";else{var f=a.logo;"string"===typeof f?e[f]="":f instanceof HTMLElement?e[w(f).toString()]=f:ga(f)&&(e[f.src]=f.href)}f=a.layers instanceof wj?a.layers:new wj({layers:a.layers});d.layergroup=f;d.target=a.target;d.view=void 0!==a.view?a.view:new be;var f=ki,g;void 0!==a.renderer?Array.isArray(a.renderer)?g=a.renderer:"string"===typeof a.renderer&&(g=[a.renderer]):g=yn;var h,k;h=0;for(k=g.length;h<k;++h){var m=g[h];if("canvas"==m){if(Mg){f=sm;break}}else if("dom"==m){f=Am;break}else if("webgl"==
  m&&Fg){f=vn;break}}var n;void 0!==a.controls?n=Array.isArray(a.controls)?new we(a.controls.slice()):a.controls:n=hg();var p;void 0!==a.interactions?p=Array.isArray(a.interactions)?new we(a.interactions.slice()):a.interactions:p=vj();a=void 0!==a.overlays?Array.isArray(a.overlays)?new we(a.overlays.slice()):a.overlays:new we;return{controls:n,interactions:p,keyboardEventTarget:c,logos:e,overlays:a,Oo:f,values:d}}Fj();function An(a){pb.call(this);this.j=a.id;this.o=void 0!==a.insertFirst?a.insertFirst:!0;this.s=void 0!==a.stopEvent?a.stopEvent:!0;this.f=document.createElement("DIV");this.f.className="ol-overlay-container";this.f.style.position="absolute";this.autoPan=void 0!==a.autoPan?a.autoPan:!1;this.i=void 0!==a.autoPanAnimation?a.autoPanAnimation:{};this.l=void 0!==a.autoPanMargin?a.autoPanMargin:20;this.a={Hd:"",$d:"",ye:"",Ae:"",visible:!0};this.c=null;C(this,rb("element"),this.Dk,this);C(this,rb("map"),
  this.Pk,this);C(this,rb("offset"),this.Tk,this);C(this,rb("position"),this.Vk,this);C(this,rb("positioning"),this.Wk,this);void 0!==a.element&&this.$h(a.element);this.fi(void 0!==a.offset?a.offset:[0,0]);this.ii(void 0!==a.positioning?a.positioning:"top-left");void 0!==a.position&&this.pf(a.position)}y(An,pb);l=An.prototype;l.be=function(){return this.get("element")};l.Ua=function(){return this.j};l.ce=function(){return this.get("map")};l.Eg=function(){return this.get("offset")};l.$g=function(){return this.get("position")};
  l.Fg=function(){return this.get("positioning")};l.Dk=function(){nf(this.f);var a=this.be();a&&this.f.appendChild(a)};l.Pk=function(){this.c&&(pf(this.f),Wa(this.c),this.c=null);var a=this.ce();a&&(this.c=C(a,"postrender",this.render,this),Bn(this),a=this.s?a.v:a.B,this.o?of(a,this.f,0):a.appendChild(this.f))};l.render=function(){Bn(this)};l.Tk=function(){Bn(this)};
  l.Vk=function(){Bn(this);if(void 0!==this.get("position")&&this.autoPan){var a=this.ce();if(void 0!==a&&a.tc()){var c=Cn(a.tc(),a.Za()),d=this.be(),e=d.offsetWidth,f=d.currentStyle||qa.getComputedStyle(d),e=e+(parseInt(f.marginLeft,10)+parseInt(f.marginRight,10)),f=d.offsetHeight,g=d.currentStyle||qa.getComputedStyle(d),f=f+(parseInt(g.marginTop,10)+parseInt(g.marginBottom,10)),h=Cn(d,[e,f]),d=this.l;cc(c,h)||(e=h[0]-c[0],f=c[2]-h[2],g=h[1]-c[1],h=c[3]-h[3],c=[0,0],0>e?c[0]=e-d:0>f&&(c[0]=Math.abs(f)+
  d),0>g?c[1]=g-d:0>h&&(c[1]=Math.abs(h)+d),0===c[0]&&0===c[1])||(d=a.aa().ab(),e=a.Ca(d),c=[e[0]+c[0],e[1]+c[1]],this.i&&(this.i.source=d,a.Ta(ne(this.i))),a.aa().ib(a.La(c)))}}};l.Wk=function(){Bn(this)};l.$h=function(a){this.set("element",a)};l.setMap=function(a){this.set("map",a)};l.fi=function(a){this.set("offset",a)};l.pf=function(a){this.set("position",a)};function Cn(a,c){var d=a.getBoundingClientRect(),e=d.left+qa.pageXOffset,d=d.top+qa.pageYOffset;return[e,d,e+c[0],d+c[1]]}
  l.ii=function(a){this.set("positioning",a)};function Dn(a,c){a.a.visible!==c&&(a.f.style.display=c?"":"none",a.a.visible=c)}
  function Bn(a){var c=a.ce(),d=a.$g();if(void 0!==c&&c.f&&void 0!==d){var d=c.Ca(d),e=c.Za(),c=a.f.style,f=a.Eg(),g=a.Fg(),h=f[0],f=f[1];if("bottom-right"==g||"center-right"==g||"top-right"==g)""!==a.a.$d&&(a.a.$d=c.left=""),h=Math.round(e[0]-d[0]-h)+"px",a.a.ye!=h&&(a.a.ye=c.right=h);else{""!==a.a.ye&&(a.a.ye=c.right="");if("bottom-center"==g||"center-center"==g||"top-center"==g)h-=a.f.offsetWidth/2;h=Math.round(d[0]+h)+"px";a.a.$d!=h&&(a.a.$d=c.left=h)}if("bottom-left"==g||"bottom-center"==g||"bottom-right"==
  g)""!==a.a.Ae&&(a.a.Ae=c.top=""),d=Math.round(e[1]-d[1]-f)+"px",a.a.Hd!=d&&(a.a.Hd=c.bottom=d);else{""!==a.a.Hd&&(a.a.Hd=c.bottom="");if("center-left"==g||"center-center"==g||"center-right"==g)f-=a.f.offsetHeight/2;d=Math.round(d[1]+f)+"px";a.a.Ae!=d&&(a.a.Ae=c.top=d)}Dn(a,!0)}else Dn(a,!1)};function En(a){a=a?a:{};this.l=void 0!==a.collapsed?a.collapsed:!0;this.o=void 0!==a.collapsible?a.collapsible:!0;this.o||(this.l=!1);var c=void 0!==a.className?a.className:"ol-overviewmap",d=void 0!==a.tipLabel?a.tipLabel:"Overview map",e=void 0!==a.collapseLabel?a.collapseLabel:"\u00ab";this.v="string"===typeof e?kf("SPAN",{},e):e;e=void 0!==a.label?a.label:"\u00bb";this.B="string"===typeof e?kf("SPAN",{},e):e;d=kf("BUTTON",{type:"button",title:d},this.o&&!this.l?this.v:this.B);C(d,"click",this.Zl,
  this);e=document.createElement("DIV");e.className="ol-overviewmap-map";var f=this.f=new R({controls:new we,interactions:new we,target:e,view:a.view});a.layers&&a.layers.forEach(function(a){f.fg(a)},this);var g=document.createElement("DIV");g.className="ol-overviewmap-box";g.style.boxSizing="border-box";this.j=new An({position:[0,0],positioning:"bottom-left",element:g});this.f.gg(this.j);c=kf("DIV",c+" ol-unselectable ol-control"+(this.l&&this.o?" ol-collapsed":"")+(this.o?"":" ol-uncollapsible"),
  e,d);uf.call(this,{element:c,render:a.render?a.render:Fn,target:a.target})}y(En,uf);l=En.prototype;l.setMap=function(a){var c=this.a;a!==c&&(c&&(c=c.aa())&&cb(c,rb("rotation"),this.Yd,this),uf.prototype.setMap.call(this,a),a&&(this.s.push(C(a,"propertychange",this.Qk,this)),0===this.f.Yg().Zb()&&this.f.di(a.sc()),a=a.aa()))&&(C(a,rb("rotation"),this.Yd,this),ge(a)&&(this.f.Sc(),Gn(this)))};
  l.Qk=function(a){"view"===a.key&&((a=a.oldValue)&&cb(a,rb("rotation"),this.Yd,this),a=this.a.aa(),C(a,rb("rotation"),this.Yd,this))};l.Yd=function(){this.f.aa().de(this.a.aa().Ja())};function Fn(){var a=this.a,c=this.f;if(a.f&&c.f){var d=a.Za(),a=a.aa().Fc(d),e=c.Za(),d=c.aa().Fc(e),f=c.Ca(pc(a)),g=c.Ca(nc(a)),c=Math.abs(f[0]-g[0]),f=Math.abs(f[1]-g[1]),g=e[0],e=e[1];c<.1*g||f<.1*e||c>.75*g||f>.75*e?Gn(this):cc(d,a)||(a=this.f,d=this.a.aa(),a.aa().ib(d.ab()))}Hn(this)}
  function Gn(a){var c=a.a;a=a.f;var d=c.Za(),c=c.aa().Fc(d),d=a.Za();a=a.aa();zc(c,1/(.1*Math.pow(2,Math.log(7.5)/Math.LN2/2)));a.Ye(c,d)}function Hn(a){var c=a.a,d=a.f;if(c.f&&d.f){var e=c.Za(),f=c.aa(),g=d.aa();d.Za();var d=f.Ja(),c=a.j,h=a.j.be(),f=f.Fc(e),e=g.$(),g=mc(f),f=oc(f),k;if(a=a.a.aa().ab())k=[g[0]-a[0],g[1]-a[1]],Rb(k,d),Mb(k,a);c.pf(k);h&&(h.style.width=Math.abs((g[0]-f[0])/e)+"px",h.style.height=Math.abs((f[1]-g[1])/e)+"px")}}l.Zl=function(a){a.preventDefault();In(this)};
  function In(a){a.element.classList.toggle("ol-collapsed");a.l?qf(a.v,a.B):qf(a.B,a.v);a.l=!a.l;var c=a.f;a.l||c.f||(c.Sc(),Gn(a),bb(c,"postrender",function(){Hn(this)},a))}l.Yl=function(){return this.o};l.am=function(a){this.o!==a&&(this.o=a,this.element.classList.toggle("ol-uncollapsible"),!a&&this.l&&In(this))};l.$l=function(a){this.o&&this.l!==a&&In(this)};l.Xl=function(){return this.l};l.ik=function(){return this.f};function Jn(a){a=a?a:{};var c=void 0!==a.className?a.className:"ol-scale-line";this.o=document.createElement("DIV");this.o.className=c+"-inner";this.f=document.createElement("DIV");this.f.className=c+" ol-unselectable";this.f.appendChild(this.o);this.v=null;this.j=void 0!==a.minWidth?a.minWidth:64;this.l=!1;this.C=void 0;this.B="";uf.call(this,{element:this.f,render:a.render?a.render:Kn,target:a.target});C(this,rb("units"),this.R,this);this.D(a.units||"metric")}y(Jn,uf);var Ln=[1,2,5];
  Jn.prototype.ub=function(){return this.get("units")};function Kn(a){(a=a.frameState)?this.v=a.viewState:this.v=null;Mn(this)}Jn.prototype.R=function(){Mn(this)};Jn.prototype.D=function(a){this.set("units",a)};
  function Mn(a){var c=a.v;if(c){var d=c.projection,e=d.Vb(),c=d.getPointResolution(c.resolution,c.center)*e,e=a.j*c,d="",f=a.ub();"degrees"==f?(d=Fc.degrees,c/=d,e<d/60?(d="\u2033",c*=3600):e<d?(d="\u2032",c*=60):d="\u00b0"):"imperial"==f?.9144>e?(d="in",c/=.0254):1609.344>e?(d="ft",c/=.3048):(d="mi",c/=1609.344):"nautical"==f?(c/=1852,d="nm"):"metric"==f?1>e?(d="mm",c*=1E3):1E3>e?d="m":(d="km",c/=1E3):"us"==f&&(.9144>e?(d="in",c*=39.37):1609.344>e?(d="ft",c/=.30480061):(d="mi",c/=1609.3472));for(var f=
  3*Math.floor(Math.log(a.j*c)/Math.log(10)),g;;){g=Ln[(f%3+3)%3]*Math.pow(10,Math.floor(f/3));e=Math.round(g/c);if(isNaN(e)){a.f.style.display="none";a.l=!1;return}if(e>=a.j)break;++f}c=g+" "+d;a.B!=c&&(a.o.innerHTML=c,a.B=c);a.C!=e&&(a.o.style.width=e+"px",a.C=e);a.l||(a.f.style.display="",a.l=!0)}else a.l&&(a.f.style.display="none",a.l=!1)};function Nn(a){a=a?a:{};this.f=void 0;this.l=On;this.v=[];this.C=this.j=0;this.T=null;this.ea=!1;this.Y=void 0!==a.duration?a.duration:200;var c=void 0!==a.className?a.className:"ol-zoomslider",d=kf("BUTTON",{type:"button","class":c+"-thumb ol-unselectable"}),c=kf("DIV",[c,"ol-unselectable","ol-control"],d);this.o=new sh(c);C(this.o,ch,this.Ck,this);C(this.o,dh,this.Hg,this);C(this.o,eh,this.Ig,this);C(c,"click",this.Bk,this);C(d,"click",ib);uf.call(this,{element:c,render:a.render?a.render:Pn})}
  y(Nn,uf);Nn.prototype.fa=function(){fb(this.o);uf.prototype.fa.call(this)};var On=0;l=Nn.prototype;l.setMap=function(a){uf.prototype.setMap.call(this,a);a&&a.render()};
  function Pn(a){if(a.frameState){if(!this.ea){var c=this.element,d=c.offsetWidth,e=c.offsetHeight,f=c.firstElementChild,g=qa.getComputedStyle(f),c=f.offsetWidth+parseFloat(g.marginRight)+parseFloat(g.marginLeft),f=f.offsetHeight+parseFloat(g.marginTop)+parseFloat(g.marginBottom);this.T=[c,f];d>e?(this.l=1,this.C=d-c):(this.l=On,this.j=e-f);this.ea=!0}a=a.frameState.viewState.resolution;a!==this.f&&(this.f=a,Qn(this,a))}}
  l.Bk=function(a){var c=this.a,d=c.aa(),e=d.$();c.Ta(pe({resolution:e,duration:this.Y,easing:je}));a=Rn(this,Da(1===this.l?(a.offsetX-this.T[0]/2)/this.C:(a.offsetY-this.T[1]/2)/this.j,0,1));d.Pb(d.constrainResolution(a))};
  l.Ck=function(a){if(!this.B&&a.b.target===this.element.firstElementChild&&(he(this.a.aa(),1),this.D=a.clientX,this.R=a.clientY,this.B=!0,0===this.v.length)){a=this.Hg;var c=this.Ig;this.v.push(C(document,"mousemove",a,this),C(document,"touchmove",a,this),C(document,dh,a,this),C(document,"mouseup",c,this),C(document,"touchend",c,this),C(document,eh,c,this))}};
  l.Hg=function(a){if(this.B){var c=this.element.firstElementChild;this.f=Rn(this,Da(1===this.l?(a.clientX-this.D+parseInt(c.style.left,10))/this.C:(a.clientY-this.R+parseInt(c.style.top,10))/this.j,0,1));this.a.aa().Pb(this.f);Qn(this,this.f);this.D=a.clientX;this.R=a.clientY}};l.Ig=function(){if(this.B){var a=this.a,c=a.aa();he(c,-1);a.Ta(pe({resolution:this.f,duration:this.Y,easing:je}));a=c.constrainResolution(this.f);c.Pb(a);this.B=!1;this.R=this.D=void 0;this.v.forEach(Wa);this.v.length=0}};
  function Qn(a,c){var d;d=1-fe(a.a.aa())(c);var e=a.element.firstElementChild;1==a.l?e.style.left=a.C*d+"px":e.style.top=a.j*d+"px"}function Rn(a,c){return ee(a.a.aa())(1-c)};function Sn(a){a=a?a:{};this.f=a.extent?a.extent:null;var c=void 0!==a.className?a.className:"ol-zoom-extent",d=kf("BUTTON",{type:"button",title:void 0!==a.tipLabel?a.tipLabel:"Fit to extent"},void 0!==a.label?a.label:"E");C(d,"click",this.l,this);c=kf("DIV",c+" ol-unselectable ol-control",d);uf.call(this,{element:c,target:a.target})}y(Sn,uf);Sn.prototype.l=function(a){a.preventDefault();var c=this.a;a=c.aa();var d=this.f?this.f:a.i.H(),c=c.Za();a.Ye(d,c)};function Tn(a){pb.call(this);a=a?a:{};this.a=null;C(this,rb("tracking"),this.Cl,this);this.lf(void 0!==a.tracking?a.tracking:!1)}ma(Tn,pb);l=Tn.prototype;l.fa=function(){this.lf(!1);pb.prototype.fa.call(this)};
  l.Vn=function(a){if(null!==a.alpha){var c=Ha(a.alpha);this.set("alpha",c);"boolean"===typeof a.absolute&&a.absolute?this.set("heading",c):fa(a.webkitCompassHeading)&&-1!=a.webkitCompassAccuracy&&this.set("heading",Ha(a.webkitCompassHeading))}null!==a.beta&&this.set("beta",Ha(a.beta));null!==a.gamma&&this.set("gamma",Ha(a.gamma));this.u()};l.Ij=function(){return this.get("alpha")};l.Lj=function(){return this.get("beta")};l.Sj=function(){return this.get("gamma")};l.Bl=function(){return this.get("heading")};
  l.Ug=function(){return this.get("tracking")};l.Cl=function(){if(Ng){var a=this.Ug();a&&!this.a?this.a=C(qa,"deviceorientation",this.Vn,this):a||null===this.a||(Wa(this.a),this.a=null)}};l.lf=function(a){this.set("tracking",a)};function Un(){this.defaultDataProjection=null}function Vn(a,c,d){var e;d&&(e={dataProjection:d.dataProjection?d.dataProjection:a.Na(c),featureProjection:d.featureProjection});return Wn(a,e)}function Wn(a,c){var d;c&&(d={featureProjection:c.featureProjection,dataProjection:c.dataProjection?c.dataProjection:a.defaultDataProjection,rightHanded:c.rightHanded},c.decimals&&(d.decimals=c.decimals));return d}
  function Xn(a,c,d){var e=d?Jc(d.featureProjection):null,f=d?Jc(d.dataProjection):null,g;e&&f&&!Zc(e,f)?a instanceof dd?g=(c?a.clone():a).gb(c?e:f,c?f:e):g=cd(c?a.slice():a,c?e:f,c?f:e):g=a;if(c&&d&&d.decimals){var h=Math.pow(10,d.decimals);a=function(a){for(var c=0,d=a.length;c<d;++c)a[c]=Math.round(a[c]*h)/h;return a};Array.isArray(g)?a(g):g.mc(a)}return g};function Yn(){this.defaultDataProjection=null}y(Yn,Un);function Zn(a){return ga(a)?a:"string"===typeof a?(a=JSON.parse(a))?a:null:null}l=Yn.prototype;l.X=function(){return"json"};l.Mb=function(a,c){return this.Pc(Zn(a),Vn(this,a,c))};l.Ba=function(a,c){return this.Ef(Zn(a),Vn(this,a,c))};l.Qc=function(a,c){return this.Lh(Zn(a),Vn(this,a,c))};l.Na=function(a){return this.Sh(Zn(a))};l.yd=function(a,c){return JSON.stringify(this.Tc(a,c))};l.Sb=function(a,c){return JSON.stringify(this.De(a,c))};
  l.Uc=function(a,c){return JSON.stringify(this.Fe(a,c))};function $n(a,c,d,e,f,g){var h=NaN,k=NaN,m=(d-c)/e;if(0!==m)if(1==m)h=a[c],k=a[c+1];else if(2==m)h=(1-f)*a[c]+f*a[c+e],k=(1-f)*a[c+1]+f*a[c+e+1];else{var k=a[c],m=a[c+1],n=0,h=[0],p;for(p=c+e;p<d;p+=e){var q=a[p],r=a[p+1],n=n+Math.sqrt((q-k)*(q-k)+(r-m)*(r-m));h.push(n);k=q;m=r}d=f*n;m=0;n=h.length;for(p=!1;m<n;)f=m+(n-m>>1),k=+tb(h[f],d),0>k?m=f+1:(n=f,p=!k);f=p?m:~m;0>f?(d=(d-h[-f-2])/(h[-f-1]-h[-f-2]),c+=(-f-2)*e,h=Ka(a[c],a[c+e],d),k=Ka(a[c+1],a[c+e+1],d)):(h=a[c+f*e],k=a[c+f*e+1])}return g?(g[0]=
  h,g[1]=k,g):[h,k]}function ao(a,c,d,e,f,g){if(d==c)return null;if(f<a[c+e-1])return g?(d=a.slice(c,c+e),d[e-1]=f,d):null;if(a[d-1]<f)return g?(d=a.slice(d-e,d),d[e-1]=f,d):null;if(f==a[c+e-1])return a.slice(c,c+e);c/=e;for(d/=e;c<d;)g=c+d>>1,f<a[(g+1)*e-1]?d=g:c=g+1;d=a[c*e-1];if(f==d)return a.slice((c-1)*e,(c-1)*e+e);g=(f-d)/(a[(c+1)*e-1]-d);d=[];var h;for(h=0;h<e-1;++h)d.push(Ka(a[(c-1)*e+h],a[c*e+h],g));d.push(f);return d}
  function bo(a,c,d,e,f,g){var h=0;if(g)return ao(a,h,c[c.length-1],d,e,f);if(e<a[d-1])return f?(a=a.slice(0,d),a[d-1]=e,a):null;if(a[a.length-1]<e)return f?(a=a.slice(a.length-d),a[d-1]=e,a):null;f=0;for(g=c.length;f<g;++f){var k=c[f];if(h!=k){if(e<a[h+d-1])break;if(e<=a[k-1])return ao(a,h,k,d,e,!1);h=k}}return null};function S(a,c){sd.call(this);this.i=null;this.C=this.D=this.j=-1;this.la(a,c)}y(S,sd);l=S.prototype;l.qj=function(a){this.A?xb(this.A,a):this.A=a.slice();this.u()};l.clone=function(){var a=new S(null);a.ba(this.f,this.A.slice());return a};l.qb=function(a,c,d,e){if(e<$b(this.H(),a,c))return e;this.C!=this.g&&(this.D=Math.sqrt(zd(this.A,0,this.A.length,this.a,0)),this.C=this.g);return Bd(this.A,0,this.A.length,this.a,this.D,!1,a,c,d,e)};
  l.Fj=function(a,c){return Qd(this.A,0,this.A.length,this.a,a,c)};l.dm=function(a,c){return"XYM"!=this.f&&"XYZM"!=this.f?null:ao(this.A,0,this.A.length,this.a,a,void 0!==c?c:!1)};l.Z=function(){return Gd(this.A,0,this.A.length,this.a)};l.vg=function(a,c){return $n(this.A,0,this.A.length,this.a,a,c)};l.em=function(){var a=this.A,c=this.a,d=a[0],e=a[1],f=0,g;for(g=0+c;g<this.A.length;g+=c)var h=a[g],k=a[g+1],f=f+Math.sqrt((h-d)*(h-d)+(k-e)*(k-e)),d=h,e=k;return f};
  function jk(a){a.j!=a.g&&(a.i=a.vg(.5,a.i),a.j=a.g);return a.i}l.Ic=function(a){var c=[];c.length=Id(this.A,0,this.A.length,this.a,a,c,0);a=new S(null);a.ba("XY",c);return a};l.X=function(){return"LineString"};l.Ha=function(a){return Rd(this.A,0,this.A.length,this.a,a)};l.la=function(a,c){a?(vd(this,c,a,1),this.A||(this.A=[]),this.A.length=Ed(this.A,0,a,this.a),this.u()):this.ba("XY",null)};l.ba=function(a,c){ud(this,a,c);this.u()};function T(a,c){sd.call(this);this.i=[];this.j=this.C=-1;this.la(a,c)}y(T,sd);l=T.prototype;l.rj=function(a){this.A?xb(this.A,a.ga().slice()):this.A=a.ga().slice();this.i.push(this.A.length);this.u()};l.clone=function(){var a=new T(null);a.ba(this.f,this.A.slice(),this.i.slice());return a};l.qb=function(a,c,d,e){if(e<$b(this.H(),a,c))return e;this.j!=this.g&&(this.C=Math.sqrt(Ad(this.A,0,this.i,this.a,0)),this.j=this.g);return Cd(this.A,0,this.i,this.a,this.C,!1,a,c,d,e)};
  l.gm=function(a,c,d){return"XYM"!=this.f&&"XYZM"!=this.f||0===this.A.length?null:bo(this.A,this.i,this.a,a,void 0!==c?c:!1,void 0!==d?d:!1)};l.Z=function(){return Hd(this.A,0,this.i,this.a)};l.zb=function(){return this.i};l.$j=function(a){if(0>a||this.i.length<=a)return null;var c=new S(null);c.ba(this.f,this.A.slice(0===a?0:this.i[a-1],this.i[a]));return c};
  l.gd=function(){var a=this.A,c=this.i,d=this.f,e=[],f=0,g,h;g=0;for(h=c.length;g<h;++g){var k=c[g],m=new S(null);m.ba(d,a.slice(f,k));e.push(m);f=k}return e};function kk(a){var c=[],d=a.A,e=0,f=a.i;a=a.a;var g,h;g=0;for(h=f.length;g<h;++g){var k=f[g],e=$n(d,e,k,a,.5);xb(c,e);e=k}return c}l.Ic=function(a){var c=[],d=[],e=this.A,f=this.i,g=this.a,h=0,k=0,m,n;m=0;for(n=f.length;m<n;++m){var p=f[m],k=Id(e,h,p,g,a,c,k);d.push(k);h=p}c.length=k;a=new T(null);a.ba("XY",c,d);return a};l.X=function(){return"MultiLineString"};
  l.Ha=function(a){a:{var c=this.A,d=this.i,e=this.a,f=0,g,h;g=0;for(h=d.length;g<h;++g){if(Rd(c,f,d[g],e,a)){a=!0;break a}f=d[g]}a=!1}return a};l.la=function(a,c){if(a){vd(this,c,a,2);this.A||(this.A=[]);var d=Fd(this.A,0,a,this.a,this.i);this.A.length=0===d.length?0:d[d.length-1];this.u()}else this.ba("XY",null,this.i)};l.ba=function(a,c,d){ud(this,a,c);this.i=d;this.u()};
  function co(a,c){var d=a.f,e=[],f=[],g,h;g=0;for(h=c.length;g<h;++g){var k=c[g];0===g&&(d=k.f);xb(e,k.ga());f.push(e.length)}a.ba(d,e,f)};function eo(a,c){sd.call(this);this.la(a,c)}y(eo,sd);l=eo.prototype;l.tj=function(a){this.A?xb(this.A,a.ga()):this.A=a.ga().slice();this.u()};l.clone=function(){var a=new eo(null);a.ba(this.f,this.A.slice());return a};l.qb=function(a,c,d,e){if(e<$b(this.H(),a,c))return e;var f=this.A,g=this.a,h,k,m;h=0;for(k=f.length;h<k;h+=g)if(m=Ga(a,c,f[h],f[h+1]),m<e){e=m;for(m=0;m<g;++m)d[m]=f[h+m];d.length=g}return e};l.Z=function(){return Gd(this.A,0,this.A.length,this.a)};
  l.kk=function(a){var c=this.A?this.A.length/this.a:0;if(0>a||c<=a)return null;c=new D(null);c.ba(this.f,this.A.slice(a*this.a,(a+1)*this.a));return c};l.ee=function(){var a=this.A,c=this.f,d=this.a,e=[],f,g;f=0;for(g=a.length;f<g;f+=d){var h=new D(null);h.ba(c,a.slice(f,f+d));e.push(h)}return e};l.X=function(){return"MultiPoint"};l.Ha=function(a){var c=this.A,d=this.a,e,f,g,h;e=0;for(f=c.length;e<f;e+=d)if(g=c[e],h=c[e+1],bc(a,g,h))return!0;return!1};
  l.la=function(a,c){a?(vd(this,c,a,1),this.A||(this.A=[]),this.A.length=Ed(this.A,0,a,this.a),this.u()):this.ba("XY",null)};l.ba=function(a,c){ud(this,a,c);this.u()};function fo(a,c){sd.call(this);this.i=[];this.C=-1;this.D=null;this.T=this.R=this.S=-1;this.j=null;this.la(a,c)}y(fo,sd);l=fo.prototype;l.uj=function(a){if(this.A){var c=this.A.length;xb(this.A,a.ga());a=a.zb().slice();var d,e;d=0;for(e=a.length;d<e;++d)a[d]+=c}else this.A=a.ga().slice(),a=a.zb().slice(),this.i.push();this.i.push(a);this.u()};l.clone=function(){for(var a=new fo(null),c=this.i.length,d=Array(c),e=0;e<c;++e)d[e]=this.i[e].slice();go(a,this.f,this.A.slice(),d);return a};
  l.qb=function(a,c,d,e){if(e<$b(this.H(),a,c))return e;if(this.R!=this.g){var f=this.i,g=0,h=0,k,m;k=0;for(m=f.length;k<m;++k)var n=f[k],h=Ad(this.A,g,n,this.a,h),g=n[n.length-1];this.S=Math.sqrt(h);this.R=this.g}f=lk(this);g=this.i;h=this.a;k=this.S;m=0;var n=[NaN,NaN],p,q;p=0;for(q=g.length;p<q;++p){var r=g[p];e=Cd(f,m,r,h,k,!0,a,c,d,e,n);m=r[r.length-1]}return e};
  l.wc=function(a,c){var d;a:{d=lk(this);var e=this.i,f=0;if(0!==e.length){var g,h;g=0;for(h=e.length;g<h;++g){var k=e[g];if(Od(d,f,k,this.a,a,c)){d=!0;break a}f=k[k.length-1]}}d=!1}return d};l.hm=function(){var a=lk(this),c=this.i,d=0,e=0,f,g;f=0;for(g=c.length;f<g;++f)var h=c[f],e=e+xd(a,d,h,this.a),d=h[h.length-1];return e};
  l.Z=function(a){var c;void 0!==a?(c=lk(this).slice(),Wd(c,this.i,this.a,a)):c=this.A;a=c;c=this.i;var d=this.a,e=0,f=[],g=0,h,k;h=0;for(k=c.length;h<k;++h){var m=c[h];f[g++]=Hd(a,e,m,d,f[g]);e=m[m.length-1]}f.length=g;return f};
  function mk(a){if(a.C!=a.g){var c=a.A,d=a.i,e=a.a,f=0,g=[],h,k;h=0;for(k=d.length;h<k;++h){var m=d[h],f=hc(c,f,m[0],e);g.push((f[0]+f[2])/2,(f[1]+f[3])/2);f=m[m.length-1]}c=lk(a);d=a.i;e=a.a;h=0;k=[];m=0;for(f=d.length;m<f;++m){var n=d[m];k=Pd(c,h,n,e,g,2*m,k);h=n[n.length-1]}a.D=k;a.C=a.g}return a.D}l.Xj=function(){var a=new eo(null);a.ba("XY",mk(this).slice());return a};
  function lk(a){if(a.T!=a.g){var c=a.A,d;a:{d=a.i;var e,f;e=0;for(f=d.length;e<f;++e)if(!Ud(c,d[e],a.a,void 0)){d=!1;break a}d=!0}d?a.j=c:(a.j=c.slice(),a.j.length=Wd(a.j,a.i,a.a));a.T=a.g}return a.j}l.Ic=function(a){var c=[],d=[],e=this.A,f=this.i,g=this.a;a=Math.sqrt(a);var h=0,k=0,m,n;m=0;for(n=f.length;m<n;++m){var p=f[m],q=[],k=Jd(e,h,p,g,a,c,k,q);d.push(q);h=p[p.length-1]}c.length=k;e=new fo(null);go(e,"XY",c,d);return e};
  l.mk=function(a){if(0>a||this.i.length<=a)return null;var c;0===a?c=0:(c=this.i[a-1],c=c[c.length-1]);a=this.i[a].slice();var d=a[a.length-1];if(0!==c){var e,f;e=0;for(f=a.length;e<f;++e)a[e]-=c}e=new F(null);e.ba(this.f,this.A.slice(c,d),a);return e};l.Qd=function(){var a=this.f,c=this.A,d=this.i,e=[],f=0,g,h,k,m;g=0;for(h=d.length;g<h;++g){var n=d[g].slice(),p=n[n.length-1];if(0!==f)for(k=0,m=n.length;k<m;++k)n[k]-=f;k=new F(null);k.ba(a,c.slice(f,p),n);e.push(k);f=p}return e};l.X=function(){return"MultiPolygon"};
  l.Ha=function(a){a:{var c=lk(this),d=this.i,e=this.a,f=0,g,h;g=0;for(h=d.length;g<h;++g){var k=d[g];if(Sd(c,f,k,e,a)){a=!0;break a}f=k[k.length-1]}a=!1}return a};l.la=function(a,c){if(a){vd(this,c,a,3);this.A||(this.A=[]);var d=this.A,e=this.a,f=this.i,g=0,f=f?f:[],h=0,k,m;k=0;for(m=a.length;k<m;++k)g=Fd(d,g,a[k],e,f[h]),f[h++]=g,g=g[g.length-1];f.length=h;0===f.length?this.A.length=0:(d=f[f.length-1],this.A.length=0===d.length?0:d[d.length-1]);this.u()}else go(this,"XY",null,this.i)};
  function go(a,c,d,e){ud(a,c,d);a.i=e;a.u()}function ho(a,c){var d=a.f,e=[],f=[],g,h,k;g=0;for(h=c.length;g<h;++g){var m=c[g];0===g&&(d=m.f);var n=e.length;k=m.zb();var p,q;p=0;for(q=k.length;p<q;++p)k[p]+=n;xb(e,m.ga());f.push(k)}go(a,d,e,f)};function io(a){a=a?a:{};this.defaultDataProjection=null;this.b=a.geometryName}y(io,Yn);
  function jo(a,c){if(!a)return null;var d;if(fa(a.x)&&fa(a.y))d="Point";else if(a.points)d="MultiPoint";else if(a.paths)d=1===a.paths.length?"LineString":"MultiLineString";else if(a.rings){var e=a.rings,f=ko(a),g=[];d=[];var h,k;h=0;for(k=e.length;h<k;++h){var m=wb(e[h]);Td(m,0,m.length,f.length)?g.push([e[h]]):d.push(e[h])}for(;d.length;){e=d.shift();f=!1;for(h=g.length-1;0<=h;h--)if(cc((new Kd(g[h][0])).H(),(new Kd(e)).H())){g[h].push(e);f=!0;break}f||g.push([e.reverse()])}a=Pa({},a);1===g.length?
  (d="Polygon",a.rings=g[0]):(d="MultiPolygon",a.rings=g)}return Xn((0,lo[d])(a),!1,c)}function ko(a){var c="XY";!0===a.hasZ&&!0===a.hasM?c="XYZM":!0===a.hasZ?c="XYZ":!0===a.hasM&&(c="XYM");return c}function mo(a){a=a.f;return{hasZ:"XYZ"===a||"XYZM"===a,hasM:"XYM"===a||"XYZM"===a}}
  var lo={Point:function(a){return void 0!==a.m&&void 0!==a.z?new D([a.x,a.y,a.z,a.m],"XYZM"):void 0!==a.z?new D([a.x,a.y,a.z],"XYZ"):void 0!==a.m?new D([a.x,a.y,a.m],"XYM"):new D([a.x,a.y])},LineString:function(a){return new S(a.paths[0],ko(a))},Polygon:function(a){return new F(a.rings,ko(a))},MultiPoint:function(a){return new eo(a.points,ko(a))},MultiLineString:function(a){return new T(a.paths,ko(a))},MultiPolygon:function(a){return new fo(a.rings,ko(a))}},no={Point:function(a){var c=a.Z();a=a.f;
  if("XYZ"===a)return{x:c[0],y:c[1],z:c[2]};if("XYM"===a)return{x:c[0],y:c[1],m:c[2]};if("XYZM"===a)return{x:c[0],y:c[1],z:c[2],m:c[3]};if("XY"===a)return{x:c[0],y:c[1]}},LineString:function(a){var c=mo(a);return{hasZ:c.hasZ,hasM:c.hasM,paths:[a.Z()]}},Polygon:function(a){var c=mo(a);return{hasZ:c.hasZ,hasM:c.hasM,rings:a.Z(!1)}},MultiPoint:function(a){var c=mo(a);return{hasZ:c.hasZ,hasM:c.hasM,points:a.Z()}},MultiLineString:function(a){var c=mo(a);return{hasZ:c.hasZ,hasM:c.hasM,paths:a.Z()}},MultiPolygon:function(a){var c=
  mo(a);a=a.Z(!1);for(var d=[],e=0;e<a.length;e++)for(var f=a[e].length-1;0<=f;f--)d.push(a[e][f]);return{hasZ:c.hasZ,hasM:c.hasM,rings:d}}};l=io.prototype;l.Pc=function(a,c){var d=jo(a.geometry,c),e=new kl;this.b&&e.zc(this.b);e.Ra(d);c&&c.gf&&a.attributes[c.gf]&&e.hc(a.attributes[c.gf]);a.attributes&&e.G(a.attributes);return e};
  l.Ef=function(a,c){var d=c?c:{};if(a.features){var e=[],f=a.features,g,h;d.gf=a.objectIdFieldName;g=0;for(h=f.length;g<h;++g)e.push(this.Pc(f[g],d));return e}return[this.Pc(a,d)]};l.Lh=function(a,c){return jo(a,c)};l.Sh=function(a){return a.spatialReference&&a.spatialReference.wkid?Jc("EPSG:"+a.spatialReference.wkid):null};function oo(a,c){return(0,no[a.X()])(Xn(a,!0,c),c)}l.Fe=function(a,c){return oo(a,Wn(this,c))};
  l.Tc=function(a,c){c=Wn(this,c);var d={},e=a.W();e&&(d.geometry=oo(e,c));e=a.O();delete e[a.a];d.attributes=Sa(e)?{}:e;c&&c.featureProjection&&(d.spatialReference={wkid:Jc(c.featureProjection).cb.split(":").pop()});return d};l.De=function(a,c){c=Wn(this,c);var d=[],e,f;e=0;for(f=a.length;e<f;++e)d.push(this.Tc(a[e],c));return{features:d}};function po(a){dd.call(this);this.c=a?a:null;qo(this)}y(po,dd);function ro(a){var c=[],d,e;d=0;for(e=a.length;d<e;++d)c.push(a[d].clone());return c}function so(a){var c,d;if(a.c)for(c=0,d=a.c.length;c<d;++c)cb(a.c[c],"change",a.u,a)}function qo(a){var c,d;if(a.c)for(c=0,d=a.c.length;c<d;++c)C(a.c[c],"change",a.u,a)}l=po.prototype;l.clone=function(){var a=new po(null);a.bi(this.c);return a};
  l.qb=function(a,c,d,e){if(e<$b(this.H(),a,c))return e;var f=this.c,g,h;g=0;for(h=f.length;g<h;++g)e=f[g].qb(a,c,d,e);return e};l.wc=function(a,c){var d=this.c,e,f;e=0;for(f=d.length;e<f;++e)if(d[e].wc(a,c))return!0;return!1};l.Jd=function(a){ec(Infinity,Infinity,-Infinity,-Infinity,a);for(var c=this.c,d=0,e=c.length;d<e;++d)kc(a,c[d].H());return a};l.af=function(){return ro(this.c)};
  l.hd=function(a){this.s!=this.g&&(Qa(this.l),this.o=0,this.s=this.g);if(0>a||0!==this.o&&a<this.o)return this;var c=a.toString();if(this.l.hasOwnProperty(c))return this.l[c];var d=[],e=this.c,f=!1,g,h;g=0;for(h=e.length;g<h;++g){var k=e[g],m=k.hd(a);d.push(m);m!==k&&(f=!0)}if(f)return a=new po(null),so(a),a.c=d,qo(a),a.u(),this.l[c]=a;this.o=a;return this};l.X=function(){return"GeometryCollection"};l.Ha=function(a){var c=this.c,d,e;d=0;for(e=c.length;d<e;++d)if(c[d].Ha(a))return!0;return!1};
  l.Ya=function(){return 0===this.c.length};l.rotate=function(a,c){for(var d=this.c,e=0,f=d.length;e<f;++e)d[e].rotate(a,c);this.u()};l.bi=function(a){a=ro(a);so(this);this.c=a;qo(this);this.u()};l.mc=function(a){var c=this.c,d,e;d=0;for(e=c.length;d<e;++d)c[d].mc(a);this.u()};l.Nc=function(a,c){var d=this.c,e,f;e=0;for(f=d.length;e<f;++e)d[e].Nc(a,c);this.u()};l.fa=function(){so(this);dd.prototype.fa.call(this)};function to(a){a=a?a:{};this.defaultDataProjection=null;this.defaultDataProjection=Jc(a.defaultDataProjection?a.defaultDataProjection:"EPSG:4326");this.b=a.geometryName}y(to,Yn);function uo(a,c){return a?Xn((0,vo[a.type])(a),!1,c):null}function wo(a,c){return(0,xo[a.X()])(Xn(a,!0,c),c)}
  var vo={Point:function(a){return new D(a.coordinates)},LineString:function(a){return new S(a.coordinates)},Polygon:function(a){return new F(a.coordinates)},MultiPoint:function(a){return new eo(a.coordinates)},MultiLineString:function(a){return new T(a.coordinates)},MultiPolygon:function(a){return new fo(a.coordinates)},GeometryCollection:function(a,c){var d=a.geometries.map(function(a){return uo(a,c)});return new po(d)}},xo={Point:function(a){return{type:"Point",coordinates:a.Z()}},LineString:function(a){return{type:"LineString",
  coordinates:a.Z()}},Polygon:function(a,c){var d;c&&(d=c.rightHanded);return{type:"Polygon",coordinates:a.Z(d)}},MultiPoint:function(a){return{type:"MultiPoint",coordinates:a.Z()}},MultiLineString:function(a){return{type:"MultiLineString",coordinates:a.Z()}},MultiPolygon:function(a,c){var d;c&&(d=c.rightHanded);return{type:"MultiPolygon",coordinates:a.Z(d)}},GeometryCollection:function(a,c){return{type:"GeometryCollection",geometries:a.c.map(function(a){var e=Pa({},c);delete e.featureProjection;return wo(a,
  e)})}},Circle:function(){return{type:"GeometryCollection",geometries:[]}}};l=to.prototype;l.Pc=function(a,c){var d=uo(a.geometry,c),e=new kl;this.b&&e.zc(this.b);e.Ra(d);void 0!==a.id&&e.hc(a.id);a.properties&&e.G(a.properties);return e};l.Ef=function(a,c){if("Feature"==a.type)return[this.Pc(a,c)];if("FeatureCollection"==a.type){var d=[],e=a.features,f,g;f=0;for(g=e.length;f<g;++f)d.push(this.Pc(e[f],c));return d}return[]};l.Lh=function(a,c){return uo(a,c)};
  l.Sh=function(a){return(a=a.crs)?"name"==a.type?Jc(a.properties.name):"EPSG"==a.type?Jc("EPSG:"+a.properties.code):null:this.defaultDataProjection};l.Tc=function(a,c){c=Wn(this,c);var d={type:"Feature"},e=a.Ua();void 0!==e&&(d.id=e);(e=a.W())?d.geometry=wo(e,c):d.geometry=null;e=a.O();delete e[a.a];Sa(e)?d.properties=null:d.properties=e;return d};l.De=function(a,c){c=Wn(this,c);var d=[],e,f;e=0;for(f=a.length;e<f;++e)d.push(this.Tc(a[e],c));return{type:"FeatureCollection",features:d}};
  l.Fe=function(a,c){return wo(a,Wn(this,c))};function yo(){this.f=new XMLSerializer;this.defaultDataProjection=null}y(yo,Un);l=yo.prototype;l.X=function(){return"xml"};l.Mb=function(a,c){if(sl(a))return zo(this,a,c);if(tl(a))return this.Jh(a,c);if("string"===typeof a){var d=ul(a);return zo(this,d,c)}return null};function zo(a,c,d){a=Ao(a,c,d);return 0<a.length?a[0]:null}l.Ba=function(a,c){if(sl(a))return Ao(this,a,c);if(tl(a))return this.gc(a,c);if("string"===typeof a){var d=ul(a);return Ao(this,d,c)}return[]};
  function Ao(a,c,d){var e=[];for(c=c.firstChild;c;c=c.nextSibling)1==c.nodeType&&xb(e,a.gc(c,d));return e}l.Qc=function(a,c){if(sl(a))return this.v(a,c);if(tl(a)){var d=this.te(a,[Vn(this,a,c?c:{})]);return d?d:null}return"string"===typeof a?(d=ul(a),this.v(d,c)):null};l.Na=function(a){return sl(a)?this.Kf(a):tl(a)?this.we(a):"string"===typeof a?(a=ul(a),this.Kf(a)):null};l.Kf=function(){return this.defaultDataProjection};l.we=function(){return this.defaultDataProjection};
  l.yd=function(a,c){var d=this.B(a,c);return this.f.serializeToString(d)};l.Sb=function(a,c){var d=this.a(a,c);return this.f.serializeToString(d)};l.Uc=function(a,c){var d=this.s(a,c);return this.f.serializeToString(d)};function Bo(a){a=a?a:{};this.featureType=a.featureType;this.featureNS=a.featureNS;this.srsName=a.srsName;this.schemaLocation="";this.b={};this.b["http://www.opengis.net/gml"]={featureMember:xl(Bo.prototype.qd),featureMembers:xl(Bo.prototype.qd)};yo.call(this)}y(Bo,yo);var Co=/^[\s\xa0]*$/;l=Bo.prototype;
  l.qd=function(a,c){var d=a.localName,e=null;if("FeatureCollection"==d)"http://www.opengis.net/wfs"===a.namespaceURI?e=P([],this.b,a,c,this):e=P(null,this.b,a,c,this);else if("featureMembers"==d||"featureMember"==d){var f=c[0],g=f.featureType,h=f.featureNS,k,m;if(!g&&a.childNodes){g=[];h={};k=0;for(m=a.childNodes.length;k<m;++k){var n=a.childNodes[k];if(1===n.nodeType){var p=n.nodeName.split(":").pop();if(-1===g.indexOf(p)){var q="",r=0,n=n.namespaceURI,u;for(u in h){if(h[u]===n){q=u;break}++r}q||
  (q="p"+r,h[q]=n);g.push(q+":"+p)}}}"featureMember"!=d&&(f.featureType=g,f.featureNS=h)}"string"===typeof h&&(k=h,h={},h.p0=k);var f={},g=Array.isArray(g)?g:[g],v;for(v in h){p={};k=0;for(m=g.length;k<m;++k)(-1===g[k].indexOf(":")?"p0":g[k].split(":")[0])===v&&(p[g[k].split(":").pop()]="featureMembers"==d?wl(this.Df,this):xl(this.Df,this));f[h[v]]=p}"featureMember"==d?e=P(void 0,f,a,c):e=P([],f,a,c)}null===e&&(e=[]);return e};
  l.te=function(a,c){var d=c[0];d.srsName=a.firstElementChild.getAttribute("srsName");var e=P(null,this.Xf,a,c,this);if(e)return Xn(e,!1,d)};
  l.Df=function(a,c){var d,e;(e=a.getAttribute("fid"))||(e=a.getAttributeNS("http://www.opengis.net/gml","id")||"");var f={},g;for(d=a.firstElementChild;d;d=d.nextElementSibling){var h=d.localName;if(0===d.childNodes.length||1===d.childNodes.length&&(3===d.firstChild.nodeType||4===d.firstChild.nodeType)){var k=ql(d,!1);Co.test(k)&&(k=void 0);f[h]=k}else"boundedBy"!==h&&(g=h),f[h]=this.te(d,c)}d=new kl(f);g&&d.zc(g);e&&d.hc(e);return d};
  l.Rh=function(a,c){var d=this.se(a,c);if(d){var e=new D(null);e.ba("XYZ",d);return e}};l.Ph=function(a,c){var d=P([],this.Oi,a,c,this);if(d)return new eo(d)};l.Oh=function(a,c){var d=P([],this.Ni,a,c,this);if(d){var e=new T(null);co(e,d);return e}};l.Qh=function(a,c){var d=P([],this.Pi,a,c,this);if(d){var e=new fo(null);ho(e,d);return e}};l.Gh=function(a,c){El(this.Si,a,c,this)};l.Og=function(a,c){El(this.Li,a,c,this)};l.Hh=function(a,c){El(this.Ti,a,c,this)};
  l.ue=function(a,c){var d=this.se(a,c);if(d){var e=new S(null);e.ba("XYZ",d);return e}};l.ro=function(a,c){var d=P(null,this.Ad,a,c,this);if(d)return d};l.Nh=function(a,c){var d=this.se(a,c);if(d){var e=new Kd(null);Ld(e,"XYZ",d);return e}};l.ve=function(a,c){var d=P([null],this.He,a,c,this);if(d&&d[0]){var e=new F(null),f=d[0],g=[f.length],h,k;h=1;for(k=d.length;h<k;++h)xb(f,d[h]),g.push(f.length);e.ba("XYZ",f,g);return e}};l.se=function(a,c){return P(null,this.Ad,a,c,this)};
  l.Oi={"http://www.opengis.net/gml":{pointMember:wl(Bo.prototype.Gh),pointMembers:wl(Bo.prototype.Gh)}};l.Ni={"http://www.opengis.net/gml":{lineStringMember:wl(Bo.prototype.Og),lineStringMembers:wl(Bo.prototype.Og)}};l.Pi={"http://www.opengis.net/gml":{polygonMember:wl(Bo.prototype.Hh),polygonMembers:wl(Bo.prototype.Hh)}};l.Si={"http://www.opengis.net/gml":{Point:wl(Bo.prototype.se)}};l.Li={"http://www.opengis.net/gml":{LineString:wl(Bo.prototype.ue)}};l.Ti={"http://www.opengis.net/gml":{Polygon:wl(Bo.prototype.ve)}};
  l.Bd={"http://www.opengis.net/gml":{LinearRing:xl(Bo.prototype.ro)}};l.gc=function(a,c){var d={featureType:this.featureType,featureNS:this.featureNS};c&&Pa(d,Vn(this,a,c));return this.qd(a,[d])||[]};l.we=function(a){return Jc(this.srsName?this.srsName:a.firstElementChild.getAttribute("srsName"))};function Do(a){a=ql(a,!1);return Eo(a)}function Eo(a){if(a=/^\s*(true|1)|(false|0)\s*$/.exec(a))return void 0!==a[1]||!1}
  function Fo(a){a=ql(a,!1);if(a=/^\s*(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(Z|(?:([+\-])(\d{2})(?::(\d{2}))?))\s*$/.exec(a)){var c=Date.UTC(parseInt(a[1],10),parseInt(a[2],10)-1,parseInt(a[3],10),parseInt(a[4],10),parseInt(a[5],10),parseInt(a[6],10))/1E3;if("Z"!=a[7]){var d="-"==a[8]?-1:1,c=c+60*d*parseInt(a[9],10);void 0!==a[10]&&(c+=3600*d*parseInt(a[10],10))}return c}}function Go(a){a=ql(a,!1);return Ho(a)}
  function Ho(a){if(a=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(a))return parseFloat(a[1])}function Io(a){a=ql(a,!1);return Jo(a)}function Jo(a){if(a=/^\s*(\d+)\s*$/.exec(a))return parseInt(a[1],10)}function U(a){return ql(a,!1).trim()}function Ko(a,c){Lo(a,c?"1":"0")}function Mo(a,c){a.appendChild(nl.createTextNode(c.toPrecision()))}function No(a,c){a.appendChild(nl.createTextNode(c.toString()))}function Lo(a,c){a.appendChild(nl.createTextNode(c))};function Oo(a){a=a?a:{};Bo.call(this,a);this.b["http://www.opengis.net/gml"].featureMember=wl(Bo.prototype.qd);this.schemaLocation=a.schemaLocation?a.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/2.1.2/feature.xsd"}y(Oo,Bo);l=Oo.prototype;
  l.Kh=function(a,c){var d=ql(a,!1).replace(/^\s*|\s*$/g,""),e=c[0].srsName,f=a.parentNode.getAttribute("srsDimension"),g="enu";e&&(e=Jc(e))&&(g=e.b);d=d.split(/[\s,]+/);e=2;a.getAttribute("srsDimension")?e=Jo(a.getAttribute("srsDimension")):a.getAttribute("dimension")?e=Jo(a.getAttribute("dimension")):f&&(e=Jo(f));for(var h,k,m=[],n=0,p=d.length;n<p;n+=e)f=parseFloat(d[n]),h=parseFloat(d[n+1]),k=3===e?parseFloat(d[n+2]):0,"en"===g.substr(0,2)?m.push(f,h,k):m.push(h,f,k);return m};
  l.oo=function(a,c){var d=P([null],this.Hi,a,c,this);return ec(d[1][0],d[1][1],d[1][3],d[1][4])};l.gl=function(a,c){var d=P(void 0,this.Bd,a,c,this);d&&c[c.length-1].push(d)};l.Wn=function(a,c){var d=P(void 0,this.Bd,a,c,this);d&&(c[c.length-1][0]=d)};l.Ad={"http://www.opengis.net/gml":{coordinates:xl(Oo.prototype.Kh)}};l.He={"http://www.opengis.net/gml":{innerBoundaryIs:Oo.prototype.gl,outerBoundaryIs:Oo.prototype.Wn}};l.Hi={"http://www.opengis.net/gml":{coordinates:wl(Oo.prototype.Kh)}};
  l.Xf={"http://www.opengis.net/gml":{Point:xl(Bo.prototype.Rh),MultiPoint:xl(Bo.prototype.Ph),LineString:xl(Bo.prototype.ue),MultiLineString:xl(Bo.prototype.Oh),LinearRing:xl(Bo.prototype.Nh),Polygon:xl(Bo.prototype.ve),MultiPolygon:xl(Bo.prototype.Qh),Box:xl(Oo.prototype.oo)}};function Po(a){a=a?a:{};Bo.call(this,a);this.j=void 0!==a.surface?a.surface:!1;this.i=void 0!==a.curve?a.curve:!1;this.l=void 0!==a.multiCurve?a.multiCurve:!0;this.o=void 0!==a.multiSurface?a.multiSurface:!0;this.schemaLocation=a.schemaLocation?a.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd"}y(Po,Bo);l=Po.prototype;l.vo=function(a,c){var d=P([],this.Mi,a,c,this);if(d){var e=new T(null);co(e,d);return e}};
  l.wo=function(a,c){var d=P([],this.Qi,a,c,this);if(d){var e=new fo(null);ho(e,d);return e}};l.qg=function(a,c){El(this.Ii,a,c,this)};l.oi=function(a,c){El(this.Xi,a,c,this)};l.zo=function(a,c){return P([null],this.Ri,a,c,this)};l.Bo=function(a,c){return P([null],this.Wi,a,c,this)};l.Ao=function(a,c){return P([null],this.He,a,c,this)};l.uo=function(a,c){return P([null],this.Ad,a,c,this)};l.il=function(a,c){var d=P(void 0,this.Bd,a,c,this);d&&c[c.length-1].push(d)};
  l.Bj=function(a,c){var d=P(void 0,this.Bd,a,c,this);d&&(c[c.length-1][0]=d)};l.Th=function(a,c){var d=P([null],this.Yi,a,c,this);if(d&&d[0]){var e=new F(null),f=d[0],g=[f.length],h,k;h=1;for(k=d.length;h<k;++h)xb(f,d[h]),g.push(f.length);e.ba("XYZ",f,g);return e}};l.Ih=function(a,c){var d=P([null],this.Ji,a,c,this);if(d){var e=new S(null);e.ba("XYZ",d);return e}};l.qo=function(a,c){var d=P([null],this.Ki,a,c,this);return ec(d[1][0],d[1][1],d[2][0],d[2][1])};
  l.so=function(a,c){for(var d=ql(a,!1),e=/^\s*([+\-]?\d*\.?\d+(?:[eE][+\-]?\d+)?)\s*/,f=[],g;g=e.exec(d);)f.push(parseFloat(g[1])),d=d.substr(g[0].length);if(""===d){d=c[0].srsName;e="enu";d&&(e=Jc(d).b);if("neu"===e)for(d=0,e=f.length;d<e;d+=3)g=f[d],f[d]=f[d+1],f[d+1]=g;d=f.length;2==d&&f.push(0);return 0===d?void 0:f}};
  l.Hf=function(a,c){var d=ql(a,!1).replace(/^\s*|\s*$/g,""),e=c[0].srsName,f=a.parentNode.getAttribute("srsDimension"),g="enu";e&&(g=Jc(e).b);d=d.split(/\s+/);e=2;a.getAttribute("srsDimension")?e=Jo(a.getAttribute("srsDimension")):a.getAttribute("dimension")?e=Jo(a.getAttribute("dimension")):f&&(e=Jo(f));for(var h,k,m=[],n=0,p=d.length;n<p;n+=e)f=parseFloat(d[n]),h=parseFloat(d[n+1]),k=3===e?parseFloat(d[n+2]):0,"en"===g.substr(0,2)?m.push(f,h,k):m.push(h,f,k);return m};
  l.Ad={"http://www.opengis.net/gml":{pos:xl(Po.prototype.so),posList:xl(Po.prototype.Hf)}};l.He={"http://www.opengis.net/gml":{interior:Po.prototype.il,exterior:Po.prototype.Bj}};
  l.Xf={"http://www.opengis.net/gml":{Point:xl(Bo.prototype.Rh),MultiPoint:xl(Bo.prototype.Ph),LineString:xl(Bo.prototype.ue),MultiLineString:xl(Bo.prototype.Oh),LinearRing:xl(Bo.prototype.Nh),Polygon:xl(Bo.prototype.ve),MultiPolygon:xl(Bo.prototype.Qh),Surface:xl(Po.prototype.Th),MultiSurface:xl(Po.prototype.wo),Curve:xl(Po.prototype.Ih),MultiCurve:xl(Po.prototype.vo),Envelope:xl(Po.prototype.qo)}};l.Mi={"http://www.opengis.net/gml":{curveMember:wl(Po.prototype.qg),curveMembers:wl(Po.prototype.qg)}};
  l.Qi={"http://www.opengis.net/gml":{surfaceMember:wl(Po.prototype.oi),surfaceMembers:wl(Po.prototype.oi)}};l.Ii={"http://www.opengis.net/gml":{LineString:wl(Bo.prototype.ue),Curve:wl(Po.prototype.Ih)}};l.Xi={"http://www.opengis.net/gml":{Polygon:wl(Bo.prototype.ve),Surface:wl(Po.prototype.Th)}};l.Yi={"http://www.opengis.net/gml":{patches:xl(Po.prototype.zo)}};l.Ji={"http://www.opengis.net/gml":{segments:xl(Po.prototype.Bo)}};l.Ki={"http://www.opengis.net/gml":{lowerCorner:wl(Po.prototype.Hf),upperCorner:wl(Po.prototype.Hf)}};
  l.Ri={"http://www.opengis.net/gml":{PolygonPatch:xl(Po.prototype.Ao)}};l.Wi={"http://www.opengis.net/gml":{LineStringSegment:xl(Po.prototype.uo)}};function Qo(a,c,d){d=d[d.length-1].srsName;c=c.Z();for(var e=c.length,f=Array(e),g,h=0;h<e;++h){g=c[h];var k=h,m="enu";d&&(m=Jc(d).b);f[k]="en"===m.substr(0,2)?g[0]+" "+g[1]:g[1]+" "+g[0]}Lo(a,f.join(" "))}
  l.Di=function(a,c,d){var e=d[d.length-1].srsName;e&&a.setAttribute("srsName",e);e=pl(a.namespaceURI,"pos");a.appendChild(e);d=d[d.length-1].srsName;a="enu";d&&(a=Jc(d).b);c=c.Z();Lo(e,"en"===a.substr(0,2)?c[0]+" "+c[1]:c[1]+" "+c[0])};var Ro={"http://www.opengis.net/gml":{lowerCorner:L(Lo),upperCorner:L(Lo)}};l=Po.prototype;l.pp=function(a,c,d){var e=d[d.length-1].srsName;e&&a.setAttribute("srsName",e);Fl({node:a},Ro,Cl,[c[0]+" "+c[1],c[2]+" "+c[3]],d,["lowerCorner","upperCorner"],this)};
  l.Ai=function(a,c,d){var e=d[d.length-1].srsName;e&&a.setAttribute("srsName",e);e=pl(a.namespaceURI,"posList");a.appendChild(e);Qo(e,c,d)};l.Vi=function(a,c){var d=c[c.length-1],e=d.node,f=d.exteriorWritten;void 0===f&&(d.exteriorWritten=!0);return pl(e.namespaceURI,void 0!==f?"interior":"exterior")};
  l.Ge=function(a,c,d){var e=d[d.length-1].srsName;"PolygonPatch"!==a.nodeName&&e&&a.setAttribute("srsName",e);"Polygon"===a.nodeName||"PolygonPatch"===a.nodeName?(c=c.Pd(),Fl({node:a,srsName:e},So,this.Vi,c,d,void 0,this)):"Surface"===a.nodeName&&(e=pl(a.namespaceURI,"patches"),a.appendChild(e),a=pl(e.namespaceURI,"PolygonPatch"),e.appendChild(a),this.Ge(a,c,d))};
  l.Be=function(a,c,d){var e=d[d.length-1].srsName;"LineStringSegment"!==a.nodeName&&e&&a.setAttribute("srsName",e);"LineString"===a.nodeName||"LineStringSegment"===a.nodeName?(e=pl(a.namespaceURI,"posList"),a.appendChild(e),Qo(e,c,d)):"Curve"===a.nodeName&&(e=pl(a.namespaceURI,"segments"),a.appendChild(e),a=pl(e.namespaceURI,"LineStringSegment"),e.appendChild(a),this.Be(a,c,d))};
  l.Ci=function(a,c,d){var e=d[d.length-1],f=e.srsName,e=e.surface;f&&a.setAttribute("srsName",f);c=c.Qd();Fl({node:a,srsName:f,surface:e},To,this.c,c,d,void 0,this)};l.qp=function(a,c,d){var e=d[d.length-1].srsName;e&&a.setAttribute("srsName",e);c=c.ee();Fl({node:a,srsName:e},Uo,Al("pointMember"),c,d,void 0,this)};l.Bi=function(a,c,d){var e=d[d.length-1],f=e.srsName,e=e.curve;f&&a.setAttribute("srsName",f);c=c.gd();Fl({node:a,srsName:f,curve:e},Vo,this.c,c,d,void 0,this)};
  l.Ei=function(a,c,d){var e=pl(a.namespaceURI,"LinearRing");a.appendChild(e);this.Ai(e,c,d)};l.Fi=function(a,c,d){var e=this.g(c,d);e&&(a.appendChild(e),this.Ge(e,c,d))};l.rp=function(a,c,d){var e=pl(a.namespaceURI,"Point");a.appendChild(e);this.Di(e,c,d)};l.zi=function(a,c,d){var e=this.g(c,d);e&&(a.appendChild(e),this.Be(e,c,d))};
  l.Ee=function(a,c,d){var e=d[d.length-1],f=Pa({},e);f.node=a;var g;Array.isArray(c)?e.dataProjection?g=cd(c,e.featureProjection,e.dataProjection):g=c:g=Xn(c,!0,e);Fl(f,Wo,this.g,[g],d,void 0,this)};
  l.vi=function(a,c,d){var e=c.Ua();e&&a.setAttribute("fid",e);var e=d[d.length-1],f=e.featureNS,g=c.a;e.yc||(e.yc={},e.yc[f]={});var h=c.O();c=[];var k=[],m;for(m in h){var n=h[m];null!==n&&(c.push(m),k.push(n),m==g||n instanceof dd?m in e.yc[f]||(e.yc[f][m]=L(this.Ee,this)):m in e.yc[f]||(e.yc[f][m]=L(Lo)))}m=Pa({},e);m.node=a;Fl(m,e.yc,Al(void 0,f),k,d,c)};
  var To={"http://www.opengis.net/gml":{surfaceMember:L(Po.prototype.Fi),polygonMember:L(Po.prototype.Fi)}},Uo={"http://www.opengis.net/gml":{pointMember:L(Po.prototype.rp)}},Vo={"http://www.opengis.net/gml":{lineStringMember:L(Po.prototype.zi),curveMember:L(Po.prototype.zi)}},So={"http://www.opengis.net/gml":{exterior:L(Po.prototype.Ei),interior:L(Po.prototype.Ei)}},Wo={"http://www.opengis.net/gml":{Curve:L(Po.prototype.Be),MultiCurve:L(Po.prototype.Bi),Point:L(Po.prototype.Di),MultiPoint:L(Po.prototype.qp),
  LineString:L(Po.prototype.Be),MultiLineString:L(Po.prototype.Bi),LinearRing:L(Po.prototype.Ai),Polygon:L(Po.prototype.Ge),MultiPolygon:L(Po.prototype.Ci),Surface:L(Po.prototype.Ge),MultiSurface:L(Po.prototype.Ci),Envelope:L(Po.prototype.pp)}},Xo={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"};Po.prototype.c=function(a,c){return pl("http://www.opengis.net/gml",Xo[c[c.length-1].node.nodeName])};
  Po.prototype.g=function(a,c){var d=c[c.length-1],e=d.multiSurface,f=d.surface,g=d.curve,d=d.multiCurve,h;Array.isArray(a)?h="Envelope":(h=a.X(),"MultiPolygon"===h&&!0===e?h="MultiSurface":"Polygon"===h&&!0===f?h="Surface":"LineString"===h&&!0===g?h="Curve":"MultiLineString"===h&&!0===d&&(h="MultiCurve"));return pl("http://www.opengis.net/gml",h)};
  Po.prototype.s=function(a,c){c=Wn(this,c);var d=pl("http://www.opengis.net/gml","geom"),e={node:d,srsName:this.srsName,curve:this.i,surface:this.j,multiSurface:this.o,multiCurve:this.l};c&&Pa(e,c);this.Ee(d,a,[e]);return d};
  Po.prototype.a=function(a,c){c=Wn(this,c);var d=pl("http://www.opengis.net/gml","featureMembers");d.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.schemaLocation);var e={srsName:this.srsName,curve:this.i,surface:this.j,multiSurface:this.o,multiCurve:this.l,featureNS:this.featureNS,featureType:this.featureType};c&&Pa(e,c);var e=[e],f=e[e.length-1],g=f.featureType,h=f.featureNS,k={};k[h]={};k[h][g]=L(this.vi,this);f=Pa({},f);f.node=d;Fl(f,k,Al(g,h),a,e);return d};function Yo(a){a=a?a:{};yo.call(this);this.defaultDataProjection=Jc("EPSG:4326");this.b=a.readExtensions}y(Yo,yo);var Zo=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"];function $o(a,c,d){a.push(parseFloat(c.getAttribute("lon")),parseFloat(c.getAttribute("lat")));"ele"in d?(a.push(d.ele),delete d.ele):a.push(0);"time"in d?(a.push(d.time),delete d.time):a.push(0);return a}function ap(a,c){var d=c[c.length-1],e=a.getAttribute("href");null!==e&&(d.link=e);El(bp,a,c)}
  function cp(a,c){c[c.length-1].extensionsNode_=a}function dp(a,c){var d=c[0],e=P({flatCoordinates:[]},ep,a,c);if(e){var f=e.flatCoordinates;delete e.flatCoordinates;var g=new S(null);g.ba("XYZM",f);Xn(g,!1,d);d=new kl(g);d.G(e);return d}}function fp(a,c){var d=c[0],e=P({flatCoordinates:[],ends:[]},gp,a,c);if(e){var f=e.flatCoordinates;delete e.flatCoordinates;var g=e.ends;delete e.ends;var h=new T(null);h.ba("XYZM",f,g);Xn(h,!1,d);d=new kl(h);d.G(e);return d}}
  function hp(a,c){var d=c[0],e=P({},ip,a,c);if(e){var f=$o([],a,e),f=new D(f,"XYZM");Xn(f,!1,d);d=new kl(f);d.G(e);return d}}
  var jp={rte:dp,trk:fp,wpt:hp},kp=M(Zo,{rte:wl(dp),trk:wl(fp),wpt:wl(hp)}),bp=M(Zo,{text:K(U,"linkText"),type:K(U,"linkType")}),ep=M(Zo,{name:K(U),cmt:K(U),desc:K(U),src:K(U),link:ap,number:K(Io),extensions:cp,type:K(U),rtept:function(a,c){var d=P({},lp,a,c);d&&$o(c[c.length-1].flatCoordinates,a,d)}}),lp=M(Zo,{ele:K(Go),time:K(Fo)}),gp=M(Zo,{name:K(U),cmt:K(U),desc:K(U),src:K(U),link:ap,number:K(Io),type:K(U),extensions:cp,trkseg:function(a,c){var d=c[c.length-1];El(mp,a,c);d.ends.push(d.flatCoordinates.length)}}),
  mp=M(Zo,{trkpt:function(a,c){var d=P({},np,a,c);d&&$o(c[c.length-1].flatCoordinates,a,d)}}),np=M(Zo,{ele:K(Go),time:K(Fo)}),ip=M(Zo,{ele:K(Go),time:K(Fo),magvar:K(Go),geoidheight:K(Go),name:K(U),cmt:K(U),desc:K(U),src:K(U),link:ap,sym:K(U),type:K(U),fix:K(U),sat:K(Io),hdop:K(Go),vdop:K(Go),pdop:K(Go),ageofdgpsdata:K(Go),dgpsid:K(Io),extensions:cp});
  function op(a,c){c||(c=[]);for(var d=0,e=c.length;d<e;++d){var f=c[d];if(a.b){var g=f.get("extensionsNode_")||null;a.b(f,g)}f.set("extensionsNode_",void 0)}}Yo.prototype.Jh=function(a,c){if(!ub(Zo,a.namespaceURI))return null;var d=jp[a.localName];if(!d)return null;d=d(a,[Vn(this,a,c)]);if(!d)return null;op(this,[d]);return d};Yo.prototype.gc=function(a,c){if(!ub(Zo,a.namespaceURI))return[];if("gpx"==a.localName){var d=P([],kp,a,[Vn(this,a,c)]);if(d)return op(this,d),d}return[]};
  function pp(a,c,d){a.setAttribute("href",c);c=d[d.length-1].properties;Fl({node:a},qp,Cl,[c.linkText,c.linkType],d,rp)}function sp(a,c,d){var e=d[d.length-1],f=e.node.namespaceURI,g=e.properties;a.setAttributeNS(null,"lat",c[1]);a.setAttributeNS(null,"lon",c[0]);switch(e.geometryLayout){case "XYZM":0!==c[3]&&(g.time=c[3]);case "XYZ":0!==c[2]&&(g.ele=c[2]);break;case "XYM":0!==c[2]&&(g.time=c[2])}c="rtept"==a.nodeName?tp[f]:up[f];e=Dl(g,c);Fl({node:a,properties:g},vp,Cl,e,d,c)}
  var rp=["text","type"],qp=M(Zo,{text:L(Lo),type:L(Lo)}),wp=M(Zo,"name cmt desc src link number type rtept".split(" ")),xp=M(Zo,{name:L(Lo),cmt:L(Lo),desc:L(Lo),src:L(Lo),link:L(pp),number:L(No),type:L(Lo),rtept:zl(L(sp))}),tp=M(Zo,["ele","time"]),yp=M(Zo,"name cmt desc src link number type trkseg".split(" ")),Bp=M(Zo,{name:L(Lo),cmt:L(Lo),desc:L(Lo),src:L(Lo),link:L(pp),number:L(No),type:L(Lo),trkseg:zl(L(function(a,c,d){Fl({node:a,geometryLayout:c.f,properties:{}},zp,Ap,c.Z(),d)}))}),Ap=Al("trkpt"),
  zp=M(Zo,{trkpt:L(sp)}),up=M(Zo,"ele time magvar geoidheight name cmt desc src link sym type fix sat hdop vdop pdop ageofdgpsdata dgpsid".split(" ")),vp=M(Zo,{ele:L(Mo),time:L(function(a,c){var d=new Date(1E3*c);a.appendChild(nl.createTextNode(d.getUTCFullYear()+"-"+Kb(d.getUTCMonth()+1)+"-"+Kb(d.getUTCDate())+"T"+Kb(d.getUTCHours())+":"+Kb(d.getUTCMinutes())+":"+Kb(d.getUTCSeconds())+"Z"))}),magvar:L(Mo),geoidheight:L(Mo),name:L(Lo),cmt:L(Lo),desc:L(Lo),src:L(Lo),link:L(pp),sym:L(Lo),type:L(Lo),fix:L(Lo),
  sat:L(No),hdop:L(Mo),vdop:L(Mo),pdop:L(Mo),ageofdgpsdata:L(Mo),dgpsid:L(No)}),Cp={Point:"wpt",LineString:"rte",MultiLineString:"trk"};function Dp(a,c){var d=a.W();if(d&&(d=Cp[d.X()]))return pl(c[c.length-1].node.namespaceURI,d)}
  var Ep=M(Zo,{rte:L(function(a,c,d){var e=d[0],f=c.O();a={node:a,properties:f};if(c=c.W())c=Xn(c,!0,e),a.geometryLayout=c.f,f.rtept=c.Z();e=wp[d[d.length-1].node.namespaceURI];f=Dl(f,e);Fl(a,xp,Cl,f,d,e)}),trk:L(function(a,c,d){var e=d[0],f=c.O();a={node:a,properties:f};if(c=c.W())c=Xn(c,!0,e),f.trkseg=c.gd();e=yp[d[d.length-1].node.namespaceURI];f=Dl(f,e);Fl(a,Bp,Cl,f,d,e)}),wpt:L(function(a,c,d){var e=d[0],f=d[d.length-1];f.properties=c.O();if(c=c.W())c=Xn(c,!0,e),f.geometryLayout=c.f,sp(a,c.Z(),
  d)})});Yo.prototype.a=function(a,c){c=Wn(this,c);var d=pl("http://www.topografix.com/GPX/1/1","gpx");Fl({node:d},Ep,Dp,a,[c]);return d};function Fp(){this.defaultDataProjection=null}y(Fp,Un);function Gp(a){return"string"===typeof a?a:""}l=Fp.prototype;l.X=function(){return"text"};l.Mb=function(a,c){return this.pd(Gp(a),Wn(this,c))};l.Ba=function(a,c){return this.Ff(Gp(a),Wn(this,c))};l.Qc=function(a,c){return this.rd(Gp(a),Wn(this,c))};l.Na=function(a){Gp(a);return this.defaultDataProjection};l.yd=function(a,c){return this.Ce(a,Wn(this,c))};l.Sb=function(a,c){return this.wi(a,Wn(this,c))};
  l.Uc=function(a,c){return this.zd(a,Wn(this,c))};function Hp(a){a=a?a:{};this.defaultDataProjection=null;this.defaultDataProjection=Jc("EPSG:4326");this.b=a.altitudeMode?a.altitudeMode:"none"}y(Hp,Fp);var Ip=/^B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})/,Jp=/^H.([A-Z]{3}).*?:(.*)/,Kp=/^HFDTE(\d{2})(\d{2})(\d{2})/,Lp=/\r\n|\r|\n/;
  Hp.prototype.pd=function(a,c){var d=this.b,e=a.split(Lp),f={},g=[],h=2E3,k=0,m=1,n=-1,p,q;p=0;for(q=e.length;p<q;++p){var r=e[p],u;if("B"==r.charAt(0)){if(u=Ip.exec(r)){var r=parseInt(u[1],10),v=parseInt(u[2],10),x=parseInt(u[3],10),z=parseInt(u[4],10)+parseInt(u[5],10)/6E4;"S"==u[6]&&(z=-z);var E=parseInt(u[7],10)+parseInt(u[8],10)/6E4;"W"==u[9]&&(E=-E);g.push(E,z);"none"!=d&&g.push("gps"==d?parseInt(u[11],10):"barometric"==d?parseInt(u[12],10):0);u=Date.UTC(h,k,m,r,v,x);u<n&&(u=Date.UTC(h,k,m+1,
  r,v,x));g.push(u/1E3);n=u}}else"H"==r.charAt(0)&&((u=Kp.exec(r))?(m=parseInt(u[1],10),k=parseInt(u[2],10)-1,h=2E3+parseInt(u[3],10)):(u=Jp.exec(r))&&(f[u[1]]=u[2].trim()))}if(0===g.length)return null;e=new S(null);e.ba("none"==d?"XYM":"XYZM",g);d=new kl(Xn(e,!1,c));d.G(f);return d};Hp.prototype.Ff=function(a,c){var d=this.pd(a,c);return d?[d]:[]};function Mp(a,c){this.a={};this.b=[];this.g=0;var d=arguments.length;if(1<d){if(d%2)throw Error("Uneven number of arguments");for(var e=0;e<d;e+=2)this.set(arguments[e],arguments[e+1])}else if(a){var f;if(a instanceof Mp)f=a.N(),e=a.uc();else{var d=[],g=0;for(f in a)d[g++]=f;f=d;d=[];g=0;for(e in a)d[g++]=a[e];e=d}for(d=0;d<f.length;d++)this.set(f[d],e[d])}}l=Mp.prototype;l.rc=function(){return this.g};l.uc=function(){Np(this);for(var a=[],c=0;c<this.b.length;c++)a.push(this.a[this.b[c]]);return a};
  l.N=function(){Np(this);return this.b.concat()};l.Ya=function(){return 0==this.g};l.clear=function(){this.a={};this.g=this.b.length=0};l.remove=function(a){return Op(this.a,a)?(delete this.a[a],this.g--,this.b.length>2*this.g&&Np(this),!0):!1};function Np(a){if(a.g!=a.b.length){for(var c=0,d=0;c<a.b.length;){var e=a.b[c];Op(a.a,e)&&(a.b[d++]=e);c++}a.b.length=d}if(a.g!=a.b.length){for(var f={},d=c=0;c<a.b.length;)e=a.b[c],Op(f,e)||(a.b[d++]=e,f[e]=1),c++;a.b.length=d}}
  l.get=function(a,c){return Op(this.a,a)?this.a[a]:c};l.set=function(a,c){Op(this.a,a)||(this.g++,this.b.push(a));this.a[a]=c};l.forEach=function(a,c){for(var d=this.N(),e=0;e<d.length;e++){var f=d[e],g=this.get(f);a.call(c,g,f,this)}};l.clone=function(){return new Mp(this)};function Op(a,c){return Object.prototype.hasOwnProperty.call(a,c)};var Pp=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/;function Qp(a,c){if(a)for(var d=a.split("&"),e=0;e<d.length;e++){var f=d[e].indexOf("="),g,h=null;0<=f?(g=d[e].substring(0,f),h=d[e].substring(f+1)):g=d[e];c(g,h?decodeURIComponent(h.replace(/\+/g," ")):"")}};function Rp(a,c){this.a=this.l=this.g="";this.o=null;this.f=this.b="";this.c=!1;var d;a instanceof Rp?(this.c=void 0!==c?c:a.c,Sp(this,a.g),this.l=a.l,this.a=a.a,Tp(this,a.o),this.b=a.b,Up(this,a.i.clone()),this.f=a.f):a&&(d=String(a).match(Pp))?(this.c=!!c,Sp(this,d[1]||"",!0),this.l=Vp(d[2]||""),this.a=Vp(d[3]||"",!0),Tp(this,d[4]),this.b=Vp(d[5]||"",!0),Up(this,d[6]||"",!0),this.f=Vp(d[7]||"")):(this.c=!!c,this.i=new Wp(null,0,this.c))}
  Rp.prototype.toString=function(){var a=[],c=this.g;c&&a.push(Xp(c,Yp,!0),":");var d=this.a;if(d||"file"==c)a.push("//"),(c=this.l)&&a.push(Xp(c,Yp,!0),"@"),a.push(encodeURIComponent(String(d)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),d=this.o,null!=d&&a.push(":",String(d));if(d=this.b)this.a&&"/"!=d.charAt(0)&&a.push("/"),a.push(Xp(d,"/"==d.charAt(0)?Zp:$p,!0));(d=this.i.toString())&&a.push("?",d);(d=this.f)&&a.push("#",Xp(d,aq));return a.join("")};Rp.prototype.clone=function(){return new Rp(this)};
  function Sp(a,c,d){a.g=d?Vp(c,!0):c;a.g&&(a.g=a.g.replace(/:$/,""))}function Tp(a,c){if(c){c=Number(c);if(isNaN(c)||0>c)throw Error("Bad port number "+c);a.o=c}else a.o=null}function Up(a,c,d){c instanceof Wp?(a.i=c,bq(a.i,a.c)):(d||(c=Xp(c,cq)),a.i=new Wp(c,0,a.c))}function dq(a){return a instanceof Rp?a.clone():new Rp(a,void 0)}
  function eq(a,c){a instanceof Rp||(a=dq(a));c instanceof Rp||(c=dq(c));var d=a,e=c,f=d.clone(),g=!!e.g;g?Sp(f,e.g):g=!!e.l;g?f.l=e.l:g=!!e.a;g?f.a=e.a:g=null!=e.o;var h=e.b;if(g)Tp(f,e.o);else if(g=!!e.b)if("/"!=h.charAt(0)&&(d.a&&!d.b?h="/"+h:(d=f.b.lastIndexOf("/"),-1!=d&&(h=f.b.substr(0,d+1)+h))),d=h,".."==d||"."==d)h="";else if(-1!=d.indexOf("./")||-1!=d.indexOf("/.")){for(var h=0==d.lastIndexOf("/",0),d=d.split("/"),k=[],m=0;m<d.length;){var n=d[m++];"."==n?h&&m==d.length&&k.push(""):".."==n?
  ((1<k.length||1==k.length&&""!=k[0])&&k.pop(),h&&m==d.length&&k.push("")):(k.push(n),h=!0)}h=k.join("/")}else h=d;g?f.b=h:g=""!==e.i.toString();g?Up(f,Vp(e.i.toString())):g=!!e.f;g&&(f.f=e.f);return f}function Vp(a,c){return a?c?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function Xp(a,c,d){return ea(a)?(a=encodeURI(a).replace(c,fq),d&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function fq(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}
  var Yp=/[#\/\?@]/g,$p=/[\#\?:]/g,Zp=/[\#\?]/g,cq=/[\#\?@]/g,aq=/#/g;function Wp(a,c,d){this.a=this.b=null;this.g=a||null;this.f=!!d}function gq(a){a.b||(a.b=new Mp,a.a=0,a.g&&Qp(a.g,function(c,d){a.add(decodeURIComponent(c.replace(/\+/g," ")),d)}))}l=Wp.prototype;l.rc=function(){gq(this);return this.a};l.add=function(a,c){gq(this);this.g=null;a=hq(this,a);var d=this.b.get(a);d||this.b.set(a,d=[]);d.push(c);this.a=this.a+1;return this};
  l.remove=function(a){gq(this);a=hq(this,a);return Op(this.b.a,a)?(this.g=null,this.a=this.a-this.b.get(a).length,this.b.remove(a)):!1};l.clear=function(){this.b=this.g=null;this.a=0};l.Ya=function(){gq(this);return 0==this.a};function iq(a,c){gq(a);c=hq(a,c);return Op(a.b.a,c)}l.N=function(){gq(this);for(var a=this.b.uc(),c=this.b.N(),d=[],e=0;e<c.length;e++)for(var f=a[e],g=0;g<f.length;g++)d.push(c[e]);return d};
  l.uc=function(a){gq(this);var c=[];if(ea(a))iq(this,a)&&(c=ze(c,this.b.get(hq(this,a))));else{a=this.b.uc();for(var d=0;d<a.length;d++)c=ze(c,a[d])}return c};l.set=function(a,c){gq(this);this.g=null;a=hq(this,a);iq(this,a)&&(this.a=this.a-this.b.get(a).length);this.b.set(a,[c]);this.a=this.a+1;return this};l.get=function(a,c){var d=a?this.uc(a):[];return 0<d.length?String(d[0]):c};
  l.toString=function(){if(this.g)return this.g;if(!this.b)return"";for(var a=[],c=this.b.N(),d=0;d<c.length;d++)for(var e=c[d],f=encodeURIComponent(String(e)),e=this.uc(e),g=0;g<e.length;g++){var h=f;""!==e[g]&&(h+="="+encodeURIComponent(String(e[g])));a.push(h)}return this.g=a.join("&")};l.clone=function(){var a=new Wp;a.g=this.g;this.b&&(a.b=this.b.clone(),a.a=this.a);return a};function hq(a,c){var d=String(c);a.f&&(d=d.toLowerCase());return d}
  function bq(a,c){c&&!a.f&&(gq(a),a.g=null,a.b.forEach(function(a,c){var f=c.toLowerCase();c!=f&&(this.remove(c),this.remove(f),0<a.length&&(this.g=null,this.b.set(hq(this,f),Ae(a)),this.a=this.a+a.length))},a));a.f=c};function jq(a){a=a||{};this.g=a.font;this.i=a.rotation;this.a=a.scale;this.s=a.text;this.o=a.textAlign;this.j=a.textBaseline;this.b=void 0!==a.fill?a.fill:new Mj({color:"#333"});this.l=void 0!==a.stroke?a.stroke:null;this.f=void 0!==a.offsetX?a.offsetX:0;this.c=void 0!==a.offsetY?a.offsetY:0}l=jq.prototype;l.Rj=function(){return this.g};l.ek=function(){return this.f};l.fk=function(){return this.c};l.Mn=function(){return this.b};l.Nn=function(){return this.i};l.On=function(){return this.a};l.Pn=function(){return this.l};
  l.Da=function(){return this.s};l.sk=function(){return this.o};l.tk=function(){return this.j};l.Uo=function(a){this.g=a};l.gi=function(a){this.f=a};l.hi=function(a){this.c=a};l.To=function(a){this.b=a};l.Qn=function(a){this.i=a};l.Rn=function(a){this.a=a};l.$o=function(a){this.l=a};l.ji=function(a){this.s=a};l.ki=function(a){this.o=a};l.ap=function(a){this.j=a};function kq(a){a=a?a:{};yo.call(this);this.defaultDataProjection=Jc("EPSG:4326");this.g=a.defaultStyle?a.defaultStyle:lq;this.c=void 0!==a.extractStyles?a.extractStyles:!0;this.l=void 0!==a.writeStyles?a.writeStyles:!0;this.b={};this.i=void 0!==a.showPointNames?a.showPointNames:!0}y(kq,yo);
  var mq=["http://www.google.com/kml/ext/2.2"],nq=[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"],oq=[255,255,255,1],pq=new Mj({color:oq}),qq=[20,2],rq=[64,64],sq=new gi({anchor:qq,anchorOrigin:"bottom-left",anchorXUnits:"pixels",anchorYUnits:"pixels",crossOrigin:"anonymous",rotation:0,scale:.5,size:rq,src:"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"}),tq=new Sj({color:oq,width:1}),uq=new jq({font:"bold 16px Helvetica",
  fill:pq,stroke:new Sj({color:[51,51,51,1],width:2}),scale:.8}),lq=[new Vj({fill:pq,image:sq,text:uq,stroke:tq,zIndex:0})],vq={fraction:"fraction",pixels:"pixels"};function wq(a,c){var d,e=[0,0],f="start";if(a.a){var g=a.a.fd();g&&2==g.length&&(e[0]=a.a.i*g[0]/2,e[1]=-a.a.i*g[1]/2,f="left")}if(Sa(a.Da()))d=new jq({text:c,offsetX:e[0],offsetY:e[1],textAlign:f});else{var g=a.Da(),h={};for(d in g)h[d]=g[d];d=h;d.ji(c);d.ki(f);d.gi(e[0]);d.hi(e[1])}return new Vj({text:d})}
  function xq(a,c,d,e,f){return function(){var g=f,h="";g&&this.W()&&(g="Point"===this.W().X());g&&(h=this.get("name"),g=g&&h);if(a)return g?(g=wq(a[0],h),a.concat(g)):a;if(c){var k=yq(c,d,e);return g?(g=wq(k[0],h),k.concat(g)):k}return g?(g=wq(d[0],h),d.concat(g)):d}}function yq(a,c,d){return Array.isArray(a)?a:"string"===typeof a?(!(a in d)&&"#"+a in d&&(a="#"+a),yq(d[a],c,d)):c}
  function zq(a){a=ql(a,!1);if(a=/^\s*#?\s*([0-9A-Fa-f]{8})\s*$/.exec(a))return a=a[1],[parseInt(a.substr(6,2),16),parseInt(a.substr(4,2),16),parseInt(a.substr(2,2),16),parseInt(a.substr(0,2),16)/255]}function Aq(a){a=ql(a,!1);for(var c=[],d=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?))?\s*/i,e;e=d.exec(a);)c.push(parseFloat(e[1]),parseFloat(e[2]),e[3]?parseFloat(e[3]):0),a=a.substr(e[0].length);return""!==a?void 0:c}
  function Bq(a){var c=ql(a,!1);return a.baseURI?eq(a.baseURI,c.trim()).toString():c.trim()}function Cq(a){a=Go(a);if(void 0!==a)return Math.sqrt(a)}function Dq(a,c){return P(null,Eq,a,c)}function Fq(a,c){var d=P({A:[],ti:[]},Gq,a,c);if(d){var e=d.A,d=d.ti,f,g;f=0;for(g=Math.min(e.length,d.length);f<g;++f)e[4*f+3]=d[f];d=new S(null);d.ba("XYZM",e);return d}}function Hq(a,c){var d=P({},Iq,a,c),e=P(null,Jq,a,c);if(e){var f=new S(null);f.ba("XYZ",e);f.G(d);return f}}
  function Kq(a,c){var d=P({},Iq,a,c),e=P(null,Jq,a,c);if(e){var f=new F(null);f.ba("XYZ",e,[e.length]);f.G(d);return f}}
  function Lq(a,c){var d=P([],Mq,a,c);if(!d)return null;if(0===d.length)return new po(d);var e=!0,f=d[0].X(),g,h,k;h=1;for(k=d.length;h<k;++h)if(g=d[h],g.X()!=f){e=!1;break}if(e){if("Point"==f){g=d[0];e=g.f;f=g.ga();h=1;for(k=d.length;h<k;++h)g=d[h],xb(f,g.ga());g=new eo(null);g.ba(e,f);Nq(g,d);return g}return"LineString"==f?(g=new T(null),co(g,d),Nq(g,d),g):"Polygon"==f?(g=new fo(null),ho(g,d),Nq(g,d),g):"GeometryCollection"==f?new po(d):null}return new po(d)}
  function Oq(a,c){var d=P({},Iq,a,c),e=P(null,Jq,a,c);if(e){var f=new D(null);f.ba("XYZ",e);f.G(d);return f}}function Pq(a,c){var d=P({},Iq,a,c),e=P([null],Qq,a,c);if(e&&e[0]){var f=new F(null),g=e[0],h=[g.length],k,m;k=1;for(m=e.length;k<m;++k)xb(g,e[k]),h.push(g.length);f.ba("XYZ",g,h);f.G(d);return f}}
  function Rq(a,c){var d=P({},Sq,a,c);if(!d)return null;var e="fillStyle"in d?d.fillStyle:pq,f=d.fill;void 0===f||f||(e=null);var f="imageStyle"in d?d.imageStyle:sq,g="textStyle"in d?d.textStyle:uq,h="strokeStyle"in d?d.strokeStyle:tq,d=d.outline;void 0===d||d||(h=null);return[new Vj({fill:e,image:f,stroke:h,text:g,zIndex:void 0})]}
  function Nq(a,c){var d=c.length,e=Array(c.length),f=Array(c.length),g,h,k,m;k=m=!1;for(h=0;h<d;++h)g=c[h],e[h]=g.get("extrude"),f[h]=g.get("altitudeMode"),k=k||void 0!==e[h],m=m||f[h];k&&a.set("extrude",e);m&&a.set("altitudeMode",f)}function Tq(a,c){El(Uq,a,c)}
  var Vq=M(nq,{value:xl(U)}),Uq=M(nq,{Data:function(a,c){var d=a.getAttribute("name");if(null!==d){var e=P(void 0,Vq,a,c);e&&(c[c.length-1][d]=e)}},SchemaData:function(a,c){El(Wq,a,c)}}),Iq=M(nq,{extrude:K(Do),altitudeMode:K(U)}),Eq=M(nq,{coordinates:xl(Aq)}),Qq=M(nq,{innerBoundaryIs:function(a,c){var d=P(void 0,Xq,a,c);d&&c[c.length-1].push(d)},outerBoundaryIs:function(a,c){var d=P(void 0,Yq,a,c);d&&(c[c.length-1][0]=d)}}),Gq=M(nq,{when:function(a,c){var d=c[c.length-1].ti,e=ql(a,!1);if(e=/^\s*(\d{4})($|-(\d{2})($|-(\d{2})($|T(\d{2}):(\d{2}):(\d{2})(Z|(?:([+\-])(\d{2})(?::(\d{2}))?)))))\s*$/.exec(e)){var f=
  Date.UTC(parseInt(e[1],10),e[3]?parseInt(e[3],10)-1:0,e[5]?parseInt(e[5],10):1,e[7]?parseInt(e[7],10):0,e[8]?parseInt(e[8],10):0,e[9]?parseInt(e[9],10):0);if(e[10]&&"Z"!=e[10]){var g="-"==e[11]?-1:1,f=f+60*g*parseInt(e[12],10);e[13]&&(f+=3600*g*parseInt(e[13],10))}d.push(f)}else d.push(0)}},M(mq,{coord:function(a,c){var d=c[c.length-1].A,e=ql(a,!1);(e=/^\s*([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s*$/i.exec(e))?d.push(parseFloat(e[1]),
  parseFloat(e[2]),parseFloat(e[3]),0):d.push(0,0,0,0)}})),Jq=M(nq,{coordinates:xl(Aq)}),Zq=M(nq,{href:K(Bq)},M(mq,{x:K(Go),y:K(Go),w:K(Go),h:K(Go)})),$q=M(nq,{Icon:K(function(a,c){var d=P({},Zq,a,c);return d?d:null}),heading:K(Go),hotSpot:K(function(a){var c=a.getAttribute("xunits"),d=a.getAttribute("yunits");return{x:parseFloat(a.getAttribute("x")),Vf:vq[c],y:parseFloat(a.getAttribute("y")),Wf:vq[d]}}),scale:K(Cq)}),Xq=M(nq,{LinearRing:xl(Dq)}),ar=M(nq,{color:K(zq),scale:K(Cq)}),br=M(nq,{color:K(zq),
  width:K(Go)}),Mq=M(nq,{LineString:wl(Hq),LinearRing:wl(Kq),MultiGeometry:wl(Lq),Point:wl(Oq),Polygon:wl(Pq)}),cr=M(mq,{Track:wl(Fq)}),er=M(nq,{ExtendedData:Tq,Link:function(a,c){El(dr,a,c)},address:K(U),description:K(U),name:K(U),open:K(Do),phoneNumber:K(U),visibility:K(Do)}),dr=M(nq,{href:K(Bq)}),Yq=M(nq,{LinearRing:xl(Dq)}),fr=M(nq,{Style:K(Rq),key:K(U),styleUrl:K(function(a){var c=ql(a,!1).trim();return a.baseURI?eq(a.baseURI,c).toString():c})}),hr=M(nq,{ExtendedData:Tq,MultiGeometry:K(Lq,"geometry"),
  LineString:K(Hq,"geometry"),LinearRing:K(Kq,"geometry"),Point:K(Oq,"geometry"),Polygon:K(Pq,"geometry"),Style:K(Rq),StyleMap:function(a,c){var d=P(void 0,gr,a,c);if(d){var e=c[c.length-1];Array.isArray(d)?e.Style=d:"string"===typeof d&&(e.styleUrl=d)}},address:K(U),description:K(U),name:K(U),open:K(Do),phoneNumber:K(U),styleUrl:K(Bq),visibility:K(Do)},M(mq,{MultiTrack:K(function(a,c){var d=P([],cr,a,c);if(d){var e=new T(null);co(e,d);return e}},"geometry"),Track:K(Fq,"geometry")})),ir=M(nq,{color:K(zq),
  fill:K(Do),outline:K(Do)}),Wq=M(nq,{SimpleData:function(a,c){var d=a.getAttribute("name");if(null!==d){var e=U(a);c[c.length-1][d]=e}}}),Sq=M(nq,{IconStyle:function(a,c){var d=P({},$q,a,c);if(d){var e=c[c.length-1],f="Icon"in d?d.Icon:{},g;g=(g=f.href)?g:"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png";var h,k,m,n=d.hotSpot;n?(h=[n.x,n.y],k=n.Vf,m=n.Wf):"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"===g?(h=qq,m=k="pixels"):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(g)&&
  (h=[.5,0],m=k="fraction");var p,n=f.x,q=f.y;void 0!==n&&void 0!==q&&(p=[n,q]);var r,n=f.w,f=f.h;void 0!==n&&void 0!==f&&(r=[n,f]);var u,f=d.heading;void 0!==f&&(u=Ha(f));d=d.scale;"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"==g&&(r=rq,void 0===d&&(d=.5));h=new gi({anchor:h,anchorOrigin:"bottom-left",anchorXUnits:k,anchorYUnits:m,crossOrigin:"anonymous",offset:p,offsetOrigin:"bottom-left",rotation:u,scale:d,size:r,src:g});e.imageStyle=h}},LabelStyle:function(a,c){var d=P({},ar,a,
  c);d&&(c[c.length-1].textStyle=new jq({fill:new Mj({color:"color"in d?d.color:oq}),scale:d.scale}))},LineStyle:function(a,c){var d=P({},br,a,c);d&&(c[c.length-1].strokeStyle=new Sj({color:"color"in d?d.color:oq,width:"width"in d?d.width:1}))},PolyStyle:function(a,c){var d=P({},ir,a,c);if(d){var e=c[c.length-1];e.fillStyle=new Mj({color:"color"in d?d.color:oq});var f=d.fill;void 0!==f&&(e.fill=f);d=d.outline;void 0!==d&&(e.outline=d)}}}),gr=M(nq,{Pair:function(a,c){var d=P({},fr,a,c);if(d){var e=d.key;
  e&&"normal"==e&&((e=d.styleUrl)&&(c[c.length-1]=e),(d=d.Style)&&(c[c.length-1]=d))}}});l=kq.prototype;l.Bf=function(a,c){var d=M(nq,{Document:vl(this.Bf,this),Folder:vl(this.Bf,this),Placemark:wl(this.Jf,this),Style:this.Do.bind(this),StyleMap:this.Co.bind(this)});if(d=P([],d,a,c,this))return d};
  l.Jf=function(a,c){var d=P({geometry:null},hr,a,c);if(d){var e=new kl,f=a.getAttribute("id");null!==f&&e.hc(f);var f=c[0],g=d.geometry;g&&Xn(g,!1,f);e.Ra(g);delete d.geometry;this.c&&e.mf(xq(d.Style,d.styleUrl,this.g,this.b,this.i));delete d.Style;e.G(d);return e}};l.Do=function(a,c){var d=a.getAttribute("id");if(null!==d){var e=Rq(a,c);e&&(d=a.baseURI?eq(a.baseURI,"#"+d).toString():"#"+d,this.b[d]=e)}};
  l.Co=function(a,c){var d=a.getAttribute("id");if(null!==d){var e=P(void 0,gr,a,c);e&&(d=a.baseURI?eq(a.baseURI,"#"+d).toString():"#"+d,this.b[d]=e)}};l.Jh=function(a,c){if(!ub(nq,a.namespaceURI))return null;var d=this.Jf(a,[Vn(this,a,c)]);return d?d:null};
  l.gc=function(a,c){if(!ub(nq,a.namespaceURI))return[];var d;d=a.localName;if("Document"==d||"Folder"==d)return(d=this.Bf(a,[Vn(this,a,c)]))?d:[];if("Placemark"==d)return(d=this.Jf(a,[Vn(this,a,c)]))?[d]:[];if("kml"==d){d=[];var e;for(e=a.firstElementChild;e;e=e.nextElementSibling){var f=this.gc(e,c);f&&xb(d,f)}return d}return[]};l.xo=function(a){if(sl(a))return jr(this,a);if(tl(a))return kr(this,a);if("string"===typeof a)return a=ul(a),jr(this,a)};
  function jr(a,c){var d;for(d=c.firstChild;d;d=d.nextSibling)if(1==d.nodeType){var e=kr(a,d);if(e)return e}}function kr(a,c){var d;for(d=c.firstElementChild;d;d=d.nextElementSibling)if(ub(nq,d.namespaceURI)&&"name"==d.localName)return U(d);for(d=c.firstElementChild;d;d=d.nextElementSibling){var e=d.localName;if(ub(nq,d.namespaceURI)&&("Document"==e||"Folder"==e||"Placemark"==e||"kml"==e)&&(e=kr(a,d)))return e}}
  l.yo=function(a){var c=[];sl(a)?xb(c,lr(this,a)):tl(a)?xb(c,mr(this,a)):"string"===typeof a&&(a=ul(a),xb(c,lr(this,a)));return c};function lr(a,c){var d,e=[];for(d=c.firstChild;d;d=d.nextSibling)1==d.nodeType&&xb(e,mr(a,d));return e}
  function mr(a,c){var d,e=[];for(d=c.firstElementChild;d;d=d.nextElementSibling)if(ub(nq,d.namespaceURI)&&"NetworkLink"==d.localName){var f=P({},er,d,[]);e.push(f)}for(d=c.firstElementChild;d;d=d.nextElementSibling)f=d.localName,!ub(nq,d.namespaceURI)||"Document"!=f&&"Folder"!=f&&"kml"!=f||xb(e,mr(a,d));return e}function nr(a,c){var d=Fe(c),d=[255*(4==d.length?d[3]:1),d[2],d[1],d[0]],e;for(e=0;4>e;++e){var f=parseInt(d[e],10).toString(16);d[e]=1==f.length?"0"+f:f}Lo(a,d.join(""))}
  function or(a,c,d){a={node:a};var e=c.X(),f,g;"GeometryCollection"==e?(f=c.af(),g=pr):"MultiPoint"==e?(f=c.ee(),g=qr):"MultiLineString"==e?(f=c.gd(),g=rr):"MultiPolygon"==e&&(f=c.Qd(),g=sr);Fl(a,tr,g,f,d)}function ur(a,c,d){Fl({node:a},vr,wr,[c],d)}
  function xr(a,c,d){var e={node:a};c.Ua()&&a.setAttribute("id",c.Ua());a=c.O();var f=c.$b();f&&(f=f.call(c,0))&&(f=Array.isArray(f)?f[0]:f,this.l&&(a.Style=f),(f=f.Da())&&(a.name=f.Da()));f=yr[d[d.length-1].node.namespaceURI];a=Dl(a,f);Fl(e,zr,Cl,a,d,f);a=d[0];(c=c.W())&&(c=Xn(c,!0,a));Fl(e,zr,pr,[c],d)}function Ar(a,c,d){var e=c.ga();a={node:a};a.layout=c.f;a.stride=c.ta();Fl(a,Br,Cr,[e],d)}function Dr(a,c,d){c=c.Pd();var e=c.shift();a={node:a};Fl(a,Er,Fr,c,d);Fl(a,Er,Gr,[e],d)}
  function Hr(a,c){Mo(a,Math.round(c*c*1E6)/1E6)}
  var Ir=M(nq,["Document","Placemark"]),Lr=M(nq,{Document:L(function(a,c,d){Fl({node:a},Jr,Kr,c,d,void 0,this)}),Placemark:L(xr)}),Jr=M(nq,{Placemark:L(xr)}),Mr={Point:"Point",LineString:"LineString",LinearRing:"LinearRing",Polygon:"Polygon",MultiPoint:"MultiGeometry",MultiLineString:"MultiGeometry",MultiPolygon:"MultiGeometry",GeometryCollection:"MultiGeometry"},Nr=M(nq,["href"],M(mq,["x","y","w","h"])),Or=M(nq,{href:L(Lo)},M(mq,{x:L(Mo),y:L(Mo),w:L(Mo),h:L(Mo)})),Pr=M(nq,["scale","heading","Icon",
  "hotSpot"]),Rr=M(nq,{Icon:L(function(a,c,d){a={node:a};var e=Nr[d[d.length-1].node.namespaceURI],f=Dl(c,e);Fl(a,Or,Cl,f,d,e);e=Nr[mq[0]];f=Dl(c,e);Fl(a,Or,Qr,f,d,e)}),heading:L(Mo),hotSpot:L(function(a,c){a.setAttribute("x",c.x);a.setAttribute("y",c.y);a.setAttribute("xunits",c.Vf);a.setAttribute("yunits",c.Wf)}),scale:L(Hr)}),Sr=M(nq,["color","scale"]),Tr=M(nq,{color:L(nr),scale:L(Hr)}),Ur=M(nq,["color","width"]),Vr=M(nq,{color:L(nr),width:L(Mo)}),vr=M(nq,{LinearRing:L(Ar)}),tr=M(nq,{LineString:L(Ar),
  Point:L(Ar),Polygon:L(Dr),GeometryCollection:L(or)}),yr=M(nq,"name open visibility address phoneNumber description styleUrl Style".split(" ")),zr=M(nq,{MultiGeometry:L(or),LineString:L(Ar),LinearRing:L(Ar),Point:L(Ar),Polygon:L(Dr),Style:L(function(a,c,d){a={node:a};var e={},f=c.c,g=c.f,h=c.a;c=c.Da();h instanceof gi&&(e.IconStyle=h);c&&(e.LabelStyle=c);g&&(e.LineStyle=g);f&&(e.PolyStyle=f);c=Wr[d[d.length-1].node.namespaceURI];e=Dl(e,c);Fl(a,Xr,Cl,e,d,c)}),address:L(Lo),description:L(Lo),name:L(Lo),
  open:L(Ko),phoneNumber:L(Lo),styleUrl:L(Lo),visibility:L(Ko)}),Br=M(nq,{coordinates:L(function(a,c,d){d=d[d.length-1];var e=d.layout;d=d.stride;var f;"XY"==e||"XYM"==e?f=2:("XYZ"==e||"XYZM"==e)&&(f=3);var g,h=c.length,k="";if(0<h){k+=c[0];for(e=1;e<f;++e)k+=","+c[e];for(g=d;g<h;g+=d)for(k+=" "+c[g],e=1;e<f;++e)k+=","+c[g+e]}Lo(a,k)})}),Er=M(nq,{outerBoundaryIs:L(ur),innerBoundaryIs:L(ur)}),Yr=M(nq,{color:L(nr)}),Wr=M(nq,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),Xr=M(nq,{IconStyle:L(function(a,
  c,d){a={node:a};var e={},f=c.Bb(),g=c.fd(),h={href:c.b.j};if(f){h.w=f[0];h.h=f[1];var k=c.Tb(),m=c.Ea();m&&g&&0!==m[0]&&m[1]!==f[1]&&(h.x=m[0],h.y=g[1]-(m[1]+f[1]));k&&0!==k[0]&&k[1]!==f[1]&&(e.hotSpot={x:k[0],Vf:"pixels",y:f[1]-k[1],Wf:"pixels"})}e.Icon=h;f=c.i;1!==f&&(e.scale=f);c=c.j;0!==c&&(e.heading=c);c=Pr[d[d.length-1].node.namespaceURI];e=Dl(e,c);Fl(a,Rr,Cl,e,d,c)}),LabelStyle:L(function(a,c,d){a={node:a};var e={},f=c.b;f&&(e.color=f.b);(c=c.a)&&1!==c&&(e.scale=c);c=Sr[d[d.length-1].node.namespaceURI];
  e=Dl(e,c);Fl(a,Tr,Cl,e,d,c)}),LineStyle:L(function(a,c,d){a={node:a};var e=Ur[d[d.length-1].node.namespaceURI];c=Dl({color:c.b,width:c.a},e);Fl(a,Vr,Cl,c,d,e)}),PolyStyle:L(function(a,c,d){Fl({node:a},Yr,Zr,[c.b],d)})});function Qr(a,c,d){return pl(mq[0],"gx:"+d)}function Kr(a,c){return pl(c[c.length-1].node.namespaceURI,"Placemark")}function pr(a,c){if(a)return pl(c[c.length-1].node.namespaceURI,Mr[a.X()])}
  var Zr=Al("color"),Cr=Al("coordinates"),Fr=Al("innerBoundaryIs"),qr=Al("Point"),rr=Al("LineString"),wr=Al("LinearRing"),sr=Al("Polygon"),Gr=Al("outerBoundaryIs");
  kq.prototype.a=function(a,c){c=Wn(this,c);var d=pl(nq[4],"kml");d.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:gx",mq[0]);d.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance");d.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation","http://www.opengis.net/kml/2.2 https://developers.google.com/kml/schema/kml22gx.xsd");var e={node:d},f={};1<a.length?f.Document=a:1==a.length&&(f.Placemark=a[0]);var g=Ir[d.namespaceURI],
  f=Dl(f,g);Fl(e,Lr,Cl,f,[c],g,this);return d};(function(){var a={},c={ha:a};(function(d){if("object"===typeof a&&"undefined"!==typeof c)c.ha=d();else{var e;"undefined"!==typeof window?e=window:"undefined"!==typeof global?e=global:"undefined"!==typeof self?e=self:e=this;e.Kp=d()}})(function(){return function e(a,c,h){function k(n,q){if(!c[n]){if(!a[n]){var r="function"==typeof require&&require;if(!q&&r)return r(n,!0);if(m)return m(n,!0);r=Error("Cannot find module '"+n+"'");throw r.code="MODULE_NOT_FOUND",r;}r=c[n]={ha:{}};a[n][0].call(r.ha,function(c){var e=
  a[n][1][c];return k(e?e:c)},r,r.ha,e,a,c,h)}return c[n].ha}for(var m="function"==typeof require&&require,n=0;n<h.length;n++)k(h[n]);return k}({1:[function(a,c,g){g.read=function(a,c,e,f,g){var q;q=8*g-f-1;var r=(1<<q)-1,u=r>>1,v=-7;g=e?g-1:0;var x=e?-1:1,z=a[c+g];g+=x;e=z&(1<<-v)-1;z>>=-v;for(v+=q;0<v;e=256*e+a[c+g],g+=x,v-=8);q=e&(1<<-v)-1;e>>=-v;for(v+=f;0<v;q=256*q+a[c+g],g+=x,v-=8);if(0===e)e=1-u;else{if(e===r)return q?NaN:Infinity*(z?-1:1);q+=Math.pow(2,f);e-=u}return(z?-1:1)*q*Math.pow(2,e-
  f)};g.write=function(a,c,e,f,g,q){var r,u=8*q-g-1,v=(1<<u)-1,x=v>>1,z=23===g?Math.pow(2,-24)-Math.pow(2,-77):0;q=f?0:q-1;var E=f?1:-1,B=0>c||0===c&&0>1/c?1:0;c=Math.abs(c);isNaN(c)||Infinity===c?(c=isNaN(c)?1:0,f=v):(f=Math.floor(Math.log(c)/Math.LN2),1>c*(r=Math.pow(2,-f))&&(f--,r*=2),c=1<=f+x?c+z/r:c+z*Math.pow(2,1-x),2<=c*r&&(f++,r/=2),f+x>=v?(c=0,f=v):1<=f+x?(c=(c*r-1)*Math.pow(2,g),f+=x):(c=c*Math.pow(2,x-1)*Math.pow(2,g),f=0));for(;8<=g;a[e+q]=c&255,q+=E,c/=256,g-=8);f=f<<g|c;for(u+=g;0<u;a[e+
  q]=f&255,q+=E,f/=256,u-=8);a[e+q-E]|=128*B}},{}],2:[function(a,c){function g(a){var c;a&&a.length&&(c=a,a=c.length);a=new Uint8Array(a||0);c&&a.set(c);a.Uh=m.Uh;a.Uf=m.Uf;a.Mh=m.Mh;a.yi=m.yi;a.If=m.If;a.xi=m.xi;a.Cf=m.Cf;a.ui=m.ui;a.toString=m.toString;a.write=m.write;a.slice=m.slice;a.og=m.og;a.hj=!0;return a}function h(a){for(var c=a.length,e=[],f=0,g,h;f<c;f++){g=a.charCodeAt(f);if(55295<g&&57344>g)if(h)if(56320>g){e.push(239,191,189);h=g;continue}else g=h-55296<<10|g-56320|65536,h=null;else{56319<
  g||f+1===c?e.push(239,191,189):h=g;continue}else h&&(e.push(239,191,189),h=null);128>g?e.push(g):2048>g?e.push(g>>6|192,g&63|128):65536>g?e.push(g>>12|224,g>>6&63|128,g&63|128):e.push(g>>18|240,g>>12&63|128,g>>6&63|128,g&63|128)}return e}c.ha=g;var k=a("ieee754"),m,n,p;m={Uh:function(a){return(this[a]|this[a+1]<<8|this[a+2]<<16)+16777216*this[a+3]},Uf:function(a,c){this[c]=a;this[c+1]=a>>>8;this[c+2]=a>>>16;this[c+3]=a>>>24},Mh:function(a){return(this[a]|this[a+1]<<8|this[a+2]<<16)+(this[a+3]<<24)},
  If:function(a){return k.read(this,a,!0,23,4)},Cf:function(a){return k.read(this,a,!0,52,8)},xi:function(a,c){return k.write(this,a,c,!0,23,4)},ui:function(a,c){return k.write(this,a,c,!0,52,8)},toString:function(a,c,e){var f=a="";e=Math.min(this.length,e||this.length);for(c=c||0;c<e;c++){var g=this[c];127>=g?(a+=decodeURIComponent(f)+String.fromCharCode(g),f=""):f+="%"+g.toString(16)}return a+=decodeURIComponent(f)},write:function(a,c){for(var e=a===n?p:h(a),f=0;f<e.length;f++)this[c+f]=e[f]},slice:function(a,
  c){return this.subarray(a,c)},og:function(a,c){c=c||0;for(var e=0;e<this.length;e++)a[c+e]=this[e]}};m.yi=m.Uf;g.byteLength=function(a){n=a;p=h(a);return p.length};g.isBuffer=function(a){return!(!a||!a.hj)}},{ieee754:1}],3:[function(a,c){(function(g){function h(a){this.yb=m.isBuffer(a)?a:new m(a||0);this.ca=0;this.length=this.yb.length}function k(a,c){var e=c.yb,f;f=e[c.ca++];a+=268435456*(f&127);if(128>f)return a;f=e[c.ca++];a+=34359738368*(f&127);if(128>f)return a;f=e[c.ca++];a+=4398046511104*(f&
  127);if(128>f)return a;f=e[c.ca++];a+=562949953421312*(f&127);if(128>f)return a;f=e[c.ca++];a+=72057594037927936*(f&127);if(128>f)return a;f=e[c.ca++];if(128>f)return a+0x7fffffffffffffff*(f&127);throw Error("Expected varint not more than 10 bytes");}c.ha=h;var m=g.sp||a("./buffer");h.f=0;h.g=1;h.b=2;h.a=5;var n=Math.pow(2,63);h.prototype={Gf:function(a,c,e){for(e=e||this.length;this.ca<e;){var f=this.za(),g=this.ca;a(f>>3,c,this);this.ca===g&&this.gp(f)}return c},to:function(){var a=this.yb.If(this.ca);
  this.ca+=4;return a},po:function(){var a=this.yb.Cf(this.ca);this.ca+=8;return a},za:function(){var a=this.yb,c,e;e=a[this.ca++];c=e&127;if(128>e)return c;e=a[this.ca++];c|=(e&127)<<7;if(128>e)return c;e=a[this.ca++];c|=(e&127)<<14;if(128>e)return c;e=a[this.ca++];c|=(e&127)<<21;return 128>e?c:k(c,this)},Eo:function(){var a=this.ca,c=this.za();if(c<n)return c;for(var e=this.ca-2;255===this.yb[e];)e--;e<a&&(e=a);for(var f=c=0;f<e-a+1;f++)var g=~this.yb[a+f]&127,c=c+(4>f?g<<7*f:g*Math.pow(2,7*f));return-c-
  1},sd:function(){var a=this.za();return 1===a%2?(a+1)/-2:a/2},no:function(){return!!this.za()},Lf:function(){var a=this.za()+this.ca,c=this.yb.toString("utf8",this.ca,a);this.ca=a;return c},gp:function(a){a&=7;if(a===h.f)for(;127<this.yb[this.ca++];);else if(a===h.b)this.ca=this.za()+this.ca;else if(a===h.a)this.ca+=4;else if(a===h.g)this.ca+=8;else throw Error("Unimplemented type: "+a);}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:
  {})},{"./buffer":2}]},{},[3])(3)});Ll=c.ha})();(function(){var a={},c={ha:a};(function(d){if("object"===typeof a&&"undefined"!==typeof c)c.ha=d();else{var e;"undefined"!==typeof window?e=window:"undefined"!==typeof global?e=global:"undefined"!==typeof self?e=self:e=this;e.Np=d()}})(function(){return function e(a,c,h){function k(n,q){if(!c[n]){if(!a[n]){var r="function"==typeof require&&require;if(!q&&r)return r(n,!0);if(m)return m(n,!0);r=Error("Cannot find module '"+n+"'");throw r.code="MODULE_NOT_FOUND",r;}r=c[n]={ha:{}};a[n][0].call(r.ha,function(c){var e=
  a[n][1][c];return k(e?e:c)},r,r.ha,e,a,c,h)}return c[n].ha}for(var m="function"==typeof require&&require,n=0;n<h.length;n++)k(h[n]);return k}({1:[function(a,c){function g(a,c){this.x=a;this.y=c}c.ha=g;g.prototype={clone:function(){return new g(this.x,this.y)},add:function(a){return this.clone().$i(a)},rotate:function(a){return this.clone().kj(a)},round:function(){return this.clone().lj()},angle:function(){return Math.atan2(this.y,this.x)},$i:function(a){this.x+=a.x;this.y+=a.y;return this},kj:function(a){var c=
  Math.cos(a);a=Math.sin(a);var e=a*this.x+c*this.y;this.x=c*this.x-a*this.y;this.y=e;return this},lj:function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this}};g.b=function(a){return a instanceof g?a:Array.isArray(a)?new g(a[0],a[1]):a}},{}],2:[function(a,c){c.ha.Zi=a("./lib/vectortile.js");c.ha.Fp=a("./lib/vectortilefeature.js");c.ha.Gp=a("./lib/vectortilelayer.js")},{"./lib/vectortile.js":3,"./lib/vectortilefeature.js":4,"./lib/vectortilelayer.js":5}],3:[function(a,c){function g(a,
  c,e){3===a&&(a=new h(e,e.za()+e.ca),a.length&&(c[a.name]=a))}var h=a("./vectortilelayer");c.ha=function(a,c){this.layers=a.Gf(g,{},c)}},{"./vectortilelayer":5}],4:[function(a,c){function g(a,c,e,f,g){this.properties={};this.extent=e;this.type=0;this.lc=a;this.Le=-1;this.Dd=f;this.Fd=g;a.Gf(h,this,c)}function h(a,c,e){if(1==a)c.Ip=e.za();else if(2==a)for(a=e.za()+e.ca;e.ca<a;){var f=c.Dd[e.za()],g=c.Fd[e.za()];c.properties[f]=g}else 3==a?c.type=e.za():4==a&&(c.Le=e.ca)}var k=a("point-geometry");c.ha=
  g;g.b=["Unknown","Point","LineString","Polygon"];g.prototype.Pg=function(){var a=this.lc;a.ca=this.Le;for(var c=a.za()+a.ca,e=1,f=0,g=0,h=0,v=[],x;a.ca<c;)if(f||(f=a.za(),e=f&7,f>>=3),f--,1===e||2===e)g+=a.sd(),h+=a.sd(),1===e&&(x&&v.push(x),x=[]),x.push(new k(g,h));else if(7===e)x&&x.push(x[0].clone());else throw Error("unknown command "+e);x&&v.push(x);return v};g.prototype.bbox=function(){var a=this.lc;a.ca=this.Le;for(var c=a.za()+a.ca,e=1,f=0,g=0,h=0,k=Infinity,x=-Infinity,z=Infinity,E=-Infinity;a.ca<
  c;)if(f||(f=a.za(),e=f&7,f>>=3),f--,1===e||2===e)g+=a.sd(),h+=a.sd(),g<k&&(k=g),g>x&&(x=g),h<z&&(z=h),h>E&&(E=h);else if(7!==e)throw Error("unknown command "+e);return[k,z,x,E]}},{"point-geometry":1}],5:[function(a,c){function g(a,c){this.version=1;this.name=null;this.extent=4096;this.length=0;this.lc=a;this.Dd=[];this.Fd=[];this.Cd=[];a.Gf(h,this,c);this.length=this.Cd.length}function h(a,c,e){15===a?c.version=e.za():1===a?c.name=e.Lf():5===a?c.extent=e.za():2===a?c.Cd.push(e.ca):3===a?c.Dd.push(e.Lf()):
  4===a&&c.Fd.push(k(e))}function k(a){for(var c=null,e=a.za()+a.ca;a.ca<e;)c=a.za()>>3,c=1===c?a.Lf():2===c?a.to():3===c?a.po():4===c?a.Eo():5===c?a.za():6===c?a.sd():7===c?a.no():null;return c}var m=a("./vectortilefeature.js");c.ha=g;g.prototype.feature=function(a){if(0>a||a>=this.Cd.length)throw Error("feature index out of bounds");this.lc.ca=this.Cd[a];a=this.lc.za()+this.lc.ca;return new m(this.lc,a,this.extent,this.Dd,this.Fd)}},{"./vectortilefeature.js":4}]},{},[2])(2)});Ml=c.ha})();function $r(a){this.defaultDataProjection=null;a=a?a:{};this.defaultDataProjection=new Gc({code:"",units:"tile-pixels"});this.b=a.featureClass?a.featureClass:Lk;this.g=a.geometryName?a.geometryName:"geometry";this.a=a.layerName?a.layerName:"layer";this.f=a.layers?a.layers:null}y($r,Un);$r.prototype.X=function(){return"arraybuffer"};
  $r.prototype.Ba=function(a,c){var d=this.f,e=new Ll(a),e=new Ml.Zi(e),f=[],g=this.b,h,k,m;for(m in e.layers)if(!d||-1!=d.indexOf(m)){h=e.layers[m];for(var n=0,p=h.length;n<p;++n){if(g===Lk){var q=h.feature(n);k=m;var r=q.Pg(),u=[],v=[];as(r,v,u);var x=q.type,z=void 0;1===x?z=1===r.length?"Point":"MultiPoint":2===x?z=1===r.length?"LineString":"MultiLineString":3===x&&(z="Polygon");q=q.properties;q[this.a]=k;k=new this.b(z,v,u,q)}else{q=h.feature(n);z=m;v=c;k=new this.b;u=q.properties;u[this.a]=z;z=
  q.type;if(0===z)z=null;else{q=q.Pg();r=[];x=[];as(q,x,r);var E=void 0;1===z?E=1===q.length?new D(null):new eo(null):2===z?1===q.length?E=new S(null):E=new T(null):3===z&&(E=new F(null));E.ba("XY",x,r);z=E}(v=Xn(z,!1,Wn(this,v)))&&(u[this.g]=v);k.G(u);k.zc(this.g)}f.push(k)}}return f};$r.prototype.Na=function(){return this.defaultDataProjection};$r.prototype.c=function(a){this.f=a};
  function as(a,c,d){for(var e=0,f=0,g=a.length;f<g;++f){var h=a[f],k,m;k=0;for(m=h.length;k<m;++k){var n=h[k];c.push(n.x,n.y)}e+=2*k;d.push(e)}};function bs(a,c){return new cs(a,c)}function ds(a,c,d){return new es(a,c,d)}function fs(a){this.Rb=a}function gs(a){this.Rb=a}y(gs,fs);function hs(a,c,d){this.Rb=a;this.b=c;this.a=d}y(hs,gs);function cs(a,c){hs.call(this,"And",a,c)}y(cs,hs);function is(a,c){hs.call(this,"Or",a,c)}y(is,hs);function js(a){this.Rb="Not";this.condition=a}y(js,gs);function es(a,c,d){this.Rb="BBOX";this.geometryName=a;this.extent=c;this.srsName=d}y(es,fs);function ks(a,c){this.Rb=a;this.b=c}y(ks,fs);
  function ls(a,c,d,e){ks.call(this,a,c);this.g=d;this.a=e}y(ls,ks);function ms(a,c,d){ls.call(this,"PropertyIsEqualTo",a,c,d)}y(ms,ls);function ns(a,c,d){ls.call(this,"PropertyIsNotEqualTo",a,c,d)}y(ns,ls);function os(a,c){ls.call(this,"PropertyIsLessThan",a,c)}y(os,ls);function ps(a,c){ls.call(this,"PropertyIsLessThanOrEqualTo",a,c)}y(ps,ls);function qs(a,c){ls.call(this,"PropertyIsGreaterThan",a,c)}y(qs,ls);function rs(a,c){ls.call(this,"PropertyIsGreaterThanOrEqualTo",a,c)}y(rs,ls);
  function ss(a){ks.call(this,"PropertyIsNull",a)}y(ss,ks);function ts(a,c,d){ks.call(this,"PropertyIsBetween",a);this.a=c;this.g=d}y(ts,ks);function us(a,c,d,e,f,g){ks.call(this,"PropertyIsLike",a);this.f=c;this.i=void 0!==d?d:"*";this.c=void 0!==e?e:".";this.g=void 0!==f?f:"!";this.a=g}y(us,ks);function vs(){yo.call(this);this.defaultDataProjection=Jc("EPSG:4326")}y(vs,yo);function ws(a,c){c[c.length-1].xd[a.getAttribute("k")]=a.getAttribute("v")}
  var xs=[null],ys=M(xs,{nd:function(a,c){c[c.length-1].Mc.push(a.getAttribute("ref"))},tag:ws}),As=M(xs,{node:function(a,c){var d=c[0],e=c[c.length-1],f=a.getAttribute("id"),g=[parseFloat(a.getAttribute("lon")),parseFloat(a.getAttribute("lat"))];e.Tg[f]=g;var h=P({xd:{}},zs,a,c);Sa(h.xd)||(g=new D(g),Xn(g,!1,d),d=new kl(g),d.hc(f),d.G(h.xd),e.features.push(d))},way:function(a,c){for(var d=c[0],e=a.getAttribute("id"),f=P({Mc:[],xd:{}},ys,a,c),g=c[c.length-1],h=[],k=0,m=f.Mc.length;k<m;k++)xb(h,g.Tg[f.Mc[k]]);
  f.Mc[0]==f.Mc[f.Mc.length-1]?(k=new F(null),k.ba("XY",h,[h.length])):(k=new S(null),k.ba("XY",h));Xn(k,!1,d);d=new kl(k);d.hc(e);d.G(f.xd);g.features.push(d)}}),zs=M(xs,{tag:ws});vs.prototype.gc=function(a,c){var d=Vn(this,a,c);return"osm"==a.localName&&(d=P({Tg:{},features:[]},As,a,[d]),d.features)?d.features:[]};function Bs(a){return a.getAttributeNS("http://www.w3.org/1999/xlink","href")};function Cs(){}Cs.prototype.read=function(a){return sl(a)?this.a(a):tl(a)?this.b(a):"string"===typeof a?(a=ul(a),this.a(a)):null};function Ds(){}y(Ds,Cs);Ds.prototype.a=function(a){for(a=a.firstChild;a;a=a.nextSibling)if(1==a.nodeType)return this.b(a);return null};Ds.prototype.b=function(a){return(a=P({},Es,a,[]))?a:null};
  var Fs=[null,"http://www.opengis.net/ows/1.1"],Es=M(Fs,{ServiceIdentification:K(function(a,c){return P({},Gs,a,c)}),ServiceProvider:K(function(a,c){return P({},Hs,a,c)}),OperationsMetadata:K(function(a,c){return P({},Is,a,c)})}),Js=M(Fs,{DeliveryPoint:K(U),City:K(U),AdministrativeArea:K(U),PostalCode:K(U),Country:K(U),ElectronicMailAddress:K(U)}),Ks=M(Fs,{Value:yl(function(a){return U(a)})}),Ls=M(Fs,{AllowedValues:K(function(a,c){return P({},Ks,a,c)})}),Ns=M(Fs,{Phone:K(function(a,c){return P({},
  Ms,a,c)}),Address:K(function(a,c){return P({},Js,a,c)})}),Ps=M(Fs,{HTTP:K(function(a,c){return P({},Os,a,c)})}),Os=M(Fs,{Get:yl(function(a,c){var d=Bs(a);return d?P({href:d},Qs,a,c):void 0}),Post:void 0}),Rs=M(Fs,{DCP:K(function(a,c){return P({},Ps,a,c)})}),Is=M(Fs,{Operation:function(a,c){var d=a.getAttribute("name"),e=P({},Rs,a,c);e&&(c[c.length-1][d]=e)}}),Ms=M(Fs,{Voice:K(U),Facsimile:K(U)}),Qs=M(Fs,{Constraint:yl(function(a,c){var d=a.getAttribute("name");return d?P({name:d},Ls,a,c):void 0})}),
  Ss=M(Fs,{IndividualName:K(U),PositionName:K(U),ContactInfo:K(function(a,c){return P({},Ns,a,c)})}),Gs=M(Fs,{Title:K(U),ServiceTypeVersion:K(U),ServiceType:K(U)}),Hs=M(Fs,{ProviderName:K(U),ProviderSite:K(Bs),ServiceContact:K(function(a,c){return P({},Ss,a,c)})});function Ts(a,c,d,e){var f;void 0!==e?f=e:f=[];for(var g=e=0;g<c;){var h=a[g++];f[e++]=a[g++];f[e++]=h;for(h=2;h<d;++h)f[e++]=a[g++]}f.length=e};function Us(a){a=a?a:{};this.defaultDataProjection=null;this.defaultDataProjection=Jc("EPSG:4326");this.b=a.factor?a.factor:1E5;this.a=a.geometryLayout?a.geometryLayout:"XY"}y(Us,Fp);function Vs(a,c,d){var e,f=Array(c);for(e=0;e<c;++e)f[e]=0;var g,h;g=0;for(h=a.length;g<h;)for(e=0;e<c;++e,++g){var k=a[g],m=k-f[e];f[e]=k;a[g]=m}return Ws(a,d?d:1E5)}
  function Xs(a,c,d){var e,f=Array(c);for(e=0;e<c;++e)f[e]=0;a=Ys(a,d?d:1E5);var g;d=0;for(g=a.length;d<g;)for(e=0;e<c;++e,++d)f[e]+=a[d],a[d]=f[e];return a}function Ws(a,c){var d=c?c:1E5,e,f;e=0;for(f=a.length;e<f;++e)a[e]=Math.round(a[e]*d);d=0;for(e=a.length;d<e;++d)f=a[d],a[d]=0>f?~(f<<1):f<<1;d="";e=0;for(f=a.length;e<f;++e){for(var g=a[e],h,k="";32<=g;)h=(32|g&31)+63,k+=String.fromCharCode(h),g>>=5;k+=String.fromCharCode(g+63);d+=k}return d}
  function Ys(a,c){var d=c?c:1E5,e=[],f=0,g=0,h,k;h=0;for(k=a.length;h<k;++h){var m=a.charCodeAt(h)-63,f=f|(m&31)<<g;32>m?(e.push(f),g=f=0):g+=5}f=0;for(g=e.length;f<g;++f)h=e[f],e[f]=h&1?~(h>>1):h>>1;f=0;for(g=e.length;f<g;++f)e[f]/=d;return e}l=Us.prototype;l.pd=function(a,c){var d=this.rd(a,c);return new kl(d)};l.Ff=function(a,c){return[this.pd(a,c)]};l.rd=function(a,c){var d=td(this.a),e=Xs(a,d,this.b);Ts(e,e.length,d,e);d=Gd(e,0,e.length,d);return Xn(new S(d,this.a),!1,Wn(this,c))};
  l.Ce=function(a,c){var d=a.W();return d?this.zd(d,c):""};l.wi=function(a,c){return this.Ce(a[0],c)};l.zd=function(a,c){a=Xn(a,!0,Wn(this,c));var d=a.ga(),e=a.ta();Ts(d,d.length,e,d);return Vs(d,e,this.b)};function Zs(a){a=a?a:{};this.defaultDataProjection=null;this.defaultDataProjection=Jc(a.defaultDataProjection?a.defaultDataProjection:"EPSG:4326")}y(Zs,Yn);function $s(a,c){var d=[],e,f,g,h;g=0;for(h=a.length;g<h;++g)e=a[g],0<g&&d.pop(),0<=e?f=c[e]:f=c[~e].slice().reverse(),d.push.apply(d,f);e=0;for(f=d.length;e<f;++e)d[e]=d[e].slice();return d}function bt(a,c,d,e,f){a=a.geometries;var g=[],h,k;h=0;for(k=a.length;h<k;++h)g[h]=ct(a[h],c,d,e,f);return g}
  function ct(a,c,d,e,f){var g=a.type,h=dt[g];c="Point"===g||"MultiPoint"===g?h(a,d,e):h(a,c);d=new kl;d.Ra(Xn(c,!1,f));void 0!==a.id&&d.hc(a.id);a.properties&&d.G(a.properties);return d}
  Zs.prototype.Ef=function(a,c){if("Topology"==a.type){var d,e=null,f=null;a.transform&&(d=a.transform,e=d.scale,f=d.translate);var g=a.arcs;if(d){d=e;var h=f,k,m;k=0;for(m=g.length;k<m;++k){var n=g[k],p=d,q=h,r=0,u=0,v,x,z;x=0;for(z=n.length;x<z;++x)v=n[x],r+=v[0],u+=v[1],v[0]=r,v[1]=u,et(v,p,q)}}d=[];h=Ra(a.objects);k=0;for(m=h.length;k<m;++k)"GeometryCollection"===h[k].type?(n=h[k],d.push.apply(d,bt(n,g,e,f,c))):(n=h[k],d.push(ct(n,g,e,f,c)));return d}return[]};
  function et(a,c,d){a[0]=a[0]*c[0]+d[0];a[1]=a[1]*c[1]+d[1]}Zs.prototype.Na=function(){return this.defaultDataProjection};
  var dt={Point:function(a,c,d){a=a.coordinates;c&&d&&et(a,c,d);return new D(a)},LineString:function(a,c){var d=$s(a.arcs,c);return new S(d)},Polygon:function(a,c){var d=[],e,f;e=0;for(f=a.arcs.length;e<f;++e)d[e]=$s(a.arcs[e],c);return new F(d)},MultiPoint:function(a,c,d){a=a.coordinates;var e,f;if(c&&d)for(e=0,f=a.length;e<f;++e)et(a[e],c,d);return new eo(a)},MultiLineString:function(a,c){var d=[],e,f;e=0;for(f=a.arcs.length;e<f;++e)d[e]=$s(a.arcs[e],c);return new T(d)},MultiPolygon:function(a,c){var d=
  [],e,f,g,h,k,m;k=0;for(m=a.arcs.length;k<m;++k){e=a.arcs[k];f=[];g=0;for(h=e.length;g<h;++g)f[g]=$s(e[g],c);d[k]=f}return new fo(d)}};function ft(a){a=a?a:{};this.i=a.featureType;this.g=a.featureNS;this.b=a.gmlFormat?a.gmlFormat:new Po;this.c=a.schemaLocation?a.schemaLocation:"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd";yo.call(this)}y(ft,yo);ft.prototype.gc=function(a,c){var d={featureType:this.i,featureNS:this.g};Pa(d,Vn(this,a,c?c:{}));d=[d];this.b.b["http://www.opengis.net/gml"].featureMember=wl(Bo.prototype.qd);(d=P([],this.b.b,a,d,this.b))||(d=[]);return d};
  ft.prototype.o=function(a){if(sl(a))return gt(a);if(tl(a))return P({},ht,a,[]);if("string"===typeof a)return a=ul(a),gt(a)};ft.prototype.l=function(a){if(sl(a))return it(this,a);if(tl(a))return jt(this,a);if("string"===typeof a)return a=ul(a),it(this,a)};function it(a,c){for(var d=c.firstChild;d;d=d.nextSibling)if(1==d.nodeType)return jt(a,d)}var kt={"http://www.opengis.net/gml":{boundedBy:K(Bo.prototype.te,"bounds")}};
  function jt(a,c){var d={},e=Jo(c.getAttribute("numberOfFeatures"));d.numberOfFeatures=e;return P(d,kt,c,[],a.b)}
  var lt={"http://www.opengis.net/wfs":{totalInserted:K(Io),totalUpdated:K(Io),totalDeleted:K(Io)}},mt={"http://www.opengis.net/ogc":{FeatureId:wl(function(a){return a.getAttribute("fid")})}},nt={"http://www.opengis.net/wfs":{Feature:function(a,c){El(mt,a,c)}}},ht={"http://www.opengis.net/wfs":{TransactionSummary:K(function(a,c){return P({},lt,a,c)},"transactionSummary"),InsertResults:K(function(a,c){return P([],nt,a,c)},"insertIds")}};
  function gt(a){for(a=a.firstChild;a;a=a.nextSibling)if(1==a.nodeType)return P({},ht,a,[])}var ot={"http://www.opengis.net/wfs":{PropertyName:L(Lo)}};function pt(a,c){var d=pl("http://www.opengis.net/ogc","Filter"),e=pl("http://www.opengis.net/ogc","FeatureId");d.appendChild(e);e.setAttribute("fid",c);a.appendChild(d)}
  var qt={"http://www.opengis.net/wfs":{Insert:L(function(a,c,d){var e=d[d.length-1],e=pl(e.featureNS,e.featureType);a.appendChild(e);Po.prototype.vi(e,c,d)}),Update:L(function(a,c,d){var e=d[d.length-1],f=e.featureType,g=e.featurePrefix,g=g?g:"feature",h=e.featureNS;a.setAttribute("typeName",g+":"+f);a.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+g,h);f=c.Ua();if(void 0!==f){for(var g=c.N(),h=[],k=0,m=g.length;k<m;k++){var n=c.get(g[k]);void 0!==n&&h.push({name:g[k],value:n})}Fl({node:a,
  srsName:e.srsName},qt,Al("Property"),h,d);pt(a,f)}}),Delete:L(function(a,c,d){var e=d[d.length-1];d=e.featureType;var f=e.featurePrefix,f=f?f:"feature",e=e.featureNS;a.setAttribute("typeName",f+":"+d);a.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+f,e);c=c.Ua();void 0!==c&&pt(a,c)}),Property:L(function(a,c,d){var e=pl("http://www.opengis.net/wfs","Name");a.appendChild(e);Lo(e,c.name);void 0!==c.value&&null!==c.value&&(e=pl("http://www.opengis.net/wfs","Value"),a.appendChild(e),c.value instanceof
  dd?Po.prototype.Ee(e,c.value,d):Lo(e,c.value))}),Native:L(function(a,c){c.op&&a.setAttribute("vendorId",c.op);void 0!==c.Qo&&a.setAttribute("safeToIgnore",c.Qo);void 0!==c.value&&Lo(a,c.value)})}};function rt(a,c,d){a={node:a};var e=c.b;Fl(a,st,Al(e.Rb),[e],d);c=c.a;Fl(a,st,Al(c.Rb),[c],d)}function tt(a,c){void 0!==c.a&&a.setAttribute("matchCase",c.a.toString());ut(a,c.b);vt("Literal",a,""+c.g)}function vt(a,c,d){a=pl("http://www.opengis.net/ogc",a);Lo(a,d);c.appendChild(a)}
  function ut(a,c){vt("PropertyName",a,c)}
  var st={"http://www.opengis.net/wfs":{Query:L(function(a,c,d){var e=d[d.length-1],f=e.featurePrefix,g=e.featureNS,h=e.propertyNames,k=e.srsName;a.setAttribute("typeName",(f?f+":":"")+c);k&&a.setAttribute("srsName",k);g&&a.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+f,g);c=Pa({},e);c.node=a;Fl(c,ot,Al("PropertyName"),h,d);if(e=e.filter)h=pl("http://www.opengis.net/ogc","Filter"),a.appendChild(h),Fl({node:h},st,Al(e.Rb),[e],d)})},"http://www.opengis.net/ogc":{And:L(rt),Or:L(rt),Not:L(function(a,
  c,d){c=c.condition;Fl({node:a},st,Al(c.Rb),[c],d)}),BBOX:L(function(a,c,d){d[d.length-1].srsName=c.srsName;ut(a,c.geometryName);Po.prototype.Ee(a,c.extent,d)}),PropertyIsEqualTo:L(tt),PropertyIsNotEqualTo:L(tt),PropertyIsLessThan:L(tt),PropertyIsLessThanOrEqualTo:L(tt),PropertyIsGreaterThan:L(tt),PropertyIsGreaterThanOrEqualTo:L(tt),PropertyIsNull:L(function(a,c){ut(a,c.b)}),PropertyIsBetween:L(function(a,c){ut(a,c.b);vt("LowerBoundary",a,""+c.a);vt("UpperBoundary",a,""+c.g)}),PropertyIsLike:L(function(a,
  c){a.setAttribute("wildCard",c.i);a.setAttribute("singleChar",c.c);a.setAttribute("escapeChar",c.g);void 0!==c.a&&a.setAttribute("matchCase",c.a.toString());ut(a,c.b);vt("Literal",a,""+c.f)})}};
  ft.prototype.j=function(a){var c=pl("http://www.opengis.net/wfs","GetFeature");c.setAttribute("service","WFS");c.setAttribute("version","1.1.0");var d;if(a&&(a.handle&&c.setAttribute("handle",a.handle),a.outputFormat&&c.setAttribute("outputFormat",a.outputFormat),void 0!==a.maxFeatures&&c.setAttribute("maxFeatures",a.maxFeatures),a.resultType&&c.setAttribute("resultType",a.resultType),void 0!==a.startIndex&&c.setAttribute("startIndex",a.startIndex),void 0!==a.count&&c.setAttribute("count",a.count),
  d=a.filter,a.bbox)){var e=ds(a.geometryName,a.bbox,a.srsName);d?d=bs(d,e):d=e}c.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.c);e=a.featureTypes;a=[{node:c,srsName:a.srsName,featureNS:a.featureNS?a.featureNS:this.g,featurePrefix:a.featurePrefix,geometryName:a.geometryName,filter:d,propertyNames:a.propertyNames?a.propertyNames:[]}];d=Pa({},a[a.length-1]);d.node=c;Fl(d,st,Al("Query"),e,a);return c};
  ft.prototype.U=function(a,c,d,e){var f=[],g=pl("http://www.opengis.net/wfs","Transaction");g.setAttribute("service","WFS");g.setAttribute("version","1.1.0");var h,k;e&&(h=e.gmlOptions?e.gmlOptions:{},e.handle&&g.setAttribute("handle",e.handle));g.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.c);a&&(k={node:g,featureNS:e.featureNS,featureType:e.featureType,featurePrefix:e.featurePrefix,srsName:e.srsName},Pa(k,h),Fl(k,qt,Al("Insert"),a,f));c&&(k={node:g,featureNS:e.featureNS,
  featureType:e.featureType,featurePrefix:e.featurePrefix,srsName:e.srsName},Pa(k,h),Fl(k,qt,Al("Update"),c,f));d&&Fl({node:g,featureNS:e.featureNS,featureType:e.featureType,featurePrefix:e.featurePrefix,srsName:e.srsName},qt,Al("Delete"),d,f);e.nativeElements&&Fl({node:g,featureNS:e.featureNS,featureType:e.featureType,featurePrefix:e.featurePrefix,srsName:e.srsName},qt,Al("Native"),e.nativeElements,f);return g};
  ft.prototype.Kf=function(a){for(a=a.firstChild;a;a=a.nextSibling)if(1==a.nodeType)return this.we(a);return null};ft.prototype.we=function(a){if(a.firstElementChild&&a.firstElementChild.firstElementChild)for(a=a.firstElementChild.firstElementChild,a=a.firstElementChild;a;a=a.nextElementSibling)if(0!==a.childNodes.length&&(1!==a.childNodes.length||3!==a.firstChild.nodeType)){var c=[{}];this.b.te(a,c);return Jc(c.pop().srsName)}return null};function wt(a){a=a?a:{};this.defaultDataProjection=null;this.b=void 0!==a.splitCollection?a.splitCollection:!1}y(wt,Fp);function xt(a){a=a.Z();return 0===a.length?"":a[0]+" "+a[1]}function yt(a){a=a.Z();for(var c=[],d=0,e=a.length;d<e;++d)c.push(a[d][0]+" "+a[d][1]);return c.join(",")}function zt(a){var c=[];a=a.Pd();for(var d=0,e=a.length;d<e;++d)c.push("("+yt(a[d])+")");return c.join(",")}function At(a){var c=a.X();a=(0,Bt[c])(a);c=c.toUpperCase();return 0===a.length?c+" EMPTY":c+"("+a+")"}
  var Bt={Point:xt,LineString:yt,Polygon:zt,MultiPoint:function(a){var c=[];a=a.ee();for(var d=0,e=a.length;d<e;++d)c.push("("+xt(a[d])+")");return c.join(",")},MultiLineString:function(a){var c=[];a=a.gd();for(var d=0,e=a.length;d<e;++d)c.push("("+yt(a[d])+")");return c.join(",")},MultiPolygon:function(a){var c=[];a=a.Qd();for(var d=0,e=a.length;d<e;++d)c.push("("+zt(a[d])+")");return c.join(",")},GeometryCollection:function(a){var c=[];a=a.af();for(var d=0,e=a.length;d<e;++d)c.push(At(a[d]));return c.join(",")}};
  l=wt.prototype;l.pd=function(a,c){var d=this.rd(a,c);if(d){var e=new kl;e.Ra(d);return e}return null};l.Ff=function(a,c){var d=[],e=this.rd(a,c);this.b&&"GeometryCollection"==e.X()?d=e.c:d=[e];for(var f=[],g=0,h=d.length;g<h;++g)e=new kl,e.Ra(d[g]),f.push(e);return f};l.rd=function(a,c){var d;d=new Ct(new Dt(a));d.b=Et(d.a);return(d=Ft(d))?Xn(d,!1,c):null};l.Ce=function(a,c){var d=a.W();return d?this.zd(d,c):""};
  l.wi=function(a,c){if(1==a.length)return this.Ce(a[0],c);for(var d=[],e=0,f=a.length;e<f;++e)d.push(a[e].W());d=new po(d);return this.zd(d,c)};l.zd=function(a,c){return At(Xn(a,!0,c))};function Dt(a){this.a=a;this.b=-1}
  function Et(a){var c=a.a.charAt(++a.b),d={position:a.b,value:c};if("("==c)d.type=2;else if(","==c)d.type=5;else if(")"==c)d.type=3;else if("0"<=c&&"9">=c||"."==c||"-"==c){d.type=4;var e,c=a.b,f=!1,g=!1;do{if("."==e)f=!0;else if("e"==e||"E"==e)g=!0;e=a.a.charAt(++a.b)}while("0"<=e&&"9">=e||"."==e&&(void 0===f||!f)||!g&&("e"==e||"E"==e)||g&&("-"==e||"+"==e));a=parseFloat(a.a.substring(c,a.b--));d.value=a}else if("a"<=c&&"z">=c||"A"<=c&&"Z">=c){d.type=1;c=a.b;do e=a.a.charAt(++a.b);while("a"<=e&&"z">=
  e||"A"<=e&&"Z">=e);a=a.a.substring(c,a.b--).toUpperCase();d.value=a}else{if(" "==c||"\t"==c||"\r"==c||"\n"==c)return Et(a);if(""===c)d.type=6;else throw Error("Unexpected character: "+c);}return d}function Ct(a){this.a=a}l=Ct.prototype;l.match=function(a){if(a=this.b.type==a)this.b=Et(this.a);return a};
  function Ft(a){var c=a.b;if(a.match(1)){var d=c.value;if("GEOMETRYCOLLECTION"==d){a:{if(a.match(2)){c=[];do c.push(Ft(a));while(a.match(5));if(a.match(3)){a=c;break a}}else if(Gt(a)){a=[];break a}throw Error(Ht(a));}return new po(a)}var e=It[d],c=Jt[d];if(!e||!c)throw Error("Invalid geometry type: "+d);a=e.call(a);return new c(a)}throw Error(Ht(a));}l.zf=function(){if(this.match(2)){var a=Kt(this);if(this.match(3))return a}else if(Gt(this))return null;throw Error(Ht(this));};
  l.yf=function(){if(this.match(2)){var a=Lt(this);if(this.match(3))return a}else if(Gt(this))return[];throw Error(Ht(this));};l.Af=function(){if(this.match(2)){var a=Mt(this);if(this.match(3))return a}else if(Gt(this))return[];throw Error(Ht(this));};l.Zn=function(){if(this.match(2)){var a;if(2==this.b.type)for(a=[this.zf()];this.match(5);)a.push(this.zf());else a=Lt(this);if(this.match(3))return a}else if(Gt(this))return[];throw Error(Ht(this));};
  l.Yn=function(){if(this.match(2)){var a=Mt(this);if(this.match(3))return a}else if(Gt(this))return[];throw Error(Ht(this));};l.$n=function(){if(this.match(2)){for(var a=[this.Af()];this.match(5);)a.push(this.Af());if(this.match(3))return a}else if(Gt(this))return[];throw Error(Ht(this));};function Kt(a){for(var c=[],d=0;2>d;++d){var e=a.b;if(a.match(4))c.push(e.value);else break}if(2==c.length)return c;throw Error(Ht(a));}function Lt(a){for(var c=[Kt(a)];a.match(5);)c.push(Kt(a));return c}
  function Mt(a){for(var c=[a.yf()];a.match(5);)c.push(a.yf());return c}function Gt(a){var c=1==a.b.type&&"EMPTY"==a.b.value;c&&(a.b=Et(a.a));return c}function Ht(a){return"Unexpected `"+a.b.value+"` at position "+a.b.position+" in `"+a.a.a+"`"}var Jt={POINT:D,LINESTRING:S,POLYGON:F,MULTIPOINT:eo,MULTILINESTRING:T,MULTIPOLYGON:fo},It={POINT:Ct.prototype.zf,LINESTRING:Ct.prototype.yf,POLYGON:Ct.prototype.Af,MULTIPOINT:Ct.prototype.Zn,MULTILINESTRING:Ct.prototype.Yn,MULTIPOLYGON:Ct.prototype.$n};function Nt(){this.version=void 0}y(Nt,Cs);Nt.prototype.a=function(a){for(a=a.firstChild;a;a=a.nextSibling)if(1==a.nodeType)return this.b(a);return null};Nt.prototype.b=function(a){this.version=a.getAttribute("version").trim();return(a=P({version:this.version},Ot,a,[]))?a:null};function Pt(a,c){return P({},Qt,a,c)}function Rt(a,c){return P({},St,a,c)}function Tt(a,c){var d=Pt(a,c);if(d){var e=[Jo(a.getAttribute("width")),Jo(a.getAttribute("height"))];d.size=e;return d}}
  function Ut(a,c){return P([],Vt,a,c)}
  var Wt=[null,"http://www.opengis.net/wms"],Ot=M(Wt,{Service:K(function(a,c){return P({},Xt,a,c)}),Capability:K(function(a,c){return P({},Yt,a,c)})}),Yt=M(Wt,{Request:K(function(a,c){return P({},Zt,a,c)}),Exception:K(function(a,c){return P([],$t,a,c)}),Layer:K(function(a,c){return P({},au,a,c)})}),Xt=M(Wt,{Name:K(U),Title:K(U),Abstract:K(U),KeywordList:K(Ut),OnlineResource:K(Bs),ContactInformation:K(function(a,c){return P({},bu,a,c)}),Fees:K(U),AccessConstraints:K(U),LayerLimit:K(Io),MaxWidth:K(Io),
  MaxHeight:K(Io)}),bu=M(Wt,{ContactPersonPrimary:K(function(a,c){return P({},cu,a,c)}),ContactPosition:K(U),ContactAddress:K(function(a,c){return P({},du,a,c)}),ContactVoiceTelephone:K(U),ContactFacsimileTelephone:K(U),ContactElectronicMailAddress:K(U)}),cu=M(Wt,{ContactPerson:K(U),ContactOrganization:K(U)}),du=M(Wt,{AddressType:K(U),Address:K(U),City:K(U),StateOrProvince:K(U),PostCode:K(U),Country:K(U)}),$t=M(Wt,{Format:wl(U)}),au=M(Wt,{Name:K(U),Title:K(U),Abstract:K(U),KeywordList:K(Ut),CRS:yl(U),
  EX_GeographicBoundingBox:K(function(a,c){var d=P({},eu,a,c);if(d){var e=d.westBoundLongitude,f=d.southBoundLatitude,g=d.eastBoundLongitude,d=d.northBoundLatitude;return void 0===e||void 0===f||void 0===g||void 0===d?void 0:[e,f,g,d]}}),BoundingBox:yl(function(a){var c=[Ho(a.getAttribute("minx")),Ho(a.getAttribute("miny")),Ho(a.getAttribute("maxx")),Ho(a.getAttribute("maxy"))],d=[Ho(a.getAttribute("resx")),Ho(a.getAttribute("resy"))];return{crs:a.getAttribute("CRS"),extent:c,res:d}}),Dimension:yl(function(a){return{name:a.getAttribute("name"),
  units:a.getAttribute("units"),unitSymbol:a.getAttribute("unitSymbol"),"default":a.getAttribute("default"),multipleValues:Eo(a.getAttribute("multipleValues")),nearestValue:Eo(a.getAttribute("nearestValue")),current:Eo(a.getAttribute("current")),values:U(a)}}),Attribution:K(function(a,c){return P({},fu,a,c)}),AuthorityURL:yl(function(a,c){var d=Pt(a,c);if(d)return d.name=a.getAttribute("name"),d}),Identifier:yl(U),MetadataURL:yl(function(a,c){var d=Pt(a,c);if(d)return d.type=a.getAttribute("type"),
  d}),DataURL:yl(Pt),FeatureListURL:yl(Pt),Style:yl(function(a,c){return P({},gu,a,c)}),MinScaleDenominator:K(Go),MaxScaleDenominator:K(Go),Layer:yl(function(a,c){var d=c[c.length-1],e=P({},au,a,c);if(e){var f=Eo(a.getAttribute("queryable"));void 0===f&&(f=d.queryable);e.queryable=void 0!==f?f:!1;f=Jo(a.getAttribute("cascaded"));void 0===f&&(f=d.cascaded);e.cascaded=f;f=Eo(a.getAttribute("opaque"));void 0===f&&(f=d.opaque);e.opaque=void 0!==f?f:!1;f=Eo(a.getAttribute("noSubsets"));void 0===f&&(f=d.noSubsets);
  e.noSubsets=void 0!==f?f:!1;(f=Ho(a.getAttribute("fixedWidth")))||(f=d.fixedWidth);e.fixedWidth=f;(f=Ho(a.getAttribute("fixedHeight")))||(f=d.fixedHeight);e.fixedHeight=f;["Style","CRS","AuthorityURL"].forEach(function(a){a in d&&(e[a]=(e[a]||[]).concat(d[a]))});"EX_GeographicBoundingBox BoundingBox Dimension Attribution MinScaleDenominator MaxScaleDenominator".split(" ").forEach(function(a){a in e||(e[a]=d[a])});return e}})}),fu=M(Wt,{Title:K(U),OnlineResource:K(Bs),LogoURL:K(Tt)}),eu=M(Wt,{westBoundLongitude:K(Go),
  eastBoundLongitude:K(Go),southBoundLatitude:K(Go),northBoundLatitude:K(Go)}),Zt=M(Wt,{GetCapabilities:K(Rt),GetMap:K(Rt),GetFeatureInfo:K(Rt)}),St=M(Wt,{Format:yl(U),DCPType:yl(function(a,c){return P({},hu,a,c)})}),hu=M(Wt,{HTTP:K(function(a,c){return P({},iu,a,c)})}),iu=M(Wt,{Get:K(Pt),Post:K(Pt)}),gu=M(Wt,{Name:K(U),Title:K(U),Abstract:K(U),LegendURL:yl(Tt),StyleSheetURL:K(Pt),StyleURL:K(Pt)}),Qt=M(Wt,{Format:K(U),OnlineResource:K(Bs)}),Vt=M(Wt,{Keyword:wl(U)});function ju(a){a=a?a:{};this.g="http://mapserver.gis.umn.edu/mapserver";this.b=new Oo;this.c=a.layers?a.layers:null;yo.call(this)}y(ju,yo);
  ju.prototype.gc=function(a,c){var d={};c&&Pa(d,Vn(this,a,c));var e=[d];a.setAttribute("namespaceURI",this.g);var f=a.localName,d=[];if(0!==a.childNodes.length){if("msGMLOutput"==f)for(var g=0,h=a.childNodes.length;g<h;g++){var k=a.childNodes[g];if(1===k.nodeType){var m=e[0],n=k.localName.replace("_layer","");if(!this.c||ub(this.c,n)){n+="_feature";m.featureType=n;m.featureNS=this.g;var p={};p[n]=wl(this.b.Df,this.b);m=M([m.featureNS,null],p);k.setAttribute("namespaceURI",this.g);(k=P([],m,k,e,this.b))&&
  xb(d,k)}}}"FeatureCollection"==f&&(e=P([],this.b.b,a,[{}],this.b))&&(d=e)}return d};function ku(){this.g=new Ds}y(ku,Cs);ku.prototype.a=function(a){for(a=a.firstChild;a;a=a.nextSibling)if(1==a.nodeType)return this.b(a);return null};ku.prototype.b=function(a){var c=a.getAttribute("version").trim(),d=this.g.b(a);if(!d)return null;d.version=c;return(d=P(d,lu,a,[]))?d:null};function mu(a){var c=U(a).split(" ");if(c&&2==c.length)return a=+c[0],c=+c[1],isNaN(a)||isNaN(c)?void 0:[a,c]}
  var nu=[null,"http://www.opengis.net/wmts/1.0"],ou=[null,"http://www.opengis.net/ows/1.1"],lu=M(nu,{Contents:K(function(a,c){return P({},pu,a,c)})}),pu=M(nu,{Layer:yl(function(a,c){return P({},qu,a,c)}),TileMatrixSet:yl(function(a,c){return P({},ru,a,c)})}),qu=M(nu,{Style:yl(function(a,c){var d=P({},su,a,c);if(d){var e="true"===a.getAttribute("isDefault");d.isDefault=e;return d}}),Format:yl(U),TileMatrixSetLink:yl(function(a,c){return P({},tu,a,c)}),Dimension:yl(function(a,c){return P({},uu,a,c)}),
  ResourceURL:yl(function(a){var c=a.getAttribute("format"),d=a.getAttribute("template");a=a.getAttribute("resourceType");var e={};c&&(e.format=c);d&&(e.template=d);a&&(e.resourceType=a);return e})},M(ou,{Title:K(U),Abstract:K(U),WGS84BoundingBox:K(function(a,c){var d=P([],vu,a,c);return 2!=d.length?void 0:Vb(d)}),Identifier:K(U)})),su=M(nu,{LegendURL:yl(function(a){var c={};c.format=a.getAttribute("format");c.href=Bs(a);return c})},M(ou,{Title:K(U),Identifier:K(U)})),tu=M(nu,{TileMatrixSet:K(U)}),
  uu=M(nu,{Default:K(U),Value:yl(U)},M(ou,{Identifier:K(U)})),vu=M(ou,{LowerCorner:wl(mu),UpperCorner:wl(mu)}),ru=M(nu,{WellKnownScaleSet:K(U),TileMatrix:yl(function(a,c){return P({},wu,a,c)})},M(ou,{SupportedCRS:K(U),Identifier:K(U)})),wu=M(nu,{TopLeftCorner:K(mu),ScaleDenominator:K(Go),TileWidth:K(Io),TileHeight:K(Io),MatrixWidth:K(Io),MatrixHeight:K(Io)},M(ou,{Identifier:K(U)}));function xu(a){pb.call(this);a=a||{};this.a=null;this.c=ad;this.f=void 0;C(this,rb("projection"),this.Hl,this);C(this,rb("tracking"),this.Il,this);void 0!==a.projection&&this.Xg(Jc(a.projection));void 0!==a.trackingOptions&&this.li(a.trackingOptions);this.ae(void 0!==a.tracking?a.tracking:!1)}y(xu,pb);l=xu.prototype;l.fa=function(){this.ae(!1);pb.prototype.fa.call(this)};l.Hl=function(){var a=this.Vg();a&&(this.c=Mc(Jc("EPSG:4326"),a),this.a&&this.set("position",this.c(this.a)))};
  l.Il=function(){if(Og){var a=this.Wg();a&&void 0===this.f?this.f=qa.navigator.geolocation.watchPosition(this.io.bind(this),this.jo.bind(this),this.Gg()):a||void 0===this.f||(qa.navigator.geolocation.clearWatch(this.f),this.f=void 0)}};
  l.io=function(a){a=a.coords;this.set("accuracy",a.accuracy);this.set("altitude",null===a.altitude?void 0:a.altitude);this.set("altitudeAccuracy",null===a.altitudeAccuracy?void 0:a.altitudeAccuracy);this.set("heading",null===a.heading?void 0:Ha(a.heading));this.a?(this.a[0]=a.longitude,this.a[1]=a.latitude):this.a=[a.longitude,a.latitude];var c=this.c(this.a);this.set("position",c);this.set("speed",null===a.speed?void 0:a.speed);a=Yd(Bj,this.a,a.accuracy);a.mc(this.c);this.set("accuracyGeometry",a);
  this.u()};l.jo=function(a){a.type="error";this.ae(!1);this.b(a)};l.Gj=function(){return this.get("accuracy")};l.Hj=function(){return this.get("accuracyGeometry")||null};l.Jj=function(){return this.get("altitude")};l.Kj=function(){return this.get("altitudeAccuracy")};l.Fl=function(){return this.get("heading")};l.Gl=function(){return this.get("position")};l.Vg=function(){return this.get("projection")};l.qk=function(){return this.get("speed")};l.Wg=function(){return this.get("tracking")};l.Gg=function(){return this.get("trackingOptions")};
  l.Xg=function(a){this.set("projection",a)};l.ae=function(a){this.set("tracking",a)};l.li=function(a){this.set("trackingOptions",a)};function yu(a,c,d){sd.call(this);this.Qf(a,c?c:0,d)}y(yu,sd);l=yu.prototype;l.clone=function(){var a=new yu(null),c=this.A.slice();ud(a,this.f,c);a.u();return a};l.qb=function(a,c,d,e){var f=this.A;a-=f[0];var g=c-f[1];c=a*a+g*g;if(c<e){if(0===c)for(e=0;e<this.a;++e)d[e]=f[e];else for(e=this.rf()/Math.sqrt(c),d[0]=f[0]+e*a,d[1]=f[1]+e*g,e=2;e<this.a;++e)d[e]=f[e];d.length=this.a;return c}return e};l.wc=function(a,c){var d=this.A,e=a-d[0],d=c-d[1];return e*e+d*d<=zu(this)};
  l.ld=function(){return this.A.slice(0,this.a)};l.Jd=function(a){var c=this.A,d=c[this.a]-c[0];return ec(c[0]-d,c[1]-d,c[0]+d,c[1]+d,a)};l.rf=function(){return Math.sqrt(zu(this))};function zu(a){var c=a.A[a.a]-a.A[0];a=a.A[a.a+1]-a.A[1];return c*c+a*a}l.X=function(){return"Circle"};l.Ha=function(a){var c=this.H();return yc(a,c)?(c=this.ld(),a[0]<=c[0]&&a[2]>=c[0]||a[1]<=c[1]&&a[3]>=c[1]?!0:lc(a,this.ng,this)):!1};
  l.bm=function(a){var c=this.a,d=this.A[c]-this.A[0],e=a.slice();e[c]=e[0]+d;for(d=1;d<c;++d)e[c+d]=a[d];ud(this,this.f,e);this.u()};l.Qf=function(a,c,d){if(a){vd(this,d,a,0);this.A||(this.A=[]);d=this.A;a=Dd(d,a);d[a++]=d[0]+c;var e;c=1;for(e=this.a;c<e;++c)d[a++]=d[c];d.length=a}else ud(this,"XY",null);this.u()};l.cm=function(a){this.A[this.a]=this.A[0]+a;this.u()};function Au(a,c,d){for(var e=[],f=a(0),g=a(1),h=c(f),k=c(g),m=[g,f],n=[k,h],p=[1,0],q={},r=1E5,u,v,x,z,E;0<--r&&0<p.length;)x=p.pop(),f=m.pop(),h=n.pop(),g=x.toString(),g in q||(e.push(h[0],h[1]),q[g]=!0),z=p.pop(),g=m.pop(),k=n.pop(),E=(x+z)/2,u=a(E),v=c(u),Fa(v[0],v[1],h[0],h[1],k[0],k[1])<d?(e.push(k[0],k[1]),g=z.toString(),q[g]=!0):(p.push(z,E,E,x),n.push(k,v,v,h),m.push(g,u,u,f));return e}function Bu(a,c,d,e,f){var g=Jc("EPSG:4326");return Au(function(e){return[a,c+(d-c)*e]},$c(g,e),f)}
  function Cu(a,c,d,e,f){var g=Jc("EPSG:4326");return Au(function(e){return[c+(d-c)*e,a]},$c(g,e),f)};function Du(a){a=a||{};this.c=this.o=null;this.g=this.i=Infinity;this.f=this.l=-Infinity;this.B=this.U=Infinity;this.D=this.C=-Infinity;this.xa=void 0!==a.targetSize?a.targetSize:100;this.R=void 0!==a.maxLines?a.maxLines:100;this.b=[];this.a=[];this.ua=void 0!==a.strokeStyle?a.strokeStyle:Eu;this.v=this.j=void 0;this.s=null;this.setMap(void 0!==a.map?a.map:null)}var Eu=new Sj({color:"rgba(0,0,0,0.2)"}),Fu=[90,45,30,20,10,5,2,1,.5,.2,.1,.05,.01,.005,.002,.001];
  function Gu(a,c,d,e,f,g,h){var k=h;c=Bu(c,d,e,a.c,f);k=void 0!==a.b[k]?a.b[k]:new S(null);k.ba("XY",c);yc(k.H(),g)&&(a.b[h++]=k);return h}function Hu(a,c,d,e,f){var g=f;c=Cu(c,a.f,a.g,a.c,d);g=void 0!==a.a[g]?a.a[g]:new S(null);g.ba("XY",c);yc(g.H(),e)&&(a.a[f++]=g);return f}l=Du.prototype;l.Jl=function(){return this.o};l.ck=function(){return this.b};l.jk=function(){return this.a};
  l.Lg=function(a){var c=a.vectorContext,d=a.frameState,e=d.extent;a=d.viewState;var f=a.center,g=a.projection,h=a.resolution;a=d.pixelRatio;a=h*h/(4*a*a);if(!this.c||!Zc(this.c,g)){var k=Jc("EPSG:4326"),m=g.H(),n=g.i,p=cd(n,k,g),q=n[2],r=n[1],u=n[0],v=p[3],x=p[2],z=p[1],p=p[0];this.i=n[3];this.g=q;this.l=r;this.f=u;this.U=v;this.B=x;this.C=z;this.D=p;this.j=$c(k,g);this.v=$c(g,k);this.s=this.v(uc(m));this.c=g}g.a&&(g=g.H(),k=sc(g),d=d.focus[0],d<g[0]||d>g[2])&&(d=k*Math.ceil((g[0]-d)/k),e=[e[0]+d,
  e[1],e[2]+d,e[3]]);d=this.s[0];g=this.s[1];k=-1;n=Math.pow(this.xa*h,2);q=[];r=[];h=0;for(m=Fu.length;h<m;++h){u=Fu[h]/2;q[0]=d-u;q[1]=g-u;r[0]=d+u;r[1]=g+u;this.j(q,q);this.j(r,r);u=Math.pow(r[0]-q[0],2)+Math.pow(r[1]-q[1],2);if(u<=n)break;k=Fu[h]}h=k;if(-1==h)this.b.length=this.a.length=0;else{d=this.v(f);f=d[0];d=d[1];g=this.R;k=[Math.max(e[0],this.D),Math.max(e[1],this.C),Math.min(e[2],this.B),Math.min(e[3],this.U)];k=cd(k,this.c,"EPSG:4326");n=k[3];r=k[1];f=Math.floor(f/h)*h;q=Da(f,this.f,this.g);
  m=Gu(this,q,r,n,a,e,0);for(k=0;q!=this.f&&k++<g;)q=Math.max(q-h,this.f),m=Gu(this,q,r,n,a,e,m);q=Da(f,this.f,this.g);for(k=0;q!=this.g&&k++<g;)q=Math.min(q+h,this.g),m=Gu(this,q,r,n,a,e,m);this.b.length=m;d=Math.floor(d/h)*h;f=Da(d,this.l,this.i);m=Hu(this,f,a,e,0);for(k=0;f!=this.l&&k++<g;)f=Math.max(f-h,this.l),m=Hu(this,f,a,e,m);f=Da(d,this.l,this.i);for(k=0;f!=this.i&&k++<g;)f=Math.min(f+h,this.i),m=Hu(this,f,a,e,m);this.a.length=m}c.Nb(null,this.ua);a=0;for(f=this.b.length;a<f;++a)h=this.b[a],
  c.cd(h,null);a=0;for(f=this.a.length;a<f;++a)h=this.a[a],c.cd(h,null)};l.setMap=function(a){this.o&&(this.o.J("postcompose",this.Lg,this),this.o.render());a&&(a.I("postcompose",this.Lg,this),a.render());this.o=a};function Iu(a,c,d,e,f,g,h){Sh.call(this,a,c,d,0,e);this.j=f;this.g=new Image;null!==g&&(this.g.crossOrigin=g);this.i={};this.c=null;this.state=0;this.o=h}y(Iu,Sh);Iu.prototype.a=function(a){if(void 0!==a){var c;a=w(a);if(a in this.i)return this.i[a];Sa(this.i)?c=this.g:c=this.g.cloneNode(!1);return this.i[a]=c}return this.g};Iu.prototype.s=function(){this.state=3;this.c.forEach(Wa);this.c=null;Th(this)};
  Iu.prototype.v=function(){void 0===this.resolution&&(this.resolution=tc(this.extent)/this.g.height);this.state=2;this.c.forEach(Wa);this.c=null;Th(this)};Iu.prototype.load=function(){if(0==this.state||3==this.state)this.state=1,Th(this),this.c=[bb(this.g,"error",this.s,this),bb(this.g,"load",this.v,this)],this.o(this,this.j)};function Ju(a,c,d,e,f){Bf.call(this,a,c);this.s=d;this.g=new Image;null!==e&&(this.g.crossOrigin=e);this.c={};this.j=null;this.v=f}y(Ju,Bf);l=Ju.prototype;l.fa=function(){1==this.state&&Ku(this);this.a&&fb(this.a);this.state=5;Cf(this);Bf.prototype.fa.call(this)};l.$a=function(a){if(void 0!==a){var c=w(a);if(c in this.c)return this.c[c];a=Sa(this.c)?this.g:this.g.cloneNode(!1);return this.c[c]=a}return this.g};l.fb=function(){return this.s};l.Kl=function(){this.state=3;Ku(this);Cf(this)};
  l.Ll=function(){this.state=this.g.naturalWidth&&this.g.naturalHeight?2:4;Ku(this);Cf(this)};l.load=function(){if(0==this.state||3==this.state)this.state=1,Cf(this),this.j=[bb(this.g,"error",this.Kl,this),bb(this.g,"load",this.Ll,this)],this.v(this,this.s)};function Ku(a){a.j.forEach(Wa);a.j=null};function Lu(a){a=a?a:{};yi.call(this,{handleEvent:Bc});this.c=a.formatConstructors?a.formatConstructors:[];this.j=a.projection?Jc(a.projection):null;this.a=null;this.target=a.target?a.target:null}y(Lu,yi);function Mu(a){a=a.dataTransfer.files;var c,d,e;c=0;for(d=a.length;c<d;++c){e=a.item(c);var f=new FileReader;f.addEventListener("load",this.o.bind(this,e));f.readAsText(e)}}function Nu(a){a.stopPropagation();a.preventDefault();a.dataTransfer.dropEffect="copy"}
  Lu.prototype.o=function(a,c){var d=c.target.result,e=this.v,f=this.j;f||(f=e.aa().i);var e=this.c,g=[],h,k;h=0;for(k=e.length;h<k;++h){var m=new e[h];var n={featureProjection:f};try{g=m.Ba(d,n)}catch(p){g=null}if(g&&0<g.length)break}this.b(new Ou(Pu,this,a,g,f))};Lu.prototype.setMap=function(a){this.a&&(this.a.forEach(Wa),this.a=null);yi.prototype.setMap.call(this,a);a&&(a=this.target?this.target:a.a,this.a=[C(a,"drop",Mu,this),C(a,"dragenter",Nu,this),C(a,"dragover",Nu,this),C(a,"drop",Nu,this)])};
  var Pu="addfeatures";function Ou(a,c,d,e,f){gb.call(this,a,c);this.features=e;this.file=d;this.projection=f}y(Ou,gb);function Qu(a){a=a?a:{};Ni.call(this,{handleDownEvent:Ru,handleDragEvent:Su,handleUpEvent:Tu});this.s=a.condition?a.condition:Ji;this.a=this.c=void 0;this.j=0;this.B=void 0!==a.duration?a.duration:400}y(Qu,Ni);
  function Su(a){if(Li(a)){var c=a.map,d=c.Za(),e=a.pixel;a=e[0]-d[0]/2;e=d[1]/2-e[1];d=Math.atan2(e,a);a=Math.sqrt(a*a+e*e);e=c.aa();c.render();if(void 0!==this.c){var f=d-this.c;zi(c,e,e.Ja()-f)}this.c=d;void 0!==this.a&&(d=this.a*(e.$()/a),Bi(c,e,d));void 0!==this.a&&(this.j=this.a/a);this.a=a}}
  function Tu(a){if(!Li(a))return!0;a=a.map;var c=a.aa();he(c,-1);var d=this.j-1,e=c.Ja(),e=c.constrainRotation(e,0);zi(a,c,e,void 0,void 0);var e=c.$(),f=this.B,e=c.constrainResolution(e,0,d);Bi(a,c,e,void 0,f);this.j=0;return!1}function Ru(a){return Li(a)&&this.s(a)?(he(a.map.aa(),1),this.a=this.c=void 0,!0):!1};function Uu(a,c){gb.call(this,a);this.feature=c}y(Uu,gb);
  function Vu(a){Ni.call(this,{handleDownEvent:Wu,handleEvent:Xu,handleUpEvent:Yu});this.va=null;this.S=!1;this.Cc=a.source?a.source:null;this.ob=a.features?a.features:null;this.wj=a.snapTolerance?a.snapTolerance:12;this.Y=a.type;this.c=Zu(this.Y);this.Qa=a.minPoints?a.minPoints:this.c===$u?3:2;this.wa=a.maxPoints?a.maxPoints:Infinity;this.Ie=a.finishCondition?a.finishCondition:Bc;var c=a.geometryFunction;if(!c)if("Circle"===this.Y)c=function(a,c){var d=c?c:new yu([NaN,NaN]);d.Qf(a[0],Math.sqrt(Sb(a[0],
  a[1])));return d};else{var d,c=this.c;c===av?d=D:c===bv?d=S:c===$u&&(d=F);c=function(a,c){var g=c;g?g.la(a):g=new d(a);return g}}this.D=c;this.T=this.B=this.a=this.R=this.j=this.s=null;this.zj=a.clickTolerance?a.clickTolerance*a.clickTolerance:36;this.ma=new H({source:new Q({useSpatialIndex:!1,wrapX:a.wrapX?a.wrapX:!1}),style:a.style?a.style:cv()});this.Db=a.geometryName;this.vj=a.condition?a.condition:Ii;this.sa=a.freehandCondition?a.freehandCondition:Ji;C(this,rb("active"),this.si,this)}y(Vu,Ni);
  function cv(){var a=ak();return function(c){return a[c.W().X()]}}l=Vu.prototype;l.setMap=function(a){Ni.prototype.setMap.call(this,a);this.si()};function Xu(a){this.c!==bv&&this.c!==$u||!this.sa(a)||(this.S=!0);var c=!this.S;this.S&&a.type===Kh?(dv(this,a),c=!1):a.type===Jh?c=ev(this,a):a.type===Dh&&(c=!1);return Oi.call(this,a)&&c}function Wu(a){return this.vj(a)?(this.va=a.pixel,!0):this.S?(this.va=a.pixel,this.s||fv(this,a),!0):!1}
  function Yu(a){this.S=!1;var c=this.va,d=a.pixel,e=c[0]-d[0],c=c[1]-d[1],d=!0;e*e+c*c<=this.zj&&(ev(this,a),this.s?this.c===gv?this.dd():hv(this,a)?this.Ie(a)&&this.dd():dv(this,a):(fv(this,a),this.c===av&&this.dd()),d=!1);return d}
  function ev(a,c){if(a.s){var d=c.coordinate,e=a.j.W(),f;a.c===av?f=a.a:a.c===$u?(f=a.a[0],f=f[f.length-1],hv(a,c)&&(d=a.s.slice())):(f=a.a,f=f[f.length-1]);f[0]=d[0];f[1]=d[1];a.D(a.a,e);a.R&&a.R.W().la(d);e instanceof F&&a.c!==$u?(a.B||(a.B=new kl(new S(null))),e=e.Bg(0),d=a.B.W(),d.ba(e.f,e.ga())):a.T&&(d=a.B.W(),d.la(a.T));iv(a)}else d=c.coordinate.slice(),a.R?a.R.W().la(d):(a.R=new kl(new D(d)),iv(a));return!0}
  function hv(a,c){var d=!1;if(a.j){var e=!1,f=[a.s];a.c===bv?e=a.a.length>a.Qa:a.c===$u&&(e=a.a[0].length>a.Qa,f=[a.a[0][0],a.a[0][a.a[0].length-2]]);if(e)for(var e=c.map,g=0,h=f.length;g<h;g++){var k=f[g],m=e.Ca(k),n=c.pixel,d=n[0]-m[0],m=n[1]-m[1],n=a.S&&a.sa(c)?1:a.wj;if(d=Math.sqrt(d*d+m*m)<=n){a.s=k;break}}}return d}
  function fv(a,c){var d=c.coordinate;a.s=d;a.c===av?a.a=d.slice():a.c===$u?(a.a=[[d.slice(),d.slice()]],a.T=a.a[0]):(a.a=[d.slice(),d.slice()],a.c===gv&&(a.T=a.a));a.T&&(a.B=new kl(new S(a.T)));d=a.D(a.a);a.j=new kl;a.Db&&a.j.zc(a.Db);a.j.Ra(d);iv(a);a.b(new Uu("drawstart",a.j))}
  function dv(a,c){var d=c.coordinate,e=a.j.W(),f,g;if(a.c===bv)a.s=d.slice(),g=a.a,g.push(d.slice()),f=g.length>a.wa,a.D(g,e);else if(a.c===$u){g=a.a[0];g.push(d.slice());if(f=g.length>a.wa)a.s=g[0];a.D(a.a,e)}iv(a);f&&a.dd()}l.Io=function(){var a=this.j.W(),c,d;this.c===bv?(c=this.a,c.splice(-2,1),this.D(c,a)):this.c===$u&&(c=this.a[0],c.splice(-2,1),d=this.B.W(),d.la(c),this.D(this.a,a));0===c.length&&(this.s=null);iv(this)};
  l.dd=function(){var a=jv(this),c=this.a,d=a.W();this.c===bv?(c.pop(),this.D(c,d)):this.c===$u&&(c[0].pop(),c[0].push(c[0][0]),this.D(c,d));"MultiPoint"===this.Y?a.Ra(new eo([c])):"MultiLineString"===this.Y?a.Ra(new T([c])):"MultiPolygon"===this.Y&&a.Ra(new fo([c]));this.b(new Uu("drawend",a));this.ob&&this.ob.push(a);this.Cc&&this.Cc.pb(a)};function jv(a){a.s=null;var c=a.j;c&&(a.j=null,a.R=null,a.B=null,a.ma.da().clear(!0));return c}
  l.jm=function(a){var c=a.W();this.j=a;this.a=c.Z();a=this.a[this.a.length-1];this.s=a.slice();this.a.push(a.slice());iv(this);this.b(new Uu("drawstart",this.j))};l.Bc=Cc;function iv(a){var c=[];a.j&&c.push(a.j);a.B&&c.push(a.B);a.R&&c.push(a.R);a=a.ma.da();a.clear(!0);a.Ec(c)}l.si=function(){var a=this.v,c=this.f();a&&c||jv(this);this.ma.setMap(c?a:null)};
  function Zu(a){var c;"Point"===a||"MultiPoint"===a?c=av:"LineString"===a||"MultiLineString"===a?c=bv:"Polygon"===a||"MultiPolygon"===a?c=$u:"Circle"===a&&(c=gv);return c}var av="Point",bv="LineString",$u="Polygon",gv="Circle";function kv(a,c,d){gb.call(this,a);this.features=c;this.mapBrowserEvent=d}y(kv,gb);
  function lv(a){Ni.call(this,{handleDownEvent:mv,handleDragEvent:nv,handleEvent:ov,handleUpEvent:pv});this.Db=a.condition?a.condition:Mi;this.Qa=function(a){return Ii(a)&&Hi(a)};this.ob=a.deleteCondition?a.deleteCondition:this.Qa;this.wa=this.c=null;this.ma=[0,0];this.D=this.T=!1;this.a=new Ol;this.R=void 0!==a.pixelTolerance?a.pixelTolerance:10;this.s=this.sa=!1;this.j=[];this.S=new H({source:new Q({useSpatialIndex:!1,wrapX:!!a.wrapX}),style:a.style?a.style:qv(),updateWhileAnimating:!0,updateWhileInteracting:!0});
  this.va={Point:this.qm,LineString:this.eh,LinearRing:this.eh,Polygon:this.rm,MultiPoint:this.om,MultiLineString:this.nm,MultiPolygon:this.pm,GeometryCollection:this.mm};this.B=a.features;this.B.forEach(this.sf,this);C(this.B,"add",this.km,this);C(this.B,"remove",this.lm,this);this.Y=null}y(lv,Ni);l=lv.prototype;l.sf=function(a){var c=a.W();c.X()in this.va&&this.va[c.X()].call(this,a,c);(c=this.v)&&rv(this,this.ma,c);C(a,"change",this.dh,this)};
  function sv(a,c){a.D||(a.D=!0,a.b(new kv("modifystart",a.B,c)))}function tv(a,c){uv(a,c);a.c&&0===a.B.Zb()&&(a.S.da().jb(a.c),a.c=null);cb(c,"change",a.dh,a)}function uv(a,c){var d=a.a,e=[];d.forEach(function(a){c===a.feature&&e.push(a)});for(var f=e.length-1;0<=f;--f)d.remove(e[f])}l.setMap=function(a){this.S.setMap(a);Ni.prototype.setMap.call(this,a)};l.km=function(a){this.sf(a.element)};l.dh=function(a){this.s||(a=a.target,tv(this,a),this.sf(a))};l.lm=function(a){tv(this,a.element)};
  l.qm=function(a,c){var d=c.Z(),d={feature:a,geometry:c,ka:[d,d]};this.a.ya(c.H(),d)};l.om=function(a,c){var d=c.Z(),e,f,g;f=0;for(g=d.length;f<g;++f)e=d[f],e={feature:a,geometry:c,depth:[f],index:f,ka:[e,e]},this.a.ya(c.H(),e)};l.eh=function(a,c){var d=c.Z(),e,f,g,h;e=0;for(f=d.length-1;e<f;++e)g=d.slice(e,e+2),h={feature:a,geometry:c,index:e,ka:g},this.a.ya(Vb(g),h)};
  l.nm=function(a,c){var d=c.Z(),e,f,g,h,k,m,n;h=0;for(k=d.length;h<k;++h)for(e=d[h],f=0,g=e.length-1;f<g;++f)m=e.slice(f,f+2),n={feature:a,geometry:c,depth:[h],index:f,ka:m},this.a.ya(Vb(m),n)};l.rm=function(a,c){var d=c.Z(),e,f,g,h,k,m,n;h=0;for(k=d.length;h<k;++h)for(e=d[h],f=0,g=e.length-1;f<g;++f)m=e.slice(f,f+2),n={feature:a,geometry:c,depth:[h],index:f,ka:m},this.a.ya(Vb(m),n)};
  l.pm=function(a,c){var d=c.Z(),e,f,g,h,k,m,n,p,q,r;m=0;for(n=d.length;m<n;++m)for(p=d[m],h=0,k=p.length;h<k;++h)for(e=p[h],f=0,g=e.length-1;f<g;++f)q=e.slice(f,f+2),r={feature:a,geometry:c,depth:[h,m],index:f,ka:q},this.a.ya(Vb(q),r)};l.mm=function(a,c){var d,e=c.c;for(d=0;d<e.length;++d)this.va[e[d].X()].call(this,a,e[d])};function vv(a,c){var d=a.c;d?d.W().la(c):(d=new kl(new D(c)),a.c=d,a.S.da().pb(d))}function wv(a,c){return a.index-c.index}
  function mv(a){if(!this.Db(a))return!1;rv(this,a.pixel,a.map);this.j.length=0;this.D=!1;var c=this.c;if(c){var d=[],c=c.W().Z(),e=Vb([c]),e=Rl(this.a,e),f={};e.sort(wv);for(var g=0,h=e.length;g<h;++g){var k=e[g],m=k.ka,n=w(k.feature),p=k.depth;p&&(n+="-"+p.join("-"));f[n]||(f[n]=Array(2));if(Qb(m[0],c)&&!f[n][0])this.j.push([k,0]),f[n][0]=k;else if(Qb(m[1],c)&&!f[n][1]){if("LineString"!==k.geometry.X()&&"MultiLineString"!==k.geometry.X()||!f[n][0]||0!==f[n][0].index)this.j.push([k,1]),f[n][1]=k}else w(m)in
  this.wa&&!f[n][0]&&!f[n][1]&&d.push([k,c])}d.length&&sv(this,a);for(a=d.length-1;0<=a;--a)this.hl.apply(this,d[a])}return!!this.c}
  function nv(a){this.T=!1;sv(this,a);a=a.coordinate;for(var c=0,d=this.j.length;c<d;++c){for(var e=this.j[c],f=e[0],g=f.depth,h=f.geometry,k=h.Z(),m=f.ka,e=e[1];a.length<h.ta();)a.push(0);switch(h.X()){case "Point":k=a;m[0]=m[1]=a;break;case "MultiPoint":k[f.index]=a;m[0]=m[1]=a;break;case "LineString":k[f.index+e]=a;m[e]=a;break;case "MultiLineString":k[g[0]][f.index+e]=a;m[e]=a;break;case "Polygon":k[g[0]][f.index+e]=a;m[e]=a;break;case "MultiPolygon":k[g[1]][g[0]][f.index+e]=a,m[e]=a}f=h;this.s=
  !0;f.la(k);this.s=!1}vv(this,a)}function pv(a){for(var c,d=this.j.length-1;0<=d;--d)c=this.j[d][0],Pl(this.a,Vb(c.ka),c);this.D&&(this.b(new kv("modifyend",this.B,a)),this.D=!1);return!1}function ov(a){if(!(a instanceof zh))return!0;this.Y=a;var c;ce(a.map.aa())[1]||a.type!=Jh||this.C||(this.ma=a.pixel,rv(this,a.pixel,a.map));this.c&&this.ob(a)&&(a.type==Eh&&this.T?c=!0:(this.c.W(),c=this.Vh()));a.type==Eh&&(this.T=!1);return Oi.call(this,a)&&!c}
  function rv(a,c,d){function e(a,c){return Tb(f,a.ka)-Tb(f,c.ka)}var f=d.La(c),g=d.La([c[0]-a.R,c[1]+a.R]),h=d.La([c[0]+a.R,c[1]-a.R]),g=Vb([g,h]),g=Rl(a.a,g);if(0<g.length){g.sort(e);var h=g[0].ka,k=Nb(f,h),m=d.Ca(k);if(Math.sqrt(Sb(c,m))<=a.R){c=d.Ca(h[0]);d=d.Ca(h[1]);c=Sb(m,c);d=Sb(m,d);a.sa=Math.sqrt(Math.min(c,d))<=a.R;a.sa&&(k=c>d?h[1]:h[0]);vv(a,k);d={};d[w(h)]=!0;c=1;for(m=g.length;c<m;++c)if(k=g[c].ka,Qb(h[0],k[0])&&Qb(h[1],k[1])||Qb(h[0],k[1])&&Qb(h[1],k[0]))d[w(k)]=!0;else break;a.wa=d;
  return}}a.c&&(a.S.da().jb(a.c),a.c=null)}
  l.hl=function(a,c){for(var d=a.ka,e=a.feature,f=a.geometry,g=a.depth,h=a.index,k;c.length<f.ta();)c.push(0);switch(f.X()){case "MultiLineString":k=f.Z();k[g[0]].splice(h+1,0,c);break;case "Polygon":k=f.Z();k[g[0]].splice(h+1,0,c);break;case "MultiPolygon":k=f.Z();k[g[1]][g[0]].splice(h+1,0,c);break;case "LineString":k=f.Z();k.splice(h+1,0,c);break;default:return}this.s=!0;f.la(k);this.s=!1;k=this.a;k.remove(a);xv(this,f,h,g,1);var m={ka:[d[0],c],feature:e,geometry:f,depth:g,index:h};k.ya(Vb(m.ka),
  m);this.j.push([m,1]);d={ka:[c,d[1]],feature:e,geometry:f,depth:g,index:h+1};k.ya(Vb(d.ka),d);this.j.push([d,0]);this.T=!0};
  l.Vh=function(){var a=!1;if(this.Y&&this.Y.type!=Kh){var c=this.Y;sv(this,c);var d=this.j,a={},e,f,g,h,k,m,n,p,q;for(h=d.length-1;0<=h;--h)g=d[h],n=g[0],p=w(n.feature),n.depth&&(p+="-"+n.depth.join("-")),p in a||(a[p]={}),0===g[1]?(a[p].right=n,a[p].index=n.index):1==g[1]&&(a[p].left=n,a[p].index=n.index+1);for(p in a){m=a[p].right;h=a[p].left;g=a[p].index;k=g-1;n=void 0!==h?h:m;0>k&&(k=0);d=n.geometry;e=f=d.Z();q=!1;switch(d.X()){case "MultiLineString":2<f[n.depth[0]].length&&(f[n.depth[0]].splice(g,
  1),q=!0);break;case "LineString":2<f.length&&(f.splice(g,1),q=!0);break;case "MultiPolygon":e=e[n.depth[1]];case "Polygon":e=e[n.depth[0]],4<e.length&&(g==e.length-1&&(g=0),e.splice(g,1),q=!0,0===g&&(e.pop(),e.push(e[0]),k=e.length-1))}q&&(e=d,this.s=!0,e.la(f),this.s=!1,f=[],void 0!==h&&(this.a.remove(h),f.push(h.ka[0])),void 0!==m&&(this.a.remove(m),f.push(m.ka[1])),void 0!==h&&void 0!==m&&(h={depth:n.depth,feature:n.feature,geometry:n.geometry,index:k,ka:f},this.a.ya(Vb(h.ka),h)),xv(this,d,g,n.depth,
  -1),this.c&&(this.S.da().jb(this.c),this.c=null))}a=!0;this.b(new kv("modifyend",this.B,c));this.D=!1}return a};function xv(a,c,d,e,f){Tl(a.a,c.H(),function(a){a.geometry===c&&(void 0===e||void 0===a.depth||Ab(a.depth,e))&&a.index>d&&(a.index+=f)})}function qv(){var a=ak();return function(){return a.Point}};function yv(a,c,d,e){gb.call(this,a);this.selected=c;this.deselected=d;this.mapBrowserEvent=e}y(yv,gb);
  function zv(a){yi.call(this,{handleEvent:Av});var c=a?a:{};this.C=c.condition?c.condition:Hi;this.B=c.addCondition?c.addCondition:Cc;this.D=c.removeCondition?c.removeCondition:Cc;this.R=c.toggleCondition?c.toggleCondition:Ji;this.j=c.multi?c.multi:!1;this.o=c.filter?c.filter:Bc;this.c=new H({source:new Q({useSpatialIndex:!1,features:c.features,wrapX:c.wrapX}),style:c.style?c.style:Bv(),updateWhileAnimating:!0,updateWhileInteracting:!0});if(c.layers)if("function"===typeof c.layers)a=function(a){return c.layers(a)};
  else{var d=c.layers;a=function(a){return ub(d,a)}}else a=Bc;this.s=a;this.a={};a=this.c.da().c;C(a,"add",this.sm,this);C(a,"remove",this.vm,this)}y(zv,yi);l=zv.prototype;l.tm=function(){return this.c.da().c};l.um=function(a){a=w(a);return this.a[a]};
  function Av(a){if(!this.C(a))return!0;var c=this.B(a),d=this.D(a),e=this.R(a),f=!c&&!d&&!e,g=a.map,h=this.c.da().c,k=[],m=[],n=!1;if(f)Qa(this.a),g.ed(a.pixel,function(a,c){if(this.o(a,c)){m.push(a);var d=w(a);this.a[d]=c;return!this.j}},this,this.s),0<m.length&&1==h.Zb()&&h.item(0)==m[0]||(n=!0,0!==h.Zb()&&(k=Array.prototype.concat(h.a),h.clear()),h.kf(m));else{g.ed(a.pixel,function(a,f){if(this.o(a,f)){if(!c&&!e||ub(h.a,a))(d||e)&&ub(h.a,a)&&(k.push(a),g=w(a),delete this.a[g]);else{m.push(a);var g=
  w(a);this.a[g]=f}return!this.j}},this,this.s);for(f=k.length-1;0<=f;--f)h.remove(k[f]);h.kf(m);if(0<m.length||0<k.length)n=!0}n&&this.b(new yv("select",m,k,a));return Gi(a)}l.setMap=function(a){var c=this.v,d=this.c.da().c;c&&d.forEach(c.pi,c);yi.prototype.setMap.call(this,a);this.c.setMap(a);a&&d.forEach(a.mi,a)};function Bv(){var a=ak();xb(a.Polygon,a.LineString);xb(a.GeometryCollection,a.LineString);return function(c){return a[c.W().X()]}}l.sm=function(a){a=a.element;var c=this.v;c&&c.mi(a)};
  l.vm=function(a){a=a.element;var c=this.v;c&&c.pi(a)};function Cv(a){Ni.call(this,{handleEvent:Dv,handleDownEvent:Bc,handleUpEvent:Ev});a=a?a:{};this.s=a.source?a.source:null;this.ma=void 0!==a.vertex?a.vertex:!0;this.T=void 0!==a.edge?a.edge:!0;this.j=a.features?a.features:null;this.sa=[];this.D={};this.R={};this.Y={};this.B={};this.S=null;this.c=void 0!==a.pixelTolerance?a.pixelTolerance:10;this.wa=Fv.bind(this);this.a=new Ol;this.va={Point:this.Bm,LineString:this.hh,LinearRing:this.hh,Polygon:this.Cm,MultiPoint:this.zm,MultiLineString:this.ym,MultiPolygon:this.Am,
  GeometryCollection:this.xm}}y(Cv,Ni);l=Cv.prototype;l.pb=function(a,c){var d=void 0!==c?c:!0,e=w(a),f=a.W();if(f){var g=this.va[f.X()];g&&(this.Y[e]=f.H(Wb()),g.call(this,a,f),d&&(this.R[e]=C(f,"change",this.Ek.bind(this,a),this)))}d&&(this.D[e]=C(a,rb(a.a),this.wm,this))};l.Dj=function(a){this.pb(a)};l.Ej=function(a){this.jb(a)};l.fh=function(a){var c;a instanceof Yl?c=a.feature:a instanceof ve&&(c=a.element);this.pb(c)};
  l.gh=function(a){var c;a instanceof Yl?c=a.feature:a instanceof ve&&(c=a.element);this.jb(c)};l.wm=function(a){a=a.target;this.jb(a,!0);this.pb(a,!0)};l.Ek=function(a){if(this.C){var c=w(a);c in this.B||(this.B[c]=a)}else this.ri(a)};l.jb=function(a,c){var d=void 0!==c?c:!0,e=w(a),f=this.Y[e];if(f){var g=this.a,h=[];Tl(g,f,function(c){a===c.feature&&h.push(c)});for(f=h.length-1;0<=f;--f)g.remove(h[f]);d&&(nb(this.R[e]),delete this.R[e])}d&&(nb(this.D[e]),delete this.D[e])};
  l.setMap=function(a){var c=this.v,d=this.sa,e;this.j?e=this.j:this.s&&(e=this.s.je());c&&(d.forEach(nb),d.length=0,e.forEach(this.Ej,this));Ni.prototype.setMap.call(this,a);a&&(this.j?d.push(C(this.j,"add",this.fh,this),C(this.j,"remove",this.gh,this)):this.s&&d.push(C(this.s,"addfeature",this.fh,this),C(this.s,"removefeature",this.gh,this)),e.forEach(this.Dj,this))};l.Bc=Cc;l.ri=function(a){this.jb(a,!1);this.pb(a,!1)};
  l.xm=function(a,c){var d,e=c.c;for(d=0;d<e.length;++d)this.va[e[d].X()].call(this,a,e[d])};l.hh=function(a,c){var d=c.Z(),e,f,g,h;e=0;for(f=d.length-1;e<f;++e)g=d.slice(e,e+2),h={feature:a,ka:g},this.a.ya(Vb(g),h)};l.ym=function(a,c){var d=c.Z(),e,f,g,h,k,m,n;h=0;for(k=d.length;h<k;++h)for(e=d[h],f=0,g=e.length-1;f<g;++f)m=e.slice(f,f+2),n={feature:a,ka:m},this.a.ya(Vb(m),n)};l.zm=function(a,c){var d=c.Z(),e,f,g;f=0;for(g=d.length;f<g;++f)e=d[f],e={feature:a,ka:[e,e]},this.a.ya(c.H(),e)};
  l.Am=function(a,c){var d=c.Z(),e,f,g,h,k,m,n,p,q,r;m=0;for(n=d.length;m<n;++m)for(p=d[m],h=0,k=p.length;h<k;++h)for(e=p[h],f=0,g=e.length-1;f<g;++f)q=e.slice(f,f+2),r={feature:a,ka:q},this.a.ya(Vb(q),r)};l.Bm=function(a,c){var d=c.Z(),d={feature:a,ka:[d,d]};this.a.ya(c.H(),d)};l.Cm=function(a,c){var d=c.Z(),e,f,g,h,k,m,n;h=0;for(k=d.length;h<k;++h)for(e=d[h],f=0,g=e.length-1;f<g;++f)m=e.slice(f,f+2),n={feature:a,ka:m},this.a.ya(Vb(m),n)};
  function Dv(a){var c,d,e=a.pixel,f=a.coordinate;c=a.map;var g=c.La([e[0]-this.c,e[1]+this.c]);d=c.La([e[0]+this.c,e[1]-this.c]);var g=Vb([g,d]),h=Rl(this.a,g),k,g=!1,m=null;d=null;if(0<h.length){this.S=f;h.sort(this.wa);h=h[0].ka;if(this.ma&&!this.T){if(f=c.Ca(h[0]),k=c.Ca(h[1]),f=Sb(e,f),e=Sb(e,k),k=Math.sqrt(Math.min(f,e)),k=k<=this.c)g=!0,m=f>e?h[1]:h[0],d=c.Ca(m)}else this.T&&(m=Nb(f,h),d=c.Ca(m),Math.sqrt(Sb(e,d))<=this.c&&(g=!0,this.ma&&(f=c.Ca(h[0]),k=c.Ca(h[1]),f=Sb(d,f),e=Sb(d,k),k=Math.sqrt(Math.min(f,
  e)),k=k<=this.c)))&&(m=f>e?h[1]:h[0],d=c.Ca(m));g&&(d=[Math.round(d[0]),Math.round(d[1])])}c=m;g&&(a.coordinate=c.slice(0,2),a.pixel=d);return Oi.call(this,a)}function Ev(){var a=Ra(this.B);a.length&&(a.forEach(this.ri,this),this.B={});return!1}function Fv(a,c){return Tb(this.S,a.ka)-Tb(this.S,c.ka)};function Gv(a,c,d){gb.call(this,a);this.features=c;this.coordinate=d}y(Gv,gb);function Hv(a){Ni.call(this,{handleDownEvent:Iv,handleDragEvent:Jv,handleMoveEvent:Kv,handleUpEvent:Lv});this.s=void 0;this.a=null;this.c=void 0!==a.features?a.features:null;var c;if(a.layers)if("function"===typeof a.layers)c=function(c){return a.layers(c)};else{var d=a.layers;c=function(a){return ub(d,a)}}else c=Bc;this.B=c;this.j=null}y(Hv,Ni);
  function Iv(a){this.j=Mv(this,a.pixel,a.map);return!this.a&&this.j?(this.a=a.coordinate,Kv.call(this,a),this.b(new Gv("translatestart",this.c,a.coordinate)),!0):!1}function Lv(a){return this.a?(this.a=null,Kv.call(this,a),this.b(new Gv("translateend",this.c,a.coordinate)),!0):!1}
  function Jv(a){if(this.a){a=a.coordinate;var c=a[0]-this.a[0],d=a[1]-this.a[1];if(this.c)this.c.forEach(function(a){var e=a.W();e.Nc(c,d);a.Ra(e)});else if(this.j){var e=this.j.W();e.Nc(c,d);this.j.Ra(e)}this.a=a;this.b(new Gv("translating",this.c,a))}}
  function Kv(a){var c=a.map.tc();if(a=a.map.ed(a.pixel,function(a){return a})){var d=!1;this.c&&ub(this.c.a,a)&&(d=!0);this.s=c.style.cursor;c.style.cursor=this.a?"-webkit-grabbing":d?"-webkit-grab":"pointer";c.style.cursor=this.a?d?"grab":"pointer":"grabbing"}else c.style.cursor=void 0!==this.s?this.s:"",this.s=void 0}function Mv(a,c,d){var e=null;c=d.ed(c,function(a){return a},a,a.B);a.c&&ub(a.c.a,c)&&(e=c);return e};function V(a){a=a?a:{};var c=Pa({},a);delete c.gradient;delete c.radius;delete c.blur;delete c.shadow;delete c.weight;H.call(this,c);this.f=null;this.ea=void 0!==a.shadow?a.shadow:250;this.Y=void 0;this.c=null;C(this,rb("gradient"),this.Fk,this);this.ci(a.gradient?a.gradient:Nv);this.Yh(void 0!==a.blur?a.blur:15);this.kh(void 0!==a.radius?a.radius:8);C(this,rb("blur"),this.ff,this);C(this,rb("radius"),this.ff,this);this.ff();var d=a.weight?a.weight:"weight",e;"string"===typeof d?e=function(a){return a.get(d)}:
  e=d;this.l(function(a){a=e(a);a=void 0!==a?Da(a,0,1):1;var c=255*a|0,d=this.c[c];d||(d=[new Vj({image:new gi({opacity:a,src:this.Y})})],this.c[c]=d);return d}.bind(this));this.set("renderOrder",null);C(this,"render",this.Yk,this)}y(V,H);var Nv=["#00f","#0ff","#0f0","#ff0","#f00"];l=V.prototype;l.tg=function(){return this.get("blur")};l.Ag=function(){return this.get("gradient")};l.jh=function(){return this.get("radius")};
  l.Fk=function(){for(var a=this.Ag(),c=yg(1,256),d=c.createLinearGradient(0,0,1,256),e=1/(a.length-1),f=0,g=a.length;f<g;++f)d.addColorStop(f*e,a[f]);c.fillStyle=d;c.fillRect(0,0,1,256);this.f=c.getImageData(0,0,1,256).data};l.ff=function(){var a=this.jh(),c=this.tg(),d=a+c+1,e=2*d,e=yg(e,e);e.shadowOffsetX=e.shadowOffsetY=this.ea;e.shadowBlur=c;e.shadowColor="#000";e.beginPath();c=d-this.ea;e.arc(c,c,a,0,2*Math.PI,!0);e.fill();this.Y=e.canvas.toDataURL();this.c=Array(256);this.u()};
  l.Yk=function(a){a=a.context;var c=a.canvas,c=a.getImageData(0,0,c.width,c.height),d=c.data,e,f,g;e=0;for(f=d.length;e<f;e+=4)if(g=4*d[e+3])d[e]=this.f[g],d[e+1]=this.f[g+1],d[e+2]=this.f[g+2];a.putImageData(c,0,0)};l.Yh=function(a){this.set("blur",a)};l.ci=function(a){this.set("gradient",a)};l.kh=function(a){this.set("radius",a)};function Ov(a,c,d,e){function f(){delete qa[h];g.parentNode.removeChild(g)}var g=qa.document.createElement("script"),h="olc_"+w(c);g.async=!0;g.src=a+(-1==a.indexOf("?")?"?":"&")+(e||"callback")+"="+h;var k=qa.setTimeout(function(){f();d&&d()},1E4);qa[h]=function(a){qa.clearTimeout(k);f();c(a)};qa.document.getElementsByTagName("head")[0].appendChild(g)};function Pv(a,c,d,e,f,g,h,k,m,n,p){Bf.call(this,f,0);this.R=void 0!==p?p:!1;this.D=h;this.C=k;this.l=null;this.c={};this.j=c;this.v=e;this.U=g?g:f;this.g=[];this.Rc=null;this.s=0;g=e.Aa(this.U);k=this.v.H();f=this.j.H();g=k?xc(g,k):g;if(0===qc(g))this.state=4;else if((k=a.H())&&(f?f=xc(f,k):f=k),e=e.$(this.U[0]),e=Wk(a,d,uc(g),e),!isFinite(e)||0>=e)this.state=4;else if(this.B=new Zk(a,d,g,f,e*(void 0!==n?n:.5)),0===this.B.f.length)this.state=4;else if(this.s=Sf(c,e),d=al(this.B),f&&(a.a?(d[1]=Da(d[1],
  f[1],f[3]),d[3]=Da(d[3],f[1],f[3])):d=xc(d,f)),qc(d))if(a=Nf(c,d,this.s),100>(a.a-a.b+1)*(a.f-a.g+1)){for(c=a.b;c<=a.a;c++)for(d=a.g;d<=a.f;d++)(n=m(this.s,c,d,h))&&this.g.push(n);0===this.g.length&&(this.state=4)}else this.state=3;else this.state=4}y(Pv,Bf);Pv.prototype.fa=function(){1==this.state&&(this.Rc.forEach(Wa),this.Rc=null);Bf.prototype.fa.call(this)};
  Pv.prototype.$a=function(a){if(void 0!==a){var c=w(a);if(c in this.c)return this.c[c];a=Sa(this.c)?this.l:this.l.cloneNode(!1);return this.c[c]=a}return this.l};
  Pv.prototype.ud=function(){var a=[];this.g.forEach(function(c){c&&2==c.V()&&a.push({extent:this.j.Aa(c.ia),image:c.$a()})},this);this.g.length=0;if(0===a.length)this.state=3;else{var c=this.U[0],d=this.v.Ga(c),e=fa(d)?d:d[0],d=fa(d)?d:d[1],c=this.v.$(c),f=this.j.$(this.s),g=this.v.Aa(this.U);this.l=Yk(e,d,this.D,f,this.j.H(),c,g,this.B,a,this.C,this.R);this.state=2}Cf(this)};
  Pv.prototype.load=function(){if(0==this.state){this.state=1;Cf(this);var a=0;this.Rc=[];this.g.forEach(function(c){var d=c.V();if(0==d||1==d){a++;var e;e=C(c,"change",function(){var d=c.V();if(2==d||3==d||4==d)Wa(e),a--,0===a&&(this.Rc.forEach(Wa),this.Rc=null,this.ud())},this);this.Rc.push(e)}},this);this.g.forEach(function(a){0==a.V()&&a.load()});0===a&&qa.setTimeout(this.ud.bind(this),0)}};function W(a){lm.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,extent:a.extent,logo:a.logo,opaque:a.opaque,projection:a.projection,state:a.state,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction?a.tileLoadFunction:Qv,tilePixelRatio:a.tilePixelRatio,tileUrlFunction:a.tileUrlFunction,url:a.url,urls:a.urls,wrapX:a.wrapX});this.crossOrigin=void 0!==a.crossOrigin?a.crossOrigin:null;this.tileClass=void 0!==a.tileClass?a.tileClass:Ju;this.i={};this.s={};this.ma=a.reprojectionErrorThreshold;
  this.C=!1}y(W,lm);l=W.prototype;l.uh=function(){if(Af(this.a))return!0;for(var a in this.i)if(Af(this.i[a]))return!0;return!1};l.Gc=function(a,c){var d=this.jd(a);this.a.Gc(this.a==d?c:{});for(var e in this.i){var f=this.i[e];f.Gc(f==d?c:{})}};l.Od=function(a){return this.f&&a&&!Zc(this.f,a)?0:this.bf()};l.bf=function(){return 0};l.df=function(a){return this.f&&a&&!Zc(this.f,a)?!1:lm.prototype.df.call(this,a)};
  l.eb=function(a){var c=this.f;return!this.tileGrid||c&&!Zc(c,a)?(c=w(a).toString(),c in this.s||(this.s[c]=Tf(a)),this.s[c]):this.tileGrid};l.jd=function(a){var c=this.f;if(!c||Zc(c,a))return this.a;a=w(a).toString();a in this.i||(this.i[a]=new zf);return this.i[a]};function Rv(a,c,d,e,f,g,h){c=[c,d,e];f=(d=$f(a,c,g))?a.tileUrlFunction(d,f,g):void 0;f=new a.tileClass(c,void 0!==f?0:4,void 0!==f?f:"",a.crossOrigin,a.tileLoadFunction);f.key=h;C(f,"change",a.vh,a);return f}
  l.Wb=function(a,c,d,e,f){if(this.f&&f&&!Zc(this.f,f)){var g=this.jd(f);c=[a,c,d];a=this.Ab.apply(this,c);if(wf(g,a))return g.get(a);var h=this.f;d=this.eb(h);var k=this.eb(f),m=$f(this,c,f);e=new Pv(h,d,f,k,c,m,this.Xb(e),this.bf(),function(a,c,d,e){return Sv(this,a,c,d,e,h)}.bind(this),this.ma,this.C);g.set(a,e);return e}return Sv(this,a,c,d,e,f)};
  function Sv(a,c,d,e,f,g){var h,k=a.Ab(c,d,e),m=a.Yb;if(wf(a.a,k)){if(h=a.a.get(k),h.key!=m){var n=h;h.a&&h.a.key==m?(h=h.a,2==n.V()&&(h.a=n)):(h=Rv(a,c,d,e,f,g,m),2==n.V()?h.a=n:n.a&&2==n.a.V()&&(h.a=n.a,n.a=null));h.a&&(h.a.a=null);a.a.replace(k,h)}}else h=Rv(a,c,d,e,f,g,m),a.a.set(k,h);return h}l.kb=function(a){if(this.C!=a){this.C=a;for(var c in this.i)this.i[c].clear();this.u()}};l.lb=function(a,c){var d=Jc(a);d&&(d=w(d).toString(),d in this.s||(this.s[d]=c))};function Qv(a,c){a.$a().src=c};function Tv(a){W.call(this,{cacheSize:a.cacheSize,crossOrigin:"anonymous",opaque:!0,projection:Jc("EPSG:3857"),reprojectionErrorThreshold:a.reprojectionErrorThreshold,state:"loading",tileLoadFunction:a.tileLoadFunction,wrapX:void 0!==a.wrapX?a.wrapX:!0});this.j=void 0!==a.culture?a.culture:"en-us";this.c=void 0!==a.maxZoom?a.maxZoom:-1;Ov("https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+a.imagerySet+"?uriScheme=https&include=ImageryProviders&key="+a.key,this.v.bind(this),void 0,"jsonp")}
  y(Tv,W);var Uv=new ue({html:'<a class="ol-attribution-bing-tos" href="http://www.microsoft.com/maps/product/terms.html">Terms of Use</a>'});
  Tv.prototype.v=function(a){if(200!=a.statusCode||"OK"!=a.statusDescription||"ValidCredentials"!=a.authenticationResultCode||1!=a.resourceSets.length||1!=a.resourceSets[0].resources.length)If(this,"error");else{var c=a.brandLogoUri;-1==c.indexOf("https")&&(c=c.replace("http","https"));var d=a.resourceSets[0].resources[0],e=-1==this.c?d.zoomMax:this.c;a=Uf(this.f);var f=Wf({extent:a,minZoom:d.zoomMin,maxZoom:e,tileSize:d.imageWidth==d.imageHeight?d.imageWidth:[d.imageWidth,d.imageHeight]});this.tileGrid=
  f;var g=this.j;this.tileUrlFunction=im(d.imageUrlSubdomains.map(function(a){var c=[0,0,0],e=d.imageUrl.replace("{subdomain}",a).replace("{culture}",g);return function(a){if(a)return xf(a[0],a[1],-a[2]-1,c),e.replace("{quadkey}",yf(c))}}));if(d.imageryProviders){var h=Mc(Jc("EPSG:4326"),this.f);a=d.imageryProviders.map(function(a){var c=a.attribution,d={};a.coverageAreas.forEach(function(a){var c=a.zoomMin,g=Math.min(a.zoomMax,e);a=a.bbox;a=Ac([a[1],a[0],a[3],a[2]],h);var k,m;for(k=c;k<=g;++k)m=k.toString(),
  c=Nf(f,a,k),m in d?d[m].push(c):d[m]=[c]});return new ue({html:c,tileRanges:d})});a.push(Uv);this.ja(a)}this.R=c;If(this,"ready")}};function Vv(a){a=a||{};var c=void 0!==a.projection?a.projection:"EPSG:3857",d=void 0!==a.tileGrid?a.tileGrid:Wf({extent:Uf(c),maxZoom:a.maxZoom,minZoom:a.minZoom,tileSize:a.tileSize});W.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,opaque:a.opaque,projection:c,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileGrid:d,tileLoadFunction:a.tileLoadFunction,tilePixelRatio:a.tilePixelRatio,tileUrlFunction:a.tileUrlFunction,url:a.url,urls:a.urls,
  wrapX:void 0!==a.wrapX?a.wrapX:!0})}y(Vv,W);function Wv(a){this.v=a.account;this.B=a.map||"";this.c=a.config||{};this.j={};Vv.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,maxZoom:void 0!==a.maxZoom?a.maxZoom:18,minZoom:a.minZoom,projection:a.projection,state:"loading",wrapX:a.wrapX});Xv(this)}y(Wv,Vv);l=Wv.prototype;l.Nj=function(){return this.c};l.mp=function(a){Pa(this.c,a);Xv(this)};l.So=function(a){this.c=a||{};Xv(this)};
  function Xv(a){var c=JSON.stringify(a.c);if(a.j[c])Yv(a,a.j[c]);else{var d="https://"+a.v+".cartodb.com/api/v1/map";a.B&&(d+="/named/"+a.B);var e=new XMLHttpRequest;e.addEventListener("load",a.Hk.bind(a,c));e.addEventListener("error",a.Gk.bind(a));e.open("POST",d);e.setRequestHeader("Content-type","application/json");e.send(JSON.stringify(a.c))}}
  l.Hk=function(a,c){var d=c.target;if(200<=d.status&&300>d.status){var e;try{e=JSON.parse(d.responseText)}catch(f){If(this,"error");return}Yv(this,e);this.j[a]=e;If(this,"ready")}else If(this,"error")};l.Gk=function(){If(this,"error")};function Yv(a,c){a.Ma("https://"+c.cdn_url.https+"/"+a.v+"/api/v1/map/"+c.layergroupid+"/{z}/{x}/{y}.png")};function X(a){Q.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,wrapX:a.wrapX});this.C=void 0;this.sa=void 0!==a.distance?a.distance:20;this.B=[];this.ea=a.geometryFunction||function(a){return a.W()};this.v=a.source;this.v.I("change",X.prototype.Qa,this)}y(X,Q);X.prototype.wa=function(){return this.v};X.prototype.Kc=function(a,c,d){this.v.Kc(a,c,d);c!==this.C&&(this.clear(),this.C=c,Zv(this),this.Ec(this.B))};
  X.prototype.Qa=function(){this.clear();Zv(this);this.Ec(this.B);this.u()};function Zv(a){if(void 0!==a.C){a.B.length=0;for(var c=Wb(),d=a.sa*a.C,e=a.v.je(),f={},g=0,h=e.length;g<h;g++){var k=e[g];w(k).toString()in f||!(k=a.ea(k))||(k=k.Z(),fc(k,c),Yb(c,d,c),k=a.v.$e(c),k=k.filter(function(a){a=w(a).toString();return a in f?!1:f[a]=!0}),a.B.push($v(a,k)))}}}
  function $v(a,c){for(var d=[0,0],e=c.length-1;0<=e;--e){var f=a.ea(c[e]);f?Mb(d,f.Z()):c.splice(e,1)}e=1/c.length;d[0]*=e;d[1]*=e;d=new kl(new D(d));d.set("features",c);return d};function aw(a,c){var d=Object.keys(c).map(function(a){return a+"="+encodeURIComponent(c[a])}).join("&");a=a.replace(/[?&]$/,"");a=-1===a.indexOf("?")?a+"?":a+"&";return a+d};function bw(a){a=a||{};cl.call(this,{attributions:a.attributions,logo:a.logo,projection:a.projection,resolutions:a.resolutions});this.Y=void 0!==a.crossOrigin?a.crossOrigin:null;this.i=a.url;this.j=void 0!==a.imageLoadFunction?a.imageLoadFunction:il;this.v=a.params||{};this.c=null;this.s=[0,0];this.T=0;this.S=void 0!==a.ratio?a.ratio:1.5}y(bw,cl);l=bw.prototype;l.Km=function(){return this.v};
  l.Hc=function(a,c,d,e){if(void 0===this.i)return null;c=dl(this,c);var f=this.c;if(f&&this.T==this.g&&f.$()==c&&f.f==d&&cc(f.H(),a))return f;f={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};Pa(f,this.v);a=a.slice();var g=(a[0]+a[2])/2,h=(a[1]+a[3])/2;if(1!=this.S){var k=this.S*sc(a)/2,m=this.S*tc(a)/2;a[0]=g-k;a[1]=h-m;a[2]=g+k;a[3]=h+m}var k=c/d,m=Math.ceil(sc(a)/k),n=Math.ceil(tc(a)/k);a[0]=g-k*m/2;a[2]=g+k*m/2;a[1]=h-k*n/2;a[3]=h+k*n/2;this.s[0]=m;this.s[1]=n;g=a;h=this.s;e=e.cb.split(":").pop();f.SIZE=
  h[0]+","+h[1];f.BBOX=g.join(",");f.BBOXSR=e;f.IMAGESR=e;f.DPI=90*d;e=this.i.replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage");f=aw(e,f);this.c=new Iu(a,c,d,this.l,f,this.Y,this.j);this.T=this.g;C(this.c,"change",this.o,this);return this.c};l.Jm=function(){return this.j};l.Lm=function(){return this.i};l.Mm=function(a){this.c=null;this.j=a;this.u()};l.Nm=function(a){a!=this.i&&(this.i=a,this.c=null,this.u())};l.Om=function(a){Pa(this.v,a);this.c=null;this.u()};function cw(a){cl.call(this,{projection:a.projection,resolutions:a.resolutions});this.Y=void 0!==a.crossOrigin?a.crossOrigin:null;this.s=void 0!==a.displayDpi?a.displayDpi:96;this.j=a.params||{};this.T=a.url;this.c=void 0!==a.imageLoadFunction?a.imageLoadFunction:il;this.ea=void 0!==a.hidpi?a.hidpi:!0;this.sa=void 0!==a.metersPerUnit?a.metersPerUnit:1;this.v=void 0!==a.ratio?a.ratio:1;this.wa=void 0!==a.useOverlay?a.useOverlay:!1;this.i=null;this.S=0}y(cw,cl);l=cw.prototype;l.Qm=function(){return this.j};
  l.Hc=function(a,c,d){c=dl(this,c);d=this.ea?d:1;var e=this.i;if(e&&this.S==this.g&&e.$()==c&&e.f==d&&cc(e.H(),a))return e;1!=this.v&&(a=a.slice(),zc(a,this.v));var f=[sc(a)/c*d,tc(a)/c*d];if(void 0!==this.T){var e=this.T,g=uc(a),h=this.sa,k=sc(a),m=tc(a),n=f[0],p=f[1],q=.0254/this.s,f={OPERATION:this.wa?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol.source.ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:this.s,SETDISPLAYWIDTH:Math.round(f[0]),SETDISPLAYHEIGHT:Math.round(f[1]),
  SETVIEWSCALE:p*k>n*m?k*h/(n*q):m*h/(p*q),SETVIEWCENTERX:g[0],SETVIEWCENTERY:g[1]};Pa(f,this.j);e=aw(e,f);e=new Iu(a,c,d,this.l,e,this.Y,this.c);C(e,"change",this.o,this)}else e=null;this.i=e;this.S=this.g;return e};l.Pm=function(){return this.c};l.Sm=function(a){Pa(this.j,a);this.u()};l.Rm=function(a){this.i=null;this.c=a;this.u()};function dw(a){var c=a.imageExtent,d=void 0!==a.crossOrigin?a.crossOrigin:null,e=void 0!==a.imageLoadFunction?a.imageLoadFunction:il;cl.call(this,{attributions:a.attributions,logo:a.logo,projection:Jc(a.projection)});this.c=new Iu(c,void 0,1,this.l,a.url,d,e);this.i=a.imageSize?a.imageSize:null;C(this.c,"change",this.o,this)}y(dw,cl);dw.prototype.Hc=function(a){return yc(a,this.c.H())?this.c:null};
  dw.prototype.o=function(a){if(2==this.c.V()){var c=this.c.H(),d=this.c.a(),e,f;this.i?(e=this.i[0],f=this.i[1]):(e=d.width,f=d.height);c=Math.ceil(sc(c)/(tc(c)/f));if(c!=e){var c=yg(c,f),g=c.canvas;c.drawImage(d,0,0,e,f,0,0,g.width,g.height);this.c.g=g}}cl.prototype.o.call(this,a)};function ew(a){a=a||{};cl.call(this,{attributions:a.attributions,logo:a.logo,projection:a.projection,resolutions:a.resolutions});this.sa=void 0!==a.crossOrigin?a.crossOrigin:null;this.j=a.url;this.S=void 0!==a.imageLoadFunction?a.imageLoadFunction:il;this.i=a.params||{};this.v=!0;fw(this);this.ea=a.serverType;this.wa=void 0!==a.hidpi?a.hidpi:!0;this.c=null;this.T=[0,0];this.Y=0;this.s=void 0!==a.ratio?a.ratio:1.5}y(ew,cl);var gw=[101,101];l=ew.prototype;
  l.Ym=function(a,c,d,e){if(void 0!==this.j){var f=vc(a,c,0,gw),g={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.i.LAYERS};Pa(g,this.i,e);e=Math.floor((f[3]-a[1])/c);g[this.v?"I":"X"]=Math.floor((a[0]-f[0])/c);g[this.v?"J":"Y"]=e;return hw(this,f,gw,1,Jc(d),g)}};l.$m=function(){return this.i};
  l.Hc=function(a,c,d,e){if(void 0===this.j)return null;c=dl(this,c);1==d||this.wa&&void 0!==this.ea||(d=1);a=a.slice();var f=(a[0]+a[2])/2,g=(a[1]+a[3])/2,h=c/d,k=sc(a)/h,h=tc(a)/h,m=this.c;if(m&&this.Y==this.g&&m.$()==c&&m.f==d&&cc(m.H(),a))return m;if(1!=this.s){var m=this.s*sc(a)/2,n=this.s*tc(a)/2;a[0]=f-m;a[1]=g-n;a[2]=f+m;a[3]=g+n}f={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};Pa(f,this.i);this.T[0]=Math.ceil(k*this.s);this.T[1]=Math.ceil(h*this.s);e=hw(this,
  a,this.T,d,e,f);this.c=new Iu(a,c,d,this.l,e,this.sa,this.S);this.Y=this.g;C(this.c,"change",this.o,this);return this.c};l.Zm=function(){return this.S};
  function hw(a,c,d,e,f,g){g[a.v?"CRS":"SRS"]=f.cb;"STYLES"in a.i||(g.STYLES="");if(1!=e)switch(a.ea){case "geoserver":e=90*e+.5|0;g.FORMAT_OPTIONS="FORMAT_OPTIONS"in g?g.FORMAT_OPTIONS+(";dpi:"+e):"dpi:"+e;break;case "mapserver":g.MAP_RESOLUTION=90*e;break;case "carmentaserver":case "qgis":g.DPI=90*e}g.WIDTH=d[0];g.HEIGHT=d[1];d=f.b;var h;a.v&&"ne"==d.substr(0,2)?h=[c[1],c[0],c[3],c[2]]:h=c;g.BBOX=h.join(",");return aw(a.j,g)}l.an=function(){return this.j};l.bn=function(a){this.c=null;this.S=a;this.u()};
  l.cn=function(a){a!=this.j&&(this.j=a,this.c=null,this.u())};l.dn=function(a){Pa(this.i,a);fw(this);this.c=null;this.u()};function fw(a){a.v=0<=Lb(a.i.VERSION||"1.3.0")};function iw(a){a=a||{};var c;void 0!==a.attributions?c=a.attributions:c=[jw];Vv.call(this,{attributions:c,cacheSize:a.cacheSize,crossOrigin:void 0!==a.crossOrigin?a.crossOrigin:"anonymous",opaque:void 0!==a.opaque?a.opaque:!0,maxZoom:void 0!==a.maxZoom?a.maxZoom:19,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileLoadFunction:a.tileLoadFunction,url:void 0!==a.url?a.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",wrapX:a.wrapX})}y(iw,Vv);var jw=new ue({html:'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'});function kw(a){a=a||{};var c=lw[a.layer];this.c=a.layer;Vv.call(this,{attributions:c.attributions,cacheSize:a.cacheSize,crossOrigin:"anonymous",logo:"https://developer.mapquest.com/content/osm/mq_logo.png",maxZoom:c.maxZoom,reprojectionErrorThreshold:a.reprojectionErrorThreshold,opaque:c.opaque,tileLoadFunction:a.tileLoadFunction,url:void 0!==a.url?a.url:"https://otile{1-4}-s.mqcdn.com/tiles/1.0.0/"+this.c+"/{z}/{x}/{y}.jpg"})}y(kw,Vv);
  var mw=new ue({html:'Tiles Courtesy of <a href="http://www.mapquest.com/">MapQuest</a>'}),lw={osm:{maxZoom:19,opaque:!0,attributions:[mw,jw]},sat:{maxZoom:18,opaque:!0,attributions:[mw,new ue({html:"Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency"})]},hyb:{maxZoom:18,opaque:!1,attributions:[mw,jw]}};kw.prototype.j=function(){return this.c};(function(){var a={},c={ha:a};(function(d){if("object"===typeof a&&"undefined"!==typeof c)c.ha=d();else{var e;"undefined"!==typeof window?e=window:"undefined"!==typeof global?e=global:"undefined"!==typeof self?e=self:e=this;e.Lp=d()}})(function(){return function e(a,c,h){function k(n,q){if(!c[n]){if(!a[n]){var r="function"==typeof require&&require;if(!q&&r)return r(n,!0);if(m)return m(n,!0);r=Error("Cannot find module '"+n+"'");throw r.code="MODULE_NOT_FOUND",r;}r=c[n]={ha:{}};a[n][0].call(r.ha,function(c){var e=
  a[n][1][c];return k(e?e:c)},r,r.ha,e,a,c,h)}return c[n].ha}for(var m="function"==typeof require&&require,n=0;n<h.length;n++)k(h[n]);return k}({1:[function(a,c,g){a=a("./processor");g.Ui=a},{"./processor":2}],2:[function(a,c){function g(a){var c=!0;try{new ImageData(10,10)}catch(e){c=!1}return function(e){var f=e.buffers,g=e.meta,h=e.width,k=e.height,m=f.length,n=f[0].byteLength;if(e.imageOps){n=Array(m);for(e=0;e<m;++e){var A=n,G=e,O;O=new Uint8ClampedArray(f[e]);var N=h,Y=k;O=c?new ImageData(O,N,
  Y):{data:O,width:N,height:Y};A[G]=O}h=a(n,g).data}else{h=new Uint8ClampedArray(n);k=Array(m);A=Array(m);for(e=0;e<m;++e)k[e]=new Uint8ClampedArray(f[e]),A[e]=[0,0,0,0];for(f=0;f<n;f+=4){for(e=0;e<m;++e)G=k[e],A[e][0]=G[f],A[e][1]=G[f+1],A[e][2]=G[f+2],A[e][3]=G[f+3];e=a(A,g);h[f]=e[0];h[f+1]=e[1];h[f+2]=e[2];h[f+3]=e[3]}}return h.buffer}}function h(a,c){var e=Object.keys(a.lib||{}).map(function(c){return"var "+c+" = "+a.lib[c].toString()+";"}).concat(["var __minion__ = ("+g.toString()+")(",a.operation.toString(),
  ");",'self.addEventListener("message", function(event) {',"  var buffer = __minion__(event.data);","  self.postMessage({buffer: buffer, meta: event.data.meta}, [buffer]);","});"]),e=URL.createObjectURL(new Blob(e,{type:"text/javascript"})),e=new Worker(e);e.addEventListener("message",c);return e}function k(a,c){var e=g(a.operation);return{postMessage:function(a){setTimeout(function(){c({data:{buffer:e(a),meta:a.meta}})},0)}}}function m(a){this.Me=!!a.fl;var c;0===a.threads?c=0:this.Me?c=1:c=a.threads||
  1;var e=[];if(c)for(var f=0;f<c;++f)e[f]=h(a,this.dg.bind(this,f));else e[0]=k(a,this.dg.bind(this,0));this.Gd=e;this.Vc=[];this.ij=a.mo||Infinity;this.Ed=0;this.Dc={};this.Ne=null}var n=a("./util").zl;m.prototype.ko=function(a,c,e){this.fj({vc:a,Rg:c,lg:e});this.ag()};m.prototype.fj=function(a){for(this.Vc.push(a);this.Vc.length>this.ij;)this.Vc.shift().lg(null,null)};m.prototype.ag=function(){if(0===this.Ed&&0<this.Vc.length){var a=this.Ne=this.Vc.shift(),c=a.vc[0].width,e=a.vc[0].height,f=a.vc.map(function(a){return a.data.buffer}),
  g=this.Gd.length;this.Ed=g;if(1===g)this.Gd[0].postMessage({buffers:f,meta:a.Rg,imageOps:this.Me,width:c,height:e},f);else for(var h=4*Math.ceil(a.vc[0].data.length/4/g),k=0;k<g;++k){for(var m=k*h,n=[],A=0,G=f.length;A<G;++A)n.push(f[k].slice(m,m+h));this.Gd[k].postMessage({buffers:n,meta:a.Rg,imageOps:this.Me,width:c,height:e},n)}}};m.prototype.dg=function(a,c){this.Hp||(this.Dc[a]=c.data,--this.Ed,0===this.Ed&&this.jj())};m.prototype.jj=function(){var a=this.Ne,c=this.Gd.length,e,f;if(1===c)e=new Uint8ClampedArray(this.Dc[0].buffer),
  f=this.Dc[0].meta;else{var g=a.vc[0].data.length;e=new Uint8ClampedArray(g);f=Array(g);for(var g=4*Math.ceil(g/4/c),h=0;h<c;++h){var k=h*g;e.set(new Uint8ClampedArray(this.Dc[h].buffer),k);f[h]=this.Dc[h].meta}}this.Ne=null;this.Dc={};a.lg(null,n(e,a.vc[0].width,a.vc[0].height),f);this.ag()};c.ha=m},{"./util":3}],3:[function(a,c,g){var h=!0;try{new ImageData(10,10)}catch(m){h=!1}var k=document.createElement("canvas").getContext("2d");g.zl=function(a,c,e){if(h)return new ImageData(a,c,e);c=k.createImageData(c,
  e);c.data.set(a);return c}},{}]},{},[1])(1)});Nl=c.ha})();function nw(a){this.S=null;this.wa=void 0!==a.operationType?a.operationType:"pixel";this.Qa=void 0!==a.threads?a.threads:1;this.c=ow(a.sources);for(var c=0,d=this.c.length;c<d;++c)C(this.c[c],"change",this.u,this);this.i=yg();this.ea=new ui(function(){return 1},this.u.bind(this));for(var c=pw(this.c),d={},e=0,f=c.length;e<f;++e)d[w(c[e].layer)]=c[e];this.j=this.s=null;this.Y={animate:!1,attributions:{},coordinateToPixelMatrix:hd(),extent:null,focus:null,index:0,layerStates:d,layerStatesArray:c,logos:{},
  pixelRatio:1,pixelToCoordinateMatrix:hd(),postRenderFunctions:[],size:[0,0],skippedFeatureUids:{},tileQueue:this.ea,time:Date.now(),usedTiles:{},viewState:{rotation:0},viewHints:[],wantedTiles:{}};cl.call(this,{});void 0!==a.operation&&this.v(a.operation,a.lib)}y(nw,cl);nw.prototype.v=function(a,c){this.S=new Nl.Ui({operation:a,fl:"image"===this.wa,mo:1,lib:c,threads:this.Qa});this.u()};function qw(a,c,d){var e=a.s;return!e||a.g!==e.Po||d!==e.resolution||!jc(c,e.extent)}
  nw.prototype.B=function(a,c,d,e){d=!0;for(var f,g=0,h=this.c.length;g<h;++g)if(f=this.c[g].a.da(),"ready"!==f.V()){d=!1;break}if(!d)return null;a=a.slice();if(!qw(this,a,c))return this.j;d=this.i.canvas;f=Math.round(sc(a)/c);g=Math.round(tc(a)/c);if(f!==d.width||g!==d.height)d.width=f,d.height=g;f=Pa({},this.Y);f.viewState=Pa({},f.viewState);var g=uc(a),h=Math.round(sc(a)/c),k=Math.round(tc(a)/c);f.extent=a;f.focus=uc(a);f.size[0]=h;f.size[1]=k;h=f.viewState;h.center=g;h.projection=e;h.resolution=
  c;this.j=e=new Qk(a,c,1,this.l,d,this.T.bind(this,f));this.s={extent:a,resolution:c,Po:this.g};return e};
  nw.prototype.T=function(a,c){for(var d=this.c.length,e=Array(d),f=0;f<d;++f){var g;g=this.c[f];var h=a,k=a.layerStatesArray[f];if(g.l(h,k)){var m=h.size[0],n=h.size[1];if(rw){var p=rw.canvas;p.width!==m||p.height!==n?rw=yg(m,n):rw.clearRect(0,0,m,n)}else rw=yg(m,n);g.i(h,k,rw);g=rw.getImageData(0,0,m,n)}else g=null;if(g)e[f]=g;else return}d={};this.b(new sw(tw,a,d));this.S.ko(e,d,this.sa.bind(this,a,c));vi(a.tileQueue,16,16)};
  nw.prototype.sa=function(a,c,d,e,f){d?c(d):e&&(this.b(new sw(uw,a,f)),qw(this,a.extent,a.viewState.resolution/a.pixelRatio)||this.i.putImageData(e,0,0),c(null))};var rw=null;function pw(a){return a.map(function(a){return Nh(a.a)})}function ow(a){for(var c=a.length,d=Array(c),e=0;e<c;++e){var f=e,g=a[e],h=null;g instanceof Xf?(g=new Hj({source:g}),h=new dm(g)):g instanceof cl&&(g=new Gj({source:g}),h=new cm(g));d[f]=h}return d}
  function sw(a,c,d){gb.call(this,a);this.extent=c.extent;this.resolution=c.viewState.resolution/c.pixelRatio;this.data=d}y(sw,gb);var tw="beforeoperations",uw="afteroperations";var vw={terrain:{rb:"jpg",opaque:!0},"terrain-background":{rb:"jpg",opaque:!0},"terrain-labels":{rb:"png",opaque:!1},"terrain-lines":{rb:"png",opaque:!1},"toner-background":{rb:"png",opaque:!0},toner:{rb:"png",opaque:!0},"toner-hybrid":{rb:"png",opaque:!1},"toner-labels":{rb:"png",opaque:!1},"toner-lines":{rb:"png",opaque:!1},"toner-lite":{rb:"png",opaque:!0},watercolor:{rb:"jpg",opaque:!0}},ww={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:1,maxZoom:16}};
  function xw(a){var c=a.layer.indexOf("-"),c=-1==c?a.layer:a.layer.slice(0,c),c=ww[c],d=vw[a.layer];Vv.call(this,{attributions:yw,cacheSize:a.cacheSize,crossOrigin:"anonymous",maxZoom:c.maxZoom,minZoom:c.minZoom,opaque:d.opaque,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileLoadFunction:a.tileLoadFunction,url:void 0!==a.url?a.url:"https://stamen-tiles-{a-d}.a.ssl.fastly.net/"+a.layer+"/{z}/{x}/{y}."+d.rb})}y(xw,Vv);
  var yw=[new ue({html:'Map tiles by <a href="http://stamen.com/">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.'}),jw];function zw(a){a=a||{};W.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,projection:a.projection,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction,url:a.url,urls:a.urls,wrapX:void 0!==a.wrapX?a.wrapX:!0});this.c=a.params||{};this.j=Wb()}y(zw,W);zw.prototype.v=function(){return this.c};zw.prototype.Xb=function(a){return a};
  zw.prototype.qc=function(a,c,d){var e=this.tileGrid;e||(e=this.eb(d));if(!(e.b.length<=a[0])){var f=e.Aa(a,this.j),g=Ff(e.Ga(a[0]),this.o);1!=c&&(g=Ef(g,c,this.o));e={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};Pa(e,this.c);var h=this.urls;h?(d=d.cb.split(":").pop(),e.SIZE=g[0]+","+g[1],e.BBOX=f.join(","),e.BBOXSR=d,e.IMAGESR=d,e.DPI=Math.round(e.DPI?e.DPI*c:90*c),a=(1==h.length?h[0]:h[Ja((a[1]<<a[0])+a[2],h.length)]).replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage"),
  a=aw(a,e)):a=void 0;return a}};zw.prototype.B=function(a){Pa(this.c,a);this.u()};function Aw(a,c,d){Bf.call(this,a,2);this.l=c;this.c=d;this.g={}}y(Aw,Bf);Aw.prototype.$a=function(a){a=void 0!==a?w(a):-1;if(a in this.g)return this.g[a];var c=this.l,d=yg(c[0],c[1]);d.strokeStyle="black";d.strokeRect(.5,.5,c[0]+.5,c[1]+.5);d.fillStyle="black";d.textAlign="center";d.textBaseline="middle";d.font="24px sans-serif";d.fillText(this.c,c[0]/2,c[1]/2);return this.g[a]=d.canvas};
  function Bw(a){Xf.call(this,{opaque:!1,projection:a.projection,tileGrid:a.tileGrid,wrapX:void 0!==a.wrapX?a.wrapX:!0})}y(Bw,Xf);Bw.prototype.Wb=function(a,c,d){var e=this.Ab(a,c,d);if(wf(this.a,e))return this.a.get(e);var f=Ff(this.tileGrid.Ga(a));a=[a,c,d];c=(c=$f(this,a))?$f(this,c).toString():"";f=new Aw(a,f,c);this.a.set(e,f);return f};function Cw(a){this.c=null;W.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,projection:Jc("EPSG:3857"),reprojectionErrorThreshold:a.reprojectionErrorThreshold,state:"loading",tileLoadFunction:a.tileLoadFunction,wrapX:void 0!==a.wrapX?a.wrapX:!0});if(a.jsonp)Ov(a.url,this.sh.bind(this),this.he.bind(this));else{var c=new XMLHttpRequest;c.addEventListener("load",this.fn.bind(this));c.addEventListener("error",this.en.bind(this));c.open("GET",a.url);c.send()}}
  y(Cw,W);l=Cw.prototype;l.fn=function(a){a=a.target;if(200<=a.status&&300>a.status){var c;try{c=JSON.parse(a.responseText)}catch(d){this.he();return}this.sh(c)}else this.he()};l.en=function(){this.he()};l.uk=function(){return this.c};
  l.sh=function(a){var c=Jc("EPSG:4326"),d=this.f,e;void 0!==a.bounds&&(e=Ac(a.bounds,Mc(c,d)));var f=a.minzoom||0,g=a.maxzoom||22;this.tileGrid=d=Wf({extent:Uf(d),maxZoom:g,minZoom:f});this.tileUrlFunction=hm(a.tiles,d);if(void 0!==a.attribution&&!this.l){c=void 0!==e?e:c.H();e={};for(var h;f<=g;++f)h=f.toString(),e[h]=[Nf(d,c,f)];this.ja([new ue({html:a.attribution,tileRanges:e})])}this.c=a;If(this,"ready")};l.he=function(){If(this,"error")};function Dw(a){Xf.call(this,{projection:Jc("EPSG:3857"),state:"loading"});this.s=void 0!==a.preemptive?a.preemptive:!0;this.j=jm;this.i=void 0;this.c=a.jsonp||!1;if(a.url)if(this.c)Ov(a.url,this.wf.bind(this),this.ie.bind(this));else{var c=new XMLHttpRequest;c.addEventListener("load",this.kn.bind(this));c.addEventListener("error",this.jn.bind(this));c.open("GET",a.url);c.send()}else a.tileJSON&&this.wf(a.tileJSON)}y(Dw,Xf);l=Dw.prototype;
  l.kn=function(a){a=a.target;if(200<=a.status&&300>a.status){var c;try{c=JSON.parse(a.responseText)}catch(d){this.ie();return}this.wf(c)}else this.ie()};l.jn=function(){this.ie()};l.rk=function(){return this.i};l.Cj=function(a,c,d,e,f){this.tileGrid?(c=this.tileGrid.Td(a,c),Ew(this.Wb(c[0],c[1],c[2],1,this.f),a,d,e,f)):!0===f?rg(function(){d.call(e,null)}):d.call(e,null)};l.ie=function(){If(this,"error")};
  l.wf=function(a){var c=Jc("EPSG:4326"),d=this.f,e;void 0!==a.bounds&&(e=Ac(a.bounds,Mc(c,d)));var f=a.minzoom||0,g=a.maxzoom||22;this.tileGrid=d=Wf({extent:Uf(d),maxZoom:g,minZoom:f});this.i=a.template;var h=a.grids;if(h){this.j=hm(h,d);if(void 0!==a.attribution){c=void 0!==e?e:c.H();for(e={};f<=g;++f)h=f.toString(),e[h]=[Nf(d,c,f)];this.ja([new ue({html:a.attribution,tileRanges:e})])}If(this,"ready")}else If(this,"error")};
  l.Wb=function(a,c,d,e,f){var g=this.Ab(a,c,d);if(wf(this.a,g))return this.a.get(g);a=[a,c,d];c=$f(this,a,f);e=this.j(c,e,f);e=new Fw(a,void 0!==e?0:4,void 0!==e?e:"",this.tileGrid.Aa(a),this.s,this.c);this.a.set(g,e);return e};l.Tf=function(a,c,d){a=this.Ab(a,c,d);wf(this.a,a)&&this.a.get(a)};function Fw(a,c,d,e,f,g){Bf.call(this,a,c);this.s=d;this.g=e;this.U=f;this.c=this.j=this.l=null;this.v=g}y(Fw,Bf);l=Fw.prototype;l.$a=function(){return null};
  l.getData=function(a){if(!this.l||!this.j)return null;var c=this.l[Math.floor((1-(a[1]-this.g[1])/(this.g[3]-this.g[1]))*this.l.length)];if("string"!==typeof c)return null;c=c.charCodeAt(Math.floor((a[0]-this.g[0])/(this.g[2]-this.g[0])*c.length));93<=c&&c--;35<=c&&c--;c-=32;a=null;c in this.j&&(c=this.j[c],this.c&&c in this.c?a=this.c[c]:a=c);return a};
  function Ew(a,c,d,e,f){0==a.state&&!0===f?(bb(a,"change",function(){d.call(e,this.getData(c))},a),Gw(a)):!0===f?rg(function(){d.call(e,this.getData(c))},a):d.call(e,a.getData(c))}l.fb=function(){return this.s};l.Vd=function(){this.state=3;Cf(this)};l.th=function(a){this.l=a.grid;this.j=a.keys;this.c=a.data;this.state=4;Cf(this)};
  function Gw(a){if(0==a.state)if(a.state=1,a.v)Ov(a.s,a.th.bind(a),a.Vd.bind(a));else{var c=new XMLHttpRequest;c.addEventListener("load",a.hn.bind(a));c.addEventListener("error",a.gn.bind(a));c.open("GET",a.s);c.send()}}l.hn=function(a){a=a.target;if(200<=a.status&&300>a.status){var c;try{c=JSON.parse(a.responseText)}catch(d){this.Vd();return}this.th(c)}else this.Vd()};l.gn=function(){this.Vd()};l.load=function(){this.U&&Gw(this)};function Hw(a){a=a||{};var c=a.params||{};W.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,opaque:!("TRANSPARENT"in c?c.TRANSPARENT:1),projection:a.projection,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction,url:a.url,urls:a.urls,wrapX:void 0!==a.wrapX?a.wrapX:!0});this.v=void 0!==a.gutter?a.gutter:0;this.c=c;this.j=!0;this.B=a.serverType;this.T=void 0!==a.hidpi?a.hidpi:!0;this.S="";
  Iw(this);this.Y=Wb();Jw(this);Zf(this,Kw(this))}y(Hw,W);l=Hw.prototype;
  l.ln=function(a,c,d,e){d=Jc(d);var f=this.tileGrid;f||(f=this.eb(d));c=f.Td(a,c);if(!(f.b.length<=c[0])){var g=f.$(c[0]),h=f.Aa(c,this.Y),f=Ff(f.Ga(c[0]),this.o),k=this.v;0!==k&&(f=Df(f,k,this.o),h=Yb(h,g*k,h));k={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.c.LAYERS};Pa(k,this.c,e);e=Math.floor((h[3]-a[1])/g);k[this.j?"I":"X"]=Math.floor((a[0]-h[0])/g);k[this.j?"J":"Y"]=e;return Lw(this,c,f,h,1,d,k)}};l.bf=function(){return this.v};
  l.Ab=function(a,c,d){return this.S+W.prototype.Ab.call(this,a,c,d)};l.mn=function(){return this.c};
  function Lw(a,c,d,e,f,g,h){var k=a.urls;if(k){h.WIDTH=d[0];h.HEIGHT=d[1];h[a.j?"CRS":"SRS"]=g.cb;"STYLES"in a.c||(h.STYLES="");if(1!=f)switch(a.B){case "geoserver":d=90*f+.5|0;h.FORMAT_OPTIONS="FORMAT_OPTIONS"in h?h.FORMAT_OPTIONS+(";dpi:"+d):"dpi:"+d;break;case "mapserver":h.MAP_RESOLUTION=90*f;break;case "carmentaserver":case "qgis":h.DPI=90*f}g=g.b;a.j&&"ne"==g.substr(0,2)&&(a=e[0],e[0]=e[1],e[1]=a,a=e[2],e[2]=e[3],e[3]=a);h.BBOX=e.join(",");return aw(1==k.length?k[0]:k[Ja((c[1]<<c[0])+c[2],k.length)],
  h)}}l.Xb=function(a){return this.T&&void 0!==this.B?a:1};function Iw(a){var c=0,d=[];if(a.urls){var e,f;e=0;for(f=a.urls.length;e<f;++e)d[c++]=a.urls[e]}a.S=d.join("#")}function Kw(a){var c=0,d=[],e;for(e in a.c)d[c++]=e+"-"+a.c[e];return d.join("/")}
  l.qc=function(a,c,d){var e=this.tileGrid;e||(e=this.eb(d));if(!(e.b.length<=a[0])){1==c||this.T&&void 0!==this.B||(c=1);var f=e.$(a[0]),g=e.Aa(a,this.Y),e=Ff(e.Ga(a[0]),this.o),h=this.v;0!==h&&(e=Df(e,h,this.o),g=Yb(g,f*h,g));1!=c&&(e=Ef(e,c,this.o));f={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};Pa(f,this.c);return Lw(this,a,e,g,c,d,f)}};l.nn=function(a){Pa(this.c,a);Iw(this);Jw(this);Zf(this,Kw(this))};function Jw(a){a.j=0<=Lb(a.c.VERSION||"1.3.0")};function Mw(a){this.l=a.matrixIds;Jf.call(this,{extent:a.extent,origin:a.origin,origins:a.origins,resolutions:a.resolutions,tileSize:a.tileSize,tileSizes:a.tileSizes,sizes:a.sizes})}y(Mw,Jf);Mw.prototype.j=function(){return this.l};
  function Nw(a,c){var d=[],e=[],f=[],g=[],h=[],k;k=Jc(a.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"));var m=k.Vb(),n="ne"==k.b.substr(0,2);a.TileMatrix.sort(function(a,c){return c.ScaleDenominator-a.ScaleDenominator});a.TileMatrix.forEach(function(a){e.push(a.Identifier);var c=2.8E-4*a.ScaleDenominator/m,k=a.TileWidth,u=a.TileHeight;n?f.push([a.TopLeftCorner[1],a.TopLeftCorner[0]]):f.push(a.TopLeftCorner);d.push(c);g.push(k==u?k:[k,u]);h.push([a.MatrixWidth,-a.MatrixHeight])});
  return new Mw({extent:c,origins:f,resolutions:d,matrixIds:e,tileSizes:g,sizes:h})};function Z(a){function c(a){a="KVP"==e?aw(a,g):a.replace(/\{(\w+?)\}/g,function(a,c){return c.toLowerCase()in g?g[c.toLowerCase()]:a});return function(c){if(c){var d={TileMatrix:f.l[c[0]],TileCol:c[1],TileRow:-c[2]-1};Pa(d,h);c=a;return c="KVP"==e?aw(c,d):c.replace(/\{(\w+?)\}/g,function(a,c){return d[c]})}}}this.T=void 0!==a.version?a.version:"1.0.0";this.v=void 0!==a.format?a.format:"image/jpeg";this.c=void 0!==a.dimensions?a.dimensions:{};this.B=a.layer;this.j=a.matrixSet;this.S=a.style;var d=
  a.urls;void 0===d&&void 0!==a.url&&(d=km(a.url));var e=this.Y=void 0!==a.requestEncoding?a.requestEncoding:"KVP",f=a.tileGrid,g={layer:this.B,style:this.S,tilematrixset:this.j};"KVP"==e&&Pa(g,{Service:"WMTS",Request:"GetTile",Version:this.T,Format:this.v});var h=this.c,k=d&&0<d.length?im(d.map(c)):jm;W.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,projection:a.projection,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileClass:a.tileClass,
  tileGrid:f,tileLoadFunction:a.tileLoadFunction,tilePixelRatio:a.tilePixelRatio,tileUrlFunction:k,urls:d,wrapX:void 0!==a.wrapX?a.wrapX:!1});Zf(this,Ow(this))}y(Z,W);l=Z.prototype;l.Pj=function(){return this.c};l.pn=function(){return this.v};l.qn=function(){return this.B};l.bk=function(){return this.j};l.pk=function(){return this.Y};l.rn=function(){return this.S};l.wk=function(){return this.T};function Ow(a){var c=0,d=[],e;for(e in a.c)d[c++]=e+"-"+a.c[e];return d.join("/")}
  l.np=function(a){Pa(this.c,a);Zf(this,Ow(this))};function Pw(a){a=a||{};var c=a.size,d=c[0],e=c[1],f=[],g=256;switch(void 0!==a.tierSizeCalculation?a.tierSizeCalculation:"default"){case "default":for(;d>g||e>g;)f.push([Math.ceil(d/g),Math.ceil(e/g)]),g+=g;break;case "truncated":for(;d>g||e>g;)f.push([Math.ceil(d/g),Math.ceil(e/g)]),d>>=1,e>>=1}f.push([1,1]);f.reverse();for(var g=[1],h=[0],e=1,d=f.length;e<d;e++)g.push(1<<e),h.push(f[e-1][0]*f[e-1][1]+h[e-1]);g.reverse();var c=[0,-c[1],c[0],0],c=new Jf({extent:c,origin:pc(c),resolutions:g}),k=a.url;
  W.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileClass:Qw,tileGrid:c,tileUrlFunction:function(a){if(a){var c=a[0],d=a[1];a=-a[2]-1;return k+"TileGroup"+((d+a*f[c][0]+h[c])/256|0)+"/"+c+"-"+d+"-"+a+".jpg"}}})}y(Pw,W);function Qw(a,c,d,e,f){Ju.call(this,a,c,d,e,f);this.l={}}y(Qw,Ju);
  Qw.prototype.$a=function(a){var c=void 0!==a?w(a).toString():"";if(c in this.l)return this.l[c];a=Ju.prototype.$a.call(this,a);if(2==this.state){if(256==a.width&&256==a.height)return this.l[c]=a;var d=yg(256,256);d.drawImage(a,0,0);return this.l[c]=d.canvas}return a};function Rw(a){a=a||{};this.a=void 0!==a.initialSize?a.initialSize:256;this.g=void 0!==a.maxSize?a.maxSize:void 0!==na?na:2048;this.b=void 0!==a.space?a.space:1;this.c=[new Sw(this.a,this.b)];this.f=this.a;this.i=[new Sw(this.f,this.b)]}Rw.prototype.add=function(a,c,d,e,f,g){if(c+this.b>this.g||d+this.b>this.g)return null;e=Tw(this,!1,a,c,d,e,g);if(!e)return null;a=Tw(this,!0,a,c,d,void 0!==f?f:pa,g);return{offsetX:e.offsetX,offsetY:e.offsetY,image:e.image,Mg:a.image}};
  function Tw(a,c,d,e,f,g,h){var k=c?a.i:a.c,m,n,p;n=0;for(p=k.length;n<p;++n){m=k[n];if(m=m.add(d,e,f,g,h))return m;m||n!==p-1||(c?(m=Math.min(2*a.f,a.g),a.f=m):(m=Math.min(2*a.a,a.g),a.a=m),m=new Sw(m,a.b),k.push(m),++p)}}function Sw(a,c){this.b=c;this.a=[{x:0,y:0,width:a,height:a}];this.f={};this.g=yg(a,a);this.c=this.g.canvas}Sw.prototype.get=function(a){return this.f[a]||null};
  Sw.prototype.add=function(a,c,d,e,f){var g,h,k;h=0;for(k=this.a.length;h<k;++h)if(g=this.a[h],g.width>=c+this.b&&g.height>=d+this.b)return k={offsetX:g.x+this.b,offsetY:g.y+this.b,image:this.c},this.f[a]=k,e.call(f,this.g,g.x+this.b,g.y+this.b),a=h,c+=this.b,e=d+this.b,g.width-c>g.height-e?(d={x:g.x+c,y:g.y,width:g.width-c,height:g.height},c={x:g.x,y:g.y+e,width:c,height:g.height-e},Uw(this,a,d,c)):(d={x:g.x+c,y:g.y,width:g.width-c,height:e},c={x:g.x,y:g.y+e,width:g.width,height:g.height-e},Uw(this,
  a,d,c)),k;return null};function Uw(a,c,d,e){c=[c,1];0<d.width&&0<d.height&&c.push(d);0<e.width&&0<e.height&&c.push(e);a.a.splice.apply(a.a,c)};function Vw(a){this.B=this.s=this.f=null;this.o=void 0!==a.fill?a.fill:null;this.ua=[0,0];this.b=a.points;this.g=void 0!==a.radius?a.radius:a.radius1;this.c=void 0!==a.radius2?a.radius2:this.g;this.l=void 0!==a.angle?a.angle:0;this.a=void 0!==a.stroke?a.stroke:null;this.R=this.xa=this.D=null;var c=a.atlasManager,d="",e="",f=0,g=null,h,k=0;this.a&&(h=Ie(this.a.b),k=this.a.a,void 0===k&&(k=1),g=this.a.g,Lg||(g=null),e=this.a.c,void 0===e&&(e="round"),d=this.a.f,void 0===d&&(d="round"),f=this.a.i,void 0===
  f&&(f=10));var m=2*(this.g+k)+1,d={strokeStyle:h,wd:k,size:m,lineCap:d,lineDash:g,lineJoin:e,miterLimit:f};if(void 0===c){var n=yg(m,m);this.s=n.canvas;c=m=this.s.width;this.Ch(d,n,0,0);this.o?this.B=this.s:(n=yg(d.size,d.size),this.B=n.canvas,this.Bh(d,n,0,0))}else m=Math.round(m),(e=!this.o)&&(n=this.Bh.bind(this,d)),f=this.a?Tj(this.a):"-",g=this.o?Nj(this.o):"-",this.f&&f==this.f[1]&&g==this.f[2]&&this.g==this.f[3]&&this.c==this.f[4]&&this.l==this.f[5]&&this.b==this.f[6]||(this.f=["r"+f+g+(void 0!==
  this.g?this.g.toString():"-")+(void 0!==this.c?this.c.toString():"-")+(void 0!==this.l?this.l.toString():"-")+(void 0!==this.b?this.b.toString():"-"),f,g,this.g,this.c,this.l,this.b]),n=c.add(this.f[0],m,m,this.Ch.bind(this,d),n),this.s=n.image,this.ua=[n.offsetX,n.offsetY],c=n.image.width,this.B=e?n.Mg:this.s;this.D=[m/2,m/2];this.xa=[m,m];this.R=[c,c];fi.call(this,{opacity:1,rotateWithView:void 0!==a.rotateWithView?a.rotateWithView:!1,rotation:void 0!==a.rotation?a.rotation:0,scale:1,snapToPixel:void 0!==
  a.snapToPixel?a.snapToPixel:!0})}y(Vw,fi);l=Vw.prototype;l.Tb=function(){return this.D};l.xn=function(){return this.l};l.yn=function(){return this.o};l.ke=function(){return this.B};l.ec=function(){return this.s};l.fd=function(){return this.R};l.od=function(){return 2};l.Ea=function(){return this.ua};l.zn=function(){return this.b};l.An=function(){return this.g};l.nk=function(){return this.c};l.Bb=function(){return this.xa};l.Bn=function(){return this.a};l.jf=pa;l.load=pa;l.Sf=pa;
  l.Ch=function(a,c,d,e){var f;c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();this.c!==this.g&&(this.b*=2);for(d=0;d<=this.b;d++)e=2*d*Math.PI/this.b-Math.PI/2+this.l,f=0===d%2?this.g:this.c,c.lineTo(a.size/2+f*Math.cos(e),a.size/2+f*Math.sin(e));this.o&&(c.fillStyle=Ke(this.o.b),c.fill());this.a&&(c.strokeStyle=a.strokeStyle,c.lineWidth=a.wd,a.lineDash&&c.setLineDash(a.lineDash),c.lineCap=a.lineCap,c.lineJoin=a.lineJoin,c.miterLimit=a.miterLimit,c.stroke());c.closePath()};
  l.Bh=function(a,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();this.c!==this.g&&(this.b*=2);var f;for(d=0;d<=this.b;d++)f=2*d*Math.PI/this.b-Math.PI/2+this.l,e=0===d%2?this.g:this.c,c.lineTo(a.size/2+e*Math.cos(f),a.size/2+e*Math.sin(f));c.fillStyle=Ij;c.fill();this.a&&(c.strokeStyle=a.strokeStyle,c.lineWidth=a.wd,a.lineDash&&c.setLineDash(a.lineDash),c.stroke());c.closePath()};t("ol.animation.bounce",function(a){var c=a.resolution,d=a.start?a.start:Date.now(),e=void 0!==a.duration?a.duration:1E3,f=a.easing?a.easing:me;return function(a,h){if(h.time<d)return h.animate=!0,h.viewHints[0]+=1,!0;if(h.time<d+e){var k=f((h.time-d)/e),m=c-h.viewState.resolution;h.animate=!0;h.viewState.resolution+=k*m;h.viewHints[0]+=1;return!0}return!1}},OPENLAYERS);t("ol.animation.pan",ne,OPENLAYERS);t("ol.animation.rotate",oe,OPENLAYERS);t("ol.animation.zoom",pe,OPENLAYERS);
  t("ol.Attribution",ue,OPENLAYERS);ue.prototype.getHTML=ue.prototype.g;ve.prototype.element=ve.prototype.element;t("ol.Collection",we,OPENLAYERS);we.prototype.clear=we.prototype.clear;we.prototype.extend=we.prototype.kf;we.prototype.forEach=we.prototype.forEach;we.prototype.getArray=we.prototype.Al;we.prototype.item=we.prototype.item;we.prototype.getLength=we.prototype.Zb;we.prototype.insertAt=we.prototype.Zd;we.prototype.pop=we.prototype.pop;we.prototype.push=we.prototype.push;
  we.prototype.remove=we.prototype.remove;we.prototype.removeAt=we.prototype.Mf;we.prototype.setAt=we.prototype.Ro;t("ol.colorlike.asColorLike",Ke,OPENLAYERS);t("ol.coordinate.add",Mb,OPENLAYERS);t("ol.coordinate.createStringXY",function(a){return function(c){return Ub(c,a)}},OPENLAYERS);t("ol.coordinate.format",Pb,OPENLAYERS);t("ol.coordinate.rotate",Rb,OPENLAYERS);t("ol.coordinate.toStringHDMS",function(a,c){return a?Ob(a[1],"NS",c)+" "+Ob(a[0],"EW",c):""},OPENLAYERS);
  t("ol.coordinate.toStringXY",Ub,OPENLAYERS);t("ol.DeviceOrientation",Tn,OPENLAYERS);Tn.prototype.getAlpha=Tn.prototype.Ij;Tn.prototype.getBeta=Tn.prototype.Lj;Tn.prototype.getGamma=Tn.prototype.Sj;Tn.prototype.getHeading=Tn.prototype.Bl;Tn.prototype.getTracking=Tn.prototype.Ug;Tn.prototype.setTracking=Tn.prototype.lf;t("ol.easing.easeIn",ie,OPENLAYERS);t("ol.easing.easeOut",je,OPENLAYERS);t("ol.easing.inAndOut",ke,OPENLAYERS);t("ol.easing.linear",le,OPENLAYERS);t("ol.easing.upAndDown",me,OPENLAYERS);
  t("ol.extent.boundingExtent",Vb,OPENLAYERS);t("ol.extent.buffer",Yb,OPENLAYERS);t("ol.extent.containsCoordinate",ac,OPENLAYERS);t("ol.extent.containsExtent",cc,OPENLAYERS);t("ol.extent.containsXY",bc,OPENLAYERS);t("ol.extent.createEmpty",Wb,OPENLAYERS);t("ol.extent.equals",jc,OPENLAYERS);t("ol.extent.extend",kc,OPENLAYERS);t("ol.extent.getBottomLeft",mc,OPENLAYERS);t("ol.extent.getBottomRight",nc,OPENLAYERS);t("ol.extent.getCenter",uc,OPENLAYERS);t("ol.extent.getHeight",tc,OPENLAYERS);
  t("ol.extent.getIntersection",xc,OPENLAYERS);t("ol.extent.getSize",function(a){return[a[2]-a[0],a[3]-a[1]]},OPENLAYERS);t("ol.extent.getTopLeft",pc,OPENLAYERS);t("ol.extent.getTopRight",oc,OPENLAYERS);t("ol.extent.getWidth",sc,OPENLAYERS);t("ol.extent.intersects",yc,OPENLAYERS);t("ol.extent.isEmpty",rc,OPENLAYERS);t("ol.extent.applyTransform",Ac,OPENLAYERS);t("ol.Feature",kl,OPENLAYERS);kl.prototype.clone=kl.prototype.clone;kl.prototype.getGeometry=kl.prototype.W;kl.prototype.getId=kl.prototype.Ua;
  kl.prototype.getGeometryName=kl.prototype.Uj;kl.prototype.getStyle=kl.prototype.Dl;kl.prototype.getStyleFunction=kl.prototype.$b;kl.prototype.setGeometry=kl.prototype.Ra;kl.prototype.setStyle=kl.prototype.mf;kl.prototype.setId=kl.prototype.hc;kl.prototype.setGeometryName=kl.prototype.zc;t("ol.featureloader.tile",Hl,OPENLAYERS);t("ol.featureloader.xhr",Il,OPENLAYERS);t("ol.Geolocation",xu,OPENLAYERS);xu.prototype.getAccuracy=xu.prototype.Gj;xu.prototype.getAccuracyGeometry=xu.prototype.Hj;
  xu.prototype.getAltitude=xu.prototype.Jj;xu.prototype.getAltitudeAccuracy=xu.prototype.Kj;xu.prototype.getHeading=xu.prototype.Fl;xu.prototype.getPosition=xu.prototype.Gl;xu.prototype.getProjection=xu.prototype.Vg;xu.prototype.getSpeed=xu.prototype.qk;xu.prototype.getTracking=xu.prototype.Wg;xu.prototype.getTrackingOptions=xu.prototype.Gg;xu.prototype.setProjection=xu.prototype.Xg;xu.prototype.setTracking=xu.prototype.ae;xu.prototype.setTrackingOptions=xu.prototype.li;t("ol.Graticule",Du,OPENLAYERS);
  Du.prototype.getMap=Du.prototype.Jl;Du.prototype.getMeridians=Du.prototype.ck;Du.prototype.getParallels=Du.prototype.jk;Du.prototype.setMap=Du.prototype.setMap;t("ol.has.DEVICE_PIXEL_RATIO",Kg,OPENLAYERS);t("ol.has.CANVAS",Mg,OPENLAYERS);t("ol.has.DEVICE_ORIENTATION",Ng,OPENLAYERS);t("ol.has.GEOLOCATION",Og,OPENLAYERS);t("ol.has.TOUCH",Pg,OPENLAYERS);t("ol.has.WEBGL",Fg,OPENLAYERS);Iu.prototype.getImage=Iu.prototype.a;Iu.prototype.load=Iu.prototype.load;Ju.prototype.getImage=Ju.prototype.$a;
  Ju.prototype.load=Ju.prototype.load;t("ol.Kinetic",wi,OPENLAYERS);t("ol.loadingstrategy.all",Jl,OPENLAYERS);t("ol.loadingstrategy.bbox",function(a){return[a]},OPENLAYERS);t("ol.loadingstrategy.tile",function(a){return function(c,d){var e=Sf(a,d),f=Nf(a,c,e),g=[],e=[e,0,0];for(e[1]=f.b;e[1]<=f.a;++e[1])for(e[2]=f.g;e[2]<=f.f;++e[2])g.push(a.Aa(e));return g}},OPENLAYERS);t("ol.Map",R,OPENLAYERS);R.prototype.addControl=R.prototype.oj;R.prototype.addInteraction=R.prototype.pj;R.prototype.addLayer=R.prototype.fg;
  R.prototype.addOverlay=R.prototype.gg;R.prototype.beforeRender=R.prototype.Ta;R.prototype.forEachFeatureAtPixel=R.prototype.ed;R.prototype.forEachLayerAtPixel=R.prototype.Nl;R.prototype.hasFeatureAtPixel=R.prototype.el;R.prototype.getEventCoordinate=R.prototype.Qj;R.prototype.getEventPixel=R.prototype.Nd;R.prototype.getTarget=R.prototype.nf;R.prototype.getTargetElement=R.prototype.tc;R.prototype.getCoordinateFromPixel=R.prototype.La;R.prototype.getControls=R.prototype.Oj;R.prototype.getOverlays=R.prototype.hk;
  R.prototype.getOverlayById=R.prototype.gk;R.prototype.getInteractions=R.prototype.Vj;R.prototype.getLayerGroup=R.prototype.sc;R.prototype.getLayers=R.prototype.Yg;R.prototype.getPixelFromCoordinate=R.prototype.Ca;R.prototype.getSize=R.prototype.Za;R.prototype.getView=R.prototype.aa;R.prototype.getViewport=R.prototype.xk;R.prototype.renderSync=R.prototype.No;R.prototype.render=R.prototype.render;R.prototype.removeControl=R.prototype.Go;R.prototype.removeInteraction=R.prototype.Ho;
  R.prototype.removeLayer=R.prototype.Jo;R.prototype.removeOverlay=R.prototype.Ko;R.prototype.setLayerGroup=R.prototype.di;R.prototype.setSize=R.prototype.Rf;R.prototype.setTarget=R.prototype.Zg;R.prototype.setView=R.prototype.bp;R.prototype.updateSize=R.prototype.Sc;yh.prototype.originalEvent=yh.prototype.originalEvent;yh.prototype.pixel=yh.prototype.pixel;yh.prototype.coordinate=yh.prototype.coordinate;yh.prototype.dragging=yh.prototype.dragging;tf.prototype.map=tf.prototype.map;
  tf.prototype.frameState=tf.prototype.frameState;ob.prototype.key=ob.prototype.key;ob.prototype.oldValue=ob.prototype.oldValue;t("ol.Object",pb,OPENLAYERS);pb.prototype.get=pb.prototype.get;pb.prototype.getKeys=pb.prototype.N;pb.prototype.getProperties=pb.prototype.O;pb.prototype.set=pb.prototype.set;pb.prototype.setProperties=pb.prototype.G;pb.prototype.unset=pb.prototype.P;t("ol.Observable",mb,OPENLAYERS);t("ol.Observable.unByKey",nb,OPENLAYERS);mb.prototype.changed=mb.prototype.u;
  mb.prototype.dispatchEvent=mb.prototype.b;mb.prototype.getRevision=mb.prototype.K;mb.prototype.on=mb.prototype.I;mb.prototype.once=mb.prototype.L;mb.prototype.un=mb.prototype.J;mb.prototype.unByKey=mb.prototype.M;t("ol.inherits",y,OPENLAYERS);t("ol.Overlay",An,OPENLAYERS);An.prototype.getElement=An.prototype.be;An.prototype.getId=An.prototype.Ua;An.prototype.getMap=An.prototype.ce;An.prototype.getOffset=An.prototype.Eg;An.prototype.getPosition=An.prototype.$g;An.prototype.getPositioning=An.prototype.Fg;
  An.prototype.setElement=An.prototype.$h;An.prototype.setMap=An.prototype.setMap;An.prototype.setOffset=An.prototype.fi;An.prototype.setPosition=An.prototype.pf;An.prototype.setPositioning=An.prototype.ii;t("ol.render.toContext",function(a,c){var d=a.canvas,e=c?c:{},f=e.pixelRatio||Kg;if(e=e.size)d.width=e[0]*f,d.height=e[1]*f,d.style.width=e[0]+"px",d.style.height=e[1]+"px";d=[0,0,d.width,d.height];e=Uh(hd(),0,0,f,f,0,0,0);return new ck(a,f,d,e,0)},OPENLAYERS);t("ol.size.toSize",Ff,OPENLAYERS);
  Bf.prototype.getTileCoord=Bf.prototype.i;Bf.prototype.load=Bf.prototype.load;ml.prototype.getFormat=ml.prototype.Ol;ml.prototype.setFeatures=ml.prototype.ai;ml.prototype.setProjection=ml.prototype.qf;ml.prototype.setLoader=ml.prototype.ei;t("ol.View",be,OPENLAYERS);be.prototype.constrainCenter=be.prototype.Kd;be.prototype.constrainResolution=be.prototype.constrainResolution;be.prototype.constrainRotation=be.prototype.constrainRotation;be.prototype.getCenter=be.prototype.ab;
  be.prototype.calculateExtent=be.prototype.Fc;be.prototype.getProjection=be.prototype.Pl;be.prototype.getResolution=be.prototype.$;be.prototype.getResolutions=be.prototype.Ql;be.prototype.getRotation=be.prototype.Ja;be.prototype.getZoom=be.prototype.zk;be.prototype.fit=be.prototype.Ye;be.prototype.centerOn=be.prototype.yj;be.prototype.rotate=be.prototype.rotate;be.prototype.setCenter=be.prototype.ib;be.prototype.setResolution=be.prototype.Pb;be.prototype.setRotation=be.prototype.de;
  be.prototype.setZoom=be.prototype.fp;t("ol.xml.getAllTextContent",ql,OPENLAYERS);t("ol.xml.parse",ul,OPENLAYERS);Jm.prototype.getGL=Jm.prototype.Sn;Jm.prototype.useProgram=Jm.prototype.re;t("ol.tilegrid.TileGrid",Jf,OPENLAYERS);Jf.prototype.getMaxZoom=Jf.prototype.Cg;Jf.prototype.getMinZoom=Jf.prototype.Dg;Jf.prototype.getOrigin=Jf.prototype.Ea;Jf.prototype.getResolution=Jf.prototype.$;Jf.prototype.getResolutions=Jf.prototype.Eh;Jf.prototype.getTileCoordExtent=Jf.prototype.Aa;
  Jf.prototype.getTileCoordForCoordAndResolution=Jf.prototype.Td;Jf.prototype.getTileCoordForCoordAndZ=Jf.prototype.kd;Jf.prototype.getTileSize=Jf.prototype.Ga;t("ol.tilegrid.createXYZ",Wf,OPENLAYERS);t("ol.tilegrid.WMTS",Mw,OPENLAYERS);Mw.prototype.getMatrixIds=Mw.prototype.j;t("ol.tilegrid.WMTS.createFromCapabilitiesMatrixSet",Nw,OPENLAYERS);t("ol.style.AtlasManager",Rw,OPENLAYERS);t("ol.style.Circle",Uj,OPENLAYERS);Uj.prototype.getFill=Uj.prototype.sn;Uj.prototype.getImage=Uj.prototype.ec;
  Uj.prototype.getRadius=Uj.prototype.tn;Uj.prototype.getStroke=Uj.prototype.vn;t("ol.style.Fill",Mj,OPENLAYERS);Mj.prototype.getColor=Mj.prototype.g;Mj.prototype.setColor=Mj.prototype.f;t("ol.style.Icon",gi,OPENLAYERS);gi.prototype.getAnchor=gi.prototype.Tb;gi.prototype.getImage=gi.prototype.ec;gi.prototype.getOrigin=gi.prototype.Ea;gi.prototype.getSrc=gi.prototype.wn;gi.prototype.getSize=gi.prototype.Bb;gi.prototype.load=gi.prototype.load;t("ol.style.Image",fi,OPENLAYERS);
  fi.prototype.getOpacity=fi.prototype.le;fi.prototype.getRotateWithView=fi.prototype.Rd;fi.prototype.getRotation=fi.prototype.me;fi.prototype.getScale=fi.prototype.ne;fi.prototype.getSnapToPixel=fi.prototype.Sd;fi.prototype.setOpacity=fi.prototype.oe;fi.prototype.setRotation=fi.prototype.pe;fi.prototype.setScale=fi.prototype.qe;t("ol.style.RegularShape",Vw,OPENLAYERS);Vw.prototype.getAnchor=Vw.prototype.Tb;Vw.prototype.getAngle=Vw.prototype.xn;Vw.prototype.getFill=Vw.prototype.yn;
  Vw.prototype.getImage=Vw.prototype.ec;Vw.prototype.getOrigin=Vw.prototype.Ea;Vw.prototype.getPoints=Vw.prototype.zn;Vw.prototype.getRadius=Vw.prototype.An;Vw.prototype.getRadius2=Vw.prototype.nk;Vw.prototype.getSize=Vw.prototype.Bb;Vw.prototype.getStroke=Vw.prototype.Bn;t("ol.style.Stroke",Sj,OPENLAYERS);Sj.prototype.getColor=Sj.prototype.Cn;Sj.prototype.getLineCap=Sj.prototype.Yj;Sj.prototype.getLineDash=Sj.prototype.Dn;Sj.prototype.getLineJoin=Sj.prototype.Zj;Sj.prototype.getMiterLimit=Sj.prototype.dk;
  Sj.prototype.getWidth=Sj.prototype.En;Sj.prototype.setColor=Sj.prototype.Fn;Sj.prototype.setLineCap=Sj.prototype.Xo;Sj.prototype.setLineDash=Sj.prototype.Gn;Sj.prototype.setLineJoin=Sj.prototype.Yo;Sj.prototype.setMiterLimit=Sj.prototype.Zo;Sj.prototype.setWidth=Sj.prototype.cp;t("ol.style.Style",Vj,OPENLAYERS);Vj.prototype.getGeometry=Vj.prototype.W;Vj.prototype.getGeometryFunction=Vj.prototype.Tj;Vj.prototype.getFill=Vj.prototype.Hn;Vj.prototype.getImage=Vj.prototype.In;Vj.prototype.getStroke=Vj.prototype.Jn;
  Vj.prototype.getText=Vj.prototype.Da;Vj.prototype.getZIndex=Vj.prototype.Kn;Vj.prototype.setGeometry=Vj.prototype.Dh;Vj.prototype.setZIndex=Vj.prototype.Ln;t("ol.style.Text",jq,OPENLAYERS);jq.prototype.getFont=jq.prototype.Rj;jq.prototype.getOffsetX=jq.prototype.ek;jq.prototype.getOffsetY=jq.prototype.fk;jq.prototype.getFill=jq.prototype.Mn;jq.prototype.getRotation=jq.prototype.Nn;jq.prototype.getScale=jq.prototype.On;jq.prototype.getStroke=jq.prototype.Pn;jq.prototype.getText=jq.prototype.Da;
  jq.prototype.getTextAlign=jq.prototype.sk;jq.prototype.getTextBaseline=jq.prototype.tk;jq.prototype.setFont=jq.prototype.Uo;jq.prototype.setOffsetX=jq.prototype.gi;jq.prototype.setOffsetY=jq.prototype.hi;jq.prototype.setFill=jq.prototype.To;jq.prototype.setRotation=jq.prototype.Qn;jq.prototype.setScale=jq.prototype.Rn;jq.prototype.setStroke=jq.prototype.$o;jq.prototype.setText=jq.prototype.ji;jq.prototype.setTextAlign=jq.prototype.ki;jq.prototype.setTextBaseline=jq.prototype.ap;t("ol.Sphere",Dc,OPENLAYERS);
  Dc.prototype.geodesicArea=Dc.prototype.a;Dc.prototype.haversineDistance=Dc.prototype.b;t("ol.source.BingMaps",Tv,OPENLAYERS);t("ol.source.BingMaps.TOS_ATTRIBUTION",Uv,OPENLAYERS);t("ol.source.CartoDB",Wv,OPENLAYERS);Wv.prototype.getConfig=Wv.prototype.Nj;Wv.prototype.updateConfig=Wv.prototype.mp;Wv.prototype.setConfig=Wv.prototype.So;t("ol.source.Cluster",X,OPENLAYERS);X.prototype.getSource=X.prototype.wa;t("ol.source.ImageArcGISRest",bw,OPENLAYERS);bw.prototype.getParams=bw.prototype.Km;
  bw.prototype.getImageLoadFunction=bw.prototype.Jm;bw.prototype.getUrl=bw.prototype.Lm;bw.prototype.setImageLoadFunction=bw.prototype.Mm;bw.prototype.setUrl=bw.prototype.Nm;bw.prototype.updateParams=bw.prototype.Om;t("ol.source.ImageCanvas",jl,OPENLAYERS);t("ol.source.ImageMapGuide",cw,OPENLAYERS);cw.prototype.getParams=cw.prototype.Qm;cw.prototype.getImageLoadFunction=cw.prototype.Pm;cw.prototype.updateParams=cw.prototype.Sm;cw.prototype.setImageLoadFunction=cw.prototype.Rm;
  t("ol.source.Image",cl,OPENLAYERS);el.prototype.image=el.prototype.image;t("ol.source.ImageStatic",dw,OPENLAYERS);t("ol.source.ImageVector",am,OPENLAYERS);am.prototype.getSource=am.prototype.Tm;am.prototype.getStyle=am.prototype.Um;am.prototype.getStyleFunction=am.prototype.Vm;am.prototype.setStyle=am.prototype.rh;t("ol.source.ImageWMS",ew,OPENLAYERS);ew.prototype.getGetFeatureInfoUrl=ew.prototype.Ym;ew.prototype.getParams=ew.prototype.$m;ew.prototype.getImageLoadFunction=ew.prototype.Zm;
  ew.prototype.getUrl=ew.prototype.an;ew.prototype.setImageLoadFunction=ew.prototype.bn;ew.prototype.setUrl=ew.prototype.cn;ew.prototype.updateParams=ew.prototype.dn;t("ol.source.MapQuest",kw,OPENLAYERS);kw.prototype.getLayer=kw.prototype.j;t("ol.source.OSM",iw,OPENLAYERS);t("ol.source.OSM.ATTRIBUTION",jw,OPENLAYERS);t("ol.source.Raster",nw,OPENLAYERS);nw.prototype.setOperation=nw.prototype.v;sw.prototype.extent=sw.prototype.extent;sw.prototype.resolution=sw.prototype.resolution;sw.prototype.data=sw.prototype.data;
  t("ol.source.Source",Gf,OPENLAYERS);Gf.prototype.getAttributions=Gf.prototype.qa;Gf.prototype.getLogo=Gf.prototype.pa;Gf.prototype.getProjection=Gf.prototype.ra;Gf.prototype.getState=Gf.prototype.V;Gf.prototype.refresh=Gf.prototype.oa;Gf.prototype.setAttributions=Gf.prototype.ja;t("ol.source.Stamen",xw,OPENLAYERS);t("ol.source.TileArcGISRest",zw,OPENLAYERS);zw.prototype.getParams=zw.prototype.v;zw.prototype.updateParams=zw.prototype.B;t("ol.source.TileDebug",Bw,OPENLAYERS);
  t("ol.source.TileImage",W,OPENLAYERS);W.prototype.setRenderReprojectionEdges=W.prototype.kb;W.prototype.setTileGridForProjection=W.prototype.lb;t("ol.source.TileJSON",Cw,OPENLAYERS);Cw.prototype.getTileJSON=Cw.prototype.uk;t("ol.source.Tile",Xf,OPENLAYERS);Xf.prototype.getTileGrid=Xf.prototype.Fa;ag.prototype.tile=ag.prototype.tile;t("ol.source.TileUTFGrid",Dw,OPENLAYERS);Dw.prototype.getTemplate=Dw.prototype.rk;Dw.prototype.forDataAtCoordinateAndResolution=Dw.prototype.Cj;
  t("ol.source.TileWMS",Hw,OPENLAYERS);Hw.prototype.getGetFeatureInfoUrl=Hw.prototype.ln;Hw.prototype.getParams=Hw.prototype.mn;Hw.prototype.updateParams=Hw.prototype.nn;lm.prototype.getTileLoadFunction=lm.prototype.Va;lm.prototype.getTileUrlFunction=lm.prototype.Wa;lm.prototype.getUrls=lm.prototype.Xa;lm.prototype.setTileLoadFunction=lm.prototype.bb;lm.prototype.setTileUrlFunction=lm.prototype.Ka;lm.prototype.setUrl=lm.prototype.Ma;lm.prototype.setUrls=lm.prototype.Sa;t("ol.source.Vector",Q,OPENLAYERS);
  Q.prototype.addFeature=Q.prototype.pb;Q.prototype.addFeatures=Q.prototype.Ec;Q.prototype.clear=Q.prototype.clear;Q.prototype.forEachFeature=Q.prototype.rg;Q.prototype.forEachFeatureInExtent=Q.prototype.sb;Q.prototype.forEachFeatureIntersectingExtent=Q.prototype.sg;Q.prototype.getFeaturesCollection=Q.prototype.zg;Q.prototype.getFeatures=Q.prototype.je;Q.prototype.getFeaturesAtCoordinate=Q.prototype.yg;Q.prototype.getFeaturesInExtent=Q.prototype.$e;Q.prototype.getClosestFeatureToCoordinate=Q.prototype.ug;
  Q.prototype.getExtent=Q.prototype.H;Q.prototype.getFeatureById=Q.prototype.xg;Q.prototype.getFormat=Q.prototype.wh;Q.prototype.getUrl=Q.prototype.xh;Q.prototype.removeFeature=Q.prototype.jb;Yl.prototype.feature=Yl.prototype.feature;t("ol.source.VectorTile",mm,OPENLAYERS);t("ol.source.WMTS",Z,OPENLAYERS);Z.prototype.getDimensions=Z.prototype.Pj;Z.prototype.getFormat=Z.prototype.pn;Z.prototype.getLayer=Z.prototype.qn;Z.prototype.getMatrixSet=Z.prototype.bk;Z.prototype.getRequestEncoding=Z.prototype.pk;
  Z.prototype.getStyle=Z.prototype.rn;Z.prototype.getVersion=Z.prototype.wk;Z.prototype.updateDimensions=Z.prototype.np;
  t("ol.source.WMTS.optionsFromCapabilities",function(a,c){var d=zb(a.Contents.Layer,function(a){return a.Identifier==c.layer}),e=a.Contents.TileMatrixSet,f,g;f=1<d.TileMatrixSetLink.length?"projection"in c?Db(d.TileMatrixSetLink,function(a){return zb(e,function(c){return c.Identifier==a.TileMatrixSet}).SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3")==c.projection}):Db(d.TileMatrixSetLink,function(a){return a.TileMatrixSet==c.matrixSet}):0;0>f&&(f=0);g=d.TileMatrixSetLink[f].TileMatrixSet;
  var h=d.Format[0];"format"in c&&(h=c.format);f=Db(d.Style,function(a){return"style"in c?a.Title==c.style:a.isDefault});0>f&&(f=0);f=d.Style[f].Identifier;var k={};"Dimension"in d&&d.Dimension.forEach(function(a){var c=a.Identifier,d=a.Default;void 0===d&&(d=a.Value[0]);k[c]=d});var m=zb(a.Contents.TileMatrixSet,function(a){return a.Identifier==g}),n;n="projection"in c?Jc(c.projection):Jc(m.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"));var p=d.WGS84BoundingBox,q,r;void 0!==p&&
  (r=Jc("EPSG:4326").H(),r=p[0]==r[0]&&p[2]==r[2],q=cd(p,"EPSG:4326",n),(p=n.H())&&(cc(p,q)||(q=void 0)));var m=Nw(m,q),u=[];q=c.requestEncoding;q=void 0!==q?q:"";if("OperationsMetadata"in a&&"GetTile"in a.OperationsMetadata)for(var p=a.OperationsMetadata.GetTile.DCP.HTTP.Get,v=0,x=p.length;v<x;++v){var z=zb(p[v].Constraint,function(a){return"GetEncoding"==a.name}).AllowedValues.Value;""===q&&(q=z[0]);if("KVP"===q)ub(z,"KVP")&&u.push(p[v].href);else break}0===u.length&&(q="REST",d.ResourceURL.forEach(function(a){"tile"===
  a.resourceType&&(h=a.format,u.push(a.template))}));return{urls:u,layer:c.layer,matrixSet:g,format:h,projection:n,requestEncoding:q,tileGrid:m,style:f,dimensions:k,wrapX:r}},OPENLAYERS);t("ol.source.XYZ",Vv,OPENLAYERS);t("ol.source.Zoomify",Pw,OPENLAYERS);Ph.prototype.vectorContext=Ph.prototype.vectorContext;Ph.prototype.frameState=Ph.prototype.frameState;Ph.prototype.context=Ph.prototype.context;Ph.prototype.glContext=Ph.prototype.glContext;Lk.prototype.get=Lk.prototype.get;
  Lk.prototype.getExtent=Lk.prototype.H;Lk.prototype.getGeometry=Lk.prototype.W;Lk.prototype.getProperties=Lk.prototype.Fm;Lk.prototype.getType=Lk.prototype.X;t("ol.render.VectorContext",Oh,OPENLAYERS);en.prototype.setStyle=en.prototype.md;en.prototype.drawGeometry=en.prototype.nc;en.prototype.drawFeature=en.prototype.Te;ck.prototype.drawCircle=ck.prototype.Md;ck.prototype.setStyle=ck.prototype.md;ck.prototype.drawGeometry=ck.prototype.nc;ck.prototype.drawFeature=ck.prototype.Te;
  t("ol.proj.common.add",Fj,OPENLAYERS);t("ol.proj.METERS_PER_UNIT",Fc,OPENLAYERS);t("ol.proj.Projection",Gc,OPENLAYERS);Gc.prototype.getCode=Gc.prototype.Mj;Gc.prototype.getExtent=Gc.prototype.H;Gc.prototype.getUnits=Gc.prototype.ub;Gc.prototype.getMetersPerUnit=Gc.prototype.Vb;Gc.prototype.getWorldExtent=Gc.prototype.yk;Gc.prototype.isGlobal=Gc.prototype.jl;Gc.prototype.setGlobal=Gc.prototype.Wo;Gc.prototype.setExtent=Gc.prototype.Em;Gc.prototype.setWorldExtent=Gc.prototype.ep;
  Gc.prototype.setGetPointResolution=Gc.prototype.Vo;Gc.prototype.getPointResolution=Gc.prototype.getPointResolution;t("ol.proj.setProj4",function(a){Ic=a},OPENLAYERS);t("ol.proj.addEquivalentProjections",Kc,OPENLAYERS);t("ol.proj.addProjection",Wc,OPENLAYERS);t("ol.proj.addCoordinateTransforms",Lc,OPENLAYERS);t("ol.proj.fromLonLat",function(a,c){return bd(a,"EPSG:4326",void 0!==c?c:"EPSG:3857")},OPENLAYERS);t("ol.proj.toLonLat",function(a,c){return bd(a,void 0!==c?c:"EPSG:3857","EPSG:4326")},OPENLAYERS);
  t("ol.proj.get",Jc,OPENLAYERS);t("ol.proj.equivalent",Zc,OPENLAYERS);t("ol.proj.getTransform",$c,OPENLAYERS);t("ol.proj.transform",bd,OPENLAYERS);t("ol.proj.transformExtent",cd,OPENLAYERS);t("ol.layer.Heatmap",V,OPENLAYERS);V.prototype.getBlur=V.prototype.tg;V.prototype.getGradient=V.prototype.Ag;V.prototype.getRadius=V.prototype.jh;V.prototype.setBlur=V.prototype.Yh;V.prototype.setGradient=V.prototype.ci;V.prototype.setRadius=V.prototype.kh;t("ol.layer.Image",Gj,OPENLAYERS);
  Gj.prototype.getSource=Gj.prototype.da;t("ol.layer.Layer",Qh,OPENLAYERS);Qh.prototype.getSource=Qh.prototype.da;Qh.prototype.setMap=Qh.prototype.setMap;Qh.prototype.setSource=Qh.prototype.Ac;t("ol.layer.Base",Mh,OPENLAYERS);Mh.prototype.getExtent=Mh.prototype.H;Mh.prototype.getMaxResolution=Mh.prototype.Hb;Mh.prototype.getMinResolution=Mh.prototype.Ib;Mh.prototype.getOpacity=Mh.prototype.Kb;Mh.prototype.getVisible=Mh.prototype.vb;Mh.prototype.getZIndex=Mh.prototype.Lb;Mh.prototype.setExtent=Mh.prototype.ac;
  Mh.prototype.setMaxResolution=Mh.prototype.ic;Mh.prototype.setMinResolution=Mh.prototype.jc;Mh.prototype.setOpacity=Mh.prototype.bc;Mh.prototype.setVisible=Mh.prototype.cc;Mh.prototype.setZIndex=Mh.prototype.dc;t("ol.layer.Group",wj,OPENLAYERS);wj.prototype.getLayers=wj.prototype.Oc;wj.prototype.setLayers=wj.prototype.ih;t("ol.layer.Tile",Hj,OPENLAYERS);Hj.prototype.getPreload=Hj.prototype.f;Hj.prototype.getSource=Hj.prototype.da;Hj.prototype.setPreload=Hj.prototype.l;
  Hj.prototype.getUseInterimTilesOnError=Hj.prototype.c;Hj.prototype.setUseInterimTilesOnError=Hj.prototype.B;t("ol.layer.Vector",H,OPENLAYERS);H.prototype.getSource=H.prototype.da;H.prototype.getStyle=H.prototype.C;H.prototype.getStyleFunction=H.prototype.D;H.prototype.setStyle=H.prototype.l;t("ol.layer.VectorTile",I,OPENLAYERS);I.prototype.getPreload=I.prototype.f;I.prototype.getUseInterimTilesOnError=I.prototype.c;I.prototype.setPreload=I.prototype.Y;I.prototype.setUseInterimTilesOnError=I.prototype.ea;
  t("ol.interaction.DoubleClickZoom",Ci,OPENLAYERS);t("ol.interaction.DoubleClickZoom.handleEvent",Di,OPENLAYERS);t("ol.interaction.DragAndDrop",Lu,OPENLAYERS);t("ol.interaction.DragAndDrop.handleEvent",Bc,OPENLAYERS);Ou.prototype.features=Ou.prototype.features;Ou.prototype.file=Ou.prototype.file;Ou.prototype.projection=Ou.prototype.projection;aj.prototype.coordinate=aj.prototype.coordinate;aj.prototype.mapBrowserEvent=aj.prototype.mapBrowserEvent;t("ol.interaction.DragBox",bj,OPENLAYERS);
  bj.prototype.getGeometry=bj.prototype.W;t("ol.interaction.DragPan",Qi,OPENLAYERS);t("ol.interaction.DragRotateAndZoom",Qu,OPENLAYERS);t("ol.interaction.DragRotate",Ui,OPENLAYERS);t("ol.interaction.DragZoom",gj,OPENLAYERS);Uu.prototype.feature=Uu.prototype.feature;t("ol.interaction.Draw",Vu,OPENLAYERS);t("ol.interaction.Draw.handleEvent",Xu,OPENLAYERS);Vu.prototype.removeLastPoint=Vu.prototype.Io;Vu.prototype.finishDrawing=Vu.prototype.dd;Vu.prototype.extend=Vu.prototype.jm;
  t("ol.interaction.Draw.createRegularPolygon",function(a,c){return function(d,e){var f=d[0],g=d[1],h=Math.sqrt(Sb(f,g)),k=e?e:$d(new yu(f),a);ae(k,f,h,c?c:Math.atan((g[1]-f[1])/(g[0]-f[0])));return k}},OPENLAYERS);t("ol.interaction.Interaction",yi,OPENLAYERS);yi.prototype.getActive=yi.prototype.f;yi.prototype.getMap=yi.prototype.l;yi.prototype.setActive=yi.prototype.i;t("ol.interaction.defaults",vj,OPENLAYERS);t("ol.interaction.KeyboardPan",hj,OPENLAYERS);
  t("ol.interaction.KeyboardPan.handleEvent",ij,OPENLAYERS);t("ol.interaction.KeyboardZoom",jj,OPENLAYERS);t("ol.interaction.KeyboardZoom.handleEvent",kj,OPENLAYERS);kv.prototype.features=kv.prototype.features;kv.prototype.mapBrowserEvent=kv.prototype.mapBrowserEvent;t("ol.interaction.Modify",lv,OPENLAYERS);t("ol.interaction.Modify.handleEvent",ov,OPENLAYERS);lv.prototype.removePoint=lv.prototype.Vh;t("ol.interaction.MouseWheelZoom",lj,OPENLAYERS);t("ol.interaction.MouseWheelZoom.handleEvent",mj,OPENLAYERS);
  lj.prototype.setMouseAnchor=lj.prototype.D;t("ol.interaction.PinchRotate",nj,OPENLAYERS);t("ol.interaction.PinchZoom",rj,OPENLAYERS);t("ol.interaction.Pointer",Ni,OPENLAYERS);t("ol.interaction.Pointer.handleEvent",Oi,OPENLAYERS);yv.prototype.selected=yv.prototype.selected;yv.prototype.deselected=yv.prototype.deselected;yv.prototype.mapBrowserEvent=yv.prototype.mapBrowserEvent;t("ol.interaction.Select",zv,OPENLAYERS);zv.prototype.getFeatures=zv.prototype.tm;zv.prototype.getLayer=zv.prototype.um;
  t("ol.interaction.Select.handleEvent",Av,OPENLAYERS);zv.prototype.setMap=zv.prototype.setMap;t("ol.interaction.Snap",Cv,OPENLAYERS);Cv.prototype.addFeature=Cv.prototype.pb;Cv.prototype.removeFeature=Cv.prototype.jb;Gv.prototype.features=Gv.prototype.features;Gv.prototype.coordinate=Gv.prototype.coordinate;t("ol.interaction.Translate",Hv,OPENLAYERS);t("ol.geom.Circle",yu,OPENLAYERS);yu.prototype.clone=yu.prototype.clone;yu.prototype.getCenter=yu.prototype.ld;yu.prototype.getRadius=yu.prototype.rf;
  yu.prototype.getType=yu.prototype.X;yu.prototype.intersectsExtent=yu.prototype.Ha;yu.prototype.setCenter=yu.prototype.bm;yu.prototype.setCenterAndRadius=yu.prototype.Qf;yu.prototype.setRadius=yu.prototype.cm;yu.prototype.transform=yu.prototype.gb;t("ol.geom.Geometry",dd,OPENLAYERS);dd.prototype.getClosestPoint=dd.prototype.tb;dd.prototype.getExtent=dd.prototype.H;dd.prototype.rotate=dd.prototype.rotate;dd.prototype.simplify=dd.prototype.xb;dd.prototype.transform=dd.prototype.gb;
  t("ol.geom.GeometryCollection",po,OPENLAYERS);po.prototype.clone=po.prototype.clone;po.prototype.getGeometries=po.prototype.af;po.prototype.getType=po.prototype.X;po.prototype.intersectsExtent=po.prototype.Ha;po.prototype.setGeometries=po.prototype.bi;po.prototype.applyTransform=po.prototype.mc;po.prototype.translate=po.prototype.Nc;t("ol.geom.LinearRing",Kd,OPENLAYERS);Kd.prototype.clone=Kd.prototype.clone;Kd.prototype.getArea=Kd.prototype.fm;Kd.prototype.getCoordinates=Kd.prototype.Z;
  Kd.prototype.getType=Kd.prototype.X;Kd.prototype.setCoordinates=Kd.prototype.la;t("ol.geom.LineString",S,OPENLAYERS);S.prototype.appendCoordinate=S.prototype.qj;S.prototype.clone=S.prototype.clone;S.prototype.forEachSegment=S.prototype.Fj;S.prototype.getCoordinateAtM=S.prototype.dm;S.prototype.getCoordinates=S.prototype.Z;S.prototype.getCoordinateAt=S.prototype.vg;S.prototype.getLength=S.prototype.em;S.prototype.getType=S.prototype.X;S.prototype.intersectsExtent=S.prototype.Ha;
  S.prototype.setCoordinates=S.prototype.la;t("ol.geom.MultiLineString",T,OPENLAYERS);T.prototype.appendLineString=T.prototype.rj;T.prototype.clone=T.prototype.clone;T.prototype.getCoordinateAtM=T.prototype.gm;T.prototype.getCoordinates=T.prototype.Z;T.prototype.getLineString=T.prototype.$j;T.prototype.getLineStrings=T.prototype.gd;T.prototype.getType=T.prototype.X;T.prototype.intersectsExtent=T.prototype.Ha;T.prototype.setCoordinates=T.prototype.la;t("ol.geom.MultiPoint",eo,OPENLAYERS);
  eo.prototype.appendPoint=eo.prototype.tj;eo.prototype.clone=eo.prototype.clone;eo.prototype.getCoordinates=eo.prototype.Z;eo.prototype.getPoint=eo.prototype.kk;eo.prototype.getPoints=eo.prototype.ee;eo.prototype.getType=eo.prototype.X;eo.prototype.intersectsExtent=eo.prototype.Ha;eo.prototype.setCoordinates=eo.prototype.la;t("ol.geom.MultiPolygon",fo,OPENLAYERS);fo.prototype.appendPolygon=fo.prototype.uj;fo.prototype.clone=fo.prototype.clone;fo.prototype.getArea=fo.prototype.hm;
  fo.prototype.getCoordinates=fo.prototype.Z;fo.prototype.getInteriorPoints=fo.prototype.Xj;fo.prototype.getPolygon=fo.prototype.mk;fo.prototype.getPolygons=fo.prototype.Qd;fo.prototype.getType=fo.prototype.X;fo.prototype.intersectsExtent=fo.prototype.Ha;fo.prototype.setCoordinates=fo.prototype.la;t("ol.geom.Point",D,OPENLAYERS);D.prototype.clone=D.prototype.clone;D.prototype.getCoordinates=D.prototype.Z;D.prototype.getType=D.prototype.X;D.prototype.intersectsExtent=D.prototype.Ha;
  D.prototype.setCoordinates=D.prototype.la;t("ol.geom.Polygon",F,OPENLAYERS);F.prototype.appendLinearRing=F.prototype.sj;F.prototype.clone=F.prototype.clone;F.prototype.getArea=F.prototype.im;F.prototype.getCoordinates=F.prototype.Z;F.prototype.getInteriorPoint=F.prototype.Wj;F.prototype.getLinearRingCount=F.prototype.ak;F.prototype.getLinearRing=F.prototype.Bg;F.prototype.getLinearRings=F.prototype.Pd;F.prototype.getType=F.prototype.X;F.prototype.intersectsExtent=F.prototype.Ha;
  F.prototype.setCoordinates=F.prototype.la;t("ol.geom.Polygon.circular",Yd,OPENLAYERS);t("ol.geom.Polygon.fromExtent",Zd,OPENLAYERS);t("ol.geom.Polygon.fromCircle",$d,OPENLAYERS);t("ol.geom.SimpleGeometry",sd,OPENLAYERS);sd.prototype.getFirstCoordinate=sd.prototype.Eb;sd.prototype.getLastCoordinate=sd.prototype.Fb;sd.prototype.getLayout=sd.prototype.Gb;sd.prototype.applyTransform=sd.prototype.mc;sd.prototype.translate=sd.prototype.Nc;t("ol.format.EsriJSON",io,OPENLAYERS);io.prototype.readFeature=io.prototype.Mb;
  io.prototype.readFeatures=io.prototype.Ba;io.prototype.readGeometry=io.prototype.Qc;io.prototype.readProjection=io.prototype.Na;io.prototype.writeGeometry=io.prototype.Uc;io.prototype.writeGeometryObject=io.prototype.Fe;io.prototype.writeFeature=io.prototype.yd;io.prototype.writeFeatureObject=io.prototype.Tc;io.prototype.writeFeatures=io.prototype.Sb;io.prototype.writeFeaturesObject=io.prototype.De;t("ol.format.Feature",Un,OPENLAYERS);t("ol.format.GeoJSON",to,OPENLAYERS);
  to.prototype.readFeature=to.prototype.Mb;to.prototype.readFeatures=to.prototype.Ba;to.prototype.readGeometry=to.prototype.Qc;to.prototype.readProjection=to.prototype.Na;to.prototype.writeFeature=to.prototype.yd;to.prototype.writeFeatureObject=to.prototype.Tc;to.prototype.writeFeatures=to.prototype.Sb;to.prototype.writeFeaturesObject=to.prototype.De;to.prototype.writeGeometry=to.prototype.Uc;to.prototype.writeGeometryObject=to.prototype.Fe;t("ol.format.GPX",Yo,OPENLAYERS);
  Yo.prototype.readFeature=Yo.prototype.Mb;Yo.prototype.readFeatures=Yo.prototype.Ba;Yo.prototype.readProjection=Yo.prototype.Na;Yo.prototype.writeFeatures=Yo.prototype.Sb;Yo.prototype.writeFeaturesNode=Yo.prototype.a;t("ol.format.IGC",Hp,OPENLAYERS);Hp.prototype.readFeature=Hp.prototype.Mb;Hp.prototype.readFeatures=Hp.prototype.Ba;Hp.prototype.readProjection=Hp.prototype.Na;t("ol.format.KML",kq,OPENLAYERS);kq.prototype.readFeature=kq.prototype.Mb;kq.prototype.readFeatures=kq.prototype.Ba;
  kq.prototype.readName=kq.prototype.xo;kq.prototype.readNetworkLinks=kq.prototype.yo;kq.prototype.readProjection=kq.prototype.Na;kq.prototype.writeFeatures=kq.prototype.Sb;kq.prototype.writeFeaturesNode=kq.prototype.a;t("ol.format.MVT",$r,OPENLAYERS);$r.prototype.readFeatures=$r.prototype.Ba;$r.prototype.readProjection=$r.prototype.Na;$r.prototype.setLayers=$r.prototype.c;t("ol.format.OSMXML",vs,OPENLAYERS);vs.prototype.readFeatures=vs.prototype.Ba;vs.prototype.readProjection=vs.prototype.Na;
  t("ol.format.Polyline",Us,OPENLAYERS);t("ol.format.Polyline.encodeDeltas",Vs,OPENLAYERS);t("ol.format.Polyline.decodeDeltas",Xs,OPENLAYERS);t("ol.format.Polyline.encodeFloats",Ws,OPENLAYERS);t("ol.format.Polyline.decodeFloats",Ys,OPENLAYERS);Us.prototype.readFeature=Us.prototype.Mb;Us.prototype.readFeatures=Us.prototype.Ba;Us.prototype.readGeometry=Us.prototype.Qc;Us.prototype.readProjection=Us.prototype.Na;Us.prototype.writeGeometry=Us.prototype.Uc;t("ol.format.TopoJSON",Zs,OPENLAYERS);
  Zs.prototype.readFeatures=Zs.prototype.Ba;Zs.prototype.readProjection=Zs.prototype.Na;t("ol.format.WFS",ft,OPENLAYERS);ft.prototype.readFeatures=ft.prototype.Ba;ft.prototype.readTransactionResponse=ft.prototype.o;ft.prototype.readFeatureCollectionMetadata=ft.prototype.l;ft.prototype.writeGetFeature=ft.prototype.j;ft.prototype.writeTransaction=ft.prototype.U;ft.prototype.readProjection=ft.prototype.Na;t("ol.format.WKT",wt,OPENLAYERS);wt.prototype.readFeature=wt.prototype.Mb;
  wt.prototype.readFeatures=wt.prototype.Ba;wt.prototype.readGeometry=wt.prototype.Qc;wt.prototype.writeFeature=wt.prototype.yd;wt.prototype.writeFeatures=wt.prototype.Sb;wt.prototype.writeGeometry=wt.prototype.Uc;t("ol.format.WMSCapabilities",Nt,OPENLAYERS);Nt.prototype.read=Nt.prototype.read;t("ol.format.WMSGetFeatureInfo",ju,OPENLAYERS);ju.prototype.readFeatures=ju.prototype.Ba;t("ol.format.WMTSCapabilities",ku,OPENLAYERS);ku.prototype.read=ku.prototype.read;t("ol.format.ogc.filter.and",bs,OPENLAYERS);
  t("ol.format.ogc.filter.or",function(a,c){return new is(a,c)},OPENLAYERS);t("ol.format.ogc.filter.not",function(a){return new js(a)},OPENLAYERS);t("ol.format.ogc.filter.bbox",ds,OPENLAYERS);t("ol.format.ogc.filter.equalTo",function(a,c,d){return new ms(a,c,d)},OPENLAYERS);t("ol.format.ogc.filter.notEqualTo",function(a,c,d){return new ns(a,c,d)},OPENLAYERS);t("ol.format.ogc.filter.lessThan",function(a,c){return new os(a,c)},OPENLAYERS);
  t("ol.format.ogc.filter.lessThanOrEqualTo",function(a,c){return new ps(a,c)},OPENLAYERS);t("ol.format.ogc.filter.greaterThan",function(a,c){return new qs(a,c)},OPENLAYERS);t("ol.format.ogc.filter.greaterThanOrEqualTo",function(a,c){return new rs(a,c)},OPENLAYERS);t("ol.format.ogc.filter.isNull",function(a){return new ss(a)},OPENLAYERS);t("ol.format.ogc.filter.between",function(a,c,d){return new ts(a,c,d)},OPENLAYERS);
  t("ol.format.ogc.filter.like",function(a,c,d,e,f,g){return new us(a,c,d,e,f,g)},OPENLAYERS);t("ol.format.ogc.filter.Filter",fs,OPENLAYERS);t("ol.format.ogc.filter.And",cs,OPENLAYERS);t("ol.format.ogc.filter.Or",is,OPENLAYERS);t("ol.format.ogc.filter.Not",js,OPENLAYERS);t("ol.format.ogc.filter.Bbox",es,OPENLAYERS);t("ol.format.ogc.filter.Comparison",ks,OPENLAYERS);t("ol.format.ogc.filter.ComparisonBinary",ls,OPENLAYERS);t("ol.format.ogc.filter.EqualTo",ms,OPENLAYERS);
  t("ol.format.ogc.filter.NotEqualTo",ns,OPENLAYERS);t("ol.format.ogc.filter.LessThan",os,OPENLAYERS);t("ol.format.ogc.filter.LessThanOrEqualTo",ps,OPENLAYERS);t("ol.format.ogc.filter.GreaterThan",qs,OPENLAYERS);t("ol.format.ogc.filter.GreaterThanOrEqualTo",rs,OPENLAYERS);t("ol.format.ogc.filter.IsNull",ss,OPENLAYERS);t("ol.format.ogc.filter.IsBetween",ts,OPENLAYERS);t("ol.format.ogc.filter.IsLike",us,OPENLAYERS);t("ol.format.GML2",Oo,OPENLAYERS);t("ol.format.GML3",Po,OPENLAYERS);
  Po.prototype.writeGeometryNode=Po.prototype.s;Po.prototype.writeFeatures=Po.prototype.Sb;Po.prototype.writeFeaturesNode=Po.prototype.a;t("ol.format.GML",Po,OPENLAYERS);Po.prototype.writeFeatures=Po.prototype.Sb;Po.prototype.writeFeaturesNode=Po.prototype.a;Bo.prototype.readFeatures=Bo.prototype.Ba;t("ol.events.condition.altKeyOnly",function(a){a=a.originalEvent;return a.altKey&&!(a.metaKey||a.ctrlKey)&&!a.shiftKey},OPENLAYERS);t("ol.events.condition.altShiftKeysOnly",Ei,OPENLAYERS);
  t("ol.events.condition.always",Bc,OPENLAYERS);t("ol.events.condition.click",function(a){return a.type==Ch},OPENLAYERS);t("ol.events.condition.never",Cc,OPENLAYERS);t("ol.events.condition.pointerMove",Gi,OPENLAYERS);t("ol.events.condition.singleClick",Hi,OPENLAYERS);t("ol.events.condition.doubleClick",function(a){return a.type==Dh},OPENLAYERS);t("ol.events.condition.noModifierKeys",Ii,OPENLAYERS);
  t("ol.events.condition.platformModifierKeyOnly",function(a){a=a.originalEvent;return!a.altKey&&(Jg?a.metaKey:a.ctrlKey)&&!a.shiftKey},OPENLAYERS);t("ol.events.condition.shiftKeyOnly",Ji,OPENLAYERS);t("ol.events.condition.targetNotEditable",Ki,OPENLAYERS);t("ol.events.condition.mouseOnly",Li,OPENLAYERS);t("ol.events.condition.primaryAction",Mi,OPENLAYERS);gb.prototype.type=gb.prototype.type;gb.prototype.target=gb.prototype.target;gb.prototype.preventDefault=gb.prototype.preventDefault;
  gb.prototype.stopPropagation=gb.prototype.stopPropagation;t("ol.control.Attribution",bg,OPENLAYERS);t("ol.control.Attribution.render",cg,OPENLAYERS);bg.prototype.getCollapsible=bg.prototype.Sl;bg.prototype.setCollapsible=bg.prototype.Vl;bg.prototype.setCollapsed=bg.prototype.Ul;bg.prototype.getCollapsed=bg.prototype.Rl;t("ol.control.Control",uf,OPENLAYERS);uf.prototype.getMap=uf.prototype.i;uf.prototype.setMap=uf.prototype.setMap;uf.prototype.setTarget=uf.prototype.c;t("ol.control.defaults",hg,OPENLAYERS);
  t("ol.control.FullScreen",ng,OPENLAYERS);t("ol.control.MousePosition",og,OPENLAYERS);t("ol.control.MousePosition.render",pg,OPENLAYERS);og.prototype.getCoordinateFormat=og.prototype.wg;og.prototype.getProjection=og.prototype.ah;og.prototype.setCoordinateFormat=og.prototype.Zh;og.prototype.setProjection=og.prototype.bh;t("ol.control.OverviewMap",En,OPENLAYERS);t("ol.control.OverviewMap.render",Fn,OPENLAYERS);En.prototype.getCollapsible=En.prototype.Yl;En.prototype.setCollapsible=En.prototype.am;
  En.prototype.setCollapsed=En.prototype.$l;En.prototype.getCollapsed=En.prototype.Xl;En.prototype.getOverviewMap=En.prototype.ik;t("ol.control.Rotate",eg,OPENLAYERS);t("ol.control.Rotate.render",fg,OPENLAYERS);t("ol.control.ScaleLine",Jn,OPENLAYERS);Jn.prototype.getUnits=Jn.prototype.ub;t("ol.control.ScaleLine.render",Kn,OPENLAYERS);Jn.prototype.setUnits=Jn.prototype.D;t("ol.control.Zoom",gg,OPENLAYERS);t("ol.control.ZoomSlider",Nn,OPENLAYERS);t("ol.control.ZoomSlider.render",Pn,OPENLAYERS);
  t("ol.control.ZoomToExtent",Sn,OPENLAYERS);t("ol.color.asArray",Fe,OPENLAYERS);t("ol.color.asString",Ie,OPENLAYERS);ve.prototype.type=ve.prototype.type;ve.prototype.target=ve.prototype.target;ve.prototype.preventDefault=ve.prototype.preventDefault;ve.prototype.stopPropagation=ve.prototype.stopPropagation;pb.prototype.changed=pb.prototype.u;pb.prototype.dispatchEvent=pb.prototype.b;pb.prototype.getRevision=pb.prototype.K;pb.prototype.on=pb.prototype.I;pb.prototype.once=pb.prototype.L;
  pb.prototype.un=pb.prototype.J;pb.prototype.unByKey=pb.prototype.M;we.prototype.get=we.prototype.get;we.prototype.getKeys=we.prototype.N;we.prototype.getProperties=we.prototype.O;we.prototype.set=we.prototype.set;we.prototype.setProperties=we.prototype.G;we.prototype.unset=we.prototype.P;we.prototype.changed=we.prototype.u;we.prototype.dispatchEvent=we.prototype.b;we.prototype.getRevision=we.prototype.K;we.prototype.on=we.prototype.I;we.prototype.once=we.prototype.L;we.prototype.un=we.prototype.J;
  we.prototype.unByKey=we.prototype.M;Tn.prototype.get=Tn.prototype.get;Tn.prototype.getKeys=Tn.prototype.N;Tn.prototype.getProperties=Tn.prototype.O;Tn.prototype.set=Tn.prototype.set;Tn.prototype.setProperties=Tn.prototype.G;Tn.prototype.unset=Tn.prototype.P;Tn.prototype.changed=Tn.prototype.u;Tn.prototype.dispatchEvent=Tn.prototype.b;Tn.prototype.getRevision=Tn.prototype.K;Tn.prototype.on=Tn.prototype.I;Tn.prototype.once=Tn.prototype.L;Tn.prototype.un=Tn.prototype.J;Tn.prototype.unByKey=Tn.prototype.M;
  kl.prototype.get=kl.prototype.get;kl.prototype.getKeys=kl.prototype.N;kl.prototype.getProperties=kl.prototype.O;kl.prototype.set=kl.prototype.set;kl.prototype.setProperties=kl.prototype.G;kl.prototype.unset=kl.prototype.P;kl.prototype.changed=kl.prototype.u;kl.prototype.dispatchEvent=kl.prototype.b;kl.prototype.getRevision=kl.prototype.K;kl.prototype.on=kl.prototype.I;kl.prototype.once=kl.prototype.L;kl.prototype.un=kl.prototype.J;kl.prototype.unByKey=kl.prototype.M;xu.prototype.get=xu.prototype.get;
  xu.prototype.getKeys=xu.prototype.N;xu.prototype.getProperties=xu.prototype.O;xu.prototype.set=xu.prototype.set;xu.prototype.setProperties=xu.prototype.G;xu.prototype.unset=xu.prototype.P;xu.prototype.changed=xu.prototype.u;xu.prototype.dispatchEvent=xu.prototype.b;xu.prototype.getRevision=xu.prototype.K;xu.prototype.on=xu.prototype.I;xu.prototype.once=xu.prototype.L;xu.prototype.un=xu.prototype.J;xu.prototype.unByKey=xu.prototype.M;Ju.prototype.getTileCoord=Ju.prototype.i;R.prototype.get=R.prototype.get;
  R.prototype.getKeys=R.prototype.N;R.prototype.getProperties=R.prototype.O;R.prototype.set=R.prototype.set;R.prototype.setProperties=R.prototype.G;R.prototype.unset=R.prototype.P;R.prototype.changed=R.prototype.u;R.prototype.dispatchEvent=R.prototype.b;R.prototype.getRevision=R.prototype.K;R.prototype.on=R.prototype.I;R.prototype.once=R.prototype.L;R.prototype.un=R.prototype.J;R.prototype.unByKey=R.prototype.M;tf.prototype.type=tf.prototype.type;tf.prototype.target=tf.prototype.target;
  tf.prototype.preventDefault=tf.prototype.preventDefault;tf.prototype.stopPropagation=tf.prototype.stopPropagation;yh.prototype.map=yh.prototype.map;yh.prototype.frameState=yh.prototype.frameState;yh.prototype.type=yh.prototype.type;yh.prototype.target=yh.prototype.target;yh.prototype.preventDefault=yh.prototype.preventDefault;yh.prototype.stopPropagation=yh.prototype.stopPropagation;zh.prototype.originalEvent=zh.prototype.originalEvent;zh.prototype.pixel=zh.prototype.pixel;
  zh.prototype.coordinate=zh.prototype.coordinate;zh.prototype.dragging=zh.prototype.dragging;zh.prototype.preventDefault=zh.prototype.preventDefault;zh.prototype.stopPropagation=zh.prototype.stopPropagation;zh.prototype.map=zh.prototype.map;zh.prototype.frameState=zh.prototype.frameState;zh.prototype.type=zh.prototype.type;zh.prototype.target=zh.prototype.target;ob.prototype.type=ob.prototype.type;ob.prototype.target=ob.prototype.target;ob.prototype.preventDefault=ob.prototype.preventDefault;
  ob.prototype.stopPropagation=ob.prototype.stopPropagation;An.prototype.get=An.prototype.get;An.prototype.getKeys=An.prototype.N;An.prototype.getProperties=An.prototype.O;An.prototype.set=An.prototype.set;An.prototype.setProperties=An.prototype.G;An.prototype.unset=An.prototype.P;An.prototype.changed=An.prototype.u;An.prototype.dispatchEvent=An.prototype.b;An.prototype.getRevision=An.prototype.K;An.prototype.on=An.prototype.I;An.prototype.once=An.prototype.L;An.prototype.un=An.prototype.J;
  An.prototype.unByKey=An.prototype.M;ml.prototype.getTileCoord=ml.prototype.i;be.prototype.get=be.prototype.get;be.prototype.getKeys=be.prototype.N;be.prototype.getProperties=be.prototype.O;be.prototype.set=be.prototype.set;be.prototype.setProperties=be.prototype.G;be.prototype.unset=be.prototype.P;be.prototype.changed=be.prototype.u;be.prototype.dispatchEvent=be.prototype.b;be.prototype.getRevision=be.prototype.K;be.prototype.on=be.prototype.I;be.prototype.once=be.prototype.L;be.prototype.un=be.prototype.J;
  be.prototype.unByKey=be.prototype.M;Mw.prototype.getMaxZoom=Mw.prototype.Cg;Mw.prototype.getMinZoom=Mw.prototype.Dg;Mw.prototype.getOrigin=Mw.prototype.Ea;Mw.prototype.getResolution=Mw.prototype.$;Mw.prototype.getResolutions=Mw.prototype.Eh;Mw.prototype.getTileCoordExtent=Mw.prototype.Aa;Mw.prototype.getTileCoordForCoordAndResolution=Mw.prototype.Td;Mw.prototype.getTileCoordForCoordAndZ=Mw.prototype.kd;Mw.prototype.getTileSize=Mw.prototype.Ga;Uj.prototype.getOpacity=Uj.prototype.le;
  Uj.prototype.getRotateWithView=Uj.prototype.Rd;Uj.prototype.getRotation=Uj.prototype.me;Uj.prototype.getScale=Uj.prototype.ne;Uj.prototype.getSnapToPixel=Uj.prototype.Sd;Uj.prototype.setOpacity=Uj.prototype.oe;Uj.prototype.setRotation=Uj.prototype.pe;Uj.prototype.setScale=Uj.prototype.qe;gi.prototype.getOpacity=gi.prototype.le;gi.prototype.getRotateWithView=gi.prototype.Rd;gi.prototype.getRotation=gi.prototype.me;gi.prototype.getScale=gi.prototype.ne;gi.prototype.getSnapToPixel=gi.prototype.Sd;
  gi.prototype.setOpacity=gi.prototype.oe;gi.prototype.setRotation=gi.prototype.pe;gi.prototype.setScale=gi.prototype.qe;Vw.prototype.getOpacity=Vw.prototype.le;Vw.prototype.getRotateWithView=Vw.prototype.Rd;Vw.prototype.getRotation=Vw.prototype.me;Vw.prototype.getScale=Vw.prototype.ne;Vw.prototype.getSnapToPixel=Vw.prototype.Sd;Vw.prototype.setOpacity=Vw.prototype.oe;Vw.prototype.setRotation=Vw.prototype.pe;Vw.prototype.setScale=Vw.prototype.qe;Gf.prototype.get=Gf.prototype.get;
  Gf.prototype.getKeys=Gf.prototype.N;Gf.prototype.getProperties=Gf.prototype.O;Gf.prototype.set=Gf.prototype.set;Gf.prototype.setProperties=Gf.prototype.G;Gf.prototype.unset=Gf.prototype.P;Gf.prototype.changed=Gf.prototype.u;Gf.prototype.dispatchEvent=Gf.prototype.b;Gf.prototype.getRevision=Gf.prototype.K;Gf.prototype.on=Gf.prototype.I;Gf.prototype.once=Gf.prototype.L;Gf.prototype.un=Gf.prototype.J;Gf.prototype.unByKey=Gf.prototype.M;Xf.prototype.getAttributions=Xf.prototype.qa;
  Xf.prototype.getLogo=Xf.prototype.pa;Xf.prototype.getProjection=Xf.prototype.ra;Xf.prototype.getState=Xf.prototype.V;Xf.prototype.refresh=Xf.prototype.oa;Xf.prototype.setAttributions=Xf.prototype.ja;Xf.prototype.get=Xf.prototype.get;Xf.prototype.getKeys=Xf.prototype.N;Xf.prototype.getProperties=Xf.prototype.O;Xf.prototype.set=Xf.prototype.set;Xf.prototype.setProperties=Xf.prototype.G;Xf.prototype.unset=Xf.prototype.P;Xf.prototype.changed=Xf.prototype.u;Xf.prototype.dispatchEvent=Xf.prototype.b;
  Xf.prototype.getRevision=Xf.prototype.K;Xf.prototype.on=Xf.prototype.I;Xf.prototype.once=Xf.prototype.L;Xf.prototype.un=Xf.prototype.J;Xf.prototype.unByKey=Xf.prototype.M;lm.prototype.getTileGrid=lm.prototype.Fa;lm.prototype.refresh=lm.prototype.oa;lm.prototype.getAttributions=lm.prototype.qa;lm.prototype.getLogo=lm.prototype.pa;lm.prototype.getProjection=lm.prototype.ra;lm.prototype.getState=lm.prototype.V;lm.prototype.setAttributions=lm.prototype.ja;lm.prototype.get=lm.prototype.get;
  lm.prototype.getKeys=lm.prototype.N;lm.prototype.getProperties=lm.prototype.O;lm.prototype.set=lm.prototype.set;lm.prototype.setProperties=lm.prototype.G;lm.prototype.unset=lm.prototype.P;lm.prototype.changed=lm.prototype.u;lm.prototype.dispatchEvent=lm.prototype.b;lm.prototype.getRevision=lm.prototype.K;lm.prototype.on=lm.prototype.I;lm.prototype.once=lm.prototype.L;lm.prototype.un=lm.prototype.J;lm.prototype.unByKey=lm.prototype.M;W.prototype.getTileLoadFunction=W.prototype.Va;
  W.prototype.getTileUrlFunction=W.prototype.Wa;W.prototype.getUrls=W.prototype.Xa;W.prototype.setTileLoadFunction=W.prototype.bb;W.prototype.setTileUrlFunction=W.prototype.Ka;W.prototype.setUrl=W.prototype.Ma;W.prototype.setUrls=W.prototype.Sa;W.prototype.getTileGrid=W.prototype.Fa;W.prototype.refresh=W.prototype.oa;W.prototype.getAttributions=W.prototype.qa;W.prototype.getLogo=W.prototype.pa;W.prototype.getProjection=W.prototype.ra;W.prototype.getState=W.prototype.V;W.prototype.setAttributions=W.prototype.ja;
  W.prototype.get=W.prototype.get;W.prototype.getKeys=W.prototype.N;W.prototype.getProperties=W.prototype.O;W.prototype.set=W.prototype.set;W.prototype.setProperties=W.prototype.G;W.prototype.unset=W.prototype.P;W.prototype.changed=W.prototype.u;W.prototype.dispatchEvent=W.prototype.b;W.prototype.getRevision=W.prototype.K;W.prototype.on=W.prototype.I;W.prototype.once=W.prototype.L;W.prototype.un=W.prototype.J;W.prototype.unByKey=W.prototype.M;Tv.prototype.setRenderReprojectionEdges=Tv.prototype.kb;
  Tv.prototype.setTileGridForProjection=Tv.prototype.lb;Tv.prototype.getTileLoadFunction=Tv.prototype.Va;Tv.prototype.getTileUrlFunction=Tv.prototype.Wa;Tv.prototype.getUrls=Tv.prototype.Xa;Tv.prototype.setTileLoadFunction=Tv.prototype.bb;Tv.prototype.setTileUrlFunction=Tv.prototype.Ka;Tv.prototype.setUrl=Tv.prototype.Ma;Tv.prototype.setUrls=Tv.prototype.Sa;Tv.prototype.getTileGrid=Tv.prototype.Fa;Tv.prototype.refresh=Tv.prototype.oa;Tv.prototype.getAttributions=Tv.prototype.qa;
  Tv.prototype.getLogo=Tv.prototype.pa;Tv.prototype.getProjection=Tv.prototype.ra;Tv.prototype.getState=Tv.prototype.V;Tv.prototype.setAttributions=Tv.prototype.ja;Tv.prototype.get=Tv.prototype.get;Tv.prototype.getKeys=Tv.prototype.N;Tv.prototype.getProperties=Tv.prototype.O;Tv.prototype.set=Tv.prototype.set;Tv.prototype.setProperties=Tv.prototype.G;Tv.prototype.unset=Tv.prototype.P;Tv.prototype.changed=Tv.prototype.u;Tv.prototype.dispatchEvent=Tv.prototype.b;Tv.prototype.getRevision=Tv.prototype.K;
  Tv.prototype.on=Tv.prototype.I;Tv.prototype.once=Tv.prototype.L;Tv.prototype.un=Tv.prototype.J;Tv.prototype.unByKey=Tv.prototype.M;Vv.prototype.setRenderReprojectionEdges=Vv.prototype.kb;Vv.prototype.setTileGridForProjection=Vv.prototype.lb;Vv.prototype.getTileLoadFunction=Vv.prototype.Va;Vv.prototype.getTileUrlFunction=Vv.prototype.Wa;Vv.prototype.getUrls=Vv.prototype.Xa;Vv.prototype.setTileLoadFunction=Vv.prototype.bb;Vv.prototype.setTileUrlFunction=Vv.prototype.Ka;Vv.prototype.setUrl=Vv.prototype.Ma;
  Vv.prototype.setUrls=Vv.prototype.Sa;Vv.prototype.getTileGrid=Vv.prototype.Fa;Vv.prototype.refresh=Vv.prototype.oa;Vv.prototype.getAttributions=Vv.prototype.qa;Vv.prototype.getLogo=Vv.prototype.pa;Vv.prototype.getProjection=Vv.prototype.ra;Vv.prototype.getState=Vv.prototype.V;Vv.prototype.setAttributions=Vv.prototype.ja;Vv.prototype.get=Vv.prototype.get;Vv.prototype.getKeys=Vv.prototype.N;Vv.prototype.getProperties=Vv.prototype.O;Vv.prototype.set=Vv.prototype.set;Vv.prototype.setProperties=Vv.prototype.G;
  Vv.prototype.unset=Vv.prototype.P;Vv.prototype.changed=Vv.prototype.u;Vv.prototype.dispatchEvent=Vv.prototype.b;Vv.prototype.getRevision=Vv.prototype.K;Vv.prototype.on=Vv.prototype.I;Vv.prototype.once=Vv.prototype.L;Vv.prototype.un=Vv.prototype.J;Vv.prototype.unByKey=Vv.prototype.M;Wv.prototype.setRenderReprojectionEdges=Wv.prototype.kb;Wv.prototype.setTileGridForProjection=Wv.prototype.lb;Wv.prototype.getTileLoadFunction=Wv.prototype.Va;Wv.prototype.getTileUrlFunction=Wv.prototype.Wa;
  Wv.prototype.getUrls=Wv.prototype.Xa;Wv.prototype.setTileLoadFunction=Wv.prototype.bb;Wv.prototype.setTileUrlFunction=Wv.prototype.Ka;Wv.prototype.setUrl=Wv.prototype.Ma;Wv.prototype.setUrls=Wv.prototype.Sa;Wv.prototype.getTileGrid=Wv.prototype.Fa;Wv.prototype.refresh=Wv.prototype.oa;Wv.prototype.getAttributions=Wv.prototype.qa;Wv.prototype.getLogo=Wv.prototype.pa;Wv.prototype.getProjection=Wv.prototype.ra;Wv.prototype.getState=Wv.prototype.V;Wv.prototype.setAttributions=Wv.prototype.ja;
  Wv.prototype.get=Wv.prototype.get;Wv.prototype.getKeys=Wv.prototype.N;Wv.prototype.getProperties=Wv.prototype.O;Wv.prototype.set=Wv.prototype.set;Wv.prototype.setProperties=Wv.prototype.G;Wv.prototype.unset=Wv.prototype.P;Wv.prototype.changed=Wv.prototype.u;Wv.prototype.dispatchEvent=Wv.prototype.b;Wv.prototype.getRevision=Wv.prototype.K;Wv.prototype.on=Wv.prototype.I;Wv.prototype.once=Wv.prototype.L;Wv.prototype.un=Wv.prototype.J;Wv.prototype.unByKey=Wv.prototype.M;Q.prototype.getAttributions=Q.prototype.qa;
  Q.prototype.getLogo=Q.prototype.pa;Q.prototype.getProjection=Q.prototype.ra;Q.prototype.getState=Q.prototype.V;Q.prototype.refresh=Q.prototype.oa;Q.prototype.setAttributions=Q.prototype.ja;Q.prototype.get=Q.prototype.get;Q.prototype.getKeys=Q.prototype.N;Q.prototype.getProperties=Q.prototype.O;Q.prototype.set=Q.prototype.set;Q.prototype.setProperties=Q.prototype.G;Q.prototype.unset=Q.prototype.P;Q.prototype.changed=Q.prototype.u;Q.prototype.dispatchEvent=Q.prototype.b;Q.prototype.getRevision=Q.prototype.K;
  Q.prototype.on=Q.prototype.I;Q.prototype.once=Q.prototype.L;Q.prototype.un=Q.prototype.J;Q.prototype.unByKey=Q.prototype.M;X.prototype.addFeature=X.prototype.pb;X.prototype.addFeatures=X.prototype.Ec;X.prototype.clear=X.prototype.clear;X.prototype.forEachFeature=X.prototype.rg;X.prototype.forEachFeatureInExtent=X.prototype.sb;X.prototype.forEachFeatureIntersectingExtent=X.prototype.sg;X.prototype.getFeaturesCollection=X.prototype.zg;X.prototype.getFeatures=X.prototype.je;
  X.prototype.getFeaturesAtCoordinate=X.prototype.yg;X.prototype.getFeaturesInExtent=X.prototype.$e;X.prototype.getClosestFeatureToCoordinate=X.prototype.ug;X.prototype.getExtent=X.prototype.H;X.prototype.getFeatureById=X.prototype.xg;X.prototype.getFormat=X.prototype.wh;X.prototype.getUrl=X.prototype.xh;X.prototype.removeFeature=X.prototype.jb;X.prototype.getAttributions=X.prototype.qa;X.prototype.getLogo=X.prototype.pa;X.prototype.getProjection=X.prototype.ra;X.prototype.getState=X.prototype.V;
  X.prototype.refresh=X.prototype.oa;X.prototype.setAttributions=X.prototype.ja;X.prototype.get=X.prototype.get;X.prototype.getKeys=X.prototype.N;X.prototype.getProperties=X.prototype.O;X.prototype.set=X.prototype.set;X.prototype.setProperties=X.prototype.G;X.prototype.unset=X.prototype.P;X.prototype.changed=X.prototype.u;X.prototype.dispatchEvent=X.prototype.b;X.prototype.getRevision=X.prototype.K;X.prototype.on=X.prototype.I;X.prototype.once=X.prototype.L;X.prototype.un=X.prototype.J;
  X.prototype.unByKey=X.prototype.M;cl.prototype.getAttributions=cl.prototype.qa;cl.prototype.getLogo=cl.prototype.pa;cl.prototype.getProjection=cl.prototype.ra;cl.prototype.getState=cl.prototype.V;cl.prototype.refresh=cl.prototype.oa;cl.prototype.setAttributions=cl.prototype.ja;cl.prototype.get=cl.prototype.get;cl.prototype.getKeys=cl.prototype.N;cl.prototype.getProperties=cl.prototype.O;cl.prototype.set=cl.prototype.set;cl.prototype.setProperties=cl.prototype.G;cl.prototype.unset=cl.prototype.P;
  cl.prototype.changed=cl.prototype.u;cl.prototype.dispatchEvent=cl.prototype.b;cl.prototype.getRevision=cl.prototype.K;cl.prototype.on=cl.prototype.I;cl.prototype.once=cl.prototype.L;cl.prototype.un=cl.prototype.J;cl.prototype.unByKey=cl.prototype.M;bw.prototype.getAttributions=bw.prototype.qa;bw.prototype.getLogo=bw.prototype.pa;bw.prototype.getProjection=bw.prototype.ra;bw.prototype.getState=bw.prototype.V;bw.prototype.refresh=bw.prototype.oa;bw.prototype.setAttributions=bw.prototype.ja;
  bw.prototype.get=bw.prototype.get;bw.prototype.getKeys=bw.prototype.N;bw.prototype.getProperties=bw.prototype.O;bw.prototype.set=bw.prototype.set;bw.prototype.setProperties=bw.prototype.G;bw.prototype.unset=bw.prototype.P;bw.prototype.changed=bw.prototype.u;bw.prototype.dispatchEvent=bw.prototype.b;bw.prototype.getRevision=bw.prototype.K;bw.prototype.on=bw.prototype.I;bw.prototype.once=bw.prototype.L;bw.prototype.un=bw.prototype.J;bw.prototype.unByKey=bw.prototype.M;jl.prototype.getAttributions=jl.prototype.qa;
  jl.prototype.getLogo=jl.prototype.pa;jl.prototype.getProjection=jl.prototype.ra;jl.prototype.getState=jl.prototype.V;jl.prototype.refresh=jl.prototype.oa;jl.prototype.setAttributions=jl.prototype.ja;jl.prototype.get=jl.prototype.get;jl.prototype.getKeys=jl.prototype.N;jl.prototype.getProperties=jl.prototype.O;jl.prototype.set=jl.prototype.set;jl.prototype.setProperties=jl.prototype.G;jl.prototype.unset=jl.prototype.P;jl.prototype.changed=jl.prototype.u;jl.prototype.dispatchEvent=jl.prototype.b;
  jl.prototype.getRevision=jl.prototype.K;jl.prototype.on=jl.prototype.I;jl.prototype.once=jl.prototype.L;jl.prototype.un=jl.prototype.J;jl.prototype.unByKey=jl.prototype.M;cw.prototype.getAttributions=cw.prototype.qa;cw.prototype.getLogo=cw.prototype.pa;cw.prototype.getProjection=cw.prototype.ra;cw.prototype.getState=cw.prototype.V;cw.prototype.refresh=cw.prototype.oa;cw.prototype.setAttributions=cw.prototype.ja;cw.prototype.get=cw.prototype.get;cw.prototype.getKeys=cw.prototype.N;
  cw.prototype.getProperties=cw.prototype.O;cw.prototype.set=cw.prototype.set;cw.prototype.setProperties=cw.prototype.G;cw.prototype.unset=cw.prototype.P;cw.prototype.changed=cw.prototype.u;cw.prototype.dispatchEvent=cw.prototype.b;cw.prototype.getRevision=cw.prototype.K;cw.prototype.on=cw.prototype.I;cw.prototype.once=cw.prototype.L;cw.prototype.un=cw.prototype.J;cw.prototype.unByKey=cw.prototype.M;el.prototype.type=el.prototype.type;el.prototype.target=el.prototype.target;
  el.prototype.preventDefault=el.prototype.preventDefault;el.prototype.stopPropagation=el.prototype.stopPropagation;dw.prototype.getAttributions=dw.prototype.qa;dw.prototype.getLogo=dw.prototype.pa;dw.prototype.getProjection=dw.prototype.ra;dw.prototype.getState=dw.prototype.V;dw.prototype.refresh=dw.prototype.oa;dw.prototype.setAttributions=dw.prototype.ja;dw.prototype.get=dw.prototype.get;dw.prototype.getKeys=dw.prototype.N;dw.prototype.getProperties=dw.prototype.O;dw.prototype.set=dw.prototype.set;
  dw.prototype.setProperties=dw.prototype.G;dw.prototype.unset=dw.prototype.P;dw.prototype.changed=dw.prototype.u;dw.prototype.dispatchEvent=dw.prototype.b;dw.prototype.getRevision=dw.prototype.K;dw.prototype.on=dw.prototype.I;dw.prototype.once=dw.prototype.L;dw.prototype.un=dw.prototype.J;dw.prototype.unByKey=dw.prototype.M;am.prototype.getAttributions=am.prototype.qa;am.prototype.getLogo=am.prototype.pa;am.prototype.getProjection=am.prototype.ra;am.prototype.getState=am.prototype.V;
  am.prototype.refresh=am.prototype.oa;am.prototype.setAttributions=am.prototype.ja;am.prototype.get=am.prototype.get;am.prototype.getKeys=am.prototype.N;am.prototype.getProperties=am.prototype.O;am.prototype.set=am.prototype.set;am.prototype.setProperties=am.prototype.G;am.prototype.unset=am.prototype.P;am.prototype.changed=am.prototype.u;am.prototype.dispatchEvent=am.prototype.b;am.prototype.getRevision=am.prototype.K;am.prototype.on=am.prototype.I;am.prototype.once=am.prototype.L;
  am.prototype.un=am.prototype.J;am.prototype.unByKey=am.prototype.M;ew.prototype.getAttributions=ew.prototype.qa;ew.prototype.getLogo=ew.prototype.pa;ew.prototype.getProjection=ew.prototype.ra;ew.prototype.getState=ew.prototype.V;ew.prototype.refresh=ew.prototype.oa;ew.prototype.setAttributions=ew.prototype.ja;ew.prototype.get=ew.prototype.get;ew.prototype.getKeys=ew.prototype.N;ew.prototype.getProperties=ew.prototype.O;ew.prototype.set=ew.prototype.set;ew.prototype.setProperties=ew.prototype.G;
  ew.prototype.unset=ew.prototype.P;ew.prototype.changed=ew.prototype.u;ew.prototype.dispatchEvent=ew.prototype.b;ew.prototype.getRevision=ew.prototype.K;ew.prototype.on=ew.prototype.I;ew.prototype.once=ew.prototype.L;ew.prototype.un=ew.prototype.J;ew.prototype.unByKey=ew.prototype.M;kw.prototype.setRenderReprojectionEdges=kw.prototype.kb;kw.prototype.setTileGridForProjection=kw.prototype.lb;kw.prototype.getTileLoadFunction=kw.prototype.Va;kw.prototype.getTileUrlFunction=kw.prototype.Wa;
  kw.prototype.getUrls=kw.prototype.Xa;kw.prototype.setTileLoadFunction=kw.prototype.bb;kw.prototype.setTileUrlFunction=kw.prototype.Ka;kw.prototype.setUrl=kw.prototype.Ma;kw.prototype.setUrls=kw.prototype.Sa;kw.prototype.getTileGrid=kw.prototype.Fa;kw.prototype.refresh=kw.prototype.oa;kw.prototype.getAttributions=kw.prototype.qa;kw.prototype.getLogo=kw.prototype.pa;kw.prototype.getProjection=kw.prototype.ra;kw.prototype.getState=kw.prototype.V;kw.prototype.setAttributions=kw.prototype.ja;
  kw.prototype.get=kw.prototype.get;kw.prototype.getKeys=kw.prototype.N;kw.prototype.getProperties=kw.prototype.O;kw.prototype.set=kw.prototype.set;kw.prototype.setProperties=kw.prototype.G;kw.prototype.unset=kw.prototype.P;kw.prototype.changed=kw.prototype.u;kw.prototype.dispatchEvent=kw.prototype.b;kw.prototype.getRevision=kw.prototype.K;kw.prototype.on=kw.prototype.I;kw.prototype.once=kw.prototype.L;kw.prototype.un=kw.prototype.J;kw.prototype.unByKey=kw.prototype.M;
  iw.prototype.setRenderReprojectionEdges=iw.prototype.kb;iw.prototype.setTileGridForProjection=iw.prototype.lb;iw.prototype.getTileLoadFunction=iw.prototype.Va;iw.prototype.getTileUrlFunction=iw.prototype.Wa;iw.prototype.getUrls=iw.prototype.Xa;iw.prototype.setTileLoadFunction=iw.prototype.bb;iw.prototype.setTileUrlFunction=iw.prototype.Ka;iw.prototype.setUrl=iw.prototype.Ma;iw.prototype.setUrls=iw.prototype.Sa;iw.prototype.getTileGrid=iw.prototype.Fa;iw.prototype.refresh=iw.prototype.oa;
  iw.prototype.getAttributions=iw.prototype.qa;iw.prototype.getLogo=iw.prototype.pa;iw.prototype.getProjection=iw.prototype.ra;iw.prototype.getState=iw.prototype.V;iw.prototype.setAttributions=iw.prototype.ja;iw.prototype.get=iw.prototype.get;iw.prototype.getKeys=iw.prototype.N;iw.prototype.getProperties=iw.prototype.O;iw.prototype.set=iw.prototype.set;iw.prototype.setProperties=iw.prototype.G;iw.prototype.unset=iw.prototype.P;iw.prototype.changed=iw.prototype.u;iw.prototype.dispatchEvent=iw.prototype.b;
  iw.prototype.getRevision=iw.prototype.K;iw.prototype.on=iw.prototype.I;iw.prototype.once=iw.prototype.L;iw.prototype.un=iw.prototype.J;iw.prototype.unByKey=iw.prototype.M;nw.prototype.getAttributions=nw.prototype.qa;nw.prototype.getLogo=nw.prototype.pa;nw.prototype.getProjection=nw.prototype.ra;nw.prototype.getState=nw.prototype.V;nw.prototype.refresh=nw.prototype.oa;nw.prototype.setAttributions=nw.prototype.ja;nw.prototype.get=nw.prototype.get;nw.prototype.getKeys=nw.prototype.N;
  nw.prototype.getProperties=nw.prototype.O;nw.prototype.set=nw.prototype.set;nw.prototype.setProperties=nw.prototype.G;nw.prototype.unset=nw.prototype.P;nw.prototype.changed=nw.prototype.u;nw.prototype.dispatchEvent=nw.prototype.b;nw.prototype.getRevision=nw.prototype.K;nw.prototype.on=nw.prototype.I;nw.prototype.once=nw.prototype.L;nw.prototype.un=nw.prototype.J;nw.prototype.unByKey=nw.prototype.M;sw.prototype.type=sw.prototype.type;sw.prototype.target=sw.prototype.target;
  sw.prototype.preventDefault=sw.prototype.preventDefault;sw.prototype.stopPropagation=sw.prototype.stopPropagation;xw.prototype.setRenderReprojectionEdges=xw.prototype.kb;xw.prototype.setTileGridForProjection=xw.prototype.lb;xw.prototype.getTileLoadFunction=xw.prototype.Va;xw.prototype.getTileUrlFunction=xw.prototype.Wa;xw.prototype.getUrls=xw.prototype.Xa;xw.prototype.setTileLoadFunction=xw.prototype.bb;xw.prototype.setTileUrlFunction=xw.prototype.Ka;xw.prototype.setUrl=xw.prototype.Ma;
  xw.prototype.setUrls=xw.prototype.Sa;xw.prototype.getTileGrid=xw.prototype.Fa;xw.prototype.refresh=xw.prototype.oa;xw.prototype.getAttributions=xw.prototype.qa;xw.prototype.getLogo=xw.prototype.pa;xw.prototype.getProjection=xw.prototype.ra;xw.prototype.getState=xw.prototype.V;xw.prototype.setAttributions=xw.prototype.ja;xw.prototype.get=xw.prototype.get;xw.prototype.getKeys=xw.prototype.N;xw.prototype.getProperties=xw.prototype.O;xw.prototype.set=xw.prototype.set;xw.prototype.setProperties=xw.prototype.G;
  xw.prototype.unset=xw.prototype.P;xw.prototype.changed=xw.prototype.u;xw.prototype.dispatchEvent=xw.prototype.b;xw.prototype.getRevision=xw.prototype.K;xw.prototype.on=xw.prototype.I;xw.prototype.once=xw.prototype.L;xw.prototype.un=xw.prototype.J;xw.prototype.unByKey=xw.prototype.M;zw.prototype.setRenderReprojectionEdges=zw.prototype.kb;zw.prototype.setTileGridForProjection=zw.prototype.lb;zw.prototype.getTileLoadFunction=zw.prototype.Va;zw.prototype.getTileUrlFunction=zw.prototype.Wa;
  zw.prototype.getUrls=zw.prototype.Xa;zw.prototype.setTileLoadFunction=zw.prototype.bb;zw.prototype.setTileUrlFunction=zw.prototype.Ka;zw.prototype.setUrl=zw.prototype.Ma;zw.prototype.setUrls=zw.prototype.Sa;zw.prototype.getTileGrid=zw.prototype.Fa;zw.prototype.refresh=zw.prototype.oa;zw.prototype.getAttributions=zw.prototype.qa;zw.prototype.getLogo=zw.prototype.pa;zw.prototype.getProjection=zw.prototype.ra;zw.prototype.getState=zw.prototype.V;zw.prototype.setAttributions=zw.prototype.ja;
  zw.prototype.get=zw.prototype.get;zw.prototype.getKeys=zw.prototype.N;zw.prototype.getProperties=zw.prototype.O;zw.prototype.set=zw.prototype.set;zw.prototype.setProperties=zw.prototype.G;zw.prototype.unset=zw.prototype.P;zw.prototype.changed=zw.prototype.u;zw.prototype.dispatchEvent=zw.prototype.b;zw.prototype.getRevision=zw.prototype.K;zw.prototype.on=zw.prototype.I;zw.prototype.once=zw.prototype.L;zw.prototype.un=zw.prototype.J;zw.prototype.unByKey=zw.prototype.M;Bw.prototype.getTileGrid=Bw.prototype.Fa;
  Bw.prototype.refresh=Bw.prototype.oa;Bw.prototype.getAttributions=Bw.prototype.qa;Bw.prototype.getLogo=Bw.prototype.pa;Bw.prototype.getProjection=Bw.prototype.ra;Bw.prototype.getState=Bw.prototype.V;Bw.prototype.setAttributions=Bw.prototype.ja;Bw.prototype.get=Bw.prototype.get;Bw.prototype.getKeys=Bw.prototype.N;Bw.prototype.getProperties=Bw.prototype.O;Bw.prototype.set=Bw.prototype.set;Bw.prototype.setProperties=Bw.prototype.G;Bw.prototype.unset=Bw.prototype.P;Bw.prototype.changed=Bw.prototype.u;
  Bw.prototype.dispatchEvent=Bw.prototype.b;Bw.prototype.getRevision=Bw.prototype.K;Bw.prototype.on=Bw.prototype.I;Bw.prototype.once=Bw.prototype.L;Bw.prototype.un=Bw.prototype.J;Bw.prototype.unByKey=Bw.prototype.M;Cw.prototype.setRenderReprojectionEdges=Cw.prototype.kb;Cw.prototype.setTileGridForProjection=Cw.prototype.lb;Cw.prototype.getTileLoadFunction=Cw.prototype.Va;Cw.prototype.getTileUrlFunction=Cw.prototype.Wa;Cw.prototype.getUrls=Cw.prototype.Xa;Cw.prototype.setTileLoadFunction=Cw.prototype.bb;
  Cw.prototype.setTileUrlFunction=Cw.prototype.Ka;Cw.prototype.setUrl=Cw.prototype.Ma;Cw.prototype.setUrls=Cw.prototype.Sa;Cw.prototype.getTileGrid=Cw.prototype.Fa;Cw.prototype.refresh=Cw.prototype.oa;Cw.prototype.getAttributions=Cw.prototype.qa;Cw.prototype.getLogo=Cw.prototype.pa;Cw.prototype.getProjection=Cw.prototype.ra;Cw.prototype.getState=Cw.prototype.V;Cw.prototype.setAttributions=Cw.prototype.ja;Cw.prototype.get=Cw.prototype.get;Cw.prototype.getKeys=Cw.prototype.N;
  Cw.prototype.getProperties=Cw.prototype.O;Cw.prototype.set=Cw.prototype.set;Cw.prototype.setProperties=Cw.prototype.G;Cw.prototype.unset=Cw.prototype.P;Cw.prototype.changed=Cw.prototype.u;Cw.prototype.dispatchEvent=Cw.prototype.b;Cw.prototype.getRevision=Cw.prototype.K;Cw.prototype.on=Cw.prototype.I;Cw.prototype.once=Cw.prototype.L;Cw.prototype.un=Cw.prototype.J;Cw.prototype.unByKey=Cw.prototype.M;ag.prototype.type=ag.prototype.type;ag.prototype.target=ag.prototype.target;
  ag.prototype.preventDefault=ag.prototype.preventDefault;ag.prototype.stopPropagation=ag.prototype.stopPropagation;Dw.prototype.getTileGrid=Dw.prototype.Fa;Dw.prototype.refresh=Dw.prototype.oa;Dw.prototype.getAttributions=Dw.prototype.qa;Dw.prototype.getLogo=Dw.prototype.pa;Dw.prototype.getProjection=Dw.prototype.ra;Dw.prototype.getState=Dw.prototype.V;Dw.prototype.setAttributions=Dw.prototype.ja;Dw.prototype.get=Dw.prototype.get;Dw.prototype.getKeys=Dw.prototype.N;Dw.prototype.getProperties=Dw.prototype.O;
  Dw.prototype.set=Dw.prototype.set;Dw.prototype.setProperties=Dw.prototype.G;Dw.prototype.unset=Dw.prototype.P;Dw.prototype.changed=Dw.prototype.u;Dw.prototype.dispatchEvent=Dw.prototype.b;Dw.prototype.getRevision=Dw.prototype.K;Dw.prototype.on=Dw.prototype.I;Dw.prototype.once=Dw.prototype.L;Dw.prototype.un=Dw.prototype.J;Dw.prototype.unByKey=Dw.prototype.M;Hw.prototype.setRenderReprojectionEdges=Hw.prototype.kb;Hw.prototype.setTileGridForProjection=Hw.prototype.lb;
  Hw.prototype.getTileLoadFunction=Hw.prototype.Va;Hw.prototype.getTileUrlFunction=Hw.prototype.Wa;Hw.prototype.getUrls=Hw.prototype.Xa;Hw.prototype.setTileLoadFunction=Hw.prototype.bb;Hw.prototype.setTileUrlFunction=Hw.prototype.Ka;Hw.prototype.setUrl=Hw.prototype.Ma;Hw.prototype.setUrls=Hw.prototype.Sa;Hw.prototype.getTileGrid=Hw.prototype.Fa;Hw.prototype.refresh=Hw.prototype.oa;Hw.prototype.getAttributions=Hw.prototype.qa;Hw.prototype.getLogo=Hw.prototype.pa;Hw.prototype.getProjection=Hw.prototype.ra;
  Hw.prototype.getState=Hw.prototype.V;Hw.prototype.setAttributions=Hw.prototype.ja;Hw.prototype.get=Hw.prototype.get;Hw.prototype.getKeys=Hw.prototype.N;Hw.prototype.getProperties=Hw.prototype.O;Hw.prototype.set=Hw.prototype.set;Hw.prototype.setProperties=Hw.prototype.G;Hw.prototype.unset=Hw.prototype.P;Hw.prototype.changed=Hw.prototype.u;Hw.prototype.dispatchEvent=Hw.prototype.b;Hw.prototype.getRevision=Hw.prototype.K;Hw.prototype.on=Hw.prototype.I;Hw.prototype.once=Hw.prototype.L;
  Hw.prototype.un=Hw.prototype.J;Hw.prototype.unByKey=Hw.prototype.M;Yl.prototype.type=Yl.prototype.type;Yl.prototype.target=Yl.prototype.target;Yl.prototype.preventDefault=Yl.prototype.preventDefault;Yl.prototype.stopPropagation=Yl.prototype.stopPropagation;mm.prototype.getTileLoadFunction=mm.prototype.Va;mm.prototype.getTileUrlFunction=mm.prototype.Wa;mm.prototype.getUrls=mm.prototype.Xa;mm.prototype.setTileLoadFunction=mm.prototype.bb;mm.prototype.setTileUrlFunction=mm.prototype.Ka;
  mm.prototype.setUrl=mm.prototype.Ma;mm.prototype.setUrls=mm.prototype.Sa;mm.prototype.getTileGrid=mm.prototype.Fa;mm.prototype.refresh=mm.prototype.oa;mm.prototype.getAttributions=mm.prototype.qa;mm.prototype.getLogo=mm.prototype.pa;mm.prototype.getProjection=mm.prototype.ra;mm.prototype.getState=mm.prototype.V;mm.prototype.setAttributions=mm.prototype.ja;mm.prototype.get=mm.prototype.get;mm.prototype.getKeys=mm.prototype.N;mm.prototype.getProperties=mm.prototype.O;mm.prototype.set=mm.prototype.set;
  mm.prototype.setProperties=mm.prototype.G;mm.prototype.unset=mm.prototype.P;mm.prototype.changed=mm.prototype.u;mm.prototype.dispatchEvent=mm.prototype.b;mm.prototype.getRevision=mm.prototype.K;mm.prototype.on=mm.prototype.I;mm.prototype.once=mm.prototype.L;mm.prototype.un=mm.prototype.J;mm.prototype.unByKey=mm.prototype.M;Z.prototype.setRenderReprojectionEdges=Z.prototype.kb;Z.prototype.setTileGridForProjection=Z.prototype.lb;Z.prototype.getTileLoadFunction=Z.prototype.Va;
  Z.prototype.getTileUrlFunction=Z.prototype.Wa;Z.prototype.getUrls=Z.prototype.Xa;Z.prototype.setTileLoadFunction=Z.prototype.bb;Z.prototype.setTileUrlFunction=Z.prototype.Ka;Z.prototype.setUrl=Z.prototype.Ma;Z.prototype.setUrls=Z.prototype.Sa;Z.prototype.getTileGrid=Z.prototype.Fa;Z.prototype.refresh=Z.prototype.oa;Z.prototype.getAttributions=Z.prototype.qa;Z.prototype.getLogo=Z.prototype.pa;Z.prototype.getProjection=Z.prototype.ra;Z.prototype.getState=Z.prototype.V;Z.prototype.setAttributions=Z.prototype.ja;
  Z.prototype.get=Z.prototype.get;Z.prototype.getKeys=Z.prototype.N;Z.prototype.getProperties=Z.prototype.O;Z.prototype.set=Z.prototype.set;Z.prototype.setProperties=Z.prototype.G;Z.prototype.unset=Z.prototype.P;Z.prototype.changed=Z.prototype.u;Z.prototype.dispatchEvent=Z.prototype.b;Z.prototype.getRevision=Z.prototype.K;Z.prototype.on=Z.prototype.I;Z.prototype.once=Z.prototype.L;Z.prototype.un=Z.prototype.J;Z.prototype.unByKey=Z.prototype.M;Pw.prototype.setRenderReprojectionEdges=Pw.prototype.kb;
  Pw.prototype.setTileGridForProjection=Pw.prototype.lb;Pw.prototype.getTileLoadFunction=Pw.prototype.Va;Pw.prototype.getTileUrlFunction=Pw.prototype.Wa;Pw.prototype.getUrls=Pw.prototype.Xa;Pw.prototype.setTileLoadFunction=Pw.prototype.bb;Pw.prototype.setTileUrlFunction=Pw.prototype.Ka;Pw.prototype.setUrl=Pw.prototype.Ma;Pw.prototype.setUrls=Pw.prototype.Sa;Pw.prototype.getTileGrid=Pw.prototype.Fa;Pw.prototype.refresh=Pw.prototype.oa;Pw.prototype.getAttributions=Pw.prototype.qa;
  Pw.prototype.getLogo=Pw.prototype.pa;Pw.prototype.getProjection=Pw.prototype.ra;Pw.prototype.getState=Pw.prototype.V;Pw.prototype.setAttributions=Pw.prototype.ja;Pw.prototype.get=Pw.prototype.get;Pw.prototype.getKeys=Pw.prototype.N;Pw.prototype.getProperties=Pw.prototype.O;Pw.prototype.set=Pw.prototype.set;Pw.prototype.setProperties=Pw.prototype.G;Pw.prototype.unset=Pw.prototype.P;Pw.prototype.changed=Pw.prototype.u;Pw.prototype.dispatchEvent=Pw.prototype.b;Pw.prototype.getRevision=Pw.prototype.K;
  Pw.prototype.on=Pw.prototype.I;Pw.prototype.once=Pw.prototype.L;Pw.prototype.un=Pw.prototype.J;Pw.prototype.unByKey=Pw.prototype.M;Pv.prototype.getTileCoord=Pv.prototype.i;Pv.prototype.load=Pv.prototype.load;Xh.prototype.changed=Xh.prototype.u;Xh.prototype.dispatchEvent=Xh.prototype.b;Xh.prototype.getRevision=Xh.prototype.K;Xh.prototype.on=Xh.prototype.I;Xh.prototype.once=Xh.prototype.L;Xh.prototype.un=Xh.prototype.J;Xh.prototype.unByKey=Xh.prototype.M;jn.prototype.changed=jn.prototype.u;
  jn.prototype.dispatchEvent=jn.prototype.b;jn.prototype.getRevision=jn.prototype.K;jn.prototype.on=jn.prototype.I;jn.prototype.once=jn.prototype.L;jn.prototype.un=jn.prototype.J;jn.prototype.unByKey=jn.prototype.M;mn.prototype.changed=mn.prototype.u;mn.prototype.dispatchEvent=mn.prototype.b;mn.prototype.getRevision=mn.prototype.K;mn.prototype.on=mn.prototype.I;mn.prototype.once=mn.prototype.L;mn.prototype.un=mn.prototype.J;mn.prototype.unByKey=mn.prototype.M;sn.prototype.changed=sn.prototype.u;
  sn.prototype.dispatchEvent=sn.prototype.b;sn.prototype.getRevision=sn.prototype.K;sn.prototype.on=sn.prototype.I;sn.prototype.once=sn.prototype.L;sn.prototype.un=sn.prototype.J;sn.prototype.unByKey=sn.prototype.M;un.prototype.changed=un.prototype.u;un.prototype.dispatchEvent=un.prototype.b;un.prototype.getRevision=un.prototype.K;un.prototype.on=un.prototype.I;un.prototype.once=un.prototype.L;un.prototype.un=un.prototype.J;un.prototype.unByKey=un.prototype.M;um.prototype.changed=um.prototype.u;
  um.prototype.dispatchEvent=um.prototype.b;um.prototype.getRevision=um.prototype.K;um.prototype.on=um.prototype.I;um.prototype.once=um.prototype.L;um.prototype.un=um.prototype.J;um.prototype.unByKey=um.prototype.M;vm.prototype.changed=vm.prototype.u;vm.prototype.dispatchEvent=vm.prototype.b;vm.prototype.getRevision=vm.prototype.K;vm.prototype.on=vm.prototype.I;vm.prototype.once=vm.prototype.L;vm.prototype.un=vm.prototype.J;vm.prototype.unByKey=vm.prototype.M;wm.prototype.changed=wm.prototype.u;
  wm.prototype.dispatchEvent=wm.prototype.b;wm.prototype.getRevision=wm.prototype.K;wm.prototype.on=wm.prototype.I;wm.prototype.once=wm.prototype.L;wm.prototype.un=wm.prototype.J;wm.prototype.unByKey=wm.prototype.M;ym.prototype.changed=ym.prototype.u;ym.prototype.dispatchEvent=ym.prototype.b;ym.prototype.getRevision=ym.prototype.K;ym.prototype.on=ym.prototype.I;ym.prototype.once=ym.prototype.L;ym.prototype.un=ym.prototype.J;ym.prototype.unByKey=ym.prototype.M;nk.prototype.changed=nk.prototype.u;
  nk.prototype.dispatchEvent=nk.prototype.b;nk.prototype.getRevision=nk.prototype.K;nk.prototype.on=nk.prototype.I;nk.prototype.once=nk.prototype.L;nk.prototype.un=nk.prototype.J;nk.prototype.unByKey=nk.prototype.M;cm.prototype.changed=cm.prototype.u;cm.prototype.dispatchEvent=cm.prototype.b;cm.prototype.getRevision=cm.prototype.K;cm.prototype.on=cm.prototype.I;cm.prototype.once=cm.prototype.L;cm.prototype.un=cm.prototype.J;cm.prototype.unByKey=cm.prototype.M;dm.prototype.changed=dm.prototype.u;
  dm.prototype.dispatchEvent=dm.prototype.b;dm.prototype.getRevision=dm.prototype.K;dm.prototype.on=dm.prototype.I;dm.prototype.once=dm.prototype.L;dm.prototype.un=dm.prototype.J;dm.prototype.unByKey=dm.prototype.M;fm.prototype.changed=fm.prototype.u;fm.prototype.dispatchEvent=fm.prototype.b;fm.prototype.getRevision=fm.prototype.K;fm.prototype.on=fm.prototype.I;fm.prototype.once=fm.prototype.L;fm.prototype.un=fm.prototype.J;fm.prototype.unByKey=fm.prototype.M;qm.prototype.changed=qm.prototype.u;
  qm.prototype.dispatchEvent=qm.prototype.b;qm.prototype.getRevision=qm.prototype.K;qm.prototype.on=qm.prototype.I;qm.prototype.once=qm.prototype.L;qm.prototype.un=qm.prototype.J;qm.prototype.unByKey=qm.prototype.M;Ph.prototype.type=Ph.prototype.type;Ph.prototype.target=Ph.prototype.target;Ph.prototype.preventDefault=Ph.prototype.preventDefault;Ph.prototype.stopPropagation=Ph.prototype.stopPropagation;ug.prototype.type=ug.prototype.type;ug.prototype.target=ug.prototype.target;
  ug.prototype.preventDefault=ug.prototype.preventDefault;ug.prototype.stopPropagation=ug.prototype.stopPropagation;Mh.prototype.get=Mh.prototype.get;Mh.prototype.getKeys=Mh.prototype.N;Mh.prototype.getProperties=Mh.prototype.O;Mh.prototype.set=Mh.prototype.set;Mh.prototype.setProperties=Mh.prototype.G;Mh.prototype.unset=Mh.prototype.P;Mh.prototype.changed=Mh.prototype.u;Mh.prototype.dispatchEvent=Mh.prototype.b;Mh.prototype.getRevision=Mh.prototype.K;Mh.prototype.on=Mh.prototype.I;
  Mh.prototype.once=Mh.prototype.L;Mh.prototype.un=Mh.prototype.J;Mh.prototype.unByKey=Mh.prototype.M;Qh.prototype.getExtent=Qh.prototype.H;Qh.prototype.getMaxResolution=Qh.prototype.Hb;Qh.prototype.getMinResolution=Qh.prototype.Ib;Qh.prototype.getOpacity=Qh.prototype.Kb;Qh.prototype.getVisible=Qh.prototype.vb;Qh.prototype.getZIndex=Qh.prototype.Lb;Qh.prototype.setExtent=Qh.prototype.ac;Qh.prototype.setMaxResolution=Qh.prototype.ic;Qh.prototype.setMinResolution=Qh.prototype.jc;
  Qh.prototype.setOpacity=Qh.prototype.bc;Qh.prototype.setVisible=Qh.prototype.cc;Qh.prototype.setZIndex=Qh.prototype.dc;Qh.prototype.get=Qh.prototype.get;Qh.prototype.getKeys=Qh.prototype.N;Qh.prototype.getProperties=Qh.prototype.O;Qh.prototype.set=Qh.prototype.set;Qh.prototype.setProperties=Qh.prototype.G;Qh.prototype.unset=Qh.prototype.P;Qh.prototype.changed=Qh.prototype.u;Qh.prototype.dispatchEvent=Qh.prototype.b;Qh.prototype.getRevision=Qh.prototype.K;Qh.prototype.on=Qh.prototype.I;
  Qh.prototype.once=Qh.prototype.L;Qh.prototype.un=Qh.prototype.J;Qh.prototype.unByKey=Qh.prototype.M;H.prototype.setMap=H.prototype.setMap;H.prototype.setSource=H.prototype.Ac;H.prototype.getExtent=H.prototype.H;H.prototype.getMaxResolution=H.prototype.Hb;H.prototype.getMinResolution=H.prototype.Ib;H.prototype.getOpacity=H.prototype.Kb;H.prototype.getVisible=H.prototype.vb;H.prototype.getZIndex=H.prototype.Lb;H.prototype.setExtent=H.prototype.ac;H.prototype.setMaxResolution=H.prototype.ic;
  H.prototype.setMinResolution=H.prototype.jc;H.prototype.setOpacity=H.prototype.bc;H.prototype.setVisible=H.prototype.cc;H.prototype.setZIndex=H.prototype.dc;H.prototype.get=H.prototype.get;H.prototype.getKeys=H.prototype.N;H.prototype.getProperties=H.prototype.O;H.prototype.set=H.prototype.set;H.prototype.setProperties=H.prototype.G;H.prototype.unset=H.prototype.P;H.prototype.changed=H.prototype.u;H.prototype.dispatchEvent=H.prototype.b;H.prototype.getRevision=H.prototype.K;H.prototype.on=H.prototype.I;
  H.prototype.once=H.prototype.L;H.prototype.un=H.prototype.J;H.prototype.unByKey=H.prototype.M;V.prototype.getSource=V.prototype.da;V.prototype.getStyle=V.prototype.C;V.prototype.getStyleFunction=V.prototype.D;V.prototype.setStyle=V.prototype.l;V.prototype.setMap=V.prototype.setMap;V.prototype.setSource=V.prototype.Ac;V.prototype.getExtent=V.prototype.H;V.prototype.getMaxResolution=V.prototype.Hb;V.prototype.getMinResolution=V.prototype.Ib;V.prototype.getOpacity=V.prototype.Kb;
  V.prototype.getVisible=V.prototype.vb;V.prototype.getZIndex=V.prototype.Lb;V.prototype.setExtent=V.prototype.ac;V.prototype.setMaxResolution=V.prototype.ic;V.prototype.setMinResolution=V.prototype.jc;V.prototype.setOpacity=V.prototype.bc;V.prototype.setVisible=V.prototype.cc;V.prototype.setZIndex=V.prototype.dc;V.prototype.get=V.prototype.get;V.prototype.getKeys=V.prototype.N;V.prototype.getProperties=V.prototype.O;V.prototype.set=V.prototype.set;V.prototype.setProperties=V.prototype.G;
  V.prototype.unset=V.prototype.P;V.prototype.changed=V.prototype.u;V.prototype.dispatchEvent=V.prototype.b;V.prototype.getRevision=V.prototype.K;V.prototype.on=V.prototype.I;V.prototype.once=V.prototype.L;V.prototype.un=V.prototype.J;V.prototype.unByKey=V.prototype.M;Gj.prototype.setMap=Gj.prototype.setMap;Gj.prototype.setSource=Gj.prototype.Ac;Gj.prototype.getExtent=Gj.prototype.H;Gj.prototype.getMaxResolution=Gj.prototype.Hb;Gj.prototype.getMinResolution=Gj.prototype.Ib;Gj.prototype.getOpacity=Gj.prototype.Kb;
  Gj.prototype.getVisible=Gj.prototype.vb;Gj.prototype.getZIndex=Gj.prototype.Lb;Gj.prototype.setExtent=Gj.prototype.ac;Gj.prototype.setMaxResolution=Gj.prototype.ic;Gj.prototype.setMinResolution=Gj.prototype.jc;Gj.prototype.setOpacity=Gj.prototype.bc;Gj.prototype.setVisible=Gj.prototype.cc;Gj.prototype.setZIndex=Gj.prototype.dc;Gj.prototype.get=Gj.prototype.get;Gj.prototype.getKeys=Gj.prototype.N;Gj.prototype.getProperties=Gj.prototype.O;Gj.prototype.set=Gj.prototype.set;
  Gj.prototype.setProperties=Gj.prototype.G;Gj.prototype.unset=Gj.prototype.P;Gj.prototype.changed=Gj.prototype.u;Gj.prototype.dispatchEvent=Gj.prototype.b;Gj.prototype.getRevision=Gj.prototype.K;Gj.prototype.on=Gj.prototype.I;Gj.prototype.once=Gj.prototype.L;Gj.prototype.un=Gj.prototype.J;Gj.prototype.unByKey=Gj.prototype.M;wj.prototype.getExtent=wj.prototype.H;wj.prototype.getMaxResolution=wj.prototype.Hb;wj.prototype.getMinResolution=wj.prototype.Ib;wj.prototype.getOpacity=wj.prototype.Kb;
  wj.prototype.getVisible=wj.prototype.vb;wj.prototype.getZIndex=wj.prototype.Lb;wj.prototype.setExtent=wj.prototype.ac;wj.prototype.setMaxResolution=wj.prototype.ic;wj.prototype.setMinResolution=wj.prototype.jc;wj.prototype.setOpacity=wj.prototype.bc;wj.prototype.setVisible=wj.prototype.cc;wj.prototype.setZIndex=wj.prototype.dc;wj.prototype.get=wj.prototype.get;wj.prototype.getKeys=wj.prototype.N;wj.prototype.getProperties=wj.prototype.O;wj.prototype.set=wj.prototype.set;
  wj.prototype.setProperties=wj.prototype.G;wj.prototype.unset=wj.prototype.P;wj.prototype.changed=wj.prototype.u;wj.prototype.dispatchEvent=wj.prototype.b;wj.prototype.getRevision=wj.prototype.K;wj.prototype.on=wj.prototype.I;wj.prototype.once=wj.prototype.L;wj.prototype.un=wj.prototype.J;wj.prototype.unByKey=wj.prototype.M;Hj.prototype.setMap=Hj.prototype.setMap;Hj.prototype.setSource=Hj.prototype.Ac;Hj.prototype.getExtent=Hj.prototype.H;Hj.prototype.getMaxResolution=Hj.prototype.Hb;
  Hj.prototype.getMinResolution=Hj.prototype.Ib;Hj.prototype.getOpacity=Hj.prototype.Kb;Hj.prototype.getVisible=Hj.prototype.vb;Hj.prototype.getZIndex=Hj.prototype.Lb;Hj.prototype.setExtent=Hj.prototype.ac;Hj.prototype.setMaxResolution=Hj.prototype.ic;Hj.prototype.setMinResolution=Hj.prototype.jc;Hj.prototype.setOpacity=Hj.prototype.bc;Hj.prototype.setVisible=Hj.prototype.cc;Hj.prototype.setZIndex=Hj.prototype.dc;Hj.prototype.get=Hj.prototype.get;Hj.prototype.getKeys=Hj.prototype.N;
  Hj.prototype.getProperties=Hj.prototype.O;Hj.prototype.set=Hj.prototype.set;Hj.prototype.setProperties=Hj.prototype.G;Hj.prototype.unset=Hj.prototype.P;Hj.prototype.changed=Hj.prototype.u;Hj.prototype.dispatchEvent=Hj.prototype.b;Hj.prototype.getRevision=Hj.prototype.K;Hj.prototype.on=Hj.prototype.I;Hj.prototype.once=Hj.prototype.L;Hj.prototype.un=Hj.prototype.J;Hj.prototype.unByKey=Hj.prototype.M;I.prototype.getSource=I.prototype.da;I.prototype.getStyle=I.prototype.C;
  I.prototype.getStyleFunction=I.prototype.D;I.prototype.setStyle=I.prototype.l;I.prototype.setMap=I.prototype.setMap;I.prototype.setSource=I.prototype.Ac;I.prototype.getExtent=I.prototype.H;I.prototype.getMaxResolution=I.prototype.Hb;I.prototype.getMinResolution=I.prototype.Ib;I.prototype.getOpacity=I.prototype.Kb;I.prototype.getVisible=I.prototype.vb;I.prototype.getZIndex=I.prototype.Lb;I.prototype.setExtent=I.prototype.ac;I.prototype.setMaxResolution=I.prototype.ic;I.prototype.setMinResolution=I.prototype.jc;
  I.prototype.setOpacity=I.prototype.bc;I.prototype.setVisible=I.prototype.cc;I.prototype.setZIndex=I.prototype.dc;I.prototype.get=I.prototype.get;I.prototype.getKeys=I.prototype.N;I.prototype.getProperties=I.prototype.O;I.prototype.set=I.prototype.set;I.prototype.setProperties=I.prototype.G;I.prototype.unset=I.prototype.P;I.prototype.changed=I.prototype.u;I.prototype.dispatchEvent=I.prototype.b;I.prototype.getRevision=I.prototype.K;I.prototype.on=I.prototype.I;I.prototype.once=I.prototype.L;
  I.prototype.un=I.prototype.J;I.prototype.unByKey=I.prototype.M;yi.prototype.get=yi.prototype.get;yi.prototype.getKeys=yi.prototype.N;yi.prototype.getProperties=yi.prototype.O;yi.prototype.set=yi.prototype.set;yi.prototype.setProperties=yi.prototype.G;yi.prototype.unset=yi.prototype.P;yi.prototype.changed=yi.prototype.u;yi.prototype.dispatchEvent=yi.prototype.b;yi.prototype.getRevision=yi.prototype.K;yi.prototype.on=yi.prototype.I;yi.prototype.once=yi.prototype.L;yi.prototype.un=yi.prototype.J;
  yi.prototype.unByKey=yi.prototype.M;Ci.prototype.getActive=Ci.prototype.f;Ci.prototype.getMap=Ci.prototype.l;Ci.prototype.setActive=Ci.prototype.i;Ci.prototype.get=Ci.prototype.get;Ci.prototype.getKeys=Ci.prototype.N;Ci.prototype.getProperties=Ci.prototype.O;Ci.prototype.set=Ci.prototype.set;Ci.prototype.setProperties=Ci.prototype.G;Ci.prototype.unset=Ci.prototype.P;Ci.prototype.changed=Ci.prototype.u;Ci.prototype.dispatchEvent=Ci.prototype.b;Ci.prototype.getRevision=Ci.prototype.K;
  Ci.prototype.on=Ci.prototype.I;Ci.prototype.once=Ci.prototype.L;Ci.prototype.un=Ci.prototype.J;Ci.prototype.unByKey=Ci.prototype.M;Lu.prototype.getActive=Lu.prototype.f;Lu.prototype.getMap=Lu.prototype.l;Lu.prototype.setActive=Lu.prototype.i;Lu.prototype.get=Lu.prototype.get;Lu.prototype.getKeys=Lu.prototype.N;Lu.prototype.getProperties=Lu.prototype.O;Lu.prototype.set=Lu.prototype.set;Lu.prototype.setProperties=Lu.prototype.G;Lu.prototype.unset=Lu.prototype.P;Lu.prototype.changed=Lu.prototype.u;
  Lu.prototype.dispatchEvent=Lu.prototype.b;Lu.prototype.getRevision=Lu.prototype.K;Lu.prototype.on=Lu.prototype.I;Lu.prototype.once=Lu.prototype.L;Lu.prototype.un=Lu.prototype.J;Lu.prototype.unByKey=Lu.prototype.M;Ou.prototype.type=Ou.prototype.type;Ou.prototype.target=Ou.prototype.target;Ou.prototype.preventDefault=Ou.prototype.preventDefault;Ou.prototype.stopPropagation=Ou.prototype.stopPropagation;aj.prototype.type=aj.prototype.type;aj.prototype.target=aj.prototype.target;
  aj.prototype.preventDefault=aj.prototype.preventDefault;aj.prototype.stopPropagation=aj.prototype.stopPropagation;Ni.prototype.getActive=Ni.prototype.f;Ni.prototype.getMap=Ni.prototype.l;Ni.prototype.setActive=Ni.prototype.i;Ni.prototype.get=Ni.prototype.get;Ni.prototype.getKeys=Ni.prototype.N;Ni.prototype.getProperties=Ni.prototype.O;Ni.prototype.set=Ni.prototype.set;Ni.prototype.setProperties=Ni.prototype.G;Ni.prototype.unset=Ni.prototype.P;Ni.prototype.changed=Ni.prototype.u;
  Ni.prototype.dispatchEvent=Ni.prototype.b;Ni.prototype.getRevision=Ni.prototype.K;Ni.prototype.on=Ni.prototype.I;Ni.prototype.once=Ni.prototype.L;Ni.prototype.un=Ni.prototype.J;Ni.prototype.unByKey=Ni.prototype.M;bj.prototype.getActive=bj.prototype.f;bj.prototype.getMap=bj.prototype.l;bj.prototype.setActive=bj.prototype.i;bj.prototype.get=bj.prototype.get;bj.prototype.getKeys=bj.prototype.N;bj.prototype.getProperties=bj.prototype.O;bj.prototype.set=bj.prototype.set;bj.prototype.setProperties=bj.prototype.G;
  bj.prototype.unset=bj.prototype.P;bj.prototype.changed=bj.prototype.u;bj.prototype.dispatchEvent=bj.prototype.b;bj.prototype.getRevision=bj.prototype.K;bj.prototype.on=bj.prototype.I;bj.prototype.once=bj.prototype.L;bj.prototype.un=bj.prototype.J;bj.prototype.unByKey=bj.prototype.M;Qi.prototype.getActive=Qi.prototype.f;Qi.prototype.getMap=Qi.prototype.l;Qi.prototype.setActive=Qi.prototype.i;Qi.prototype.get=Qi.prototype.get;Qi.prototype.getKeys=Qi.prototype.N;Qi.prototype.getProperties=Qi.prototype.O;
  Qi.prototype.set=Qi.prototype.set;Qi.prototype.setProperties=Qi.prototype.G;Qi.prototype.unset=Qi.prototype.P;Qi.prototype.changed=Qi.prototype.u;Qi.prototype.dispatchEvent=Qi.prototype.b;Qi.prototype.getRevision=Qi.prototype.K;Qi.prototype.on=Qi.prototype.I;Qi.prototype.once=Qi.prototype.L;Qi.prototype.un=Qi.prototype.J;Qi.prototype.unByKey=Qi.prototype.M;Qu.prototype.getActive=Qu.prototype.f;Qu.prototype.getMap=Qu.prototype.l;Qu.prototype.setActive=Qu.prototype.i;Qu.prototype.get=Qu.prototype.get;
  Qu.prototype.getKeys=Qu.prototype.N;Qu.prototype.getProperties=Qu.prototype.O;Qu.prototype.set=Qu.prototype.set;Qu.prototype.setProperties=Qu.prototype.G;Qu.prototype.unset=Qu.prototype.P;Qu.prototype.changed=Qu.prototype.u;Qu.prototype.dispatchEvent=Qu.prototype.b;Qu.prototype.getRevision=Qu.prototype.K;Qu.prototype.on=Qu.prototype.I;Qu.prototype.once=Qu.prototype.L;Qu.prototype.un=Qu.prototype.J;Qu.prototype.unByKey=Qu.prototype.M;Ui.prototype.getActive=Ui.prototype.f;Ui.prototype.getMap=Ui.prototype.l;
  Ui.prototype.setActive=Ui.prototype.i;Ui.prototype.get=Ui.prototype.get;Ui.prototype.getKeys=Ui.prototype.N;Ui.prototype.getProperties=Ui.prototype.O;Ui.prototype.set=Ui.prototype.set;Ui.prototype.setProperties=Ui.prototype.G;Ui.prototype.unset=Ui.prototype.P;Ui.prototype.changed=Ui.prototype.u;Ui.prototype.dispatchEvent=Ui.prototype.b;Ui.prototype.getRevision=Ui.prototype.K;Ui.prototype.on=Ui.prototype.I;Ui.prototype.once=Ui.prototype.L;Ui.prototype.un=Ui.prototype.J;Ui.prototype.unByKey=Ui.prototype.M;
  gj.prototype.getGeometry=gj.prototype.W;gj.prototype.getActive=gj.prototype.f;gj.prototype.getMap=gj.prototype.l;gj.prototype.setActive=gj.prototype.i;gj.prototype.get=gj.prototype.get;gj.prototype.getKeys=gj.prototype.N;gj.prototype.getProperties=gj.prototype.O;gj.prototype.set=gj.prototype.set;gj.prototype.setProperties=gj.prototype.G;gj.prototype.unset=gj.prototype.P;gj.prototype.changed=gj.prototype.u;gj.prototype.dispatchEvent=gj.prototype.b;gj.prototype.getRevision=gj.prototype.K;
  gj.prototype.on=gj.prototype.I;gj.prototype.once=gj.prototype.L;gj.prototype.un=gj.prototype.J;gj.prototype.unByKey=gj.prototype.M;Uu.prototype.type=Uu.prototype.type;Uu.prototype.target=Uu.prototype.target;Uu.prototype.preventDefault=Uu.prototype.preventDefault;Uu.prototype.stopPropagation=Uu.prototype.stopPropagation;Vu.prototype.getActive=Vu.prototype.f;Vu.prototype.getMap=Vu.prototype.l;Vu.prototype.setActive=Vu.prototype.i;Vu.prototype.get=Vu.prototype.get;Vu.prototype.getKeys=Vu.prototype.N;
  Vu.prototype.getProperties=Vu.prototype.O;Vu.prototype.set=Vu.prototype.set;Vu.prototype.setProperties=Vu.prototype.G;Vu.prototype.unset=Vu.prototype.P;Vu.prototype.changed=Vu.prototype.u;Vu.prototype.dispatchEvent=Vu.prototype.b;Vu.prototype.getRevision=Vu.prototype.K;Vu.prototype.on=Vu.prototype.I;Vu.prototype.once=Vu.prototype.L;Vu.prototype.un=Vu.prototype.J;Vu.prototype.unByKey=Vu.prototype.M;hj.prototype.getActive=hj.prototype.f;hj.prototype.getMap=hj.prototype.l;hj.prototype.setActive=hj.prototype.i;
  hj.prototype.get=hj.prototype.get;hj.prototype.getKeys=hj.prototype.N;hj.prototype.getProperties=hj.prototype.O;hj.prototype.set=hj.prototype.set;hj.prototype.setProperties=hj.prototype.G;hj.prototype.unset=hj.prototype.P;hj.prototype.changed=hj.prototype.u;hj.prototype.dispatchEvent=hj.prototype.b;hj.prototype.getRevision=hj.prototype.K;hj.prototype.on=hj.prototype.I;hj.prototype.once=hj.prototype.L;hj.prototype.un=hj.prototype.J;hj.prototype.unByKey=hj.prototype.M;jj.prototype.getActive=jj.prototype.f;
  jj.prototype.getMap=jj.prototype.l;jj.prototype.setActive=jj.prototype.i;jj.prototype.get=jj.prototype.get;jj.prototype.getKeys=jj.prototype.N;jj.prototype.getProperties=jj.prototype.O;jj.prototype.set=jj.prototype.set;jj.prototype.setProperties=jj.prototype.G;jj.prototype.unset=jj.prototype.P;jj.prototype.changed=jj.prototype.u;jj.prototype.dispatchEvent=jj.prototype.b;jj.prototype.getRevision=jj.prototype.K;jj.prototype.on=jj.prototype.I;jj.prototype.once=jj.prototype.L;jj.prototype.un=jj.prototype.J;
  jj.prototype.unByKey=jj.prototype.M;kv.prototype.type=kv.prototype.type;kv.prototype.target=kv.prototype.target;kv.prototype.preventDefault=kv.prototype.preventDefault;kv.prototype.stopPropagation=kv.prototype.stopPropagation;lv.prototype.getActive=lv.prototype.f;lv.prototype.getMap=lv.prototype.l;lv.prototype.setActive=lv.prototype.i;lv.prototype.get=lv.prototype.get;lv.prototype.getKeys=lv.prototype.N;lv.prototype.getProperties=lv.prototype.O;lv.prototype.set=lv.prototype.set;
  lv.prototype.setProperties=lv.prototype.G;lv.prototype.unset=lv.prototype.P;lv.prototype.changed=lv.prototype.u;lv.prototype.dispatchEvent=lv.prototype.b;lv.prototype.getRevision=lv.prototype.K;lv.prototype.on=lv.prototype.I;lv.prototype.once=lv.prototype.L;lv.prototype.un=lv.prototype.J;lv.prototype.unByKey=lv.prototype.M;lj.prototype.getActive=lj.prototype.f;lj.prototype.getMap=lj.prototype.l;lj.prototype.setActive=lj.prototype.i;lj.prototype.get=lj.prototype.get;lj.prototype.getKeys=lj.prototype.N;
  lj.prototype.getProperties=lj.prototype.O;lj.prototype.set=lj.prototype.set;lj.prototype.setProperties=lj.prototype.G;lj.prototype.unset=lj.prototype.P;lj.prototype.changed=lj.prototype.u;lj.prototype.dispatchEvent=lj.prototype.b;lj.prototype.getRevision=lj.prototype.K;lj.prototype.on=lj.prototype.I;lj.prototype.once=lj.prototype.L;lj.prototype.un=lj.prototype.J;lj.prototype.unByKey=lj.prototype.M;nj.prototype.getActive=nj.prototype.f;nj.prototype.getMap=nj.prototype.l;nj.prototype.setActive=nj.prototype.i;
  nj.prototype.get=nj.prototype.get;nj.prototype.getKeys=nj.prototype.N;nj.prototype.getProperties=nj.prototype.O;nj.prototype.set=nj.prototype.set;nj.prototype.setProperties=nj.prototype.G;nj.prototype.unset=nj.prototype.P;nj.prototype.changed=nj.prototype.u;nj.prototype.dispatchEvent=nj.prototype.b;nj.prototype.getRevision=nj.prototype.K;nj.prototype.on=nj.prototype.I;nj.prototype.once=nj.prototype.L;nj.prototype.un=nj.prototype.J;nj.prototype.unByKey=nj.prototype.M;rj.prototype.getActive=rj.prototype.f;
  rj.prototype.getMap=rj.prototype.l;rj.prototype.setActive=rj.prototype.i;rj.prototype.get=rj.prototype.get;rj.prototype.getKeys=rj.prototype.N;rj.prototype.getProperties=rj.prototype.O;rj.prototype.set=rj.prototype.set;rj.prototype.setProperties=rj.prototype.G;rj.prototype.unset=rj.prototype.P;rj.prototype.changed=rj.prototype.u;rj.prototype.dispatchEvent=rj.prototype.b;rj.prototype.getRevision=rj.prototype.K;rj.prototype.on=rj.prototype.I;rj.prototype.once=rj.prototype.L;rj.prototype.un=rj.prototype.J;
  rj.prototype.unByKey=rj.prototype.M;yv.prototype.type=yv.prototype.type;yv.prototype.target=yv.prototype.target;yv.prototype.preventDefault=yv.prototype.preventDefault;yv.prototype.stopPropagation=yv.prototype.stopPropagation;zv.prototype.getActive=zv.prototype.f;zv.prototype.getMap=zv.prototype.l;zv.prototype.setActive=zv.prototype.i;zv.prototype.get=zv.prototype.get;zv.prototype.getKeys=zv.prototype.N;zv.prototype.getProperties=zv.prototype.O;zv.prototype.set=zv.prototype.set;
  zv.prototype.setProperties=zv.prototype.G;zv.prototype.unset=zv.prototype.P;zv.prototype.changed=zv.prototype.u;zv.prototype.dispatchEvent=zv.prototype.b;zv.prototype.getRevision=zv.prototype.K;zv.prototype.on=zv.prototype.I;zv.prototype.once=zv.prototype.L;zv.prototype.un=zv.prototype.J;zv.prototype.unByKey=zv.prototype.M;Cv.prototype.getActive=Cv.prototype.f;Cv.prototype.getMap=Cv.prototype.l;Cv.prototype.setActive=Cv.prototype.i;Cv.prototype.get=Cv.prototype.get;Cv.prototype.getKeys=Cv.prototype.N;
  Cv.prototype.getProperties=Cv.prototype.O;Cv.prototype.set=Cv.prototype.set;Cv.prototype.setProperties=Cv.prototype.G;Cv.prototype.unset=Cv.prototype.P;Cv.prototype.changed=Cv.prototype.u;Cv.prototype.dispatchEvent=Cv.prototype.b;Cv.prototype.getRevision=Cv.prototype.K;Cv.prototype.on=Cv.prototype.I;Cv.prototype.once=Cv.prototype.L;Cv.prototype.un=Cv.prototype.J;Cv.prototype.unByKey=Cv.prototype.M;Gv.prototype.type=Gv.prototype.type;Gv.prototype.target=Gv.prototype.target;
  Gv.prototype.preventDefault=Gv.prototype.preventDefault;Gv.prototype.stopPropagation=Gv.prototype.stopPropagation;Hv.prototype.getActive=Hv.prototype.f;Hv.prototype.getMap=Hv.prototype.l;Hv.prototype.setActive=Hv.prototype.i;Hv.prototype.get=Hv.prototype.get;Hv.prototype.getKeys=Hv.prototype.N;Hv.prototype.getProperties=Hv.prototype.O;Hv.prototype.set=Hv.prototype.set;Hv.prototype.setProperties=Hv.prototype.G;Hv.prototype.unset=Hv.prototype.P;Hv.prototype.changed=Hv.prototype.u;
  Hv.prototype.dispatchEvent=Hv.prototype.b;Hv.prototype.getRevision=Hv.prototype.K;Hv.prototype.on=Hv.prototype.I;Hv.prototype.once=Hv.prototype.L;Hv.prototype.un=Hv.prototype.J;Hv.prototype.unByKey=Hv.prototype.M;dd.prototype.get=dd.prototype.get;dd.prototype.getKeys=dd.prototype.N;dd.prototype.getProperties=dd.prototype.O;dd.prototype.set=dd.prototype.set;dd.prototype.setProperties=dd.prototype.G;dd.prototype.unset=dd.prototype.P;dd.prototype.changed=dd.prototype.u;dd.prototype.dispatchEvent=dd.prototype.b;
  dd.prototype.getRevision=dd.prototype.K;dd.prototype.on=dd.prototype.I;dd.prototype.once=dd.prototype.L;dd.prototype.un=dd.prototype.J;dd.prototype.unByKey=dd.prototype.M;sd.prototype.getClosestPoint=sd.prototype.tb;sd.prototype.getExtent=sd.prototype.H;sd.prototype.rotate=sd.prototype.rotate;sd.prototype.simplify=sd.prototype.xb;sd.prototype.transform=sd.prototype.gb;sd.prototype.get=sd.prototype.get;sd.prototype.getKeys=sd.prototype.N;sd.prototype.getProperties=sd.prototype.O;sd.prototype.set=sd.prototype.set;
  sd.prototype.setProperties=sd.prototype.G;sd.prototype.unset=sd.prototype.P;sd.prototype.changed=sd.prototype.u;sd.prototype.dispatchEvent=sd.prototype.b;sd.prototype.getRevision=sd.prototype.K;sd.prototype.on=sd.prototype.I;sd.prototype.once=sd.prototype.L;sd.prototype.un=sd.prototype.J;sd.prototype.unByKey=sd.prototype.M;yu.prototype.getFirstCoordinate=yu.prototype.Eb;yu.prototype.getLastCoordinate=yu.prototype.Fb;yu.prototype.getLayout=yu.prototype.Gb;yu.prototype.rotate=yu.prototype.rotate;
  yu.prototype.getClosestPoint=yu.prototype.tb;yu.prototype.getExtent=yu.prototype.H;yu.prototype.simplify=yu.prototype.xb;yu.prototype.get=yu.prototype.get;yu.prototype.getKeys=yu.prototype.N;yu.prototype.getProperties=yu.prototype.O;yu.prototype.set=yu.prototype.set;yu.prototype.setProperties=yu.prototype.G;yu.prototype.unset=yu.prototype.P;yu.prototype.changed=yu.prototype.u;yu.prototype.dispatchEvent=yu.prototype.b;yu.prototype.getRevision=yu.prototype.K;yu.prototype.on=yu.prototype.I;
  yu.prototype.once=yu.prototype.L;yu.prototype.un=yu.prototype.J;yu.prototype.unByKey=yu.prototype.M;po.prototype.getClosestPoint=po.prototype.tb;po.prototype.getExtent=po.prototype.H;po.prototype.rotate=po.prototype.rotate;po.prototype.simplify=po.prototype.xb;po.prototype.transform=po.prototype.gb;po.prototype.get=po.prototype.get;po.prototype.getKeys=po.prototype.N;po.prototype.getProperties=po.prototype.O;po.prototype.set=po.prototype.set;po.prototype.setProperties=po.prototype.G;
  po.prototype.unset=po.prototype.P;po.prototype.changed=po.prototype.u;po.prototype.dispatchEvent=po.prototype.b;po.prototype.getRevision=po.prototype.K;po.prototype.on=po.prototype.I;po.prototype.once=po.prototype.L;po.prototype.un=po.prototype.J;po.prototype.unByKey=po.prototype.M;Kd.prototype.getFirstCoordinate=Kd.prototype.Eb;Kd.prototype.getLastCoordinate=Kd.prototype.Fb;Kd.prototype.getLayout=Kd.prototype.Gb;Kd.prototype.rotate=Kd.prototype.rotate;Kd.prototype.getClosestPoint=Kd.prototype.tb;
  Kd.prototype.getExtent=Kd.prototype.H;Kd.prototype.simplify=Kd.prototype.xb;Kd.prototype.transform=Kd.prototype.gb;Kd.prototype.get=Kd.prototype.get;Kd.prototype.getKeys=Kd.prototype.N;Kd.prototype.getProperties=Kd.prototype.O;Kd.prototype.set=Kd.prototype.set;Kd.prototype.setProperties=Kd.prototype.G;Kd.prototype.unset=Kd.prototype.P;Kd.prototype.changed=Kd.prototype.u;Kd.prototype.dispatchEvent=Kd.prototype.b;Kd.prototype.getRevision=Kd.prototype.K;Kd.prototype.on=Kd.prototype.I;
  Kd.prototype.once=Kd.prototype.L;Kd.prototype.un=Kd.prototype.J;Kd.prototype.unByKey=Kd.prototype.M;S.prototype.getFirstCoordinate=S.prototype.Eb;S.prototype.getLastCoordinate=S.prototype.Fb;S.prototype.getLayout=S.prototype.Gb;S.prototype.rotate=S.prototype.rotate;S.prototype.getClosestPoint=S.prototype.tb;S.prototype.getExtent=S.prototype.H;S.prototype.simplify=S.prototype.xb;S.prototype.transform=S.prototype.gb;S.prototype.get=S.prototype.get;S.prototype.getKeys=S.prototype.N;
  S.prototype.getProperties=S.prototype.O;S.prototype.set=S.prototype.set;S.prototype.setProperties=S.prototype.G;S.prototype.unset=S.prototype.P;S.prototype.changed=S.prototype.u;S.prototype.dispatchEvent=S.prototype.b;S.prototype.getRevision=S.prototype.K;S.prototype.on=S.prototype.I;S.prototype.once=S.prototype.L;S.prototype.un=S.prototype.J;S.prototype.unByKey=S.prototype.M;T.prototype.getFirstCoordinate=T.prototype.Eb;T.prototype.getLastCoordinate=T.prototype.Fb;T.prototype.getLayout=T.prototype.Gb;
  T.prototype.rotate=T.prototype.rotate;T.prototype.getClosestPoint=T.prototype.tb;T.prototype.getExtent=T.prototype.H;T.prototype.simplify=T.prototype.xb;T.prototype.transform=T.prototype.gb;T.prototype.get=T.prototype.get;T.prototype.getKeys=T.prototype.N;T.prototype.getProperties=T.prototype.O;T.prototype.set=T.prototype.set;T.prototype.setProperties=T.prototype.G;T.prototype.unset=T.prototype.P;T.prototype.changed=T.prototype.u;T.prototype.dispatchEvent=T.prototype.b;T.prototype.getRevision=T.prototype.K;
  T.prototype.on=T.prototype.I;T.prototype.once=T.prototype.L;T.prototype.un=T.prototype.J;T.prototype.unByKey=T.prototype.M;eo.prototype.getFirstCoordinate=eo.prototype.Eb;eo.prototype.getLastCoordinate=eo.prototype.Fb;eo.prototype.getLayout=eo.prototype.Gb;eo.prototype.rotate=eo.prototype.rotate;eo.prototype.getClosestPoint=eo.prototype.tb;eo.prototype.getExtent=eo.prototype.H;eo.prototype.simplify=eo.prototype.xb;eo.prototype.transform=eo.prototype.gb;eo.prototype.get=eo.prototype.get;
  eo.prototype.getKeys=eo.prototype.N;eo.prototype.getProperties=eo.prototype.O;eo.prototype.set=eo.prototype.set;eo.prototype.setProperties=eo.prototype.G;eo.prototype.unset=eo.prototype.P;eo.prototype.changed=eo.prototype.u;eo.prototype.dispatchEvent=eo.prototype.b;eo.prototype.getRevision=eo.prototype.K;eo.prototype.on=eo.prototype.I;eo.prototype.once=eo.prototype.L;eo.prototype.un=eo.prototype.J;eo.prototype.unByKey=eo.prototype.M;fo.prototype.getFirstCoordinate=fo.prototype.Eb;
  fo.prototype.getLastCoordinate=fo.prototype.Fb;fo.prototype.getLayout=fo.prototype.Gb;fo.prototype.rotate=fo.prototype.rotate;fo.prototype.getClosestPoint=fo.prototype.tb;fo.prototype.getExtent=fo.prototype.H;fo.prototype.simplify=fo.prototype.xb;fo.prototype.transform=fo.prototype.gb;fo.prototype.get=fo.prototype.get;fo.prototype.getKeys=fo.prototype.N;fo.prototype.getProperties=fo.prototype.O;fo.prototype.set=fo.prototype.set;fo.prototype.setProperties=fo.prototype.G;fo.prototype.unset=fo.prototype.P;
  fo.prototype.changed=fo.prototype.u;fo.prototype.dispatchEvent=fo.prototype.b;fo.prototype.getRevision=fo.prototype.K;fo.prototype.on=fo.prototype.I;fo.prototype.once=fo.prototype.L;fo.prototype.un=fo.prototype.J;fo.prototype.unByKey=fo.prototype.M;D.prototype.getFirstCoordinate=D.prototype.Eb;D.prototype.getLastCoordinate=D.prototype.Fb;D.prototype.getLayout=D.prototype.Gb;D.prototype.rotate=D.prototype.rotate;D.prototype.getClosestPoint=D.prototype.tb;D.prototype.getExtent=D.prototype.H;
  D.prototype.simplify=D.prototype.xb;D.prototype.transform=D.prototype.gb;D.prototype.get=D.prototype.get;D.prototype.getKeys=D.prototype.N;D.prototype.getProperties=D.prototype.O;D.prototype.set=D.prototype.set;D.prototype.setProperties=D.prototype.G;D.prototype.unset=D.prototype.P;D.prototype.changed=D.prototype.u;D.prototype.dispatchEvent=D.prototype.b;D.prototype.getRevision=D.prototype.K;D.prototype.on=D.prototype.I;D.prototype.once=D.prototype.L;D.prototype.un=D.prototype.J;
  D.prototype.unByKey=D.prototype.M;F.prototype.getFirstCoordinate=F.prototype.Eb;F.prototype.getLastCoordinate=F.prototype.Fb;F.prototype.getLayout=F.prototype.Gb;F.prototype.rotate=F.prototype.rotate;F.prototype.getClosestPoint=F.prototype.tb;F.prototype.getExtent=F.prototype.H;F.prototype.simplify=F.prototype.xb;F.prototype.transform=F.prototype.gb;F.prototype.get=F.prototype.get;F.prototype.getKeys=F.prototype.N;F.prototype.getProperties=F.prototype.O;F.prototype.set=F.prototype.set;
  F.prototype.setProperties=F.prototype.G;F.prototype.unset=F.prototype.P;F.prototype.changed=F.prototype.u;F.prototype.dispatchEvent=F.prototype.b;F.prototype.getRevision=F.prototype.K;F.prototype.on=F.prototype.I;F.prototype.once=F.prototype.L;F.prototype.un=F.prototype.J;F.prototype.unByKey=F.prototype.M;Oo.prototype.readFeatures=Oo.prototype.Ba;Po.prototype.readFeatures=Po.prototype.Ba;Po.prototype.readFeatures=Po.prototype.Ba;uf.prototype.get=uf.prototype.get;uf.prototype.getKeys=uf.prototype.N;
  uf.prototype.getProperties=uf.prototype.O;uf.prototype.set=uf.prototype.set;uf.prototype.setProperties=uf.prototype.G;uf.prototype.unset=uf.prototype.P;uf.prototype.changed=uf.prototype.u;uf.prototype.dispatchEvent=uf.prototype.b;uf.prototype.getRevision=uf.prototype.K;uf.prototype.on=uf.prototype.I;uf.prototype.once=uf.prototype.L;uf.prototype.un=uf.prototype.J;uf.prototype.unByKey=uf.prototype.M;bg.prototype.getMap=bg.prototype.i;bg.prototype.setMap=bg.prototype.setMap;bg.prototype.setTarget=bg.prototype.c;
  bg.prototype.get=bg.prototype.get;bg.prototype.getKeys=bg.prototype.N;bg.prototype.getProperties=bg.prototype.O;bg.prototype.set=bg.prototype.set;bg.prototype.setProperties=bg.prototype.G;bg.prototype.unset=bg.prototype.P;bg.prototype.changed=bg.prototype.u;bg.prototype.dispatchEvent=bg.prototype.b;bg.prototype.getRevision=bg.prototype.K;bg.prototype.on=bg.prototype.I;bg.prototype.once=bg.prototype.L;bg.prototype.un=bg.prototype.J;bg.prototype.unByKey=bg.prototype.M;ng.prototype.getMap=ng.prototype.i;
  ng.prototype.setMap=ng.prototype.setMap;ng.prototype.setTarget=ng.prototype.c;ng.prototype.get=ng.prototype.get;ng.prototype.getKeys=ng.prototype.N;ng.prototype.getProperties=ng.prototype.O;ng.prototype.set=ng.prototype.set;ng.prototype.setProperties=ng.prototype.G;ng.prototype.unset=ng.prototype.P;ng.prototype.changed=ng.prototype.u;ng.prototype.dispatchEvent=ng.prototype.b;ng.prototype.getRevision=ng.prototype.K;ng.prototype.on=ng.prototype.I;ng.prototype.once=ng.prototype.L;ng.prototype.un=ng.prototype.J;
  ng.prototype.unByKey=ng.prototype.M;og.prototype.getMap=og.prototype.i;og.prototype.setMap=og.prototype.setMap;og.prototype.setTarget=og.prototype.c;og.prototype.get=og.prototype.get;og.prototype.getKeys=og.prototype.N;og.prototype.getProperties=og.prototype.O;og.prototype.set=og.prototype.set;og.prototype.setProperties=og.prototype.G;og.prototype.unset=og.prototype.P;og.prototype.changed=og.prototype.u;og.prototype.dispatchEvent=og.prototype.b;og.prototype.getRevision=og.prototype.K;
  og.prototype.on=og.prototype.I;og.prototype.once=og.prototype.L;og.prototype.un=og.prototype.J;og.prototype.unByKey=og.prototype.M;En.prototype.getMap=En.prototype.i;En.prototype.setMap=En.prototype.setMap;En.prototype.setTarget=En.prototype.c;En.prototype.get=En.prototype.get;En.prototype.getKeys=En.prototype.N;En.prototype.getProperties=En.prototype.O;En.prototype.set=En.prototype.set;En.prototype.setProperties=En.prototype.G;En.prototype.unset=En.prototype.P;En.prototype.changed=En.prototype.u;
  En.prototype.dispatchEvent=En.prototype.b;En.prototype.getRevision=En.prototype.K;En.prototype.on=En.prototype.I;En.prototype.once=En.prototype.L;En.prototype.un=En.prototype.J;En.prototype.unByKey=En.prototype.M;eg.prototype.getMap=eg.prototype.i;eg.prototype.setMap=eg.prototype.setMap;eg.prototype.setTarget=eg.prototype.c;eg.prototype.get=eg.prototype.get;eg.prototype.getKeys=eg.prototype.N;eg.prototype.getProperties=eg.prototype.O;eg.prototype.set=eg.prototype.set;eg.prototype.setProperties=eg.prototype.G;
  eg.prototype.unset=eg.prototype.P;eg.prototype.changed=eg.prototype.u;eg.prototype.dispatchEvent=eg.prototype.b;eg.prototype.getRevision=eg.prototype.K;eg.prototype.on=eg.prototype.I;eg.prototype.once=eg.prototype.L;eg.prototype.un=eg.prototype.J;eg.prototype.unByKey=eg.prototype.M;Jn.prototype.getMap=Jn.prototype.i;Jn.prototype.setMap=Jn.prototype.setMap;Jn.prototype.setTarget=Jn.prototype.c;Jn.prototype.get=Jn.prototype.get;Jn.prototype.getKeys=Jn.prototype.N;Jn.prototype.getProperties=Jn.prototype.O;
  Jn.prototype.set=Jn.prototype.set;Jn.prototype.setProperties=Jn.prototype.G;Jn.prototype.unset=Jn.prototype.P;Jn.prototype.changed=Jn.prototype.u;Jn.prototype.dispatchEvent=Jn.prototype.b;Jn.prototype.getRevision=Jn.prototype.K;Jn.prototype.on=Jn.prototype.I;Jn.prototype.once=Jn.prototype.L;Jn.prototype.un=Jn.prototype.J;Jn.prototype.unByKey=Jn.prototype.M;gg.prototype.getMap=gg.prototype.i;gg.prototype.setMap=gg.prototype.setMap;gg.prototype.setTarget=gg.prototype.c;gg.prototype.get=gg.prototype.get;
  gg.prototype.getKeys=gg.prototype.N;gg.prototype.getProperties=gg.prototype.O;gg.prototype.set=gg.prototype.set;gg.prototype.setProperties=gg.prototype.G;gg.prototype.unset=gg.prototype.P;gg.prototype.changed=gg.prototype.u;gg.prototype.dispatchEvent=gg.prototype.b;gg.prototype.getRevision=gg.prototype.K;gg.prototype.on=gg.prototype.I;gg.prototype.once=gg.prototype.L;gg.prototype.un=gg.prototype.J;gg.prototype.unByKey=gg.prototype.M;Nn.prototype.getMap=Nn.prototype.i;Nn.prototype.setMap=Nn.prototype.setMap;
  Nn.prototype.setTarget=Nn.prototype.c;Nn.prototype.get=Nn.prototype.get;Nn.prototype.getKeys=Nn.prototype.N;Nn.prototype.getProperties=Nn.prototype.O;Nn.prototype.set=Nn.prototype.set;Nn.prototype.setProperties=Nn.prototype.G;Nn.prototype.unset=Nn.prototype.P;Nn.prototype.changed=Nn.prototype.u;Nn.prototype.dispatchEvent=Nn.prototype.b;Nn.prototype.getRevision=Nn.prototype.K;Nn.prototype.on=Nn.prototype.I;Nn.prototype.once=Nn.prototype.L;Nn.prototype.un=Nn.prototype.J;Nn.prototype.unByKey=Nn.prototype.M;
  Sn.prototype.getMap=Sn.prototype.i;Sn.prototype.setMap=Sn.prototype.setMap;Sn.prototype.setTarget=Sn.prototype.c;Sn.prototype.get=Sn.prototype.get;Sn.prototype.getKeys=Sn.prototype.N;Sn.prototype.getProperties=Sn.prototype.O;Sn.prototype.set=Sn.prototype.set;Sn.prototype.setProperties=Sn.prototype.G;Sn.prototype.unset=Sn.prototype.P;Sn.prototype.changed=Sn.prototype.u;Sn.prototype.dispatchEvent=Sn.prototype.b;Sn.prototype.getRevision=Sn.prototype.K;Sn.prototype.on=Sn.prototype.I;
  Sn.prototype.once=Sn.prototype.L;Sn.prototype.un=Sn.prototype.J;Sn.prototype.unByKey=Sn.prototype.M;
    return OPENLAYERS.ol;
  }));
  
  