From 48b5b7380defd5fa61ccff7d5266b5a2ec53f0b7 Mon Sep 17 00:00:00 2001 From: Glenn Vorhes <gavorhes@wisc.edu> Date: Wed, 17 Aug 2016 12:44:49 -0500 Subject: [PATCH] add ol.style.Text --- lib/ol/ol-build.js | 705 +++++++++++++++++++++--------------------- src/ol/ol-build.js | 705 +++++++++++++++++++++--------------------- src/ol/ol-config.json | 1 + 3 files changed, 707 insertions(+), 704 deletions(-) diff --git a/lib/ol/ol-build.js b/lib/ol/ol-build.js index 8263d25..a7280d8 100644 --- a/lib/ol/ol-build.js +++ b/lib/ol/ol-build.js @@ -10,16 +10,16 @@ } }(this, function () { var OPENLAYERS = {}; - var n,x=this;function E(b,c,d){b=b.split(".");d=d||x;b[0]in d||!d.execScript||d.execScript("var "+b[0]);for(var e;b.length&&(e=b.shift());)b.length||void 0===c?d[e]?d=d[e]:d=d[e]={}:d[e]=c}function aa(b){b.va=function(){return b.Bc?b.Bc:b.Bc=new b}} + var n,x=this;function E(b,c,d){b=b.split(".");d=d||x;b[0]in d||!d.execScript||d.execScript("var "+b[0]);for(var e;b.length&&(e=b.shift());)b.length||void 0===c?d[e]?d=d[e]:d=d[e]={}:d[e]=c}function aa(b){b.qa=function(){return b.rc?b.rc:b.rc=new b}} function ba(b){var c=typeof b;if("object"==c)if(b){if(b instanceof Array)return"array";if(b instanceof Object)return c;var d=Object.prototype.toString.call(b);if("[object Window]"==d)return"object";if("[object Array]"==d||"number"==typeof b.length&&"undefined"!=typeof b.splice&&"undefined"!=typeof b.propertyIsEnumerable&&!b.propertyIsEnumerable("splice"))return"array";if("[object Function]"==d||"undefined"!=typeof b.call&&"undefined"!=typeof b.propertyIsEnumerable&&!b.propertyIsEnumerable("call"))return"function"}else return"null"; else if("function"==c&&"undefined"==typeof b.call)return"object";return c}function ca(b){var c=ba(b);return"array"==c||"object"==c&&"number"==typeof b.length}function da(b){return"string"==typeof b}function ea(b){return"number"==typeof b}function ga(b){return"function"==ba(b)}function ha(b){var c=typeof b;return"object"==c&&null!=b||"function"==c}function I(b){return b[ia]||(b[ia]=++ja)}var ia="closure_uid_"+(1E9*Math.random()>>>0),ja=0;function ka(b,c,d){return b.call.apply(b.bind,arguments)} function la(b,c,d){if(!b)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 b.apply(c,d)}}return function(){return b.apply(c,arguments)}}function ma(b,c,d){ma=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ka:la;return ma.apply(null,arguments)} -function na(b,c){var d=Array.prototype.slice.call(arguments,1);return function(){var c=d.slice();c.push.apply(c,arguments);return b.apply(this,c)}}function M(b,c){function d(){}d.prototype=c.prototype;b.Y=c.prototype;b.prototype=new d;b.prototype.constructor=b;b.af=function(b,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(b,h)}};var oa;function N(){};var pa;var qa=String.prototype.trim?function(b){return b.trim()}:function(b){return b.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};function sa(b){if(!ta.test(b))return b;-1!=b.indexOf("&")&&(b=b.replace(ua,"&"));-1!=b.indexOf("<")&&(b=b.replace(va,"<"));-1!=b.indexOf(">")&&(b=b.replace(wa,">"));-1!=b.indexOf('"')&&(b=b.replace(xa,"""));-1!=b.indexOf("'")&&(b=b.replace(ya,"'"));-1!=b.indexOf("\x00")&&(b=b.replace(za,"�"));return b}var ua=/&/g,va=/</g,wa=/>/g,xa=/"/g,ya=/'/g,za=/\x00/g,ta=/[\x00&<>"']/; +function na(b,c){var d=Array.prototype.slice.call(arguments,1);return function(){var c=d.slice();c.push.apply(c,arguments);return b.apply(this,c)}}function M(b,c){function d(){}d.prototype=c.prototype;b.Y=c.prototype;b.prototype=new d;b.prototype.constructor=b;b.Me=function(b,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(b,h)}};var oa;function N(){};var pa;var qa=String.prototype.trim?function(b){return b.trim()}:function(b){return b.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};function sa(b){if(!ta.test(b))return b;-1!=b.indexOf("&")&&(b=b.replace(ua,"&"));-1!=b.indexOf("<")&&(b=b.replace(va,"<"));-1!=b.indexOf(">")&&(b=b.replace(wa,">"));-1!=b.indexOf('"')&&(b=b.replace(xa,"""));-1!=b.indexOf("'")&&(b=b.replace(ya,"'"));-1!=b.indexOf("\x00")&&(b=b.replace(za,"�"));return b}var ua=/&/g,va=/</g,wa=/>/g,xa=/"/g,ya=/'/g,za=/\x00/g,ta=/[\x00&<>"']/; function Aa(b,c){return b<c?-1:b>c?1:0};function Ba(b,c,d){return Math.min(Math.max(b,c),d)}var Ca=function(){var b;"cosh"in Math?b=Math.cosh:b=function(b){b=Math.exp(b);return(b+1/b)/2};return b}();function Da(b,c){var d=b%c;return 0>d*c?d+c:d};function Ea(b){return function(c){if(c)return[Ba(c[0],b[0],b[2]),Ba(c[1],b[1],b[3])]}}function Fa(b){return b};function Ga(b,c){return b>c?1:b<c?-1:0}function Ha(b,c,d){var e=b.length;if(b[0]<=c)return 0;if(!(c<=b[e-1]))if(0<d)for(d=1;d<e;++d){if(b[d]<c)return d-1}else if(0>d)for(d=1;d<e;++d){if(b[d]<=c)return d}else for(d=1;d<e;++d){if(b[d]==c)return d;if(b[d]<c)return b[d-1]-c<c-b[d]?d-1:d}return e-1}function Ia(b){return b.reduce(function(b,d){return Array.isArray(d)?b.concat(Ia(d)):b.concat(d)},[])}function Ja(b,c){var d,e=ca(c)?c:[c],f=e.length;for(d=0;d<f;d++)b[b.length]=e[d]} -function Ka(b,c){var d=b.indexOf(c),e=-1<d;e&&b.splice(d,1);return e}function La(b,c){var d=b.length;if(d!==c.length)return!1;for(var e=0;e<d;e++)if(b[e]!==c[e])return!1;return!0}function Ma(b){var c=Na,d=b.length,e=Array(b.length),f;for(f=0;f<d;f++)e[f]={index:f,value:b[f]};e.sort(function(b,d){return c(b.value,d.value)||b.index-d.index});for(f=0;f<b.length;f++)b[f]=e[f].value};function Oa(b){return function(c,d,e){if(void 0!==c)return c=Ha(b,c,e),c=Ba(c+d,0,b.length-1),b[c]}}function Pa(b,c,d){return function(e,f,g){if(void 0!==e)return e=Math.max(Math.floor(Math.log(c/e)/Math.log(b)+(0<g?0:0>g?1:.5))+f,0),void 0!==d&&(e=Math.min(e,d)),c/Math.pow(b,e)}};function Qa(b){if(void 0!==b)return 0}function Ra(b,c){if(void 0!==b)return b+c}function Sa(b){var c=2*Math.PI/b;return function(b,e){if(void 0!==b)return b=Math.floor((b+e)/c+.5)*c}}function Ta(){var b=5*Math.PI/180;return function(c,d){if(void 0!==c)return Math.abs(c+d)<=b?0:c+d}};function Ua(b,c,d){this.center=b;this.resolution=c;this.rotation=d};var Va="function"===typeof Object.assign?Object.assign:function(b,c){if(void 0===b||null===b)throw new TypeError("Cannot convert undefined or null to object");for(var d=Object(b),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 Wa(b){for(var c in b)delete b[c]}function Xa(b){var c=[],d;for(d in b)c.push(b[d]);return c}function Za(b){for(var c in b)return!1;return!c};var $a="olm_"+(1E4*Math.random()|0);function ab(b){function c(c){var e=b.listener,f=b.lc||b.target;b.oc&&P(b);return e.call(f,c)}return b.mc=c}function bb(b,c,d,e){for(var f,g=0,h=b.length;g<h;++g)if(f=b[g],f.listener===c&&f.lc===d)return e&&(f.deleteIndex=g),f}function cb(b,c){var d=b[$a];return d?d[c]:void 0}function db(b){var c=b[$a];c||(c=b[$a]={});return c} -function eb(b,c){var d=cb(b,c);if(d){for(var e=0,f=d.length;e<f;++e)b.removeEventListener(c,d[e].mc),Wa(d[e]);d.length=0;if(d=b[$a])delete d[c],0===Object.keys(d).length&&delete b[$a]}}function R(b,c,d,e,f){var g=db(b),h=g[c];h||(h=g[c]=[]);(g=bb(h,d,e,!1))?f||(g.oc=!1):(g={lc:e,oc:!!f,listener:d,target:b,type:c},b.addEventListener(c,ab(g)),h.push(g));return g}function fb(b,c,d,e){(b=cb(b,c))&&(d=bb(b,d,e,!0))&&P(d)} -function P(b){if(b&&b.target){b.target.removeEventListener(b.type,b.mc);var c=cb(b.target,b.type);if(c){var d="deleteIndex"in b?b.deleteIndex:c.indexOf(b);-1!==d&&c.splice(d,1);0===c.length&&eb(b.target,b.type)}Wa(b)}}function gb(b){var c=db(b),d;for(d in c)eb(b,d)};function hb(){}hb.prototype.ka=!1;function ib(b){b.ka||(b.ka=!0,b.K())}hb.prototype.K=N;function S(b,c){this.type=b;this.target=c||null}S.prototype.preventDefault=S.prototype.stopPropagation=function(){this.Be=!0};function jb(b){b.stopPropagation()}function kb(b){b.preventDefault()};function lb(){this.H={};this.B={}}M(lb,hb);lb.prototype.addEventListener=function(b,c){var d=this.B[b];d||(d=this.B[b]=[]);-1===d.indexOf(c)&&d.push(c)};function T(b,c){var d="string"===typeof c?new S(c):c,e=d.type;d.target=b;var f=b.B[e],g;if(f){e in b.H||(b.H[e]=0);for(var h=0,k=f.length;h<k;++h)if(!1===f[h].call(b,d)||d.Be){g=!1;break}d=b.H[e];for(delete b.H[e];d--;)b.removeEventListener(e,N);return g}}lb.prototype.K=function(){gb(this)}; -function mb(b,c){return c?c in b.B:0<Object.keys(b.B).length}lb.prototype.removeEventListener=function(b,c){var d=this.B[b];if(d){var e=d.indexOf(c);b in this.H?(d[e]=N,++this.H[b]):(d.splice(e,1),0===d.length&&delete this.B[b])}};function nb(){lb.call(this);this.f=0}M(nb,lb);nb.prototype.w=function(){++this.f;T(this,"change")};nb.prototype.V=function(b,c,d){if(Array.isArray(b)){for(var e=b.length,f=Array(e),g=0;g<e;++g)f[g]=R(this,b[g],c,d);return f}return R(this,b,c,d)};nb.prototype.ad=function(b,c,d){if(Array.isArray(b)){for(var e=b.length,f=Array(e),g=0;g<e;++g)f[g]=R(this,b[g],c,d,!0);return f}return R(this,b,c,d,!0)};function ob(b,c,d){S.call(this,b);this.key=c;this.oldValue=d}M(ob,S);function U(b){nb.call(this);I(this);this.J={};void 0!==b&&this.l(b)}M(U,nb);var pb={};function qb(b){return pb.hasOwnProperty(b)?pb[b]:pb[b]="change:"+b}U.prototype.get=function(b){var c;this.J.hasOwnProperty(b)&&(c=this.J[b]);return c};U.prototype.Ca=function(){return Va({},this.J)};U.prototype.set=function(b,c,d){d?this.J[b]=c:(d=this.J[b],this.J[b]=c,d!==c&&(c=qb(b),T(this,new ob(c,b,d)),T(this,new ob("propertychange",b,d))))}; +function Ka(b,c){var d=b.indexOf(c),e=-1<d;e&&b.splice(d,1);return e}function La(b,c){var d=b.length;if(d!==c.length)return!1;for(var e=0;e<d;e++)if(b[e]!==c[e])return!1;return!0}function Ma(b){var c=Na,d=b.length,e=Array(b.length),f;for(f=0;f<d;f++)e[f]={index:f,value:b[f]};e.sort(function(b,d){return c(b.value,d.value)||b.index-d.index});for(f=0;f<b.length;f++)b[f]=e[f].value};function Oa(b){return function(c,d,e){if(void 0!==c)return c=Ha(b,c,e),c=Ba(c+d,0,b.length-1),b[c]}}function Pa(b,c,d){return function(e,f,g){if(void 0!==e)return e=Math.max(Math.floor(Math.log(c/e)/Math.log(b)+(0<g?0:0>g?1:.5))+f,0),void 0!==d&&(e=Math.min(e,d)),c/Math.pow(b,e)}};function Qa(b){if(void 0!==b)return 0}function Ra(b,c){if(void 0!==b)return b+c}function Sa(b){var c=2*Math.PI/b;return function(b,e){if(void 0!==b)return b=Math.floor((b+e)/c+.5)*c}}function Ta(){var b=5*Math.PI/180;return function(c,d){if(void 0!==c)return Math.abs(c+d)<=b?0:c+d}};function Ua(b,c,d){this.center=b;this.resolution=c;this.rotation=d};var Va="function"===typeof Object.assign?Object.assign:function(b,c){if(void 0===b||null===b)throw new TypeError("Cannot convert undefined or null to object");for(var d=Object(b),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 Wa(b){for(var c in b)delete b[c]}function Xa(b){var c=[],d;for(d in b)c.push(b[d]);return c}function Za(b){for(var c in b)return!1;return!c};var $a="olm_"+(1E4*Math.random()|0);function ab(b){function c(c){var e=b.listener,f=b.bc||b.target;b.ec&&P(b);return e.call(f,c)}return b.cc=c}function bb(b,c,d,e){for(var f,g=0,h=b.length;g<h;++g)if(f=b[g],f.listener===c&&f.bc===d)return e&&(f.deleteIndex=g),f}function cb(b,c){var d=b[$a];return d?d[c]:void 0}function db(b){var c=b[$a];c||(c=b[$a]={});return c} +function eb(b,c){var d=cb(b,c);if(d){for(var e=0,f=d.length;e<f;++e)b.removeEventListener(c,d[e].cc),Wa(d[e]);d.length=0;if(d=b[$a])delete d[c],0===Object.keys(d).length&&delete b[$a]}}function R(b,c,d,e,f){var g=db(b),h=g[c];h||(h=g[c]=[]);(g=bb(h,d,e,!1))?f||(g.ec=!1):(g={bc:e,ec:!!f,listener:d,target:b,type:c},b.addEventListener(c,ab(g)),h.push(g));return g}function fb(b,c,d,e){(b=cb(b,c))&&(d=bb(b,d,e,!0))&&P(d)} +function P(b){if(b&&b.target){b.target.removeEventListener(b.type,b.cc);var c=cb(b.target,b.type);if(c){var d="deleteIndex"in b?b.deleteIndex:c.indexOf(b);-1!==d&&c.splice(d,1);0===c.length&&eb(b.target,b.type)}Wa(b)}}function gb(b){var c=db(b),d;for(d in c)eb(b,d)};function hb(){}hb.prototype.ha=!1;function ib(b){b.ha||(b.ha=!0,b.K())}hb.prototype.K=N;function S(b,c){this.type=b;this.target=c||null}S.prototype.preventDefault=S.prototype.stopPropagation=function(){this.me=!0};function jb(b){b.stopPropagation()}function kb(b){b.preventDefault()};function lb(){this.H={};this.B={}}M(lb,hb);lb.prototype.addEventListener=function(b,c){var d=this.B[b];d||(d=this.B[b]=[]);-1===d.indexOf(c)&&d.push(c)};function T(b,c){var d="string"===typeof c?new S(c):c,e=d.type;d.target=b;var f=b.B[e],g;if(f){e in b.H||(b.H[e]=0);for(var h=0,k=f.length;h<k;++h)if(!1===f[h].call(b,d)||d.me){g=!1;break}d=b.H[e];for(delete b.H[e];d--;)b.removeEventListener(e,N);return g}}lb.prototype.K=function(){gb(this)}; +function mb(b,c){return c?c in b.B:0<Object.keys(b.B).length}lb.prototype.removeEventListener=function(b,c){var d=this.B[b];if(d){var e=d.indexOf(c);b in this.H?(d[e]=N,++this.H[b]):(d.splice(e,1),0===d.length&&delete this.B[b])}};function nb(){lb.call(this);this.f=0}M(nb,lb);nb.prototype.w=function(){++this.f;T(this,"change")};nb.prototype.V=function(b,c,d){if(Array.isArray(b)){for(var e=b.length,f=Array(e),g=0;g<e;++g)f[g]=R(this,b[g],c,d);return f}return R(this,b,c,d)};nb.prototype.Rc=function(b,c,d){if(Array.isArray(b)){for(var e=b.length,f=Array(e),g=0;g<e;++g)f[g]=R(this,b[g],c,d,!0);return f}return R(this,b,c,d,!0)};function ob(b,c,d){S.call(this,b);this.key=c;this.oldValue=d}M(ob,S);function U(b){nb.call(this);I(this);this.I={};void 0!==b&&this.l(b)}M(U,nb);var pb={};function qb(b){return pb.hasOwnProperty(b)?pb[b]:pb[b]="change:"+b}U.prototype.get=function(b){var c;this.I.hasOwnProperty(b)&&(c=this.I[b]);return c};U.prototype.ua=function(){return Va({},this.I)};U.prototype.set=function(b,c,d){d?this.I[b]=c:(d=this.I[b],this.I[b]=c,d!==c&&(c=qb(b),T(this,new ob(c,b,d)),T(this,new ob("propertychange",b,d))))}; U.prototype.l=function(b,c){for(var d in b)this.set(d,b[d],c)};function rb(b,c,d){void 0===d&&(d=[0,0]);d[0]=b[0]*c+.5|0;d[1]=b[1]*c+.5|0;return d}function sb(b,c){if(Array.isArray(b))return b;void 0===c?c=[b,b]:(c[0]=b,c[1]=b);return c};function tb(b,c){b[0]+=c[0];b[1]+=c[1]}function ub(b,c){var d=Math.cos(c),e=Math.sin(c),f=b[1]*d+b[0]*e;b[0]=b[0]*d-b[1]*e;b[1]=f};function vb(b){this.length=b.length||b;for(var c=0;c<this.length;c++)this[c]=b[c]||0}vb.prototype.BYTES_PER_ELEMENT=4;vb.prototype.set=function(b,c){c=c||0;for(var d=0;d<b.length&&c+d<this.length;d++)this[c+d]=b[d]};vb.prototype.toString=Array.prototype.join;"undefined"==typeof Float32Array&&(vb.BYTES_PER_ELEMENT=4,vb.prototype.BYTES_PER_ELEMENT=vb.prototype.BYTES_PER_ELEMENT,vb.prototype.set=vb.prototype.set,vb.prototype.toString=vb.prototype.toString,E("Float32Array",vb,void 0));function wb(b){this.length=b.length||b;for(var c=0;c<this.length;c++)this[c]=b[c]||0}wb.prototype.BYTES_PER_ELEMENT=8;wb.prototype.set=function(b,c){c=c||0;for(var d=0;d<b.length&&c+d<this.length;d++)this[c+d]=b[d]};wb.prototype.toString=Array.prototype.join;if("undefined"==typeof Float64Array){try{wb.BYTES_PER_ELEMENT=8}catch(b){}wb.prototype.BYTES_PER_ELEMENT=wb.prototype.BYTES_PER_ELEMENT;wb.prototype.set=wb.prototype.set;wb.prototype.toString=wb.prototype.toString;E("Float64Array",wb,void 0)};function xb(b,c,d,e,f){b[0]=c;b[1]=d;b[2]=e;b[3]=f};function yb(){var b=Array(16);zb(b,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);return b}function Ab(){var b=Array(16);zb(b,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);return b}function zb(b,c,d,e,f,g,h,k,l,m,p,q,r,u,w,y,z){b[0]=c;b[1]=d;b[2]=e;b[3]=f;b[4]=g;b[5]=h;b[6]=k;b[7]=l;b[8]=m;b[9]=p;b[10]=q;b[11]=r;b[12]=u;b[13]=w;b[14]=y;b[15]=z} function Bb(b,c){b[0]=c[0];b[1]=c[1];b[2]=c[2];b[3]=c[3];b[4]=c[4];b[5]=c[5];b[6]=c[6];b[7]=c[7];b[8]=c[8];b[9]=c[9];b[10]=c[10];b[11]=c[11];b[12]=c[12];b[13]=c[13];b[14]=c[14];b[15]=c[15]}function Cb(b){b[0]=1;b[1]=0;b[2]=0;b[3]=0;b[4]=0;b[5]=1;b[6]=0;b[7]=0;b[8]=0;b[9]=0;b[10]=1;b[11]=0;b[12]=0;b[13]=0;b[14]=0;b[15]=1} function Db(b,c){var d=b[0],e=b[1],f=b[2],g=b[3],h=b[4],k=b[5],l=b[6],m=b[7],p=b[8],q=b[9],r=b[10],u=b[11],w=b[12],y=b[13],z=b[14],D=b[15],t=d*k-e*h,v=d*l-f*h,B=d*m-g*h,F=e*l-f*k,C=e*m-g*k,G=f*m-g*l,J=p*y-q*w,A=p*z-r*w,H=p*D-u*w,O=q*z-r*y,Q=q*D-u*y,L=r*D-u*z,K=t*L-v*Q+B*O+F*H-C*A+G*J;0!=K&&(K=1/K,c[0]=(k*L-l*Q+m*O)*K,c[1]=(-e*L+f*Q-g*O)*K,c[2]=(y*G-z*C+D*F)*K,c[3]=(-q*G+r*C-u*F)*K,c[4]=(-h*L+l*H-m*A)*K,c[5]=(d*L-f*H+g*A)*K,c[6]=(-w*G+z*B-D*v)*K,c[7]=(p*G-r*B+u*v)*K,c[8]=(h*Q-k*H+m*J)*K,c[9]=(-d*Q+ @@ -36,124 +36,124 @@ function Ub(b){return b[2]-b[0]}function $b(b,c){return b[0]<=c[2]&&b[2]>=c[0]&& */ function dc(b){this.radius=b}function ec(b,c){var d=b[1]*Math.PI/180,e=c[1]*Math.PI/180,f=(e-d)/2,g=(c[0]-b[0])*Math.PI/180/2,d=Math.sin(f)*Math.sin(f)+Math.sin(g)*Math.sin(g)*Math.cos(d)*Math.cos(e);return 2*fc.radius*Math.atan2(Math.sqrt(d),Math.sqrt(1-d))} dc.prototype.offset=function(b,c,d){var e=b[1]*Math.PI/180;c/=this.radius;var f=Math.asin(Math.sin(e)*Math.cos(c)+Math.cos(e)*Math.sin(c)*Math.cos(d));return[180*(b[0]*Math.PI/180+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 fc=new dc(6370997);var gc={};gc.degrees=2*Math.PI*fc.radius/360;gc.ft=.3048;gc.m=1;gc["us-ft"]=1200/3937; -function hc(b){this.qa=b.code;this.b=b.units;this.h=void 0!==b.extent?b.extent:null;this.f=void 0!==b.global?b.global:!1;this.a=!(!this.f||!this.h);this.i=void 0!==b.getPointResolution?b.getPointResolution:this.j;this.c=null;this.g=b.metersPerUnit;var c=ic,d=b.code,e=jc||x.proj4;if("function"==typeof e&&void 0===c[d]){var f=e.defs(d);if(void 0!==f){void 0===b.metersPerUnit&&(this.g=f.to_meter);void 0===b.units&&(this.b=f.units);var g,h;for(g in c)if(b=e.defs(g),void 0!==b)if(c=kc(g),b===f)lc([c,this]); -else{h=e(g,d);b=h.forward;h=h.inverse;var c=kc(c),k=kc(this);mc(c,k,nc(b));mc(k,c,nc(h))}}}}hc.prototype.l=function(){return this.qa};hc.prototype.C=function(){return this.h};function oc(b){return b.g||gc[b.b]}hc.prototype.j=function(b,c){if("degrees"==this.b)return b;var d=pc(this,kc("EPSG:4326")),e=[c[0]-b/2,c[1],c[0]+b/2,c[1],c[0],c[1]-b/2,c[0],c[1]+b/2],e=d(e,e,2),d=(ec(e.slice(0,2),e.slice(2,4))+ec(e.slice(4,6),e.slice(6,8)))/2,e=oc(this);void 0!==e&&(d/=e);return d}; -hc.prototype.getPointResolution=function(b,c){return this.i(b,c)};var ic={},qc={},jc=null;function lc(b){rc(b);b.forEach(function(c){b.forEach(function(b){c!==b&&mc(c,b,sc)})})}function tc(b){ic[b.qa]=b;mc(b,b,sc)}function rc(b){var c=[];b.forEach(function(b){c.push(tc(b))})}function uc(b){return b?"string"===typeof b?kc(b):b:kc("EPSG:3857")}function mc(b,c,d){b=b.qa;c=c.qa;b in qc||(qc[b]={});qc[b][c]=d} -function nc(b){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=b([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 kc(b){var c;if(b instanceof hc)c=b;else if("string"===typeof b){c=ic[b];var d=jc||x.proj4;void 0===c&&"function"==typeof d&&void 0!==d.defs(b)&&(c=new hc({code:b}),tc(c))}else c=null;return c}function vc(b,c){if(b===c)return!0;var d=b.b===c.b;return b.qa===c.qa?d:pc(b,c)===sc&&d} -function wc(b,c){var d=kc(b),e=kc(c);return pc(d,e)}function pc(b,c){var d=b.qa,e=c.qa,f;d in qc&&e in qc[d]&&(f=qc[d][e]);void 0===f&&(f=xc);return f}function xc(b,c){if(void 0!==c&&b!==c){for(var d=0,e=b.length;d<e;++d)c[d]=b[d];b=c}return b}function sc(b,c){var d;if(void 0!==c){d=0;for(var e=b.length;d<e;++d)c[d]=b[d];d=c}else d=b.slice();return d};function yc(){U.call(this);this.u=Ib();this.v=-1;this.h={};this.s=this.i=0}M(yc,U);yc.prototype.C=function(b){this.v!=this.f&&(this.u=this.lb(this.u),this.v=this.f);var c=this.u;b?(b[0]=c[0],b[1]=c[1],b[2]=c[2],b[3]=c[3]):b=c;return b};yc.prototype.o=function(b,c){this.Gb(wc(b,c));return this};function zc(b,c,d,e,f,g){var h=f[0],k=f[1],l=f[4],m=f[5],p=f[12];f=f[13];for(var q=g?g:[],r=0;c<d;c+=e){var u=b[c],w=b[c+1];q[r++]=h*u+l*w+p;q[r++]=k*u+m*w+f}g&&q.length!=r&&(q.length=r);return q};function Ac(){yc.call(this);this.g="XY";this.b=2;this.a=null}M(Ac,yc);function Bc(b){if("XY"==b)return 2;if("XYZ"==b||"XYM"==b)return 3;if("XYZM"==b)return 4}n=Ac.prototype;n.lb=function(b){var c=this.a,d=this.a.length,e=this.b;b=Ob(b);return Sb(b,c,0,d,e)}; -n.Rb=function(b){this.s!=this.f&&(Wa(this.h),this.i=0,this.s=this.f);if(0>b||0!==this.i&&b<=this.i)return this;var c=b.toString();if(this.h.hasOwnProperty(c))return this.h[c];var d=this.Na(b);if(d.a.length<this.a.length)return this.h[c]=d;this.i=b;return this};n.Na=function(){return this};function V(b,c,d){b.b=Bc(c);b.g=c;b.a=d}function Cc(b,c,d,e){if(c)d=Bc(c);else{for(c=0;c<e;++c){if(0===d.length){b.g="XY";b.b=2;return}d=d[0]}d=d.length;c=2==d?"XY":3==d?"XYZ":4==d?"XYZM":void 0}b.g=c;b.b=d} -n.Gb=function(b){this.a&&(b(this.a,this.a,this.b),this.w())};n.rotate=function(b,c){var d=this.a;if(d){for(var e=d.length,f=this.b,g=d?d:[],h=Math.cos(b),k=Math.sin(b),l=c[0],m=c[1],p=0,q=0;q<e;q+=f){var r=d[q]-l,u=d[q+1]-m;g[p++]=l+r*h-u*k;g[p++]=m+r*k+u*h;for(r=q+2;r<q+f;++r)g[p++]=d[r]}d&&g.length!=p&&(g.length=p);this.w()}};function Dc(b,c){var d=0,e,f;e=0;for(f=c.length;e<f;++e)b[d++]=c[e];return d}function Ec(b,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)b[c++]=h[k]}return c}function Fc(b,c,d,e,f){f=f?f:[];var g=0,h,k;h=0;for(k=d.length;h<k;++h)c=Ec(b,c,d[h],e),f[g++]=c;f.length=g;return f};function Gc(b,c,d,e,f){f=void 0!==f?f:[];for(var g=0;c<d;c+=e)f[g++]=b.slice(c,c+e);f.length=g;return f}function Hc(b,c,d,e,f){f=void 0!==f?f:[];var g=0,h,k;h=0;for(k=d.length;h<k;++h){var l=d[h];f[g++]=Gc(b,c,l,e,f[g]);c=l}f.length=g;return f};function Ic(b,c,d,e,f,g,h){var k=(d-c)/e;if(3>k){for(;c<d;c+=e)g[h++]=b[c],g[h++]=b[c+1];return h}var l=Array(k);l[0]=1;l[k-1]=1;d=[c,d-e];for(var m=0,p;0<d.length;){var q=d.pop(),r=d.pop(),u=0,w=b[r],y=b[r+1],z=b[q],D=b[q+1];for(p=r+e;p<q;p+=e){var t,v=b[p];t=b[p+1];var B=w,F=y,C=z-B,G=D-F;if(0!==C||0!==G){var J=((v-B)*C+(t-F)*G)/(C*C+G*G);1<J?(B=z,F=D):0<J&&(B+=C*J,F+=G*J)}v=B-v;t=F-t;t=v*v+t*t;t>u&&(m=p,u=t)}u>f&&(l[(m-c)/e]=1,r+e<m&&d.push(r,m),m+e<q&&d.push(m,q))}for(p=0;p<k;++p)l[p]&&(g[h++]= +function hc(b){this.na=b.code;this.b=b.units;this.h=void 0!==b.extent?b.extent:null;this.f=void 0!==b.global?b.global:!1;this.a=!(!this.f||!this.h);this.i=void 0!==b.getPointResolution?b.getPointResolution:this.j;this.c=null;this.g=b.metersPerUnit;var c=ic,d=b.code,e=jc||x.proj4;if("function"==typeof e&&void 0===c[d]){var f=e.defs(d);if(void 0!==f){void 0===b.metersPerUnit&&(this.g=f.to_meter);void 0===b.units&&(this.b=f.units);var g,h;for(g in c)if(b=e.defs(g),void 0!==b)if(c=kc(g),b===f)lc([c,this]); +else{h=e(g,d);b=h.forward;h=h.inverse;var c=kc(c),k=kc(this);mc(c,k,nc(b));mc(k,c,nc(h))}}}}hc.prototype.l=function(){return this.na};hc.prototype.C=function(){return this.h};function oc(b){return b.g||gc[b.b]}hc.prototype.j=function(b,c){if("degrees"==this.b)return b;var d=pc(this,kc("EPSG:4326")),e=[c[0]-b/2,c[1],c[0]+b/2,c[1],c[0],c[1]-b/2,c[0],c[1]+b/2],e=d(e,e,2),d=(ec(e.slice(0,2),e.slice(2,4))+ec(e.slice(4,6),e.slice(6,8)))/2,e=oc(this);void 0!==e&&(d/=e);return d}; +hc.prototype.getPointResolution=function(b,c){return this.i(b,c)};var ic={},qc={},jc=null;function lc(b){rc(b);b.forEach(function(c){b.forEach(function(b){c!==b&&mc(c,b,sc)})})}function tc(b){ic[b.na]=b;mc(b,b,sc)}function rc(b){var c=[];b.forEach(function(b){c.push(tc(b))})}function uc(b){return b?"string"===typeof b?kc(b):b:kc("EPSG:3857")}function mc(b,c,d){b=b.na;c=c.na;b in qc||(qc[b]={});qc[b][c]=d} +function nc(b){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=b([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 kc(b){var c;if(b instanceof hc)c=b;else if("string"===typeof b){c=ic[b];var d=jc||x.proj4;void 0===c&&"function"==typeof d&&void 0!==d.defs(b)&&(c=new hc({code:b}),tc(c))}else c=null;return c}function vc(b,c){if(b===c)return!0;var d=b.b===c.b;return b.na===c.na?d:pc(b,c)===sc&&d} +function wc(b,c){var d=kc(b),e=kc(c);return pc(d,e)}function pc(b,c){var d=b.na,e=c.na,f;d in qc&&e in qc[d]&&(f=qc[d][e]);void 0===f&&(f=xc);return f}function xc(b,c){if(void 0!==c&&b!==c){for(var d=0,e=b.length;d<e;++d)c[d]=b[d];b=c}return b}function sc(b,c){var d;if(void 0!==c){d=0;for(var e=b.length;d<e;++d)c[d]=b[d];d=c}else d=b.slice();return d};function yc(){U.call(this);this.u=Ib();this.v=-1;this.h={};this.s=this.i=0}M(yc,U);yc.prototype.C=function(b){this.v!=this.f&&(this.u=this.ab(this.u),this.v=this.f);var c=this.u;b?(b[0]=c[0],b[1]=c[1],b[2]=c[2],b[3]=c[3]):b=c;return b};yc.prototype.o=function(b,c){this.wb(wc(b,c));return this};function zc(b,c,d,e,f,g){var h=f[0],k=f[1],l=f[4],m=f[5],p=f[12];f=f[13];for(var q=g?g:[],r=0;c<d;c+=e){var u=b[c],w=b[c+1];q[r++]=h*u+l*w+p;q[r++]=k*u+m*w+f}g&&q.length!=r&&(q.length=r);return q};function Ac(){yc.call(this);this.g="XY";this.b=2;this.a=null}M(Ac,yc);function Bc(b){if("XY"==b)return 2;if("XYZ"==b||"XYM"==b)return 3;if("XYZM"==b)return 4}n=Ac.prototype;n.ab=function(b){var c=this.a,d=this.a.length,e=this.b;b=Ob(b);return Sb(b,c,0,d,e)}; +n.Hb=function(b){this.s!=this.f&&(Wa(this.h),this.i=0,this.s=this.f);if(0>b||0!==this.i&&b<=this.i)return this;var c=b.toString();if(this.h.hasOwnProperty(c))return this.h[c];var d=this.Ea(b);if(d.a.length<this.a.length)return this.h[c]=d;this.i=b;return this};n.Ea=function(){return this};function V(b,c,d){b.b=Bc(c);b.g=c;b.a=d}function Cc(b,c,d,e){if(c)d=Bc(c);else{for(c=0;c<e;++c){if(0===d.length){b.g="XY";b.b=2;return}d=d[0]}d=d.length;c=2==d?"XY":3==d?"XYZ":4==d?"XYZM":void 0}b.g=c;b.b=d} +n.wb=function(b){this.a&&(b(this.a,this.a,this.b),this.w())};n.rotate=function(b,c){var d=this.a;if(d){for(var e=d.length,f=this.b,g=d?d:[],h=Math.cos(b),k=Math.sin(b),l=c[0],m=c[1],p=0,q=0;q<e;q+=f){var r=d[q]-l,u=d[q+1]-m;g[p++]=l+r*h-u*k;g[p++]=m+r*k+u*h;for(r=q+2;r<q+f;++r)g[p++]=d[r]}d&&g.length!=p&&(g.length=p);this.w()}};function Dc(b,c){var d=0,e,f;e=0;for(f=c.length;e<f;++e)b[d++]=c[e];return d}function Ec(b,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)b[c++]=h[k]}return c}function Fc(b,c,d,e,f){f=f?f:[];var g=0,h,k;h=0;for(k=d.length;h<k;++h)c=Ec(b,c,d[h],e),f[g++]=c;f.length=g;return f};function Gc(b,c,d,e,f){f=void 0!==f?f:[];for(var g=0;c<d;c+=e)f[g++]=b.slice(c,c+e);f.length=g;return f}function Hc(b,c,d,e,f){f=void 0!==f?f:[];var g=0,h,k;h=0;for(k=d.length;h<k;++h){var l=d[h];f[g++]=Gc(b,c,l,e,f[g]);c=l}f.length=g;return f};function Ic(b,c,d,e,f,g,h){var k=(d-c)/e;if(3>k){for(;c<d;c+=e)g[h++]=b[c],g[h++]=b[c+1];return h}var l=Array(k);l[0]=1;l[k-1]=1;d=[c,d-e];for(var m=0,p;0<d.length;){var q=d.pop(),r=d.pop(),u=0,w=b[r],y=b[r+1],z=b[q],D=b[q+1];for(p=r+e;p<q;p+=e){var t,v=b[p];t=b[p+1];var B=w,F=y,C=z-B,G=D-F;if(0!==C||0!==G){var J=((v-B)*C+(t-F)*G)/(C*C+G*G);1<J?(B=z,F=D):0<J&&(B+=C*J,F+=G*J)}v=B-v;t=F-t;t=v*v+t*t;t>u&&(m=p,u=t)}u>f&&(l[(m-c)/e]=1,r+e<m&&d.push(r,m),m+e<q&&d.push(m,q))}for(p=0;p<k;++p)l[p]&&(g[h++]= b[c+p*e],g[h++]=b[c+p*e+1]);return h} function Jc(b,c,d,e,f,g,h,k){var l,m;l=0;for(m=d.length;l<m;++l){var p=d[l];a:{var q=b,r=p,u=e,w=f,y=g;if(c!=r){var z=w*Math.round(q[c]/w),D=w*Math.round(q[c+1]/w);c+=u;y[h++]=z;y[h++]=D;var t=void 0,v=void 0;do if(t=w*Math.round(q[c]/w),v=w*Math.round(q[c+1]/w),c+=u,c==r){y[h++]=t;y[h++]=v;break a}while(t==z&&v==D);for(;c<r;){var B,F;B=w*Math.round(q[c]/w);F=w*Math.round(q[c+1]/w);c+=u;if(B!=t||F!=v){var C=t-z,G=v-D,J=B-z,A=F-D;C*A==G*J&&(0>C&&J<C||C==J||0<C&&J>C)&&(0>G&&A<G||G==A||0<G&&A>G)||(y[h++]= -t,y[h++]=v,z=t,D=v);t=B;v=F}}y[h++]=t;y[h++]=v}}k.push(h);c=p}return h};function Kc(b,c){Ac.call(this);this.X(b,c)}M(Kc,Ac);n=Kc.prototype;n.clone=function(){var b=new Kc(null);V(b,this.g,this.a.slice());b.w();return b};n.ra=function(){return Gc(this.a,0,this.a.length,this.b)};n.Na=function(b){var c=[];c.length=Ic(this.a,0,this.a.length,this.b,b,c,0);b=new Kc(null);V(b,"XY",c);b.w();return b};n.U=function(){return"LinearRing"};n.X=function(b,c){b?(Cc(this,c,b,1),this.a||(this.a=[]),this.a.length=Ec(this.a,0,b,this.b)):V(this,"XY",null);this.w()};function Lc(b,c){Ac.call(this);this.X(b,c)}M(Lc,Ac);n=Lc.prototype;n.clone=function(){var b=new Lc(null);V(b,this.g,this.a.slice());b.w();return b};n.ra=function(){return this.a?this.a.slice():[]};n.lb=function(b){return Pb(this.a,b)};n.U=function(){return"Point"};n.X=function(b,c){b?(Cc(this,c,b,0),this.a||(this.a=[]),this.a.length=Dc(this.a,b)):V(this,"XY",null);this.w()};function Mc(b,c,d,e,f,g){for(var h=!1,k=b[d-e],l=b[d-e+1];c<d;c+=e){var m=b[c],p=b[c+1];l>g!=p>g&&f<(m-k)*(g-l)/(p-l)+k&&(h=!h);k=m;l=p}return h};function Nc(b,c,d,e,f,g,h){var k,l,m,p,q,r=f[g+1],u=[],w=d[0];m=b[w-e];q=b[w-e+1];for(k=c;k<w;k+=e){p=b[k];l=b[k+1];if(r<=q&&l<=r||q<=r&&r<=l)m=(r-q)/(l-q)*(p-m)+m,u.push(m);m=p;q=l}w=NaN;q=-Infinity;u.sort(Ga);m=u[0];k=1;for(l=u.length;k<l;++k){p=u[k];var y=Math.abs(p-m);if(y>q){m=(m+p)/2;var z;a:if(0!==d.length&&Mc(b,c,d[0],e,m,r)){var D=z=void 0;z=1;for(D=d.length;z<D;++z)if(Mc(b,d[z-1],d[z],e,m,r)){z=!1;break a}z=!0}else z=!1;z&&(w=m,q=y)}m=p}isNaN(w)&&(w=f[g]);return h?(h.push(w,r),h):[w,r]} +t,y[h++]=v,z=t,D=v);t=B;v=F}}y[h++]=t;y[h++]=v}}k.push(h);c=p}return h};function Kc(b,c){Ac.call(this);this.X(b,c)}M(Kc,Ac);n=Kc.prototype;n.clone=function(){var b=new Kc(null);V(b,this.g,this.a.slice());b.w();return b};n.oa=function(){return Gc(this.a,0,this.a.length,this.b)};n.Ea=function(b){var c=[];c.length=Ic(this.a,0,this.a.length,this.b,b,c,0);b=new Kc(null);V(b,"XY",c);b.w();return b};n.U=function(){return"LinearRing"};n.X=function(b,c){b?(Cc(this,c,b,1),this.a||(this.a=[]),this.a.length=Ec(this.a,0,b,this.b)):V(this,"XY",null);this.w()};function Lc(b,c){Ac.call(this);this.X(b,c)}M(Lc,Ac);n=Lc.prototype;n.clone=function(){var b=new Lc(null);V(b,this.g,this.a.slice());b.w();return b};n.oa=function(){return this.a?this.a.slice():[]};n.ab=function(b){return Pb(this.a,b)};n.U=function(){return"Point"};n.X=function(b,c){b?(Cc(this,c,b,0),this.a||(this.a=[]),this.a.length=Dc(this.a,b)):V(this,"XY",null);this.w()};function Mc(b,c,d,e,f,g){for(var h=!1,k=b[d-e],l=b[d-e+1];c<d;c+=e){var m=b[c],p=b[c+1];l>g!=p>g&&f<(m-k)*(g-l)/(p-l)+k&&(h=!h);k=m;l=p}return h};function Nc(b,c,d,e,f,g,h){var k,l,m,p,q,r=f[g+1],u=[],w=d[0];m=b[w-e];q=b[w-e+1];for(k=c;k<w;k+=e){p=b[k];l=b[k+1];if(r<=q&&l<=r||q<=r&&r<=l)m=(r-q)/(l-q)*(p-m)+m,u.push(m);m=p;q=l}w=NaN;q=-Infinity;u.sort(Ga);m=u[0];k=1;for(l=u.length;k<l;++k){p=u[k];var y=Math.abs(p-m);if(y>q){m=(m+p)/2;var z;a:if(0!==d.length&&Mc(b,c,d[0],e,m,r)){var D=z=void 0;z=1;for(D=d.length;z<D;++z)if(Mc(b,d[z-1],d[z],e,m,r)){z=!1;break a}z=!0}else z=!1;z&&(w=m,q=y)}m=p}isNaN(w)&&(w=f[g]);return h?(h.push(w,r),h):[w,r]} ;function Oc(b,c,d,e){for(var f=0,g=b[d-e],h=b[d-e+1];c<d;c+=e)var k=b[c],l=b[c+1],f=f+(k-g)*(l+h),g=k,h=l;return 0<f}function Pc(b,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=Oc(b,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 Qc(b,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],l=Oc(b,c,k,e);if(0===g?f&&l||!f&&!l:f&&!l||!f&&l)for(var l=b,m=k,p=e;c<m-p;){var q;for(q=0;q<p;++q){var r=l[c+q];l[c+q]=l[m-p+q];l[m-p+q]=r}c+=p;m-=p}c=k}return c}function Rc(b,c,d,e){var f=0,g,h;g=0;for(h=c.length;g<h;++g)f=Qc(b,f,c[g],d,e);return f};function Sc(b,c){Ac.call(this);this.c=[];this.A=-1;this.D=null;this.G=-1;this.j=null;this.X(b,c)}M(Sc,Ac);n=Sc.prototype;n.clone=function(){var b=new Sc(null);Tc(b,this.g,this.a.slice(),this.c.slice());return b};n.ra=function(b){var c;void 0!==b?(c=Uc(this).slice(),Qc(c,0,this.c,this.b,b)):c=this.a;return Hc(c,0,this.c,this.b)};n.bb=function(){return this.c};function Vc(b){if(b.A!=b.f){var c=Xb(b.C());b.D=Nc(Uc(b),0,b.c,b.b,c,0);b.A=b.f}return b.D} -function Uc(b){if(b.G!=b.f){var c=b.a;Pc(c,b.c,b.b)?b.j=c:(b.j=c.slice(),b.j.length=Qc(b.j,0,b.c,b.b));b.G=b.f}return b.j}n.Na=function(b){var c=[],d=[];c.length=Jc(this.a,0,this.c,this.b,Math.sqrt(b),c,0,d);b=new Sc(null);Tc(b,"XY",c,d);return b};n.U=function(){return"Polygon"};n.X=function(b,c){if(b){Cc(this,c,b,2);this.a||(this.a=[]);var d=Fc(this.a,0,b,this.b,this.c);this.a.length=0===d.length?0:d[d.length-1];this.w()}else Tc(this,"XY",null,this.c)};function Tc(b,c,d,e){V(b,c,d);b.c=e;b.w()};function Wc(b){U.call(this);b=b||{};this.g=[0,0];var c={};c.center=void 0!==b.center?b.center:null;this.h=uc(b.projection);var d,e,f,g=void 0!==b.minZoom?b.minZoom:0;d=void 0!==b.maxZoom?b.maxZoom:28;var h=void 0!==b.zoomFactor?b.zoomFactor:2;if(void 0!==b.resolutions)d=b.resolutions,e=d[0],f=d[d.length-1],d=Oa(d);else{e=uc(b.projection);f=e.C();var k=(f?Math.max(Ub(f),Vb(f)):360*gc.degrees/oc(e))/256/Math.pow(2,0),l=k/Math.pow(2,28);e=b.maxResolution;void 0!==e?g=0:e=k/Math.pow(h,g);f=b.minResolution; +function Qc(b,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],l=Oc(b,c,k,e);if(0===g?f&&l||!f&&!l:f&&!l||!f&&l)for(var l=b,m=k,p=e;c<m-p;){var q;for(q=0;q<p;++q){var r=l[c+q];l[c+q]=l[m-p+q];l[m-p+q]=r}c+=p;m-=p}c=k}return c}function Rc(b,c,d,e){var f=0,g,h;g=0;for(h=c.length;g<h;++g)f=Qc(b,f,c[g],d,e);return f};function Sc(b,c){Ac.call(this);this.c=[];this.A=-1;this.D=null;this.G=-1;this.j=null;this.X(b,c)}M(Sc,Ac);n=Sc.prototype;n.clone=function(){var b=new Sc(null);Tc(b,this.g,this.a.slice(),this.c.slice());return b};n.oa=function(b){var c;void 0!==b?(c=Uc(this).slice(),Qc(c,0,this.c,this.b,b)):c=this.a;return Hc(c,0,this.c,this.b)};n.Ta=function(){return this.c};function Vc(b){if(b.A!=b.f){var c=Xb(b.C());b.D=Nc(Uc(b),0,b.c,b.b,c,0);b.A=b.f}return b.D} +function Uc(b){if(b.G!=b.f){var c=b.a;Pc(c,b.c,b.b)?b.j=c:(b.j=c.slice(),b.j.length=Qc(b.j,0,b.c,b.b));b.G=b.f}return b.j}n.Ea=function(b){var c=[],d=[];c.length=Jc(this.a,0,this.c,this.b,Math.sqrt(b),c,0,d);b=new Sc(null);Tc(b,"XY",c,d);return b};n.U=function(){return"Polygon"};n.X=function(b,c){if(b){Cc(this,c,b,2);this.a||(this.a=[]);var d=Fc(this.a,0,b,this.b,this.c);this.a.length=0===d.length?0:d[d.length-1];this.w()}else Tc(this,"XY",null,this.c)};function Tc(b,c,d,e){V(b,c,d);b.c=e;b.w()};function Wc(b){U.call(this);b=b||{};this.g=[0,0];var c={};c.center=void 0!==b.center?b.center:null;this.h=uc(b.projection);var d,e,f,g=void 0!==b.minZoom?b.minZoom:0;d=void 0!==b.maxZoom?b.maxZoom:28;var h=void 0!==b.zoomFactor?b.zoomFactor:2;if(void 0!==b.resolutions)d=b.resolutions,e=d[0],f=d[d.length-1],d=Oa(d);else{e=uc(b.projection);f=e.C();var k=(f?Math.max(Ub(f),Vb(f)):360*gc.degrees/oc(e))/256/Math.pow(2,0),l=k/Math.pow(2,28);e=b.maxResolution;void 0!==e?g=0:e=k/Math.pow(h,g);f=b.minResolution; void 0===f&&(f=void 0!==b.maxZoom?void 0!==b.maxResolution?e/Math.pow(h,d):k/Math.pow(h,d):l);d=g+Math.floor(Math.log(e/f)/Math.log(h));f=e/Math.pow(h,d-g);d=Pa(h,e,d-g)}this.b=e;this.i=f;this.c=g;g=void 0!==b.extent?Ea(b.extent):Fa;(void 0!==b.enableRotation?b.enableRotation:1)?(e=b.constrainRotation,e=void 0===e||!0===e?Ta():!1===e?Ra:ea(e)?Sa(e):Ra):e=Qa;this.a=new Ua(g,d,e);void 0!==b.resolution?c.resolution=b.resolution:void 0!==b.zoom&&(c.resolution=this.constrainResolution(this.b,b.zoom-this.c)); -c.rotation=void 0!==b.rotation?b.rotation:0;this.l(c)}M(Wc,U);n=Wc.prototype;n.constrainResolution=function(b,c,d){return this.a.resolution(b,c||0,d||0)};n.constrainRotation=function(b,c){return this.a.rotation(b,c||0)};n.ja=function(){return this.get("center")};n.nc=function(b){var c=this.ja(),d=this.I(),e=this.$();return Yb(c,d,e,b)};n.pe=function(){return this.h};n.I=function(){return this.get("resolution")};function Xc(b,c){return Math.max(Ub(b)/c[0],Vb(b)/c[1])}n.$=function(){return this.get("rotation")}; -n.N=function(){var b=this.ja(),c=this.h,d=this.I(),e=this.$();return{center:[Math.round(b[0]/d)*d,Math.round(b[1]/d)*d],projection:void 0!==c?c:null,resolution:d,rotation:e}};n.zd=function(){var b,c=this.I();if(void 0!==c){var d,e=0;do{d=this.constrainResolution(this.b,e);if(d==c){b=e;break}++e}while(d>this.i)}return void 0!==b?this.c+b:b}; -n.qd=function(b,c,d){if(!(b instanceof Ac)){var e=b[0],f=b[1],g=b[2],h=b[3],e=[e,f,e,h,g,h,g,f,e,f],f=new Sc(null);Tc(f,"XY",e,[e.length]);b=f}e=d||{};d=void 0!==e.padding?e.padding:[0,0,0,0];var h=void 0!==e.constrainResolution?e.constrainResolution:!0,f=void 0!==e.nearest?e.nearest:!1,k;void 0!==e.minResolution?k=e.minResolution:void 0!==e.maxZoom?k=this.constrainResolution(this.b,e.maxZoom-this.c,0):k=0;var l=b.a,g=this.$(),e=Math.cos(-g),g=Math.sin(-g),m=Infinity,p=Infinity,q=-Infinity,r=-Infinity; -b=b.b;for(var u=0,w=l.length;u<w;u+=b)var y=l[u]*e-l[u+1]*g,z=l[u]*g+l[u+1]*e,m=Math.min(m,y),p=Math.min(p,z),q=Math.max(q,y),r=Math.max(r,z);c=Xc([m,p,q,r],[c[0]-d[1]-d[3],c[1]-d[0]-d[2]]);c=isNaN(c)?k:Math.max(c,k);h&&(k=this.constrainResolution(c,0,0),!f&&k<c&&(k=this.constrainResolution(k,-1,0)),c=k);Yc(this,c);g=-g;k=(m+q)/2+(d[1]-d[3])/2*c;c=(p+r)/2+(d[0]-d[2])/2*c;this.pa([k*e-c*g,c*e+k*g])}; -n.rotate=function(b,c){if(void 0!==c){var d,e=this.ja();void 0!==e&&(d=[e[0]-c[0],e[1]-c[1]],ub(d,b-this.$()),tb(d,c));this.pa(d)}this.set("rotation",b)};n.pa=function(b){this.set("center",b)};function Zc(b,c){b.g[1]+=c}function Yc(b,c){b.set("resolution",c)}n.Je=function(b){b=this.constrainResolution(this.b,b-this.c,0);Yc(this,b)};function $c(b){return 1-Math.pow(1-b,3)}function ad(b){return 3*b*b-2*b*b*b}function bd(b){return b};function cd(b){var c=b.source,d=b.start?b.start:Date.now(),e=c[0],f=c[1],g=void 0!==b.duration?b.duration:1E3,h=b.easing?b.easing:ad;return function(b,c){if(c.time<d)return c.animate=!0,c.viewHints[0]+=1,!0;if(c.time<d+g){var m=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]+=m*p;c.viewState.center[1]+=m*q;c.viewHints[0]+=1;return!0}return!1}} -function dd(b){var c=b.rotation?b.rotation:0,d=b.start?b.start:Date.now(),e=void 0!==b.duration?b.duration:1E3,f=b.easing?b.easing:ad,g=b.anchor?b.anchor:null;return function(b,k){if(k.time<d)return k.animate=!0,k.viewHints[0]+=1,!0;if(k.time<d+e){var l=1-f((k.time-d)/e),l=(c-k.viewState.rotation)*l;k.animate=!0;k.viewState.rotation+=l;if(g){var m=k.viewState.center;m[0]-=g[0];m[1]-=g[1];ub(m,l);tb(m,g)}k.viewHints[0]+=1;return!0}return!1}} -function ed(b){var c=b.resolution,d=b.start?b.start:Date.now(),e=void 0!==b.duration?b.duration:1E3,f=b.easing?b.easing:ad;return function(b,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),l=c-h.viewState.resolution;h.animate=!0;h.viewState.resolution+=k*l;h.viewHints[0]+=1;return!0}return!1}};function fd(b,c,d,e){this.a=b;this.f=c;this.b=d;this.c=e}function gd(b,c,d){return b.a<=c&&c<=b.f&&b.b<=d&&d<=b.c}function hd(b,c){return b.a==c.a&&b.b==c.b&&b.f==c.f&&b.c==c.c}fd.prototype.da=function(){return this.f-this.a+1};function id(b,c){return b.a<=c.f&&b.f>=c.a&&b.b<=c.c&&b.c>=c.b};function jd(b){this.b=b.html;this.a=b.tileRanges?b.tileRanges:null};function kd(b,c,d){S.call(this,b,d);this.element=c}M(kd,S);function ld(b){U.call(this);this.a=b?b:[];md(this)}M(ld,U);n=ld.prototype;n.clear=function(){for(;0<this.get("length");)this.pop()};function nd(b,c,d){b.a.forEach(c,d)}n.item=function(b){return this.a[b]};n.pop=function(){return od(this,this.get("length")-1)};n.push=function(b){var c=this.a.length;this.a.splice(c,0,b);md(this);T(this,new kd("add",b,this));return c}; -n.remove=function(b){var c=this.a,d,e;d=0;for(e=c.length;d<e;++d)if(c[d]===b)return od(this,d)};function od(b,c){var d=b.a[c];b.a.splice(c,1);md(b);T(b,new kd("remove",d,b));return d}function md(b){b.set("length",b.a.length)};function pd(b,c){Array.prototype.forEach.call(b,c,void 0)}function qd(b){var c=b.length;if(0<c){for(var d=Array(c),e=0;e<c;e++)d[e]=b[e];return d}return[]}function rd(b,c,d){return 2>=arguments.length?Array.prototype.slice.call(b,c):Array.prototype.slice.call(b,c,d)};var sd=/^#(?:[0-9a-f]{3}){1,2}$/i,td=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,ud=/^(?: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 vd(b){if("string"!==typeof b){var c=b[0];c!=(c|0)&&(c=c+.5|0);var d=b[1];d!=(d|0)&&(d=d+.5|0);var e=b[2];e!=(e|0)&&(e=e+.5|0);b="rgba("+c+","+d+","+e+","+(void 0===b[3]?1:b[3])+")"}return b} -var xd=function(){var b={},c=0;return function(d){var e;if(b.hasOwnProperty(d))e=b[d];else{if(1024<=c){e=0;for(var f in b)0===(e++&3)&&(delete b[f],--c)}var g,h;sd.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=ud.exec(d))?(e=Number(h[1]),f=Number(h[2]),g=Number(h[3]),h=Number(h[4]),e=[e,f,g,h],e=wd(e,e)):(h=td.exec(d))?(e=Number(h[1]),f=Number(h[2]),g=Number(h[3]), -e=[e,f,g,1],e=wd(e,e)):e=void 0;b[d]=e;++c}return e}}();function wd(b,c){var d=c||[];d[0]=Ba(b[0]+.5|0,0,255);d[1]=Ba(b[1]+.5|0,0,255);d[2]=Ba(b[2]+.5|0,0,255);d[3]=Ba(b[3],0,1);return d};function yd(b){return"string"===typeof b||b instanceof CanvasPattern||b instanceof CanvasGradient?b:vd(b)};var zd;a:{var Ad=x.navigator;if(Ad){var Bd=Ad.userAgent;if(Bd){zd=Bd;break a}}zd=""}function W(b){return-1!=zd.indexOf(b)};function Cd(b,c){for(var d in b)c.call(void 0,b[d],d,b)}var Dd="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Ed(b,c){for(var d,e,f=1;f<arguments.length;f++){e=arguments[f];for(d in e)b[d]=e[d];for(var g=0;g<Dd.length;g++)d=Dd[g],Object.prototype.hasOwnProperty.call(e,d)&&(b[d]=e[d])}};var Fd=W("Opera")||W("OPR"),Gd=W("Trident")||W("MSIE"),Hd=W("Edge"),Id=W("Gecko")&&!(-1!=zd.toLowerCase().indexOf("webkit")&&!W("Edge"))&&!(W("Trident")||W("MSIE"))&&!W("Edge"),Jd=-1!=zd.toLowerCase().indexOf("webkit")&&!W("Edge");function Kd(){var b=x.document;return b?b.documentMode:void 0}var Ld; -a:{var Md="",Nd=function(){var b=zd;if(Id)return/rv\:([^\);]+)(\)|;)/.exec(b);if(Hd)return/Edge\/([\d\.]+)/.exec(b);if(Gd)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(b);if(Jd)return/WebKit\/(\S+)/.exec(b);if(Fd)return/(?:Version)[ \/]?(\S+)/.exec(b)}();Nd&&(Md=Nd?Nd[1]:"");if(Gd){var Od=Kd();if(null!=Od&&Od>parseFloat(Md)){Ld=String(Od);break a}}Ld=Md}var Pd={}; -function Qd(b){var c;if(!(c=Pd[b])){c=0;for(var d=qa(String(Ld)).split("."),e=qa(String(b)).split("."),f=Math.max(d.length,e.length),g=0;0==c&&g<f;g++){var h=d[g]||"",k=e[g]||"",l=RegExp("(\\d*)(\\D*)","g"),m=RegExp("(\\d*)(\\D*)","g");do{var p=l.exec(h)||["","",""],q=m.exec(k)||["","",""];if(0==p[0].length&&0==q[0].length)break;c=Aa(0==p[1].length?0:parseInt(p[1],10),0==q[1].length?0:parseInt(q[1],10))||Aa(0==p[2].length,0==q[2].length)||Aa(p[2],q[2])}while(0==c)}c=Pd[b]=0<=c}return c} -var Rd=x.document,Sd=Rd&&Gd?Kd()||("CSS1Compat"==Rd.compatMode?parseInt(Ld,10):5):void 0;var Td=!Gd||9<=Number(Sd);!Id&&!Gd||Gd&&9<=Number(Sd)||Id&&Qd("1.9.1");Gd&&Qd("9");function Ud(b,c){this.x=void 0!==b?b:0;this.y=void 0!==c?c:0}n=Ud.prototype;n.clone=function(){return new Ud(this.x,this.y)};n.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};n.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};n.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};n.scale=function(b,c){var d=ea(c)?c:b;this.x*=b;this.y*=d;return this};function Vd(b,c){this.width=b;this.height=c}n=Vd.prototype;n.clone=function(){return new Vd(this.width,this.height)};n.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};n.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};n.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};n.scale=function(b,c){var d=ea(c)?c:b;this.width*=b;this.height*=d;return this};function Wd(b){return b?new Xd(Yd(b)):pa||(pa=new Xd)}function Zd(b){var c=document;return da(b)?c.getElementById(b):b}function $d(b,c){Cd(c,function(c,e){"style"==e?b.style.cssText=c:"class"==e?b.className=c:"for"==e?b.htmlFor=c:ae.hasOwnProperty(e)?b.setAttribute(ae[e],c):0==e.lastIndexOf("aria-",0)||0==e.lastIndexOf("data-",0)?b.setAttribute(e,c):b[e]=c})} -var ae={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 be(b,c,d){var e=arguments,f=document,g=e[0],h=e[1];if(!Td&&h&&(h.name||h.type)){g=["<",g];h.name&&g.push(' name="',sa(h.name),'"');if(h.type){g.push(' type="',sa(h.type),'"');var k={};Ed(k,h);delete k.type;h=k}g.push(">");g=g.join("")}g=f.createElement(g);h&&(da(h)?g.className=h:"array"==ba(h)?g.className=h.join(" "):$d(g,h));2<e.length&&ce(f,g,e);return g} -function ce(b,c,d){function e(d){d&&c.appendChild(da(d)?b.createTextNode(d):d)}for(var f=2;f<d.length;f++){var g=d[f];!ca(g)||ha(g)&&0<g.nodeType?e(g):pd(de(g)?qd(g):g,e)}}function ee(b){for(var c;c=b.firstChild;)b.removeChild(c)}function fe(b,c,d){b.insertBefore(c,b.childNodes[d]||null)}function ge(b){b&&b.parentNode&&b.parentNode.removeChild(b)}function he(b,c){var d=c.parentNode;d&&d.replaceChild(b,c)} -function ie(b,c){if(!b||!c)return!1;if(b.contains&&1==c.nodeType)return b==c||b.contains(c);if("undefined"!=typeof b.compareDocumentPosition)return b==c||!!(b.compareDocumentPosition(c)&16);for(;c&&b!=c;)c=c.parentNode;return c==b}function Yd(b){return 9==b.nodeType?b:b.ownerDocument||b.document}function de(b){if(b&&"number"==typeof b.length){if(ha(b))return"function"==typeof b.item||"string"==typeof b.item;if(ga(b))return"function"==typeof b.item}return!1} -function Xd(b){this.a=b||x.document||document}Xd.prototype.appendChild=function(b,c){b.appendChild(c)};function je(b,c,d,e){this.top=b;this.right=c;this.bottom=d;this.left=e}n=je.prototype;n.da=function(){return this.right-this.left};n.clone=function(){return new je(this.top,this.right,this.bottom,this.left)};n.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this}; -n.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};n.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};n.scale=function(b,c){var d=ea(c)?c:b;this.left*=b;this.right*=b;this.top*=d;this.bottom*=d;return this};function ke(b,c){var d=Yd(b);return d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(b,null))?d[c]||d.getPropertyValue(c)||"":""}function le(b){var c;try{c=b.getBoundingClientRect()}catch(d){return{left:0,top:0,right:0,bottom:0}}Gd&&b.ownerDocument.body&&(b=b.ownerDocument,c.left-=b.documentElement.clientLeft+b.body.clientLeft,c.top-=b.documentElement.clientTop+b.body.clientTop);return c} -function me(b){var c=ne;if("none"!=(ke(b,"display")||(b.currentStyle?b.currentStyle.display:null)||b.style&&b.style.display))return c(b);var d=b.style,e=d.display,f=d.visibility,g=d.position;d.visibility="hidden";d.position="absolute";d.display="inline";b=c(b);d.display=e;d.position=g;d.visibility=f;return b}function ne(b){var c=b.offsetWidth,d=b.offsetHeight,e=Jd&&!c&&!d;return(void 0===c||e)&&b.getBoundingClientRect?(b=le(b),new Vd(b.right-b.left,b.bottom-b.top)):new Vd(c,d)} -function oe(b,c){b.style.display=c?"":"none"}function pe(b,c,d,e){if(/^\d+px?$/.test(c))return parseInt(c,10);var f=b.style[d],g=b.runtimeStyle[d];b.runtimeStyle[d]=b.currentStyle[d];b.style[d]=c;c=b.style[e];b.style[d]=f;b.runtimeStyle[d]=g;return c}function qe(b,c){var d=b.currentStyle?b.currentStyle[c]:null;return d?pe(b,d,"left","pixelLeft"):0}var re={thin:2,medium:4,thick:6}; -function se(b,c){if("none"==(b.currentStyle?b.currentStyle[c+"Style"]:null))return 0;var d=b.currentStyle?b.currentStyle[c+"Width"]:null;return d in re?re[d]:pe(b,d,"left","pixelLeft")};function te(b,c,d){S.call(this,b);this.map=c;this.frameState=void 0!==d?d:null}M(te,S);function ue(b){U.call(this);this.element=b.element?b.element:null;this.c=this.A=null;this.h=[];this.render=b.render?b.render:N;b.target&&(this.A=Zd(b.target))}M(ue,U);ue.prototype.K=function(){ge(this.element);ue.Y.K.call(this)};ue.prototype.setMap=function(b){this.c&&ge(this.element);for(var c=0,d=this.h.length;c<d;++c)P(this.h[c]);this.h.length=0;if(this.c=b)(this.A?this.A:b.j).appendChild(this.element),this.render!==N&&this.h.push(R(b,"postrender",this.render,this)),b.render()};function ve(){this.f=0;this.c={};this.b=this.a=null}n=ve.prototype;n.clear=function(){this.f=0;this.c={};this.b=this.a=null};function we(b,c){return b.c.hasOwnProperty(c)}function xe(b,c){for(var d=b.a;d;)c.call(void 0,d.Ka,d.Ub,b),d=d.ma}n.get=function(b){b=this.c[b];if(b===this.b)return b.Ka;b===this.a?(this.a=this.a.ma,this.a.Ra=null):(b.ma.Ra=b.Ra,b.Ra.ma=b.ma);b.ma=null;b.Ra=this.b;this.b=this.b.ma=b;return b.Ka}; -n.pop=function(){var b=this.a;delete this.c[b.Ub];b.ma&&(b.ma.Ra=null);this.a=b.ma;this.a||(this.b=null);--this.f;return b.Ka};n.replace=function(b,c){this.get(b);this.c[b].Ka=c};n.set=function(b,c){var d={Ub:b,ma:null,Ra:this.b,Ka:c};this.b?this.b.ma=d:this.a=d;this.b=d;this.c[b]=d;++this.f};function ye(b){ve.call(this);this.g=void 0!==b?b:2048}M(ye,ve);function ze(b){return b.f>b.g}function Ae(b,c){for(var d,e;ze(b);){d=b.a.Ka;e=d.L[0].toString();var f;if(f=e in c)d=d.L,f=gd(c[e],d[1],d[2]);if(f)break;else ib(b.pop())}};function Be(b,c){lb.call(this);this.L=b;this.state=c;this.a=null;this.key=""}M(Be,lb);function Ce(b){T(b,"change")}Be.prototype.getKey=function(){return I(this).toString()};Be.prototype.N=function(){return this.state};function De(b){U.call(this);this.c=kc(b.projection);this.i=Ee(b.attributions);this.v=b.logo;this.A=void 0!==b.state?b.state:"ready";this.j=void 0!==b.wrapX?b.wrapX:!1}M(De,U);function Ee(b){if("string"===typeof b)return[new jd({html:b})];if(b instanceof jd)return[b];if(Array.isArray(b)){for(var c=b.length,d=Array(c),e=0;e<c;e++){var f=b[e];d[e]="string"===typeof f?new jd({html:f}):f}return d}return null}De.prototype.N=function(){return this.A};De.prototype.za=function(){this.w()};function Fe(b){this.minZoom=void 0!==b.minZoom?b.minZoom:0;this.b=b.resolutions;this.maxZoom=this.b.length-1;this.f=void 0!==b.origin?b.origin:null;this.g=null;void 0!==b.origins&&(this.g=b.origins);var c=b.extent;void 0===c||this.f||this.g||(this.f=ac(c));this.h=null;void 0!==b.tileSizes&&(this.h=b.tileSizes);this.l=void 0!==b.tileSize?b.tileSize:this.h?null:256;this.i=void 0!==c?c:null;this.a=null;void 0!==b.sizes?this.a=b.sizes.map(function(b){return new fd(Math.min(0,b[0]),Math.max(b[0]-1,-1), -Math.min(0,b[1]),Math.max(b[1]-1,-1))},this):c&&Ge(this,c);this.c=[0,0]}var He=[0,0,0];function Ie(b,c,d,e,f){f=Je(b,c,f);for(c=c[0]-1;c>=b.minZoom;){if(d.call(null,c,Ke(b,f,c,e)))return!0;--c}return!1}Fe.prototype.C=function(){return this.i};Fe.prototype.ia=function(b){return this.f?this.f:this.g[b]};Fe.prototype.I=function(b){return this.b[b]};Fe.prototype.Qb=function(){return this.b};function Le(b,c,d,e){return c[0]<b.maxZoom?(e=Je(b,c,e),Ke(b,e,c[0]+1,d)):null} -function Me(b,c,d,e){Ne(b,c[0],c[1],d,!1,He);var f=He[1],g=He[2];Ne(b,c[2],c[3],d,!0,He);b=He[1];c=He[2];void 0!==e?(e.a=f,e.f=b,e.b=g,e.c=c):e=new fd(f,b,g,c);return e}function Ke(b,c,d,e){d=b.I(d);return Me(b,c,d,e)}function Oe(b,c){var d=b.ia(c[0]),e=b.I(c[0]),f=sb(Pe(b,c[0]),b.c);return[d[0]+(c[1]+.5)*f[0]*e,d[1]+(c[2]+.5)*f[1]*e]}function Je(b,c,d){var e=b.ia(c[0]),f=b.I(c[0]);b=sb(Pe(b,c[0]),b.c);var g=e[0]+c[1]*b[0]*f;c=e[1]+c[2]*b[1]*f;return Nb(g,c,g+b[0]*f,c+b[1]*f,d)} -function Ne(b,c,d,e,f,g){var h=Qe(b,e),k=e/b.I(h),l=b.ia(h);b=sb(Pe(b,h),b.c);c=k*Math.floor((c-l[0])/e+(f?.5:0))/b[0];d=k*Math.floor((d-l[1])/e+(f?0:.5))/b[1];f?(c=Math.ceil(c)-1,d=Math.ceil(d)-1):(c=Math.floor(c),d=Math.floor(d));f=c;void 0!==g?(g[0]=h,g[1]=f,g[2]=d):g=[h,f,d];return g}function Re(b,c,d){d=b.I(d);return Ne(b,c[0],c[1],d,!1,void 0)}function Pe(b,c){return b.l?b.l:b.h[c]}function Qe(b,c){var d=Ha(b.b,c,0);return Ba(d,b.minZoom,b.maxZoom)} -function Ge(b,c){for(var d=b.b.length,e=Array(d),f=b.minZoom;f<d;++f)e[f]=Ke(b,c,f);b.a=e}function Se(b){var c=b.c;if(!c){var c=Te(b),d=Ue(c,void 0,void 0),c=new Fe({extent:c,origin:ac(c),resolutions:d,tileSize:void 0});b.c=c}return c}function Ue(b,c,d){c=void 0!==c?c:42;var e=Vb(b);b=Ub(b);d=sb(void 0!==d?d:256);d=Math.max(b/d[0],e/d[1]);c+=1;e=Array(c);for(b=0;b<c;++b)e[b]=d/Math.pow(2,b);return e}function Te(b){b=kc(b);var c=b.C();c||(b=180*gc.degrees/oc(b),c=Nb(-b,-b,b,b));return c};function Ve(b){De.call(this,{attributions:b.attributions,extent:b.extent,logo:b.logo,projection:b.projection,state:b.state,wrapX:b.wrapX});this.G=void 0!==b.opaque?b.opaque:!1;this.Z=void 0!==b.tilePixelRatio?b.tilePixelRatio:1;this.tileGrid=void 0!==b.tileGrid?b.tileGrid:null;this.a=new ye(b.cacheSize);this.h=[0,0]}M(Ve,De);n=Ve.prototype;n.Qc=function(){return ze(this.a)};n.Rc=function(b,c){var d=this.cb(b);d&&Ae(d,c)}; -function We(b,c,d,e,f){c=b.cb(c);if(!c)return!1;for(var g=!0,h,k,l=e.a;l<=e.f;++l)for(var m=e.b;m<=e.c;++m)h=b.nb(d,l,m),k=!1,we(c,h)&&(h=c.get(h),(k=2===h.N())&&(k=!1!==f(h))),k||(g=!1);return g}n.mb=function(){return 0};n.nb=function(b,c,d){return b+"/"+c+"/"+d};n.Pb=function(){return this.G};n.Qb=function(){return this.tileGrid.Qb()};n.la=function(b){return this.tileGrid?this.tileGrid:Se(b)};n.cb=function(b){var c=this.c;return c&&!vc(c,b)?null:this.a};n.ob=function(){return this.Z}; -function Xe(b,c,d,e){e=b.la(e);d=b.ob(d);c=sb(Pe(e,c),b.h);return 1==d?c:rb(c,d,b.h)}function Ye(b,c,d){var e=void 0!==d?d:b.c;d=b.la(e);if(b.j&&e.f){var f=c;c=f[0];b=Oe(d,f);var e=Te(e),g=b[0],h=b[1];e[0]<=g&&g<=e[2]&&e[1]<=h&&h<=e[3]?c=f:(f=Ub(e),b[0]+=f*Math.ceil((e[0]-b[0])/f),c=Re(d,b,c))}e=c[0];b=c[1];f=c[2];d=d.minZoom>e||e>d.maxZoom?!1:(d=(g=d.C())?Ke(d,g,e):d.a?d.a[e]:null)?gd(d,b,f):!0;return d?c:null}n.za=function(){this.a.clear();this.w()};n.$c=N; -function Ze(b,c){S.call(this,b);this.tile=c}M(Ze,S);function $e(b){b=b?b:{};this.s=document.createElement("UL");this.j=document.createElement("LI");this.s.appendChild(this.j);oe(this.j,!1);this.g=void 0!==b.collapsed?b.collapsed:!0;this.i=void 0!==b.collapsible?b.collapsible:!0;this.i||(this.g=!1);var c=void 0!==b.className?b.className:"ol-attribution",d=void 0!==b.tipLabel?b.tipLabel:"Attributions",e=void 0!==b.collapseLabel?b.collapseLabel:"\u00bb";this.u="string"===typeof e?be("SPAN",{},e):e;e=void 0!==b.label?b.label:"i";this.v="string"===typeof e? -be("SPAN",{},e):e;d=be("BUTTON",{type:"button",title:d},this.i&&!this.g?this.u:this.v);R(d,"click",this.G,this);c=be("DIV",c+" ol-unselectable ol-control"+(this.g&&this.i?" ol-collapsed":"")+(this.i?"":" ol-uncollapsible"),this.s,d);ue.call(this,{element:c,render:b.render?b.render:af,target:b.target});this.o=!0;this.b={};this.a={};this.D={}}M($e,ue); -function af(b){if(b=b.frameState){var c,d,e,f,g,h,k,l,m,p,q,r=b.layerStatesArray,u=Va({},b.attributions),w={},y=b.viewState.projection;d=0;for(c=r.length;d<c;d++)if(h=r[d].layer.W())if(p=I(h).toString(),m=h.i)for(e=0,f=m.length;e<f;e++)if(k=m[e],l=I(k).toString(),!(l in u)){if(g=b.usedTiles[p]){var z=h.la(y);a:{q=k;var D=y;if(q.a){var t=void 0,v=void 0,B=void 0,F=void 0;for(F in g)if(F in q.a)for(var B=g[F],C,t=0,v=q.a[F].length;t<v;++t){C=q.a[F][t];if(id(C,B)){q=!0;break a}var G=Ke(z,Te(D),parseInt(F, -10)),J=G.da();if(B.a<G.a||B.f>G.f)if(id(C,new fd(Da(B.a,J),Da(B.f,J),B.b,B.c))||B.da()>J&&id(C,G)){q=!0;break a}}q=!1}else q=!0}}else q=!1;q?(l in w&&delete w[l],u[l]=k):w[l]=k}c=[u,w];d=c[0];c=c[1];for(var A in this.b)A in d?(this.a[A]||(oe(this.b[A],!0),this.a[A]=!0),delete d[A]):A in c?(this.a[A]&&(oe(this.b[A],!1),delete this.a[A]),delete c[A]):(ge(this.b[A]),delete this.b[A],delete this.a[A]);for(A in d)e=document.createElement("LI"),e.innerHTML=d[A].b,this.s.appendChild(e),this.b[A]=e,this.a[A]= -!0;for(A in c)e=document.createElement("LI"),e.innerHTML=c[A].b,oe(e,!1),this.s.appendChild(e),this.b[A]=e;A=!Za(this.a)||!Za(b.logos);this.o!=A&&(oe(this.element,A),this.o=A);A&&Za(this.a)?this.element.classList.add("ol-logo-only"):this.element.classList.remove("ol-logo-only");var H;b=b.logos;A=this.D;for(H in A)H in b||(ge(A[H]),delete A[H]);for(var O in b)O in A||(H=new Image,H.src=O,d=b[O],""===d?d=H:(d=be("A",{href:d}),d.appendChild(H)),this.j.appendChild(d),A[O]=d);oe(this.j,!Za(b))}else this.o&& -(oe(this.element,!1),this.o=!1)}$e.prototype.G=function(b){b.preventDefault();this.element.classList.toggle("ol-collapsed");this.g?he(this.u,this.v):he(this.v,this.u);this.g=!this.g};function bf(b){b=b?b:{};var c=void 0!==b.className?b.className:"ol-rotate",d=void 0!==b.label?b.label:"\u21e7";this.a=null;"string"===typeof d?this.a=be("SPAN","ol-compass",d):(this.a=d,this.a.classList.add(this.a,"ol-compass"));d=be("BUTTON",{"class":c+"-reset",type:"button",title:b.tipLabel?b.tipLabel:"Reset rotation"},this.a);R(d,"click",bf.prototype.o,this);c=be("DIV",c+" ol-unselectable ol-control",d);d=b.render?b.render:cf;this.g=b.resetNorth?b.resetNorth:void 0;ue.call(this,{element:c,render:d, -target:b.target});this.i=void 0!==b.duration?b.duration:250;this.b=void 0!==b.autoHide?b.autoHide:!0;this.j=void 0;this.b&&this.element.classList.add("ol-hidden")}M(bf,ue);bf.prototype.o=function(b){b.preventDefault();if(void 0!==this.g)this.g();else{b=this.c;var c=b.O();if(c){var d=c.$();void 0!==d&&(0<this.i&&(d%=2*Math.PI,d<-Math.PI&&(d+=2*Math.PI),d>Math.PI&&(d-=2*Math.PI),b.ha(dd({rotation:d,duration:this.i,easing:$c}))),c.set("rotation",0))}}}; -function cf(b){if(b=b.frameState){b=b.viewState.rotation;if(b!=this.j){var c="rotate("+b+"rad)";if(this.b){var d=this.element.classList.contains("ol-hidden");d||0!==b?d&&0!==b&&this.element.classList.remove("ol-hidden"):this.element.classList.add("ol-hidden")}this.a.style.msTransform=c;this.a.style.webkitTransform=c;this.a.style.transform=c}this.j=b}};function df(b){b=b?b:{};var c=void 0!==b.className?b.className:"ol-zoom",d=void 0!==b.delta?b.delta:1,e=void 0!==b.zoomOutLabel?b.zoomOutLabel:"\u2212",f=void 0!==b.zoomOutTipLabel?b.zoomOutTipLabel:"Zoom out",g=be("BUTTON",{"class":c+"-in",type:"button",title:void 0!==b.zoomInTipLabel?b.zoomInTipLabel:"Zoom in"},void 0!==b.zoomInLabel?b.zoomInLabel:"+");R(g,"click",na(df.prototype.b,d),this);e=be("BUTTON",{"class":c+"-out",type:"button",title:f},e);R(e,"click",na(df.prototype.b,-d),this);c=be("DIV", -c+" ol-unselectable ol-control",g,e);ue.call(this,{element:c,target:b.target});this.a=void 0!==b.duration?b.duration:250}M(df,ue);df.prototype.b=function(b,c){c.preventDefault();var d=this.c,e=d.O();if(e){var f=e.I();f&&(0<this.a&&d.ha(ed({resolution:f,duration:this.a,easing:$c})),d=e.constrainResolution(f,b),Yc(e,d))}};function ef(b){b=b?b:{};var c=new ld;(void 0!==b.zoom?b.zoom:1)&&c.push(new df(b.zoomOptions));(void 0!==b.rotate?b.rotate:1)&&c.push(new bf(b.rotateOptions));(void 0!==b.attribution?b.attribution:1)&&c.push(new $e(b.attributionOptions));return c};var ff=Jd?"webkitfullscreenchange":Id?"mozfullscreenchange":Gd?"MSFullscreenChange":"fullscreenchange";function gf(){var b=Wd().a,c=b.body;return!!(c.webkitRequestFullscreen||c.mozRequestFullScreen&&b.mozFullScreenEnabled||c.msRequestFullscreen&&b.msFullscreenEnabled||c.requestFullscreen&&b.fullscreenEnabled)} -function hf(b){b.webkitRequestFullscreen?b.webkitRequestFullscreen():b.mozRequestFullScreen?b.mozRequestFullScreen():b.msRequestFullscreen?b.msRequestFullscreen():b.requestFullscreen&&b.requestFullscreen()}function jf(){var b=Wd().a;return!!(b.webkitIsFullScreen||b.mozFullScreen||b.msFullscreenElement||b.fullscreenElement)};function kf(b){b=b?b:{};this.a=void 0!==b.className?b.className:"ol-full-screen";var c=void 0!==b.label?b.label:"\u2922";this.b="string"===typeof c?document.createTextNode(c):c;c=void 0!==b.labelActive?b.labelActive:"\u00d7";this.g="string"===typeof c?document.createTextNode(c):c;c=b.tipLabel?b.tipLabel:"Toggle full-screen";c=be("BUTTON",{"class":this.a+"-"+jf(),type:"button",title:c},this.b);R(c,"click",this.s,this);var d=this.a+" ol-unselectable ol-control "+(gf()?"":"ol-unsupported"),c=be("DIV", -d,c);ue.call(this,{element:c,target:b.target});this.o=void 0!==b.keys?b.keys:!1;this.i=b.source}M(kf,ue); -kf.prototype.s=function(b){b.preventDefault();gf()&&(b=this.c)&&(jf()?(b=Wd().a,b.webkitCancelFullScreen?b.webkitCancelFullScreen():b.mozCancelFullScreen?b.mozCancelFullScreen():b.msExitFullscreen?b.msExitFullscreen():b.exitFullscreen&&b.exitFullscreen()):(b=this.i?Zd(this.i):b.Oa(),this.o?b.mozRequestFullScreenWithKeys?b.mozRequestFullScreenWithKeys():b.webkitRequestFullscreen?b.webkitRequestFullscreen():hf(b):hf(b)))}; -kf.prototype.j=function(){var b=this.element.firstElementChild,c=this.c;jf()?(b.className=this.a+"-true",he(this.g,this.b)):(b.className=this.a+"-false",he(this.b,this.g));c&&c.xb()};kf.prototype.setMap=function(b){kf.Y.setMap.call(this,b);b&&this.h.push(R(x.document,ff,this.j,this))};var lf; -function mf(){var b=x.MessageChannel;"undefined"===typeof b&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!W("Presto")&&(b=function(){var b=document.createElement("IFRAME");b.style.display="none";b.src="";document.documentElement.appendChild(b);var c=b.contentWindow,b=c.document;b.open();b.write("");b.close();var d="callImmediate"+Math.random(),e="file:"==c.location.protocol?"*":c.location.protocol+"//"+c.location.host,b=ma(function(b){if(("*"==e||b.origin==e)&&b.data== -d)this.port1.onmessage()},this);c.addEventListener("message",b,!1);this.port1={};this.port2={postMessage:function(){c.postMessage(d,e)}}});if("undefined"!==typeof b&&!W("Trident")&&!W("MSIE")){var c=new b,d={},e=d;c.port1.onmessage=function(){if(void 0!==d.next){d=d.next;var b=d.pc;d.pc=null;b()}};return function(b){e.next={pc:b};e=e.next;c.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(b){var c=document.createElement("SCRIPT"); -c.onreadystatechange=function(){c.onreadystatechange=null;c.parentNode.removeChild(c);c=null;b();b=null};document.documentElement.appendChild(c)}:function(b){x.setTimeout(b,0)}};function nf(b,c,d){S.call(this,b);this.a=c;b=d?d:{};this.buttons=of(b);this.pressure=pf(b,this.buttons);this.bubbles="bubbles"in b?b.bubbles:!1;this.cancelable="cancelable"in b?b.cancelable:!1;this.view="view"in b?b.view:null;this.detail="detail"in b?b.detail:null;this.screenX="screenX"in b?b.screenX:0;this.screenY="screenY"in b?b.screenY:0;this.clientX="clientX"in b?b.clientX:0;this.clientY="clientY"in b?b.clientY:0;this.button="button"in b?b.button:0;this.relatedTarget="relatedTarget"in b?b.relatedTarget: -null;this.pointerId="pointerId"in b?b.pointerId:0;this.width="width"in b?b.width:0;this.height="height"in b?b.height:0;this.pointerType="pointerType"in b?b.pointerType:"";this.isPrimary="isPrimary"in b?b.isPrimary:!1;c.preventDefault&&(this.preventDefault=function(){c.preventDefault()})}M(nf,S);function of(b){if(b.buttons||qf)b=b.buttons;else switch(b.which){case 1:b=1;break;case 2:b=4;break;case 3:b=2;break;default:b=0}return b}function pf(b,c){var d=0;b.pressure?d=b.pressure:d=c?.5:0;return d} -var qf=!1;try{qf=1===(new MouseEvent("click",{buttons:1})).buttons}catch(b){};function rf(b,c){var d=document.createElement("CANVAS");b&&(d.width=b);c&&(d.height=c);return d.getContext("2d")} -var sf=function(){var b;return function(){if(void 0===b){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=x.getComputedStyle(c).getPropertyValue(e[f]));document.body.removeChild(c);b=d&&"none"!==d}return b}}(),tf=function(){var b;return function(){if(void 0===b){var c=document.createElement("P"), +c.rotation=void 0!==b.rotation?b.rotation:0;this.l(c)}M(Wc,U);n=Wc.prototype;n.constrainResolution=function(b,c,d){return this.a.resolution(b,c||0,d||0)};n.constrainRotation=function(b,c){return this.a.rotation(b,c||0)};n.ga=function(){return this.get("center")};n.dc=function(b){var c=this.ga(),d=this.J(),e=Xc(this);return Yb(c,d,e,b)};n.ae=function(){return this.h};n.J=function(){return this.get("resolution")};function Yc(b,c){return Math.max(Ub(b)/c[0],Vb(b)/c[1])} +function Xc(b){return b.get("rotation")}n.N=function(){var b=this.ga(),c=this.h,d=this.J(),e=Xc(this);return{center:[Math.round(b[0]/d)*d,Math.round(b[1]/d)*d],projection:void 0!==c?c:null,resolution:d,rotation:e}};n.kd=function(){var b,c=this.J();if(void 0!==c){var d,e=0;do{d=this.constrainResolution(this.b,e);if(d==c){b=e;break}++e}while(d>this.i)}return void 0!==b?this.c+b:b}; +n.fd=function(b,c,d){if(!(b instanceof Ac)){var e=b[0],f=b[1],g=b[2],h=b[3],e=[e,f,e,h,g,h,g,f,e,f],f=new Sc(null);Tc(f,"XY",e,[e.length]);b=f}e=d||{};d=void 0!==e.padding?e.padding:[0,0,0,0];var h=void 0!==e.constrainResolution?e.constrainResolution:!0,f=void 0!==e.nearest?e.nearest:!1,k;void 0!==e.minResolution?k=e.minResolution:void 0!==e.maxZoom?k=this.constrainResolution(this.b,e.maxZoom-this.c,0):k=0;var l=b.a,g=Xc(this),e=Math.cos(-g),g=Math.sin(-g),m=Infinity,p=Infinity,q=-Infinity,r=-Infinity; +b=b.b;for(var u=0,w=l.length;u<w;u+=b)var y=l[u]*e-l[u+1]*g,z=l[u]*g+l[u+1]*e,m=Math.min(m,y),p=Math.min(p,z),q=Math.max(q,y),r=Math.max(r,z);c=Yc([m,p,q,r],[c[0]-d[1]-d[3],c[1]-d[0]-d[2]]);c=isNaN(c)?k:Math.max(c,k);h&&(k=this.constrainResolution(c,0,0),!f&&k<c&&(k=this.constrainResolution(k,-1,0)),c=k);Zc(this,c);g=-g;k=(m+q)/2+(d[1]-d[3])/2*c;c=(p+r)/2+(d[0]-d[2])/2*c;this.ma([k*e-c*g,c*e+k*g])}; +n.rotate=function(b,c){if(void 0!==c){var d,e=this.ga();void 0!==e&&(d=[e[0]-c[0],e[1]-c[1]],ub(d,b-Xc(this)),tb(d,c));this.ma(d)}this.set("rotation",b)};n.ma=function(b){this.set("center",b)};function $c(b,c){b.g[1]+=c}function Zc(b,c){b.set("resolution",c)}n.ue=function(b){b=this.constrainResolution(this.b,b-this.c,0);Zc(this,b)};function ad(b){return 1-Math.pow(1-b,3)}function bd(b){return 3*b*b-2*b*b*b}function cd(b){return b};function dd(b){var c=b.source,d=b.start?b.start:Date.now(),e=c[0],f=c[1],g=void 0!==b.duration?b.duration:1E3,h=b.easing?b.easing:bd;return function(b,c){if(c.time<d)return c.animate=!0,c.viewHints[0]+=1,!0;if(c.time<d+g){var m=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]+=m*p;c.viewState.center[1]+=m*q;c.viewHints[0]+=1;return!0}return!1}} +function ed(b){var c=b.rotation?b.rotation:0,d=b.start?b.start:Date.now(),e=void 0!==b.duration?b.duration:1E3,f=b.easing?b.easing:bd,g=b.anchor?b.anchor:null;return function(b,k){if(k.time<d)return k.animate=!0,k.viewHints[0]+=1,!0;if(k.time<d+e){var l=1-f((k.time-d)/e),l=(c-k.viewState.rotation)*l;k.animate=!0;k.viewState.rotation+=l;if(g){var m=k.viewState.center;m[0]-=g[0];m[1]-=g[1];ub(m,l);tb(m,g)}k.viewHints[0]+=1;return!0}return!1}} +function fd(b){var c=b.resolution,d=b.start?b.start:Date.now(),e=void 0!==b.duration?b.duration:1E3,f=b.easing?b.easing:bd;return function(b,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),l=c-h.viewState.resolution;h.animate=!0;h.viewState.resolution+=k*l;h.viewHints[0]+=1;return!0}return!1}};function gd(b,c,d,e){this.a=b;this.b=c;this.f=d;this.c=e}function hd(b,c,d){return b.a<=c&&c<=b.b&&b.f<=d&&d<=b.c}function id(b,c){return b.a==c.a&&b.f==c.f&&b.b==c.b&&b.c==c.c}function jd(b,c){return b.a<=c.b&&b.b>=c.a&&b.f<=c.c&&b.c>=c.f};function kd(b){this.b=b.html;this.a=b.tileRanges?b.tileRanges:null};function ld(b,c,d){S.call(this,b,d);this.element=c}M(ld,S);function md(b){U.call(this);this.a=b?b:[];nd(this)}M(md,U);n=md.prototype;n.clear=function(){for(;0<this.get("length");)this.pop()};function od(b,c,d){b.a.forEach(c,d)}n.item=function(b){return this.a[b]};n.pop=function(){return pd(this,this.get("length")-1)};n.push=function(b){var c=this.a.length;this.a.splice(c,0,b);nd(this);T(this,new ld("add",b,this));return c}; +n.remove=function(b){var c=this.a,d,e;d=0;for(e=c.length;d<e;++d)if(c[d]===b)return pd(this,d)};function pd(b,c){var d=b.a[c];b.a.splice(c,1);nd(b);T(b,new ld("remove",d,b));return d}function nd(b){b.set("length",b.a.length)};function qd(b,c){Array.prototype.forEach.call(b,c,void 0)}function rd(b){var c=b.length;if(0<c){for(var d=Array(c),e=0;e<c;e++)d[e]=b[e];return d}return[]}function sd(b,c,d){return 2>=arguments.length?Array.prototype.slice.call(b,c):Array.prototype.slice.call(b,c,d)};var td=/^#(?:[0-9a-f]{3}){1,2}$/i,ud=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,vd=/^(?: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 wd(b){if("string"!==typeof b){var c=b[0];c!=(c|0)&&(c=c+.5|0);var d=b[1];d!=(d|0)&&(d=d+.5|0);var e=b[2];e!=(e|0)&&(e=e+.5|0);b="rgba("+c+","+d+","+e+","+(void 0===b[3]?1:b[3])+")"}return b} +var yd=function(){var b={},c=0;return function(d){var e;if(b.hasOwnProperty(d))e=b[d];else{if(1024<=c){e=0;for(var f in b)0===(e++&3)&&(delete b[f],--c)}var g,h;td.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=vd.exec(d))?(e=Number(h[1]),f=Number(h[2]),g=Number(h[3]),h=Number(h[4]),e=[e,f,g,h],e=xd(e,e)):(h=ud.exec(d))?(e=Number(h[1]),f=Number(h[2]),g=Number(h[3]), +e=[e,f,g,1],e=xd(e,e)):e=void 0;b[d]=e;++c}return e}}();function xd(b,c){var d=c||[];d[0]=Ba(b[0]+.5|0,0,255);d[1]=Ba(b[1]+.5|0,0,255);d[2]=Ba(b[2]+.5|0,0,255);d[3]=Ba(b[3],0,1);return d};function zd(b){return"string"===typeof b||b instanceof CanvasPattern||b instanceof CanvasGradient?b:wd(b)};var Ad;a:{var Bd=x.navigator;if(Bd){var Cd=Bd.userAgent;if(Cd){Ad=Cd;break a}}Ad=""}function W(b){return-1!=Ad.indexOf(b)};function Dd(b,c){for(var d in b)c.call(void 0,b[d],d,b)}var Ed="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Fd(b,c){for(var d,e,f=1;f<arguments.length;f++){e=arguments[f];for(d in e)b[d]=e[d];for(var g=0;g<Ed.length;g++)d=Ed[g],Object.prototype.hasOwnProperty.call(e,d)&&(b[d]=e[d])}};var Gd=W("Opera")||W("OPR"),Hd=W("Trident")||W("MSIE"),Id=W("Edge"),Jd=W("Gecko")&&!(-1!=Ad.toLowerCase().indexOf("webkit")&&!W("Edge"))&&!(W("Trident")||W("MSIE"))&&!W("Edge"),Kd=-1!=Ad.toLowerCase().indexOf("webkit")&&!W("Edge");function Ld(){var b=x.document;return b?b.documentMode:void 0}var Md; +a:{var Nd="",Od=function(){var b=Ad;if(Jd)return/rv\:([^\);]+)(\)|;)/.exec(b);if(Id)return/Edge\/([\d\.]+)/.exec(b);if(Hd)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(b);if(Kd)return/WebKit\/(\S+)/.exec(b);if(Gd)return/(?:Version)[ \/]?(\S+)/.exec(b)}();Od&&(Nd=Od?Od[1]:"");if(Hd){var Pd=Ld();if(null!=Pd&&Pd>parseFloat(Nd)){Md=String(Pd);break a}}Md=Nd}var Qd={}; +function Rd(b){var c;if(!(c=Qd[b])){c=0;for(var d=qa(String(Md)).split("."),e=qa(String(b)).split("."),f=Math.max(d.length,e.length),g=0;0==c&&g<f;g++){var h=d[g]||"",k=e[g]||"",l=RegExp("(\\d*)(\\D*)","g"),m=RegExp("(\\d*)(\\D*)","g");do{var p=l.exec(h)||["","",""],q=m.exec(k)||["","",""];if(0==p[0].length&&0==q[0].length)break;c=Aa(0==p[1].length?0:parseInt(p[1],10),0==q[1].length?0:parseInt(q[1],10))||Aa(0==p[2].length,0==q[2].length)||Aa(p[2],q[2])}while(0==c)}c=Qd[b]=0<=c}return c} +var Sd=x.document,Td=Sd&&Hd?Ld()||("CSS1Compat"==Sd.compatMode?parseInt(Md,10):5):void 0;var Ud=!Hd||9<=Number(Td);!Jd&&!Hd||Hd&&9<=Number(Td)||Jd&&Rd("1.9.1");Hd&&Rd("9");function Vd(b,c){this.x=void 0!==b?b:0;this.y=void 0!==c?c:0}n=Vd.prototype;n.clone=function(){return new Vd(this.x,this.y)};n.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};n.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};n.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};n.scale=function(b,c){var d=ea(c)?c:b;this.x*=b;this.y*=d;return this};function Wd(b,c){this.width=b;this.height=c}n=Wd.prototype;n.clone=function(){return new Wd(this.width,this.height)};n.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};n.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};n.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};n.scale=function(b,c){var d=ea(c)?c:b;this.width*=b;this.height*=d;return this};function Xd(b){return b?new Yd(Zd(b)):pa||(pa=new Yd)}function $d(b){var c=document;return da(b)?c.getElementById(b):b}function ae(b,c){Dd(c,function(c,e){"style"==e?b.style.cssText=c:"class"==e?b.className=c:"for"==e?b.htmlFor=c:be.hasOwnProperty(e)?b.setAttribute(be[e],c):0==e.lastIndexOf("aria-",0)||0==e.lastIndexOf("data-",0)?b.setAttribute(e,c):b[e]=c})} +var be={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 ce(b,c,d){var e=arguments,f=document,g=e[0],h=e[1];if(!Ud&&h&&(h.name||h.type)){g=["<",g];h.name&&g.push(' name="',sa(h.name),'"');if(h.type){g.push(' type="',sa(h.type),'"');var k={};Fd(k,h);delete k.type;h=k}g.push(">");g=g.join("")}g=f.createElement(g);h&&(da(h)?g.className=h:"array"==ba(h)?g.className=h.join(" "):ae(g,h));2<e.length&&de(f,g,e);return g} +function de(b,c,d){function e(d){d&&c.appendChild(da(d)?b.createTextNode(d):d)}for(var f=2;f<d.length;f++){var g=d[f];!ca(g)||ha(g)&&0<g.nodeType?e(g):qd(ee(g)?rd(g):g,e)}}function fe(b){for(var c;c=b.firstChild;)b.removeChild(c)}function ge(b,c,d){b.insertBefore(c,b.childNodes[d]||null)}function he(b){b&&b.parentNode&&b.parentNode.removeChild(b)}function ie(b,c){var d=c.parentNode;d&&d.replaceChild(b,c)} +function je(b,c){if(!b||!c)return!1;if(b.contains&&1==c.nodeType)return b==c||b.contains(c);if("undefined"!=typeof b.compareDocumentPosition)return b==c||!!(b.compareDocumentPosition(c)&16);for(;c&&b!=c;)c=c.parentNode;return c==b}function Zd(b){return 9==b.nodeType?b:b.ownerDocument||b.document}function ee(b){if(b&&"number"==typeof b.length){if(ha(b))return"function"==typeof b.item||"string"==typeof b.item;if(ga(b))return"function"==typeof b.item}return!1} +function Yd(b){this.a=b||x.document||document}Yd.prototype.appendChild=function(b,c){b.appendChild(c)};function ke(b,c,d,e){this.top=b;this.right=c;this.bottom=d;this.left=e}n=ke.prototype;n.clone=function(){return new ke(this.top,this.right,this.bottom,this.left)};n.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};n.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this}; +n.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};n.scale=function(b,c){var d=ea(c)?c:b;this.left*=b;this.right*=b;this.top*=d;this.bottom*=d;return this};function le(b,c){var d=Zd(b);return d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(b,null))?d[c]||d.getPropertyValue(c)||"":""}function me(b){var c;try{c=b.getBoundingClientRect()}catch(d){return{left:0,top:0,right:0,bottom:0}}Hd&&b.ownerDocument.body&&(b=b.ownerDocument,c.left-=b.documentElement.clientLeft+b.body.clientLeft,c.top-=b.documentElement.clientTop+b.body.clientTop);return c} +function ne(b){var c=oe;if("none"!=(le(b,"display")||(b.currentStyle?b.currentStyle.display:null)||b.style&&b.style.display))return c(b);var d=b.style,e=d.display,f=d.visibility,g=d.position;d.visibility="hidden";d.position="absolute";d.display="inline";b=c(b);d.display=e;d.position=g;d.visibility=f;return b}function oe(b){var c=b.offsetWidth,d=b.offsetHeight,e=Kd&&!c&&!d;return(void 0===c||e)&&b.getBoundingClientRect?(b=me(b),new Wd(b.right-b.left,b.bottom-b.top)):new Wd(c,d)} +function pe(b,c){b.style.display=c?"":"none"}function qe(b,c,d,e){if(/^\d+px?$/.test(c))return parseInt(c,10);var f=b.style[d],g=b.runtimeStyle[d];b.runtimeStyle[d]=b.currentStyle[d];b.style[d]=c;c=b.style[e];b.style[d]=f;b.runtimeStyle[d]=g;return c}function re(b,c){var d=b.currentStyle?b.currentStyle[c]:null;return d?qe(b,d,"left","pixelLeft"):0}var se={thin:2,medium:4,thick:6}; +function te(b,c){if("none"==(b.currentStyle?b.currentStyle[c+"Style"]:null))return 0;var d=b.currentStyle?b.currentStyle[c+"Width"]:null;return d in se?se[d]:qe(b,d,"left","pixelLeft")};function ue(b,c,d){S.call(this,b);this.map=c;this.frameState=void 0!==d?d:null}M(ue,S);function ve(b){U.call(this);this.element=b.element?b.element:null;this.c=this.A=null;this.h=[];this.render=b.render?b.render:N;b.target&&(this.A=$d(b.target))}M(ve,U);ve.prototype.K=function(){he(this.element);ve.Y.K.call(this)};ve.prototype.setMap=function(b){this.c&&he(this.element);for(var c=0,d=this.h.length;c<d;++c)P(this.h[c]);this.h.length=0;if(this.c=b)(this.A?this.A:b.j).appendChild(this.element),this.render!==N&&this.h.push(R(b,"postrender",this.render,this)),b.render()};function we(){this.f=0;this.c={};this.b=this.a=null}n=we.prototype;n.clear=function(){this.f=0;this.c={};this.b=this.a=null};function xe(b,c){return b.c.hasOwnProperty(c)}function ye(b,c){for(var d=b.a;d;)c.call(void 0,d.Ba,d.Kb,b),d=d.ja}n.get=function(b){b=this.c[b];if(b===this.b)return b.Ba;b===this.a?(this.a=this.a.ja,this.a.Ia=null):(b.ja.Ia=b.Ia,b.Ia.ja=b.ja);b.ja=null;b.Ia=this.b;this.b=this.b.ja=b;return b.Ba}; +n.pop=function(){var b=this.a;delete this.c[b.Kb];b.ja&&(b.ja.Ia=null);this.a=b.ja;this.a||(this.b=null);--this.f;return b.Ba};n.replace=function(b,c){this.get(b);this.c[b].Ba=c};n.set=function(b,c){var d={Kb:b,ja:null,Ia:this.b,Ba:c};this.b?this.b.ja=d:this.a=d;this.b=d;this.c[b]=d;++this.f};function ze(b){we.call(this);this.g=void 0!==b?b:2048}M(ze,we);function Ae(b){return b.f>b.g}function Be(b,c){for(var d,e;Ae(b);){d=b.a.Ba;e=d.L[0].toString();var f;if(f=e in c)d=d.L,f=hd(c[e],d[1],d[2]);if(f)break;else ib(b.pop())}};function Ce(b,c){lb.call(this);this.L=b;this.state=c;this.a=null;this.key=""}M(Ce,lb);function De(b){T(b,"change")}Ce.prototype.getKey=function(){return I(this).toString()};Ce.prototype.N=function(){return this.state};function Ee(b){U.call(this);this.c=kc(b.projection);this.i=Fe(b.attributions);this.v=b.logo;this.A=void 0!==b.state?b.state:"ready";this.j=void 0!==b.wrapX?b.wrapX:!1}M(Ee,U);function Fe(b){if("string"===typeof b)return[new kd({html:b})];if(b instanceof kd)return[b];if(Array.isArray(b)){for(var c=b.length,d=Array(c),e=0;e<c;e++){var f=b[e];d[e]="string"===typeof f?new kd({html:f}):f}return d}return null}Ee.prototype.N=function(){return this.A};Ee.prototype.ra=function(){this.w()};function Ge(b){this.minZoom=void 0!==b.minZoom?b.minZoom:0;this.b=b.resolutions;this.maxZoom=this.b.length-1;this.f=void 0!==b.origin?b.origin:null;this.g=null;void 0!==b.origins&&(this.g=b.origins);var c=b.extent;void 0===c||this.f||this.g||(this.f=ac(c));this.h=null;void 0!==b.tileSizes&&(this.h=b.tileSizes);this.l=void 0!==b.tileSize?b.tileSize:this.h?null:256;this.i=void 0!==c?c:null;this.a=null;void 0!==b.sizes?this.a=b.sizes.map(function(b){return new gd(Math.min(0,b[0]),Math.max(b[0]-1,-1), +Math.min(0,b[1]),Math.max(b[1]-1,-1))},this):c&&He(this,c);this.c=[0,0]}var Ie=[0,0,0];function Je(b,c,d,e,f){f=Ke(b,c,f);for(c=c[0]-1;c>=b.minZoom;){if(d.call(null,c,Le(b,f,c,e)))return!0;--c}return!1}Ge.prototype.C=function(){return this.i};Ge.prototype.fa=function(b){return this.f?this.f:this.g[b]};Ge.prototype.J=function(b){return this.b[b]};Ge.prototype.Gb=function(){return this.b};function Me(b,c,d,e){return c[0]<b.maxZoom?(e=Ke(b,c,e),Le(b,e,c[0]+1,d)):null} +function Ne(b,c,d,e){Oe(b,c[0],c[1],d,!1,Ie);var f=Ie[1],g=Ie[2];Oe(b,c[2],c[3],d,!0,Ie);b=Ie[1];c=Ie[2];void 0!==e?(e.a=f,e.b=b,e.f=g,e.c=c):e=new gd(f,b,g,c);return e}function Le(b,c,d,e){d=b.J(d);return Ne(b,c,d,e)}function Pe(b,c){var d=b.fa(c[0]),e=b.J(c[0]),f=sb(Qe(b,c[0]),b.c);return[d[0]+(c[1]+.5)*f[0]*e,d[1]+(c[2]+.5)*f[1]*e]}function Ke(b,c,d){var e=b.fa(c[0]),f=b.J(c[0]);b=sb(Qe(b,c[0]),b.c);var g=e[0]+c[1]*b[0]*f;c=e[1]+c[2]*b[1]*f;return Nb(g,c,g+b[0]*f,c+b[1]*f,d)} +function Oe(b,c,d,e,f,g){var h=Re(b,e),k=e/b.J(h),l=b.fa(h);b=sb(Qe(b,h),b.c);c=k*Math.floor((c-l[0])/e+(f?.5:0))/b[0];d=k*Math.floor((d-l[1])/e+(f?0:.5))/b[1];f?(c=Math.ceil(c)-1,d=Math.ceil(d)-1):(c=Math.floor(c),d=Math.floor(d));f=c;void 0!==g?(g[0]=h,g[1]=f,g[2]=d):g=[h,f,d];return g}function Se(b,c,d){d=b.J(d);return Oe(b,c[0],c[1],d,!1,void 0)}function Qe(b,c){return b.l?b.l:b.h[c]}function Re(b,c){var d=Ha(b.b,c,0);return Ba(d,b.minZoom,b.maxZoom)} +function He(b,c){for(var d=b.b.length,e=Array(d),f=b.minZoom;f<d;++f)e[f]=Le(b,c,f);b.a=e}function Te(b){var c=b.c;if(!c){var c=Ue(b),d=Ve(c,void 0,void 0),c=new Ge({extent:c,origin:ac(c),resolutions:d,tileSize:void 0});b.c=c}return c}function Ve(b,c,d){c=void 0!==c?c:42;var e=Vb(b);b=Ub(b);d=sb(void 0!==d?d:256);d=Math.max(b/d[0],e/d[1]);c+=1;e=Array(c);for(b=0;b<c;++b)e[b]=d/Math.pow(2,b);return e}function Ue(b){b=kc(b);var c=b.C();c||(b=180*gc.degrees/oc(b),c=Nb(-b,-b,b,b));return c};function We(b){Ee.call(this,{attributions:b.attributions,extent:b.extent,logo:b.logo,projection:b.projection,state:b.state,wrapX:b.wrapX});this.G=void 0!==b.opaque?b.opaque:!1;this.Z=void 0!==b.tilePixelRatio?b.tilePixelRatio:1;this.tileGrid=void 0!==b.tileGrid?b.tileGrid:null;this.a=new ze(b.cacheSize);this.h=[0,0]}M(We,Ee);n=We.prototype;n.Gc=function(){return Ae(this.a)};n.Hc=function(b,c){var d=this.Ua(b);d&&Be(d,c)}; +function Xe(b,c,d,e,f){c=b.Ua(c);if(!c)return!1;for(var g=!0,h,k,l=e.a;l<=e.b;++l)for(var m=e.f;m<=e.c;++m)h=b.cb(d,l,m),k=!1,xe(c,h)&&(h=c.get(h),(k=2===h.N())&&(k=!1!==f(h))),k||(g=!1);return g}n.bb=function(){return 0};n.cb=function(b,c,d){return b+"/"+c+"/"+d};n.Fb=function(){return this.G};n.Gb=function(){return this.tileGrid.Gb()};n.ia=function(b){return this.tileGrid?this.tileGrid:Te(b)};n.Ua=function(b){var c=this.c;return c&&!vc(c,b)?null:this.a};n.eb=function(){return this.Z}; +function Ye(b,c,d,e){e=b.ia(e);d=b.eb(d);c=sb(Qe(e,c),b.h);return 1==d?c:rb(c,d,b.h)}function Ze(b,c,d){var e=void 0!==d?d:b.c;d=b.ia(e);if(b.j&&e.f){var f=c;c=f[0];b=Pe(d,f);var e=Ue(e),g=b[0],h=b[1];e[0]<=g&&g<=e[2]&&e[1]<=h&&h<=e[3]?c=f:(f=Ub(e),b[0]+=f*Math.ceil((e[0]-b[0])/f),c=Se(d,b,c))}e=c[0];b=c[1];f=c[2];d=d.minZoom>e||e>d.maxZoom?!1:(d=(g=d.C())?Le(d,g,e):d.a?d.a[e]:null)?hd(d,b,f):!0;return d?c:null}n.ra=function(){this.a.clear();this.w()};n.Qc=N; +function $e(b,c){S.call(this,b);this.tile=c}M($e,S);function af(b){b=b?b:{};this.s=document.createElement("UL");this.j=document.createElement("LI");this.s.appendChild(this.j);pe(this.j,!1);this.g=void 0!==b.collapsed?b.collapsed:!0;this.i=void 0!==b.collapsible?b.collapsible:!0;this.i||(this.g=!1);var c=void 0!==b.className?b.className:"ol-attribution",d=void 0!==b.tipLabel?b.tipLabel:"Attributions",e=void 0!==b.collapseLabel?b.collapseLabel:"\u00bb";this.u="string"===typeof e?ce("SPAN",{},e):e;e=void 0!==b.label?b.label:"i";this.v="string"===typeof e? +ce("SPAN",{},e):e;d=ce("BUTTON",{type:"button",title:d},this.i&&!this.g?this.u:this.v);R(d,"click",this.G,this);c=ce("DIV",c+" ol-unselectable ol-control"+(this.g&&this.i?" ol-collapsed":"")+(this.i?"":" ol-uncollapsible"),this.s,d);ve.call(this,{element:c,render:b.render?b.render:bf,target:b.target});this.o=!0;this.b={};this.a={};this.D={}}M(af,ve); +function bf(b){if(b=b.frameState){var c,d,e,f,g,h,k,l,m,p,q,r=b.layerStatesArray,u=Va({},b.attributions),w={},y=b.viewState.projection;d=0;for(c=r.length;d<c;d++)if(h=r[d].layer.W())if(p=I(h).toString(),m=h.i)for(e=0,f=m.length;e<f;e++)if(k=m[e],l=I(k).toString(),!(l in u)){if(g=b.usedTiles[p]){var z=h.ia(y);a:{q=k;var D=y;if(q.a){var t=void 0,v=void 0,B=void 0,F=void 0;for(F in g)if(F in q.a)for(var B=g[F],C,t=0,v=q.a[F].length;t<v;++t){C=q.a[F][t];if(jd(C,B)){q=!0;break a}var G=Le(z,Ue(D),parseInt(F, +10)),J=G.b-G.a+1;if(B.a<G.a||B.b>G.b)if(jd(C,new gd(Da(B.a,J),Da(B.b,J),B.f,B.c))||B.b-B.a+1>J&&jd(C,G)){q=!0;break a}}q=!1}else q=!0}}else q=!1;q?(l in w&&delete w[l],u[l]=k):w[l]=k}c=[u,w];d=c[0];c=c[1];for(var A in this.b)A in d?(this.a[A]||(pe(this.b[A],!0),this.a[A]=!0),delete d[A]):A in c?(this.a[A]&&(pe(this.b[A],!1),delete this.a[A]),delete c[A]):(he(this.b[A]),delete this.b[A],delete this.a[A]);for(A in d)e=document.createElement("LI"),e.innerHTML=d[A].b,this.s.appendChild(e),this.b[A]=e, +this.a[A]=!0;for(A in c)e=document.createElement("LI"),e.innerHTML=c[A].b,pe(e,!1),this.s.appendChild(e),this.b[A]=e;A=!Za(this.a)||!Za(b.logos);this.o!=A&&(pe(this.element,A),this.o=A);A&&Za(this.a)?this.element.classList.add("ol-logo-only"):this.element.classList.remove("ol-logo-only");var H;b=b.logos;A=this.D;for(H in A)H in b||(he(A[H]),delete A[H]);for(var O in b)O in A||(H=new Image,H.src=O,d=b[O],""===d?d=H:(d=ce("A",{href:d}),d.appendChild(H)),this.j.appendChild(d),A[O]=d);pe(this.j,!Za(b))}else this.o&& +(pe(this.element,!1),this.o=!1)}af.prototype.G=function(b){b.preventDefault();this.element.classList.toggle("ol-collapsed");this.g?ie(this.u,this.v):ie(this.v,this.u);this.g=!this.g};function cf(b){b=b?b:{};var c=void 0!==b.className?b.className:"ol-rotate",d=void 0!==b.label?b.label:"\u21e7";this.a=null;"string"===typeof d?this.a=ce("SPAN","ol-compass",d):(this.a=d,this.a.classList.add(this.a,"ol-compass"));d=ce("BUTTON",{"class":c+"-reset",type:"button",title:b.tipLabel?b.tipLabel:"Reset rotation"},this.a);R(d,"click",cf.prototype.o,this);c=ce("DIV",c+" ol-unselectable ol-control",d);d=b.render?b.render:df;this.g=b.resetNorth?b.resetNorth:void 0;ve.call(this,{element:c,render:d, +target:b.target});this.i=void 0!==b.duration?b.duration:250;this.b=void 0!==b.autoHide?b.autoHide:!0;this.j=void 0;this.b&&this.element.classList.add("ol-hidden")}M(cf,ve);cf.prototype.o=function(b){b.preventDefault();if(void 0!==this.g)this.g();else{b=this.c;var c=b.O();if(c){var d=Xc(c);void 0!==d&&(0<this.i&&(d%=2*Math.PI,d<-Math.PI&&(d+=2*Math.PI),d>Math.PI&&(d-=2*Math.PI),b.ea(ed({rotation:d,duration:this.i,easing:ad}))),c.set("rotation",0))}}}; +function df(b){if(b=b.frameState){b=b.viewState.rotation;if(b!=this.j){var c="rotate("+b+"rad)";if(this.b){var d=this.element.classList.contains("ol-hidden");d||0!==b?d&&0!==b&&this.element.classList.remove("ol-hidden"):this.element.classList.add("ol-hidden")}this.a.style.msTransform=c;this.a.style.webkitTransform=c;this.a.style.transform=c}this.j=b}};function ef(b){b=b?b:{};var c=void 0!==b.className?b.className:"ol-zoom",d=void 0!==b.delta?b.delta:1,e=void 0!==b.zoomOutLabel?b.zoomOutLabel:"\u2212",f=void 0!==b.zoomOutTipLabel?b.zoomOutTipLabel:"Zoom out",g=ce("BUTTON",{"class":c+"-in",type:"button",title:void 0!==b.zoomInTipLabel?b.zoomInTipLabel:"Zoom in"},void 0!==b.zoomInLabel?b.zoomInLabel:"+");R(g,"click",na(ef.prototype.b,d),this);e=ce("BUTTON",{"class":c+"-out",type:"button",title:f},e);R(e,"click",na(ef.prototype.b,-d),this);c=ce("DIV", +c+" ol-unselectable ol-control",g,e);ve.call(this,{element:c,target:b.target});this.a=void 0!==b.duration?b.duration:250}M(ef,ve);ef.prototype.b=function(b,c){c.preventDefault();var d=this.c,e=d.O();if(e){var f=e.J();f&&(0<this.a&&d.ea(fd({resolution:f,duration:this.a,easing:ad})),d=e.constrainResolution(f,b),Zc(e,d))}};function ff(b){b=b?b:{};var c=new md;(void 0!==b.zoom?b.zoom:1)&&c.push(new ef(b.zoomOptions));(void 0!==b.rotate?b.rotate:1)&&c.push(new cf(b.rotateOptions));(void 0!==b.attribution?b.attribution:1)&&c.push(new af(b.attributionOptions));return c};var gf=Kd?"webkitfullscreenchange":Jd?"mozfullscreenchange":Hd?"MSFullscreenChange":"fullscreenchange";function hf(){var b=Xd().a,c=b.body;return!!(c.webkitRequestFullscreen||c.mozRequestFullScreen&&b.mozFullScreenEnabled||c.msRequestFullscreen&&b.msFullscreenEnabled||c.requestFullscreen&&b.fullscreenEnabled)} +function jf(b){b.webkitRequestFullscreen?b.webkitRequestFullscreen():b.mozRequestFullScreen?b.mozRequestFullScreen():b.msRequestFullscreen?b.msRequestFullscreen():b.requestFullscreen&&b.requestFullscreen()}function kf(){var b=Xd().a;return!!(b.webkitIsFullScreen||b.mozFullScreen||b.msFullscreenElement||b.fullscreenElement)};function lf(b){b=b?b:{};this.a=void 0!==b.className?b.className:"ol-full-screen";var c=void 0!==b.label?b.label:"\u2922";this.b="string"===typeof c?document.createTextNode(c):c;c=void 0!==b.labelActive?b.labelActive:"\u00d7";this.g="string"===typeof c?document.createTextNode(c):c;c=b.tipLabel?b.tipLabel:"Toggle full-screen";c=ce("BUTTON",{"class":this.a+"-"+kf(),type:"button",title:c},this.b);R(c,"click",this.s,this);var d=this.a+" ol-unselectable ol-control "+(hf()?"":"ol-unsupported"),c=ce("DIV", +d,c);ve.call(this,{element:c,target:b.target});this.o=void 0!==b.keys?b.keys:!1;this.i=b.source}M(lf,ve); +lf.prototype.s=function(b){b.preventDefault();hf()&&(b=this.c)&&(kf()?(b=Xd().a,b.webkitCancelFullScreen?b.webkitCancelFullScreen():b.mozCancelFullScreen?b.mozCancelFullScreen():b.msExitFullscreen?b.msExitFullscreen():b.exitFullscreen&&b.exitFullscreen()):(b=this.i?$d(this.i):b.Fa(),this.o?b.mozRequestFullScreenWithKeys?b.mozRequestFullScreenWithKeys():b.webkitRequestFullscreen?b.webkitRequestFullscreen():jf(b):jf(b)))}; +lf.prototype.j=function(){var b=this.element.firstElementChild,c=this.c;kf()?(b.className=this.a+"-true",ie(this.g,this.b)):(b.className=this.a+"-false",ie(this.b,this.g));c&&c.nb()};lf.prototype.setMap=function(b){lf.Y.setMap.call(this,b);b&&this.h.push(R(x.document,gf,this.j,this))};var mf; +function nf(){var b=x.MessageChannel;"undefined"===typeof b&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!W("Presto")&&(b=function(){var b=document.createElement("IFRAME");b.style.display="none";b.src="";document.documentElement.appendChild(b);var c=b.contentWindow,b=c.document;b.open();b.write("");b.close();var d="callImmediate"+Math.random(),e="file:"==c.location.protocol?"*":c.location.protocol+"//"+c.location.host,b=ma(function(b){if(("*"==e||b.origin==e)&&b.data== +d)this.port1.onmessage()},this);c.addEventListener("message",b,!1);this.port1={};this.port2={postMessage:function(){c.postMessage(d,e)}}});if("undefined"!==typeof b&&!W("Trident")&&!W("MSIE")){var c=new b,d={},e=d;c.port1.onmessage=function(){if(void 0!==d.next){d=d.next;var b=d.fc;d.fc=null;b()}};return function(b){e.next={fc:b};e=e.next;c.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(b){var c=document.createElement("SCRIPT"); +c.onreadystatechange=function(){c.onreadystatechange=null;c.parentNode.removeChild(c);c=null;b();b=null};document.documentElement.appendChild(c)}:function(b){x.setTimeout(b,0)}};function of(b,c,d){S.call(this,b);this.a=c;b=d?d:{};this.buttons=pf(b);this.pressure=qf(b,this.buttons);this.bubbles="bubbles"in b?b.bubbles:!1;this.cancelable="cancelable"in b?b.cancelable:!1;this.view="view"in b?b.view:null;this.detail="detail"in b?b.detail:null;this.screenX="screenX"in b?b.screenX:0;this.screenY="screenY"in b?b.screenY:0;this.clientX="clientX"in b?b.clientX:0;this.clientY="clientY"in b?b.clientY:0;this.button="button"in b?b.button:0;this.relatedTarget="relatedTarget"in b?b.relatedTarget: +null;this.pointerId="pointerId"in b?b.pointerId:0;this.width="width"in b?b.width:0;this.height="height"in b?b.height:0;this.pointerType="pointerType"in b?b.pointerType:"";this.isPrimary="isPrimary"in b?b.isPrimary:!1;c.preventDefault&&(this.preventDefault=function(){c.preventDefault()})}M(of,S);function pf(b){if(b.buttons||rf)b=b.buttons;else switch(b.which){case 1:b=1;break;case 2:b=4;break;case 3:b=2;break;default:b=0}return b}function qf(b,c){var d=0;b.pressure?d=b.pressure:d=c?.5:0;return d} +var rf=!1;try{rf=1===(new MouseEvent("click",{buttons:1})).buttons}catch(b){};function sf(b,c){var d=document.createElement("CANVAS");b&&(d.width=b);c&&(d.height=c);return d.getContext("2d")} +var tf=function(){var b;return function(){if(void 0===b){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=x.getComputedStyle(c).getPropertyValue(e[f]));document.body.removeChild(c);b=d&&"none"!==d}return b}}(),uf=function(){var b;return function(){if(void 0===b){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=x.getComputedStyle(c).getPropertyValue(e[f]));document.body.removeChild(c);b=d&&"none"!==d}return b}}(); -function uf(b,c){var d=b.style;d.WebkitTransform=c;d.MozTransform=c;d.a=c;d.msTransform=c;d.transform=c;Gd&&Qd("9.0")&&(b.style.transformOrigin="0 0")}function vf(b,c){var d;if(tf()){var e=Array(16);for(d=0;16>d;++d)e[d]=c[d].toFixed(6);uf(b,"matrix3d("+e.join(",")+")")}else if(sf()){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);uf(b,"matrix("+f.join(",")+")")}else b.style.left=Math.round(c[12])+"px",b.style.top=Math.round(c[13])+"px"};var wf=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function xf(b,c){var d,e,f=wf.length;for(e=0;e<f;++e)try{if(d=b.getContext(wf[e],c))return d}catch(g){}return null};var yf,zf="undefined"!==typeof navigator?navigator.userAgent.toLowerCase():"",Af=-1!==zf.indexOf("firefox"),Bf=-1!==zf.indexOf("safari")&&-1===zf.indexOf("chrom"),Cf=-1!==zf.indexOf("macintosh"),Df=x.devicePixelRatio||1,Ef=!1,Ff=function(){if(!("HTMLCanvasElement"in x))return!1;try{var b=rf();return b?(void 0!==b.setLineDash&&(Ef=!0),!0):!1}catch(c){return!1}}(),Gf="ontouchstart"in x,Hf="PointerEvent"in x,If=!!x.navigator.msPointerEnabled,Jf=!1,Kf=[]; -if("WebGLRenderingContext"in x)try{var Lf=xf(document.createElement("CANVAS"),{failIfMajorPerformanceCaveat:!0});Lf&&(Jf=!0,Kf=Lf.getSupportedExtensions())}catch(b){}yf=Jf;oa=Kf;function Mf(b,c){this.a=b;this.g=c};function Nf(b){Mf.call(this,b,{mousedown:this.Zd,mousemove:this.$d,mouseup:this.ce,mouseover:this.be,mouseout:this.ae});this.b=b.b;this.f=[]}M(Nf,Mf);function Of(b,c){for(var d=b.f,e=c.clientX,f=c.clientY,g=0,h=d.length,k;g<h&&(k=d[g]);g++){var l=Math.abs(f-k[1]);if(25>=Math.abs(e-k[0])&&25>=l)return!0}return!1}function Pf(b){var c=Qf(b,b),d=c.preventDefault;c.preventDefault=function(){b.preventDefault();d()};c.pointerId=1;c.isPrimary=!0;c.pointerType="mouse";return c}n=Nf.prototype; -n.Zd=function(b){if(!Of(this,b)){if((1).toString()in this.b){var c=Pf(b);Rf(this.a,Sf,c,b);delete this.b[(1).toString()]}c=Pf(b);this.b[(1).toString()]=b;Rf(this.a,Tf,c,b)}};n.$d=function(b){if(!Of(this,b)){var c=Pf(b);Rf(this.a,Uf,c,b)}};n.ce=function(b){if(!Of(this,b)){var c=this.b[(1).toString()];c&&c.button===b.button&&(c=Pf(b),Rf(this.a,Vf,c,b),delete this.b[(1).toString()])}};n.be=function(b){if(!Of(this,b)){var c=Pf(b);Wf(this.a,c,b)}}; -n.ae=function(b){if(!Of(this,b)){var c=Pf(b);Xf(this.a,c,b)}};function Yf(b){Mf.call(this,b,{MSPointerDown:this.he,MSPointerMove:this.ie,MSPointerUp:this.le,MSPointerOut:this.je,MSPointerOver:this.ke,MSPointerCancel:this.ge,MSGotPointerCapture:this.ee,MSLostPointerCapture:this.fe});this.b=b.b;this.f=["","unavailable","touch","pen","mouse"]}M(Yf,Mf);function Zf(b,c){var d=c;ea(c.pointerType)&&(d=Qf(c,c),d.pointerType=b.f[c.pointerType]);return d}n=Yf.prototype;n.he=function(b){this.b[b.pointerId.toString()]=b;var c=Zf(this,b);Rf(this.a,Tf,c,b)}; -n.ie=function(b){var c=Zf(this,b);Rf(this.a,Uf,c,b)};n.le=function(b){var c=Zf(this,b);Rf(this.a,Vf,c,b);delete this.b[b.pointerId.toString()]};n.je=function(b){var c=Zf(this,b);Xf(this.a,c,b)};n.ke=function(b){var c=Zf(this,b);Wf(this.a,c,b)};n.ge=function(b){var c=Zf(this,b);Rf(this.a,Sf,c,b);delete this.b[b.pointerId.toString()]};n.fe=function(b){T(this.a,new nf("lostpointercapture",b,b))};n.ee=function(b){T(this.a,new nf("gotpointercapture",b,b))};function $f(b){Mf.call(this,b,{pointerdown:this.we,pointermove:this.xe,pointerup:this.Ae,pointerout:this.ye,pointerover:this.ze,pointercancel:this.ve,gotpointercapture:this.Ad,lostpointercapture:this.Yd})}M($f,Mf);n=$f.prototype;n.we=function(b){ag(this.a,b)};n.xe=function(b){ag(this.a,b)};n.Ae=function(b){ag(this.a,b)};n.ye=function(b){ag(this.a,b)};n.ze=function(b){ag(this.a,b)};n.ve=function(b){ag(this.a,b)};n.Yd=function(b){ag(this.a,b)};n.Ad=function(b){ag(this.a,b)};function bg(b,c){Mf.call(this,b,{touchstart:this.Ne,touchmove:this.Me,touchend:this.Le,touchcancel:this.Ke});this.b=b.b;this.l=c;this.f=void 0;this.h=0;this.c=void 0}M(bg,Mf);n=bg.prototype;n.Zc=function(){this.h=0;this.c=void 0}; -function cg(b,c,d){c=Qf(c,d);c.pointerId=d.identifier+2;c.bubbles=!0;c.cancelable=!0;c.detail=b.h;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=b.f===d.identifier;c.pointerType="touch";c.clientX=d.clientX;c.clientY=d.clientY;c.screenX=d.screenX;c.screenY=d.screenY;return c} -function dg(b,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=cg(b,c,f[h]),k.preventDefault=e,d.call(b,c,k)} -n.Ne=function(b){var c=b.touches,d=Object.keys(this.b),e=d.length;if(e>=c.length){var f=[],g,h,k;for(g=0;g<e;++g){h=d[g];k=this.b[h];var l;if(!(l=1==h))a:{l=c.length;for(var m=void 0,p=0;p<l;p++)if(m=c[p],m.identifier===h-2){l=!0;break a}l=!1}l||f.push(k.out)}for(g=0;g<f.length;++g)this.Hb(b,f[g])}c=b.changedTouches[0];d=Object.keys(this.b).length;if(0===d||1===d&&(1).toString()in this.b)this.f=c.identifier,void 0!==this.c&&x.clearTimeout(this.c);eg(this,b);this.h++;dg(this,b,this.ue)}; -n.ue=function(b,c){this.b[c.pointerId]={target:c.target,out:c,Wc:c.target};var d=this.a;c.bubbles=!0;Rf(d,fg,c,b);d=this.a;c.bubbles=!1;Rf(d,gg,c,b);Rf(this.a,Tf,c,b)};n.Me=function(b){b.preventDefault();dg(this,b,this.de)};n.de=function(b,c){var d=this.b[c.pointerId];if(d){var e=d.out,f=d.Wc;Rf(this.a,Uf,c,b);e&&f!==c.target&&(e.relatedTarget=c.target,c.relatedTarget=f,e.target=f,c.target?(Xf(this.a,e,b),Wf(this.a,c,b)):(c.target=f,c.relatedTarget=null,this.Hb(b,c)));d.out=c;d.Wc=c.target}}; -n.Le=function(b){eg(this,b);dg(this,b,this.Oe)};n.Oe=function(b,c){Rf(this.a,Vf,c,b);this.a.out(c,b);var d=this.a;c.bubbles=!1;Rf(d,hg,c,b);delete this.b[c.pointerId];c.isPrimary&&(this.f=void 0,this.c=x.setTimeout(this.Zc.bind(this),200))};n.Ke=function(b){dg(this,b,this.Hb)};n.Hb=function(b,c){Rf(this.a,Sf,c,b);this.a.out(c,b);var d=this.a;c.bubbles=!1;Rf(d,hg,c,b);delete this.b[c.pointerId];c.isPrimary&&(this.f=void 0,this.c=x.setTimeout(this.Zc.bind(this),200))}; -function eg(b,c){var d=b.l.f,e=c.changedTouches[0];if(b.f===e.identifier){var f=[e.clientX,e.clientY];d.push(f);x.setTimeout(function(){Ka(d,f)},2500)}};function ig(b){lb.call(this);this.g=b;this.b={};this.c={};this.a=[];Hf?jg(this,new $f(this)):If?jg(this,new Yf(this)):(b=new Nf(this),jg(this,b),Gf&&jg(this,new bg(this,b)));b=this.a.length;for(var c,d=0;d<b;d++)c=this.a[d],kg(this,Object.keys(c.g))}M(ig,lb);function jg(b,c){var d=Object.keys(c.g);d&&(d.forEach(function(b){var d=c.g[b];d&&(this.c[b]=d.bind(c))},b),b.a.push(c))}ig.prototype.f=function(b){var c=this.c[b.type];c&&c(b)}; -function kg(b,c){c.forEach(function(b){R(this.g,b,this.f,this)},b)}function lg(b,c){c.forEach(function(b){fb(this.g,b,this.f,this)},b)}function Qf(b,c){for(var d={},e,f=0,g=mg.length;f<g;f++)e=mg[f][0],d[e]=b[e]||c[e]||mg[f][1];return d}ig.prototype.out=function(b,c){b.bubbles=!0;Rf(this,ng,b,c)};function Xf(b,c,d){b.out(c,d);var e=c.relatedTarget;e&&ie(c.target,e)||(c.bubbles=!1,Rf(b,hg,c,d))} -function Wf(b,c,d){c.bubbles=!0;Rf(b,fg,c,d);var e=c.relatedTarget;e&&ie(c.target,e)||(c.bubbles=!1,Rf(b,gg,c,d))}function Rf(b,c,d,e){T(b,new nf(c,e,d))}function ag(b,c){T(b,new nf(c.type,c,c))}ig.prototype.K=function(){for(var b=this.a.length,c,d=0;d<b;d++)c=this.a[d],lg(this,Object.keys(c.g));ig.Y.K.call(this)}; -var Uf="pointermove",Tf="pointerdown",Vf="pointerup",fg="pointerover",ng="pointerout",gg="pointerenter",hg="pointerleave",Sf="pointercancel",mg=[["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 og(b,c,d,e,f){te.call(this,b,c,f);this.originalEvent=d;this.pixel=c.xc(d);this.coordinate=c.ua(this.pixel);this.dragging=void 0!==e?e:!1}M(og,te);og.prototype.preventDefault=function(){og.Y.preventDefault.call(this);this.originalEvent.preventDefault()};og.prototype.stopPropagation=function(){og.Y.stopPropagation.call(this);this.originalEvent.stopPropagation()};function pg(b,c,d,e,f){og.call(this,b,c,d.a,e,f);this.a=d}M(pg,og); -function qg(b){lb.call(this);this.f=b;this.h=0;this.l=!1;this.c=[];this.b=null;b=this.f.a;this.s=0;this.o={};this.g=new ig(b);this.a=null;this.i=R(this.g,Tf,this.Md,this);this.j=R(this.g,Uf,this.Ce,this)}M(qg,lb);function rg(b,c){var d;d=new pg(sg,b.f,c);T(b,d);0!==b.h?(x.clearTimeout(b.h),b.h=0,d=new pg(tg,b.f,c),T(b,d)):b.h=x.setTimeout(function(){this.h=0;var b=new pg(ug,this.f,c);T(this,b)}.bind(b),250)} -function vg(b,c){c.type==wg||c.type==xg?delete b.o[c.pointerId]:c.type==yg&&(b.o[c.pointerId]=!0);b.s=Object.keys(b.o).length}n=qg.prototype;n.Ac=function(b){vg(this,b);var c=new pg(wg,this.f,b);T(this,c);!this.l&&0===b.button&&rg(this,this.b);0===this.s&&(this.c.forEach(P),this.c.length=0,this.l=!1,this.b=null,ib(this.a),this.a=null)}; -n.Md=function(b){vg(this,b);var c=new pg(yg,this.f,b);T(this,c);this.b=b;0===this.c.length&&(this.a=new ig(document),this.c.push(R(this.a,zg,this.oe,this),R(this.a,wg,this.Ac,this),R(this.g,xg,this.Ac,this)))};n.oe=function(b){if(b.clientX!=this.b.clientX||b.clientY!=this.b.clientY){this.l=!0;var c=new pg(Ag,this.f,b,this.l);T(this,c)}b.preventDefault()};n.Ce=function(b){T(this,new pg(b.type,this.f,b,!(!this.b||b.clientX==this.b.clientX&&b.clientY==this.b.clientY)))}; -n.K=function(){this.j&&(P(this.j),this.j=null);this.i&&(P(this.i),this.i=null);this.c.forEach(P);this.c.length=0;this.a&&(ib(this.a),this.a=null);this.g&&(ib(this.g),this.g=null);qg.Y.K.call(this)};var ug="singleclick",sg="click",tg="dblclick",Ag="pointerdrag",zg="pointermove",yg="pointerdown",wg="pointerup",xg="pointercancel",Bg={$e:ug,Pe:sg,Qe:tg,Te:Ag,We:zg,Se:yg,Ze:wg,Ye:"pointerover",Xe:"pointerout",Ue:"pointerenter",Ve:"pointerleave",Re:xg};function Cg(b){U.call(this);var c=Va({},b);c.opacity=void 0!==b.opacity?b.opacity:1;c.visible=void 0!==b.visible?b.visible:!0;c.zIndex=void 0!==b.zIndex?b.zIndex:0;c.maxResolution=void 0!==b.maxResolution?b.maxResolution:Infinity;c.minResolution=void 0!==b.minResolution?b.minResolution:0;this.l(c)}M(Cg,U); -function Dg(b){var c=b.Yb(),d=b.Sb(),e=b.eb(),f=b.C(),g=b.Zb(),h=b.get("maxResolution"),k=b.get("minResolution");return{layer:b,opacity:Ba(c,0,1),cc:d,visible:e,fb:!0,extent:f,zIndex:g,maxResolution:h,minResolution:Math.max(k,0)}}n=Cg.prototype;n.C=function(){return this.get("extent")};n.Yb=function(){return this.get("opacity")};n.eb=function(){return this.get("visible")};n.Zb=function(){return this.get("zIndex")};n.Fc=function(b){this.set("opacity",b)};n.Gc=function(b){this.set("visible",b)}; -n.Hc=function(b){this.set("zIndex",b)};function Eg(){};function Fg(b,c,d,e,f,g){S.call(this,b,c);this.vectorContext=d;this.frameState=e;this.context=f;this.glContext=g}M(Fg,S);function Gg(b){var c=Va({},b);delete c.source;Cg.call(this,c);this.h=this.c=this.b=null;b.map&&this.setMap(b.map);R(this,qb("source"),this.Rd,this);this.bc(b.source?b.source:null)}M(Gg,Cg);function Hg(b,c){return b.visible&&c>=b.minResolution&&c<b.maxResolution}n=Gg.prototype;n.Ob=function(b){b=b?b:[];b.push(Dg(this));return b};n.W=function(){return this.get("source")||null};n.Sb=function(){var b=this.W();return b?b.N():"undefined"};n.qe=function(){this.w()}; -n.Rd=function(){this.h&&(P(this.h),this.h=null);var b=this.W();b&&(this.h=R(b,"change",this.qe,this));this.w()};n.setMap=function(b){this.b&&(P(this.b),this.b=null);b||this.w();this.c&&(P(this.c),this.c=null);b&&(this.b=R(b,"precompose",function(b){var d=Dg(this);d.fb=!1;d.zIndex=Infinity;b.frameState.layerStatesArray.push(d);b.frameState.layerStates[I(this)]=d},this),this.c=R(this,"change",b.render,b),this.w())};n.bc=function(b){this.set("source",b)};function Ig(b,c,d,e,f,g,h,k){Cb(b);0===c&&0===d||Eb(b,c,d);1==e&&1==f||Fb(b,e,f);0!==g&&Gb(b,g);0===h&&0===k||Eb(b,h,k);return b}function Jg(b,c){return b[0]==c[0]&&b[1]==c[1]&&b[4]==c[4]&&b[5]==c[5]&&b[12]==c[12]&&b[13]==c[13]}function Kg(b,c,d){var e=b[1],f=b[5],g=b[13],h=c[0];c=c[1];d[0]=b[0]*h+b[4]*c+b[12];d[1]=e*h+f*c+g;return d};function Lg(b){nb.call(this);this.a=b}M(Lg,nb);Lg.prototype.gb=N;Lg.prototype.Ic=cc;Lg.prototype.l=function(b,c,d){return function(e,f){return We(b,c,e,f,function(b){d[e]||(d[e]={});d[e][b.L.toString()]=b})}};function Mg(b){var c=b.a;c.eb()&&"ready"==c.Sb()&&b.w()}function Ng(b,c){c.Qc()&&b.postRenderFunctions.push(na(function(b,c,f){c=I(b).toString();b.Rc(f.viewState.projection,f.usedTiles[c])},c))}function Og(b,c){if(c){var d,e,f;e=0;for(f=c.length;e<f;++e)d=c[e],b[I(d).toString()]=d}} -function Pg(b,c){var d=c.v;void 0!==d&&("string"===typeof d?b.logos[d]="":ha(d)&&(b.logos[d.src]=d.href))}function Qg(b,c,d,e){c=I(c).toString();d=d.toString();c in b?d in b[c]?(b=b[c][d],e.a<b.a&&(b.a=e.a),e.f>b.f&&(b.f=e.f),e.b<b.b&&(b.b=e.b),e.c>b.c&&(b.c=e.c)):b[c][d]=e:(b[c]={},b[c][d]=e)}function Rg(b,c,d){return[c*(Math.round(b[0]/c)+d[0]%2/2),c*(Math.round(b[1]/c)+d[1]%2/2)]} -function Sg(b,c,d,e,f,g,h,k,l,m){var p=I(c).toString();p in b.wantedTiles||(b.wantedTiles[p]={});var q=b.wantedTiles[p];b=b.tileQueue;var r=d.minZoom,u,w,y,z,D,t;for(t=h;t>=r;--t)for(w=Ke(d,g,t,w),y=d.I(t),z=w.a;z<=w.f;++z)for(D=w.b;D<=w.c;++D)h-t<=k?(u=Tg(c,t,z,D,e,f),0==u.N()&&(q[u.L.toString()]=!0,u.getKey()in b.f||b.c([u,p,Oe(d,u.L),y])),void 0!==l&&l.call(m,u)):c.$c(t,z,D,f)};function Ug(b){this.B=b.opacity;this.o=b.rotateWithView;this.J=b.rotation;this.hb=b.scale;this.u=b.snapToPixel}Ug.prototype.$=function(){return this.J};function Vg(b){b=b||{};this.g=void 0!==b.anchor?b.anchor:[.5,.5];this.c=null;this.b=void 0!==b.anchorOrigin?b.anchorOrigin:"top-left";this.l=void 0!==b.anchorXUnits?b.anchorXUnits:"fraction";this.i=void 0!==b.anchorYUnits?b.anchorYUnits:"fraction";var c=void 0!==b.crossOrigin?b.crossOrigin:null,d=void 0!==b.img?b.img:null,e=void 0!==b.imgSize?b.imgSize:null,f=b.src;void 0!==f&&0!==f.length||!d||(f=d.src||I(d).toString());var g=void 0!==b.src?0:2,h;void 0!==b.color?(h=b.color,h=Array.isArray(h)?h: -xd(h)):h=null;var k=Wg.va(),l=k.get(f,c,h);l||(l=new Xg(d,f,e,c,g,h),k.set(f,c,h,l));this.a=l;this.s=void 0!==b.offset?b.offset:[0,0];this.f=void 0!==b.offsetOrigin?b.offsetOrigin:"top-left";this.h=null;this.j=void 0!==b.size?b.size:null;Ug.call(this,{opacity:void 0!==b.opacity?b.opacity:1,rotation:void 0!==b.rotation?b.rotation:0,scale:void 0!==b.scale?b.scale:1,snapToPixel:void 0!==b.snapToPixel?b.snapToPixel:!0,rotateWithView:void 0!==b.rotateWithView?b.rotateWithView:!1})}M(Vg,Ug);n=Vg.prototype; -n.ab=function(){if(this.c)return this.c;var b=this.g,c=this.Ha();if("fraction"==this.l||"fraction"==this.i){if(!c)return null;b=this.g.slice();"fraction"==this.l&&(b[0]*=c[0]);"fraction"==this.i&&(b[1]*=c[1])}if("top-left"!=this.b){if(!c)return null;b===this.g&&(b=this.g.slice());if("top-right"==this.b||"bottom-right"==this.b)b[0]=-b[0]+c[0];if("bottom-left"==this.b||"bottom-right"==this.b)b[1]=-b[1]+c[1]}return this.c=b};n.S=function(b){return this.a.S(b)};n.Nb=function(){return this.a.b};n.ib=function(){return this.a.f}; -n.tb=function(){var b=this.a;if(!b.l)if(b.i){var c=b.b[0],d=b.b[1],e=rf(c,d);e.fillRect(0,0,c,d);b.l=e.canvas}else b.l=b.a;return b.l};n.ia=function(){if(this.h)return this.h;var b=this.s;if("top-left"!=this.f){var c=this.Ha(),d=this.a.b;if(!c||!d)return null;b=b.slice();if("top-right"==this.f||"bottom-right"==this.f)b[0]=d[0]-c[0]-b[0];if("bottom-left"==this.f||"bottom-right"==this.f)b[1]=d[1]-c[1]-b[1]}return this.h=b};n.Ha=function(){return this.j?this.j:this.a.b}; -n.Wb=function(b,c){return R(this.a,"change",b,c)};n.load=function(){this.a.load()};n.dc=function(b,c){fb(this.a,"change",b,c)};function Xg(b,c,d,e,f,g){lb.call(this);this.l=null;this.a=b?b:new Image;null!==e&&(this.a.crossOrigin=e);this.c=g?document.createElement("CANVAS"):null;this.h=g;this.g=null;this.f=f;this.b=d;this.o=c;this.i=!1;2==this.f&&Yg(this)}M(Xg,lb);function Yg(b){var c=rf(1,1);try{c.drawImage(b.a,0,0),c.getImageData(0,0,1,1)}catch(d){b.i=!0}} -Xg.prototype.j=function(){this.f=3;this.g.forEach(P);this.g=null;T(this,"change")}; -Xg.prototype.s=function(){this.f=2;this.b&&(this.a.width=this.b[0],this.a.height=this.b[1]);this.b=[this.a.width,this.a.height];this.g.forEach(P);this.g=null;Yg(this);if(!this.i&&null!==this.h){this.c.width=this.a.width;this.c.height=this.a.height;var b=this.c.getContext("2d");b.drawImage(this.a,0,0);for(var c=b.getImageData(0,0,this.a.width,this.a.height),d=c.data,e=this.h[0]/255,f=this.h[1]/255,g=this.h[2]/255,h=0,k=d.length;h<k;h+=4)d[h]*=e,d[h+1]*=f,d[h+2]*=g;b.putImageData(c,0,0)}T(this,"change")}; -Xg.prototype.S=function(){return this.c?this.c:this.a};Xg.prototype.load=function(){if(0==this.f){this.f=1;this.g=[R(this.a,"error",this.j,this,!0),R(this.a,"load",this.s,this,!0)];try{this.a.src=this.o}catch(b){this.j()}}};function Wg(){this.a={};this.b=0}aa(Wg);Wg.prototype.clear=function(){this.a={};this.b=0};Wg.prototype.get=function(b,c,d){b=c+":"+b+":"+(d?vd(d):"null");return b in this.a?this.a[b]:null};Wg.prototype.set=function(b,c,d,e){this.a[c+":"+b+":"+(d?vd(d):"null")]=e;++this.b};function Zg(b,c){this.h=c;this.f={};this.B={}}M(Zg,hb);function $g(b){var c=b.viewState,d=b.coordinateToPixelMatrix;Ig(d,b.size[0]/2,b.size[1]/2,1/c.resolution,-1/c.resolution,-c.rotation,-c.center[0],-c.center[1]);Db(d,b.pixelToCoordinateMatrix)}n=Zg.prototype;n.K=function(){for(var b in this.f)ib(this.f[b])};function ah(){var b=Wg.va();if(32<b.b){var c=0,d,e;for(d in b.a)e=b.a[d],0!==(c++&3)||mb(e)||(delete b.a[d],--b.b)}} -n.$b=function(b,c,d,e,f,g){function h(b,f){var g=I(b).toString(),h=c.layerStates[I(f)].fb;if(!(g in c.skippedFeatureUids)||h)return d.call(e,b,h?f:null)}var k,l=c.viewState,m=l.resolution,p=l.projection,l=b;if(p.a){var p=p.C(),q=Ub(p),r=b[0];if(r<p[0]||r>p[2])l=[r+q*Math.ceil((p[0]-r)/q),b[1]]}p=c.layerStatesArray;for(q=p.length-1;0<=q;--q){var u=p[q],r=u.layer;if(Hg(u,m)&&f.call(g,r)&&(u=bh(this,r),r.W()&&(k=u.gb(r.W().j?l:b,c,h,e)),k))return k}}; -n.Jc=function(b,c,d,e){return void 0!==this.$b(b,c,bc,this,d,e)};function bh(b,c){var d=I(c).toString();if(d in b.f)return b.f[d];var e=b.Lb(c);b.f[d]=e;b.B[d]=R(e,"change",b.Gd,b);return e}n.Gd=function(){this.h.render()};n.ub=N;n.Fe=function(b,c){for(var d in this.f)if(!(c&&d in c.layerStates)){var e=d,f=this.f[e];delete this.f[e];P(this.B[e]);delete this.B[e];ib(f)}};function ch(b,c){for(var d in b.f)if(!(d in c.layerStates)){c.postRenderFunctions.push(b.Fe.bind(b));break}} -function Na(b,c){return b.zIndex-c.zIndex};function dh(b,c){this.j=b;this.l=c;this.a=[];this.b=[];this.f={}}dh.prototype.clear=function(){this.a.length=0;this.b.length=0;Wa(this.f)};function eh(b){var c=b.a,d=b.b,e=c[0];1==c.length?(c.length=0,d.length=0):(c[0]=c.pop(),d[0]=d.pop(),fh(b,0));c=b.l(e);delete b.f[c];return e}dh.prototype.c=function(b){var c=this.j(b);return Infinity!=c?(this.a.push(b),this.b.push(c),this.f[this.l(b)]=!0,gh(this,0,this.a.length-1),!0):!1}; -function fh(b,c){for(var d=b.a,e=b.b,f=d.length,g=d[c],h=e[c],k=c;c<f>>1;){var l=2*c+1,m=2*c+2,l=m<f&&e[m]<e[l]?m:l;d[c]=d[l];e[c]=e[l];c=l}d[c]=g;e[c]=h;gh(b,k,c)}function gh(b,c,d){var e=b.a;b=b.b;for(var f=e[d],g=b[d];d>c;){var h=d-1>>1;if(b[h]>g)e[d]=e[h],b[d]=b[h],d=h;else break}e[d]=f;b[d]=g}function hh(b){var c=b.j,d=b.a,e=b.b,f=0,g=d.length,h,k,l;for(k=0;k<g;++k)h=d[k],l=c(h),Infinity==l?delete b.f[b.l(h)]:(e[f]=l,d[f++]=h);d.length=f;e.length=f;for(c=(b.a.length>>1)-1;0<=c;c--)fh(b,c)};function ih(b,c){dh.call(this,function(c){return b.apply(null,c)},function(b){return b[0].getKey()});this.B=c;this.h=0;this.g={}}M(ih,dh);ih.prototype.c=function(b){var c=ih.Y.c.call(this,b);c&&R(b[0],"change",this.i,this);return c};ih.prototype.i=function(b){b=b.target;var c=b.N();if(2===c||3===c||4===c||5===c)fb(b,"change",this.i,this),b=b.getKey(),b in this.g&&(delete this.g[b],--this.h),this.B()};function jh(){this.a=[];this.b=this.f=0}function kh(b,c){var d=b.b,e=.05-d,f=Math.log(.05/b.b)/-.005;return cd({source:c,duration:f,easing:function(b){return d*(Math.exp(-.005*b*f)-1)/e}})};function lh(b){U.call(this);this.T=null;this.set("active",!0);this.handleEvent=b.handleEvent}M(lh,U);lh.prototype.setMap=function(b){this.T=b};function mh(b,c,d,e,f){if(void 0!==d){var g=c.$(),h=c.ja();void 0!==g&&h&&f&&0<f&&(b.ha(dd({rotation:g,duration:f,easing:$c})),e&&b.ha(cd({source:h,duration:f,easing:$c})));c.rotate(d,e)}}function nh(b,c,d,e,f){var g=c.I();d=c.constrainResolution(g,d,0);oh(b,c,d,e,f)} -function oh(b,c,d,e,f){if(d){var g=c.I(),h=c.ja();void 0!==g&&h&&d!==g&&f&&0<f&&(b.ha(ed({resolution:g,duration:f,easing:$c})),e&&b.ha(cd({source:h,duration:f,easing:$c})));if(e){var k;b=c.ja();f=c.I();void 0!==b&&void 0!==f&&(k=[e[0]-d*(e[0]-b[0])/f,e[1]-d*(e[1]-b[1])/f]);c.pa(k)}Yc(c,d)}};function ph(b){b=b?b:{};this.a=b.delta?b.delta:1;lh.call(this,{handleEvent:qh});this.b=void 0!==b.duration?b.duration:250}M(ph,lh);function qh(b){var c=!1,d=b.originalEvent;if(b.type==tg){var c=b.map,e=b.coordinate,d=d.shiftKey?-this.a:this.a,f=c.O();nh(c,f,d,e,this.b);b.preventDefault();c=!0}return!c};function rh(b){b=b.originalEvent;return b.altKey&&!(b.metaKey||b.ctrlKey)&&b.shiftKey}function sh(b){b=b.originalEvent;return 0==b.button&&!(Jd&&Cf&&b.ctrlKey)}function th(b){b=b.originalEvent;return!b.altKey&&!(b.metaKey||b.ctrlKey)&&!b.shiftKey}function uh(b){b=b.originalEvent;return!b.altKey&&!(b.metaKey||b.ctrlKey)&&b.shiftKey}function vh(b){b=b.originalEvent.target.tagName;return"INPUT"!==b&&"SELECT"!==b&&"TEXTAREA"!==b}function wh(b){return"mouse"==b.a.pointerType};function xh(b){b=b?b:{};lh.call(this,{handleEvent:b.handleEvent?b.handleEvent:yh});this.yb=b.handleDownEvent?b.handleDownEvent:cc;this.zb=b.handleDragEvent?b.handleDragEvent:N;this.Ab=b.handleMoveEvent?b.handleMoveEvent:N;this.Bb=b.handleUpEvent?b.handleUpEvent:cc;this.s=!1;this.G={};this.c=[]}M(xh,lh);function zh(b){for(var c=b.length,d=0,e=0,f=0;f<c;f++)d+=b[f].clientX,e+=b[f].clientY;return[d/c,e/c]} -function yh(b){if(!(b instanceof pg))return!0;var c=!1,d=b.type;if(d===yg||d===Ag||d===wg)d=b.a,b.type==wg?delete this.G[d.pointerId]:b.type==yg?this.G[d.pointerId]=d:d.pointerId in this.G&&(this.G[d.pointerId]=d),this.c=Xa(this.G);this.s&&(b.type==Ag?this.zb(b):b.type==wg&&(this.s=this.Bb(b)));b.type==yg?(this.s=b=this.yb(b),c=this.v(b)):b.type==zg&&this.Ab(b);return!c}xh.prototype.v=function(b){return b};function Ah(b){xh.call(this,{handleDownEvent:Bh,handleDragEvent:Ch,handleUpEvent:Dh});b=b?b:{};this.a=b.kinetic;this.b=this.g=null;this.i=b.condition?b.condition:th;this.h=!1}M(Ah,xh);function Ch(b){var c=zh(this.c);this.a&&this.a.a.push(c[0],c[1],Date.now());if(this.b){var d=this.b[0]-c[0],e=c[1]-this.b[1];b=b.map;var f=b.O(),g=f.N(),e=d=[d,e],h=g.resolution;e[0]*=h;e[1]*=h;ub(d,g.rotation);tb(d,g.center);d=f.a.center(d);b.render();f.pa(d)}this.b=c} -function Dh(b){b=b.map;var c=b.O();if(0===this.c.length){var d;if(d=!this.h&&this.a)if(d=this.a,6>d.a.length)d=!1;else{var e=Date.now()-100,f=d.a.length-3;if(d.a[f+2]<e)d=!1;else{for(var g=f-3;0<g&&d.a[g+2]>e;)g-=3;var e=d.a[f+2]-d.a[g+2],h=d.a[f]-d.a[g],f=d.a[f+1]-d.a[g+1];d.f=Math.atan2(f,h);d.b=Math.sqrt(h*h+f*f)/e;d=.05<d.b}}d&&(d=(.05-this.a.b)/-.005,f=this.a.f,g=c.ja(),this.g=kh(this.a,g),b.ha(this.g),g=Eh(b,g),d=b.ua([g[0]-d*Math.cos(f),g[1]-d*Math.sin(f)]),d=c.a.center(d),c.pa(d));Zc(c,-1); -b.render();return!1}this.b=null;return!0}function Bh(b){if(0<this.c.length&&this.i(b)){var c=b.map,d=c.O();this.b=null;this.s||Zc(d,1);c.render();this.g&&Ka(c.A,this.g)&&(d.pa(b.frameState.viewState.center),this.g=null);this.a&&(b=this.a,b.a.length=0,b.f=0,b.b=0);this.h=1<this.c.length;return!0}return!1}Ah.prototype.v=cc;function Fh(b){b=b?b:{};xh.call(this,{handleDownEvent:Gh,handleDragEvent:Hh,handleUpEvent:Ih});this.b=b.condition?b.condition:rh;this.a=void 0;this.g=void 0!==b.duration?b.duration:250}M(Fh,xh);function Hh(b){if(wh(b)){var c=b.map,d=c.Qa();b=b.pixel;d=Math.atan2(d[1]/2-b[1],b[0]-d[0]/2);if(void 0!==this.a){b=d-this.a;var e=c.O(),f=e.$();c.render();mh(c,e,f-b)}this.a=d}} -function Ih(b){if(!wh(b))return!0;b=b.map;var c=b.O();Zc(c,-1);var d=c.$(),e=this.g,d=c.constrainRotation(d,0);mh(b,c,d,void 0,e);return!1}function Gh(b){return wh(b)&&sh(b)&&this.b(b)?(b=b.map,Zc(b.O(),1),b.render(),this.a=void 0,!0):!1}Fh.prototype.v=cc;function Jh(b){this.c=null;this.b=document.createElement("div");this.b.style.position="absolute";this.b.className="ol-box "+b;this.f=this.g=this.a=null}M(Jh,hb);Jh.prototype.K=function(){this.setMap(null)};function Kh(b){var c=b.g,d=b.f;b=b.b.style;b.left=Math.min(c[0],d[0])+"px";b.top=Math.min(c[1],d[1])+"px";b.width=Math.abs(d[0]-c[0])+"px";b.height=Math.abs(d[1]-c[1])+"px"} -Jh.prototype.setMap=function(b){if(this.a){this.a.o.removeChild(this.b);var c=this.b.style;c.left=c.top=c.width=c.height="inherit"}(this.a=b)&&this.a.o.appendChild(this.b)};function Lh(b){var c=b.g,d=b.f,c=[c,[c[0],d[1]],d,[d[0],c[1]]].map(b.a.ua,b.a);c[4]=c[0].slice();b.c?b.c.X([c]):b.c=new Sc([c])}Jh.prototype.M=function(){return this.c};function Mh(b,c,d){S.call(this,b);this.coordinate=c;this.mapBrowserEvent=d}M(Mh,S);function Nh(b){xh.call(this,{handleDownEvent:Oh,handleDragEvent:Ph,handleUpEvent:Qh});b=b?b:{};this.a=new Jh(b.className||"ol-dragbox");this.b=null;this.j=b.condition?b.condition:bc;this.i=b.boxEndCondition?b.boxEndCondition:Rh}M(Nh,xh);function Rh(b,c,d){b=d[0]-c[0];c=d[1]-c[1];return 64<=b*b+c*c} -function Ph(b){if(wh(b)){var c=this.a,d=b.pixel;c.g=this.b;c.f=d;Lh(c);Kh(c);T(this,new Mh("boxdrag",b.coordinate,b))}}Nh.prototype.M=function(){return this.a.M()};Nh.prototype.h=N;function Qh(b){if(!wh(b))return!0;this.a.setMap(null);this.i(b,this.b,b.pixel)&&(this.h(b),T(this,new Mh("boxend",b.coordinate,b)));return!1} -function Oh(b){if(wh(b)&&sh(b)&&this.j(b)){this.b=b.pixel;this.a.setMap(b.map);var c=this.a,d=this.b;c.g=this.b;c.f=d;Lh(c);Kh(c);T(this,new Mh("boxstart",b.coordinate,b));return!0}return!1};function Sh(b){b=b?b:{};var c=b.condition?b.condition:uh;this.g=void 0!==b.duration?b.duration:200;this.o=void 0!==b.out?b.out:!1;Nh.call(this,{condition:c,className:b.className||"ol-dragzoom"})}M(Sh,Nh); -Sh.prototype.h=function(){var b=this.T,c=b.O(),d=b.Qa(),e=this.M().C();if(this.o){var f=c.nc(d),e=[Eh(b,Wb(e)),Eh(b,[e[2],e[3]])],g=Ob(void 0),h,k;h=0;for(k=e.length;h<k;++h)Jb(g,e[h]);g=1/Xc(g,d);e=(f[2]-f[0])/2*(g-1);g=(f[3]-f[1])/2*(g-1);f[0]-=e;f[2]+=e;f[1]-=g;f[3]+=g;e=f}d=c.constrainResolution(Xc(e,d));f=c.I();g=c.ja();b.ha(ed({resolution:f,duration:this.g,easing:$c}));b.ha(cd({source:g,duration:this.g,easing:$c}));c.pa(Xb(e));Yc(c,d)};function Th(b){lh.call(this,{handleEvent:Uh});b=b||{};this.a=function(b){return th.call(this,b)&&vh.call(this,b)};this.b=void 0!==b.condition?b.condition:this.a;this.c=void 0!==b.duration?b.duration:100;this.g=void 0!==b.pixelDelta?b.pixelDelta:128}M(Th,lh); -function Uh(b){var c=!1;if("keydown"==b.type){var d=b.originalEvent.keyCode;if(this.b(b)&&(40==d||37==d||39==d||38==d)){var e=b.map,c=e.O(),f=c.I()*this.g,g=0,h=0;40==d?h=-f:37==d?g=-f:39==d?g=f:h=f;d=[g,h];ub(d,c.$());f=this.c;if(g=c.ja())f&&0<f&&e.ha(cd({source:g,duration:f,easing:bd})),e=c.a.center([g[0]+d[0],g[1]+d[1]]),c.pa(e);b.preventDefault();c=!0}}return!c};function Vh(b){lh.call(this,{handleEvent:Wh});b=b?b:{};this.b=b.condition?b.condition:vh;this.a=b.delta?b.delta:1;this.c=void 0!==b.duration?b.duration:100}M(Vh,lh);function Wh(b){var c=!1;if("keydown"==b.type||"keypress"==b.type){var d=b.originalEvent.charCode;if(this.b(b)&&(43==d||45==d)){c=b.map;d=43==d?this.a:-this.a;c.render();var e=c.O();nh(c,e,d,void 0,this.c);b.preventDefault();c=!0}}return!c};function Xh(b){lh.call(this,{handleEvent:Yh});b=b||{};this.a=0;this.i=void 0!==b.duration?b.duration:250;this.j=void 0!==b.useAnchor?b.useAnchor:!0;this.c=null;this.g=this.b=void 0}M(Xh,lh); -function Yh(b){var c=!1;if("wheel"==b.type||"mousewheel"==b.type){var c=b.map,d=b.originalEvent;this.j&&(this.c=b.coordinate);var e;"wheel"==b.type?(e=d.deltaY,Af&&d.deltaMode===x.WheelEvent.DOM_DELTA_PIXEL&&(e/=Df),d.deltaMode===x.WheelEvent.DOM_DELTA_LINE&&(e*=40)):"mousewheel"==b.type&&(e=-d.wheelDeltaY,Bf&&(e/=3));this.a+=e;void 0===this.b&&(this.b=Date.now());e=Math.max(80-(Date.now()-this.b),0);x.clearTimeout(this.g);this.g=x.setTimeout(this.h.bind(this,c),e);b.preventDefault();c=!0}return!c} -Xh.prototype.h=function(b){var c=Ba(this.a,-1,1),d=b.O();b.render();nh(b,d,-c,this.c,this.i);this.a=0;this.c=null;this.g=this.b=void 0};function Zh(b){xh.call(this,{handleDownEvent:$h,handleDragEvent:ai,handleUpEvent:bi});b=b||{};this.b=null;this.g=void 0;this.a=!1;this.h=0;this.j=void 0!==b.threshold?b.threshold:.3;this.i=void 0!==b.duration?b.duration:250}M(Zh,xh); -function ai(b){var c=0,d=this.c[0],e=this.c[1],d=Math.atan2(e.clientY-d.clientY,e.clientX-d.clientX);void 0!==this.g&&(c=d-this.g,this.h+=c,!this.a&&Math.abs(this.h)>this.j&&(this.a=!0));this.g=d;b=b.map;d=b.a.getBoundingClientRect();e=zh(this.c);e[0]-=d.left;e[1]-=d.top;this.b=b.ua(e);this.a&&(d=b.O(),e=d.$(),b.render(),mh(b,d,e+c,this.b))} -function bi(b){if(2>this.c.length){b=b.map;var c=b.O();Zc(c,-1);if(this.a){var d=c.$(),e=this.b,f=this.i,d=c.constrainRotation(d,0);mh(b,c,d,e,f)}return!1}return!0}function $h(b){return 2<=this.c.length?(b=b.map,this.b=null,this.g=void 0,this.a=!1,this.h=0,this.s||Zc(b.O(),1),b.render(),!0):!1}Zh.prototype.v=cc;function ci(b){xh.call(this,{handleDownEvent:di,handleDragEvent:ei,handleUpEvent:fi});b=b?b:{};this.b=null;this.h=void 0!==b.duration?b.duration:400;this.a=void 0;this.g=1}M(ci,xh);function ei(b){var c=1,d=this.c[0],e=this.c[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.g=c);b=b.map;var f=b.O(),d=f.I(),e=b.a.getBoundingClientRect(),g=zh(this.c);g[0]-=e.left;g[1]-=e.top;this.b=b.ua(g);b.render();oh(b,f,d*c,this.b)} -function fi(b){if(2>this.c.length){b=b.map;var c=b.O();Zc(c,-1);var d=c.I(),e=this.b,f=this.h,d=c.constrainResolution(d,0,this.g-1);oh(b,c,d,e,f);return!1}return!0}function di(b){return 2<=this.c.length?(b=b.map,this.b=null,this.a=void 0,this.g=1,this.s||Zc(b.O(),1),b.render(),!0):!1}ci.prototype.v=cc;function gi(b){var c=b||{};b=Va({},c);delete b.layers;c=c.layers;Cg.call(this,b);this.b=[];this.a={};R(this,qb("layers"),this.Id,this);c?Array.isArray(c)&&(c=new ld(c.slice())):c=new ld;this.set("layers",c)}M(gi,Cg);n=gi.prototype;n.qb=function(){this.eb()&&this.w()}; -n.Id=function(){this.b.forEach(P);this.b.length=0;var b=this.get("layers");this.b.push(R(b,"add",this.Hd,this),R(b,"remove",this.Jd,this));for(var c in this.a)this.a[c].forEach(P);Wa(this.a);var b=b.a,d,e;c=0;for(d=b.length;c<d;c++)e=b[c],this.a[I(e).toString()]=[R(e,"propertychange",this.qb,this),R(e,"change",this.qb,this)];this.w()};n.Hd=function(b){b=b.element;var c=I(b).toString();this.a[c]=[R(b,"propertychange",this.qb,this),R(b,"change",this.qb,this)];this.w()}; -n.Jd=function(b){b=I(b.element).toString();this.a[b].forEach(P);delete this.a[b];this.w()};n.Ob=function(b){var c=void 0!==b?b:[],d=c.length;nd(this.get("layers"),function(b){b.Ob(c)});b=Dg(this);var e,f;for(e=c.length;d<e;d++)f=c[d],f.opacity*=b.opacity,f.visible=f.visible&&b.visible,f.maxResolution=Math.min(f.maxResolution,b.maxResolution),f.minResolution=Math.max(f.minResolution,b.minResolution),void 0!==b.extent&&(f.extent=void 0!==f.extent?Zb(f.extent,b.extent):b.extent);return c};n.Sb=function(){return"ready"};function hi(b){hc.call(this,{code:b,units:"m",extent:ii,global:!0,worldExtent:ji})}M(hi,hc);hi.prototype.getPointResolution=function(b,c){return b/Ca(c[1]/6378137)};var ki=6378137*Math.PI,ii=[-ki,-ki,ki,ki],ji=[-180,-85,180,85],li="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(b){return new hi(b)}); -function mi(b,c,d){var e=b.length;d=1<d?d:2;void 0===c&&(2<d?c=b.slice():c=Array(e));for(var f=0;f<e;f+=d)c[f]=6378137*Math.PI*b[f]/180,c[f+1]=6378137*Math.log(Math.tan(Math.PI*(b[f+1]+90)/360));return c}function ni(b,c,d){var e=b.length;d=1<d?d:2;void 0===c&&(2<d?c=b.slice():c=Array(e));for(var f=0;f<e;f+=d)c[f]=180*b[f]/(6378137*Math.PI),c[f+1]=360*Math.atan(Math.exp(b[f+1]/6378137))/Math.PI-90;return c};var oi=new dc(6378137);function pi(b,c){hc.call(this,{code:b,units:"degrees",extent:qi,axisOrientation:c,global:!0,metersPerUnit:ri,worldExtent:qi})}M(pi,hc);pi.prototype.getPointResolution=function(b){return b}; -var qi=[-180,-90,180,90],ri=Math.PI*oi.radius/180,si=[new pi("CRS:84"),new pi("EPSG:4326","neu"),new pi("urn:ogc:def:crs:EPSG::4326","neu"),new pi("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new pi("urn:ogc:def:crs:OGC:1.3:CRS84"),new pi("urn:ogc:def:crs:OGC:2:84"),new pi("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new pi("urn:x-ogc:def:crs:EPSG:4326","neu")];function X(b){b=b?b:{};var c=Va({},b);delete c.preload;delete c.useInterimTilesOnError;Gg.call(this,c);this.set("preload",void 0!==b.preload?b.preload:0);this.set("useInterimTilesOnError",void 0!==b.useInterimTilesOnError?b.useInterimTilesOnError:!0)}M(X,Gg);function ti(b){return b.get("useInterimTilesOnError")};var ui=[0,0,0,1],vi=[],wi=[0,0,0,1];function xi(b,c,d,e){0!==c&&(b.translate(d,e),b.rotate(c),b.translate(-d,-e))};function yi(b){b=b||{};this.a=void 0!==b.color?b.color:null;this.b=void 0}yi.prototype.ca=function(){return this.a};function zi(b){void 0===b.b&&(b.b=b.a instanceof CanvasPattern||b.a instanceof CanvasGradient?I(b.a).toString():"f"+(b.a?vd(b.a):"-"));return b.b};function Ai(){this.b=-1};function Bi(){this.b=-1;this.b=64;this.a=Array(4);this.g=Array(this.b);this.c=this.f=0;this.a[0]=1732584193;this.a[1]=4023233417;this.a[2]=2562383102;this.a[3]=271733878;this.c=this.f=0}M(Bi,Ai); -function Ci(b,c,d){d||(d=0);var e=Array(16);if(da(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=b.a[0];d=b.a[1];var f=b.a[2],g=b.a[3],h=0,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^ +function vf(b,c){var d=b.style;d.WebkitTransform=c;d.MozTransform=c;d.a=c;d.msTransform=c;d.transform=c;Hd&&Rd("9.0")&&(b.style.transformOrigin="0 0")}function wf(b,c){var d;if(uf()){var e=Array(16);for(d=0;16>d;++d)e[d]=c[d].toFixed(6);vf(b,"matrix3d("+e.join(",")+")")}else if(tf()){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);vf(b,"matrix("+f.join(",")+")")}else b.style.left=Math.round(c[12])+"px",b.style.top=Math.round(c[13])+"px"};var xf=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function yf(b,c){var d,e,f=xf.length;for(e=0;e<f;++e)try{if(d=b.getContext(xf[e],c))return d}catch(g){}return null};var zf,Af="undefined"!==typeof navigator?navigator.userAgent.toLowerCase():"",Bf=-1!==Af.indexOf("firefox"),Cf=-1!==Af.indexOf("safari")&&-1===Af.indexOf("chrom"),Df=-1!==Af.indexOf("macintosh"),Ef=x.devicePixelRatio||1,Ff=!1,Gf=function(){if(!("HTMLCanvasElement"in x))return!1;try{var b=sf();return b?(void 0!==b.setLineDash&&(Ff=!0),!0):!1}catch(c){return!1}}(),Hf="ontouchstart"in x,If="PointerEvent"in x,Jf=!!x.navigator.msPointerEnabled,Kf=!1,Lf=[]; +if("WebGLRenderingContext"in x)try{var Mf=yf(document.createElement("CANVAS"),{failIfMajorPerformanceCaveat:!0});Mf&&(Kf=!0,Lf=Mf.getSupportedExtensions())}catch(b){}zf=Kf;oa=Lf;function Nf(b,c){this.a=b;this.g=c};function Of(b){Nf.call(this,b,{mousedown:this.Kd,mousemove:this.Ld,mouseup:this.Od,mouseover:this.Nd,mouseout:this.Md});this.b=b.b;this.f=[]}M(Of,Nf);function Pf(b,c){for(var d=b.f,e=c.clientX,f=c.clientY,g=0,h=d.length,k;g<h&&(k=d[g]);g++){var l=Math.abs(f-k[1]);if(25>=Math.abs(e-k[0])&&25>=l)return!0}return!1}function Qf(b){var c=Rf(b,b),d=c.preventDefault;c.preventDefault=function(){b.preventDefault();d()};c.pointerId=1;c.isPrimary=!0;c.pointerType="mouse";return c}n=Of.prototype; +n.Kd=function(b){if(!Pf(this,b)){if((1).toString()in this.b){var c=Qf(b);Sf(this.a,Tf,c,b);delete this.b[(1).toString()]}c=Qf(b);this.b[(1).toString()]=b;Sf(this.a,Uf,c,b)}};n.Ld=function(b){if(!Pf(this,b)){var c=Qf(b);Sf(this.a,Vf,c,b)}};n.Od=function(b){if(!Pf(this,b)){var c=this.b[(1).toString()];c&&c.button===b.button&&(c=Qf(b),Sf(this.a,Wf,c,b),delete this.b[(1).toString()])}};n.Nd=function(b){if(!Pf(this,b)){var c=Qf(b);Xf(this.a,c,b)}}; +n.Md=function(b){if(!Pf(this,b)){var c=Qf(b);Yf(this.a,c,b)}};function Zf(b){Nf.call(this,b,{MSPointerDown:this.Td,MSPointerMove:this.Ud,MSPointerUp:this.Xd,MSPointerOut:this.Vd,MSPointerOver:this.Wd,MSPointerCancel:this.Sd,MSGotPointerCapture:this.Qd,MSLostPointerCapture:this.Rd});this.b=b.b;this.f=["","unavailable","touch","pen","mouse"]}M(Zf,Nf);function $f(b,c){var d=c;ea(c.pointerType)&&(d=Rf(c,c),d.pointerType=b.f[c.pointerType]);return d}n=Zf.prototype;n.Td=function(b){this.b[b.pointerId.toString()]=b;var c=$f(this,b);Sf(this.a,Uf,c,b)}; +n.Ud=function(b){var c=$f(this,b);Sf(this.a,Vf,c,b)};n.Xd=function(b){var c=$f(this,b);Sf(this.a,Wf,c,b);delete this.b[b.pointerId.toString()]};n.Vd=function(b){var c=$f(this,b);Yf(this.a,c,b)};n.Wd=function(b){var c=$f(this,b);Xf(this.a,c,b)};n.Sd=function(b){var c=$f(this,b);Sf(this.a,Tf,c,b);delete this.b[b.pointerId.toString()]};n.Rd=function(b){T(this.a,new of("lostpointercapture",b,b))};n.Qd=function(b){T(this.a,new of("gotpointercapture",b,b))};function ag(b){Nf.call(this,b,{pointerdown:this.he,pointermove:this.ie,pointerup:this.le,pointerout:this.je,pointerover:this.ke,pointercancel:this.ge,gotpointercapture:this.ld,lostpointercapture:this.Jd})}M(ag,Nf);n=ag.prototype;n.he=function(b){bg(this.a,b)};n.ie=function(b){bg(this.a,b)};n.le=function(b){bg(this.a,b)};n.je=function(b){bg(this.a,b)};n.ke=function(b){bg(this.a,b)};n.ge=function(b){bg(this.a,b)};n.Jd=function(b){bg(this.a,b)};n.ld=function(b){bg(this.a,b)};function cg(b,c){Nf.call(this,b,{touchstart:this.ye,touchmove:this.xe,touchend:this.we,touchcancel:this.ve});this.b=b.b;this.l=c;this.f=void 0;this.h=0;this.c=void 0}M(cg,Nf);n=cg.prototype;n.Pc=function(){this.h=0;this.c=void 0}; +function dg(b,c,d){c=Rf(c,d);c.pointerId=d.identifier+2;c.bubbles=!0;c.cancelable=!0;c.detail=b.h;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=b.f===d.identifier;c.pointerType="touch";c.clientX=d.clientX;c.clientY=d.clientY;c.screenX=d.screenX;c.screenY=d.screenY;return c} +function eg(b,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=dg(b,c,f[h]),k.preventDefault=e,d.call(b,c,k)} +n.ye=function(b){var c=b.touches,d=Object.keys(this.b),e=d.length;if(e>=c.length){var f=[],g,h,k;for(g=0;g<e;++g){h=d[g];k=this.b[h];var l;if(!(l=1==h))a:{l=c.length;for(var m=void 0,p=0;p<l;p++)if(m=c[p],m.identifier===h-2){l=!0;break a}l=!1}l||f.push(k.out)}for(g=0;g<f.length;++g)this.xb(b,f[g])}c=b.changedTouches[0];d=Object.keys(this.b).length;if(0===d||1===d&&(1).toString()in this.b)this.f=c.identifier,void 0!==this.c&&x.clearTimeout(this.c);fg(this,b);this.h++;eg(this,b,this.fe)}; +n.fe=function(b,c){this.b[c.pointerId]={target:c.target,out:c,Mc:c.target};var d=this.a;c.bubbles=!0;Sf(d,gg,c,b);d=this.a;c.bubbles=!1;Sf(d,hg,c,b);Sf(this.a,Uf,c,b)};n.xe=function(b){b.preventDefault();eg(this,b,this.Pd)};n.Pd=function(b,c){var d=this.b[c.pointerId];if(d){var e=d.out,f=d.Mc;Sf(this.a,Vf,c,b);e&&f!==c.target&&(e.relatedTarget=c.target,c.relatedTarget=f,e.target=f,c.target?(Yf(this.a,e,b),Xf(this.a,c,b)):(c.target=f,c.relatedTarget=null,this.xb(b,c)));d.out=c;d.Mc=c.target}}; +n.we=function(b){fg(this,b);eg(this,b,this.ze)};n.ze=function(b,c){Sf(this.a,Wf,c,b);this.a.out(c,b);var d=this.a;c.bubbles=!1;Sf(d,ig,c,b);delete this.b[c.pointerId];c.isPrimary&&(this.f=void 0,this.c=x.setTimeout(this.Pc.bind(this),200))};n.ve=function(b){eg(this,b,this.xb)};n.xb=function(b,c){Sf(this.a,Tf,c,b);this.a.out(c,b);var d=this.a;c.bubbles=!1;Sf(d,ig,c,b);delete this.b[c.pointerId];c.isPrimary&&(this.f=void 0,this.c=x.setTimeout(this.Pc.bind(this),200))}; +function fg(b,c){var d=b.l.f,e=c.changedTouches[0];if(b.f===e.identifier){var f=[e.clientX,e.clientY];d.push(f);x.setTimeout(function(){Ka(d,f)},2500)}};function jg(b){lb.call(this);this.g=b;this.b={};this.c={};this.a=[];If?kg(this,new ag(this)):Jf?kg(this,new Zf(this)):(b=new Of(this),kg(this,b),Hf&&kg(this,new cg(this,b)));b=this.a.length;for(var c,d=0;d<b;d++)c=this.a[d],lg(this,Object.keys(c.g))}M(jg,lb);function kg(b,c){var d=Object.keys(c.g);d&&(d.forEach(function(b){var d=c.g[b];d&&(this.c[b]=d.bind(c))},b),b.a.push(c))}jg.prototype.f=function(b){var c=this.c[b.type];c&&c(b)}; +function lg(b,c){c.forEach(function(b){R(this.g,b,this.f,this)},b)}function mg(b,c){c.forEach(function(b){fb(this.g,b,this.f,this)},b)}function Rf(b,c){for(var d={},e,f=0,g=ng.length;f<g;f++)e=ng[f][0],d[e]=b[e]||c[e]||ng[f][1];return d}jg.prototype.out=function(b,c){b.bubbles=!0;Sf(this,og,b,c)};function Yf(b,c,d){b.out(c,d);var e=c.relatedTarget;e&&je(c.target,e)||(c.bubbles=!1,Sf(b,ig,c,d))} +function Xf(b,c,d){c.bubbles=!0;Sf(b,gg,c,d);var e=c.relatedTarget;e&&je(c.target,e)||(c.bubbles=!1,Sf(b,hg,c,d))}function Sf(b,c,d,e){T(b,new of(c,e,d))}function bg(b,c){T(b,new of(c.type,c,c))}jg.prototype.K=function(){for(var b=this.a.length,c,d=0;d<b;d++)c=this.a[d],mg(this,Object.keys(c.g));jg.Y.K.call(this)}; +var Vf="pointermove",Uf="pointerdown",Wf="pointerup",gg="pointerover",og="pointerout",hg="pointerenter",ig="pointerleave",Tf="pointercancel",ng=[["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 pg(b,c,d,e,f){ue.call(this,b,c,f);this.originalEvent=d;this.pixel=c.nc(d);this.coordinate=c.pa(this.pixel);this.dragging=void 0!==e?e:!1}M(pg,ue);pg.prototype.preventDefault=function(){pg.Y.preventDefault.call(this);this.originalEvent.preventDefault()};pg.prototype.stopPropagation=function(){pg.Y.stopPropagation.call(this);this.originalEvent.stopPropagation()};function qg(b,c,d,e,f){pg.call(this,b,c,d.a,e,f);this.a=d}M(qg,pg); +function rg(b){lb.call(this);this.f=b;this.h=0;this.l=!1;this.c=[];this.b=null;b=this.f.a;this.s=0;this.o={};this.g=new jg(b);this.a=null;this.i=R(this.g,Uf,this.xd,this);this.j=R(this.g,Vf,this.ne,this)}M(rg,lb);function sg(b,c){var d;d=new qg(tg,b.f,c);T(b,d);0!==b.h?(x.clearTimeout(b.h),b.h=0,d=new qg(ug,b.f,c),T(b,d)):b.h=x.setTimeout(function(){this.h=0;var b=new qg(vg,this.f,c);T(this,b)}.bind(b),250)} +function wg(b,c){c.type==xg||c.type==yg?delete b.o[c.pointerId]:c.type==zg&&(b.o[c.pointerId]=!0);b.s=Object.keys(b.o).length}n=rg.prototype;n.qc=function(b){wg(this,b);var c=new qg(xg,this.f,b);T(this,c);!this.l&&0===b.button&&sg(this,this.b);0===this.s&&(this.c.forEach(P),this.c.length=0,this.l=!1,this.b=null,ib(this.a),this.a=null)}; +n.xd=function(b){wg(this,b);var c=new qg(zg,this.f,b);T(this,c);this.b=b;0===this.c.length&&(this.a=new jg(document),this.c.push(R(this.a,Ag,this.$d,this),R(this.a,xg,this.qc,this),R(this.g,yg,this.qc,this)))};n.$d=function(b){if(b.clientX!=this.b.clientX||b.clientY!=this.b.clientY){this.l=!0;var c=new qg(Bg,this.f,b,this.l);T(this,c)}b.preventDefault()};n.ne=function(b){T(this,new qg(b.type,this.f,b,!(!this.b||b.clientX==this.b.clientX&&b.clientY==this.b.clientY)))}; +n.K=function(){this.j&&(P(this.j),this.j=null);this.i&&(P(this.i),this.i=null);this.c.forEach(P);this.c.length=0;this.a&&(ib(this.a),this.a=null);this.g&&(ib(this.g),this.g=null);rg.Y.K.call(this)};var vg="singleclick",tg="click",ug="dblclick",Bg="pointerdrag",Ag="pointermove",zg="pointerdown",xg="pointerup",yg="pointercancel",Cg={Le:vg,Ae:tg,Be:ug,Ee:Bg,He:Ag,De:zg,Ke:xg,Je:"pointerover",Ie:"pointerout",Fe:"pointerenter",Ge:"pointerleave",Ce:yg};function Dg(b){U.call(this);var c=Va({},b);c.opacity=void 0!==b.opacity?b.opacity:1;c.visible=void 0!==b.visible?b.visible:!0;c.zIndex=void 0!==b.zIndex?b.zIndex:0;c.maxResolution=void 0!==b.maxResolution?b.maxResolution:Infinity;c.minResolution=void 0!==b.minResolution?b.minResolution:0;this.l(c)}M(Dg,U); +function Eg(b){var c=b.Ob(),d=b.Ib(),e=b.Va(),f=b.C(),g=b.Pb(),h=b.get("maxResolution"),k=b.get("minResolution");return{layer:b,opacity:Ba(c,0,1),Tb:d,visible:e,Wa:!0,extent:f,zIndex:g,maxResolution:h,minResolution:Math.max(k,0)}}n=Dg.prototype;n.C=function(){return this.get("extent")};n.Ob=function(){return this.get("opacity")};n.Va=function(){return this.get("visible")};n.Pb=function(){return this.get("zIndex")};n.vc=function(b){this.set("opacity",b)};n.wc=function(b){this.set("visible",b)}; +n.xc=function(b){this.set("zIndex",b)};function Fg(){};function Gg(b,c,d,e,f,g){S.call(this,b,c);this.vectorContext=d;this.frameState=e;this.context=f;this.glContext=g}M(Gg,S);function Hg(b){var c=Va({},b);delete c.source;Dg.call(this,c);this.h=this.c=this.b=null;b.map&&this.setMap(b.map);R(this,qb("source"),this.Cd,this);this.Sb(b.source?b.source:null)}M(Hg,Dg);function Ig(b,c){return b.visible&&c>=b.minResolution&&c<b.maxResolution}n=Hg.prototype;n.Eb=function(b){b=b?b:[];b.push(Eg(this));return b};n.W=function(){return this.get("source")||null};n.Ib=function(){var b=this.W();return b?b.N():"undefined"};n.be=function(){this.w()}; +n.Cd=function(){this.h&&(P(this.h),this.h=null);var b=this.W();b&&(this.h=R(b,"change",this.be,this));this.w()};n.setMap=function(b){this.b&&(P(this.b),this.b=null);b||this.w();this.c&&(P(this.c),this.c=null);b&&(this.b=R(b,"precompose",function(b){var d=Eg(this);d.Wa=!1;d.zIndex=Infinity;b.frameState.layerStatesArray.push(d);b.frameState.layerStates[I(this)]=d},this),this.c=R(this,"change",b.render,b),this.w())};n.Sb=function(b){this.set("source",b)};function Jg(b,c,d,e,f,g,h,k){Cb(b);0===c&&0===d||Eb(b,c,d);1==e&&1==f||Fb(b,e,f);0!==g&&Gb(b,g);0===h&&0===k||Eb(b,h,k);return b}function Kg(b,c){return b[0]==c[0]&&b[1]==c[1]&&b[4]==c[4]&&b[5]==c[5]&&b[12]==c[12]&&b[13]==c[13]}function Lg(b,c,d){var e=b[1],f=b[5],g=b[13],h=c[0];c=c[1];d[0]=b[0]*h+b[4]*c+b[12];d[1]=e*h+f*c+g;return d};function Mg(b){nb.call(this);this.a=b}M(Mg,nb);Mg.prototype.Xa=N;Mg.prototype.yc=cc;Mg.prototype.l=function(b,c,d){return function(e,f){return Xe(b,c,e,f,function(b){d[e]||(d[e]={});d[e][b.L.toString()]=b})}};function Ng(b){var c=b.a;c.Va()&&"ready"==c.Ib()&&b.w()}function Og(b,c){c.Gc()&&b.postRenderFunctions.push(na(function(b,c,f){c=I(b).toString();b.Hc(f.viewState.projection,f.usedTiles[c])},c))}function Pg(b,c){if(c){var d,e,f;e=0;for(f=c.length;e<f;++e)d=c[e],b[I(d).toString()]=d}} +function Qg(b,c){var d=c.v;void 0!==d&&("string"===typeof d?b.logos[d]="":ha(d)&&(b.logos[d.src]=d.href))}function Rg(b,c,d,e){c=I(c).toString();d=d.toString();c in b?d in b[c]?(b=b[c][d],e.a<b.a&&(b.a=e.a),e.b>b.b&&(b.b=e.b),e.f<b.f&&(b.f=e.f),e.c>b.c&&(b.c=e.c)):b[c][d]=e:(b[c]={},b[c][d]=e)}function Sg(b,c,d){return[c*(Math.round(b[0]/c)+d[0]%2/2),c*(Math.round(b[1]/c)+d[1]%2/2)]} +function Tg(b,c,d,e,f,g,h,k,l,m){var p=I(c).toString();p in b.wantedTiles||(b.wantedTiles[p]={});var q=b.wantedTiles[p];b=b.tileQueue;var r=d.minZoom,u,w,y,z,D,t;for(t=h;t>=r;--t)for(w=Le(d,g,t,w),y=d.J(t),z=w.a;z<=w.b;++z)for(D=w.f;D<=w.c;++D)h-t<=k?(u=Ug(c,t,z,D,e,f),0==u.N()&&(q[u.L.toString()]=!0,u.getKey()in b.f||b.c([u,p,Pe(d,u.L),y])),void 0!==l&&l.call(m,u)):c.Qc(t,z,D,f)};function Vg(b){this.B=b.opacity;this.o=b.rotateWithView;this.s=b.rotation;this.u=b.scale;this.v=b.snapToPixel};function Wg(b){b=b||{};this.g=void 0!==b.anchor?b.anchor:[.5,.5];this.c=null;this.b=void 0!==b.anchorOrigin?b.anchorOrigin:"top-left";this.l=void 0!==b.anchorXUnits?b.anchorXUnits:"fraction";this.i=void 0!==b.anchorYUnits?b.anchorYUnits:"fraction";var c=void 0!==b.crossOrigin?b.crossOrigin:null,d=void 0!==b.img?b.img:null,e=void 0!==b.imgSize?b.imgSize:null,f=b.src;void 0!==f&&0!==f.length||!d||(f=d.src||I(d).toString());var g=void 0!==b.src?0:2,h;void 0!==b.color?(h=b.color,h=Array.isArray(h)?h: +yd(h)):h=null;var k=Xg.qa(),l=k.get(f,c,h);l||(l=new Yg(d,f,e,c,g,h),k.set(f,c,h,l));this.a=l;this.H=void 0!==b.offset?b.offset:[0,0];this.f=void 0!==b.offsetOrigin?b.offsetOrigin:"top-left";this.h=null;this.j=void 0!==b.size?b.size:null;Vg.call(this,{opacity:void 0!==b.opacity?b.opacity:1,rotation:void 0!==b.rotation?b.rotation:0,scale:void 0!==b.scale?b.scale:1,snapToPixel:void 0!==b.snapToPixel?b.snapToPixel:!0,rotateWithView:void 0!==b.rotateWithView?b.rotateWithView:!1})}M(Wg,Vg);n=Wg.prototype; +n.Sa=function(){if(this.c)return this.c;var b=this.g,c=this.ya();if("fraction"==this.l||"fraction"==this.i){if(!c)return null;b=this.g.slice();"fraction"==this.l&&(b[0]*=c[0]);"fraction"==this.i&&(b[1]*=c[1])}if("top-left"!=this.b){if(!c)return null;b===this.g&&(b=this.g.slice());if("top-right"==this.b||"bottom-right"==this.b)b[0]=-b[0]+c[0];if("bottom-left"==this.b||"bottom-right"==this.b)b[1]=-b[1]+c[1]}return this.c=b};n.S=function(b){return this.a.S(b)};n.Db=function(){return this.a.b};n.Ya=function(){return this.a.f}; +n.jb=function(){var b=this.a;if(!b.l)if(b.i){var c=b.b[0],d=b.b[1],e=sf(c,d);e.fillRect(0,0,c,d);b.l=e.canvas}else b.l=b.a;return b.l};n.fa=function(){if(this.h)return this.h;var b=this.H;if("top-left"!=this.f){var c=this.ya(),d=this.a.b;if(!c||!d)return null;b=b.slice();if("top-right"==this.f||"bottom-right"==this.f)b[0]=d[0]-c[0]-b[0];if("bottom-left"==this.f||"bottom-right"==this.f)b[1]=d[1]-c[1]-b[1]}return this.h=b};n.ya=function(){return this.j?this.j:this.a.b}; +n.Mb=function(b,c){return R(this.a,"change",b,c)};n.load=function(){this.a.load()};n.Ub=function(b,c){fb(this.a,"change",b,c)};function Yg(b,c,d,e,f,g){lb.call(this);this.l=null;this.a=b?b:new Image;null!==e&&(this.a.crossOrigin=e);this.c=g?document.createElement("CANVAS"):null;this.h=g;this.g=null;this.f=f;this.b=d;this.o=c;this.i=!1;2==this.f&&Zg(this)}M(Yg,lb);function Zg(b){var c=sf(1,1);try{c.drawImage(b.a,0,0),c.getImageData(0,0,1,1)}catch(d){b.i=!0}} +Yg.prototype.j=function(){this.f=3;this.g.forEach(P);this.g=null;T(this,"change")}; +Yg.prototype.s=function(){this.f=2;this.b&&(this.a.width=this.b[0],this.a.height=this.b[1]);this.b=[this.a.width,this.a.height];this.g.forEach(P);this.g=null;Zg(this);if(!this.i&&null!==this.h){this.c.width=this.a.width;this.c.height=this.a.height;var b=this.c.getContext("2d");b.drawImage(this.a,0,0);for(var c=b.getImageData(0,0,this.a.width,this.a.height),d=c.data,e=this.h[0]/255,f=this.h[1]/255,g=this.h[2]/255,h=0,k=d.length;h<k;h+=4)d[h]*=e,d[h+1]*=f,d[h+2]*=g;b.putImageData(c,0,0)}T(this,"change")}; +Yg.prototype.S=function(){return this.c?this.c:this.a};Yg.prototype.load=function(){if(0==this.f){this.f=1;this.g=[R(this.a,"error",this.j,this,!0),R(this.a,"load",this.s,this,!0)];try{this.a.src=this.o}catch(b){this.j()}}};function Xg(){this.a={};this.b=0}aa(Xg);Xg.prototype.clear=function(){this.a={};this.b=0};Xg.prototype.get=function(b,c,d){b=c+":"+b+":"+(d?wd(d):"null");return b in this.a?this.a[b]:null};Xg.prototype.set=function(b,c,d,e){this.a[c+":"+b+":"+(d?wd(d):"null")]=e;++this.b};function $g(b,c){this.h=c;this.f={};this.B={}}M($g,hb);function ah(b){var c=b.viewState,d=b.coordinateToPixelMatrix;Jg(d,b.size[0]/2,b.size[1]/2,1/c.resolution,-1/c.resolution,-c.rotation,-c.center[0],-c.center[1]);Db(d,b.pixelToCoordinateMatrix)}n=$g.prototype;n.K=function(){for(var b in this.f)ib(this.f[b])};function bh(){var b=Xg.qa();if(32<b.b){var c=0,d,e;for(d in b.a)e=b.a[d],0!==(c++&3)||mb(e)||(delete b.a[d],--b.b)}} +n.Qb=function(b,c,d,e,f,g){function h(b,f){var g=I(b).toString(),h=c.layerStates[I(f)].Wa;if(!(g in c.skippedFeatureUids)||h)return d.call(e,b,h?f:null)}var k,l=c.viewState,m=l.resolution,p=l.projection,l=b;if(p.a){var p=p.C(),q=Ub(p),r=b[0];if(r<p[0]||r>p[2])l=[r+q*Math.ceil((p[0]-r)/q),b[1]]}p=c.layerStatesArray;for(q=p.length-1;0<=q;--q){var u=p[q],r=u.layer;if(Ig(u,m)&&f.call(g,r)&&(u=ch(this,r),r.W()&&(k=u.Xa(r.W().j?l:b,c,h,e)),k))return k}}; +n.zc=function(b,c,d,e){return void 0!==this.Qb(b,c,bc,this,d,e)};function ch(b,c){var d=I(c).toString();if(d in b.f)return b.f[d];var e=b.Bb(c);b.f[d]=e;b.B[d]=R(e,"change",b.rd,b);return e}n.rd=function(){this.h.render()};n.kb=N;n.qe=function(b,c){for(var d in this.f)if(!(c&&d in c.layerStates)){var e=d,f=this.f[e];delete this.f[e];P(this.B[e]);delete this.B[e];ib(f)}};function dh(b,c){for(var d in b.f)if(!(d in c.layerStates)){c.postRenderFunctions.push(b.qe.bind(b));break}} +function Na(b,c){return b.zIndex-c.zIndex};function eh(b,c){this.j=b;this.l=c;this.a=[];this.b=[];this.f={}}eh.prototype.clear=function(){this.a.length=0;this.b.length=0;Wa(this.f)};function fh(b){var c=b.a,d=b.b,e=c[0];1==c.length?(c.length=0,d.length=0):(c[0]=c.pop(),d[0]=d.pop(),gh(b,0));c=b.l(e);delete b.f[c];return e}eh.prototype.c=function(b){var c=this.j(b);return Infinity!=c?(this.a.push(b),this.b.push(c),this.f[this.l(b)]=!0,hh(this,0,this.a.length-1),!0):!1}; +function gh(b,c){for(var d=b.a,e=b.b,f=d.length,g=d[c],h=e[c],k=c;c<f>>1;){var l=2*c+1,m=2*c+2,l=m<f&&e[m]<e[l]?m:l;d[c]=d[l];e[c]=e[l];c=l}d[c]=g;e[c]=h;hh(b,k,c)}function hh(b,c,d){var e=b.a;b=b.b;for(var f=e[d],g=b[d];d>c;){var h=d-1>>1;if(b[h]>g)e[d]=e[h],b[d]=b[h],d=h;else break}e[d]=f;b[d]=g}function ih(b){var c=b.j,d=b.a,e=b.b,f=0,g=d.length,h,k,l;for(k=0;k<g;++k)h=d[k],l=c(h),Infinity==l?delete b.f[b.l(h)]:(e[f]=l,d[f++]=h);d.length=f;e.length=f;for(c=(b.a.length>>1)-1;0<=c;c--)gh(b,c)};function jh(b,c){eh.call(this,function(c){return b.apply(null,c)},function(b){return b[0].getKey()});this.B=c;this.h=0;this.g={}}M(jh,eh);jh.prototype.c=function(b){var c=jh.Y.c.call(this,b);c&&R(b[0],"change",this.i,this);return c};jh.prototype.i=function(b){b=b.target;var c=b.N();if(2===c||3===c||4===c||5===c)fb(b,"change",this.i,this),b=b.getKey(),b in this.g&&(delete this.g[b],--this.h),this.B()};function kh(){this.a=[];this.b=this.f=0}function lh(b,c){var d=b.b,e=.05-d,f=Math.log(.05/b.b)/-.005;return dd({source:c,duration:f,easing:function(b){return d*(Math.exp(-.005*b*f)-1)/e}})};function mh(b){U.call(this);this.T=null;this.set("active",!0);this.handleEvent=b.handleEvent}M(mh,U);mh.prototype.setMap=function(b){this.T=b};function nh(b,c,d,e,f){if(void 0!==d){var g=Xc(c),h=c.ga();void 0!==g&&h&&f&&0<f&&(b.ea(ed({rotation:g,duration:f,easing:ad})),e&&b.ea(dd({source:h,duration:f,easing:ad})));c.rotate(d,e)}}function oh(b,c,d,e,f){var g=c.J();d=c.constrainResolution(g,d,0);ph(b,c,d,e,f)} +function ph(b,c,d,e,f){if(d){var g=c.J(),h=c.ga();void 0!==g&&h&&d!==g&&f&&0<f&&(b.ea(fd({resolution:g,duration:f,easing:ad})),e&&b.ea(dd({source:h,duration:f,easing:ad})));if(e){var k;b=c.ga();f=c.J();void 0!==b&&void 0!==f&&(k=[e[0]-d*(e[0]-b[0])/f,e[1]-d*(e[1]-b[1])/f]);c.ma(k)}Zc(c,d)}};function qh(b){b=b?b:{};this.a=b.delta?b.delta:1;mh.call(this,{handleEvent:rh});this.b=void 0!==b.duration?b.duration:250}M(qh,mh);function rh(b){var c=!1,d=b.originalEvent;if(b.type==ug){var c=b.map,e=b.coordinate,d=d.shiftKey?-this.a:this.a,f=c.O();oh(c,f,d,e,this.b);b.preventDefault();c=!0}return!c};function sh(b){b=b.originalEvent;return b.altKey&&!(b.metaKey||b.ctrlKey)&&b.shiftKey}function th(b){b=b.originalEvent;return 0==b.button&&!(Kd&&Df&&b.ctrlKey)}function uh(b){b=b.originalEvent;return!b.altKey&&!(b.metaKey||b.ctrlKey)&&!b.shiftKey}function vh(b){b=b.originalEvent;return!b.altKey&&!(b.metaKey||b.ctrlKey)&&b.shiftKey}function wh(b){b=b.originalEvent.target.tagName;return"INPUT"!==b&&"SELECT"!==b&&"TEXTAREA"!==b}function xh(b){return"mouse"==b.a.pointerType};function yh(b){b=b?b:{};mh.call(this,{handleEvent:b.handleEvent?b.handleEvent:zh});this.ob=b.handleDownEvent?b.handleDownEvent:cc;this.pb=b.handleDragEvent?b.handleDragEvent:N;this.qb=b.handleMoveEvent?b.handleMoveEvent:N;this.rb=b.handleUpEvent?b.handleUpEvent:cc;this.s=!1;this.G={};this.c=[]}M(yh,mh);function Ah(b){for(var c=b.length,d=0,e=0,f=0;f<c;f++)d+=b[f].clientX,e+=b[f].clientY;return[d/c,e/c]} +function zh(b){if(!(b instanceof qg))return!0;var c=!1,d=b.type;if(d===zg||d===Bg||d===xg)d=b.a,b.type==xg?delete this.G[d.pointerId]:b.type==zg?this.G[d.pointerId]=d:d.pointerId in this.G&&(this.G[d.pointerId]=d),this.c=Xa(this.G);this.s&&(b.type==Bg?this.pb(b):b.type==xg&&(this.s=this.rb(b)));b.type==zg?(this.s=b=this.ob(b),c=this.v(b)):b.type==Ag&&this.qb(b);return!c}yh.prototype.v=function(b){return b};function Bh(b){yh.call(this,{handleDownEvent:Ch,handleDragEvent:Dh,handleUpEvent:Eh});b=b?b:{};this.a=b.kinetic;this.b=this.g=null;this.i=b.condition?b.condition:uh;this.h=!1}M(Bh,yh);function Dh(b){var c=Ah(this.c);this.a&&this.a.a.push(c[0],c[1],Date.now());if(this.b){var d=this.b[0]-c[0],e=c[1]-this.b[1];b=b.map;var f=b.O(),g=f.N(),e=d=[d,e],h=g.resolution;e[0]*=h;e[1]*=h;ub(d,g.rotation);tb(d,g.center);d=f.a.center(d);b.render();f.ma(d)}this.b=c} +function Eh(b){b=b.map;var c=b.O();if(0===this.c.length){var d;if(d=!this.h&&this.a)if(d=this.a,6>d.a.length)d=!1;else{var e=Date.now()-100,f=d.a.length-3;if(d.a[f+2]<e)d=!1;else{for(var g=f-3;0<g&&d.a[g+2]>e;)g-=3;var e=d.a[f+2]-d.a[g+2],h=d.a[f]-d.a[g],f=d.a[f+1]-d.a[g+1];d.f=Math.atan2(f,h);d.b=Math.sqrt(h*h+f*f)/e;d=.05<d.b}}d&&(d=(.05-this.a.b)/-.005,f=this.a.f,g=c.ga(),this.g=lh(this.a,g),b.ea(this.g),g=Fh(b,g),d=b.pa([g[0]-d*Math.cos(f),g[1]-d*Math.sin(f)]),d=c.a.center(d),c.ma(d));$c(c,-1); +b.render();return!1}this.b=null;return!0}function Ch(b){if(0<this.c.length&&this.i(b)){var c=b.map,d=c.O();this.b=null;this.s||$c(d,1);c.render();this.g&&Ka(c.A,this.g)&&(d.ma(b.frameState.viewState.center),this.g=null);this.a&&(b=this.a,b.a.length=0,b.f=0,b.b=0);this.h=1<this.c.length;return!0}return!1}Bh.prototype.v=cc;function Gh(b){b=b?b:{};yh.call(this,{handleDownEvent:Hh,handleDragEvent:Ih,handleUpEvent:Jh});this.b=b.condition?b.condition:sh;this.a=void 0;this.g=void 0!==b.duration?b.duration:250}M(Gh,yh);function Ih(b){if(xh(b)){var c=b.map,d=c.Ha();b=b.pixel;d=Math.atan2(d[1]/2-b[1],b[0]-d[0]/2);if(void 0!==this.a){b=d-this.a;var e=c.O(),f=Xc(e);c.render();nh(c,e,f-b)}this.a=d}} +function Jh(b){if(!xh(b))return!0;b=b.map;var c=b.O();$c(c,-1);var d=Xc(c),e=this.g,d=c.constrainRotation(d,0);nh(b,c,d,void 0,e);return!1}function Hh(b){return xh(b)&&th(b)&&this.b(b)?(b=b.map,$c(b.O(),1),b.render(),this.a=void 0,!0):!1}Gh.prototype.v=cc;function Kh(b){this.c=null;this.b=document.createElement("div");this.b.style.position="absolute";this.b.className="ol-box "+b;this.f=this.g=this.a=null}M(Kh,hb);Kh.prototype.K=function(){this.setMap(null)};function Lh(b){var c=b.g,d=b.f;b=b.b.style;b.left=Math.min(c[0],d[0])+"px";b.top=Math.min(c[1],d[1])+"px";b.width=Math.abs(d[0]-c[0])+"px";b.height=Math.abs(d[1]-c[1])+"px"} +Kh.prototype.setMap=function(b){if(this.a){this.a.o.removeChild(this.b);var c=this.b.style;c.left=c.top=c.width=c.height="inherit"}(this.a=b)&&this.a.o.appendChild(this.b)};function Mh(b){var c=b.g,d=b.f,c=[c,[c[0],d[1]],d,[d[0],c[1]]].map(b.a.pa,b.a);c[4]=c[0].slice();b.c?b.c.X([c]):b.c=new Sc([c])}Kh.prototype.M=function(){return this.c};function Nh(b,c,d){S.call(this,b);this.coordinate=c;this.mapBrowserEvent=d}M(Nh,S);function Oh(b){yh.call(this,{handleDownEvent:Ph,handleDragEvent:Qh,handleUpEvent:Rh});b=b?b:{};this.a=new Kh(b.className||"ol-dragbox");this.b=null;this.j=b.condition?b.condition:bc;this.i=b.boxEndCondition?b.boxEndCondition:Sh}M(Oh,yh);function Sh(b,c,d){b=d[0]-c[0];c=d[1]-c[1];return 64<=b*b+c*c} +function Qh(b){if(xh(b)){var c=this.a,d=b.pixel;c.g=this.b;c.f=d;Mh(c);Lh(c);T(this,new Nh("boxdrag",b.coordinate,b))}}Oh.prototype.M=function(){return this.a.M()};Oh.prototype.h=N;function Rh(b){if(!xh(b))return!0;this.a.setMap(null);this.i(b,this.b,b.pixel)&&(this.h(b),T(this,new Nh("boxend",b.coordinate,b)));return!1} +function Ph(b){if(xh(b)&&th(b)&&this.j(b)){this.b=b.pixel;this.a.setMap(b.map);var c=this.a,d=this.b;c.g=this.b;c.f=d;Mh(c);Lh(c);T(this,new Nh("boxstart",b.coordinate,b));return!0}return!1};function Th(b){b=b?b:{};var c=b.condition?b.condition:vh;this.g=void 0!==b.duration?b.duration:200;this.o=void 0!==b.out?b.out:!1;Oh.call(this,{condition:c,className:b.className||"ol-dragzoom"})}M(Th,Oh); +Th.prototype.h=function(){var b=this.T,c=b.O(),d=b.Ha(),e=this.M().C();if(this.o){var f=c.dc(d),e=[Fh(b,Wb(e)),Fh(b,[e[2],e[3]])],g=Ob(void 0),h,k;h=0;for(k=e.length;h<k;++h)Jb(g,e[h]);g=1/Yc(g,d);e=(f[2]-f[0])/2*(g-1);g=(f[3]-f[1])/2*(g-1);f[0]-=e;f[2]+=e;f[1]-=g;f[3]+=g;e=f}d=c.constrainResolution(Yc(e,d));f=c.J();g=c.ga();b.ea(fd({resolution:f,duration:this.g,easing:ad}));b.ea(dd({source:g,duration:this.g,easing:ad}));c.ma(Xb(e));Zc(c,d)};function Uh(b){mh.call(this,{handleEvent:Vh});b=b||{};this.a=function(b){return uh.call(this,b)&&wh.call(this,b)};this.b=void 0!==b.condition?b.condition:this.a;this.c=void 0!==b.duration?b.duration:100;this.g=void 0!==b.pixelDelta?b.pixelDelta:128}M(Uh,mh); +function Vh(b){var c=!1;if("keydown"==b.type){var d=b.originalEvent.keyCode;if(this.b(b)&&(40==d||37==d||39==d||38==d)){var e=b.map,c=e.O(),f=c.J()*this.g,g=0,h=0;40==d?h=-f:37==d?g=-f:39==d?g=f:h=f;d=[g,h];ub(d,Xc(c));f=this.c;if(g=c.ga())f&&0<f&&e.ea(dd({source:g,duration:f,easing:cd})),e=c.a.center([g[0]+d[0],g[1]+d[1]]),c.ma(e);b.preventDefault();c=!0}}return!c};function Wh(b){mh.call(this,{handleEvent:Xh});b=b?b:{};this.b=b.condition?b.condition:wh;this.a=b.delta?b.delta:1;this.c=void 0!==b.duration?b.duration:100}M(Wh,mh);function Xh(b){var c=!1;if("keydown"==b.type||"keypress"==b.type){var d=b.originalEvent.charCode;if(this.b(b)&&(43==d||45==d)){c=b.map;d=43==d?this.a:-this.a;c.render();var e=c.O();oh(c,e,d,void 0,this.c);b.preventDefault();c=!0}}return!c};function Yh(b){mh.call(this,{handleEvent:Zh});b=b||{};this.a=0;this.i=void 0!==b.duration?b.duration:250;this.j=void 0!==b.useAnchor?b.useAnchor:!0;this.c=null;this.g=this.b=void 0}M(Yh,mh); +function Zh(b){var c=!1;if("wheel"==b.type||"mousewheel"==b.type){var c=b.map,d=b.originalEvent;this.j&&(this.c=b.coordinate);var e;"wheel"==b.type?(e=d.deltaY,Bf&&d.deltaMode===x.WheelEvent.DOM_DELTA_PIXEL&&(e/=Ef),d.deltaMode===x.WheelEvent.DOM_DELTA_LINE&&(e*=40)):"mousewheel"==b.type&&(e=-d.wheelDeltaY,Cf&&(e/=3));this.a+=e;void 0===this.b&&(this.b=Date.now());e=Math.max(80-(Date.now()-this.b),0);x.clearTimeout(this.g);this.g=x.setTimeout(this.h.bind(this,c),e);b.preventDefault();c=!0}return!c} +Yh.prototype.h=function(b){var c=Ba(this.a,-1,1),d=b.O();b.render();oh(b,d,-c,this.c,this.i);this.a=0;this.c=null;this.g=this.b=void 0};function $h(b){yh.call(this,{handleDownEvent:ai,handleDragEvent:bi,handleUpEvent:ci});b=b||{};this.b=null;this.g=void 0;this.a=!1;this.h=0;this.j=void 0!==b.threshold?b.threshold:.3;this.i=void 0!==b.duration?b.duration:250}M($h,yh); +function bi(b){var c=0,d=this.c[0],e=this.c[1],d=Math.atan2(e.clientY-d.clientY,e.clientX-d.clientX);void 0!==this.g&&(c=d-this.g,this.h+=c,!this.a&&Math.abs(this.h)>this.j&&(this.a=!0));this.g=d;b=b.map;d=b.a.getBoundingClientRect();e=Ah(this.c);e[0]-=d.left;e[1]-=d.top;this.b=b.pa(e);this.a&&(d=b.O(),e=Xc(d),b.render(),nh(b,d,e+c,this.b))} +function ci(b){if(2>this.c.length){b=b.map;var c=b.O();$c(c,-1);if(this.a){var d=Xc(c),e=this.b,f=this.i,d=c.constrainRotation(d,0);nh(b,c,d,e,f)}return!1}return!0}function ai(b){return 2<=this.c.length?(b=b.map,this.b=null,this.g=void 0,this.a=!1,this.h=0,this.s||$c(b.O(),1),b.render(),!0):!1}$h.prototype.v=cc;function di(b){yh.call(this,{handleDownEvent:ei,handleDragEvent:fi,handleUpEvent:gi});b=b?b:{};this.b=null;this.h=void 0!==b.duration?b.duration:400;this.a=void 0;this.g=1}M(di,yh);function fi(b){var c=1,d=this.c[0],e=this.c[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.g=c);b=b.map;var f=b.O(),d=f.J(),e=b.a.getBoundingClientRect(),g=Ah(this.c);g[0]-=e.left;g[1]-=e.top;this.b=b.pa(g);b.render();ph(b,f,d*c,this.b)} +function gi(b){if(2>this.c.length){b=b.map;var c=b.O();$c(c,-1);var d=c.J(),e=this.b,f=this.h,d=c.constrainResolution(d,0,this.g-1);ph(b,c,d,e,f);return!1}return!0}function ei(b){return 2<=this.c.length?(b=b.map,this.b=null,this.a=void 0,this.g=1,this.s||$c(b.O(),1),b.render(),!0):!1}di.prototype.v=cc;function hi(b){var c=b||{};b=Va({},c);delete b.layers;c=c.layers;Dg.call(this,b);this.b=[];this.a={};R(this,qb("layers"),this.td,this);c?Array.isArray(c)&&(c=new md(c.slice())):c=new md;this.set("layers",c)}M(hi,Dg);n=hi.prototype;n.gb=function(){this.Va()&&this.w()}; +n.td=function(){this.b.forEach(P);this.b.length=0;var b=this.get("layers");this.b.push(R(b,"add",this.sd,this),R(b,"remove",this.ud,this));for(var c in this.a)this.a[c].forEach(P);Wa(this.a);var b=b.a,d,e;c=0;for(d=b.length;c<d;c++)e=b[c],this.a[I(e).toString()]=[R(e,"propertychange",this.gb,this),R(e,"change",this.gb,this)];this.w()};n.sd=function(b){b=b.element;var c=I(b).toString();this.a[c]=[R(b,"propertychange",this.gb,this),R(b,"change",this.gb,this)];this.w()}; +n.ud=function(b){b=I(b.element).toString();this.a[b].forEach(P);delete this.a[b];this.w()};n.Eb=function(b){var c=void 0!==b?b:[],d=c.length;od(this.get("layers"),function(b){b.Eb(c)});b=Eg(this);var e,f;for(e=c.length;d<e;d++)f=c[d],f.opacity*=b.opacity,f.visible=f.visible&&b.visible,f.maxResolution=Math.min(f.maxResolution,b.maxResolution),f.minResolution=Math.max(f.minResolution,b.minResolution),void 0!==b.extent&&(f.extent=void 0!==f.extent?Zb(f.extent,b.extent):b.extent);return c};n.Ib=function(){return"ready"};function ii(b){hc.call(this,{code:b,units:"m",extent:ji,global:!0,worldExtent:ki})}M(ii,hc);ii.prototype.getPointResolution=function(b,c){return b/Ca(c[1]/6378137)};var li=6378137*Math.PI,ji=[-li,-li,li,li],ki=[-180,-85,180,85],mi="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(b){return new ii(b)}); +function ni(b,c,d){var e=b.length;d=1<d?d:2;void 0===c&&(2<d?c=b.slice():c=Array(e));for(var f=0;f<e;f+=d)c[f]=6378137*Math.PI*b[f]/180,c[f+1]=6378137*Math.log(Math.tan(Math.PI*(b[f+1]+90)/360));return c}function oi(b,c,d){var e=b.length;d=1<d?d:2;void 0===c&&(2<d?c=b.slice():c=Array(e));for(var f=0;f<e;f+=d)c[f]=180*b[f]/(6378137*Math.PI),c[f+1]=360*Math.atan(Math.exp(b[f+1]/6378137))/Math.PI-90;return c};var pi=new dc(6378137);function qi(b,c){hc.call(this,{code:b,units:"degrees",extent:ri,axisOrientation:c,global:!0,metersPerUnit:si,worldExtent:ri})}M(qi,hc);qi.prototype.getPointResolution=function(b){return b}; +var ri=[-180,-90,180,90],si=Math.PI*pi.radius/180,ti=[new qi("CRS:84"),new qi("EPSG:4326","neu"),new qi("urn:ogc:def:crs:EPSG::4326","neu"),new qi("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new qi("urn:ogc:def:crs:OGC:1.3:CRS84"),new qi("urn:ogc:def:crs:OGC:2:84"),new qi("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new qi("urn:x-ogc:def:crs:EPSG:4326","neu")];function X(b){b=b?b:{};var c=Va({},b);delete c.preload;delete c.useInterimTilesOnError;Hg.call(this,c);this.set("preload",void 0!==b.preload?b.preload:0);this.set("useInterimTilesOnError",void 0!==b.useInterimTilesOnError?b.useInterimTilesOnError:!0)}M(X,Hg);function ui(b){return b.get("useInterimTilesOnError")};var vi=[0,0,0,1],wi=[],xi=[0,0,0,1];function yi(b,c,d,e){0!==c&&(b.translate(d,e),b.rotate(c),b.translate(-d,-e))};function zi(b){b=b||{};this.a=void 0!==b.color?b.color:null;this.b=void 0}function Ai(b){void 0===b.b&&(b.b=b.a instanceof CanvasPattern||b.a instanceof CanvasGradient?I(b.a).toString():"f"+(b.a?wd(b.a):"-"));return b.b};function Bi(){this.b=-1};function Ci(){this.b=-1;this.b=64;this.a=Array(4);this.g=Array(this.b);this.c=this.f=0;this.a[0]=1732584193;this.a[1]=4023233417;this.a[2]=2562383102;this.a[3]=271733878;this.c=this.f=0}M(Ci,Bi); +function Di(b,c,d){d||(d=0);var e=Array(16);if(da(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=b.a[0];d=b.a[1];var f=b.a[2],g=b.a[3],h=0,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| @@ -163,245 +163,246 @@ c^d)+e[7]+4139469664&4294967295;f=g+(h<<16&4294967295|h>>>16);h=d+(f^g^c)+e[10]+ 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;b.a[0]=b.a[0]+c&4294967295;b.a[1]=b.a[1]+(f+(h<<21&4294967295|h>>>11))&4294967295;b.a[2]=b.a[2]+f&4294967295;b.a[3]=b.a[3]+g&4294967295} -function Di(b,c){var d;void 0===d&&(d=c.length);for(var e=d-b.b,f=b.g,g=b.f,h=0;h<d;){if(0==g)for(;h<=e;)Ci(b,c,h),h+=b.b;if(da(c))for(;h<d;){if(f[g++]=c.charCodeAt(h++),g==b.b){Ci(b,f);g=0;break}}else for(;h<d;)if(f[g++]=c[h++],g==b.b){Ci(b,f);g=0;break}}b.f=g;b.c+=d};function Ei(b){b=b||{};this.f=void 0!==b.color?b.color:null;this.wa=b.lineCap;this.a=void 0!==b.lineDash?b.lineDash:null;this.xa=b.lineJoin;this.ya=b.miterLimit;this.c=b.width;this.b=void 0}Ei.prototype.ca=function(){return this.f};Ei.prototype.getLineDash=function(){return this.a};Ei.prototype.da=function(){return this.c}; -function Fi(b){if(void 0===b.b){var c="s"+(b.f?vd(b.f):"-")+","+(void 0!==b.wa?b.wa.toString():"-")+","+(b.a?b.a.toString():"-")+","+(void 0!==b.xa?b.xa:"-")+","+(void 0!==b.ya?b.ya.toString():"-")+","+(void 0!==b.c?b.c.toString():"-"),d=new Bi;Di(d,c);var e=Array((56>d.f?d.b:2*d.b)-d.f);e[0]=128;for(c=1;c<e.length-8;++c)e[c]=0;for(var f=8*d.c,c=e.length-8;c<e.length;++c)e[c]=f&255,f/=256;Di(d,e);e=Array(16);for(c=f=0;4>c;++c)for(var g=0;32>g;g+=8)e[f++]=d.a[c]>>>g&255;if(8192>=e.length)d=String.fromCharCode.apply(null, -e);else for(d="",c=0;c<e.length;c+=8192)d+=String.fromCharCode.apply(null,rd(e,c,c+8192));b.b=d}return b.b};function Gi(b){b=b||{};this.h=this.a=this.g=null;this.f=void 0!==b.fill?b.fill:null;this.b=void 0!==b.stroke?b.stroke:null;this.c=b.radius;this.j=[0,0];this.i=this.s=this.l=null;var c=b.atlasManager,d,e=null,f,g=0;this.b&&(f=vd(this.b.ca()),g=this.b.da(),void 0===g&&(g=1),e=this.b.getLineDash(),Ef||(e=null));var h=2*(this.c+g)+1;f={strokeStyle:f,jb:g,size:h,lineDash:e};if(void 0===c)this.a=document.createElement("CANVAS"),this.a.height=h,this.a.width=h,d=h=this.a.width,c=this.a.getContext("2d"),this.Tc(f, -c,0,0),this.f?this.h=this.a:(c=this.h=document.createElement("CANVAS"),c.height=f.size,c.width=f.size,c=c.getContext("2d"),this.Sc(f,c,0,0));else{h=Math.round(h);(e=!this.f)&&(d=this.Sc.bind(this,f));var g=this.b?Fi(this.b):"-",k=this.f?zi(this.f):"-";this.g&&g==this.g[1]&&k==this.g[2]&&this.c==this.g[3]||(this.g=["c"+g+k+(void 0!==this.c?this.c.toString():"-"),g,k,this.c]);f=c.add(this.g[0],h,h,this.Tc.bind(this,f),d);this.a=f.image;this.j=[f.offsetX,f.offsetY];d=f.image.width;this.h=e?f.Xd:this.a}this.l= -[h/2,h/2];this.s=[h,h];this.i=[d,d];Ug.call(this,{opacity:1,rotateWithView:!1,rotation:0,scale:1,snapToPixel:void 0!==b.snapToPixel?b.snapToPixel:!0})}M(Gi,Ug);n=Gi.prototype;n.ab=function(){return this.l};n.Fa=function(){return this.f};n.tb=function(){return this.h};n.S=function(){return this.a};n.ib=function(){return 2};n.Nb=function(){return this.i};n.ia=function(){return this.j};n.Ha=function(){return this.s};n.sa=function(){return this.b};n.Wb=N;n.load=N;n.dc=N; -n.Tc=function(b,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();c.arc(b.size/2,b.size/2,this.c,0,2*Math.PI,!0);this.f&&(c.fillStyle=yd(this.f.ca()),c.fill());this.b&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.jb,b.lineDash&&c.setLineDash(b.lineDash),c.stroke());c.closePath()}; -n.Sc=function(b,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();c.arc(b.size/2,b.size/2,this.c,0,2*Math.PI,!0);c.fillStyle=vd(ui);c.fill();this.b&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.jb,b.lineDash&&c.setLineDash(b.lineDash),c.stroke());c.closePath()};function Hi(b){b=b||{};this.f=null;this.b=Ii;void 0!==b.geometry&&Ji(this,b.geometry);this.c=void 0!==b.fill?b.fill:null;this.g=void 0!==b.image?b.image:null;this.h=void 0!==b.stroke?b.stroke:null;this.ta=void 0!==b.text?b.text:null;this.a=b.zIndex}Hi.prototype.M=function(){return this.f};Hi.prototype.Fa=function(){return this.c};Hi.prototype.S=function(){return this.g};Hi.prototype.sa=function(){return this.h}; -function Ji(b,c){ga(c)?b.b=c:"string"===typeof c?b.b=function(b){return b.get(c)}:c?void 0!==c&&(b.b=function(){return c}):b.b=Ii;b.f=c}function Ki(b){if(!ga(b)){var c;c=Array.isArray(b)?b:[b];b=function(){return c}}return b}var Li=null;function Mi(){if(!Li){var b=new yi({color:"rgba(255,255,255,0.4)"}),c=new Ei({color:"#3399CC",width:1.25});Li=[new Hi({image:new Gi({fill:b,stroke:c,radius:5}),fill:b,stroke:c})]}return Li} -function Ni(){var b={},c=[255,255,255,1],d=[0,153,255,1];b.Polygon=[new Hi({fill:new yi({color:[255,255,255,.5]})})];b.MultiPolygon=b.Polygon;b.LineString=[new Hi({stroke:new Ei({color:c,width:5})}),new Hi({stroke:new Ei({color:d,width:3})})];b.MultiLineString=b.LineString;b.Circle=b.Polygon.concat(b.LineString);b.Point=[new Hi({image:new Gi({radius:6,fill:new yi({color:d}),stroke:new Ei({color:c,width:1.5})}),zIndex:Infinity})];b.MultiPoint=b.Point;b.GeometryCollection=b.Polygon.concat(b.LineString, -b.Point);return b}function Ii(b){return b.M()};function Y(b){b=b?b:{};var c=Va({},b);delete c.style;delete c.renderBuffer;delete c.updateWhileAnimating;delete c.updateWhileInteracting;Gg.call(this,c);this.a=void 0!==b.renderBuffer?b.renderBuffer:100;this.o=null;this.g=void 0;this.s(b.style);this.i=void 0!==b.updateWhileAnimating?b.updateWhileAnimating:!1;this.j=void 0!==b.updateWhileInteracting?b.updateWhileInteracting:!1}M(Y,Gg);Y.prototype.s=function(b){this.o=void 0!==b?b:Mi;this.g=null===b?void 0:Ki(this.o);this.w()};function Oi(b,c,d,e,f){this.c=b;this.u=c;this.l=d;this.v=e;this.La=f;this.g=this.a=this.b=this.Z=this.T=this.R=null;this.ba=this.ka=this.o=this.D=this.J=this.A=0;this.ga=!1;this.h=this.na=0;this.Ca=!1;this.V=0;this.f="";this.j=this.H=this.Da=this.oa=0;this.G=this.B=this.i=null;this.s=[];this.Ea=yb()}M(Oi,Eg); -function Pi(b,c,d){if(b.g){c=zc(c,0,d,2,b.v,b.s);d=b.c;var e=b.Ea,f=d.globalAlpha;1!=b.o&&(d.globalAlpha=f*b.o);var g=b.na;b.ga&&(g+=b.La);var h,k;h=0;for(k=c.length;h<k;h+=2){var l=c[h]-b.A,m=c[h+1]-b.J;b.Ca&&(l=Math.round(l),m=Math.round(m));if(0!==g||1!=b.h){var p=l+b.A,q=m+b.J;Ig(e,p,q,b.h,b.h,g,-p,-q);d.setTransform(e[0],e[1],e[4],e[5],e[12],e[13])}d.drawImage(b.g,b.ka,b.ba,b.V,b.D,l,m,b.V,b.D)}0===g&&1==b.h||d.setTransform(1,0,0,1,0,0);1!=b.o&&(d.globalAlpha=f)}} -function Qi(b,c,d,e){var f=0;if(b.G&&""!==b.f){b.i&&Ri(b,b.i);b.B&&Si(b,b.B);var g=b.G,h=b.c,k=b.Z;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,b.Z={font:g.font,textAlign:g.textAlign,textBaseline:g.textBaseline});c=zc(c,f,d,e,b.v,b.s);for(g=b.c;f<d;f+=e){h=c[f]+b.oa;k=c[f+1]+b.Da;if(0!==b.H|| -1!=b.j){var l=Ig(b.Ea,h,k,b.j,b.j,b.H,-h,-k);g.setTransform(l[0],l[1],l[4],l[5],l[12],l[13])}b.B&&g.strokeText(b.f,h,k);b.i&&g.fillText(b.f,h,k)}0===b.H&&1==b.j||g.setTransform(1,0,0,1,0,0)}}function Ti(b,c,d,e,f,g){var h=b.c;b=zc(c,d,e,f,b.v,b.s);h.moveTo(b[0],b[1]);c=b.length;g&&(c-=2);for(d=2;d<c;d+=2)h.lineTo(b[d],b[d+1]);g&&h.closePath();return e}function Ui(b,c,d,e,f){var g,h;g=0;for(h=e.length;g<h;++g)d=Ti(b,c,d,e[g],f,!0);return d}n=Oi.prototype; -n.rc=function(b){if($b(this.l,b.C())){if(this.b||this.a){this.b&&Ri(this,this.b);this.a&&Si(this,this.a);var c;c=this.v;var d=this.s,e=b.a;c=e?zc(e,0,e.length,b.b,c,d):null;d=c[2]-c[0];e=c[3]-c[1];d=Math.sqrt(d*d+e*e);e=this.c;e.beginPath();e.arc(c[0],c[1],d,0,2*Math.PI);this.b&&e.fill();this.a&&e.stroke()}""!==this.f&&Qi(this,b.a.slice(0,b.b),2,2)}};n.$a=function(b){var c=b.a;b=b.b;this.g&&Pi(this,c,c.length);""!==this.f&&Qi(this,c,c.length,b)}; -n.Za=function(b){var c=b.a;b=b.b;this.g&&Pi(this,c,c.length);""!==this.f&&Qi(this,c,c.length,b)};n.sc=function(b){if($b(this.l,b.C())){if(this.a){Si(this,this.a);var c=this.c,d=b.a;c.beginPath();Ti(this,d,0,d.length,b.b,!1);c.stroke()}""!==this.f&&(b=Vi(b),Qi(this,b,2,2))}}; -n.tc=function(b){var c=b.C();if($b(this.l,c)){if(this.a){Si(this,this.a);var c=this.c,d=b.a,e=0,f=b.bb(),g=b.b;c.beginPath();var h,k;h=0;for(k=f.length;h<k;++h)e=Ti(this,d,e,f[h],g,!1);c.stroke()}""!==this.f&&(b=Wi(b),Qi(this,b,b.length,2))}};n.vc=function(b){if($b(this.l,b.C())){if(this.a||this.b){this.b&&Ri(this,this.b);this.a&&Si(this,this.a);var c=this.c;c.beginPath();Ui(this,Uc(b),0,b.bb(),b.b);this.b&&c.fill();this.a&&c.stroke()}""!==this.f&&(b=Vc(b),Qi(this,b,2,2))}}; -n.uc=function(b){if($b(this.l,b.C())){if(this.a||this.b){this.b&&Ri(this,this.b);this.a&&Si(this,this.a);var c=this.c,d=Xi(b),e=0,f=b.c,g=b.b,h,k;h=0;for(k=f.length;h<k;++h){var l=f[h];c.beginPath();e=Ui(this,d,e,l,g);this.b&&c.fill();this.a&&c.stroke()}}""!==this.f&&(b=Yi(b),Qi(this,b,b.length,2))}};function Ri(b,c){var d=b.c,e=b.R;e?e.fillStyle!=c.fillStyle&&(e.fillStyle=d.fillStyle=c.fillStyle):(d.fillStyle=c.fillStyle,b.R={fillStyle:c.fillStyle})} -function Si(b,c){var d=b.c,e=b.T;e?(e.lineCap!=c.lineCap&&(e.lineCap=d.lineCap=c.lineCap),Ef&&!La(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,Ef&&d.setLineDash(c.lineDash),d.lineJoin=c.lineJoin,d.lineWidth= +function Ei(b,c){var d;void 0===d&&(d=c.length);for(var e=d-b.b,f=b.g,g=b.f,h=0;h<d;){if(0==g)for(;h<=e;)Di(b,c,h),h+=b.b;if(da(c))for(;h<d;){if(f[g++]=c.charCodeAt(h++),g==b.b){Di(b,f);g=0;break}}else for(;h<d;)if(f[g++]=c[h++],g==b.b){Di(b,f);g=0;break}}b.f=g;b.c+=d};function Fi(b){b=b||{};this.b=void 0!==b.color?b.color:null;this.c=b.lineCap;this.a=void 0!==b.lineDash?b.lineDash:null;this.g=b.lineJoin;this.h=b.miterLimit;this.f=b.width;this.l=void 0} +function Gi(b){if(void 0===b.l){var c="s"+(b.b?wd(b.b):"-")+","+(void 0!==b.c?b.c.toString():"-")+","+(b.a?b.a.toString():"-")+","+(void 0!==b.g?b.g:"-")+","+(void 0!==b.h?b.h.toString():"-")+","+(void 0!==b.f?b.f.toString():"-"),d=new Ci;Ei(d,c);var e=Array((56>d.f?d.b:2*d.b)-d.f);e[0]=128;for(c=1;c<e.length-8;++c)e[c]=0;for(var f=8*d.c,c=e.length-8;c<e.length;++c)e[c]=f&255,f/=256;Ei(d,e);e=Array(16);for(c=f=0;4>c;++c)for(var g=0;32>g;g+=8)e[f++]=d.a[c]>>>g&255;if(8192>=e.length)d=String.fromCharCode.apply(null, +e);else for(d="",c=0;c<e.length;c+=8192)d+=String.fromCharCode.apply(null,sd(e,c,c+8192));b.l=d}return b.l};function Hi(b){b=b||{};this.h=this.a=this.c=null;this.g=void 0!==b.fill?b.fill:null;this.b=void 0!==b.stroke?b.stroke:null;this.f=b.radius;this.j=[0,0];this.i=this.H=this.l=null;var c=b.atlasManager,d,e=null,f,g=0;this.b&&(f=wd(this.b.b),g=this.b.f,void 0===g&&(g=1),e=this.b.a,Ff||(e=null));var h=2*(this.f+g)+1;f={strokeStyle:f,Za:g,size:h,lineDash:e};if(void 0===c)this.a=document.createElement("CANVAS"),this.a.height=h,this.a.width=h,d=h=this.a.width,c=this.a.getContext("2d"),this.Jc(f,c,0,0),this.g? +this.h=this.a:(c=this.h=document.createElement("CANVAS"),c.height=f.size,c.width=f.size,c=c.getContext("2d"),this.Ic(f,c,0,0));else{h=Math.round(h);(e=!this.g)&&(d=this.Ic.bind(this,f));var g=this.b?Gi(this.b):"-",k=this.g?Ai(this.g):"-";this.c&&g==this.c[1]&&k==this.c[2]&&this.f==this.c[3]||(this.c=["c"+g+k+(void 0!==this.f?this.f.toString():"-"),g,k,this.f]);f=c.add(this.c[0],h,h,this.Jc.bind(this,f),d);this.a=f.image;this.j=[f.offsetX,f.offsetY];d=f.image.width;this.h=e?f.Id:this.a}this.l=[h/2, +h/2];this.H=[h,h];this.i=[d,d];Vg.call(this,{opacity:1,rotateWithView:!1,rotation:0,scale:1,snapToPixel:void 0!==b.snapToPixel?b.snapToPixel:!0})}M(Hi,Vg);n=Hi.prototype;n.Sa=function(){return this.l};n.jb=function(){return this.h};n.S=function(){return this.a};n.Ya=function(){return 2};n.Db=function(){return this.i};n.fa=function(){return this.j};n.ya=function(){return this.H};n.Mb=N;n.load=N;n.Ub=N; +n.Jc=function(b,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();c.arc(b.size/2,b.size/2,this.f,0,2*Math.PI,!0);this.g&&(c.fillStyle=zd(this.g.a),c.fill());this.b&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.Za,b.lineDash&&c.setLineDash(b.lineDash),c.stroke());c.closePath()}; +n.Ic=function(b,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();c.arc(b.size/2,b.size/2,this.f,0,2*Math.PI,!0);c.fillStyle=wd(vi);c.fill();this.b&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.Za,b.lineDash&&c.setLineDash(b.lineDash),c.stroke());c.closePath()};function Ii(b){b=b||{};this.h=null;this.f=Ji;void 0!==b.geometry&&Ki(this,b.geometry);this.g=void 0!==b.fill?b.fill:null;this.l=void 0!==b.image?b.image:null;this.c=void 0!==b.stroke?b.stroke:null;this.b=void 0!==b.text?b.text:null;this.a=b.zIndex}Ii.prototype.M=function(){return this.h};Ii.prototype.S=function(){return this.l};function Ki(b,c){ga(c)?b.f=c:"string"===typeof c?b.f=function(b){return b.get(c)}:c?void 0!==c&&(b.f=function(){return c}):b.f=Ji;b.h=c} +function Li(b){if(!ga(b)){var c;c=Array.isArray(b)?b:[b];b=function(){return c}}return b}var Mi=null;function Ni(){if(!Mi){var b=new zi({color:"rgba(255,255,255,0.4)"}),c=new Fi({color:"#3399CC",width:1.25});Mi=[new Ii({image:new Hi({fill:b,stroke:c,radius:5}),fill:b,stroke:c})]}return Mi} +function Oi(){var b={},c=[255,255,255,1],d=[0,153,255,1];b.Polygon=[new Ii({fill:new zi({color:[255,255,255,.5]})})];b.MultiPolygon=b.Polygon;b.LineString=[new Ii({stroke:new Fi({color:c,width:5})}),new Ii({stroke:new Fi({color:d,width:3})})];b.MultiLineString=b.LineString;b.Circle=b.Polygon.concat(b.LineString);b.Point=[new Ii({image:new Hi({radius:6,fill:new zi({color:d}),stroke:new Fi({color:c,width:1.5})}),zIndex:Infinity})];b.MultiPoint=b.Point;b.GeometryCollection=b.Polygon.concat(b.LineString, +b.Point);return b}function Ji(b){return b.M()};function Y(b){b=b?b:{};var c=Va({},b);delete c.style;delete c.renderBuffer;delete c.updateWhileAnimating;delete c.updateWhileInteracting;Hg.call(this,c);this.a=void 0!==b.renderBuffer?b.renderBuffer:100;this.o=null;this.g=void 0;this.s(b.style);this.i=void 0!==b.updateWhileAnimating?b.updateWhileAnimating:!1;this.j=void 0!==b.updateWhileInteracting?b.updateWhileInteracting:!1}M(Y,Hg);Y.prototype.s=function(b){this.o=void 0!==b?b:Ni;this.g=null===b?void 0:Li(this.o);this.w()};function Pi(b,c,d,e,f){this.c=b;this.u=c;this.l=d;this.v=e;this.Ca=f;this.g=this.a=this.b=this.Z=this.T=this.R=null;this.aa=this.ha=this.o=this.D=this.I=this.A=0;this.da=!1;this.h=this.ka=0;this.ua=!1;this.V=0;this.f="";this.j=this.H=this.va=this.la=0;this.G=this.B=this.i=null;this.s=[];this.wa=yb()}M(Pi,Fg); +function Qi(b,c,d){if(b.g){c=zc(c,0,d,2,b.v,b.s);d=b.c;var e=b.wa,f=d.globalAlpha;1!=b.o&&(d.globalAlpha=f*b.o);var g=b.ka;b.da&&(g+=b.Ca);var h,k;h=0;for(k=c.length;h<k;h+=2){var l=c[h]-b.A,m=c[h+1]-b.I;b.ua&&(l=Math.round(l),m=Math.round(m));if(0!==g||1!=b.h){var p=l+b.A,q=m+b.I;Jg(e,p,q,b.h,b.h,g,-p,-q);d.setTransform(e[0],e[1],e[4],e[5],e[12],e[13])}d.drawImage(b.g,b.ha,b.aa,b.V,b.D,l,m,b.V,b.D)}0===g&&1==b.h||d.setTransform(1,0,0,1,0,0);1!=b.o&&(d.globalAlpha=f)}} +function Ri(b,c,d,e){var f=0;if(b.G&&""!==b.f){b.i&&Si(b,b.i);b.B&&Ti(b,b.B);var g=b.G,h=b.c,k=b.Z;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,b.Z={font:g.font,textAlign:g.textAlign,textBaseline:g.textBaseline});c=zc(c,f,d,e,b.v,b.s);for(g=b.c;f<d;f+=e){h=c[f]+b.la;k=c[f+1]+b.va;if(0!==b.H|| +1!=b.j){var l=Jg(b.wa,h,k,b.j,b.j,b.H,-h,-k);g.setTransform(l[0],l[1],l[4],l[5],l[12],l[13])}b.B&&g.strokeText(b.f,h,k);b.i&&g.fillText(b.f,h,k)}0===b.H&&1==b.j||g.setTransform(1,0,0,1,0,0)}}function Ui(b,c,d,e,f,g){var h=b.c;b=zc(c,d,e,f,b.v,b.s);h.moveTo(b[0],b[1]);c=b.length;g&&(c-=2);for(d=2;d<c;d+=2)h.lineTo(b[d],b[d+1]);g&&h.closePath();return e}function Vi(b,c,d,e,f){var g,h;g=0;for(h=e.length;g<h;++g)d=Ui(b,c,d,e[g],f,!0);return d}n=Pi.prototype; +n.hc=function(b){if($b(this.l,b.C())){if(this.b||this.a){this.b&&Si(this,this.b);this.a&&Ti(this,this.a);var c;c=this.v;var d=this.s,e=b.a;c=e?zc(e,0,e.length,b.b,c,d):null;d=c[2]-c[0];e=c[3]-c[1];d=Math.sqrt(d*d+e*e);e=this.c;e.beginPath();e.arc(c[0],c[1],d,0,2*Math.PI);this.b&&e.fill();this.a&&e.stroke()}""!==this.f&&Ri(this,b.a.slice(0,b.b),2,2)}};n.Ra=function(b){var c=b.a;b=b.b;this.g&&Qi(this,c,c.length);""!==this.f&&Ri(this,c,c.length,b)}; +n.Qa=function(b){var c=b.a;b=b.b;this.g&&Qi(this,c,c.length);""!==this.f&&Ri(this,c,c.length,b)};n.ic=function(b){if($b(this.l,b.C())){if(this.a){Ti(this,this.a);var c=this.c,d=b.a;c.beginPath();Ui(this,d,0,d.length,b.b,!1);c.stroke()}""!==this.f&&(b=Wi(b),Ri(this,b,2,2))}}; +n.jc=function(b){var c=b.C();if($b(this.l,c)){if(this.a){Ti(this,this.a);var c=this.c,d=b.a,e=0,f=b.Ta(),g=b.b;c.beginPath();var h,k;h=0;for(k=f.length;h<k;++h)e=Ui(this,d,e,f[h],g,!1);c.stroke()}""!==this.f&&(b=Xi(b),Ri(this,b,b.length,2))}};n.lc=function(b){if($b(this.l,b.C())){if(this.a||this.b){this.b&&Si(this,this.b);this.a&&Ti(this,this.a);var c=this.c;c.beginPath();Vi(this,Uc(b),0,b.Ta(),b.b);this.b&&c.fill();this.a&&c.stroke()}""!==this.f&&(b=Vc(b),Ri(this,b,2,2))}}; +n.kc=function(b){if($b(this.l,b.C())){if(this.a||this.b){this.b&&Si(this,this.b);this.a&&Ti(this,this.a);var c=this.c,d=Yi(b),e=0,f=b.c,g=b.b,h,k;h=0;for(k=f.length;h<k;++h){var l=f[h];c.beginPath();e=Vi(this,d,e,l,g);this.b&&c.fill();this.a&&c.stroke()}}""!==this.f&&(b=Zi(b),Ri(this,b,b.length,2))}};function Si(b,c){var d=b.c,e=b.R;e?e.fillStyle!=c.fillStyle&&(e.fillStyle=d.fillStyle=c.fillStyle):(d.fillStyle=c.fillStyle,b.R={fillStyle:c.fillStyle})} +function Ti(b,c){var d=b.c,e=b.T;e?(e.lineCap!=c.lineCap&&(e.lineCap=d.lineCap=c.lineCap),Ff&&!La(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,Ff&&d.setLineDash(c.lineDash),d.lineJoin=c.lineJoin,d.lineWidth= c.lineWidth,d.miterLimit=c.miterLimit,d.strokeStyle=c.strokeStyle,b.T={lineCap:c.lineCap,lineDash:c.lineDash,lineJoin:c.lineJoin,lineWidth:c.lineWidth,miterLimit:c.miterLimit,strokeStyle:c.strokeStyle})} -n.Ia=function(b,c){if(b){var d=b.ca();this.b={fillStyle:yd(d?d:ui)}}else this.b=null;if(c){var d=c.ca(),e=c.wa,f=c.getLineDash(),g=c.xa,h=c.da(),k=c.ya;this.a={lineCap:void 0!==e?e:"round",lineDash:f?f:vi,lineJoin:void 0!==g?g:"round",lineWidth:this.u*(void 0!==h?h:1),miterLimit:void 0!==k?k:10,strokeStyle:vd(d?d:wi)}}else this.a=null}; -n.Ja=function(b){if(b){var c=b.ab(),d=b.S(1),e=b.ia(),f=b.Ha();this.A=c[0];this.J=c[1];this.D=f[1];this.g=d;this.o=b.B;this.ka=e[0];this.ba=e[1];this.ga=b.o;this.na=b.$();this.h=b.hb;this.Ca=b.u;this.V=f[0]}else this.g=null}; -n.Aa=function(b){if(b){var c=b.Fa();c?(c=c.ca(),this.i={fillStyle:yd(c?c:ui)}):this.i=null;var d=b.sa();if(d){var c=d.ca(),e=d.wa,f=d.getLineDash(),g=d.xa,h=d.da(),d=d.ya;this.B={lineCap:void 0!==e?e:"round",lineDash:f?f:vi,lineJoin:void 0!==g?g:"round",lineWidth:void 0!==h?h:1,miterLimit:void 0!==d?d:10,strokeStyle:vd(c?c:wi)}}else this.B=null;var c=b.td(),e=b.ud(),f=b.vd(),g=b.$(),h=b.hb,d=b.ta,k=b.wd();b=b.xd();this.G={font:void 0!==c?c:"10px sans-serif",textAlign:void 0!==k?k:"center",textBaseline:void 0!== -b?b:"middle"};this.f=void 0!==d?d:"";this.oa=void 0!==e?this.u*e:0;this.Da=void 0!==f?this.u*f:0;this.H=void 0!==g?g:0;this.j=this.u*(void 0!==h?h:1)}else this.f=""};function Zi(b){Lg.call(this,b);this.J=yb()}M(Zi,Lg); -Zi.prototype.g=function(b,c,d){$i(this,"precompose",d,b,void 0);var e=this.S();if(e){var f=c.extent,g=void 0!==f;if(g){var h=b.pixelRatio,k=b.size[0]*h,l=b.size[1]*h,m=b.viewState.rotation,p=ac(f),q=[f[2],f[3]],r=[f[2],f[1]],f=Wb(f);Kg(b.coordinateToPixelMatrix,p,p);Kg(b.coordinateToPixelMatrix,q,q);Kg(b.coordinateToPixelMatrix,r,r);Kg(b.coordinateToPixelMatrix,f,f);d.save();xi(d,-m,k/2,l/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();xi(d,m,k/2,l/2)}h=this.D;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()}$i(this,"postcompose",d,b,void 0)}; -function $i(b,c,d,e,f){var g=b.a;if(mb(g,c)){var h=e.size[0]*e.pixelRatio,k=e.size[1]*e.pixelRatio,l=e.viewState.rotation;xi(d,-l,h/2,k/2);b=void 0!==f?f:aj(b,e,0);b=new Oi(d,e.pixelRatio,e.extent,b,e.viewState.rotation);T(g,new Fg(c,g,b,e,d,null));xi(d,l,h/2,k/2)}}function aj(b,c,d){var e=c.viewState,f=c.pixelRatio;return Ig(b.J,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 bj=["Polygon","LineString","Image","Text"];function cj(b,c,d){this.ba=b;this.G=c;this.c=null;this.g=0;this.resolution=d;this.D=this.J=null;this.b=[];this.coordinates=[];this.T=yb();this.a=[];this.R=[];this.Z=yb();this.ka=yb()}M(cj,Eg); -function dj(b,c,d,e,f,g){var h=b.coordinates.length,k=b.Mb(),l=[c[d],c[d+1]],m=[NaN,NaN],p=!0,q,r,u;for(q=d+f;q<e;q+=f){m[0]=c[q];m[1]=c[q+1];u=k[1];var w=k[2],y=k[3],z=m[0],D=m[1],t=0;z<k[0]?t=t|16:z>w&&(t=t|4);D<u?t|=8:D>y&&(t|=2);0===t&&(t=1);u=t;u!==r?(p&&(b.coordinates[h++]=l[0],b.coordinates[h++]=l[1]),b.coordinates[h++]=m[0],b.coordinates[h++]=m[1],p=!1):1===u?(b.coordinates[h++]=m[0],b.coordinates[h++]=m[1],p=!1):p=!0;l[0]=m[0];l[1]=m[1];r=u}q===d+f&&(b.coordinates[h++]=l[0],b.coordinates[h++]= -l[1]);g&&(b.coordinates[h++]=c[d],b.coordinates[h++]=c[d+1]);return h}function ej(b,c){b.J=[0,c,0];b.b.push(b.J);b.D=[0,c,0];b.a.push(b.D)} -function fj(b,c,d,e,f,g,h,k,l){var m;Jg(e,b.T)?m=b.R:(m=zc(b.coordinates,0,b.coordinates.length,2,e,b.R),Bb(b.T,e));e=!Za(g);var p=0,q=h.length,r=0,u,w=b.Z;b=b.ka;for(var y,z,D,t;p<q;){var v=h[p],B,F,C,G;switch(v[0]){case 0:r=v[1];e&&g[I(r).toString()]||!r.M()?p=v[2]:void 0===l||$b(l,r.M().C())?++p:p=v[2];break;case 1:c.beginPath();++p;break;case 2:r=v[1];u=m[r];v=m[r+1];D=m[r+2]-u;r=m[r+3]-v;c.arc(u,v,Math.sqrt(D*D+r*r),0,2*Math.PI,!0);++p;break;case 3:c.closePath();++p;break;case 4:r=v[1];u=v[2]; -B=v[3];C=v[4]*d;var J=v[5]*d,A=v[6];F=v[7];var H=v[8],O=v[9];D=v[11];t=v[12];var Q=v[13],L=v[14];for(v[10]&&(D+=f);r<u;r+=2){v=m[r]-C;G=m[r+1]-J;Q&&(v=Math.round(v),G=Math.round(G));if(1!=t||0!==D){var K=v+C,fa=G+J;Ig(w,K,fa,t,t,D,-K,-fa);c.transform(w[0],w[1],w[4],w[5],w[12],w[13])}K=c.globalAlpha;1!=F&&(c.globalAlpha=K*F);var fa=L+H>B.width?B.width-H:L,ra=A+O>B.height?B.height-O:A;c.drawImage(B,H,O,fa,ra,v,G,fa*d,ra*d);1!=F&&(c.globalAlpha=K);if(1!=t||0!==D)Db(w,b),c.transform(b[0],b[1],b[4],b[5], -b[12],b[13])}++p;break;case 5:r=v[1];u=v[2];C=v[3];J=v[4]*d;A=v[5]*d;D=v[6];t=v[7]*d;B=v[8];for(F=v[9];r<u;r+=2){v=m[r]+J;G=m[r+1]+A;if(1!=t||0!==D)Ig(w,v,G,t,t,D,-v,-G),c.transform(w[0],w[1],w[4],w[5],w[12],w[13]);H=C.split("\n");O=H.length;1<O?(Q=Math.round(1.5*c.measureText("M").width),G-=(O-1)/2*Q):Q=0;for(L=0;L<O;L++)K=H[L],F&&c.strokeText(K,v,G),B&&c.fillText(K,v,G),G+=Q;if(1!=t||0!==D)Db(w,b),c.transform(b[0],b[1],b[4],b[5],b[12],b[13])}++p;break;case 6:if(void 0!==k&&(r=v[1],r=k(r)))return r; -++p;break;case 7:c.fill();++p;break;case 8:r=v[1];u=v[2];v=m[r];G=m[r+1];D=v+.5|0;t=G+.5|0;if(D!==y||t!==z)c.moveTo(v,G),y=D,z=t;for(r+=2;r<u;r+=2)if(v=m[r],G=m[r+1],D=v+.5|0,t=G+.5|0,D!==y||t!==z)c.lineTo(v,G),y=D,z=t;++p;break;case 9:c.fillStyle=v[1];++p;break;case 10:y=void 0!==v[7]?v[7]:!0;z=v[2];c.strokeStyle=v[1];c.lineWidth=y?z*d:z;c.lineCap=v[3];c.lineJoin=v[4];c.miterLimit=v[5];Ef&&c.setLineDash(v[6]);z=y=NaN;++p;break;case 11:c.font=v[1];c.textAlign=v[2];c.textBaseline=v[3];++p;break;case 12:c.stroke(); -++p;break;default:++p}}}function gj(b){var c=b.a;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=b.a;for(g=d;h<g;){var k=f[h];f[h]=f[g];f[g]=k;++h;--g}h=-1}}function hj(b,c){b.J[2]=b.b.length;b.J=null;b.D[2]=b.a.length;b.D=null;var d=[6,c];b.b.push(d);b.a.push(d)}cj.prototype.sb=N;cj.prototype.Mb=function(){return this.G}; -function ij(b,c,d){cj.call(this,b,c,d);this.i=this.V=null;this.A=this.v=this.H=this.u=this.s=this.o=this.B=this.j=this.l=this.h=this.f=void 0}M(ij,cj);ij.prototype.$a=function(b,c){if(this.i){ej(this,c);var d=b.a,e=this.coordinates.length,d=dj(this,d,0,d.length,b.b,!1);this.b.push([4,e,d,this.i,this.f,this.h,this.l,this.j,this.B,this.o,this.s,this.u,this.H,this.v,this.A]);this.a.push([4,e,d,this.V,this.f,this.h,this.l,this.j,this.B,this.o,this.s,this.u,this.H,this.v,this.A]);hj(this,c)}}; -ij.prototype.Za=function(b,c){if(this.i){ej(this,c);var d=b.a,e=this.coordinates.length,d=dj(this,d,0,d.length,b.b,!1);this.b.push([4,e,d,this.i,this.f,this.h,this.l,this.j,this.B,this.o,this.s,this.u,this.H,this.v,this.A]);this.a.push([4,e,d,this.V,this.f,this.h,this.l,this.j,this.B,this.o,this.s,this.u,this.H,this.v,this.A]);hj(this,c)}};ij.prototype.sb=function(){gj(this);this.h=this.f=void 0;this.i=this.V=null;this.A=this.v=this.u=this.s=this.o=this.B=this.j=this.H=this.l=void 0}; -ij.prototype.Ja=function(b){var c=b.ab(),d=b.Ha(),e=b.tb(1),f=b.S(1),g=b.ia();this.f=c[0];this.h=c[1];this.V=e;this.i=f;this.l=d[1];this.j=b.B;this.B=g[0];this.o=g[1];this.s=b.o;this.u=b.$();this.H=b.hb;this.v=b.u;this.A=d[0]};function jj(b,c,d){cj.call(this,b,c,d);this.f={Ya:void 0,Ta:void 0,Ua:null,Va:void 0,Wa:void 0,Xa:void 0,Vb:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}M(jj,cj); -function kj(b,c,d,e,f){var g=b.coordinates.length;c=dj(b,c,d,e,f,!1);g=[8,g,c];b.b.push(g);b.a.push(g);return e}n=jj.prototype;n.Mb=function(){this.c||(this.c=Lb(this.G),0<this.g&&Kb(this.c,this.resolution*(this.g+1)/2,this.c));return this.c}; -function lj(b){var c=b.f,d=c.strokeStyle,e=c.lineCap,f=c.lineDash,g=c.lineJoin,h=c.lineWidth,k=c.miterLimit;c.Ya==d&&c.Ta==e&&La(c.Ua,f)&&c.Va==g&&c.Wa==h&&c.Xa==k||(c.Vb!=b.coordinates.length&&(b.b.push([12]),c.Vb=b.coordinates.length),b.b.push([10,d,h,e,g,k,f],[1]),c.Ya=d,c.Ta=e,c.Ua=f,c.Va=g,c.Wa=h,c.Xa=k)} -n.sc=function(b,c){var d=this.f,e=d.lineWidth;void 0!==d.strokeStyle&&void 0!==e&&(lj(this),ej(this,c),this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash],[1]),d=b.a,kj(this,d,0,d.length,b.b),this.a.push([12]),hj(this,c))}; -n.tc=function(b,c){var d=this.f,e=d.lineWidth;if(void 0!==d.strokeStyle&&void 0!==e){lj(this);ej(this,c);this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash],[1]);var d=b.bb(),e=b.a,f=b.b,g=0,h,k;h=0;for(k=d.length;h<k;++h)g=kj(this,e,g,d[h],f);this.a.push([12]);hj(this,c)}};n.sb=function(){this.f.Vb!=this.coordinates.length&&this.b.push([12]);gj(this);this.f=null}; -n.Ia=function(b,c){var d=c.ca();this.f.strokeStyle=vd(d?d:wi);d=c.wa;this.f.lineCap=void 0!==d?d:"round";d=c.getLineDash();this.f.lineDash=d?d:vi;d=c.xa;this.f.lineJoin=void 0!==d?d:"round";d=c.da();this.f.lineWidth=void 0!==d?d:1;d=c.ya;this.f.miterLimit=void 0!==d?d:10;this.f.lineWidth>this.g&&(this.g=this.f.lineWidth,this.c=null)}; -function mj(b,c,d){cj.call(this,b,c,d);this.f={qc:void 0,Ya:void 0,Ta:void 0,Ua:null,Va:void 0,Wa:void 0,Xa:void 0,fillStyle:void 0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}M(mj,cj); -function nj(b,c,d,e,f){var g=b.f,h=[1];b.b.push(h);b.a.push(h);var k,h=0;for(k=e.length;h<k;++h){var l=e[h],m=b.coordinates.length;d=dj(b,c,d,l,f,!0);d=[8,m,d];m=[3];b.b.push(d,m);b.a.push(d,m);d=l}c=[7];b.a.push(c);void 0!==g.fillStyle&&b.b.push(c);void 0!==g.strokeStyle&&(g=[12],b.b.push(g),b.a.push(g));return d}n=mj.prototype; -n.rc=function(b,c){var d=this.f,e=d.strokeStyle;if(void 0!==d.fillStyle||void 0!==e){oj(this);ej(this,c);this.a.push([9,vd(ui)]);void 0!==d.strokeStyle&&this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]);var f=b.a,e=this.coordinates.length;dj(this,f,0,f.length,b.b,!1);f=[1];e=[2,e];this.b.push(f,e);this.a.push(f,e);e=[7];this.a.push(e);void 0!==d.fillStyle&&this.b.push(e);void 0!==d.strokeStyle&&(d=[12],this.b.push(d),this.a.push(d));hj(this,c)}}; -n.vc=function(b,c){var d=this.f,e=d.strokeStyle;if(void 0!==d.fillStyle||void 0!==e)oj(this),ej(this,c),this.a.push([9,vd(ui)]),void 0!==d.strokeStyle&&this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]),d=b.bb(),e=Uc(b),nj(this,e,0,d,b.b),hj(this,c)}; -n.uc=function(b,c){var d=this.f,e=d.strokeStyle;if(void 0!==d.fillStyle||void 0!==e){oj(this);ej(this,c);this.a.push([9,vd(ui)]);void 0!==d.strokeStyle&&this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]);var d=b.c,e=Xi(b),f=b.b,g=0,h,k;h=0;for(k=d.length;h<k;++h)g=nj(this,e,g,d[h],f);hj(this,c)}};n.sb=function(){gj(this);this.f=null;var b=this.ba;if(0!==b){var c=this.coordinates,d,e;d=0;for(e=c.length;d<e;++d)c[d]=b*Math.round(c[d]/b)}}; -n.Mb=function(){this.c||(this.c=Lb(this.G),0<this.g&&Kb(this.c,this.resolution*(this.g+1)/2,this.c));return this.c}; -n.Ia=function(b,c){var d=this.f;if(b){var e=b.ca();d.fillStyle=yd(e?e:ui)}else d.fillStyle=void 0;c?(e=c.ca(),d.strokeStyle=vd(e?e:wi),e=c.wa,d.lineCap=void 0!==e?e:"round",e=c.getLineDash(),d.lineDash=e?e.slice():vi,e=c.xa,d.lineJoin=void 0!==e?e:"round",e=c.da(),d.lineWidth=void 0!==e?e:1,e=c.ya,d.miterLimit=void 0!==e?e:10,d.lineWidth>this.g&&(this.g=d.lineWidth,this.c=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 oj(b){var c=b.f,d=c.fillStyle,e=c.strokeStyle,f=c.lineCap,g=c.lineDash,h=c.lineJoin,k=c.lineWidth,l=c.miterLimit;void 0!==d&&c.qc!=d&&(b.b.push([9,d]),c.qc=c.fillStyle);void 0===e||c.Ya==e&&c.Ta==f&&c.Ua==g&&c.Va==h&&c.Wa==k&&c.Xa==l||(b.b.push([10,e,k,f,h,l,g]),c.Ya=e,c.Ta=f,c.Ua=g,c.Va=h,c.Wa=k,c.Xa=l)}function pj(b,c,d){cj.call(this,b,c,d);this.v=this.H=this.u=null;this.i="";this.s=this.o=this.B=this.j=0;this.l=this.h=this.f=null}M(pj,cj); -function qj(b,c,d,e,f){if(""!==b.i&&b.l&&(b.f||b.h)){if(b.f){var g=b.f,h=b.u;if(!h||h.fillStyle!=g.fillStyle){var k=[9,g.fillStyle];b.b.push(k);b.a.push(k);h?h.fillStyle=g.fillStyle:b.u={fillStyle:g.fillStyle}}}b.h&&(g=b.h,h=b.H,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],b.b.push(k),b.a.push(k),h?(h.lineCap= +n.za=function(b,c){if(b){var d=b.a;this.b={fillStyle:zd(d?d:vi)}}else this.b=null;if(c){var d=c.b,e=c.c,f=c.a,g=c.g,h=c.f,k=c.h;this.a={lineCap:void 0!==e?e:"round",lineDash:f?f:wi,lineJoin:void 0!==g?g:"round",lineWidth:this.u*(void 0!==h?h:1),miterLimit:void 0!==k?k:10,strokeStyle:wd(d?d:xi)}}else this.a=null}; +n.Aa=function(b){if(b){var c=b.Sa(),d=b.S(1),e=b.fa(),f=b.ya();this.A=c[0];this.I=c[1];this.D=f[1];this.g=d;this.o=b.B;this.ha=e[0];this.aa=e[1];this.da=b.o;this.ka=b.s;this.h=b.u;this.ua=b.v;this.V=f[0]}else this.g=null}; +n.sa=function(b){if(b){var c=b.c;c?(c=c.a,this.i={fillStyle:zd(c?c:vi)}):this.i=null;var d=b.l;if(d){var c=d.b,e=d.c,f=d.a,g=d.g,h=d.f,d=d.h;this.B={lineCap:void 0!==e?e:"round",lineDash:f?f:wi,lineJoin:void 0!==g?g:"round",lineWidth:void 0!==h?h:1,miterLimit:void 0!==d?d:10,strokeStyle:wd(c?c:xi)}}else this.B=null;var c=b.a,e=b.b,f=b.f,g=b.g,h=b.h,d=b.i,k=b.j;b=b.B;this.G={font:void 0!==c?c:"10px sans-serif",textAlign:void 0!==k?k:"center",textBaseline:void 0!==b?b:"middle"};this.f=void 0!==d?d: +"";this.la=void 0!==e?this.u*e:0;this.va=void 0!==f?this.u*f:0;this.H=void 0!==g?g:0;this.j=this.u*(void 0!==h?h:1)}else this.f=""};function $i(b){Mg.call(this,b);this.I=yb()}M($i,Mg); +$i.prototype.g=function(b,c,d){aj(this,"precompose",d,b,void 0);var e=this.S();if(e){var f=c.extent,g=void 0!==f;if(g){var h=b.pixelRatio,k=b.size[0]*h,l=b.size[1]*h,m=b.viewState.rotation,p=ac(f),q=[f[2],f[3]],r=[f[2],f[1]],f=Wb(f);Lg(b.coordinateToPixelMatrix,p,p);Lg(b.coordinateToPixelMatrix,q,q);Lg(b.coordinateToPixelMatrix,r,r);Lg(b.coordinateToPixelMatrix,f,f);d.save();yi(d,-m,k/2,l/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();yi(d,m,k/2,l/2)}h=this.D;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()}aj(this,"postcompose",d,b,void 0)}; +function aj(b,c,d,e,f){var g=b.a;if(mb(g,c)){var h=e.size[0]*e.pixelRatio,k=e.size[1]*e.pixelRatio,l=e.viewState.rotation;yi(d,-l,h/2,k/2);b=void 0!==f?f:bj(b,e,0);b=new Pi(d,e.pixelRatio,e.extent,b,e.viewState.rotation);T(g,new Gg(c,g,b,e,d,null));yi(d,l,h/2,k/2)}}function bj(b,c,d){var e=c.viewState,f=c.pixelRatio;return Jg(b.I,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 cj=["Polygon","LineString","Image","Text"];function dj(b,c,d){this.aa=b;this.G=c;this.c=null;this.g=0;this.resolution=d;this.D=this.I=null;this.b=[];this.coordinates=[];this.T=yb();this.a=[];this.R=[];this.Z=yb();this.ha=yb()}M(dj,Fg); +function ej(b,c,d,e,f,g){var h=b.coordinates.length,k=b.Cb(),l=[c[d],c[d+1]],m=[NaN,NaN],p=!0,q,r,u;for(q=d+f;q<e;q+=f){m[0]=c[q];m[1]=c[q+1];u=k[1];var w=k[2],y=k[3],z=m[0],D=m[1],t=0;z<k[0]?t=t|16:z>w&&(t=t|4);D<u?t|=8:D>y&&(t|=2);0===t&&(t=1);u=t;u!==r?(p&&(b.coordinates[h++]=l[0],b.coordinates[h++]=l[1]),b.coordinates[h++]=m[0],b.coordinates[h++]=m[1],p=!1):1===u?(b.coordinates[h++]=m[0],b.coordinates[h++]=m[1],p=!1):p=!0;l[0]=m[0];l[1]=m[1];r=u}q===d+f&&(b.coordinates[h++]=l[0],b.coordinates[h++]= +l[1]);g&&(b.coordinates[h++]=c[d],b.coordinates[h++]=c[d+1]);return h}function fj(b,c){b.I=[0,c,0];b.b.push(b.I);b.D=[0,c,0];b.a.push(b.D)} +function gj(b,c,d,e,f,g,h,k,l){var m;Kg(e,b.T)?m=b.R:(m=zc(b.coordinates,0,b.coordinates.length,2,e,b.R),Bb(b.T,e));e=!Za(g);var p=0,q=h.length,r=0,u,w=b.Z;b=b.ha;for(var y,z,D,t;p<q;){var v=h[p],B,F,C,G;switch(v[0]){case 0:r=v[1];e&&g[I(r).toString()]||!r.M()?p=v[2]:void 0===l||$b(l,r.M().C())?++p:p=v[2];break;case 1:c.beginPath();++p;break;case 2:r=v[1];u=m[r];v=m[r+1];D=m[r+2]-u;r=m[r+3]-v;c.arc(u,v,Math.sqrt(D*D+r*r),0,2*Math.PI,!0);++p;break;case 3:c.closePath();++p;break;case 4:r=v[1];u=v[2]; +B=v[3];C=v[4]*d;var J=v[5]*d,A=v[6];F=v[7];var H=v[8],O=v[9];D=v[11];t=v[12];var Q=v[13],L=v[14];for(v[10]&&(D+=f);r<u;r+=2){v=m[r]-C;G=m[r+1]-J;Q&&(v=Math.round(v),G=Math.round(G));if(1!=t||0!==D){var K=v+C,fa=G+J;Jg(w,K,fa,t,t,D,-K,-fa);c.transform(w[0],w[1],w[4],w[5],w[12],w[13])}K=c.globalAlpha;1!=F&&(c.globalAlpha=K*F);var fa=L+H>B.width?B.width-H:L,ra=A+O>B.height?B.height-O:A;c.drawImage(B,H,O,fa,ra,v,G,fa*d,ra*d);1!=F&&(c.globalAlpha=K);if(1!=t||0!==D)Db(w,b),c.transform(b[0],b[1],b[4],b[5], +b[12],b[13])}++p;break;case 5:r=v[1];u=v[2];C=v[3];J=v[4]*d;A=v[5]*d;D=v[6];t=v[7]*d;B=v[8];for(F=v[9];r<u;r+=2){v=m[r]+J;G=m[r+1]+A;if(1!=t||0!==D)Jg(w,v,G,t,t,D,-v,-G),c.transform(w[0],w[1],w[4],w[5],w[12],w[13]);H=C.split("\n");O=H.length;1<O?(Q=Math.round(1.5*c.measureText("M").width),G-=(O-1)/2*Q):Q=0;for(L=0;L<O;L++)K=H[L],F&&c.strokeText(K,v,G),B&&c.fillText(K,v,G),G+=Q;if(1!=t||0!==D)Db(w,b),c.transform(b[0],b[1],b[4],b[5],b[12],b[13])}++p;break;case 6:if(void 0!==k&&(r=v[1],r=k(r)))return r; +++p;break;case 7:c.fill();++p;break;case 8:r=v[1];u=v[2];v=m[r];G=m[r+1];D=v+.5|0;t=G+.5|0;if(D!==y||t!==z)c.moveTo(v,G),y=D,z=t;for(r+=2;r<u;r+=2)if(v=m[r],G=m[r+1],D=v+.5|0,t=G+.5|0,D!==y||t!==z)c.lineTo(v,G),y=D,z=t;++p;break;case 9:c.fillStyle=v[1];++p;break;case 10:y=void 0!==v[7]?v[7]:!0;z=v[2];c.strokeStyle=v[1];c.lineWidth=y?z*d:z;c.lineCap=v[3];c.lineJoin=v[4];c.miterLimit=v[5];Ff&&c.setLineDash(v[6]);z=y=NaN;++p;break;case 11:c.font=v[1];c.textAlign=v[2];c.textBaseline=v[3];++p;break;case 12:c.stroke(); +++p;break;default:++p}}}function hj(b){var c=b.a;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=b.a;for(g=d;h<g;){var k=f[h];f[h]=f[g];f[g]=k;++h;--g}h=-1}}function ij(b,c){b.I[2]=b.b.length;b.I=null;b.D[2]=b.a.length;b.D=null;var d=[6,c];b.b.push(d);b.a.push(d)}dj.prototype.ib=N;dj.prototype.Cb=function(){return this.G}; +function jj(b,c,d){dj.call(this,b,c,d);this.i=this.V=null;this.A=this.v=this.H=this.u=this.s=this.o=this.B=this.j=this.l=this.h=this.f=void 0}M(jj,dj);jj.prototype.Ra=function(b,c){if(this.i){fj(this,c);var d=b.a,e=this.coordinates.length,d=ej(this,d,0,d.length,b.b,!1);this.b.push([4,e,d,this.i,this.f,this.h,this.l,this.j,this.B,this.o,this.s,this.u,this.H,this.v,this.A]);this.a.push([4,e,d,this.V,this.f,this.h,this.l,this.j,this.B,this.o,this.s,this.u,this.H,this.v,this.A]);ij(this,c)}}; +jj.prototype.Qa=function(b,c){if(this.i){fj(this,c);var d=b.a,e=this.coordinates.length,d=ej(this,d,0,d.length,b.b,!1);this.b.push([4,e,d,this.i,this.f,this.h,this.l,this.j,this.B,this.o,this.s,this.u,this.H,this.v,this.A]);this.a.push([4,e,d,this.V,this.f,this.h,this.l,this.j,this.B,this.o,this.s,this.u,this.H,this.v,this.A]);ij(this,c)}};jj.prototype.ib=function(){hj(this);this.h=this.f=void 0;this.i=this.V=null;this.A=this.v=this.u=this.s=this.o=this.B=this.j=this.H=this.l=void 0}; +jj.prototype.Aa=function(b){var c=b.Sa(),d=b.ya(),e=b.jb(1),f=b.S(1),g=b.fa();this.f=c[0];this.h=c[1];this.V=e;this.i=f;this.l=d[1];this.j=b.B;this.B=g[0];this.o=g[1];this.s=b.o;this.u=b.s;this.H=b.u;this.v=b.v;this.A=d[0]};function kj(b,c,d){dj.call(this,b,c,d);this.f={Pa:void 0,Ka:void 0,La:null,Ma:void 0,Na:void 0,Oa:void 0,Lb:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}M(kj,dj); +function lj(b,c,d,e,f){var g=b.coordinates.length;c=ej(b,c,d,e,f,!1);g=[8,g,c];b.b.push(g);b.a.push(g);return e}n=kj.prototype;n.Cb=function(){this.c||(this.c=Lb(this.G),0<this.g&&Kb(this.c,this.resolution*(this.g+1)/2,this.c));return this.c}; +function mj(b){var c=b.f,d=c.strokeStyle,e=c.lineCap,f=c.lineDash,g=c.lineJoin,h=c.lineWidth,k=c.miterLimit;c.Pa==d&&c.Ka==e&&La(c.La,f)&&c.Ma==g&&c.Na==h&&c.Oa==k||(c.Lb!=b.coordinates.length&&(b.b.push([12]),c.Lb=b.coordinates.length),b.b.push([10,d,h,e,g,k,f],[1]),c.Pa=d,c.Ka=e,c.La=f,c.Ma=g,c.Na=h,c.Oa=k)} +n.ic=function(b,c){var d=this.f,e=d.lineWidth;void 0!==d.strokeStyle&&void 0!==e&&(mj(this),fj(this,c),this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash],[1]),d=b.a,lj(this,d,0,d.length,b.b),this.a.push([12]),ij(this,c))}; +n.jc=function(b,c){var d=this.f,e=d.lineWidth;if(void 0!==d.strokeStyle&&void 0!==e){mj(this);fj(this,c);this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash],[1]);var d=b.Ta(),e=b.a,f=b.b,g=0,h,k;h=0;for(k=d.length;h<k;++h)g=lj(this,e,g,d[h],f);this.a.push([12]);ij(this,c)}};n.ib=function(){this.f.Lb!=this.coordinates.length&&this.b.push([12]);hj(this);this.f=null}; +n.za=function(b,c){var d=c.b;this.f.strokeStyle=wd(d?d:xi);d=c.c;this.f.lineCap=void 0!==d?d:"round";d=c.a;this.f.lineDash=d?d:wi;d=c.g;this.f.lineJoin=void 0!==d?d:"round";d=c.f;this.f.lineWidth=void 0!==d?d:1;d=c.h;this.f.miterLimit=void 0!==d?d:10;this.f.lineWidth>this.g&&(this.g=this.f.lineWidth,this.c=null)}; +function nj(b,c,d){dj.call(this,b,c,d);this.f={gc:void 0,Pa:void 0,Ka:void 0,La:null,Ma:void 0,Na:void 0,Oa:void 0,fillStyle:void 0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}M(nj,dj); +function oj(b,c,d,e,f){var g=b.f,h=[1];b.b.push(h);b.a.push(h);var k,h=0;for(k=e.length;h<k;++h){var l=e[h],m=b.coordinates.length;d=ej(b,c,d,l,f,!0);d=[8,m,d];m=[3];b.b.push(d,m);b.a.push(d,m);d=l}c=[7];b.a.push(c);void 0!==g.fillStyle&&b.b.push(c);void 0!==g.strokeStyle&&(g=[12],b.b.push(g),b.a.push(g));return d}n=nj.prototype; +n.hc=function(b,c){var d=this.f,e=d.strokeStyle;if(void 0!==d.fillStyle||void 0!==e){pj(this);fj(this,c);this.a.push([9,wd(vi)]);void 0!==d.strokeStyle&&this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]);var f=b.a,e=this.coordinates.length;ej(this,f,0,f.length,b.b,!1);f=[1];e=[2,e];this.b.push(f,e);this.a.push(f,e);e=[7];this.a.push(e);void 0!==d.fillStyle&&this.b.push(e);void 0!==d.strokeStyle&&(d=[12],this.b.push(d),this.a.push(d));ij(this,c)}}; +n.lc=function(b,c){var d=this.f,e=d.strokeStyle;if(void 0!==d.fillStyle||void 0!==e)pj(this),fj(this,c),this.a.push([9,wd(vi)]),void 0!==d.strokeStyle&&this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]),d=b.Ta(),e=Uc(b),oj(this,e,0,d,b.b),ij(this,c)}; +n.kc=function(b,c){var d=this.f,e=d.strokeStyle;if(void 0!==d.fillStyle||void 0!==e){pj(this);fj(this,c);this.a.push([9,wd(vi)]);void 0!==d.strokeStyle&&this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]);var d=b.c,e=Yi(b),f=b.b,g=0,h,k;h=0;for(k=d.length;h<k;++h)g=oj(this,e,g,d[h],f);ij(this,c)}};n.ib=function(){hj(this);this.f=null;var b=this.aa;if(0!==b){var c=this.coordinates,d,e;d=0;for(e=c.length;d<e;++d)c[d]=b*Math.round(c[d]/b)}}; +n.Cb=function(){this.c||(this.c=Lb(this.G),0<this.g&&Kb(this.c,this.resolution*(this.g+1)/2,this.c));return this.c}; +n.za=function(b,c){var d=this.f;if(b){var e=b.a;d.fillStyle=zd(e?e:vi)}else d.fillStyle=void 0;c?(e=c.b,d.strokeStyle=wd(e?e:xi),e=c.c,d.lineCap=void 0!==e?e:"round",e=c.a,d.lineDash=e?e.slice():wi,e=c.g,d.lineJoin=void 0!==e?e:"round",e=c.f,d.lineWidth=void 0!==e?e:1,e=c.h,d.miterLimit=void 0!==e?e:10,d.lineWidth>this.g&&(this.g=d.lineWidth,this.c=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 pj(b){var c=b.f,d=c.fillStyle,e=c.strokeStyle,f=c.lineCap,g=c.lineDash,h=c.lineJoin,k=c.lineWidth,l=c.miterLimit;void 0!==d&&c.gc!=d&&(b.b.push([9,d]),c.gc=c.fillStyle);void 0===e||c.Pa==e&&c.Ka==f&&c.La==g&&c.Ma==h&&c.Na==k&&c.Oa==l||(b.b.push([10,e,k,f,h,l,g]),c.Pa=e,c.Ka=f,c.La=g,c.Ma=h,c.Na=k,c.Oa=l)}function qj(b,c,d){dj.call(this,b,c,d);this.v=this.H=this.u=null;this.i="";this.s=this.o=this.B=this.j=0;this.l=this.h=this.f=null}M(qj,dj); +function rj(b,c,d,e,f){if(""!==b.i&&b.l&&(b.f||b.h)){if(b.f){var g=b.f,h=b.u;if(!h||h.fillStyle!=g.fillStyle){var k=[9,g.fillStyle];b.b.push(k);b.a.push(k);h?h.fillStyle=g.fillStyle:b.u={fillStyle:g.fillStyle}}}b.h&&(g=b.h,h=b.H,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],b.b.push(k),b.a.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):b.H={lineCap:g.lineCap,lineDash:g.lineDash,lineJoin:g.lineJoin,lineWidth:g.lineWidth,miterLimit:g.miterLimit,strokeStyle:g.strokeStyle}));g=b.l;h=b.v;h&&h.font==g.font&&h.textAlign==g.textAlign&&h.textBaseline==g.textBaseline||(k=[11,g.font,g.textAlign,g.textBaseline],b.b.push(k),b.a.push(k),h?(h.font=g.font,h.textAlign=g.textAlign,h.textBaseline=g.textBaseline):b.v= -{font:g.font,textAlign:g.textAlign,textBaseline:g.textBaseline});ej(b,f);g=b.coordinates.length;c=dj(b,c,0,d,e,!1);c=[5,g,c,b.i,b.j,b.B,b.o,b.s,!!b.f,!!b.h];b.b.push(c);b.a.push(c);hj(b,f)}} -pj.prototype.Aa=function(b){if(b){var c=b.Fa();c?(c=c.ca(),c=yd(c?c:ui),this.f?this.f.fillStyle=c:this.f={fillStyle:c}):this.f=null;var d=b.sa();if(d){var c=d.ca(),e=d.wa,f=d.getLineDash(),g=d.xa,h=d.da(),d=d.ya,e=void 0!==e?e:"round",f=f?f.slice():vi,g=void 0!==g?g:"round",h=void 0!==h?h:1,d=void 0!==d?d:10,c=vd(c?c:wi);if(this.h){var k=this.h;k.lineCap=e;k.lineDash=f;k.lineJoin=g;k.lineWidth=h;k.miterLimit=d;k.strokeStyle=c}else this.h={lineCap:e,lineDash:f,lineJoin:g,lineWidth:h,miterLimit:d,strokeStyle:c}}else this.h= -null;var l=b.td(),c=b.ud(),e=b.vd(),f=b.$(),h=b.hb,d=b.ta,g=b.wd(),k=b.xd();b=void 0!==l?l:"10px sans-serif";g=void 0!==g?g:"center";k=void 0!==k?k:"middle";this.l?(l=this.l,l.font=b,l.textAlign=g,l.textBaseline=k):this.l={font:b,textAlign:g,textBaseline:k};this.i=void 0!==d?d:"";this.j=void 0!==c?c:0;this.B=void 0!==e?e:0;this.o=void 0!==f?f:0;this.s=void 0!==h?h:1}else this.i=""};function rj(b,c,d,e){this.o=b;this.h=c;this.B=d;this.l=e;this.b={};this.i=rf(1,1);this.j=yb()} -function sj(b){for(var c in b.b){var d=b.b[c],e;for(e in d)d[e].sb()}}rj.prototype.g=function(b,c,d,e,f){var g=this.j;Ig(g,.5,.5,1/c,-1/c,-d,-b[0],-b[1]);var h=this.i;h.clearRect(0,0,1,1);var k;void 0!==this.l&&(k=Ib(),Jb(k,b),Kb(k,c*this.l,k));return tj(this,h,g,d,e,function(b){if(0<h.getImageData(0,0,1,1).data[3]){if(b=f(b))return b;h.clearRect(0,0,1,1)}},k)}; -rj.prototype.a=function(b,c){var d=void 0!==b?b.toString():"0",e=this.b[d];void 0===e&&(e={},this.b[d]=e);d=e[c];void 0===d&&(d=new uj[c](this.o,this.h,this.B),e[c]=d);return d};rj.prototype.c=function(){return Za(this.b)}; -rj.prototype.f=function(b,c,d,e,f,g){var h=Object.keys(this.b).map(Number);h.sort(Ga);if(!1!==g){var k=this.h;g=k[0];var l=k[1],m=k[2],k=k[3];g=[g,l,g,k,m,k,m,l];zc(g,0,8,2,d,g);b.save();b.beginPath();b.moveTo(g[0],g[1]);b.lineTo(g[2],g[3]);b.lineTo(g[4],g[5]);b.lineTo(g[6],g[7]);b.closePath();b.clip()}var p,q;g=0;for(l=h.length;g<l;++g)for(p=this.b[h[g].toString()],m=0,k=bj.length;m<k;++m)q=p[bj[m]],void 0!==q&&fj(q,b,c,d,e,f,q.b,void 0);b.restore()}; -function tj(b,c,d,e,f,g,h){var k=Object.keys(b.b).map(Number);k.sort(function(b,c){return c-b});var l,m,p,q,r;l=0;for(m=k.length;l<m;++l)for(q=b.b[k[l].toString()],p=bj.length-1;0<=p;--p)if(r=q[bj[p]],void 0!==r&&(r=fj(r,c,1,d,e,f,r.a,g,h)))return r}var uj={Image:ij,LineString:jj,Polygon:mj,Text:pj};function vj(b,c){return I(b)-I(c)}function wj(b,c){var d=.5*b/c;return d*d}function xj(b,c,d,e,f,g){var h=!1,k,l;if(k=d.S())l=k.ib(),2==l||3==l?k.dc(f,g):(0==l&&k.load(),k.Wb(f,g),h=!0);if(f=(0,d.b)(c))e=f.Rb(e),(0,yj[e.U()])(b,e,d,c);return h} -var yj={Point:function(b,c,d,e){var f=d.S();if(f){if(2!=f.ib())return;var g=b.a(d.a,"Image");g.Ja(f);g.$a(c,e)}if(f=d.ta)b=b.a(d.a,"Text"),b.Aa(f),qj(b,c.a,2,2,e)},LineString:function(b,c,d,e){var f=d.sa();if(f){var g=b.a(d.a,"LineString");g.Ia(null,f);g.sc(c,e)}if(f=d.ta)b=b.a(d.a,"Text"),b.Aa(f),qj(b,Vi(c),2,2,e)},Polygon:function(b,c,d,e){var f=d.Fa(),g=d.sa();if(f||g){var h=b.a(d.a,"Polygon");h.Ia(f,g);h.vc(c,e)}if(f=d.ta)b=b.a(d.a,"Text"),b.Aa(f),qj(b,Vc(c),2,2,e)},MultiPoint:function(b,c,d, -e){var f=d.S();if(f){if(2!=f.ib())return;var g=b.a(d.a,"Image");g.Ja(f);g.Za(c,e)}if(f=d.ta)b=b.a(d.a,"Text"),b.Aa(f),d=c.a,qj(b,d,d.length,c.b,e)},MultiLineString:function(b,c,d,e){var f=d.sa();if(f){var g=b.a(d.a,"LineString");g.Ia(null,f);g.tc(c,e)}if(f=d.ta)b=b.a(d.a,"Text"),b.Aa(f),c=Wi(c),qj(b,c,c.length,2,e)},MultiPolygon:function(b,c,d,e){var f=d.Fa(),g=d.sa();if(g||f){var h=b.a(d.a,"Polygon");h.Ia(f,g);h.uc(c,e)}if(f=d.ta)b=b.a(d.a,"Text"),b.Aa(f),c=Yi(c),qj(b,c,c.length,2,e)},GeometryCollection:function(b, -c,d,e){c=c.a;var f,g;f=0;for(g=c.length;f<g;++f)(0,yj[c[f].U()])(b,c[f],d,e)},Circle:function(b,c,d,e){var f=d.Fa(),g=d.sa();if(f||g){var h=b.a(d.a,"Polygon");h.Ia(f,g);h.rc(c,e)}if(f=d.ta)b=b.a(d.a,"Text"),b.Aa(f),qj(b,c.a.slice(0,c.b),2,2,e)}};var zj=!((W("Chrome")||W("CriOS"))&&!W("Opera")&&!W("OPR")&&!W("Edge"))||W("iPhone")&&!W("iPod")&&!W("iPad")||W("iPad")||W("iPod");function Aj(b,c,d,e){b=d-b;c=e-c;var f=Math.sqrt(b*b+c*c);return[Math.round(d+b/f),Math.round(e+c/f)]} -function Bj(b,c,d,e,f,g,h,k,l,m,p){var q=rf(Math.round(d*b),Math.round(d*c));if(0===l.length)return q.canvas;q.scale(d,d);var r=Ib();l.forEach(function(b){Rb(r,b.extent)});var u=rf(Math.round(d*Ub(r)/e),Math.round(d*Vb(r)/e)),w=d/e;l.forEach(function(b){u.drawImage(b.image,m,m,b.image.width-2*m,b.image.height-2*m,(b.extent[0]-r[0])*w,-(b.extent[3]-r[3])*w,Ub(b.extent)*w,Vb(b.extent)*w)});var y=ac(h);k.c.forEach(function(b){var c=b.source,f=b.target,h=c[1][0],k=c[1][1],l=c[2][0],m=c[2][1];b=(f[0][0]- +{font:g.font,textAlign:g.textAlign,textBaseline:g.textBaseline});fj(b,f);g=b.coordinates.length;c=ej(b,c,0,d,e,!1);c=[5,g,c,b.i,b.j,b.B,b.o,b.s,!!b.f,!!b.h];b.b.push(c);b.a.push(c);ij(b,f)}} +qj.prototype.sa=function(b){if(b){var c=b.c;c?(c=c.a,c=zd(c?c:vi),this.f?this.f.fillStyle=c:this.f={fillStyle:c}):this.f=null;var d=b.l;if(d){var c=d.b,e=d.c,f=d.a,g=d.g,h=d.f,d=d.h,e=void 0!==e?e:"round",f=f?f.slice():wi,g=void 0!==g?g:"round",h=void 0!==h?h:1,d=void 0!==d?d:10,c=wd(c?c:xi);if(this.h){var k=this.h;k.lineCap=e;k.lineDash=f;k.lineJoin=g;k.lineWidth=h;k.miterLimit=d;k.strokeStyle=c}else this.h={lineCap:e,lineDash:f,lineJoin:g,lineWidth:h,miterLimit:d,strokeStyle:c}}else this.h=null; +var l=b.a,c=b.b,e=b.f,f=b.g,h=b.h,d=b.i,g=b.j,k=b.B;b=void 0!==l?l:"10px sans-serif";g=void 0!==g?g:"center";k=void 0!==k?k:"middle";this.l?(l=this.l,l.font=b,l.textAlign=g,l.textBaseline=k):this.l={font:b,textAlign:g,textBaseline:k};this.i=void 0!==d?d:"";this.j=void 0!==c?c:0;this.B=void 0!==e?e:0;this.o=void 0!==f?f:0;this.s=void 0!==h?h:1}else this.i=""};function sj(b,c,d,e){this.o=b;this.h=c;this.B=d;this.l=e;this.b={};this.i=sf(1,1);this.j=yb()} +function tj(b){for(var c in b.b){var d=b.b[c],e;for(e in d)d[e].ib()}}sj.prototype.g=function(b,c,d,e,f){var g=this.j;Jg(g,.5,.5,1/c,-1/c,-d,-b[0],-b[1]);var h=this.i;h.clearRect(0,0,1,1);var k;void 0!==this.l&&(k=Ib(),Jb(k,b),Kb(k,c*this.l,k));return uj(this,h,g,d,e,function(b){if(0<h.getImageData(0,0,1,1).data[3]){if(b=f(b))return b;h.clearRect(0,0,1,1)}},k)}; +sj.prototype.a=function(b,c){var d=void 0!==b?b.toString():"0",e=this.b[d];void 0===e&&(e={},this.b[d]=e);d=e[c];void 0===d&&(d=new vj[c](this.o,this.h,this.B),e[c]=d);return d};sj.prototype.c=function(){return Za(this.b)}; +sj.prototype.f=function(b,c,d,e,f,g){var h=Object.keys(this.b).map(Number);h.sort(Ga);if(!1!==g){var k=this.h;g=k[0];var l=k[1],m=k[2],k=k[3];g=[g,l,g,k,m,k,m,l];zc(g,0,8,2,d,g);b.save();b.beginPath();b.moveTo(g[0],g[1]);b.lineTo(g[2],g[3]);b.lineTo(g[4],g[5]);b.lineTo(g[6],g[7]);b.closePath();b.clip()}var p,q;g=0;for(l=h.length;g<l;++g)for(p=this.b[h[g].toString()],m=0,k=cj.length;m<k;++m)q=p[cj[m]],void 0!==q&&gj(q,b,c,d,e,f,q.b,void 0);b.restore()}; +function uj(b,c,d,e,f,g,h){var k=Object.keys(b.b).map(Number);k.sort(function(b,c){return c-b});var l,m,p,q,r;l=0;for(m=k.length;l<m;++l)for(q=b.b[k[l].toString()],p=cj.length-1;0<=p;--p)if(r=q[cj[p]],void 0!==r&&(r=gj(r,c,1,d,e,f,r.a,g,h)))return r}var vj={Image:jj,LineString:kj,Polygon:nj,Text:qj};function wj(b,c){return I(b)-I(c)}function xj(b,c){var d=.5*b/c;return d*d}function yj(b,c,d,e,f,g){var h=!1,k,l;if(k=d.S())l=k.Ya(),2==l||3==l?k.Ub(f,g):(0==l&&k.load(),k.Mb(f,g),h=!0);if(f=(0,d.f)(c))e=f.Hb(e),(0,zj[e.U()])(b,e,d,c);return h} +var zj={Point:function(b,c,d,e){var f=d.S();if(f){if(2!=f.Ya())return;var g=b.a(d.a,"Image");g.Aa(f);g.Ra(c,e)}if(f=d.b)b=b.a(d.a,"Text"),b.sa(f),rj(b,c.a,2,2,e)},LineString:function(b,c,d,e){var f=d.c;if(f){var g=b.a(d.a,"LineString");g.za(null,f);g.ic(c,e)}if(f=d.b)b=b.a(d.a,"Text"),b.sa(f),rj(b,Wi(c),2,2,e)},Polygon:function(b,c,d,e){var f=d.g,g=d.c;if(f||g){var h=b.a(d.a,"Polygon");h.za(f,g);h.lc(c,e)}if(f=d.b)b=b.a(d.a,"Text"),b.sa(f),rj(b,Vc(c),2,2,e)},MultiPoint:function(b,c,d,e){var f=d.S(); +if(f){if(2!=f.Ya())return;var g=b.a(d.a,"Image");g.Aa(f);g.Qa(c,e)}if(f=d.b)b=b.a(d.a,"Text"),b.sa(f),d=c.a,rj(b,d,d.length,c.b,e)},MultiLineString:function(b,c,d,e){var f=d.c;if(f){var g=b.a(d.a,"LineString");g.za(null,f);g.jc(c,e)}if(f=d.b)b=b.a(d.a,"Text"),b.sa(f),c=Xi(c),rj(b,c,c.length,2,e)},MultiPolygon:function(b,c,d,e){var f=d.g,g=d.c;if(g||f){var h=b.a(d.a,"Polygon");h.za(f,g);h.kc(c,e)}if(f=d.b)b=b.a(d.a,"Text"),b.sa(f),c=Zi(c),rj(b,c,c.length,2,e)},GeometryCollection:function(b,c,d,e){c= +c.a;var f,g;f=0;for(g=c.length;f<g;++f)(0,zj[c[f].U()])(b,c[f],d,e)},Circle:function(b,c,d,e){var f=d.g,g=d.c;if(f||g){var h=b.a(d.a,"Polygon");h.za(f,g);h.hc(c,e)}if(f=d.b)b=b.a(d.a,"Text"),b.sa(f),rj(b,c.a.slice(0,c.b),2,2,e)}};var Aj=!((W("Chrome")||W("CriOS"))&&!W("Opera")&&!W("OPR")&&!W("Edge"))||W("iPhone")&&!W("iPod")&&!W("iPad")||W("iPad")||W("iPod");function Bj(b,c,d,e){b=d-b;c=e-c;var f=Math.sqrt(b*b+c*c);return[Math.round(d+b/f),Math.round(e+c/f)]} +function Cj(b,c,d,e,f,g,h,k,l,m,p){var q=sf(Math.round(d*b),Math.round(d*c));if(0===l.length)return q.canvas;q.scale(d,d);var r=Ib();l.forEach(function(b){Rb(r,b.extent)});var u=sf(Math.round(d*Ub(r)/e),Math.round(d*Vb(r)/e)),w=d/e;l.forEach(function(b){u.drawImage(b.image,m,m,b.image.width-2*m,b.image.height-2*m,(b.extent[0]-r[0])*w,-(b.extent[3]-r[3])*w,Ub(b.extent)*w,Vb(b.extent)*w)});var y=ac(h);k.c.forEach(function(b){var c=b.source,f=b.target,h=c[1][0],k=c[1][1],l=c[2][0],m=c[2][1];b=(f[0][0]- y[0])/g;var w=-(f[0][1]-y[1])/g,p=(f[1][0]-y[0])/g,A=-(f[1][1]-y[1])/g,H=(f[2][0]-y[0])/g,O=-(f[2][1]-y[1])/g,f=c[0][0],c=c[0][1],h=h-f,k=k-c,l=l-f,m=m-c;a:{h=[[h,k,0,0,p-b],[l,m,0,0,H-b],[0,0,h,k,A-w],[0,0,l,m,O-w]];k=h.length;for(l=0;l<k;l++){for(var m=l,Q=Math.abs(h[l][l]),L=l+1;L<k;L++){var K=Math.abs(h[L][l]);K>Q&&(Q=K,m=L)}if(0===Q){h=null;break a}Q=h[m];h[m]=h[l];h[l]=Q;for(m=l+1;m<k;m++)for(Q=-h[m][l]/h[l][l],L=l;L<k+1;L++)h[m][L]=l==L?0:h[m][L]+Q*h[l][L]}l=Array(k);for(m=k-1;0<=m;m--)for(l[m]= -h[m][k]/h[m][m],Q=m-1;0<=Q;Q--)h[Q][k]-=h[Q][m]*l[m];h=l}h&&(q.save(),q.beginPath(),zj?(l=(b+p+H)/3,m=(w+A+O)/3,k=Aj(l,m,b,w),p=Aj(l,m,p,A),H=Aj(l,m,H,O),q.moveTo(k[0],k[1]),q.lineTo(p[0],p[1]),q.lineTo(H[0],H[1])):(q.moveTo(b,w),q.lineTo(p,A),q.lineTo(H,O)),q.closePath(),q.clip(),q.transform(h[0],h[2],h[1],h[3],b,w),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.c.forEach(function(b){var c=b.target;b=(c[0][0]- -y[0])/g;var d=-(c[0][1]-y[1])/g,e=(c[1][0]-y[0])/g,f=-(c[1][1]-y[1])/g,h=(c[2][0]-y[0])/g,c=-(c[2][1]-y[1])/g;q.beginPath();q.moveTo(b,d);q.lineTo(e,f);q.lineTo(h,c);q.closePath();q.stroke()}),q.restore());return q.canvas};function Cj(b,c,d,e,f){this.f=b;this.g=c;var g={},h=wc(this.g,this.f);this.b=function(b){var c=b[0]+"/"+b[1];g[c]||(g[c]=h(b));return g[c]};this.h=e;this.B=f*f;this.c=[];this.i=!1;this.j=this.f.a&&!!e&&!!this.f.C()&&Ub(e)==Ub(this.f.C());this.a=this.f.C()?Ub(this.f.C()):null;this.l=this.g.C()?Ub(this.g.C()):null;b=ac(d);c=[d[2],d[3]];e=[d[2],d[1]];d=Wb(d);f=this.b(b);var k=this.b(c),l=this.b(e),m=this.b(d);Dj(this,b,c,e,d,f,k,l,m,10);if(this.i){var p=Infinity;this.c.forEach(function(b){p=Math.min(p, +h[m][k]/h[m][m],Q=m-1;0<=Q;Q--)h[Q][k]-=h[Q][m]*l[m];h=l}h&&(q.save(),q.beginPath(),Aj?(l=(b+p+H)/3,m=(w+A+O)/3,k=Bj(l,m,b,w),p=Bj(l,m,p,A),H=Bj(l,m,H,O),q.moveTo(k[0],k[1]),q.lineTo(p[0],p[1]),q.lineTo(H[0],H[1])):(q.moveTo(b,w),q.lineTo(p,A),q.lineTo(H,O)),q.closePath(),q.clip(),q.transform(h[0],h[2],h[1],h[3],b,w),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.c.forEach(function(b){var c=b.target;b=(c[0][0]- +y[0])/g;var d=-(c[0][1]-y[1])/g,e=(c[1][0]-y[0])/g,f=-(c[1][1]-y[1])/g,h=(c[2][0]-y[0])/g,c=-(c[2][1]-y[1])/g;q.beginPath();q.moveTo(b,d);q.lineTo(e,f);q.lineTo(h,c);q.closePath();q.stroke()}),q.restore());return q.canvas};function Dj(b,c,d,e,f){this.f=b;this.g=c;var g={},h=wc(this.g,this.f);this.b=function(b){var c=b[0]+"/"+b[1];g[c]||(g[c]=h(b));return g[c]};this.h=e;this.B=f*f;this.c=[];this.i=!1;this.j=this.f.a&&!!e&&!!this.f.C()&&Ub(e)==Ub(this.f.C());this.a=this.f.C()?Ub(this.f.C()):null;this.l=this.g.C()?Ub(this.g.C()):null;b=ac(d);c=[d[2],d[3]];e=[d[2],d[1]];d=Wb(d);f=this.b(b);var k=this.b(c),l=this.b(e),m=this.b(d);Ej(this,b,c,e,d,f,k,l,m,10);if(this.i){var p=Infinity;this.c.forEach(function(b){p=Math.min(p, b.source[0][0],b.source[1][0],b.source[2][0])});this.c.forEach(function(b){if(Math.max(b.source[0][0],b.source[1][0],b.source[2][0])-p>this.a/2){var c=[[b.source[0][0],b.source[0][1]],[b.source[1][0],b.source[1][1]],[b.source[2][0],b.source[2][1]]];c[0][0]-p>this.a/2&&(c[0][0]-=this.a);c[1][0]-p>this.a/2&&(c[1][0]-=this.a);c[2][0]-p>this.a/2&&(c[2][0]-=this.a);Math.max(c[0][0],c[1][0],c[2][0])-Math.min(c[0][0],c[1][0],c[2][0])<this.a/2&&(b.source=c)}},this)}g={}} -function Dj(b,c,d,e,f,g,h,k,l,m){var p=Hb([g,h,k,l]),q=b.a?Ub(p)/b.a:null,r=b.f.a&&.5<q&&1>q,u=!1;if(0<m){if(b.g.f&&b.l)var w=Hb([c,d,e,f]),u=u|.25<Ub(w)/b.l;!r&&b.f.f&&q&&(u|=.25<q)}if(u||!b.h||$b(p,b.h)){if(!(u||isFinite(g[0])&&isFinite(g[1])&&isFinite(h[0])&&isFinite(h[1])&&isFinite(k[0])&&isFinite(k[1])&&isFinite(l[0])&&isFinite(l[1])))if(0<m)u=!0;else return;if(0<m&&(u||(q=b.b([(c[0]+e[0])/2,(c[1]+e[1])/2]),p=r?(Da(g[0],b.a)+Da(k[0],b.a))/2-Da(q[0],b.a):(g[0]+k[0])/2-q[0],q=(g[1]+k[1])/2-q[1], -u=p*p+q*q>b.B),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=b.b(r),q=[(f[0]+c[0])/2,(f[1]+c[1])/2],u=b.b(q),Dj(b,c,d,r,q,g,h,p,u,m-1),Dj(b,q,r,e,f,u,p,k,l,m-1)):(r=[(c[0]+d[0])/2,(c[1]+d[1])/2],p=b.b(r),q=[(e[0]+f[0])/2,(e[1]+f[1])/2],u=b.b(q),Dj(b,c,r,q,f,g,p,u,l,m-1),Dj(b,r,d,e,q,p,h,k,u,m-1));return}if(r){if(!b.j)return;b.i=!0}b.c.push({source:[g,k,l],target:[c,e,f]});b.c.push({source:[g,h,k],target:[c,d,e]})}} -function Ej(b){var c=Ib();b.c.forEach(function(b){b=b.source;Jb(c,b[0]);Jb(c,b[1]);Jb(c,b[2])});return c};function Fj(b){U.call(this);this.g=void 0;this.a="geometry";this.h=null;this.c=void 0;this.b=null;R(this,qb(this.a),this.pb,this);void 0!==b&&(b instanceof yc||!b?Gj(this,b):this.l(b))}M(Fj,U);n=Fj.prototype;n.clone=function(){var b=new Fj(this.Ca());Hj(b,this.a);var c=this.M();c&&Gj(b,c.clone());if(c=this.h)b.h=c,b.c=c?Ij(c):void 0,b.w();return b};n.M=function(){return this.get(this.a)};n.Ma=function(){return this.g};n.Cd=function(){this.w()}; -n.pb=function(){this.b&&(P(this.b),this.b=null);var b=this.M();b&&(this.b=R(b,"change",this.Cd,this));this.w()};function Gj(b,c){b.set(b.a,c)}function Hj(b,c){fb(b,qb(b.a),b.pb,b);b.a=c;R(b,qb(b.a),b.pb,b);b.pb()}function Ij(b){if(!ga(b)){var c;c=Array.isArray(b)?b:[b];b=function(){return c}}return b};function Jj(b,c,d){return function(e,f,g){var h=new XMLHttpRequest;h.open("GET",ga(b)?b(e,f,g):b,!0);"arraybuffer"==c.U()&&(h.responseType="arraybuffer");h.onload=function(){if(200<=h.status&&300>h.status){var b=c.U(),e;"json"==b||"text"==b?e=h.responseText:"xml"==b?(e=h.responseXML,e||(b=h.responseText,e=(new DOMParser).parseFromString(b,"application/xml"))):"arraybuffer"==b&&(e=h.response);e&&d.call(this,c.b(e,{featureProjection:g}),c.f(Kj(e)))}}.bind(this);h.send()}} -function Lj(b,c){return Jj(b,c,function(b){this.Fb(b)})};function Mj(){return[[-Infinity,-Infinity,Infinity,Infinity]]};var Nj; -(function(){var b={wc:{}};(function(){function c(b,d){if(!(this instanceof c))return new c(b,d);this.Db=Math.max(4,b||9);this.ic=Math.max(2,Math.ceil(.4*this.Db));d&&this.gd(d);this.clear()}function d(b,c){b.bbox=e(b,0,b.children.length,c)}function e(b,c,d,e){for(var g=[Infinity,Infinity,-Infinity,-Infinity],h;c<d;c++)h=b.children[c],f(g,b.aa?e(h):h.bbox);return g}function f(b,c){b[0]=Math.min(b[0],c[0]);b[1]=Math.min(b[1],c[1]);b[2]=Math.max(b[2],c[2]);b[3]=Math.max(b[3],c[3])}function g(b,c){return b.bbox[0]- +function Ej(b,c,d,e,f,g,h,k,l,m){var p=Hb([g,h,k,l]),q=b.a?Ub(p)/b.a:null,r=b.f.a&&.5<q&&1>q,u=!1;if(0<m){if(b.g.f&&b.l)var w=Hb([c,d,e,f]),u=u|.25<Ub(w)/b.l;!r&&b.f.f&&q&&(u|=.25<q)}if(u||!b.h||$b(p,b.h)){if(!(u||isFinite(g[0])&&isFinite(g[1])&&isFinite(h[0])&&isFinite(h[1])&&isFinite(k[0])&&isFinite(k[1])&&isFinite(l[0])&&isFinite(l[1])))if(0<m)u=!0;else return;if(0<m&&(u||(q=b.b([(c[0]+e[0])/2,(c[1]+e[1])/2]),p=r?(Da(g[0],b.a)+Da(k[0],b.a))/2-Da(q[0],b.a):(g[0]+k[0])/2-q[0],q=(g[1]+k[1])/2-q[1], +u=p*p+q*q>b.B),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=b.b(r),q=[(f[0]+c[0])/2,(f[1]+c[1])/2],u=b.b(q),Ej(b,c,d,r,q,g,h,p,u,m-1),Ej(b,q,r,e,f,u,p,k,l,m-1)):(r=[(c[0]+d[0])/2,(c[1]+d[1])/2],p=b.b(r),q=[(e[0]+f[0])/2,(e[1]+f[1])/2],u=b.b(q),Ej(b,c,r,q,f,g,p,u,l,m-1),Ej(b,r,d,e,q,p,h,k,u,m-1));return}if(r){if(!b.j)return;b.i=!0}b.c.push({source:[g,k,l],target:[c,e,f]});b.c.push({source:[g,h,k],target:[c,d,e]})}} +function Fj(b){var c=Ib();b.c.forEach(function(b){b=b.source;Jb(c,b[0]);Jb(c,b[1]);Jb(c,b[2])});return c};function Gj(b){U.call(this);this.g=void 0;this.a="geometry";this.h=null;this.c=void 0;this.b=null;R(this,qb(this.a),this.fb,this);void 0!==b&&(b instanceof yc||!b?Hj(this,b):this.l(b))}M(Gj,U);n=Gj.prototype;n.clone=function(){var b=new Gj(this.ua());Ij(b,this.a);var c=this.M();c&&Hj(b,c.clone());if(c=this.h)b.h=c,b.c=c?Jj(c):void 0,b.w();return b};n.M=function(){return this.get(this.a)};n.Da=function(){return this.g};n.nd=function(){this.w()}; +n.fb=function(){this.b&&(P(this.b),this.b=null);var b=this.M();b&&(this.b=R(b,"change",this.nd,this));this.w()};function Hj(b,c){b.set(b.a,c)}function Ij(b,c){fb(b,qb(b.a),b.fb,b);b.a=c;R(b,qb(b.a),b.fb,b);b.fb()}function Jj(b){if(!ga(b)){var c;c=Array.isArray(b)?b:[b];b=function(){return c}}return b};function Kj(b,c,d){return function(e,f,g){var h=new XMLHttpRequest;h.open("GET",ga(b)?b(e,f,g):b,!0);"arraybuffer"==c.U()&&(h.responseType="arraybuffer");h.onload=function(){if(200<=h.status&&300>h.status){var b=c.U(),e;"json"==b||"text"==b?e=h.responseText:"xml"==b?(e=h.responseXML,e||(b=h.responseText,e=(new DOMParser).parseFromString(b,"application/xml"))):"arraybuffer"==b&&(e=h.response);e&&d.call(this,c.b(e,{featureProjection:g}),c.f(Lj(e)))}}.bind(this);h.send()}} +function Mj(b,c){return Kj(b,c,function(b){this.vb(b)})};function Nj(){return[[-Infinity,-Infinity,Infinity,Infinity]]};var Oj; +(function(){var b={mc:{}};(function(){function c(b,d){if(!(this instanceof c))return new c(b,d);this.tb=Math.max(4,b||9);this.Zb=Math.max(2,Math.ceil(.4*this.tb));d&&this.Xc(d);this.clear()}function d(b,c){b.bbox=e(b,0,b.children.length,c)}function e(b,c,d,e){for(var g=[Infinity,Infinity,-Infinity,-Infinity],h;c<d;c++)h=b.children[c],f(g,b.$?e(h):h.bbox);return g}function f(b,c){b[0]=Math.min(b[0],c[0]);b[1]=Math.min(b[1],c[1]);b[2]=Math.max(b[2],c[2]);b[3]=Math.max(b[3],c[3])}function g(b,c){return b.bbox[0]- c.bbox[0]}function h(b,c){return b.bbox[1]-c.bbox[1]}function k(b){return(b[2]-b[0])*(b[3]-b[1])}function l(b){return b[2]-b[0]+(b[3]-b[1])}function m(b,c){return b[0]<=c[0]&&b[1]<=c[1]&&c[2]<=b[2]&&c[3]<=b[3]}function p(b,c){return c[0]<=b[2]&&c[1]<=b[3]&&c[2]>=b[0]&&c[3]>=b[1]}function q(b,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(b,c,d,h,f),g.push(c,h,h,d))}function r(b,c,d,e,f){for(var g,h,k,l,m;d>c;){600<d-c&&(g=d-c+1,h=e-c+1,k=Math.log(g), -l=.5*Math.exp(2*k/3),m=.5*Math.sqrt(k*l*(g-l)/g)*(0>h-g/2?-1:1),k=Math.max(c,Math.floor(e-h*l/g+m)),h=Math.min(d,Math.floor(e+(g-h)*l/g+m)),r(b,k,h,e,f));g=b[e];h=c;l=d;u(b,c,e);for(0<f(b[d],g)&&u(b,c,d);h<l;){u(b,h,l);h++;for(l--;0>f(b[h],g);)h++;for(;0<f(b[l],g);)l--}0===f(b[c],g)?u(b,c,l):(l++,u(b,l,d));l<=e&&(c=l+1);e<=l&&(d=l-1)}}function u(b,c,d){var e=b[c];b[c]=b[d];b[d]=e}c.prototype={all:function(){return this.ec(this.data,[])},search:function(b){var c=this.data,d=[],e=this.fa;if(!p(b,c.bbox))return d; -for(var f=[],g,h,k,l;c;){g=0;for(h=c.children.length;g<h;g++)k=c.children[g],l=c.aa?e(k):k.bbox,p(b,l)&&(c.aa?d.push(k):m(b,l)?this.ec(k,d):f.push(k));c=f.pop()}return d},load:function(b){if(!b||!b.length)return this;if(b.length<this.ic){for(var c=0,d=b.length;c<d;c++)this.Ga(b[c]);return this}b=this.gc(b.slice(),0,b.length-1,0);this.data.children.length?this.data.height===b.height?this.jc(this.data,b):(this.data.height<b.height&&(c=this.data,this.data=b,b=c),this.hc(b,this.data.height-b.height-1, -!0)):this.data=b;return this},Ga:function(b){b&&this.hc(b,this.data.height-1);return this},clear:function(){this.data={children:[],height:1,bbox:[Infinity,Infinity,-Infinity,-Infinity],aa:!0};return this},remove:function(b){if(!b)return this;for(var c=this.data,d=this.fa(b),e=[],f=[],g,h,k,l;c||e.length;){c||(c=e.pop(),h=e[e.length-1],g=f.pop(),l=!0);if(c.aa&&(k=c.children.indexOf(b),-1!==k)){c.children.splice(k,1);e.push(c);this.fd(e);break}l||c.aa||!m(c.bbox,d)?h?(g++,c=h.children[g],l=!1):c=null: -(e.push(c),f.push(g),g=0,h=c,c=c.children[0])}return this},fa:function(b){return b},Jb:function(b,c){return b[0]-c[0]},Kb:function(b,c){return b[1]-c[1]},toJSON:function(){return this.data},ec:function(b,c){for(var d=[];b;)b.aa?c.push.apply(c,b.children):d.push.apply(d,b.children),b=d.pop();return c},gc:function(b,c,e,f){var g=e-c+1,h=this.Db,k;if(g<=h)return k={children:b.slice(c,e+1),height:1,bbox:null,aa:!0},d(k,this.fa),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,aa:!1};var g=Math.ceil(g/h),h=g*Math.ceil(Math.sqrt(h)),l,m,p;for(q(b,c,e,h,this.Jb);c<=e;c+=h)for(m=Math.min(c+h-1,e),q(b,c,m,g,this.Kb),l=c;l<=m;l+=g)p=Math.min(l+g-1,m),k.children.push(this.gc(b,l,p,f-1));d(k,this.fa);return k},ed:function(b,c,d,e){for(var f,g,h,l,m,p,q,r;;){e.push(c);if(c.aa||e.length-1===d)break;q=r=Infinity;f=0;for(g=c.children.length;f<g;f++)h=c.children[f],m=k(h.bbox),p=h.bbox,p=(Math.max(p[2],b[2])-Math.min(p[0],b[0]))*(Math.max(p[3],b[3])- -Math.min(p[1],b[1]))-m,p<r?(r=p,q=m<q?m:q,l=h):p===r&&m<q&&(q=m,l=h);c=l}return c},hc:function(b,c,d){var e=this.fa;d=d?b.bbox:e(b);var e=[],g=this.ed(d,this.data,c,e);g.children.push(b);for(f(g.bbox,d);0<=c;)if(e[c].children.length>this.Db)this.hd(e,c),c--;else break;this.bd(d,e,c)},hd:function(b,c){var e=b[c],f=e.children.length,g=this.ic;this.cd(e,g,f);f=this.dd(e,g,f);f={children:e.children.splice(f,e.children.length-f),height:e.height,bbox:null,aa:!1};e.aa&&(f.aa=!0);d(e,this.fa);d(f,this.fa); -c?b[c-1].children.push(f):this.jc(e,f)},jc:function(b,c){this.data={children:[b,c],height:b.height+1,bbox:null,aa:!1};d(this.data,this.fa)},dd:function(b,c,d){var f,g,h,l,m,p,q;m=p=Infinity;for(f=c;f<=d-c;f++)g=e(b,0,f,this.fa),h=e(b,f,d,this.fa),l=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),l<m?(m=l,q=f,p=g<p?g:p):l===m&&g<p&&(p=g,q=f);return q},cd:function(b,c,d){var e=b.aa?this.Jb:g,f=b.aa?this.Kb:h,k=this.fc(b,c,d,e);c=this.fc(b, -c,d,f);k<c&&b.children.sort(e)},fc:function(b,c,d,g){b.children.sort(g);g=this.fa;var h=e(b,0,c,g),k=e(b,d-c,d,g),m=l(h)+l(k),p,q;for(p=c;p<d-c;p++)q=b.children[p],f(h,b.aa?g(q):q.bbox),m+=l(h);for(p=d-c-1;p>=c;p--)q=b.children[p],f(k,b.aa?g(q):q.bbox),m+=l(k);return m},bd:function(b,c,d){for(;0<=d;d--)f(c[d].bbox,b)},fd:function(b){for(var c=b.length-1,e;0<=c;c--)0===b[c].children.length?0<c?(e=b[c-1].children,e.splice(e.indexOf(b[c]),1)):this.clear():d(b[c],this.fa)},gd:function(b){var c=["return a", -" - b",";"];this.Jb=new Function("a","b",c.join(b[0]));this.Kb=new Function("a","b",c.join(b[1]));this.fa=new Function("a","return [a"+b.join(", a")+"];")}};"undefined"!==typeof b?b.wc=c:"undefined"!==typeof self?self.a=c:window.a=c})();Nj=b.wc})();function Oj(b){this.a=Nj(b);this.b={}}n=Oj.prototype;n.Ga=function(b,c){var d=[b[0],b[1],b[2],b[3],c];this.a.Ga(d);this.b[I(c)]=d};n.load=function(b,c){for(var d=Array(c.length),e=0,f=c.length;e<f;e++){var g=b[e],h=c[e],g=[g[0],g[1],g[2],g[3],h];d[e]=g;this.b[I(h)]=g}this.a.load(d)};n.remove=function(b){b=I(b);var c=this.b[b];delete this.b[b];return null!==this.a.remove(c)};function Pj(b){return b.a.all().map(function(b){return b[4]})} -function Qj(b,c){return b.a.search(c).map(function(b){return b[4]})}function Rj(b,c,d,e){return Sj(Qj(b,c),d,e)}function Sj(b,c,d){for(var e,f=0,g=b.length;f<g&&!(e=c.call(d,b[f]));f++);return e}n.clear=function(){this.a.clear();this.b={}};n.C=function(){return this.a.data.bbox};function Tj(b){b=b||{};De.call(this,{attributions:b.attributions,logo:b.logo,projection:void 0,state:"ready",wrapX:void 0!==b.wrapX?b.wrapX:!0});this.o=N;this.D=b.format;this.u=b.url;void 0!==b.loader?this.o=b.loader:void 0!==this.u&&(this.o=Lj(this.u,this.D));this.G=void 0!==b.strategy?b.strategy:Mj;var c=void 0!==b.useSpatialIndex?b.useSpatialIndex:!0;this.P=c?new Oj:null;this.s=new Oj;this.ea={};this.b={};this.g={};this.h={};this.a=null;var d,e;b.features instanceof ld?(d=b.features,e=d.a):Array.isArray(b.features)&& -(e=b.features);c||void 0!==d||(d=new ld(e));void 0!==e&&Uj(this,e);void 0!==d&&Vj(this,d)}M(Tj,De);n=Tj.prototype;n.Eb=function(b){var c=I(b).toString();if(Wj(this,c,b)){Xj(this,c,b);var d=b.M();d?(c=d.C(),this.P&&this.P.Ga(c,b)):this.ea[c]=b;T(this,new Yj("addfeature",b))}this.w()};function Xj(b,c,d){b.h[c]=[R(d,"change",b.yc,b),R(d,"propertychange",b.yc,b)]}function Wj(b,c,d){var e=!0,f=d.Ma();void 0!==f?f.toString()in b.b?e=!1:b.b[f.toString()]=d:b.g[c]=d;return e}n.Fb=function(b){Uj(this,b);this.w()}; -function Uj(b,c){var d,e,f,g,h=[],k=[],l=[];e=0;for(f=c.length;e<f;e++)g=c[e],d=I(g).toString(),Wj(b,d,g)&&k.push(g);e=0;for(f=k.length;e<f;e++){g=k[e];d=I(g).toString();Xj(b,d,g);var m=g.M();m?(d=m.C(),h.push(d),l.push(g)):b.ea[d]=g}b.P&&b.P.load(h,l);e=0;for(f=k.length;e<f;e++)T(b,new Yj("addfeature",k[e]))} -function Vj(b,c){var d=!1;R(b,"addfeature",function(b){d||(d=!0,c.push(b.feature),d=!1)});R(b,"removefeature",function(b){d||(d=!0,c.remove(b.feature),d=!1)});R(c,"add",function(b){d||(b=b.element,d=!0,this.Eb(b),d=!1)},b);R(c,"remove",function(b){if(!d){b=b.element;d=!0;var c=I(b).toString();c in this.ea?delete this.ea[c]:this.P&&this.P.remove(b);this.ac(b);this.w();d=!1}},b);b.a=c} -n.clear=function(b){if(b){for(var c in this.h)this.h[c].forEach(P);this.a||(this.h={},this.b={},this.g={})}else if(this.P){b=this.ac;Sj(Pj(this.P),b,this);for(var d in this.ea)this.ac(this.ea[d])}this.a&&this.a.clear();this.P&&this.P.clear();this.s.clear();this.ea={};T(this,new Yj("clear"));this.w()};n.rd=function(b,c){if(this.P)return Sj(Pj(this.P),b,c);if(this.a)return nd(this.a,b,c)};function Zj(b,c,d,e){b.P?Rj(b.P,c,d,e):b.a&&nd(b.a,d,e)} -n.te=function(){var b;this.a?b=this.a.a:this.P&&(b=Pj(this.P),Za(this.ea)||Ja(b,Xa(this.ea)));return b};n.C=function(){return this.P.C()}; -n.yc=function(b){b=b.target;var c=I(b).toString(),d=b.M();if(d)if(d=d.C(),c in this.ea)delete this.ea[c],this.P&&this.P.Ga(d,b);else{if(this.P){var e=this.P,f=I(b);Qb(e.b[f].slice(0,4),d)||(e.remove(b),e.Ga(d,b))}}else c in this.ea||(this.P&&this.P.remove(b),this.ea[c]=b);d=b.Ma();void 0!==d?(d=d.toString(),c in this.g?(delete this.g[c],this.b[d]=b):this.b[d]!==b&&(ak(this,b),this.b[d]=b)):c in this.g||(ak(this,b),this.g[c]=b);this.w();T(this,new Yj("changefeature",b))}; -function bk(b,c,d,e){var f=b.s;c=b.G(c,d);var g,h;g=0;for(h=c.length;g<h;++g){var k=c[g];Rj(f,k,function(b){return Mb(b.extent,k)})||(b.o.call(b,k,d,e),f.Ga(k,{extent:k.slice()}))}}n.ac=function(b){var c=I(b).toString();this.h[c].forEach(P);delete this.h[c];var d=b.Ma();void 0!==d?delete this.b[d.toString()]:delete this.g[c];T(this,new Yj("removefeature",b))};function ak(b,c){for(var d in b.b)if(b.b[d]===c){delete b.b[d];break}}function Yj(b,c){S.call(this,b);this.feature=c}M(Yj,S);function ck(b){Zi.call(this,b);this.c=rf();this.b=null;this.j=Ib();this.h=yb()}M(ck,Zi); -ck.prototype.g=function(b,c,d){var e=b.pixelRatio,f=b.viewState,g=f.center,h=f.projection,k=f.rotation,l=b.size,m=Math.round(e*l[0]/2),p=Math.round(e*l[1]/2),q=e/f.resolution,r=this.a,u=r.W(),w=u.mb(h),f=aj(this,b,0);$i(this,"precompose",d,b,f);var l=d,r=mb(r,"render"),y,z,D,t;if(k||r){l=this.c;y=l.canvas;D=u.ob(e)/e;var v=d.canvas.width*D;z=d.canvas.height*D;t=Math.round(Math.sqrt(v*v+z*z));y.width!=t?y.width=y.height=t:l.clearRect(0,0,t,t);y=(t-v)/2/D;z=(t-z)/2/D;q*=D;m=Math.round(D*(m+y));p=Math.round(D* -(p+z))}v=l.globalAlpha;l.globalAlpha=c.opacity;var B=u.la(h),F=this.b,C;c=u.Pb(h)&&1==c.opacity;c||(F.reverse(),C=[]);for(var G=0,J=F.length;G<J;++G){var A=F[G],H=A.L,O=Je(B,H,this.j),Q=H[0],L=Wb(Je(B,Re(B,g,Q))),H=Math.round(Ub(O)*q),K=Math.round(Vb(O)*q),fa=Math.round((O[0]-L[0])*q/H)*H+m+Math.round((L[0]-g[0])*q),O=Math.round((L[1]-O[3])*q/K)*K+p+Math.round((g[1]-L[1])*q);if(!c){L=[fa,O,fa+H,O+K];l.save();for(var ra=0,Zl=C.length;ra<Zl;++ra){var Ya=C[ra];$b(L,Ya)&&(l.beginPath(),l.moveTo(L[0], -L[1]),l.lineTo(L[0],L[3]),l.lineTo(L[2],L[3]),l.lineTo(L[2],L[1]),l.moveTo(Ya[0],Ya[1]),l.lineTo(Ya[2],Ya[1]),l.lineTo(Ya[2],Ya[3]),l.lineTo(Ya[0],Ya[3]),l.closePath(),l.clip())}C.push(L)}Q=Xe(u,Q,e,h);l.drawImage(A.S(),w,w,Q[0],Q[1],fa,O,H,K);c||l.restore()}r&&(e=y-m/D+m,h=z-p/D+p,g=Ig(this.h,t/2-e,t/2-h,q,-q,-k,-g[0]+e/q,-g[1]-h/q),$i(this,"render",l,b,g));(k||r)&&d.drawImage(l.canvas,-Math.round(y),-Math.round(z),t/D,t/D);l.globalAlpha=v;$i(this,"postcompose",d,b,f)}; -ck.prototype.i=function(b,c){function d(b){b=b.N();return 2==b||4==b||3==b&&!u}var e=b.pixelRatio,f=b.viewState,g=f.projection,h=this.a,k=h.W(),l=k.la(g),m=Qe(l,f.resolution),p=l.I(m),q=f.center;p==f.resolution?(q=Rg(q,p,b.size),f=Yb(q,p,f.rotation,b.size)):f=b.extent;void 0!==c.extent&&(f=Zb(f,c.extent));if(f[2]<f[0]||f[3]<f[1])return!1;p=Me(l,f,p);q={};q[m]={};var r=this.l(k,g,q),u=ti(h),w=Ib(),y=new fd(0,0,0,0),z,D,t,v;for(t=p.a;t<=p.f;++t)for(v=p.b;v<=p.c;++v)z=Tg(k,m,t,v,e,g),!d(z)&&z.a&&(z= -z.a),d(z)?q[m][z.L.toString()]=z:(D=Ie(l,z.L,r,y,w),D||(z=Le(l,z.L,y,w))&&r(m+1,z));r=Object.keys(q).map(Number);r.sort(Ga);var w=[],B,y=0;for(t=r.length;y<t;++y)for(B in z=r[y],v=q[z],v)z=v[B],2==z.N()&&w.push(z);this.b=w;Qg(b.usedTiles,k,m,p);Sg(b,k,l,e,g,f,m,h.get("preload"));Ng(b,k);Pg(b,k);return!0};function dk(b){Zi.call(this,b);this.b=!1;this.v=-1;this.u=NaN;this.j=Ib();this.c=this.o=null;this.h=rf()}M(dk,Zi); -dk.prototype.g=function(b,c,d){var e=b.extent,f=b.pixelRatio,g=c.fb?b.skippedFeatureUids:{},h=b.viewState,k=h.projection,h=h.rotation,l=k.C(),m=this.a.W(),p=aj(this,b,0);$i(this,"precompose",d,b,p);var q=this.c;if(q&&!q.c()){var r;mb(this.a,"render")?(this.h.canvas.width=d.canvas.width,this.h.canvas.height=d.canvas.height,r=this.h):r=d;var u=r.globalAlpha;r.globalAlpha=c.opacity;c=b.size[0]*f;var w=b.size[1]*f;xi(r,-h,c/2,w/2);q.f(r,f,p,h,g);if(m.j&&k.a&&!Mb(l,e)){for(var k=e[0],m=Ub(l),y=0;k<l[0];)--y, -p=m*y,p=aj(this,b,p),q.f(r,f,p,h,g),k+=m;y=0;for(k=e[2];k>l[2];)++y,p=m*y,p=aj(this,b,p),q.f(r,f,p,h,g),k-=m;p=aj(this,b,0)}xi(r,h,c/2,w/2);r!=d&&($i(this,"render",r,b,p),d.drawImage(r.canvas,0,0));r.globalAlpha=u}$i(this,"postcompose",d,b,p)};dk.prototype.gb=function(b,c,d,e){if(this.c){var f=this.a,g={};return this.c.g(b,c.viewState.resolution,c.viewState.rotation,{},function(b){var c=I(b).toString();if(!(c in g))return g[c]=!0,d.call(e,b,f)})}};dk.prototype.A=function(){Mg(this)}; -dk.prototype.i=function(b){function c(b){var c,e=b.c;e?c=e.call(b,m):(e=d.g)&&(c=e(b,m));if(c){if(c){e=!1;if(Array.isArray(c))for(var f=0,g=c.length;f<g;++f)e=xj(r,b,c[f],wj(m,p),this.A,this)||e;else e=xj(r,b,c,wj(m,p),this.A,this)||e;b=e}else b=!1;this.b=this.b||b}}var d=this.a,e=d.W();Og(b.attributions,e.i);Pg(b,e);var f=b.viewHints[0],g=b.viewHints[1],h=d.i,k=d.j;if(!this.b&&!h&&f||!k&&g)return!0;var l=b.extent,k=b.viewState,f=k.projection,m=k.resolution,p=b.pixelRatio,g=d.f,q=d.a,h=d.get("renderOrder"); -void 0===h&&(h=vj);l=Kb(l,q*m);q=k.projection.C();e.j&&k.projection.a&&!Mb(q,b.extent)&&(b=Math.max(Ub(l)/2,Ub(q)),l[0]=q[0]-b,l[2]=q[2]+b);if(!this.b&&this.u==m&&this.v==g&&this.o==h&&Mb(this.j,l))return!0;this.c=null;this.b=!1;var r=new rj(.5*m/p,l,m,d.a);bk(e,l,m,f);if(h){var u=[];Zj(e,l,function(b){u.push(b)},this);u.sort(h);u.forEach(c,this)}else Zj(e,l,c,this);sj(r);this.u=m;this.v=g;this.o=h;this.j=l;this.c=r;return!0};function ek(b,c){var d=/\{z\}/g,e=/\{x\}/g,f=/\{y\}/g,g=/\{-y\}/g;return function(h){if(h)return b.replace(d,h[0].toString()).replace(e,h[1].toString()).replace(f,function(){return(-h[2]-1).toString()}).replace(g,function(){var b=c.a?c.a[h[0]]:null;return(b.c-b.b+1+h[2]).toString()})}}function fk(b,c){for(var d=b.length,e=Array(d),f=0;f<d;++f)e[f]=ek(b[f],c);return gk(e)}function gk(b){return 1===b.length?b[0]:function(c,d,e){if(c)return b[Da((c[1]<<c[0])+c[2],b.length)](c,d,e)}}function hk(){};function ik(b){Ve.call(this,{attributions:b.attributions,cacheSize:b.cacheSize,extent:b.extent,logo:b.logo,opaque:b.opaque,projection:b.projection,state:b.state,tileGrid:b.tileGrid,tilePixelRatio:b.tilePixelRatio,wrapX:b.wrapX});this.tileLoadFunction=b.tileLoadFunction;this.tileUrlFunction=this.g?this.g.bind(this):hk;this.urls=null;if(b.urls){var c=b.urls;this.urls=c;jk(this,this.g?this.g.bind(this):fk(c,this.tileGrid))}else b.url&&this.s(b.url);b.tileUrlFunction&&jk(this,b.tileUrlFunction)} -M(ik,Ve);ik.prototype.D=function(b){b=b.target;switch(b.N()){case 1:T(this,new Ze("tileloadstart",b));break;case 2:T(this,new Ze("tileloadend",b));break;case 3:T(this,new Ze("tileloaderror",b))}};function jk(b,c){b.a.clear();b.tileUrlFunction=c;b.w()} -ik.prototype.s=function(b){var c=[],d=/\{(\d)-(\d)\}/.exec(b)||/\{([a-z])-([a-z])\}/.exec(b);if(d){var e=d[2].charCodeAt(0),f;for(f=d[1].charCodeAt(0);f<=e;++f)c.push(b.replace(d[0],String.fromCharCode(f)))}else c.push(b);b=this.urls=c;jk(this,this.g?this.g.bind(this):fk(b,this.tileGrid))};ik.prototype.$c=function(b,c,d){b=this.nb(b,c,d);we(this.a,b)&&this.a.get(b)};function kk(b,c){Zg.call(this,0,c);this.c=rf();rf();this.a=this.c.canvas;this.a.style.width="100%";this.a.style.height="100%";this.a.className="ol-unselectable";fe(b,this.a,0);this.b=!0;this.g=yb()}M(kk,Zg);kk.prototype.Lb=function(b){return b instanceof X?new ck(b):b instanceof Y?new dk(b):null}; -function lk(b,c,d){var e=b.h,f=b.c;if(mb(e,c)){var g=d.extent,h=d.pixelRatio,k=d.viewState.rotation,l=d.pixelRatio,m=d.viewState,p=m.resolution;b=Ig(b.g,b.a.width/2,b.a.height/2,l/p,-l/p,-m.rotation,-m.center[0],-m.center[1]);g=new Oi(f,h,g,b,k);T(e,new Fg(c,e,g,d,f,null))}}kk.prototype.U=function(){return"canvas"}; -kk.prototype.ub=function(b){if(b){var c=this.c,d=b.pixelRatio,e=Math.round(b.size[0]*d),d=Math.round(b.size[1]*d);this.a.width!=e||this.a.height!=d?(this.a.width=e,this.a.height=d):c.clearRect(0,0,e,d);var f=b.viewState.rotation;$g(b);lk(this,"precompose",b);var g=b.layerStatesArray;Ma(g);xi(c,f,e/2,d/2);var h=b.viewState.resolution,k,l,m,p;k=0;for(l=g.length;k<l;++k)p=g[k],m=p.layer,m=bh(this,m),Hg(p,h)&&"ready"==p.cc&&m.i(b,p)&&m.g(b,p,c);xi(c,-f,e/2,d/2);lk(this,"postcompose",b);this.b||(oe(this.a, -!0),this.b=!0);ch(this,b);b.postRenderFunctions.push(ah)}else this.b&&(oe(this.a,!1),this.b=!1)};function mk(b,c){Lg.call(this,b);this.target=c}M(mk,Lg);mk.prototype.Ib=N;mk.prototype.Kc=N;function nk(b){var c=document.createElement("DIV");c.style.position="absolute";mk.call(this,b,c);this.c=!0;this.h=1;this.g=0;this.b={}}M(nk,mk);nk.prototype.Ib=function(){ee(this.target);this.g=0}; -nk.prototype.Lc=function(b,c){if(!c.visible)return this.c&&(oe(this.target,!1),this.c=!1),!0;var d=b.pixelRatio,e=b.viewState,f=e.projection,g=this.a,h=g.W(),k=h.la(f),l=h.mb(f),m=Qe(k,e.resolution),p=k.I(m),q=e.center,r;p==e.resolution?(q=Rg(q,p,b.size),r=Yb(q,p,e.rotation,b.size)):r=b.extent;void 0!==c.extent&&(r=Zb(r,c.extent));var p=Me(k,r,p),u={};u[m]={};var w=this.l(h,f,u),y=ti(g),z=Ib(),D=new fd(0,0,0,0),t,v,B,F;for(B=p.a;B<=p.f;++B)for(F=p.b;F<=p.c;++F)t=Tg(h,m,B,F,d,f),v=t.N(),v=2==v||4== -v||3==v&&!y,!v&&t.a&&(t=t.a),v=t.N(),2==v?u[m][t.L.toString()]=t:4==v||3==v&&!y||(v=Ie(k,t.L,w,D,z),v||(t=Le(k,t.L,D,z))&&w(m+1,t));var C;if(this.g!=h.f){for(C in this.b)y=this.b[+C],ge(y.target);this.b={};this.g=h.f}z=Object.keys(u).map(Number);z.sort(Ga);var w={},G;B=0;for(F=z.length;B<F;++B){C=z[B];C in this.b?y=this.b[C]:(y=Re(k,q,C),y=new ok(k,y),w[C]=!0,this.b[C]=y);C=u[C];for(G in C){t=y;v=C[G];var J=l,A=v.L,H=A[0],O=A[1],Q=A[2],A=A.toString();if(!(A in t.b)){var H=sb(Pe(t.g,H),t.i),L=v.S(t), +l=.5*Math.exp(2*k/3),m=.5*Math.sqrt(k*l*(g-l)/g)*(0>h-g/2?-1:1),k=Math.max(c,Math.floor(e-h*l/g+m)),h=Math.min(d,Math.floor(e+(g-h)*l/g+m)),r(b,k,h,e,f));g=b[e];h=c;l=d;u(b,c,e);for(0<f(b[d],g)&&u(b,c,d);h<l;){u(b,h,l);h++;for(l--;0>f(b[h],g);)h++;for(;0<f(b[l],g);)l--}0===f(b[c],g)?u(b,c,l):(l++,u(b,l,d));l<=e&&(c=l+1);e<=l&&(d=l-1)}}function u(b,c,d){var e=b[c];b[c]=b[d];b[d]=e}c.prototype={all:function(){return this.Vb(this.data,[])},search:function(b){var c=this.data,d=[],e=this.ca;if(!p(b,c.bbox))return d; +for(var f=[],g,h,k,l;c;){g=0;for(h=c.children.length;g<h;g++)k=c.children[g],l=c.$?e(k):k.bbox,p(b,l)&&(c.$?d.push(k):m(b,l)?this.Vb(k,d):f.push(k));c=f.pop()}return d},load:function(b){if(!b||!b.length)return this;if(b.length<this.Zb){for(var c=0,d=b.length;c<d;c++)this.xa(b[c]);return this}b=this.Xb(b.slice(),0,b.length-1,0);this.data.children.length?this.data.height===b.height?this.$b(this.data,b):(this.data.height<b.height&&(c=this.data,this.data=b,b=c),this.Yb(b,this.data.height-b.height-1,!0)): +this.data=b;return this},xa:function(b){b&&this.Yb(b,this.data.height-1);return this},clear:function(){this.data={children:[],height:1,bbox:[Infinity,Infinity,-Infinity,-Infinity],$:!0};return this},remove:function(b){if(!b)return this;for(var c=this.data,d=this.ca(b),e=[],f=[],g,h,k,l;c||e.length;){c||(c=e.pop(),h=e[e.length-1],g=f.pop(),l=!0);if(c.$&&(k=c.children.indexOf(b),-1!==k)){c.children.splice(k,1);e.push(c);this.Wc(e);break}l||c.$||!m(c.bbox,d)?h?(g++,c=h.children[g],l=!1):c=null:(e.push(c), +f.push(g),g=0,h=c,c=c.children[0])}return this},ca:function(b){return b},zb:function(b,c){return b[0]-c[0]},Ab:function(b,c){return b[1]-c[1]},toJSON:function(){return this.data},Vb:function(b,c){for(var d=[];b;)b.$?c.push.apply(c,b.children):d.push.apply(d,b.children),b=d.pop();return c},Xb:function(b,c,e,f){var g=e-c+1,h=this.tb,k;if(g<=h)return k={children:b.slice(c,e+1),height:1,bbox:null,$:!0},d(k,this.ca),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,$:!1};var g=Math.ceil(g/h),h=g*Math.ceil(Math.sqrt(h)),l,m,p;for(q(b,c,e,h,this.zb);c<=e;c+=h)for(m=Math.min(c+h-1,e),q(b,c,m,g,this.Ab),l=c;l<=m;l+=g)p=Math.min(l+g-1,m),k.children.push(this.Xb(b,l,p,f-1));d(k,this.ca);return k},Vc:function(b,c,d,e){for(var f,g,h,l,m,p,q,r;;){e.push(c);if(c.$||e.length-1===d)break;q=r=Infinity;f=0;for(g=c.children.length;f<g;f++)h=c.children[f],m=k(h.bbox),p=h.bbox,p=(Math.max(p[2],b[2])-Math.min(p[0],b[0]))*(Math.max(p[3],b[3])-Math.min(p[1], +b[1]))-m,p<r?(r=p,q=m<q?m:q,l=h):p===r&&m<q&&(q=m,l=h);c=l}return c},Yb:function(b,c,d){var e=this.ca;d=d?b.bbox:e(b);var e=[],g=this.Vc(d,this.data,c,e);g.children.push(b);for(f(g.bbox,d);0<=c;)if(e[c].children.length>this.tb)this.Yc(e,c),c--;else break;this.Sc(d,e,c)},Yc:function(b,c){var e=b[c],f=e.children.length,g=this.Zb;this.Tc(e,g,f);f=this.Uc(e,g,f);f={children:e.children.splice(f,e.children.length-f),height:e.height,bbox:null,$:!1};e.$&&(f.$=!0);d(e,this.ca);d(f,this.ca);c?b[c-1].children.push(f): +this.$b(e,f)},$b:function(b,c){this.data={children:[b,c],height:b.height+1,bbox:null,$:!1};d(this.data,this.ca)},Uc:function(b,c,d){var f,g,h,l,m,p,q;m=p=Infinity;for(f=c;f<=d-c;f++)g=e(b,0,f,this.ca),h=e(b,f,d,this.ca),l=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),l<m?(m=l,q=f,p=g<p?g:p):l===m&&g<p&&(p=g,q=f);return q},Tc:function(b,c,d){var e=b.$?this.zb:g,f=b.$?this.Ab:h,k=this.Wb(b,c,d,e);c=this.Wb(b,c,d,f);k<c&&b.children.sort(e)}, +Wb:function(b,c,d,g){b.children.sort(g);g=this.ca;var h=e(b,0,c,g),k=e(b,d-c,d,g),m=l(h)+l(k),p,q;for(p=c;p<d-c;p++)q=b.children[p],f(h,b.$?g(q):q.bbox),m+=l(h);for(p=d-c-1;p>=c;p--)q=b.children[p],f(k,b.$?g(q):q.bbox),m+=l(k);return m},Sc:function(b,c,d){for(;0<=d;d--)f(c[d].bbox,b)},Wc:function(b){for(var c=b.length-1,e;0<=c;c--)0===b[c].children.length?0<c?(e=b[c-1].children,e.splice(e.indexOf(b[c]),1)):this.clear():d(b[c],this.ca)},Xc:function(b){var c=["return a"," - b",";"];this.zb=new Function("a", +"b",c.join(b[0]));this.Ab=new Function("a","b",c.join(b[1]));this.ca=new Function("a","return [a"+b.join(", a")+"];")}};"undefined"!==typeof b?b.mc=c:"undefined"!==typeof self?self.a=c:window.a=c})();Oj=b.mc})();function Pj(b){this.a=Oj(b);this.b={}}n=Pj.prototype;n.xa=function(b,c){var d=[b[0],b[1],b[2],b[3],c];this.a.xa(d);this.b[I(c)]=d};n.load=function(b,c){for(var d=Array(c.length),e=0,f=c.length;e<f;e++){var g=b[e],h=c[e],g=[g[0],g[1],g[2],g[3],h];d[e]=g;this.b[I(h)]=g}this.a.load(d)};n.remove=function(b){b=I(b);var c=this.b[b];delete this.b[b];return null!==this.a.remove(c)};function Qj(b){return b.a.all().map(function(b){return b[4]})} +function Rj(b,c){return b.a.search(c).map(function(b){return b[4]})}function Sj(b,c,d,e){return Tj(Rj(b,c),d,e)}function Tj(b,c,d){for(var e,f=0,g=b.length;f<g&&!(e=c.call(d,b[f]));f++);return e}n.clear=function(){this.a.clear();this.b={}};n.C=function(){return this.a.data.bbox};function Uj(b){b=b||{};Ee.call(this,{attributions:b.attributions,logo:b.logo,projection:void 0,state:"ready",wrapX:void 0!==b.wrapX?b.wrapX:!0});this.o=N;this.D=b.format;this.u=b.url;void 0!==b.loader?this.o=b.loader:void 0!==this.u&&(this.o=Mj(this.u,this.D));this.G=void 0!==b.strategy?b.strategy:Nj;var c=void 0!==b.useSpatialIndex?b.useSpatialIndex:!0;this.P=c?new Pj:null;this.s=new Pj;this.ba={};this.b={};this.g={};this.h={};this.a=null;var d,e;b.features instanceof md?(d=b.features,e=d.a):Array.isArray(b.features)&& +(e=b.features);c||void 0!==d||(d=new md(e));void 0!==e&&Vj(this,e);void 0!==d&&Wj(this,d)}M(Uj,Ee);n=Uj.prototype;n.ub=function(b){var c=I(b).toString();if(Xj(this,c,b)){Yj(this,c,b);var d=b.M();d?(c=d.C(),this.P&&this.P.xa(c,b)):this.ba[c]=b;T(this,new Zj("addfeature",b))}this.w()};function Yj(b,c,d){b.h[c]=[R(d,"change",b.oc,b),R(d,"propertychange",b.oc,b)]}function Xj(b,c,d){var e=!0,f=d.Da();void 0!==f?f.toString()in b.b?e=!1:b.b[f.toString()]=d:b.g[c]=d;return e}n.vb=function(b){Vj(this,b);this.w()}; +function Vj(b,c){var d,e,f,g,h=[],k=[],l=[];e=0;for(f=c.length;e<f;e++)g=c[e],d=I(g).toString(),Xj(b,d,g)&&k.push(g);e=0;for(f=k.length;e<f;e++){g=k[e];d=I(g).toString();Yj(b,d,g);var m=g.M();m?(d=m.C(),h.push(d),l.push(g)):b.ba[d]=g}b.P&&b.P.load(h,l);e=0;for(f=k.length;e<f;e++)T(b,new Zj("addfeature",k[e]))} +function Wj(b,c){var d=!1;R(b,"addfeature",function(b){d||(d=!0,c.push(b.feature),d=!1)});R(b,"removefeature",function(b){d||(d=!0,c.remove(b.feature),d=!1)});R(c,"add",function(b){d||(b=b.element,d=!0,this.ub(b),d=!1)},b);R(c,"remove",function(b){if(!d){b=b.element;d=!0;var c=I(b).toString();c in this.ba?delete this.ba[c]:this.P&&this.P.remove(b);this.Rb(b);this.w();d=!1}},b);b.a=c} +n.clear=function(b){if(b){for(var c in this.h)this.h[c].forEach(P);this.a||(this.h={},this.b={},this.g={})}else if(this.P){b=this.Rb;Tj(Qj(this.P),b,this);for(var d in this.ba)this.Rb(this.ba[d])}this.a&&this.a.clear();this.P&&this.P.clear();this.s.clear();this.ba={};T(this,new Zj("clear"));this.w()};n.gd=function(b,c){if(this.P)return Tj(Qj(this.P),b,c);if(this.a)return od(this.a,b,c)};function ak(b,c,d,e){b.P?Sj(b.P,c,d,e):b.a&&od(b.a,d,e)} +n.ee=function(){var b;this.a?b=this.a.a:this.P&&(b=Qj(this.P),Za(this.ba)||Ja(b,Xa(this.ba)));return b};n.C=function(){return this.P.C()}; +n.oc=function(b){b=b.target;var c=I(b).toString(),d=b.M();if(d)if(d=d.C(),c in this.ba)delete this.ba[c],this.P&&this.P.xa(d,b);else{if(this.P){var e=this.P,f=I(b);Qb(e.b[f].slice(0,4),d)||(e.remove(b),e.xa(d,b))}}else c in this.ba||(this.P&&this.P.remove(b),this.ba[c]=b);d=b.Da();void 0!==d?(d=d.toString(),c in this.g?(delete this.g[c],this.b[d]=b):this.b[d]!==b&&(bk(this,b),this.b[d]=b)):c in this.g||(bk(this,b),this.g[c]=b);this.w();T(this,new Zj("changefeature",b))}; +function ck(b,c,d,e){var f=b.s;c=b.G(c,d);var g,h;g=0;for(h=c.length;g<h;++g){var k=c[g];Sj(f,k,function(b){return Mb(b.extent,k)})||(b.o.call(b,k,d,e),f.xa(k,{extent:k.slice()}))}}n.Rb=function(b){var c=I(b).toString();this.h[c].forEach(P);delete this.h[c];var d=b.Da();void 0!==d?delete this.b[d.toString()]:delete this.g[c];T(this,new Zj("removefeature",b))};function bk(b,c){for(var d in b.b)if(b.b[d]===c){delete b.b[d];break}}function Zj(b,c){S.call(this,b);this.feature=c}M(Zj,S);function dk(b){$i.call(this,b);this.c=sf();this.b=null;this.j=Ib();this.h=yb()}M(dk,$i); +dk.prototype.g=function(b,c,d){var e=b.pixelRatio,f=b.viewState,g=f.center,h=f.projection,k=f.rotation,l=b.size,m=Math.round(e*l[0]/2),p=Math.round(e*l[1]/2),q=e/f.resolution,r=this.a,u=r.W(),w=u.bb(h),f=bj(this,b,0);aj(this,"precompose",d,b,f);var l=d,r=mb(r,"render"),y,z,D,t;if(k||r){l=this.c;y=l.canvas;D=u.eb(e)/e;var v=d.canvas.width*D;z=d.canvas.height*D;t=Math.round(Math.sqrt(v*v+z*z));y.width!=t?y.width=y.height=t:l.clearRect(0,0,t,t);y=(t-v)/2/D;z=(t-z)/2/D;q*=D;m=Math.round(D*(m+y));p=Math.round(D* +(p+z))}v=l.globalAlpha;l.globalAlpha=c.opacity;var B=u.ia(h),F=this.b,C;c=u.Fb(h)&&1==c.opacity;c||(F.reverse(),C=[]);for(var G=0,J=F.length;G<J;++G){var A=F[G],H=A.L,O=Ke(B,H,this.j),Q=H[0],L=Wb(Ke(B,Se(B,g,Q))),H=Math.round(Ub(O)*q),K=Math.round(Vb(O)*q),fa=Math.round((O[0]-L[0])*q/H)*H+m+Math.round((L[0]-g[0])*q),O=Math.round((L[1]-O[3])*q/K)*K+p+Math.round((g[1]-L[1])*q);if(!c){L=[fa,O,fa+H,O+K];l.save();for(var ra=0,$l=C.length;ra<$l;++ra){var Ya=C[ra];$b(L,Ya)&&(l.beginPath(),l.moveTo(L[0], +L[1]),l.lineTo(L[0],L[3]),l.lineTo(L[2],L[3]),l.lineTo(L[2],L[1]),l.moveTo(Ya[0],Ya[1]),l.lineTo(Ya[2],Ya[1]),l.lineTo(Ya[2],Ya[3]),l.lineTo(Ya[0],Ya[3]),l.closePath(),l.clip())}C.push(L)}Q=Ye(u,Q,e,h);l.drawImage(A.S(),w,w,Q[0],Q[1],fa,O,H,K);c||l.restore()}r&&(e=y-m/D+m,h=z-p/D+p,g=Jg(this.h,t/2-e,t/2-h,q,-q,-k,-g[0]+e/q,-g[1]-h/q),aj(this,"render",l,b,g));(k||r)&&d.drawImage(l.canvas,-Math.round(y),-Math.round(z),t/D,t/D);l.globalAlpha=v;aj(this,"postcompose",d,b,f)}; +dk.prototype.i=function(b,c){function d(b){b=b.N();return 2==b||4==b||3==b&&!u}var e=b.pixelRatio,f=b.viewState,g=f.projection,h=this.a,k=h.W(),l=k.ia(g),m=Re(l,f.resolution),p=l.J(m),q=f.center;p==f.resolution?(q=Sg(q,p,b.size),f=Yb(q,p,f.rotation,b.size)):f=b.extent;void 0!==c.extent&&(f=Zb(f,c.extent));if(f[2]<f[0]||f[3]<f[1])return!1;p=Ne(l,f,p);q={};q[m]={};var r=this.l(k,g,q),u=ui(h),w=Ib(),y=new gd(0,0,0,0),z,D,t,v;for(t=p.a;t<=p.b;++t)for(v=p.f;v<=p.c;++v)z=Ug(k,m,t,v,e,g),!d(z)&&z.a&&(z= +z.a),d(z)?q[m][z.L.toString()]=z:(D=Je(l,z.L,r,y,w),D||(z=Me(l,z.L,y,w))&&r(m+1,z));r=Object.keys(q).map(Number);r.sort(Ga);var w=[],B,y=0;for(t=r.length;y<t;++y)for(B in z=r[y],v=q[z],v)z=v[B],2==z.N()&&w.push(z);this.b=w;Rg(b.usedTiles,k,m,p);Tg(b,k,l,e,g,f,m,h.get("preload"));Og(b,k);Qg(b,k);return!0};function ek(b){$i.call(this,b);this.b=!1;this.v=-1;this.u=NaN;this.j=Ib();this.c=this.o=null;this.h=sf()}M(ek,$i); +ek.prototype.g=function(b,c,d){var e=b.extent,f=b.pixelRatio,g=c.Wa?b.skippedFeatureUids:{},h=b.viewState,k=h.projection,h=h.rotation,l=k.C(),m=this.a.W(),p=bj(this,b,0);aj(this,"precompose",d,b,p);var q=this.c;if(q&&!q.c()){var r;mb(this.a,"render")?(this.h.canvas.width=d.canvas.width,this.h.canvas.height=d.canvas.height,r=this.h):r=d;var u=r.globalAlpha;r.globalAlpha=c.opacity;c=b.size[0]*f;var w=b.size[1]*f;yi(r,-h,c/2,w/2);q.f(r,f,p,h,g);if(m.j&&k.a&&!Mb(l,e)){for(var k=e[0],m=Ub(l),y=0;k<l[0];)--y, +p=m*y,p=bj(this,b,p),q.f(r,f,p,h,g),k+=m;y=0;for(k=e[2];k>l[2];)++y,p=m*y,p=bj(this,b,p),q.f(r,f,p,h,g),k-=m;p=bj(this,b,0)}yi(r,h,c/2,w/2);r!=d&&(aj(this,"render",r,b,p),d.drawImage(r.canvas,0,0));r.globalAlpha=u}aj(this,"postcompose",d,b,p)};ek.prototype.Xa=function(b,c,d,e){if(this.c){var f=this.a,g={};return this.c.g(b,c.viewState.resolution,c.viewState.rotation,{},function(b){var c=I(b).toString();if(!(c in g))return g[c]=!0,d.call(e,b,f)})}};ek.prototype.A=function(){Ng(this)}; +ek.prototype.i=function(b){function c(b){var c,e=b.c;e?c=e.call(b,m):(e=d.g)&&(c=e(b,m));if(c){if(c){e=!1;if(Array.isArray(c))for(var f=0,g=c.length;f<g;++f)e=yj(r,b,c[f],xj(m,p),this.A,this)||e;else e=yj(r,b,c,xj(m,p),this.A,this)||e;b=e}else b=!1;this.b=this.b||b}}var d=this.a,e=d.W();Pg(b.attributions,e.i);Qg(b,e);var f=b.viewHints[0],g=b.viewHints[1],h=d.i,k=d.j;if(!this.b&&!h&&f||!k&&g)return!0;var l=b.extent,k=b.viewState,f=k.projection,m=k.resolution,p=b.pixelRatio,g=d.f,q=d.a,h=d.get("renderOrder"); +void 0===h&&(h=wj);l=Kb(l,q*m);q=k.projection.C();e.j&&k.projection.a&&!Mb(q,b.extent)&&(b=Math.max(Ub(l)/2,Ub(q)),l[0]=q[0]-b,l[2]=q[2]+b);if(!this.b&&this.u==m&&this.v==g&&this.o==h&&Mb(this.j,l))return!0;this.c=null;this.b=!1;var r=new sj(.5*m/p,l,m,d.a);ck(e,l,m,f);if(h){var u=[];ak(e,l,function(b){u.push(b)},this);u.sort(h);u.forEach(c,this)}else ak(e,l,c,this);tj(r);this.u=m;this.v=g;this.o=h;this.j=l;this.c=r;return!0};function fk(b,c){var d=/\{z\}/g,e=/\{x\}/g,f=/\{y\}/g,g=/\{-y\}/g;return function(h){if(h)return b.replace(d,h[0].toString()).replace(e,h[1].toString()).replace(f,function(){return(-h[2]-1).toString()}).replace(g,function(){var b=c.a?c.a[h[0]]:null;return(b.c-b.f+1+h[2]).toString()})}}function gk(b,c){for(var d=b.length,e=Array(d),f=0;f<d;++f)e[f]=fk(b[f],c);return hk(e)}function hk(b){return 1===b.length?b[0]:function(c,d,e){if(c)return b[Da((c[1]<<c[0])+c[2],b.length)](c,d,e)}}function ik(){};function jk(b){We.call(this,{attributions:b.attributions,cacheSize:b.cacheSize,extent:b.extent,logo:b.logo,opaque:b.opaque,projection:b.projection,state:b.state,tileGrid:b.tileGrid,tilePixelRatio:b.tilePixelRatio,wrapX:b.wrapX});this.tileLoadFunction=b.tileLoadFunction;this.tileUrlFunction=this.g?this.g.bind(this):ik;this.urls=null;if(b.urls){var c=b.urls;this.urls=c;kk(this,this.g?this.g.bind(this):gk(c,this.tileGrid))}else b.url&&this.s(b.url);b.tileUrlFunction&&kk(this,b.tileUrlFunction)} +M(jk,We);jk.prototype.D=function(b){b=b.target;switch(b.N()){case 1:T(this,new $e("tileloadstart",b));break;case 2:T(this,new $e("tileloadend",b));break;case 3:T(this,new $e("tileloaderror",b))}};function kk(b,c){b.a.clear();b.tileUrlFunction=c;b.w()} +jk.prototype.s=function(b){var c=[],d=/\{(\d)-(\d)\}/.exec(b)||/\{([a-z])-([a-z])\}/.exec(b);if(d){var e=d[2].charCodeAt(0),f;for(f=d[1].charCodeAt(0);f<=e;++f)c.push(b.replace(d[0],String.fromCharCode(f)))}else c.push(b);b=this.urls=c;kk(this,this.g?this.g.bind(this):gk(b,this.tileGrid))};jk.prototype.Qc=function(b,c,d){b=this.cb(b,c,d);xe(this.a,b)&&this.a.get(b)};function lk(b,c){$g.call(this,0,c);this.c=sf();sf();this.a=this.c.canvas;this.a.style.width="100%";this.a.style.height="100%";this.a.className="ol-unselectable";ge(b,this.a,0);this.b=!0;this.g=yb()}M(lk,$g);lk.prototype.Bb=function(b){return b instanceof X?new dk(b):b instanceof Y?new ek(b):null}; +function mk(b,c,d){var e=b.h,f=b.c;if(mb(e,c)){var g=d.extent,h=d.pixelRatio,k=d.viewState.rotation,l=d.pixelRatio,m=d.viewState,p=m.resolution;b=Jg(b.g,b.a.width/2,b.a.height/2,l/p,-l/p,-m.rotation,-m.center[0],-m.center[1]);g=new Pi(f,h,g,b,k);T(e,new Gg(c,e,g,d,f,null))}}lk.prototype.U=function(){return"canvas"}; +lk.prototype.kb=function(b){if(b){var c=this.c,d=b.pixelRatio,e=Math.round(b.size[0]*d),d=Math.round(b.size[1]*d);this.a.width!=e||this.a.height!=d?(this.a.width=e,this.a.height=d):c.clearRect(0,0,e,d);var f=b.viewState.rotation;ah(b);mk(this,"precompose",b);var g=b.layerStatesArray;Ma(g);yi(c,f,e/2,d/2);var h=b.viewState.resolution,k,l,m,p;k=0;for(l=g.length;k<l;++k)p=g[k],m=p.layer,m=ch(this,m),Ig(p,h)&&"ready"==p.Tb&&m.i(b,p)&&m.g(b,p,c);yi(c,-f,e/2,d/2);mk(this,"postcompose",b);this.b||(pe(this.a, +!0),this.b=!0);dh(this,b);b.postRenderFunctions.push(bh)}else this.b&&(pe(this.a,!1),this.b=!1)};function nk(b,c){Mg.call(this,b);this.target=c}M(nk,Mg);nk.prototype.yb=N;nk.prototype.Ac=N;function ok(b){var c=document.createElement("DIV");c.style.position="absolute";nk.call(this,b,c);this.c=!0;this.h=1;this.g=0;this.b={}}M(ok,nk);ok.prototype.yb=function(){fe(this.target);this.g=0}; +ok.prototype.Bc=function(b,c){if(!c.visible)return this.c&&(pe(this.target,!1),this.c=!1),!0;var d=b.pixelRatio,e=b.viewState,f=e.projection,g=this.a,h=g.W(),k=h.ia(f),l=h.bb(f),m=Re(k,e.resolution),p=k.J(m),q=e.center,r;p==e.resolution?(q=Sg(q,p,b.size),r=Yb(q,p,e.rotation,b.size)):r=b.extent;void 0!==c.extent&&(r=Zb(r,c.extent));var p=Ne(k,r,p),u={};u[m]={};var w=this.l(h,f,u),y=ui(g),z=Ib(),D=new gd(0,0,0,0),t,v,B,F;for(B=p.a;B<=p.b;++B)for(F=p.f;F<=p.c;++F)t=Ug(h,m,B,F,d,f),v=t.N(),v=2==v||4== +v||3==v&&!y,!v&&t.a&&(t=t.a),v=t.N(),2==v?u[m][t.L.toString()]=t:4==v||3==v&&!y||(v=Je(k,t.L,w,D,z),v||(t=Me(k,t.L,D,z))&&w(m+1,t));var C;if(this.g!=h.f){for(C in this.b)y=this.b[+C],he(y.target);this.b={};this.g=h.f}z=Object.keys(u).map(Number);z.sort(Ga);var w={},G;B=0;for(F=z.length;B<F;++B){C=z[B];C in this.b?y=this.b[C]:(y=Se(k,q,C),y=new pk(k,y),w[C]=!0,this.b[C]=y);C=u[C];for(G in C){t=y;v=C[G];var J=l,A=v.L,H=A[0],O=A[1],Q=A[2],A=A.toString();if(!(A in t.b)){var H=sb(Qe(t.g,H),t.i),L=v.S(t), K=L.style;K.maxWidth="none";var fa=void 0,ra=void 0;0<J?(fa=document.createElement("DIV"),ra=fa.style,ra.overflow="hidden",ra.width=H[0]+"px",ra.height=H[1]+"px",K.position="absolute",K.left=-J+"px",K.top=-J+"px",K.width=H[0]+2*J+"px",K.height=H[1]+2*J+"px",fa.appendChild(L)):(K.width=H[0]+"px",K.height=H[1]+"px",fa=L,ra=K);ra.position="absolute";ra.left=(O-t.f[1])*H[0]+"px";ra.top=(t.f[2]-Q)*H[1]+"px";t.a||(t.a=document.createDocumentFragment());t.a.appendChild(fa);t.b[A]=v}}y.a&&(y.target.appendChild(y.a), -y.a=null)}l=Object.keys(this.b).map(Number);l.sort(Ga);B=yb();G=0;for(z=l.length;G<z;++G)if(C=l[G],y=this.b[C],C in u)if(t=y.I(),F=y.ia(),Ig(B,b.size[0]/2,b.size[1]/2,t/e.resolution,t/e.resolution,e.rotation,(F[0]-q[0])/t,(q[1]-F[1])/t),y.setTransform(B),C in w){for(--C;0<=C;--C)if(C in this.b){F=this.b[C].target;F.parentNode&&F.parentNode.insertBefore(y.target,F.nextSibling);break}0>C&&fe(this.target,y.target,0)}else{if(!b.viewHints[0]&&!b.viewHints[1]){v=Ke(y.g,r,y.f[0],D);C=[];t=F=void 0;for(t in y.b)F= -y.b[t],J=F.L,gd(v,J[1],J[2])||C.push(F);J=v=void 0;v=0;for(J=C.length;v<J;++v)F=C[v],t=F.L.toString(),ge(F.S(y)),delete y.b[t]}}else ge(y.target),delete this.b[C];c.opacity!=this.h&&(this.h=this.target.style.opacity=c.opacity);c.visible&&!this.c&&(oe(this.target,!0),this.c=!0);Qg(b.usedTiles,h,m,p);Sg(b,h,k,d,f,r,m,g.get("preload"));Ng(b,h);Pg(b,h);return!0}; -function ok(b,c){this.target=document.createElement("DIV");this.target.style.position="absolute";this.target.style.width="100%";this.target.style.height="100%";this.g=b;this.f=c;this.h=ac(Je(b,c));this.l=b.I(c[0]);this.b={};this.a=null;this.c=Ab();this.i=[0,0]}ok.prototype.ia=function(){return this.h};ok.prototype.I=function(){return this.l};ok.prototype.setTransform=function(b){Jg(b,this.c)||(vf(this.target,b),Bb(this.c,b))};function pk(b){this.g=rf();var c=this.g.canvas;c.style.maxWidth="none";c.style.position="absolute";mk.call(this,b,c);this.b=!1;this.h=-1;this.o=NaN;this.i=Ib();this.c=this.j=null;this.v=yb();this.u=yb()}M(pk,mk);n=pk.prototype;n.Ib=function(){var b=this.g.canvas;b.width=b.width;this.h=0}; -n.Kc=function(b,c){var d=b.viewState,e=d.center,f=d.rotation,g=d.resolution,d=b.pixelRatio,h=b.size[0],k=b.size[1],l=h*d,m=k*d,e=Ig(this.v,d*h/2,d*k/2,d/g,-d/g,-f,-e[0],-e[1]),g=this.g;g.canvas.width=l;g.canvas.height=m;h=Ig(this.u,0,0,1/d,1/d,0,-(l-h)/2*d,-(m-k)/2*d);vf(g.canvas,h);qk(this,"precompose",b,e);(h=this.c)&&!h.c()&&(g.globalAlpha=c.opacity,h.f(g,d,e,f,c.fb?b.skippedFeatureUids:{}),qk(this,"render",b,e));qk(this,"postcompose",b,e)}; -function qk(b,c,d,e){var f=b.g;b=b.a;mb(b,c)&&(e=new Oi(f,d.pixelRatio,d.extent,e,d.viewState.rotation),T(b,new Fg(c,b,e,d,f,null)))}n.gb=function(b,c,d,e){if(this.c){var f=this.a,g={};return this.c.g(b,c.viewState.resolution,c.viewState.rotation,{},function(b){var c=I(b).toString();if(!(c in g))return g[c]=!0,d.call(e,b,f)})}};n.Mc=function(){Mg(this)}; -n.Lc=function(b){function c(b){var c,e=b.c;e?c=e.call(b,l):(e=d.g)&&(c=e(b,l));if(c){if(c){e=!1;if(Array.isArray(c))for(var f=0,g=c.length;f<g;++f)e=xj(p,b,c[f],wj(l,m),this.Mc,this)||e;else e=xj(p,b,c,wj(l,m),this.Mc,this)||e;b=e}else b=!1;this.b=this.b||b}}var d=this.a,e=d.W();Og(b.attributions,e.i);Pg(b,e);var f=b.viewHints[0],g=b.viewHints[1],h=d.i,k=d.j;if(!this.b&&!h&&f||!k&&g)return!0;var g=b.extent,h=b.viewState,f=h.projection,l=h.resolution,m=b.pixelRatio;b=d.f;k=d.a;h=d.get("renderOrder"); -void 0===h&&(h=vj);g=Kb(g,k*l);if(!this.b&&this.o==l&&this.h==b&&this.j==h&&Mb(this.i,g))return!0;this.c=null;this.b=!1;var p=new rj(.5*l/m,g,l,d.a);bk(e,g,l,f);if(h){var q=[];Zj(e,g,function(b){q.push(b)},this);q.sort(h);q.forEach(c,this)}else Zj(e,g,c,this);sj(p);this.o=l;this.h=b;this.j=h;this.i=g;this.c=p;return!0};function rk(b,c){Zg.call(this,0,c);this.c=rf();var d=this.c.canvas;d.style.position="absolute";d.style.width="100%";d.style.height="100%";d.className="ol-unselectable";fe(b,d,0);this.g=yb();this.a=document.createElement("DIV");this.a.className="ol-unselectable";d=this.a.style;d.position="absolute";d.width="100%";d.height="100%";R(this.a,"touchstart",kb);fe(b,this.a,0);this.b=!0}M(rk,Zg);rk.prototype.K=function(){ge(this.a);rk.Y.K.call(this)}; -rk.prototype.Lb=function(b){if(b instanceof X)b=new nk(b);else if(b instanceof Y)b=new pk(b);else return null;return b};function sk(b,c,d){var e=b.h;if(mb(e,c)){var f=d.extent,g=d.pixelRatio,h=d.viewState,k=h.rotation,l=b.c,m=l.canvas;Ig(b.g,m.width/2,m.height/2,g/h.resolution,-g/h.resolution,-h.rotation,-h.center[0],-h.center[1]);b=new Oi(l,g,f,b.g,k);T(e,new Fg(c,e,b,d,l,null))}}rk.prototype.U=function(){return"dom"}; -rk.prototype.ub=function(b){if(b){var c=this.h;if(mb(c,"precompose")||mb(c,"postcompose")){var c=this.c.canvas,d=b.pixelRatio;c.width=b.size[0]*d;c.height=b.size[1]*d}sk(this,"precompose",b);c=b.layerStatesArray;Ma(c);var d=b.viewState.resolution,e,f,g,h;e=0;for(f=c.length;e<f;++e)h=c[e],g=h.layer,g=bh(this,g),fe(this.a,g.target,e),Hg(h,d)&&"ready"==h.cc?g.Lc(b,h)&&g.Kc(b,h):g.Ib();var c=b.layerStates,k;for(k in this.f)k in c||(g=this.f[k],ge(g.target));this.b||(oe(this.a,!0),this.b=!0);$g(b);ch(this, -b);b.postRenderFunctions.push(ah);sk(this,"postcompose",b)}else this.b&&(oe(this.a,!1),this.b=!1)};function tk(b){this.a=b}function uk(b){this.a=b}M(uk,tk);uk.prototype.U=function(){return 35632};function vk(b){this.a=b}M(vk,tk);vk.prototype.U=function(){return 35633};function wk(){this.a="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;}"}M(wk,uk);aa(wk); -function xk(){this.a="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;}"}M(xk,vk);aa(xk); -function yk(b,c){this.i=b.getUniformLocation(c,"j");this.j=b.getUniformLocation(c,"i");this.h=b.getUniformLocation(c,"k");this.l=b.getUniformLocation(c,"h");this.a=b.getAttribLocation(c,"e");this.b=b.getAttribLocation(c,"f");this.c=b.getAttribLocation(c,"c");this.f=b.getAttribLocation(c,"g");this.g=b.getAttribLocation(c,"d")};function zk(b){this.a=void 0!==b?b:[]};function Ak(b,c){this.B=b;this.a=c;this.b={};this.g={};this.c={};this.i=this.j=this.h=this.l=null;(this.f=0<=oa.indexOf("OES_element_index_uint"))&&c.getExtension("OES_element_index_uint");R(this.B,"webglcontextlost",this.o,this);R(this.B,"webglcontextrestored",this.s,this)}M(Ak,hb); -function Bk(b,c,d){var e=b.a,f=d.a,g=String(I(d));if(g in b.b)e.bindBuffer(c,b.b[g].buffer);else{var h=e.createBuffer();e.bindBuffer(c,h);var k;34962==c?k=new Float32Array(f):34963==c&&(k=b.f?new Uint32Array(f):new Uint16Array(f));e.bufferData(c,k,35044);b.b[g]={bf:d,buffer:h}}}function Ck(b,c){var d=b.a,e=String(I(c)),f=b.b[e];d.isContextLost()||d.deleteBuffer(f.buffer);delete b.b[e]} -Ak.prototype.K=function(){gb(this.B);var b=this.a;if(!b.isContextLost()){for(var c in this.b)b.deleteBuffer(this.b[c].buffer);for(c in this.c)b.deleteProgram(this.c[c]);for(c in this.g)b.deleteShader(this.g[c]);b.deleteFramebuffer(this.h);b.deleteRenderbuffer(this.i);b.deleteTexture(this.j)}}; -function Dk(b){if(!b.h){var c=b.a,d=c.createFramebuffer();c.bindFramebuffer(c.FRAMEBUFFER,d);var e=Ek(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);b.h=d; -b.j=e;b.i=f}return b.h}function Fk(b,c){var d=String(I(c));if(d in b.g)return b.g[d];var e=b.a,f=e.createShader(c.U());e.shaderSource(f,c.a);e.compileShader(f);return b.g[d]=f}function Gk(b,c,d){var e=I(c)+"/"+I(d);if(e in b.c)return b.c[e];var f=b.a,g=f.createProgram();f.attachShader(g,Fk(b,c));f.attachShader(g,Fk(b,d));f.linkProgram(g);return b.c[e]=g}Ak.prototype.o=function(){Wa(this.b);Wa(this.g);Wa(this.c);this.i=this.j=this.h=this.l=null};Ak.prototype.s=function(){}; -function Hk(b,c){if(c==b.l)return!1;b.a.useProgram(c);b.l=c;return!0}function Ik(b,c,d){var e=b.createTexture();b.bindTexture(b.TEXTURE_2D,e);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MAG_FILTER,b.LINEAR);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MIN_FILTER,b.LINEAR);void 0!==c&&b.texParameteri(3553,10242,c);void 0!==d&&b.texParameteri(3553,10243,d);return e}function Ek(b,c,d){var e=Ik(b,void 0,void 0);b.texImage2D(b.TEXTURE_2D,0,b.RGBA,c,d,0,b.RGBA,b.UNSIGNED_BYTE,null);return e};function Jk(b,c){this.H=this.u=void 0;this.j=Xb(c);this.s=[];this.h=[];this.A=void 0;this.g=[];this.c=[];this.D=this.J=void 0;this.b=[];this.v=this.i=null;this.V=void 0;this.na=Ab();this.Ca=Ab();this.R=this.G=void 0;this.oa=Ab();this.ka=this.Z=this.T=void 0;this.ga=[];this.l=[];this.a=[];this.o=null;this.f=[];this.B=[];this.ba=void 0}M(Jk,Eg); -function Kk(b,c){var d=b.o,e=b.i,f=b.ga,g=b.l,h=c.a;return function(){if(!h.isContextLost()){var b,l;b=0;for(l=f.length;b<l;++b)h.deleteTexture(f[b]);b=0;for(l=g.length;b<l;++b)h.deleteTexture(g[b])}Ck(c,d);Ck(c,e)}} -function Lk(b,c,d,e){var f=b.u,g=b.H,h=b.A,k=b.J,l=b.D,m=b.V,p=b.G,q=b.R,r=b.T?1:0,u=b.Z,w=b.ka,y=b.ba,z=Math.cos(u),u=Math.sin(u),D=b.b.length,t=b.a.length,v,B,F,C,G,J;for(v=0;v<d;v+=e)G=c[v]-b.j[0],J=c[v+1]-b.j[1],B=t/8,F=-w*f,C=-w*(h-g),b.a[t++]=G,b.a[t++]=J,b.a[t++]=F*z-C*u,b.a[t++]=F*u+C*z,b.a[t++]=p/l,b.a[t++]=(q+h)/k,b.a[t++]=m,b.a[t++]=r,F=w*(y-f),C=-w*(h-g),b.a[t++]=G,b.a[t++]=J,b.a[t++]=F*z-C*u,b.a[t++]=F*u+C*z,b.a[t++]=(p+y)/l,b.a[t++]=(q+h)/k,b.a[t++]=m,b.a[t++]=r,F=w*(y-f),C=w*g,b.a[t++]= -G,b.a[t++]=J,b.a[t++]=F*z-C*u,b.a[t++]=F*u+C*z,b.a[t++]=(p+y)/l,b.a[t++]=q/k,b.a[t++]=m,b.a[t++]=r,F=-w*f,C=w*g,b.a[t++]=G,b.a[t++]=J,b.a[t++]=F*z-C*u,b.a[t++]=F*u+C*z,b.a[t++]=p/l,b.a[t++]=q/k,b.a[t++]=m,b.a[t++]=r,b.b[D++]=B,b.b[D++]=B+1,b.b[D++]=B+2,b.b[D++]=B,b.b[D++]=B+2,b.b[D++]=B+3}Jk.prototype.Za=function(b,c){this.f.push(this.b.length);this.B.push(c);var d=b.a;Lk(this,d,d.length,b.b)};Jk.prototype.$a=function(b,c){this.f.push(this.b.length);this.B.push(c);var d=b.a;Lk(this,d,d.length,b.b)}; -function Mk(b,c){var d=c.a;b.s.push(b.b.length);b.h.push(b.b.length);b.o=new zk(b.a);Bk(c,34962,b.o);b.i=new zk(b.b);Bk(c,34963,b.i);var e={};Nk(b.ga,b.g,e,d);Nk(b.l,b.c,e,d);b.u=void 0;b.H=void 0;b.A=void 0;b.g=null;b.c=null;b.J=void 0;b.D=void 0;b.b=null;b.V=void 0;b.G=void 0;b.R=void 0;b.T=void 0;b.Z=void 0;b.ka=void 0;b.a=null;b.ba=void 0} -function Nk(b,c,d,e){var f,g,h,k,l=c.length;for(k=0;k<l;++k){g=c[k];h=I(g).toString();if(h in d)f=d[h];else{f=e;var m=Ik(f,33071,33071);f.texImage2D(f.TEXTURE_2D,0,f.RGBA,f.RGBA,f.UNSIGNED_BYTE,g);f=m;d[h]=f}b[k]=f}} -function Ok(b,c,d,e,f,g,h,k,l,m,p){var q=c.a;Bk(c,34962,b.o);Bk(c,34963,b.i);var r=wk.va(),u=xk.va(),u=Gk(c,r,u);b.v?r=b.v:(r=new yk(q,u),b.v=r);Hk(c,u);q.enableVertexAttribArray(r.c);q.vertexAttribPointer(r.c,2,5126,!1,32,0);q.enableVertexAttribArray(r.a);q.vertexAttribPointer(r.a,2,5126,!1,32,8);q.enableVertexAttribArray(r.g);q.vertexAttribPointer(r.g,2,5126,!1,32,16);q.enableVertexAttribArray(r.b);q.vertexAttribPointer(r.b,1,5126,!1,32,24);q.enableVertexAttribArray(r.f);q.vertexAttribPointer(r.f, -1,5126,!1,32,28);u=b.oa;Ig(u,0,0,2/(e*g[0]),2/(e*g[1]),-f,-(d[0]-b.j[0]),-(d[1]-b.j[1]));d=b.Ca;e=2/g[0];g=2/g[1];Cb(d);d[0]=e;d[5]=g;d[10]=1;d[15]=1;g=b.na;Cb(g);0!==f&&Gb(g,-f);q.uniformMatrix4fv(r.l,!1,u);q.uniformMatrix4fv(r.j,!1,d);q.uniformMatrix4fv(r.i,!1,g);q.uniform1f(r.h,h);var w;if(void 0===l)Pk(b,q,c,k,b.ga,b.s);else{if(m)a:{f=c.f?5125:5123;c=c.f?4:2;g=b.f.length-1;for(h=b.l.length-1;0<=h;--h)for(q.bindTexture(3553,b.l[h]),m=0<h?b.h[h-1]:0,u=b.h[h];0<=g&&b.f[g]>=m;){w=b.f[g];d=b.B[g]; -e=I(d).toString();if(void 0===k[e]&&d.M()&&(void 0===p||$b(p,d.M().C()))&&(q.clear(q.COLOR_BUFFER_BIT|q.DEPTH_BUFFER_BIT),q.drawElements(4,u-w,f,w*c),u=l(d))){b=u;break a}u=w;g--}b=void 0}else q.clear(q.COLOR_BUFFER_BIT|q.DEPTH_BUFFER_BIT),Pk(b,q,c,k,b.l,b.h),b=(b=l(null))?b:void 0;w=b}q.disableVertexAttribArray(r.c);q.disableVertexAttribArray(r.a);q.disableVertexAttribArray(r.g);q.disableVertexAttribArray(r.b);q.disableVertexAttribArray(r.f);return w} -function Pk(b,c,d,e,f,g){var h=d.f?5125:5123;d=d.f?4:2;if(Za(e)){var k;b=0;e=f.length;for(k=0;b<e;++b){c.bindTexture(3553,f[b]);var l=g[b];c.drawElements(4,l-k,h,k*d);k=l}}else{k=0;var m,l=0;for(m=f.length;l<m;++l){c.bindTexture(3553,f[l]);for(var p=0<l?g[l-1]:0,q=g[l],r=p;k<b.f.length&&b.f[k]<=q;){var u=I(b.B[k]).toString();void 0!==e[u]?(r!==p&&c.drawElements(4,p-r,h,r*d),p=r=k===b.f.length-1?q:b.f[k+1]):p=k===b.f.length-1?q:b.f[k+1];k++}r!==p&&c.drawElements(4,p-r,h,r*d)}}} -Jk.prototype.Ja=function(b){var c=b.ab(),d=b.S(1),e=b.Nb(),f=b.tb(1),g=b.B,h=b.ia(),k=b.o,l=b.$(),m=b.Ha();b=b.hb;var p;0===this.g.length?this.g.push(d):(p=this.g[this.g.length-1],I(p)!=I(d)&&(this.s.push(this.b.length),this.g.push(d)));0===this.c.length?this.c.push(f):(p=this.c[this.c.length-1],I(p)!=I(f)&&(this.h.push(this.b.length),this.c.push(f)));this.u=c[0];this.H=c[1];this.A=m[1];this.J=e[1];this.D=e[0];this.V=g;this.G=h[0];this.R=h[1];this.Z=l;this.T=k;this.ka=b;this.ba=m[0]}; -function Qk(b,c,d){this.l=c;this.i=b;this.h=d;this.b={}}function Rk(b,c){var d=[],e;for(e in b.b)d.push(Kk(b.b[e],c));return function(){for(var b=d.length,c,e=0;e<b;e++)c=d[e].apply(this,arguments);return c}}function Sk(b,c){for(var d in b.b)Mk(b.b[d],c)}Qk.prototype.a=function(b,c){var d=this.b[c];void 0===d&&(d=new Tk[c](this.i,this.l),this.b[c]=d);return d};Qk.prototype.c=function(){return Za(this.b)}; -Qk.prototype.f=function(b,c,d,e,f,g,h,k){var l,m;g=0;for(l=bj.length;g<l;++g)m=this.b[bj[g]],void 0!==m&&Ok(m,b,c,d,e,f,h,k,void 0,!1)};function Uk(b,c,d,e,f,g,h,k,l,m){var p=Vk,q,r;for(q=bj.length-1;0<=q;--q)if(r=b.b[bj[q]],void 0!==r&&(r=Ok(r,c,d,e,f,p,g,h,k,l,m)))return r} -Qk.prototype.g=function(b,c,d,e,f,g,h,k,l,m){var p=c.a;p.bindFramebuffer(p.FRAMEBUFFER,Dk(c));var q;void 0!==this.h&&(q=Kb(Pb(b),e*this.h));return Uk(this,c,b,e,f,k,l,function(b){var c=new Uint8Array(4);p.readPixels(0,0,1,1,p.RGBA,p.UNSIGNED_BYTE,c);if(0<c[3]&&(b=m(b)))return b},!0,q)};function Wk(b,c,d,e,f,g,h){var k=d.a;k.bindFramebuffer(k.FRAMEBUFFER,Dk(d));return void 0!==Uk(b,d,c,e,f,g,h,function(){var b=new Uint8Array(4);k.readPixels(0,0,1,1,k.RGBA,k.UNSIGNED_BYTE,b);return 0<b[3]},!1)} -var Tk={Image:Jk},Vk=[1,1];function Xk(b,c,d,e,f,g){this.a=b;this.f=c;this.c=g;this.l=f;this.h=e;this.g=d;this.b=null}M(Xk,Eg);Xk.prototype.$a=function(b,c){var d=this.a,e=(new Qk(1,this.c)).a(0,"Image");e.Ja(this.b);e.$a(b,c);Mk(e,d);Ok(e,this.a,this.f,this.g,this.h,this.l,1,{},void 0,!1);Kk(e,d)()};Xk.prototype.Za=function(b,c){var d=this.a,e=(new Qk(1,this.c)).a(0,"Image");e.Ja(this.b);e.Za(b,c);Mk(e,d);Ok(e,this.a,this.f,this.g,this.h,this.l,1,{},void 0,!1);Kk(e,d)()};Xk.prototype.Ja=function(b){this.b=b};function Yk(){this.a="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;}"}M(Yk,uk);aa(Yk);function Zk(){this.a="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;}"}M(Zk,vk);aa(Zk); -function $k(b,c){this.f=b.getUniformLocation(c,"f");this.c=b.getUniformLocation(c,"e");this.h=b.getUniformLocation(c,"d");this.g=b.getUniformLocation(c,"g");this.a=b.getAttribLocation(c,"b");this.b=b.getAttribLocation(c,"c")};function al(b,c){Lg.call(this,c);this.c=b;this.G=new zk([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]);this.i=this.Ba=null;this.j=void 0;this.D=yb();this.R=Ab();this.o=null}M(al,Lg); -function bl(b,c,d){var e=b.c.c;if(void 0===b.j||b.j!=d){c.postRenderFunctions.push(na(function(b,c,d){b.isContextLost()||(b.deleteFramebuffer(c),b.deleteTexture(d))},e,b.i,b.Ba));c=Ek(e,d,d);var f=e.createFramebuffer();e.bindFramebuffer(36160,f);e.framebufferTexture2D(36160,36064,3553,c,0);b.Ba=c;b.i=f;b.j=d}else e.bindFramebuffer(36160,b.i)} -al.prototype.Nc=function(b,c,d){cl(this,"precompose",d,b);Bk(d,34962,this.G);var e=d.a,f=Yk.va(),g=Zk.va(),f=Gk(d,f,g);this.o?g=this.o:this.o=g=new $k(e,f);Hk(d,f)&&(e.enableVertexAttribArray(g.a),e.vertexAttribPointer(g.a,2,5126,!1,16,0),e.enableVertexAttribArray(g.b),e.vertexAttribPointer(g.b,2,5126,!1,16,8),e.uniform1i(g.g,0));e.uniformMatrix4fv(g.h,!1,this.D);e.uniformMatrix4fv(g.c,!1,this.R);e.uniform1f(g.f,c.opacity);e.bindTexture(3553,this.Ba);e.drawArrays(5,0,4);cl(this,"postcompose",d,b)}; -function cl(b,c,d,e){b=b.a;if(mb(b,c)){var f=e.viewState;T(b,new Fg(c,b,new Xk(d,f.center,f.resolution,f.rotation,e.size,e.extent),e,null,d))}}al.prototype.s=function(){this.i=this.Ba=null;this.j=void 0};function dl(){this.a="precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"}M(dl,uk);aa(dl);function el(){this.a="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;}"}M(el,vk);aa(el);function fl(b,c){this.f=b.getUniformLocation(c,"e");this.c=b.getUniformLocation(c,"d");this.a=b.getAttribLocation(c,"b");this.b=b.getAttribLocation(c,"c")};function gl(b,c){al.call(this,b,c);this.A=dl.va();this.T=el.va();this.b=null;this.v=new zk([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]);this.u=this.g=null;this.h=-1;this.J=[0,0]}M(gl,al);gl.prototype.K=function(){Ck(this.c.g,this.v);gl.Y.K.call(this)};gl.prototype.l=function(b,c,d){var e=this.c;return function(f,g){return We(b,c,f,g,function(b){var c=we(e.b,b.getKey());c&&(d[f]||(d[f]={}),d[f][b.L.toString()]=b);return c})}};gl.prototype.s=function(){gl.Y.s.call(this);this.b=null}; -gl.prototype.Oc=function(b,c,d){var e=this.c,f=d.a,g=b.viewState,h=g.projection,k=this.a,l=k.W(),m=l.la(h),p=Qe(m,g.resolution),q=m.I(p),r=Xe(l,p,b.pixelRatio,h),u=r[0]/sb(Pe(m,p),this.J)[0],w=q/u,y=l.mb(h),z=g.center,D;q==g.resolution?(z=Rg(z,q,b.size),D=Yb(z,q,g.rotation,b.size)):D=b.extent;q=Me(m,D,q);if(this.g&&hd(this.g,q)&&this.h==l.f)w=this.u;else{var t=[q.da(),q.c-q.b+1],v=Math.pow(2,Math.ceil(Math.log(Math.max(t[0]*r[0],t[1]*r[1]))/Math.LN2)),t=w*v,B=m.ia(p),F=B[0]+q.a*r[0]*w,w=B[1]+q.b* -r[1]*w,w=[F,w,F+t,w+t];bl(this,b,v);f.viewport(0,0,v,v);f.clearColor(0,0,0,0);f.clear(16384);f.disable(3042);v=Gk(d,this.A,this.T);Hk(d,v);this.b||(this.b=new fl(f,v));Bk(d,34962,this.v);f.enableVertexAttribArray(this.b.a);f.vertexAttribPointer(this.b.a,2,5126,!1,16,0);f.enableVertexAttribArray(this.b.b);f.vertexAttribPointer(this.b.b,2,5126,!1,16,8);f.uniform1i(this.b.f,0);d={};d[p]={};var C=this.l(l,h,d),G=ti(k),v=!0,F=Ib(),J=new fd(0,0,0,0),A,H,O;for(H=q.a;H<=q.f;++H)for(O=q.b;O<=q.c;++O){B=Tg(l, -p,H,O,u,h);if(void 0!==c.extent&&(A=Je(m,B.L,F),!$b(A,c.extent)))continue;A=B.N();A=2==A||4==A||3==A&&!G;!A&&B.a&&(B=B.a);A=B.N();if(2==A){if(we(e.b,B.getKey())){d[p][B.L.toString()]=B;continue}}else if(4==A||3==A&&!G)continue;v=!1;A=Ie(m,B.L,C,J,F);A||(B=Le(m,B.L,J,F))&&C(p+1,B)}c=Object.keys(d).map(Number);c.sort(Ga);for(var C=new Float32Array(4),Q,L,K,G=0,J=c.length;G<J;++G)for(Q in L=d[c[G]],L)B=L[Q],A=Je(m,B.L,F),H=2*(A[2]-A[0])/t,O=2*(A[3]-A[1])/t,K=2*(A[0]-w[0])/t-1,A=2*(A[1]-w[1])/t-1,xb(C, -H,O,K,A),f.uniform4fv(this.b.c,C),hl(e,B,r,y*u),f.drawArrays(5,0,4);v?(this.g=q,this.u=w,this.h=l.f):(this.u=this.g=null,this.h=-1,b.animate=!0)}Qg(b.usedTiles,l,p,q);var fa=e.i;Sg(b,l,m,u,h,D,p,k.get("preload"),function(b){var c;(c=2!=b.N()||we(e.b,b.getKey()))||(c=b.getKey()in fa.f);c||fa.c([b,Oe(m,b.L),m.I(b.L[0]),r,y*u])},this);Ng(b,l);Pg(b,l);f=this.D;Cb(f);Eb(f,(z[0]-w[0])/(w[2]-w[0]),(z[1]-w[1])/(w[3]-w[1]));0!==g.rotation&&Gb(f,g.rotation);Fb(f,b.size[0]*g.resolution/(w[2]-w[0]),b.size[1]* -g.resolution/(w[3]-w[1]));Eb(f,-.5,-.5);return!0};function il(b,c){al.call(this,b,c);this.h=!1;this.J=-1;this.A=NaN;this.u=Ib();this.g=this.b=this.v=null}M(il,al);n=il.prototype;n.Nc=function(b,c,d){this.g=c;var e=b.viewState,f=this.b;f&&!f.c()&&f.f(d,e.center,e.resolution,e.rotation,b.size,b.pixelRatio,c.opacity,c.fb?b.skippedFeatureUids:{})};n.K=function(){var b=this.b;b&&(Rk(b,this.c.g)(),this.b=null);il.Y.K.call(this)}; -n.gb=function(b,c,d,e){if(this.b&&this.g){var f=c.viewState,g=this.a,h={};return this.b.g(b,this.c.g,f.center,f.resolution,f.rotation,c.size,c.pixelRatio,this.g.opacity,{},function(b){var c=I(b).toString();if(!(c in h))return h[c]=!0,d.call(e,b,g)})}};n.Ic=function(b,c){if(this.b&&this.g){var d=c.viewState;return Wk(this.b,b,this.c.g,d.resolution,d.rotation,this.g.opacity,c.skippedFeatureUids)}return!1};n.Pc=function(){Mg(this)}; -n.Oc=function(b,c,d){function e(b){var c,d=b.c;d?c=d.call(b,m):(d=f.g)&&(c=d(b,m));if(c){if(c){d=!1;if(Array.isArray(c))for(var e=0,g=c.length;e<g;++e)d=xj(r,b,c[e],wj(m,p),this.Pc,this)||d;else d=xj(r,b,c,wj(m,p),this.Pc,this)||d;b=d}else b=!1;this.h=this.h||b}}var f=this.a;c=f.W();Og(b.attributions,c.i);Pg(b,c);var g=b.viewHints[0],h=b.viewHints[1],k=f.i,l=f.j;if(!this.h&&!k&&g||!l&&h)return!0;var h=b.extent,k=b.viewState,g=k.projection,m=k.resolution,p=b.pixelRatio,k=f.f,q=f.a,l=f.get("renderOrder"); -void 0===l&&(l=vj);h=Kb(h,q*m);if(!this.h&&this.A==m&&this.J==k&&this.v==l&&Mb(this.u,h))return!0;this.b&&b.postRenderFunctions.push(Rk(this.b,d));this.h=!1;var r=new Qk(.5*m/p,h,f.a);bk(c,h,m,g);if(l){var u=[];Zj(c,h,function(b){u.push(b)},this);u.sort(l);u.forEach(e,this)}else Zj(c,h,e,this);Sk(r,d);this.A=m;this.J=k;this.v=l;this.u=h;this.b=r;return!0};function jl(b,c){Zg.call(this,0,c);this.a=document.createElement("CANVAS");this.a.style.width="100%";this.a.style.height="100%";this.a.className="ol-unselectable";fe(b,this.a,0);this.s=this.u=0;this.H=rf();this.j=!0;this.c=xf(this.a,{antialias:!0,depth:!1,failIfMajorPerformanceCaveat:!0,preserveDrawingBuffer:!1,stencil:!0});this.g=new Ak(this.a,this.c);R(this.a,"webglcontextlost",this.re,this);R(this.a,"webglcontextrestored",this.se,this);this.b=new ve;this.o=null;this.i=new dh(function(b){var c= -b[1];b=b[2];var f=c[0]-this.o[0],c=c[1]-this.o[1];return 65536*Math.log(b)+Math.sqrt(f*f+c*c)/b}.bind(this),function(b){return b[0].getKey()});this.v=function(){if(0!==this.i.a.length){hh(this.i);var b=eh(this.i);hl(this,b[0],b[3],b[4])}return!1}.bind(this);this.l=0;kl(this)}M(jl,Zg); -function hl(b,c,d,e){var f=b.c,g=c.getKey();if(we(b.b,g))b=b.b.get(g),f.bindTexture(3553,b.Ba),9729!=b.Cc&&(f.texParameteri(3553,10240,9729),b.Cc=9729),9729!=b.Dc&&(f.texParameteri(3553,10240,9729),b.Dc=9729);else{var h=f.createTexture();f.bindTexture(3553,h);if(0<e){var k=b.H.canvas,l=b.H;b.u!==d[0]||b.s!==d[1]?(k.width=d[0],k.height=d[1],b.u=d[0],b.s=d[1]):l.clearRect(0,0,d[0],d[1]);l.drawImage(c.S(),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.S());f.texParameteri(3553,10240,9729);f.texParameteri(3553,10241,9729);f.texParameteri(3553,10242,33071);f.texParameteri(3553,10243,33071);b.b.set(g,{Ba:h,Cc:9729,Dc:9729})}}n=jl.prototype;n.Lb=function(b){return b instanceof X?new gl(this,b):b instanceof Y?new il(this,b):null};function ll(b,c,d){var e=b.h;if(mb(e,c)){b=b.g;var f=d.viewState;T(e,new Fg(c,e,new Xk(b,f.center,f.resolution,f.rotation,d.size,d.extent),d,null,b))}} -n.K=function(){var b=this.c;b.isContextLost()||xe(this.b,function(c){c&&b.deleteTexture(c.Ba)});ib(this.g);jl.Y.K.call(this)};n.pd=function(b,c){for(var d=this.c,e;1024<this.b.f-this.l;){if(e=this.b.a.Ka)d.deleteTexture(e.Ba);else if(+this.b.a.Ub==c.index)break;else--this.l;this.b.pop()}};n.U=function(){return"webgl"};n.re=function(b){b.preventDefault();this.b.clear();this.l=0;b=this.f;for(var c in b)b[c].s()};n.se=function(){kl(this);this.h.render()}; -function kl(b){b=b.c;b.activeTexture(33984);b.blendFuncSeparate(770,771,1,771);b.disable(2884);b.disable(2929);b.disable(3089);b.disable(2960)} -n.ub=function(b){var c=this.g,d=this.c;if(d.isContextLost())return!1;if(!b)return this.j&&(oe(this.a,!1),this.j=!1),!1;this.o=b.focus;this.b.set((-b.index).toString(),null);++this.l;ll(this,"precompose",b);var e=[],f=b.layerStatesArray;Ma(f);var g=b.viewState.resolution,h,k,l,m;h=0;for(k=f.length;h<k;++h)m=f[h],Hg(m,g)&&"ready"==m.cc&&(l=bh(this,m.layer),l.Oc(b,m,c)&&e.push(m));f=b.size[0]*b.pixelRatio;g=b.size[1]*b.pixelRatio;if(this.a.width!=f||this.a.height!=g)this.a.width=f,this.a.height=g;d.bindFramebuffer(36160, -null);d.clearColor(0,0,0,0);d.clear(16384);d.enable(3042);d.viewport(0,0,this.a.width,this.a.height);h=0;for(k=e.length;h<k;++h)m=e[h],l=bh(this,m.layer),l.Nc(b,m,c);this.j||(oe(this.a,!0),this.j=!0);$g(b);1024<this.b.f-this.l&&b.postRenderFunctions.push(this.pd.bind(this));0!==this.i.a.length&&(b.postRenderFunctions.push(this.v),b.animate=!0);ll(this,"postcompose",b);ch(this,b);b.postRenderFunctions.push(ah)}; -n.$b=function(b,c,d,e,f,g){var h;if(this.c.isContextLost())return!1;var k=c.viewState,l=c.layerStatesArray,m;for(m=l.length-1;0<=m;--m){h=l[m];var p=h.layer;if(Hg(h,k.resolution)&&f.call(g,p)&&(h=bh(this,p).gb(b,c,d,e)))return h}};n.Jc=function(b,c,d,e){var f=!1;if(this.c.isContextLost())return!1;var g=c.viewState,h=c.layerStatesArray,k;for(k=h.length-1;0<=k;--k){var l=h[k],m=l.layer;if(Hg(l,g.resolution)&&d.call(e,m)&&(f=bh(this,m).Ic(b,c)))return!0}return f};var ml=["canvas","webgl","dom"]; -function Z(b){U.call(this);var c=nl(b);this.La=void 0!==b.loadTilesWhileAnimating?b.loadTilesWhileAnimating:!1;this.yb=void 0!==b.loadTilesWhileInteracting?b.loadTilesWhileInteracting:!1;this.Ab=void 0!==b.pixelRatio?b.pixelRatio:Df;this.zb=c.logos;this.T=function(){this.g=void 0;this.Ge.call(this,Date.now())}.bind(this);this.Da=yb();this.Bb=yb();this.Ea=0;this.b=null;this.na=Ib();this.u=this.G=null;this.a=document.createElement("DIV");this.a.className="ol-viewport"+(Gf?" 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.o=document.createElement("DIV");this.o.className="ol-overlaycontainer";this.a.appendChild(this.o);this.j=document.createElement("DIV");this.j.className="ol-overlaycontainer-stopevent";b=["click","dblclick","mousedown","touchstart","mspointerdown",yg,"mousewheel","wheel"];for(var d=0,e=b.length;d<e;++d)R(this.j,b[d],jb);this.a.appendChild(this.j); -this.ba=new qg(this);for(var f in Bg)R(this.ba,Bg[f],this.zc,this);this.Z=c.keyboardEventTarget;this.i=null;R(this.a,"wheel",this.Pa,this);R(this.a,"mousewheel",this.Pa,this);this.s=c.controls;this.h=c.interactions;this.v=c.overlays;this.Xc={};this.D=new c.Ie(this.a,this);this.R=null;this.A=[];this.ga=[];this.oa=new ih(this.yd.bind(this),this.Td.bind(this));this.Cb={};R(this,qb("layergroup"),this.Dd,this);R(this,qb("view"),this.Ud,this);R(this,qb("size"),this.Qd,this);R(this,qb("target"),this.Sd, -this);this.l(c.values);nd(this.s,function(b){b.setMap(this)},this);R(this.s,"add",function(b){b.element.setMap(this)},this);R(this.s,"remove",function(b){b.element.setMap(null)},this);nd(this.h,function(b){b.setMap(this)},this);R(this.h,"add",function(b){b.element.setMap(this)},this);R(this.h,"remove",function(b){b.element.setMap(null)},this);nd(this.v,this.kc,this);R(this.v,"add",function(b){this.kc(b.element)},this);R(this.v,"remove",function(b){var c=b.element.Ma();void 0!==c&&delete this.Xc[c.toString()]; -b.element.setMap(null)},this)}M(Z,U);n=Z.prototype;n.kd=function(b){this.s.push(b)};n.ld=function(b){this.h.push(b)};n.md=function(b){pl(this).get("layers").push(b)};n.nd=function(b){this.v.push(b)};n.kc=function(b){var c=b.Ma();void 0!==c&&(this.Xc[c.toString()]=b);b.setMap(this)};n.ha=function(b){this.render();Array.prototype.push.apply(this.A,arguments)}; -n.K=function(){ib(this.ba);ib(this.D);fb(this.a,"wheel",this.Pa,this);fb(this.a,"mousewheel",this.Pa,this);void 0!==this.c&&(x.removeEventListener("resize",this.c,!1),this.c=void 0);this.g&&(x.cancelAnimationFrame(this.g),this.g=void 0);this.set("target",null);Z.Y.K.call(this)};n.sd=function(b,c,d,e,f){if(this.b)return b=this.ua(b),this.D.$b(b,this.b,c,void 0!==d?d:null,void 0!==e?e:bc,void 0!==f?f:null)}; -n.Wd=function(b,c,d){if(!this.b)return!1;b=this.ua(b);return this.D.Jc(b,this.b,void 0!==c?c:bc,void 0!==d?d:null)};n.xc=function(b){var c=this.a.getBoundingClientRect();b=b.changedTouches?b.changedTouches[0]:b;return[b.clientX-c.left,b.clientY-c.top]};n.Xb=function(){return this.get("target")};n.Oa=function(){var b=this.Xb();return void 0!==b?Zd(b):null};n.ua=function(b){var c=this.b;return c?(b=b.slice(),Kg(c.pixelToCoordinateMatrix,b,b)):null};function pl(b){return b.get("layergroup")} -function Eh(b,c){var d=b.b;if(d){var e=c.slice(0,2);return Kg(d.coordinateToPixelMatrix,e,e)}return null}n.Qa=function(){return this.get("size")};n.O=function(){return this.get("view")};n.yd=function(b,c,d,e){var f=this.b;if(!(f&&c in f.wantedTiles&&f.wantedTiles[c][b.L.toString()]))return Infinity;b=d[0]-f.focus[0];d=d[1]-f.focus[1];return 65536*Math.log(e)+Math.sqrt(b*b+d*d)/e};n.Pa=function(b,c){var d=new og(c||b.type,this,b);this.zc(d)}; -n.zc=function(b){if(this.b){this.R=b.coordinate;b.frameState=this.b;var c=this.h.a,d;if(!1!==T(this,b))for(d=c.length-1;0<=d;d--){var e=c[d];if(e.get("active")&&!e.handleEvent(b))break}}}; -n.Pd=function(){var b=this.b,c=this.oa;if(0!==c.a.length){var d=16,e=d;if(b){var f=b.viewHints;f[0]&&(d=this.La?8:0,e=2);f[1]&&(d=this.yb?8:0,e=2)}if(c.h<d){hh(c);for(var f=0,g,h;c.h<d&&f<e&&0<c.a.length;)g=eh(c)[0],h=g.getKey(),0!==g.N()||h in c.g||(c.g[h]=!0,++c.h,++f,g.load())}}c=this.ga;d=0;for(e=c.length;d<e;++d)c[d](this,b);c.length=0};n.Qd=function(){this.render()}; -n.Sd=function(){var b;this.Xb()&&(b=this.Oa());if(this.i){for(var c=0,d=this.i.length;c<d;++c)P(this.i[c]);this.i=null}b?(b.appendChild(this.a),b=this.Z?this.Z:b,this.i=[R(b,"keydown",this.Pa,this),R(b,"keypress",this.Pa,this)],this.c||(this.c=this.xb.bind(this),x.addEventListener("resize",this.c,!1))):(ge(this.a),void 0!==this.c&&(x.removeEventListener("resize",this.c,!1),this.c=void 0));this.xb()};n.Td=function(){this.render()};n.Vd=function(){this.render()}; -n.Ud=function(){this.G&&(P(this.G),this.G=null);var b=this.O();b&&(this.G=R(b,"propertychange",this.Vd,this));this.render()};n.Ed=function(){this.render()};n.Fd=function(){this.render()};n.Dd=function(){this.u&&(this.u.forEach(P),this.u=null);var b=pl(this);b&&(this.u=[R(b,"propertychange",this.Fd,this),R(b,"change",this.Ed,this)]);this.render()};n.He=function(){this.g&&x.cancelAnimationFrame(this.g);this.T()};n.render=function(){void 0===this.g&&(this.g=x.requestAnimationFrame(this.T))};n.De=function(b){return this.h.remove(b)}; -n.Ee=function(b){return pl(this).get("layers").remove(b)}; -n.Ge=function(b){var c,d,e,f=this.Qa(),g=this.O(),h=null;if(c=void 0!==f&&0<f[0]&&0<f[1]&&g)c=!!g.ja()&&void 0!==g.I();if(c){var h=g.g.slice(),k=pl(this).Ob(),l={};c=0;for(d=k.length;c<d;++c)l[I(k[c].layer)]=k[c];e=g.N();h={animate:!1,attributions:{},coordinateToPixelMatrix:this.Da,extent:null,focus:this.R?this.R:e.center,index:this.Ea++,layerStates:l,layerStatesArray:k,logos:Va({},this.zb),pixelRatio:this.Ab,pixelToCoordinateMatrix:this.Bb,postRenderFunctions:[],size:f,skippedFeatureUids:this.Cb, -tileQueue:this.oa,time:b,usedTiles:{},viewState:e,viewHints:h,wantedTiles:{}}}if(h){b=this.A;c=f=0;for(d=b.length;c<d;++c)g=b[c],g(this,h)&&(b[f++]=g);b.length=f;h.extent=Yb(e.center,e.resolution,e.rotation,h.size)}this.b=h;this.D.ub(h);h&&(h.animate&&this.render(),Array.prototype.push.apply(this.ga,h.postRenderFunctions),0!==this.A.length||h.viewHints[0]||h.viewHints[1]||Qb(h.extent,this.na)||(T(this,new te("moveend",this,h)),Lb(h.extent,this.na)));T(this,new te("postrender",this,h));c=e=this.Pd; -this&&(c=ma(e,this));!ga(x.setImmediate)||x.Window&&x.Window.prototype&&!W("Edge")&&x.Window.prototype.setImmediate==x.setImmediate?(lf||(lf=mf()),lf(c)):x.setImmediate(c)}; -n.xb=function(){var b=this.Oa();if(b){var c=Yd(b),d=Gd&&b.currentStyle,e;if(e=d)Wd(c),e=!0;if(e&&"auto"!=d.width&&"auto"!=d.height&&!d.boxSizing)c=pe(b,d.width,"width","pixelWidth"),b=pe(b,d.height,"height","pixelHeight"),b=new Vd(c,b);else{d=new Vd(b.offsetWidth,b.offsetHeight);if(Gd){c=qe(b,"paddingLeft");e=qe(b,"paddingRight");var f=qe(b,"paddingTop"),g=qe(b,"paddingBottom"),c=new je(f,e,g,c)}else c=ke(b,"paddingLeft"),e=ke(b,"paddingRight"),f=ke(b,"paddingTop"),g=ke(b,"paddingBottom"),c=new je(parseFloat(f), -parseFloat(e),parseFloat(g),parseFloat(c));!Gd||9<=Number(Sd)?(e=ke(b,"borderLeftWidth"),f=ke(b,"borderRightWidth"),g=ke(b,"borderTopWidth"),b=ke(b,"borderBottomWidth"),b=new je(parseFloat(g),parseFloat(f),parseFloat(b),parseFloat(e))):(e=se(b,"borderLeft"),f=se(b,"borderRight"),g=se(b,"borderTop"),b=se(b,"borderBottom"),b=new je(g,f,b,e));b=new Vd(d.width-b.left-c.left-c.right-b.right,d.height-b.top-c.top-c.bottom-b.bottom)}this.set("size",[b.width,b.height])}else this.set("size",void 0)}; -function nl(b){var c=null;void 0!==b.keyboardEventTarget&&(c="string"===typeof b.keyboardEventTarget?document.getElementById(b.keyboardEventTarget):b.keyboardEventTarget);var d={},e={};if(void 0===b.logo||"boolean"===typeof b.logo&&b.logo)e["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAHGAAABxgEXwfpGAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAhNQTFRF////AP//AICAgP//AFVVQECA////K1VVSbbbYL/fJ05idsTYJFtbbcjbJllmZszWWMTOIFhoHlNiZszTa9DdUcHNHlNlV8XRIVdiasrUHlZjIVZjaMnVH1RlIFRkH1RkH1ZlasvYasvXVsPQH1VkacnVa8vWIVZjIFRjVMPQa8rXIVVkXsXRsNveIFVkIFZlIVVj3eDeh6GmbMvXH1ZkIFRka8rWbMvXIFVkIFVjIFVkbMvWH1VjbMvWIFVlbcvWIFVla8vVIFVkbMvWbMvVH1VkbMvWIFVlbcvWIFVkbcvVbMvWjNPbIFVkU8LPwMzNIFVkbczWIFVkbsvWbMvXIFVkRnB8bcvW2+TkW8XRIFVkIlZlJVloJlpoKlxrLl9tMmJwOWd0Omh1RXF8TneCT3iDUHiDU8LPVMLPVcLPVcPQVsPPVsPQV8PQWMTQWsTQW8TQXMXSXsXRX4SNX8bSYMfTYcfTYsfTY8jUZcfSZsnUaIqTacrVasrVa8jTa8rWbI2VbMvWbcvWdJObdcvUdszUd8vVeJaee87Yfc3WgJyjhqGnitDYjaarldPZnrK2oNbborW5o9bbo9fbpLa6q9ndrL3ArtndscDDutzfu8fJwN7gwt7gxc/QyuHhy+HizeHi0NfX0+Pj19zb1+Tj2uXk29/e3uLg3+Lh3+bl4uXj4ufl4+fl5Ofl5ufl5ujm5+jmySDnBAAAAFp0Uk5TAAECAgMEBAYHCA0NDg4UGRogIiMmKSssLzU7PkJJT1JTVFliY2hrdHZ3foSFhYeJjY2QkpugqbG1tre5w8zQ09XY3uXn6+zx8vT09vf4+Pj5+fr6/P39/f3+gz7SsAAAAVVJREFUOMtjYKA7EBDnwCPLrObS1BRiLoJLnte6CQy8FLHLCzs2QUG4FjZ5GbcmBDDjxJBXDWxCBrb8aM4zbkIDzpLYnAcE9VXlJSWlZRU13koIeW57mGx5XjoMZEUqwxWYQaQbSzLSkYGfKFSe0QMsX5WbjgY0YS4MBplemI4BdGBW+DQ11eZiymfqQuXZIjqwyadPNoSZ4L+0FVM6e+oGI6g8a9iKNT3o8kVzNkzRg5lgl7p4wyRUL9Yt2jAxVh6mQCogae6GmflI8p0r13VFWTHBQ0rWPW7ahgWVcPm+9cuLoyy4kCJDzCm6d8PSFoh0zvQNC5OjDJhQopPPJqph1doJBUD5tnkbZiUEqaCnB3bTqLTFG1bPn71kw4b+GFdpLElKIzRxxgYgWNYc5SCENVHKeUaltHdXx0dZ8uBI1hJ2UUDgq82CM2MwKeibqAvSO7MCABq0wXEPiqWEAAAAAElFTkSuQmCC"]= -"http://openlayers.org/";else{var f=b.logo;"string"===typeof f?e[f]="":ha(f)&&(e[f.src]=f.href)}f=b.layers instanceof gi?b.layers:new gi({layers:b.layers});d.layergroup=f;d.target=b.target;d.view=void 0!==b.view?b.view:new Wc;var f=Zg,g;void 0!==b.renderer?Array.isArray(b.renderer)?g=b.renderer:"string"===typeof b.renderer&&(g=[b.renderer]):g=ml;var h,k;h=0;for(k=g.length;h<k;++h){var l=g[h];if("canvas"==l){if(Ff){f=kk;break}}else if("dom"==l){f=rk;break}else if("webgl"==l&&yf){f=jl;break}}var m; -void 0!==b.controls?m=Array.isArray(b.controls)?new ld(b.controls.slice()):b.controls:m=ef();if(void 0!==b.interactions)g=Array.isArray(b.interactions)?new ld(b.interactions.slice()):b.interactions;else{g={};h=new ld;k=new jh;(void 0!==g.altShiftDragRotate?g.altShiftDragRotate:1)&&h.push(new Fh);(void 0!==g.doubleClickZoom?g.doubleClickZoom:1)&&h.push(new ph({delta:g.zoomDelta,duration:g.zoomDuration}));(void 0!==g.dragPan?g.dragPan:1)&&h.push(new Ah({kinetic:k}));(void 0!==g.pinchRotate?g.pinchRotate: -1)&&h.push(new Zh);(void 0!==g.pinchZoom?g.pinchZoom:1)&&h.push(new ci({duration:g.zoomDuration}));if(void 0!==g.keyboard?g.keyboard:1)h.push(new Th),h.push(new Vh({delta:g.zoomDelta,duration:g.zoomDuration}));(void 0!==g.mouseWheelZoom?g.mouseWheelZoom:1)&&h.push(new Xh({duration:g.zoomDuration}));(void 0!==g.shiftDragZoom?g.shiftDragZoom:1)&&h.push(new Sh({duration:g.zoomDuration}));g=h}b=void 0!==b.overlays?Array.isArray(b.overlays)?new ld(b.overlays.slice()):b.overlays:new ld;return{controls:m, -interactions:g,keyboardEventTarget:c,logos:e,overlays:b,Ie:f,values:d}}lc(li);lc(si);si.forEach(function(b){li.forEach(function(c){mc(b,c,mi);mc(c,b,ni)})});function ql(b){U.call(this);this.j=b.id;this.i=void 0!==b.insertFirst?b.insertFirst:!0;this.o=void 0!==b.stopEvent?b.stopEvent:!0;this.b=document.createElement("DIV");this.b.className="ol-overlay-container";this.b.style.position="absolute";this.autoPan=void 0!==b.autoPan?b.autoPan:!1;this.g=void 0!==b.autoPanAnimation?b.autoPanAnimation:{};this.h=void 0!==b.autoPanMargin?b.autoPanMargin:20;this.a={kb:"",rb:"",vb:"",wb:"",visible:!0};this.c=null;R(this,qb("element"),this.Bd,this);R(this,qb("map"), -this.Kd,this);R(this,qb("offset"),this.Ld,this);R(this,qb("position"),this.Nd,this);R(this,qb("positioning"),this.Od,this);void 0!==b.element&&this.set("element",b.element);this.set("offset",void 0!==b.offset?b.offset:[0,0]);this.set("positioning",void 0!==b.positioning?b.positioning:"top-left");void 0!==b.position&&this.Ec(b.position)}M(ql,U);n=ql.prototype;n.Ma=function(){return this.j};n.Bd=function(){ee(this.b);var b=this.get("element");b&&this.b.appendChild(b)}; -n.Kd=function(){this.c&&(ge(this.b),P(this.c),this.c=null);var b=this.get("map");b&&(this.c=R(b,"postrender",this.render,this),rl(this),b=this.o?b.j:b.o,this.i?fe(b,this.b,0):b.appendChild(this.b))};n.render=function(){rl(this)};n.Ld=function(){rl(this)}; -n.Nd=function(){rl(this);if(void 0!==this.get("position")&&this.autoPan){var b=this.get("map");if(void 0!==b&&b.Oa()){var c=sl(b.Oa(),b.Qa()),d=this.get("element"),e=d.offsetWidth,f=d.currentStyle||x.getComputedStyle(d),e=e+(parseInt(f.marginLeft,10)+parseInt(f.marginRight,10)),f=d.offsetHeight,g=d.currentStyle||x.getComputedStyle(d),f=f+(parseInt(g.marginTop,10)+parseInt(g.marginBottom,10)),h=sl(d,[e,f]),d=this.h;Mb(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=b.O().ja(),e=Eh(b,d),c=[e[0]+c[0],e[1]+c[1]],this.g&&(this.g.source=d,b.ha(cd(this.g))),b.O().pa(b.ua(c)))}}};n.Od=function(){rl(this)};n.setMap=function(b){this.set("map",b)};n.Ec=function(b){this.set("position",b)}; -function sl(b,c){var d=Yd(b),e=new Ud(0,0),f;f=d?Yd(d):document;var g;(g=!Gd||9<=Number(Sd))||(Wd(f),g=!0);b!=(g?f.documentElement:f.body)&&(f=le(b),g=Wd(d).a,d=g.scrollingElement?g.scrollingElement:Jd?g.body||g.documentElement:g.documentElement,g=g.parentWindow||g.defaultView,d=Gd&&Qd("10")&&g.pageYOffset!=d.scrollTop?new Ud(d.scrollLeft,d.scrollTop):new Ud(g.pageXOffset||d.scrollLeft,g.pageYOffset||d.scrollTop),e.x=f.left+d.x,e.y=f.top+d.y);return[e.x,e.y,e.x+c[0],e.y+c[1]]} -function tl(b,c){b.a.visible!==c&&(oe(b.b,c),b.a.visible=c)} -function rl(b){var c=b.get("map"),d=b.get("position");if(void 0!==c&&c.b&&void 0!==d){var d=Eh(c,d),e=c.Qa(),c=b.b.style,f=b.get("offset"),g=b.get("positioning"),h=f[0],f=f[1];if("bottom-right"==g||"center-right"==g||"top-right"==g)""!==b.a.rb&&(b.a.rb=c.left=""),h=Math.round(e[0]-d[0]-h)+"px",b.a.vb!=h&&(b.a.vb=c.right=h);else{""!==b.a.vb&&(b.a.vb=c.right="");if("bottom-center"==g||"center-center"==g||"top-center"==g)h-=me(b.b).width/2;h=Math.round(d[0]+h)+"px";b.a.rb!=h&&(b.a.rb=c.left=h)}if("bottom-left"== -g||"bottom-center"==g||"bottom-right"==g)""!==b.a.wb&&(b.a.wb=c.top=""),d=Math.round(e[1]-d[1]-f)+"px",b.a.kb!=d&&(b.a.kb=c.bottom=d);else{""!==b.a.kb&&(b.a.kb=c.bottom="");if("center-left"==g||"center-center"==g||"center-right"==g)f-=me(b.b).height/2;d=Math.round(d[1]+f)+"px";b.a.wb!=d&&(b.a.wb=c.top=d)}tl(b,!0)}else tl(b,!1)};function ul(){this.defaultDataProjection=null}function vl(b,c,d){var e;d&&(e={dataProjection:d.dataProjection?d.dataProjection:b.f(Kj(c)),featureProjection:d.featureProjection});var f;e&&(f={featureProjection:e.featureProjection,dataProjection:e.dataProjection?e.dataProjection:b.defaultDataProjection,rightHanded:e.rightHanded},e.decimals&&(f.decimals=e.decimals));return f} -function wl(b,c){var d=c?kc(c.featureProjection):null,e=c?kc(c.dataProjection):null;if(d&&e&&!vc(d,e))if(b instanceof yc)d=b.o(e,d);else{e=wc(e,d);d=[b[0],b[1],b[0],b[3],b[2],b[1],b[2],b[3]];e(d,d,2);var f=[d[0],d[2],d[4],d[6]],g=[d[1],d[3],d[5],d[7]],d=Math.min.apply(null,f),e=Math.min.apply(null,g),f=Math.max.apply(null,f),g=Math.max.apply(null,g),d=Nb(d,e,f,g,void 0)}else d=b;return d};function xl(){this.defaultDataProjection=null}M(xl,ul);function Kj(b){return ha(b)?b:"string"===typeof b?(b=JSON.parse(b))?b:null:null}xl.prototype.U=function(){return"json"};xl.prototype.g=function(b,c){return this.a(Kj(b),vl(this,b,c))};xl.prototype.b=function(b,c){return this.h(Kj(b),vl(this,b,c))};function yl(b,c,d,e,f){var g=NaN,h=NaN,k=(d-c)/e;if(0!==k)if(1==k)g=b[c],h=b[c+1];else if(2==k)g=.5*b[c]+.5*b[c+e],h=.5*b[c+1]+.5*b[c+e+1];else{var h=b[c],k=b[c+1],l=0,g=[0],m;for(m=c+e;m<d;m+=e){var p=b[m],q=b[m+1],l=l+Math.sqrt((p-h)*(p-h)+(q-k)*(q-k));g.push(l);h=p;k=q}d=.5*l;l=0;m=g.length;for(p=!1;l<m;)h=l+(m-l>>1),k=+Ga(g[h],d),0>k?l=h+1:(m=h,p=!k);h=p?l:~l;0>h?(d=(d-g[-h-2])/(g[-h-1]-g[-h-2]),c+=(-h-2)*e,g=b[c],g=g+d*(b[c+e]-g),h=b[c+1],h=h+d*(b[c+e+1]-h)):(g=b[c+h*e],h=b[c+h*e+1])}return f? -(f[0]=g,f[1]=h,f):[g,h]};function zl(b,c){Ac.call(this);this.c=null;this.j=-1;this.X(b,c)}M(zl,Ac);n=zl.prototype;n.clone=function(){var b=new zl(null);V(b,this.g,this.a.slice());b.w();return b};n.ra=function(){return Gc(this.a,0,this.a.length,this.b)};function Vi(b){if(b.j!=b.f){var c;c=yl(b.a,0,b.a.length,b.b,b.c);b.c=c;b.j=b.f}return b.c}n.Na=function(b){var c=[];c.length=Ic(this.a,0,this.a.length,this.b,b,c,0);b=new zl(null);V(b,"XY",c);b.w();return b};n.U=function(){return"LineString"}; -n.X=function(b,c){b?(Cc(this,c,b,1),this.a||(this.a=[]),this.a.length=Ec(this.a,0,b,this.b)):V(this,"XY",null);this.w()};function Al(b,c){Ac.call(this);this.c=[];this.X(b,c)}M(Al,Ac);n=Al.prototype;n.clone=function(){var b=new Al(null),c=this.c.slice();V(b,this.g,this.a.slice());b.c=c;b.w();return b};n.ra=function(){return Hc(this.a,0,this.c,this.b)};n.bb=function(){return this.c};function Wi(b){var c=[],d=b.a,e=0,f=b.c;b=b.b;var g,h;g=0;for(h=f.length;g<h;++g){var k=f[g],e=yl(d,e,k,b);Ja(c,e);e=k}return c} -n.Na=function(b){var c=[],d=[],e=this.a,f=this.c,g=this.b,h=0,k=0,l,m;l=0;for(m=f.length;l<m;++l){var p=f[l],k=Ic(e,h,p,g,b,c,k);d.push(k);h=p}c.length=k;b=new Al(null);V(b,"XY",c);b.c=d;b.w();return b};n.U=function(){return"MultiLineString"};n.X=function(b,c){if(b){Cc(this,c,b,2);this.a||(this.a=[]);var d=Fc(this.a,0,b,this.b,this.c);this.a.length=0===d.length?0:d[d.length-1]}else d=this.c,V(this,"XY",null),this.c=d;this.w()};function Bl(b,c){Ac.call(this);this.X(b,c)}M(Bl,Ac);Bl.prototype.clone=function(){var b=new Bl(null);V(b,this.g,this.a.slice());b.w();return b};Bl.prototype.ra=function(){return Gc(this.a,0,this.a.length,this.b)};Bl.prototype.U=function(){return"MultiPoint"};Bl.prototype.X=function(b,c){b?(Cc(this,c,b,1),this.a||(this.a=[]),this.a.length=Ec(this.a,0,b,this.b)):V(this,"XY",null);this.w()};function Cl(b,c){Ac.call(this);this.c=[];this.A=-1;this.D=null;this.G=-1;this.j=null;this.X(b,c)}M(Cl,Ac);n=Cl.prototype;n.clone=function(){for(var b=new Cl(null),c=this.c.length,d=Array(c),e=0;e<c;++e)d[e]=this.c[e].slice();V(b,this.g,this.a.slice());b.c=d;b.w();return b};n.ra=function(b){var c;void 0!==b?(c=Xi(this).slice(),Rc(c,this.c,this.b,b)):c=this.a;b=c;c=this.c;var d=this.b,e=0,f=[],g=0,h,k;h=0;for(k=c.length;h<k;++h){var l=c[h];f[g++]=Hc(b,e,l,d,f[g]);e=l[l.length-1]}f.length=g;return f}; -function Yi(b){if(b.A!=b.f){var c=b.a,d=b.c,e=b.b,f=0,g=[],h,k,l=Ib();h=0;for(k=d.length;h<k;++h){var m=d[h],l=c,p=m[0],q=e,r=Ob(void 0),l=Sb(r,l,f,p,q);g.push((l[0]+l[2])/2,(l[1]+l[3])/2);f=m[m.length-1]}c=Xi(b);d=b.c;e=b.b;h=0;k=[];m=0;for(l=d.length;m<l;++m)f=d[m],k=Nc(c,h,f,e,g,2*m,k),h=f[f.length-1];b.D=k;b.A=b.f}return b.D} -function Xi(b){if(b.G!=b.f){var c=b.a,d;a:{d=b.c;var e,f;e=0;for(f=d.length;e<f;++e)if(!Pc(c,d[e],b.b,void 0)){d=!1;break a}d=!0}d?b.j=c:(b.j=c.slice(),b.j.length=Rc(b.j,b.c,b.b));b.G=b.f}return b.j}n.Na=function(b){var c=[],d=[],e=this.a,f=this.c,g=this.b;b=Math.sqrt(b);var h=0,k=0,l,m;l=0;for(m=f.length;l<m;++l){var p=f[l],q=[],k=Jc(e,h,p,g,b,c,k,q);d.push(q);h=p[p.length-1]}c.length=k;e=new Cl(null);V(e,"XY",c);e.c=d;e.w();return e};n.U=function(){return"MultiPolygon"}; -n.X=function(b,c){if(b){Cc(this,c,b,3);this.a||(this.a=[]);var d=this.a,e=this.b,f=this.c,g=0,f=f?f:[],h=0,k,l;k=0;for(l=b.length;k<l;++k)g=Fc(d,g,b[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])}else d=this.c,V(this,"XY",null),this.c=d;this.w()};function Dl(b){b=b?b:{};this.defaultDataProjection=null;this.c=b.geometryName}M(Dl,xl);function El(b){var c="XY";!0===b.hasZ&&!0===b.hasM?c="XYZM":!0===b.hasZ?c="XYZ":!0===b.hasM&&(c="XYM");return c} -var Fl={Point:function(b){return void 0!==b.m&&void 0!==b.z?new Lc([b.x,b.y,b.z,b.m],"XYZM"):void 0!==b.z?new Lc([b.x,b.y,b.z],"XYZ"):void 0!==b.m?new Lc([b.x,b.y,b.m],"XYM"):new Lc([b.x,b.y])},LineString:function(b){return new zl(b.paths[0],El(b))},Polygon:function(b){return new Sc(b.rings,El(b))},MultiPoint:function(b){return new Bl(b.points,El(b))},MultiLineString:function(b){return new Al(b.paths,El(b))},MultiPolygon:function(b){return new Cl(b.rings,El(b))}}; -Dl.prototype.a=function(b,c){var d;if(d=b.geometry){var e;if(ea(d.x)&&ea(d.y))e="Point";else if(d.points)e="MultiPoint";else if(d.paths)e=1===d.paths.length?"LineString":"MultiLineString";else if(d.rings){var f=d.rings,g=El(d),h=[];e=[];var k,l;k=0;for(l=f.length;k<l;++k){var m=Ia(f[k]);Oc(m,0,m.length,g.length)?h.push([f[k]]):e.push(f[k])}for(;e.length;){f=e.shift();g=!1;for(k=h.length-1;0<=k;k--)if(Mb((new Kc(h[k][0])).C(),(new Kc(f)).C())){h[k].push(f);g=!0;break}g||h.push([f.reverse()])}d=Va({}, -d);1===h.length?(e="Polygon",d.rings=h[0]):(e="MultiPolygon",d.rings=h)}d=wl((0,Fl[e])(d),c)}else d=null;h=new Fj;this.c&&Hj(h,this.c);Gj(h,d);c&&c.Tb&&b.attributes[c.Tb]&&(h.g=b.attributes[c.Tb],h.w());b.attributes&&h.l(b.attributes);return h};Dl.prototype.h=function(b,c){var d=c?c:{};if(b.features){var e=[],f=b.features,g,h;d.Tb=b.objectIdFieldName;g=0;for(h=f.length;g<h;++g)e.push(this.a(f[g],d));return e}return[this.a(b,d)]}; -Dl.prototype.f=function(b){return b.spatialReference&&b.spatialReference.wkid?kc("EPSG:"+b.spatialReference.wkid):null};function Gl(b){yc.call(this);this.a=b?b:null;Hl(this)}M(Gl,yc);function Il(b){var c,d;if(b.a)for(c=0,d=b.a.length;c<d;++c)fb(b.a[c],"change",b.w,b)}function Hl(b){var c,d;if(b.a)for(c=0,d=b.a.length;c<d;++c)R(b.a[c],"change",b.w,b)}n=Gl.prototype;n.clone=function(){var b=new Gl(null),c=this.a,d=[],e,f;e=0;for(f=c.length;e<f;++e)d.push(c[e].clone());Il(b);b.a=d;Hl(b);b.w();return b};n.lb=function(b){Ob(b);for(var c=this.a,d=0,e=c.length;d<e;++d)Rb(b,c[d].C());return b}; -n.Rb=function(b){this.s!=this.f&&(Wa(this.h),this.i=0,this.s=this.f);if(0>b||0!==this.i&&b<this.i)return this;var c=b.toString();if(this.h.hasOwnProperty(c))return this.h[c];var d=[],e=this.a,f=!1,g,h;g=0;for(h=e.length;g<h;++g){var k=e[g],l=k.Rb(b);d.push(l);l!==k&&(f=!0)}if(f)return b=new Gl(null),Il(b),b.a=d,Hl(b),b.w(),this.h[c]=b;this.i=b;return this};n.U=function(){return"GeometryCollection"};n.rotate=function(b,c){for(var d=this.a,e=0,f=d.length;e<f;++e)d[e].rotate(b,c);this.w()}; -n.Gb=function(b){var c=this.a,d,e;d=0;for(e=c.length;d<e;++d)c[d].Gb(b);this.w()};n.K=function(){Il(this);Gl.Y.K.call(this)};function Jl(b){b=b?b:{};this.defaultDataProjection=null;this.defaultDataProjection=kc(b.defaultDataProjection?b.defaultDataProjection:"EPSG:4326");this.c=b.geometryName}M(Jl,xl);function Kl(b,c){return b?wl((0,Ll[b.type])(b),c):null} -var Ll={Point:function(b){return new Lc(b.coordinates)},LineString:function(b){return new zl(b.coordinates)},Polygon:function(b){return new Sc(b.coordinates)},MultiPoint:function(b){return new Bl(b.coordinates)},MultiLineString:function(b){return new Al(b.coordinates)},MultiPolygon:function(b){return new Cl(b.coordinates)},GeometryCollection:function(b,c){var d=b.geometries.map(function(b){return Kl(b,c)});return new Gl(d)}}; -Jl.prototype.a=function(b,c){var d=Kl(b.geometry,c),e=new Fj;this.c&&Hj(e,this.c);Gj(e,d);void 0!==b.id&&(e.g=b.id,e.w());b.properties&&e.l(b.properties);return e};Jl.prototype.h=function(b,c){if("Feature"==b.type)return[this.a(b,c)];if("FeatureCollection"==b.type){var d=[],e=b.features,f,g;f=0;for(g=e.length;f<g;++f)d.push(this.a(e[f],c));return d}return[]};Jl.prototype.f=function(b){return(b=b.crs)?"name"==b.type?kc(b.properties.name):"EPSG"==b.type?kc("EPSG:"+b.properties.code):null:this.defaultDataProjection};function Ml(b,c,d){if("array"==ba(c))for(var e=0;e<c.length;e++)Ml(b,String(c[e]),d);else null!=c&&d.push("&",b,""===c?"":"=",encodeURIComponent(String(c)))};function Nl(b,c,d){Ac.call(this);Ol(this,b,c?c:0,d)}M(Nl,Ac);Nl.prototype.clone=function(){var b=new Nl(null);V(b,this.g,this.a.slice());b.w();return b};Nl.prototype.lb=function(b){var c=this.a,d=c[this.b]-c[0];return Nb(c[0]-d,c[1]-d,c[0]+d,c[1]+d,b)};Nl.prototype.U=function(){return"Circle"};function Ol(b,c,d,e){if(c){Cc(b,e,c,0);b.a||(b.a=[]);e=b.a;c=Dc(e,c);e[c++]=e[0]+d;var f;d=1;for(f=b.b;d<f;++d)e[c++]=e[d];e.length=c}else V(b,"XY",null);b.w()};function Pl(b,c,d,e,f){Be.call(this,b,c);this.g=d;this.b=new Image;null!==e&&(this.b.crossOrigin=e);this.f={};this.c=null;this.h=f}M(Pl,Be);n=Pl.prototype;n.K=function(){1==this.state&&Ql(this);this.a&&ib(this.a);this.state=5;Ce(this);Pl.Y.K.call(this)};n.S=function(b){if(void 0!==b){var c=I(b);if(c in this.f)return this.f[c];b=Za(this.f)?this.b:this.b.cloneNode(!1);return this.f[c]=b}return this.b};n.getKey=function(){return this.g};n.me=function(){this.state=3;Ql(this);Ce(this)}; -n.ne=function(){this.state=this.b.naturalWidth&&this.b.naturalHeight?2:4;Ql(this);Ce(this)};n.load=function(){0==this.state&&(this.state=1,Ce(this),this.c=[R(this.b,"error",this.me,this,!0),R(this.b,"load",this.ne,this,!0)],this.h(this,this.g))};function Ql(b){b.c.forEach(P);b.c=null};function Rl(b,c){S.call(this,b);this.feature=c}M(Rl,S); -function Sl(b){xh.call(this,{handleDownEvent:Tl,handleEvent:Ul,handleUpEvent:Vl});this.R=null;this.o=!1;this.Ea=b.source?b.source:null;this.oa=b.features?b.features:null;this.jd=b.snapTolerance?b.snapTolerance:12;this.D=b.type;this.b=Wl(this.D);this.na=b.minPoints?b.minPoints:this.b===Xl?3:2;this.ga=b.maxPoints?b.maxPoints:Infinity;var c=b.geometryFunction;if(!c)if("Circle"===this.D)c=function(b,c){var d=c?c:new Nl([NaN,NaN]),h=b[0],k=b[1],l=h[0]-k[0],h=h[1]-k[1];Ol(d,b[0],Math.sqrt(l*l+h*h));return d}; -else{var d,c=this.b;c===Yl?d=Lc:c===$l?d=zl:c===Xl&&(d=Sc);c=function(b,c){var g=c;g?g.X(b):g=new d(b);return g}}this.u=c;this.A=this.i=this.a=this.j=this.g=this.h=null;this.od=b.clickTolerance?b.clickTolerance*b.clickTolerance:36;this.Z=new Y({source:new Tj({useSpatialIndex:!1,wrapX:b.wrapX?b.wrapX:!1}),style:b.style?b.style:am()});this.Da=b.geometryName;this.Cb=b.condition?b.condition:th;this.ba=b.freehandCondition?b.freehandCondition:uh;R(this,qb("active"),this.La,this)}M(Sl,xh); -function am(){var b=Ni();return function(c){return b[c.M().U()]}}Sl.prototype.setMap=function(b){Sl.Y.setMap.call(this,b);this.La()};function Ul(b){this.b!==$l&&this.b!==Xl||!this.ba(b)||(this.o=!0);var c=!this.o;this.o&&b.type===Ag?(bm(this,b),c=!1):b.type===zg?c=cm(this,b):b.type===tg&&(c=!1);return yh.call(this,b)&&c}function Tl(b){return this.Cb(b)?(this.R=b.pixel,!0):this.o?(this.R=b.pixel,this.h||dm(this,b),!0):!1} -function Vl(b){this.o=!1;var c=this.R,d=b.pixel,e=c[0]-d[0],c=c[1]-d[1],d=!0;e*e+c*c<=this.od&&(cm(this,b),this.h?this.b===em?fm(this):gm(this,b)?fm(this):bm(this,b):(dm(this,b),this.b===Yl&&fm(this)),d=!1);return d} -function cm(b,c){if(b.h){var d=c.coordinate,e=b.g.M(),f;b.b===Yl?f=b.a:b.b===Xl?(f=b.a[0],f=f[f.length-1],gm(b,c)&&(d=b.h.slice())):(f=b.a,f=f[f.length-1]);f[0]=d[0];f[1]=d[1];b.u(b.a,e);b.j&&b.j.M().X(d);e instanceof Sc&&b.b!==Xl?(b.i||(b.i=new Fj(new zl(null))),0>=e.c.length?e=null:(d=new Kc(null),V(d,e.g,e.a.slice(0,e.c[0])),d.w(),e=d),d=b.i.M(),V(d,e.g,e.a),d.w()):b.A&&(d=b.i.M(),d.X(b.A));hm(b)}else e=c.coordinate.slice(),b.j?b.j.M().X(e):(b.j=new Fj(new Lc(e)),hm(b));return!0} -function gm(b,c){var d=!1;if(b.g){var e=!1,f=[b.h];b.b===$l?e=b.a.length>b.na:b.b===Xl&&(e=b.a[0].length>b.na,f=[b.a[0][0],b.a[0][b.a[0].length-2]]);if(e)for(var e=c.map,g=0,h=f.length;g<h;g++){var k=f[g],l=Eh(e,k),m=c.pixel,d=m[0]-l[0],l=m[1]-l[1],m=b.o&&b.ba(c)?1:b.jd;if(d=Math.sqrt(d*d+l*l)<=m){b.h=k;break}}}return d} -function dm(b,c){var d=c.coordinate;b.h=d;b.b===Yl?b.a=d.slice():b.b===Xl?(b.a=[[d.slice(),d.slice()]],b.A=b.a[0]):(b.a=[d.slice(),d.slice()],b.b===em&&(b.A=b.a));b.A&&(b.i=new Fj(new zl(b.A)));d=b.u(b.a);b.g=new Fj;b.Da&&Hj(b.g,b.Da);Gj(b.g,d);hm(b);T(b,new Rl("drawstart",b.g))} -function bm(b,c){var d=c.coordinate,e=b.g.M(),f,g;if(b.b===$l)b.h=d.slice(),g=b.a,g.push(d.slice()),f=g.length>b.ga,b.u(g,e);else if(b.b===Xl){g=b.a[0];g.push(d.slice());if(f=g.length>b.ga)b.h=g[0];b.u(b.a,e)}hm(b);f&&fm(b)} -function fm(b){var c=im(b),d=b.a,e=c.M();b.b===$l?(d.pop(),b.u(d,e)):b.b===Xl&&(d[0].pop(),d[0].push(d[0][0]),b.u(d,e));"MultiPoint"===b.D?Gj(c,new Bl([d])):"MultiLineString"===b.D?Gj(c,new Al([d])):"MultiPolygon"===b.D&&Gj(c,new Cl([d]));T(b,new Rl("drawend",c));b.oa&&b.oa.push(c);b.Ea&&b.Ea.Eb(c)}function im(b){b.h=null;var c=b.g;c&&(b.g=null,b.j=null,b.i=null,b.Z.W().clear(!0));return c}Sl.prototype.v=cc; -function hm(b){var c=[];b.g&&c.push(b.g);b.i&&c.push(b.i);b.j&&c.push(b.j);b=b.Z.W();b.clear(!0);b.Fb(c)}Sl.prototype.La=function(){var b=this.T,c=this.get("active");b&&c||im(this);this.Z.setMap(c?b:null)};function Wl(b){var c;"Point"===b||"MultiPoint"===b?c=Yl:"LineString"===b||"MultiLineString"===b?c=$l:"Polygon"===b||"MultiPolygon"===b?c=Xl:"Circle"===b&&(c=em);return c}var Yl="Point",$l="LineString",Xl="Polygon",em="Circle";function jm(b,c,d,e,f,g,h,k,l,m,p){Be.call(this,f,0);this.u=void 0!==p?p:!1;this.s=h;this.o=k;this.c=null;this.f={};this.g=c;this.l=e;this.i=g?g:f;this.b=[];this.Sa=null;this.h=0;g=Je(e,this.i);k=this.l.C();f=this.g.C();g=k?Zb(g,k):g;if(0===Tb(g))this.state=4;else if((k=b.C())&&(f?f=Zb(f,k):f=k),k=e.I(this.i[0]),p=Xb(g),e=wc(d,b)(p,void 0,p.length),k=d.getPointResolution(k,p),p=oc(d),void 0!==p&&(k*=p),p=oc(b),void 0!==p&&(k/=p),e=b.getPointResolution(k,e)/k,isFinite(e)&&0<e&&(k/=e),e=k,!isFinite(e)|| -0>=e)this.state=4;else if(this.j=new Cj(b,d,g,f,e*(void 0!==m?m:.5)),0===this.j.c.length)this.state=4;else if(this.h=Qe(c,e),d=Ej(this.j),f&&(b.a?(d[1]=Ba(d[1],f[1],f[3]),d[3]=Ba(d[3],f[1],f[3])):d=Zb(d,f)),Tb(d))if(b=Ke(c,d,this.h),100>b.da()*(b.c-b.b+1)){for(c=b.a;c<=b.f;c++)for(d=b.b;d<=b.c;d++)(m=l(this.h,c,d,h))&&this.b.push(m);0===this.b.length&&(this.state=4)}else this.state=3;else this.state=4}M(jm,Be);jm.prototype.K=function(){1==this.state&&(this.Sa.forEach(P),this.Sa=null);jm.Y.K.call(this)}; -jm.prototype.S=function(b){if(void 0!==b){var c=I(b);if(c in this.f)return this.f[c];b=Za(this.f)?this.c:this.c.cloneNode(!1);return this.f[c]=b}return this.c}; -jm.prototype.Yc=function(){var b=[];this.b.forEach(function(c){c&&2==c.N()&&b.push({extent:Je(this.g,c.L),image:c.S()})},this);this.b.length=0;if(0===b.length)this.state=3;else{var c=this.i[0],d=Pe(this.l,c),e=ea(d)?d:d[0],d=ea(d)?d:d[1],c=this.l.I(c),f=this.g.I(this.h),g=Je(this.l,this.i);this.c=Bj(e,d,this.s,f,this.g.C(),c,g,this.j,b,this.o,this.u);this.state=2}Ce(this)}; -jm.prototype.load=function(){if(0==this.state){this.state=1;Ce(this);var b=0;this.Sa=[];this.b.forEach(function(c){var d=c.N();if(0==d||1==d){b++;var e;e=R(c,"change",function(){var d=c.N();if(2==d||3==d||4==d)P(e),b--,0===b&&(this.Sa.forEach(P),this.Sa=null,this.Yc())},this);this.Sa.push(e)}},this);this.b.forEach(function(b){0==b.N()&&b.load()});0===b&&x.setTimeout(this.Yc.bind(this),0)}};function km(b){ik.call(this,{attributions:b.attributions,cacheSize:b.cacheSize,extent:b.extent,logo:b.logo,opaque:b.opaque,projection:b.projection,state:b.state,tileGrid:b.tileGrid,tileLoadFunction:b.tileLoadFunction?b.tileLoadFunction:lm,tilePixelRatio:b.tilePixelRatio,tileUrlFunction:b.tileUrlFunction,url:b.url,urls:b.urls,wrapX:b.wrapX});this.crossOrigin=void 0!==b.crossOrigin?b.crossOrigin:null;this.tileClass=void 0!==b.tileClass?b.tileClass:Pl;this.b={};this.o={};this.T=b.reprojectionErrorThreshold} -M(km,ik);n=km.prototype;n.Qc=function(){if(ze(this.a))return!0;for(var b in this.b)if(ze(this.b[b]))return!0;return!1};n.Rc=function(b,c){var d=this.cb(b);Ae(this.a,this.a==d?c:{});for(var e in this.b){var f=this.b[e];Ae(f,f==d?c:{})}};n.mb=function(){return 0};n.Pb=function(b){return this.c&&b&&!vc(this.c,b)?!1:km.Y.Pb.call(this,b)};n.la=function(b){var c=this.c;return!this.tileGrid||c&&!vc(c,b)?(c=I(b).toString(),c in this.o||(this.o[c]=Se(b)),this.o[c]):this.tileGrid}; -n.cb=function(b){var c=this.c;if(!c||vc(c,b))return this.a;b=I(b).toString();b in this.b||(this.b[b]=new ye);return this.b[b]};function mm(b,c,d,e,f,g){c=[c,d,e];f=(d=Ye(b,c,g))?b.tileUrlFunction(d,f,g):void 0;f=new b.tileClass(c,void 0!==f?0:4,void 0!==f?f:"",b.crossOrigin,b.tileLoadFunction);f.key="";R(f,"change",b.D,b);return f} -function Tg(b,c,d,e,f,g){if(b.c&&g&&!vc(b.c,g)){var h=b.cb(g);d=[c,d,e];c=b.nb.apply(b,d);if(we(h,c))return h.get(c);var k=b.c;e=b.la(k);var l=b.la(g),m=Ye(b,d,g);b=new jm(k,e,g,l,d,m,b.ob(f),0,function(b,c,d,e){return nm(this,b,c,d,e,k)}.bind(b),b.T,!1);h.set(c,b);return b}return nm(b,c,d,e,f,g)} -function nm(b,c,d,e,f,g){var h=null,k=b.nb(c,d,e);if(we(b.a,k)){if(h=b.a.get(k),""!=h.key){var l=h;h.a&&""==h.a.key?(h=h.a,2==l.N()&&(h.a=l)):(h=mm(b,c,d,e,f,g),2==l.N()?h.a=l:l.a&&2==l.a.N()&&(h.a=l.a,l.a=null));h.a&&(h.a.a=null);b.a.replace(k,h)}}else h=mm(b,c,d,e,f,g),b.a.set(k,h);return h}function lm(b,c){b.S().src=c};function om(b){var c=void 0!==b.projection?b.projection:"EPSG:3857",d;if(void 0!==b.tileGrid)d=b.tileGrid;else{d={extent:Te(c),maxZoom:b.maxZoom,minZoom:b.minZoom,tileSize:b.tileSize};var e={};Va(e,void 0!==d?d:{});void 0===e.extent&&(e.extent=kc("EPSG:3857").C());e.resolutions=Ue(e.extent,e.maxZoom,e.tileSize);delete e.maxZoom;d=new Fe(e)}km.call(this,{attributions:b.attributions,cacheSize:b.cacheSize,crossOrigin:b.crossOrigin,logo:b.logo,opaque:b.opaque,projection:c,reprojectionErrorThreshold:b.reprojectionErrorThreshold, -tileGrid:d,tileLoadFunction:b.tileLoadFunction,tilePixelRatio:b.tilePixelRatio,tileUrlFunction:b.tileUrlFunction,url:b.url,urls:b.urls,wrapX:void 0!==b.wrapX?b.wrapX:!0})}M(om,km);function pm(b){b=b||{};var c;void 0!==b.attributions?c=b.attributions:c=[qm];om.call(this,{attributions:c,cacheSize:b.cacheSize,crossOrigin:void 0!==b.crossOrigin?b.crossOrigin:"anonymous",opaque:void 0!==b.opaque?b.opaque:!0,maxZoom:void 0!==b.maxZoom?b.maxZoom:19,reprojectionErrorThreshold:b.reprojectionErrorThreshold,tileLoadFunction:b.tileLoadFunction,url:void 0!==b.url?b.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",wrapX:b.wrapX})}M(pm,om);var qm=new jd({html:'© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'});function rm(b){b=b||{};var c=sm[b.layer];this.u=b.layer;om.call(this,{attributions:c.attributions,cacheSize:b.cacheSize,crossOrigin:"anonymous",logo:"https://developer.mapquest.com/content/osm/mq_logo.png",maxZoom:c.maxZoom,reprojectionErrorThreshold:b.reprojectionErrorThreshold,opaque:c.opaque,tileLoadFunction:b.tileLoadFunction,url:void 0!==b.url?b.url:"https://otile{1-4}-s.mqcdn.com/tiles/1.0.0/"+this.u+"/{z}/{x}/{y}.jpg"})}M(rm,om); -var tm=new jd({html:'Tiles Courtesy of <a href="http://www.mapquest.com/">MapQuest</a>'}),sm={osm:{maxZoom:19,opaque:!0,attributions:[tm,qm]},sat:{maxZoom:18,opaque:!0,attributions:[tm,new jd({html:"Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency"})]},hyb:{maxZoom:18,opaque:!1,attributions:[tm,qm]}};function um(b){b=b||{};km.call(this,{attributions:b.attributions,cacheSize:b.cacheSize,crossOrigin:b.crossOrigin,logo:b.logo,projection:b.projection,reprojectionErrorThreshold:b.reprojectionErrorThreshold,tileGrid:b.tileGrid,tileLoadFunction:b.tileLoadFunction,url:b.url,urls:b.urls,wrapX:void 0!==b.wrapX?b.wrapX:!0});this.R=b.params||{};this.u=Ib()}M(um,km);um.prototype.ob=function(b){return b}; -um.prototype.g=function(b,c,d){var e=this.tileGrid;e||(e=this.la(d));if(!(e.Qb().length<=b[0])){var f=Je(e,b,this.u),g=sb(Pe(e,b[0]),this.h);1!=c&&(g=rb(g,c,this.h));e={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};Va(e,this.R);var h;var k=this.urls;if(k){d=d.qa.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);b=[(1==k.length?k[0]:k[Da((b[1]<<b[0])+b[2],k.length)]).replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/, -"ImageServer/exportImage")];for(h in e)Ml(h,e[h],b);b[1]&&(h=b[0],c=h.indexOf("#"),0<=c&&(b.push(h.substr(c)),b[0]=h=h.substr(0,c)),c=h.indexOf("?"),0>c?b[1]="?":c==h.length-1&&(b[1]=void 0));h=b.join("")}else h=void 0;return h}};function vm(b){this.j=this.c=this.g=null;this.l=void 0!==b.fill?b.fill:null;this.v=[0,0];this.a=b.points;this.f=void 0!==b.radius?b.radius:b.radius1;this.h=void 0!==b.radius2?b.radius2:this.f;this.i=void 0!==b.angle?b.angle:0;this.b=void 0!==b.stroke?b.stroke:null;this.H=this.A=this.s=null;var c=b.atlasManager,d="",e="",f=0,g=null,h,k=0;this.b&&(h=vd(this.b.ca()),k=this.b.da(),void 0===k&&(k=1),g=this.b.getLineDash(),Ef||(g=null),e=this.b.xa,void 0===e&&(e="round"),d=this.b.wa,void 0===d&&(d="round"), -f=this.b.ya,void 0===f&&(f=10));var l=2*(this.f+k)+1,d={strokeStyle:h,jb:k,size:l,lineCap:d,lineDash:g,lineJoin:e,miterLimit:f};if(void 0===c){this.c=document.createElement("CANVAS");this.c.height=l;this.c.width=l;var c=l=this.c.width,m=this.c.getContext("2d");this.Vc(d,m,0,0);this.l?this.j=this.c:(m=this.j=document.createElement("CANVAS"),m.height=d.size,m.width=d.size,m=m.getContext("2d"),this.Uc(d,m,0,0))}else l=Math.round(l),(e=!this.l)&&(m=this.Uc.bind(this,d)),f=this.b?Fi(this.b):"-",g=this.l? -zi(this.l):"-",this.g&&f==this.g[1]&&g==this.g[2]&&this.f==this.g[3]&&this.h==this.g[4]&&this.i==this.g[5]&&this.a==this.g[6]||(this.g=["r"+f+g+(void 0!==this.f?this.f.toString():"-")+(void 0!==this.h?this.h.toString():"-")+(void 0!==this.i?this.i.toString():"-")+(void 0!==this.a?this.a.toString():"-"),f,g,this.f,this.h,this.i,this.a]),m=c.add(this.g[0],l,l,this.Vc.bind(this,d),m),this.c=m.image,this.v=[m.offsetX,m.offsetY],c=m.image.width,this.j=e?m.Xd:this.c;this.s=[l/2,l/2];this.A=[l,l];this.H= -[c,c];Ug.call(this,{opacity:1,rotateWithView:void 0!==b.rotateWithView?b.rotateWithView:!1,rotation:void 0!==b.rotation?b.rotation:0,scale:1,snapToPixel:void 0!==b.snapToPixel?b.snapToPixel:!0})}M(vm,Ug);n=vm.prototype;n.ab=function(){return this.s};n.Fa=function(){return this.l};n.tb=function(){return this.j};n.S=function(){return this.c};n.Nb=function(){return this.H};n.ib=function(){return 2};n.ia=function(){return this.v};n.Ha=function(){return this.A};n.sa=function(){return this.b};n.Wb=N; -n.load=N;n.dc=N;n.Vc=function(b,c,d,e){var f;c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();this.h!==this.f&&(this.a*=2);for(d=0;d<=this.a;d++)e=2*d*Math.PI/this.a-Math.PI/2+this.i,f=0===d%2?this.f:this.h,c.lineTo(b.size/2+f*Math.cos(e),b.size/2+f*Math.sin(e));this.l&&(c.fillStyle=yd(this.l.ca()),c.fill());this.b&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.jb,b.lineDash&&c.setLineDash(b.lineDash),c.lineCap=b.lineCap,c.lineJoin=b.lineJoin,c.miterLimit=b.miterLimit,c.stroke());c.closePath()}; -n.Uc=function(b,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();this.h!==this.f&&(this.a*=2);var f;for(d=0;d<=this.a;d++)f=2*d*Math.PI/this.a-Math.PI/2+this.i,e=0===d%2?this.f:this.h,c.lineTo(b.size/2+e*Math.cos(f),b.size/2+e*Math.sin(f));c.fillStyle=ui;c.fill();this.b&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.jb,b.lineDash&&c.setLineDash(b.lineDash),c.stroke());c.closePath()};E("ol.format.GeoJSON",Jl,OPENLAYERS);Jl.prototype.readFeatures=Jl.prototype.b;Jl.prototype.readFeature=Jl.prototype.g;E("ol.format.EsriJSON",Dl,OPENLAYERS);Dl.prototype.readFeatures=Dl.prototype.b;Dl.prototype.readFeature=Dl.prototype.g;E("ol.style.Style",Hi,OPENLAYERS);E("ol.style.Circle",Gi,OPENLAYERS);E("ol.style.RegularShape",vm,OPENLAYERS);E("ol.style.Fill",yi,OPENLAYERS);E("ol.style.Stroke",Ei,OPENLAYERS);E("ol.style.Icon",Vg,OPENLAYERS);E("ol.View",Wc,OPENLAYERS);Wc.prototype.on=Wc.prototype.V; -Wc.prototype.getZoom=Wc.prototype.zd;Wc.prototype.setZoom=Wc.prototype.Je;Wc.prototype.getCenter=Wc.prototype.ja;Wc.prototype.setCenter=Wc.prototype.pa;Wc.prototype.calculateExtent=Wc.prototype.nc;Wc.prototype.getProjection=Wc.prototype.pe;Wc.prototype.fit=Wc.prototype.qd;E("ol.control.defaults",ef,OPENLAYERS);E("ol.layer.Tile",X,OPENLAYERS);X.prototype.getVisible=X.prototype.eb;X.prototype.setVisible=X.prototype.Gc;X.prototype.getZIndex=X.prototype.Zb;X.prototype.setZIndex=X.prototype.Hc; -X.prototype.getOpacity=X.prototype.Yb;X.prototype.setOpacity=X.prototype.Fc;X.prototype.getSource=X.prototype.W;X.prototype.setSource=X.prototype.bc;X.prototype.on=X.prototype.V;E("ol.layer.Vector",Y,OPENLAYERS);Y.prototype.getVisible=Y.prototype.eb;Y.prototype.setVisible=Y.prototype.Gc;Y.prototype.getSource=Y.prototype.W;Y.prototype.setStyle=Y.prototype.s;Y.prototype.getZIndex=Y.prototype.Zb;Y.prototype.setZIndex=Y.prototype.Hc;Y.prototype.getOpacity=Y.prototype.Yb;Y.prototype.setOpacity=Y.prototype.Fc; -Y.prototype.getSource=Y.prototype.W;Y.prototype.setSource=Y.prototype.bc;Y.prototype.on=Y.prototype.V;E("ol.source.OSM",pm,OPENLAYERS);pm.prototype.refresh=pm.prototype.za;E("ol.source.MapQuest",rm,OPENLAYERS);rm.prototype.refresh=rm.prototype.za;E("ol.source.XYZ",om,OPENLAYERS);om.prototype.refresh=om.prototype.za;om.prototype.setUrl=om.prototype.s;om.prototype.refresh=om.prototype.za;E("ol.Map",Z,OPENLAYERS);Z.prototype.on=Z.prototype.V;Z.prototype.getTarget=Z.prototype.Xb; -Z.prototype.getTargetElement=Z.prototype.Oa;Z.prototype.getView=Z.prototype.O;Z.prototype.addOverlay=Z.prototype.nd;Z.prototype.addLayer=Z.prototype.md;Z.prototype.removeLayer=Z.prototype.Ee;Z.prototype.getEventPixel=Z.prototype.xc;Z.prototype.hasFeatureAtPixel=Z.prototype.Wd;Z.prototype.getSize=Z.prototype.Qa;Z.prototype.updateSize=Z.prototype.xb;Z.prototype.forEachFeatureAtPixel=Z.prototype.sd;Z.prototype.addInteraction=Z.prototype.ld;Z.prototype.removeInteraction=Z.prototype.De; -Z.prototype.beforeRender=Z.prototype.ha;Z.prototype.addControl=Z.prototype.kd;Z.prototype.once=Z.prototype.ad;Z.prototype.renderSync=Z.prototype.He;E("ol.source.Vector",Tj,OPENLAYERS);Tj.prototype.getFeatures=Tj.prototype.te;Tj.prototype.getExtent=Tj.prototype.C;Tj.prototype.refresh=Tj.prototype.za;Tj.prototype.addFeatures=Tj.prototype.Fb;Tj.prototype.addFeature=Tj.prototype.Eb;Tj.prototype.clear=Tj.prototype.clear;Tj.prototype.forEachFeature=Tj.prototype.rd;Tj.prototype.refresh=Tj.prototype.za; -E("ol.source.TileArcGISRest",um,OPENLAYERS);um.prototype.refresh=um.prototype.za;E("ol.Overlay",ql,OPENLAYERS);ql.prototype.setPosition=ql.prototype.Ec;E("ol.Feature",Fj,OPENLAYERS);Fj.prototype.getProperties=Fj.prototype.Ca;Fj.prototype.setProperties=Fj.prototype.l;Fj.prototype.getGeometry=Fj.prototype.M;E("ol.geom.Point",Lc,OPENLAYERS);Lc.prototype.transform=Lc.prototype.o;Lc.prototype.getCoordinates=Lc.prototype.ra;Lc.prototype.getExtent=Lc.prototype.C;E("ol.geom.Polygon",Sc,OPENLAYERS); -Sc.prototype.getCoordinates=Sc.prototype.ra;Sc.prototype.getExtent=Sc.prototype.C;Sc.prototype.transform=Sc.prototype.o;E("ol.geom.LineString",zl,OPENLAYERS);zl.prototype.getCoordinates=zl.prototype.ra;zl.prototype.getExtent=zl.prototype.C;zl.prototype.transform=zl.prototype.o;E("ol.proj.Projection",hc,OPENLAYERS);hc.prototype.getCode=hc.prototype.l;E("ol.interaction.Draw",Sl,OPENLAYERS);Sl.prototype.on=Sl.prototype.V;E("ol.animation.pan",cd,OPENLAYERS);E("ol.control.FullScreen",kf,OPENLAYERS); +y.a=null)}l=Object.keys(this.b).map(Number);l.sort(Ga);B=yb();G=0;for(z=l.length;G<z;++G)if(C=l[G],y=this.b[C],C in u)if(t=y.J(),F=y.fa(),Jg(B,b.size[0]/2,b.size[1]/2,t/e.resolution,t/e.resolution,e.rotation,(F[0]-q[0])/t,(q[1]-F[1])/t),y.setTransform(B),C in w){for(--C;0<=C;--C)if(C in this.b){F=this.b[C].target;F.parentNode&&F.parentNode.insertBefore(y.target,F.nextSibling);break}0>C&&ge(this.target,y.target,0)}else{if(!b.viewHints[0]&&!b.viewHints[1]){v=Le(y.g,r,y.f[0],D);C=[];t=F=void 0;for(t in y.b)F= +y.b[t],J=F.L,hd(v,J[1],J[2])||C.push(F);J=v=void 0;v=0;for(J=C.length;v<J;++v)F=C[v],t=F.L.toString(),he(F.S(y)),delete y.b[t]}}else he(y.target),delete this.b[C];c.opacity!=this.h&&(this.h=this.target.style.opacity=c.opacity);c.visible&&!this.c&&(pe(this.target,!0),this.c=!0);Rg(b.usedTiles,h,m,p);Tg(b,h,k,d,f,r,m,g.get("preload"));Og(b,h);Qg(b,h);return!0}; +function pk(b,c){this.target=document.createElement("DIV");this.target.style.position="absolute";this.target.style.width="100%";this.target.style.height="100%";this.g=b;this.f=c;this.h=ac(Ke(b,c));this.l=b.J(c[0]);this.b={};this.a=null;this.c=Ab();this.i=[0,0]}pk.prototype.fa=function(){return this.h};pk.prototype.J=function(){return this.l};pk.prototype.setTransform=function(b){Kg(b,this.c)||(wf(this.target,b),Bb(this.c,b))};function qk(b){this.g=sf();var c=this.g.canvas;c.style.maxWidth="none";c.style.position="absolute";nk.call(this,b,c);this.b=!1;this.h=-1;this.o=NaN;this.i=Ib();this.c=this.j=null;this.v=yb();this.u=yb()}M(qk,nk);n=qk.prototype;n.yb=function(){var b=this.g.canvas;b.width=b.width;this.h=0}; +n.Ac=function(b,c){var d=b.viewState,e=d.center,f=d.rotation,g=d.resolution,d=b.pixelRatio,h=b.size[0],k=b.size[1],l=h*d,m=k*d,e=Jg(this.v,d*h/2,d*k/2,d/g,-d/g,-f,-e[0],-e[1]),g=this.g;g.canvas.width=l;g.canvas.height=m;h=Jg(this.u,0,0,1/d,1/d,0,-(l-h)/2*d,-(m-k)/2*d);wf(g.canvas,h);rk(this,"precompose",b,e);(h=this.c)&&!h.c()&&(g.globalAlpha=c.opacity,h.f(g,d,e,f,c.Wa?b.skippedFeatureUids:{}),rk(this,"render",b,e));rk(this,"postcompose",b,e)}; +function rk(b,c,d,e){var f=b.g;b=b.a;mb(b,c)&&(e=new Pi(f,d.pixelRatio,d.extent,e,d.viewState.rotation),T(b,new Gg(c,b,e,d,f,null)))}n.Xa=function(b,c,d,e){if(this.c){var f=this.a,g={};return this.c.g(b,c.viewState.resolution,c.viewState.rotation,{},function(b){var c=I(b).toString();if(!(c in g))return g[c]=!0,d.call(e,b,f)})}};n.Cc=function(){Ng(this)}; +n.Bc=function(b){function c(b){var c,e=b.c;e?c=e.call(b,l):(e=d.g)&&(c=e(b,l));if(c){if(c){e=!1;if(Array.isArray(c))for(var f=0,g=c.length;f<g;++f)e=yj(p,b,c[f],xj(l,m),this.Cc,this)||e;else e=yj(p,b,c,xj(l,m),this.Cc,this)||e;b=e}else b=!1;this.b=this.b||b}}var d=this.a,e=d.W();Pg(b.attributions,e.i);Qg(b,e);var f=b.viewHints[0],g=b.viewHints[1],h=d.i,k=d.j;if(!this.b&&!h&&f||!k&&g)return!0;var g=b.extent,h=b.viewState,f=h.projection,l=h.resolution,m=b.pixelRatio;b=d.f;k=d.a;h=d.get("renderOrder"); +void 0===h&&(h=wj);g=Kb(g,k*l);if(!this.b&&this.o==l&&this.h==b&&this.j==h&&Mb(this.i,g))return!0;this.c=null;this.b=!1;var p=new sj(.5*l/m,g,l,d.a);ck(e,g,l,f);if(h){var q=[];ak(e,g,function(b){q.push(b)},this);q.sort(h);q.forEach(c,this)}else ak(e,g,c,this);tj(p);this.o=l;this.h=b;this.j=h;this.i=g;this.c=p;return!0};function sk(b,c){$g.call(this,0,c);this.c=sf();var d=this.c.canvas;d.style.position="absolute";d.style.width="100%";d.style.height="100%";d.className="ol-unselectable";ge(b,d,0);this.g=yb();this.a=document.createElement("DIV");this.a.className="ol-unselectable";d=this.a.style;d.position="absolute";d.width="100%";d.height="100%";R(this.a,"touchstart",kb);ge(b,this.a,0);this.b=!0}M(sk,$g);sk.prototype.K=function(){he(this.a);sk.Y.K.call(this)}; +sk.prototype.Bb=function(b){if(b instanceof X)b=new ok(b);else if(b instanceof Y)b=new qk(b);else return null;return b};function tk(b,c,d){var e=b.h;if(mb(e,c)){var f=d.extent,g=d.pixelRatio,h=d.viewState,k=h.rotation,l=b.c,m=l.canvas;Jg(b.g,m.width/2,m.height/2,g/h.resolution,-g/h.resolution,-h.rotation,-h.center[0],-h.center[1]);b=new Pi(l,g,f,b.g,k);T(e,new Gg(c,e,b,d,l,null))}}sk.prototype.U=function(){return"dom"}; +sk.prototype.kb=function(b){if(b){var c=this.h;if(mb(c,"precompose")||mb(c,"postcompose")){var c=this.c.canvas,d=b.pixelRatio;c.width=b.size[0]*d;c.height=b.size[1]*d}tk(this,"precompose",b);c=b.layerStatesArray;Ma(c);var d=b.viewState.resolution,e,f,g,h;e=0;for(f=c.length;e<f;++e)h=c[e],g=h.layer,g=ch(this,g),ge(this.a,g.target,e),Ig(h,d)&&"ready"==h.Tb?g.Bc(b,h)&&g.Ac(b,h):g.yb();var c=b.layerStates,k;for(k in this.f)k in c||(g=this.f[k],he(g.target));this.b||(pe(this.a,!0),this.b=!0);ah(b);dh(this, +b);b.postRenderFunctions.push(bh);tk(this,"postcompose",b)}else this.b&&(pe(this.a,!1),this.b=!1)};function uk(b){this.a=b}function vk(b){this.a=b}M(vk,uk);vk.prototype.U=function(){return 35632};function wk(b){this.a=b}M(wk,uk);wk.prototype.U=function(){return 35633};function xk(){this.a="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;}"}M(xk,vk);aa(xk); +function yk(){this.a="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;}"}M(yk,wk);aa(yk); +function zk(b,c){this.i=b.getUniformLocation(c,"j");this.j=b.getUniformLocation(c,"i");this.h=b.getUniformLocation(c,"k");this.l=b.getUniformLocation(c,"h");this.a=b.getAttribLocation(c,"e");this.b=b.getAttribLocation(c,"f");this.c=b.getAttribLocation(c,"c");this.f=b.getAttribLocation(c,"g");this.g=b.getAttribLocation(c,"d")};function Ak(b){this.a=void 0!==b?b:[]};function Bk(b,c){this.B=b;this.a=c;this.b={};this.g={};this.c={};this.i=this.j=this.h=this.l=null;(this.f=0<=oa.indexOf("OES_element_index_uint"))&&c.getExtension("OES_element_index_uint");R(this.B,"webglcontextlost",this.o,this);R(this.B,"webglcontextrestored",this.s,this)}M(Bk,hb); +function Ck(b,c,d){var e=b.a,f=d.a,g=String(I(d));if(g in b.b)e.bindBuffer(c,b.b[g].buffer);else{var h=e.createBuffer();e.bindBuffer(c,h);var k;34962==c?k=new Float32Array(f):34963==c&&(k=b.f?new Uint32Array(f):new Uint16Array(f));e.bufferData(c,k,35044);b.b[g]={Ne:d,buffer:h}}}function Dk(b,c){var d=b.a,e=String(I(c)),f=b.b[e];d.isContextLost()||d.deleteBuffer(f.buffer);delete b.b[e]} +Bk.prototype.K=function(){gb(this.B);var b=this.a;if(!b.isContextLost()){for(var c in this.b)b.deleteBuffer(this.b[c].buffer);for(c in this.c)b.deleteProgram(this.c[c]);for(c in this.g)b.deleteShader(this.g[c]);b.deleteFramebuffer(this.h);b.deleteRenderbuffer(this.i);b.deleteTexture(this.j)}}; +function Ek(b){if(!b.h){var c=b.a,d=c.createFramebuffer();c.bindFramebuffer(c.FRAMEBUFFER,d);var e=Fk(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);b.h=d; +b.j=e;b.i=f}return b.h}function Gk(b,c){var d=String(I(c));if(d in b.g)return b.g[d];var e=b.a,f=e.createShader(c.U());e.shaderSource(f,c.a);e.compileShader(f);return b.g[d]=f}function Hk(b,c,d){var e=I(c)+"/"+I(d);if(e in b.c)return b.c[e];var f=b.a,g=f.createProgram();f.attachShader(g,Gk(b,c));f.attachShader(g,Gk(b,d));f.linkProgram(g);return b.c[e]=g}Bk.prototype.o=function(){Wa(this.b);Wa(this.g);Wa(this.c);this.i=this.j=this.h=this.l=null};Bk.prototype.s=function(){}; +function Ik(b,c){if(c==b.l)return!1;b.a.useProgram(c);b.l=c;return!0}function Jk(b,c,d){var e=b.createTexture();b.bindTexture(b.TEXTURE_2D,e);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MAG_FILTER,b.LINEAR);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MIN_FILTER,b.LINEAR);void 0!==c&&b.texParameteri(3553,10242,c);void 0!==d&&b.texParameteri(3553,10243,d);return e}function Fk(b,c,d){var e=Jk(b,void 0,void 0);b.texImage2D(b.TEXTURE_2D,0,b.RGBA,c,d,0,b.RGBA,b.UNSIGNED_BYTE,null);return e};function Kk(b,c){this.H=this.u=void 0;this.j=Xb(c);this.s=[];this.h=[];this.A=void 0;this.g=[];this.c=[];this.D=this.I=void 0;this.b=[];this.v=this.i=null;this.V=void 0;this.ka=Ab();this.ua=Ab();this.R=this.G=void 0;this.la=Ab();this.ha=this.Z=this.T=void 0;this.da=[];this.l=[];this.a=[];this.o=null;this.f=[];this.B=[];this.aa=void 0}M(Kk,Fg); +function Lk(b,c){var d=b.o,e=b.i,f=b.da,g=b.l,h=c.a;return function(){if(!h.isContextLost()){var b,l;b=0;for(l=f.length;b<l;++b)h.deleteTexture(f[b]);b=0;for(l=g.length;b<l;++b)h.deleteTexture(g[b])}Dk(c,d);Dk(c,e)}} +function Mk(b,c,d,e){var f=b.u,g=b.H,h=b.A,k=b.I,l=b.D,m=b.V,p=b.G,q=b.R,r=b.T?1:0,u=b.Z,w=b.ha,y=b.aa,z=Math.cos(u),u=Math.sin(u),D=b.b.length,t=b.a.length,v,B,F,C,G,J;for(v=0;v<d;v+=e)G=c[v]-b.j[0],J=c[v+1]-b.j[1],B=t/8,F=-w*f,C=-w*(h-g),b.a[t++]=G,b.a[t++]=J,b.a[t++]=F*z-C*u,b.a[t++]=F*u+C*z,b.a[t++]=p/l,b.a[t++]=(q+h)/k,b.a[t++]=m,b.a[t++]=r,F=w*(y-f),C=-w*(h-g),b.a[t++]=G,b.a[t++]=J,b.a[t++]=F*z-C*u,b.a[t++]=F*u+C*z,b.a[t++]=(p+y)/l,b.a[t++]=(q+h)/k,b.a[t++]=m,b.a[t++]=r,F=w*(y-f),C=w*g,b.a[t++]= +G,b.a[t++]=J,b.a[t++]=F*z-C*u,b.a[t++]=F*u+C*z,b.a[t++]=(p+y)/l,b.a[t++]=q/k,b.a[t++]=m,b.a[t++]=r,F=-w*f,C=w*g,b.a[t++]=G,b.a[t++]=J,b.a[t++]=F*z-C*u,b.a[t++]=F*u+C*z,b.a[t++]=p/l,b.a[t++]=q/k,b.a[t++]=m,b.a[t++]=r,b.b[D++]=B,b.b[D++]=B+1,b.b[D++]=B+2,b.b[D++]=B,b.b[D++]=B+2,b.b[D++]=B+3}Kk.prototype.Qa=function(b,c){this.f.push(this.b.length);this.B.push(c);var d=b.a;Mk(this,d,d.length,b.b)};Kk.prototype.Ra=function(b,c){this.f.push(this.b.length);this.B.push(c);var d=b.a;Mk(this,d,d.length,b.b)}; +function Nk(b,c){var d=c.a;b.s.push(b.b.length);b.h.push(b.b.length);b.o=new Ak(b.a);Ck(c,34962,b.o);b.i=new Ak(b.b);Ck(c,34963,b.i);var e={};Ok(b.da,b.g,e,d);Ok(b.l,b.c,e,d);b.u=void 0;b.H=void 0;b.A=void 0;b.g=null;b.c=null;b.I=void 0;b.D=void 0;b.b=null;b.V=void 0;b.G=void 0;b.R=void 0;b.T=void 0;b.Z=void 0;b.ha=void 0;b.a=null;b.aa=void 0} +function Ok(b,c,d,e){var f,g,h,k,l=c.length;for(k=0;k<l;++k){g=c[k];h=I(g).toString();if(h in d)f=d[h];else{f=e;var m=Jk(f,33071,33071);f.texImage2D(f.TEXTURE_2D,0,f.RGBA,f.RGBA,f.UNSIGNED_BYTE,g);f=m;d[h]=f}b[k]=f}} +function Pk(b,c,d,e,f,g,h,k,l,m,p){var q=c.a;Ck(c,34962,b.o);Ck(c,34963,b.i);var r=xk.qa(),u=yk.qa(),u=Hk(c,r,u);b.v?r=b.v:(r=new zk(q,u),b.v=r);Ik(c,u);q.enableVertexAttribArray(r.c);q.vertexAttribPointer(r.c,2,5126,!1,32,0);q.enableVertexAttribArray(r.a);q.vertexAttribPointer(r.a,2,5126,!1,32,8);q.enableVertexAttribArray(r.g);q.vertexAttribPointer(r.g,2,5126,!1,32,16);q.enableVertexAttribArray(r.b);q.vertexAttribPointer(r.b,1,5126,!1,32,24);q.enableVertexAttribArray(r.f);q.vertexAttribPointer(r.f, +1,5126,!1,32,28);u=b.la;Jg(u,0,0,2/(e*g[0]),2/(e*g[1]),-f,-(d[0]-b.j[0]),-(d[1]-b.j[1]));d=b.ua;e=2/g[0];g=2/g[1];Cb(d);d[0]=e;d[5]=g;d[10]=1;d[15]=1;g=b.ka;Cb(g);0!==f&&Gb(g,-f);q.uniformMatrix4fv(r.l,!1,u);q.uniformMatrix4fv(r.j,!1,d);q.uniformMatrix4fv(r.i,!1,g);q.uniform1f(r.h,h);var w;if(void 0===l)Qk(b,q,c,k,b.da,b.s);else{if(m)a:{f=c.f?5125:5123;c=c.f?4:2;g=b.f.length-1;for(h=b.l.length-1;0<=h;--h)for(q.bindTexture(3553,b.l[h]),m=0<h?b.h[h-1]:0,u=b.h[h];0<=g&&b.f[g]>=m;){w=b.f[g];d=b.B[g]; +e=I(d).toString();if(void 0===k[e]&&d.M()&&(void 0===p||$b(p,d.M().C()))&&(q.clear(q.COLOR_BUFFER_BIT|q.DEPTH_BUFFER_BIT),q.drawElements(4,u-w,f,w*c),u=l(d))){b=u;break a}u=w;g--}b=void 0}else q.clear(q.COLOR_BUFFER_BIT|q.DEPTH_BUFFER_BIT),Qk(b,q,c,k,b.l,b.h),b=(b=l(null))?b:void 0;w=b}q.disableVertexAttribArray(r.c);q.disableVertexAttribArray(r.a);q.disableVertexAttribArray(r.g);q.disableVertexAttribArray(r.b);q.disableVertexAttribArray(r.f);return w} +function Qk(b,c,d,e,f,g){var h=d.f?5125:5123;d=d.f?4:2;if(Za(e)){var k;b=0;e=f.length;for(k=0;b<e;++b){c.bindTexture(3553,f[b]);var l=g[b];c.drawElements(4,l-k,h,k*d);k=l}}else{k=0;var m,l=0;for(m=f.length;l<m;++l){c.bindTexture(3553,f[l]);for(var p=0<l?g[l-1]:0,q=g[l],r=p;k<b.f.length&&b.f[k]<=q;){var u=I(b.B[k]).toString();void 0!==e[u]?(r!==p&&c.drawElements(4,p-r,h,r*d),p=r=k===b.f.length-1?q:b.f[k+1]):p=k===b.f.length-1?q:b.f[k+1];k++}r!==p&&c.drawElements(4,p-r,h,r*d)}}} +Kk.prototype.Aa=function(b){var c=b.Sa(),d=b.S(1),e=b.Db(),f=b.jb(1),g=b.B,h=b.fa(),k=b.o,l=b.s,m=b.ya();b=b.u;var p;0===this.g.length?this.g.push(d):(p=this.g[this.g.length-1],I(p)!=I(d)&&(this.s.push(this.b.length),this.g.push(d)));0===this.c.length?this.c.push(f):(p=this.c[this.c.length-1],I(p)!=I(f)&&(this.h.push(this.b.length),this.c.push(f)));this.u=c[0];this.H=c[1];this.A=m[1];this.I=e[1];this.D=e[0];this.V=g;this.G=h[0];this.R=h[1];this.Z=l;this.T=k;this.ha=b;this.aa=m[0]}; +function Rk(b,c,d){this.l=c;this.i=b;this.h=d;this.b={}}function Sk(b,c){var d=[],e;for(e in b.b)d.push(Lk(b.b[e],c));return function(){for(var b=d.length,c,e=0;e<b;e++)c=d[e].apply(this,arguments);return c}}function Tk(b,c){for(var d in b.b)Nk(b.b[d],c)}Rk.prototype.a=function(b,c){var d=this.b[c];void 0===d&&(d=new Uk[c](this.i,this.l),this.b[c]=d);return d};Rk.prototype.c=function(){return Za(this.b)}; +Rk.prototype.f=function(b,c,d,e,f,g,h,k){var l,m;g=0;for(l=cj.length;g<l;++g)m=this.b[cj[g]],void 0!==m&&Pk(m,b,c,d,e,f,h,k,void 0,!1)};function Vk(b,c,d,e,f,g,h,k,l,m){var p=Wk,q,r;for(q=cj.length-1;0<=q;--q)if(r=b.b[cj[q]],void 0!==r&&(r=Pk(r,c,d,e,f,p,g,h,k,l,m)))return r} +Rk.prototype.g=function(b,c,d,e,f,g,h,k,l,m){var p=c.a;p.bindFramebuffer(p.FRAMEBUFFER,Ek(c));var q;void 0!==this.h&&(q=Kb(Pb(b),e*this.h));return Vk(this,c,b,e,f,k,l,function(b){var c=new Uint8Array(4);p.readPixels(0,0,1,1,p.RGBA,p.UNSIGNED_BYTE,c);if(0<c[3]&&(b=m(b)))return b},!0,q)};function Xk(b,c,d,e,f,g,h){var k=d.a;k.bindFramebuffer(k.FRAMEBUFFER,Ek(d));return void 0!==Vk(b,d,c,e,f,g,h,function(){var b=new Uint8Array(4);k.readPixels(0,0,1,1,k.RGBA,k.UNSIGNED_BYTE,b);return 0<b[3]},!1)} +var Uk={Image:Kk},Wk=[1,1];function Yk(b,c,d,e,f,g){this.a=b;this.f=c;this.c=g;this.l=f;this.h=e;this.g=d;this.b=null}M(Yk,Fg);Yk.prototype.Ra=function(b,c){var d=this.a,e=(new Rk(1,this.c)).a(0,"Image");e.Aa(this.b);e.Ra(b,c);Nk(e,d);Pk(e,this.a,this.f,this.g,this.h,this.l,1,{},void 0,!1);Lk(e,d)()};Yk.prototype.Qa=function(b,c){var d=this.a,e=(new Rk(1,this.c)).a(0,"Image");e.Aa(this.b);e.Qa(b,c);Nk(e,d);Pk(e,this.a,this.f,this.g,this.h,this.l,1,{},void 0,!1);Lk(e,d)()};Yk.prototype.Aa=function(b){this.b=b};function Zk(){this.a="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;}"}M(Zk,vk);aa(Zk);function $k(){this.a="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;}"}M($k,wk);aa($k); +function al(b,c){this.f=b.getUniformLocation(c,"f");this.c=b.getUniformLocation(c,"e");this.h=b.getUniformLocation(c,"d");this.g=b.getUniformLocation(c,"g");this.a=b.getAttribLocation(c,"b");this.b=b.getAttribLocation(c,"c")};function bl(b,c){Mg.call(this,c);this.c=b;this.G=new Ak([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]);this.i=this.ta=null;this.j=void 0;this.D=yb();this.R=Ab();this.o=null}M(bl,Mg); +function cl(b,c,d){var e=b.c.c;if(void 0===b.j||b.j!=d){c.postRenderFunctions.push(na(function(b,c,d){b.isContextLost()||(b.deleteFramebuffer(c),b.deleteTexture(d))},e,b.i,b.ta));c=Fk(e,d,d);var f=e.createFramebuffer();e.bindFramebuffer(36160,f);e.framebufferTexture2D(36160,36064,3553,c,0);b.ta=c;b.i=f;b.j=d}else e.bindFramebuffer(36160,b.i)} +bl.prototype.Dc=function(b,c,d){dl(this,"precompose",d,b);Ck(d,34962,this.G);var e=d.a,f=Zk.qa(),g=$k.qa(),f=Hk(d,f,g);this.o?g=this.o:this.o=g=new al(e,f);Ik(d,f)&&(e.enableVertexAttribArray(g.a),e.vertexAttribPointer(g.a,2,5126,!1,16,0),e.enableVertexAttribArray(g.b),e.vertexAttribPointer(g.b,2,5126,!1,16,8),e.uniform1i(g.g,0));e.uniformMatrix4fv(g.h,!1,this.D);e.uniformMatrix4fv(g.c,!1,this.R);e.uniform1f(g.f,c.opacity);e.bindTexture(3553,this.ta);e.drawArrays(5,0,4);dl(this,"postcompose",d,b)}; +function dl(b,c,d,e){b=b.a;if(mb(b,c)){var f=e.viewState;T(b,new Gg(c,b,new Yk(d,f.center,f.resolution,f.rotation,e.size,e.extent),e,null,d))}}bl.prototype.s=function(){this.i=this.ta=null;this.j=void 0};function el(){this.a="precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"}M(el,vk);aa(el);function fl(){this.a="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;}"}M(fl,wk);aa(fl);function gl(b,c){this.f=b.getUniformLocation(c,"e");this.c=b.getUniformLocation(c,"d");this.a=b.getAttribLocation(c,"b");this.b=b.getAttribLocation(c,"c")};function hl(b,c){bl.call(this,b,c);this.A=el.qa();this.T=fl.qa();this.b=null;this.v=new Ak([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]);this.u=this.g=null;this.h=-1;this.I=[0,0]}M(hl,bl);hl.prototype.K=function(){Dk(this.c.g,this.v);hl.Y.K.call(this)};hl.prototype.l=function(b,c,d){var e=this.c;return function(f,g){return Xe(b,c,f,g,function(b){var c=xe(e.b,b.getKey());c&&(d[f]||(d[f]={}),d[f][b.L.toString()]=b);return c})}};hl.prototype.s=function(){hl.Y.s.call(this);this.b=null}; +hl.prototype.Ec=function(b,c,d){var e=this.c,f=d.a,g=b.viewState,h=g.projection,k=this.a,l=k.W(),m=l.ia(h),p=Re(m,g.resolution),q=m.J(p),r=Ye(l,p,b.pixelRatio,h),u=r[0]/sb(Qe(m,p),this.I)[0],w=q/u,y=l.bb(h),z=g.center,D;q==g.resolution?(z=Sg(z,q,b.size),D=Yb(z,q,g.rotation,b.size)):D=b.extent;q=Ne(m,D,q);if(this.g&&id(this.g,q)&&this.h==l.f)w=this.u;else{var t=[q.b-q.a+1,q.c-q.f+1],v=Math.pow(2,Math.ceil(Math.log(Math.max(t[0]*r[0],t[1]*r[1]))/Math.LN2)),t=w*v,B=m.fa(p),F=B[0]+q.a*r[0]*w,w=B[1]+q.f* +r[1]*w,w=[F,w,F+t,w+t];cl(this,b,v);f.viewport(0,0,v,v);f.clearColor(0,0,0,0);f.clear(16384);f.disable(3042);v=Hk(d,this.A,this.T);Ik(d,v);this.b||(this.b=new gl(f,v));Ck(d,34962,this.v);f.enableVertexAttribArray(this.b.a);f.vertexAttribPointer(this.b.a,2,5126,!1,16,0);f.enableVertexAttribArray(this.b.b);f.vertexAttribPointer(this.b.b,2,5126,!1,16,8);f.uniform1i(this.b.f,0);d={};d[p]={};var C=this.l(l,h,d),G=ui(k),v=!0,F=Ib(),J=new gd(0,0,0,0),A,H,O;for(H=q.a;H<=q.b;++H)for(O=q.f;O<=q.c;++O){B=Ug(l, +p,H,O,u,h);if(void 0!==c.extent&&(A=Ke(m,B.L,F),!$b(A,c.extent)))continue;A=B.N();A=2==A||4==A||3==A&&!G;!A&&B.a&&(B=B.a);A=B.N();if(2==A){if(xe(e.b,B.getKey())){d[p][B.L.toString()]=B;continue}}else if(4==A||3==A&&!G)continue;v=!1;A=Je(m,B.L,C,J,F);A||(B=Me(m,B.L,J,F))&&C(p+1,B)}c=Object.keys(d).map(Number);c.sort(Ga);for(var C=new Float32Array(4),Q,L,K,G=0,J=c.length;G<J;++G)for(Q in L=d[c[G]],L)B=L[Q],A=Ke(m,B.L,F),H=2*(A[2]-A[0])/t,O=2*(A[3]-A[1])/t,K=2*(A[0]-w[0])/t-1,A=2*(A[1]-w[1])/t-1,xb(C, +H,O,K,A),f.uniform4fv(this.b.c,C),il(e,B,r,y*u),f.drawArrays(5,0,4);v?(this.g=q,this.u=w,this.h=l.f):(this.u=this.g=null,this.h=-1,b.animate=!0)}Rg(b.usedTiles,l,p,q);var fa=e.i;Tg(b,l,m,u,h,D,p,k.get("preload"),function(b){var c;(c=2!=b.N()||xe(e.b,b.getKey()))||(c=b.getKey()in fa.f);c||fa.c([b,Pe(m,b.L),m.J(b.L[0]),r,y*u])},this);Og(b,l);Qg(b,l);f=this.D;Cb(f);Eb(f,(z[0]-w[0])/(w[2]-w[0]),(z[1]-w[1])/(w[3]-w[1]));0!==g.rotation&&Gb(f,g.rotation);Fb(f,b.size[0]*g.resolution/(w[2]-w[0]),b.size[1]* +g.resolution/(w[3]-w[1]));Eb(f,-.5,-.5);return!0};function jl(b,c){bl.call(this,b,c);this.h=!1;this.I=-1;this.A=NaN;this.u=Ib();this.g=this.b=this.v=null}M(jl,bl);n=jl.prototype;n.Dc=function(b,c,d){this.g=c;var e=b.viewState,f=this.b;f&&!f.c()&&f.f(d,e.center,e.resolution,e.rotation,b.size,b.pixelRatio,c.opacity,c.Wa?b.skippedFeatureUids:{})};n.K=function(){var b=this.b;b&&(Sk(b,this.c.g)(),this.b=null);jl.Y.K.call(this)}; +n.Xa=function(b,c,d,e){if(this.b&&this.g){var f=c.viewState,g=this.a,h={};return this.b.g(b,this.c.g,f.center,f.resolution,f.rotation,c.size,c.pixelRatio,this.g.opacity,{},function(b){var c=I(b).toString();if(!(c in h))return h[c]=!0,d.call(e,b,g)})}};n.yc=function(b,c){if(this.b&&this.g){var d=c.viewState;return Xk(this.b,b,this.c.g,d.resolution,d.rotation,this.g.opacity,c.skippedFeatureUids)}return!1};n.Fc=function(){Ng(this)}; +n.Ec=function(b,c,d){function e(b){var c,d=b.c;d?c=d.call(b,m):(d=f.g)&&(c=d(b,m));if(c){if(c){d=!1;if(Array.isArray(c))for(var e=0,g=c.length;e<g;++e)d=yj(r,b,c[e],xj(m,p),this.Fc,this)||d;else d=yj(r,b,c,xj(m,p),this.Fc,this)||d;b=d}else b=!1;this.h=this.h||b}}var f=this.a;c=f.W();Pg(b.attributions,c.i);Qg(b,c);var g=b.viewHints[0],h=b.viewHints[1],k=f.i,l=f.j;if(!this.h&&!k&&g||!l&&h)return!0;var h=b.extent,k=b.viewState,g=k.projection,m=k.resolution,p=b.pixelRatio,k=f.f,q=f.a,l=f.get("renderOrder"); +void 0===l&&(l=wj);h=Kb(h,q*m);if(!this.h&&this.A==m&&this.I==k&&this.v==l&&Mb(this.u,h))return!0;this.b&&b.postRenderFunctions.push(Sk(this.b,d));this.h=!1;var r=new Rk(.5*m/p,h,f.a);ck(c,h,m,g);if(l){var u=[];ak(c,h,function(b){u.push(b)},this);u.sort(l);u.forEach(e,this)}else ak(c,h,e,this);Tk(r,d);this.A=m;this.I=k;this.v=l;this.u=h;this.b=r;return!0};function kl(b,c){$g.call(this,0,c);this.a=document.createElement("CANVAS");this.a.style.width="100%";this.a.style.height="100%";this.a.className="ol-unselectable";ge(b,this.a,0);this.s=this.u=0;this.H=sf();this.j=!0;this.c=yf(this.a,{antialias:!0,depth:!1,failIfMajorPerformanceCaveat:!0,preserveDrawingBuffer:!1,stencil:!0});this.g=new Bk(this.a,this.c);R(this.a,"webglcontextlost",this.ce,this);R(this.a,"webglcontextrestored",this.de,this);this.b=new we;this.o=null;this.i=new eh(function(b){var c= +b[1];b=b[2];var f=c[0]-this.o[0],c=c[1]-this.o[1];return 65536*Math.log(b)+Math.sqrt(f*f+c*c)/b}.bind(this),function(b){return b[0].getKey()});this.v=function(){if(0!==this.i.a.length){ih(this.i);var b=fh(this.i);il(this,b[0],b[3],b[4])}return!1}.bind(this);this.l=0;ll(this)}M(kl,$g); +function il(b,c,d,e){var f=b.c,g=c.getKey();if(xe(b.b,g))b=b.b.get(g),f.bindTexture(3553,b.ta),9729!=b.sc&&(f.texParameteri(3553,10240,9729),b.sc=9729),9729!=b.tc&&(f.texParameteri(3553,10240,9729),b.tc=9729);else{var h=f.createTexture();f.bindTexture(3553,h);if(0<e){var k=b.H.canvas,l=b.H;b.u!==d[0]||b.s!==d[1]?(k.width=d[0],k.height=d[1],b.u=d[0],b.s=d[1]):l.clearRect(0,0,d[0],d[1]);l.drawImage(c.S(),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.S());f.texParameteri(3553,10240,9729);f.texParameteri(3553,10241,9729);f.texParameteri(3553,10242,33071);f.texParameteri(3553,10243,33071);b.b.set(g,{ta:h,sc:9729,tc:9729})}}n=kl.prototype;n.Bb=function(b){return b instanceof X?new hl(this,b):b instanceof Y?new jl(this,b):null};function ml(b,c,d){var e=b.h;if(mb(e,c)){b=b.g;var f=d.viewState;T(e,new Gg(c,e,new Yk(b,f.center,f.resolution,f.rotation,d.size,d.extent),d,null,b))}} +n.K=function(){var b=this.c;b.isContextLost()||ye(this.b,function(c){c&&b.deleteTexture(c.ta)});ib(this.g);kl.Y.K.call(this)};n.ed=function(b,c){for(var d=this.c,e;1024<this.b.f-this.l;){if(e=this.b.a.Ba)d.deleteTexture(e.ta);else if(+this.b.a.Kb==c.index)break;else--this.l;this.b.pop()}};n.U=function(){return"webgl"};n.ce=function(b){b.preventDefault();this.b.clear();this.l=0;b=this.f;for(var c in b)b[c].s()};n.de=function(){ll(this);this.h.render()}; +function ll(b){b=b.c;b.activeTexture(33984);b.blendFuncSeparate(770,771,1,771);b.disable(2884);b.disable(2929);b.disable(3089);b.disable(2960)} +n.kb=function(b){var c=this.g,d=this.c;if(d.isContextLost())return!1;if(!b)return this.j&&(pe(this.a,!1),this.j=!1),!1;this.o=b.focus;this.b.set((-b.index).toString(),null);++this.l;ml(this,"precompose",b);var e=[],f=b.layerStatesArray;Ma(f);var g=b.viewState.resolution,h,k,l,m;h=0;for(k=f.length;h<k;++h)m=f[h],Ig(m,g)&&"ready"==m.Tb&&(l=ch(this,m.layer),l.Ec(b,m,c)&&e.push(m));f=b.size[0]*b.pixelRatio;g=b.size[1]*b.pixelRatio;if(this.a.width!=f||this.a.height!=g)this.a.width=f,this.a.height=g;d.bindFramebuffer(36160, +null);d.clearColor(0,0,0,0);d.clear(16384);d.enable(3042);d.viewport(0,0,this.a.width,this.a.height);h=0;for(k=e.length;h<k;++h)m=e[h],l=ch(this,m.layer),l.Dc(b,m,c);this.j||(pe(this.a,!0),this.j=!0);ah(b);1024<this.b.f-this.l&&b.postRenderFunctions.push(this.ed.bind(this));0!==this.i.a.length&&(b.postRenderFunctions.push(this.v),b.animate=!0);ml(this,"postcompose",b);dh(this,b);b.postRenderFunctions.push(bh)}; +n.Qb=function(b,c,d,e,f,g){var h;if(this.c.isContextLost())return!1;var k=c.viewState,l=c.layerStatesArray,m;for(m=l.length-1;0<=m;--m){h=l[m];var p=h.layer;if(Ig(h,k.resolution)&&f.call(g,p)&&(h=ch(this,p).Xa(b,c,d,e)))return h}};n.zc=function(b,c,d,e){var f=!1;if(this.c.isContextLost())return!1;var g=c.viewState,h=c.layerStatesArray,k;for(k=h.length-1;0<=k;--k){var l=h[k],m=l.layer;if(Ig(l,g.resolution)&&d.call(e,m)&&(f=ch(this,m).yc(b,c)))return!0}return f};var nl=["canvas","webgl","dom"]; +function Z(b){U.call(this);var c=pl(b);this.Ca=void 0!==b.loadTilesWhileAnimating?b.loadTilesWhileAnimating:!1;this.ob=void 0!==b.loadTilesWhileInteracting?b.loadTilesWhileInteracting:!1;this.qb=void 0!==b.pixelRatio?b.pixelRatio:Ef;this.pb=c.logos;this.T=function(){this.g=void 0;this.re.call(this,Date.now())}.bind(this);this.va=yb();this.rb=yb();this.wa=0;this.b=null;this.ka=Ib();this.u=this.G=null;this.a=document.createElement("DIV");this.a.className="ol-viewport"+(Hf?" 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.o=document.createElement("DIV");this.o.className="ol-overlaycontainer";this.a.appendChild(this.o);this.j=document.createElement("DIV");this.j.className="ol-overlaycontainer-stopevent";b=["click","dblclick","mousedown","touchstart","mspointerdown",zg,"mousewheel","wheel"];for(var d=0,e=b.length;d<e;++d)R(this.j,b[d],jb);this.a.appendChild(this.j); +this.aa=new rg(this);for(var f in Cg)R(this.aa,Cg[f],this.pc,this);this.Z=c.keyboardEventTarget;this.i=null;R(this.a,"wheel",this.Ga,this);R(this.a,"mousewheel",this.Ga,this);this.s=c.controls;this.h=c.interactions;this.v=c.overlays;this.Nc={};this.D=new c.te(this.a,this);this.R=null;this.A=[];this.da=[];this.la=new jh(this.jd.bind(this),this.Ed.bind(this));this.sb={};R(this,qb("layergroup"),this.od,this);R(this,qb("view"),this.Fd,this);R(this,qb("size"),this.Bd,this);R(this,qb("target"),this.Dd, +this);this.l(c.values);od(this.s,function(b){b.setMap(this)},this);R(this.s,"add",function(b){b.element.setMap(this)},this);R(this.s,"remove",function(b){b.element.setMap(null)},this);od(this.h,function(b){b.setMap(this)},this);R(this.h,"add",function(b){b.element.setMap(this)},this);R(this.h,"remove",function(b){b.element.setMap(null)},this);od(this.v,this.ac,this);R(this.v,"add",function(b){this.ac(b.element)},this);R(this.v,"remove",function(b){var c=b.element.Da();void 0!==c&&delete this.Nc[c.toString()]; +b.element.setMap(null)},this)}M(Z,U);n=Z.prototype;n.$c=function(b){this.s.push(b)};n.ad=function(b){this.h.push(b)};n.bd=function(b){ql(this).get("layers").push(b)};n.cd=function(b){this.v.push(b)};n.ac=function(b){var c=b.Da();void 0!==c&&(this.Nc[c.toString()]=b);b.setMap(this)};n.ea=function(b){this.render();Array.prototype.push.apply(this.A,arguments)}; +n.K=function(){ib(this.aa);ib(this.D);fb(this.a,"wheel",this.Ga,this);fb(this.a,"mousewheel",this.Ga,this);void 0!==this.c&&(x.removeEventListener("resize",this.c,!1),this.c=void 0);this.g&&(x.cancelAnimationFrame(this.g),this.g=void 0);this.set("target",null);Z.Y.K.call(this)};n.hd=function(b,c,d,e,f){if(this.b)return b=this.pa(b),this.D.Qb(b,this.b,c,void 0!==d?d:null,void 0!==e?e:bc,void 0!==f?f:null)}; +n.Hd=function(b,c,d){if(!this.b)return!1;b=this.pa(b);return this.D.zc(b,this.b,void 0!==c?c:bc,void 0!==d?d:null)};n.nc=function(b){var c=this.a.getBoundingClientRect();b=b.changedTouches?b.changedTouches[0]:b;return[b.clientX-c.left,b.clientY-c.top]};n.Nb=function(){return this.get("target")};n.Fa=function(){var b=this.Nb();return void 0!==b?$d(b):null};n.pa=function(b){var c=this.b;return c?(b=b.slice(),Lg(c.pixelToCoordinateMatrix,b,b)):null};function ql(b){return b.get("layergroup")} +function Fh(b,c){var d=b.b;if(d){var e=c.slice(0,2);return Lg(d.coordinateToPixelMatrix,e,e)}return null}n.Ha=function(){return this.get("size")};n.O=function(){return this.get("view")};n.jd=function(b,c,d,e){var f=this.b;if(!(f&&c in f.wantedTiles&&f.wantedTiles[c][b.L.toString()]))return Infinity;b=d[0]-f.focus[0];d=d[1]-f.focus[1];return 65536*Math.log(e)+Math.sqrt(b*b+d*d)/e};n.Ga=function(b,c){var d=new pg(c||b.type,this,b);this.pc(d)}; +n.pc=function(b){if(this.b){this.R=b.coordinate;b.frameState=this.b;var c=this.h.a,d;if(!1!==T(this,b))for(d=c.length-1;0<=d;d--){var e=c[d];if(e.get("active")&&!e.handleEvent(b))break}}}; +n.Ad=function(){var b=this.b,c=this.la;if(0!==c.a.length){var d=16,e=d;if(b){var f=b.viewHints;f[0]&&(d=this.Ca?8:0,e=2);f[1]&&(d=this.ob?8:0,e=2)}if(c.h<d){ih(c);for(var f=0,g,h;c.h<d&&f<e&&0<c.a.length;)g=fh(c)[0],h=g.getKey(),0!==g.N()||h in c.g||(c.g[h]=!0,++c.h,++f,g.load())}}c=this.da;d=0;for(e=c.length;d<e;++d)c[d](this,b);c.length=0};n.Bd=function(){this.render()}; +n.Dd=function(){var b;this.Nb()&&(b=this.Fa());if(this.i){for(var c=0,d=this.i.length;c<d;++c)P(this.i[c]);this.i=null}b?(b.appendChild(this.a),b=this.Z?this.Z:b,this.i=[R(b,"keydown",this.Ga,this),R(b,"keypress",this.Ga,this)],this.c||(this.c=this.nb.bind(this),x.addEventListener("resize",this.c,!1))):(he(this.a),void 0!==this.c&&(x.removeEventListener("resize",this.c,!1),this.c=void 0));this.nb()};n.Ed=function(){this.render()};n.Gd=function(){this.render()}; +n.Fd=function(){this.G&&(P(this.G),this.G=null);var b=this.O();b&&(this.G=R(b,"propertychange",this.Gd,this));this.render()};n.pd=function(){this.render()};n.qd=function(){this.render()};n.od=function(){this.u&&(this.u.forEach(P),this.u=null);var b=ql(this);b&&(this.u=[R(b,"propertychange",this.qd,this),R(b,"change",this.pd,this)]);this.render()};n.se=function(){this.g&&x.cancelAnimationFrame(this.g);this.T()};n.render=function(){void 0===this.g&&(this.g=x.requestAnimationFrame(this.T))};n.oe=function(b){return this.h.remove(b)}; +n.pe=function(b){return ql(this).get("layers").remove(b)}; +n.re=function(b){var c,d,e,f=this.Ha(),g=this.O(),h=null;if(c=void 0!==f&&0<f[0]&&0<f[1]&&g)c=!!g.ga()&&void 0!==g.J();if(c){var h=g.g.slice(),k=ql(this).Eb(),l={};c=0;for(d=k.length;c<d;++c)l[I(k[c].layer)]=k[c];e=g.N();h={animate:!1,attributions:{},coordinateToPixelMatrix:this.va,extent:null,focus:this.R?this.R:e.center,index:this.wa++,layerStates:l,layerStatesArray:k,logos:Va({},this.pb),pixelRatio:this.qb,pixelToCoordinateMatrix:this.rb,postRenderFunctions:[],size:f,skippedFeatureUids:this.sb, +tileQueue:this.la,time:b,usedTiles:{},viewState:e,viewHints:h,wantedTiles:{}}}if(h){b=this.A;c=f=0;for(d=b.length;c<d;++c)g=b[c],g(this,h)&&(b[f++]=g);b.length=f;h.extent=Yb(e.center,e.resolution,e.rotation,h.size)}this.b=h;this.D.kb(h);h&&(h.animate&&this.render(),Array.prototype.push.apply(this.da,h.postRenderFunctions),0!==this.A.length||h.viewHints[0]||h.viewHints[1]||Qb(h.extent,this.ka)||(T(this,new ue("moveend",this,h)),Lb(h.extent,this.ka)));T(this,new ue("postrender",this,h));c=e=this.Ad; +this&&(c=ma(e,this));!ga(x.setImmediate)||x.Window&&x.Window.prototype&&!W("Edge")&&x.Window.prototype.setImmediate==x.setImmediate?(mf||(mf=nf()),mf(c)):x.setImmediate(c)}; +n.nb=function(){var b=this.Fa();if(b){var c=Zd(b),d=Hd&&b.currentStyle,e;if(e=d)Xd(c),e=!0;if(e&&"auto"!=d.width&&"auto"!=d.height&&!d.boxSizing)c=qe(b,d.width,"width","pixelWidth"),b=qe(b,d.height,"height","pixelHeight"),b=new Wd(c,b);else{d=new Wd(b.offsetWidth,b.offsetHeight);if(Hd){c=re(b,"paddingLeft");e=re(b,"paddingRight");var f=re(b,"paddingTop"),g=re(b,"paddingBottom"),c=new ke(f,e,g,c)}else c=le(b,"paddingLeft"),e=le(b,"paddingRight"),f=le(b,"paddingTop"),g=le(b,"paddingBottom"),c=new ke(parseFloat(f), +parseFloat(e),parseFloat(g),parseFloat(c));!Hd||9<=Number(Td)?(e=le(b,"borderLeftWidth"),f=le(b,"borderRightWidth"),g=le(b,"borderTopWidth"),b=le(b,"borderBottomWidth"),b=new ke(parseFloat(g),parseFloat(f),parseFloat(b),parseFloat(e))):(e=te(b,"borderLeft"),f=te(b,"borderRight"),g=te(b,"borderTop"),b=te(b,"borderBottom"),b=new ke(g,f,b,e));b=new Wd(d.width-b.left-c.left-c.right-b.right,d.height-b.top-c.top-c.bottom-b.bottom)}this.set("size",[b.width,b.height])}else this.set("size",void 0)}; +function pl(b){var c=null;void 0!==b.keyboardEventTarget&&(c="string"===typeof b.keyboardEventTarget?document.getElementById(b.keyboardEventTarget):b.keyboardEventTarget);var d={},e={};if(void 0===b.logo||"boolean"===typeof b.logo&&b.logo)e["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAHGAAABxgEXwfpGAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAhNQTFRF////AP//AICAgP//AFVVQECA////K1VVSbbbYL/fJ05idsTYJFtbbcjbJllmZszWWMTOIFhoHlNiZszTa9DdUcHNHlNlV8XRIVdiasrUHlZjIVZjaMnVH1RlIFRkH1RkH1ZlasvYasvXVsPQH1VkacnVa8vWIVZjIFRjVMPQa8rXIVVkXsXRsNveIFVkIFZlIVVj3eDeh6GmbMvXH1ZkIFRka8rWbMvXIFVkIFVjIFVkbMvWH1VjbMvWIFVlbcvWIFVla8vVIFVkbMvWbMvVH1VkbMvWIFVlbcvWIFVkbcvVbMvWjNPbIFVkU8LPwMzNIFVkbczWIFVkbsvWbMvXIFVkRnB8bcvW2+TkW8XRIFVkIlZlJVloJlpoKlxrLl9tMmJwOWd0Omh1RXF8TneCT3iDUHiDU8LPVMLPVcLPVcPQVsPPVsPQV8PQWMTQWsTQW8TQXMXSXsXRX4SNX8bSYMfTYcfTYsfTY8jUZcfSZsnUaIqTacrVasrVa8jTa8rWbI2VbMvWbcvWdJObdcvUdszUd8vVeJaee87Yfc3WgJyjhqGnitDYjaarldPZnrK2oNbborW5o9bbo9fbpLa6q9ndrL3ArtndscDDutzfu8fJwN7gwt7gxc/QyuHhy+HizeHi0NfX0+Pj19zb1+Tj2uXk29/e3uLg3+Lh3+bl4uXj4ufl4+fl5Ofl5ufl5ujm5+jmySDnBAAAAFp0Uk5TAAECAgMEBAYHCA0NDg4UGRogIiMmKSssLzU7PkJJT1JTVFliY2hrdHZ3foSFhYeJjY2QkpugqbG1tre5w8zQ09XY3uXn6+zx8vT09vf4+Pj5+fr6/P39/f3+gz7SsAAAAVVJREFUOMtjYKA7EBDnwCPLrObS1BRiLoJLnte6CQy8FLHLCzs2QUG4FjZ5GbcmBDDjxJBXDWxCBrb8aM4zbkIDzpLYnAcE9VXlJSWlZRU13koIeW57mGx5XjoMZEUqwxWYQaQbSzLSkYGfKFSe0QMsX5WbjgY0YS4MBplemI4BdGBW+DQ11eZiymfqQuXZIjqwyadPNoSZ4L+0FVM6e+oGI6g8a9iKNT3o8kVzNkzRg5lgl7p4wyRUL9Yt2jAxVh6mQCogae6GmflI8p0r13VFWTHBQ0rWPW7ahgWVcPm+9cuLoyy4kCJDzCm6d8PSFoh0zvQNC5OjDJhQopPPJqph1doJBUD5tnkbZiUEqaCnB3bTqLTFG1bPn71kw4b+GFdpLElKIzRxxgYgWNYc5SCENVHKeUaltHdXx0dZ8uBI1hJ2UUDgq82CM2MwKeibqAvSO7MCABq0wXEPiqWEAAAAAElFTkSuQmCC"]= +"http://openlayers.org/";else{var f=b.logo;"string"===typeof f?e[f]="":ha(f)&&(e[f.src]=f.href)}f=b.layers instanceof hi?b.layers:new hi({layers:b.layers});d.layergroup=f;d.target=b.target;d.view=void 0!==b.view?b.view:new Wc;var f=$g,g;void 0!==b.renderer?Array.isArray(b.renderer)?g=b.renderer:"string"===typeof b.renderer&&(g=[b.renderer]):g=nl;var h,k;h=0;for(k=g.length;h<k;++h){var l=g[h];if("canvas"==l){if(Gf){f=lk;break}}else if("dom"==l){f=sk;break}else if("webgl"==l&&zf){f=kl;break}}var m; +void 0!==b.controls?m=Array.isArray(b.controls)?new md(b.controls.slice()):b.controls:m=ff();if(void 0!==b.interactions)g=Array.isArray(b.interactions)?new md(b.interactions.slice()):b.interactions;else{g={};h=new md;k=new kh;(void 0!==g.altShiftDragRotate?g.altShiftDragRotate:1)&&h.push(new Gh);(void 0!==g.doubleClickZoom?g.doubleClickZoom:1)&&h.push(new qh({delta:g.zoomDelta,duration:g.zoomDuration}));(void 0!==g.dragPan?g.dragPan:1)&&h.push(new Bh({kinetic:k}));(void 0!==g.pinchRotate?g.pinchRotate: +1)&&h.push(new $h);(void 0!==g.pinchZoom?g.pinchZoom:1)&&h.push(new di({duration:g.zoomDuration}));if(void 0!==g.keyboard?g.keyboard:1)h.push(new Uh),h.push(new Wh({delta:g.zoomDelta,duration:g.zoomDuration}));(void 0!==g.mouseWheelZoom?g.mouseWheelZoom:1)&&h.push(new Yh({duration:g.zoomDuration}));(void 0!==g.shiftDragZoom?g.shiftDragZoom:1)&&h.push(new Th({duration:g.zoomDuration}));g=h}b=void 0!==b.overlays?Array.isArray(b.overlays)?new md(b.overlays.slice()):b.overlays:new md;return{controls:m, +interactions:g,keyboardEventTarget:c,logos:e,overlays:b,te:f,values:d}}lc(mi);lc(ti);ti.forEach(function(b){mi.forEach(function(c){mc(b,c,ni);mc(c,b,oi)})});function rl(b){U.call(this);this.j=b.id;this.i=void 0!==b.insertFirst?b.insertFirst:!0;this.o=void 0!==b.stopEvent?b.stopEvent:!0;this.b=document.createElement("DIV");this.b.className="ol-overlay-container";this.b.style.position="absolute";this.autoPan=void 0!==b.autoPan?b.autoPan:!1;this.g=void 0!==b.autoPanAnimation?b.autoPanAnimation:{};this.h=void 0!==b.autoPanMargin?b.autoPanMargin:20;this.a={$a:"",hb:"",lb:"",mb:"",visible:!0};this.c=null;R(this,qb("element"),this.md,this);R(this,qb("map"), +this.vd,this);R(this,qb("offset"),this.wd,this);R(this,qb("position"),this.yd,this);R(this,qb("positioning"),this.zd,this);void 0!==b.element&&this.set("element",b.element);this.set("offset",void 0!==b.offset?b.offset:[0,0]);this.set("positioning",void 0!==b.positioning?b.positioning:"top-left");void 0!==b.position&&this.uc(b.position)}M(rl,U);n=rl.prototype;n.Da=function(){return this.j};n.md=function(){fe(this.b);var b=this.get("element");b&&this.b.appendChild(b)}; +n.vd=function(){this.c&&(he(this.b),P(this.c),this.c=null);var b=this.get("map");b&&(this.c=R(b,"postrender",this.render,this),sl(this),b=this.o?b.j:b.o,this.i?ge(b,this.b,0):b.appendChild(this.b))};n.render=function(){sl(this)};n.wd=function(){sl(this)}; +n.yd=function(){sl(this);if(void 0!==this.get("position")&&this.autoPan){var b=this.get("map");if(void 0!==b&&b.Fa()){var c=tl(b.Fa(),b.Ha()),d=this.get("element"),e=d.offsetWidth,f=d.currentStyle||x.getComputedStyle(d),e=e+(parseInt(f.marginLeft,10)+parseInt(f.marginRight,10)),f=d.offsetHeight,g=d.currentStyle||x.getComputedStyle(d),f=f+(parseInt(g.marginTop,10)+parseInt(g.marginBottom,10)),h=tl(d,[e,f]),d=this.h;Mb(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=b.O().ga(),e=Fh(b,d),c=[e[0]+c[0],e[1]+c[1]],this.g&&(this.g.source=d,b.ea(dd(this.g))),b.O().ma(b.pa(c)))}}};n.zd=function(){sl(this)};n.setMap=function(b){this.set("map",b)};n.uc=function(b){this.set("position",b)}; +function tl(b,c){var d=Zd(b),e=new Vd(0,0),f;f=d?Zd(d):document;var g;(g=!Hd||9<=Number(Td))||(Xd(f),g=!0);b!=(g?f.documentElement:f.body)&&(f=me(b),g=Xd(d).a,d=g.scrollingElement?g.scrollingElement:Kd?g.body||g.documentElement:g.documentElement,g=g.parentWindow||g.defaultView,d=Hd&&Rd("10")&&g.pageYOffset!=d.scrollTop?new Vd(d.scrollLeft,d.scrollTop):new Vd(g.pageXOffset||d.scrollLeft,g.pageYOffset||d.scrollTop),e.x=f.left+d.x,e.y=f.top+d.y);return[e.x,e.y,e.x+c[0],e.y+c[1]]} +function ul(b,c){b.a.visible!==c&&(pe(b.b,c),b.a.visible=c)} +function sl(b){var c=b.get("map"),d=b.get("position");if(void 0!==c&&c.b&&void 0!==d){var d=Fh(c,d),e=c.Ha(),c=b.b.style,f=b.get("offset"),g=b.get("positioning"),h=f[0],f=f[1];if("bottom-right"==g||"center-right"==g||"top-right"==g)""!==b.a.hb&&(b.a.hb=c.left=""),h=Math.round(e[0]-d[0]-h)+"px",b.a.lb!=h&&(b.a.lb=c.right=h);else{""!==b.a.lb&&(b.a.lb=c.right="");if("bottom-center"==g||"center-center"==g||"top-center"==g)h-=ne(b.b).width/2;h=Math.round(d[0]+h)+"px";b.a.hb!=h&&(b.a.hb=c.left=h)}if("bottom-left"== +g||"bottom-center"==g||"bottom-right"==g)""!==b.a.mb&&(b.a.mb=c.top=""),d=Math.round(e[1]-d[1]-f)+"px",b.a.$a!=d&&(b.a.$a=c.bottom=d);else{""!==b.a.$a&&(b.a.$a=c.bottom="");if("center-left"==g||"center-center"==g||"center-right"==g)f-=ne(b.b).height/2;d=Math.round(d[1]+f)+"px";b.a.mb!=d&&(b.a.mb=c.top=d)}ul(b,!0)}else ul(b,!1)};function vl(){this.defaultDataProjection=null}function wl(b,c,d){var e;d&&(e={dataProjection:d.dataProjection?d.dataProjection:b.f(Lj(c)),featureProjection:d.featureProjection});var f;e&&(f={featureProjection:e.featureProjection,dataProjection:e.dataProjection?e.dataProjection:b.defaultDataProjection,rightHanded:e.rightHanded},e.decimals&&(f.decimals=e.decimals));return f} +function xl(b,c){var d=c?kc(c.featureProjection):null,e=c?kc(c.dataProjection):null;if(d&&e&&!vc(d,e))if(b instanceof yc)d=b.o(e,d);else{e=wc(e,d);d=[b[0],b[1],b[0],b[3],b[2],b[1],b[2],b[3]];e(d,d,2);var f=[d[0],d[2],d[4],d[6]],g=[d[1],d[3],d[5],d[7]],d=Math.min.apply(null,f),e=Math.min.apply(null,g),f=Math.max.apply(null,f),g=Math.max.apply(null,g),d=Nb(d,e,f,g,void 0)}else d=b;return d};function yl(){this.defaultDataProjection=null}M(yl,vl);function Lj(b){return ha(b)?b:"string"===typeof b?(b=JSON.parse(b))?b:null:null}yl.prototype.U=function(){return"json"};yl.prototype.g=function(b,c){return this.a(Lj(b),wl(this,b,c))};yl.prototype.b=function(b,c){return this.h(Lj(b),wl(this,b,c))};function zl(b,c,d,e,f){var g=NaN,h=NaN,k=(d-c)/e;if(0!==k)if(1==k)g=b[c],h=b[c+1];else if(2==k)g=.5*b[c]+.5*b[c+e],h=.5*b[c+1]+.5*b[c+e+1];else{var h=b[c],k=b[c+1],l=0,g=[0],m;for(m=c+e;m<d;m+=e){var p=b[m],q=b[m+1],l=l+Math.sqrt((p-h)*(p-h)+(q-k)*(q-k));g.push(l);h=p;k=q}d=.5*l;l=0;m=g.length;for(p=!1;l<m;)h=l+(m-l>>1),k=+Ga(g[h],d),0>k?l=h+1:(m=h,p=!k);h=p?l:~l;0>h?(d=(d-g[-h-2])/(g[-h-1]-g[-h-2]),c+=(-h-2)*e,g=b[c],g=g+d*(b[c+e]-g),h=b[c+1],h=h+d*(b[c+e+1]-h)):(g=b[c+h*e],h=b[c+h*e+1])}return f? +(f[0]=g,f[1]=h,f):[g,h]};function Al(b,c){Ac.call(this);this.c=null;this.j=-1;this.X(b,c)}M(Al,Ac);n=Al.prototype;n.clone=function(){var b=new Al(null);V(b,this.g,this.a.slice());b.w();return b};n.oa=function(){return Gc(this.a,0,this.a.length,this.b)};function Wi(b){if(b.j!=b.f){var c;c=zl(b.a,0,b.a.length,b.b,b.c);b.c=c;b.j=b.f}return b.c}n.Ea=function(b){var c=[];c.length=Ic(this.a,0,this.a.length,this.b,b,c,0);b=new Al(null);V(b,"XY",c);b.w();return b};n.U=function(){return"LineString"}; +n.X=function(b,c){b?(Cc(this,c,b,1),this.a||(this.a=[]),this.a.length=Ec(this.a,0,b,this.b)):V(this,"XY",null);this.w()};function Bl(b,c){Ac.call(this);this.c=[];this.X(b,c)}M(Bl,Ac);n=Bl.prototype;n.clone=function(){var b=new Bl(null),c=this.c.slice();V(b,this.g,this.a.slice());b.c=c;b.w();return b};n.oa=function(){return Hc(this.a,0,this.c,this.b)};n.Ta=function(){return this.c};function Xi(b){var c=[],d=b.a,e=0,f=b.c;b=b.b;var g,h;g=0;for(h=f.length;g<h;++g){var k=f[g],e=zl(d,e,k,b);Ja(c,e);e=k}return c} +n.Ea=function(b){var c=[],d=[],e=this.a,f=this.c,g=this.b,h=0,k=0,l,m;l=0;for(m=f.length;l<m;++l){var p=f[l],k=Ic(e,h,p,g,b,c,k);d.push(k);h=p}c.length=k;b=new Bl(null);V(b,"XY",c);b.c=d;b.w();return b};n.U=function(){return"MultiLineString"};n.X=function(b,c){if(b){Cc(this,c,b,2);this.a||(this.a=[]);var d=Fc(this.a,0,b,this.b,this.c);this.a.length=0===d.length?0:d[d.length-1]}else d=this.c,V(this,"XY",null),this.c=d;this.w()};function Cl(b,c){Ac.call(this);this.X(b,c)}M(Cl,Ac);Cl.prototype.clone=function(){var b=new Cl(null);V(b,this.g,this.a.slice());b.w();return b};Cl.prototype.oa=function(){return Gc(this.a,0,this.a.length,this.b)};Cl.prototype.U=function(){return"MultiPoint"};Cl.prototype.X=function(b,c){b?(Cc(this,c,b,1),this.a||(this.a=[]),this.a.length=Ec(this.a,0,b,this.b)):V(this,"XY",null);this.w()};function Dl(b,c){Ac.call(this);this.c=[];this.A=-1;this.D=null;this.G=-1;this.j=null;this.X(b,c)}M(Dl,Ac);n=Dl.prototype;n.clone=function(){for(var b=new Dl(null),c=this.c.length,d=Array(c),e=0;e<c;++e)d[e]=this.c[e].slice();V(b,this.g,this.a.slice());b.c=d;b.w();return b};n.oa=function(b){var c;void 0!==b?(c=Yi(this).slice(),Rc(c,this.c,this.b,b)):c=this.a;b=c;c=this.c;var d=this.b,e=0,f=[],g=0,h,k;h=0;for(k=c.length;h<k;++h){var l=c[h];f[g++]=Hc(b,e,l,d,f[g]);e=l[l.length-1]}f.length=g;return f}; +function Zi(b){if(b.A!=b.f){var c=b.a,d=b.c,e=b.b,f=0,g=[],h,k,l=Ib();h=0;for(k=d.length;h<k;++h){var m=d[h],l=c,p=m[0],q=e,r=Ob(void 0),l=Sb(r,l,f,p,q);g.push((l[0]+l[2])/2,(l[1]+l[3])/2);f=m[m.length-1]}c=Yi(b);d=b.c;e=b.b;h=0;k=[];m=0;for(l=d.length;m<l;++m)f=d[m],k=Nc(c,h,f,e,g,2*m,k),h=f[f.length-1];b.D=k;b.A=b.f}return b.D} +function Yi(b){if(b.G!=b.f){var c=b.a,d;a:{d=b.c;var e,f;e=0;for(f=d.length;e<f;++e)if(!Pc(c,d[e],b.b,void 0)){d=!1;break a}d=!0}d?b.j=c:(b.j=c.slice(),b.j.length=Rc(b.j,b.c,b.b));b.G=b.f}return b.j}n.Ea=function(b){var c=[],d=[],e=this.a,f=this.c,g=this.b;b=Math.sqrt(b);var h=0,k=0,l,m;l=0;for(m=f.length;l<m;++l){var p=f[l],q=[],k=Jc(e,h,p,g,b,c,k,q);d.push(q);h=p[p.length-1]}c.length=k;e=new Dl(null);V(e,"XY",c);e.c=d;e.w();return e};n.U=function(){return"MultiPolygon"}; +n.X=function(b,c){if(b){Cc(this,c,b,3);this.a||(this.a=[]);var d=this.a,e=this.b,f=this.c,g=0,f=f?f:[],h=0,k,l;k=0;for(l=b.length;k<l;++k)g=Fc(d,g,b[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])}else d=this.c,V(this,"XY",null),this.c=d;this.w()};function El(b){b=b?b:{};this.defaultDataProjection=null;this.c=b.geometryName}M(El,yl);function Fl(b){var c="XY";!0===b.hasZ&&!0===b.hasM?c="XYZM":!0===b.hasZ?c="XYZ":!0===b.hasM&&(c="XYM");return c} +var Gl={Point:function(b){return void 0!==b.m&&void 0!==b.z?new Lc([b.x,b.y,b.z,b.m],"XYZM"):void 0!==b.z?new Lc([b.x,b.y,b.z],"XYZ"):void 0!==b.m?new Lc([b.x,b.y,b.m],"XYM"):new Lc([b.x,b.y])},LineString:function(b){return new Al(b.paths[0],Fl(b))},Polygon:function(b){return new Sc(b.rings,Fl(b))},MultiPoint:function(b){return new Cl(b.points,Fl(b))},MultiLineString:function(b){return new Bl(b.paths,Fl(b))},MultiPolygon:function(b){return new Dl(b.rings,Fl(b))}}; +El.prototype.a=function(b,c){var d;if(d=b.geometry){var e;if(ea(d.x)&&ea(d.y))e="Point";else if(d.points)e="MultiPoint";else if(d.paths)e=1===d.paths.length?"LineString":"MultiLineString";else if(d.rings){var f=d.rings,g=Fl(d),h=[];e=[];var k,l;k=0;for(l=f.length;k<l;++k){var m=Ia(f[k]);Oc(m,0,m.length,g.length)?h.push([f[k]]):e.push(f[k])}for(;e.length;){f=e.shift();g=!1;for(k=h.length-1;0<=k;k--)if(Mb((new Kc(h[k][0])).C(),(new Kc(f)).C())){h[k].push(f);g=!0;break}g||h.push([f.reverse()])}d=Va({}, +d);1===h.length?(e="Polygon",d.rings=h[0]):(e="MultiPolygon",d.rings=h)}d=xl((0,Gl[e])(d),c)}else d=null;h=new Gj;this.c&&Ij(h,this.c);Hj(h,d);c&&c.Jb&&b.attributes[c.Jb]&&(h.g=b.attributes[c.Jb],h.w());b.attributes&&h.l(b.attributes);return h};El.prototype.h=function(b,c){var d=c?c:{};if(b.features){var e=[],f=b.features,g,h;d.Jb=b.objectIdFieldName;g=0;for(h=f.length;g<h;++g)e.push(this.a(f[g],d));return e}return[this.a(b,d)]}; +El.prototype.f=function(b){return b.spatialReference&&b.spatialReference.wkid?kc("EPSG:"+b.spatialReference.wkid):null};function Hl(b){yc.call(this);this.a=b?b:null;Il(this)}M(Hl,yc);function Jl(b){var c,d;if(b.a)for(c=0,d=b.a.length;c<d;++c)fb(b.a[c],"change",b.w,b)}function Il(b){var c,d;if(b.a)for(c=0,d=b.a.length;c<d;++c)R(b.a[c],"change",b.w,b)}n=Hl.prototype;n.clone=function(){var b=new Hl(null),c=this.a,d=[],e,f;e=0;for(f=c.length;e<f;++e)d.push(c[e].clone());Jl(b);b.a=d;Il(b);b.w();return b};n.ab=function(b){Ob(b);for(var c=this.a,d=0,e=c.length;d<e;++d)Rb(b,c[d].C());return b}; +n.Hb=function(b){this.s!=this.f&&(Wa(this.h),this.i=0,this.s=this.f);if(0>b||0!==this.i&&b<this.i)return this;var c=b.toString();if(this.h.hasOwnProperty(c))return this.h[c];var d=[],e=this.a,f=!1,g,h;g=0;for(h=e.length;g<h;++g){var k=e[g],l=k.Hb(b);d.push(l);l!==k&&(f=!0)}if(f)return b=new Hl(null),Jl(b),b.a=d,Il(b),b.w(),this.h[c]=b;this.i=b;return this};n.U=function(){return"GeometryCollection"};n.rotate=function(b,c){for(var d=this.a,e=0,f=d.length;e<f;++e)d[e].rotate(b,c);this.w()}; +n.wb=function(b){var c=this.a,d,e;d=0;for(e=c.length;d<e;++d)c[d].wb(b);this.w()};n.K=function(){Jl(this);Hl.Y.K.call(this)};function Kl(b){b=b?b:{};this.defaultDataProjection=null;this.defaultDataProjection=kc(b.defaultDataProjection?b.defaultDataProjection:"EPSG:4326");this.c=b.geometryName}M(Kl,yl);function Ll(b,c){return b?xl((0,Ml[b.type])(b),c):null} +var Ml={Point:function(b){return new Lc(b.coordinates)},LineString:function(b){return new Al(b.coordinates)},Polygon:function(b){return new Sc(b.coordinates)},MultiPoint:function(b){return new Cl(b.coordinates)},MultiLineString:function(b){return new Bl(b.coordinates)},MultiPolygon:function(b){return new Dl(b.coordinates)},GeometryCollection:function(b,c){var d=b.geometries.map(function(b){return Ll(b,c)});return new Hl(d)}}; +Kl.prototype.a=function(b,c){var d=Ll(b.geometry,c),e=new Gj;this.c&&Ij(e,this.c);Hj(e,d);void 0!==b.id&&(e.g=b.id,e.w());b.properties&&e.l(b.properties);return e};Kl.prototype.h=function(b,c){if("Feature"==b.type)return[this.a(b,c)];if("FeatureCollection"==b.type){var d=[],e=b.features,f,g;f=0;for(g=e.length;f<g;++f)d.push(this.a(e[f],c));return d}return[]};Kl.prototype.f=function(b){return(b=b.crs)?"name"==b.type?kc(b.properties.name):"EPSG"==b.type?kc("EPSG:"+b.properties.code):null:this.defaultDataProjection};function Nl(b,c,d){if("array"==ba(c))for(var e=0;e<c.length;e++)Nl(b,String(c[e]),d);else null!=c&&d.push("&",b,""===c?"":"=",encodeURIComponent(String(c)))};function Ol(b,c,d){Ac.call(this);Pl(this,b,c?c:0,d)}M(Ol,Ac);Ol.prototype.clone=function(){var b=new Ol(null);V(b,this.g,this.a.slice());b.w();return b};Ol.prototype.ab=function(b){var c=this.a,d=c[this.b]-c[0];return Nb(c[0]-d,c[1]-d,c[0]+d,c[1]+d,b)};Ol.prototype.U=function(){return"Circle"};function Pl(b,c,d,e){if(c){Cc(b,e,c,0);b.a||(b.a=[]);e=b.a;c=Dc(e,c);e[c++]=e[0]+d;var f;d=1;for(f=b.b;d<f;++d)e[c++]=e[d];e.length=c}else V(b,"XY",null);b.w()};function Ql(b,c,d,e,f){Ce.call(this,b,c);this.g=d;this.b=new Image;null!==e&&(this.b.crossOrigin=e);this.f={};this.c=null;this.h=f}M(Ql,Ce);n=Ql.prototype;n.K=function(){1==this.state&&Rl(this);this.a&&ib(this.a);this.state=5;De(this);Ql.Y.K.call(this)};n.S=function(b){if(void 0!==b){var c=I(b);if(c in this.f)return this.f[c];b=Za(this.f)?this.b:this.b.cloneNode(!1);return this.f[c]=b}return this.b};n.getKey=function(){return this.g};n.Yd=function(){this.state=3;Rl(this);De(this)}; +n.Zd=function(){this.state=this.b.naturalWidth&&this.b.naturalHeight?2:4;Rl(this);De(this)};n.load=function(){0==this.state&&(this.state=1,De(this),this.c=[R(this.b,"error",this.Yd,this,!0),R(this.b,"load",this.Zd,this,!0)],this.h(this,this.g))};function Rl(b){b.c.forEach(P);b.c=null};function Sl(b,c){S.call(this,b);this.feature=c}M(Sl,S); +function Tl(b){yh.call(this,{handleDownEvent:Ul,handleEvent:Vl,handleUpEvent:Wl});this.R=null;this.o=!1;this.wa=b.source?b.source:null;this.la=b.features?b.features:null;this.Zc=b.snapTolerance?b.snapTolerance:12;this.D=b.type;this.b=Xl(this.D);this.ka=b.minPoints?b.minPoints:this.b===Yl?3:2;this.da=b.maxPoints?b.maxPoints:Infinity;var c=b.geometryFunction;if(!c)if("Circle"===this.D)c=function(b,c){var d=c?c:new Ol([NaN,NaN]),h=b[0],k=b[1],l=h[0]-k[0],h=h[1]-k[1];Pl(d,b[0],Math.sqrt(l*l+h*h));return d}; +else{var d,c=this.b;c===Zl?d=Lc:c===am?d=Al:c===Yl&&(d=Sc);c=function(b,c){var g=c;g?g.X(b):g=new d(b);return g}}this.u=c;this.A=this.i=this.a=this.j=this.g=this.h=null;this.dd=b.clickTolerance?b.clickTolerance*b.clickTolerance:36;this.Z=new Y({source:new Uj({useSpatialIndex:!1,wrapX:b.wrapX?b.wrapX:!1}),style:b.style?b.style:bm()});this.va=b.geometryName;this.sb=b.condition?b.condition:uh;this.aa=b.freehandCondition?b.freehandCondition:vh;R(this,qb("active"),this.Ca,this)}M(Tl,yh); +function bm(){var b=Oi();return function(c){return b[c.M().U()]}}Tl.prototype.setMap=function(b){Tl.Y.setMap.call(this,b);this.Ca()};function Vl(b){this.b!==am&&this.b!==Yl||!this.aa(b)||(this.o=!0);var c=!this.o;this.o&&b.type===Bg?(cm(this,b),c=!1):b.type===Ag?c=dm(this,b):b.type===ug&&(c=!1);return zh.call(this,b)&&c}function Ul(b){return this.sb(b)?(this.R=b.pixel,!0):this.o?(this.R=b.pixel,this.h||em(this,b),!0):!1} +function Wl(b){this.o=!1;var c=this.R,d=b.pixel,e=c[0]-d[0],c=c[1]-d[1],d=!0;e*e+c*c<=this.dd&&(dm(this,b),this.h?this.b===fm?gm(this):hm(this,b)?gm(this):cm(this,b):(em(this,b),this.b===Zl&&gm(this)),d=!1);return d} +function dm(b,c){if(b.h){var d=c.coordinate,e=b.g.M(),f;b.b===Zl?f=b.a:b.b===Yl?(f=b.a[0],f=f[f.length-1],hm(b,c)&&(d=b.h.slice())):(f=b.a,f=f[f.length-1]);f[0]=d[0];f[1]=d[1];b.u(b.a,e);b.j&&b.j.M().X(d);e instanceof Sc&&b.b!==Yl?(b.i||(b.i=new Gj(new Al(null))),0>=e.c.length?e=null:(d=new Kc(null),V(d,e.g,e.a.slice(0,e.c[0])),d.w(),e=d),d=b.i.M(),V(d,e.g,e.a),d.w()):b.A&&(d=b.i.M(),d.X(b.A));im(b)}else e=c.coordinate.slice(),b.j?b.j.M().X(e):(b.j=new Gj(new Lc(e)),im(b));return!0} +function hm(b,c){var d=!1;if(b.g){var e=!1,f=[b.h];b.b===am?e=b.a.length>b.ka:b.b===Yl&&(e=b.a[0].length>b.ka,f=[b.a[0][0],b.a[0][b.a[0].length-2]]);if(e)for(var e=c.map,g=0,h=f.length;g<h;g++){var k=f[g],l=Fh(e,k),m=c.pixel,d=m[0]-l[0],l=m[1]-l[1],m=b.o&&b.aa(c)?1:b.Zc;if(d=Math.sqrt(d*d+l*l)<=m){b.h=k;break}}}return d} +function em(b,c){var d=c.coordinate;b.h=d;b.b===Zl?b.a=d.slice():b.b===Yl?(b.a=[[d.slice(),d.slice()]],b.A=b.a[0]):(b.a=[d.slice(),d.slice()],b.b===fm&&(b.A=b.a));b.A&&(b.i=new Gj(new Al(b.A)));d=b.u(b.a);b.g=new Gj;b.va&&Ij(b.g,b.va);Hj(b.g,d);im(b);T(b,new Sl("drawstart",b.g))} +function cm(b,c){var d=c.coordinate,e=b.g.M(),f,g;if(b.b===am)b.h=d.slice(),g=b.a,g.push(d.slice()),f=g.length>b.da,b.u(g,e);else if(b.b===Yl){g=b.a[0];g.push(d.slice());if(f=g.length>b.da)b.h=g[0];b.u(b.a,e)}im(b);f&&gm(b)} +function gm(b){var c=jm(b),d=b.a,e=c.M();b.b===am?(d.pop(),b.u(d,e)):b.b===Yl&&(d[0].pop(),d[0].push(d[0][0]),b.u(d,e));"MultiPoint"===b.D?Hj(c,new Cl([d])):"MultiLineString"===b.D?Hj(c,new Bl([d])):"MultiPolygon"===b.D&&Hj(c,new Dl([d]));T(b,new Sl("drawend",c));b.la&&b.la.push(c);b.wa&&b.wa.ub(c)}function jm(b){b.h=null;var c=b.g;c&&(b.g=null,b.j=null,b.i=null,b.Z.W().clear(!0));return c}Tl.prototype.v=cc; +function im(b){var c=[];b.g&&c.push(b.g);b.i&&c.push(b.i);b.j&&c.push(b.j);b=b.Z.W();b.clear(!0);b.vb(c)}Tl.prototype.Ca=function(){var b=this.T,c=this.get("active");b&&c||jm(this);this.Z.setMap(c?b:null)};function Xl(b){var c;"Point"===b||"MultiPoint"===b?c=Zl:"LineString"===b||"MultiLineString"===b?c=am:"Polygon"===b||"MultiPolygon"===b?c=Yl:"Circle"===b&&(c=fm);return c}var Zl="Point",am="LineString",Yl="Polygon",fm="Circle";function km(b,c,d,e,f,g,h,k,l,m,p){Ce.call(this,f,0);this.u=void 0!==p?p:!1;this.s=h;this.o=k;this.c=null;this.f={};this.g=c;this.l=e;this.i=g?g:f;this.b=[];this.Ja=null;this.h=0;g=Ke(e,this.i);k=this.l.C();f=this.g.C();g=k?Zb(g,k):g;if(0===Tb(g))this.state=4;else if((k=b.C())&&(f?f=Zb(f,k):f=k),k=e.J(this.i[0]),p=Xb(g),e=wc(d,b)(p,void 0,p.length),k=d.getPointResolution(k,p),p=oc(d),void 0!==p&&(k*=p),p=oc(b),void 0!==p&&(k/=p),e=b.getPointResolution(k,e)/k,isFinite(e)&&0<e&&(k/=e),e=k,!isFinite(e)|| +0>=e)this.state=4;else if(this.j=new Dj(b,d,g,f,e*(void 0!==m?m:.5)),0===this.j.c.length)this.state=4;else if(this.h=Re(c,e),d=Fj(this.j),f&&(b.a?(d[1]=Ba(d[1],f[1],f[3]),d[3]=Ba(d[3],f[1],f[3])):d=Zb(d,f)),Tb(d))if(b=Le(c,d,this.h),100>(b.b-b.a+1)*(b.c-b.f+1)){for(c=b.a;c<=b.b;c++)for(d=b.f;d<=b.c;d++)(m=l(this.h,c,d,h))&&this.b.push(m);0===this.b.length&&(this.state=4)}else this.state=3;else this.state=4}M(km,Ce);km.prototype.K=function(){1==this.state&&(this.Ja.forEach(P),this.Ja=null);km.Y.K.call(this)}; +km.prototype.S=function(b){if(void 0!==b){var c=I(b);if(c in this.f)return this.f[c];b=Za(this.f)?this.c:this.c.cloneNode(!1);return this.f[c]=b}return this.c}; +km.prototype.Oc=function(){var b=[];this.b.forEach(function(c){c&&2==c.N()&&b.push({extent:Ke(this.g,c.L),image:c.S()})},this);this.b.length=0;if(0===b.length)this.state=3;else{var c=this.i[0],d=Qe(this.l,c),e=ea(d)?d:d[0],d=ea(d)?d:d[1],c=this.l.J(c),f=this.g.J(this.h),g=Ke(this.l,this.i);this.c=Cj(e,d,this.s,f,this.g.C(),c,g,this.j,b,this.o,this.u);this.state=2}De(this)}; +km.prototype.load=function(){if(0==this.state){this.state=1;De(this);var b=0;this.Ja=[];this.b.forEach(function(c){var d=c.N();if(0==d||1==d){b++;var e;e=R(c,"change",function(){var d=c.N();if(2==d||3==d||4==d)P(e),b--,0===b&&(this.Ja.forEach(P),this.Ja=null,this.Oc())},this);this.Ja.push(e)}},this);this.b.forEach(function(b){0==b.N()&&b.load()});0===b&&x.setTimeout(this.Oc.bind(this),0)}};function lm(b){jk.call(this,{attributions:b.attributions,cacheSize:b.cacheSize,extent:b.extent,logo:b.logo,opaque:b.opaque,projection:b.projection,state:b.state,tileGrid:b.tileGrid,tileLoadFunction:b.tileLoadFunction?b.tileLoadFunction:mm,tilePixelRatio:b.tilePixelRatio,tileUrlFunction:b.tileUrlFunction,url:b.url,urls:b.urls,wrapX:b.wrapX});this.crossOrigin=void 0!==b.crossOrigin?b.crossOrigin:null;this.tileClass=void 0!==b.tileClass?b.tileClass:Ql;this.b={};this.o={};this.T=b.reprojectionErrorThreshold} +M(lm,jk);n=lm.prototype;n.Gc=function(){if(Ae(this.a))return!0;for(var b in this.b)if(Ae(this.b[b]))return!0;return!1};n.Hc=function(b,c){var d=this.Ua(b);Be(this.a,this.a==d?c:{});for(var e in this.b){var f=this.b[e];Be(f,f==d?c:{})}};n.bb=function(){return 0};n.Fb=function(b){return this.c&&b&&!vc(this.c,b)?!1:lm.Y.Fb.call(this,b)};n.ia=function(b){var c=this.c;return!this.tileGrid||c&&!vc(c,b)?(c=I(b).toString(),c in this.o||(this.o[c]=Te(b)),this.o[c]):this.tileGrid}; +n.Ua=function(b){var c=this.c;if(!c||vc(c,b))return this.a;b=I(b).toString();b in this.b||(this.b[b]=new ze);return this.b[b]};function nm(b,c,d,e,f,g){c=[c,d,e];f=(d=Ze(b,c,g))?b.tileUrlFunction(d,f,g):void 0;f=new b.tileClass(c,void 0!==f?0:4,void 0!==f?f:"",b.crossOrigin,b.tileLoadFunction);f.key="";R(f,"change",b.D,b);return f} +function Ug(b,c,d,e,f,g){if(b.c&&g&&!vc(b.c,g)){var h=b.Ua(g);d=[c,d,e];c=b.cb.apply(b,d);if(xe(h,c))return h.get(c);var k=b.c;e=b.ia(k);var l=b.ia(g),m=Ze(b,d,g);b=new km(k,e,g,l,d,m,b.eb(f),0,function(b,c,d,e){return om(this,b,c,d,e,k)}.bind(b),b.T,!1);h.set(c,b);return b}return om(b,c,d,e,f,g)} +function om(b,c,d,e,f,g){var h=null,k=b.cb(c,d,e);if(xe(b.a,k)){if(h=b.a.get(k),""!=h.key){var l=h;h.a&&""==h.a.key?(h=h.a,2==l.N()&&(h.a=l)):(h=nm(b,c,d,e,f,g),2==l.N()?h.a=l:l.a&&2==l.a.N()&&(h.a=l.a,l.a=null));h.a&&(h.a.a=null);b.a.replace(k,h)}}else h=nm(b,c,d,e,f,g),b.a.set(k,h);return h}function mm(b,c){b.S().src=c};function pm(b){var c=void 0!==b.projection?b.projection:"EPSG:3857",d;if(void 0!==b.tileGrid)d=b.tileGrid;else{d={extent:Ue(c),maxZoom:b.maxZoom,minZoom:b.minZoom,tileSize:b.tileSize};var e={};Va(e,void 0!==d?d:{});void 0===e.extent&&(e.extent=kc("EPSG:3857").C());e.resolutions=Ve(e.extent,e.maxZoom,e.tileSize);delete e.maxZoom;d=new Ge(e)}lm.call(this,{attributions:b.attributions,cacheSize:b.cacheSize,crossOrigin:b.crossOrigin,logo:b.logo,opaque:b.opaque,projection:c,reprojectionErrorThreshold:b.reprojectionErrorThreshold, +tileGrid:d,tileLoadFunction:b.tileLoadFunction,tilePixelRatio:b.tilePixelRatio,tileUrlFunction:b.tileUrlFunction,url:b.url,urls:b.urls,wrapX:void 0!==b.wrapX?b.wrapX:!0})}M(pm,lm);function qm(b){b=b||{};var c;void 0!==b.attributions?c=b.attributions:c=[rm];pm.call(this,{attributions:c,cacheSize:b.cacheSize,crossOrigin:void 0!==b.crossOrigin?b.crossOrigin:"anonymous",opaque:void 0!==b.opaque?b.opaque:!0,maxZoom:void 0!==b.maxZoom?b.maxZoom:19,reprojectionErrorThreshold:b.reprojectionErrorThreshold,tileLoadFunction:b.tileLoadFunction,url:void 0!==b.url?b.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",wrapX:b.wrapX})}M(qm,pm);var rm=new kd({html:'© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'});function sm(b){b=b||{};var c=tm[b.layer];this.u=b.layer;pm.call(this,{attributions:c.attributions,cacheSize:b.cacheSize,crossOrigin:"anonymous",logo:"https://developer.mapquest.com/content/osm/mq_logo.png",maxZoom:c.maxZoom,reprojectionErrorThreshold:b.reprojectionErrorThreshold,opaque:c.opaque,tileLoadFunction:b.tileLoadFunction,url:void 0!==b.url?b.url:"https://otile{1-4}-s.mqcdn.com/tiles/1.0.0/"+this.u+"/{z}/{x}/{y}.jpg"})}M(sm,pm); +var um=new kd({html:'Tiles Courtesy of <a href="http://www.mapquest.com/">MapQuest</a>'}),tm={osm:{maxZoom:19,opaque:!0,attributions:[um,rm]},sat:{maxZoom:18,opaque:!0,attributions:[um,new kd({html:"Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency"})]},hyb:{maxZoom:18,opaque:!1,attributions:[um,rm]}};function vm(b){b=b||{};lm.call(this,{attributions:b.attributions,cacheSize:b.cacheSize,crossOrigin:b.crossOrigin,logo:b.logo,projection:b.projection,reprojectionErrorThreshold:b.reprojectionErrorThreshold,tileGrid:b.tileGrid,tileLoadFunction:b.tileLoadFunction,url:b.url,urls:b.urls,wrapX:void 0!==b.wrapX?b.wrapX:!0});this.R=b.params||{};this.u=Ib()}M(vm,lm);vm.prototype.eb=function(b){return b}; +vm.prototype.g=function(b,c,d){var e=this.tileGrid;e||(e=this.ia(d));if(!(e.Gb().length<=b[0])){var f=Ke(e,b,this.u),g=sb(Qe(e,b[0]),this.h);1!=c&&(g=rb(g,c,this.h));e={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};Va(e,this.R);var h;var k=this.urls;if(k){d=d.na.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);b=[(1==k.length?k[0]:k[Da((b[1]<<b[0])+b[2],k.length)]).replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/, +"ImageServer/exportImage")];for(h in e)Nl(h,e[h],b);b[1]&&(h=b[0],c=h.indexOf("#"),0<=c&&(b.push(h.substr(c)),b[0]=h=h.substr(0,c)),c=h.indexOf("?"),0>c?b[1]="?":c==h.length-1&&(b[1]=void 0));h=b.join("")}else h=void 0;return h}};function wm(b){this.j=this.c=this.g=null;this.i=void 0!==b.fill?b.fill:null;this.I=[0,0];this.a=b.points;this.f=void 0!==b.radius?b.radius:b.radius1;this.h=void 0!==b.radius2?b.radius2:this.f;this.l=void 0!==b.angle?b.angle:0;this.b=void 0!==b.stroke?b.stroke:null;this.A=this.D=this.H=null;var c=b.atlasManager,d="",e="",f=0,g=null,h,k=0;this.b&&(h=wd(this.b.b),k=this.b.f,void 0===k&&(k=1),g=this.b.a,Ff||(g=null),e=this.b.g,void 0===e&&(e="round"),d=this.b.c,void 0===d&&(d="round"),f=this.b.h,void 0=== +f&&(f=10));var l=2*(this.f+k)+1,d={strokeStyle:h,Za:k,size:l,lineCap:d,lineDash:g,lineJoin:e,miterLimit:f};if(void 0===c){this.c=document.createElement("CANVAS");this.c.height=l;this.c.width=l;var c=l=this.c.width,m=this.c.getContext("2d");this.Lc(d,m,0,0);this.i?this.j=this.c:(m=this.j=document.createElement("CANVAS"),m.height=d.size,m.width=d.size,m=m.getContext("2d"),this.Kc(d,m,0,0))}else l=Math.round(l),(e=!this.i)&&(m=this.Kc.bind(this,d)),f=this.b?Gi(this.b):"-",g=this.i?Ai(this.i):"-",this.g&& +f==this.g[1]&&g==this.g[2]&&this.f==this.g[3]&&this.h==this.g[4]&&this.l==this.g[5]&&this.a==this.g[6]||(this.g=["r"+f+g+(void 0!==this.f?this.f.toString():"-")+(void 0!==this.h?this.h.toString():"-")+(void 0!==this.l?this.l.toString():"-")+(void 0!==this.a?this.a.toString():"-"),f,g,this.f,this.h,this.l,this.a]),m=c.add(this.g[0],l,l,this.Lc.bind(this,d),m),this.c=m.image,this.I=[m.offsetX,m.offsetY],c=m.image.width,this.j=e?m.Id:this.c;this.H=[l/2,l/2];this.D=[l,l];this.A=[c,c];Vg.call(this,{opacity:1, +rotateWithView:void 0!==b.rotateWithView?b.rotateWithView:!1,rotation:void 0!==b.rotation?b.rotation:0,scale:1,snapToPixel:void 0!==b.snapToPixel?b.snapToPixel:!0})}M(wm,Vg);n=wm.prototype;n.Sa=function(){return this.H};n.jb=function(){return this.j};n.S=function(){return this.c};n.Db=function(){return this.A};n.Ya=function(){return 2};n.fa=function(){return this.I};n.ya=function(){return this.D};n.Mb=N;n.load=N;n.Ub=N; +n.Lc=function(b,c,d,e){var f;c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();this.h!==this.f&&(this.a*=2);for(d=0;d<=this.a;d++)e=2*d*Math.PI/this.a-Math.PI/2+this.l,f=0===d%2?this.f:this.h,c.lineTo(b.size/2+f*Math.cos(e),b.size/2+f*Math.sin(e));this.i&&(c.fillStyle=zd(this.i.a),c.fill());this.b&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.Za,b.lineDash&&c.setLineDash(b.lineDash),c.lineCap=b.lineCap,c.lineJoin=b.lineJoin,c.miterLimit=b.miterLimit,c.stroke());c.closePath()}; +n.Kc=function(b,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();this.h!==this.f&&(this.a*=2);var f;for(d=0;d<=this.a;d++)f=2*d*Math.PI/this.a-Math.PI/2+this.l,e=0===d%2?this.f:this.h,c.lineTo(b.size/2+e*Math.cos(f),b.size/2+e*Math.sin(f));c.fillStyle=vi;c.fill();this.b&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.Za,b.lineDash&&c.setLineDash(b.lineDash),c.stroke());c.closePath()};E("ol.format.GeoJSON",Kl,OPENLAYERS);Kl.prototype.readFeatures=Kl.prototype.b;Kl.prototype.readFeature=Kl.prototype.g;E("ol.format.EsriJSON",El,OPENLAYERS);El.prototype.readFeatures=El.prototype.b;El.prototype.readFeature=El.prototype.g;E("ol.style.Style",Ii,OPENLAYERS);E("ol.style.Circle",Hi,OPENLAYERS);E("ol.style.RegularShape",wm,OPENLAYERS);E("ol.style.Fill",zi,OPENLAYERS);E("ol.style.Stroke",Fi,OPENLAYERS);E("ol.style.Icon",Wg,OPENLAYERS); +E("ol.style.Text",function(b){b=b||{};this.a=b.font;this.g=b.rotation;this.h=b.scale;this.i=b.text;this.j=b.textAlign;this.B=b.textBaseline;this.c=void 0!==b.fill?b.fill:new zi({color:"#333"});this.l=void 0!==b.stroke?b.stroke:null;this.b=void 0!==b.offsetX?b.offsetX:0;this.f=void 0!==b.offsetY?b.offsetY:0},OPENLAYERS);E("ol.View",Wc,OPENLAYERS);Wc.prototype.on=Wc.prototype.V;Wc.prototype.getZoom=Wc.prototype.kd;Wc.prototype.setZoom=Wc.prototype.ue;Wc.prototype.getCenter=Wc.prototype.ga; +Wc.prototype.setCenter=Wc.prototype.ma;Wc.prototype.calculateExtent=Wc.prototype.dc;Wc.prototype.getProjection=Wc.prototype.ae;Wc.prototype.fit=Wc.prototype.fd;E("ol.control.defaults",ff,OPENLAYERS);E("ol.layer.Tile",X,OPENLAYERS);X.prototype.getVisible=X.prototype.Va;X.prototype.setVisible=X.prototype.wc;X.prototype.getZIndex=X.prototype.Pb;X.prototype.setZIndex=X.prototype.xc;X.prototype.getOpacity=X.prototype.Ob;X.prototype.setOpacity=X.prototype.vc;X.prototype.getSource=X.prototype.W; +X.prototype.setSource=X.prototype.Sb;X.prototype.on=X.prototype.V;E("ol.layer.Vector",Y,OPENLAYERS);Y.prototype.getVisible=Y.prototype.Va;Y.prototype.setVisible=Y.prototype.wc;Y.prototype.getSource=Y.prototype.W;Y.prototype.setStyle=Y.prototype.s;Y.prototype.getZIndex=Y.prototype.Pb;Y.prototype.setZIndex=Y.prototype.xc;Y.prototype.getOpacity=Y.prototype.Ob;Y.prototype.setOpacity=Y.prototype.vc;Y.prototype.getSource=Y.prototype.W;Y.prototype.setSource=Y.prototype.Sb;Y.prototype.on=Y.prototype.V; +E("ol.source.OSM",qm,OPENLAYERS);qm.prototype.refresh=qm.prototype.ra;E("ol.source.MapQuest",sm,OPENLAYERS);sm.prototype.refresh=sm.prototype.ra;E("ol.source.XYZ",pm,OPENLAYERS);pm.prototype.refresh=pm.prototype.ra;pm.prototype.setUrl=pm.prototype.s;pm.prototype.refresh=pm.prototype.ra;E("ol.Map",Z,OPENLAYERS);Z.prototype.on=Z.prototype.V;Z.prototype.getTarget=Z.prototype.Nb;Z.prototype.getTargetElement=Z.prototype.Fa;Z.prototype.getView=Z.prototype.O;Z.prototype.addOverlay=Z.prototype.cd; +Z.prototype.addLayer=Z.prototype.bd;Z.prototype.removeLayer=Z.prototype.pe;Z.prototype.getEventPixel=Z.prototype.nc;Z.prototype.hasFeatureAtPixel=Z.prototype.Hd;Z.prototype.getSize=Z.prototype.Ha;Z.prototype.updateSize=Z.prototype.nb;Z.prototype.forEachFeatureAtPixel=Z.prototype.hd;Z.prototype.addInteraction=Z.prototype.ad;Z.prototype.removeInteraction=Z.prototype.oe;Z.prototype.beforeRender=Z.prototype.ea;Z.prototype.addControl=Z.prototype.$c;Z.prototype.once=Z.prototype.Rc; +Z.prototype.renderSync=Z.prototype.se;E("ol.source.Vector",Uj,OPENLAYERS);Uj.prototype.getFeatures=Uj.prototype.ee;Uj.prototype.getExtent=Uj.prototype.C;Uj.prototype.refresh=Uj.prototype.ra;Uj.prototype.addFeatures=Uj.prototype.vb;Uj.prototype.addFeature=Uj.prototype.ub;Uj.prototype.clear=Uj.prototype.clear;Uj.prototype.forEachFeature=Uj.prototype.gd;Uj.prototype.refresh=Uj.prototype.ra;E("ol.source.TileArcGISRest",vm,OPENLAYERS);vm.prototype.refresh=vm.prototype.ra;E("ol.Overlay",rl,OPENLAYERS); +rl.prototype.setPosition=rl.prototype.uc;E("ol.Feature",Gj,OPENLAYERS);Gj.prototype.getProperties=Gj.prototype.ua;Gj.prototype.setProperties=Gj.prototype.l;Gj.prototype.getGeometry=Gj.prototype.M;E("ol.geom.Point",Lc,OPENLAYERS);Lc.prototype.transform=Lc.prototype.o;Lc.prototype.getCoordinates=Lc.prototype.oa;Lc.prototype.getExtent=Lc.prototype.C;E("ol.geom.Polygon",Sc,OPENLAYERS);Sc.prototype.getCoordinates=Sc.prototype.oa;Sc.prototype.getExtent=Sc.prototype.C;Sc.prototype.transform=Sc.prototype.o; +E("ol.geom.LineString",Al,OPENLAYERS);Al.prototype.getCoordinates=Al.prototype.oa;Al.prototype.getExtent=Al.prototype.C;Al.prototype.transform=Al.prototype.o;E("ol.proj.Projection",hc,OPENLAYERS);hc.prototype.getCode=hc.prototype.l;E("ol.interaction.Draw",Tl,OPENLAYERS);Tl.prototype.on=Tl.prototype.V;E("ol.animation.pan",dd,OPENLAYERS);E("ol.control.FullScreen",lf,OPENLAYERS); return OPENLAYERS.ol; })); diff --git a/src/ol/ol-build.js b/src/ol/ol-build.js index 8263d25..a7280d8 100644 --- a/src/ol/ol-build.js +++ b/src/ol/ol-build.js @@ -10,16 +10,16 @@ } }(this, function () { var OPENLAYERS = {}; - var n,x=this;function E(b,c,d){b=b.split(".");d=d||x;b[0]in d||!d.execScript||d.execScript("var "+b[0]);for(var e;b.length&&(e=b.shift());)b.length||void 0===c?d[e]?d=d[e]:d=d[e]={}:d[e]=c}function aa(b){b.va=function(){return b.Bc?b.Bc:b.Bc=new b}} + var n,x=this;function E(b,c,d){b=b.split(".");d=d||x;b[0]in d||!d.execScript||d.execScript("var "+b[0]);for(var e;b.length&&(e=b.shift());)b.length||void 0===c?d[e]?d=d[e]:d=d[e]={}:d[e]=c}function aa(b){b.qa=function(){return b.rc?b.rc:b.rc=new b}} function ba(b){var c=typeof b;if("object"==c)if(b){if(b instanceof Array)return"array";if(b instanceof Object)return c;var d=Object.prototype.toString.call(b);if("[object Window]"==d)return"object";if("[object Array]"==d||"number"==typeof b.length&&"undefined"!=typeof b.splice&&"undefined"!=typeof b.propertyIsEnumerable&&!b.propertyIsEnumerable("splice"))return"array";if("[object Function]"==d||"undefined"!=typeof b.call&&"undefined"!=typeof b.propertyIsEnumerable&&!b.propertyIsEnumerable("call"))return"function"}else return"null"; else if("function"==c&&"undefined"==typeof b.call)return"object";return c}function ca(b){var c=ba(b);return"array"==c||"object"==c&&"number"==typeof b.length}function da(b){return"string"==typeof b}function ea(b){return"number"==typeof b}function ga(b){return"function"==ba(b)}function ha(b){var c=typeof b;return"object"==c&&null!=b||"function"==c}function I(b){return b[ia]||(b[ia]=++ja)}var ia="closure_uid_"+(1E9*Math.random()>>>0),ja=0;function ka(b,c,d){return b.call.apply(b.bind,arguments)} function la(b,c,d){if(!b)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 b.apply(c,d)}}return function(){return b.apply(c,arguments)}}function ma(b,c,d){ma=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ka:la;return ma.apply(null,arguments)} -function na(b,c){var d=Array.prototype.slice.call(arguments,1);return function(){var c=d.slice();c.push.apply(c,arguments);return b.apply(this,c)}}function M(b,c){function d(){}d.prototype=c.prototype;b.Y=c.prototype;b.prototype=new d;b.prototype.constructor=b;b.af=function(b,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(b,h)}};var oa;function N(){};var pa;var qa=String.prototype.trim?function(b){return b.trim()}:function(b){return b.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};function sa(b){if(!ta.test(b))return b;-1!=b.indexOf("&")&&(b=b.replace(ua,"&"));-1!=b.indexOf("<")&&(b=b.replace(va,"<"));-1!=b.indexOf(">")&&(b=b.replace(wa,">"));-1!=b.indexOf('"')&&(b=b.replace(xa,"""));-1!=b.indexOf("'")&&(b=b.replace(ya,"'"));-1!=b.indexOf("\x00")&&(b=b.replace(za,"�"));return b}var ua=/&/g,va=/</g,wa=/>/g,xa=/"/g,ya=/'/g,za=/\x00/g,ta=/[\x00&<>"']/; +function na(b,c){var d=Array.prototype.slice.call(arguments,1);return function(){var c=d.slice();c.push.apply(c,arguments);return b.apply(this,c)}}function M(b,c){function d(){}d.prototype=c.prototype;b.Y=c.prototype;b.prototype=new d;b.prototype.constructor=b;b.Me=function(b,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(b,h)}};var oa;function N(){};var pa;var qa=String.prototype.trim?function(b){return b.trim()}:function(b){return b.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};function sa(b){if(!ta.test(b))return b;-1!=b.indexOf("&")&&(b=b.replace(ua,"&"));-1!=b.indexOf("<")&&(b=b.replace(va,"<"));-1!=b.indexOf(">")&&(b=b.replace(wa,">"));-1!=b.indexOf('"')&&(b=b.replace(xa,"""));-1!=b.indexOf("'")&&(b=b.replace(ya,"'"));-1!=b.indexOf("\x00")&&(b=b.replace(za,"�"));return b}var ua=/&/g,va=/</g,wa=/>/g,xa=/"/g,ya=/'/g,za=/\x00/g,ta=/[\x00&<>"']/; function Aa(b,c){return b<c?-1:b>c?1:0};function Ba(b,c,d){return Math.min(Math.max(b,c),d)}var Ca=function(){var b;"cosh"in Math?b=Math.cosh:b=function(b){b=Math.exp(b);return(b+1/b)/2};return b}();function Da(b,c){var d=b%c;return 0>d*c?d+c:d};function Ea(b){return function(c){if(c)return[Ba(c[0],b[0],b[2]),Ba(c[1],b[1],b[3])]}}function Fa(b){return b};function Ga(b,c){return b>c?1:b<c?-1:0}function Ha(b,c,d){var e=b.length;if(b[0]<=c)return 0;if(!(c<=b[e-1]))if(0<d)for(d=1;d<e;++d){if(b[d]<c)return d-1}else if(0>d)for(d=1;d<e;++d){if(b[d]<=c)return d}else for(d=1;d<e;++d){if(b[d]==c)return d;if(b[d]<c)return b[d-1]-c<c-b[d]?d-1:d}return e-1}function Ia(b){return b.reduce(function(b,d){return Array.isArray(d)?b.concat(Ia(d)):b.concat(d)},[])}function Ja(b,c){var d,e=ca(c)?c:[c],f=e.length;for(d=0;d<f;d++)b[b.length]=e[d]} -function Ka(b,c){var d=b.indexOf(c),e=-1<d;e&&b.splice(d,1);return e}function La(b,c){var d=b.length;if(d!==c.length)return!1;for(var e=0;e<d;e++)if(b[e]!==c[e])return!1;return!0}function Ma(b){var c=Na,d=b.length,e=Array(b.length),f;for(f=0;f<d;f++)e[f]={index:f,value:b[f]};e.sort(function(b,d){return c(b.value,d.value)||b.index-d.index});for(f=0;f<b.length;f++)b[f]=e[f].value};function Oa(b){return function(c,d,e){if(void 0!==c)return c=Ha(b,c,e),c=Ba(c+d,0,b.length-1),b[c]}}function Pa(b,c,d){return function(e,f,g){if(void 0!==e)return e=Math.max(Math.floor(Math.log(c/e)/Math.log(b)+(0<g?0:0>g?1:.5))+f,0),void 0!==d&&(e=Math.min(e,d)),c/Math.pow(b,e)}};function Qa(b){if(void 0!==b)return 0}function Ra(b,c){if(void 0!==b)return b+c}function Sa(b){var c=2*Math.PI/b;return function(b,e){if(void 0!==b)return b=Math.floor((b+e)/c+.5)*c}}function Ta(){var b=5*Math.PI/180;return function(c,d){if(void 0!==c)return Math.abs(c+d)<=b?0:c+d}};function Ua(b,c,d){this.center=b;this.resolution=c;this.rotation=d};var Va="function"===typeof Object.assign?Object.assign:function(b,c){if(void 0===b||null===b)throw new TypeError("Cannot convert undefined or null to object");for(var d=Object(b),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 Wa(b){for(var c in b)delete b[c]}function Xa(b){var c=[],d;for(d in b)c.push(b[d]);return c}function Za(b){for(var c in b)return!1;return!c};var $a="olm_"+(1E4*Math.random()|0);function ab(b){function c(c){var e=b.listener,f=b.lc||b.target;b.oc&&P(b);return e.call(f,c)}return b.mc=c}function bb(b,c,d,e){for(var f,g=0,h=b.length;g<h;++g)if(f=b[g],f.listener===c&&f.lc===d)return e&&(f.deleteIndex=g),f}function cb(b,c){var d=b[$a];return d?d[c]:void 0}function db(b){var c=b[$a];c||(c=b[$a]={});return c} -function eb(b,c){var d=cb(b,c);if(d){for(var e=0,f=d.length;e<f;++e)b.removeEventListener(c,d[e].mc),Wa(d[e]);d.length=0;if(d=b[$a])delete d[c],0===Object.keys(d).length&&delete b[$a]}}function R(b,c,d,e,f){var g=db(b),h=g[c];h||(h=g[c]=[]);(g=bb(h,d,e,!1))?f||(g.oc=!1):(g={lc:e,oc:!!f,listener:d,target:b,type:c},b.addEventListener(c,ab(g)),h.push(g));return g}function fb(b,c,d,e){(b=cb(b,c))&&(d=bb(b,d,e,!0))&&P(d)} -function P(b){if(b&&b.target){b.target.removeEventListener(b.type,b.mc);var c=cb(b.target,b.type);if(c){var d="deleteIndex"in b?b.deleteIndex:c.indexOf(b);-1!==d&&c.splice(d,1);0===c.length&&eb(b.target,b.type)}Wa(b)}}function gb(b){var c=db(b),d;for(d in c)eb(b,d)};function hb(){}hb.prototype.ka=!1;function ib(b){b.ka||(b.ka=!0,b.K())}hb.prototype.K=N;function S(b,c){this.type=b;this.target=c||null}S.prototype.preventDefault=S.prototype.stopPropagation=function(){this.Be=!0};function jb(b){b.stopPropagation()}function kb(b){b.preventDefault()};function lb(){this.H={};this.B={}}M(lb,hb);lb.prototype.addEventListener=function(b,c){var d=this.B[b];d||(d=this.B[b]=[]);-1===d.indexOf(c)&&d.push(c)};function T(b,c){var d="string"===typeof c?new S(c):c,e=d.type;d.target=b;var f=b.B[e],g;if(f){e in b.H||(b.H[e]=0);for(var h=0,k=f.length;h<k;++h)if(!1===f[h].call(b,d)||d.Be){g=!1;break}d=b.H[e];for(delete b.H[e];d--;)b.removeEventListener(e,N);return g}}lb.prototype.K=function(){gb(this)}; -function mb(b,c){return c?c in b.B:0<Object.keys(b.B).length}lb.prototype.removeEventListener=function(b,c){var d=this.B[b];if(d){var e=d.indexOf(c);b in this.H?(d[e]=N,++this.H[b]):(d.splice(e,1),0===d.length&&delete this.B[b])}};function nb(){lb.call(this);this.f=0}M(nb,lb);nb.prototype.w=function(){++this.f;T(this,"change")};nb.prototype.V=function(b,c,d){if(Array.isArray(b)){for(var e=b.length,f=Array(e),g=0;g<e;++g)f[g]=R(this,b[g],c,d);return f}return R(this,b,c,d)};nb.prototype.ad=function(b,c,d){if(Array.isArray(b)){for(var e=b.length,f=Array(e),g=0;g<e;++g)f[g]=R(this,b[g],c,d,!0);return f}return R(this,b,c,d,!0)};function ob(b,c,d){S.call(this,b);this.key=c;this.oldValue=d}M(ob,S);function U(b){nb.call(this);I(this);this.J={};void 0!==b&&this.l(b)}M(U,nb);var pb={};function qb(b){return pb.hasOwnProperty(b)?pb[b]:pb[b]="change:"+b}U.prototype.get=function(b){var c;this.J.hasOwnProperty(b)&&(c=this.J[b]);return c};U.prototype.Ca=function(){return Va({},this.J)};U.prototype.set=function(b,c,d){d?this.J[b]=c:(d=this.J[b],this.J[b]=c,d!==c&&(c=qb(b),T(this,new ob(c,b,d)),T(this,new ob("propertychange",b,d))))}; +function Ka(b,c){var d=b.indexOf(c),e=-1<d;e&&b.splice(d,1);return e}function La(b,c){var d=b.length;if(d!==c.length)return!1;for(var e=0;e<d;e++)if(b[e]!==c[e])return!1;return!0}function Ma(b){var c=Na,d=b.length,e=Array(b.length),f;for(f=0;f<d;f++)e[f]={index:f,value:b[f]};e.sort(function(b,d){return c(b.value,d.value)||b.index-d.index});for(f=0;f<b.length;f++)b[f]=e[f].value};function Oa(b){return function(c,d,e){if(void 0!==c)return c=Ha(b,c,e),c=Ba(c+d,0,b.length-1),b[c]}}function Pa(b,c,d){return function(e,f,g){if(void 0!==e)return e=Math.max(Math.floor(Math.log(c/e)/Math.log(b)+(0<g?0:0>g?1:.5))+f,0),void 0!==d&&(e=Math.min(e,d)),c/Math.pow(b,e)}};function Qa(b){if(void 0!==b)return 0}function Ra(b,c){if(void 0!==b)return b+c}function Sa(b){var c=2*Math.PI/b;return function(b,e){if(void 0!==b)return b=Math.floor((b+e)/c+.5)*c}}function Ta(){var b=5*Math.PI/180;return function(c,d){if(void 0!==c)return Math.abs(c+d)<=b?0:c+d}};function Ua(b,c,d){this.center=b;this.resolution=c;this.rotation=d};var Va="function"===typeof Object.assign?Object.assign:function(b,c){if(void 0===b||null===b)throw new TypeError("Cannot convert undefined or null to object");for(var d=Object(b),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 Wa(b){for(var c in b)delete b[c]}function Xa(b){var c=[],d;for(d in b)c.push(b[d]);return c}function Za(b){for(var c in b)return!1;return!c};var $a="olm_"+(1E4*Math.random()|0);function ab(b){function c(c){var e=b.listener,f=b.bc||b.target;b.ec&&P(b);return e.call(f,c)}return b.cc=c}function bb(b,c,d,e){for(var f,g=0,h=b.length;g<h;++g)if(f=b[g],f.listener===c&&f.bc===d)return e&&(f.deleteIndex=g),f}function cb(b,c){var d=b[$a];return d?d[c]:void 0}function db(b){var c=b[$a];c||(c=b[$a]={});return c} +function eb(b,c){var d=cb(b,c);if(d){for(var e=0,f=d.length;e<f;++e)b.removeEventListener(c,d[e].cc),Wa(d[e]);d.length=0;if(d=b[$a])delete d[c],0===Object.keys(d).length&&delete b[$a]}}function R(b,c,d,e,f){var g=db(b),h=g[c];h||(h=g[c]=[]);(g=bb(h,d,e,!1))?f||(g.ec=!1):(g={bc:e,ec:!!f,listener:d,target:b,type:c},b.addEventListener(c,ab(g)),h.push(g));return g}function fb(b,c,d,e){(b=cb(b,c))&&(d=bb(b,d,e,!0))&&P(d)} +function P(b){if(b&&b.target){b.target.removeEventListener(b.type,b.cc);var c=cb(b.target,b.type);if(c){var d="deleteIndex"in b?b.deleteIndex:c.indexOf(b);-1!==d&&c.splice(d,1);0===c.length&&eb(b.target,b.type)}Wa(b)}}function gb(b){var c=db(b),d;for(d in c)eb(b,d)};function hb(){}hb.prototype.ha=!1;function ib(b){b.ha||(b.ha=!0,b.K())}hb.prototype.K=N;function S(b,c){this.type=b;this.target=c||null}S.prototype.preventDefault=S.prototype.stopPropagation=function(){this.me=!0};function jb(b){b.stopPropagation()}function kb(b){b.preventDefault()};function lb(){this.H={};this.B={}}M(lb,hb);lb.prototype.addEventListener=function(b,c){var d=this.B[b];d||(d=this.B[b]=[]);-1===d.indexOf(c)&&d.push(c)};function T(b,c){var d="string"===typeof c?new S(c):c,e=d.type;d.target=b;var f=b.B[e],g;if(f){e in b.H||(b.H[e]=0);for(var h=0,k=f.length;h<k;++h)if(!1===f[h].call(b,d)||d.me){g=!1;break}d=b.H[e];for(delete b.H[e];d--;)b.removeEventListener(e,N);return g}}lb.prototype.K=function(){gb(this)}; +function mb(b,c){return c?c in b.B:0<Object.keys(b.B).length}lb.prototype.removeEventListener=function(b,c){var d=this.B[b];if(d){var e=d.indexOf(c);b in this.H?(d[e]=N,++this.H[b]):(d.splice(e,1),0===d.length&&delete this.B[b])}};function nb(){lb.call(this);this.f=0}M(nb,lb);nb.prototype.w=function(){++this.f;T(this,"change")};nb.prototype.V=function(b,c,d){if(Array.isArray(b)){for(var e=b.length,f=Array(e),g=0;g<e;++g)f[g]=R(this,b[g],c,d);return f}return R(this,b,c,d)};nb.prototype.Rc=function(b,c,d){if(Array.isArray(b)){for(var e=b.length,f=Array(e),g=0;g<e;++g)f[g]=R(this,b[g],c,d,!0);return f}return R(this,b,c,d,!0)};function ob(b,c,d){S.call(this,b);this.key=c;this.oldValue=d}M(ob,S);function U(b){nb.call(this);I(this);this.I={};void 0!==b&&this.l(b)}M(U,nb);var pb={};function qb(b){return pb.hasOwnProperty(b)?pb[b]:pb[b]="change:"+b}U.prototype.get=function(b){var c;this.I.hasOwnProperty(b)&&(c=this.I[b]);return c};U.prototype.ua=function(){return Va({},this.I)};U.prototype.set=function(b,c,d){d?this.I[b]=c:(d=this.I[b],this.I[b]=c,d!==c&&(c=qb(b),T(this,new ob(c,b,d)),T(this,new ob("propertychange",b,d))))}; U.prototype.l=function(b,c){for(var d in b)this.set(d,b[d],c)};function rb(b,c,d){void 0===d&&(d=[0,0]);d[0]=b[0]*c+.5|0;d[1]=b[1]*c+.5|0;return d}function sb(b,c){if(Array.isArray(b))return b;void 0===c?c=[b,b]:(c[0]=b,c[1]=b);return c};function tb(b,c){b[0]+=c[0];b[1]+=c[1]}function ub(b,c){var d=Math.cos(c),e=Math.sin(c),f=b[1]*d+b[0]*e;b[0]=b[0]*d-b[1]*e;b[1]=f};function vb(b){this.length=b.length||b;for(var c=0;c<this.length;c++)this[c]=b[c]||0}vb.prototype.BYTES_PER_ELEMENT=4;vb.prototype.set=function(b,c){c=c||0;for(var d=0;d<b.length&&c+d<this.length;d++)this[c+d]=b[d]};vb.prototype.toString=Array.prototype.join;"undefined"==typeof Float32Array&&(vb.BYTES_PER_ELEMENT=4,vb.prototype.BYTES_PER_ELEMENT=vb.prototype.BYTES_PER_ELEMENT,vb.prototype.set=vb.prototype.set,vb.prototype.toString=vb.prototype.toString,E("Float32Array",vb,void 0));function wb(b){this.length=b.length||b;for(var c=0;c<this.length;c++)this[c]=b[c]||0}wb.prototype.BYTES_PER_ELEMENT=8;wb.prototype.set=function(b,c){c=c||0;for(var d=0;d<b.length&&c+d<this.length;d++)this[c+d]=b[d]};wb.prototype.toString=Array.prototype.join;if("undefined"==typeof Float64Array){try{wb.BYTES_PER_ELEMENT=8}catch(b){}wb.prototype.BYTES_PER_ELEMENT=wb.prototype.BYTES_PER_ELEMENT;wb.prototype.set=wb.prototype.set;wb.prototype.toString=wb.prototype.toString;E("Float64Array",wb,void 0)};function xb(b,c,d,e,f){b[0]=c;b[1]=d;b[2]=e;b[3]=f};function yb(){var b=Array(16);zb(b,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);return b}function Ab(){var b=Array(16);zb(b,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);return b}function zb(b,c,d,e,f,g,h,k,l,m,p,q,r,u,w,y,z){b[0]=c;b[1]=d;b[2]=e;b[3]=f;b[4]=g;b[5]=h;b[6]=k;b[7]=l;b[8]=m;b[9]=p;b[10]=q;b[11]=r;b[12]=u;b[13]=w;b[14]=y;b[15]=z} function Bb(b,c){b[0]=c[0];b[1]=c[1];b[2]=c[2];b[3]=c[3];b[4]=c[4];b[5]=c[5];b[6]=c[6];b[7]=c[7];b[8]=c[8];b[9]=c[9];b[10]=c[10];b[11]=c[11];b[12]=c[12];b[13]=c[13];b[14]=c[14];b[15]=c[15]}function Cb(b){b[0]=1;b[1]=0;b[2]=0;b[3]=0;b[4]=0;b[5]=1;b[6]=0;b[7]=0;b[8]=0;b[9]=0;b[10]=1;b[11]=0;b[12]=0;b[13]=0;b[14]=0;b[15]=1} function Db(b,c){var d=b[0],e=b[1],f=b[2],g=b[3],h=b[4],k=b[5],l=b[6],m=b[7],p=b[8],q=b[9],r=b[10],u=b[11],w=b[12],y=b[13],z=b[14],D=b[15],t=d*k-e*h,v=d*l-f*h,B=d*m-g*h,F=e*l-f*k,C=e*m-g*k,G=f*m-g*l,J=p*y-q*w,A=p*z-r*w,H=p*D-u*w,O=q*z-r*y,Q=q*D-u*y,L=r*D-u*z,K=t*L-v*Q+B*O+F*H-C*A+G*J;0!=K&&(K=1/K,c[0]=(k*L-l*Q+m*O)*K,c[1]=(-e*L+f*Q-g*O)*K,c[2]=(y*G-z*C+D*F)*K,c[3]=(-q*G+r*C-u*F)*K,c[4]=(-h*L+l*H-m*A)*K,c[5]=(d*L-f*H+g*A)*K,c[6]=(-w*G+z*B-D*v)*K,c[7]=(p*G-r*B+u*v)*K,c[8]=(h*Q-k*H+m*J)*K,c[9]=(-d*Q+ @@ -36,124 +36,124 @@ function Ub(b){return b[2]-b[0]}function $b(b,c){return b[0]<=c[2]&&b[2]>=c[0]&& */ function dc(b){this.radius=b}function ec(b,c){var d=b[1]*Math.PI/180,e=c[1]*Math.PI/180,f=(e-d)/2,g=(c[0]-b[0])*Math.PI/180/2,d=Math.sin(f)*Math.sin(f)+Math.sin(g)*Math.sin(g)*Math.cos(d)*Math.cos(e);return 2*fc.radius*Math.atan2(Math.sqrt(d),Math.sqrt(1-d))} dc.prototype.offset=function(b,c,d){var e=b[1]*Math.PI/180;c/=this.radius;var f=Math.asin(Math.sin(e)*Math.cos(c)+Math.cos(e)*Math.sin(c)*Math.cos(d));return[180*(b[0]*Math.PI/180+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 fc=new dc(6370997);var gc={};gc.degrees=2*Math.PI*fc.radius/360;gc.ft=.3048;gc.m=1;gc["us-ft"]=1200/3937; -function hc(b){this.qa=b.code;this.b=b.units;this.h=void 0!==b.extent?b.extent:null;this.f=void 0!==b.global?b.global:!1;this.a=!(!this.f||!this.h);this.i=void 0!==b.getPointResolution?b.getPointResolution:this.j;this.c=null;this.g=b.metersPerUnit;var c=ic,d=b.code,e=jc||x.proj4;if("function"==typeof e&&void 0===c[d]){var f=e.defs(d);if(void 0!==f){void 0===b.metersPerUnit&&(this.g=f.to_meter);void 0===b.units&&(this.b=f.units);var g,h;for(g in c)if(b=e.defs(g),void 0!==b)if(c=kc(g),b===f)lc([c,this]); -else{h=e(g,d);b=h.forward;h=h.inverse;var c=kc(c),k=kc(this);mc(c,k,nc(b));mc(k,c,nc(h))}}}}hc.prototype.l=function(){return this.qa};hc.prototype.C=function(){return this.h};function oc(b){return b.g||gc[b.b]}hc.prototype.j=function(b,c){if("degrees"==this.b)return b;var d=pc(this,kc("EPSG:4326")),e=[c[0]-b/2,c[1],c[0]+b/2,c[1],c[0],c[1]-b/2,c[0],c[1]+b/2],e=d(e,e,2),d=(ec(e.slice(0,2),e.slice(2,4))+ec(e.slice(4,6),e.slice(6,8)))/2,e=oc(this);void 0!==e&&(d/=e);return d}; -hc.prototype.getPointResolution=function(b,c){return this.i(b,c)};var ic={},qc={},jc=null;function lc(b){rc(b);b.forEach(function(c){b.forEach(function(b){c!==b&&mc(c,b,sc)})})}function tc(b){ic[b.qa]=b;mc(b,b,sc)}function rc(b){var c=[];b.forEach(function(b){c.push(tc(b))})}function uc(b){return b?"string"===typeof b?kc(b):b:kc("EPSG:3857")}function mc(b,c,d){b=b.qa;c=c.qa;b in qc||(qc[b]={});qc[b][c]=d} -function nc(b){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=b([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 kc(b){var c;if(b instanceof hc)c=b;else if("string"===typeof b){c=ic[b];var d=jc||x.proj4;void 0===c&&"function"==typeof d&&void 0!==d.defs(b)&&(c=new hc({code:b}),tc(c))}else c=null;return c}function vc(b,c){if(b===c)return!0;var d=b.b===c.b;return b.qa===c.qa?d:pc(b,c)===sc&&d} -function wc(b,c){var d=kc(b),e=kc(c);return pc(d,e)}function pc(b,c){var d=b.qa,e=c.qa,f;d in qc&&e in qc[d]&&(f=qc[d][e]);void 0===f&&(f=xc);return f}function xc(b,c){if(void 0!==c&&b!==c){for(var d=0,e=b.length;d<e;++d)c[d]=b[d];b=c}return b}function sc(b,c){var d;if(void 0!==c){d=0;for(var e=b.length;d<e;++d)c[d]=b[d];d=c}else d=b.slice();return d};function yc(){U.call(this);this.u=Ib();this.v=-1;this.h={};this.s=this.i=0}M(yc,U);yc.prototype.C=function(b){this.v!=this.f&&(this.u=this.lb(this.u),this.v=this.f);var c=this.u;b?(b[0]=c[0],b[1]=c[1],b[2]=c[2],b[3]=c[3]):b=c;return b};yc.prototype.o=function(b,c){this.Gb(wc(b,c));return this};function zc(b,c,d,e,f,g){var h=f[0],k=f[1],l=f[4],m=f[5],p=f[12];f=f[13];for(var q=g?g:[],r=0;c<d;c+=e){var u=b[c],w=b[c+1];q[r++]=h*u+l*w+p;q[r++]=k*u+m*w+f}g&&q.length!=r&&(q.length=r);return q};function Ac(){yc.call(this);this.g="XY";this.b=2;this.a=null}M(Ac,yc);function Bc(b){if("XY"==b)return 2;if("XYZ"==b||"XYM"==b)return 3;if("XYZM"==b)return 4}n=Ac.prototype;n.lb=function(b){var c=this.a,d=this.a.length,e=this.b;b=Ob(b);return Sb(b,c,0,d,e)}; -n.Rb=function(b){this.s!=this.f&&(Wa(this.h),this.i=0,this.s=this.f);if(0>b||0!==this.i&&b<=this.i)return this;var c=b.toString();if(this.h.hasOwnProperty(c))return this.h[c];var d=this.Na(b);if(d.a.length<this.a.length)return this.h[c]=d;this.i=b;return this};n.Na=function(){return this};function V(b,c,d){b.b=Bc(c);b.g=c;b.a=d}function Cc(b,c,d,e){if(c)d=Bc(c);else{for(c=0;c<e;++c){if(0===d.length){b.g="XY";b.b=2;return}d=d[0]}d=d.length;c=2==d?"XY":3==d?"XYZ":4==d?"XYZM":void 0}b.g=c;b.b=d} -n.Gb=function(b){this.a&&(b(this.a,this.a,this.b),this.w())};n.rotate=function(b,c){var d=this.a;if(d){for(var e=d.length,f=this.b,g=d?d:[],h=Math.cos(b),k=Math.sin(b),l=c[0],m=c[1],p=0,q=0;q<e;q+=f){var r=d[q]-l,u=d[q+1]-m;g[p++]=l+r*h-u*k;g[p++]=m+r*k+u*h;for(r=q+2;r<q+f;++r)g[p++]=d[r]}d&&g.length!=p&&(g.length=p);this.w()}};function Dc(b,c){var d=0,e,f;e=0;for(f=c.length;e<f;++e)b[d++]=c[e];return d}function Ec(b,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)b[c++]=h[k]}return c}function Fc(b,c,d,e,f){f=f?f:[];var g=0,h,k;h=0;for(k=d.length;h<k;++h)c=Ec(b,c,d[h],e),f[g++]=c;f.length=g;return f};function Gc(b,c,d,e,f){f=void 0!==f?f:[];for(var g=0;c<d;c+=e)f[g++]=b.slice(c,c+e);f.length=g;return f}function Hc(b,c,d,e,f){f=void 0!==f?f:[];var g=0,h,k;h=0;for(k=d.length;h<k;++h){var l=d[h];f[g++]=Gc(b,c,l,e,f[g]);c=l}f.length=g;return f};function Ic(b,c,d,e,f,g,h){var k=(d-c)/e;if(3>k){for(;c<d;c+=e)g[h++]=b[c],g[h++]=b[c+1];return h}var l=Array(k);l[0]=1;l[k-1]=1;d=[c,d-e];for(var m=0,p;0<d.length;){var q=d.pop(),r=d.pop(),u=0,w=b[r],y=b[r+1],z=b[q],D=b[q+1];for(p=r+e;p<q;p+=e){var t,v=b[p];t=b[p+1];var B=w,F=y,C=z-B,G=D-F;if(0!==C||0!==G){var J=((v-B)*C+(t-F)*G)/(C*C+G*G);1<J?(B=z,F=D):0<J&&(B+=C*J,F+=G*J)}v=B-v;t=F-t;t=v*v+t*t;t>u&&(m=p,u=t)}u>f&&(l[(m-c)/e]=1,r+e<m&&d.push(r,m),m+e<q&&d.push(m,q))}for(p=0;p<k;++p)l[p]&&(g[h++]= +function hc(b){this.na=b.code;this.b=b.units;this.h=void 0!==b.extent?b.extent:null;this.f=void 0!==b.global?b.global:!1;this.a=!(!this.f||!this.h);this.i=void 0!==b.getPointResolution?b.getPointResolution:this.j;this.c=null;this.g=b.metersPerUnit;var c=ic,d=b.code,e=jc||x.proj4;if("function"==typeof e&&void 0===c[d]){var f=e.defs(d);if(void 0!==f){void 0===b.metersPerUnit&&(this.g=f.to_meter);void 0===b.units&&(this.b=f.units);var g,h;for(g in c)if(b=e.defs(g),void 0!==b)if(c=kc(g),b===f)lc([c,this]); +else{h=e(g,d);b=h.forward;h=h.inverse;var c=kc(c),k=kc(this);mc(c,k,nc(b));mc(k,c,nc(h))}}}}hc.prototype.l=function(){return this.na};hc.prototype.C=function(){return this.h};function oc(b){return b.g||gc[b.b]}hc.prototype.j=function(b,c){if("degrees"==this.b)return b;var d=pc(this,kc("EPSG:4326")),e=[c[0]-b/2,c[1],c[0]+b/2,c[1],c[0],c[1]-b/2,c[0],c[1]+b/2],e=d(e,e,2),d=(ec(e.slice(0,2),e.slice(2,4))+ec(e.slice(4,6),e.slice(6,8)))/2,e=oc(this);void 0!==e&&(d/=e);return d}; +hc.prototype.getPointResolution=function(b,c){return this.i(b,c)};var ic={},qc={},jc=null;function lc(b){rc(b);b.forEach(function(c){b.forEach(function(b){c!==b&&mc(c,b,sc)})})}function tc(b){ic[b.na]=b;mc(b,b,sc)}function rc(b){var c=[];b.forEach(function(b){c.push(tc(b))})}function uc(b){return b?"string"===typeof b?kc(b):b:kc("EPSG:3857")}function mc(b,c,d){b=b.na;c=c.na;b in qc||(qc[b]={});qc[b][c]=d} +function nc(b){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=b([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 kc(b){var c;if(b instanceof hc)c=b;else if("string"===typeof b){c=ic[b];var d=jc||x.proj4;void 0===c&&"function"==typeof d&&void 0!==d.defs(b)&&(c=new hc({code:b}),tc(c))}else c=null;return c}function vc(b,c){if(b===c)return!0;var d=b.b===c.b;return b.na===c.na?d:pc(b,c)===sc&&d} +function wc(b,c){var d=kc(b),e=kc(c);return pc(d,e)}function pc(b,c){var d=b.na,e=c.na,f;d in qc&&e in qc[d]&&(f=qc[d][e]);void 0===f&&(f=xc);return f}function xc(b,c){if(void 0!==c&&b!==c){for(var d=0,e=b.length;d<e;++d)c[d]=b[d];b=c}return b}function sc(b,c){var d;if(void 0!==c){d=0;for(var e=b.length;d<e;++d)c[d]=b[d];d=c}else d=b.slice();return d};function yc(){U.call(this);this.u=Ib();this.v=-1;this.h={};this.s=this.i=0}M(yc,U);yc.prototype.C=function(b){this.v!=this.f&&(this.u=this.ab(this.u),this.v=this.f);var c=this.u;b?(b[0]=c[0],b[1]=c[1],b[2]=c[2],b[3]=c[3]):b=c;return b};yc.prototype.o=function(b,c){this.wb(wc(b,c));return this};function zc(b,c,d,e,f,g){var h=f[0],k=f[1],l=f[4],m=f[5],p=f[12];f=f[13];for(var q=g?g:[],r=0;c<d;c+=e){var u=b[c],w=b[c+1];q[r++]=h*u+l*w+p;q[r++]=k*u+m*w+f}g&&q.length!=r&&(q.length=r);return q};function Ac(){yc.call(this);this.g="XY";this.b=2;this.a=null}M(Ac,yc);function Bc(b){if("XY"==b)return 2;if("XYZ"==b||"XYM"==b)return 3;if("XYZM"==b)return 4}n=Ac.prototype;n.ab=function(b){var c=this.a,d=this.a.length,e=this.b;b=Ob(b);return Sb(b,c,0,d,e)}; +n.Hb=function(b){this.s!=this.f&&(Wa(this.h),this.i=0,this.s=this.f);if(0>b||0!==this.i&&b<=this.i)return this;var c=b.toString();if(this.h.hasOwnProperty(c))return this.h[c];var d=this.Ea(b);if(d.a.length<this.a.length)return this.h[c]=d;this.i=b;return this};n.Ea=function(){return this};function V(b,c,d){b.b=Bc(c);b.g=c;b.a=d}function Cc(b,c,d,e){if(c)d=Bc(c);else{for(c=0;c<e;++c){if(0===d.length){b.g="XY";b.b=2;return}d=d[0]}d=d.length;c=2==d?"XY":3==d?"XYZ":4==d?"XYZM":void 0}b.g=c;b.b=d} +n.wb=function(b){this.a&&(b(this.a,this.a,this.b),this.w())};n.rotate=function(b,c){var d=this.a;if(d){for(var e=d.length,f=this.b,g=d?d:[],h=Math.cos(b),k=Math.sin(b),l=c[0],m=c[1],p=0,q=0;q<e;q+=f){var r=d[q]-l,u=d[q+1]-m;g[p++]=l+r*h-u*k;g[p++]=m+r*k+u*h;for(r=q+2;r<q+f;++r)g[p++]=d[r]}d&&g.length!=p&&(g.length=p);this.w()}};function Dc(b,c){var d=0,e,f;e=0;for(f=c.length;e<f;++e)b[d++]=c[e];return d}function Ec(b,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)b[c++]=h[k]}return c}function Fc(b,c,d,e,f){f=f?f:[];var g=0,h,k;h=0;for(k=d.length;h<k;++h)c=Ec(b,c,d[h],e),f[g++]=c;f.length=g;return f};function Gc(b,c,d,e,f){f=void 0!==f?f:[];for(var g=0;c<d;c+=e)f[g++]=b.slice(c,c+e);f.length=g;return f}function Hc(b,c,d,e,f){f=void 0!==f?f:[];var g=0,h,k;h=0;for(k=d.length;h<k;++h){var l=d[h];f[g++]=Gc(b,c,l,e,f[g]);c=l}f.length=g;return f};function Ic(b,c,d,e,f,g,h){var k=(d-c)/e;if(3>k){for(;c<d;c+=e)g[h++]=b[c],g[h++]=b[c+1];return h}var l=Array(k);l[0]=1;l[k-1]=1;d=[c,d-e];for(var m=0,p;0<d.length;){var q=d.pop(),r=d.pop(),u=0,w=b[r],y=b[r+1],z=b[q],D=b[q+1];for(p=r+e;p<q;p+=e){var t,v=b[p];t=b[p+1];var B=w,F=y,C=z-B,G=D-F;if(0!==C||0!==G){var J=((v-B)*C+(t-F)*G)/(C*C+G*G);1<J?(B=z,F=D):0<J&&(B+=C*J,F+=G*J)}v=B-v;t=F-t;t=v*v+t*t;t>u&&(m=p,u=t)}u>f&&(l[(m-c)/e]=1,r+e<m&&d.push(r,m),m+e<q&&d.push(m,q))}for(p=0;p<k;++p)l[p]&&(g[h++]= b[c+p*e],g[h++]=b[c+p*e+1]);return h} function Jc(b,c,d,e,f,g,h,k){var l,m;l=0;for(m=d.length;l<m;++l){var p=d[l];a:{var q=b,r=p,u=e,w=f,y=g;if(c!=r){var z=w*Math.round(q[c]/w),D=w*Math.round(q[c+1]/w);c+=u;y[h++]=z;y[h++]=D;var t=void 0,v=void 0;do if(t=w*Math.round(q[c]/w),v=w*Math.round(q[c+1]/w),c+=u,c==r){y[h++]=t;y[h++]=v;break a}while(t==z&&v==D);for(;c<r;){var B,F;B=w*Math.round(q[c]/w);F=w*Math.round(q[c+1]/w);c+=u;if(B!=t||F!=v){var C=t-z,G=v-D,J=B-z,A=F-D;C*A==G*J&&(0>C&&J<C||C==J||0<C&&J>C)&&(0>G&&A<G||G==A||0<G&&A>G)||(y[h++]= -t,y[h++]=v,z=t,D=v);t=B;v=F}}y[h++]=t;y[h++]=v}}k.push(h);c=p}return h};function Kc(b,c){Ac.call(this);this.X(b,c)}M(Kc,Ac);n=Kc.prototype;n.clone=function(){var b=new Kc(null);V(b,this.g,this.a.slice());b.w();return b};n.ra=function(){return Gc(this.a,0,this.a.length,this.b)};n.Na=function(b){var c=[];c.length=Ic(this.a,0,this.a.length,this.b,b,c,0);b=new Kc(null);V(b,"XY",c);b.w();return b};n.U=function(){return"LinearRing"};n.X=function(b,c){b?(Cc(this,c,b,1),this.a||(this.a=[]),this.a.length=Ec(this.a,0,b,this.b)):V(this,"XY",null);this.w()};function Lc(b,c){Ac.call(this);this.X(b,c)}M(Lc,Ac);n=Lc.prototype;n.clone=function(){var b=new Lc(null);V(b,this.g,this.a.slice());b.w();return b};n.ra=function(){return this.a?this.a.slice():[]};n.lb=function(b){return Pb(this.a,b)};n.U=function(){return"Point"};n.X=function(b,c){b?(Cc(this,c,b,0),this.a||(this.a=[]),this.a.length=Dc(this.a,b)):V(this,"XY",null);this.w()};function Mc(b,c,d,e,f,g){for(var h=!1,k=b[d-e],l=b[d-e+1];c<d;c+=e){var m=b[c],p=b[c+1];l>g!=p>g&&f<(m-k)*(g-l)/(p-l)+k&&(h=!h);k=m;l=p}return h};function Nc(b,c,d,e,f,g,h){var k,l,m,p,q,r=f[g+1],u=[],w=d[0];m=b[w-e];q=b[w-e+1];for(k=c;k<w;k+=e){p=b[k];l=b[k+1];if(r<=q&&l<=r||q<=r&&r<=l)m=(r-q)/(l-q)*(p-m)+m,u.push(m);m=p;q=l}w=NaN;q=-Infinity;u.sort(Ga);m=u[0];k=1;for(l=u.length;k<l;++k){p=u[k];var y=Math.abs(p-m);if(y>q){m=(m+p)/2;var z;a:if(0!==d.length&&Mc(b,c,d[0],e,m,r)){var D=z=void 0;z=1;for(D=d.length;z<D;++z)if(Mc(b,d[z-1],d[z],e,m,r)){z=!1;break a}z=!0}else z=!1;z&&(w=m,q=y)}m=p}isNaN(w)&&(w=f[g]);return h?(h.push(w,r),h):[w,r]} +t,y[h++]=v,z=t,D=v);t=B;v=F}}y[h++]=t;y[h++]=v}}k.push(h);c=p}return h};function Kc(b,c){Ac.call(this);this.X(b,c)}M(Kc,Ac);n=Kc.prototype;n.clone=function(){var b=new Kc(null);V(b,this.g,this.a.slice());b.w();return b};n.oa=function(){return Gc(this.a,0,this.a.length,this.b)};n.Ea=function(b){var c=[];c.length=Ic(this.a,0,this.a.length,this.b,b,c,0);b=new Kc(null);V(b,"XY",c);b.w();return b};n.U=function(){return"LinearRing"};n.X=function(b,c){b?(Cc(this,c,b,1),this.a||(this.a=[]),this.a.length=Ec(this.a,0,b,this.b)):V(this,"XY",null);this.w()};function Lc(b,c){Ac.call(this);this.X(b,c)}M(Lc,Ac);n=Lc.prototype;n.clone=function(){var b=new Lc(null);V(b,this.g,this.a.slice());b.w();return b};n.oa=function(){return this.a?this.a.slice():[]};n.ab=function(b){return Pb(this.a,b)};n.U=function(){return"Point"};n.X=function(b,c){b?(Cc(this,c,b,0),this.a||(this.a=[]),this.a.length=Dc(this.a,b)):V(this,"XY",null);this.w()};function Mc(b,c,d,e,f,g){for(var h=!1,k=b[d-e],l=b[d-e+1];c<d;c+=e){var m=b[c],p=b[c+1];l>g!=p>g&&f<(m-k)*(g-l)/(p-l)+k&&(h=!h);k=m;l=p}return h};function Nc(b,c,d,e,f,g,h){var k,l,m,p,q,r=f[g+1],u=[],w=d[0];m=b[w-e];q=b[w-e+1];for(k=c;k<w;k+=e){p=b[k];l=b[k+1];if(r<=q&&l<=r||q<=r&&r<=l)m=(r-q)/(l-q)*(p-m)+m,u.push(m);m=p;q=l}w=NaN;q=-Infinity;u.sort(Ga);m=u[0];k=1;for(l=u.length;k<l;++k){p=u[k];var y=Math.abs(p-m);if(y>q){m=(m+p)/2;var z;a:if(0!==d.length&&Mc(b,c,d[0],e,m,r)){var D=z=void 0;z=1;for(D=d.length;z<D;++z)if(Mc(b,d[z-1],d[z],e,m,r)){z=!1;break a}z=!0}else z=!1;z&&(w=m,q=y)}m=p}isNaN(w)&&(w=f[g]);return h?(h.push(w,r),h):[w,r]} ;function Oc(b,c,d,e){for(var f=0,g=b[d-e],h=b[d-e+1];c<d;c+=e)var k=b[c],l=b[c+1],f=f+(k-g)*(l+h),g=k,h=l;return 0<f}function Pc(b,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=Oc(b,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 Qc(b,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],l=Oc(b,c,k,e);if(0===g?f&&l||!f&&!l:f&&!l||!f&&l)for(var l=b,m=k,p=e;c<m-p;){var q;for(q=0;q<p;++q){var r=l[c+q];l[c+q]=l[m-p+q];l[m-p+q]=r}c+=p;m-=p}c=k}return c}function Rc(b,c,d,e){var f=0,g,h;g=0;for(h=c.length;g<h;++g)f=Qc(b,f,c[g],d,e);return f};function Sc(b,c){Ac.call(this);this.c=[];this.A=-1;this.D=null;this.G=-1;this.j=null;this.X(b,c)}M(Sc,Ac);n=Sc.prototype;n.clone=function(){var b=new Sc(null);Tc(b,this.g,this.a.slice(),this.c.slice());return b};n.ra=function(b){var c;void 0!==b?(c=Uc(this).slice(),Qc(c,0,this.c,this.b,b)):c=this.a;return Hc(c,0,this.c,this.b)};n.bb=function(){return this.c};function Vc(b){if(b.A!=b.f){var c=Xb(b.C());b.D=Nc(Uc(b),0,b.c,b.b,c,0);b.A=b.f}return b.D} -function Uc(b){if(b.G!=b.f){var c=b.a;Pc(c,b.c,b.b)?b.j=c:(b.j=c.slice(),b.j.length=Qc(b.j,0,b.c,b.b));b.G=b.f}return b.j}n.Na=function(b){var c=[],d=[];c.length=Jc(this.a,0,this.c,this.b,Math.sqrt(b),c,0,d);b=new Sc(null);Tc(b,"XY",c,d);return b};n.U=function(){return"Polygon"};n.X=function(b,c){if(b){Cc(this,c,b,2);this.a||(this.a=[]);var d=Fc(this.a,0,b,this.b,this.c);this.a.length=0===d.length?0:d[d.length-1];this.w()}else Tc(this,"XY",null,this.c)};function Tc(b,c,d,e){V(b,c,d);b.c=e;b.w()};function Wc(b){U.call(this);b=b||{};this.g=[0,0];var c={};c.center=void 0!==b.center?b.center:null;this.h=uc(b.projection);var d,e,f,g=void 0!==b.minZoom?b.minZoom:0;d=void 0!==b.maxZoom?b.maxZoom:28;var h=void 0!==b.zoomFactor?b.zoomFactor:2;if(void 0!==b.resolutions)d=b.resolutions,e=d[0],f=d[d.length-1],d=Oa(d);else{e=uc(b.projection);f=e.C();var k=(f?Math.max(Ub(f),Vb(f)):360*gc.degrees/oc(e))/256/Math.pow(2,0),l=k/Math.pow(2,28);e=b.maxResolution;void 0!==e?g=0:e=k/Math.pow(h,g);f=b.minResolution; +function Qc(b,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],l=Oc(b,c,k,e);if(0===g?f&&l||!f&&!l:f&&!l||!f&&l)for(var l=b,m=k,p=e;c<m-p;){var q;for(q=0;q<p;++q){var r=l[c+q];l[c+q]=l[m-p+q];l[m-p+q]=r}c+=p;m-=p}c=k}return c}function Rc(b,c,d,e){var f=0,g,h;g=0;for(h=c.length;g<h;++g)f=Qc(b,f,c[g],d,e);return f};function Sc(b,c){Ac.call(this);this.c=[];this.A=-1;this.D=null;this.G=-1;this.j=null;this.X(b,c)}M(Sc,Ac);n=Sc.prototype;n.clone=function(){var b=new Sc(null);Tc(b,this.g,this.a.slice(),this.c.slice());return b};n.oa=function(b){var c;void 0!==b?(c=Uc(this).slice(),Qc(c,0,this.c,this.b,b)):c=this.a;return Hc(c,0,this.c,this.b)};n.Ta=function(){return this.c};function Vc(b){if(b.A!=b.f){var c=Xb(b.C());b.D=Nc(Uc(b),0,b.c,b.b,c,0);b.A=b.f}return b.D} +function Uc(b){if(b.G!=b.f){var c=b.a;Pc(c,b.c,b.b)?b.j=c:(b.j=c.slice(),b.j.length=Qc(b.j,0,b.c,b.b));b.G=b.f}return b.j}n.Ea=function(b){var c=[],d=[];c.length=Jc(this.a,0,this.c,this.b,Math.sqrt(b),c,0,d);b=new Sc(null);Tc(b,"XY",c,d);return b};n.U=function(){return"Polygon"};n.X=function(b,c){if(b){Cc(this,c,b,2);this.a||(this.a=[]);var d=Fc(this.a,0,b,this.b,this.c);this.a.length=0===d.length?0:d[d.length-1];this.w()}else Tc(this,"XY",null,this.c)};function Tc(b,c,d,e){V(b,c,d);b.c=e;b.w()};function Wc(b){U.call(this);b=b||{};this.g=[0,0];var c={};c.center=void 0!==b.center?b.center:null;this.h=uc(b.projection);var d,e,f,g=void 0!==b.minZoom?b.minZoom:0;d=void 0!==b.maxZoom?b.maxZoom:28;var h=void 0!==b.zoomFactor?b.zoomFactor:2;if(void 0!==b.resolutions)d=b.resolutions,e=d[0],f=d[d.length-1],d=Oa(d);else{e=uc(b.projection);f=e.C();var k=(f?Math.max(Ub(f),Vb(f)):360*gc.degrees/oc(e))/256/Math.pow(2,0),l=k/Math.pow(2,28);e=b.maxResolution;void 0!==e?g=0:e=k/Math.pow(h,g);f=b.minResolution; void 0===f&&(f=void 0!==b.maxZoom?void 0!==b.maxResolution?e/Math.pow(h,d):k/Math.pow(h,d):l);d=g+Math.floor(Math.log(e/f)/Math.log(h));f=e/Math.pow(h,d-g);d=Pa(h,e,d-g)}this.b=e;this.i=f;this.c=g;g=void 0!==b.extent?Ea(b.extent):Fa;(void 0!==b.enableRotation?b.enableRotation:1)?(e=b.constrainRotation,e=void 0===e||!0===e?Ta():!1===e?Ra:ea(e)?Sa(e):Ra):e=Qa;this.a=new Ua(g,d,e);void 0!==b.resolution?c.resolution=b.resolution:void 0!==b.zoom&&(c.resolution=this.constrainResolution(this.b,b.zoom-this.c)); -c.rotation=void 0!==b.rotation?b.rotation:0;this.l(c)}M(Wc,U);n=Wc.prototype;n.constrainResolution=function(b,c,d){return this.a.resolution(b,c||0,d||0)};n.constrainRotation=function(b,c){return this.a.rotation(b,c||0)};n.ja=function(){return this.get("center")};n.nc=function(b){var c=this.ja(),d=this.I(),e=this.$();return Yb(c,d,e,b)};n.pe=function(){return this.h};n.I=function(){return this.get("resolution")};function Xc(b,c){return Math.max(Ub(b)/c[0],Vb(b)/c[1])}n.$=function(){return this.get("rotation")}; -n.N=function(){var b=this.ja(),c=this.h,d=this.I(),e=this.$();return{center:[Math.round(b[0]/d)*d,Math.round(b[1]/d)*d],projection:void 0!==c?c:null,resolution:d,rotation:e}};n.zd=function(){var b,c=this.I();if(void 0!==c){var d,e=0;do{d=this.constrainResolution(this.b,e);if(d==c){b=e;break}++e}while(d>this.i)}return void 0!==b?this.c+b:b}; -n.qd=function(b,c,d){if(!(b instanceof Ac)){var e=b[0],f=b[1],g=b[2],h=b[3],e=[e,f,e,h,g,h,g,f,e,f],f=new Sc(null);Tc(f,"XY",e,[e.length]);b=f}e=d||{};d=void 0!==e.padding?e.padding:[0,0,0,0];var h=void 0!==e.constrainResolution?e.constrainResolution:!0,f=void 0!==e.nearest?e.nearest:!1,k;void 0!==e.minResolution?k=e.minResolution:void 0!==e.maxZoom?k=this.constrainResolution(this.b,e.maxZoom-this.c,0):k=0;var l=b.a,g=this.$(),e=Math.cos(-g),g=Math.sin(-g),m=Infinity,p=Infinity,q=-Infinity,r=-Infinity; -b=b.b;for(var u=0,w=l.length;u<w;u+=b)var y=l[u]*e-l[u+1]*g,z=l[u]*g+l[u+1]*e,m=Math.min(m,y),p=Math.min(p,z),q=Math.max(q,y),r=Math.max(r,z);c=Xc([m,p,q,r],[c[0]-d[1]-d[3],c[1]-d[0]-d[2]]);c=isNaN(c)?k:Math.max(c,k);h&&(k=this.constrainResolution(c,0,0),!f&&k<c&&(k=this.constrainResolution(k,-1,0)),c=k);Yc(this,c);g=-g;k=(m+q)/2+(d[1]-d[3])/2*c;c=(p+r)/2+(d[0]-d[2])/2*c;this.pa([k*e-c*g,c*e+k*g])}; -n.rotate=function(b,c){if(void 0!==c){var d,e=this.ja();void 0!==e&&(d=[e[0]-c[0],e[1]-c[1]],ub(d,b-this.$()),tb(d,c));this.pa(d)}this.set("rotation",b)};n.pa=function(b){this.set("center",b)};function Zc(b,c){b.g[1]+=c}function Yc(b,c){b.set("resolution",c)}n.Je=function(b){b=this.constrainResolution(this.b,b-this.c,0);Yc(this,b)};function $c(b){return 1-Math.pow(1-b,3)}function ad(b){return 3*b*b-2*b*b*b}function bd(b){return b};function cd(b){var c=b.source,d=b.start?b.start:Date.now(),e=c[0],f=c[1],g=void 0!==b.duration?b.duration:1E3,h=b.easing?b.easing:ad;return function(b,c){if(c.time<d)return c.animate=!0,c.viewHints[0]+=1,!0;if(c.time<d+g){var m=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]+=m*p;c.viewState.center[1]+=m*q;c.viewHints[0]+=1;return!0}return!1}} -function dd(b){var c=b.rotation?b.rotation:0,d=b.start?b.start:Date.now(),e=void 0!==b.duration?b.duration:1E3,f=b.easing?b.easing:ad,g=b.anchor?b.anchor:null;return function(b,k){if(k.time<d)return k.animate=!0,k.viewHints[0]+=1,!0;if(k.time<d+e){var l=1-f((k.time-d)/e),l=(c-k.viewState.rotation)*l;k.animate=!0;k.viewState.rotation+=l;if(g){var m=k.viewState.center;m[0]-=g[0];m[1]-=g[1];ub(m,l);tb(m,g)}k.viewHints[0]+=1;return!0}return!1}} -function ed(b){var c=b.resolution,d=b.start?b.start:Date.now(),e=void 0!==b.duration?b.duration:1E3,f=b.easing?b.easing:ad;return function(b,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),l=c-h.viewState.resolution;h.animate=!0;h.viewState.resolution+=k*l;h.viewHints[0]+=1;return!0}return!1}};function fd(b,c,d,e){this.a=b;this.f=c;this.b=d;this.c=e}function gd(b,c,d){return b.a<=c&&c<=b.f&&b.b<=d&&d<=b.c}function hd(b,c){return b.a==c.a&&b.b==c.b&&b.f==c.f&&b.c==c.c}fd.prototype.da=function(){return this.f-this.a+1};function id(b,c){return b.a<=c.f&&b.f>=c.a&&b.b<=c.c&&b.c>=c.b};function jd(b){this.b=b.html;this.a=b.tileRanges?b.tileRanges:null};function kd(b,c,d){S.call(this,b,d);this.element=c}M(kd,S);function ld(b){U.call(this);this.a=b?b:[];md(this)}M(ld,U);n=ld.prototype;n.clear=function(){for(;0<this.get("length");)this.pop()};function nd(b,c,d){b.a.forEach(c,d)}n.item=function(b){return this.a[b]};n.pop=function(){return od(this,this.get("length")-1)};n.push=function(b){var c=this.a.length;this.a.splice(c,0,b);md(this);T(this,new kd("add",b,this));return c}; -n.remove=function(b){var c=this.a,d,e;d=0;for(e=c.length;d<e;++d)if(c[d]===b)return od(this,d)};function od(b,c){var d=b.a[c];b.a.splice(c,1);md(b);T(b,new kd("remove",d,b));return d}function md(b){b.set("length",b.a.length)};function pd(b,c){Array.prototype.forEach.call(b,c,void 0)}function qd(b){var c=b.length;if(0<c){for(var d=Array(c),e=0;e<c;e++)d[e]=b[e];return d}return[]}function rd(b,c,d){return 2>=arguments.length?Array.prototype.slice.call(b,c):Array.prototype.slice.call(b,c,d)};var sd=/^#(?:[0-9a-f]{3}){1,2}$/i,td=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,ud=/^(?: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 vd(b){if("string"!==typeof b){var c=b[0];c!=(c|0)&&(c=c+.5|0);var d=b[1];d!=(d|0)&&(d=d+.5|0);var e=b[2];e!=(e|0)&&(e=e+.5|0);b="rgba("+c+","+d+","+e+","+(void 0===b[3]?1:b[3])+")"}return b} -var xd=function(){var b={},c=0;return function(d){var e;if(b.hasOwnProperty(d))e=b[d];else{if(1024<=c){e=0;for(var f in b)0===(e++&3)&&(delete b[f],--c)}var g,h;sd.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=ud.exec(d))?(e=Number(h[1]),f=Number(h[2]),g=Number(h[3]),h=Number(h[4]),e=[e,f,g,h],e=wd(e,e)):(h=td.exec(d))?(e=Number(h[1]),f=Number(h[2]),g=Number(h[3]), -e=[e,f,g,1],e=wd(e,e)):e=void 0;b[d]=e;++c}return e}}();function wd(b,c){var d=c||[];d[0]=Ba(b[0]+.5|0,0,255);d[1]=Ba(b[1]+.5|0,0,255);d[2]=Ba(b[2]+.5|0,0,255);d[3]=Ba(b[3],0,1);return d};function yd(b){return"string"===typeof b||b instanceof CanvasPattern||b instanceof CanvasGradient?b:vd(b)};var zd;a:{var Ad=x.navigator;if(Ad){var Bd=Ad.userAgent;if(Bd){zd=Bd;break a}}zd=""}function W(b){return-1!=zd.indexOf(b)};function Cd(b,c){for(var d in b)c.call(void 0,b[d],d,b)}var Dd="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Ed(b,c){for(var d,e,f=1;f<arguments.length;f++){e=arguments[f];for(d in e)b[d]=e[d];for(var g=0;g<Dd.length;g++)d=Dd[g],Object.prototype.hasOwnProperty.call(e,d)&&(b[d]=e[d])}};var Fd=W("Opera")||W("OPR"),Gd=W("Trident")||W("MSIE"),Hd=W("Edge"),Id=W("Gecko")&&!(-1!=zd.toLowerCase().indexOf("webkit")&&!W("Edge"))&&!(W("Trident")||W("MSIE"))&&!W("Edge"),Jd=-1!=zd.toLowerCase().indexOf("webkit")&&!W("Edge");function Kd(){var b=x.document;return b?b.documentMode:void 0}var Ld; -a:{var Md="",Nd=function(){var b=zd;if(Id)return/rv\:([^\);]+)(\)|;)/.exec(b);if(Hd)return/Edge\/([\d\.]+)/.exec(b);if(Gd)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(b);if(Jd)return/WebKit\/(\S+)/.exec(b);if(Fd)return/(?:Version)[ \/]?(\S+)/.exec(b)}();Nd&&(Md=Nd?Nd[1]:"");if(Gd){var Od=Kd();if(null!=Od&&Od>parseFloat(Md)){Ld=String(Od);break a}}Ld=Md}var Pd={}; -function Qd(b){var c;if(!(c=Pd[b])){c=0;for(var d=qa(String(Ld)).split("."),e=qa(String(b)).split("."),f=Math.max(d.length,e.length),g=0;0==c&&g<f;g++){var h=d[g]||"",k=e[g]||"",l=RegExp("(\\d*)(\\D*)","g"),m=RegExp("(\\d*)(\\D*)","g");do{var p=l.exec(h)||["","",""],q=m.exec(k)||["","",""];if(0==p[0].length&&0==q[0].length)break;c=Aa(0==p[1].length?0:parseInt(p[1],10),0==q[1].length?0:parseInt(q[1],10))||Aa(0==p[2].length,0==q[2].length)||Aa(p[2],q[2])}while(0==c)}c=Pd[b]=0<=c}return c} -var Rd=x.document,Sd=Rd&&Gd?Kd()||("CSS1Compat"==Rd.compatMode?parseInt(Ld,10):5):void 0;var Td=!Gd||9<=Number(Sd);!Id&&!Gd||Gd&&9<=Number(Sd)||Id&&Qd("1.9.1");Gd&&Qd("9");function Ud(b,c){this.x=void 0!==b?b:0;this.y=void 0!==c?c:0}n=Ud.prototype;n.clone=function(){return new Ud(this.x,this.y)};n.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};n.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};n.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};n.scale=function(b,c){var d=ea(c)?c:b;this.x*=b;this.y*=d;return this};function Vd(b,c){this.width=b;this.height=c}n=Vd.prototype;n.clone=function(){return new Vd(this.width,this.height)};n.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};n.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};n.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};n.scale=function(b,c){var d=ea(c)?c:b;this.width*=b;this.height*=d;return this};function Wd(b){return b?new Xd(Yd(b)):pa||(pa=new Xd)}function Zd(b){var c=document;return da(b)?c.getElementById(b):b}function $d(b,c){Cd(c,function(c,e){"style"==e?b.style.cssText=c:"class"==e?b.className=c:"for"==e?b.htmlFor=c:ae.hasOwnProperty(e)?b.setAttribute(ae[e],c):0==e.lastIndexOf("aria-",0)||0==e.lastIndexOf("data-",0)?b.setAttribute(e,c):b[e]=c})} -var ae={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 be(b,c,d){var e=arguments,f=document,g=e[0],h=e[1];if(!Td&&h&&(h.name||h.type)){g=["<",g];h.name&&g.push(' name="',sa(h.name),'"');if(h.type){g.push(' type="',sa(h.type),'"');var k={};Ed(k,h);delete k.type;h=k}g.push(">");g=g.join("")}g=f.createElement(g);h&&(da(h)?g.className=h:"array"==ba(h)?g.className=h.join(" "):$d(g,h));2<e.length&&ce(f,g,e);return g} -function ce(b,c,d){function e(d){d&&c.appendChild(da(d)?b.createTextNode(d):d)}for(var f=2;f<d.length;f++){var g=d[f];!ca(g)||ha(g)&&0<g.nodeType?e(g):pd(de(g)?qd(g):g,e)}}function ee(b){for(var c;c=b.firstChild;)b.removeChild(c)}function fe(b,c,d){b.insertBefore(c,b.childNodes[d]||null)}function ge(b){b&&b.parentNode&&b.parentNode.removeChild(b)}function he(b,c){var d=c.parentNode;d&&d.replaceChild(b,c)} -function ie(b,c){if(!b||!c)return!1;if(b.contains&&1==c.nodeType)return b==c||b.contains(c);if("undefined"!=typeof b.compareDocumentPosition)return b==c||!!(b.compareDocumentPosition(c)&16);for(;c&&b!=c;)c=c.parentNode;return c==b}function Yd(b){return 9==b.nodeType?b:b.ownerDocument||b.document}function de(b){if(b&&"number"==typeof b.length){if(ha(b))return"function"==typeof b.item||"string"==typeof b.item;if(ga(b))return"function"==typeof b.item}return!1} -function Xd(b){this.a=b||x.document||document}Xd.prototype.appendChild=function(b,c){b.appendChild(c)};function je(b,c,d,e){this.top=b;this.right=c;this.bottom=d;this.left=e}n=je.prototype;n.da=function(){return this.right-this.left};n.clone=function(){return new je(this.top,this.right,this.bottom,this.left)};n.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this}; -n.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};n.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};n.scale=function(b,c){var d=ea(c)?c:b;this.left*=b;this.right*=b;this.top*=d;this.bottom*=d;return this};function ke(b,c){var d=Yd(b);return d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(b,null))?d[c]||d.getPropertyValue(c)||"":""}function le(b){var c;try{c=b.getBoundingClientRect()}catch(d){return{left:0,top:0,right:0,bottom:0}}Gd&&b.ownerDocument.body&&(b=b.ownerDocument,c.left-=b.documentElement.clientLeft+b.body.clientLeft,c.top-=b.documentElement.clientTop+b.body.clientTop);return c} -function me(b){var c=ne;if("none"!=(ke(b,"display")||(b.currentStyle?b.currentStyle.display:null)||b.style&&b.style.display))return c(b);var d=b.style,e=d.display,f=d.visibility,g=d.position;d.visibility="hidden";d.position="absolute";d.display="inline";b=c(b);d.display=e;d.position=g;d.visibility=f;return b}function ne(b){var c=b.offsetWidth,d=b.offsetHeight,e=Jd&&!c&&!d;return(void 0===c||e)&&b.getBoundingClientRect?(b=le(b),new Vd(b.right-b.left,b.bottom-b.top)):new Vd(c,d)} -function oe(b,c){b.style.display=c?"":"none"}function pe(b,c,d,e){if(/^\d+px?$/.test(c))return parseInt(c,10);var f=b.style[d],g=b.runtimeStyle[d];b.runtimeStyle[d]=b.currentStyle[d];b.style[d]=c;c=b.style[e];b.style[d]=f;b.runtimeStyle[d]=g;return c}function qe(b,c){var d=b.currentStyle?b.currentStyle[c]:null;return d?pe(b,d,"left","pixelLeft"):0}var re={thin:2,medium:4,thick:6}; -function se(b,c){if("none"==(b.currentStyle?b.currentStyle[c+"Style"]:null))return 0;var d=b.currentStyle?b.currentStyle[c+"Width"]:null;return d in re?re[d]:pe(b,d,"left","pixelLeft")};function te(b,c,d){S.call(this,b);this.map=c;this.frameState=void 0!==d?d:null}M(te,S);function ue(b){U.call(this);this.element=b.element?b.element:null;this.c=this.A=null;this.h=[];this.render=b.render?b.render:N;b.target&&(this.A=Zd(b.target))}M(ue,U);ue.prototype.K=function(){ge(this.element);ue.Y.K.call(this)};ue.prototype.setMap=function(b){this.c&&ge(this.element);for(var c=0,d=this.h.length;c<d;++c)P(this.h[c]);this.h.length=0;if(this.c=b)(this.A?this.A:b.j).appendChild(this.element),this.render!==N&&this.h.push(R(b,"postrender",this.render,this)),b.render()};function ve(){this.f=0;this.c={};this.b=this.a=null}n=ve.prototype;n.clear=function(){this.f=0;this.c={};this.b=this.a=null};function we(b,c){return b.c.hasOwnProperty(c)}function xe(b,c){for(var d=b.a;d;)c.call(void 0,d.Ka,d.Ub,b),d=d.ma}n.get=function(b){b=this.c[b];if(b===this.b)return b.Ka;b===this.a?(this.a=this.a.ma,this.a.Ra=null):(b.ma.Ra=b.Ra,b.Ra.ma=b.ma);b.ma=null;b.Ra=this.b;this.b=this.b.ma=b;return b.Ka}; -n.pop=function(){var b=this.a;delete this.c[b.Ub];b.ma&&(b.ma.Ra=null);this.a=b.ma;this.a||(this.b=null);--this.f;return b.Ka};n.replace=function(b,c){this.get(b);this.c[b].Ka=c};n.set=function(b,c){var d={Ub:b,ma:null,Ra:this.b,Ka:c};this.b?this.b.ma=d:this.a=d;this.b=d;this.c[b]=d;++this.f};function ye(b){ve.call(this);this.g=void 0!==b?b:2048}M(ye,ve);function ze(b){return b.f>b.g}function Ae(b,c){for(var d,e;ze(b);){d=b.a.Ka;e=d.L[0].toString();var f;if(f=e in c)d=d.L,f=gd(c[e],d[1],d[2]);if(f)break;else ib(b.pop())}};function Be(b,c){lb.call(this);this.L=b;this.state=c;this.a=null;this.key=""}M(Be,lb);function Ce(b){T(b,"change")}Be.prototype.getKey=function(){return I(this).toString()};Be.prototype.N=function(){return this.state};function De(b){U.call(this);this.c=kc(b.projection);this.i=Ee(b.attributions);this.v=b.logo;this.A=void 0!==b.state?b.state:"ready";this.j=void 0!==b.wrapX?b.wrapX:!1}M(De,U);function Ee(b){if("string"===typeof b)return[new jd({html:b})];if(b instanceof jd)return[b];if(Array.isArray(b)){for(var c=b.length,d=Array(c),e=0;e<c;e++){var f=b[e];d[e]="string"===typeof f?new jd({html:f}):f}return d}return null}De.prototype.N=function(){return this.A};De.prototype.za=function(){this.w()};function Fe(b){this.minZoom=void 0!==b.minZoom?b.minZoom:0;this.b=b.resolutions;this.maxZoom=this.b.length-1;this.f=void 0!==b.origin?b.origin:null;this.g=null;void 0!==b.origins&&(this.g=b.origins);var c=b.extent;void 0===c||this.f||this.g||(this.f=ac(c));this.h=null;void 0!==b.tileSizes&&(this.h=b.tileSizes);this.l=void 0!==b.tileSize?b.tileSize:this.h?null:256;this.i=void 0!==c?c:null;this.a=null;void 0!==b.sizes?this.a=b.sizes.map(function(b){return new fd(Math.min(0,b[0]),Math.max(b[0]-1,-1), -Math.min(0,b[1]),Math.max(b[1]-1,-1))},this):c&&Ge(this,c);this.c=[0,0]}var He=[0,0,0];function Ie(b,c,d,e,f){f=Je(b,c,f);for(c=c[0]-1;c>=b.minZoom;){if(d.call(null,c,Ke(b,f,c,e)))return!0;--c}return!1}Fe.prototype.C=function(){return this.i};Fe.prototype.ia=function(b){return this.f?this.f:this.g[b]};Fe.prototype.I=function(b){return this.b[b]};Fe.prototype.Qb=function(){return this.b};function Le(b,c,d,e){return c[0]<b.maxZoom?(e=Je(b,c,e),Ke(b,e,c[0]+1,d)):null} -function Me(b,c,d,e){Ne(b,c[0],c[1],d,!1,He);var f=He[1],g=He[2];Ne(b,c[2],c[3],d,!0,He);b=He[1];c=He[2];void 0!==e?(e.a=f,e.f=b,e.b=g,e.c=c):e=new fd(f,b,g,c);return e}function Ke(b,c,d,e){d=b.I(d);return Me(b,c,d,e)}function Oe(b,c){var d=b.ia(c[0]),e=b.I(c[0]),f=sb(Pe(b,c[0]),b.c);return[d[0]+(c[1]+.5)*f[0]*e,d[1]+(c[2]+.5)*f[1]*e]}function Je(b,c,d){var e=b.ia(c[0]),f=b.I(c[0]);b=sb(Pe(b,c[0]),b.c);var g=e[0]+c[1]*b[0]*f;c=e[1]+c[2]*b[1]*f;return Nb(g,c,g+b[0]*f,c+b[1]*f,d)} -function Ne(b,c,d,e,f,g){var h=Qe(b,e),k=e/b.I(h),l=b.ia(h);b=sb(Pe(b,h),b.c);c=k*Math.floor((c-l[0])/e+(f?.5:0))/b[0];d=k*Math.floor((d-l[1])/e+(f?0:.5))/b[1];f?(c=Math.ceil(c)-1,d=Math.ceil(d)-1):(c=Math.floor(c),d=Math.floor(d));f=c;void 0!==g?(g[0]=h,g[1]=f,g[2]=d):g=[h,f,d];return g}function Re(b,c,d){d=b.I(d);return Ne(b,c[0],c[1],d,!1,void 0)}function Pe(b,c){return b.l?b.l:b.h[c]}function Qe(b,c){var d=Ha(b.b,c,0);return Ba(d,b.minZoom,b.maxZoom)} -function Ge(b,c){for(var d=b.b.length,e=Array(d),f=b.minZoom;f<d;++f)e[f]=Ke(b,c,f);b.a=e}function Se(b){var c=b.c;if(!c){var c=Te(b),d=Ue(c,void 0,void 0),c=new Fe({extent:c,origin:ac(c),resolutions:d,tileSize:void 0});b.c=c}return c}function Ue(b,c,d){c=void 0!==c?c:42;var e=Vb(b);b=Ub(b);d=sb(void 0!==d?d:256);d=Math.max(b/d[0],e/d[1]);c+=1;e=Array(c);for(b=0;b<c;++b)e[b]=d/Math.pow(2,b);return e}function Te(b){b=kc(b);var c=b.C();c||(b=180*gc.degrees/oc(b),c=Nb(-b,-b,b,b));return c};function Ve(b){De.call(this,{attributions:b.attributions,extent:b.extent,logo:b.logo,projection:b.projection,state:b.state,wrapX:b.wrapX});this.G=void 0!==b.opaque?b.opaque:!1;this.Z=void 0!==b.tilePixelRatio?b.tilePixelRatio:1;this.tileGrid=void 0!==b.tileGrid?b.tileGrid:null;this.a=new ye(b.cacheSize);this.h=[0,0]}M(Ve,De);n=Ve.prototype;n.Qc=function(){return ze(this.a)};n.Rc=function(b,c){var d=this.cb(b);d&&Ae(d,c)}; -function We(b,c,d,e,f){c=b.cb(c);if(!c)return!1;for(var g=!0,h,k,l=e.a;l<=e.f;++l)for(var m=e.b;m<=e.c;++m)h=b.nb(d,l,m),k=!1,we(c,h)&&(h=c.get(h),(k=2===h.N())&&(k=!1!==f(h))),k||(g=!1);return g}n.mb=function(){return 0};n.nb=function(b,c,d){return b+"/"+c+"/"+d};n.Pb=function(){return this.G};n.Qb=function(){return this.tileGrid.Qb()};n.la=function(b){return this.tileGrid?this.tileGrid:Se(b)};n.cb=function(b){var c=this.c;return c&&!vc(c,b)?null:this.a};n.ob=function(){return this.Z}; -function Xe(b,c,d,e){e=b.la(e);d=b.ob(d);c=sb(Pe(e,c),b.h);return 1==d?c:rb(c,d,b.h)}function Ye(b,c,d){var e=void 0!==d?d:b.c;d=b.la(e);if(b.j&&e.f){var f=c;c=f[0];b=Oe(d,f);var e=Te(e),g=b[0],h=b[1];e[0]<=g&&g<=e[2]&&e[1]<=h&&h<=e[3]?c=f:(f=Ub(e),b[0]+=f*Math.ceil((e[0]-b[0])/f),c=Re(d,b,c))}e=c[0];b=c[1];f=c[2];d=d.minZoom>e||e>d.maxZoom?!1:(d=(g=d.C())?Ke(d,g,e):d.a?d.a[e]:null)?gd(d,b,f):!0;return d?c:null}n.za=function(){this.a.clear();this.w()};n.$c=N; -function Ze(b,c){S.call(this,b);this.tile=c}M(Ze,S);function $e(b){b=b?b:{};this.s=document.createElement("UL");this.j=document.createElement("LI");this.s.appendChild(this.j);oe(this.j,!1);this.g=void 0!==b.collapsed?b.collapsed:!0;this.i=void 0!==b.collapsible?b.collapsible:!0;this.i||(this.g=!1);var c=void 0!==b.className?b.className:"ol-attribution",d=void 0!==b.tipLabel?b.tipLabel:"Attributions",e=void 0!==b.collapseLabel?b.collapseLabel:"\u00bb";this.u="string"===typeof e?be("SPAN",{},e):e;e=void 0!==b.label?b.label:"i";this.v="string"===typeof e? -be("SPAN",{},e):e;d=be("BUTTON",{type:"button",title:d},this.i&&!this.g?this.u:this.v);R(d,"click",this.G,this);c=be("DIV",c+" ol-unselectable ol-control"+(this.g&&this.i?" ol-collapsed":"")+(this.i?"":" ol-uncollapsible"),this.s,d);ue.call(this,{element:c,render:b.render?b.render:af,target:b.target});this.o=!0;this.b={};this.a={};this.D={}}M($e,ue); -function af(b){if(b=b.frameState){var c,d,e,f,g,h,k,l,m,p,q,r=b.layerStatesArray,u=Va({},b.attributions),w={},y=b.viewState.projection;d=0;for(c=r.length;d<c;d++)if(h=r[d].layer.W())if(p=I(h).toString(),m=h.i)for(e=0,f=m.length;e<f;e++)if(k=m[e],l=I(k).toString(),!(l in u)){if(g=b.usedTiles[p]){var z=h.la(y);a:{q=k;var D=y;if(q.a){var t=void 0,v=void 0,B=void 0,F=void 0;for(F in g)if(F in q.a)for(var B=g[F],C,t=0,v=q.a[F].length;t<v;++t){C=q.a[F][t];if(id(C,B)){q=!0;break a}var G=Ke(z,Te(D),parseInt(F, -10)),J=G.da();if(B.a<G.a||B.f>G.f)if(id(C,new fd(Da(B.a,J),Da(B.f,J),B.b,B.c))||B.da()>J&&id(C,G)){q=!0;break a}}q=!1}else q=!0}}else q=!1;q?(l in w&&delete w[l],u[l]=k):w[l]=k}c=[u,w];d=c[0];c=c[1];for(var A in this.b)A in d?(this.a[A]||(oe(this.b[A],!0),this.a[A]=!0),delete d[A]):A in c?(this.a[A]&&(oe(this.b[A],!1),delete this.a[A]),delete c[A]):(ge(this.b[A]),delete this.b[A],delete this.a[A]);for(A in d)e=document.createElement("LI"),e.innerHTML=d[A].b,this.s.appendChild(e),this.b[A]=e,this.a[A]= -!0;for(A in c)e=document.createElement("LI"),e.innerHTML=c[A].b,oe(e,!1),this.s.appendChild(e),this.b[A]=e;A=!Za(this.a)||!Za(b.logos);this.o!=A&&(oe(this.element,A),this.o=A);A&&Za(this.a)?this.element.classList.add("ol-logo-only"):this.element.classList.remove("ol-logo-only");var H;b=b.logos;A=this.D;for(H in A)H in b||(ge(A[H]),delete A[H]);for(var O in b)O in A||(H=new Image,H.src=O,d=b[O],""===d?d=H:(d=be("A",{href:d}),d.appendChild(H)),this.j.appendChild(d),A[O]=d);oe(this.j,!Za(b))}else this.o&& -(oe(this.element,!1),this.o=!1)}$e.prototype.G=function(b){b.preventDefault();this.element.classList.toggle("ol-collapsed");this.g?he(this.u,this.v):he(this.v,this.u);this.g=!this.g};function bf(b){b=b?b:{};var c=void 0!==b.className?b.className:"ol-rotate",d=void 0!==b.label?b.label:"\u21e7";this.a=null;"string"===typeof d?this.a=be("SPAN","ol-compass",d):(this.a=d,this.a.classList.add(this.a,"ol-compass"));d=be("BUTTON",{"class":c+"-reset",type:"button",title:b.tipLabel?b.tipLabel:"Reset rotation"},this.a);R(d,"click",bf.prototype.o,this);c=be("DIV",c+" ol-unselectable ol-control",d);d=b.render?b.render:cf;this.g=b.resetNorth?b.resetNorth:void 0;ue.call(this,{element:c,render:d, -target:b.target});this.i=void 0!==b.duration?b.duration:250;this.b=void 0!==b.autoHide?b.autoHide:!0;this.j=void 0;this.b&&this.element.classList.add("ol-hidden")}M(bf,ue);bf.prototype.o=function(b){b.preventDefault();if(void 0!==this.g)this.g();else{b=this.c;var c=b.O();if(c){var d=c.$();void 0!==d&&(0<this.i&&(d%=2*Math.PI,d<-Math.PI&&(d+=2*Math.PI),d>Math.PI&&(d-=2*Math.PI),b.ha(dd({rotation:d,duration:this.i,easing:$c}))),c.set("rotation",0))}}}; -function cf(b){if(b=b.frameState){b=b.viewState.rotation;if(b!=this.j){var c="rotate("+b+"rad)";if(this.b){var d=this.element.classList.contains("ol-hidden");d||0!==b?d&&0!==b&&this.element.classList.remove("ol-hidden"):this.element.classList.add("ol-hidden")}this.a.style.msTransform=c;this.a.style.webkitTransform=c;this.a.style.transform=c}this.j=b}};function df(b){b=b?b:{};var c=void 0!==b.className?b.className:"ol-zoom",d=void 0!==b.delta?b.delta:1,e=void 0!==b.zoomOutLabel?b.zoomOutLabel:"\u2212",f=void 0!==b.zoomOutTipLabel?b.zoomOutTipLabel:"Zoom out",g=be("BUTTON",{"class":c+"-in",type:"button",title:void 0!==b.zoomInTipLabel?b.zoomInTipLabel:"Zoom in"},void 0!==b.zoomInLabel?b.zoomInLabel:"+");R(g,"click",na(df.prototype.b,d),this);e=be("BUTTON",{"class":c+"-out",type:"button",title:f},e);R(e,"click",na(df.prototype.b,-d),this);c=be("DIV", -c+" ol-unselectable ol-control",g,e);ue.call(this,{element:c,target:b.target});this.a=void 0!==b.duration?b.duration:250}M(df,ue);df.prototype.b=function(b,c){c.preventDefault();var d=this.c,e=d.O();if(e){var f=e.I();f&&(0<this.a&&d.ha(ed({resolution:f,duration:this.a,easing:$c})),d=e.constrainResolution(f,b),Yc(e,d))}};function ef(b){b=b?b:{};var c=new ld;(void 0!==b.zoom?b.zoom:1)&&c.push(new df(b.zoomOptions));(void 0!==b.rotate?b.rotate:1)&&c.push(new bf(b.rotateOptions));(void 0!==b.attribution?b.attribution:1)&&c.push(new $e(b.attributionOptions));return c};var ff=Jd?"webkitfullscreenchange":Id?"mozfullscreenchange":Gd?"MSFullscreenChange":"fullscreenchange";function gf(){var b=Wd().a,c=b.body;return!!(c.webkitRequestFullscreen||c.mozRequestFullScreen&&b.mozFullScreenEnabled||c.msRequestFullscreen&&b.msFullscreenEnabled||c.requestFullscreen&&b.fullscreenEnabled)} -function hf(b){b.webkitRequestFullscreen?b.webkitRequestFullscreen():b.mozRequestFullScreen?b.mozRequestFullScreen():b.msRequestFullscreen?b.msRequestFullscreen():b.requestFullscreen&&b.requestFullscreen()}function jf(){var b=Wd().a;return!!(b.webkitIsFullScreen||b.mozFullScreen||b.msFullscreenElement||b.fullscreenElement)};function kf(b){b=b?b:{};this.a=void 0!==b.className?b.className:"ol-full-screen";var c=void 0!==b.label?b.label:"\u2922";this.b="string"===typeof c?document.createTextNode(c):c;c=void 0!==b.labelActive?b.labelActive:"\u00d7";this.g="string"===typeof c?document.createTextNode(c):c;c=b.tipLabel?b.tipLabel:"Toggle full-screen";c=be("BUTTON",{"class":this.a+"-"+jf(),type:"button",title:c},this.b);R(c,"click",this.s,this);var d=this.a+" ol-unselectable ol-control "+(gf()?"":"ol-unsupported"),c=be("DIV", -d,c);ue.call(this,{element:c,target:b.target});this.o=void 0!==b.keys?b.keys:!1;this.i=b.source}M(kf,ue); -kf.prototype.s=function(b){b.preventDefault();gf()&&(b=this.c)&&(jf()?(b=Wd().a,b.webkitCancelFullScreen?b.webkitCancelFullScreen():b.mozCancelFullScreen?b.mozCancelFullScreen():b.msExitFullscreen?b.msExitFullscreen():b.exitFullscreen&&b.exitFullscreen()):(b=this.i?Zd(this.i):b.Oa(),this.o?b.mozRequestFullScreenWithKeys?b.mozRequestFullScreenWithKeys():b.webkitRequestFullscreen?b.webkitRequestFullscreen():hf(b):hf(b)))}; -kf.prototype.j=function(){var b=this.element.firstElementChild,c=this.c;jf()?(b.className=this.a+"-true",he(this.g,this.b)):(b.className=this.a+"-false",he(this.b,this.g));c&&c.xb()};kf.prototype.setMap=function(b){kf.Y.setMap.call(this,b);b&&this.h.push(R(x.document,ff,this.j,this))};var lf; -function mf(){var b=x.MessageChannel;"undefined"===typeof b&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!W("Presto")&&(b=function(){var b=document.createElement("IFRAME");b.style.display="none";b.src="";document.documentElement.appendChild(b);var c=b.contentWindow,b=c.document;b.open();b.write("");b.close();var d="callImmediate"+Math.random(),e="file:"==c.location.protocol?"*":c.location.protocol+"//"+c.location.host,b=ma(function(b){if(("*"==e||b.origin==e)&&b.data== -d)this.port1.onmessage()},this);c.addEventListener("message",b,!1);this.port1={};this.port2={postMessage:function(){c.postMessage(d,e)}}});if("undefined"!==typeof b&&!W("Trident")&&!W("MSIE")){var c=new b,d={},e=d;c.port1.onmessage=function(){if(void 0!==d.next){d=d.next;var b=d.pc;d.pc=null;b()}};return function(b){e.next={pc:b};e=e.next;c.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(b){var c=document.createElement("SCRIPT"); -c.onreadystatechange=function(){c.onreadystatechange=null;c.parentNode.removeChild(c);c=null;b();b=null};document.documentElement.appendChild(c)}:function(b){x.setTimeout(b,0)}};function nf(b,c,d){S.call(this,b);this.a=c;b=d?d:{};this.buttons=of(b);this.pressure=pf(b,this.buttons);this.bubbles="bubbles"in b?b.bubbles:!1;this.cancelable="cancelable"in b?b.cancelable:!1;this.view="view"in b?b.view:null;this.detail="detail"in b?b.detail:null;this.screenX="screenX"in b?b.screenX:0;this.screenY="screenY"in b?b.screenY:0;this.clientX="clientX"in b?b.clientX:0;this.clientY="clientY"in b?b.clientY:0;this.button="button"in b?b.button:0;this.relatedTarget="relatedTarget"in b?b.relatedTarget: -null;this.pointerId="pointerId"in b?b.pointerId:0;this.width="width"in b?b.width:0;this.height="height"in b?b.height:0;this.pointerType="pointerType"in b?b.pointerType:"";this.isPrimary="isPrimary"in b?b.isPrimary:!1;c.preventDefault&&(this.preventDefault=function(){c.preventDefault()})}M(nf,S);function of(b){if(b.buttons||qf)b=b.buttons;else switch(b.which){case 1:b=1;break;case 2:b=4;break;case 3:b=2;break;default:b=0}return b}function pf(b,c){var d=0;b.pressure?d=b.pressure:d=c?.5:0;return d} -var qf=!1;try{qf=1===(new MouseEvent("click",{buttons:1})).buttons}catch(b){};function rf(b,c){var d=document.createElement("CANVAS");b&&(d.width=b);c&&(d.height=c);return d.getContext("2d")} -var sf=function(){var b;return function(){if(void 0===b){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=x.getComputedStyle(c).getPropertyValue(e[f]));document.body.removeChild(c);b=d&&"none"!==d}return b}}(),tf=function(){var b;return function(){if(void 0===b){var c=document.createElement("P"), +c.rotation=void 0!==b.rotation?b.rotation:0;this.l(c)}M(Wc,U);n=Wc.prototype;n.constrainResolution=function(b,c,d){return this.a.resolution(b,c||0,d||0)};n.constrainRotation=function(b,c){return this.a.rotation(b,c||0)};n.ga=function(){return this.get("center")};n.dc=function(b){var c=this.ga(),d=this.J(),e=Xc(this);return Yb(c,d,e,b)};n.ae=function(){return this.h};n.J=function(){return this.get("resolution")};function Yc(b,c){return Math.max(Ub(b)/c[0],Vb(b)/c[1])} +function Xc(b){return b.get("rotation")}n.N=function(){var b=this.ga(),c=this.h,d=this.J(),e=Xc(this);return{center:[Math.round(b[0]/d)*d,Math.round(b[1]/d)*d],projection:void 0!==c?c:null,resolution:d,rotation:e}};n.kd=function(){var b,c=this.J();if(void 0!==c){var d,e=0;do{d=this.constrainResolution(this.b,e);if(d==c){b=e;break}++e}while(d>this.i)}return void 0!==b?this.c+b:b}; +n.fd=function(b,c,d){if(!(b instanceof Ac)){var e=b[0],f=b[1],g=b[2],h=b[3],e=[e,f,e,h,g,h,g,f,e,f],f=new Sc(null);Tc(f,"XY",e,[e.length]);b=f}e=d||{};d=void 0!==e.padding?e.padding:[0,0,0,0];var h=void 0!==e.constrainResolution?e.constrainResolution:!0,f=void 0!==e.nearest?e.nearest:!1,k;void 0!==e.minResolution?k=e.minResolution:void 0!==e.maxZoom?k=this.constrainResolution(this.b,e.maxZoom-this.c,0):k=0;var l=b.a,g=Xc(this),e=Math.cos(-g),g=Math.sin(-g),m=Infinity,p=Infinity,q=-Infinity,r=-Infinity; +b=b.b;for(var u=0,w=l.length;u<w;u+=b)var y=l[u]*e-l[u+1]*g,z=l[u]*g+l[u+1]*e,m=Math.min(m,y),p=Math.min(p,z),q=Math.max(q,y),r=Math.max(r,z);c=Yc([m,p,q,r],[c[0]-d[1]-d[3],c[1]-d[0]-d[2]]);c=isNaN(c)?k:Math.max(c,k);h&&(k=this.constrainResolution(c,0,0),!f&&k<c&&(k=this.constrainResolution(k,-1,0)),c=k);Zc(this,c);g=-g;k=(m+q)/2+(d[1]-d[3])/2*c;c=(p+r)/2+(d[0]-d[2])/2*c;this.ma([k*e-c*g,c*e+k*g])}; +n.rotate=function(b,c){if(void 0!==c){var d,e=this.ga();void 0!==e&&(d=[e[0]-c[0],e[1]-c[1]],ub(d,b-Xc(this)),tb(d,c));this.ma(d)}this.set("rotation",b)};n.ma=function(b){this.set("center",b)};function $c(b,c){b.g[1]+=c}function Zc(b,c){b.set("resolution",c)}n.ue=function(b){b=this.constrainResolution(this.b,b-this.c,0);Zc(this,b)};function ad(b){return 1-Math.pow(1-b,3)}function bd(b){return 3*b*b-2*b*b*b}function cd(b){return b};function dd(b){var c=b.source,d=b.start?b.start:Date.now(),e=c[0],f=c[1],g=void 0!==b.duration?b.duration:1E3,h=b.easing?b.easing:bd;return function(b,c){if(c.time<d)return c.animate=!0,c.viewHints[0]+=1,!0;if(c.time<d+g){var m=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]+=m*p;c.viewState.center[1]+=m*q;c.viewHints[0]+=1;return!0}return!1}} +function ed(b){var c=b.rotation?b.rotation:0,d=b.start?b.start:Date.now(),e=void 0!==b.duration?b.duration:1E3,f=b.easing?b.easing:bd,g=b.anchor?b.anchor:null;return function(b,k){if(k.time<d)return k.animate=!0,k.viewHints[0]+=1,!0;if(k.time<d+e){var l=1-f((k.time-d)/e),l=(c-k.viewState.rotation)*l;k.animate=!0;k.viewState.rotation+=l;if(g){var m=k.viewState.center;m[0]-=g[0];m[1]-=g[1];ub(m,l);tb(m,g)}k.viewHints[0]+=1;return!0}return!1}} +function fd(b){var c=b.resolution,d=b.start?b.start:Date.now(),e=void 0!==b.duration?b.duration:1E3,f=b.easing?b.easing:bd;return function(b,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),l=c-h.viewState.resolution;h.animate=!0;h.viewState.resolution+=k*l;h.viewHints[0]+=1;return!0}return!1}};function gd(b,c,d,e){this.a=b;this.b=c;this.f=d;this.c=e}function hd(b,c,d){return b.a<=c&&c<=b.b&&b.f<=d&&d<=b.c}function id(b,c){return b.a==c.a&&b.f==c.f&&b.b==c.b&&b.c==c.c}function jd(b,c){return b.a<=c.b&&b.b>=c.a&&b.f<=c.c&&b.c>=c.f};function kd(b){this.b=b.html;this.a=b.tileRanges?b.tileRanges:null};function ld(b,c,d){S.call(this,b,d);this.element=c}M(ld,S);function md(b){U.call(this);this.a=b?b:[];nd(this)}M(md,U);n=md.prototype;n.clear=function(){for(;0<this.get("length");)this.pop()};function od(b,c,d){b.a.forEach(c,d)}n.item=function(b){return this.a[b]};n.pop=function(){return pd(this,this.get("length")-1)};n.push=function(b){var c=this.a.length;this.a.splice(c,0,b);nd(this);T(this,new ld("add",b,this));return c}; +n.remove=function(b){var c=this.a,d,e;d=0;for(e=c.length;d<e;++d)if(c[d]===b)return pd(this,d)};function pd(b,c){var d=b.a[c];b.a.splice(c,1);nd(b);T(b,new ld("remove",d,b));return d}function nd(b){b.set("length",b.a.length)};function qd(b,c){Array.prototype.forEach.call(b,c,void 0)}function rd(b){var c=b.length;if(0<c){for(var d=Array(c),e=0;e<c;e++)d[e]=b[e];return d}return[]}function sd(b,c,d){return 2>=arguments.length?Array.prototype.slice.call(b,c):Array.prototype.slice.call(b,c,d)};var td=/^#(?:[0-9a-f]{3}){1,2}$/i,ud=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,vd=/^(?: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 wd(b){if("string"!==typeof b){var c=b[0];c!=(c|0)&&(c=c+.5|0);var d=b[1];d!=(d|0)&&(d=d+.5|0);var e=b[2];e!=(e|0)&&(e=e+.5|0);b="rgba("+c+","+d+","+e+","+(void 0===b[3]?1:b[3])+")"}return b} +var yd=function(){var b={},c=0;return function(d){var e;if(b.hasOwnProperty(d))e=b[d];else{if(1024<=c){e=0;for(var f in b)0===(e++&3)&&(delete b[f],--c)}var g,h;td.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=vd.exec(d))?(e=Number(h[1]),f=Number(h[2]),g=Number(h[3]),h=Number(h[4]),e=[e,f,g,h],e=xd(e,e)):(h=ud.exec(d))?(e=Number(h[1]),f=Number(h[2]),g=Number(h[3]), +e=[e,f,g,1],e=xd(e,e)):e=void 0;b[d]=e;++c}return e}}();function xd(b,c){var d=c||[];d[0]=Ba(b[0]+.5|0,0,255);d[1]=Ba(b[1]+.5|0,0,255);d[2]=Ba(b[2]+.5|0,0,255);d[3]=Ba(b[3],0,1);return d};function zd(b){return"string"===typeof b||b instanceof CanvasPattern||b instanceof CanvasGradient?b:wd(b)};var Ad;a:{var Bd=x.navigator;if(Bd){var Cd=Bd.userAgent;if(Cd){Ad=Cd;break a}}Ad=""}function W(b){return-1!=Ad.indexOf(b)};function Dd(b,c){for(var d in b)c.call(void 0,b[d],d,b)}var Ed="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Fd(b,c){for(var d,e,f=1;f<arguments.length;f++){e=arguments[f];for(d in e)b[d]=e[d];for(var g=0;g<Ed.length;g++)d=Ed[g],Object.prototype.hasOwnProperty.call(e,d)&&(b[d]=e[d])}};var Gd=W("Opera")||W("OPR"),Hd=W("Trident")||W("MSIE"),Id=W("Edge"),Jd=W("Gecko")&&!(-1!=Ad.toLowerCase().indexOf("webkit")&&!W("Edge"))&&!(W("Trident")||W("MSIE"))&&!W("Edge"),Kd=-1!=Ad.toLowerCase().indexOf("webkit")&&!W("Edge");function Ld(){var b=x.document;return b?b.documentMode:void 0}var Md; +a:{var Nd="",Od=function(){var b=Ad;if(Jd)return/rv\:([^\);]+)(\)|;)/.exec(b);if(Id)return/Edge\/([\d\.]+)/.exec(b);if(Hd)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(b);if(Kd)return/WebKit\/(\S+)/.exec(b);if(Gd)return/(?:Version)[ \/]?(\S+)/.exec(b)}();Od&&(Nd=Od?Od[1]:"");if(Hd){var Pd=Ld();if(null!=Pd&&Pd>parseFloat(Nd)){Md=String(Pd);break a}}Md=Nd}var Qd={}; +function Rd(b){var c;if(!(c=Qd[b])){c=0;for(var d=qa(String(Md)).split("."),e=qa(String(b)).split("."),f=Math.max(d.length,e.length),g=0;0==c&&g<f;g++){var h=d[g]||"",k=e[g]||"",l=RegExp("(\\d*)(\\D*)","g"),m=RegExp("(\\d*)(\\D*)","g");do{var p=l.exec(h)||["","",""],q=m.exec(k)||["","",""];if(0==p[0].length&&0==q[0].length)break;c=Aa(0==p[1].length?0:parseInt(p[1],10),0==q[1].length?0:parseInt(q[1],10))||Aa(0==p[2].length,0==q[2].length)||Aa(p[2],q[2])}while(0==c)}c=Qd[b]=0<=c}return c} +var Sd=x.document,Td=Sd&&Hd?Ld()||("CSS1Compat"==Sd.compatMode?parseInt(Md,10):5):void 0;var Ud=!Hd||9<=Number(Td);!Jd&&!Hd||Hd&&9<=Number(Td)||Jd&&Rd("1.9.1");Hd&&Rd("9");function Vd(b,c){this.x=void 0!==b?b:0;this.y=void 0!==c?c:0}n=Vd.prototype;n.clone=function(){return new Vd(this.x,this.y)};n.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};n.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};n.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};n.scale=function(b,c){var d=ea(c)?c:b;this.x*=b;this.y*=d;return this};function Wd(b,c){this.width=b;this.height=c}n=Wd.prototype;n.clone=function(){return new Wd(this.width,this.height)};n.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};n.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};n.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};n.scale=function(b,c){var d=ea(c)?c:b;this.width*=b;this.height*=d;return this};function Xd(b){return b?new Yd(Zd(b)):pa||(pa=new Yd)}function $d(b){var c=document;return da(b)?c.getElementById(b):b}function ae(b,c){Dd(c,function(c,e){"style"==e?b.style.cssText=c:"class"==e?b.className=c:"for"==e?b.htmlFor=c:be.hasOwnProperty(e)?b.setAttribute(be[e],c):0==e.lastIndexOf("aria-",0)||0==e.lastIndexOf("data-",0)?b.setAttribute(e,c):b[e]=c})} +var be={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 ce(b,c,d){var e=arguments,f=document,g=e[0],h=e[1];if(!Ud&&h&&(h.name||h.type)){g=["<",g];h.name&&g.push(' name="',sa(h.name),'"');if(h.type){g.push(' type="',sa(h.type),'"');var k={};Fd(k,h);delete k.type;h=k}g.push(">");g=g.join("")}g=f.createElement(g);h&&(da(h)?g.className=h:"array"==ba(h)?g.className=h.join(" "):ae(g,h));2<e.length&&de(f,g,e);return g} +function de(b,c,d){function e(d){d&&c.appendChild(da(d)?b.createTextNode(d):d)}for(var f=2;f<d.length;f++){var g=d[f];!ca(g)||ha(g)&&0<g.nodeType?e(g):qd(ee(g)?rd(g):g,e)}}function fe(b){for(var c;c=b.firstChild;)b.removeChild(c)}function ge(b,c,d){b.insertBefore(c,b.childNodes[d]||null)}function he(b){b&&b.parentNode&&b.parentNode.removeChild(b)}function ie(b,c){var d=c.parentNode;d&&d.replaceChild(b,c)} +function je(b,c){if(!b||!c)return!1;if(b.contains&&1==c.nodeType)return b==c||b.contains(c);if("undefined"!=typeof b.compareDocumentPosition)return b==c||!!(b.compareDocumentPosition(c)&16);for(;c&&b!=c;)c=c.parentNode;return c==b}function Zd(b){return 9==b.nodeType?b:b.ownerDocument||b.document}function ee(b){if(b&&"number"==typeof b.length){if(ha(b))return"function"==typeof b.item||"string"==typeof b.item;if(ga(b))return"function"==typeof b.item}return!1} +function Yd(b){this.a=b||x.document||document}Yd.prototype.appendChild=function(b,c){b.appendChild(c)};function ke(b,c,d,e){this.top=b;this.right=c;this.bottom=d;this.left=e}n=ke.prototype;n.clone=function(){return new ke(this.top,this.right,this.bottom,this.left)};n.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};n.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this}; +n.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};n.scale=function(b,c){var d=ea(c)?c:b;this.left*=b;this.right*=b;this.top*=d;this.bottom*=d;return this};function le(b,c){var d=Zd(b);return d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(b,null))?d[c]||d.getPropertyValue(c)||"":""}function me(b){var c;try{c=b.getBoundingClientRect()}catch(d){return{left:0,top:0,right:0,bottom:0}}Hd&&b.ownerDocument.body&&(b=b.ownerDocument,c.left-=b.documentElement.clientLeft+b.body.clientLeft,c.top-=b.documentElement.clientTop+b.body.clientTop);return c} +function ne(b){var c=oe;if("none"!=(le(b,"display")||(b.currentStyle?b.currentStyle.display:null)||b.style&&b.style.display))return c(b);var d=b.style,e=d.display,f=d.visibility,g=d.position;d.visibility="hidden";d.position="absolute";d.display="inline";b=c(b);d.display=e;d.position=g;d.visibility=f;return b}function oe(b){var c=b.offsetWidth,d=b.offsetHeight,e=Kd&&!c&&!d;return(void 0===c||e)&&b.getBoundingClientRect?(b=me(b),new Wd(b.right-b.left,b.bottom-b.top)):new Wd(c,d)} +function pe(b,c){b.style.display=c?"":"none"}function qe(b,c,d,e){if(/^\d+px?$/.test(c))return parseInt(c,10);var f=b.style[d],g=b.runtimeStyle[d];b.runtimeStyle[d]=b.currentStyle[d];b.style[d]=c;c=b.style[e];b.style[d]=f;b.runtimeStyle[d]=g;return c}function re(b,c){var d=b.currentStyle?b.currentStyle[c]:null;return d?qe(b,d,"left","pixelLeft"):0}var se={thin:2,medium:4,thick:6}; +function te(b,c){if("none"==(b.currentStyle?b.currentStyle[c+"Style"]:null))return 0;var d=b.currentStyle?b.currentStyle[c+"Width"]:null;return d in se?se[d]:qe(b,d,"left","pixelLeft")};function ue(b,c,d){S.call(this,b);this.map=c;this.frameState=void 0!==d?d:null}M(ue,S);function ve(b){U.call(this);this.element=b.element?b.element:null;this.c=this.A=null;this.h=[];this.render=b.render?b.render:N;b.target&&(this.A=$d(b.target))}M(ve,U);ve.prototype.K=function(){he(this.element);ve.Y.K.call(this)};ve.prototype.setMap=function(b){this.c&&he(this.element);for(var c=0,d=this.h.length;c<d;++c)P(this.h[c]);this.h.length=0;if(this.c=b)(this.A?this.A:b.j).appendChild(this.element),this.render!==N&&this.h.push(R(b,"postrender",this.render,this)),b.render()};function we(){this.f=0;this.c={};this.b=this.a=null}n=we.prototype;n.clear=function(){this.f=0;this.c={};this.b=this.a=null};function xe(b,c){return b.c.hasOwnProperty(c)}function ye(b,c){for(var d=b.a;d;)c.call(void 0,d.Ba,d.Kb,b),d=d.ja}n.get=function(b){b=this.c[b];if(b===this.b)return b.Ba;b===this.a?(this.a=this.a.ja,this.a.Ia=null):(b.ja.Ia=b.Ia,b.Ia.ja=b.ja);b.ja=null;b.Ia=this.b;this.b=this.b.ja=b;return b.Ba}; +n.pop=function(){var b=this.a;delete this.c[b.Kb];b.ja&&(b.ja.Ia=null);this.a=b.ja;this.a||(this.b=null);--this.f;return b.Ba};n.replace=function(b,c){this.get(b);this.c[b].Ba=c};n.set=function(b,c){var d={Kb:b,ja:null,Ia:this.b,Ba:c};this.b?this.b.ja=d:this.a=d;this.b=d;this.c[b]=d;++this.f};function ze(b){we.call(this);this.g=void 0!==b?b:2048}M(ze,we);function Ae(b){return b.f>b.g}function Be(b,c){for(var d,e;Ae(b);){d=b.a.Ba;e=d.L[0].toString();var f;if(f=e in c)d=d.L,f=hd(c[e],d[1],d[2]);if(f)break;else ib(b.pop())}};function Ce(b,c){lb.call(this);this.L=b;this.state=c;this.a=null;this.key=""}M(Ce,lb);function De(b){T(b,"change")}Ce.prototype.getKey=function(){return I(this).toString()};Ce.prototype.N=function(){return this.state};function Ee(b){U.call(this);this.c=kc(b.projection);this.i=Fe(b.attributions);this.v=b.logo;this.A=void 0!==b.state?b.state:"ready";this.j=void 0!==b.wrapX?b.wrapX:!1}M(Ee,U);function Fe(b){if("string"===typeof b)return[new kd({html:b})];if(b instanceof kd)return[b];if(Array.isArray(b)){for(var c=b.length,d=Array(c),e=0;e<c;e++){var f=b[e];d[e]="string"===typeof f?new kd({html:f}):f}return d}return null}Ee.prototype.N=function(){return this.A};Ee.prototype.ra=function(){this.w()};function Ge(b){this.minZoom=void 0!==b.minZoom?b.minZoom:0;this.b=b.resolutions;this.maxZoom=this.b.length-1;this.f=void 0!==b.origin?b.origin:null;this.g=null;void 0!==b.origins&&(this.g=b.origins);var c=b.extent;void 0===c||this.f||this.g||(this.f=ac(c));this.h=null;void 0!==b.tileSizes&&(this.h=b.tileSizes);this.l=void 0!==b.tileSize?b.tileSize:this.h?null:256;this.i=void 0!==c?c:null;this.a=null;void 0!==b.sizes?this.a=b.sizes.map(function(b){return new gd(Math.min(0,b[0]),Math.max(b[0]-1,-1), +Math.min(0,b[1]),Math.max(b[1]-1,-1))},this):c&&He(this,c);this.c=[0,0]}var Ie=[0,0,0];function Je(b,c,d,e,f){f=Ke(b,c,f);for(c=c[0]-1;c>=b.minZoom;){if(d.call(null,c,Le(b,f,c,e)))return!0;--c}return!1}Ge.prototype.C=function(){return this.i};Ge.prototype.fa=function(b){return this.f?this.f:this.g[b]};Ge.prototype.J=function(b){return this.b[b]};Ge.prototype.Gb=function(){return this.b};function Me(b,c,d,e){return c[0]<b.maxZoom?(e=Ke(b,c,e),Le(b,e,c[0]+1,d)):null} +function Ne(b,c,d,e){Oe(b,c[0],c[1],d,!1,Ie);var f=Ie[1],g=Ie[2];Oe(b,c[2],c[3],d,!0,Ie);b=Ie[1];c=Ie[2];void 0!==e?(e.a=f,e.b=b,e.f=g,e.c=c):e=new gd(f,b,g,c);return e}function Le(b,c,d,e){d=b.J(d);return Ne(b,c,d,e)}function Pe(b,c){var d=b.fa(c[0]),e=b.J(c[0]),f=sb(Qe(b,c[0]),b.c);return[d[0]+(c[1]+.5)*f[0]*e,d[1]+(c[2]+.5)*f[1]*e]}function Ke(b,c,d){var e=b.fa(c[0]),f=b.J(c[0]);b=sb(Qe(b,c[0]),b.c);var g=e[0]+c[1]*b[0]*f;c=e[1]+c[2]*b[1]*f;return Nb(g,c,g+b[0]*f,c+b[1]*f,d)} +function Oe(b,c,d,e,f,g){var h=Re(b,e),k=e/b.J(h),l=b.fa(h);b=sb(Qe(b,h),b.c);c=k*Math.floor((c-l[0])/e+(f?.5:0))/b[0];d=k*Math.floor((d-l[1])/e+(f?0:.5))/b[1];f?(c=Math.ceil(c)-1,d=Math.ceil(d)-1):(c=Math.floor(c),d=Math.floor(d));f=c;void 0!==g?(g[0]=h,g[1]=f,g[2]=d):g=[h,f,d];return g}function Se(b,c,d){d=b.J(d);return Oe(b,c[0],c[1],d,!1,void 0)}function Qe(b,c){return b.l?b.l:b.h[c]}function Re(b,c){var d=Ha(b.b,c,0);return Ba(d,b.minZoom,b.maxZoom)} +function He(b,c){for(var d=b.b.length,e=Array(d),f=b.minZoom;f<d;++f)e[f]=Le(b,c,f);b.a=e}function Te(b){var c=b.c;if(!c){var c=Ue(b),d=Ve(c,void 0,void 0),c=new Ge({extent:c,origin:ac(c),resolutions:d,tileSize:void 0});b.c=c}return c}function Ve(b,c,d){c=void 0!==c?c:42;var e=Vb(b);b=Ub(b);d=sb(void 0!==d?d:256);d=Math.max(b/d[0],e/d[1]);c+=1;e=Array(c);for(b=0;b<c;++b)e[b]=d/Math.pow(2,b);return e}function Ue(b){b=kc(b);var c=b.C();c||(b=180*gc.degrees/oc(b),c=Nb(-b,-b,b,b));return c};function We(b){Ee.call(this,{attributions:b.attributions,extent:b.extent,logo:b.logo,projection:b.projection,state:b.state,wrapX:b.wrapX});this.G=void 0!==b.opaque?b.opaque:!1;this.Z=void 0!==b.tilePixelRatio?b.tilePixelRatio:1;this.tileGrid=void 0!==b.tileGrid?b.tileGrid:null;this.a=new ze(b.cacheSize);this.h=[0,0]}M(We,Ee);n=We.prototype;n.Gc=function(){return Ae(this.a)};n.Hc=function(b,c){var d=this.Ua(b);d&&Be(d,c)}; +function Xe(b,c,d,e,f){c=b.Ua(c);if(!c)return!1;for(var g=!0,h,k,l=e.a;l<=e.b;++l)for(var m=e.f;m<=e.c;++m)h=b.cb(d,l,m),k=!1,xe(c,h)&&(h=c.get(h),(k=2===h.N())&&(k=!1!==f(h))),k||(g=!1);return g}n.bb=function(){return 0};n.cb=function(b,c,d){return b+"/"+c+"/"+d};n.Fb=function(){return this.G};n.Gb=function(){return this.tileGrid.Gb()};n.ia=function(b){return this.tileGrid?this.tileGrid:Te(b)};n.Ua=function(b){var c=this.c;return c&&!vc(c,b)?null:this.a};n.eb=function(){return this.Z}; +function Ye(b,c,d,e){e=b.ia(e);d=b.eb(d);c=sb(Qe(e,c),b.h);return 1==d?c:rb(c,d,b.h)}function Ze(b,c,d){var e=void 0!==d?d:b.c;d=b.ia(e);if(b.j&&e.f){var f=c;c=f[0];b=Pe(d,f);var e=Ue(e),g=b[0],h=b[1];e[0]<=g&&g<=e[2]&&e[1]<=h&&h<=e[3]?c=f:(f=Ub(e),b[0]+=f*Math.ceil((e[0]-b[0])/f),c=Se(d,b,c))}e=c[0];b=c[1];f=c[2];d=d.minZoom>e||e>d.maxZoom?!1:(d=(g=d.C())?Le(d,g,e):d.a?d.a[e]:null)?hd(d,b,f):!0;return d?c:null}n.ra=function(){this.a.clear();this.w()};n.Qc=N; +function $e(b,c){S.call(this,b);this.tile=c}M($e,S);function af(b){b=b?b:{};this.s=document.createElement("UL");this.j=document.createElement("LI");this.s.appendChild(this.j);pe(this.j,!1);this.g=void 0!==b.collapsed?b.collapsed:!0;this.i=void 0!==b.collapsible?b.collapsible:!0;this.i||(this.g=!1);var c=void 0!==b.className?b.className:"ol-attribution",d=void 0!==b.tipLabel?b.tipLabel:"Attributions",e=void 0!==b.collapseLabel?b.collapseLabel:"\u00bb";this.u="string"===typeof e?ce("SPAN",{},e):e;e=void 0!==b.label?b.label:"i";this.v="string"===typeof e? +ce("SPAN",{},e):e;d=ce("BUTTON",{type:"button",title:d},this.i&&!this.g?this.u:this.v);R(d,"click",this.G,this);c=ce("DIV",c+" ol-unselectable ol-control"+(this.g&&this.i?" ol-collapsed":"")+(this.i?"":" ol-uncollapsible"),this.s,d);ve.call(this,{element:c,render:b.render?b.render:bf,target:b.target});this.o=!0;this.b={};this.a={};this.D={}}M(af,ve); +function bf(b){if(b=b.frameState){var c,d,e,f,g,h,k,l,m,p,q,r=b.layerStatesArray,u=Va({},b.attributions),w={},y=b.viewState.projection;d=0;for(c=r.length;d<c;d++)if(h=r[d].layer.W())if(p=I(h).toString(),m=h.i)for(e=0,f=m.length;e<f;e++)if(k=m[e],l=I(k).toString(),!(l in u)){if(g=b.usedTiles[p]){var z=h.ia(y);a:{q=k;var D=y;if(q.a){var t=void 0,v=void 0,B=void 0,F=void 0;for(F in g)if(F in q.a)for(var B=g[F],C,t=0,v=q.a[F].length;t<v;++t){C=q.a[F][t];if(jd(C,B)){q=!0;break a}var G=Le(z,Ue(D),parseInt(F, +10)),J=G.b-G.a+1;if(B.a<G.a||B.b>G.b)if(jd(C,new gd(Da(B.a,J),Da(B.b,J),B.f,B.c))||B.b-B.a+1>J&&jd(C,G)){q=!0;break a}}q=!1}else q=!0}}else q=!1;q?(l in w&&delete w[l],u[l]=k):w[l]=k}c=[u,w];d=c[0];c=c[1];for(var A in this.b)A in d?(this.a[A]||(pe(this.b[A],!0),this.a[A]=!0),delete d[A]):A in c?(this.a[A]&&(pe(this.b[A],!1),delete this.a[A]),delete c[A]):(he(this.b[A]),delete this.b[A],delete this.a[A]);for(A in d)e=document.createElement("LI"),e.innerHTML=d[A].b,this.s.appendChild(e),this.b[A]=e, +this.a[A]=!0;for(A in c)e=document.createElement("LI"),e.innerHTML=c[A].b,pe(e,!1),this.s.appendChild(e),this.b[A]=e;A=!Za(this.a)||!Za(b.logos);this.o!=A&&(pe(this.element,A),this.o=A);A&&Za(this.a)?this.element.classList.add("ol-logo-only"):this.element.classList.remove("ol-logo-only");var H;b=b.logos;A=this.D;for(H in A)H in b||(he(A[H]),delete A[H]);for(var O in b)O in A||(H=new Image,H.src=O,d=b[O],""===d?d=H:(d=ce("A",{href:d}),d.appendChild(H)),this.j.appendChild(d),A[O]=d);pe(this.j,!Za(b))}else this.o&& +(pe(this.element,!1),this.o=!1)}af.prototype.G=function(b){b.preventDefault();this.element.classList.toggle("ol-collapsed");this.g?ie(this.u,this.v):ie(this.v,this.u);this.g=!this.g};function cf(b){b=b?b:{};var c=void 0!==b.className?b.className:"ol-rotate",d=void 0!==b.label?b.label:"\u21e7";this.a=null;"string"===typeof d?this.a=ce("SPAN","ol-compass",d):(this.a=d,this.a.classList.add(this.a,"ol-compass"));d=ce("BUTTON",{"class":c+"-reset",type:"button",title:b.tipLabel?b.tipLabel:"Reset rotation"},this.a);R(d,"click",cf.prototype.o,this);c=ce("DIV",c+" ol-unselectable ol-control",d);d=b.render?b.render:df;this.g=b.resetNorth?b.resetNorth:void 0;ve.call(this,{element:c,render:d, +target:b.target});this.i=void 0!==b.duration?b.duration:250;this.b=void 0!==b.autoHide?b.autoHide:!0;this.j=void 0;this.b&&this.element.classList.add("ol-hidden")}M(cf,ve);cf.prototype.o=function(b){b.preventDefault();if(void 0!==this.g)this.g();else{b=this.c;var c=b.O();if(c){var d=Xc(c);void 0!==d&&(0<this.i&&(d%=2*Math.PI,d<-Math.PI&&(d+=2*Math.PI),d>Math.PI&&(d-=2*Math.PI),b.ea(ed({rotation:d,duration:this.i,easing:ad}))),c.set("rotation",0))}}}; +function df(b){if(b=b.frameState){b=b.viewState.rotation;if(b!=this.j){var c="rotate("+b+"rad)";if(this.b){var d=this.element.classList.contains("ol-hidden");d||0!==b?d&&0!==b&&this.element.classList.remove("ol-hidden"):this.element.classList.add("ol-hidden")}this.a.style.msTransform=c;this.a.style.webkitTransform=c;this.a.style.transform=c}this.j=b}};function ef(b){b=b?b:{};var c=void 0!==b.className?b.className:"ol-zoom",d=void 0!==b.delta?b.delta:1,e=void 0!==b.zoomOutLabel?b.zoomOutLabel:"\u2212",f=void 0!==b.zoomOutTipLabel?b.zoomOutTipLabel:"Zoom out",g=ce("BUTTON",{"class":c+"-in",type:"button",title:void 0!==b.zoomInTipLabel?b.zoomInTipLabel:"Zoom in"},void 0!==b.zoomInLabel?b.zoomInLabel:"+");R(g,"click",na(ef.prototype.b,d),this);e=ce("BUTTON",{"class":c+"-out",type:"button",title:f},e);R(e,"click",na(ef.prototype.b,-d),this);c=ce("DIV", +c+" ol-unselectable ol-control",g,e);ve.call(this,{element:c,target:b.target});this.a=void 0!==b.duration?b.duration:250}M(ef,ve);ef.prototype.b=function(b,c){c.preventDefault();var d=this.c,e=d.O();if(e){var f=e.J();f&&(0<this.a&&d.ea(fd({resolution:f,duration:this.a,easing:ad})),d=e.constrainResolution(f,b),Zc(e,d))}};function ff(b){b=b?b:{};var c=new md;(void 0!==b.zoom?b.zoom:1)&&c.push(new ef(b.zoomOptions));(void 0!==b.rotate?b.rotate:1)&&c.push(new cf(b.rotateOptions));(void 0!==b.attribution?b.attribution:1)&&c.push(new af(b.attributionOptions));return c};var gf=Kd?"webkitfullscreenchange":Jd?"mozfullscreenchange":Hd?"MSFullscreenChange":"fullscreenchange";function hf(){var b=Xd().a,c=b.body;return!!(c.webkitRequestFullscreen||c.mozRequestFullScreen&&b.mozFullScreenEnabled||c.msRequestFullscreen&&b.msFullscreenEnabled||c.requestFullscreen&&b.fullscreenEnabled)} +function jf(b){b.webkitRequestFullscreen?b.webkitRequestFullscreen():b.mozRequestFullScreen?b.mozRequestFullScreen():b.msRequestFullscreen?b.msRequestFullscreen():b.requestFullscreen&&b.requestFullscreen()}function kf(){var b=Xd().a;return!!(b.webkitIsFullScreen||b.mozFullScreen||b.msFullscreenElement||b.fullscreenElement)};function lf(b){b=b?b:{};this.a=void 0!==b.className?b.className:"ol-full-screen";var c=void 0!==b.label?b.label:"\u2922";this.b="string"===typeof c?document.createTextNode(c):c;c=void 0!==b.labelActive?b.labelActive:"\u00d7";this.g="string"===typeof c?document.createTextNode(c):c;c=b.tipLabel?b.tipLabel:"Toggle full-screen";c=ce("BUTTON",{"class":this.a+"-"+kf(),type:"button",title:c},this.b);R(c,"click",this.s,this);var d=this.a+" ol-unselectable ol-control "+(hf()?"":"ol-unsupported"),c=ce("DIV", +d,c);ve.call(this,{element:c,target:b.target});this.o=void 0!==b.keys?b.keys:!1;this.i=b.source}M(lf,ve); +lf.prototype.s=function(b){b.preventDefault();hf()&&(b=this.c)&&(kf()?(b=Xd().a,b.webkitCancelFullScreen?b.webkitCancelFullScreen():b.mozCancelFullScreen?b.mozCancelFullScreen():b.msExitFullscreen?b.msExitFullscreen():b.exitFullscreen&&b.exitFullscreen()):(b=this.i?$d(this.i):b.Fa(),this.o?b.mozRequestFullScreenWithKeys?b.mozRequestFullScreenWithKeys():b.webkitRequestFullscreen?b.webkitRequestFullscreen():jf(b):jf(b)))}; +lf.prototype.j=function(){var b=this.element.firstElementChild,c=this.c;kf()?(b.className=this.a+"-true",ie(this.g,this.b)):(b.className=this.a+"-false",ie(this.b,this.g));c&&c.nb()};lf.prototype.setMap=function(b){lf.Y.setMap.call(this,b);b&&this.h.push(R(x.document,gf,this.j,this))};var mf; +function nf(){var b=x.MessageChannel;"undefined"===typeof b&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!W("Presto")&&(b=function(){var b=document.createElement("IFRAME");b.style.display="none";b.src="";document.documentElement.appendChild(b);var c=b.contentWindow,b=c.document;b.open();b.write("");b.close();var d="callImmediate"+Math.random(),e="file:"==c.location.protocol?"*":c.location.protocol+"//"+c.location.host,b=ma(function(b){if(("*"==e||b.origin==e)&&b.data== +d)this.port1.onmessage()},this);c.addEventListener("message",b,!1);this.port1={};this.port2={postMessage:function(){c.postMessage(d,e)}}});if("undefined"!==typeof b&&!W("Trident")&&!W("MSIE")){var c=new b,d={},e=d;c.port1.onmessage=function(){if(void 0!==d.next){d=d.next;var b=d.fc;d.fc=null;b()}};return function(b){e.next={fc:b};e=e.next;c.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(b){var c=document.createElement("SCRIPT"); +c.onreadystatechange=function(){c.onreadystatechange=null;c.parentNode.removeChild(c);c=null;b();b=null};document.documentElement.appendChild(c)}:function(b){x.setTimeout(b,0)}};function of(b,c,d){S.call(this,b);this.a=c;b=d?d:{};this.buttons=pf(b);this.pressure=qf(b,this.buttons);this.bubbles="bubbles"in b?b.bubbles:!1;this.cancelable="cancelable"in b?b.cancelable:!1;this.view="view"in b?b.view:null;this.detail="detail"in b?b.detail:null;this.screenX="screenX"in b?b.screenX:0;this.screenY="screenY"in b?b.screenY:0;this.clientX="clientX"in b?b.clientX:0;this.clientY="clientY"in b?b.clientY:0;this.button="button"in b?b.button:0;this.relatedTarget="relatedTarget"in b?b.relatedTarget: +null;this.pointerId="pointerId"in b?b.pointerId:0;this.width="width"in b?b.width:0;this.height="height"in b?b.height:0;this.pointerType="pointerType"in b?b.pointerType:"";this.isPrimary="isPrimary"in b?b.isPrimary:!1;c.preventDefault&&(this.preventDefault=function(){c.preventDefault()})}M(of,S);function pf(b){if(b.buttons||rf)b=b.buttons;else switch(b.which){case 1:b=1;break;case 2:b=4;break;case 3:b=2;break;default:b=0}return b}function qf(b,c){var d=0;b.pressure?d=b.pressure:d=c?.5:0;return d} +var rf=!1;try{rf=1===(new MouseEvent("click",{buttons:1})).buttons}catch(b){};function sf(b,c){var d=document.createElement("CANVAS");b&&(d.width=b);c&&(d.height=c);return d.getContext("2d")} +var tf=function(){var b;return function(){if(void 0===b){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=x.getComputedStyle(c).getPropertyValue(e[f]));document.body.removeChild(c);b=d&&"none"!==d}return b}}(),uf=function(){var b;return function(){if(void 0===b){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=x.getComputedStyle(c).getPropertyValue(e[f]));document.body.removeChild(c);b=d&&"none"!==d}return b}}(); -function uf(b,c){var d=b.style;d.WebkitTransform=c;d.MozTransform=c;d.a=c;d.msTransform=c;d.transform=c;Gd&&Qd("9.0")&&(b.style.transformOrigin="0 0")}function vf(b,c){var d;if(tf()){var e=Array(16);for(d=0;16>d;++d)e[d]=c[d].toFixed(6);uf(b,"matrix3d("+e.join(",")+")")}else if(sf()){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);uf(b,"matrix("+f.join(",")+")")}else b.style.left=Math.round(c[12])+"px",b.style.top=Math.round(c[13])+"px"};var wf=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function xf(b,c){var d,e,f=wf.length;for(e=0;e<f;++e)try{if(d=b.getContext(wf[e],c))return d}catch(g){}return null};var yf,zf="undefined"!==typeof navigator?navigator.userAgent.toLowerCase():"",Af=-1!==zf.indexOf("firefox"),Bf=-1!==zf.indexOf("safari")&&-1===zf.indexOf("chrom"),Cf=-1!==zf.indexOf("macintosh"),Df=x.devicePixelRatio||1,Ef=!1,Ff=function(){if(!("HTMLCanvasElement"in x))return!1;try{var b=rf();return b?(void 0!==b.setLineDash&&(Ef=!0),!0):!1}catch(c){return!1}}(),Gf="ontouchstart"in x,Hf="PointerEvent"in x,If=!!x.navigator.msPointerEnabled,Jf=!1,Kf=[]; -if("WebGLRenderingContext"in x)try{var Lf=xf(document.createElement("CANVAS"),{failIfMajorPerformanceCaveat:!0});Lf&&(Jf=!0,Kf=Lf.getSupportedExtensions())}catch(b){}yf=Jf;oa=Kf;function Mf(b,c){this.a=b;this.g=c};function Nf(b){Mf.call(this,b,{mousedown:this.Zd,mousemove:this.$d,mouseup:this.ce,mouseover:this.be,mouseout:this.ae});this.b=b.b;this.f=[]}M(Nf,Mf);function Of(b,c){for(var d=b.f,e=c.clientX,f=c.clientY,g=0,h=d.length,k;g<h&&(k=d[g]);g++){var l=Math.abs(f-k[1]);if(25>=Math.abs(e-k[0])&&25>=l)return!0}return!1}function Pf(b){var c=Qf(b,b),d=c.preventDefault;c.preventDefault=function(){b.preventDefault();d()};c.pointerId=1;c.isPrimary=!0;c.pointerType="mouse";return c}n=Nf.prototype; -n.Zd=function(b){if(!Of(this,b)){if((1).toString()in this.b){var c=Pf(b);Rf(this.a,Sf,c,b);delete this.b[(1).toString()]}c=Pf(b);this.b[(1).toString()]=b;Rf(this.a,Tf,c,b)}};n.$d=function(b){if(!Of(this,b)){var c=Pf(b);Rf(this.a,Uf,c,b)}};n.ce=function(b){if(!Of(this,b)){var c=this.b[(1).toString()];c&&c.button===b.button&&(c=Pf(b),Rf(this.a,Vf,c,b),delete this.b[(1).toString()])}};n.be=function(b){if(!Of(this,b)){var c=Pf(b);Wf(this.a,c,b)}}; -n.ae=function(b){if(!Of(this,b)){var c=Pf(b);Xf(this.a,c,b)}};function Yf(b){Mf.call(this,b,{MSPointerDown:this.he,MSPointerMove:this.ie,MSPointerUp:this.le,MSPointerOut:this.je,MSPointerOver:this.ke,MSPointerCancel:this.ge,MSGotPointerCapture:this.ee,MSLostPointerCapture:this.fe});this.b=b.b;this.f=["","unavailable","touch","pen","mouse"]}M(Yf,Mf);function Zf(b,c){var d=c;ea(c.pointerType)&&(d=Qf(c,c),d.pointerType=b.f[c.pointerType]);return d}n=Yf.prototype;n.he=function(b){this.b[b.pointerId.toString()]=b;var c=Zf(this,b);Rf(this.a,Tf,c,b)}; -n.ie=function(b){var c=Zf(this,b);Rf(this.a,Uf,c,b)};n.le=function(b){var c=Zf(this,b);Rf(this.a,Vf,c,b);delete this.b[b.pointerId.toString()]};n.je=function(b){var c=Zf(this,b);Xf(this.a,c,b)};n.ke=function(b){var c=Zf(this,b);Wf(this.a,c,b)};n.ge=function(b){var c=Zf(this,b);Rf(this.a,Sf,c,b);delete this.b[b.pointerId.toString()]};n.fe=function(b){T(this.a,new nf("lostpointercapture",b,b))};n.ee=function(b){T(this.a,new nf("gotpointercapture",b,b))};function $f(b){Mf.call(this,b,{pointerdown:this.we,pointermove:this.xe,pointerup:this.Ae,pointerout:this.ye,pointerover:this.ze,pointercancel:this.ve,gotpointercapture:this.Ad,lostpointercapture:this.Yd})}M($f,Mf);n=$f.prototype;n.we=function(b){ag(this.a,b)};n.xe=function(b){ag(this.a,b)};n.Ae=function(b){ag(this.a,b)};n.ye=function(b){ag(this.a,b)};n.ze=function(b){ag(this.a,b)};n.ve=function(b){ag(this.a,b)};n.Yd=function(b){ag(this.a,b)};n.Ad=function(b){ag(this.a,b)};function bg(b,c){Mf.call(this,b,{touchstart:this.Ne,touchmove:this.Me,touchend:this.Le,touchcancel:this.Ke});this.b=b.b;this.l=c;this.f=void 0;this.h=0;this.c=void 0}M(bg,Mf);n=bg.prototype;n.Zc=function(){this.h=0;this.c=void 0}; -function cg(b,c,d){c=Qf(c,d);c.pointerId=d.identifier+2;c.bubbles=!0;c.cancelable=!0;c.detail=b.h;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=b.f===d.identifier;c.pointerType="touch";c.clientX=d.clientX;c.clientY=d.clientY;c.screenX=d.screenX;c.screenY=d.screenY;return c} -function dg(b,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=cg(b,c,f[h]),k.preventDefault=e,d.call(b,c,k)} -n.Ne=function(b){var c=b.touches,d=Object.keys(this.b),e=d.length;if(e>=c.length){var f=[],g,h,k;for(g=0;g<e;++g){h=d[g];k=this.b[h];var l;if(!(l=1==h))a:{l=c.length;for(var m=void 0,p=0;p<l;p++)if(m=c[p],m.identifier===h-2){l=!0;break a}l=!1}l||f.push(k.out)}for(g=0;g<f.length;++g)this.Hb(b,f[g])}c=b.changedTouches[0];d=Object.keys(this.b).length;if(0===d||1===d&&(1).toString()in this.b)this.f=c.identifier,void 0!==this.c&&x.clearTimeout(this.c);eg(this,b);this.h++;dg(this,b,this.ue)}; -n.ue=function(b,c){this.b[c.pointerId]={target:c.target,out:c,Wc:c.target};var d=this.a;c.bubbles=!0;Rf(d,fg,c,b);d=this.a;c.bubbles=!1;Rf(d,gg,c,b);Rf(this.a,Tf,c,b)};n.Me=function(b){b.preventDefault();dg(this,b,this.de)};n.de=function(b,c){var d=this.b[c.pointerId];if(d){var e=d.out,f=d.Wc;Rf(this.a,Uf,c,b);e&&f!==c.target&&(e.relatedTarget=c.target,c.relatedTarget=f,e.target=f,c.target?(Xf(this.a,e,b),Wf(this.a,c,b)):(c.target=f,c.relatedTarget=null,this.Hb(b,c)));d.out=c;d.Wc=c.target}}; -n.Le=function(b){eg(this,b);dg(this,b,this.Oe)};n.Oe=function(b,c){Rf(this.a,Vf,c,b);this.a.out(c,b);var d=this.a;c.bubbles=!1;Rf(d,hg,c,b);delete this.b[c.pointerId];c.isPrimary&&(this.f=void 0,this.c=x.setTimeout(this.Zc.bind(this),200))};n.Ke=function(b){dg(this,b,this.Hb)};n.Hb=function(b,c){Rf(this.a,Sf,c,b);this.a.out(c,b);var d=this.a;c.bubbles=!1;Rf(d,hg,c,b);delete this.b[c.pointerId];c.isPrimary&&(this.f=void 0,this.c=x.setTimeout(this.Zc.bind(this),200))}; -function eg(b,c){var d=b.l.f,e=c.changedTouches[0];if(b.f===e.identifier){var f=[e.clientX,e.clientY];d.push(f);x.setTimeout(function(){Ka(d,f)},2500)}};function ig(b){lb.call(this);this.g=b;this.b={};this.c={};this.a=[];Hf?jg(this,new $f(this)):If?jg(this,new Yf(this)):(b=new Nf(this),jg(this,b),Gf&&jg(this,new bg(this,b)));b=this.a.length;for(var c,d=0;d<b;d++)c=this.a[d],kg(this,Object.keys(c.g))}M(ig,lb);function jg(b,c){var d=Object.keys(c.g);d&&(d.forEach(function(b){var d=c.g[b];d&&(this.c[b]=d.bind(c))},b),b.a.push(c))}ig.prototype.f=function(b){var c=this.c[b.type];c&&c(b)}; -function kg(b,c){c.forEach(function(b){R(this.g,b,this.f,this)},b)}function lg(b,c){c.forEach(function(b){fb(this.g,b,this.f,this)},b)}function Qf(b,c){for(var d={},e,f=0,g=mg.length;f<g;f++)e=mg[f][0],d[e]=b[e]||c[e]||mg[f][1];return d}ig.prototype.out=function(b,c){b.bubbles=!0;Rf(this,ng,b,c)};function Xf(b,c,d){b.out(c,d);var e=c.relatedTarget;e&&ie(c.target,e)||(c.bubbles=!1,Rf(b,hg,c,d))} -function Wf(b,c,d){c.bubbles=!0;Rf(b,fg,c,d);var e=c.relatedTarget;e&&ie(c.target,e)||(c.bubbles=!1,Rf(b,gg,c,d))}function Rf(b,c,d,e){T(b,new nf(c,e,d))}function ag(b,c){T(b,new nf(c.type,c,c))}ig.prototype.K=function(){for(var b=this.a.length,c,d=0;d<b;d++)c=this.a[d],lg(this,Object.keys(c.g));ig.Y.K.call(this)}; -var Uf="pointermove",Tf="pointerdown",Vf="pointerup",fg="pointerover",ng="pointerout",gg="pointerenter",hg="pointerleave",Sf="pointercancel",mg=[["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 og(b,c,d,e,f){te.call(this,b,c,f);this.originalEvent=d;this.pixel=c.xc(d);this.coordinate=c.ua(this.pixel);this.dragging=void 0!==e?e:!1}M(og,te);og.prototype.preventDefault=function(){og.Y.preventDefault.call(this);this.originalEvent.preventDefault()};og.prototype.stopPropagation=function(){og.Y.stopPropagation.call(this);this.originalEvent.stopPropagation()};function pg(b,c,d,e,f){og.call(this,b,c,d.a,e,f);this.a=d}M(pg,og); -function qg(b){lb.call(this);this.f=b;this.h=0;this.l=!1;this.c=[];this.b=null;b=this.f.a;this.s=0;this.o={};this.g=new ig(b);this.a=null;this.i=R(this.g,Tf,this.Md,this);this.j=R(this.g,Uf,this.Ce,this)}M(qg,lb);function rg(b,c){var d;d=new pg(sg,b.f,c);T(b,d);0!==b.h?(x.clearTimeout(b.h),b.h=0,d=new pg(tg,b.f,c),T(b,d)):b.h=x.setTimeout(function(){this.h=0;var b=new pg(ug,this.f,c);T(this,b)}.bind(b),250)} -function vg(b,c){c.type==wg||c.type==xg?delete b.o[c.pointerId]:c.type==yg&&(b.o[c.pointerId]=!0);b.s=Object.keys(b.o).length}n=qg.prototype;n.Ac=function(b){vg(this,b);var c=new pg(wg,this.f,b);T(this,c);!this.l&&0===b.button&&rg(this,this.b);0===this.s&&(this.c.forEach(P),this.c.length=0,this.l=!1,this.b=null,ib(this.a),this.a=null)}; -n.Md=function(b){vg(this,b);var c=new pg(yg,this.f,b);T(this,c);this.b=b;0===this.c.length&&(this.a=new ig(document),this.c.push(R(this.a,zg,this.oe,this),R(this.a,wg,this.Ac,this),R(this.g,xg,this.Ac,this)))};n.oe=function(b){if(b.clientX!=this.b.clientX||b.clientY!=this.b.clientY){this.l=!0;var c=new pg(Ag,this.f,b,this.l);T(this,c)}b.preventDefault()};n.Ce=function(b){T(this,new pg(b.type,this.f,b,!(!this.b||b.clientX==this.b.clientX&&b.clientY==this.b.clientY)))}; -n.K=function(){this.j&&(P(this.j),this.j=null);this.i&&(P(this.i),this.i=null);this.c.forEach(P);this.c.length=0;this.a&&(ib(this.a),this.a=null);this.g&&(ib(this.g),this.g=null);qg.Y.K.call(this)};var ug="singleclick",sg="click",tg="dblclick",Ag="pointerdrag",zg="pointermove",yg="pointerdown",wg="pointerup",xg="pointercancel",Bg={$e:ug,Pe:sg,Qe:tg,Te:Ag,We:zg,Se:yg,Ze:wg,Ye:"pointerover",Xe:"pointerout",Ue:"pointerenter",Ve:"pointerleave",Re:xg};function Cg(b){U.call(this);var c=Va({},b);c.opacity=void 0!==b.opacity?b.opacity:1;c.visible=void 0!==b.visible?b.visible:!0;c.zIndex=void 0!==b.zIndex?b.zIndex:0;c.maxResolution=void 0!==b.maxResolution?b.maxResolution:Infinity;c.minResolution=void 0!==b.minResolution?b.minResolution:0;this.l(c)}M(Cg,U); -function Dg(b){var c=b.Yb(),d=b.Sb(),e=b.eb(),f=b.C(),g=b.Zb(),h=b.get("maxResolution"),k=b.get("minResolution");return{layer:b,opacity:Ba(c,0,1),cc:d,visible:e,fb:!0,extent:f,zIndex:g,maxResolution:h,minResolution:Math.max(k,0)}}n=Cg.prototype;n.C=function(){return this.get("extent")};n.Yb=function(){return this.get("opacity")};n.eb=function(){return this.get("visible")};n.Zb=function(){return this.get("zIndex")};n.Fc=function(b){this.set("opacity",b)};n.Gc=function(b){this.set("visible",b)}; -n.Hc=function(b){this.set("zIndex",b)};function Eg(){};function Fg(b,c,d,e,f,g){S.call(this,b,c);this.vectorContext=d;this.frameState=e;this.context=f;this.glContext=g}M(Fg,S);function Gg(b){var c=Va({},b);delete c.source;Cg.call(this,c);this.h=this.c=this.b=null;b.map&&this.setMap(b.map);R(this,qb("source"),this.Rd,this);this.bc(b.source?b.source:null)}M(Gg,Cg);function Hg(b,c){return b.visible&&c>=b.minResolution&&c<b.maxResolution}n=Gg.prototype;n.Ob=function(b){b=b?b:[];b.push(Dg(this));return b};n.W=function(){return this.get("source")||null};n.Sb=function(){var b=this.W();return b?b.N():"undefined"};n.qe=function(){this.w()}; -n.Rd=function(){this.h&&(P(this.h),this.h=null);var b=this.W();b&&(this.h=R(b,"change",this.qe,this));this.w()};n.setMap=function(b){this.b&&(P(this.b),this.b=null);b||this.w();this.c&&(P(this.c),this.c=null);b&&(this.b=R(b,"precompose",function(b){var d=Dg(this);d.fb=!1;d.zIndex=Infinity;b.frameState.layerStatesArray.push(d);b.frameState.layerStates[I(this)]=d},this),this.c=R(this,"change",b.render,b),this.w())};n.bc=function(b){this.set("source",b)};function Ig(b,c,d,e,f,g,h,k){Cb(b);0===c&&0===d||Eb(b,c,d);1==e&&1==f||Fb(b,e,f);0!==g&&Gb(b,g);0===h&&0===k||Eb(b,h,k);return b}function Jg(b,c){return b[0]==c[0]&&b[1]==c[1]&&b[4]==c[4]&&b[5]==c[5]&&b[12]==c[12]&&b[13]==c[13]}function Kg(b,c,d){var e=b[1],f=b[5],g=b[13],h=c[0];c=c[1];d[0]=b[0]*h+b[4]*c+b[12];d[1]=e*h+f*c+g;return d};function Lg(b){nb.call(this);this.a=b}M(Lg,nb);Lg.prototype.gb=N;Lg.prototype.Ic=cc;Lg.prototype.l=function(b,c,d){return function(e,f){return We(b,c,e,f,function(b){d[e]||(d[e]={});d[e][b.L.toString()]=b})}};function Mg(b){var c=b.a;c.eb()&&"ready"==c.Sb()&&b.w()}function Ng(b,c){c.Qc()&&b.postRenderFunctions.push(na(function(b,c,f){c=I(b).toString();b.Rc(f.viewState.projection,f.usedTiles[c])},c))}function Og(b,c){if(c){var d,e,f;e=0;for(f=c.length;e<f;++e)d=c[e],b[I(d).toString()]=d}} -function Pg(b,c){var d=c.v;void 0!==d&&("string"===typeof d?b.logos[d]="":ha(d)&&(b.logos[d.src]=d.href))}function Qg(b,c,d,e){c=I(c).toString();d=d.toString();c in b?d in b[c]?(b=b[c][d],e.a<b.a&&(b.a=e.a),e.f>b.f&&(b.f=e.f),e.b<b.b&&(b.b=e.b),e.c>b.c&&(b.c=e.c)):b[c][d]=e:(b[c]={},b[c][d]=e)}function Rg(b,c,d){return[c*(Math.round(b[0]/c)+d[0]%2/2),c*(Math.round(b[1]/c)+d[1]%2/2)]} -function Sg(b,c,d,e,f,g,h,k,l,m){var p=I(c).toString();p in b.wantedTiles||(b.wantedTiles[p]={});var q=b.wantedTiles[p];b=b.tileQueue;var r=d.minZoom,u,w,y,z,D,t;for(t=h;t>=r;--t)for(w=Ke(d,g,t,w),y=d.I(t),z=w.a;z<=w.f;++z)for(D=w.b;D<=w.c;++D)h-t<=k?(u=Tg(c,t,z,D,e,f),0==u.N()&&(q[u.L.toString()]=!0,u.getKey()in b.f||b.c([u,p,Oe(d,u.L),y])),void 0!==l&&l.call(m,u)):c.$c(t,z,D,f)};function Ug(b){this.B=b.opacity;this.o=b.rotateWithView;this.J=b.rotation;this.hb=b.scale;this.u=b.snapToPixel}Ug.prototype.$=function(){return this.J};function Vg(b){b=b||{};this.g=void 0!==b.anchor?b.anchor:[.5,.5];this.c=null;this.b=void 0!==b.anchorOrigin?b.anchorOrigin:"top-left";this.l=void 0!==b.anchorXUnits?b.anchorXUnits:"fraction";this.i=void 0!==b.anchorYUnits?b.anchorYUnits:"fraction";var c=void 0!==b.crossOrigin?b.crossOrigin:null,d=void 0!==b.img?b.img:null,e=void 0!==b.imgSize?b.imgSize:null,f=b.src;void 0!==f&&0!==f.length||!d||(f=d.src||I(d).toString());var g=void 0!==b.src?0:2,h;void 0!==b.color?(h=b.color,h=Array.isArray(h)?h: -xd(h)):h=null;var k=Wg.va(),l=k.get(f,c,h);l||(l=new Xg(d,f,e,c,g,h),k.set(f,c,h,l));this.a=l;this.s=void 0!==b.offset?b.offset:[0,0];this.f=void 0!==b.offsetOrigin?b.offsetOrigin:"top-left";this.h=null;this.j=void 0!==b.size?b.size:null;Ug.call(this,{opacity:void 0!==b.opacity?b.opacity:1,rotation:void 0!==b.rotation?b.rotation:0,scale:void 0!==b.scale?b.scale:1,snapToPixel:void 0!==b.snapToPixel?b.snapToPixel:!0,rotateWithView:void 0!==b.rotateWithView?b.rotateWithView:!1})}M(Vg,Ug);n=Vg.prototype; -n.ab=function(){if(this.c)return this.c;var b=this.g,c=this.Ha();if("fraction"==this.l||"fraction"==this.i){if(!c)return null;b=this.g.slice();"fraction"==this.l&&(b[0]*=c[0]);"fraction"==this.i&&(b[1]*=c[1])}if("top-left"!=this.b){if(!c)return null;b===this.g&&(b=this.g.slice());if("top-right"==this.b||"bottom-right"==this.b)b[0]=-b[0]+c[0];if("bottom-left"==this.b||"bottom-right"==this.b)b[1]=-b[1]+c[1]}return this.c=b};n.S=function(b){return this.a.S(b)};n.Nb=function(){return this.a.b};n.ib=function(){return this.a.f}; -n.tb=function(){var b=this.a;if(!b.l)if(b.i){var c=b.b[0],d=b.b[1],e=rf(c,d);e.fillRect(0,0,c,d);b.l=e.canvas}else b.l=b.a;return b.l};n.ia=function(){if(this.h)return this.h;var b=this.s;if("top-left"!=this.f){var c=this.Ha(),d=this.a.b;if(!c||!d)return null;b=b.slice();if("top-right"==this.f||"bottom-right"==this.f)b[0]=d[0]-c[0]-b[0];if("bottom-left"==this.f||"bottom-right"==this.f)b[1]=d[1]-c[1]-b[1]}return this.h=b};n.Ha=function(){return this.j?this.j:this.a.b}; -n.Wb=function(b,c){return R(this.a,"change",b,c)};n.load=function(){this.a.load()};n.dc=function(b,c){fb(this.a,"change",b,c)};function Xg(b,c,d,e,f,g){lb.call(this);this.l=null;this.a=b?b:new Image;null!==e&&(this.a.crossOrigin=e);this.c=g?document.createElement("CANVAS"):null;this.h=g;this.g=null;this.f=f;this.b=d;this.o=c;this.i=!1;2==this.f&&Yg(this)}M(Xg,lb);function Yg(b){var c=rf(1,1);try{c.drawImage(b.a,0,0),c.getImageData(0,0,1,1)}catch(d){b.i=!0}} -Xg.prototype.j=function(){this.f=3;this.g.forEach(P);this.g=null;T(this,"change")}; -Xg.prototype.s=function(){this.f=2;this.b&&(this.a.width=this.b[0],this.a.height=this.b[1]);this.b=[this.a.width,this.a.height];this.g.forEach(P);this.g=null;Yg(this);if(!this.i&&null!==this.h){this.c.width=this.a.width;this.c.height=this.a.height;var b=this.c.getContext("2d");b.drawImage(this.a,0,0);for(var c=b.getImageData(0,0,this.a.width,this.a.height),d=c.data,e=this.h[0]/255,f=this.h[1]/255,g=this.h[2]/255,h=0,k=d.length;h<k;h+=4)d[h]*=e,d[h+1]*=f,d[h+2]*=g;b.putImageData(c,0,0)}T(this,"change")}; -Xg.prototype.S=function(){return this.c?this.c:this.a};Xg.prototype.load=function(){if(0==this.f){this.f=1;this.g=[R(this.a,"error",this.j,this,!0),R(this.a,"load",this.s,this,!0)];try{this.a.src=this.o}catch(b){this.j()}}};function Wg(){this.a={};this.b=0}aa(Wg);Wg.prototype.clear=function(){this.a={};this.b=0};Wg.prototype.get=function(b,c,d){b=c+":"+b+":"+(d?vd(d):"null");return b in this.a?this.a[b]:null};Wg.prototype.set=function(b,c,d,e){this.a[c+":"+b+":"+(d?vd(d):"null")]=e;++this.b};function Zg(b,c){this.h=c;this.f={};this.B={}}M(Zg,hb);function $g(b){var c=b.viewState,d=b.coordinateToPixelMatrix;Ig(d,b.size[0]/2,b.size[1]/2,1/c.resolution,-1/c.resolution,-c.rotation,-c.center[0],-c.center[1]);Db(d,b.pixelToCoordinateMatrix)}n=Zg.prototype;n.K=function(){for(var b in this.f)ib(this.f[b])};function ah(){var b=Wg.va();if(32<b.b){var c=0,d,e;for(d in b.a)e=b.a[d],0!==(c++&3)||mb(e)||(delete b.a[d],--b.b)}} -n.$b=function(b,c,d,e,f,g){function h(b,f){var g=I(b).toString(),h=c.layerStates[I(f)].fb;if(!(g in c.skippedFeatureUids)||h)return d.call(e,b,h?f:null)}var k,l=c.viewState,m=l.resolution,p=l.projection,l=b;if(p.a){var p=p.C(),q=Ub(p),r=b[0];if(r<p[0]||r>p[2])l=[r+q*Math.ceil((p[0]-r)/q),b[1]]}p=c.layerStatesArray;for(q=p.length-1;0<=q;--q){var u=p[q],r=u.layer;if(Hg(u,m)&&f.call(g,r)&&(u=bh(this,r),r.W()&&(k=u.gb(r.W().j?l:b,c,h,e)),k))return k}}; -n.Jc=function(b,c,d,e){return void 0!==this.$b(b,c,bc,this,d,e)};function bh(b,c){var d=I(c).toString();if(d in b.f)return b.f[d];var e=b.Lb(c);b.f[d]=e;b.B[d]=R(e,"change",b.Gd,b);return e}n.Gd=function(){this.h.render()};n.ub=N;n.Fe=function(b,c){for(var d in this.f)if(!(c&&d in c.layerStates)){var e=d,f=this.f[e];delete this.f[e];P(this.B[e]);delete this.B[e];ib(f)}};function ch(b,c){for(var d in b.f)if(!(d in c.layerStates)){c.postRenderFunctions.push(b.Fe.bind(b));break}} -function Na(b,c){return b.zIndex-c.zIndex};function dh(b,c){this.j=b;this.l=c;this.a=[];this.b=[];this.f={}}dh.prototype.clear=function(){this.a.length=0;this.b.length=0;Wa(this.f)};function eh(b){var c=b.a,d=b.b,e=c[0];1==c.length?(c.length=0,d.length=0):(c[0]=c.pop(),d[0]=d.pop(),fh(b,0));c=b.l(e);delete b.f[c];return e}dh.prototype.c=function(b){var c=this.j(b);return Infinity!=c?(this.a.push(b),this.b.push(c),this.f[this.l(b)]=!0,gh(this,0,this.a.length-1),!0):!1}; -function fh(b,c){for(var d=b.a,e=b.b,f=d.length,g=d[c],h=e[c],k=c;c<f>>1;){var l=2*c+1,m=2*c+2,l=m<f&&e[m]<e[l]?m:l;d[c]=d[l];e[c]=e[l];c=l}d[c]=g;e[c]=h;gh(b,k,c)}function gh(b,c,d){var e=b.a;b=b.b;for(var f=e[d],g=b[d];d>c;){var h=d-1>>1;if(b[h]>g)e[d]=e[h],b[d]=b[h],d=h;else break}e[d]=f;b[d]=g}function hh(b){var c=b.j,d=b.a,e=b.b,f=0,g=d.length,h,k,l;for(k=0;k<g;++k)h=d[k],l=c(h),Infinity==l?delete b.f[b.l(h)]:(e[f]=l,d[f++]=h);d.length=f;e.length=f;for(c=(b.a.length>>1)-1;0<=c;c--)fh(b,c)};function ih(b,c){dh.call(this,function(c){return b.apply(null,c)},function(b){return b[0].getKey()});this.B=c;this.h=0;this.g={}}M(ih,dh);ih.prototype.c=function(b){var c=ih.Y.c.call(this,b);c&&R(b[0],"change",this.i,this);return c};ih.prototype.i=function(b){b=b.target;var c=b.N();if(2===c||3===c||4===c||5===c)fb(b,"change",this.i,this),b=b.getKey(),b in this.g&&(delete this.g[b],--this.h),this.B()};function jh(){this.a=[];this.b=this.f=0}function kh(b,c){var d=b.b,e=.05-d,f=Math.log(.05/b.b)/-.005;return cd({source:c,duration:f,easing:function(b){return d*(Math.exp(-.005*b*f)-1)/e}})};function lh(b){U.call(this);this.T=null;this.set("active",!0);this.handleEvent=b.handleEvent}M(lh,U);lh.prototype.setMap=function(b){this.T=b};function mh(b,c,d,e,f){if(void 0!==d){var g=c.$(),h=c.ja();void 0!==g&&h&&f&&0<f&&(b.ha(dd({rotation:g,duration:f,easing:$c})),e&&b.ha(cd({source:h,duration:f,easing:$c})));c.rotate(d,e)}}function nh(b,c,d,e,f){var g=c.I();d=c.constrainResolution(g,d,0);oh(b,c,d,e,f)} -function oh(b,c,d,e,f){if(d){var g=c.I(),h=c.ja();void 0!==g&&h&&d!==g&&f&&0<f&&(b.ha(ed({resolution:g,duration:f,easing:$c})),e&&b.ha(cd({source:h,duration:f,easing:$c})));if(e){var k;b=c.ja();f=c.I();void 0!==b&&void 0!==f&&(k=[e[0]-d*(e[0]-b[0])/f,e[1]-d*(e[1]-b[1])/f]);c.pa(k)}Yc(c,d)}};function ph(b){b=b?b:{};this.a=b.delta?b.delta:1;lh.call(this,{handleEvent:qh});this.b=void 0!==b.duration?b.duration:250}M(ph,lh);function qh(b){var c=!1,d=b.originalEvent;if(b.type==tg){var c=b.map,e=b.coordinate,d=d.shiftKey?-this.a:this.a,f=c.O();nh(c,f,d,e,this.b);b.preventDefault();c=!0}return!c};function rh(b){b=b.originalEvent;return b.altKey&&!(b.metaKey||b.ctrlKey)&&b.shiftKey}function sh(b){b=b.originalEvent;return 0==b.button&&!(Jd&&Cf&&b.ctrlKey)}function th(b){b=b.originalEvent;return!b.altKey&&!(b.metaKey||b.ctrlKey)&&!b.shiftKey}function uh(b){b=b.originalEvent;return!b.altKey&&!(b.metaKey||b.ctrlKey)&&b.shiftKey}function vh(b){b=b.originalEvent.target.tagName;return"INPUT"!==b&&"SELECT"!==b&&"TEXTAREA"!==b}function wh(b){return"mouse"==b.a.pointerType};function xh(b){b=b?b:{};lh.call(this,{handleEvent:b.handleEvent?b.handleEvent:yh});this.yb=b.handleDownEvent?b.handleDownEvent:cc;this.zb=b.handleDragEvent?b.handleDragEvent:N;this.Ab=b.handleMoveEvent?b.handleMoveEvent:N;this.Bb=b.handleUpEvent?b.handleUpEvent:cc;this.s=!1;this.G={};this.c=[]}M(xh,lh);function zh(b){for(var c=b.length,d=0,e=0,f=0;f<c;f++)d+=b[f].clientX,e+=b[f].clientY;return[d/c,e/c]} -function yh(b){if(!(b instanceof pg))return!0;var c=!1,d=b.type;if(d===yg||d===Ag||d===wg)d=b.a,b.type==wg?delete this.G[d.pointerId]:b.type==yg?this.G[d.pointerId]=d:d.pointerId in this.G&&(this.G[d.pointerId]=d),this.c=Xa(this.G);this.s&&(b.type==Ag?this.zb(b):b.type==wg&&(this.s=this.Bb(b)));b.type==yg?(this.s=b=this.yb(b),c=this.v(b)):b.type==zg&&this.Ab(b);return!c}xh.prototype.v=function(b){return b};function Ah(b){xh.call(this,{handleDownEvent:Bh,handleDragEvent:Ch,handleUpEvent:Dh});b=b?b:{};this.a=b.kinetic;this.b=this.g=null;this.i=b.condition?b.condition:th;this.h=!1}M(Ah,xh);function Ch(b){var c=zh(this.c);this.a&&this.a.a.push(c[0],c[1],Date.now());if(this.b){var d=this.b[0]-c[0],e=c[1]-this.b[1];b=b.map;var f=b.O(),g=f.N(),e=d=[d,e],h=g.resolution;e[0]*=h;e[1]*=h;ub(d,g.rotation);tb(d,g.center);d=f.a.center(d);b.render();f.pa(d)}this.b=c} -function Dh(b){b=b.map;var c=b.O();if(0===this.c.length){var d;if(d=!this.h&&this.a)if(d=this.a,6>d.a.length)d=!1;else{var e=Date.now()-100,f=d.a.length-3;if(d.a[f+2]<e)d=!1;else{for(var g=f-3;0<g&&d.a[g+2]>e;)g-=3;var e=d.a[f+2]-d.a[g+2],h=d.a[f]-d.a[g],f=d.a[f+1]-d.a[g+1];d.f=Math.atan2(f,h);d.b=Math.sqrt(h*h+f*f)/e;d=.05<d.b}}d&&(d=(.05-this.a.b)/-.005,f=this.a.f,g=c.ja(),this.g=kh(this.a,g),b.ha(this.g),g=Eh(b,g),d=b.ua([g[0]-d*Math.cos(f),g[1]-d*Math.sin(f)]),d=c.a.center(d),c.pa(d));Zc(c,-1); -b.render();return!1}this.b=null;return!0}function Bh(b){if(0<this.c.length&&this.i(b)){var c=b.map,d=c.O();this.b=null;this.s||Zc(d,1);c.render();this.g&&Ka(c.A,this.g)&&(d.pa(b.frameState.viewState.center),this.g=null);this.a&&(b=this.a,b.a.length=0,b.f=0,b.b=0);this.h=1<this.c.length;return!0}return!1}Ah.prototype.v=cc;function Fh(b){b=b?b:{};xh.call(this,{handleDownEvent:Gh,handleDragEvent:Hh,handleUpEvent:Ih});this.b=b.condition?b.condition:rh;this.a=void 0;this.g=void 0!==b.duration?b.duration:250}M(Fh,xh);function Hh(b){if(wh(b)){var c=b.map,d=c.Qa();b=b.pixel;d=Math.atan2(d[1]/2-b[1],b[0]-d[0]/2);if(void 0!==this.a){b=d-this.a;var e=c.O(),f=e.$();c.render();mh(c,e,f-b)}this.a=d}} -function Ih(b){if(!wh(b))return!0;b=b.map;var c=b.O();Zc(c,-1);var d=c.$(),e=this.g,d=c.constrainRotation(d,0);mh(b,c,d,void 0,e);return!1}function Gh(b){return wh(b)&&sh(b)&&this.b(b)?(b=b.map,Zc(b.O(),1),b.render(),this.a=void 0,!0):!1}Fh.prototype.v=cc;function Jh(b){this.c=null;this.b=document.createElement("div");this.b.style.position="absolute";this.b.className="ol-box "+b;this.f=this.g=this.a=null}M(Jh,hb);Jh.prototype.K=function(){this.setMap(null)};function Kh(b){var c=b.g,d=b.f;b=b.b.style;b.left=Math.min(c[0],d[0])+"px";b.top=Math.min(c[1],d[1])+"px";b.width=Math.abs(d[0]-c[0])+"px";b.height=Math.abs(d[1]-c[1])+"px"} -Jh.prototype.setMap=function(b){if(this.a){this.a.o.removeChild(this.b);var c=this.b.style;c.left=c.top=c.width=c.height="inherit"}(this.a=b)&&this.a.o.appendChild(this.b)};function Lh(b){var c=b.g,d=b.f,c=[c,[c[0],d[1]],d,[d[0],c[1]]].map(b.a.ua,b.a);c[4]=c[0].slice();b.c?b.c.X([c]):b.c=new Sc([c])}Jh.prototype.M=function(){return this.c};function Mh(b,c,d){S.call(this,b);this.coordinate=c;this.mapBrowserEvent=d}M(Mh,S);function Nh(b){xh.call(this,{handleDownEvent:Oh,handleDragEvent:Ph,handleUpEvent:Qh});b=b?b:{};this.a=new Jh(b.className||"ol-dragbox");this.b=null;this.j=b.condition?b.condition:bc;this.i=b.boxEndCondition?b.boxEndCondition:Rh}M(Nh,xh);function Rh(b,c,d){b=d[0]-c[0];c=d[1]-c[1];return 64<=b*b+c*c} -function Ph(b){if(wh(b)){var c=this.a,d=b.pixel;c.g=this.b;c.f=d;Lh(c);Kh(c);T(this,new Mh("boxdrag",b.coordinate,b))}}Nh.prototype.M=function(){return this.a.M()};Nh.prototype.h=N;function Qh(b){if(!wh(b))return!0;this.a.setMap(null);this.i(b,this.b,b.pixel)&&(this.h(b),T(this,new Mh("boxend",b.coordinate,b)));return!1} -function Oh(b){if(wh(b)&&sh(b)&&this.j(b)){this.b=b.pixel;this.a.setMap(b.map);var c=this.a,d=this.b;c.g=this.b;c.f=d;Lh(c);Kh(c);T(this,new Mh("boxstart",b.coordinate,b));return!0}return!1};function Sh(b){b=b?b:{};var c=b.condition?b.condition:uh;this.g=void 0!==b.duration?b.duration:200;this.o=void 0!==b.out?b.out:!1;Nh.call(this,{condition:c,className:b.className||"ol-dragzoom"})}M(Sh,Nh); -Sh.prototype.h=function(){var b=this.T,c=b.O(),d=b.Qa(),e=this.M().C();if(this.o){var f=c.nc(d),e=[Eh(b,Wb(e)),Eh(b,[e[2],e[3]])],g=Ob(void 0),h,k;h=0;for(k=e.length;h<k;++h)Jb(g,e[h]);g=1/Xc(g,d);e=(f[2]-f[0])/2*(g-1);g=(f[3]-f[1])/2*(g-1);f[0]-=e;f[2]+=e;f[1]-=g;f[3]+=g;e=f}d=c.constrainResolution(Xc(e,d));f=c.I();g=c.ja();b.ha(ed({resolution:f,duration:this.g,easing:$c}));b.ha(cd({source:g,duration:this.g,easing:$c}));c.pa(Xb(e));Yc(c,d)};function Th(b){lh.call(this,{handleEvent:Uh});b=b||{};this.a=function(b){return th.call(this,b)&&vh.call(this,b)};this.b=void 0!==b.condition?b.condition:this.a;this.c=void 0!==b.duration?b.duration:100;this.g=void 0!==b.pixelDelta?b.pixelDelta:128}M(Th,lh); -function Uh(b){var c=!1;if("keydown"==b.type){var d=b.originalEvent.keyCode;if(this.b(b)&&(40==d||37==d||39==d||38==d)){var e=b.map,c=e.O(),f=c.I()*this.g,g=0,h=0;40==d?h=-f:37==d?g=-f:39==d?g=f:h=f;d=[g,h];ub(d,c.$());f=this.c;if(g=c.ja())f&&0<f&&e.ha(cd({source:g,duration:f,easing:bd})),e=c.a.center([g[0]+d[0],g[1]+d[1]]),c.pa(e);b.preventDefault();c=!0}}return!c};function Vh(b){lh.call(this,{handleEvent:Wh});b=b?b:{};this.b=b.condition?b.condition:vh;this.a=b.delta?b.delta:1;this.c=void 0!==b.duration?b.duration:100}M(Vh,lh);function Wh(b){var c=!1;if("keydown"==b.type||"keypress"==b.type){var d=b.originalEvent.charCode;if(this.b(b)&&(43==d||45==d)){c=b.map;d=43==d?this.a:-this.a;c.render();var e=c.O();nh(c,e,d,void 0,this.c);b.preventDefault();c=!0}}return!c};function Xh(b){lh.call(this,{handleEvent:Yh});b=b||{};this.a=0;this.i=void 0!==b.duration?b.duration:250;this.j=void 0!==b.useAnchor?b.useAnchor:!0;this.c=null;this.g=this.b=void 0}M(Xh,lh); -function Yh(b){var c=!1;if("wheel"==b.type||"mousewheel"==b.type){var c=b.map,d=b.originalEvent;this.j&&(this.c=b.coordinate);var e;"wheel"==b.type?(e=d.deltaY,Af&&d.deltaMode===x.WheelEvent.DOM_DELTA_PIXEL&&(e/=Df),d.deltaMode===x.WheelEvent.DOM_DELTA_LINE&&(e*=40)):"mousewheel"==b.type&&(e=-d.wheelDeltaY,Bf&&(e/=3));this.a+=e;void 0===this.b&&(this.b=Date.now());e=Math.max(80-(Date.now()-this.b),0);x.clearTimeout(this.g);this.g=x.setTimeout(this.h.bind(this,c),e);b.preventDefault();c=!0}return!c} -Xh.prototype.h=function(b){var c=Ba(this.a,-1,1),d=b.O();b.render();nh(b,d,-c,this.c,this.i);this.a=0;this.c=null;this.g=this.b=void 0};function Zh(b){xh.call(this,{handleDownEvent:$h,handleDragEvent:ai,handleUpEvent:bi});b=b||{};this.b=null;this.g=void 0;this.a=!1;this.h=0;this.j=void 0!==b.threshold?b.threshold:.3;this.i=void 0!==b.duration?b.duration:250}M(Zh,xh); -function ai(b){var c=0,d=this.c[0],e=this.c[1],d=Math.atan2(e.clientY-d.clientY,e.clientX-d.clientX);void 0!==this.g&&(c=d-this.g,this.h+=c,!this.a&&Math.abs(this.h)>this.j&&(this.a=!0));this.g=d;b=b.map;d=b.a.getBoundingClientRect();e=zh(this.c);e[0]-=d.left;e[1]-=d.top;this.b=b.ua(e);this.a&&(d=b.O(),e=d.$(),b.render(),mh(b,d,e+c,this.b))} -function bi(b){if(2>this.c.length){b=b.map;var c=b.O();Zc(c,-1);if(this.a){var d=c.$(),e=this.b,f=this.i,d=c.constrainRotation(d,0);mh(b,c,d,e,f)}return!1}return!0}function $h(b){return 2<=this.c.length?(b=b.map,this.b=null,this.g=void 0,this.a=!1,this.h=0,this.s||Zc(b.O(),1),b.render(),!0):!1}Zh.prototype.v=cc;function ci(b){xh.call(this,{handleDownEvent:di,handleDragEvent:ei,handleUpEvent:fi});b=b?b:{};this.b=null;this.h=void 0!==b.duration?b.duration:400;this.a=void 0;this.g=1}M(ci,xh);function ei(b){var c=1,d=this.c[0],e=this.c[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.g=c);b=b.map;var f=b.O(),d=f.I(),e=b.a.getBoundingClientRect(),g=zh(this.c);g[0]-=e.left;g[1]-=e.top;this.b=b.ua(g);b.render();oh(b,f,d*c,this.b)} -function fi(b){if(2>this.c.length){b=b.map;var c=b.O();Zc(c,-1);var d=c.I(),e=this.b,f=this.h,d=c.constrainResolution(d,0,this.g-1);oh(b,c,d,e,f);return!1}return!0}function di(b){return 2<=this.c.length?(b=b.map,this.b=null,this.a=void 0,this.g=1,this.s||Zc(b.O(),1),b.render(),!0):!1}ci.prototype.v=cc;function gi(b){var c=b||{};b=Va({},c);delete b.layers;c=c.layers;Cg.call(this,b);this.b=[];this.a={};R(this,qb("layers"),this.Id,this);c?Array.isArray(c)&&(c=new ld(c.slice())):c=new ld;this.set("layers",c)}M(gi,Cg);n=gi.prototype;n.qb=function(){this.eb()&&this.w()}; -n.Id=function(){this.b.forEach(P);this.b.length=0;var b=this.get("layers");this.b.push(R(b,"add",this.Hd,this),R(b,"remove",this.Jd,this));for(var c in this.a)this.a[c].forEach(P);Wa(this.a);var b=b.a,d,e;c=0;for(d=b.length;c<d;c++)e=b[c],this.a[I(e).toString()]=[R(e,"propertychange",this.qb,this),R(e,"change",this.qb,this)];this.w()};n.Hd=function(b){b=b.element;var c=I(b).toString();this.a[c]=[R(b,"propertychange",this.qb,this),R(b,"change",this.qb,this)];this.w()}; -n.Jd=function(b){b=I(b.element).toString();this.a[b].forEach(P);delete this.a[b];this.w()};n.Ob=function(b){var c=void 0!==b?b:[],d=c.length;nd(this.get("layers"),function(b){b.Ob(c)});b=Dg(this);var e,f;for(e=c.length;d<e;d++)f=c[d],f.opacity*=b.opacity,f.visible=f.visible&&b.visible,f.maxResolution=Math.min(f.maxResolution,b.maxResolution),f.minResolution=Math.max(f.minResolution,b.minResolution),void 0!==b.extent&&(f.extent=void 0!==f.extent?Zb(f.extent,b.extent):b.extent);return c};n.Sb=function(){return"ready"};function hi(b){hc.call(this,{code:b,units:"m",extent:ii,global:!0,worldExtent:ji})}M(hi,hc);hi.prototype.getPointResolution=function(b,c){return b/Ca(c[1]/6378137)};var ki=6378137*Math.PI,ii=[-ki,-ki,ki,ki],ji=[-180,-85,180,85],li="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(b){return new hi(b)}); -function mi(b,c,d){var e=b.length;d=1<d?d:2;void 0===c&&(2<d?c=b.slice():c=Array(e));for(var f=0;f<e;f+=d)c[f]=6378137*Math.PI*b[f]/180,c[f+1]=6378137*Math.log(Math.tan(Math.PI*(b[f+1]+90)/360));return c}function ni(b,c,d){var e=b.length;d=1<d?d:2;void 0===c&&(2<d?c=b.slice():c=Array(e));for(var f=0;f<e;f+=d)c[f]=180*b[f]/(6378137*Math.PI),c[f+1]=360*Math.atan(Math.exp(b[f+1]/6378137))/Math.PI-90;return c};var oi=new dc(6378137);function pi(b,c){hc.call(this,{code:b,units:"degrees",extent:qi,axisOrientation:c,global:!0,metersPerUnit:ri,worldExtent:qi})}M(pi,hc);pi.prototype.getPointResolution=function(b){return b}; -var qi=[-180,-90,180,90],ri=Math.PI*oi.radius/180,si=[new pi("CRS:84"),new pi("EPSG:4326","neu"),new pi("urn:ogc:def:crs:EPSG::4326","neu"),new pi("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new pi("urn:ogc:def:crs:OGC:1.3:CRS84"),new pi("urn:ogc:def:crs:OGC:2:84"),new pi("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new pi("urn:x-ogc:def:crs:EPSG:4326","neu")];function X(b){b=b?b:{};var c=Va({},b);delete c.preload;delete c.useInterimTilesOnError;Gg.call(this,c);this.set("preload",void 0!==b.preload?b.preload:0);this.set("useInterimTilesOnError",void 0!==b.useInterimTilesOnError?b.useInterimTilesOnError:!0)}M(X,Gg);function ti(b){return b.get("useInterimTilesOnError")};var ui=[0,0,0,1],vi=[],wi=[0,0,0,1];function xi(b,c,d,e){0!==c&&(b.translate(d,e),b.rotate(c),b.translate(-d,-e))};function yi(b){b=b||{};this.a=void 0!==b.color?b.color:null;this.b=void 0}yi.prototype.ca=function(){return this.a};function zi(b){void 0===b.b&&(b.b=b.a instanceof CanvasPattern||b.a instanceof CanvasGradient?I(b.a).toString():"f"+(b.a?vd(b.a):"-"));return b.b};function Ai(){this.b=-1};function Bi(){this.b=-1;this.b=64;this.a=Array(4);this.g=Array(this.b);this.c=this.f=0;this.a[0]=1732584193;this.a[1]=4023233417;this.a[2]=2562383102;this.a[3]=271733878;this.c=this.f=0}M(Bi,Ai); -function Ci(b,c,d){d||(d=0);var e=Array(16);if(da(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=b.a[0];d=b.a[1];var f=b.a[2],g=b.a[3],h=0,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^ +function vf(b,c){var d=b.style;d.WebkitTransform=c;d.MozTransform=c;d.a=c;d.msTransform=c;d.transform=c;Hd&&Rd("9.0")&&(b.style.transformOrigin="0 0")}function wf(b,c){var d;if(uf()){var e=Array(16);for(d=0;16>d;++d)e[d]=c[d].toFixed(6);vf(b,"matrix3d("+e.join(",")+")")}else if(tf()){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);vf(b,"matrix("+f.join(",")+")")}else b.style.left=Math.round(c[12])+"px",b.style.top=Math.round(c[13])+"px"};var xf=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function yf(b,c){var d,e,f=xf.length;for(e=0;e<f;++e)try{if(d=b.getContext(xf[e],c))return d}catch(g){}return null};var zf,Af="undefined"!==typeof navigator?navigator.userAgent.toLowerCase():"",Bf=-1!==Af.indexOf("firefox"),Cf=-1!==Af.indexOf("safari")&&-1===Af.indexOf("chrom"),Df=-1!==Af.indexOf("macintosh"),Ef=x.devicePixelRatio||1,Ff=!1,Gf=function(){if(!("HTMLCanvasElement"in x))return!1;try{var b=sf();return b?(void 0!==b.setLineDash&&(Ff=!0),!0):!1}catch(c){return!1}}(),Hf="ontouchstart"in x,If="PointerEvent"in x,Jf=!!x.navigator.msPointerEnabled,Kf=!1,Lf=[]; +if("WebGLRenderingContext"in x)try{var Mf=yf(document.createElement("CANVAS"),{failIfMajorPerformanceCaveat:!0});Mf&&(Kf=!0,Lf=Mf.getSupportedExtensions())}catch(b){}zf=Kf;oa=Lf;function Nf(b,c){this.a=b;this.g=c};function Of(b){Nf.call(this,b,{mousedown:this.Kd,mousemove:this.Ld,mouseup:this.Od,mouseover:this.Nd,mouseout:this.Md});this.b=b.b;this.f=[]}M(Of,Nf);function Pf(b,c){for(var d=b.f,e=c.clientX,f=c.clientY,g=0,h=d.length,k;g<h&&(k=d[g]);g++){var l=Math.abs(f-k[1]);if(25>=Math.abs(e-k[0])&&25>=l)return!0}return!1}function Qf(b){var c=Rf(b,b),d=c.preventDefault;c.preventDefault=function(){b.preventDefault();d()};c.pointerId=1;c.isPrimary=!0;c.pointerType="mouse";return c}n=Of.prototype; +n.Kd=function(b){if(!Pf(this,b)){if((1).toString()in this.b){var c=Qf(b);Sf(this.a,Tf,c,b);delete this.b[(1).toString()]}c=Qf(b);this.b[(1).toString()]=b;Sf(this.a,Uf,c,b)}};n.Ld=function(b){if(!Pf(this,b)){var c=Qf(b);Sf(this.a,Vf,c,b)}};n.Od=function(b){if(!Pf(this,b)){var c=this.b[(1).toString()];c&&c.button===b.button&&(c=Qf(b),Sf(this.a,Wf,c,b),delete this.b[(1).toString()])}};n.Nd=function(b){if(!Pf(this,b)){var c=Qf(b);Xf(this.a,c,b)}}; +n.Md=function(b){if(!Pf(this,b)){var c=Qf(b);Yf(this.a,c,b)}};function Zf(b){Nf.call(this,b,{MSPointerDown:this.Td,MSPointerMove:this.Ud,MSPointerUp:this.Xd,MSPointerOut:this.Vd,MSPointerOver:this.Wd,MSPointerCancel:this.Sd,MSGotPointerCapture:this.Qd,MSLostPointerCapture:this.Rd});this.b=b.b;this.f=["","unavailable","touch","pen","mouse"]}M(Zf,Nf);function $f(b,c){var d=c;ea(c.pointerType)&&(d=Rf(c,c),d.pointerType=b.f[c.pointerType]);return d}n=Zf.prototype;n.Td=function(b){this.b[b.pointerId.toString()]=b;var c=$f(this,b);Sf(this.a,Uf,c,b)}; +n.Ud=function(b){var c=$f(this,b);Sf(this.a,Vf,c,b)};n.Xd=function(b){var c=$f(this,b);Sf(this.a,Wf,c,b);delete this.b[b.pointerId.toString()]};n.Vd=function(b){var c=$f(this,b);Yf(this.a,c,b)};n.Wd=function(b){var c=$f(this,b);Xf(this.a,c,b)};n.Sd=function(b){var c=$f(this,b);Sf(this.a,Tf,c,b);delete this.b[b.pointerId.toString()]};n.Rd=function(b){T(this.a,new of("lostpointercapture",b,b))};n.Qd=function(b){T(this.a,new of("gotpointercapture",b,b))};function ag(b){Nf.call(this,b,{pointerdown:this.he,pointermove:this.ie,pointerup:this.le,pointerout:this.je,pointerover:this.ke,pointercancel:this.ge,gotpointercapture:this.ld,lostpointercapture:this.Jd})}M(ag,Nf);n=ag.prototype;n.he=function(b){bg(this.a,b)};n.ie=function(b){bg(this.a,b)};n.le=function(b){bg(this.a,b)};n.je=function(b){bg(this.a,b)};n.ke=function(b){bg(this.a,b)};n.ge=function(b){bg(this.a,b)};n.Jd=function(b){bg(this.a,b)};n.ld=function(b){bg(this.a,b)};function cg(b,c){Nf.call(this,b,{touchstart:this.ye,touchmove:this.xe,touchend:this.we,touchcancel:this.ve});this.b=b.b;this.l=c;this.f=void 0;this.h=0;this.c=void 0}M(cg,Nf);n=cg.prototype;n.Pc=function(){this.h=0;this.c=void 0}; +function dg(b,c,d){c=Rf(c,d);c.pointerId=d.identifier+2;c.bubbles=!0;c.cancelable=!0;c.detail=b.h;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=b.f===d.identifier;c.pointerType="touch";c.clientX=d.clientX;c.clientY=d.clientY;c.screenX=d.screenX;c.screenY=d.screenY;return c} +function eg(b,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=dg(b,c,f[h]),k.preventDefault=e,d.call(b,c,k)} +n.ye=function(b){var c=b.touches,d=Object.keys(this.b),e=d.length;if(e>=c.length){var f=[],g,h,k;for(g=0;g<e;++g){h=d[g];k=this.b[h];var l;if(!(l=1==h))a:{l=c.length;for(var m=void 0,p=0;p<l;p++)if(m=c[p],m.identifier===h-2){l=!0;break a}l=!1}l||f.push(k.out)}for(g=0;g<f.length;++g)this.xb(b,f[g])}c=b.changedTouches[0];d=Object.keys(this.b).length;if(0===d||1===d&&(1).toString()in this.b)this.f=c.identifier,void 0!==this.c&&x.clearTimeout(this.c);fg(this,b);this.h++;eg(this,b,this.fe)}; +n.fe=function(b,c){this.b[c.pointerId]={target:c.target,out:c,Mc:c.target};var d=this.a;c.bubbles=!0;Sf(d,gg,c,b);d=this.a;c.bubbles=!1;Sf(d,hg,c,b);Sf(this.a,Uf,c,b)};n.xe=function(b){b.preventDefault();eg(this,b,this.Pd)};n.Pd=function(b,c){var d=this.b[c.pointerId];if(d){var e=d.out,f=d.Mc;Sf(this.a,Vf,c,b);e&&f!==c.target&&(e.relatedTarget=c.target,c.relatedTarget=f,e.target=f,c.target?(Yf(this.a,e,b),Xf(this.a,c,b)):(c.target=f,c.relatedTarget=null,this.xb(b,c)));d.out=c;d.Mc=c.target}}; +n.we=function(b){fg(this,b);eg(this,b,this.ze)};n.ze=function(b,c){Sf(this.a,Wf,c,b);this.a.out(c,b);var d=this.a;c.bubbles=!1;Sf(d,ig,c,b);delete this.b[c.pointerId];c.isPrimary&&(this.f=void 0,this.c=x.setTimeout(this.Pc.bind(this),200))};n.ve=function(b){eg(this,b,this.xb)};n.xb=function(b,c){Sf(this.a,Tf,c,b);this.a.out(c,b);var d=this.a;c.bubbles=!1;Sf(d,ig,c,b);delete this.b[c.pointerId];c.isPrimary&&(this.f=void 0,this.c=x.setTimeout(this.Pc.bind(this),200))}; +function fg(b,c){var d=b.l.f,e=c.changedTouches[0];if(b.f===e.identifier){var f=[e.clientX,e.clientY];d.push(f);x.setTimeout(function(){Ka(d,f)},2500)}};function jg(b){lb.call(this);this.g=b;this.b={};this.c={};this.a=[];If?kg(this,new ag(this)):Jf?kg(this,new Zf(this)):(b=new Of(this),kg(this,b),Hf&&kg(this,new cg(this,b)));b=this.a.length;for(var c,d=0;d<b;d++)c=this.a[d],lg(this,Object.keys(c.g))}M(jg,lb);function kg(b,c){var d=Object.keys(c.g);d&&(d.forEach(function(b){var d=c.g[b];d&&(this.c[b]=d.bind(c))},b),b.a.push(c))}jg.prototype.f=function(b){var c=this.c[b.type];c&&c(b)}; +function lg(b,c){c.forEach(function(b){R(this.g,b,this.f,this)},b)}function mg(b,c){c.forEach(function(b){fb(this.g,b,this.f,this)},b)}function Rf(b,c){for(var d={},e,f=0,g=ng.length;f<g;f++)e=ng[f][0],d[e]=b[e]||c[e]||ng[f][1];return d}jg.prototype.out=function(b,c){b.bubbles=!0;Sf(this,og,b,c)};function Yf(b,c,d){b.out(c,d);var e=c.relatedTarget;e&&je(c.target,e)||(c.bubbles=!1,Sf(b,ig,c,d))} +function Xf(b,c,d){c.bubbles=!0;Sf(b,gg,c,d);var e=c.relatedTarget;e&&je(c.target,e)||(c.bubbles=!1,Sf(b,hg,c,d))}function Sf(b,c,d,e){T(b,new of(c,e,d))}function bg(b,c){T(b,new of(c.type,c,c))}jg.prototype.K=function(){for(var b=this.a.length,c,d=0;d<b;d++)c=this.a[d],mg(this,Object.keys(c.g));jg.Y.K.call(this)}; +var Vf="pointermove",Uf="pointerdown",Wf="pointerup",gg="pointerover",og="pointerout",hg="pointerenter",ig="pointerleave",Tf="pointercancel",ng=[["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 pg(b,c,d,e,f){ue.call(this,b,c,f);this.originalEvent=d;this.pixel=c.nc(d);this.coordinate=c.pa(this.pixel);this.dragging=void 0!==e?e:!1}M(pg,ue);pg.prototype.preventDefault=function(){pg.Y.preventDefault.call(this);this.originalEvent.preventDefault()};pg.prototype.stopPropagation=function(){pg.Y.stopPropagation.call(this);this.originalEvent.stopPropagation()};function qg(b,c,d,e,f){pg.call(this,b,c,d.a,e,f);this.a=d}M(qg,pg); +function rg(b){lb.call(this);this.f=b;this.h=0;this.l=!1;this.c=[];this.b=null;b=this.f.a;this.s=0;this.o={};this.g=new jg(b);this.a=null;this.i=R(this.g,Uf,this.xd,this);this.j=R(this.g,Vf,this.ne,this)}M(rg,lb);function sg(b,c){var d;d=new qg(tg,b.f,c);T(b,d);0!==b.h?(x.clearTimeout(b.h),b.h=0,d=new qg(ug,b.f,c),T(b,d)):b.h=x.setTimeout(function(){this.h=0;var b=new qg(vg,this.f,c);T(this,b)}.bind(b),250)} +function wg(b,c){c.type==xg||c.type==yg?delete b.o[c.pointerId]:c.type==zg&&(b.o[c.pointerId]=!0);b.s=Object.keys(b.o).length}n=rg.prototype;n.qc=function(b){wg(this,b);var c=new qg(xg,this.f,b);T(this,c);!this.l&&0===b.button&&sg(this,this.b);0===this.s&&(this.c.forEach(P),this.c.length=0,this.l=!1,this.b=null,ib(this.a),this.a=null)}; +n.xd=function(b){wg(this,b);var c=new qg(zg,this.f,b);T(this,c);this.b=b;0===this.c.length&&(this.a=new jg(document),this.c.push(R(this.a,Ag,this.$d,this),R(this.a,xg,this.qc,this),R(this.g,yg,this.qc,this)))};n.$d=function(b){if(b.clientX!=this.b.clientX||b.clientY!=this.b.clientY){this.l=!0;var c=new qg(Bg,this.f,b,this.l);T(this,c)}b.preventDefault()};n.ne=function(b){T(this,new qg(b.type,this.f,b,!(!this.b||b.clientX==this.b.clientX&&b.clientY==this.b.clientY)))}; +n.K=function(){this.j&&(P(this.j),this.j=null);this.i&&(P(this.i),this.i=null);this.c.forEach(P);this.c.length=0;this.a&&(ib(this.a),this.a=null);this.g&&(ib(this.g),this.g=null);rg.Y.K.call(this)};var vg="singleclick",tg="click",ug="dblclick",Bg="pointerdrag",Ag="pointermove",zg="pointerdown",xg="pointerup",yg="pointercancel",Cg={Le:vg,Ae:tg,Be:ug,Ee:Bg,He:Ag,De:zg,Ke:xg,Je:"pointerover",Ie:"pointerout",Fe:"pointerenter",Ge:"pointerleave",Ce:yg};function Dg(b){U.call(this);var c=Va({},b);c.opacity=void 0!==b.opacity?b.opacity:1;c.visible=void 0!==b.visible?b.visible:!0;c.zIndex=void 0!==b.zIndex?b.zIndex:0;c.maxResolution=void 0!==b.maxResolution?b.maxResolution:Infinity;c.minResolution=void 0!==b.minResolution?b.minResolution:0;this.l(c)}M(Dg,U); +function Eg(b){var c=b.Ob(),d=b.Ib(),e=b.Va(),f=b.C(),g=b.Pb(),h=b.get("maxResolution"),k=b.get("minResolution");return{layer:b,opacity:Ba(c,0,1),Tb:d,visible:e,Wa:!0,extent:f,zIndex:g,maxResolution:h,minResolution:Math.max(k,0)}}n=Dg.prototype;n.C=function(){return this.get("extent")};n.Ob=function(){return this.get("opacity")};n.Va=function(){return this.get("visible")};n.Pb=function(){return this.get("zIndex")};n.vc=function(b){this.set("opacity",b)};n.wc=function(b){this.set("visible",b)}; +n.xc=function(b){this.set("zIndex",b)};function Fg(){};function Gg(b,c,d,e,f,g){S.call(this,b,c);this.vectorContext=d;this.frameState=e;this.context=f;this.glContext=g}M(Gg,S);function Hg(b){var c=Va({},b);delete c.source;Dg.call(this,c);this.h=this.c=this.b=null;b.map&&this.setMap(b.map);R(this,qb("source"),this.Cd,this);this.Sb(b.source?b.source:null)}M(Hg,Dg);function Ig(b,c){return b.visible&&c>=b.minResolution&&c<b.maxResolution}n=Hg.prototype;n.Eb=function(b){b=b?b:[];b.push(Eg(this));return b};n.W=function(){return this.get("source")||null};n.Ib=function(){var b=this.W();return b?b.N():"undefined"};n.be=function(){this.w()}; +n.Cd=function(){this.h&&(P(this.h),this.h=null);var b=this.W();b&&(this.h=R(b,"change",this.be,this));this.w()};n.setMap=function(b){this.b&&(P(this.b),this.b=null);b||this.w();this.c&&(P(this.c),this.c=null);b&&(this.b=R(b,"precompose",function(b){var d=Eg(this);d.Wa=!1;d.zIndex=Infinity;b.frameState.layerStatesArray.push(d);b.frameState.layerStates[I(this)]=d},this),this.c=R(this,"change",b.render,b),this.w())};n.Sb=function(b){this.set("source",b)};function Jg(b,c,d,e,f,g,h,k){Cb(b);0===c&&0===d||Eb(b,c,d);1==e&&1==f||Fb(b,e,f);0!==g&&Gb(b,g);0===h&&0===k||Eb(b,h,k);return b}function Kg(b,c){return b[0]==c[0]&&b[1]==c[1]&&b[4]==c[4]&&b[5]==c[5]&&b[12]==c[12]&&b[13]==c[13]}function Lg(b,c,d){var e=b[1],f=b[5],g=b[13],h=c[0];c=c[1];d[0]=b[0]*h+b[4]*c+b[12];d[1]=e*h+f*c+g;return d};function Mg(b){nb.call(this);this.a=b}M(Mg,nb);Mg.prototype.Xa=N;Mg.prototype.yc=cc;Mg.prototype.l=function(b,c,d){return function(e,f){return Xe(b,c,e,f,function(b){d[e]||(d[e]={});d[e][b.L.toString()]=b})}};function Ng(b){var c=b.a;c.Va()&&"ready"==c.Ib()&&b.w()}function Og(b,c){c.Gc()&&b.postRenderFunctions.push(na(function(b,c,f){c=I(b).toString();b.Hc(f.viewState.projection,f.usedTiles[c])},c))}function Pg(b,c){if(c){var d,e,f;e=0;for(f=c.length;e<f;++e)d=c[e],b[I(d).toString()]=d}} +function Qg(b,c){var d=c.v;void 0!==d&&("string"===typeof d?b.logos[d]="":ha(d)&&(b.logos[d.src]=d.href))}function Rg(b,c,d,e){c=I(c).toString();d=d.toString();c in b?d in b[c]?(b=b[c][d],e.a<b.a&&(b.a=e.a),e.b>b.b&&(b.b=e.b),e.f<b.f&&(b.f=e.f),e.c>b.c&&(b.c=e.c)):b[c][d]=e:(b[c]={},b[c][d]=e)}function Sg(b,c,d){return[c*(Math.round(b[0]/c)+d[0]%2/2),c*(Math.round(b[1]/c)+d[1]%2/2)]} +function Tg(b,c,d,e,f,g,h,k,l,m){var p=I(c).toString();p in b.wantedTiles||(b.wantedTiles[p]={});var q=b.wantedTiles[p];b=b.tileQueue;var r=d.minZoom,u,w,y,z,D,t;for(t=h;t>=r;--t)for(w=Le(d,g,t,w),y=d.J(t),z=w.a;z<=w.b;++z)for(D=w.f;D<=w.c;++D)h-t<=k?(u=Ug(c,t,z,D,e,f),0==u.N()&&(q[u.L.toString()]=!0,u.getKey()in b.f||b.c([u,p,Pe(d,u.L),y])),void 0!==l&&l.call(m,u)):c.Qc(t,z,D,f)};function Vg(b){this.B=b.opacity;this.o=b.rotateWithView;this.s=b.rotation;this.u=b.scale;this.v=b.snapToPixel};function Wg(b){b=b||{};this.g=void 0!==b.anchor?b.anchor:[.5,.5];this.c=null;this.b=void 0!==b.anchorOrigin?b.anchorOrigin:"top-left";this.l=void 0!==b.anchorXUnits?b.anchorXUnits:"fraction";this.i=void 0!==b.anchorYUnits?b.anchorYUnits:"fraction";var c=void 0!==b.crossOrigin?b.crossOrigin:null,d=void 0!==b.img?b.img:null,e=void 0!==b.imgSize?b.imgSize:null,f=b.src;void 0!==f&&0!==f.length||!d||(f=d.src||I(d).toString());var g=void 0!==b.src?0:2,h;void 0!==b.color?(h=b.color,h=Array.isArray(h)?h: +yd(h)):h=null;var k=Xg.qa(),l=k.get(f,c,h);l||(l=new Yg(d,f,e,c,g,h),k.set(f,c,h,l));this.a=l;this.H=void 0!==b.offset?b.offset:[0,0];this.f=void 0!==b.offsetOrigin?b.offsetOrigin:"top-left";this.h=null;this.j=void 0!==b.size?b.size:null;Vg.call(this,{opacity:void 0!==b.opacity?b.opacity:1,rotation:void 0!==b.rotation?b.rotation:0,scale:void 0!==b.scale?b.scale:1,snapToPixel:void 0!==b.snapToPixel?b.snapToPixel:!0,rotateWithView:void 0!==b.rotateWithView?b.rotateWithView:!1})}M(Wg,Vg);n=Wg.prototype; +n.Sa=function(){if(this.c)return this.c;var b=this.g,c=this.ya();if("fraction"==this.l||"fraction"==this.i){if(!c)return null;b=this.g.slice();"fraction"==this.l&&(b[0]*=c[0]);"fraction"==this.i&&(b[1]*=c[1])}if("top-left"!=this.b){if(!c)return null;b===this.g&&(b=this.g.slice());if("top-right"==this.b||"bottom-right"==this.b)b[0]=-b[0]+c[0];if("bottom-left"==this.b||"bottom-right"==this.b)b[1]=-b[1]+c[1]}return this.c=b};n.S=function(b){return this.a.S(b)};n.Db=function(){return this.a.b};n.Ya=function(){return this.a.f}; +n.jb=function(){var b=this.a;if(!b.l)if(b.i){var c=b.b[0],d=b.b[1],e=sf(c,d);e.fillRect(0,0,c,d);b.l=e.canvas}else b.l=b.a;return b.l};n.fa=function(){if(this.h)return this.h;var b=this.H;if("top-left"!=this.f){var c=this.ya(),d=this.a.b;if(!c||!d)return null;b=b.slice();if("top-right"==this.f||"bottom-right"==this.f)b[0]=d[0]-c[0]-b[0];if("bottom-left"==this.f||"bottom-right"==this.f)b[1]=d[1]-c[1]-b[1]}return this.h=b};n.ya=function(){return this.j?this.j:this.a.b}; +n.Mb=function(b,c){return R(this.a,"change",b,c)};n.load=function(){this.a.load()};n.Ub=function(b,c){fb(this.a,"change",b,c)};function Yg(b,c,d,e,f,g){lb.call(this);this.l=null;this.a=b?b:new Image;null!==e&&(this.a.crossOrigin=e);this.c=g?document.createElement("CANVAS"):null;this.h=g;this.g=null;this.f=f;this.b=d;this.o=c;this.i=!1;2==this.f&&Zg(this)}M(Yg,lb);function Zg(b){var c=sf(1,1);try{c.drawImage(b.a,0,0),c.getImageData(0,0,1,1)}catch(d){b.i=!0}} +Yg.prototype.j=function(){this.f=3;this.g.forEach(P);this.g=null;T(this,"change")}; +Yg.prototype.s=function(){this.f=2;this.b&&(this.a.width=this.b[0],this.a.height=this.b[1]);this.b=[this.a.width,this.a.height];this.g.forEach(P);this.g=null;Zg(this);if(!this.i&&null!==this.h){this.c.width=this.a.width;this.c.height=this.a.height;var b=this.c.getContext("2d");b.drawImage(this.a,0,0);for(var c=b.getImageData(0,0,this.a.width,this.a.height),d=c.data,e=this.h[0]/255,f=this.h[1]/255,g=this.h[2]/255,h=0,k=d.length;h<k;h+=4)d[h]*=e,d[h+1]*=f,d[h+2]*=g;b.putImageData(c,0,0)}T(this,"change")}; +Yg.prototype.S=function(){return this.c?this.c:this.a};Yg.prototype.load=function(){if(0==this.f){this.f=1;this.g=[R(this.a,"error",this.j,this,!0),R(this.a,"load",this.s,this,!0)];try{this.a.src=this.o}catch(b){this.j()}}};function Xg(){this.a={};this.b=0}aa(Xg);Xg.prototype.clear=function(){this.a={};this.b=0};Xg.prototype.get=function(b,c,d){b=c+":"+b+":"+(d?wd(d):"null");return b in this.a?this.a[b]:null};Xg.prototype.set=function(b,c,d,e){this.a[c+":"+b+":"+(d?wd(d):"null")]=e;++this.b};function $g(b,c){this.h=c;this.f={};this.B={}}M($g,hb);function ah(b){var c=b.viewState,d=b.coordinateToPixelMatrix;Jg(d,b.size[0]/2,b.size[1]/2,1/c.resolution,-1/c.resolution,-c.rotation,-c.center[0],-c.center[1]);Db(d,b.pixelToCoordinateMatrix)}n=$g.prototype;n.K=function(){for(var b in this.f)ib(this.f[b])};function bh(){var b=Xg.qa();if(32<b.b){var c=0,d,e;for(d in b.a)e=b.a[d],0!==(c++&3)||mb(e)||(delete b.a[d],--b.b)}} +n.Qb=function(b,c,d,e,f,g){function h(b,f){var g=I(b).toString(),h=c.layerStates[I(f)].Wa;if(!(g in c.skippedFeatureUids)||h)return d.call(e,b,h?f:null)}var k,l=c.viewState,m=l.resolution,p=l.projection,l=b;if(p.a){var p=p.C(),q=Ub(p),r=b[0];if(r<p[0]||r>p[2])l=[r+q*Math.ceil((p[0]-r)/q),b[1]]}p=c.layerStatesArray;for(q=p.length-1;0<=q;--q){var u=p[q],r=u.layer;if(Ig(u,m)&&f.call(g,r)&&(u=ch(this,r),r.W()&&(k=u.Xa(r.W().j?l:b,c,h,e)),k))return k}}; +n.zc=function(b,c,d,e){return void 0!==this.Qb(b,c,bc,this,d,e)};function ch(b,c){var d=I(c).toString();if(d in b.f)return b.f[d];var e=b.Bb(c);b.f[d]=e;b.B[d]=R(e,"change",b.rd,b);return e}n.rd=function(){this.h.render()};n.kb=N;n.qe=function(b,c){for(var d in this.f)if(!(c&&d in c.layerStates)){var e=d,f=this.f[e];delete this.f[e];P(this.B[e]);delete this.B[e];ib(f)}};function dh(b,c){for(var d in b.f)if(!(d in c.layerStates)){c.postRenderFunctions.push(b.qe.bind(b));break}} +function Na(b,c){return b.zIndex-c.zIndex};function eh(b,c){this.j=b;this.l=c;this.a=[];this.b=[];this.f={}}eh.prototype.clear=function(){this.a.length=0;this.b.length=0;Wa(this.f)};function fh(b){var c=b.a,d=b.b,e=c[0];1==c.length?(c.length=0,d.length=0):(c[0]=c.pop(),d[0]=d.pop(),gh(b,0));c=b.l(e);delete b.f[c];return e}eh.prototype.c=function(b){var c=this.j(b);return Infinity!=c?(this.a.push(b),this.b.push(c),this.f[this.l(b)]=!0,hh(this,0,this.a.length-1),!0):!1}; +function gh(b,c){for(var d=b.a,e=b.b,f=d.length,g=d[c],h=e[c],k=c;c<f>>1;){var l=2*c+1,m=2*c+2,l=m<f&&e[m]<e[l]?m:l;d[c]=d[l];e[c]=e[l];c=l}d[c]=g;e[c]=h;hh(b,k,c)}function hh(b,c,d){var e=b.a;b=b.b;for(var f=e[d],g=b[d];d>c;){var h=d-1>>1;if(b[h]>g)e[d]=e[h],b[d]=b[h],d=h;else break}e[d]=f;b[d]=g}function ih(b){var c=b.j,d=b.a,e=b.b,f=0,g=d.length,h,k,l;for(k=0;k<g;++k)h=d[k],l=c(h),Infinity==l?delete b.f[b.l(h)]:(e[f]=l,d[f++]=h);d.length=f;e.length=f;for(c=(b.a.length>>1)-1;0<=c;c--)gh(b,c)};function jh(b,c){eh.call(this,function(c){return b.apply(null,c)},function(b){return b[0].getKey()});this.B=c;this.h=0;this.g={}}M(jh,eh);jh.prototype.c=function(b){var c=jh.Y.c.call(this,b);c&&R(b[0],"change",this.i,this);return c};jh.prototype.i=function(b){b=b.target;var c=b.N();if(2===c||3===c||4===c||5===c)fb(b,"change",this.i,this),b=b.getKey(),b in this.g&&(delete this.g[b],--this.h),this.B()};function kh(){this.a=[];this.b=this.f=0}function lh(b,c){var d=b.b,e=.05-d,f=Math.log(.05/b.b)/-.005;return dd({source:c,duration:f,easing:function(b){return d*(Math.exp(-.005*b*f)-1)/e}})};function mh(b){U.call(this);this.T=null;this.set("active",!0);this.handleEvent=b.handleEvent}M(mh,U);mh.prototype.setMap=function(b){this.T=b};function nh(b,c,d,e,f){if(void 0!==d){var g=Xc(c),h=c.ga();void 0!==g&&h&&f&&0<f&&(b.ea(ed({rotation:g,duration:f,easing:ad})),e&&b.ea(dd({source:h,duration:f,easing:ad})));c.rotate(d,e)}}function oh(b,c,d,e,f){var g=c.J();d=c.constrainResolution(g,d,0);ph(b,c,d,e,f)} +function ph(b,c,d,e,f){if(d){var g=c.J(),h=c.ga();void 0!==g&&h&&d!==g&&f&&0<f&&(b.ea(fd({resolution:g,duration:f,easing:ad})),e&&b.ea(dd({source:h,duration:f,easing:ad})));if(e){var k;b=c.ga();f=c.J();void 0!==b&&void 0!==f&&(k=[e[0]-d*(e[0]-b[0])/f,e[1]-d*(e[1]-b[1])/f]);c.ma(k)}Zc(c,d)}};function qh(b){b=b?b:{};this.a=b.delta?b.delta:1;mh.call(this,{handleEvent:rh});this.b=void 0!==b.duration?b.duration:250}M(qh,mh);function rh(b){var c=!1,d=b.originalEvent;if(b.type==ug){var c=b.map,e=b.coordinate,d=d.shiftKey?-this.a:this.a,f=c.O();oh(c,f,d,e,this.b);b.preventDefault();c=!0}return!c};function sh(b){b=b.originalEvent;return b.altKey&&!(b.metaKey||b.ctrlKey)&&b.shiftKey}function th(b){b=b.originalEvent;return 0==b.button&&!(Kd&&Df&&b.ctrlKey)}function uh(b){b=b.originalEvent;return!b.altKey&&!(b.metaKey||b.ctrlKey)&&!b.shiftKey}function vh(b){b=b.originalEvent;return!b.altKey&&!(b.metaKey||b.ctrlKey)&&b.shiftKey}function wh(b){b=b.originalEvent.target.tagName;return"INPUT"!==b&&"SELECT"!==b&&"TEXTAREA"!==b}function xh(b){return"mouse"==b.a.pointerType};function yh(b){b=b?b:{};mh.call(this,{handleEvent:b.handleEvent?b.handleEvent:zh});this.ob=b.handleDownEvent?b.handleDownEvent:cc;this.pb=b.handleDragEvent?b.handleDragEvent:N;this.qb=b.handleMoveEvent?b.handleMoveEvent:N;this.rb=b.handleUpEvent?b.handleUpEvent:cc;this.s=!1;this.G={};this.c=[]}M(yh,mh);function Ah(b){for(var c=b.length,d=0,e=0,f=0;f<c;f++)d+=b[f].clientX,e+=b[f].clientY;return[d/c,e/c]} +function zh(b){if(!(b instanceof qg))return!0;var c=!1,d=b.type;if(d===zg||d===Bg||d===xg)d=b.a,b.type==xg?delete this.G[d.pointerId]:b.type==zg?this.G[d.pointerId]=d:d.pointerId in this.G&&(this.G[d.pointerId]=d),this.c=Xa(this.G);this.s&&(b.type==Bg?this.pb(b):b.type==xg&&(this.s=this.rb(b)));b.type==zg?(this.s=b=this.ob(b),c=this.v(b)):b.type==Ag&&this.qb(b);return!c}yh.prototype.v=function(b){return b};function Bh(b){yh.call(this,{handleDownEvent:Ch,handleDragEvent:Dh,handleUpEvent:Eh});b=b?b:{};this.a=b.kinetic;this.b=this.g=null;this.i=b.condition?b.condition:uh;this.h=!1}M(Bh,yh);function Dh(b){var c=Ah(this.c);this.a&&this.a.a.push(c[0],c[1],Date.now());if(this.b){var d=this.b[0]-c[0],e=c[1]-this.b[1];b=b.map;var f=b.O(),g=f.N(),e=d=[d,e],h=g.resolution;e[0]*=h;e[1]*=h;ub(d,g.rotation);tb(d,g.center);d=f.a.center(d);b.render();f.ma(d)}this.b=c} +function Eh(b){b=b.map;var c=b.O();if(0===this.c.length){var d;if(d=!this.h&&this.a)if(d=this.a,6>d.a.length)d=!1;else{var e=Date.now()-100,f=d.a.length-3;if(d.a[f+2]<e)d=!1;else{for(var g=f-3;0<g&&d.a[g+2]>e;)g-=3;var e=d.a[f+2]-d.a[g+2],h=d.a[f]-d.a[g],f=d.a[f+1]-d.a[g+1];d.f=Math.atan2(f,h);d.b=Math.sqrt(h*h+f*f)/e;d=.05<d.b}}d&&(d=(.05-this.a.b)/-.005,f=this.a.f,g=c.ga(),this.g=lh(this.a,g),b.ea(this.g),g=Fh(b,g),d=b.pa([g[0]-d*Math.cos(f),g[1]-d*Math.sin(f)]),d=c.a.center(d),c.ma(d));$c(c,-1); +b.render();return!1}this.b=null;return!0}function Ch(b){if(0<this.c.length&&this.i(b)){var c=b.map,d=c.O();this.b=null;this.s||$c(d,1);c.render();this.g&&Ka(c.A,this.g)&&(d.ma(b.frameState.viewState.center),this.g=null);this.a&&(b=this.a,b.a.length=0,b.f=0,b.b=0);this.h=1<this.c.length;return!0}return!1}Bh.prototype.v=cc;function Gh(b){b=b?b:{};yh.call(this,{handleDownEvent:Hh,handleDragEvent:Ih,handleUpEvent:Jh});this.b=b.condition?b.condition:sh;this.a=void 0;this.g=void 0!==b.duration?b.duration:250}M(Gh,yh);function Ih(b){if(xh(b)){var c=b.map,d=c.Ha();b=b.pixel;d=Math.atan2(d[1]/2-b[1],b[0]-d[0]/2);if(void 0!==this.a){b=d-this.a;var e=c.O(),f=Xc(e);c.render();nh(c,e,f-b)}this.a=d}} +function Jh(b){if(!xh(b))return!0;b=b.map;var c=b.O();$c(c,-1);var d=Xc(c),e=this.g,d=c.constrainRotation(d,0);nh(b,c,d,void 0,e);return!1}function Hh(b){return xh(b)&&th(b)&&this.b(b)?(b=b.map,$c(b.O(),1),b.render(),this.a=void 0,!0):!1}Gh.prototype.v=cc;function Kh(b){this.c=null;this.b=document.createElement("div");this.b.style.position="absolute";this.b.className="ol-box "+b;this.f=this.g=this.a=null}M(Kh,hb);Kh.prototype.K=function(){this.setMap(null)};function Lh(b){var c=b.g,d=b.f;b=b.b.style;b.left=Math.min(c[0],d[0])+"px";b.top=Math.min(c[1],d[1])+"px";b.width=Math.abs(d[0]-c[0])+"px";b.height=Math.abs(d[1]-c[1])+"px"} +Kh.prototype.setMap=function(b){if(this.a){this.a.o.removeChild(this.b);var c=this.b.style;c.left=c.top=c.width=c.height="inherit"}(this.a=b)&&this.a.o.appendChild(this.b)};function Mh(b){var c=b.g,d=b.f,c=[c,[c[0],d[1]],d,[d[0],c[1]]].map(b.a.pa,b.a);c[4]=c[0].slice();b.c?b.c.X([c]):b.c=new Sc([c])}Kh.prototype.M=function(){return this.c};function Nh(b,c,d){S.call(this,b);this.coordinate=c;this.mapBrowserEvent=d}M(Nh,S);function Oh(b){yh.call(this,{handleDownEvent:Ph,handleDragEvent:Qh,handleUpEvent:Rh});b=b?b:{};this.a=new Kh(b.className||"ol-dragbox");this.b=null;this.j=b.condition?b.condition:bc;this.i=b.boxEndCondition?b.boxEndCondition:Sh}M(Oh,yh);function Sh(b,c,d){b=d[0]-c[0];c=d[1]-c[1];return 64<=b*b+c*c} +function Qh(b){if(xh(b)){var c=this.a,d=b.pixel;c.g=this.b;c.f=d;Mh(c);Lh(c);T(this,new Nh("boxdrag",b.coordinate,b))}}Oh.prototype.M=function(){return this.a.M()};Oh.prototype.h=N;function Rh(b){if(!xh(b))return!0;this.a.setMap(null);this.i(b,this.b,b.pixel)&&(this.h(b),T(this,new Nh("boxend",b.coordinate,b)));return!1} +function Ph(b){if(xh(b)&&th(b)&&this.j(b)){this.b=b.pixel;this.a.setMap(b.map);var c=this.a,d=this.b;c.g=this.b;c.f=d;Mh(c);Lh(c);T(this,new Nh("boxstart",b.coordinate,b));return!0}return!1};function Th(b){b=b?b:{};var c=b.condition?b.condition:vh;this.g=void 0!==b.duration?b.duration:200;this.o=void 0!==b.out?b.out:!1;Oh.call(this,{condition:c,className:b.className||"ol-dragzoom"})}M(Th,Oh); +Th.prototype.h=function(){var b=this.T,c=b.O(),d=b.Ha(),e=this.M().C();if(this.o){var f=c.dc(d),e=[Fh(b,Wb(e)),Fh(b,[e[2],e[3]])],g=Ob(void 0),h,k;h=0;for(k=e.length;h<k;++h)Jb(g,e[h]);g=1/Yc(g,d);e=(f[2]-f[0])/2*(g-1);g=(f[3]-f[1])/2*(g-1);f[0]-=e;f[2]+=e;f[1]-=g;f[3]+=g;e=f}d=c.constrainResolution(Yc(e,d));f=c.J();g=c.ga();b.ea(fd({resolution:f,duration:this.g,easing:ad}));b.ea(dd({source:g,duration:this.g,easing:ad}));c.ma(Xb(e));Zc(c,d)};function Uh(b){mh.call(this,{handleEvent:Vh});b=b||{};this.a=function(b){return uh.call(this,b)&&wh.call(this,b)};this.b=void 0!==b.condition?b.condition:this.a;this.c=void 0!==b.duration?b.duration:100;this.g=void 0!==b.pixelDelta?b.pixelDelta:128}M(Uh,mh); +function Vh(b){var c=!1;if("keydown"==b.type){var d=b.originalEvent.keyCode;if(this.b(b)&&(40==d||37==d||39==d||38==d)){var e=b.map,c=e.O(),f=c.J()*this.g,g=0,h=0;40==d?h=-f:37==d?g=-f:39==d?g=f:h=f;d=[g,h];ub(d,Xc(c));f=this.c;if(g=c.ga())f&&0<f&&e.ea(dd({source:g,duration:f,easing:cd})),e=c.a.center([g[0]+d[0],g[1]+d[1]]),c.ma(e);b.preventDefault();c=!0}}return!c};function Wh(b){mh.call(this,{handleEvent:Xh});b=b?b:{};this.b=b.condition?b.condition:wh;this.a=b.delta?b.delta:1;this.c=void 0!==b.duration?b.duration:100}M(Wh,mh);function Xh(b){var c=!1;if("keydown"==b.type||"keypress"==b.type){var d=b.originalEvent.charCode;if(this.b(b)&&(43==d||45==d)){c=b.map;d=43==d?this.a:-this.a;c.render();var e=c.O();oh(c,e,d,void 0,this.c);b.preventDefault();c=!0}}return!c};function Yh(b){mh.call(this,{handleEvent:Zh});b=b||{};this.a=0;this.i=void 0!==b.duration?b.duration:250;this.j=void 0!==b.useAnchor?b.useAnchor:!0;this.c=null;this.g=this.b=void 0}M(Yh,mh); +function Zh(b){var c=!1;if("wheel"==b.type||"mousewheel"==b.type){var c=b.map,d=b.originalEvent;this.j&&(this.c=b.coordinate);var e;"wheel"==b.type?(e=d.deltaY,Bf&&d.deltaMode===x.WheelEvent.DOM_DELTA_PIXEL&&(e/=Ef),d.deltaMode===x.WheelEvent.DOM_DELTA_LINE&&(e*=40)):"mousewheel"==b.type&&(e=-d.wheelDeltaY,Cf&&(e/=3));this.a+=e;void 0===this.b&&(this.b=Date.now());e=Math.max(80-(Date.now()-this.b),0);x.clearTimeout(this.g);this.g=x.setTimeout(this.h.bind(this,c),e);b.preventDefault();c=!0}return!c} +Yh.prototype.h=function(b){var c=Ba(this.a,-1,1),d=b.O();b.render();oh(b,d,-c,this.c,this.i);this.a=0;this.c=null;this.g=this.b=void 0};function $h(b){yh.call(this,{handleDownEvent:ai,handleDragEvent:bi,handleUpEvent:ci});b=b||{};this.b=null;this.g=void 0;this.a=!1;this.h=0;this.j=void 0!==b.threshold?b.threshold:.3;this.i=void 0!==b.duration?b.duration:250}M($h,yh); +function bi(b){var c=0,d=this.c[0],e=this.c[1],d=Math.atan2(e.clientY-d.clientY,e.clientX-d.clientX);void 0!==this.g&&(c=d-this.g,this.h+=c,!this.a&&Math.abs(this.h)>this.j&&(this.a=!0));this.g=d;b=b.map;d=b.a.getBoundingClientRect();e=Ah(this.c);e[0]-=d.left;e[1]-=d.top;this.b=b.pa(e);this.a&&(d=b.O(),e=Xc(d),b.render(),nh(b,d,e+c,this.b))} +function ci(b){if(2>this.c.length){b=b.map;var c=b.O();$c(c,-1);if(this.a){var d=Xc(c),e=this.b,f=this.i,d=c.constrainRotation(d,0);nh(b,c,d,e,f)}return!1}return!0}function ai(b){return 2<=this.c.length?(b=b.map,this.b=null,this.g=void 0,this.a=!1,this.h=0,this.s||$c(b.O(),1),b.render(),!0):!1}$h.prototype.v=cc;function di(b){yh.call(this,{handleDownEvent:ei,handleDragEvent:fi,handleUpEvent:gi});b=b?b:{};this.b=null;this.h=void 0!==b.duration?b.duration:400;this.a=void 0;this.g=1}M(di,yh);function fi(b){var c=1,d=this.c[0],e=this.c[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.g=c);b=b.map;var f=b.O(),d=f.J(),e=b.a.getBoundingClientRect(),g=Ah(this.c);g[0]-=e.left;g[1]-=e.top;this.b=b.pa(g);b.render();ph(b,f,d*c,this.b)} +function gi(b){if(2>this.c.length){b=b.map;var c=b.O();$c(c,-1);var d=c.J(),e=this.b,f=this.h,d=c.constrainResolution(d,0,this.g-1);ph(b,c,d,e,f);return!1}return!0}function ei(b){return 2<=this.c.length?(b=b.map,this.b=null,this.a=void 0,this.g=1,this.s||$c(b.O(),1),b.render(),!0):!1}di.prototype.v=cc;function hi(b){var c=b||{};b=Va({},c);delete b.layers;c=c.layers;Dg.call(this,b);this.b=[];this.a={};R(this,qb("layers"),this.td,this);c?Array.isArray(c)&&(c=new md(c.slice())):c=new md;this.set("layers",c)}M(hi,Dg);n=hi.prototype;n.gb=function(){this.Va()&&this.w()}; +n.td=function(){this.b.forEach(P);this.b.length=0;var b=this.get("layers");this.b.push(R(b,"add",this.sd,this),R(b,"remove",this.ud,this));for(var c in this.a)this.a[c].forEach(P);Wa(this.a);var b=b.a,d,e;c=0;for(d=b.length;c<d;c++)e=b[c],this.a[I(e).toString()]=[R(e,"propertychange",this.gb,this),R(e,"change",this.gb,this)];this.w()};n.sd=function(b){b=b.element;var c=I(b).toString();this.a[c]=[R(b,"propertychange",this.gb,this),R(b,"change",this.gb,this)];this.w()}; +n.ud=function(b){b=I(b.element).toString();this.a[b].forEach(P);delete this.a[b];this.w()};n.Eb=function(b){var c=void 0!==b?b:[],d=c.length;od(this.get("layers"),function(b){b.Eb(c)});b=Eg(this);var e,f;for(e=c.length;d<e;d++)f=c[d],f.opacity*=b.opacity,f.visible=f.visible&&b.visible,f.maxResolution=Math.min(f.maxResolution,b.maxResolution),f.minResolution=Math.max(f.minResolution,b.minResolution),void 0!==b.extent&&(f.extent=void 0!==f.extent?Zb(f.extent,b.extent):b.extent);return c};n.Ib=function(){return"ready"};function ii(b){hc.call(this,{code:b,units:"m",extent:ji,global:!0,worldExtent:ki})}M(ii,hc);ii.prototype.getPointResolution=function(b,c){return b/Ca(c[1]/6378137)};var li=6378137*Math.PI,ji=[-li,-li,li,li],ki=[-180,-85,180,85],mi="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(b){return new ii(b)}); +function ni(b,c,d){var e=b.length;d=1<d?d:2;void 0===c&&(2<d?c=b.slice():c=Array(e));for(var f=0;f<e;f+=d)c[f]=6378137*Math.PI*b[f]/180,c[f+1]=6378137*Math.log(Math.tan(Math.PI*(b[f+1]+90)/360));return c}function oi(b,c,d){var e=b.length;d=1<d?d:2;void 0===c&&(2<d?c=b.slice():c=Array(e));for(var f=0;f<e;f+=d)c[f]=180*b[f]/(6378137*Math.PI),c[f+1]=360*Math.atan(Math.exp(b[f+1]/6378137))/Math.PI-90;return c};var pi=new dc(6378137);function qi(b,c){hc.call(this,{code:b,units:"degrees",extent:ri,axisOrientation:c,global:!0,metersPerUnit:si,worldExtent:ri})}M(qi,hc);qi.prototype.getPointResolution=function(b){return b}; +var ri=[-180,-90,180,90],si=Math.PI*pi.radius/180,ti=[new qi("CRS:84"),new qi("EPSG:4326","neu"),new qi("urn:ogc:def:crs:EPSG::4326","neu"),new qi("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new qi("urn:ogc:def:crs:OGC:1.3:CRS84"),new qi("urn:ogc:def:crs:OGC:2:84"),new qi("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new qi("urn:x-ogc:def:crs:EPSG:4326","neu")];function X(b){b=b?b:{};var c=Va({},b);delete c.preload;delete c.useInterimTilesOnError;Hg.call(this,c);this.set("preload",void 0!==b.preload?b.preload:0);this.set("useInterimTilesOnError",void 0!==b.useInterimTilesOnError?b.useInterimTilesOnError:!0)}M(X,Hg);function ui(b){return b.get("useInterimTilesOnError")};var vi=[0,0,0,1],wi=[],xi=[0,0,0,1];function yi(b,c,d,e){0!==c&&(b.translate(d,e),b.rotate(c),b.translate(-d,-e))};function zi(b){b=b||{};this.a=void 0!==b.color?b.color:null;this.b=void 0}function Ai(b){void 0===b.b&&(b.b=b.a instanceof CanvasPattern||b.a instanceof CanvasGradient?I(b.a).toString():"f"+(b.a?wd(b.a):"-"));return b.b};function Bi(){this.b=-1};function Ci(){this.b=-1;this.b=64;this.a=Array(4);this.g=Array(this.b);this.c=this.f=0;this.a[0]=1732584193;this.a[1]=4023233417;this.a[2]=2562383102;this.a[3]=271733878;this.c=this.f=0}M(Ci,Bi); +function Di(b,c,d){d||(d=0);var e=Array(16);if(da(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=b.a[0];d=b.a[1];var f=b.a[2],g=b.a[3],h=0,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| @@ -163,245 +163,246 @@ c^d)+e[7]+4139469664&4294967295;f=g+(h<<16&4294967295|h>>>16);h=d+(f^g^c)+e[10]+ 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;b.a[0]=b.a[0]+c&4294967295;b.a[1]=b.a[1]+(f+(h<<21&4294967295|h>>>11))&4294967295;b.a[2]=b.a[2]+f&4294967295;b.a[3]=b.a[3]+g&4294967295} -function Di(b,c){var d;void 0===d&&(d=c.length);for(var e=d-b.b,f=b.g,g=b.f,h=0;h<d;){if(0==g)for(;h<=e;)Ci(b,c,h),h+=b.b;if(da(c))for(;h<d;){if(f[g++]=c.charCodeAt(h++),g==b.b){Ci(b,f);g=0;break}}else for(;h<d;)if(f[g++]=c[h++],g==b.b){Ci(b,f);g=0;break}}b.f=g;b.c+=d};function Ei(b){b=b||{};this.f=void 0!==b.color?b.color:null;this.wa=b.lineCap;this.a=void 0!==b.lineDash?b.lineDash:null;this.xa=b.lineJoin;this.ya=b.miterLimit;this.c=b.width;this.b=void 0}Ei.prototype.ca=function(){return this.f};Ei.prototype.getLineDash=function(){return this.a};Ei.prototype.da=function(){return this.c}; -function Fi(b){if(void 0===b.b){var c="s"+(b.f?vd(b.f):"-")+","+(void 0!==b.wa?b.wa.toString():"-")+","+(b.a?b.a.toString():"-")+","+(void 0!==b.xa?b.xa:"-")+","+(void 0!==b.ya?b.ya.toString():"-")+","+(void 0!==b.c?b.c.toString():"-"),d=new Bi;Di(d,c);var e=Array((56>d.f?d.b:2*d.b)-d.f);e[0]=128;for(c=1;c<e.length-8;++c)e[c]=0;for(var f=8*d.c,c=e.length-8;c<e.length;++c)e[c]=f&255,f/=256;Di(d,e);e=Array(16);for(c=f=0;4>c;++c)for(var g=0;32>g;g+=8)e[f++]=d.a[c]>>>g&255;if(8192>=e.length)d=String.fromCharCode.apply(null, -e);else for(d="",c=0;c<e.length;c+=8192)d+=String.fromCharCode.apply(null,rd(e,c,c+8192));b.b=d}return b.b};function Gi(b){b=b||{};this.h=this.a=this.g=null;this.f=void 0!==b.fill?b.fill:null;this.b=void 0!==b.stroke?b.stroke:null;this.c=b.radius;this.j=[0,0];this.i=this.s=this.l=null;var c=b.atlasManager,d,e=null,f,g=0;this.b&&(f=vd(this.b.ca()),g=this.b.da(),void 0===g&&(g=1),e=this.b.getLineDash(),Ef||(e=null));var h=2*(this.c+g)+1;f={strokeStyle:f,jb:g,size:h,lineDash:e};if(void 0===c)this.a=document.createElement("CANVAS"),this.a.height=h,this.a.width=h,d=h=this.a.width,c=this.a.getContext("2d"),this.Tc(f, -c,0,0),this.f?this.h=this.a:(c=this.h=document.createElement("CANVAS"),c.height=f.size,c.width=f.size,c=c.getContext("2d"),this.Sc(f,c,0,0));else{h=Math.round(h);(e=!this.f)&&(d=this.Sc.bind(this,f));var g=this.b?Fi(this.b):"-",k=this.f?zi(this.f):"-";this.g&&g==this.g[1]&&k==this.g[2]&&this.c==this.g[3]||(this.g=["c"+g+k+(void 0!==this.c?this.c.toString():"-"),g,k,this.c]);f=c.add(this.g[0],h,h,this.Tc.bind(this,f),d);this.a=f.image;this.j=[f.offsetX,f.offsetY];d=f.image.width;this.h=e?f.Xd:this.a}this.l= -[h/2,h/2];this.s=[h,h];this.i=[d,d];Ug.call(this,{opacity:1,rotateWithView:!1,rotation:0,scale:1,snapToPixel:void 0!==b.snapToPixel?b.snapToPixel:!0})}M(Gi,Ug);n=Gi.prototype;n.ab=function(){return this.l};n.Fa=function(){return this.f};n.tb=function(){return this.h};n.S=function(){return this.a};n.ib=function(){return 2};n.Nb=function(){return this.i};n.ia=function(){return this.j};n.Ha=function(){return this.s};n.sa=function(){return this.b};n.Wb=N;n.load=N;n.dc=N; -n.Tc=function(b,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();c.arc(b.size/2,b.size/2,this.c,0,2*Math.PI,!0);this.f&&(c.fillStyle=yd(this.f.ca()),c.fill());this.b&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.jb,b.lineDash&&c.setLineDash(b.lineDash),c.stroke());c.closePath()}; -n.Sc=function(b,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();c.arc(b.size/2,b.size/2,this.c,0,2*Math.PI,!0);c.fillStyle=vd(ui);c.fill();this.b&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.jb,b.lineDash&&c.setLineDash(b.lineDash),c.stroke());c.closePath()};function Hi(b){b=b||{};this.f=null;this.b=Ii;void 0!==b.geometry&&Ji(this,b.geometry);this.c=void 0!==b.fill?b.fill:null;this.g=void 0!==b.image?b.image:null;this.h=void 0!==b.stroke?b.stroke:null;this.ta=void 0!==b.text?b.text:null;this.a=b.zIndex}Hi.prototype.M=function(){return this.f};Hi.prototype.Fa=function(){return this.c};Hi.prototype.S=function(){return this.g};Hi.prototype.sa=function(){return this.h}; -function Ji(b,c){ga(c)?b.b=c:"string"===typeof c?b.b=function(b){return b.get(c)}:c?void 0!==c&&(b.b=function(){return c}):b.b=Ii;b.f=c}function Ki(b){if(!ga(b)){var c;c=Array.isArray(b)?b:[b];b=function(){return c}}return b}var Li=null;function Mi(){if(!Li){var b=new yi({color:"rgba(255,255,255,0.4)"}),c=new Ei({color:"#3399CC",width:1.25});Li=[new Hi({image:new Gi({fill:b,stroke:c,radius:5}),fill:b,stroke:c})]}return Li} -function Ni(){var b={},c=[255,255,255,1],d=[0,153,255,1];b.Polygon=[new Hi({fill:new yi({color:[255,255,255,.5]})})];b.MultiPolygon=b.Polygon;b.LineString=[new Hi({stroke:new Ei({color:c,width:5})}),new Hi({stroke:new Ei({color:d,width:3})})];b.MultiLineString=b.LineString;b.Circle=b.Polygon.concat(b.LineString);b.Point=[new Hi({image:new Gi({radius:6,fill:new yi({color:d}),stroke:new Ei({color:c,width:1.5})}),zIndex:Infinity})];b.MultiPoint=b.Point;b.GeometryCollection=b.Polygon.concat(b.LineString, -b.Point);return b}function Ii(b){return b.M()};function Y(b){b=b?b:{};var c=Va({},b);delete c.style;delete c.renderBuffer;delete c.updateWhileAnimating;delete c.updateWhileInteracting;Gg.call(this,c);this.a=void 0!==b.renderBuffer?b.renderBuffer:100;this.o=null;this.g=void 0;this.s(b.style);this.i=void 0!==b.updateWhileAnimating?b.updateWhileAnimating:!1;this.j=void 0!==b.updateWhileInteracting?b.updateWhileInteracting:!1}M(Y,Gg);Y.prototype.s=function(b){this.o=void 0!==b?b:Mi;this.g=null===b?void 0:Ki(this.o);this.w()};function Oi(b,c,d,e,f){this.c=b;this.u=c;this.l=d;this.v=e;this.La=f;this.g=this.a=this.b=this.Z=this.T=this.R=null;this.ba=this.ka=this.o=this.D=this.J=this.A=0;this.ga=!1;this.h=this.na=0;this.Ca=!1;this.V=0;this.f="";this.j=this.H=this.Da=this.oa=0;this.G=this.B=this.i=null;this.s=[];this.Ea=yb()}M(Oi,Eg); -function Pi(b,c,d){if(b.g){c=zc(c,0,d,2,b.v,b.s);d=b.c;var e=b.Ea,f=d.globalAlpha;1!=b.o&&(d.globalAlpha=f*b.o);var g=b.na;b.ga&&(g+=b.La);var h,k;h=0;for(k=c.length;h<k;h+=2){var l=c[h]-b.A,m=c[h+1]-b.J;b.Ca&&(l=Math.round(l),m=Math.round(m));if(0!==g||1!=b.h){var p=l+b.A,q=m+b.J;Ig(e,p,q,b.h,b.h,g,-p,-q);d.setTransform(e[0],e[1],e[4],e[5],e[12],e[13])}d.drawImage(b.g,b.ka,b.ba,b.V,b.D,l,m,b.V,b.D)}0===g&&1==b.h||d.setTransform(1,0,0,1,0,0);1!=b.o&&(d.globalAlpha=f)}} -function Qi(b,c,d,e){var f=0;if(b.G&&""!==b.f){b.i&&Ri(b,b.i);b.B&&Si(b,b.B);var g=b.G,h=b.c,k=b.Z;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,b.Z={font:g.font,textAlign:g.textAlign,textBaseline:g.textBaseline});c=zc(c,f,d,e,b.v,b.s);for(g=b.c;f<d;f+=e){h=c[f]+b.oa;k=c[f+1]+b.Da;if(0!==b.H|| -1!=b.j){var l=Ig(b.Ea,h,k,b.j,b.j,b.H,-h,-k);g.setTransform(l[0],l[1],l[4],l[5],l[12],l[13])}b.B&&g.strokeText(b.f,h,k);b.i&&g.fillText(b.f,h,k)}0===b.H&&1==b.j||g.setTransform(1,0,0,1,0,0)}}function Ti(b,c,d,e,f,g){var h=b.c;b=zc(c,d,e,f,b.v,b.s);h.moveTo(b[0],b[1]);c=b.length;g&&(c-=2);for(d=2;d<c;d+=2)h.lineTo(b[d],b[d+1]);g&&h.closePath();return e}function Ui(b,c,d,e,f){var g,h;g=0;for(h=e.length;g<h;++g)d=Ti(b,c,d,e[g],f,!0);return d}n=Oi.prototype; -n.rc=function(b){if($b(this.l,b.C())){if(this.b||this.a){this.b&&Ri(this,this.b);this.a&&Si(this,this.a);var c;c=this.v;var d=this.s,e=b.a;c=e?zc(e,0,e.length,b.b,c,d):null;d=c[2]-c[0];e=c[3]-c[1];d=Math.sqrt(d*d+e*e);e=this.c;e.beginPath();e.arc(c[0],c[1],d,0,2*Math.PI);this.b&&e.fill();this.a&&e.stroke()}""!==this.f&&Qi(this,b.a.slice(0,b.b),2,2)}};n.$a=function(b){var c=b.a;b=b.b;this.g&&Pi(this,c,c.length);""!==this.f&&Qi(this,c,c.length,b)}; -n.Za=function(b){var c=b.a;b=b.b;this.g&&Pi(this,c,c.length);""!==this.f&&Qi(this,c,c.length,b)};n.sc=function(b){if($b(this.l,b.C())){if(this.a){Si(this,this.a);var c=this.c,d=b.a;c.beginPath();Ti(this,d,0,d.length,b.b,!1);c.stroke()}""!==this.f&&(b=Vi(b),Qi(this,b,2,2))}}; -n.tc=function(b){var c=b.C();if($b(this.l,c)){if(this.a){Si(this,this.a);var c=this.c,d=b.a,e=0,f=b.bb(),g=b.b;c.beginPath();var h,k;h=0;for(k=f.length;h<k;++h)e=Ti(this,d,e,f[h],g,!1);c.stroke()}""!==this.f&&(b=Wi(b),Qi(this,b,b.length,2))}};n.vc=function(b){if($b(this.l,b.C())){if(this.a||this.b){this.b&&Ri(this,this.b);this.a&&Si(this,this.a);var c=this.c;c.beginPath();Ui(this,Uc(b),0,b.bb(),b.b);this.b&&c.fill();this.a&&c.stroke()}""!==this.f&&(b=Vc(b),Qi(this,b,2,2))}}; -n.uc=function(b){if($b(this.l,b.C())){if(this.a||this.b){this.b&&Ri(this,this.b);this.a&&Si(this,this.a);var c=this.c,d=Xi(b),e=0,f=b.c,g=b.b,h,k;h=0;for(k=f.length;h<k;++h){var l=f[h];c.beginPath();e=Ui(this,d,e,l,g);this.b&&c.fill();this.a&&c.stroke()}}""!==this.f&&(b=Yi(b),Qi(this,b,b.length,2))}};function Ri(b,c){var d=b.c,e=b.R;e?e.fillStyle!=c.fillStyle&&(e.fillStyle=d.fillStyle=c.fillStyle):(d.fillStyle=c.fillStyle,b.R={fillStyle:c.fillStyle})} -function Si(b,c){var d=b.c,e=b.T;e?(e.lineCap!=c.lineCap&&(e.lineCap=d.lineCap=c.lineCap),Ef&&!La(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,Ef&&d.setLineDash(c.lineDash),d.lineJoin=c.lineJoin,d.lineWidth= +function Ei(b,c){var d;void 0===d&&(d=c.length);for(var e=d-b.b,f=b.g,g=b.f,h=0;h<d;){if(0==g)for(;h<=e;)Di(b,c,h),h+=b.b;if(da(c))for(;h<d;){if(f[g++]=c.charCodeAt(h++),g==b.b){Di(b,f);g=0;break}}else for(;h<d;)if(f[g++]=c[h++],g==b.b){Di(b,f);g=0;break}}b.f=g;b.c+=d};function Fi(b){b=b||{};this.b=void 0!==b.color?b.color:null;this.c=b.lineCap;this.a=void 0!==b.lineDash?b.lineDash:null;this.g=b.lineJoin;this.h=b.miterLimit;this.f=b.width;this.l=void 0} +function Gi(b){if(void 0===b.l){var c="s"+(b.b?wd(b.b):"-")+","+(void 0!==b.c?b.c.toString():"-")+","+(b.a?b.a.toString():"-")+","+(void 0!==b.g?b.g:"-")+","+(void 0!==b.h?b.h.toString():"-")+","+(void 0!==b.f?b.f.toString():"-"),d=new Ci;Ei(d,c);var e=Array((56>d.f?d.b:2*d.b)-d.f);e[0]=128;for(c=1;c<e.length-8;++c)e[c]=0;for(var f=8*d.c,c=e.length-8;c<e.length;++c)e[c]=f&255,f/=256;Ei(d,e);e=Array(16);for(c=f=0;4>c;++c)for(var g=0;32>g;g+=8)e[f++]=d.a[c]>>>g&255;if(8192>=e.length)d=String.fromCharCode.apply(null, +e);else for(d="",c=0;c<e.length;c+=8192)d+=String.fromCharCode.apply(null,sd(e,c,c+8192));b.l=d}return b.l};function Hi(b){b=b||{};this.h=this.a=this.c=null;this.g=void 0!==b.fill?b.fill:null;this.b=void 0!==b.stroke?b.stroke:null;this.f=b.radius;this.j=[0,0];this.i=this.H=this.l=null;var c=b.atlasManager,d,e=null,f,g=0;this.b&&(f=wd(this.b.b),g=this.b.f,void 0===g&&(g=1),e=this.b.a,Ff||(e=null));var h=2*(this.f+g)+1;f={strokeStyle:f,Za:g,size:h,lineDash:e};if(void 0===c)this.a=document.createElement("CANVAS"),this.a.height=h,this.a.width=h,d=h=this.a.width,c=this.a.getContext("2d"),this.Jc(f,c,0,0),this.g? +this.h=this.a:(c=this.h=document.createElement("CANVAS"),c.height=f.size,c.width=f.size,c=c.getContext("2d"),this.Ic(f,c,0,0));else{h=Math.round(h);(e=!this.g)&&(d=this.Ic.bind(this,f));var g=this.b?Gi(this.b):"-",k=this.g?Ai(this.g):"-";this.c&&g==this.c[1]&&k==this.c[2]&&this.f==this.c[3]||(this.c=["c"+g+k+(void 0!==this.f?this.f.toString():"-"),g,k,this.f]);f=c.add(this.c[0],h,h,this.Jc.bind(this,f),d);this.a=f.image;this.j=[f.offsetX,f.offsetY];d=f.image.width;this.h=e?f.Id:this.a}this.l=[h/2, +h/2];this.H=[h,h];this.i=[d,d];Vg.call(this,{opacity:1,rotateWithView:!1,rotation:0,scale:1,snapToPixel:void 0!==b.snapToPixel?b.snapToPixel:!0})}M(Hi,Vg);n=Hi.prototype;n.Sa=function(){return this.l};n.jb=function(){return this.h};n.S=function(){return this.a};n.Ya=function(){return 2};n.Db=function(){return this.i};n.fa=function(){return this.j};n.ya=function(){return this.H};n.Mb=N;n.load=N;n.Ub=N; +n.Jc=function(b,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();c.arc(b.size/2,b.size/2,this.f,0,2*Math.PI,!0);this.g&&(c.fillStyle=zd(this.g.a),c.fill());this.b&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.Za,b.lineDash&&c.setLineDash(b.lineDash),c.stroke());c.closePath()}; +n.Ic=function(b,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();c.arc(b.size/2,b.size/2,this.f,0,2*Math.PI,!0);c.fillStyle=wd(vi);c.fill();this.b&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.Za,b.lineDash&&c.setLineDash(b.lineDash),c.stroke());c.closePath()};function Ii(b){b=b||{};this.h=null;this.f=Ji;void 0!==b.geometry&&Ki(this,b.geometry);this.g=void 0!==b.fill?b.fill:null;this.l=void 0!==b.image?b.image:null;this.c=void 0!==b.stroke?b.stroke:null;this.b=void 0!==b.text?b.text:null;this.a=b.zIndex}Ii.prototype.M=function(){return this.h};Ii.prototype.S=function(){return this.l};function Ki(b,c){ga(c)?b.f=c:"string"===typeof c?b.f=function(b){return b.get(c)}:c?void 0!==c&&(b.f=function(){return c}):b.f=Ji;b.h=c} +function Li(b){if(!ga(b)){var c;c=Array.isArray(b)?b:[b];b=function(){return c}}return b}var Mi=null;function Ni(){if(!Mi){var b=new zi({color:"rgba(255,255,255,0.4)"}),c=new Fi({color:"#3399CC",width:1.25});Mi=[new Ii({image:new Hi({fill:b,stroke:c,radius:5}),fill:b,stroke:c})]}return Mi} +function Oi(){var b={},c=[255,255,255,1],d=[0,153,255,1];b.Polygon=[new Ii({fill:new zi({color:[255,255,255,.5]})})];b.MultiPolygon=b.Polygon;b.LineString=[new Ii({stroke:new Fi({color:c,width:5})}),new Ii({stroke:new Fi({color:d,width:3})})];b.MultiLineString=b.LineString;b.Circle=b.Polygon.concat(b.LineString);b.Point=[new Ii({image:new Hi({radius:6,fill:new zi({color:d}),stroke:new Fi({color:c,width:1.5})}),zIndex:Infinity})];b.MultiPoint=b.Point;b.GeometryCollection=b.Polygon.concat(b.LineString, +b.Point);return b}function Ji(b){return b.M()};function Y(b){b=b?b:{};var c=Va({},b);delete c.style;delete c.renderBuffer;delete c.updateWhileAnimating;delete c.updateWhileInteracting;Hg.call(this,c);this.a=void 0!==b.renderBuffer?b.renderBuffer:100;this.o=null;this.g=void 0;this.s(b.style);this.i=void 0!==b.updateWhileAnimating?b.updateWhileAnimating:!1;this.j=void 0!==b.updateWhileInteracting?b.updateWhileInteracting:!1}M(Y,Hg);Y.prototype.s=function(b){this.o=void 0!==b?b:Ni;this.g=null===b?void 0:Li(this.o);this.w()};function Pi(b,c,d,e,f){this.c=b;this.u=c;this.l=d;this.v=e;this.Ca=f;this.g=this.a=this.b=this.Z=this.T=this.R=null;this.aa=this.ha=this.o=this.D=this.I=this.A=0;this.da=!1;this.h=this.ka=0;this.ua=!1;this.V=0;this.f="";this.j=this.H=this.va=this.la=0;this.G=this.B=this.i=null;this.s=[];this.wa=yb()}M(Pi,Fg); +function Qi(b,c,d){if(b.g){c=zc(c,0,d,2,b.v,b.s);d=b.c;var e=b.wa,f=d.globalAlpha;1!=b.o&&(d.globalAlpha=f*b.o);var g=b.ka;b.da&&(g+=b.Ca);var h,k;h=0;for(k=c.length;h<k;h+=2){var l=c[h]-b.A,m=c[h+1]-b.I;b.ua&&(l=Math.round(l),m=Math.round(m));if(0!==g||1!=b.h){var p=l+b.A,q=m+b.I;Jg(e,p,q,b.h,b.h,g,-p,-q);d.setTransform(e[0],e[1],e[4],e[5],e[12],e[13])}d.drawImage(b.g,b.ha,b.aa,b.V,b.D,l,m,b.V,b.D)}0===g&&1==b.h||d.setTransform(1,0,0,1,0,0);1!=b.o&&(d.globalAlpha=f)}} +function Ri(b,c,d,e){var f=0;if(b.G&&""!==b.f){b.i&&Si(b,b.i);b.B&&Ti(b,b.B);var g=b.G,h=b.c,k=b.Z;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,b.Z={font:g.font,textAlign:g.textAlign,textBaseline:g.textBaseline});c=zc(c,f,d,e,b.v,b.s);for(g=b.c;f<d;f+=e){h=c[f]+b.la;k=c[f+1]+b.va;if(0!==b.H|| +1!=b.j){var l=Jg(b.wa,h,k,b.j,b.j,b.H,-h,-k);g.setTransform(l[0],l[1],l[4],l[5],l[12],l[13])}b.B&&g.strokeText(b.f,h,k);b.i&&g.fillText(b.f,h,k)}0===b.H&&1==b.j||g.setTransform(1,0,0,1,0,0)}}function Ui(b,c,d,e,f,g){var h=b.c;b=zc(c,d,e,f,b.v,b.s);h.moveTo(b[0],b[1]);c=b.length;g&&(c-=2);for(d=2;d<c;d+=2)h.lineTo(b[d],b[d+1]);g&&h.closePath();return e}function Vi(b,c,d,e,f){var g,h;g=0;for(h=e.length;g<h;++g)d=Ui(b,c,d,e[g],f,!0);return d}n=Pi.prototype; +n.hc=function(b){if($b(this.l,b.C())){if(this.b||this.a){this.b&&Si(this,this.b);this.a&&Ti(this,this.a);var c;c=this.v;var d=this.s,e=b.a;c=e?zc(e,0,e.length,b.b,c,d):null;d=c[2]-c[0];e=c[3]-c[1];d=Math.sqrt(d*d+e*e);e=this.c;e.beginPath();e.arc(c[0],c[1],d,0,2*Math.PI);this.b&&e.fill();this.a&&e.stroke()}""!==this.f&&Ri(this,b.a.slice(0,b.b),2,2)}};n.Ra=function(b){var c=b.a;b=b.b;this.g&&Qi(this,c,c.length);""!==this.f&&Ri(this,c,c.length,b)}; +n.Qa=function(b){var c=b.a;b=b.b;this.g&&Qi(this,c,c.length);""!==this.f&&Ri(this,c,c.length,b)};n.ic=function(b){if($b(this.l,b.C())){if(this.a){Ti(this,this.a);var c=this.c,d=b.a;c.beginPath();Ui(this,d,0,d.length,b.b,!1);c.stroke()}""!==this.f&&(b=Wi(b),Ri(this,b,2,2))}}; +n.jc=function(b){var c=b.C();if($b(this.l,c)){if(this.a){Ti(this,this.a);var c=this.c,d=b.a,e=0,f=b.Ta(),g=b.b;c.beginPath();var h,k;h=0;for(k=f.length;h<k;++h)e=Ui(this,d,e,f[h],g,!1);c.stroke()}""!==this.f&&(b=Xi(b),Ri(this,b,b.length,2))}};n.lc=function(b){if($b(this.l,b.C())){if(this.a||this.b){this.b&&Si(this,this.b);this.a&&Ti(this,this.a);var c=this.c;c.beginPath();Vi(this,Uc(b),0,b.Ta(),b.b);this.b&&c.fill();this.a&&c.stroke()}""!==this.f&&(b=Vc(b),Ri(this,b,2,2))}}; +n.kc=function(b){if($b(this.l,b.C())){if(this.a||this.b){this.b&&Si(this,this.b);this.a&&Ti(this,this.a);var c=this.c,d=Yi(b),e=0,f=b.c,g=b.b,h,k;h=0;for(k=f.length;h<k;++h){var l=f[h];c.beginPath();e=Vi(this,d,e,l,g);this.b&&c.fill();this.a&&c.stroke()}}""!==this.f&&(b=Zi(b),Ri(this,b,b.length,2))}};function Si(b,c){var d=b.c,e=b.R;e?e.fillStyle!=c.fillStyle&&(e.fillStyle=d.fillStyle=c.fillStyle):(d.fillStyle=c.fillStyle,b.R={fillStyle:c.fillStyle})} +function Ti(b,c){var d=b.c,e=b.T;e?(e.lineCap!=c.lineCap&&(e.lineCap=d.lineCap=c.lineCap),Ff&&!La(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,Ff&&d.setLineDash(c.lineDash),d.lineJoin=c.lineJoin,d.lineWidth= c.lineWidth,d.miterLimit=c.miterLimit,d.strokeStyle=c.strokeStyle,b.T={lineCap:c.lineCap,lineDash:c.lineDash,lineJoin:c.lineJoin,lineWidth:c.lineWidth,miterLimit:c.miterLimit,strokeStyle:c.strokeStyle})} -n.Ia=function(b,c){if(b){var d=b.ca();this.b={fillStyle:yd(d?d:ui)}}else this.b=null;if(c){var d=c.ca(),e=c.wa,f=c.getLineDash(),g=c.xa,h=c.da(),k=c.ya;this.a={lineCap:void 0!==e?e:"round",lineDash:f?f:vi,lineJoin:void 0!==g?g:"round",lineWidth:this.u*(void 0!==h?h:1),miterLimit:void 0!==k?k:10,strokeStyle:vd(d?d:wi)}}else this.a=null}; -n.Ja=function(b){if(b){var c=b.ab(),d=b.S(1),e=b.ia(),f=b.Ha();this.A=c[0];this.J=c[1];this.D=f[1];this.g=d;this.o=b.B;this.ka=e[0];this.ba=e[1];this.ga=b.o;this.na=b.$();this.h=b.hb;this.Ca=b.u;this.V=f[0]}else this.g=null}; -n.Aa=function(b){if(b){var c=b.Fa();c?(c=c.ca(),this.i={fillStyle:yd(c?c:ui)}):this.i=null;var d=b.sa();if(d){var c=d.ca(),e=d.wa,f=d.getLineDash(),g=d.xa,h=d.da(),d=d.ya;this.B={lineCap:void 0!==e?e:"round",lineDash:f?f:vi,lineJoin:void 0!==g?g:"round",lineWidth:void 0!==h?h:1,miterLimit:void 0!==d?d:10,strokeStyle:vd(c?c:wi)}}else this.B=null;var c=b.td(),e=b.ud(),f=b.vd(),g=b.$(),h=b.hb,d=b.ta,k=b.wd();b=b.xd();this.G={font:void 0!==c?c:"10px sans-serif",textAlign:void 0!==k?k:"center",textBaseline:void 0!== -b?b:"middle"};this.f=void 0!==d?d:"";this.oa=void 0!==e?this.u*e:0;this.Da=void 0!==f?this.u*f:0;this.H=void 0!==g?g:0;this.j=this.u*(void 0!==h?h:1)}else this.f=""};function Zi(b){Lg.call(this,b);this.J=yb()}M(Zi,Lg); -Zi.prototype.g=function(b,c,d){$i(this,"precompose",d,b,void 0);var e=this.S();if(e){var f=c.extent,g=void 0!==f;if(g){var h=b.pixelRatio,k=b.size[0]*h,l=b.size[1]*h,m=b.viewState.rotation,p=ac(f),q=[f[2],f[3]],r=[f[2],f[1]],f=Wb(f);Kg(b.coordinateToPixelMatrix,p,p);Kg(b.coordinateToPixelMatrix,q,q);Kg(b.coordinateToPixelMatrix,r,r);Kg(b.coordinateToPixelMatrix,f,f);d.save();xi(d,-m,k/2,l/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();xi(d,m,k/2,l/2)}h=this.D;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()}$i(this,"postcompose",d,b,void 0)}; -function $i(b,c,d,e,f){var g=b.a;if(mb(g,c)){var h=e.size[0]*e.pixelRatio,k=e.size[1]*e.pixelRatio,l=e.viewState.rotation;xi(d,-l,h/2,k/2);b=void 0!==f?f:aj(b,e,0);b=new Oi(d,e.pixelRatio,e.extent,b,e.viewState.rotation);T(g,new Fg(c,g,b,e,d,null));xi(d,l,h/2,k/2)}}function aj(b,c,d){var e=c.viewState,f=c.pixelRatio;return Ig(b.J,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 bj=["Polygon","LineString","Image","Text"];function cj(b,c,d){this.ba=b;this.G=c;this.c=null;this.g=0;this.resolution=d;this.D=this.J=null;this.b=[];this.coordinates=[];this.T=yb();this.a=[];this.R=[];this.Z=yb();this.ka=yb()}M(cj,Eg); -function dj(b,c,d,e,f,g){var h=b.coordinates.length,k=b.Mb(),l=[c[d],c[d+1]],m=[NaN,NaN],p=!0,q,r,u;for(q=d+f;q<e;q+=f){m[0]=c[q];m[1]=c[q+1];u=k[1];var w=k[2],y=k[3],z=m[0],D=m[1],t=0;z<k[0]?t=t|16:z>w&&(t=t|4);D<u?t|=8:D>y&&(t|=2);0===t&&(t=1);u=t;u!==r?(p&&(b.coordinates[h++]=l[0],b.coordinates[h++]=l[1]),b.coordinates[h++]=m[0],b.coordinates[h++]=m[1],p=!1):1===u?(b.coordinates[h++]=m[0],b.coordinates[h++]=m[1],p=!1):p=!0;l[0]=m[0];l[1]=m[1];r=u}q===d+f&&(b.coordinates[h++]=l[0],b.coordinates[h++]= -l[1]);g&&(b.coordinates[h++]=c[d],b.coordinates[h++]=c[d+1]);return h}function ej(b,c){b.J=[0,c,0];b.b.push(b.J);b.D=[0,c,0];b.a.push(b.D)} -function fj(b,c,d,e,f,g,h,k,l){var m;Jg(e,b.T)?m=b.R:(m=zc(b.coordinates,0,b.coordinates.length,2,e,b.R),Bb(b.T,e));e=!Za(g);var p=0,q=h.length,r=0,u,w=b.Z;b=b.ka;for(var y,z,D,t;p<q;){var v=h[p],B,F,C,G;switch(v[0]){case 0:r=v[1];e&&g[I(r).toString()]||!r.M()?p=v[2]:void 0===l||$b(l,r.M().C())?++p:p=v[2];break;case 1:c.beginPath();++p;break;case 2:r=v[1];u=m[r];v=m[r+1];D=m[r+2]-u;r=m[r+3]-v;c.arc(u,v,Math.sqrt(D*D+r*r),0,2*Math.PI,!0);++p;break;case 3:c.closePath();++p;break;case 4:r=v[1];u=v[2]; -B=v[3];C=v[4]*d;var J=v[5]*d,A=v[6];F=v[7];var H=v[8],O=v[9];D=v[11];t=v[12];var Q=v[13],L=v[14];for(v[10]&&(D+=f);r<u;r+=2){v=m[r]-C;G=m[r+1]-J;Q&&(v=Math.round(v),G=Math.round(G));if(1!=t||0!==D){var K=v+C,fa=G+J;Ig(w,K,fa,t,t,D,-K,-fa);c.transform(w[0],w[1],w[4],w[5],w[12],w[13])}K=c.globalAlpha;1!=F&&(c.globalAlpha=K*F);var fa=L+H>B.width?B.width-H:L,ra=A+O>B.height?B.height-O:A;c.drawImage(B,H,O,fa,ra,v,G,fa*d,ra*d);1!=F&&(c.globalAlpha=K);if(1!=t||0!==D)Db(w,b),c.transform(b[0],b[1],b[4],b[5], -b[12],b[13])}++p;break;case 5:r=v[1];u=v[2];C=v[3];J=v[4]*d;A=v[5]*d;D=v[6];t=v[7]*d;B=v[8];for(F=v[9];r<u;r+=2){v=m[r]+J;G=m[r+1]+A;if(1!=t||0!==D)Ig(w,v,G,t,t,D,-v,-G),c.transform(w[0],w[1],w[4],w[5],w[12],w[13]);H=C.split("\n");O=H.length;1<O?(Q=Math.round(1.5*c.measureText("M").width),G-=(O-1)/2*Q):Q=0;for(L=0;L<O;L++)K=H[L],F&&c.strokeText(K,v,G),B&&c.fillText(K,v,G),G+=Q;if(1!=t||0!==D)Db(w,b),c.transform(b[0],b[1],b[4],b[5],b[12],b[13])}++p;break;case 6:if(void 0!==k&&(r=v[1],r=k(r)))return r; -++p;break;case 7:c.fill();++p;break;case 8:r=v[1];u=v[2];v=m[r];G=m[r+1];D=v+.5|0;t=G+.5|0;if(D!==y||t!==z)c.moveTo(v,G),y=D,z=t;for(r+=2;r<u;r+=2)if(v=m[r],G=m[r+1],D=v+.5|0,t=G+.5|0,D!==y||t!==z)c.lineTo(v,G),y=D,z=t;++p;break;case 9:c.fillStyle=v[1];++p;break;case 10:y=void 0!==v[7]?v[7]:!0;z=v[2];c.strokeStyle=v[1];c.lineWidth=y?z*d:z;c.lineCap=v[3];c.lineJoin=v[4];c.miterLimit=v[5];Ef&&c.setLineDash(v[6]);z=y=NaN;++p;break;case 11:c.font=v[1];c.textAlign=v[2];c.textBaseline=v[3];++p;break;case 12:c.stroke(); -++p;break;default:++p}}}function gj(b){var c=b.a;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=b.a;for(g=d;h<g;){var k=f[h];f[h]=f[g];f[g]=k;++h;--g}h=-1}}function hj(b,c){b.J[2]=b.b.length;b.J=null;b.D[2]=b.a.length;b.D=null;var d=[6,c];b.b.push(d);b.a.push(d)}cj.prototype.sb=N;cj.prototype.Mb=function(){return this.G}; -function ij(b,c,d){cj.call(this,b,c,d);this.i=this.V=null;this.A=this.v=this.H=this.u=this.s=this.o=this.B=this.j=this.l=this.h=this.f=void 0}M(ij,cj);ij.prototype.$a=function(b,c){if(this.i){ej(this,c);var d=b.a,e=this.coordinates.length,d=dj(this,d,0,d.length,b.b,!1);this.b.push([4,e,d,this.i,this.f,this.h,this.l,this.j,this.B,this.o,this.s,this.u,this.H,this.v,this.A]);this.a.push([4,e,d,this.V,this.f,this.h,this.l,this.j,this.B,this.o,this.s,this.u,this.H,this.v,this.A]);hj(this,c)}}; -ij.prototype.Za=function(b,c){if(this.i){ej(this,c);var d=b.a,e=this.coordinates.length,d=dj(this,d,0,d.length,b.b,!1);this.b.push([4,e,d,this.i,this.f,this.h,this.l,this.j,this.B,this.o,this.s,this.u,this.H,this.v,this.A]);this.a.push([4,e,d,this.V,this.f,this.h,this.l,this.j,this.B,this.o,this.s,this.u,this.H,this.v,this.A]);hj(this,c)}};ij.prototype.sb=function(){gj(this);this.h=this.f=void 0;this.i=this.V=null;this.A=this.v=this.u=this.s=this.o=this.B=this.j=this.H=this.l=void 0}; -ij.prototype.Ja=function(b){var c=b.ab(),d=b.Ha(),e=b.tb(1),f=b.S(1),g=b.ia();this.f=c[0];this.h=c[1];this.V=e;this.i=f;this.l=d[1];this.j=b.B;this.B=g[0];this.o=g[1];this.s=b.o;this.u=b.$();this.H=b.hb;this.v=b.u;this.A=d[0]};function jj(b,c,d){cj.call(this,b,c,d);this.f={Ya:void 0,Ta:void 0,Ua:null,Va:void 0,Wa:void 0,Xa:void 0,Vb:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}M(jj,cj); -function kj(b,c,d,e,f){var g=b.coordinates.length;c=dj(b,c,d,e,f,!1);g=[8,g,c];b.b.push(g);b.a.push(g);return e}n=jj.prototype;n.Mb=function(){this.c||(this.c=Lb(this.G),0<this.g&&Kb(this.c,this.resolution*(this.g+1)/2,this.c));return this.c}; -function lj(b){var c=b.f,d=c.strokeStyle,e=c.lineCap,f=c.lineDash,g=c.lineJoin,h=c.lineWidth,k=c.miterLimit;c.Ya==d&&c.Ta==e&&La(c.Ua,f)&&c.Va==g&&c.Wa==h&&c.Xa==k||(c.Vb!=b.coordinates.length&&(b.b.push([12]),c.Vb=b.coordinates.length),b.b.push([10,d,h,e,g,k,f],[1]),c.Ya=d,c.Ta=e,c.Ua=f,c.Va=g,c.Wa=h,c.Xa=k)} -n.sc=function(b,c){var d=this.f,e=d.lineWidth;void 0!==d.strokeStyle&&void 0!==e&&(lj(this),ej(this,c),this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash],[1]),d=b.a,kj(this,d,0,d.length,b.b),this.a.push([12]),hj(this,c))}; -n.tc=function(b,c){var d=this.f,e=d.lineWidth;if(void 0!==d.strokeStyle&&void 0!==e){lj(this);ej(this,c);this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash],[1]);var d=b.bb(),e=b.a,f=b.b,g=0,h,k;h=0;for(k=d.length;h<k;++h)g=kj(this,e,g,d[h],f);this.a.push([12]);hj(this,c)}};n.sb=function(){this.f.Vb!=this.coordinates.length&&this.b.push([12]);gj(this);this.f=null}; -n.Ia=function(b,c){var d=c.ca();this.f.strokeStyle=vd(d?d:wi);d=c.wa;this.f.lineCap=void 0!==d?d:"round";d=c.getLineDash();this.f.lineDash=d?d:vi;d=c.xa;this.f.lineJoin=void 0!==d?d:"round";d=c.da();this.f.lineWidth=void 0!==d?d:1;d=c.ya;this.f.miterLimit=void 0!==d?d:10;this.f.lineWidth>this.g&&(this.g=this.f.lineWidth,this.c=null)}; -function mj(b,c,d){cj.call(this,b,c,d);this.f={qc:void 0,Ya:void 0,Ta:void 0,Ua:null,Va:void 0,Wa:void 0,Xa:void 0,fillStyle:void 0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}M(mj,cj); -function nj(b,c,d,e,f){var g=b.f,h=[1];b.b.push(h);b.a.push(h);var k,h=0;for(k=e.length;h<k;++h){var l=e[h],m=b.coordinates.length;d=dj(b,c,d,l,f,!0);d=[8,m,d];m=[3];b.b.push(d,m);b.a.push(d,m);d=l}c=[7];b.a.push(c);void 0!==g.fillStyle&&b.b.push(c);void 0!==g.strokeStyle&&(g=[12],b.b.push(g),b.a.push(g));return d}n=mj.prototype; -n.rc=function(b,c){var d=this.f,e=d.strokeStyle;if(void 0!==d.fillStyle||void 0!==e){oj(this);ej(this,c);this.a.push([9,vd(ui)]);void 0!==d.strokeStyle&&this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]);var f=b.a,e=this.coordinates.length;dj(this,f,0,f.length,b.b,!1);f=[1];e=[2,e];this.b.push(f,e);this.a.push(f,e);e=[7];this.a.push(e);void 0!==d.fillStyle&&this.b.push(e);void 0!==d.strokeStyle&&(d=[12],this.b.push(d),this.a.push(d));hj(this,c)}}; -n.vc=function(b,c){var d=this.f,e=d.strokeStyle;if(void 0!==d.fillStyle||void 0!==e)oj(this),ej(this,c),this.a.push([9,vd(ui)]),void 0!==d.strokeStyle&&this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]),d=b.bb(),e=Uc(b),nj(this,e,0,d,b.b),hj(this,c)}; -n.uc=function(b,c){var d=this.f,e=d.strokeStyle;if(void 0!==d.fillStyle||void 0!==e){oj(this);ej(this,c);this.a.push([9,vd(ui)]);void 0!==d.strokeStyle&&this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]);var d=b.c,e=Xi(b),f=b.b,g=0,h,k;h=0;for(k=d.length;h<k;++h)g=nj(this,e,g,d[h],f);hj(this,c)}};n.sb=function(){gj(this);this.f=null;var b=this.ba;if(0!==b){var c=this.coordinates,d,e;d=0;for(e=c.length;d<e;++d)c[d]=b*Math.round(c[d]/b)}}; -n.Mb=function(){this.c||(this.c=Lb(this.G),0<this.g&&Kb(this.c,this.resolution*(this.g+1)/2,this.c));return this.c}; -n.Ia=function(b,c){var d=this.f;if(b){var e=b.ca();d.fillStyle=yd(e?e:ui)}else d.fillStyle=void 0;c?(e=c.ca(),d.strokeStyle=vd(e?e:wi),e=c.wa,d.lineCap=void 0!==e?e:"round",e=c.getLineDash(),d.lineDash=e?e.slice():vi,e=c.xa,d.lineJoin=void 0!==e?e:"round",e=c.da(),d.lineWidth=void 0!==e?e:1,e=c.ya,d.miterLimit=void 0!==e?e:10,d.lineWidth>this.g&&(this.g=d.lineWidth,this.c=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 oj(b){var c=b.f,d=c.fillStyle,e=c.strokeStyle,f=c.lineCap,g=c.lineDash,h=c.lineJoin,k=c.lineWidth,l=c.miterLimit;void 0!==d&&c.qc!=d&&(b.b.push([9,d]),c.qc=c.fillStyle);void 0===e||c.Ya==e&&c.Ta==f&&c.Ua==g&&c.Va==h&&c.Wa==k&&c.Xa==l||(b.b.push([10,e,k,f,h,l,g]),c.Ya=e,c.Ta=f,c.Ua=g,c.Va=h,c.Wa=k,c.Xa=l)}function pj(b,c,d){cj.call(this,b,c,d);this.v=this.H=this.u=null;this.i="";this.s=this.o=this.B=this.j=0;this.l=this.h=this.f=null}M(pj,cj); -function qj(b,c,d,e,f){if(""!==b.i&&b.l&&(b.f||b.h)){if(b.f){var g=b.f,h=b.u;if(!h||h.fillStyle!=g.fillStyle){var k=[9,g.fillStyle];b.b.push(k);b.a.push(k);h?h.fillStyle=g.fillStyle:b.u={fillStyle:g.fillStyle}}}b.h&&(g=b.h,h=b.H,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],b.b.push(k),b.a.push(k),h?(h.lineCap= +n.za=function(b,c){if(b){var d=b.a;this.b={fillStyle:zd(d?d:vi)}}else this.b=null;if(c){var d=c.b,e=c.c,f=c.a,g=c.g,h=c.f,k=c.h;this.a={lineCap:void 0!==e?e:"round",lineDash:f?f:wi,lineJoin:void 0!==g?g:"round",lineWidth:this.u*(void 0!==h?h:1),miterLimit:void 0!==k?k:10,strokeStyle:wd(d?d:xi)}}else this.a=null}; +n.Aa=function(b){if(b){var c=b.Sa(),d=b.S(1),e=b.fa(),f=b.ya();this.A=c[0];this.I=c[1];this.D=f[1];this.g=d;this.o=b.B;this.ha=e[0];this.aa=e[1];this.da=b.o;this.ka=b.s;this.h=b.u;this.ua=b.v;this.V=f[0]}else this.g=null}; +n.sa=function(b){if(b){var c=b.c;c?(c=c.a,this.i={fillStyle:zd(c?c:vi)}):this.i=null;var d=b.l;if(d){var c=d.b,e=d.c,f=d.a,g=d.g,h=d.f,d=d.h;this.B={lineCap:void 0!==e?e:"round",lineDash:f?f:wi,lineJoin:void 0!==g?g:"round",lineWidth:void 0!==h?h:1,miterLimit:void 0!==d?d:10,strokeStyle:wd(c?c:xi)}}else this.B=null;var c=b.a,e=b.b,f=b.f,g=b.g,h=b.h,d=b.i,k=b.j;b=b.B;this.G={font:void 0!==c?c:"10px sans-serif",textAlign:void 0!==k?k:"center",textBaseline:void 0!==b?b:"middle"};this.f=void 0!==d?d: +"";this.la=void 0!==e?this.u*e:0;this.va=void 0!==f?this.u*f:0;this.H=void 0!==g?g:0;this.j=this.u*(void 0!==h?h:1)}else this.f=""};function $i(b){Mg.call(this,b);this.I=yb()}M($i,Mg); +$i.prototype.g=function(b,c,d){aj(this,"precompose",d,b,void 0);var e=this.S();if(e){var f=c.extent,g=void 0!==f;if(g){var h=b.pixelRatio,k=b.size[0]*h,l=b.size[1]*h,m=b.viewState.rotation,p=ac(f),q=[f[2],f[3]],r=[f[2],f[1]],f=Wb(f);Lg(b.coordinateToPixelMatrix,p,p);Lg(b.coordinateToPixelMatrix,q,q);Lg(b.coordinateToPixelMatrix,r,r);Lg(b.coordinateToPixelMatrix,f,f);d.save();yi(d,-m,k/2,l/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();yi(d,m,k/2,l/2)}h=this.D;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()}aj(this,"postcompose",d,b,void 0)}; +function aj(b,c,d,e,f){var g=b.a;if(mb(g,c)){var h=e.size[0]*e.pixelRatio,k=e.size[1]*e.pixelRatio,l=e.viewState.rotation;yi(d,-l,h/2,k/2);b=void 0!==f?f:bj(b,e,0);b=new Pi(d,e.pixelRatio,e.extent,b,e.viewState.rotation);T(g,new Gg(c,g,b,e,d,null));yi(d,l,h/2,k/2)}}function bj(b,c,d){var e=c.viewState,f=c.pixelRatio;return Jg(b.I,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 cj=["Polygon","LineString","Image","Text"];function dj(b,c,d){this.aa=b;this.G=c;this.c=null;this.g=0;this.resolution=d;this.D=this.I=null;this.b=[];this.coordinates=[];this.T=yb();this.a=[];this.R=[];this.Z=yb();this.ha=yb()}M(dj,Fg); +function ej(b,c,d,e,f,g){var h=b.coordinates.length,k=b.Cb(),l=[c[d],c[d+1]],m=[NaN,NaN],p=!0,q,r,u;for(q=d+f;q<e;q+=f){m[0]=c[q];m[1]=c[q+1];u=k[1];var w=k[2],y=k[3],z=m[0],D=m[1],t=0;z<k[0]?t=t|16:z>w&&(t=t|4);D<u?t|=8:D>y&&(t|=2);0===t&&(t=1);u=t;u!==r?(p&&(b.coordinates[h++]=l[0],b.coordinates[h++]=l[1]),b.coordinates[h++]=m[0],b.coordinates[h++]=m[1],p=!1):1===u?(b.coordinates[h++]=m[0],b.coordinates[h++]=m[1],p=!1):p=!0;l[0]=m[0];l[1]=m[1];r=u}q===d+f&&(b.coordinates[h++]=l[0],b.coordinates[h++]= +l[1]);g&&(b.coordinates[h++]=c[d],b.coordinates[h++]=c[d+1]);return h}function fj(b,c){b.I=[0,c,0];b.b.push(b.I);b.D=[0,c,0];b.a.push(b.D)} +function gj(b,c,d,e,f,g,h,k,l){var m;Kg(e,b.T)?m=b.R:(m=zc(b.coordinates,0,b.coordinates.length,2,e,b.R),Bb(b.T,e));e=!Za(g);var p=0,q=h.length,r=0,u,w=b.Z;b=b.ha;for(var y,z,D,t;p<q;){var v=h[p],B,F,C,G;switch(v[0]){case 0:r=v[1];e&&g[I(r).toString()]||!r.M()?p=v[2]:void 0===l||$b(l,r.M().C())?++p:p=v[2];break;case 1:c.beginPath();++p;break;case 2:r=v[1];u=m[r];v=m[r+1];D=m[r+2]-u;r=m[r+3]-v;c.arc(u,v,Math.sqrt(D*D+r*r),0,2*Math.PI,!0);++p;break;case 3:c.closePath();++p;break;case 4:r=v[1];u=v[2]; +B=v[3];C=v[4]*d;var J=v[5]*d,A=v[6];F=v[7];var H=v[8],O=v[9];D=v[11];t=v[12];var Q=v[13],L=v[14];for(v[10]&&(D+=f);r<u;r+=2){v=m[r]-C;G=m[r+1]-J;Q&&(v=Math.round(v),G=Math.round(G));if(1!=t||0!==D){var K=v+C,fa=G+J;Jg(w,K,fa,t,t,D,-K,-fa);c.transform(w[0],w[1],w[4],w[5],w[12],w[13])}K=c.globalAlpha;1!=F&&(c.globalAlpha=K*F);var fa=L+H>B.width?B.width-H:L,ra=A+O>B.height?B.height-O:A;c.drawImage(B,H,O,fa,ra,v,G,fa*d,ra*d);1!=F&&(c.globalAlpha=K);if(1!=t||0!==D)Db(w,b),c.transform(b[0],b[1],b[4],b[5], +b[12],b[13])}++p;break;case 5:r=v[1];u=v[2];C=v[3];J=v[4]*d;A=v[5]*d;D=v[6];t=v[7]*d;B=v[8];for(F=v[9];r<u;r+=2){v=m[r]+J;G=m[r+1]+A;if(1!=t||0!==D)Jg(w,v,G,t,t,D,-v,-G),c.transform(w[0],w[1],w[4],w[5],w[12],w[13]);H=C.split("\n");O=H.length;1<O?(Q=Math.round(1.5*c.measureText("M").width),G-=(O-1)/2*Q):Q=0;for(L=0;L<O;L++)K=H[L],F&&c.strokeText(K,v,G),B&&c.fillText(K,v,G),G+=Q;if(1!=t||0!==D)Db(w,b),c.transform(b[0],b[1],b[4],b[5],b[12],b[13])}++p;break;case 6:if(void 0!==k&&(r=v[1],r=k(r)))return r; +++p;break;case 7:c.fill();++p;break;case 8:r=v[1];u=v[2];v=m[r];G=m[r+1];D=v+.5|0;t=G+.5|0;if(D!==y||t!==z)c.moveTo(v,G),y=D,z=t;for(r+=2;r<u;r+=2)if(v=m[r],G=m[r+1],D=v+.5|0,t=G+.5|0,D!==y||t!==z)c.lineTo(v,G),y=D,z=t;++p;break;case 9:c.fillStyle=v[1];++p;break;case 10:y=void 0!==v[7]?v[7]:!0;z=v[2];c.strokeStyle=v[1];c.lineWidth=y?z*d:z;c.lineCap=v[3];c.lineJoin=v[4];c.miterLimit=v[5];Ff&&c.setLineDash(v[6]);z=y=NaN;++p;break;case 11:c.font=v[1];c.textAlign=v[2];c.textBaseline=v[3];++p;break;case 12:c.stroke(); +++p;break;default:++p}}}function hj(b){var c=b.a;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=b.a;for(g=d;h<g;){var k=f[h];f[h]=f[g];f[g]=k;++h;--g}h=-1}}function ij(b,c){b.I[2]=b.b.length;b.I=null;b.D[2]=b.a.length;b.D=null;var d=[6,c];b.b.push(d);b.a.push(d)}dj.prototype.ib=N;dj.prototype.Cb=function(){return this.G}; +function jj(b,c,d){dj.call(this,b,c,d);this.i=this.V=null;this.A=this.v=this.H=this.u=this.s=this.o=this.B=this.j=this.l=this.h=this.f=void 0}M(jj,dj);jj.prototype.Ra=function(b,c){if(this.i){fj(this,c);var d=b.a,e=this.coordinates.length,d=ej(this,d,0,d.length,b.b,!1);this.b.push([4,e,d,this.i,this.f,this.h,this.l,this.j,this.B,this.o,this.s,this.u,this.H,this.v,this.A]);this.a.push([4,e,d,this.V,this.f,this.h,this.l,this.j,this.B,this.o,this.s,this.u,this.H,this.v,this.A]);ij(this,c)}}; +jj.prototype.Qa=function(b,c){if(this.i){fj(this,c);var d=b.a,e=this.coordinates.length,d=ej(this,d,0,d.length,b.b,!1);this.b.push([4,e,d,this.i,this.f,this.h,this.l,this.j,this.B,this.o,this.s,this.u,this.H,this.v,this.A]);this.a.push([4,e,d,this.V,this.f,this.h,this.l,this.j,this.B,this.o,this.s,this.u,this.H,this.v,this.A]);ij(this,c)}};jj.prototype.ib=function(){hj(this);this.h=this.f=void 0;this.i=this.V=null;this.A=this.v=this.u=this.s=this.o=this.B=this.j=this.H=this.l=void 0}; +jj.prototype.Aa=function(b){var c=b.Sa(),d=b.ya(),e=b.jb(1),f=b.S(1),g=b.fa();this.f=c[0];this.h=c[1];this.V=e;this.i=f;this.l=d[1];this.j=b.B;this.B=g[0];this.o=g[1];this.s=b.o;this.u=b.s;this.H=b.u;this.v=b.v;this.A=d[0]};function kj(b,c,d){dj.call(this,b,c,d);this.f={Pa:void 0,Ka:void 0,La:null,Ma:void 0,Na:void 0,Oa:void 0,Lb:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}M(kj,dj); +function lj(b,c,d,e,f){var g=b.coordinates.length;c=ej(b,c,d,e,f,!1);g=[8,g,c];b.b.push(g);b.a.push(g);return e}n=kj.prototype;n.Cb=function(){this.c||(this.c=Lb(this.G),0<this.g&&Kb(this.c,this.resolution*(this.g+1)/2,this.c));return this.c}; +function mj(b){var c=b.f,d=c.strokeStyle,e=c.lineCap,f=c.lineDash,g=c.lineJoin,h=c.lineWidth,k=c.miterLimit;c.Pa==d&&c.Ka==e&&La(c.La,f)&&c.Ma==g&&c.Na==h&&c.Oa==k||(c.Lb!=b.coordinates.length&&(b.b.push([12]),c.Lb=b.coordinates.length),b.b.push([10,d,h,e,g,k,f],[1]),c.Pa=d,c.Ka=e,c.La=f,c.Ma=g,c.Na=h,c.Oa=k)} +n.ic=function(b,c){var d=this.f,e=d.lineWidth;void 0!==d.strokeStyle&&void 0!==e&&(mj(this),fj(this,c),this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash],[1]),d=b.a,lj(this,d,0,d.length,b.b),this.a.push([12]),ij(this,c))}; +n.jc=function(b,c){var d=this.f,e=d.lineWidth;if(void 0!==d.strokeStyle&&void 0!==e){mj(this);fj(this,c);this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash],[1]);var d=b.Ta(),e=b.a,f=b.b,g=0,h,k;h=0;for(k=d.length;h<k;++h)g=lj(this,e,g,d[h],f);this.a.push([12]);ij(this,c)}};n.ib=function(){this.f.Lb!=this.coordinates.length&&this.b.push([12]);hj(this);this.f=null}; +n.za=function(b,c){var d=c.b;this.f.strokeStyle=wd(d?d:xi);d=c.c;this.f.lineCap=void 0!==d?d:"round";d=c.a;this.f.lineDash=d?d:wi;d=c.g;this.f.lineJoin=void 0!==d?d:"round";d=c.f;this.f.lineWidth=void 0!==d?d:1;d=c.h;this.f.miterLimit=void 0!==d?d:10;this.f.lineWidth>this.g&&(this.g=this.f.lineWidth,this.c=null)}; +function nj(b,c,d){dj.call(this,b,c,d);this.f={gc:void 0,Pa:void 0,Ka:void 0,La:null,Ma:void 0,Na:void 0,Oa:void 0,fillStyle:void 0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}M(nj,dj); +function oj(b,c,d,e,f){var g=b.f,h=[1];b.b.push(h);b.a.push(h);var k,h=0;for(k=e.length;h<k;++h){var l=e[h],m=b.coordinates.length;d=ej(b,c,d,l,f,!0);d=[8,m,d];m=[3];b.b.push(d,m);b.a.push(d,m);d=l}c=[7];b.a.push(c);void 0!==g.fillStyle&&b.b.push(c);void 0!==g.strokeStyle&&(g=[12],b.b.push(g),b.a.push(g));return d}n=nj.prototype; +n.hc=function(b,c){var d=this.f,e=d.strokeStyle;if(void 0!==d.fillStyle||void 0!==e){pj(this);fj(this,c);this.a.push([9,wd(vi)]);void 0!==d.strokeStyle&&this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]);var f=b.a,e=this.coordinates.length;ej(this,f,0,f.length,b.b,!1);f=[1];e=[2,e];this.b.push(f,e);this.a.push(f,e);e=[7];this.a.push(e);void 0!==d.fillStyle&&this.b.push(e);void 0!==d.strokeStyle&&(d=[12],this.b.push(d),this.a.push(d));ij(this,c)}}; +n.lc=function(b,c){var d=this.f,e=d.strokeStyle;if(void 0!==d.fillStyle||void 0!==e)pj(this),fj(this,c),this.a.push([9,wd(vi)]),void 0!==d.strokeStyle&&this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]),d=b.Ta(),e=Uc(b),oj(this,e,0,d,b.b),ij(this,c)}; +n.kc=function(b,c){var d=this.f,e=d.strokeStyle;if(void 0!==d.fillStyle||void 0!==e){pj(this);fj(this,c);this.a.push([9,wd(vi)]);void 0!==d.strokeStyle&&this.a.push([10,d.strokeStyle,d.lineWidth,d.lineCap,d.lineJoin,d.miterLimit,d.lineDash]);var d=b.c,e=Yi(b),f=b.b,g=0,h,k;h=0;for(k=d.length;h<k;++h)g=oj(this,e,g,d[h],f);ij(this,c)}};n.ib=function(){hj(this);this.f=null;var b=this.aa;if(0!==b){var c=this.coordinates,d,e;d=0;for(e=c.length;d<e;++d)c[d]=b*Math.round(c[d]/b)}}; +n.Cb=function(){this.c||(this.c=Lb(this.G),0<this.g&&Kb(this.c,this.resolution*(this.g+1)/2,this.c));return this.c}; +n.za=function(b,c){var d=this.f;if(b){var e=b.a;d.fillStyle=zd(e?e:vi)}else d.fillStyle=void 0;c?(e=c.b,d.strokeStyle=wd(e?e:xi),e=c.c,d.lineCap=void 0!==e?e:"round",e=c.a,d.lineDash=e?e.slice():wi,e=c.g,d.lineJoin=void 0!==e?e:"round",e=c.f,d.lineWidth=void 0!==e?e:1,e=c.h,d.miterLimit=void 0!==e?e:10,d.lineWidth>this.g&&(this.g=d.lineWidth,this.c=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 pj(b){var c=b.f,d=c.fillStyle,e=c.strokeStyle,f=c.lineCap,g=c.lineDash,h=c.lineJoin,k=c.lineWidth,l=c.miterLimit;void 0!==d&&c.gc!=d&&(b.b.push([9,d]),c.gc=c.fillStyle);void 0===e||c.Pa==e&&c.Ka==f&&c.La==g&&c.Ma==h&&c.Na==k&&c.Oa==l||(b.b.push([10,e,k,f,h,l,g]),c.Pa=e,c.Ka=f,c.La=g,c.Ma=h,c.Na=k,c.Oa=l)}function qj(b,c,d){dj.call(this,b,c,d);this.v=this.H=this.u=null;this.i="";this.s=this.o=this.B=this.j=0;this.l=this.h=this.f=null}M(qj,dj); +function rj(b,c,d,e,f){if(""!==b.i&&b.l&&(b.f||b.h)){if(b.f){var g=b.f,h=b.u;if(!h||h.fillStyle!=g.fillStyle){var k=[9,g.fillStyle];b.b.push(k);b.a.push(k);h?h.fillStyle=g.fillStyle:b.u={fillStyle:g.fillStyle}}}b.h&&(g=b.h,h=b.H,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],b.b.push(k),b.a.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):b.H={lineCap:g.lineCap,lineDash:g.lineDash,lineJoin:g.lineJoin,lineWidth:g.lineWidth,miterLimit:g.miterLimit,strokeStyle:g.strokeStyle}));g=b.l;h=b.v;h&&h.font==g.font&&h.textAlign==g.textAlign&&h.textBaseline==g.textBaseline||(k=[11,g.font,g.textAlign,g.textBaseline],b.b.push(k),b.a.push(k),h?(h.font=g.font,h.textAlign=g.textAlign,h.textBaseline=g.textBaseline):b.v= -{font:g.font,textAlign:g.textAlign,textBaseline:g.textBaseline});ej(b,f);g=b.coordinates.length;c=dj(b,c,0,d,e,!1);c=[5,g,c,b.i,b.j,b.B,b.o,b.s,!!b.f,!!b.h];b.b.push(c);b.a.push(c);hj(b,f)}} -pj.prototype.Aa=function(b){if(b){var c=b.Fa();c?(c=c.ca(),c=yd(c?c:ui),this.f?this.f.fillStyle=c:this.f={fillStyle:c}):this.f=null;var d=b.sa();if(d){var c=d.ca(),e=d.wa,f=d.getLineDash(),g=d.xa,h=d.da(),d=d.ya,e=void 0!==e?e:"round",f=f?f.slice():vi,g=void 0!==g?g:"round",h=void 0!==h?h:1,d=void 0!==d?d:10,c=vd(c?c:wi);if(this.h){var k=this.h;k.lineCap=e;k.lineDash=f;k.lineJoin=g;k.lineWidth=h;k.miterLimit=d;k.strokeStyle=c}else this.h={lineCap:e,lineDash:f,lineJoin:g,lineWidth:h,miterLimit:d,strokeStyle:c}}else this.h= -null;var l=b.td(),c=b.ud(),e=b.vd(),f=b.$(),h=b.hb,d=b.ta,g=b.wd(),k=b.xd();b=void 0!==l?l:"10px sans-serif";g=void 0!==g?g:"center";k=void 0!==k?k:"middle";this.l?(l=this.l,l.font=b,l.textAlign=g,l.textBaseline=k):this.l={font:b,textAlign:g,textBaseline:k};this.i=void 0!==d?d:"";this.j=void 0!==c?c:0;this.B=void 0!==e?e:0;this.o=void 0!==f?f:0;this.s=void 0!==h?h:1}else this.i=""};function rj(b,c,d,e){this.o=b;this.h=c;this.B=d;this.l=e;this.b={};this.i=rf(1,1);this.j=yb()} -function sj(b){for(var c in b.b){var d=b.b[c],e;for(e in d)d[e].sb()}}rj.prototype.g=function(b,c,d,e,f){var g=this.j;Ig(g,.5,.5,1/c,-1/c,-d,-b[0],-b[1]);var h=this.i;h.clearRect(0,0,1,1);var k;void 0!==this.l&&(k=Ib(),Jb(k,b),Kb(k,c*this.l,k));return tj(this,h,g,d,e,function(b){if(0<h.getImageData(0,0,1,1).data[3]){if(b=f(b))return b;h.clearRect(0,0,1,1)}},k)}; -rj.prototype.a=function(b,c){var d=void 0!==b?b.toString():"0",e=this.b[d];void 0===e&&(e={},this.b[d]=e);d=e[c];void 0===d&&(d=new uj[c](this.o,this.h,this.B),e[c]=d);return d};rj.prototype.c=function(){return Za(this.b)}; -rj.prototype.f=function(b,c,d,e,f,g){var h=Object.keys(this.b).map(Number);h.sort(Ga);if(!1!==g){var k=this.h;g=k[0];var l=k[1],m=k[2],k=k[3];g=[g,l,g,k,m,k,m,l];zc(g,0,8,2,d,g);b.save();b.beginPath();b.moveTo(g[0],g[1]);b.lineTo(g[2],g[3]);b.lineTo(g[4],g[5]);b.lineTo(g[6],g[7]);b.closePath();b.clip()}var p,q;g=0;for(l=h.length;g<l;++g)for(p=this.b[h[g].toString()],m=0,k=bj.length;m<k;++m)q=p[bj[m]],void 0!==q&&fj(q,b,c,d,e,f,q.b,void 0);b.restore()}; -function tj(b,c,d,e,f,g,h){var k=Object.keys(b.b).map(Number);k.sort(function(b,c){return c-b});var l,m,p,q,r;l=0;for(m=k.length;l<m;++l)for(q=b.b[k[l].toString()],p=bj.length-1;0<=p;--p)if(r=q[bj[p]],void 0!==r&&(r=fj(r,c,1,d,e,f,r.a,g,h)))return r}var uj={Image:ij,LineString:jj,Polygon:mj,Text:pj};function vj(b,c){return I(b)-I(c)}function wj(b,c){var d=.5*b/c;return d*d}function xj(b,c,d,e,f,g){var h=!1,k,l;if(k=d.S())l=k.ib(),2==l||3==l?k.dc(f,g):(0==l&&k.load(),k.Wb(f,g),h=!0);if(f=(0,d.b)(c))e=f.Rb(e),(0,yj[e.U()])(b,e,d,c);return h} -var yj={Point:function(b,c,d,e){var f=d.S();if(f){if(2!=f.ib())return;var g=b.a(d.a,"Image");g.Ja(f);g.$a(c,e)}if(f=d.ta)b=b.a(d.a,"Text"),b.Aa(f),qj(b,c.a,2,2,e)},LineString:function(b,c,d,e){var f=d.sa();if(f){var g=b.a(d.a,"LineString");g.Ia(null,f);g.sc(c,e)}if(f=d.ta)b=b.a(d.a,"Text"),b.Aa(f),qj(b,Vi(c),2,2,e)},Polygon:function(b,c,d,e){var f=d.Fa(),g=d.sa();if(f||g){var h=b.a(d.a,"Polygon");h.Ia(f,g);h.vc(c,e)}if(f=d.ta)b=b.a(d.a,"Text"),b.Aa(f),qj(b,Vc(c),2,2,e)},MultiPoint:function(b,c,d, -e){var f=d.S();if(f){if(2!=f.ib())return;var g=b.a(d.a,"Image");g.Ja(f);g.Za(c,e)}if(f=d.ta)b=b.a(d.a,"Text"),b.Aa(f),d=c.a,qj(b,d,d.length,c.b,e)},MultiLineString:function(b,c,d,e){var f=d.sa();if(f){var g=b.a(d.a,"LineString");g.Ia(null,f);g.tc(c,e)}if(f=d.ta)b=b.a(d.a,"Text"),b.Aa(f),c=Wi(c),qj(b,c,c.length,2,e)},MultiPolygon:function(b,c,d,e){var f=d.Fa(),g=d.sa();if(g||f){var h=b.a(d.a,"Polygon");h.Ia(f,g);h.uc(c,e)}if(f=d.ta)b=b.a(d.a,"Text"),b.Aa(f),c=Yi(c),qj(b,c,c.length,2,e)},GeometryCollection:function(b, -c,d,e){c=c.a;var f,g;f=0;for(g=c.length;f<g;++f)(0,yj[c[f].U()])(b,c[f],d,e)},Circle:function(b,c,d,e){var f=d.Fa(),g=d.sa();if(f||g){var h=b.a(d.a,"Polygon");h.Ia(f,g);h.rc(c,e)}if(f=d.ta)b=b.a(d.a,"Text"),b.Aa(f),qj(b,c.a.slice(0,c.b),2,2,e)}};var zj=!((W("Chrome")||W("CriOS"))&&!W("Opera")&&!W("OPR")&&!W("Edge"))||W("iPhone")&&!W("iPod")&&!W("iPad")||W("iPad")||W("iPod");function Aj(b,c,d,e){b=d-b;c=e-c;var f=Math.sqrt(b*b+c*c);return[Math.round(d+b/f),Math.round(e+c/f)]} -function Bj(b,c,d,e,f,g,h,k,l,m,p){var q=rf(Math.round(d*b),Math.round(d*c));if(0===l.length)return q.canvas;q.scale(d,d);var r=Ib();l.forEach(function(b){Rb(r,b.extent)});var u=rf(Math.round(d*Ub(r)/e),Math.round(d*Vb(r)/e)),w=d/e;l.forEach(function(b){u.drawImage(b.image,m,m,b.image.width-2*m,b.image.height-2*m,(b.extent[0]-r[0])*w,-(b.extent[3]-r[3])*w,Ub(b.extent)*w,Vb(b.extent)*w)});var y=ac(h);k.c.forEach(function(b){var c=b.source,f=b.target,h=c[1][0],k=c[1][1],l=c[2][0],m=c[2][1];b=(f[0][0]- +{font:g.font,textAlign:g.textAlign,textBaseline:g.textBaseline});fj(b,f);g=b.coordinates.length;c=ej(b,c,0,d,e,!1);c=[5,g,c,b.i,b.j,b.B,b.o,b.s,!!b.f,!!b.h];b.b.push(c);b.a.push(c);ij(b,f)}} +qj.prototype.sa=function(b){if(b){var c=b.c;c?(c=c.a,c=zd(c?c:vi),this.f?this.f.fillStyle=c:this.f={fillStyle:c}):this.f=null;var d=b.l;if(d){var c=d.b,e=d.c,f=d.a,g=d.g,h=d.f,d=d.h,e=void 0!==e?e:"round",f=f?f.slice():wi,g=void 0!==g?g:"round",h=void 0!==h?h:1,d=void 0!==d?d:10,c=wd(c?c:xi);if(this.h){var k=this.h;k.lineCap=e;k.lineDash=f;k.lineJoin=g;k.lineWidth=h;k.miterLimit=d;k.strokeStyle=c}else this.h={lineCap:e,lineDash:f,lineJoin:g,lineWidth:h,miterLimit:d,strokeStyle:c}}else this.h=null; +var l=b.a,c=b.b,e=b.f,f=b.g,h=b.h,d=b.i,g=b.j,k=b.B;b=void 0!==l?l:"10px sans-serif";g=void 0!==g?g:"center";k=void 0!==k?k:"middle";this.l?(l=this.l,l.font=b,l.textAlign=g,l.textBaseline=k):this.l={font:b,textAlign:g,textBaseline:k};this.i=void 0!==d?d:"";this.j=void 0!==c?c:0;this.B=void 0!==e?e:0;this.o=void 0!==f?f:0;this.s=void 0!==h?h:1}else this.i=""};function sj(b,c,d,e){this.o=b;this.h=c;this.B=d;this.l=e;this.b={};this.i=sf(1,1);this.j=yb()} +function tj(b){for(var c in b.b){var d=b.b[c],e;for(e in d)d[e].ib()}}sj.prototype.g=function(b,c,d,e,f){var g=this.j;Jg(g,.5,.5,1/c,-1/c,-d,-b[0],-b[1]);var h=this.i;h.clearRect(0,0,1,1);var k;void 0!==this.l&&(k=Ib(),Jb(k,b),Kb(k,c*this.l,k));return uj(this,h,g,d,e,function(b){if(0<h.getImageData(0,0,1,1).data[3]){if(b=f(b))return b;h.clearRect(0,0,1,1)}},k)}; +sj.prototype.a=function(b,c){var d=void 0!==b?b.toString():"0",e=this.b[d];void 0===e&&(e={},this.b[d]=e);d=e[c];void 0===d&&(d=new vj[c](this.o,this.h,this.B),e[c]=d);return d};sj.prototype.c=function(){return Za(this.b)}; +sj.prototype.f=function(b,c,d,e,f,g){var h=Object.keys(this.b).map(Number);h.sort(Ga);if(!1!==g){var k=this.h;g=k[0];var l=k[1],m=k[2],k=k[3];g=[g,l,g,k,m,k,m,l];zc(g,0,8,2,d,g);b.save();b.beginPath();b.moveTo(g[0],g[1]);b.lineTo(g[2],g[3]);b.lineTo(g[4],g[5]);b.lineTo(g[6],g[7]);b.closePath();b.clip()}var p,q;g=0;for(l=h.length;g<l;++g)for(p=this.b[h[g].toString()],m=0,k=cj.length;m<k;++m)q=p[cj[m]],void 0!==q&&gj(q,b,c,d,e,f,q.b,void 0);b.restore()}; +function uj(b,c,d,e,f,g,h){var k=Object.keys(b.b).map(Number);k.sort(function(b,c){return c-b});var l,m,p,q,r;l=0;for(m=k.length;l<m;++l)for(q=b.b[k[l].toString()],p=cj.length-1;0<=p;--p)if(r=q[cj[p]],void 0!==r&&(r=gj(r,c,1,d,e,f,r.a,g,h)))return r}var vj={Image:jj,LineString:kj,Polygon:nj,Text:qj};function wj(b,c){return I(b)-I(c)}function xj(b,c){var d=.5*b/c;return d*d}function yj(b,c,d,e,f,g){var h=!1,k,l;if(k=d.S())l=k.Ya(),2==l||3==l?k.Ub(f,g):(0==l&&k.load(),k.Mb(f,g),h=!0);if(f=(0,d.f)(c))e=f.Hb(e),(0,zj[e.U()])(b,e,d,c);return h} +var zj={Point:function(b,c,d,e){var f=d.S();if(f){if(2!=f.Ya())return;var g=b.a(d.a,"Image");g.Aa(f);g.Ra(c,e)}if(f=d.b)b=b.a(d.a,"Text"),b.sa(f),rj(b,c.a,2,2,e)},LineString:function(b,c,d,e){var f=d.c;if(f){var g=b.a(d.a,"LineString");g.za(null,f);g.ic(c,e)}if(f=d.b)b=b.a(d.a,"Text"),b.sa(f),rj(b,Wi(c),2,2,e)},Polygon:function(b,c,d,e){var f=d.g,g=d.c;if(f||g){var h=b.a(d.a,"Polygon");h.za(f,g);h.lc(c,e)}if(f=d.b)b=b.a(d.a,"Text"),b.sa(f),rj(b,Vc(c),2,2,e)},MultiPoint:function(b,c,d,e){var f=d.S(); +if(f){if(2!=f.Ya())return;var g=b.a(d.a,"Image");g.Aa(f);g.Qa(c,e)}if(f=d.b)b=b.a(d.a,"Text"),b.sa(f),d=c.a,rj(b,d,d.length,c.b,e)},MultiLineString:function(b,c,d,e){var f=d.c;if(f){var g=b.a(d.a,"LineString");g.za(null,f);g.jc(c,e)}if(f=d.b)b=b.a(d.a,"Text"),b.sa(f),c=Xi(c),rj(b,c,c.length,2,e)},MultiPolygon:function(b,c,d,e){var f=d.g,g=d.c;if(g||f){var h=b.a(d.a,"Polygon");h.za(f,g);h.kc(c,e)}if(f=d.b)b=b.a(d.a,"Text"),b.sa(f),c=Zi(c),rj(b,c,c.length,2,e)},GeometryCollection:function(b,c,d,e){c= +c.a;var f,g;f=0;for(g=c.length;f<g;++f)(0,zj[c[f].U()])(b,c[f],d,e)},Circle:function(b,c,d,e){var f=d.g,g=d.c;if(f||g){var h=b.a(d.a,"Polygon");h.za(f,g);h.hc(c,e)}if(f=d.b)b=b.a(d.a,"Text"),b.sa(f),rj(b,c.a.slice(0,c.b),2,2,e)}};var Aj=!((W("Chrome")||W("CriOS"))&&!W("Opera")&&!W("OPR")&&!W("Edge"))||W("iPhone")&&!W("iPod")&&!W("iPad")||W("iPad")||W("iPod");function Bj(b,c,d,e){b=d-b;c=e-c;var f=Math.sqrt(b*b+c*c);return[Math.round(d+b/f),Math.round(e+c/f)]} +function Cj(b,c,d,e,f,g,h,k,l,m,p){var q=sf(Math.round(d*b),Math.round(d*c));if(0===l.length)return q.canvas;q.scale(d,d);var r=Ib();l.forEach(function(b){Rb(r,b.extent)});var u=sf(Math.round(d*Ub(r)/e),Math.round(d*Vb(r)/e)),w=d/e;l.forEach(function(b){u.drawImage(b.image,m,m,b.image.width-2*m,b.image.height-2*m,(b.extent[0]-r[0])*w,-(b.extent[3]-r[3])*w,Ub(b.extent)*w,Vb(b.extent)*w)});var y=ac(h);k.c.forEach(function(b){var c=b.source,f=b.target,h=c[1][0],k=c[1][1],l=c[2][0],m=c[2][1];b=(f[0][0]- y[0])/g;var w=-(f[0][1]-y[1])/g,p=(f[1][0]-y[0])/g,A=-(f[1][1]-y[1])/g,H=(f[2][0]-y[0])/g,O=-(f[2][1]-y[1])/g,f=c[0][0],c=c[0][1],h=h-f,k=k-c,l=l-f,m=m-c;a:{h=[[h,k,0,0,p-b],[l,m,0,0,H-b],[0,0,h,k,A-w],[0,0,l,m,O-w]];k=h.length;for(l=0;l<k;l++){for(var m=l,Q=Math.abs(h[l][l]),L=l+1;L<k;L++){var K=Math.abs(h[L][l]);K>Q&&(Q=K,m=L)}if(0===Q){h=null;break a}Q=h[m];h[m]=h[l];h[l]=Q;for(m=l+1;m<k;m++)for(Q=-h[m][l]/h[l][l],L=l;L<k+1;L++)h[m][L]=l==L?0:h[m][L]+Q*h[l][L]}l=Array(k);for(m=k-1;0<=m;m--)for(l[m]= -h[m][k]/h[m][m],Q=m-1;0<=Q;Q--)h[Q][k]-=h[Q][m]*l[m];h=l}h&&(q.save(),q.beginPath(),zj?(l=(b+p+H)/3,m=(w+A+O)/3,k=Aj(l,m,b,w),p=Aj(l,m,p,A),H=Aj(l,m,H,O),q.moveTo(k[0],k[1]),q.lineTo(p[0],p[1]),q.lineTo(H[0],H[1])):(q.moveTo(b,w),q.lineTo(p,A),q.lineTo(H,O)),q.closePath(),q.clip(),q.transform(h[0],h[2],h[1],h[3],b,w),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.c.forEach(function(b){var c=b.target;b=(c[0][0]- -y[0])/g;var d=-(c[0][1]-y[1])/g,e=(c[1][0]-y[0])/g,f=-(c[1][1]-y[1])/g,h=(c[2][0]-y[0])/g,c=-(c[2][1]-y[1])/g;q.beginPath();q.moveTo(b,d);q.lineTo(e,f);q.lineTo(h,c);q.closePath();q.stroke()}),q.restore());return q.canvas};function Cj(b,c,d,e,f){this.f=b;this.g=c;var g={},h=wc(this.g,this.f);this.b=function(b){var c=b[0]+"/"+b[1];g[c]||(g[c]=h(b));return g[c]};this.h=e;this.B=f*f;this.c=[];this.i=!1;this.j=this.f.a&&!!e&&!!this.f.C()&&Ub(e)==Ub(this.f.C());this.a=this.f.C()?Ub(this.f.C()):null;this.l=this.g.C()?Ub(this.g.C()):null;b=ac(d);c=[d[2],d[3]];e=[d[2],d[1]];d=Wb(d);f=this.b(b);var k=this.b(c),l=this.b(e),m=this.b(d);Dj(this,b,c,e,d,f,k,l,m,10);if(this.i){var p=Infinity;this.c.forEach(function(b){p=Math.min(p, +h[m][k]/h[m][m],Q=m-1;0<=Q;Q--)h[Q][k]-=h[Q][m]*l[m];h=l}h&&(q.save(),q.beginPath(),Aj?(l=(b+p+H)/3,m=(w+A+O)/3,k=Bj(l,m,b,w),p=Bj(l,m,p,A),H=Bj(l,m,H,O),q.moveTo(k[0],k[1]),q.lineTo(p[0],p[1]),q.lineTo(H[0],H[1])):(q.moveTo(b,w),q.lineTo(p,A),q.lineTo(H,O)),q.closePath(),q.clip(),q.transform(h[0],h[2],h[1],h[3],b,w),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.c.forEach(function(b){var c=b.target;b=(c[0][0]- +y[0])/g;var d=-(c[0][1]-y[1])/g,e=(c[1][0]-y[0])/g,f=-(c[1][1]-y[1])/g,h=(c[2][0]-y[0])/g,c=-(c[2][1]-y[1])/g;q.beginPath();q.moveTo(b,d);q.lineTo(e,f);q.lineTo(h,c);q.closePath();q.stroke()}),q.restore());return q.canvas};function Dj(b,c,d,e,f){this.f=b;this.g=c;var g={},h=wc(this.g,this.f);this.b=function(b){var c=b[0]+"/"+b[1];g[c]||(g[c]=h(b));return g[c]};this.h=e;this.B=f*f;this.c=[];this.i=!1;this.j=this.f.a&&!!e&&!!this.f.C()&&Ub(e)==Ub(this.f.C());this.a=this.f.C()?Ub(this.f.C()):null;this.l=this.g.C()?Ub(this.g.C()):null;b=ac(d);c=[d[2],d[3]];e=[d[2],d[1]];d=Wb(d);f=this.b(b);var k=this.b(c),l=this.b(e),m=this.b(d);Ej(this,b,c,e,d,f,k,l,m,10);if(this.i){var p=Infinity;this.c.forEach(function(b){p=Math.min(p, b.source[0][0],b.source[1][0],b.source[2][0])});this.c.forEach(function(b){if(Math.max(b.source[0][0],b.source[1][0],b.source[2][0])-p>this.a/2){var c=[[b.source[0][0],b.source[0][1]],[b.source[1][0],b.source[1][1]],[b.source[2][0],b.source[2][1]]];c[0][0]-p>this.a/2&&(c[0][0]-=this.a);c[1][0]-p>this.a/2&&(c[1][0]-=this.a);c[2][0]-p>this.a/2&&(c[2][0]-=this.a);Math.max(c[0][0],c[1][0],c[2][0])-Math.min(c[0][0],c[1][0],c[2][0])<this.a/2&&(b.source=c)}},this)}g={}} -function Dj(b,c,d,e,f,g,h,k,l,m){var p=Hb([g,h,k,l]),q=b.a?Ub(p)/b.a:null,r=b.f.a&&.5<q&&1>q,u=!1;if(0<m){if(b.g.f&&b.l)var w=Hb([c,d,e,f]),u=u|.25<Ub(w)/b.l;!r&&b.f.f&&q&&(u|=.25<q)}if(u||!b.h||$b(p,b.h)){if(!(u||isFinite(g[0])&&isFinite(g[1])&&isFinite(h[0])&&isFinite(h[1])&&isFinite(k[0])&&isFinite(k[1])&&isFinite(l[0])&&isFinite(l[1])))if(0<m)u=!0;else return;if(0<m&&(u||(q=b.b([(c[0]+e[0])/2,(c[1]+e[1])/2]),p=r?(Da(g[0],b.a)+Da(k[0],b.a))/2-Da(q[0],b.a):(g[0]+k[0])/2-q[0],q=(g[1]+k[1])/2-q[1], -u=p*p+q*q>b.B),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=b.b(r),q=[(f[0]+c[0])/2,(f[1]+c[1])/2],u=b.b(q),Dj(b,c,d,r,q,g,h,p,u,m-1),Dj(b,q,r,e,f,u,p,k,l,m-1)):(r=[(c[0]+d[0])/2,(c[1]+d[1])/2],p=b.b(r),q=[(e[0]+f[0])/2,(e[1]+f[1])/2],u=b.b(q),Dj(b,c,r,q,f,g,p,u,l,m-1),Dj(b,r,d,e,q,p,h,k,u,m-1));return}if(r){if(!b.j)return;b.i=!0}b.c.push({source:[g,k,l],target:[c,e,f]});b.c.push({source:[g,h,k],target:[c,d,e]})}} -function Ej(b){var c=Ib();b.c.forEach(function(b){b=b.source;Jb(c,b[0]);Jb(c,b[1]);Jb(c,b[2])});return c};function Fj(b){U.call(this);this.g=void 0;this.a="geometry";this.h=null;this.c=void 0;this.b=null;R(this,qb(this.a),this.pb,this);void 0!==b&&(b instanceof yc||!b?Gj(this,b):this.l(b))}M(Fj,U);n=Fj.prototype;n.clone=function(){var b=new Fj(this.Ca());Hj(b,this.a);var c=this.M();c&&Gj(b,c.clone());if(c=this.h)b.h=c,b.c=c?Ij(c):void 0,b.w();return b};n.M=function(){return this.get(this.a)};n.Ma=function(){return this.g};n.Cd=function(){this.w()}; -n.pb=function(){this.b&&(P(this.b),this.b=null);var b=this.M();b&&(this.b=R(b,"change",this.Cd,this));this.w()};function Gj(b,c){b.set(b.a,c)}function Hj(b,c){fb(b,qb(b.a),b.pb,b);b.a=c;R(b,qb(b.a),b.pb,b);b.pb()}function Ij(b){if(!ga(b)){var c;c=Array.isArray(b)?b:[b];b=function(){return c}}return b};function Jj(b,c,d){return function(e,f,g){var h=new XMLHttpRequest;h.open("GET",ga(b)?b(e,f,g):b,!0);"arraybuffer"==c.U()&&(h.responseType="arraybuffer");h.onload=function(){if(200<=h.status&&300>h.status){var b=c.U(),e;"json"==b||"text"==b?e=h.responseText:"xml"==b?(e=h.responseXML,e||(b=h.responseText,e=(new DOMParser).parseFromString(b,"application/xml"))):"arraybuffer"==b&&(e=h.response);e&&d.call(this,c.b(e,{featureProjection:g}),c.f(Kj(e)))}}.bind(this);h.send()}} -function Lj(b,c){return Jj(b,c,function(b){this.Fb(b)})};function Mj(){return[[-Infinity,-Infinity,Infinity,Infinity]]};var Nj; -(function(){var b={wc:{}};(function(){function c(b,d){if(!(this instanceof c))return new c(b,d);this.Db=Math.max(4,b||9);this.ic=Math.max(2,Math.ceil(.4*this.Db));d&&this.gd(d);this.clear()}function d(b,c){b.bbox=e(b,0,b.children.length,c)}function e(b,c,d,e){for(var g=[Infinity,Infinity,-Infinity,-Infinity],h;c<d;c++)h=b.children[c],f(g,b.aa?e(h):h.bbox);return g}function f(b,c){b[0]=Math.min(b[0],c[0]);b[1]=Math.min(b[1],c[1]);b[2]=Math.max(b[2],c[2]);b[3]=Math.max(b[3],c[3])}function g(b,c){return b.bbox[0]- +function Ej(b,c,d,e,f,g,h,k,l,m){var p=Hb([g,h,k,l]),q=b.a?Ub(p)/b.a:null,r=b.f.a&&.5<q&&1>q,u=!1;if(0<m){if(b.g.f&&b.l)var w=Hb([c,d,e,f]),u=u|.25<Ub(w)/b.l;!r&&b.f.f&&q&&(u|=.25<q)}if(u||!b.h||$b(p,b.h)){if(!(u||isFinite(g[0])&&isFinite(g[1])&&isFinite(h[0])&&isFinite(h[1])&&isFinite(k[0])&&isFinite(k[1])&&isFinite(l[0])&&isFinite(l[1])))if(0<m)u=!0;else return;if(0<m&&(u||(q=b.b([(c[0]+e[0])/2,(c[1]+e[1])/2]),p=r?(Da(g[0],b.a)+Da(k[0],b.a))/2-Da(q[0],b.a):(g[0]+k[0])/2-q[0],q=(g[1]+k[1])/2-q[1], +u=p*p+q*q>b.B),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=b.b(r),q=[(f[0]+c[0])/2,(f[1]+c[1])/2],u=b.b(q),Ej(b,c,d,r,q,g,h,p,u,m-1),Ej(b,q,r,e,f,u,p,k,l,m-1)):(r=[(c[0]+d[0])/2,(c[1]+d[1])/2],p=b.b(r),q=[(e[0]+f[0])/2,(e[1]+f[1])/2],u=b.b(q),Ej(b,c,r,q,f,g,p,u,l,m-1),Ej(b,r,d,e,q,p,h,k,u,m-1));return}if(r){if(!b.j)return;b.i=!0}b.c.push({source:[g,k,l],target:[c,e,f]});b.c.push({source:[g,h,k],target:[c,d,e]})}} +function Fj(b){var c=Ib();b.c.forEach(function(b){b=b.source;Jb(c,b[0]);Jb(c,b[1]);Jb(c,b[2])});return c};function Gj(b){U.call(this);this.g=void 0;this.a="geometry";this.h=null;this.c=void 0;this.b=null;R(this,qb(this.a),this.fb,this);void 0!==b&&(b instanceof yc||!b?Hj(this,b):this.l(b))}M(Gj,U);n=Gj.prototype;n.clone=function(){var b=new Gj(this.ua());Ij(b,this.a);var c=this.M();c&&Hj(b,c.clone());if(c=this.h)b.h=c,b.c=c?Jj(c):void 0,b.w();return b};n.M=function(){return this.get(this.a)};n.Da=function(){return this.g};n.nd=function(){this.w()}; +n.fb=function(){this.b&&(P(this.b),this.b=null);var b=this.M();b&&(this.b=R(b,"change",this.nd,this));this.w()};function Hj(b,c){b.set(b.a,c)}function Ij(b,c){fb(b,qb(b.a),b.fb,b);b.a=c;R(b,qb(b.a),b.fb,b);b.fb()}function Jj(b){if(!ga(b)){var c;c=Array.isArray(b)?b:[b];b=function(){return c}}return b};function Kj(b,c,d){return function(e,f,g){var h=new XMLHttpRequest;h.open("GET",ga(b)?b(e,f,g):b,!0);"arraybuffer"==c.U()&&(h.responseType="arraybuffer");h.onload=function(){if(200<=h.status&&300>h.status){var b=c.U(),e;"json"==b||"text"==b?e=h.responseText:"xml"==b?(e=h.responseXML,e||(b=h.responseText,e=(new DOMParser).parseFromString(b,"application/xml"))):"arraybuffer"==b&&(e=h.response);e&&d.call(this,c.b(e,{featureProjection:g}),c.f(Lj(e)))}}.bind(this);h.send()}} +function Mj(b,c){return Kj(b,c,function(b){this.vb(b)})};function Nj(){return[[-Infinity,-Infinity,Infinity,Infinity]]};var Oj; +(function(){var b={mc:{}};(function(){function c(b,d){if(!(this instanceof c))return new c(b,d);this.tb=Math.max(4,b||9);this.Zb=Math.max(2,Math.ceil(.4*this.tb));d&&this.Xc(d);this.clear()}function d(b,c){b.bbox=e(b,0,b.children.length,c)}function e(b,c,d,e){for(var g=[Infinity,Infinity,-Infinity,-Infinity],h;c<d;c++)h=b.children[c],f(g,b.$?e(h):h.bbox);return g}function f(b,c){b[0]=Math.min(b[0],c[0]);b[1]=Math.min(b[1],c[1]);b[2]=Math.max(b[2],c[2]);b[3]=Math.max(b[3],c[3])}function g(b,c){return b.bbox[0]- c.bbox[0]}function h(b,c){return b.bbox[1]-c.bbox[1]}function k(b){return(b[2]-b[0])*(b[3]-b[1])}function l(b){return b[2]-b[0]+(b[3]-b[1])}function m(b,c){return b[0]<=c[0]&&b[1]<=c[1]&&c[2]<=b[2]&&c[3]<=b[3]}function p(b,c){return c[0]<=b[2]&&c[1]<=b[3]&&c[2]>=b[0]&&c[3]>=b[1]}function q(b,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(b,c,d,h,f),g.push(c,h,h,d))}function r(b,c,d,e,f){for(var g,h,k,l,m;d>c;){600<d-c&&(g=d-c+1,h=e-c+1,k=Math.log(g), -l=.5*Math.exp(2*k/3),m=.5*Math.sqrt(k*l*(g-l)/g)*(0>h-g/2?-1:1),k=Math.max(c,Math.floor(e-h*l/g+m)),h=Math.min(d,Math.floor(e+(g-h)*l/g+m)),r(b,k,h,e,f));g=b[e];h=c;l=d;u(b,c,e);for(0<f(b[d],g)&&u(b,c,d);h<l;){u(b,h,l);h++;for(l--;0>f(b[h],g);)h++;for(;0<f(b[l],g);)l--}0===f(b[c],g)?u(b,c,l):(l++,u(b,l,d));l<=e&&(c=l+1);e<=l&&(d=l-1)}}function u(b,c,d){var e=b[c];b[c]=b[d];b[d]=e}c.prototype={all:function(){return this.ec(this.data,[])},search:function(b){var c=this.data,d=[],e=this.fa;if(!p(b,c.bbox))return d; -for(var f=[],g,h,k,l;c;){g=0;for(h=c.children.length;g<h;g++)k=c.children[g],l=c.aa?e(k):k.bbox,p(b,l)&&(c.aa?d.push(k):m(b,l)?this.ec(k,d):f.push(k));c=f.pop()}return d},load:function(b){if(!b||!b.length)return this;if(b.length<this.ic){for(var c=0,d=b.length;c<d;c++)this.Ga(b[c]);return this}b=this.gc(b.slice(),0,b.length-1,0);this.data.children.length?this.data.height===b.height?this.jc(this.data,b):(this.data.height<b.height&&(c=this.data,this.data=b,b=c),this.hc(b,this.data.height-b.height-1, -!0)):this.data=b;return this},Ga:function(b){b&&this.hc(b,this.data.height-1);return this},clear:function(){this.data={children:[],height:1,bbox:[Infinity,Infinity,-Infinity,-Infinity],aa:!0};return this},remove:function(b){if(!b)return this;for(var c=this.data,d=this.fa(b),e=[],f=[],g,h,k,l;c||e.length;){c||(c=e.pop(),h=e[e.length-1],g=f.pop(),l=!0);if(c.aa&&(k=c.children.indexOf(b),-1!==k)){c.children.splice(k,1);e.push(c);this.fd(e);break}l||c.aa||!m(c.bbox,d)?h?(g++,c=h.children[g],l=!1):c=null: -(e.push(c),f.push(g),g=0,h=c,c=c.children[0])}return this},fa:function(b){return b},Jb:function(b,c){return b[0]-c[0]},Kb:function(b,c){return b[1]-c[1]},toJSON:function(){return this.data},ec:function(b,c){for(var d=[];b;)b.aa?c.push.apply(c,b.children):d.push.apply(d,b.children),b=d.pop();return c},gc:function(b,c,e,f){var g=e-c+1,h=this.Db,k;if(g<=h)return k={children:b.slice(c,e+1),height:1,bbox:null,aa:!0},d(k,this.fa),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,aa:!1};var g=Math.ceil(g/h),h=g*Math.ceil(Math.sqrt(h)),l,m,p;for(q(b,c,e,h,this.Jb);c<=e;c+=h)for(m=Math.min(c+h-1,e),q(b,c,m,g,this.Kb),l=c;l<=m;l+=g)p=Math.min(l+g-1,m),k.children.push(this.gc(b,l,p,f-1));d(k,this.fa);return k},ed:function(b,c,d,e){for(var f,g,h,l,m,p,q,r;;){e.push(c);if(c.aa||e.length-1===d)break;q=r=Infinity;f=0;for(g=c.children.length;f<g;f++)h=c.children[f],m=k(h.bbox),p=h.bbox,p=(Math.max(p[2],b[2])-Math.min(p[0],b[0]))*(Math.max(p[3],b[3])- -Math.min(p[1],b[1]))-m,p<r?(r=p,q=m<q?m:q,l=h):p===r&&m<q&&(q=m,l=h);c=l}return c},hc:function(b,c,d){var e=this.fa;d=d?b.bbox:e(b);var e=[],g=this.ed(d,this.data,c,e);g.children.push(b);for(f(g.bbox,d);0<=c;)if(e[c].children.length>this.Db)this.hd(e,c),c--;else break;this.bd(d,e,c)},hd:function(b,c){var e=b[c],f=e.children.length,g=this.ic;this.cd(e,g,f);f=this.dd(e,g,f);f={children:e.children.splice(f,e.children.length-f),height:e.height,bbox:null,aa:!1};e.aa&&(f.aa=!0);d(e,this.fa);d(f,this.fa); -c?b[c-1].children.push(f):this.jc(e,f)},jc:function(b,c){this.data={children:[b,c],height:b.height+1,bbox:null,aa:!1};d(this.data,this.fa)},dd:function(b,c,d){var f,g,h,l,m,p,q;m=p=Infinity;for(f=c;f<=d-c;f++)g=e(b,0,f,this.fa),h=e(b,f,d,this.fa),l=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),l<m?(m=l,q=f,p=g<p?g:p):l===m&&g<p&&(p=g,q=f);return q},cd:function(b,c,d){var e=b.aa?this.Jb:g,f=b.aa?this.Kb:h,k=this.fc(b,c,d,e);c=this.fc(b, -c,d,f);k<c&&b.children.sort(e)},fc:function(b,c,d,g){b.children.sort(g);g=this.fa;var h=e(b,0,c,g),k=e(b,d-c,d,g),m=l(h)+l(k),p,q;for(p=c;p<d-c;p++)q=b.children[p],f(h,b.aa?g(q):q.bbox),m+=l(h);for(p=d-c-1;p>=c;p--)q=b.children[p],f(k,b.aa?g(q):q.bbox),m+=l(k);return m},bd:function(b,c,d){for(;0<=d;d--)f(c[d].bbox,b)},fd:function(b){for(var c=b.length-1,e;0<=c;c--)0===b[c].children.length?0<c?(e=b[c-1].children,e.splice(e.indexOf(b[c]),1)):this.clear():d(b[c],this.fa)},gd:function(b){var c=["return a", -" - b",";"];this.Jb=new Function("a","b",c.join(b[0]));this.Kb=new Function("a","b",c.join(b[1]));this.fa=new Function("a","return [a"+b.join(", a")+"];")}};"undefined"!==typeof b?b.wc=c:"undefined"!==typeof self?self.a=c:window.a=c})();Nj=b.wc})();function Oj(b){this.a=Nj(b);this.b={}}n=Oj.prototype;n.Ga=function(b,c){var d=[b[0],b[1],b[2],b[3],c];this.a.Ga(d);this.b[I(c)]=d};n.load=function(b,c){for(var d=Array(c.length),e=0,f=c.length;e<f;e++){var g=b[e],h=c[e],g=[g[0],g[1],g[2],g[3],h];d[e]=g;this.b[I(h)]=g}this.a.load(d)};n.remove=function(b){b=I(b);var c=this.b[b];delete this.b[b];return null!==this.a.remove(c)};function Pj(b){return b.a.all().map(function(b){return b[4]})} -function Qj(b,c){return b.a.search(c).map(function(b){return b[4]})}function Rj(b,c,d,e){return Sj(Qj(b,c),d,e)}function Sj(b,c,d){for(var e,f=0,g=b.length;f<g&&!(e=c.call(d,b[f]));f++);return e}n.clear=function(){this.a.clear();this.b={}};n.C=function(){return this.a.data.bbox};function Tj(b){b=b||{};De.call(this,{attributions:b.attributions,logo:b.logo,projection:void 0,state:"ready",wrapX:void 0!==b.wrapX?b.wrapX:!0});this.o=N;this.D=b.format;this.u=b.url;void 0!==b.loader?this.o=b.loader:void 0!==this.u&&(this.o=Lj(this.u,this.D));this.G=void 0!==b.strategy?b.strategy:Mj;var c=void 0!==b.useSpatialIndex?b.useSpatialIndex:!0;this.P=c?new Oj:null;this.s=new Oj;this.ea={};this.b={};this.g={};this.h={};this.a=null;var d,e;b.features instanceof ld?(d=b.features,e=d.a):Array.isArray(b.features)&& -(e=b.features);c||void 0!==d||(d=new ld(e));void 0!==e&&Uj(this,e);void 0!==d&&Vj(this,d)}M(Tj,De);n=Tj.prototype;n.Eb=function(b){var c=I(b).toString();if(Wj(this,c,b)){Xj(this,c,b);var d=b.M();d?(c=d.C(),this.P&&this.P.Ga(c,b)):this.ea[c]=b;T(this,new Yj("addfeature",b))}this.w()};function Xj(b,c,d){b.h[c]=[R(d,"change",b.yc,b),R(d,"propertychange",b.yc,b)]}function Wj(b,c,d){var e=!0,f=d.Ma();void 0!==f?f.toString()in b.b?e=!1:b.b[f.toString()]=d:b.g[c]=d;return e}n.Fb=function(b){Uj(this,b);this.w()}; -function Uj(b,c){var d,e,f,g,h=[],k=[],l=[];e=0;for(f=c.length;e<f;e++)g=c[e],d=I(g).toString(),Wj(b,d,g)&&k.push(g);e=0;for(f=k.length;e<f;e++){g=k[e];d=I(g).toString();Xj(b,d,g);var m=g.M();m?(d=m.C(),h.push(d),l.push(g)):b.ea[d]=g}b.P&&b.P.load(h,l);e=0;for(f=k.length;e<f;e++)T(b,new Yj("addfeature",k[e]))} -function Vj(b,c){var d=!1;R(b,"addfeature",function(b){d||(d=!0,c.push(b.feature),d=!1)});R(b,"removefeature",function(b){d||(d=!0,c.remove(b.feature),d=!1)});R(c,"add",function(b){d||(b=b.element,d=!0,this.Eb(b),d=!1)},b);R(c,"remove",function(b){if(!d){b=b.element;d=!0;var c=I(b).toString();c in this.ea?delete this.ea[c]:this.P&&this.P.remove(b);this.ac(b);this.w();d=!1}},b);b.a=c} -n.clear=function(b){if(b){for(var c in this.h)this.h[c].forEach(P);this.a||(this.h={},this.b={},this.g={})}else if(this.P){b=this.ac;Sj(Pj(this.P),b,this);for(var d in this.ea)this.ac(this.ea[d])}this.a&&this.a.clear();this.P&&this.P.clear();this.s.clear();this.ea={};T(this,new Yj("clear"));this.w()};n.rd=function(b,c){if(this.P)return Sj(Pj(this.P),b,c);if(this.a)return nd(this.a,b,c)};function Zj(b,c,d,e){b.P?Rj(b.P,c,d,e):b.a&&nd(b.a,d,e)} -n.te=function(){var b;this.a?b=this.a.a:this.P&&(b=Pj(this.P),Za(this.ea)||Ja(b,Xa(this.ea)));return b};n.C=function(){return this.P.C()}; -n.yc=function(b){b=b.target;var c=I(b).toString(),d=b.M();if(d)if(d=d.C(),c in this.ea)delete this.ea[c],this.P&&this.P.Ga(d,b);else{if(this.P){var e=this.P,f=I(b);Qb(e.b[f].slice(0,4),d)||(e.remove(b),e.Ga(d,b))}}else c in this.ea||(this.P&&this.P.remove(b),this.ea[c]=b);d=b.Ma();void 0!==d?(d=d.toString(),c in this.g?(delete this.g[c],this.b[d]=b):this.b[d]!==b&&(ak(this,b),this.b[d]=b)):c in this.g||(ak(this,b),this.g[c]=b);this.w();T(this,new Yj("changefeature",b))}; -function bk(b,c,d,e){var f=b.s;c=b.G(c,d);var g,h;g=0;for(h=c.length;g<h;++g){var k=c[g];Rj(f,k,function(b){return Mb(b.extent,k)})||(b.o.call(b,k,d,e),f.Ga(k,{extent:k.slice()}))}}n.ac=function(b){var c=I(b).toString();this.h[c].forEach(P);delete this.h[c];var d=b.Ma();void 0!==d?delete this.b[d.toString()]:delete this.g[c];T(this,new Yj("removefeature",b))};function ak(b,c){for(var d in b.b)if(b.b[d]===c){delete b.b[d];break}}function Yj(b,c){S.call(this,b);this.feature=c}M(Yj,S);function ck(b){Zi.call(this,b);this.c=rf();this.b=null;this.j=Ib();this.h=yb()}M(ck,Zi); -ck.prototype.g=function(b,c,d){var e=b.pixelRatio,f=b.viewState,g=f.center,h=f.projection,k=f.rotation,l=b.size,m=Math.round(e*l[0]/2),p=Math.round(e*l[1]/2),q=e/f.resolution,r=this.a,u=r.W(),w=u.mb(h),f=aj(this,b,0);$i(this,"precompose",d,b,f);var l=d,r=mb(r,"render"),y,z,D,t;if(k||r){l=this.c;y=l.canvas;D=u.ob(e)/e;var v=d.canvas.width*D;z=d.canvas.height*D;t=Math.round(Math.sqrt(v*v+z*z));y.width!=t?y.width=y.height=t:l.clearRect(0,0,t,t);y=(t-v)/2/D;z=(t-z)/2/D;q*=D;m=Math.round(D*(m+y));p=Math.round(D* -(p+z))}v=l.globalAlpha;l.globalAlpha=c.opacity;var B=u.la(h),F=this.b,C;c=u.Pb(h)&&1==c.opacity;c||(F.reverse(),C=[]);for(var G=0,J=F.length;G<J;++G){var A=F[G],H=A.L,O=Je(B,H,this.j),Q=H[0],L=Wb(Je(B,Re(B,g,Q))),H=Math.round(Ub(O)*q),K=Math.round(Vb(O)*q),fa=Math.round((O[0]-L[0])*q/H)*H+m+Math.round((L[0]-g[0])*q),O=Math.round((L[1]-O[3])*q/K)*K+p+Math.round((g[1]-L[1])*q);if(!c){L=[fa,O,fa+H,O+K];l.save();for(var ra=0,Zl=C.length;ra<Zl;++ra){var Ya=C[ra];$b(L,Ya)&&(l.beginPath(),l.moveTo(L[0], -L[1]),l.lineTo(L[0],L[3]),l.lineTo(L[2],L[3]),l.lineTo(L[2],L[1]),l.moveTo(Ya[0],Ya[1]),l.lineTo(Ya[2],Ya[1]),l.lineTo(Ya[2],Ya[3]),l.lineTo(Ya[0],Ya[3]),l.closePath(),l.clip())}C.push(L)}Q=Xe(u,Q,e,h);l.drawImage(A.S(),w,w,Q[0],Q[1],fa,O,H,K);c||l.restore()}r&&(e=y-m/D+m,h=z-p/D+p,g=Ig(this.h,t/2-e,t/2-h,q,-q,-k,-g[0]+e/q,-g[1]-h/q),$i(this,"render",l,b,g));(k||r)&&d.drawImage(l.canvas,-Math.round(y),-Math.round(z),t/D,t/D);l.globalAlpha=v;$i(this,"postcompose",d,b,f)}; -ck.prototype.i=function(b,c){function d(b){b=b.N();return 2==b||4==b||3==b&&!u}var e=b.pixelRatio,f=b.viewState,g=f.projection,h=this.a,k=h.W(),l=k.la(g),m=Qe(l,f.resolution),p=l.I(m),q=f.center;p==f.resolution?(q=Rg(q,p,b.size),f=Yb(q,p,f.rotation,b.size)):f=b.extent;void 0!==c.extent&&(f=Zb(f,c.extent));if(f[2]<f[0]||f[3]<f[1])return!1;p=Me(l,f,p);q={};q[m]={};var r=this.l(k,g,q),u=ti(h),w=Ib(),y=new fd(0,0,0,0),z,D,t,v;for(t=p.a;t<=p.f;++t)for(v=p.b;v<=p.c;++v)z=Tg(k,m,t,v,e,g),!d(z)&&z.a&&(z= -z.a),d(z)?q[m][z.L.toString()]=z:(D=Ie(l,z.L,r,y,w),D||(z=Le(l,z.L,y,w))&&r(m+1,z));r=Object.keys(q).map(Number);r.sort(Ga);var w=[],B,y=0;for(t=r.length;y<t;++y)for(B in z=r[y],v=q[z],v)z=v[B],2==z.N()&&w.push(z);this.b=w;Qg(b.usedTiles,k,m,p);Sg(b,k,l,e,g,f,m,h.get("preload"));Ng(b,k);Pg(b,k);return!0};function dk(b){Zi.call(this,b);this.b=!1;this.v=-1;this.u=NaN;this.j=Ib();this.c=this.o=null;this.h=rf()}M(dk,Zi); -dk.prototype.g=function(b,c,d){var e=b.extent,f=b.pixelRatio,g=c.fb?b.skippedFeatureUids:{},h=b.viewState,k=h.projection,h=h.rotation,l=k.C(),m=this.a.W(),p=aj(this,b,0);$i(this,"precompose",d,b,p);var q=this.c;if(q&&!q.c()){var r;mb(this.a,"render")?(this.h.canvas.width=d.canvas.width,this.h.canvas.height=d.canvas.height,r=this.h):r=d;var u=r.globalAlpha;r.globalAlpha=c.opacity;c=b.size[0]*f;var w=b.size[1]*f;xi(r,-h,c/2,w/2);q.f(r,f,p,h,g);if(m.j&&k.a&&!Mb(l,e)){for(var k=e[0],m=Ub(l),y=0;k<l[0];)--y, -p=m*y,p=aj(this,b,p),q.f(r,f,p,h,g),k+=m;y=0;for(k=e[2];k>l[2];)++y,p=m*y,p=aj(this,b,p),q.f(r,f,p,h,g),k-=m;p=aj(this,b,0)}xi(r,h,c/2,w/2);r!=d&&($i(this,"render",r,b,p),d.drawImage(r.canvas,0,0));r.globalAlpha=u}$i(this,"postcompose",d,b,p)};dk.prototype.gb=function(b,c,d,e){if(this.c){var f=this.a,g={};return this.c.g(b,c.viewState.resolution,c.viewState.rotation,{},function(b){var c=I(b).toString();if(!(c in g))return g[c]=!0,d.call(e,b,f)})}};dk.prototype.A=function(){Mg(this)}; -dk.prototype.i=function(b){function c(b){var c,e=b.c;e?c=e.call(b,m):(e=d.g)&&(c=e(b,m));if(c){if(c){e=!1;if(Array.isArray(c))for(var f=0,g=c.length;f<g;++f)e=xj(r,b,c[f],wj(m,p),this.A,this)||e;else e=xj(r,b,c,wj(m,p),this.A,this)||e;b=e}else b=!1;this.b=this.b||b}}var d=this.a,e=d.W();Og(b.attributions,e.i);Pg(b,e);var f=b.viewHints[0],g=b.viewHints[1],h=d.i,k=d.j;if(!this.b&&!h&&f||!k&&g)return!0;var l=b.extent,k=b.viewState,f=k.projection,m=k.resolution,p=b.pixelRatio,g=d.f,q=d.a,h=d.get("renderOrder"); -void 0===h&&(h=vj);l=Kb(l,q*m);q=k.projection.C();e.j&&k.projection.a&&!Mb(q,b.extent)&&(b=Math.max(Ub(l)/2,Ub(q)),l[0]=q[0]-b,l[2]=q[2]+b);if(!this.b&&this.u==m&&this.v==g&&this.o==h&&Mb(this.j,l))return!0;this.c=null;this.b=!1;var r=new rj(.5*m/p,l,m,d.a);bk(e,l,m,f);if(h){var u=[];Zj(e,l,function(b){u.push(b)},this);u.sort(h);u.forEach(c,this)}else Zj(e,l,c,this);sj(r);this.u=m;this.v=g;this.o=h;this.j=l;this.c=r;return!0};function ek(b,c){var d=/\{z\}/g,e=/\{x\}/g,f=/\{y\}/g,g=/\{-y\}/g;return function(h){if(h)return b.replace(d,h[0].toString()).replace(e,h[1].toString()).replace(f,function(){return(-h[2]-1).toString()}).replace(g,function(){var b=c.a?c.a[h[0]]:null;return(b.c-b.b+1+h[2]).toString()})}}function fk(b,c){for(var d=b.length,e=Array(d),f=0;f<d;++f)e[f]=ek(b[f],c);return gk(e)}function gk(b){return 1===b.length?b[0]:function(c,d,e){if(c)return b[Da((c[1]<<c[0])+c[2],b.length)](c,d,e)}}function hk(){};function ik(b){Ve.call(this,{attributions:b.attributions,cacheSize:b.cacheSize,extent:b.extent,logo:b.logo,opaque:b.opaque,projection:b.projection,state:b.state,tileGrid:b.tileGrid,tilePixelRatio:b.tilePixelRatio,wrapX:b.wrapX});this.tileLoadFunction=b.tileLoadFunction;this.tileUrlFunction=this.g?this.g.bind(this):hk;this.urls=null;if(b.urls){var c=b.urls;this.urls=c;jk(this,this.g?this.g.bind(this):fk(c,this.tileGrid))}else b.url&&this.s(b.url);b.tileUrlFunction&&jk(this,b.tileUrlFunction)} -M(ik,Ve);ik.prototype.D=function(b){b=b.target;switch(b.N()){case 1:T(this,new Ze("tileloadstart",b));break;case 2:T(this,new Ze("tileloadend",b));break;case 3:T(this,new Ze("tileloaderror",b))}};function jk(b,c){b.a.clear();b.tileUrlFunction=c;b.w()} -ik.prototype.s=function(b){var c=[],d=/\{(\d)-(\d)\}/.exec(b)||/\{([a-z])-([a-z])\}/.exec(b);if(d){var e=d[2].charCodeAt(0),f;for(f=d[1].charCodeAt(0);f<=e;++f)c.push(b.replace(d[0],String.fromCharCode(f)))}else c.push(b);b=this.urls=c;jk(this,this.g?this.g.bind(this):fk(b,this.tileGrid))};ik.prototype.$c=function(b,c,d){b=this.nb(b,c,d);we(this.a,b)&&this.a.get(b)};function kk(b,c){Zg.call(this,0,c);this.c=rf();rf();this.a=this.c.canvas;this.a.style.width="100%";this.a.style.height="100%";this.a.className="ol-unselectable";fe(b,this.a,0);this.b=!0;this.g=yb()}M(kk,Zg);kk.prototype.Lb=function(b){return b instanceof X?new ck(b):b instanceof Y?new dk(b):null}; -function lk(b,c,d){var e=b.h,f=b.c;if(mb(e,c)){var g=d.extent,h=d.pixelRatio,k=d.viewState.rotation,l=d.pixelRatio,m=d.viewState,p=m.resolution;b=Ig(b.g,b.a.width/2,b.a.height/2,l/p,-l/p,-m.rotation,-m.center[0],-m.center[1]);g=new Oi(f,h,g,b,k);T(e,new Fg(c,e,g,d,f,null))}}kk.prototype.U=function(){return"canvas"}; -kk.prototype.ub=function(b){if(b){var c=this.c,d=b.pixelRatio,e=Math.round(b.size[0]*d),d=Math.round(b.size[1]*d);this.a.width!=e||this.a.height!=d?(this.a.width=e,this.a.height=d):c.clearRect(0,0,e,d);var f=b.viewState.rotation;$g(b);lk(this,"precompose",b);var g=b.layerStatesArray;Ma(g);xi(c,f,e/2,d/2);var h=b.viewState.resolution,k,l,m,p;k=0;for(l=g.length;k<l;++k)p=g[k],m=p.layer,m=bh(this,m),Hg(p,h)&&"ready"==p.cc&&m.i(b,p)&&m.g(b,p,c);xi(c,-f,e/2,d/2);lk(this,"postcompose",b);this.b||(oe(this.a, -!0),this.b=!0);ch(this,b);b.postRenderFunctions.push(ah)}else this.b&&(oe(this.a,!1),this.b=!1)};function mk(b,c){Lg.call(this,b);this.target=c}M(mk,Lg);mk.prototype.Ib=N;mk.prototype.Kc=N;function nk(b){var c=document.createElement("DIV");c.style.position="absolute";mk.call(this,b,c);this.c=!0;this.h=1;this.g=0;this.b={}}M(nk,mk);nk.prototype.Ib=function(){ee(this.target);this.g=0}; -nk.prototype.Lc=function(b,c){if(!c.visible)return this.c&&(oe(this.target,!1),this.c=!1),!0;var d=b.pixelRatio,e=b.viewState,f=e.projection,g=this.a,h=g.W(),k=h.la(f),l=h.mb(f),m=Qe(k,e.resolution),p=k.I(m),q=e.center,r;p==e.resolution?(q=Rg(q,p,b.size),r=Yb(q,p,e.rotation,b.size)):r=b.extent;void 0!==c.extent&&(r=Zb(r,c.extent));var p=Me(k,r,p),u={};u[m]={};var w=this.l(h,f,u),y=ti(g),z=Ib(),D=new fd(0,0,0,0),t,v,B,F;for(B=p.a;B<=p.f;++B)for(F=p.b;F<=p.c;++F)t=Tg(h,m,B,F,d,f),v=t.N(),v=2==v||4== -v||3==v&&!y,!v&&t.a&&(t=t.a),v=t.N(),2==v?u[m][t.L.toString()]=t:4==v||3==v&&!y||(v=Ie(k,t.L,w,D,z),v||(t=Le(k,t.L,D,z))&&w(m+1,t));var C;if(this.g!=h.f){for(C in this.b)y=this.b[+C],ge(y.target);this.b={};this.g=h.f}z=Object.keys(u).map(Number);z.sort(Ga);var w={},G;B=0;for(F=z.length;B<F;++B){C=z[B];C in this.b?y=this.b[C]:(y=Re(k,q,C),y=new ok(k,y),w[C]=!0,this.b[C]=y);C=u[C];for(G in C){t=y;v=C[G];var J=l,A=v.L,H=A[0],O=A[1],Q=A[2],A=A.toString();if(!(A in t.b)){var H=sb(Pe(t.g,H),t.i),L=v.S(t), +l=.5*Math.exp(2*k/3),m=.5*Math.sqrt(k*l*(g-l)/g)*(0>h-g/2?-1:1),k=Math.max(c,Math.floor(e-h*l/g+m)),h=Math.min(d,Math.floor(e+(g-h)*l/g+m)),r(b,k,h,e,f));g=b[e];h=c;l=d;u(b,c,e);for(0<f(b[d],g)&&u(b,c,d);h<l;){u(b,h,l);h++;for(l--;0>f(b[h],g);)h++;for(;0<f(b[l],g);)l--}0===f(b[c],g)?u(b,c,l):(l++,u(b,l,d));l<=e&&(c=l+1);e<=l&&(d=l-1)}}function u(b,c,d){var e=b[c];b[c]=b[d];b[d]=e}c.prototype={all:function(){return this.Vb(this.data,[])},search:function(b){var c=this.data,d=[],e=this.ca;if(!p(b,c.bbox))return d; +for(var f=[],g,h,k,l;c;){g=0;for(h=c.children.length;g<h;g++)k=c.children[g],l=c.$?e(k):k.bbox,p(b,l)&&(c.$?d.push(k):m(b,l)?this.Vb(k,d):f.push(k));c=f.pop()}return d},load:function(b){if(!b||!b.length)return this;if(b.length<this.Zb){for(var c=0,d=b.length;c<d;c++)this.xa(b[c]);return this}b=this.Xb(b.slice(),0,b.length-1,0);this.data.children.length?this.data.height===b.height?this.$b(this.data,b):(this.data.height<b.height&&(c=this.data,this.data=b,b=c),this.Yb(b,this.data.height-b.height-1,!0)): +this.data=b;return this},xa:function(b){b&&this.Yb(b,this.data.height-1);return this},clear:function(){this.data={children:[],height:1,bbox:[Infinity,Infinity,-Infinity,-Infinity],$:!0};return this},remove:function(b){if(!b)return this;for(var c=this.data,d=this.ca(b),e=[],f=[],g,h,k,l;c||e.length;){c||(c=e.pop(),h=e[e.length-1],g=f.pop(),l=!0);if(c.$&&(k=c.children.indexOf(b),-1!==k)){c.children.splice(k,1);e.push(c);this.Wc(e);break}l||c.$||!m(c.bbox,d)?h?(g++,c=h.children[g],l=!1):c=null:(e.push(c), +f.push(g),g=0,h=c,c=c.children[0])}return this},ca:function(b){return b},zb:function(b,c){return b[0]-c[0]},Ab:function(b,c){return b[1]-c[1]},toJSON:function(){return this.data},Vb:function(b,c){for(var d=[];b;)b.$?c.push.apply(c,b.children):d.push.apply(d,b.children),b=d.pop();return c},Xb:function(b,c,e,f){var g=e-c+1,h=this.tb,k;if(g<=h)return k={children:b.slice(c,e+1),height:1,bbox:null,$:!0},d(k,this.ca),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,$:!1};var g=Math.ceil(g/h),h=g*Math.ceil(Math.sqrt(h)),l,m,p;for(q(b,c,e,h,this.zb);c<=e;c+=h)for(m=Math.min(c+h-1,e),q(b,c,m,g,this.Ab),l=c;l<=m;l+=g)p=Math.min(l+g-1,m),k.children.push(this.Xb(b,l,p,f-1));d(k,this.ca);return k},Vc:function(b,c,d,e){for(var f,g,h,l,m,p,q,r;;){e.push(c);if(c.$||e.length-1===d)break;q=r=Infinity;f=0;for(g=c.children.length;f<g;f++)h=c.children[f],m=k(h.bbox),p=h.bbox,p=(Math.max(p[2],b[2])-Math.min(p[0],b[0]))*(Math.max(p[3],b[3])-Math.min(p[1], +b[1]))-m,p<r?(r=p,q=m<q?m:q,l=h):p===r&&m<q&&(q=m,l=h);c=l}return c},Yb:function(b,c,d){var e=this.ca;d=d?b.bbox:e(b);var e=[],g=this.Vc(d,this.data,c,e);g.children.push(b);for(f(g.bbox,d);0<=c;)if(e[c].children.length>this.tb)this.Yc(e,c),c--;else break;this.Sc(d,e,c)},Yc:function(b,c){var e=b[c],f=e.children.length,g=this.Zb;this.Tc(e,g,f);f=this.Uc(e,g,f);f={children:e.children.splice(f,e.children.length-f),height:e.height,bbox:null,$:!1};e.$&&(f.$=!0);d(e,this.ca);d(f,this.ca);c?b[c-1].children.push(f): +this.$b(e,f)},$b:function(b,c){this.data={children:[b,c],height:b.height+1,bbox:null,$:!1};d(this.data,this.ca)},Uc:function(b,c,d){var f,g,h,l,m,p,q;m=p=Infinity;for(f=c;f<=d-c;f++)g=e(b,0,f,this.ca),h=e(b,f,d,this.ca),l=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),l<m?(m=l,q=f,p=g<p?g:p):l===m&&g<p&&(p=g,q=f);return q},Tc:function(b,c,d){var e=b.$?this.zb:g,f=b.$?this.Ab:h,k=this.Wb(b,c,d,e);c=this.Wb(b,c,d,f);k<c&&b.children.sort(e)}, +Wb:function(b,c,d,g){b.children.sort(g);g=this.ca;var h=e(b,0,c,g),k=e(b,d-c,d,g),m=l(h)+l(k),p,q;for(p=c;p<d-c;p++)q=b.children[p],f(h,b.$?g(q):q.bbox),m+=l(h);for(p=d-c-1;p>=c;p--)q=b.children[p],f(k,b.$?g(q):q.bbox),m+=l(k);return m},Sc:function(b,c,d){for(;0<=d;d--)f(c[d].bbox,b)},Wc:function(b){for(var c=b.length-1,e;0<=c;c--)0===b[c].children.length?0<c?(e=b[c-1].children,e.splice(e.indexOf(b[c]),1)):this.clear():d(b[c],this.ca)},Xc:function(b){var c=["return a"," - b",";"];this.zb=new Function("a", +"b",c.join(b[0]));this.Ab=new Function("a","b",c.join(b[1]));this.ca=new Function("a","return [a"+b.join(", a")+"];")}};"undefined"!==typeof b?b.mc=c:"undefined"!==typeof self?self.a=c:window.a=c})();Oj=b.mc})();function Pj(b){this.a=Oj(b);this.b={}}n=Pj.prototype;n.xa=function(b,c){var d=[b[0],b[1],b[2],b[3],c];this.a.xa(d);this.b[I(c)]=d};n.load=function(b,c){for(var d=Array(c.length),e=0,f=c.length;e<f;e++){var g=b[e],h=c[e],g=[g[0],g[1],g[2],g[3],h];d[e]=g;this.b[I(h)]=g}this.a.load(d)};n.remove=function(b){b=I(b);var c=this.b[b];delete this.b[b];return null!==this.a.remove(c)};function Qj(b){return b.a.all().map(function(b){return b[4]})} +function Rj(b,c){return b.a.search(c).map(function(b){return b[4]})}function Sj(b,c,d,e){return Tj(Rj(b,c),d,e)}function Tj(b,c,d){for(var e,f=0,g=b.length;f<g&&!(e=c.call(d,b[f]));f++);return e}n.clear=function(){this.a.clear();this.b={}};n.C=function(){return this.a.data.bbox};function Uj(b){b=b||{};Ee.call(this,{attributions:b.attributions,logo:b.logo,projection:void 0,state:"ready",wrapX:void 0!==b.wrapX?b.wrapX:!0});this.o=N;this.D=b.format;this.u=b.url;void 0!==b.loader?this.o=b.loader:void 0!==this.u&&(this.o=Mj(this.u,this.D));this.G=void 0!==b.strategy?b.strategy:Nj;var c=void 0!==b.useSpatialIndex?b.useSpatialIndex:!0;this.P=c?new Pj:null;this.s=new Pj;this.ba={};this.b={};this.g={};this.h={};this.a=null;var d,e;b.features instanceof md?(d=b.features,e=d.a):Array.isArray(b.features)&& +(e=b.features);c||void 0!==d||(d=new md(e));void 0!==e&&Vj(this,e);void 0!==d&&Wj(this,d)}M(Uj,Ee);n=Uj.prototype;n.ub=function(b){var c=I(b).toString();if(Xj(this,c,b)){Yj(this,c,b);var d=b.M();d?(c=d.C(),this.P&&this.P.xa(c,b)):this.ba[c]=b;T(this,new Zj("addfeature",b))}this.w()};function Yj(b,c,d){b.h[c]=[R(d,"change",b.oc,b),R(d,"propertychange",b.oc,b)]}function Xj(b,c,d){var e=!0,f=d.Da();void 0!==f?f.toString()in b.b?e=!1:b.b[f.toString()]=d:b.g[c]=d;return e}n.vb=function(b){Vj(this,b);this.w()}; +function Vj(b,c){var d,e,f,g,h=[],k=[],l=[];e=0;for(f=c.length;e<f;e++)g=c[e],d=I(g).toString(),Xj(b,d,g)&&k.push(g);e=0;for(f=k.length;e<f;e++){g=k[e];d=I(g).toString();Yj(b,d,g);var m=g.M();m?(d=m.C(),h.push(d),l.push(g)):b.ba[d]=g}b.P&&b.P.load(h,l);e=0;for(f=k.length;e<f;e++)T(b,new Zj("addfeature",k[e]))} +function Wj(b,c){var d=!1;R(b,"addfeature",function(b){d||(d=!0,c.push(b.feature),d=!1)});R(b,"removefeature",function(b){d||(d=!0,c.remove(b.feature),d=!1)});R(c,"add",function(b){d||(b=b.element,d=!0,this.ub(b),d=!1)},b);R(c,"remove",function(b){if(!d){b=b.element;d=!0;var c=I(b).toString();c in this.ba?delete this.ba[c]:this.P&&this.P.remove(b);this.Rb(b);this.w();d=!1}},b);b.a=c} +n.clear=function(b){if(b){for(var c in this.h)this.h[c].forEach(P);this.a||(this.h={},this.b={},this.g={})}else if(this.P){b=this.Rb;Tj(Qj(this.P),b,this);for(var d in this.ba)this.Rb(this.ba[d])}this.a&&this.a.clear();this.P&&this.P.clear();this.s.clear();this.ba={};T(this,new Zj("clear"));this.w()};n.gd=function(b,c){if(this.P)return Tj(Qj(this.P),b,c);if(this.a)return od(this.a,b,c)};function ak(b,c,d,e){b.P?Sj(b.P,c,d,e):b.a&&od(b.a,d,e)} +n.ee=function(){var b;this.a?b=this.a.a:this.P&&(b=Qj(this.P),Za(this.ba)||Ja(b,Xa(this.ba)));return b};n.C=function(){return this.P.C()}; +n.oc=function(b){b=b.target;var c=I(b).toString(),d=b.M();if(d)if(d=d.C(),c in this.ba)delete this.ba[c],this.P&&this.P.xa(d,b);else{if(this.P){var e=this.P,f=I(b);Qb(e.b[f].slice(0,4),d)||(e.remove(b),e.xa(d,b))}}else c in this.ba||(this.P&&this.P.remove(b),this.ba[c]=b);d=b.Da();void 0!==d?(d=d.toString(),c in this.g?(delete this.g[c],this.b[d]=b):this.b[d]!==b&&(bk(this,b),this.b[d]=b)):c in this.g||(bk(this,b),this.g[c]=b);this.w();T(this,new Zj("changefeature",b))}; +function ck(b,c,d,e){var f=b.s;c=b.G(c,d);var g,h;g=0;for(h=c.length;g<h;++g){var k=c[g];Sj(f,k,function(b){return Mb(b.extent,k)})||(b.o.call(b,k,d,e),f.xa(k,{extent:k.slice()}))}}n.Rb=function(b){var c=I(b).toString();this.h[c].forEach(P);delete this.h[c];var d=b.Da();void 0!==d?delete this.b[d.toString()]:delete this.g[c];T(this,new Zj("removefeature",b))};function bk(b,c){for(var d in b.b)if(b.b[d]===c){delete b.b[d];break}}function Zj(b,c){S.call(this,b);this.feature=c}M(Zj,S);function dk(b){$i.call(this,b);this.c=sf();this.b=null;this.j=Ib();this.h=yb()}M(dk,$i); +dk.prototype.g=function(b,c,d){var e=b.pixelRatio,f=b.viewState,g=f.center,h=f.projection,k=f.rotation,l=b.size,m=Math.round(e*l[0]/2),p=Math.round(e*l[1]/2),q=e/f.resolution,r=this.a,u=r.W(),w=u.bb(h),f=bj(this,b,0);aj(this,"precompose",d,b,f);var l=d,r=mb(r,"render"),y,z,D,t;if(k||r){l=this.c;y=l.canvas;D=u.eb(e)/e;var v=d.canvas.width*D;z=d.canvas.height*D;t=Math.round(Math.sqrt(v*v+z*z));y.width!=t?y.width=y.height=t:l.clearRect(0,0,t,t);y=(t-v)/2/D;z=(t-z)/2/D;q*=D;m=Math.round(D*(m+y));p=Math.round(D* +(p+z))}v=l.globalAlpha;l.globalAlpha=c.opacity;var B=u.ia(h),F=this.b,C;c=u.Fb(h)&&1==c.opacity;c||(F.reverse(),C=[]);for(var G=0,J=F.length;G<J;++G){var A=F[G],H=A.L,O=Ke(B,H,this.j),Q=H[0],L=Wb(Ke(B,Se(B,g,Q))),H=Math.round(Ub(O)*q),K=Math.round(Vb(O)*q),fa=Math.round((O[0]-L[0])*q/H)*H+m+Math.round((L[0]-g[0])*q),O=Math.round((L[1]-O[3])*q/K)*K+p+Math.round((g[1]-L[1])*q);if(!c){L=[fa,O,fa+H,O+K];l.save();for(var ra=0,$l=C.length;ra<$l;++ra){var Ya=C[ra];$b(L,Ya)&&(l.beginPath(),l.moveTo(L[0], +L[1]),l.lineTo(L[0],L[3]),l.lineTo(L[2],L[3]),l.lineTo(L[2],L[1]),l.moveTo(Ya[0],Ya[1]),l.lineTo(Ya[2],Ya[1]),l.lineTo(Ya[2],Ya[3]),l.lineTo(Ya[0],Ya[3]),l.closePath(),l.clip())}C.push(L)}Q=Ye(u,Q,e,h);l.drawImage(A.S(),w,w,Q[0],Q[1],fa,O,H,K);c||l.restore()}r&&(e=y-m/D+m,h=z-p/D+p,g=Jg(this.h,t/2-e,t/2-h,q,-q,-k,-g[0]+e/q,-g[1]-h/q),aj(this,"render",l,b,g));(k||r)&&d.drawImage(l.canvas,-Math.round(y),-Math.round(z),t/D,t/D);l.globalAlpha=v;aj(this,"postcompose",d,b,f)}; +dk.prototype.i=function(b,c){function d(b){b=b.N();return 2==b||4==b||3==b&&!u}var e=b.pixelRatio,f=b.viewState,g=f.projection,h=this.a,k=h.W(),l=k.ia(g),m=Re(l,f.resolution),p=l.J(m),q=f.center;p==f.resolution?(q=Sg(q,p,b.size),f=Yb(q,p,f.rotation,b.size)):f=b.extent;void 0!==c.extent&&(f=Zb(f,c.extent));if(f[2]<f[0]||f[3]<f[1])return!1;p=Ne(l,f,p);q={};q[m]={};var r=this.l(k,g,q),u=ui(h),w=Ib(),y=new gd(0,0,0,0),z,D,t,v;for(t=p.a;t<=p.b;++t)for(v=p.f;v<=p.c;++v)z=Ug(k,m,t,v,e,g),!d(z)&&z.a&&(z= +z.a),d(z)?q[m][z.L.toString()]=z:(D=Je(l,z.L,r,y,w),D||(z=Me(l,z.L,y,w))&&r(m+1,z));r=Object.keys(q).map(Number);r.sort(Ga);var w=[],B,y=0;for(t=r.length;y<t;++y)for(B in z=r[y],v=q[z],v)z=v[B],2==z.N()&&w.push(z);this.b=w;Rg(b.usedTiles,k,m,p);Tg(b,k,l,e,g,f,m,h.get("preload"));Og(b,k);Qg(b,k);return!0};function ek(b){$i.call(this,b);this.b=!1;this.v=-1;this.u=NaN;this.j=Ib();this.c=this.o=null;this.h=sf()}M(ek,$i); +ek.prototype.g=function(b,c,d){var e=b.extent,f=b.pixelRatio,g=c.Wa?b.skippedFeatureUids:{},h=b.viewState,k=h.projection,h=h.rotation,l=k.C(),m=this.a.W(),p=bj(this,b,0);aj(this,"precompose",d,b,p);var q=this.c;if(q&&!q.c()){var r;mb(this.a,"render")?(this.h.canvas.width=d.canvas.width,this.h.canvas.height=d.canvas.height,r=this.h):r=d;var u=r.globalAlpha;r.globalAlpha=c.opacity;c=b.size[0]*f;var w=b.size[1]*f;yi(r,-h,c/2,w/2);q.f(r,f,p,h,g);if(m.j&&k.a&&!Mb(l,e)){for(var k=e[0],m=Ub(l),y=0;k<l[0];)--y, +p=m*y,p=bj(this,b,p),q.f(r,f,p,h,g),k+=m;y=0;for(k=e[2];k>l[2];)++y,p=m*y,p=bj(this,b,p),q.f(r,f,p,h,g),k-=m;p=bj(this,b,0)}yi(r,h,c/2,w/2);r!=d&&(aj(this,"render",r,b,p),d.drawImage(r.canvas,0,0));r.globalAlpha=u}aj(this,"postcompose",d,b,p)};ek.prototype.Xa=function(b,c,d,e){if(this.c){var f=this.a,g={};return this.c.g(b,c.viewState.resolution,c.viewState.rotation,{},function(b){var c=I(b).toString();if(!(c in g))return g[c]=!0,d.call(e,b,f)})}};ek.prototype.A=function(){Ng(this)}; +ek.prototype.i=function(b){function c(b){var c,e=b.c;e?c=e.call(b,m):(e=d.g)&&(c=e(b,m));if(c){if(c){e=!1;if(Array.isArray(c))for(var f=0,g=c.length;f<g;++f)e=yj(r,b,c[f],xj(m,p),this.A,this)||e;else e=yj(r,b,c,xj(m,p),this.A,this)||e;b=e}else b=!1;this.b=this.b||b}}var d=this.a,e=d.W();Pg(b.attributions,e.i);Qg(b,e);var f=b.viewHints[0],g=b.viewHints[1],h=d.i,k=d.j;if(!this.b&&!h&&f||!k&&g)return!0;var l=b.extent,k=b.viewState,f=k.projection,m=k.resolution,p=b.pixelRatio,g=d.f,q=d.a,h=d.get("renderOrder"); +void 0===h&&(h=wj);l=Kb(l,q*m);q=k.projection.C();e.j&&k.projection.a&&!Mb(q,b.extent)&&(b=Math.max(Ub(l)/2,Ub(q)),l[0]=q[0]-b,l[2]=q[2]+b);if(!this.b&&this.u==m&&this.v==g&&this.o==h&&Mb(this.j,l))return!0;this.c=null;this.b=!1;var r=new sj(.5*m/p,l,m,d.a);ck(e,l,m,f);if(h){var u=[];ak(e,l,function(b){u.push(b)},this);u.sort(h);u.forEach(c,this)}else ak(e,l,c,this);tj(r);this.u=m;this.v=g;this.o=h;this.j=l;this.c=r;return!0};function fk(b,c){var d=/\{z\}/g,e=/\{x\}/g,f=/\{y\}/g,g=/\{-y\}/g;return function(h){if(h)return b.replace(d,h[0].toString()).replace(e,h[1].toString()).replace(f,function(){return(-h[2]-1).toString()}).replace(g,function(){var b=c.a?c.a[h[0]]:null;return(b.c-b.f+1+h[2]).toString()})}}function gk(b,c){for(var d=b.length,e=Array(d),f=0;f<d;++f)e[f]=fk(b[f],c);return hk(e)}function hk(b){return 1===b.length?b[0]:function(c,d,e){if(c)return b[Da((c[1]<<c[0])+c[2],b.length)](c,d,e)}}function ik(){};function jk(b){We.call(this,{attributions:b.attributions,cacheSize:b.cacheSize,extent:b.extent,logo:b.logo,opaque:b.opaque,projection:b.projection,state:b.state,tileGrid:b.tileGrid,tilePixelRatio:b.tilePixelRatio,wrapX:b.wrapX});this.tileLoadFunction=b.tileLoadFunction;this.tileUrlFunction=this.g?this.g.bind(this):ik;this.urls=null;if(b.urls){var c=b.urls;this.urls=c;kk(this,this.g?this.g.bind(this):gk(c,this.tileGrid))}else b.url&&this.s(b.url);b.tileUrlFunction&&kk(this,b.tileUrlFunction)} +M(jk,We);jk.prototype.D=function(b){b=b.target;switch(b.N()){case 1:T(this,new $e("tileloadstart",b));break;case 2:T(this,new $e("tileloadend",b));break;case 3:T(this,new $e("tileloaderror",b))}};function kk(b,c){b.a.clear();b.tileUrlFunction=c;b.w()} +jk.prototype.s=function(b){var c=[],d=/\{(\d)-(\d)\}/.exec(b)||/\{([a-z])-([a-z])\}/.exec(b);if(d){var e=d[2].charCodeAt(0),f;for(f=d[1].charCodeAt(0);f<=e;++f)c.push(b.replace(d[0],String.fromCharCode(f)))}else c.push(b);b=this.urls=c;kk(this,this.g?this.g.bind(this):gk(b,this.tileGrid))};jk.prototype.Qc=function(b,c,d){b=this.cb(b,c,d);xe(this.a,b)&&this.a.get(b)};function lk(b,c){$g.call(this,0,c);this.c=sf();sf();this.a=this.c.canvas;this.a.style.width="100%";this.a.style.height="100%";this.a.className="ol-unselectable";ge(b,this.a,0);this.b=!0;this.g=yb()}M(lk,$g);lk.prototype.Bb=function(b){return b instanceof X?new dk(b):b instanceof Y?new ek(b):null}; +function mk(b,c,d){var e=b.h,f=b.c;if(mb(e,c)){var g=d.extent,h=d.pixelRatio,k=d.viewState.rotation,l=d.pixelRatio,m=d.viewState,p=m.resolution;b=Jg(b.g,b.a.width/2,b.a.height/2,l/p,-l/p,-m.rotation,-m.center[0],-m.center[1]);g=new Pi(f,h,g,b,k);T(e,new Gg(c,e,g,d,f,null))}}lk.prototype.U=function(){return"canvas"}; +lk.prototype.kb=function(b){if(b){var c=this.c,d=b.pixelRatio,e=Math.round(b.size[0]*d),d=Math.round(b.size[1]*d);this.a.width!=e||this.a.height!=d?(this.a.width=e,this.a.height=d):c.clearRect(0,0,e,d);var f=b.viewState.rotation;ah(b);mk(this,"precompose",b);var g=b.layerStatesArray;Ma(g);yi(c,f,e/2,d/2);var h=b.viewState.resolution,k,l,m,p;k=0;for(l=g.length;k<l;++k)p=g[k],m=p.layer,m=ch(this,m),Ig(p,h)&&"ready"==p.Tb&&m.i(b,p)&&m.g(b,p,c);yi(c,-f,e/2,d/2);mk(this,"postcompose",b);this.b||(pe(this.a, +!0),this.b=!0);dh(this,b);b.postRenderFunctions.push(bh)}else this.b&&(pe(this.a,!1),this.b=!1)};function nk(b,c){Mg.call(this,b);this.target=c}M(nk,Mg);nk.prototype.yb=N;nk.prototype.Ac=N;function ok(b){var c=document.createElement("DIV");c.style.position="absolute";nk.call(this,b,c);this.c=!0;this.h=1;this.g=0;this.b={}}M(ok,nk);ok.prototype.yb=function(){fe(this.target);this.g=0}; +ok.prototype.Bc=function(b,c){if(!c.visible)return this.c&&(pe(this.target,!1),this.c=!1),!0;var d=b.pixelRatio,e=b.viewState,f=e.projection,g=this.a,h=g.W(),k=h.ia(f),l=h.bb(f),m=Re(k,e.resolution),p=k.J(m),q=e.center,r;p==e.resolution?(q=Sg(q,p,b.size),r=Yb(q,p,e.rotation,b.size)):r=b.extent;void 0!==c.extent&&(r=Zb(r,c.extent));var p=Ne(k,r,p),u={};u[m]={};var w=this.l(h,f,u),y=ui(g),z=Ib(),D=new gd(0,0,0,0),t,v,B,F;for(B=p.a;B<=p.b;++B)for(F=p.f;F<=p.c;++F)t=Ug(h,m,B,F,d,f),v=t.N(),v=2==v||4== +v||3==v&&!y,!v&&t.a&&(t=t.a),v=t.N(),2==v?u[m][t.L.toString()]=t:4==v||3==v&&!y||(v=Je(k,t.L,w,D,z),v||(t=Me(k,t.L,D,z))&&w(m+1,t));var C;if(this.g!=h.f){for(C in this.b)y=this.b[+C],he(y.target);this.b={};this.g=h.f}z=Object.keys(u).map(Number);z.sort(Ga);var w={},G;B=0;for(F=z.length;B<F;++B){C=z[B];C in this.b?y=this.b[C]:(y=Se(k,q,C),y=new pk(k,y),w[C]=!0,this.b[C]=y);C=u[C];for(G in C){t=y;v=C[G];var J=l,A=v.L,H=A[0],O=A[1],Q=A[2],A=A.toString();if(!(A in t.b)){var H=sb(Qe(t.g,H),t.i),L=v.S(t), K=L.style;K.maxWidth="none";var fa=void 0,ra=void 0;0<J?(fa=document.createElement("DIV"),ra=fa.style,ra.overflow="hidden",ra.width=H[0]+"px",ra.height=H[1]+"px",K.position="absolute",K.left=-J+"px",K.top=-J+"px",K.width=H[0]+2*J+"px",K.height=H[1]+2*J+"px",fa.appendChild(L)):(K.width=H[0]+"px",K.height=H[1]+"px",fa=L,ra=K);ra.position="absolute";ra.left=(O-t.f[1])*H[0]+"px";ra.top=(t.f[2]-Q)*H[1]+"px";t.a||(t.a=document.createDocumentFragment());t.a.appendChild(fa);t.b[A]=v}}y.a&&(y.target.appendChild(y.a), -y.a=null)}l=Object.keys(this.b).map(Number);l.sort(Ga);B=yb();G=0;for(z=l.length;G<z;++G)if(C=l[G],y=this.b[C],C in u)if(t=y.I(),F=y.ia(),Ig(B,b.size[0]/2,b.size[1]/2,t/e.resolution,t/e.resolution,e.rotation,(F[0]-q[0])/t,(q[1]-F[1])/t),y.setTransform(B),C in w){for(--C;0<=C;--C)if(C in this.b){F=this.b[C].target;F.parentNode&&F.parentNode.insertBefore(y.target,F.nextSibling);break}0>C&&fe(this.target,y.target,0)}else{if(!b.viewHints[0]&&!b.viewHints[1]){v=Ke(y.g,r,y.f[0],D);C=[];t=F=void 0;for(t in y.b)F= -y.b[t],J=F.L,gd(v,J[1],J[2])||C.push(F);J=v=void 0;v=0;for(J=C.length;v<J;++v)F=C[v],t=F.L.toString(),ge(F.S(y)),delete y.b[t]}}else ge(y.target),delete this.b[C];c.opacity!=this.h&&(this.h=this.target.style.opacity=c.opacity);c.visible&&!this.c&&(oe(this.target,!0),this.c=!0);Qg(b.usedTiles,h,m,p);Sg(b,h,k,d,f,r,m,g.get("preload"));Ng(b,h);Pg(b,h);return!0}; -function ok(b,c){this.target=document.createElement("DIV");this.target.style.position="absolute";this.target.style.width="100%";this.target.style.height="100%";this.g=b;this.f=c;this.h=ac(Je(b,c));this.l=b.I(c[0]);this.b={};this.a=null;this.c=Ab();this.i=[0,0]}ok.prototype.ia=function(){return this.h};ok.prototype.I=function(){return this.l};ok.prototype.setTransform=function(b){Jg(b,this.c)||(vf(this.target,b),Bb(this.c,b))};function pk(b){this.g=rf();var c=this.g.canvas;c.style.maxWidth="none";c.style.position="absolute";mk.call(this,b,c);this.b=!1;this.h=-1;this.o=NaN;this.i=Ib();this.c=this.j=null;this.v=yb();this.u=yb()}M(pk,mk);n=pk.prototype;n.Ib=function(){var b=this.g.canvas;b.width=b.width;this.h=0}; -n.Kc=function(b,c){var d=b.viewState,e=d.center,f=d.rotation,g=d.resolution,d=b.pixelRatio,h=b.size[0],k=b.size[1],l=h*d,m=k*d,e=Ig(this.v,d*h/2,d*k/2,d/g,-d/g,-f,-e[0],-e[1]),g=this.g;g.canvas.width=l;g.canvas.height=m;h=Ig(this.u,0,0,1/d,1/d,0,-(l-h)/2*d,-(m-k)/2*d);vf(g.canvas,h);qk(this,"precompose",b,e);(h=this.c)&&!h.c()&&(g.globalAlpha=c.opacity,h.f(g,d,e,f,c.fb?b.skippedFeatureUids:{}),qk(this,"render",b,e));qk(this,"postcompose",b,e)}; -function qk(b,c,d,e){var f=b.g;b=b.a;mb(b,c)&&(e=new Oi(f,d.pixelRatio,d.extent,e,d.viewState.rotation),T(b,new Fg(c,b,e,d,f,null)))}n.gb=function(b,c,d,e){if(this.c){var f=this.a,g={};return this.c.g(b,c.viewState.resolution,c.viewState.rotation,{},function(b){var c=I(b).toString();if(!(c in g))return g[c]=!0,d.call(e,b,f)})}};n.Mc=function(){Mg(this)}; -n.Lc=function(b){function c(b){var c,e=b.c;e?c=e.call(b,l):(e=d.g)&&(c=e(b,l));if(c){if(c){e=!1;if(Array.isArray(c))for(var f=0,g=c.length;f<g;++f)e=xj(p,b,c[f],wj(l,m),this.Mc,this)||e;else e=xj(p,b,c,wj(l,m),this.Mc,this)||e;b=e}else b=!1;this.b=this.b||b}}var d=this.a,e=d.W();Og(b.attributions,e.i);Pg(b,e);var f=b.viewHints[0],g=b.viewHints[1],h=d.i,k=d.j;if(!this.b&&!h&&f||!k&&g)return!0;var g=b.extent,h=b.viewState,f=h.projection,l=h.resolution,m=b.pixelRatio;b=d.f;k=d.a;h=d.get("renderOrder"); -void 0===h&&(h=vj);g=Kb(g,k*l);if(!this.b&&this.o==l&&this.h==b&&this.j==h&&Mb(this.i,g))return!0;this.c=null;this.b=!1;var p=new rj(.5*l/m,g,l,d.a);bk(e,g,l,f);if(h){var q=[];Zj(e,g,function(b){q.push(b)},this);q.sort(h);q.forEach(c,this)}else Zj(e,g,c,this);sj(p);this.o=l;this.h=b;this.j=h;this.i=g;this.c=p;return!0};function rk(b,c){Zg.call(this,0,c);this.c=rf();var d=this.c.canvas;d.style.position="absolute";d.style.width="100%";d.style.height="100%";d.className="ol-unselectable";fe(b,d,0);this.g=yb();this.a=document.createElement("DIV");this.a.className="ol-unselectable";d=this.a.style;d.position="absolute";d.width="100%";d.height="100%";R(this.a,"touchstart",kb);fe(b,this.a,0);this.b=!0}M(rk,Zg);rk.prototype.K=function(){ge(this.a);rk.Y.K.call(this)}; -rk.prototype.Lb=function(b){if(b instanceof X)b=new nk(b);else if(b instanceof Y)b=new pk(b);else return null;return b};function sk(b,c,d){var e=b.h;if(mb(e,c)){var f=d.extent,g=d.pixelRatio,h=d.viewState,k=h.rotation,l=b.c,m=l.canvas;Ig(b.g,m.width/2,m.height/2,g/h.resolution,-g/h.resolution,-h.rotation,-h.center[0],-h.center[1]);b=new Oi(l,g,f,b.g,k);T(e,new Fg(c,e,b,d,l,null))}}rk.prototype.U=function(){return"dom"}; -rk.prototype.ub=function(b){if(b){var c=this.h;if(mb(c,"precompose")||mb(c,"postcompose")){var c=this.c.canvas,d=b.pixelRatio;c.width=b.size[0]*d;c.height=b.size[1]*d}sk(this,"precompose",b);c=b.layerStatesArray;Ma(c);var d=b.viewState.resolution,e,f,g,h;e=0;for(f=c.length;e<f;++e)h=c[e],g=h.layer,g=bh(this,g),fe(this.a,g.target,e),Hg(h,d)&&"ready"==h.cc?g.Lc(b,h)&&g.Kc(b,h):g.Ib();var c=b.layerStates,k;for(k in this.f)k in c||(g=this.f[k],ge(g.target));this.b||(oe(this.a,!0),this.b=!0);$g(b);ch(this, -b);b.postRenderFunctions.push(ah);sk(this,"postcompose",b)}else this.b&&(oe(this.a,!1),this.b=!1)};function tk(b){this.a=b}function uk(b){this.a=b}M(uk,tk);uk.prototype.U=function(){return 35632};function vk(b){this.a=b}M(vk,tk);vk.prototype.U=function(){return 35633};function wk(){this.a="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;}"}M(wk,uk);aa(wk); -function xk(){this.a="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;}"}M(xk,vk);aa(xk); -function yk(b,c){this.i=b.getUniformLocation(c,"j");this.j=b.getUniformLocation(c,"i");this.h=b.getUniformLocation(c,"k");this.l=b.getUniformLocation(c,"h");this.a=b.getAttribLocation(c,"e");this.b=b.getAttribLocation(c,"f");this.c=b.getAttribLocation(c,"c");this.f=b.getAttribLocation(c,"g");this.g=b.getAttribLocation(c,"d")};function zk(b){this.a=void 0!==b?b:[]};function Ak(b,c){this.B=b;this.a=c;this.b={};this.g={};this.c={};this.i=this.j=this.h=this.l=null;(this.f=0<=oa.indexOf("OES_element_index_uint"))&&c.getExtension("OES_element_index_uint");R(this.B,"webglcontextlost",this.o,this);R(this.B,"webglcontextrestored",this.s,this)}M(Ak,hb); -function Bk(b,c,d){var e=b.a,f=d.a,g=String(I(d));if(g in b.b)e.bindBuffer(c,b.b[g].buffer);else{var h=e.createBuffer();e.bindBuffer(c,h);var k;34962==c?k=new Float32Array(f):34963==c&&(k=b.f?new Uint32Array(f):new Uint16Array(f));e.bufferData(c,k,35044);b.b[g]={bf:d,buffer:h}}}function Ck(b,c){var d=b.a,e=String(I(c)),f=b.b[e];d.isContextLost()||d.deleteBuffer(f.buffer);delete b.b[e]} -Ak.prototype.K=function(){gb(this.B);var b=this.a;if(!b.isContextLost()){for(var c in this.b)b.deleteBuffer(this.b[c].buffer);for(c in this.c)b.deleteProgram(this.c[c]);for(c in this.g)b.deleteShader(this.g[c]);b.deleteFramebuffer(this.h);b.deleteRenderbuffer(this.i);b.deleteTexture(this.j)}}; -function Dk(b){if(!b.h){var c=b.a,d=c.createFramebuffer();c.bindFramebuffer(c.FRAMEBUFFER,d);var e=Ek(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);b.h=d; -b.j=e;b.i=f}return b.h}function Fk(b,c){var d=String(I(c));if(d in b.g)return b.g[d];var e=b.a,f=e.createShader(c.U());e.shaderSource(f,c.a);e.compileShader(f);return b.g[d]=f}function Gk(b,c,d){var e=I(c)+"/"+I(d);if(e in b.c)return b.c[e];var f=b.a,g=f.createProgram();f.attachShader(g,Fk(b,c));f.attachShader(g,Fk(b,d));f.linkProgram(g);return b.c[e]=g}Ak.prototype.o=function(){Wa(this.b);Wa(this.g);Wa(this.c);this.i=this.j=this.h=this.l=null};Ak.prototype.s=function(){}; -function Hk(b,c){if(c==b.l)return!1;b.a.useProgram(c);b.l=c;return!0}function Ik(b,c,d){var e=b.createTexture();b.bindTexture(b.TEXTURE_2D,e);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MAG_FILTER,b.LINEAR);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MIN_FILTER,b.LINEAR);void 0!==c&&b.texParameteri(3553,10242,c);void 0!==d&&b.texParameteri(3553,10243,d);return e}function Ek(b,c,d){var e=Ik(b,void 0,void 0);b.texImage2D(b.TEXTURE_2D,0,b.RGBA,c,d,0,b.RGBA,b.UNSIGNED_BYTE,null);return e};function Jk(b,c){this.H=this.u=void 0;this.j=Xb(c);this.s=[];this.h=[];this.A=void 0;this.g=[];this.c=[];this.D=this.J=void 0;this.b=[];this.v=this.i=null;this.V=void 0;this.na=Ab();this.Ca=Ab();this.R=this.G=void 0;this.oa=Ab();this.ka=this.Z=this.T=void 0;this.ga=[];this.l=[];this.a=[];this.o=null;this.f=[];this.B=[];this.ba=void 0}M(Jk,Eg); -function Kk(b,c){var d=b.o,e=b.i,f=b.ga,g=b.l,h=c.a;return function(){if(!h.isContextLost()){var b,l;b=0;for(l=f.length;b<l;++b)h.deleteTexture(f[b]);b=0;for(l=g.length;b<l;++b)h.deleteTexture(g[b])}Ck(c,d);Ck(c,e)}} -function Lk(b,c,d,e){var f=b.u,g=b.H,h=b.A,k=b.J,l=b.D,m=b.V,p=b.G,q=b.R,r=b.T?1:0,u=b.Z,w=b.ka,y=b.ba,z=Math.cos(u),u=Math.sin(u),D=b.b.length,t=b.a.length,v,B,F,C,G,J;for(v=0;v<d;v+=e)G=c[v]-b.j[0],J=c[v+1]-b.j[1],B=t/8,F=-w*f,C=-w*(h-g),b.a[t++]=G,b.a[t++]=J,b.a[t++]=F*z-C*u,b.a[t++]=F*u+C*z,b.a[t++]=p/l,b.a[t++]=(q+h)/k,b.a[t++]=m,b.a[t++]=r,F=w*(y-f),C=-w*(h-g),b.a[t++]=G,b.a[t++]=J,b.a[t++]=F*z-C*u,b.a[t++]=F*u+C*z,b.a[t++]=(p+y)/l,b.a[t++]=(q+h)/k,b.a[t++]=m,b.a[t++]=r,F=w*(y-f),C=w*g,b.a[t++]= -G,b.a[t++]=J,b.a[t++]=F*z-C*u,b.a[t++]=F*u+C*z,b.a[t++]=(p+y)/l,b.a[t++]=q/k,b.a[t++]=m,b.a[t++]=r,F=-w*f,C=w*g,b.a[t++]=G,b.a[t++]=J,b.a[t++]=F*z-C*u,b.a[t++]=F*u+C*z,b.a[t++]=p/l,b.a[t++]=q/k,b.a[t++]=m,b.a[t++]=r,b.b[D++]=B,b.b[D++]=B+1,b.b[D++]=B+2,b.b[D++]=B,b.b[D++]=B+2,b.b[D++]=B+3}Jk.prototype.Za=function(b,c){this.f.push(this.b.length);this.B.push(c);var d=b.a;Lk(this,d,d.length,b.b)};Jk.prototype.$a=function(b,c){this.f.push(this.b.length);this.B.push(c);var d=b.a;Lk(this,d,d.length,b.b)}; -function Mk(b,c){var d=c.a;b.s.push(b.b.length);b.h.push(b.b.length);b.o=new zk(b.a);Bk(c,34962,b.o);b.i=new zk(b.b);Bk(c,34963,b.i);var e={};Nk(b.ga,b.g,e,d);Nk(b.l,b.c,e,d);b.u=void 0;b.H=void 0;b.A=void 0;b.g=null;b.c=null;b.J=void 0;b.D=void 0;b.b=null;b.V=void 0;b.G=void 0;b.R=void 0;b.T=void 0;b.Z=void 0;b.ka=void 0;b.a=null;b.ba=void 0} -function Nk(b,c,d,e){var f,g,h,k,l=c.length;for(k=0;k<l;++k){g=c[k];h=I(g).toString();if(h in d)f=d[h];else{f=e;var m=Ik(f,33071,33071);f.texImage2D(f.TEXTURE_2D,0,f.RGBA,f.RGBA,f.UNSIGNED_BYTE,g);f=m;d[h]=f}b[k]=f}} -function Ok(b,c,d,e,f,g,h,k,l,m,p){var q=c.a;Bk(c,34962,b.o);Bk(c,34963,b.i);var r=wk.va(),u=xk.va(),u=Gk(c,r,u);b.v?r=b.v:(r=new yk(q,u),b.v=r);Hk(c,u);q.enableVertexAttribArray(r.c);q.vertexAttribPointer(r.c,2,5126,!1,32,0);q.enableVertexAttribArray(r.a);q.vertexAttribPointer(r.a,2,5126,!1,32,8);q.enableVertexAttribArray(r.g);q.vertexAttribPointer(r.g,2,5126,!1,32,16);q.enableVertexAttribArray(r.b);q.vertexAttribPointer(r.b,1,5126,!1,32,24);q.enableVertexAttribArray(r.f);q.vertexAttribPointer(r.f, -1,5126,!1,32,28);u=b.oa;Ig(u,0,0,2/(e*g[0]),2/(e*g[1]),-f,-(d[0]-b.j[0]),-(d[1]-b.j[1]));d=b.Ca;e=2/g[0];g=2/g[1];Cb(d);d[0]=e;d[5]=g;d[10]=1;d[15]=1;g=b.na;Cb(g);0!==f&&Gb(g,-f);q.uniformMatrix4fv(r.l,!1,u);q.uniformMatrix4fv(r.j,!1,d);q.uniformMatrix4fv(r.i,!1,g);q.uniform1f(r.h,h);var w;if(void 0===l)Pk(b,q,c,k,b.ga,b.s);else{if(m)a:{f=c.f?5125:5123;c=c.f?4:2;g=b.f.length-1;for(h=b.l.length-1;0<=h;--h)for(q.bindTexture(3553,b.l[h]),m=0<h?b.h[h-1]:0,u=b.h[h];0<=g&&b.f[g]>=m;){w=b.f[g];d=b.B[g]; -e=I(d).toString();if(void 0===k[e]&&d.M()&&(void 0===p||$b(p,d.M().C()))&&(q.clear(q.COLOR_BUFFER_BIT|q.DEPTH_BUFFER_BIT),q.drawElements(4,u-w,f,w*c),u=l(d))){b=u;break a}u=w;g--}b=void 0}else q.clear(q.COLOR_BUFFER_BIT|q.DEPTH_BUFFER_BIT),Pk(b,q,c,k,b.l,b.h),b=(b=l(null))?b:void 0;w=b}q.disableVertexAttribArray(r.c);q.disableVertexAttribArray(r.a);q.disableVertexAttribArray(r.g);q.disableVertexAttribArray(r.b);q.disableVertexAttribArray(r.f);return w} -function Pk(b,c,d,e,f,g){var h=d.f?5125:5123;d=d.f?4:2;if(Za(e)){var k;b=0;e=f.length;for(k=0;b<e;++b){c.bindTexture(3553,f[b]);var l=g[b];c.drawElements(4,l-k,h,k*d);k=l}}else{k=0;var m,l=0;for(m=f.length;l<m;++l){c.bindTexture(3553,f[l]);for(var p=0<l?g[l-1]:0,q=g[l],r=p;k<b.f.length&&b.f[k]<=q;){var u=I(b.B[k]).toString();void 0!==e[u]?(r!==p&&c.drawElements(4,p-r,h,r*d),p=r=k===b.f.length-1?q:b.f[k+1]):p=k===b.f.length-1?q:b.f[k+1];k++}r!==p&&c.drawElements(4,p-r,h,r*d)}}} -Jk.prototype.Ja=function(b){var c=b.ab(),d=b.S(1),e=b.Nb(),f=b.tb(1),g=b.B,h=b.ia(),k=b.o,l=b.$(),m=b.Ha();b=b.hb;var p;0===this.g.length?this.g.push(d):(p=this.g[this.g.length-1],I(p)!=I(d)&&(this.s.push(this.b.length),this.g.push(d)));0===this.c.length?this.c.push(f):(p=this.c[this.c.length-1],I(p)!=I(f)&&(this.h.push(this.b.length),this.c.push(f)));this.u=c[0];this.H=c[1];this.A=m[1];this.J=e[1];this.D=e[0];this.V=g;this.G=h[0];this.R=h[1];this.Z=l;this.T=k;this.ka=b;this.ba=m[0]}; -function Qk(b,c,d){this.l=c;this.i=b;this.h=d;this.b={}}function Rk(b,c){var d=[],e;for(e in b.b)d.push(Kk(b.b[e],c));return function(){for(var b=d.length,c,e=0;e<b;e++)c=d[e].apply(this,arguments);return c}}function Sk(b,c){for(var d in b.b)Mk(b.b[d],c)}Qk.prototype.a=function(b,c){var d=this.b[c];void 0===d&&(d=new Tk[c](this.i,this.l),this.b[c]=d);return d};Qk.prototype.c=function(){return Za(this.b)}; -Qk.prototype.f=function(b,c,d,e,f,g,h,k){var l,m;g=0;for(l=bj.length;g<l;++g)m=this.b[bj[g]],void 0!==m&&Ok(m,b,c,d,e,f,h,k,void 0,!1)};function Uk(b,c,d,e,f,g,h,k,l,m){var p=Vk,q,r;for(q=bj.length-1;0<=q;--q)if(r=b.b[bj[q]],void 0!==r&&(r=Ok(r,c,d,e,f,p,g,h,k,l,m)))return r} -Qk.prototype.g=function(b,c,d,e,f,g,h,k,l,m){var p=c.a;p.bindFramebuffer(p.FRAMEBUFFER,Dk(c));var q;void 0!==this.h&&(q=Kb(Pb(b),e*this.h));return Uk(this,c,b,e,f,k,l,function(b){var c=new Uint8Array(4);p.readPixels(0,0,1,1,p.RGBA,p.UNSIGNED_BYTE,c);if(0<c[3]&&(b=m(b)))return b},!0,q)};function Wk(b,c,d,e,f,g,h){var k=d.a;k.bindFramebuffer(k.FRAMEBUFFER,Dk(d));return void 0!==Uk(b,d,c,e,f,g,h,function(){var b=new Uint8Array(4);k.readPixels(0,0,1,1,k.RGBA,k.UNSIGNED_BYTE,b);return 0<b[3]},!1)} -var Tk={Image:Jk},Vk=[1,1];function Xk(b,c,d,e,f,g){this.a=b;this.f=c;this.c=g;this.l=f;this.h=e;this.g=d;this.b=null}M(Xk,Eg);Xk.prototype.$a=function(b,c){var d=this.a,e=(new Qk(1,this.c)).a(0,"Image");e.Ja(this.b);e.$a(b,c);Mk(e,d);Ok(e,this.a,this.f,this.g,this.h,this.l,1,{},void 0,!1);Kk(e,d)()};Xk.prototype.Za=function(b,c){var d=this.a,e=(new Qk(1,this.c)).a(0,"Image");e.Ja(this.b);e.Za(b,c);Mk(e,d);Ok(e,this.a,this.f,this.g,this.h,this.l,1,{},void 0,!1);Kk(e,d)()};Xk.prototype.Ja=function(b){this.b=b};function Yk(){this.a="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;}"}M(Yk,uk);aa(Yk);function Zk(){this.a="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;}"}M(Zk,vk);aa(Zk); -function $k(b,c){this.f=b.getUniformLocation(c,"f");this.c=b.getUniformLocation(c,"e");this.h=b.getUniformLocation(c,"d");this.g=b.getUniformLocation(c,"g");this.a=b.getAttribLocation(c,"b");this.b=b.getAttribLocation(c,"c")};function al(b,c){Lg.call(this,c);this.c=b;this.G=new zk([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]);this.i=this.Ba=null;this.j=void 0;this.D=yb();this.R=Ab();this.o=null}M(al,Lg); -function bl(b,c,d){var e=b.c.c;if(void 0===b.j||b.j!=d){c.postRenderFunctions.push(na(function(b,c,d){b.isContextLost()||(b.deleteFramebuffer(c),b.deleteTexture(d))},e,b.i,b.Ba));c=Ek(e,d,d);var f=e.createFramebuffer();e.bindFramebuffer(36160,f);e.framebufferTexture2D(36160,36064,3553,c,0);b.Ba=c;b.i=f;b.j=d}else e.bindFramebuffer(36160,b.i)} -al.prototype.Nc=function(b,c,d){cl(this,"precompose",d,b);Bk(d,34962,this.G);var e=d.a,f=Yk.va(),g=Zk.va(),f=Gk(d,f,g);this.o?g=this.o:this.o=g=new $k(e,f);Hk(d,f)&&(e.enableVertexAttribArray(g.a),e.vertexAttribPointer(g.a,2,5126,!1,16,0),e.enableVertexAttribArray(g.b),e.vertexAttribPointer(g.b,2,5126,!1,16,8),e.uniform1i(g.g,0));e.uniformMatrix4fv(g.h,!1,this.D);e.uniformMatrix4fv(g.c,!1,this.R);e.uniform1f(g.f,c.opacity);e.bindTexture(3553,this.Ba);e.drawArrays(5,0,4);cl(this,"postcompose",d,b)}; -function cl(b,c,d,e){b=b.a;if(mb(b,c)){var f=e.viewState;T(b,new Fg(c,b,new Xk(d,f.center,f.resolution,f.rotation,e.size,e.extent),e,null,d))}}al.prototype.s=function(){this.i=this.Ba=null;this.j=void 0};function dl(){this.a="precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"}M(dl,uk);aa(dl);function el(){this.a="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;}"}M(el,vk);aa(el);function fl(b,c){this.f=b.getUniformLocation(c,"e");this.c=b.getUniformLocation(c,"d");this.a=b.getAttribLocation(c,"b");this.b=b.getAttribLocation(c,"c")};function gl(b,c){al.call(this,b,c);this.A=dl.va();this.T=el.va();this.b=null;this.v=new zk([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]);this.u=this.g=null;this.h=-1;this.J=[0,0]}M(gl,al);gl.prototype.K=function(){Ck(this.c.g,this.v);gl.Y.K.call(this)};gl.prototype.l=function(b,c,d){var e=this.c;return function(f,g){return We(b,c,f,g,function(b){var c=we(e.b,b.getKey());c&&(d[f]||(d[f]={}),d[f][b.L.toString()]=b);return c})}};gl.prototype.s=function(){gl.Y.s.call(this);this.b=null}; -gl.prototype.Oc=function(b,c,d){var e=this.c,f=d.a,g=b.viewState,h=g.projection,k=this.a,l=k.W(),m=l.la(h),p=Qe(m,g.resolution),q=m.I(p),r=Xe(l,p,b.pixelRatio,h),u=r[0]/sb(Pe(m,p),this.J)[0],w=q/u,y=l.mb(h),z=g.center,D;q==g.resolution?(z=Rg(z,q,b.size),D=Yb(z,q,g.rotation,b.size)):D=b.extent;q=Me(m,D,q);if(this.g&&hd(this.g,q)&&this.h==l.f)w=this.u;else{var t=[q.da(),q.c-q.b+1],v=Math.pow(2,Math.ceil(Math.log(Math.max(t[0]*r[0],t[1]*r[1]))/Math.LN2)),t=w*v,B=m.ia(p),F=B[0]+q.a*r[0]*w,w=B[1]+q.b* -r[1]*w,w=[F,w,F+t,w+t];bl(this,b,v);f.viewport(0,0,v,v);f.clearColor(0,0,0,0);f.clear(16384);f.disable(3042);v=Gk(d,this.A,this.T);Hk(d,v);this.b||(this.b=new fl(f,v));Bk(d,34962,this.v);f.enableVertexAttribArray(this.b.a);f.vertexAttribPointer(this.b.a,2,5126,!1,16,0);f.enableVertexAttribArray(this.b.b);f.vertexAttribPointer(this.b.b,2,5126,!1,16,8);f.uniform1i(this.b.f,0);d={};d[p]={};var C=this.l(l,h,d),G=ti(k),v=!0,F=Ib(),J=new fd(0,0,0,0),A,H,O;for(H=q.a;H<=q.f;++H)for(O=q.b;O<=q.c;++O){B=Tg(l, -p,H,O,u,h);if(void 0!==c.extent&&(A=Je(m,B.L,F),!$b(A,c.extent)))continue;A=B.N();A=2==A||4==A||3==A&&!G;!A&&B.a&&(B=B.a);A=B.N();if(2==A){if(we(e.b,B.getKey())){d[p][B.L.toString()]=B;continue}}else if(4==A||3==A&&!G)continue;v=!1;A=Ie(m,B.L,C,J,F);A||(B=Le(m,B.L,J,F))&&C(p+1,B)}c=Object.keys(d).map(Number);c.sort(Ga);for(var C=new Float32Array(4),Q,L,K,G=0,J=c.length;G<J;++G)for(Q in L=d[c[G]],L)B=L[Q],A=Je(m,B.L,F),H=2*(A[2]-A[0])/t,O=2*(A[3]-A[1])/t,K=2*(A[0]-w[0])/t-1,A=2*(A[1]-w[1])/t-1,xb(C, -H,O,K,A),f.uniform4fv(this.b.c,C),hl(e,B,r,y*u),f.drawArrays(5,0,4);v?(this.g=q,this.u=w,this.h=l.f):(this.u=this.g=null,this.h=-1,b.animate=!0)}Qg(b.usedTiles,l,p,q);var fa=e.i;Sg(b,l,m,u,h,D,p,k.get("preload"),function(b){var c;(c=2!=b.N()||we(e.b,b.getKey()))||(c=b.getKey()in fa.f);c||fa.c([b,Oe(m,b.L),m.I(b.L[0]),r,y*u])},this);Ng(b,l);Pg(b,l);f=this.D;Cb(f);Eb(f,(z[0]-w[0])/(w[2]-w[0]),(z[1]-w[1])/(w[3]-w[1]));0!==g.rotation&&Gb(f,g.rotation);Fb(f,b.size[0]*g.resolution/(w[2]-w[0]),b.size[1]* -g.resolution/(w[3]-w[1]));Eb(f,-.5,-.5);return!0};function il(b,c){al.call(this,b,c);this.h=!1;this.J=-1;this.A=NaN;this.u=Ib();this.g=this.b=this.v=null}M(il,al);n=il.prototype;n.Nc=function(b,c,d){this.g=c;var e=b.viewState,f=this.b;f&&!f.c()&&f.f(d,e.center,e.resolution,e.rotation,b.size,b.pixelRatio,c.opacity,c.fb?b.skippedFeatureUids:{})};n.K=function(){var b=this.b;b&&(Rk(b,this.c.g)(),this.b=null);il.Y.K.call(this)}; -n.gb=function(b,c,d,e){if(this.b&&this.g){var f=c.viewState,g=this.a,h={};return this.b.g(b,this.c.g,f.center,f.resolution,f.rotation,c.size,c.pixelRatio,this.g.opacity,{},function(b){var c=I(b).toString();if(!(c in h))return h[c]=!0,d.call(e,b,g)})}};n.Ic=function(b,c){if(this.b&&this.g){var d=c.viewState;return Wk(this.b,b,this.c.g,d.resolution,d.rotation,this.g.opacity,c.skippedFeatureUids)}return!1};n.Pc=function(){Mg(this)}; -n.Oc=function(b,c,d){function e(b){var c,d=b.c;d?c=d.call(b,m):(d=f.g)&&(c=d(b,m));if(c){if(c){d=!1;if(Array.isArray(c))for(var e=0,g=c.length;e<g;++e)d=xj(r,b,c[e],wj(m,p),this.Pc,this)||d;else d=xj(r,b,c,wj(m,p),this.Pc,this)||d;b=d}else b=!1;this.h=this.h||b}}var f=this.a;c=f.W();Og(b.attributions,c.i);Pg(b,c);var g=b.viewHints[0],h=b.viewHints[1],k=f.i,l=f.j;if(!this.h&&!k&&g||!l&&h)return!0;var h=b.extent,k=b.viewState,g=k.projection,m=k.resolution,p=b.pixelRatio,k=f.f,q=f.a,l=f.get("renderOrder"); -void 0===l&&(l=vj);h=Kb(h,q*m);if(!this.h&&this.A==m&&this.J==k&&this.v==l&&Mb(this.u,h))return!0;this.b&&b.postRenderFunctions.push(Rk(this.b,d));this.h=!1;var r=new Qk(.5*m/p,h,f.a);bk(c,h,m,g);if(l){var u=[];Zj(c,h,function(b){u.push(b)},this);u.sort(l);u.forEach(e,this)}else Zj(c,h,e,this);Sk(r,d);this.A=m;this.J=k;this.v=l;this.u=h;this.b=r;return!0};function jl(b,c){Zg.call(this,0,c);this.a=document.createElement("CANVAS");this.a.style.width="100%";this.a.style.height="100%";this.a.className="ol-unselectable";fe(b,this.a,0);this.s=this.u=0;this.H=rf();this.j=!0;this.c=xf(this.a,{antialias:!0,depth:!1,failIfMajorPerformanceCaveat:!0,preserveDrawingBuffer:!1,stencil:!0});this.g=new Ak(this.a,this.c);R(this.a,"webglcontextlost",this.re,this);R(this.a,"webglcontextrestored",this.se,this);this.b=new ve;this.o=null;this.i=new dh(function(b){var c= -b[1];b=b[2];var f=c[0]-this.o[0],c=c[1]-this.o[1];return 65536*Math.log(b)+Math.sqrt(f*f+c*c)/b}.bind(this),function(b){return b[0].getKey()});this.v=function(){if(0!==this.i.a.length){hh(this.i);var b=eh(this.i);hl(this,b[0],b[3],b[4])}return!1}.bind(this);this.l=0;kl(this)}M(jl,Zg); -function hl(b,c,d,e){var f=b.c,g=c.getKey();if(we(b.b,g))b=b.b.get(g),f.bindTexture(3553,b.Ba),9729!=b.Cc&&(f.texParameteri(3553,10240,9729),b.Cc=9729),9729!=b.Dc&&(f.texParameteri(3553,10240,9729),b.Dc=9729);else{var h=f.createTexture();f.bindTexture(3553,h);if(0<e){var k=b.H.canvas,l=b.H;b.u!==d[0]||b.s!==d[1]?(k.width=d[0],k.height=d[1],b.u=d[0],b.s=d[1]):l.clearRect(0,0,d[0],d[1]);l.drawImage(c.S(),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.S());f.texParameteri(3553,10240,9729);f.texParameteri(3553,10241,9729);f.texParameteri(3553,10242,33071);f.texParameteri(3553,10243,33071);b.b.set(g,{Ba:h,Cc:9729,Dc:9729})}}n=jl.prototype;n.Lb=function(b){return b instanceof X?new gl(this,b):b instanceof Y?new il(this,b):null};function ll(b,c,d){var e=b.h;if(mb(e,c)){b=b.g;var f=d.viewState;T(e,new Fg(c,e,new Xk(b,f.center,f.resolution,f.rotation,d.size,d.extent),d,null,b))}} -n.K=function(){var b=this.c;b.isContextLost()||xe(this.b,function(c){c&&b.deleteTexture(c.Ba)});ib(this.g);jl.Y.K.call(this)};n.pd=function(b,c){for(var d=this.c,e;1024<this.b.f-this.l;){if(e=this.b.a.Ka)d.deleteTexture(e.Ba);else if(+this.b.a.Ub==c.index)break;else--this.l;this.b.pop()}};n.U=function(){return"webgl"};n.re=function(b){b.preventDefault();this.b.clear();this.l=0;b=this.f;for(var c in b)b[c].s()};n.se=function(){kl(this);this.h.render()}; -function kl(b){b=b.c;b.activeTexture(33984);b.blendFuncSeparate(770,771,1,771);b.disable(2884);b.disable(2929);b.disable(3089);b.disable(2960)} -n.ub=function(b){var c=this.g,d=this.c;if(d.isContextLost())return!1;if(!b)return this.j&&(oe(this.a,!1),this.j=!1),!1;this.o=b.focus;this.b.set((-b.index).toString(),null);++this.l;ll(this,"precompose",b);var e=[],f=b.layerStatesArray;Ma(f);var g=b.viewState.resolution,h,k,l,m;h=0;for(k=f.length;h<k;++h)m=f[h],Hg(m,g)&&"ready"==m.cc&&(l=bh(this,m.layer),l.Oc(b,m,c)&&e.push(m));f=b.size[0]*b.pixelRatio;g=b.size[1]*b.pixelRatio;if(this.a.width!=f||this.a.height!=g)this.a.width=f,this.a.height=g;d.bindFramebuffer(36160, -null);d.clearColor(0,0,0,0);d.clear(16384);d.enable(3042);d.viewport(0,0,this.a.width,this.a.height);h=0;for(k=e.length;h<k;++h)m=e[h],l=bh(this,m.layer),l.Nc(b,m,c);this.j||(oe(this.a,!0),this.j=!0);$g(b);1024<this.b.f-this.l&&b.postRenderFunctions.push(this.pd.bind(this));0!==this.i.a.length&&(b.postRenderFunctions.push(this.v),b.animate=!0);ll(this,"postcompose",b);ch(this,b);b.postRenderFunctions.push(ah)}; -n.$b=function(b,c,d,e,f,g){var h;if(this.c.isContextLost())return!1;var k=c.viewState,l=c.layerStatesArray,m;for(m=l.length-1;0<=m;--m){h=l[m];var p=h.layer;if(Hg(h,k.resolution)&&f.call(g,p)&&(h=bh(this,p).gb(b,c,d,e)))return h}};n.Jc=function(b,c,d,e){var f=!1;if(this.c.isContextLost())return!1;var g=c.viewState,h=c.layerStatesArray,k;for(k=h.length-1;0<=k;--k){var l=h[k],m=l.layer;if(Hg(l,g.resolution)&&d.call(e,m)&&(f=bh(this,m).Ic(b,c)))return!0}return f};var ml=["canvas","webgl","dom"]; -function Z(b){U.call(this);var c=nl(b);this.La=void 0!==b.loadTilesWhileAnimating?b.loadTilesWhileAnimating:!1;this.yb=void 0!==b.loadTilesWhileInteracting?b.loadTilesWhileInteracting:!1;this.Ab=void 0!==b.pixelRatio?b.pixelRatio:Df;this.zb=c.logos;this.T=function(){this.g=void 0;this.Ge.call(this,Date.now())}.bind(this);this.Da=yb();this.Bb=yb();this.Ea=0;this.b=null;this.na=Ib();this.u=this.G=null;this.a=document.createElement("DIV");this.a.className="ol-viewport"+(Gf?" 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.o=document.createElement("DIV");this.o.className="ol-overlaycontainer";this.a.appendChild(this.o);this.j=document.createElement("DIV");this.j.className="ol-overlaycontainer-stopevent";b=["click","dblclick","mousedown","touchstart","mspointerdown",yg,"mousewheel","wheel"];for(var d=0,e=b.length;d<e;++d)R(this.j,b[d],jb);this.a.appendChild(this.j); -this.ba=new qg(this);for(var f in Bg)R(this.ba,Bg[f],this.zc,this);this.Z=c.keyboardEventTarget;this.i=null;R(this.a,"wheel",this.Pa,this);R(this.a,"mousewheel",this.Pa,this);this.s=c.controls;this.h=c.interactions;this.v=c.overlays;this.Xc={};this.D=new c.Ie(this.a,this);this.R=null;this.A=[];this.ga=[];this.oa=new ih(this.yd.bind(this),this.Td.bind(this));this.Cb={};R(this,qb("layergroup"),this.Dd,this);R(this,qb("view"),this.Ud,this);R(this,qb("size"),this.Qd,this);R(this,qb("target"),this.Sd, -this);this.l(c.values);nd(this.s,function(b){b.setMap(this)},this);R(this.s,"add",function(b){b.element.setMap(this)},this);R(this.s,"remove",function(b){b.element.setMap(null)},this);nd(this.h,function(b){b.setMap(this)},this);R(this.h,"add",function(b){b.element.setMap(this)},this);R(this.h,"remove",function(b){b.element.setMap(null)},this);nd(this.v,this.kc,this);R(this.v,"add",function(b){this.kc(b.element)},this);R(this.v,"remove",function(b){var c=b.element.Ma();void 0!==c&&delete this.Xc[c.toString()]; -b.element.setMap(null)},this)}M(Z,U);n=Z.prototype;n.kd=function(b){this.s.push(b)};n.ld=function(b){this.h.push(b)};n.md=function(b){pl(this).get("layers").push(b)};n.nd=function(b){this.v.push(b)};n.kc=function(b){var c=b.Ma();void 0!==c&&(this.Xc[c.toString()]=b);b.setMap(this)};n.ha=function(b){this.render();Array.prototype.push.apply(this.A,arguments)}; -n.K=function(){ib(this.ba);ib(this.D);fb(this.a,"wheel",this.Pa,this);fb(this.a,"mousewheel",this.Pa,this);void 0!==this.c&&(x.removeEventListener("resize",this.c,!1),this.c=void 0);this.g&&(x.cancelAnimationFrame(this.g),this.g=void 0);this.set("target",null);Z.Y.K.call(this)};n.sd=function(b,c,d,e,f){if(this.b)return b=this.ua(b),this.D.$b(b,this.b,c,void 0!==d?d:null,void 0!==e?e:bc,void 0!==f?f:null)}; -n.Wd=function(b,c,d){if(!this.b)return!1;b=this.ua(b);return this.D.Jc(b,this.b,void 0!==c?c:bc,void 0!==d?d:null)};n.xc=function(b){var c=this.a.getBoundingClientRect();b=b.changedTouches?b.changedTouches[0]:b;return[b.clientX-c.left,b.clientY-c.top]};n.Xb=function(){return this.get("target")};n.Oa=function(){var b=this.Xb();return void 0!==b?Zd(b):null};n.ua=function(b){var c=this.b;return c?(b=b.slice(),Kg(c.pixelToCoordinateMatrix,b,b)):null};function pl(b){return b.get("layergroup")} -function Eh(b,c){var d=b.b;if(d){var e=c.slice(0,2);return Kg(d.coordinateToPixelMatrix,e,e)}return null}n.Qa=function(){return this.get("size")};n.O=function(){return this.get("view")};n.yd=function(b,c,d,e){var f=this.b;if(!(f&&c in f.wantedTiles&&f.wantedTiles[c][b.L.toString()]))return Infinity;b=d[0]-f.focus[0];d=d[1]-f.focus[1];return 65536*Math.log(e)+Math.sqrt(b*b+d*d)/e};n.Pa=function(b,c){var d=new og(c||b.type,this,b);this.zc(d)}; -n.zc=function(b){if(this.b){this.R=b.coordinate;b.frameState=this.b;var c=this.h.a,d;if(!1!==T(this,b))for(d=c.length-1;0<=d;d--){var e=c[d];if(e.get("active")&&!e.handleEvent(b))break}}}; -n.Pd=function(){var b=this.b,c=this.oa;if(0!==c.a.length){var d=16,e=d;if(b){var f=b.viewHints;f[0]&&(d=this.La?8:0,e=2);f[1]&&(d=this.yb?8:0,e=2)}if(c.h<d){hh(c);for(var f=0,g,h;c.h<d&&f<e&&0<c.a.length;)g=eh(c)[0],h=g.getKey(),0!==g.N()||h in c.g||(c.g[h]=!0,++c.h,++f,g.load())}}c=this.ga;d=0;for(e=c.length;d<e;++d)c[d](this,b);c.length=0};n.Qd=function(){this.render()}; -n.Sd=function(){var b;this.Xb()&&(b=this.Oa());if(this.i){for(var c=0,d=this.i.length;c<d;++c)P(this.i[c]);this.i=null}b?(b.appendChild(this.a),b=this.Z?this.Z:b,this.i=[R(b,"keydown",this.Pa,this),R(b,"keypress",this.Pa,this)],this.c||(this.c=this.xb.bind(this),x.addEventListener("resize",this.c,!1))):(ge(this.a),void 0!==this.c&&(x.removeEventListener("resize",this.c,!1),this.c=void 0));this.xb()};n.Td=function(){this.render()};n.Vd=function(){this.render()}; -n.Ud=function(){this.G&&(P(this.G),this.G=null);var b=this.O();b&&(this.G=R(b,"propertychange",this.Vd,this));this.render()};n.Ed=function(){this.render()};n.Fd=function(){this.render()};n.Dd=function(){this.u&&(this.u.forEach(P),this.u=null);var b=pl(this);b&&(this.u=[R(b,"propertychange",this.Fd,this),R(b,"change",this.Ed,this)]);this.render()};n.He=function(){this.g&&x.cancelAnimationFrame(this.g);this.T()};n.render=function(){void 0===this.g&&(this.g=x.requestAnimationFrame(this.T))};n.De=function(b){return this.h.remove(b)}; -n.Ee=function(b){return pl(this).get("layers").remove(b)}; -n.Ge=function(b){var c,d,e,f=this.Qa(),g=this.O(),h=null;if(c=void 0!==f&&0<f[0]&&0<f[1]&&g)c=!!g.ja()&&void 0!==g.I();if(c){var h=g.g.slice(),k=pl(this).Ob(),l={};c=0;for(d=k.length;c<d;++c)l[I(k[c].layer)]=k[c];e=g.N();h={animate:!1,attributions:{},coordinateToPixelMatrix:this.Da,extent:null,focus:this.R?this.R:e.center,index:this.Ea++,layerStates:l,layerStatesArray:k,logos:Va({},this.zb),pixelRatio:this.Ab,pixelToCoordinateMatrix:this.Bb,postRenderFunctions:[],size:f,skippedFeatureUids:this.Cb, -tileQueue:this.oa,time:b,usedTiles:{},viewState:e,viewHints:h,wantedTiles:{}}}if(h){b=this.A;c=f=0;for(d=b.length;c<d;++c)g=b[c],g(this,h)&&(b[f++]=g);b.length=f;h.extent=Yb(e.center,e.resolution,e.rotation,h.size)}this.b=h;this.D.ub(h);h&&(h.animate&&this.render(),Array.prototype.push.apply(this.ga,h.postRenderFunctions),0!==this.A.length||h.viewHints[0]||h.viewHints[1]||Qb(h.extent,this.na)||(T(this,new te("moveend",this,h)),Lb(h.extent,this.na)));T(this,new te("postrender",this,h));c=e=this.Pd; -this&&(c=ma(e,this));!ga(x.setImmediate)||x.Window&&x.Window.prototype&&!W("Edge")&&x.Window.prototype.setImmediate==x.setImmediate?(lf||(lf=mf()),lf(c)):x.setImmediate(c)}; -n.xb=function(){var b=this.Oa();if(b){var c=Yd(b),d=Gd&&b.currentStyle,e;if(e=d)Wd(c),e=!0;if(e&&"auto"!=d.width&&"auto"!=d.height&&!d.boxSizing)c=pe(b,d.width,"width","pixelWidth"),b=pe(b,d.height,"height","pixelHeight"),b=new Vd(c,b);else{d=new Vd(b.offsetWidth,b.offsetHeight);if(Gd){c=qe(b,"paddingLeft");e=qe(b,"paddingRight");var f=qe(b,"paddingTop"),g=qe(b,"paddingBottom"),c=new je(f,e,g,c)}else c=ke(b,"paddingLeft"),e=ke(b,"paddingRight"),f=ke(b,"paddingTop"),g=ke(b,"paddingBottom"),c=new je(parseFloat(f), -parseFloat(e),parseFloat(g),parseFloat(c));!Gd||9<=Number(Sd)?(e=ke(b,"borderLeftWidth"),f=ke(b,"borderRightWidth"),g=ke(b,"borderTopWidth"),b=ke(b,"borderBottomWidth"),b=new je(parseFloat(g),parseFloat(f),parseFloat(b),parseFloat(e))):(e=se(b,"borderLeft"),f=se(b,"borderRight"),g=se(b,"borderTop"),b=se(b,"borderBottom"),b=new je(g,f,b,e));b=new Vd(d.width-b.left-c.left-c.right-b.right,d.height-b.top-c.top-c.bottom-b.bottom)}this.set("size",[b.width,b.height])}else this.set("size",void 0)}; -function nl(b){var c=null;void 0!==b.keyboardEventTarget&&(c="string"===typeof b.keyboardEventTarget?document.getElementById(b.keyboardEventTarget):b.keyboardEventTarget);var d={},e={};if(void 0===b.logo||"boolean"===typeof b.logo&&b.logo)e["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAHGAAABxgEXwfpGAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAhNQTFRF////AP//AICAgP//AFVVQECA////K1VVSbbbYL/fJ05idsTYJFtbbcjbJllmZszWWMTOIFhoHlNiZszTa9DdUcHNHlNlV8XRIVdiasrUHlZjIVZjaMnVH1RlIFRkH1RkH1ZlasvYasvXVsPQH1VkacnVa8vWIVZjIFRjVMPQa8rXIVVkXsXRsNveIFVkIFZlIVVj3eDeh6GmbMvXH1ZkIFRka8rWbMvXIFVkIFVjIFVkbMvWH1VjbMvWIFVlbcvWIFVla8vVIFVkbMvWbMvVH1VkbMvWIFVlbcvWIFVkbcvVbMvWjNPbIFVkU8LPwMzNIFVkbczWIFVkbsvWbMvXIFVkRnB8bcvW2+TkW8XRIFVkIlZlJVloJlpoKlxrLl9tMmJwOWd0Omh1RXF8TneCT3iDUHiDU8LPVMLPVcLPVcPQVsPPVsPQV8PQWMTQWsTQW8TQXMXSXsXRX4SNX8bSYMfTYcfTYsfTY8jUZcfSZsnUaIqTacrVasrVa8jTa8rWbI2VbMvWbcvWdJObdcvUdszUd8vVeJaee87Yfc3WgJyjhqGnitDYjaarldPZnrK2oNbborW5o9bbo9fbpLa6q9ndrL3ArtndscDDutzfu8fJwN7gwt7gxc/QyuHhy+HizeHi0NfX0+Pj19zb1+Tj2uXk29/e3uLg3+Lh3+bl4uXj4ufl4+fl5Ofl5ufl5ujm5+jmySDnBAAAAFp0Uk5TAAECAgMEBAYHCA0NDg4UGRogIiMmKSssLzU7PkJJT1JTVFliY2hrdHZ3foSFhYeJjY2QkpugqbG1tre5w8zQ09XY3uXn6+zx8vT09vf4+Pj5+fr6/P39/f3+gz7SsAAAAVVJREFUOMtjYKA7EBDnwCPLrObS1BRiLoJLnte6CQy8FLHLCzs2QUG4FjZ5GbcmBDDjxJBXDWxCBrb8aM4zbkIDzpLYnAcE9VXlJSWlZRU13koIeW57mGx5XjoMZEUqwxWYQaQbSzLSkYGfKFSe0QMsX5WbjgY0YS4MBplemI4BdGBW+DQ11eZiymfqQuXZIjqwyadPNoSZ4L+0FVM6e+oGI6g8a9iKNT3o8kVzNkzRg5lgl7p4wyRUL9Yt2jAxVh6mQCogae6GmflI8p0r13VFWTHBQ0rWPW7ahgWVcPm+9cuLoyy4kCJDzCm6d8PSFoh0zvQNC5OjDJhQopPPJqph1doJBUD5tnkbZiUEqaCnB3bTqLTFG1bPn71kw4b+GFdpLElKIzRxxgYgWNYc5SCENVHKeUaltHdXx0dZ8uBI1hJ2UUDgq82CM2MwKeibqAvSO7MCABq0wXEPiqWEAAAAAElFTkSuQmCC"]= -"http://openlayers.org/";else{var f=b.logo;"string"===typeof f?e[f]="":ha(f)&&(e[f.src]=f.href)}f=b.layers instanceof gi?b.layers:new gi({layers:b.layers});d.layergroup=f;d.target=b.target;d.view=void 0!==b.view?b.view:new Wc;var f=Zg,g;void 0!==b.renderer?Array.isArray(b.renderer)?g=b.renderer:"string"===typeof b.renderer&&(g=[b.renderer]):g=ml;var h,k;h=0;for(k=g.length;h<k;++h){var l=g[h];if("canvas"==l){if(Ff){f=kk;break}}else if("dom"==l){f=rk;break}else if("webgl"==l&&yf){f=jl;break}}var m; -void 0!==b.controls?m=Array.isArray(b.controls)?new ld(b.controls.slice()):b.controls:m=ef();if(void 0!==b.interactions)g=Array.isArray(b.interactions)?new ld(b.interactions.slice()):b.interactions;else{g={};h=new ld;k=new jh;(void 0!==g.altShiftDragRotate?g.altShiftDragRotate:1)&&h.push(new Fh);(void 0!==g.doubleClickZoom?g.doubleClickZoom:1)&&h.push(new ph({delta:g.zoomDelta,duration:g.zoomDuration}));(void 0!==g.dragPan?g.dragPan:1)&&h.push(new Ah({kinetic:k}));(void 0!==g.pinchRotate?g.pinchRotate: -1)&&h.push(new Zh);(void 0!==g.pinchZoom?g.pinchZoom:1)&&h.push(new ci({duration:g.zoomDuration}));if(void 0!==g.keyboard?g.keyboard:1)h.push(new Th),h.push(new Vh({delta:g.zoomDelta,duration:g.zoomDuration}));(void 0!==g.mouseWheelZoom?g.mouseWheelZoom:1)&&h.push(new Xh({duration:g.zoomDuration}));(void 0!==g.shiftDragZoom?g.shiftDragZoom:1)&&h.push(new Sh({duration:g.zoomDuration}));g=h}b=void 0!==b.overlays?Array.isArray(b.overlays)?new ld(b.overlays.slice()):b.overlays:new ld;return{controls:m, -interactions:g,keyboardEventTarget:c,logos:e,overlays:b,Ie:f,values:d}}lc(li);lc(si);si.forEach(function(b){li.forEach(function(c){mc(b,c,mi);mc(c,b,ni)})});function ql(b){U.call(this);this.j=b.id;this.i=void 0!==b.insertFirst?b.insertFirst:!0;this.o=void 0!==b.stopEvent?b.stopEvent:!0;this.b=document.createElement("DIV");this.b.className="ol-overlay-container";this.b.style.position="absolute";this.autoPan=void 0!==b.autoPan?b.autoPan:!1;this.g=void 0!==b.autoPanAnimation?b.autoPanAnimation:{};this.h=void 0!==b.autoPanMargin?b.autoPanMargin:20;this.a={kb:"",rb:"",vb:"",wb:"",visible:!0};this.c=null;R(this,qb("element"),this.Bd,this);R(this,qb("map"), -this.Kd,this);R(this,qb("offset"),this.Ld,this);R(this,qb("position"),this.Nd,this);R(this,qb("positioning"),this.Od,this);void 0!==b.element&&this.set("element",b.element);this.set("offset",void 0!==b.offset?b.offset:[0,0]);this.set("positioning",void 0!==b.positioning?b.positioning:"top-left");void 0!==b.position&&this.Ec(b.position)}M(ql,U);n=ql.prototype;n.Ma=function(){return this.j};n.Bd=function(){ee(this.b);var b=this.get("element");b&&this.b.appendChild(b)}; -n.Kd=function(){this.c&&(ge(this.b),P(this.c),this.c=null);var b=this.get("map");b&&(this.c=R(b,"postrender",this.render,this),rl(this),b=this.o?b.j:b.o,this.i?fe(b,this.b,0):b.appendChild(this.b))};n.render=function(){rl(this)};n.Ld=function(){rl(this)}; -n.Nd=function(){rl(this);if(void 0!==this.get("position")&&this.autoPan){var b=this.get("map");if(void 0!==b&&b.Oa()){var c=sl(b.Oa(),b.Qa()),d=this.get("element"),e=d.offsetWidth,f=d.currentStyle||x.getComputedStyle(d),e=e+(parseInt(f.marginLeft,10)+parseInt(f.marginRight,10)),f=d.offsetHeight,g=d.currentStyle||x.getComputedStyle(d),f=f+(parseInt(g.marginTop,10)+parseInt(g.marginBottom,10)),h=sl(d,[e,f]),d=this.h;Mb(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=b.O().ja(),e=Eh(b,d),c=[e[0]+c[0],e[1]+c[1]],this.g&&(this.g.source=d,b.ha(cd(this.g))),b.O().pa(b.ua(c)))}}};n.Od=function(){rl(this)};n.setMap=function(b){this.set("map",b)};n.Ec=function(b){this.set("position",b)}; -function sl(b,c){var d=Yd(b),e=new Ud(0,0),f;f=d?Yd(d):document;var g;(g=!Gd||9<=Number(Sd))||(Wd(f),g=!0);b!=(g?f.documentElement:f.body)&&(f=le(b),g=Wd(d).a,d=g.scrollingElement?g.scrollingElement:Jd?g.body||g.documentElement:g.documentElement,g=g.parentWindow||g.defaultView,d=Gd&&Qd("10")&&g.pageYOffset!=d.scrollTop?new Ud(d.scrollLeft,d.scrollTop):new Ud(g.pageXOffset||d.scrollLeft,g.pageYOffset||d.scrollTop),e.x=f.left+d.x,e.y=f.top+d.y);return[e.x,e.y,e.x+c[0],e.y+c[1]]} -function tl(b,c){b.a.visible!==c&&(oe(b.b,c),b.a.visible=c)} -function rl(b){var c=b.get("map"),d=b.get("position");if(void 0!==c&&c.b&&void 0!==d){var d=Eh(c,d),e=c.Qa(),c=b.b.style,f=b.get("offset"),g=b.get("positioning"),h=f[0],f=f[1];if("bottom-right"==g||"center-right"==g||"top-right"==g)""!==b.a.rb&&(b.a.rb=c.left=""),h=Math.round(e[0]-d[0]-h)+"px",b.a.vb!=h&&(b.a.vb=c.right=h);else{""!==b.a.vb&&(b.a.vb=c.right="");if("bottom-center"==g||"center-center"==g||"top-center"==g)h-=me(b.b).width/2;h=Math.round(d[0]+h)+"px";b.a.rb!=h&&(b.a.rb=c.left=h)}if("bottom-left"== -g||"bottom-center"==g||"bottom-right"==g)""!==b.a.wb&&(b.a.wb=c.top=""),d=Math.round(e[1]-d[1]-f)+"px",b.a.kb!=d&&(b.a.kb=c.bottom=d);else{""!==b.a.kb&&(b.a.kb=c.bottom="");if("center-left"==g||"center-center"==g||"center-right"==g)f-=me(b.b).height/2;d=Math.round(d[1]+f)+"px";b.a.wb!=d&&(b.a.wb=c.top=d)}tl(b,!0)}else tl(b,!1)};function ul(){this.defaultDataProjection=null}function vl(b,c,d){var e;d&&(e={dataProjection:d.dataProjection?d.dataProjection:b.f(Kj(c)),featureProjection:d.featureProjection});var f;e&&(f={featureProjection:e.featureProjection,dataProjection:e.dataProjection?e.dataProjection:b.defaultDataProjection,rightHanded:e.rightHanded},e.decimals&&(f.decimals=e.decimals));return f} -function wl(b,c){var d=c?kc(c.featureProjection):null,e=c?kc(c.dataProjection):null;if(d&&e&&!vc(d,e))if(b instanceof yc)d=b.o(e,d);else{e=wc(e,d);d=[b[0],b[1],b[0],b[3],b[2],b[1],b[2],b[3]];e(d,d,2);var f=[d[0],d[2],d[4],d[6]],g=[d[1],d[3],d[5],d[7]],d=Math.min.apply(null,f),e=Math.min.apply(null,g),f=Math.max.apply(null,f),g=Math.max.apply(null,g),d=Nb(d,e,f,g,void 0)}else d=b;return d};function xl(){this.defaultDataProjection=null}M(xl,ul);function Kj(b){return ha(b)?b:"string"===typeof b?(b=JSON.parse(b))?b:null:null}xl.prototype.U=function(){return"json"};xl.prototype.g=function(b,c){return this.a(Kj(b),vl(this,b,c))};xl.prototype.b=function(b,c){return this.h(Kj(b),vl(this,b,c))};function yl(b,c,d,e,f){var g=NaN,h=NaN,k=(d-c)/e;if(0!==k)if(1==k)g=b[c],h=b[c+1];else if(2==k)g=.5*b[c]+.5*b[c+e],h=.5*b[c+1]+.5*b[c+e+1];else{var h=b[c],k=b[c+1],l=0,g=[0],m;for(m=c+e;m<d;m+=e){var p=b[m],q=b[m+1],l=l+Math.sqrt((p-h)*(p-h)+(q-k)*(q-k));g.push(l);h=p;k=q}d=.5*l;l=0;m=g.length;for(p=!1;l<m;)h=l+(m-l>>1),k=+Ga(g[h],d),0>k?l=h+1:(m=h,p=!k);h=p?l:~l;0>h?(d=(d-g[-h-2])/(g[-h-1]-g[-h-2]),c+=(-h-2)*e,g=b[c],g=g+d*(b[c+e]-g),h=b[c+1],h=h+d*(b[c+e+1]-h)):(g=b[c+h*e],h=b[c+h*e+1])}return f? -(f[0]=g,f[1]=h,f):[g,h]};function zl(b,c){Ac.call(this);this.c=null;this.j=-1;this.X(b,c)}M(zl,Ac);n=zl.prototype;n.clone=function(){var b=new zl(null);V(b,this.g,this.a.slice());b.w();return b};n.ra=function(){return Gc(this.a,0,this.a.length,this.b)};function Vi(b){if(b.j!=b.f){var c;c=yl(b.a,0,b.a.length,b.b,b.c);b.c=c;b.j=b.f}return b.c}n.Na=function(b){var c=[];c.length=Ic(this.a,0,this.a.length,this.b,b,c,0);b=new zl(null);V(b,"XY",c);b.w();return b};n.U=function(){return"LineString"}; -n.X=function(b,c){b?(Cc(this,c,b,1),this.a||(this.a=[]),this.a.length=Ec(this.a,0,b,this.b)):V(this,"XY",null);this.w()};function Al(b,c){Ac.call(this);this.c=[];this.X(b,c)}M(Al,Ac);n=Al.prototype;n.clone=function(){var b=new Al(null),c=this.c.slice();V(b,this.g,this.a.slice());b.c=c;b.w();return b};n.ra=function(){return Hc(this.a,0,this.c,this.b)};n.bb=function(){return this.c};function Wi(b){var c=[],d=b.a,e=0,f=b.c;b=b.b;var g,h;g=0;for(h=f.length;g<h;++g){var k=f[g],e=yl(d,e,k,b);Ja(c,e);e=k}return c} -n.Na=function(b){var c=[],d=[],e=this.a,f=this.c,g=this.b,h=0,k=0,l,m;l=0;for(m=f.length;l<m;++l){var p=f[l],k=Ic(e,h,p,g,b,c,k);d.push(k);h=p}c.length=k;b=new Al(null);V(b,"XY",c);b.c=d;b.w();return b};n.U=function(){return"MultiLineString"};n.X=function(b,c){if(b){Cc(this,c,b,2);this.a||(this.a=[]);var d=Fc(this.a,0,b,this.b,this.c);this.a.length=0===d.length?0:d[d.length-1]}else d=this.c,V(this,"XY",null),this.c=d;this.w()};function Bl(b,c){Ac.call(this);this.X(b,c)}M(Bl,Ac);Bl.prototype.clone=function(){var b=new Bl(null);V(b,this.g,this.a.slice());b.w();return b};Bl.prototype.ra=function(){return Gc(this.a,0,this.a.length,this.b)};Bl.prototype.U=function(){return"MultiPoint"};Bl.prototype.X=function(b,c){b?(Cc(this,c,b,1),this.a||(this.a=[]),this.a.length=Ec(this.a,0,b,this.b)):V(this,"XY",null);this.w()};function Cl(b,c){Ac.call(this);this.c=[];this.A=-1;this.D=null;this.G=-1;this.j=null;this.X(b,c)}M(Cl,Ac);n=Cl.prototype;n.clone=function(){for(var b=new Cl(null),c=this.c.length,d=Array(c),e=0;e<c;++e)d[e]=this.c[e].slice();V(b,this.g,this.a.slice());b.c=d;b.w();return b};n.ra=function(b){var c;void 0!==b?(c=Xi(this).slice(),Rc(c,this.c,this.b,b)):c=this.a;b=c;c=this.c;var d=this.b,e=0,f=[],g=0,h,k;h=0;for(k=c.length;h<k;++h){var l=c[h];f[g++]=Hc(b,e,l,d,f[g]);e=l[l.length-1]}f.length=g;return f}; -function Yi(b){if(b.A!=b.f){var c=b.a,d=b.c,e=b.b,f=0,g=[],h,k,l=Ib();h=0;for(k=d.length;h<k;++h){var m=d[h],l=c,p=m[0],q=e,r=Ob(void 0),l=Sb(r,l,f,p,q);g.push((l[0]+l[2])/2,(l[1]+l[3])/2);f=m[m.length-1]}c=Xi(b);d=b.c;e=b.b;h=0;k=[];m=0;for(l=d.length;m<l;++m)f=d[m],k=Nc(c,h,f,e,g,2*m,k),h=f[f.length-1];b.D=k;b.A=b.f}return b.D} -function Xi(b){if(b.G!=b.f){var c=b.a,d;a:{d=b.c;var e,f;e=0;for(f=d.length;e<f;++e)if(!Pc(c,d[e],b.b,void 0)){d=!1;break a}d=!0}d?b.j=c:(b.j=c.slice(),b.j.length=Rc(b.j,b.c,b.b));b.G=b.f}return b.j}n.Na=function(b){var c=[],d=[],e=this.a,f=this.c,g=this.b;b=Math.sqrt(b);var h=0,k=0,l,m;l=0;for(m=f.length;l<m;++l){var p=f[l],q=[],k=Jc(e,h,p,g,b,c,k,q);d.push(q);h=p[p.length-1]}c.length=k;e=new Cl(null);V(e,"XY",c);e.c=d;e.w();return e};n.U=function(){return"MultiPolygon"}; -n.X=function(b,c){if(b){Cc(this,c,b,3);this.a||(this.a=[]);var d=this.a,e=this.b,f=this.c,g=0,f=f?f:[],h=0,k,l;k=0;for(l=b.length;k<l;++k)g=Fc(d,g,b[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])}else d=this.c,V(this,"XY",null),this.c=d;this.w()};function Dl(b){b=b?b:{};this.defaultDataProjection=null;this.c=b.geometryName}M(Dl,xl);function El(b){var c="XY";!0===b.hasZ&&!0===b.hasM?c="XYZM":!0===b.hasZ?c="XYZ":!0===b.hasM&&(c="XYM");return c} -var Fl={Point:function(b){return void 0!==b.m&&void 0!==b.z?new Lc([b.x,b.y,b.z,b.m],"XYZM"):void 0!==b.z?new Lc([b.x,b.y,b.z],"XYZ"):void 0!==b.m?new Lc([b.x,b.y,b.m],"XYM"):new Lc([b.x,b.y])},LineString:function(b){return new zl(b.paths[0],El(b))},Polygon:function(b){return new Sc(b.rings,El(b))},MultiPoint:function(b){return new Bl(b.points,El(b))},MultiLineString:function(b){return new Al(b.paths,El(b))},MultiPolygon:function(b){return new Cl(b.rings,El(b))}}; -Dl.prototype.a=function(b,c){var d;if(d=b.geometry){var e;if(ea(d.x)&&ea(d.y))e="Point";else if(d.points)e="MultiPoint";else if(d.paths)e=1===d.paths.length?"LineString":"MultiLineString";else if(d.rings){var f=d.rings,g=El(d),h=[];e=[];var k,l;k=0;for(l=f.length;k<l;++k){var m=Ia(f[k]);Oc(m,0,m.length,g.length)?h.push([f[k]]):e.push(f[k])}for(;e.length;){f=e.shift();g=!1;for(k=h.length-1;0<=k;k--)if(Mb((new Kc(h[k][0])).C(),(new Kc(f)).C())){h[k].push(f);g=!0;break}g||h.push([f.reverse()])}d=Va({}, -d);1===h.length?(e="Polygon",d.rings=h[0]):(e="MultiPolygon",d.rings=h)}d=wl((0,Fl[e])(d),c)}else d=null;h=new Fj;this.c&&Hj(h,this.c);Gj(h,d);c&&c.Tb&&b.attributes[c.Tb]&&(h.g=b.attributes[c.Tb],h.w());b.attributes&&h.l(b.attributes);return h};Dl.prototype.h=function(b,c){var d=c?c:{};if(b.features){var e=[],f=b.features,g,h;d.Tb=b.objectIdFieldName;g=0;for(h=f.length;g<h;++g)e.push(this.a(f[g],d));return e}return[this.a(b,d)]}; -Dl.prototype.f=function(b){return b.spatialReference&&b.spatialReference.wkid?kc("EPSG:"+b.spatialReference.wkid):null};function Gl(b){yc.call(this);this.a=b?b:null;Hl(this)}M(Gl,yc);function Il(b){var c,d;if(b.a)for(c=0,d=b.a.length;c<d;++c)fb(b.a[c],"change",b.w,b)}function Hl(b){var c,d;if(b.a)for(c=0,d=b.a.length;c<d;++c)R(b.a[c],"change",b.w,b)}n=Gl.prototype;n.clone=function(){var b=new Gl(null),c=this.a,d=[],e,f;e=0;for(f=c.length;e<f;++e)d.push(c[e].clone());Il(b);b.a=d;Hl(b);b.w();return b};n.lb=function(b){Ob(b);for(var c=this.a,d=0,e=c.length;d<e;++d)Rb(b,c[d].C());return b}; -n.Rb=function(b){this.s!=this.f&&(Wa(this.h),this.i=0,this.s=this.f);if(0>b||0!==this.i&&b<this.i)return this;var c=b.toString();if(this.h.hasOwnProperty(c))return this.h[c];var d=[],e=this.a,f=!1,g,h;g=0;for(h=e.length;g<h;++g){var k=e[g],l=k.Rb(b);d.push(l);l!==k&&(f=!0)}if(f)return b=new Gl(null),Il(b),b.a=d,Hl(b),b.w(),this.h[c]=b;this.i=b;return this};n.U=function(){return"GeometryCollection"};n.rotate=function(b,c){for(var d=this.a,e=0,f=d.length;e<f;++e)d[e].rotate(b,c);this.w()}; -n.Gb=function(b){var c=this.a,d,e;d=0;for(e=c.length;d<e;++d)c[d].Gb(b);this.w()};n.K=function(){Il(this);Gl.Y.K.call(this)};function Jl(b){b=b?b:{};this.defaultDataProjection=null;this.defaultDataProjection=kc(b.defaultDataProjection?b.defaultDataProjection:"EPSG:4326");this.c=b.geometryName}M(Jl,xl);function Kl(b,c){return b?wl((0,Ll[b.type])(b),c):null} -var Ll={Point:function(b){return new Lc(b.coordinates)},LineString:function(b){return new zl(b.coordinates)},Polygon:function(b){return new Sc(b.coordinates)},MultiPoint:function(b){return new Bl(b.coordinates)},MultiLineString:function(b){return new Al(b.coordinates)},MultiPolygon:function(b){return new Cl(b.coordinates)},GeometryCollection:function(b,c){var d=b.geometries.map(function(b){return Kl(b,c)});return new Gl(d)}}; -Jl.prototype.a=function(b,c){var d=Kl(b.geometry,c),e=new Fj;this.c&&Hj(e,this.c);Gj(e,d);void 0!==b.id&&(e.g=b.id,e.w());b.properties&&e.l(b.properties);return e};Jl.prototype.h=function(b,c){if("Feature"==b.type)return[this.a(b,c)];if("FeatureCollection"==b.type){var d=[],e=b.features,f,g;f=0;for(g=e.length;f<g;++f)d.push(this.a(e[f],c));return d}return[]};Jl.prototype.f=function(b){return(b=b.crs)?"name"==b.type?kc(b.properties.name):"EPSG"==b.type?kc("EPSG:"+b.properties.code):null:this.defaultDataProjection};function Ml(b,c,d){if("array"==ba(c))for(var e=0;e<c.length;e++)Ml(b,String(c[e]),d);else null!=c&&d.push("&",b,""===c?"":"=",encodeURIComponent(String(c)))};function Nl(b,c,d){Ac.call(this);Ol(this,b,c?c:0,d)}M(Nl,Ac);Nl.prototype.clone=function(){var b=new Nl(null);V(b,this.g,this.a.slice());b.w();return b};Nl.prototype.lb=function(b){var c=this.a,d=c[this.b]-c[0];return Nb(c[0]-d,c[1]-d,c[0]+d,c[1]+d,b)};Nl.prototype.U=function(){return"Circle"};function Ol(b,c,d,e){if(c){Cc(b,e,c,0);b.a||(b.a=[]);e=b.a;c=Dc(e,c);e[c++]=e[0]+d;var f;d=1;for(f=b.b;d<f;++d)e[c++]=e[d];e.length=c}else V(b,"XY",null);b.w()};function Pl(b,c,d,e,f){Be.call(this,b,c);this.g=d;this.b=new Image;null!==e&&(this.b.crossOrigin=e);this.f={};this.c=null;this.h=f}M(Pl,Be);n=Pl.prototype;n.K=function(){1==this.state&&Ql(this);this.a&&ib(this.a);this.state=5;Ce(this);Pl.Y.K.call(this)};n.S=function(b){if(void 0!==b){var c=I(b);if(c in this.f)return this.f[c];b=Za(this.f)?this.b:this.b.cloneNode(!1);return this.f[c]=b}return this.b};n.getKey=function(){return this.g};n.me=function(){this.state=3;Ql(this);Ce(this)}; -n.ne=function(){this.state=this.b.naturalWidth&&this.b.naturalHeight?2:4;Ql(this);Ce(this)};n.load=function(){0==this.state&&(this.state=1,Ce(this),this.c=[R(this.b,"error",this.me,this,!0),R(this.b,"load",this.ne,this,!0)],this.h(this,this.g))};function Ql(b){b.c.forEach(P);b.c=null};function Rl(b,c){S.call(this,b);this.feature=c}M(Rl,S); -function Sl(b){xh.call(this,{handleDownEvent:Tl,handleEvent:Ul,handleUpEvent:Vl});this.R=null;this.o=!1;this.Ea=b.source?b.source:null;this.oa=b.features?b.features:null;this.jd=b.snapTolerance?b.snapTolerance:12;this.D=b.type;this.b=Wl(this.D);this.na=b.minPoints?b.minPoints:this.b===Xl?3:2;this.ga=b.maxPoints?b.maxPoints:Infinity;var c=b.geometryFunction;if(!c)if("Circle"===this.D)c=function(b,c){var d=c?c:new Nl([NaN,NaN]),h=b[0],k=b[1],l=h[0]-k[0],h=h[1]-k[1];Ol(d,b[0],Math.sqrt(l*l+h*h));return d}; -else{var d,c=this.b;c===Yl?d=Lc:c===$l?d=zl:c===Xl&&(d=Sc);c=function(b,c){var g=c;g?g.X(b):g=new d(b);return g}}this.u=c;this.A=this.i=this.a=this.j=this.g=this.h=null;this.od=b.clickTolerance?b.clickTolerance*b.clickTolerance:36;this.Z=new Y({source:new Tj({useSpatialIndex:!1,wrapX:b.wrapX?b.wrapX:!1}),style:b.style?b.style:am()});this.Da=b.geometryName;this.Cb=b.condition?b.condition:th;this.ba=b.freehandCondition?b.freehandCondition:uh;R(this,qb("active"),this.La,this)}M(Sl,xh); -function am(){var b=Ni();return function(c){return b[c.M().U()]}}Sl.prototype.setMap=function(b){Sl.Y.setMap.call(this,b);this.La()};function Ul(b){this.b!==$l&&this.b!==Xl||!this.ba(b)||(this.o=!0);var c=!this.o;this.o&&b.type===Ag?(bm(this,b),c=!1):b.type===zg?c=cm(this,b):b.type===tg&&(c=!1);return yh.call(this,b)&&c}function Tl(b){return this.Cb(b)?(this.R=b.pixel,!0):this.o?(this.R=b.pixel,this.h||dm(this,b),!0):!1} -function Vl(b){this.o=!1;var c=this.R,d=b.pixel,e=c[0]-d[0],c=c[1]-d[1],d=!0;e*e+c*c<=this.od&&(cm(this,b),this.h?this.b===em?fm(this):gm(this,b)?fm(this):bm(this,b):(dm(this,b),this.b===Yl&&fm(this)),d=!1);return d} -function cm(b,c){if(b.h){var d=c.coordinate,e=b.g.M(),f;b.b===Yl?f=b.a:b.b===Xl?(f=b.a[0],f=f[f.length-1],gm(b,c)&&(d=b.h.slice())):(f=b.a,f=f[f.length-1]);f[0]=d[0];f[1]=d[1];b.u(b.a,e);b.j&&b.j.M().X(d);e instanceof Sc&&b.b!==Xl?(b.i||(b.i=new Fj(new zl(null))),0>=e.c.length?e=null:(d=new Kc(null),V(d,e.g,e.a.slice(0,e.c[0])),d.w(),e=d),d=b.i.M(),V(d,e.g,e.a),d.w()):b.A&&(d=b.i.M(),d.X(b.A));hm(b)}else e=c.coordinate.slice(),b.j?b.j.M().X(e):(b.j=new Fj(new Lc(e)),hm(b));return!0} -function gm(b,c){var d=!1;if(b.g){var e=!1,f=[b.h];b.b===$l?e=b.a.length>b.na:b.b===Xl&&(e=b.a[0].length>b.na,f=[b.a[0][0],b.a[0][b.a[0].length-2]]);if(e)for(var e=c.map,g=0,h=f.length;g<h;g++){var k=f[g],l=Eh(e,k),m=c.pixel,d=m[0]-l[0],l=m[1]-l[1],m=b.o&&b.ba(c)?1:b.jd;if(d=Math.sqrt(d*d+l*l)<=m){b.h=k;break}}}return d} -function dm(b,c){var d=c.coordinate;b.h=d;b.b===Yl?b.a=d.slice():b.b===Xl?(b.a=[[d.slice(),d.slice()]],b.A=b.a[0]):(b.a=[d.slice(),d.slice()],b.b===em&&(b.A=b.a));b.A&&(b.i=new Fj(new zl(b.A)));d=b.u(b.a);b.g=new Fj;b.Da&&Hj(b.g,b.Da);Gj(b.g,d);hm(b);T(b,new Rl("drawstart",b.g))} -function bm(b,c){var d=c.coordinate,e=b.g.M(),f,g;if(b.b===$l)b.h=d.slice(),g=b.a,g.push(d.slice()),f=g.length>b.ga,b.u(g,e);else if(b.b===Xl){g=b.a[0];g.push(d.slice());if(f=g.length>b.ga)b.h=g[0];b.u(b.a,e)}hm(b);f&&fm(b)} -function fm(b){var c=im(b),d=b.a,e=c.M();b.b===$l?(d.pop(),b.u(d,e)):b.b===Xl&&(d[0].pop(),d[0].push(d[0][0]),b.u(d,e));"MultiPoint"===b.D?Gj(c,new Bl([d])):"MultiLineString"===b.D?Gj(c,new Al([d])):"MultiPolygon"===b.D&&Gj(c,new Cl([d]));T(b,new Rl("drawend",c));b.oa&&b.oa.push(c);b.Ea&&b.Ea.Eb(c)}function im(b){b.h=null;var c=b.g;c&&(b.g=null,b.j=null,b.i=null,b.Z.W().clear(!0));return c}Sl.prototype.v=cc; -function hm(b){var c=[];b.g&&c.push(b.g);b.i&&c.push(b.i);b.j&&c.push(b.j);b=b.Z.W();b.clear(!0);b.Fb(c)}Sl.prototype.La=function(){var b=this.T,c=this.get("active");b&&c||im(this);this.Z.setMap(c?b:null)};function Wl(b){var c;"Point"===b||"MultiPoint"===b?c=Yl:"LineString"===b||"MultiLineString"===b?c=$l:"Polygon"===b||"MultiPolygon"===b?c=Xl:"Circle"===b&&(c=em);return c}var Yl="Point",$l="LineString",Xl="Polygon",em="Circle";function jm(b,c,d,e,f,g,h,k,l,m,p){Be.call(this,f,0);this.u=void 0!==p?p:!1;this.s=h;this.o=k;this.c=null;this.f={};this.g=c;this.l=e;this.i=g?g:f;this.b=[];this.Sa=null;this.h=0;g=Je(e,this.i);k=this.l.C();f=this.g.C();g=k?Zb(g,k):g;if(0===Tb(g))this.state=4;else if((k=b.C())&&(f?f=Zb(f,k):f=k),k=e.I(this.i[0]),p=Xb(g),e=wc(d,b)(p,void 0,p.length),k=d.getPointResolution(k,p),p=oc(d),void 0!==p&&(k*=p),p=oc(b),void 0!==p&&(k/=p),e=b.getPointResolution(k,e)/k,isFinite(e)&&0<e&&(k/=e),e=k,!isFinite(e)|| -0>=e)this.state=4;else if(this.j=new Cj(b,d,g,f,e*(void 0!==m?m:.5)),0===this.j.c.length)this.state=4;else if(this.h=Qe(c,e),d=Ej(this.j),f&&(b.a?(d[1]=Ba(d[1],f[1],f[3]),d[3]=Ba(d[3],f[1],f[3])):d=Zb(d,f)),Tb(d))if(b=Ke(c,d,this.h),100>b.da()*(b.c-b.b+1)){for(c=b.a;c<=b.f;c++)for(d=b.b;d<=b.c;d++)(m=l(this.h,c,d,h))&&this.b.push(m);0===this.b.length&&(this.state=4)}else this.state=3;else this.state=4}M(jm,Be);jm.prototype.K=function(){1==this.state&&(this.Sa.forEach(P),this.Sa=null);jm.Y.K.call(this)}; -jm.prototype.S=function(b){if(void 0!==b){var c=I(b);if(c in this.f)return this.f[c];b=Za(this.f)?this.c:this.c.cloneNode(!1);return this.f[c]=b}return this.c}; -jm.prototype.Yc=function(){var b=[];this.b.forEach(function(c){c&&2==c.N()&&b.push({extent:Je(this.g,c.L),image:c.S()})},this);this.b.length=0;if(0===b.length)this.state=3;else{var c=this.i[0],d=Pe(this.l,c),e=ea(d)?d:d[0],d=ea(d)?d:d[1],c=this.l.I(c),f=this.g.I(this.h),g=Je(this.l,this.i);this.c=Bj(e,d,this.s,f,this.g.C(),c,g,this.j,b,this.o,this.u);this.state=2}Ce(this)}; -jm.prototype.load=function(){if(0==this.state){this.state=1;Ce(this);var b=0;this.Sa=[];this.b.forEach(function(c){var d=c.N();if(0==d||1==d){b++;var e;e=R(c,"change",function(){var d=c.N();if(2==d||3==d||4==d)P(e),b--,0===b&&(this.Sa.forEach(P),this.Sa=null,this.Yc())},this);this.Sa.push(e)}},this);this.b.forEach(function(b){0==b.N()&&b.load()});0===b&&x.setTimeout(this.Yc.bind(this),0)}};function km(b){ik.call(this,{attributions:b.attributions,cacheSize:b.cacheSize,extent:b.extent,logo:b.logo,opaque:b.opaque,projection:b.projection,state:b.state,tileGrid:b.tileGrid,tileLoadFunction:b.tileLoadFunction?b.tileLoadFunction:lm,tilePixelRatio:b.tilePixelRatio,tileUrlFunction:b.tileUrlFunction,url:b.url,urls:b.urls,wrapX:b.wrapX});this.crossOrigin=void 0!==b.crossOrigin?b.crossOrigin:null;this.tileClass=void 0!==b.tileClass?b.tileClass:Pl;this.b={};this.o={};this.T=b.reprojectionErrorThreshold} -M(km,ik);n=km.prototype;n.Qc=function(){if(ze(this.a))return!0;for(var b in this.b)if(ze(this.b[b]))return!0;return!1};n.Rc=function(b,c){var d=this.cb(b);Ae(this.a,this.a==d?c:{});for(var e in this.b){var f=this.b[e];Ae(f,f==d?c:{})}};n.mb=function(){return 0};n.Pb=function(b){return this.c&&b&&!vc(this.c,b)?!1:km.Y.Pb.call(this,b)};n.la=function(b){var c=this.c;return!this.tileGrid||c&&!vc(c,b)?(c=I(b).toString(),c in this.o||(this.o[c]=Se(b)),this.o[c]):this.tileGrid}; -n.cb=function(b){var c=this.c;if(!c||vc(c,b))return this.a;b=I(b).toString();b in this.b||(this.b[b]=new ye);return this.b[b]};function mm(b,c,d,e,f,g){c=[c,d,e];f=(d=Ye(b,c,g))?b.tileUrlFunction(d,f,g):void 0;f=new b.tileClass(c,void 0!==f?0:4,void 0!==f?f:"",b.crossOrigin,b.tileLoadFunction);f.key="";R(f,"change",b.D,b);return f} -function Tg(b,c,d,e,f,g){if(b.c&&g&&!vc(b.c,g)){var h=b.cb(g);d=[c,d,e];c=b.nb.apply(b,d);if(we(h,c))return h.get(c);var k=b.c;e=b.la(k);var l=b.la(g),m=Ye(b,d,g);b=new jm(k,e,g,l,d,m,b.ob(f),0,function(b,c,d,e){return nm(this,b,c,d,e,k)}.bind(b),b.T,!1);h.set(c,b);return b}return nm(b,c,d,e,f,g)} -function nm(b,c,d,e,f,g){var h=null,k=b.nb(c,d,e);if(we(b.a,k)){if(h=b.a.get(k),""!=h.key){var l=h;h.a&&""==h.a.key?(h=h.a,2==l.N()&&(h.a=l)):(h=mm(b,c,d,e,f,g),2==l.N()?h.a=l:l.a&&2==l.a.N()&&(h.a=l.a,l.a=null));h.a&&(h.a.a=null);b.a.replace(k,h)}}else h=mm(b,c,d,e,f,g),b.a.set(k,h);return h}function lm(b,c){b.S().src=c};function om(b){var c=void 0!==b.projection?b.projection:"EPSG:3857",d;if(void 0!==b.tileGrid)d=b.tileGrid;else{d={extent:Te(c),maxZoom:b.maxZoom,minZoom:b.minZoom,tileSize:b.tileSize};var e={};Va(e,void 0!==d?d:{});void 0===e.extent&&(e.extent=kc("EPSG:3857").C());e.resolutions=Ue(e.extent,e.maxZoom,e.tileSize);delete e.maxZoom;d=new Fe(e)}km.call(this,{attributions:b.attributions,cacheSize:b.cacheSize,crossOrigin:b.crossOrigin,logo:b.logo,opaque:b.opaque,projection:c,reprojectionErrorThreshold:b.reprojectionErrorThreshold, -tileGrid:d,tileLoadFunction:b.tileLoadFunction,tilePixelRatio:b.tilePixelRatio,tileUrlFunction:b.tileUrlFunction,url:b.url,urls:b.urls,wrapX:void 0!==b.wrapX?b.wrapX:!0})}M(om,km);function pm(b){b=b||{};var c;void 0!==b.attributions?c=b.attributions:c=[qm];om.call(this,{attributions:c,cacheSize:b.cacheSize,crossOrigin:void 0!==b.crossOrigin?b.crossOrigin:"anonymous",opaque:void 0!==b.opaque?b.opaque:!0,maxZoom:void 0!==b.maxZoom?b.maxZoom:19,reprojectionErrorThreshold:b.reprojectionErrorThreshold,tileLoadFunction:b.tileLoadFunction,url:void 0!==b.url?b.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",wrapX:b.wrapX})}M(pm,om);var qm=new jd({html:'© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'});function rm(b){b=b||{};var c=sm[b.layer];this.u=b.layer;om.call(this,{attributions:c.attributions,cacheSize:b.cacheSize,crossOrigin:"anonymous",logo:"https://developer.mapquest.com/content/osm/mq_logo.png",maxZoom:c.maxZoom,reprojectionErrorThreshold:b.reprojectionErrorThreshold,opaque:c.opaque,tileLoadFunction:b.tileLoadFunction,url:void 0!==b.url?b.url:"https://otile{1-4}-s.mqcdn.com/tiles/1.0.0/"+this.u+"/{z}/{x}/{y}.jpg"})}M(rm,om); -var tm=new jd({html:'Tiles Courtesy of <a href="http://www.mapquest.com/">MapQuest</a>'}),sm={osm:{maxZoom:19,opaque:!0,attributions:[tm,qm]},sat:{maxZoom:18,opaque:!0,attributions:[tm,new jd({html:"Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency"})]},hyb:{maxZoom:18,opaque:!1,attributions:[tm,qm]}};function um(b){b=b||{};km.call(this,{attributions:b.attributions,cacheSize:b.cacheSize,crossOrigin:b.crossOrigin,logo:b.logo,projection:b.projection,reprojectionErrorThreshold:b.reprojectionErrorThreshold,tileGrid:b.tileGrid,tileLoadFunction:b.tileLoadFunction,url:b.url,urls:b.urls,wrapX:void 0!==b.wrapX?b.wrapX:!0});this.R=b.params||{};this.u=Ib()}M(um,km);um.prototype.ob=function(b){return b}; -um.prototype.g=function(b,c,d){var e=this.tileGrid;e||(e=this.la(d));if(!(e.Qb().length<=b[0])){var f=Je(e,b,this.u),g=sb(Pe(e,b[0]),this.h);1!=c&&(g=rb(g,c,this.h));e={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};Va(e,this.R);var h;var k=this.urls;if(k){d=d.qa.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);b=[(1==k.length?k[0]:k[Da((b[1]<<b[0])+b[2],k.length)]).replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/, -"ImageServer/exportImage")];for(h in e)Ml(h,e[h],b);b[1]&&(h=b[0],c=h.indexOf("#"),0<=c&&(b.push(h.substr(c)),b[0]=h=h.substr(0,c)),c=h.indexOf("?"),0>c?b[1]="?":c==h.length-1&&(b[1]=void 0));h=b.join("")}else h=void 0;return h}};function vm(b){this.j=this.c=this.g=null;this.l=void 0!==b.fill?b.fill:null;this.v=[0,0];this.a=b.points;this.f=void 0!==b.radius?b.radius:b.radius1;this.h=void 0!==b.radius2?b.radius2:this.f;this.i=void 0!==b.angle?b.angle:0;this.b=void 0!==b.stroke?b.stroke:null;this.H=this.A=this.s=null;var c=b.atlasManager,d="",e="",f=0,g=null,h,k=0;this.b&&(h=vd(this.b.ca()),k=this.b.da(),void 0===k&&(k=1),g=this.b.getLineDash(),Ef||(g=null),e=this.b.xa,void 0===e&&(e="round"),d=this.b.wa,void 0===d&&(d="round"), -f=this.b.ya,void 0===f&&(f=10));var l=2*(this.f+k)+1,d={strokeStyle:h,jb:k,size:l,lineCap:d,lineDash:g,lineJoin:e,miterLimit:f};if(void 0===c){this.c=document.createElement("CANVAS");this.c.height=l;this.c.width=l;var c=l=this.c.width,m=this.c.getContext("2d");this.Vc(d,m,0,0);this.l?this.j=this.c:(m=this.j=document.createElement("CANVAS"),m.height=d.size,m.width=d.size,m=m.getContext("2d"),this.Uc(d,m,0,0))}else l=Math.round(l),(e=!this.l)&&(m=this.Uc.bind(this,d)),f=this.b?Fi(this.b):"-",g=this.l? -zi(this.l):"-",this.g&&f==this.g[1]&&g==this.g[2]&&this.f==this.g[3]&&this.h==this.g[4]&&this.i==this.g[5]&&this.a==this.g[6]||(this.g=["r"+f+g+(void 0!==this.f?this.f.toString():"-")+(void 0!==this.h?this.h.toString():"-")+(void 0!==this.i?this.i.toString():"-")+(void 0!==this.a?this.a.toString():"-"),f,g,this.f,this.h,this.i,this.a]),m=c.add(this.g[0],l,l,this.Vc.bind(this,d),m),this.c=m.image,this.v=[m.offsetX,m.offsetY],c=m.image.width,this.j=e?m.Xd:this.c;this.s=[l/2,l/2];this.A=[l,l];this.H= -[c,c];Ug.call(this,{opacity:1,rotateWithView:void 0!==b.rotateWithView?b.rotateWithView:!1,rotation:void 0!==b.rotation?b.rotation:0,scale:1,snapToPixel:void 0!==b.snapToPixel?b.snapToPixel:!0})}M(vm,Ug);n=vm.prototype;n.ab=function(){return this.s};n.Fa=function(){return this.l};n.tb=function(){return this.j};n.S=function(){return this.c};n.Nb=function(){return this.H};n.ib=function(){return 2};n.ia=function(){return this.v};n.Ha=function(){return this.A};n.sa=function(){return this.b};n.Wb=N; -n.load=N;n.dc=N;n.Vc=function(b,c,d,e){var f;c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();this.h!==this.f&&(this.a*=2);for(d=0;d<=this.a;d++)e=2*d*Math.PI/this.a-Math.PI/2+this.i,f=0===d%2?this.f:this.h,c.lineTo(b.size/2+f*Math.cos(e),b.size/2+f*Math.sin(e));this.l&&(c.fillStyle=yd(this.l.ca()),c.fill());this.b&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.jb,b.lineDash&&c.setLineDash(b.lineDash),c.lineCap=b.lineCap,c.lineJoin=b.lineJoin,c.miterLimit=b.miterLimit,c.stroke());c.closePath()}; -n.Uc=function(b,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();this.h!==this.f&&(this.a*=2);var f;for(d=0;d<=this.a;d++)f=2*d*Math.PI/this.a-Math.PI/2+this.i,e=0===d%2?this.f:this.h,c.lineTo(b.size/2+e*Math.cos(f),b.size/2+e*Math.sin(f));c.fillStyle=ui;c.fill();this.b&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.jb,b.lineDash&&c.setLineDash(b.lineDash),c.stroke());c.closePath()};E("ol.format.GeoJSON",Jl,OPENLAYERS);Jl.prototype.readFeatures=Jl.prototype.b;Jl.prototype.readFeature=Jl.prototype.g;E("ol.format.EsriJSON",Dl,OPENLAYERS);Dl.prototype.readFeatures=Dl.prototype.b;Dl.prototype.readFeature=Dl.prototype.g;E("ol.style.Style",Hi,OPENLAYERS);E("ol.style.Circle",Gi,OPENLAYERS);E("ol.style.RegularShape",vm,OPENLAYERS);E("ol.style.Fill",yi,OPENLAYERS);E("ol.style.Stroke",Ei,OPENLAYERS);E("ol.style.Icon",Vg,OPENLAYERS);E("ol.View",Wc,OPENLAYERS);Wc.prototype.on=Wc.prototype.V; -Wc.prototype.getZoom=Wc.prototype.zd;Wc.prototype.setZoom=Wc.prototype.Je;Wc.prototype.getCenter=Wc.prototype.ja;Wc.prototype.setCenter=Wc.prototype.pa;Wc.prototype.calculateExtent=Wc.prototype.nc;Wc.prototype.getProjection=Wc.prototype.pe;Wc.prototype.fit=Wc.prototype.qd;E("ol.control.defaults",ef,OPENLAYERS);E("ol.layer.Tile",X,OPENLAYERS);X.prototype.getVisible=X.prototype.eb;X.prototype.setVisible=X.prototype.Gc;X.prototype.getZIndex=X.prototype.Zb;X.prototype.setZIndex=X.prototype.Hc; -X.prototype.getOpacity=X.prototype.Yb;X.prototype.setOpacity=X.prototype.Fc;X.prototype.getSource=X.prototype.W;X.prototype.setSource=X.prototype.bc;X.prototype.on=X.prototype.V;E("ol.layer.Vector",Y,OPENLAYERS);Y.prototype.getVisible=Y.prototype.eb;Y.prototype.setVisible=Y.prototype.Gc;Y.prototype.getSource=Y.prototype.W;Y.prototype.setStyle=Y.prototype.s;Y.prototype.getZIndex=Y.prototype.Zb;Y.prototype.setZIndex=Y.prototype.Hc;Y.prototype.getOpacity=Y.prototype.Yb;Y.prototype.setOpacity=Y.prototype.Fc; -Y.prototype.getSource=Y.prototype.W;Y.prototype.setSource=Y.prototype.bc;Y.prototype.on=Y.prototype.V;E("ol.source.OSM",pm,OPENLAYERS);pm.prototype.refresh=pm.prototype.za;E("ol.source.MapQuest",rm,OPENLAYERS);rm.prototype.refresh=rm.prototype.za;E("ol.source.XYZ",om,OPENLAYERS);om.prototype.refresh=om.prototype.za;om.prototype.setUrl=om.prototype.s;om.prototype.refresh=om.prototype.za;E("ol.Map",Z,OPENLAYERS);Z.prototype.on=Z.prototype.V;Z.prototype.getTarget=Z.prototype.Xb; -Z.prototype.getTargetElement=Z.prototype.Oa;Z.prototype.getView=Z.prototype.O;Z.prototype.addOverlay=Z.prototype.nd;Z.prototype.addLayer=Z.prototype.md;Z.prototype.removeLayer=Z.prototype.Ee;Z.prototype.getEventPixel=Z.prototype.xc;Z.prototype.hasFeatureAtPixel=Z.prototype.Wd;Z.prototype.getSize=Z.prototype.Qa;Z.prototype.updateSize=Z.prototype.xb;Z.prototype.forEachFeatureAtPixel=Z.prototype.sd;Z.prototype.addInteraction=Z.prototype.ld;Z.prototype.removeInteraction=Z.prototype.De; -Z.prototype.beforeRender=Z.prototype.ha;Z.prototype.addControl=Z.prototype.kd;Z.prototype.once=Z.prototype.ad;Z.prototype.renderSync=Z.prototype.He;E("ol.source.Vector",Tj,OPENLAYERS);Tj.prototype.getFeatures=Tj.prototype.te;Tj.prototype.getExtent=Tj.prototype.C;Tj.prototype.refresh=Tj.prototype.za;Tj.prototype.addFeatures=Tj.prototype.Fb;Tj.prototype.addFeature=Tj.prototype.Eb;Tj.prototype.clear=Tj.prototype.clear;Tj.prototype.forEachFeature=Tj.prototype.rd;Tj.prototype.refresh=Tj.prototype.za; -E("ol.source.TileArcGISRest",um,OPENLAYERS);um.prototype.refresh=um.prototype.za;E("ol.Overlay",ql,OPENLAYERS);ql.prototype.setPosition=ql.prototype.Ec;E("ol.Feature",Fj,OPENLAYERS);Fj.prototype.getProperties=Fj.prototype.Ca;Fj.prototype.setProperties=Fj.prototype.l;Fj.prototype.getGeometry=Fj.prototype.M;E("ol.geom.Point",Lc,OPENLAYERS);Lc.prototype.transform=Lc.prototype.o;Lc.prototype.getCoordinates=Lc.prototype.ra;Lc.prototype.getExtent=Lc.prototype.C;E("ol.geom.Polygon",Sc,OPENLAYERS); -Sc.prototype.getCoordinates=Sc.prototype.ra;Sc.prototype.getExtent=Sc.prototype.C;Sc.prototype.transform=Sc.prototype.o;E("ol.geom.LineString",zl,OPENLAYERS);zl.prototype.getCoordinates=zl.prototype.ra;zl.prototype.getExtent=zl.prototype.C;zl.prototype.transform=zl.prototype.o;E("ol.proj.Projection",hc,OPENLAYERS);hc.prototype.getCode=hc.prototype.l;E("ol.interaction.Draw",Sl,OPENLAYERS);Sl.prototype.on=Sl.prototype.V;E("ol.animation.pan",cd,OPENLAYERS);E("ol.control.FullScreen",kf,OPENLAYERS); +y.a=null)}l=Object.keys(this.b).map(Number);l.sort(Ga);B=yb();G=0;for(z=l.length;G<z;++G)if(C=l[G],y=this.b[C],C in u)if(t=y.J(),F=y.fa(),Jg(B,b.size[0]/2,b.size[1]/2,t/e.resolution,t/e.resolution,e.rotation,(F[0]-q[0])/t,(q[1]-F[1])/t),y.setTransform(B),C in w){for(--C;0<=C;--C)if(C in this.b){F=this.b[C].target;F.parentNode&&F.parentNode.insertBefore(y.target,F.nextSibling);break}0>C&&ge(this.target,y.target,0)}else{if(!b.viewHints[0]&&!b.viewHints[1]){v=Le(y.g,r,y.f[0],D);C=[];t=F=void 0;for(t in y.b)F= +y.b[t],J=F.L,hd(v,J[1],J[2])||C.push(F);J=v=void 0;v=0;for(J=C.length;v<J;++v)F=C[v],t=F.L.toString(),he(F.S(y)),delete y.b[t]}}else he(y.target),delete this.b[C];c.opacity!=this.h&&(this.h=this.target.style.opacity=c.opacity);c.visible&&!this.c&&(pe(this.target,!0),this.c=!0);Rg(b.usedTiles,h,m,p);Tg(b,h,k,d,f,r,m,g.get("preload"));Og(b,h);Qg(b,h);return!0}; +function pk(b,c){this.target=document.createElement("DIV");this.target.style.position="absolute";this.target.style.width="100%";this.target.style.height="100%";this.g=b;this.f=c;this.h=ac(Ke(b,c));this.l=b.J(c[0]);this.b={};this.a=null;this.c=Ab();this.i=[0,0]}pk.prototype.fa=function(){return this.h};pk.prototype.J=function(){return this.l};pk.prototype.setTransform=function(b){Kg(b,this.c)||(wf(this.target,b),Bb(this.c,b))};function qk(b){this.g=sf();var c=this.g.canvas;c.style.maxWidth="none";c.style.position="absolute";nk.call(this,b,c);this.b=!1;this.h=-1;this.o=NaN;this.i=Ib();this.c=this.j=null;this.v=yb();this.u=yb()}M(qk,nk);n=qk.prototype;n.yb=function(){var b=this.g.canvas;b.width=b.width;this.h=0}; +n.Ac=function(b,c){var d=b.viewState,e=d.center,f=d.rotation,g=d.resolution,d=b.pixelRatio,h=b.size[0],k=b.size[1],l=h*d,m=k*d,e=Jg(this.v,d*h/2,d*k/2,d/g,-d/g,-f,-e[0],-e[1]),g=this.g;g.canvas.width=l;g.canvas.height=m;h=Jg(this.u,0,0,1/d,1/d,0,-(l-h)/2*d,-(m-k)/2*d);wf(g.canvas,h);rk(this,"precompose",b,e);(h=this.c)&&!h.c()&&(g.globalAlpha=c.opacity,h.f(g,d,e,f,c.Wa?b.skippedFeatureUids:{}),rk(this,"render",b,e));rk(this,"postcompose",b,e)}; +function rk(b,c,d,e){var f=b.g;b=b.a;mb(b,c)&&(e=new Pi(f,d.pixelRatio,d.extent,e,d.viewState.rotation),T(b,new Gg(c,b,e,d,f,null)))}n.Xa=function(b,c,d,e){if(this.c){var f=this.a,g={};return this.c.g(b,c.viewState.resolution,c.viewState.rotation,{},function(b){var c=I(b).toString();if(!(c in g))return g[c]=!0,d.call(e,b,f)})}};n.Cc=function(){Ng(this)}; +n.Bc=function(b){function c(b){var c,e=b.c;e?c=e.call(b,l):(e=d.g)&&(c=e(b,l));if(c){if(c){e=!1;if(Array.isArray(c))for(var f=0,g=c.length;f<g;++f)e=yj(p,b,c[f],xj(l,m),this.Cc,this)||e;else e=yj(p,b,c,xj(l,m),this.Cc,this)||e;b=e}else b=!1;this.b=this.b||b}}var d=this.a,e=d.W();Pg(b.attributions,e.i);Qg(b,e);var f=b.viewHints[0],g=b.viewHints[1],h=d.i,k=d.j;if(!this.b&&!h&&f||!k&&g)return!0;var g=b.extent,h=b.viewState,f=h.projection,l=h.resolution,m=b.pixelRatio;b=d.f;k=d.a;h=d.get("renderOrder"); +void 0===h&&(h=wj);g=Kb(g,k*l);if(!this.b&&this.o==l&&this.h==b&&this.j==h&&Mb(this.i,g))return!0;this.c=null;this.b=!1;var p=new sj(.5*l/m,g,l,d.a);ck(e,g,l,f);if(h){var q=[];ak(e,g,function(b){q.push(b)},this);q.sort(h);q.forEach(c,this)}else ak(e,g,c,this);tj(p);this.o=l;this.h=b;this.j=h;this.i=g;this.c=p;return!0};function sk(b,c){$g.call(this,0,c);this.c=sf();var d=this.c.canvas;d.style.position="absolute";d.style.width="100%";d.style.height="100%";d.className="ol-unselectable";ge(b,d,0);this.g=yb();this.a=document.createElement("DIV");this.a.className="ol-unselectable";d=this.a.style;d.position="absolute";d.width="100%";d.height="100%";R(this.a,"touchstart",kb);ge(b,this.a,0);this.b=!0}M(sk,$g);sk.prototype.K=function(){he(this.a);sk.Y.K.call(this)}; +sk.prototype.Bb=function(b){if(b instanceof X)b=new ok(b);else if(b instanceof Y)b=new qk(b);else return null;return b};function tk(b,c,d){var e=b.h;if(mb(e,c)){var f=d.extent,g=d.pixelRatio,h=d.viewState,k=h.rotation,l=b.c,m=l.canvas;Jg(b.g,m.width/2,m.height/2,g/h.resolution,-g/h.resolution,-h.rotation,-h.center[0],-h.center[1]);b=new Pi(l,g,f,b.g,k);T(e,new Gg(c,e,b,d,l,null))}}sk.prototype.U=function(){return"dom"}; +sk.prototype.kb=function(b){if(b){var c=this.h;if(mb(c,"precompose")||mb(c,"postcompose")){var c=this.c.canvas,d=b.pixelRatio;c.width=b.size[0]*d;c.height=b.size[1]*d}tk(this,"precompose",b);c=b.layerStatesArray;Ma(c);var d=b.viewState.resolution,e,f,g,h;e=0;for(f=c.length;e<f;++e)h=c[e],g=h.layer,g=ch(this,g),ge(this.a,g.target,e),Ig(h,d)&&"ready"==h.Tb?g.Bc(b,h)&&g.Ac(b,h):g.yb();var c=b.layerStates,k;for(k in this.f)k in c||(g=this.f[k],he(g.target));this.b||(pe(this.a,!0),this.b=!0);ah(b);dh(this, +b);b.postRenderFunctions.push(bh);tk(this,"postcompose",b)}else this.b&&(pe(this.a,!1),this.b=!1)};function uk(b){this.a=b}function vk(b){this.a=b}M(vk,uk);vk.prototype.U=function(){return 35632};function wk(b){this.a=b}M(wk,uk);wk.prototype.U=function(){return 35633};function xk(){this.a="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;}"}M(xk,vk);aa(xk); +function yk(){this.a="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;}"}M(yk,wk);aa(yk); +function zk(b,c){this.i=b.getUniformLocation(c,"j");this.j=b.getUniformLocation(c,"i");this.h=b.getUniformLocation(c,"k");this.l=b.getUniformLocation(c,"h");this.a=b.getAttribLocation(c,"e");this.b=b.getAttribLocation(c,"f");this.c=b.getAttribLocation(c,"c");this.f=b.getAttribLocation(c,"g");this.g=b.getAttribLocation(c,"d")};function Ak(b){this.a=void 0!==b?b:[]};function Bk(b,c){this.B=b;this.a=c;this.b={};this.g={};this.c={};this.i=this.j=this.h=this.l=null;(this.f=0<=oa.indexOf("OES_element_index_uint"))&&c.getExtension("OES_element_index_uint");R(this.B,"webglcontextlost",this.o,this);R(this.B,"webglcontextrestored",this.s,this)}M(Bk,hb); +function Ck(b,c,d){var e=b.a,f=d.a,g=String(I(d));if(g in b.b)e.bindBuffer(c,b.b[g].buffer);else{var h=e.createBuffer();e.bindBuffer(c,h);var k;34962==c?k=new Float32Array(f):34963==c&&(k=b.f?new Uint32Array(f):new Uint16Array(f));e.bufferData(c,k,35044);b.b[g]={Ne:d,buffer:h}}}function Dk(b,c){var d=b.a,e=String(I(c)),f=b.b[e];d.isContextLost()||d.deleteBuffer(f.buffer);delete b.b[e]} +Bk.prototype.K=function(){gb(this.B);var b=this.a;if(!b.isContextLost()){for(var c in this.b)b.deleteBuffer(this.b[c].buffer);for(c in this.c)b.deleteProgram(this.c[c]);for(c in this.g)b.deleteShader(this.g[c]);b.deleteFramebuffer(this.h);b.deleteRenderbuffer(this.i);b.deleteTexture(this.j)}}; +function Ek(b){if(!b.h){var c=b.a,d=c.createFramebuffer();c.bindFramebuffer(c.FRAMEBUFFER,d);var e=Fk(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);b.h=d; +b.j=e;b.i=f}return b.h}function Gk(b,c){var d=String(I(c));if(d in b.g)return b.g[d];var e=b.a,f=e.createShader(c.U());e.shaderSource(f,c.a);e.compileShader(f);return b.g[d]=f}function Hk(b,c,d){var e=I(c)+"/"+I(d);if(e in b.c)return b.c[e];var f=b.a,g=f.createProgram();f.attachShader(g,Gk(b,c));f.attachShader(g,Gk(b,d));f.linkProgram(g);return b.c[e]=g}Bk.prototype.o=function(){Wa(this.b);Wa(this.g);Wa(this.c);this.i=this.j=this.h=this.l=null};Bk.prototype.s=function(){}; +function Ik(b,c){if(c==b.l)return!1;b.a.useProgram(c);b.l=c;return!0}function Jk(b,c,d){var e=b.createTexture();b.bindTexture(b.TEXTURE_2D,e);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MAG_FILTER,b.LINEAR);b.texParameteri(b.TEXTURE_2D,b.TEXTURE_MIN_FILTER,b.LINEAR);void 0!==c&&b.texParameteri(3553,10242,c);void 0!==d&&b.texParameteri(3553,10243,d);return e}function Fk(b,c,d){var e=Jk(b,void 0,void 0);b.texImage2D(b.TEXTURE_2D,0,b.RGBA,c,d,0,b.RGBA,b.UNSIGNED_BYTE,null);return e};function Kk(b,c){this.H=this.u=void 0;this.j=Xb(c);this.s=[];this.h=[];this.A=void 0;this.g=[];this.c=[];this.D=this.I=void 0;this.b=[];this.v=this.i=null;this.V=void 0;this.ka=Ab();this.ua=Ab();this.R=this.G=void 0;this.la=Ab();this.ha=this.Z=this.T=void 0;this.da=[];this.l=[];this.a=[];this.o=null;this.f=[];this.B=[];this.aa=void 0}M(Kk,Fg); +function Lk(b,c){var d=b.o,e=b.i,f=b.da,g=b.l,h=c.a;return function(){if(!h.isContextLost()){var b,l;b=0;for(l=f.length;b<l;++b)h.deleteTexture(f[b]);b=0;for(l=g.length;b<l;++b)h.deleteTexture(g[b])}Dk(c,d);Dk(c,e)}} +function Mk(b,c,d,e){var f=b.u,g=b.H,h=b.A,k=b.I,l=b.D,m=b.V,p=b.G,q=b.R,r=b.T?1:0,u=b.Z,w=b.ha,y=b.aa,z=Math.cos(u),u=Math.sin(u),D=b.b.length,t=b.a.length,v,B,F,C,G,J;for(v=0;v<d;v+=e)G=c[v]-b.j[0],J=c[v+1]-b.j[1],B=t/8,F=-w*f,C=-w*(h-g),b.a[t++]=G,b.a[t++]=J,b.a[t++]=F*z-C*u,b.a[t++]=F*u+C*z,b.a[t++]=p/l,b.a[t++]=(q+h)/k,b.a[t++]=m,b.a[t++]=r,F=w*(y-f),C=-w*(h-g),b.a[t++]=G,b.a[t++]=J,b.a[t++]=F*z-C*u,b.a[t++]=F*u+C*z,b.a[t++]=(p+y)/l,b.a[t++]=(q+h)/k,b.a[t++]=m,b.a[t++]=r,F=w*(y-f),C=w*g,b.a[t++]= +G,b.a[t++]=J,b.a[t++]=F*z-C*u,b.a[t++]=F*u+C*z,b.a[t++]=(p+y)/l,b.a[t++]=q/k,b.a[t++]=m,b.a[t++]=r,F=-w*f,C=w*g,b.a[t++]=G,b.a[t++]=J,b.a[t++]=F*z-C*u,b.a[t++]=F*u+C*z,b.a[t++]=p/l,b.a[t++]=q/k,b.a[t++]=m,b.a[t++]=r,b.b[D++]=B,b.b[D++]=B+1,b.b[D++]=B+2,b.b[D++]=B,b.b[D++]=B+2,b.b[D++]=B+3}Kk.prototype.Qa=function(b,c){this.f.push(this.b.length);this.B.push(c);var d=b.a;Mk(this,d,d.length,b.b)};Kk.prototype.Ra=function(b,c){this.f.push(this.b.length);this.B.push(c);var d=b.a;Mk(this,d,d.length,b.b)}; +function Nk(b,c){var d=c.a;b.s.push(b.b.length);b.h.push(b.b.length);b.o=new Ak(b.a);Ck(c,34962,b.o);b.i=new Ak(b.b);Ck(c,34963,b.i);var e={};Ok(b.da,b.g,e,d);Ok(b.l,b.c,e,d);b.u=void 0;b.H=void 0;b.A=void 0;b.g=null;b.c=null;b.I=void 0;b.D=void 0;b.b=null;b.V=void 0;b.G=void 0;b.R=void 0;b.T=void 0;b.Z=void 0;b.ha=void 0;b.a=null;b.aa=void 0} +function Ok(b,c,d,e){var f,g,h,k,l=c.length;for(k=0;k<l;++k){g=c[k];h=I(g).toString();if(h in d)f=d[h];else{f=e;var m=Jk(f,33071,33071);f.texImage2D(f.TEXTURE_2D,0,f.RGBA,f.RGBA,f.UNSIGNED_BYTE,g);f=m;d[h]=f}b[k]=f}} +function Pk(b,c,d,e,f,g,h,k,l,m,p){var q=c.a;Ck(c,34962,b.o);Ck(c,34963,b.i);var r=xk.qa(),u=yk.qa(),u=Hk(c,r,u);b.v?r=b.v:(r=new zk(q,u),b.v=r);Ik(c,u);q.enableVertexAttribArray(r.c);q.vertexAttribPointer(r.c,2,5126,!1,32,0);q.enableVertexAttribArray(r.a);q.vertexAttribPointer(r.a,2,5126,!1,32,8);q.enableVertexAttribArray(r.g);q.vertexAttribPointer(r.g,2,5126,!1,32,16);q.enableVertexAttribArray(r.b);q.vertexAttribPointer(r.b,1,5126,!1,32,24);q.enableVertexAttribArray(r.f);q.vertexAttribPointer(r.f, +1,5126,!1,32,28);u=b.la;Jg(u,0,0,2/(e*g[0]),2/(e*g[1]),-f,-(d[0]-b.j[0]),-(d[1]-b.j[1]));d=b.ua;e=2/g[0];g=2/g[1];Cb(d);d[0]=e;d[5]=g;d[10]=1;d[15]=1;g=b.ka;Cb(g);0!==f&&Gb(g,-f);q.uniformMatrix4fv(r.l,!1,u);q.uniformMatrix4fv(r.j,!1,d);q.uniformMatrix4fv(r.i,!1,g);q.uniform1f(r.h,h);var w;if(void 0===l)Qk(b,q,c,k,b.da,b.s);else{if(m)a:{f=c.f?5125:5123;c=c.f?4:2;g=b.f.length-1;for(h=b.l.length-1;0<=h;--h)for(q.bindTexture(3553,b.l[h]),m=0<h?b.h[h-1]:0,u=b.h[h];0<=g&&b.f[g]>=m;){w=b.f[g];d=b.B[g]; +e=I(d).toString();if(void 0===k[e]&&d.M()&&(void 0===p||$b(p,d.M().C()))&&(q.clear(q.COLOR_BUFFER_BIT|q.DEPTH_BUFFER_BIT),q.drawElements(4,u-w,f,w*c),u=l(d))){b=u;break a}u=w;g--}b=void 0}else q.clear(q.COLOR_BUFFER_BIT|q.DEPTH_BUFFER_BIT),Qk(b,q,c,k,b.l,b.h),b=(b=l(null))?b:void 0;w=b}q.disableVertexAttribArray(r.c);q.disableVertexAttribArray(r.a);q.disableVertexAttribArray(r.g);q.disableVertexAttribArray(r.b);q.disableVertexAttribArray(r.f);return w} +function Qk(b,c,d,e,f,g){var h=d.f?5125:5123;d=d.f?4:2;if(Za(e)){var k;b=0;e=f.length;for(k=0;b<e;++b){c.bindTexture(3553,f[b]);var l=g[b];c.drawElements(4,l-k,h,k*d);k=l}}else{k=0;var m,l=0;for(m=f.length;l<m;++l){c.bindTexture(3553,f[l]);for(var p=0<l?g[l-1]:0,q=g[l],r=p;k<b.f.length&&b.f[k]<=q;){var u=I(b.B[k]).toString();void 0!==e[u]?(r!==p&&c.drawElements(4,p-r,h,r*d),p=r=k===b.f.length-1?q:b.f[k+1]):p=k===b.f.length-1?q:b.f[k+1];k++}r!==p&&c.drawElements(4,p-r,h,r*d)}}} +Kk.prototype.Aa=function(b){var c=b.Sa(),d=b.S(1),e=b.Db(),f=b.jb(1),g=b.B,h=b.fa(),k=b.o,l=b.s,m=b.ya();b=b.u;var p;0===this.g.length?this.g.push(d):(p=this.g[this.g.length-1],I(p)!=I(d)&&(this.s.push(this.b.length),this.g.push(d)));0===this.c.length?this.c.push(f):(p=this.c[this.c.length-1],I(p)!=I(f)&&(this.h.push(this.b.length),this.c.push(f)));this.u=c[0];this.H=c[1];this.A=m[1];this.I=e[1];this.D=e[0];this.V=g;this.G=h[0];this.R=h[1];this.Z=l;this.T=k;this.ha=b;this.aa=m[0]}; +function Rk(b,c,d){this.l=c;this.i=b;this.h=d;this.b={}}function Sk(b,c){var d=[],e;for(e in b.b)d.push(Lk(b.b[e],c));return function(){for(var b=d.length,c,e=0;e<b;e++)c=d[e].apply(this,arguments);return c}}function Tk(b,c){for(var d in b.b)Nk(b.b[d],c)}Rk.prototype.a=function(b,c){var d=this.b[c];void 0===d&&(d=new Uk[c](this.i,this.l),this.b[c]=d);return d};Rk.prototype.c=function(){return Za(this.b)}; +Rk.prototype.f=function(b,c,d,e,f,g,h,k){var l,m;g=0;for(l=cj.length;g<l;++g)m=this.b[cj[g]],void 0!==m&&Pk(m,b,c,d,e,f,h,k,void 0,!1)};function Vk(b,c,d,e,f,g,h,k,l,m){var p=Wk,q,r;for(q=cj.length-1;0<=q;--q)if(r=b.b[cj[q]],void 0!==r&&(r=Pk(r,c,d,e,f,p,g,h,k,l,m)))return r} +Rk.prototype.g=function(b,c,d,e,f,g,h,k,l,m){var p=c.a;p.bindFramebuffer(p.FRAMEBUFFER,Ek(c));var q;void 0!==this.h&&(q=Kb(Pb(b),e*this.h));return Vk(this,c,b,e,f,k,l,function(b){var c=new Uint8Array(4);p.readPixels(0,0,1,1,p.RGBA,p.UNSIGNED_BYTE,c);if(0<c[3]&&(b=m(b)))return b},!0,q)};function Xk(b,c,d,e,f,g,h){var k=d.a;k.bindFramebuffer(k.FRAMEBUFFER,Ek(d));return void 0!==Vk(b,d,c,e,f,g,h,function(){var b=new Uint8Array(4);k.readPixels(0,0,1,1,k.RGBA,k.UNSIGNED_BYTE,b);return 0<b[3]},!1)} +var Uk={Image:Kk},Wk=[1,1];function Yk(b,c,d,e,f,g){this.a=b;this.f=c;this.c=g;this.l=f;this.h=e;this.g=d;this.b=null}M(Yk,Fg);Yk.prototype.Ra=function(b,c){var d=this.a,e=(new Rk(1,this.c)).a(0,"Image");e.Aa(this.b);e.Ra(b,c);Nk(e,d);Pk(e,this.a,this.f,this.g,this.h,this.l,1,{},void 0,!1);Lk(e,d)()};Yk.prototype.Qa=function(b,c){var d=this.a,e=(new Rk(1,this.c)).a(0,"Image");e.Aa(this.b);e.Qa(b,c);Nk(e,d);Pk(e,this.a,this.f,this.g,this.h,this.l,1,{},void 0,!1);Lk(e,d)()};Yk.prototype.Aa=function(b){this.b=b};function Zk(){this.a="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;}"}M(Zk,vk);aa(Zk);function $k(){this.a="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;}"}M($k,wk);aa($k); +function al(b,c){this.f=b.getUniformLocation(c,"f");this.c=b.getUniformLocation(c,"e");this.h=b.getUniformLocation(c,"d");this.g=b.getUniformLocation(c,"g");this.a=b.getAttribLocation(c,"b");this.b=b.getAttribLocation(c,"c")};function bl(b,c){Mg.call(this,c);this.c=b;this.G=new Ak([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]);this.i=this.ta=null;this.j=void 0;this.D=yb();this.R=Ab();this.o=null}M(bl,Mg); +function cl(b,c,d){var e=b.c.c;if(void 0===b.j||b.j!=d){c.postRenderFunctions.push(na(function(b,c,d){b.isContextLost()||(b.deleteFramebuffer(c),b.deleteTexture(d))},e,b.i,b.ta));c=Fk(e,d,d);var f=e.createFramebuffer();e.bindFramebuffer(36160,f);e.framebufferTexture2D(36160,36064,3553,c,0);b.ta=c;b.i=f;b.j=d}else e.bindFramebuffer(36160,b.i)} +bl.prototype.Dc=function(b,c,d){dl(this,"precompose",d,b);Ck(d,34962,this.G);var e=d.a,f=Zk.qa(),g=$k.qa(),f=Hk(d,f,g);this.o?g=this.o:this.o=g=new al(e,f);Ik(d,f)&&(e.enableVertexAttribArray(g.a),e.vertexAttribPointer(g.a,2,5126,!1,16,0),e.enableVertexAttribArray(g.b),e.vertexAttribPointer(g.b,2,5126,!1,16,8),e.uniform1i(g.g,0));e.uniformMatrix4fv(g.h,!1,this.D);e.uniformMatrix4fv(g.c,!1,this.R);e.uniform1f(g.f,c.opacity);e.bindTexture(3553,this.ta);e.drawArrays(5,0,4);dl(this,"postcompose",d,b)}; +function dl(b,c,d,e){b=b.a;if(mb(b,c)){var f=e.viewState;T(b,new Gg(c,b,new Yk(d,f.center,f.resolution,f.rotation,e.size,e.extent),e,null,d))}}bl.prototype.s=function(){this.i=this.ta=null;this.j=void 0};function el(){this.a="precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"}M(el,vk);aa(el);function fl(){this.a="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;}"}M(fl,wk);aa(fl);function gl(b,c){this.f=b.getUniformLocation(c,"e");this.c=b.getUniformLocation(c,"d");this.a=b.getAttribLocation(c,"b");this.b=b.getAttribLocation(c,"c")};function hl(b,c){bl.call(this,b,c);this.A=el.qa();this.T=fl.qa();this.b=null;this.v=new Ak([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]);this.u=this.g=null;this.h=-1;this.I=[0,0]}M(hl,bl);hl.prototype.K=function(){Dk(this.c.g,this.v);hl.Y.K.call(this)};hl.prototype.l=function(b,c,d){var e=this.c;return function(f,g){return Xe(b,c,f,g,function(b){var c=xe(e.b,b.getKey());c&&(d[f]||(d[f]={}),d[f][b.L.toString()]=b);return c})}};hl.prototype.s=function(){hl.Y.s.call(this);this.b=null}; +hl.prototype.Ec=function(b,c,d){var e=this.c,f=d.a,g=b.viewState,h=g.projection,k=this.a,l=k.W(),m=l.ia(h),p=Re(m,g.resolution),q=m.J(p),r=Ye(l,p,b.pixelRatio,h),u=r[0]/sb(Qe(m,p),this.I)[0],w=q/u,y=l.bb(h),z=g.center,D;q==g.resolution?(z=Sg(z,q,b.size),D=Yb(z,q,g.rotation,b.size)):D=b.extent;q=Ne(m,D,q);if(this.g&&id(this.g,q)&&this.h==l.f)w=this.u;else{var t=[q.b-q.a+1,q.c-q.f+1],v=Math.pow(2,Math.ceil(Math.log(Math.max(t[0]*r[0],t[1]*r[1]))/Math.LN2)),t=w*v,B=m.fa(p),F=B[0]+q.a*r[0]*w,w=B[1]+q.f* +r[1]*w,w=[F,w,F+t,w+t];cl(this,b,v);f.viewport(0,0,v,v);f.clearColor(0,0,0,0);f.clear(16384);f.disable(3042);v=Hk(d,this.A,this.T);Ik(d,v);this.b||(this.b=new gl(f,v));Ck(d,34962,this.v);f.enableVertexAttribArray(this.b.a);f.vertexAttribPointer(this.b.a,2,5126,!1,16,0);f.enableVertexAttribArray(this.b.b);f.vertexAttribPointer(this.b.b,2,5126,!1,16,8);f.uniform1i(this.b.f,0);d={};d[p]={};var C=this.l(l,h,d),G=ui(k),v=!0,F=Ib(),J=new gd(0,0,0,0),A,H,O;for(H=q.a;H<=q.b;++H)for(O=q.f;O<=q.c;++O){B=Ug(l, +p,H,O,u,h);if(void 0!==c.extent&&(A=Ke(m,B.L,F),!$b(A,c.extent)))continue;A=B.N();A=2==A||4==A||3==A&&!G;!A&&B.a&&(B=B.a);A=B.N();if(2==A){if(xe(e.b,B.getKey())){d[p][B.L.toString()]=B;continue}}else if(4==A||3==A&&!G)continue;v=!1;A=Je(m,B.L,C,J,F);A||(B=Me(m,B.L,J,F))&&C(p+1,B)}c=Object.keys(d).map(Number);c.sort(Ga);for(var C=new Float32Array(4),Q,L,K,G=0,J=c.length;G<J;++G)for(Q in L=d[c[G]],L)B=L[Q],A=Ke(m,B.L,F),H=2*(A[2]-A[0])/t,O=2*(A[3]-A[1])/t,K=2*(A[0]-w[0])/t-1,A=2*(A[1]-w[1])/t-1,xb(C, +H,O,K,A),f.uniform4fv(this.b.c,C),il(e,B,r,y*u),f.drawArrays(5,0,4);v?(this.g=q,this.u=w,this.h=l.f):(this.u=this.g=null,this.h=-1,b.animate=!0)}Rg(b.usedTiles,l,p,q);var fa=e.i;Tg(b,l,m,u,h,D,p,k.get("preload"),function(b){var c;(c=2!=b.N()||xe(e.b,b.getKey()))||(c=b.getKey()in fa.f);c||fa.c([b,Pe(m,b.L),m.J(b.L[0]),r,y*u])},this);Og(b,l);Qg(b,l);f=this.D;Cb(f);Eb(f,(z[0]-w[0])/(w[2]-w[0]),(z[1]-w[1])/(w[3]-w[1]));0!==g.rotation&&Gb(f,g.rotation);Fb(f,b.size[0]*g.resolution/(w[2]-w[0]),b.size[1]* +g.resolution/(w[3]-w[1]));Eb(f,-.5,-.5);return!0};function jl(b,c){bl.call(this,b,c);this.h=!1;this.I=-1;this.A=NaN;this.u=Ib();this.g=this.b=this.v=null}M(jl,bl);n=jl.prototype;n.Dc=function(b,c,d){this.g=c;var e=b.viewState,f=this.b;f&&!f.c()&&f.f(d,e.center,e.resolution,e.rotation,b.size,b.pixelRatio,c.opacity,c.Wa?b.skippedFeatureUids:{})};n.K=function(){var b=this.b;b&&(Sk(b,this.c.g)(),this.b=null);jl.Y.K.call(this)}; +n.Xa=function(b,c,d,e){if(this.b&&this.g){var f=c.viewState,g=this.a,h={};return this.b.g(b,this.c.g,f.center,f.resolution,f.rotation,c.size,c.pixelRatio,this.g.opacity,{},function(b){var c=I(b).toString();if(!(c in h))return h[c]=!0,d.call(e,b,g)})}};n.yc=function(b,c){if(this.b&&this.g){var d=c.viewState;return Xk(this.b,b,this.c.g,d.resolution,d.rotation,this.g.opacity,c.skippedFeatureUids)}return!1};n.Fc=function(){Ng(this)}; +n.Ec=function(b,c,d){function e(b){var c,d=b.c;d?c=d.call(b,m):(d=f.g)&&(c=d(b,m));if(c){if(c){d=!1;if(Array.isArray(c))for(var e=0,g=c.length;e<g;++e)d=yj(r,b,c[e],xj(m,p),this.Fc,this)||d;else d=yj(r,b,c,xj(m,p),this.Fc,this)||d;b=d}else b=!1;this.h=this.h||b}}var f=this.a;c=f.W();Pg(b.attributions,c.i);Qg(b,c);var g=b.viewHints[0],h=b.viewHints[1],k=f.i,l=f.j;if(!this.h&&!k&&g||!l&&h)return!0;var h=b.extent,k=b.viewState,g=k.projection,m=k.resolution,p=b.pixelRatio,k=f.f,q=f.a,l=f.get("renderOrder"); +void 0===l&&(l=wj);h=Kb(h,q*m);if(!this.h&&this.A==m&&this.I==k&&this.v==l&&Mb(this.u,h))return!0;this.b&&b.postRenderFunctions.push(Sk(this.b,d));this.h=!1;var r=new Rk(.5*m/p,h,f.a);ck(c,h,m,g);if(l){var u=[];ak(c,h,function(b){u.push(b)},this);u.sort(l);u.forEach(e,this)}else ak(c,h,e,this);Tk(r,d);this.A=m;this.I=k;this.v=l;this.u=h;this.b=r;return!0};function kl(b,c){$g.call(this,0,c);this.a=document.createElement("CANVAS");this.a.style.width="100%";this.a.style.height="100%";this.a.className="ol-unselectable";ge(b,this.a,0);this.s=this.u=0;this.H=sf();this.j=!0;this.c=yf(this.a,{antialias:!0,depth:!1,failIfMajorPerformanceCaveat:!0,preserveDrawingBuffer:!1,stencil:!0});this.g=new Bk(this.a,this.c);R(this.a,"webglcontextlost",this.ce,this);R(this.a,"webglcontextrestored",this.de,this);this.b=new we;this.o=null;this.i=new eh(function(b){var c= +b[1];b=b[2];var f=c[0]-this.o[0],c=c[1]-this.o[1];return 65536*Math.log(b)+Math.sqrt(f*f+c*c)/b}.bind(this),function(b){return b[0].getKey()});this.v=function(){if(0!==this.i.a.length){ih(this.i);var b=fh(this.i);il(this,b[0],b[3],b[4])}return!1}.bind(this);this.l=0;ll(this)}M(kl,$g); +function il(b,c,d,e){var f=b.c,g=c.getKey();if(xe(b.b,g))b=b.b.get(g),f.bindTexture(3553,b.ta),9729!=b.sc&&(f.texParameteri(3553,10240,9729),b.sc=9729),9729!=b.tc&&(f.texParameteri(3553,10240,9729),b.tc=9729);else{var h=f.createTexture();f.bindTexture(3553,h);if(0<e){var k=b.H.canvas,l=b.H;b.u!==d[0]||b.s!==d[1]?(k.width=d[0],k.height=d[1],b.u=d[0],b.s=d[1]):l.clearRect(0,0,d[0],d[1]);l.drawImage(c.S(),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.S());f.texParameteri(3553,10240,9729);f.texParameteri(3553,10241,9729);f.texParameteri(3553,10242,33071);f.texParameteri(3553,10243,33071);b.b.set(g,{ta:h,sc:9729,tc:9729})}}n=kl.prototype;n.Bb=function(b){return b instanceof X?new hl(this,b):b instanceof Y?new jl(this,b):null};function ml(b,c,d){var e=b.h;if(mb(e,c)){b=b.g;var f=d.viewState;T(e,new Gg(c,e,new Yk(b,f.center,f.resolution,f.rotation,d.size,d.extent),d,null,b))}} +n.K=function(){var b=this.c;b.isContextLost()||ye(this.b,function(c){c&&b.deleteTexture(c.ta)});ib(this.g);kl.Y.K.call(this)};n.ed=function(b,c){for(var d=this.c,e;1024<this.b.f-this.l;){if(e=this.b.a.Ba)d.deleteTexture(e.ta);else if(+this.b.a.Kb==c.index)break;else--this.l;this.b.pop()}};n.U=function(){return"webgl"};n.ce=function(b){b.preventDefault();this.b.clear();this.l=0;b=this.f;for(var c in b)b[c].s()};n.de=function(){ll(this);this.h.render()}; +function ll(b){b=b.c;b.activeTexture(33984);b.blendFuncSeparate(770,771,1,771);b.disable(2884);b.disable(2929);b.disable(3089);b.disable(2960)} +n.kb=function(b){var c=this.g,d=this.c;if(d.isContextLost())return!1;if(!b)return this.j&&(pe(this.a,!1),this.j=!1),!1;this.o=b.focus;this.b.set((-b.index).toString(),null);++this.l;ml(this,"precompose",b);var e=[],f=b.layerStatesArray;Ma(f);var g=b.viewState.resolution,h,k,l,m;h=0;for(k=f.length;h<k;++h)m=f[h],Ig(m,g)&&"ready"==m.Tb&&(l=ch(this,m.layer),l.Ec(b,m,c)&&e.push(m));f=b.size[0]*b.pixelRatio;g=b.size[1]*b.pixelRatio;if(this.a.width!=f||this.a.height!=g)this.a.width=f,this.a.height=g;d.bindFramebuffer(36160, +null);d.clearColor(0,0,0,0);d.clear(16384);d.enable(3042);d.viewport(0,0,this.a.width,this.a.height);h=0;for(k=e.length;h<k;++h)m=e[h],l=ch(this,m.layer),l.Dc(b,m,c);this.j||(pe(this.a,!0),this.j=!0);ah(b);1024<this.b.f-this.l&&b.postRenderFunctions.push(this.ed.bind(this));0!==this.i.a.length&&(b.postRenderFunctions.push(this.v),b.animate=!0);ml(this,"postcompose",b);dh(this,b);b.postRenderFunctions.push(bh)}; +n.Qb=function(b,c,d,e,f,g){var h;if(this.c.isContextLost())return!1;var k=c.viewState,l=c.layerStatesArray,m;for(m=l.length-1;0<=m;--m){h=l[m];var p=h.layer;if(Ig(h,k.resolution)&&f.call(g,p)&&(h=ch(this,p).Xa(b,c,d,e)))return h}};n.zc=function(b,c,d,e){var f=!1;if(this.c.isContextLost())return!1;var g=c.viewState,h=c.layerStatesArray,k;for(k=h.length-1;0<=k;--k){var l=h[k],m=l.layer;if(Ig(l,g.resolution)&&d.call(e,m)&&(f=ch(this,m).yc(b,c)))return!0}return f};var nl=["canvas","webgl","dom"]; +function Z(b){U.call(this);var c=pl(b);this.Ca=void 0!==b.loadTilesWhileAnimating?b.loadTilesWhileAnimating:!1;this.ob=void 0!==b.loadTilesWhileInteracting?b.loadTilesWhileInteracting:!1;this.qb=void 0!==b.pixelRatio?b.pixelRatio:Ef;this.pb=c.logos;this.T=function(){this.g=void 0;this.re.call(this,Date.now())}.bind(this);this.va=yb();this.rb=yb();this.wa=0;this.b=null;this.ka=Ib();this.u=this.G=null;this.a=document.createElement("DIV");this.a.className="ol-viewport"+(Hf?" 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.o=document.createElement("DIV");this.o.className="ol-overlaycontainer";this.a.appendChild(this.o);this.j=document.createElement("DIV");this.j.className="ol-overlaycontainer-stopevent";b=["click","dblclick","mousedown","touchstart","mspointerdown",zg,"mousewheel","wheel"];for(var d=0,e=b.length;d<e;++d)R(this.j,b[d],jb);this.a.appendChild(this.j); +this.aa=new rg(this);for(var f in Cg)R(this.aa,Cg[f],this.pc,this);this.Z=c.keyboardEventTarget;this.i=null;R(this.a,"wheel",this.Ga,this);R(this.a,"mousewheel",this.Ga,this);this.s=c.controls;this.h=c.interactions;this.v=c.overlays;this.Nc={};this.D=new c.te(this.a,this);this.R=null;this.A=[];this.da=[];this.la=new jh(this.jd.bind(this),this.Ed.bind(this));this.sb={};R(this,qb("layergroup"),this.od,this);R(this,qb("view"),this.Fd,this);R(this,qb("size"),this.Bd,this);R(this,qb("target"),this.Dd, +this);this.l(c.values);od(this.s,function(b){b.setMap(this)},this);R(this.s,"add",function(b){b.element.setMap(this)},this);R(this.s,"remove",function(b){b.element.setMap(null)},this);od(this.h,function(b){b.setMap(this)},this);R(this.h,"add",function(b){b.element.setMap(this)},this);R(this.h,"remove",function(b){b.element.setMap(null)},this);od(this.v,this.ac,this);R(this.v,"add",function(b){this.ac(b.element)},this);R(this.v,"remove",function(b){var c=b.element.Da();void 0!==c&&delete this.Nc[c.toString()]; +b.element.setMap(null)},this)}M(Z,U);n=Z.prototype;n.$c=function(b){this.s.push(b)};n.ad=function(b){this.h.push(b)};n.bd=function(b){ql(this).get("layers").push(b)};n.cd=function(b){this.v.push(b)};n.ac=function(b){var c=b.Da();void 0!==c&&(this.Nc[c.toString()]=b);b.setMap(this)};n.ea=function(b){this.render();Array.prototype.push.apply(this.A,arguments)}; +n.K=function(){ib(this.aa);ib(this.D);fb(this.a,"wheel",this.Ga,this);fb(this.a,"mousewheel",this.Ga,this);void 0!==this.c&&(x.removeEventListener("resize",this.c,!1),this.c=void 0);this.g&&(x.cancelAnimationFrame(this.g),this.g=void 0);this.set("target",null);Z.Y.K.call(this)};n.hd=function(b,c,d,e,f){if(this.b)return b=this.pa(b),this.D.Qb(b,this.b,c,void 0!==d?d:null,void 0!==e?e:bc,void 0!==f?f:null)}; +n.Hd=function(b,c,d){if(!this.b)return!1;b=this.pa(b);return this.D.zc(b,this.b,void 0!==c?c:bc,void 0!==d?d:null)};n.nc=function(b){var c=this.a.getBoundingClientRect();b=b.changedTouches?b.changedTouches[0]:b;return[b.clientX-c.left,b.clientY-c.top]};n.Nb=function(){return this.get("target")};n.Fa=function(){var b=this.Nb();return void 0!==b?$d(b):null};n.pa=function(b){var c=this.b;return c?(b=b.slice(),Lg(c.pixelToCoordinateMatrix,b,b)):null};function ql(b){return b.get("layergroup")} +function Fh(b,c){var d=b.b;if(d){var e=c.slice(0,2);return Lg(d.coordinateToPixelMatrix,e,e)}return null}n.Ha=function(){return this.get("size")};n.O=function(){return this.get("view")};n.jd=function(b,c,d,e){var f=this.b;if(!(f&&c in f.wantedTiles&&f.wantedTiles[c][b.L.toString()]))return Infinity;b=d[0]-f.focus[0];d=d[1]-f.focus[1];return 65536*Math.log(e)+Math.sqrt(b*b+d*d)/e};n.Ga=function(b,c){var d=new pg(c||b.type,this,b);this.pc(d)}; +n.pc=function(b){if(this.b){this.R=b.coordinate;b.frameState=this.b;var c=this.h.a,d;if(!1!==T(this,b))for(d=c.length-1;0<=d;d--){var e=c[d];if(e.get("active")&&!e.handleEvent(b))break}}}; +n.Ad=function(){var b=this.b,c=this.la;if(0!==c.a.length){var d=16,e=d;if(b){var f=b.viewHints;f[0]&&(d=this.Ca?8:0,e=2);f[1]&&(d=this.ob?8:0,e=2)}if(c.h<d){ih(c);for(var f=0,g,h;c.h<d&&f<e&&0<c.a.length;)g=fh(c)[0],h=g.getKey(),0!==g.N()||h in c.g||(c.g[h]=!0,++c.h,++f,g.load())}}c=this.da;d=0;for(e=c.length;d<e;++d)c[d](this,b);c.length=0};n.Bd=function(){this.render()}; +n.Dd=function(){var b;this.Nb()&&(b=this.Fa());if(this.i){for(var c=0,d=this.i.length;c<d;++c)P(this.i[c]);this.i=null}b?(b.appendChild(this.a),b=this.Z?this.Z:b,this.i=[R(b,"keydown",this.Ga,this),R(b,"keypress",this.Ga,this)],this.c||(this.c=this.nb.bind(this),x.addEventListener("resize",this.c,!1))):(he(this.a),void 0!==this.c&&(x.removeEventListener("resize",this.c,!1),this.c=void 0));this.nb()};n.Ed=function(){this.render()};n.Gd=function(){this.render()}; +n.Fd=function(){this.G&&(P(this.G),this.G=null);var b=this.O();b&&(this.G=R(b,"propertychange",this.Gd,this));this.render()};n.pd=function(){this.render()};n.qd=function(){this.render()};n.od=function(){this.u&&(this.u.forEach(P),this.u=null);var b=ql(this);b&&(this.u=[R(b,"propertychange",this.qd,this),R(b,"change",this.pd,this)]);this.render()};n.se=function(){this.g&&x.cancelAnimationFrame(this.g);this.T()};n.render=function(){void 0===this.g&&(this.g=x.requestAnimationFrame(this.T))};n.oe=function(b){return this.h.remove(b)}; +n.pe=function(b){return ql(this).get("layers").remove(b)}; +n.re=function(b){var c,d,e,f=this.Ha(),g=this.O(),h=null;if(c=void 0!==f&&0<f[0]&&0<f[1]&&g)c=!!g.ga()&&void 0!==g.J();if(c){var h=g.g.slice(),k=ql(this).Eb(),l={};c=0;for(d=k.length;c<d;++c)l[I(k[c].layer)]=k[c];e=g.N();h={animate:!1,attributions:{},coordinateToPixelMatrix:this.va,extent:null,focus:this.R?this.R:e.center,index:this.wa++,layerStates:l,layerStatesArray:k,logos:Va({},this.pb),pixelRatio:this.qb,pixelToCoordinateMatrix:this.rb,postRenderFunctions:[],size:f,skippedFeatureUids:this.sb, +tileQueue:this.la,time:b,usedTiles:{},viewState:e,viewHints:h,wantedTiles:{}}}if(h){b=this.A;c=f=0;for(d=b.length;c<d;++c)g=b[c],g(this,h)&&(b[f++]=g);b.length=f;h.extent=Yb(e.center,e.resolution,e.rotation,h.size)}this.b=h;this.D.kb(h);h&&(h.animate&&this.render(),Array.prototype.push.apply(this.da,h.postRenderFunctions),0!==this.A.length||h.viewHints[0]||h.viewHints[1]||Qb(h.extent,this.ka)||(T(this,new ue("moveend",this,h)),Lb(h.extent,this.ka)));T(this,new ue("postrender",this,h));c=e=this.Ad; +this&&(c=ma(e,this));!ga(x.setImmediate)||x.Window&&x.Window.prototype&&!W("Edge")&&x.Window.prototype.setImmediate==x.setImmediate?(mf||(mf=nf()),mf(c)):x.setImmediate(c)}; +n.nb=function(){var b=this.Fa();if(b){var c=Zd(b),d=Hd&&b.currentStyle,e;if(e=d)Xd(c),e=!0;if(e&&"auto"!=d.width&&"auto"!=d.height&&!d.boxSizing)c=qe(b,d.width,"width","pixelWidth"),b=qe(b,d.height,"height","pixelHeight"),b=new Wd(c,b);else{d=new Wd(b.offsetWidth,b.offsetHeight);if(Hd){c=re(b,"paddingLeft");e=re(b,"paddingRight");var f=re(b,"paddingTop"),g=re(b,"paddingBottom"),c=new ke(f,e,g,c)}else c=le(b,"paddingLeft"),e=le(b,"paddingRight"),f=le(b,"paddingTop"),g=le(b,"paddingBottom"),c=new ke(parseFloat(f), +parseFloat(e),parseFloat(g),parseFloat(c));!Hd||9<=Number(Td)?(e=le(b,"borderLeftWidth"),f=le(b,"borderRightWidth"),g=le(b,"borderTopWidth"),b=le(b,"borderBottomWidth"),b=new ke(parseFloat(g),parseFloat(f),parseFloat(b),parseFloat(e))):(e=te(b,"borderLeft"),f=te(b,"borderRight"),g=te(b,"borderTop"),b=te(b,"borderBottom"),b=new ke(g,f,b,e));b=new Wd(d.width-b.left-c.left-c.right-b.right,d.height-b.top-c.top-c.bottom-b.bottom)}this.set("size",[b.width,b.height])}else this.set("size",void 0)}; +function pl(b){var c=null;void 0!==b.keyboardEventTarget&&(c="string"===typeof b.keyboardEventTarget?document.getElementById(b.keyboardEventTarget):b.keyboardEventTarget);var d={},e={};if(void 0===b.logo||"boolean"===typeof b.logo&&b.logo)e["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAHGAAABxgEXwfpGAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAhNQTFRF////AP//AICAgP//AFVVQECA////K1VVSbbbYL/fJ05idsTYJFtbbcjbJllmZszWWMTOIFhoHlNiZszTa9DdUcHNHlNlV8XRIVdiasrUHlZjIVZjaMnVH1RlIFRkH1RkH1ZlasvYasvXVsPQH1VkacnVa8vWIVZjIFRjVMPQa8rXIVVkXsXRsNveIFVkIFZlIVVj3eDeh6GmbMvXH1ZkIFRka8rWbMvXIFVkIFVjIFVkbMvWH1VjbMvWIFVlbcvWIFVla8vVIFVkbMvWbMvVH1VkbMvWIFVlbcvWIFVkbcvVbMvWjNPbIFVkU8LPwMzNIFVkbczWIFVkbsvWbMvXIFVkRnB8bcvW2+TkW8XRIFVkIlZlJVloJlpoKlxrLl9tMmJwOWd0Omh1RXF8TneCT3iDUHiDU8LPVMLPVcLPVcPQVsPPVsPQV8PQWMTQWsTQW8TQXMXSXsXRX4SNX8bSYMfTYcfTYsfTY8jUZcfSZsnUaIqTacrVasrVa8jTa8rWbI2VbMvWbcvWdJObdcvUdszUd8vVeJaee87Yfc3WgJyjhqGnitDYjaarldPZnrK2oNbborW5o9bbo9fbpLa6q9ndrL3ArtndscDDutzfu8fJwN7gwt7gxc/QyuHhy+HizeHi0NfX0+Pj19zb1+Tj2uXk29/e3uLg3+Lh3+bl4uXj4ufl4+fl5Ofl5ufl5ujm5+jmySDnBAAAAFp0Uk5TAAECAgMEBAYHCA0NDg4UGRogIiMmKSssLzU7PkJJT1JTVFliY2hrdHZ3foSFhYeJjY2QkpugqbG1tre5w8zQ09XY3uXn6+zx8vT09vf4+Pj5+fr6/P39/f3+gz7SsAAAAVVJREFUOMtjYKA7EBDnwCPLrObS1BRiLoJLnte6CQy8FLHLCzs2QUG4FjZ5GbcmBDDjxJBXDWxCBrb8aM4zbkIDzpLYnAcE9VXlJSWlZRU13koIeW57mGx5XjoMZEUqwxWYQaQbSzLSkYGfKFSe0QMsX5WbjgY0YS4MBplemI4BdGBW+DQ11eZiymfqQuXZIjqwyadPNoSZ4L+0FVM6e+oGI6g8a9iKNT3o8kVzNkzRg5lgl7p4wyRUL9Yt2jAxVh6mQCogae6GmflI8p0r13VFWTHBQ0rWPW7ahgWVcPm+9cuLoyy4kCJDzCm6d8PSFoh0zvQNC5OjDJhQopPPJqph1doJBUD5tnkbZiUEqaCnB3bTqLTFG1bPn71kw4b+GFdpLElKIzRxxgYgWNYc5SCENVHKeUaltHdXx0dZ8uBI1hJ2UUDgq82CM2MwKeibqAvSO7MCABq0wXEPiqWEAAAAAElFTkSuQmCC"]= +"http://openlayers.org/";else{var f=b.logo;"string"===typeof f?e[f]="":ha(f)&&(e[f.src]=f.href)}f=b.layers instanceof hi?b.layers:new hi({layers:b.layers});d.layergroup=f;d.target=b.target;d.view=void 0!==b.view?b.view:new Wc;var f=$g,g;void 0!==b.renderer?Array.isArray(b.renderer)?g=b.renderer:"string"===typeof b.renderer&&(g=[b.renderer]):g=nl;var h,k;h=0;for(k=g.length;h<k;++h){var l=g[h];if("canvas"==l){if(Gf){f=lk;break}}else if("dom"==l){f=sk;break}else if("webgl"==l&&zf){f=kl;break}}var m; +void 0!==b.controls?m=Array.isArray(b.controls)?new md(b.controls.slice()):b.controls:m=ff();if(void 0!==b.interactions)g=Array.isArray(b.interactions)?new md(b.interactions.slice()):b.interactions;else{g={};h=new md;k=new kh;(void 0!==g.altShiftDragRotate?g.altShiftDragRotate:1)&&h.push(new Gh);(void 0!==g.doubleClickZoom?g.doubleClickZoom:1)&&h.push(new qh({delta:g.zoomDelta,duration:g.zoomDuration}));(void 0!==g.dragPan?g.dragPan:1)&&h.push(new Bh({kinetic:k}));(void 0!==g.pinchRotate?g.pinchRotate: +1)&&h.push(new $h);(void 0!==g.pinchZoom?g.pinchZoom:1)&&h.push(new di({duration:g.zoomDuration}));if(void 0!==g.keyboard?g.keyboard:1)h.push(new Uh),h.push(new Wh({delta:g.zoomDelta,duration:g.zoomDuration}));(void 0!==g.mouseWheelZoom?g.mouseWheelZoom:1)&&h.push(new Yh({duration:g.zoomDuration}));(void 0!==g.shiftDragZoom?g.shiftDragZoom:1)&&h.push(new Th({duration:g.zoomDuration}));g=h}b=void 0!==b.overlays?Array.isArray(b.overlays)?new md(b.overlays.slice()):b.overlays:new md;return{controls:m, +interactions:g,keyboardEventTarget:c,logos:e,overlays:b,te:f,values:d}}lc(mi);lc(ti);ti.forEach(function(b){mi.forEach(function(c){mc(b,c,ni);mc(c,b,oi)})});function rl(b){U.call(this);this.j=b.id;this.i=void 0!==b.insertFirst?b.insertFirst:!0;this.o=void 0!==b.stopEvent?b.stopEvent:!0;this.b=document.createElement("DIV");this.b.className="ol-overlay-container";this.b.style.position="absolute";this.autoPan=void 0!==b.autoPan?b.autoPan:!1;this.g=void 0!==b.autoPanAnimation?b.autoPanAnimation:{};this.h=void 0!==b.autoPanMargin?b.autoPanMargin:20;this.a={$a:"",hb:"",lb:"",mb:"",visible:!0};this.c=null;R(this,qb("element"),this.md,this);R(this,qb("map"), +this.vd,this);R(this,qb("offset"),this.wd,this);R(this,qb("position"),this.yd,this);R(this,qb("positioning"),this.zd,this);void 0!==b.element&&this.set("element",b.element);this.set("offset",void 0!==b.offset?b.offset:[0,0]);this.set("positioning",void 0!==b.positioning?b.positioning:"top-left");void 0!==b.position&&this.uc(b.position)}M(rl,U);n=rl.prototype;n.Da=function(){return this.j};n.md=function(){fe(this.b);var b=this.get("element");b&&this.b.appendChild(b)}; +n.vd=function(){this.c&&(he(this.b),P(this.c),this.c=null);var b=this.get("map");b&&(this.c=R(b,"postrender",this.render,this),sl(this),b=this.o?b.j:b.o,this.i?ge(b,this.b,0):b.appendChild(this.b))};n.render=function(){sl(this)};n.wd=function(){sl(this)}; +n.yd=function(){sl(this);if(void 0!==this.get("position")&&this.autoPan){var b=this.get("map");if(void 0!==b&&b.Fa()){var c=tl(b.Fa(),b.Ha()),d=this.get("element"),e=d.offsetWidth,f=d.currentStyle||x.getComputedStyle(d),e=e+(parseInt(f.marginLeft,10)+parseInt(f.marginRight,10)),f=d.offsetHeight,g=d.currentStyle||x.getComputedStyle(d),f=f+(parseInt(g.marginTop,10)+parseInt(g.marginBottom,10)),h=tl(d,[e,f]),d=this.h;Mb(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=b.O().ga(),e=Fh(b,d),c=[e[0]+c[0],e[1]+c[1]],this.g&&(this.g.source=d,b.ea(dd(this.g))),b.O().ma(b.pa(c)))}}};n.zd=function(){sl(this)};n.setMap=function(b){this.set("map",b)};n.uc=function(b){this.set("position",b)}; +function tl(b,c){var d=Zd(b),e=new Vd(0,0),f;f=d?Zd(d):document;var g;(g=!Hd||9<=Number(Td))||(Xd(f),g=!0);b!=(g?f.documentElement:f.body)&&(f=me(b),g=Xd(d).a,d=g.scrollingElement?g.scrollingElement:Kd?g.body||g.documentElement:g.documentElement,g=g.parentWindow||g.defaultView,d=Hd&&Rd("10")&&g.pageYOffset!=d.scrollTop?new Vd(d.scrollLeft,d.scrollTop):new Vd(g.pageXOffset||d.scrollLeft,g.pageYOffset||d.scrollTop),e.x=f.left+d.x,e.y=f.top+d.y);return[e.x,e.y,e.x+c[0],e.y+c[1]]} +function ul(b,c){b.a.visible!==c&&(pe(b.b,c),b.a.visible=c)} +function sl(b){var c=b.get("map"),d=b.get("position");if(void 0!==c&&c.b&&void 0!==d){var d=Fh(c,d),e=c.Ha(),c=b.b.style,f=b.get("offset"),g=b.get("positioning"),h=f[0],f=f[1];if("bottom-right"==g||"center-right"==g||"top-right"==g)""!==b.a.hb&&(b.a.hb=c.left=""),h=Math.round(e[0]-d[0]-h)+"px",b.a.lb!=h&&(b.a.lb=c.right=h);else{""!==b.a.lb&&(b.a.lb=c.right="");if("bottom-center"==g||"center-center"==g||"top-center"==g)h-=ne(b.b).width/2;h=Math.round(d[0]+h)+"px";b.a.hb!=h&&(b.a.hb=c.left=h)}if("bottom-left"== +g||"bottom-center"==g||"bottom-right"==g)""!==b.a.mb&&(b.a.mb=c.top=""),d=Math.round(e[1]-d[1]-f)+"px",b.a.$a!=d&&(b.a.$a=c.bottom=d);else{""!==b.a.$a&&(b.a.$a=c.bottom="");if("center-left"==g||"center-center"==g||"center-right"==g)f-=ne(b.b).height/2;d=Math.round(d[1]+f)+"px";b.a.mb!=d&&(b.a.mb=c.top=d)}ul(b,!0)}else ul(b,!1)};function vl(){this.defaultDataProjection=null}function wl(b,c,d){var e;d&&(e={dataProjection:d.dataProjection?d.dataProjection:b.f(Lj(c)),featureProjection:d.featureProjection});var f;e&&(f={featureProjection:e.featureProjection,dataProjection:e.dataProjection?e.dataProjection:b.defaultDataProjection,rightHanded:e.rightHanded},e.decimals&&(f.decimals=e.decimals));return f} +function xl(b,c){var d=c?kc(c.featureProjection):null,e=c?kc(c.dataProjection):null;if(d&&e&&!vc(d,e))if(b instanceof yc)d=b.o(e,d);else{e=wc(e,d);d=[b[0],b[1],b[0],b[3],b[2],b[1],b[2],b[3]];e(d,d,2);var f=[d[0],d[2],d[4],d[6]],g=[d[1],d[3],d[5],d[7]],d=Math.min.apply(null,f),e=Math.min.apply(null,g),f=Math.max.apply(null,f),g=Math.max.apply(null,g),d=Nb(d,e,f,g,void 0)}else d=b;return d};function yl(){this.defaultDataProjection=null}M(yl,vl);function Lj(b){return ha(b)?b:"string"===typeof b?(b=JSON.parse(b))?b:null:null}yl.prototype.U=function(){return"json"};yl.prototype.g=function(b,c){return this.a(Lj(b),wl(this,b,c))};yl.prototype.b=function(b,c){return this.h(Lj(b),wl(this,b,c))};function zl(b,c,d,e,f){var g=NaN,h=NaN,k=(d-c)/e;if(0!==k)if(1==k)g=b[c],h=b[c+1];else if(2==k)g=.5*b[c]+.5*b[c+e],h=.5*b[c+1]+.5*b[c+e+1];else{var h=b[c],k=b[c+1],l=0,g=[0],m;for(m=c+e;m<d;m+=e){var p=b[m],q=b[m+1],l=l+Math.sqrt((p-h)*(p-h)+(q-k)*(q-k));g.push(l);h=p;k=q}d=.5*l;l=0;m=g.length;for(p=!1;l<m;)h=l+(m-l>>1),k=+Ga(g[h],d),0>k?l=h+1:(m=h,p=!k);h=p?l:~l;0>h?(d=(d-g[-h-2])/(g[-h-1]-g[-h-2]),c+=(-h-2)*e,g=b[c],g=g+d*(b[c+e]-g),h=b[c+1],h=h+d*(b[c+e+1]-h)):(g=b[c+h*e],h=b[c+h*e+1])}return f? +(f[0]=g,f[1]=h,f):[g,h]};function Al(b,c){Ac.call(this);this.c=null;this.j=-1;this.X(b,c)}M(Al,Ac);n=Al.prototype;n.clone=function(){var b=new Al(null);V(b,this.g,this.a.slice());b.w();return b};n.oa=function(){return Gc(this.a,0,this.a.length,this.b)};function Wi(b){if(b.j!=b.f){var c;c=zl(b.a,0,b.a.length,b.b,b.c);b.c=c;b.j=b.f}return b.c}n.Ea=function(b){var c=[];c.length=Ic(this.a,0,this.a.length,this.b,b,c,0);b=new Al(null);V(b,"XY",c);b.w();return b};n.U=function(){return"LineString"}; +n.X=function(b,c){b?(Cc(this,c,b,1),this.a||(this.a=[]),this.a.length=Ec(this.a,0,b,this.b)):V(this,"XY",null);this.w()};function Bl(b,c){Ac.call(this);this.c=[];this.X(b,c)}M(Bl,Ac);n=Bl.prototype;n.clone=function(){var b=new Bl(null),c=this.c.slice();V(b,this.g,this.a.slice());b.c=c;b.w();return b};n.oa=function(){return Hc(this.a,0,this.c,this.b)};n.Ta=function(){return this.c};function Xi(b){var c=[],d=b.a,e=0,f=b.c;b=b.b;var g,h;g=0;for(h=f.length;g<h;++g){var k=f[g],e=zl(d,e,k,b);Ja(c,e);e=k}return c} +n.Ea=function(b){var c=[],d=[],e=this.a,f=this.c,g=this.b,h=0,k=0,l,m;l=0;for(m=f.length;l<m;++l){var p=f[l],k=Ic(e,h,p,g,b,c,k);d.push(k);h=p}c.length=k;b=new Bl(null);V(b,"XY",c);b.c=d;b.w();return b};n.U=function(){return"MultiLineString"};n.X=function(b,c){if(b){Cc(this,c,b,2);this.a||(this.a=[]);var d=Fc(this.a,0,b,this.b,this.c);this.a.length=0===d.length?0:d[d.length-1]}else d=this.c,V(this,"XY",null),this.c=d;this.w()};function Cl(b,c){Ac.call(this);this.X(b,c)}M(Cl,Ac);Cl.prototype.clone=function(){var b=new Cl(null);V(b,this.g,this.a.slice());b.w();return b};Cl.prototype.oa=function(){return Gc(this.a,0,this.a.length,this.b)};Cl.prototype.U=function(){return"MultiPoint"};Cl.prototype.X=function(b,c){b?(Cc(this,c,b,1),this.a||(this.a=[]),this.a.length=Ec(this.a,0,b,this.b)):V(this,"XY",null);this.w()};function Dl(b,c){Ac.call(this);this.c=[];this.A=-1;this.D=null;this.G=-1;this.j=null;this.X(b,c)}M(Dl,Ac);n=Dl.prototype;n.clone=function(){for(var b=new Dl(null),c=this.c.length,d=Array(c),e=0;e<c;++e)d[e]=this.c[e].slice();V(b,this.g,this.a.slice());b.c=d;b.w();return b};n.oa=function(b){var c;void 0!==b?(c=Yi(this).slice(),Rc(c,this.c,this.b,b)):c=this.a;b=c;c=this.c;var d=this.b,e=0,f=[],g=0,h,k;h=0;for(k=c.length;h<k;++h){var l=c[h];f[g++]=Hc(b,e,l,d,f[g]);e=l[l.length-1]}f.length=g;return f}; +function Zi(b){if(b.A!=b.f){var c=b.a,d=b.c,e=b.b,f=0,g=[],h,k,l=Ib();h=0;for(k=d.length;h<k;++h){var m=d[h],l=c,p=m[0],q=e,r=Ob(void 0),l=Sb(r,l,f,p,q);g.push((l[0]+l[2])/2,(l[1]+l[3])/2);f=m[m.length-1]}c=Yi(b);d=b.c;e=b.b;h=0;k=[];m=0;for(l=d.length;m<l;++m)f=d[m],k=Nc(c,h,f,e,g,2*m,k),h=f[f.length-1];b.D=k;b.A=b.f}return b.D} +function Yi(b){if(b.G!=b.f){var c=b.a,d;a:{d=b.c;var e,f;e=0;for(f=d.length;e<f;++e)if(!Pc(c,d[e],b.b,void 0)){d=!1;break a}d=!0}d?b.j=c:(b.j=c.slice(),b.j.length=Rc(b.j,b.c,b.b));b.G=b.f}return b.j}n.Ea=function(b){var c=[],d=[],e=this.a,f=this.c,g=this.b;b=Math.sqrt(b);var h=0,k=0,l,m;l=0;for(m=f.length;l<m;++l){var p=f[l],q=[],k=Jc(e,h,p,g,b,c,k,q);d.push(q);h=p[p.length-1]}c.length=k;e=new Dl(null);V(e,"XY",c);e.c=d;e.w();return e};n.U=function(){return"MultiPolygon"}; +n.X=function(b,c){if(b){Cc(this,c,b,3);this.a||(this.a=[]);var d=this.a,e=this.b,f=this.c,g=0,f=f?f:[],h=0,k,l;k=0;for(l=b.length;k<l;++k)g=Fc(d,g,b[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])}else d=this.c,V(this,"XY",null),this.c=d;this.w()};function El(b){b=b?b:{};this.defaultDataProjection=null;this.c=b.geometryName}M(El,yl);function Fl(b){var c="XY";!0===b.hasZ&&!0===b.hasM?c="XYZM":!0===b.hasZ?c="XYZ":!0===b.hasM&&(c="XYM");return c} +var Gl={Point:function(b){return void 0!==b.m&&void 0!==b.z?new Lc([b.x,b.y,b.z,b.m],"XYZM"):void 0!==b.z?new Lc([b.x,b.y,b.z],"XYZ"):void 0!==b.m?new Lc([b.x,b.y,b.m],"XYM"):new Lc([b.x,b.y])},LineString:function(b){return new Al(b.paths[0],Fl(b))},Polygon:function(b){return new Sc(b.rings,Fl(b))},MultiPoint:function(b){return new Cl(b.points,Fl(b))},MultiLineString:function(b){return new Bl(b.paths,Fl(b))},MultiPolygon:function(b){return new Dl(b.rings,Fl(b))}}; +El.prototype.a=function(b,c){var d;if(d=b.geometry){var e;if(ea(d.x)&&ea(d.y))e="Point";else if(d.points)e="MultiPoint";else if(d.paths)e=1===d.paths.length?"LineString":"MultiLineString";else if(d.rings){var f=d.rings,g=Fl(d),h=[];e=[];var k,l;k=0;for(l=f.length;k<l;++k){var m=Ia(f[k]);Oc(m,0,m.length,g.length)?h.push([f[k]]):e.push(f[k])}for(;e.length;){f=e.shift();g=!1;for(k=h.length-1;0<=k;k--)if(Mb((new Kc(h[k][0])).C(),(new Kc(f)).C())){h[k].push(f);g=!0;break}g||h.push([f.reverse()])}d=Va({}, +d);1===h.length?(e="Polygon",d.rings=h[0]):(e="MultiPolygon",d.rings=h)}d=xl((0,Gl[e])(d),c)}else d=null;h=new Gj;this.c&&Ij(h,this.c);Hj(h,d);c&&c.Jb&&b.attributes[c.Jb]&&(h.g=b.attributes[c.Jb],h.w());b.attributes&&h.l(b.attributes);return h};El.prototype.h=function(b,c){var d=c?c:{};if(b.features){var e=[],f=b.features,g,h;d.Jb=b.objectIdFieldName;g=0;for(h=f.length;g<h;++g)e.push(this.a(f[g],d));return e}return[this.a(b,d)]}; +El.prototype.f=function(b){return b.spatialReference&&b.spatialReference.wkid?kc("EPSG:"+b.spatialReference.wkid):null};function Hl(b){yc.call(this);this.a=b?b:null;Il(this)}M(Hl,yc);function Jl(b){var c,d;if(b.a)for(c=0,d=b.a.length;c<d;++c)fb(b.a[c],"change",b.w,b)}function Il(b){var c,d;if(b.a)for(c=0,d=b.a.length;c<d;++c)R(b.a[c],"change",b.w,b)}n=Hl.prototype;n.clone=function(){var b=new Hl(null),c=this.a,d=[],e,f;e=0;for(f=c.length;e<f;++e)d.push(c[e].clone());Jl(b);b.a=d;Il(b);b.w();return b};n.ab=function(b){Ob(b);for(var c=this.a,d=0,e=c.length;d<e;++d)Rb(b,c[d].C());return b}; +n.Hb=function(b){this.s!=this.f&&(Wa(this.h),this.i=0,this.s=this.f);if(0>b||0!==this.i&&b<this.i)return this;var c=b.toString();if(this.h.hasOwnProperty(c))return this.h[c];var d=[],e=this.a,f=!1,g,h;g=0;for(h=e.length;g<h;++g){var k=e[g],l=k.Hb(b);d.push(l);l!==k&&(f=!0)}if(f)return b=new Hl(null),Jl(b),b.a=d,Il(b),b.w(),this.h[c]=b;this.i=b;return this};n.U=function(){return"GeometryCollection"};n.rotate=function(b,c){for(var d=this.a,e=0,f=d.length;e<f;++e)d[e].rotate(b,c);this.w()}; +n.wb=function(b){var c=this.a,d,e;d=0;for(e=c.length;d<e;++d)c[d].wb(b);this.w()};n.K=function(){Jl(this);Hl.Y.K.call(this)};function Kl(b){b=b?b:{};this.defaultDataProjection=null;this.defaultDataProjection=kc(b.defaultDataProjection?b.defaultDataProjection:"EPSG:4326");this.c=b.geometryName}M(Kl,yl);function Ll(b,c){return b?xl((0,Ml[b.type])(b),c):null} +var Ml={Point:function(b){return new Lc(b.coordinates)},LineString:function(b){return new Al(b.coordinates)},Polygon:function(b){return new Sc(b.coordinates)},MultiPoint:function(b){return new Cl(b.coordinates)},MultiLineString:function(b){return new Bl(b.coordinates)},MultiPolygon:function(b){return new Dl(b.coordinates)},GeometryCollection:function(b,c){var d=b.geometries.map(function(b){return Ll(b,c)});return new Hl(d)}}; +Kl.prototype.a=function(b,c){var d=Ll(b.geometry,c),e=new Gj;this.c&&Ij(e,this.c);Hj(e,d);void 0!==b.id&&(e.g=b.id,e.w());b.properties&&e.l(b.properties);return e};Kl.prototype.h=function(b,c){if("Feature"==b.type)return[this.a(b,c)];if("FeatureCollection"==b.type){var d=[],e=b.features,f,g;f=0;for(g=e.length;f<g;++f)d.push(this.a(e[f],c));return d}return[]};Kl.prototype.f=function(b){return(b=b.crs)?"name"==b.type?kc(b.properties.name):"EPSG"==b.type?kc("EPSG:"+b.properties.code):null:this.defaultDataProjection};function Nl(b,c,d){if("array"==ba(c))for(var e=0;e<c.length;e++)Nl(b,String(c[e]),d);else null!=c&&d.push("&",b,""===c?"":"=",encodeURIComponent(String(c)))};function Ol(b,c,d){Ac.call(this);Pl(this,b,c?c:0,d)}M(Ol,Ac);Ol.prototype.clone=function(){var b=new Ol(null);V(b,this.g,this.a.slice());b.w();return b};Ol.prototype.ab=function(b){var c=this.a,d=c[this.b]-c[0];return Nb(c[0]-d,c[1]-d,c[0]+d,c[1]+d,b)};Ol.prototype.U=function(){return"Circle"};function Pl(b,c,d,e){if(c){Cc(b,e,c,0);b.a||(b.a=[]);e=b.a;c=Dc(e,c);e[c++]=e[0]+d;var f;d=1;for(f=b.b;d<f;++d)e[c++]=e[d];e.length=c}else V(b,"XY",null);b.w()};function Ql(b,c,d,e,f){Ce.call(this,b,c);this.g=d;this.b=new Image;null!==e&&(this.b.crossOrigin=e);this.f={};this.c=null;this.h=f}M(Ql,Ce);n=Ql.prototype;n.K=function(){1==this.state&&Rl(this);this.a&&ib(this.a);this.state=5;De(this);Ql.Y.K.call(this)};n.S=function(b){if(void 0!==b){var c=I(b);if(c in this.f)return this.f[c];b=Za(this.f)?this.b:this.b.cloneNode(!1);return this.f[c]=b}return this.b};n.getKey=function(){return this.g};n.Yd=function(){this.state=3;Rl(this);De(this)}; +n.Zd=function(){this.state=this.b.naturalWidth&&this.b.naturalHeight?2:4;Rl(this);De(this)};n.load=function(){0==this.state&&(this.state=1,De(this),this.c=[R(this.b,"error",this.Yd,this,!0),R(this.b,"load",this.Zd,this,!0)],this.h(this,this.g))};function Rl(b){b.c.forEach(P);b.c=null};function Sl(b,c){S.call(this,b);this.feature=c}M(Sl,S); +function Tl(b){yh.call(this,{handleDownEvent:Ul,handleEvent:Vl,handleUpEvent:Wl});this.R=null;this.o=!1;this.wa=b.source?b.source:null;this.la=b.features?b.features:null;this.Zc=b.snapTolerance?b.snapTolerance:12;this.D=b.type;this.b=Xl(this.D);this.ka=b.minPoints?b.minPoints:this.b===Yl?3:2;this.da=b.maxPoints?b.maxPoints:Infinity;var c=b.geometryFunction;if(!c)if("Circle"===this.D)c=function(b,c){var d=c?c:new Ol([NaN,NaN]),h=b[0],k=b[1],l=h[0]-k[0],h=h[1]-k[1];Pl(d,b[0],Math.sqrt(l*l+h*h));return d}; +else{var d,c=this.b;c===Zl?d=Lc:c===am?d=Al:c===Yl&&(d=Sc);c=function(b,c){var g=c;g?g.X(b):g=new d(b);return g}}this.u=c;this.A=this.i=this.a=this.j=this.g=this.h=null;this.dd=b.clickTolerance?b.clickTolerance*b.clickTolerance:36;this.Z=new Y({source:new Uj({useSpatialIndex:!1,wrapX:b.wrapX?b.wrapX:!1}),style:b.style?b.style:bm()});this.va=b.geometryName;this.sb=b.condition?b.condition:uh;this.aa=b.freehandCondition?b.freehandCondition:vh;R(this,qb("active"),this.Ca,this)}M(Tl,yh); +function bm(){var b=Oi();return function(c){return b[c.M().U()]}}Tl.prototype.setMap=function(b){Tl.Y.setMap.call(this,b);this.Ca()};function Vl(b){this.b!==am&&this.b!==Yl||!this.aa(b)||(this.o=!0);var c=!this.o;this.o&&b.type===Bg?(cm(this,b),c=!1):b.type===Ag?c=dm(this,b):b.type===ug&&(c=!1);return zh.call(this,b)&&c}function Ul(b){return this.sb(b)?(this.R=b.pixel,!0):this.o?(this.R=b.pixel,this.h||em(this,b),!0):!1} +function Wl(b){this.o=!1;var c=this.R,d=b.pixel,e=c[0]-d[0],c=c[1]-d[1],d=!0;e*e+c*c<=this.dd&&(dm(this,b),this.h?this.b===fm?gm(this):hm(this,b)?gm(this):cm(this,b):(em(this,b),this.b===Zl&&gm(this)),d=!1);return d} +function dm(b,c){if(b.h){var d=c.coordinate,e=b.g.M(),f;b.b===Zl?f=b.a:b.b===Yl?(f=b.a[0],f=f[f.length-1],hm(b,c)&&(d=b.h.slice())):(f=b.a,f=f[f.length-1]);f[0]=d[0];f[1]=d[1];b.u(b.a,e);b.j&&b.j.M().X(d);e instanceof Sc&&b.b!==Yl?(b.i||(b.i=new Gj(new Al(null))),0>=e.c.length?e=null:(d=new Kc(null),V(d,e.g,e.a.slice(0,e.c[0])),d.w(),e=d),d=b.i.M(),V(d,e.g,e.a),d.w()):b.A&&(d=b.i.M(),d.X(b.A));im(b)}else e=c.coordinate.slice(),b.j?b.j.M().X(e):(b.j=new Gj(new Lc(e)),im(b));return!0} +function hm(b,c){var d=!1;if(b.g){var e=!1,f=[b.h];b.b===am?e=b.a.length>b.ka:b.b===Yl&&(e=b.a[0].length>b.ka,f=[b.a[0][0],b.a[0][b.a[0].length-2]]);if(e)for(var e=c.map,g=0,h=f.length;g<h;g++){var k=f[g],l=Fh(e,k),m=c.pixel,d=m[0]-l[0],l=m[1]-l[1],m=b.o&&b.aa(c)?1:b.Zc;if(d=Math.sqrt(d*d+l*l)<=m){b.h=k;break}}}return d} +function em(b,c){var d=c.coordinate;b.h=d;b.b===Zl?b.a=d.slice():b.b===Yl?(b.a=[[d.slice(),d.slice()]],b.A=b.a[0]):(b.a=[d.slice(),d.slice()],b.b===fm&&(b.A=b.a));b.A&&(b.i=new Gj(new Al(b.A)));d=b.u(b.a);b.g=new Gj;b.va&&Ij(b.g,b.va);Hj(b.g,d);im(b);T(b,new Sl("drawstart",b.g))} +function cm(b,c){var d=c.coordinate,e=b.g.M(),f,g;if(b.b===am)b.h=d.slice(),g=b.a,g.push(d.slice()),f=g.length>b.da,b.u(g,e);else if(b.b===Yl){g=b.a[0];g.push(d.slice());if(f=g.length>b.da)b.h=g[0];b.u(b.a,e)}im(b);f&&gm(b)} +function gm(b){var c=jm(b),d=b.a,e=c.M();b.b===am?(d.pop(),b.u(d,e)):b.b===Yl&&(d[0].pop(),d[0].push(d[0][0]),b.u(d,e));"MultiPoint"===b.D?Hj(c,new Cl([d])):"MultiLineString"===b.D?Hj(c,new Bl([d])):"MultiPolygon"===b.D&&Hj(c,new Dl([d]));T(b,new Sl("drawend",c));b.la&&b.la.push(c);b.wa&&b.wa.ub(c)}function jm(b){b.h=null;var c=b.g;c&&(b.g=null,b.j=null,b.i=null,b.Z.W().clear(!0));return c}Tl.prototype.v=cc; +function im(b){var c=[];b.g&&c.push(b.g);b.i&&c.push(b.i);b.j&&c.push(b.j);b=b.Z.W();b.clear(!0);b.vb(c)}Tl.prototype.Ca=function(){var b=this.T,c=this.get("active");b&&c||jm(this);this.Z.setMap(c?b:null)};function Xl(b){var c;"Point"===b||"MultiPoint"===b?c=Zl:"LineString"===b||"MultiLineString"===b?c=am:"Polygon"===b||"MultiPolygon"===b?c=Yl:"Circle"===b&&(c=fm);return c}var Zl="Point",am="LineString",Yl="Polygon",fm="Circle";function km(b,c,d,e,f,g,h,k,l,m,p){Ce.call(this,f,0);this.u=void 0!==p?p:!1;this.s=h;this.o=k;this.c=null;this.f={};this.g=c;this.l=e;this.i=g?g:f;this.b=[];this.Ja=null;this.h=0;g=Ke(e,this.i);k=this.l.C();f=this.g.C();g=k?Zb(g,k):g;if(0===Tb(g))this.state=4;else if((k=b.C())&&(f?f=Zb(f,k):f=k),k=e.J(this.i[0]),p=Xb(g),e=wc(d,b)(p,void 0,p.length),k=d.getPointResolution(k,p),p=oc(d),void 0!==p&&(k*=p),p=oc(b),void 0!==p&&(k/=p),e=b.getPointResolution(k,e)/k,isFinite(e)&&0<e&&(k/=e),e=k,!isFinite(e)|| +0>=e)this.state=4;else if(this.j=new Dj(b,d,g,f,e*(void 0!==m?m:.5)),0===this.j.c.length)this.state=4;else if(this.h=Re(c,e),d=Fj(this.j),f&&(b.a?(d[1]=Ba(d[1],f[1],f[3]),d[3]=Ba(d[3],f[1],f[3])):d=Zb(d,f)),Tb(d))if(b=Le(c,d,this.h),100>(b.b-b.a+1)*(b.c-b.f+1)){for(c=b.a;c<=b.b;c++)for(d=b.f;d<=b.c;d++)(m=l(this.h,c,d,h))&&this.b.push(m);0===this.b.length&&(this.state=4)}else this.state=3;else this.state=4}M(km,Ce);km.prototype.K=function(){1==this.state&&(this.Ja.forEach(P),this.Ja=null);km.Y.K.call(this)}; +km.prototype.S=function(b){if(void 0!==b){var c=I(b);if(c in this.f)return this.f[c];b=Za(this.f)?this.c:this.c.cloneNode(!1);return this.f[c]=b}return this.c}; +km.prototype.Oc=function(){var b=[];this.b.forEach(function(c){c&&2==c.N()&&b.push({extent:Ke(this.g,c.L),image:c.S()})},this);this.b.length=0;if(0===b.length)this.state=3;else{var c=this.i[0],d=Qe(this.l,c),e=ea(d)?d:d[0],d=ea(d)?d:d[1],c=this.l.J(c),f=this.g.J(this.h),g=Ke(this.l,this.i);this.c=Cj(e,d,this.s,f,this.g.C(),c,g,this.j,b,this.o,this.u);this.state=2}De(this)}; +km.prototype.load=function(){if(0==this.state){this.state=1;De(this);var b=0;this.Ja=[];this.b.forEach(function(c){var d=c.N();if(0==d||1==d){b++;var e;e=R(c,"change",function(){var d=c.N();if(2==d||3==d||4==d)P(e),b--,0===b&&(this.Ja.forEach(P),this.Ja=null,this.Oc())},this);this.Ja.push(e)}},this);this.b.forEach(function(b){0==b.N()&&b.load()});0===b&&x.setTimeout(this.Oc.bind(this),0)}};function lm(b){jk.call(this,{attributions:b.attributions,cacheSize:b.cacheSize,extent:b.extent,logo:b.logo,opaque:b.opaque,projection:b.projection,state:b.state,tileGrid:b.tileGrid,tileLoadFunction:b.tileLoadFunction?b.tileLoadFunction:mm,tilePixelRatio:b.tilePixelRatio,tileUrlFunction:b.tileUrlFunction,url:b.url,urls:b.urls,wrapX:b.wrapX});this.crossOrigin=void 0!==b.crossOrigin?b.crossOrigin:null;this.tileClass=void 0!==b.tileClass?b.tileClass:Ql;this.b={};this.o={};this.T=b.reprojectionErrorThreshold} +M(lm,jk);n=lm.prototype;n.Gc=function(){if(Ae(this.a))return!0;for(var b in this.b)if(Ae(this.b[b]))return!0;return!1};n.Hc=function(b,c){var d=this.Ua(b);Be(this.a,this.a==d?c:{});for(var e in this.b){var f=this.b[e];Be(f,f==d?c:{})}};n.bb=function(){return 0};n.Fb=function(b){return this.c&&b&&!vc(this.c,b)?!1:lm.Y.Fb.call(this,b)};n.ia=function(b){var c=this.c;return!this.tileGrid||c&&!vc(c,b)?(c=I(b).toString(),c in this.o||(this.o[c]=Te(b)),this.o[c]):this.tileGrid}; +n.Ua=function(b){var c=this.c;if(!c||vc(c,b))return this.a;b=I(b).toString();b in this.b||(this.b[b]=new ze);return this.b[b]};function nm(b,c,d,e,f,g){c=[c,d,e];f=(d=Ze(b,c,g))?b.tileUrlFunction(d,f,g):void 0;f=new b.tileClass(c,void 0!==f?0:4,void 0!==f?f:"",b.crossOrigin,b.tileLoadFunction);f.key="";R(f,"change",b.D,b);return f} +function Ug(b,c,d,e,f,g){if(b.c&&g&&!vc(b.c,g)){var h=b.Ua(g);d=[c,d,e];c=b.cb.apply(b,d);if(xe(h,c))return h.get(c);var k=b.c;e=b.ia(k);var l=b.ia(g),m=Ze(b,d,g);b=new km(k,e,g,l,d,m,b.eb(f),0,function(b,c,d,e){return om(this,b,c,d,e,k)}.bind(b),b.T,!1);h.set(c,b);return b}return om(b,c,d,e,f,g)} +function om(b,c,d,e,f,g){var h=null,k=b.cb(c,d,e);if(xe(b.a,k)){if(h=b.a.get(k),""!=h.key){var l=h;h.a&&""==h.a.key?(h=h.a,2==l.N()&&(h.a=l)):(h=nm(b,c,d,e,f,g),2==l.N()?h.a=l:l.a&&2==l.a.N()&&(h.a=l.a,l.a=null));h.a&&(h.a.a=null);b.a.replace(k,h)}}else h=nm(b,c,d,e,f,g),b.a.set(k,h);return h}function mm(b,c){b.S().src=c};function pm(b){var c=void 0!==b.projection?b.projection:"EPSG:3857",d;if(void 0!==b.tileGrid)d=b.tileGrid;else{d={extent:Ue(c),maxZoom:b.maxZoom,minZoom:b.minZoom,tileSize:b.tileSize};var e={};Va(e,void 0!==d?d:{});void 0===e.extent&&(e.extent=kc("EPSG:3857").C());e.resolutions=Ve(e.extent,e.maxZoom,e.tileSize);delete e.maxZoom;d=new Ge(e)}lm.call(this,{attributions:b.attributions,cacheSize:b.cacheSize,crossOrigin:b.crossOrigin,logo:b.logo,opaque:b.opaque,projection:c,reprojectionErrorThreshold:b.reprojectionErrorThreshold, +tileGrid:d,tileLoadFunction:b.tileLoadFunction,tilePixelRatio:b.tilePixelRatio,tileUrlFunction:b.tileUrlFunction,url:b.url,urls:b.urls,wrapX:void 0!==b.wrapX?b.wrapX:!0})}M(pm,lm);function qm(b){b=b||{};var c;void 0!==b.attributions?c=b.attributions:c=[rm];pm.call(this,{attributions:c,cacheSize:b.cacheSize,crossOrigin:void 0!==b.crossOrigin?b.crossOrigin:"anonymous",opaque:void 0!==b.opaque?b.opaque:!0,maxZoom:void 0!==b.maxZoom?b.maxZoom:19,reprojectionErrorThreshold:b.reprojectionErrorThreshold,tileLoadFunction:b.tileLoadFunction,url:void 0!==b.url?b.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",wrapX:b.wrapX})}M(qm,pm);var rm=new kd({html:'© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'});function sm(b){b=b||{};var c=tm[b.layer];this.u=b.layer;pm.call(this,{attributions:c.attributions,cacheSize:b.cacheSize,crossOrigin:"anonymous",logo:"https://developer.mapquest.com/content/osm/mq_logo.png",maxZoom:c.maxZoom,reprojectionErrorThreshold:b.reprojectionErrorThreshold,opaque:c.opaque,tileLoadFunction:b.tileLoadFunction,url:void 0!==b.url?b.url:"https://otile{1-4}-s.mqcdn.com/tiles/1.0.0/"+this.u+"/{z}/{x}/{y}.jpg"})}M(sm,pm); +var um=new kd({html:'Tiles Courtesy of <a href="http://www.mapquest.com/">MapQuest</a>'}),tm={osm:{maxZoom:19,opaque:!0,attributions:[um,rm]},sat:{maxZoom:18,opaque:!0,attributions:[um,new kd({html:"Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency"})]},hyb:{maxZoom:18,opaque:!1,attributions:[um,rm]}};function vm(b){b=b||{};lm.call(this,{attributions:b.attributions,cacheSize:b.cacheSize,crossOrigin:b.crossOrigin,logo:b.logo,projection:b.projection,reprojectionErrorThreshold:b.reprojectionErrorThreshold,tileGrid:b.tileGrid,tileLoadFunction:b.tileLoadFunction,url:b.url,urls:b.urls,wrapX:void 0!==b.wrapX?b.wrapX:!0});this.R=b.params||{};this.u=Ib()}M(vm,lm);vm.prototype.eb=function(b){return b}; +vm.prototype.g=function(b,c,d){var e=this.tileGrid;e||(e=this.ia(d));if(!(e.Gb().length<=b[0])){var f=Ke(e,b,this.u),g=sb(Qe(e,b[0]),this.h);1!=c&&(g=rb(g,c,this.h));e={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};Va(e,this.R);var h;var k=this.urls;if(k){d=d.na.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);b=[(1==k.length?k[0]:k[Da((b[1]<<b[0])+b[2],k.length)]).replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/, +"ImageServer/exportImage")];for(h in e)Nl(h,e[h],b);b[1]&&(h=b[0],c=h.indexOf("#"),0<=c&&(b.push(h.substr(c)),b[0]=h=h.substr(0,c)),c=h.indexOf("?"),0>c?b[1]="?":c==h.length-1&&(b[1]=void 0));h=b.join("")}else h=void 0;return h}};function wm(b){this.j=this.c=this.g=null;this.i=void 0!==b.fill?b.fill:null;this.I=[0,0];this.a=b.points;this.f=void 0!==b.radius?b.radius:b.radius1;this.h=void 0!==b.radius2?b.radius2:this.f;this.l=void 0!==b.angle?b.angle:0;this.b=void 0!==b.stroke?b.stroke:null;this.A=this.D=this.H=null;var c=b.atlasManager,d="",e="",f=0,g=null,h,k=0;this.b&&(h=wd(this.b.b),k=this.b.f,void 0===k&&(k=1),g=this.b.a,Ff||(g=null),e=this.b.g,void 0===e&&(e="round"),d=this.b.c,void 0===d&&(d="round"),f=this.b.h,void 0=== +f&&(f=10));var l=2*(this.f+k)+1,d={strokeStyle:h,Za:k,size:l,lineCap:d,lineDash:g,lineJoin:e,miterLimit:f};if(void 0===c){this.c=document.createElement("CANVAS");this.c.height=l;this.c.width=l;var c=l=this.c.width,m=this.c.getContext("2d");this.Lc(d,m,0,0);this.i?this.j=this.c:(m=this.j=document.createElement("CANVAS"),m.height=d.size,m.width=d.size,m=m.getContext("2d"),this.Kc(d,m,0,0))}else l=Math.round(l),(e=!this.i)&&(m=this.Kc.bind(this,d)),f=this.b?Gi(this.b):"-",g=this.i?Ai(this.i):"-",this.g&& +f==this.g[1]&&g==this.g[2]&&this.f==this.g[3]&&this.h==this.g[4]&&this.l==this.g[5]&&this.a==this.g[6]||(this.g=["r"+f+g+(void 0!==this.f?this.f.toString():"-")+(void 0!==this.h?this.h.toString():"-")+(void 0!==this.l?this.l.toString():"-")+(void 0!==this.a?this.a.toString():"-"),f,g,this.f,this.h,this.l,this.a]),m=c.add(this.g[0],l,l,this.Lc.bind(this,d),m),this.c=m.image,this.I=[m.offsetX,m.offsetY],c=m.image.width,this.j=e?m.Id:this.c;this.H=[l/2,l/2];this.D=[l,l];this.A=[c,c];Vg.call(this,{opacity:1, +rotateWithView:void 0!==b.rotateWithView?b.rotateWithView:!1,rotation:void 0!==b.rotation?b.rotation:0,scale:1,snapToPixel:void 0!==b.snapToPixel?b.snapToPixel:!0})}M(wm,Vg);n=wm.prototype;n.Sa=function(){return this.H};n.jb=function(){return this.j};n.S=function(){return this.c};n.Db=function(){return this.A};n.Ya=function(){return 2};n.fa=function(){return this.I};n.ya=function(){return this.D};n.Mb=N;n.load=N;n.Ub=N; +n.Lc=function(b,c,d,e){var f;c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();this.h!==this.f&&(this.a*=2);for(d=0;d<=this.a;d++)e=2*d*Math.PI/this.a-Math.PI/2+this.l,f=0===d%2?this.f:this.h,c.lineTo(b.size/2+f*Math.cos(e),b.size/2+f*Math.sin(e));this.i&&(c.fillStyle=zd(this.i.a),c.fill());this.b&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.Za,b.lineDash&&c.setLineDash(b.lineDash),c.lineCap=b.lineCap,c.lineJoin=b.lineJoin,c.miterLimit=b.miterLimit,c.stroke());c.closePath()}; +n.Kc=function(b,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();this.h!==this.f&&(this.a*=2);var f;for(d=0;d<=this.a;d++)f=2*d*Math.PI/this.a-Math.PI/2+this.l,e=0===d%2?this.f:this.h,c.lineTo(b.size/2+e*Math.cos(f),b.size/2+e*Math.sin(f));c.fillStyle=vi;c.fill();this.b&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.Za,b.lineDash&&c.setLineDash(b.lineDash),c.stroke());c.closePath()};E("ol.format.GeoJSON",Kl,OPENLAYERS);Kl.prototype.readFeatures=Kl.prototype.b;Kl.prototype.readFeature=Kl.prototype.g;E("ol.format.EsriJSON",El,OPENLAYERS);El.prototype.readFeatures=El.prototype.b;El.prototype.readFeature=El.prototype.g;E("ol.style.Style",Ii,OPENLAYERS);E("ol.style.Circle",Hi,OPENLAYERS);E("ol.style.RegularShape",wm,OPENLAYERS);E("ol.style.Fill",zi,OPENLAYERS);E("ol.style.Stroke",Fi,OPENLAYERS);E("ol.style.Icon",Wg,OPENLAYERS); +E("ol.style.Text",function(b){b=b||{};this.a=b.font;this.g=b.rotation;this.h=b.scale;this.i=b.text;this.j=b.textAlign;this.B=b.textBaseline;this.c=void 0!==b.fill?b.fill:new zi({color:"#333"});this.l=void 0!==b.stroke?b.stroke:null;this.b=void 0!==b.offsetX?b.offsetX:0;this.f=void 0!==b.offsetY?b.offsetY:0},OPENLAYERS);E("ol.View",Wc,OPENLAYERS);Wc.prototype.on=Wc.prototype.V;Wc.prototype.getZoom=Wc.prototype.kd;Wc.prototype.setZoom=Wc.prototype.ue;Wc.prototype.getCenter=Wc.prototype.ga; +Wc.prototype.setCenter=Wc.prototype.ma;Wc.prototype.calculateExtent=Wc.prototype.dc;Wc.prototype.getProjection=Wc.prototype.ae;Wc.prototype.fit=Wc.prototype.fd;E("ol.control.defaults",ff,OPENLAYERS);E("ol.layer.Tile",X,OPENLAYERS);X.prototype.getVisible=X.prototype.Va;X.prototype.setVisible=X.prototype.wc;X.prototype.getZIndex=X.prototype.Pb;X.prototype.setZIndex=X.prototype.xc;X.prototype.getOpacity=X.prototype.Ob;X.prototype.setOpacity=X.prototype.vc;X.prototype.getSource=X.prototype.W; +X.prototype.setSource=X.prototype.Sb;X.prototype.on=X.prototype.V;E("ol.layer.Vector",Y,OPENLAYERS);Y.prototype.getVisible=Y.prototype.Va;Y.prototype.setVisible=Y.prototype.wc;Y.prototype.getSource=Y.prototype.W;Y.prototype.setStyle=Y.prototype.s;Y.prototype.getZIndex=Y.prototype.Pb;Y.prototype.setZIndex=Y.prototype.xc;Y.prototype.getOpacity=Y.prototype.Ob;Y.prototype.setOpacity=Y.prototype.vc;Y.prototype.getSource=Y.prototype.W;Y.prototype.setSource=Y.prototype.Sb;Y.prototype.on=Y.prototype.V; +E("ol.source.OSM",qm,OPENLAYERS);qm.prototype.refresh=qm.prototype.ra;E("ol.source.MapQuest",sm,OPENLAYERS);sm.prototype.refresh=sm.prototype.ra;E("ol.source.XYZ",pm,OPENLAYERS);pm.prototype.refresh=pm.prototype.ra;pm.prototype.setUrl=pm.prototype.s;pm.prototype.refresh=pm.prototype.ra;E("ol.Map",Z,OPENLAYERS);Z.prototype.on=Z.prototype.V;Z.prototype.getTarget=Z.prototype.Nb;Z.prototype.getTargetElement=Z.prototype.Fa;Z.prototype.getView=Z.prototype.O;Z.prototype.addOverlay=Z.prototype.cd; +Z.prototype.addLayer=Z.prototype.bd;Z.prototype.removeLayer=Z.prototype.pe;Z.prototype.getEventPixel=Z.prototype.nc;Z.prototype.hasFeatureAtPixel=Z.prototype.Hd;Z.prototype.getSize=Z.prototype.Ha;Z.prototype.updateSize=Z.prototype.nb;Z.prototype.forEachFeatureAtPixel=Z.prototype.hd;Z.prototype.addInteraction=Z.prototype.ad;Z.prototype.removeInteraction=Z.prototype.oe;Z.prototype.beforeRender=Z.prototype.ea;Z.prototype.addControl=Z.prototype.$c;Z.prototype.once=Z.prototype.Rc; +Z.prototype.renderSync=Z.prototype.se;E("ol.source.Vector",Uj,OPENLAYERS);Uj.prototype.getFeatures=Uj.prototype.ee;Uj.prototype.getExtent=Uj.prototype.C;Uj.prototype.refresh=Uj.prototype.ra;Uj.prototype.addFeatures=Uj.prototype.vb;Uj.prototype.addFeature=Uj.prototype.ub;Uj.prototype.clear=Uj.prototype.clear;Uj.prototype.forEachFeature=Uj.prototype.gd;Uj.prototype.refresh=Uj.prototype.ra;E("ol.source.TileArcGISRest",vm,OPENLAYERS);vm.prototype.refresh=vm.prototype.ra;E("ol.Overlay",rl,OPENLAYERS); +rl.prototype.setPosition=rl.prototype.uc;E("ol.Feature",Gj,OPENLAYERS);Gj.prototype.getProperties=Gj.prototype.ua;Gj.prototype.setProperties=Gj.prototype.l;Gj.prototype.getGeometry=Gj.prototype.M;E("ol.geom.Point",Lc,OPENLAYERS);Lc.prototype.transform=Lc.prototype.o;Lc.prototype.getCoordinates=Lc.prototype.oa;Lc.prototype.getExtent=Lc.prototype.C;E("ol.geom.Polygon",Sc,OPENLAYERS);Sc.prototype.getCoordinates=Sc.prototype.oa;Sc.prototype.getExtent=Sc.prototype.C;Sc.prototype.transform=Sc.prototype.o; +E("ol.geom.LineString",Al,OPENLAYERS);Al.prototype.getCoordinates=Al.prototype.oa;Al.prototype.getExtent=Al.prototype.C;Al.prototype.transform=Al.prototype.o;E("ol.proj.Projection",hc,OPENLAYERS);hc.prototype.getCode=hc.prototype.l;E("ol.interaction.Draw",Tl,OPENLAYERS);Tl.prototype.on=Tl.prototype.V;E("ol.animation.pan",dd,OPENLAYERS);E("ol.control.FullScreen",lf,OPENLAYERS); return OPENLAYERS.ol; })); diff --git a/src/ol/ol-config.json b/src/ol/ol-config.json index a1817a0..7acbe7c 100644 --- a/src/ol/ol-config.json +++ b/src/ol/ol-config.json @@ -12,6 +12,7 @@ "ol.style.Fill", "ol.style.Stroke", "ol.style.Icon", + "ol.style.Text", "ol.View", "ol.View#on", "ol.View#getZoom", -- GitLab